@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
|
@@ -4,5 +4,5 @@ export declare class TuiSurfaceDirective {
|
|
|
4
4
|
tuiSurface: string;
|
|
5
5
|
constructor(directiveStyles: TuiDirectiveStylesService);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiSurfaceDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSurfaceDirective, "[tuiSurface]", never, { "tuiSurface": "tuiSurface"; }, {}, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSurfaceDirective, "[tuiSurface]", never, { "tuiSurface": "tuiSurface"; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiTitleComponent {
|
|
3
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTitleComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTitleComponent, "ng-component", never, {}, {}, never, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTitleComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
5
5
|
}
|
|
@@ -5,5 +5,5 @@ export declare class TuiTitleDirective {
|
|
|
5
5
|
size: TuiSizeL | TuiSizeS | '';
|
|
6
6
|
constructor(directiveStyles: TuiDirectiveStylesService);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTitleDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTitleDirective, "[tuiTitle]", never, { "size": "tuiTitle"; }, {}, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTitleDirective, "[tuiTitle]", never, { "size": "tuiTitle"; }, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core';
|
|
2
|
+
import { tuiIsString } from '@taiga-ui/cdk';
|
|
3
|
+
import { TuiAppearanceDirective, tuiAppearanceOptionsProvider, } from '@taiga-ui/experimental/directives/appearance';
|
|
4
|
+
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
5
|
+
import { TUI_AVATAR_OPTIONS } from './avatar.options';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@taiga-ui/experimental/directives/appearance";
|
|
8
|
+
import * as i2 from "@angular/common";
|
|
9
|
+
import * as i3 from "@taiga-ui/kit";
|
|
10
|
+
export class TuiAvatarComponent {
|
|
11
|
+
constructor(options, resolver) {
|
|
12
|
+
this.options = options;
|
|
13
|
+
this.resolver = resolver;
|
|
14
|
+
this.size = this.options.size;
|
|
15
|
+
this.round = this.options.round;
|
|
16
|
+
this.src = null;
|
|
17
|
+
}
|
|
18
|
+
get value() {
|
|
19
|
+
return this.src || '';
|
|
20
|
+
}
|
|
21
|
+
get type() {
|
|
22
|
+
if (this.value && !tuiIsString(this.value)) {
|
|
23
|
+
return 'img';
|
|
24
|
+
}
|
|
25
|
+
if (this.value.startsWith('tuiIcon') || this.value.endsWith('.svg')) {
|
|
26
|
+
return 'icon';
|
|
27
|
+
}
|
|
28
|
+
if (this.value.length > 0 && this.value.length < 3) {
|
|
29
|
+
return 'text';
|
|
30
|
+
}
|
|
31
|
+
return this.value.length ? 'img' : 'content';
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
TuiAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarComponent, deps: [{ token: TUI_AVATAR_OPTIONS }, { token: TUI_ICON_RESOLVER }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
TuiAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src" }, host: { properties: { "attr.data-size": "size", "attr.data-type": "type", "style.--t-mask": "\"url(\" + resolver(src) + \")\"", "class._round": "round" } }, providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)], hostDirectives: [{ directive: i1.TuiAppearanceDirective, inputs: ["tuiAppearance", "appearance", "tuiAppearanceState", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceFocus"] }], 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:700}: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:700}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-xs);font-weight:700}:host[data-size=s]{--t-size: 2.5rem;--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}:host[data-size=s][data-type=content]{font:var(--tui-font-text-m);font-weight:700}: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:700}: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"], dependencies: [{ kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i3.TuiLazyLoadingDirective, selector: "img[loading=\"lazy\"]", inputs: ["src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{ selector: 'tui-avatar', changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiAppearanceOptionsProvider(TUI_AVATAR_OPTIONS)], hostDirectives: [
|
|
39
|
+
{
|
|
40
|
+
directive: TuiAppearanceDirective,
|
|
41
|
+
inputs: [
|
|
42
|
+
'tuiAppearance: appearance',
|
|
43
|
+
'tuiAppearanceState',
|
|
44
|
+
'tuiAppearanceFocus',
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
], host: {
|
|
48
|
+
'[attr.data-size]': 'size',
|
|
49
|
+
'[attr.data-type]': 'type',
|
|
50
|
+
'[style.--t-mask]': '"url(" + resolver(src) + ")"',
|
|
51
|
+
'[class._round]': 'round',
|
|
52
|
+
}, 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:700}: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:700}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-xs);font-weight:700}:host[data-size=s]{--t-size: 2.5rem;--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}:host[data-size=s][data-type=content]{font:var(--tui-font-text-m);font-weight:700}: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:700}: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"] }]
|
|
53
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
54
|
+
type: Inject,
|
|
55
|
+
args: [TUI_AVATAR_OPTIONS]
|
|
56
|
+
}] }, { type: undefined, decorators: [{
|
|
57
|
+
type: Inject,
|
|
58
|
+
args: [TUI_ICON_RESOLVER]
|
|
59
|
+
}] }]; }, propDecorators: { size: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], round: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], src: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}] } });
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2F2YXRhci9hdmF0YXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYXZhdGFyL2F2YXRhci50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUVoRixPQUFPLEVBQUMsV0FBVyxFQUFtQixNQUFNLGVBQWUsQ0FBQztBQUM1RCxPQUFPLEVBQ0gsc0JBQXNCLEVBQ3RCLDRCQUE0QixHQUMvQixNQUFNLDhDQUE4QyxDQUFDO0FBQ3RELE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLCtCQUErQixDQUFDO0FBRWhFLE9BQU8sRUFBQyxrQkFBa0IsRUFBbUIsTUFBTSxrQkFBa0IsQ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AgICAgfVxuXG4gICAgICAgIGlmICh0aGlzLnZhbHVlLmxlbmd0aCA+IDAgJiYgdGhpcy52YWx1ZS5sZW5ndGggPCAzKSB7XG4gICAgICAgICAgICByZXR1cm4gJ3RleHQnO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRoaXMudmFsdWUubGVuZ3RoID8gJ2ltZycgOiAnY29udGVudCc7XG4gICAgfVxufVxuIiwiPG5nLWNvbnRhaW5lciBbbmdTd2l0Y2hdPVwidHlwZVwiPlxuICAgIDxpbWdcbiAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidpbWcnXCJcbiAgICAgICAgYWx0PVwiXCJcbiAgICAgICAgbG9hZGluZz1cImxhenlcIlxuICAgICAgICBbc3JjXT1cInZhbHVlXCJcbiAgICAvPlxuICAgIDxuZy1jb250YWluZXIgKm5nU3dpdGNoQ2FzZT1cIid0ZXh0J1wiPnt7IHZhbHVlIH19PC9uZy1jb250YWluZXI+XG4gICAgPG5nLWNvbnRhaW5lciAqbmdTd2l0Y2hEZWZhdWx0PlxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
package/{esm2015/components/avatar/avatar.module.js → esm2020/components/avatar/avatar.module.mjs}
RENAMED
|
@@ -6,10 +6,10 @@ import { TuiAvatarComponent } from './avatar.component';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class TuiAvatarModule {
|
|
8
8
|
}
|
|
9
|
-
TuiAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
TuiAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
11
|
-
TuiAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
TuiAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
TuiAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarModule, declarations: [TuiAvatarComponent], imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule], exports: [TuiAvatarComponent] });
|
|
11
|
+
TuiAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarModule, imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule],
|
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
17
17
|
exports: [TuiAvatarComponent],
|
|
18
18
|
}]
|
|
19
19
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2F2YXRhci9hdmF0YXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZS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TGF6eUxvYWRpbmdNb2R1bGVdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aUF2YXRhckNvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aUF2YXRhckNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUF2YXRhck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
|
+
export const TUI_AVATAR_DEFAULT_OPTIONS = {
|
|
3
|
+
appearance: ``,
|
|
4
|
+
round: true,
|
|
5
|
+
size: `m`,
|
|
6
|
+
};
|
|
7
|
+
export const TUI_AVATAR_OPTIONS = tuiCreateToken(TUI_AVATAR_DEFAULT_OPTIONS);
|
|
8
|
+
export function tuiAvatarOptionsProvider(options) {
|
|
9
|
+
return tuiProvideOptions(TUI_AVATAR_OPTIONS, options, TUI_AVATAR_DEFAULT_OPTIONS);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9hdmF0YXIvYXZhdGFyLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGNBQWMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQVNoRSxNQUFNLENBQUMsTUFBTSwwQkFBMEIsR0FBcUI7SUFDeEQsVUFBVSxFQUFFLEVBQUU7SUFDZCxLQUFLLEVBQUUsSUFBSTtJQUNYLElBQUksRUFBRSxHQUFHO0NBQ1osQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLGtCQUFrQixHQUFHLGNBQWMsQ0FBQywwQkFBMEIsQ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hcnRpYWw8VHVpQXZhdGFyT3B0aW9ucz4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHR1aVByb3ZpZGVPcHRpb25zKFRVSV9BVkFUQVJfT1BUSU9OUywgb3B0aW9ucywgVFVJX0FWQVRBUl9ERUZBVUxUX09QVElPTlMpO1xufVxuIl19
|
|
@@ -5,21 +5,15 @@ export class TuiAvatarStackComponent {
|
|
|
5
5
|
this.direction = 'right';
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
TuiAvatarStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
TuiAvatarStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
TuiAvatarStackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
TuiAvatarStackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiAvatarStackComponent, selector: "tui-avatar-stack", inputs: { direction: "direction" }, host: { properties: { "attr.data-direction": "this.direction" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["tui-avatar-stack{display:flex;--t-gap: .125rem}tui-avatar-stack tui-avatar._round{-webkit-mask-image:radial-gradient(circle at var(--t-x) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px));mask-image:radial-gradient(circle at var(--t-x) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px))}tui-avatar-stack[data-direction=right] tui-avatar._round{--t-x: 100%}tui-avatar-stack[data-direction=right] tui-avatar._round:last-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar._round{--t-x: 0}tui-avatar-stack[data-direction=left] tui-avatar._round:first-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child){-webkit-mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(50% + var(--t-gap)),#000 calc(50% + var(--t-gap)));mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(50% + var(--t-gap)),#000 calc(50% + var(--t-gap)));-webkit-mask-position:calc(50% - (var(--t-radius) - var(--t-gap)) / 2) calc(-1 * var(--t-gap)),calc(50% - (var(--t-radius) - var(--t-gap)) / 2) calc(100% + var(--t-gap)),bottom;mask-position:calc(50% - (var(--t-radius) - var(--t-gap)) / 2) calc(-1 * var(--t-gap)),calc(50% - (var(--t-radius) - var(--t-gap)) / 2) calc(100% + var(--t-gap)),bottom}tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child){-webkit-mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(50% + var(--t-gap)),#000 calc(50% + var(--t-gap)));mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(50% + var(--t-gap)),#000 calc(50% + var(--t-gap)));-webkit-mask-position:calc(50% - var(--t-gap)) calc(-1 * var(--t-gap)),calc(50% - var(--t-gap)) calc(100% + var(--t-gap)),bottom;mask-position:calc(50% - var(--t-gap)) calc(-1 * var(--t-gap)),calc(50% - var(--t-gap)) calc(100% + var(--t-gap)),bottom}tui-avatar-stack tui-avatar:not(._round){-webkit-mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}tui-avatar-stack tui-avatar:not(:last-child){margin-right:calc(var(--t-size) / -2)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarStackComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{
|
|
13
|
-
selector: 'tui-avatar-stack',
|
|
14
|
-
template: '<ng-content></ng-content>',
|
|
15
|
-
styleUrls: ['./avatar-stack.style.less'],
|
|
16
|
-
encapsulation: ViewEncapsulation.None,
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
-
}]
|
|
12
|
+
args: [{ selector: 'tui-avatar-stack', template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["tui-avatar-stack{display:flex;--t-gap: .125rem}tui-avatar-stack tui-avatar._round{-webkit-mask-image:radial-gradient(circle at var(--t-x) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px));mask-image:radial-gradient(circle at var(--t-x) 50%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px))}tui-avatar-stack[data-direction=right] tui-avatar._round{--t-x: 100%}tui-avatar-stack[data-direction=right] tui-avatar._round:last-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar._round{--t-x: 0}tui-avatar-stack[data-direction=left] tui-avatar._round:first-child{-webkit-mask-image:none;mask-image:none}tui-avatar-stack[data-direction=left] tui-avatar:not(._round):not(:first-child){-webkit-mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(50% + var(--t-gap)),#000 calc(50% + var(--t-gap)));mask-image:radial-gradient(circle at 0% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 0% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to right,transparent calc(50% + var(--t-gap)),#000 calc(50% + var(--t-gap)));-webkit-mask-position:calc(50% - (var(--t-radius) - var(--t-gap)) / 2) calc(-1 * var(--t-gap)),calc(50% - (var(--t-radius) - var(--t-gap)) / 2) calc(100% + var(--t-gap)),bottom;mask-position:calc(50% - (var(--t-radius) - var(--t-gap)) / 2) calc(-1 * var(--t-gap)),calc(50% - (var(--t-radius) - var(--t-gap)) / 2) calc(100% + var(--t-gap)),bottom}tui-avatar-stack[data-direction=right] tui-avatar:not(._round):not(:last-child){-webkit-mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(50% + var(--t-gap)),#000 calc(50% + var(--t-gap)));mask-image:radial-gradient(circle at 150% 100%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),radial-gradient(circle at 150% 0%,transparent calc(var(--t-radius) + var(--t-gap)),#000 calc(var(--t-radius) + var(--t-gap) + .2px)),linear-gradient(to left,transparent calc(50% + var(--t-gap)),#000 calc(50% + var(--t-gap)));-webkit-mask-position:calc(50% - var(--t-gap)) calc(-1 * var(--t-gap)),calc(50% - var(--t-gap)) calc(100% + var(--t-gap)),bottom;mask-position:calc(50% - var(--t-gap)) calc(-1 * var(--t-gap)),calc(50% - var(--t-gap)) calc(100% + var(--t-gap)),bottom}tui-avatar-stack tui-avatar:not(._round){-webkit-mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;mask-size:calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),calc(var(--t-radius) + var(--t-gap)) calc(var(--t-radius) + var(--t-gap)),100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}tui-avatar-stack tui-avatar:not(:last-child){margin-right:calc(var(--t-size) / -2)}\n"] }]
|
|
19
13
|
}], propDecorators: { direction: [{
|
|
20
14
|
type: Input
|
|
21
15
|
}, {
|
|
22
16
|
type: HostBinding,
|
|
23
17
|
args: ['attr.data-direction']
|
|
24
18
|
}] } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXN0YWNrLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL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Rpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIFR1aUF2YXRhclN0YWNrQ29tcG9uZW50IHtcbiAgICBASW5wdXQoKVxuICAgIEBIb3N0QmluZGluZygnYXR0ci5kYXRhLWRpcmVjdGlvbicpXG4gICAgZGlyZWN0aW9uOiBUdWlIb3Jpem9udGFsRGlyZWN0aW9uID0gJ3JpZ2h0Jztcbn1cbiJdfQ==
|
|
@@ -4,10 +4,10 @@ import { TuiAvatarStackComponent } from './avatar-stack.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class TuiAvatarStackModule {
|
|
6
6
|
}
|
|
7
|
-
TuiAvatarStackModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
TuiAvatarStackModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9
|
-
TuiAvatarStackModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7
|
+
TuiAvatarStackModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarStackModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
TuiAvatarStackModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarStackModule, declarations: [TuiAvatarStackComponent], imports: [TuiAvatarModule], exports: [TuiAvatarStackComponent, TuiAvatarComponent] });
|
|
9
|
+
TuiAvatarStackModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarStackModule, imports: [TuiAvatarModule] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAvatarStackModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
imports: [TuiAvatarModule],
|
|
@@ -15,4 +15,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
15
15
|
exports: [TuiAvatarStackComponent, TuiAvatarComponent],
|
|
16
16
|
}]
|
|
17
17
|
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLXN0YWNrLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2F2YXRhci1zdGFjay9hdmF0YXItc3RhY2subW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUNILGtCQUFrQixFQUNsQixlQUFlLEdBQ2xCLE1BQU0sMENBQTBDLENBQUM7QUFFbEQsT0FBTyxFQUFDLHVCQUF1QixFQUFDLE1BQU0sMEJBQTBCLENBQUM7O0FBT2pFLE1BQU0sT0FBTyxvQkFBb0I7O2tIQUFwQixvQkFBb0I7bUhBQXBCLG9CQUFvQixpQkFIZCx1QkFBdUIsYUFENUIsZUFBZSxhQUVmLHVCQUF1QixFQUFFLGtCQUFrQjttSEFFNUMsb0JBQW9CLFlBSm5CLGVBQWU7NEZBSWhCLG9CQUFvQjtrQkFMaEMsUUFBUTttQkFBQztvQkFDTixPQUFPLEVBQUUsQ0FBQyxlQUFlLENBQUM7b0JBQzFCLFlBQVksRUFBRSxDQUFDLHVCQUF1QixDQUFDO29CQUN2QyxPQUFPLEVBQUUsQ0FBQyx1QkFBdUIsRUFBRSxrQkFBa0IsQ0FBQztpQkFDekQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7XG4gICAgVHVpQXZhdGFyQ29tcG9uZW50LFxuICAgIFR1aUF2YXRhck1vZHVsZSxcbn0gZnJvbSAnQHRhaWdhLXVpL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2F2YXRhcic7XG5cbmltcG9ydCB7VHVpQXZhdGFyU3RhY2tDb21wb25lbnR9IGZyb20gJy4vYXZhdGFyLXN0YWNrLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1R1aUF2YXRhck1vZHVsZV0sXG4gICAgZGVjbGFyYXRpb25zOiBbVHVpQXZhdGFyU3RhY2tDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtUdWlBdmF0YXJTdGFja0NvbXBvbmVudCwgVHVpQXZhdGFyQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQXZhdGFyU3RhY2tNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class TuiBadgeComponent {
|
|
4
|
+
}
|
|
5
|
+
TuiBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
TuiBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiBadgeComponent, selector: "ng-component", host: { classAttribute: "tui-badge" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiBadgeNew]{--t-gap: 0rem;--t-dot: currentColor;--t-icon-size: 1rem;-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:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));border-radius:6rem;background:#959595;color:var(--tui-base-01);padding:var(--t-padding);height:var(--t-size);min-width:var(--t-size);font:var(--tui-font-text-s)}[tuiBadgeNew]>img,[tuiBadgeNew]>tui-svg,[tuiBadgeNew]>tui-icon,[tuiBadgeNew]>tui-avatar,[tuiBadgeNew]>tui-badge,[tuiBadgeNew]>[tuiBadge],[tuiBadgeNew]>[tuiRadio],[tuiBadgeNew]>[tuiToggle],[tuiBadgeNew]>[tuiCheckbox],[tuiBadgeNew]._icon-left:before,[tuiBadgeNew]._icon-right:after{margin:var(--t-margin)}[tuiBadgeNew]._dot:before{content:\"\";display:block;width:.375rem;height:.375rem;background:var(--t-dot);border-radius:100%}[tuiBadgeNew]>tui-icon,[tuiBadgeNew][tuiIcons]:before,[tuiBadgeNew][tuiIcons]:after{font-size:var(--t-icon-size)!important}[tuiBadgeNew][data-appearance=error]{--t-dot: var(--tui-error-fill)}[tuiBadgeNew][data-appearance=success]{--t-dot: var(--tui-success-fill)}[tuiBadgeNew][data-appearance=warning]{--t-dot: var(--tui-warning-fill)}[tuiBadgeNew][data-appearance=info]{--t-dot: var(--tui-info-fill)}[tuiBadgeNew][data-appearance=neutral]{--t-dot: var(--tui-neutral-fill)}[tuiBadgeNew][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem}[tuiBadgeNew][data-size=s]._dot:before{width:.25rem;height:.25rem;-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[tuiBadgeNew][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}[tuiBadgeNew][data-size=l]{--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem}[tuiBadgeNew][data-size=l]._dot:before{-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}[tuiBadgeNew][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}[tuiBadgeNew][data-size=xl]._dot:before{width:.5rem;height:.5rem;-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}img[tuiBadge]{padding:0}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;height:var(--t-size);width:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
10
|
+
class: 'tui-badge',
|
|
11
|
+
}, styles: ["[tuiBadgeNew]{--t-gap: 0rem;--t-dot: currentColor;--t-icon-size: 1rem;-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:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));border-radius:6rem;background:#959595;color:var(--tui-base-01);padding:var(--t-padding);height:var(--t-size);min-width:var(--t-size);font:var(--tui-font-text-s)}[tuiBadgeNew]>img,[tuiBadgeNew]>tui-svg,[tuiBadgeNew]>tui-icon,[tuiBadgeNew]>tui-avatar,[tuiBadgeNew]>tui-badge,[tuiBadgeNew]>[tuiBadge],[tuiBadgeNew]>[tuiRadio],[tuiBadgeNew]>[tuiToggle],[tuiBadgeNew]>[tuiCheckbox],[tuiBadgeNew]._icon-left:before,[tuiBadgeNew]._icon-right:after{margin:var(--t-margin)}[tuiBadgeNew]._dot:before{content:\"\";display:block;width:.375rem;height:.375rem;background:var(--t-dot);border-radius:100%}[tuiBadgeNew]>tui-icon,[tuiBadgeNew][tuiIcons]:before,[tuiBadgeNew][tuiIcons]:after{font-size:var(--t-icon-size)!important}[tuiBadgeNew][data-appearance=error]{--t-dot: var(--tui-error-fill)}[tuiBadgeNew][data-appearance=success]{--t-dot: var(--tui-success-fill)}[tuiBadgeNew][data-appearance=warning]{--t-dot: var(--tui-warning-fill)}[tuiBadgeNew][data-appearance=info]{--t-dot: var(--tui-info-fill)}[tuiBadgeNew][data-appearance=neutral]{--t-dot: var(--tui-neutral-fill)}[tuiBadgeNew][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem}[tuiBadgeNew][data-size=s]._dot:before{width:.25rem;height:.25rem;-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}[tuiBadgeNew][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}[tuiBadgeNew][data-size=l]{--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem}[tuiBadgeNew][data-size=l]._dot:before{-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}[tuiBadgeNew][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}[tuiBadgeNew][data-size=xl]._dot:before{width:.5rem;height:.5rem;-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}img[tuiBadge]{padding:0}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;height:var(--t-size);width:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n"] }]
|
|
12
|
+
}] });
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYmFkZ2UvYmFkZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBV3BGLE1BQU0sT0FBTyxpQkFBaUI7OytHQUFqQixpQkFBaUI7bUdBQWpCLGlCQUFpQiwyRkFSaEIsRUFBRTs0RkFRSCxpQkFBaUI7a0JBVDdCLFNBQVM7K0JBQ0ksRUFBRSxpQkFFRyxpQkFBaUIsQ0FBQyxJQUFJLG1CQUNwQix1QkFBdUIsQ0FBQyxNQUFNLFFBQ3pDO3dCQUNGLEtBQUssRUFBRSxXQUFXO3FCQUNyQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICB0ZW1wbGF0ZTogJycsXG4gICAgc3R5bGVVcmxzOiBbJy4vYmFkZ2Uuc3R5bGUubGVzcyddLFxuICAgIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogJ3R1aS1iYWRnZScsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQmFkZ2VDb21wb25lbnQge31cbiJdfQ==
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Directive, Inject, Input } from '@angular/core';
|
|
2
|
+
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
3
|
+
import { TuiAppearanceDirective, tuiAppearanceOptionsProvider, } from '@taiga-ui/experimental/directives/appearance';
|
|
4
|
+
import { TuiIconsDirective } from '@taiga-ui/experimental/directives/icons';
|
|
5
|
+
import { TuiBadgeComponent } from './badge.component';
|
|
6
|
+
import { TUI_BADGE_OPTIONS } from './badge.options';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@taiga-ui/experimental/directives/appearance";
|
|
9
|
+
import * as i2 from "@taiga-ui/experimental/directives/icons";
|
|
10
|
+
import * as i3 from "@taiga-ui/cdk";
|
|
11
|
+
export class TuiBadgeDirective {
|
|
12
|
+
constructor(options, directiveStyles) {
|
|
13
|
+
this.options = options;
|
|
14
|
+
this.size = this.options.size;
|
|
15
|
+
this.dot = this.options.dot;
|
|
16
|
+
directiveStyles.addComponent(TuiBadgeComponent);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
TuiBadgeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeDirective, deps: [{ token: TUI_BADGE_OPTIONS }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
TuiBadgeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiBadgeDirective, selector: "tui-badge,[tuiBadge]", inputs: { size: "size", dot: "dot" }, host: { attributes: { "tuiBadgeNew": "" }, properties: { "class._dot": "dot", "attr.data-size": "size" } }, providers: [tuiAppearanceOptionsProvider(TUI_BADGE_OPTIONS)], hostDirectives: [{ directive: i1.TuiAppearanceDirective, inputs: ["tuiAppearance", "appearance", "tuiAppearanceState", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceFocus"] }, { directive: i2.TuiIconsDirective, inputs: ["iconLeft", "iconLeft", "iconRight", "iconRight"] }], ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: 'tui-badge,[tuiBadge]',
|
|
25
|
+
providers: [tuiAppearanceOptionsProvider(TUI_BADGE_OPTIONS)],
|
|
26
|
+
hostDirectives: [
|
|
27
|
+
{
|
|
28
|
+
directive: TuiAppearanceDirective,
|
|
29
|
+
inputs: [
|
|
30
|
+
'tuiAppearance: appearance',
|
|
31
|
+
'tuiAppearanceState',
|
|
32
|
+
'tuiAppearanceFocus',
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
directive: TuiIconsDirective,
|
|
37
|
+
inputs: ['iconLeft', 'iconRight'],
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
host: {
|
|
41
|
+
tuiBadgeNew: '',
|
|
42
|
+
'[class._dot]': 'dot',
|
|
43
|
+
'[attr.data-size]': 'size',
|
|
44
|
+
},
|
|
45
|
+
}]
|
|
46
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
47
|
+
type: Inject,
|
|
48
|
+
args: [TUI_BADGE_OPTIONS]
|
|
49
|
+
}] }, { type: i3.TuiDirectiveStylesService, decorators: [{
|
|
50
|
+
type: Inject,
|
|
51
|
+
args: [TuiDirectiveStylesService]
|
|
52
|
+
}] }]; }, propDecorators: { size: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], dot: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}] } });
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYmFkZ2UvYmFkZ2UuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2RCxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEQsT0FBTyxFQUNILHNCQUFzQixFQUN0Qiw0QkFBNEIsR0FDL0IsTUFBTSw4Q0FBOEMsQ0FBQztBQUN0RCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSx5Q0FBeUMsQ0FBQztBQUUxRSxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQztBQUNwRCxPQUFPLEVBQUMsaUJBQWlCLEVBQWtCLE1BQU0saUJBQWlCLENBQUM7Ozs7O0FBeUJuRSxNQUFNLE9BQU8saUJBQWlCO0lBTzFCLFlBQ2dELE9BQXdCLEVBQ2pDLGVBQTBDO1FBRGpDLFlBQU8sR0FBUCxPQUFPLENBQWlCO1FBTnhFLFNBQUksR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQztRQUd6QixRQUFHLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUM7UUFNbkIsZUFBZSxDQUFDLFlBQV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AgICAgICB0dWlCYWRnZU5ldzogJycsXG4gICAgICAgICdbY2xhc3MuX2RvdF0nOiAnZG90JyxcbiAgICAgICAgJ1thdHRyLmRhdGEtc2l6ZV0nOiAnc2l6ZScsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQmFkZ2VEaXJlY3RpdmUge1xuICAgIEBJbnB1dCgpXG4gICAgc2l6ZSA9IHRoaXMub3B0aW9ucy5zaXplO1xuXG4gICAgQElucHV0KClcbiAgICBkb3QgPSB0aGlzLm9wdGlvbnMuZG90O1xuXG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIEBJbmplY3QoVFVJX0JBREdFX09QVElPTlMpIHByaXZhdGUgcmVhZG9ubHkgb3B0aW9uczogVHVpQmFkZ2VPcHRpb25zLFxuICAgICAgICBASW5qZWN0KFR1aURpcmVjdGl2ZVN0eWxlc1NlcnZpY2UpIGRpcmVjdGl2ZVN0eWxlczogVHVpRGlyZWN0aXZlU3R5bGVzU2VydmljZSxcbiAgICApIHtcbiAgICAgICAgZGlyZWN0aXZlU3R5bGVzLmFkZENvbXBvbmVudChUdWlCYWRnZUNvbXBvbmVudCk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiBadgeComponent } from './badge.component';
|
|
3
|
+
import { TuiBadgeDirective } from './badge.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class TuiBadgeModule {
|
|
6
|
+
}
|
|
7
|
+
TuiBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
TuiBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeModule, declarations: [TuiBadgeComponent, TuiBadgeDirective], exports: [TuiBadgeDirective] });
|
|
9
|
+
TuiBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeModule });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
declarations: [TuiBadgeComponent, TuiBadgeDirective],
|
|
14
|
+
exports: [TuiBadgeDirective],
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYmFkZ2UvYmFkZ2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUJBQW1CLENBQUM7QUFDcEQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUJBQW1CLENBQUM7O0FBTXBELE1BQU0sT0FBTyxjQUFjOzs0R0FBZCxjQUFjOzZHQUFkLGNBQWMsaUJBSFIsaUJBQWlCLEVBQUUsaUJBQWlCLGFBQ3pDLGlCQUFpQjs2R0FFbEIsY0FBYzs0RkFBZCxjQUFjO2tCQUoxQixRQUFRO21CQUFDO29CQUNOLFlBQVksRUFBRSxDQUFDLGlCQUFpQixFQUFFLGlCQUFpQixDQUFDO29CQUNwRCxPQUFPLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQztpQkFDL0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtUdWlCYWRnZUNvbXBvbmVudH0gZnJvbSAnLi9iYWRnZS5jb21wb25lbnQnO1xuaW1wb3J0IHtUdWlCYWRnZURpcmVjdGl2ZX0gZnJvbSAnLi9iYWRnZS5kaXJlY3RpdmUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1R1aUJhZGdlQ29tcG9uZW50LCBUdWlCYWRnZURpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aUJhZGdlRGlyZWN0aXZlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQmFkZ2VNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
|
+
export const TUI_BADGE_DEFAULT_OPTIONS = {
|
|
3
|
+
appearance: ``,
|
|
4
|
+
size: `l`,
|
|
5
|
+
dot: false,
|
|
6
|
+
};
|
|
7
|
+
export const TUI_BADGE_OPTIONS = tuiCreateToken(TUI_BADGE_DEFAULT_OPTIONS);
|
|
8
|
+
export function tuiBadgeOptionsProvider(options) {
|
|
9
|
+
return tuiProvideOptions(TUI_BADGE_OPTIONS, options, TUI_BADGE_DEFAULT_OPTIONS);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2Uub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2JhZGdlL2JhZGdlLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGNBQWMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQVNoRSxNQUFNLENBQ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3QgVFVJX0JBREdFX09QVElPTlMgPSB0dWlDcmVhdGVUb2tlbihUVUlfQkFER0VfREVGQVVMVF9PUFRJT05TKTtcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aUJhZGdlT3B0aW9uc1Byb3ZpZGVyKG9wdGlvbnM6IFBhcnRpYWw8VHVpQmFkZ2VPcHRpb25zPik6IFByb3ZpZGVyIHtcbiAgICByZXR1cm4gdHVpUHJvdmlkZU9wdGlvbnMoVFVJX0JBREdFX09QVElPTlMsIG9wdGlvbnMsIFRVSV9CQURHRV9ERUZBVUxUX09QVElPTlMpO1xufVxuIl19
|
|
@@ -7,25 +7,18 @@ export class TuiBadgeNotificationComponent {
|
|
|
7
7
|
this.size = 'l';
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
TuiBadgeNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
TuiBadgeNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
+
TuiBadgeNotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeNotificationComponent, deps: [{ token: TUI_ANIMATION_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
TuiBadgeNotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiBadgeNotificationComponent, selector: "tui-badge-notification", inputs: { size: "size" }, host: { properties: { "attr.data-size": "size", "@tuiPop": "animation" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{--t-size: 1.5rem;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:var(--tui-text-01-night);border-radius:2rem;white-space:nowrap;overflow:hidden;vertical-align:middle;font:var(--tui-font-text-s);max-width:100%;padding:0 .25rem;background:#f52222;height:var(--t-size);min-width:var(--t-size)}:host[data-size=m]{--t-size: 1.25rem}:host[data-size=s]{--t-size: 1rem;padding:0 .125rem;font:var(--tui-font-text-xs)}:host[data-size=xs]{--t-size: .375rem;padding:0;font-size:0}\n"], animations: [tuiPop], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeNotificationComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
|
-
args: [{
|
|
15
|
-
selector: 'tui-badge-notification',
|
|
16
|
-
template: '<ng-content></ng-content>',
|
|
17
|
-
styleUrls: ['./badge-notification.style.less'],
|
|
18
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
|
-
animations: [tuiPop],
|
|
20
|
-
host: {
|
|
14
|
+
args: [{ selector: 'tui-badge-notification', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiPop], host: {
|
|
21
15
|
'[attr.data-size]': 'size',
|
|
22
16
|
'[@tuiPop]': 'animation',
|
|
23
|
-
},
|
|
24
|
-
}]
|
|
17
|
+
}, styles: [":host{--t-size: 1.5rem;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:var(--tui-text-01-night);border-radius:2rem;white-space:nowrap;overflow:hidden;vertical-align:middle;font:var(--tui-font-text-s);max-width:100%;padding:0 .25rem;background:#f52222;height:var(--t-size);min-width:var(--t-size)}:host[data-size=m]{--t-size: 1.25rem}:host[data-size=s]{--t-size: 1rem;padding:0 .125rem;font:var(--tui-font-text-xs)}:host[data-size=xs]{--t-size: .375rem;padding:0;font-size:0}\n"] }]
|
|
25
18
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
26
19
|
type: Inject,
|
|
27
20
|
args: [TUI_ANIMATION_OPTIONS]
|
|
28
21
|
}] }]; }, propDecorators: { size: [{
|
|
29
22
|
type: Input
|
|
30
23
|
}] } });
|
|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G9ydCB7Q2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCwgSW5qZWN0LCBJbnB1dH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge1xuICAgIFRVSV9BTklNQVRJT05fT1BUSU9OUyxcbiAgICBUdWlBbmltYXRpb25PcHRpb25zLFxuICAgIHR1aVBvcCxcbiAgICBUdWlTaXplTCxcbiAgICBUdWlTaXplWFMsXG59IGZyb20gJ0B0YWlnYS11aS9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICd0dWktYmFkZ2Utbm90aWZpY2F0aW9uJyxcbiAgICB0ZW1wbGF0ZTogJzxuZy1jb250ZW50PjwvbmctY29udGVudD4nLFxuICAgIHN0eWxlVXJsczogWycuL2JhZGdlLW5vdGlmaWNhdGlvbi5zdHlsZS5sZXNzJ10sXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG4gICAgYW5pbWF0aW9uczogW3R1aVBvcF0sXG4gICAgaG9zdDoge1xuICAgICAgICAnW2F0dHIuZGF0YS1zaXplXSc6ICdzaXplJyxcbiAgICAgICAgJ1tAdHVpUG9wXSc6ICdhbmltYXRpb24nLFxuICAgIH0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJhZGdlTm90aWZpY2F0aW9uQ29tcG9uZW50IHtcbiAgICBASW5wdXQoKVxuICAgIHNpemU6IFR1aVNpemVMIHwgVHVpU2l6ZVhTID0gJ2wnO1xuXG4gICAgY29uc3RydWN0b3IoQEluamVjdChUVUlfQU5JTUFUSU9OX09QVElPTlMpIHJlYWRvbmx5IGFuaW1hdGlvbjogVHVpQW5pbWF0aW9uT3B0aW9ucykge31cbn1cbiJdfQ==
|
|
@@ -3,10 +3,10 @@ import { TuiBadgeNotificationComponent } from './badge-notification.component';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class TuiBadgeNotificationModule {
|
|
5
5
|
}
|
|
6
|
-
TuiBadgeNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
TuiBadgeNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
8
|
-
TuiBadgeNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6
|
+
TuiBadgeNotificationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiBadgeNotificationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeNotificationModule, declarations: [TuiBadgeNotificationComponent], exports: [TuiBadgeNotificationComponent] });
|
|
8
|
+
TuiBadgeNotificationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeNotificationModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgeNotificationModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
declarations: [TuiBadgeNotificationComponent],
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
4
|
+
export class TuiBadgedContentComponent {
|
|
5
|
+
}
|
|
6
|
+
TuiBadgedContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgedContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
TuiBadgedContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiBadgedContentComponent, selector: "tui-badged-content", ngImport: i0, template: "<ng-content></ng-content>\n\n<div\n #badgeTop\n class=\"t-badge t-badge_top\"\n [style.--t-badge-height.px]=\"badgeTop.offsetHeight\"\n (tuiResize)=\"(0)\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='top']\"></ng-content>\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='top']\"></ng-content>\n </div>\n</div>\n\n<div\n #badgeBottom\n class=\"t-badge t-badge_bottom\"\n [style.--t-badge-height.px]=\"badgeBottom.offsetHeight\"\n (tuiResize)=\"(0)\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='bottom']\"></ng-content>\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='bottom']\"></ng-content>\n </div>\n</div>\n", styles: [":host{--tui-radius: var(--tui-radius-l);--t-badge-height: 0;--t-corner-offset: calc((var(--tui-radius) * 1.4142 - var(--tui-radius)) * 1 / 1.4142);position:relative;display:inline-block;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-max-content;width:max-content;color:var(--tui-base-01)}.t-badge{--t-offset: calc(var(--t-badge-height) * -.5 + var(--t-corner-offset));position:absolute;display:flex}.t-badge_top{top:var(--t-offset);right:var(--t-offset)}.t-badge_bottom{bottom:var(--t-offset);right:var(--t-offset)}.t-border:not(:empty){display:flex;border-radius:6rem;box-shadow:0 0 0 1px currentColor;background:currentColor}\n"], dependencies: [{ kind: "directive", type: i1.TuiResizeDirective, selector: "[tuiResize]", outputs: ["tuiResize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgedContentComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: 'tui-badged-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n\n<div\n #badgeTop\n class=\"t-badge t-badge_top\"\n [style.--t-badge-height.px]=\"badgeTop.offsetHeight\"\n (tuiResize)=\"(0)\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='top']\"></ng-content>\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='top']\"></ng-content>\n </div>\n</div>\n\n<div\n #badgeBottom\n class=\"t-badge t-badge_bottom\"\n [style.--t-badge-height.px]=\"badgeBottom.offsetHeight\"\n (tuiResize)=\"(0)\"\n>\n <ng-content select=\"tui-badge-notification[tuiSlot='bottom']\"></ng-content>\n <div class=\"t-border\">\n <ng-content select=\"[tuiSlot='bottom']\"></ng-content>\n </div>\n</div>\n", styles: [":host{--tui-radius: var(--tui-radius-l);--t-badge-height: 0;--t-corner-offset: calc((var(--tui-radius) * 1.4142 - var(--tui-radius)) * 1 / 1.4142);position:relative;display:inline-block;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-max-content;width:max-content;color:var(--tui-base-01)}.t-badge{--t-offset: calc(var(--t-badge-height) * -.5 + var(--t-corner-offset));position:absolute;display:flex}.t-badge_top{top:var(--t-offset);right:var(--t-offset)}.t-badge_bottom{bottom:var(--t-offset);right:var(--t-offset)}.t-border:not(:empty){display:flex;border-radius:6rem;box-shadow:0 0 0 1px currentColor;background:currentColor}\n"] }]
|
|
11
|
+
}] });
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2VkLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYmFkZ2VkLWNvbnRlbnQvYmFkZ2VkLWNvbnRlbnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGF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xlY3Q9XCJ0dWktYmFkZ2Utbm90aWZpY2F0aW9uW3R1aVNsb3Q9J3RvcCddXCI+PC9uZy1jb250ZW50PlxuICAgIDxkaXYgY2xhc3M9XCJ0LWJvcmRlclwiPlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbdHVpU2xvdD0ndG9wJ11cIj48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG48L2Rpdj5cblxuPGRpdlxuICAgICNiYWRnZUJvdHRvbVxuICAgIGNsYXNzPVwidC1iYWRnZSB0LWJhZGdlX2JvdHRvbVwiXG4gICAgW3N0eWxlLi0tdC1iYWRnZS1oZWlnaHQucHhdPVwiYmFkZ2VCb3R0b20ub2Zmc2V0SGVpZ2h0XCJcbiAgICAodHVpUmVzaXplKT1cIigwKVwiXG4+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwidHVpLWJhZGdlLW5vdGlmaWNhdGlvblt0dWlTbG90PSdib3R0b20nXVwiPjwvbmctY29udGVudD5cbiAgICA8ZGl2IGNsYXNzPVwidC1ib3JkZXJcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3R1aVNsb3Q9J2JvdHRvbSddXCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -5,9 +5,9 @@ export class TuiBadgedContentDirective {
|
|
|
5
5
|
this.tuiSlot = 'top';
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
TuiBadgedContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
TuiBadgedContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
TuiBadgedContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgedContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
TuiBadgedContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiBadgedContentDirective, selector: "[tuiSlot]", inputs: { tuiSlot: "tuiSlot" }, ngImport: i0 });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgedContentDirective, decorators: [{
|
|
11
11
|
type: Directive,
|
|
12
12
|
args: [{
|
|
13
13
|
selector: '[tuiSlot]',
|
|
@@ -6,10 +6,10 @@ import { TuiBadgedContentDirective } from './badged-content.directive';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class TuiBadgedContentModule {
|
|
8
8
|
}
|
|
9
|
-
TuiBadgedContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
TuiBadgedContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
11
|
-
TuiBadgedContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
TuiBadgedContentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgedContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
TuiBadgedContentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgedContentModule, declarations: [TuiBadgedContentComponent, TuiBadgedContentDirective], imports: [CommonModule, TuiResizeModule], exports: [TuiBadgedContentComponent, TuiBadgedContentDirective] });
|
|
11
|
+
TuiBadgedContentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgedContentModule, imports: [CommonModule, TuiResizeModule] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiBadgedContentModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
imports: [CommonModule, TuiResizeModule],
|
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
17
17
|
exports: [TuiBadgedContentComponent, TuiBadgedContentDirective],
|
|
18
18
|
}]
|
|
19
19
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2VkLWNvbnRlbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYmFkZ2VkLWNvbnRlbnQvYmFkZ2VkLWNvbnRlbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFOUMsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFDckUsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sNEJBQTRCLENBQUM7O0FBT3JFLE1BQU0sT0FBTyxzQkFBc0I7O29IQUF0QixzQkFBc0I7cUhBQXRCLHNCQUFzQixpQkFIaEIseUJBQXlCLEVBQUUseUJBQXlCLGFBRHpELFlBQVksRUFBRSxlQUFlLGFBRTdCLHlCQUF5QixFQUFFLHlCQUF5QjtxS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|
|
24
24
|
}
|
|
25
|
-
TuiButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
TuiButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
TuiButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonComponent, deps: [{ token: TUI_BUTTON_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
TuiButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiButtonComponent, selector: "[tuiButton][loading],[tuiIconButton][loading]", inputs: { size: "size", loading: "loading" }, host: { listeners: { "click.capture": "onClick($event)" }, properties: { "attr.aria-disabled": "loading", "class._loading": "loading" } }, ngImport: i0, template: "<ng-content></ng-content>\n<tui-loader\n aria-live=\"polite\"\n role=\"status\"\n class=\"t-loader\"\n [inheritColor]=\"true\"\n [showLoader]=\"!!loading\"\n [size]=\"loaderSize\"\n [textContent]=\"label\"\n></tui-loader>\n", dependencies: [{ kind: "component", type: i1.TuiLoaderComponent, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
|
-
args: [{
|
|
30
|
-
selector: '[tuiButton][loading],[tuiIconButton][loading]',
|
|
31
|
-
templateUrl: './button.template.html',
|
|
32
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
-
host: {
|
|
29
|
+
args: [{ selector: '[tuiButton][loading],[tuiIconButton][loading]', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
34
30
|
'[attr.aria-disabled]': 'loading',
|
|
35
31
|
'[class._loading]': 'loading',
|
|
36
|
-
},
|
|
37
|
-
}]
|
|
32
|
+
}, template: "<ng-content></ng-content>\n<tui-loader\n aria-live=\"polite\"\n role=\"status\"\n class=\"t-loader\"\n [inheritColor]=\"true\"\n [showLoader]=\"!!loading\"\n [size]=\"loaderSize\"\n [textContent]=\"label\"\n></tui-loader>\n" }]
|
|
38
33
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
39
34
|
type: Inject,
|
|
40
35
|
args: [TUI_BUTTON_OPTIONS]
|
|
@@ -46,4 +41,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
46
41
|
type: HostListener,
|
|
47
42
|
args: ['click.capture', ['$event']]
|
|
48
43
|
}] } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2J1dHRvbi9idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYnV0dG9uL2J1dHRvbi50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxHQUNSLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFDLGFBQWEsRUFBVyxNQUFNLGdCQUFnQixDQUFD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