@taiga-ui/kit 3.51.0 → 3.52.0
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/taiga-ui-kit-abstract.d.ts +3 -0
- package/bundles/taiga-ui-kit-abstract.umd.js +4 -0
- package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-classes.umd.js +7 -0
- package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.js +11 -0
- package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +8 -0
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +10 -3
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +8 -0
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +21 -0
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-multi.umd.js +720 -0
- package/bundles/taiga-ui-kit-components-input-date-multi.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +9 -0
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +15 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +6 -0
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +11 -0
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +9 -0
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +23 -0
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +33 -2
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +6 -0
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +17 -6
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +9 -0
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-island.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +8 -0
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +8 -0
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +38 -0
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +7 -0
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +6 -0
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-prompt.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-prompt.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-push.umd.js +7 -0
- package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +5 -0
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +6 -0
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +8 -0
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +9 -0
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +7 -0
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +11 -0
- package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +7 -0
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +39 -0
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +6 -0
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +25 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +9 -0
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-textarea.umd.js +13 -0
- package/bundles/taiga-ui-kit-components-textarea.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tiles.umd.js +4 -0
- package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +9 -0
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +28 -0
- package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.js +14 -4
- package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-constants.umd.js +19 -0
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +5 -0
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.js +4 -0
- package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +4 -0
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-mask.umd.js +26 -0
- package/bundles/taiga-ui-kit-directives-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-present.umd.js +15 -0
- package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.js +7 -0
- package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +7 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js +4 -0
- package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +4 -0
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives.umd.js +4 -0
- package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-interfaces.umd.js +3 -1
- package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +10 -0
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-internal.umd.js +4 -0
- package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js +4 -0
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +7 -0
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js +4 -0
- package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +4 -0
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +4 -0
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js +4 -0
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js +4 -0
- package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-to-year.umd.js +4 -0
- package/bundles/taiga-ui-kit-pipes-to-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes.umd.js +4 -0
- package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-providers.umd.js +4 -0
- package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-services.umd.js +4 -0
- package/bundles/taiga-ui-kit-services.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +35 -0
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-types.umd.js +3 -1
- package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-date.umd.js +22 -0
- package/bundles/taiga-ui-kit-utils-date.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-utils-files.umd.js +4 -0
- package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-format.umd.js +10 -0
- package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +50 -0
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +7 -0
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +10 -0
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-phone.umd.js +4 -0
- package/bundles/taiga-ui-kit-utils-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils.umd.js +14 -4
- package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-validators.umd.js +4 -0
- package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
- package/bundles/taiga-ui-kit.umd.js +4 -0
- package/bundles/taiga-ui-kit.umd.js.map +1 -1
- package/classes/stringifiable-item.d.ts +3 -0
- package/classes/taiga-ui-kit-classes.d.ts +3 -0
- package/components/accordion/taiga-ui-kit-components-accordion.d.ts +3 -0
- package/components/action/taiga-ui-kit-components-action.d.ts +3 -0
- package/components/arrow/arrow.options.d.ts +4 -0
- package/components/arrow/arrow.providers.d.ts +3 -0
- package/components/arrow/taiga-ui-kit-components-arrow.d.ts +3 -0
- package/components/avatar/avatar.options.d.ts +4 -0
- package/components/avatar/taiga-ui-kit-components-avatar.d.ts +3 -0
- package/components/badge/taiga-ui-kit-components-badge.d.ts +3 -0
- package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +3 -0
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +3 -0
- package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +3 -0
- package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +3 -0
- package/components/carousel/taiga-ui-kit-components-carousel.d.ts +3 -0
- package/components/checkbox/checkbox.component.d.ts +1 -0
- package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +3 -0
- package/components/checkbox-block/checkbox-block.component.d.ts +1 -0
- package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +3 -0
- package/components/checkbox-labeled/checkbox-labeled.component.d.ts +1 -0
- package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +3 -0
- package/components/combo-box/combo-box.component.d.ts +1 -0
- package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +3 -0
- package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -2
- package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +3 -0
- package/components/elastic-container/taiga-ui-kit-components-elastic-container.d.ts +3 -0
- package/components/files/file/file-options.d.ts +3 -0
- package/components/files/taiga-ui-kit-components-files.d.ts +3 -0
- package/components/filter/taiga-ui-kit-components-filter.d.ts +3 -0
- package/components/index.d.ts +1 -0
- package/components/input/taiga-ui-kit-components-input.d.ts +3 -0
- package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +3 -0
- package/components/input-count/input-count.component.d.ts +10 -0
- package/components/input-count/input-count.module.d.ts +3 -0
- package/components/input-count/input-count.options.d.ts +4 -0
- package/components/input-count/taiga-ui-kit-components-input-count.d.ts +3 -0
- package/components/input-date/input-date.component.d.ts +4 -0
- package/components/input-date/taiga-ui-kit-components-input-date.d.ts +3 -0
- package/components/input-date-multi/index.d.ts +2 -0
- package/components/input-date-multi/input-date-multi.component.d.ts +64 -0
- package/components/input-date-multi/input-date-multi.module.d.ts +14 -0
- package/components/input-date-multi/package.json +10 -0
- package/components/input-date-multi/taiga-ui-kit-components-input-date-multi.d.ts +5 -0
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +3 -0
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +3 -0
- package/components/input-files/input-files.component.d.ts +6 -0
- package/components/input-files/input-files.options.d.ts +8 -0
- package/components/input-files/taiga-ui-kit-components-input-files.d.ts +3 -0
- package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +3 -0
- package/components/input-month/taiga-ui-kit-components-input-month.d.ts +3 -0
- package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +3 -0
- package/components/input-number/input-number.component.d.ts +2 -0
- package/components/input-number/input-number.options.d.ts +4 -0
- package/components/input-number/taiga-ui-kit-components-input-number.d.ts +3 -0
- package/components/input-password/input-password.options.d.ts +4 -0
- package/components/input-password/taiga-ui-kit-components-input-password.d.ts +3 -0
- package/components/input-phone/input-phone.options.d.ts +3 -0
- package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +3 -0
- package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +7 -0
- package/components/input-phone/utils/create-phone-mask-expression.d.ts +6 -0
- package/components/input-phone-international/input-phone-international.component.d.ts +13 -0
- package/components/input-phone-international/input-phone-international.options.d.ts +3 -0
- package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +3 -0
- package/components/input-range/taiga-ui-kit-components-input-range.d.ts +3 -0
- package/components/input-slider/input-slider.component.d.ts +2 -0
- package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +3 -0
- package/components/input-tag/input-tag.component.d.ts +1 -1
- package/components/input-tag/input-tag.options.d.ts +3 -0
- package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +3 -0
- package/components/input-time/input-time.component.d.ts +1 -0
- package/components/input-time/input-time.options.d.ts +3 -0
- package/components/input-time/taiga-ui-kit-components-input-time.d.ts +3 -0
- package/components/input-year/taiga-ui-kit-components-input-year.d.ts +3 -0
- package/components/island/taiga-ui-kit-components-island.d.ts +3 -0
- package/components/items-with-more/taiga-ui-kit-components-items-with-more.d.ts +3 -0
- package/components/line-clamp/line-clamp.options.d.ts +3 -0
- package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +3 -0
- package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +3 -0
- package/components/multi-select/multi-select.options.d.ts +3 -0
- package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +3 -0
- package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +3 -0
- package/components/pagination/pagination.component.d.ts +37 -0
- package/components/pagination/taiga-ui-kit-components-pagination.d.ts +3 -0
- package/components/pdf-viewer/pdf-viewer.options.d.ts +3 -0
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +3 -0
- package/components/progress/taiga-ui-kit-components-progress.d.ts +3 -0
- package/components/prompt/taiga-ui-kit-components-prompt.d.ts +3 -0
- package/components/push/push.options.d.ts +3 -0
- package/components/push/taiga-ui-kit-components-push.d.ts +3 -0
- package/components/radio/radio.options.d.ts +4 -0
- package/components/radio/taiga-ui-kit-components-radio.d.ts +3 -0
- package/components/radio-block/radio-block.component.d.ts +1 -0
- package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +3 -0
- package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +3 -0
- package/components/radio-labeled/radio-labeled.component.d.ts +1 -0
- package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +3 -0
- package/components/radio-list/radio-list.component.d.ts +1 -0
- package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +3 -0
- package/components/range/range-change.directive.d.ts +4 -0
- package/components/range/taiga-ui-kit-components-range.d.ts +3 -0
- package/components/rating/rating.options.d.ts +3 -0
- package/components/rating/taiga-ui-kit-components-rating.d.ts +3 -0
- package/components/routable-dialog/taiga-ui-kit-components-routable-dialog.d.ts +3 -0
- package/components/select/select.options.d.ts +3 -0
- package/components/select/taiga-ui-kit-components-select.d.ts +3 -0
- package/components/select-option/taiga-ui-kit-components-select-option.d.ts +3 -0
- package/components/slider/helpers/slider-readonly.directive.d.ts +4 -0
- package/components/slider/slider.options.d.ts +3 -0
- package/components/slider/taiga-ui-kit-components-slider.d.ts +3 -0
- package/components/stepper/taiga-ui-kit-components-stepper.d.ts +3 -0
- package/components/tabs/tab/tab.providers.d.ts +3 -0
- package/components/tabs/tabs/tabs.component.d.ts +2 -0
- package/components/tabs/tabs.options.d.ts +3 -0
- package/components/tabs/taiga-ui-kit-components-tabs.d.ts +3 -0
- package/components/tag/tag.options.d.ts +4 -0
- package/components/tag/taiga-ui-kit-components-tag.d.ts +3 -0
- package/components/taiga-ui-kit-components.d.ts +3 -0
- package/components/textarea/deprecated.d.ts +9 -0
- package/components/textarea/taiga-ui-kit-components-textarea.d.ts +3 -0
- package/components/tiles/taiga-ui-kit-components-tiles.d.ts +3 -0
- package/components/toggle/taiga-ui-kit-components-toggle.d.ts +3 -0
- package/components/toggle/toggle.component.d.ts +1 -0
- package/components/toggle/toggle.options.d.ts +4 -0
- package/components/tree/misc/tree.tokens.d.ts +24 -0
- package/components/tree/taiga-ui-kit-components-tree.d.ts +3 -0
- package/constants/empty-mask.d.ts +4 -0
- package/constants/group-class-names.d.ts +4 -0
- package/constants/masks.d.ts +4 -0
- package/constants/math.d.ts +3 -0
- package/constants/taiga-ui-kit-constants.d.ts +3 -0
- package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +3 -0
- package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +3 -0
- package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +3 -0
- package/directives/mask/legacy-mask.d.ts +21 -0
- package/directives/mask/taiga-ui-kit-directives-mask.d.ts +3 -0
- package/directives/present/present.directive.d.ts +11 -0
- package/directives/present/taiga-ui-kit-directives-present.d.ts +3 -0
- package/directives/project-class/project-class.directive.d.ts +3 -0
- package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +3 -0
- package/directives/taiga-ui-kit-directives.d.ts +3 -0
- package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +3 -0
- package/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.d.ts +3 -0
- package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +3 -0
- package/esm2015/abstract/taiga-ui-kit-abstract.js +4 -1
- package/esm2015/classes/stringifiable-item.js +4 -1
- package/esm2015/classes/taiga-ui-kit-classes.js +4 -1
- package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +4 -1
- package/esm2015/components/action/taiga-ui-kit-components-action.js +4 -1
- package/esm2015/components/arrow/arrow.options.js +5 -1
- package/esm2015/components/arrow/arrow.providers.js +4 -1
- package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +4 -1
- package/esm2015/components/avatar/avatar.options.js +5 -1
- package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +4 -1
- package/esm2015/components/badge/taiga-ui-kit-components-badge.js +4 -1
- package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +4 -1
- package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +4 -1
- package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +4 -1
- package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +4 -1
- package/esm2015/components/carousel/carousel-scroll.directive.js +2 -1
- package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +4 -1
- package/esm2015/components/checkbox/checkbox.component.js +2 -1
- package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +4 -1
- package/esm2015/components/checkbox-block/checkbox-block.component.js +2 -1
- package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +4 -1
- package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +2 -1
- package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +4 -1
- package/esm2015/components/combo-box/combo-box.component.js +2 -1
- package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +4 -1
- package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
- package/esm2015/components/data-list-wrapper/data-list-wrapper.js +6 -3
- package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +4 -1
- package/esm2015/components/elastic-container/taiga-ui-kit-components-elastic-container.js +4 -1
- package/esm2015/components/files/file/file-options.js +4 -1
- package/esm2015/components/files/file/file.component.js +2 -1
- package/esm2015/components/files/taiga-ui-kit-components-files.js +4 -1
- package/esm2015/components/filter/filter.component.js +2 -1
- package/esm2015/components/filter/taiga-ui-kit-components-filter.js +4 -1
- package/esm2015/components/index.js +2 -1
- package/esm2015/components/input/taiga-ui-kit-components-input.js +4 -1
- package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +4 -1
- package/esm2015/components/input-count/input-count.component.js +11 -1
- package/esm2015/components/input-count/input-count.module.js +4 -1
- package/esm2015/components/input-count/input-count.options.js +5 -1
- package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +4 -1
- package/esm2015/components/input-date/input-date.component.js +6 -1
- package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +4 -1
- package/esm2015/components/input-date-multi/index.js +3 -0
- package/esm2015/components/input-date-multi/input-date-multi.component.js +272 -0
- package/esm2015/components/input-date-multi/input-date-multi.module.js +64 -0
- package/esm2015/components/input-date-multi/taiga-ui-kit-components-input-date-multi.js +5 -0
- package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +4 -1
- package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +4 -1
- package/esm2015/components/input-files/input-files.component.js +9 -1
- package/esm2015/components/input-files/input-files.directive.js +2 -1
- package/esm2015/components/input-files/input-files.options.js +5 -2
- package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +4 -1
- package/esm2015/components/input-inline/input-inline.component.js +3 -1
- package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +4 -1
- package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +4 -1
- package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +4 -1
- package/esm2015/components/input-number/input-number.component.js +4 -1
- package/esm2015/components/input-number/input-number.options.js +5 -1
- package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +4 -1
- package/esm2015/components/input-password/input-password.options.js +6 -1
- package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +4 -1
- package/esm2015/components/input-phone/input-phone.options.js +4 -1
- package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +4 -1
- package/esm2015/components/input-phone/utils/complete-phone-insertion-preprocessor.js +21 -3
- package/esm2015/components/input-phone/utils/create-phone-mask-expression.js +7 -1
- package/esm2015/components/input-phone-international/input-phone-international.component.js +17 -1
- package/esm2015/components/input-phone-international/input-phone-international.options.js +4 -1
- package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +4 -1
- package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +4 -1
- package/esm2015/components/input-slider/input-slider.component.js +3 -1
- package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +4 -1
- package/esm2015/components/input-tag/input-tag.component.js +6 -2
- package/esm2015/components/input-tag/input-tag.options.js +4 -1
- package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +4 -1
- package/esm2015/components/input-time/input-time.component.js +3 -1
- package/esm2015/components/input-time/input-time.options.js +4 -1
- package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +4 -1
- package/esm2015/components/input-year/taiga-ui-kit-components-input-year.js +4 -1
- package/esm2015/components/island/taiga-ui-kit-components-island.js +4 -1
- package/esm2015/components/items-with-more/taiga-ui-kit-components-items-with-more.js +4 -1
- package/esm2015/components/line-clamp/line-clamp.component.js +2 -1
- package/esm2015/components/line-clamp/line-clamp.options.js +4 -1
- package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +4 -1
- package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +4 -1
- package/esm2015/components/multi-select/multi-select.component.js +2 -1
- package/esm2015/components/multi-select/multi-select.options.js +4 -1
- package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +4 -1
- package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +4 -1
- package/esm2015/components/pagination/pagination.component.js +35 -1
- package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +4 -1
- package/esm2015/components/pdf-viewer/pdf-viewer.options.js +4 -1
- package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +4 -1
- package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +2 -1
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -1
- package/esm2015/components/progress/taiga-ui-kit-components-progress.js +4 -1
- package/esm2015/components/prompt/prompt.component.js +2 -1
- package/esm2015/components/prompt/taiga-ui-kit-components-prompt.js +4 -1
- package/esm2015/components/push/push.options.js +4 -1
- package/esm2015/components/push/taiga-ui-kit-components-push.js +4 -1
- package/esm2015/components/radio/radio.options.js +5 -1
- package/esm2015/components/radio/taiga-ui-kit-components-radio.js +4 -1
- package/esm2015/components/radio-block/radio-block.component.js +2 -1
- package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +4 -1
- package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +4 -1
- package/esm2015/components/radio-labeled/radio-labeled.component.js +2 -1
- package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +4 -1
- package/esm2015/components/radio-list/radio-list.component.js +3 -1
- package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +4 -1
- package/esm2015/components/range/range-change.directive.js +5 -1
- package/esm2015/components/range/range.component.js +2 -1
- package/esm2015/components/range/taiga-ui-kit-components-range.js +4 -1
- package/esm2015/components/rating/rating.options.js +4 -1
- package/esm2015/components/rating/taiga-ui-kit-components-rating.js +4 -1
- package/esm2015/components/routable-dialog/taiga-ui-kit-components-routable-dialog.js +4 -1
- package/esm2015/components/select/select.options.js +4 -1
- package/esm2015/components/select/taiga-ui-kit-components-select.js +4 -1
- package/esm2015/components/select-option/select-option.component.js +8 -1
- package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +4 -1
- package/esm2015/components/slider/helpers/slider-readonly.directive.js +9 -1
- package/esm2015/components/slider/slider.component.js +25 -1
- package/esm2015/components/slider/slider.options.js +4 -1
- package/esm2015/components/slider/taiga-ui-kit-components-slider.js +4 -1
- package/esm2015/components/stepper/stepper.component.js +3 -1
- package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +4 -1
- package/esm2015/components/tabs/tab/tab.component.js +9 -1
- package/esm2015/components/tabs/tab/tab.providers.js +4 -1
- package/esm2015/components/tabs/tabs/tabs.component.js +3 -1
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +3 -1
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +4 -2
- package/esm2015/components/tabs/tabs.options.js +4 -1
- package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +4 -1
- package/esm2015/components/tag/tag.component.js +2 -1
- package/esm2015/components/tag/tag.options.js +5 -1
- package/esm2015/components/tag/taiga-ui-kit-components-tag.js +4 -1
- package/esm2015/components/taiga-ui-kit-components.js +4 -1
- package/esm2015/components/textarea/deprecated.js +10 -1
- package/esm2015/components/textarea/taiga-ui-kit-components-textarea.js +4 -1
- package/esm2015/components/tiles/taiga-ui-kit-components-tiles.js +4 -1
- package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +4 -1
- package/esm2015/components/toggle/toggle.component.js +2 -1
- package/esm2015/components/toggle/toggle.options.js +5 -1
- package/esm2015/components/tree/components/tree-item/tree-item.component.js +2 -1
- package/esm2015/components/tree/components/tree-item/tree-item.providers.js +2 -1
- package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +2 -1
- package/esm2015/components/tree/misc/tree.tokens.js +25 -1
- package/esm2015/components/tree/taiga-ui-kit-components-tree.js +4 -1
- package/esm2015/constants/empty-mask.js +5 -1
- package/esm2015/constants/group-class-names.js +5 -1
- package/esm2015/constants/masks.js +5 -1
- package/esm2015/constants/math.js +4 -1
- package/esm2015/constants/taiga-ui-kit-constants.js +4 -1
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +2 -1
- package/esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js +4 -1
- package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +4 -1
- package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +4 -1
- package/esm2015/directives/mask/legacy-mask.js +31 -1
- package/esm2015/directives/mask/taiga-ui-kit-directives-mask.js +4 -1
- package/esm2015/directives/present/present.directive.js +12 -1
- package/esm2015/directives/present/taiga-ui-kit-directives-present.js +4 -1
- package/esm2015/directives/project-class/project-class.directive.js +4 -1
- package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +4 -1
- package/esm2015/directives/taiga-ui-kit-directives.js +4 -1
- package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +4 -1
- package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +4 -2
- package/esm2015/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.js +4 -1
- package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +4 -1
- package/esm2015/interfaces/taiga-ui-kit-interfaces.js +4 -1
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +4 -1
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +4 -1
- package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +4 -1
- package/esm2015/internal/taiga-ui-kit-internal.js +4 -1
- package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +4 -1
- package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +4 -1
- package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +4 -1
- package/esm2015/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.js +4 -1
- package/esm2015/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.js +4 -1
- package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +4 -1
- package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +4 -1
- package/esm2015/pipes/taiga-ui-kit-pipes.js +4 -1
- package/esm2015/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.js +4 -1
- package/esm2015/pipes/to-year/taiga-ui-kit-pipes-to-year.js +4 -1
- package/esm2015/providers/taiga-ui-kit-providers.js +4 -1
- package/esm2015/services/taiga-ui-kit-services.js +4 -1
- package/esm2015/taiga-ui-kit.js +4 -1
- package/esm2015/tokens/calendar-date-stream.js +4 -1
- package/esm2015/tokens/date-inputs-value-transformers.js +11 -1
- package/esm2015/tokens/input-date-options.js +4 -1
- package/esm2015/tokens/items-handlers.js +4 -1
- package/esm2015/tokens/mobile-calendar.js +4 -1
- package/esm2015/tokens/month-formatter.js +4 -1
- package/esm2015/tokens/tab-margin.js +4 -1
- package/esm2015/tokens/taiga-ui-kit-tokens.js +4 -1
- package/esm2015/tokens/validation-errors.js +4 -1
- package/esm2015/types/taiga-ui-kit-types.js +4 -1
- package/esm2015/utils/date/index.js +2 -0
- package/esm2015/utils/date/taiga-ui-kit-utils-date.js +5 -0
- package/esm2015/utils/date/update.js +6 -0
- package/esm2015/utils/files/taiga-ui-kit-utils-files.js +4 -1
- package/esm2015/utils/format/string-hash-to-hsl.js +7 -1
- package/esm2015/utils/format/taiga-ui-kit-utils-format.js +4 -1
- package/esm2015/utils/index.js +2 -1
- package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +9 -1
- package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +17 -1
- package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +5 -1
- package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +7 -1
- package/esm2015/utils/mask/create-date-mask.js +5 -1
- package/esm2015/utils/mask/create-date-range-mask.js +5 -1
- package/esm2015/utils/mask/create-time-mask.js +5 -1
- package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +4 -1
- package/esm2015/utils/math/horizontal-direction-to-number.js +4 -1
- package/esm2015/utils/math/taiga-ui-kit-utils-math.js +4 -1
- package/esm2015/utils/miscellaneous/get-precision.js +4 -1
- package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -1
- package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +4 -1
- package/esm2015/utils/phone/taiga-ui-kit-utils-phone.js +4 -1
- package/esm2015/utils/taiga-ui-kit-utils.js +4 -1
- package/esm2015/validators/taiga-ui-kit-validators.js +4 -1
- package/fesm2015/taiga-ui-kit-abstract.js +4 -0
- package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-kit-classes.js +7 -0
- package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js +4 -0
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js +4 -0
- package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-arrow.js +11 -0
- package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +8 -0
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badge.js +4 -0
- package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js +4 -0
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +4 -0
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +4 -0
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +4 -0
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js +5 -0
- package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js +5 -0
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +5 -0
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox.js +5 -0
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +5 -0
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +11 -4
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-elastic-container.js +4 -0
- package/fesm2015/taiga-ui-kit-components-elastic-container.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +8 -0
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +5 -0
- package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +21 -0
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-multi.js +335 -0
- package/fesm2015/taiga-ui-kit-components-input-date-multi.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +9 -0
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +15 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js +6 -0
- package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +11 -0
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +9 -0
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +23 -0
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +33 -2
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +6 -0
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +12 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +9 -0
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input-year.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +4 -0
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-island.js +4 -0
- package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-items-with-more.js +4 -0
- package/fesm2015/taiga-ui-kit-components-items-with-more.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +8 -0
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js +4 -0
- package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js +4 -0
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +8 -0
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +38 -0
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +7 -0
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +6 -0
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-prompt.js +5 -0
- package/fesm2015/taiga-ui-kit-components-prompt.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-push.js +7 -0
- package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-block.js +5 -0
- package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-group.js +4 -0
- package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js +5 -0
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-list.js +6 -0
- package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +8 -0
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +9 -0
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +7 -0
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-routable-dialog.js +4 -0
- package/fesm2015/taiga-ui-kit-components-routable-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +11 -0
- package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +7 -0
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +39 -0
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +6 -0
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +25 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +9 -0
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-textarea.js +13 -0
- package/fesm2015/taiga-ui-kit-components-textarea.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tiles.js +4 -0
- package/fesm2015/taiga-ui-kit-components-tiles.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +9 -0
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tree.js +28 -0
- package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components.js +5 -0
- package/fesm2015/taiga-ui-kit-components.js.map +1 -1
- package/fesm2015/taiga-ui-kit-constants.js +19 -0
- package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +5 -0
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-highlight.js +4 -0
- package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +4 -0
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-mask.js +26 -0
- package/fesm2015/taiga-ui-kit-directives-mask.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-present.js +15 -0
- package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-project-class.js +7 -0
- package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +7 -1
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-unmask-handler.js +4 -0
- package/fesm2015/taiga-ui-kit-directives-unmask-handler.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js +4 -0
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives.js +4 -0
- package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
- package/fesm2015/taiga-ui-kit-interfaces.js +3 -1
- package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +10 -0
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-internal.js +4 -0
- package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-field-error.js +4 -0
- package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +7 -0
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js +4 -0
- package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-sort-countries.js +4 -0
- package/fesm2015/taiga-ui-kit-pipes-sort-countries.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +4 -0
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify.js +4 -0
- package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-to-country-code.js +4 -0
- package/fesm2015/taiga-ui-kit-pipes-to-country-code.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-to-year.js +4 -0
- package/fesm2015/taiga-ui-kit-pipes-to-year.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes.js +4 -0
- package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-kit-providers.js +4 -0
- package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
- package/fesm2015/taiga-ui-kit-services.js +4 -0
- package/fesm2015/taiga-ui-kit-services.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +35 -0
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-kit-types.js +3 -1
- package/fesm2015/taiga-ui-kit-types.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-date.js +12 -0
- package/fesm2015/taiga-ui-kit-utils-date.js.map +1 -0
- package/fesm2015/taiga-ui-kit-utils-files.js +4 -0
- package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-format.js +10 -0
- package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-mask.js +50 -0
- package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-math.js +7 -0
- package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +10 -0
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-phone.js +4 -0
- package/fesm2015/taiga-ui-kit-utils-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils.js +5 -0
- package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
- package/fesm2015/taiga-ui-kit-validators.js +4 -0
- package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
- package/fesm2015/taiga-ui-kit.js +4 -0
- package/fesm2015/taiga-ui-kit.js.map +1 -1
- package/interfaces/taiga-ui-kit-interfaces.d.ts +3 -0
- package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
- package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +3 -0
- package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +3 -0
- package/internal/taiga-ui-kit-internal.d.ts +3 -0
- package/package.json +5 -5
- package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +3 -0
- package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +3 -0
- package/pipes/filter-by-input/filter-by-input.base.d.ts +4 -0
- package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +3 -0
- package/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.d.ts +3 -0
- package/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.d.ts +3 -0
- package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +3 -0
- package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +3 -0
- package/pipes/taiga-ui-kit-pipes.d.ts +3 -0
- package/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.d.ts +3 -0
- package/pipes/to-year/taiga-ui-kit-pipes-to-year.d.ts +3 -0
- package/providers/taiga-ui-kit-providers.d.ts +3 -0
- package/services/taiga-ui-kit-services.d.ts +3 -0
- package/taiga-ui-kit.d.ts +3 -0
- package/tokens/calendar-date-stream.d.ts +3 -0
- package/tokens/date-inputs-value-transformers.d.ts +9 -0
- package/tokens/input-date-options.d.ts +3 -0
- package/tokens/items-handlers.d.ts +3 -0
- package/tokens/mobile-calendar.d.ts +3 -0
- package/tokens/month-formatter.d.ts +3 -0
- package/tokens/tab-margin.d.ts +3 -0
- package/tokens/taiga-ui-kit-tokens.d.ts +3 -0
- package/tokens/validation-errors.d.ts +3 -0
- package/types/file-state.d.ts +3 -0
- package/types/key-steps.d.ts +18 -0
- package/types/taiga-ui-kit-types.d.ts +3 -0
- package/utils/date/index.d.ts +1 -0
- package/utils/date/package.json +10 -0
- package/utils/date/taiga-ui-kit-utils-date.d.ts +5 -0
- package/utils/date/update.d.ts +2 -0
- package/utils/files/taiga-ui-kit-utils-files.d.ts +3 -0
- package/utils/format/string-hash-to-hsl.d.ts +5 -0
- package/utils/format/taiga-ui-kit-utils-format.d.ts +3 -0
- package/utils/index.d.ts +1 -0
- package/utils/mask/create-auto-corrected-date-pipe.d.ts +12 -0
- package/utils/mask/create-auto-corrected-date-range-pipe.d.ts +16 -0
- package/utils/mask/create-auto-corrected-date-time-pipe.d.ts +4 -0
- package/utils/mask/create-auto-corrected-time-pipe.d.ts +6 -0
- package/utils/mask/create-date-mask.d.ts +4 -0
- package/utils/mask/create-date-range-mask.d.ts +4 -0
- package/utils/mask/create-time-mask.d.ts +4 -0
- package/utils/mask/taiga-ui-kit-utils-mask.d.ts +3 -0
- package/utils/math/horizontal-direction-to-number.d.ts +3 -0
- package/utils/math/taiga-ui-kit-utils-math.d.ts +3 -0
- package/utils/miscellaneous/get-precision.d.ts +3 -0
- package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +3 -0
- package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +3 -0
- package/utils/phone/taiga-ui-kit-utils-phone.d.ts +3 -0
- package/utils/taiga-ui-kit-utils.d.ts +3 -0
- package/validators/taiga-ui-kit-validators.d.ts +3 -0
|
@@ -0,0 +1,720 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@maskito/kit'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit/components/input-tag'), require('@taiga-ui/kit/tokens'), require('@taiga-ui/kit/utils'), require('@tinkoff/ng-polymorpheus'), require('rxjs/operators'), require('@maskito/angular'), require('@angular/common'), require('rxjs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-date-multi', ['exports', '@angular/core', '@angular/forms', '@maskito/kit', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit/components/input-tag', '@taiga-ui/kit/tokens', '@taiga-ui/kit/utils', '@tinkoff/ng-polymorpheus', 'rxjs/operators', '@maskito/angular', '@angular/common', 'rxjs'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components["input-date-multi"] = {}), global.ng.core, global.ng.forms, global.kit, global.i6, global.i1, global["taiga-ui"].kit.components["input-tag"], global["taiga-ui"].kit.tokens, global["taiga-ui"].kit.utils, global.i5, global.rxjs.operators, global.i3, global.ng.common, global.rxjs));
|
|
5
|
+
})(this, (function (exports, i0, i4, kit, i6, i1, i2, tokens, utils, i5, operators, i3, i7, i8) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
27
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
30
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
31
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
32
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
33
|
+
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
34
|
+
|
|
35
|
+
/*! *****************************************************************************
|
|
36
|
+
Copyright (c) Microsoft Corporation.
|
|
37
|
+
|
|
38
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
39
|
+
purpose with or without fee is hereby granted.
|
|
40
|
+
|
|
41
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
42
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
43
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
44
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
45
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
46
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
47
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
48
|
+
***************************************************************************** */
|
|
49
|
+
/* global Reflect, Promise */
|
|
50
|
+
var extendStatics = function (d, b) {
|
|
51
|
+
extendStatics = Object.setPrototypeOf ||
|
|
52
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
53
|
+
function (d, b) { for (var p in b)
|
|
54
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
55
|
+
d[p] = b[p]; };
|
|
56
|
+
return extendStatics(d, b);
|
|
57
|
+
};
|
|
58
|
+
function __extends(d, b) {
|
|
59
|
+
if (typeof b !== "function" && b !== null)
|
|
60
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
61
|
+
extendStatics(d, b);
|
|
62
|
+
function __() { this.constructor = d; }
|
|
63
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
64
|
+
}
|
|
65
|
+
var __assign = function () {
|
|
66
|
+
__assign = Object.assign || function __assign(t) {
|
|
67
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
68
|
+
s = arguments[i];
|
|
69
|
+
for (var p in s)
|
|
70
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
71
|
+
t[p] = s[p];
|
|
72
|
+
}
|
|
73
|
+
return t;
|
|
74
|
+
};
|
|
75
|
+
return __assign.apply(this, arguments);
|
|
76
|
+
};
|
|
77
|
+
function __rest(s, e) {
|
|
78
|
+
var t = {};
|
|
79
|
+
for (var p in s)
|
|
80
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
81
|
+
t[p] = s[p];
|
|
82
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
83
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
84
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
85
|
+
t[p[i]] = s[p[i]];
|
|
86
|
+
}
|
|
87
|
+
return t;
|
|
88
|
+
}
|
|
89
|
+
function __decorate(decorators, target, key, desc) {
|
|
90
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
91
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
92
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
93
|
+
else
|
|
94
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
95
|
+
if (d = decorators[i])
|
|
96
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
97
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
98
|
+
}
|
|
99
|
+
function __param(paramIndex, decorator) {
|
|
100
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
101
|
+
}
|
|
102
|
+
function __metadata(metadataKey, metadataValue) {
|
|
103
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
104
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
105
|
+
}
|
|
106
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
107
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
108
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
109
|
+
function fulfilled(value) { try {
|
|
110
|
+
step(generator.next(value));
|
|
111
|
+
}
|
|
112
|
+
catch (e) {
|
|
113
|
+
reject(e);
|
|
114
|
+
} }
|
|
115
|
+
function rejected(value) { try {
|
|
116
|
+
step(generator["throw"](value));
|
|
117
|
+
}
|
|
118
|
+
catch (e) {
|
|
119
|
+
reject(e);
|
|
120
|
+
} }
|
|
121
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
122
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
function __generator(thisArg, body) {
|
|
126
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
127
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
128
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
129
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
130
|
+
function step(op) {
|
|
131
|
+
if (f)
|
|
132
|
+
throw new TypeError("Generator is already executing.");
|
|
133
|
+
while (_)
|
|
134
|
+
try {
|
|
135
|
+
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)
|
|
136
|
+
return t;
|
|
137
|
+
if (y = 0, t)
|
|
138
|
+
op = [op[0] & 2, t.value];
|
|
139
|
+
switch (op[0]) {
|
|
140
|
+
case 0:
|
|
141
|
+
case 1:
|
|
142
|
+
t = op;
|
|
143
|
+
break;
|
|
144
|
+
case 4:
|
|
145
|
+
_.label++;
|
|
146
|
+
return { value: op[1], done: false };
|
|
147
|
+
case 5:
|
|
148
|
+
_.label++;
|
|
149
|
+
y = op[1];
|
|
150
|
+
op = [0];
|
|
151
|
+
continue;
|
|
152
|
+
case 7:
|
|
153
|
+
op = _.ops.pop();
|
|
154
|
+
_.trys.pop();
|
|
155
|
+
continue;
|
|
156
|
+
default:
|
|
157
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
158
|
+
_ = 0;
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
162
|
+
_.label = op[1];
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
166
|
+
_.label = t[1];
|
|
167
|
+
t = op;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
if (t && _.label < t[2]) {
|
|
171
|
+
_.label = t[2];
|
|
172
|
+
_.ops.push(op);
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
if (t[2])
|
|
176
|
+
_.ops.pop();
|
|
177
|
+
_.trys.pop();
|
|
178
|
+
continue;
|
|
179
|
+
}
|
|
180
|
+
op = body.call(thisArg, _);
|
|
181
|
+
}
|
|
182
|
+
catch (e) {
|
|
183
|
+
op = [6, e];
|
|
184
|
+
y = 0;
|
|
185
|
+
}
|
|
186
|
+
finally {
|
|
187
|
+
f = t = 0;
|
|
188
|
+
}
|
|
189
|
+
if (op[0] & 5)
|
|
190
|
+
throw op[1];
|
|
191
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
195
|
+
if (k2 === undefined)
|
|
196
|
+
k2 = k;
|
|
197
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
198
|
+
}) : (function (o, m, k, k2) {
|
|
199
|
+
if (k2 === undefined)
|
|
200
|
+
k2 = k;
|
|
201
|
+
o[k2] = m[k];
|
|
202
|
+
});
|
|
203
|
+
function __exportStar(m, o) {
|
|
204
|
+
for (var p in m)
|
|
205
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
206
|
+
__createBinding(o, m, p);
|
|
207
|
+
}
|
|
208
|
+
function __values(o) {
|
|
209
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
210
|
+
if (m)
|
|
211
|
+
return m.call(o);
|
|
212
|
+
if (o && typeof o.length === "number")
|
|
213
|
+
return {
|
|
214
|
+
next: function () {
|
|
215
|
+
if (o && i >= o.length)
|
|
216
|
+
o = void 0;
|
|
217
|
+
return { value: o && o[i++], done: !o };
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
221
|
+
}
|
|
222
|
+
function __read(o, n) {
|
|
223
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
224
|
+
if (!m)
|
|
225
|
+
return o;
|
|
226
|
+
var i = m.call(o), r, ar = [], e;
|
|
227
|
+
try {
|
|
228
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
229
|
+
ar.push(r.value);
|
|
230
|
+
}
|
|
231
|
+
catch (error) {
|
|
232
|
+
e = { error: error };
|
|
233
|
+
}
|
|
234
|
+
finally {
|
|
235
|
+
try {
|
|
236
|
+
if (r && !r.done && (m = i["return"]))
|
|
237
|
+
m.call(i);
|
|
238
|
+
}
|
|
239
|
+
finally {
|
|
240
|
+
if (e)
|
|
241
|
+
throw e.error;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return ar;
|
|
245
|
+
}
|
|
246
|
+
/** @deprecated */
|
|
247
|
+
function __spread() {
|
|
248
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
249
|
+
ar = ar.concat(__read(arguments[i]));
|
|
250
|
+
return ar;
|
|
251
|
+
}
|
|
252
|
+
/** @deprecated */
|
|
253
|
+
function __spreadArrays() {
|
|
254
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
255
|
+
s += arguments[i].length;
|
|
256
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
257
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
258
|
+
r[k] = a[j];
|
|
259
|
+
return r;
|
|
260
|
+
}
|
|
261
|
+
function __spreadArray(to, from, pack) {
|
|
262
|
+
if (pack || arguments.length === 2)
|
|
263
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
264
|
+
if (ar || !(i in from)) {
|
|
265
|
+
if (!ar)
|
|
266
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
267
|
+
ar[i] = from[i];
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return to.concat(ar || from);
|
|
271
|
+
}
|
|
272
|
+
function __await(v) {
|
|
273
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
274
|
+
}
|
|
275
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
276
|
+
if (!Symbol.asyncIterator)
|
|
277
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
278
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
279
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
280
|
+
function verb(n) { if (g[n])
|
|
281
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
282
|
+
function resume(n, v) { try {
|
|
283
|
+
step(g[n](v));
|
|
284
|
+
}
|
|
285
|
+
catch (e) {
|
|
286
|
+
settle(q[0][3], e);
|
|
287
|
+
} }
|
|
288
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
289
|
+
function fulfill(value) { resume("next", value); }
|
|
290
|
+
function reject(value) { resume("throw", value); }
|
|
291
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
292
|
+
resume(q[0][0], q[0][1]); }
|
|
293
|
+
}
|
|
294
|
+
function __asyncDelegator(o) {
|
|
295
|
+
var i, p;
|
|
296
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
297
|
+
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; }
|
|
298
|
+
}
|
|
299
|
+
function __asyncValues(o) {
|
|
300
|
+
if (!Symbol.asyncIterator)
|
|
301
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
302
|
+
var m = o[Symbol.asyncIterator], i;
|
|
303
|
+
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);
|
|
304
|
+
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); }); }; }
|
|
305
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
306
|
+
}
|
|
307
|
+
function __makeTemplateObject(cooked, raw) {
|
|
308
|
+
if (Object.defineProperty) {
|
|
309
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
cooked.raw = raw;
|
|
313
|
+
}
|
|
314
|
+
return cooked;
|
|
315
|
+
}
|
|
316
|
+
;
|
|
317
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
318
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
319
|
+
}) : function (o, v) {
|
|
320
|
+
o["default"] = v;
|
|
321
|
+
};
|
|
322
|
+
function __importStar(mod) {
|
|
323
|
+
if (mod && mod.__esModule)
|
|
324
|
+
return mod;
|
|
325
|
+
var result = {};
|
|
326
|
+
if (mod != null)
|
|
327
|
+
for (var k in mod)
|
|
328
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
329
|
+
__createBinding(result, mod, k);
|
|
330
|
+
__setModuleDefault(result, mod);
|
|
331
|
+
return result;
|
|
332
|
+
}
|
|
333
|
+
function __importDefault(mod) {
|
|
334
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
335
|
+
}
|
|
336
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
337
|
+
if (kind === "a" && !f)
|
|
338
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
339
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
340
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
341
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
342
|
+
}
|
|
343
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
344
|
+
if (kind === "m")
|
|
345
|
+
throw new TypeError("Private method is not writable");
|
|
346
|
+
if (kind === "a" && !f)
|
|
347
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
348
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
349
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
350
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
var TuiInputDateMultiComponent = /** @class */ (function (_super) {
|
|
354
|
+
__extends(TuiInputDateMultiComponent, _super);
|
|
355
|
+
function TuiInputDateMultiComponent(control, cdr, injector, isMobile, dialogs, mobileCalendar, dateFormat, dateSeparator, dateTexts$, valueTransformer, options, textfieldSize, doneWord$) {
|
|
356
|
+
var _this = this;
|
|
357
|
+
var _a, _b;
|
|
358
|
+
_this = _super.call(this, control, cdr, valueTransformer) || this;
|
|
359
|
+
_this.injector = injector;
|
|
360
|
+
_this.isMobile = isMobile;
|
|
361
|
+
_this.dialogs = dialogs;
|
|
362
|
+
_this.mobileCalendar = mobileCalendar;
|
|
363
|
+
_this.dateFormat = dateFormat;
|
|
364
|
+
_this.dateSeparator = dateSeparator;
|
|
365
|
+
_this.dateTexts$ = dateTexts$;
|
|
366
|
+
_this.valueTransformer = valueTransformer;
|
|
367
|
+
_this.options = options;
|
|
368
|
+
_this.textfieldSize = textfieldSize;
|
|
369
|
+
_this.doneWord$ = doneWord$;
|
|
370
|
+
_this.month = null;
|
|
371
|
+
_this.min = _this.options.min;
|
|
372
|
+
_this.max = _this.options.max;
|
|
373
|
+
_this.disabledItemHandler = i6.ALWAYS_FALSE_HANDLER;
|
|
374
|
+
_this.markerHandler = i1.TUI_DEFAULT_MARKER_HANDLER;
|
|
375
|
+
_this.defaultActiveYearMonth = i6.TuiMonth.currentLocal();
|
|
376
|
+
_this.expandable = false;
|
|
377
|
+
_this.inputHidden = false;
|
|
378
|
+
_this.editable = true;
|
|
379
|
+
_this.search = '';
|
|
380
|
+
_this.placeholder = '';
|
|
381
|
+
_this.rows = Infinity;
|
|
382
|
+
_this.maskitoOptions = kit.maskitoDateOptionsGenerator({
|
|
383
|
+
mode: 'dd/mm/yyyy',
|
|
384
|
+
separator: '.',
|
|
385
|
+
min: (_a = _this.min) === null || _a === void 0 ? void 0 : _a.toLocalNativeDate(),
|
|
386
|
+
max: (_b = _this.max) === null || _b === void 0 ? void 0 : _b.toLocalNativeDate(),
|
|
387
|
+
});
|
|
388
|
+
_this.open = false;
|
|
389
|
+
_this.filler$ = _this.dateTexts$.pipe(operators.map(function (dateTexts) { return i6.changeDateSeparator(dateTexts[_this.dateFormat], _this.dateSeparator); }));
|
|
390
|
+
_this.tagValidator = function (tag) {
|
|
391
|
+
var _a, _b, _c;
|
|
392
|
+
var _d = i6.tuiIsString(tag)
|
|
393
|
+
? i6.TuiDay.parseRawDateString(tag)
|
|
394
|
+
: tag, year = _d.year, month = _d.month, day = _d.day;
|
|
395
|
+
var date = new i6.TuiDay(year, month, day);
|
|
396
|
+
return ((_c = (i6.TuiDay.isValidDay(year, month, day) &&
|
|
397
|
+
((_a = _this.min) === null || _a === void 0 ? void 0 : _a.dayBefore(date)) &&
|
|
398
|
+
((_b = _this.max) === null || _b === void 0 ? void 0 : _b.dayAfter(date)))) !== null && _c !== void 0 ? _c : false);
|
|
399
|
+
};
|
|
400
|
+
_this.disabledItemHandlerWrapper = function (handler) { return function (stringifiable) { return i6.tuiIsString(stringifiable) || handler(stringifiable.item); }; };
|
|
401
|
+
return _this;
|
|
402
|
+
}
|
|
403
|
+
TuiInputDateMultiComponent.prototype.onClick = function () {
|
|
404
|
+
if (!this.isMobile) {
|
|
405
|
+
this.open = !this.open;
|
|
406
|
+
}
|
|
407
|
+
};
|
|
408
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "size", {
|
|
409
|
+
get: function () {
|
|
410
|
+
return this.textfieldSize.size;
|
|
411
|
+
},
|
|
412
|
+
enumerable: false,
|
|
413
|
+
configurable: true
|
|
414
|
+
});
|
|
415
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "nativeDropdownMode", {
|
|
416
|
+
get: function () {
|
|
417
|
+
return this.isMobile && !this.editable;
|
|
418
|
+
},
|
|
419
|
+
enumerable: false,
|
|
420
|
+
configurable: true
|
|
421
|
+
});
|
|
422
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "computedMin", {
|
|
423
|
+
get: function () {
|
|
424
|
+
var _a;
|
|
425
|
+
return (_a = this.min) !== null && _a !== void 0 ? _a : this.options.min;
|
|
426
|
+
},
|
|
427
|
+
enumerable: false,
|
|
428
|
+
configurable: true
|
|
429
|
+
});
|
|
430
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "computedMax", {
|
|
431
|
+
get: function () {
|
|
432
|
+
var _a;
|
|
433
|
+
return (_a = this.max) !== null && _a !== void 0 ? _a : this.options.max;
|
|
434
|
+
},
|
|
435
|
+
enumerable: false,
|
|
436
|
+
configurable: true
|
|
437
|
+
});
|
|
438
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "nativeFocusableElement", {
|
|
439
|
+
get: function () {
|
|
440
|
+
var _a;
|
|
441
|
+
return ((_a = this.textfield) === null || _a === void 0 ? void 0 : _a.nativeFocusableElement) || null;
|
|
442
|
+
},
|
|
443
|
+
enumerable: false,
|
|
444
|
+
configurable: true
|
|
445
|
+
});
|
|
446
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "focused", {
|
|
447
|
+
get: function () {
|
|
448
|
+
var _a;
|
|
449
|
+
return !!((_a = this.textfield) === null || _a === void 0 ? void 0 : _a.focused);
|
|
450
|
+
},
|
|
451
|
+
enumerable: false,
|
|
452
|
+
configurable: true
|
|
453
|
+
});
|
|
454
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "computedMobile", {
|
|
455
|
+
get: function () {
|
|
456
|
+
return this.isMobile && !!this.mobileCalendar;
|
|
457
|
+
},
|
|
458
|
+
enumerable: false,
|
|
459
|
+
configurable: true
|
|
460
|
+
});
|
|
461
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "calendarIcon", {
|
|
462
|
+
get: function () {
|
|
463
|
+
return this.options.icon;
|
|
464
|
+
},
|
|
465
|
+
enumerable: false,
|
|
466
|
+
configurable: true
|
|
467
|
+
});
|
|
468
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "computedActiveYearMonth", {
|
|
469
|
+
get: function () {
|
|
470
|
+
return (this.month ||
|
|
471
|
+
this.value[this.value.length - 1] ||
|
|
472
|
+
i6.tuiDateClamp(this.defaultActiveYearMonth, this.computedMin, this.computedMax));
|
|
473
|
+
},
|
|
474
|
+
enumerable: false,
|
|
475
|
+
configurable: true
|
|
476
|
+
});
|
|
477
|
+
Object.defineProperty(TuiInputDateMultiComponent.prototype, "canOpen", {
|
|
478
|
+
get: function () {
|
|
479
|
+
return this.interactive && !this.computedMobile;
|
|
480
|
+
},
|
|
481
|
+
enumerable: false,
|
|
482
|
+
configurable: true
|
|
483
|
+
});
|
|
484
|
+
TuiInputDateMultiComponent.prototype.onIconClick = function () {
|
|
485
|
+
var _this = this;
|
|
486
|
+
if (!this.computedMobile || !this.mobileCalendar) {
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
this.dialogs
|
|
490
|
+
.open(new i5.PolymorpheusComponent(this.mobileCalendar, this.injector), {
|
|
491
|
+
size: 'fullscreen',
|
|
492
|
+
closeable: false,
|
|
493
|
+
data: {
|
|
494
|
+
single: false,
|
|
495
|
+
min: this.min,
|
|
496
|
+
max: this.max,
|
|
497
|
+
disabledItemHandler: this.disabledItemHandler,
|
|
498
|
+
},
|
|
499
|
+
})
|
|
500
|
+
.pipe(operators.takeUntil(this.destroy$))
|
|
501
|
+
.subscribe(function (value) {
|
|
502
|
+
_this.value = value;
|
|
503
|
+
});
|
|
504
|
+
};
|
|
505
|
+
TuiInputDateMultiComponent.prototype.onEnter = function (search) {
|
|
506
|
+
if (!this.tagValidator(search)) {
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
this.value = utils.tuiImmutableUpdateInputDateMulti(this.value, i6.TuiDay.normalizeParse(search));
|
|
510
|
+
if (this.inputTag) {
|
|
511
|
+
this.inputTag.search = '';
|
|
512
|
+
}
|
|
513
|
+
this.done();
|
|
514
|
+
};
|
|
515
|
+
TuiInputDateMultiComponent.prototype.onValueChange = function (value) {
|
|
516
|
+
var _a;
|
|
517
|
+
(_a = this.control) === null || _a === void 0 ? void 0 : _a.updateValueAndValidity({ emitEvent: false });
|
|
518
|
+
if (!value.length) {
|
|
519
|
+
this.onOpenChange(true);
|
|
520
|
+
}
|
|
521
|
+
this.value = value;
|
|
522
|
+
};
|
|
523
|
+
TuiInputDateMultiComponent.prototype.onDayClick = function (value) {
|
|
524
|
+
this.value = utils.tuiImmutableUpdateInputDateMulti(this.value, value);
|
|
525
|
+
};
|
|
526
|
+
TuiInputDateMultiComponent.prototype.done = function () {
|
|
527
|
+
this.open = false;
|
|
528
|
+
};
|
|
529
|
+
TuiInputDateMultiComponent.prototype.onMonthChange = function (month) {
|
|
530
|
+
this.month = month;
|
|
531
|
+
};
|
|
532
|
+
TuiInputDateMultiComponent.prototype.onOpenChange = function (open) {
|
|
533
|
+
this.open = open;
|
|
534
|
+
};
|
|
535
|
+
TuiInputDateMultiComponent.prototype.onFocused = function (focused) {
|
|
536
|
+
this.updateFocused(focused);
|
|
537
|
+
};
|
|
538
|
+
TuiInputDateMultiComponent.prototype.setDisabledState = function () {
|
|
539
|
+
_super.prototype.setDisabledState.call(this);
|
|
540
|
+
this.open = false;
|
|
541
|
+
};
|
|
542
|
+
return TuiInputDateMultiComponent;
|
|
543
|
+
}(i6.AbstractTuiMultipleControl));
|
|
544
|
+
TuiInputDateMultiComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateMultiComponent, deps: [{ token: i4.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: i6.TUI_IS_MOBILE }, { token: i1.TuiDialogService }, { token: tokens.TUI_MOBILE_CALENDAR, optional: true }, { token: i6.TUI_DATE_FORMAT }, { token: i6.TUI_DATE_SEPARATOR }, { token: tokens.TUI_DATE_TEXTS }, { token: tokens.TUI_DATE_VALUE_TRANSFORMER, optional: true }, { token: tokens.TUI_INPUT_DATE_OPTIONS }, { token: i1.TUI_TEXTFIELD_SIZE }, { token: tokens.TUI_DONE_WORD }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
545
|
+
TuiInputDateMultiComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateMultiComponent, selector: "tui-input-date[multiple]", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", defaultActiveYearMonth: "defaultActiveYearMonth", expandable: "expandable", inputHidden: "inputHidden", editable: "editable", search: "search", placeholder: "placeholder", rows: "rows", tagValidator: "tagValidator" }, host: { listeners: { "click": "onClick()" }, properties: { "class._editable": "this.editable", "attr.data-size": "this.size" } }, providers: [
|
|
546
|
+
i6.tuiAsFocusableItemAccessor(TuiInputDateMultiComponent),
|
|
547
|
+
i6.tuiAsControl(TuiInputDateMultiComponent),
|
|
548
|
+
tokens.tuiDateStreamWithTransformer(tokens.TUI_DATE_VALUE_TRANSFORMER),
|
|
549
|
+
], viewQueries: [{ propertyName: "textfield", first: true, predicate: i1.TuiPrimitiveTextfieldComponent, descendants: true }, { propertyName: "inputTag", first: true, predicate: i2.TuiInputTagComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"canOpen\"\n [content]=\"dropdown\"\n [open]=\"open && canOpen\"\n (openChange)=\"onOpenChange($event)\"\n>\n <tui-input-tag\n #inputTag\n class=\"t-input\"\n [disabled]=\"disabled\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerWrapper\"\n [editable]=\"editable\"\n [expandable]=\"expandable\"\n [inputHidden]=\"inputHidden\"\n [maskito]=\"maskitoOptions\"\n [nativeId]=\"nativeId\"\n [ngModel]=\"value\"\n [placeholder]=\"placeholder\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoInvalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [removable]=\"!nativeDropdownMode\"\n [rows]=\"rows\"\n [tagValidator]=\"tagValidator\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n (keydown.enter)=\"onEnter(inputTag.search || '')\"\n (ngModelChange)=\"onValueChange($event)\"\n >\n <ng-content></ng-content>\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n ></ng-content>\n </tui-input-tag>\n\n <ng-template #iconContent>\n <tui-svg\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n appearance=\"icon\"\n tuiWrapper\n [class.t-icon]=\"!computedDisabled\"\n [src]=\"src\"\n (click)=\"onIconClick()\"\n ></tui-svg>\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [markerHandler]=\"markerHandler\"\n [max]=\"computedMax\"\n [min]=\"computedMin\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n (mousedown.silent.prevent)=\"(0)\"\n ></tui-calendar>\n <div\n class=\"t-button\"\n (mousedown.silent.prevent)=\"(0)\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"done()\"\n >\n {{ doneWord$ | async }}\n </button>\n </div>\n </ng-template>\n</tui-hosted-dropdown>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-button{display:flex;height:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-base-03)}.t-button button{flex:1;text-align:center}.t-native-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"], components: [{ type: i1__namespace.TuiHostedDropdownComponent, selector: "tui-hosted-dropdown", inputs: ["content", "sided", "canOpen", "open"], outputs: ["openChange", "focusedChange"] }, { type: i2__namespace.TuiInputTagComponent, selector: "tui-input-tag", inputs: ["separator", "search", "editable", "tagValidator", "expandable", "rows", "inputHidden", "uniqueTags", "maxLength", "placeholder", "removable", "disabledItemHandler", "pseudoFocused"], outputs: ["searchChange"] }, { type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1__namespace.TuiCalendarComponent, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { type: i1__namespace.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }], directives: [{ type: i3__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i4__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1__namespace.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { type: i1__namespace.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }], pipes: { "tuiMapper": i6__namespace.TuiMapperPipe, "async": i7__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
550
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateMultiComponent, decorators: [{
|
|
551
|
+
type: i0.Component,
|
|
552
|
+
args: [{
|
|
553
|
+
selector: 'tui-input-date[multiple]',
|
|
554
|
+
templateUrl: './input-date-multi.template.html',
|
|
555
|
+
styleUrls: ['../input-date/input-date.style.less'],
|
|
556
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
557
|
+
providers: [
|
|
558
|
+
i6.tuiAsFocusableItemAccessor(TuiInputDateMultiComponent),
|
|
559
|
+
i6.tuiAsControl(TuiInputDateMultiComponent),
|
|
560
|
+
tokens.tuiDateStreamWithTransformer(tokens.TUI_DATE_VALUE_TRANSFORMER),
|
|
561
|
+
],
|
|
562
|
+
}]
|
|
563
|
+
}], ctorParameters: function () {
|
|
564
|
+
return [{ type: i4__namespace.NgControl, decorators: [{
|
|
565
|
+
type: i0.Optional
|
|
566
|
+
}, {
|
|
567
|
+
type: i0.Self
|
|
568
|
+
}, {
|
|
569
|
+
type: i0.Inject,
|
|
570
|
+
args: [i4.NgControl]
|
|
571
|
+
}] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
|
|
572
|
+
type: i0.Inject,
|
|
573
|
+
args: [i0.ChangeDetectorRef]
|
|
574
|
+
}] }, { type: i0__namespace.Injector, decorators: [{
|
|
575
|
+
type: i0.Inject,
|
|
576
|
+
args: [i0.Injector]
|
|
577
|
+
}] }, { type: undefined, decorators: [{
|
|
578
|
+
type: i0.Inject,
|
|
579
|
+
args: [i6.TUI_IS_MOBILE]
|
|
580
|
+
}] }, { type: i1__namespace.TuiDialogService, decorators: [{
|
|
581
|
+
type: i0.Inject,
|
|
582
|
+
args: [i1.TuiDialogService]
|
|
583
|
+
}] }, { type: i0__namespace.Type, decorators: [{
|
|
584
|
+
type: i0.Optional
|
|
585
|
+
}, {
|
|
586
|
+
type: i0.Inject,
|
|
587
|
+
args: [tokens.TUI_MOBILE_CALENDAR]
|
|
588
|
+
}] }, { type: undefined, decorators: [{
|
|
589
|
+
type: i0.Inject,
|
|
590
|
+
args: [i6.TUI_DATE_FORMAT]
|
|
591
|
+
}] }, { type: undefined, decorators: [{
|
|
592
|
+
type: i0.Inject,
|
|
593
|
+
args: [i6.TUI_DATE_SEPARATOR]
|
|
594
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
595
|
+
type: i0.Inject,
|
|
596
|
+
args: [tokens.TUI_DATE_TEXTS]
|
|
597
|
+
}] }, { type: i6__namespace.AbstractTuiValueTransformer, decorators: [{
|
|
598
|
+
type: i0.Optional
|
|
599
|
+
}, {
|
|
600
|
+
type: i0.Inject,
|
|
601
|
+
args: [tokens.TUI_DATE_VALUE_TRANSFORMER]
|
|
602
|
+
}] }, { type: undefined, decorators: [{
|
|
603
|
+
type: i0.Inject,
|
|
604
|
+
args: [tokens.TUI_INPUT_DATE_OPTIONS]
|
|
605
|
+
}] }, { type: i1__namespace.TuiTextfieldSizeDirective, decorators: [{
|
|
606
|
+
type: i0.Inject,
|
|
607
|
+
args: [i1.TUI_TEXTFIELD_SIZE]
|
|
608
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
609
|
+
type: i0.Inject,
|
|
610
|
+
args: [tokens.TUI_DONE_WORD]
|
|
611
|
+
}] }];
|
|
612
|
+
}, propDecorators: { textfield: [{
|
|
613
|
+
type: i0.ViewChild,
|
|
614
|
+
args: [i1.TuiPrimitiveTextfieldComponent]
|
|
615
|
+
}], inputTag: [{
|
|
616
|
+
type: i0.ViewChild,
|
|
617
|
+
args: [i2.TuiInputTagComponent]
|
|
618
|
+
}], min: [{
|
|
619
|
+
type: i0.Input
|
|
620
|
+
}], max: [{
|
|
621
|
+
type: i0.Input
|
|
622
|
+
}], disabledItemHandler: [{
|
|
623
|
+
type: i0.Input
|
|
624
|
+
}], markerHandler: [{
|
|
625
|
+
type: i0.Input
|
|
626
|
+
}], defaultActiveYearMonth: [{
|
|
627
|
+
type: i0.Input
|
|
628
|
+
}], expandable: [{
|
|
629
|
+
type: i0.Input
|
|
630
|
+
}], inputHidden: [{
|
|
631
|
+
type: i0.Input
|
|
632
|
+
}], editable: [{
|
|
633
|
+
type: i0.Input
|
|
634
|
+
}, {
|
|
635
|
+
type: i0.HostBinding,
|
|
636
|
+
args: ['class._editable']
|
|
637
|
+
}], search: [{
|
|
638
|
+
type: i0.Input
|
|
639
|
+
}], placeholder: [{
|
|
640
|
+
type: i0.Input
|
|
641
|
+
}], rows: [{
|
|
642
|
+
type: i0.Input
|
|
643
|
+
}], tagValidator: [{
|
|
644
|
+
type: i0.Input
|
|
645
|
+
}], onClick: [{
|
|
646
|
+
type: i0.HostListener,
|
|
647
|
+
args: ['click']
|
|
648
|
+
}], size: [{
|
|
649
|
+
type: i0.HostBinding,
|
|
650
|
+
args: ['attr.data-size']
|
|
651
|
+
}] } });
|
|
652
|
+
|
|
653
|
+
var TuiInputDateMultiModule = /** @class */ (function () {
|
|
654
|
+
function TuiInputDateMultiModule() {
|
|
655
|
+
}
|
|
656
|
+
return TuiInputDateMultiModule;
|
|
657
|
+
}());
|
|
658
|
+
TuiInputDateMultiModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateMultiModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
659
|
+
TuiInputDateMultiModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateMultiModule, declarations: [TuiInputDateMultiComponent], imports: [i7.CommonModule,
|
|
660
|
+
i3.MaskitoModule,
|
|
661
|
+
i5.PolymorpheusModule,
|
|
662
|
+
i1.TuiWrapperModule,
|
|
663
|
+
i1.TuiCalendarModule,
|
|
664
|
+
i1.TuiSvgModule,
|
|
665
|
+
i1.TuiLinkModule,
|
|
666
|
+
i2.TuiInputTagModule,
|
|
667
|
+
i4.FormsModule,
|
|
668
|
+
i6.TuiMapperPipeModule,
|
|
669
|
+
i1.TuiHostedDropdownModule,
|
|
670
|
+
i1.TuiTextfieldControllerModule,
|
|
671
|
+
i1.TuiPrimitiveTextfieldModule], exports: [TuiInputDateMultiComponent] });
|
|
672
|
+
TuiInputDateMultiModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateMultiModule, imports: [[
|
|
673
|
+
i7.CommonModule,
|
|
674
|
+
i3.MaskitoModule,
|
|
675
|
+
i5.PolymorpheusModule,
|
|
676
|
+
i1.TuiWrapperModule,
|
|
677
|
+
i1.TuiCalendarModule,
|
|
678
|
+
i1.TuiSvgModule,
|
|
679
|
+
i1.TuiLinkModule,
|
|
680
|
+
i2.TuiInputTagModule,
|
|
681
|
+
i4.FormsModule,
|
|
682
|
+
i6.TuiMapperPipeModule,
|
|
683
|
+
i1.TuiHostedDropdownModule,
|
|
684
|
+
i1.TuiTextfieldControllerModule,
|
|
685
|
+
i1.TuiPrimitiveTextfieldModule,
|
|
686
|
+
]] });
|
|
687
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateMultiModule, decorators: [{
|
|
688
|
+
type: i0.NgModule,
|
|
689
|
+
args: [{
|
|
690
|
+
imports: [
|
|
691
|
+
i7.CommonModule,
|
|
692
|
+
i3.MaskitoModule,
|
|
693
|
+
i5.PolymorpheusModule,
|
|
694
|
+
i1.TuiWrapperModule,
|
|
695
|
+
i1.TuiCalendarModule,
|
|
696
|
+
i1.TuiSvgModule,
|
|
697
|
+
i1.TuiLinkModule,
|
|
698
|
+
i2.TuiInputTagModule,
|
|
699
|
+
i4.FormsModule,
|
|
700
|
+
i6.TuiMapperPipeModule,
|
|
701
|
+
i1.TuiHostedDropdownModule,
|
|
702
|
+
i1.TuiTextfieldControllerModule,
|
|
703
|
+
i1.TuiPrimitiveTextfieldModule,
|
|
704
|
+
],
|
|
705
|
+
declarations: [TuiInputDateMultiComponent],
|
|
706
|
+
exports: [TuiInputDateMultiComponent],
|
|
707
|
+
}]
|
|
708
|
+
}] });
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Generated bundle index. Do not edit.
|
|
712
|
+
*/
|
|
713
|
+
|
|
714
|
+
exports.TuiInputDateMultiComponent = TuiInputDateMultiComponent;
|
|
715
|
+
exports.TuiInputDateMultiModule = TuiInputDateMultiModule;
|
|
716
|
+
|
|
717
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
718
|
+
|
|
719
|
+
}));
|
|
720
|
+
//# sourceMappingURL=taiga-ui-kit-components-input-date-multi.umd.js.map
|