@taiga-ui/core 3.18.0 → 3.19.0-dev.main-9e6bc23
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/abstract/abstract-driver.directive.d.ts +9 -2
- package/abstract/driver.d.ts +1 -0
- package/abstract/position-accessor.d.ts +3 -1
- package/abstract/rect-accessor.d.ts +4 -1
- package/abstract/vehicle.d.ts +1 -0
- package/bundles/taiga-ui-core-abstract.umd.js +59 -29
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +14 -23
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +11 -20
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +11 -20
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +20 -29
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +20 -29
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +11 -20
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +14 -23
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +14 -23
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +7 -7
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +14 -23
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +11 -20
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +12 -21
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +11 -20
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +11 -20
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +11 -20
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +11 -20
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +11 -20
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +28 -34
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +11 -20
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +11 -20
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +17 -26
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +17 -26
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +11 -20
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +11 -20
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +11 -20
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +186 -147
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +258 -212
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +7 -7
- package/bundles/taiga-ui-core-directives-mode.umd.js +11 -20
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +11 -20
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +100 -54
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +7 -7
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +11 -20
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-flag.umd.js +96 -0
- package/bundles/taiga-ui-core-pipes-flag.umd.js.map +1 -0
- package/bundles/taiga-ui-core-pipes-format-date.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-month.umd.js +7 -7
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +11 -20
- package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes.umd.js +10 -4
- package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +22 -31
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +7 -13
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +4 -13
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +4 -13
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/components/primitive-textfield/primitive-textfield.component.d.ts +3 -3
- package/directives/dropdown/dropdown-context.directive.d.ts +1 -0
- package/directives/dropdown/dropdown-driver.directive.d.ts +5 -2
- package/directives/dropdown/dropdown-host.directive.d.ts +1 -0
- package/directives/dropdown/dropdown-hover.directive.d.ts +1 -0
- package/directives/dropdown/dropdown-manual.directive.d.ts +1 -0
- package/directives/dropdown/dropdown-position-sided.directive.d.ts +4 -3
- package/directives/dropdown/dropdown-position.directive.d.ts +7 -3
- package/directives/dropdown/dropdown-selection.directive.d.ts +1 -0
- package/directives/dropdown/dropdown.directive.d.ts +7 -4
- package/directives/hint/hint-describe.directive.d.ts +3 -5
- package/directives/hint/hint-driver.directive.d.ts +5 -2
- package/directives/hint/hint-host.directive.d.ts +1 -0
- package/directives/hint/hint-hover.directive.d.ts +2 -0
- package/directives/hint/hint-manual.directive.d.ts +3 -1
- package/directives/hint/hint-position.directive.d.ts +6 -3
- package/directives/hint/hint.directive.d.ts +3 -2
- package/directives/textfield-controller/index.d.ts +1 -0
- package/directives/textfield-controller/textfield-appearance.directive.d.ts +9 -0
- package/directives/textfield-controller/textfield-controller.module.d.ts +11 -10
- package/directives/textfield-controller/textfield.controller.d.ts +5 -1
- package/esm2015/abstract/abstract-driver.directive.js +18 -10
- package/esm2015/abstract/abstract-textfield-host.js +3 -3
- package/esm2015/abstract/driver.js +2 -1
- package/esm2015/abstract/position-accessor.js +10 -1
- package/esm2015/abstract/rect-accessor.js +14 -1
- package/esm2015/abstract/vehicle.js +2 -1
- package/esm2015/components/alert/alert.component.js +3 -3
- package/esm2015/components/alert/alert.module.js +4 -4
- package/esm2015/components/alert/alert.service.js +3 -3
- package/esm2015/components/button/button.component.js +3 -3
- package/esm2015/components/button/button.module.js +4 -4
- package/esm2015/components/calendar/calendar.component.js +3 -3
- package/esm2015/components/calendar/calendar.module.js +4 -4
- package/esm2015/components/data-list/data-list.component.js +3 -3
- package/esm2015/components/data-list/data-list.directive.js +3 -3
- package/esm2015/components/data-list/data-list.module.js +4 -4
- package/esm2015/components/data-list/opt-group.directive.js +3 -3
- package/esm2015/components/data-list/option/option.component.js +3 -3
- package/esm2015/components/dialog/dialog-close.service.js +3 -3
- package/esm2015/components/dialog/dialog.component.js +3 -3
- package/esm2015/components/dialog/dialog.directive.js +3 -3
- package/esm2015/components/dialog/dialog.module.js +4 -4
- package/esm2015/components/dialog/dialog.service.js +3 -3
- package/esm2015/components/error/error.component.js +3 -3
- package/esm2015/components/error/error.module.js +4 -4
- package/esm2015/components/expand/expand-content.directive.js +3 -3
- package/esm2015/components/expand/expand.component.js +3 -3
- package/esm2015/components/expand/expand.module.js +4 -4
- package/esm2015/components/group/group-styles.component.js +3 -3
- package/esm2015/components/group/group.directive.js +3 -3
- package/esm2015/components/group/group.module.js +4 -4
- package/esm2015/components/hints-host/hints-host.component.js +3 -3
- package/esm2015/components/hints-host/hints-host.module.js +4 -4
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +3 -3
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -3
- package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +4 -4
- package/esm2015/components/label/label.component.js +3 -3
- package/esm2015/components/label/label.module.js +4 -4
- package/esm2015/components/link/link.component.js +4 -4
- package/esm2015/components/link/link.module.js +4 -4
- package/esm2015/components/loader/loader.component.js +3 -3
- package/esm2015/components/loader/loader.module.js +4 -4
- package/esm2015/components/notification/notification.component.js +3 -3
- package/esm2015/components/notification/notification.module.js +4 -4
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -3
- package/esm2015/components/primitive-calendar/primitive-calendar.module.js +4 -4
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +3 -3
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +4 -4
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +3 -3
- package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +4 -4
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +9 -10
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +3 -3
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +4 -4
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -3
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
- package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +4 -4
- package/esm2015/components/root/root.component.js +3 -3
- package/esm2015/components/root/root.module.js +4 -4
- package/esm2015/components/scroll-controls/scroll-controls.component.js +3 -3
- package/esm2015/components/scroll-controls/scroll-controls.module.js +4 -4
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +3 -3
- package/esm2015/components/scroll-controls/scrollbar.directive.js +3 -3
- package/esm2015/components/scrollbar/scroll-ref.directive.js +3 -3
- package/esm2015/components/scrollbar/scrollable.directive.js +3 -3
- package/esm2015/components/scrollbar/scrollbar.component.js +3 -3
- package/esm2015/components/scrollbar/scrollbar.module.js +4 -4
- package/esm2015/components/svg/svg.component.js +3 -3
- package/esm2015/components/svg/svg.module.js +4 -4
- package/esm2015/components/theme-night/theme-night.component.js +3 -3
- package/esm2015/components/theme-night/theme-night.module.js +4 -4
- package/esm2015/components/tooltip/tooltip.component.js +3 -3
- package/esm2015/components/tooltip/tooltip.module.js +4 -4
- package/esm2015/directives/dropdown/dropdown-context.directive.js +5 -4
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +24 -7
- package/esm2015/directives/dropdown/dropdown-host.directive.js +8 -4
- package/esm2015/directives/dropdown/dropdown-hover.directive.js +5 -4
- package/esm2015/directives/dropdown/dropdown-manual.directive.js +7 -6
- package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +15 -14
- package/esm2015/directives/dropdown/dropdown-position.directive.js +28 -11
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +5 -4
- package/esm2015/directives/dropdown/dropdown.component.js +21 -11
- package/esm2015/directives/dropdown/dropdown.directive.js +16 -21
- package/esm2015/directives/dropdown/dropdown.module.js +4 -4
- package/esm2015/directives/hint/hint-describe.directive.js +7 -13
- package/esm2015/directives/hint/hint-driver.directive.js +24 -7
- package/esm2015/directives/hint/hint-host.directive.js +8 -4
- package/esm2015/directives/hint/hint-hover.directive.js +8 -6
- package/esm2015/directives/hint/hint-manual.directive.js +14 -7
- package/esm2015/directives/hint/hint-options.directive.js +3 -3
- package/esm2015/directives/hint/hint-pointer.directive.js +3 -3
- package/esm2015/directives/hint/hint-position.directive.js +25 -11
- package/esm2015/directives/hint/hint.component.js +20 -6
- package/esm2015/directives/hint/hint.directive.js +6 -4
- package/esm2015/directives/hint/hint.module.js +4 -4
- package/esm2015/directives/hint/hint.providers.js +2 -1
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +3 -3
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +4 -4
- package/esm2015/directives/mode/mode.directive.js +3 -3
- package/esm2015/directives/mode/mode.module.js +4 -4
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +3 -3
- package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +4 -4
- package/esm2015/directives/textfield-controller/index.js +2 -1
- package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +38 -0
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-controller.module.js +11 -6
- package/esm2015/directives/textfield-controller/textfield-controller.provider.js +7 -3
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-filler.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield.controller.js +7 -2
- package/esm2015/directives/wrapper/wrapper.directive.js +3 -3
- package/esm2015/directives/wrapper/wrapper.module.js +4 -4
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +3 -3
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +4 -4
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +3 -3
- package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +4 -4
- package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +4 -4
- package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +3 -3
- package/esm2015/pipes/flag/flag.module.js +16 -0
- package/esm2015/pipes/flag/flag.pipe.js +44 -0
- package/esm2015/pipes/flag/index.js +3 -0
- package/esm2015/pipes/flag/taiga-ui-core-pipes-flag.js +5 -0
- package/esm2015/pipes/format-date/format-date.module.js +4 -4
- package/esm2015/pipes/format-date/format-date.pipe.js +3 -3
- package/esm2015/pipes/format-number/format-number.module.js +4 -4
- package/esm2015/pipes/format-number/format-number.pipe.js +3 -3
- package/esm2015/pipes/format-phone/format-phone.module.js +4 -4
- package/esm2015/pipes/format-phone/format-phone.pipe.js +3 -3
- package/esm2015/pipes/index.js +2 -1
- package/esm2015/pipes/month/month.module.js +4 -4
- package/esm2015/pipes/month/month.pipe.js +3 -3
- package/esm2015/pipes/order-week-days/order-week-days.module.js +4 -4
- package/esm2015/pipes/order-week-days/order-week-days.pipe.js +3 -3
- package/esm2015/services/format-date.service.js +3 -3
- package/esm2015/services/hint.service.js +3 -3
- package/esm2015/services/night-theme.service.js +3 -3
- package/esm2015/services/position.service.js +3 -3
- package/esm2015/services/router-link-active.service.js +3 -3
- package/esm2015/services/svg.service.js +3 -3
- package/esm2015/tokens/textfield-appearance.js +3 -1
- package/esm2015/tokens/viewport.js +2 -1
- package/fesm2015/taiga-ui-core-abstract.js +45 -15
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +10 -10
- package/fesm2015/taiga-ui-core-components-button.js +7 -7
- package/fesm2015/taiga-ui-core-components-calendar.js +7 -7
- package/fesm2015/taiga-ui-core-components-data-list.js +16 -16
- package/fesm2015/taiga-ui-core-components-dialog.js +16 -16
- package/fesm2015/taiga-ui-core-components-error.js +7 -7
- package/fesm2015/taiga-ui-core-components-expand.js +10 -10
- package/fesm2015/taiga-ui-core-components-group.js +10 -10
- package/fesm2015/taiga-ui-core-components-hints-host.js +7 -7
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +10 -10
- package/fesm2015/taiga-ui-core-components-label.js +7 -7
- package/fesm2015/taiga-ui-core-components-link.js +8 -8
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +7 -7
- package/fesm2015/taiga-ui-core-components-notification.js +7 -7
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +7 -7
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +7 -7
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +7 -7
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +21 -22
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +7 -7
- package/fesm2015/taiga-ui-core-components-root.js +7 -7
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +13 -13
- package/fesm2015/taiga-ui-core-components-scrollbar.js +13 -13
- package/fesm2015/taiga-ui-core-components-svg.js +7 -7
- package/fesm2015/taiga-ui-core-components-theme-night.js +7 -7
- package/fesm2015/taiga-ui-core-components-tooltip.js +7 -7
- package/fesm2015/taiga-ui-core-directives-dropdown.js +123 -81
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +205 -156
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +7 -7
- package/fesm2015/taiga-ui-core-directives-mode.js +7 -7
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +7 -7
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +83 -36
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +7 -7
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +7 -7
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-flag.js +64 -0
- package/fesm2015/taiga-ui-core-pipes-flag.js.map +1 -0
- package/fesm2015/taiga-ui-core-pipes-format-date.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-format-number.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-month.js +7 -7
- package/fesm2015/taiga-ui-core-pipes-order-week-days.js +7 -7
- package/fesm2015/taiga-ui-core-pipes.js +1 -0
- package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +18 -18
- package/fesm2015/taiga-ui-core-tokens.js +3 -0
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/package.json +4 -4
- package/pipes/flag/flag.module.d.ts +7 -0
- package/pipes/flag/flag.pipe.d.ts +13 -0
- package/pipes/flag/index.d.ts +2 -0
- package/pipes/flag/package.json +10 -0
- package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +5 -0
- package/pipes/index.d.ts +1 -0
- package/tokens/textfield-appearance.d.ts +1 -0
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, forwardRef, Directive, Input, NgModule, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import { AbstractTuiController, TuiDestroyService, tuiWatch } from '@taiga-ui/cdk';
|
|
4
|
+
import { TUI_TEXTFIELD_APPEARANCE } from '@taiga-ui/core/tokens';
|
|
4
5
|
import { merge, NEVER } from 'rxjs';
|
|
5
6
|
import { takeUntil } from 'rxjs/operators';
|
|
6
7
|
|
|
7
8
|
class TuiTextfieldController {
|
|
8
|
-
constructor(change$, options, cleanerDirective, customContentDirective, iconDirective, iconLeftDirective, labelOutsideDirective, sizeDirective, prefixDirective, postfixDirective, fillerDirective) {
|
|
9
|
+
constructor(change$, options, legacyAppearance, appearanceDirective, cleanerDirective, customContentDirective, iconDirective, iconLeftDirective, labelOutsideDirective, sizeDirective, prefixDirective, postfixDirective, fillerDirective) {
|
|
9
10
|
this.change$ = change$;
|
|
10
11
|
this.options = options;
|
|
12
|
+
this.legacyAppearance = legacyAppearance;
|
|
13
|
+
this.appearanceDirective = appearanceDirective;
|
|
11
14
|
this.cleanerDirective = cleanerDirective;
|
|
12
15
|
this.customContentDirective = customContentDirective;
|
|
13
16
|
this.iconDirective = iconDirective;
|
|
@@ -18,6 +21,9 @@ class TuiTextfieldController {
|
|
|
18
21
|
this.postfixDirective = postfixDirective;
|
|
19
22
|
this.fillerDirective = fillerDirective;
|
|
20
23
|
}
|
|
24
|
+
get appearance() {
|
|
25
|
+
return this.appearanceDirective.appearance || this.legacyAppearance;
|
|
26
|
+
}
|
|
21
27
|
get cleaner() {
|
|
22
28
|
return this.cleanerDirective.cleaner;
|
|
23
29
|
}
|
|
@@ -47,6 +53,41 @@ class TuiTextfieldController {
|
|
|
47
53
|
}
|
|
48
54
|
}
|
|
49
55
|
|
|
56
|
+
// TODO: rename to TUI_TEXTFIELD_APPEARANCE in v4
|
|
57
|
+
const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE = new InjectionToken('[TUI_TEXTFIELD_APPEARANCE_DIRECTIVE]: tuiTextfieldAppearance', {
|
|
58
|
+
factory: () => new TuiTextfieldAppearanceDirective(),
|
|
59
|
+
});
|
|
60
|
+
class TuiTextfieldAppearanceDirective extends AbstractTuiController {
|
|
61
|
+
constructor() {
|
|
62
|
+
super(...arguments);
|
|
63
|
+
// it's an empty string by default for backward compatibility
|
|
64
|
+
// (see comment https://github.com/Tinkoff/taiga-ui/pull/3007#issuecomment-1315179508)
|
|
65
|
+
this.appearance = '';
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
TuiTextfieldAppearanceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldAppearanceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
69
|
+
TuiTextfieldAppearanceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldAppearanceDirective, selector: "[tuiTextfieldAppearance]", inputs: { appearance: ["tuiTextfieldAppearance", "appearance"] }, providers: [
|
|
70
|
+
{
|
|
71
|
+
provide: TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
|
|
72
|
+
useExisting: forwardRef(() => TuiTextfieldAppearanceDirective),
|
|
73
|
+
},
|
|
74
|
+
], usesInheritance: true, ngImport: i0 });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldAppearanceDirective, decorators: [{
|
|
76
|
+
type: Directive,
|
|
77
|
+
args: [{
|
|
78
|
+
selector: '[tuiTextfieldAppearance]',
|
|
79
|
+
providers: [
|
|
80
|
+
{
|
|
81
|
+
provide: TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
|
|
82
|
+
useExisting: forwardRef(() => TuiTextfieldAppearanceDirective),
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
}]
|
|
86
|
+
}], propDecorators: { appearance: [{
|
|
87
|
+
type: Input,
|
|
88
|
+
args: ['tuiTextfieldAppearance']
|
|
89
|
+
}] } });
|
|
90
|
+
|
|
50
91
|
const TUI_TEXTFIELD_CLEANER = new InjectionToken('[TUI_TEXTFIELD_CLEANER]: tuiTextfieldCleaner', {
|
|
51
92
|
factory: () => new TuiTextfieldCleanerDirective(),
|
|
52
93
|
});
|
|
@@ -56,14 +97,14 @@ class TuiTextfieldCleanerDirective extends AbstractTuiController {
|
|
|
56
97
|
this.cleaner = false;
|
|
57
98
|
}
|
|
58
99
|
}
|
|
59
|
-
TuiTextfieldCleanerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
60
|
-
TuiTextfieldCleanerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
100
|
+
TuiTextfieldCleanerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldCleanerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
101
|
+
TuiTextfieldCleanerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldCleanerDirective, selector: "[tuiTextfieldCleaner]", inputs: { cleaner: ["tuiTextfieldCleaner", "cleaner"] }, providers: [
|
|
61
102
|
{
|
|
62
103
|
provide: TUI_TEXTFIELD_CLEANER,
|
|
63
104
|
useExisting: forwardRef(() => TuiTextfieldCleanerDirective),
|
|
64
105
|
},
|
|
65
106
|
], usesInheritance: true, ngImport: i0 });
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldCleanerDirective, decorators: [{
|
|
67
108
|
type: Directive,
|
|
68
109
|
args: [{
|
|
69
110
|
selector: '[tuiTextfieldCleaner]',
|
|
@@ -88,14 +129,14 @@ class TuiTextfieldCustomContentDirective extends AbstractTuiController {
|
|
|
88
129
|
this.customContent = '';
|
|
89
130
|
}
|
|
90
131
|
}
|
|
91
|
-
TuiTextfieldCustomContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
92
|
-
TuiTextfieldCustomContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
132
|
+
TuiTextfieldCustomContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldCustomContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
133
|
+
TuiTextfieldCustomContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: { customContent: ["tuiTextfieldCustomContent", "customContent"] }, providers: [
|
|
93
134
|
{
|
|
94
135
|
provide: TUI_TEXTFIELD_CUSTOM_CONTENT,
|
|
95
136
|
useExisting: forwardRef(() => TuiTextfieldCustomContentDirective),
|
|
96
137
|
},
|
|
97
138
|
], usesInheritance: true, ngImport: i0 });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldCustomContentDirective, decorators: [{
|
|
99
140
|
type: Directive,
|
|
100
141
|
args: [{
|
|
101
142
|
selector: '[tuiTextfieldCustomContent]',
|
|
@@ -120,14 +161,14 @@ class TuiTextfieldFillerDirective extends AbstractTuiController {
|
|
|
120
161
|
this.filler = '';
|
|
121
162
|
}
|
|
122
163
|
}
|
|
123
|
-
TuiTextfieldFillerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
124
|
-
TuiTextfieldFillerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
164
|
+
TuiTextfieldFillerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldFillerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
165
|
+
TuiTextfieldFillerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: { filler: ["tuiTextfieldFiller", "filler"] }, providers: [
|
|
125
166
|
{
|
|
126
167
|
provide: TUI_TEXTFIELD_FILLER,
|
|
127
168
|
useExisting: forwardRef(() => TuiTextfieldFillerDirective),
|
|
128
169
|
},
|
|
129
170
|
], usesInheritance: true, ngImport: i0 });
|
|
130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldFillerDirective, decorators: [{
|
|
131
172
|
type: Directive,
|
|
132
173
|
args: [{
|
|
133
174
|
selector: '[tuiTextfieldFiller]',
|
|
@@ -152,14 +193,14 @@ class TuiTextfieldIconDirective extends AbstractTuiController {
|
|
|
152
193
|
this.icon = '';
|
|
153
194
|
}
|
|
154
195
|
}
|
|
155
|
-
TuiTextfieldIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
156
|
-
TuiTextfieldIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
196
|
+
TuiTextfieldIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldIconDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
197
|
+
TuiTextfieldIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: { icon: ["tuiTextfieldIcon", "icon"] }, providers: [
|
|
157
198
|
{
|
|
158
199
|
provide: TUI_TEXTFIELD_ICON,
|
|
159
200
|
useExisting: forwardRef(() => TuiTextfieldIconDirective),
|
|
160
201
|
},
|
|
161
202
|
], usesInheritance: true, ngImport: i0 });
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldIconDirective, decorators: [{
|
|
163
204
|
type: Directive,
|
|
164
205
|
args: [{
|
|
165
206
|
selector: '[tuiTextfieldIcon]',
|
|
@@ -187,14 +228,14 @@ class TuiTextfieldIconLeftDirective extends AbstractTuiController {
|
|
|
187
228
|
this.iconLeft = '';
|
|
188
229
|
}
|
|
189
230
|
}
|
|
190
|
-
TuiTextfieldIconLeftDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
191
|
-
TuiTextfieldIconLeftDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
231
|
+
TuiTextfieldIconLeftDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldIconLeftDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
232
|
+
TuiTextfieldIconLeftDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldIconLeftDirective, selector: "[tuiTextfieldIconLeft]", inputs: { iconLeft: ["tuiTextfieldIconLeft", "iconLeft"] }, providers: [
|
|
192
233
|
{
|
|
193
234
|
provide: TUI_TEXTFIELD_ICON_LEFT,
|
|
194
235
|
useExisting: forwardRef(() => TuiTextfieldIconLeftDirective),
|
|
195
236
|
},
|
|
196
237
|
], usesInheritance: true, ngImport: i0 });
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldIconLeftDirective, decorators: [{
|
|
198
239
|
type: Directive,
|
|
199
240
|
args: [{
|
|
200
241
|
selector: '[tuiTextfieldIconLeft]',
|
|
@@ -222,14 +263,14 @@ class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {
|
|
|
222
263
|
this.labelOutside = false;
|
|
223
264
|
}
|
|
224
265
|
}
|
|
225
|
-
TuiTextfieldLabelOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
226
|
-
TuiTextfieldLabelOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
266
|
+
TuiTextfieldLabelOutsideDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
267
|
+
TuiTextfieldLabelOutsideDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: { labelOutside: ["tuiTextfieldLabelOutside", "labelOutside"] }, providers: [
|
|
227
268
|
{
|
|
228
269
|
provide: TUI_TEXTFIELD_LABEL_OUTSIDE,
|
|
229
270
|
useExisting: forwardRef(() => TuiTextfieldLabelOutsideDirective),
|
|
230
271
|
},
|
|
231
272
|
], usesInheritance: true, ngImport: i0 });
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldLabelOutsideDirective, decorators: [{
|
|
233
274
|
type: Directive,
|
|
234
275
|
args: [{
|
|
235
276
|
selector: '[tuiTextfieldLabelOutside]',
|
|
@@ -254,14 +295,14 @@ class TuiTextfieldPostfixDirective extends AbstractTuiController {
|
|
|
254
295
|
this.postfix = '';
|
|
255
296
|
}
|
|
256
297
|
}
|
|
257
|
-
TuiTextfieldPostfixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
258
|
-
TuiTextfieldPostfixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
298
|
+
TuiTextfieldPostfixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldPostfixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
299
|
+
TuiTextfieldPostfixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: { postfix: ["tuiTextfieldPostfix", "postfix"] }, providers: [
|
|
259
300
|
{
|
|
260
301
|
provide: TUI_TEXTFIELD_POSTFIX,
|
|
261
302
|
useExisting: forwardRef(() => TuiTextfieldPostfixDirective),
|
|
262
303
|
},
|
|
263
304
|
], usesInheritance: true, ngImport: i0 });
|
|
264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldPostfixDirective, decorators: [{
|
|
265
306
|
type: Directive,
|
|
266
307
|
args: [{
|
|
267
308
|
selector: '[tuiTextfieldPostfix]',
|
|
@@ -286,14 +327,14 @@ class TuiTextfieldPrefixDirective extends AbstractTuiController {
|
|
|
286
327
|
this.prefix = '';
|
|
287
328
|
}
|
|
288
329
|
}
|
|
289
|
-
TuiTextfieldPrefixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
290
|
-
TuiTextfieldPrefixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
330
|
+
TuiTextfieldPrefixDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldPrefixDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
331
|
+
TuiTextfieldPrefixDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: { prefix: ["tuiTextfieldPrefix", "prefix"] }, providers: [
|
|
291
332
|
{
|
|
292
333
|
provide: TUI_TEXTFIELD_PREFIX,
|
|
293
334
|
useExisting: forwardRef(() => TuiTextfieldPrefixDirective),
|
|
294
335
|
},
|
|
295
336
|
], usesInheritance: true, ngImport: i0 });
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldPrefixDirective, decorators: [{
|
|
297
338
|
type: Directive,
|
|
298
339
|
args: [{
|
|
299
340
|
selector: '[tuiTextfieldPrefix]',
|
|
@@ -318,14 +359,14 @@ class TuiTextfieldSizeDirective extends AbstractTuiController {
|
|
|
318
359
|
this.size = 'l';
|
|
319
360
|
}
|
|
320
361
|
}
|
|
321
|
-
TuiTextfieldSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
322
|
-
TuiTextfieldSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
362
|
+
TuiTextfieldSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldSizeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
363
|
+
TuiTextfieldSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextfieldSizeDirective, selector: "[tuiTextfieldSize]", inputs: { size: ["tuiTextfieldSize", "size"] }, providers: [
|
|
323
364
|
{
|
|
324
365
|
provide: TUI_TEXTFIELD_SIZE,
|
|
325
366
|
useExisting: forwardRef(() => TuiTextfieldSizeDirective),
|
|
326
367
|
},
|
|
327
368
|
], usesInheritance: true, ngImport: i0 });
|
|
328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldSizeDirective, decorators: [{
|
|
329
370
|
type: Directive,
|
|
330
371
|
args: [{
|
|
331
372
|
selector: '[tuiTextfieldSize]',
|
|
@@ -343,8 +384,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
343
384
|
|
|
344
385
|
class TuiTextfieldControllerModule {
|
|
345
386
|
}
|
|
346
|
-
TuiTextfieldControllerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
347
|
-
TuiTextfieldControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
387
|
+
TuiTextfieldControllerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldControllerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
388
|
+
TuiTextfieldControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldControllerModule, declarations: [TuiTextfieldAppearanceDirective,
|
|
389
|
+
TuiTextfieldCleanerDirective,
|
|
348
390
|
TuiTextfieldCustomContentDirective,
|
|
349
391
|
TuiTextfieldLabelOutsideDirective,
|
|
350
392
|
TuiTextfieldSizeDirective,
|
|
@@ -352,7 +394,8 @@ TuiTextfieldControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.
|
|
|
352
394
|
TuiTextfieldIconLeftDirective,
|
|
353
395
|
TuiTextfieldPrefixDirective,
|
|
354
396
|
TuiTextfieldPostfixDirective,
|
|
355
|
-
TuiTextfieldFillerDirective], exports: [
|
|
397
|
+
TuiTextfieldFillerDirective], exports: [TuiTextfieldAppearanceDirective,
|
|
398
|
+
TuiTextfieldCleanerDirective,
|
|
356
399
|
TuiTextfieldCustomContentDirective,
|
|
357
400
|
TuiTextfieldLabelOutsideDirective,
|
|
358
401
|
TuiTextfieldSizeDirective,
|
|
@@ -361,11 +404,12 @@ TuiTextfieldControllerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.
|
|
|
361
404
|
TuiTextfieldPrefixDirective,
|
|
362
405
|
TuiTextfieldPostfixDirective,
|
|
363
406
|
TuiTextfieldFillerDirective] });
|
|
364
|
-
TuiTextfieldControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
407
|
+
TuiTextfieldControllerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldControllerModule });
|
|
408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextfieldControllerModule, decorators: [{
|
|
366
409
|
type: NgModule,
|
|
367
410
|
args: [{
|
|
368
411
|
declarations: [
|
|
412
|
+
TuiTextfieldAppearanceDirective,
|
|
369
413
|
TuiTextfieldCleanerDirective,
|
|
370
414
|
TuiTextfieldCustomContentDirective,
|
|
371
415
|
TuiTextfieldLabelOutsideDirective,
|
|
@@ -377,6 +421,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
377
421
|
TuiTextfieldFillerDirective,
|
|
378
422
|
],
|
|
379
423
|
exports: [
|
|
424
|
+
TuiTextfieldAppearanceDirective,
|
|
380
425
|
TuiTextfieldCleanerDirective,
|
|
381
426
|
TuiTextfieldCustomContentDirective,
|
|
382
427
|
TuiTextfieldLabelOutsideDirective,
|
|
@@ -409,6 +454,8 @@ const TEXTFIELD_CONTROLLER_PROVIDER = [
|
|
|
409
454
|
ChangeDetectorRef,
|
|
410
455
|
TuiDestroyService,
|
|
411
456
|
TUI_TEXTFIELD_OPTIONS,
|
|
457
|
+
TUI_TEXTFIELD_APPEARANCE,
|
|
458
|
+
TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,
|
|
412
459
|
TUI_TEXTFIELD_CLEANER,
|
|
413
460
|
TUI_TEXTFIELD_CUSTOM_CONTENT,
|
|
414
461
|
TUI_TEXTFIELD_ICON,
|
|
@@ -419,10 +466,10 @@ const TEXTFIELD_CONTROLLER_PROVIDER = [
|
|
|
419
466
|
TUI_TEXTFIELD_POSTFIX,
|
|
420
467
|
TUI_TEXTFIELD_FILLER,
|
|
421
468
|
],
|
|
422
|
-
useFactory: (changeDetectorRef, destroy$, options, ...controllers) => {
|
|
469
|
+
useFactory: (changeDetectorRef, destroy$, options, legacyAppearance, ...controllers) => {
|
|
423
470
|
const change$ = merge(...controllers.map(({ change$ }) => change$ || NEVER)).pipe(tuiWatch(changeDetectorRef), takeUntil(destroy$));
|
|
424
471
|
change$.subscribe();
|
|
425
|
-
return new TuiTextfieldController(change$, options, ...controllers);
|
|
472
|
+
return new TuiTextfieldController(change$, options, legacyAppearance, ...controllers);
|
|
426
473
|
},
|
|
427
474
|
},
|
|
428
475
|
];
|
|
@@ -431,5 +478,5 @@ const TEXTFIELD_CONTROLLER_PROVIDER = [
|
|
|
431
478
|
* Generated bundle index. Do not edit.
|
|
432
479
|
*/
|
|
433
480
|
|
|
434
|
-
export { TEXTFIELD_CONTROLLER_PROVIDER, TUI_TEXTFIELD_CLEANER, TUI_TEXTFIELD_CUSTOM_CONTENT, TUI_TEXTFIELD_DEFAULT_OPTIONS, TUI_TEXTFIELD_FILLER, TUI_TEXTFIELD_ICON, TUI_TEXTFIELD_ICON_LEFT, TUI_TEXTFIELD_LABEL_OUTSIDE, TUI_TEXTFIELD_OPTIONS, TUI_TEXTFIELD_POSTFIX, TUI_TEXTFIELD_PREFIX, TUI_TEXTFIELD_SIZE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiTextfieldCleanerDirective, TuiTextfieldController, TuiTextfieldControllerModule, TuiTextfieldCustomContentDirective, TuiTextfieldFillerDirective, TuiTextfieldIconDirective, TuiTextfieldIconLeftDirective, TuiTextfieldLabelOutsideDirective, TuiTextfieldPostfixDirective, TuiTextfieldPrefixDirective, TuiTextfieldSizeDirective, tuiIconDirectiveFactory, tuiIconLeftDirectiveFactory, tuiTextfieldOptionsProvider };
|
|
481
|
+
export { TEXTFIELD_CONTROLLER_PROVIDER, TUI_TEXTFIELD_APPEARANCE_DIRECTIVE, TUI_TEXTFIELD_CLEANER, TUI_TEXTFIELD_CUSTOM_CONTENT, TUI_TEXTFIELD_DEFAULT_OPTIONS, TUI_TEXTFIELD_FILLER, TUI_TEXTFIELD_ICON, TUI_TEXTFIELD_ICON_LEFT, TUI_TEXTFIELD_LABEL_OUTSIDE, TUI_TEXTFIELD_OPTIONS, TUI_TEXTFIELD_POSTFIX, TUI_TEXTFIELD_PREFIX, TUI_TEXTFIELD_SIZE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiTextfieldAppearanceDirective, TuiTextfieldCleanerDirective, TuiTextfieldController, TuiTextfieldControllerModule, TuiTextfieldCustomContentDirective, TuiTextfieldFillerDirective, TuiTextfieldIconDirective, TuiTextfieldIconLeftDirective, TuiTextfieldLabelOutsideDirective, TuiTextfieldPostfixDirective, TuiTextfieldPrefixDirective, TuiTextfieldSizeDirective, tuiIconDirectiveFactory, tuiIconLeftDirectiveFactory, tuiTextfieldOptionsProvider };
|
|
435
482
|
//# sourceMappingURL=taiga-ui-core-directives-textfield-controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-directives-textfield-controller.js","sources":["../../../projects/core/directives/textfield-controller/textfield.controller.ts","../../../projects/core/directives/textfield-controller/textfield-cleaner.directive.ts","../../../projects/core/directives/textfield-controller/textfield-custom-content.directive.ts","../../../projects/core/directives/textfield-controller/textfield-filler.directive.ts","../../../projects/core/directives/textfield-controller/textfield-icon.directive.ts","../../../projects/core/directives/textfield-controller/textfield-icon-left.directive.ts","../../../projects/core/directives/textfield-controller/textfield-label-outside.directive.ts","../../../projects/core/directives/textfield-controller/textfield-postfix.directive.ts","../../../projects/core/directives/textfield-controller/textfield-prefix.directive.ts","../../../projects/core/directives/textfield-controller/textfield-size.directive.ts","../../../projects/core/directives/textfield-controller/textfield-controller.module.ts","../../../projects/core/directives/textfield-controller/textfield-options.ts","../../../projects/core/directives/textfield-controller/textfield-controller.provider.ts","../../../projects/core/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.ts"],"sourcesContent":["import {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldOptions} from './textfield-options';\nimport {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\nexport class TuiTextfieldController {\n constructor(\n readonly change$: Observable<void>,\n readonly options: TuiTextfieldOptions,\n private readonly cleanerDirective: TuiTextfieldCleanerDirective,\n private readonly customContentDirective: TuiTextfieldCustomContentDirective,\n private readonly iconDirective: TuiTextfieldIconDirective,\n private readonly iconLeftDirective: TuiTextfieldIconLeftDirective,\n private readonly labelOutsideDirective: TuiTextfieldLabelOutsideDirective,\n private readonly sizeDirective: TuiTextfieldSizeDirective,\n private readonly prefixDirective: TuiTextfieldPrefixDirective,\n private readonly postfixDirective: TuiTextfieldPostfixDirective,\n private readonly fillerDirective: TuiTextfieldFillerDirective,\n ) {}\n\n get cleaner(): boolean {\n return this.cleanerDirective.cleaner;\n }\n\n get customContent(): PolymorpheusContent {\n return this.customContentDirective.customContent || ``;\n }\n\n get icon(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> {\n return this.iconDirective.icon;\n }\n\n get iconLeft(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> {\n return this.iconLeftDirective.iconLeft;\n }\n\n get labelOutside(): boolean {\n return this.labelOutsideDirective.labelOutside;\n }\n\n get size(): TuiSizeL | TuiSizeS {\n return this.sizeDirective.size;\n }\n\n get prefix(): string {\n return this.prefixDirective.prefix;\n }\n\n get postfix(): string {\n return this.postfixDirective.postfix;\n }\n\n get filler(): string {\n return this.fillerDirective.filler;\n }\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_CLEANER = new InjectionToken<TuiTextfieldCleanerDirective>(\n '[TUI_TEXTFIELD_CLEANER]: tuiTextfieldCleaner',\n {\n factory: () => new TuiTextfieldCleanerDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldCleaner]',\n providers: [\n {\n provide: TUI_TEXTFIELD_CLEANER,\n useExisting: forwardRef(() => TuiTextfieldCleanerDirective),\n },\n ],\n})\nexport class TuiTextfieldCleanerDirective extends AbstractTuiController {\n @Input('tuiTextfieldCleaner')\n cleaner = false;\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_TEXTFIELD_CUSTOM_CONTENT =\n new InjectionToken<TuiTextfieldCustomContentDirective>(\n '[TUI_TEXTFIELD_CUSTOM_CONTENT]: tuiTextfieldCustomContent',\n {\n factory: () => new TuiTextfieldCustomContentDirective(),\n },\n );\n\n@Directive({\n selector: '[tuiTextfieldCustomContent]',\n providers: [\n {\n provide: TUI_TEXTFIELD_CUSTOM_CONTENT,\n useExisting: forwardRef(() => TuiTextfieldCustomContentDirective),\n },\n ],\n})\nexport class TuiTextfieldCustomContentDirective extends AbstractTuiController {\n @Input('tuiTextfieldCustomContent')\n customContent: PolymorpheusContent = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_FILLER = new InjectionToken<TuiTextfieldFillerDirective>(\n '[TUI_TEXTFIELD_FILLER]: tuiTextfieldPrefix',\n {\n factory: () => new TuiTextfieldFillerDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldFiller]',\n providers: [\n {\n provide: TUI_TEXTFIELD_FILLER,\n useExisting: forwardRef(() => TuiTextfieldFillerDirective),\n },\n ],\n})\nexport class TuiTextfieldFillerDirective extends AbstractTuiController {\n @Input('tuiTextfieldFiller')\n filler = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController, TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_TEXTFIELD_ICON = new InjectionToken<TuiTextfieldIconDirective>(\n '[TUI_TEXTFIELD_ICON]: tuiTextfieldIcon',\n {\n factory: tuiIconDirectiveFactory,\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldIcon]',\n providers: [\n {\n provide: TUI_TEXTFIELD_ICON,\n useExisting: forwardRef(() => TuiTextfieldIconDirective),\n },\n ],\n})\nexport class TuiTextfieldIconDirective extends AbstractTuiController {\n @Input('tuiTextfieldIcon')\n icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> = '';\n}\n\nexport function tuiIconDirectiveFactory(): TuiTextfieldIconDirective {\n return new TuiTextfieldIconDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController, TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_TEXTFIELD_ICON_LEFT = new InjectionToken<TuiTextfieldIconLeftDirective>(\n '[TUI_TEXTFIELD_ICON_LEFT]: tuiTextfieldIconLeft',\n {\n factory: tuiIconLeftDirectiveFactory,\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldIconLeft]',\n providers: [\n {\n provide: TUI_TEXTFIELD_ICON_LEFT,\n useExisting: forwardRef(() => TuiTextfieldIconLeftDirective),\n },\n ],\n})\nexport class TuiTextfieldIconLeftDirective extends AbstractTuiController {\n @Input('tuiTextfieldIconLeft')\n iconLeft: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> = '';\n}\n\nexport function tuiIconLeftDirectiveFactory(): TuiTextfieldIconLeftDirective {\n return new TuiTextfieldIconLeftDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_LABEL_OUTSIDE =\n new InjectionToken<TuiTextfieldLabelOutsideDirective>(\n '[TUI_TEXTFIELD_LABEL_OUTSIDE]: tuiTextfieldLabelOutside',\n {\n factory: () => new TuiTextfieldLabelOutsideDirective(),\n },\n );\n\n@Directive({\n selector: '[tuiTextfieldLabelOutside]',\n providers: [\n {\n provide: TUI_TEXTFIELD_LABEL_OUTSIDE,\n useExisting: forwardRef(() => TuiTextfieldLabelOutsideDirective),\n },\n ],\n})\nexport class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {\n @Input('tuiTextfieldLabelOutside')\n labelOutside = false;\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_POSTFIX = new InjectionToken<TuiTextfieldPostfixDirective>(\n '[TUI_TEXTFIELD_POSTFIX]: tuiTextfieldPostfix',\n {\n factory: () => new TuiTextfieldPostfixDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldPostfix]',\n providers: [\n {\n provide: TUI_TEXTFIELD_POSTFIX,\n useExisting: forwardRef(() => TuiTextfieldPostfixDirective),\n },\n ],\n})\nexport class TuiTextfieldPostfixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPostfix')\n postfix = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_PREFIX = new InjectionToken<TuiTextfieldPrefixDirective>(\n '[TUI_TEXTFIELD_PREFIX]: tuiTextfieldPrefix',\n {\n factory: () => new TuiTextfieldPrefixDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldPrefix]',\n providers: [\n {\n provide: TUI_TEXTFIELD_PREFIX,\n useExisting: forwardRef(() => TuiTextfieldPrefixDirective),\n },\n ],\n})\nexport class TuiTextfieldPrefixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPrefix')\n prefix = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\n\nexport const TUI_TEXTFIELD_SIZE = new InjectionToken<TuiTextfieldSizeDirective>(\n '[TUI_TEXTFIELD_SIZE]: tuiTextfieldSize',\n {\n factory: () => new TuiTextfieldSizeDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldSize]',\n providers: [\n {\n provide: TUI_TEXTFIELD_SIZE,\n useExisting: forwardRef(() => TuiTextfieldSizeDirective),\n },\n ],\n})\nexport class TuiTextfieldSizeDirective extends AbstractTuiController {\n @Input('tuiTextfieldSize')\n size: TuiSizeL | TuiSizeS = 'l';\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\n@NgModule({\n declarations: [\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ],\n exports: [\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ],\n})\nexport class TuiTextfieldControllerModule {}\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiTextfieldOptions {\n readonly iconCleaner:\n | PolymorpheusContent\n | PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;\n}\n\n/** Default values for primitive textfield options */\nexport const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions = {\n iconCleaner: ({$implicit}: TuiContextWithImplicit<TuiSizeL | TuiSizeS>) =>\n $implicit === `s` ? `tuiIconClose` : `tuiIconCloseLarge`,\n};\n\nexport const TUI_TEXTFIELD_OPTIONS = new InjectionToken<TuiTextfieldOptions>(\n `[TUI_TEXTFIELD_OPTIONS]: Default parameters for textfield`,\n {factory: () => TUI_TEXTFIELD_DEFAULT_OPTIONS},\n);\n\nexport const tuiTextfieldOptionsProvider: (\n options: Partial<TuiTextfieldOptions>,\n) => ValueProvider = (options: Partial<TuiTextfieldOptions>) => ({\n provide: TUI_TEXTFIELD_OPTIONS,\n useValue: {...TUI_TEXTFIELD_DEFAULT_OPTIONS, ...options},\n});\n","import {ChangeDetectorRef, InjectionToken, Provider} from '@angular/core';\nimport {TuiDestroyService, tuiWatch} from '@taiga-ui/cdk';\nimport {merge, NEVER, Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {TuiTextfieldController} from './textfield.controller';\nimport {\n TUI_TEXTFIELD_CLEANER,\n TuiTextfieldCleanerDirective,\n} from './textfield-cleaner.directive';\nimport {\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TuiTextfieldCustomContentDirective,\n} from './textfield-custom-content.directive';\nimport {\n TUI_TEXTFIELD_FILLER,\n TuiTextfieldFillerDirective,\n} from './textfield-filler.directive';\nimport {TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {\n TUI_TEXTFIELD_ICON_LEFT,\n TuiTextfieldIconLeftDirective,\n} from './textfield-icon-left.directive';\nimport {\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TuiTextfieldLabelOutsideDirective,\n} from './textfield-label-outside.directive';\nimport {TUI_TEXTFIELD_OPTIONS, TuiTextfieldOptions} from './textfield-options';\nimport {\n TUI_TEXTFIELD_POSTFIX,\n TuiTextfieldPostfixDirective,\n} from './textfield-postfix.directive';\nimport {\n TUI_TEXTFIELD_PREFIX,\n TuiTextfieldPrefixDirective,\n} from './textfield-prefix.directive';\nimport {TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective} from './textfield-size.directive';\n\nexport const TUI_TEXTFIELD_WATCHED_CONTROLLER =\n new InjectionToken<TuiTextfieldController>(\n `[TUI_TEXTFIELD_WATCHED_CONTROLLER]: watched textfield controller`,\n );\n\nexport const TEXTFIELD_CONTROLLER_PROVIDER: Provider = [\n TuiDestroyService,\n {\n provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,\n deps: [\n ChangeDetectorRef,\n TuiDestroyService,\n TUI_TEXTFIELD_OPTIONS,\n TUI_TEXTFIELD_CLEANER,\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TUI_TEXTFIELD_ICON,\n TUI_TEXTFIELD_ICON_LEFT,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TUI_TEXTFIELD_SIZE,\n TUI_TEXTFIELD_PREFIX,\n TUI_TEXTFIELD_POSTFIX,\n TUI_TEXTFIELD_FILLER,\n ],\n useFactory: (\n changeDetectorRef: ChangeDetectorRef,\n destroy$: Observable<void>,\n options: TuiTextfieldOptions,\n ...controllers: [\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ]\n ) => {\n const change$ = merge(\n ...controllers.map(({change$}) => change$ || NEVER),\n ).pipe(tuiWatch(changeDetectorRef), takeUntil(destroy$));\n\n change$.subscribe();\n\n return new TuiTextfieldController(change$, options, ...controllers);\n },\n },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAgBa,sBAAsB,CAAA;IAC/B,WACa,CAAA,OAAyB,EACzB,OAA4B,EACpB,gBAA8C,EAC9C,sBAA0D,EAC1D,aAAwC,EACxC,iBAAgD,EAChD,qBAAwD,EACxD,aAAwC,EACxC,eAA4C,EAC5C,gBAA8C,EAC9C,eAA4C,EAAA;QAVpD,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QACzB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;QACpB,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAA8B;QAC9C,IAAsB,CAAA,sBAAA,GAAtB,sBAAsB,CAAoC;QAC1D,IAAa,CAAA,aAAA,GAAb,aAAa,CAA2B;QACxC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAA+B;QAChD,IAAqB,CAAA,qBAAA,GAArB,qBAAqB,CAAmC;QACxD,IAAa,CAAA,aAAA,GAAb,aAAa,CAA2B;QACxC,IAAe,CAAA,eAAA,GAAf,eAAe,CAA6B;QAC5C,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAA8B;QAC9C,IAAe,CAAA,eAAA,GAAf,eAAe,CAA6B;KAC7D;AAEJ,IAAA,IAAI,OAAO,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC;KACxC;AAED,IAAA,IAAI,aAAa,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,sBAAsB,CAAC,aAAa,IAAI,EAAE,CAAC;KAC1D;AAED,IAAA,IAAI,IAAI,GAAA;AACJ,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;KAClC;AAED,IAAA,IAAI,QAAQ,GAAA;AACR,QAAA,OAAO,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC;KAC1C;AAED,IAAA,IAAI,YAA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CAAA,EAAA,EAAA,6BAA6B,CAAK,EAAA,OAAO,CAAC;AAC3D,CAAA;;MCWY,gCAAgC,GACzC,IAAI,cAAc,CACd,CAAkE,gEAAA,CAAA,EACpE;AAEO,MAAA,6BAA6B,GAAa;IACnD,iBAAiB;AACjB,IAAA;AACI,QAAA,OAAO,EAAE,gCAAgC;AACzC,QAAA,IAAI,EAAE;YACF,iBAAiB;YACjB,iBAAiB;YACjB,qBAAqB;YACrB,qBAAqB;YACrB,4BAA4B;YAC5B,kBAAkB;YAClB,uBAAuB;YACvB,2BAA2B;YAC3B,kBAAkB;YAClB,oBAAoB;YACpB,qBAAqB;YACrB,oBAAoB;AACvB,SAAA;QACD,UAAU,EAAE,CACR,iBAAoC,EACpC,QAA0B,EAC1B,OAA4B,EAC5B,GAAG,WAUF,KACD;AACA,YAAA,MAAM,OAAO,GAAG,KAAK,CACjB,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,EAAC,OAAO,EAAC,KAAK,OAAO,IAAI,KAAK,CAAC,CACtD,CAAC,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;YAEzD,OAAO,CAAC,SAAS,EAAE,CAAC;YAEpB,OAAO,IAAI,sBAAsB,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,WAAW,CAAC,CAAC;SACvE;AACJ,KAAA;;;ACrFL;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-directives-textfield-controller.js","sources":["../../../projects/core/directives/textfield-controller/textfield.controller.ts","../../../projects/core/directives/textfield-controller/textfield-appearance.directive.ts","../../../projects/core/directives/textfield-controller/textfield-cleaner.directive.ts","../../../projects/core/directives/textfield-controller/textfield-custom-content.directive.ts","../../../projects/core/directives/textfield-controller/textfield-filler.directive.ts","../../../projects/core/directives/textfield-controller/textfield-icon.directive.ts","../../../projects/core/directives/textfield-controller/textfield-icon-left.directive.ts","../../../projects/core/directives/textfield-controller/textfield-label-outside.directive.ts","../../../projects/core/directives/textfield-controller/textfield-postfix.directive.ts","../../../projects/core/directives/textfield-controller/textfield-prefix.directive.ts","../../../projects/core/directives/textfield-controller/textfield-size.directive.ts","../../../projects/core/directives/textfield-controller/textfield-controller.module.ts","../../../projects/core/directives/textfield-controller/textfield-options.ts","../../../projects/core/directives/textfield-controller/textfield-controller.provider.ts","../../../projects/core/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.ts"],"sourcesContent":["import {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldOptions} from './textfield-options';\nimport {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\nexport class TuiTextfieldController {\n constructor(\n readonly change$: Observable<void>,\n readonly options: TuiTextfieldOptions,\n private readonly legacyAppearance: string,\n private readonly appearanceDirective: TuiTextfieldAppearanceDirective,\n private readonly cleanerDirective: TuiTextfieldCleanerDirective,\n private readonly customContentDirective: TuiTextfieldCustomContentDirective,\n private readonly iconDirective: TuiTextfieldIconDirective,\n private readonly iconLeftDirective: TuiTextfieldIconLeftDirective,\n private readonly labelOutsideDirective: TuiTextfieldLabelOutsideDirective,\n private readonly sizeDirective: TuiTextfieldSizeDirective,\n private readonly prefixDirective: TuiTextfieldPrefixDirective,\n private readonly postfixDirective: TuiTextfieldPostfixDirective,\n private readonly fillerDirective: TuiTextfieldFillerDirective,\n ) {}\n\n get appearance(): string {\n return this.appearanceDirective.appearance || this.legacyAppearance;\n }\n\n get cleaner(): boolean {\n return this.cleanerDirective.cleaner;\n }\n\n get customContent(): PolymorpheusContent {\n return this.customContentDirective.customContent || ``;\n }\n\n get icon(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> {\n return this.iconDirective.icon;\n }\n\n get iconLeft(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> {\n return this.iconLeftDirective.iconLeft;\n }\n\n get labelOutside(): boolean {\n return this.labelOutsideDirective.labelOutside;\n }\n\n get size(): TuiSizeL | TuiSizeS {\n return this.sizeDirective.size;\n }\n\n get prefix(): string {\n return this.prefixDirective.prefix;\n }\n\n get postfix(): string {\n return this.postfixDirective.postfix;\n }\n\n get filler(): string {\n return this.fillerDirective.filler;\n }\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\n// TODO: rename to TUI_TEXTFIELD_APPEARANCE in v4\nexport const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE =\n new InjectionToken<TuiTextfieldAppearanceDirective>(\n '[TUI_TEXTFIELD_APPEARANCE_DIRECTIVE]: tuiTextfieldAppearance',\n {\n factory: () => new TuiTextfieldAppearanceDirective(),\n },\n );\n\n@Directive({\n selector: '[tuiTextfieldAppearance]',\n providers: [\n {\n provide: TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,\n useExisting: forwardRef(() => TuiTextfieldAppearanceDirective),\n },\n ],\n})\nexport class TuiTextfieldAppearanceDirective extends AbstractTuiController {\n // it's an empty string by default for backward compatibility\n // (see comment https://github.com/Tinkoff/taiga-ui/pull/3007#issuecomment-1315179508)\n @Input('tuiTextfieldAppearance')\n appearance = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_CLEANER = new InjectionToken<TuiTextfieldCleanerDirective>(\n '[TUI_TEXTFIELD_CLEANER]: tuiTextfieldCleaner',\n {\n factory: () => new TuiTextfieldCleanerDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldCleaner]',\n providers: [\n {\n provide: TUI_TEXTFIELD_CLEANER,\n useExisting: forwardRef(() => TuiTextfieldCleanerDirective),\n },\n ],\n})\nexport class TuiTextfieldCleanerDirective extends AbstractTuiController {\n @Input('tuiTextfieldCleaner')\n cleaner = false;\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_TEXTFIELD_CUSTOM_CONTENT =\n new InjectionToken<TuiTextfieldCustomContentDirective>(\n '[TUI_TEXTFIELD_CUSTOM_CONTENT]: tuiTextfieldCustomContent',\n {\n factory: () => new TuiTextfieldCustomContentDirective(),\n },\n );\n\n@Directive({\n selector: '[tuiTextfieldCustomContent]',\n providers: [\n {\n provide: TUI_TEXTFIELD_CUSTOM_CONTENT,\n useExisting: forwardRef(() => TuiTextfieldCustomContentDirective),\n },\n ],\n})\nexport class TuiTextfieldCustomContentDirective extends AbstractTuiController {\n @Input('tuiTextfieldCustomContent')\n customContent: PolymorpheusContent = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_FILLER = new InjectionToken<TuiTextfieldFillerDirective>(\n '[TUI_TEXTFIELD_FILLER]: tuiTextfieldPrefix',\n {\n factory: () => new TuiTextfieldFillerDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldFiller]',\n providers: [\n {\n provide: TUI_TEXTFIELD_FILLER,\n useExisting: forwardRef(() => TuiTextfieldFillerDirective),\n },\n ],\n})\nexport class TuiTextfieldFillerDirective extends AbstractTuiController {\n @Input('tuiTextfieldFiller')\n filler = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController, TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_TEXTFIELD_ICON = new InjectionToken<TuiTextfieldIconDirective>(\n '[TUI_TEXTFIELD_ICON]: tuiTextfieldIcon',\n {\n factory: tuiIconDirectiveFactory,\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldIcon]',\n providers: [\n {\n provide: TUI_TEXTFIELD_ICON,\n useExisting: forwardRef(() => TuiTextfieldIconDirective),\n },\n ],\n})\nexport class TuiTextfieldIconDirective extends AbstractTuiController {\n @Input('tuiTextfieldIcon')\n icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> = '';\n}\n\nexport function tuiIconDirectiveFactory(): TuiTextfieldIconDirective {\n return new TuiTextfieldIconDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController, TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_TEXTFIELD_ICON_LEFT = new InjectionToken<TuiTextfieldIconLeftDirective>(\n '[TUI_TEXTFIELD_ICON_LEFT]: tuiTextfieldIconLeft',\n {\n factory: tuiIconLeftDirectiveFactory,\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldIconLeft]',\n providers: [\n {\n provide: TUI_TEXTFIELD_ICON_LEFT,\n useExisting: forwardRef(() => TuiTextfieldIconLeftDirective),\n },\n ],\n})\nexport class TuiTextfieldIconLeftDirective extends AbstractTuiController {\n @Input('tuiTextfieldIconLeft')\n iconLeft: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> = '';\n}\n\nexport function tuiIconLeftDirectiveFactory(): TuiTextfieldIconLeftDirective {\n return new TuiTextfieldIconLeftDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_LABEL_OUTSIDE =\n new InjectionToken<TuiTextfieldLabelOutsideDirective>(\n '[TUI_TEXTFIELD_LABEL_OUTSIDE]: tuiTextfieldLabelOutside',\n {\n factory: () => new TuiTextfieldLabelOutsideDirective(),\n },\n );\n\n@Directive({\n selector: '[tuiTextfieldLabelOutside]',\n providers: [\n {\n provide: TUI_TEXTFIELD_LABEL_OUTSIDE,\n useExisting: forwardRef(() => TuiTextfieldLabelOutsideDirective),\n },\n ],\n})\nexport class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {\n @Input('tuiTextfieldLabelOutside')\n labelOutside = false;\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_POSTFIX = new InjectionToken<TuiTextfieldPostfixDirective>(\n '[TUI_TEXTFIELD_POSTFIX]: tuiTextfieldPostfix',\n {\n factory: () => new TuiTextfieldPostfixDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldPostfix]',\n providers: [\n {\n provide: TUI_TEXTFIELD_POSTFIX,\n useExisting: forwardRef(() => TuiTextfieldPostfixDirective),\n },\n ],\n})\nexport class TuiTextfieldPostfixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPostfix')\n postfix = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_PREFIX = new InjectionToken<TuiTextfieldPrefixDirective>(\n '[TUI_TEXTFIELD_PREFIX]: tuiTextfieldPrefix',\n {\n factory: () => new TuiTextfieldPrefixDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldPrefix]',\n providers: [\n {\n provide: TUI_TEXTFIELD_PREFIX,\n useExisting: forwardRef(() => TuiTextfieldPrefixDirective),\n },\n ],\n})\nexport class TuiTextfieldPrefixDirective extends AbstractTuiController {\n @Input('tuiTextfieldPrefix')\n prefix = '';\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {AbstractTuiController} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\n\nexport const TUI_TEXTFIELD_SIZE = new InjectionToken<TuiTextfieldSizeDirective>(\n '[TUI_TEXTFIELD_SIZE]: tuiTextfieldSize',\n {\n factory: () => new TuiTextfieldSizeDirective(),\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldSize]',\n providers: [\n {\n provide: TUI_TEXTFIELD_SIZE,\n useExisting: forwardRef(() => TuiTextfieldSizeDirective),\n },\n ],\n})\nexport class TuiTextfieldSizeDirective extends AbstractTuiController {\n @Input('tuiTextfieldSize')\n size: TuiSizeL | TuiSizeS = 'l';\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiTextfieldAppearanceDirective} from './textfield-appearance.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldFillerDirective} from './textfield-filler.directive';\nimport {TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {TuiTextfieldIconLeftDirective} from './textfield-icon-left.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldPostfixDirective} from './textfield-postfix.directive';\nimport {TuiTextfieldPrefixDirective} from './textfield-prefix.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\n\n@NgModule({\n declarations: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ],\n exports: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ],\n})\nexport class TuiTextfieldControllerModule {}\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiTextfieldOptions {\n readonly iconCleaner:\n | PolymorpheusContent\n | PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;\n}\n\n/** Default values for primitive textfield options */\nexport const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions = {\n iconCleaner: ({$implicit}: TuiContextWithImplicit<TuiSizeL | TuiSizeS>) =>\n $implicit === `s` ? `tuiIconClose` : `tuiIconCloseLarge`,\n};\n\nexport const TUI_TEXTFIELD_OPTIONS = new InjectionToken<TuiTextfieldOptions>(\n `[TUI_TEXTFIELD_OPTIONS]: Default parameters for textfield`,\n {factory: () => TUI_TEXTFIELD_DEFAULT_OPTIONS},\n);\n\nexport const tuiTextfieldOptionsProvider: (\n options: Partial<TuiTextfieldOptions>,\n) => ValueProvider = (options: Partial<TuiTextfieldOptions>) => ({\n provide: TUI_TEXTFIELD_OPTIONS,\n useValue: {...TUI_TEXTFIELD_DEFAULT_OPTIONS, ...options},\n});\n","import {ChangeDetectorRef, InjectionToken, Provider} from '@angular/core';\nimport {TuiDestroyService, tuiWatch} from '@taiga-ui/cdk';\nimport {TUI_TEXTFIELD_APPEARANCE} from '@taiga-ui/core/tokens';\nimport {merge, NEVER, Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {TuiTextfieldController} from './textfield.controller';\nimport {\n TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,\n TuiTextfieldAppearanceDirective,\n} from './textfield-appearance.directive';\nimport {\n TUI_TEXTFIELD_CLEANER,\n TuiTextfieldCleanerDirective,\n} from './textfield-cleaner.directive';\nimport {\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TuiTextfieldCustomContentDirective,\n} from './textfield-custom-content.directive';\nimport {\n TUI_TEXTFIELD_FILLER,\n TuiTextfieldFillerDirective,\n} from './textfield-filler.directive';\nimport {TUI_TEXTFIELD_ICON, TuiTextfieldIconDirective} from './textfield-icon.directive';\nimport {\n TUI_TEXTFIELD_ICON_LEFT,\n TuiTextfieldIconLeftDirective,\n} from './textfield-icon-left.directive';\nimport {\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TuiTextfieldLabelOutsideDirective,\n} from './textfield-label-outside.directive';\nimport {TUI_TEXTFIELD_OPTIONS, TuiTextfieldOptions} from './textfield-options';\nimport {\n TUI_TEXTFIELD_POSTFIX,\n TuiTextfieldPostfixDirective,\n} from './textfield-postfix.directive';\nimport {\n TUI_TEXTFIELD_PREFIX,\n TuiTextfieldPrefixDirective,\n} from './textfield-prefix.directive';\nimport {TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective} from './textfield-size.directive';\n\nexport const TUI_TEXTFIELD_WATCHED_CONTROLLER =\n new InjectionToken<TuiTextfieldController>(\n `[TUI_TEXTFIELD_WATCHED_CONTROLLER]: watched textfield controller`,\n );\n\nexport const TEXTFIELD_CONTROLLER_PROVIDER: Provider = [\n TuiDestroyService,\n {\n provide: TUI_TEXTFIELD_WATCHED_CONTROLLER,\n deps: [\n ChangeDetectorRef,\n TuiDestroyService,\n TUI_TEXTFIELD_OPTIONS,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_APPEARANCE_DIRECTIVE,\n TUI_TEXTFIELD_CLEANER,\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TUI_TEXTFIELD_ICON,\n TUI_TEXTFIELD_ICON_LEFT,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TUI_TEXTFIELD_SIZE,\n TUI_TEXTFIELD_PREFIX,\n TUI_TEXTFIELD_POSTFIX,\n TUI_TEXTFIELD_FILLER,\n ],\n useFactory: (\n changeDetectorRef: ChangeDetectorRef,\n destroy$: Observable<void>,\n options: TuiTextfieldOptions,\n legacyAppearance: string,\n ...controllers: [\n TuiTextfieldAppearanceDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldIconDirective,\n TuiTextfieldIconLeftDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldPrefixDirective,\n TuiTextfieldPostfixDirective,\n TuiTextfieldFillerDirective,\n ]\n ) => {\n const change$ = merge(\n ...controllers.map(({change$}) => change$ || NEVER),\n ).pipe(tuiWatch(changeDetectorRef), takeUntil(destroy$));\n\n change$.subscribe();\n\n return new TuiTextfieldController(\n change$,\n options,\n legacyAppearance,\n ...controllers,\n );\n },\n },\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAiBa,sBAAsB,CAAA;IAC/B,WACa,CAAA,OAAyB,EACzB,OAA4B,EACpB,gBAAwB,EACxB,mBAAoD,EACpD,gBAA8C,EAC9C,sBAA0D,EAC1D,aAAwC,EACxC,iBAAgD,EAChD,qBAAwD,EACxD,aAAwC,EACxC,eAA4C,EAC5C,gBAA8C,EAC9C,eAA4C,EAAA;QAZpD,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QACzB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;QACpB,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAQ;QACxB,IAAmB,CAAA,mBAAA,GAAnB,mBAAmB,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CAAkC;YAClC,qBAAqB;YACrB,4BAA4B;YAC5B,kBAAkB;YAClB,uBAAuB;YACvB,2BAA2B;YAC3B,kBAAkB;YAClB,oBAAoB;YACpB,qBAAqB;YACrB,oBAAoB;AACvB,SAAA;AACD,QAAA,UAAU,EAAE,CACR,iBAAoC,EACpC,QAA0B,EAC1B,OAA4B,EAC5B,gBAAwB,EACxB,GAAG,WAWF,KACD;AACA,YAAA,MAAM,OAAO,GAAG,KAAK,CACjB,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,EAAC,OAAO,EAAC,KAAK,OAAO,IAAI,KAAK,CAAC,CACtD,CAAC,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;YAEzD,OAAO,CAAC,SAAS,EAAE,CAAC;AAEpB,YAAA,OAAO,IAAI,sBAAsB,CAC7B,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,GAAG,WAAW,CACjB,CAAC;SACL;AACJ,KAAA;;;ACnGL;;AAEG;;;;"}
|
|
@@ -43,9 +43,9 @@ class TuiWrapperDirective {
|
|
|
43
43
|
return this.readOnly || this.active === false;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
TuiWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
47
|
-
TuiWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
46
|
+
TuiWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiWrapperDirective, deps: [{ token: TUI_MODE }], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
TuiWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiWrapperDirective, selector: "[tuiWrapper]", inputs: { disabled: "disabled", readOnly: "readOnly", hover: "hover", active: "active", focus: "focus", invalid: "invalid", appearance: "appearance" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "attr.data-appearance": "this.appearance", "class._invalid": "this.computedInvalid", "class._focused": "this.computedFocused", "attr.data-state": "this.interactiveState", "class._no-hover": "this.noHover", "class._no-active": "this.noActive" } }, providers: [MODE_PROVIDER], ngImport: i0 });
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiWrapperDirective, decorators: [{
|
|
49
49
|
type: Directive,
|
|
50
50
|
args: [{
|
|
51
51
|
selector: '[tuiWrapper]',
|
|
@@ -93,10 +93,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
93
93
|
|
|
94
94
|
class TuiWrapperModule {
|
|
95
95
|
}
|
|
96
|
-
TuiWrapperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
97
|
-
TuiWrapperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
98
|
-
TuiWrapperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
96
|
+
TuiWrapperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
97
|
+
TuiWrapperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiWrapperModule, declarations: [TuiWrapperDirective], exports: [TuiWrapperDirective] });
|
|
98
|
+
TuiWrapperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiWrapperModule });
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiWrapperModule, decorators: [{
|
|
100
100
|
type: NgModule,
|
|
101
101
|
args: [{
|
|
102
102
|
declarations: [TuiWrapperDirective],
|
|
@@ -58,8 +58,8 @@ class TuiPrimitiveYearMonthPaginationComponent {
|
|
|
58
58
|
this.valueChange.emit(value);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
TuiPrimitiveYearMonthPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
62
|
-
TuiPrimitiveYearMonthPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
61
|
+
TuiPrimitiveYearMonthPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveYearMonthPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
TuiPrimitiveYearMonthPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPrimitiveYearMonthPaginationComponent, selector: "tui-primitive-year-month-pagination", inputs: { value: "value", min: "min", max: "max" }, outputs: { valueChange: "valueChange", yearClick: "yearClick" }, ngImport: i0, template: "<tui-primitive-spin-button\n [focusable]=\"false\"\n [leftDisabled]=\"prevMonthDisabled\"\n [rightDisabled]=\"nextMonthDisabled\"\n (leftClick)=\"onPrevMonthClick()\"\n (rightClick)=\"onNextMonthClick()\"\n>\n {{ value | tuiMonth | async }}\n <ng-container *ngIf=\"oneYear; else button\">\n {{ value.formattedYear }}\n </ng-container>\n <ng-template #button>\n <button\n id=\"year-btn\"\n automation-id=\"tui-primitive-year-month-pagination__year-button\"\n tuiLink\n type=\"button\"\n [tuiFocusable]=\"false\"\n (click)=\"onYearClick()\"\n >\n {{ value.formattedYear }}\n </button>\n </ng-template>\n</tui-primitive-spin-button>\n", styles: [":host{display:block}\n"], components: [{ type: i1.TuiPrimitiveSpinButtonComponent, selector: "tui-primitive-spin-button", inputs: ["disabled", "mode", "leftDisabled", "rightDisabled"], outputs: ["leftClick", "rightClick"] }, { type: i2.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }], pipes: { "async": i3.AsyncPipe, "tuiMonth": i5.TuiMonthPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
63
63
|
__decorate([
|
|
64
64
|
tuiDefaultProp()
|
|
65
65
|
], TuiPrimitiveYearMonthPaginationComponent.prototype, "value", void 0);
|
|
@@ -69,7 +69,7 @@ __decorate([
|
|
|
69
69
|
__decorate([
|
|
70
70
|
tuiDefaultProp()
|
|
71
71
|
], TuiPrimitiveYearMonthPaginationComponent.prototype, "max", void 0);
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveYearMonthPaginationComponent, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
74
|
args: [{
|
|
75
75
|
selector: 'tui-primitive-year-month-pagination',
|
|
@@ -91,20 +91,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
91
91
|
|
|
92
92
|
class TuiPrimitiveYearMonthPaginationModule {
|
|
93
93
|
}
|
|
94
|
-
TuiPrimitiveYearMonthPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
95
|
-
TuiPrimitiveYearMonthPaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
94
|
+
TuiPrimitiveYearMonthPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveYearMonthPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
95
|
+
TuiPrimitiveYearMonthPaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveYearMonthPaginationModule, declarations: [TuiPrimitiveYearMonthPaginationComponent], imports: [CommonModule,
|
|
96
96
|
TuiFocusableModule,
|
|
97
97
|
TuiPrimitiveSpinButtonModule,
|
|
98
98
|
TuiLinkModule,
|
|
99
99
|
TuiMonthPipeModule], exports: [TuiPrimitiveYearMonthPaginationComponent] });
|
|
100
|
-
TuiPrimitiveYearMonthPaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
100
|
+
TuiPrimitiveYearMonthPaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveYearMonthPaginationModule, imports: [[
|
|
101
101
|
CommonModule,
|
|
102
102
|
TuiFocusableModule,
|
|
103
103
|
TuiPrimitiveSpinButtonModule,
|
|
104
104
|
TuiLinkModule,
|
|
105
105
|
TuiMonthPipeModule,
|
|
106
106
|
]] });
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveYearMonthPaginationModule, decorators: [{
|
|
108
108
|
type: NgModule,
|
|
109
109
|
args: [{
|
|
110
110
|
imports: [
|
|
@@ -24,9 +24,9 @@ class TuiSvgDefsHostComponent {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
TuiSvgDefsHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
28
|
-
TuiSvgDefsHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
27
|
+
TuiSvgDefsHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgDefsHostComponent, deps: [{ token: TuiSvgService }, { token: ChangeDetectorRef }, { token: TuiDestroyService, self: true }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
TuiSvgDefsHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSvgDefsHostComponent, selector: "tui-svg-defs-host", providers: [TuiDestroyService], ngImport: i0, template: "<svg:svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n>\n <ng-container *ngIf=\"isBrowser; else server\">\n <defs\n *ngFor=\"let def of items\"\n [innerHTML]=\"def\"\n ></defs>\n </ng-container>\n <ng-template #server>\n <!--svg[outerHTML] - to support SSR, because there is no support of innerHTML for for defs element in domino-->\n <defs *ngFor=\"let def of items\">\n <svg [outerHTML]=\"def\"></svg>\n </defs>\n </ng-template>\n</svg:svg>\n", styles: [":host{display:none}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgDefsHostComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: 'tui-svg-defs-host',
|
|
@@ -53,10 +53,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
53
53
|
|
|
54
54
|
class TuiSvgDefsHostModule {
|
|
55
55
|
}
|
|
56
|
-
TuiSvgDefsHostModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
57
|
-
TuiSvgDefsHostModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
58
|
-
TuiSvgDefsHostModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
56
|
+
TuiSvgDefsHostModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgDefsHostModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
57
|
+
TuiSvgDefsHostModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgDefsHostModule, declarations: [TuiSvgDefsHostComponent], imports: [CommonModule, TuiLetModule], exports: [TuiSvgDefsHostComponent] });
|
|
58
|
+
TuiSvgDefsHostModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgDefsHostModule, imports: [[CommonModule, TuiLetModule]] });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSvgDefsHostModule, decorators: [{
|
|
60
60
|
type: NgModule,
|
|
61
61
|
args: [{
|
|
62
62
|
imports: [CommonModule, TuiLetModule],
|