@taiga-ui/core 2.54.0 → 2.56.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 +15 -15
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-animations.umd.js +138 -138
- package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
- package/bundles/taiga-ui-core-animations.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +12 -12
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +17 -17
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-button.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +34 -34
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +24 -24
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js +38 -38
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +4 -4
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +12 -12
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +19 -19
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-group.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +47 -47
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +10 -10
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +4 -4
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +11 -11
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +4 -4
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +8 -8
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +7 -7
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +54 -54
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +4 -4
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +26 -26
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +8 -8
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +15 -15
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +2 -2
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +7 -7
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +17 -17
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-color.umd.js +6 -6
- package/bundles/taiga-ui-core-directives-color.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-color.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.js +8 -8
- package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js +11 -11
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +2 -2
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js +8 -8
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +7 -7
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js +4 -4
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +2 -2
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mode.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +5 -5
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-table-mode.umd.js +2 -2
- package/bundles/taiga-ui-core-directives-table-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-table-mode.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +35 -35
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +9 -9
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.js +2 -2
- package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +1 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +3 -3
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js +1 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-month.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.js +1 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.js +2 -2
- package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +7 -7
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +40 -40
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +16 -16
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +17 -17
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +28 -28
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +12 -12
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.js +4 -4
- package/bundles/taiga-ui-core-utils-polyfills.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.min.js.map +1 -1
- package/components/alert/taiga-ui-core-components-alert.metadata.json +1 -1
- package/components/button/taiga-ui-core-components-button.metadata.json +1 -1
- package/components/group/taiga-ui-core-components-group.metadata.json +1 -1
- package/constants/taiga-ui-core-constants.metadata.json +1 -1
- package/constants/version.d.ts +1 -1
- package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.metadata.json +1 -1
- package/esm2015/abstract/abstract-dropdown.js +12 -12
- package/esm2015/abstract/abstract-hint-options.js +2 -2
- package/esm2015/abstract/abstract-hint.js +4 -4
- package/esm2015/animations/animations.js +140 -140
- package/esm2015/components/alert/alert.component.js +11 -11
- package/esm2015/components/alert/alert.service.js +3 -3
- package/esm2015/components/button/button-options.js +3 -3
- package/esm2015/components/button/button.component.js +16 -16
- package/esm2015/components/calendar/calendar.component.js +2 -2
- package/esm2015/components/data-list/data-list-dropdown-manager.directive.js +7 -7
- package/esm2015/components/data-list/data-list.component.js +12 -12
- package/esm2015/components/data-list/data-list.directive.js +2 -2
- package/esm2015/components/data-list/opt-group.directive.js +5 -5
- package/esm2015/components/data-list/option/option.component.js +12 -12
- package/esm2015/components/dialog/dialog.component.js +12 -12
- package/esm2015/components/dialog/dialog.directive.js +4 -4
- package/esm2015/components/dialog/dialog.providers.js +7 -7
- package/esm2015/components/dialog/dialog.service.js +5 -5
- package/esm2015/components/dropdown-box/dropdown-box.component.js +39 -39
- package/esm2015/components/error/error.component.js +5 -5
- package/esm2015/components/expand/expand-content.directive.js +2 -2
- package/esm2015/components/expand/expand.component.js +12 -12
- package/esm2015/components/group/group-styles.component.js +2 -2
- package/esm2015/components/group/group.component.js +7 -5
- package/esm2015/components/group/group.directive.js +15 -15
- package/esm2015/components/hints-host/hint-box/hint-box.component.js +46 -46
- package/esm2015/components/hints-host/hints-host.component.js +3 -3
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +2 -2
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +10 -10
- package/esm2015/components/label/label.component.js +5 -5
- package/esm2015/components/link/link.component.js +12 -12
- package/esm2015/components/loader/loader-options.js +3 -3
- package/esm2015/components/loader/loader.component.js +3 -3
- package/esm2015/components/notification/notification.component.js +9 -9
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -3
- package/esm2015/components/primitive-checkbox/checkbox-options.js +5 -5
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +4 -4
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +3 -3
- package/esm2015/components/primitive-textfield/primitive-textfield-options.js +4 -4
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +28 -28
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +2 -2
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +13 -13
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +12 -12
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
- package/esm2015/components/root/root.component.js +5 -5
- package/esm2015/components/scroll-controls/scroll-controls.component.js +4 -4
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +2 -2
- package/esm2015/components/scroll-controls/scrollbar.directive.js +23 -23
- package/esm2015/components/scrollbar/scroll-ref.directive.js +2 -2
- package/esm2015/components/scrollbar/scrollable.directive.js +2 -2
- package/esm2015/components/scrollbar/scrollbar.component.js +7 -7
- package/esm2015/components/svg/svg.component.js +16 -16
- package/esm2015/components/theme-night/theme-night.component.js +3 -3
- package/esm2015/components/tooltip/tooltip.component.js +8 -8
- package/esm2015/constants/decimal-symbols.js +2 -2
- package/esm2015/constants/default-icons-path.js +2 -2
- package/esm2015/constants/editing-keys.js +10 -10
- package/esm2015/constants/events.js +5 -5
- package/esm2015/constants/mask-caret-trap.js +2 -2
- package/esm2015/constants/version.js +2 -2
- package/esm2015/directives/color/color.directive.js +7 -7
- package/esm2015/directives/described-by/described-by.directive.js +5 -5
- package/esm2015/directives/described-by/described-by.providers.js +3 -3
- package/esm2015/directives/dropdown/dropdown.directive.js +3 -3
- package/esm2015/directives/dropdown-controller/dropdown-controller.directive.js +10 -10
- package/esm2015/directives/dropdown-controller/dropdown-controller.provider.js +2 -2
- package/esm2015/directives/dropdown-controller/dropdown-controller.token.js +2 -2
- package/esm2015/directives/hint/hint-options.js +3 -3
- package/esm2015/directives/hint/hint.directive.js +6 -6
- package/esm2015/directives/hint-controller/hint-controller.directive.js +7 -7
- package/esm2015/directives/hint-controller/hint-controller.provider.js +2 -2
- package/esm2015/directives/hint-controller/hint-controller.token.js +2 -2
- package/esm2015/directives/manual-hint/manual-hint-options.js +2 -2
- package/esm2015/directives/manual-hint/manual-hint.directive.js +4 -4
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +2 -2
- package/esm2015/directives/mode/mode.directive.js +3 -3
- package/esm2015/directives/pointer-hint/pointer-hint-options.js +2 -2
- package/esm2015/directives/pointer-hint/pointer-hint.directive.js +5 -5
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +2 -2
- package/esm2015/directives/table-mode/table-mode.directive.js +3 -3
- package/esm2015/directives/textfield-controller/textfield-autocomplete.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +4 -4
- package/esm2015/directives/textfield-controller/textfield-controller.provider.js +2 -2
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-example-text.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-input-mode.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +4 -4
- package/esm2015/directives/textfield-controller/textfield-max-length.directive.js +4 -4
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield-type.directive.js +5 -5
- package/esm2015/directives/textfield-controller/textfield.controller.js +2 -2
- package/esm2015/directives/wrapper/wrapper.directive.js +10 -10
- package/esm2015/enums/appearance.js +1 -1
- package/esm2015/enums/base-color.js +1 -1
- package/esm2015/enums/button-shape.js +1 -1
- package/esm2015/enums/decimal.js +1 -1
- package/esm2015/enums/dropdown-animation.js +1 -1
- package/esm2015/enums/dropdown-width.js +1 -1
- package/esm2015/enums/hint-mode.js +1 -1
- package/esm2015/enums/interactive-state.js +1 -1
- package/esm2015/enums/link-mode.js +1 -1
- package/esm2015/enums/notification.js +1 -1
- package/esm2015/enums/orientation.js +1 -1
- package/esm2015/enums/range-state.js +1 -1
- package/esm2015/enums/support-color.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +2 -2
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +2 -2
- package/esm2015/observables/smart-search.js +3 -3
- package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +2 -2
- package/esm2015/pipes/format-number/format-number.pipe.js +2 -2
- package/esm2015/pipes/format-phone/format-phone.pipe.js +4 -4
- package/esm2015/pipes/month/month.pipe.js +2 -2
- package/esm2015/pipes/pluralize/pluralize.pipe.js +2 -2
- package/esm2015/providers/is-mobile-resolution.provider.js +2 -2
- package/esm2015/providers/mode.provider.js +2 -2
- package/esm2015/services/hint.service.js +2 -2
- package/esm2015/services/night-theme.service.js +4 -4
- package/esm2015/services/svg.service.js +4 -4
- package/esm2015/tokens/animation-options.js +2 -2
- package/esm2015/tokens/animations-duration.js +2 -2
- package/esm2015/tokens/assert-enabled.js +2 -2
- package/esm2015/tokens/data-list-accessor.js +2 -2
- package/esm2015/tokens/data-list-host.js +2 -2
- package/esm2015/tokens/document-or-shadow-root.js +2 -2
- package/esm2015/tokens/dropdown-directive.js +2 -2
- package/esm2015/tokens/element-ref.js +2 -2
- package/esm2015/tokens/first-day-of-week.js +2 -2
- package/esm2015/tokens/i18n.js +10 -10
- package/esm2015/tokens/icon-place.js +3 -3
- package/esm2015/tokens/icons-path.js +2 -2
- package/esm2015/tokens/icons.js +2 -2
- package/esm2015/tokens/is-mobile-resolution.js +3 -3
- package/esm2015/tokens/media.js +2 -2
- package/esm2015/tokens/mode.js +2 -2
- package/esm2015/tokens/notification-options.js +3 -3
- package/esm2015/tokens/number-format.js +3 -3
- package/esm2015/tokens/option-content.js +2 -2
- package/esm2015/tokens/ordered-short-week-days.js +2 -2
- package/esm2015/tokens/scroll-ref.js +2 -2
- package/esm2015/tokens/svg-content-processor.js +2 -2
- package/esm2015/tokens/svg-src-processor.js +2 -2
- package/esm2015/tokens/textfield-appearance.js +2 -2
- package/esm2015/tokens/textfield-host.js +2 -2
- package/esm2015/tokens/theme.js +3 -3
- package/esm2015/tokens/value-accessor.js +2 -2
- package/esm2015/utils/dom/are-css-vars-supported.js +2 -2
- package/esm2015/utils/dom/check-fixed-position.js +3 -3
- package/esm2015/utils/dom/get-safe-area-size.js +4 -4
- package/esm2015/utils/dom/process-icon.js +11 -11
- package/esm2015/utils/format/format-number.js +5 -5
- package/esm2015/utils/format/format-phone.js +9 -9
- package/esm2015/utils/format/get-fractional-part-padded.js +3 -3
- package/esm2015/utils/format/number-to-string-without-exp.js +3 -3
- package/esm2015/utils/format/other-decimal-symbol.js +2 -2
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +11 -11
- package/esm2015/utils/mask/create-correction-mask.js +3 -3
- package/esm2015/utils/mask/create-number-mask.js +13 -13
- package/esm2015/utils/mask/masked-money-value-is-empty.js +3 -3
- package/esm2015/utils/mask/masked-number-string-to-number.js +2 -2
- package/esm2015/utils/miscellaneous/color-fallback.js +8 -8
- package/esm2015/utils/miscellaneous/icons-path-factory.js +3 -3
- package/esm2015/utils/miscellaneous/is-presumed-html-string.js +2 -2
- package/esm2015/utils/miscellaneous/size-bigger.js +3 -3
- package/esm2015/utils/polyfills/inner-html.js +5 -5
- package/esm5/abstract/abstract-dropdown.js +12 -12
- package/esm5/abstract/abstract-hint-options.js +2 -2
- package/esm5/abstract/abstract-hint.js +4 -4
- package/esm5/animations/animations.js +140 -140
- package/esm5/components/alert/alert.component.js +11 -11
- package/esm5/components/alert/alert.service.js +3 -3
- package/esm5/components/button/button-options.js +3 -3
- package/esm5/components/button/button.component.js +16 -16
- package/esm5/components/calendar/calendar.component.js +2 -2
- package/esm5/components/data-list/data-list-dropdown-manager.directive.js +8 -8
- package/esm5/components/data-list/data-list.component.js +12 -12
- package/esm5/components/data-list/data-list.directive.js +2 -2
- package/esm5/components/data-list/opt-group.directive.js +5 -5
- package/esm5/components/data-list/option/option.component.js +12 -12
- package/esm5/components/dialog/dialog.component.js +12 -12
- package/esm5/components/dialog/dialog.directive.js +4 -4
- package/esm5/components/dialog/dialog.providers.js +7 -7
- package/esm5/components/dialog/dialog.service.js +5 -5
- package/esm5/components/dropdown-box/dropdown-box.component.js +39 -39
- package/esm5/components/error/error.component.js +5 -5
- package/esm5/components/expand/expand-content.directive.js +2 -2
- package/esm5/components/expand/expand.component.js +12 -12
- package/esm5/components/group/group-styles.component.js +2 -2
- package/esm5/components/group/group.component.js +5 -5
- package/esm5/components/group/group.directive.js +15 -15
- package/esm5/components/hints-host/hint-box/hint-box.component.js +46 -46
- package/esm5/components/hints-host/hints-host.component.js +3 -3
- package/esm5/components/hosted-dropdown/hosted-dropdown-connector.directive.js +2 -2
- package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +10 -10
- package/esm5/components/label/label.component.js +5 -5
- package/esm5/components/link/link.component.js +12 -12
- package/esm5/components/loader/loader-options.js +3 -3
- package/esm5/components/loader/loader.component.js +3 -3
- package/esm5/components/notification/notification.component.js +9 -9
- package/esm5/components/primitive-calendar/primitive-calendar.component.js +3 -3
- package/esm5/components/primitive-checkbox/checkbox-options.js +5 -5
- package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +4 -4
- package/esm5/components/primitive-spin-button/primitive-spin-button.component.js +3 -3
- package/esm5/components/primitive-textfield/primitive-textfield-options.js +4 -4
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +28 -28
- package/esm5/components/primitive-textfield/primitive-textfield.directive.js +2 -2
- package/esm5/components/primitive-textfield/textfield/textfield.component.js +13 -13
- package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +12 -12
- package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
- package/esm5/components/root/root.component.js +5 -5
- package/esm5/components/scroll-controls/scroll-controls.component.js +4 -4
- package/esm5/components/scroll-controls/scrollbar-wrapper.directive.js +2 -2
- package/esm5/components/scroll-controls/scrollbar.directive.js +23 -23
- package/esm5/components/scrollbar/scroll-ref.directive.js +2 -2
- package/esm5/components/scrollbar/scrollable.directive.js +2 -2
- package/esm5/components/scrollbar/scrollbar.component.js +7 -7
- package/esm5/components/svg/svg.component.js +16 -16
- package/esm5/components/theme-night/theme-night.component.js +3 -3
- package/esm5/components/tooltip/tooltip.component.js +8 -8
- package/esm5/constants/decimal-symbols.js +2 -2
- package/esm5/constants/default-icons-path.js +2 -2
- package/esm5/constants/editing-keys.js +10 -10
- package/esm5/constants/events.js +5 -5
- package/esm5/constants/mask-caret-trap.js +2 -2
- package/esm5/constants/version.js +2 -2
- package/esm5/directives/color/color.directive.js +7 -7
- package/esm5/directives/described-by/described-by.directive.js +5 -5
- package/esm5/directives/described-by/described-by.providers.js +5 -5
- package/esm5/directives/dropdown/dropdown.directive.js +3 -3
- package/esm5/directives/dropdown-controller/dropdown-controller.directive.js +10 -10
- package/esm5/directives/dropdown-controller/dropdown-controller.provider.js +2 -2
- package/esm5/directives/dropdown-controller/dropdown-controller.token.js +2 -2
- package/esm5/directives/hint/hint-options.js +3 -3
- package/esm5/directives/hint/hint.directive.js +6 -6
- package/esm5/directives/hint-controller/hint-controller.directive.js +7 -7
- package/esm5/directives/hint-controller/hint-controller.provider.js +2 -2
- package/esm5/directives/hint-controller/hint-controller.token.js +2 -2
- package/esm5/directives/manual-hint/manual-hint-options.js +2 -2
- package/esm5/directives/manual-hint/manual-hint.directive.js +4 -4
- package/esm5/directives/mask-accessor/mask-accessor.directive.js +2 -2
- package/esm5/directives/mode/mode.directive.js +3 -3
- package/esm5/directives/pointer-hint/pointer-hint-options.js +2 -2
- package/esm5/directives/pointer-hint/pointer-hint.directive.js +5 -5
- package/esm5/directives/scroll-into-view/scroll-into-view.directive.js +2 -2
- package/esm5/directives/table-mode/table-mode.directive.js +3 -3
- package/esm5/directives/textfield-controller/textfield-autocomplete.directive.js +5 -5
- package/esm5/directives/textfield-controller/textfield-cleaner.directive.js +4 -4
- package/esm5/directives/textfield-controller/textfield-controller.provider.js +2 -2
- package/esm5/directives/textfield-controller/textfield-custom-content.directive.js +5 -5
- package/esm5/directives/textfield-controller/textfield-example-text.directive.js +5 -5
- package/esm5/directives/textfield-controller/textfield-input-mode.directive.js +5 -5
- package/esm5/directives/textfield-controller/textfield-label-outside.directive.js +4 -4
- package/esm5/directives/textfield-controller/textfield-max-length.directive.js +4 -4
- package/esm5/directives/textfield-controller/textfield-size.directive.js +5 -5
- package/esm5/directives/textfield-controller/textfield-type.directive.js +5 -5
- package/esm5/directives/textfield-controller/textfield.controller.js +2 -2
- package/esm5/directives/wrapper/wrapper.directive.js +10 -10
- package/esm5/enums/appearance.js +1 -1
- package/esm5/enums/base-color.js +1 -1
- package/esm5/enums/button-shape.js +1 -1
- package/esm5/enums/decimal.js +1 -1
- package/esm5/enums/dropdown-animation.js +1 -1
- package/esm5/enums/dropdown-width.js +1 -1
- package/esm5/enums/hint-mode.js +1 -1
- package/esm5/enums/interactive-state.js +1 -1
- package/esm5/enums/link-mode.js +1 -1
- package/esm5/enums/notification.js +1 -1
- package/esm5/enums/orientation.js +1 -1
- package/esm5/enums/range-state.js +1 -1
- package/esm5/enums/support-color.js +1 -1
- package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +2 -2
- package/esm5/internal/svg-defs-host/svg-defs-host.component.js +2 -2
- package/esm5/observables/smart-search.js +3 -3
- package/esm5/pipes/calendar-sheet/calendar-sheet.pipe.js +2 -2
- package/esm5/pipes/format-number/format-number.pipe.js +2 -2
- package/esm5/pipes/format-phone/format-phone.pipe.js +4 -4
- package/esm5/pipes/month/month.pipe.js +2 -2
- package/esm5/pipes/pluralize/pluralize.pipe.js +2 -2
- package/esm5/providers/is-mobile-resolution.provider.js +2 -2
- package/esm5/providers/mode.provider.js +2 -2
- package/esm5/services/hint.service.js +2 -2
- package/esm5/services/night-theme.service.js +4 -4
- package/esm5/services/svg.service.js +4 -4
- package/esm5/tokens/animation-options.js +2 -2
- package/esm5/tokens/animations-duration.js +2 -2
- package/esm5/tokens/assert-enabled.js +2 -2
- package/esm5/tokens/data-list-accessor.js +2 -2
- package/esm5/tokens/data-list-host.js +2 -2
- package/esm5/tokens/document-or-shadow-root.js +2 -2
- package/esm5/tokens/dropdown-directive.js +2 -2
- package/esm5/tokens/element-ref.js +2 -2
- package/esm5/tokens/first-day-of-week.js +2 -2
- package/esm5/tokens/i18n.js +10 -10
- package/esm5/tokens/icon-place.js +3 -3
- package/esm5/tokens/icons-path.js +2 -2
- package/esm5/tokens/icons.js +2 -2
- package/esm5/tokens/is-mobile-resolution.js +3 -3
- package/esm5/tokens/media.js +2 -2
- package/esm5/tokens/mode.js +2 -2
- package/esm5/tokens/notification-options.js +3 -3
- package/esm5/tokens/number-format.js +3 -3
- package/esm5/tokens/option-content.js +2 -2
- package/esm5/tokens/ordered-short-week-days.js +2 -2
- package/esm5/tokens/scroll-ref.js +2 -2
- package/esm5/tokens/svg-content-processor.js +2 -2
- package/esm5/tokens/svg-src-processor.js +2 -2
- package/esm5/tokens/textfield-appearance.js +2 -2
- package/esm5/tokens/textfield-host.js +2 -2
- package/esm5/tokens/theme.js +3 -3
- package/esm5/tokens/value-accessor.js +2 -2
- package/esm5/utils/dom/are-css-vars-supported.js +2 -2
- package/esm5/utils/dom/check-fixed-position.js +3 -3
- package/esm5/utils/dom/get-safe-area-size.js +4 -4
- package/esm5/utils/dom/process-icon.js +11 -11
- package/esm5/utils/format/format-number.js +5 -5
- package/esm5/utils/format/format-phone.js +9 -9
- package/esm5/utils/format/get-fractional-part-padded.js +3 -3
- package/esm5/utils/format/number-to-string-without-exp.js +3 -3
- package/esm5/utils/format/other-decimal-symbol.js +2 -2
- package/esm5/utils/mask/create-auto-corrected-money-pipe.js +12 -12
- package/esm5/utils/mask/create-correction-mask.js +3 -3
- package/esm5/utils/mask/create-number-mask.js +13 -13
- package/esm5/utils/mask/masked-money-value-is-empty.js +3 -3
- package/esm5/utils/mask/masked-number-string-to-number.js +2 -2
- package/esm5/utils/miscellaneous/color-fallback.js +8 -8
- package/esm5/utils/miscellaneous/icons-path-factory.js +3 -3
- package/esm5/utils/miscellaneous/is-presumed-html-string.js +2 -2
- package/esm5/utils/miscellaneous/size-bigger.js +3 -3
- package/esm5/utils/polyfills/inner-html.js +5 -5
- package/fesm2015/taiga-ui-core-abstract.js +15 -15
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-animations.js +138 -138
- package/fesm2015/taiga-ui-core-animations.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-alert.js +12 -12
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +17 -17
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +33 -33
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +24 -24
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dropdown-box.js +38 -38
- package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +4 -4
- package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js +12 -12
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +21 -19
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +47 -47
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +10 -10
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +4 -4
- package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +11 -11
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +4 -4
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +8 -8
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +7 -7
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +54 -54
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +4 -4
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +26 -26
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +8 -8
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +15 -15
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +2 -2
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +7 -7
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +17 -17
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-color.js +6 -6
- package/fesm2015/taiga-ui-core-directives-color.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-described-by.js +6 -6
- package/fesm2015/taiga-ui-core-directives-described-by.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown-controller.js +11 -11
- package/fesm2015/taiga-ui-core-directives-dropdown-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +2 -2
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint-controller.js +8 -8
- package/fesm2015/taiga-ui-core-directives-hint-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +7 -7
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-manual-hint.js +4 -4
- package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +2 -2
- package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js +5 -5
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-table-mode.js +2 -2
- package/fesm2015/taiga-ui-core-directives-table-mode.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +35 -35
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +9 -9
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-observables.js +2 -2
- package/fesm2015/taiga-ui-core-observables.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +1 -1
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +3 -3
- package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-month.js +1 -1
- package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-pluralize.js +1 -1
- package/fesm2015/taiga-ui-core-pipes-pluralize.js.map +1 -1
- package/fesm2015/taiga-ui-core-providers.js +2 -2
- package/fesm2015/taiga-ui-core-providers.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +7 -7
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +40 -40
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +16 -16
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +17 -17
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +27 -27
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +12 -12
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-polyfills.js +4 -4
- package/fesm2015/taiga-ui-core-utils-polyfills.js.map +1 -1
- package/fesm5/taiga-ui-core-abstract.js +15 -15
- package/fesm5/taiga-ui-core-abstract.js.map +1 -1
- package/fesm5/taiga-ui-core-animations.js +138 -138
- package/fesm5/taiga-ui-core-animations.js.map +1 -1
- package/fesm5/taiga-ui-core-components-alert.js +12 -12
- package/fesm5/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm5/taiga-ui-core-components-button.js +17 -17
- package/fesm5/taiga-ui-core-components-button.js.map +1 -1
- package/fesm5/taiga-ui-core-components-calendar.js +1 -1
- package/fesm5/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm5/taiga-ui-core-components-data-list.js +34 -34
- package/fesm5/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dialog.js +24 -24
- package/fesm5/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dropdown-box.js +38 -38
- package/fesm5/taiga-ui-core-components-dropdown-box.js.map +1 -1
- package/fesm5/taiga-ui-core-components-error.js +4 -4
- package/fesm5/taiga-ui-core-components-error.js.map +1 -1
- package/fesm5/taiga-ui-core-components-expand.js +12 -12
- package/fesm5/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm5/taiga-ui-core-components-group.js +19 -19
- package/fesm5/taiga-ui-core-components-group.js.map +1 -1
- package/fesm5/taiga-ui-core-components-hints-host.js +47 -47
- package/fesm5/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js +10 -10
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm5/taiga-ui-core-components-label.js +4 -4
- package/fesm5/taiga-ui-core-components-label.js.map +1 -1
- package/fesm5/taiga-ui-core-components-link.js +11 -11
- package/fesm5/taiga-ui-core-components-link.js.map +1 -1
- package/fesm5/taiga-ui-core-components-loader.js +4 -4
- package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm5/taiga-ui-core-components-notification.js +8 -8
- package/fesm5/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-calendar.js +2 -2
- package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js +7 -7
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-spin-button.js +2 -2
- package/fesm5/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +54 -54
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js +2 -2
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm5/taiga-ui-core-components-root.js +4 -4
- package/fesm5/taiga-ui-core-components-root.js.map +1 -1
- package/fesm5/taiga-ui-core-components-scroll-controls.js +26 -26
- package/fesm5/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm5/taiga-ui-core-components-scrollbar.js +8 -8
- package/fesm5/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm5/taiga-ui-core-components-svg.js +15 -15
- package/fesm5/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm5/taiga-ui-core-components-theme-night.js +2 -2
- package/fesm5/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm5/taiga-ui-core-components-tooltip.js +7 -7
- package/fesm5/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm5/taiga-ui-core-constants.js +17 -17
- package/fesm5/taiga-ui-core-constants.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-color.js +6 -6
- package/fesm5/taiga-ui-core-directives-color.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-described-by.js +8 -8
- package/fesm5/taiga-ui-core-directives-described-by.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-dropdown-controller.js +11 -11
- package/fesm5/taiga-ui-core-directives-dropdown-controller.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-dropdown.js +2 -2
- package/fesm5/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-hint-controller.js +8 -8
- package/fesm5/taiga-ui-core-directives-hint-controller.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-hint.js +7 -7
- package/fesm5/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-manual-hint.js +4 -4
- package/fesm5/taiga-ui-core-directives-manual-hint.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-mask-accessor.js +1 -1
- package/fesm5/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-mode.js +2 -2
- package/fesm5/taiga-ui-core-directives-mode.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-pointer-hint.js +5 -5
- package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-scroll-into-view.js +1 -1
- package/fesm5/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-table-mode.js +2 -2
- package/fesm5/taiga-ui-core-directives-table-mode.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-textfield-controller.js +35 -35
- package/fesm5/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-wrapper.js +9 -9
- package/fesm5/taiga-ui-core-directives-wrapper.js.map +1 -1
- package/fesm5/taiga-ui-core-enums.js.map +1 -1
- package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -1
- package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm5/taiga-ui-core-internal-svg-defs-host.js +1 -1
- package/fesm5/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm5/taiga-ui-core-observables.js +2 -2
- package/fesm5/taiga-ui-core-observables.js.map +1 -1
- package/fesm5/taiga-ui-core-pipes-calendar-sheet.js +1 -1
- package/fesm5/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
- package/fesm5/taiga-ui-core-pipes-format-number.js +1 -1
- package/fesm5/taiga-ui-core-pipes-format-number.js.map +1 -1
- package/fesm5/taiga-ui-core-pipes-format-phone.js +3 -3
- package/fesm5/taiga-ui-core-pipes-format-phone.js.map +1 -1
- package/fesm5/taiga-ui-core-pipes-month.js +1 -1
- package/fesm5/taiga-ui-core-pipes-month.js.map +1 -1
- package/fesm5/taiga-ui-core-pipes-pluralize.js +1 -1
- package/fesm5/taiga-ui-core-pipes-pluralize.js.map +1 -1
- package/fesm5/taiga-ui-core-providers.js +2 -2
- package/fesm5/taiga-ui-core-providers.js.map +1 -1
- package/fesm5/taiga-ui-core-services.js +7 -7
- package/fesm5/taiga-ui-core-services.js.map +1 -1
- package/fesm5/taiga-ui-core-tokens.js +40 -40
- package/fesm5/taiga-ui-core-tokens.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-dom.js +16 -16
- package/fesm5/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-format.js +17 -17
- package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-mask.js +28 -28
- package/fesm5/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-miscellaneous.js +12 -12
- package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-polyfills.js +4 -4
- package/fesm5/taiga-ui-core-utils-polyfills.js.map +1 -1
- package/package.json +4 -4
|
@@ -33,7 +33,7 @@ var TuiTextfieldController = /** @class */ (function () {
|
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(TuiTextfieldController.prototype, "customContent", {
|
|
35
35
|
get: function () {
|
|
36
|
-
return this.customContentDirective.customContent ||
|
|
36
|
+
return this.customContentDirective.customContent || "";
|
|
37
37
|
},
|
|
38
38
|
enumerable: true,
|
|
39
39
|
configurable: true
|
|
@@ -83,24 +83,24 @@ var TuiTextfieldController = /** @class */ (function () {
|
|
|
83
83
|
return TuiTextfieldController;
|
|
84
84
|
}());
|
|
85
85
|
|
|
86
|
-
var TUI_TEXTFIELD_AUTOCOMPLETE = new InjectionToken(
|
|
86
|
+
var TUI_TEXTFIELD_AUTOCOMPLETE = new InjectionToken("tuiTextfieldAutocomplete", {
|
|
87
87
|
factory: autocompleteDirectiveFactory,
|
|
88
88
|
});
|
|
89
89
|
var TuiTextfieldAutocompleteDirective = /** @class */ (function (_super) {
|
|
90
90
|
__extends(TuiTextfieldAutocompleteDirective, _super);
|
|
91
91
|
function TuiTextfieldAutocompleteDirective() {
|
|
92
92
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
93
|
-
_this.autocomplete =
|
|
93
|
+
_this.autocomplete = "";
|
|
94
94
|
return _this;
|
|
95
95
|
}
|
|
96
96
|
TuiTextfieldAutocompleteDirective_1 = TuiTextfieldAutocompleteDirective;
|
|
97
97
|
var TuiTextfieldAutocompleteDirective_1;
|
|
98
98
|
__decorate([
|
|
99
|
-
Input(
|
|
99
|
+
Input("tuiTextfieldAutocomplete")
|
|
100
100
|
], TuiTextfieldAutocompleteDirective.prototype, "autocomplete", void 0);
|
|
101
101
|
TuiTextfieldAutocompleteDirective = TuiTextfieldAutocompleteDirective_1 = __decorate([
|
|
102
102
|
Directive({
|
|
103
|
-
selector:
|
|
103
|
+
selector: "[tuiTextfieldAutocomplete]",
|
|
104
104
|
providers: [
|
|
105
105
|
{
|
|
106
106
|
provide: TUI_TEXTFIELD_AUTOCOMPLETE,
|
|
@@ -116,7 +116,7 @@ function autocompleteDirectiveFactory() {
|
|
|
116
116
|
return new TuiTextfieldAutocompleteDirective();
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
var TUI_TEXTFIELD_CLEANER = new InjectionToken(
|
|
119
|
+
var TUI_TEXTFIELD_CLEANER = new InjectionToken("tuiTextfieldCleaner", {
|
|
120
120
|
factory: cleanerDirectiveFactory,
|
|
121
121
|
});
|
|
122
122
|
var TuiTextfieldCleanerDirective = /** @class */ (function (_super) {
|
|
@@ -129,11 +129,11 @@ var TuiTextfieldCleanerDirective = /** @class */ (function (_super) {
|
|
|
129
129
|
TuiTextfieldCleanerDirective_1 = TuiTextfieldCleanerDirective;
|
|
130
130
|
var TuiTextfieldCleanerDirective_1;
|
|
131
131
|
__decorate([
|
|
132
|
-
Input(
|
|
132
|
+
Input("tuiTextfieldCleaner")
|
|
133
133
|
], TuiTextfieldCleanerDirective.prototype, "cleaner", void 0);
|
|
134
134
|
TuiTextfieldCleanerDirective = TuiTextfieldCleanerDirective_1 = __decorate([
|
|
135
135
|
Directive({
|
|
136
|
-
selector:
|
|
136
|
+
selector: "[tuiTextfieldCleaner]",
|
|
137
137
|
providers: [
|
|
138
138
|
{
|
|
139
139
|
provide: TUI_TEXTFIELD_CLEANER,
|
|
@@ -149,7 +149,7 @@ function cleanerDirectiveFactory() {
|
|
|
149
149
|
return new TuiTextfieldCleanerDirective();
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
var TUI_TEXTFIELD_CUSTOM_CONTENT = new InjectionToken(
|
|
152
|
+
var TUI_TEXTFIELD_CUSTOM_CONTENT = new InjectionToken("tuiTextfieldCustomContent", {
|
|
153
153
|
factory: customContentDirectiveFactory,
|
|
154
154
|
});
|
|
155
155
|
var TuiTextfieldCustomContentDirective = /** @class */ (function (_super) {
|
|
@@ -157,17 +157,17 @@ var TuiTextfieldCustomContentDirective = /** @class */ (function (_super) {
|
|
|
157
157
|
function TuiTextfieldCustomContentDirective() {
|
|
158
158
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
159
159
|
// TODO: 3.0 Remove null
|
|
160
|
-
_this.customContent =
|
|
160
|
+
_this.customContent = "";
|
|
161
161
|
return _this;
|
|
162
162
|
}
|
|
163
163
|
TuiTextfieldCustomContentDirective_1 = TuiTextfieldCustomContentDirective;
|
|
164
164
|
var TuiTextfieldCustomContentDirective_1;
|
|
165
165
|
__decorate([
|
|
166
|
-
Input(
|
|
166
|
+
Input("tuiTextfieldCustomContent")
|
|
167
167
|
], TuiTextfieldCustomContentDirective.prototype, "customContent", void 0);
|
|
168
168
|
TuiTextfieldCustomContentDirective = TuiTextfieldCustomContentDirective_1 = __decorate([
|
|
169
169
|
Directive({
|
|
170
|
-
selector:
|
|
170
|
+
selector: "[tuiTextfieldCustomContent]",
|
|
171
171
|
providers: [
|
|
172
172
|
{
|
|
173
173
|
provide: TUI_TEXTFIELD_CUSTOM_CONTENT,
|
|
@@ -183,24 +183,24 @@ function customContentDirectiveFactory() {
|
|
|
183
183
|
return new TuiTextfieldCustomContentDirective();
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
var TUI_TEXTFIELD_EXAMPLE_TEXT = new InjectionToken(
|
|
186
|
+
var TUI_TEXTFIELD_EXAMPLE_TEXT = new InjectionToken("tuiTextfieldExampleText", {
|
|
187
187
|
factory: exampleTextDirectiveFactory,
|
|
188
188
|
});
|
|
189
189
|
var TuiTextfieldExampleTextDirective = /** @class */ (function (_super) {
|
|
190
190
|
__extends(TuiTextfieldExampleTextDirective, _super);
|
|
191
191
|
function TuiTextfieldExampleTextDirective() {
|
|
192
192
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
193
|
-
_this.exampleText =
|
|
193
|
+
_this.exampleText = "";
|
|
194
194
|
return _this;
|
|
195
195
|
}
|
|
196
196
|
TuiTextfieldExampleTextDirective_1 = TuiTextfieldExampleTextDirective;
|
|
197
197
|
var TuiTextfieldExampleTextDirective_1;
|
|
198
198
|
__decorate([
|
|
199
|
-
Input(
|
|
199
|
+
Input("tuiTextfieldExampleText")
|
|
200
200
|
], TuiTextfieldExampleTextDirective.prototype, "exampleText", void 0);
|
|
201
201
|
TuiTextfieldExampleTextDirective = TuiTextfieldExampleTextDirective_1 = __decorate([
|
|
202
202
|
Directive({
|
|
203
|
-
selector:
|
|
203
|
+
selector: "[tuiTextfieldExampleText]",
|
|
204
204
|
providers: [
|
|
205
205
|
{
|
|
206
206
|
provide: TUI_TEXTFIELD_EXAMPLE_TEXT,
|
|
@@ -216,24 +216,24 @@ function exampleTextDirectiveFactory() {
|
|
|
216
216
|
return new TuiTextfieldExampleTextDirective();
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
var TUI_TEXTFIELD_INPUT_MODE = new InjectionToken(
|
|
219
|
+
var TUI_TEXTFIELD_INPUT_MODE = new InjectionToken("tuiTextfieldInputMode", {
|
|
220
220
|
factory: inputModeDirectiveFactory,
|
|
221
221
|
});
|
|
222
222
|
var TuiTextfieldInputModeDirective = /** @class */ (function (_super) {
|
|
223
223
|
__extends(TuiTextfieldInputModeDirective, _super);
|
|
224
224
|
function TuiTextfieldInputModeDirective() {
|
|
225
225
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
226
|
-
_this.inputMode =
|
|
226
|
+
_this.inputMode = "text";
|
|
227
227
|
return _this;
|
|
228
228
|
}
|
|
229
229
|
TuiTextfieldInputModeDirective_1 = TuiTextfieldInputModeDirective;
|
|
230
230
|
var TuiTextfieldInputModeDirective_1;
|
|
231
231
|
__decorate([
|
|
232
|
-
Input(
|
|
232
|
+
Input("tuiTextfieldInputMode")
|
|
233
233
|
], TuiTextfieldInputModeDirective.prototype, "inputMode", void 0);
|
|
234
234
|
TuiTextfieldInputModeDirective = TuiTextfieldInputModeDirective_1 = __decorate([
|
|
235
235
|
Directive({
|
|
236
|
-
selector:
|
|
236
|
+
selector: "[tuiTextfieldInputMode]",
|
|
237
237
|
providers: [
|
|
238
238
|
{
|
|
239
239
|
provide: TUI_TEXTFIELD_INPUT_MODE,
|
|
@@ -249,7 +249,7 @@ function inputModeDirectiveFactory() {
|
|
|
249
249
|
return new TuiTextfieldInputModeDirective();
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
var TUI_TEXTFIELD_LABEL_OUTSIDE = new InjectionToken(
|
|
252
|
+
var TUI_TEXTFIELD_LABEL_OUTSIDE = new InjectionToken("tuiTextfieldLabelOutside", {
|
|
253
253
|
factory: labelOutsideDirectiveFactory,
|
|
254
254
|
});
|
|
255
255
|
var TuiTextfieldLabelOutsideDirective = /** @class */ (function (_super) {
|
|
@@ -262,11 +262,11 @@ var TuiTextfieldLabelOutsideDirective = /** @class */ (function (_super) {
|
|
|
262
262
|
TuiTextfieldLabelOutsideDirective_1 = TuiTextfieldLabelOutsideDirective;
|
|
263
263
|
var TuiTextfieldLabelOutsideDirective_1;
|
|
264
264
|
__decorate([
|
|
265
|
-
Input(
|
|
265
|
+
Input("tuiTextfieldLabelOutside")
|
|
266
266
|
], TuiTextfieldLabelOutsideDirective.prototype, "labelOutside", void 0);
|
|
267
267
|
TuiTextfieldLabelOutsideDirective = TuiTextfieldLabelOutsideDirective_1 = __decorate([
|
|
268
268
|
Directive({
|
|
269
|
-
selector:
|
|
269
|
+
selector: "[tuiTextfieldLabelOutside]",
|
|
270
270
|
providers: [
|
|
271
271
|
{
|
|
272
272
|
provide: TUI_TEXTFIELD_LABEL_OUTSIDE,
|
|
@@ -282,7 +282,7 @@ function labelOutsideDirectiveFactory() {
|
|
|
282
282
|
return new TuiTextfieldLabelOutsideDirective();
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
var TUI_TEXTFIELD_MAX_LENGTH = new InjectionToken(
|
|
285
|
+
var TUI_TEXTFIELD_MAX_LENGTH = new InjectionToken("tuiTextfieldMaxLength", {
|
|
286
286
|
factory: maxLengthDirectiveFactory,
|
|
287
287
|
});
|
|
288
288
|
var TuiTextfieldMaxLengthDirective = /** @class */ (function (_super) {
|
|
@@ -295,11 +295,11 @@ var TuiTextfieldMaxLengthDirective = /** @class */ (function (_super) {
|
|
|
295
295
|
TuiTextfieldMaxLengthDirective_1 = TuiTextfieldMaxLengthDirective;
|
|
296
296
|
var TuiTextfieldMaxLengthDirective_1;
|
|
297
297
|
__decorate([
|
|
298
|
-
Input(
|
|
298
|
+
Input("tuiTextfieldMaxLength")
|
|
299
299
|
], TuiTextfieldMaxLengthDirective.prototype, "maxLength", void 0);
|
|
300
300
|
TuiTextfieldMaxLengthDirective = TuiTextfieldMaxLengthDirective_1 = __decorate([
|
|
301
301
|
Directive({
|
|
302
|
-
selector:
|
|
302
|
+
selector: "[tuiTextfieldMaxLength]",
|
|
303
303
|
providers: [
|
|
304
304
|
{
|
|
305
305
|
provide: TUI_TEXTFIELD_MAX_LENGTH,
|
|
@@ -315,24 +315,24 @@ function maxLengthDirectiveFactory() {
|
|
|
315
315
|
return new TuiTextfieldMaxLengthDirective();
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
var TUI_TEXTFIELD_SIZE = new InjectionToken(
|
|
318
|
+
var TUI_TEXTFIELD_SIZE = new InjectionToken("tuiTextfieldSize", {
|
|
319
319
|
factory: sizeDirectiveFactory,
|
|
320
320
|
});
|
|
321
321
|
var TuiTextfieldSizeDirective = /** @class */ (function (_super) {
|
|
322
322
|
__extends(TuiTextfieldSizeDirective, _super);
|
|
323
323
|
function TuiTextfieldSizeDirective() {
|
|
324
324
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
325
|
-
_this.size =
|
|
325
|
+
_this.size = "l";
|
|
326
326
|
return _this;
|
|
327
327
|
}
|
|
328
328
|
TuiTextfieldSizeDirective_1 = TuiTextfieldSizeDirective;
|
|
329
329
|
var TuiTextfieldSizeDirective_1;
|
|
330
330
|
__decorate([
|
|
331
|
-
Input(
|
|
331
|
+
Input("tuiTextfieldSize")
|
|
332
332
|
], TuiTextfieldSizeDirective.prototype, "size", void 0);
|
|
333
333
|
TuiTextfieldSizeDirective = TuiTextfieldSizeDirective_1 = __decorate([
|
|
334
334
|
Directive({
|
|
335
|
-
selector:
|
|
335
|
+
selector: "[tuiTextfieldSize]",
|
|
336
336
|
providers: [
|
|
337
337
|
{
|
|
338
338
|
provide: TUI_TEXTFIELD_SIZE,
|
|
@@ -348,24 +348,24 @@ function sizeDirectiveFactory() {
|
|
|
348
348
|
return new TuiTextfieldSizeDirective();
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
var TUI_TEXTFIELD_TYPE = new InjectionToken(
|
|
351
|
+
var TUI_TEXTFIELD_TYPE = new InjectionToken("tuiTextfieldType", {
|
|
352
352
|
factory: typeDirectiveFactory,
|
|
353
353
|
});
|
|
354
354
|
var TuiTextfieldTypeDirective = /** @class */ (function (_super) {
|
|
355
355
|
__extends(TuiTextfieldTypeDirective, _super);
|
|
356
356
|
function TuiTextfieldTypeDirective() {
|
|
357
357
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
358
|
-
_this.type =
|
|
358
|
+
_this.type = "text";
|
|
359
359
|
return _this;
|
|
360
360
|
}
|
|
361
361
|
TuiTextfieldTypeDirective_1 = TuiTextfieldTypeDirective;
|
|
362
362
|
var TuiTextfieldTypeDirective_1;
|
|
363
363
|
__decorate([
|
|
364
|
-
Input(
|
|
364
|
+
Input("tuiTextfieldType")
|
|
365
365
|
], TuiTextfieldTypeDirective.prototype, "type", void 0);
|
|
366
366
|
TuiTextfieldTypeDirective = TuiTextfieldTypeDirective_1 = __decorate([
|
|
367
367
|
Directive({
|
|
368
|
-
selector:
|
|
368
|
+
selector: "[tuiTextfieldType]",
|
|
369
369
|
providers: [
|
|
370
370
|
{
|
|
371
371
|
provide: TUI_TEXTFIELD_TYPE,
|
|
@@ -413,7 +413,7 @@ var TuiTextfieldControllerModule = /** @class */ (function () {
|
|
|
413
413
|
return TuiTextfieldControllerModule;
|
|
414
414
|
}());
|
|
415
415
|
|
|
416
|
-
var TUI_TEXTFIELD_WATCHED_CONTROLLER = new InjectionToken(
|
|
416
|
+
var TUI_TEXTFIELD_WATCHED_CONTROLLER = new InjectionToken("watched textfield controller");
|
|
417
417
|
/**
|
|
418
418
|
* @deprecated: use {@link tuiTextfieldWatchedControllerFactory} instead
|
|
419
419
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-directives-textfield-controller.js","sources":["ng://@taiga-ui/core/directives/textfield-controller/textfield.controller.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-autocomplete.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-cleaner.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-custom-content.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-example-text.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-input-mode.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-label-outside.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-max-length.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-size.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-type.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-controller.module.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-controller.provider.ts","ng://@taiga-ui/core/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.ts"],"sourcesContent":["import {TuiAutofillFieldName, TuiInputModeT, TuiInputTypeT} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TuiTextfieldAutocompleteDirective} from './textfield-autocomplete.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldExampleTextDirective} from './textfield-example-text.directive';\nimport {TuiTextfieldInputModeDirective} from './textfield-input-mode.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldMaxLengthDirective} from './textfield-max-length.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\nimport {TuiTextfieldTypeDirective} from './textfield-type.directive';\n\nexport class TuiTextfieldController {\n constructor(\n readonly change$: Observable<void>,\n private readonly autocompleteDirective: TuiTextfieldAutocompleteDirective,\n private readonly cleanerDirective: TuiTextfieldCleanerDirective,\n private readonly customContentDirective: TuiTextfieldCustomContentDirective,\n private readonly exampleTextDirective: TuiTextfieldExampleTextDirective,\n private readonly inputModeDirective: TuiTextfieldInputModeDirective,\n private readonly labelOutsideDirective: TuiTextfieldLabelOutsideDirective,\n private readonly maxLengthDirective: TuiTextfieldMaxLengthDirective,\n private readonly sizeDirective: TuiTextfieldSizeDirective,\n private readonly typeDirective: TuiTextfieldTypeDirective,\n ) {}\n\n get autocomplete(): TuiAutofillFieldName | '' {\n return this.autocompleteDirective.autocomplete;\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 exampleText(): string {\n return this.exampleTextDirective.exampleText;\n }\n\n get inputMode(): TuiInputModeT {\n return this.inputModeDirective.inputMode;\n }\n\n get labelOutside(): boolean {\n return this.labelOutsideDirective.labelOutside;\n }\n\n get maxLength(): number | null {\n return this.maxLengthDirective.maxLength;\n }\n\n get size(): TuiSizeS | TuiSizeL {\n return this.sizeDirective.size;\n }\n\n get type(): TuiInputTypeT {\n return this.typeDirective.type;\n }\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiAutofillFieldName, TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_AUTOCOMPLETE =\n new InjectionToken<TuiTextfieldAutocompleteDirective>('tuiTextfieldAutocomplete', {\n factory: autocompleteDirectiveFactory,\n });\n\n@Directive({\n selector: '[tuiTextfieldAutocomplete]',\n providers: [\n {\n provide: TUI_TEXTFIELD_AUTOCOMPLETE,\n useExisting: forwardRef(() => TuiTextfieldAutocompleteDirective),\n },\n ],\n})\nexport class TuiTextfieldAutocompleteDirective extends TuiController {\n @Input('tuiTextfieldAutocomplete')\n autocomplete: TuiAutofillFieldName | '' = '';\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function autocompleteDirectiveFactory(): TuiTextfieldAutocompleteDirective {\n return new TuiTextfieldAutocompleteDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_CLEANER = new InjectionToken<TuiTextfieldCleanerDirective>(\n 'tuiTextfieldCleaner',\n {\n factory: cleanerDirectiveFactory,\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 TuiController {\n @Input('tuiTextfieldCleaner')\n cleaner = false;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function cleanerDirectiveFactory(): TuiTextfieldCleanerDirective {\n return new TuiTextfieldCleanerDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_TEXTFIELD_CUSTOM_CONTENT =\n new InjectionToken<TuiTextfieldCustomContentDirective>('tuiTextfieldCustomContent', {\n factory: customContentDirectiveFactory,\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 TuiController {\n // TODO: 3.0 Remove null\n @Input('tuiTextfieldCustomContent')\n customContent: PolymorpheusContent | null = '';\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function customContentDirectiveFactory(): TuiTextfieldCustomContentDirective {\n return new TuiTextfieldCustomContentDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_EXAMPLE_TEXT =\n new InjectionToken<TuiTextfieldExampleTextDirective>('tuiTextfieldExampleText', {\n factory: exampleTextDirectiveFactory,\n });\n\n@Directive({\n selector: '[tuiTextfieldExampleText]',\n providers: [\n {\n provide: TUI_TEXTFIELD_EXAMPLE_TEXT,\n useExisting: forwardRef(() => TuiTextfieldExampleTextDirective),\n },\n ],\n})\nexport class TuiTextfieldExampleTextDirective extends TuiController {\n @Input('tuiTextfieldExampleText')\n exampleText = '';\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function exampleTextDirectiveFactory(): TuiTextfieldExampleTextDirective {\n return new TuiTextfieldExampleTextDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController, TuiInputModeT} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_INPUT_MODE =\n new InjectionToken<TuiTextfieldInputModeDirective>('tuiTextfieldInputMode', {\n factory: inputModeDirectiveFactory,\n });\n\n@Directive({\n selector: '[tuiTextfieldInputMode]',\n providers: [\n {\n provide: TUI_TEXTFIELD_INPUT_MODE,\n useExisting: forwardRef(() => TuiTextfieldInputModeDirective),\n },\n ],\n})\nexport class TuiTextfieldInputModeDirective extends TuiController {\n @Input('tuiTextfieldInputMode')\n inputMode: TuiInputModeT = 'text';\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function inputModeDirectiveFactory(): TuiTextfieldInputModeDirective {\n return new TuiTextfieldInputModeDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_LABEL_OUTSIDE =\n new InjectionToken<TuiTextfieldLabelOutsideDirective>('tuiTextfieldLabelOutside', {\n factory: labelOutsideDirectiveFactory,\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 TuiController {\n @Input('tuiTextfieldLabelOutside')\n labelOutside = false;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function labelOutsideDirectiveFactory(): TuiTextfieldLabelOutsideDirective {\n return new TuiTextfieldLabelOutsideDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_MAX_LENGTH =\n new InjectionToken<TuiTextfieldMaxLengthDirective>('tuiTextfieldMaxLength', {\n factory: maxLengthDirectiveFactory,\n });\n\n@Directive({\n selector: '[tuiTextfieldMaxLength]',\n providers: [\n {\n provide: TUI_TEXTFIELD_MAX_LENGTH,\n useExisting: forwardRef(() => TuiTextfieldMaxLengthDirective),\n },\n ],\n})\nexport class TuiTextfieldMaxLengthDirective extends TuiController {\n @Input('tuiTextfieldMaxLength')\n maxLength: number | null = null;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function maxLengthDirectiveFactory(): TuiTextfieldMaxLengthDirective {\n return new TuiTextfieldMaxLengthDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\n\nexport const TUI_TEXTFIELD_SIZE = new InjectionToken<TuiTextfieldSizeDirective>(\n 'tuiTextfieldSize',\n {\n factory: sizeDirectiveFactory,\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 TuiController {\n @Input('tuiTextfieldSize')\n size: TuiSizeS | TuiSizeL = 'l';\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function sizeDirectiveFactory(): TuiTextfieldSizeDirective {\n return new TuiTextfieldSizeDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController, TuiInputTypeT} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_TYPE = new InjectionToken<TuiTextfieldTypeDirective>(\n 'tuiTextfieldType',\n {\n factory: typeDirectiveFactory,\n },\n);\n\n@Directive({\n selector: '[tuiTextfieldType]',\n providers: [\n {\n provide: TUI_TEXTFIELD_TYPE,\n useExisting: forwardRef(() => TuiTextfieldTypeDirective),\n },\n ],\n})\nexport class TuiTextfieldTypeDirective extends TuiController {\n @Input('tuiTextfieldType')\n type: TuiInputTypeT = 'text';\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typeDirectiveFactory(): TuiTextfieldTypeDirective {\n return new TuiTextfieldTypeDirective();\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiTextfieldAutocompleteDirective} from './textfield-autocomplete.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldExampleTextDirective} from './textfield-example-text.directive';\nimport {TuiTextfieldInputModeDirective} from './textfield-input-mode.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldMaxLengthDirective} from './textfield-max-length.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\nimport {TuiTextfieldTypeDirective} from './textfield-type.directive';\n\n@NgModule({\n declarations: [\n TuiTextfieldAutocompleteDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldExampleTextDirective,\n TuiTextfieldInputModeDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldMaxLengthDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldTypeDirective,\n ],\n exports: [\n TuiTextfieldAutocompleteDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldExampleTextDirective,\n TuiTextfieldInputModeDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldMaxLengthDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldTypeDirective,\n ],\n})\nexport class TuiTextfieldControllerModule {}\n","import {ChangeDetectorRef, InjectionToken, Provider} from '@angular/core';\nimport {TuiDestroyService, watch} 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_AUTOCOMPLETE,\n TuiTextfieldAutocompleteDirective,\n} from './textfield-autocomplete.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_EXAMPLE_TEXT,\n TuiTextfieldExampleTextDirective,\n} from './textfield-example-text.directive';\nimport {\n TUI_TEXTFIELD_INPUT_MODE,\n TuiTextfieldInputModeDirective,\n} from './textfield-input-mode.directive';\nimport {\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TuiTextfieldLabelOutsideDirective,\n} from './textfield-label-outside.directive';\nimport {\n TUI_TEXTFIELD_MAX_LENGTH,\n TuiTextfieldMaxLengthDirective,\n} from './textfield-max-length.directive';\nimport {TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective} from './textfield-size.directive';\nimport {TUI_TEXTFIELD_TYPE, TuiTextfieldTypeDirective} from './textfield-type.directive';\n\nexport const TUI_TEXTFIELD_WATCHED_CONTROLLER =\n new InjectionToken<TuiTextfieldController>('watched textfield controller');\n\n/**\n * @deprecated: use {@link tuiTextfieldWatchedControllerFactory} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function textfieldWatchedControllerFactory(\n changeDetectorRef: ChangeDetectorRef,\n destroy$: Observable<void>,\n ...controllers: [\n TuiTextfieldAutocompleteDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldExampleTextDirective,\n TuiTextfieldInputModeDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldMaxLengthDirective,\n TuiTextfieldSizeDirective,\n // @ts-ignore remove after TS update\n TuiTextfieldTypeDirective,\n ]\n): TuiTextfieldController {\n const change$ = merge(...controllers.map(({change$}) => change$ || NEVER)).pipe(\n watch(changeDetectorRef),\n takeUntil(destroy$),\n );\n\n change$.subscribe();\n\n return new TuiTextfieldController(change$, ...controllers);\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_AUTOCOMPLETE,\n TUI_TEXTFIELD_CLEANER,\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TUI_TEXTFIELD_EXAMPLE_TEXT,\n TUI_TEXTFIELD_INPUT_MODE,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TUI_TEXTFIELD_MAX_LENGTH,\n TUI_TEXTFIELD_SIZE,\n TUI_TEXTFIELD_TYPE,\n ],\n useFactory: textfieldWatchedControllerFactory,\n },\n];\n\nexport const tuiTextfieldWatchedControllerFactory = textfieldWatchedControllerFactory;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAgBI,gCACa,OAAyB,EACjB,qBAAwD,EACxD,gBAA8C,EAC9C,sBAA0D,EAC1D,oBAAsD,EACtD,kBAAkD,EAClD,qBAAwD,EACxD,kBAAkD,EAClD,aAAwC,EACxC,aAAwC;QAThD,YAAO,GAAP,OAAO,CAAkB;QACjB,0BAAqB,GAArB,qBAAqB,CAAmC;QACxD,qBAAgB,GAAhB,gBAAgB,CAA8B;QAC9C,2BAAsB,GAAtB,sBAAsB,CAAoC;QAC1D,yBAAoB,GAApB,oBAAoB,CAAkC;QACtD,uBAAkB,GAAlB,kBAAkB,CAAgC;QAClD,0BAAqB,GAArB,qBAAqB,CAAmC;QACxD,uBAAkB,GAAlB,kBAAkB,CAAgC;QAClD,kBAAa,GAAb,aAAa,CAA2B;QACxC,kBAAa,GAAb,aAAa,CAA2B;KACzD;IAEJ,sBAAI,gDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC;SAClD;;;OAAA;IAED,sBAAI,2CAAO;aAAX;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC;SACxC;;;OAAA;IAED,sBAAI,iDAAa;aAAjB;YACI,OAAO,IAAI,CAAC,sBAAsB,CAAC,aAAa,IAAI,EAAE,CAAC;SAC1D;;;OAAA;IAED,sBAAI,+CAAW;aAAf;YACI,OAAO,IAAI,CAAC,oBAAoB,CAAC,WAAW,CAAC;SAChD;;;OAAA;IAED,sBAAI,6CAAS;aAAb;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC;SAC5C;;;OAAA;IAED,sBAAI,gDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC;SAClD;;;OAAA;IAED,sBAAI,6CAAS;aAAb;YACI,OAAO,IAAI,CAAC,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W,MAAE;AAC/D,CAAC;IAEY,6BAA6B,GAAa;IACnD,iBAAiB;IACjB;QACI,OAAO,EAAE,gCAAgC;QACzC,IAAI,EAAE;YACF,iBAAiB;YACjB,iBAAiB;YACjB,0BAA0B;YAC1B,qBAAqB;YACrB,4BAA4B;YAC5B,0BAA0B;YAC1B,wBAAwB;YACxB,2BAA2B;YAC3B,wBAAwB;YACxB,kBAAkB;YAClB,kBAAkB;SACrB;QACD,UAAU,EAAE,iCAAiC;KAChD;EACH;IAEW,oCAAoC,GAAG;;AC3FpD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-directives-textfield-controller.js","sources":["ng://@taiga-ui/core/directives/textfield-controller/textfield.controller.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-autocomplete.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-cleaner.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-custom-content.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-example-text.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-input-mode.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-label-outside.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-max-length.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-size.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-type.directive.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-controller.module.ts","ng://@taiga-ui/core/directives/textfield-controller/textfield-controller.provider.ts","ng://@taiga-ui/core/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.ts"],"sourcesContent":["import {TuiAutofillFieldName, TuiInputModeT, TuiInputTypeT} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TuiTextfieldAutocompleteDirective} from './textfield-autocomplete.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldExampleTextDirective} from './textfield-example-text.directive';\nimport {TuiTextfieldInputModeDirective} from './textfield-input-mode.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldMaxLengthDirective} from './textfield-max-length.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\nimport {TuiTextfieldTypeDirective} from './textfield-type.directive';\n\nexport class TuiTextfieldController {\n constructor(\n readonly change$: Observable<void>,\n private readonly autocompleteDirective: TuiTextfieldAutocompleteDirective,\n private readonly cleanerDirective: TuiTextfieldCleanerDirective,\n private readonly customContentDirective: TuiTextfieldCustomContentDirective,\n private readonly exampleTextDirective: TuiTextfieldExampleTextDirective,\n private readonly inputModeDirective: TuiTextfieldInputModeDirective,\n private readonly labelOutsideDirective: TuiTextfieldLabelOutsideDirective,\n private readonly maxLengthDirective: TuiTextfieldMaxLengthDirective,\n private readonly sizeDirective: TuiTextfieldSizeDirective,\n private readonly typeDirective: TuiTextfieldTypeDirective,\n ) {}\n\n get autocomplete(): TuiAutofillFieldName | '' {\n return this.autocompleteDirective.autocomplete;\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 exampleText(): string {\n return this.exampleTextDirective.exampleText;\n }\n\n get inputMode(): TuiInputModeT {\n return this.inputModeDirective.inputMode;\n }\n\n get labelOutside(): boolean {\n return this.labelOutsideDirective.labelOutside;\n }\n\n get maxLength(): number | null {\n return this.maxLengthDirective.maxLength;\n }\n\n get size(): TuiSizeS | TuiSizeL {\n return this.sizeDirective.size;\n }\n\n get type(): TuiInputTypeT {\n return this.typeDirective.type;\n }\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiAutofillFieldName, TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_AUTOCOMPLETE =\n new InjectionToken<TuiTextfieldAutocompleteDirective>(`tuiTextfieldAutocomplete`, {\n factory: autocompleteDirectiveFactory,\n });\n\n@Directive({\n selector: `[tuiTextfieldAutocomplete]`,\n providers: [\n {\n provide: TUI_TEXTFIELD_AUTOCOMPLETE,\n useExisting: forwardRef(() => TuiTextfieldAutocompleteDirective),\n },\n ],\n})\nexport class TuiTextfieldAutocompleteDirective extends TuiController {\n @Input(`tuiTextfieldAutocomplete`)\n autocomplete: TuiAutofillFieldName | '' = ``;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function autocompleteDirectiveFactory(): TuiTextfieldAutocompleteDirective {\n return new TuiTextfieldAutocompleteDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_CLEANER = new InjectionToken<TuiTextfieldCleanerDirective>(\n `tuiTextfieldCleaner`,\n {\n factory: cleanerDirectiveFactory,\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 TuiController {\n @Input(`tuiTextfieldCleaner`)\n cleaner = false;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function cleanerDirectiveFactory(): TuiTextfieldCleanerDirective {\n return new TuiTextfieldCleanerDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_TEXTFIELD_CUSTOM_CONTENT =\n new InjectionToken<TuiTextfieldCustomContentDirective>(`tuiTextfieldCustomContent`, {\n factory: customContentDirectiveFactory,\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 TuiController {\n // TODO: 3.0 Remove null\n @Input(`tuiTextfieldCustomContent`)\n customContent: PolymorpheusContent | null = ``;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function customContentDirectiveFactory(): TuiTextfieldCustomContentDirective {\n return new TuiTextfieldCustomContentDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_EXAMPLE_TEXT =\n new InjectionToken<TuiTextfieldExampleTextDirective>(`tuiTextfieldExampleText`, {\n factory: exampleTextDirectiveFactory,\n });\n\n@Directive({\n selector: `[tuiTextfieldExampleText]`,\n providers: [\n {\n provide: TUI_TEXTFIELD_EXAMPLE_TEXT,\n useExisting: forwardRef(() => TuiTextfieldExampleTextDirective),\n },\n ],\n})\nexport class TuiTextfieldExampleTextDirective extends TuiController {\n @Input(`tuiTextfieldExampleText`)\n exampleText = ``;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function exampleTextDirectiveFactory(): TuiTextfieldExampleTextDirective {\n return new TuiTextfieldExampleTextDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController, TuiInputModeT} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_INPUT_MODE =\n new InjectionToken<TuiTextfieldInputModeDirective>(`tuiTextfieldInputMode`, {\n factory: inputModeDirectiveFactory,\n });\n\n@Directive({\n selector: `[tuiTextfieldInputMode]`,\n providers: [\n {\n provide: TUI_TEXTFIELD_INPUT_MODE,\n useExisting: forwardRef(() => TuiTextfieldInputModeDirective),\n },\n ],\n})\nexport class TuiTextfieldInputModeDirective extends TuiController {\n @Input(`tuiTextfieldInputMode`)\n inputMode: TuiInputModeT = `text`;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function inputModeDirectiveFactory(): TuiTextfieldInputModeDirective {\n return new TuiTextfieldInputModeDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_LABEL_OUTSIDE =\n new InjectionToken<TuiTextfieldLabelOutsideDirective>(`tuiTextfieldLabelOutside`, {\n factory: labelOutsideDirectiveFactory,\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 TuiController {\n @Input(`tuiTextfieldLabelOutside`)\n labelOutside = false;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function labelOutsideDirectiveFactory(): TuiTextfieldLabelOutsideDirective {\n return new TuiTextfieldLabelOutsideDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_MAX_LENGTH =\n new InjectionToken<TuiTextfieldMaxLengthDirective>(`tuiTextfieldMaxLength`, {\n factory: maxLengthDirectiveFactory,\n });\n\n@Directive({\n selector: `[tuiTextfieldMaxLength]`,\n providers: [\n {\n provide: TUI_TEXTFIELD_MAX_LENGTH,\n useExisting: forwardRef(() => TuiTextfieldMaxLengthDirective),\n },\n ],\n})\nexport class TuiTextfieldMaxLengthDirective extends TuiController {\n @Input(`tuiTextfieldMaxLength`)\n maxLength: number | null = null;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function maxLengthDirectiveFactory(): TuiTextfieldMaxLengthDirective {\n return new TuiTextfieldMaxLengthDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\n\nexport const TUI_TEXTFIELD_SIZE = new InjectionToken<TuiTextfieldSizeDirective>(\n `tuiTextfieldSize`,\n {\n factory: sizeDirectiveFactory,\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 TuiController {\n @Input(`tuiTextfieldSize`)\n size: TuiSizeS | TuiSizeL = `l`;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function sizeDirectiveFactory(): TuiTextfieldSizeDirective {\n return new TuiTextfieldSizeDirective();\n}\n","import {Directive, forwardRef, InjectionToken, Input} from '@angular/core';\nimport {TuiController, TuiInputTypeT} from '@taiga-ui/cdk';\n\nexport const TUI_TEXTFIELD_TYPE = new InjectionToken<TuiTextfieldTypeDirective>(\n `tuiTextfieldType`,\n {\n factory: typeDirectiveFactory,\n },\n);\n\n@Directive({\n selector: `[tuiTextfieldType]`,\n providers: [\n {\n provide: TUI_TEXTFIELD_TYPE,\n useExisting: forwardRef(() => TuiTextfieldTypeDirective),\n },\n ],\n})\nexport class TuiTextfieldTypeDirective extends TuiController {\n @Input(`tuiTextfieldType`)\n type: TuiInputTypeT = `text`;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typeDirectiveFactory(): TuiTextfieldTypeDirective {\n return new TuiTextfieldTypeDirective();\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiTextfieldAutocompleteDirective} from './textfield-autocomplete.directive';\nimport {TuiTextfieldCleanerDirective} from './textfield-cleaner.directive';\nimport {TuiTextfieldCustomContentDirective} from './textfield-custom-content.directive';\nimport {TuiTextfieldExampleTextDirective} from './textfield-example-text.directive';\nimport {TuiTextfieldInputModeDirective} from './textfield-input-mode.directive';\nimport {TuiTextfieldLabelOutsideDirective} from './textfield-label-outside.directive';\nimport {TuiTextfieldMaxLengthDirective} from './textfield-max-length.directive';\nimport {TuiTextfieldSizeDirective} from './textfield-size.directive';\nimport {TuiTextfieldTypeDirective} from './textfield-type.directive';\n\n@NgModule({\n declarations: [\n TuiTextfieldAutocompleteDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldExampleTextDirective,\n TuiTextfieldInputModeDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldMaxLengthDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldTypeDirective,\n ],\n exports: [\n TuiTextfieldAutocompleteDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldExampleTextDirective,\n TuiTextfieldInputModeDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldMaxLengthDirective,\n TuiTextfieldSizeDirective,\n TuiTextfieldTypeDirective,\n ],\n})\nexport class TuiTextfieldControllerModule {}\n","import {ChangeDetectorRef, InjectionToken, Provider} from '@angular/core';\nimport {TuiDestroyService, watch} 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_AUTOCOMPLETE,\n TuiTextfieldAutocompleteDirective,\n} from './textfield-autocomplete.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_EXAMPLE_TEXT,\n TuiTextfieldExampleTextDirective,\n} from './textfield-example-text.directive';\nimport {\n TUI_TEXTFIELD_INPUT_MODE,\n TuiTextfieldInputModeDirective,\n} from './textfield-input-mode.directive';\nimport {\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TuiTextfieldLabelOutsideDirective,\n} from './textfield-label-outside.directive';\nimport {\n TUI_TEXTFIELD_MAX_LENGTH,\n TuiTextfieldMaxLengthDirective,\n} from './textfield-max-length.directive';\nimport {TUI_TEXTFIELD_SIZE, TuiTextfieldSizeDirective} from './textfield-size.directive';\nimport {TUI_TEXTFIELD_TYPE, TuiTextfieldTypeDirective} from './textfield-type.directive';\n\nexport const TUI_TEXTFIELD_WATCHED_CONTROLLER =\n new InjectionToken<TuiTextfieldController>(`watched textfield controller`);\n\n/**\n * @deprecated: use {@link tuiTextfieldWatchedControllerFactory} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function textfieldWatchedControllerFactory(\n changeDetectorRef: ChangeDetectorRef,\n destroy$: Observable<void>,\n ...controllers: [\n TuiTextfieldAutocompleteDirective,\n TuiTextfieldCleanerDirective,\n TuiTextfieldCustomContentDirective,\n TuiTextfieldExampleTextDirective,\n TuiTextfieldInputModeDirective,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldMaxLengthDirective,\n TuiTextfieldSizeDirective,\n // @ts-ignore remove after TS update\n TuiTextfieldTypeDirective,\n ]\n): TuiTextfieldController {\n const change$ = merge(...controllers.map(({change$}) => change$ || NEVER)).pipe(\n watch(changeDetectorRef),\n takeUntil(destroy$),\n );\n\n change$.subscribe();\n\n return new TuiTextfieldController(change$, ...controllers);\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_AUTOCOMPLETE,\n TUI_TEXTFIELD_CLEANER,\n TUI_TEXTFIELD_CUSTOM_CONTENT,\n TUI_TEXTFIELD_EXAMPLE_TEXT,\n TUI_TEXTFIELD_INPUT_MODE,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TUI_TEXTFIELD_MAX_LENGTH,\n TUI_TEXTFIELD_SIZE,\n TUI_TEXTFIELD_TYPE,\n ],\n useFactory: textfieldWatchedControllerFactory,\n },\n];\n\nexport const tuiTextfieldWatchedControllerFactory = textfieldWatchedControllerFactory;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAgBI,gCACa,OAAyB,EACjB,qBAAwD,EACxD,gBAA8C,EAC9C,sBAA0D,EAC1D,oBAAsD,EACtD,kBAAkD,EAClD,qBAAwD,EACxD,kBAAkD,EAClD,aAAwC,EACxC,aAAwC;QAThD,YAAO,GAAP,OAAO,CAAkB;QACjB,0BAAqB,GAArB,qBAAqB,CAAmC;QACxD,qBAAgB,GAAhB,gBAAgB,CAA8B;QAC9C,2BAAsB,GAAtB,sBAAsB,CAAoC;QAC1D,yBAAoB,GAApB,oBAAoB,CAAkC;QACtD,uBAAkB,GAAlB,kBAAkB,CAAgC;QAClD,0BAAqB,GAArB,qBAAqB,CAAmC;QACxD,uBAAkB,GAAlB,kBAAkB,CAAgC;QAClD,kBAAa,GAAb,aAAa,CAA2B;QACxC,kBAAa,GAAb,aAAa,CAA2B;KACzD;IAEJ,sBAAI,gDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC;SAClD;;;OAAA;IAED,sBAAI,2CAAO;aAAX;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC;SACxC;;;OAAA;IAED,sBAAI,iDAAa;aAAjB;YACI,OAAO,IAAI,CAAC,sBAAsB,CAAC,aAAa,IAAI,EAAE,CAAC;SAC1D;;;OAAA;IAED,sBAAI,+CAAW;aAAf;YACI,OAAO,IAAI,CAAC,oBAAoB,CAAC,WAAW,CAAC;SAChD;;;OAAA;IAED,sBAAI,6CAAS;aAAb;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC;SAC5C;;;OAAA;IAED,sBAAI,gDAAY;aAAhB;YACI,OAAO,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC;SAClD;;;OAAA;IAED,sBAAI,6CAAS;aAAb;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC;SAC5C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6B,GAAa;IACnD,iBAAiB;IACjB;QACI,OAAO,EAAE,gCAAgC;QACzC,IAAI,EAAE;YACF,iBAAiB;YACjB,iBAAiB;YACjB,0BAA0B;YAC1B,qBAAqB;YACrB,4BAA4B;YAC5B,0BAA0B;YAC1B,wBAAwB;YACxB,2BAA2B;YAC3B,wBAAwB;YACxB,kBAAkB;YAClB,kBAAkB;SACrB;QACD,UAAU,EAAE,iCAAiC;KAChD;EACH;IAEW,oCAAoC,GAAG;;AC3FpD;;;;;;"}
|
|
@@ -16,7 +16,7 @@ var TuiWrapperDirective = /** @class */ (function () {
|
|
|
16
16
|
this.pressed = null;
|
|
17
17
|
this.focused = false;
|
|
18
18
|
this.invalid = false;
|
|
19
|
-
this.appearance =
|
|
19
|
+
this.appearance = "";
|
|
20
20
|
}
|
|
21
21
|
Object.defineProperty(TuiWrapperDirective.prototype, "computedInvalid", {
|
|
22
22
|
get: function () {
|
|
@@ -88,29 +88,29 @@ var TuiWrapperDirective = /** @class */ (function () {
|
|
|
88
88
|
], TuiWrapperDirective.prototype, "invalid", void 0);
|
|
89
89
|
__decorate([
|
|
90
90
|
Input(),
|
|
91
|
-
HostBinding(
|
|
91
|
+
HostBinding("attr.data-appearance")
|
|
92
92
|
], TuiWrapperDirective.prototype, "appearance", void 0);
|
|
93
93
|
__decorate([
|
|
94
|
-
HostBinding(
|
|
94
|
+
HostBinding("class._invalid")
|
|
95
95
|
], TuiWrapperDirective.prototype, "computedInvalid", null);
|
|
96
96
|
__decorate([
|
|
97
|
-
HostBinding(
|
|
97
|
+
HostBinding("class._focused")
|
|
98
98
|
], TuiWrapperDirective.prototype, "computedFocused", null);
|
|
99
99
|
__decorate([
|
|
100
|
-
HostBinding(
|
|
100
|
+
HostBinding("attr.data-state")
|
|
101
101
|
], TuiWrapperDirective.prototype, "interactiveState", null);
|
|
102
102
|
__decorate([
|
|
103
|
-
HostBinding(
|
|
103
|
+
HostBinding("class._no-hover")
|
|
104
104
|
], TuiWrapperDirective.prototype, "noHover", null);
|
|
105
105
|
__decorate([
|
|
106
|
-
HostBinding(
|
|
106
|
+
HostBinding("class._no-active")
|
|
107
107
|
], TuiWrapperDirective.prototype, "noActive", null);
|
|
108
108
|
TuiWrapperDirective = __decorate([
|
|
109
109
|
Directive({
|
|
110
|
-
selector:
|
|
110
|
+
selector: "tui-wrapper, [tuiWrapper]",
|
|
111
111
|
providers: [MODE_PROVIDER],
|
|
112
112
|
host: {
|
|
113
|
-
'($.data-mode.attr)':
|
|
113
|
+
'($.data-mode.attr)': "mode$",
|
|
114
114
|
},
|
|
115
115
|
}),
|
|
116
116
|
__param(0, Inject(TUI_MODE))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-directives-wrapper.js","sources":["ng://@taiga-ui/core/directives/wrapper/wrapper.directive.ts","ng://@taiga-ui/core/directives/wrapper/wrapper.module.ts","ng://@taiga-ui/core/directives/wrapper/taiga-ui-core-directives-wrapper.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {TuiInteractiveState} from '@taiga-ui/core/enums';\nimport {MODE_PROVIDER} from '@taiga-ui/core/providers';\nimport {TUI_MODE} from '@taiga-ui/core/tokens';\nimport {TuiBrightness} from '@taiga-ui/core/types';\nimport {Observable} from 'rxjs';\n\n// TODO: 3.0 remove `tui-wrapper` mode\n@Directive({\n selector:
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-directives-wrapper.js","sources":["ng://@taiga-ui/core/directives/wrapper/wrapper.directive.ts","ng://@taiga-ui/core/directives/wrapper/wrapper.module.ts","ng://@taiga-ui/core/directives/wrapper/taiga-ui-core-directives-wrapper.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {TuiInteractiveState} from '@taiga-ui/core/enums';\nimport {MODE_PROVIDER} from '@taiga-ui/core/providers';\nimport {TUI_MODE} from '@taiga-ui/core/tokens';\nimport {TuiBrightness} from '@taiga-ui/core/types';\nimport {Observable} from 'rxjs';\n\n// TODO: 3.0 remove `tui-wrapper` mode\n@Directive({\n selector: `tui-wrapper, [tuiWrapper]`,\n providers: [MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': `mode$`,\n },\n})\nexport class TuiWrapperDirective {\n @Input()\n disabled = false;\n\n @Input()\n readOnly = false;\n\n // TODO: 3.0 Rename to `hover`\n @Input()\n hovered: boolean | null = null;\n\n // TODO: 3.0 Rename to `active`\n @Input()\n pressed: boolean | null = null;\n\n @Input()\n focused = false;\n\n @Input()\n invalid = false;\n\n @Input()\n @HostBinding(`attr.data-appearance`)\n appearance = ``;\n\n constructor(@Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>) {}\n\n @HostBinding(`class._invalid`)\n get computedInvalid(): boolean {\n return !this.disabled && !this.readOnly && this.invalid;\n }\n\n @HostBinding(`class._focused`)\n get computedFocused(): boolean {\n return this.focused && !this.disabled;\n }\n\n @HostBinding(`attr.data-state`)\n get interactiveState(): TuiInteractiveState | string | null {\n if (this.disabled) {\n return TuiInteractiveState.Disabled;\n }\n\n if (this.readOnly) {\n return TuiInteractiveState.Readonly;\n }\n\n if (this.pressed) {\n return TuiInteractiveState.Pressed;\n }\n\n if (this.hovered) {\n return TuiInteractiveState.Hovered;\n }\n\n return null;\n }\n\n @HostBinding(`class._no-hover`)\n get noHover(): boolean {\n return this.readOnly || this.hovered === false;\n }\n\n @HostBinding(`class._no-active`)\n get noActive(): boolean {\n return this.readOnly || this.pressed === false;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiWrapperDirective} from './wrapper.directive';\n\n@NgModule({\n declarations: [TuiWrapperDirective],\n exports: [TuiWrapperDirective],\n})\nexport class TuiWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAOA;;IAiCI,6BAAuC,KAAuC;QAAvC,UAAK,GAAL,KAAK,CAAkC;QAvB9E,aAAQ,GAAG,KAAK,CAAC;QAGjB,aAAQ,GAAG,KA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;2DACpB;IAKhB;QADC,WAAW,CAAC,gBAAgB,CAAC;8DAG7B;IAGD;QADC,WAAW,CAAC,gBAAgB,CAAC;8DAG7B;IAGD;QADC,WAAW,CAAC,iBAAiB,CAAC;+DAmB9B;IAGD;QADC,WAAW,CAAC,iBAAiB,CAAC;sDAG9B;IAGD;QADC,WAAW,CAAC,kBAAkB,CAAC;uDAG/B;IAlEQ,mBAAmB;QAP/B,SAAS,CAAC;YACP,QAAQ,EAAE,2BAA2B;YACrC,SAAS,EAAE,CAAC,aAAa,CAAC;YAC1B,IAAI,EAAE;gBACF,oBAAoB,EAAE,OAAO;aAChC;SACJ,CAAC;QA0Be,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;OAzBpB,mBAAmB,CAmE/B;IAAD,0BAAC;CAnED;;;ICPA;KAAgC;IAAnB,gBAAgB;QAJ5B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;YACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;SACjC,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAhC;;ACRA;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-enums.js","sources":["ng://@taiga-ui/core/enums/appearance.ts","ng://@taiga-ui/core/enums/base-color.ts","ng://@taiga-ui/core/enums/button-shape.ts","ng://@taiga-ui/core/enums/decimal.ts","ng://@taiga-ui/core/enums/dropdown-animation.ts","ng://@taiga-ui/core/enums/dropdown-width.ts","ng://@taiga-ui/core/enums/hint-mode.ts","ng://@taiga-ui/core/enums/interactive-state.ts","ng://@taiga-ui/core/enums/link-mode.ts","ng://@taiga-ui/core/enums/notification.ts","ng://@taiga-ui/core/enums/orientation.ts","ng://@taiga-ui/core/enums/range-state.ts","ng://@taiga-ui/core/enums/support-color.ts","ng://@taiga-ui/core/enums/taiga-ui-core-enums.ts"],"sourcesContent":["export const enum TuiAppearance {\n Icon =
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-enums.js","sources":["ng://@taiga-ui/core/enums/appearance.ts","ng://@taiga-ui/core/enums/base-color.ts","ng://@taiga-ui/core/enums/button-shape.ts","ng://@taiga-ui/core/enums/decimal.ts","ng://@taiga-ui/core/enums/dropdown-animation.ts","ng://@taiga-ui/core/enums/dropdown-width.ts","ng://@taiga-ui/core/enums/hint-mode.ts","ng://@taiga-ui/core/enums/interactive-state.ts","ng://@taiga-ui/core/enums/link-mode.ts","ng://@taiga-ui/core/enums/notification.ts","ng://@taiga-ui/core/enums/orientation.ts","ng://@taiga-ui/core/enums/range-state.ts","ng://@taiga-ui/core/enums/support-color.ts","ng://@taiga-ui/core/enums/taiga-ui-core-enums.ts"],"sourcesContent":["export const enum TuiAppearance {\n Icon = `icon`,\n Primary = `primary`,\n Accent = `accent`,\n Secondary = `secondary`,\n Table = `table`,\n Textfield = `textfield`,\n Flat = `flat`,\n Outline = `outline`,\n Whiteblock = `whiteblock`,\n WhiteblockActive = `whiteblock-active`,\n}\n","/**\n * @deprecated\n */\nexport const enum TuiBaseColor {\n Primary = `primary`,\n Secondary = `secondary`,\n Success = `success`,\n Error = `error`,\n}\n","/**\n * @deprecated use string values\n */\nexport const enum TuiButtonShape {\n Square = `square`,\n Rounded = `rounded`,\n}\n","/**\n * @deprecated use join type {@link TuiDecimalT}\n */\nexport const enum TuiDecimal {\n NotZero = `not-zero`,\n Always = `always`,\n Never = `never`,\n}\n","export const enum TuiDropdownAnimation {\n FadeInBottom = `fadeInBottom`,\n FadeInTop = `fadeInTop`,\n}\n","/**\n * @deprecated use join type {@link TuiDropdownWidthT}\n */\nexport const enum TuiDropdownWidth {\n Fixed = `fixed`,\n Min = `min`,\n Auto = `auto`,\n}\n","/**\n * @deprecated use join type {@link TuiHintModeT}\n */\nexport const enum TuiHintMode {\n Error = `error`,\n OnDark = `onDark`,\n Overflow = `overflow`,\n}\n","/**\n * @internal used in calendar, year picker and wrapper\n */\nexport const enum TuiInteractiveState {\n Disabled = `disabled`,\n Readonly = `readonly`,\n // TODO: 3.0 Rename to `active`\n Pressed = `pressed`,\n // TODO: 3.0 Rename to `hover`\n Hovered = `hovered`,\n}\n","/**\n * @deprecated use string values\n */\nexport const enum TuiLinkMode {\n Positive = `positive`,\n Negative = `negative`,\n}\n","export const enum TuiNotification {\n Info = `info`,\n Warning = `warning`,\n Success = `success`,\n Error = `error`,\n}\n","/**\n * @deprecated use join type {@link TuiOrientationT}\n */\nexport const enum TuiOrientation {\n Vertical = `vertical`,\n Horizontal = `horizontal`,\n}\n","/**\n * @internal used in calendar and year picker\n */\nexport const enum TuiRangeState {\n Start = `start`,\n End = `end`,\n Single = `single`,\n}\n","/**\n * @deprecated\n */\nexport const enum TuiSupportColor {\n Mustard = `support-01`,\n Texas = `support-02`,\n Tan = `support-03`,\n Salmon = `support-04`,\n Sienna = `support-05`,\n Bittersweet = `support-06`,\n Pinkie = `support-07`,\n Charm = `support-08`,\n Amethist = `support-09`,\n Helio = `support-10`,\n Lilac = `support-11`,\n Malibu = `support-12`,\n Havelock = `support-13`,\n Picton = `support-14`,\n Mint = `support-15`,\n Fountain = `support-16`,\n Puertorico = `support-17`,\n Bay = `support-18`,\n Forest = `support-19`,\n York = `support-20`,\n Feijoa = `support-21`,\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"IAAkB;AAAlB,WAAkB,aAAa;IAC3B,8BAAa,CAAA;IACb,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,gCAAe,CAAA;IACf,wCAAuB,CAAA;IACvB,8BAAa,CAAA;IACb,oCAAmB,CAAA;IACnB,0CAAyB,CAAA;IACzB,uDAAsC,CAAA;AAC1C,CAAC,EAXiB,aAAa,KAAb,aAAa;;ACA/B;;;IAGkB;AAAlB,WAAkB,YAAY;IAC1B,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;IACvB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;AACnB,CAAC,EALiB,YAAY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,WAAkB,aAAa;IAC3B,gCAAe,CAAA;IACf,4BAAW,CAAA;IACX,kCAAiB,CAAA;AACrB,CAAC,EAJiB,aAAa,KAAb,aAAa;;ACH/B;;;IAGkB;AAAlB,WAAkB,eAAe;IAC7B,yCAAsB,CAAA;IACtB,uCAAoB,CAAA;IACpB,qCAAkB,CAAA;IAClB,wCAAqB,CAAA;IACrB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,wCAAqB,CAAA;IACrB,uCAAoB,CAAA;IACpB,0CAAuB,CAAA;IACvB,uCAAoB,CAAA;IACpB,uCAAoB,CAAA;IACpB,wCAAqB,CAAA;IACrB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,4CAAyB,CAAA;IACzB,qCAAkB,CAAA;IAClB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;AACzB,CAAC,EAtBiB,eAAe,KAAf,eAAe;;ACHjC;;;;;;"}
|
|
@@ -83,7 +83,7 @@ var TuiPrimitiveYearMonthPaginationComponent = /** @class */ (function () {
|
|
|
83
83
|
], TuiPrimitiveYearMonthPaginationComponent.prototype, "yearClick", void 0);
|
|
84
84
|
TuiPrimitiveYearMonthPaginationComponent = __decorate([
|
|
85
85
|
Component({
|
|
86
|
-
selector:
|
|
86
|
+
selector: "tui-primitive-year-month-pagination",
|
|
87
87
|
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 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",
|
|
88
88
|
styles: [":host{display:block}"]
|
|
89
89
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-internal-primitive-year-month-pagination.js","sources":["ng://@taiga-ui/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.ts","ng://@taiga-ui/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.ts","ng://@taiga-ui/core/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.ts"],"sourcesContent":["import {Component, EventEmitter, Input, Output} from '@angular/core';\nimport {\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n tuiDefaultProp,\n TuiMonth,\n TuiMonthLike,\n TuiYear,\n} from '@taiga-ui/cdk';\nimport {TuiWithOptionalMinMax} from '@taiga-ui/core/interfaces';\n\n@Component({\n selector:
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-internal-primitive-year-month-pagination.js","sources":["ng://@taiga-ui/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.ts","ng://@taiga-ui/core/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.ts","ng://@taiga-ui/core/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.ts"],"sourcesContent":["import {Component, EventEmitter, Input, Output} from '@angular/core';\nimport {\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n tuiDefaultProp,\n TuiMonth,\n TuiMonthLike,\n TuiYear,\n} from '@taiga-ui/cdk';\nimport {TuiWithOptionalMinMax} from '@taiga-ui/core/interfaces';\n\n@Component({\n selector: `tui-primitive-year-month-pagination`,\n templateUrl: `./primitive-year-month-pagination.template.html`,\n styleUrls: [`./primitive-year-month-pagination.style.less`],\n})\nexport class TuiPrimitiveYearMonthPaginationComponent\n implements TuiWithOptionalMinMax<TuiMonth>\n{\n @Input()\n @tuiDefaultProp()\n value = TuiMonth.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n min: TuiMonth = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max: TuiMonth = TUI_LAST_DAY;\n\n @Output()\n readonly valueChange = new EventEmitter<TuiMonth>();\n\n @Output()\n readonly yearClick = new EventEmitter<TuiYear>();\n\n get prevMonthDisabled(): boolean {\n return this.value.monthSameOrBefore(this.min);\n }\n\n get nextMonthDisabled(): boolean {\n return this.value.monthSameOrAfter(this.max);\n }\n\n get oneYear(): boolean {\n return this.min.year === this.max.year;\n }\n\n onYearClick(): void {\n this.yearClick.next(this.value);\n }\n\n onPrevMonthClick(): void {\n this.appendValueWithLimit({month: -1});\n }\n\n onNextMonthClick(): void {\n this.appendValueWithLimit({month: 1});\n }\n\n private appendValueWithLimit(date: TuiMonthLike): void {\n const newMonth: TuiMonth = this.value.append(date);\n\n if (this.min.monthSameOrAfter(newMonth)) {\n this.updateValue(this.min);\n\n return;\n }\n\n if (this.max.monthSameOrBefore(newMonth)) {\n this.updateValue(this.max);\n\n return;\n }\n\n this.updateValue(newMonth);\n }\n\n private updateValue(value: TuiMonth): void {\n if (this.value.monthSame(value)) {\n return;\n }\n\n this.value = value;\n this.valueChange.emit(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiFocusableModule} from '@taiga-ui/cdk';\nimport {TuiLinkModule} from '@taiga-ui/core/components/link';\nimport {TuiPrimitiveSpinButtonModule} from '@taiga-ui/core/components/primitive-spin-button';\nimport {TuiMonthPipeModule} from '@taiga-ui/core/pipes';\n\nimport {TuiPrimitiveYearMonthPaginationComponent} from './primitive-year-month-pagination.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiFocusableModule,\n TuiPrimitiveSpinButtonModule,\n TuiLinkModule,\n TuiMonthPipeModule,\n ],\n declarations: [TuiPrimitiveYearMonthPaginationComponent],\n exports: [TuiPrimitiveYearMonthPaginationComponent],\n})\nexport class TuiPrimitiveYearMonthPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\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AiB,CAAC,QAAQ,CAAC,EAAE;YACtC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAE3B,OAAO;SACV;QAED,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;KAC9B;IAEO,8DAAW,GAAnB,UAAoB,KAAe;QAC/B,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC7B,OAAO;SACV;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAChC;IAjED;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;2EACe;IAIhC;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;yEACa;IAI9B;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;yEACY;IAG7B;QADC,MAAM,EAAE;iFAC2C;IAGpD;QADC,MAAM,EAAE;+EACwC;IAnBxC,wCAAwC;QALpD,SAAS,CAAC;YACP,QAAQ,EAAE,qCAAqC;YAC/C,6uBAA8D;;SAEjE,CAAC;OACW,wCAAwC,CAuEpD;IAAD,+CAAC;CAvED;;;ICIA;KAAqD;IAAxC,qCAAqC;QAXjD,QAAQ,CAAC;YACN,OAAO,EAAE;gBACL,YAAY;gBACZ,kBAAkB;gBAClB,4BAA4B;gBAC5B,aAAa;gBACb,kBAAkB;aACrB;YACD,YAAY,EAAE,CAAC,wCAAwC,CAAC;YACxD,OAAO,EAAE,CAAC,wCAAwC,CAAC;SACtD,CAAC;OACW,qCAAqC,CAAG;IAAD,4CAAC;CAArD;;ACpBA;;;;;;"}
|
|
@@ -33,7 +33,7 @@ var TuiSvgDefsHostComponent = /** @class */ (function () {
|
|
|
33
33
|
]; };
|
|
34
34
|
TuiSvgDefsHostComponent = __decorate([
|
|
35
35
|
Component({
|
|
36
|
-
selector:
|
|
36
|
+
selector: "tui-svg-defs-host",
|
|
37
37
|
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",
|
|
38
38
|
providers: [TuiDestroyService],
|
|
39
39
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-internal-svg-defs-host.js","sources":["ng://@taiga-ui/core/internal/svg-defs-host/svg-defs-host.component.ts","ng://@taiga-ui/core/internal/svg-defs-host/svg-defs-host.module.ts","ng://@taiga-ui/core/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.ts"],"sourcesContent":["import {DOCUMENT, isPlatformServer} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n OnInit,\n PLATFORM_ID,\n} from '@angular/core';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {TuiDestroyService} from '@taiga-ui/cdk';\nimport {TuiSvgService} from '@taiga-ui/core/services';\nimport {innerHTML} from '@taiga-ui/core/utils/polyfills';\nimport {takeUntil} from 'rxjs/operators';\n\n// @dynamic\n@Component({\n selector:
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-internal-svg-defs-host.js","sources":["ng://@taiga-ui/core/internal/svg-defs-host/svg-defs-host.component.ts","ng://@taiga-ui/core/internal/svg-defs-host/svg-defs-host.module.ts","ng://@taiga-ui/core/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.ts"],"sourcesContent":["import {DOCUMENT, isPlatformServer} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n OnInit,\n PLATFORM_ID,\n} from '@angular/core';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {TuiDestroyService} from '@taiga-ui/cdk';\nimport {TuiSvgService} from '@taiga-ui/core/services';\nimport {innerHTML} from '@taiga-ui/core/utils/polyfills';\nimport {takeUntil} from 'rxjs/operators';\n\n// @dynamic\n@Component({\n selector: `tui-svg-defs-host`,\n templateUrl: `./svg-defs-host.template.html`,\n styleUrls: [`./svg-defs-host.style.less`],\n providers: [TuiDestroyService],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiSvgDefsHostComponent implements OnInit {\n items!: IterableIterator<SafeHtml>;\n isBrowser = true;\n\n constructor(\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(TuiSvgService) private readonly svgService: TuiSvgService,\n @Inject(ChangeDetectorRef) private readonly changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService)\n private readonly destroy$: TuiDestroyService,\n @Inject(PLATFORM_ID) platformId: Record<string, unknown>,\n ) {\n this.isBrowser = !isPlatformServer(platformId);\n innerHTML(documentRef);\n }\n\n // @bad TODO: Looks like it could be async piped but it was probably written like that for a reason\n ngOnInit(): void {\n this.svgService.items$.pipe(takeUntil(this.destroy$)).subscribe(defsMap => {\n this.items = defsMap.values();\n this.changeDetectorRef.detectChanges();\n });\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule} from '@taiga-ui/cdk';\n\nimport {TuiSvgDefsHostComponent} from './svg-defs-host.component';\n\n@NgModule({\n imports: [CommonModule, TuiLetModule],\n declarations: [TuiSvgDefsHostComponent],\n exports: [TuiSvgDefsHostComponent],\n})\nexport class TuiSvgDefsHostModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAeA;;IAYI,iCACsB,WAAqB,EACC,UAAyB,EACrB,iBAAoC,EAE/D,QAA2B,EACvB,UAAmC;QAJhB,eAAU,GAAV,UAAU,CAAe;QACrB,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,CAAC;YACrC,YAAY,EAAE,CAAC,uBAAuB,CAAC;YACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;SACrC,CAAC;OACW,oBAAoB,CAAG;IAAD,2BAAC;CAApC;;ACXA;;;;;;"}
|
|
@@ -10,10 +10,10 @@ function smartSearch(getSearchFunction, searchDebounceTimeMs) {
|
|
|
10
10
|
if (searchDebounceTimeMs === void 0) { searchDebounceTimeMs = 400; }
|
|
11
11
|
return function (source) {
|
|
12
12
|
return source.pipe(debounceTime(searchDebounceTimeMs), scan(function (previousSearched, current) {
|
|
13
|
-
return previousSearched !==
|
|
13
|
+
return previousSearched !== "" && current.startsWith(previousSearched)
|
|
14
14
|
? previousSearched
|
|
15
15
|
: current;
|
|
16
|
-
},
|
|
16
|
+
}, ""), distinctUntilChanged(), switchMap(function (value) { return getSearchFunction(value).pipe(startWith(null)); }), startWith(EMPTY_ARRAY));
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
var tuiSmartSearch = smartSearch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-observables.js","sources":["ng://@taiga-ui/core/observables/smart-search.ts","ng://@taiga-ui/core/observables/zoneful-map.ts","ng://@taiga-ui/core/observables/taiga-ui-core-observables.ts"],"sourcesContent":["import {EMPTY_ARRAY} from '@taiga-ui/cdk';\nimport {Observable, OperatorFunction} from 'rxjs';\nimport {\n debounceTime,\n distinctUntilChanged,\n scan,\n startWith,\n switchMap,\n} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiSmartSearch} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function smartSearch<T>(\n getSearchFunction: (search: string) => Observable<readonly T[] | readonly T[][]>,\n searchDebounceTimeMs: number = 400,\n): OperatorFunction<string, readonly T[] | readonly T[][] | null> {\n return source =>\n source.pipe(\n debounceTime(searchDebounceTimeMs),\n scan((previousSearched, current) => {\n return previousSearched !==
|
|
1
|
+
{"version":3,"file":"taiga-ui-core-observables.js","sources":["ng://@taiga-ui/core/observables/smart-search.ts","ng://@taiga-ui/core/observables/zoneful-map.ts","ng://@taiga-ui/core/observables/taiga-ui-core-observables.ts"],"sourcesContent":["import {EMPTY_ARRAY} from '@taiga-ui/cdk';\nimport {Observable, OperatorFunction} from 'rxjs';\nimport {\n debounceTime,\n distinctUntilChanged,\n scan,\n startWith,\n switchMap,\n} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiSmartSearch} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function smartSearch<T>(\n getSearchFunction: (search: string) => Observable<readonly T[] | readonly T[][]>,\n searchDebounceTimeMs: number = 400,\n): OperatorFunction<string, readonly T[] | readonly T[][] | null> {\n return source =>\n source.pipe(\n debounceTime(searchDebounceTimeMs),\n scan((previousSearched, current) => {\n return previousSearched !== `` && current.startsWith(previousSearched)\n ? previousSearched\n : current;\n }, ``),\n distinctUntilChanged(),\n switchMap(value => getSearchFunction(value).pipe(startWith(null))),\n startWith(EMPTY_ARRAY),\n );\n}\n\nexport const tuiSmartSearch = smartSearch;\n","import {NgZone} from '@angular/core';\nimport {tuiZonefull} from '@taiga-ui/cdk';\nimport {OperatorFunction, pipe} from 'rxjs';\nimport {distinctUntilChanged, map} from 'rxjs/operators';\n\n/**\n * Works like regular map + distinctUntilChanged\n * and only returns to NgZone if value has changed\n *\n * @param project mapping function\n * @param ngZone NgZone instance\n */\nexport function tuiZonefulMap<T, R>(\n project: (value: T, index: number) => R,\n ngZone: NgZone,\n): OperatorFunction<T, R> {\n return pipe(map(project), distinctUntilChanged(), tuiZonefull(ngZone));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAUA;;;AAGA;SACgB,WAAW,CACvB,iBAAgF,EAChF,oBAAkC;IAAlC,qCAAA,EAAA,0BAAkC;IAElC,OAAO,UAAA,MAAM;QACT,OAAA,MAAM,CAAC,IAAI,CACP,YAAY,CAAC,oBAAoB,CAAC,EAClC,IAAI,CAAC,UAAC,gBAAgB,EAAE,OAAO;YAC3B,OAAO,gBAAgB,KAAK,EAAE,IAAI,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;kBAChE,gBAAgB;kBAChB,OAAO,CAAC;SACjB,EAAE,EAAE,CAAC,EACN,oBAAoB,EAAE,EACtB,SAAS,CAAC,UAAA,KAAK,IAAI,OAAA,iBAAiB,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,GAAA,CAAC,EAClE,SAAS,CAAC,WAAW,CAAC,CACzB;KAAA,CAAC;AACV,CAAC;IAEY,cAAc,GAAG;;AC3B9B;;;;;;;SAOgB,aAAa,CACzB,OAAuC,EACvC,MAAc;IAEd,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,oBAAoB,EAAE,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;AAC3E;;ACjBA;;;;;;"}
|