@taiga-ui/kit 2.13.0 → 2.16.0-fixed
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 +4 -3
- package/abstract/slider/slider.d.ts +2 -2
- package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
- package/bundles/taiga-ui-kit-abstract.umd.js +28 -12
- 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-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-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-field-error.umd.js +17 -6
- package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-field-error.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +86 -30
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js +2 -2
- 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 +24 -24
- 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 +2 -2
- 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 +61 -32
- 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 +2 -2
- 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 +18 -17
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js +2 -2
- 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 -0
- package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +28 -14
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +23 -7
- 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 +15 -4
- 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 +20 -15
- 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 +15 -10
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
- 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 -3
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +1 -0
- 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-multi-select.umd.js +20 -6
- 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-progress.umd.js +325 -0
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-progress.umd.min.js +16 -0
- package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -0
- package/bundles/taiga-ui-kit-components-radio.umd.js +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 +1 -2
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +1 -2
- 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-tabs.umd.js +17 -9
- 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 +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 +16 -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 +2 -2
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +52 -26
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.js +12 -4
- package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +390 -0
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +16 -0
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -0
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +1 -0
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-directives.umd.js +12 -4
- package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +4 -0
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-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 +7 -7
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.min.js +2 -2
- package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
- package/bundles/taiga-ui-kit-validators.umd.js +1 -0
- package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-validators.umd.min.js.map +1 -1
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
- package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
- package/components/field-error/field-error.component.d.ts +2 -0
- package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
- package/components/index.d.ts +1 -0
- package/components/input-count/index.d.ts +1 -0
- package/components/input-count/input-count-options.d.ts +19 -0
- package/components/input-count/input-count.component.d.ts +10 -3
- package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
- package/components/input-date/input-date.component.d.ts +7 -4
- 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 +8 -5
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
- package/components/input-date-time/input-date-time.component.d.ts +10 -5
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
- package/components/input-number/input-number.component.d.ts +4 -2
- package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
- package/components/input-phone/input-phone.component.d.ts +4 -2
- 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 +5 -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 +4 -2
- package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +1 -1
- package/components/input-slider/input-slider.component.d.ts +4 -2
- package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
- package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
- package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
- package/components/multi-select/multi-select.component.d.ts +4 -2
- package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
- package/components/progress/index.d.ts +4 -0
- package/components/progress/package.json +13 -0
- package/components/progress/pipes/progress-color-segments.pipe.d.ts +8 -0
- package/components/progress/progress-bar/progress-bar.component.d.ts +5 -0
- package/components/progress/progress-label/progress-label.component.d.ts +2 -0
- package/components/progress/progress.module.d.ts +2 -0
- package/components/progress/taiga-ui-kit-components-progress.d.ts +4 -0
- package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -0
- package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
- package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
- package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
- package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
- package/components/tabs/tab/tab.component.d.ts +5 -2
- package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
- package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
- package/components/taiga-ui-kit-components.metadata.json +1 -1
- package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
- package/components/text-area/text-area.component.d.ts +2 -0
- package/components/toggle/index.d.ts +1 -0
- package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
- package/components/toggle/toggle-options.d.ts +16 -0
- package/components/toggle/toggle.component.d.ts +7 -4
- package/directives/dropdown-context/dropdown-context.directive.d.ts +28 -0
- package/directives/dropdown-context/dropdown-context.module.d.ts +2 -0
- package/directives/dropdown-context/index.d.ts +2 -0
- package/directives/dropdown-context/package.json +13 -0
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +4 -0
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -0
- package/directives/index.d.ts +1 -0
- package/directives/taiga-ui-kit-directives.metadata.json +1 -1
- package/esm2015/abstract/input-slider.js +14 -9
- package/esm2015/abstract/slider/slider.js +10 -6
- package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
- package/esm2015/components/checkbox/checkbox.component.js +1 -1
- package/esm2015/components/field-error/field-error.component.js +10 -2
- package/esm2015/components/field-error/field-error.module.js +2 -3
- package/esm2015/components/index.js +2 -1
- package/esm2015/components/input-count/index.js +2 -1
- package/esm2015/components/input-count/input-count-options.js +21 -0
- package/esm2015/components/input-count/input-count.component.js +49 -25
- package/esm2015/components/input-count/input-count.module.js +3 -1
- package/esm2015/components/input-date/input-date.component.js +18 -13
- package/esm2015/components/input-date/input-date.module.js +3 -2
- package/esm2015/components/input-date-range/input-date-range.component.js +25 -20
- package/esm2015/components/input-date-time/input-date-time.component.js +58 -38
- package/esm2015/components/input-file/file/file.component.js +2 -1
- package/esm2015/components/input-number/input-number.component.js +26 -16
- package/esm2015/components/input-phone/input-phone.component.js +13 -6
- package/esm2015/components/input-phone-international/input-phone-international.component.js +23 -8
- package/esm2015/components/input-phone-international/input-phone-international.module.js +5 -4
- package/esm2015/components/input-range/input-range.component.js +22 -16
- package/esm2015/components/input-range/input-range.module.js +2 -3
- package/esm2015/components/input-slider/input-slider.component.js +17 -11
- package/esm2015/components/input-slider/input-slider.module.js +2 -3
- package/esm2015/components/input-tag/input-tag.component.js +6 -4
- package/esm2015/components/input-time/input-time.component.js +2 -1
- package/esm2015/components/multi-select/multi-select.component.js +18 -8
- package/esm2015/components/progress/index.js +5 -0
- package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +34 -0
- package/esm2015/components/progress/progress-bar/progress-bar.component.js +27 -0
- package/esm2015/components/progress/progress-label/progress-label.component.js +14 -0
- package/esm2015/components/progress/progress.module.js +25 -0
- package/esm2015/components/progress/taiga-ui-kit-components-progress.js +5 -0
- package/esm2015/components/radio/radio.component.js +1 -1
- package/esm2015/components/range/range.component.js +2 -2
- package/esm2015/components/range/range.module.js +2 -3
- package/esm2015/components/select-option/select-option.component.js +1 -1
- package/esm2015/components/slider/slider.component.js +2 -2
- package/esm2015/components/slider/slider.module.js +2 -3
- package/esm2015/components/tabs/tab/tab.component.js +19 -11
- package/esm2015/components/tabs/underline/underline.component.js +1 -1
- package/esm2015/components/tag/tag.component.js +1 -1
- package/esm2015/components/text-area/text-area.component.js +9 -3
- package/esm2015/components/toggle/index.js +2 -1
- package/esm2015/components/toggle/toggle-options.js +19 -0
- package/esm2015/components/toggle/toggle.component.js +19 -15
- package/esm2015/components/toggle/toggle.module.js +3 -1
- package/esm2015/directives/dropdown-context/dropdown-context.directive.js +137 -0
- package/esm2015/directives/dropdown-context/dropdown-context.module.js +15 -0
- package/esm2015/directives/dropdown-context/index.js +3 -0
- package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +5 -0
- package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +2 -1
- package/esm2015/directives/index.js +2 -1
- package/esm2015/interfaces/with-date-mask-pipe-config.js +1 -1
- package/esm2015/tokens/i18n.js +4 -1
- package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +3 -3
- package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +7 -7
- package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +3 -2
- package/esm2015/validators/unfinished.validator.js +2 -1
- package/esm5/abstract/input-slider.js +18 -9
- package/esm5/abstract/slider/slider.js +14 -6
- package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +2 -2
- package/esm5/components/checkbox/checkbox.component.js +1 -1
- package/esm5/components/field-error/field-error.component.js +14 -2
- package/esm5/components/field-error/field-error.module.js +2 -3
- package/esm5/components/index.js +2 -1
- package/esm5/components/input-count/index.js +2 -1
- package/esm5/components/input-count/input-count-options.js +21 -0
- package/esm5/components/input-count/input-count.component.js +61 -29
- package/esm5/components/input-count/input-count.module.js +3 -1
- package/esm5/components/input-date/input-date.component.js +18 -17
- package/esm5/components/input-date/input-date.module.js +3 -2
- package/esm5/components/input-date-range/input-date-range.component.js +25 -24
- package/esm5/components/input-date-time/input-date-time.component.js +66 -37
- package/esm5/components/input-file/file/file.component.js +2 -1
- package/esm5/components/input-number/input-number.component.js +30 -16
- package/esm5/components/input-phone/input-phone.component.js +17 -6
- package/esm5/components/input-phone-international/input-phone-international.component.js +23 -8
- package/esm5/components/input-phone-international/input-phone-international.module.js +5 -4
- package/esm5/components/input-range/input-range.component.js +22 -16
- package/esm5/components/input-range/input-range.module.js +2 -3
- package/esm5/components/input-slider/input-slider.component.js +17 -11
- package/esm5/components/input-slider/input-slider.module.js +2 -3
- package/esm5/components/input-tag/input-tag.component.js +6 -4
- package/esm5/components/input-time/input-time.component.js +2 -1
- package/esm5/components/multi-select/multi-select.component.js +22 -8
- package/esm5/components/progress/index.js +5 -0
- package/esm5/components/progress/pipes/progress-color-segments.pipe.js +37 -0
- package/esm5/components/progress/progress-bar/progress-bar.component.js +28 -0
- package/esm5/components/progress/progress-label/progress-label.component.js +17 -0
- package/esm5/components/progress/progress.module.js +28 -0
- package/esm5/components/progress/taiga-ui-kit-components-progress.js +5 -0
- package/esm5/components/radio/radio.component.js +1 -1
- package/esm5/components/range/range.component.js +2 -2
- package/esm5/components/range/range.module.js +2 -3
- package/esm5/components/select-option/select-option.component.js +1 -1
- package/esm5/components/slider/slider.component.js +2 -2
- package/esm5/components/slider/slider.module.js +2 -3
- package/esm5/components/tabs/tab/tab.component.js +19 -11
- package/esm5/components/tabs/underline/underline.component.js +1 -1
- package/esm5/components/tag/tag.component.js +1 -1
- package/esm5/components/text-area/text-area.component.js +17 -3
- package/esm5/components/toggle/index.js +2 -1
- package/esm5/components/toggle/toggle-options.js +21 -0
- package/esm5/components/toggle/toggle.component.js +27 -23
- package/esm5/components/toggle/toggle.module.js +3 -1
- package/esm5/directives/dropdown-context/dropdown-context.directive.js +153 -0
- package/esm5/directives/dropdown-context/dropdown-context.module.js +18 -0
- package/esm5/directives/dropdown-context/index.js +3 -0
- package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +5 -0
- package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +2 -1
- package/esm5/directives/index.js +2 -1
- package/esm5/interfaces/with-date-mask-pipe-config.js +1 -1
- package/esm5/tokens/i18n.js +4 -1
- package/esm5/utils/mask/create-auto-corrected-date-pipe.js +3 -3
- package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +7 -7
- package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +3 -2
- package/esm5/validators/unfinished.validator.js +2 -1
- package/fesm2015/taiga-ui-kit-abstract.js +21 -13
- package/fesm2015/taiga-ui-kit-abstract.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-checkbox.js +1 -1
- package/fesm2015/taiga-ui-kit-components-field-error.js +11 -3
- package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +71 -26
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +24 -19
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +56 -36
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +18 -12
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-file.js +1 -0
- package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +25 -15
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +26 -10
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +12 -5
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +21 -16
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +16 -11
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +5 -3
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +1 -0
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +17 -7
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +93 -0
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-radio.js +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +2 -3
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +2 -3
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +18 -10
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +8 -2
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +39 -16
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components.js +1 -0
- package/fesm2015/taiga-ui-kit-components.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +153 -0
- package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -0
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +1 -0
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives.js +1 -0
- package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +4 -1
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-mask.js +8 -8
- package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-kit-validators.js +1 -0
- package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
- package/fesm5/taiga-ui-kit-abstract.js +29 -13
- package/fesm5/taiga-ui-kit-abstract.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-checkbox.js +1 -1
- package/fesm5/taiga-ui-kit-components-field-error.js +15 -3
- package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-count.js +83 -30
- package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date-range.js +24 -23
- package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date-time.js +66 -37
- package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-date.js +18 -16
- package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-file.js +1 -0
- package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-number.js +29 -15
- package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-phone-international.js +26 -10
- package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-phone.js +16 -5
- package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-range.js +21 -16
- package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-slider.js +16 -11
- package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-tag.js +5 -3
- package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-input-time.js +1 -0
- package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-multi-select.js +21 -7
- package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-progress.js +103 -0
- package/fesm5/taiga-ui-kit-components-progress.js.map +1 -0
- package/fesm5/taiga-ui-kit-components-radio.js +1 -1
- package/fesm5/taiga-ui-kit-components-range.js +2 -3
- package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-select-option.js +1 -1
- package/fesm5/taiga-ui-kit-components-slider.js +2 -3
- package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-tabs.js +18 -10
- package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-tag.js +1 -1
- package/fesm5/taiga-ui-kit-components-text-area.js +16 -2
- package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm5/taiga-ui-kit-components-toggle.js +49 -24
- package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm5/taiga-ui-kit-components.js +1 -0
- package/fesm5/taiga-ui-kit-components.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-context.js +172 -0
- package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -0
- package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +1 -0
- package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
- package/fesm5/taiga-ui-kit-directives.js +1 -0
- package/fesm5/taiga-ui-kit-directives.js.map +1 -1
- package/fesm5/taiga-ui-kit-tokens.js +4 -1
- package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm5/taiga-ui-kit-utils-mask.js +8 -8
- package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
- package/fesm5/taiga-ui-kit-validators.js +1 -0
- package/fesm5/taiga-ui-kit-validators.js.map +1 -1
- package/interfaces/with-date-mask-pipe-config.d.ts +4 -1
- package/package.json +4 -4
- package/tokens/i18n.d.ts +2 -0
- package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
- package/utils/mask/create-auto-corrected-date-pipe.d.ts +3 -4
- package/utils/mask/create-auto-corrected-date-range-pipe.d.ts +2 -3
- package/utils/mask/create-auto-corrected-date-time-pipe.d.ts +2 -3
- package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
|
@@ -226,10 +226,11 @@
|
|
|
226
226
|
// @dynamic
|
|
227
227
|
var TuiInputRangeComponent = /** @class */ (function (_super) {
|
|
228
228
|
__extends(TuiInputRangeComponent, _super);
|
|
229
|
-
function TuiInputRangeComponent(control, changeDetectorRef, modeDirective, isMobile) {
|
|
229
|
+
function TuiInputRangeComponent(control, changeDetectorRef, modeDirective, isMobile, numberFormat) {
|
|
230
230
|
var _this = _super.call(this, control, changeDetectorRef) || this;
|
|
231
231
|
_this.modeDirective = modeDirective;
|
|
232
232
|
_this.isMobile = isMobile;
|
|
233
|
+
_this.numberFormat = numberFormat;
|
|
233
234
|
return _this;
|
|
234
235
|
}
|
|
235
236
|
TuiInputRangeComponent_1 = TuiInputRangeComponent;
|
|
@@ -291,14 +292,14 @@
|
|
|
291
292
|
});
|
|
292
293
|
Object.defineProperty(TuiInputRangeComponent.prototype, "computedValueLeft", {
|
|
293
294
|
get: function () {
|
|
294
|
-
return
|
|
295
|
+
return this.formatNumber(this.value[0]);
|
|
295
296
|
},
|
|
296
297
|
enumerable: true,
|
|
297
298
|
configurable: true
|
|
298
299
|
});
|
|
299
300
|
Object.defineProperty(TuiInputRangeComponent.prototype, "computedValueRight", {
|
|
300
301
|
get: function () {
|
|
301
|
-
return
|
|
302
|
+
return this.formatNumber(this.value[1]);
|
|
302
303
|
},
|
|
303
304
|
enumerable: true,
|
|
304
305
|
configurable: true
|
|
@@ -346,7 +347,7 @@
|
|
|
346
347
|
if (core$1.maskedMoneyValueIsEmpty(value) || capped === null) {
|
|
347
348
|
return;
|
|
348
349
|
}
|
|
349
|
-
var newValue =
|
|
350
|
+
var newValue = this.formatNumber(capped) + postfix;
|
|
350
351
|
if (this.nativeLeft && this.inputValueLeft !== newValue) {
|
|
351
352
|
this.nativeLeft.nativeElement.value = newValue;
|
|
352
353
|
}
|
|
@@ -359,7 +360,7 @@
|
|
|
359
360
|
if (core$1.maskedMoneyValueIsEmpty(value) || capped === null) {
|
|
360
361
|
return;
|
|
361
362
|
}
|
|
362
|
-
var newValue =
|
|
363
|
+
var newValue = this.formatNumber(capped) + postfix;
|
|
363
364
|
if (this.nativeRight && this.inputValueRight !== newValue) {
|
|
364
365
|
this.nativeRight.nativeElement.value = newValue;
|
|
365
366
|
}
|
|
@@ -382,15 +383,15 @@
|
|
|
382
383
|
cdk.setNativeFocused(element);
|
|
383
384
|
}
|
|
384
385
|
this.updateValue(guardedValue);
|
|
385
|
-
this.nativeLeft.nativeElement.value =
|
|
386
|
+
this.nativeLeft.nativeElement.value = this.formatNumber(guardedValue[0]);
|
|
386
387
|
};
|
|
387
388
|
TuiInputRangeComponent.prototype.onLeftFocused = function (focused) {
|
|
388
389
|
if (focused || !this.nativeLeft) {
|
|
389
390
|
return;
|
|
390
391
|
}
|
|
391
|
-
var inputValue = core$1.maskedNumberStringToNumber(this.computedValueLeft);
|
|
392
|
+
var inputValue = core$1.maskedNumberStringToNumber(this.computedValueLeft, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator);
|
|
392
393
|
var value = isNaN(inputValue) ? this.min : this.valueGuard(inputValue);
|
|
393
|
-
this.nativeLeft.nativeElement.value =
|
|
394
|
+
this.nativeLeft.nativeElement.value = this.formatNumber(value);
|
|
394
395
|
if (value !== this.value[0]) {
|
|
395
396
|
this.updateValue([value, this.value[1]]);
|
|
396
397
|
}
|
|
@@ -399,11 +400,11 @@
|
|
|
399
400
|
if (focused || !this.nativeRight) {
|
|
400
401
|
return;
|
|
401
402
|
}
|
|
402
|
-
var inputValue = core$1.maskedNumberStringToNumber(this.computedValueRight);
|
|
403
|
+
var inputValue = core$1.maskedNumberStringToNumber(this.computedValueRight, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator);
|
|
403
404
|
var value = isNaN(inputValue)
|
|
404
405
|
? this.value[0]
|
|
405
406
|
: this.valueGuard(Math.max(inputValue, this.value[0]));
|
|
406
|
-
this.nativeRight.nativeElement.value =
|
|
407
|
+
this.nativeRight.nativeElement.value = this.formatNumber(value);
|
|
407
408
|
if (value !== this.value[1]) {
|
|
408
409
|
this.updateValue([this.value[0], value]);
|
|
409
410
|
}
|
|
@@ -411,6 +412,9 @@
|
|
|
411
412
|
TuiInputRangeComponent.prototype.getFallbackValue = function () {
|
|
412
413
|
return [0, 0];
|
|
413
414
|
};
|
|
415
|
+
TuiInputRangeComponent.prototype.formatNumber = function (value) {
|
|
416
|
+
return core$1.formatNumber(value, null, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator);
|
|
417
|
+
};
|
|
414
418
|
TuiInputRangeComponent.prototype.processStep = function (increment, right) {
|
|
415
419
|
var start = this.valueGuard(increment ? this.value[0] + this.step : this.value[0] - this.step);
|
|
416
420
|
var end = this.valueGuard(increment ? this.value[1] + this.step : this.value[1] - this.step);
|
|
@@ -427,7 +431,8 @@
|
|
|
427
431
|
{ type: forms.NgControl, decorators: [{ type: core.Optional }, { type: core.Self }, { type: core.Inject, args: [forms.NgControl,] }] },
|
|
428
432
|
{ type: core.ChangeDetectorRef, decorators: [{ type: core.Inject, args: [core.ChangeDetectorRef,] }] },
|
|
429
433
|
{ type: core$1.TuiModeDirective, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core$1.TuiModeDirective,] }] },
|
|
430
|
-
{ type: Boolean, decorators: [{ type: core.Inject, args: [cdk.TUI_IS_MOBILE,] }] }
|
|
434
|
+
{ type: Boolean, decorators: [{ type: core.Inject, args: [cdk.TUI_IS_MOBILE,] }] },
|
|
435
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [core$1.TUI_NUMBER_FORMAT,] }] }
|
|
431
436
|
]; };
|
|
432
437
|
__decorate([
|
|
433
438
|
core.ViewChild('nativeLeft')
|
|
@@ -444,7 +449,7 @@
|
|
|
444
449
|
TuiInputRangeComponent = TuiInputRangeComponent_1 = __decorate([
|
|
445
450
|
core.Component({
|
|
446
451
|
selector: 'tui-input-range',
|
|
447
|
-
template: "<div class=\"zone\" (tuiActiveZoneChange)=\"onActiveZone($event)\">\n <tui-wrapper\n appearance=\"textfield\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocused\"\n [hovered]=\"computedHovered\"\n [invalid]=\"computedInvalid\"\n >\n <span\n *ngIf=\"hasPlaceholder\"\n class=\"placeholder\"\n automation-id=\"tui-input-range__placeholder\"\n >\n <ng-content></ng-content>\n </span>\n <div class=\"content\">\n <span *ngIf=\"!showMinLabel\" class=\"label\">\n <span class=\"value\">{{inputValueLeft}}</span>\n <span\n *ngIf=\"
|
|
452
|
+
template: "<div class=\"zone\" (tuiActiveZoneChange)=\"onActiveZone($event)\">\n <tui-wrapper\n appearance=\"textfield\"\n [readOnly]=\"readOnly\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocused\"\n [hovered]=\"computedHovered\"\n [invalid]=\"computedInvalid\"\n >\n <span\n *ngIf=\"hasPlaceholder\"\n class=\"placeholder\"\n automation-id=\"tui-input-range__placeholder\"\n >\n <ng-content></ng-content>\n </span>\n <div class=\"content\">\n <span *ngIf=\"!showMinLabel\" class=\"label\">\n <span class=\"value\">{{inputValueLeft}}</span>\n <span\n *ngIf=\"pluralizeMap\"\n class=\"pluralize\"\n automation-id=\"tui-input-range__pluralize-left\"\n >\n {{value[0] | i18nPlural: pluralizeMap}}\n </span>\n </span>\n <span\n *ngIf=\"showMinLabel\"\n class=\"label\"\n automation-id=\"tui-input-range__min-label\"\n >\n {{minLabel}}\n </span>\n <span\n *ngIf=\"showMaxLabel\"\n automation-id=\"tui-input-range__max-label\"\n class=\"max\"\n >\n {{maxLabel}}\n </span>\n </div>\n <tui-range\n class=\"slider\"\n [min]=\"min\"\n [max]=\"max\"\n [steps]=\"computedSteps\"\n [segments]=\"segments\"\n [keySteps]=\"keySteps\"\n [pluralize]=\"segmentsPluralize\"\n [focusable]=\"false\"\n [disabled]=\"readOnly || disabled\"\n [ngModel]=\"value\"\n (ngModelChange)=\"onRangeValue($event)\"\n (mousedown.prevent)=\"onMouseDown()\"\n ></tui-range>\n </tui-wrapper>\n\n <div class=\"native-wrapper\" (tuiHoveredChange)=\"onHovered($event)\">\n <input\n #nativeLeft\n class=\"native\"\n automation-id=\"tui-input-range__native-left\"\n [disabled]=\"disabled\"\n [readOnly]=\"readOnly\"\n [class.native_hidden]=\"showMinLabel\"\n [tuiInputMode]=\"inputMode\"\n [tuiFocusable]=\"focusable\"\n [textMask]=\"quantum | tuiMapper: mask: min\"\n [ngModel]=\"computedValueLeft\"\n (ngModelChange)=\"onInputLeft()\"\n (tuiFocusedChange)=\"onLeftFocused($event)\"\n (keydown.arrowUp)=\"onKeyDownArrowUpLeft($event)\"\n (keydown.arrowDown)=\"onKeyDownArrowDownLeft($event)\"\n />\n <input\n #nativeRight\n class=\"native native_right\"\n automation-id=\"tui-input-range__native-right\"\n [disabled]=\"disabled\"\n [readOnly]=\"readOnly\"\n [class.native_hidden]=\"showMaxLabel\"\n [tuiInputMode]=\"inputMode\"\n [tuiFocusable]=\"focusable\"\n [textMask]=\"quantum | tuiMapper: mask: min\"\n [ngModel]=\"computedValueRight\"\n (ngModelChange)=\"onInputRight()\"\n (tuiFocusedChange)=\"onRightFocused($event)\"\n (keydown.arrowUp)=\"onKeyDownArrowUpRight($event)\"\n (keydown.arrowDown)=\"onKeyDownArrowDownRight($event)\"\n />\n <span\n *ngIf=\"pluralizeMap && !showMaxLabel\"\n class=\"pluralize pluralize_right\"\n automation-id=\"tui-input-range__pluralize-right\"\n (mousedown)=\"onMouseDown()\"\n >\n {{value[1] | i18nPlural: pluralizeMap}}\n </span>\n </div>\n</div>\n",
|
|
448
453
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
449
454
|
providers: [
|
|
450
455
|
{
|
|
@@ -452,7 +457,7 @@
|
|
|
452
457
|
useExisting: core.forwardRef(function () { return TuiInputRangeComponent_1; }),
|
|
453
458
|
},
|
|
454
459
|
],
|
|
455
|
-
styles: [":host{font:var(--tui-font-text-m);position:relative;z-index:0;display:block;border-radius:var(--tui-radius-m);color:var(--tui-text-01)}:host._segmented{border-bottom:26px solid transparent}:host[data-mode=onDark]{color:var(--tui-base-01)}.zone{border-radius:inherit}.native-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.pluralize{display:flex;align-items:center;padding-right:.75rem;margin-left:-.5rem}.pluralize_right{margin-left:-.75rem}:host[data-tui-host-size='l'] .pluralize_right{padding-top:1.25rem}:host._disabled .pluralize_right{color:var(--tui-text-03)}:host[data-mode=onDark]._disabled .pluralize_right{color:var(--tui-text-03-night)}.native{padding:0 1rem;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;flex:1;min-width:0;color:var(--tui-text-01);box-sizing:border-box;outline:0}.native:-webkit-autofill,.native:-webkit-autofill:focus,.native:-webkit-autofill:hover{border-radius:inherit;-webkit-text-fill-color:
|
|
460
|
+
styles: [":host{font:var(--tui-font-text-m);position:relative;z-index:0;display:block;border-radius:var(--tui-radius-m);color:var(--tui-text-01)}:host._segmented{border-bottom:26px solid transparent}:host[data-mode=onDark]{color:var(--tui-base-01)}.zone{border-radius:inherit}.native-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.pluralize{display:flex;align-items:center;padding-right:.75rem;margin-left:-.5rem}.pluralize_right{margin-left:-.75rem}:host[data-tui-host-size='l'] .pluralize_right{padding-top:1.25rem}:host._disabled .pluralize_right{color:var(--tui-text-03)}:host[data-mode=onDark]._disabled .pluralize_right{color:var(--tui-text-03-night)}.native{padding:0 1rem;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;flex:1;min-width:0;color:var(--tui-text-01);box-sizing:border-box;outline:0}.native:-webkit-autofill,.native:-webkit-autofill:focus,.native:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 1000px var(--tui-autofill) inset!important}.native_right{text-align:right}.native_hidden{opacity:0}:host._disabled .native{color:var(--tui-text-03);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host[data-tui-host-size='l'] .native{padding:1.25rem 1rem 0}:host[data-mode=onDark] .native{color:var(--tui-text-01-night)}:host[data-mode=onDark]._disabled .native{color:var(--tui-text-03-night)}.content{display:flex;height:var(--tui-height-m);padding:0 1rem;justify-content:space-between;align-items:center}:host[data-tui-host-size='l'] .content{height:var(--tui-height-l);padding:0 1rem}:host[data-tui-host-size='l']._disabled .content{color:var(--tui-text-03)}:host[data-tui-host-size='l'][data-mode=onDark]._disabled .content{color:var(--tui-text-03-night)}.placeholder{transition-property:transform,min-width,color,letter-spacing;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-size:.8125rem;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;color:var(--tui-text-02);transform-origin:left;letter-spacing:normal;text-transform:none;position:absolute;top:0;width:100%;height:100%;left:1rem;transform:translateY(-.625rem) scale(.87);line-height:var(--tui-height-l);max-width:calc(114% - 2rem)}.placeholder_raised{width:114%;transform:translateY(-.625rem) scale(.87)}:host[data-tui-host-size='m'] .placeholder_raised{width:118%;transform:translateY(-.5rem) scale(.85);letter-spacing:.025rem}:host._invalid:not(._focused) .placeholder_raised,:host._invalid:not(._focused)._hovered .placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused)._hovered .placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .placeholder,:host[data-tui-host-size='l']._focused._label-outside .placeholder,:host[data-tui-host-size='m']._focused._label-outside .placeholder{color:var(--tui-text-03)}:host[data-tui-host-size='l'] .placeholder{font-size:.9375rem}:host[data-tui-host-size='l']._focused:not(._label-outside) .placeholder,:host[data-tui-host-size='m']._focused:not(._label-outside) .placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .placeholder{color:var(--tui-text-02-night)}:host[data-tui-host-size='l'][data-mode=onDark]._focused:not(._label-outside) .placeholder,:host[data-tui-host-size='m'][data-mode=onDark]._focused:not(._label-outside) .placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .placeholder,:host[data-tui-host-size='l'][data-mode=onDark]._focused._label-outside .placeholder,:host[data-tui-host-size='m'][data-mode=onDark]._focused._label-outside .placeholder{color:var(--tui-text-02-night)}.value{visibility:hidden;overflow:hidden;padding-right:.75rem}:host._disabled .value{color:var(--tui-text-03)}.label{display:flex;width:50%}:host[data-tui-host-size='l'] .label{padding-top:1.25rem}.max{text-align:right;flex:1}:host[data-tui-host-size='l'] .max{padding-top:1.25rem;line-height:calc(var(--tui-height-l) - 1.25rem)}.slider{position:absolute;top:100%;left:0;right:0;z-index:1;border-top-left-radius:0;border-top-right-radius:0;margin:-.5625rem 0 0;color:transparent}:host._disabled .slider,:host._readonly .slider{pointer-events:none}"]
|
|
456
461
|
}),
|
|
457
462
|
__param(0, core.Optional()),
|
|
458
463
|
__param(0, core.Self()),
|
|
@@ -460,7 +465,8 @@
|
|
|
460
465
|
__param(1, core.Inject(core.ChangeDetectorRef)),
|
|
461
466
|
__param(2, core.Optional()),
|
|
462
467
|
__param(2, core.Inject(core$1.TuiModeDirective)),
|
|
463
|
-
__param(3, core.Inject(cdk.TUI_IS_MOBILE))
|
|
468
|
+
__param(3, core.Inject(cdk.TUI_IS_MOBILE)),
|
|
469
|
+
__param(4, core.Inject(core$1.TUI_NUMBER_FORMAT))
|
|
464
470
|
], TuiInputRangeComponent);
|
|
465
471
|
return TuiInputRangeComponent;
|
|
466
472
|
}(abstract.AbstractTuiInputSlider));
|
|
@@ -482,7 +488,6 @@
|
|
|
482
488
|
cdk.TuiMapperPipeModule,
|
|
483
489
|
cdk.TuiInputModeModule,
|
|
484
490
|
cdk.TuiActiveZoneModule,
|
|
485
|
-
core$1.TuiPluralizePipeModule,
|
|
486
491
|
range.TuiRangeModule,
|
|
487
492
|
core$1.TuiWrapperModule,
|
|
488
493
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-input-range.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-range/input-range.component.ts","ng://@taiga-ui/kit/components/input-range/input-range.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n HostBinding,\n Inject,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocused,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n formatNumber,\n maskedMoneyValueIsEmpty,\n maskedNumberStringToNumber,\n TuiModeDirective,\n} from '@taiga-ui/core';\nimport {AbstractTuiInputSlider} from '@taiga-ui/kit/abstract';\n\n// @dynamic\n@Component({\n selector: 'tui-input-range',\n templateUrl: './input-range.template.html',\n styleUrls: ['./input-range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputRangeComponent),\n },\n ],\n})\nexport class TuiInputRangeComponent\n extends AbstractTuiInputSlider<[number, number]>\n implements TuiFocusableElementAccessor {\n @ViewChild('nativeLeft')\n private readonly nativeLeft?: ElementRef<HTMLInputElement>;\n\n @ViewChild('nativeRight')\n private readonly nativeRight?: ElementRef<HTMLInputElement>;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Optional()\n @Inject(TuiModeDirective)\n protected readonly modeDirective: TuiModeDirective | null,\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return !this.nativeLeft || this.disabled ? null : this.nativeLeft.nativeElement;\n }\n\n get focused(): boolean {\n return this.focusedLeft || this.focusedRight;\n }\n\n get focusedLeft(): boolean {\n return !!this.nativeLeft && isNativeFocused(this.nativeLeft.nativeElement);\n }\n\n get focusedRight(): boolean {\n return !!this.nativeRight && isNativeFocused(this.nativeRight.nativeElement);\n }\n\n @HostBinding('class._min-label')\n get showMinLabel(): boolean {\n return !this.focusedLeft && !!this.minLabel && this.value[0] === this.min;\n }\n\n @HostBinding('class._max-label')\n get showMaxLabel(): boolean {\n return !this.focusedRight && !!this.maxLabel && this.value[1] === this.max;\n }\n\n get inputValueLeft(): string {\n return this.nativeLeft ? this.nativeLeft.nativeElement.value : '';\n }\n\n get inputValueRight(): string {\n return this.nativeRight ? this.nativeRight.nativeElement.value : '';\n }\n\n get computedValueLeft(): string {\n return formatNumber(this.value[0]);\n }\n\n get computedValueRight(): string {\n return formatNumber(this.value[1]);\n }\n\n onActiveZone(active: boolean) {\n this.updateFocused(active);\n }\n\n onMouseDown() {\n if (this.nativeRight && !this.isMobile) {\n setNativeFocused(this.nativeRight.nativeElement);\n }\n }\n\n onKeyDownArrowUpLeft(event: KeyboardEvent) {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n this.processStep(true, false);\n }\n\n onKeyDownArrowDownLeft(event: KeyboardEvent) {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n this.processStep(false, false);\n }\n\n onKeyDownArrowUpRight(event: KeyboardEvent) {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n this.processStep(true, true);\n }\n\n onKeyDownArrowDownRight(event: KeyboardEvent) {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n this.processStep(false, true);\n }\n\n onInputLeft() {\n const value = this.inputValueLeft;\n const capped = this.capInputValue(value, this.value[1]);\n const postfix = value.slice(-1)[0] === ',' ? ',' : '';\n\n if (maskedMoneyValueIsEmpty(value) || capped === null) {\n return;\n }\n\n const newValue = formatNumber(capped) + postfix;\n\n if (this.nativeLeft && this.inputValueLeft !== newValue) {\n this.nativeLeft.nativeElement.value = newValue;\n }\n\n this.updateValue([capped, this.value[1]]);\n }\n\n onInputRight() {\n const value = this.inputValueRight;\n const capped = this.capInputValue(value);\n const postfix = value.slice(-1)[0] === ',' ? ',' : '';\n\n if (maskedMoneyValueIsEmpty(value) || capped === null) {\n return;\n }\n\n const newValue = formatNumber(capped) + postfix;\n\n if (this.nativeRight && this.inputValueRight !== newValue) {\n this.nativeRight.nativeElement.value = newValue;\n }\n\n if (capped >= this.value[0]) {\n this.updateValue([this.value[0], capped]);\n }\n }\n\n onRangeValue(value: [number, number]) {\n const guardedValue = value.map(item => this.valueGuard(item)) as [number, number];\n\n if (\n !this.nativeLeft ||\n !this.nativeRight ||\n (guardedValue[0] === this.value[0] && guardedValue[1] === this.value[1])\n ) {\n return;\n }\n\n if (!this.isMobile) {\n const element =\n guardedValue[0] !== this.value[0]\n ? this.nativeLeft.nativeElement\n : this.nativeRight.nativeElement;\n\n setNativeFocused(element);\n }\n\n this.updateValue(guardedValue);\n this.nativeLeft.nativeElement.value = formatNumber(guardedValue[0]);\n }\n\n onLeftFocused(focused: boolean) {\n if (focused || !this.nativeLeft) {\n return;\n }\n\n const inputValue = maskedNumberStringToNumber(this.computedValueLeft);\n const value = isNaN(inputValue) ? this.min : this.valueGuard(inputValue);\n\n this.nativeLeft.nativeElement.value = formatNumber(value);\n\n if (value !== this.value[0]) {\n this.updateValue([value, this.value[1]]);\n }\n }\n\n onRightFocused(focused: boolean) {\n if (focused || !this.nativeRight) {\n return;\n }\n\n const inputValue = maskedNumberStringToNumber(this.computedValueRight);\n const value = isNaN(inputValue)\n ? this.value[0]\n : this.valueGuard(Math.max(inputValue, this.value[0]));\n\n this.nativeRight.nativeElement.value = formatNumber(value);\n\n if (value !== this.value[1]) {\n this.updateValue([this.value[0], value]);\n }\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n private processStep(increment: boolean, right: boolean) {\n const start = this.valueGuard(\n increment ? this.value[0] + this.step : this.value[0] - this.step,\n );\n const end = this.valueGuard(\n increment ? this.value[1] + this.step : this.value[1] - this.step,\n );\n const value: [number, number] = [\n right ? this.value[0] : Math.min(start, this.value[1]),\n right ? Math.max(end, this.value[0]) : this.value[1],\n ];\n\n if (value[0] !== this.value[0] || value[1] !== this.value[1]) {\n this.updateValue(value);\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiHoveredModule,\n TuiInputModeModule,\n TuiMapperPipeModule,\n TuiPressedModule,\n} from '@taiga-ui/cdk';\nimport {TuiPluralizePipeModule, TuiWrapperModule} from '@taiga-ui/core';\nimport {TuiRangeModule} from '@taiga-ui/kit/components/range';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputRangeComponent} from './input-range.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n TextMaskModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiHoveredModule,\n TuiPressedModule,\n TuiMapperPipeModule,\n TuiInputModeModule,\n TuiActiveZoneModule,\n TuiPluralizePipeModule,\n TuiRangeModule,\n TuiWrapperModule,\n ],\n declarations: [TuiInputRangeComponent],\n exports: [TuiInputRangeComponent],\n})\nexport class TuiInputRangeModule {}\n"],"names":["isNativeFocused","formatNumber","setNativeFocused","maskedMoneyValueIsEmpty","maskedNumberStringToNumber","NgControl","Optional","Self","Inject","ChangeDetectorRef","TuiModeDirective","TUI_IS_MOBILE","ViewChild","HostBinding","Component","ChangeDetectionStrategy","TUI_FOCUSABLE_ITEM_ACCESSOR","forwardRef","AbstractTuiInputSlider","NgModule","CommonModule","FormsModule","ReactiveFormsModule","TextMaskModule","TuiFocusableModule","TuiFocusedModule","TuiHoveredModule","TuiPressedModule","TuiMapperPipeModule","TuiInputModeModule","TuiActiveZoneModule","TuiPluralizePipeModule","TuiRangeModule","TuiWrapperModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE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gBACN,OAAO,EAAE;oBACLC,mBAAY;oBACZC,iBAAW;oBACXC,yBAAmB;oBACnBC,+BAAc;oBACdC,sBAAkB;oBAClBC,oBAAgB;oBAChBC,oBAAgB;oBAChBC,oBAAgB;oBAChBC,uBAAmB;oBACnBC,sBAAkB;oBAClBC,uBAAmB;oBACnBC,6BAAsB;oBACtBC,oBAAc;oBACdC,uBAAgB;iBACnB;gBACD,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;aACpC,CAAC;WACW,mBAAmB,CAAG;QAAD,0BAAC;KAAnC;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-input-range.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-range/input-range.component.ts","ng://@taiga-ui/kit/components/input-range/input-range.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n HostBinding,\n Inject,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n isNativeFocused,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n formatNumber,\n maskedMoneyValueIsEmpty,\n maskedNumberStringToNumber,\n NumberFormatSettings,\n TUI_NUMBER_FORMAT,\n TuiModeDirective,\n} from '@taiga-ui/core';\nimport {AbstractTuiInputSlider} from '@taiga-ui/kit/abstract';\n\n// @dynamic\n@Component({\n selector: 'tui-input-range',\n templateUrl: './input-range.template.html',\n styleUrls: ['./input-range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputRangeComponent),\n },\n ],\n})\nexport class TuiInputRangeComponent\n extends AbstractTuiInputSlider<[number, number]>\n implements TuiFocusableElementAccessor {\n @ViewChild('nativeLeft')\n private readonly nativeLeft?: ElementRef<HTMLInputElement>;\n\n @ViewChild('nativeRight')\n private readonly nativeRight?: ElementRef<HTMLInputElement>;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Optional()\n @Inject(TuiModeDirective)\n protected readonly modeDirective: TuiModeDirective | null,\n @Inject(TUI_IS_MOBILE)\n private readonly isMobile: boolean,\n @Inject(TUI_NUMBER_FORMAT)\n protected readonly numberFormat: NumberFormatSettings,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return !this.nativeLeft || this.disabled ? null : this.nativeLeft.nativeElement;\n }\n\n get focused(): boolean {\n return this.focusedLeft || this.focusedRight;\n }\n\n get focusedLeft(): boolean {\n return !!this.nativeLeft && isNativeFocused(this.nativeLeft.nativeElement);\n }\n\n get focusedRight(): boolean {\n return !!this.nativeRight && isNativeFocused(this.nativeRight.nativeElement);\n }\n\n @HostBinding('class._min-label')\n get showMinLabel(): boolean {\n return !this.focusedLeft && !!this.minLabel && this.value[0] === this.min;\n }\n\n @HostBinding('class._max-label')\n get showMaxLabel(): boolean {\n return !this.focusedRight && !!this.maxLabel && this.value[1] === this.max;\n }\n\n get inputValueLeft(): string {\n return this.nativeLeft ? this.nativeLeft.nativeElement.value : '';\n }\n\n get inputValueRight(): string {\n return this.nativeRight ? this.nativeRight.nativeElement.value : '';\n }\n\n get computedValueLeft(): string {\n return this.formatNumber(this.value[0]);\n }\n\n get computedValueRight(): string {\n return this.formatNumber(this.value[1]);\n }\n\n onActiveZone(active: boolean) {\n this.updateFocused(active);\n }\n\n onMouseDown() {\n if (this.nativeRight && !this.isMobile) {\n setNativeFocused(this.nativeRight.nativeElement);\n }\n }\n\n onKeyDownArrowUpLeft(event: KeyboardEvent) {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n this.processStep(true, false);\n }\n\n onKeyDownArrowDownLeft(event: KeyboardEvent) {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n this.processStep(false, false);\n }\n\n onKeyDownArrowUpRight(event: KeyboardEvent) {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n this.processStep(true, true);\n }\n\n onKeyDownArrowDownRight(event: KeyboardEvent) {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n this.processStep(false, true);\n }\n\n onInputLeft() {\n const value = this.inputValueLeft;\n const capped = this.capInputValue(value, this.value[1]);\n const postfix = value.slice(-1)[0] === ',' ? ',' : '';\n\n if (maskedMoneyValueIsEmpty(value) || capped === null) {\n return;\n }\n\n const newValue = this.formatNumber(capped) + postfix;\n\n if (this.nativeLeft && this.inputValueLeft !== newValue) {\n this.nativeLeft.nativeElement.value = newValue;\n }\n\n this.updateValue([capped, this.value[1]]);\n }\n\n onInputRight() {\n const value = this.inputValueRight;\n const capped = this.capInputValue(value);\n const postfix = value.slice(-1)[0] === ',' ? ',' : '';\n\n if (maskedMoneyValueIsEmpty(value) || capped === null) {\n return;\n }\n\n const newValue = this.formatNumber(capped) + postfix;\n\n if (this.nativeRight && this.inputValueRight !== newValue) {\n this.nativeRight.nativeElement.value = newValue;\n }\n\n if (capped >= this.value[0]) {\n this.updateValue([this.value[0], capped]);\n }\n }\n\n onRangeValue(value: [number, number]) {\n const guardedValue = value.map(item => this.valueGuard(item)) as [number, number];\n\n if (\n !this.nativeLeft ||\n !this.nativeRight ||\n (guardedValue[0] === this.value[0] && guardedValue[1] === this.value[1])\n ) {\n return;\n }\n\n if (!this.isMobile) {\n const element =\n guardedValue[0] !== this.value[0]\n ? this.nativeLeft.nativeElement\n : this.nativeRight.nativeElement;\n\n setNativeFocused(element);\n }\n\n this.updateValue(guardedValue);\n this.nativeLeft.nativeElement.value = this.formatNumber(guardedValue[0]);\n }\n\n onLeftFocused(focused: boolean) {\n if (focused || !this.nativeLeft) {\n return;\n }\n\n const inputValue = maskedNumberStringToNumber(\n this.computedValueLeft,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n );\n const value = isNaN(inputValue) ? this.min : this.valueGuard(inputValue);\n\n this.nativeLeft.nativeElement.value = this.formatNumber(value);\n\n if (value !== this.value[0]) {\n this.updateValue([value, this.value[1]]);\n }\n }\n\n onRightFocused(focused: boolean) {\n if (focused || !this.nativeRight) {\n return;\n }\n\n const inputValue = maskedNumberStringToNumber(\n this.computedValueRight,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n );\n\n const value = isNaN(inputValue)\n ? this.value[0]\n : this.valueGuard(Math.max(inputValue, this.value[0]));\n\n this.nativeRight.nativeElement.value = this.formatNumber(value);\n\n if (value !== this.value[1]) {\n this.updateValue([this.value[0], value]);\n }\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n private formatNumber(value: number): string {\n return formatNumber(\n value,\n null,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n );\n }\n\n private processStep(increment: boolean, right: boolean) {\n const start = this.valueGuard(\n increment ? this.value[0] + this.step : this.value[0] - this.step,\n );\n const end = this.valueGuard(\n increment ? this.value[1] + this.step : this.value[1] - this.step,\n );\n const value: [number, number] = [\n right ? this.value[0] : Math.min(start, this.value[1]),\n right ? Math.max(end, this.value[0]) : this.value[1],\n ];\n\n if (value[0] !== this.value[0] || value[1] !== this.value[1]) {\n this.updateValue(value);\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {\n TuiActiveZoneModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiHoveredModule,\n TuiInputModeModule,\n TuiMapperPipeModule,\n TuiPressedModule,\n} from '@taiga-ui/cdk';\nimport {TuiWrapperModule} from '@taiga-ui/core';\nimport {TuiRangeModule} from '@taiga-ui/kit/components/range';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputRangeComponent} from './input-range.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n TextMaskModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiHoveredModule,\n TuiPressedModule,\n TuiMapperPipeModule,\n TuiInputModeModule,\n TuiActiveZoneModule,\n TuiRangeModule,\n TuiWrapperModule,\n ],\n declarations: [TuiInputRangeComponent],\n exports: [TuiInputRangeComponent],\n})\nexport class TuiInputRangeModule {}\n"],"names":["isNativeFocused","setNativeFocused","maskedMoneyValueIsEmpty","maskedNumberStringToNumber","formatNumber","NgControl","Optional","Self","Inject","ChangeDetectorRef","TuiModeDirective","TUI_IS_MOBILE","TUI_NUMBER_FORMAT","ViewChild","HostBinding","Component","ChangeDetectionStrategy","TUI_FOCUSABLE_ITEM_ACCESSOR","forwardRef","AbstractTuiInputSlider","NgModule","CommonModule","FormsModule","ReactiveFormsModule","TextMaskModule","TuiFocusableModule","TuiFocusedModule","TuiHoveredModule","TuiPressedModule","TuiMapperPipeModule","TuiInputModeModule","TuiActiveZoneModule","TuiRangeModule","TuiWrapperModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,E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WAAM,CAACE,uBAAgB,CAAC,CAAA;YAExB,WAAAF,WAAM,CAACG,iBAAa,CAAC,CAAA;YAErB,WAAAH,WAAM,CAACI,wBAAiB,CAAC,CAAA;WApBrB,sBAAsB,CAsPlC;QAAD,6BAAC;KAAA,CArPWO,+BAAsB;;;QCRlC;SAAmC;QAAtB,mBAAmB;YAnB/BC,aAAQ,CAAC;gBACN,OAAO,EAAE;oBACLC,mBAAY;oBACZC,iBAAW;oBACXC,yBAAmB;oBACnBC,+BAAc;oBACdC,sBAAkB;oBAClBC,oBAAgB;oBAChBC,oBAAgB;oBAChBC,oBAAgB;oBAChBC,uBAAmB;oBACnBC,sBAAkB;oBAClBC,uBAAmB;oBACnBC,oBAAc;oBACdC,uBAAgB;iBACnB;gBACD,YAAY,EAAE,CAAC,sBAAsB,CAAC;gBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;aACpC,CAAC;WACW,mBAAmB,CAAG;QAAD,0BAAC;KAAnC;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/abstract"),require("@angular/common"),require("@taiga-ui/kit/components/range"),require("angular2-text-mask")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-range",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/abstract","@angular/common","@taiga-ui/kit/components/range","angular2-text-mask"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-range"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.abstract,e.ng.common,e["taiga-ui"].kit.components.range,e.angular2TextMask)}(this,(function(e,t,i,
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/abstract"),require("@angular/common"),require("@taiga-ui/kit/components/range"),require("angular2-text-mask")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-range",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/abstract","@angular/common","@taiga-ui/kit/components/range","angular2-text-mask"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-range"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.abstract,e.ng.common,e["taiga-ui"].kit.components.range,e.angular2TextMask)}(this,(function(e,t,n,i,a,o,r,s,l){"use strict";
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */var u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function d(e,t,i,n){var a,o=arguments.length,r=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(r=(o<3?a(r):o>3?a(t,i,r):a(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r}function p(e,t){return function(i,n){t(i,n,e)}}var h=function(e){function o(t,i,n,a){var o=e.call(this,t,i)||this;return o.modeDirective=n,o.isMobile=a,o}var r;return function(e,t){function i(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(o,e),r=o,Object.defineProperty(o.prototype,"nativeFocusableElement",{get:function(){return!this.nativeLeft||this.disabled?null:this.nativeLeft.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focused",{get:function(){return this.focusedLeft||this.focusedRight},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focusedLeft",{get:function(){return!!this.nativeLeft&&n.isNativeFocused(this.nativeLeft.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focusedRight",{get:function(){return!!this.nativeRight&&n.isNativeFocused(this.nativeRight.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"showMinLabel",{get:function(){return!this.focusedLeft&&!!this.minLabel&&this.value[0]===this.min},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"showMaxLabel",{get:function(){return!this.focusedRight&&!!this.maxLabel&&this.value[1]===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"inputValueLeft",{get:function(){return this.nativeLeft?this.nativeLeft.nativeElement.value:""},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"inputValueRight",{get:function(){return this.nativeRight?this.nativeRight.nativeElement.value:""},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"computedValueLeft",{get:function(){return a.formatNumber(this.value[0])},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"computedValueRight",{get:function(){return a.formatNumber(this.value[1])},enumerable:!0,configurable:!0}),o.prototype.onActiveZone=function(e){this.updateFocused(e)},o.prototype.onMouseDown=function(){this.nativeRight&&!this.isMobile&&n.setNativeFocused(this.nativeRight.nativeElement)},o.prototype.onKeyDownArrowUpLeft=function(e){this.readOnly||(e.preventDefault(),this.processStep(!0,!1))},o.prototype.onKeyDownArrowDownLeft=function(e){this.readOnly||(e.preventDefault(),this.processStep(!1,!1))},o.prototype.onKeyDownArrowUpRight=function(e){this.readOnly||(e.preventDefault(),this.processStep(!0,!0))},o.prototype.onKeyDownArrowDownRight=function(e){this.readOnly||(e.preventDefault(),this.processStep(!1,!0))},o.prototype.onInputLeft=function(){var e=this.inputValueLeft,t=this.capInputValue(e,this.value[1]),i=","===e.slice(-1)[0]?",":"";if(!a.maskedMoneyValueIsEmpty(e)&&null!==t){var n=a.formatNumber(t)+i;this.nativeLeft&&this.inputValueLeft!==n&&(this.nativeLeft.nativeElement.value=n),this.updateValue([t,this.value[1]])}},o.prototype.onInputRight=function(){var e=this.inputValueRight,t=this.capInputValue(e),i=","===e.slice(-1)[0]?",":"";if(!a.maskedMoneyValueIsEmpty(e)&&null!==t){var n=a.formatNumber(t)+i;this.nativeRight&&this.inputValueRight!==n&&(this.nativeRight.nativeElement.value=n),t>=this.value[0]&&this.updateValue([this.value[0],t])}},o.prototype.onRangeValue=function(e){var t=this,i=e.map((function(e){return t.valueGuard(e)}));if(this.nativeLeft&&this.nativeRight&&(i[0]!==this.value[0]||i[1]!==this.value[1])){if(!this.isMobile){var o=i[0]!==this.value[0]?this.nativeLeft.nativeElement:this.nativeRight.nativeElement;n.setNativeFocused(o)}this.updateValue(i),this.nativeLeft.nativeElement.value=a.formatNumber(i[0])}},o.prototype.onLeftFocused=function(e){if(!e&&this.nativeLeft){var t=a.maskedNumberStringToNumber(this.computedValueLeft),i=isNaN(t)?this.min:this.valueGuard(t);this.nativeLeft.nativeElement.value=a.formatNumber(i),i!==this.value[0]&&this.updateValue([i,this.value[1]])}},o.prototype.onRightFocused=function(e){if(!e&&this.nativeRight){var t=a.maskedNumberStringToNumber(this.computedValueRight),i=isNaN(t)?this.value[0]:this.valueGuard(Math.max(t,this.value[0]));this.nativeRight.nativeElement.value=a.formatNumber(i),i!==this.value[1]&&this.updateValue([this.value[0],i])}},o.prototype.getFallbackValue=function(){return[0,0]},o.prototype.processStep=function(e,t){var i=this.valueGuard(e?this.value[0]+this.step:this.value[0]-this.step),n=this.valueGuard(e?this.value[1]+this.step:this.value[1]-this.step),a=[t?this.value[0]:Math.min(i,this.value[1]),t?Math.max(n,this.value[0]):this.value[1]];a[0]===this.value[0]&&a[1]===this.value[1]||this.updateValue(a)},o.ctorParameters=function(){return[{type:i.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[i.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:a.TuiModeDirective,decorators:[{type:t.Optional},{type:t.Inject,args:[a.TuiModeDirective]}]},{type:Boolean,decorators:[{type:t.Inject,args:[n.TUI_IS_MOBILE]}]}]},d([t.ViewChild("nativeLeft")],o.prototype,"nativeLeft",void 0),d([t.ViewChild("nativeRight")],o.prototype,"nativeRight",void 0),d([t.HostBinding("class._min-label")],o.prototype,"showMinLabel",null),d([t.HostBinding("class._max-label")],o.prototype,"showMaxLabel",null),o=r=d([t.Component({selector:"tui-input-range",template:'<div class="zone" (tuiActiveZoneChange)="onActiveZone($event)">\n <tui-wrapper\n appearance="textfield"\n [readOnly]="readOnly"\n [disabled]="disabled"\n [focused]="computedFocused"\n [hovered]="computedHovered"\n [invalid]="computedInvalid"\n >\n <span\n *ngIf="hasPlaceholder"\n class="placeholder"\n automation-id="tui-input-range__placeholder"\n >\n <ng-content></ng-content>\n </span>\n <div class="content">\n <span *ngIf="!showMinLabel" class="label">\n <span class="value">{{inputValueLeft}}</span>\n <span\n *ngIf="isPluralized(pluralize)"\n class="pluralize"\n automation-id="tui-input-range__pluralize-left"\n >\n {{value[0] | tuiPluralize: pluralize}}\n </span>\n </span>\n <span\n *ngIf="showMinLabel"\n class="label"\n automation-id="tui-input-range__min-label"\n >\n {{minLabel}}\n </span>\n <span\n *ngIf="showMaxLabel"\n automation-id="tui-input-range__max-label"\n class="max"\n >\n {{maxLabel}}\n </span>\n </div>\n <tui-range\n class="slider"\n [min]="min"\n [max]="max"\n [steps]="computedSteps"\n [segments]="segments"\n [keySteps]="keySteps"\n [pluralize]="segmentsPluralize"\n [focusable]="false"\n [disabled]="readOnly || disabled"\n [ngModel]="value"\n (ngModelChange)="onRangeValue($event)"\n (mousedown.prevent)="onMouseDown()"\n ></tui-range>\n </tui-wrapper>\n\n <div class="native-wrapper" (tuiHoveredChange)="onHovered($event)">\n <input\n #nativeLeft\n class="native"\n automation-id="tui-input-range__native-left"\n [disabled]="disabled"\n [readOnly]="readOnly"\n [class.native_hidden]="showMinLabel"\n [tuiInputMode]="inputMode"\n [tuiFocusable]="focusable"\n [textMask]="quantum | tuiMapper: mask: min"\n [ngModel]="computedValueLeft"\n (ngModelChange)="onInputLeft()"\n (tuiFocusedChange)="onLeftFocused($event)"\n (keydown.arrowUp)="onKeyDownArrowUpLeft($event)"\n (keydown.arrowDown)="onKeyDownArrowDownLeft($event)"\n />\n <input\n #nativeRight\n class="native native_right"\n automation-id="tui-input-range__native-right"\n [disabled]="disabled"\n [readOnly]="readOnly"\n [class.native_hidden]="showMaxLabel"\n [tuiInputMode]="inputMode"\n [tuiFocusable]="focusable"\n [textMask]="quantum | tuiMapper: mask: min"\n [ngModel]="computedValueRight"\n (ngModelChange)="onInputRight()"\n (tuiFocusedChange)="onRightFocused($event)"\n (keydown.arrowUp)="onKeyDownArrowUpRight($event)"\n (keydown.arrowDown)="onKeyDownArrowDownRight($event)"\n />\n <span\n *ngIf="isPluralized(pluralize) && !showMaxLabel"\n class="pluralize pluralize_right"\n automation-id="tui-input-range__pluralize-right"\n (mousedown)="onMouseDown()"\n >\n {{value[1] | tuiPluralize: pluralize}}\n </span>\n </div>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return r}))}],styles:[":host{font:var(--tui-font-text-m);position:relative;z-index:0;display:block;border-radius:var(--tui-radius-m);color:var(--tui-text-01)}:host._segmented{border-bottom:26px solid transparent}:host[data-mode=onDark]{color:var(--tui-base-01)}.zone{border-radius:inherit}.native-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.pluralize{display:flex;align-items:center;padding-right:.75rem;margin-left:-.5rem}.pluralize_right{margin-left:-.75rem}:host[data-tui-host-size='l'] .pluralize_right{padding-top:1.25rem}:host._disabled .pluralize_right{color:var(--tui-text-03)}:host[data-mode=onDark]._disabled .pluralize_right{color:var(--tui-text-03-night)}.native{padding:0 1rem;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;flex:1;min-width:0;color:var(--tui-text-01);box-sizing:border-box;outline:0}.native:-webkit-autofill,.native:-webkit-autofill:focus,.native:-webkit-autofill:hover{border-radius:inherit;-webkit-text-fill-color:inherit!important;color:inherit!important;background-color:transparent!important;-webkit-box-shadow:0 0 0 1000px var(--tui-autofill) inset!important}.native_right{text-align:right}.native_hidden{opacity:0}:host._disabled .native{color:var(--tui-text-03);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host[data-tui-host-size='l'] .native{padding:1.25rem 1rem 0}:host[data-mode=onDark] .native{color:var(--tui-text-01-night)}:host[data-mode=onDark]._disabled .native{color:var(--tui-text-03-night)}.content{display:flex;height:var(--tui-height-m);padding:0 1rem;justify-content:space-between;align-items:center}:host[data-tui-host-size='l'] .content{height:var(--tui-height-l);padding:0 1rem}:host[data-tui-host-size='l']._disabled .content{color:var(--tui-text-03)}:host[data-tui-host-size='l'][data-mode=onDark]._disabled .content{color:var(--tui-text-03-night)}.placeholder{transition-property:transform,min-width,color,letter-spacing;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-size:.8125rem;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;color:var(--tui-text-02);transform-origin:left;letter-spacing:normal;text-transform:none;position:absolute;top:0;width:100%;height:100%;left:1rem;transform:translateY(-.625rem) scale(.87);line-height:var(--tui-height-l);max-width:calc(114% - 2rem)}.placeholder_raised{width:114%;transform:translateY(-.625rem) scale(.87)}:host[data-tui-host-size='m'] .placeholder_raised{width:118%;transform:translateY(-.5rem) scale(.85);letter-spacing:.025rem}:host._invalid:not(._focused) .placeholder_raised,:host._invalid:not(._focused)._hovered .placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused)._hovered .placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .placeholder,:host[data-tui-host-size='l']._focused._label-outside .placeholder,:host[data-tui-host-size='m']._focused._label-outside .placeholder{color:var(--tui-text-03)}:host[data-tui-host-size='l'] .placeholder{font-size:.9375rem}:host[data-tui-host-size='l']._focused:not(._label-outside) .placeholder,:host[data-tui-host-size='m']._focused:not(._label-outside) .placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .placeholder{color:var(--tui-text-02-night)}:host[data-tui-host-size='l'][data-mode=onDark]._focused:not(._label-outside) .placeholder,:host[data-tui-host-size='m'][data-mode=onDark]._focused:not(._label-outside) .placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .placeholder,:host[data-tui-host-size='l'][data-mode=onDark]._focused._label-outside .placeholder,:host[data-tui-host-size='m'][data-mode=onDark]._focused._label-outside .placeholder{color:var(--tui-text-02-night)}.value{visibility:hidden;overflow:hidden;padding-right:.75rem}:host._disabled .value{color:var(--tui-text-03)}.label{display:flex;width:50%}:host[data-tui-host-size='l'] .label{padding-top:1.25rem}.max{text-align:right;flex:1}:host[data-tui-host-size='l'] .max{padding-top:1.25rem;line-height:calc(var(--tui-height-l) - 1.25rem)}.slider{position:absolute;top:100%;left:0;right:0;z-index:1;border-top-left-radius:0;border-top-right-radius:0;margin:-.5625rem 0 0;color:transparent}:host._disabled .slider,:host._readonly .slider{pointer-events:none}"]}),p(0,t.Optional()),p(0,t.Self()),p(0,t.Inject(i.NgControl)),p(1,t.Inject(t.ChangeDetectorRef)),p(2,t.Optional()),p(2,t.Inject(a.TuiModeDirective)),p(3,t.Inject(n.TUI_IS_MOBILE))],o)}(o.AbstractTuiInputSlider),c=function(){function e(){}return e=d([t.NgModule({imports:[r.CommonModule,i.FormsModule,i.ReactiveFormsModule,s.TextMaskModule,n.TuiFocusableModule,n.TuiFocusedModule,n.TuiHoveredModule,n.TuiPressedModule,n.TuiMapperPipeModule,n.TuiInputModeModule,n.TuiActiveZoneModule,a.TuiPluralizePipeModule,l.TuiRangeModule,a.TuiWrapperModule],declarations:[h],exports:[h]})],e)}();e.TuiInputRangeComponent=h,e.TuiInputRangeModule=c,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
15
|
+
***************************************************************************** */var u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function d(e,t,n,i){var a,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(r=(o<3?a(r):o>3?a(t,n,r):a(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r}function p(e,t){return function(n,i){t(n,i,e)}}var h=function(e){function o(t,n,i,a,o){var r=e.call(this,t,n)||this;return r.modeDirective=i,r.isMobile=a,r.numberFormat=o,r}var r;return function(e,t){function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(o,e),r=o,Object.defineProperty(o.prototype,"nativeFocusableElement",{get:function(){return!this.nativeLeft||this.disabled?null:this.nativeLeft.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focused",{get:function(){return this.focusedLeft||this.focusedRight},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focusedLeft",{get:function(){return!!this.nativeLeft&&i.isNativeFocused(this.nativeLeft.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focusedRight",{get:function(){return!!this.nativeRight&&i.isNativeFocused(this.nativeRight.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"showMinLabel",{get:function(){return!this.focusedLeft&&!!this.minLabel&&this.value[0]===this.min},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"showMaxLabel",{get:function(){return!this.focusedRight&&!!this.maxLabel&&this.value[1]===this.max},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"inputValueLeft",{get:function(){return this.nativeLeft?this.nativeLeft.nativeElement.value:""},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"inputValueRight",{get:function(){return this.nativeRight?this.nativeRight.nativeElement.value:""},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"computedValueLeft",{get:function(){return this.formatNumber(this.value[0])},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"computedValueRight",{get:function(){return this.formatNumber(this.value[1])},enumerable:!0,configurable:!0}),o.prototype.onActiveZone=function(e){this.updateFocused(e)},o.prototype.onMouseDown=function(){this.nativeRight&&!this.isMobile&&i.setNativeFocused(this.nativeRight.nativeElement)},o.prototype.onKeyDownArrowUpLeft=function(e){this.readOnly||(e.preventDefault(),this.processStep(!0,!1))},o.prototype.onKeyDownArrowDownLeft=function(e){this.readOnly||(e.preventDefault(),this.processStep(!1,!1))},o.prototype.onKeyDownArrowUpRight=function(e){this.readOnly||(e.preventDefault(),this.processStep(!0,!0))},o.prototype.onKeyDownArrowDownRight=function(e){this.readOnly||(e.preventDefault(),this.processStep(!1,!0))},o.prototype.onInputLeft=function(){var e=this.inputValueLeft,t=this.capInputValue(e,this.value[1]),n=","===e.slice(-1)[0]?",":"";if(!a.maskedMoneyValueIsEmpty(e)&&null!==t){var i=this.formatNumber(t)+n;this.nativeLeft&&this.inputValueLeft!==i&&(this.nativeLeft.nativeElement.value=i),this.updateValue([t,this.value[1]])}},o.prototype.onInputRight=function(){var e=this.inputValueRight,t=this.capInputValue(e),n=","===e.slice(-1)[0]?",":"";if(!a.maskedMoneyValueIsEmpty(e)&&null!==t){var i=this.formatNumber(t)+n;this.nativeRight&&this.inputValueRight!==i&&(this.nativeRight.nativeElement.value=i),t>=this.value[0]&&this.updateValue([this.value[0],t])}},o.prototype.onRangeValue=function(e){var t=this,n=e.map((function(e){return t.valueGuard(e)}));if(this.nativeLeft&&this.nativeRight&&(n[0]!==this.value[0]||n[1]!==this.value[1])){if(!this.isMobile){var a=n[0]!==this.value[0]?this.nativeLeft.nativeElement:this.nativeRight.nativeElement;i.setNativeFocused(a)}this.updateValue(n),this.nativeLeft.nativeElement.value=this.formatNumber(n[0])}},o.prototype.onLeftFocused=function(e){if(!e&&this.nativeLeft){var t=a.maskedNumberStringToNumber(this.computedValueLeft,this.numberFormat.decimalSeparator,this.numberFormat.thousandSeparator),n=isNaN(t)?this.min:this.valueGuard(t);this.nativeLeft.nativeElement.value=this.formatNumber(n),n!==this.value[0]&&this.updateValue([n,this.value[1]])}},o.prototype.onRightFocused=function(e){if(!e&&this.nativeRight){var t=a.maskedNumberStringToNumber(this.computedValueRight,this.numberFormat.decimalSeparator,this.numberFormat.thousandSeparator),n=isNaN(t)?this.value[0]:this.valueGuard(Math.max(t,this.value[0]));this.nativeRight.nativeElement.value=this.formatNumber(n),n!==this.value[1]&&this.updateValue([this.value[0],n])}},o.prototype.getFallbackValue=function(){return[0,0]},o.prototype.formatNumber=function(e){return a.formatNumber(e,null,this.numberFormat.decimalSeparator,this.numberFormat.thousandSeparator)},o.prototype.processStep=function(e,t){var n=this.valueGuard(e?this.value[0]+this.step:this.value[0]-this.step),i=this.valueGuard(e?this.value[1]+this.step:this.value[1]-this.step),a=[t?this.value[0]:Math.min(n,this.value[1]),t?Math.max(i,this.value[0]):this.value[1]];a[0]===this.value[0]&&a[1]===this.value[1]||this.updateValue(a)},o.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[n.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:a.TuiModeDirective,decorators:[{type:t.Optional},{type:t.Inject,args:[a.TuiModeDirective]}]},{type:Boolean,decorators:[{type:t.Inject,args:[i.TUI_IS_MOBILE]}]},{type:void 0,decorators:[{type:t.Inject,args:[a.TUI_NUMBER_FORMAT]}]}]},d([t.ViewChild("nativeLeft")],o.prototype,"nativeLeft",void 0),d([t.ViewChild("nativeRight")],o.prototype,"nativeRight",void 0),d([t.HostBinding("class._min-label")],o.prototype,"showMinLabel",null),d([t.HostBinding("class._max-label")],o.prototype,"showMaxLabel",null),o=r=d([t.Component({selector:"tui-input-range",template:'<div class="zone" (tuiActiveZoneChange)="onActiveZone($event)">\n <tui-wrapper\n appearance="textfield"\n [readOnly]="readOnly"\n [disabled]="disabled"\n [focused]="computedFocused"\n [hovered]="computedHovered"\n [invalid]="computedInvalid"\n >\n <span\n *ngIf="hasPlaceholder"\n class="placeholder"\n automation-id="tui-input-range__placeholder"\n >\n <ng-content></ng-content>\n </span>\n <div class="content">\n <span *ngIf="!showMinLabel" class="label">\n <span class="value">{{inputValueLeft}}</span>\n <span\n *ngIf="pluralizeMap"\n class="pluralize"\n automation-id="tui-input-range__pluralize-left"\n >\n {{value[0] | i18nPlural: pluralizeMap}}\n </span>\n </span>\n <span\n *ngIf="showMinLabel"\n class="label"\n automation-id="tui-input-range__min-label"\n >\n {{minLabel}}\n </span>\n <span\n *ngIf="showMaxLabel"\n automation-id="tui-input-range__max-label"\n class="max"\n >\n {{maxLabel}}\n </span>\n </div>\n <tui-range\n class="slider"\n [min]="min"\n [max]="max"\n [steps]="computedSteps"\n [segments]="segments"\n [keySteps]="keySteps"\n [pluralize]="segmentsPluralize"\n [focusable]="false"\n [disabled]="readOnly || disabled"\n [ngModel]="value"\n (ngModelChange)="onRangeValue($event)"\n (mousedown.prevent)="onMouseDown()"\n ></tui-range>\n </tui-wrapper>\n\n <div class="native-wrapper" (tuiHoveredChange)="onHovered($event)">\n <input\n #nativeLeft\n class="native"\n automation-id="tui-input-range__native-left"\n [disabled]="disabled"\n [readOnly]="readOnly"\n [class.native_hidden]="showMinLabel"\n [tuiInputMode]="inputMode"\n [tuiFocusable]="focusable"\n [textMask]="quantum | tuiMapper: mask: min"\n [ngModel]="computedValueLeft"\n (ngModelChange)="onInputLeft()"\n (tuiFocusedChange)="onLeftFocused($event)"\n (keydown.arrowUp)="onKeyDownArrowUpLeft($event)"\n (keydown.arrowDown)="onKeyDownArrowDownLeft($event)"\n />\n <input\n #nativeRight\n class="native native_right"\n automation-id="tui-input-range__native-right"\n [disabled]="disabled"\n [readOnly]="readOnly"\n [class.native_hidden]="showMaxLabel"\n [tuiInputMode]="inputMode"\n [tuiFocusable]="focusable"\n [textMask]="quantum | tuiMapper: mask: min"\n [ngModel]="computedValueRight"\n (ngModelChange)="onInputRight()"\n (tuiFocusedChange)="onRightFocused($event)"\n (keydown.arrowUp)="onKeyDownArrowUpRight($event)"\n (keydown.arrowDown)="onKeyDownArrowDownRight($event)"\n />\n <span\n *ngIf="pluralizeMap && !showMaxLabel"\n class="pluralize pluralize_right"\n automation-id="tui-input-range__pluralize-right"\n (mousedown)="onMouseDown()"\n >\n {{value[1] | i18nPlural: pluralizeMap}}\n </span>\n </div>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:i.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return r}))}],styles:[":host{font:var(--tui-font-text-m);position:relative;z-index:0;display:block;border-radius:var(--tui-radius-m);color:var(--tui-text-01)}:host._segmented{border-bottom:26px solid transparent}:host[data-mode=onDark]{color:var(--tui-base-01)}.zone{border-radius:inherit}.native-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.pluralize{display:flex;align-items:center;padding-right:.75rem;margin-left:-.5rem}.pluralize_right{margin-left:-.75rem}:host[data-tui-host-size='l'] .pluralize_right{padding-top:1.25rem}:host._disabled .pluralize_right{color:var(--tui-text-03)}:host[data-mode=onDark]._disabled .pluralize_right{color:var(--tui-text-03-night)}.native{padding:0 1rem;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;flex:1;min-width:0;color:var(--tui-text-01);box-sizing:border-box;outline:0}.native:-webkit-autofill,.native:-webkit-autofill:focus,.native:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 1000px var(--tui-autofill) inset!important}.native_right{text-align:right}.native_hidden{opacity:0}:host._disabled .native{color:var(--tui-text-03);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host[data-tui-host-size='l'] .native{padding:1.25rem 1rem 0}:host[data-mode=onDark] .native{color:var(--tui-text-01-night)}:host[data-mode=onDark]._disabled .native{color:var(--tui-text-03-night)}.content{display:flex;height:var(--tui-height-m);padding:0 1rem;justify-content:space-between;align-items:center}:host[data-tui-host-size='l'] .content{height:var(--tui-height-l);padding:0 1rem}:host[data-tui-host-size='l']._disabled .content{color:var(--tui-text-03)}:host[data-tui-host-size='l'][data-mode=onDark]._disabled .content{color:var(--tui-text-03-night)}.placeholder{transition-property:transform,min-width,color,letter-spacing;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-size:.8125rem;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;color:var(--tui-text-02);transform-origin:left;letter-spacing:normal;text-transform:none;position:absolute;top:0;width:100%;height:100%;left:1rem;transform:translateY(-.625rem) scale(.87);line-height:var(--tui-height-l);max-width:calc(114% - 2rem)}.placeholder_raised{width:114%;transform:translateY(-.625rem) scale(.87)}:host[data-tui-host-size='m'] .placeholder_raised{width:118%;transform:translateY(-.5rem) scale(.85);letter-spacing:.025rem}:host._invalid:not(._focused) .placeholder_raised,:host._invalid:not(._focused)._hovered .placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused)._hovered .placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .placeholder,:host[data-tui-host-size='l']._focused._label-outside .placeholder,:host[data-tui-host-size='m']._focused._label-outside .placeholder{color:var(--tui-text-03)}:host[data-tui-host-size='l'] .placeholder{font-size:.9375rem}:host[data-tui-host-size='l']._focused:not(._label-outside) .placeholder,:host[data-tui-host-size='m']._focused:not(._label-outside) .placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .placeholder{color:var(--tui-text-02-night)}:host[data-tui-host-size='l'][data-mode=onDark]._focused:not(._label-outside) .placeholder,:host[data-tui-host-size='m'][data-mode=onDark]._focused:not(._label-outside) .placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .placeholder,:host[data-tui-host-size='l'][data-mode=onDark]._focused._label-outside .placeholder,:host[data-tui-host-size='m'][data-mode=onDark]._focused._label-outside .placeholder{color:var(--tui-text-02-night)}.value{visibility:hidden;overflow:hidden;padding-right:.75rem}:host._disabled .value{color:var(--tui-text-03)}.label{display:flex;width:50%}:host[data-tui-host-size='l'] .label{padding-top:1.25rem}.max{text-align:right;flex:1}:host[data-tui-host-size='l'] .max{padding-top:1.25rem;line-height:calc(var(--tui-height-l) - 1.25rem)}.slider{position:absolute;top:100%;left:0;right:0;z-index:1;border-top-left-radius:0;border-top-right-radius:0;margin:-.5625rem 0 0;color:transparent}:host._disabled .slider,:host._readonly .slider{pointer-events:none}"]}),p(0,t.Optional()),p(0,t.Self()),p(0,t.Inject(n.NgControl)),p(1,t.Inject(t.ChangeDetectorRef)),p(2,t.Optional()),p(2,t.Inject(a.TuiModeDirective)),p(3,t.Inject(i.TUI_IS_MOBILE)),p(4,t.Inject(a.TUI_NUMBER_FORMAT))],o)}(o.AbstractTuiInputSlider),c=function(){function e(){}return e=d([t.NgModule({imports:[r.CommonModule,n.FormsModule,n.ReactiveFormsModule,l.TextMaskModule,i.TuiFocusableModule,i.TuiFocusedModule,i.TuiHoveredModule,i.TuiPressedModule,i.TuiMapperPipeModule,i.TuiInputModeModule,i.TuiActiveZoneModule,s.TuiRangeModule,a.TuiWrapperModule],declarations:[h],exports:[h]})],e)}();e.TuiInputRangeComponent=h,e.TuiInputRangeModule=c,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
16
16
|
//# sourceMappingURL=taiga-ui-kit-components-input-range.umd.min.js.map
|