@lucca-front/ng 16.5.1 → 17.0.0
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/esm2022/a11y/skip-links/skip-links.component.mjs +7 -8
- package/esm2022/api/api.module.mjs +6 -7
- package/esm2022/api/select/api-select.module.mjs +6 -7
- package/esm2022/api/select/feeder/api-feeder.component.mjs +7 -8
- package/esm2022/api/select/feeder/api-feeder.module.mjs +6 -7
- package/esm2022/api/select/input/api-select-input.component.mjs +6 -7
- package/esm2022/api/select/input/api-select-input.module.mjs +6 -7
- package/esm2022/api/select/pager/api-pager.component.mjs +7 -8
- package/esm2022/api/select/pager/api-pager.module.mjs +6 -7
- package/esm2022/api/select/searcher/api-searcher.component.mjs +13 -15
- package/esm2022/api/select/searcher/api-searcher.module.mjs +6 -7
- package/esm2022/api/service/api-hybrid.service.mjs +6 -7
- package/esm2022/api/service/api-v3.service.mjs +6 -7
- package/esm2022/api/service/api-v4.service.mjs +6 -7
- package/esm2022/button/button.component.mjs +5 -6
- package/esm2022/callout/callout/callout.component.mjs +5 -6
- package/esm2022/callout/callout-disclosure/callout-disclosure.component.mjs +5 -6
- package/esm2022/callout/callout-feedback-item/callout-feedback-item.component.mjs +5 -6
- package/esm2022/callout/callout-feedback-list/callout-feedback-list.component.mjs +5 -6
- package/esm2022/callout/callout-popover/callout-popover.component.mjs +5 -6
- package/esm2022/core/date/native/native-date.adapter.mjs +7 -8
- package/esm2022/core/date/string/string-date.adapter.mjs +7 -8
- package/esm2022/core/portal/portal.directive.mjs +5 -6
- package/esm2022/core/tools/ng-clazz.directive.mjs +7 -7
- package/esm2022/core-select/displayer/displayer.directive.mjs +6 -7
- package/esm2022/core-select/input/select-input.component.mjs +5 -6
- package/esm2022/core-select/input/select-input.models.mjs +4 -4
- package/esm2022/core-select/option/default-option.component.mjs +5 -6
- package/esm2022/core-select/option/disabled.directive.mjs +5 -6
- package/esm2022/core-select/option/option-outlet.directive.mjs +5 -6
- package/esm2022/core-select/option/option.component.mjs +5 -6
- package/esm2022/core-select/option/option.directive.mjs +6 -7
- package/esm2022/date/adapter/date-adapter.module.mjs +6 -7
- package/esm2022/date/adapter/date-adapter.pipe.mjs +6 -7
- package/esm2022/date/calendar/calendar-input.component.mjs +7 -8
- package/esm2022/date/calendar/calendar-input.module.mjs +6 -7
- package/esm2022/date/calendar/calendar-item.factory.mjs +6 -7
- package/esm2022/date/date.module.mjs +6 -7
- package/esm2022/date/input/date-input.directive.mjs +6 -7
- package/esm2022/date/input/date-input.module.mjs +6 -7
- package/esm2022/date/picker/date-picker.component.mjs +6 -7
- package/esm2022/date/picker/date-picker.module.mjs +6 -7
- package/esm2022/date/select/date-select-input.component.mjs +6 -7
- package/esm2022/date/select/date-select-input.module.mjs +6 -7
- package/esm2022/department/department.module.mjs +6 -7
- package/esm2022/department/select/department-select.module.mjs +6 -7
- package/esm2022/department/select/feeder/department-feeder.component.mjs +7 -8
- package/esm2022/department/select/feeder/department-feeder.module.mjs +6 -7
- package/esm2022/department/select/input/department-select-input.component.mjs +6 -7
- package/esm2022/department/select/input/department-select-input.module.mjs +6 -7
- package/esm2022/department/service/department-v3.service.mjs +6 -7
- package/esm2022/dropdown/dropdown.module.mjs +6 -7
- package/esm2022/dropdown/item/dropdown-item.directive.mjs +6 -7
- package/esm2022/dropdown/item/dropdown-item.module.mjs +6 -7
- package/esm2022/dropdown/panel/dropdown-panel.component.mjs +6 -7
- package/esm2022/dropdown/panel/dropdown-panel.module.mjs +6 -7
- package/esm2022/dropdown/trigger/dropdown-trigger.directive.mjs +6 -7
- package/esm2022/dropdown/trigger/dropdown-trigger.module.mjs +6 -7
- package/esm2022/establishment/establishment.module.mjs +6 -7
- package/esm2022/establishment/select/establishment-select.module.mjs +6 -7
- package/esm2022/establishment/select/for-legal-units/for-legal-units.directive.mjs +6 -7
- package/esm2022/establishment/select/for-legal-units/for-legal-units.module.mjs +6 -7
- package/esm2022/establishment/select/input/establishment-select-input.component.mjs +7 -8
- package/esm2022/establishment/select/input/establishment-select-input.module.mjs +6 -7
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.directive.mjs +7 -8
- package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.module.mjs +6 -7
- package/esm2022/establishment/select/searcher/establishment-searcher.component.mjs +7 -8
- package/esm2022/establishment/select/searcher/establishment-searcher.module.mjs +6 -7
- package/esm2022/establishment/select/select-all/establishment-select-all.component.mjs +7 -8
- package/esm2022/establishment/select/select-all/establishment-select-all.module.mjs +6 -7
- package/esm2022/establishment/service/establishment.service.mjs +6 -7
- package/esm2022/establishment/service/legal-unit.service.mjs +6 -7
- package/esm2022/form-field/form-field.component.mjs +5 -6
- package/esm2022/form-field/input.directive.mjs +5 -6
- package/esm2022/formly/formly.module.mjs +6 -7
- package/esm2022/formly/types/api.mjs +6 -6
- package/esm2022/formly/types/checkbox.mjs +6 -6
- package/esm2022/formly/types/date.mjs +6 -6
- package/esm2022/formly/types/department.mjs +6 -6
- package/esm2022/formly/types/establishment.mjs +6 -6
- package/esm2022/formly/types/input.mjs +6 -6
- package/esm2022/formly/types/qualification.mjs +6 -6
- package/esm2022/formly/types/radios.mjs +6 -6
- package/esm2022/formly/types/select.mjs +6 -6
- package/esm2022/formly/types/textarea.mjs +6 -6
- package/esm2022/formly/types/user.mjs +6 -6
- package/esm2022/formly/wrappers/checkbox-layout.mjs +6 -6
- package/esm2022/formly/wrappers/error.mjs +11 -11
- package/esm2022/formly/wrappers/helper.mjs +6 -6
- package/esm2022/formly/wrappers/icon.mjs +6 -6
- package/esm2022/formly/wrappers/radiosfield-layout.mjs +6 -6
- package/esm2022/formly/wrappers/suffix.mjs +6 -6
- package/esm2022/formly/wrappers/textfield-layout.mjs +6 -6
- package/esm2022/forms/abstract-field-component.mjs +5 -6
- package/esm2022/forms/checkboxfield/checkboxfield.component.mjs +5 -6
- package/esm2022/forms/form-field-id.directive.mjs +6 -7
- package/esm2022/forms/noop-value-accessor.directive.mjs +5 -6
- package/esm2022/forms/switchfield/switchfield.component.mjs +5 -6
- package/esm2022/forms/textfield/textfield.component.mjs +5 -6
- package/esm2022/icon/icon.component.mjs +5 -6
- package/esm2022/inline-message/inline-message.component.mjs +5 -6
- package/esm2022/input/clearer/clearer.component.mjs +5 -6
- package/esm2022/input/clearer/clearer.module.mjs +6 -7
- package/esm2022/input/displayer/input-displayer.directive.mjs +6 -7
- package/esm2022/input/displayer/input-displayer.module.mjs +6 -7
- package/esm2022/input/input.directive.mjs +6 -7
- package/esm2022/input/input.module.mjs +6 -7
- package/esm2022/modal/modal-panel.component.mjs +17 -19
- package/esm2022/modal/modal-ref.factory.mjs +6 -7
- package/esm2022/modal/modal.module.mjs +6 -7
- package/esm2022/modal/modal.service.mjs +5 -6
- package/esm2022/multi-select/displayer/default-displayer.component.mjs +5 -6
- package/esm2022/multi-select/displayer/displayer.directive.mjs +6 -7
- package/esm2022/multi-select/input/panel-ref.factory.mjs +5 -6
- package/esm2022/multi-select/input/select-input.component.mjs +5 -6
- package/esm2022/multi-select/panel/option-selected.pipe.mjs +5 -6
- package/esm2022/multi-select/panel/panel.component.mjs +5 -6
- package/esm2022/multi-select/panel/selected-chip.directive.mjs +5 -6
- package/esm2022/new-badge/new-badge.component.mjs +5 -6
- package/esm2022/number/number.module.mjs +6 -7
- package/esm2022/number/number.pipe.mjs +7 -8
- package/esm2022/numeric-badge/numeric-badge.component.mjs +5 -6
- package/esm2022/option/item/option-item.component.mjs +6 -7
- package/esm2022/option/item/option-item.module.mjs +6 -7
- package/esm2022/option/item/tree-option-item.component.mjs +6 -7
- package/esm2022/option/item/tree-option-item.module.mjs +6 -7
- package/esm2022/option/operator/feeder/option-feeder.component.mjs +5 -6
- package/esm2022/option/operator/feeder/option-feeder.module.mjs +6 -7
- package/esm2022/option/operator/feeder/tree-option-feeder.component.mjs +5 -6
- package/esm2022/option/operator/feeder/tree-option-feeder.module.mjs +6 -7
- package/esm2022/option/operator/for-groups/for-groups.directive.mjs +6 -7
- package/esm2022/option/operator/for-groups/for-groups.module.mjs +6 -7
- package/esm2022/option/operator/for-options/for-options.directive.mjs +6 -7
- package/esm2022/option/operator/for-options/for-options.module.mjs +6 -7
- package/esm2022/option/operator/for-options/for-tree-options.directive.mjs +5 -6
- package/esm2022/option/operator/for-options/for-tree-options.module.mjs +6 -7
- package/esm2022/option/operator/option-operator.module.mjs +6 -7
- package/esm2022/option/operator/pager/option-pager.component.mjs +5 -6
- package/esm2022/option/operator/pager/option-pager.module.mjs +6 -7
- package/esm2022/option/operator/pager/tree-option-pager.component.mjs +5 -6
- package/esm2022/option/operator/pager/tree-option-pager.module.mjs +6 -7
- package/esm2022/option/operator/searcher/option-searcher.component.mjs +5 -6
- package/esm2022/option/operator/searcher/option-searcher.module.mjs +6 -7
- package/esm2022/option/operator/searcher/tree-option-searcher.component.mjs +5 -6
- package/esm2022/option/operator/searcher/tree-option-searcher.module.mjs +6 -7
- package/esm2022/option/operator/tree-option-operator.module.mjs +6 -7
- package/esm2022/option/option.module.mjs +6 -7
- package/esm2022/option/picker/option-picker-advanced.component.mjs +13 -15
- package/esm2022/option/picker/option-picker.component.mjs +13 -15
- package/esm2022/option/picker/option-picker.module.mjs +6 -7
- package/esm2022/option/picker/tree-option-picker-advanced.component.mjs +13 -15
- package/esm2022/option/picker/tree-option-picker.component.mjs +13 -15
- package/esm2022/option/picker/tree-option-picker.module.mjs +6 -7
- package/esm2022/option/placeholder/option-placeholder.component.mjs +5 -6
- package/esm2022/option/placeholder/option-placeholder.module.mjs +6 -7
- package/esm2022/option/selector/all/select-all.component.mjs +5 -6
- package/esm2022/option/selector/all/select-all.module.mjs +6 -7
- package/esm2022/option/selector/all/tree-select-all.component.mjs +5 -6
- package/esm2022/option/selector/all/tree-select-all.module.mjs +6 -7
- package/esm2022/option/selector/option-selector.module.mjs +6 -7
- package/esm2022/option/selector/tree-option-selector.module.mjs +6 -7
- package/esm2022/option/tree-option.module.mjs +6 -7
- package/esm2022/popover/panel/popover-panel.component.mjs +6 -7
- package/esm2022/popover/panel/popover-panel.module.mjs +6 -7
- package/esm2022/popover/popover.module.mjs +6 -7
- package/esm2022/popover/target/popover-target.directive.mjs +6 -7
- package/esm2022/popover/target/popover-target.module.mjs +6 -7
- package/esm2022/popover/trigger/popover-trigger.directive.mjs +6 -7
- package/esm2022/popover/trigger/popover-trigger.module.mjs +6 -7
- package/esm2022/popup/popup-ref.factory.mjs +6 -7
- package/esm2022/popup/popup.module.mjs +6 -7
- package/esm2022/popup/popup.service.mjs +5 -6
- package/esm2022/qualification/qualification.module.mjs +6 -7
- package/esm2022/qualification/select/input/qualification-select-input.component.mjs +6 -7
- package/esm2022/qualification/select/input/qualification-select-input.module.mjs +6 -7
- package/esm2022/qualification/select/qualification-select.module.mjs +6 -7
- package/esm2022/safe-content/safe-content.module.mjs +6 -7
- package/esm2022/safe-content/safe-html.pipe.mjs +6 -7
- package/esm2022/scroll/scroll.directive.mjs +6 -7
- package/esm2022/scroll/scroll.module.mjs +6 -7
- package/esm2022/select/input/select-input.component.mjs +11 -13
- package/esm2022/select/input/select-input.module.mjs +6 -7
- package/esm2022/select/select.module.mjs +6 -7
- package/esm2022/sidepanel/sidepanel.module.mjs +6 -7
- package/esm2022/sidepanel/sidepanel.service.mjs +5 -6
- package/esm2022/simple-select/api/api-v3.directive.mjs +5 -6
- package/esm2022/simple-select/api/api-v4.directive.mjs +5 -6
- package/esm2022/simple-select/api/api.directive.mjs +5 -6
- package/esm2022/simple-select/input/panel-ref.factory.mjs +5 -6
- package/esm2022/simple-select/input/select-input.component.mjs +5 -6
- package/esm2022/simple-select/panel/panel.component.mjs +5 -6
- package/esm2022/title/title.module.mjs +6 -7
- package/esm2022/title/title.service.mjs +7 -8
- package/esm2022/title/title.strategy.mjs +7 -8
- package/esm2022/toast/toasts.component.mjs +6 -7
- package/esm2022/toast/toasts.module.mjs +6 -7
- package/esm2022/toast/toasts.service.mjs +5 -6
- package/esm2022/tooltip/panel/tooltip-panel.component.mjs +6 -7
- package/esm2022/tooltip/panel/tooltip-panel.module.mjs +6 -7
- package/esm2022/tooltip/tooltip.module.mjs +6 -7
- package/esm2022/tooltip/trigger/tooltip-trigger.directive.mjs +6 -7
- package/esm2022/tooltip/trigger/tooltip-trigger.module.mjs +6 -7
- package/esm2022/user/display/user-display.module.mjs +6 -7
- package/esm2022/user/display/user-display.pipe.mjs +5 -6
- package/esm2022/user/picture/user-picture.component.mjs +6 -7
- package/esm2022/user/picture/user-picture.module.mjs +6 -7
- package/esm2022/user/select/homonyms/user-homonyms.component.mjs +7 -8
- package/esm2022/user/select/homonyms/user-homonyms.module.mjs +6 -7
- package/esm2022/user/select/homonyms/user-homonyms.service.mjs +6 -7
- package/esm2022/user/select/input/user-select-input.component.mjs +6 -7
- package/esm2022/user/select/input/user-select-input.module.mjs +6 -7
- package/esm2022/user/select/me/me-option.directive.mjs +7 -8
- package/esm2022/user/select/me/me-option.module.mjs +6 -7
- package/esm2022/user/select/searcher/user-searcher.component.mjs +7 -8
- package/esm2022/user/select/searcher/user-searcher.module.mjs +6 -7
- package/esm2022/user/select/user-select.module.mjs +6 -7
- package/esm2022/user/service/user-v3.service.mjs +6 -7
- package/esm2022/user/tile/user-tile.component.mjs +6 -7
- package/esm2022/user/tile/user-tile.module.mjs +6 -7
- package/esm2022/user/user.module.mjs +6 -7
- package/fesm2022/lucca-front-ng-a11y.mjs +5 -5
- package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-animations.mjs +1 -1
- package/fesm2022/lucca-front-ng-api.mjs +60 -60
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +3 -3
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +16 -16
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +28 -28
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core.mjs +19 -18
- package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +52 -50
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +29 -29
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dropdown.mjs +28 -28
- package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +61 -61
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +7 -7
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +80 -61
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +21 -20
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-icon.mjs +3 -3
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-input.mjs +23 -23
- package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +25 -24
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +24 -24
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-number.mjs +10 -10
- package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-numeric-badge.mjs +3 -3
- package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +175 -175
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +29 -29
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popup.mjs +11 -11
- package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-qualification.mjs +16 -16
- package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-safe-content.mjs +8 -8
- package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-scroll.mjs +8 -8
- package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-select.mjs +16 -16
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
- package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select-api.mjs +10 -10
- package/fesm2022/lucca-front-ng-simple-select-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +10 -10
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-title.mjs +15 -15
- package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +11 -11
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tooltip.mjs +21 -21
- package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +75 -75
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/package.json +31 -31
- package/schematics/lib/local-deps/package.json +0 -23
- /package/{dockerRegistry-42781e58-2adb-4149-b8aa-04ec1df56c6b.env → dockerRegistry-a64fee7f-1bfc-49ea-b07d-9ccbdbf6fd83.env} +0 -0
|
@@ -5,7 +5,8 @@ import * as i1 from "@angular/common";
|
|
|
5
5
|
import * as i2 from "@angular/forms";
|
|
6
6
|
import * as i3 from "@lucca-front/ng/input";
|
|
7
7
|
import * as i4 from "@ngx-formly/core";
|
|
8
|
-
|
|
8
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
9
|
+
export class LuFormlyFieldInput extends FieldType {
|
|
9
10
|
get type() {
|
|
10
11
|
return this.props.type || 'text';
|
|
11
12
|
}
|
|
@@ -15,12 +16,11 @@ class LuFormlyFieldInput extends FieldType {
|
|
|
15
16
|
blur() {
|
|
16
17
|
this.props['_isFocused'] = false;
|
|
17
18
|
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyFieldInput, selector: "lu-formly-field-input", usesInheritance: true, ngImport: i0, template: "<ng-template [ngIf]=\"type !== 'number'\" [ngIfElse]=\"numberInput\">\n\t<input\n\t\t[type]=\"type\"\n\t\tclass=\"textfield-input\"\n\t\t[name]=\"props['name']\"\n\t\t[formControl]=\"formControl\"\n\t\t[formlyAttributes]=\"field\"\n\t\tluInput\n\t\t(focus)=\"focus()\"\n\t\t(blur)=\"blur()\"\n\t\t[placeholder]=\"props.placeholder\"\n\t/>\n</ng-template>\n<!-- type=\"number\" has to be static in order to have NumberValueAccessor instead of DefaultValueAccessor -->\n<ng-template #numberInput>\n\t<input\n\t\ttype=\"number\"\n\t\tclass=\"textfield-input\"\n\t\t[name]=\"props['name']\"\n\t\t[formControl]=\"formControl\"\n\t\t[formlyAttributes]=\"field\"\n\t\tluInput\n\t\t(focus)=\"focus()\"\n\t\t(blur)=\"blur()\"\n\t\t[placeholder]=\"props.placeholder\"\n\t/>\n</ng-template>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", 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]" }, { kind: "directive", type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.LuInputDirective, selector: "[luInput]" }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
20
21
|
}
|
|
21
|
-
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyFieldInput, decorators: [{
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldInput, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'lu-formly-field-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template [ngIf]=\"type !== 'number'\" [ngIfElse]=\"numberInput\">\n\t<input\n\t\t[type]=\"type\"\n\t\tclass=\"textfield-input\"\n\t\t[name]=\"props['name']\"\n\t\t[formControl]=\"formControl\"\n\t\t[formlyAttributes]=\"field\"\n\t\tluInput\n\t\t(focus)=\"focus()\"\n\t\t(blur)=\"blur()\"\n\t\t[placeholder]=\"props.placeholder\"\n\t/>\n</ng-template>\n<!-- type=\"number\" has to be static in order to have NumberValueAccessor instead of DefaultValueAccessor -->\n<ng-template #numberInput>\n\t<input\n\t\ttype=\"number\"\n\t\tclass=\"textfield-input\"\n\t\t[name]=\"props['name']\"\n\t\t[formControl]=\"formControl\"\n\t\t[formlyAttributes]=\"field\"\n\t\tluInput\n\t\t(focus)=\"focus()\"\n\t\t(blur)=\"blur()\"\n\t\t[placeholder]=\"props.placeholder\"\n\t/>\n</ng-template>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n"] }]
|
|
25
25
|
}] });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9mb3JtbHkvdHlwZXMvaW5wdXQudHMiLCIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9mb3JtbHkvdHlwZXMvaW5wdXQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7Ozs7OztBQU85RCxrRUFBa0U7QUFDbEUsTUFBTSxPQUFPLGtCQUFtQixTQUFRLFNBQTBCO0lBQ2pFLElBQUksSUFBSTtRQUNQLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxJQUFJLElBQUksTUFBTSxDQUFDO0lBQ2xDLENBQUM7SUFDRCxLQUFLO1FBQ0osSUFBSSxD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G9sZGVyXT1cInByb3BzLnBsYWNlaG9sZGVyXCJcblx0Lz5cbjwvbmctdGVtcGxhdGU+XG48c3BhbiBjbGFzcz1cInRleHRmaWVsZC1sYWJlbFwiPnt7IHByb3BzLmxhYmVsIH19PC9zcGFuPlxuIl19
|
|
@@ -4,19 +4,19 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/forms";
|
|
5
5
|
import * as i2 from "@lucca-front/ng/qualification";
|
|
6
6
|
import * as i3 from "@ngx-formly/core";
|
|
7
|
-
|
|
7
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
8
|
+
export class LuFormlyFieldQualification extends FieldType {
|
|
8
9
|
focus() {
|
|
9
10
|
this.props['_isFocused'] = true;
|
|
10
11
|
}
|
|
11
12
|
blur() {
|
|
12
13
|
this.props['_isFocused'] = false;
|
|
13
14
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldQualification, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyFieldQualification, selector: "lu-formly-field-qualification", usesInheritance: true, ngImport: i0, template: "<lu-qualification-select\n\tclass=\"textfield-input\"\n\t[formControl]=\"formControl\"\n\t[formlyAttributes]=\"field\"\n\t[multiple]=\"props['multiple']\"\n\t(focus)=\"focus()\"\n\t(blur)=\"blur()\"\n\t[placeholder]=\"props.placeholder\"\n\t[filters]=\"props['filters']\"\n>\n</lu-qualification-select>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.LuQualificationSelectInputComponent, selector: "lu-qualification-select", inputs: ["filters"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16
17
|
}
|
|
17
|
-
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyFieldQualification, decorators: [{
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldQualification, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'lu-formly-field-qualification', changeDetection: ChangeDetectionStrategy.OnPush, template: "<lu-qualification-select\n\tclass=\"textfield-input\"\n\t[formControl]=\"formControl\"\n\t[formlyAttributes]=\"field\"\n\t[multiple]=\"props['multiple']\"\n\t(focus)=\"focus()\"\n\t(blur)=\"blur()\"\n\t[placeholder]=\"props.placeholder\"\n\t[filters]=\"props['filters']\"\n>\n</lu-qualification-select>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"] }]
|
|
21
21
|
}] });
|
|
22
|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zcz1cInRleHRmaWVsZC1sYWJlbFwiPnt7IHByb3BzLmxhYmVsIH19PC9zcGFuPlxuIl19
|
|
@@ -4,7 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "@angular/forms";
|
|
6
6
|
import * as i3 from "@ngx-formly/core";
|
|
7
|
-
|
|
7
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
8
|
+
export class LuFormlyFieldRadios extends FieldType {
|
|
8
9
|
get _options() {
|
|
9
10
|
return (this.props.options || []);
|
|
10
11
|
}
|
|
@@ -14,12 +15,11 @@ class LuFormlyFieldRadios extends FieldType {
|
|
|
14
15
|
blur() {
|
|
15
16
|
this.props['_isFocused'] = false;
|
|
16
17
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldRadios, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyFieldRadios, selector: "lu-formly-field-radios", usesInheritance: true, ngImport: i0, template: "<legend class=\"radiosfield-label\">{{props.label}}</legend>\n<div class=\"radiosfield-input\">\n\t<label *ngFor=\"let option of _options, let i = index\" class=\"radio\">\n\t\t<input\n\t\t\tclass=\"radio-input\"\n\t\t\ttype=\"radio\"\n\t\t\t[name]=\"props['name']\"\n\t\t\t[value]=\"option.value\"\n\t\t\t[id]=\"id + '_'+ i\"\n\t\t\t[formControl]=\"formControl\"\n\t\t\t[formlyAttributes]=\"field\"\n\t\t/>\n\t\t<span class=\"radio-label\">{{option.label}}</span>\n\t</label>\n</div>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", 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]" }, { kind: "directive", type: i2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyFieldRadios, decorators: [{
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldRadios, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: 'lu-formly-field-radios', changeDetection: ChangeDetectionStrategy.OnPush, template: "<legend class=\"radiosfield-label\">{{props.label}}</legend>\n<div class=\"radiosfield-input\">\n\t<label *ngFor=\"let option of _options, let i = index\" class=\"radio\">\n\t\t<input\n\t\t\tclass=\"radio-input\"\n\t\t\ttype=\"radio\"\n\t\t\t[name]=\"props['name']\"\n\t\t\t[value]=\"option.value\"\n\t\t\t[id]=\"id + '_'+ i\"\n\t\t\t[formControl]=\"formControl\"\n\t\t\t[formlyAttributes]=\"field\"\n\t\t/>\n\t\t<span class=\"radio-label\">{{option.label}}</span>\n\t</label>\n</div>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n"] }]
|
|
24
24
|
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW9zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbmcvZm9ybWx5L3R5cGVzL3JhZGlvcy50cyIsIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL2Zvcm1seS90eXBlcy9yYWRpb3MuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7Ozs7O0FBUTlELGtFQUFrRTtBQUNsRSxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsU0FBMEI7SUFDbEUsSUFBSSxRQUFRO1FBQ1gsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxJQUFJLEVBQUUsQ0FBeUMsQ0FBQztJQUMzRSxDQUFDO0lBQ0QsS0FBSztRQUNKLElBQUksQ0FBQyxLQUFLLENBQUMsWUFBWSxDQUFDLEdBQUcsSUFBSSxDQUFDO0lBQ2pDLENBQUM7SUFDRCxJQUFJO1FBQ0gsSUFBSSxDQUFDLEtBQUssQ0FBQyxZQUFZLENBQUMsR0FBRyxLQUFLLENBQUM7SUFDbEMsQ0FBQzs4R0FUVyxtQkFBbUI7a0dBQW5CLG1CQUFtQixxRkNWaEMsd2VBZUE7OzJGRExhLG1CQUFtQjtrQkFQL0IsU0FBUzsrQkFDQyx3QkFBd0IsbUJBR2pCLHVCQUF1Qix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ZpZWxkLWlucHV0XCI+XG5cdDxsYWJlbCAqbmdGb3I9XCJsZXQgb3B0aW9uIG9mIF9vcHRpb25zLCBsZXQgaSA9IGluZGV4XCIgY2xhc3M9XCJyYWRpb1wiPlxuXHRcdDxpbnB1dFxuXHRcdFx0Y2xhc3M9XCJyYWRpby1pbnB1dFwiXG5cdFx0XHR0eXBlPVwicmFkaW9cIlxuXHRcdFx0W25hbWVdPVwicHJvcHNbJ25hbWUnXVwiXG5cdFx0XHRbdmFsdWVdPVwib3B0aW9uLnZhbHVlXCJcblx0XHRcdFtpZF09XCJpZCArICdfJysgaVwiXG5cdFx0XHRbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuXHRcdFx0W2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuXHRcdC8+XG5cdFx0PHNwYW4gY2xhc3M9XCJyYWRpby1sYWJlbFwiPnt7b3B0aW9uLmxhYmVsfX08L3NwYW4+XG5cdDwvbGFiZWw+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -7,7 +7,8 @@ import * as i3 from "@lucca-front/ng/select";
|
|
|
7
7
|
import * as i4 from "@lucca-front/ng/option";
|
|
8
8
|
import * as i5 from "@lucca-front/ng/input";
|
|
9
9
|
import * as i6 from "@ngx-formly/core";
|
|
10
|
-
|
|
10
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
11
|
+
export class LuFormlyFieldSelect extends FieldType {
|
|
11
12
|
get _options() {
|
|
12
13
|
return (this.props.options || []);
|
|
13
14
|
}
|
|
@@ -17,12 +18,11 @@ class LuFormlyFieldSelect extends FieldType {
|
|
|
17
18
|
blur() {
|
|
18
19
|
this.props['_isFocused'] = false;
|
|
19
20
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyFieldSelect, selector: "lu-formly-field-select", usesInheritance: true, ngImport: i0, template: "<lu-select\n\tclass=\"textfield-input\"\n\t[formControl]=\"formControl\"\n\t[formlyAttributes]=\"field\"\n\t(focus)=\"focus()\"\n\t(blur)=\"blur()\"\n\t[multiple]=\"props['multiple']\"\n\t[placeholder]=\"props.placeholder\"\n>\n\t<ng-container *luDisplayer=\"let option\">\n\t\t<span [class.chip]=\"props['multiple']\" [class.mod-unkillable]=\"props['multiple']\">{{ option.name }}</span>\n\t</ng-container>\n\t<lu-option-picker>\n\t\t<lu-option *ngFor=\"let option of _options\" [value]=\"option\"> {{ option.name }} </lu-option>\n\t</lu-option-picker>\n\t<lu-input-clearer *ngIf=\"!props.required && !props['multiple']\"></lu-input-clearer>\n</lu-select>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.LuSelectInputComponent, selector: "lu-select" }, { kind: "component", type: i4.LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }, { kind: "component", type: i4.LuOptionPickerComponent, selector: "lu-option-picker", exportAs: ["LuOptionPicker"] }, { kind: "directive", type: i5.LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }, { kind: "component", type: i5.LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { kind: "directive", type: i6.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyFieldSelect, decorators: [{
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldSelect, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
26
|
args: [{ selector: 'lu-formly-field-select', changeDetection: ChangeDetectionStrategy.OnPush, template: "<lu-select\n\tclass=\"textfield-input\"\n\t[formControl]=\"formControl\"\n\t[formlyAttributes]=\"field\"\n\t(focus)=\"focus()\"\n\t(blur)=\"blur()\"\n\t[multiple]=\"props['multiple']\"\n\t[placeholder]=\"props.placeholder\"\n>\n\t<ng-container *luDisplayer=\"let option\">\n\t\t<span [class.chip]=\"props['multiple']\" [class.mod-unkillable]=\"props['multiple']\">{{ option.name }}</span>\n\t</ng-container>\n\t<lu-option-picker>\n\t\t<lu-option *ngFor=\"let option of _options\" [value]=\"option\"> {{ option.name }} </lu-option>\n\t</lu-option-picker>\n\t<lu-input-clearer *ngIf=\"!props.required && !props['multiple']\"></lu-input-clearer>\n</lu-select>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"] }]
|
|
27
27
|
}] });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbmcvZm9ybWx5L3R5cGVzL3NlbGVjdC50cyIsIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL2Zvcm1seS90eXBlcy9zZWxlY3QuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7Ozs7Ozs7O0FBUTlELGtFQUFrRTtBQUNsRSxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsU0FBMEI7SUFDbEUsSUFBSSxRQUFRO1FBQ1gsT0FBTyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxJQUFJLEVBQUUsQ0FBdUQsQ0FBQztJQUN6RixDQUFDO0lBQ0QsS0FBSztRQUNKLElBQUksQ0FBQyxLQUFLLENBQUMsWUFBWSxDQUFDLEdBQUcsSUFBSSxDQUFDO0lBQ2pDLENBQUM7SUFDRCxJQUFJO1FBQ0gsSUFBSSxDQUFDLEtBQUssQ0FBQyxZQUFZLENBQUMsR0FBRyxLQUFLLENBQUM7SUFDbEMsQ0FBQzs4R0FUVyxtQkFBbUI7a0dBQW5CLG1CQUFtQixxRkNWaEMsOHNCQWtCQTs7MkZEUmEsbUJBQW1CO2tCQV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LWlucHV0XCJcblx0W2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcblx0W2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuXHQoZm9jdXMpPVwiZm9jdXMoKVwiXG5cdChibHVyKT1cImJsdXIoKVwiXG5cdFttdWx0aXBsZV09XCJwcm9wc1snbXVsdGlwbGUnXVwiXG5cdFtwbGFjZWhvbGRlcl09XCJwcm9wcy5wbGFjZWhvbGRlclwiXG4+XG5cdDxuZy1jb250YWluZXIgKmx1RGlzcGxheWVyPVwibGV0IG9wdGlvblwiPlxuXHRcdDxzcGFuIFtjbGFzcy5jaGlwXT1cInByb3BzWydtdWx0aXBsZSddXCIgW2NsYXNzLm1vZC11bmtpbGxhYmxlXT1cInByb3BzWydtdWx0aXBsZSddXCI+e3sgb3B0aW9uLm5hbWUgfX08L3NwYW4+XG5cdDwvbmctY29udGFpbmVyPlxuXHQ8bHUtb3B0aW9uLXBpY2tlcj5cblx0XHQ8bHUtb3B0aW9uICpuZ0Zvcj1cImxldCBvcHRpb24gb2YgX29wdGlvbnNcIiBbdmFsdWVdPVwib3B0aW9uXCI+IHt7IG9wdGlvbi5uYW1lIH19IDwvbHUtb3B0aW9uPlxuXHQ8L2x1LW9wdGlvbi1waWNrZXI+XG5cdDxsdS1pbnB1dC1jbGVhcmVyICpuZ0lmPVwiIXByb3BzLnJlcXVpcmVkICYmICFwcm9wc1snbXVsdGlwbGUnXVwiPjwvbHUtaW5wdXQtY2xlYXJlcj5cbjwvbHUtc2VsZWN0PlxuPHNwYW4gY2xhc3M9XCJ0ZXh0ZmllbGQtbGFiZWxcIj57eyBwcm9wcy5sYWJlbCB9fTwvc3Bhbj5cbiJdfQ==
|
|
@@ -4,19 +4,19 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/forms";
|
|
5
5
|
import * as i2 from "@lucca-front/ng/input";
|
|
6
6
|
import * as i3 from "@ngx-formly/core";
|
|
7
|
-
|
|
7
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
8
|
+
export class LuFormlyFieldTextarea extends FieldType {
|
|
8
9
|
focus() {
|
|
9
10
|
this.props['_isFocused'] = true;
|
|
10
11
|
}
|
|
11
12
|
blur() {
|
|
12
13
|
this.props['_isFocused'] = false;
|
|
13
14
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyFieldTextarea, selector: "lu-formly-field-input", usesInheritance: true, ngImport: i0, template: "<textarea\n\tclass=\"textfield-input\"\n\t[name]=\"props['name']\"\n\t[formControl]=\"formControl\"\n\t[formlyAttributes]=\"field\"\n\tluInput\n\t(focus)=\"focus()\"\n\t(blur)=\"blur()\"\n\t[placeholder]=\"props.placeholder\"\n></textarea>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n"], dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.LuInputDirective, selector: "[luInput]" }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16
17
|
}
|
|
17
|
-
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyFieldTextarea, decorators: [{
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldTextarea, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'lu-formly-field-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<textarea\n\tclass=\"textfield-input\"\n\t[name]=\"props['name']\"\n\t[formControl]=\"formControl\"\n\t[formlyAttributes]=\"field\"\n\tluInput\n\t(focus)=\"focus()\"\n\t(blur)=\"blur()\"\n\t[placeholder]=\"props.placeholder\"\n></textarea>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n"] }]
|
|
21
21
|
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9mb3JtbHkvdHlwZXMvdGV4dGFyZWEudHMiLCIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9mb3JtbHkvdHlwZXMvdGV4dGFyZWEuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7Ozs7O0FBUTlELGtFQUFrRTtBQUNsRSxNQUFNLE9BQU8scUJ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nVlO1xuXHR9XG5cdGJsdXIoKSB7XG5cdFx0dGhpcy5wcm9wc1snX2lzRm9jdXNlZCddID0gZmFsc2U7XG5cdH1cbn1cbiIsIjx0ZXh0YXJlYVxuXHRjbGFzcz1cInRleHRmaWVsZC1pbnB1dFwiXG5cdFtuYW1lXT1cInByb3BzWyduYW1lJ11cIlxuXHRbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuXHRbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG5cdGx1SW5wdXRcblx0KGZvY3VzKT1cImZvY3VzKClcIlxuXHQoYmx1cik9XCJibHVyKClcIlxuXHRbcGxhY2Vob2xkZXJdPVwicHJvcHMucGxhY2Vob2xkZXJcIlxuPjwvdGV4dGFyZWE+XG48c3BhbiBjbGFzcz1cInRleHRmaWVsZC1sYWJlbFwiPnt7IHByb3BzLmxhYmVsIH19PC9zcGFuPlxuIl19
|
|
@@ -4,19 +4,19 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/forms";
|
|
5
5
|
import * as i2 from "@lucca-front/ng/user";
|
|
6
6
|
import * as i3 from "@ngx-formly/core";
|
|
7
|
-
|
|
7
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
8
|
+
export class LuFormlyFieldUser extends FieldType {
|
|
8
9
|
focus() {
|
|
9
10
|
this.props['_isFocused'] = true;
|
|
10
11
|
}
|
|
11
12
|
blur() {
|
|
12
13
|
this.props['_isFocused'] = false;
|
|
13
14
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldUser, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyFieldUser, selector: "lu-formly-field-user", usesInheritance: true, ngImport: i0, template: "<lu-user-select\n\tclass=\"textfield-input\"\n\t[formControl]=\"formControl\"\n\t[formlyAttributes]=\"field\"\n\t[multiple]=\"props['multiple']\"\n\t(focus)=\"focus()\"\n\t(blur)=\"blur()\"\n\t[placeholder]=\"props.placeholder\"\n>\n</lu-user-select>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.LuUserSelectInputComponent, selector: "lu-user-select", inputs: ["placeholder", "fields", "filters", "orderBy", "appInstanceId", "operations", "enableFormerEmployees"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16
17
|
}
|
|
17
|
-
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyFieldUser, decorators: [{
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyFieldUser, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'lu-formly-field-user', changeDetection: ChangeDetectionStrategy.OnPush, template: "<lu-user-select\n\tclass=\"textfield-input\"\n\t[formControl]=\"formControl\"\n\t[formlyAttributes]=\"field\"\n\t[multiple]=\"props['multiple']\"\n\t(focus)=\"focus()\"\n\t(blur)=\"blur()\"\n\t[placeholder]=\"props.placeholder\"\n>\n</lu-user-select>\n<span class=\"textfield-label\">{{ props.label }}</span>\n", styles: [":host{width:100%;display:inherit;align-items:inherit;flex-direction:inherit}\n", ":host-context(.mod-framed) lu-select{display:block}:host-context(.mod-framed) lu-api-select{display:block}:host-context(.mod-framed) lu-user-select{display:block}:host-context(.mod-framed) lu-date-select{display:block}:host-context(.mod-framed) lu-department-select{display:block}\n"] }]
|
|
21
21
|
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL2Zvcm1seS90eXBlcy91c2VyLnRzIiwiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbmcvZm9ybWx5L3R5cGVzL3VzZXIuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7Ozs7O0FBUTlELGtFQUFrRTtBQUNsRSxNQUFNLE9BQU8saUJBQWtCLFNBQVEsU0FBMEI7SUFDaEUsS0FBSztRQUNKLElBQUksQ0FBQyxLQUFLLENBQUMsWUFBWSxDQUFDLEdBQUcsSUFBSSxDQUFDO0lBQ2pDLENBQUM7SUFDRCxJQUFJO1FBQ0gsSUFBSSxDQUFDLEtBQUssQ0FBQyxZQUFZLENBQUMsR0FBRyxLQUFLLENBQUM7SUFDbEMsQ0FBQzs4R0FOVyxpQkFBaUI7a0dBQWpCLGlCQUFpQixtRk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211bHRpcGxlJ11cIlxuXHQoZm9jdXMpPVwiZm9jdXMoKVwiXG5cdChibHVyKT1cImJsdXIoKVwiXG5cdFtwbGFjZWhvbGRlcl09XCJwcm9wcy5wbGFjZWhvbGRlclwiXG4+XG48L2x1LXVzZXItc2VsZWN0PlxuPHNwYW4gY2xhc3M9XCJ0ZXh0ZmllbGQtbGFiZWxcIj57eyBwcm9wcy5sYWJlbCB9fTwvc3Bhbj5cbiJdfQ==
|
|
@@ -3,7 +3,8 @@ import { FieldWrapper } from '@ngx-formly/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
// wrapper component
|
|
6
|
-
|
|
6
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
7
|
+
export class LuFormlyWrapperCheckboxLayout extends FieldWrapper {
|
|
7
8
|
get mod() {
|
|
8
9
|
return (this.props['mod'] || '');
|
|
9
10
|
}
|
|
@@ -16,15 +17,14 @@ class LuFormlyWrapperCheckboxLayout extends FieldWrapper {
|
|
|
16
17
|
get isError() {
|
|
17
18
|
return this.formControl.invalid && this.formControl.touched ? 'is-error' : '';
|
|
18
19
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperCheckboxLayout, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyWrapperCheckboxLayout, selector: "lu-formly-wrapper-checkbox-layout", viewQueries: [{ propertyName: "fieldComponent", first: true, predicate: ["fieldComponent"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"fieldsetWrapper\">\n\t<fieldset class=\"checkboxesfield\" [ngClass]=\"[mod, isRequired, isFocused, isError]\">\n\t\t<ng-container #fieldComponent></ng-container>\n\t</fieldset>\n</div>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
21
22
|
}
|
|
22
|
-
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyWrapperCheckboxLayout, decorators: [{
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperCheckboxLayout, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: 'lu-formly-wrapper-checkbox-layout', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"fieldsetWrapper\">\n\t<fieldset class=\"checkboxesfield\" [ngClass]=\"[mod, isRequired, isFocused, isError]\">\n\t\t<ng-container #fieldComponent></ng-container>\n\t</fieldset>\n</div>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n"] }]
|
|
26
26
|
}], propDecorators: { fieldComponent: [{
|
|
27
27
|
type: ViewChild,
|
|
28
28
|
args: ['fieldComponent', { read: ViewContainerRef, static: true }]
|
|
29
29
|
}] } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtbGF5b3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbmcvZm9ybWx5L3dyYXBwZXJzL2NoZWNrYm94LWxheW91dC50cyIsIi4uLy4uLy4uLy4uLy4uL3BhY2th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Q6IFZpZXdDb250YWluZXJSZWY7XG5cblx0Z2V0IG1vZCgpIHtcblx0XHRyZXR1cm4gKHRoaXMucHJvcHNbJ21vZCddIHx8ICcnKSBhcyBzdHJpbmc7XG5cdH1cblxuXHRnZXQgaXNSZXF1aXJlZCgpIHtcblx0XHRyZXR1cm4gISF0aGlzLnByb3BzICYmICEhdGhpcy5wcm9wcy5yZXF1aXJlZCA/ICdpcy1yZXF1aXJlZCcgOiAnJztcblx0fVxuXG5cdGdldCBpc0ZvY3VzZWQoKSB7XG5cdFx0cmV0dXJuICEhdGhpcy5wcm9wcyAmJiB0aGlzLnByb3BzWydfaXNGb2N1c2VkJ10gPyAnaXMtZm9jdXNlZCcgOiAnJztcblx0fVxuXG5cdGdldCBpc0Vycm9yKCkge1xuXHRcdHJldHVybiB0aGlzLmZvcm1Db250cm9sLmludmFsaWQgJiYgdGhpcy5mb3JtQ29udHJvbC50b3VjaGVkID8gJ2lzLWVycm9yJyA6ICcnO1xuXHR9XG59XG4iLCI8ZGl2IGNsYXNzPVwiZmllbGRzZXRXcmFwcGVyXCI+XG5cdDxmaWVsZHNldCBjbGFzcz1cImNoZWNrYm94ZXNmaWVsZFwiIFtuZ0NsYXNzXT1cIlttb2QsIGlzUmVxdWlyZWQsIGlzRm9jdXNlZCwgaXNFcnJvcl1cIj5cblx0XHQ8bmctY29udGFpbmVyICNmaWVsZENvbXBvbmVudD48L25nLWNvbnRhaW5lcj5cblx0PC9maWVsZHNldD5cbjwvZGl2PlxuIl19
|
|
@@ -5,15 +5,15 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
import * as i2 from "@angular/forms";
|
|
7
7
|
// wrapper
|
|
8
|
-
|
|
8
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
9
|
+
export class LuFormlyWrapperError extends FieldWrapper {
|
|
9
10
|
get validationId() {
|
|
10
11
|
return this.field.id + '-message';
|
|
11
12
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperError, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyWrapperError, selector: "lu-formly-wrapper-error", viewQueries: [{ propertyName: "fieldComponent", first: true, predicate: ["fieldComponent"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container #fieldComponent></ng-container>\n<div class=\"textfield-messages\" *ngIf=\"formControl.touched && formControl.invalid\" [id]=\"validationId\">\n\t<lu-formly-error-message [formControl]=\"formControl\" [field]=\"field\"></lu-formly-error-message>\n</div>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgControlStatus), selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i0.forwardRef(() => i2.FormControlDirective), selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i0.forwardRef(() => LuFormlyErrorMessage), selector: "lu-formly-error-message", inputs: ["formControl", "field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyWrapperError, decorators: [{
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperError, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: 'lu-formly-wrapper-error', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container #fieldComponent></ng-container>\n<div class=\"textfield-messages\" *ngIf=\"formControl.touched && formControl.invalid\" [id]=\"validationId\">\n\t<lu-formly-error-message [formControl]=\"formControl\" [field]=\"field\"></lu-formly-error-message>\n</div>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n"] }]
|
|
19
19
|
}], propDecorators: { fieldComponent: [{
|
|
@@ -21,7 +21,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
21
21
|
args: ['fieldComponent', { read: ViewContainerRef, static: true }]
|
|
22
22
|
}] } });
|
|
23
23
|
// component that display the right error message
|
|
24
|
-
|
|
24
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
25
|
+
export class LuFormlyErrorMessage {
|
|
25
26
|
get errorMessages() {
|
|
26
27
|
const messages = [];
|
|
27
28
|
if (this.formControl?.errors) {
|
|
@@ -33,13 +34,12 @@ class LuFormlyErrorMessage {
|
|
|
33
34
|
}
|
|
34
35
|
return messages;
|
|
35
36
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyErrorMessage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyErrorMessage, selector: "lu-formly-error-message", inputs: { formControl: "formControl", field: "field" }, ngImport: i0, template: `<div class="textfield-messages-error" *ngFor="let message of errorMessages">
|
|
38
39
|
{{ message }}
|
|
39
40
|
</div>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyErrorMessage, decorators: [{
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyErrorMessage, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{
|
|
45
45
|
selector: 'lu-formly-error-message',
|
|
@@ -54,4 +54,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
54
54
|
type: Input
|
|
55
55
|
}] } });
|
|
56
56
|
export const templateErrorExtension = buildAddWrapperExtension('error', (field) => !!field.validation);
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9mb3JtbHkvd3JhcHBlcnMvZXJyb3IudHMiLCIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy9mb3JtbHkvd3JhcHBlcnMvZXJyb3IuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdkcsT0FBTyxFQUFtQixZQUFZLEVBQXFCLE1BQU0sa0JBQWtCLENBQUM7QUFDcEYsT0FBTy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XCIgW2ZpZWxkXT1cImZpZWxkXCI+PC9sdS1mb3JtbHktZXJyb3ItbWVzc2FnZT5cbjwvZGl2PlxuIl19
|
|
@@ -3,12 +3,12 @@ import { FieldWrapper } from '@ngx-formly/core';
|
|
|
3
3
|
import { buildAddWrapperExtension } from '../formly.utils';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
// wrapper component
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
static { this.ɵ
|
|
6
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
7
|
+
export class LuFormlyWrapperHelper extends FieldWrapper {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperHelper, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyWrapperHelper, selector: "lu-formly-wrapper-helper", viewQueries: [{ propertyName: "fieldComponent", first: true, predicate: ["fieldComponent"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container #fieldComponent></ng-container>\n<div class=\"textfield-messages mod-helper\">\n\t<div class=\"textfield-messages-helper\">{{ props['helper'] }}</div>\n</div>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyWrapperHelper, decorators: [{
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperHelper, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'lu-formly-wrapper-helper', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container #fieldComponent></ng-container>\n<div class=\"textfield-messages mod-helper\">\n\t<div class=\"textfield-messages-helper\">{{ props['helper'] }}</div>\n</div>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n"] }]
|
|
14
14
|
}], propDecorators: { fieldComponent: [{
|
|
@@ -16,4 +16,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
16
16
|
args: ['fieldComponent', { read: ViewContainerRef, static: true }]
|
|
17
17
|
}] } });
|
|
18
18
|
export const templateHelperExtension = buildAddWrapperExtension('helper', (field) => !!field?.props?.['helper']);
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbmcvZm9ybWx5L3dyYXBwZXJzL2hlbHBlci50cyIsIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL2Zvcm1seS93cmFwcGVycy9oZWxwZXIuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNoRyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDaEQsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0saUJBQWlCLENBQUM7O0FBRTNELG9CQUFvQjtBQU9wQixrRUFBa0U7QUFDbEUsTUFBTSxPQUFPLHFCQUFzQixTQUFRLFlBQVk7OEdBQTFDLHFCQUFxQjtrR0FBckIscUJBQXFCLDZKQUNJLGdCQUFnQixrRUNidEQsZ0xBSUE7OzJGRFFhLHFCQUFxQjtrQkFQakM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ckhlbHBlciBleHRlbmRzIEZpZWxkV3JhcHBlciB7XG5cdEBWaWV3Q2hpbGQoJ2ZpZWxkQ29tcG9uZW50JywgeyByZWFkOiBWaWV3Q29udGFpbmVyUmVmLCBzdGF0aWM6IHRydWUgfSlcblx0b3ZlcnJpZGUgZmllbGRDb21wb25lbnQ6IFZpZXdDb250YWluZXJSZWY7XG59XG5cbmV4cG9ydCBjb25zdCB0ZW1wbGF0ZUhlbHBlckV4dGVuc2lvbiA9IGJ1aWxkQWRkV3JhcHBlckV4dGVuc2lvbignaGVscGVyJywgKGZpZWxkKSA9PiAhIWZpZWxkPy5wcm9wcz8uWydoZWxwZXInXSk7XG4iLCI8bmctY29udGFpbmVyICNmaWVsZENvbXBvbmVudD48L25nLWNvbnRhaW5lcj5cbjxkaXYgY2xhc3M9XCJ0ZXh0ZmllbGQtbWVzc2FnZXMgbW9kLWhlbHBlclwiPlxuXHQ8ZGl2IGNsYXNzPVwidGV4dGZpZWxkLW1lc3NhZ2VzLWhlbHBlclwiPnt7IHByb3BzWydoZWxwZXInXSB9fTwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -3,12 +3,12 @@ import { FieldWrapper } from '@ngx-formly/core';
|
|
|
3
3
|
import { buildAddWrapperExtension } from '../formly.utils';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
// wrapper component
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
static { this.ɵ
|
|
6
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
7
|
+
export class LuFormlyWrapperIcon extends FieldWrapper {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperIcon, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyWrapperIcon, selector: "lu-formly-wrapper-suffix", viewQueries: [{ propertyName: "fieldComponent", first: true, predicate: ["fieldComponent"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container #fieldComponent></ng-container>\n<span aria-hidden=\"true\" class=\"textfield-suffix mod-icon lucca-icon\">{{ props['icon'] }}</span>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n", ":host .textfield-suffix{pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyWrapperIcon, decorators: [{
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperIcon, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
13
|
args: [{ selector: 'lu-formly-wrapper-suffix', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container #fieldComponent></ng-container>\n<span aria-hidden=\"true\" class=\"textfield-suffix mod-icon lucca-icon\">{{ props['icon'] }}</span>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n", ":host .textfield-suffix{pointer-events:none}\n"] }]
|
|
14
14
|
}], propDecorators: { fieldComponent: [{
|
|
@@ -16,4 +16,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
|
|
|
16
16
|
args: ['fieldComponent', { read: ViewContainerRef, static: true }]
|
|
17
17
|
}] } });
|
|
18
18
|
export const templateIconExtension = buildAddWrapperExtension('icon', (field) => !!field?.props?.['icon']);
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2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IG1vZC1pY29uIGx1Y2NhLWljb25cIj57eyBwcm9wc1snaWNvbiddIH19PC9zcGFuPlxuIl19
|
|
@@ -3,7 +3,8 @@ import { FieldWrapper } from '@ngx-formly/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
// wrapper component
|
|
6
|
-
|
|
6
|
+
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
7
|
+
export class LuFormlyWrapperRadiosfieldLayout extends FieldWrapper {
|
|
7
8
|
get mod() {
|
|
8
9
|
return (this.props['mod'] || '');
|
|
9
10
|
}
|
|
@@ -16,15 +17,14 @@ class LuFormlyWrapperRadiosfieldLayout extends FieldWrapper {
|
|
|
16
17
|
get isError() {
|
|
17
18
|
return this.formControl.invalid && this.formControl.touched ? 'is-error' : '';
|
|
18
19
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperRadiosfieldLayout, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: LuFormlyWrapperRadiosfieldLayout, selector: "lu-formly-wrapper-radiosfield-layout", viewQueries: [{ propertyName: "fieldComponent", first: true, predicate: ["fieldComponent"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"fieldsetWrapper\">\n\t<fieldset class=\"radiosfield\" [ngClass]=\"[mod, isRequired, isFocused, isError]\">\n\t\t<ng-container #fieldComponent></ng-container>\n\t</fieldset>\n</div>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
21
22
|
}
|
|
22
|
-
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuFormlyWrapperRadiosfieldLayout, decorators: [{
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: LuFormlyWrapperRadiosfieldLayout, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: 'lu-formly-wrapper-radiosfield-layout', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"fieldsetWrapper\">\n\t<fieldset class=\"radiosfield\" [ngClass]=\"[mod, isRequired, isFocused, isError]\">\n\t\t<ng-container #fieldComponent></ng-container>\n\t</fieldset>\n</div>\n", styles: [":host{display:inherit;flex-direction:inherit;flex:1 1 auto;width:100%}\n"] }]
|
|
26
26
|
}], propDecorators: { fieldComponent: [{
|
|
27
27
|
type: ViewChild,
|
|
28
28
|
args: ['fieldComponent', { read: ViewContainerRef, static: true }]
|
|
29
29
|
}] } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW9zZmllbGQtbGF5b3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvbmcvZm9ybWx5L3dyYXBwZXJzL3JhZGlvc2ZpZWxkLWxheW91dC50cyIsIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nL2Zvcm1seS93cmFwcGVycy9yYWRpb3NmaWVsZC1sYXlvdXQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFB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