ps-toolkit-ui 1.13.26 → 1.13.29
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 -7
- 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 -3
- package/esm2015/lib/components/chart/chart.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +6 -3
- 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'), 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';
|
|
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/offline-exporting'), require('highcharts/modules/export-data')) :
|
|
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/offline-exporting', 'highcharts/modules/export-data'], 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, global.HighchartsExportData));
|
|
5
|
+
}(this, (function (exports, core, $$1, _, moment, router, rxjs, jqueryUi, forms, common, platformBrowser, ckeditor4Angular, Highcharts, HighchartsExporting, HighchartsExportData) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) { return e; } else {
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
|
|
30
30
|
var Highcharts__namespace = /*#__PURE__*/_interopNamespace(Highcharts);
|
|
31
31
|
var HighchartsExporting__namespace = /*#__PURE__*/_interopNamespace(HighchartsExporting);
|
|
32
|
+
var HighchartsExportData__namespace = /*#__PURE__*/_interopNamespace(HighchartsExportData);
|
|
32
33
|
|
|
33
34
|
var PsToolkitUiConfigService = /** @class */ (function () {
|
|
34
35
|
function PsToolkitUiConfigService(environment, strings, currentLang) {
|
|
@@ -7835,7 +7836,7 @@
|
|
|
7835
7836
|
ChartComponent.decorators = [
|
|
7836
7837
|
{ type: core.Component, args: [{
|
|
7837
7838
|
selector: 'lib-chart',
|
|
7838
|
-
template: "<div class=\"chart-con\" [style]=\"chart.style\">\r\n <div *ngIf=\"chart.loading\" class=\"loading\">\r\n <div class=\"text\" [innerHTML]=\"chart.l('LoadingTable', 'Processing')\"></div>\r\n </div>\r\n <div *ngIf=\"chart.empty\" class=\"loading\">\r\n <div class=\"text\"><i class=\"fa-duotone fa-empty-set icon\"></i>{{ chart.l(\"EmptyData\") }}</div>\r\n </div>\r\n <div style=\"height: 100%\" [id]=\"this.chart.name + 'Chart'\"></div>\r\n</div>\r\n",
|
|
7839
|
+
template: "<div class=\"chart-con\" [style]=\"chart.style\">\r\n <div *ngIf=\"chart.loading\" class=\"loading\">\r\n <div class=\"text\" [innerHTML]=\"chart.l('LoadingTable', 'Processing')\"></div>\r\n </div>\r\n <div *ngIf=\"chart.empty\" class=\"loading\">\r\n <div class=\"text\"><i class=\"fa-duotone fa-empty-set icon\"></i>{{ chart.l(\"EmptyData\") }}</div>\r\n </div>\r\n <div style=\"height: 100%; width: 100%\" [id]=\"this.chart.name + 'Chart'\"></div>\r\n</div>\r\n",
|
|
7839
7840
|
styles: [".chart-con{direction:ltr;float:right;min-height:200px;position:relative;width:100%}.chart-con .loading{background-color:#fff;height:100%;position:absolute;right:0;top:0;width:100%;z-index:9}.chart-con .loading .text{direction:rtl;font-weight:700;height:40px;line-height:40px;position:absolute;text-align:center;top:calc(50% - 20px);width:100%}"]
|
|
7840
7841
|
},] }
|
|
7841
7842
|
];
|
|
@@ -8887,6 +8888,8 @@
|
|
|
8887
8888
|
|
|
8888
8889
|
// @ts-ignore
|
|
8889
8890
|
HighchartsExporting__namespace(Highcharts__namespace);
|
|
8891
|
+
// @ts-ignore
|
|
8892
|
+
HighchartsExportData__namespace(Highcharts__namespace);
|
|
8890
8893
|
var ChartClass = /** @class */ (function () {
|
|
8891
8894
|
function ChartClass(l, name) {
|
|
8892
8895
|
this.chart = null;
|
|
@@ -8897,9 +8900,8 @@
|
|
|
8897
8900
|
this.l = l;
|
|
8898
8901
|
this.name = name;
|
|
8899
8902
|
}
|
|
8900
|
-
ChartClass.prototype.setChart = function (cOpt, categories
|
|
8903
|
+
ChartClass.prototype.setChart = function (cOpt, categories) {
|
|
8901
8904
|
if (categories === void 0) { categories = []; }
|
|
8902
|
-
if (exp === void 0) { exp = false; }
|
|
8903
8905
|
var date = this.l('Date');
|
|
8904
8906
|
var data = [].concat.apply([], cOpt.series.map(function (o) { return o.data; }));
|
|
8905
8907
|
if (data.filter(function (x) { return x !== 0; }).length === 0) {
|