ps-toolkit-ui 1.3.61 → 1.3.64
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 +11 -10
- 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/car/form.car.component.js +5 -1
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +3 -5
- package/fesm2015/ps-toolkit-ui.js +76 -74
- 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,14 +4815,11 @@
|
|
|
4815
4815
|
}
|
|
4816
4816
|
};
|
|
4817
4817
|
FormPlaqueComponent.prototype.onFocusIn = function (e) {
|
|
4818
|
-
var _this = this;
|
|
4819
4818
|
if (e === void 0) { e = null; }
|
|
4820
|
-
console.log(111, 'onFocusIn');
|
|
4821
4819
|
if (e == null || !(e.screenX && e.screenX !== 0 && e.screenY && e.screenY !== 0)) {
|
|
4822
|
-
console.log(2222);
|
|
4823
4820
|
setTimeout(function () {
|
|
4824
|
-
|
|
4825
|
-
},
|
|
4821
|
+
$('#Part1Input .control').focus();
|
|
4822
|
+
}, 100);
|
|
4826
4823
|
}
|
|
4827
4824
|
};
|
|
4828
4825
|
FormPlaqueComponent.prototype.onKeyDown = function (e) {
|
|
@@ -6672,14 +6669,18 @@
|
|
|
6672
6669
|
this.onFocusIn();
|
|
6673
6670
|
};
|
|
6674
6671
|
FormCarComponent.prototype.onFocusIn = function () {
|
|
6672
|
+
console.log('onFocusIn');
|
|
6675
6673
|
if (this.type === exports.VehicleType.Car) {
|
|
6676
6674
|
this.car.focus();
|
|
6675
|
+
console.log('Car');
|
|
6677
6676
|
}
|
|
6678
6677
|
else if (this.type === exports.VehicleType.CarF) {
|
|
6679
6678
|
this.carF.focus();
|
|
6679
|
+
console.log('CarF');
|
|
6680
6680
|
}
|
|
6681
6681
|
else if (this.type === exports.VehicleType.Motorcycle) {
|
|
6682
6682
|
this.motor.focus();
|
|
6683
|
+
console.log('Motorcycle');
|
|
6683
6684
|
}
|
|
6684
6685
|
};
|
|
6685
6686
|
return FormCarComponent;
|
|
@@ -7429,7 +7430,7 @@
|
|
|
7429
7430
|
p.Area = _this.permissions.Area;
|
|
7430
7431
|
p.Controller = 'Print';
|
|
7431
7432
|
p.Action = _this.permissions.Controller + (_this.permissions.Action ? _this.permissions.Action : '');
|
|
7432
|
-
var params =
|
|
7433
|
+
var params = $$1.param(_this.searchData(true));
|
|
7433
7434
|
window.open('/Report' + p.getUrl() + (_this.permissions.RelatedId ? '/' + _this.permissions.RelatedId : '') +
|
|
7434
7435
|
(params ? '?' + params : ''), '_blank');
|
|
7435
7436
|
};
|