ps-toolkit-ui 0.0.73 → 0.0.74
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 +1 -6
- 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/form.class.js +2 -2
- package/esm2015/lib/classes/table.class.js +1 -2
- package/esm2015/lib/components/form/date/form.date.component.js +1 -5
- package/fesm2015/ps-toolkit-ui.js +1 -6
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1726,7 +1726,7 @@
|
|
|
1726
1726
|
exports.InputType.NationalCode, exports.InputType.Sheba, exports.InputType.PostalCode, exports.InputType.Date, exports.InputType.Time].includes(type) ? ' ltr' : '');
|
|
1727
1727
|
this.type = type;
|
|
1728
1728
|
this.value = value;
|
|
1729
|
-
|
|
1729
|
+
this.default = HelperClass.clone(value);
|
|
1730
1730
|
this.required = required;
|
|
1731
1731
|
this.minLength = type === exports.InputType.Mobile || type === exports.InputType.Phone ? 11 :
|
|
1732
1732
|
type === exports.InputType.NationalCode || type === exports.InputType.PostalCode ? 10 :
|
|
@@ -3237,9 +3237,6 @@
|
|
|
3237
3237
|
this.todayDay = parseInt(today.format('jDD'), 10);
|
|
3238
3238
|
this.todayMonth = parseInt(today.format('jMM'), 10);
|
|
3239
3239
|
this.todayYear = parseInt(today.format('jYYYY'), 10);
|
|
3240
|
-
console.log(44444444444);
|
|
3241
|
-
console.log(this.inp.value);
|
|
3242
|
-
console.log(typeof this.inp.value);
|
|
3243
3240
|
this.setInpValue(this.inp.value);
|
|
3244
3241
|
this.inp.setValue = function (v) {
|
|
3245
3242
|
_this.setInpValue(v);
|
|
@@ -3279,7 +3276,6 @@
|
|
|
3279
3276
|
};
|
|
3280
3277
|
};
|
|
3281
3278
|
FormDateComponent.prototype.setInpValue = function (v) {
|
|
3282
|
-
console.log(typeof v, 'typeof vtypeof vtypeof vtypeof v');
|
|
3283
3279
|
if (v === null) {
|
|
3284
3280
|
this.inp.clear();
|
|
3285
3281
|
return;
|
|
@@ -7274,7 +7270,6 @@
|
|
|
7274
7270
|
};
|
|
7275
7271
|
}
|
|
7276
7272
|
else if (option.Type === exports.PermissionTypeEnum.OptionIcon) {
|
|
7277
|
-
console.log(option.OnClick);
|
|
7278
7273
|
if (option.OnClick) {
|
|
7279
7274
|
opt.onClick = function (btn) {
|
|
7280
7275
|
option.OnClick(btn);
|