@taiga-ui/kit 3.33.1 → 3.34.0-dev.main-23baa20
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 +0 -30
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +0 -3
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +0 -18
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.js +0 -327
- package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +0 -330
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +29 -10
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +0 -15
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +0 -27
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +0 -9
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +0 -9
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +0 -3
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +0 -3
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +0 -18
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +5 -20
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +0 -18
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +0 -15
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +0 -6
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +6 -42
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +0 -24
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +0 -15
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +0 -18
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +0 -12
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +0 -3
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +0 -12
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +0 -12
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +67 -112
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +0 -3
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +0 -12
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +0 -21
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +0 -24
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +0 -33
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +0 -18
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +0 -9
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-island.umd.js +4 -334
- package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js +0 -6
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +0 -6
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js +0 -327
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +0 -30
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +0 -21
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +28 -52
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-push.umd.js +42 -51
- package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +0 -15
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.js +4 -325
- package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +0 -9
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +0 -15
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +0 -12
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +0 -18
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +0 -12
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +0 -9
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +0 -9
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +0 -9
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +64 -85
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +5 -356
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +0 -9
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tiles.umd.js +0 -12
- package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +0 -12
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +0 -330
- package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.js +0 -321
- package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-mask.umd.js +5 -5
- package/bundles/taiga-ui-kit-directives-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.js +4 -325
- package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +0 -339
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
- package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -3
- package/components/breadcrumbs/breadcrumbs.options.d.ts +10 -0
- package/components/breadcrumbs/index.d.ts +1 -0
- package/components/input-count/input-count.component.d.ts +0 -3
- package/components/input-number/input-number.component.d.ts +7 -6
- package/components/input-number/input-number.module.d.ts +4 -4
- package/directives/mask/legacy-mask.d.ts +5 -5
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +2 -27
- package/esm2015/components/accordion/accordion.component.js +2 -9
- package/esm2015/components/action/action.component.js +2 -6
- package/esm2015/components/avatar/avatar.component.js +2 -20
- package/esm2015/components/badge/badge.component.js +2 -12
- package/esm2015/components/badged-content/badged-content.component.js +2 -15
- package/esm2015/components/breadcrumbs/breadcrumbs.component.js +15 -14
- package/esm2015/components/breadcrumbs/breadcrumbs.options.js +14 -0
- package/esm2015/components/breadcrumbs/index.js +2 -1
- package/esm2015/components/calendar-month/calendar-month.component.js +2 -17
- package/esm2015/components/calendar-range/calendar-range.component.js +2 -29
- package/esm2015/components/carousel/carousel.component.js +2 -11
- package/esm2015/components/checkbox/checkbox.component.js +2 -6
- package/esm2015/components/checkbox-block/checkbox-block.component.js +2 -12
- package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +2 -6
- package/esm2015/components/combo-box/combo-box-strict.directive.js +1 -6
- package/esm2015/components/combo-box/combo-box.component.js +2 -18
- package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +1 -9
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +1 -6
- package/esm2015/components/data-list-wrapper/data-list-wrapper.js +2 -9
- package/esm2015/components/files/file/file.component.js +2 -17
- package/esm2015/components/files/files.component.js +2 -6
- package/esm2015/components/filter/filter.component.js +2 -18
- package/esm2015/components/input-copy/input-copy.component.js +2 -8
- package/esm2015/components/input-count/input-count.component.js +6 -38
- package/esm2015/components/input-date/input-date.component.js +2 -20
- package/esm2015/components/input-date-range/input-date-range.component.js +2 -26
- package/esm2015/components/input-date-time/input-date-time.component.js +2 -17
- package/esm2015/components/input-files/input-files.component.js +2 -14
- package/esm2015/components/input-inline/input-inline.component.js +2 -6
- package/esm2015/components/input-month/input-month.component.js +2 -15
- package/esm2015/components/input-month-range/input-month-range.component.js +2 -15
- package/esm2015/components/input-number/input-number.component.js +45 -90
- package/esm2015/components/input-number/input-number.module.js +6 -9
- package/esm2015/components/input-phone/input-phone.component.js +2 -14
- package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -5
- package/esm2015/components/input-range/input-range.component.js +2 -23
- package/esm2015/components/input-slider/input-slider.component.js +2 -26
- package/esm2015/components/input-tag/input-tag.component.js +2 -36
- package/esm2015/components/input-time/input-time.component.js +2 -20
- package/esm2015/components/input-year/input-year.component.js +2 -11
- package/esm2015/components/island/island.component.js +1 -15
- package/esm2015/components/items-with-more/items-with-more.directive.js +2 -9
- package/esm2015/components/line-clamp/line-clamp.component.js +2 -9
- package/esm2015/components/marker-icon/marker-icon.component.js +2 -12
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +2 -5
- package/esm2015/components/multi-select/multi-select.component.js +2 -29
- package/esm2015/components/pagination/pagination.component.js +2 -24
- package/esm2015/components/progress/progress-bar/progress-bar.component.js +1 -6
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -15
- package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +2 -12
- package/esm2015/components/push/push.component.js +2 -12
- package/esm2015/components/radio/radio.component.js +2 -15
- package/esm2015/components/radio-block/radio-block.component.js +2 -18
- package/esm2015/components/radio-group/radio-group.component.js +1 -6
- package/esm2015/components/radio-labeled/radio-labeled.component.js +2 -12
- package/esm2015/components/radio-list/radio-list.component.js +2 -18
- package/esm2015/components/range/range.component.js +2 -20
- package/esm2015/components/rating/rating.component.js +2 -15
- package/esm2015/components/select/select.component.js +2 -12
- package/esm2015/components/slider/helpers/slider-readonly.directive.js +2 -6
- package/esm2015/components/slider/slider.component.js +2 -8
- package/esm2015/components/stepper/step/step.component.js +2 -9
- package/esm2015/components/stepper/stepper.component.js +2 -5
- package/esm2015/components/tabs/tabs/tabs.component.js +2 -5
- package/esm2015/components/tabs/tabs-vertical/tabs-vertical.component.js +1 -6
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +2 -12
- package/esm2015/components/tabs/tabs.directive.js +2 -6
- package/esm2015/components/tabs/underline/underline.component.js +2 -6
- package/esm2015/components/tag/tag.component.js +1 -36
- package/esm2015/components/text-area/text-area.component.js +2 -12
- package/esm2015/components/tiles/tile.component.js +2 -9
- package/esm2015/components/tiles/tiles.component.js +2 -9
- package/esm2015/components/toggle/toggle.component.js +2 -15
- package/esm2015/components/tree/directives/tree-children.directive.js +2 -6
- package/esm2015/components/tree/directives/tree-controller.directive.js +2 -9
- package/esm2015/components/tree/directives/tree-item-controller.directive.js +1 -6
- package/esm2015/directives/highlight/highlight.directive.js +2 -6
- package/esm2015/directives/mask/legacy-mask.js +6 -6
- package/esm2015/directives/project-class/project-class.directive.js +1 -6
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -24
- package/fesm2015/taiga-ui-kit-components-accordion.js +1 -32
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js +1 -5
- package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +1 -19
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badge.js +1 -11
- package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -14
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +27 -14
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -16
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -28
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js +1 -10
- package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js +1 -11
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +1 -5
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox.js +1 -5
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +1 -20
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -18
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +1 -19
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +1 -17
- package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +1 -7
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +5 -37
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +1 -25
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +1 -16
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +1 -19
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +1 -13
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js +1 -5
- package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -14
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +1 -14
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +49 -96
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +1 -4
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +1 -13
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +1 -22
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +1 -25
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +1 -35
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +1 -19
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js +1 -10
- package/fesm2015/taiga-ui-kit-components-input-year.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-island.js +0 -14
- package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-items-with-more.js +1 -8
- package/fesm2015/taiga-ui-kit-components-items-with-more.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +1 -8
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js +1 -11
- package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +1 -31
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +1 -23
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +1 -25
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-push.js +1 -11
- package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-block.js +1 -17
- package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-group.js +0 -5
- package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js +1 -11
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-list.js +1 -17
- package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +1 -14
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +1 -19
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +1 -14
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +1 -11
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +1 -10
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +2 -11
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +2 -23
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +2 -36
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +1 -11
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tiles.js +1 -14
- package/fesm2015/taiga-ui-kit-components-tiles.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +1 -14
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tree.js +1 -14
- package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-highlight.js +1 -5
- package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-mask.js +5 -5
- package/fesm2015/taiga-ui-kit-directives-mask.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-project-class.js +0 -5
- package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -23
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
- package/package.json +11 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/kit/directives'), require('@angular/common')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-number', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/core', '@tinkoff/ng-polymorpheus', '@taiga-ui/kit/directives', '@angular/common'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components["input-number"] = {}), global.ng.core, global.ng.forms, global.
|
|
5
|
-
})(this, (function (exports, i0, i6,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@maskito/kit'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/kit/directives'), require('@maskito/angular'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-number', ['exports', '@angular/core', '@angular/forms', '@maskito/kit', '@taiga-ui/cdk', '@taiga-ui/core', '@tinkoff/ng-polymorpheus', '@taiga-ui/kit/directives', '@maskito/angular', '@angular/common'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components["input-number"] = {}), global.ng.core, global.ng.forms, global.kit, global.cdk, global.i1, global.i5, global["taiga-ui"].kit.directives, global.i3, global.ng.common));
|
|
5
|
+
})(this, (function (exports, i0, i6, kit, cdk, i1, i5, i2, i3, i4) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
26
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
27
|
-
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
28
27
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
-
var
|
|
28
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
30
29
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
31
30
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
31
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
32
32
|
|
|
33
33
|
/*! *****************************************************************************
|
|
34
34
|
Copyright (c) Microsoft Corporation.
|
|
@@ -389,20 +389,7 @@
|
|
|
389
389
|
_this.prefix = '';
|
|
390
390
|
/** @deprecated use `tuiTextfieldPostfix` from {@link TuiTextfieldControllerModule} instead */
|
|
391
391
|
_this.postfix = '';
|
|
392
|
-
_this.polymorpheusValueContent =
|
|
393
|
-
_this.mask = function (allowNegative, decimal, decimalLimit, nativeFocusableElement) { return ({
|
|
394
|
-
mask: i1.tuiCreateNumberMask({
|
|
395
|
-
allowNegative: allowNegative,
|
|
396
|
-
decimalLimit: decimalLimit,
|
|
397
|
-
allowDecimal: decimal !== 'never',
|
|
398
|
-
requireDecimal: decimal === 'always',
|
|
399
|
-
decimalSymbol: _this.numberFormat.decimalSeparator,
|
|
400
|
-
thousandSymbol: _this.numberFormat.thousandSeparator,
|
|
401
|
-
autoCorrectDecimalSymbol: i1.tuiEnableAutoCorrectDecimalSymbol(_this.numberFormat),
|
|
402
|
-
}),
|
|
403
|
-
pipe: i1.tuiCreateAutoCorrectedNumberPipe(decimal === 'always' ? decimalLimit : 0, _this.numberFormat.decimalSeparator, _this.numberFormat.thousandSeparator, nativeFocusableElement, allowNegative, _this.isIOS),
|
|
404
|
-
guide: false,
|
|
405
|
-
}); };
|
|
392
|
+
_this.polymorpheusValueContent = cdk.EMPTY_QUERY;
|
|
406
393
|
return _this;
|
|
407
394
|
}
|
|
408
395
|
Object.defineProperty(TuiInputNumberComponent.prototype, "nativeFocusableElement", {
|
|
@@ -452,17 +439,14 @@
|
|
|
452
439
|
});
|
|
453
440
|
Object.defineProperty(TuiInputNumberComponent.prototype, "formattedValue", {
|
|
454
441
|
get: function () {
|
|
455
|
-
return this.getFormattedValue(this.value || 0);
|
|
442
|
+
return this.value !== null ? this.getFormattedValue(this.value || 0) : '';
|
|
456
443
|
},
|
|
457
444
|
enumerable: false,
|
|
458
445
|
configurable: true
|
|
459
446
|
});
|
|
460
447
|
Object.defineProperty(TuiInputNumberComponent.prototype, "computedValue", {
|
|
461
448
|
get: function () {
|
|
462
|
-
|
|
463
|
-
return this.nativeValue;
|
|
464
|
-
}
|
|
465
|
-
return this.value === null ? '' : this.formattedValue;
|
|
449
|
+
return this.focused ? this.nativeValue : this.formattedValue;
|
|
466
450
|
},
|
|
467
451
|
enumerable: false,
|
|
468
452
|
configurable: true
|
|
@@ -481,55 +465,40 @@
|
|
|
481
465
|
enumerable: false,
|
|
482
466
|
configurable: true
|
|
483
467
|
});
|
|
468
|
+
Object.defineProperty(TuiInputNumberComponent.prototype, "mask", {
|
|
469
|
+
get: function () {
|
|
470
|
+
return this.calculateMask(this.precision, this.decimal, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator, this.min, this.max);
|
|
471
|
+
},
|
|
472
|
+
enumerable: false,
|
|
473
|
+
configurable: true
|
|
474
|
+
});
|
|
484
475
|
TuiInputNumberComponent.prototype.onArrow = function (step) {
|
|
485
476
|
if (!step) {
|
|
486
477
|
return;
|
|
487
478
|
}
|
|
488
|
-
this.value =
|
|
479
|
+
this.value = cdk.tuiClamp((this.value || 0) + step, this.min, this.max);
|
|
489
480
|
this.nativeValue = this.formattedValue;
|
|
490
481
|
};
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
var decimal = this.nativeValue.split(this.numberFormat.decimalSeparator)[1] || '';
|
|
494
|
-
var nativeFocusableElement = this.nativeFocusableElement;
|
|
495
|
-
if (decimal.length < this.precision ||
|
|
496
|
-
!nativeFocusableElement ||
|
|
497
|
-
!nativeFocusableElement.selectionStart ||
|
|
498
|
-
this.nativeValue[nativeFocusableElement.selectionStart] !== '0') {
|
|
499
|
-
return;
|
|
500
|
-
}
|
|
501
|
-
event.preventDefault();
|
|
502
|
-
nativeFocusableElement.selectionStart++;
|
|
503
|
-
};
|
|
504
|
-
TuiInputNumberComponent.prototype.onValueChange = function (value) {
|
|
482
|
+
TuiInputNumberComponent.prototype.onValueChange = function (nativeValue) {
|
|
483
|
+
var parsedValue = kit.maskitoParseNumber(nativeValue, this.numberFormat.decimalSeparator);
|
|
505
484
|
this.unfinishedValue = null;
|
|
506
|
-
if (
|
|
485
|
+
if (Number.isNaN(parsedValue)) {
|
|
507
486
|
this.value = null;
|
|
508
487
|
return;
|
|
509
488
|
}
|
|
510
489
|
if (this.isNativeValueNotFinished) {
|
|
511
|
-
this.unfinishedValue =
|
|
490
|
+
this.unfinishedValue = nativeValue;
|
|
512
491
|
return;
|
|
513
492
|
}
|
|
514
|
-
|
|
515
|
-
if (capped === null || Number.isNaN(capped)) {
|
|
493
|
+
if (parsedValue < this.min || parsedValue > this.max) {
|
|
516
494
|
return;
|
|
517
495
|
}
|
|
518
|
-
this.value =
|
|
519
|
-
if (capped !==
|
|
520
|
-
i1.tuiMaskedNumberStringToNumber(value, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator)) {
|
|
521
|
-
this.nativeValue = this.formattedValue;
|
|
522
|
-
}
|
|
496
|
+
this.value = parsedValue;
|
|
523
497
|
};
|
|
498
|
+
// TODO: delete this method after fix: https://github.com/Tinkoff/maskito/issues/330
|
|
524
499
|
TuiInputNumberComponent.prototype.onKeyDown = function (event) {
|
|
525
|
-
if (
|
|
526
|
-
|
|
527
|
-
}
|
|
528
|
-
if (this.decimal === 'never') {
|
|
529
|
-
event.preventDefault();
|
|
530
|
-
return;
|
|
531
|
-
}
|
|
532
|
-
if (this.nativeValue.includes(this.numberFormat.decimalSeparator)) {
|
|
500
|
+
if (i1.TUI_DECIMAL_SYMBOLS.includes(event.key) &&
|
|
501
|
+
this.nativeValue.includes(this.numberFormat.decimalSeparator)) {
|
|
533
502
|
event.preventDefault();
|
|
534
503
|
this.setCaretAfterComma();
|
|
535
504
|
}
|
|
@@ -540,14 +509,14 @@
|
|
|
540
509
|
return;
|
|
541
510
|
}
|
|
542
511
|
var nativeNumberValue = this.unfinishedValue
|
|
543
|
-
?
|
|
512
|
+
? kit.maskitoParseNumber(this.unfinishedValue, this.numberFormat.decimalSeparator)
|
|
544
513
|
: this.nativeNumberValue;
|
|
545
514
|
this.unfinishedValue = null;
|
|
546
515
|
if (Number.isNaN(nativeNumberValue)) {
|
|
547
516
|
this.clear();
|
|
548
517
|
return;
|
|
549
518
|
}
|
|
550
|
-
this.value =
|
|
519
|
+
this.value = nativeNumberValue;
|
|
551
520
|
this.nativeValue = this.formattedValue;
|
|
552
521
|
};
|
|
553
522
|
TuiInputNumberComponent.prototype.getFormattedValue = function (value) {
|
|
@@ -562,7 +531,7 @@
|
|
|
562
531
|
if (this.focused && this.decimal !== 'always') {
|
|
563
532
|
decimalLimit = fraction.length;
|
|
564
533
|
}
|
|
565
|
-
return i1.tuiFormatNumber(value, Object.assign(Object.assign({}, this.numberFormat), { decimalLimit: decimalLimit }));
|
|
534
|
+
return i1.tuiFormatNumber(value, Object.assign(Object.assign({}, this.numberFormat), { decimalLimit: decimalLimit })).replace(cdk.CHAR_HYPHEN, cdk.CHAR_MINUS);
|
|
566
535
|
};
|
|
567
536
|
Object.defineProperty(TuiInputNumberComponent.prototype, "isNativeValueNotFinished", {
|
|
568
537
|
get: function () {
|
|
@@ -588,25 +557,32 @@
|
|
|
588
557
|
enumerable: false,
|
|
589
558
|
configurable: true
|
|
590
559
|
});
|
|
560
|
+
TuiInputNumberComponent.prototype.writeValue = function (value) {
|
|
561
|
+
_super.prototype.writeValue.call(this, value);
|
|
562
|
+
this.nativeValue = this.formattedValue;
|
|
563
|
+
};
|
|
591
564
|
Object.defineProperty(TuiInputNumberComponent.prototype, "nativeNumberValue", {
|
|
592
565
|
get: function () {
|
|
593
|
-
return
|
|
566
|
+
return kit.maskitoParseNumber(this.nativeValue, this.numberFormat.decimalSeparator);
|
|
594
567
|
},
|
|
595
568
|
enumerable: false,
|
|
596
569
|
configurable: true
|
|
597
570
|
});
|
|
571
|
+
TuiInputNumberComponent.prototype.calculateMask = function (precision, decimalMode, decimalSeparator, thousandSeparator, min, max) {
|
|
572
|
+
return kit.maskitoNumberOptionsGenerator({
|
|
573
|
+
decimalSeparator: decimalSeparator,
|
|
574
|
+
thousandSeparator: thousandSeparator,
|
|
575
|
+
min: min,
|
|
576
|
+
max: max,
|
|
577
|
+
precision: decimalMode === 'never' ? 0 : precision,
|
|
578
|
+
decimalZeroPadding: decimalMode === 'always',
|
|
579
|
+
});
|
|
580
|
+
};
|
|
598
581
|
TuiInputNumberComponent.prototype.clear = function () {
|
|
599
582
|
this.nativeValue = '';
|
|
600
583
|
this.value = null;
|
|
601
584
|
};
|
|
602
|
-
|
|
603
|
-
var value = i1.tuiMaskedNumberStringToNumber(inputValue, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator);
|
|
604
|
-
var capped = value < 0
|
|
605
|
-
? Math.max(Math.max(this.min, Number.MIN_SAFE_INTEGER), value)
|
|
606
|
-
: Math.min(value, Math.min(this.max, Number.MAX_SAFE_INTEGER));
|
|
607
|
-
var ineligibleValue = Number.isNaN(capped) || capped < this.min || capped > this.max;
|
|
608
|
-
return ineligibleValue ? null : capped;
|
|
609
|
-
};
|
|
585
|
+
// TODO: delete this method after fix: https://github.com/Tinkoff/maskito/issues/330
|
|
610
586
|
TuiInputNumberComponent.prototype.setCaretAfterComma = function () {
|
|
611
587
|
if (!this.nativeFocusableElement) {
|
|
612
588
|
return;
|
|
@@ -615,30 +591,15 @@
|
|
|
615
591
|
this.nativeFocusableElement.setSelectionRange(afterCommaPosition, afterCommaPosition);
|
|
616
592
|
};
|
|
617
593
|
return TuiInputNumberComponent;
|
|
618
|
-
}(
|
|
619
|
-
TuiInputNumberComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberComponent, deps: [{ token: i6.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: TUI_INPUT_NUMBER_OPTIONS }, { token: i1.TUI_NUMBER_FORMAT }, { token:
|
|
620
|
-
TuiInputNumberComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputNumberComponent, selector: "tui-input-number", inputs: { min: "min", max: "max", decimal: "decimal", precision: "precision", step: "step", prefix: "prefix", postfix: "postfix" }, host: { listeners: { "keydown.arrowDown": "onArrow(-step)", "keydown.arrowUp": "onArrow(step)"
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
], queries: [{ propertyName: "polymorpheusValueContent", predicate:
|
|
624
|
-
__decorate([
|
|
625
|
-
i5.tuiDefaultProp()
|
|
626
|
-
], TuiInputNumberComponent.prototype, "min", void 0);
|
|
627
|
-
__decorate([
|
|
628
|
-
i5.tuiDefaultProp()
|
|
629
|
-
], TuiInputNumberComponent.prototype, "max", void 0);
|
|
630
|
-
__decorate([
|
|
631
|
-
i5.tuiDefaultProp()
|
|
632
|
-
], TuiInputNumberComponent.prototype, "decimal", void 0);
|
|
594
|
+
}(cdk.AbstractTuiNullableControl));
|
|
595
|
+
TuiInputNumberComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberComponent, deps: [{ token: i6.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: TUI_INPUT_NUMBER_OPTIONS }, { token: i1.TUI_NUMBER_FORMAT }, { token: cdk.TUI_IS_IOS }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
596
|
+
TuiInputNumberComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputNumberComponent, selector: "tui-input-number", inputs: { min: "min", max: "max", decimal: "decimal", precision: "precision", step: "step", prefix: "prefix", postfix: "postfix" }, host: { listeners: { "keydown.arrowDown": "onArrow(-step)", "keydown.arrowUp": "onArrow(step)" } }, providers: [
|
|
597
|
+
cdk.tuiAsFocusableItemAccessor(TuiInputNumberComponent),
|
|
598
|
+
cdk.tuiAsControl(TuiInputNumberComponent),
|
|
599
|
+
], queries: [{ propertyName: "polymorpheusValueContent", predicate: i5.PolymorpheusOutletDirective, descendants: true }], viewQueries: [{ propertyName: "primitiveTextfield", first: true, predicate: i1.TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-primitive-textfield\n #textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoActive]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"mask\"\n [value]=\"computedValue\"\n [prefix]=\"prefix\"\n [postfix]=\"postfix\"\n [focusable]=\"focusable\"\n (valueChange)=\"onValueChange($event)\"\n (focusedChange)=\"onFocused($event)\"\n (keydown)=\"onKeyDown($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n <div\n *ngIf=\"polymorpheusValueContent.length\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value-content\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text\">\n {{ text }}\n </ng-container>\n </div>\n</tui-primitive-textfield>\n\n<section\n *ngIf=\"step\"\n class=\"t-buttons\"\n>\n <button\n tuiIconButton\n type=\"button\"\n size=\"s\"\n class=\"t-button\"\n [icon]=\"options.icons.up\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canIncrement\"\n [focusable]=\"false\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n (click.prevent)=\"onArrow(step)\"\n >\n +\n </button>\n <button\n tuiIconButton\n type=\"button\"\n size=\"s\"\n class=\"t-button\"\n [icon]=\"options.icons.down\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canDecrement\"\n [focusable]=\"false\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n (click.prevent)=\"onArrow(-step)\"\n >\n -\n </button>\n</section>\n\n<ng-container *ngIf=\"polymorpheusValueContent.changes | async\"></ng-container>\n\n<ng-template #valueContent>\n <ng-content select=\"tuiContent\"></ng-content>\n</ng-template>\n", styles: [":host{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content{width:100%}.t-buttons{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem}[data-size=s]+.t-buttons{flex-direction:row-reverse}[data-size=s]+.t-buttons .t-button:first-child{margin:0 0 0 .125rem;border-radius:0 var(--tui-radius-m) var(--tui-radius-m) 0}[data-size=s]+.t-buttons .t-button:last-child{border-radius:0}[data-size=m]+.t-buttons .t-button{width:calc(var(--tui-height-m) * .75)}[data-size=l]+.t-buttons .t-button{width:calc(var(--tui-height-l) * .75)}.t-button{display:flex;flex:1;height:auto}.t-button:first-child{margin-bottom:.125rem;border-radius:0 var(--tui-radius-m) 0 0}.t-button:last-child{border-radius:0 0 var(--tui-radius-m)}\n"], components: [{ type: i1__namespace.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i1__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i1__namespace.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i3__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i4__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
633
600
|
__decorate([
|
|
634
|
-
|
|
635
|
-
], TuiInputNumberComponent.prototype, "
|
|
636
|
-
__decorate([
|
|
637
|
-
i5.tuiDefaultProp()
|
|
638
|
-
], TuiInputNumberComponent.prototype, "prefix", void 0);
|
|
639
|
-
__decorate([
|
|
640
|
-
i5.tuiDefaultProp()
|
|
641
|
-
], TuiInputNumberComponent.prototype, "postfix", void 0);
|
|
601
|
+
cdk.tuiPure
|
|
602
|
+
], TuiInputNumberComponent.prototype, "calculateMask", null);
|
|
642
603
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberComponent, decorators: [{
|
|
643
604
|
type: i0.Component,
|
|
644
605
|
args: [{
|
|
@@ -647,8 +608,8 @@
|
|
|
647
608
|
styleUrls: ['./input-number.style.less'],
|
|
648
609
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
649
610
|
providers: [
|
|
650
|
-
|
|
651
|
-
|
|
611
|
+
cdk.tuiAsFocusableItemAccessor(TuiInputNumberComponent),
|
|
612
|
+
cdk.tuiAsControl(TuiInputNumberComponent),
|
|
652
613
|
],
|
|
653
614
|
}]
|
|
654
615
|
}], ctorParameters: function () {
|
|
@@ -670,7 +631,7 @@
|
|
|
670
631
|
args: [i1.TUI_NUMBER_FORMAT]
|
|
671
632
|
}] }, { type: undefined, decorators: [{
|
|
672
633
|
type: i0.Inject,
|
|
673
|
-
args: [
|
|
634
|
+
args: [cdk.TUI_IS_IOS]
|
|
674
635
|
}] }];
|
|
675
636
|
}, propDecorators: { primitiveTextfield: [{
|
|
676
637
|
type: i0.ViewChild,
|
|
@@ -691,17 +652,14 @@
|
|
|
691
652
|
type: i0.Input
|
|
692
653
|
}], polymorpheusValueContent: [{
|
|
693
654
|
type: i0.ContentChildren,
|
|
694
|
-
args: [
|
|
655
|
+
args: [i5.PolymorpheusOutletDirective, { descendants: true }]
|
|
695
656
|
}], onArrow: [{
|
|
696
657
|
type: i0.HostListener,
|
|
697
658
|
args: ['keydown.arrowDown', ['-step']]
|
|
698
659
|
}, {
|
|
699
660
|
type: i0.HostListener,
|
|
700
661
|
args: ['keydown.arrowUp', ['step']]
|
|
701
|
-
}],
|
|
702
|
-
type: i0.HostListener,
|
|
703
|
-
args: ['keydown.0', ['$event']]
|
|
704
|
-
}] } });
|
|
662
|
+
}], calculateMask: [] } });
|
|
705
663
|
|
|
706
664
|
var TuiInputNumberDirective = /** @class */ (function (_super) {
|
|
707
665
|
__extends(TuiInputNumberDirective, _super);
|
|
@@ -743,35 +701,32 @@
|
|
|
743
701
|
return TuiInputNumberModule;
|
|
744
702
|
}());
|
|
745
703
|
TuiInputNumberModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
746
|
-
TuiInputNumberModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, declarations: [TuiInputNumberComponent, TuiInputNumberDirective], imports: [
|
|
747
|
-
|
|
748
|
-
i5.TuiMapperPipeModule,
|
|
704
|
+
TuiInputNumberModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, declarations: [TuiInputNumberComponent, TuiInputNumberDirective], imports: [i4.CommonModule,
|
|
705
|
+
i3.MaskitoModule,
|
|
749
706
|
i1.TuiPrimitiveTextfieldModule,
|
|
750
707
|
i1.TuiTextfieldControllerModule,
|
|
751
708
|
i2.TuiValueAccessorModule,
|
|
752
|
-
|
|
709
|
+
i5.PolymorpheusModule,
|
|
753
710
|
i1.TuiButtonModule], exports: [TuiInputNumberComponent, TuiInputNumberDirective, i1.TuiTextfieldComponent] });
|
|
754
711
|
TuiInputNumberModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, imports: [[
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
i5.TuiMapperPipeModule,
|
|
712
|
+
i4.CommonModule,
|
|
713
|
+
i3.MaskitoModule,
|
|
758
714
|
i1.TuiPrimitiveTextfieldModule,
|
|
759
715
|
i1.TuiTextfieldControllerModule,
|
|
760
716
|
i2.TuiValueAccessorModule,
|
|
761
|
-
|
|
717
|
+
i5.PolymorpheusModule,
|
|
762
718
|
i1.TuiButtonModule,
|
|
763
719
|
]] });
|
|
764
720
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, decorators: [{
|
|
765
721
|
type: i0.NgModule,
|
|
766
722
|
args: [{
|
|
767
723
|
imports: [
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
i5.TuiMapperPipeModule,
|
|
724
|
+
i4.CommonModule,
|
|
725
|
+
i3.MaskitoModule,
|
|
771
726
|
i1.TuiPrimitiveTextfieldModule,
|
|
772
727
|
i1.TuiTextfieldControllerModule,
|
|
773
728
|
i2.TuiValueAccessorModule,
|
|
774
|
-
|
|
729
|
+
i5.PolymorpheusModule,
|
|
775
730
|
i1.TuiButtonModule,
|
|
776
731
|
],
|
|
777
732
|
declarations: [TuiInputNumberComponent, TuiInputNumberDirective],
|