@taiga-ui/core 2.36.0 → 2.38.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 +3 -3
- package/abstract/abstract-hint.d.ts +1 -1
- package/abstract/taiga-ui-core-abstract.metadata.json +1 -1
- package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-core-abstract.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.js +6 -6
- package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-button.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-button.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.js +2 -19
- package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dialog.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js +3 -6
- package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-expand.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.js +23 -4
- package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-group.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-group.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +1 -4
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-link.umd.js +1 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-link.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-loader.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-notification.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +4 -4
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +5 -5
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.js +3 -3
- package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js +1 -1
- package/bundles/taiga-ui-core-components-root.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js +2 -2
- package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.js +4 -12
- package/bundles/taiga-ui-core-components.umd.js.map +1 -1
- package/bundles/taiga-ui-core-components.umd.min.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
- package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
- package/bundles/{taiga-ui-core-components-wrapper.umd.js → taiga-ui-core-directives-wrapper.umd.js} +56 -40
- package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -0
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js +16 -0
- package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +1 -0
- package/bundles/taiga-ui-core-directives.umd.js +12 -4
- package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-core-directives.umd.min.js +1 -1
- package/bundles/taiga-ui-core-enums.umd.js +2 -0
- package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-core-enums.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-modules-notifications.umd.js +4 -6
- package/bundles/taiga-ui-core-modules-notifications.umd.js.map +1 -1
- package/bundles/taiga-ui-core-modules-notifications.umd.min.js +1 -1
- package/bundles/taiga-ui-core-modules-notifications.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.js +8 -0
- package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-core-tokens.umd.min.js +2 -2
- package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.js +7 -2
- package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +2 -2
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +1 -1
- package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +1 -1
- package/components/button/button-options.d.ts +1 -1
- package/components/button/taiga-ui-core-components-button.metadata.json +1 -1
- package/components/dialog/dialog.component.d.ts +0 -1
- package/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
- package/components/dropdown-box/dropdown-box.component.d.ts +2 -3
- package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +1 -1
- package/components/expand/expand.component.d.ts +2 -1
- package/components/expand/taiga-ui-core-components-expand.metadata.json +1 -1
- package/components/group/group-styles.component.d.ts +2 -0
- package/components/group/group.directive.d.ts +2 -0
- package/components/group/index.d.ts +1 -0
- package/components/group/taiga-ui-core-components-group.metadata.json +1 -1
- package/components/hosted-dropdown/hosted-dropdown.component.d.ts +2 -3
- package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +1 -1
- package/components/index.d.ts +0 -1
- package/components/link/taiga-ui-core-components-link.metadata.json +1 -1
- package/components/notification/notification.component.d.ts +3 -3
- package/components/notification/taiga-ui-core-components-notification.metadata.json +1 -1
- package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +1 -1
- package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
- package/components/primitive-year-picker/primitive-year-picker.component.d.ts +3 -3
- package/components/root/root.component.d.ts +3 -4
- package/components/root/taiga-ui-core-components-root.metadata.json +1 -1
- package/components/taiga-ui-core-components.metadata.json +1 -1
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/constants/taiga-ui-core-constants.metadata.json +1 -1
- package/constants/version.d.ts +1 -1
- package/directives/index.d.ts +1 -0
- package/directives/taiga-ui-core-directives.metadata.json +1 -1
- package/directives/wrapper/index.d.ts +2 -0
- package/directives/wrapper/package.json +13 -0
- package/{components/wrapper/taiga-ui-core-components-wrapper.d.ts → directives/wrapper/taiga-ui-core-directives-wrapper.d.ts} +0 -0
- package/directives/wrapper/taiga-ui-core-directives-wrapper.metadata.json +1 -0
- package/{components/wrapper/wrapper.component.d.ts → directives/wrapper/wrapper.directive.d.ts} +7 -6
- package/{components → directives}/wrapper/wrapper.module.d.ts +0 -0
- package/esm2015/abstract/abstract-dropdown.js +2 -2
- package/esm2015/abstract/abstract-hint.js +1 -1
- package/esm2015/components/button/button-options.js +1 -1
- package/esm2015/components/button/button.component.js +4 -4
- package/esm2015/components/button/button.module.js +2 -2
- package/esm2015/components/dialog/dialog.component.js +3 -16
- package/esm2015/components/dropdown-box/dropdown-box.component.js +5 -8
- package/esm2015/components/expand/expand.component.js +1 -1
- package/esm2015/components/group/group-styles.component.js +13 -0
- package/esm2015/components/group/group.directive.js +12 -6
- package/esm2015/components/group/group.module.js +4 -3
- package/esm2015/components/group/index.js +2 -1
- package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -6
- package/esm2015/components/index.js +1 -2
- package/esm2015/components/link/link.component.js +1 -1
- package/esm2015/components/loader/loader.directive.js +2 -2
- package/esm2015/components/notification/notification.component.js +1 -1
- package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
- package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +2 -2
- package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -1
- package/esm2015/components/primitive-textfield/primitive-textfield.module.js +2 -2
- package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +1 -1
- package/esm2015/components/root/root.component.js +4 -4
- package/esm2015/components/root/root.module.js +3 -3
- package/esm2015/components/tooltip/tooltip.component.js +2 -2
- package/esm2015/constants/version.js +2 -2
- package/esm2015/directives/index.js +2 -1
- package/esm2015/{components → directives}/wrapper/index.js +2 -2
- package/esm2015/{components/wrapper/taiga-ui-core-components-wrapper.js → directives/wrapper/taiga-ui-core-directives-wrapper.js} +1 -1
- package/esm2015/directives/wrapper/wrapper.directive.js +98 -0
- package/esm2015/{components → directives}/wrapper/wrapper.module.js +4 -4
- package/esm2015/enums/interactive-state.js +3 -1
- package/esm2015/interfaces/dropdown-directive.js +1 -1
- package/esm2015/modules/notifications/notification-alert/notification-alert.component.js +4 -5
- package/esm2015/modules/notifications/notifications-host/notifications-host.component.js +3 -3
- package/esm2015/modules/notifications/notifications.service.js +2 -2
- package/esm2015/tokens/notification-options.js +8 -1
- package/esm2015/utils/dom/process-icon.js +2 -2
- package/esm2015/utils/format/format-number.js +2 -2
- package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +2 -2
- package/esm2015/utils/mask/create-number-mask.js +1 -2
- package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +5 -0
- package/esm2015/utils/mask/index.js +2 -1
- package/esm2015/utils/miscellaneous/icons-path-factory.js +2 -2
- package/esm2015/utils/miscellaneous/is-editing-key.js +2 -2
- package/esm5/abstract/abstract-dropdown.js +2 -2
- package/esm5/abstract/abstract-hint.js +1 -1
- package/esm5/components/button/button-options.js +1 -1
- package/esm5/components/button/button.component.js +4 -4
- package/esm5/components/button/button.module.js +2 -2
- package/esm5/components/dialog/dialog.component.js +3 -20
- package/esm5/components/dropdown-box/dropdown-box.component.js +5 -8
- package/esm5/components/expand/expand.component.js +1 -1
- package/esm5/components/group/group-styles.component.js +16 -0
- package/esm5/components/group/group.directive.js +12 -6
- package/esm5/components/group/group.module.js +4 -3
- package/esm5/components/group/index.js +2 -1
- package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +3 -6
- package/esm5/components/index.js +1 -2
- package/esm5/components/link/link.component.js +1 -1
- package/esm5/components/loader/loader.directive.js +2 -2
- package/esm5/components/notification/notification.component.js +1 -1
- package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
- package/esm5/components/primitive-checkbox/primitive-checkbox.module.js +2 -2
- package/esm5/components/primitive-textfield/primitive-textfield.component.js +1 -1
- package/esm5/components/primitive-textfield/primitive-textfield.module.js +2 -2
- package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +1 -1
- package/esm5/components/root/root.component.js +4 -4
- package/esm5/components/root/root.module.js +3 -3
- package/esm5/components/tooltip/tooltip.component.js +2 -2
- package/esm5/constants/version.js +2 -2
- package/esm5/directives/index.js +2 -1
- package/esm5/{components → directives}/wrapper/index.js +2 -2
- package/esm5/{components/wrapper/taiga-ui-core-components-wrapper.js → directives/wrapper/taiga-ui-core-directives-wrapper.js} +1 -1
- package/esm5/directives/wrapper/wrapper.directive.js +119 -0
- package/esm5/{components → directives}/wrapper/wrapper.module.js +4 -4
- package/esm5/enums/interactive-state.js +3 -1
- package/esm5/interfaces/dropdown-directive.js +1 -1
- package/esm5/modules/notifications/notification-alert/notification-alert.component.js +4 -5
- package/esm5/modules/notifications/notifications-host/notifications-host.component.js +3 -3
- package/esm5/modules/notifications/notifications.service.js +2 -2
- package/esm5/tokens/notification-options.js +9 -1
- package/esm5/utils/dom/process-icon.js +2 -2
- package/esm5/utils/format/format-number.js +2 -2
- package/esm5/utils/mask/create-auto-corrected-money-pipe.js +2 -2
- package/esm5/utils/mask/create-number-mask.js +1 -2
- package/esm5/utils/mask/enable-auto-correct-decimal-symbol.js +6 -0
- package/esm5/utils/mask/index.js +2 -1
- package/esm5/utils/miscellaneous/icons-path-factory.js +2 -2
- package/esm5/utils/miscellaneous/is-editing-key.js +2 -2
- package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-button.js +4 -4
- package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dialog.js +2 -15
- package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-dropdown-box.js +4 -7
- package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-group.js +23 -8
- package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +2 -5
- package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-link.js +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js +1 -1
- package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js +2 -2
- package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-root.js +5 -5
- package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js +1 -1
- package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm2015/taiga-ui-core-components.js +0 -1
- package/fesm2015/taiga-ui-core-components.js.map +1 -1
- package/fesm2015/taiga-ui-core-constants.js +1 -1
- package/fesm2015/taiga-ui-core-constants.js.map +1 -1
- package/fesm2015/taiga-ui-core-directives-wrapper.js +113 -0
- package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -0
- package/fesm2015/taiga-ui-core-directives.js +1 -0
- package/fesm2015/taiga-ui-core-directives.js.map +1 -1
- package/fesm2015/taiga-ui-core-enums.js +2 -0
- package/fesm2015/taiga-ui-core-enums.js.map +1 -1
- package/fesm2015/taiga-ui-core-modules-notifications.js +5 -6
- package/fesm2015/taiga-ui-core-modules-notifications.js.map +1 -1
- package/fesm2015/taiga-ui-core-tokens.js +8 -1
- package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js +1 -1
- package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js +1 -1
- package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-mask.js +7 -4
- package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js +2 -2
- package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/fesm5/taiga-ui-core-abstract.js.map +1 -1
- package/fesm5/taiga-ui-core-components-button.js +4 -4
- package/fesm5/taiga-ui-core-components-button.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dialog.js +2 -19
- package/fesm5/taiga-ui-core-components-dialog.js.map +1 -1
- package/fesm5/taiga-ui-core-components-dropdown-box.js +4 -7
- package/fesm5/taiga-ui-core-components-dropdown-box.js.map +1 -1
- package/fesm5/taiga-ui-core-components-expand.js.map +1 -1
- package/fesm5/taiga-ui-core-components-group.js +26 -8
- package/fesm5/taiga-ui-core-components-group.js.map +1 -1
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js +2 -5
- package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
- package/fesm5/taiga-ui-core-components-link.js +1 -1
- package/fesm5/taiga-ui-core-components-loader.js +1 -1
- package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
- package/fesm5/taiga-ui-core-components-notification.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js +2 -2
- package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-textfield.js +2 -2
- package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
- package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
- package/fesm5/taiga-ui-core-components-root.js +5 -5
- package/fesm5/taiga-ui-core-components-root.js.map +1 -1
- package/fesm5/taiga-ui-core-components-tooltip.js +1 -1
- package/fesm5/taiga-ui-core-components-tooltip.js.map +1 -1
- package/fesm5/taiga-ui-core-components.js +0 -1
- package/fesm5/taiga-ui-core-components.js.map +1 -1
- package/fesm5/taiga-ui-core-constants.js +1 -1
- package/fesm5/taiga-ui-core-constants.js.map +1 -1
- package/fesm5/taiga-ui-core-directives-wrapper.js +137 -0
- package/fesm5/taiga-ui-core-directives-wrapper.js.map +1 -0
- package/fesm5/taiga-ui-core-directives.js +1 -0
- package/fesm5/taiga-ui-core-directives.js.map +1 -1
- package/fesm5/taiga-ui-core-enums.js +2 -0
- package/fesm5/taiga-ui-core-enums.js.map +1 -1
- package/fesm5/taiga-ui-core-modules-notifications.js +5 -6
- package/fesm5/taiga-ui-core-modules-notifications.js.map +1 -1
- package/fesm5/taiga-ui-core-tokens.js +9 -2
- package/fesm5/taiga-ui-core-tokens.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-dom.js +1 -1
- package/fesm5/taiga-ui-core-utils-dom.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-format.js +1 -1
- package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-mask.js +8 -4
- package/fesm5/taiga-ui-core-utils-mask.js.map +1 -1
- package/fesm5/taiga-ui-core-utils-miscellaneous.js +2 -2
- package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +1 -1
- package/interfaces/dropdown-directive.d.ts +2 -2
- package/modules/notifications/notification-alert/notification-alert.component.d.ts +3 -4
- package/modules/notifications/notifications.service.d.ts +3 -3
- package/modules/notifications/taiga-ui-core-modules-notifications.metadata.json +1 -1
- package/package.json +4 -4
- package/styles/markup/tui-group.less +4 -2
- package/styles/mixins/slider.less +33 -0
- package/styles/mixins/slider.scss +34 -0
- package/styles/mixins/textfield.less +8 -6
- package/styles/mixins/textfield.scss +2 -2
- package/styles/mixins/wrapper.less +57 -0
- package/styles/mixins/wrapper.scss +57 -0
- package/styles/taiga-ui-local.less +2 -0
- package/styles/taiga-ui-local.scss +2 -0
- package/styles/theme/variables.less +1 -1
- package/styles/theme/wrapper/accent.less +16 -18
- package/styles/theme/wrapper/base.less +35 -0
- package/styles/theme/wrapper/icon.less +18 -28
- package/styles/theme/wrapper/outline.less +28 -29
- package/styles/theme/wrapper/primary.less +20 -18
- package/styles/theme/wrapper/secondary.less +35 -35
- package/styles/theme/wrapper/table.less +27 -33
- package/styles/theme/wrapper/textfield.less +45 -55
- package/styles/theme/wrapper/whiteblock.less +27 -16
- package/styles/theme/wrapper.less +2 -0
- package/tokens/notification-options.d.ts +10 -4
- package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
- package/utils/format/format-number.d.ts +1 -1
- package/utils/mask/create-auto-corrected-money-pipe.d.ts +1 -1
- package/utils/mask/create-number-mask.d.ts +0 -1
- package/utils/mask/enable-auto-correct-decimal-symbol.d.ts +2 -0
- package/utils/mask/index.d.ts +1 -0
- package/utils/mask/taiga-ui-core-utils-mask.metadata.json +1 -1
- package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +1 -1
- package/bundles/taiga-ui-core-components-wrapper.umd.js.map +0 -1
- package/bundles/taiga-ui-core-components-wrapper.umd.min.js +0 -16
- package/bundles/taiga-ui-core-components-wrapper.umd.min.js.map +0 -1
- package/components/wrapper/index.d.ts +0 -2
- package/components/wrapper/package.json +0 -13
- package/components/wrapper/taiga-ui-core-components-wrapper.metadata.json +0 -1
- package/esm2015/components/wrapper/wrapper.component.js +0 -91
- package/esm5/components/wrapper/wrapper.component.js +0 -104
- package/fesm2015/taiga-ui-core-components-wrapper.js +0 -106
- package/fesm2015/taiga-ui-core-components-wrapper.js.map +0 -1
- package/fesm5/taiga-ui-core-components-wrapper.js +0 -122
- package/fesm5/taiga-ui-core-components-wrapper.js.map +0 -1
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from 'tslib';
|
|
2
|
-
import { Inject, Input, HostBinding, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
-
import { TUI_IS_MOBILE } from '@taiga-ui/cdk';
|
|
4
|
-
import { MODE_PROVIDER } from '@taiga-ui/core/providers';
|
|
5
|
-
import { TUI_MODE } from '@taiga-ui/core/tokens';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
|
|
8
|
-
let TuiWrapperComponent = class TuiWrapperComponent {
|
|
9
|
-
constructor(isMobile, mode$) {
|
|
10
|
-
this.isMobile = isMobile;
|
|
11
|
-
this.mode$ = mode$;
|
|
12
|
-
this.disabled = false;
|
|
13
|
-
this.readOnly = false;
|
|
14
|
-
this.hovered = false;
|
|
15
|
-
this.pressed = false;
|
|
16
|
-
this.focused = false;
|
|
17
|
-
this.invalid = false;
|
|
18
|
-
this.appearance = '';
|
|
19
|
-
}
|
|
20
|
-
get computedInvalid() {
|
|
21
|
-
return !this.disabled && !this.readOnly && this.invalid;
|
|
22
|
-
}
|
|
23
|
-
get computedFocused() {
|
|
24
|
-
return this.focused && !this.disabled;
|
|
25
|
-
}
|
|
26
|
-
get interactiveState() {
|
|
27
|
-
if (this.disabled) {
|
|
28
|
-
return "disabled" /* Disabled */;
|
|
29
|
-
}
|
|
30
|
-
if (this.readOnly) {
|
|
31
|
-
return "readonly" /* Readonly */;
|
|
32
|
-
}
|
|
33
|
-
if (this.pressed && !this.isMobile) {
|
|
34
|
-
return "pressed" /* Pressed */;
|
|
35
|
-
}
|
|
36
|
-
if (this.hovered && !this.isMobile) {
|
|
37
|
-
return "hovered" /* Hovered */;
|
|
38
|
-
}
|
|
39
|
-
return null;
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
TuiWrapperComponent.ctorParameters = () => [
|
|
43
|
-
{ type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_MOBILE,] }] },
|
|
44
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TUI_MODE,] }] }
|
|
45
|
-
];
|
|
46
|
-
__decorate([
|
|
47
|
-
Input()
|
|
48
|
-
], TuiWrapperComponent.prototype, "disabled", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Input()
|
|
51
|
-
], TuiWrapperComponent.prototype, "readOnly", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
Input()
|
|
54
|
-
], TuiWrapperComponent.prototype, "hovered", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
Input()
|
|
57
|
-
], TuiWrapperComponent.prototype, "pressed", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
Input()
|
|
60
|
-
], TuiWrapperComponent.prototype, "focused", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
Input()
|
|
63
|
-
], TuiWrapperComponent.prototype, "invalid", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
Input(),
|
|
66
|
-
HostBinding('attr.data-appearance')
|
|
67
|
-
], TuiWrapperComponent.prototype, "appearance", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
HostBinding('class._invalid')
|
|
70
|
-
], TuiWrapperComponent.prototype, "computedInvalid", null);
|
|
71
|
-
__decorate([
|
|
72
|
-
HostBinding('class._focused')
|
|
73
|
-
], TuiWrapperComponent.prototype, "computedFocused", null);
|
|
74
|
-
__decorate([
|
|
75
|
-
HostBinding('attr.data-state')
|
|
76
|
-
], TuiWrapperComponent.prototype, "interactiveState", null);
|
|
77
|
-
TuiWrapperComponent = __decorate([
|
|
78
|
-
Component({
|
|
79
|
-
selector: 'tui-wrapper',
|
|
80
|
-
template: '<ng-content></ng-content>',
|
|
81
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
82
|
-
providers: [MODE_PROVIDER],
|
|
83
|
-
host: {
|
|
84
|
-
'($.data-mode.attr)': 'mode$',
|
|
85
|
-
},
|
|
86
|
-
styles: [":host{transition-property:color,background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:relative;display:block;height:100%;width:100%;border-radius:inherit}:host:after{transition-property:box-shadow;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;content:'';position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;border:1px solid currentColor;pointer-events:none;color:transparent}:host._focused:after{border-width:2px;color:var(--tui-focus)}:host[data-state=disabled]{pointer-events:none}"]
|
|
87
|
-
}),
|
|
88
|
-
__param(0, Inject(TUI_IS_MOBILE)),
|
|
89
|
-
__param(1, Inject(TUI_MODE))
|
|
90
|
-
], TuiWrapperComponent);
|
|
91
|
-
|
|
92
|
-
let TuiWrapperModule = class TuiWrapperModule {
|
|
93
|
-
};
|
|
94
|
-
TuiWrapperModule = __decorate([
|
|
95
|
-
NgModule({
|
|
96
|
-
declarations: [TuiWrapperComponent],
|
|
97
|
-
exports: [TuiWrapperComponent],
|
|
98
|
-
})
|
|
99
|
-
], TuiWrapperModule);
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Generated bundle index. Do not edit.
|
|
103
|
-
*/
|
|
104
|
-
|
|
105
|
-
export { TuiWrapperComponent, TuiWrapperModule };
|
|
106
|
-
//# sourceMappingURL=taiga-ui-core-components-wrapper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-components-wrapper.js","sources":["ng://@taiga-ui/core/components/wrapper/wrapper.component.ts","ng://@taiga-ui/core/components/wrapper/wrapper.module.ts","ng://@taiga-ui/core/components/wrapper/taiga-ui-core-components-wrapper.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk';\nimport {TuiInteractiveState} from '@taiga-ui/core/enums';\nimport {MODE_PROVIDER} from '@taiga-ui/core/providers';\nimport {TUI_MODE} from '@taiga-ui/core/tokens';\nimport {TuiBrightness} from '@taiga-ui/core/types';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: 'tui-wrapper',\n template: '<ng-content></ng-content>',\n styleUrls: ['./wrapper.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': 'mode$',\n },\n})\nexport class TuiWrapperComponent {\n @Input()\n disabled = false;\n\n @Input()\n readOnly = false;\n\n @Input()\n hovered = false;\n\n @Input()\n pressed = false;\n\n @Input()\n focused = false;\n\n @Input()\n invalid = false;\n\n @Input()\n @HostBinding('attr.data-appearance')\n appearance = '';\n\n constructor(\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n ) {}\n\n @HostBinding('class._invalid')\n get computedInvalid(): boolean {\n return !this.disabled && !this.readOnly && this.invalid;\n }\n\n @HostBinding('class._focused')\n get computedFocused(): boolean {\n return this.focused && !this.disabled;\n }\n\n @HostBinding('attr.data-state')\n get interactiveState(): TuiInteractiveState | null {\n if (this.disabled) {\n return TuiInteractiveState.Disabled;\n }\n\n if (this.readOnly) {\n return TuiInteractiveState.Readonly;\n }\n\n if (this.pressed && !this.isMobile) {\n return TuiInteractiveState.Pressed;\n }\n\n if (this.hovered && !this.isMobile) {\n return TuiInteractiveState.Hovered;\n }\n\n return null;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiWrapperComponent} from './wrapper.component';\n\n@NgModule({\n declarations: [TuiWrapperComponent],\n exports: [TuiWrapperComponent],\n})\nexport class TuiWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAwBa,mBAAmB,GAAhC,MAAa,mBAAmB;IAuB5B,YAC4C,QAAiB,EAC9B,KAAuC;QAD1B,aAAQ,GAAR,QAAQ,CAAS;QAC9B,UAAK,GAAL,KAAK,CAAkC;QAvBtE,aAAQ,GAAG,KAAK,CAAC;QAGjB,aAAQ,GAAG,KAAK,CAAC;QAGjB,YAAO,GAAG,KAAK,CAAC;QAGhB,YAAO,GAAG,KAAK,CAAC;QAGhB,YAAO,GAAG,KAAK,CAAC;QAGhB,YAAO,GAAG,KAAK,CAAC;QAIhB,eAAU,GAAG,EAAE,CAAC;KAKZ;IAGJ,IAAI,eAAe;QACf,OAAO,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC;KAC3D;IAGD,IAAI,eAAe;QACf,OAAO,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;KACzC;IAGD,IAAI,gBAAgB;QAChB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACf,iCAAoC;SACvC;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE;YACf,iCAAoC;SACvC;QAED,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAChC,+BAAmC;SACtC;QAED,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YAChC,+BAAmC;SACtC;QAED,OAAO,IAAI,CAAC;KACf;EACJ;;0CAlCQ,MAAM,SAAC,aAAa;YACa,UAAU,uBAA3C,MAAM,SAAC,QAAQ;;AAvBpB;IADC,KAAK,EAAE;qDACS;AAGjB;IADC,KAAK,EAAE;qDACS;AAGjB;IADC,KAAK,EAAE;oDACQ;AAGhB;IADC,KAAK,EAAE;oDACQ;AAGhB;IADC,KAAK,EAAE;oDACQ;AAGhB;IADC,KAAK,EAAE;oDACQ;AAIhB;IAFC,KAAK,EAAE;IACP,WAAW,CAAC,sBAAsB,CAAC;uDACpB;AAQhB;IADC,WAAW,CAAC,gBAAgB,CAAC;0DAG7B;AAGD;IADC,WAAW,CAAC,gBAAgB,CAAC;0DAG7B;AAGD;IADC,WAAW,CAAC,iBAAiB,CAAC;2DAmB9B;AAzDQ,mBAAmB;IAV/B,SAAS,CAAC;QACP,QAAQ,EAAE,aAAa;QACvB,QAAQ,EAAE,2BAA2B;QAErC,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE,CAAC,aAAa,CAAC;QAC1B,IAAI,EAAE;YACF,oBAAoB,EAAE,OAAO;SAChC;;KACJ,CAAC;IAyBO,WAAA,MAAM,CAAC,aAAa,CAAC,CAAA;IACrB,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;GAzBZ,mBAAmB,CA0D/B;;IC1EY,gBAAgB,GAA7B,MAAa,gBAAgB;EAAG;AAAnB,gBAAgB;IAJ5B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;QACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;KACjC,CAAC;GACW,gBAAgB,CAAG;;ACRhC;;;;;;"}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from 'tslib';
|
|
2
|
-
import { Inject, Input, HostBinding, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
-
import { TUI_IS_MOBILE } from '@taiga-ui/cdk';
|
|
4
|
-
import { MODE_PROVIDER } from '@taiga-ui/core/providers';
|
|
5
|
-
import { TUI_MODE } from '@taiga-ui/core/tokens';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
|
|
8
|
-
var TuiWrapperComponent = /** @class */ (function () {
|
|
9
|
-
function TuiWrapperComponent(isMobile, mode$) {
|
|
10
|
-
this.isMobile = isMobile;
|
|
11
|
-
this.mode$ = mode$;
|
|
12
|
-
this.disabled = false;
|
|
13
|
-
this.readOnly = false;
|
|
14
|
-
this.hovered = false;
|
|
15
|
-
this.pressed = false;
|
|
16
|
-
this.focused = false;
|
|
17
|
-
this.invalid = false;
|
|
18
|
-
this.appearance = '';
|
|
19
|
-
}
|
|
20
|
-
Object.defineProperty(TuiWrapperComponent.prototype, "computedInvalid", {
|
|
21
|
-
get: function () {
|
|
22
|
-
return !this.disabled && !this.readOnly && this.invalid;
|
|
23
|
-
},
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(TuiWrapperComponent.prototype, "computedFocused", {
|
|
28
|
-
get: function () {
|
|
29
|
-
return this.focused && !this.disabled;
|
|
30
|
-
},
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(TuiWrapperComponent.prototype, "interactiveState", {
|
|
35
|
-
get: function () {
|
|
36
|
-
if (this.disabled) {
|
|
37
|
-
return "disabled" /* Disabled */;
|
|
38
|
-
}
|
|
39
|
-
if (this.readOnly) {
|
|
40
|
-
return "readonly" /* Readonly */;
|
|
41
|
-
}
|
|
42
|
-
if (this.pressed && !this.isMobile) {
|
|
43
|
-
return "pressed" /* Pressed */;
|
|
44
|
-
}
|
|
45
|
-
if (this.hovered && !this.isMobile) {
|
|
46
|
-
return "hovered" /* Hovered */;
|
|
47
|
-
}
|
|
48
|
-
return null;
|
|
49
|
-
},
|
|
50
|
-
enumerable: true,
|
|
51
|
-
configurable: true
|
|
52
|
-
});
|
|
53
|
-
TuiWrapperComponent.ctorParameters = function () { return [
|
|
54
|
-
{ type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_MOBILE,] }] },
|
|
55
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TUI_MODE,] }] }
|
|
56
|
-
]; };
|
|
57
|
-
__decorate([
|
|
58
|
-
Input()
|
|
59
|
-
], TuiWrapperComponent.prototype, "disabled", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
Input()
|
|
62
|
-
], TuiWrapperComponent.prototype, "readOnly", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
Input()
|
|
65
|
-
], TuiWrapperComponent.prototype, "hovered", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
Input()
|
|
68
|
-
], TuiWrapperComponent.prototype, "pressed", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
Input()
|
|
71
|
-
], TuiWrapperComponent.prototype, "focused", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
Input()
|
|
74
|
-
], TuiWrapperComponent.prototype, "invalid", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
Input(),
|
|
77
|
-
HostBinding('attr.data-appearance')
|
|
78
|
-
], TuiWrapperComponent.prototype, "appearance", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
HostBinding('class._invalid')
|
|
81
|
-
], TuiWrapperComponent.prototype, "computedInvalid", null);
|
|
82
|
-
__decorate([
|
|
83
|
-
HostBinding('class._focused')
|
|
84
|
-
], TuiWrapperComponent.prototype, "computedFocused", null);
|
|
85
|
-
__decorate([
|
|
86
|
-
HostBinding('attr.data-state')
|
|
87
|
-
], TuiWrapperComponent.prototype, "interactiveState", null);
|
|
88
|
-
TuiWrapperComponent = __decorate([
|
|
89
|
-
Component({
|
|
90
|
-
selector: 'tui-wrapper',
|
|
91
|
-
template: '<ng-content></ng-content>',
|
|
92
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
93
|
-
providers: [MODE_PROVIDER],
|
|
94
|
-
host: {
|
|
95
|
-
'($.data-mode.attr)': 'mode$',
|
|
96
|
-
},
|
|
97
|
-
styles: [":host{transition-property:color,background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:relative;display:block;height:100%;width:100%;border-radius:inherit}:host:after{transition-property:box-shadow;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;content:'';position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;border:1px solid currentColor;pointer-events:none;color:transparent}:host._focused:after{border-width:2px;color:var(--tui-focus)}:host[data-state=disabled]{pointer-events:none}"]
|
|
98
|
-
}),
|
|
99
|
-
__param(0, Inject(TUI_IS_MOBILE)),
|
|
100
|
-
__param(1, Inject(TUI_MODE))
|
|
101
|
-
], TuiWrapperComponent);
|
|
102
|
-
return TuiWrapperComponent;
|
|
103
|
-
}());
|
|
104
|
-
|
|
105
|
-
var TuiWrapperModule = /** @class */ (function () {
|
|
106
|
-
function TuiWrapperModule() {
|
|
107
|
-
}
|
|
108
|
-
TuiWrapperModule = __decorate([
|
|
109
|
-
NgModule({
|
|
110
|
-
declarations: [TuiWrapperComponent],
|
|
111
|
-
exports: [TuiWrapperComponent],
|
|
112
|
-
})
|
|
113
|
-
], TuiWrapperModule);
|
|
114
|
-
return TuiWrapperModule;
|
|
115
|
-
}());
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Generated bundle index. Do not edit.
|
|
119
|
-
*/
|
|
120
|
-
|
|
121
|
-
export { TuiWrapperComponent, TuiWrapperModule };
|
|
122
|
-
//# sourceMappingURL=taiga-ui-core-components-wrapper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-components-wrapper.js","sources":["ng://@taiga-ui/core/components/wrapper/wrapper.component.ts","ng://@taiga-ui/core/components/wrapper/wrapper.module.ts","ng://@taiga-ui/core/components/wrapper/taiga-ui-core-components-wrapper.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk';\nimport {TuiInteractiveState} from '@taiga-ui/core/enums';\nimport {MODE_PROVIDER} from '@taiga-ui/core/providers';\nimport {TUI_MODE} from '@taiga-ui/core/tokens';\nimport {TuiBrightness} from '@taiga-ui/core/types';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: 'tui-wrapper',\n template: '<ng-content></ng-content>',\n styleUrls: ['./wrapper.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': 'mode$',\n },\n})\nexport class TuiWrapperComponent {\n @Input()\n disabled = false;\n\n @Input()\n readOnly = false;\n\n @Input()\n hovered = false;\n\n @Input()\n pressed = false;\n\n @Input()\n focused = false;\n\n @Input()\n invalid = false;\n\n @Input()\n @HostBinding('attr.data-appearance')\n appearance = '';\n\n constructor(\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n ) {}\n\n @HostBinding('class._invalid')\n get computedInvalid(): boolean {\n return !this.disabled && !this.readOnly && this.invalid;\n }\n\n @HostBinding('class._focused')\n get computedFocused(): boolean {\n return this.focused && !this.disabled;\n }\n\n @HostBinding('attr.data-state')\n get interactiveState(): TuiInteractiveState | null {\n if (this.disabled) {\n return TuiInteractiveState.Disabled;\n }\n\n if (this.readOnly) {\n return TuiInteractiveState.Readonly;\n }\n\n if (this.pressed && !this.isMobile) {\n return TuiInteractiveState.Pressed;\n }\n\n if (this.hovered && !this.isMobile) {\n return TuiInteractiveState.Hovered;\n }\n\n return null;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiWrapperComponent} from './wrapper.component';\n\n@NgModule({\n declarations: [TuiWrapperComponent],\n exports: [TuiWrapperComponent],\n})\nexport class TuiWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;IA+CI,6BAC4C,QAAiB,EAC9B,KAAuC;QAD1B,aAAQ,GAAR,QAAQ,CAAS;QAC9B,UAAK,GAAL,KAAK,CAAkC;QAvBtE,aAAQ,GAAG,KAAK,CAAC;QAGjB,aAAQ,GAAG,KAAK,CAAC;QAGjB,YAAO,GAAG,KAAK,CAAC;QAGhB,YAAO,GAAG,KAAK,CAAC;QAGhB,YAAO,GAAG,KAAK,CAAC;QAGhB,YAAO,GAAG,KAAK,CAAC;QAIhB,eAAU,GAAG,EAAE,CAAC;KAKZ;IAGJ,sBAAI,gDAAe;aAAnB;YACI,OAAO,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC;SAC3D;;;OAAA;IAGD,sBAAI,gDAAe;aAAnB;YACI,OAAO,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;SACzC;;;OAAA;IAGD,sBAAI,iDAAgB;aAApB;YACI,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACf,iCAAoC;aACvC;YAED,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACf,iCAAoC;aACvC;YAED,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAChC,+BAAmC;aACtC;YAED,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAChC,+BAAmC;aACtC;YAED,OAAO,IAAI,CAAC;SACf;;;OAAA;;8CAjCI,MAAM,SAAC,aAAa;gBACa,UAAU,uBAA3C,MAAM,SAAC,QAAQ;;IAvBpB;QADC,KAAK,EAAE;yDACS;IAGjB;QADC,KAAK,EAAE;yDACS;IAGjB;QADC,KAAK,EAAE;wDACQ;IAGhB;QADC,KAAK,EAAE;wDACQ;IAGhB;QADC,KAAK,EAAE;wDACQ;IAGhB;QADC,KAAK,EAAE;wDACQ;IAIhB;QAFC,KAAK,EAAE;QACP,WAAW,CAAC,sBAAsB,CAAC;2DACpB;IAQhB;QADC,WAAW,CAAC,gBAAgB,CAAC;8DAG7B;IAGD;QADC,WAAW,CAAC,gBAAgB,CAAC;8DAG7B;IAGD;QADC,WAAW,CAAC,iBAAiB,CAAC;+DAmB9B;IAzDQ,mBAAmB;QAV/B,SAAS,CAAC;YACP,QAAQ,EAAE,aAAa;YACvB,QAAQ,EAAE,2BAA2B;YAErC,eAAe,EAAE,uBAAuB,CAAC,MAAM;YAC/C,SAAS,EAAE,CAAC,aAAa,CAAC;YAC1B,IAAI,EAAE;gBACF,oBAAoB,EAAE,OAAO;aAChC;;SACJ,CAAC;QAyBO,WAAA,MAAM,CAAC,aAAa,CAAC,CAAA;QACrB,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;OAzBZ,mBAAmB,CA0D/B;IAAD,0BAAC;CA1DD;;;IChBA;KAAgC;IAAnB,gBAAgB;QAJ5B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;YACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;SACjC,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAhC;;ACRA;;;;;;"}
|