@taiga-ui/kit 2.39.0 → 2.41.1
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/abstract/input-slider.d.ts +27 -9
- package/abstract/slider/slider.d.ts +3 -6
- package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
- package/bundles/taiga-ui-kit-abstract.umd.js +43 -64
- package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-abstract.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +27 -5
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +3 -3
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +9 -6
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +5 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +6 -9
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +196 -164
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +10 -30
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +5 -5
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +221 -31
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +64 -8
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +38 -36
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +28 -8
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +7 -0
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
- package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
- package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
- package/components/avatar/avatar-options.d.ts +11 -0
- package/components/avatar/avatar.component.d.ts +4 -2
- package/components/avatar/index.d.ts +1 -0
- package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
- package/components/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
- package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
- package/components/calendar-range/calendar-range.component.d.ts +2 -2
- package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -1
- package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
- package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
- package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +1 -1
- package/components/data-list-wrapper/data-list-wrapper.component.d.ts +2 -2
- package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
- package/components/files/taiga-ui-kit-components-files.metadata.json +1 -1
- package/components/filter/filter.component.d.ts +1 -1
- package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
- package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
- package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
- package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
- package/components/input-date/input-date.component.d.ts +1 -1
- package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
- package/components/input-date-range/input-date-range.component.d.ts +1 -1
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
- package/components/input-file/input-file.component.d.ts +6 -6
- package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
- package/components/input-files/input-files.component.d.ts +2 -2
- package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +1 -1
- package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
- package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
- package/components/input-number/input-number.component.d.ts +2 -1
- package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
- package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
- package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
- package/components/input-phone-international/input-phone-international.component.d.ts +1 -1
- package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
- package/components/input-range/input-range.component.d.ts +44 -31
- package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
- package/components/input-slider/input-slider.component.d.ts +2 -8
- package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
- package/components/input-tag/input-tag.component.d.ts +2 -2
- package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
- package/components/input-time/input-time.component.d.ts +2 -2
- package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
- package/components/multi-select/multi-select-options.d.ts +1 -1
- package/components/multi-select/multi-select.component.d.ts +3 -3
- package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
- package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -1
- package/components/progress/progress-segmented/progress-segmented.component.d.ts +1 -1
- package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
- package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
- package/components/radio-list/radio-list.component.d.ts +1 -1
- package/components/range/index.d.ts +1 -0
- package/components/range/range-change.directive.d.ts +20 -0
- package/components/range/range.component.d.ts +33 -5
- package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
- package/components/rating/taiga-ui-kit-components-rating.metadata.json +1 -1
- package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
- package/components/slider/index.d.ts +1 -0
- package/components/slider/slider-old.component.d.ts +3 -1
- package/components/slider/slider-readonly.directive.d.ts +9 -0
- package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
- package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
- package/components/tabs/index.d.ts +0 -1
- package/components/tabs/tab/tab.component.d.ts +2 -1
- package/components/tabs/tabs/tabs.component.d.ts +3 -4
- package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +5 -2
- package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
- package/components/tag/index.d.ts +1 -0
- package/components/tag/tag-options.d.ts +12 -0
- package/components/tag/tag.component.d.ts +3 -1
- package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
- package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
- package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
- package/esm2015/abstract/input-slider.js +30 -37
- package/esm2015/abstract/slider/slider.js +13 -19
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +2 -2
- package/esm2015/components/action/action.component.js +2 -2
- package/esm2015/components/avatar/avatar-options.js +15 -0
- package/esm2015/components/avatar/avatar.component.js +14 -8
- package/esm2015/components/avatar/index.js +2 -1
- package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
- package/esm2015/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/esm2015/components/calendar-month/calendar-month.component.js +2 -2
- package/esm2015/components/calendar-range/calendar-range.component.js +1 -1
- package/esm2015/components/carousel/carousel.component.js +2 -2
- package/esm2015/components/checkbox/checkbox.component.js +1 -1
- package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +2 -2
- package/esm2015/components/combo-box/combo-box.component.js +2 -2
- package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
- package/esm2015/components/files/file/file.component.js +2 -2
- package/esm2015/components/files/files.component.js +3 -3
- package/esm2015/components/filter/filter.component.js +2 -2
- package/esm2015/components/input/input.component.js +2 -2
- package/esm2015/components/input-copy/input-copy.component.js +2 -2
- package/esm2015/components/input-count/input-count.component.js +2 -2
- package/esm2015/components/input-date/input-date.component.js +2 -2
- package/esm2015/components/input-date-range/input-date-range.component.js +2 -2
- package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
- package/esm2015/components/input-file/file/file.component.js +2 -2
- package/esm2015/components/input-file/input-file.component.js +1 -1
- package/esm2015/components/input-files/input-files.component.js +2 -2
- package/esm2015/components/input-month/input-month.component.js +2 -2
- package/esm2015/components/input-month-range/input-month-range.component.js +2 -2
- package/esm2015/components/input-number/input-number.component.js +11 -8
- package/esm2015/components/input-password/input-password.component.js +2 -2
- package/esm2015/components/input-phone/input-phone.component.js +8 -11
- package/esm2015/components/input-phone-international/input-phone-international.component.js +7 -3
- package/esm2015/components/input-range/input-range.component.js +192 -156
- package/esm2015/components/input-range/input-range.module.js +13 -15
- package/esm2015/components/input-slider/input-slider.component.js +8 -20
- package/esm2015/components/input-slider/input-slider.module.js +3 -12
- package/esm2015/components/input-tag/input-tag.component.js +6 -6
- package/esm2015/components/input-time/input-time.component.js +1 -1
- package/esm2015/components/marker-icon/marker-icon.component.js +2 -2
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +1 -1
- package/esm2015/components/multi-select/multi-select-options.js +1 -1
- package/esm2015/components/multi-select/multi-select.component.js +2 -2
- package/esm2015/components/pagination/pagination.component.js +2 -2
- package/esm2015/components/pdf-viewer/pdf-viewer.component.js +2 -2
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -2
- package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +2 -2
- package/esm2015/components/radio/radio.component.js +3 -3
- package/esm2015/components/radio-list/radio-list.component.js +1 -1
- package/esm2015/components/range/index.js +2 -1
- package/esm2015/components/range/range-change.directive.js +83 -0
- package/esm2015/components/range/range.component.js +118 -28
- package/esm2015/components/range/range.module.js +10 -7
- package/esm2015/components/rating/rating.component.js +2 -2
- package/esm2015/components/select/select.component.js +2 -2
- package/esm2015/components/slider/index.js +2 -1
- package/esm2015/components/slider/slider-key-steps.directive.js +2 -2
- package/esm2015/components/slider/slider-old.component.js +11 -5
- package/esm2015/components/slider/slider-readonly.directive.js +50 -0
- package/esm2015/components/slider/slider.component.js +4 -4
- package/esm2015/components/slider/slider.module.js +4 -1
- package/esm2015/components/stepper/step/step.component.js +2 -2
- package/esm2015/components/tabs/index.js +1 -2
- package/esm2015/components/tabs/tab/tab.component.js +13 -9
- package/esm2015/components/tabs/tabs/tabs.component.js +5 -11
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +24 -16
- package/esm2015/components/tabs/underline/underline.component.js +2 -2
- package/esm2015/components/tag/index.js +2 -1
- package/esm2015/components/tag/tag-options.js +15 -0
- package/esm2015/components/tag/tag.component.js +13 -9
- package/esm2015/components/text-area/text-area.component.js +3 -3
- package/esm2015/components/toggle/toggle.component.js +1 -1
- package/esm2015/pipes/field-error/field-error-content-pipe.js +1 -1
- package/esm2015/pipes/field-error/field-error-pipe.js +1 -1
- package/esm2015/pipes/filter-by-input/filter-by-input.base.js +1 -1
- package/esm2015/tokens/index.js +2 -1
- package/esm2015/tokens/mobile-aware.js +2 -1
- package/esm2015/tokens/tab-margin.js +5 -0
- package/esm2015/tokens/tag-status.js +2 -1
- package/esm2015/types/key-steps.js +1 -1
- package/esm2015/utils/mask/create-time-mask.js +1 -1
- package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +1 -1
- package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
- package/esm5/abstract/input-slider.js +30 -48
- package/esm5/abstract/slider/slider.js +13 -19
- package/esm5/components/accordion/accordion-item/accordion-item.component.js +2 -2
- package/esm5/components/action/action.component.js +2 -2
- package/esm5/components/avatar/avatar-options.js +16 -0
- package/esm5/components/avatar/avatar.component.js +14 -8
- package/esm5/components/avatar/index.js +2 -1
- package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
- package/esm5/components/breadcrumbs/breadcrumbs.component.js +1 -1
- package/esm5/components/calendar-month/calendar-month.component.js +2 -2
- package/esm5/components/calendar-range/calendar-range.component.js +1 -1
- package/esm5/components/carousel/carousel.component.js +2 -2
- package/esm5/components/checkbox/checkbox.component.js +1 -1
- package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +2 -2
- package/esm5/components/combo-box/combo-box.component.js +2 -2
- package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
- package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
- package/esm5/components/files/file/file.component.js +2 -2
- package/esm5/components/files/files.component.js +3 -3
- package/esm5/components/filter/filter.component.js +2 -2
- package/esm5/components/input/input.component.js +2 -2
- package/esm5/components/input-copy/input-copy.component.js +2 -2
- package/esm5/components/input-count/input-count.component.js +2 -2
- package/esm5/components/input-date/input-date.component.js +2 -2
- package/esm5/components/input-date-range/input-date-range.component.js +2 -2
- package/esm5/components/input-date-time/input-date-time.component.js +2 -2
- package/esm5/components/input-file/file/file.component.js +2 -2
- package/esm5/components/input-file/input-file.component.js +1 -1
- package/esm5/components/input-files/input-files.component.js +2 -2
- package/esm5/components/input-month/input-month.component.js +2 -2
- package/esm5/components/input-month-range/input-month-range.component.js +2 -2
- package/esm5/components/input-number/input-number.component.js +11 -8
- package/esm5/components/input-password/input-password.component.js +2 -2
- package/esm5/components/input-phone/input-phone.component.js +8 -11
- package/esm5/components/input-phone-international/input-phone-international.component.js +7 -3
- package/esm5/components/input-range/input-range.component.js +194 -157
- package/esm5/components/input-range/input-range.module.js +13 -15
- package/esm5/components/input-slider/input-slider.component.js +8 -20
- package/esm5/components/input-slider/input-slider.module.js +3 -12
- package/esm5/components/input-tag/input-tag.component.js +6 -6
- package/esm5/components/input-time/input-time.component.js +1 -1
- package/esm5/components/marker-icon/marker-icon.component.js +2 -2
- package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +1 -1
- package/esm5/components/multi-select/multi-select-options.js +1 -1
- package/esm5/components/multi-select/multi-select.component.js +2 -2
- package/esm5/components/pagination/pagination.component.js +2 -2
- package/esm5/components/pdf-viewer/pdf-viewer.component.js +2 -2
- package/esm5/components/progress/progress-circle/progress-circle.component.js +2 -2
- package/esm5/components/progress/progress-segmented/progress-segmented.component.js +2 -2
- package/esm5/components/radio/radio.component.js +3 -3
- package/esm5/components/radio-list/radio-list.component.js +1 -1
- package/esm5/components/range/index.js +2 -1
- package/esm5/components/range/range-change.directive.js +101 -0
- package/esm5/components/range/range.component.js +126 -29
- package/esm5/components/range/range.module.js +10 -7
- package/esm5/components/rating/rating.component.js +2 -2
- package/esm5/components/select/select.component.js +2 -2
- package/esm5/components/slider/index.js +2 -1
- package/esm5/components/slider/slider-key-steps.directive.js +2 -2
- package/esm5/components/slider/slider-old.component.js +11 -5
- package/esm5/components/slider/slider-readonly.directive.js +51 -0
- package/esm5/components/slider/slider.component.js +4 -4
- package/esm5/components/slider/slider.module.js +4 -1
- package/esm5/components/stepper/step/step.component.js +2 -2
- package/esm5/components/tabs/index.js +1 -2
- package/esm5/components/tabs/tab/tab.component.js +13 -9
- package/esm5/components/tabs/tabs/tabs.component.js +5 -15
- package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +27 -16
- package/esm5/components/tabs/underline/underline.component.js +2 -2
- package/esm5/components/tag/index.js +2 -1
- package/esm5/components/tag/tag-options.js +16 -0
- package/esm5/components/tag/tag.component.js +13 -9
- package/esm5/components/text-area/text-area.component.js +3 -3
- package/esm5/components/toggle/toggle.component.js +1 -1
- package/esm5/pipes/field-error/field-error-content-pipe.js +1 -1
- package/esm5/pipes/field-error/field-error-pipe.js +1 -1
- package/esm5/pipes/filter-by-input/filter-by-input.base.js +1 -1
- package/esm5/tokens/index.js +2 -1
- package/esm5/tokens/mobile-aware.js +2 -1
- package/esm5/tokens/tab-margin.js +5 -0
- package/esm5/tokens/tag-status.js +2 -1
- package/esm5/types/key-steps.js +1 -1
- package/esm5/utils/mask/create-time-mask.js +1 -1
- package/esm5/utils/miscellaneous/create-default-day-range-periods.js +1 -1
- package/esm5/utils/miscellaneous/create-time-periods.js +1 -1
- package/fesm2015/taiga-ui-kit-abstract.js +43 -55
- package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js +1 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +27 -8
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js +1 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox.js +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +3 -3
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-file.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +10 -7
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +6 -2
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +7 -10
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +198 -167
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +8 -29
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +5 -5
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +2 -2
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +2 -2
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +199 -34
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +63 -9
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +39 -34
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +27 -10
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +2 -2
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +1 -1
- package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +7 -1
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
- package/fesm5/taiga-ui-kit-abstract.js +43 -66
- package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-accordion.js +1 -1
- package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-action.js +1 -1
- package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-avatar.js +27 -8
- package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-breadcrumbs.js +1 -1
- package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-calendar-month.js +1 -1
- package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-carousel.js +1 -1
- package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +1 -1
- package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-checkbox.js +1 -1
- package/fesm5/taiga-ui-kit-components-combo-box.js +1 -1
- package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
- package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-files.js +3 -3
- package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-filter.js +1 -1
- package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-copy.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-count.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date-range.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date-time.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-file.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-files.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-month-range.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-month.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-number.js +10 -7
- package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-password.js +1 -1
- package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-phone-international.js +6 -2
- package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-phone.js +7 -10
- package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-range.js +200 -168
- package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-slider.js +8 -29
- package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-tag.js +5 -5
- package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input.js +1 -1
- package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-marker-icon.js +1 -1
- package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-multi-select.js +1 -1
- package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-pagination.js +1 -1
- package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-pdf-viewer.js +1 -1
- package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-progress.js +2 -2
- package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-radio.js +2 -2
- package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-range.js +225 -35
- package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-rating.js +1 -1
- package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-select.js +1 -1
- package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-slider.js +64 -9
- package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-stepper.js +1 -1
- package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-tabs.js +42 -38
- package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-tag.js +28 -11
- package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-text-area.js +2 -2
- package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-toggle.js +1 -1
- package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -1
- package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
- package/fesm5/taiga-ui-kit-tokens.js +7 -1
- package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
- package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
- package/package.json +4 -4
- package/pipes/field-error/field-error-content-pipe.d.ts +1 -1
- package/pipes/field-error/field-error-pipe.d.ts +1 -1
- package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -1
- package/tokens/index.d.ts +1 -0
- package/tokens/mobile-aware.d.ts +1 -0
- package/tokens/tab-margin.d.ts +2 -0
- package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
- package/types/key-steps.d.ts +1 -1
- package/utils/miscellaneous/create-default-day-range-periods.d.ts +1 -1
- package/utils/miscellaneous/create-time-periods.d.ts +1 -1
- package/components/tabs/tabs.const.d.ts +0 -2
- package/esm2015/components/tabs/tabs.const.js +0 -3
- package/esm5/components/tabs/tabs.const.js +0 -3
|
@@ -1,98 +1,125 @@
|
|
|
1
|
-
import { __extends, __decorate, __param } from 'tslib';
|
|
2
|
-
import { Optional, Self, Inject, ChangeDetectorRef, ViewChild, HostBinding, Component, ChangeDetectionStrategy, forwardRef, NgModule } from '@angular/core';
|
|
1
|
+
import { __extends, __read, __decorate, __param } from 'tslib';
|
|
2
|
+
import { Optional, Self, Inject, ChangeDetectorRef, ElementRef, ViewChildren, ViewChild, Input, HostBinding, Component, ChangeDetectionStrategy, forwardRef, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { NgControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { AbstractTuiInputSlider } from '@taiga-ui/kit/abstract';
|
|
4
|
+
import { EMPTY_QUERY, isNativeFocusedIn, isNativeFocused, round, clamp, TUI_IS_MOBILE, tuiDefaultProp, TUI_FOCUSABLE_ITEM_ACCESSOR, TuiActiveZoneModule, TuiPressedModule } from '@taiga-ui/cdk';
|
|
5
|
+
import { getFractionPartPadded, TUI_TEXTFIELD_APPEARANCE, TuiTextfieldController, TUI_TEXTFIELD_WATCHED_CONTROLLER, TEXTFIELD_CONTROLLER_PROVIDER, TuiTextfieldControllerModule, TuiWrapperModule } from '@taiga-ui/core';
|
|
6
|
+
import { quantumAssertion, AbstractTuiInputSlider } from '@taiga-ui/kit/abstract';
|
|
7
|
+
import { TuiInputNumberComponent, TuiInputNumberModule } from '@taiga-ui/kit/components/input-number';
|
|
8
|
+
import { TuiNewRangeDirective, TuiRangeComponent, TuiRangeModule } from '@taiga-ui/kit/components/range';
|
|
9
|
+
import { TUI_FLOATING_PRECISION } from '@taiga-ui/kit/constants';
|
|
7
10
|
import { CommonModule } from '@angular/common';
|
|
8
|
-
import {
|
|
9
|
-
import { TextMaskModule } from 'angular2-text-mask';
|
|
11
|
+
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
10
12
|
|
|
11
13
|
// @dynamic
|
|
12
14
|
var TuiInputRangeComponent = /** @class */ (function (_super) {
|
|
13
15
|
__extends(TuiInputRangeComponent, _super);
|
|
14
|
-
function TuiInputRangeComponent(control, changeDetectorRef,
|
|
16
|
+
function TuiInputRangeComponent(control, changeDetectorRef, isMobile, appearance, elementRef, controller, isNew) {
|
|
15
17
|
var _this = _super.call(this, control, changeDetectorRef) || this;
|
|
16
|
-
_this.modeDirective = modeDirective;
|
|
17
18
|
_this.isMobile = isMobile;
|
|
18
|
-
_this.numberFormat = numberFormat;
|
|
19
19
|
_this.appearance = appearance;
|
|
20
|
+
_this.elementRef = elementRef;
|
|
21
|
+
_this.controller = controller;
|
|
22
|
+
_this.isNew = isNew;
|
|
23
|
+
_this.inputNumberRefs = EMPTY_QUERY;
|
|
24
|
+
_this.rangeRef = null;
|
|
25
|
+
_this.min = 0;
|
|
26
|
+
/* TODO: make `100` as default value (like in native sliders) */
|
|
27
|
+
_this.max = Infinity;
|
|
28
|
+
_this.quantum = 1;
|
|
29
|
+
_this.steps = 0;
|
|
30
|
+
_this.segments = 0;
|
|
31
|
+
_this.keySteps = null;
|
|
32
|
+
_this.leftValueContent = '';
|
|
33
|
+
_this.rightValueContent = '';
|
|
34
|
+
_this.lastActiveSide = 'left';
|
|
20
35
|
return _this;
|
|
21
36
|
}
|
|
22
37
|
TuiInputRangeComponent_1 = TuiInputRangeComponent;
|
|
23
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
38
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "leftFocusableElement", {
|
|
24
39
|
get: function () {
|
|
25
|
-
|
|
40
|
+
var _a;
|
|
41
|
+
return ((_a = this.inputNumberRefs.first) === null || _a === void 0 ? void 0 : _a.nativeFocusableElement) || null;
|
|
26
42
|
},
|
|
27
43
|
enumerable: true,
|
|
28
44
|
configurable: true
|
|
29
45
|
});
|
|
30
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
46
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "rightFocusableElement", {
|
|
31
47
|
get: function () {
|
|
32
|
-
|
|
48
|
+
var _a;
|
|
49
|
+
return ((_a = this.inputNumberRefs.last) === null || _a === void 0 ? void 0 : _a.nativeFocusableElement) || null;
|
|
33
50
|
},
|
|
34
51
|
enumerable: true,
|
|
35
52
|
configurable: true
|
|
36
53
|
});
|
|
37
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
54
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "nativeFocusableElement", {
|
|
38
55
|
get: function () {
|
|
39
|
-
return
|
|
56
|
+
return this.disabled
|
|
57
|
+
? null
|
|
58
|
+
: this.leftFocusableElement || this.rightFocusableElement;
|
|
40
59
|
},
|
|
41
60
|
enumerable: true,
|
|
42
61
|
configurable: true
|
|
43
62
|
});
|
|
44
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
63
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "focused", {
|
|
45
64
|
get: function () {
|
|
46
|
-
return
|
|
65
|
+
return isNativeFocusedIn(this.elementRef.nativeElement);
|
|
47
66
|
},
|
|
48
67
|
enumerable: true,
|
|
49
68
|
configurable: true
|
|
50
69
|
});
|
|
51
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
70
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "showLeftValueContent", {
|
|
52
71
|
get: function () {
|
|
53
|
-
|
|
72
|
+
var _a;
|
|
73
|
+
return Boolean((this.minLabel || this.leftValueContent) &&
|
|
74
|
+
!isNativeFocused(this.leftFocusableElement) &&
|
|
75
|
+
!(((_a = this.rangeRef) === null || _a === void 0 ? void 0 : _a.focused) && this.lastActiveSide === 'left'));
|
|
54
76
|
},
|
|
55
77
|
enumerable: true,
|
|
56
78
|
configurable: true
|
|
57
79
|
});
|
|
58
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
80
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "showRightValueContent", {
|
|
59
81
|
get: function () {
|
|
60
|
-
|
|
82
|
+
var _a;
|
|
83
|
+
return Boolean((this.maxLabel || this.rightValueContent) &&
|
|
84
|
+
!isNativeFocused(this.rightFocusableElement) &&
|
|
85
|
+
!(((_a = this.rangeRef) === null || _a === void 0 ? void 0 : _a.focused) && this.lastActiveSide === 'right'));
|
|
61
86
|
},
|
|
62
87
|
enumerable: true,
|
|
63
88
|
configurable: true
|
|
64
89
|
});
|
|
65
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
90
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "precision", {
|
|
66
91
|
get: function () {
|
|
67
|
-
return this.
|
|
92
|
+
return getFractionPartPadded(this.quantum).length;
|
|
68
93
|
},
|
|
69
94
|
enumerable: true,
|
|
70
95
|
configurable: true
|
|
71
96
|
});
|
|
72
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
97
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "decimal", {
|
|
73
98
|
get: function () {
|
|
74
|
-
return this.
|
|
99
|
+
return this.precision ? 'not-zero' : 'never';
|
|
75
100
|
},
|
|
76
101
|
enumerable: true,
|
|
77
102
|
configurable: true
|
|
78
103
|
});
|
|
79
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
104
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "computedSteps", {
|
|
80
105
|
get: function () {
|
|
81
|
-
return this.
|
|
106
|
+
return this.steps || (this.max - this.min) / this.quantum;
|
|
82
107
|
},
|
|
83
108
|
enumerable: true,
|
|
84
109
|
configurable: true
|
|
85
110
|
});
|
|
86
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
111
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "computedSize", {
|
|
87
112
|
get: function () {
|
|
88
|
-
return this.
|
|
113
|
+
return this.isNew && this.controller.size !== 's'
|
|
114
|
+
? this.controller.size
|
|
115
|
+
: this.size;
|
|
89
116
|
},
|
|
90
117
|
enumerable: true,
|
|
91
118
|
configurable: true
|
|
92
119
|
});
|
|
93
|
-
Object.defineProperty(TuiInputRangeComponent.prototype, "
|
|
120
|
+
Object.defineProperty(TuiInputRangeComponent.prototype, "legacyLabelOutside", {
|
|
94
121
|
get: function () {
|
|
95
|
-
return this.
|
|
122
|
+
return this.isNew ? this.controller.labelOutside : this.computedSize === 'm';
|
|
96
123
|
},
|
|
97
124
|
enumerable: true,
|
|
98
125
|
configurable: true
|
|
@@ -100,186 +127,194 @@ var TuiInputRangeComponent = /** @class */ (function (_super) {
|
|
|
100
127
|
TuiInputRangeComponent.prototype.onActiveZone = function (active) {
|
|
101
128
|
this.updateFocused(active);
|
|
102
129
|
};
|
|
103
|
-
TuiInputRangeComponent.prototype.
|
|
104
|
-
if (
|
|
105
|
-
setNativeFocused(this.nativeRight.nativeElement);
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
TuiInputRangeComponent.prototype.onKeyDownArrowUpLeft = function (event) {
|
|
109
|
-
if (this.readOnly) {
|
|
130
|
+
TuiInputRangeComponent.prototype.onTextInputFocused = function (focused, right) {
|
|
131
|
+
if (focused) {
|
|
110
132
|
return;
|
|
111
133
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
return;
|
|
134
|
+
var _a = __read(this.inputNumberRefs, 2), leftTextInputRef = _a[0], rightTextInputRef = _a[1];
|
|
135
|
+
var inputRef = right ? rightTextInputRef : leftTextInputRef;
|
|
136
|
+
var valueIndex = right ? 1 : 0;
|
|
137
|
+
if (!inputRef.nativeValue || inputRef.value !== this.value[valueIndex]) {
|
|
138
|
+
this.updateTextInputValue(this.safeCurrentValue[valueIndex], right);
|
|
118
139
|
}
|
|
119
|
-
event.preventDefault();
|
|
120
|
-
this.processStep(false, false);
|
|
121
140
|
};
|
|
122
|
-
TuiInputRangeComponent.prototype.
|
|
141
|
+
TuiInputRangeComponent.prototype.changeByStep = function (event, _a) {
|
|
142
|
+
var _b = __read(_a, 2), leftCoefficient = _b[0], rightCoefficient = _b[1];
|
|
123
143
|
if (this.readOnly) {
|
|
124
144
|
return;
|
|
125
145
|
}
|
|
126
146
|
event.preventDefault();
|
|
127
|
-
this.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
147
|
+
var newValue = this.valueGuard([
|
|
148
|
+
this.value[0] + leftCoefficient * this.step,
|
|
149
|
+
this.value[1] + rightCoefficient * this.step,
|
|
150
|
+
]);
|
|
151
|
+
var leftValueChanged = newValue[0] !== this.value[0];
|
|
152
|
+
var rightValueChanged = newValue[1] !== this.value[1];
|
|
153
|
+
if (leftValueChanged || rightValueChanged) {
|
|
154
|
+
this.safelyUpdateValue(newValue);
|
|
155
|
+
this.updateTextInputValue(newValue[rightValueChanged ? 1 : 0], rightValueChanged);
|
|
132
156
|
}
|
|
133
|
-
event.preventDefault();
|
|
134
|
-
this.processStep(false, true);
|
|
135
157
|
};
|
|
136
|
-
TuiInputRangeComponent.prototype.onInputLeft = function () {
|
|
137
|
-
|
|
138
|
-
var capped = this.capInputValue(value, this.value[1]);
|
|
139
|
-
var postfix = value.slice(-1)[0] === ',' ? ',' : '';
|
|
140
|
-
if (maskedMoneyValueIsEmpty(value) || capped === null) {
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
var newValue = this.formatNumber(capped) + postfix;
|
|
144
|
-
if (this.nativeLeft && this.inputValueLeft !== newValue) {
|
|
145
|
-
this.nativeLeft.nativeElement.value = newValue;
|
|
146
|
-
}
|
|
147
|
-
this.updateValue([capped, this.value[1]]);
|
|
158
|
+
TuiInputRangeComponent.prototype.onInputLeft = function (value) {
|
|
159
|
+
this.safelyUpdateValue([value !== null && value !== void 0 ? value : this.safeCurrentValue[0], this.value[1]]);
|
|
148
160
|
};
|
|
149
|
-
TuiInputRangeComponent.prototype.onInputRight = function () {
|
|
150
|
-
|
|
151
|
-
var capped = this.capInputValue(value);
|
|
152
|
-
var postfix = value.slice(-1)[0] === ',' ? ',' : '';
|
|
153
|
-
if (maskedMoneyValueIsEmpty(value) || capped === null) {
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
var newValue = this.formatNumber(capped) + postfix;
|
|
157
|
-
if (this.nativeRight && this.inputValueRight !== newValue) {
|
|
158
|
-
this.nativeRight.nativeElement.value = newValue;
|
|
159
|
-
}
|
|
160
|
-
if (capped >= this.value[0]) {
|
|
161
|
-
this.updateValue([this.value[0], capped]);
|
|
162
|
-
}
|
|
161
|
+
TuiInputRangeComponent.prototype.onInputRight = function (value) {
|
|
162
|
+
this.safelyUpdateValue([this.value[0], value !== null && value !== void 0 ? value : this.safeCurrentValue[1]]);
|
|
163
163
|
};
|
|
164
|
-
TuiInputRangeComponent.prototype.onRangeValue = function (
|
|
165
|
-
var
|
|
166
|
-
var
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
(guardedValue[0] === this.value[0] && guardedValue[1] === this.value[1])) {
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
if (!this.isMobile) {
|
|
173
|
-
var element = guardedValue[0] !== this.value[0]
|
|
174
|
-
? this.nativeLeft.nativeElement
|
|
175
|
-
: this.nativeRight.nativeElement;
|
|
176
|
-
setNativeFocused(element);
|
|
177
|
-
}
|
|
178
|
-
this.updateValue(guardedValue);
|
|
179
|
-
this.nativeLeft.nativeElement.value = this.formatNumber(guardedValue[0]);
|
|
164
|
+
TuiInputRangeComponent.prototype.onRangeValue = function (_a) {
|
|
165
|
+
var _b = __read(_a, 2), left = _b[0], right = _b[1];
|
|
166
|
+
var _c, _d;
|
|
167
|
+
(_d = (_c = this.rangeRef) === null || _c === void 0 ? void 0 : _c.nativeFocusableElement) === null || _d === void 0 ? void 0 : _d.focus();
|
|
168
|
+
this.safelyUpdateValue([left, right]);
|
|
180
169
|
};
|
|
181
|
-
TuiInputRangeComponent.prototype.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
this.nativeLeft.nativeElement.value = this.formatNumber(value);
|
|
188
|
-
if (value !== this.value[0]) {
|
|
189
|
-
this.updateValue([value, this.value[1]]);
|
|
170
|
+
TuiInputRangeComponent.prototype.focusToTextInput = function () {
|
|
171
|
+
var element = this.lastActiveSide === 'left'
|
|
172
|
+
? this.leftFocusableElement
|
|
173
|
+
: this.rightFocusableElement;
|
|
174
|
+
if (!this.isMobile && element) {
|
|
175
|
+
element.focus();
|
|
190
176
|
}
|
|
191
177
|
};
|
|
192
|
-
TuiInputRangeComponent.prototype.
|
|
193
|
-
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
var inputValue = maskedNumberStringToNumber(this.computedValueRight, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator);
|
|
197
|
-
var value = isNaN(inputValue)
|
|
198
|
-
? this.value[0]
|
|
199
|
-
: this.valueGuard(Math.max(inputValue, this.value[0]));
|
|
200
|
-
this.nativeRight.nativeElement.value = this.formatNumber(value);
|
|
201
|
-
if (value !== this.value[1]) {
|
|
202
|
-
this.updateValue([this.value[0], value]);
|
|
203
|
-
}
|
|
178
|
+
TuiInputRangeComponent.prototype.onActiveThumbChange = function (activeThumb) {
|
|
179
|
+
this.lastActiveSide = activeThumb;
|
|
204
180
|
};
|
|
205
181
|
TuiInputRangeComponent.prototype.getFallbackValue = function () {
|
|
206
182
|
return [0, 0];
|
|
207
183
|
};
|
|
208
|
-
TuiInputRangeComponent.prototype.
|
|
209
|
-
|
|
184
|
+
TuiInputRangeComponent.prototype.safelyUpdateValue = function (value) {
|
|
185
|
+
this.updateValue(this.valueGuard(value));
|
|
210
186
|
};
|
|
211
|
-
TuiInputRangeComponent.prototype.
|
|
212
|
-
|
|
187
|
+
TuiInputRangeComponent.prototype.valueGuard = function (_a) {
|
|
188
|
+
var _b = __read(_a, 2), leftValue = _b[0], rightValue = _b[1];
|
|
189
|
+
var leftCalibratedValue = this.calibrate(leftValue);
|
|
190
|
+
var rightCalibratedValue = this.calibrate(rightValue);
|
|
191
|
+
return [
|
|
192
|
+
Math.min(leftCalibratedValue, this.value[1]),
|
|
193
|
+
Math.max(rightCalibratedValue, this.value[0]),
|
|
194
|
+
];
|
|
213
195
|
};
|
|
214
|
-
TuiInputRangeComponent.prototype.
|
|
215
|
-
|
|
196
|
+
TuiInputRangeComponent.prototype.calibrate = function (value) {
|
|
197
|
+
var roundedValue = round(Math.round(value / this.quantum) * this.quantum, TUI_FLOATING_PRECISION);
|
|
198
|
+
return clamp(roundedValue, this.min, this.max);
|
|
216
199
|
};
|
|
217
|
-
TuiInputRangeComponent.prototype.
|
|
218
|
-
var
|
|
219
|
-
var
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
right ? Math.max(end, this.value[0]) : this.value[1],
|
|
223
|
-
];
|
|
224
|
-
if (value[0] !== this.value[0] || value[1] !== this.value[1]) {
|
|
225
|
-
this.updateValue(value);
|
|
200
|
+
TuiInputRangeComponent.prototype.updateTextInputValue = function (value, right) {
|
|
201
|
+
var _a = __read(this.inputNumberRefs, 2), leftInputRef = _a[0], rightInputRef = _a[1];
|
|
202
|
+
var textInputRef = right ? rightInputRef : leftInputRef;
|
|
203
|
+
if (textInputRef) {
|
|
204
|
+
textInputRef.nativeValue = textInputRef.getFormattedValue(value);
|
|
226
205
|
}
|
|
227
206
|
};
|
|
228
207
|
var TuiInputRangeComponent_1;
|
|
229
208
|
TuiInputRangeComponent.ctorParameters = function () { return [
|
|
230
209
|
{ type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
|
|
231
210
|
{ type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
|
|
232
|
-
{ type: TuiModeDirective, decorators: [{ type: Optional }, { type: Inject, args: [TuiModeDirective,] }] },
|
|
233
211
|
{ type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_MOBILE,] }] },
|
|
234
|
-
{ type:
|
|
235
|
-
{ type:
|
|
212
|
+
{ type: String, decorators: [{ type: Inject, args: [TUI_TEXTFIELD_APPEARANCE,] }] },
|
|
213
|
+
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
|
|
214
|
+
{ type: TuiTextfieldController, decorators: [{ type: Inject, args: [TUI_TEXTFIELD_WATCHED_CONTROLLER,] }] },
|
|
215
|
+
{ type: TuiNewRangeDirective, decorators: [{ type: Optional }, { type: Inject, args: [TuiNewRangeDirective,] }] }
|
|
236
216
|
]; };
|
|
237
217
|
__decorate([
|
|
238
|
-
|
|
239
|
-
], TuiInputRangeComponent.prototype, "
|
|
218
|
+
ViewChildren(TuiInputNumberComponent)
|
|
219
|
+
], TuiInputRangeComponent.prototype, "inputNumberRefs", void 0);
|
|
220
|
+
__decorate([
|
|
221
|
+
ViewChild(TuiRangeComponent)
|
|
222
|
+
], TuiInputRangeComponent.prototype, "rangeRef", void 0);
|
|
223
|
+
__decorate([
|
|
224
|
+
Input(),
|
|
225
|
+
tuiDefaultProp()
|
|
226
|
+
], TuiInputRangeComponent.prototype, "min", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
Input(),
|
|
229
|
+
tuiDefaultProp()
|
|
230
|
+
], TuiInputRangeComponent.prototype, "max", void 0);
|
|
240
231
|
__decorate([
|
|
241
|
-
|
|
242
|
-
|
|
232
|
+
Input(),
|
|
233
|
+
tuiDefaultProp(quantumAssertion, 'Quantum must be positive')
|
|
234
|
+
], TuiInputRangeComponent.prototype, "quantum", void 0);
|
|
243
235
|
__decorate([
|
|
244
|
-
|
|
245
|
-
|
|
236
|
+
Input(),
|
|
237
|
+
tuiDefaultProp()
|
|
238
|
+
], TuiInputRangeComponent.prototype, "steps", void 0);
|
|
246
239
|
__decorate([
|
|
247
|
-
|
|
248
|
-
|
|
240
|
+
Input(),
|
|
241
|
+
tuiDefaultProp()
|
|
242
|
+
], TuiInputRangeComponent.prototype, "segments", void 0);
|
|
249
243
|
__decorate([
|
|
250
|
-
|
|
251
|
-
|
|
244
|
+
Input(),
|
|
245
|
+
tuiDefaultProp()
|
|
246
|
+
], TuiInputRangeComponent.prototype, "keySteps", void 0);
|
|
252
247
|
__decorate([
|
|
253
|
-
|
|
254
|
-
|
|
248
|
+
Input(),
|
|
249
|
+
tuiDefaultProp()
|
|
250
|
+
], TuiInputRangeComponent.prototype, "leftValueContent", void 0);
|
|
255
251
|
__decorate([
|
|
256
|
-
|
|
257
|
-
|
|
252
|
+
Input(),
|
|
253
|
+
tuiDefaultProp()
|
|
254
|
+
], TuiInputRangeComponent.prototype, "rightValueContent", void 0);
|
|
255
|
+
__decorate([
|
|
256
|
+
HostBinding('class._label-outside')
|
|
257
|
+
], TuiInputRangeComponent.prototype, "legacyLabelOutside", null);
|
|
258
258
|
TuiInputRangeComponent = TuiInputRangeComponent_1 = __decorate([
|
|
259
259
|
Component({
|
|
260
260
|
selector: 'tui-input-range',
|
|
261
|
-
template: "<tui-wrapper\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocused\"\n [hovered]=\"computedHovered\"\n [invalid]=\"computedInvalid\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <
|
|
261
|
+
template: "<tui-wrapper\n class=\"t-wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocused\"\n [hovered]=\"computedHovered\"\n [invalid]=\"computedInvalid\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__left-input\"\n class=\"t-left t-text-input\"\n [min]=\"min\"\n [max]=\"value[1]\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [postfix]=\"pluralizeMap && !showLeftValueContent ? (value[0] | i18nPlural: pluralizeMap) : ''\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldSize]=\"computedSize\"\n [tuiTextfieldLabelOutside]=\"legacyLabelOutside\"\n [ngModel]=\"value[0]\"\n (ngModelChange)=\"onInputLeft($event)\"\n (focusedChange)=\"onTextInputFocused($event, false)\"\n (keydown.arrowUp)=\"changeByStep($event, [1, 0])\"\n (keydown.arrowDown)=\"changeByStep($event, [-1, 0])\"\n >\n <ng-content></ng-content>\n <div\n *ngIf=\"showLeftValueContent\"\n polymorpheus-outlet\n [content]=\"minLabel ? legacyMinLabel : leftValueContent\"\n [context]=\"{$implicit: value[0]}\"\n ></div>\n </tui-input-number>\n\n <div class=\"t-right\">\n <tui-input-number\n tuiTextfieldAppearance=\"none\"\n automation-id=\"tui-input-range__right-input\"\n class=\"t-text-input\"\n [min]=\"value[0]\"\n [max]=\"max\"\n [precision]=\"precision\"\n [decimal]=\"decimal\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldSize]=\"computedSize\"\n [tuiTextfieldLabelOutside]=\"legacyLabelOutside\"\n [ngModel]=\"value[1]\"\n (ngModelChange)=\"onInputRight($event)\"\n (focusedChange)=\"onTextInputFocused($event, true)\"\n (keydown.arrowUp)=\"changeByStep($event, [0, 1])\"\n (keydown.arrowDown)=\"changeByStep($event, [0, -1])\"\n >\n <div\n *ngIf=\"showRightValueContent\"\n polymorpheus-outlet\n [content]=\"maxLabel ? legacyMaxLabel : rightValueContent\"\n [context]=\"{$implicit: value[1]}\"\n ></div>\n </tui-input-number>\n\n <!-- TODO replace by postfix of the right InputNumber (after fix https://github.com/Tinkoff/taiga-ui/issues/1193) -->\n <span\n *ngIf=\"!showRightValueContent && pluralizeMap\"\n automation-id=\"tui-input-range__pluralize-right\"\n class=\"t-pluralize-right\"\n >\n {{value[1] | i18nPlural: pluralizeMap}}\n </span>\n </div>\n\n <tui-range\n class=\"t-slider\"\n [min]=\"min\"\n [max]=\"max\"\n [steps]=\"computedSteps\"\n [segments]=\"segments\"\n [keySteps]=\"keySteps\"\n [pluralize]=\"segmentsPluralizeMap\"\n [focusable]=\"false\"\n [disabled]=\"readOnly || disabled\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onRangeValue($event)\"\n (tuiPressedChange)=\"focusToTextInput()\"\n (activeThumbChange)=\"onActiveThumbChange($event)\"\n ></tui-range>\n</tui-wrapper>\n\n<!-- TODO remove in v3.0 -->\n<ng-template\n #legacyMinLabel\n let-value\n>\n <ng-container *ngIf=\"value === min\">{{minLabel}}</ng-container>\n <ng-container *ngIf=\"value !== min\">\n {{value}} {{value | i18nPlural: pluralizeMap ||\n pluralizeMapFallback}}\n </ng-container>\n</ng-template>\n\n<!-- TODO remove in v3.0 -->\n<ng-template\n #legacyMaxLabel\n let-value\n>\n <ng-container *ngIf=\"value === max\">{{maxLabel}}</ng-container>\n <ng-container *ngIf=\"value !== max\">\n {{value}} {{value | i18nPlural: pluralizeMap ||\n pluralizeMapFallback}}\n </ng-container>\n</ng-template>\n",
|
|
262
262
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
263
263
|
providers: [
|
|
264
264
|
{
|
|
265
265
|
provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
|
|
266
266
|
useExisting: forwardRef(function () { return TuiInputRangeComponent_1; }),
|
|
267
267
|
},
|
|
268
|
+
TEXTFIELD_CONTROLLER_PROVIDER,
|
|
268
269
|
],
|
|
269
|
-
|
|
270
|
-
|
|
270
|
+
host: {
|
|
271
|
+
/**
|
|
272
|
+
* TODO delete it in v3.0
|
|
273
|
+
* Dont forget to clear html-tags
|
|
274
|
+
*/
|
|
275
|
+
'[class._show-ticks-labels]': '!isNew',
|
|
276
|
+
},
|
|
277
|
+
styles: [".t-wrapper{position:relative}.t-left{width:100%}.t-right{position:absolute;right:0;top:0;display:flex;width:50%;height:100%;text-align:right}.t-right .t-text-input{flex:1}.t-text-input{text-align:inherit}.t-pluralize-right{display:flex;align-items:center;padding:1.125rem var(--tui-padding-m) 0 0;margin-left:-.75rem;font:var(--tui-font-text-s)}:host[data-size='l'] .t-pluralize-right{font:var(--tui-font-text-m);padding-top:1.25rem;margin-left:-1rem;padding-right:var(--tui-padding-l)}:host._label-outside .t-pluralize-right{padding-top:0}:host._disabled .t-pluralize-right{color:var(--tui-text-03)}:host{display:block;border-radius:var(--tui-radius-m)}:host._show-ticks-labels._segmented{border-bottom:26px solid transparent}.t-slider{position:absolute;top:100%;left:0;right:0;z-index:1;margin:-.125rem 0 0;background:0 0}"]
|
|
278
|
+
})
|
|
279
|
+
/**
|
|
280
|
+
* `AbstractTuiInputSlider` includes all legacy code (it can be deleted in v3.0)
|
|
281
|
+
* TODO replace `extends AbstractTuiInputSlider<[number, number]>` by `extends AbstractTuiControl<[number, number]> implements TuiWithOptionalMinMax<number>`
|
|
282
|
+
*/
|
|
283
|
+
,
|
|
271
284
|
__param(0, Optional()),
|
|
272
285
|
__param(0, Self()),
|
|
273
286
|
__param(0, Inject(NgControl)),
|
|
274
287
|
__param(1, Inject(ChangeDetectorRef)),
|
|
275
|
-
__param(2,
|
|
276
|
-
__param(
|
|
277
|
-
__param(
|
|
278
|
-
__param(
|
|
279
|
-
__param(
|
|
288
|
+
__param(2, Inject(TUI_IS_MOBILE)),
|
|
289
|
+
__param(3, Inject(TUI_TEXTFIELD_APPEARANCE)),
|
|
290
|
+
__param(4, Inject(ElementRef)),
|
|
291
|
+
__param(5, Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)),
|
|
292
|
+
__param(6, Optional()),
|
|
293
|
+
__param(6, Inject(TuiNewRangeDirective))
|
|
280
294
|
], TuiInputRangeComponent);
|
|
281
295
|
return TuiInputRangeComponent;
|
|
282
296
|
}(AbstractTuiInputSlider));
|
|
297
|
+
function tuiTextfieldAppearanceDirectiveFactory(_a) {
|
|
298
|
+
var nativeElement = _a.nativeElement;
|
|
299
|
+
return nativeElement.getAttribute('tuiTextfieldAppearance');
|
|
300
|
+
}
|
|
301
|
+
var TuiTextfieldAppearanceDirective = /** @class */ (function () {
|
|
302
|
+
function TuiTextfieldAppearanceDirective() {
|
|
303
|
+
}
|
|
304
|
+
TuiTextfieldAppearanceDirective = __decorate([
|
|
305
|
+
Directive({
|
|
306
|
+
selector: '[tuiTextfieldAppearance]',
|
|
307
|
+
providers: [
|
|
308
|
+
{
|
|
309
|
+
provide: TUI_TEXTFIELD_APPEARANCE,
|
|
310
|
+
deps: [ElementRef],
|
|
311
|
+
useFactory: tuiTextfieldAppearanceDirectiveFactory,
|
|
312
|
+
},
|
|
313
|
+
],
|
|
314
|
+
})
|
|
315
|
+
], TuiTextfieldAppearanceDirective);
|
|
316
|
+
return TuiTextfieldAppearanceDirective;
|
|
317
|
+
}());
|
|
283
318
|
|
|
284
319
|
var TuiInputRangeModule = /** @class */ (function () {
|
|
285
320
|
function TuiInputRangeModule() {
|
|
@@ -290,19 +325,16 @@ var TuiInputRangeModule = /** @class */ (function () {
|
|
|
290
325
|
CommonModule,
|
|
291
326
|
FormsModule,
|
|
292
327
|
ReactiveFormsModule,
|
|
293
|
-
|
|
294
|
-
TuiFocusableModule,
|
|
295
|
-
TuiFocusedModule,
|
|
296
|
-
TuiHoveredModule,
|
|
297
|
-
TuiPressedModule,
|
|
298
|
-
TuiMapperPipeModule,
|
|
299
|
-
TuiInputModeModule,
|
|
328
|
+
PolymorpheusModule,
|
|
300
329
|
TuiActiveZoneModule,
|
|
330
|
+
TuiInputNumberModule,
|
|
331
|
+
TuiPressedModule,
|
|
301
332
|
TuiRangeModule,
|
|
333
|
+
TuiTextfieldControllerModule,
|
|
302
334
|
TuiWrapperModule,
|
|
303
335
|
],
|
|
304
|
-
declarations: [TuiInputRangeComponent],
|
|
305
|
-
exports: [TuiInputRangeComponent],
|
|
336
|
+
declarations: [TuiInputRangeComponent, TuiTextfieldAppearanceDirective],
|
|
337
|
+
exports: [TuiInputRangeComponent, TuiNewRangeDirective],
|
|
306
338
|
})
|
|
307
339
|
], TuiInputRangeModule);
|
|
308
340
|
return TuiInputRangeModule;
|
|
@@ -312,5 +344,5 @@ var TuiInputRangeModule = /** @class */ (function () {
|
|
|
312
344
|
* Generated bundle index. Do not edit.
|
|
313
345
|
*/
|
|
314
346
|
|
|
315
|
-
export { TuiInputRangeComponent, TuiInputRangeModule };
|
|
347
|
+
export { TuiInputRangeComponent, TuiInputRangeModule, TuiTextfieldAppearanceDirective, tuiTextfieldAppearanceDirectiveFactory };
|
|
316
348
|
//# sourceMappingURL=taiga-ui-kit-components-input-range.js.map
|