@fluxhub/fluxhub-lib 10.0.551 → 10.0.553
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/fluxhub-fluxhub-lib.umd.js +44 -19
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhcombobox.js +7 -6
- package/esm2015/lib/controls/fhgridcolumn.js +1 -0
- package/esm2015/lib/controls/fhnumeric.js +8 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +13 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhnumeric.d.ts +1 -0
- package/package.json +1 -1
|
@@ -359,6 +359,8 @@
|
|
|
359
359
|
return extendStatics(d, b);
|
|
360
360
|
};
|
|
361
361
|
function __extends(d, b) {
|
|
362
|
+
if (typeof b !== "function" && b !== null)
|
|
363
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
362
364
|
extendStatics(d, b);
|
|
363
365
|
function __() { this.constructor = d; }
|
|
364
366
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -544,11 +546,13 @@
|
|
|
544
546
|
}
|
|
545
547
|
return ar;
|
|
546
548
|
}
|
|
549
|
+
/** @deprecated */
|
|
547
550
|
function __spread() {
|
|
548
551
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
549
552
|
ar = ar.concat(__read(arguments[i]));
|
|
550
553
|
return ar;
|
|
551
554
|
}
|
|
555
|
+
/** @deprecated */
|
|
552
556
|
function __spreadArrays() {
|
|
553
557
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
554
558
|
s += arguments[i].length;
|
|
@@ -557,7 +561,17 @@
|
|
|
557
561
|
r[k] = a[j];
|
|
558
562
|
return r;
|
|
559
563
|
}
|
|
560
|
-
|
|
564
|
+
function __spreadArray(to, from, pack) {
|
|
565
|
+
if (pack || arguments.length === 2)
|
|
566
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
567
|
+
if (ar || !(i in from)) {
|
|
568
|
+
if (!ar)
|
|
569
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
570
|
+
ar[i] = from[i];
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
574
|
+
}
|
|
561
575
|
function __await(v) {
|
|
562
576
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
563
577
|
}
|
|
@@ -622,18 +636,21 @@
|
|
|
622
636
|
function __importDefault(mod) {
|
|
623
637
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
624
638
|
}
|
|
625
|
-
function __classPrivateFieldGet(receiver,
|
|
626
|
-
if (!
|
|
627
|
-
throw new TypeError("
|
|
628
|
-
|
|
629
|
-
|
|
639
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
640
|
+
if (kind === "a" && !f)
|
|
641
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
642
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
643
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
644
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
630
645
|
}
|
|
631
|
-
function __classPrivateFieldSet(receiver,
|
|
632
|
-
if (
|
|
633
|
-
throw new TypeError("
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
646
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
647
|
+
if (kind === "m")
|
|
648
|
+
throw new TypeError("Private method is not writable");
|
|
649
|
+
if (kind === "a" && !f)
|
|
650
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
651
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
652
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
653
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
637
654
|
}
|
|
638
655
|
|
|
639
656
|
var obj_diff = /** @class */ (function () {
|
|
@@ -7615,9 +7632,12 @@
|
|
|
7615
7632
|
};
|
|
7616
7633
|
FHComboboxComponent.prototype.doFill = function () {
|
|
7617
7634
|
var _this = this;
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7635
|
+
if (this.load_delay != 0)
|
|
7636
|
+
setTimeout(function () {
|
|
7637
|
+
_this.fillCombo();
|
|
7638
|
+
}, this.load_delay);
|
|
7639
|
+
else
|
|
7640
|
+
this.fillCombo();
|
|
7621
7641
|
};
|
|
7622
7642
|
FHComboboxComponent.prototype.ngAfterViewInit = function () {
|
|
7623
7643
|
var _this = this;
|
|
@@ -7628,9 +7648,7 @@
|
|
|
7628
7648
|
setTimeout(function () { _this.is_loaded = true; }, 1000);
|
|
7629
7649
|
return;
|
|
7630
7650
|
}
|
|
7631
|
-
|
|
7632
|
-
_this.fillCombo();
|
|
7633
|
-
}, _this.load_delay);
|
|
7651
|
+
_this.doFill();
|
|
7634
7652
|
}
|
|
7635
7653
|
else {
|
|
7636
7654
|
_this.errorMsg = "";
|
|
@@ -9755,6 +9773,13 @@
|
|
|
9755
9773
|
this.enter_key_pressed.emit();
|
|
9756
9774
|
}
|
|
9757
9775
|
};
|
|
9776
|
+
FHNumericFieldComponent.prototype.modelch = function () {
|
|
9777
|
+
var _this = this;
|
|
9778
|
+
setTimeout(function () {
|
|
9779
|
+
_this.onChange(_this.formattedAmount);
|
|
9780
|
+
_this.change.emit(_this.formattedAmount);
|
|
9781
|
+
});
|
|
9782
|
+
};
|
|
9758
9783
|
FHNumericFieldComponent.prototype.getStyle_Color = function () {
|
|
9759
9784
|
return this.color;
|
|
9760
9785
|
};
|
|
@@ -9865,7 +9890,7 @@
|
|
|
9865
9890
|
{ type: i0.Component, args: [{
|
|
9866
9891
|
selector: "FHNumericField",
|
|
9867
9892
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
|
|
9868
|
-
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n [style.text-align]=\"text_align\"\n [style.background-color]=\"getStyle_BkColor()\"\n [style.color]=\"getStyle_Color()\"\n #el\n matInput\n [required]=\"required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n formnovalidate\n (blur)=\"chg();focus_out.emit(value)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n (keydown)=\"keyDownFunctioncl($event)\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
|
|
9893
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n [style.text-align]=\"text_align\"\n [style.background-color]=\"getStyle_BkColor()\"\n [style.color]=\"getStyle_Color()\"\n #el\n matInput\n [required]=\"required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n (ngModelChange)=\"modelch()\"\n formnovalidate\n (blur)=\"chg();focus_out.emit(value)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n (keydown)=\"keyDownFunctioncl($event)\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
|
|
9869
9894
|
styles: ["\n\n "]
|
|
9870
9895
|
},] }
|
|
9871
9896
|
];
|