@taiga-ui/core 2.55.0 → 3.0.0-rc.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/abstract/abstract-dropdown.d.ts +7 -4
- package/abstract/abstract-hint-options.d.ts +2 -2
- package/abstract/abstract-hint.d.ts +3 -0
- package/abstract/abstract-textfield-host.d.ts +3 -0
- package/abstract/package.json +2 -5
- package/abstract/taiga-ui-core-abstract.d.ts +1 -0
- package/animations/package.json +2 -5
- package/animations/taiga-ui-core-animations.d.ts +1 -0
- package/bundles/taiga-ui-core-abstract.umd.js +453 -335
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-animations.umd.js +145 -141
- package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-alert.umd.js +448 -347
- package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +499 -371
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-calendar.umd.js +471 -339
- package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-data-list.umd.js +629 -472
- package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +487 -350
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js +497 -365
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-error.umd.js +401 -284
- package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js +435 -315
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +443 -339
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.js +515 -382
- package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +491 -354
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-label.umd.js +404 -288
- package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +459 -326
- package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +428 -309
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js +416 -296
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +457 -326
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +429 -306
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +438 -310
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +796 -638
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +439 -314
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +446 -305
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js +533 -392
- package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.js +457 -325
- package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-svg.umd.js +454 -332
- package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.js +373 -264
- package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +439 -314
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.js +55 -107
- package/bundles/taiga-ui-core-components.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +27 -34
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.js +399 -287
- package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js +425 -304
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.js +411 -290
- package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js +423 -304
- package/bundles/taiga-ui-core-directives-hint-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-hint.umd.js +451 -323
- package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js +404 -285
- package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +58 -269
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-mode.umd.js +375 -266
- package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +414 -298
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +392 -282
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +753 -470
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.js +101 -325
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.js +29 -69
- package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.js +11 -104
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-core-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +423 -298
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +69 -279
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
- package/bundles/taiga-ui-core-internal.umd.js +7 -11
- package/bundles/taiga-ui-core-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-core-mask.umd.js +2 -2
- package/bundles/taiga-ui-core-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-observables.umd.js +12 -10
- package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +50 -267
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.js +46 -263
- package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js +43 -261
- package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes-month.umd.js +49 -265
- package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
- package/bundles/taiga-ui-core-pipes.umd.js +13 -29
- package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-core-providers.umd.js +10 -12
- package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-core-services.umd.js +432 -308
- package/bundles/taiga-ui-core-services.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +382 -302
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-types.umd.js +2 -2
- package/bundles/taiga-ui-core-types.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +24 -32
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +350 -311
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +368 -286
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +12 -26
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.js +7 -3
- package/bundles/taiga-ui-core-utils-mobile.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.js +11 -7
- package/bundles/taiga-ui-core-utils-polyfills.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils.umd.js +15 -27
- package/bundles/taiga-ui-core-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-core.umd.js +49 -57
- package/bundles/taiga-ui-core.umd.js.map +1 -1
- package/components/alert/alert.component.d.ts +3 -0
- package/components/alert/alert.module.d.ts +8 -3
- package/components/alert/alert.service.d.ts +7 -13
- package/components/alert/package.json +2 -5
- package/components/alert/taiga-ui-core-components-alert.d.ts +1 -0
- package/components/button/button.component.d.ts +6 -5
- package/components/button/button.module.d.ts +10 -0
- package/components/button/package.json +2 -5
- package/components/button/taiga-ui-core-components-button.d.ts +1 -0
- package/components/calendar/calendar.component.d.ts +3 -0
- package/components/calendar/calendar.module.d.ts +11 -0
- package/components/calendar/package.json +2 -5
- package/components/calendar/taiga-ui-core-components-calendar.d.ts +1 -0
- package/components/data-list/data-list-dropdown-manager.directive.d.ts +3 -0
- package/components/data-list/data-list.component.d.ts +4 -1
- package/components/data-list/data-list.directive.d.ts +3 -0
- package/components/data-list/data-list.module.d.ts +12 -0
- package/components/data-list/opt-group.directive.d.ts +3 -0
- package/components/data-list/option/option.component.d.ts +3 -0
- package/components/data-list/package.json +2 -5
- package/components/data-list/taiga-ui-core-components-data-list.d.ts +1 -0
- package/components/dialog/dialog.component.d.ts +3 -0
- package/components/dialog/dialog.directive.d.ts +3 -0
- package/components/dialog/dialog.module.d.ts +10 -0
- package/components/dialog/dialog.service.d.ts +4 -1
- package/components/dialog/package.json +2 -5
- package/components/dialog/taiga-ui-core-components-dialog.d.ts +1 -0
- package/components/dropdown-box/dropdown-box.component.d.ts +5 -2
- package/components/dropdown-box/dropdown-box.module.d.ts +9 -0
- package/components/dropdown-box/package.json +2 -5
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.d.ts +1 -0
- package/components/error/error.component.d.ts +3 -0
- package/components/error/error.module.d.ts +7 -0
- package/components/error/package.json +2 -5
- package/components/error/taiga-ui-core-components-error.d.ts +1 -0
- package/components/expand/expand-content.directive.d.ts +3 -0
- package/components/expand/expand.component.d.ts +3 -0
- package/components/expand/expand.module.d.ts +8 -0
- package/components/expand/package.json +2 -5
- package/components/expand/taiga-ui-core-components-expand.d.ts +1 -0
- package/components/group/group-styles.component.d.ts +3 -0
- package/components/group/group.directive.d.ts +5 -2
- package/components/group/group.module.d.ts +7 -0
- package/components/group/index.d.ts +0 -1
- package/components/group/package.json +2 -5
- package/components/group/taiga-ui-core-components-group.d.ts +1 -0
- package/components/hints-host/hint-box/hint-box.component.d.ts +5 -2
- package/components/hints-host/hint-box/hint-box.module.d.ts +8 -0
- package/components/hints-host/hints-host.component.d.ts +4 -1
- package/components/hints-host/hints-host.module.d.ts +9 -0
- package/components/hints-host/package.json +2 -5
- package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +1 -0
- package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +3 -0
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +3 -0
- package/components/hosted-dropdown/hosted-dropdown.module.d.ts +10 -0
- package/components/hosted-dropdown/package.json +2 -5
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +1 -0
- package/components/label/label.component.d.ts +4 -1
- package/components/label/label.module.d.ts +6 -0
- package/components/label/package.json +2 -5
- package/components/label/taiga-ui-core-components-label.d.ts +1 -0
- package/components/link/link.component.d.ts +3 -0
- package/components/link/link.module.d.ts +7 -0
- package/components/link/package.json +2 -5
- package/components/link/taiga-ui-core-components-link.d.ts +1 -0
- package/components/loader/loader.component.d.ts +4 -1
- package/components/loader/loader.module.d.ts +7 -0
- package/components/loader/package.json +2 -5
- package/components/loader/taiga-ui-core-components-loader.d.ts +1 -0
- package/components/notification/notification.component.d.ts +3 -0
- package/components/notification/notification.module.d.ts +8 -0
- package/components/notification/package.json +2 -5
- package/components/notification/taiga-ui-core-components-notification.d.ts +1 -0
- package/components/package.json +2 -5
- package/components/primitive-calendar/package.json +2 -5
- package/components/primitive-calendar/primitive-calendar.component.d.ts +4 -1
- package/components/primitive-calendar/primitive-calendar.module.d.ts +8 -0
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +1 -0
- package/components/primitive-checkbox/checkbox-options.d.ts +0 -5
- package/components/primitive-checkbox/package.json +2 -5
- package/components/primitive-checkbox/primitive-checkbox.component.d.ts +5 -2
- package/components/primitive-checkbox/primitive-checkbox.module.d.ts +8 -0
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +1 -0
- package/components/primitive-spin-button/package.json +2 -5
- package/components/primitive-spin-button/primitive-spin-button.component.d.ts +3 -0
- package/components/primitive-spin-button/primitive-spin-button.module.d.ts +8 -0
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +1 -0
- package/components/primitive-textfield/package.json +2 -5
- package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -3
- package/components/primitive-textfield/primitive-textfield-types.d.ts +10 -0
- package/components/primitive-textfield/primitive-textfield.component.d.ts +8 -12
- package/components/primitive-textfield/primitive-textfield.directive.d.ts +3 -0
- package/components/primitive-textfield/primitive-textfield.module.d.ts +17 -0
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +1 -0
- package/components/primitive-textfield/textfield/textfield.component.d.ts +3 -0
- package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +5 -2
- package/components/primitive-year-picker/package.json +2 -5
- package/components/primitive-year-picker/primitive-year-picker.component.d.ts +3 -0
- package/components/primitive-year-picker/primitive-year-picker.module.d.ts +7 -0
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +1 -0
- package/components/root/package.json +2 -5
- package/components/root/root.component.d.ts +3 -0
- package/components/root/root.module.d.ts +11 -0
- package/components/root/taiga-ui-core-components-root.d.ts +1 -0
- package/components/scroll-controls/package.json +2 -5
- package/components/scroll-controls/scroll-controls.component.d.ts +3 -0
- package/components/scroll-controls/scroll-controls.module.d.ts +9 -0
- package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +3 -0
- package/components/scroll-controls/scrollbar.directive.d.ts +5 -2
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +1 -1
- package/components/scrollbar/package.json +2 -5
- package/components/scrollbar/scroll-ref.directive.d.ts +3 -0
- package/components/scrollbar/scrollable.directive.d.ts +3 -0
- package/components/scrollbar/scrollbar.component.d.ts +3 -0
- package/components/scrollbar/scrollbar.module.d.ts +9 -0
- package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +1 -0
- package/components/svg/package.json +2 -5
- package/components/svg/svg.component.d.ts +3 -0
- package/components/svg/svg.module.d.ts +7 -0
- package/components/svg/taiga-ui-core-components-svg.d.ts +1 -0
- package/components/taiga-ui-core-components.d.ts +1 -0
- package/components/theme-night/package.json +2 -5
- package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +1 -0
- package/components/theme-night/theme-night.component.d.ts +3 -0
- package/components/theme-night/theme-night.module.d.ts +5 -0
- package/components/tooltip/package.json +2 -5
- package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +1 -0
- package/components/tooltip/tooltip.component.d.ts +5 -2
- package/components/tooltip/tooltip.module.d.ts +9 -0
- package/constants/described-by.d.ts +1 -0
- package/constants/index.d.ts +1 -1
- package/constants/package.json +2 -5
- package/constants/taiga-ui-core-constants.d.ts +1 -0
- package/constants/version.d.ts +1 -1
- package/directives/described-by/described-by.directive.d.ts +3 -1
- package/directives/described-by/described-by.module.d.ts +5 -0
- package/directives/described-by/package.json +2 -5
- package/directives/described-by/taiga-ui-core-directives-described-by.d.ts +1 -0
- package/directives/dropdown/dropdown.directive.d.ts +5 -2
- package/directives/dropdown/dropdown.module.d.ts +6 -0
- package/directives/dropdown/package.json +2 -5
- package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +1 -0
- package/directives/dropdown-controller/dropdown-controller.directive.d.ts +7 -4
- package/directives/dropdown-controller/dropdown-controller.module.d.ts +5 -0
- package/directives/dropdown-controller/dropdown-controller.provider.d.ts +0 -2
- package/directives/dropdown-controller/package.json +2 -5
- package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.d.ts +1 -0
- package/directives/hint/hint-options.d.ts +0 -1
- package/directives/hint/hint.directive.d.ts +4 -1
- package/directives/hint/hint.module.d.ts +5 -0
- package/directives/hint/package.json +2 -5
- package/directives/hint/taiga-ui-core-directives-hint.d.ts +1 -0
- package/directives/hint-controller/hint-controller.directive.d.ts +6 -3
- package/directives/hint-controller/hint-controller.module.d.ts +5 -0
- package/directives/hint-controller/hint-controller.provider.d.ts +0 -2
- package/directives/hint-controller/package.json +2 -5
- package/directives/hint-controller/taiga-ui-core-directives-hint-controller.d.ts +1 -0
- package/directives/index.d.ts +0 -2
- package/directives/manual-hint/manual-hint.directive.d.ts +3 -0
- package/directives/manual-hint/manual-hint.module.d.ts +5 -0
- package/directives/manual-hint/package.json +2 -5
- package/directives/manual-hint/taiga-ui-core-directives-manual-hint.d.ts +1 -0
- package/directives/mask-accessor/mask-accessor.directive.d.ts +3 -0
- package/directives/mask-accessor/mask-accessor.module.d.ts +5 -0
- package/directives/mask-accessor/package.json +2 -5
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +1 -0
- package/directives/mode/mode.directive.d.ts +5 -2
- package/directives/mode/mode.module.d.ts +5 -0
- package/directives/mode/package.json +2 -5
- package/directives/mode/taiga-ui-core-directives-mode.d.ts +1 -0
- package/directives/package.json +2 -5
- package/directives/pointer-hint/package.json +2 -5
- package/directives/pointer-hint/pointer-hint.directive.d.ts +4 -1
- package/directives/pointer-hint/pointer-hint.module.d.ts +5 -0
- package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.d.ts +1 -0
- package/directives/scroll-into-view/package.json +2 -5
- package/directives/scroll-into-view/scroll-into-view.directive.d.ts +4 -2
- package/directives/scroll-into-view/scroll-into-view.module.d.ts +5 -0
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +1 -0
- package/directives/taiga-ui-core-directives.d.ts +1 -0
- package/directives/textfield-controller/index.d.ts +2 -0
- package/directives/textfield-controller/package.json +2 -5
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +1 -0
- package/directives/textfield-controller/textfield-autocomplete.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-cleaner.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-controller.module.d.ts +15 -0
- package/directives/textfield-controller/textfield-controller.provider.d.ts +15 -1
- package/directives/textfield-controller/textfield-custom-content.directive.d.ts +6 -3
- package/directives/textfield-controller/textfield-example-text.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-icon-left.directive.d.ts +12 -0
- package/directives/textfield-controller/textfield-icon.directive.d.ts +12 -0
- package/directives/textfield-controller/textfield-input-mode.directive.d.ts +6 -3
- package/directives/textfield-controller/textfield-label-outside.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-max-length.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-size.directive.d.ts +5 -2
- package/directives/textfield-controller/textfield-type.directive.d.ts +6 -3
- package/directives/textfield-controller/textfield.controller.d.ts +10 -4
- package/directives/wrapper/package.json +2 -5
- package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +1 -0
- package/directives/wrapper/wrapper.directive.d.ts +6 -3
- package/directives/wrapper/wrapper.module.d.ts +5 -0
- package/enums/index.d.ts +0 -8
- package/enums/interactive-state.d.ts +2 -2
- package/enums/package.json +2 -5
- package/enums/taiga-ui-core-enums.d.ts +1 -0
- package/esm2015/abstract/abstract-dropdown.js +39 -27
- package/esm2015/abstract/abstract-hint-options.js +2 -2
- package/esm2015/abstract/abstract-hint.js +20 -19
- package/esm2015/abstract/abstract-textfield-host.js +12 -12
- package/esm2015/abstract/index.js +1 -1
- package/esm2015/abstract/taiga-ui-core-abstract.js +1 -1
- package/esm2015/animations/animations.js +140 -140
- package/esm2015/animations/index.js +1 -1
- package/esm2015/animations/taiga-ui-core-animations.js +1 -1
- package/esm2015/components/alert/alert.component.js +53 -39
- package/esm2015/components/alert/alert.module.js +29 -27
- package/esm2015/components/alert/alert.service.js +16 -36
- package/esm2015/components/alert/index.js +1 -1
- package/esm2015/components/alert/taiga-ui-core-components-alert.js +1 -1
- package/esm2015/components/button/button-options.js +3 -3
- package/esm2015/components/button/button.component.js +93 -84
- package/esm2015/components/button/button.module.js +26 -13
- package/esm2015/components/button/index.js +1 -1
- package/esm2015/components/button/taiga-ui-core-components-button.js +1 -1
- package/esm2015/components/calendar/calendar.component.js +49 -33
- package/esm2015/components/calendar/calendar.module.js +28 -13
- package/esm2015/components/calendar/index.js +1 -1
- package/esm2015/components/calendar/taiga-ui-core-components-calendar.js +1 -1
- package/esm2015/components/data-list/data-list-dropdown-manager.directive.js +25 -22
- package/esm2015/components/data-list/data-list.component.js +74 -57
- package/esm2015/components/data-list/data-list.directive.js +12 -10
- package/esm2015/components/data-list/data-list.module.js +35 -24
- package/esm2015/components/data-list/index.js +1 -1
- package/esm2015/components/data-list/opt-group.directive.js +21 -15
- package/esm2015/components/data-list/option/option.component.js +81 -56
- package/esm2015/components/data-list/taiga-ui-core-components-data-list.js +1 -1
- package/esm2015/components/dialog/dialog.component.js +55 -44
- package/esm2015/components/dialog/dialog.directive.js +25 -18
- package/esm2015/components/dialog/dialog.module.js +29 -20
- package/esm2015/components/dialog/dialog.providers.js +7 -7
- package/esm2015/components/dialog/dialog.service.js +14 -15
- package/esm2015/components/dialog/index.js +1 -1
- package/esm2015/components/dialog/taiga-ui-core-components-dialog.js +1 -1
- package/esm2015/components/dropdown-box/dropdown-box.component.js +107 -93
- package/esm2015/components/dropdown-box/dropdown-box.module.js +27 -14
- package/esm2015/components/dropdown-box/index.js +1 -1
- package/esm2015/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +1 -1
- package/esm2015/components/error/error.component.js +36 -28
- package/esm2015/components/error/error.module.js +15 -12
- package/esm2015/components/error/index.js +1 -1
- package/esm2015/components/error/taiga-ui-core-components-error.js +1 -1
- package/esm2015/components/expand/expand-content.directive.js +12 -10
- package/esm2015/components/expand/expand.component.js +55 -46
- package/esm2015/components/expand/expand.module.js +15 -12
- package/esm2015/components/expand/index.js +1 -1
- package/esm2015/components/expand/taiga-ui-core-components-expand.js +1 -1
- package/esm2015/components/group/group-styles.component.js +14 -12
- package/esm2015/components/group/group.directive.js +54 -40
- package/esm2015/components/group/group.module.js +16 -14
- package/esm2015/components/group/index.js +1 -2
- package/esm2015/components/group/taiga-ui-core-components-group.js +1 -1
- package/esm2015/components/hints-host/hint-box/hint-box.component.js +111 -95
- package/esm2015/components/hints-host/hint-box/hint-box.module.js +16 -13
- package/esm2015/components/hints-host/hints-host.component.js +29 -24
- package/esm2015/components/hints-host/hints-host.module.js +15 -12
- package/esm2015/components/hints-host/index.js +1 -1
- package/esm2015/components/hints-host/taiga-ui-core-components-hints-host.js +1 -1
- package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +12 -10
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +86 -69
- package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +26 -13
- package/esm2015/components/hosted-dropdown/index.js +1 -1
- package/esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +1 -1
- package/esm2015/components/index.js +1 -1
- package/esm2015/components/label/index.js +1 -1
- package/esm2015/components/label/label.component.js +36 -29
- package/esm2015/components/label/label.module.js +15 -12
- package/esm2015/components/label/taiga-ui-core-components-label.js +1 -1
- package/esm2015/components/link/index.js +1 -1
- package/esm2015/components/link/link.component.js +79 -53
- package/esm2015/components/link/link.module.js +15 -12
- package/esm2015/components/link/taiga-ui-core-components-link.js +1 -1
- package/esm2015/components/loader/index.js +1 -1
- package/esm2015/components/loader/loader-options.js +3 -3
- package/esm2015/components/loader/loader.component.js +46 -35
- package/esm2015/components/loader/loader.module.js +15 -12
- package/esm2015/components/loader/taiga-ui-core-components-loader.js +1 -1
- package/esm2015/components/notification/index.js +1 -1
- package/esm2015/components/notification/notification.component.js +45 -34
- package/esm2015/components/notification/notification.module.js +15 -12
- package/esm2015/components/notification/taiga-ui-core-components-notification.js +1 -1
- package/esm2015/components/primitive-calendar/index.js +1 -1
- package/esm2015/components/primitive-calendar/primitive-calendar.component.js +46 -37
- package/esm2015/components/primitive-calendar/primitive-calendar.module.js +30 -15
- package/esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +1 -1
- package/esm2015/components/primitive-checkbox/checkbox-options.js +5 -5
- package/esm2015/components/primitive-checkbox/index.js +1 -1
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +40 -25
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +15 -12
- package/esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +1 -1
- package/esm2015/components/primitive-spin-button/index.js +1 -1
- package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +40 -33
- package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +28 -13
- package/esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +1 -1
- package/esm2015/components/primitive-textfield/index.js +1 -1
- package/esm2015/components/primitive-textfield/primitive-textfield-options.js +3 -6
- package/esm2015/components/primitive-textfield/primitive-textfield-types.js +2 -0
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +131 -123
- package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +27 -21
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +53 -24
- package/esm2015/components/primitive-textfield/primitive-textfield.providers.js +1 -1
- package/esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +1 -1
- package/esm2015/components/primitive-textfield/textfield/textfield.component.js +59 -48
- package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +41 -38
- package/esm2015/components/primitive-year-picker/index.js +1 -1
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +36 -27
- package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +26 -13
- package/esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +1 -1
- package/esm2015/components/root/index.js +1 -1
- package/esm2015/components/root/root.component.js +53 -39
- package/esm2015/components/root/root.module.js +34 -13
- package/esm2015/components/root/taiga-ui-core-components-root.js +1 -1
- package/esm2015/components/scroll-controls/index.js +1 -1
- package/esm2015/components/scroll-controls/scroll-controls.component.js +47 -36
- package/esm2015/components/scroll-controls/scroll-controls.module.js +21 -16
- package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +23 -16
- package/esm2015/components/scroll-controls/scrollbar.directive.js +71 -59
- package/esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +1 -2
- package/esm2015/components/scrollbar/index.js +1 -1
- package/esm2015/components/scrollbar/scroll-ref.directive.js +24 -17
- package/esm2015/components/scrollbar/scrollable.directive.js +16 -15
- package/esm2015/components/scrollbar/scrollbar.component.js +56 -43
- package/esm2015/components/scrollbar/scrollbar.module.js +15 -12
- package/esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js +1 -1
- package/esm2015/components/svg/index.js +1 -1
- package/esm2015/components/svg/svg.component.js +78 -60
- package/esm2015/components/svg/svg.module.js +15 -12
- package/esm2015/components/svg/taiga-ui-core-components-svg.js +1 -1
- package/esm2015/components/taiga-ui-core-components.js +1 -1
- package/esm2015/components/theme-night/index.js +1 -1
- package/esm2015/components/theme-night/taiga-ui-core-components-theme-night.js +1 -1
- package/esm2015/components/theme-night/theme-night.component.js +15 -13
- package/esm2015/components/theme-night/theme-night.module.js +14 -11
- package/esm2015/components/tooltip/index.js +1 -1
- package/esm2015/components/tooltip/taiga-ui-core-components-tooltip.js +1 -1
- package/esm2015/components/tooltip/tooltip.component.js +57 -41
- package/esm2015/components/tooltip/tooltip.module.js +15 -12
- package/esm2015/constants/absolute-box-sizes.js +1 -1
- package/esm2015/constants/decimal-symbols.js +2 -2
- package/esm2015/constants/default-icons-path.js +2 -2
- package/esm2015/constants/default-marker-handler.js +1 -1
- package/esm2015/constants/described-by.js +2 -0
- package/esm2015/constants/editing-keys.js +10 -10
- package/esm2015/constants/events.js +5 -5
- package/esm2015/constants/index.js +2 -2
- package/esm2015/constants/mask-caret-trap.js +2 -2
- package/esm2015/constants/regexp.js +1 -1
- package/esm2015/constants/taiga-ui-core-constants.js +1 -1
- package/esm2015/constants/version.js +2 -2
- package/esm2015/directives/described-by/described-by.directive.js +29 -24
- package/esm2015/directives/described-by/described-by.module.js +14 -11
- package/esm2015/directives/described-by/described-by.providers.js +3 -3
- package/esm2015/directives/described-by/index.js +1 -1
- package/esm2015/directives/described-by/taiga-ui-core-directives-described-by.js +1 -1
- package/esm2015/directives/dropdown/dropdown.directive.js +51 -38
- package/esm2015/directives/dropdown/dropdown.module.js +15 -12
- package/esm2015/directives/dropdown/index.js +1 -1
- package/esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js +1 -1
- package/esm2015/directives/dropdown-controller/dropdown-controller.directive.js +44 -25
- package/esm2015/directives/dropdown-controller/dropdown-controller.module.js +14 -11
- package/esm2015/directives/dropdown-controller/dropdown-controller.provider.js +4 -6
- package/esm2015/directives/dropdown-controller/dropdown-controller.token.js +2 -2
- package/esm2015/directives/dropdown-controller/index.js +1 -1
- package/esm2015/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +1 -1
- package/esm2015/directives/hint/hint-options.js +3 -5
- package/esm2015/directives/hint/hint.directive.js +71 -46
- package/esm2015/directives/hint/hint.module.js +14 -11
- package/esm2015/directives/hint/index.js +1 -1
- package/esm2015/directives/hint/taiga-ui-core-directives-hint.js +1 -1
- package/esm2015/directives/hint-controller/hint-controller.directive.js +44 -29
- package/esm2015/directives/hint-controller/hint-controller.module.js +14 -11
- package/esm2015/directives/hint-controller/hint-controller.provider.js +4 -6
- package/esm2015/directives/hint-controller/hint-controller.token.js +2 -2
- package/esm2015/directives/hint-controller/index.js +1 -1
- package/esm2015/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +1 -1
- package/esm2015/directives/index.js +1 -3
- package/esm2015/directives/manual-hint/index.js +1 -1
- package/esm2015/directives/manual-hint/manual-hint-options.js +2 -2
- package/esm2015/directives/manual-hint/manual-hint.directive.js +35 -24
- package/esm2015/directives/manual-hint/manual-hint.module.js +14 -11
- package/esm2015/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +1 -1
- package/esm2015/directives/mask-accessor/index.js +1 -1
- package/esm2015/directives/mask-accessor/mask-accessor.directive.js +27 -18
- package/esm2015/directives/mask-accessor/mask-accessor.module.js +14 -11
- package/esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +1 -1
- package/esm2015/directives/mode/index.js +1 -1
- package/esm2015/directives/mode/mode.directive.js +16 -14
- package/esm2015/directives/mode/mode.module.js +14 -11
- package/esm2015/directives/mode/taiga-ui-core-directives-mode.js +1 -1
- package/esm2015/directives/pointer-hint/index.js +1 -1
- package/esm2015/directives/pointer-hint/pointer-hint-options.js +2 -2
- package/esm2015/directives/pointer-hint/pointer-hint.directive.js +41 -31
- package/esm2015/directives/pointer-hint/pointer-hint.module.js +14 -11
- package/esm2015/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +1 -1
- package/esm2015/directives/scroll-into-view/index.js +1 -1
- package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +28 -27
- package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +14 -11
- package/esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +1 -1
- package/esm2015/directives/taiga-ui-core-directives.js +1 -1
- package/esm2015/directives/textfield-controller/index.js +3 -1
- package/esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +1 -1
- package/esm2015/directives/textfield-controller/textfield-autocomplete.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +28 -22
- package/esm2015/directives/textfield-controller/textfield-controller.module.js +60 -31
- package/esm2015/directives/textfield-controller/textfield-controller.provider.js +6 -2
- package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +29 -24
- package/esm2015/directives/textfield-controller/textfield-example-text.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +38 -0
- package/esm2015/directives/textfield-controller/textfield-icon.directive.js +38 -0
- package/esm2015/directives/textfield-controller/textfield-input-mode.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +28 -22
- package/esm2015/directives/textfield-controller/textfield-max-length.directive.js +28 -22
- package/esm2015/directives/textfield-controller/textfield-size.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield-type.directive.js +29 -23
- package/esm2015/directives/textfield-controller/textfield.controller.js +11 -3
- package/esm2015/directives/wrapper/index.js +1 -1
- package/esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js +1 -1
- package/esm2015/directives/wrapper/wrapper.directive.js +63 -70
- package/esm2015/directives/wrapper/wrapper.module.js +14 -11
- package/esm2015/enums/appearance.js +1 -1
- package/esm2015/enums/dropdown-animation.js +1 -1
- package/esm2015/enums/index.js +1 -9
- package/esm2015/enums/interactive-state.js +3 -5
- package/esm2015/enums/notification.js +1 -1
- package/esm2015/enums/range-state.js +1 -1
- package/esm2015/enums/taiga-ui-core-enums.js +1 -1
- package/esm2015/index.js +4 -1
- package/esm2015/interfaces/alert-options.js +2 -1
- package/esm2015/interfaces/animation-options.js +2 -1
- package/esm2015/interfaces/data-list-accessor.js +2 -1
- package/esm2015/interfaces/data-list-host.js +2 -1
- package/esm2015/interfaces/dialog-context.js +2 -1
- package/esm2015/interfaces/dialog-options.js +2 -1
- package/esm2015/interfaces/dropdown-directive.js +2 -1
- package/esm2015/interfaces/hint.js +2 -1
- package/esm2015/interfaces/icon-error.js +2 -1
- package/esm2015/interfaces/index.js +15 -1
- package/esm2015/interfaces/media.js +2 -1
- package/esm2015/interfaces/number-format-settings.js +2 -1
- package/esm2015/interfaces/taiga-ui-core-interfaces.js +2 -1
- package/esm2015/interfaces/textfield-host.js +2 -1
- package/esm2015/interfaces/value-content-context.js +2 -1
- package/esm2015/interfaces/with-optional-min-max.js +2 -1
- package/esm2015/internal/index.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/index.js +1 -1
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +29 -20
- package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +26 -13
- package/esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -1
- package/esm2015/internal/svg-defs-host/index.js +1 -1
- package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +35 -27
- package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +15 -12
- package/esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +1 -1
- package/esm2015/internal/taiga-ui-core-internal.js +1 -1
- package/esm2015/mask/index.js +9 -1
- package/esm2015/mask/number-mask-options.js +2 -1
- package/esm2015/mask/taiga-ui-core-mask.js +2 -1
- package/esm2015/mask/text-mask-config.js +2 -1
- package/esm2015/mask/text-mask-correction-handler.js +2 -1
- package/esm2015/mask/text-mask-list-handler.js +2 -1
- package/esm2015/mask/text-mask-list.js +2 -1
- package/esm2015/mask/text-mask-options.js +2 -1
- package/esm2015/mask/text-mask-pipe-handler.js +2 -1
- package/esm2015/mask/text-mask-pipe-result.js +2 -1
- package/esm2015/observables/index.js +1 -1
- package/esm2015/observables/smart-search.js +3 -3
- package/esm2015/observables/taiga-ui-core-observables.js +1 -1
- package/esm2015/observables/zoneful-map.js +1 -1
- package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +14 -11
- package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +15 -14
- package/esm2015/pipes/calendar-sheet/index.js +1 -1
- package/esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +1 -1
- package/esm2015/pipes/calendar-sheet/utils.js +4 -4
- package/esm2015/pipes/format-number/format-number.module.js +14 -11
- package/esm2015/pipes/format-number/format-number.pipe.js +13 -12
- package/esm2015/pipes/format-number/index.js +1 -1
- package/esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js +1 -1
- package/esm2015/pipes/format-phone/format-phone.module.js +14 -11
- package/esm2015/pipes/format-phone/format-phone.pipe.js +12 -10
- package/esm2015/pipes/format-phone/index.js +1 -1
- package/esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +1 -1
- package/esm2015/pipes/index.js +1 -2
- package/esm2015/pipes/month/index.js +1 -1
- package/esm2015/pipes/month/month.module.js +14 -11
- package/esm2015/pipes/month/month.pipe.js +14 -13
- package/esm2015/pipes/month/taiga-ui-core-pipes-month.js +1 -1
- package/esm2015/pipes/taiga-ui-core-pipes.js +1 -1
- package/esm2015/providers/index.js +1 -1
- package/esm2015/providers/is-mobile-resolution.provider.js +2 -2
- package/esm2015/providers/mode.provider.js +2 -2
- package/esm2015/providers/taiga-ui-core-providers.js +1 -1
- package/esm2015/providers/watched-controller-provider-factory.js +2 -7
- package/esm2015/services/hint.service.js +11 -11
- package/esm2015/services/index.js +1 -1
- package/esm2015/services/night-theme.service.js +16 -18
- package/esm2015/services/router-link-active.service.js +26 -19
- package/esm2015/services/svg.service.js +27 -26
- package/esm2015/services/taiga-ui-core-services.js +1 -1
- package/esm2015/taiga-ui-core.js +1 -1
- 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 +11 -11
- 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/index.js +1 -1
- 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/sanitizer.js +1 -1
- package/esm2015/tokens/scroll-ref.js +2 -2
- package/esm2015/tokens/svg-content-processor.js +3 -3
- package/esm2015/tokens/svg-src-processor.js +2 -2
- package/esm2015/tokens/taiga-ui-core-tokens.js +1 -1
- 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/types/brightness.js +2 -1
- package/esm2015/types/data-list-role.js +2 -1
- package/esm2015/types/decimal-symbol.js +2 -1
- package/esm2015/types/decimal.js +2 -1
- package/esm2015/types/dialog-size.js +2 -1
- package/esm2015/types/direction.js +2 -1
- package/esm2015/types/dropdown-width.js +2 -1
- package/esm2015/types/hint-mode.js +2 -1
- package/esm2015/types/index.js +14 -1
- package/esm2015/types/marker-handler.js +2 -1
- package/esm2015/types/option-role.js +2 -1
- package/esm2015/types/orientation.js +2 -1
- package/esm2015/types/point.js +2 -1
- package/esm2015/types/size.js +2 -1
- package/esm2015/types/taiga-ui-core-types.js +2 -1
- 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/get-screen-width.js +1 -1
- package/esm2015/utils/dom/get-viewport-height.js +1 -1
- package/esm2015/utils/dom/get-viewport-width.js +1 -1
- package/esm2015/utils/dom/index.js +1 -2
- package/esm2015/utils/dom/process-icon.js +11 -11
- package/esm2015/utils/dom/taiga-ui-core-utils-dom.js +1 -1
- package/esm2015/utils/format/capitalize-first-letter.js +1 -1
- package/esm2015/utils/format/capitalize.js +1 -1
- package/esm2015/utils/format/format-number.js +7 -7
- package/esm2015/utils/format/format-phone.js +9 -9
- package/esm2015/utils/format/get-fractional-part-padded.js +6 -8
- package/esm2015/utils/format/index.js +1 -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/format/taiga-ui-core-utils-format.js +1 -1
- package/esm2015/utils/index.js +1 -1
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +14 -14
- package/esm2015/utils/mask/create-correction-mask.js +3 -3
- package/esm2015/utils/mask/create-number-mask.js +13 -13
- package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +1 -1
- package/esm2015/utils/mask/index.js +1 -1
- 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/mask/taiga-ui-core-utils-mask.js +1 -1
- package/esm2015/utils/miscellaneous/get-border.js +1 -1
- package/esm2015/utils/miscellaneous/icons-path-factory.js +3 -3
- package/esm2015/utils/miscellaneous/index.js +1 -2
- package/esm2015/utils/miscellaneous/is-editing-key.js +1 -1
- package/esm2015/utils/miscellaneous/is-presumed-html-string.js +2 -2
- package/esm2015/utils/miscellaneous/size-bigger.js +3 -3
- package/esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +1 -1
- package/esm2015/utils/mobile/index.js +1 -1
- package/esm2015/utils/mobile/is-mobile.js +1 -1
- package/esm2015/utils/mobile/taiga-ui-core-utils-mobile.js +1 -1
- package/esm2015/utils/polyfills/index.js +1 -1
- package/esm2015/utils/polyfills/inner-html.js +5 -5
- package/esm2015/utils/polyfills/taiga-ui-core-utils-polyfills.js +1 -1
- package/esm2015/utils/taiga-ui-core-utils.js +1 -1
- package/fesm2015/taiga-ui-core-abstract.js +65 -51
- 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 +94 -92
- package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +120 -96
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-calendar.js +78 -45
- package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-data-list.js +232 -167
- package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +125 -93
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dropdown-box.js +131 -102
- package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-error.js +49 -36
- package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js +78 -61
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +81 -74
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hints-host.js +160 -133
- package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +121 -86
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-label.js +49 -37
- package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +93 -62
- package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +61 -45
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js +60 -44
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js +74 -48
- package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +57 -37
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +67 -43
- package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +344 -289
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +60 -36
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +86 -49
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scroll-controls.js +173 -137
- package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-scrollbar.js +105 -77
- package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-svg.js +89 -66
- package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-theme-night.js +26 -19
- package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +71 -50
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-components.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +20 -29
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-described-by.js +45 -34
- package/fesm2015/taiga-ui-core-directives-described-by.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown-controller.js +61 -39
- package/fesm2015/taiga-ui-core-directives-dropdown-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-dropdown.js +63 -45
- package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint-controller.js +61 -43
- package/fesm2015/taiga-ui-core-directives-hint-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-hint.js +86 -58
- package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-manual-hint.js +48 -32
- package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js +39 -25
- package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-mode.js +28 -21
- package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js +54 -39
- package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +40 -34
- package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js +374 -204
- package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +75 -77
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives.js +0 -2
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js +3 -101
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +55 -31
- package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +47 -34
- package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
- package/fesm2015/taiga-ui-core-internal.js.map +1 -1
- package/fesm2015/taiga-ui-core-mask.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 +30 -24
- package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-number.js +25 -19
- package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-format-phone.js +24 -17
- package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes-month.js +26 -20
- package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
- package/fesm2015/taiga-ui-core-pipes.js +0 -1
- package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-core-providers.js +4 -9
- package/fesm2015/taiga-ui-core-providers.js.map +1 -1
- package/fesm2015/taiga-ui-core-services.js +76 -60
- package/fesm2015/taiga-ui-core-services.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +42 -43
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-types.js +11 -0
- package/fesm2015/taiga-ui-core-types.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +16 -28
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +21 -60
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +30 -30
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +6 -23
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mobile.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/fesm2015/taiga-ui-core-utils.js.map +1 -1
- package/fesm2015/taiga-ui-core.js +3 -0
- package/fesm2015/taiga-ui-core.js.map +1 -1
- package/interfaces/dropdown-directive.d.ts +2 -2
- package/interfaces/hint.d.ts +2 -1
- package/interfaces/index.d.ts +0 -1
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-core-interfaces.d.ts +1 -0
- package/internal/package.json +2 -5
- package/internal/primitive-year-month-pagination/package.json +2 -5
- package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +3 -0
- package/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.d.ts +10 -0
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +1 -0
- package/internal/svg-defs-host/package.json +2 -5
- package/internal/svg-defs-host/svg-defs-host.component.d.ts +3 -0
- package/internal/svg-defs-host/svg-defs-host.module.d.ts +7 -0
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +1 -0
- package/internal/taiga-ui-core-internal.d.ts +1 -0
- package/mask/package.json +2 -5
- package/mask/taiga-ui-core-mask.d.ts +1 -0
- package/observables/package.json +2 -5
- package/observables/taiga-ui-core-observables.d.ts +1 -0
- package/package.json +11 -14
- package/pipes/calendar-sheet/calendar-sheet.module.d.ts +5 -0
- package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +3 -0
- package/pipes/calendar-sheet/package.json +2 -5
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +1 -0
- package/pipes/format-number/format-number.module.d.ts +5 -0
- package/pipes/format-number/format-number.pipe.d.ts +3 -0
- package/pipes/format-number/package.json +2 -5
- package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +1 -0
- package/pipes/format-phone/format-phone.module.d.ts +5 -0
- package/pipes/format-phone/format-phone.pipe.d.ts +3 -0
- package/pipes/format-phone/package.json +2 -5
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +1 -0
- package/pipes/index.d.ts +0 -1
- package/pipes/month/month.module.d.ts +5 -0
- package/pipes/month/month.pipe.d.ts +4 -1
- package/pipes/month/package.json +2 -5
- package/pipes/month/taiga-ui-core-pipes-month.d.ts +1 -0
- package/pipes/package.json +2 -5
- package/pipes/taiga-ui-core-pipes.d.ts +1 -0
- package/providers/package.json +2 -5
- package/providers/taiga-ui-core-providers.d.ts +1 -0
- package/providers/watched-controller-provider-factory.d.ts +2 -6
- package/services/hint.service.d.ts +3 -0
- package/services/night-theme.service.d.ts +3 -0
- package/services/package.json +2 -5
- package/services/router-link-active.service.d.ts +3 -0
- package/services/svg.service.d.ts +3 -0
- package/services/taiga-ui-core-services.d.ts +1 -0
- package/styles/mixins/picker.less +6 -6
- package/styles/mixins/picker.scss +6 -6
- package/styles/mixins/wrapper.less +3 -3
- package/styles/mixins/wrapper.scss +3 -3
- package/styles/taiga-ui-fonts.less +1 -0
- package/styles/taiga-ui-theme.less +0 -1
- package/styles/theme/variables.less +5 -0
- package/styles/theme/wrapper/accent.less +0 -1
- package/styles/theme/wrapper/base.less +0 -1
- package/styles/theme/wrapper/icon.less +0 -1
- package/styles/theme/wrapper/none.less +0 -1
- package/styles/theme/wrapper/outline.less +0 -1
- package/styles/theme/wrapper/primary.less +0 -1
- package/styles/theme/wrapper/secondary.less +0 -3
- package/styles/theme/wrapper/table.less +0 -1
- package/styles/theme/wrapper/textfield.less +0 -3
- package/styles/theme/wrapper/whiteblock.less +0 -3
- package/taiga-ui-core.d.ts +1 -0
- package/tokens/notification-options.d.ts +0 -4
- package/tokens/package.json +2 -5
- package/tokens/taiga-ui-core-tokens.d.ts +1 -0
- package/types/decimal.d.ts +1 -1
- package/types/dropdown-width.d.ts +1 -1
- package/types/hint-mode.d.ts +1 -1
- package/types/index.d.ts +0 -2
- package/types/marker-handler.d.ts +1 -2
- package/types/orientation.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/taiga-ui-core-types.d.ts +1 -0
- package/utils/dom/index.d.ts +0 -1
- package/utils/dom/package.json +2 -5
- package/utils/dom/taiga-ui-core-utils-dom.d.ts +1 -0
- package/utils/format/get-fractional-part-padded.d.ts +1 -3
- package/utils/format/index.d.ts +0 -2
- package/utils/format/package.json +2 -5
- package/utils/format/taiga-ui-core-utils-format.d.ts +1 -0
- package/utils/mask/package.json +2 -5
- package/utils/mask/taiga-ui-core-utils-mask.d.ts +1 -0
- package/utils/miscellaneous/index.d.ts +0 -1
- package/utils/miscellaneous/package.json +2 -5
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +1 -0
- package/utils/mobile/package.json +2 -5
- package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +1 -0
- package/utils/package.json +2 -5
- package/utils/polyfills/package.json +2 -5
- package/utils/polyfills/taiga-ui-core-utils-polyfills.d.ts +1 -0
- package/utils/taiga-ui-core-utils.d.ts +1 -0
- package/abstract/taiga-ui-core-abstract.metadata.json +0 -1
- package/animations/taiga-ui-core-animations.metadata.json +0 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js +0 -2
- package/bundles/taiga-ui-core-abstract.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-animations.umd.min.js +0 -2
- package/bundles/taiga-ui-core-animations.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-alert.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-alert.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-button.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-button.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-calendar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-calendar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-data-list.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-data-list.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-error.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-error.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-expand.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-expand.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-group.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-group.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-label.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-label.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-link.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-loader.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-notification.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-notification.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-root.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-scrollbar.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-scrollbar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-svg.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-svg.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-components.umd.min.js +0 -2
- package/bundles/taiga-ui-core-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-core-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-color.umd.js +0 -314
- package/bundles/taiga-ui-core-directives-color.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-color.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-color.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-described-by.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-mode.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-mode.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-table-mode.umd.js +0 -295
- package/bundles/taiga-ui-core-directives-table-mode.umd.js.map +0 -1
- package/bundles/taiga-ui-core-directives-table-mode.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-table-mode.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-directives.umd.min.js +0 -2
- package/bundles/taiga-ui-core-directives.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-core-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-core-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-internal.umd.min.js +0 -2
- package/bundles/taiga-ui-core-internal.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-mask.umd.min.js +0 -2
- package/bundles/taiga-ui-core-mask.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-observables.umd.min.js +0 -2
- package/bundles/taiga-ui-core-observables.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-number.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-format-number.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-month.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-month.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.js +0 -296
- package/bundles/taiga-ui-core-pipes-pluralize.umd.js.map +0 -1
- package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-pipes.umd.min.js +0 -2
- package/bundles/taiga-ui-core-pipes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-providers.umd.min.js +0 -2
- package/bundles/taiga-ui-core-providers.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-services.umd.min.js +0 -2
- package/bundles/taiga-ui-core-services.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-core-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-types.umd.min.js +0 -2
- package/bundles/taiga-ui-core-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-mobile.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-mobile.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils-polyfills.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils-polyfills.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-core-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-core.umd.min.js +0 -2
- package/bundles/taiga-ui-core.umd.min.js.map +0 -1
- package/components/alert/taiga-ui-core-components-alert.metadata.json +0 -1
- package/components/button/taiga-ui-core-components-button.metadata.json +0 -1
- package/components/calendar/taiga-ui-core-components-calendar.metadata.json +0 -1
- package/components/data-list/taiga-ui-core-components-data-list.metadata.json +0 -1
- package/components/dialog/taiga-ui-core-components-dialog.metadata.json +0 -1
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +0 -1
- package/components/error/taiga-ui-core-components-error.metadata.json +0 -1
- package/components/expand/taiga-ui-core-components-expand.metadata.json +0 -1
- package/components/group/group.component.d.ts +0 -4
- package/components/group/taiga-ui-core-components-group.metadata.json +0 -1
- package/components/hints-host/taiga-ui-core-components-hints-host.metadata.json +0 -1
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +0 -1
- package/components/label/taiga-ui-core-components-label.metadata.json +0 -1
- package/components/link/taiga-ui-core-components-link.metadata.json +0 -1
- package/components/loader/taiga-ui-core-components-loader.metadata.json +0 -1
- package/components/notification/taiga-ui-core-components-notification.metadata.json +0 -1
- package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.metadata.json +0 -1
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +0 -1
- package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.metadata.json +0 -1
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +0 -1
- package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.metadata.json +0 -1
- package/components/root/taiga-ui-core-components-root.metadata.json +0 -1
- package/components/scroll-controls/taiga-ui-core-components-scroll-controls.metadata.json +0 -1
- package/components/scrollbar/taiga-ui-core-components-scrollbar.metadata.json +0 -1
- package/components/svg/taiga-ui-core-components-svg.metadata.json +0 -1
- package/components/taiga-ui-core-components.metadata.json +0 -1
- package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +0 -1
- package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +0 -1
- package/constants/media.d.ts +0 -10
- package/constants/taiga-ui-core-constants.metadata.json +0 -1
- package/directives/color/color.const.d.ts +0 -4
- package/directives/color/color.directive.d.ts +0 -10
- package/directives/color/color.module.d.ts +0 -5
- package/directives/color/index.d.ts +0 -3
- package/directives/color/package.json +0 -13
- package/directives/color/taiga-ui-core-directives-color.d.ts +0 -4
- package/directives/color/taiga-ui-core-directives-color.metadata.json +0 -1
- package/directives/described-by/taiga-ui-core-directives-described-by.metadata.json +0 -1
- package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +0 -1
- package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.metadata.json +0 -1
- package/directives/hint/taiga-ui-core-directives-hint.metadata.json +0 -1
- package/directives/hint-controller/taiga-ui-core-directives-hint-controller.metadata.json +0 -1
- package/directives/manual-hint/taiga-ui-core-directives-manual-hint.metadata.json +0 -1
- package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.metadata.json +0 -1
- package/directives/mode/taiga-ui-core-directives-mode.metadata.json +0 -1
- package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.metadata.json +0 -1
- package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.metadata.json +0 -1
- package/directives/table-mode/index.d.ts +0 -2
- package/directives/table-mode/package.json +0 -13
- package/directives/table-mode/table-mode.directive.d.ts +0 -5
- package/directives/table-mode/table-mode.module.d.ts +0 -3
- package/directives/table-mode/taiga-ui-core-directives-table-mode.d.ts +0 -4
- package/directives/table-mode/taiga-ui-core-directives-table-mode.metadata.json +0 -1
- package/directives/taiga-ui-core-directives.metadata.json +0 -1
- package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.metadata.json +0 -1
- package/directives/wrapper/taiga-ui-core-directives-wrapper.metadata.json +0 -1
- package/enums/base-color.d.ts +0 -9
- package/enums/button-shape.d.ts +0 -7
- package/enums/decimal.d.ts +0 -8
- package/enums/dropdown-width.d.ts +0 -8
- package/enums/hint-mode.d.ts +0 -8
- package/enums/link-mode.d.ts +0 -7
- package/enums/orientation.d.ts +0 -7
- package/enums/support-color.d.ts +0 -26
- package/enums/taiga-ui-core-enums.metadata.json +0 -1
- package/esm2015/components/group/group.component.js +0 -19
- package/esm2015/constants/media.js +0 -11
- package/esm2015/directives/color/color.const.js +0 -318
- package/esm2015/directives/color/color.directive.js +0 -35
- package/esm2015/directives/color/color.module.js +0 -16
- package/esm2015/directives/color/index.js +0 -4
- package/esm2015/directives/color/taiga-ui-core-directives-color.js +0 -5
- package/esm2015/directives/table-mode/index.js +0 -3
- package/esm2015/directives/table-mode/table-mode.directive.js +0 -21
- package/esm2015/directives/table-mode/table-mode.module.js +0 -14
- package/esm2015/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
- package/esm2015/enums/base-color.js +0 -11
- package/esm2015/enums/button-shape.js +0 -9
- package/esm2015/enums/decimal.js +0 -10
- package/esm2015/enums/dropdown-width.js +0 -10
- package/esm2015/enums/hint-mode.js +0 -10
- package/esm2015/enums/link-mode.js +0 -9
- package/esm2015/enums/orientation.js +0 -9
- package/esm2015/enums/support-color.js +0 -28
- package/esm2015/interfaces/notification-options.js +0 -1
- package/esm2015/pipes/pluralize/index.js +0 -3
- package/esm2015/pipes/pluralize/pluralize.module.js +0 -14
- package/esm2015/pipes/pluralize/pluralize.pipe.js +0 -22
- package/esm2015/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
- package/esm2015/types/color.js +0 -1
- package/esm2015/types/pluralize.js +0 -1
- package/esm2015/utils/dom/are-css-vars-supported.js +0 -11
- package/esm2015/utils/format/pluralize-to-icu.js +0 -13
- package/esm2015/utils/format/pluralize.js +0 -23
- package/esm2015/utils/miscellaneous/color-fallback.js +0 -17
- package/esm5/abstract/abstract-dropdown.js +0 -130
- package/esm5/abstract/abstract-hint-options.js +0 -6
- package/esm5/abstract/abstract-hint.js +0 -44
- package/esm5/abstract/abstract-textfield-host.js +0 -55
- package/esm5/abstract/index.js +0 -5
- package/esm5/abstract/taiga-ui-core-abstract.js +0 -5
- package/esm5/animations/animations.js +0 -251
- package/esm5/animations/index.js +0 -2
- package/esm5/animations/taiga-ui-core-animations.js +0 -5
- package/esm5/components/alert/alert.component.js +0 -98
- package/esm5/components/alert/alert.module.js +0 -40
- package/esm5/components/alert/alert.service.js +0 -52
- package/esm5/components/alert/index.js +0 -4
- package/esm5/components/alert/taiga-ui-core-components-alert.js +0 -5
- package/esm5/components/button/button-options.js +0 -15
- package/esm5/components/button/button.component.js +0 -156
- package/esm5/components/button/button.module.js +0 -28
- package/esm5/components/button/index.js +0 -4
- package/esm5/components/button/taiga-ui-core-components-button.js +0 -5
- package/esm5/components/calendar/calendar.component.js +0 -135
- package/esm5/components/calendar/calendar.module.js +0 -30
- package/esm5/components/calendar/index.js +0 -3
- package/esm5/components/calendar/taiga-ui-core-components-calendar.js +0 -5
- package/esm5/components/data-list/data-list-dropdown-manager.directive.js +0 -142
- package/esm5/components/data-list/data-list.component.js +0 -128
- package/esm5/components/data-list/data-list.directive.js +0 -14
- package/esm5/components/data-list/data-list.module.js +0 -36
- package/esm5/components/data-list/index.js +0 -7
- package/esm5/components/data-list/opt-group.directive.js +0 -24
- package/esm5/components/data-list/option/option.component.js +0 -107
- package/esm5/components/data-list/taiga-ui-core-components-data-list.js +0 -5
- package/esm5/components/dialog/dialog.component.js +0 -102
- package/esm5/components/dialog/dialog.directive.js +0 -26
- package/esm5/components/dialog/dialog.module.js +0 -31
- package/esm5/components/dialog/dialog.providers.js +0 -59
- package/esm5/components/dialog/dialog.service.js +0 -34
- package/esm5/components/dialog/index.js +0 -6
- package/esm5/components/dialog/taiga-ui-core-components-dialog.js +0 -5
- package/esm5/components/dropdown-box/dropdown-box.component.js +0 -313
- package/esm5/components/dropdown-box/dropdown-box.module.js +0 -28
- package/esm5/components/dropdown-box/index.js +0 -3
- package/esm5/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +0 -5
- package/esm5/components/error/error.component.js +0 -48
- package/esm5/components/error/error.module.js +0 -19
- package/esm5/components/error/index.js +0 -3
- package/esm5/components/error/taiga-ui-core-components-error.js +0 -5
- package/esm5/components/expand/expand-content.directive.js +0 -15
- package/esm5/components/expand/expand.component.js +0 -153
- package/esm5/components/expand/expand.module.js +0 -20
- package/esm5/components/expand/index.js +0 -4
- package/esm5/components/expand/taiga-ui-core-components-expand.js +0 -5
- package/esm5/components/group/group-styles.component.js +0 -16
- package/esm5/components/group/group.component.js +0 -24
- package/esm5/components/group/group.directive.js +0 -83
- package/esm5/components/group/group.module.js +0 -21
- package/esm5/components/group/index.js +0 -5
- package/esm5/components/group/taiga-ui-core-components-group.js +0 -5
- package/esm5/components/hints-host/hint-box/hint-box.component.js +0 -279
- package/esm5/components/hints-host/hint-box/hint-box.module.js +0 -21
- package/esm5/components/hints-host/hints-host.component.js +0 -42
- package/esm5/components/hints-host/hints-host.module.js +0 -21
- package/esm5/components/hints-host/index.js +0 -5
- package/esm5/components/hints-host/taiga-ui-core-components-hints-host.js +0 -5
- package/esm5/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -14
- package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +0 -230
- package/esm5/components/hosted-dropdown/hosted-dropdown.module.js +0 -28
- package/esm5/components/hosted-dropdown/index.js +0 -4
- package/esm5/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +0 -5
- package/esm5/components/index.js +0 -27
- package/esm5/components/label/index.js +0 -3
- package/esm5/components/label/label.component.js +0 -48
- package/esm5/components/label/label.module.js +0 -18
- package/esm5/components/label/taiga-ui-core-components-label.js +0 -5
- package/esm5/components/link/index.js +0 -3
- package/esm5/components/link/link.component.js +0 -121
- package/esm5/components/link/link.module.js +0 -19
- package/esm5/components/link/taiga-ui-core-components-link.js +0 -5
- package/esm5/components/loader/index.js +0 -4
- package/esm5/components/loader/loader-options.js +0 -16
- package/esm5/components/loader/loader.component.js +0 -105
- package/esm5/components/loader/loader.module.js +0 -19
- package/esm5/components/loader/taiga-ui-core-components-loader.js +0 -5
- package/esm5/components/notification/index.js +0 -3
- package/esm5/components/notification/notification.component.js +0 -68
- package/esm5/components/notification/notification.module.js +0 -20
- package/esm5/components/notification/taiga-ui-core-components-notification.js +0 -5
- package/esm5/components/primitive-calendar/index.js +0 -3
- package/esm5/components/primitive-calendar/primitive-calendar.component.js +0 -165
- package/esm5/components/primitive-calendar/primitive-calendar.module.js +0 -30
- package/esm5/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +0 -5
- package/esm5/components/primitive-checkbox/checkbox-options.js +0 -29
- package/esm5/components/primitive-checkbox/index.js +0 -4
- package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +0 -99
- package/esm5/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
- package/esm5/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +0 -5
- package/esm5/components/primitive-spin-button/index.js +0 -3
- package/esm5/components/primitive-spin-button/primitive-spin-button.component.js +0 -97
- package/esm5/components/primitive-spin-button/primitive-spin-button.module.js +0 -27
- package/esm5/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +0 -5
- package/esm5/components/primitive-textfield/index.js +0 -8
- package/esm5/components/primitive-textfield/primitive-textfield-options.js +0 -17
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +0 -370
- package/esm5/components/primitive-textfield/primitive-textfield.directive.js +0 -49
- package/esm5/components/primitive-textfield/primitive-textfield.module.js +0 -51
- package/esm5/components/primitive-textfield/primitive-textfield.providers.js +0 -16
- package/esm5/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +0 -5
- package/esm5/components/primitive-textfield/textfield/textfield.component.js +0 -77
- package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -123
- package/esm5/components/primitive-year-picker/index.js +0 -3
- package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +0 -174
- package/esm5/components/primitive-year-picker/primitive-year-picker.module.js +0 -25
- package/esm5/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +0 -5
- package/esm5/components/root/index.js +0 -3
- package/esm5/components/root/root.component.js +0 -63
- package/esm5/components/root/root.module.js +0 -33
- package/esm5/components/root/taiga-ui-core-components-root.js +0 -5
- package/esm5/components/scroll-controls/index.js +0 -4
- package/esm5/components/scroll-controls/scroll-controls.component.js +0 -68
- package/esm5/components/scroll-controls/scroll-controls.module.js +0 -25
- package/esm5/components/scroll-controls/scrollbar-wrapper.directive.js +0 -21
- package/esm5/components/scroll-controls/scrollbar.directive.js +0 -171
- package/esm5/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +0 -6
- package/esm5/components/scrollbar/index.js +0 -5
- package/esm5/components/scrollbar/scroll-ref.directive.js +0 -22
- package/esm5/components/scrollbar/scrollable.directive.js +0 -26
- package/esm5/components/scrollbar/scrollbar.component.js +0 -97
- package/esm5/components/scrollbar/scrollbar.module.js +0 -21
- package/esm5/components/scrollbar/taiga-ui-core-components-scrollbar.js +0 -5
- package/esm5/components/svg/index.js +0 -3
- package/esm5/components/svg/svg.component.js +0 -207
- package/esm5/components/svg/svg.module.js +0 -19
- package/esm5/components/svg/taiga-ui-core-components-svg.js +0 -5
- package/esm5/components/taiga-ui-core-components.js +0 -5
- package/esm5/components/theme-night/index.js +0 -3
- package/esm5/components/theme-night/taiga-ui-core-components-theme-night.js +0 -5
- package/esm5/components/theme-night/theme-night.component.js +0 -21
- package/esm5/components/theme-night/theme-night.module.js +0 -16
- package/esm5/components/tooltip/index.js +0 -3
- package/esm5/components/tooltip/taiga-ui-core-components-tooltip.js +0 -5
- package/esm5/components/tooltip/tooltip.component.js +0 -99
- package/esm5/components/tooltip/tooltip.module.js +0 -21
- package/esm5/constants/absolute-box-sizes.js +0 -5
- package/esm5/constants/decimal-symbols.js +0 -2
- package/esm5/constants/default-icons-path.js +0 -4
- package/esm5/constants/default-marker-handler.js +0 -3
- package/esm5/constants/editing-keys.js +0 -12
- package/esm5/constants/events.js +0 -19
- package/esm5/constants/index.js +0 -11
- package/esm5/constants/mask-caret-trap.js +0 -2
- package/esm5/constants/media.js +0 -11
- package/esm5/constants/regexp.js +0 -9
- package/esm5/constants/taiga-ui-core-constants.js +0 -5
- package/esm5/constants/version.js +0 -2
- package/esm5/directives/color/color.const.js +0 -5
- package/esm5/directives/color/color.directive.js +0 -36
- package/esm5/directives/color/color.module.js +0 -19
- package/esm5/directives/color/index.js +0 -4
- package/esm5/directives/color/taiga-ui-core-directives-color.js +0 -5
- package/esm5/directives/described-by/described-by.directive.js +0 -56
- package/esm5/directives/described-by/described-by.module.js +0 -16
- package/esm5/directives/described-by/described-by.providers.js +0 -26
- package/esm5/directives/described-by/index.js +0 -4
- package/esm5/directives/described-by/taiga-ui-core-directives-described-by.js +0 -5
- package/esm5/directives/dropdown/dropdown.directive.js +0 -55
- package/esm5/directives/dropdown/dropdown.module.js +0 -18
- package/esm5/directives/dropdown/index.js +0 -3
- package/esm5/directives/dropdown/taiga-ui-core-directives-dropdown.js +0 -5
- package/esm5/directives/dropdown-controller/dropdown-controller.directive.js +0 -58
- package/esm5/directives/dropdown-controller/dropdown-controller.module.js +0 -16
- package/esm5/directives/dropdown-controller/dropdown-controller.provider.js +0 -16
- package/esm5/directives/dropdown-controller/dropdown-controller.token.js +0 -6
- package/esm5/directives/dropdown-controller/index.js +0 -5
- package/esm5/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +0 -5
- package/esm5/directives/hint/hint-options.js +0 -15
- package/esm5/directives/hint/hint.directive.js +0 -145
- package/esm5/directives/hint/hint.module.js +0 -16
- package/esm5/directives/hint/index.js +0 -4
- package/esm5/directives/hint/taiga-ui-core-directives-hint.js +0 -5
- package/esm5/directives/hint-controller/hint-controller.directive.js +0 -60
- package/esm5/directives/hint-controller/hint-controller.module.js +0 -16
- package/esm5/directives/hint-controller/hint-controller.provider.js +0 -16
- package/esm5/directives/hint-controller/hint-controller.token.js +0 -7
- package/esm5/directives/hint-controller/index.js +0 -5
- package/esm5/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +0 -5
- package/esm5/directives/index.js +0 -15
- package/esm5/directives/manual-hint/index.js +0 -4
- package/esm5/directives/manual-hint/manual-hint-options.js +0 -13
- package/esm5/directives/manual-hint/manual-hint.directive.js +0 -57
- package/esm5/directives/manual-hint/manual-hint.module.js +0 -16
- package/esm5/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +0 -5
- package/esm5/directives/mask-accessor/index.js +0 -3
- package/esm5/directives/mask-accessor/mask-accessor.directive.js +0 -28
- package/esm5/directives/mask-accessor/mask-accessor.module.js +0 -19
- package/esm5/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +0 -5
- package/esm5/directives/mode/index.js +0 -3
- package/esm5/directives/mode/mode.directive.js +0 -22
- package/esm5/directives/mode/mode.module.js +0 -16
- package/esm5/directives/mode/taiga-ui-core-directives-mode.js +0 -5
- package/esm5/directives/pointer-hint/index.js +0 -4
- package/esm5/directives/pointer-hint/pointer-hint-options.js +0 -13
- package/esm5/directives/pointer-hint/pointer-hint.directive.js +0 -109
- package/esm5/directives/pointer-hint/pointer-hint.module.js +0 -16
- package/esm5/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +0 -5
- package/esm5/directives/scroll-into-view/index.js +0 -3
- package/esm5/directives/scroll-into-view/scroll-into-view.directive.js +0 -59
- package/esm5/directives/scroll-into-view/scroll-into-view.module.js +0 -16
- package/esm5/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +0 -5
- package/esm5/directives/table-mode/index.js +0 -3
- package/esm5/directives/table-mode/table-mode.directive.js +0 -24
- package/esm5/directives/table-mode/table-mode.module.js +0 -17
- package/esm5/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
- package/esm5/directives/taiga-ui-core-directives.js +0 -5
- package/esm5/directives/textfield-controller/index.js +0 -13
- package/esm5/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +0 -5
- package/esm5/directives/textfield-controller/textfield-autocomplete.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-cleaner.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-controller.module.js +0 -44
- package/esm5/directives/textfield-controller/textfield-controller.provider.js +0 -54
- package/esm5/directives/textfield-controller/textfield-custom-content.directive.js +0 -38
- package/esm5/directives/textfield-controller/textfield-example-text.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-input-mode.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-label-outside.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-max-length.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-size.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield-type.directive.js +0 -37
- package/esm5/directives/textfield-controller/textfield.controller.js +0 -80
- package/esm5/directives/wrapper/index.js +0 -3
- package/esm5/directives/wrapper/taiga-ui-core-directives-wrapper.js +0 -5
- package/esm5/directives/wrapper/wrapper.directive.js +0 -120
- package/esm5/directives/wrapper/wrapper.module.js +0 -16
- package/esm5/enums/appearance.js +0 -14
- package/esm5/enums/base-color.js +0 -11
- package/esm5/enums/button-shape.js +0 -9
- package/esm5/enums/decimal.js +0 -10
- package/esm5/enums/dropdown-animation.js +0 -6
- package/esm5/enums/dropdown-width.js +0 -10
- package/esm5/enums/hint-mode.js +0 -10
- package/esm5/enums/index.js +0 -14
- package/esm5/enums/interactive-state.js +0 -13
- package/esm5/enums/link-mode.js +0 -9
- package/esm5/enums/notification.js +0 -8
- package/esm5/enums/orientation.js +0 -9
- package/esm5/enums/range-state.js +0 -10
- package/esm5/enums/support-color.js +0 -28
- package/esm5/enums/taiga-ui-core-enums.js +0 -5
- package/esm5/index.js +0 -14
- package/esm5/interfaces/alert-options.js +0 -1
- package/esm5/interfaces/animation-options.js +0 -1
- package/esm5/interfaces/data-list-accessor.js +0 -1
- package/esm5/interfaces/data-list-host.js +0 -1
- package/esm5/interfaces/dialog-context.js +0 -1
- package/esm5/interfaces/dialog-options.js +0 -1
- package/esm5/interfaces/dropdown-directive.js +0 -1
- package/esm5/interfaces/hint.js +0 -1
- package/esm5/interfaces/icon-error.js +0 -1
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/media.js +0 -1
- package/esm5/interfaces/notification-options.js +0 -1
- package/esm5/interfaces/number-format-settings.js +0 -1
- package/esm5/interfaces/taiga-ui-core-interfaces.js +0 -4
- package/esm5/interfaces/textfield-host.js +0 -1
- package/esm5/interfaces/value-content-context.js +0 -1
- package/esm5/interfaces/with-optional-min-max.js +0 -1
- package/esm5/internal/index.js +0 -3
- package/esm5/internal/primitive-year-month-pagination/index.js +0 -3
- package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -89
- package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -28
- package/esm5/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -5
- package/esm5/internal/svg-defs-host/index.js +0 -3
- package/esm5/internal/svg-defs-host/svg-defs-host.component.js +0 -50
- package/esm5/internal/svg-defs-host/svg-defs-host.module.js +0 -19
- package/esm5/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +0 -5
- package/esm5/internal/taiga-ui-core-internal.js +0 -5
- package/esm5/mask/index.js +0 -1
- package/esm5/mask/number-mask-options.js +0 -1
- package/esm5/mask/taiga-ui-core-mask.js +0 -4
- package/esm5/mask/text-mask-config.js +0 -1
- package/esm5/mask/text-mask-correction-handler.js +0 -1
- package/esm5/mask/text-mask-list-handler.js +0 -1
- package/esm5/mask/text-mask-list.js +0 -1
- package/esm5/mask/text-mask-options.js +0 -1
- package/esm5/mask/text-mask-pipe-handler.js +0 -1
- package/esm5/mask/text-mask-pipe-result.js +0 -1
- package/esm5/observables/index.js +0 -3
- package/esm5/observables/smart-search.js +0 -18
- package/esm5/observables/taiga-ui-core-observables.js +0 -5
- package/esm5/observables/zoneful-map.js +0 -14
- package/esm5/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
- package/esm5/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -63
- package/esm5/pipes/calendar-sheet/index.js +0 -3
- package/esm5/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +0 -5
- package/esm5/pipes/calendar-sheet/utils.js +0 -44
- package/esm5/pipes/format-number/format-number.module.js +0 -16
- package/esm5/pipes/format-number/format-number.pipe.js +0 -35
- package/esm5/pipes/format-number/index.js +0 -3
- package/esm5/pipes/format-number/taiga-ui-core-pipes-format-number.js +0 -5
- package/esm5/pipes/format-phone/format-phone.module.js +0 -16
- package/esm5/pipes/format-phone/format-phone.pipe.js +0 -27
- package/esm5/pipes/format-phone/index.js +0 -3
- package/esm5/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +0 -5
- package/esm5/pipes/index.js +0 -6
- package/esm5/pipes/month/index.js +0 -3
- package/esm5/pipes/month/month.module.js +0 -16
- package/esm5/pipes/month/month.pipe.js +0 -25
- package/esm5/pipes/month/taiga-ui-core-pipes-month.js +0 -5
- package/esm5/pipes/pluralize/index.js +0 -3
- package/esm5/pipes/pluralize/pluralize.module.js +0 -17
- package/esm5/pipes/pluralize/pluralize.pipe.js +0 -25
- package/esm5/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
- package/esm5/pipes/taiga-ui-core-pipes.js +0 -5
- package/esm5/providers/index.js +0 -4
- package/esm5/providers/is-mobile-resolution.provider.js +0 -18
- package/esm5/providers/mode.provider.js +0 -24
- package/esm5/providers/taiga-ui-core-providers.js +0 -5
- package/esm5/providers/watched-controller-provider-factory.js +0 -12
- package/esm5/services/hint.service.js +0 -60
- package/esm5/services/index.js +0 -5
- package/esm5/services/night-theme.service.js +0 -31
- package/esm5/services/router-link-active.service.js +0 -35
- package/esm5/services/svg.service.js +0 -73
- package/esm5/services/taiga-ui-core-services.js +0 -5
- package/esm5/taiga-ui-core.js +0 -5
- package/esm5/tokens/animation-options.js +0 -10
- package/esm5/tokens/animations-duration.js +0 -5
- package/esm5/tokens/assert-enabled.js +0 -5
- package/esm5/tokens/data-list-accessor.js +0 -3
- package/esm5/tokens/data-list-host.js +0 -3
- package/esm5/tokens/document-or-shadow-root.js +0 -3
- package/esm5/tokens/dropdown-directive.js +0 -3
- package/esm5/tokens/element-ref.js +0 -3
- package/esm5/tokens/first-day-of-week.js +0 -5
- package/esm5/tokens/i18n.js +0 -21
- package/esm5/tokens/icon-place.js +0 -5
- package/esm5/tokens/icons-path.js +0 -5
- package/esm5/tokens/icons.js +0 -5
- package/esm5/tokens/index.js +0 -29
- package/esm5/tokens/is-mobile-resolution.js +0 -14
- package/esm5/tokens/media.js +0 -9
- package/esm5/tokens/mode.js +0 -3
- package/esm5/tokens/notification-options.js +0 -21
- package/esm5/tokens/number-format.js +0 -10
- package/esm5/tokens/option-content.js +0 -3
- package/esm5/tokens/ordered-short-week-days.js +0 -20
- package/esm5/tokens/sanitizer.js +0 -3
- package/esm5/tokens/scroll-ref.js +0 -3
- package/esm5/tokens/svg-content-processor.js +0 -4
- package/esm5/tokens/svg-src-processor.js +0 -6
- package/esm5/tokens/taiga-ui-core-tokens.js +0 -5
- package/esm5/tokens/textfield-appearance.js +0 -5
- package/esm5/tokens/textfield-host.js +0 -3
- package/esm5/tokens/theme.js +0 -5
- package/esm5/tokens/value-accessor.js +0 -3
- package/esm5/types/brightness.js +0 -1
- package/esm5/types/color.js +0 -1
- package/esm5/types/data-list-role.js +0 -1
- package/esm5/types/decimal-symbol.js +0 -1
- package/esm5/types/decimal.js +0 -1
- package/esm5/types/dialog-size.js +0 -1
- package/esm5/types/direction.js +0 -1
- package/esm5/types/dropdown-width.js +0 -1
- package/esm5/types/hint-mode.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/marker-handler.js +0 -1
- package/esm5/types/option-role.js +0 -1
- package/esm5/types/orientation.js +0 -1
- package/esm5/types/pluralize.js +0 -1
- package/esm5/types/point.js +0 -1
- package/esm5/types/size.js +0 -11
- package/esm5/types/taiga-ui-core-types.js +0 -4
- package/esm5/utils/dom/are-css-vars-supported.js +0 -11
- package/esm5/utils/dom/check-fixed-position.js +0 -14
- package/esm5/utils/dom/get-safe-area-size.js +0 -20
- package/esm5/utils/dom/get-screen-width.js +0 -9
- package/esm5/utils/dom/get-viewport-height.js +0 -22
- package/esm5/utils/dom/get-viewport-width.js +0 -22
- package/esm5/utils/dom/index.js +0 -8
- package/esm5/utils/dom/process-icon.js +0 -38
- package/esm5/utils/dom/taiga-ui-core-utils-dom.js +0 -5
- package/esm5/utils/format/capitalize-first-letter.js +0 -9
- package/esm5/utils/format/capitalize.js +0 -14
- package/esm5/utils/format/format-number.js +0 -46
- package/esm5/utils/format/format-phone.js +0 -43
- package/esm5/utils/format/get-fractional-part-padded.js +0 -19
- package/esm5/utils/format/index.js +0 -10
- package/esm5/utils/format/number-to-string-without-exp.js +0 -22
- package/esm5/utils/format/other-decimal-symbol.js +0 -9
- package/esm5/utils/format/pluralize-to-icu.js +0 -13
- package/esm5/utils/format/pluralize.js +0 -25
- package/esm5/utils/format/taiga-ui-core-utils-format.js +0 -5
- package/esm5/utils/index.js +0 -7
- package/esm5/utils/mask/create-auto-corrected-money-pipe.js +0 -99
- package/esm5/utils/mask/create-correction-mask.js +0 -27
- package/esm5/utils/mask/create-number-mask.js +0 -125
- package/esm5/utils/mask/enable-auto-correct-decimal-symbol.js +0 -6
- package/esm5/utils/mask/index.js +0 -7
- package/esm5/utils/mask/masked-money-value-is-empty.js +0 -18
- package/esm5/utils/mask/masked-number-string-to-number.js +0 -9
- package/esm5/utils/mask/taiga-ui-core-utils-mask.js +0 -5
- package/esm5/utils/miscellaneous/color-fallback.js +0 -17
- package/esm5/utils/miscellaneous/get-border.js +0 -27
- package/esm5/utils/miscellaneous/icons-path-factory.js +0 -16
- package/esm5/utils/miscellaneous/index.js +0 -7
- package/esm5/utils/miscellaneous/is-editing-key.js +0 -11
- package/esm5/utils/miscellaneous/is-presumed-html-string.js +0 -10
- package/esm5/utils/miscellaneous/size-bigger.js +0 -15
- package/esm5/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +0 -5
- package/esm5/utils/mobile/index.js +0 -2
- package/esm5/utils/mobile/is-mobile.js +0 -6
- package/esm5/utils/mobile/taiga-ui-core-utils-mobile.js +0 -5
- package/esm5/utils/polyfills/index.js +0 -2
- package/esm5/utils/polyfills/inner-html.js +0 -40
- package/esm5/utils/polyfills/taiga-ui-core-utils-polyfills.js +0 -5
- package/esm5/utils/taiga-ui-core-utils.js +0 -5
- package/fesm2015/taiga-ui-core-directives-color.js +0 -370
- package/fesm2015/taiga-ui-core-directives-color.js.map +0 -1
- package/fesm2015/taiga-ui-core-directives-table-mode.js +0 -37
- package/fesm2015/taiga-ui-core-directives-table-mode.js.map +0 -1
- package/fesm2015/taiga-ui-core-pipes-pluralize.js +0 -38
- package/fesm2015/taiga-ui-core-pipes-pluralize.js.map +0 -1
- package/fesm5/taiga-ui-core-abstract.js +0 -233
- package/fesm5/taiga-ui-core-abstract.js.map +0 -1
- package/fesm5/taiga-ui-core-animations.js +0 -258
- package/fesm5/taiga-ui-core-animations.js.map +0 -1
- package/fesm5/taiga-ui-core-components-alert.js +0 -178
- package/fesm5/taiga-ui-core-components-alert.js.map +0 -1
- package/fesm5/taiga-ui-core-components-button.js +0 -198
- package/fesm5/taiga-ui-core-components-button.js.map +0 -1
- package/fesm5/taiga-ui-core-components-calendar.js +0 -166
- package/fesm5/taiga-ui-core-components-calendar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-data-list.js +0 -428
- package/fesm5/taiga-ui-core-components-data-list.js.map +0 -1
- package/fesm5/taiga-ui-core-components-dialog.js +0 -232
- package/fesm5/taiga-ui-core-components-dialog.js.map +0 -1
- package/fesm5/taiga-ui-core-components-dropdown-box.js +0 -342
- package/fesm5/taiga-ui-core-components-dropdown-box.js.map +0 -1
- package/fesm5/taiga-ui-core-components-error.js +0 -69
- package/fesm5/taiga-ui-core-components-error.js.map +0 -1
- package/fesm5/taiga-ui-core-components-expand.js +0 -185
- package/fesm5/taiga-ui-core-components-expand.js.map +0 -1
- package/fesm5/taiga-ui-core-components-group.js +0 -136
- package/fesm5/taiga-ui-core-components-group.js.map +0 -1
- package/fesm5/taiga-ui-core-components-hints-host.js +0 -347
- package/fesm5/taiga-ui-core-components-hints-host.js.map +0 -1
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js +0 -267
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
- package/fesm5/taiga-ui-core-components-label.js +0 -68
- package/fesm5/taiga-ui-core-components-label.js.map +0 -1
- package/fesm5/taiga-ui-core-components-link.js +0 -142
- package/fesm5/taiga-ui-core-components-link.js.map +0 -1
- package/fesm5/taiga-ui-core-components-loader.js +0 -138
- package/fesm5/taiga-ui-core-components-loader.js.map +0 -1
- package/fesm5/taiga-ui-core-components-notification.js +0 -90
- package/fesm5/taiga-ui-core-components-notification.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-calendar.js +0 -196
- package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js +0 -147
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-spin-button.js +0 -125
- package/fesm5/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +0 -674
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +0 -1
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js +0 -200
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
- package/fesm5/taiga-ui-core-components-root.js +0 -96
- package/fesm5/taiga-ui-core-components-root.js.map +0 -1
- package/fesm5/taiga-ui-core-components-scroll-controls.js +0 -270
- package/fesm5/taiga-ui-core-components-scroll-controls.js.map +0 -1
- package/fesm5/taiga-ui-core-components-scrollbar.js +0 -158
- package/fesm5/taiga-ui-core-components-scrollbar.js.map +0 -1
- package/fesm5/taiga-ui-core-components-svg.js +0 -226
- package/fesm5/taiga-ui-core-components-svg.js.map +0 -1
- package/fesm5/taiga-ui-core-components-theme-night.js +0 -39
- package/fesm5/taiga-ui-core-components-theme-night.js.map +0 -1
- package/fesm5/taiga-ui-core-components-tooltip.js +0 -122
- package/fesm5/taiga-ui-core-components-tooltip.js.map +0 -1
- package/fesm5/taiga-ui-core-components.js +0 -31
- package/fesm5/taiga-ui-core-components.js.map +0 -1
- package/fesm5/taiga-ui-core-constants.js +0 -76
- package/fesm5/taiga-ui-core-constants.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-color.js +0 -61
- package/fesm5/taiga-ui-core-directives-color.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-described-by.js +0 -96
- package/fesm5/taiga-ui-core-directives-described-by.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-dropdown-controller.js +0 -92
- package/fesm5/taiga-ui-core-directives-dropdown-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-dropdown.js +0 -75
- package/fesm5/taiga-ui-core-directives-dropdown.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-hint-controller.js +0 -94
- package/fesm5/taiga-ui-core-directives-hint-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-hint.js +0 -174
- package/fesm5/taiga-ui-core-directives-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-manual-hint.js +0 -84
- package/fesm5/taiga-ui-core-directives-manual-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-mask-accessor.js +0 -49
- package/fesm5/taiga-ui-core-directives-mask-accessor.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-mode.js +0 -40
- package/fesm5/taiga-ui-core-directives-mode.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-pointer-hint.js +0 -136
- package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-scroll-into-view.js +0 -77
- package/fesm5/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-table-mode.js +0 -43
- package/fesm5/taiga-ui-core-directives-table-mode.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-textfield-controller.js +0 -460
- package/fesm5/taiga-ui-core-directives-textfield-controller.js.map +0 -1
- package/fesm5/taiga-ui-core-directives-wrapper.js +0 -138
- package/fesm5/taiga-ui-core-directives-wrapper.js.map +0 -1
- package/fesm5/taiga-ui-core-directives.js +0 -19
- package/fesm5/taiga-ui-core-directives.js.map +0 -1
- package/fesm5/taiga-ui-core-enums.js +0 -153
- package/fesm5/taiga-ui-core-enums.js.map +0 -1
- package/fesm5/taiga-ui-core-interfaces.js +0 -4
- package/fesm5/taiga-ui-core-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -118
- package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
- package/fesm5/taiga-ui-core-internal-svg-defs-host.js +0 -69
- package/fesm5/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
- package/fesm5/taiga-ui-core-internal.js +0 -7
- package/fesm5/taiga-ui-core-internal.js.map +0 -1
- package/fesm5/taiga-ui-core-mask.js +0 -4
- package/fesm5/taiga-ui-core-mask.js.map +0 -1
- package/fesm5/taiga-ui-core-observables.js +0 -37
- package/fesm5/taiga-ui-core-observables.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-calendar-sheet.js +0 -123
- package/fesm5/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-format-number.js +0 -53
- package/fesm5/taiga-ui-core-pipes-format-number.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-format-phone.js +0 -45
- package/fesm5/taiga-ui-core-pipes-format-phone.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-month.js +0 -43
- package/fesm5/taiga-ui-core-pipes-month.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes-pluralize.js +0 -44
- package/fesm5/taiga-ui-core-pipes-pluralize.js.map +0 -1
- package/fesm5/taiga-ui-core-pipes.js +0 -10
- package/fesm5/taiga-ui-core-pipes.js.map +0 -1
- package/fesm5/taiga-ui-core-providers.js +0 -58
- package/fesm5/taiga-ui-core-providers.js.map +0 -1
- package/fesm5/taiga-ui-core-services.js +0 -184
- package/fesm5/taiga-ui-core-services.js.map +0 -1
- package/fesm5/taiga-ui-core-tokens.js +0 -160
- package/fesm5/taiga-ui-core-tokens.js.map +0 -1
- package/fesm5/taiga-ui-core-types.js +0 -4
- package/fesm5/taiga-ui-core-types.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-dom.js +0 -143
- package/fesm5/taiga-ui-core-utils-dom.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-format.js +0 -202
- package/fesm5/taiga-ui-core-utils-format.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-mask.js +0 -285
- package/fesm5/taiga-ui-core-utils-mask.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-miscellaneous.js +0 -102
- package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-mobile.js +0 -13
- package/fesm5/taiga-ui-core-utils-mobile.js.map +0 -1
- package/fesm5/taiga-ui-core-utils-polyfills.js +0 -47
- package/fesm5/taiga-ui-core-utils-polyfills.js.map +0 -1
- package/fesm5/taiga-ui-core-utils.js +0 -11
- package/fesm5/taiga-ui-core-utils.js.map +0 -1
- package/fesm5/taiga-ui-core.js +0 -18
- package/fesm5/taiga-ui-core.js.map +0 -1
- package/interfaces/notification-options.d.ts +0 -17
- package/interfaces/taiga-ui-core-interfaces.metadata.json +0 -1
- package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.metadata.json +0 -1
- package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.metadata.json +0 -1
- package/internal/taiga-ui-core-internal.metadata.json +0 -1
- package/mask/taiga-ui-core-mask.metadata.json +0 -1
- package/observables/taiga-ui-core-observables.metadata.json +0 -1
- package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.metadata.json +0 -1
- package/pipes/format-number/taiga-ui-core-pipes-format-number.metadata.json +0 -1
- package/pipes/format-phone/taiga-ui-core-pipes-format-phone.metadata.json +0 -1
- package/pipes/month/taiga-ui-core-pipes-month.metadata.json +0 -1
- package/pipes/pluralize/index.d.ts +0 -2
- package/pipes/pluralize/package.json +0 -13
- package/pipes/pluralize/pluralize.module.d.ts +0 -3
- package/pipes/pluralize/pluralize.pipe.d.ts +0 -14
- package/pipes/pluralize/taiga-ui-core-pipes-pluralize.d.ts +0 -4
- package/pipes/pluralize/taiga-ui-core-pipes-pluralize.metadata.json +0 -1
- package/pipes/taiga-ui-core-pipes.metadata.json +0 -1
- package/providers/taiga-ui-core-providers.metadata.json +0 -1
- package/services/taiga-ui-core-services.metadata.json +0 -1
- package/taiga-ui-core.metadata.json +0 -1
- package/tokens/taiga-ui-core-tokens.metadata.json +0 -1
- package/types/color.d.ts +0 -3
- package/types/pluralize.d.ts +0 -4
- package/types/taiga-ui-core-types.metadata.json +0 -1
- package/utils/dom/are-css-vars-supported.d.ts +0 -6
- package/utils/dom/taiga-ui-core-utils-dom.metadata.json +0 -1
- package/utils/format/pluralize-to-icu.d.ts +0 -5
- package/utils/format/pluralize.d.ts +0 -10
- package/utils/format/taiga-ui-core-utils-format.metadata.json +0 -1
- package/utils/mask/taiga-ui-core-utils-mask.metadata.json +0 -1
- package/utils/miscellaneous/color-fallback.d.ts +0 -4
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +0 -1
- package/utils/mobile/taiga-ui-core-utils-mobile.metadata.json +0 -1
- package/utils/polyfills/taiga-ui-core-utils-polyfills.metadata.json +0 -1
- package/utils/taiga-ui-core-utils.metadata.json +0 -1
|
@@ -1,283 +1,512 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/directives/hint-controller'), require('@taiga-ui/core/directives/textfield-controller'), require('@taiga-ui/core/tokens'), require('@taiga-ui/core/utils/miscellaneous'), require('@tinkoff/ng-polymorpheus'), require('rxjs'), require('rxjs/operators'), require('@taiga-ui/core/providers'), require('@taiga-ui/core/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/core/components/primitive-textfield', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/directives/hint-controller', '@taiga-ui/core/directives/textfield-controller', '@taiga-ui/core/tokens', '@taiga-ui/core/utils/miscellaneous', '@tinkoff/ng-polymorpheus', 'rxjs', 'rxjs/operators', '@taiga-ui/core/providers', '@taiga-ui/core/
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/directives/hint-controller'), require('@taiga-ui/core/directives/textfield-controller'), require('@taiga-ui/core/tokens'), require('@taiga-ui/core/utils/miscellaneous'), require('@tinkoff/ng-polymorpheus'), require('rxjs'), require('rxjs/operators'), require('@taiga-ui/core/providers'), require('@taiga-ui/core/components/svg'), require('@taiga-ui/core/directives'), require('@taiga-ui/core/components/tooltip'), require('@angular/common'), require('@taiga-ui/core/directives/wrapper'), require('@taiga-ui/core/directives/mask-accessor'), require('@angular/forms'), require('@taiga-ui/core/directives/described-by'), require('@taiga-ui/core/abstract')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/core/components/primitive-textfield', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/directives/hint-controller', '@taiga-ui/core/directives/textfield-controller', '@taiga-ui/core/tokens', '@taiga-ui/core/utils/miscellaneous', '@tinkoff/ng-polymorpheus', 'rxjs', 'rxjs/operators', '@taiga-ui/core/providers', '@taiga-ui/core/components/svg', '@taiga-ui/core/directives', '@taiga-ui/core/components/tooltip', '@angular/common', '@taiga-ui/core/directives/wrapper', '@taiga-ui/core/directives/mask-accessor', '@angular/forms', '@taiga-ui/core/directives/described-by', '@taiga-ui/core/abstract'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.components = global["taiga-ui"].core.components || {}, global["taiga-ui"].core.components["primitive-textfield"] = {}), global.ng.core, global.i6, global["taiga-ui"].core.directives["hint-controller"], global["taiga-ui"].core.directives["textfield-controller"], global["taiga-ui"].core.tokens, global["taiga-ui"].core.utils.miscellaneous, global.i10, global.rxjs, global.rxjs.operators, global["taiga-ui"].core.providers, global["taiga-ui"].core.components.svg, global["taiga-ui"].core.directives, global["taiga-ui"].core.components.tooltip, global.ng.common, global["taiga-ui"].core.directives.wrapper, global["taiga-ui"].core.directives["mask-accessor"], global.ng.forms, global["taiga-ui"].core.directives["described-by"], global["taiga-ui"].core.abstract));
|
|
5
|
+
})(this, (function (exports, i0, i6, i13, i12, tokens, miscellaneous, i10, i11, operators, providers, i1$1, i1, i3, i4, i5, i7, i8, i9, abstract) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
function
|
|
131
|
-
var
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
var
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
function
|
|
208
|
-
if (
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
return
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
27
|
+
var i13__namespace = /*#__PURE__*/_interopNamespace(i13);
|
|
28
|
+
var i12__namespace = /*#__PURE__*/_interopNamespace(i12);
|
|
29
|
+
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
30
|
+
var i11__namespace = /*#__PURE__*/_interopNamespace(i11);
|
|
31
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
32
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
33
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
34
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
35
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
36
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
37
|
+
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
38
|
+
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
39
|
+
|
|
40
|
+
/******************************************************************************
|
|
41
|
+
Copyright (c) Microsoft Corporation.
|
|
42
|
+
|
|
43
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
44
|
+
purpose with or without fee is hereby granted.
|
|
45
|
+
|
|
46
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
47
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
48
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
49
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
50
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
51
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
52
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
53
|
+
***************************************************************************** */
|
|
54
|
+
/* global Reflect, Promise */
|
|
55
|
+
var extendStatics = function (d, b) {
|
|
56
|
+
extendStatics = Object.setPrototypeOf ||
|
|
57
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
58
|
+
function (d, b) { for (var p in b)
|
|
59
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
60
|
+
d[p] = b[p]; };
|
|
61
|
+
return extendStatics(d, b);
|
|
62
|
+
};
|
|
63
|
+
function __extends(d, b) {
|
|
64
|
+
if (typeof b !== "function" && b !== null)
|
|
65
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
66
|
+
extendStatics(d, b);
|
|
67
|
+
function __() { this.constructor = d; }
|
|
68
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
69
|
+
}
|
|
70
|
+
var __assign = function () {
|
|
71
|
+
__assign = Object.assign || function __assign(t) {
|
|
72
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
73
|
+
s = arguments[i];
|
|
74
|
+
for (var p in s)
|
|
75
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
76
|
+
t[p] = s[p];
|
|
77
|
+
}
|
|
78
|
+
return t;
|
|
79
|
+
};
|
|
80
|
+
return __assign.apply(this, arguments);
|
|
81
|
+
};
|
|
82
|
+
function __rest(s, e) {
|
|
83
|
+
var t = {};
|
|
84
|
+
for (var p in s)
|
|
85
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
86
|
+
t[p] = s[p];
|
|
87
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
88
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
89
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
90
|
+
t[p[i]] = s[p[i]];
|
|
91
|
+
}
|
|
92
|
+
return t;
|
|
93
|
+
}
|
|
94
|
+
function __decorate(decorators, target, key, desc) {
|
|
95
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
96
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
97
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
98
|
+
else
|
|
99
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
100
|
+
if (d = decorators[i])
|
|
101
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
102
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
103
|
+
}
|
|
104
|
+
function __param(paramIndex, decorator) {
|
|
105
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
106
|
+
}
|
|
107
|
+
function __metadata(metadataKey, metadataValue) {
|
|
108
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
109
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
110
|
+
}
|
|
111
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
112
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
113
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
114
|
+
function fulfilled(value) { try {
|
|
115
|
+
step(generator.next(value));
|
|
116
|
+
}
|
|
117
|
+
catch (e) {
|
|
118
|
+
reject(e);
|
|
119
|
+
} }
|
|
120
|
+
function rejected(value) { try {
|
|
121
|
+
step(generator["throw"](value));
|
|
122
|
+
}
|
|
123
|
+
catch (e) {
|
|
124
|
+
reject(e);
|
|
125
|
+
} }
|
|
126
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
127
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
function __generator(thisArg, body) {
|
|
131
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
132
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
133
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
134
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
135
|
+
function step(op) {
|
|
136
|
+
if (f)
|
|
137
|
+
throw new TypeError("Generator is already executing.");
|
|
138
|
+
while (_)
|
|
139
|
+
try {
|
|
140
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
141
|
+
return t;
|
|
142
|
+
if (y = 0, t)
|
|
143
|
+
op = [op[0] & 2, t.value];
|
|
144
|
+
switch (op[0]) {
|
|
145
|
+
case 0:
|
|
146
|
+
case 1:
|
|
147
|
+
t = op;
|
|
148
|
+
break;
|
|
149
|
+
case 4:
|
|
150
|
+
_.label++;
|
|
151
|
+
return { value: op[1], done: false };
|
|
152
|
+
case 5:
|
|
153
|
+
_.label++;
|
|
154
|
+
y = op[1];
|
|
155
|
+
op = [0];
|
|
156
|
+
continue;
|
|
157
|
+
case 7:
|
|
158
|
+
op = _.ops.pop();
|
|
159
|
+
_.trys.pop();
|
|
160
|
+
continue;
|
|
161
|
+
default:
|
|
162
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
163
|
+
_ = 0;
|
|
164
|
+
continue;
|
|
165
|
+
}
|
|
166
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
167
|
+
_.label = op[1];
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
171
|
+
_.label = t[1];
|
|
172
|
+
t = op;
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
if (t && _.label < t[2]) {
|
|
176
|
+
_.label = t[2];
|
|
177
|
+
_.ops.push(op);
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
if (t[2])
|
|
181
|
+
_.ops.pop();
|
|
182
|
+
_.trys.pop();
|
|
183
|
+
continue;
|
|
184
|
+
}
|
|
185
|
+
op = body.call(thisArg, _);
|
|
186
|
+
}
|
|
187
|
+
catch (e) {
|
|
188
|
+
op = [6, e];
|
|
189
|
+
y = 0;
|
|
190
|
+
}
|
|
191
|
+
finally {
|
|
192
|
+
f = t = 0;
|
|
193
|
+
}
|
|
194
|
+
if (op[0] & 5)
|
|
195
|
+
throw op[1];
|
|
196
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
200
|
+
if (k2 === undefined)
|
|
201
|
+
k2 = k;
|
|
202
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
203
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
204
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
205
|
+
}
|
|
206
|
+
Object.defineProperty(o, k2, desc);
|
|
207
|
+
}) : (function (o, m, k, k2) {
|
|
208
|
+
if (k2 === undefined)
|
|
209
|
+
k2 = k;
|
|
210
|
+
o[k2] = m[k];
|
|
211
|
+
});
|
|
212
|
+
function __exportStar(m, o) {
|
|
213
|
+
for (var p in m)
|
|
214
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
215
|
+
__createBinding(o, m, p);
|
|
216
|
+
}
|
|
217
|
+
function __values(o) {
|
|
218
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
219
|
+
if (m)
|
|
220
|
+
return m.call(o);
|
|
221
|
+
if (o && typeof o.length === "number")
|
|
222
|
+
return {
|
|
223
|
+
next: function () {
|
|
224
|
+
if (o && i >= o.length)
|
|
225
|
+
o = void 0;
|
|
226
|
+
return { value: o && o[i++], done: !o };
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
230
|
+
}
|
|
231
|
+
function __read(o, n) {
|
|
232
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
233
|
+
if (!m)
|
|
234
|
+
return o;
|
|
235
|
+
var i = m.call(o), r, ar = [], e;
|
|
236
|
+
try {
|
|
237
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
238
|
+
ar.push(r.value);
|
|
239
|
+
}
|
|
240
|
+
catch (error) {
|
|
241
|
+
e = { error: error };
|
|
242
|
+
}
|
|
243
|
+
finally {
|
|
244
|
+
try {
|
|
245
|
+
if (r && !r.done && (m = i["return"]))
|
|
246
|
+
m.call(i);
|
|
247
|
+
}
|
|
248
|
+
finally {
|
|
249
|
+
if (e)
|
|
250
|
+
throw e.error;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return ar;
|
|
254
|
+
}
|
|
255
|
+
/** @deprecated */
|
|
256
|
+
function __spread() {
|
|
257
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
258
|
+
ar = ar.concat(__read(arguments[i]));
|
|
259
|
+
return ar;
|
|
260
|
+
}
|
|
261
|
+
/** @deprecated */
|
|
262
|
+
function __spreadArrays() {
|
|
263
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
264
|
+
s += arguments[i].length;
|
|
265
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
266
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
267
|
+
r[k] = a[j];
|
|
268
|
+
return r;
|
|
269
|
+
}
|
|
270
|
+
function __spreadArray(to, from, pack) {
|
|
271
|
+
if (pack || arguments.length === 2)
|
|
272
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
273
|
+
if (ar || !(i in from)) {
|
|
274
|
+
if (!ar)
|
|
275
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
276
|
+
ar[i] = from[i];
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
280
|
+
}
|
|
281
|
+
function __await(v) {
|
|
282
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
283
|
+
}
|
|
284
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
285
|
+
if (!Symbol.asyncIterator)
|
|
286
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
287
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
288
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
289
|
+
function verb(n) { if (g[n])
|
|
290
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
291
|
+
function resume(n, v) { try {
|
|
292
|
+
step(g[n](v));
|
|
293
|
+
}
|
|
294
|
+
catch (e) {
|
|
295
|
+
settle(q[0][3], e);
|
|
296
|
+
} }
|
|
297
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
298
|
+
function fulfill(value) { resume("next", value); }
|
|
299
|
+
function reject(value) { resume("throw", value); }
|
|
300
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
301
|
+
resume(q[0][0], q[0][1]); }
|
|
302
|
+
}
|
|
303
|
+
function __asyncDelegator(o) {
|
|
304
|
+
var i, p;
|
|
305
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
306
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
307
|
+
}
|
|
308
|
+
function __asyncValues(o) {
|
|
309
|
+
if (!Symbol.asyncIterator)
|
|
310
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
311
|
+
var m = o[Symbol.asyncIterator], i;
|
|
312
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
313
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
314
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
315
|
+
}
|
|
316
|
+
function __makeTemplateObject(cooked, raw) {
|
|
317
|
+
if (Object.defineProperty) {
|
|
318
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
319
|
+
}
|
|
320
|
+
else {
|
|
321
|
+
cooked.raw = raw;
|
|
322
|
+
}
|
|
323
|
+
return cooked;
|
|
324
|
+
}
|
|
325
|
+
;
|
|
326
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
327
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
328
|
+
}) : function (o, v) {
|
|
329
|
+
o["default"] = v;
|
|
330
|
+
};
|
|
331
|
+
function __importStar(mod) {
|
|
332
|
+
if (mod && mod.__esModule)
|
|
333
|
+
return mod;
|
|
334
|
+
var result = {};
|
|
335
|
+
if (mod != null)
|
|
336
|
+
for (var k in mod)
|
|
337
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
338
|
+
__createBinding(result, mod, k);
|
|
339
|
+
__setModuleDefault(result, mod);
|
|
340
|
+
return result;
|
|
341
|
+
}
|
|
342
|
+
function __importDefault(mod) {
|
|
343
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
344
|
+
}
|
|
345
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
346
|
+
if (kind === "a" && !f)
|
|
347
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
348
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
349
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
350
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
351
|
+
}
|
|
352
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
353
|
+
if (kind === "m")
|
|
354
|
+
throw new TypeError("Private method is not writable");
|
|
355
|
+
if (kind === "a" && !f)
|
|
356
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
357
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
358
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
359
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
360
|
+
}
|
|
361
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
362
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
363
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
364
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
254
365
|
}
|
|
255
366
|
|
|
256
367
|
var TUI_PRIMITIVE_TEXTFIELD_PROVIDERS = [
|
|
257
368
|
{
|
|
258
|
-
provide:
|
|
259
|
-
useExisting:
|
|
369
|
+
provide: i6.TUI_FOCUSABLE_ITEM_ACCESSOR,
|
|
370
|
+
useExisting: i0.forwardRef(function () { return TuiPrimitiveTextfieldComponent; }),
|
|
260
371
|
},
|
|
261
|
-
|
|
262
|
-
|
|
372
|
+
i12.TEXTFIELD_CONTROLLER_PROVIDER,
|
|
373
|
+
i13.HINT_CONTROLLER_PROVIDER,
|
|
263
374
|
providers.MODE_PROVIDER,
|
|
264
375
|
];
|
|
265
376
|
|
|
266
|
-
// TODO: 3.0 remove in ivy compilation
|
|
267
|
-
var TUI_PRIMITIVE_TEXTFIELD_ICON_CLEANER = 'tuiIconCloseLarge';
|
|
268
377
|
/** Default values for primitive textfield options */
|
|
269
378
|
var TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS = {
|
|
270
|
-
|
|
271
|
-
iconCleaner: TUI_PRIMITIVE_TEXTFIELD_ICON_CLEANER,
|
|
379
|
+
iconCleaner: "tuiIconCloseLarge",
|
|
272
380
|
};
|
|
273
|
-
var TUI_PRIMITIVE_TEXTFIELD_OPTIONS = new
|
|
381
|
+
var TUI_PRIMITIVE_TEXTFIELD_OPTIONS = new i0.InjectionToken("Default parameters for primitive textfield component", {
|
|
274
382
|
factory: function () { return TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS; },
|
|
275
383
|
});
|
|
276
384
|
var tuiPrimitiveTextfieldOptionsProvider = function (options) { return ({
|
|
277
385
|
provide: TUI_PRIMITIVE_TEXTFIELD_OPTIONS,
|
|
278
|
-
useValue:
|
|
386
|
+
useValue: Object.assign(Object.assign({}, TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS), options),
|
|
279
387
|
}); };
|
|
280
388
|
|
|
389
|
+
var TuiValueDecorationComponent = /** @class */ (function () {
|
|
390
|
+
function TuiValueDecorationComponent(textfield, controller) {
|
|
391
|
+
var _this = this;
|
|
392
|
+
this.textfield = textfield;
|
|
393
|
+
this.controller = controller;
|
|
394
|
+
this.prefix$ = new i11.BehaviorSubject("");
|
|
395
|
+
this.pre$ = this.prefix$.pipe(operators.delay(0), operators.filter(function () { var _a; return !!((_a = _this.pre) === null || _a === void 0 ? void 0 : _a.nativeElement.isConnected); }), operators.distinctUntilChanged(), operators.map(function () { var _a; return ((_a = _this.pre) === null || _a === void 0 ? void 0 : _a.nativeElement.offsetWidth) || 0; }));
|
|
396
|
+
}
|
|
397
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "isContextTable", {
|
|
398
|
+
get: function () {
|
|
399
|
+
return this.textfield.appearance === "table" /* Table */;
|
|
400
|
+
},
|
|
401
|
+
enumerable: false,
|
|
402
|
+
configurable: true
|
|
403
|
+
});
|
|
404
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "value", {
|
|
405
|
+
get: function () {
|
|
406
|
+
return this.textfield.value;
|
|
407
|
+
},
|
|
408
|
+
enumerable: false,
|
|
409
|
+
configurable: true
|
|
410
|
+
});
|
|
411
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "filler", {
|
|
412
|
+
get: function () {
|
|
413
|
+
var _b = this, focused = _b.focused, placeholder = _b.placeholder, exampleText = _b.exampleText, value = _b.value, textfield = _b.textfield;
|
|
414
|
+
if (placeholder && exampleText) {
|
|
415
|
+
return "";
|
|
416
|
+
}
|
|
417
|
+
return focused ? exampleText || textfield.filler.slice(value.length) : "";
|
|
418
|
+
},
|
|
419
|
+
enumerable: false,
|
|
420
|
+
configurable: true
|
|
421
|
+
});
|
|
422
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "prefix", {
|
|
423
|
+
get: function () {
|
|
424
|
+
return this.decorationsVisible ? this.textfield.prefix : "";
|
|
425
|
+
},
|
|
426
|
+
enumerable: false,
|
|
427
|
+
configurable: true
|
|
428
|
+
});
|
|
429
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "postfix", {
|
|
430
|
+
get: function () {
|
|
431
|
+
return this.decorationsVisible ? this.computedPostfix : "";
|
|
432
|
+
},
|
|
433
|
+
enumerable: false,
|
|
434
|
+
configurable: true
|
|
435
|
+
});
|
|
436
|
+
TuiValueDecorationComponent.prototype.ngDoCheck = function () {
|
|
437
|
+
this.prefix$.next(this.prefix);
|
|
438
|
+
};
|
|
439
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "placeholder", {
|
|
440
|
+
get: function () {
|
|
441
|
+
var _a;
|
|
442
|
+
return ((_a = this.textfield.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.placeholder) || "";
|
|
443
|
+
},
|
|
444
|
+
enumerable: false,
|
|
445
|
+
configurable: true
|
|
446
|
+
});
|
|
447
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "exampleText", {
|
|
448
|
+
get: function () {
|
|
449
|
+
var exampleText = this.controller.exampleText || this.placeholder;
|
|
450
|
+
return !this.value && this.focused ? exampleText : "";
|
|
451
|
+
},
|
|
452
|
+
enumerable: false,
|
|
453
|
+
configurable: true
|
|
454
|
+
});
|
|
455
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "decorationsVisible", {
|
|
456
|
+
get: function () {
|
|
457
|
+
return !!this.value || this.focused;
|
|
458
|
+
},
|
|
459
|
+
enumerable: false,
|
|
460
|
+
configurable: true
|
|
461
|
+
});
|
|
462
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "focused", {
|
|
463
|
+
get: function () {
|
|
464
|
+
return this.textfield.computedFocused && !this.textfield.readOnly;
|
|
465
|
+
},
|
|
466
|
+
enumerable: false,
|
|
467
|
+
configurable: true
|
|
468
|
+
});
|
|
469
|
+
Object.defineProperty(TuiValueDecorationComponent.prototype, "computedPostfix", {
|
|
470
|
+
get: function () {
|
|
471
|
+
return this.textfield.postfix && (this.filler || this.value)
|
|
472
|
+
? " " + this.textfield.postfix
|
|
473
|
+
: this.textfield.postfix;
|
|
474
|
+
},
|
|
475
|
+
enumerable: false,
|
|
476
|
+
configurable: true
|
|
477
|
+
});
|
|
478
|
+
return TuiValueDecorationComponent;
|
|
479
|
+
}());
|
|
480
|
+
TuiValueDecorationComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiValueDecorationComponent, deps: [{ token: i6.TUI_FOCUSABLE_ITEM_ACCESSOR }, { token: i1.TUI_TEXTFIELD_WATCHED_CONTROLLER }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
481
|
+
TuiValueDecorationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiValueDecorationComponent, selector: "tui-value-decoration", host: { listeners: { "animationstart": "ngDoCheck()" }, properties: { "class._table": "this.isContextTable" } }, viewQueries: [{ propertyName: "pre", first: true, predicate: ["pre"], descendants: true, read: i0.ElementRef, static: true }], ngImport: i0__namespace, template: "<span\n #pre\n class=\"t-prefix t-inline\"\n [innerText]=\"prefix\"\n></span>\n<span\n class=\"t-ghost t-inline\"\n [innerText]=\"value\"\n></span>\n<span\n class=\"t-filler t-inline\"\n [innerText]=\"filler\"\n></span>\n<span\n class=\"t-postfix t-inline\"\n [innerText]=\"postfix\"\n></span>\n", styles: [":host{position:absolute;display:block;height:1.25rem;line-height:1;width:100%;margin:-1.25rem 0;padding:.625rem 0;box-sizing:content-box;color:var(--tui-text-01);-webkit-animation:tuiPresent 1s;animation:tuiPresent 1s}:host._table{position:static}:host-context(tui-textfield[data-mode=\"onDark\"]) :host{color:var(--tui-text-01-night)}:host:after{content:\"\";display:inline-block;vertical-align:middle;height:100%}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix,.t-postfix{white-space:pre}.t-filler{overflow:hidden;color:var(--tui-text-03);text-overflow:ellipsis;max-width:100%;white-space:nowrap}:host-context(tui-textfield[data-mode=\"onDark\"]) .t-filler{color:var(--tui-text-03-night)}.t-inline{display:inline-block;vertical-align:middle}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.Default });
|
|
482
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiValueDecorationComponent, decorators: [{
|
|
483
|
+
type: i0.Component,
|
|
484
|
+
args: [{
|
|
485
|
+
selector: "tui-value-decoration",
|
|
486
|
+
templateUrl: "value-decoration.template.html",
|
|
487
|
+
styleUrls: ["value-decoration.style.less"],
|
|
488
|
+
// It follows Change Detection of PrimitiveTextfield
|
|
489
|
+
changeDetection: i0.ChangeDetectionStrategy.Default,
|
|
490
|
+
}]
|
|
491
|
+
}], ctorParameters: function () {
|
|
492
|
+
return [{ type: undefined, decorators: [{
|
|
493
|
+
type: i0.Inject,
|
|
494
|
+
args: [i6.TUI_FOCUSABLE_ITEM_ACCESSOR]
|
|
495
|
+
}] }, { type: i1__namespace.TuiTextfieldController, decorators: [{
|
|
496
|
+
type: i0.Inject,
|
|
497
|
+
args: [i1.TUI_TEXTFIELD_WATCHED_CONTROLLER]
|
|
498
|
+
}] }];
|
|
499
|
+
}, propDecorators: { pre: [{
|
|
500
|
+
type: i0.ViewChild,
|
|
501
|
+
args: ["pre", { read: i0.ElementRef, static: true }]
|
|
502
|
+
}], isContextTable: [{
|
|
503
|
+
type: i0.HostBinding,
|
|
504
|
+
args: ["class._table"]
|
|
505
|
+
}], ngDoCheck: [{
|
|
506
|
+
type: i0.HostListener,
|
|
507
|
+
args: ["animationstart"]
|
|
508
|
+
}] } });
|
|
509
|
+
|
|
281
510
|
var ICON_PADDING = 1.75;
|
|
282
511
|
var ICON_PADDING_S = 1.5;
|
|
283
512
|
var TuiPrimitiveTextfieldComponent = /** @class */ (function (_super) {
|
|
@@ -291,22 +520,15 @@
|
|
|
291
520
|
_this.options = options;
|
|
292
521
|
_this.elementRef = elementRef;
|
|
293
522
|
_this.editable = true;
|
|
294
|
-
_this.filler =
|
|
295
|
-
_this.iconAlign = _this.options.iconAlign;
|
|
296
|
-
// TODO: 3.0 Remove null
|
|
297
|
-
_this.iconContent = null;
|
|
523
|
+
_this.filler = "";
|
|
298
524
|
_this.iconCleaner = _this.options.iconCleaner;
|
|
299
525
|
_this.readOnly = false;
|
|
300
526
|
_this.invalid = false;
|
|
301
527
|
_this.disabled = false;
|
|
302
|
-
_this.prefix =
|
|
303
|
-
_this.postfix =
|
|
304
|
-
_this.value =
|
|
305
|
-
_this.valueChange = new
|
|
306
|
-
/**
|
|
307
|
-
* @deprecated TODO: 3.0 remove
|
|
308
|
-
*/
|
|
309
|
-
_this.autofilledChange = new core.EventEmitter();
|
|
528
|
+
_this.prefix = "";
|
|
529
|
+
_this.postfix = "";
|
|
530
|
+
_this.value = "";
|
|
531
|
+
_this.valueChange = new i0.EventEmitter();
|
|
310
532
|
_this.autofilled = false;
|
|
311
533
|
return _this;
|
|
312
534
|
}
|
|
@@ -320,28 +542,28 @@
|
|
|
320
542
|
.previousElementSibling ||
|
|
321
543
|
this.focusableElement.nativeElement);
|
|
322
544
|
},
|
|
323
|
-
enumerable:
|
|
545
|
+
enumerable: false,
|
|
324
546
|
configurable: true
|
|
325
547
|
});
|
|
326
548
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "focused", {
|
|
327
549
|
get: function () {
|
|
328
|
-
return
|
|
550
|
+
return i6.tuiIsNativeFocusedIn(this.elementRef.nativeElement);
|
|
329
551
|
},
|
|
330
|
-
enumerable:
|
|
552
|
+
enumerable: false,
|
|
331
553
|
configurable: true
|
|
332
554
|
});
|
|
333
555
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "size", {
|
|
334
556
|
get: function () {
|
|
335
557
|
return this.controller.size;
|
|
336
558
|
},
|
|
337
|
-
enumerable:
|
|
559
|
+
enumerable: false,
|
|
338
560
|
configurable: true
|
|
339
561
|
});
|
|
340
562
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "computedInvalid", {
|
|
341
563
|
get: function () {
|
|
342
564
|
return !this.readOnly && !this.disabled && this.invalid;
|
|
343
565
|
},
|
|
344
|
-
enumerable:
|
|
566
|
+
enumerable: false,
|
|
345
567
|
configurable: true
|
|
346
568
|
});
|
|
347
569
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "inputHidden", {
|
|
@@ -349,21 +571,21 @@
|
|
|
349
571
|
var _a;
|
|
350
572
|
return !!((_a = this.content) === null || _a === void 0 ? void 0 : _a.length);
|
|
351
573
|
},
|
|
352
|
-
enumerable:
|
|
574
|
+
enumerable: false,
|
|
353
575
|
configurable: true
|
|
354
576
|
});
|
|
355
577
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "hasValue", {
|
|
356
578
|
get: function () {
|
|
357
579
|
return !!this.value;
|
|
358
580
|
},
|
|
359
|
-
enumerable:
|
|
581
|
+
enumerable: false,
|
|
360
582
|
configurable: true
|
|
361
583
|
});
|
|
362
584
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "hasCleaner", {
|
|
363
585
|
get: function () {
|
|
364
586
|
return (this.controller.cleaner && this.hasValue && !this.disabled && !this.readOnly);
|
|
365
587
|
},
|
|
366
|
-
enumerable:
|
|
588
|
+
enumerable: false,
|
|
367
589
|
configurable: true
|
|
368
590
|
});
|
|
369
591
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "hasTooltip", {
|
|
@@ -371,23 +593,23 @@
|
|
|
371
593
|
var _a;
|
|
372
594
|
return !!((_a = this.hintController) === null || _a === void 0 ? void 0 : _a.content) && !this.disabled;
|
|
373
595
|
},
|
|
374
|
-
enumerable:
|
|
596
|
+
enumerable: false,
|
|
375
597
|
configurable: true
|
|
376
598
|
});
|
|
377
599
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "hasCustomContent", {
|
|
378
600
|
get: function () {
|
|
379
601
|
return !!this.controller.customContent;
|
|
380
602
|
},
|
|
381
|
-
enumerable:
|
|
603
|
+
enumerable: false,
|
|
382
604
|
configurable: true
|
|
383
605
|
});
|
|
384
606
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "showOnlyPlaceholder", {
|
|
385
607
|
get: function () {
|
|
386
608
|
return (this.focused &&
|
|
387
609
|
this.placeholderVisible &&
|
|
388
|
-
(this.size ===
|
|
610
|
+
(this.size === "s" || (this.size === "m" && !this.placeholderRaisable)));
|
|
389
611
|
},
|
|
390
|
-
enumerable:
|
|
612
|
+
enumerable: false,
|
|
391
613
|
configurable: true
|
|
392
614
|
});
|
|
393
615
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "placeholderVisible", {
|
|
@@ -395,11 +617,12 @@
|
|
|
395
617
|
var _a;
|
|
396
618
|
var hasDecor = this.controller.exampleText ||
|
|
397
619
|
this.prefix ||
|
|
398
|
-
this.postfix ||
|
|
620
|
+
this.postfix ||
|
|
621
|
+
((_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.placeholder);
|
|
399
622
|
var showDecor = hasDecor && !this.readOnly && this.computedFocused;
|
|
400
623
|
return !this.hasValue && !showDecor;
|
|
401
624
|
},
|
|
402
|
-
enumerable:
|
|
625
|
+
enumerable: false,
|
|
403
626
|
configurable: true
|
|
404
627
|
});
|
|
405
628
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "hasPlaceholder", {
|
|
@@ -407,7 +630,7 @@
|
|
|
407
630
|
return (!this.showOnlyPlaceholder &&
|
|
408
631
|
(this.placeholderRaisable || this.placeholderVisible));
|
|
409
632
|
},
|
|
410
|
-
enumerable:
|
|
633
|
+
enumerable: false,
|
|
411
634
|
configurable: true
|
|
412
635
|
});
|
|
413
636
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "placeholderRaised", {
|
|
@@ -415,66 +638,66 @@
|
|
|
415
638
|
return (this.placeholderRaisable &&
|
|
416
639
|
((this.computedFocused && !this.readOnly) || this.hasValue || this.autofilled));
|
|
417
640
|
},
|
|
418
|
-
enumerable:
|
|
641
|
+
enumerable: false,
|
|
419
642
|
configurable: true
|
|
420
643
|
});
|
|
421
644
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "borderStart", {
|
|
422
645
|
get: function () {
|
|
423
|
-
return this.
|
|
646
|
+
return this.iconLeftContent ? this.iconPaddingLeft : 0;
|
|
424
647
|
},
|
|
425
|
-
enumerable:
|
|
648
|
+
enumerable: false,
|
|
426
649
|
configurable: true
|
|
427
650
|
});
|
|
428
651
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "borderEnd", {
|
|
429
652
|
get: function () {
|
|
430
|
-
return miscellaneous.getBorder(this.
|
|
653
|
+
return miscellaneous.getBorder(!!this.iconContent, this.hasCleaner, this.hasTooltip, this.hasCustomContent);
|
|
431
654
|
},
|
|
432
|
-
enumerable:
|
|
655
|
+
enumerable: false,
|
|
433
656
|
configurable: true
|
|
434
657
|
});
|
|
435
|
-
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "
|
|
658
|
+
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "iconContent", {
|
|
436
659
|
get: function () {
|
|
437
|
-
return this.
|
|
660
|
+
return this.controller.icon;
|
|
438
661
|
},
|
|
439
|
-
enumerable:
|
|
662
|
+
enumerable: false,
|
|
440
663
|
configurable: true
|
|
441
664
|
});
|
|
442
|
-
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "
|
|
665
|
+
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "iconLeftContent", {
|
|
443
666
|
get: function () {
|
|
444
|
-
return this.
|
|
667
|
+
return this.controller.iconLeft;
|
|
445
668
|
},
|
|
446
|
-
enumerable:
|
|
669
|
+
enumerable: false,
|
|
447
670
|
configurable: true
|
|
448
671
|
});
|
|
449
672
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "name", {
|
|
450
673
|
// Safari expiration date autofill workaround
|
|
451
674
|
get: function () {
|
|
452
675
|
return this.controller.autocomplete === "cc-exp" /* CcExp */
|
|
453
|
-
?
|
|
676
|
+
? "ccexpiryyear"
|
|
454
677
|
: null;
|
|
455
678
|
},
|
|
456
|
-
enumerable:
|
|
679
|
+
enumerable: false,
|
|
457
680
|
configurable: true
|
|
458
681
|
});
|
|
459
682
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "computedId", {
|
|
460
683
|
get: function () {
|
|
461
684
|
var _a;
|
|
462
|
-
return ((_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.id) ||
|
|
685
|
+
return ((_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.id) || "";
|
|
463
686
|
},
|
|
464
|
-
enumerable:
|
|
687
|
+
enumerable: false,
|
|
465
688
|
configurable: true
|
|
466
689
|
});
|
|
467
690
|
TuiPrimitiveTextfieldComponent.prototype.onFocused = function (focused) {
|
|
468
691
|
this.updateFocused(focused);
|
|
469
692
|
};
|
|
470
693
|
TuiPrimitiveTextfieldComponent.prototype.getIndent$ = function (element) {
|
|
471
|
-
return
|
|
694
|
+
return i11.fromEvent(element, "scroll").pipe(operators.map(function () { return -1 * element.scrollLeft; }));
|
|
472
695
|
};
|
|
473
696
|
TuiPrimitiveTextfieldComponent.prototype.clear = function () {
|
|
474
697
|
if (this.nativeFocusableElement) {
|
|
475
|
-
this.nativeFocusableElement.value =
|
|
698
|
+
this.nativeFocusableElement.value = "";
|
|
476
699
|
}
|
|
477
|
-
this.updateValue(
|
|
700
|
+
this.updateValue("");
|
|
478
701
|
};
|
|
479
702
|
TuiPrimitiveTextfieldComponent.prototype.onMouseDown = function (event) {
|
|
480
703
|
var nativeFocusableElement = this.nativeFocusableElement;
|
|
@@ -482,36 +705,26 @@
|
|
|
482
705
|
return;
|
|
483
706
|
}
|
|
484
707
|
event.preventDefault();
|
|
485
|
-
|
|
708
|
+
nativeFocusableElement.focus();
|
|
486
709
|
};
|
|
487
710
|
TuiPrimitiveTextfieldComponent.prototype.onModelChange = function (value) {
|
|
488
711
|
this.updateValue(value);
|
|
489
712
|
};
|
|
490
|
-
TuiPrimitiveTextfieldComponent.prototype.onHovered = function (hovered) {
|
|
491
|
-
this.updateHovered(hovered);
|
|
492
|
-
};
|
|
493
713
|
TuiPrimitiveTextfieldComponent.prototype.onAutofilled = function (autofilled) {
|
|
494
714
|
this.updateAutofilled(autofilled);
|
|
495
715
|
};
|
|
496
716
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "iconPaddingLeft", {
|
|
497
717
|
get: function () {
|
|
498
|
-
return this.size ===
|
|
718
|
+
return this.size === "s" ? ICON_PADDING_S : ICON_PADDING;
|
|
499
719
|
},
|
|
500
|
-
enumerable:
|
|
720
|
+
enumerable: false,
|
|
501
721
|
configurable: true
|
|
502
722
|
});
|
|
503
723
|
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "placeholderRaisable", {
|
|
504
724
|
get: function () {
|
|
505
|
-
return this.size !==
|
|
725
|
+
return this.size !== "s" && !this.controller.labelOutside;
|
|
506
726
|
},
|
|
507
|
-
enumerable:
|
|
508
|
-
configurable: true
|
|
509
|
-
});
|
|
510
|
-
Object.defineProperty(TuiPrimitiveTextfieldComponent.prototype, "hasIcon", {
|
|
511
|
-
get: function () {
|
|
512
|
-
return !!this.iconContent;
|
|
513
|
-
},
|
|
514
|
-
enumerable: true,
|
|
727
|
+
enumerable: false,
|
|
515
728
|
configurable: true
|
|
516
729
|
});
|
|
517
730
|
TuiPrimitiveTextfieldComponent.prototype.updateAutofilled = function (autofilled) {
|
|
@@ -519,121 +732,130 @@
|
|
|
519
732
|
return;
|
|
520
733
|
}
|
|
521
734
|
this.autofilled = autofilled;
|
|
522
|
-
this.autofilledChange.emit(autofilled);
|
|
523
735
|
};
|
|
524
736
|
TuiPrimitiveTextfieldComponent.prototype.updateValue = function (value) {
|
|
525
737
|
this.value = value;
|
|
526
738
|
this.valueChange.emit(value);
|
|
527
739
|
};
|
|
528
|
-
TuiPrimitiveTextfieldComponent.ctorParameters = function () { return [
|
|
529
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [tokens.TUI_MODE,] }] },
|
|
530
|
-
{ type: String, decorators: [{ type: core.Inject, args: [tokens.TUI_TEXTFIELD_APPEARANCE,] }] },
|
|
531
|
-
{ type: textfieldController.TuiTextfieldController, decorators: [{ type: core.Inject, args: [textfieldController.TUI_TEXTFIELD_WATCHED_CONTROLLER,] }] },
|
|
532
|
-
{ type: hintController.TuiHintControllerDirective, decorators: [{ type: core.Inject, args: [hintController.TUI_HINT_WATCHED_CONTROLLER,] }] },
|
|
533
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [TUI_PRIMITIVE_TEXTFIELD_OPTIONS,] }] },
|
|
534
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] }
|
|
535
|
-
]; };
|
|
536
|
-
__decorate([
|
|
537
|
-
core.ViewChild('focusableElement')
|
|
538
|
-
], TuiPrimitiveTextfieldComponent.prototype, "focusableElement", void 0);
|
|
539
|
-
__decorate([
|
|
540
|
-
core.Input(),
|
|
541
|
-
cdk.tuiDefaultProp()
|
|
542
|
-
], TuiPrimitiveTextfieldComponent.prototype, "editable", void 0);
|
|
543
|
-
__decorate([
|
|
544
|
-
core.Input(),
|
|
545
|
-
cdk.tuiDefaultProp()
|
|
546
|
-
], TuiPrimitiveTextfieldComponent.prototype, "filler", void 0);
|
|
547
|
-
__decorate([
|
|
548
|
-
core.Input(),
|
|
549
|
-
cdk.tuiDefaultProp()
|
|
550
|
-
], TuiPrimitiveTextfieldComponent.prototype, "iconAlign", void 0);
|
|
551
|
-
__decorate([
|
|
552
|
-
core.Input(),
|
|
553
|
-
cdk.tuiDefaultProp()
|
|
554
|
-
], TuiPrimitiveTextfieldComponent.prototype, "iconContent", void 0);
|
|
555
|
-
__decorate([
|
|
556
|
-
core.Input(),
|
|
557
|
-
cdk.tuiDefaultProp()
|
|
558
|
-
], TuiPrimitiveTextfieldComponent.prototype, "iconCleaner", void 0);
|
|
559
|
-
__decorate([
|
|
560
|
-
core.Input(),
|
|
561
|
-
core.HostBinding('class._readonly'),
|
|
562
|
-
cdk.tuiDefaultProp()
|
|
563
|
-
], TuiPrimitiveTextfieldComponent.prototype, "readOnly", void 0);
|
|
564
|
-
__decorate([
|
|
565
|
-
core.Input(),
|
|
566
|
-
cdk.tuiDefaultProp()
|
|
567
|
-
], TuiPrimitiveTextfieldComponent.prototype, "invalid", void 0);
|
|
568
|
-
__decorate([
|
|
569
|
-
core.Input(),
|
|
570
|
-
cdk.tuiDefaultProp()
|
|
571
|
-
], TuiPrimitiveTextfieldComponent.prototype, "disabled", void 0);
|
|
572
|
-
__decorate([
|
|
573
|
-
core.Input(),
|
|
574
|
-
cdk.tuiDefaultProp()
|
|
575
|
-
], TuiPrimitiveTextfieldComponent.prototype, "prefix", void 0);
|
|
576
|
-
__decorate([
|
|
577
|
-
core.Input(),
|
|
578
|
-
cdk.tuiDefaultProp()
|
|
579
|
-
], TuiPrimitiveTextfieldComponent.prototype, "postfix", void 0);
|
|
580
|
-
__decorate([
|
|
581
|
-
core.Input(),
|
|
582
|
-
cdk.tuiDefaultProp()
|
|
583
|
-
], TuiPrimitiveTextfieldComponent.prototype, "value", void 0);
|
|
584
|
-
__decorate([
|
|
585
|
-
core.Output()
|
|
586
|
-
], TuiPrimitiveTextfieldComponent.prototype, "valueChange", void 0);
|
|
587
|
-
__decorate([
|
|
588
|
-
core.Output()
|
|
589
|
-
], TuiPrimitiveTextfieldComponent.prototype, "autofilledChange", void 0);
|
|
590
|
-
__decorate([
|
|
591
|
-
core.ContentChildren(ngPolymorpheus.PolymorpheusOutletComponent)
|
|
592
|
-
], TuiPrimitiveTextfieldComponent.prototype, "content", void 0);
|
|
593
|
-
__decorate([
|
|
594
|
-
core.HostBinding('attr.data-size')
|
|
595
|
-
], TuiPrimitiveTextfieldComponent.prototype, "size", null);
|
|
596
|
-
__decorate([
|
|
597
|
-
core.HostBinding('class._invalid')
|
|
598
|
-
], TuiPrimitiveTextfieldComponent.prototype, "computedInvalid", null);
|
|
599
|
-
__decorate([
|
|
600
|
-
core.HostBinding('class._hidden')
|
|
601
|
-
], TuiPrimitiveTextfieldComponent.prototype, "inputHidden", null);
|
|
602
|
-
__decorate([
|
|
603
|
-
core.HostBinding('style.--border-start.rem')
|
|
604
|
-
], TuiPrimitiveTextfieldComponent.prototype, "borderStart", null);
|
|
605
|
-
__decorate([
|
|
606
|
-
core.HostBinding('style.--border-end.rem')
|
|
607
|
-
], TuiPrimitiveTextfieldComponent.prototype, "borderEnd", null);
|
|
608
|
-
__decorate([
|
|
609
|
-
core.HostListener('focusin', ['true']),
|
|
610
|
-
core.HostListener('focusout', ['false'])
|
|
611
|
-
], TuiPrimitiveTextfieldComponent.prototype, "onFocused", null);
|
|
612
|
-
__decorate([
|
|
613
|
-
cdk.tuiPure
|
|
614
|
-
], TuiPrimitiveTextfieldComponent.prototype, "getIndent$", null);
|
|
615
|
-
TuiPrimitiveTextfieldComponent = __decorate([
|
|
616
|
-
core.Component({
|
|
617
|
-
selector: 'tui-primitive-textfield',
|
|
618
|
-
template: "<ng-container *ngIf=\"content?.changes | async\"></ng-container>\n<tui-wrapper\n automation-id=\"tui-primitive-textfield__wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocused\"\n [hovered]=\"computedHovered\"\n [pressed]=\"computedPressed\"\n [invalid]=\"computedInvalid\"\n [style.--text-indent.px]=\"decor.pre$ | async\"\n (mousedown)=\"onMouseDown($event)\"\n (click.prevent.silent)=\"(0)\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (tuiAutofilledChange)=\"onAutofilled($event)\"\n>\n <ng-content select=\"input\"></ng-content>\n <input\n #focusableElement\n tuiMaskAccessor\n automation-id=\"tui-primitive-textfield__native-input\"\n class=\"t-input\"\n [attr.disabled]=\"computedDisabled || null\"\n [attr.maxLength]=\"controller.maxLength\"\n [attr.name]=\"name\"\n [attr.aria-placeholder]=\"controller.exampleText\"\n [attr.aria-invalid]=\"computedInvalid\"\n [autocomplete]=\"controller.autocomplete\"\n [type]=\"controller.type\"\n [id]=\"id\"\n [readOnly]=\"readOnly || !editable\"\n [tuiInputMode]=\"controller.inputMode\"\n [tuiFocusable]=\"computedFocusable\"\n [tuiDescribedBy]=\"id\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onModelChange($event)\"\n />\n <div\n *ngIf=\"inputHidden\"\n automation-id=\"tui-primitive-textfield__value\"\n class=\"t-input t-input_template\"\n >\n <ng-content select=\"[polymorpheus-outlet]\"></ng-content>\n </div>\n <div class=\"t-content\">\n <div\n *ngIf=\"iconAlignLeft\"\n polymorpheus-outlet\n class=\"t-icon t-icon_left\"\n [content]=\"iconContent\"\n [context]=\"{$implicit: size}\"\n >\n <ng-template let-iconSrc>\n <tui-svg [src]=\"iconSrc\"></tui-svg>\n </ng-template>\n </div>\n <div class=\"t-wrapper\">\n <label\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-primitive-textfield__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n [for]=\"computedId\"\n >\n <ng-content></ng-content>\n </label>\n <div class=\"t-wrapper-value-decoration\">\n <tui-value-decoration\n #decor\n automation-id=\"tui-primitive-textfield__value-decoration\"\n aria-hidden=\"true\"\n class=\"t-value-decoration\"\n [style.textIndent.px]=\"getIndent$(focusableElement) | async\"\n ></tui-value-decoration>\n </div>\n </div>\n <div\n *ngIf=\"hasCustomContent\"\n polymorpheus-outlet\n automation-id=\"tui-primitive-textfield__custom-content\"\n class=\"t-custom-content\"\n [content]=\"controller.customContent\"\n >\n <ng-template let-iconSrc>\n <tui-svg\n class=\"t-custom-icon\"\n [src]=\"iconSrc\"\n ></tui-svg>\n </ng-template>\n </div>\n <span\n *ngIf=\"hasCleaner\"\n polymorpheus-outlet\n automation-id=\"tui-primitive-textfield__cleaner\"\n class=\"t-cleaner\"\n [content]=\"iconCleaner\"\n (click.stop)=\"clear()\"\n >\n <ng-template let-icon>\n <tui-svg [src]=\"icon\"></tui-svg>\n </ng-template>\n </span>\n <tui-tooltip\n *ngIf=\"hasTooltip\"\n automation-id=\"tui-primitive-textfield__tooltip\"\n [describeId]=\"computedId\"\n [content]=\"hintController.content || ''\"\n [direction]=\"hintController.direction\"\n [mode]=\"hintController.mode\"\n [showDelay]=\"hintController.showDelay\"\n [hideDelay]=\"hintController.hideDelay\"\n ></tui-tooltip>\n <div\n *ngIf=\"iconAlignRight\"\n polymorpheus-outlet\n class=\"t-icon\"\n [content]=\"iconContent\"\n [context]=\"{$implicit: size}\"\n >\n <ng-template let-iconSrc>\n <tui-svg [src]=\"iconSrc\"></tui-svg>\n </ng-template>\n </div>\n </div>\n</tui-wrapper>\n",
|
|
619
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
620
|
-
providers: TUI_PRIMITIVE_TEXTFIELD_PROVIDERS,
|
|
621
|
-
host: {
|
|
622
|
-
'($.data-mode.attr)': 'mode$',
|
|
623
|
-
'[class._autofilled]': 'autofilled',
|
|
624
|
-
'[class._label-outside]': 'controller.labelOutside',
|
|
625
|
-
},
|
|
626
|
-
styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;border-radius:var(--tui-radius-m);text-align:left}:host[data-size='s']{height:var(--tui-height-s);min-height:var(--tui-height-s);max-height:var(--tui-height-s)}:host[data-size='m']{height:var(--tui-height-m);min-height:var(--tui-height-m);max-height:var(--tui-height-m)}:host[data-size='l']{height:var(--tui-height-l);min-height:var(--tui-height-l);max-height:var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 var(--border-end,0) 0 var(--border-start,0);border-inline-start-width:var(--border-start,0);border-inline-end-width:var(--border-end,0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:focus,.t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:hover,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:hover,:host[data-mode=onDark] .t-input:-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,:host[data-mode=onDark] .t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}.t-input :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='s']):not(tui-text-area),:host[data-size='s'] .t-input{padding:0 var(--tui-padding-s)}.t-input :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='l']):not(tui-text-area),:host[data-size='l'] .t-input{padding:0 var(--tui-padding-l)}.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-text-area._disabled),:host._disabled .t-input{pointer-events:none}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='l']:not(._label-outside) .t-input{padding-top:1.25rem}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='l']:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='m']:not(._label-outside) .t-input{padding-top:1.125rem}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='m']:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}.t-input :host-context(tui-primitive-textfield._hidden),:host._hidden input.t-input{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content{display:flex;height:100%;width:100%;padding:0 var(--tui-padding-m);box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size='s'] .t-content{padding:0 var(--tui-padding-s)}:host[data-size='l'] .t-content{padding:0 var(--tui-padding-l)}.t-content:after{content:'';margin-right:-.25rem}:host[data-size='m'] .t-content:after{display:none}.t-wrapper{flex:1;min-width:0;padding-right:.25rem;-webkit-padding-end:.25rem;padding-inline-end:.25rem;-webkit-padding-start:0;padding-inline-start:0}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size='m'] .t-placeholder_raised{font:var(--tui-font-text-xs);transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .t-placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size='l']._focused._label-outside .t-placeholder,:host[data-size='m']._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size='l'] .t-placeholder{font-size:.9375rem}:host[data-size='l'] .t-placeholder_raised{font-size:.8156rem}:host[data-size='l']._focused:not(._label-outside) .t-placeholder,:host[data-size='m']._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size='l'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .t-placeholder,:host[data-size='l'][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused._label-outside .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens:none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-cleaner{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;cursor:pointer;transition-property:color,transform}.t-cleaner:hover{color:var(--tui-text-02)}:host._disabled .t-cleaner,:host._readonly .t-cleaner{pointer-events:none}:host[data-mode=onDark] .t-cleaner{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-cleaner:hover{color:var(--tui-text-01-night)}.t-icon{display:flex;align-items:center;justify-content:center;color:var(--tui-text-03)}.t-icon_left{margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host[data-size='s'] .t-icon_left{margin-right:.25rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}:host._autofilled .t-value-decoration{display:none}:host._autofilled[data-size='m'] .t-placeholder,:host._autofilled[data-size='s'] .t-placeholder{visibility:hidden}.t-custom-content{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;margin-right:.25rem;pointer-events:none}.t-custom-icon{width:2rem;height:100%}.t-icon{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);box-sizing:border-box;cursor:pointer;transition-property:color,transform;position:relative;pointer-events:none}.t-icon:hover{color:var(--tui-text-02)}:host._disabled .t-icon,:host._readonly .t-icon{pointer-events:none}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-icon:hover{color:var(--tui-text-01-night)}:host:hover:not(._readonly) .t-icon{color:var(--tui-text-02)}:host[data-mode=onDark]:hover:not(._readonly) .t-icon{color:var(--tui-text-01-night)}:host[data-mode=onLight]:hover:not(._readonly) .t-icon{color:var(--tui-text-01)}.t-input:not(:first-child){display:none}:host[data-size] .t-input_template{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-input::-webkit-caps-lock-indicator{margin-right:.375rem;align-self:center}:host[data-size='l']:not(._label-outside) .t-input::-webkit-caps-lock-indicator{margin-top:-1.25rem}.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button{background-color:var(--tui-text-03)}:host[data-size='l']:not(._label-outside) .t-input::-webkit-contacts-auto-fill-button,:host[data-size='l']:not(._label-outside) .t-input::-webkit-credentials-auto-fill-button,:host[data-size='l']:not(._label-outside) .t-input::-webkit-credit-card-auto-fill-button{margin-top:-1.25rem}.t-input::-webkit-contacts-auto-fill-button:hover,.t-input::-webkit-credentials-auto-fill-button:hover,.t-input::-webkit-credit-card-auto-fill-button:hover{background-color:var(--tui-text-02)}.t-input:-webkit-autofill,.t-input:-webkit-autofill::first-line{font-size:inherit;line-height:inherit}.t-text-template{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration{position:relative;pointer-events:none}"]
|
|
627
|
-
}),
|
|
628
|
-
__param(0, core.Inject(tokens.TUI_MODE)),
|
|
629
|
-
__param(1, core.Inject(tokens.TUI_TEXTFIELD_APPEARANCE)),
|
|
630
|
-
__param(2, core.Inject(textfieldController.TUI_TEXTFIELD_WATCHED_CONTROLLER)),
|
|
631
|
-
__param(3, core.Inject(hintController.TUI_HINT_WATCHED_CONTROLLER)),
|
|
632
|
-
__param(4, core.Inject(TUI_PRIMITIVE_TEXTFIELD_OPTIONS)),
|
|
633
|
-
__param(5, core.Inject(core.ElementRef))
|
|
634
|
-
], TuiPrimitiveTextfieldComponent);
|
|
635
740
|
return TuiPrimitiveTextfieldComponent;
|
|
636
|
-
}(
|
|
741
|
+
}(i6.AbstractTuiInteractive));
|
|
742
|
+
TuiPrimitiveTextfieldComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPrimitiveTextfieldComponent, deps: [{ token: tokens.TUI_MODE }, { token: tokens.TUI_TEXTFIELD_APPEARANCE }, { token: i12.TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: i13.TUI_HINT_WATCHED_CONTROLLER }, { token: TUI_PRIMITIVE_TEXTFIELD_OPTIONS }, { token: i0.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
743
|
+
TuiPrimitiveTextfieldComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: { editable: "editable", filler: "filler", iconCleaner: "iconCleaner", readOnly: "readOnly", invalid: "invalid", disabled: "disabled", prefix: "prefix", postfix: "postfix", value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "$.data-mode.attr": "mode$", "focusin": "onFocused(true)", "focusout": "onFocused(false)" }, properties: { "class._autofilled": "autofilled", "class._label-outside": "controller.labelOutside", "class._readonly": "this.readOnly", "attr.data-size": "this.size", "class._invalid": "this.computedInvalid", "class._hidden": "this.inputHidden", "style.--border-start.rem": "this.borderStart", "style.--border-end.rem": "this.borderEnd" } }, providers: TUI_PRIMITIVE_TEXTFIELD_PROVIDERS, queries: [{ propertyName: "content", predicate: i10.PolymorpheusOutletDirective, descendants: true }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"content?.changes | async\"></ng-container>\n<div\n tuiWrapper\n automation-id=\"tui-primitive-textfield__wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [active]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n [style.--text-indent.px]=\"decor.pre$ | async\"\n (mousedown)=\"onMouseDown($event)\"\n (click.prevent.silent)=\"(0)\"\n (tuiAutofilledChange)=\"onAutofilled($event)\"\n>\n <ng-content select=\"input\"></ng-content>\n <input\n #focusableElement\n tuiMaskAccessor\n automation-id=\"tui-primitive-textfield__native-input\"\n class=\"t-input\"\n [attr.disabled]=\"computedDisabled || null\"\n [attr.maxLength]=\"controller.maxLength\"\n [attr.name]=\"name\"\n [attr.aria-placeholder]=\"controller.exampleText\"\n [attr.aria-invalid]=\"computedInvalid\"\n [autocomplete]=\"controller.autocomplete\"\n [type]=\"controller.type\"\n [id]=\"id\"\n [readOnly]=\"readOnly || !editable\"\n [tuiInputMode]=\"controller.inputMode\"\n [tuiFocusable]=\"computedFocusable\"\n [tuiDescribedBy]=\"id\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onModelChange($event)\"\n />\n <div\n *ngIf=\"inputHidden\"\n automation-id=\"tui-primitive-textfield__value\"\n class=\"t-input t-input_template\"\n >\n <ng-content select=\"tuiContent\"></ng-content>\n </div>\n <div class=\"t-content\">\n <div\n *ngIf=\"iconLeftContent\"\n class=\"t-icon t-icon_left\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconLeftContent as src; context: {$implicit: size}\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n <div class=\"t-wrapper\">\n <label\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-primitive-textfield__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n [for]=\"computedId\"\n >\n <ng-content></ng-content>\n </label>\n <div class=\"t-wrapper-value-decoration\">\n <tui-value-decoration\n #decor\n automation-id=\"tui-primitive-textfield__value-decoration\"\n aria-hidden=\"true\"\n class=\"t-value-decoration\"\n [style.textIndent.px]=\"getIndent$(focusableElement) | async\"\n ></tui-value-decoration>\n </div>\n </div>\n <div\n *ngIf=\"hasCustomContent\"\n automation-id=\"tui-primitive-textfield__custom-content\"\n class=\"t-custom-content\"\n >\n <tui-svg\n *polymorpheusOutlet=\"controller.customContent as src\"\n class=\"t-custom-icon\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n <span\n *ngIf=\"hasCleaner\"\n automation-id=\"tui-primitive-textfield__cleaner\"\n class=\"t-cleaner\"\n (click.stop)=\"clear()\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconCleaner as src\"\n [src]=\"src\"\n ></tui-svg>\n </span>\n <tui-tooltip\n *ngIf=\"hasTooltip\"\n automation-id=\"tui-primitive-textfield__tooltip\"\n [describeId]=\"computedId\"\n [content]=\"hintController.content || ''\"\n [direction]=\"hintController.direction\"\n [mode]=\"hintController.mode\"\n [showDelay]=\"hintController.showDelay\"\n [hideDelay]=\"hintController.hideDelay\"\n ></tui-tooltip>\n <div\n *ngIf=\"iconContent\"\n class=\"t-icon\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconContent as src; context: {$implicit: size}\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n </div>\n</div>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;border-radius:var(--tui-radius-m);text-align:left}:host[data-size=s]{height:var(--tui-height-s);min-height:var(--tui-height-s);max-height:var(--tui-height-s)}:host[data-size=m]{height:var(--tui-height-m);min-height:var(--tui-height-m);max-height:var(--tui-height-m)}:host[data-size=l]{height:var(--tui-height-l);min-height:var(--tui-height-l);max-height:var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 0 0 0;border-width:0 var(--border-end, 0) 0 var(--border-start, 0);border-inline-start-width:0;border-inline-start-width:var(--border-start, 0);border-inline-end-width:0;border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}:host[data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:hover,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill:hover,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill:focus{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}:host[data-size=s] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=l] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-input,.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.125rem}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-input,.t-input :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content{display:flex;height:100%;width:100%;padding:0 var(--tui-padding-m);box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size=s] .t-content{padding:0 var(--tui-padding-s)}:host[data-size=l] .t-content{padding:0 var(--tui-padding-l)}.t-content:after{content:\"\";margin-right:-.25rem}:host[data-size=m] .t-content:after{display:none}.t-wrapper{flex:1;min-width:0;padding-right:.25rem;-webkit-padding-end:.25rem;padding-inline-end:.25rem;-webkit-padding-start:0;padding-inline-start:0}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .t-placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size=m]._focused._label-outside .t-placeholder,:host[data-size=l]._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size=l] .t-placeholder{font-size:.9375rem}:host[data-size=l] .t-placeholder_raised{font-size:.8156rem}:host[data-size=m]._focused:not(._label-outside) .t-placeholder,:host[data-size=l]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size=m][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size=l][data-mode=onDark]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .t-placeholder,:host[data-size=m][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size=l][data-mode=onDark]._focused._label-outside .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-cleaner{transition-property:all;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;cursor:pointer;transition-property:color,transform}:host[data-mode=onDark] .t-cleaner{color:var(--tui-text-03-night)}.t-cleaner:hover{color:var(--tui-text-02)}:host._readonly .t-cleaner,:host._disabled .t-cleaner{pointer-events:none}:host[data-mode=onDark] .t-cleaner{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-cleaner:hover{color:var(--tui-text-01-night)}.t-icon{display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03)}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}.t-icon_left{margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host[data-size=s] .t-icon_left{margin-right:.25rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}:host._autofilled .t-value-decoration{display:none}:host._autofilled[data-size=s] .t-placeholder,:host._autofilled[data-size=m] .t-placeholder{visibility:hidden}.t-custom-content{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;margin-right:.25rem;pointer-events:none}.t-custom-icon{width:2rem;height:100%}.t-icon{transition-property:all;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);box-sizing:border-box;cursor:pointer;transition-property:color,transform;position:relative;pointer-events:none}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}.t-icon:hover{color:var(--tui-text-02)}:host._readonly .t-icon,:host._disabled .t-icon{pointer-events:none}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-icon:hover{color:var(--tui-text-01-night)}:host:hover:not(._readonly) .t-icon{color:var(--tui-text-02)}:host[data-mode=onDark]:hover:not(._readonly) .t-icon{color:var(--tui-text-01-night)}:host[data-mode=onLight]:hover:not(._readonly) .t-icon{color:var(--tui-text-01)}.t-input:not(:first-child){display:none}:host[data-size] .t-input_template{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-input::-webkit-caps-lock-indicator{margin-right:.375rem;align-self:center}:host[data-size=l]:not(._label-outside) .t-input::-webkit-caps-lock-indicator{margin-top:-1.25rem}.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button{background-color:var(--tui-text-03)}:host[data-size=l]:not(._label-outside) .t-input::-webkit-credentials-auto-fill-button,:host[data-size=l]:not(._label-outside) .t-input::-webkit-contacts-auto-fill-button,:host[data-size=l]:not(._label-outside) .t-input::-webkit-credit-card-auto-fill-button{margin-top:-1.25rem}.t-input::-webkit-credentials-auto-fill-button:hover,.t-input::-webkit-contacts-auto-fill-button:hover,.t-input::-webkit-credit-card-auto-fill-button:hover{background-color:var(--tui-text-02)}.t-input:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-text-template{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration{position:relative;pointer-events:none}\n"], components: [{ type: i1__namespace$1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: TuiValueDecorationComponent, selector: "tui-value-decoration" }, { type: i3__namespace.TuiTooltipComponent, selector: "tui-tooltip", inputs: ["content", "mode", "direction", "showDelay", "hideDelay", "describeId"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i6__namespace.TuiAutofilledDirective, selector: "[tuiAutofilledChange]", outputs: ["tuiAutofilledChange"] }, { type: i7__namespace.TuiMaskAccessorDirective, selector: "input[tuiMaskAccessor]" }, { type: i6__namespace.TuiInputModeDirective, selector: "input[tuiInputMode]", inputs: ["tuiInputMode"] }, { type: i8__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i6__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i9__namespace.TuiDescribedByDirective, selector: "[tuiDescribedBy]:not(ng-container)", inputs: ["tuiDescribedBy"] }, { type: i8__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i10__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i4__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
744
|
+
__decorate([
|
|
745
|
+
i6.tuiDefaultProp()
|
|
746
|
+
], TuiPrimitiveTextfieldComponent.prototype, "editable", void 0);
|
|
747
|
+
__decorate([
|
|
748
|
+
i6.tuiDefaultProp()
|
|
749
|
+
], TuiPrimitiveTextfieldComponent.prototype, "filler", void 0);
|
|
750
|
+
__decorate([
|
|
751
|
+
i6.tuiDefaultProp()
|
|
752
|
+
], TuiPrimitiveTextfieldComponent.prototype, "iconCleaner", void 0);
|
|
753
|
+
__decorate([
|
|
754
|
+
i6.tuiDefaultProp()
|
|
755
|
+
], TuiPrimitiveTextfieldComponent.prototype, "readOnly", void 0);
|
|
756
|
+
__decorate([
|
|
757
|
+
i6.tuiDefaultProp()
|
|
758
|
+
], TuiPrimitiveTextfieldComponent.prototype, "invalid", void 0);
|
|
759
|
+
__decorate([
|
|
760
|
+
i6.tuiDefaultProp()
|
|
761
|
+
], TuiPrimitiveTextfieldComponent.prototype, "disabled", void 0);
|
|
762
|
+
__decorate([
|
|
763
|
+
i6.tuiDefaultProp()
|
|
764
|
+
], TuiPrimitiveTextfieldComponent.prototype, "prefix", void 0);
|
|
765
|
+
__decorate([
|
|
766
|
+
i6.tuiDefaultProp()
|
|
767
|
+
], TuiPrimitiveTextfieldComponent.prototype, "postfix", void 0);
|
|
768
|
+
__decorate([
|
|
769
|
+
i6.tuiDefaultProp()
|
|
770
|
+
], TuiPrimitiveTextfieldComponent.prototype, "value", void 0);
|
|
771
|
+
__decorate([
|
|
772
|
+
i6.tuiPure
|
|
773
|
+
], TuiPrimitiveTextfieldComponent.prototype, "getIndent$", null);
|
|
774
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPrimitiveTextfieldComponent, decorators: [{
|
|
775
|
+
type: i0.Component,
|
|
776
|
+
args: [{
|
|
777
|
+
selector: "tui-primitive-textfield",
|
|
778
|
+
templateUrl: "./primitive-textfield.template.html",
|
|
779
|
+
styleUrls: ["./primitive-textfield.style.less"],
|
|
780
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
781
|
+
providers: TUI_PRIMITIVE_TEXTFIELD_PROVIDERS,
|
|
782
|
+
host: {
|
|
783
|
+
'($.data-mode.attr)': "mode$",
|
|
784
|
+
'[class._autofilled]': "autofilled",
|
|
785
|
+
'[class._label-outside]': "controller.labelOutside",
|
|
786
|
+
},
|
|
787
|
+
}]
|
|
788
|
+
}], ctorParameters: function () {
|
|
789
|
+
return [{ type: i11__namespace.Observable, decorators: [{
|
|
790
|
+
type: i0.Inject,
|
|
791
|
+
args: [tokens.TUI_MODE]
|
|
792
|
+
}] }, { type: undefined, decorators: [{
|
|
793
|
+
type: i0.Inject,
|
|
794
|
+
args: [tokens.TUI_TEXTFIELD_APPEARANCE]
|
|
795
|
+
}] }, { type: i12__namespace.TuiTextfieldController, decorators: [{
|
|
796
|
+
type: i0.Inject,
|
|
797
|
+
args: [i12.TUI_TEXTFIELD_WATCHED_CONTROLLER]
|
|
798
|
+
}] }, { type: i13__namespace.TuiHintControllerDirective, decorators: [{
|
|
799
|
+
type: i0.Inject,
|
|
800
|
+
args: [i13.TUI_HINT_WATCHED_CONTROLLER]
|
|
801
|
+
}] }, { type: undefined, decorators: [{
|
|
802
|
+
type: i0.Inject,
|
|
803
|
+
args: [TUI_PRIMITIVE_TEXTFIELD_OPTIONS]
|
|
804
|
+
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
|
805
|
+
type: i0.Inject,
|
|
806
|
+
args: [i0.ElementRef]
|
|
807
|
+
}] }];
|
|
808
|
+
}, propDecorators: { focusableElement: [{
|
|
809
|
+
type: i0.ViewChild,
|
|
810
|
+
args: ["focusableElement"]
|
|
811
|
+
}], editable: [{
|
|
812
|
+
type: i0.Input
|
|
813
|
+
}], filler: [{
|
|
814
|
+
type: i0.Input
|
|
815
|
+
}], iconCleaner: [{
|
|
816
|
+
type: i0.Input
|
|
817
|
+
}], readOnly: [{
|
|
818
|
+
type: i0.Input
|
|
819
|
+
}, {
|
|
820
|
+
type: i0.HostBinding,
|
|
821
|
+
args: ["class._readonly"]
|
|
822
|
+
}], invalid: [{
|
|
823
|
+
type: i0.Input
|
|
824
|
+
}], disabled: [{
|
|
825
|
+
type: i0.Input
|
|
826
|
+
}], prefix: [{
|
|
827
|
+
type: i0.Input
|
|
828
|
+
}], postfix: [{
|
|
829
|
+
type: i0.Input
|
|
830
|
+
}], value: [{
|
|
831
|
+
type: i0.Input
|
|
832
|
+
}], valueChange: [{
|
|
833
|
+
type: i0.Output
|
|
834
|
+
}], content: [{
|
|
835
|
+
type: i0.ContentChildren,
|
|
836
|
+
args: [i10.PolymorpheusOutletDirective, { descendants: true }]
|
|
837
|
+
}], size: [{
|
|
838
|
+
type: i0.HostBinding,
|
|
839
|
+
args: ["attr.data-size"]
|
|
840
|
+
}], computedInvalid: [{
|
|
841
|
+
type: i0.HostBinding,
|
|
842
|
+
args: ["class._invalid"]
|
|
843
|
+
}], inputHidden: [{
|
|
844
|
+
type: i0.HostBinding,
|
|
845
|
+
args: ["class._hidden"]
|
|
846
|
+
}], borderStart: [{
|
|
847
|
+
type: i0.HostBinding,
|
|
848
|
+
args: ["style.--border-start.rem"]
|
|
849
|
+
}], borderEnd: [{
|
|
850
|
+
type: i0.HostBinding,
|
|
851
|
+
args: ["style.--border-end.rem"]
|
|
852
|
+
}], onFocused: [{
|
|
853
|
+
type: i0.HostListener,
|
|
854
|
+
args: ["focusin", ["true"]]
|
|
855
|
+
}, {
|
|
856
|
+
type: i0.HostListener,
|
|
857
|
+
args: ["focusout", ["false"]]
|
|
858
|
+
}], getIndent$: [] } });
|
|
637
859
|
|
|
638
860
|
var TuiPrimitiveTextfieldDirective = /** @class */ (function (_super) {
|
|
639
861
|
__extends(TuiPrimitiveTextfieldDirective, _super);
|
|
@@ -648,35 +870,42 @@
|
|
|
648
870
|
_this.textfield = textfield;
|
|
649
871
|
return _this;
|
|
650
872
|
}
|
|
651
|
-
TuiPrimitiveTextfieldDirective_1 = TuiPrimitiveTextfieldDirective;
|
|
652
873
|
Object.defineProperty(TuiPrimitiveTextfieldDirective.prototype, "readOnly", {
|
|
653
874
|
get: function () {
|
|
654
875
|
return this.textfield.readOnly || !this.textfield.editable;
|
|
655
876
|
},
|
|
656
|
-
enumerable:
|
|
877
|
+
enumerable: false,
|
|
657
878
|
configurable: true
|
|
658
879
|
});
|
|
659
880
|
TuiPrimitiveTextfieldDirective.prototype.onValueChange = function (value) {
|
|
660
881
|
this.textfield.onModelChange(value);
|
|
661
882
|
};
|
|
662
|
-
var TuiPrimitiveTextfieldDirective_1;
|
|
663
|
-
TuiPrimitiveTextfieldDirective.ctorParameters = function () { return [
|
|
664
|
-
{ type: TuiPrimitiveTextfieldComponent, decorators: [{ type: core.Inject, args: [TuiPrimitiveTextfieldComponent,] }] }
|
|
665
|
-
]; };
|
|
666
|
-
TuiPrimitiveTextfieldDirective = TuiPrimitiveTextfieldDirective_1 = __decorate([
|
|
667
|
-
core.Directive({
|
|
668
|
-
selector: 'tui-primitive-textfield',
|
|
669
|
-
providers: [
|
|
670
|
-
{
|
|
671
|
-
provide: tokens.TUI_TEXTFIELD_HOST,
|
|
672
|
-
useExisting: core.forwardRef(function () { return TuiPrimitiveTextfieldDirective_1; }),
|
|
673
|
-
},
|
|
674
|
-
],
|
|
675
|
-
}),
|
|
676
|
-
__param(0, core.Inject(TuiPrimitiveTextfieldComponent))
|
|
677
|
-
], TuiPrimitiveTextfieldDirective);
|
|
678
883
|
return TuiPrimitiveTextfieldDirective;
|
|
679
884
|
}(abstract.TuiAbstractTextfieldHost));
|
|
885
|
+
TuiPrimitiveTextfieldDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPrimitiveTextfieldDirective, deps: [{ token: TuiPrimitiveTextfieldComponent }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
886
|
+
TuiPrimitiveTextfieldDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield", providers: [
|
|
887
|
+
{
|
|
888
|
+
provide: tokens.TUI_TEXTFIELD_HOST,
|
|
889
|
+
useExisting: i0.forwardRef(function () { return TuiPrimitiveTextfieldDirective; }),
|
|
890
|
+
},
|
|
891
|
+
], usesInheritance: true, ngImport: i0__namespace });
|
|
892
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPrimitiveTextfieldDirective, decorators: [{
|
|
893
|
+
type: i0.Directive,
|
|
894
|
+
args: [{
|
|
895
|
+
selector: "tui-primitive-textfield",
|
|
896
|
+
providers: [
|
|
897
|
+
{
|
|
898
|
+
provide: tokens.TUI_TEXTFIELD_HOST,
|
|
899
|
+
useExisting: i0.forwardRef(function () { return TuiPrimitiveTextfieldDirective; }),
|
|
900
|
+
},
|
|
901
|
+
],
|
|
902
|
+
}]
|
|
903
|
+
}], ctorParameters: function () {
|
|
904
|
+
return [{ type: TuiPrimitiveTextfieldComponent, decorators: [{
|
|
905
|
+
type: i0.Inject,
|
|
906
|
+
args: [TuiPrimitiveTextfieldComponent]
|
|
907
|
+
}] }];
|
|
908
|
+
} });
|
|
680
909
|
|
|
681
910
|
// @dynamic
|
|
682
911
|
var TuiTextfieldComponent = /** @class */ (function () {
|
|
@@ -692,216 +921,145 @@
|
|
|
692
921
|
get: function () {
|
|
693
922
|
return this.describedBy.computedDescribedBy;
|
|
694
923
|
},
|
|
695
|
-
enumerable:
|
|
924
|
+
enumerable: false,
|
|
696
925
|
configurable: true
|
|
697
926
|
});
|
|
698
927
|
Object.defineProperty(TuiTextfieldComponent.prototype, "id", {
|
|
699
928
|
get: function () {
|
|
700
929
|
return this.elementRef.nativeElement.id || this.idService.generate();
|
|
701
930
|
},
|
|
702
|
-
enumerable:
|
|
931
|
+
enumerable: false,
|
|
703
932
|
configurable: true
|
|
704
933
|
});
|
|
705
934
|
TuiTextfieldComponent.prototype.ngDoCheck = function () {
|
|
706
935
|
this.describedBy.tuiDescribedBy = this.id;
|
|
707
936
|
};
|
|
708
|
-
TuiTextfieldComponent.ctorParameters = function () { return [
|
|
709
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [tokens.TUI_TEXTFIELD_HOST,] }] },
|
|
710
|
-
{ type: directives.TuiTextfieldController, decorators: [{ type: core.Inject, args: [directives.TUI_TEXTFIELD_WATCHED_CONTROLLER,] }] },
|
|
711
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
712
|
-
{ type: directives.TuiDescribedByDirective, decorators: [{ type: core.Inject, args: [directives.TuiDescribedByDirective,] }] },
|
|
713
|
-
{ type: cdk.TuiIdService, decorators: [{ type: core.Inject, args: [cdk.TuiIdService,] }] }
|
|
714
|
-
]; };
|
|
715
|
-
__decorate([
|
|
716
|
-
core.HostBinding('attr.aria-describedby')
|
|
717
|
-
], TuiTextfieldComponent.prototype, "computedDescribedBy", null);
|
|
718
|
-
__decorate([
|
|
719
|
-
core.HostBinding('id')
|
|
720
|
-
], TuiTextfieldComponent.prototype, "id", null);
|
|
721
|
-
TuiTextfieldComponent = __decorate([
|
|
722
|
-
core.Component({
|
|
723
|
-
selector: 'input[tuiTextfield], textarea[tuiTextfield]',
|
|
724
|
-
template: '',
|
|
725
|
-
providers: [
|
|
726
|
-
directives.TuiDescribedByDirective,
|
|
727
|
-
directives.TUI_DESCRIBED_BY_PROVIDERS,
|
|
728
|
-
directives.TEXTFIELD_CONTROLLER_PROVIDER,
|
|
729
|
-
],
|
|
730
|
-
host: {
|
|
731
|
-
type: 'text',
|
|
732
|
-
'[attr.aria-placeholder]': 'controller.exampleText',
|
|
733
|
-
'[attr.aria-invalid]': 'host.invalid',
|
|
734
|
-
'[attr.disabled]': 'host.disabled || null',
|
|
735
|
-
'[tabIndex]': 'host.focusable ? 0 : -1',
|
|
736
|
-
'[readOnly]': 'host.readOnly',
|
|
737
|
-
'[value]': 'host.value',
|
|
738
|
-
'(input)': 'host.onValueChange($event.target.value)',
|
|
739
|
-
},
|
|
740
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
741
|
-
styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 var(--border-end,0) 0 var(--border-start,0);border-inline-start-width:var(--border-start,0);border-inline-end-width:var(--border-end,0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}:host:-webkit-autofill,:host:-webkit-autofill:focus,:host:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}:host :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill,:host :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:focus,:host :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:hover,:host :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill,:host :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:focus,:host :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:hover,:host[data-mode=onDark] :host:-webkit-autofill,:host[data-mode=onDark] :host:-webkit-autofill:focus,:host[data-mode=onDark] :host:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}:host :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),:host :host-context(tui-text-area[data-size='s']):not(tui-text-area),:host[data-size='s'] :host{padding:0 var(--tui-padding-s)}:host :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),:host :host-context(tui-text-area[data-size='l']):not(tui-text-area),:host[data-size='l'] :host{padding:0 var(--tui-padding-l)}:host :host-context(tui-primitive-textfield._disabled),:host :host-context(tui-text-area._disabled),:host._disabled :host{pointer-events:none}:host :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='l']:not(._label-outside) :host{padding-top:1.25rem}:host :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='l']:not(._label-outside) :host:-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='m']:not(._label-outside) :host{padding-top:1.125rem}:host :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='m']:not(._label-outside) :host:-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host :host-context(tui-primitive-textfield._hidden),:host._hidden input:host{opacity:0;text-indent:-10em;-webkit-user-select:none}:host::-webkit-caps-lock-indicator{margin-right:.375rem;align-self:center}:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)) :host::-webkit-caps-lock-indicator{margin-top:-1.25rem}:host::-webkit-contacts-auto-fill-button,:host::-webkit-credentials-auto-fill-button,:host::-webkit-credit-card-auto-fill-button{background-color:var(--tui-text-03)}:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)) :host::-webkit-contacts-auto-fill-button,:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)) :host::-webkit-credentials-auto-fill-button,:host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)) :host::-webkit-credit-card-auto-fill-button{margin-top:-1.25rem}:host::-webkit-contacts-auto-fill-button:hover,:host::-webkit-credentials-auto-fill-button:hover,:host::-webkit-credit-card-auto-fill-button:hover{background-color:var(--tui-text-02)}:host::-ms-input-placeholder{color:var(--tui-text-03);opacity:0}:host::placeholder{color:var(--tui-text-03);opacity:0}:host :host-context(tui-primitive-textfield[data-mode=onDark])::-ms-input-placeholder,:host :host-context(tui-text-area[data-mode=onDark])::-ms-input-placeholder{color:var(--tui-text-03-night)}:host :host-context(tui-primitive-textfield[data-mode=onDark])::placeholder,:host :host-context(tui-text-area[data-mode=onDark])::placeholder{color:var(--tui-text-03-night)}:host :host-context(tui-primitive-textfield._focused:not(._readonly))::-ms-input-placeholder,:host :host-context(tui-text-area._focused:not(._readonly))::-ms-input-placeholder{opacity:1}:host :host-context(tui-primitive-textfield._focused:not(._readonly))::placeholder,:host :host-context(tui-text-area._focused:not(._readonly))::placeholder{opacity:1}textarea:host{white-space:normal}textarea:host :host-context(tui-text-area._ios){padding-left:.8125rem}"]
|
|
742
|
-
}),
|
|
743
|
-
__param(0, core.Inject(tokens.TUI_TEXTFIELD_HOST)),
|
|
744
|
-
__param(1, core.Inject(directives.TUI_TEXTFIELD_WATCHED_CONTROLLER)),
|
|
745
|
-
__param(2, core.Inject(core.ElementRef)),
|
|
746
|
-
__param(3, core.Inject(directives.TuiDescribedByDirective)),
|
|
747
|
-
__param(4, core.Inject(cdk.TuiIdService))
|
|
748
|
-
], TuiTextfieldComponent);
|
|
749
937
|
return TuiTextfieldComponent;
|
|
750
938
|
}());
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
var _a;
|
|
805
|
-
return ((_a = this.textfield.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.placeholder) || '';
|
|
806
|
-
},
|
|
807
|
-
enumerable: true,
|
|
808
|
-
configurable: true
|
|
809
|
-
});
|
|
810
|
-
Object.defineProperty(TuiValueDecorationComponent.prototype, "exampleText", {
|
|
811
|
-
get: function () {
|
|
812
|
-
var exampleText = this.controller.exampleText || this.placeholder;
|
|
813
|
-
return !this.value && this.focused ? exampleText : '';
|
|
814
|
-
},
|
|
815
|
-
enumerable: true,
|
|
816
|
-
configurable: true
|
|
817
|
-
});
|
|
818
|
-
Object.defineProperty(TuiValueDecorationComponent.prototype, "decorationsVisible", {
|
|
819
|
-
get: function () {
|
|
820
|
-
return !!this.value || this.focused;
|
|
821
|
-
},
|
|
822
|
-
enumerable: true,
|
|
823
|
-
configurable: true
|
|
824
|
-
});
|
|
825
|
-
Object.defineProperty(TuiValueDecorationComponent.prototype, "focused", {
|
|
826
|
-
get: function () {
|
|
827
|
-
return this.textfield.computedFocused && !this.textfield.readOnly;
|
|
828
|
-
},
|
|
829
|
-
enumerable: true,
|
|
830
|
-
configurable: true
|
|
831
|
-
});
|
|
832
|
-
Object.defineProperty(TuiValueDecorationComponent.prototype, "computedPostfix", {
|
|
833
|
-
get: function () {
|
|
834
|
-
return this.textfield.postfix && (this.filler || this.value)
|
|
835
|
-
? " " + this.textfield.postfix
|
|
836
|
-
: this.textfield.postfix;
|
|
837
|
-
},
|
|
838
|
-
enumerable: true,
|
|
839
|
-
configurable: true
|
|
840
|
-
});
|
|
841
|
-
TuiValueDecorationComponent.ctorParameters = function () { return [
|
|
842
|
-
{ type: TuiPrimitiveTextfieldComponent, decorators: [{ type: core.Inject, args: [TuiPrimitiveTextfieldComponent,] }] },
|
|
843
|
-
{ type: directives.TuiTextfieldController, decorators: [{ type: core.Inject, args: [directives.TUI_TEXTFIELD_WATCHED_CONTROLLER,] }] }
|
|
844
|
-
]; };
|
|
845
|
-
__decorate([
|
|
846
|
-
core.ViewChild('pre', { read: core.ElementRef, static: true })
|
|
847
|
-
], TuiValueDecorationComponent.prototype, "pre", void 0);
|
|
848
|
-
__decorate([
|
|
849
|
-
core.HostBinding('class._table')
|
|
850
|
-
], TuiValueDecorationComponent.prototype, "isContextTable", null);
|
|
851
|
-
__decorate([
|
|
852
|
-
core.HostListener('animationstart')
|
|
853
|
-
], TuiValueDecorationComponent.prototype, "ngDoCheck", null);
|
|
854
|
-
TuiValueDecorationComponent = __decorate([
|
|
855
|
-
core.Component({
|
|
856
|
-
selector: 'tui-value-decoration',
|
|
857
|
-
template: "<span\n #pre\n class=\"t-prefix t-inline\"\n [innerText]=\"prefix\"\n></span>\n<span\n class=\"t-ghost t-inline\"\n [innerText]=\"value\"\n></span>\n<span\n class=\"t-filler t-inline\"\n [innerText]=\"filler\"\n></span>\n<span\n class=\"t-postfix t-inline\"\n [innerText]=\"postfix\"\n></span>\n",
|
|
858
|
-
// It follows Change Detection of PrimitiveTextfield
|
|
859
|
-
changeDetection: core.ChangeDetectionStrategy.Default,
|
|
860
|
-
styles: [":host{position:absolute;display:block;height:1.25rem;line-height:1;width:100%;margin:-1.25rem 0;padding:.625rem 0;box-sizing:content-box;color:var(--tui-text-01);-webkit-animation:1s tuiPresent;animation:1s tuiPresent}:host._table{position:static}:host-context(tui-textfield[data-mode=onDark]) :host{color:var(--tui-text-01-night)}:host:after{content:'';display:inline-block;vertical-align:middle;height:100%}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip}.t-postfix,.t-prefix{white-space:pre}.t-filler{overflow:hidden;color:var(--tui-text-03);text-overflow:ellipsis;max-width:100%;white-space:nowrap}:host-context(tui-textfield[data-mode=onDark]) .t-filler{color:var(--tui-text-03-night)}.t-inline{display:inline-block;vertical-align:middle}"]
|
|
861
|
-
}),
|
|
862
|
-
__param(0, core.Inject(TuiPrimitiveTextfieldComponent)),
|
|
863
|
-
__param(1, core.Inject(directives.TUI_TEXTFIELD_WATCHED_CONTROLLER))
|
|
864
|
-
], TuiValueDecorationComponent);
|
|
865
|
-
return TuiValueDecorationComponent;
|
|
866
|
-
}());
|
|
939
|
+
TuiTextfieldComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTextfieldComponent, deps: [{ token: tokens.TUI_TEXTFIELD_HOST }, { token: i1.TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: i0.ElementRef }, { token: i1.TuiDescribedByDirective }, { token: i6.TuiIdService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
940
|
+
TuiTextfieldComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiTextfieldComponent, selector: "input[tuiTextfield], textarea[tuiTextfield]", host: { attributes: { "type": "text" }, listeners: { "input": "host.onValueChange($event.target.value)" }, properties: { "attr.aria-placeholder": "controller.exampleText", "attr.aria-invalid": "host.invalid", "attr.disabled": "host.disabled || null", "tabIndex": "host.focusable ? 0 : -1", "readOnly": "host.readOnly", "value": "host.value", "attr.aria-describedby": "this.computedDescribedBy", "id": "this.id" } }, providers: [
|
|
941
|
+
i1.TuiDescribedByDirective,
|
|
942
|
+
i1.TUI_DESCRIBED_BY_PROVIDERS,
|
|
943
|
+
i1.TEXTFIELD_CONTROLLER_PROVIDER,
|
|
944
|
+
], ngImport: i0__namespace, template: "", isInline: true, styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 0 0 0;border-width:0 var(--border-end, 0) 0 var(--border-start, 0);border-inline-start-width:0;border-inline-start-width:var(--border-start, 0);border-inline-end-width:0;border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}:host:-webkit-autofill,:host:-webkit-autofill:hover,:host:-webkit-autofill:focus{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}:host[data-mode=onDark] :host:-webkit-autofill,:host :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill,:host :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill,:host[data-mode=onDark] :host:-webkit-autofill:hover,:host :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:hover,:host :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill:hover,:host[data-mode=onDark] :host:-webkit-autofill:focus,:host :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:focus,:host :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill:focus{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}:host[data-size=s] :host,:host :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),:host :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=l] :host,:host :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),:host :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled :host,:host :host-context(tui-primitive-textfield._disabled),:host :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) :host,:host :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=l]:not(._label-outside) :host:-webkit-autofill+.content .placeholder,:host :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) :host,:host :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.125rem}:host[data-size=m]:not(._label-outside) :host:-webkit-autofill+.content .placeholder,:host :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input:host,:host :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em;-webkit-user-select:none}:host::-webkit-caps-lock-indicator{margin-right:.375rem;align-self:center}:host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)) :host::-webkit-caps-lock-indicator{margin-top:-1.25rem}:host::-webkit-credentials-auto-fill-button,:host::-webkit-contacts-auto-fill-button,:host::-webkit-credit-card-auto-fill-button{background-color:var(--tui-text-03)}:host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)) :host::-webkit-credentials-auto-fill-button,:host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)) :host::-webkit-contacts-auto-fill-button,:host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)) :host::-webkit-credit-card-auto-fill-button{margin-top:-1.25rem}:host::-webkit-credentials-auto-fill-button:hover,:host::-webkit-contacts-auto-fill-button:hover,:host::-webkit-credit-card-auto-fill-button:hover{background-color:var(--tui-text-02)}:host::-ms-input-placeholder{color:var(--tui-text-03);opacity:0}:host::placeholder{color:var(--tui-text-03);opacity:0}:host :host-context(tui-primitive-textfield[data-mode=\"onDark\"])::-ms-input-placeholder,:host :host-context(tui-text-area[data-mode=\"onDark\"])::-ms-input-placeholder{color:var(--tui-text-03-night)}:host :host-context(tui-primitive-textfield[data-mode=\"onDark\"])::placeholder,:host :host-context(tui-text-area[data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}:host :host-context(tui-primitive-textfield._focused:not(._readonly))::-ms-input-placeholder,:host :host-context(tui-text-area._focused:not(._readonly))::-ms-input-placeholder{opacity:1}:host :host-context(tui-primitive-textfield._focused:not(._readonly))::placeholder,:host :host-context(tui-text-area._focused:not(._readonly))::placeholder{opacity:1}textarea:host{white-space:normal}textarea:host :host-context(tui-text-area._ios){padding-left:.8125rem}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
945
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiTextfieldComponent, decorators: [{
|
|
946
|
+
type: i0.Component,
|
|
947
|
+
args: [{
|
|
948
|
+
selector: "input[tuiTextfield], textarea[tuiTextfield]",
|
|
949
|
+
template: "",
|
|
950
|
+
providers: [
|
|
951
|
+
i1.TuiDescribedByDirective,
|
|
952
|
+
i1.TUI_DESCRIBED_BY_PROVIDERS,
|
|
953
|
+
i1.TEXTFIELD_CONTROLLER_PROVIDER,
|
|
954
|
+
],
|
|
955
|
+
host: {
|
|
956
|
+
type: "text",
|
|
957
|
+
'[attr.aria-placeholder]': "controller.exampleText",
|
|
958
|
+
'[attr.aria-invalid]': "host.invalid",
|
|
959
|
+
'[attr.disabled]': "host.disabled || null",
|
|
960
|
+
'[tabIndex]': "host.focusable ? 0 : -1",
|
|
961
|
+
'[readOnly]': "host.readOnly",
|
|
962
|
+
'[value]': "host.value",
|
|
963
|
+
'(input)': "host.onValueChange($event.target.value)",
|
|
964
|
+
},
|
|
965
|
+
styleUrls: ["textfield.style.less"],
|
|
966
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
967
|
+
}]
|
|
968
|
+
}], ctorParameters: function () {
|
|
969
|
+
return [{ type: undefined, decorators: [{
|
|
970
|
+
type: i0.Inject,
|
|
971
|
+
args: [tokens.TUI_TEXTFIELD_HOST]
|
|
972
|
+
}] }, { type: i1__namespace.TuiTextfieldController, decorators: [{
|
|
973
|
+
type: i0.Inject,
|
|
974
|
+
args: [i1.TUI_TEXTFIELD_WATCHED_CONTROLLER]
|
|
975
|
+
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
|
976
|
+
type: i0.Inject,
|
|
977
|
+
args: [i0.ElementRef]
|
|
978
|
+
}] }, { type: i1__namespace.TuiDescribedByDirective, decorators: [{
|
|
979
|
+
type: i0.Inject,
|
|
980
|
+
args: [i1.TuiDescribedByDirective]
|
|
981
|
+
}] }, { type: i6__namespace.TuiIdService, decorators: [{
|
|
982
|
+
type: i0.Inject,
|
|
983
|
+
args: [i6.TuiIdService]
|
|
984
|
+
}] }];
|
|
985
|
+
}, propDecorators: { computedDescribedBy: [{
|
|
986
|
+
type: i0.HostBinding,
|
|
987
|
+
args: ["attr.aria-describedby"]
|
|
988
|
+
}], id: [{
|
|
989
|
+
type: i0.HostBinding,
|
|
990
|
+
args: ["id"]
|
|
991
|
+
}] } });
|
|
867
992
|
|
|
868
993
|
var TuiPrimitiveTextfieldModule = /** @class */ (function () {
|
|
869
994
|
function TuiPrimitiveTextfieldModule() {
|
|
870
995
|
}
|
|
871
|
-
TuiPrimitiveTextfieldModule = __decorate([
|
|
872
|
-
core.NgModule({
|
|
873
|
-
imports: [
|
|
874
|
-
common.CommonModule,
|
|
875
|
-
forms.FormsModule,
|
|
876
|
-
ngPolymorpheus.PolymorpheusModule,
|
|
877
|
-
maskAccessor.TuiMaskAccessorModule,
|
|
878
|
-
cdk.TuiFocusableModule,
|
|
879
|
-
cdk.TuiHoveredModule,
|
|
880
|
-
cdk.TuiInputModeModule,
|
|
881
|
-
wrapper.TuiWrapperModule,
|
|
882
|
-
svg.TuiSvgModule,
|
|
883
|
-
tooltip.TuiTooltipModule,
|
|
884
|
-
cdk.TuiAutofilledModule,
|
|
885
|
-
describedBy.TuiDescribedByModule,
|
|
886
|
-
],
|
|
887
|
-
declarations: [
|
|
888
|
-
TuiPrimitiveTextfieldComponent,
|
|
889
|
-
TuiPrimitiveTextfieldDirective,
|
|
890
|
-
TuiTextfieldComponent,
|
|
891
|
-
TuiValueDecorationComponent,
|
|
892
|
-
],
|
|
893
|
-
exports: [
|
|
894
|
-
TuiPrimitiveTextfieldComponent,
|
|
895
|
-
TuiPrimitiveTextfieldDirective,
|
|
896
|
-
TuiTextfieldComponent,
|
|
897
|
-
],
|
|
898
|
-
})
|
|
899
|
-
], TuiPrimitiveTextfieldModule);
|
|
900
996
|
return TuiPrimitiveTextfieldModule;
|
|
901
997
|
}());
|
|
998
|
+
TuiPrimitiveTextfieldModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPrimitiveTextfieldModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
999
|
+
TuiPrimitiveTextfieldModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPrimitiveTextfieldModule, declarations: [TuiPrimitiveTextfieldComponent,
|
|
1000
|
+
TuiPrimitiveTextfieldDirective,
|
|
1001
|
+
TuiTextfieldComponent,
|
|
1002
|
+
TuiValueDecorationComponent], imports: [i4.CommonModule,
|
|
1003
|
+
i8.FormsModule,
|
|
1004
|
+
i10.PolymorpheusModule,
|
|
1005
|
+
i7.TuiMaskAccessorModule,
|
|
1006
|
+
i6.TuiFocusableModule,
|
|
1007
|
+
i6.TuiInputModeModule,
|
|
1008
|
+
i5.TuiWrapperModule,
|
|
1009
|
+
i1$1.TuiSvgModule,
|
|
1010
|
+
i3.TuiTooltipModule,
|
|
1011
|
+
i6.TuiAutofilledModule,
|
|
1012
|
+
i9.TuiDescribedByModule], exports: [TuiPrimitiveTextfieldComponent,
|
|
1013
|
+
TuiPrimitiveTextfieldDirective,
|
|
1014
|
+
TuiTextfieldComponent] });
|
|
1015
|
+
TuiPrimitiveTextfieldModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPrimitiveTextfieldModule, imports: [[
|
|
1016
|
+
i4.CommonModule,
|
|
1017
|
+
i8.FormsModule,
|
|
1018
|
+
i10.PolymorpheusModule,
|
|
1019
|
+
i7.TuiMaskAccessorModule,
|
|
1020
|
+
i6.TuiFocusableModule,
|
|
1021
|
+
i6.TuiInputModeModule,
|
|
1022
|
+
i5.TuiWrapperModule,
|
|
1023
|
+
i1$1.TuiSvgModule,
|
|
1024
|
+
i3.TuiTooltipModule,
|
|
1025
|
+
i6.TuiAutofilledModule,
|
|
1026
|
+
i9.TuiDescribedByModule,
|
|
1027
|
+
]] });
|
|
1028
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPrimitiveTextfieldModule, decorators: [{
|
|
1029
|
+
type: i0.NgModule,
|
|
1030
|
+
args: [{
|
|
1031
|
+
imports: [
|
|
1032
|
+
i4.CommonModule,
|
|
1033
|
+
i8.FormsModule,
|
|
1034
|
+
i10.PolymorpheusModule,
|
|
1035
|
+
i7.TuiMaskAccessorModule,
|
|
1036
|
+
i6.TuiFocusableModule,
|
|
1037
|
+
i6.TuiInputModeModule,
|
|
1038
|
+
i5.TuiWrapperModule,
|
|
1039
|
+
i1$1.TuiSvgModule,
|
|
1040
|
+
i3.TuiTooltipModule,
|
|
1041
|
+
i6.TuiAutofilledModule,
|
|
1042
|
+
i9.TuiDescribedByModule,
|
|
1043
|
+
],
|
|
1044
|
+
declarations: [
|
|
1045
|
+
TuiPrimitiveTextfieldComponent,
|
|
1046
|
+
TuiPrimitiveTextfieldDirective,
|
|
1047
|
+
TuiTextfieldComponent,
|
|
1048
|
+
TuiValueDecorationComponent,
|
|
1049
|
+
],
|
|
1050
|
+
exports: [
|
|
1051
|
+
TuiPrimitiveTextfieldComponent,
|
|
1052
|
+
TuiPrimitiveTextfieldDirective,
|
|
1053
|
+
TuiTextfieldComponent,
|
|
1054
|
+
],
|
|
1055
|
+
}]
|
|
1056
|
+
}] });
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* Generated bundle index. Do not edit.
|
|
1060
|
+
*/
|
|
902
1061
|
|
|
903
1062
|
exports.TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS = TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS;
|
|
904
|
-
exports.TUI_PRIMITIVE_TEXTFIELD_ICON_CLEANER = TUI_PRIMITIVE_TEXTFIELD_ICON_CLEANER;
|
|
905
1063
|
exports.TUI_PRIMITIVE_TEXTFIELD_OPTIONS = TUI_PRIMITIVE_TEXTFIELD_OPTIONS;
|
|
906
1064
|
exports.TUI_PRIMITIVE_TEXTFIELD_PROVIDERS = TUI_PRIMITIVE_TEXTFIELD_PROVIDERS;
|
|
907
1065
|
exports.TuiPrimitiveTextfieldComponent = TuiPrimitiveTextfieldComponent;
|
|
@@ -913,5 +1071,5 @@
|
|
|
913
1071
|
|
|
914
1072
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
915
1073
|
|
|
916
|
-
}))
|
|
1074
|
+
}));
|
|
917
1075
|
//# sourceMappingURL=taiga-ui-core-components-primitive-textfield.umd.js.map
|