ngx-smz-ui 4.3.2 → 4.3.3
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/esm2020/lib/builders/smz-forms/form-builder.mjs +6 -1
- package/esm2020/lib/builders/smz-forms/form-group-builder.mjs +2 -1
- package/esm2020/lib/common/data-pipes/data-pipes.module.mjs +10 -5
- package/esm2020/lib/common/data-pipes/pipes/join.pipe.mjs +20 -0
- package/esm2020/lib/modules/smz-forms/components/calendar/calendar.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/checkbox/checkbox.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/checkbox-group/checkbox-group.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/color-picker/color-picker.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/dropdown/dropdown.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/file-upload/file-upload.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-content-mask/input-content-mask.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-currency/input-currency.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-mask/input-mask.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-number/input-number.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-password/input-password.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-switch/input-switch.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-tag-area/input-tag-area.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-text/input-text.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-text-area/input-text-area.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/input-text-button/input-text-button.component.mjs +7 -5
- package/esm2020/lib/modules/smz-forms/components/linked-dropdown/linked-dropdown.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/linked-multi-select/linked-multi-select.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/multi-select/multi-select.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/radio-button/radio-button.component.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/components/validation-messages/validation-messages.component.mjs +8 -4
- package/esm2020/lib/modules/smz-forms/models/behaviors.mjs +1 -1
- package/esm2020/lib/modules/smz-forms/models/control-type-functions.mjs +5 -2
- package/esm2020/lib/modules/smz-forms/models/control-types.mjs +1 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/ngx-smz-ui.mjs +67 -32
- package/fesm2015/ngx-smz-ui.mjs.map +1 -1
- package/fesm2020/ngx-smz-ui.mjs +67 -31
- package/fesm2020/ngx-smz-ui.mjs.map +1 -1
- package/lib/builders/smz-forms/form-builder.d.ts +1 -0
- package/lib/builders/smz-forms/form-group-builder.d.ts +4 -1
- package/lib/common/data-pipes/data-pipes.module.d.ts +3 -2
- package/lib/common/data-pipes/pipes/join.pipe.d.ts +9 -0
- package/lib/modules/smz-forms/components/validation-messages/validation-messages.component.d.ts +2 -1
- package/lib/modules/smz-forms/models/behaviors.d.ts +1 -0
- package/lib/modules/smz-forms/models/control-types.d.ts +5 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Injectable, Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class JoinPipe {
|
|
4
|
+
constructor() { }
|
|
5
|
+
transform(...arrays) {
|
|
6
|
+
return [].concat(...arrays);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
JoinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: JoinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
10
|
+
JoinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: JoinPipe, name: "join" });
|
|
11
|
+
JoinPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: JoinPipe });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: JoinPipe, decorators: [{
|
|
13
|
+
type: Pipe,
|
|
14
|
+
args: [{
|
|
15
|
+
name: 'join'
|
|
16
|
+
}]
|
|
17
|
+
}, {
|
|
18
|
+
type: Injectable
|
|
19
|
+
}], ctorParameters: function () { return []; } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiam9pbi5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL2NvbW1vbi9kYXRhLXBpcGVzL3BpcGVzL2pvaW4ucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBT2hFLE1BQU0sT0FBTyxRQUFRO0lBRWpCLGdCQUFnQixDQUFDO0lBQ1YsU0FBUyxDQUFJLEdBQUcsTUFBVztRQUU5QixPQUFPLEVBQUUsQ0FBQyxNQUFNLENBQUMsR0FBRyxNQUFNLENBQUMsQ0FBQztJQUNoQyxDQUFDOztxR0FOUSxRQUFRO21HQUFSLFFBQVE7eUdBQVIsUUFBUTsyRkFBUixRQUFRO2tCQUxwQixJQUFJO21CQUFDO29CQUNGLElBQUksRUFBRSxNQUFNO2lCQUNmOztrQkFFQSxVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSwgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AUGlwZSh7XG4gICAgbmFtZTogJ2pvaW4nXG59KVxuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgSm9pblBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtXG57XG4gICAgY29uc3RydWN0b3IoKSB7IH1cbiAgICBwdWJsaWMgdHJhbnNmb3JtPFQ+KC4uLmFycmF5czogVFtdKTogYW55W11cbiAgICB7XG4gICAgICAgIHJldHVybiBbXS5jb25jYXQoLi4uYXJyYXlzKTtcbiAgICB9XG5cbn1cbiJdfQ==
|
|
@@ -12,7 +12,7 @@ export class CalendarComponent {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: CalendarComponent, selector: "smz-calendar", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-calendar\n fxFlex=\"grow\"\n class=\"col-12 grid-nogutter smz__input_value\"\n [monthNavigator]=\"true\"\n [yearNavigator]=\"true\"\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\n\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\n [timeOnly]=\"input.timeOnly\"\n [showTime]=\"input.showTime\"\n\n [id]=\"input.propertyName\"\n [formControl]=\"control\"\n appendTo=\"body\">\n </p-calendar>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n </div>\n</div>", components: [{ type: i1.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "firstDayOfWeek", "showTransitionOptions", "hideTransitionOptions", "tabindex", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i5.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
15
|
+
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: CalendarComponent, selector: "smz-calendar", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-calendar\n fxFlex=\"grow\"\n class=\"col-12 grid-nogutter smz__input_value\"\n [monthNavigator]=\"true\"\n [yearNavigator]=\"true\"\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\n\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\n [timeOnly]=\"input.timeOnly\"\n [showTime]=\"input.showTime\"\n\n [id]=\"input.propertyName\"\n [formControl]=\"control\"\n appendTo=\"body\">\n </p-calendar>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n </div>\n</div>", components: [{ type: i1.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "firstDayOfWeek", "showTransitionOptions", "hideTransitionOptions", "tabindex", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i5.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
16
16
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: 'smz-calendar', template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-calendar\n fxFlex=\"grow\"\n class=\"col-12 grid-nogutter smz__input_value\"\n [monthNavigator]=\"true\"\n [yearNavigator]=\"true\"\n [yearRange]=\"input.yearRange != null ? input.yearRange : '1930:2030'\"\n [dateFormat]=\"input.dateFormat != null ? input.dateFormat : 'dd/mm/yy'\"\n\n [touchUI]=\"input.touchUI != null ? input.touchUI : false\"\n [focusTrap]=\"input.focusTrap != null ? input.focusTrap : true\"\n [keepInvalid]=\"input.keepInvalid != null? input.keepInvalid : false\"\n [showButtonBar]=\"input.showButtonBar != null ? input.showButtonBar : false\"\n [showOnFocus]=\"input.showOnFocus != null ? input.showOnFocus : true\"\n [showIcon]=\"input.showIcon != null ? input.showIcon : false\"\n [timeOnly]=\"input.timeOnly\"\n [showTime]=\"input.showTime\"\n\n [id]=\"input.propertyName\"\n [formControl]=\"control\"\n appendTo=\"body\">\n </p-calendar>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n </div>\n</div>" }]
|
|
@@ -20,7 +20,7 @@ export class CheckBoxComponent {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
CheckBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CheckBoxComponent, deps: [{ token: i1.SmzFormsVisibilityService }, { token: i2.SmzDialogsVisibilityService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: CheckBoxComponent, selector: "smz-checkbox", inputs: { input: "input", formId: "formId", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <div class=\"col-12\" fxLayoutGap=\"10px\">\n <p-checkbox\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [label]=\"input.name\"\n [formControl]=\"control\"\n (onChange)=\"emitChange(input, formId, $event)\"\n [binary]=\"true\">\n </p-checkbox>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i3.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { type: i4.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
23
|
+
CheckBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: CheckBoxComponent, selector: "smz-checkbox", inputs: { input: "input", formId: "formId", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <div class=\"col-12\" fxLayoutGap=\"10px\">\n <p-checkbox\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [label]=\"input.name\"\n [formControl]=\"control\"\n (onChange)=\"emitChange(input, formId, $event)\"\n [binary]=\"true\">\n </p-checkbox>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i3.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { type: i4.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CheckBoxComponent, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: 'smz-checkbox', template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <div class=\"col-12\" fxLayoutGap=\"10px\">\n <p-checkbox\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [label]=\"input.name\"\n [formControl]=\"control\"\n (onChange)=\"emitChange(input, formId, $event)\"\n [binary]=\"true\">\n </p-checkbox>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
package/esm2020/lib/modules/smz-forms/components/checkbox-group/checkbox-group.component.mjs
CHANGED
|
@@ -9,7 +9,7 @@ export class CheckBoxGroupComponent {
|
|
|
9
9
|
constructor() { }
|
|
10
10
|
}
|
|
11
11
|
CheckBoxGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CheckBoxGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
CheckBoxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: CheckBoxGroupComponent, selector: "smz-checkbox-group", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <label class=\"col-12\" [for]=\"input.propertyName\" [innerHTML]=\"input.name\"></label>\n <div class=\"col-12 flex-gap-1\" fxLayoutGap=\"10px\">\n <ng-container *ngFor=\"let option of input.options\">\n <p-checkbox\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [value]=\"option.id\"\n [label]=\"option.name\"\n [formControl]=\"control\">\n </p-checkbox>\n </ng-container>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
12
|
+
CheckBoxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: CheckBoxGroupComponent, selector: "smz-checkbox-group", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <label class=\"col-12\" [for]=\"input.propertyName\" [innerHTML]=\"input.name\"></label>\n <div class=\"col-12 flex-gap-1\" fxLayoutGap=\"10px\">\n <ng-container *ngFor=\"let option of input.options\">\n <p-checkbox\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [value]=\"option.id\"\n [label]=\"option.name\"\n [formControl]=\"control\">\n </p-checkbox>\n </ng-container>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CheckBoxGroupComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ selector: 'smz-checkbox-group', template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <label class=\"col-12\" [for]=\"input.propertyName\" [innerHTML]=\"input.name\"></label>\n <div class=\"col-12 flex-gap-1\" fxLayoutGap=\"10px\">\n <ng-container *ngFor=\"let option of input.options\">\n <p-checkbox\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [value]=\"option.id\"\n [label]=\"option.name\"\n [formControl]=\"control\">\n </p-checkbox>\n </ng-container>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
|
@@ -22,7 +22,7 @@ export class ColorPickerComponent {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
ColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ColorPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: ColorPickerComponent, selector: "smz-color-picker", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper grid grid-nogutter items-center justify-start flex-nowrap mt-1\">\n <p-colorPicker\n [id]=\"input.propertyName\"\n class=\"smz__input_value\"\n appendTo=\"body\"\n [formControl]=\"control\"\n (onChange)=\"onPickerChange($event)\">\n </p-colorPicker>\n <input\n class=\"smz__input_value colorpicker-hexa-input ml-2\"\n pInputText\n [disabled]=\"input.isDisabled\"\n [(ngModel)]=\"color\"\n (ngModelChange)=\"onInputChange($event)\"\n (blur)=\"markAsTouched()\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.ColorPicker, selector: "p-colorPicker", inputs: ["style", "styleClass", "inline", "format", "appendTo", "disabled", "tabindex", "inputId", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onChange", "onShow", "onHide"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.InputText, selector: "[pInputText]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
25
|
+
ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: ColorPickerComponent, selector: "smz-color-picker", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper grid grid-nogutter items-center justify-start flex-nowrap mt-1\">\n <p-colorPicker\n [id]=\"input.propertyName\"\n class=\"smz__input_value\"\n appendTo=\"body\"\n [formControl]=\"control\"\n (onChange)=\"onPickerChange($event)\">\n </p-colorPicker>\n <input\n class=\"smz__input_value colorpicker-hexa-input ml-2\"\n pInputText\n [disabled]=\"input.isDisabled\"\n [(ngModel)]=\"color\"\n (ngModelChange)=\"onInputChange($event)\"\n (blur)=\"markAsTouched()\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.ColorPicker, selector: "p-colorPicker", inputs: ["style", "styleClass", "inline", "format", "appendTo", "disabled", "tabindex", "inputId", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onChange", "onShow", "onHide"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.InputText, selector: "[pInputText]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ColorPickerComponent, decorators: [{
|
|
27
27
|
type: Component,
|
|
28
28
|
args: [{ selector: 'smz-color-picker', template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper grid grid-nogutter items-center justify-start flex-nowrap mt-1\">\n <p-colorPicker\n [id]=\"input.propertyName\"\n class=\"smz__input_value\"\n appendTo=\"body\"\n [formControl]=\"control\"\n (onChange)=\"onPickerChange($event)\">\n </p-colorPicker>\n <input\n class=\"smz__input_value colorpicker-hexa-input ml-2\"\n pInputText\n [disabled]=\"input.isDisabled\"\n [(ngModel)]=\"color\"\n (ngModelChange)=\"onInputChange($event)\"\n (blur)=\"markAsTouched()\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
|
@@ -26,7 +26,7 @@ export class DropdownComponent {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DropdownComponent, deps: [{ token: i1.SmzFormsDropdownService }, { token: i2.SmzFormsVisibilityService }, { token: i3.SmzDialogsVisibilityService }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
-
DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: DropdownComponent, selector: "smz-dropdown", inputs: { input: "input", formId: "formId", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-dropdown\n fxFlex=\"grow\"\n class=\"col-12 grid-nogutter smz__input_value\"\n [options]=\"input.options\"\n [formControl]=\"control\"\n optionLabel=\"name\"\n [autoDisplayFirst]=\"false\"\n dataKey=\"id\"\n appendTo=\"body\"\n [filter]=\"input.showFilter ? true : false\"\n [filterMatchMode]=\"input.filterMatchMode != null ? input.filterMatchMode : 'contains'\"\n (onChange)=\"emitChange(input, formId, $event)\"\n [emptyMessage]=\"input.emptyMessage\"\n [emptyFilterMessage]=\"input.emptyFilterMessage\">\n </p-dropdown>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n</div>", components: [{ type: i4.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "virtualScroll", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "disabled", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear"] }, { type: i5.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i7.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i8.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: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
29
|
+
DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: DropdownComponent, selector: "smz-dropdown", inputs: { input: "input", formId: "formId", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-dropdown\n fxFlex=\"grow\"\n class=\"col-12 grid-nogutter smz__input_value\"\n [options]=\"input.options\"\n [formControl]=\"control\"\n optionLabel=\"name\"\n [autoDisplayFirst]=\"false\"\n dataKey=\"id\"\n appendTo=\"body\"\n [filter]=\"input.showFilter ? true : false\"\n [filterMatchMode]=\"input.filterMatchMode != null ? input.filterMatchMode : 'contains'\"\n (onChange)=\"emitChange(input, formId, $event)\"\n [emptyMessage]=\"input.emptyMessage\"\n [emptyFilterMessage]=\"input.emptyFilterMessage\">\n </p-dropdown>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n</div>", components: [{ type: i4.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "virtualScroll", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "disabled", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear"] }, { type: i5.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i6.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i7.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i8.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: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
30
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DropdownComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{ selector: 'smz-dropdown', template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-dropdown\n fxFlex=\"grow\"\n class=\"col-12 grid-nogutter smz__input_value\"\n [options]=\"input.options\"\n [formControl]=\"control\"\n optionLabel=\"name\"\n [autoDisplayFirst]=\"false\"\n dataKey=\"id\"\n appendTo=\"body\"\n [filter]=\"input.showFilter ? true : false\"\n [filterMatchMode]=\"input.filterMatchMode != null ? input.filterMatchMode : 'contains'\"\n (onChange)=\"emitChange(input, formId, $event)\"\n [emptyMessage]=\"input.emptyMessage\"\n [emptyFilterMessage]=\"input.emptyFilterMessage\">\n </p-dropdown>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n</div>" }]
|
|
@@ -149,7 +149,7 @@ export class FileUploadComponent {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
FileUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FileUploadComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Store }], target: i0.ɵɵFactoryTarget.Component });
|
|
152
|
-
FileUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: FileUploadComponent, selector: "smz-file-upload", inputs: { input: "input", form: "form", control: "control", behaviors: "behaviors" }, outputs: { selectChange: "selectChange" }, ngImport: i0, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter relative\" [ngStyle]=\"{ padding: 0 }\">\n\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n\n <!-- ZONA DE DROPPING -->\n <div *ngIf=\"input._file == null\" SmzDragDrop (fileDropped)=\"input.isDisabled ? notAllowed() : onFilesDropped($event)\" class=\"file_upload__drag-container grid grid-nogutter items-center justify-center mt-1 mb-1\">\n <div class=\"grid grid-nogutter flex-col items-center justify-center pt-3 pb-3\">\n <!-- ICONE DE UPLOAD -->\n <i [ngClass]=\"input.dragIconClass\" class=\"text-4xl mb-2\"></i>\n <span class=\"grid grid-nogutter gap-2\">\n <!-- INPUT DE UPLOAD MANUAL -->\n <input #uploadControl type=\"file\" name=\"uploadControl\" class=\"upload_manual_control\" [attr.disabled]=\"input.isDisabled\" [accept]=\"input.fileAccept\" id=\"uploadControl\" (change)=\"onInputFiles($event)\" />\n <!-- BOT\u00C3O PARA SELECIONAR ARQUIVO -->\n <label for=\"uploadControl\" [ngClass]=\"{ 'text-gray-500' : input.isDisabled,'clickable upload_manual_label hvr hvr-grow': !input.isDisabled }\">{{ input.inputMessage }}</label>\n <!-- MENSAGEM PARA ARRASTAR -->\n <span class=\"upload_field-drag-message\">ou {{ input.dragMessage }}</span>\n </span>\n\n <!-- MENSAGEM DE ERRO PARA SELE\u00C7\u00C3O DE ARQUIVO -->\n <p-messages [(value)]=\"errors\" [enableService]=\"false\" [ngStyle]=\"{ 'width': '100%;' }\" styleClass=\"dialog-messages\"></p-messages>\n </div>\n </div>\n\n <!-- CONTE\u00DADO COM ARQUIVO CARREGADO -->\n <div *ngIf=\"input._file != null\" class=\"grid grid-nogutter items-center justify-start flex-nowrap mt-1 mb-1\">\n\n <div class=\"upload_field\" [style.height]=\"input.thumbnailSize\" [style.width]=\"input.thumbnailSize\">\n <ng-container [ngSwitch]=\"input._fileType\">\n\n <!-- IMAGENS -->\n <ng-container *ngSwitchCase=\"'image'\">\n\n <!-- THUMBNAIL DE IMAGENS -->\n <img *ngIf=\"input._base64\" class=\"upload_field-img mr-3\" [src]=\"input._base64 | safeUrl\"/>\n\n <!-- ZOOM PARA IMAGENS -->\n <div class=\"upload_field__actions\">\n <div class=\"grid grid-nogutter items-center justify-end mr-2 mt-2\">\n <i *ngIf=\"input.allowZoom\" class=\"fas fa-search-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\n </div>\n </div>\n\n </ng-container>\n\n <!-- APLICA\u00C7\u00D5ES -->\n <ng-container *ngSwitchCase=\"'application'\">\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n\n <!-- THUMBNAIL DE APLICA\u00C7\u00D5ES -->\n <ng-container [ngSwitch]=\"input._fileExtension\">\n <i *ngSwitchCase=\"'.pdf'\" class=\"far fa-file-pdf\"></i>\n <i *ngSwitchCase=\"'.doc'\" class=\"far fa-file-word\"></i>\n <i *ngSwitchCase=\"'.docx'\" class=\"far fa-file-word\"></i>\n <i *ngSwitchCase=\"'.ppt'\" class=\"far fa-file-powerpoint\"></i>\n <i *ngSwitchCase=\"'.pptx'\" class=\"far fa-file-powerpoint\"></i>\n <i *ngSwitchCase=\"'.xls'\" class=\"far fa-file-excel\"></i>\n <i *ngSwitchCase=\"'.xlsx'\" class=\"far fa-file-excel\"></i>\n <i *ngSwitchCase=\"'.zip'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.7zip'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.rar'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.txt'\" class=\"far fa-file-alt\"></i>\n <i *ngSwitchDefault class=\"far fa-file\"></i>\n </ng-container>\n </div>\n\n <!-- ZOOM PARA PDF -->\n <div *ngIf=\"input._fileExtension === '.pdf'\" class=\"upload_field__actions\">\n <div class=\"grid grid-nogutter items-center justify-end mr-2 mt-2\">\n <i *ngIf=\"input.allowZoom\" class=\"fas fa-search-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\n </div>\n </div>\n\n </ng-container>\n\n <!-- V\u00CDDEOS -->\n <ng-container *ngSwitchCase=\"'video'\">\n\n <!-- THUMBNAIL DE V\u00CDDEOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file-video\"></i>\n </div>\n\n </ng-container>\n\n <!-- AUDIOS -->\n <ng-container *ngSwitchCase=\"'audio'\">\n\n <!-- THUMBNAIL DE AUDIOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file-audio\"></i>\n </div>\n\n </ng-container>\n\n <!-- OUTROS -->\n <ng-container *ngSwitchDefault>\n\n <!-- THUMBNAIL GENERICOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file\"></i>\n </div>\n\n </ng-container>\n\n </ng-container>\n\n </div>\n\n <!-- NOME E TAMANHO DO ARQUIVO -->\n <div class=\"grid grid-nogutter flex-col items-start justify-end ml-3\">\n <span>{{ input._file.name | fileNameShorten : input.shortenLength : input.shortenSeparator }} <i class=\"far fa-trash-alt hvr hvr-grow text-red-500 clickable ml-2 mb-1\" (click)=\"clear()\"></i></span>\n <span *ngIf=\"input.showFileSize\"><small>{{ formatBytes(input._file.size) }}</small></span>\n </div>\n\n </div>\n\n <!-- MENSAGEM DE ERRO DE VALIDA\u00C7\u00C3O DO FORM -->\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n</div>\n\n<div *ngIf=\"isZoomActive\" class=\"upload_field__fullscreen-image\">\n\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE PDF -->\n <ng-container *ngIf=\"input._fileExtension === '.pdf'; else imageTemplate\">\n <iframe *ngIf=\"input._base64\" [src]=\"input._base64 | safeUrl\" class=\"animate__animated animate__zoomIn animate__faster\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>\n </ng-container>\n\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE IMAGENS -->\n <ng-template #imageTemplate>\n <img *ngIf=\"input._base64\" class=\"animate__animated animate__zoomIn animate__faster\" [src]=\"input._base64 | safeUrl\" height=\"100%\" width=\"100%\"/>\n </ng-template>\n\n <!-- ICONE DE SAIR DO FULLSCREEN -->\n <i class=\"far fa-times-circle clickable m-4 hvr hvr-grow text-4xl text-white\" (click)=\"restoreZoom()\"></i>\n</div>", components: [{ type: i2.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange"] }, { type: i3.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i5.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.FileDragDropDirective, selector: "[SmzDragDrop]", outputs: ["fileDropped"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "safeUrl": i7.SafeUrlPipe, "fileNameShorten": i8.FileNameShortenPipe } });
|
|
152
|
+
FileUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: FileUploadComponent, selector: "smz-file-upload", inputs: { input: "input", form: "form", control: "control", behaviors: "behaviors" }, outputs: { selectChange: "selectChange" }, ngImport: i0, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter relative\" [ngStyle]=\"{ padding: 0 }\">\n\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n\n <!-- ZONA DE DROPPING -->\n <div *ngIf=\"input._file == null\" SmzDragDrop (fileDropped)=\"input.isDisabled ? notAllowed() : onFilesDropped($event)\" class=\"file_upload__drag-container grid grid-nogutter items-center justify-center mt-1 mb-1\">\n <div class=\"grid grid-nogutter flex-col items-center justify-center pt-3 pb-3\">\n <!-- ICONE DE UPLOAD -->\n <i [ngClass]=\"input.dragIconClass\" class=\"text-4xl mb-2\"></i>\n <span class=\"grid grid-nogutter gap-2\">\n <!-- INPUT DE UPLOAD MANUAL -->\n <input #uploadControl type=\"file\" name=\"uploadControl\" class=\"upload_manual_control\" [attr.disabled]=\"input.isDisabled\" [accept]=\"input.fileAccept\" id=\"uploadControl\" (change)=\"onInputFiles($event)\" />\n <!-- BOT\u00C3O PARA SELECIONAR ARQUIVO -->\n <label for=\"uploadControl\" [ngClass]=\"{ 'text-gray-500' : input.isDisabled,'clickable upload_manual_label hvr hvr-grow': !input.isDisabled }\">{{ input.inputMessage }}</label>\n <!-- MENSAGEM PARA ARRASTAR -->\n <span class=\"upload_field-drag-message\">ou {{ input.dragMessage }}</span>\n </span>\n\n <!-- MENSAGEM DE ERRO PARA SELE\u00C7\u00C3O DE ARQUIVO -->\n <p-messages [(value)]=\"errors\" [enableService]=\"false\" [ngStyle]=\"{ 'width': '100%;' }\" styleClass=\"dialog-messages\"></p-messages>\n </div>\n </div>\n\n <!-- CONTE\u00DADO COM ARQUIVO CARREGADO -->\n <div *ngIf=\"input._file != null\" class=\"grid grid-nogutter items-center justify-start flex-nowrap mt-1 mb-1\">\n\n <div class=\"upload_field\" [style.height]=\"input.thumbnailSize\" [style.width]=\"input.thumbnailSize\">\n <ng-container [ngSwitch]=\"input._fileType\">\n\n <!-- IMAGENS -->\n <ng-container *ngSwitchCase=\"'image'\">\n\n <!-- THUMBNAIL DE IMAGENS -->\n <img *ngIf=\"input._base64\" class=\"upload_field-img mr-3\" [src]=\"input._base64 | safeUrl\"/>\n\n <!-- ZOOM PARA IMAGENS -->\n <div class=\"upload_field__actions\">\n <div class=\"grid grid-nogutter items-center justify-end mr-2 mt-2\">\n <i *ngIf=\"input.allowZoom\" class=\"fas fa-search-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\n </div>\n </div>\n\n </ng-container>\n\n <!-- APLICA\u00C7\u00D5ES -->\n <ng-container *ngSwitchCase=\"'application'\">\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n\n <!-- THUMBNAIL DE APLICA\u00C7\u00D5ES -->\n <ng-container [ngSwitch]=\"input._fileExtension\">\n <i *ngSwitchCase=\"'.pdf'\" class=\"far fa-file-pdf\"></i>\n <i *ngSwitchCase=\"'.doc'\" class=\"far fa-file-word\"></i>\n <i *ngSwitchCase=\"'.docx'\" class=\"far fa-file-word\"></i>\n <i *ngSwitchCase=\"'.ppt'\" class=\"far fa-file-powerpoint\"></i>\n <i *ngSwitchCase=\"'.pptx'\" class=\"far fa-file-powerpoint\"></i>\n <i *ngSwitchCase=\"'.xls'\" class=\"far fa-file-excel\"></i>\n <i *ngSwitchCase=\"'.xlsx'\" class=\"far fa-file-excel\"></i>\n <i *ngSwitchCase=\"'.zip'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.7zip'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.rar'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.txt'\" class=\"far fa-file-alt\"></i>\n <i *ngSwitchDefault class=\"far fa-file\"></i>\n </ng-container>\n </div>\n\n <!-- ZOOM PARA PDF -->\n <div *ngIf=\"input._fileExtension === '.pdf'\" class=\"upload_field__actions\">\n <div class=\"grid grid-nogutter items-center justify-end mr-2 mt-2\">\n <i *ngIf=\"input.allowZoom\" class=\"fas fa-search-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\n </div>\n </div>\n\n </ng-container>\n\n <!-- V\u00CDDEOS -->\n <ng-container *ngSwitchCase=\"'video'\">\n\n <!-- THUMBNAIL DE V\u00CDDEOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file-video\"></i>\n </div>\n\n </ng-container>\n\n <!-- AUDIOS -->\n <ng-container *ngSwitchCase=\"'audio'\">\n\n <!-- THUMBNAIL DE AUDIOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file-audio\"></i>\n </div>\n\n </ng-container>\n\n <!-- OUTROS -->\n <ng-container *ngSwitchDefault>\n\n <!-- THUMBNAIL GENERICOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file\"></i>\n </div>\n\n </ng-container>\n\n </ng-container>\n\n </div>\n\n <!-- NOME E TAMANHO DO ARQUIVO -->\n <div class=\"grid grid-nogutter flex-col items-start justify-end ml-3\">\n <span>{{ input._file.name | fileNameShorten : input.shortenLength : input.shortenSeparator }} <i class=\"far fa-trash-alt hvr hvr-grow text-red-500 clickable ml-2 mb-1\" (click)=\"clear()\"></i></span>\n <span *ngIf=\"input.showFileSize\"><small>{{ formatBytes(input._file.size) }}</small></span>\n </div>\n\n </div>\n\n <!-- MENSAGEM DE ERRO DE VALIDA\u00C7\u00C3O DO FORM -->\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n</div>\n\n<div *ngIf=\"isZoomActive\" class=\"upload_field__fullscreen-image\">\n\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE PDF -->\n <ng-container *ngIf=\"input._fileExtension === '.pdf'; else imageTemplate\">\n <iframe *ngIf=\"input._base64\" [src]=\"input._base64 | safeUrl\" class=\"animate__animated animate__zoomIn animate__faster\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>\n </ng-container>\n\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE IMAGENS -->\n <ng-template #imageTemplate>\n <img *ngIf=\"input._base64\" class=\"animate__animated animate__zoomIn animate__faster\" [src]=\"input._base64 | safeUrl\" height=\"100%\" width=\"100%\"/>\n </ng-template>\n\n <!-- ICONE DE SAIR DO FULLSCREEN -->\n <i class=\"far fa-times-circle clickable m-4 hvr hvr-grow text-4xl text-white\" (click)=\"restoreZoom()\"></i>\n</div>", components: [{ type: i2.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange"] }, { type: i3.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i5.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.FileDragDropDirective, selector: "[SmzDragDrop]", outputs: ["fileDropped"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "safeUrl": i7.SafeUrlPipe, "fileNameShorten": i8.FileNameShortenPipe } });
|
|
153
153
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FileUploadComponent, decorators: [{
|
|
154
154
|
type: Component,
|
|
155
155
|
args: [{ selector: 'smz-file-upload', template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter relative\" [ngStyle]=\"{ padding: 0 }\">\n\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n\n <!-- ZONA DE DROPPING -->\n <div *ngIf=\"input._file == null\" SmzDragDrop (fileDropped)=\"input.isDisabled ? notAllowed() : onFilesDropped($event)\" class=\"file_upload__drag-container grid grid-nogutter items-center justify-center mt-1 mb-1\">\n <div class=\"grid grid-nogutter flex-col items-center justify-center pt-3 pb-3\">\n <!-- ICONE DE UPLOAD -->\n <i [ngClass]=\"input.dragIconClass\" class=\"text-4xl mb-2\"></i>\n <span class=\"grid grid-nogutter gap-2\">\n <!-- INPUT DE UPLOAD MANUAL -->\n <input #uploadControl type=\"file\" name=\"uploadControl\" class=\"upload_manual_control\" [attr.disabled]=\"input.isDisabled\" [accept]=\"input.fileAccept\" id=\"uploadControl\" (change)=\"onInputFiles($event)\" />\n <!-- BOT\u00C3O PARA SELECIONAR ARQUIVO -->\n <label for=\"uploadControl\" [ngClass]=\"{ 'text-gray-500' : input.isDisabled,'clickable upload_manual_label hvr hvr-grow': !input.isDisabled }\">{{ input.inputMessage }}</label>\n <!-- MENSAGEM PARA ARRASTAR -->\n <span class=\"upload_field-drag-message\">ou {{ input.dragMessage }}</span>\n </span>\n\n <!-- MENSAGEM DE ERRO PARA SELE\u00C7\u00C3O DE ARQUIVO -->\n <p-messages [(value)]=\"errors\" [enableService]=\"false\" [ngStyle]=\"{ 'width': '100%;' }\" styleClass=\"dialog-messages\"></p-messages>\n </div>\n </div>\n\n <!-- CONTE\u00DADO COM ARQUIVO CARREGADO -->\n <div *ngIf=\"input._file != null\" class=\"grid grid-nogutter items-center justify-start flex-nowrap mt-1 mb-1\">\n\n <div class=\"upload_field\" [style.height]=\"input.thumbnailSize\" [style.width]=\"input.thumbnailSize\">\n <ng-container [ngSwitch]=\"input._fileType\">\n\n <!-- IMAGENS -->\n <ng-container *ngSwitchCase=\"'image'\">\n\n <!-- THUMBNAIL DE IMAGENS -->\n <img *ngIf=\"input._base64\" class=\"upload_field-img mr-3\" [src]=\"input._base64 | safeUrl\"/>\n\n <!-- ZOOM PARA IMAGENS -->\n <div class=\"upload_field__actions\">\n <div class=\"grid grid-nogutter items-center justify-end mr-2 mt-2\">\n <i *ngIf=\"input.allowZoom\" class=\"fas fa-search-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\n </div>\n </div>\n\n </ng-container>\n\n <!-- APLICA\u00C7\u00D5ES -->\n <ng-container *ngSwitchCase=\"'application'\">\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n\n <!-- THUMBNAIL DE APLICA\u00C7\u00D5ES -->\n <ng-container [ngSwitch]=\"input._fileExtension\">\n <i *ngSwitchCase=\"'.pdf'\" class=\"far fa-file-pdf\"></i>\n <i *ngSwitchCase=\"'.doc'\" class=\"far fa-file-word\"></i>\n <i *ngSwitchCase=\"'.docx'\" class=\"far fa-file-word\"></i>\n <i *ngSwitchCase=\"'.ppt'\" class=\"far fa-file-powerpoint\"></i>\n <i *ngSwitchCase=\"'.pptx'\" class=\"far fa-file-powerpoint\"></i>\n <i *ngSwitchCase=\"'.xls'\" class=\"far fa-file-excel\"></i>\n <i *ngSwitchCase=\"'.xlsx'\" class=\"far fa-file-excel\"></i>\n <i *ngSwitchCase=\"'.zip'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.7zip'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.rar'\" class=\"far fa-file-archive\"></i>\n <i *ngSwitchCase=\"'.txt'\" class=\"far fa-file-alt\"></i>\n <i *ngSwitchDefault class=\"far fa-file\"></i>\n </ng-container>\n </div>\n\n <!-- ZOOM PARA PDF -->\n <div *ngIf=\"input._fileExtension === '.pdf'\" class=\"upload_field__actions\">\n <div class=\"grid grid-nogutter items-center justify-end mr-2 mt-2\">\n <i *ngIf=\"input.allowZoom\" class=\"fas fa-search-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\n </div>\n </div>\n\n </ng-container>\n\n <!-- V\u00CDDEOS -->\n <ng-container *ngSwitchCase=\"'video'\">\n\n <!-- THUMBNAIL DE V\u00CDDEOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file-video\"></i>\n </div>\n\n </ng-container>\n\n <!-- AUDIOS -->\n <ng-container *ngSwitchCase=\"'audio'\">\n\n <!-- THUMBNAIL DE AUDIOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file-audio\"></i>\n </div>\n\n </ng-container>\n\n <!-- OUTROS -->\n <ng-container *ngSwitchDefault>\n\n <!-- THUMBNAIL GENERICOS -->\n <div class=\"upload_field-generic h-full w-full grid grid-nogutter items-center text-5xl justify-center mr-3\">\n <i class=\"far fa-file\"></i>\n </div>\n\n </ng-container>\n\n </ng-container>\n\n </div>\n\n <!-- NOME E TAMANHO DO ARQUIVO -->\n <div class=\"grid grid-nogutter flex-col items-start justify-end ml-3\">\n <span>{{ input._file.name | fileNameShorten : input.shortenLength : input.shortenSeparator }} <i class=\"far fa-trash-alt hvr hvr-grow text-red-500 clickable ml-2 mb-1\" (click)=\"clear()\"></i></span>\n <span *ngIf=\"input.showFileSize\"><small>{{ formatBytes(input._file.size) }}</small></span>\n </div>\n\n </div>\n\n <!-- MENSAGEM DE ERRO DE VALIDA\u00C7\u00C3O DO FORM -->\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n</div>\n\n<div *ngIf=\"isZoomActive\" class=\"upload_field__fullscreen-image\">\n\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE PDF -->\n <ng-container *ngIf=\"input._fileExtension === '.pdf'; else imageTemplate\">\n <iframe *ngIf=\"input._base64\" [src]=\"input._base64 | safeUrl\" class=\"animate__animated animate__zoomIn animate__faster\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>\n </ng-container>\n\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE IMAGENS -->\n <ng-template #imageTemplate>\n <img *ngIf=\"input._base64\" class=\"animate__animated animate__zoomIn animate__faster\" [src]=\"input._base64 | safeUrl\" height=\"100%\" width=\"100%\"/>\n </ng-template>\n\n <!-- ICONE DE SAIR DO FULLSCREEN -->\n <i class=\"far fa-times-circle clickable m-4 hvr hvr-grow text-4xl text-white\" (click)=\"restoreZoom()\"></i>\n</div>" }]
|
package/esm2020/lib/modules/smz-forms/components/input-content-mask/input-content-mask.component.mjs
CHANGED
|
@@ -9,7 +9,7 @@ export class InputContentMaskComponent {
|
|
|
9
9
|
constructor() { }
|
|
10
10
|
}
|
|
11
11
|
InputContentMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputContentMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
-
InputContentMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputContentMaskComponent, selector: "smz-input-content-mask", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <div\n [ngClass]=\"'smz-input-content-mask ' + input.inputClass\"\n [formControl]=\"control\"\n [variableId]=\"input.variableId\"\n [isDisabled]=\"input.isDisabled\"\n [quickActions]=\"input.quickActions\"\n transfervalue\n ></div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i2.TransferValueAccessor, selector: "[transfervalue][formControlName], [transfervalue][formControl], [transfervalue][ngModel]", inputs: ["ngModel", "variableId", "isDisabled", "quickActions"], outputs: ["ngModelChange"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
12
|
+
InputContentMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputContentMaskComponent, selector: "smz-input-content-mask", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <div\n [ngClass]=\"'smz-input-content-mask ' + input.inputClass\"\n [formControl]=\"control\"\n [variableId]=\"input.variableId\"\n [isDisabled]=\"input.isDisabled\"\n [quickActions]=\"input.quickActions\"\n transfervalue\n ></div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i2.TransferValueAccessor, selector: "[transfervalue][formControlName], [transfervalue][formControl], [transfervalue][ngModel]", inputs: ["ngModel", "variableId", "isDisabled", "quickActions"], outputs: ["ngModelChange"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputContentMaskComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ selector: 'smz-input-content-mask', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <div\n [ngClass]=\"'smz-input-content-mask ' + input.inputClass\"\n [formControl]=\"control\"\n [variableId]=\"input.variableId\"\n [isDisabled]=\"input.isDisabled\"\n [quickActions]=\"input.quickActions\"\n transfervalue\n ></div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
package/esm2020/lib/modules/smz-forms/components/input-currency/input-currency.component.mjs
CHANGED
|
@@ -10,7 +10,7 @@ export class InputCurrencyComponent {
|
|
|
10
10
|
constructor() { }
|
|
11
11
|
}
|
|
12
12
|
InputCurrencyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputCurrencyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
InputCurrencyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputCurrencyComponent, selector: "smz-input-currency", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"p-inputgroup input_inner__wrapper\">\n <span class=\"p-inputgroup-addon\">R$</span>\n <input pInputText fxFlex=\"grow\" class=\"col-12 smz__input_value\" [id]=\"input.propertyName\" type=\"number\"\n [formControl]=\"control\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n </div>\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.InputText, selector: "[pInputText]" }, { type: i6.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
13
|
+
InputCurrencyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputCurrencyComponent, selector: "smz-input-currency", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"p-inputgroup input_inner__wrapper\">\n <span class=\"p-inputgroup-addon\">R$</span>\n <input pInputText fxFlex=\"grow\" class=\"col-12 smz__input_value\" [id]=\"input.propertyName\" type=\"number\"\n [formControl]=\"control\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n </div>\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { type: i4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.InputText, selector: "[pInputText]" }, { type: i6.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
14
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputCurrencyComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'smz-input-currency', template: "<div class=\"ui-g ui-fluid\">\n <div class=\"ui-g-12 grid-nogutter\" [ngStyle]=\"{ padding: 0 }\">\n <label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n <div class=\"p-inputgroup input_inner__wrapper\">\n <span class=\"p-inputgroup-addon\">R$</span>\n <input pInputText fxFlex=\"grow\" class=\"col-12 smz__input_value\" [id]=\"input.propertyName\" type=\"number\"\n [formControl]=\"control\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n </div>\n </div>\n</div>" }]
|
|
@@ -8,7 +8,7 @@ export class InputMaskComponent {
|
|
|
8
8
|
constructor() { }
|
|
9
9
|
}
|
|
10
10
|
InputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputMaskComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
InputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputMaskComponent, selector: "smz-input-mask", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <p-inputMask\n class=\"smz__input_value\"\n fxFlex=\"grow\"\n [mask]=\"input.mask\"\n [characterPattern]=\"input.characterPattern\"\n [unmask]=\"input.unmask\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [formControl]=\"control\">\n </p-inputMask>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.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.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i3.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
11
|
+
InputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputMaskComponent, selector: "smz-input-mask", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <p-inputMask\n class=\"smz__input_value\"\n fxFlex=\"grow\"\n [mask]=\"input.mask\"\n [characterPattern]=\"input.characterPattern\"\n [unmask]=\"input.unmask\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [formControl]=\"control\">\n </p-inputMask>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.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.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i3.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
12
12
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputMaskComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: 'smz-input-mask', encapsulation: ViewEncapsulation.None, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <p-inputMask\n class=\"smz__input_value\"\n fxFlex=\"grow\"\n [mask]=\"input.mask\"\n [characterPattern]=\"input.characterPattern\"\n [unmask]=\"input.unmask\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [formControl]=\"control\">\n </p-inputMask>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
|
@@ -17,7 +17,7 @@ export class InputNumberComponent {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
InputNumberComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputNumberComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
InputNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputNumberComponent, selector: "smz-input-number", inputs: { input: "input", control: "control", behaviors: "behaviors", form: "form" }, ngImport: i0, 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 [useGrouping]=\"input.useGrouping\"\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.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.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: i3.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
20
|
+
InputNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputNumberComponent, selector: "smz-input-number", inputs: { input: "input", control: "control", behaviors: "behaviors", form: "form" }, ngImport: i0, 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 [useGrouping]=\"input.useGrouping\"\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.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.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: i3.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
21
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputNumberComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: 'smz-input-number', 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 [useGrouping]=\"input.useGrouping\"\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>" }]
|
package/esm2020/lib/modules/smz-forms/components/input-password/input-password.component.mjs
CHANGED
|
@@ -8,7 +8,7 @@ export class InputPasswordComponent {
|
|
|
8
8
|
constructor() { }
|
|
9
9
|
}
|
|
10
10
|
InputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
InputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputPasswordComponent, selector: "smz-input-password", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-password\n [promptLabel]=\"input.promptLabel\"\n [weakLabel]=\"input.weakLabel\"\n [mediumLabel]=\"input.mediumLabel\"\n [strongLabel]=\"input.strongLabel\"\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"password\"\n [feedback]=\"input.feedback\"\n [toggleMask]=\"input.toggleMask\"\n [mediumRegex]=\"input.mediumRegex\"\n [strongRegex]=\"input.strongRegex\"\n [formControl]=\"control\">\n </p-password>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.Password, selector: "p-password", inputs: ["disabled", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "strongLabel", "inputId", "feedback", "appendTo", "toggleMask", "inputStyleClass", "styleClass", "style", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "placeholder"], outputs: ["onFocus", "onBlur"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i3.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
11
|
+
InputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputPasswordComponent, selector: "smz-input-password", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-password\n [promptLabel]=\"input.promptLabel\"\n [weakLabel]=\"input.weakLabel\"\n [mediumLabel]=\"input.mediumLabel\"\n [strongLabel]=\"input.strongLabel\"\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"password\"\n [feedback]=\"input.feedback\"\n [toggleMask]=\"input.toggleMask\"\n [mediumRegex]=\"input.mediumRegex\"\n [strongRegex]=\"input.strongRegex\"\n [formControl]=\"control\">\n </p-password>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.Password, selector: "p-password", inputs: ["disabled", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "strongLabel", "inputId", "feedback", "appendTo", "toggleMask", "inputStyleClass", "styleClass", "style", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "placeholder"], outputs: ["onFocus", "onBlur"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i3.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: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
12
12
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputPasswordComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: 'smz-input-password', template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper grid grid-nogutter\">\n <p-password\n [promptLabel]=\"input.promptLabel\"\n [weakLabel]=\"input.weakLabel\"\n [mediumLabel]=\"input.mediumLabel\"\n [strongLabel]=\"input.strongLabel\"\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"password\"\n [feedback]=\"input.feedback\"\n [toggleMask]=\"input.toggleMask\"\n [mediumRegex]=\"input.mediumRegex\"\n [strongRegex]=\"input.strongRegex\"\n [formControl]=\"control\">\n </p-password>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
|
@@ -8,7 +8,7 @@ export class InputSwitchComponent {
|
|
|
8
8
|
constructor() { }
|
|
9
9
|
}
|
|
10
10
|
InputSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
InputSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputSwitchComponent, selector: "smz-input-switch", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <div class=\"col-12\" style=\"display: flex;\" fxLayoutGap=\"10px\">\n <label class=\"smz__input_name\" [for]=\"input.propertyName\" [innerHTML]=\"input.name\"></label>\n <p-inputSwitch\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [formControl]=\"control\"\n [attr.disabled]=\"input.isDisabled\"\n binary=\"true\">\n </p-inputSwitch>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabelledBy"], outputs: ["onChange"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
11
|
+
InputSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputSwitchComponent, selector: "smz-input-switch", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <div class=\"col-12\" style=\"display: flex;\" fxLayoutGap=\"10px\">\n <label class=\"smz__input_name\" [for]=\"input.propertyName\" [innerHTML]=\"input.name\"></label>\n <p-inputSwitch\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [formControl]=\"control\"\n [attr.disabled]=\"input.isDisabled\"\n binary=\"true\">\n </p-inputSwitch>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabelledBy"], outputs: ["onChange"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
12
12
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputSwitchComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: 'smz-input-switch', template: "<div class=\"grid col-12 grid-nogutter input_inner__wrapper\">\n <div class=\"col-12\" style=\"display: flex;\" fxLayoutGap=\"10px\">\n <label class=\"smz__input_name\" [for]=\"input.propertyName\" [innerHTML]=\"input.name\"></label>\n <p-inputSwitch\n class=\"smz__input_value\"\n [name]=\"input.propertyName\"\n [id]=\"input.propertyName\"\n [formControl]=\"control\"\n [attr.disabled]=\"input.isDisabled\"\n binary=\"true\">\n </p-inputSwitch>\n </div>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
package/esm2020/lib/modules/smz-forms/components/input-tag-area/input-tag-area.component.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export class InputTagAreaComponent {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
InputTagAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputTagAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
InputTagAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputTagAreaComponent, selector: "input-tag-area", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <smz-input-tag-area\n [rows]=\"input.textAreaRows != null ? input.textAreaRows : 5\"\n [control]=\"control\"\n [config]=\"input.config\"\n [id]=\"input.propertyName\"\n class=\"smz__input_value p-0 w-full\">\n </smz-input-tag-area>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.SmzInputTagArea, selector: "smz-input-tag-area", inputs: ["config", "rows", "control"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }] });
|
|
10
|
+
InputTagAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputTagAreaComponent, selector: "input-tag-area", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <smz-input-tag-area\n [rows]=\"input.textAreaRows != null ? input.textAreaRows : 5\"\n [control]=\"control\"\n [config]=\"input.config\"\n [id]=\"input.propertyName\"\n class=\"smz__input_value p-0 w-full\">\n </smz-input-tag-area>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.SmzInputTagArea, selector: "smz-input-tag-area", inputs: ["config", "rows", "control"] }, { type: i2.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }] });
|
|
11
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputTagAreaComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'input-tag-area', template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <smz-input-tag-area\n [rows]=\"input.textAreaRows != null ? input.textAreaRows : 5\"\n [control]=\"control\"\n [config]=\"input.config\"\n [id]=\"input.propertyName\"\n class=\"smz__input_value p-0 w-full\">\n </smz-input-tag-area>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
|
@@ -10,7 +10,7 @@ export class InputTextComponent {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputTextComponent, selector: "smz-input-text", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label *ngIf=\"!input.hideName\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <input\n pInputText\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [formControl]=\"control\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.InputText, selector: "[pInputText]" }, { type: i5.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
13
|
+
InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputTextComponent, selector: "smz-input-text", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label *ngIf=\"!input.hideName\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <input\n pInputText\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [formControl]=\"control\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.InputText, selector: "[pInputText]" }, { type: i5.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
14
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'smz-input-text', template: "<label *ngIf=\"!input.hideName\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <input\n pInputText\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [formControl]=\"control\">\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
package/esm2020/lib/modules/smz-forms/components/input-text-area/input-text-area.component.mjs
CHANGED
|
@@ -8,7 +8,7 @@ export class InputTextAreaComponent {
|
|
|
8
8
|
constructor() { }
|
|
9
9
|
}
|
|
10
10
|
InputTextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputTextAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
InputTextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputTextAreaComponent, selector: "smz-input-text-area", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <textarea\n pInputTextarea\n [rows]=\"input.textAreaRows != null ? input.textAreaRows : 5\"\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n [formControl]=\"control\">\n </textarea>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize"], outputs: ["onResize"] }, { type: i4.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
11
|
+
InputTextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputTextAreaComponent, selector: "smz-input-text-area", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <textarea\n pInputTextarea\n [rows]=\"input.textAreaRows != null ? input.textAreaRows : 5\"\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n [formControl]=\"control\">\n </textarea>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize"], outputs: ["onResize"] }, { type: i4.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
12
12
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputTextAreaComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{ selector: 'smz-input-text-area', template: "<label class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n <textarea\n pInputTextarea\n [rows]=\"input.textAreaRows != null ? input.textAreaRows : 5\"\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n [formControl]=\"control\">\n </textarea>\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n</div>" }]
|
package/esm2020/lib/modules/smz-forms/components/input-text-button/input-text-button.component.mjs
CHANGED
|
@@ -16,25 +16,27 @@ let InputTextButtonComponent = class InputTextButtonComponent {
|
|
|
16
16
|
emit() {
|
|
17
17
|
const data = this.viewdata.getData();
|
|
18
18
|
this.input.isButtonValid = false;
|
|
19
|
+
this.input.buttonMessages = [];
|
|
19
20
|
this.blocked = true;
|
|
20
21
|
this.input
|
|
21
22
|
.callback(data, this.viewdata)
|
|
22
23
|
.pipe(take(1), untilDestroyed(this))
|
|
23
|
-
.subscribe(
|
|
24
|
-
this.input.isButtonValid = isValid;
|
|
24
|
+
.subscribe((event) => {
|
|
25
|
+
this.input.isButtonValid = event.isValid;
|
|
26
|
+
this.input.buttonMessages = event.messages != null ? event.messages : [];
|
|
25
27
|
this.blocked = false;
|
|
26
28
|
});
|
|
27
29
|
}
|
|
28
30
|
};
|
|
29
31
|
InputTextButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputTextButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
InputTextButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputTextButtonComponent, selector: "smz-input-text-button", inputs: { input: "input", control: "control", viewdata: "viewdata", behaviors: "behaviors" }, ngImport: i0, template: "<label *ngIf=\"!input.hideName\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n\n <div class=\"p-inputgroup\">\n <input\n pInputText\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [placeholder]=\"input.placeholder\"\n [formControl]=\"control\">\n <button type=\"button\" [disabled]=\"!control.valid || blocked\" pButton pRipple class=\"min-w-fit\" [label]=\"input.label\" [icon]=\"input.icon\" styleClass=\"p-button-warn\" (click)=\"emit()\"></button>\n </div>\n\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.InputText, selector: "[pInputText]" }, { type: i5.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }] });
|
|
32
|
+
InputTextButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: InputTextButtonComponent, selector: "smz-input-text-button", inputs: { input: "input", control: "control", viewdata: "viewdata", behaviors: "behaviors" }, ngImport: i0, template: "<label *ngIf=\"!input.hideName\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n\n <div class=\"p-inputgroup\">\n <input\n pInputText\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [placeholder]=\"input.placeholder\"\n [formControl]=\"control\">\n <button type=\"button\" [disabled]=\"!control.valid || blocked\" pButton pRipple class=\"min-w-fit\" [label]=\"input.label\" [icon]=\"input.icon\" styleClass=\"p-button-warn\" (click)=\"emit()\"></button>\n </div>\n\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\" [extraMessages]=\"input.buttonMessages\"></smz-validation-messages>\n\n</div>", components: [{ type: i1.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.InputText, selector: "[pInputText]" }, { type: i5.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i6.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }] });
|
|
31
33
|
InputTextButtonComponent = __decorate([
|
|
32
34
|
UntilDestroy()
|
|
33
35
|
], InputTextButtonComponent);
|
|
34
36
|
export { InputTextButtonComponent };
|
|
35
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputTextButtonComponent, decorators: [{
|
|
36
38
|
type: Component,
|
|
37
|
-
args: [{ selector: 'smz-input-text-button', template: "<label *ngIf=\"!input.hideName\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n\n <div class=\"p-inputgroup\">\n <input\n pInputText\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [placeholder]=\"input.placeholder\"\n [formControl]=\"control\">\n <button type=\"button\" [disabled]=\"!control.valid || blocked\" pButton pRipple class=\"min-w-fit\" [label]=\"input.label\" [icon]=\"input.icon\" styleClass=\"p-button-warn\" (click)=\"emit()\"></button>\n </div>\n\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\n\n</div>" }]
|
|
39
|
+
args: [{ selector: 'smz-input-text-button', template: "<label *ngIf=\"!input.hideName\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\n<div class=\"input_inner__wrapper\">\n\n <div class=\"p-inputgroup\">\n <input\n pInputText\n fxFlex=\"grow\"\n class=\"col-12 smz__input_value\"\n [id]=\"input.propertyName\"\n type=\"text\"\n [placeholder]=\"input.placeholder\"\n [formControl]=\"control\">\n <button type=\"button\" [disabled]=\"!control.valid || blocked\" pButton pRipple class=\"min-w-fit\" [label]=\"input.label\" [icon]=\"input.icon\" styleClass=\"p-button-warn\" (click)=\"emit()\"></button>\n </div>\n\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\" [extraMessages]=\"input.buttonMessages\"></smz-validation-messages>\n\n</div>" }]
|
|
38
40
|
}], ctorParameters: function () { return []; }, propDecorators: { input: [{
|
|
39
41
|
type: Input
|
|
40
42
|
}], control: [{
|
|
@@ -44,4 +46,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
44
46
|
}], behaviors: [{
|
|
45
47
|
type: Input
|
|
46
48
|
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWZvcm1zL2NvbXBvbmVudHMvaW5wdXQtdGV4dC1idXR0b24vaW5wdXQtdGV4dC1idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWZvcm1zL2NvbXBvbmVudHMvaW5wdXQtdGV4dC1idXR0b24vaW5wdXQtdGV4dC1idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxZQUFZLEVBQUUsY0FBYyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDckUsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLE1BQU0sQ0FBQzs7Ozs7Ozs7SUFVZix3QkFBd0IsU0FBeEIsd0JBQXdCO0lBTWpDO1FBRE8sWUFBTyxHQUFHLEtBQUssQ0FBQztJQUV2QixDQUFDO0lBRU0sSUFBSTtRQUNQLE1BQU0sSUFBSSxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUMsT0FBTyxFQUFFLENBQUM7UUFFckMsSUFBSSxDQUFDLEtBQUssQ0FBQyxhQUFhLEdBQUcsS0FBSyxDQUFDO1FBQ2pDLElBQUksQ0FBQyxLQUFLLENBQUMsY0FBYyxHQUFHLEVBQUUsQ0FBQztRQUMvQixJQUFJLENBQUMsT0FBTyxHQUFHLElBQUksQ0FBQztRQUVwQixJQUFJLENBQUMsS0FBSzthQUNMLFFBQVEsQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLFFBQVEsQ0FBQzthQUM3QixJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLGNBQWMsQ0FBQyxJQUFJLENBQUMsQ0FBQzthQUNuQyxTQUFTLENBQUMsQ0FBQyxLQUFnRCxFQUFFLEVBQUU7WUFDNUQsSUFBSSxDQUFDLEtBQUssQ0FBQyxhQUFhLEdBQUcsS0FBSyxDQUFDLE9BQU8sQ0FBQztZQUN6QyxJQUFJLENBQUMsS0FBSyxDQUFDLGNBQWMsR0FBRyxLQUFLLENBQUMsUUFBUSxJQUFJLElBQUksQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDO1lBQ3pFLElBQUksQ0FBQyxPQUFPLEdBQUcsS0FBSyxDQUFDO1FBQ3pCLENBQUMsQ0FBQyxDQUFDO0lBRVgsQ0FBQztDQUVKLENBQUE7cUhBM0JZLHdCQUF3Qjt5R0FBeEIsd0JBQXdCLDJKQ1pyQyw2MEJBaUJNO0FETE8sd0JBQXdCO0lBTHBDLFlBQVksRUFBRTtHQUtGLHdCQUF3QixDQTJCcEM7U0EzQlksd0JBQXdCOzJGQUF4Qix3QkFBd0I7a0JBSnBDLFNBQVM7K0JBQ0ksdUJBQXVCOzBFQUlqQixLQUFLO3NCQUFwQixLQUFLO2dCQUNVLE9BQU87c0JBQXRCLEtBQUs7Z0JBQ1UsUUFBUTtzQkFBdkIsS0FBSztnQkFDVSxTQUFTO3NCQUF4QixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgVW50aWxEZXN0cm95LCB1bnRpbERlc3Ryb3llZCB9IGZyb20gJ0BuZ25lYXQvdW50aWwtZGVzdHJveSc7XG5pbXBvcnQgeyB0YWtlIH0gZnJvbSAncnhqcyc7XG5pbXBvcnQgeyBTbXpGb3Jtc0JlaGF2aW9yc0NvbmZpZyB9IGZyb20gJy4uLy4uL21vZGVscy9iZWhhdmlvcnMnO1xuaW1wb3J0IHsgU216VGV4dEJ1dHRvbkNvbnRyb2wgfSBmcm9tICcuLi8uLi9tb2RlbHMvY29udHJvbC10eXBlcyc7XG5pbXBvcnQgeyBTbXpGb3JtVmlld2RhdGEgfSBmcm9tICcuLi8uLi9tb2RlbHMvZm9ybS12aWV3ZGF0YSc7XG5cbkBVbnRpbERlc3Ryb3koKVxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICdzbXotaW5wdXQtdGV4dC1idXR0b24nLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9pbnB1dC10ZXh0LWJ1dHRvbi5jb21wb25lbnQuaHRtbCdcbn0pXG5leHBvcnQgY2xhc3MgSW5wdXRUZXh0QnV0dG9uQ29tcG9uZW50IHtcbiAgICBASW5wdXQoKSBwdWJsaWMgaW5wdXQ6IFNtelRleHRCdXR0b25Db250cm9sO1xuICAgIEBJbnB1dCgpIHB1YmxpYyBjb250cm9sOiBhbnk7XG4gICAgQElucHV0KCkgcHVibGljIHZpZXdkYXRhOiBTbXpGb3JtVmlld2RhdGFcbiAgICBASW5wdXQoKSBwdWJsaWMgYmVoYXZpb3JzOiBTbXpGb3Jtc0JlaGF2aW9yc0NvbmZpZztcbiAgICBwdWJsaWMgYmxvY2tlZCA9IGZhbHNlO1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgIH1cblxuICAgIHB1YmxpYyBlbWl0KCk6IHZvaWQge1xuICAgICAgICBjb25zdCBkYXRhID0gdGhpcy52aWV3ZGF0YS5nZXREYXRhKCk7XG5cbiAgICAgICAgdGhpcy5pbnB1dC5pc0J1dHRvblZhbGlkID0gZmFsc2U7XG4gICAgICAgIHRoaXMuaW5wdXQuYnV0dG9uTWVzc2FnZXMgPSBbXTtcbiAgICAgICAgdGhpcy5ibG9ja2VkID0gdHJ1ZTtcblxuICAgICAgICB0aGlzLmlucHV0XG4gICAgICAgICAgICAuY2FsbGJhY2soZGF0YSwgdGhpcy52aWV3ZGF0YSlcbiAgICAgICAgICAgIC5waXBlKHRha2UoMSksIHVudGlsRGVzdHJveWVkKHRoaXMpKVxuICAgICAgICAgICAgLnN1YnNjcmliZSgoZXZlbnQ6IHsgaXNWYWxpZDogYm9vbGVhbiwgbWVzc2FnZXM/OiBzdHJpbmdbXSB9KSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5pbnB1dC5pc0J1dHRvblZhbGlkID0gZXZlbnQuaXNWYWxpZDtcbiAgICAgICAgICAgICAgICB0aGlzLmlucHV0LmJ1dHRvbk1lc3NhZ2VzID0gZXZlbnQubWVzc2FnZXMgIT0gbnVsbCA/IGV2ZW50Lm1lc3NhZ2VzIDogW107XG4gICAgICAgICAgICAgICAgdGhpcy5ibG9ja2VkID0gZmFsc2U7XG4gICAgICAgICAgICB9KTtcblxuICAgIH1cblxufVxuIiwiPGxhYmVsICpuZ0lmPVwiIWlucHV0LmhpZGVOYW1lXCIgY2xhc3M9XCJzbXpfX2lucHV0X25hbWVcIiBbaW5uZXJIVE1MXT1cImlucHV0Lm5hbWVcIj48L2xhYmVsPlxuPGRpdiBjbGFzcz1cImlucHV0X2lubmVyX193cmFwcGVyXCI+XG5cbiAgICA8ZGl2IGNsYXNzPVwicC1pbnB1dGdyb3VwXCI+XG4gICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgcElucHV0VGV4dFxuICAgICAgICAgICAgZnhGbGV4PVwiZ3Jvd1wiXG4gICAgICAgICAgICBjbGFzcz1cImNvbC0xMiBzbXpfX2lucHV0X3ZhbHVlXCJcbiAgICAgICAgICAgIFtpZF09XCJpbnB1dC5wcm9wZXJ0eU5hbWVcIlxuICAgICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgICAgW3BsYWNlaG9sZGVyXT1cImlucHV0LnBsYWNlaG9sZGVyXCJcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJjb250cm9sXCI+XG4gICAgICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiIFtkaXNhYmxlZF09XCIhY29udHJvbC52YWxpZCB8fCBibG9ja2VkXCIgcEJ1dHRvbiBwUmlwcGxlIGNsYXNzPVwibWluLXctZml0XCIgW2xhYmVsXT1cImlucHV0LmxhYmVsXCIgW2ljb25dPVwiaW5wdXQuaWNvblwiIHN0eWxlQ2xhc3M9XCJwLWJ1dHRvbi13YXJuXCIgKGNsaWNrKT1cImVtaXQoKVwiPjwvYnV0dG9uPlxuICAgIDwvZGl2PlxuXG4gICAgPHNtei12YWxpZGF0aW9uLW1lc3NhZ2VzIFtpbnB1dF09XCJpbnB1dFwiIFtjb250cm9sXT1cImNvbnRyb2xcIiBbYmVoYXZpb3JzXT1cImJlaGF2aW9yc1wiIFtleHRyYU1lc3NhZ2VzXT1cImlucHV0LmJ1dHRvbk1lc3NhZ2VzXCI+PC9zbXotdmFsaWRhdGlvbi1tZXNzYWdlcz5cblxuPC9kaXY+Il19
|