@ngx-smz/core 21.1.18 → 21.1.20
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.
|
@@ -3104,11 +3104,11 @@ class DropdownComponent {
|
|
|
3104
3104
|
this.formsVisibility.setValue(input, formId, event);
|
|
3105
3105
|
}
|
|
3106
3106
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: DropdownComponent, deps: [{ token: SmzFormsDropdownService }, { token: SmzFormsVisibilityService }, { token: SmzDialogsVisibilityService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3107
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.5", type: DropdownComponent, isStandalone: false, selector: "smz-dropdown", inputs: { input: "input", formId: "formId", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "\r\n<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n<div class=\"input_inner__wrapper grid grid-nogutter\">\r\n <p-select\r\n appendTo=\"body\"\r\n class=\"col-12 grid-nogutter smz__input_value flex-1\"\r\n [options]=\"input.options\"\r\n [formControl]=\"control\"\r\n optionLabel=\"name\"\r\n dataKey=\"id\"\r\n [filter]=\"input.showFilter ? true : false\"\r\n [filterMatchMode]=\"input.filterMatchMode != null ? input.filterMatchMode : 'contains'\"\r\n (onChange)=\"emitChange(input, formId, $event)\"\r\n [emptyMessage]=\"input.emptyMessage\"\r\n [showClear]=\"input.showClear\"\r\n [emptyFilterMessage]=\"input.emptyFilterMessage\">\r\n\r\n <!-- TODO: AutofocusFilter foi removido pois n\u00E3o existe no primeng\r\n [autofocusFilter]=\"input.autofocusFilter\" -->\r\n\r\n </p-select>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>\r\n", dependencies: [{ kind: "component", type: i4$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "smz-label", inputs: ["text", "propertyName", "showLabel", "warning", "help", "popover"] }, { kind: "component", type: ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }] });
|
|
3107
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.5", type: DropdownComponent, isStandalone: false, selector: "smz-dropdown", inputs: { input: "input", formId: "formId", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "\r\n<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n<div class=\"input_inner__wrapper grid grid-nogutter\">\r\n <p-select\r\n [id]=\"input.propertyName\"\r\n appendTo=\"body\"\r\n class=\"col-12 grid-nogutter smz__input_value flex-1\"\r\n [options]=\"input.options\"\r\n [formControl]=\"control\"\r\n optionLabel=\"name\"\r\n dataKey=\"id\"\r\n [filter]=\"input.showFilter ? true : false\"\r\n [filterMatchMode]=\"input.filterMatchMode != null ? input.filterMatchMode : 'contains'\"\r\n (onChange)=\"emitChange(input, formId, $event)\"\r\n [emptyMessage]=\"input.emptyMessage\"\r\n [showClear]=\"input.showClear\"\r\n [emptyFilterMessage]=\"input.emptyFilterMessage\">\r\n\r\n <!-- TODO: AutofocusFilter foi removido pois n\u00E3o existe no primeng\r\n [autofocusFilter]=\"input.autofocusFilter\" -->\r\n\r\n </p-select>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>\r\n", dependencies: [{ kind: "component", type: i4$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "smz-label", inputs: ["text", "propertyName", "showLabel", "warning", "help", "popover"] }, { kind: "component", type: ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }] });
|
|
3108
3108
|
}
|
|
3109
3109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: DropdownComponent, decorators: [{
|
|
3110
3110
|
type: Component,
|
|
3111
|
-
args: [{ selector: 'smz-dropdown', standalone: false, template: "\r\n<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n<div class=\"input_inner__wrapper grid grid-nogutter\">\r\n <p-select\r\n appendTo=\"body\"\r\n class=\"col-12 grid-nogutter smz__input_value flex-1\"\r\n [options]=\"input.options\"\r\n [formControl]=\"control\"\r\n optionLabel=\"name\"\r\n dataKey=\"id\"\r\n [filter]=\"input.showFilter ? true : false\"\r\n [filterMatchMode]=\"input.filterMatchMode != null ? input.filterMatchMode : 'contains'\"\r\n (onChange)=\"emitChange(input, formId, $event)\"\r\n [emptyMessage]=\"input.emptyMessage\"\r\n [showClear]=\"input.showClear\"\r\n [emptyFilterMessage]=\"input.emptyFilterMessage\">\r\n\r\n <!-- TODO: AutofocusFilter foi removido pois n\u00E3o existe no primeng\r\n [autofocusFilter]=\"input.autofocusFilter\" -->\r\n\r\n </p-select>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>\r\n" }]
|
|
3111
|
+
args: [{ selector: 'smz-dropdown', standalone: false, template: "\r\n<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n<div class=\"input_inner__wrapper grid grid-nogutter\">\r\n <p-select\r\n [id]=\"input.propertyName\"\r\n appendTo=\"body\"\r\n class=\"col-12 grid-nogutter smz__input_value flex-1\"\r\n [options]=\"input.options\"\r\n [formControl]=\"control\"\r\n optionLabel=\"name\"\r\n dataKey=\"id\"\r\n [filter]=\"input.showFilter ? true : false\"\r\n [filterMatchMode]=\"input.filterMatchMode != null ? input.filterMatchMode : 'contains'\"\r\n (onChange)=\"emitChange(input, formId, $event)\"\r\n [emptyMessage]=\"input.emptyMessage\"\r\n [showClear]=\"input.showClear\"\r\n [emptyFilterMessage]=\"input.emptyFilterMessage\">\r\n\r\n <!-- TODO: AutofocusFilter foi removido pois n\u00E3o existe no primeng\r\n [autofocusFilter]=\"input.autofocusFilter\" -->\r\n\r\n </p-select>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>\r\n" }]
|
|
3112
3112
|
}], ctorParameters: () => [{ type: SmzFormsDropdownService }, { type: SmzFormsVisibilityService }, { type: SmzDialogsVisibilityService }], propDecorators: { input: [{
|
|
3113
3113
|
type: Input
|
|
3114
3114
|
}], formId: [{
|