ps-toolkit-ui 1.3.62 → 1.3.63
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 +6 -11
- 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/components/form/plaque/form.plaque.component.js +2 -2
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +1 -5
- package/fesm2015/ps-toolkit-ui.js +71 -75
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('jquery'), require('lodash'), require('jalali-moment'), require('@angular/router'), require('@angular/forms'), require('@angular/common'), require('@angular/platform-browser'), require('highcharts')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('ps-toolkit-ui', ['exports', '@angular/core', 'jquery', 'lodash', 'jalali-moment', '@angular/router', '@angular/forms', '@angular/common', '@angular/platform-browser', 'highcharts'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ps-toolkit-ui'] = {}, global.ng.core, global
|
|
5
|
-
}(this, (function (exports, core,
|
|
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.ng.forms, global.ng.common, global.ng.platformBrowser, global.Highcharts));
|
|
5
|
+
}(this, (function (exports, core, $$1, _, moment, router, forms, common, platformBrowser, Highcharts) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) { return e; } else {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
var $__namespace = /*#__PURE__*/_interopNamespace(
|
|
28
|
+
var $__namespace = /*#__PURE__*/_interopNamespace($$1);
|
|
29
29
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
|
|
30
30
|
|
|
31
31
|
var PsToolkitUiConfigService = /** @class */ (function () {
|
|
@@ -1473,7 +1473,7 @@
|
|
|
1473
1473
|
headers: token == null ? {} : { Authorization: token, Accept: 'application/json' }
|
|
1474
1474
|
};
|
|
1475
1475
|
}
|
|
1476
|
-
var request =
|
|
1476
|
+
var request = $$1.ajax(settings);
|
|
1477
1477
|
request.done(function (response) {
|
|
1478
1478
|
if (!_this.environment.production) {
|
|
1479
1479
|
console.log('%c' + exports.Method[method].toString() + ' : ' + url, 'background: #2f6054; color: white', response);
|
|
@@ -4815,11 +4815,10 @@
|
|
|
4815
4815
|
}
|
|
4816
4816
|
};
|
|
4817
4817
|
FormPlaqueComponent.prototype.onFocusIn = function (e) {
|
|
4818
|
-
var _this = this;
|
|
4819
4818
|
if (e === void 0) { e = null; }
|
|
4820
4819
|
if (e == null || !(e.screenX && e.screenX !== 0 && e.screenY && e.screenY !== 0)) {
|
|
4821
4820
|
setTimeout(function () {
|
|
4822
|
-
|
|
4821
|
+
$('#Part1Input .control').focus();
|
|
4823
4822
|
}, 1000);
|
|
4824
4823
|
}
|
|
4825
4824
|
};
|
|
@@ -5628,7 +5627,6 @@
|
|
|
5628
5627
|
};
|
|
5629
5628
|
this.inp.focus = function (changeIndex) {
|
|
5630
5629
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
5631
|
-
console.log('this.inp.focus');
|
|
5632
5630
|
_this.onFocusIn(changeIndex);
|
|
5633
5631
|
};
|
|
5634
5632
|
this.inp.isValid = function () {
|
|
@@ -5728,14 +5726,11 @@
|
|
|
5728
5726
|
};
|
|
5729
5727
|
FormTextboxComponent.prototype.onFocusIn = function (changeIndex) {
|
|
5730
5728
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
5731
|
-
console.log('11111onFocusIn');
|
|
5732
5729
|
if (changeIndex) {
|
|
5733
5730
|
this.inputBase.nativeElement.select();
|
|
5734
|
-
console.log('this.inputBase.nativeElement.select');
|
|
5735
5731
|
}
|
|
5736
5732
|
else {
|
|
5737
5733
|
this.inputBase.nativeElement.focus();
|
|
5738
|
-
console.log('this.inputBase.nativeElement.focus');
|
|
5739
5734
|
}
|
|
5740
5735
|
};
|
|
5741
5736
|
FormTextboxComponent.prototype.onChange = function (e) {
|
|
@@ -7431,7 +7426,7 @@
|
|
|
7431
7426
|
p.Area = _this.permissions.Area;
|
|
7432
7427
|
p.Controller = 'Print';
|
|
7433
7428
|
p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
|
|
7434
|
-
var params =
|
|
7429
|
+
var params = $$1.param(_this.searchData(true));
|
|
7435
7430
|
window.open('/Report' + p.getUrl() + (_this.permissions.RelatedId ? '/' + _this.permissions.RelatedId : '') +
|
|
7436
7431
|
(params ? '?' + params : ''), '_blank');
|
|
7437
7432
|
};
|