@taiga-ui/experimental 3.57.0 → 3.59.0-canary.10da730
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/components/avatar/avatar.component.d.ts +2 -2
- package/components/avatar/avatar.options.d.ts +2 -1
- package/components/avatar-stack/avatar-stack.component.d.ts +1 -1
- package/components/badge/badge.component.d.ts +1 -1
- package/components/badge/badge.directive.d.ts +3 -2
- package/components/badge/badge.module.d.ts +1 -2
- package/components/badge/badge.options.d.ts +2 -2
- package/components/badge-notification/badge-notification.component.d.ts +1 -1
- package/components/badged-content/badged-content.component.d.ts +1 -1
- package/components/badged-content/badged-content.directive.d.ts +1 -1
- package/components/button/button.component.d.ts +1 -1
- package/components/button/button.directive.d.ts +4 -3
- package/components/button/button.module.d.ts +1 -2
- package/components/button/button.options.d.ts +2 -2
- package/components/checkbox/checkbox.component.d.ts +12 -12
- package/components/checkbox/checkbox.options.d.ts +4 -3
- package/components/chip/chip.component.d.ts +1 -1
- package/components/chip/chip.directive.d.ts +5 -3
- package/components/chip/chip.module.d.ts +1 -2
- package/components/chip/chip.options.d.ts +2 -2
- package/components/compass/compass.component.d.ts +1 -1
- package/components/icon/icon.component.d.ts +1 -1
- package/components/pin/pin.component.d.ts +1 -1
- package/components/radio/index.d.ts +1 -0
- package/components/radio/radio.component.d.ts +11 -5
- package/components/radio/radio.options.d.ts +10 -0
- package/components/rating/rating.component.d.ts +1 -1
- package/components/thumbnail-card/thumbnail-card.component.d.ts +1 -1
- package/components/toggle/toggle.component.d.ts +12 -8
- package/components/toggle/toggle.options.d.ts +3 -2
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/components/tooltip/tooltip.module.d.ts +3 -4
- package/directives/appearance/appearance.directive.d.ts +1 -1
- package/directives/appearance/appearance.options.d.ts +7 -0
- package/directives/appearance/index.d.ts +1 -1
- package/directives/button-close/button-close.directive.d.ts +1 -1
- package/directives/button-vertical/button-vertical.component.d.ts +1 -1
- package/directives/button-vertical/button-vertical.directive.d.ts +1 -1
- package/directives/card/card.component.d.ts +1 -1
- package/directives/card/card.directive.d.ts +1 -1
- package/directives/cell/cell.component.d.ts +1 -1
- package/directives/cell/cell.directive.d.ts +1 -1
- package/directives/fade/fade.component.d.ts +1 -1
- package/directives/fade/fade.directive.d.ts +1 -1
- package/directives/icons/icons.component.d.ts +1 -1
- package/directives/icons/icons.directive.d.ts +1 -1
- package/directives/icons/index.d.ts +0 -1
- package/directives/progress-segmented/progress-segmented.component.d.ts +1 -1
- package/directives/progress-segmented/progress-segmented.directive.d.ts +1 -1
- package/directives/sensitive/sensitive.component.d.ts +1 -1
- package/directives/sensitive/sensitive.directive.d.ts +1 -1
- package/directives/surface/surface.component.d.ts +1 -1
- package/directives/surface/surface.directive.d.ts +1 -1
- package/directives/title/title.component.d.ts +1 -1
- package/directives/title/title.directive.d.ts +1 -1
- package/esm2020/components/avatar/avatar.component.mjs +66 -0
- package/{esm2015/components/avatar/avatar.module.js → esm2020/components/avatar/avatar.module.mjs} +5 -5
- package/esm2020/components/avatar/avatar.options.mjs +11 -0
- package/{esm2015/components/avatar-stack/avatar-stack.component.js → esm2020/components/avatar-stack/avatar-stack.component.mjs} +5 -11
- package/{esm2015/components/avatar-stack/avatar-stack.module.js → esm2020/components/avatar-stack/avatar-stack.module.mjs} +5 -5
- package/esm2020/components/badge/badge.component.mjs +13 -0
- package/esm2020/components/badge/badge.directive.mjs +57 -0
- package/esm2020/components/badge/badge.module.mjs +17 -0
- package/esm2020/components/badge/badge.options.mjs +11 -0
- package/{esm2015/components/badge-notification/badge-notification.component.js → esm2020/components/badge-notification/badge-notification.component.mjs} +6 -13
- package/{esm2015/components/badge-notification/badge-notification.module.js → esm2020/components/badge-notification/badge-notification.module.mjs} +4 -4
- package/esm2020/components/badged-content/badged-content.component.mjs +12 -0
- package/{esm2015/components/badged-content/badged-content.directive.js → esm2020/components/badged-content/badged-content.directive.mjs} +3 -3
- package/{esm2015/components/badged-content/badged-content.module.js → esm2020/components/badged-content/badged-content.module.mjs} +5 -5
- package/{esm2015/components/button/button.component.js → esm2020/components/button/button.component.mjs} +6 -11
- package/esm2020/components/button/button.directive.mjs +69 -0
- package/esm2020/components/button/button.module.mjs +20 -0
- package/{esm2015/components/button/button.options.js → esm2020/components/button/button.options.mjs} +2 -2
- package/esm2020/components/checkbox/checkbox.component.mjs +64 -0
- package/{esm2015/components/checkbox/checkbox.module.js → esm2020/components/checkbox/checkbox.module.mjs} +4 -4
- package/esm2020/components/checkbox/checkbox.options.mjs +14 -0
- package/esm2020/components/chip/chip.component.mjs +13 -0
- package/esm2020/components/chip/chip.directive.mjs +72 -0
- package/esm2020/components/chip/chip.module.mjs +17 -0
- package/{esm2015/components/chip/chip.options.js → esm2020/components/chip/chip.options.mjs} +2 -2
- package/{esm2015/components/compass/compass.component.js → esm2020/components/compass/compass.component.mjs} +5 -10
- package/{esm2015/components/compass/compass.module.js → esm2020/components/compass/compass.module.mjs} +4 -4
- package/{esm2015/components/icon/icon.component.js → esm2020/components/icon/icon.component.mjs} +6 -12
- package/{esm2015/components/icon/icon.module.js → esm2020/components/icon/icon.module.mjs} +4 -4
- package/esm2020/components/pin/pin.component.mjs +19 -0
- package/{esm2015/components/pin/pin.module.js → esm2020/components/pin/pin.module.mjs} +4 -4
- package/{esm2015/components/radio/index.js → esm2020/components/radio/index.mjs} +2 -1
- package/esm2020/components/radio/radio.component.mjs +43 -0
- package/{esm2015/components/radio/radio.module.js → esm2020/components/radio/radio.module.mjs} +4 -4
- package/esm2020/components/radio/radio.options.mjs +10 -0
- package/esm2020/components/rating/rating.component.mjs +93 -0
- package/{esm2015/components/rating/rating.module.js → esm2020/components/rating/rating.module.mjs} +9 -11
- package/esm2020/components/thumbnail-card/thumbnail-card.component.mjs +51 -0
- package/{esm2015/components/thumbnail-card/thumbnail-card.module.js → esm2020/components/thumbnail-card/thumbnail-card.module.mjs} +5 -5
- package/esm2020/components/toggle/toggle.component.mjs +57 -0
- package/{esm2015/components/toggle/toggle.module.js → esm2020/components/toggle/toggle.module.mjs} +4 -4
- package/esm2020/components/toggle/toggle.options.mjs +12 -0
- package/esm2020/components/tooltip/tooltip.component.mjs +79 -0
- package/{esm2015/components/tooltip/tooltip.module.js → esm2020/components/tooltip/tooltip.module.mjs} +11 -17
- package/esm2020/directives/appearance/appearance.directive.mjs +32 -0
- package/esm2020/directives/appearance/appearance.options.mjs +9 -0
- package/{esm2015/directives/appearance/index.js → esm2020/directives/appearance/index.mjs} +2 -2
- package/{esm2015/directives/button-close/button-close.directive.js → esm2020/directives/button-close/button-close.directive.mjs} +3 -3
- package/{esm2015/directives/button-close/button-close.module.js → esm2020/directives/button-close/button-close.module.mjs} +4 -4
- package/esm2020/directives/button-vertical/button-vertical.component.mjs +13 -0
- package/{esm2015/directives/button-vertical/button-vertical.directive.js → esm2020/directives/button-vertical/button-vertical.directive.mjs} +3 -3
- package/{esm2015/directives/button-vertical/button-vertical.module.js → esm2020/directives/button-vertical/button-vertical.module.mjs} +4 -4
- package/esm2020/directives/card/card.component.mjs +13 -0
- package/{esm2015/directives/card/card.directive.js → esm2020/directives/card/card.directive.mjs} +3 -3
- package/{esm2015/directives/card/card.module.js → esm2020/directives/card/card.module.mjs} +4 -4
- package/esm2020/directives/cell/cell.component.mjs +13 -0
- package/{esm2015/directives/cell/cell.directive.js → esm2020/directives/cell/cell.directive.mjs} +3 -3
- package/{esm2015/directives/cell/cell.module.js → esm2020/directives/cell/cell.module.mjs} +4 -4
- package/{esm2015/directives/fade/fade.component.js → esm2020/directives/fade/fade.component.mjs} +6 -12
- package/esm2020/directives/fade/fade.directive.mjs +103 -0
- package/{esm2015/directives/fade/fade.module.js → esm2020/directives/fade/fade.module.mjs} +4 -4
- package/esm2020/directives/icons/icons.component.mjs +13 -0
- package/esm2020/directives/icons/icons.directive.mjs +41 -0
- package/{esm2015/directives/icons/index.js → esm2020/directives/icons/index.mjs} +1 -2
- package/{esm2015/directives/progress-segmented/progress-segmented.component.js → esm2020/directives/progress-segmented/progress-segmented.component.mjs} +5 -11
- package/{esm2015/directives/progress-segmented/progress-segmented.directive.js → esm2020/directives/progress-segmented/progress-segmented.directive.mjs} +3 -3
- package/{esm2015/directives/progress-segmented/progress-segmented.module.js → esm2020/directives/progress-segmented/progress-segmented.module.mjs} +4 -4
- package/{esm2015/directives/sensitive/sensitive.component.js → esm2020/directives/sensitive/sensitive.component.mjs} +6 -12
- package/{esm2015/directives/sensitive/sensitive.directive.js → esm2020/directives/sensitive/sensitive.directive.mjs} +3 -3
- package/{esm2015/directives/sensitive/sensitive.module.js → esm2020/directives/sensitive/sensitive.module.mjs} +4 -4
- package/esm2020/directives/surface/surface.component.mjs +13 -0
- package/{esm2015/directives/surface/surface.directive.js → esm2020/directives/surface/surface.directive.mjs} +3 -3
- package/{esm2015/directives/surface/surface.module.js → esm2020/directives/surface/surface.module.mjs} +4 -4
- package/esm2020/directives/title/title.component.mjs +13 -0
- package/{esm2015/directives/title/title.directive.js → esm2020/directives/title/title.directive.mjs} +3 -3
- package/{esm2015/directives/title/title.module.js → esm2020/directives/title/title.module.mjs} +4 -4
- package/{esm2015/pipes/amount/amount.module.js → esm2020/pipes/amount/amount.module.mjs} +4 -4
- package/esm2020/pipes/amount/amount.pipe.mjs +51 -0
- package/{esm2015/pipes/auto-color/auto-color.module.js → esm2020/pipes/auto-color/auto-color.module.mjs} +4 -4
- package/{esm2015/pipes/auto-color/auto-color.pipe.js → esm2020/pipes/auto-color/auto-color.pipe.mjs} +3 -3
- package/{esm2015/pipes/fallback-src/fallback-src.module.js → esm2020/pipes/fallback-src/fallback-src.module.mjs} +4 -4
- package/esm2020/pipes/fallback-src/fallback-src.pipe.mjs +24 -0
- package/{esm2015/pipes/initials/initials.module.js → esm2020/pipes/initials/initials.module.mjs} +4 -4
- package/{esm2015/pipes/initials/initials.pipe.js → esm2020/pipes/initials/initials.pipe.mjs} +3 -3
- package/fesm2015/{taiga-ui-experimental-components-avatar-stack.js → taiga-ui-experimental-components-avatar-stack.mjs} +9 -15
- package/fesm2015/taiga-ui-experimental-components-avatar-stack.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.mjs +101 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-badge-notification.mjs +46 -0
- package/fesm2015/taiga-ui-experimental-components-badge-notification.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-badge.mjs +98 -0
- package/fesm2015/taiga-ui-experimental-components-badge.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components-badged-content.js → taiga-ui-experimental-components-badged-content.mjs} +12 -17
- package/fesm2015/taiga-ui-experimental-components-badged-content.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-button.mjs +142 -0
- package/fesm2015/taiga-ui-experimental-components-button.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-checkbox.mjs +97 -0
- package/fesm2015/taiga-ui-experimental-components-checkbox.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-chip.mjs +112 -0
- package/fesm2015/taiga-ui-experimental-components-chip.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components-compass.js → taiga-ui-experimental-components-compass.mjs} +9 -14
- package/fesm2015/taiga-ui-experimental-components-compass.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-icon.mjs +51 -0
- package/fesm2015/taiga-ui-experimental-components-icon.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-pin.mjs +39 -0
- package/fesm2015/taiga-ui-experimental-components-pin.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-radio.mjs +71 -0
- package/fesm2015/taiga-ui-experimental-components-radio.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-rating.mjs +142 -0
- package/fesm2015/taiga-ui-experimental-components-rating.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.mjs +76 -0
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-toggle.mjs +87 -0
- package/fesm2015/taiga-ui-experimental-components-toggle.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-tooltip.mjs +128 -0
- package/fesm2015/taiga-ui-experimental-components-tooltip.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components.js → taiga-ui-experimental-components.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-components.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-appearance.mjs +47 -0
- package/fesm2015/taiga-ui-experimental-directives-appearance.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-button-close.mjs +58 -0
- package/fesm2015/taiga-ui-experimental-directives-button-close.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.mjs +54 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-card.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-card.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-cell.mjs +70 -0
- package/fesm2015/taiga-ui-experimental-directives-cell.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-fade.mjs +135 -0
- package/fesm2015/taiga-ui-experimental-directives-fade.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-icons.mjs +60 -0
- package/fesm2015/taiga-ui-experimental-directives-icons.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.mjs +64 -0
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-sensitive.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-sensitive.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-surface.mjs +61 -0
- package/fesm2015/taiga-ui-experimental-directives-surface.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-title.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-title.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-directives.js → taiga-ui-experimental-directives.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-directives.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-amount.js → taiga-ui-experimental-pipes-amount.mjs} +18 -16
- package/fesm2015/taiga-ui-experimental-pipes-amount.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-auto-color.js → taiga-ui-experimental-pipes-auto-color.mjs} +8 -8
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.mjs +46 -0
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-initials.js → taiga-ui-experimental-pipes-initials.mjs} +8 -8
- package/fesm2015/taiga-ui-experimental-pipes-initials.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes.js → taiga-ui-experimental-pipes.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-pipes.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-tokens.js → taiga-ui-experimental-tokens.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-tokens.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental.js → taiga-ui-experimental.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-avatar-stack.mjs +41 -0
- package/fesm2020/taiga-ui-experimental-components-avatar-stack.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-avatar.mjs +99 -0
- package/fesm2020/taiga-ui-experimental-components-avatar.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-badge-notification.js → fesm2020/taiga-ui-experimental-components-badge-notification.mjs} +10 -17
- package/fesm2020/taiga-ui-experimental-components-badge-notification.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-badge.mjs +96 -0
- package/fesm2020/taiga-ui-experimental-components-badge.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-badged-content.mjs +51 -0
- package/fesm2020/taiga-ui-experimental-components-badged-content.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-button.mjs +138 -0
- package/fesm2020/taiga-ui-experimental-components-button.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-checkbox.mjs +96 -0
- package/fesm2020/taiga-ui-experimental-components-checkbox.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-chip.mjs +110 -0
- package/fesm2020/taiga-ui-experimental-components-chip.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-compass.mjs +39 -0
- package/fesm2020/taiga-ui-experimental-components-compass.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-icon.js → fesm2020/taiga-ui-experimental-components-icon.mjs} +10 -16
- package/fesm2020/taiga-ui-experimental-components-icon.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-pin.mjs +39 -0
- package/fesm2020/taiga-ui-experimental-components-pin.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-radio.mjs +71 -0
- package/fesm2020/taiga-ui-experimental-components-radio.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-rating.js → fesm2020/taiga-ui-experimental-components-rating.mjs} +19 -27
- package/fesm2020/taiga-ui-experimental-components-rating.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-thumbnail-card.js → fesm2020/taiga-ui-experimental-components-thumbnail-card.mjs} +12 -17
- package/fesm2020/taiga-ui-experimental-components-thumbnail-card.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-toggle.mjs +87 -0
- package/fesm2020/taiga-ui-experimental-components-toggle.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-tooltip.js → fesm2020/taiga-ui-experimental-components-tooltip.mjs} +25 -39
- package/fesm2020/taiga-ui-experimental-components-tooltip.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components.mjs +21 -0
- package/fesm2020/taiga-ui-experimental-components.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-appearance.mjs +47 -0
- package/fesm2020/taiga-ui-experimental-directives-appearance.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-button-close.js → fesm2020/taiga-ui-experimental-directives-button-close.mjs} +8 -8
- package/fesm2020/taiga-ui-experimental-directives-button-close.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-button-vertical.js → fesm2020/taiga-ui-experimental-directives-button-vertical.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-button-vertical.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-card.js → fesm2020/taiga-ui-experimental-directives-card.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-card.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-cell.mjs +68 -0
- package/fesm2020/taiga-ui-experimental-directives-cell.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-fade.js → fesm2020/taiga-ui-experimental-directives-fade.mjs} +14 -21
- package/fesm2020/taiga-ui-experimental-directives-fade.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-icons.mjs +58 -0
- package/fesm2020/taiga-ui-experimental-directives-icons.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-progress-segmented.js → fesm2020/taiga-ui-experimental-directives-progress-segmented.mjs} +12 -18
- package/fesm2020/taiga-ui-experimental-directives-progress-segmented.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-sensitive.js → fesm2020/taiga-ui-experimental-directives-sensitive.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-sensitive.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-surface.mjs +59 -0
- package/fesm2020/taiga-ui-experimental-directives-surface.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-title.js → fesm2020/taiga-ui-experimental-directives-title.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-title.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives.mjs +16 -0
- package/fesm2020/taiga-ui-experimental-directives.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-amount.mjs +80 -0
- package/fesm2020/taiga-ui-experimental-pipes-amount.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-auto-color.mjs +37 -0
- package/fesm2020/taiga-ui-experimental-pipes-auto-color.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-pipes-fallback-src.js → fesm2020/taiga-ui-experimental-pipes-fallback-src.mjs} +9 -10
- package/fesm2020/taiga-ui-experimental-pipes-fallback-src.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-initials.mjs +41 -0
- package/fesm2020/taiga-ui-experimental-pipes-initials.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes.mjs +9 -0
- package/fesm2020/taiga-ui-experimental-pipes.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-tokens.mjs +22 -0
- package/fesm2020/taiga-ui-experimental-tokens.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental.mjs +9 -0
- package/fesm2020/taiga-ui-experimental.mjs.map +1 -0
- package/package.json +324 -31
- package/pipes/amount/amount.pipe.d.ts +1 -1
- package/pipes/auto-color/auto-color.pipe.d.ts +1 -1
- package/pipes/fallback-src/fallback-src.pipe.d.ts +1 -1
- package/pipes/initials/initials.pipe.d.ts +1 -1
- package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js +0 -78
- package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-avatar.umd.js +0 -138
- package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js +0 -84
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badge.umd.js +0 -129
- package/bundles/taiga-ui-experimental-components-badge.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js +0 -90
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-button.umd.js +0 -186
- package/bundles/taiga-ui-experimental-components-button.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js +0 -152
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-chip.umd.js +0 -140
- package/bundles/taiga-ui-experimental-components-chip.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-compass.umd.js +0 -76
- package/bundles/taiga-ui-experimental-components-compass.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-icon.umd.js +0 -88
- package/bundles/taiga-ui-experimental-components-icon.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-pin.umd.js +0 -76
- package/bundles/taiga-ui-experimental-components-pin.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-radio.umd.js +0 -89
- package/bundles/taiga-ui-experimental-components-radio.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-rating.umd.js +0 -507
- package/bundles/taiga-ui-experimental-components-rating.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js +0 -113
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-toggle.umd.js +0 -126
- package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-tooltip.umd.js +0 -496
- package/bundles/taiga-ui-experimental-components-tooltip.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components.umd.js +0 -111
- package/bundles/taiga-ui-experimental-components.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js +0 -82
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-button-close.umd.js +0 -88
- package/bundles/taiga-ui-experimental-directives-button-close.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js +0 -95
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-card.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-card.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-cell.umd.js +0 -110
- package/bundles/taiga-ui-experimental-directives-cell.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-fade.umd.js +0 -175
- package/bundles/taiga-ui-experimental-directives-fade.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-icons.umd.js +0 -113
- package/bundles/taiga-ui-experimental-directives-icons.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js +0 -105
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-surface.umd.js +0 -102
- package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-title.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-title.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives.umd.js +0 -81
- package/bundles/taiga-ui-experimental-directives.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js +0 -113
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js +0 -70
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js +0 -76
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js +0 -396
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes.umd.js +0 -39
- package/bundles/taiga-ui-experimental-pipes.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-tokens.umd.js +0 -31
- package/bundles/taiga-ui-experimental-tokens.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental.umd.js +0 -39
- package/bundles/taiga-ui-experimental.umd.js.map +0 -1
- package/components/avatar/package.json +0 -10
- package/components/avatar/taiga-ui-experimental-components-avatar.d.ts +0 -5
- package/components/avatar-stack/package.json +0 -10
- package/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.d.ts +0 -5
- package/components/badge/package.json +0 -10
- package/components/badge/taiga-ui-experimental-components-badge.d.ts +0 -5
- package/components/badge-notification/package.json +0 -10
- package/components/badge-notification/taiga-ui-experimental-components-badge-notification.d.ts +0 -5
- package/components/badged-content/package.json +0 -10
- package/components/badged-content/taiga-ui-experimental-components-badged-content.d.ts +0 -5
- package/components/button/package.json +0 -10
- package/components/button/taiga-ui-experimental-components-button.d.ts +0 -5
- package/components/checkbox/package.json +0 -10
- package/components/checkbox/taiga-ui-experimental-components-checkbox.d.ts +0 -5
- package/components/chip/package.json +0 -10
- package/components/chip/taiga-ui-experimental-components-chip.d.ts +0 -5
- package/components/compass/package.json +0 -10
- package/components/compass/taiga-ui-experimental-components-compass.d.ts +0 -5
- package/components/icon/package.json +0 -10
- package/components/icon/taiga-ui-experimental-components-icon.d.ts +0 -5
- package/components/package.json +0 -10
- package/components/pin/package.json +0 -10
- package/components/pin/taiga-ui-experimental-components-pin.d.ts +0 -5
- package/components/radio/package.json +0 -10
- package/components/radio/taiga-ui-experimental-components-radio.d.ts +0 -5
- package/components/rating/package.json +0 -10
- package/components/rating/taiga-ui-experimental-components-rating.d.ts +0 -5
- package/components/taiga-ui-experimental-components.d.ts +0 -5
- package/components/thumbnail-card/package.json +0 -10
- package/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.d.ts +0 -5
- package/components/toggle/package.json +0 -10
- package/components/toggle/taiga-ui-experimental-components-toggle.d.ts +0 -5
- package/components/tooltip/package.json +0 -10
- package/components/tooltip/taiga-ui-experimental-components-tooltip.d.ts +0 -5
- package/directives/appearance/appearance.module.d.ts +0 -7
- package/directives/appearance/package.json +0 -10
- package/directives/appearance/taiga-ui-experimental-directives-appearance.d.ts +0 -5
- package/directives/button-close/package.json +0 -10
- package/directives/button-close/taiga-ui-experimental-directives-button-close.d.ts +0 -5
- package/directives/button-vertical/package.json +0 -10
- package/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.d.ts +0 -5
- package/directives/card/package.json +0 -10
- package/directives/card/taiga-ui-experimental-directives-card.d.ts +0 -5
- package/directives/cell/package.json +0 -10
- package/directives/cell/taiga-ui-experimental-directives-cell.d.ts +0 -5
- package/directives/fade/package.json +0 -10
- package/directives/fade/taiga-ui-experimental-directives-fade.d.ts +0 -5
- package/directives/icons/icons.module.d.ts +0 -8
- package/directives/icons/package.json +0 -10
- package/directives/icons/taiga-ui-experimental-directives-icons.d.ts +0 -5
- package/directives/package.json +0 -10
- package/directives/progress-segmented/package.json +0 -10
- package/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.d.ts +0 -5
- package/directives/sensitive/package.json +0 -10
- package/directives/sensitive/taiga-ui-experimental-directives-sensitive.d.ts +0 -5
- package/directives/surface/package.json +0 -10
- package/directives/surface/taiga-ui-experimental-directives-surface.d.ts +0 -5
- package/directives/taiga-ui-experimental-directives.d.ts +0 -5
- package/directives/title/package.json +0 -10
- package/directives/title/taiga-ui-experimental-directives-title.d.ts +0 -5
- package/esm2015/components/avatar/avatar.component.js +0 -66
- package/esm2015/components/avatar/avatar.options.js +0 -10
- package/esm2015/components/badge/badge.component.js +0 -19
- package/esm2015/components/badge/badge.directive.js +0 -43
- package/esm2015/components/badge/badge.module.js +0 -19
- package/esm2015/components/badge/badge.options.js +0 -11
- package/esm2015/components/badged-content/badged-content.component.js +0 -17
- package/esm2015/components/button/button.directive.js +0 -62
- package/esm2015/components/button/button.module.js +0 -21
- package/esm2015/components/checkbox/checkbox.component.js +0 -83
- package/esm2015/components/checkbox/checkbox.options.js +0 -13
- package/esm2015/components/chip/chip.component.js +0 -19
- package/esm2015/components/chip/chip.directive.js +0 -59
- package/esm2015/components/chip/chip.module.js +0 -19
- package/esm2015/components/pin/pin.component.js +0 -24
- package/esm2015/components/radio/radio.component.js +0 -36
- package/esm2015/components/rating/rating.component.js +0 -99
- package/esm2015/components/thumbnail-card/thumbnail-card.component.js +0 -56
- package/esm2015/components/toggle/toggle.component.js +0 -59
- package/esm2015/components/toggle/toggle.options.js +0 -11
- package/esm2015/components/tooltip/tooltip.component.js +0 -88
- package/esm2015/directives/appearance/appearance.directive.js +0 -30
- package/esm2015/directives/appearance/appearance.module.js +0 -16
- package/esm2015/directives/button-vertical/button-vertical.component.js +0 -19
- package/esm2015/directives/card/card.component.js +0 -19
- package/esm2015/directives/cell/cell.component.js +0 -19
- package/esm2015/directives/fade/fade.directive.js +0 -104
- package/esm2015/directives/icons/icons.component.js +0 -19
- package/esm2015/directives/icons/icons.directive.js +0 -41
- package/esm2015/directives/icons/icons.module.js +0 -17
- package/esm2015/directives/surface/surface.component.js +0 -19
- package/esm2015/directives/title/title.component.js +0 -19
- package/esm2015/pipes/amount/amount.pipe.js +0 -48
- package/esm2015/pipes/fallback-src/fallback-src.pipe.js +0 -25
- package/fesm2015/taiga-ui-experimental-components-avatar-stack.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-avatar.js +0 -98
- package/fesm2015/taiga-ui-experimental-components-avatar.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badge-notification.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badge.js +0 -90
- package/fesm2015/taiga-ui-experimental-components-badge.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-button.js +0 -137
- package/fesm2015/taiga-ui-experimental-components-button.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-checkbox.js +0 -114
- package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-chip.js +0 -105
- package/fesm2015/taiga-ui-experimental-components-chip.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-compass.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-icon.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-pin.js +0 -44
- package/fesm2015/taiga-ui-experimental-components-pin.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-radio.js +0 -56
- package/fesm2015/taiga-ui-experimental-components-radio.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-rating.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-toggle.js +0 -88
- package/fesm2015/taiga-ui-experimental-components-toggle.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-tooltip.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-appearance.js +0 -50
- package/fesm2015/taiga-ui-experimental-directives-appearance.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-button-close.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-card.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-cell.js +0 -74
- package/fesm2015/taiga-ui-experimental-directives-cell.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-fade.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-icons.js +0 -77
- package/fesm2015/taiga-ui-experimental-directives-icons.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-surface.js +0 -65
- package/fesm2015/taiga-ui-experimental-directives-surface.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-title.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-amount.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-initials.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-tokens.js.map +0 -1
- package/fesm2015/taiga-ui-experimental.js.map +0 -1
- package/pipes/amount/package.json +0 -10
- package/pipes/amount/taiga-ui-experimental-pipes-amount.d.ts +0 -5
- package/pipes/auto-color/package.json +0 -10
- package/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.d.ts +0 -5
- package/pipes/fallback-src/package.json +0 -10
- package/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.d.ts +0 -5
- package/pipes/initials/package.json +0 -10
- package/pipes/initials/taiga-ui-experimental-pipes-initials.d.ts +0 -5
- package/pipes/package.json +0 -10
- package/pipes/taiga-ui-experimental-pipes.d.ts +0 -5
- package/taiga-ui-experimental.d.ts +0 -5
- package/tokens/package.json +0 -10
- package/tokens/taiga-ui-experimental-tokens.d.ts +0 -5
- /package/{esm2015/components/avatar/index.js → esm2020/components/avatar/index.mjs} +0 -0
- /package/{esm2015/components/avatar/taiga-ui-experimental-components-avatar.js → esm2020/components/avatar/taiga-ui-experimental-components-avatar.mjs} +0 -0
- /package/{esm2015/components/avatar-stack/index.js → esm2020/components/avatar-stack/index.mjs} +0 -0
- /package/{esm2015/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.js → esm2020/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.mjs} +0 -0
- /package/{esm2015/components/badge/index.js → esm2020/components/badge/index.mjs} +0 -0
- /package/{esm2015/components/badge/taiga-ui-experimental-components-badge.js → esm2020/components/badge/taiga-ui-experimental-components-badge.mjs} +0 -0
- /package/{esm2015/components/badge-notification/index.js → esm2020/components/badge-notification/index.mjs} +0 -0
- /package/{esm2015/components/badge-notification/taiga-ui-experimental-components-badge-notification.js → esm2020/components/badge-notification/taiga-ui-experimental-components-badge-notification.mjs} +0 -0
- /package/{esm2015/components/badged-content/index.js → esm2020/components/badged-content/index.mjs} +0 -0
- /package/{esm2015/components/badged-content/taiga-ui-experimental-components-badged-content.js → esm2020/components/badged-content/taiga-ui-experimental-components-badged-content.mjs} +0 -0
- /package/{esm2015/components/button/index.js → esm2020/components/button/index.mjs} +0 -0
- /package/{esm2015/components/button/taiga-ui-experimental-components-button.js → esm2020/components/button/taiga-ui-experimental-components-button.mjs} +0 -0
- /package/{esm2015/components/checkbox/index.js → esm2020/components/checkbox/index.mjs} +0 -0
- /package/{esm2015/components/checkbox/taiga-ui-experimental-components-checkbox.js → esm2020/components/checkbox/taiga-ui-experimental-components-checkbox.mjs} +0 -0
- /package/{esm2015/components/chip/index.js → esm2020/components/chip/index.mjs} +0 -0
- /package/{esm2015/components/chip/taiga-ui-experimental-components-chip.js → esm2020/components/chip/taiga-ui-experimental-components-chip.mjs} +0 -0
- /package/{esm2015/components/compass/index.js → esm2020/components/compass/index.mjs} +0 -0
- /package/{esm2015/components/compass/taiga-ui-experimental-components-compass.js → esm2020/components/compass/taiga-ui-experimental-components-compass.mjs} +0 -0
- /package/{esm2015/components/icon/index.js → esm2020/components/icon/index.mjs} +0 -0
- /package/{esm2015/components/icon/taiga-ui-experimental-components-icon.js → esm2020/components/icon/taiga-ui-experimental-components-icon.mjs} +0 -0
- /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
- /package/{esm2015/components/pin/index.js → esm2020/components/pin/index.mjs} +0 -0
- /package/{esm2015/components/pin/taiga-ui-experimental-components-pin.js → esm2020/components/pin/taiga-ui-experimental-components-pin.mjs} +0 -0
- /package/{esm2015/components/radio/taiga-ui-experimental-components-radio.js → esm2020/components/radio/taiga-ui-experimental-components-radio.mjs} +0 -0
- /package/{esm2015/components/rating/index.js → esm2020/components/rating/index.mjs} +0 -0
- /package/{esm2015/components/rating/rating.options.js → esm2020/components/rating/rating.options.mjs} +0 -0
- /package/{esm2015/components/rating/taiga-ui-experimental-components-rating.js → esm2020/components/rating/taiga-ui-experimental-components-rating.mjs} +0 -0
- /package/{esm2015/components/taiga-ui-experimental-components.js → esm2020/components/taiga-ui-experimental-components.mjs} +0 -0
- /package/{esm2015/components/thumbnail-card/index.js → esm2020/components/thumbnail-card/index.mjs} +0 -0
- /package/{esm2015/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.js → esm2020/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.mjs} +0 -0
- /package/{esm2015/components/toggle/index.js → esm2020/components/toggle/index.mjs} +0 -0
- /package/{esm2015/components/toggle/taiga-ui-experimental-components-toggle.js → esm2020/components/toggle/taiga-ui-experimental-components-toggle.mjs} +0 -0
- /package/{esm2015/components/tooltip/index.js → esm2020/components/tooltip/index.mjs} +0 -0
- /package/{esm2015/components/tooltip/taiga-ui-experimental-components-tooltip.js → esm2020/components/tooltip/taiga-ui-experimental-components-tooltip.mjs} +0 -0
- /package/{esm2015/components/tooltip/tooltip.options.js → esm2020/components/tooltip/tooltip.options.mjs} +0 -0
- /package/{esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js → esm2020/directives/appearance/taiga-ui-experimental-directives-appearance.mjs} +0 -0
- /package/{esm2015/directives/button-close/button-close.options.js → esm2020/directives/button-close/button-close.options.mjs} +0 -0
- /package/{esm2015/directives/button-close/index.js → esm2020/directives/button-close/index.mjs} +0 -0
- /package/{esm2015/directives/button-close/taiga-ui-experimental-directives-button-close.js → esm2020/directives/button-close/taiga-ui-experimental-directives-button-close.mjs} +0 -0
- /package/{esm2015/directives/button-vertical/index.js → esm2020/directives/button-vertical/index.mjs} +0 -0
- /package/{esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js → esm2020/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.mjs} +0 -0
- /package/{esm2015/directives/card/index.js → esm2020/directives/card/index.mjs} +0 -0
- /package/{esm2015/directives/card/taiga-ui-experimental-directives-card.js → esm2020/directives/card/taiga-ui-experimental-directives-card.mjs} +0 -0
- /package/{esm2015/directives/cell/index.js → esm2020/directives/cell/index.mjs} +0 -0
- /package/{esm2015/directives/cell/taiga-ui-experimental-directives-cell.js → esm2020/directives/cell/taiga-ui-experimental-directives-cell.mjs} +0 -0
- /package/{esm2015/directives/fade/index.js → esm2020/directives/fade/index.mjs} +0 -0
- /package/{esm2015/directives/fade/taiga-ui-experimental-directives-fade.js → esm2020/directives/fade/taiga-ui-experimental-directives-fade.mjs} +0 -0
- /package/{esm2015/directives/icons/taiga-ui-experimental-directives-icons.js → esm2020/directives/icons/taiga-ui-experimental-directives-icons.mjs} +0 -0
- /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
- /package/{esm2015/directives/progress-segmented/index.js → esm2020/directives/progress-segmented/index.mjs} +0 -0
- /package/{esm2015/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.js → esm2020/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.mjs} +0 -0
- /package/{esm2015/directives/sensitive/index.js → esm2020/directives/sensitive/index.mjs} +0 -0
- /package/{esm2015/directives/sensitive/taiga-ui-experimental-directives-sensitive.js → esm2020/directives/sensitive/taiga-ui-experimental-directives-sensitive.mjs} +0 -0
- /package/{esm2015/directives/surface/index.js → esm2020/directives/surface/index.mjs} +0 -0
- /package/{esm2015/directives/surface/taiga-ui-experimental-directives-surface.js → esm2020/directives/surface/taiga-ui-experimental-directives-surface.mjs} +0 -0
- /package/{esm2015/directives/taiga-ui-experimental-directives.js → esm2020/directives/taiga-ui-experimental-directives.mjs} +0 -0
- /package/{esm2015/directives/title/index.js → esm2020/directives/title/index.mjs} +0 -0
- /package/{esm2015/directives/title/taiga-ui-experimental-directives-title.js → esm2020/directives/title/taiga-ui-experimental-directives-title.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/pipes/amount/amount.options.js → esm2020/pipes/amount/amount.options.mjs} +0 -0
- /package/{esm2015/pipes/amount/index.js → esm2020/pipes/amount/index.mjs} +0 -0
- /package/{esm2015/pipes/amount/taiga-ui-experimental-pipes-amount.js → esm2020/pipes/amount/taiga-ui-experimental-pipes-amount.mjs} +0 -0
- /package/{esm2015/pipes/auto-color/index.js → esm2020/pipes/auto-color/index.mjs} +0 -0
- /package/{esm2015/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.js → esm2020/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.mjs} +0 -0
- /package/{esm2015/pipes/fallback-src/index.js → esm2020/pipes/fallback-src/index.mjs} +0 -0
- /package/{esm2015/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.js → esm2020/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.mjs} +0 -0
- /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
- /package/{esm2015/pipes/initials/index.js → esm2020/pipes/initials/index.mjs} +0 -0
- /package/{esm2015/pipes/initials/taiga-ui-experimental-pipes-initials.js → esm2020/pipes/initials/taiga-ui-experimental-pipes-initials.mjs} +0 -0
- /package/{esm2015/pipes/taiga-ui-experimental-pipes.js → esm2020/pipes/taiga-ui-experimental-pipes.mjs} +0 -0
- /package/{esm2015/taiga-ui-experimental.js → esm2020/taiga-ui-experimental.mjs} +0 -0
- /package/{esm2015/tokens/icon-resolver.js → esm2020/tokens/icon-resolver.mjs} +0 -0
- /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
- /package/{esm2015/tokens/taiga-ui-experimental-tokens.js → esm2020/tokens/taiga-ui-experimental-tokens.mjs} +0 -0
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class TuiPinComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.open = false;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
TuiPinComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPinComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
TuiPinComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPinComponent, selector: "tui-pin,[tuiPin]", inputs: { open: "open" }, host: { properties: { "class._open": "this.open" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{transition-property:width,height,border,margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;width:var(--t-size);height:var(--t-size);align-items:stretch;flex-direction:column;justify-content:center;text-align:center;border-radius:100%;font:var(--tui-font-text-s);font-weight:bold;box-sizing:border-box;color:var(--tui-accent-text);background:var(--tui-accent);box-shadow:0 0 0 .125rem var(--tui-elevation-01);border:0 solid var(--tui-accent);transform:translate(-50%,-50%);--t-size: 2rem}:host:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}:host:-moz-any(a,button,select,textarea,input,label){cursor:pointer}:host:empty{--t-size: .75rem}:host:empty:before{display:none}:host ::ng-deep>img{max-height:100%;box-sizing:border-box;border-radius:100%;background:var(--tui-base-01)}:host ::ng-deep>tui-icon,:host ::ng-deep>tui-svg{transition-property:width,height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.25rem;height:1.25rem;align-self:center}:host._open{font:var(--tui-font-text-m);font-weight:bold;border-width:0;margin-top:-2.75rem;--t-size: 3.5rem}:host._open ::ng-deep>img{padding:.125rem}:host._open ::ng-deep>tui-icon,:host._open ::ng-deep>tui-svg{width:2.125rem;height:2.125rem}:host._open:before{transform:scale(.99) translate(-1.875rem,-1.875rem);opacity:1}:host._open:after{top:4.5rem;opacity:1}:host:before{transition-property:transform,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:50%;left:50%;right:-.25rem;bottom:-.625rem;box-sizing:border-box;border-width:2.2rem 2rem;border-style:solid;border-color:inherit;opacity:0;transform:scale(.57) translate(-1.875rem,-1.875rem);transform-origin:top left;pointer-events:none;-webkit-mask:url('data:image/svg+xml,<svg width=\"60\" height=\"66\" viewBox=\"0 0 60 66\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 30.0917C0 13.4726 13.4313 0 30.0002 0C46.5687 0 60 13.4726 60 30.0917C60 44.2105 50.4927 56.0529 37.4162 59.2986C32.5552 60.5551 31.0408 65.275 31.0408 65.275C30.8892 65.697 30.4909 66 30.0183 66C29.5453 66 29.147 65.697 28.9938 65.275C28.9938 65.275 27.481 60.5551 22.6199 59.2986C9.46433 56.0206 0 43.5901 0 30.0917ZM30 57.75C45.3259 57.75 57.75 45.3259 57.75 30C57.75 14.6741 45.3259 2.25 30 2.25C14.6741 2.25 2.25 14.6741 2.25 30C2.25 45.3259 14.6741 57.75 30 57.75Z\" /></svg>') no-repeat;mask:url('data:image/svg+xml,<svg width=\"60\" height=\"66\" viewBox=\"0 0 60 66\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 30.0917C0 13.4726 13.4313 0 30.0002 0C46.5687 0 60 13.4726 60 30.0917C60 44.2105 50.4927 56.0529 37.4162 59.2986C32.5552 60.5551 31.0408 65.275 31.0408 65.275C30.8892 65.697 30.4909 66 30.0183 66C29.5453 66 29.147 65.697 28.9938 65.275C28.9938 65.275 27.481 60.5551 22.6199 59.2986C9.46433 56.0206 0 43.5901 0 30.0917ZM30 57.75C45.3259 57.75 57.75 45.3259 57.75 30C57.75 14.6741 45.3259 2.25 30 2.25C14.6741 2.25 2.25 14.6741 2.25 30C2.25 45.3259 14.6741 57.75 30 57.75Z\" /></svg>') no-repeat}:host:after{transition-property:top,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:50%;left:50%;border:.1875rem solid currentColor;border-color:inherit;border-radius:100%;box-sizing:border-box;box-shadow:inherit;transform:translate(-50%,-50%);opacity:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPinComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: 'tui-pin,[tuiPin]',
|
|
15
|
-
template: '<ng-content></ng-content>',
|
|
16
|
-
styleUrls: ['./pin.styles.less'],
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
-
}]
|
|
19
|
-
}], propDecorators: { open: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}, {
|
|
22
|
-
type: HostBinding,
|
|
23
|
-
args: ['class._open']
|
|
24
|
-
}] } });
|
|
25
|
-
|
|
26
|
-
class TuiPinModule {
|
|
27
|
-
}
|
|
28
|
-
TuiPinModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPinModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
29
|
-
TuiPinModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPinModule, declarations: [TuiPinComponent], exports: [TuiPinComponent] });
|
|
30
|
-
TuiPinModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPinModule });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPinModule, decorators: [{
|
|
32
|
-
type: NgModule,
|
|
33
|
-
args: [{
|
|
34
|
-
declarations: [TuiPinComponent],
|
|
35
|
-
exports: [TuiPinComponent],
|
|
36
|
-
}]
|
|
37
|
-
}] });
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Generated bundle index. Do not edit.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
export { TuiPinComponent, TuiPinModule };
|
|
44
|
-
//# sourceMappingURL=taiga-ui-experimental-components-pin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-pin.js","sources":["../../../projects/experimental/components/pin/pin.component.ts","../../../projects/experimental/components/pin/pin.module.ts","../../../projects/experimental/components/pin/taiga-ui-experimental-components-pin.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\n\n@Component({\n selector: 'tui-pin,[tuiPin]',\n template: '<ng-content></ng-content>',\n styleUrls: ['./pin.styles.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPinComponent {\n @Input()\n @HostBinding('class._open')\n open = false;\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPinComponent} from './pin.component';\n\n@NgModule({\n declarations: [TuiPinComponent],\n exports: [TuiPinComponent],\n})\nexport class TuiPinModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,eAAe,CAAA;AAN5B,IAAA,WAAA,GAAA;QASI,IAAI,CAAA,IAAA,GAAG,KAAK,CAAC;AAChB,KAAA;;6GAJY,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,eAAe,wIAJd,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,yhHAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;4FAI5B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,QAAQ,EAAE,2BAA2B;oBACrC,SAAS,EAAE,CAAC,mBAAmB,CAAC;oBAChC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAClD,iBAAA,CAAA;8BAIG,IAAI,EAAA,CAAA;sBAFH,KAAK;;sBACL,WAAW;uBAAC,aAAa,CAAA;;;MCFjB,YAAY,CAAA;;0GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;2GAAZ,YAAY,EAAA,YAAA,EAAA,CAHN,eAAe,CAAA,EAAA,OAAA,EAAA,CACpB,eAAe,CAAA,EAAA,CAAA,CAAA;2GAEhB,YAAY,EAAA,CAAA,CAAA;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;AAC7B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Optional, Inject, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/forms';
|
|
4
|
-
import { NgControl } from '@angular/forms';
|
|
5
|
-
|
|
6
|
-
class TuiRadioComponent {
|
|
7
|
-
constructor(control) {
|
|
8
|
-
this.control = control;
|
|
9
|
-
this.size = 'm';
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
TuiRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioComponent, deps: [{ token: NgControl, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
-
TuiRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRadioComponent, selector: "input[type=\"radio\"][tuiRadio]", inputs: { size: "size" }, host: { attributes: { "tuiAppearance": "" }, properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "class._invalid": "control?.invalid && control?.touched", "class._readonly": "!control" } }, ngImport: i0, template: '', isInline: true, styles: [":host{transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--t-size);height:var(--t-size);cursor:pointer;margin:0;border-radius:100%;box-shadow:inset 0 0 0 .0625rem var(--tui-clear-active);color:var(--tui-primary-text);--t-size: 1.5rem}:host:disabled._readonly{opacity:1}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";border-radius:100%;background:currentColor;transform:scale(0)}:host:checked{box-shadow:none;background:var(--tui-primary)}:host:checked:hover{background:var(--tui-primary-hover)}:host:checked:active{background:var(--tui-primary-active)}:host:checked:before{transform:scale(.5)}:host[data-size=s]{--t-size: 1rem}:host._invalid{box-shadow:inset 0 0 0 .0625rem var(--tui-error-bg-hover)}:host._invalid:checked{background:var(--tui-error-fill)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{
|
|
17
|
-
selector: 'input[type="radio"][tuiRadio]',
|
|
18
|
-
template: '',
|
|
19
|
-
styleUrls: ['./radio.style.less'],
|
|
20
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21
|
-
host: {
|
|
22
|
-
tuiAppearance: '',
|
|
23
|
-
'[disabled]': '!control || control.disabled',
|
|
24
|
-
'[attr.data-size]': 'size',
|
|
25
|
-
'[class._invalid]': 'control?.invalid && control?.touched',
|
|
26
|
-
'[class._readonly]': '!control',
|
|
27
|
-
},
|
|
28
|
-
}]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
30
|
-
type: Optional
|
|
31
|
-
}, {
|
|
32
|
-
type: Inject,
|
|
33
|
-
args: [NgControl]
|
|
34
|
-
}] }]; }, propDecorators: { size: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}] } });
|
|
37
|
-
|
|
38
|
-
class TuiRadioModule {
|
|
39
|
-
}
|
|
40
|
-
TuiRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
41
|
-
TuiRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioModule, declarations: [TuiRadioComponent], exports: [TuiRadioComponent] });
|
|
42
|
-
TuiRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioModule });
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioModule, decorators: [{
|
|
44
|
-
type: NgModule,
|
|
45
|
-
args: [{
|
|
46
|
-
declarations: [TuiRadioComponent],
|
|
47
|
-
exports: [TuiRadioComponent],
|
|
48
|
-
}]
|
|
49
|
-
}] });
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Generated bundle index. Do not edit.
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
export { TuiRadioComponent, TuiRadioModule };
|
|
56
|
-
//# sourceMappingURL=taiga-ui-experimental-components-radio.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-radio.js","sources":["../../../projects/experimental/components/radio/radio.component.ts","../../../projects/experimental/components/radio/radio.module.ts","../../../projects/experimental/components/radio/taiga-ui-experimental-components-radio.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject, Input, Optional} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {TuiSizeS} from '@taiga-ui/core';\n\n@Component({\n selector: 'input[type=\"radio\"][tuiRadio]',\n template: '',\n styleUrls: ['./radio.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n tuiAppearance: '', // Apply base appearance\n '[disabled]': '!control || control.disabled',\n '[attr.data-size]': 'size',\n '[class._invalid]': 'control?.invalid && control?.touched',\n '[class._readonly]': '!control',\n },\n})\nexport class TuiRadioComponent {\n @Input()\n size: TuiSizeS = 'm';\n\n constructor(@Optional() @Inject(NgControl) readonly control: NgControl | null) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiRadioComponent} from './radio.component';\n\n@NgModule({\n declarations: [TuiRadioComponent],\n exports: [TuiRadioComponent],\n})\nexport class TuiRadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAiBa,iBAAiB,CAAA;AAI1B,IAAA,WAAA,CAAoD,OAAyB,EAAA;QAAzB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QAF7E,IAAI,CAAA,IAAA,GAAa,GAAG,CAAC;KAE4D;;AAJxE,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,kBAIM,SAAS,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAJhC,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA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1
|
-
{"version":3,"file":"taiga-ui-experimental-components-rating.js","sources":["../../../projects/experimental/components/rating/rating.options.ts","../../../projects/experimental/components/rating/rating.component.ts","../../../projects/experimental/components/rating/rating.template.html","../../../projects/experimental/components/rating/rating.module.ts","../../../projects/experimental/components/rating/taiga-ui-experimental-components-rating.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {TuiContextWithImplicit, tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiRatingOptions {\n readonly icon: PolymorpheusContent<TuiContextWithImplicit<number>>;\n readonly max: number;\n}\n\nexport const TUI_RATING_DEFAULT_OPTIONS: TuiRatingOptions = {\n icon: `tuiIconStarLarge`,\n max: 5,\n};\n\nexport const TUI_RATING_OPTIONS = tuiCreateToken(TUI_RATING_DEFAULT_OPTIONS);\n\nexport function tuiRatingOptionsProvider(options: Partial<TuiRatingOptions>): Provider {\n return tuiProvideOptions(TUI_RATING_OPTIONS, options, TUI_RATING_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n tuiClamp,\n TuiFocusableElementAccessor,\n tuiIsNativeFocused,\n} from '@taiga-ui/cdk';\n\nimport {TUI_RATING_OPTIONS, TuiRatingOptions} from './rating.options';\n\n@Component({\n selector: 'tui-rating',\n templateUrl: './rating.template.html',\n styleUrls: ['./rating.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiRatingComponent\n extends AbstractTuiControl<number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(NgControl, {read: ElementRef, static: true})\n private readonly input?: ElementRef<HTMLInputElement>;\n\n @Input()\n icon = this.options.icon;\n\n @Input()\n max = this.options.max;\n\n @HostBinding('class._active')\n active = 0;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) cdr: ChangeDetectorRef,\n @Inject(TUI_RATING_OPTIONS) private readonly options: TuiRatingOptions,\n ) {\n super(control, cdr);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.computedDisabled ? null : this.input?.nativeElement || null;\n }\n\n get focused(): boolean {\n return tuiIsNativeFocused(this.nativeFocusableElement);\n }\n\n @HostListener('keydown.capture', ['$event'])\n onKeyDown(event: KeyboardEvent): void {\n if (this.readOnly) {\n event.preventDefault();\n }\n }\n\n @HostListener('pointerdown', ['1'])\n @HostListener('pointercancel', ['-1'])\n @HostListener('document:pointerup', ['-1'])\n onPointer(delta: number): void {\n this.active = tuiClamp(this.active + delta, 0, 1);\n }\n\n onClick(value: number): void {\n if (this.active) {\n this.value = value;\n }\n }\n\n isActive(index: number): boolean {\n return Math.ceil(this.value) >= this.max - index;\n }\n\n isFraction(index: number): boolean {\n return this.value > this.max - index - 1 && this.value < this.max - index;\n }\n\n getCut(index: number): number {\n return this.isFraction(index)\n ? 100 * Math.max(this.max - index - this.value, 0)\n : 0;\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n}\n","<div class=\"t-items\">\n <div\n *tuiRepeatTimes=\"let index of max\"\n class=\"t-item\"\n [class.t-item_active]=\"isActive(index)\"\n (pointerup)=\"onClick(max - index)\"\n >\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: max - index}\"\n class=\"t-icon t-icon_blank\"\n [class.t-icon_fraction]=\"isFraction(index)\"\n [icon]=\"src.toString()\"\n [style.--t-cut.%]=\"100 - getCut(index)\"\n ></tui-icon>\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: max - index}\"\n class=\"t-icon\"\n [icon]=\"src.toString()\"\n [style.--t-cut.%]=\"getCut(index)\"\n ></tui-icon>\n </div>\n</div>\n<input\n min=\"1\"\n type=\"range\"\n class=\"t-range\"\n [attr.aria-disabled]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [max]=\"max\"\n [(ngModel)]=\"value\"\n/>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiRepeatTimesModule} from '@taiga-ui/cdk';\nimport {TuiIconModule} from '@taiga-ui/experimental/components/icon';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiRatingComponent} from './rating.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n TuiIconModule,\n TuiRepeatTimesModule,\n PolymorpheusModule,\n ],\n declarations: [TuiRatingComponent],\n exports: [TuiRatingComponent],\n})\nexport class TuiRatingModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AASa,MAAA,0BAA0B,GAAqB;AACxD,IAAA,IAAI,EAAE,CAAkB,gBAAA,CAAA;AACxB,IAAA,GAAG,EAAE,CAAC;EACR;MAEW,kBAAkB,GAAG,cAAc,CAAC,0BAA0B,EAAE;AAEvE,SAAU,wBAAwB,CAAC,OAAkC,EAAA;IACvE,OAAO,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,EAAE,0BAA0B,CAAC,CAAC;AACtF;;ACWM,MAAO,kBACT,SAAQ,kBAA0B,CAAA;AAelC,IAAA,WAAA,CAII,OAAyB,EACE,GAAsB,EACJ,OAAyB,EAAA;AAEtE,QAAA,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QAFyB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;AAd1E,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;AAGzB,QAAA,IAAA,CAAA,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;QAGvB,IAAM,CAAA,MAAA,GAAG,CAAC,CAAC;KAWV;AAED,IAAA,IAAI,sBAAsB,GAAA;;AACtB,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AkB,CAAC;oBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAChC,iBAAA,CAAA;;;ACnBD;;AAEG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-thumbnail-card.js","sources":["../../../projects/experimental/components/thumbnail-card/thumbnail-card.component.ts","../../../projects/experimental/components/thumbnail-card/thumbnail-card.template.html","../../../projects/experimental/components/thumbnail-card/thumbnail-card.module.ts","../../../projects/experimental/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {\n TUI_INPUT_CARD_OPTIONS,\n TuiInputCardOptions,\n TuiPaymentSystem,\n} from '@taiga-ui/addon-commerce';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {TUI_ICON_RESOLVER} from '@taiga-ui/experimental/tokens';\n\n@Component({\n selector: 'tui-thumbnail-card',\n templateUrl: './thumbnail-card.template.html',\n styleUrls: ['./thumbnail-card.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiThumbnailCardComponent {\n @Input()\n @HostBinding('attr.data-size')\n size: TuiSizeL | TuiSizeS = 'm';\n\n @Input()\n paymentSystem: TuiPaymentSystem | null = null;\n\n @Input()\n iconLeft = '';\n\n @Input()\n iconRight = '';\n\n constructor(\n @Inject(TUI_ICON_RESOLVER) readonly resolver: TuiStringHandler<string>,\n @Inject(TUI_INPUT_CARD_OPTIONS) readonly options: TuiInputCardOptions,\n ) {}\n\n // TODO: Revisit this approach in 4.0 when icons are moved away from InputCard options\n get isMono(): boolean {\n switch (this.paymentSystem) {\n case 'mir':\n case 'visa':\n case 'electron':\n return true;\n default:\n return false;\n }\n }\n}\n","<div class=\"t-front\">\n <div\n *ngIf=\"iconLeft\"\n class=\"t-left\"\n >\n <tui-icon\n class=\"t-icon\"\n [icon]=\"iconLeft\"\n ></tui-icon>\n </div>\n <div\n *ngIf=\"iconRight\"\n class=\"t-right\"\n >\n <tui-icon\n class=\"t-icon\"\n [icon]=\"iconRight\"\n ></tui-icon>\n </div>\n <ng-content></ng-content>\n <ng-container *ngIf=\"paymentSystem\">\n <tui-icon\n *ngIf=\"isMono; else colored\"\n class=\"t-logo\"\n [icon]=\"options.icons[paymentSystem]\"\n ></tui-icon>\n <ng-template #colored>\n <img\n class=\"t-logo\"\n [alt]=\"paymentSystem\"\n [src]=\"resolver(options.icons[paymentSystem]).replace('Outline', '')\"\n />\n </ng-template>\n </ng-container>\n</div>\n<div class=\"t-back\"></div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiIconModule} from '@taiga-ui/experimental/components/icon';\n\nimport {TuiThumbnailCardComponent} from './thumbnail-card.component';\n\n@NgModule({\n imports: [CommonModule, TuiIconModule],\n declarations: [TuiThumbnailCardComponent],\n exports: [TuiThumbnailCardComponent],\n})\nexport class TuiThumbnailCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAsBa,yBAAyB,CAAA;IAclC,WACwC,CAAA,QAAkC,EAC7B,OAA4B,EAAA;QADjC,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAA0B;QAC7B,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;QAbzE,IAAI,CAAA,IAAA,GAAwB,GAAG,CAAC;QAGhC,IAAa,CAAA,aAAA,GAA4B,IAAI,CAAC;QAG9C,IAAQ,CAAA,QAAA,GAAG,EAAE,CAAC;QAGd,IAAS,CAAA,SAAA,GAAG,EAAE,CAAC;KAKX;;AAGJ,IAAA,IAAI,MAAM,GAAA;QACN,QAAQ,IAAI,CAAC,aAAa;AACtB,YAAA,KAAK,KAAK,CAAC;AACX,YAAA,KAAK,MAAM,CAAC;AACZ,YAAA,KAAK,UAAU;AACX,gBAAA,OAAO,IAAI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A,CAAA;sBADZ,KAAK;gBAIN,QAAQ,EAAA,CAAA;sBADP,KAAK;gBAIN,SAAS,EAAA,CAAA;sBADR,KAAK;;;MEtBG,sBAAsB,CAAA;;oHAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,iBAHhB,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAD9B,YAAY,EAAE,aAAa,aAE3B,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAE1B,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAJtB,OAAA,EAAA,CAAA,CAAC,YAAY,EAAE,aAAa,CAAC,CAAA,EAAA,CAAA,CAAA;4FAI7B,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACvC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Inject, Optional, Input, HostBinding, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/forms';
|
|
4
|
-
import { NgControl } from '@angular/forms';
|
|
5
|
-
import { tuiCreateToken, tuiProvideOptions, tuiIsString } from '@taiga-ui/cdk';
|
|
6
|
-
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
7
|
-
|
|
8
|
-
const TUI_TOGGLE_DEFAULT_OPTIONS = {
|
|
9
|
-
showIcons: true,
|
|
10
|
-
size: `m`,
|
|
11
|
-
icon: `tuiIconCheck`,
|
|
12
|
-
};
|
|
13
|
-
const TUI_TOGGLE_OPTIONS = tuiCreateToken(TUI_TOGGLE_DEFAULT_OPTIONS);
|
|
14
|
-
function tuiToggleOptionsProvider(options) {
|
|
15
|
-
return tuiProvideOptions(TUI_TOGGLE_OPTIONS, options, TUI_TOGGLE_DEFAULT_OPTIONS);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
class TuiToggleComponent {
|
|
19
|
-
constructor(resolver, options, control) {
|
|
20
|
-
this.resolver = resolver;
|
|
21
|
-
this.options = options;
|
|
22
|
-
this.control = control;
|
|
23
|
-
this.size = this.options.size;
|
|
24
|
-
this.showIcons = this.options.showIcons;
|
|
25
|
-
}
|
|
26
|
-
get icon() {
|
|
27
|
-
const { options, resolver, size } = this;
|
|
28
|
-
const icon = tuiIsString(options.icon) ? options.icon : options.icon(size);
|
|
29
|
-
return `url(${resolver(icon)})`;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
TuiToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiToggleComponent, deps: [{ token: TUI_ICON_RESOLVER }, { token: TUI_TOGGLE_OPTIONS }, { token: NgControl, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
-
TuiToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiToggleComponent, selector: "input[type=\"checkbox\"][tuiToggle]", inputs: { size: "size", showIcons: "showIcons" }, host: { attributes: { "tuiAppearance": "" }, properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "class._invalid": "control?.invalid && control?.touched", "class._readonly": "!control", "class._icons": "showIcons", "style.--t-mask": "this.icon" } }, ngImport: i0, template: '', isInline: true, styles: [":host{transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:3rem;height:1.5rem;border-radius:2rem;color:var(--tui-primary-text);overflow:hidden;cursor:pointer;margin:0;background:var(--tui-secondary)}:host[data-size=s]{height:1rem;width:2rem}:host[data-size=s]:before{width:1rem;transform:translate(-1rem);-webkit-mask-size:.75rem;mask-size:.75rem}:host[data-size=s]:after{width:1rem;box-shadow:-2rem 0 0 .25rem var(--tui-text-01-night)}:host[data-size=s]:checked:after{transform:scale(.5) translate(2rem)}:host:hover{background:var(--tui-secondary-hover)}:host:active{background:var(--tui-secondary-active)}:host:checked{background:var(--tui-primary)}:host:checked:hover{background:var(--tui-primary-hover)}:host:checked:active{background:var(--tui-primary-active)}:host:checked:before{transform:none}:host:checked:after{transform:scale(.5) translate(3rem)}:host:disabled._readonly{opacity:1}:host:before,:host:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;height:100%;width:1.5rem}:host:before{display:none;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center;mask:var(--t-mask) no-repeat center;-webkit-mask-size:1rem;mask-size:1rem;transform:translate(-1.5rem)}:host:after{right:0;border-radius:100%;transform:scale(.5);box-shadow:-3rem 0 0 .25rem var(--tui-text-01-night)}:host._icons:before{display:block}:host._icons:after{box-shadow:inset 0 0 0 .25rem var(--tui-clear-active),-3rem 0 0 .25rem var(--tui-text-01-night)}:host._icons[data-size=s]:after{box-shadow:inset 0 0 0 .125rem var(--tui-clear-active),-2rem 0 0 .25rem var(--tui-text-01-night)}:host._invalid{background:var(--tui-error-bg)}:host._invalid:hover,:host._invalid:active{background:var(--tui-error-bg-hover)}:host._invalid:checked{background:var(--tui-error-fill)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiToggleComponent, decorators: [{
|
|
35
|
-
type: Component,
|
|
36
|
-
args: [{
|
|
37
|
-
selector: 'input[type="checkbox"][tuiToggle]',
|
|
38
|
-
template: '',
|
|
39
|
-
styleUrls: ['./toggle.style.less'],
|
|
40
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
41
|
-
host: {
|
|
42
|
-
tuiAppearance: '',
|
|
43
|
-
'[disabled]': '!control || control.disabled',
|
|
44
|
-
'[attr.data-size]': 'size',
|
|
45
|
-
'[class._invalid]': 'control?.invalid && control?.touched',
|
|
46
|
-
'[class._readonly]': '!control',
|
|
47
|
-
'[class._icons]': 'showIcons',
|
|
48
|
-
},
|
|
49
|
-
}]
|
|
50
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
51
|
-
type: Inject,
|
|
52
|
-
args: [TUI_ICON_RESOLVER]
|
|
53
|
-
}] }, { type: undefined, decorators: [{
|
|
54
|
-
type: Inject,
|
|
55
|
-
args: [TUI_TOGGLE_OPTIONS]
|
|
56
|
-
}] }, { type: i1.NgControl, decorators: [{
|
|
57
|
-
type: Optional
|
|
58
|
-
}, {
|
|
59
|
-
type: Inject,
|
|
60
|
-
args: [NgControl]
|
|
61
|
-
}] }]; }, propDecorators: { size: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], showIcons: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], icon: [{
|
|
66
|
-
type: HostBinding,
|
|
67
|
-
args: ['style.--t-mask']
|
|
68
|
-
}] } });
|
|
69
|
-
|
|
70
|
-
class TuiToggleModule {
|
|
71
|
-
}
|
|
72
|
-
TuiToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
73
|
-
TuiToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiToggleModule, declarations: [TuiToggleComponent], exports: [TuiToggleComponent] });
|
|
74
|
-
TuiToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiToggleModule });
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiToggleModule, decorators: [{
|
|
76
|
-
type: NgModule,
|
|
77
|
-
args: [{
|
|
78
|
-
declarations: [TuiToggleComponent],
|
|
79
|
-
exports: [TuiToggleComponent],
|
|
80
|
-
}]
|
|
81
|
-
}] });
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Generated bundle index. Do not edit.
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
export { TUI_TOGGLE_DEFAULT_OPTIONS, TUI_TOGGLE_OPTIONS, TuiToggleComponent, TuiToggleModule, tuiToggleOptionsProvider };
|
|
88
|
-
//# sourceMappingURL=taiga-ui-experimental-components-toggle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-toggle.js","sources":["../../../projects/experimental/components/toggle/toggle.options.ts","../../../projects/experimental/components/toggle/toggle.component.ts","../../../projects/experimental/components/toggle/toggle.module.ts","../../../projects/experimental/components/toggle/taiga-ui-experimental-components-toggle.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateToken, TuiMapper, tuiProvideOptions} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nexport interface TuiToggleOptions {\n readonly showIcons: boolean;\n readonly size: TuiSizeS;\n readonly icon: TuiMapper<TuiSizeS, string> | string;\n}\n\nexport const TUI_TOGGLE_DEFAULT_OPTIONS: TuiToggleOptions = {\n showIcons: true,\n size: `m`,\n icon: `tuiIconCheck`,\n};\n\nexport const TUI_TOGGLE_OPTIONS = tuiCreateToken(TUI_TOGGLE_DEFAULT_OPTIONS);\n\nexport function tuiToggleOptionsProvider(options: Partial<TuiToggleOptions>): Provider {\n return tuiProvideOptions(TUI_TOGGLE_OPTIONS, options, TUI_TOGGLE_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n Optional,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {tuiIsString, TuiStringHandler} from '@taiga-ui/cdk';\nimport {TUI_ICON_RESOLVER} from '@taiga-ui/experimental/tokens';\n\nimport {TUI_TOGGLE_OPTIONS, TuiToggleOptions} from './toggle.options';\n\n@Component({\n selector: 'input[type=\"checkbox\"][tuiToggle]',\n template: '',\n styleUrls: ['./toggle.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n tuiAppearance: '', // Apply base appearance\n '[disabled]': '!control || control.disabled',\n '[attr.data-size]': 'size',\n '[class._invalid]': 'control?.invalid && control?.touched',\n '[class._readonly]': '!control',\n '[class._icons]': 'showIcons',\n },\n})\nexport class TuiToggleComponent {\n @Input()\n size = this.options.size;\n\n @Input()\n showIcons = this.options.showIcons;\n\n constructor(\n @Inject(TUI_ICON_RESOLVER) private readonly resolver: TuiStringHandler<string>,\n @Inject(TUI_TOGGLE_OPTIONS) private readonly options: TuiToggleOptions,\n @Optional() @Inject(NgControl) readonly control: NgControl | null,\n ) {}\n\n @HostBinding('style.--t-mask')\n get icon(): string {\n const {options, resolver, size} = this;\n const icon = tuiIsString(options.icon) ? options.icon : options.icon(size);\n\n return `url(${resolver(icon)})`;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiToggleComponent} from './toggle.component';\n\n@NgModule({\n declarations: [TuiToggleComponent],\n exports: [TuiToggleComponent],\n})\nexport class TuiToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAUa,MAAA,0BAA0B,GAAqB;AACxD,IAAA,SAAS,EAAE,IAAI;AACf,IAAA,IAAI,EAAE,CAAG,CAAA,CAAA;AACT,IAAA,IAAI,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ACvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;8GAEnB,eAAe,EAAA,CAAA,CAAA;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAChC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-tooltip.js","sources":["../../../projects/experimental/components/tooltip/tooltip.options.ts","../../../projects/experimental/components/tooltip/tooltip.component.ts","../../../projects/experimental/components/tooltip/tooltip.template.html","../../../projects/experimental/components/tooltip/tooltip.module.ts","../../../projects/experimental/components/tooltip/taiga-ui-experimental-components-tooltip.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateToken, TuiPlatform, tuiProvideOptions} from '@taiga-ui/cdk';\n\nexport interface TuiTooltipOptions {\n readonly icons: Record<TuiPlatform, string> | string;\n}\n\nexport const TUI_TOOLTIP_DEFAULT_OPTIONS: TuiTooltipOptions = {\n icons: `tuiIconHelpCircle`,\n};\n\nexport const TUI_TOOLTIP_OPTIONS = tuiCreateToken(TUI_TOOLTIP_DEFAULT_OPTIONS);\n\nexport function tuiTooltipOptionsProvider(options: Partial<TuiTooltipOptions>): Provider {\n return tuiProvideOptions(TUI_TOOLTIP_OPTIONS, options, TUI_TOOLTIP_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {TUI_PLATFORM, TuiDestroyService, tuiIsString, TuiPlatform} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_HINT_OPTIONS,\n TUI_MODE,\n TuiBrightness,\n TuiHintHoverDirective,\n TuiHintOptions,\n TuiHintOptionsDirective,\n} from '@taiga-ui/core';\nimport {TuiAppearanceDirective} from '@taiga-ui/experimental/directives/appearance';\nimport {Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {TUI_TOOLTIP_OPTIONS, TuiTooltipOptions} from './tooltip.options';\n\n// TODO: Turn into a directive with hint as hostDirective in 4.0\n\n@Component({\n selector: 'tui-tooltip',\n templateUrl: './tooltip.template.html',\n styleUrls: ['./tooltip.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService, MODE_PROVIDER],\n inputs: ['content', 'direction', 'appearance', 'showDelay', 'hideDelay'],\n})\nexport class TuiTooltipComponent<C = any> extends TuiHintOptionsDirective {\n private mode: TuiBrightness | null = null;\n\n @ViewChild(TuiHintHoverDirective)\n readonly driver$?: TuiHintHoverDirective;\n\n @Input()\n describeId = '';\n\n @Input()\n context?: C;\n\n constructor(\n @Self() @Inject(TuiDestroyService) destroy$: Observable<unknown>,\n @Inject(TUI_MODE) mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_HINT_OPTIONS) options: TuiHintOptions,\n @Inject(TUI_TOOLTIP_OPTIONS) readonly tooltipOptions: TuiTooltipOptions,\n @Inject(TUI_PLATFORM) private readonly platform: TuiPlatform,\n @Optional()\n @Inject(TuiAppearanceDirective)\n readonly iconAppearance: TuiAppearanceDirective | null,\n ) {\n super(options);\n\n mode$.pipe(takeUntil(destroy$)).subscribe(mode => {\n this.mode = mode;\n });\n }\n\n get computedAppearance(): string {\n return this.appearance || this.mode || '';\n }\n\n get tooltipIcon(): string {\n const {icons} = this.tooltipOptions;\n\n return tuiIsString(icons) ? icons : icons[this.platform];\n }\n\n @HostListener('mousedown', ['$event'])\n stopOnMobile(event: MouseEvent): void {\n if (this.platform !== 'web') {\n event.preventDefault();\n event.stopPropagation();\n }\n\n this.driver$?.toggle();\n }\n}\n","<button\n #driver=\"tuiHintHover\"\n automation-id=\"tui-tooltip__icon\"\n size=\"xs\"\n tuiIconButton\n class=\"t-tooltip-button\"\n [attr.tabindex]=\"describeId ? -1 : 0\"\n [iconLeft]=\"tooltipIcon\"\n [tuiAppearance]=\"iconAppearance?.tuiAppearance || 'icon'\"\n [tuiAppearanceState]=\"(driver | async) ? 'active' : null\"\n [tuiHint]=\"content\"\n [tuiHintAppearance]=\"computedAppearance\"\n [tuiHintContext]=\"context\"\n [tuiHintDescribe]=\"describeId\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n></button>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiHintModule} from '@taiga-ui/core';\nimport {TuiButtonModule} from '@taiga-ui/experimental/components/button';\nimport {TuiIconModule} from '@taiga-ui/experimental/components/icon';\nimport {TuiAppearanceModule} from '@taiga-ui/experimental/directives/appearance';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTooltipComponent} from './tooltip.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiAppearanceModule,\n TuiHintModule,\n TuiIconModule,\n TuiButtonModule,\n PolymorpheusModule,\n ],\n declarations: [TuiTooltipComponent],\n exports: [TuiTooltipComponent],\n})\nexport class TuiTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAOa,MAAA,2BAA2B,GAAsB;AAC1D,IAAA,KAAK,EAAE,CAAmB,iBAAA,CAAA;EAC5B;MAEW,mBAAmB,GAAG,cAAc,CAAC,2BAA2B,EAAE;AAEzE,SAAU,yBAAyB,CAAC,OAAmC,EAAA;IACzE,OAAO,iBAAiB,CAAC,mBAAmB,EAAE,OAAO,EAAE,2BAA2B,CAAC,CAAC;AACxF;;ACWA;AAUM,MAAO,mBAA6B,SAAQ,uBAAuB,CAAA;IAYrE,WACuC,CAAA,QAA6B,EAC9C,KAAuC,EAC/B,OAAuB,EACX,cAAiC,EAChC,QAAqB,EAGnD,cAA6C,EAAA;QAEtD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,OAAO,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components.js","sources":["../../../projects/experimental/components/taiga-ui-experimental-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;AAEG"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class TuiAppearanceDirective {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.tuiAppearance = '';
|
|
7
|
-
this.tuiAppearanceState = null;
|
|
8
|
-
this.tuiAppearanceFocus = null;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
TuiAppearanceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAppearanceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
-
TuiAppearanceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiAppearanceDirective, selector: "[tuiAppearance]", inputs: { tuiAppearance: "tuiAppearance", tuiAppearanceState: "tuiAppearanceState", tuiAppearanceFocus: "tuiAppearanceFocus" }, host: { attributes: { "tuiAppearance": "" }, properties: { "attr.data-appearance": "tuiAppearance", "attr.data-state": "tuiAppearanceState", "attr.data-focus": "tuiAppearanceFocus" } }, ngImport: i0 });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAppearanceDirective, decorators: [{
|
|
14
|
-
type: Directive,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: '[tuiAppearance]',
|
|
17
|
-
host: {
|
|
18
|
-
tuiAppearance: '',
|
|
19
|
-
'[attr.data-appearance]': 'tuiAppearance',
|
|
20
|
-
'[attr.data-state]': 'tuiAppearanceState',
|
|
21
|
-
'[attr.data-focus]': 'tuiAppearanceFocus',
|
|
22
|
-
},
|
|
23
|
-
}]
|
|
24
|
-
}], propDecorators: { tuiAppearance: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}], tuiAppearanceState: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], tuiAppearanceFocus: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}] } });
|
|
31
|
-
|
|
32
|
-
class TuiAppearanceModule {
|
|
33
|
-
}
|
|
34
|
-
TuiAppearanceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAppearanceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
35
|
-
TuiAppearanceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAppearanceModule, declarations: [TuiAppearanceDirective], exports: [TuiAppearanceDirective] });
|
|
36
|
-
TuiAppearanceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAppearanceModule });
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAppearanceModule, decorators: [{
|
|
38
|
-
type: NgModule,
|
|
39
|
-
args: [{
|
|
40
|
-
declarations: [TuiAppearanceDirective],
|
|
41
|
-
exports: [TuiAppearanceDirective],
|
|
42
|
-
}]
|
|
43
|
-
}] });
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Generated bundle index. Do not edit.
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
export { TuiAppearanceDirective, TuiAppearanceModule };
|
|
50
|
-
//# sourceMappingURL=taiga-ui-experimental-directives-appearance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives-appearance.js","sources":["../../../projects/experimental/directives/appearance/appearance.directive.ts","../../../projects/experimental/directives/appearance/appearance.module.ts","../../../projects/experimental/directives/appearance/taiga-ui-experimental-directives-appearance.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {TuiInteractiveStateT} from '@taiga-ui/core';\n\n@Directive({\n selector: '[tuiAppearance]',\n host: {\n tuiAppearance: '',\n '[attr.data-appearance]': 'tuiAppearance',\n '[attr.data-state]': 'tuiAppearanceState',\n '[attr.data-focus]': 'tuiAppearanceFocus',\n },\n})\nexport class TuiAppearanceDirective {\n @Input()\n tuiAppearance = '';\n\n @Input()\n tuiAppearanceState: TuiInteractiveStateT | null = null;\n\n @Input()\n tuiAppearanceFocus: boolean | null = null;\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiAppearanceDirective} from './appearance.directive';\n\n@NgModule({\n declarations: [TuiAppearanceDirective],\n exports: [TuiAppearanceDirective],\n})\nexport class TuiAppearanceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAYa,sBAAsB,CAAA;AATnC,IAAA,WAAA,GAAA;QAWI,IAAa,CAAA,aAAA,GAAG,EAAE,CAAC;QAGnB,IAAkB,CAAA,kBAAA,GAAgC,IAAI,CAAC;QAGvD,IAAkB,CAAA,kBAAA,GAAmB,IAAI,CAAC;AAC7C,KAAA;;oHATY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;wGAAtB,sBAAsB,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,eAAA,EAAA,EAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,oBAAA,EAAA,iBAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBATlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,IAAI,EAAE;AACF,wBAAA,aAAa,EAAE,EAAE;AACjB,wBAAA,wBAAwB,EAAE,eAAe;AACzC,wBAAA,mBAAmB,EAAE,oBAAoB;AACzC,wBAAA,mBAAmB,EAAE,oBAAoB;AAC5C,qBAAA;AACJ,iBAAA,CAAA;8BAGG,aAAa,EAAA,CAAA;sBADZ,KAAK;gBAIN,kBAAkB,EAAA,CAAA;sBADjB,KAAK;gBAIN,kBAAkB,EAAA,CAAA;sBADjB,KAAK;;;MCXG,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAAnB,mBAAmB,EAAA,YAAA,EAAA,CAHb,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAC3B,sBAAsB,CAAA,EAAA,CAAA,CAAA;kHAEvB,mBAAmB,EAAA,CAAA,CAAA;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives-button-close.js","sources":["../../../projects/experimental/directives/button-close/button-close.options.ts","../../../projects/experimental/directives/button-close/button-close.directive.ts","../../../projects/experimental/directives/button-close/button-close.module.ts","../../../projects/experimental/directives/button-close/taiga-ui-experimental-directives-button-close.ts"],"sourcesContent":["import {tuiCreateToken} from '@taiga-ui/cdk';\n\nexport const TUI_BUTTON_CLOSE_ICON = tuiCreateToken(`tuiIconClose`);\n","import {Directive, Inject} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/experimental/components';\nimport {TUI_ICON_RESOLVER} from '@taiga-ui/experimental/tokens';\n\nimport {TUI_BUTTON_CLOSE_ICON} from './button-close.options';\n\n// TODO: 4.0 revisit after turning tuiIcon to host directive\n@Directive({\n selector: '[tuiIconButton][tuiButtonClose]',\n providers: [tuiButtonOptionsProvider({appearance: 'neutral', size: 's'})],\n host: {\n '[style.--t-mask-left]': '\"url(\" + resolver(icon) + \")\"',\n '[style.--t-radius.%]': '100',\n '[style.--tui-height-s.rem]': '1.875',\n '[class._icon-left]': 'true',\n },\n})\nexport class TuiButtonCloseDirective {\n constructor(\n @Inject(TUI_ICON_RESOLVER) readonly resolver: TuiStringHandler<string>,\n @Inject(TUI_BUTTON_CLOSE_ICON) readonly icon: string,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiButtonCloseDirective} from './button-close.directive';\n\n@NgModule({\n declarations: [TuiButtonCloseDirective],\n exports: [TuiButtonCloseDirective],\n})\nexport class TuiButtonCloseModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAEa,qBAAqB,GAAG,cAAc,CAAC,CAAA,YAAA,CAAc;;ACKlE;MAWa,uBAAuB,CAAA;IAChC,WACwC,CAAA,QAAkC,EAC9B,IAAY,EAAA;QADhB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAA0B;QAC9B,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;KACpD;;qHAJK,uBAAuB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAEpB,iBAAiB,EAAA,EAAA,EAAA,KAAA,EACjB,qBAAqB,EAAA,CAAA,EAAA,MAA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CAAA,EAAA,CAAA,CAAA;mHAExB,oBAAoB,EAAA,CAAA,CAAA;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives-button-vertical.js","sources":["../../../projects/experimental/directives/button-vertical/button-vertical.component.ts","../../../projects/experimental/directives/button-vertical/button-vertical.directive.ts","../../../projects/experimental/directives/button-vertical/button-vertical.module.ts","../../../projects/experimental/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./button-vertical.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-button-vertical-styles',\n },\n})\nexport class TuiButtonVerticalComponent {}\n","import {Directive, Inject} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiButtonVerticalComponent} from './button-vertical.component';\n\n@Directive({\n selector: '[tuiButtonVertical]',\n})\nexport class TuiButtonVerticalDirective {\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiButtonVerticalComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiButtonVerticalComponent} from './button-vertical.component';\nimport {TuiButtonVerticalDirective} from './button-vertical.directive';\n\n@NgModule({\n declarations: [TuiButtonVerticalDirective, TuiButtonVerticalComponent],\n exports: [TuiButtonVerticalDirective],\n})\nexport class TuiButtonVerticalModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],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,EAAA,CAAA,CAAA;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAHtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,qBAAqB;AAClC,iBAAA,CAAA;;0BAGQ,MAAM;2BAAC,yBAAyB,CAAA;;;MCD5B,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAHjB,YAAA,EAAA,CAAA,0BAA0B,EAAE,0BAA0B,aAC3D,0BAA0B,CAAA,EAAA,CAAA,CAAA;sHAE3B,uBAAuB,EAAA,CAAA,CAAA;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;oBACtE,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACxC,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives-card.js","sources":["../../../projects/experimental/directives/card/card.component.ts","../../../projects/experimental/directives/card/card.directive.ts","../../../projects/experimental/directives/card/card.module.ts","../../../projects/experimental/directives/card/taiga-ui-experimental-directives-card.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./card.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-card',\n },\n})\nexport class TuiCardComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\n\nimport {TuiCardComponent} from './card.component';\n\n@Directive({\n selector: '[tuiCard]',\n host: {\n tuiCard: '',\n '[attr.data-size]': 'size || \"m\"',\n },\n})\nexport class TuiCardDirective {\n @Input('tuiCard')\n size: TuiSizeL | '' = 'm';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiCardComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCardComponent} from './card.component';\nimport {TuiCardDirective} from './card.directive';\n\n@NgModule({\n declarations: [TuiCardComponent, TuiCardDirective],\n exports: [TuiCardDirective],\n})\nexport class TuiCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAWa,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,0FARf,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+kBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4FAQH,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAT5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,EAAE;oBACZ,SAAS,EAAE,CAAC,oBAAoB,CAAC;oBACjC,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EA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AAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAHP,YAAA,EAAA,CAAA,gBAAgB,EAAE,gBAAgB,aACvC,gBAAgB,CAAA,EAAA,CAAA,CAAA;4GAEjB,aAAa,EAAA,CAAA,CAAA;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;oBAClD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, Inject, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
5
|
-
import { tuiAvatarOptionsProvider, tuiButtonOptionsProvider } from '@taiga-ui/experimental/components';
|
|
6
|
-
|
|
7
|
-
class TuiCellComponent {
|
|
8
|
-
}
|
|
9
|
-
TuiCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
TuiCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCellComponent, selector: "ng-component", host: { classAttribute: "tui-cell" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiCell]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;align-items:center;box-sizing:content-box;isolation:isolate;color:var(--tui-text-01);padding:var(--t-padding);min-height:var(--t-height);--tui-height: calc(var(--tui-height-s) - .5rem);--t-padding: .125rem 1rem}[tuiCell] [tuiCellSide]{position:relative;display:flex;max-height:var(--t-height);align-items:center;align-self:stretch}[tuiCell] [tuiCellActions]{position:absolute;right:0;z-index:1;padding-right:inherit}[tuiCell] [tuiCellActions]~*{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}[tuiCell] [tuiCellActions] button,[tuiCell] [tuiCellActions] a{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;opacity:0}[tuiCell] [tuiCellActions] button:focus-visible,[tuiCell] [tuiCellActions] a:focus-visible{opacity:1}[tuiCell] [tuiSubtitle]{display:flex;align-items:center;grid-gap:.25rem;gap:.25rem;color:var(--tui-text-02)}[tuiCell] [tuiTitle]{flex-shrink:7;-webkit-margin-end:auto;margin-inline-end:auto;align-items:normal}[tuiCell] [tuiTitle]~[tuiTitle]{flex-shrink:3;-webkit-margin-end:0;margin-inline-end:0;text-align:right;align-items:flex-end}[tuiCell] tui-badge-notification[data-size=xs]{position:absolute;top:50%;transform:translateY(-50%);left:-.625rem}[tuiCell][data-size=s]{--t-height: calc(var(--tui-height-s) - .5rem);--t-padding: .125rem 1rem}[tuiCell][data-size=s] [tuiTitle]{max-height:100%;font:var(--tui-font-text-s-2);grid-gap:0;gap:0}[tuiCell][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs-s)}[tuiCell][data-size=s]>*:not(:first-child),[tuiCell][data-size=s]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:.5rem;margin-inline-start:.5rem}[tuiCell][data-size=s]>tui-avatar,[tuiCell][data-size=s]>tui-avatar-stack tui-avatar,[tuiCell][data-size=s]>[tuiCellSide] tui-avatar,[tuiCell][data-size=s]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 1.5rem}[tuiCell][data-size=m]{--t-height: calc(var(--tui-height-m) - .75rem);--t-padding: .375rem 1rem}[tuiCell][data-size=m] [tuiTitle]{font:var(--tui-font-text-s-2);grid-gap:.125rem;gap:.125rem}[tuiCell][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-xs-2)}[tuiCell][data-size=m]>*:not(:first-child),[tuiCell][data-size=m]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:.75rem;margin-inline-start:.75rem}[tuiCell][data-size=m]>tui-avatar,[tuiCell][data-size=m]>tui-avatar-stack tui-avatar,[tuiCell][data-size=m]>[tuiCellSide] tui-avatar,[tuiCell][data-size=m]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 2rem}[tuiCell][data-size=l]{--t-height: calc(var(--tui-height-l) - 1rem);--t-padding: .5rem 1rem}[tuiCell][data-size=l]>*:not(:first-child),[tuiCell][data-size=l]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:1rem;margin-inline-start:1rem}[tuiCell][data-size=l]>tui-avatar,[tuiCell][data-size=l]>tui-avatar-stack tui-avatar,[tuiCell][data-size=l]>[tuiCellSide] tui-avatar,[tuiCell][data-size=l]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 2.5rem}[tuiCell]:hover [tuiCellActions]~*{opacity:0}[tuiCell]:hover [tuiCellActions] button,[tuiCell]:hover [tuiCellActions] a{opacity:1}[tuiOption] [tuiCell],tui-primitive-textfield [tuiCell]{padding:0}@media (hover: hover) and (pointer: fine){a[tuiCell]:hover,button[tuiCell]:hover{background:var(--tui-clear);cursor:pointer}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{
|
|
14
|
-
template: '',
|
|
15
|
-
styleUrls: ['./cell.styles.less'],
|
|
16
|
-
encapsulation: ViewEncapsulation.None,
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
-
host: {
|
|
19
|
-
class: 'tui-cell',
|
|
20
|
-
},
|
|
21
|
-
}]
|
|
22
|
-
}] });
|
|
23
|
-
|
|
24
|
-
class TuiCellDirective {
|
|
25
|
-
constructor(directiveStyles) {
|
|
26
|
-
this.size = 'l';
|
|
27
|
-
directiveStyles.addComponent(TuiCellComponent);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
TuiCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellDirective, deps: [{ token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
-
TuiCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiCellDirective, selector: "[tuiCell]", inputs: { size: ["tuiCell", "size"] }, host: { attributes: { "tuiCell": "" }, properties: { "attr.data-size": "size || \"l\"" } }, providers: [
|
|
32
|
-
tuiAvatarOptionsProvider({ size: 's' }),
|
|
33
|
-
tuiButtonOptionsProvider({ size: 's' }),
|
|
34
|
-
], ngImport: i0 });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellDirective, decorators: [{
|
|
36
|
-
type: Directive,
|
|
37
|
-
args: [{
|
|
38
|
-
selector: '[tuiCell]',
|
|
39
|
-
providers: [
|
|
40
|
-
tuiAvatarOptionsProvider({ size: 's' }),
|
|
41
|
-
tuiButtonOptionsProvider({ size: 's' }),
|
|
42
|
-
],
|
|
43
|
-
host: {
|
|
44
|
-
tuiCell: '',
|
|
45
|
-
'[attr.data-size]': 'size || "l"',
|
|
46
|
-
},
|
|
47
|
-
}]
|
|
48
|
-
}], ctorParameters: function () { return [{ type: i1.TuiDirectiveStylesService, decorators: [{
|
|
49
|
-
type: Inject,
|
|
50
|
-
args: [TuiDirectiveStylesService]
|
|
51
|
-
}] }]; }, propDecorators: { size: [{
|
|
52
|
-
type: Input,
|
|
53
|
-
args: ['tuiCell']
|
|
54
|
-
}] } });
|
|
55
|
-
|
|
56
|
-
class TuiCellModule {
|
|
57
|
-
}
|
|
58
|
-
TuiCellModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
59
|
-
TuiCellModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellModule, declarations: [TuiCellComponent, TuiCellDirective], exports: [TuiCellComponent, TuiCellDirective] });
|
|
60
|
-
TuiCellModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellModule });
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellModule, decorators: [{
|
|
62
|
-
type: NgModule,
|
|
63
|
-
args: [{
|
|
64
|
-
declarations: [TuiCellComponent, TuiCellDirective],
|
|
65
|
-
exports: [TuiCellComponent, TuiCellDirective],
|
|
66
|
-
}]
|
|
67
|
-
}] });
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Generated bundle index. Do not edit.
|
|
71
|
-
*/
|
|
72
|
-
|
|
73
|
-
export { TuiCellComponent, TuiCellDirective, TuiCellModule };
|
|
74
|
-
//# sourceMappingURL=taiga-ui-experimental-directives-cell.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives-cell.js","sources":["../../../projects/experimental/directives/cell/cell.component.ts","../../../projects/experimental/directives/cell/cell.directive.ts","../../../projects/experimental/directives/cell/cell.module.ts","../../../projects/experimental/directives/cell/taiga-ui-experimental-directives-cell.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./cell.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-cell',\n },\n})\nexport class TuiCellComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {\n tuiAvatarOptionsProvider,\n tuiButtonOptionsProvider,\n} from '@taiga-ui/experimental/components';\n\nimport {TuiCellComponent} from './cell.component';\n\n@Directive({\n selector: '[tuiCell]',\n providers: [\n tuiAvatarOptionsProvider({size: 's'}),\n tuiButtonOptionsProvider({size: 's'}),\n ],\n host: {\n tuiCell: '',\n '[attr.data-size]': 'size || \"l\"',\n },\n})\nexport class TuiCellDirective {\n @Input('tuiCell')\n size: TuiSizeL | TuiSizeS | '' = 'l';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiCellComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCellComponent} from './cell.component';\nimport {TuiCellDirective} from './cell.directive';\n\n@NgModule({\n declarations: [TuiCellComponent, TuiCellDirective],\n exports: [TuiCellComponent, TuiCellDirective],\n})\nexport class TuiCellModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,0FARf,EAAE,EAAA,QAAA,E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AY,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;AAClD,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;AAChD,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-directives-fade.js","sources":["../../../projects/experimental/directives/fade/fade.component.ts","../../../projects/experimental/directives/fade/fade.directive.ts","../../../projects/experimental/directives/fade/fade.module.ts","../../../projects/experimental/directives/fade/taiga-ui-experimental-directives-fade.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./fade.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-fade-styles',\n },\n})\nexport class TuiFadeComponent {}\n","import {\n Directive,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n NgZone,\n Self,\n} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {\n TuiDestroyService,\n TuiDirectiveStylesService,\n TuiResizeService,\n tuiZonefree,\n} from '@taiga-ui/cdk';\nimport {TuiOrientation} from '@taiga-ui/core';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {TuiFadeComponent} from './fade.component';\n\n@Directive({\n selector: '[tuiFade]',\n providers: [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {characterData: true, subtree: true},\n },\n ],\n})\nexport class TuiFadeDirective {\n // TODO: Remove when lh CSS units are supported: https://caniuse.com/mdn-css_types_length_lh\n @Input('tuiFadeHeight')\n @HostBinding('style.line-height')\n @HostBinding('style.--line-height')\n lineHeight: string | null = null;\n\n @Input('tuiFadeSize')\n @HostBinding('style.--fade-size')\n size = '1.5em';\n\n @Input('tuiFadeOffset')\n @HostBinding('style.--fade-offset')\n offset = '0em';\n\n @Input('tuiFade')\n @HostBinding('attr.data-orientation')\n orientation: TuiOrientation | '' = 'horizontal';\n\n constructor(\n @Self() @Inject(TuiDestroyService) destroy$: Observable<unknown>,\n @Inject(TuiResizeService) resize$: Observable<unknown>,\n @Inject(MutationObserverService) mutate$: Observable<unknown>,\n @Inject(ElementRef) element: ElementRef<HTMLElement>,\n @Inject(NgZone) zone: NgZone,\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n const el = element.nativeElement;\n\n directiveStyles.addComponent(TuiFadeComponent);\n merge(resize$, mutate$, fromEvent(el, 'scroll'))\n .pipe(tuiZonefree(zone), takeUntil(destroy$))\n .subscribe(() => {\n el.classList.toggle('_start', !!el.scrollLeft || !!el.scrollTop);\n el.classList.toggle('_end', this.isEnd(el));\n });\n }\n\n private isEnd(el: HTMLElement): boolean {\n return (\n Math.round(el.scrollLeft) < el.scrollWidth - el.clientWidth ||\n Math.round(el.scrollTop) < el.scrollHeight - el.clientHeight ||\n (this.orientation === 'horizontal' && el.scrollHeight > el.clientHeight)\n );\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFadeComponent} from './fade.component';\nimport {TuiFadeDirective} from './fade.directive';\n\n@NgModule({\n declarations: [TuiFadeComponent, TuiFadeDirective],\n exports: [TuiFadeDirective],\n})\nexport class TuiFadeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAWa,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,iGARf,EAAE,EAA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AAC,mBAAmB,CAAA;gBAKhC,MAAM,EAAA,CAAA;sBAFL,KAAK;uBAAC,eAAe,CAAA;;sBACrB,WAAW;uBAAC,qBAAqB,CAAA;gBAKlC,WAAW,EAAA,CAAA;sBAFV,KAAK;uBAAC,SAAS,CAAA;;sBACf,WAAW;uBAAC,uBAAuB,CAAA;;;MC5C3B,aAAa,CAAA;;2GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAHP,YAAA,EAAA,CAAA,gBAAgB,EAAE,gBAAgB,aACvC,gBAAgB,CAAA,EAAA,CAAA,CAAA;4GAEjB,aAAa,EAAA,CAAA,CAAA;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;oBAClD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC9B,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, Inject, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@taiga-ui/cdk';
|
|
4
|
-
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
5
|
-
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
6
|
-
|
|
7
|
-
class TuiIconsComponent {
|
|
8
|
-
}
|
|
9
|
-
TuiIconsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
TuiIconsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiIconsComponent, selector: "ng-component", host: { classAttribute: "tui-icons" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiIcons]:before,[tuiIcons]:after{font-size:1.5rem}[tuiIcons]._icon-left:before,[tuiIcons]._icon-right:after{content:\"\";width:1em;height:1em;flex-shrink:0;background:currentColor;-webkit-mask:var(--t-mask-left) no-repeat center / contain;mask:var(--t-mask-left) no-repeat center / contain}[tuiIcons]._icon-right:after{-webkit-mask:var(--t-mask-right) no-repeat center / contain;mask:var(--t-mask-right) no-repeat center / contain}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{
|
|
14
|
-
template: '',
|
|
15
|
-
styleUrls: ['./icons.styles.less'],
|
|
16
|
-
encapsulation: ViewEncapsulation.None,
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
-
host: {
|
|
19
|
-
class: 'tui-icons',
|
|
20
|
-
},
|
|
21
|
-
}]
|
|
22
|
-
}] });
|
|
23
|
-
|
|
24
|
-
// TODO: Turn into a hostDirective in 4.0
|
|
25
|
-
class TuiIconsDirective {
|
|
26
|
-
constructor(resolver, directiveStyles) {
|
|
27
|
-
this.resolver = resolver;
|
|
28
|
-
this.iconLeft = '';
|
|
29
|
-
this.iconRight = '';
|
|
30
|
-
directiveStyles.addComponent(TuiIconsComponent);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
TuiIconsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsDirective, deps: [{ token: TUI_ICON_RESOLVER }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
-
TuiIconsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiIconsDirective, selector: "[iconLeft]:is(button,tui-badge,tui-chip),[iconRight]:is(button,tui-badge,tui-chip),[tuiBadge][iconLeft],[tuiBadge][iconRight],[tuiChip][iconLeft],[tuiChip][iconRight],[tuiButtonClose]", inputs: { iconLeft: "iconLeft", iconRight: "iconRight" }, host: { attributes: { "tuiIcons": "" }, properties: { "class._icon-left": "iconLeft", "class._icon-right": "iconRight", "style.--t-mask-left": "\"url(\" + resolver(iconLeft) + \")\"", "style.--t-mask-right": "\"url(\" + resolver(iconRight) + \")\"" } }, ngImport: i0 });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsDirective, decorators: [{
|
|
36
|
-
type: Directive,
|
|
37
|
-
args: [{
|
|
38
|
-
selector: '[iconLeft]:is(button,tui-badge,tui-chip),[iconRight]:is(button,tui-badge,tui-chip),[tuiBadge][iconLeft],[tuiBadge][iconRight],[tuiChip][iconLeft],[tuiChip][iconRight],[tuiButtonClose]',
|
|
39
|
-
host: {
|
|
40
|
-
tuiIcons: '',
|
|
41
|
-
'[class._icon-left]': 'iconLeft',
|
|
42
|
-
'[class._icon-right]': 'iconRight',
|
|
43
|
-
'[style.--t-mask-left]': '"url(" + resolver(iconLeft) + ")"',
|
|
44
|
-
'[style.--t-mask-right]': '"url(" + resolver(iconRight) + ")"',
|
|
45
|
-
},
|
|
46
|
-
}]
|
|
47
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
48
|
-
type: Inject,
|
|
49
|
-
args: [TUI_ICON_RESOLVER]
|
|
50
|
-
}] }, { type: i1.TuiDirectiveStylesService, decorators: [{
|
|
51
|
-
type: Inject,
|
|
52
|
-
args: [TuiDirectiveStylesService]
|
|
53
|
-
}] }]; }, propDecorators: { iconLeft: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], iconRight: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}] } });
|
|
58
|
-
|
|
59
|
-
class TuiIconsModule {
|
|
60
|
-
}
|
|
61
|
-
TuiIconsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
62
|
-
TuiIconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsModule, declarations: [TuiIconsComponent, TuiIconsDirective], exports: [TuiIconsDirective] });
|
|
63
|
-
TuiIconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsModule });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsModule, decorators: [{
|
|
65
|
-
type: NgModule,
|
|
66
|
-
args: [{
|
|
67
|
-
declarations: [TuiIconsComponent, TuiIconsDirective],
|
|
68
|
-
exports: [TuiIconsDirective],
|
|
69
|
-
}]
|
|
70
|
-
}] });
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Generated bundle index. Do not edit.
|
|
74
|
-
*/
|
|
75
|
-
|
|
76
|
-
export { TuiIconsComponent, TuiIconsDirective, TuiIconsModule };
|
|
77
|
-
//# sourceMappingURL=taiga-ui-experimental-directives-icons.js.map
|