@taiga-ui/kit 3.18.0 → 3.19.0-dev.main-9e6bc23
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 +12 -21
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +17 -26
- 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 +14 -23
- 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 +14 -23
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +22 -33
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +14 -23
- 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 +14 -23
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +14 -23
- 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 +14 -23
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +37 -46
- 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 +25 -61
- 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 +19 -25
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +11 -20
- 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 +38 -31
- 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 +20 -29
- 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 +7 -7
- 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 +11 -20
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +452 -0
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-select-option.umd.js +7 -7
- package/bundles/taiga-ui-kit-components-select.umd.js +23 -32
- 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 +27 -36
- 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 +22 -28
- 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 +40 -43
- 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-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/index.d.ts +1 -0
- package/components/input-count/input-count.component.d.ts +4 -5
- package/components/input-phone-international/input-phone-international.component.d.ts +11 -3
- package/components/input-phone-international/input-phone-international.module.d.ts +1 -1
- package/components/input-range/input-range.component.d.ts +3 -7
- package/components/input-range/input-range.module.d.ts +1 -1
- package/components/input-tag/input-tag.component.d.ts +3 -3
- package/components/line-clamp/line-clamp-position.directive.d.ts +2 -1
- package/components/routable-dialog/generate-dialogable-route.d.ts +6 -0
- package/components/routable-dialog/index.d.ts +3 -0
- package/components/routable-dialog/package.json +10 -0
- package/components/routable-dialog/routable-dialog.component.d.ts +14 -0
- package/components/routable-dialog/routable-dialog.module.d.ts +7 -0
- package/components/routable-dialog/taiga-ui-kit-components-routable-dialog.d.ts +5 -0
- package/components/text-area/text-area.component.d.ts +3 -3
- package/components/tree/components/tree/tree.component.d.ts +1 -0
- package/components/tree/components/tree-item/tree-item.component.d.ts +1 -0
- 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 +4 -4
- 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 +3 -3
- package/esm2015/components/combo-box/combo-box.directive.js +3 -3
- package/esm2015/components/combo-box/combo-box.module.js +4 -4
- 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 +3 -3
- 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 +3 -3
- package/esm2015/components/input-copy/input-copy.directive.js +3 -3
- package/esm2015/components/input-copy/input-copy.module.js +4 -4
- package/esm2015/components/input-count/input-count.component.js +13 -15
- 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 +3 -3
- package/esm2015/components/input-date/input-date.directive.js +3 -3
- package/esm2015/components/input-date/input-date.module.js +4 -4
- package/esm2015/components/input-date-range/input-date-range.component.js +3 -3
- package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
- package/esm2015/components/input-date-range/input-date-range.module.js +4 -4
- package/esm2015/components/input-date-time/input-date-time.component.js +3 -3
- package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
- package/esm2015/components/input-date-time/input-date-time.module.js +4 -4
- 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.component.js +3 -3
- package/esm2015/components/input-password/input-password.directive.js +3 -3
- package/esm2015/components/input-password/input-password.module.js +4 -4
- 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 +27 -29
- package/esm2015/components/input-phone-international/input-phone-international.module.js +10 -7
- package/esm2015/components/input-range/input-range.component.js +11 -35
- package/esm2015/components/input-range/input-range.module.js +12 -9
- 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 +9 -10
- package/esm2015/components/input-tag/input-tag.module.js +4 -4
- 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 +18 -6
- package/esm2015/components/line-clamp/line-clamp-position.directive.js +9 -7
- package/esm2015/components/line-clamp/line-clamp.component.js +3 -3
- 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 +3 -3
- package/esm2015/components/multi-select/multi-select.module.js +4 -4
- 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/prompt.component.js +3 -3
- package/esm2015/components/prompt/prompt.module.js +4 -4
- 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.component.js +3 -3
- package/esm2015/components/rating/rating.module.js +4 -4
- package/esm2015/components/routable-dialog/generate-dialogable-route.js +19 -0
- package/esm2015/components/routable-dialog/index.js +4 -0
- package/esm2015/components/routable-dialog/routable-dialog.component.js +65 -0
- package/esm2015/components/routable-dialog/routable-dialog.module.js +16 -0
- package/esm2015/components/routable-dialog/taiga-ui-kit-components-routable-dialog.js +5 -0
- 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 +3 -3
- package/esm2015/components/select/select.directive.js +3 -3
- package/esm2015/components/select/select.module.js +4 -4
- 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 +5 -5
- 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 +9 -10
- 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 +9 -6
- package/esm2015/components/tree/components/tree-item/tree-item.component.js +7 -4
- 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/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 +8 -8
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +13 -13
- 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 +10 -10
- package/fesm2015/taiga-ui-kit-components-filter.js +7 -7
- package/fesm2015/taiga-ui-kit-components-input-copy.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-count.js +19 -21
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +10 -10
- package/fesm2015/taiga-ui-kit-components-input-date.js +10 -10
- 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 +10 -10
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +34 -33
- 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 +20 -41
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +7 -7
- package/fesm2015/taiga-ui-kit-components-input-tag.js +12 -13
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +7 -7
- 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 +31 -17
- 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 +16 -16
- 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 +7 -7
- 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 +7 -7
- package/fesm2015/taiga-ui-kit-components-routable-dialog.js +103 -0
- package/fesm2015/taiga-ui-kit-components-routable-dialog.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-select-option.js +7 -7
- package/fesm2015/taiga-ui-kit-components-select.js +19 -19
- 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 +23 -23
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +7 -7
- package/fesm2015/taiga-ui-kit-components-text-area.js +15 -16
- 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 +36 -30
- package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
- 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/package.json +6 -6
|
@@ -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: [
|
|
@@ -84,8 +84,8 @@ class TuiRadioComponent extends AbstractTuiNullableControl {
|
|
|
84
84
|
return this.radioGroup === null ? null : this.radioGroup.name;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
TuiRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
88
|
-
TuiRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
87
|
+
TuiRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_ANIMATION_OPTIONS }, { token: TUI_RADIO_OPTIONS }, { token: TuiRadioGroupComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
TuiRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRadioComponent, selector: "tui-radio", inputs: { item: "item", identityMatcher: "identityMatcher", name: "name", size: "size", pseudoDisabled: "pseudoDisabled" }, host: { properties: { "attr.data-size": "this.size", "class._disabled": "this.computedDisabled" } }, providers: [
|
|
89
89
|
tuiAsFocusableItemAccessor(TuiRadioComponent),
|
|
90
90
|
tuiAsControl(TuiRadioComponent),
|
|
91
91
|
], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiWrapper\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocusVisible\"\n [hover]=\"pseudoHover\"\n [active]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n>\n <div\n *ngIf=\"checked\"\n class=\"t-mark\"\n [@tuiScaleIn]=\"animation\"\n ></div>\n <input\n #focusableElement\n type=\"radio\"\n class=\"t-native\"\n [id]=\"id\"\n [attr.name]=\"computedName\"\n [disabled]=\"computedDisabled\"\n [tuiChecked]=\"checked\"\n [tuiFocusable]=\"isFocusable\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiCheckedChange)=\"onChecked($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n />\n</div>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}:host[data-size=m]{width:1rem;height:1rem}:host[data-size=l]{width:1.5rem;height:1.5rem}:host._readonly{pointer-events:none}.t-mark{position:absolute;background-color:currentColor;border-radius:100%}:host[data-size=m] .t-mark{margin:.25rem;width:.5rem;height:.5rem}:host[data-size=l] .t-mark{margin:.4375rem;width:.625rem;height:.625rem}.t-native{padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native:-webkit-autofill,.t-native:-webkit-autofill:hover,.t-native:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}:host._disabled .t-native{cursor:default}\n"], directives: [{ type: i1.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.TuiCheckedDirective, selector: "input[tuiChecked], input[tuiCheckedChange]", inputs: ["tuiChecked"], outputs: ["tuiCheckedChange"] }, { type: i3.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i3.TuiFocusedDirective, selector: "[tuiFocusedChange]", outputs: ["tuiFocusedChange"] }, { type: i3.TuiFocusVisibleDirective, selector: "[tuiFocusVisibleChange]", outputs: ["tuiFocusVisibleChange"] }], animations: [tuiScaleIn], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -101,7 +101,7 @@ __decorate([
|
|
|
101
101
|
__decorate([
|
|
102
102
|
tuiDefaultProp()
|
|
103
103
|
], TuiRadioComponent.prototype, "pseudoDisabled", void 0);
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioComponent, decorators: [{
|
|
105
105
|
type: Component,
|
|
106
106
|
args: [{
|
|
107
107
|
selector: 'tui-radio',
|
|
@@ -158,14 +158,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
158
158
|
|
|
159
159
|
class TuiRadioModule {
|
|
160
160
|
}
|
|
161
|
-
TuiRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
162
|
-
TuiRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
161
|
+
TuiRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
162
|
+
TuiRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioModule, declarations: [TuiRadioComponent], imports: [CommonModule,
|
|
163
163
|
TuiCheckedModule,
|
|
164
164
|
TuiFocusableModule,
|
|
165
165
|
TuiFocusedModule,
|
|
166
166
|
TuiFocusVisibleModule,
|
|
167
167
|
TuiWrapperModule], exports: [TuiRadioComponent] });
|
|
168
|
-
TuiRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
168
|
+
TuiRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioModule, imports: [[
|
|
169
169
|
CommonModule,
|
|
170
170
|
TuiCheckedModule,
|
|
171
171
|
TuiFocusableModule,
|
|
@@ -173,7 +173,7 @@ TuiRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
|
|
|
173
173
|
TuiFocusVisibleModule,
|
|
174
174
|
TuiWrapperModule,
|
|
175
175
|
]] });
|
|
176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRadioModule, decorators: [{
|
|
177
177
|
type: NgModule,
|
|
178
178
|
args: [{
|
|
179
179
|
imports: [
|
|
@@ -110,8 +110,8 @@ class TuiRangeComponent extends AbstractTuiControl {
|
|
|
110
110
|
this.updateValue([this.value[0], Math.max(value, this.value[0])]);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
TuiRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
114
|
-
TuiRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
113
|
+
TuiRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRangeComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
114
|
+
TuiRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRangeComponent, selector: "tui-range", inputs: { min: "min", max: "max", step: "step", size: "size", segments: "segments", keySteps: "keySteps" }, host: { listeners: { "focusin": "onFocused(true)", "focusout": "onFocused(false)", "keydown.arrowUp.prevent": "changeByStep(1,$event.target)", "keydown.arrowRight.prevent": "changeByStep(1,$event.target)", "keydown.arrowLeft.prevent": "changeByStep(-1,$event.target)", "keydown.arrowDown.prevent": "changeByStep(-1,$event.target)" }, properties: { "attr.tabindex": "-1", "attr.aria-disabled": "computedDisabled", "attr.data-size": "this.size", "style.--left.%": "this.left", "style.--right.%": "this.right" } }, viewQueries: [{ propertyName: "slidersRefs", predicate: TuiSliderComponent, descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"t-track\"\n [style.--segment-width.%]=\"segmentWidthRatio * 100\"\n [style.--bg-size-ratio]=\"1 - segmentWidthRatio\"\n>\n <input\n tuiSlider\n readonly\n type=\"range\"\n step=\"any\"\n automation-id=\"tui-range__left\"\n class=\"t-thumb\"\n [min]=\"min\"\n [max]=\"max\"\n [ngModel]=\"value[0]\"\n [size]=\"size\"\n [keySteps]=\"computedKeySteps\"\n [tuiFocusable]=\"focusable\"\n [attr.disabled]=\"computedDisabled || null\"\n />\n <input\n tuiSlider\n readonly\n type=\"range\"\n step=\"any\"\n automation-id=\"tui-range__right\"\n class=\"t-thumb\"\n [min]=\"min\"\n [max]=\"max\"\n [ngModel]=\"value[1]\"\n [size]=\"size\"\n [keySteps]=\"computedKeySteps\"\n [tuiFocusable]=\"focusable\"\n [attr.disabled]=\"computedDisabled || null\"\n />\n</div>\n", styles: [":host{position:relative;display:block;height:.125rem;border-radius:var(--tui-radius-m);background:var(--tui-base-03);cursor:pointer;outline:none;margin:.4375rem 0;touch-action:pan-x}:host:active{cursor:ew-resize}:host:after{content:\"\";position:absolute;top:-.4375rem;bottom:-.4375rem;width:100%}:host._disabled{opacity:var(--tui-disabled-opacity);cursor:auto}:host[data-size=s] .t-track{position:relative;margin:0 .25rem;height:100%}:host[data-size=s] .t-track:before{content:\"\";position:absolute;top:0;left:var(--left);right:var(--right);height:100%;background:var(--tui-primary);margin:0 -.25rem}:host[data-size=s] .t-track:after{position:absolute;top:0;left:0;bottom:0;right:0;content:\"\";left:.125rem;right:.375rem;background-image:repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 calc(var(--segment-width) / var(--bg-size-ratio)));background-position-x:right;background-repeat:no-repeat;background-size:calc(100% * var(--bg-size-ratio))}:host[data-size=m] .t-track{position:relative;margin:0 .5rem;height:100%}:host[data-size=m] .t-track:before{content:\"\";position:absolute;top:0;left:var(--left);right:var(--right);height:100%;background:var(--tui-primary);margin:0 -.5rem}:host[data-size=m] .t-track:after{position:absolute;top:0;left:0;bottom:0;right:0;content:\"\";left:.375rem;right:.625rem;background-image:repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 calc(var(--segment-width) / var(--bg-size-ratio)));background-position-x:right;background-repeat:no-repeat;background-size:calc(100% * var(--bg-size-ratio))}.t-thumb{pointer-events:none;position:absolute;top:.0625rem;left:0;right:0;z-index:1;transform:translateY(-50%);margin:0}.t-thumb::-webkit-slider-thumb{pointer-events:all}.t-thumb::-moz-range-thumb{pointer-events:all}input[type=range].t-thumb::-webkit-slider-runnable-track{background:transparent}input[type=range].t-thumb::-moz-range-track{background:transparent}input[type=range].t-thumb::-moz-range-progress{background:transparent}input[type=range].t-thumb::-ms-track{background:transparent}input[type=range].t-thumb::-ms-fill-lower{background:transparent}.t-thumb:last-of-type::-webkit-slider-thumb{transform:translate(50%)}.t-thumb:first-of-type::-webkit-slider-thumb{transform:translate(-50%)}.t-thumb:last-of-type::-moz-range-thumb{transform:translate(50%)}.t-thumb:first-of-type::-moz-range-thumb{transform:translate(-50%)}:host._disabled .t-thumb{opacity:1}\n"], components: [{ type: i1.TuiSliderComponent, selector: "input[type=range][tuiSlider]", inputs: ["size", "segments"] }], directives: [{ type: i1.TuiSliderReadonlyDirective, selector: "input[tuiSlider][readonly]", inputs: ["readonly"] }, { type: i1.TuiSliderKeyStepsDirective, selector: "input[tuiSlider][keySteps]", inputs: ["keySteps"] }, { type: i2.RangeValueAccessor, selector: "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]" }, { type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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"] }, { type: i3.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
115
115
|
__decorate([
|
|
116
116
|
tuiDefaultProp()
|
|
117
117
|
], TuiRangeComponent.prototype, "min", void 0);
|
|
@@ -133,7 +133,7 @@ __decorate([
|
|
|
133
133
|
__decorate([
|
|
134
134
|
tuiPure
|
|
135
135
|
], TuiRangeComponent.prototype, "computePureKeySteps", null);
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRangeComponent, decorators: [{
|
|
137
137
|
type: Component,
|
|
138
138
|
args: [{
|
|
139
139
|
selector: 'tui-range',
|
|
@@ -259,9 +259,9 @@ class TuiRangeChangeDirective {
|
|
|
259
259
|
: 'left';
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
|
-
TuiRangeChangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
263
|
-
TuiRangeChangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
262
|
+
TuiRangeChangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRangeChangeDirective, deps: [{ token: DOCUMENT }, { token: ElementRef }, { token: TuiRangeComponent }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
263
|
+
TuiRangeChangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiRangeChangeDirective, selector: "tui-range", outputs: { activeThumbChange: "activeThumbChange" }, providers: [TuiDestroyService], ngImport: i0 });
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRangeChangeDirective, decorators: [{
|
|
265
265
|
type: Directive,
|
|
266
266
|
args: [{
|
|
267
267
|
selector: 'tui-range',
|
|
@@ -287,10 +287,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
287
287
|
|
|
288
288
|
class TuiRangeModule {
|
|
289
289
|
}
|
|
290
|
-
TuiRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
291
|
-
TuiRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
292
|
-
TuiRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
290
|
+
TuiRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
291
|
+
TuiRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRangeModule, declarations: [TuiRangeComponent, TuiRangeChangeDirective], imports: [CommonModule, TuiFocusableModule, TuiSliderModule, FormsModule], exports: [TuiRangeComponent, TuiRangeChangeDirective] });
|
|
292
|
+
TuiRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRangeModule, imports: [[CommonModule, TuiFocusableModule, TuiSliderModule, FormsModule]] });
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRangeModule, decorators: [{
|
|
294
294
|
type: NgModule,
|
|
295
295
|
args: [{
|
|
296
296
|
imports: [CommonModule, TuiFocusableModule, TuiSliderModule, FormsModule],
|
|
@@ -58,8 +58,8 @@ class TuiRatingComponent extends AbstractTuiControl {
|
|
|
58
58
|
return 0;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
TuiRatingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
62
|
-
TuiRatingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
61
|
+
TuiRatingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRatingComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_RATING_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
TuiRatingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRatingComponent, selector: "tui-rating", inputs: { min: "min", max: "max", iconNormal: "iconNormal", iconFilled: "iconFilled" }, host: { listeners: { "focusin": "onFocused(true)", "focusout": "onFocused(false)" } }, providers: [
|
|
63
63
|
tuiAsFocusableItemAccessor(TuiRatingComponent),
|
|
64
64
|
tuiAsControl(TuiRatingComponent),
|
|
65
65
|
], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<label>\n <ng-content></ng-content>\n\n <div class=\"t-host\">\n <div class=\"t-interactive\">\n <tui-svg\n *tuiRepeatTimes=\"let index of max\"\n class=\"t-icon-rating t-icon-filled\"\n [class.t-icon-rating-last]=\"index === 0\"\n [src]=\"iconFilled\"\n (click)=\"setRateByReverseIndex(index)\"\n ></tui-svg>\n </div>\n\n <div\n class=\"t-wrapper\"\n [style.width.%]=\"percent\"\n >\n <tui-svg\n *tuiRepeatTimes=\"let index of max\"\n class=\"t-icon-rating t-icon-filled\"\n [class.t-icon-rating-last]=\"index === 0\"\n [src]=\"iconFilled\"\n ></tui-svg>\n </div>\n\n <tui-svg\n *tuiRepeatTimes=\"let index of max\"\n class=\"t-icon-rating\"\n [class.t-icon-rating-last]=\"max - 1 === index\"\n [src]=\"iconNormal\"\n ></tui-svg>\n\n <input\n #focusableElement\n type=\"range\"\n step=\"1\"\n class=\"t-input\"\n [min]=\"min\"\n [max]=\"max\"\n [ngModel]=\"value\"\n [tuiFocusable]=\"isFocusable\"\n (ngModelChange)=\"setRate($event)\"\n />\n </div>\n</label>\n", styles: [":host._readonly,:host._disabled{pointer-events:none}:host._disabled{opacity:var(--tui-disabled-opacity)}.t-host{position:relative;display:inline-flex}.t-icon-rating{width:var(--tui-rating-size, 1.5rem);height:var(--tui-rating-size, 1.5rem);padding:0 var(--tui-rating-gap, 0) 0 0}.t-icon-rating-last{padding-right:0}.t-input{pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent}.t-input::-webkit-slider-thumb{display:none}.t-input::-moz-range-thumb{opacity:0}.t-input,.t-wrapper,.t-interactive{position:absolute;left:0;bottom:0;width:100%;height:100%}.t-wrapper,.t-interactive{display:inline-flex;overflow:hidden;flex-direction:row-reverse;justify-content:flex-end;white-space:nowrap}.t-wrapper{pointer-events:none}.t-interactive{opacity:0}@media (hover: hover) and (pointer: fine){.t-interactive:hover{opacity:1}.t-interactive:hover~.t-wrapper{visibility:hidden}.t-interactive:hover .t-icon-filled{opacity:0}.t-interactive:hover .t-icon-filled:hover,.t-interactive:hover .t-icon-filled:hover~.t-icon-filled{opacity:1}}.t-icon-filled{position:relative;cursor:pointer;fill:currentColor}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { type: i3.RangeValueAccessor, selector: "input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]" }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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"] }, { type: i2.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -75,7 +75,7 @@ __decorate([
|
|
|
75
75
|
__decorate([
|
|
76
76
|
tuiDefaultProp()
|
|
77
77
|
], TuiRatingComponent.prototype, "iconFilled", void 0);
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRatingComponent, decorators: [{
|
|
79
79
|
type: Component,
|
|
80
80
|
args: [{
|
|
81
81
|
selector: 'tui-rating',
|
|
@@ -121,20 +121,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
121
121
|
|
|
122
122
|
class TuiRatingModule {
|
|
123
123
|
}
|
|
124
|
-
TuiRatingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
125
|
-
TuiRatingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
124
|
+
TuiRatingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
125
|
+
TuiRatingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRatingModule, declarations: [TuiRatingComponent], imports: [TuiSvgModule,
|
|
126
126
|
TuiFocusableModule,
|
|
127
127
|
TuiRepeatTimesModule,
|
|
128
128
|
FormsModule,
|
|
129
129
|
ReactiveFormsModule], exports: [TuiRatingComponent] });
|
|
130
|
-
TuiRatingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
130
|
+
TuiRatingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRatingModule, imports: [[
|
|
131
131
|
TuiSvgModule,
|
|
132
132
|
TuiFocusableModule,
|
|
133
133
|
TuiRepeatTimesModule,
|
|
134
134
|
FormsModule,
|
|
135
135
|
ReactiveFormsModule,
|
|
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: TuiRatingModule, decorators: [{
|
|
138
138
|
type: NgModule,
|
|
139
139
|
args: [{
|
|
140
140
|
imports: [
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { __rest } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injector, Component, ChangeDetectionStrategy, Inject, Self, NgModule } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/router';
|
|
5
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
6
|
+
import * as i3 from '@taiga-ui/cdk';
|
|
7
|
+
import { TuiDestroyService } from '@taiga-ui/cdk';
|
|
8
|
+
import * as i2 from '@taiga-ui/core';
|
|
9
|
+
import { TuiDialogService } from '@taiga-ui/core';
|
|
10
|
+
import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';
|
|
11
|
+
import { takeUntil } from 'rxjs/operators';
|
|
12
|
+
|
|
13
|
+
class TuiRoutableDialogComponent {
|
|
14
|
+
constructor(route, router, dialogService, injector, destroy$) {
|
|
15
|
+
this.route = route;
|
|
16
|
+
this.router = router;
|
|
17
|
+
dialogService
|
|
18
|
+
.open(new PolymorpheusComponent(this.route.snapshot.data['dialog'], injector), this.route.snapshot.data['dialogOptions'])
|
|
19
|
+
.pipe(takeUntil(destroy$))
|
|
20
|
+
.subscribe({
|
|
21
|
+
complete: () => this.navigateToParent(),
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
navigateToParent() {
|
|
25
|
+
const isLazy = this.route.snapshot.data['isLazy'];
|
|
26
|
+
const backUrl = isLazy
|
|
27
|
+
? this.getLazyLoadedBackUrl()
|
|
28
|
+
: this.route.snapshot.data['backUrl'];
|
|
29
|
+
void this.router.navigate([backUrl], {
|
|
30
|
+
relativeTo: this.route,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
getLazyLoadedBackUrl() {
|
|
34
|
+
var _a;
|
|
35
|
+
const urlSegments = ((_a = this.route.parent) === null || _a === void 0 ? void 0 : _a.snapshot.url) || [];
|
|
36
|
+
return urlSegments.map(() => '..').join('/');
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
TuiRoutableDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRoutableDialogComponent, deps: [{ token: ActivatedRoute }, { token: Router }, { token: TuiDialogService }, { token: Injector }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
TuiRoutableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiRoutableDialogComponent, selector: "tui-routable-dialog", providers: [TuiDestroyService], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRoutableDialogComponent, decorators: [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: 'tui-routable-dialog',
|
|
45
|
+
template: '',
|
|
46
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
47
|
+
providers: [TuiDestroyService],
|
|
48
|
+
}]
|
|
49
|
+
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute, decorators: [{
|
|
50
|
+
type: Inject,
|
|
51
|
+
args: [ActivatedRoute]
|
|
52
|
+
}] }, { type: i1.Router, decorators: [{
|
|
53
|
+
type: Inject,
|
|
54
|
+
args: [Router]
|
|
55
|
+
}] }, { type: i2.TuiDialogService, decorators: [{
|
|
56
|
+
type: Inject,
|
|
57
|
+
args: [TuiDialogService]
|
|
58
|
+
}] }, { type: i0.Injector, decorators: [{
|
|
59
|
+
type: Inject,
|
|
60
|
+
args: [Injector]
|
|
61
|
+
}] }, { type: i3.TuiDestroyService, decorators: [{
|
|
62
|
+
type: Self
|
|
63
|
+
}, {
|
|
64
|
+
type: Inject,
|
|
65
|
+
args: [TuiDestroyService]
|
|
66
|
+
}] }]; } });
|
|
67
|
+
|
|
68
|
+
function tuiGenerateDialogableRoute(component, _a = {}) {
|
|
69
|
+
var { path = `` } = _a, dialogOptions = __rest(_a, ["path"]);
|
|
70
|
+
return {
|
|
71
|
+
path,
|
|
72
|
+
component: TuiRoutableDialogComponent,
|
|
73
|
+
data: {
|
|
74
|
+
dialog: component,
|
|
75
|
+
backUrl: path
|
|
76
|
+
.split(`/`)
|
|
77
|
+
.map(() => `..`)
|
|
78
|
+
.join(`/`),
|
|
79
|
+
isLazy: path === ``,
|
|
80
|
+
dialogOptions,
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
class TuiRoutableDialogModule {
|
|
86
|
+
}
|
|
87
|
+
TuiRoutableDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRoutableDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
88
|
+
TuiRoutableDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRoutableDialogModule, declarations: [TuiRoutableDialogComponent], exports: [TuiRoutableDialogComponent] });
|
|
89
|
+
TuiRoutableDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRoutableDialogModule });
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiRoutableDialogModule, decorators: [{
|
|
91
|
+
type: NgModule,
|
|
92
|
+
args: [{
|
|
93
|
+
declarations: [TuiRoutableDialogComponent],
|
|
94
|
+
exports: [TuiRoutableDialogComponent],
|
|
95
|
+
}]
|
|
96
|
+
}] });
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Generated bundle index. Do not edit.
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
export { TuiRoutableDialogComponent, TuiRoutableDialogModule, tuiGenerateDialogableRoute };
|
|
103
|
+
//# sourceMappingURL=taiga-ui-kit-components-routable-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-routable-dialog.js","sources":["../../../projects/kit/components/routable-dialog/routable-dialog.component.ts","../../../projects/kit/components/routable-dialog/generate-dialogable-route.ts","../../../projects/kit/components/routable-dialog/routable-dialog.module.ts","../../../projects/kit/components/routable-dialog/taiga-ui-kit-components-routable-dialog.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject, Injector, Self} from '@angular/core';\nimport {ActivatedRoute, Router, UrlSegment} from '@angular/router';\nimport {TuiDestroyService} from '@taiga-ui/cdk';\nimport {TuiDialogService} from '@taiga-ui/core';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\nimport {takeUntil} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-routable-dialog',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService],\n})\nexport class TuiRoutableDialogComponent {\n constructor(\n @Inject(ActivatedRoute) private readonly route: ActivatedRoute,\n @Inject(Router) private readonly router: Router,\n @Inject(TuiDialogService) dialogService: TuiDialogService,\n @Inject(Injector) injector: Injector,\n @Self() @Inject(TuiDestroyService) destroy$: TuiDestroyService,\n ) {\n dialogService\n .open(\n new PolymorpheusComponent(this.route.snapshot.data['dialog'], injector),\n this.route.snapshot.data['dialogOptions'],\n )\n .pipe(takeUntil(destroy$))\n .subscribe({\n complete: () => this.navigateToParent(),\n });\n }\n\n private navigateToParent(): void {\n const isLazy = this.route.snapshot.data['isLazy'];\n\n const backUrl = isLazy\n ? this.getLazyLoadedBackUrl()\n : this.route.snapshot.data['backUrl'];\n\n void this.router.navigate([backUrl], {\n relativeTo: this.route,\n });\n }\n\n private getLazyLoadedBackUrl(): string {\n const urlSegments: UrlSegment[] = this.route.parent?.snapshot.url || [];\n\n return urlSegments.map(() => '..').join('/');\n }\n}\n","import {Type} from '@angular/core';\nimport {Route} from '@angular/router';\nimport {TuiDialogOptions} from '@taiga-ui/core';\n\nimport {TuiRoutableDialogComponent} from './routable-dialog.component';\n\nexport function tuiGenerateDialogableRoute<I>(\n component: Type<any>,\n {path = ``, ...dialogOptions}: Partial<TuiDialogOptions<I>> & {path?: string} = {},\n): Route {\n return {\n path,\n component: TuiRoutableDialogComponent,\n data: {\n dialog: component,\n backUrl: path\n .split(`/`)\n .map(() => `..`)\n .join(`/`),\n isLazy: path === ``,\n dialogOptions,\n },\n };\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiRoutableDialogComponent} from './routable-dialog.component';\n\n@NgModule({\n declarations: [TuiRoutableDialogComponent],\n exports: [TuiRoutableDialogComponent],\n})\nexport class TuiRoutableDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAaa,0BAA0B,CAAA;IACnC,WAC6C,CAAA,KAAqB,EAC7B,MAAc,EACrB,aAA+B,EACvC,QAAkB,EACD,QAA2B,EAAA;QAJrB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAgB;QAC7B,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QAK/C,aAAa;AACR,aAAA,IAAI,CACD,IAAI,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,EACvE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,CAC5C;AACA,aAAA,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AACzB,aAAA,SAAS,CAAC;AACP,YAAA,QAAQ,EAAE,MAAM,IAAI,CAAC,gBAAgB,EAAE;AAC1C,SAAA,CAAC,CAAC;KACV;IAEO,gBAAgB,GAAA;AACpB,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAElD,MAAM,OAAO,GAAG,MAAM;AAClB,cAAE,IAAI,CAAC,oBAAoB,EAAE;cAC3B,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAE1C,KAAK,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,EAAE;YACjC,UAAU,EAAE,IAAI,CAAC,KAAK;AACzB,SAAA,CAAC,CAAC;KACN;IAEO,oBAAoB,GAAA;;AACxB,QAAA,MAAM,WAAW,GAAiB,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,KAAK,CAAC,MAAM,0CAAE,QAAQ,CAAC,GAAG,KAAI,EAAE,CAAC;AAExE,QAAA,OAAO,WAAW,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAChD;;wHAnCQ,0BAA0B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAEvB,cAAc,EACd,EAAA,EAAA,KAAA,EAAA,MAAM,aACN,gBAAgB,EAAA,EAAA,EAAA,KAAA,EAChB,QAAQ,EAAA,EAAA,EAAA,KAAA,EACA,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAN5B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,EAFxB,QAAA,EAAA,qBAAA,EAAA,SAAA,EAAA,CAAC,iBAAiB,CAAC,0BAFpB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;4FAIH,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,QAAQ,EAAE,EAAE;oBACZ,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,SAAS,EAAE,CAAC,iBAAiB,CAAC;AACjC,iBAAA,CAAA;;0BAGQ,MAAM;2BAAC,cAAc,CAAA;;0BACrB,MAAM;2BAAC,MAAM,CAAA;;0BACb,MAAM;2BAAC,gBAAgB,CAAA;;0BACvB,MAAM;2BAAC,QAAQ,CAAA;;0BACf,IAAI;;0BAAI,MAAM;2BAAC,iBAAiB,CAAA;;;SCbzB,0BAA0B,CACtC,SAAoB,EACpB,KAAgF,EAAE,EAAA;QAAlF,EAAC,IAAI,GAAG,CAAE,CAAA,EAAA,GAAA,EAAwE,EAAnE,aAAa,GAAA,MAAA,CAAA,EAAA,EAA5B,QAA6B,CAAD,CAAA;IAE5B,OAAO;QACH,IAAI;AACJ,QAAA,SAAS,EAAE,0BAA0B;AACrC,QAAA,IAAI,EAAE;AACF,YAAA,MAAM,EAAE,SAAS;AACjB,YAAA,OAAO,EAAE,IAAI;iBACR,KAAK,CAAC,GAAG,CAAC;AACV,iBAAA,GAAG,CAAC,MAAM,IAAI,CAAC;iBACf,IAAI,CAAC,GAAG,CAAC;YACd,MAAM,EAAE,IAAI,KAAK,CAAE,CAAA;YACnB,aAAa;AAChB,SAAA;KACJ,CAAC;AACN;;MCfa,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sHAAvB,uBAAuB,EAAA,YAAA,EAAA,CAHjB,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAC/B,0BAA0B,CAAA,EAAA,CAAA,CAAA;sHAE3B,uBAAuB,EAAA,CAAA,CAAA;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,0BAA0B,CAAC;oBAC1C,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACxC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -54,9 +54,9 @@ class TuiSelectOptionComponent {
|
|
|
54
54
|
this.matcher(this.value, this.option.value));
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
TuiSelectOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
58
|
-
TuiSelectOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
57
|
+
TuiSelectOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSelectOptionComponent, deps: [{ token: POLYMORPHEUS_CONTEXT }, { token: TUI_DATA_LIST_HOST }, { token: ElementRef }, { token: TuiOptionComponent }, { token: TuiDataListComponent, optional: true }, { token: NgControl }, { token: AbstractTuiControl, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
TuiSelectOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSelectOptionComponent, selector: "tui-select-option", ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"context.$implicit\"></ng-container>\n<tui-svg\n *ngIf=\"selected$ | async; else dummy\"\n automation-id=\"tui-select-option__checkmark\"\n src=\"tuiIconCheckLarge\"\n class=\"t-checkmark\"\n [tuiScrollIntoView]=\"true\"\n></tui-svg>\n<ng-template #dummy>\n <span class=\"t-dummy\"></span>\n</ng-template>\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;max-width:100%;animation:retrigger 1s}.t-checkmark{margin:0 -.375rem 0 auto;border-left:5px solid transparent}.t-dummy{width:1.5rem}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.TuiScrollIntoViewDirective, selector: "[tuiScrollIntoView]", inputs: ["tuiScrollIntoView"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSelectOptionComponent, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: 'tui-select-option',
|
|
@@ -94,10 +94,10 @@ const TUI_SELECT_OPTION = new PolymorpheusComponent(TuiSelectOptionComponent);
|
|
|
94
94
|
|
|
95
95
|
class TuiSelectOptionModule {
|
|
96
96
|
}
|
|
97
|
-
TuiSelectOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
98
|
-
TuiSelectOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
99
|
-
TuiSelectOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
97
|
+
TuiSelectOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSelectOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
98
|
+
TuiSelectOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSelectOptionModule, declarations: [TuiSelectOptionComponent], imports: [CommonModule, TuiSvgModule, TuiScrollIntoViewModule], exports: [TuiSelectOptionComponent] });
|
|
99
|
+
TuiSelectOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSelectOptionModule, imports: [[CommonModule, TuiSvgModule, TuiScrollIntoViewModule]] });
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSelectOptionModule, decorators: [{
|
|
101
101
|
type: NgModule,
|
|
102
102
|
args: [{
|
|
103
103
|
imports: [CommonModule, TuiSvgModule, TuiScrollIntoViewModule],
|