@taiga-ui/experimental 3.57.0 → 3.59.0-canary.10da730
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/avatar/avatar.component.d.ts +2 -2
- package/components/avatar/avatar.options.d.ts +2 -1
- package/components/avatar-stack/avatar-stack.component.d.ts +1 -1
- package/components/badge/badge.component.d.ts +1 -1
- package/components/badge/badge.directive.d.ts +3 -2
- package/components/badge/badge.module.d.ts +1 -2
- package/components/badge/badge.options.d.ts +2 -2
- package/components/badge-notification/badge-notification.component.d.ts +1 -1
- package/components/badged-content/badged-content.component.d.ts +1 -1
- package/components/badged-content/badged-content.directive.d.ts +1 -1
- package/components/button/button.component.d.ts +1 -1
- package/components/button/button.directive.d.ts +4 -3
- package/components/button/button.module.d.ts +1 -2
- package/components/button/button.options.d.ts +2 -2
- package/components/checkbox/checkbox.component.d.ts +12 -12
- package/components/checkbox/checkbox.options.d.ts +4 -3
- package/components/chip/chip.component.d.ts +1 -1
- package/components/chip/chip.directive.d.ts +5 -3
- package/components/chip/chip.module.d.ts +1 -2
- package/components/chip/chip.options.d.ts +2 -2
- package/components/compass/compass.component.d.ts +1 -1
- package/components/icon/icon.component.d.ts +1 -1
- package/components/pin/pin.component.d.ts +1 -1
- package/components/radio/index.d.ts +1 -0
- package/components/radio/radio.component.d.ts +11 -5
- package/components/radio/radio.options.d.ts +10 -0
- package/components/rating/rating.component.d.ts +1 -1
- package/components/thumbnail-card/thumbnail-card.component.d.ts +1 -1
- package/components/toggle/toggle.component.d.ts +12 -8
- package/components/toggle/toggle.options.d.ts +3 -2
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/components/tooltip/tooltip.module.d.ts +3 -4
- package/directives/appearance/appearance.directive.d.ts +1 -1
- package/directives/appearance/appearance.options.d.ts +7 -0
- package/directives/appearance/index.d.ts +1 -1
- package/directives/button-close/button-close.directive.d.ts +1 -1
- package/directives/button-vertical/button-vertical.component.d.ts +1 -1
- package/directives/button-vertical/button-vertical.directive.d.ts +1 -1
- package/directives/card/card.component.d.ts +1 -1
- package/directives/card/card.directive.d.ts +1 -1
- package/directives/cell/cell.component.d.ts +1 -1
- package/directives/cell/cell.directive.d.ts +1 -1
- package/directives/fade/fade.component.d.ts +1 -1
- package/directives/fade/fade.directive.d.ts +1 -1
- package/directives/icons/icons.component.d.ts +1 -1
- package/directives/icons/icons.directive.d.ts +1 -1
- package/directives/icons/index.d.ts +0 -1
- package/directives/progress-segmented/progress-segmented.component.d.ts +1 -1
- package/directives/progress-segmented/progress-segmented.directive.d.ts +1 -1
- package/directives/sensitive/sensitive.component.d.ts +1 -1
- package/directives/sensitive/sensitive.directive.d.ts +1 -1
- package/directives/surface/surface.component.d.ts +1 -1
- package/directives/surface/surface.directive.d.ts +1 -1
- package/directives/title/title.component.d.ts +1 -1
- package/directives/title/title.directive.d.ts +1 -1
- package/esm2020/components/avatar/avatar.component.mjs +66 -0
- package/{esm2015/components/avatar/avatar.module.js → esm2020/components/avatar/avatar.module.mjs} +5 -5
- package/esm2020/components/avatar/avatar.options.mjs +11 -0
- package/{esm2015/components/avatar-stack/avatar-stack.component.js → esm2020/components/avatar-stack/avatar-stack.component.mjs} +5 -11
- package/{esm2015/components/avatar-stack/avatar-stack.module.js → esm2020/components/avatar-stack/avatar-stack.module.mjs} +5 -5
- package/esm2020/components/badge/badge.component.mjs +13 -0
- package/esm2020/components/badge/badge.directive.mjs +57 -0
- package/esm2020/components/badge/badge.module.mjs +17 -0
- package/esm2020/components/badge/badge.options.mjs +11 -0
- package/{esm2015/components/badge-notification/badge-notification.component.js → esm2020/components/badge-notification/badge-notification.component.mjs} +6 -13
- package/{esm2015/components/badge-notification/badge-notification.module.js → esm2020/components/badge-notification/badge-notification.module.mjs} +4 -4
- package/esm2020/components/badged-content/badged-content.component.mjs +12 -0
- package/{esm2015/components/badged-content/badged-content.directive.js → esm2020/components/badged-content/badged-content.directive.mjs} +3 -3
- package/{esm2015/components/badged-content/badged-content.module.js → esm2020/components/badged-content/badged-content.module.mjs} +5 -5
- package/{esm2015/components/button/button.component.js → esm2020/components/button/button.component.mjs} +6 -11
- package/esm2020/components/button/button.directive.mjs +69 -0
- package/esm2020/components/button/button.module.mjs +20 -0
- package/{esm2015/components/button/button.options.js → esm2020/components/button/button.options.mjs} +2 -2
- package/esm2020/components/checkbox/checkbox.component.mjs +64 -0
- package/{esm2015/components/checkbox/checkbox.module.js → esm2020/components/checkbox/checkbox.module.mjs} +4 -4
- package/esm2020/components/checkbox/checkbox.options.mjs +14 -0
- package/esm2020/components/chip/chip.component.mjs +13 -0
- package/esm2020/components/chip/chip.directive.mjs +72 -0
- package/esm2020/components/chip/chip.module.mjs +17 -0
- package/{esm2015/components/chip/chip.options.js → esm2020/components/chip/chip.options.mjs} +2 -2
- package/{esm2015/components/compass/compass.component.js → esm2020/components/compass/compass.component.mjs} +5 -10
- package/{esm2015/components/compass/compass.module.js → esm2020/components/compass/compass.module.mjs} +4 -4
- package/{esm2015/components/icon/icon.component.js → esm2020/components/icon/icon.component.mjs} +6 -12
- package/{esm2015/components/icon/icon.module.js → esm2020/components/icon/icon.module.mjs} +4 -4
- package/esm2020/components/pin/pin.component.mjs +19 -0
- package/{esm2015/components/pin/pin.module.js → esm2020/components/pin/pin.module.mjs} +4 -4
- package/{esm2015/components/radio/index.js → esm2020/components/radio/index.mjs} +2 -1
- package/esm2020/components/radio/radio.component.mjs +43 -0
- package/{esm2015/components/radio/radio.module.js → esm2020/components/radio/radio.module.mjs} +4 -4
- package/esm2020/components/radio/radio.options.mjs +10 -0
- package/esm2020/components/rating/rating.component.mjs +93 -0
- package/{esm2015/components/rating/rating.module.js → esm2020/components/rating/rating.module.mjs} +9 -11
- package/esm2020/components/thumbnail-card/thumbnail-card.component.mjs +51 -0
- package/{esm2015/components/thumbnail-card/thumbnail-card.module.js → esm2020/components/thumbnail-card/thumbnail-card.module.mjs} +5 -5
- package/esm2020/components/toggle/toggle.component.mjs +57 -0
- package/{esm2015/components/toggle/toggle.module.js → esm2020/components/toggle/toggle.module.mjs} +4 -4
- package/esm2020/components/toggle/toggle.options.mjs +12 -0
- package/esm2020/components/tooltip/tooltip.component.mjs +79 -0
- package/{esm2015/components/tooltip/tooltip.module.js → esm2020/components/tooltip/tooltip.module.mjs} +11 -17
- package/esm2020/directives/appearance/appearance.directive.mjs +32 -0
- package/esm2020/directives/appearance/appearance.options.mjs +9 -0
- package/{esm2015/directives/appearance/index.js → esm2020/directives/appearance/index.mjs} +2 -2
- package/{esm2015/directives/button-close/button-close.directive.js → esm2020/directives/button-close/button-close.directive.mjs} +3 -3
- package/{esm2015/directives/button-close/button-close.module.js → esm2020/directives/button-close/button-close.module.mjs} +4 -4
- package/esm2020/directives/button-vertical/button-vertical.component.mjs +13 -0
- package/{esm2015/directives/button-vertical/button-vertical.directive.js → esm2020/directives/button-vertical/button-vertical.directive.mjs} +3 -3
- package/{esm2015/directives/button-vertical/button-vertical.module.js → esm2020/directives/button-vertical/button-vertical.module.mjs} +4 -4
- package/esm2020/directives/card/card.component.mjs +13 -0
- package/{esm2015/directives/card/card.directive.js → esm2020/directives/card/card.directive.mjs} +3 -3
- package/{esm2015/directives/card/card.module.js → esm2020/directives/card/card.module.mjs} +4 -4
- package/esm2020/directives/cell/cell.component.mjs +13 -0
- package/{esm2015/directives/cell/cell.directive.js → esm2020/directives/cell/cell.directive.mjs} +3 -3
- package/{esm2015/directives/cell/cell.module.js → esm2020/directives/cell/cell.module.mjs} +4 -4
- package/{esm2015/directives/fade/fade.component.js → esm2020/directives/fade/fade.component.mjs} +6 -12
- package/esm2020/directives/fade/fade.directive.mjs +103 -0
- package/{esm2015/directives/fade/fade.module.js → esm2020/directives/fade/fade.module.mjs} +4 -4
- package/esm2020/directives/icons/icons.component.mjs +13 -0
- package/esm2020/directives/icons/icons.directive.mjs +41 -0
- package/{esm2015/directives/icons/index.js → esm2020/directives/icons/index.mjs} +1 -2
- package/{esm2015/directives/progress-segmented/progress-segmented.component.js → esm2020/directives/progress-segmented/progress-segmented.component.mjs} +5 -11
- package/{esm2015/directives/progress-segmented/progress-segmented.directive.js → esm2020/directives/progress-segmented/progress-segmented.directive.mjs} +3 -3
- package/{esm2015/directives/progress-segmented/progress-segmented.module.js → esm2020/directives/progress-segmented/progress-segmented.module.mjs} +4 -4
- package/{esm2015/directives/sensitive/sensitive.component.js → esm2020/directives/sensitive/sensitive.component.mjs} +6 -12
- package/{esm2015/directives/sensitive/sensitive.directive.js → esm2020/directives/sensitive/sensitive.directive.mjs} +3 -3
- package/{esm2015/directives/sensitive/sensitive.module.js → esm2020/directives/sensitive/sensitive.module.mjs} +4 -4
- package/esm2020/directives/surface/surface.component.mjs +13 -0
- package/{esm2015/directives/surface/surface.directive.js → esm2020/directives/surface/surface.directive.mjs} +3 -3
- package/{esm2015/directives/surface/surface.module.js → esm2020/directives/surface/surface.module.mjs} +4 -4
- package/esm2020/directives/title/title.component.mjs +13 -0
- package/{esm2015/directives/title/title.directive.js → esm2020/directives/title/title.directive.mjs} +3 -3
- package/{esm2015/directives/title/title.module.js → esm2020/directives/title/title.module.mjs} +4 -4
- package/{esm2015/pipes/amount/amount.module.js → esm2020/pipes/amount/amount.module.mjs} +4 -4
- package/esm2020/pipes/amount/amount.pipe.mjs +51 -0
- package/{esm2015/pipes/auto-color/auto-color.module.js → esm2020/pipes/auto-color/auto-color.module.mjs} +4 -4
- package/{esm2015/pipes/auto-color/auto-color.pipe.js → esm2020/pipes/auto-color/auto-color.pipe.mjs} +3 -3
- package/{esm2015/pipes/fallback-src/fallback-src.module.js → esm2020/pipes/fallback-src/fallback-src.module.mjs} +4 -4
- package/esm2020/pipes/fallback-src/fallback-src.pipe.mjs +24 -0
- package/{esm2015/pipes/initials/initials.module.js → esm2020/pipes/initials/initials.module.mjs} +4 -4
- package/{esm2015/pipes/initials/initials.pipe.js → esm2020/pipes/initials/initials.pipe.mjs} +3 -3
- package/fesm2015/{taiga-ui-experimental-components-avatar-stack.js → taiga-ui-experimental-components-avatar-stack.mjs} +9 -15
- package/fesm2015/taiga-ui-experimental-components-avatar-stack.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.mjs +101 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-badge-notification.mjs +46 -0
- package/fesm2015/taiga-ui-experimental-components-badge-notification.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-badge.mjs +98 -0
- package/fesm2015/taiga-ui-experimental-components-badge.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components-badged-content.js → taiga-ui-experimental-components-badged-content.mjs} +12 -17
- package/fesm2015/taiga-ui-experimental-components-badged-content.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-button.mjs +142 -0
- package/fesm2015/taiga-ui-experimental-components-button.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-checkbox.mjs +97 -0
- package/fesm2015/taiga-ui-experimental-components-checkbox.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-chip.mjs +112 -0
- package/fesm2015/taiga-ui-experimental-components-chip.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components-compass.js → taiga-ui-experimental-components-compass.mjs} +9 -14
- package/fesm2015/taiga-ui-experimental-components-compass.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-icon.mjs +51 -0
- package/fesm2015/taiga-ui-experimental-components-icon.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-pin.mjs +39 -0
- package/fesm2015/taiga-ui-experimental-components-pin.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-radio.mjs +71 -0
- package/fesm2015/taiga-ui-experimental-components-radio.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-rating.mjs +142 -0
- package/fesm2015/taiga-ui-experimental-components-rating.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.mjs +76 -0
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-toggle.mjs +87 -0
- package/fesm2015/taiga-ui-experimental-components-toggle.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-components-tooltip.mjs +128 -0
- package/fesm2015/taiga-ui-experimental-components-tooltip.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-components.js → taiga-ui-experimental-components.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-components.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-appearance.mjs +47 -0
- package/fesm2015/taiga-ui-experimental-directives-appearance.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-button-close.mjs +58 -0
- package/fesm2015/taiga-ui-experimental-directives-button-close.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.mjs +54 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-card.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-card.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-cell.mjs +70 -0
- package/fesm2015/taiga-ui-experimental-directives-cell.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-fade.mjs +135 -0
- package/fesm2015/taiga-ui-experimental-directives-fade.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-icons.mjs +60 -0
- package/fesm2015/taiga-ui-experimental-directives-icons.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.mjs +64 -0
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-sensitive.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-sensitive.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-surface.mjs +61 -0
- package/fesm2015/taiga-ui-experimental-directives-surface.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-title.mjs +62 -0
- package/fesm2015/taiga-ui-experimental-directives-title.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-directives.js → taiga-ui-experimental-directives.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-directives.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-amount.js → taiga-ui-experimental-pipes-amount.mjs} +18 -16
- package/fesm2015/taiga-ui-experimental-pipes-amount.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-auto-color.js → taiga-ui-experimental-pipes-auto-color.mjs} +8 -8
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.mjs.map +1 -0
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.mjs +46 -0
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes-initials.js → taiga-ui-experimental-pipes-initials.mjs} +8 -8
- package/fesm2015/taiga-ui-experimental-pipes-initials.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-pipes.js → taiga-ui-experimental-pipes.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-pipes.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental-tokens.js → taiga-ui-experimental-tokens.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental-tokens.mjs.map +1 -0
- package/fesm2015/{taiga-ui-experimental.js → taiga-ui-experimental.mjs} +1 -1
- package/fesm2015/taiga-ui-experimental.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-avatar-stack.mjs +41 -0
- package/fesm2020/taiga-ui-experimental-components-avatar-stack.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-avatar.mjs +99 -0
- package/fesm2020/taiga-ui-experimental-components-avatar.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-badge-notification.js → fesm2020/taiga-ui-experimental-components-badge-notification.mjs} +10 -17
- package/fesm2020/taiga-ui-experimental-components-badge-notification.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-badge.mjs +96 -0
- package/fesm2020/taiga-ui-experimental-components-badge.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-badged-content.mjs +51 -0
- package/fesm2020/taiga-ui-experimental-components-badged-content.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-button.mjs +138 -0
- package/fesm2020/taiga-ui-experimental-components-button.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-checkbox.mjs +96 -0
- package/fesm2020/taiga-ui-experimental-components-checkbox.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-chip.mjs +110 -0
- package/fesm2020/taiga-ui-experimental-components-chip.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-compass.mjs +39 -0
- package/fesm2020/taiga-ui-experimental-components-compass.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-icon.js → fesm2020/taiga-ui-experimental-components-icon.mjs} +10 -16
- package/fesm2020/taiga-ui-experimental-components-icon.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-pin.mjs +39 -0
- package/fesm2020/taiga-ui-experimental-components-pin.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-radio.mjs +71 -0
- package/fesm2020/taiga-ui-experimental-components-radio.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-rating.js → fesm2020/taiga-ui-experimental-components-rating.mjs} +19 -27
- package/fesm2020/taiga-ui-experimental-components-rating.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-thumbnail-card.js → fesm2020/taiga-ui-experimental-components-thumbnail-card.mjs} +12 -17
- package/fesm2020/taiga-ui-experimental-components-thumbnail-card.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components-toggle.mjs +87 -0
- package/fesm2020/taiga-ui-experimental-components-toggle.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-components-tooltip.js → fesm2020/taiga-ui-experimental-components-tooltip.mjs} +25 -39
- package/fesm2020/taiga-ui-experimental-components-tooltip.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-components.mjs +21 -0
- package/fesm2020/taiga-ui-experimental-components.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-appearance.mjs +47 -0
- package/fesm2020/taiga-ui-experimental-directives-appearance.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-button-close.js → fesm2020/taiga-ui-experimental-directives-button-close.mjs} +8 -8
- package/fesm2020/taiga-ui-experimental-directives-button-close.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-button-vertical.js → fesm2020/taiga-ui-experimental-directives-button-vertical.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-button-vertical.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-card.js → fesm2020/taiga-ui-experimental-directives-card.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-card.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-cell.mjs +68 -0
- package/fesm2020/taiga-ui-experimental-directives-cell.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-fade.js → fesm2020/taiga-ui-experimental-directives-fade.mjs} +14 -21
- package/fesm2020/taiga-ui-experimental-directives-fade.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-icons.mjs +58 -0
- package/fesm2020/taiga-ui-experimental-directives-icons.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-progress-segmented.js → fesm2020/taiga-ui-experimental-directives-progress-segmented.mjs} +12 -18
- package/fesm2020/taiga-ui-experimental-directives-progress-segmented.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-sensitive.js → fesm2020/taiga-ui-experimental-directives-sensitive.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-sensitive.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives-surface.mjs +59 -0
- package/fesm2020/taiga-ui-experimental-directives-surface.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-directives-title.js → fesm2020/taiga-ui-experimental-directives-title.mjs} +13 -19
- package/fesm2020/taiga-ui-experimental-directives-title.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-directives.mjs +16 -0
- package/fesm2020/taiga-ui-experimental-directives.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-amount.mjs +80 -0
- package/fesm2020/taiga-ui-experimental-pipes-amount.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-auto-color.mjs +37 -0
- package/fesm2020/taiga-ui-experimental-pipes-auto-color.mjs.map +1 -0
- package/{fesm2015/taiga-ui-experimental-pipes-fallback-src.js → fesm2020/taiga-ui-experimental-pipes-fallback-src.mjs} +9 -10
- package/fesm2020/taiga-ui-experimental-pipes-fallback-src.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes-initials.mjs +41 -0
- package/fesm2020/taiga-ui-experimental-pipes-initials.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-pipes.mjs +9 -0
- package/fesm2020/taiga-ui-experimental-pipes.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental-tokens.mjs +22 -0
- package/fesm2020/taiga-ui-experimental-tokens.mjs.map +1 -0
- package/fesm2020/taiga-ui-experimental.mjs +9 -0
- package/fesm2020/taiga-ui-experimental.mjs.map +1 -0
- package/package.json +324 -31
- package/pipes/amount/amount.pipe.d.ts +1 -1
- package/pipes/auto-color/auto-color.pipe.d.ts +1 -1
- package/pipes/fallback-src/fallback-src.pipe.d.ts +1 -1
- package/pipes/initials/initials.pipe.d.ts +1 -1
- package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js +0 -78
- package/bundles/taiga-ui-experimental-components-avatar-stack.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-avatar.umd.js +0 -138
- package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js +0 -84
- package/bundles/taiga-ui-experimental-components-badge-notification.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badge.umd.js +0 -129
- package/bundles/taiga-ui-experimental-components-badge.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js +0 -90
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-button.umd.js +0 -186
- package/bundles/taiga-ui-experimental-components-button.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js +0 -152
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-chip.umd.js +0 -140
- package/bundles/taiga-ui-experimental-components-chip.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-compass.umd.js +0 -76
- package/bundles/taiga-ui-experimental-components-compass.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-icon.umd.js +0 -88
- package/bundles/taiga-ui-experimental-components-icon.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-pin.umd.js +0 -76
- package/bundles/taiga-ui-experimental-components-pin.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-radio.umd.js +0 -89
- package/bundles/taiga-ui-experimental-components-radio.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-rating.umd.js +0 -507
- package/bundles/taiga-ui-experimental-components-rating.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js +0 -113
- package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-toggle.umd.js +0 -126
- package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components-tooltip.umd.js +0 -496
- package/bundles/taiga-ui-experimental-components-tooltip.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-components.umd.js +0 -111
- package/bundles/taiga-ui-experimental-components.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js +0 -82
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-button-close.umd.js +0 -88
- package/bundles/taiga-ui-experimental-directives-button-close.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js +0 -95
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-card.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-card.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-cell.umd.js +0 -110
- package/bundles/taiga-ui-experimental-directives-cell.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-fade.umd.js +0 -175
- package/bundles/taiga-ui-experimental-directives-fade.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-icons.umd.js +0 -113
- package/bundles/taiga-ui-experimental-directives-icons.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js +0 -105
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-surface.umd.js +0 -102
- package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives-title.umd.js +0 -103
- package/bundles/taiga-ui-experimental-directives-title.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-directives.umd.js +0 -81
- package/bundles/taiga-ui-experimental-directives.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js +0 -113
- package/bundles/taiga-ui-experimental-pipes-amount.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js +0 -70
- package/bundles/taiga-ui-experimental-pipes-auto-color.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js +0 -76
- package/bundles/taiga-ui-experimental-pipes-fallback-src.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js +0 -396
- package/bundles/taiga-ui-experimental-pipes-initials.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-pipes.umd.js +0 -39
- package/bundles/taiga-ui-experimental-pipes.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental-tokens.umd.js +0 -31
- package/bundles/taiga-ui-experimental-tokens.umd.js.map +0 -1
- package/bundles/taiga-ui-experimental.umd.js +0 -39
- package/bundles/taiga-ui-experimental.umd.js.map +0 -1
- package/components/avatar/package.json +0 -10
- package/components/avatar/taiga-ui-experimental-components-avatar.d.ts +0 -5
- package/components/avatar-stack/package.json +0 -10
- package/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.d.ts +0 -5
- package/components/badge/package.json +0 -10
- package/components/badge/taiga-ui-experimental-components-badge.d.ts +0 -5
- package/components/badge-notification/package.json +0 -10
- package/components/badge-notification/taiga-ui-experimental-components-badge-notification.d.ts +0 -5
- package/components/badged-content/package.json +0 -10
- package/components/badged-content/taiga-ui-experimental-components-badged-content.d.ts +0 -5
- package/components/button/package.json +0 -10
- package/components/button/taiga-ui-experimental-components-button.d.ts +0 -5
- package/components/checkbox/package.json +0 -10
- package/components/checkbox/taiga-ui-experimental-components-checkbox.d.ts +0 -5
- package/components/chip/package.json +0 -10
- package/components/chip/taiga-ui-experimental-components-chip.d.ts +0 -5
- package/components/compass/package.json +0 -10
- package/components/compass/taiga-ui-experimental-components-compass.d.ts +0 -5
- package/components/icon/package.json +0 -10
- package/components/icon/taiga-ui-experimental-components-icon.d.ts +0 -5
- package/components/package.json +0 -10
- package/components/pin/package.json +0 -10
- package/components/pin/taiga-ui-experimental-components-pin.d.ts +0 -5
- package/components/radio/package.json +0 -10
- package/components/radio/taiga-ui-experimental-components-radio.d.ts +0 -5
- package/components/rating/package.json +0 -10
- package/components/rating/taiga-ui-experimental-components-rating.d.ts +0 -5
- package/components/taiga-ui-experimental-components.d.ts +0 -5
- package/components/thumbnail-card/package.json +0 -10
- package/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.d.ts +0 -5
- package/components/toggle/package.json +0 -10
- package/components/toggle/taiga-ui-experimental-components-toggle.d.ts +0 -5
- package/components/tooltip/package.json +0 -10
- package/components/tooltip/taiga-ui-experimental-components-tooltip.d.ts +0 -5
- package/directives/appearance/appearance.module.d.ts +0 -7
- package/directives/appearance/package.json +0 -10
- package/directives/appearance/taiga-ui-experimental-directives-appearance.d.ts +0 -5
- package/directives/button-close/package.json +0 -10
- package/directives/button-close/taiga-ui-experimental-directives-button-close.d.ts +0 -5
- package/directives/button-vertical/package.json +0 -10
- package/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.d.ts +0 -5
- package/directives/card/package.json +0 -10
- package/directives/card/taiga-ui-experimental-directives-card.d.ts +0 -5
- package/directives/cell/package.json +0 -10
- package/directives/cell/taiga-ui-experimental-directives-cell.d.ts +0 -5
- package/directives/fade/package.json +0 -10
- package/directives/fade/taiga-ui-experimental-directives-fade.d.ts +0 -5
- package/directives/icons/icons.module.d.ts +0 -8
- package/directives/icons/package.json +0 -10
- package/directives/icons/taiga-ui-experimental-directives-icons.d.ts +0 -5
- package/directives/package.json +0 -10
- package/directives/progress-segmented/package.json +0 -10
- package/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.d.ts +0 -5
- package/directives/sensitive/package.json +0 -10
- package/directives/sensitive/taiga-ui-experimental-directives-sensitive.d.ts +0 -5
- package/directives/surface/package.json +0 -10
- package/directives/surface/taiga-ui-experimental-directives-surface.d.ts +0 -5
- package/directives/taiga-ui-experimental-directives.d.ts +0 -5
- package/directives/title/package.json +0 -10
- package/directives/title/taiga-ui-experimental-directives-title.d.ts +0 -5
- package/esm2015/components/avatar/avatar.component.js +0 -66
- package/esm2015/components/avatar/avatar.options.js +0 -10
- package/esm2015/components/badge/badge.component.js +0 -19
- package/esm2015/components/badge/badge.directive.js +0 -43
- package/esm2015/components/badge/badge.module.js +0 -19
- package/esm2015/components/badge/badge.options.js +0 -11
- package/esm2015/components/badged-content/badged-content.component.js +0 -17
- package/esm2015/components/button/button.directive.js +0 -62
- package/esm2015/components/button/button.module.js +0 -21
- package/esm2015/components/checkbox/checkbox.component.js +0 -83
- package/esm2015/components/checkbox/checkbox.options.js +0 -13
- package/esm2015/components/chip/chip.component.js +0 -19
- package/esm2015/components/chip/chip.directive.js +0 -59
- package/esm2015/components/chip/chip.module.js +0 -19
- package/esm2015/components/pin/pin.component.js +0 -24
- package/esm2015/components/radio/radio.component.js +0 -36
- package/esm2015/components/rating/rating.component.js +0 -99
- package/esm2015/components/thumbnail-card/thumbnail-card.component.js +0 -56
- package/esm2015/components/toggle/toggle.component.js +0 -59
- package/esm2015/components/toggle/toggle.options.js +0 -11
- package/esm2015/components/tooltip/tooltip.component.js +0 -88
- package/esm2015/directives/appearance/appearance.directive.js +0 -30
- package/esm2015/directives/appearance/appearance.module.js +0 -16
- package/esm2015/directives/button-vertical/button-vertical.component.js +0 -19
- package/esm2015/directives/card/card.component.js +0 -19
- package/esm2015/directives/cell/cell.component.js +0 -19
- package/esm2015/directives/fade/fade.directive.js +0 -104
- package/esm2015/directives/icons/icons.component.js +0 -19
- package/esm2015/directives/icons/icons.directive.js +0 -41
- package/esm2015/directives/icons/icons.module.js +0 -17
- package/esm2015/directives/surface/surface.component.js +0 -19
- package/esm2015/directives/title/title.component.js +0 -19
- package/esm2015/pipes/amount/amount.pipe.js +0 -48
- package/esm2015/pipes/fallback-src/fallback-src.pipe.js +0 -25
- package/fesm2015/taiga-ui-experimental-components-avatar-stack.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-avatar.js +0 -98
- package/fesm2015/taiga-ui-experimental-components-avatar.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badge-notification.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badge.js +0 -90
- package/fesm2015/taiga-ui-experimental-components-badge.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-button.js +0 -137
- package/fesm2015/taiga-ui-experimental-components-button.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-checkbox.js +0 -114
- package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-chip.js +0 -105
- package/fesm2015/taiga-ui-experimental-components-chip.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-compass.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-icon.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-pin.js +0 -44
- package/fesm2015/taiga-ui-experimental-components-pin.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-radio.js +0 -56
- package/fesm2015/taiga-ui-experimental-components-radio.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-rating.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-toggle.js +0 -88
- package/fesm2015/taiga-ui-experimental-components-toggle.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components-tooltip.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-components.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-appearance.js +0 -50
- package/fesm2015/taiga-ui-experimental-directives-appearance.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-button-close.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-card.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-cell.js +0 -74
- package/fesm2015/taiga-ui-experimental-directives-cell.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-fade.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-icons.js +0 -77
- package/fesm2015/taiga-ui-experimental-directives-icons.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-surface.js +0 -65
- package/fesm2015/taiga-ui-experimental-directives-surface.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives-title.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-directives.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-amount.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-auto-color.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-fallback-src.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes-initials.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-pipes.js.map +0 -1
- package/fesm2015/taiga-ui-experimental-tokens.js.map +0 -1
- package/fesm2015/taiga-ui-experimental.js.map +0 -1
- package/pipes/amount/package.json +0 -10
- package/pipes/amount/taiga-ui-experimental-pipes-amount.d.ts +0 -5
- package/pipes/auto-color/package.json +0 -10
- package/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.d.ts +0 -5
- package/pipes/fallback-src/package.json +0 -10
- package/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.d.ts +0 -5
- package/pipes/initials/package.json +0 -10
- package/pipes/initials/taiga-ui-experimental-pipes-initials.d.ts +0 -5
- package/pipes/package.json +0 -10
- package/pipes/taiga-ui-experimental-pipes.d.ts +0 -5
- package/taiga-ui-experimental.d.ts +0 -5
- package/tokens/package.json +0 -10
- package/tokens/taiga-ui-experimental-tokens.d.ts +0 -5
- /package/{esm2015/components/avatar/index.js → esm2020/components/avatar/index.mjs} +0 -0
- /package/{esm2015/components/avatar/taiga-ui-experimental-components-avatar.js → esm2020/components/avatar/taiga-ui-experimental-components-avatar.mjs} +0 -0
- /package/{esm2015/components/avatar-stack/index.js → esm2020/components/avatar-stack/index.mjs} +0 -0
- /package/{esm2015/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.js → esm2020/components/avatar-stack/taiga-ui-experimental-components-avatar-stack.mjs} +0 -0
- /package/{esm2015/components/badge/index.js → esm2020/components/badge/index.mjs} +0 -0
- /package/{esm2015/components/badge/taiga-ui-experimental-components-badge.js → esm2020/components/badge/taiga-ui-experimental-components-badge.mjs} +0 -0
- /package/{esm2015/components/badge-notification/index.js → esm2020/components/badge-notification/index.mjs} +0 -0
- /package/{esm2015/components/badge-notification/taiga-ui-experimental-components-badge-notification.js → esm2020/components/badge-notification/taiga-ui-experimental-components-badge-notification.mjs} +0 -0
- /package/{esm2015/components/badged-content/index.js → esm2020/components/badged-content/index.mjs} +0 -0
- /package/{esm2015/components/badged-content/taiga-ui-experimental-components-badged-content.js → esm2020/components/badged-content/taiga-ui-experimental-components-badged-content.mjs} +0 -0
- /package/{esm2015/components/button/index.js → esm2020/components/button/index.mjs} +0 -0
- /package/{esm2015/components/button/taiga-ui-experimental-components-button.js → esm2020/components/button/taiga-ui-experimental-components-button.mjs} +0 -0
- /package/{esm2015/components/checkbox/index.js → esm2020/components/checkbox/index.mjs} +0 -0
- /package/{esm2015/components/checkbox/taiga-ui-experimental-components-checkbox.js → esm2020/components/checkbox/taiga-ui-experimental-components-checkbox.mjs} +0 -0
- /package/{esm2015/components/chip/index.js → esm2020/components/chip/index.mjs} +0 -0
- /package/{esm2015/components/chip/taiga-ui-experimental-components-chip.js → esm2020/components/chip/taiga-ui-experimental-components-chip.mjs} +0 -0
- /package/{esm2015/components/compass/index.js → esm2020/components/compass/index.mjs} +0 -0
- /package/{esm2015/components/compass/taiga-ui-experimental-components-compass.js → esm2020/components/compass/taiga-ui-experimental-components-compass.mjs} +0 -0
- /package/{esm2015/components/icon/index.js → esm2020/components/icon/index.mjs} +0 -0
- /package/{esm2015/components/icon/taiga-ui-experimental-components-icon.js → esm2020/components/icon/taiga-ui-experimental-components-icon.mjs} +0 -0
- /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
- /package/{esm2015/components/pin/index.js → esm2020/components/pin/index.mjs} +0 -0
- /package/{esm2015/components/pin/taiga-ui-experimental-components-pin.js → esm2020/components/pin/taiga-ui-experimental-components-pin.mjs} +0 -0
- /package/{esm2015/components/radio/taiga-ui-experimental-components-radio.js → esm2020/components/radio/taiga-ui-experimental-components-radio.mjs} +0 -0
- /package/{esm2015/components/rating/index.js → esm2020/components/rating/index.mjs} +0 -0
- /package/{esm2015/components/rating/rating.options.js → esm2020/components/rating/rating.options.mjs} +0 -0
- /package/{esm2015/components/rating/taiga-ui-experimental-components-rating.js → esm2020/components/rating/taiga-ui-experimental-components-rating.mjs} +0 -0
- /package/{esm2015/components/taiga-ui-experimental-components.js → esm2020/components/taiga-ui-experimental-components.mjs} +0 -0
- /package/{esm2015/components/thumbnail-card/index.js → esm2020/components/thumbnail-card/index.mjs} +0 -0
- /package/{esm2015/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.js → esm2020/components/thumbnail-card/taiga-ui-experimental-components-thumbnail-card.mjs} +0 -0
- /package/{esm2015/components/toggle/index.js → esm2020/components/toggle/index.mjs} +0 -0
- /package/{esm2015/components/toggle/taiga-ui-experimental-components-toggle.js → esm2020/components/toggle/taiga-ui-experimental-components-toggle.mjs} +0 -0
- /package/{esm2015/components/tooltip/index.js → esm2020/components/tooltip/index.mjs} +0 -0
- /package/{esm2015/components/tooltip/taiga-ui-experimental-components-tooltip.js → esm2020/components/tooltip/taiga-ui-experimental-components-tooltip.mjs} +0 -0
- /package/{esm2015/components/tooltip/tooltip.options.js → esm2020/components/tooltip/tooltip.options.mjs} +0 -0
- /package/{esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js → esm2020/directives/appearance/taiga-ui-experimental-directives-appearance.mjs} +0 -0
- /package/{esm2015/directives/button-close/button-close.options.js → esm2020/directives/button-close/button-close.options.mjs} +0 -0
- /package/{esm2015/directives/button-close/index.js → esm2020/directives/button-close/index.mjs} +0 -0
- /package/{esm2015/directives/button-close/taiga-ui-experimental-directives-button-close.js → esm2020/directives/button-close/taiga-ui-experimental-directives-button-close.mjs} +0 -0
- /package/{esm2015/directives/button-vertical/index.js → esm2020/directives/button-vertical/index.mjs} +0 -0
- /package/{esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js → esm2020/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.mjs} +0 -0
- /package/{esm2015/directives/card/index.js → esm2020/directives/card/index.mjs} +0 -0
- /package/{esm2015/directives/card/taiga-ui-experimental-directives-card.js → esm2020/directives/card/taiga-ui-experimental-directives-card.mjs} +0 -0
- /package/{esm2015/directives/cell/index.js → esm2020/directives/cell/index.mjs} +0 -0
- /package/{esm2015/directives/cell/taiga-ui-experimental-directives-cell.js → esm2020/directives/cell/taiga-ui-experimental-directives-cell.mjs} +0 -0
- /package/{esm2015/directives/fade/index.js → esm2020/directives/fade/index.mjs} +0 -0
- /package/{esm2015/directives/fade/taiga-ui-experimental-directives-fade.js → esm2020/directives/fade/taiga-ui-experimental-directives-fade.mjs} +0 -0
- /package/{esm2015/directives/icons/taiga-ui-experimental-directives-icons.js → esm2020/directives/icons/taiga-ui-experimental-directives-icons.mjs} +0 -0
- /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
- /package/{esm2015/directives/progress-segmented/index.js → esm2020/directives/progress-segmented/index.mjs} +0 -0
- /package/{esm2015/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.js → esm2020/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.mjs} +0 -0
- /package/{esm2015/directives/sensitive/index.js → esm2020/directives/sensitive/index.mjs} +0 -0
- /package/{esm2015/directives/sensitive/taiga-ui-experimental-directives-sensitive.js → esm2020/directives/sensitive/taiga-ui-experimental-directives-sensitive.mjs} +0 -0
- /package/{esm2015/directives/surface/index.js → esm2020/directives/surface/index.mjs} +0 -0
- /package/{esm2015/directives/surface/taiga-ui-experimental-directives-surface.js → esm2020/directives/surface/taiga-ui-experimental-directives-surface.mjs} +0 -0
- /package/{esm2015/directives/taiga-ui-experimental-directives.js → esm2020/directives/taiga-ui-experimental-directives.mjs} +0 -0
- /package/{esm2015/directives/title/index.js → esm2020/directives/title/index.mjs} +0 -0
- /package/{esm2015/directives/title/taiga-ui-experimental-directives-title.js → esm2020/directives/title/taiga-ui-experimental-directives-title.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/pipes/amount/amount.options.js → esm2020/pipes/amount/amount.options.mjs} +0 -0
- /package/{esm2015/pipes/amount/index.js → esm2020/pipes/amount/index.mjs} +0 -0
- /package/{esm2015/pipes/amount/taiga-ui-experimental-pipes-amount.js → esm2020/pipes/amount/taiga-ui-experimental-pipes-amount.mjs} +0 -0
- /package/{esm2015/pipes/auto-color/index.js → esm2020/pipes/auto-color/index.mjs} +0 -0
- /package/{esm2015/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.js → esm2020/pipes/auto-color/taiga-ui-experimental-pipes-auto-color.mjs} +0 -0
- /package/{esm2015/pipes/fallback-src/index.js → esm2020/pipes/fallback-src/index.mjs} +0 -0
- /package/{esm2015/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.js → esm2020/pipes/fallback-src/taiga-ui-experimental-pipes-fallback-src.mjs} +0 -0
- /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
- /package/{esm2015/pipes/initials/index.js → esm2020/pipes/initials/index.mjs} +0 -0
- /package/{esm2015/pipes/initials/taiga-ui-experimental-pipes-initials.js → esm2020/pipes/initials/taiga-ui-experimental-pipes-initials.mjs} +0 -0
- /package/{esm2015/pipes/taiga-ui-experimental-pipes.js → esm2020/pipes/taiga-ui-experimental-pipes.mjs} +0 -0
- /package/{esm2015/taiga-ui-experimental.js → esm2020/taiga-ui-experimental.mjs} +0 -0
- /package/{esm2015/tokens/icon-resolver.js → esm2020/tokens/icon-resolver.mjs} +0 -0
- /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
- /package/{esm2015/tokens/taiga-ui-experimental-tokens.js → esm2020/tokens/taiga-ui-experimental-tokens.mjs} +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Directive, Inject, Input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
3
|
+
import { MODE_PROVIDER, TUI_MODE } from '@taiga-ui/core';
|
|
4
|
+
import { TuiAppearanceDirective, tuiAppearanceOptionsProvider, } from '@taiga-ui/experimental/directives/appearance';
|
|
5
|
+
import { TuiIconsDirective } from '@taiga-ui/experimental/directives/icons';
|
|
6
|
+
import { TUI_BUTTON_OPTIONS } from './button.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 "rxjs";
|
|
11
|
+
import * as i4 from "@taiga-ui/cdk";
|
|
12
|
+
export class TuiButtonStylesComponent {
|
|
13
|
+
}
|
|
14
|
+
TuiButtonStylesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonStylesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
TuiButtonStylesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiButtonStylesComponent, selector: "ng-component", host: { classAttribute: "tui-button-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiButtonNew]{--t-gap: .125rem;-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));height:var(--t-size);justify-content:center;border-radius:var(--t-radius);padding:var(--t-padding);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}[tuiButtonNew]>img,[tuiButtonNew]>tui-svg,[tuiButtonNew]>tui-icon,[tuiButtonNew]>tui-avatar,[tuiButtonNew]>tui-badge,[tuiButtonNew]>[tuiBadge],[tuiButtonNew]>[tuiRadio],[tuiButtonNew]>[tuiToggle],[tuiButtonNew]>[tuiCheckbox],[tuiButtonNew]._icon-left:before,[tuiButtonNew]._icon-right:after{margin:var(--t-margin)}[tuiButtonNew]>.t-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[tuiButtonNew]>.t-loader .t-text{position:absolute}[tuiButtonNew][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: var(--tui-radius-xs);--t-padding: 0 .375rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButtonNew][data-size=xs] tui-svg,[tuiButtonNew][data-size=xs] tui-icon,[tuiButtonNew][data-size=xs]:before{font-size:1rem}[tuiButtonNew][data-size=s]{--t-size: var(--tui-height-s);--t-radius: var(--tui-radius-s);--t-padding: 0 .625rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButtonNew][data-size=s] tui-svg,[tuiButtonNew][data-size=s] tui-icon,[tuiButtonNew][data-size=s]:not([tuiIconButton][data-appearance=\"icon\"]):before{font-size:1rem}[tuiButtonNew][data-size=m]{--t-size: var(--tui-height-m);--t-radius: var(--tui-radius-m);--t-padding: 0 1rem;--t-margin: -.375rem;font:var(--tui-font-text-m);font-weight:700}[tuiButtonNew][data-size=m]:after{-webkit-margin-start:.375rem;margin-inline-start:.375rem}[tuiButtonNew][data-size=l]{--t-size: var(--tui-height-l);--t-radius: var(--tui-radius-l);--t-padding: 0 1.25rem;--t-gap: .25rem;--t-margin: -.25rem;font:var(--tui-font-text-m);font-weight:700}[tuiButtonNew][data-size=l]:after{-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}[tuiButtonNew]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButtonNew]._loading>*,[tuiButtonNew]._loading:before,[tuiButtonNew]._loading:after{opacity:0}[tuiButtonNew]._loading>.t-loader{opacity:1}[tuiButtonNew][tuiIcons]:after{font-size:1rem}[tuiIconButton][tuiButtonNew]{--t-gap: 0;width:var(--t-size);font-size:0;padding:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonStylesComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
19
|
+
class: 'tui-button-styles',
|
|
20
|
+
}, styles: ["[tuiButtonNew]{--t-gap: .125rem;-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));height:var(--t-size);justify-content:center;border-radius:var(--t-radius);padding:var(--t-padding);-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}[tuiButtonNew]>img,[tuiButtonNew]>tui-svg,[tuiButtonNew]>tui-icon,[tuiButtonNew]>tui-avatar,[tuiButtonNew]>tui-badge,[tuiButtonNew]>[tuiBadge],[tuiButtonNew]>[tuiRadio],[tuiButtonNew]>[tuiToggle],[tuiButtonNew]>[tuiCheckbox],[tuiButtonNew]._icon-left:before,[tuiButtonNew]._icon-right:after{margin:var(--t-margin)}[tuiButtonNew]>.t-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[tuiButtonNew]>.t-loader .t-text{position:absolute}[tuiButtonNew][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: var(--tui-radius-xs);--t-padding: 0 .375rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButtonNew][data-size=xs] tui-svg,[tuiButtonNew][data-size=xs] tui-icon,[tuiButtonNew][data-size=xs]:before{font-size:1rem}[tuiButtonNew][data-size=s]{--t-size: var(--tui-height-s);--t-radius: var(--tui-radius-s);--t-padding: 0 .625rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButtonNew][data-size=s] tui-svg,[tuiButtonNew][data-size=s] tui-icon,[tuiButtonNew][data-size=s]:not([tuiIconButton][data-appearance=\"icon\"]):before{font-size:1rem}[tuiButtonNew][data-size=m]{--t-size: var(--tui-height-m);--t-radius: var(--tui-radius-m);--t-padding: 0 1rem;--t-margin: -.375rem;font:var(--tui-font-text-m);font-weight:700}[tuiButtonNew][data-size=m]:after{-webkit-margin-start:.375rem;margin-inline-start:.375rem}[tuiButtonNew][data-size=l]{--t-size: var(--tui-height-l);--t-radius: var(--tui-radius-l);--t-padding: 0 1.25rem;--t-gap: .25rem;--t-margin: -.25rem;font:var(--tui-font-text-m);font-weight:700}[tuiButtonNew][data-size=l]:after{-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:-.25rem;margin-inline-end:-.25rem}[tuiButtonNew]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButtonNew]._loading>*,[tuiButtonNew]._loading:before,[tuiButtonNew]._loading:after{opacity:0}[tuiButtonNew]._loading>.t-loader{opacity:1}[tuiButtonNew][tuiIcons]:after{font-size:1rem}[tuiIconButton][tuiButtonNew]{--t-gap: 0;width:var(--t-size);font-size:0;padding:0}\n"] }]
|
|
21
|
+
}] });
|
|
22
|
+
export class TuiButtonDirective {
|
|
23
|
+
constructor(options, mode$, directiveStyles) {
|
|
24
|
+
this.options = options;
|
|
25
|
+
this.mode$ = mode$;
|
|
26
|
+
this.size = this.options.size;
|
|
27
|
+
directiveStyles.addComponent(TuiButtonStylesComponent);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
TuiButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonDirective, deps: [{ token: TUI_BUTTON_OPTIONS }, { token: TUI_MODE }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
TuiButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiButtonDirective, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: { size: "size" }, host: { attributes: { "tuiButtonNew": "" }, listeners: { "$.data-mode.attr": "mode$" }, properties: { "attr.data-size": "size" } }, providers: [MODE_PROVIDER, tuiAppearanceOptionsProvider(TUI_BUTTON_OPTIONS)], hostDirectives: [{ directive: i1.TuiAppearanceDirective, inputs: ["tuiAppearance", "appearance", "tuiAppearanceState", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceFocus"] }, { directive: i2.TuiIconsDirective, inputs: ["iconLeft", "iconLeft", "iconRight", "iconRight"] }], ngImport: i0 });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonDirective, decorators: [{
|
|
33
|
+
type: Directive,
|
|
34
|
+
args: [{
|
|
35
|
+
selector: 'a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]',
|
|
36
|
+
providers: [MODE_PROVIDER, tuiAppearanceOptionsProvider(TUI_BUTTON_OPTIONS)],
|
|
37
|
+
hostDirectives: [
|
|
38
|
+
{
|
|
39
|
+
directive: TuiAppearanceDirective,
|
|
40
|
+
inputs: [
|
|
41
|
+
'tuiAppearance: appearance',
|
|
42
|
+
'tuiAppearanceState',
|
|
43
|
+
'tuiAppearanceFocus',
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
directive: TuiIconsDirective,
|
|
48
|
+
inputs: ['iconLeft', 'iconRight'],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
host: {
|
|
52
|
+
tuiButtonNew: '',
|
|
53
|
+
'[attr.data-size]': 'size',
|
|
54
|
+
'($.data-mode.attr)': 'mode$',
|
|
55
|
+
},
|
|
56
|
+
}]
|
|
57
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
58
|
+
type: Inject,
|
|
59
|
+
args: [TUI_BUTTON_OPTIONS]
|
|
60
|
+
}] }, { type: i3.Observable, decorators: [{
|
|
61
|
+
type: Inject,
|
|
62
|
+
args: [TUI_MODE]
|
|
63
|
+
}] }, { type: i4.TuiDirectiveStylesService, decorators: [{
|
|
64
|
+
type: Inject,
|
|
65
|
+
args: [TuiDirectiveStylesService]
|
|
66
|
+
}] }]; }, propDecorators: { size: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}] } });
|
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2J1dHRvbi9idXR0b24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFNBQVMsRUFDVCxNQUFNLEVBQ04sS0FBSyxFQUNMLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEQsT0FBTyxFQUFDLGFBQWEsRUFBRSxRQUFRLEVBQWdCLE1BQU0sZ0JBQWdCLENBQUM7QUFDdEUsT0FBTyxFQUNILHNCQUFzQixFQUN0Qiw0QkFBNEIsR0FDL0IsTUFBTSw4Q0FBOEMsQ0FBQztBQUN0RCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSx5Q0FBeUMsQ0FBQztBQUcxRSxPQUFPLEVBQUMsa0JBQWtCLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7Ozs7OztBQVd0RSxNQUFNLE9BQU8sd0JBQXdCOztzSEFBeEIsd0JBQXdCOz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2ljb25SaWdodCddLFxuICAgICAgICB9LFxuICAgIF0sXG4gICAgaG9zdDoge1xuICAgICAgICB0dWlCdXR0b25OZXc6ICcnLFxuICAgICAgICAnW2F0dHIuZGF0YS1zaXplXSc6ICdzaXplJyxcbiAgICAgICAgJygkLmRhdGEtbW9kZS5hdHRyKSc6ICdtb2RlJCcsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQnV0dG9uRGlyZWN0aXZlIHtcbiAgICBASW5wdXQoKVxuICAgIHNpemUgPSB0aGlzLm9wdGlvbnMuc2l6ZTtcblxuICAgIGNvbnN0cnVjdG9yKFxuICAgICAgICBASW5qZWN0KFRVSV9CVVRUT05fT1BUSU9OUykgcHJpdmF0ZSByZWFkb25seSBvcHRpb25zOiBUdWlCdXR0b25PcHRpb25zLFxuICAgICAgICBASW5qZWN0KFRVSV9NT0RFKSByZWFkb25seSBtb2RlJDogT2JzZXJ2YWJsZTxUdWlCcmlnaHRuZXNzIHwgbnVsbD4sXG4gICAgICAgIEBJbmplY3QoVHVpRGlyZWN0aXZlU3R5bGVzU2VydmljZSkgZGlyZWN0aXZlU3R5bGVzOiBUdWlEaXJlY3RpdmVTdHlsZXNTZXJ2aWNlLFxuICAgICkge1xuICAgICAgICBkaXJlY3RpdmVTdHlsZXMuYWRkQ29tcG9uZW50KFR1aUJ1dHRvblN0eWxlc0NvbXBvbmVudCk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { TuiLoaderModule, TuiSvgModule } from '@taiga-ui/core';
|
|
4
|
+
import { TuiButtonComponent } from './button.component';
|
|
5
|
+
import { TuiButtonDirective, TuiButtonStylesComponent } from './button.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class TuiButtonModule {
|
|
8
|
+
}
|
|
9
|
+
TuiButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
TuiButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonModule, declarations: [TuiButtonComponent, TuiButtonDirective, TuiButtonStylesComponent], imports: [CommonModule, TuiSvgModule, TuiLoaderModule], exports: [TuiButtonComponent, TuiButtonDirective] });
|
|
11
|
+
TuiButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonModule, imports: [CommonModule, TuiSvgModule, TuiLoaderModule] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiButtonModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
imports: [CommonModule, TuiSvgModule, TuiLoaderModule],
|
|
16
|
+
declarations: [TuiButtonComponent, TuiButtonDirective, TuiButtonStylesComponent],
|
|
17
|
+
exports: [TuiButtonComponent, TuiButtonDirective],
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2J1dHRvbi9idXR0b24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxlQUFlLEVBQUUsWUFBWSx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G9uLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgVHVpU3ZnTW9kdWxlLCBUdWlMb2FkZXJNb2R1bGVdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aUJ1dHRvbkNvbXBvbmVudCwgVHVpQnV0dG9uRGlyZWN0aXZlLCBUdWlCdXR0b25TdHlsZXNDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtUdWlCdXR0b25Db21wb25lbnQsIFR1aUJ1dHRvbkRpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJ1dHRvbk1vZHVsZSB7fVxuIl19
|
package/{esm2015/components/button/button.options.js → esm2020/components/button/button.options.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
2
|
export const TUI_BUTTON_DEFAULT_OPTIONS = {
|
|
3
|
-
size: `l`,
|
|
4
3
|
appearance: `primary`,
|
|
4
|
+
size: `l`,
|
|
5
5
|
};
|
|
6
6
|
export const TUI_BUTTON_OPTIONS = tuiCreateToken(TUI_BUTTON_DEFAULT_OPTIONS);
|
|
7
7
|
export function tuiButtonOptionsProvider(options) {
|
|
8
8
|
return tuiProvideOptions(TUI_BUTTON_OPTIONS, options, TUI_BUTTON_DEFAULT_OPTIONS);
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyx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G5cbmV4cG9ydCBjb25zdCBUVUlfQlVUVE9OX09QVElPTlMgPSB0dWlDcmVhdGVUb2tlbihUVUlfQlVUVE9OX0RFRkFVTFRfT1BUSU9OUyk7XG5cbmV4cG9ydCBmdW5jdGlvbiB0dWlCdXR0b25PcHRpb25zUHJvdmlkZXIob3B0aW9uczogUGFydGlhbDxUdWlCdXR0b25PcHRpb25zPik6IFByb3ZpZGVyIHtcbiAgICByZXR1cm4gdHVpUHJvdmlkZU9wdGlvbnMoVFVJX0JVVFRPTl9PUFRJT05TLCBvcHRpb25zLCBUVUlfQlVUVE9OX0RFRkFVTFRfT1BUSU9OUyk7XG59XG4iXX0=
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ElementRef, inject, Input, } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { tuiControlValue, TuiDestroyService, tuiIsString, TuiNativeValidatorDirective, } from '@taiga-ui/cdk';
|
|
4
|
+
import { TuiAppearanceDirective } from '@taiga-ui/experimental/directives/appearance';
|
|
5
|
+
import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
|
|
6
|
+
import { takeUntil } from 'rxjs';
|
|
7
|
+
import { TUI_CHECKBOX_OPTIONS } from './checkbox.options';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@taiga-ui/experimental/directives/appearance";
|
|
10
|
+
import * as i2 from "@taiga-ui/cdk";
|
|
11
|
+
export class TuiCheckboxComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.appearance = inject(TuiAppearanceDirective);
|
|
14
|
+
this.options = inject(TUI_CHECKBOX_OPTIONS);
|
|
15
|
+
this.resolver = inject(TUI_ICON_RESOLVER);
|
|
16
|
+
this.destroy$ = inject(TuiDestroyService, { self: true });
|
|
17
|
+
this.el = inject(ElementRef).nativeElement;
|
|
18
|
+
this.size = this.options.size;
|
|
19
|
+
this.control = inject(NgControl, { optional: true });
|
|
20
|
+
}
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
if (!this.control?.valueChanges) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
tuiControlValue(this.control)
|
|
26
|
+
.pipe(takeUntil(this.destroy$))
|
|
27
|
+
.subscribe(value => {
|
|
28
|
+
this.el.indeterminate = value === null;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
ngDoCheck() {
|
|
32
|
+
this.appearance.tuiAppearance = this.options.appearance(this.el);
|
|
33
|
+
}
|
|
34
|
+
getIcon(state) {
|
|
35
|
+
const option = this.options.icons[state];
|
|
36
|
+
const icon = tuiIsString(option) ? option : option(this.size);
|
|
37
|
+
return `url(${this.resolver(icon)})`;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
TuiCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
TuiCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiCheckboxComponent, selector: "input[type=\"checkbox\"][tuiCheckbox]", inputs: { size: "size" }, host: { properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "class._readonly": "!control", "style.--t-checked": "getIcon(\"checked\")", "style.--t-indeterminate": "getIcon(\"indeterminate\")" } }, providers: [TuiDestroyService], hostDirectives: [{ directive: i1.TuiAppearanceDirective, inputs: ["tuiAppearance", "appearance", "tuiAppearanceState", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceFocus"] }, { directive: i2.TuiNativeValidatorDirective }], ngImport: i0, template: '', isInline: true, styles: [":host{--t-size: 1.5rem;width:var(--t-size);height:var(--t-size);border-radius:var(--tui-radius-s);cursor:pointer;margin:0}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";background:currentColor;-webkit-mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>') center / 100%;mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>') center / 100%;transform:scale(0);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out}:host:disabled._readonly{opacity:1}:host:checked:before,:host:indeterminate:before{-webkit-mask-image:var(--t-checked);mask-image:var(--t-checked);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out,-webkit-mask 0s ease-in-out}:host:indeterminate:before{-webkit-mask-image:var(--t-indeterminate);mask-image:var(--t-indeterminate)}:host[data-size=s]{--t-size: 1rem;border-radius:var(--tui-radius-xs)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCheckboxComponent, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{ selector: 'input[type="checkbox"][tuiCheckbox]', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [TuiDestroyService], hostDirectives: [
|
|
45
|
+
{
|
|
46
|
+
directive: TuiAppearanceDirective,
|
|
47
|
+
inputs: [
|
|
48
|
+
'tuiAppearance: appearance',
|
|
49
|
+
'tuiAppearanceState',
|
|
50
|
+
'tuiAppearanceFocus',
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
TuiNativeValidatorDirective,
|
|
54
|
+
], host: {
|
|
55
|
+
'[disabled]': '!control || control.disabled',
|
|
56
|
+
'[attr.data-size]': 'size',
|
|
57
|
+
'[class._readonly]': '!control',
|
|
58
|
+
'[style.--t-checked]': 'getIcon("checked")',
|
|
59
|
+
'[style.--t-indeterminate]': 'getIcon("indeterminate")',
|
|
60
|
+
}, styles: [":host{--t-size: 1.5rem;width:var(--t-size);height:var(--t-size);border-radius:var(--tui-radius-s);cursor:pointer;margin:0}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";background:currentColor;-webkit-mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>') center / 100%;mask:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"></svg>') center / 100%;transform:scale(0);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out}:host:disabled._readonly{opacity:1}:host:checked:before,:host:indeterminate:before{-webkit-mask-image:var(--t-checked);mask-image:var(--t-checked);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out,-webkit-mask 0s ease-in-out}:host:indeterminate:before{-webkit-mask-image:var(--t-indeterminate);mask-image:var(--t-indeterminate)}:host[data-size=s]{--t-size: 1rem;border-radius:var(--tui-radius-xs)}\n"] }]
|
|
61
|
+
}], propDecorators: { size: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}] } });
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvY2hlY2tib3gvY2hlY2tib3guY29tcG9uZW50LnRzIl0sIm5hbWVzIjp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mFsdWUodGhpcy5jb250cm9sKVxuICAgICAgICAgICAgLnBpcGUodGFrZVVudGlsKHRoaXMuZGVzdHJveSQpKVxuICAgICAgICAgICAgLnN1YnNjcmliZSh2YWx1ZSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5lbC5pbmRldGVybWluYXRlID0gdmFsdWUgPT09IG51bGw7XG4gICAgICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBuZ0RvQ2hlY2soKTogdm9pZCB7XG4gICAgICAgIHRoaXMuYXBwZWFyYW5jZS50dWlBcHBlYXJhbmNlID0gdGhpcy5vcHRpb25zLmFwcGVhcmFuY2UodGhpcy5lbCk7XG4gICAgfVxuXG4gICAgZ2V0SWNvbihzdGF0ZTogJ2NoZWNrZWQnIHwgJ2luZGV0ZXJtaW5hdGUnKTogc3RyaW5nIHtcbiAgICAgICAgY29uc3Qgb3B0aW9uID0gdGhpcy5vcHRpb25zLmljb25zW3N0YXRlXTtcbiAgICAgICAgY29uc3QgaWNvbiA9IHR1aUlzU3RyaW5nKG9wdGlvbikgPyBvcHRpb24gOiBvcHRpb24odGhpcy5zaXplKTtcblxuICAgICAgICByZXR1cm4gYHVybCgke3RoaXMucmVzb2x2ZXIoaWNvbil9KWA7XG4gICAgfVxufVxuIl19
|
|
@@ -3,10 +3,10 @@ import { TuiCheckboxComponent } from './checkbox.component';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class TuiCheckboxModule {
|
|
5
5
|
}
|
|
6
|
-
TuiCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
TuiCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
8
|
-
TuiCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6
|
+
TuiCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiCheckboxModule, declarations: [TuiCheckboxComponent], exports: [TuiCheckboxComponent] });
|
|
8
|
+
TuiCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCheckboxModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCheckboxModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
declarations: [TuiCheckboxComponent],
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
|
+
export const TUI_CHECKBOX_DEFAULT_OPTIONS = {
|
|
3
|
+
size: `m`,
|
|
4
|
+
appearance: el => (el.checked || el.indeterminate ? `primary` : `whiteblock`),
|
|
5
|
+
icons: {
|
|
6
|
+
checked: size => (size === `m` ? `tuiIconCheckLarge` : `tuiIconCheck`),
|
|
7
|
+
indeterminate: size => (size === `m` ? `tuiIconMinusLarge` : `tuiIconMinus`),
|
|
8
|
+
},
|
|
9
|
+
};
|
|
10
|
+
export const TUI_CHECKBOX_OPTIONS = tuiCreateToken(TUI_CHECKBOX_DEFAULT_OPTIONS);
|
|
11
|
+
export function tuiCheckboxOptionsProvider(options) {
|
|
12
|
+
return tuiProvideOptions(TUI_CHECKBOX_OPTIONS, options, TUI_CHECKBOX_DEFAULT_OPTIONS);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJz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YX09QVElPTlMgPSB0dWlDcmVhdGVUb2tlbihUVUlfQ0hFQ0tCT1hfREVGQVVMVF9PUFRJT05TKTtcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aUNoZWNrYm94T3B0aW9uc1Byb3ZpZGVyKFxuICAgIG9wdGlvbnM6IFBhcnRpYWw8VHVpQ2hlY2tib3hPcHRpb25zPixcbik6IFByb3ZpZGVyIHtcbiAgICByZXR1cm4gdHVpUHJvdmlkZU9wdGlvbnMoVFVJX0NIRUNLQk9YX09QVElPTlMsIG9wdGlvbnMsIFRVSV9DSEVDS0JPWF9ERUZBVUxUX09QVElPTlMpO1xufVxuIl19
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class TuiChipComponent {
|
|
4
|
+
}
|
|
5
|
+
TuiChipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
TuiChipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiChipComponent, selector: "ng-component", host: { classAttribute: "tui-chip" }, ngImport: i0, template: '', isInline: true, styles: ["tui-chip,[tuiChip]{--t-gap: .125rem;--t-margin: -.125rem;--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));font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);padding:var(--t-padding);height:var(--t-size)}tui-chip>img,[tuiChip]>img,tui-chip>tui-svg,[tuiChip]>tui-svg,tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip>tui-avatar,[tuiChip]>tui-avatar,tui-chip>tui-badge,[tuiChip]>tui-badge,tui-chip>[tuiBadge],[tuiChip]>[tuiBadge],tui-chip>[tuiRadio],[tuiChip]>[tuiRadio],tui-chip>[tuiToggle],[tuiChip]>[tuiToggle],tui-chip>[tuiCheckbox],[tuiChip]>[tuiCheckbox],tui-chip._icon-left:before,[tuiChip]._icon-left:before,tui-chip._icon-right:after,[tuiChip]._icon-right:after{margin:var(--t-margin)}tui-chip:-webkit-any(a,button,select,textarea,input,label),[tuiChip]:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip:-moz-any(a,button,select,textarea,input,label),[tuiChip]:-moz-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip[tuiIcons]:before,[tuiChip][tuiIcons]:before,tui-chip[tuiIcons]:after,[tuiChip][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-chip[data-size=xxs],[tuiChip][data-size=xxs]{--t-gap: 0rem;--t-padding: 0 .25rem;--t-size: 1rem;--t-icon-size: .75rem;font:var(--tui-font-text-xs);border-radius:var(--tui-radius-xs)}tui-chip[data-size=xxs]>[tuiIconButton],[tuiChip][data-size=xxs]>[tuiIconButton]{margin:-.5rem;transform:scale(.75)}tui-chip[data-size=xs],[tuiChip][data-size=xs]{--t-padding: 0 .375rem;--t-size: 1.25rem;border-radius:var(--tui-radius-xs)}tui-chip[data-size=xs]>[tuiIconButton],[tuiChip][data-size=xs]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s],[tuiChip][data-size=s]{--t-padding: 0 .625rem;--t-size: var(--tui-height-s)}tui-chip[data-size=s]>[tuiIconButton],[tuiChip][data-size=s]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s]>img,[tuiChip][data-size=s]>img,tui-chip[data-size=s] tui-avatar,[tuiChip][data-size=s] tui-avatar{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}tui-chip[data-size=m],[tuiChip][data-size=m]{--t-margin: -.375rem;--t-icon-size: 1.5rem;--t-padding: 0 1rem;--t-size: var(--tui-height-m);font:var(--tui-font-text-m)}tui-chip[data-size=m]>[tuiIconButton],[tuiChip][data-size=m]>[tuiIconButton]{margin:-.75rem}tui-chip>img,[tuiChip]>img{width:1.5rem}tui-chip>input[tuiChip],[tuiChip]>input[tuiChip]{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiChipComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
10
|
+
class: 'tui-chip',
|
|
11
|
+
}, styles: ["tui-chip,[tuiChip]{--t-gap: .125rem;--t-margin: -.125rem;--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));font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);padding:var(--t-padding);height:var(--t-size)}tui-chip>img,[tuiChip]>img,tui-chip>tui-svg,[tuiChip]>tui-svg,tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip>tui-avatar,[tuiChip]>tui-avatar,tui-chip>tui-badge,[tuiChip]>tui-badge,tui-chip>[tuiBadge],[tuiChip]>[tuiBadge],tui-chip>[tuiRadio],[tuiChip]>[tuiRadio],tui-chip>[tuiToggle],[tuiChip]>[tuiToggle],tui-chip>[tuiCheckbox],[tuiChip]>[tuiCheckbox],tui-chip._icon-left:before,[tuiChip]._icon-left:before,tui-chip._icon-right:after,[tuiChip]._icon-right:after{margin:var(--t-margin)}tui-chip:-webkit-any(a,button,select,textarea,input,label),[tuiChip]:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip:-moz-any(a,button,select,textarea,input,label),[tuiChip]:-moz-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip[tuiIcons]:before,[tuiChip][tuiIcons]:before,tui-chip[tuiIcons]:after,[tuiChip][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-chip[data-size=xxs],[tuiChip][data-size=xxs]{--t-gap: 0rem;--t-padding: 0 .25rem;--t-size: 1rem;--t-icon-size: .75rem;font:var(--tui-font-text-xs);border-radius:var(--tui-radius-xs)}tui-chip[data-size=xxs]>[tuiIconButton],[tuiChip][data-size=xxs]>[tuiIconButton]{margin:-.5rem;transform:scale(.75)}tui-chip[data-size=xs],[tuiChip][data-size=xs]{--t-padding: 0 .375rem;--t-size: 1.25rem;border-radius:var(--tui-radius-xs)}tui-chip[data-size=xs]>[tuiIconButton],[tuiChip][data-size=xs]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s],[tuiChip][data-size=s]{--t-padding: 0 .625rem;--t-size: var(--tui-height-s)}tui-chip[data-size=s]>[tuiIconButton],[tuiChip][data-size=s]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s]>img,[tuiChip][data-size=s]>img,tui-chip[data-size=s] tui-avatar,[tuiChip][data-size=s] tui-avatar{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}tui-chip[data-size=m],[tuiChip][data-size=m]{--t-margin: -.375rem;--t-icon-size: 1.5rem;--t-padding: 0 1rem;--t-size: var(--tui-height-m);font:var(--tui-font-text-m)}tui-chip[data-size=m]>[tuiIconButton],[tuiChip][data-size=m]>[tuiIconButton]{margin:-.75rem}tui-chip>img,[tuiChip]>img{width:1.5rem}tui-chip>input[tuiChip],[tuiChip]>input[tuiChip]{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}\n"] }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ENvbXBvbmVudCB7fVxuIl19
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Directive, Inject, Input } from '@angular/core';
|
|
2
|
+
import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
|
|
3
|
+
import { tuiAvatarOptionsProvider } from '@taiga-ui/experimental/components/avatar';
|
|
4
|
+
import { tuiButtonOptionsProvider } from '@taiga-ui/experimental/components/button';
|
|
5
|
+
import { tuiCheckboxOptionsProvider } from '@taiga-ui/experimental/components/checkbox';
|
|
6
|
+
import { tuiToggleOptionsProvider } from '@taiga-ui/experimental/components/toggle';
|
|
7
|
+
import { TuiAppearanceDirective, tuiAppearanceOptionsProvider, } from '@taiga-ui/experimental/directives/appearance';
|
|
8
|
+
import { TuiIconsDirective } from '@taiga-ui/experimental/directives/icons';
|
|
9
|
+
import { TuiChipComponent } from './chip.component';
|
|
10
|
+
import { TUI_CHIP_OPTIONS } from './chip.options';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@taiga-ui/experimental/directives/appearance";
|
|
13
|
+
import * as i2 from "@taiga-ui/experimental/directives/icons";
|
|
14
|
+
import * as i3 from "@taiga-ui/cdk";
|
|
15
|
+
export class TuiChipDirective {
|
|
16
|
+
constructor(options, directiveStyles) {
|
|
17
|
+
this.options = options;
|
|
18
|
+
this.size = this.options.size;
|
|
19
|
+
directiveStyles.addComponent(TuiChipComponent);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
TuiChipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiChipDirective, deps: [{ token: TUI_CHIP_OPTIONS }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
TuiChipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiChipDirective, selector: "tui-chip,[tuiChip]", inputs: { size: "size" }, host: { properties: { "attr.data-size": "size" } }, providers: [
|
|
24
|
+
tuiAppearanceOptionsProvider(TUI_CHIP_OPTIONS),
|
|
25
|
+
tuiToggleOptionsProvider({ size: 's' }),
|
|
26
|
+
tuiCheckboxOptionsProvider({ size: 's' }),
|
|
27
|
+
tuiAvatarOptionsProvider({ size: 'xxs' }),
|
|
28
|
+
tuiButtonOptionsProvider({
|
|
29
|
+
size: 'xs',
|
|
30
|
+
appearance: 'icon',
|
|
31
|
+
}),
|
|
32
|
+
], hostDirectives: [{ directive: i1.TuiAppearanceDirective, inputs: ["tuiAppearance", "appearance", "tuiAppearanceState", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceFocus"] }, { directive: i2.TuiIconsDirective, inputs: ["iconLeft", "iconLeft", "iconRight", "iconRight"] }], ngImport: i0 });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiChipDirective, decorators: [{
|
|
34
|
+
type: Directive,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: 'tui-chip,[tuiChip]',
|
|
37
|
+
providers: [
|
|
38
|
+
tuiAppearanceOptionsProvider(TUI_CHIP_OPTIONS),
|
|
39
|
+
tuiToggleOptionsProvider({ size: 's' }),
|
|
40
|
+
tuiCheckboxOptionsProvider({ size: 's' }),
|
|
41
|
+
tuiAvatarOptionsProvider({ size: 'xxs' }),
|
|
42
|
+
tuiButtonOptionsProvider({
|
|
43
|
+
size: 'xs',
|
|
44
|
+
appearance: 'icon',
|
|
45
|
+
}),
|
|
46
|
+
],
|
|
47
|
+
hostDirectives: [
|
|
48
|
+
{
|
|
49
|
+
directive: TuiAppearanceDirective,
|
|
50
|
+
inputs: [
|
|
51
|
+
'tuiAppearance: appearance',
|
|
52
|
+
'tuiAppearanceState',
|
|
53
|
+
'tuiAppearanceFocus',
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
directive: TuiIconsDirective,
|
|
58
|
+
inputs: ['iconLeft', 'iconRight'],
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
host: { '[attr.data-size]': 'size' },
|
|
62
|
+
}]
|
|
63
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
64
|
+
type: Inject,
|
|
65
|
+
args: [TUI_CHIP_OPTIONS]
|
|
66
|
+
}] }, { type: i3.TuiDirectiveStylesService, decorators: [{
|
|
67
|
+
type: Inject,
|
|
68
|
+
args: [TuiDirectiveStylesService]
|
|
69
|
+
}] }]; }, propDecorators: { size: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}] } });
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9jaGlwL2NoaXAuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2RCxPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFeEQsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMENBQTBDLENBQUM7QUFDbEYsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMENBQTBDLENBQUM7QUFDbEYsT0FBTyxFQUFDLDBCQUEwQixFQUFDLE1BQU0sNENBQTRDLENBQUM7QUFDdEYsT0FBTyxFQUFDLHdCQUF3QixFQUFDLE1BQU0sMENBQTBDLENBQUM7QUFDbEYsT0FBTyxFQUNILHNCQUFzQixFQUN0Qiw0QkFBNEIsR0FDL0IsTUFBTSw4Q0FBOEMsQ0FBQztBQUN0RCxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSx5Q0FBeU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b21wb25lbnQoVHVpQ2hpcENvbXBvbmVudCk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { TuiChipComponent } from './chip.component';
|
|
3
|
+
import { TuiChipDirective } from './chip.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class TuiChipModule {
|
|
6
|
+
}
|
|
7
|
+
TuiChipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
TuiChipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiChipModule, declarations: [TuiChipComponent, TuiChipDirective], exports: [TuiChipDirective] });
|
|
9
|
+
TuiChipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiChipModule });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiChipModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
declarations: [TuiChipComponent, TuiChipDirective],
|
|
14
|
+
exports: [TuiChipDirective],
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9jaGlwL2NoaXAubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sa0JBQWtCLENBQUM7QUFDbEQsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sa0JBQWtCLENBQUM7O0FBTWxELE1BQU0sT0FBTyxhQUFhOzsyR0FBYixhQUFhOzRHQUFiLGFBQWEsaUJBSFAsZ0JBQWdCLEVBQUUsZ0JBQWdCLGFBQ3ZDLGdCQUFnQjs0R0FFakIsYUFBYTs0RkFBYixhQUFhO2tCQUp6QixRQUFRO21CQUFDO29CQUNOLFlBQVksRUFBRSxDQUFDLGdCQUFnQixFQUFFLGdCQUFnQixDQUFDO29CQUNsRCxPQUFPLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQztpQkFDOUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtUdWlDaGlwQ29tcG9uZW50fSBmcm9tICcuL2NoaXAuY29tcG9uZW50JztcbmltcG9ydCB7VHVpQ2hpcERpcmVjdGl2ZX0gZnJvbSAnLi9jaGlwLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbVHVpQ2hpcENvbXBvbmVudCwgVHVpQ2hpcERpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aUNoaXBEaXJlY3RpdmVdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlDaGlwTW9kdWxlIHt9XG4iXX0=
|
package/{esm2015/components/chip/chip.options.js → esm2020/components/chip/chip.options.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { tuiCreateToken, tuiProvideOptions } from '@taiga-ui/cdk';
|
|
2
2
|
export const TUI_CHIP_DEFAULT_OPTIONS = {
|
|
3
|
-
size: `s`,
|
|
4
3
|
appearance: `neutral`,
|
|
4
|
+
size: `s`,
|
|
5
5
|
};
|
|
6
6
|
export const TUI_CHIP_OPTIONS = tuiCreateToken(TUI_CHIP_DEFAULT_OPTIONS);
|
|
7
7
|
export function tuiChipOptionsProvider(options) {
|
|
8
8
|
return tuiProvideOptions(TUI_CHIP_OPTIONS, options, TUI_CHIP_DEFAULT_OPTIONS);
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcC5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvY2hpcC9jaGlwLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGNBQWMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQVFoRSxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBbUI7SUFDcEQsVUFBVSxFQUFFLFNBQVM7SUFDckIsSUFBSSxFQUFFLEdBQUc7Q0FDWixDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0sZ0JBQWdCLEdBQUcsY0FBYyxDQUFDLHdCQUF3QixDQUFDLENBQUM7QUFFekUsTUFBTSxVQUFVLHNCQUFzQixDQUFDLE9BQWdDO0lBQ25FLE9BQU8saUJBQWlCLENBQUMsZ0JBQWdCLEVBQUUsT0FBTyxFQUFFLHdCQUF3QixDQUFDLENBQUM7QUFDbEYsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7UHJvdmlkZXJ9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHt0dWlDcmVhdGVUb2tlbiwgdHVpUHJvdmlkZU9wdGlvbnN9IGZyb20gJ0B0YWlnYS11aS9jZGsnO1xuaW1wb3J0IHtUdWlTaXplWFhTfSBmcm9tICdAdGFpZ2EtdWkvY29yZSc7XG5pbXBvcnQge1R1aUFwcGVhcmFuY2VPcHRpb25zfSBmcm9tICdAdGFpZ2EtdWkvZXhwZXJpbWVudGFsL2RpcmVjdGl2ZXMvYXBwZWFyYW5jZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgVHVpQ2hpcE9wdGlvbnMgZXh0ZW5kcyBUdWlBcHBlYXJhbmNlT3B0aW9ucyB7XG4gICAgcmVhZG9ubHkgc2l6ZTogVHVpU2l6ZVhYUztcbn1cblxuZXhwb3J0IGNvbnN0IFRVSV9DSElQX0RFRkFVTFRfT1BUSU9OUzogVHVpQ2hpcE9wdGlvbnMgPSB7XG4gICAgYXBwZWFyYW5jZTogYG5ldXRyYWxgLFxuICAgIHNpemU6IGBzYCxcbn07XG5cbmV4cG9ydCBjb25zdCBUVUlfQ0hJUF9PUFRJT05TID0gdHVpQ3JlYXRlVG9rZW4oVFVJX0NISVBfREVGQVVMVF9PUFRJT05TKTtcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aUNoaXBPcHRpb25zUHJvdmlkZXIob3B0aW9uczogUGFydGlhbDxUdWlDaGlwT3B0aW9ucz4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHR1aVByb3ZpZGVPcHRpb25zKFRVSV9DSElQX09QVElPTlMsIG9wdGlvbnMsIFRVSV9DSElQX0RFRkFVTFRfT1BUSU9OUyk7XG59XG4iXX0=
|
|
@@ -5,20 +5,15 @@ export class TuiCompassComponent {
|
|
|
5
5
|
this.degrees = NaN;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
TuiCompassComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
TuiCompassComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8
|
+
TuiCompassComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCompassComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
TuiCompassComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiCompassComponent, selector: "tui-compass", inputs: { degrees: "degrees" }, host: { properties: { "style.--t-degrees.deg": "this.degrees" } }, ngImport: i0, template: '', isInline: true, styles: [":host{position:relative;display:inline-block;color:var(--tui-primary);border-radius:50%;width:1rem;height:1rem;border:.1875rem solid var(--tui-base-01);box-shadow:0 0 .1875rem #0000004d;transform-style:preserve-3d}:host:before{content:\"\";position:absolute;top:0;left:.125rem;-webkit-mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 8.99993C4 8 8 8 12 8.99993C9.91509 5.73239 8.5 3 6 0C3.5 3 2 5.5 0 8.99993Z\"/></svg>');mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 8.99993C4 8 8 8 12 8.99993C9.91509 5.73239 8.5 3 6 0C3.5 3 2 5.5 0 8.99993Z\"/></svg>');transform:rotate(var(--t-degrees)) translateY(-.625rem) translateZ(-1rem);width:.75rem;height:1rem;background:currentColor}:host:after{position:absolute;top:0;left:0;bottom:0;right:0;content:\"\";border-radius:inherit;background:currentColor linear-gradient(-45deg,rgba(0,0,0,.2),transparent)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCompassComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{
|
|
13
|
-
selector: 'tui-compass',
|
|
14
|
-
template: '',
|
|
15
|
-
styleUrls: ['./compass.style.less'],
|
|
16
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
|
-
}]
|
|
12
|
+
args: [{ selector: 'tui-compass', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;display:inline-block;color:var(--tui-primary);border-radius:50%;width:1rem;height:1rem;border:.1875rem solid var(--tui-base-01);box-shadow:0 0 .1875rem #0000004d;transform-style:preserve-3d}:host:before{content:\"\";position:absolute;top:0;left:.125rem;-webkit-mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 8.99993C4 8 8 8 12 8.99993C9.91509 5.73239 8.5 3 6 0C3.5 3 2 5.5 0 8.99993Z\"/></svg>');mask-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 8.99993C4 8 8 8 12 8.99993C9.91509 5.73239 8.5 3 6 0C3.5 3 2 5.5 0 8.99993Z\"/></svg>');transform:rotate(var(--t-degrees)) translateY(-.625rem) translateZ(-1rem);width:.75rem;height:1rem;background:currentColor}:host:after{position:absolute;top:0;left:0;bottom:0;right:0;content:\"\";border-radius:inherit;background:currentColor linear-gradient(-45deg,rgba(0,0,0,.2),transparent)}\n"] }]
|
|
18
13
|
}], propDecorators: { degrees: [{
|
|
19
14
|
type: Input
|
|
20
15
|
}, {
|
|
21
16
|
type: HostBinding,
|
|
22
17
|
args: ['style.--t-degrees.deg']
|
|
23
18
|
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9jb21wYXNzL2NvbXBhc3MuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFRckYsTUFBTSxPQUFPLG1CQUFtQjtJQU5oQztRQVNJLFlBQU8sR0FBRyxHQUFHLENBQUM7S0FDakI7O2lIQUpZLG1CQUFtQjtxR0FBbkIsbUJBQW1CLHNKQUpsQixFQUFFOzRGQUlILG1CQUFtQjtrQkFOL0IsU0FBUzsrQkFDSSxhQUFhLFlBQ2IsRUFBRSxtQkFFSyx1QkFBdUIsQ0FBQyxNQUFNOzhCQUsvQyxPQUFPO3NCQUZOLEtBQUs7O3NCQUNMLFdBQVc7dUJBQUMsdUJBQXVCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50LCBIb3N0QmluZGluZywgSW5wdXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ3R1aS1jb21wYXNzJyxcbiAgICB0ZW1wbGF0ZTogJycsXG4gICAgc3R5bGVVcmxzOiBbJy4vY29tcGFzcy5zdHlsZS5sZXNzJ10sXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIFR1aUNvbXBhc3NDb21wb25lbnQge1xuICAgIEBJbnB1dCgpXG4gICAgQEhvc3RCaW5kaW5nKCdzdHlsZS4tLXQtZGVncmVlcy5kZWcnKVxuICAgIGRlZ3JlZXMgPSBOYU47XG59XG4iXX0=
|
|
@@ -3,10 +3,10 @@ import { TuiCompassComponent } from './compass.component';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class TuiCompassModule {
|
|
5
5
|
}
|
|
6
|
-
TuiCompassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
TuiCompassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
8
|
-
TuiCompassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6
|
+
TuiCompassModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCompassModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiCompassModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiCompassModule, declarations: [TuiCompassComponent], exports: [TuiCompassComponent] });
|
|
8
|
+
TuiCompassModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCompassModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiCompassModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
declarations: [TuiCompassComponent],
|
package/{esm2015/components/icon/icon.component.js → esm2020/components/icon/icon.component.mjs}
RENAMED
|
@@ -8,22 +8,16 @@ export class TuiIconComponent {
|
|
|
8
8
|
this.background = '';
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
TuiIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
TuiIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
TuiIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiIconComponent, deps: [{ token: TUI_ICON_RESOLVER }], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
TuiIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiIconComponent, selector: "tui-icon", inputs: { icon: "icon", background: "background" }, host: { properties: { "class._duo": "background", "style.--t-mask": "\"url(\" + resolver(icon) + \")\"", "style.--t-mask-bg": "background ? \"url(\" + resolver(background).replace(\"Outline\", \"\") + \")\" : null" } }, ngImport: i0, template: '', isInline: true, styles: [":host{position:relative;display:inline-block;width:1em;height:1em;font-size:1.5rem;flex-shrink:0;vertical-align:middle}:host._duo{-webkit-mask:var(--t-mask-bg) no-repeat center / contain;mask:var(--t-mask-bg) no-repeat center / contain}:host:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";-webkit-mask:var(--t-mask) no-repeat center / contain;mask:var(--t-mask) no-repeat center / contain;background:currentColor}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiIconComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
|
-
args: [{
|
|
16
|
-
selector: 'tui-icon',
|
|
17
|
-
template: '',
|
|
18
|
-
host: {
|
|
15
|
+
args: [{ selector: 'tui-icon', template: '', host: {
|
|
19
16
|
'[class._duo]': 'background',
|
|
20
17
|
'[style.--t-mask]': '"url(" + resolver(icon) + ")"',
|
|
21
18
|
// TODO: remove Outline hack in 4.0
|
|
22
19
|
'[style.--t-mask-bg]': 'background ? "url(" + resolver(background).replace("Outline", "") + ")" : null',
|
|
23
|
-
},
|
|
24
|
-
styleUrls: ['./icon.style.less'],
|
|
25
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
-
}]
|
|
20
|
+
}, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{position:relative;display:inline-block;width:1em;height:1em;font-size:1.5rem;flex-shrink:0;vertical-align:middle}:host._duo{-webkit-mask:var(--t-mask-bg) no-repeat center / contain;mask:var(--t-mask-bg) no-repeat center / contain}:host:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";-webkit-mask:var(--t-mask) no-repeat center / contain;mask:var(--t-mask) no-repeat center / contain;background:currentColor}\n"] }]
|
|
27
21
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
28
22
|
type: Inject,
|
|
29
23
|
args: [TUI_ICON_RESOLVER]
|
|
@@ -32,4 +26,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
32
26
|
}], background: [{
|
|
33
27
|
type: Input
|
|
34
28
|
}] } });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHBlcmltZW50YWwvY29tcG9uZW50cy9pY29uL2ljb24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUVoRixPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSwrQkFBK0IsQ0FBQzs7QUFlaEUsTUFBTSxPQUFPLGdCQUFnQjtJQU96QixZQUFnRCxRQUFrQztRQUFsQyxhQUFRLEdBQVIsUUFBUSxDQUEwQjtRQUxsRixTQUFJLEdBQUcsRUFBRSxDQUFDO1FBR1YsZUFBVSxHQUFHLEVBQUUsQ0FBQztJQUVxRSxDQUFDOzs4R0FQN0UsZ0JBQWdCLGtCQU9MLGlCQUFpQjtrR0FQNUIsZ0JBQWdCLGdVQVhmLEVBQUU7NEZBV0gsZ0JBQWdCO2tCQWI1QixTQUFTOytCQUNJLFVBQVUsWUFDVixFQUFFLFFBQ047d0JBQ0YsY0FBYyxFQUFFLFlBQVk7d0JBQzVCLGtCQUFrQixFQUFFLCtCQUErQjt3QkFDbkQsbUNBQW1DO3dCQUNuQyxxQkFBcUIsRUFDakIsZ0ZBQ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B7XG4gICAgQElucHV0KClcbiAgICBpY29uID0gJyc7XG5cbiAgICBASW5wdXQoKVxuICAgIGJhY2tncm91bmQgPSAnJztcblxuICAgIGNvbnN0cnVjdG9yKEBJbmplY3QoVFVJX0lDT05fUkVTT0xWRVIpIHJlYWRvbmx5IHJlc29sdmVyOiBUdWlTdHJpbmdIYW5kbGVyPHN0cmluZz4pIHt9XG59XG4iXX0=
|
|
@@ -3,10 +3,10 @@ import { TuiIconComponent } from './icon.component';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class TuiIconModule {
|
|
5
5
|
}
|
|
6
|
-
TuiIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
TuiIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
8
|
-
TuiIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6
|
+
TuiIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiIconModule, declarations: [TuiIconComponent], exports: [TuiIconComponent] });
|
|
8
|
+
TuiIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiIconModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiIconModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
declarations: [TuiIconComponent],
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class TuiPinComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.open = false;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
TuiPinComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPinComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
TuiPinComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiPinComponent, selector: "tui-pin,[tuiPin]", inputs: { open: "open" }, host: { properties: { "class._open": "this.open" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{--t-size: 2rem;transition-property:width,height,border,margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;width:var(--t-size);height:var(--t-size);align-items:stretch;flex-direction:column;justify-content:center;text-align:center;border-radius:100%;font:var(--tui-font-text-s);font-weight:700;box-sizing:border-box;color:var(--tui-accent-text);background:var(--tui-accent);box-shadow:0 0 0 .125rem var(--tui-elevation-01);border:0 solid var(--tui-accent);transform:translate(-50%,-50%)}:host:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}:host:-moz-any(a,button,select,textarea,input,label){cursor:pointer}:host:empty{--t-size: .75rem}:host:empty:before{display:none}:host ::ng-deep>img{max-height:100%;box-sizing:border-box;border-radius:100%;background:var(--tui-base-01)}:host ::ng-deep>tui-icon,:host ::ng-deep>tui-svg{transition-property:width,height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.25rem;height:1.25rem;align-self:center}:host._open{--t-size: 3.5rem;font:var(--tui-font-text-m);font-weight:700;border-width:0;margin-top:-2.75rem}:host._open ::ng-deep>img{padding:.125rem}:host._open ::ng-deep>tui-icon,:host._open ::ng-deep>tui-svg{width:2.125rem;height:2.125rem}:host._open:before{transform:scale(.99) translate(-1.875rem,-1.875rem);opacity:1}:host._open:after{top:4.5rem;opacity:1}:host:before{transition-property:transform,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:50%;left:50%;right:-.25rem;bottom:-.625rem;box-sizing:border-box;border-width:2.2rem 2rem;border-style:solid;border-color:inherit;opacity:0;transform:scale(.57) translate(-1.875rem,-1.875rem);transform-origin:top left;pointer-events:none;-webkit-mask:url('data:image/svg+xml,<svg width=\"60\" height=\"66\" viewBox=\"0 0 60 66\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 30.0917C0 13.4726 13.4313 0 30.0002 0C46.5687 0 60 13.4726 60 30.0917C60 44.2105 50.4927 56.0529 37.4162 59.2986C32.5552 60.5551 31.0408 65.275 31.0408 65.275C30.8892 65.697 30.4909 66 30.0183 66C29.5453 66 29.147 65.697 28.9938 65.275C28.9938 65.275 27.481 60.5551 22.6199 59.2986C9.46433 56.0206 0 43.5901 0 30.0917ZM30 57.75C45.3259 57.75 57.75 45.3259 57.75 30C57.75 14.6741 45.3259 2.25 30 2.25C14.6741 2.25 2.25 14.6741 2.25 30C2.25 45.3259 14.6741 57.75 30 57.75Z\" /></svg>') no-repeat;mask:url('data:image/svg+xml,<svg width=\"60\" height=\"66\" viewBox=\"0 0 60 66\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 30.0917C0 13.4726 13.4313 0 30.0002 0C46.5687 0 60 13.4726 60 30.0917C60 44.2105 50.4927 56.0529 37.4162 59.2986C32.5552 60.5551 31.0408 65.275 31.0408 65.275C30.8892 65.697 30.4909 66 30.0183 66C29.5453 66 29.147 65.697 28.9938 65.275C28.9938 65.275 27.481 60.5551 22.6199 59.2986C9.46433 56.0206 0 43.5901 0 30.0917ZM30 57.75C45.3259 57.75 57.75 45.3259 57.75 30C57.75 14.6741 45.3259 2.25 30 2.25C14.6741 2.25 2.25 14.6741 2.25 30C2.25 45.3259 14.6741 57.75 30 57.75Z\" /></svg>') no-repeat}:host:after{transition-property:top,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:50%;left:50%;border:.1875rem solid currentColor;border-color:inherit;border-radius:100%;box-sizing:border-box;box-shadow:inherit;transform:translate(-50%,-50%);opacity:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPinComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{ selector: 'tui-pin,[tuiPin]', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{--t-size: 2rem;transition-property:width,height,border,margin;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;width:var(--t-size);height:var(--t-size);align-items:stretch;flex-direction:column;justify-content:center;text-align:center;border-radius:100%;font:var(--tui-font-text-s);font-weight:700;box-sizing:border-box;color:var(--tui-accent-text);background:var(--tui-accent);box-shadow:0 0 0 .125rem var(--tui-elevation-01);border:0 solid var(--tui-accent);transform:translate(-50%,-50%)}:host:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}:host:-moz-any(a,button,select,textarea,input,label){cursor:pointer}:host:empty{--t-size: .75rem}:host:empty:before{display:none}:host ::ng-deep>img{max-height:100%;box-sizing:border-box;border-radius:100%;background:var(--tui-base-01)}:host ::ng-deep>tui-icon,:host ::ng-deep>tui-svg{transition-property:width,height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.25rem;height:1.25rem;align-self:center}:host._open{--t-size: 3.5rem;font:var(--tui-font-text-m);font-weight:700;border-width:0;margin-top:-2.75rem}:host._open ::ng-deep>img{padding:.125rem}:host._open ::ng-deep>tui-icon,:host._open ::ng-deep>tui-svg{width:2.125rem;height:2.125rem}:host._open:before{transform:scale(.99) translate(-1.875rem,-1.875rem);opacity:1}:host._open:after{top:4.5rem;opacity:1}:host:before{transition-property:transform,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:50%;left:50%;right:-.25rem;bottom:-.625rem;box-sizing:border-box;border-width:2.2rem 2rem;border-style:solid;border-color:inherit;opacity:0;transform:scale(.57) translate(-1.875rem,-1.875rem);transform-origin:top left;pointer-events:none;-webkit-mask:url('data:image/svg+xml,<svg width=\"60\" height=\"66\" viewBox=\"0 0 60 66\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 30.0917C0 13.4726 13.4313 0 30.0002 0C46.5687 0 60 13.4726 60 30.0917C60 44.2105 50.4927 56.0529 37.4162 59.2986C32.5552 60.5551 31.0408 65.275 31.0408 65.275C30.8892 65.697 30.4909 66 30.0183 66C29.5453 66 29.147 65.697 28.9938 65.275C28.9938 65.275 27.481 60.5551 22.6199 59.2986C9.46433 56.0206 0 43.5901 0 30.0917ZM30 57.75C45.3259 57.75 57.75 45.3259 57.75 30C57.75 14.6741 45.3259 2.25 30 2.25C14.6741 2.25 2.25 14.6741 2.25 30C2.25 45.3259 14.6741 57.75 30 57.75Z\" /></svg>') no-repeat;mask:url('data:image/svg+xml,<svg width=\"60\" height=\"66\" viewBox=\"0 0 60 66\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M0 30.0917C0 13.4726 13.4313 0 30.0002 0C46.5687 0 60 13.4726 60 30.0917C60 44.2105 50.4927 56.0529 37.4162 59.2986C32.5552 60.5551 31.0408 65.275 31.0408 65.275C30.8892 65.697 30.4909 66 30.0183 66C29.5453 66 29.147 65.697 28.9938 65.275C28.9938 65.275 27.481 60.5551 22.6199 59.2986C9.46433 56.0206 0 43.5901 0 30.0917ZM30 57.75C45.3259 57.75 57.75 45.3259 57.75 30C57.75 14.6741 45.3259 2.25 30 2.25C14.6741 2.25 2.25 14.6741 2.25 30C2.25 45.3259 14.6741 57.75 30 57.75Z\" /></svg>') no-repeat}:host:after{transition-property:top,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:50%;left:50%;border:.1875rem solid currentColor;border-color:inherit;border-radius:100%;box-sizing:border-box;box-shadow:inherit;transform:translate(-50%,-50%);opacity:0}\n"] }]
|
|
13
|
+
}], propDecorators: { open: [{
|
|
14
|
+
type: Input
|
|
15
|
+
}, {
|
|
16
|
+
type: HostBinding,
|
|
17
|
+
args: ['class._open']
|
|
18
|
+
}] } });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGluLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL3Bpbi9waW4uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFRckYsTUFBTSxPQUFPLGVBQWU7SUFONUI7UUFTSSxTQUFJLEdBQUcsS0FBSyxDQUFDO0tBQ2hCOzs2R0FKWSxlQUFlO2lHQUFmLGVBQWUsd0lBSmQsMkJBQTJCOzRGQUk1QixlQUFlO2tCQU4zQixTQUFTOytCQUNJLGtCQUFrQixZQUNsQiwyQkFBMkIsbUJBRXBCLHVCQUF1QixDQUFDLE1BQU07OEJBSy9DLElBQUk7c0JBRkgsS0FBSzs7c0JBQ0wsV0FBVzt1QkFBQyxhQUFhIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50LCBIb3N0QmluZGluZywgSW5wdXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ3R1aS1waW4sW3R1aVBpbl0nLFxuICAgIHRlbXBsYXRlOiAnPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PicsXG4gICAgc3R5bGVVcmxzOiBbJy4vcGluLnN0eWxlcy5sZXNzJ10sXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2gsXG59KVxuZXhwb3J0IGNsYXNzIFR1aVBpbkNvbXBvbmVudCB7XG4gICAgQElucHV0KClcbiAgICBASG9zdEJpbmRpbmcoJ2NsYXNzLl9vcGVuJylcbiAgICBvcGVuID0gZmFsc2U7XG59XG4iXX0=
|
|
@@ -3,10 +3,10 @@ import { TuiPinComponent } from './pin.component';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class TuiPinModule {
|
|
5
5
|
}
|
|
6
|
-
TuiPinModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
TuiPinModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
8
|
-
TuiPinModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6
|
+
TuiPinModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPinModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiPinModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiPinModule, declarations: [TuiPinComponent], exports: [TuiPinComponent] });
|
|
8
|
+
TuiPinModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPinModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPinModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
declarations: [TuiPinComponent],
|