@taiga-ui/kit 3.17.0 → 3.18.0-dev.main-05a0bf8
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/bundles/taiga-ui-kit-components-accordion.umd.js +20 -29
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.js +7 -7
- package/bundles/taiga-ui-kit-components-avatar.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +23 -32
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +21 -27
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +17 -26
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js +10 -10
- package/bundles/taiga-ui-kit-components-files.umd.js +15 -24
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +18 -24
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +18 -24
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +18 -24
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +18 -24
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +17 -26
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +20 -26
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +31 -32
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +12 -21
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +12 -21
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-island.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js +20 -29
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +18 -27
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +24 -30
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +17 -26
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +23 -32
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-prompt.umd.js +98 -0
- package/bundles/taiga-ui-kit-components-prompt.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-push.umd.js +23 -32
- package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +13 -22
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +7 -7
- package/bundles/taiga-ui-kit-components-select.umd.js +27 -33
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +20 -29
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +14 -23
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +26 -35
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +15 -24
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tiles.umd.js +17 -26
- package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +11 -20
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +32 -41
- package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.js +10 -4
- package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-constants.umd.js +4 -13
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +11 -20
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.js +11 -20
- package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +14 -23
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-mask.umd.js +7 -7
- package/bundles/taiga-ui-kit-directives-present.umd.js +7 -7
- package/bundles/taiga-ui-kit-directives-project-class.umd.js +11 -20
- package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +7 -7
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +7 -7
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +11 -20
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js +14 -23
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +14 -23
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +11 -20
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +7 -7
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js +7 -7
- package/bundles/taiga-ui-kit-pipes-to-year.umd.js +7 -7
- package/bundles/taiga-ui-kit-tokens.umd.js +4 -0
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +4 -13
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +4 -13
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +4 -13
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
- package/components/combo-box/combo-box.module.d.ts +1 -1
- package/components/index.d.ts +1 -0
- package/components/input-copy/input-copy.module.d.ts +1 -1
- package/components/input-date/input-date.module.d.ts +3 -3
- package/components/input-date-range/input-date-range.module.d.ts +1 -1
- package/components/input-date-time/input-date-time.module.d.ts +3 -3
- package/components/input-password/input-password.module.d.ts +1 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +3 -3
- package/components/input-phone-international/input-phone-international.module.d.ts +1 -1
- package/components/multi-select/multi-select.module.d.ts +4 -4
- package/components/prompt/index.d.ts +2 -0
- package/components/prompt/package.json +10 -0
- package/components/prompt/prompt.component.d.ts +25 -0
- package/components/prompt/prompt.module.d.ts +10 -0
- package/components/prompt/taiga-ui-kit-components-prompt.d.ts +5 -0
- package/components/select/select.module.d.ts +1 -1
- package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +3 -3
- package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +3 -3
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +3 -3
- package/esm2015/components/accordion/accordion.component.js +3 -3
- package/esm2015/components/accordion/accordion.module.js +4 -4
- package/esm2015/components/action/action.component.js +3 -3
- package/esm2015/components/action/action.module.js +4 -4
- package/esm2015/components/arrow/arrow.component.js +3 -3
- package/esm2015/components/arrow/arrow.module.js +4 -4
- package/esm2015/components/avatar/avatar.component.js +3 -3
- package/esm2015/components/avatar/avatar.module.js +4 -4
- package/esm2015/components/badge/badge.component.js +3 -3
- package/esm2015/components/badge/badge.module.js +4 -4
- package/esm2015/components/badged-content/badged-content.component.js +3 -3
- package/esm2015/components/badged-content/badged-content.module.js +4 -4
- package/esm2015/components/breadcrumbs/breadcrumbs.component.js +3 -3
- package/esm2015/components/breadcrumbs/breadcrumbs.module.js +4 -4
- package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
- package/esm2015/components/calendar-month/calendar-month.module.js +4 -4
- package/esm2015/components/calendar-range/calendar-range.component.js +3 -3
- package/esm2015/components/calendar-range/calendar-range.module.js +4 -4
- package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
- package/esm2015/components/carousel/carousel-buttons.directive.js +3 -3
- package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
- package/esm2015/components/carousel/carousel.component.js +3 -3
- package/esm2015/components/carousel/carousel.directive.js +3 -3
- package/esm2015/components/carousel/carousel.module.js +4 -4
- package/esm2015/components/checkbox/checkbox.component.js +3 -3
- package/esm2015/components/checkbox/checkbox.module.js +4 -4
- package/esm2015/components/checkbox-block/checkbox-block.component.js +3 -3
- package/esm2015/components/checkbox-block/checkbox-block.module.js +4 -4
- package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
- package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +4 -4
- package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
- package/esm2015/components/combo-box/combo-box.component.js +5 -5
- package/esm2015/components/combo-box/combo-box.directive.js +3 -3
- package/esm2015/components/combo-box/combo-box.module.js +9 -6
- package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +3 -3
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +3 -3
- package/esm2015/components/data-list-wrapper/data-list-wrapper.js +3 -3
- package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +4 -4
- package/esm2015/components/elastic-container/elastic-container.component.js +3 -3
- package/esm2015/components/elastic-container/elastic-container.directive.js +3 -3
- package/esm2015/components/elastic-container/elastic-container.module.js +4 -4
- package/esm2015/components/files/file/file.component.js +5 -5
- package/esm2015/components/files/files.component.js +3 -3
- package/esm2015/components/files/files.module.js +4 -4
- package/esm2015/components/filter/filter.component.js +3 -3
- package/esm2015/components/filter/filter.module.js +4 -4
- package/esm2015/components/index.js +2 -1
- package/esm2015/components/input/input.component.js +3 -3
- package/esm2015/components/input/input.directive.js +3 -3
- package/esm2015/components/input/input.module.js +4 -4
- package/esm2015/components/input-copy/input-copy.component.js +5 -5
- package/esm2015/components/input-copy/input-copy.directive.js +3 -3
- package/esm2015/components/input-copy/input-copy.module.js +9 -6
- package/esm2015/components/input-count/input-count.component.js +3 -3
- package/esm2015/components/input-count/input-count.directive.js +3 -3
- package/esm2015/components/input-count/input-count.module.js +4 -4
- package/esm2015/components/input-date/input-date.component.js +5 -5
- package/esm2015/components/input-date/input-date.directive.js +3 -3
- package/esm2015/components/input-date/input-date.module.js +9 -6
- package/esm2015/components/input-date-range/input-date-range.component.js +5 -5
- package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
- package/esm2015/components/input-date-range/input-date-range.module.js +9 -6
- package/esm2015/components/input-date-time/input-date-time.component.js +5 -5
- package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
- package/esm2015/components/input-date-time/input-date-time.module.js +9 -6
- package/esm2015/components/input-files/input-files.component.js +3 -3
- package/esm2015/components/input-files/input-files.directive.js +3 -3
- package/esm2015/components/input-files/input-files.module.js +4 -4
- package/esm2015/components/input-files/max-size-rejection-error.pipe.js +3 -3
- package/esm2015/components/input-inline/input-inline.component.js +3 -3
- package/esm2015/components/input-inline/input-inline.module.js +4 -4
- package/esm2015/components/input-month/input-month.component.js +3 -3
- package/esm2015/components/input-month/input-month.directive.js +3 -3
- package/esm2015/components/input-month/input-month.module.js +4 -4
- package/esm2015/components/input-month-range/input-month-range.component.js +3 -3
- package/esm2015/components/input-month-range/input-month-range.directive.js +3 -3
- package/esm2015/components/input-month-range/input-month-range.module.js +4 -4
- package/esm2015/components/input-number/input-number.component.js +3 -3
- package/esm2015/components/input-number/input-number.directive.js +3 -3
- package/esm2015/components/input-number/input-number.module.js +4 -4
- package/esm2015/components/input-password/input-password-options.js +3 -3
- package/esm2015/components/input-password/input-password.component.js +5 -5
- package/esm2015/components/input-password/input-password.directive.js +3 -3
- package/esm2015/components/input-password/input-password.module.js +9 -6
- package/esm2015/components/input-phone/input-phone.component.js +3 -3
- package/esm2015/components/input-phone/input-phone.directive.js +3 -3
- package/esm2015/components/input-phone/input-phone.module.js +4 -4
- package/esm2015/components/input-phone-international/input-phone-international.component.js +15 -11
- package/esm2015/components/input-phone-international/input-phone-international.module.js +9 -6
- package/esm2015/components/input-range/input-range.component.js +6 -6
- package/esm2015/components/input-range/input-range.module.js +4 -4
- package/esm2015/components/input-slider/input-slider.component.js +3 -3
- package/esm2015/components/input-slider/input-slider.module.js +4 -4
- package/esm2015/components/input-tag/input-tag.component.js +5 -5
- package/esm2015/components/input-tag/input-tag.module.js +4 -4
- package/esm2015/components/input-time/input-time-options.js +2 -2
- package/esm2015/components/input-time/input-time.component.js +3 -3
- package/esm2015/components/input-time/input-time.module.js +4 -4
- package/esm2015/components/input-year/input-year.component.js +3 -3
- package/esm2015/components/input-year/input-year.directive.js +3 -3
- package/esm2015/components/input-year/input-year.module.js +4 -4
- package/esm2015/components/island/island.component.js +3 -3
- package/esm2015/components/island/island.module.js +4 -4
- package/esm2015/components/items-with-more/items-with-more.component.js +3 -3
- package/esm2015/components/items-with-more/items-with-more.directive.js +3 -3
- package/esm2015/components/items-with-more/items-with-more.module.js +4 -4
- package/esm2015/components/items-with-more/items-with-more.service.js +3 -3
- package/esm2015/components/items-with-more/more.directive.js +3 -3
- package/esm2015/components/line-clamp/line-clamp-box.component.js +3 -3
- package/esm2015/components/line-clamp/line-clamp-position.directive.js +3 -3
- package/esm2015/components/line-clamp/line-clamp.component.js +4 -4
- package/esm2015/components/line-clamp/line-clamp.module.js +4 -4
- package/esm2015/components/marker-icon/marker-icon.component.js +3 -3
- package/esm2015/components/marker-icon/marker-icon.module.js +4 -4
- package/esm2015/components/multi-select/hide-selected.pipe.js +3 -3
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +3 -3
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +3 -3
- package/esm2015/components/multi-select/multi-select.component.js +5 -5
- package/esm2015/components/multi-select/multi-select.module.js +9 -6
- package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
- package/esm2015/components/multi-select-option/multi-select-option.module.js +4 -4
- package/esm2015/components/pagination/pagination.component.js +3 -3
- package/esm2015/components/pagination/pagination.module.js +4 -4
- package/esm2015/components/pdf-viewer/pdf-viewer.component.js +3 -3
- package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +3 -3
- package/esm2015/components/pdf-viewer/pdf-viewer.module.js +4 -4
- package/esm2015/components/pdf-viewer/pdf-viewer.service.js +3 -3
- package/esm2015/components/progress/progress-bar/progress-bar.component.js +3 -3
- package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +3 -3
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +3 -3
- package/esm2015/components/progress/progress-label/progress-label.component.js +3 -3
- package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +3 -3
- package/esm2015/components/progress/progress.module.js +4 -4
- package/esm2015/components/prompt/index.js +3 -0
- package/esm2015/components/prompt/prompt.component.js +41 -0
- package/esm2015/components/prompt/prompt.module.js +20 -0
- package/esm2015/components/prompt/taiga-ui-kit-components-prompt.js +5 -0
- package/esm2015/components/push/push-alert.component.js +3 -3
- package/esm2015/components/push/push-alert.directive.js +3 -3
- package/esm2015/components/push/push.component.js +3 -3
- package/esm2015/components/push/push.directive.js +3 -3
- package/esm2015/components/push/push.module.js +4 -4
- package/esm2015/components/push/push.service.js +3 -3
- package/esm2015/components/radio/radio.component.js +3 -3
- package/esm2015/components/radio/radio.module.js +4 -4
- package/esm2015/components/radio-block/radio-block.component.js +3 -3
- package/esm2015/components/radio-block/radio-block.module.js +4 -4
- package/esm2015/components/radio-group/radio-group.component.js +3 -3
- package/esm2015/components/radio-group/radio-group.module.js +4 -4
- package/esm2015/components/radio-labeled/radio-labeled.component.js +3 -3
- package/esm2015/components/radio-labeled/radio-labeled.module.js +4 -4
- package/esm2015/components/radio-list/radio-list.component.js +3 -3
- package/esm2015/components/radio-list/radio-list.module.js +4 -4
- package/esm2015/components/range/range-change.directive.js +3 -3
- package/esm2015/components/range/range.component.js +3 -3
- package/esm2015/components/range/range.module.js +4 -4
- package/esm2015/components/rating/rating-options.js +2 -2
- package/esm2015/components/rating/rating.component.js +4 -4
- package/esm2015/components/rating/rating.module.js +4 -4
- package/esm2015/components/select/native-select/native-select-group.component.js +3 -3
- package/esm2015/components/select/native-select/native-select.component.js +3 -3
- package/esm2015/components/select/native-select/native-select.js +3 -3
- package/esm2015/components/select/select.component.js +5 -5
- package/esm2015/components/select/select.directive.js +3 -3
- package/esm2015/components/select/select.module.js +9 -6
- package/esm2015/components/select-option/select-option.component.js +3 -3
- package/esm2015/components/select-option/select-option.module.js +4 -4
- package/esm2015/components/slider/helpers/slider-key-steps.directive.js +3 -3
- package/esm2015/components/slider/helpers/slider-readonly.directive.js +3 -3
- package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +3 -3
- package/esm2015/components/slider/slider.component.js +3 -3
- package/esm2015/components/slider/slider.module.js +4 -4
- package/esm2015/components/stepper/step/step.component.js +3 -3
- package/esm2015/components/stepper/stepper.component.js +3 -3
- package/esm2015/components/stepper/stepper.module.js +4 -4
- package/esm2015/components/tabs/tab/tab.component.js +3 -3
- package/esm2015/components/tabs/tabs/tabs.component.js +3 -3
- package/esm2015/components/tabs/tabs-vertical/tabs-vertical.component.js +3 -3
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -3
- package/esm2015/components/tabs/tabs.directive.js +3 -3
- package/esm2015/components/tabs/tabs.module.js +4 -4
- package/esm2015/components/tabs/underline/underline.component.js +3 -3
- package/esm2015/components/tag/tag.component.js +3 -3
- package/esm2015/components/tag/tag.module.js +4 -4
- package/esm2015/components/text-area/text-area.component.js +5 -5
- package/esm2015/components/text-area/text-area.directive.js +3 -3
- package/esm2015/components/text-area/text-area.module.js +4 -4
- package/esm2015/components/tiles/tile-handle.directive.js +3 -3
- package/esm2015/components/tiles/tile.component.js +3 -3
- package/esm2015/components/tiles/tiles.component.js +3 -3
- package/esm2015/components/tiles/tiles.module.js +4 -4
- package/esm2015/components/toggle/toggle.component.js +3 -3
- package/esm2015/components/toggle/toggle.module.js +4 -4
- package/esm2015/components/tree/components/tree/tree.component.js +3 -3
- package/esm2015/components/tree/components/tree-item/tree-item.component.js +3 -3
- package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
- package/esm2015/components/tree/directives/tree-children.directive.js +3 -3
- package/esm2015/components/tree/directives/tree-controller.directive.js +3 -3
- package/esm2015/components/tree/directives/tree-item-controller.directive.js +3 -3
- package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
- package/esm2015/components/tree/misc/tree.service.js +3 -3
- package/esm2015/components/tree/tree.module.js +4 -4
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +3 -3
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +4 -4
- package/esm2015/directives/highlight/highlight.directive.js +3 -3
- package/esm2015/directives/highlight/highlight.module.js +4 -4
- package/esm2015/directives/lazy-loading/lazy-loading.directive.js +3 -3
- package/esm2015/directives/lazy-loading/lazy-loading.module.js +4 -4
- package/esm2015/directives/lazy-loading/lazy-loading.service.js +3 -3
- package/esm2015/directives/mask/legacy-mask.js +7 -7
- package/esm2015/directives/present/present.directive.js +3 -3
- package/esm2015/directives/present/present.module.js +4 -4
- package/esm2015/directives/project-class/project-class.directive.js +3 -3
- package/esm2015/directives/project-class/project-class.module.js +4 -4
- package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +3 -3
- package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +4 -4
- package/esm2015/directives/value-accessor/value-accessor.directive.js +3 -3
- package/esm2015/directives/value-accessor/value-accessor.module.js +4 -4
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +3 -3
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +4 -4
- package/esm2015/pipes/field-error/field-error-content-pipe.js +3 -3
- package/esm2015/pipes/field-error/field-error-pipe.js +3 -3
- package/esm2015/pipes/field-error/field-error.module.js +4 -4
- package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +3 -3
- package/esm2015/pipes/filter-by-input/filter-by-input.module.js +4 -4
- package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +3 -3
- package/esm2015/pipes/sort-countries/sort-countries.module.js +4 -4
- package/esm2015/pipes/sort-countries/sort-countries.pipe.js +3 -3
- package/esm2015/pipes/stringify/stringify.module.js +4 -4
- package/esm2015/pipes/stringify/stringify.pipe.js +3 -3
- package/esm2015/pipes/stringify-content/stringify-content.module.js +4 -4
- package/esm2015/pipes/stringify-content/stringify-content.pipe.js +3 -3
- package/esm2015/pipes/to-year/to-year.module.js +4 -4
- package/esm2015/pipes/to-year/to-year.pipe.js +3 -3
- package/esm2015/tokens/i18n.js +4 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js +16 -16
- package/fesm2015/taiga-ui-kit-components-action.js +7 -7
- package/fesm2015/taiga-ui-kit-components-arrow.js +7 -7
- package/fesm2015/taiga-ui-kit-components-avatar.js +7 -7
- package/fesm2015/taiga-ui-kit-components-badge.js +7 -7
- package/fesm2015/taiga-ui-kit-components-badged-content.js +7 -7
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +7 -7
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +7 -7
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +7 -7
- package/fesm2015/taiga-ui-kit-components-carousel.js +19 -19
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js +7 -7
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +7 -7
- package/fesm2015/taiga-ui-kit-components-checkbox.js +7 -7
- package/fesm2015/taiga-ui-kit-components-combo-box.js +18 -15
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +13 -13
- package/fesm2015/taiga-ui-kit-components-elastic-container.js +10 -10
- package/fesm2015/taiga-ui-kit-components-files.js +11 -11
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +7 -7
- package/fesm2015/taiga-ui-kit-components-input-copy.js +15 -12
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +15 -12
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +15 -12
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +15 -12
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +13 -13
- package/fesm2015/taiga-ui-kit-components-input-inline.js +7 -7
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-month.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-number.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-password.js +17 -14
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +21 -14
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-range.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-slider.js +7 -7
- package/fesm2015/taiga-ui-kit-components-input-tag.js +8 -8
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +8 -8
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input.js +10 -10
- package/fesm2015/taiga-ui-kit-components-island.js +7 -7
- package/fesm2015/taiga-ui-kit-components-items-with-more.js +16 -16
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +14 -14
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js +7 -7
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -7
- package/fesm2015/taiga-ui-kit-components-multi-select.js +21 -18
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +13 -13
- package/fesm2015/taiga-ui-kit-components-progress.js +19 -19
- package/fesm2015/taiga-ui-kit-components-prompt.js +64 -0
- package/fesm2015/taiga-ui-kit-components-prompt.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-push.js +19 -19
- package/fesm2015/taiga-ui-kit-components-radio-block.js +7 -7
- package/fesm2015/taiga-ui-kit-components-radio-group.js +7 -7
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js +7 -7
- package/fesm2015/taiga-ui-kit-components-radio-list.js +7 -7
- package/fesm2015/taiga-ui-kit-components-radio.js +7 -7
- package/fesm2015/taiga-ui-kit-components-range.js +10 -10
- package/fesm2015/taiga-ui-kit-components-rating.js +9 -9
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +7 -7
- package/fesm2015/taiga-ui-kit-components-select.js +24 -21
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +16 -16
- package/fesm2015/taiga-ui-kit-components-stepper.js +10 -10
- package/fesm2015/taiga-ui-kit-components-tabs.js +22 -22
- package/fesm2015/taiga-ui-kit-components-tag.js +7 -7
- package/fesm2015/taiga-ui-kit-components-text-area.js +11 -11
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tiles.js +13 -13
- package/fesm2015/taiga-ui-kit-components-toggle.js +7 -7
- package/fesm2015/taiga-ui-kit-components-tree.js +28 -28
- package/fesm2015/taiga-ui-kit-components.js +1 -0
- package/fesm2015/taiga-ui-kit-components.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +7 -7
- package/fesm2015/taiga-ui-kit-directives-highlight.js +7 -7
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +10 -10
- package/fesm2015/taiga-ui-kit-directives-mask.js +7 -7
- package/fesm2015/taiga-ui-kit-directives-present.js +7 -7
- package/fesm2015/taiga-ui-kit-directives-project-class.js +7 -7
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +7 -7
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js +7 -7
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +7 -7
- package/fesm2015/taiga-ui-kit-pipes-field-error.js +10 -10
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +10 -10
- package/fesm2015/taiga-ui-kit-pipes-sort-countries.js +7 -7
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +7 -7
- package/fesm2015/taiga-ui-kit-pipes-stringify.js +7 -7
- package/fesm2015/taiga-ui-kit-pipes-to-year.js +7 -7
- package/fesm2015/taiga-ui-kit-tokens.js +4 -1
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/package.json +4 -4
- package/tokens/i18n.d.ts +4 -0
|
@@ -13,12 +13,12 @@ class TuiProgressBarComponent {
|
|
|
13
13
|
this.size = 'm';
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
TuiProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
17
|
-
TuiProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
16
|
+
TuiProgressBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
TuiProgressBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiProgressBarComponent, selector: "progress[tuiProgressBar]", inputs: { color: "color", size: "size" }, host: { properties: { "style.--tui-progress-color": "this.color", "attr.data-size": "this.size" } }, ngImport: i0, template: '', isInline: true, styles: ["@keyframes tuiIndeterminateAnimation{50%{background-position:left}}:host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:var(--tui-base-03);display:block;width:100%;color:var(--tui-primary);border-radius:var(--tui-radius-xs);overflow:hidden}:host::-webkit-progress-value{-webkit-transition:width var(--tui-duration) linear;transition:width var(--tui-duration) linear}:host::-webkit-progress-value{background:var(--tui-progress-color, currentColor)}:host::-moz-progress-bar{background:var(--tui-progress-color, currentColor)}:host::-webkit-progress-bar{background-color:var(--tui-base-03)}:host[data-size=m]{height:1.5rem}:host[data-size=s]{height:.5rem}:host[data-size=s]::-webkit-progress-value{border-radius:var(--tui-radius-xs)}:host[data-size=s]::-moz-progress-bar{border-radius:var(--tui-radius-xs)}:host:indeterminate{background:transparent;background-image:linear-gradient(to right,var(--tui-base-03) 0 45%,var(--tui-progress-color, currentColor) 45% 55%,var(--tui-base-03) 55% 100%);background-size:225%;background-position:right;animation:tuiIndeterminateAnimation 3s infinite ease-in-out}:host:indeterminate::-webkit-progress-bar{background:transparent}:host:indeterminate::-webkit-progress-value{background:transparent}:host:indeterminate::-moz-progress-bar{background:transparent}:host-context(label[tuiProgressLabel]):not(:first-child){position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent}:host-context(label[tuiProgressLabel]):not(:first-child)::-webkit-progress-bar{background-color:transparent}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
18
18
|
__decorate([
|
|
19
19
|
tuiDefaultProp()
|
|
20
20
|
], TuiProgressBarComponent.prototype, "size", void 0);
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressBarComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{
|
|
24
24
|
selector: 'progress[tuiProgressBar]',
|
|
@@ -58,12 +58,12 @@ class TuiProgressColorSegmentsDirective {
|
|
|
58
58
|
: calculateColorSegments(this.colors, this.elementRef.nativeElement.offsetWidth)));
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
TuiProgressColorSegmentsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
62
|
-
TuiProgressColorSegmentsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
61
|
+
TuiProgressColorSegmentsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressColorSegmentsDirective, deps: [{ token: ElementRef }, { token: TuiResizeService }, { token: USER_AGENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
62
|
+
TuiProgressColorSegmentsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiProgressColorSegmentsDirective, selector: "progress[tuiProgressBar][tuiProgressColorSegments]", inputs: { colors: ["tuiProgressColorSegments", "colors"] }, host: { listeners: { "$.style.--tui-progress-color": "0" }, properties: { "$.style.--tui-progress-color": "calcSegments$" } }, providers: [TuiDestroyService, TuiResizeService], ngImport: i0 });
|
|
63
63
|
__decorate([
|
|
64
64
|
tuiPure
|
|
65
65
|
], TuiProgressColorSegmentsDirective.prototype, "calcSegments$", null);
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressColorSegmentsDirective, decorators: [{
|
|
67
67
|
type: Directive,
|
|
68
68
|
args: [{
|
|
69
69
|
selector: 'progress[tuiProgressBar][tuiProgressColorSegments]',
|
|
@@ -110,8 +110,8 @@ class TuiProgressCircleComponent {
|
|
|
110
110
|
return (this.elementRef.nativeElement.offsetWidth - strokeWidth) / 2;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
TuiProgressCircleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
114
|
-
TuiProgressCircleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
113
|
+
TuiProgressCircleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressCircleComponent, deps: [{ token: USER_AGENT }, { token: WINDOW }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
114
|
+
TuiProgressCircleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiProgressCircleComponent, selector: "tui-progress-circle", inputs: { value: "value", max: "max", color: "color", size: "size" }, host: { properties: { "style.--tui-progress-color": "this.color", "attr.data-size": "this.size", "style.--progress-percentage": "this.progressPercentage" } }, viewQueries: [{ propertyName: "progressCircle", first: true, predicate: ["progressCircle"], descendants: true, static: true }], ngImport: i0, template: "<progress\n class=\"t-hidden-progress\"\n [value]=\"value\"\n [max]=\"max\"\n></progress>\n\n<svg\n height=\"100%\"\n width=\"100%\"\n aria-hidden=\"true\"\n class=\"t-svg\"\n>\n <circle\n cx=\"50%\"\n cy=\"50%\"\n class=\"t-track\"\n [attr.r]=\"oldEdgeRadiusFallback\"\n ></circle>\n\n <circle\n #progressCircle\n cx=\"50%\"\n cy=\"50%\"\n class=\"t-progress\"\n [attr.r]=\"oldEdgeRadiusFallback\"\n ></circle>\n</svg>\n", styles: [":host{position:relative;display:block;color:var(--tui-primary);transform:rotate(-90deg);transform-origin:center;font-size:1rem}:host[data-size=s]{width:2em;height:2em}:host[data-size=s] .t-track{r:.75em;stroke-width:.5em}:host[data-size=s] .t-progress{r:.75em;stroke-width:.5em;stroke-dasharray:4.71238898em;stroke-dashoffset:calc(4.71238898em - var(--progress-percentage) * 4.71238898em)}:host[data-size=m]{width:3em;height:3em}:host[data-size=m] .t-track{r:1.375em;stroke-width:.25em}:host[data-size=m] .t-progress{r:1.3125em;stroke-width:.375em;stroke-dasharray:8.24668072em;stroke-dashoffset:calc(8.24668072em - var(--progress-percentage) * 8.24668072em)}:host[data-size=l]{width:4em;height:4em}:host[data-size=l] .t-track{r:1.875em;stroke-width:.25em}:host[data-size=l] .t-progress{r:1.8125em;stroke-width:.375em;stroke-dasharray:11.38827337em;stroke-dashoffset:calc(11.38827337em - var(--progress-percentage) * 11.38827337em)}:host[data-size=xl]{width:7em;height:7em}:host[data-size=xl] .t-track{r:3.375em;stroke-width:.25em}:host[data-size=xl] .t-progress{r:3.3125em;stroke-width:.375em;stroke-dasharray:20.81305133em;stroke-dashoffset:calc(20.81305133em - var(--progress-percentage) * 20.81305133em)}.t-track{fill:transparent;stroke:var(--tui-base-03)}.t-progress{fill:transparent;stroke:var(--tui-progress-color, currentColor);transition:stroke-dashoffset var(--tui-duration) linear}.t-hidden-progress{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0}.t-svg{overflow:unset}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
115
115
|
__decorate([
|
|
116
116
|
tuiDefaultProp()
|
|
117
117
|
], TuiProgressCircleComponent.prototype, "value", void 0);
|
|
@@ -124,7 +124,7 @@ __decorate([
|
|
|
124
124
|
__decorate([
|
|
125
125
|
tuiDefaultProp()
|
|
126
126
|
], TuiProgressCircleComponent.prototype, "size", void 0);
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressCircleComponent, decorators: [{
|
|
128
128
|
type: Component,
|
|
129
129
|
args: [{
|
|
130
130
|
selector: 'tui-progress-circle',
|
|
@@ -165,9 +165,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
165
165
|
|
|
166
166
|
class TuiProgressLabelComponent {
|
|
167
167
|
}
|
|
168
|
-
TuiProgressLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
169
|
-
TuiProgressLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
168
|
+
TuiProgressLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
169
|
+
TuiProgressLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiProgressLabelComponent, selector: "label[tuiProgressLabel]", ngImport: i0, template: "<ng-content select=\"progress\"></ng-content>\n<ng-content select=\"tui-progress-circle\"></ng-content>\n<span class=\"t-label\">\n <ng-content></ng-content>\n</span>\n", styles: [":host{position:relative;display:inline-block}.t-label{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;font:var(--tui-font-text-s);color:var(--tui-text-01);flex-direction:column;justify-content:center;align-items:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressLabelComponent, decorators: [{
|
|
171
171
|
type: Component,
|
|
172
172
|
args: [{
|
|
173
173
|
selector: 'label[tuiProgressLabel]',
|
|
@@ -190,8 +190,8 @@ class TuiProgressSegmentedComponent {
|
|
|
190
190
|
: this.colors[index] || this.colors[this.colors.length - 1];
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
TuiProgressSegmentedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
194
|
-
TuiProgressSegmentedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
193
|
+
TuiProgressSegmentedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressSegmentedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
194
|
+
TuiProgressSegmentedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiProgressSegmentedComponent, selector: "tui-progress-segmented", inputs: { value: "value", max: "max", size: "size", colors: "colors" }, host: { properties: { "attr.data-size": "this.size" } }, ngImport: i0, template: "<progress\n class=\"t-hidden-progress\"\n [value]=\"value\"\n [max]=\"max\"\n></progress>\n\n<span\n *tuiRepeatTimes=\"let index of max\"\n aria-hidden=\"true\"\n class=\"t-segment\"\n [style.background]=\"index < value ? getActiveColor(index) : null\"\n></span>\n", styles: [":host{display:flex}.t-segment{transition-property:background-color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;flex:1 1 100%;border-radius:var(--tui-radius-xs);background-color:var(--tui-base-03)}.t-segment:not(:last-child){margin-right:.25rem}:host[data-size=s] .t-segment{height:.25rem}:host[data-size=m] .t-segment{height:.5rem}.t-hidden-progress{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0}\n"], directives: [{ type: i1$1.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
195
195
|
__decorate([
|
|
196
196
|
tuiDefaultProp((value) => Number.isInteger(value) && value >= 0, 'Must be non-negative integer between 0 and max')
|
|
197
197
|
], TuiProgressSegmentedComponent.prototype, "value", void 0);
|
|
@@ -201,7 +201,7 @@ __decorate([
|
|
|
201
201
|
__decorate([
|
|
202
202
|
tuiDefaultProp()
|
|
203
203
|
], TuiProgressSegmentedComponent.prototype, "colors", void 0);
|
|
204
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressSegmentedComponent, decorators: [{
|
|
205
205
|
type: Component,
|
|
206
206
|
args: [{
|
|
207
207
|
selector: 'tui-progress-segmented',
|
|
@@ -224,8 +224,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
224
224
|
|
|
225
225
|
class TuiProgressModule {
|
|
226
226
|
}
|
|
227
|
-
TuiProgressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
228
|
-
TuiProgressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
227
|
+
TuiProgressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
228
|
+
TuiProgressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressModule, declarations: [TuiProgressBarComponent,
|
|
229
229
|
TuiProgressColorSegmentsDirective,
|
|
230
230
|
TuiProgressCircleComponent,
|
|
231
231
|
TuiProgressLabelComponent,
|
|
@@ -234,8 +234,8 @@ TuiProgressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
|
|
|
234
234
|
TuiProgressColorSegmentsDirective,
|
|
235
235
|
TuiProgressLabelComponent,
|
|
236
236
|
TuiProgressSegmentedComponent] });
|
|
237
|
-
TuiProgressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
237
|
+
TuiProgressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressModule, imports: [[CommonModule, TuiRepeatTimesModule]] });
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiProgressModule, decorators: [{
|
|
239
239
|
type: NgModule,
|
|
240
240
|
args: [{
|
|
241
241
|
imports: [CommonModule, TuiRepeatTimesModule],
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import { TUI_IS_MOBILE } from '@taiga-ui/cdk';
|
|
4
|
+
import { TUI_PROMPT_WORDS } from '@taiga-ui/kit/tokens';
|
|
5
|
+
import * as i2 from '@tinkoff/ng-polymorpheus';
|
|
6
|
+
import { POLYMORPHEUS_CONTEXT, PolymorpheusComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
7
|
+
import * as i1 from '@taiga-ui/core';
|
|
8
|
+
import { TuiButtonModule } from '@taiga-ui/core';
|
|
9
|
+
import * as i3 from '@angular/common';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
import * as i4 from 'rxjs';
|
|
12
|
+
|
|
13
|
+
class TuiPromptComponent {
|
|
14
|
+
constructor(words$, context, isMobile) {
|
|
15
|
+
this.words$ = words$;
|
|
16
|
+
this.context = context;
|
|
17
|
+
this.isMobile = isMobile;
|
|
18
|
+
}
|
|
19
|
+
get appearance() {
|
|
20
|
+
return this.isMobile ? "secondary" /* Secondary */ : "flat" /* Flat */;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
TuiPromptComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPromptComponent, deps: [{ token: TUI_PROMPT_WORDS }, { token: POLYMORPHEUS_CONTEXT }, { token: TUI_IS_MOBILE }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
TuiPromptComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPromptComponent, selector: "tui-prompt", ngImport: i0, template: "<div\n *polymorpheusOutlet=\"context.data?.content as text\"\n class=\"t-content\"\n [innerText]=\"text\"\n></div>\n<div\n *ngIf=\"words$ | async as words\"\n class=\"t-buttons\"\n>\n <button\n tuiButton\n type=\"button\"\n size=\"m\"\n class=\"t-button\"\n [appearance]=\"appearance\"\n (click)=\"context.completeWith(false)\"\n >\n {{ context.data?.no || words.no }}\n </button>\n <button\n tuiButton\n type=\"button\"\n size=\"m\"\n class=\"t-button\"\n (click)=\"context.completeWith(true)\"\n >\n {{ context.data?.yes || words.yes }}\n </button>\n</div>\n", styles: [".t-content:not(:empty){margin-bottom:1.25rem}.t-buttons{display:flex;justify-content:flex-end;margin-top:.75rem;width:100%}.t-button:last-child{margin-left:.75rem}:host-context(tui-root._mobile) .t-button{flex:1}\n"], components: [{ type: i1.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPromptComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: 'tui-prompt',
|
|
29
|
+
templateUrl: './prompt.template.html',
|
|
30
|
+
styleUrls: ['./prompt.style.less'],
|
|
31
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
|
+
}]
|
|
33
|
+
}], ctorParameters: function () { return [{ type: i4.Observable, decorators: [{
|
|
34
|
+
type: Inject,
|
|
35
|
+
args: [TUI_PROMPT_WORDS]
|
|
36
|
+
}] }, { type: undefined, decorators: [{
|
|
37
|
+
type: Inject,
|
|
38
|
+
args: [POLYMORPHEUS_CONTEXT]
|
|
39
|
+
}] }, { type: undefined, decorators: [{
|
|
40
|
+
type: Inject,
|
|
41
|
+
args: [TUI_IS_MOBILE]
|
|
42
|
+
}] }]; } });
|
|
43
|
+
const TUI_PROMPT = new PolymorpheusComponent(TuiPromptComponent);
|
|
44
|
+
|
|
45
|
+
class TuiPromptModule {
|
|
46
|
+
}
|
|
47
|
+
TuiPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
48
|
+
TuiPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPromptModule, declarations: [TuiPromptComponent], imports: [CommonModule, PolymorpheusModule, TuiButtonModule], exports: [TuiPromptComponent] });
|
|
49
|
+
TuiPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPromptModule, imports: [[CommonModule, PolymorpheusModule, TuiButtonModule]] });
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPromptModule, decorators: [{
|
|
51
|
+
type: NgModule,
|
|
52
|
+
args: [{
|
|
53
|
+
imports: [CommonModule, PolymorpheusModule, TuiButtonModule],
|
|
54
|
+
declarations: [TuiPromptComponent],
|
|
55
|
+
exports: [TuiPromptComponent],
|
|
56
|
+
}]
|
|
57
|
+
}] });
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Generated bundle index. Do not edit.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
export { TUI_PROMPT, TuiPromptComponent, TuiPromptModule };
|
|
64
|
+
//# sourceMappingURL=taiga-ui-kit-components-prompt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-prompt.js","sources":["../../../projects/kit/components/prompt/prompt.component.ts","../../../projects/kit/components/prompt/prompt.template.html","../../../projects/kit/components/prompt/prompt.module.ts","../../../projects/kit/components/prompt/taiga-ui-kit-components-prompt.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk';\nimport {TuiAppearance, TuiDialogContext} from '@taiga-ui/core';\nimport {TUI_PROMPT_WORDS} from '@taiga-ui/kit/tokens';\nimport {\n POLYMORPHEUS_CONTEXT,\n PolymorpheusComponent,\n PolymorpheusContent,\n} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nexport interface TuiPromptData {\n readonly content?: PolymorpheusContent;\n readonly yes?: string;\n readonly no?: string;\n}\n\n@Component({\n selector: 'tui-prompt',\n templateUrl: './prompt.template.html',\n styleUrls: ['./prompt.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiPromptComponent {\n constructor(\n @Inject(TUI_PROMPT_WORDS) readonly words$: Observable<{yes: string; no: string}>,\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiDialogContext<boolean, TuiPromptData | undefined>,\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n ) {}\n\n get appearance(): TuiAppearance {\n return this.isMobile ? TuiAppearance.Secondary : TuiAppearance.Flat;\n }\n}\n\nexport const TUI_PROMPT = new PolymorpheusComponent(TuiPromptComponent);\n","<div\n *polymorpheusOutlet=\"context.data?.content as text\"\n class=\"t-content\"\n [innerText]=\"text\"\n></div>\n<div\n *ngIf=\"words$ | async as words\"\n class=\"t-buttons\"\n>\n <button\n tuiButton\n type=\"button\"\n size=\"m\"\n class=\"t-button\"\n [appearance]=\"appearance\"\n (click)=\"context.completeWith(false)\"\n >\n {{ context.data?.no || words.no }}\n </button>\n <button\n tuiButton\n type=\"button\"\n size=\"m\"\n class=\"t-button\"\n (click)=\"context.completeWith(true)\"\n >\n {{ context.data?.yes || words.yes }}\n </button>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiButtonModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPromptComponent} from './prompt.component';\n\n@NgModule({\n imports: [CommonModule, PolymorpheusModule, TuiButtonModule],\n declarations: [TuiPromptComponent],\n exports: [TuiPromptComponent],\n})\nexport class TuiPromptModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAuBa,kBAAkB,CAAA;AAC3B,IAAA,WAAA,CACuC,MAA6C,EAEvE,OAA6D,EAC9B,QAAiB,EAAA;QAHtB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAuC;QAEvE,IAAO,CAAA,OAAA,GAAP,OAAO,CAAsD;QAC9B,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAS;KACzD;AAEJ,IAAA,IAAI,UAAU,GAAA;QACV,OAAO,IAAI,CAAC,QAAQ,GAA2B,WAAA,qCAAqB;KACvE;;AAVQ,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAEf,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,gBAAgB,EAChB,EAAA,EAAA,KAAA,EAAA,oBAAoB,aAEpB,aAAa,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AALhB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,kDCvB/B,8qBA6BA,EAAA,MAAA,EAAA,CAAA,wNAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,0EAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,UAAA,EAAA,MAAA,EAAA,WAAA,EAAA,OAAA,EAAA,YAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,2BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,OAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;4FDNa,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,WAAW,EAAE,wBAAwB;oBACrC,SAAS,EAAE,CAAC,qBAAqB,CAAC;oBAClC,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAClD,iBAAA,CAAA;;0BAGQ,MAAM;2BAAC,gBAAgB,CAAA;;0BACvB,MAAM;2BAAC,oBAAoB,CAAA;;0BAE3B,MAAM;2BAAC,aAAa,CAAA;;MAQhB,UAAU,GAAG,IAAI,qBAAqB,CAAC,kBAAkB;;MExBzD,eAAe,CAAA;;6GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;8GAAf,eAAe,EAAA,YAAA,EAAA,CAHT,kBAAkB,CADvB,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,kBAAkB,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CAEjD,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAEnB,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAJf,CAAC,YAAY,EAAE,kBAAkB,EAAE,eAAe,CAAC,CAAA,EAAA,CAAA,CAAA;4FAInD,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,kBAAkB,EAAE,eAAe,CAAC;oBAC5D,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAChC,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -24,8 +24,8 @@ class TuiPushComponent {
|
|
|
24
24
|
return tuiIsObserved(this.close);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
TuiPushComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
28
|
-
TuiPushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
27
|
+
TuiPushComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushComponent, deps: [{ token: TUI_CLOSE_WORD }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
TuiPushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPushComponent, selector: "tui-push", inputs: { heading: "heading", type: "type", timestamp: "timestamp" }, outputs: { close: "close" }, ngImport: i0, template: "<div class=\"t-image\">\n <ng-content select=\"img\"></ng-content>\n</div>\n<button\n *ngIf=\"closeable\"\n type=\"button\"\n tuiIconButton\n icon=\"tuiIconCloseLarge\"\n size=\"xs\"\n appearance=\"\"\n shape=\"rounded\"\n class=\"t-close\"\n [title]=\"closeWord$ | async\"\n (click)=\"close.emit()\"\n></button>\n<div class=\"t-top\">\n <span class=\"t-icon\">\n <ng-content select=\"tui-svg\"></ng-content>\n </span>\n {{ type }}\n <span\n *ngIf=\"timestamp\"\n class=\"t-time\"\n [textContent]=\"timestamp | tuiFormatDate | async\"\n ></span>\n</div>\n<h3\n automation-id=\"tui-push__heading\"\n class=\"t-heading\"\n>\n {{ heading }}\n</h3>\n<div class=\"t-content\">\n <ng-content></ng-content>\n</div>\n<div class=\"t-actions\">\n <span class=\"t-button\">\n <ng-content select=\"[tuiButton]\"></ng-content>\n </span>\n <span class=\"t-link\">\n <ng-content select=\"[tuiLink]\"></ng-content>\n </span>\n</div>\n", styles: [":host{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12);position:relative;display:block;width:22.5rem;max-width:100%;box-sizing:border-box;padding:1.25rem 1.25rem .25rem;overflow:hidden;font:var(--tui-font-text-m);border-radius:var(--tui-radius-xl);background:var(--tui-elevation-02)}.t-image{display:flex;flex-direction:column;max-height:10.625rem;overflow:hidden;margin:-1.25rem -1.25rem 1.25rem}.t-close{position:absolute;top:.75rem;right:.75rem;color:rgba(0,0,0,.54);background:rgba(242,242,242,.32);-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem)}.t-top{display:flex;align-items:center;font:var(--tui-font-text-s);color:var(--tui-text-02)}.t-icon{height:1.25rem;margin-right:.5rem;transform:scale(.833);transform-origin:top left;color:var(--tui-link)}.t-time:before{content:\"\\2022\";display:inline-block;width:1rem;text-align:center}.t-heading{line-height:1.25rem;font-weight:bold;margin:.75rem 0 .25rem}.t-heading,.t-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-word;overflow:hidden}.t-actions{display:flex;align-items:center;font:var(--tui-font-text-s)}.t-button:not(:empty){margin:.75rem .75rem .75rem 0}.t-link{margin:.75rem 0}.t-link:empty{margin:.5rem}\n"], components: [{ type: i1.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe, "tuiFormatDate": i1.TuiFormatDatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
29
29
|
__decorate([
|
|
30
30
|
tuiDefaultProp()
|
|
31
31
|
], TuiPushComponent.prototype, "heading", void 0);
|
|
@@ -35,7 +35,7 @@ __decorate([
|
|
|
35
35
|
__decorate([
|
|
36
36
|
tuiDefaultProp()
|
|
37
37
|
], TuiPushComponent.prototype, "timestamp", void 0);
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: 'tui-push',
|
|
@@ -70,8 +70,8 @@ class TuiPushDirective extends TuiModeDirective {
|
|
|
70
70
|
return ((_a = this.modeDirective) === null || _a === void 0 ? void 0 : _a.mode) === 'onDark' ? 'accent' : 'secondary';
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
TuiPushDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
74
|
-
TuiPushDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
73
|
+
TuiPushDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushDirective, deps: [{ token: TuiModeDirective, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
74
|
+
TuiPushDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPushDirective, selector: "tui-push", providers: [
|
|
75
75
|
{
|
|
76
76
|
provide: TuiModeDirective,
|
|
77
77
|
useExisting: TuiPushDirective,
|
|
@@ -81,7 +81,7 @@ TuiPushDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", versi
|
|
|
81
81
|
useExisting: TuiPushDirective,
|
|
82
82
|
},
|
|
83
83
|
], usesInheritance: true, ngImport: i0 });
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushDirective, decorators: [{
|
|
85
85
|
type: Directive,
|
|
86
86
|
args: [{
|
|
87
87
|
selector: 'tui-push',
|
|
@@ -136,9 +136,9 @@ class TuiPushAlertDirective extends PolymorpheusTemplate {
|
|
|
136
136
|
this.show$.next(show);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
TuiPushAlertDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
140
|
-
TuiPushAlertDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
139
|
+
TuiPushAlertDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushAlertDirective, deps: [{ token: TemplateRef }, { token: ChangeDetectorRef }, { token: TuiDestroyService, self: true }, { token: forwardRef(() => TuiPushService) }], target: i0.ɵɵFactoryTarget.Directive });
|
|
140
|
+
TuiPushAlertDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiPushAlertDirective, selector: "[tuiPush]", inputs: { tuiPush: "tuiPush" }, providers: [TuiDestroyService], usesInheritance: true, ngImport: i0 });
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushAlertDirective, decorators: [{
|
|
142
142
|
type: Directive,
|
|
143
143
|
args: [{
|
|
144
144
|
selector: '[tuiPush]',
|
|
@@ -172,9 +172,9 @@ class TuiPushAlertComponent {
|
|
|
172
172
|
return this.context.content instanceof TuiPushAlertDirective;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
TuiPushAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
176
|
-
TuiPushAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
175
|
+
TuiPushAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushAlertComponent, deps: [{ token: TUI_ANIMATION_OPTIONS }, { token: POLYMORPHEUS_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
|
|
176
|
+
TuiPushAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiPushAlertComponent, selector: "tui-push-alert", host: { attributes: { "role": "alert" }, properties: { "@tuiFadeIn": "this.animation", "@tuiSlideInRight": "this.animation", "@tuiHeightCollapse": "this.animation" } }, ngImport: i0, template: "<tui-push\n *ngIf=\"!isDirective; else content\"\n [heading]=\"context.heading\"\n [type]=\"context.type\"\n [timestamp]=\"context.timestamp\"\n (close)=\"context.$implicit.complete()\"\n>\n <img\n *ngIf=\"context.image\"\n alt=\"\"\n [src]=\"context.image\"\n />\n <tui-svg\n *ngIf=\"context.icon\"\n [style.color]=\"context.iconColor\"\n [src]=\"context.icon\"\n ></tui-svg>\n <ng-container *polymorpheusOutlet=\"context.content as text\">\n {{ text }}\n </ng-container>\n <button\n *ngIf=\"context.buttons.length > 1\"\n type=\"button\"\n tuiButton\n (click)=\"context.$implicit.next(context.buttons[0])\"\n >\n {{ context.buttons[0] }}\n </button>\n <button\n *ngIf=\"context.buttons.length\"\n tuiLink\n type=\"button\"\n (click)=\"context.$implicit.next(context.buttons[context.buttons.length - 1])\"\n >\n {{ context.buttons[context.buttons.length - 1] }}\n </button>\n</tui-push>\n<ng-template #content>\n <ng-container *polymorpheusOutlet=\"context.content as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n", styles: [":host{max-width:calc(100% - 2rem);margin:0 1rem 1rem auto}:host:first-child{margin-top:auto}\n"], components: [{ type: TuiPushComponent, selector: "tui-push", inputs: ["heading", "type", "timestamp"], outputs: ["close"] }, { type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { type: i1.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TuiPushDirective, selector: "tui-push" }, { type: i5.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiFadeIn, tuiSlideInRight, tuiHeightCollapse], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushAlertComponent, decorators: [{
|
|
178
178
|
type: Component,
|
|
179
179
|
args: [{
|
|
180
180
|
selector: 'tui-push-alert',
|
|
@@ -211,17 +211,17 @@ class TuiPushService extends AbstractTuiDialogService {
|
|
|
211
211
|
return super.open(content, options);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
TuiPushService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
215
|
-
TuiPushService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
214
|
+
TuiPushService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
215
|
+
TuiPushService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushService, providedIn: `root` });
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushService, decorators: [{
|
|
217
217
|
type: Injectable,
|
|
218
218
|
args: [{ providedIn: `root` }]
|
|
219
219
|
}] });
|
|
220
220
|
|
|
221
221
|
class TuiPushModule {
|
|
222
222
|
}
|
|
223
|
-
TuiPushModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
224
|
-
TuiPushModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
223
|
+
TuiPushModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
224
|
+
TuiPushModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushModule, declarations: [TuiPushComponent,
|
|
225
225
|
TuiPushDirective,
|
|
226
226
|
TuiPushAlertComponent,
|
|
227
227
|
TuiPushAlertDirective], imports: [CommonModule,
|
|
@@ -233,7 +233,7 @@ TuiPushModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
233
233
|
TuiPushDirective,
|
|
234
234
|
TuiPushAlertComponent,
|
|
235
235
|
TuiPushAlertDirective] });
|
|
236
|
-
TuiPushModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
236
|
+
TuiPushModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushModule, providers: [
|
|
237
237
|
{
|
|
238
238
|
provide: TUI_ALERTS,
|
|
239
239
|
useExisting: TuiPushService,
|
|
@@ -247,7 +247,7 @@ TuiPushModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
247
247
|
TuiSvgModule,
|
|
248
248
|
TuiFormatDatePipeModule,
|
|
249
249
|
]] });
|
|
250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPushModule, decorators: [{
|
|
251
251
|
type: NgModule,
|
|
252
252
|
args: [{
|
|
253
253
|
imports: [
|
|
@@ -53,8 +53,8 @@ class TuiRadioBlockComponent extends AbstractTuiNullableControl {
|
|
|
53
53
|
this.updateValue(value);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
TuiRadioBlockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
57
|
-
TuiRadioBlockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
56
|
+
TuiRadioBlockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioBlockComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TuiModeDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
TuiRadioBlockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRadioBlockComponent, selector: "tui-radio-block", inputs: { item: "item", identityMatcher: "identityMatcher", contentAlign: "contentAlign", size: "size", hideRadio: "hideRadio", pseudoDisabled: "pseudoDisabled" }, host: { properties: { "attr.data-tui-host-align": "this.contentAlign", "attr.data-size": "this.size", "class._hidden_radio": "this.hideRadio", "class._disabled": "this.computedDisabled", "class._active": "this.checked" } }, providers: [
|
|
58
58
|
tuiAsFocusableItemAccessor(TuiRadioBlockComponent),
|
|
59
59
|
tuiAsControl(TuiRadioBlockComponent),
|
|
60
60
|
], viewQueries: [{ propertyName: "radio", first: true, predicate: TuiRadioComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"t-wrapper\">\n <div\n tuiWrapper\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocusVisible\"\n [hover]=\"pseudoHover\"\n [active]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n >\n <div class=\"t-content-wrapper\">\n <div class=\"t-content\">\n <tui-radio\n class=\"t-view\"\n [focusable]=\"focusable\"\n [identityMatcher]=\"identityMatcher\"\n [item]=\"item\"\n [name]=\"computedName || ''\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [pseudoDisabled]=\"computedDisabled\"\n [pseudoInvalid]=\"computedInvalid\"\n [pseudoFocus]=\"false\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [size]=\"checkboxSize\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onModelChange($event)\"\n (focusedChange)=\"onFocused($event)\"\n (focusVisibleChange)=\"onFocusVisible($event)\"\n ></tui-radio>\n <div class=\"t-label\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n </div>\n</label>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;border-radius:var(--tui-radius-m)}:host[data-size=m],:host[data-size=l]{font:var(--tui-font-text-m)}:host._readonly{pointer-events:none}.t-wrapper{position:relative;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host._disabled .t-wrapper{cursor:default}.t-content-wrapper{display:flex;flex-direction:column}:host[data-size=s] .t-content-wrapper{min-height:var(--tui-height-s)}:host[data-size=m] .t-content-wrapper{min-height:var(--tui-height-m)}:host[data-size=l] .t-content-wrapper{min-height:var(--tui-height-l)}.t-content{display:flex;align-items:center;min-height:inherit}:host[data-tui-host-align=right] .t-content{flex-direction:row-reverse}:host[data-size=s] .t-content{padding:0 1rem 0 .5rem}:host[data-size=s][data-tui-host-align=right] .t-content{padding:0 .5rem 0 1rem}:host[data-size=s]._hidden_radio .t-content{padding:0 1rem}:host[data-size=m] .t-content{padding:0 1rem 0 .75rem}:host[data-size=m][data-tui-host-align=right] .t-content{padding:0 .75rem 0 1rem}:host[data-size=m]._hidden_radio .t-content{padding:0 1.5rem}:host[data-size=l] .t-content{padding:0 1rem}:host[data-size=l]._hidden_radio .t-content{padding:0 2.25rem}.t-view{margin-top:.75rem;margin-right:.75rem;align-self:flex-start}:host[data-tui-host-align=right] .t-view{margin-left:.75rem;margin-right:0}:host[data-size=s] .t-view{margin-top:.5rem;margin-right:.5rem}:host[data-size=s][data-tui-host-align=right] .t-view{margin-left:.5rem}:host[data-size=m] .t-view{margin-top:.875rem}:host[data-size=l] .t-view{margin-top:1rem}:host[data-size=l][data-tui-host-align=right] .t-view{margin-left:1rem;margin-right:0}:host._hidden_radio .t-view{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-grow:1}:host._hidden_radio .t-label{text-align:center}\n"], components: [{ type: i1.TuiRadioComponent, selector: "tui-radio", inputs: ["item", "identityMatcher", "name", "size", "pseudoDisabled"] }], directives: [{ type: i2.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -73,7 +73,7 @@ __decorate([
|
|
|
73
73
|
__decorate([
|
|
74
74
|
tuiDefaultProp()
|
|
75
75
|
], TuiRadioBlockComponent.prototype, "pseudoDisabled", void 0);
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioBlockComponent, decorators: [{
|
|
77
77
|
type: Component,
|
|
78
78
|
args: [{
|
|
79
79
|
selector: 'tui-radio-block',
|
|
@@ -134,10 +134,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
134
134
|
|
|
135
135
|
class TuiRadioBlockModule {
|
|
136
136
|
}
|
|
137
|
-
TuiRadioBlockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
138
|
-
TuiRadioBlockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
139
|
-
TuiRadioBlockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
137
|
+
TuiRadioBlockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioBlockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
138
|
+
TuiRadioBlockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioBlockModule, declarations: [TuiRadioBlockComponent], imports: [FormsModule, TuiRadioModule, TuiWrapperModule], exports: [TuiRadioBlockComponent] });
|
|
139
|
+
TuiRadioBlockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioBlockModule, imports: [[FormsModule, TuiRadioModule, TuiWrapperModule]] });
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioBlockModule, decorators: [{
|
|
141
141
|
type: NgModule,
|
|
142
142
|
args: [{
|
|
143
143
|
imports: [FormsModule, TuiRadioModule, TuiWrapperModule],
|
|
@@ -9,12 +9,12 @@ class TuiRadioGroupComponent {
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
TuiRadioGroupComponent.index = 0;
|
|
12
|
-
TuiRadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
13
|
-
TuiRadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
12
|
+
TuiRadioGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
TuiRadioGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRadioGroupComponent, selector: "tui-radio-group", inputs: { name: "name" }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
14
|
__decorate([
|
|
15
15
|
tuiDefaultProp()
|
|
16
16
|
], TuiRadioGroupComponent.prototype, "name", void 0);
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioGroupComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{
|
|
20
20
|
selector: 'tui-radio-group',
|
|
@@ -27,10 +27,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
27
27
|
|
|
28
28
|
class TuiRadioGroupModule {
|
|
29
29
|
}
|
|
30
|
-
TuiRadioGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
31
|
-
TuiRadioGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
32
|
-
TuiRadioGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
30
|
+
TuiRadioGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
|
+
TuiRadioGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioGroupModule, declarations: [TuiRadioGroupComponent], exports: [TuiRadioGroupComponent] });
|
|
32
|
+
TuiRadioGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioGroupModule });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioGroupModule, decorators: [{
|
|
34
34
|
type: NgModule,
|
|
35
35
|
args: [{
|
|
36
36
|
declarations: [TuiRadioGroupComponent],
|
|
@@ -38,8 +38,8 @@ class TuiRadioLabeledComponent extends AbstractTuiNullableControl {
|
|
|
38
38
|
this.updateValue(value);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
TuiRadioLabeledComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
42
|
-
TuiRadioLabeledComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
41
|
+
TuiRadioLabeledComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioLabeledComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TuiModeDirective, optional: true }, { token: TUI_RADIO_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
TuiRadioLabeledComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRadioLabeledComponent, selector: "tui-radio-labeled", inputs: { item: "item", size: "size", identityMatcher: "identityMatcher", pseudoDisabled: "pseudoDisabled" }, host: { properties: { "attr.data-size": "this.size", "class._disabled": "this.computedDisabled", "attr.data-mode": "this.mode" } }, providers: [
|
|
43
43
|
tuiAsFocusableItemAccessor(TuiRadioLabeledComponent),
|
|
44
44
|
tuiAsControl(TuiRadioLabeledComponent),
|
|
45
45
|
], viewQueries: [{ propertyName: "radio", first: true, predicate: TuiRadioComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"t-wrapper\">\n <tui-radio\n [focusable]=\"focusable\"\n [identityMatcher]=\"identityMatcher\"\n [name]=\"computedName || ''\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [pseudoDisabled]=\"computedDisabled\"\n [pseudoInvalid]=\"computedInvalid\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [size]=\"size\"\n [item]=\"item\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onModelChange($event)\"\n (focusedChange)=\"onFocused($event)\"\n ></tui-radio>\n <div\n class=\"t-content\"\n [class.t-content_disabled]=\"computedDisabled\"\n >\n <ng-content></ng-content>\n </div>\n</label>\n", styles: [":host{position:relative;display:block;font:var(--tui-font-text-s);line-height:1rem}:host._readonly{pointer-events:none}.t-wrapper{display:inline-flex;max-width:100%;cursor:pointer;vertical-align:top}:host._disabled .t-wrapper{cursor:default}:host[data-mode=onDark] .t-wrapper{color:var(--tui-text-01-night)}.t-content{word-wrap:break-word;min-width:0}.t-content_disabled{opacity:var(--tui-disabled-opacity)}:host[data-size=m] .t-content{margin-left:.5rem}:host[data-size=l] .t-content{font:var(--tui-font-text-m);margin-left:.75rem}\n"], components: [{ type: i1.TuiRadioComponent, selector: "tui-radio", inputs: ["item", "identityMatcher", "name", "size", "pseudoDisabled"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -52,7 +52,7 @@ __decorate([
|
|
|
52
52
|
__decorate([
|
|
53
53
|
tuiDefaultProp()
|
|
54
54
|
], TuiRadioLabeledComponent.prototype, "pseudoDisabled", void 0);
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioLabeledComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
args: [{
|
|
58
58
|
selector: 'tui-radio-labeled',
|
|
@@ -106,20 +106,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
106
106
|
|
|
107
107
|
class TuiRadioLabeledModule {
|
|
108
108
|
}
|
|
109
|
-
TuiRadioLabeledModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
110
|
-
TuiRadioLabeledModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
109
|
+
TuiRadioLabeledModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioLabeledModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
110
|
+
TuiRadioLabeledModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioLabeledModule, declarations: [TuiRadioLabeledComponent], imports: [CommonModule,
|
|
111
111
|
FormsModule,
|
|
112
112
|
TuiFocusableModule,
|
|
113
113
|
TuiFocusedModule,
|
|
114
114
|
TuiRadioModule], exports: [TuiRadioLabeledComponent] });
|
|
115
|
-
TuiRadioLabeledModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
115
|
+
TuiRadioLabeledModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioLabeledModule, imports: [[
|
|
116
116
|
CommonModule,
|
|
117
117
|
FormsModule,
|
|
118
118
|
TuiFocusableModule,
|
|
119
119
|
TuiFocusedModule,
|
|
120
120
|
TuiRadioModule,
|
|
121
121
|
]] });
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioLabeledModule, decorators: [{
|
|
123
123
|
type: NgModule,
|
|
124
124
|
args: [{
|
|
125
125
|
imports: [
|
|
@@ -48,8 +48,8 @@ class TuiRadioListComponent extends AbstractTuiNullableControl {
|
|
|
48
48
|
: this.identityMatcher(this.value, item);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
TuiRadioListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
52
|
-
TuiRadioListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
51
|
+
TuiRadioListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioListComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
+
TuiRadioListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRadioListComponent, selector: "tui-radio-list", inputs: { items: "items", size: "size", identityMatcher: "identityMatcher", orientation: "orientation", disabledItemHandler: "disabledItemHandler", itemContent: "itemContent" }, host: { properties: { "attr.data-size": "this.size", "attr.data-tui-host-orientation": "this.orientation" } }, providers: [
|
|
53
53
|
tuiAsFocusableItemAccessor(TuiRadioListComponent),
|
|
54
54
|
tuiAsControl(TuiRadioListComponent),
|
|
55
55
|
], viewQueries: [{ propertyName: "radioButtons", predicate: TuiRadioLabeledComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-radio-group class=\"t-group\">\n <tui-radio-labeled\n *ngFor=\"let item of items; index as index\"\n class=\"t-item\"\n [readOnly]=\"readOnly\"\n [nativeId]=\"computeId(index)\"\n [disabled]=\"disabled\"\n [item]=\"item\"\n [size]=\"size\"\n [pseudoInvalid]=\"computedInvalid\"\n [pseudoDisabled]=\"itemIsDisabled(item)\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onModelChange($event)\"\n >\n <ng-container\n *polymorpheusOutlet=\"\n itemContent as text;\n context: {$implicit: item, index: index, active: itemIsActive(item)}\n \"\n >\n {{ text }}\n </ng-container>\n </tui-radio-labeled>\n</tui-radio-group>\n", styles: [":host{display:block}:host._readonly{pointer-events:none}:host[data-tui-host-orientation=horizontal] .t-group{display:flex;justify-content:inherit}:host[data-tui-host-orientation=horizontal] .t-item:nth-child(n + 2){margin-left:1.5rem}:host[data-tui-host-orientation=vertical] .t-item:nth-child(n + 2){margin-top:.75rem}:host[data-size=l][data-tui-host-orientation=horizontal] .t-item:nth-child(n + 2){margin-left:2.5rem}:host[data-size=l][data-tui-host-orientation=vertical] .t-item:nth-child(n + 2){margin-top:1rem}\n"], components: [{ type: i1.TuiRadioGroupComponent, selector: "tui-radio-group", inputs: ["name"] }, { type: i2.TuiRadioLabeledComponent, selector: "tui-radio-labeled", inputs: ["item", "size", "identityMatcher", "pseudoDisabled"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i5.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -71,7 +71,7 @@ __decorate([
|
|
|
71
71
|
__decorate([
|
|
72
72
|
tuiDefaultProp()
|
|
73
73
|
], TuiRadioListComponent.prototype, "itemContent", void 0);
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioListComponent, decorators: [{
|
|
75
75
|
type: Component,
|
|
76
76
|
args: [{
|
|
77
77
|
selector: 'tui-radio-list',
|
|
@@ -121,20 +121,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
121
121
|
|
|
122
122
|
class TuiRadioListModule {
|
|
123
123
|
}
|
|
124
|
-
TuiRadioListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
125
|
-
TuiRadioListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
124
|
+
TuiRadioListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
125
|
+
TuiRadioListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioListModule, declarations: [TuiRadioListComponent], imports: [CommonModule,
|
|
126
126
|
FormsModule,
|
|
127
127
|
PolymorpheusModule,
|
|
128
128
|
TuiRadioGroupModule,
|
|
129
129
|
TuiRadioLabeledModule], exports: [TuiRadioListComponent] });
|
|
130
|
-
TuiRadioListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
130
|
+
TuiRadioListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioListModule, imports: [[
|
|
131
131
|
CommonModule,
|
|
132
132
|
FormsModule,
|
|
133
133
|
PolymorpheusModule,
|
|
134
134
|
TuiRadioGroupModule,
|
|
135
135
|
TuiRadioLabeledModule,
|
|
136
136
|
]] });
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioListModule, decorators: [{
|
|
138
138
|
type: NgModule,
|
|
139
139
|
args: [{
|
|
140
140
|
imports: [
|