ps-toolkit-ui 1.13.21 → 1.13.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ps-toolkit-ui.umd.js +9 -8
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/chart.class.js +6 -2
- package/esm2015/lib/components/table/table.component.js +1 -4
- package/fesm2015/ps-toolkit-ui.js +5 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/chart.class.d.ts +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('jquery'), require('lodash'), require('jalali-moment'), require('@angular/router'), require('rxjs'), require('jquery-ui-dist/jquery-ui'), require('@angular/forms'), require('@angular/common'), require('@angular/platform-browser'), require('ckeditor4-angular'), require('highcharts')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('ps-toolkit-ui', ['exports', '@angular/core', 'jquery', 'lodash', 'jalali-moment', '@angular/router', 'rxjs', 'jquery-ui-dist/jquery-ui', '@angular/forms', '@angular/common', '@angular/platform-browser', 'ckeditor4-angular', 'highcharts'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ps-toolkit-ui'] = {}, global.ng.core, global.$$1, global._, global.moment, global.ng.router, global.rxjs, null, global.ng.forms, global.ng.common, global.ng.platformBrowser, global.ckeditor4Angular, global.Highcharts));
|
|
5
|
-
}(this, (function (exports, core, $$1, _, moment, router, rxjs, jqueryUi, forms, common, platformBrowser, ckeditor4Angular, Highcharts) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('jquery'), require('lodash'), require('jalali-moment'), require('@angular/router'), require('rxjs'), require('jquery-ui-dist/jquery-ui'), require('@angular/forms'), require('@angular/common'), require('@angular/platform-browser'), require('ckeditor4-angular'), require('highcharts'), require('highcharts/modules/exporting')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('ps-toolkit-ui', ['exports', '@angular/core', 'jquery', 'lodash', 'jalali-moment', '@angular/router', 'rxjs', 'jquery-ui-dist/jquery-ui', '@angular/forms', '@angular/common', '@angular/platform-browser', 'ckeditor4-angular', 'highcharts', 'highcharts/modules/exporting'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ps-toolkit-ui'] = {}, global.ng.core, global.$$1, global._, global.moment, global.ng.router, global.rxjs, null, global.ng.forms, global.ng.common, global.ng.platformBrowser, global.ckeditor4Angular, global.Highcharts, global.HighchartsExporting));
|
|
5
|
+
}(this, (function (exports, core, $$1, _, moment, router, rxjs, jqueryUi, forms, common, platformBrowser, ckeditor4Angular, Highcharts, HighchartsExporting) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) { return e; } else {
|
|
@@ -3469,9 +3469,6 @@
|
|
|
3469
3469
|
TableComponent.prototype.ngOnInit = function () {
|
|
3470
3470
|
var e_1, _a;
|
|
3471
3471
|
var _this = this;
|
|
3472
|
-
if (this.table.hasChildren) {
|
|
3473
|
-
this.table.cols.forEach(function (x) { return x.sort = false; });
|
|
3474
|
-
}
|
|
3475
3472
|
this.reload = new InputClass(this.table.environment, this.table.l, 'Reload', 'fa-duotone fa-sync-alt', exports.InputType.Icon, 'm-r-10-p');
|
|
3476
3473
|
this.maximum = new InputClass(this.table.environment, this.table.l, 'Maximum', 'fa-duotone fa-arrows-maximize', exports.InputType.Icon, 'm-r-10-p');
|
|
3477
3474
|
try {
|
|
@@ -8896,8 +8893,9 @@
|
|
|
8896
8893
|
this.l = l;
|
|
8897
8894
|
this.name = name;
|
|
8898
8895
|
}
|
|
8899
|
-
ChartClass.prototype.setChart = function (cOpt, categories) {
|
|
8896
|
+
ChartClass.prototype.setChart = function (cOpt, categories, exp) {
|
|
8900
8897
|
if (categories === void 0) { categories = []; }
|
|
8898
|
+
if (exp === void 0) { exp = false; }
|
|
8901
8899
|
var date = this.l('Date');
|
|
8902
8900
|
var data = [].concat.apply([], cOpt.series.map(function (o) { return o.data; }));
|
|
8903
8901
|
if (data.filter(function (x) { return x !== 0; }).length === 0) {
|
|
@@ -9004,6 +9002,9 @@
|
|
|
9004
9002
|
};
|
|
9005
9003
|
this.options = this.merge(opt, cOpt);
|
|
9006
9004
|
this.chart = Highcharts.chart(this.name + 'Chart', this.options);
|
|
9005
|
+
if (exp) {
|
|
9006
|
+
HighchartsExporting.Highcharts.chart(this.name + 'Chart', this.options, function () { });
|
|
9007
|
+
}
|
|
9007
9008
|
};
|
|
9008
9009
|
ChartClass.prototype.destroy = function () {
|
|
9009
9010
|
if (this.chart !== null) {
|