@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-input-count.js","sources":["../../../projects/kit/components/input-count/input-count-options.ts","../../../projects/kit/components/input-count/input-count.component.ts","../../../projects/kit/components/input-count/input-count.template.html","../../../projects/kit/components/input-count/input-count.directive.ts","../../../projects/kit/components/input-count/input-count.module.ts","../../../projects/kit/components/input-count/taiga-ui-kit-components-input-count.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputCountOptions {\n readonly icons: Readonly<{\n up: PolymorpheusContent<Record<string, unknown>>;\n down: PolymorpheusContent<Record<string, unknown>>;\n }>;\n readonly appearance: string;\n readonly hideButtons: boolean;\n readonly min: number;\n readonly max: number;\n readonly step: number;\n readonly postfix: string;\n}\n\n/** Default values for the input count options. */\nexport const TUI_INPUT_COUNT_DEFAULT_OPTIONS: TuiInputCountOptions = {\n icons: {\n up: `tuiIconPlus`,\n down: `tuiIconMinus`,\n },\n appearance: `textfield`,\n hideButtons: false,\n min: 0,\n max: Number.MAX_SAFE_INTEGER,\n step: 1,\n postfix: ``,\n};\n\nexport const TUI_INPUT_COUNT_OPTIONS = new InjectionToken<TuiInputCountOptions>(\n `[TUI_INPUT_COUNT_OPTIONS]: Default parameters for input count component`,\n {\n factory: () => TUI_INPUT_COUNT_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiInputCountOptionsProvider: (\n options: Partial<TuiInputCountOptions>,\n) => ValueProvider = (options: Partial<TuiInputCountOptions>) => ({\n provide: TUI_INPUT_COUNT_OPTIONS,\n useValue: {...TUI_INPUT_COUNT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n TUI_IS_MOBILE,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n tuiClamp,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiIsNativeFocused,\n tuiIsPresent,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n TUI_NUMBER_FORMAT,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_SIZE,\n tuiCreateNumberMask,\n tuiFormatNumber,\n TuiNumberFormatSettings,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldSizeDirective,\n TuiTextMaskOptions,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TUI_PLUS_MINUS_TEXTS} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TUI_INPUT_COUNT_OPTIONS, TuiInputCountOptions} from './input-count-options';\n\n@Component({\n selector: 'tui-input-count',\n templateUrl: './input-count.template.html',\n styleUrls: ['./input-count.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputCountComponent),\n tuiAsControl(TuiInputCountComponent),\n ],\n})\nexport class TuiInputCountComponent\n extends AbstractTuiNullableControl<number>\n implements TuiWithOptionalMinMax<number>, TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly primitiveTextfield?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n @tuiDefaultProp()\n step = this.options.step;\n\n @Input()\n @tuiDefaultProp()\n min = this.options.min;\n\n @Input()\n @tuiDefaultProp()\n max = this.options.max;\n\n @Input()\n @tuiDefaultProp()\n hideButtons = this.options.hideButtons;\n\n /** @deprecated use `tuiTextfieldPrefix` from {@link TuiTextfieldControllerModule} instead */\n @Input()\n @tuiDefaultProp()\n prefix = '';\n\n /** @deprecated use `tuiTextfieldPostfix` from {@link TuiTextfieldControllerModule} instead */\n @Input()\n @tuiDefaultProp()\n postfix = this.options.postfix;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_APPEARANCE)\n private readonly appearance: string,\n @Inject(TUI_TEXTFIELD_SIZE)\n private readonly textfieldSize: TuiTextfieldSizeDirective,\n @Inject(TUI_PLUS_MINUS_TEXTS)\n readonly minusTexts$: Observable<[string, string]>,\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n @Inject(TUI_INPUT_COUNT_OPTIONS)\n readonly options: TuiInputCountOptions,\n @Inject(TUI_NUMBER_FORMAT)\n private readonly numberFormat: TuiNumberFormatSettings,\n ) {\n super(control, changeDetectorRef);\n }\n\n @tuiPure\n getMask(allowNegative: boolean): TuiTextMaskOptions {\n return {\n mask: tuiCreateNumberMask({\n allowNegative,\n decimalSymbol: this.numberFormat.decimalSeparator,\n thousandSymbol: this.numberFormat.thousandSeparator,\n }),\n guide: false,\n };\n }\n\n @HostBinding('class._hide-buttons')\n get buttonsHidden(): boolean {\n return this.hideButtons || this.appearance === 'table';\n }\n\n get iconUp(): PolymorpheusContent<Record<string, unknown>> {\n return this.options.icons.up;\n }\n\n get iconDown(): PolymorpheusContent<Record<string, unknown>> {\n return this.options.icons.down;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return !this.primitiveTextfield || this.computedDisabled\n ? null\n : this.primitiveTextfield.nativeFocusableElement;\n }\n\n @HostBinding('attr.data-size')\n get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n get focused(): boolean {\n return tuiIsNativeFocused(this.nativeFocusableElement);\n }\n\n get exampleText(): string {\n return String(this.min);\n }\n\n get computedValue(): string {\n return this.focused ? this.nativeValue : this.formatNumber(this.value);\n }\n\n get minusButtonDisabled(): boolean {\n return !this.interactive || (tuiIsPresent(this.value) && this.value <= this.min);\n }\n\n get plusButtonDisabled(): boolean {\n return !this.interactive || (tuiIsPresent(this.value) && this.value >= this.max);\n }\n\n onButtonMouseDown(event: MouseEvent, disabled: boolean = false): void {\n if (disabled || !this.nativeFocusableElement || this.isMobile) {\n return;\n }\n\n event.preventDefault();\n this.nativeFocusableElement.focus();\n }\n\n onFocused(focused: boolean): void {\n if (!focused) {\n this.onBlur();\n }\n\n this.updateFocused(focused);\n }\n\n onValueChange(): void {\n const capped = this.capValue(this.nativeNumberValue);\n\n if (this.isNotNumber(capped)) {\n this.updateValue(null);\n\n return;\n }\n\n const newValue = this.formatNumber(capped);\n\n if (this.nativeValue !== newValue) {\n this.nativeValue = newValue;\n }\n\n this.updateValue(capped);\n }\n\n decreaseValue(): void {\n if (this.readOnly) {\n return;\n }\n\n const newValue = (this.value || 0) - this.step;\n\n this.safeUpdateValue(newValue);\n }\n\n increaseValue(): void {\n if (this.readOnly) {\n return;\n }\n\n const newValue = (this.value || 0) + this.step;\n\n this.safeUpdateValue(newValue);\n }\n\n onKeydown(event: KeyboardEvent): void {\n switch (event.key) {\n case 'ArrowUp':\n case 'Up':\n this.increaseValue();\n event.preventDefault();\n break;\n case 'ArrowDown':\n case 'Down':\n this.decreaseValue();\n event.preventDefault();\n break;\n default:\n break;\n }\n }\n\n private get nativeNumberValue(): number {\n return parseInt(\n this.nativeValue.split(this.numberFormat.thousandSeparator).join(''),\n 10,\n );\n }\n\n private get nativeValue(): string {\n return this.nativeFocusableElement ? this.nativeFocusableElement.value : '';\n }\n\n private set nativeValue(value: string) {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n this.nativeFocusableElement.value = value;\n }\n\n private safeUpdateValue(newValue: number): void {\n const value = tuiClamp(newValue, this.min, this.max);\n\n this.updateValue(value);\n this.nativeValue = this.formatNumber(value);\n }\n\n private capValue(value: number): number | null {\n const capped = Math.min(value, this.max);\n\n return Number.isNaN(capped) || capped < this.min ? null : capped;\n }\n\n private onBlur(): void {\n if (this.isNotNumber(this.value)) {\n this.updateValue(null);\n\n return;\n }\n\n const value = Math.max(this.nativeNumberValue || 0, this.min);\n const formattedValue = this.formatNumber(value);\n\n this.nativeValue = formattedValue;\n this.updateValue(value);\n\n if (this.primitiveTextfield) {\n this.primitiveTextfield.value = formattedValue;\n }\n }\n\n private formatNumber(value: number | null): string {\n return this.isNotNumber(value) ? '' : tuiFormatNumber(value, this.numberFormat);\n }\n\n private isNotNumber(value: number | null): value is null {\n return Number.isNaN(value) || !tuiIsPresent(value);\n }\n}\n","<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [focusable]=\"focusable\"\n [nativeId]=\"nativeId\"\n [prefix]=\"prefix\"\n [postfix]=\"postfix\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [textMask]=\"getMask(min < 0)\"\n [invalid]=\"computedInvalid\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange()\"\n (keydown)=\"onKeydown($event)\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n</tui-primitive-textfield>\n<ng-container *ngIf=\"!buttonsHidden\">\n <ng-container *ngIf=\"minusTexts$ | async as texts\">\n <section class=\"t-buttons\">\n <button\n tuiIconButton\n type=\"button\"\n automation-id=\"tui-input-count__plus-button\"\n size=\"s\"\n class=\"t-button t-button_plus\"\n [icon]=\"iconUp\"\n [appearance]=\"options.appearance\"\n [title]=\"texts[0]\"\n [disabled]=\"plusButtonDisabled\"\n [focusable]=\"false\"\n (mousedown)=\"onButtonMouseDown($event, plusButtonDisabled)\"\n (click)=\"increaseValue()\"\n ></button>\n <button\n tuiIconButton\n type=\"button\"\n automation-id=\"tui-input-count__minus-button\"\n size=\"s\"\n class=\"t-button t-button_minus\"\n [icon]=\"iconDown\"\n [appearance]=\"options.appearance\"\n [disabled]=\"minusButtonDisabled\"\n [focusable]=\"false\"\n [title]=\"texts[1]\"\n (mousedown)=\"onButtonMouseDown($event, minusButtonDisabled)\"\n (click)=\"decreaseValue()\"\n ></button>\n </section>\n </ng-container>\n</ng-container>\n","import {AfterViewInit, Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost, tuiAsTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputCountComponent} from './input-count.component';\n\n@Directive({\n selector: 'tui-input-count',\n providers: [tuiAsTextfieldHost(TuiInputCountDirective)],\n})\nexport class TuiInputCountDirective\n extends AbstractTuiTextfieldHost<TuiInputCountComponent>\n implements AfterViewInit\n{\n onValueChange(): void {\n this.host.onValueChange();\n }\n\n ngAfterViewInit(): void {\n if (this.host.nativeFocusableElement) {\n const {nativeFocusableElement} = this.host;\n\n nativeFocusableElement.autocomplete = 'off';\n nativeFocusableElement.inputMode = 'numeric';\n nativeFocusableElement.maxLength =\n nativeFocusableElement.maxLength > -1\n ? nativeFocusableElement.maxLength\n : 18;\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiButtonModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TextMaskModule, TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputCountComponent} from './input-count.component';\nimport {TuiInputCountDirective} from './input-count.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TextMaskModule,\n TuiButtonModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n PolymorpheusModule,\n ],\n declarations: [TuiInputCountComponent, TuiInputCountDirective],\n exports: [TuiInputCountComponent, TuiInputCountDirective, TuiTextfieldComponent],\n})\nexport class TuiInputCountModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAgBA;AACa,MAAA,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QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAHb,YAAA,EAAA,CAAA,sBAAsB,EAAE,sBAAsB,aARzD,YAAY;QACZ,cAAc;QACd,eAAe;QACf,2BAA2B;QAC3B,4BAA4B;QAC5B,sBAAsB;AACtB,QAAA,kBAAkB,CAGZ,EAAA,OAAA,EAAA,CAAA,sBAAsB,EAAE,sBAAsB,EAAE,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAEtE,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAZnB,OAAA,EAAA,CAAA;YACL,YAAY;YACZ,cAAc;YACd,eAAe;YACf,2BAA2B;YAC3B,4BAA4B;YAC5B,sBAAsB;YACtB,kBAAkB;AACrB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAIQ,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAb/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,cAAc;wBACd,eAAe;wBACf,2BAA2B;wBAC3B,4BAA4B;wBAC5B,sBAAsB;wBACtB,kBAAkB;AACrB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,sBAAsB,EAAE,sBAAsB,CAAC;AAC9D,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,sBAAsB,EAAE,qBAAqB,CAAC;AACnF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-input-count.js","sources":["../../../projects/kit/components/input-count/input-count-options.ts","../../../projects/kit/components/input-count/input-count.component.ts","../../../projects/kit/components/input-count/input-count.template.html","../../../projects/kit/components/input-count/input-count.directive.ts","../../../projects/kit/components/input-count/input-count.module.ts","../../../projects/kit/components/input-count/taiga-ui-kit-components-input-count.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputCountOptions {\n readonly icons: Readonly<{\n up: PolymorpheusContent<Record<string, unknown>>;\n down: PolymorpheusContent<Record<string, unknown>>;\n }>;\n readonly appearance: string;\n readonly hideButtons: boolean;\n readonly min: number;\n readonly max: number;\n readonly step: number;\n readonly postfix: string;\n}\n\n/** Default values for the input count options. */\nexport const TUI_INPUT_COUNT_DEFAULT_OPTIONS: TuiInputCountOptions = {\n icons: {\n up: `tuiIconPlus`,\n down: `tuiIconMinus`,\n },\n appearance: `textfield`,\n hideButtons: false,\n min: 0,\n max: Number.MAX_SAFE_INTEGER,\n step: 1,\n postfix: ``,\n};\n\nexport const TUI_INPUT_COUNT_OPTIONS = new InjectionToken<TuiInputCountOptions>(\n `[TUI_INPUT_COUNT_OPTIONS]: Default parameters for input count component`,\n {\n factory: () => TUI_INPUT_COUNT_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiInputCountOptionsProvider: (\n options: Partial<TuiInputCountOptions>,\n) => ValueProvider = (options: Partial<TuiInputCountOptions>) => ({\n provide: TUI_INPUT_COUNT_OPTIONS,\n useValue: {...TUI_INPUT_COUNT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n TUI_IS_MOBILE,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n tuiClamp,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiIsNativeFocused,\n tuiIsPresent,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_NUMBER_FORMAT,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n tuiCreateNumberMask,\n tuiFormatNumber,\n TuiNumberFormatSettings,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldController,\n TuiTextMaskOptions,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TUI_PLUS_MINUS_TEXTS} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TUI_INPUT_COUNT_OPTIONS, TuiInputCountOptions} from './input-count-options';\n\n@Component({\n selector: 'tui-input-count',\n templateUrl: './input-count.template.html',\n styleUrls: ['./input-count.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputCountComponent),\n tuiAsControl(TuiInputCountComponent),\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiInputCountComponent\n extends AbstractTuiNullableControl<number>\n implements TuiWithOptionalMinMax<number>, TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly primitiveTextfield?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n @tuiDefaultProp()\n step = this.options.step;\n\n @Input()\n @tuiDefaultProp()\n min = this.options.min;\n\n @Input()\n @tuiDefaultProp()\n max = this.options.max;\n\n @Input()\n @tuiDefaultProp()\n hideButtons = this.options.hideButtons;\n\n /** @deprecated use `tuiTextfieldPrefix` from {@link TuiTextfieldControllerModule} instead */\n @Input()\n @tuiDefaultProp()\n prefix = '';\n\n /** @deprecated use `tuiTextfieldPostfix` from {@link TuiTextfieldControllerModule} instead */\n @Input()\n @tuiDefaultProp()\n postfix = this.options.postfix;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n private readonly textfieldController: TuiTextfieldController,\n @Inject(TUI_PLUS_MINUS_TEXTS)\n readonly minusTexts$: Observable<[string, string]>,\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n @Inject(TUI_INPUT_COUNT_OPTIONS)\n readonly options: TuiInputCountOptions,\n @Inject(TUI_NUMBER_FORMAT)\n private readonly numberFormat: TuiNumberFormatSettings,\n ) {\n super(control, changeDetectorRef);\n }\n\n @tuiPure\n getMask(allowNegative: boolean): TuiTextMaskOptions {\n return {\n mask: tuiCreateNumberMask({\n allowNegative,\n decimalSymbol: this.numberFormat.decimalSeparator,\n thousandSymbol: this.numberFormat.thousandSeparator,\n }),\n guide: false,\n };\n }\n\n @HostBinding('class._hide-buttons')\n get buttonsHidden(): boolean {\n return this.hideButtons || this.textfieldController.appearance === 'table';\n }\n\n get iconUp(): PolymorpheusContent<Record<string, unknown>> {\n return this.options.icons.up;\n }\n\n get iconDown(): PolymorpheusContent<Record<string, unknown>> {\n return this.options.icons.down;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return !this.primitiveTextfield || this.computedDisabled\n ? null\n : this.primitiveTextfield.nativeFocusableElement;\n }\n\n @HostBinding('attr.data-size')\n get size(): TuiSizeL | TuiSizeS {\n return this.textfieldController.size;\n }\n\n get focused(): boolean {\n return tuiIsNativeFocused(this.nativeFocusableElement);\n }\n\n get exampleText(): string {\n return String(this.min);\n }\n\n get computedValue(): string {\n return this.focused ? this.nativeValue : this.formatNumber(this.value);\n }\n\n get minusButtonDisabled(): boolean {\n return !this.interactive || (tuiIsPresent(this.value) && this.value <= this.min);\n }\n\n get plusButtonDisabled(): boolean {\n return !this.interactive || (tuiIsPresent(this.value) && this.value >= this.max);\n }\n\n onButtonMouseDown(event: MouseEvent, disabled: boolean = false): void {\n if (disabled || !this.nativeFocusableElement || this.isMobile) {\n return;\n }\n\n event.preventDefault();\n this.nativeFocusableElement.focus();\n }\n\n onFocused(focused: boolean): void {\n if (!focused) {\n this.onBlur();\n }\n\n this.updateFocused(focused);\n }\n\n onValueChange(): void {\n const capped = this.capValue(this.nativeNumberValue);\n\n if (this.isNotNumber(capped)) {\n this.updateValue(null);\n\n return;\n }\n\n const newValue = this.formatNumber(capped);\n\n if (this.nativeValue !== newValue) {\n this.nativeValue = newValue;\n }\n\n this.updateValue(capped);\n }\n\n decreaseValue(): void {\n if (this.readOnly) {\n return;\n }\n\n const newValue = (this.value || 0) - this.step;\n\n this.safeUpdateValue(newValue);\n }\n\n increaseValue(): void {\n if (this.readOnly) {\n return;\n }\n\n const newValue = (this.value || 0) + this.step;\n\n this.safeUpdateValue(newValue);\n }\n\n onKeydown(event: KeyboardEvent): void {\n switch (event.key) {\n case 'ArrowUp':\n case 'Up':\n this.increaseValue();\n event.preventDefault();\n break;\n case 'ArrowDown':\n case 'Down':\n this.decreaseValue();\n event.preventDefault();\n break;\n default:\n break;\n }\n }\n\n private get nativeNumberValue(): number {\n return parseInt(\n this.nativeValue.split(this.numberFormat.thousandSeparator).join(''),\n 10,\n );\n }\n\n private get nativeValue(): string {\n return this.nativeFocusableElement ? this.nativeFocusableElement.value : '';\n }\n\n private set nativeValue(value: string) {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n this.nativeFocusableElement.value = value;\n }\n\n private safeUpdateValue(newValue: number): void {\n const value = tuiClamp(newValue, this.min, this.max);\n\n this.updateValue(value);\n this.nativeValue = this.formatNumber(value);\n }\n\n private capValue(value: number): number | null {\n const capped = Math.min(value, this.max);\n\n return Number.isNaN(capped) || capped < this.min ? null : capped;\n }\n\n private onBlur(): void {\n if (this.isNotNumber(this.value)) {\n this.updateValue(null);\n\n return;\n }\n\n const value = Math.max(this.nativeNumberValue || 0, this.min);\n const formattedValue = this.formatNumber(value);\n\n this.nativeValue = formattedValue;\n this.updateValue(value);\n\n if (this.primitiveTextfield) {\n this.primitiveTextfield.value = formattedValue;\n }\n }\n\n private formatNumber(value: number | null): string {\n return this.isNotNumber(value) ? '' : tuiFormatNumber(value, this.numberFormat);\n }\n\n private isNotNumber(value: number | null): value is null {\n return Number.isNaN(value) || !tuiIsPresent(value);\n }\n}\n","<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [focusable]=\"focusable\"\n [nativeId]=\"nativeId\"\n [prefix]=\"prefix\"\n [postfix]=\"postfix\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [textMask]=\"getMask(min < 0)\"\n [invalid]=\"computedInvalid\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange()\"\n (keydown)=\"onKeydown($event)\"\n (focusedChange)=\"onFocused($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n</tui-primitive-textfield>\n<ng-container *ngIf=\"!buttonsHidden\">\n <ng-container *ngIf=\"minusTexts$ | async as texts\">\n <section class=\"t-buttons\">\n <button\n tuiIconButton\n type=\"button\"\n automation-id=\"tui-input-count__plus-button\"\n size=\"s\"\n class=\"t-button t-button_plus\"\n [icon]=\"iconUp\"\n [appearance]=\"options.appearance\"\n [title]=\"texts[0]\"\n [disabled]=\"plusButtonDisabled\"\n [focusable]=\"false\"\n (mousedown)=\"onButtonMouseDown($event, plusButtonDisabled)\"\n (click)=\"increaseValue()\"\n ></button>\n <button\n tuiIconButton\n type=\"button\"\n automation-id=\"tui-input-count__minus-button\"\n size=\"s\"\n class=\"t-button t-button_minus\"\n [icon]=\"iconDown\"\n [appearance]=\"options.appearance\"\n [disabled]=\"minusButtonDisabled\"\n [focusable]=\"false\"\n [title]=\"texts[1]\"\n (mousedown)=\"onButtonMouseDown($event, minusButtonDisabled)\"\n (click)=\"decreaseValue()\"\n ></button>\n </section>\n </ng-container>\n</ng-container>\n","import {AfterViewInit, Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost, tuiAsTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputCountComponent} from './input-count.component';\n\n@Directive({\n selector: 'tui-input-count',\n providers: [tuiAsTextfieldHost(TuiInputCountDirective)],\n})\nexport class TuiInputCountDirective\n extends AbstractTuiTextfieldHost<TuiInputCountComponent>\n implements AfterViewInit\n{\n onValueChange(): void {\n this.host.onValueChange();\n }\n\n ngAfterViewInit(): void {\n if (this.host.nativeFocusableElement) {\n const {nativeFocusableElement} = this.host;\n\n nativeFocusableElement.autocomplete = 'off';\n nativeFocusableElement.inputMode = 'numeric';\n nativeFocusableElement.maxLength =\n nativeFocusableElement.maxLength > -1\n ? nativeFocusableElement.maxLength\n : 18;\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiButtonModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TextMaskModule, TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputCountComponent} from './input-count.component';\nimport {TuiInputCountDirective} from './input-count.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TextMaskModule,\n TuiButtonModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n PolymorpheusModule,\n ],\n declarations: [TuiInputCountComponent, TuiInputCountDirective],\n exports: [TuiInputCountComponent, TuiInputCountDirective, TuiTextfieldComponent],\n})\nexport class TuiInputCountModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAgBA;AACa,MAAA,+BAA+B,GAAyB;AACjE,IAAA,KAAK,EAAE;AACH,QAAA,EAAE,EAAE,CAAa,WAAA,CAAA;AACjB,QAAA,IAAI,EAAE,CAAc,YAAA,CAAA;AACvB,KAAA;AACD,IAAA,UAAU,EAAE,CAAW,SAAA,CAAA;AACvB,IAAA,WAAW,EAAE,KAAK;AAClB,IAAA,GAAG,EAAE,CAAC;IACN,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qB,CAAA,EAAA,CAAA,CAAA;AAEtE,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAZnB,OAAA,EAAA,CAAA;YACL,YAAY;YACZ,cAAc;YACd,eAAe;YACf,2BAA2B;YAC3B,4BAA4B;YAC5B,sBAAsB;YACtB,kBAAkB;AACrB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAIQ,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAb/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,cAAc;wBACd,eAAe;wBACf,2BAA2B;wBAC3B,4BAA4B;wBAC5B,sBAAsB;wBACtB,kBAAkB;AACrB,qBAAA;AACD,oBAAA,YAAY,EAAE,CAAC,sBAAsB,EAAE,sBAAsB,CAAC;AAC9D,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,sBAAsB,EAAE,qBAAqB,CAAC;AACnF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
|
@@ -218,8 +218,8 @@ class TuiInputDateRangeComponent extends AbstractTuiNullableControl {
|
|
|
218
218
|
return `${dateFiller}${RANGE_SEPARATOR_CHAR}${dateFiller}`;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
TuiInputDateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
222
|
-
TuiInputDateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
221
|
+
TuiInputDateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateRangeComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: Injector }, { token: TUI_IS_MOBILE }, { token: TuiDialogService }, { token: TUI_MOBILE_CALENDAR, optional: true }, { token: TUI_TEXTFIELD_SIZE }, { token: TUI_DATE_FORMAT }, { token: TUI_DATE_SEPARATOR }, { token: TUI_DATE_TEXTS }, { token: TUI_DATE_RANGE_VALUE_TRANSFORMER, optional: true }, { token: TUI_INPUT_DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
222
|
+
TuiInputDateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateRangeComponent, selector: "tui-input-date-range", inputs: { disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", defaultViewedMonth: "defaultViewedMonth", items: "items", min: "min", max: "max", minLength: "minLength", maxLength: "maxLength" }, host: { listeners: { "click": "onClick()" } }, providers: [
|
|
223
223
|
tuiAsFocusableItemAccessor(TuiInputDateRangeComponent),
|
|
224
224
|
tuiAsControl(TuiInputDateRangeComponent),
|
|
225
225
|
tuiDateStreamWithTransformer(TUI_DATE_RANGE_VALUE_TRANSFORMER),
|
|
@@ -248,7 +248,7 @@ __decorate([
|
|
|
248
248
|
__decorate([
|
|
249
249
|
tuiDefaultProp()
|
|
250
250
|
], TuiInputDateRangeComponent.prototype, "maxLength", void 0);
|
|
251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateRangeComponent, decorators: [{
|
|
252
252
|
type: Component,
|
|
253
253
|
args: [{
|
|
254
254
|
selector: 'tui-input-date-range',
|
|
@@ -345,9 +345,9 @@ class TuiInputDateRangeDirective extends AbstractTuiTextfieldHost {
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
TuiInputDateRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
349
|
-
TuiInputDateRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
348
|
+
TuiInputDateRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateRangeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
349
|
+
TuiInputDateRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateRangeDirective, selector: "tui-input-date-range", providers: [tuiAsTextfieldHost(TuiInputDateRangeDirective)], usesInheritance: true, ngImport: i0 });
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateRangeDirective, decorators: [{
|
|
351
351
|
type: Directive,
|
|
352
352
|
args: [{
|
|
353
353
|
selector: 'tui-input-date-range',
|
|
@@ -357,8 +357,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
357
357
|
|
|
358
358
|
class TuiInputDateRangeModule {
|
|
359
359
|
}
|
|
360
|
-
TuiInputDateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
361
|
-
TuiInputDateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
360
|
+
TuiInputDateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
361
|
+
TuiInputDateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateRangeModule, declarations: [TuiInputDateRangeComponent, TuiInputDateRangeDirective], imports: [CommonModule,
|
|
362
362
|
TextMaskModule,
|
|
363
363
|
TuiActiveZoneModule,
|
|
364
364
|
TuiLetModule,
|
|
@@ -372,7 +372,7 @@ TuiInputDateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
372
372
|
TuiValueAccessorModule], exports: [TuiInputDateRangeComponent,
|
|
373
373
|
TuiInputDateRangeDirective,
|
|
374
374
|
TuiTextfieldComponent] });
|
|
375
|
-
TuiInputDateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
375
|
+
TuiInputDateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateRangeModule, imports: [[
|
|
376
376
|
CommonModule,
|
|
377
377
|
TextMaskModule,
|
|
378
378
|
TuiActiveZoneModule,
|
|
@@ -386,7 +386,7 @@ TuiInputDateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
386
386
|
TuiCalendarRangeModule,
|
|
387
387
|
TuiValueAccessorModule,
|
|
388
388
|
]] });
|
|
389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateRangeModule, decorators: [{
|
|
390
390
|
type: NgModule,
|
|
391
391
|
args: [{
|
|
392
392
|
imports: [
|
|
@@ -200,8 +200,8 @@ class TuiInputDateTimeComponent extends AbstractTuiControl {
|
|
|
200
200
|
return TuiTime.fromAbsoluteMilliseconds(tuiClamp(ms, min, max));
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
TuiInputDateTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
204
|
-
TuiInputDateTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
203
|
+
TuiInputDateTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateTimeComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_TEXTFIELD_SIZE }, { token: TUI_DATE_FORMAT }, { token: TUI_DATE_SEPARATOR }, { token: TUI_TIME_TEXTS }, { token: TUI_DATE_TEXTS }, { token: TUI_DATE_TIME_VALUE_TRANSFORMER, optional: true }, { token: TUI_INPUT_DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
204
|
+
TuiInputDateTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateTimeComponent, selector: "tui-input-date-time", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYearMonth: "defaultActiveYearMonth", timeMode: "timeMode" }, host: { listeners: { "click": "onClick()" } }, providers: [
|
|
205
205
|
tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),
|
|
206
206
|
tuiAsControl(TuiInputDateTimeComponent),
|
|
207
207
|
tuiDateStreamWithTransformer(TUI_DATE_TIME_VALUE_TRANSFORMER),
|
|
@@ -227,7 +227,7 @@ __decorate([
|
|
|
227
227
|
__decorate([
|
|
228
228
|
tuiPure
|
|
229
229
|
], TuiInputDateTimeComponent.prototype, "getDateTimeString", null);
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateTimeComponent, decorators: [{
|
|
231
231
|
type: Component,
|
|
232
232
|
args: [{
|
|
233
233
|
selector: 'tui-input-date-time',
|
|
@@ -302,9 +302,9 @@ class TuiInputDateTimeDirective extends AbstractTuiTextfieldHost {
|
|
|
302
302
|
input.inputMode = 'numeric';
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
TuiInputDateTimeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
306
|
-
TuiInputDateTimeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
305
|
+
TuiInputDateTimeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateTimeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
306
|
+
TuiInputDateTimeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateTimeDirective, selector: "tui-input-date-time", providers: [tuiAsTextfieldHost(TuiInputDateTimeDirective)], usesInheritance: true, ngImport: i0 });
|
|
307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateTimeDirective, decorators: [{
|
|
308
308
|
type: Directive,
|
|
309
309
|
args: [{
|
|
310
310
|
selector: 'tui-input-date-time',
|
|
@@ -314,8 +314,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
314
314
|
|
|
315
315
|
class TuiInputDateTimeModule {
|
|
316
316
|
}
|
|
317
|
-
TuiInputDateTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
318
|
-
TuiInputDateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
317
|
+
TuiInputDateTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
318
|
+
TuiInputDateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateTimeModule, declarations: [TuiInputDateTimeComponent, TuiInputDateTimeDirective], imports: [CommonModule,
|
|
319
319
|
TextMaskModule,
|
|
320
320
|
PolymorpheusModule,
|
|
321
321
|
TuiWrapperModule,
|
|
@@ -329,7 +329,7 @@ TuiInputDateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
329
329
|
TuiTextfieldControllerModule], exports: [TuiInputDateTimeComponent,
|
|
330
330
|
TuiInputDateTimeDirective,
|
|
331
331
|
TuiTextfieldComponent] });
|
|
332
|
-
TuiInputDateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
332
|
+
TuiInputDateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateTimeModule, imports: [[
|
|
333
333
|
CommonModule,
|
|
334
334
|
TextMaskModule,
|
|
335
335
|
PolymorpheusModule,
|
|
@@ -343,7 +343,7 @@ TuiInputDateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
343
343
|
TuiValueAccessorModule,
|
|
344
344
|
TuiTextfieldControllerModule,
|
|
345
345
|
]] });
|
|
346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateTimeModule, decorators: [{
|
|
347
347
|
type: NgModule,
|
|
348
348
|
args: [{
|
|
349
349
|
imports: [
|
|
@@ -168,8 +168,8 @@ class TuiInputDateComponent extends AbstractTuiNullableControl {
|
|
|
168
168
|
return tuiNullableSame(oldValue, newValue, (a, b) => a.daySame(b));
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
TuiInputDateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
172
|
-
TuiInputDateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
171
|
+
TuiInputDateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: Injector }, { token: TUI_IS_MOBILE }, { token: TuiDialogService }, { token: TUI_MOBILE_CALENDAR, optional: true }, { token: TUI_TEXTFIELD_SIZE }, { token: TUI_DATE_FORMAT }, { token: TUI_DATE_SEPARATOR }, { token: TUI_DATE_TEXTS }, { token: TUI_DATE_VALUE_TRANSFORMER, optional: true }, { token: TUI_INPUT_DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
172
|
+
TuiInputDateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateComponent, selector: "tui-input-date", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", items: "items", defaultActiveYearMonth: "defaultActiveYearMonth" }, host: { listeners: { "click": "onClick()" } }, providers: [
|
|
173
173
|
tuiAsFocusableItemAccessor(TuiInputDateComponent),
|
|
174
174
|
tuiAsControl(TuiInputDateComponent),
|
|
175
175
|
tuiDateStreamWithTransformer(TUI_DATE_VALUE_TRANSFORMER),
|
|
@@ -192,7 +192,7 @@ __decorate([
|
|
|
192
192
|
__decorate([
|
|
193
193
|
tuiDefaultProp()
|
|
194
194
|
], TuiInputDateComponent.prototype, "defaultActiveYearMonth", void 0);
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateComponent, decorators: [{
|
|
196
196
|
type: Component,
|
|
197
197
|
args: [{
|
|
198
198
|
selector: 'tui-input-date',
|
|
@@ -280,9 +280,9 @@ class TuiInputDateDirective extends AbstractTuiTextfieldHost {
|
|
|
280
280
|
input.inputMode = 'numeric';
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
TuiInputDateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
284
|
-
TuiInputDateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
283
|
+
TuiInputDateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
284
|
+
TuiInputDateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateDirective, selector: "tui-input-date", providers: [tuiAsTextfieldHost(TuiInputDateDirective)], usesInheritance: true, ngImport: i0 });
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateDirective, decorators: [{
|
|
286
286
|
type: Directive,
|
|
287
287
|
args: [{
|
|
288
288
|
selector: 'tui-input-date',
|
|
@@ -292,8 +292,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
292
292
|
|
|
293
293
|
class TuiInputDateModule {
|
|
294
294
|
}
|
|
295
|
-
TuiInputDateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
296
|
-
TuiInputDateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
295
|
+
TuiInputDateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
296
|
+
TuiInputDateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateModule, declarations: [TuiInputDateComponent, TuiInputDateDirective], imports: [CommonModule,
|
|
297
297
|
TextMaskModule,
|
|
298
298
|
PolymorpheusModule,
|
|
299
299
|
TuiWrapperModule,
|
|
@@ -306,7 +306,7 @@ TuiInputDateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
306
306
|
TuiValueAccessorModule,
|
|
307
307
|
TuiLetModule,
|
|
308
308
|
TuiTextfieldControllerModule], exports: [TuiInputDateComponent, TuiInputDateDirective, TuiTextfieldComponent] });
|
|
309
|
-
TuiInputDateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
309
|
+
TuiInputDateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateModule, imports: [[
|
|
310
310
|
CommonModule,
|
|
311
311
|
TextMaskModule,
|
|
312
312
|
PolymorpheusModule,
|
|
@@ -321,7 +321,7 @@ TuiInputDateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
321
321
|
TuiLetModule,
|
|
322
322
|
TuiTextfieldControllerModule,
|
|
323
323
|
]] });
|
|
324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDateModule, decorators: [{
|
|
325
325
|
type: NgModule,
|
|
326
326
|
args: [{
|
|
327
327
|
imports: [
|
|
@@ -63,9 +63,9 @@ class TuiInputFilesDirective {
|
|
|
63
63
|
return this.elementRef.nativeElement;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
TuiInputFilesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
67
|
-
TuiInputFilesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
66
|
+
TuiInputFilesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputFilesDirective, deps: [{ token: TuiInputFilesComponent }, { token: ElementRef }, { token: TuiIdService }, { token: TUI_INPUT_FILES_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive });
|
|
67
|
+
TuiInputFilesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputFilesDirective, selector: "input[tuiInputFiles]", host: { attributes: { "type": "file" }, properties: { "tabIndex": "this.tabIndex", "id": "this.id", "accept": "this.accept", "multiple": "this.multiple", "capture": "this.capture" }, classAttribute: "t-native" }, ngImport: i0 });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputFilesDirective, decorators: [{
|
|
69
69
|
type: Directive,
|
|
70
70
|
args: [{
|
|
71
71
|
selector: 'input[tuiInputFiles]',
|
|
@@ -112,9 +112,9 @@ class TuiMaxSizeRejectionErrorPipe {
|
|
|
112
112
|
return combineLatest([this.inputFileTexts$, this.units$]).pipe(map(([{ maxSizeRejectionReason }, units]) => maxSizeRejectionReason + tuiFormatSize(units, maxFileSize)));
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
TuiMaxSizeRejectionErrorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
116
|
-
TuiMaxSizeRejectionErrorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
115
|
+
TuiMaxSizeRejectionErrorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaxSizeRejectionErrorPipe, deps: [{ token: TUI_INPUT_FILE_TEXTS }, { token: TUI_DIGITAL_INFORMATION_UNITS }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
116
|
+
TuiMaxSizeRejectionErrorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaxSizeRejectionErrorPipe, name: "tuiMaxSizeRejectionError" });
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMaxSizeRejectionErrorPipe, decorators: [{
|
|
118
118
|
type: Pipe,
|
|
119
119
|
args: [{ name: `tuiMaxSizeRejectionError` }]
|
|
120
120
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -272,8 +272,8 @@ class TuiInputFilesComponent extends AbstractTuiNullableControl {
|
|
|
272
272
|
this.reject.emit(this.computedMultiple ? rejectedFiles : rejectedFiles[0]);
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
TuiInputFilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
276
|
-
TuiInputFilesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
275
|
+
TuiInputFilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputFilesComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_IS_MOBILE }, { token: TUI_INPUT_FILE_TEXTS }, { token: TUI_INPUT_FILES_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
276
|
+
TuiInputFilesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputFilesComponent, selector: "tui-input-files", inputs: { link: "link", label: "label", accept: "accept", multiple: "multiple", size: "size", maxFileSize: "maxFileSize" }, outputs: { reject: "reject" }, host: { listeners: { "focusin": "onFocused(true)", "focusout": "onFocused(false)", "change": "onFilesSelected()" } }, providers: [MODE_PROVIDER, tuiAsFocusableItemAccessor(TuiInputFilesComponent)], queries: [{ propertyName: "nativeInput", first: true, predicate: TuiInputFilesDirective, descendants: true, read: TuiInputFilesDirective }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "formatRejection", first: true, predicate: ["formatRejection"], descendants: true }, { propertyName: "maxSizeRejection", first: true, predicate: ["maxSizeRejection"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n tuiWrapper\n appearance=\"input-file\"\n class=\"t-wrapper\"\n [class._mobile]=\"isMobile\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover || fileDragged || null\"\n [active]=\"pseudoActive\"\n [disabled]=\"computedDisabled\"\n>\n <label\n automation-id=\"tui-input-file__label\"\n class=\"t-label\"\n (tuiDroppableDropped)=\"onDropped($event)\"\n (tuiDroppableDragOverChange)=\"onDragOver($event)\"\n (mousedown.prevent.silent)=\"(0)\"\n >\n <a tuiLink>\n <ng-container *polymorpheusOutlet=\"computedLink$ | async as text\">\n {{ text }}\n </ng-container>\n </a>\n <ng-container *polymorpheusOutlet=\"computedLabel$ | async as text\">\n {{ text }}\n </ng-container>\n <ng-container *ngIf=\"!readOnly && !computedDisabled\">\n <ng-content select=\"input\"></ng-content>\n <input\n #input\n type=\"file\"\n class=\"t-native\"\n [id]=\"id\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n [tuiFocusable]=\"focusable\"\n />\n </ng-container>\n </label>\n</div>\n\n<ng-template #formatRejection>\n {{ (inputFileTexts$ | async)?.formatRejectionReason || '' }}\n</ng-template>\n\n<ng-template #maxSizeRejection>\n {{ maxFileSize | tuiMaxSizeRejectionError | async }}\n</ng-template>\n", styles: ["tui-input-files{display:block}tui-input-files .t-native{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}tui-input-files .t-native::-webkit-file-upload-button{display:none}tui-input-files .t-native+.t-native{display:none}tui-input-files .t-label{text-align:center}[tuiWrapper][data-appearance=input-file]{display:flex;background:transparent;font:var(--tui-font-text-m);word-wrap:break-word;color:var(--tui-text-02);flex:1;justify-content:center;align-items:center;min-height:var(--tui-height-l);border-radius:var(--tui-radius-m);padding:1rem .5rem;box-sizing:border-box}[tuiWrapper][data-appearance=input-file]:after{border:1px dashed;color:var(--tui-link)}[tuiWrapper][data-appearance=input-file]._mobile:after{border:1px solid}[tuiWrapper][data-appearance=input-file]:disabled:disabled,[tuiWrapper][data-appearance=input-file][data-state=disabled][data-state=disabled]{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiWrapper][data-appearance=input-file]:disabled:disabled:after,[tuiWrapper][data-appearance=input-file][data-state=disabled][data-state=disabled]:after{color:var(--tui-text-03)}[tuiWrapper][data-appearance=input-file]:focus-visible:focus-visible:after{border-style:solid;border-width:2px;color:var(--tui-focus)}[tuiWrapper][data-appearance=input-file]._focused._focused:after{border-style:solid;border-width:2px;color:var(--tui-focus)}[tuiWrapper][data-appearance=input-file][data-mode=onDark]{color:var(--tui-text-01-night)}[tuiWrapper][data-appearance=input-file][data-mode=onDark]:after{color:var(--tui-text-01-night)}[tuiWrapper][data-appearance=input-file][data-mode=onDark]:focus-visible:focus-visible:after{color:var(--tui-text-01-night)}[tuiWrapper][data-appearance=input-file][data-mode=onDark]._focused._focused:after{color:var(--tui-text-01-night)}@media (hover: hover){[tuiWrapper][data-appearance=input-file][data-mode=onDark]:hover:not(._no-hover),[tuiWrapper][data-appearance=input-file][data-mode=onDark][data-state=hover]{background:var(--tui-clear-inverse-hover)}[tuiWrapper][data-appearance=input-file][data-mode=onDark]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=input-file][data-mode=onDark][data-state=hover]:after{color:var(--tui-text-03-night)}}[tuiWrapper][data-appearance=input-file][data-mode=onDark]:active:not(._no-active),[tuiWrapper][data-appearance=input-file][data-mode=onDark][data-state=active],[tuiWrapper][data-appearance=input-file][data-mode=onDark][data-state=active]:hover{background:var(--tui-clear-inverse-active)}[tuiWrapper][data-appearance=input-file][data-mode=onDark]:active:not(._no-active):after,[tuiWrapper][data-appearance=input-file][data-mode=onDark][data-state=active]:after,[tuiWrapper][data-appearance=input-file][data-mode=onDark][data-state=active]:hover:after{color:var(--tui-text-03-night)}[tuiWrapper][data-appearance=input-file][data-mode=onLight]{color:var(--tui-text-01)}[tuiWrapper][data-appearance=input-file][data-mode=onLight]:after{color:var(--tui-text-01)}@media (hover: hover){[tuiWrapper][data-appearance=input-file][data-mode=onLight]:hover:not(._no-hover),[tuiWrapper][data-appearance=input-file][data-mode=onLight][data-state=hover]{background:var(--tui-clear-hover)}[tuiWrapper][data-appearance=input-file][data-mode=onLight]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=input-file][data-mode=onLight][data-state=hover]:after{color:var(--tui-text-03)}}[tuiWrapper][data-appearance=input-file][data-mode=onLight]:active:not(._no-active),[tuiWrapper][data-appearance=input-file][data-mode=onLight][data-state=active],[tuiWrapper][data-appearance=input-file][data-mode=onLight][data-state=active]:hover{background:var(--tui-clear-active)}[tuiWrapper][data-appearance=input-file][data-mode=onLight]:active:not(._no-active):after,[tuiWrapper][data-appearance=input-file][data-mode=onLight][data-state=active]:after,[tuiWrapper][data-appearance=input-file][data-mode=onLight][data-state=active]:hover:after{color:var(--tui-text-03)}@media (hover: hover){[tuiWrapper][data-appearance=input-file]:hover:not(._no-hover),[tuiWrapper][data-appearance=input-file][data-state=hover]{background:var(--tui-secondary)}[tuiWrapper][data-appearance=input-file]:hover:not(._no-hover):after,[tuiWrapper][data-appearance=input-file][data-state=hover]:after{color:var(--tui-link-hover)}}[tuiWrapper][data-appearance=input-file]:active:not(._no-active),[tuiWrapper][data-appearance=input-file][data-state=active],[tuiWrapper][data-appearance=input-file][data-state=active]:hover{background:var(--tui-secondary-hover)}\n"], components: [{ type: i1.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }], directives: [{ type: i1.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i2.TuiDroppableDirective, selector: "[tuiDroppableDropped], [tuiDroppableDragOverChange]", outputs: ["tuiDroppableDropped", "tuiDroppableDragOverChange"] }, { type: i3.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }], pipes: { "async": i4.AsyncPipe, "tuiMaxSizeRejectionError": TuiMaxSizeRejectionErrorPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
277
277
|
__decorate([
|
|
278
278
|
tuiDefaultProp()
|
|
279
279
|
], TuiInputFilesComponent.prototype, "link", void 0);
|
|
@@ -301,7 +301,7 @@ __decorate([
|
|
|
301
301
|
__decorate([
|
|
302
302
|
tuiPure
|
|
303
303
|
], TuiInputFilesComponent.prototype, "getValueArray", null);
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputFilesComponent, decorators: [{
|
|
305
305
|
type: Component,
|
|
306
306
|
args: [{
|
|
307
307
|
selector: 'tui-input-files',
|
|
@@ -369,8 +369,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
369
369
|
|
|
370
370
|
class TuiInputFilesModule {
|
|
371
371
|
}
|
|
372
|
-
TuiInputFilesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
373
|
-
TuiInputFilesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
372
|
+
TuiInputFilesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputFilesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
373
|
+
TuiInputFilesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputFilesModule, declarations: [TuiInputFilesComponent,
|
|
374
374
|
TuiInputFilesDirective,
|
|
375
375
|
TuiMaxSizeRejectionErrorPipe], imports: [CommonModule,
|
|
376
376
|
PolymorpheusModule,
|
|
@@ -392,7 +392,7 @@ TuiInputFilesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
392
392
|
TuiFilesComponent,
|
|
393
393
|
TuiFileComponent,
|
|
394
394
|
TuiItemDirective] });
|
|
395
|
-
TuiInputFilesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
395
|
+
TuiInputFilesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputFilesModule, imports: [[
|
|
396
396
|
CommonModule,
|
|
397
397
|
PolymorpheusModule,
|
|
398
398
|
TuiLetModule,
|
|
@@ -410,7 +410,7 @@ TuiInputFilesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
|
|
|
410
410
|
TuiGroupModule,
|
|
411
411
|
TuiFilesModule,
|
|
412
412
|
]] });
|
|
413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputFilesModule, decorators: [{
|
|
414
414
|
type: NgModule,
|
|
415
415
|
args: [{
|
|
416
416
|
imports: [
|
|
@@ -35,15 +35,15 @@ class TuiInputInlineComponent extends AbstractTuiControl {
|
|
|
35
35
|
return '';
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
TuiInputInlineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
39
|
-
TuiInputInlineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
38
|
+
TuiInputInlineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputInlineComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
TuiInputInlineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputInlineComponent, selector: "tui-input-inline", inputs: { maxLength: "maxLength" }, providers: [
|
|
40
40
|
TUI_VALUE_ACCESSOR_PROVIDER,
|
|
41
41
|
tuiAsFocusableItemAccessor(TuiInputInlineComponent),
|
|
42
42
|
], viewQueries: [{ propertyName: "native", first: true, predicate: ["native"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span class=\"t-before\">{{ value }}</span>\n\n<span\n *ngIf=\"!hasValue\"\n automation-id=\"tui-input-inline__placeholder\"\n class=\"t-placeholder\"\n>\n <ng-content></ng-content>\n</span>\n\n<input\n #native\n automation-id=\"tui-input-inline__native\"\n type=\"text\"\n tuiMaskAccessor\n class=\"t-native\"\n [attr.maxLength]=\"maxLength\"\n [id]=\"id\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [tuiFocusable]=\"focusable\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onValueChange($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n/>\n", styles: [":host{position:relative;display:inline-block;overflow:hidden;white-space:nowrap;box-sizing:border-box}.t-before{padding-right:.02em;margin-left:1px;visibility:hidden;white-space:pre}.t-placeholder{margin-left:-1px}.t-native{position:absolute;top:0;left:0;background-color:transparent;padding:inherit;font:inherit;color:inherit;box-sizing:border-box;width:100%;height:100%;border-width:0;text-align:inherit;letter-spacing:inherit;text-indent:inherit;text-transform:inherit;outline:none}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.TuiMaskAccessorDirective, selector: "input[tuiMaskAccessor]" }, { 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: i4.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { 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: i4.TuiFocusedDirective, selector: "[tuiFocusedChange]", outputs: ["tuiFocusedChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
43
43
|
__decorate([
|
|
44
44
|
tuiDefaultProp()
|
|
45
45
|
], TuiInputInlineComponent.prototype, "maxLength", void 0);
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputInlineComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
48
48
|
args: [{
|
|
49
49
|
selector: 'tui-input-inline',
|
|
@@ -74,20 +74,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
74
74
|
|
|
75
75
|
class TuiInputInlineModule {
|
|
76
76
|
}
|
|
77
|
-
TuiInputInlineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
78
|
-
TuiInputInlineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
77
|
+
TuiInputInlineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputInlineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
78
|
+
TuiInputInlineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputInlineModule, declarations: [TuiInputInlineComponent], imports: [CommonModule,
|
|
79
79
|
FormsModule,
|
|
80
80
|
TuiFocusableModule,
|
|
81
81
|
TuiFocusedModule,
|
|
82
82
|
TuiMaskAccessorModule], exports: [TuiInputInlineComponent] });
|
|
83
|
-
TuiInputInlineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
83
|
+
TuiInputInlineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputInlineModule, imports: [[
|
|
84
84
|
CommonModule,
|
|
85
85
|
FormsModule,
|
|
86
86
|
TuiFocusableModule,
|
|
87
87
|
TuiFocusedModule,
|
|
88
88
|
TuiMaskAccessorModule,
|
|
89
89
|
]] });
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputInlineModule, decorators: [{
|
|
91
91
|
type: NgModule,
|
|
92
92
|
args: [{
|
|
93
93
|
imports: [
|
|
@@ -81,8 +81,8 @@ class TuiInputMonthRangeComponent extends AbstractTuiNullableControl {
|
|
|
81
81
|
this.open = false;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
TuiInputMonthRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
85
|
-
TuiInputMonthRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
84
|
+
TuiInputMonthRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthRangeComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_MONTH_FORMATTER }, { token: TUI_INPUT_DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
85
|
+
TuiInputMonthRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputMonthRangeComponent, selector: "tui-input-month-range", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYear: "defaultActiveYear" }, providers: [
|
|
86
86
|
tuiAsFocusableItemAccessor(TuiInputMonthRangeComponent),
|
|
87
87
|
tuiAsControl(TuiInputMonthRangeComponent),
|
|
88
88
|
TUI_MONTH_FORMATTER_PROVIDER,
|
|
@@ -100,7 +100,7 @@ __decorate([
|
|
|
100
100
|
__decorate([
|
|
101
101
|
tuiDefaultProp()
|
|
102
102
|
], TuiInputMonthRangeComponent.prototype, "defaultActiveYear", void 0);
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthRangeComponent, decorators: [{
|
|
104
104
|
type: Component,
|
|
105
105
|
args: [{
|
|
106
106
|
selector: 'tui-input-month-range',
|
|
@@ -172,9 +172,9 @@ class TuiInputMonthRangeDirective extends AbstractTuiTextfieldHost {
|
|
|
172
172
|
this.host.onValueChange(value);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
TuiInputMonthRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
176
|
-
TuiInputMonthRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
175
|
+
TuiInputMonthRangeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthRangeDirective, deps: [{ token: AbstractTuiControl }, { token: TUI_MONTH_FORMATTER }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
176
|
+
TuiInputMonthRangeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputMonthRangeDirective, selector: "tui-input-month-range", providers: [tuiAsTextfieldHost(TuiInputMonthRangeDirective), TuiDestroyService], usesInheritance: true, ngImport: i0 });
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthRangeDirective, decorators: [{
|
|
178
178
|
type: Directive,
|
|
179
179
|
args: [{
|
|
180
180
|
selector: 'tui-input-month-range',
|
|
@@ -195,8 +195,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
195
195
|
|
|
196
196
|
class TuiInputMonthRangeModule {
|
|
197
197
|
}
|
|
198
|
-
TuiInputMonthRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
199
|
-
TuiInputMonthRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
198
|
+
TuiInputMonthRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
199
|
+
TuiInputMonthRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthRangeModule, declarations: [TuiInputMonthRangeComponent, TuiInputMonthRangeDirective], imports: [CommonModule,
|
|
200
200
|
TuiCalendarMonthModule,
|
|
201
201
|
TuiHostedDropdownModule,
|
|
202
202
|
TuiPrimitiveTextfieldModule,
|
|
@@ -207,7 +207,7 @@ TuiInputMonthRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0"
|
|
|
207
207
|
TuiTextfieldControllerModule], exports: [TuiInputMonthRangeComponent,
|
|
208
208
|
TuiInputMonthRangeDirective,
|
|
209
209
|
TuiTextfieldComponent] });
|
|
210
|
-
TuiInputMonthRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
210
|
+
TuiInputMonthRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthRangeModule, imports: [[
|
|
211
211
|
CommonModule,
|
|
212
212
|
TuiCalendarMonthModule,
|
|
213
213
|
TuiHostedDropdownModule,
|
|
@@ -218,7 +218,7 @@ TuiInputMonthRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0"
|
|
|
218
218
|
TuiMapperPipeModule,
|
|
219
219
|
TuiTextfieldControllerModule,
|
|
220
220
|
]] });
|
|
221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthRangeModule, decorators: [{
|
|
222
222
|
type: NgModule,
|
|
223
223
|
args: [{
|
|
224
224
|
imports: [
|