From a993e91a970bf4295feaf8db67325a05c4175474 Mon Sep 17 00:00:00 2001 From: deftdawg <deftdawg@gmail.com> Date: Fri, 5 Jun 2020 20:01:06 -0400 Subject: [PATCH 1/2] Add JSuites to the Angular.json file Without adding JSuites Calendar widget doesn't render properly. --- angular.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/angular.json b/angular.json index 6e86fef..f48b3b0 100644 --- a/angular.json +++ b/angular.json @@ -25,10 +25,12 @@ ], "styles": [ "src/styles.css", - "./node_modules/jexcel/dist/jexcel.css" + "./node_modules/jexcel/dist/jexcel.css", + "./node_modules/jsuites/dist/jsuites.css" ], "scripts": [ - "./node_modules/jexcel/dist/jexcel.js" + "./node_modules/jexcel/dist/jexcel.js", + "./node_modules/jsuites/dist/jsuites.js" ] }, "configurations": { From d7849237574c717b84b5468413c4c5808005c880 Mon Sep 17 00:00:00 2001 From: deftdawg <deftdawg@gmail.com> Date: Fri, 5 Jun 2020 20:07:45 -0400 Subject: [PATCH 2/2] Update JExcel to version without color picker problem JExcel 3.9.1 has a bug where the close method is called on a div instead of the color picker object `[1]` should be `[0]`. Upgrading JExcel solves the issue. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 81ac730..e89be0e 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@angular/platform-browser": "~9.1.0", "@angular/platform-browser-dynamic": "~9.1.0", "@angular/router": "~9.1.0", - "jexcel": "^3.9.1", + "jexcel": "^4.2.0", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.2"