ps-toolkit-ui 1.3.62 → 1.3.65
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 +8 -12
- 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 +4 -3
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +1 -5
- package/fesm2015/ps-toolkit-ui.js +73 -76
- 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,12 +4815,12 @@
|
|
|
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
|
-
|
|
4823
|
-
|
|
4821
|
+
console.log($('#Part1Input .control'));
|
|
4822
|
+
$('#Part1Input .control').focus();
|
|
4823
|
+
}, 100);
|
|
4824
4824
|
}
|
|
4825
4825
|
};
|
|
4826
4826
|
FormPlaqueComponent.prototype.onKeyDown = function (e) {
|
|
@@ -5628,7 +5628,6 @@
|
|
|
5628
5628
|
};
|
|
5629
5629
|
this.inp.focus = function (changeIndex) {
|
|
5630
5630
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
5631
|
-
console.log('this.inp.focus');
|
|
5632
5631
|
_this.onFocusIn(changeIndex);
|
|
5633
5632
|
};
|
|
5634
5633
|
this.inp.isValid = function () {
|
|
@@ -5728,14 +5727,11 @@
|
|
|
5728
5727
|
};
|
|
5729
5728
|
FormTextboxComponent.prototype.onFocusIn = function (changeIndex) {
|
|
5730
5729
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
5731
|
-
console.log('11111onFocusIn');
|
|
5732
5730
|
if (changeIndex) {
|
|
5733
5731
|
this.inputBase.nativeElement.select();
|
|
5734
|
-
console.log('this.inputBase.nativeElement.select');
|
|
5735
5732
|
}
|
|
5736
5733
|
else {
|
|
5737
5734
|
this.inputBase.nativeElement.focus();
|
|
5738
|
-
console.log('this.inputBase.nativeElement.focus');
|
|
5739
5735
|
}
|
|
5740
5736
|
};
|
|
5741
5737
|
FormTextboxComponent.prototype.onChange = function (e) {
|
|
@@ -7431,7 +7427,7 @@
|
|
|
7431
7427
|
p.Area = _this.permissions.Area;
|
|
7432
7428
|
p.Controller = 'Print';
|
|
7433
7429
|
p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
|
|
7434
|
-
var params =
|
|
7430
|
+
var params = $$1.param(_this.searchData(true));
|
|
7435
7431
|
window.open('/Report' + p.getUrl() + (_this.permissions.RelatedId ? '/' + _this.permissions.RelatedId : '') +
|
|
7436
7432
|
(params ? '?' + params : ''), '_blank');
|
|
7437
7433
|
};
|