ps-toolkit-ui 1.13.22 → 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.
@@ -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 {
@@ -8893,8 +8893,9 @@
8893
8893
  this.l = l;
8894
8894
  this.name = name;
8895
8895
  }
8896
- ChartClass.prototype.setChart = function (cOpt, categories) {
8896
+ ChartClass.prototype.setChart = function (cOpt, categories, exp) {
8897
8897
  if (categories === void 0) { categories = []; }
8898
+ if (exp === void 0) { exp = false; }
8898
8899
  var date = this.l('Date');
8899
8900
  var data = [].concat.apply([], cOpt.series.map(function (o) { return o.data; }));
8900
8901
  if (data.filter(function (x) { return x !== 0; }).length === 0) {
@@ -9001,6 +9002,9 @@
9001
9002
  };
9002
9003
  this.options = this.merge(opt, cOpt);
9003
9004
  this.chart = Highcharts.chart(this.name + 'Chart', this.options);
9005
+ if (exp) {
9006
+ HighchartsExporting.Highcharts.chart(this.name + 'Chart', this.options, function () { });
9007
+ }
9004
9008
  };
9005
9009
  ChartClass.prototype.destroy = function () {
9006
9010
  if (this.chart !== null) {