@taiga-ui/core 3.18.0 → 3.19.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/bundles/taiga-ui-core-abstract.umd.js +10 -19
- 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 +41 -50
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +38 -47
- 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 +6 -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/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 +3 -3
- package/esm2015/abstract/abstract-textfield-host.js +3 -3
- 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 +3 -3
- package/esm2015/directives/dropdown/dropdown-driver.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-host.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-hover.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-manual.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-position.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown-selection.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown.component.js +3 -3
- package/esm2015/directives/dropdown/dropdown.directive.js +3 -3
- package/esm2015/directives/dropdown/dropdown.module.js +4 -4
- package/esm2015/directives/hint/hint-describe.directive.js +3 -3
- package/esm2015/directives/hint/hint-driver.directive.js +3 -3
- package/esm2015/directives/hint/hint-host.directive.js +3 -3
- package/esm2015/directives/hint/hint-hover.directive.js +3 -3
- package/esm2015/directives/hint/hint-manual.directive.js +3 -3
- 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 +3 -3
- package/esm2015/directives/hint/hint.component.js +3 -3
- package/esm2015/directives/hint/hint.directive.js +3 -3
- package/esm2015/directives/hint/hint.module.js +4 -4
- 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/fesm2015/taiga-ui-core-abstract.js +6 -6
- 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 +37 -37
- package/fesm2015/taiga-ui-core-directives-hint.js +34 -34
- 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 +2 -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
|
@@ -51,8 +51,8 @@ class TuiHintOptionsDirective extends AbstractTuiController {
|
|
|
51
51
|
this.icon = this.options.icon;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
TuiHintOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
55
|
-
TuiHintOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
54
|
+
TuiHintOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintOptionsDirective, deps: [{ token: TUI_HINT_OPTIONS, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
55
|
+
TuiHintOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: { content: ["tuiHintContent", "content"], direction: ["tuiHintDirection", "direction"], appearance: ["tuiHintAppearance", "appearance"], showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [
|
|
56
56
|
{
|
|
57
57
|
provide: TUI_HINT_OPTIONS,
|
|
58
58
|
useExisting: forwardRef(() => TuiHintOptionsDirective),
|
|
@@ -73,7 +73,7 @@ __decorate([
|
|
|
73
73
|
__decorate([
|
|
74
74
|
tuiDefaultProp()
|
|
75
75
|
], TuiHintOptionsDirective.prototype, "hideDelay", void 0);
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintOptionsDirective, decorators: [{
|
|
77
77
|
type: Directive,
|
|
78
78
|
args: [{
|
|
79
79
|
selector: '[tuiHintContent]',
|
|
@@ -121,15 +121,15 @@ class TuiHintHoverDirective extends TuiDriver {
|
|
|
121
121
|
this.toggle$.next(visible);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
TuiHintHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
125
|
-
TuiHintHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
124
|
+
TuiHintHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintHoverDirective, deps: [{ token: TuiHoveredService }, { token: TUI_HINT_OPTIONS }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
125
|
+
TuiHintHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container)", inputs: { showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [tuiAsDriver(TuiHintHoverDirective), TuiHoveredService], exportAs: ["tuiHintHover"], usesInheritance: true, ngImport: i0 });
|
|
126
126
|
__decorate([
|
|
127
127
|
tuiDefaultProp()
|
|
128
128
|
], TuiHintHoverDirective.prototype, "showDelay", void 0);
|
|
129
129
|
__decorate([
|
|
130
130
|
tuiDefaultProp()
|
|
131
131
|
], TuiHintHoverDirective.prototype, "hideDelay", void 0);
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintHoverDirective, decorators: [{
|
|
133
133
|
type: Directive,
|
|
134
134
|
args: [{
|
|
135
135
|
selector: '[tuiHint]:not(ng-container)',
|
|
@@ -165,12 +165,12 @@ class TuiHintPointerDirective extends TuiHintHoverDirective {
|
|
|
165
165
|
return this.currentRect;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
TuiHintPointerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
169
|
-
TuiHintPointerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
168
|
+
TuiHintPointerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintPointerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
169
|
+
TuiHintPointerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintPointerDirective, selector: "[tuiHint][tuiHintPointer]", host: { listeners: { "mousemove.silent": "onMove($event)" } }, providers: [
|
|
170
170
|
tuiAsRectAccessor(TuiHintPointerDirective),
|
|
171
171
|
tuiAsDriver(TuiHintPointerDirective),
|
|
172
172
|
], usesInheritance: true, ngImport: i0 });
|
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintPointerDirective, decorators: [{
|
|
174
174
|
type: Directive,
|
|
175
175
|
args: [{
|
|
176
176
|
selector: '[tuiHint][tuiHintPointer]',
|
|
@@ -228,8 +228,8 @@ class TuiHintComponent {
|
|
|
228
228
|
style.setProperty('--left', tuiPx(tuiClamp(beakLeft, 0.5, width - 1)));
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
|
-
TuiHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
232
|
-
TuiHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
231
|
+
TuiHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintComponent, deps: [{ token: TuiHoveredService }, { token: TuiPositionService }, { token: TuiDestroyService, self: true }, { token: TuiRectAccessor }, { token: ElementRef }, { token: TUI_ANIMATION_OPTIONS }, { token: POLYMORPHEUS_CONTEXT }, { token: TuiHintHoverDirective }, { token: TuiHintPointerDirective, optional: true }, { token: TuiModeDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
232
|
+
TuiHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintComponent, selector: "tui-hint", host: { listeners: { "document:click": "onClick($event.target)" }, properties: { "@tuiFadeIn": "this.animation", "attr.data-appearance": "this.appearance", "class._untouchable": "this.untouchable" } }, providers: [TuiDestroyService, TuiPositionService, TuiHoveredService], ngImport: i0, template: `
|
|
233
233
|
<ng-container *polymorpheusOutlet="content as text; context: context">
|
|
234
234
|
{{ text }}
|
|
235
235
|
</ng-container>
|
|
@@ -237,7 +237,7 @@ TuiHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
237
237
|
__decorate([
|
|
238
238
|
tuiPure
|
|
239
239
|
], TuiHintComponent.prototype, "update", null);
|
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintComponent, decorators: [{
|
|
241
241
|
type: Component,
|
|
242
242
|
args: [{
|
|
243
243
|
selector: 'tui-hint',
|
|
@@ -339,8 +339,8 @@ class TuiHintDirective {
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
TuiHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
343
|
-
TuiHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
342
|
+
TuiHintDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDirective, deps: [{ token: ElementRef }, { token: PolymorpheusComponent }, { token: TuiHintService }, { token: TUI_HINT_OPTIONS }, { token: TuiActiveZoneDirective, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
343
|
+
TuiHintDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDirective, selector: "[tuiHint]:not(ng-container)", inputs: { content: ["tuiHint", "content"], context: ["tuiHintContext", "context"], tuiHintAppearance: "tuiHintAppearance" }, providers: [
|
|
344
344
|
tuiAsRectAccessor(TuiHintDirective),
|
|
345
345
|
tuiAsVehicle(TuiHintDirective),
|
|
346
346
|
{
|
|
@@ -355,7 +355,7 @@ __decorate([
|
|
|
355
355
|
__decorate([
|
|
356
356
|
tuiDefaultProp()
|
|
357
357
|
], TuiHintDirective.prototype, "tuiHintAppearance", void 0);
|
|
358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDirective, decorators: [{
|
|
359
359
|
type: Directive,
|
|
360
360
|
args: [{
|
|
361
361
|
selector: '[tuiHint]:not(ng-container)',
|
|
@@ -419,12 +419,12 @@ class TuiHintDescribeDirective extends TuiDriver {
|
|
|
419
419
|
this.elementRef.nativeElement);
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
TuiHintDescribeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
423
|
-
TuiHintDescribeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
422
|
+
TuiHintDescribeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDescribeDirective, deps: [{ token: NgZone }, { token: TuiHintHoverDirective }, { token: DOCUMENT }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
423
|
+
TuiHintDescribeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDescribeDirective, selector: "[tuiHintDescribe]", inputs: { tuiHintDescribe: "tuiHintDescribe" }, providers: [tuiAsDriver(TuiHintDescribeDirective)], usesInheritance: true, ngImport: i0 });
|
|
424
424
|
__decorate([
|
|
425
425
|
tuiPure
|
|
426
426
|
], TuiHintDescribeDirective.prototype, "element", null);
|
|
427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDescribeDirective, decorators: [{
|
|
428
428
|
type: Directive,
|
|
429
429
|
args: [{
|
|
430
430
|
selector: '[tuiHintDescribe]',
|
|
@@ -448,9 +448,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
448
448
|
|
|
449
449
|
class TuiHintDriverDirective extends AbstractTuiDriverDirective {
|
|
450
450
|
}
|
|
451
|
-
TuiHintDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
452
|
-
TuiHintDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
451
|
+
TuiHintDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDriverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
452
|
+
TuiHintDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDriverDirective, selector: "[tuiHint]", providers: [TuiDestroyService], usesInheritance: true, ngImport: i0 });
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintDriverDirective, decorators: [{
|
|
454
454
|
type: Directive,
|
|
455
455
|
args: [{
|
|
456
456
|
selector: '[tuiHint]',
|
|
@@ -464,9 +464,9 @@ class TuiHintHostDirective extends TuiRectAccessor {
|
|
|
464
464
|
return ((_a = this.tuiHintHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || EMPTY_CLIENT_RECT;
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
|
-
TuiHintHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
468
|
-
TuiHintHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
467
|
+
TuiHintHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
468
|
+
TuiHintHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintHostDirective, selector: "[tuiHint][tuiHintHost]", inputs: { tuiHintHost: "tuiHintHost" }, providers: [tuiAsRectAccessor(TuiHintHostDirective)], usesInheritance: true, ngImport: i0 });
|
|
469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintHostDirective, decorators: [{
|
|
470
470
|
type: Directive,
|
|
471
471
|
args: [{
|
|
472
472
|
selector: '[tuiHint][tuiHintHost]',
|
|
@@ -486,9 +486,9 @@ class TuiHintManualDirective extends TuiDriver {
|
|
|
486
486
|
this.stream$.next(this.tuiHintManual);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
TuiHintManualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
490
|
-
TuiHintManualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
491
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
489
|
+
TuiHintManualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintManualDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
490
|
+
TuiHintManualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintManualDirective, selector: "[tuiHint][tuiHintManual]", inputs: { tuiHintManual: "tuiHintManual" }, providers: [tuiAsDriver(TuiHintManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintManualDirective, decorators: [{
|
|
492
492
|
type: Directive,
|
|
493
493
|
args: [{
|
|
494
494
|
selector: '[tuiHint][tuiHintManual]',
|
|
@@ -559,12 +559,12 @@ class TuiHintPositionDirective {
|
|
|
559
559
|
left + width < viewport.right - OFFSET);
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
TuiHintPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
563
|
-
TuiHintPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
562
|
+
TuiHintPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintPositionDirective, deps: [{ token: TUI_HINT_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiRectAccessor }], target: i0.ɵɵFactoryTarget.Directive });
|
|
563
|
+
TuiHintPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition])", inputs: { direction: ["tuiHintDirection", "direction"] }, providers: [tuiAsPositionAccessor(TuiHintPositionDirective)], ngImport: i0 });
|
|
564
564
|
__decorate([
|
|
565
565
|
tuiDefaultProp()
|
|
566
566
|
], TuiHintPositionDirective.prototype, "direction", void 0);
|
|
567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintPositionDirective, decorators: [{
|
|
568
568
|
type: Directive,
|
|
569
569
|
args: [{
|
|
570
570
|
selector: '[tuiHint]:not([tuiHintCustomPosition])',
|
|
@@ -586,8 +586,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
586
586
|
|
|
587
587
|
class TuiHintModule {
|
|
588
588
|
}
|
|
589
|
-
TuiHintModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
590
|
-
TuiHintModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
589
|
+
TuiHintModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
590
|
+
TuiHintModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintModule, declarations: [TuiHintComponent,
|
|
591
591
|
TuiHintDirective,
|
|
592
592
|
TuiHintDriverDirective,
|
|
593
593
|
TuiHintHostDirective,
|
|
@@ -606,8 +606,8 @@ TuiHintModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
606
606
|
TuiHintDescribeDirective,
|
|
607
607
|
TuiHintPositionDirective,
|
|
608
608
|
TuiHintOptionsDirective] });
|
|
609
|
-
TuiHintModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
609
|
+
TuiHintModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintModule, imports: [[CommonModule, PolymorpheusModule]] });
|
|
610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiHintModule, decorators: [{
|
|
611
611
|
type: NgModule,
|
|
612
612
|
args: [{
|
|
613
613
|
imports: [CommonModule, PolymorpheusModule],
|
|
@@ -5,8 +5,8 @@ import { TUI_VALUE_ACCESSOR } from '@taiga-ui/core/tokens';
|
|
|
5
5
|
|
|
6
6
|
class TuiMaskAccessorDirective {
|
|
7
7
|
}
|
|
8
|
-
TuiMaskAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
9
|
-
TuiMaskAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
8
|
+
TuiMaskAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
TuiMaskAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiMaskAccessorDirective, selector: "input[tuiMaskAccessor]", providers: [
|
|
10
10
|
{
|
|
11
11
|
provide: NG_VALUE_ACCESSOR,
|
|
12
12
|
deps: [[new Optional(), TUI_VALUE_ACCESSOR], DefaultValueAccessor],
|
|
@@ -14,7 +14,7 @@ TuiMaskAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0
|
|
|
14
14
|
useFactory: (accessor, fallback) => (accessor ? accessor[0] : fallback),
|
|
15
15
|
},
|
|
16
16
|
], ngImport: i0 });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorDirective, decorators: [{
|
|
18
18
|
type: Directive,
|
|
19
19
|
args: [{
|
|
20
20
|
selector: 'input[tuiMaskAccessor]',
|
|
@@ -34,10 +34,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
34
34
|
*/
|
|
35
35
|
class TuiMaskAccessorModule {
|
|
36
36
|
}
|
|
37
|
-
TuiMaskAccessorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
38
|
-
TuiMaskAccessorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
39
|
-
TuiMaskAccessorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
37
|
+
TuiMaskAccessorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
38
|
+
TuiMaskAccessorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorModule, declarations: [TuiMaskAccessorDirective], exports: [TuiMaskAccessorDirective] });
|
|
39
|
+
TuiMaskAccessorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorModule });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaskAccessorModule, decorators: [{
|
|
41
41
|
type: NgModule,
|
|
42
42
|
args: [{
|
|
43
43
|
declarations: [TuiMaskAccessorDirective],
|
|
@@ -8,9 +8,9 @@ class TuiModeDirective extends AbstractTuiController {
|
|
|
8
8
|
this.mode = null;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
TuiModeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
12
|
-
TuiModeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
11
|
+
TuiModeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
TuiModeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiModeDirective, selector: "[tuiMode]", inputs: { mode: ["tuiMode", "mode"] }, usesInheritance: true, ngImport: i0 });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: '[tuiMode]',
|
|
@@ -22,10 +22,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
22
22
|
|
|
23
23
|
class TuiModeModule {
|
|
24
24
|
}
|
|
25
|
-
TuiModeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
26
|
-
TuiModeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
27
|
-
TuiModeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
25
|
+
TuiModeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
26
|
+
TuiModeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeModule, declarations: [TuiModeDirective], exports: [TuiModeDirective] });
|
|
27
|
+
TuiModeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeModule });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiModeModule, decorators: [{
|
|
29
29
|
type: NgModule,
|
|
30
30
|
args: [{
|
|
31
31
|
declarations: [TuiModeDirective],
|
|
@@ -31,12 +31,12 @@ class TuiScrollIntoViewDirective {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
TuiScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
35
|
-
TuiScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
34
|
+
TuiScrollIntoViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewDirective, deps: [{ token: ElementRef }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
TuiScrollIntoViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiScrollIntoViewDirective, selector: "[tuiScrollIntoView]", inputs: { tuiScrollIntoView: "tuiScrollIntoView" }, providers: [TuiDestroyService], ngImport: i0 });
|
|
36
36
|
__decorate([
|
|
37
37
|
tuiRequiredSetter()
|
|
38
38
|
], TuiScrollIntoViewDirective.prototype, "tuiScrollIntoView", null);
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewDirective, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: '[tuiScrollIntoView]',
|
|
@@ -56,10 +56,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
56
56
|
|
|
57
57
|
class TuiScrollIntoViewModule {
|
|
58
58
|
}
|
|
59
|
-
TuiScrollIntoViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
60
|
-
TuiScrollIntoViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
61
|
-
TuiScrollIntoViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
59
|
+
TuiScrollIntoViewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
60
|
+
TuiScrollIntoViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewModule, declarations: [TuiScrollIntoViewDirective], exports: [TuiScrollIntoViewDirective] });
|
|
61
|
+
TuiScrollIntoViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewModule });
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiScrollIntoViewModule, decorators: [{
|
|
63
63
|
type: NgModule,
|
|
64
64
|
args: [{
|
|
65
65
|
declarations: [TuiScrollIntoViewDirective],
|
|
@@ -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
|