@taiga-ui/experimental 3.58.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,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TuiButtonVerticalComponent {
|
|
4
|
-
}
|
|
5
|
-
TuiButtonVerticalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonVerticalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
TuiButtonVerticalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonVerticalComponent, selector: "ng-component", host: { classAttribute: "tui-button-vertical-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiButton][tuiButtonVertical]{--t-line-height: 1rem;--t-margin: 0rem !important;flex-direction:column;height:auto;padding:.75rem;grid-gap:.375rem;gap:.375rem;min-width:5rem;white-space:pre-line;font:var(--tui-font-text-s-2)}[tuiButton][tuiButtonVertical]>*{max-height:calc(var(--t-line-height) * 2)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiButtonVerticalComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
template: '',
|
|
11
|
-
styleUrls: ['./button-vertical.style.less'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None,
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
host: {
|
|
15
|
-
class: 'tui-button-vertical-styles',
|
|
16
|
-
},
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLXZlcnRpY2FsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9kaXJlY3RpdmVzL2J1dHRvbi12ZXJ0aWNhbC9idXR0b24tdmVydGljYWwuY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
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TuiCardComponent {
|
|
4
|
-
}
|
|
5
|
-
TuiCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
TuiCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCardComponent, selector: "ng-component", host: { classAttribute: "tui-card" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiCard]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;display:flex;align-items:flex-start;justify-content:space-between;background:var(--tui-base-02);border-radius:.75rem;box-sizing:border-box;padding:.75rem;grid-gap:.75rem;gap:.75rem;flex-direction:column;text-decoration:none;width:var(--t-size);height:var(--t-size)}[tuiCard][data-size=m]{--t-size: 8.75rem}[tuiCard] [tuiTitle]{font-weight:bold}[tuiCard] [tuiSubtitle]{color:var(--tui-text-01)}[tuiCard] [tuiTitle],[tuiCard] [tuiSubtitle]{max-width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCardComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
template: '',
|
|
11
|
-
styleUrls: ['./card.styles.less'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None,
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
host: {
|
|
15
|
-
class: 'tui-card',
|
|
16
|
-
},
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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cmQnLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUNhcmRDb21wb25lbnQge31cbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TuiCellComponent {
|
|
4
|
-
}
|
|
5
|
-
TuiCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
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]{--tui-height: calc(var(--tui-height-s) - .5rem);--t-padding: .125rem 1rem;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)}[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 });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCellComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
template: '',
|
|
11
|
-
styleUrls: ['./cell.styles.less'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None,
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
host: {
|
|
15
|
-
class: 'tui-cell',
|
|
16
|
-
},
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VsbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvZGlyZWN0aXZlcy9jZWxsL2NlbGwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBV3BGLE1BQU0sT0FBTyxnQkFBZ0I7OzhHQUFoQixnQkFBZ0I7a0dBQWhCLGdCQUFnQiwwRkFSZixFQUFFOzRGQVFILGdCQUFnQjtrQkFUNUIsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsRUFBRTtvQkFDWixTQUFTLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQztvQkFDakMsYUFBYSxFQUFFLGlCQUFpQixDQUFDLElBQUk7b0JBQ3JDLGVBQWUsRUFBRSx1QkFBdUIsQ0FBQyxNQUFNO29CQUMvQyxJQUFJLEVBQUU7d0JBQ0YsS0FBSyxFQUFFLFVBQVU7cUJBQ3BCO2lCQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHRlbXBsYXRlOiAnJyxcbiAgICBzdHlsZVVybHM6IFsnLi9jZWxsLnN0eWxlcy5sZXNzJ10sXG4gICAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgICBob3N0OiB7XG4gICAgICAgIGNsYXNzOiAndHVpLWNlbGwnLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUNlbGxDb21wb25lbnQge31cbiJdfQ==
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, HostBinding, Inject, Input, NgZone, Self, } from '@angular/core';
|
|
2
|
-
import { MUTATION_OBSERVER_INIT, MutationObserverService, } from '@ng-web-apis/mutation-observer';
|
|
3
|
-
import { TuiDestroyService, TuiDirectiveStylesService, TuiResizeService, tuiZonefree, } from '@taiga-ui/cdk';
|
|
4
|
-
import { fromEvent, merge } from 'rxjs';
|
|
5
|
-
import { takeUntil } from 'rxjs/operators';
|
|
6
|
-
import { TuiFadeComponent } from './fade.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "rxjs";
|
|
9
|
-
import * as i2 from "@taiga-ui/cdk";
|
|
10
|
-
export class TuiFadeDirective {
|
|
11
|
-
constructor(destroy$, resize$, mutate$, element, zone, directiveStyles) {
|
|
12
|
-
// TODO: Remove when lh CSS units are supported: https://caniuse.com/mdn-css_types_length_lh
|
|
13
|
-
this.lineHeight = null;
|
|
14
|
-
this.size = '1.5em';
|
|
15
|
-
this.offset = '0em';
|
|
16
|
-
this.orientation = 'horizontal';
|
|
17
|
-
const el = element.nativeElement;
|
|
18
|
-
directiveStyles.addComponent(TuiFadeComponent);
|
|
19
|
-
merge(resize$, mutate$, fromEvent(el, 'scroll'))
|
|
20
|
-
.pipe(tuiZonefree(zone), takeUntil(destroy$))
|
|
21
|
-
.subscribe(() => {
|
|
22
|
-
el.classList.toggle('_start', !!el.scrollLeft || !!el.scrollTop);
|
|
23
|
-
el.classList.toggle('_end', this.isEnd(el));
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
isEnd(el) {
|
|
27
|
-
return (Math.round(el.scrollLeft) < el.scrollWidth - el.clientWidth ||
|
|
28
|
-
Math.round(el.scrollTop) < el.scrollHeight - el.clientHeight ||
|
|
29
|
-
(this.orientation === 'horizontal' && el.scrollHeight > el.clientHeight));
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
TuiFadeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeDirective, deps: [{ token: TuiDestroyService, self: true }, { token: TuiResizeService }, { token: MutationObserverService }, { token: ElementRef }, { token: NgZone }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
-
TuiFadeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiFadeDirective, selector: "[tuiFade]", inputs: { lineHeight: ["tuiFadeHeight", "lineHeight"], size: ["tuiFadeSize", "size"], offset: ["tuiFadeOffset", "offset"], orientation: ["tuiFade", "orientation"] }, host: { properties: { "style.line-height": "this.lineHeight", "style.--line-height": "this.lineHeight", "style.--fade-size": "this.size", "style.--fade-offset": "this.offset", "attr.data-orientation": "this.orientation" } }, providers: [
|
|
34
|
-
TuiDestroyService,
|
|
35
|
-
TuiResizeService,
|
|
36
|
-
MutationObserverService,
|
|
37
|
-
{
|
|
38
|
-
provide: MUTATION_OBSERVER_INIT,
|
|
39
|
-
useValue: { characterData: true, subtree: true },
|
|
40
|
-
},
|
|
41
|
-
], ngImport: i0 });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFadeDirective, decorators: [{
|
|
43
|
-
type: Directive,
|
|
44
|
-
args: [{
|
|
45
|
-
selector: '[tuiFade]',
|
|
46
|
-
providers: [
|
|
47
|
-
TuiDestroyService,
|
|
48
|
-
TuiResizeService,
|
|
49
|
-
MutationObserverService,
|
|
50
|
-
{
|
|
51
|
-
provide: MUTATION_OBSERVER_INIT,
|
|
52
|
-
useValue: { characterData: true, subtree: true },
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
}]
|
|
56
|
-
}], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
|
|
57
|
-
type: Self
|
|
58
|
-
}, {
|
|
59
|
-
type: Inject,
|
|
60
|
-
args: [TuiDestroyService]
|
|
61
|
-
}] }, { type: i1.Observable, decorators: [{
|
|
62
|
-
type: Inject,
|
|
63
|
-
args: [TuiResizeService]
|
|
64
|
-
}] }, { type: i1.Observable, decorators: [{
|
|
65
|
-
type: Inject,
|
|
66
|
-
args: [MutationObserverService]
|
|
67
|
-
}] }, { type: i0.ElementRef, decorators: [{
|
|
68
|
-
type: Inject,
|
|
69
|
-
args: [ElementRef]
|
|
70
|
-
}] }, { type: i0.NgZone, decorators: [{
|
|
71
|
-
type: Inject,
|
|
72
|
-
args: [NgZone]
|
|
73
|
-
}] }, { type: i2.TuiDirectiveStylesService, decorators: [{
|
|
74
|
-
type: Inject,
|
|
75
|
-
args: [TuiDirectiveStylesService]
|
|
76
|
-
}] }]; }, propDecorators: { lineHeight: [{
|
|
77
|
-
type: Input,
|
|
78
|
-
args: ['tuiFadeHeight']
|
|
79
|
-
}, {
|
|
80
|
-
type: HostBinding,
|
|
81
|
-
args: ['style.line-height']
|
|
82
|
-
}, {
|
|
83
|
-
type: HostBinding,
|
|
84
|
-
args: ['style.--line-height']
|
|
85
|
-
}], size: [{
|
|
86
|
-
type: Input,
|
|
87
|
-
args: ['tuiFadeSize']
|
|
88
|
-
}, {
|
|
89
|
-
type: HostBinding,
|
|
90
|
-
args: ['style.--fade-size']
|
|
91
|
-
}], offset: [{
|
|
92
|
-
type: Input,
|
|
93
|
-
args: ['tuiFadeOffset']
|
|
94
|
-
}, {
|
|
95
|
-
type: HostBinding,
|
|
96
|
-
args: ['style.--fade-offset']
|
|
97
|
-
}], orientation: [{
|
|
98
|
-
type: Input,
|
|
99
|
-
args: ['tuiFade']
|
|
100
|
-
}, {
|
|
101
|
-
type: HostBinding,
|
|
102
|
-
args: ['attr.data-orientation']
|
|
103
|
-
}] } });
|
|
104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvZGlyZWN0aXZlcy9mYWRlL2ZhZGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBQ1QsVUFBVSxFQUNWLFdBQVcsRUFDWCxNQUFNLEVBQ04sS0FBSyxFQUNMLE1BQU0sRUFDTixJQUFJLEdBQ1AsTUFBTS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nICYmIGVsLnNjcm9sbEhlaWdodCA+IGVsLmNsaWVudEhlaWdodClcbiAgICAgICAgKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TuiIconsComponent {
|
|
4
|
-
}
|
|
5
|
-
TuiIconsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
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 });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
template: '',
|
|
11
|
-
styleUrls: ['./icons.styles.less'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None,
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
host: {
|
|
15
|
-
class: 'tui-icons',
|
|
16
|
-
},
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# source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oLFxuICAgIGhvc3Q6IHtcbiAgICAgICAgY2xhc3M6ICd0dWktaWNvbnMnLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUljb25zQ29tcG9uZW50IHt9XG4iXX0=
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Directive, Inject, Input } from '@angular/core';
|
|
2
|
-
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
3
|
-
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
4
|
-
import { TuiIconsComponent } from './icons.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@taiga-ui/cdk";
|
|
7
|
-
// TODO: Turn into a hostDirective in 4.0
|
|
8
|
-
export class TuiIconsDirective {
|
|
9
|
-
constructor(resolver, directiveStyles) {
|
|
10
|
-
this.resolver = resolver;
|
|
11
|
-
this.iconLeft = '';
|
|
12
|
-
this.iconRight = '';
|
|
13
|
-
directiveStyles.addComponent(TuiIconsComponent);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
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 });
|
|
17
|
-
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 });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsDirective, decorators: [{
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: '[iconLeft]:is(button,tui-badge,tui-chip),[iconRight]:is(button,tui-badge,tui-chip),[tuiBadge][iconLeft],[tuiBadge][iconRight],[tuiChip][iconLeft],[tuiChip][iconRight],[tuiButtonClose]',
|
|
22
|
-
host: {
|
|
23
|
-
tuiIcons: '',
|
|
24
|
-
'[class._icon-left]': 'iconLeft',
|
|
25
|
-
'[class._icon-right]': 'iconRight',
|
|
26
|
-
'[style.--t-mask-left]': '"url(" + resolver(iconLeft) + ")"',
|
|
27
|
-
'[style.--t-mask-right]': '"url(" + resolver(iconRight) + ")"',
|
|
28
|
-
},
|
|
29
|
-
}]
|
|
30
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
31
|
-
type: Inject,
|
|
32
|
-
args: [TUI_ICON_RESOLVER]
|
|
33
|
-
}] }, { type: i1.TuiDirectiveStylesService, decorators: [{
|
|
34
|
-
type: Inject,
|
|
35
|
-
args: [TuiDirectiveStylesService]
|
|
36
|
-
}] }]; }, propDecorators: { iconLeft: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], iconRight: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}] } });
|
|
41
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbnMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2RpcmVjdGl2ZXMvaWNvbnMvaWNvbnMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBT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nQgPSAnJztcblxuICAgIEBJbnB1dCgpXG4gICAgaWNvblJpZ2h0ID0gJyc7XG5cbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgQEluamVjdChUVUlfSUNPTl9SRVNPTFZFUikgcmVhZG9ubHkgcmVzb2x2ZXI6IFR1aVN0cmluZ0hhbmRsZXI8c3RyaW5nPixcbiAgICAgICAgQEluamVjdChUdWlEaXJlY3RpdmVTdHlsZXNTZXJ2aWNlKSBkaXJlY3RpdmVTdHlsZXM6IFR1aURpcmVjdGl2ZVN0eWxlc1NlcnZpY2UsXG4gICAgKSB7XG4gICAgICAgIGRpcmVjdGl2ZVN0eWxlcy5hZGRDb21wb25lbnQoVHVpSWNvbnNDb21wb25lbnQpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { TuiIconsComponent } from './icons.component';
|
|
3
|
-
import { TuiIconsDirective } from './icons.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class TuiIconsModule {
|
|
6
|
-
}
|
|
7
|
-
TuiIconsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
TuiIconsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsModule, declarations: [TuiIconsComponent, TuiIconsDirective], exports: [TuiIconsDirective] });
|
|
9
|
-
TuiIconsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsModule });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIconsModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [TuiIconsComponent, TuiIconsDirective],
|
|
14
|
-
exports: [TuiIconsDirective],
|
|
15
|
-
}]
|
|
16
|
-
}] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2RpcmVjdGl2ZXMvaWNvbnMvaWNvbnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFDcEQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUJBQW1CLENBQUM7O0FBTXBELE1BQU0sT0FBTyxjQUFjOzs0R0FBZCxjQUFjOzZHQUFkLGNBQWMsaUJBSFIsaUJBQWlCLEVBQUUsaUJBQWlCLGFBQ3pDLGlCQUFpQjs2R0FFbEIsY0FBYzs0RkFBZCxjQUFjO2tCQUoxQixRQUFRO21CQUFDO29CQUNOLFlBQVksRUFBRSxDQUFDLGlCQUFpQixFQUFFLGlCQUFpQixDQUFDO29CQUNwRCxPQUFPLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQztpQkFDL0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtUdWlJY29uc0NvbXBvbmVudH0gZnJvbSAnLi9pY29ucy5jb21wb25lbnQnO1xuaW1wb3J0IHtUdWlJY29uc0RpcmVjdGl2ZX0gZnJvbSAnLi9pY29ucy5kaXJlY3RpdmUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1R1aUljb25zQ29tcG9uZW50LCBUdWlJY29uc0RpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aUljb25zRGlyZWN0aXZlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpSWNvbnNNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TuiSurfaceComponent {
|
|
4
|
-
}
|
|
5
|
-
TuiSurfaceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSurfaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
TuiSurfaceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSurfaceComponent, selector: "ng-component", host: { classAttribute: "tui-surface-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[data-surface]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--tui-gap: .25rem;position:relative;border-radius:var(--tui-radius-l);box-sizing:border-box;padding:1.25rem;background-size:cover;background-repeat:no-repeat;overflow:hidden;isolation:isolate;outline-color:var(--tui-focus);transition-property:background,border-radius,box-shadow,transform,-webkit-backdrop-filter,-webkit-mask;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform,-webkit-backdrop-filter,-webkit-mask}@supports (not (-moz-appearance: none)) and (not (-webkit-hyphens: none)){[data-surface]:before{mix-blend-mode:multiply}}button[data-surface]{cursor:pointer}[data-surface]:before,[data-surface]:after,[tuiSurfaceLayer]:before,[tuiSurfaceLayer]:after{position:absolute;top:0;left:0;width:100%;height:100%;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";z-index:-1;border-radius:inherit;pointer-events:none;background-size:cover;background-repeat:no-repeat;transition-property:opacity,transform,-webkit-backdrop-filter;transition-property:opacity,backdrop-filter,transform;transition-property:opacity,backdrop-filter,transform,-webkit-backdrop-filter}[tuiSurfaceLayer]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;position:absolute!important;z-index:-1;object-fit:cover;border-radius:inherit;box-sizing:border-box;transition-property:box-shadow,filter,padding}input[tuiSurfaceLayer]+[tuiSurfaceLayer]{will-change:padding;background-clip:content-box;overflow:clip;overflow-clip-margin:content-box}input[tuiSurfaceLayer]:checked+[tuiSurfaceLayer]{padding:var(--tui-gap)}input[tuiSurfaceLayer]:focus-visible+[tuiSurfaceLayer]{padding:var(--tui-gap)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]+[tuiSurfaceLayer]{padding:var(--tui-gap)}}input[tuiSurfaceLayer]{color:var(--tui-accent);-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;border-radius:inherit;outline:none;box-shadow:inset 0 0,inset 0 0 var(--tui-base-03)}input[tuiSurfaceLayer]:checked{box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 var(--tui-base-03)}input[tuiSurfaceLayer]:focus-visible{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}input[tuiSurfaceLayer]:checked:focus-visible{filter:brightness(.7);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}[data-surface]:hover input[tuiSurfaceLayer]:checked{filter:brightness(.9);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}}[data-surface=elevated]{box-shadow:var(--tui-shadow);border-radius:var(--tui-radius-xl);background:var(--tui-elevation-01)}button[data-surface=elevated]:active,a[data-surface=elevated]:active{box-shadow:var(--tui-shadow);transform:scale(.95)}@media (hover: hover) and (pointer: fine){button[data-surface=elevated]:hover,a[data-surface=elevated]:hover{box-shadow:var(--tui-shadow-hover);transform:translateY(-.25rem)}}[data-surface=flat]{border-radius:var(--tui-radius-xl);background:var(--tui-clear)}button[data-surface=flat]:active,a[data-surface=flat]:active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){button[data-surface=flat]:hover,a[data-surface=flat]:hover{transform:scale(1.15)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSurfaceComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
template: '',
|
|
11
|
-
styleUrls: ['./surface.style.less'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None,
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
host: {
|
|
15
|
-
class: 'tui-surface-styles',
|
|
16
|
-
},
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VyZmFjZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvZGlyZWN0aXZlcy9zdXJmYWNlL3N1cmZhY2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBV3BGLE1BQU0sT0FBTyxtQkFBbUI7O2lIQUFuQixtQkFBbUI7cUdBQW5CLG1CQUFtQixvR0FSbEIsRUFBRTs0RkFRSCxtQkFBbUI7a0JBVC9CLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLEVBQUU7b0JBQ1osU0FBUyxFQUFFLENBQUMsc0JBQXNCLENBQUM7b0JBQ25DLGFBQWEsRUFBRSxpQkFBaUIsQ0FBQyxJQUFJO29CQUNyQyxlQUFlLEVBQUUsdUJBQXVCLENBQUMsTUFBTTtvQkFDL0MsSUFBSSxFQUFFO3dCQUNGLEtBQUssRUFBRSxvQkFBb0I7cUJBQzlCO2lCQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50LCBWaWV3RW5jYXBzdWxhdGlvbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICAgIHRlbXBsYXRlOiAnJyxcbiAgICBzdHlsZVVybHM6IFsnLi9zdXJmYWNlLnN0eWxlLmxlc3MnXSxcbiAgICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICAgIGhvc3Q6IHtcbiAgICAgICAgY2xhc3M6ICd0dWktc3VyZmFjZS1zdHlsZXMnLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aVN1cmZhY2VDb21wb25lbnQge31cbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class TuiTitleComponent {
|
|
4
|
-
}
|
|
5
|
-
TuiTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
-
TuiTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiTitleComponent, selector: "ng-component", host: { classAttribute: "tui-title" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiTitle]{position:relative;display:flex;flex-direction:column;text-align:left;grid-gap:.25rem;gap:.25rem;margin:0;font:var(--tui-font-text-m-2)}[tuiTitle][data-size=s]{grid-gap:.125rem;gap:.125rem;font:var(--tui-font-text-s)}[tuiTitle][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs)}[tuiTitle][data-size=m]{grid-gap:.125rem;gap:.125rem;font:var(--tui-font-heading-5)}[tuiTitle][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle][data-size=l]{grid-gap:.5rem;gap:.5rem;font:var(--tui-font-heading-3)}[tuiTitle][data-size=l] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiSubtitle]{font:var(--tui-font-text-s-2)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTitleComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
template: '',
|
|
11
|
-
styleUrls: ['./title.style.less'],
|
|
12
|
-
encapsulation: ViewEncapsulation.None,
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
host: {
|
|
15
|
-
class: 'tui-title',
|
|
16
|
-
},
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGl0bGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4v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biJdfQ==
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Inject, Pipe } from '@angular/core';
|
|
2
|
-
import { tuiFormatCurrency, tuiFormatSignSymbol } from '@taiga-ui/addon-commerce';
|
|
3
|
-
import { CHAR_NO_BREAK_SPACE } from '@taiga-ui/cdk';
|
|
4
|
-
import { TUI_NUMBER_FORMAT_OBSERVABLE, tuiFormatNumber, } from '@taiga-ui/core';
|
|
5
|
-
import { map } from 'rxjs/operators';
|
|
6
|
-
import { TUI_AMOUNT_OPTIONS } from './amount.options';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "rxjs";
|
|
9
|
-
const DEFAULT_DECIMAL_LIMIT = 2;
|
|
10
|
-
export class TuiAmountPipePipe {
|
|
11
|
-
constructor(options, format) {
|
|
12
|
-
this.options = options;
|
|
13
|
-
this.format = format;
|
|
14
|
-
}
|
|
15
|
-
transform(value, currency = this.options.currency, currencyAlign = this.options.currencyAlign) {
|
|
16
|
-
return this.format.pipe(map(format => {
|
|
17
|
-
const sign = tuiFormatSignSymbol(value, this.options.sign);
|
|
18
|
-
const currencySymbol = tuiFormatCurrency(currency);
|
|
19
|
-
const formatted = tuiFormatNumber(Math.abs(value), Object.assign(Object.assign({}, format), { decimalLimit: this.getDecimalLimit(value, Number.isNaN(format.decimalLimit)
|
|
20
|
-
? DEFAULT_DECIMAL_LIMIT
|
|
21
|
-
: format.decimalLimit, (format === null || format === void 0 ? void 0 : format.decimal) || `not-zero`) }));
|
|
22
|
-
const space = (currencySymbol === null || currencySymbol === void 0 ? void 0 : currencySymbol.length) > 1 || currencyAlign === `right`
|
|
23
|
-
? CHAR_NO_BREAK_SPACE
|
|
24
|
-
: ``;
|
|
25
|
-
return currencyAlign === `right`
|
|
26
|
-
? `${sign}${formatted}${space}${currencySymbol}`
|
|
27
|
-
: `${sign}${currencySymbol}${space}${formatted}`;
|
|
28
|
-
}));
|
|
29
|
-
}
|
|
30
|
-
getDecimalLimit(value, limit, decimal) {
|
|
31
|
-
return decimal === `always` || (decimal === `not-zero` && value % 1) ? limit : 0;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
TuiAmountPipePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipePipe, deps: [{ token: TUI_AMOUNT_OPTIONS }, { token: TUI_NUMBER_FORMAT_OBSERVABLE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
35
|
-
TuiAmountPipePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipePipe, name: "tuiAmount" });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAmountPipePipe, decorators: [{
|
|
37
|
-
type: Pipe,
|
|
38
|
-
args: [{
|
|
39
|
-
name: `tuiAmount`,
|
|
40
|
-
}]
|
|
41
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
42
|
-
type: Inject,
|
|
43
|
-
args: [TUI_AMOUNT_OPTIONS]
|
|
44
|
-
}] }, { type: i1.Observable, decorators: [{
|
|
45
|
-
type: Inject,
|
|
46
|
-
args: [TUI_NUMBER_FORMAT_OBSERVABLE]
|
|
47
|
-
}] }]; } });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1vdW50LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvcGlwZXMvYW1vdW50L2Ftb3VudC5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxNQUFNLEVBQUUsSUFBSSxFQUFnQixNQUFNLGVBQWUsQ0FBQztBQUMxRCxPQUFPLEVBQUMsaUJBQWlCLEVBQUUsbUJBQW1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l9GT1JNQVRfT0JTRVJWQUJMRSlcbiAgICAgICAgcHJpdmF0ZSByZWFkb25seSBmb3JtYXQ6IE9ic2VydmFibGU8VHVpTnVtYmVyRm9ybWF0U2V0dGluZ3M+LFxuICAgICkge31cblxuICAgIHRyYW5zZm9ybShcbiAgICAgICAgdmFsdWU6IG51bWJlcixcbiAgICAgICAgY3VycmVuY3kgPSB0aGlzLm9wdGlvbnMuY3VycmVuY3ksXG4gICAgICAgIGN1cnJlbmN5QWxpZ24gPSB0aGlzLm9wdGlvbnMuY3VycmVuY3lBbGlnbixcbiAgICApOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xuICAgICAgICByZXR1cm4gdGhpcy5mb3JtYXQucGlwZShcbiAgICAgICAgICAgIG1hcChmb3JtYXQgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnN0IHNpZ24gPSB0dWlGb3JtYXRTaWduU3ltYm9sKHZhbHVlLCB0aGlzLm9wdGlvbnMuc2lnbik7XG4gICAgICAgICAgICAgICAgY29uc3QgY3VycmVuY3lTeW1ib2wgPSB0dWlGb3JtYXRDdXJyZW5jeShjdXJyZW5jeSk7XG4gICAgICAgICAgICAgICAgY29uc3QgZm9ybWF0dGVkID0gdHVpRm9ybWF0TnVtYmVyKE1hdGguYWJzKHZhbHVlKSwge1xuICAgICAgICAgICAgICAgICAgICAuLi5mb3JtYXQsXG4gICAgICAgICAgICAgICAgICAgIGRlY2ltYWxMaW1pdDogdGhpcy5nZXREZWNpbWFsTGltaXQoXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIE51bWJlci5pc05hTihmb3JtYXQuZGVjaW1hbExpbWl0KVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgID8gREVGQVVMVF9ERUNJTUFMX0xJTUlUXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgOiBmb3JtYXQuZGVjaW1hbExpbWl0LFxuICAgICAgICAgICAgICAgICAgICAgICAgZm9ybWF0Py5kZWNpbWFsIHx8IGBub3QtemVyb2AsXG4gICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgY29uc3Qgc3BhY2UgPVxuICAgICAgICAgICAgICAgICAgICBjdXJyZW5jeVN5bWJvbD8ubGVuZ3RoID4gMSB8fCBjdXJyZW5jeUFsaWduID09PSBgcmlnaHRgXG4gICAgICAgICAgICAgICAgICAgICAgICA/IENIQVJfTk9fQlJFQUtfU1BBQ0VcbiAgICAgICAgICAgICAgICAgICAgICAgIDogYGA7XG5cbiAgICAgICAgICAgICAgICByZXR1cm4gY3VycmVuY3lBbGlnbiA9PT0gYHJpZ2h0YFxuICAgICAgICAgICAgICAgICAgICA/IGAke3NpZ259JHtmb3JtYXR0ZWR9JHtzcGFjZX0ke2N1cnJlbmN5U3ltYm9sfWBcbiAgICAgICAgICAgICAgICAgICAgOiBgJHtzaWdufSR7Y3VycmVuY3lTeW1ib2x9JHtzcGFjZX0ke2Zvcm1hdHRlZH1gO1xuICAgICAgICAgICAgfSksXG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXREZWNpbWFsTGltaXQodmFsdWU6IG51bWJlciwgbGltaXQ6IG51bWJlciwgZGVjaW1hbDogVHVpRGVjaW1hbCk6IG51bWJlciB7XG4gICAgICAgIHJldHVybiBkZWNpbWFsID09PSBgYWx3YXlzYCB8fCAoZGVjaW1hbCA9PT0gYG5vdC16ZXJvYCAmJiB2YWx1ZSAlIDEpID8gbGltaXQgOiAwO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Inject, Pipe } from '@angular/core';
|
|
2
|
-
import { TUI_ICON_ERROR } from '@taiga-ui/core';
|
|
3
|
-
import { fromEvent, merge } from 'rxjs';
|
|
4
|
-
import { map, startWith } from 'rxjs/operators';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class TuiFallbackSrcPipe {
|
|
7
|
-
constructor(el) {
|
|
8
|
-
this.el = el;
|
|
9
|
-
}
|
|
10
|
-
transform(src, fallback) {
|
|
11
|
-
return merge(fromEvent(this.el.nativeElement, TUI_ICON_ERROR), fromEvent(this.el.nativeElement, `error`, { capture: true })).pipe(map(() => fallback), startWith(src));
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
TuiFallbackSrcPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcPipe, deps: [{ token: ElementRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
15
|
-
TuiFallbackSrcPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcPipe, name: "tuiFallbackSrc" });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFallbackSrcPipe, decorators: [{
|
|
17
|
-
type: Pipe,
|
|
18
|
-
args: [{
|
|
19
|
-
name: `tuiFallbackSrc`,
|
|
20
|
-
}]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
22
|
-
type: Inject,
|
|
23
|
-
args: [ElementRef]
|
|
24
|
-
}] }]; } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFsbGJhY2stc3JjLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvcGlwZXMvZmFsbGJhY2stc3JjL2ZhbGxiYWNrLXNyYy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUUsTUFBTSxFQUFFLElBQUksRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDdEUsT0FB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aW1wb3J0IHtmcm9tRXZlbnQsIG1lcmdlLCBPYnNlcnZhYmxlfSBmcm9tICdyeGpzJztcbmltcG9ydCB7bWFwLCBzdGFydFdpdGh9IGZyb20gJ3J4anMvb3BlcmF0b3JzJztcblxuQFBpcGUoe1xuICAgIG5hbWU6IGB0dWlGYWxsYmFja1NyY2AsXG59KVxuZXhwb3J0IGNsYXNzIFR1aUZhbGxiYWNrU3JjUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuICAgIGNvbnN0cnVjdG9yKEBJbmplY3QoRWxlbWVudFJlZikgcHJpdmF0ZSByZWFkb25seSBlbDogRWxlbWVudFJlZjxIVE1MRWxlbWVudD4pIHt9XG5cbiAgICB0cmFuc2Zvcm0oc3JjOiBzdHJpbmcsIGZhbGxiYWNrOiBzdHJpbmcpOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xuICAgICAgICByZXR1cm4gbWVyZ2UoXG4gICAgICAgICAgICBmcm9tRXZlbnQodGhpcy5lbC5uYXRpdmVFbGVtZW50LCBUVUlfSUNPTl9FUlJPUiksXG4gICAgICAgICAgICBmcm9tRXZlbnQodGhpcy5lbC5uYXRpdmVFbGVtZW50LCBgZXJyb3JgLCB7Y2FwdHVyZTogdHJ1ZX0pLFxuICAgICAgICApLnBpcGUoXG4gICAgICAgICAgICBtYXAoKCkgPT4gZmFsbGJhY2spLFxuICAgICAgICAgICAgc3RhcnRXaXRoKHNyYyksXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-avatar-stack.js","sources":["../../../projects/experimental/components/avatar-stack/avatar-stack.component.ts","../../../projects/experimental/components/avatar-stack/avatar-stack.module.ts","../../../projects/experimental/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TuiHorizontalDirection} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-avatar-stack',\n template: '<ng-content></ng-content>',\n styleUrls: ['./avatar-stack.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAvatarStackComponent {\n @Input()\n @HostBinding('attr.data-direction')\n direction: TuiHorizontalDirection = 'right';\n}\n","import {NgModule} from '@angular/core';\nimport {\n TuiAvatarComponent,\n TuiAvatarModule,\n} from '@taiga-ui/experimental/components/avatar';\n\nimport {TuiAvatarStackComponent} from './avatar-stack.component';\n\n@NgModule({\n imports: [TuiAvatarModule],\n declarations: [TuiAvatarStackComponent],\n exports: [TuiAvatarStackComponent, TuiAvatarComponent],\n})\nexport class TuiAvatarStackModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAgBa,uBAAuB,CAAA;AAPpC,IAAA,WAAA,GAAA;QAUI,IAAS,CAAA,SAAA,GAA2B,OAAO,CAAC;AAC/C,KAAA;;qHAJY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,+JALtB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,k7GAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;4FAK5B,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAPnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,QAAQ,EAAE,2BAA2B;oBACrC,SAAS,EAAE,CAAC,2BAA2B,CAAC;oBACxC,aAAa,EAAE,iBAAiB,CAAC,IAAI;oBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAClD,iBAAA,CAAA;8BAIG,SAAS,EAAA,CAAA;sBAFR,KAAK;;sBACL,WAAW;uBAAC,qBAAqB,CAAA;;;MCLzB,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAHd,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAD5B,eAAe,CAEf,EAAA,OAAA,EAAA,CAAA,uBAAuB,EAAE,kBAAkB,CAAA,EAAA,CAAA,CAAA;mHAE5C,oBAAoB,EAAA,OAAA,EAAA,CAJpB,CAAC,eAAe,CAAC,CAAA,EAAA,CAAA,CAAA;4FAIjB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,YAAY,EAAE,CAAC,uBAAuB,CAAC;AACvC,oBAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,kBAAkB,CAAC;AACzD,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Inject, Input, NgModule } from '@angular/core';
|
|
3
|
-
import { tuiCreateToken, tuiProvideOptions, tuiIsString } from '@taiga-ui/cdk';
|
|
4
|
-
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
5
|
-
import * as i1 from '@angular/common';
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i2 from '@taiga-ui/kit';
|
|
8
|
-
import { TuiLazyLoadingModule } from '@taiga-ui/kit';
|
|
9
|
-
import { TuiIconModule } from '@taiga-ui/experimental/components/icon';
|
|
10
|
-
|
|
11
|
-
const TUI_AVATAR_DEFAULT_OPTIONS = {
|
|
12
|
-
round: true,
|
|
13
|
-
size: `m`,
|
|
14
|
-
};
|
|
15
|
-
const TUI_AVATAR_OPTIONS = tuiCreateToken(TUI_AVATAR_DEFAULT_OPTIONS);
|
|
16
|
-
function tuiAvatarOptionsProvider(options) {
|
|
17
|
-
return tuiProvideOptions(TUI_AVATAR_OPTIONS, options, TUI_AVATAR_DEFAULT_OPTIONS);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
class TuiAvatarComponent {
|
|
21
|
-
constructor(options, resolver) {
|
|
22
|
-
this.options = options;
|
|
23
|
-
this.resolver = resolver;
|
|
24
|
-
this.size = this.options.size;
|
|
25
|
-
this.round = this.options.round;
|
|
26
|
-
this.src = null;
|
|
27
|
-
this.appearance = '';
|
|
28
|
-
}
|
|
29
|
-
get value() {
|
|
30
|
-
return this.src || '';
|
|
31
|
-
}
|
|
32
|
-
get type() {
|
|
33
|
-
if (this.value && !tuiIsString(this.value)) {
|
|
34
|
-
return 'img';
|
|
35
|
-
}
|
|
36
|
-
if (this.value.startsWith('tuiIcon') || this.value.endsWith('.svg')) {
|
|
37
|
-
return 'icon';
|
|
38
|
-
}
|
|
39
|
-
if (this.value.length > 0 && this.value.length < 3) {
|
|
40
|
-
return 'text';
|
|
41
|
-
}
|
|
42
|
-
return this.value.length ? 'img' : 'content';
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
TuiAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, deps: [{ token: TUI_AVATAR_OPTIONS }, { token: TUI_ICON_RESOLVER }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
TuiAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src", appearance: "appearance" }, host: { attributes: { "tuiAppearance": "" }, properties: { "attr.data-appearance": "appearance", "attr.data-size": "size", "attr.data-type": "type", "style.--t-mask": "\"url(\" + resolver(src) + \")\"", "class._round": "round" } }, ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n />\n <ng-container *ngSwitchCase=\"'text'\">{{ value }}</ng-container>\n <ng-container *ngSwitchDefault>\n <ng-content></ng-content>\n </ng-container>\n</ng-container>\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);background:var(--tui-secondary);color:var(--tui-text-02);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center / 60%;mask:var(--t-mask) no-repeat center / 60%}:host[data-size=xxs]{--t-size: 1.5rem;--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=xxs][data-type=content]{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=xs]{--t-size: 2rem;--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:bold}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=s]{--t-size: 2.5rem;--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:bold}:host[data-size=s][data-type=content]{font:var(--tui-font-text-m);font-weight:bold}:host[data-size=m]{--t-size: 3.5rem;--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=m][data-type=content]{font:var(--tui-font-text-l);font-weight:bold}:host[data-size=l]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=l][data-type=content]{font:var(--tui-font-heading-4)}:host[data-size=xl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-size=xxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-type=img]{background:transparent}:host[data-type=icon]:before{content:\"\"}:host._round{--t-radius: calc(var(--t-size) / 2)}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}\n"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.TuiLazyLoadingDirective, selector: "img[loading=\"lazy\"]", inputs: ["src"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, decorators: [{
|
|
48
|
-
type: Component,
|
|
49
|
-
args: [{
|
|
50
|
-
selector: 'tui-avatar',
|
|
51
|
-
templateUrl: './avatar.template.html',
|
|
52
|
-
styleUrls: ['./avatar.style.less'],
|
|
53
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
54
|
-
host: {
|
|
55
|
-
tuiAppearance: '',
|
|
56
|
-
'[attr.data-appearance]': 'appearance',
|
|
57
|
-
'[attr.data-size]': 'size',
|
|
58
|
-
'[attr.data-type]': 'type',
|
|
59
|
-
'[style.--t-mask]': '"url(" + resolver(src) + ")"',
|
|
60
|
-
'[class._round]': 'round',
|
|
61
|
-
},
|
|
62
|
-
}]
|
|
63
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
64
|
-
type: Inject,
|
|
65
|
-
args: [TUI_AVATAR_OPTIONS]
|
|
66
|
-
}] }, { type: undefined, decorators: [{
|
|
67
|
-
type: Inject,
|
|
68
|
-
args: [TUI_ICON_RESOLVER]
|
|
69
|
-
}] }]; }, propDecorators: { size: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], round: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], src: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], appearance: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}] } });
|
|
78
|
-
|
|
79
|
-
class TuiAvatarModule {
|
|
80
|
-
}
|
|
81
|
-
TuiAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
82
|
-
TuiAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, declarations: [TuiAvatarComponent], imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule], exports: [TuiAvatarComponent] });
|
|
83
|
-
TuiAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, imports: [[CommonModule, TuiIconModule, TuiLazyLoadingModule]] });
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, decorators: [{
|
|
85
|
-
type: NgModule,
|
|
86
|
-
args: [{
|
|
87
|
-
imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule],
|
|
88
|
-
declarations: [TuiAvatarComponent],
|
|
89
|
-
exports: [TuiAvatarComponent],
|
|
90
|
-
}]
|
|
91
|
-
}] });
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Generated bundle index. Do not edit.
|
|
95
|
-
*/
|
|
96
|
-
|
|
97
|
-
export { TUI_AVATAR_DEFAULT_OPTIONS, TUI_AVATAR_OPTIONS, TuiAvatarComponent, TuiAvatarModule, tuiAvatarOptionsProvider };
|
|
98
|
-
//# sourceMappingURL=taiga-ui-experimental-components-avatar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-experimental-components-avatar.js","sources":["../../../projects/experimental/components/avatar/avatar.options.ts","../../../projects/experimental/components/avatar/avatar.component.ts","../../../projects/experimental/components/avatar/avatar.template.html","../../../projects/experimental/components/avatar/avatar.module.ts","../../../projects/experimental/components/avatar/taiga-ui-experimental-components-avatar.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk';\nimport {TuiSizeXXL, TuiSizeXXS} from '@taiga-ui/core';\n\nexport interface TuiAvatarOptions {\n readonly round: boolean;\n readonly size: TuiSizeXXL | TuiSizeXXS;\n}\n\nexport const TUI_AVATAR_DEFAULT_OPTIONS: TuiAvatarOptions = {\n round: true,\n size: `m`,\n};\n\nexport const TUI_AVATAR_OPTIONS = tuiCreateToken(TUI_AVATAR_DEFAULT_OPTIONS);\n\nexport function tuiAvatarOptionsProvider(options: Partial<TuiAvatarOptions>): Provider {\n return tuiProvideOptions(TUI_AVATAR_OPTIONS, options, TUI_AVATAR_DEFAULT_OPTIONS);\n}\n","import {ChangeDetectionStrategy, Component, Inject, Input} from '@angular/core';\nimport {SafeResourceUrl} from '@angular/platform-browser';\nimport {tuiIsString, TuiStringHandler} from '@taiga-ui/cdk';\nimport {TUI_ICON_RESOLVER} from '@taiga-ui/experimental/tokens';\n\nimport {TUI_AVATAR_OPTIONS, TuiAvatarOptions} from './avatar.options';\n\n@Component({\n selector: 'tui-avatar',\n templateUrl: './avatar.template.html',\n styleUrls: ['./avatar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n tuiAppearance: '',\n '[attr.data-appearance]': 'appearance',\n '[attr.data-size]': 'size',\n '[attr.data-type]': 'type',\n '[style.--t-mask]': '\"url(\" + resolver(src) + \")\"',\n '[class._round]': 'round',\n },\n})\nexport class TuiAvatarComponent {\n @Input()\n size = this.options.size;\n\n @Input()\n round = this.options.round;\n\n @Input()\n src: SafeResourceUrl | string | null = null;\n\n @Input()\n appearance = '';\n\n constructor(\n @Inject(TUI_AVATAR_OPTIONS) private readonly options: TuiAvatarOptions,\n @Inject(TUI_ICON_RESOLVER) readonly resolver: TuiStringHandler<string>,\n ) {}\n\n get value(): SafeResourceUrl | string {\n return this.src || '';\n }\n\n get type(): 'content' | 'icon' | 'img' | 'text' {\n if (this.value && !tuiIsString(this.value)) {\n return 'img';\n }\n\n if (this.value.startsWith('tuiIcon') || this.value.endsWith('.svg')) {\n return 'icon';\n }\n\n if (this.value.length > 0 && this.value.length < 3) {\n return 'text';\n }\n\n return this.value.length ? 'img' : 'content';\n }\n}\n","<ng-container [ngSwitch]=\"type\">\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n />\n <ng-container *ngSwitchCase=\"'text'\">{{ value }}</ng-container>\n <ng-container *ngSwitchDefault>\n <ng-content></ng-content>\n </ng-container>\n</ng-container>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiIconModule} from '@taiga-ui/experimental/components/icon';\nimport {TuiLazyLoadingModule} from '@taiga-ui/kit';\n\nimport {TuiAvatarComponent} from './avatar.component';\n\n@NgModule({\n imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule],\n declarations: [TuiAvatarComponent],\n exports: [TuiAvatarComponent],\n})\nexport class TuiAvatarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AASa,MAAA,0BAA0B,GAAqB;AACxD,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,IAAI,EAAE,CA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ources":["../../../projects/experimental/components/badge-notification/badge-notification.component.ts","../../../projects/experimental/components/badge-notification/badge-notification.module.ts","../../../projects/experimental/components/badge-notification/taiga-ui-experimental-components-badge-notification.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject, Input} from '@angular/core';\nimport {\n TUI_ANIMATION_OPTIONS,\n TuiAnimationOptions,\n tuiPop,\n TuiSizeL,\n TuiSizeXS,\n} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-badge-notification',\n template: '<ng-content></ng-content>',\n styleUrls: ['./badge-notification.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiPop],\n host: {\n '[attr.data-size]': 'size',\n '[@tuiPop]': 'animation',\n },\n})\nexport class TuiBadgeNotificationComponent {\n @Input()\n size: TuiSizeL | TuiSizeXS = 'l';\n\n constructor(@Inject(TUI_ANIMATION_OPTIONS) readonly animation: TuiAnimationOptions) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBadgeNotificationComponent} from './badge-notification.component';\n\n@NgModule({\n declarations: [TuiBadgeNotificationComponent],\n exports: [TuiBadgeNotificationComponent],\n})\nexport class TuiBadgeNotificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAoBa,6BAA6B,CAAA;AAItC,IAAA,WAAA,CAAoD,SAA8B,EAAA;QAA9B,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;QAFlF,IAAI,CAAA,IAAA,GAAyB,GAAG,CAAC;KAEqD;;AAJ7E,6BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,kBAIlB,qBAAqB,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAJhC,6BAAA,CAAA,IAAA,GAAA,E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