@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 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"TUI_ANIMATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":41},"arguments":["Options for Taiga UI animations",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./animation-options"}]},"TUI_ANIMATIONS_DURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":43},"arguments":["Duration of all Taiga UI animations in ms",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./animations-duration"}]},"TUI_ASSERT_ENABLED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":38},"arguments":["Flag to enable assertions across Taiga UI",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./assert-enabled"}]},"TUI_DATA_LIST_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Accessor for options"]},"TUI_DATA_LIST_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["DataList controller"]},"TUI_DOCUMENT_OR_SHADOW_ROOT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":47},"arguments":["Document or ShadowRoot"]},"TUI_DROPDOWN_DIRECTIVE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Directive controlling TuiDropdownBoxComponent"]},"TUI_ELEMENT_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":35},"arguments":["ElementRef when you cannot use @Input for single time injection"]},"TUI_FIRST_DAY_OF_WEEK":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":41},"arguments":["The first day of the week index",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./first-day-of-week"}]},"TUI_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Localized months names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":4,"character":13},"arguments":["months"]}}]},"TUI_CLOSE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["i18n 'close' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":8,"character":13},"arguments":["close"]}}]},"TUI_NOTHING_FOUND_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":45},"arguments":["i18n 'Nothing found' message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":17},"arguments":["nothingFoundMessage"]}}]},"TUI_DEFAULT_ERROR_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":45},"arguments":["i18n of error message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":19,"character":13},"arguments":["defaultErrorMessage"]}}]},"TUI_SPIN_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":34},"arguments":["spin i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":23,"character":13},"arguments":["spinTexts"]}}]},"TUI_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":39},"arguments":["calendars i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":27,"character":13},"arguments":["shortWeekDays"]}}]},"TUI_ICONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["A key/value dictionary of icon names and src to be defined with TuiSvgService",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./icons"}]},"TUI_ICONS_PATH":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["A handler to retrieve USE id for icon by name",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":21,"module":"./icons-path"}]},"TUI_IS_MOBILE_RES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Mobile resolution stream for private providers"]},"TUI_MEDIA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":29},"arguments":["Token for media constant",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./media"}]},"TUI_MODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Mode stream for private providers"]},"NotificationTokenOptions":{"__symbolic":"interface"},"TUI_NOTIFICATION_DEFAULT_OPTIONS":{"autoClose":true,"label":"","status":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/enums","name":"TuiNotification","line":18,"character":12},"member":"Info"},"hasIcon":true,"hasCloseButton":true},"TUI_NOTIFICATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":23,"character":44},"arguments":["Default parameters for notification alert component",{"__symbolic":"error","message":"Lambda not supported","line":26,"character":17,"module":"./notification-options"}]},"TUI_NUMBER_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":37},"arguments":["Formatting configuration for displayed numbers",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./number-format"}]},"TUI_OPTION_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":38},"arguments":["Content for tuiOption component"]},"WEEK_DAYS_NAMES":{"__symbolic":"interface"},"convertToSundayFirstWeekFormat":{"__symbolic":"error","message":"Lambda not supported","line":9,"character":46,"module":"./ordered-short-week-days"},"TUI_ORDERED_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":47},"arguments":["Ordered calendars i18n texts",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":13,"module":"./ordered-short-week-days"}]},"TUI_SCROLL_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":34},"arguments":["Scrollable container"]},"TUI_SVG_SRC_PROCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Source path processor for svg",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./svg-src-processor"}]},"TUI_TEXTFIELD_APPEARANCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":44},"arguments":["Appearance for inputs",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./textfield-appearance"}]},"TUI_TEXTFIELD_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["An interface to communicate with textfield based controls"]},"TUI_THEME":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["Theme name",{"__symbolic":"error","message":"Lambda not supported","line":3,"character":13,"module":"./theme"}]},"TUI_VALUE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["Buffer token to pass NG_VALUE_ACCESSOR to a different Injector"]}},"origins":{"TUI_ANIMATION_OPTIONS":"./animation-options","TUI_ANIMATIONS_DURATION":"./animations-duration","TUI_ASSERT_ENABLED":"./assert-enabled","TUI_DATA_LIST_ACCESSOR":"./data-list-accessor","TUI_DATA_LIST_HOST":"./data-list-host","TUI_DOCUMENT_OR_SHADOW_ROOT":"./document-or-shadow-root","TUI_DROPDOWN_DIRECTIVE":"./dropdown-directive","TUI_ELEMENT_REF":"./element-ref","TUI_FIRST_DAY_OF_WEEK":"./first-day-of-week","TUI_MONTHS":"./i18n","TUI_CLOSE_WORD":"./i18n","TUI_NOTHING_FOUND_MESSAGE":"./i18n","TUI_DEFAULT_ERROR_MESSAGE":"./i18n","TUI_SPIN_TEXTS":"./i18n","TUI_SHORT_WEEK_DAYS":"./i18n","TUI_ICONS":"./icons","TUI_ICONS_PATH":"./icons-path","TUI_IS_MOBILE_RES":"./is-mobile-resolution","TUI_MEDIA":"./media","TUI_MODE":"./mode","NotificationTokenOptions":"./notification-options","TUI_NOTIFICATION_DEFAULT_OPTIONS":"./notification-options","TUI_NOTIFICATION_OPTIONS":"./notification-options","TUI_NUMBER_FORMAT":"./number-format","TUI_OPTION_CONTENT":"./option-content","WEEK_DAYS_NAMES":"./ordered-short-week-days","convertToSundayFirstWeekFormat":"./ordered-short-week-days","TUI_ORDERED_SHORT_WEEK_DAYS":"./ordered-short-week-days","TUI_SANITIZER":"@taiga-ui/cdk","TUI_SCROLL_REF":"./scroll-ref","TUI_SVG_SRC_PROCESSOR":"./svg-src-processor","TUI_TEXTFIELD_APPEARANCE":"./textfield-appearance","TUI_TEXTFIELD_HOST":"./textfield-host","TUI_THEME":"./theme","TUI_VALUE_ACCESSOR":"./value-accessor"},"importAs":"@taiga-ui/core/tokens"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"TUI_ANIMATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":41},"arguments":["Options for Taiga UI animations",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./animation-options"}]},"TUI_ANIMATIONS_DURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":43},"arguments":["Duration of all Taiga UI animations in ms",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./animations-duration"}]},"TUI_ASSERT_ENABLED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":38},"arguments":["Flag to enable assertions across Taiga UI",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./assert-enabled"}]},"TUI_DATA_LIST_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Accessor for options"]},"TUI_DATA_LIST_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["DataList controller"]},"TUI_DOCUMENT_OR_SHADOW_ROOT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":47},"arguments":["Document or ShadowRoot"]},"TUI_DROPDOWN_DIRECTIVE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Directive controlling TuiDropdownBoxComponent"]},"TUI_ELEMENT_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":35},"arguments":["ElementRef when you cannot use @Input for single time injection"]},"TUI_FIRST_DAY_OF_WEEK":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":41},"arguments":["The first day of the week index",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./first-day-of-week"}]},"TUI_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Localized months names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":4,"character":13},"arguments":["months"]}}]},"TUI_CLOSE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["i18n 'close' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":8,"character":13},"arguments":["close"]}}]},"TUI_NOTHING_FOUND_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":45},"arguments":["i18n 'Nothing found' message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":17},"arguments":["nothingFoundMessage"]}}]},"TUI_DEFAULT_ERROR_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":45},"arguments":["i18n of error message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":19,"character":13},"arguments":["defaultErrorMessage"]}}]},"TUI_SPIN_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":34},"arguments":["spin i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":23,"character":13},"arguments":["spinTexts"]}}]},"TUI_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":39},"arguments":["calendars i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":27,"character":13},"arguments":["shortWeekDays"]}}]},"TUI_ICONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["A key/value dictionary of icon names and src to be defined with TuiSvgService",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./icons"}]},"TUI_ICONS_PATH":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["A handler to retrieve USE id for icon by name",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":21,"module":"./icons-path"}]},"TUI_IS_MOBILE_RES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Mobile resolution stream for private providers"]},"TUI_MEDIA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":29},"arguments":["Token for media constant",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./media"}]},"TUI_MODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Mode stream for private providers"]},"TuiNotificationDefaultOptions":{"__symbolic":"interface"},"NotificationTokenOptions":{"__symbolic":"interface"},"TUI_NOTIFICATION_DEFAULT_OPTIONS":{"autoClose":true,"label":"","status":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/enums","name":"TuiNotification","line":24,"character":12},"member":"Info"},"hasIcon":true,"hasCloseButton":true,"defaultAutoCloseTime":3000},"TUI_NOTIFICATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":30,"character":44},"arguments":["Default parameters for notification alert component",{"__symbolic":"error","message":"Lambda not supported","line":33,"character":17,"module":"./notification-options"}]},"tuiNotificationOptionsProvider":{"__symbolic":"function","parameters":["options"],"value":{"provide":{"__symbolic":"reference","name":"TUI_NOTIFICATION_OPTIONS"},"useValue":{}}},"TUI_NUMBER_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":37},"arguments":["Formatting configuration for displayed numbers",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./number-format"}]},"TUI_OPTION_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":38},"arguments":["Content for tuiOption component"]},"WEEK_DAYS_NAMES":{"__symbolic":"interface"},"convertToSundayFirstWeekFormat":{"__symbolic":"error","message":"Lambda not supported","line":9,"character":46,"module":"./ordered-short-week-days"},"TUI_ORDERED_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":47},"arguments":["Ordered calendars i18n texts",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":13,"module":"./ordered-short-week-days"}]},"TUI_SCROLL_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":34},"arguments":["Scrollable container"]},"TUI_SVG_SRC_PROCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Source path processor for svg",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./svg-src-processor"}]},"TUI_TEXTFIELD_APPEARANCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":44},"arguments":["Appearance for inputs",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./textfield-appearance"}]},"TUI_TEXTFIELD_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["An interface to communicate with textfield based controls"]},"TUI_THEME":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["Theme name",{"__symbolic":"error","message":"Lambda not supported","line":3,"character":13,"module":"./theme"}]},"TUI_VALUE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["Buffer token to pass NG_VALUE_ACCESSOR to a different Injector"]}},"origins":{"TUI_ANIMATION_OPTIONS":"./animation-options","TUI_ANIMATIONS_DURATION":"./animations-duration","TUI_ASSERT_ENABLED":"./assert-enabled","TUI_DATA_LIST_ACCESSOR":"./data-list-accessor","TUI_DATA_LIST_HOST":"./data-list-host","TUI_DOCUMENT_OR_SHADOW_ROOT":"./document-or-shadow-root","TUI_DROPDOWN_DIRECTIVE":"./dropdown-directive","TUI_ELEMENT_REF":"./element-ref","TUI_FIRST_DAY_OF_WEEK":"./first-day-of-week","TUI_MONTHS":"./i18n","TUI_CLOSE_WORD":"./i18n","TUI_NOTHING_FOUND_MESSAGE":"./i18n","TUI_DEFAULT_ERROR_MESSAGE":"./i18n","TUI_SPIN_TEXTS":"./i18n","TUI_SHORT_WEEK_DAYS":"./i18n","TUI_ICONS":"./icons","TUI_ICONS_PATH":"./icons-path","TUI_IS_MOBILE_RES":"./is-mobile-resolution","TUI_MEDIA":"./media","TUI_MODE":"./mode","TuiNotificationDefaultOptions":"./notification-options","NotificationTokenOptions":"./notification-options","TUI_NOTIFICATION_DEFAULT_OPTIONS":"./notification-options","TUI_NOTIFICATION_OPTIONS":"./notification-options","tuiNotificationOptionsProvider":"./notification-options","TUI_NUMBER_FORMAT":"./number-format","TUI_OPTION_CONTENT":"./option-content","WEEK_DAYS_NAMES":"./ordered-short-week-days","convertToSundayFirstWeekFormat":"./ordered-short-week-days","TUI_ORDERED_SHORT_WEEK_DAYS":"./ordered-short-week-days","TUI_SANITIZER":"@taiga-ui/cdk","TUI_SCROLL_REF":"./scroll-ref","TUI_SVG_SRC_PROCESSOR":"./svg-src-processor","TUI_TEXTFIELD_APPEARANCE":"./textfield-appearance","TUI_TEXTFIELD_HOST":"./textfield-host","TUI_THEME":"./theme","TUI_VALUE_ACCESSOR":"./value-accessor"},"importAs":"@taiga-ui/core/tokens"}
|
|
@@ -3,4 +3,4 @@ import { TuiDecimalSymbol } from '@taiga-ui/core/types';
|
|
|
3
3
|
/**
|
|
4
4
|
* Used to finish a number with zeros to a given precision
|
|
5
5
|
*/
|
|
6
|
-
export declare function tuiCreateAutoCorrectedNumberPipe(decimalLimit?: number, decimalSymbol?: TuiDecimalSymbol, thousandSymbol?: string, nativeInput?: HTMLInputElement, allowNegative?: boolean): TuiTextMaskPipeHandler;
|
|
6
|
+
export declare function tuiCreateAutoCorrectedNumberPipe(decimalLimit?: number, decimalSymbol?: TuiDecimalSymbol, thousandSymbol?: string, nativeInput?: HTMLInputElement | null, allowNegative?: boolean): TuiTextMaskPipeHandler;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TuiNumberMaskOptions, TuiTextMaskListHandler } from '@taiga-ui/core/mask';
|
|
2
2
|
/**
|
|
3
3
|
* Adaptation for {@link https://github.com/text-mask/text-mask/tree/master/addons#createnumbermask `createNumberMask`}
|
|
4
|
-
* @todo TODO: autocCorrectDecimalSymbol is no longer needed. Remove it in 3.0
|
|
5
4
|
*/
|
|
6
5
|
export declare function tuiCreateNumberMask({ allowDecimal, decimalSymbol, thousandSymbol, autoCorrectDecimalSymbol, decimalLimit, requireDecimal, allowNegative, integerLimit, }?: TuiNumberMaskOptions): TuiTextMaskListHandler;
|
package/utils/mask/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './create-auto-corrected-money-pipe';
|
|
2
2
|
export * from './create-correction-mask';
|
|
3
3
|
export * from './create-number-mask';
|
|
4
|
+
export * from './enable-auto-correct-decimal-symbol';
|
|
4
5
|
export * from './masked-money-value-is-empty';
|
|
5
6
|
export * from './masked-number-string-to-number';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"tuiCreateAutoCorrectedNumberPipe":{"__symbolic":"function"},"tuiCreateCorrectionMask":{"__symbolic":"function","parameters":["allowed","correctionHandler"],"value":{"__symbolic":"error","message":"Lambda not supported","line":14,"character":11,"module":"./create-correction-mask"}},"tuiCreateNumberMask":{"__symbolic":"function"},"maskedMoneyValueIsEmpty":{"__symbolic":"function"},"maskedNumberStringToNumber":{"__symbolic":"function","parameters":["value","decimalsSymbol","thousandSymbol"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"parseFloat"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"split"},"arguments":[{"__symbolic":"reference","name":"thousandSymbol"}]},"member":"join"},"arguments":[""]},"member":"split"},"arguments":[{"__symbolic":"reference","name":"decimalsSymbol"}]},"member":"join"},"arguments":["."]}]}}},"origins":{"tuiCreateAutoCorrectedNumberPipe":"./create-auto-corrected-money-pipe","tuiCreateCorrectionMask":"./create-correction-mask","tuiCreateNumberMask":"./create-number-mask","maskedMoneyValueIsEmpty":"./masked-money-value-is-empty","maskedNumberStringToNumber":"./masked-number-string-to-number"},"importAs":"@taiga-ui/core/utils/mask"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"tuiCreateAutoCorrectedNumberPipe":{"__symbolic":"function"},"tuiCreateCorrectionMask":{"__symbolic":"function","parameters":["allowed","correctionHandler"],"value":{"__symbolic":"error","message":"Lambda not supported","line":14,"character":11,"module":"./create-correction-mask"}},"tuiCreateNumberMask":{"__symbolic":"function"},"tuiEnableAutoCorrectDecimalSymbol":{"__symbolic":"function","parameters":["thousandSeparator"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/constants","name":"TUI_DECIMAL_SYMBOLS","line":6,"character":12},"member":"includes"},"arguments":[{"__symbolic":"reference","name":"thousandSeparator"}]}}},"maskedMoneyValueIsEmpty":{"__symbolic":"function"},"maskedNumberStringToNumber":{"__symbolic":"function","parameters":["value","decimalsSymbol","thousandSymbol"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"parseFloat"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"value"},"member":"split"},"arguments":[{"__symbolic":"reference","name":"thousandSymbol"}]},"member":"join"},"arguments":[""]},"member":"split"},"arguments":[{"__symbolic":"reference","name":"decimalsSymbol"}]},"member":"join"},"arguments":["."]}]}}},"origins":{"tuiCreateAutoCorrectedNumberPipe":"./create-auto-corrected-money-pipe","tuiCreateCorrectionMask":"./create-correction-mask","tuiCreateNumberMask":"./create-number-mask","tuiEnableAutoCorrectDecimalSymbol":"./enable-auto-correct-decimal-symbol","maskedMoneyValueIsEmpty":"./masked-money-value-is-empty","maskedNumberStringToNumber":"./masked-number-string-to-number"},"importAs":"@taiga-ui/core/utils/mask"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"colorFallback":{"__symbolic":"function"},"getBorder":{"__symbolic":"function"},"iconsPathFactory":{"__symbolic":"function"},"isEditingKey":{"__symbolic":"function","parameters":["key"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"key"},"member":"length"},"right":1},"right":{"__symbolic":"
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"colorFallback":{"__symbolic":"function"},"getBorder":{"__symbolic":"function"},"iconsPathFactory":{"__symbolic":"function"},"isEditingKey":{"__symbolic":"function","parameters":["key"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"key"},"member":"length"},"right":1},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/constants","name":"tuiEditingKeys","line":6,"character":31},"member":"includes"},"arguments":[{"__symbolic":"reference","name":"key"}]}}},"isPresumedHTMLString":{"__symbolic":"function"},"sizeBigger":{"__symbolic":"function","parameters":["size","biggerThanSize"],"defaults":[null,"s"],"value":{"__symbolic":"binop","operator":">","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":["xs","s","m","l","xl","xxl"],"member":"indexOf"},"arguments":[{"__symbolic":"reference","name":"size"}]},"right":{"__symbolic":"call","expression":{"__symbolic":"select","expression":["xs","s","m","l","xl","xxl"],"member":"indexOf"},"arguments":[{"__symbolic":"reference","name":"biggerThanSize"}]}}}},"origins":{"colorFallback":"./color-fallback","getBorder":"./get-border","iconsPathFactory":"./icons-path-factory","isEditingKey":"./is-editing-key","isPresumedHTMLString":"./is-presumed-hTMLString","sizeBigger":"./size-bigger"},"importAs":"@taiga-ui/core/utils/miscellaneous"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-core-components-wrapper.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/components/wrapper/wrapper.component.ts","ng://@taiga-ui/core/components/wrapper/wrapper.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","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"],"names":["Inject","TUI_IS_MOBILE","Observable","TUI_MODE","Input","HostBinding","Component","ChangeDetectionStrategy","MODE_PROVIDER","NgModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CA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V/BC,cAAS,CAAC;gBACP,QAAQ,EAAE,aAAa;gBACvB,QAAQ,EAAE,2BAA2B;gBAErC,eAAe,EAAEC,4BAAuB,CAAC,MAAM;gBAC/C,SAAS,EAAE,CAACC,uBAAa,CAAC;gBAC1B,IAAI,EAAE;oBACF,oBAAoB,EAAE,OAAO;iBAChC;;aACJ,CAAC;YAyBO,WAAAR,WAAM,CAACC,iBAAa,CAAC,CAAA;YACrB,WAAAD,WAAM,CAACG,eAAQ,CAAC,CAAA;WAzBZ,mBAAmB,CA0D/B;QAAD,0BAAC;KA1DD;;;QChBA;SAAgC;QAAnB,gBAAgB;YAJ5BM,aAAQ,CAAC;gBACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;aACjC,CAAC;WACW,gBAAgB,CAAG;QAAD,uBAAC;KAAhC;;;;;;;;;;;;;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/core/providers"),require("@taiga-ui/core/tokens"),require("rxjs")):"function"==typeof define&&define.amd?define("@taiga-ui/core/components/wrapper",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core/providers","@taiga-ui/core/tokens","rxjs"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].core=e["taiga-ui"].core||{},e["taiga-ui"].core.components=e["taiga-ui"].core.components||{},e["taiga-ui"].core.components.wrapper={}),e.ng.core,e.cdk,e["taiga-ui"].core.providers,e["taiga-ui"].core.tokens,e.rxjs)}(this,(function(e,t,o,i,r,n){"use strict";
|
|
2
|
-
/*! *****************************************************************************
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted.
|
|
7
|
-
|
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */function a(e,t,o,i){var r,n=arguments.length,a=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(n<3?r(a):n>3?r(t,o,a):r(t,o))||a);return n>3&&a&&Object.defineProperty(t,o,a),a}function s(e,t){return function(o,i){t(o,i,e)}}var d=function(){function e(e,t){this.isMobile=e,this.mode$=t,this.disabled=!1,this.readOnly=!1,this.hovered=!1,this.pressed=!1,this.focused=!1,this.invalid=!1,this.appearance=""}return Object.defineProperty(e.prototype,"computedInvalid",{get:function(){return!this.disabled&&!this.readOnly&&this.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedFocused",{get:function(){return this.focused&&!this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"interactiveState",{get:function(){return this.disabled?"disabled":this.readOnly?"readonly":this.pressed&&!this.isMobile?"pressed":this.hovered&&!this.isMobile?"hovered":null},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Boolean,decorators:[{type:t.Inject,args:[o.TUI_IS_MOBILE]}]},{type:n.Observable,decorators:[{type:t.Inject,args:[r.TUI_MODE]}]}]},a([t.Input()],e.prototype,"disabled",void 0),a([t.Input()],e.prototype,"readOnly",void 0),a([t.Input()],e.prototype,"hovered",void 0),a([t.Input()],e.prototype,"pressed",void 0),a([t.Input()],e.prototype,"focused",void 0),a([t.Input()],e.prototype,"invalid",void 0),a([t.Input(),t.HostBinding("attr.data-appearance")],e.prototype,"appearance",void 0),a([t.HostBinding("class._invalid")],e.prototype,"computedInvalid",null),a([t.HostBinding("class._focused")],e.prototype,"computedFocused",null),a([t.HostBinding("attr.data-state")],e.prototype,"interactiveState",null),e=a([t.Component({selector:"tui-wrapper",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[i.MODE_PROVIDER],host:{"($.data-mode.attr)":"mode$"},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}"]}),s(0,t.Inject(o.TUI_IS_MOBILE)),s(1,t.Inject(r.TUI_MODE))],e)}(),u=function(){function e(){}return e=a([t.NgModule({declarations:[d],exports:[d]})],e)}();e.TuiWrapperComponent=d,e.TuiWrapperModule=u,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
16
|
-
//# sourceMappingURL=taiga-ui-core-components-wrapper.umd.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/components/wrapper/wrapper.component.ts","ng://@taiga-ui/core/components/wrapper/wrapper.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","TuiWrapperComponent","isMobile","mode$","this","disabled","readOnly","hovered","pressed","focused","invalid","appearance","prototype","Inject","args","TUI_IS_MOBILE","Observable","type","TUI_MODE","Input","HostBinding","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","MODE_PROVIDER","host","($.data-mode.attr)","TuiWrapperModule","NgModule","declarations","exports"],"mappings":";;;;;;;;;;;;;;oFAoDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAGzD,SAASO,EAAQC,EAAYC,GAChC,OAAO,SAAUhB,EAAQC,GAAOe,EAAUhB,EAAQC,EAAKc,qBCbvD,SAAAE,EAC4CC,EACbC,GADaC,KAAAF,SAAAA,EACbE,KAAAD,MAAAA,EAvB/BC,KAAAC,UAAW,EAGXD,KAAAE,UAAW,EAGXF,KAAAG,SAAU,EAGVH,KAAAI,SAAU,EAGVJ,KAAAK,SAAU,EAGVL,KAAAM,SAAU,EAIVN,KAAAO,WAAa,GAqCjB,OA7BInB,OAAAK,eAAII,EAAAW,UAAA,kBAAe,KAAnB,WACI,OAAQR,KAAKC,WAAaD,KAAKE,UAAYF,KAAKM,yCAIpDlB,OAAAK,eAAII,EAAAW,UAAA,kBAAe,KAAnB,WACI,OAAOR,KAAKK,UAAYL,KAAKC,0CAIjCb,OAAAK,eAAII,EAAAW,UAAA,mBAAgB,KAApB,WACI,OAAIR,KAAKC,SACL,WAGAD,KAAKE,SACL,WAGAF,KAAKI,UAAYJ,KAAKF,SACtB,UAGAE,KAAKG,UAAYH,KAAKF,SACtB,UAGG,yGAhCNW,EAAAA,OAAMC,KAAA,CAACC,EAAAA,wBAC0BC,EAAAA,WAAUjC,WAAA,CAAA,CAAAkC,KAA3CJ,EAAAA,OAAMC,KAAA,CAACI,EAAAA,eAvBZpC,EAAA,CADCqC,EAAAA,wCAIDrC,EAAA,CADCqC,EAAAA,wCAIDrC,EAAA,CADCqC,EAAAA,uCAIDrC,EAAA,CADCqC,EAAAA,uCAIDrC,EAAA,CADCqC,EAAAA,uCAIDrC,EAAA,CADCqC,EAAAA,uCAKDrC,EAAA,CAFCqC,EAAAA,QACAC,EAAAA,YAAY,0DASbtC,EAAA,CADCsC,EAAAA,YAAY,uDAMbtC,EAAA,CADCsC,EAAAA,YAAY,uDAMbtC,EAAA,CADCsC,EAAAA,YAAY,yDAtCJnB,EAAmBnB,EAAA,CAV/BuC,EAAAA,UAAU,CACPC,SAAU,cACVC,SAAU,4BAEVC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAW,CAACC,EAAAA,eACZC,KAAM,CACFC,qBAAsB,qmBA2BrBhC,EAAA,EAAAe,EAAAA,OAAOE,EAAAA,gBACPjB,EAAA,EAAAe,EAAAA,OAAOK,EAAAA,YAzBHjB,mBChBb,SAAA8B,KAA+B,OAAlBA,EAAgBjD,EAAA,CAJ5BkD,EAAAA,SAAS,CACNC,aAAc,CAAChC,GACfiC,QAAS,CAACjC,MAED8B","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n 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) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n 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; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n 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);\r\n 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); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","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"]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"main": "../../bundles/taiga-ui-core-components-wrapper.umd.js",
|
|
3
|
-
"module": "../../fesm5/taiga-ui-core-components-wrapper.js",
|
|
4
|
-
"es2015": "../../fesm2015/taiga-ui-core-components-wrapper.js",
|
|
5
|
-
"esm5": "../../esm5/components/wrapper/taiga-ui-core-components-wrapper.js",
|
|
6
|
-
"esm2015": "../../esm2015/components/wrapper/taiga-ui-core-components-wrapper.js",
|
|
7
|
-
"fesm5": "../../fesm5/taiga-ui-core-components-wrapper.js",
|
|
8
|
-
"fesm2015": "../../fesm2015/taiga-ui-core-components-wrapper.js",
|
|
9
|
-
"typings": "taiga-ui-core-components-wrapper.d.ts",
|
|
10
|
-
"metadata": "taiga-ui-core-components-wrapper.metadata.json",
|
|
11
|
-
"sideEffects": false,
|
|
12
|
-
"name": "@taiga-ui/core/components/wrapper"
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"TuiWrapperComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"tui-wrapper","template":"<ng-content></ng-content>","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":18,"character":21},"member":"OnPush"},"providers":[{"__symbolic":"reference","module":"@taiga-ui/core/providers","name":"MODE_PROVIDER","line":19,"character":16}],"host":{"($.data-mode.attr)":"mode$","$quoted$":["($.data-mode.attr)"]},"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}"]}]}],"members":{"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":5}}]}],"hovered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":5}}]}],"pressed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":5}}]}],"focused":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":5}}]}],"invalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}}]}],"appearance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":44,"character":5},"arguments":["attr.data-appearance"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":48,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_IS_MOBILE","line":48,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":49,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/core/tokens","name":"TUI_MODE","line":49,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"boolean"},{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","module":"@taiga-ui/core/types","name":"TuiBrightness","line":49,"character":53}]}]}],"computedInvalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":52,"character":5},"arguments":["class._invalid"]}]}],"computedFocused":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":57,"character":5},"arguments":["class._focused"]}]}],"interactiveState":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":62,"character":5},"arguments":["attr.data-state"]}]}]}},"TuiWrapperModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiWrapperComponent"}],"exports":[{"__symbolic":"reference","name":"TuiWrapperComponent"}]}]}],"members":{}}},"origins":{"TuiWrapperComponent":"./wrapper.component","TuiWrapperModule":"./wrapper.module"},"importAs":"@taiga-ui/core/components/wrapper"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, HostBinding, Inject, Input, } 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
|
-
let TuiWrapperComponent = class TuiWrapperComponent {
|
|
8
|
-
constructor(isMobile, mode$) {
|
|
9
|
-
this.isMobile = isMobile;
|
|
10
|
-
this.mode$ = mode$;
|
|
11
|
-
this.disabled = false;
|
|
12
|
-
this.readOnly = false;
|
|
13
|
-
this.hovered = false;
|
|
14
|
-
this.pressed = false;
|
|
15
|
-
this.focused = false;
|
|
16
|
-
this.invalid = false;
|
|
17
|
-
this.appearance = '';
|
|
18
|
-
}
|
|
19
|
-
get computedInvalid() {
|
|
20
|
-
return !this.disabled && !this.readOnly && this.invalid;
|
|
21
|
-
}
|
|
22
|
-
get computedFocused() {
|
|
23
|
-
return this.focused && !this.disabled;
|
|
24
|
-
}
|
|
25
|
-
get interactiveState() {
|
|
26
|
-
if (this.disabled) {
|
|
27
|
-
return "disabled" /* Disabled */;
|
|
28
|
-
}
|
|
29
|
-
if (this.readOnly) {
|
|
30
|
-
return "readonly" /* Readonly */;
|
|
31
|
-
}
|
|
32
|
-
if (this.pressed && !this.isMobile) {
|
|
33
|
-
return "pressed" /* Pressed */;
|
|
34
|
-
}
|
|
35
|
-
if (this.hovered && !this.isMobile) {
|
|
36
|
-
return "hovered" /* Hovered */;
|
|
37
|
-
}
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
TuiWrapperComponent.ctorParameters = () => [
|
|
42
|
-
{ type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_MOBILE,] }] },
|
|
43
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TUI_MODE,] }] }
|
|
44
|
-
];
|
|
45
|
-
__decorate([
|
|
46
|
-
Input()
|
|
47
|
-
], TuiWrapperComponent.prototype, "disabled", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
Input()
|
|
50
|
-
], TuiWrapperComponent.prototype, "readOnly", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
Input()
|
|
53
|
-
], TuiWrapperComponent.prototype, "hovered", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
Input()
|
|
56
|
-
], TuiWrapperComponent.prototype, "pressed", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
Input()
|
|
59
|
-
], TuiWrapperComponent.prototype, "focused", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
Input()
|
|
62
|
-
], TuiWrapperComponent.prototype, "invalid", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
Input(),
|
|
65
|
-
HostBinding('attr.data-appearance')
|
|
66
|
-
], TuiWrapperComponent.prototype, "appearance", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
HostBinding('class._invalid')
|
|
69
|
-
], TuiWrapperComponent.prototype, "computedInvalid", null);
|
|
70
|
-
__decorate([
|
|
71
|
-
HostBinding('class._focused')
|
|
72
|
-
], TuiWrapperComponent.prototype, "computedFocused", null);
|
|
73
|
-
__decorate([
|
|
74
|
-
HostBinding('attr.data-state')
|
|
75
|
-
], TuiWrapperComponent.prototype, "interactiveState", null);
|
|
76
|
-
TuiWrapperComponent = __decorate([
|
|
77
|
-
Component({
|
|
78
|
-
selector: 'tui-wrapper',
|
|
79
|
-
template: '<ng-content></ng-content>',
|
|
80
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
81
|
-
providers: [MODE_PROVIDER],
|
|
82
|
-
host: {
|
|
83
|
-
'($.data-mode.attr)': 'mode$',
|
|
84
|
-
},
|
|
85
|
-
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}"]
|
|
86
|
-
}),
|
|
87
|
-
__param(0, Inject(TUI_IS_MOBILE)),
|
|
88
|
-
__param(1, Inject(TUI_MODE))
|
|
89
|
-
], TuiWrapperComponent);
|
|
90
|
-
export { TuiWrapperComponent };
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JhcHBlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9jb21wb25lbnRzL3dyYXBwZXIvIiwic291cmNlcyI6WyJ3cmFwcGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsV0FBVyxFQUNYLE1BQU0sRUFDTixLQUFLLEdBQ1IsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUU1QyxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDdkQsT0FBTyxFQUFDLFFBQVEs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XZlU3RhdGUuRGlzYWJsZWQ7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy5yZWFkT25seSkge1xuICAgICAgICAgICAgcmV0dXJuIFR1aUludGVyYWN0aXZlU3RhdGUuUmVhZG9ubHk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy5wcmVzc2VkICYmICF0aGlzLmlzTW9iaWxlKSB7XG4gICAgICAgICAgICByZXR1cm4gVHVpSW50ZXJhY3RpdmVTdGF0ZS5QcmVzc2VkO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRoaXMuaG92ZXJlZCAmJiAhdGhpcy5pc01vYmlsZSkge1xuICAgICAgICAgICAgcmV0dXJuIFR1aUludGVyYWN0aXZlU3RhdGUuSG92ZXJlZDtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, HostBinding, Inject, Input, } 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
|
-
var TuiWrapperComponent = /** @class */ (function () {
|
|
8
|
-
function TuiWrapperComponent(isMobile, mode$) {
|
|
9
|
-
this.isMobile = isMobile;
|
|
10
|
-
this.mode$ = mode$;
|
|
11
|
-
this.disabled = false;
|
|
12
|
-
this.readOnly = false;
|
|
13
|
-
this.hovered = false;
|
|
14
|
-
this.pressed = false;
|
|
15
|
-
this.focused = false;
|
|
16
|
-
this.invalid = false;
|
|
17
|
-
this.appearance = '';
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(TuiWrapperComponent.prototype, "computedInvalid", {
|
|
20
|
-
get: function () {
|
|
21
|
-
return !this.disabled && !this.readOnly && this.invalid;
|
|
22
|
-
},
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(TuiWrapperComponent.prototype, "computedFocused", {
|
|
27
|
-
get: function () {
|
|
28
|
-
return this.focused && !this.disabled;
|
|
29
|
-
},
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(TuiWrapperComponent.prototype, "interactiveState", {
|
|
34
|
-
get: function () {
|
|
35
|
-
if (this.disabled) {
|
|
36
|
-
return "disabled" /* Disabled */;
|
|
37
|
-
}
|
|
38
|
-
if (this.readOnly) {
|
|
39
|
-
return "readonly" /* Readonly */;
|
|
40
|
-
}
|
|
41
|
-
if (this.pressed && !this.isMobile) {
|
|
42
|
-
return "pressed" /* Pressed */;
|
|
43
|
-
}
|
|
44
|
-
if (this.hovered && !this.isMobile) {
|
|
45
|
-
return "hovered" /* Hovered */;
|
|
46
|
-
}
|
|
47
|
-
return null;
|
|
48
|
-
},
|
|
49
|
-
enumerable: true,
|
|
50
|
-
configurable: true
|
|
51
|
-
});
|
|
52
|
-
TuiWrapperComponent.ctorParameters = function () { return [
|
|
53
|
-
{ type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_MOBILE,] }] },
|
|
54
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TUI_MODE,] }] }
|
|
55
|
-
]; };
|
|
56
|
-
__decorate([
|
|
57
|
-
Input()
|
|
58
|
-
], TuiWrapperComponent.prototype, "disabled", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
Input()
|
|
61
|
-
], TuiWrapperComponent.prototype, "readOnly", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
Input()
|
|
64
|
-
], TuiWrapperComponent.prototype, "hovered", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
Input()
|
|
67
|
-
], TuiWrapperComponent.prototype, "pressed", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
Input()
|
|
70
|
-
], TuiWrapperComponent.prototype, "focused", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
Input()
|
|
73
|
-
], TuiWrapperComponent.prototype, "invalid", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
Input(),
|
|
76
|
-
HostBinding('attr.data-appearance')
|
|
77
|
-
], TuiWrapperComponent.prototype, "appearance", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
HostBinding('class._invalid')
|
|
80
|
-
], TuiWrapperComponent.prototype, "computedInvalid", null);
|
|
81
|
-
__decorate([
|
|
82
|
-
HostBinding('class._focused')
|
|
83
|
-
], TuiWrapperComponent.prototype, "computedFocused", null);
|
|
84
|
-
__decorate([
|
|
85
|
-
HostBinding('attr.data-state')
|
|
86
|
-
], TuiWrapperComponent.prototype, "interactiveState", null);
|
|
87
|
-
TuiWrapperComponent = __decorate([
|
|
88
|
-
Component({
|
|
89
|
-
selector: 'tui-wrapper',
|
|
90
|
-
template: '<ng-content></ng-content>',
|
|
91
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
92
|
-
providers: [MODE_PROVIDER],
|
|
93
|
-
host: {
|
|
94
|
-
'($.data-mode.attr)': 'mode$',
|
|
95
|
-
},
|
|
96
|
-
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}"]
|
|
97
|
-
}),
|
|
98
|
-
__param(0, Inject(TUI_IS_MOBILE)),
|
|
99
|
-
__param(1, Inject(TUI_MODE))
|
|
100
|
-
], TuiWrapperComponent);
|
|
101
|
-
return TuiWrapperComponent;
|
|
102
|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