ngx-smz-ui 3.2.6 → 3.2.7
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/ngx-smz-ui.umd.js +4 -2
- package/bundles/ngx-smz-ui.umd.js.map +1 -1
- package/esm2015/lib/builders/smz-forms/form-group-builder.js +3 -2
- package/esm2015/lib/modules/smz-forms/components/input-number/input-number.component.js +2 -2
- package/esm2015/lib/modules/smz-forms/models/control-types.js +1 -1
- package/fesm2015/ngx-smz-ui.js +3 -2
- package/fesm2015/ngx-smz-ui.js.map +1 -1
- package/lib/builders/smz-forms/form-group-builder.d.ts +1 -1
- package/lib/modules/smz-forms/models/control-types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2092,7 +2092,7 @@
|
|
|
2092
2092
|
return InputNumberComponent;
|
|
2093
2093
|
}());
|
|
2094
2094
|
InputNumberComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: InputNumberComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2095
|
-
InputNumberComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: InputNumberComponent, selector: "smz-input-number", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0__namespace, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <p-inputMask\n *ngIf=\"!input.useFraction\"\n class=\"smz__input_value\"\n fxFlex=\"grow\"\n slotChar=\"\"\n [autoClear]=\"false\"\n mask=\"9?9999999999999999999999999999999\"\n characterPattern=\"([0-9])\"\n [id]=\"input.propertyName\"\n [formControl]=\"control\">\n </p-inputMask>\n <p-inputNumber\n *ngIf=\"input.useFraction\"\n class=\"smz__input_value\"\n fxFlex=\"grow\"\n [formControl]=\"control\"\n [locale]=\"input.locale\"\n [minFractionDigits]=\"input.minFractionDigits\"\n [id]=\"input.propertyName\"\n (onInput)=\"onInput($event)\">\n </p-inputNumber>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1__namespace$4.InputMask, selector: "p-inputMask", inputs: ["type", "slotChar", "autoClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autoFocus", "autocomplete", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown"] }, { type: i2__namespace.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown"] }, { type: ValidationMessagesComponent$1, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i1__namespace$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$3.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
2095
|
+
InputNumberComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: InputNumberComponent, selector: "smz-input-number", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0__namespace, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <p-inputMask\n *ngIf=\"!input.useFraction\"\n class=\"smz__input_value\"\n fxFlex=\"grow\"\n slotChar=\"\"\n [autoClear]=\"false\"\n mask=\"9?9999999999999999999999999999999\"\n characterPattern=\"([0-9])\"\n [id]=\"input.propertyName\"\n [formControl]=\"control\">\n </p-inputMask>\n <p-inputNumber\n *ngIf=\"input.useFraction\"\n class=\"smz__input_value\"\n fxFlex=\"grow\"\n [formControl]=\"control\"\n [locale]=\"input.locale\"\n [minFractionDigits]=\"input.minFractionDigits\"\n [maxFractionDigits]=\"input.maxFractionDigits\"\n [id]=\"input.propertyName\"\n (onInput)=\"onInput($event)\">\n </p-inputNumber>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1__namespace$4.InputMask, selector: "p-inputMask", inputs: ["type", "slotChar", "autoClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autoFocus", "autocomplete", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown"] }, { type: i2__namespace.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown"] }, { type: ValidationMessagesComponent$1, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i1__namespace$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1__namespace$3.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
2096
2096
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: InputNumberComponent, decorators: [{
|
|
2097
2097
|
type: i0.Component,
|
|
2098
2098
|
args: [{
|
|
@@ -10206,8 +10206,10 @@
|
|
|
10206
10206
|
_this._numberInput = _numberInput;
|
|
10207
10207
|
return _this;
|
|
10208
10208
|
}
|
|
10209
|
-
SmzFormNumberBuilder.prototype.setFraction = function (minFractionDigits) {
|
|
10209
|
+
SmzFormNumberBuilder.prototype.setFraction = function (minFractionDigits, maxFractionDigits) {
|
|
10210
|
+
if (minFractionDigits === void 0) { minFractionDigits = 0; }
|
|
10210
10211
|
this._numberInput.minFractionDigits = minFractionDigits;
|
|
10212
|
+
this._numberInput.maxFractionDigits = maxFractionDigits;
|
|
10211
10213
|
this._numberInput.useFraction = true;
|
|
10212
10214
|
return this;
|
|
10213
10215
|
};
|