@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-pipes-to-country-code.js","sources":["../../../projects/kit/pipes/to-country-code/to-country-code.pipe.ts","../../../projects/kit/pipes/to-country-code/to-country-code.module.ts"],"sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {CHAR_PLUS} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {TUI_COUNTRIES_MASKS} from '@taiga-ui/kit/tokens';\nimport {\n tuiGetMaxAllowedPhoneLength,\n tuiIsoToCountryCode,\n tuiNotKzRegion,\n} from '@taiga-ui/kit/utils';\n\n@Pipe({\n name: `tuiToCountryCode`,\n})\nexport class TuiToCountryCodePipe implements PipeTransform {\n constructor(\n @Inject(TUI_COUNTRIES_MASKS)\n private readonly countriesMasks: Record<TuiCountryIsoCode, string>,\n ) {}\n\n transform(\n value: string,\n countries: readonly TuiCountryIsoCode[],\n ): TuiCountryIsoCode | undefined {\n return countries.find(countryIsoCode => {\n const ruCodeTest =\n countryIsoCode === TuiCountryIsoCode.RU &&\n /^[78]/.test(value) &&\n /^(?!880[1-9 ])/.test(value) &&\n value.length + 1 ===\n tuiGetMaxAllowedPhoneLength(\n this.countriesMasks,\n TuiCountryIsoCode.RU,\n );\n\n const matched =\n ruCodeTest ||\n (value.startsWith(\n tuiIsoToCountryCode(this.countriesMasks, countryIsoCode).replace(\n CHAR_PLUS,\n ``,\n ),\n ) &&\n value.length + 1 ===\n tuiGetMaxAllowedPhoneLength(this.countriesMasks, countryIsoCode));\n\n if (matched) {\n switch (countryIsoCode) {\n case TuiCountryIsoCode.RU:\n return tuiNotKzRegion(value);\n case TuiCountryIsoCode.KZ:\n return !tuiNotKzRegion(value);\n default:\n return true;\n }\n }\n\n return false;\n });\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiToCountryCodePipe} from './to-country-code.pipe';\n\n@NgModule({\n declarations: [TuiToCountryCodePipe],\n exports: [TuiToCountryCodePipe],\n})\nexport class TuiExtractCountryCodeModule {}\n"],"names":[],"mappings":";;;;;;;MAaa,oBAAoB,CAAA;AAC7B,IAAA,WAAA,CAEqB,cAAiD,EAAA;QAAjD,IAAc,CAAA,cAAA,GAAd,cAAc,CAAmC;KAClE;IAEJ,SAAS,CACL,KAAa,EACb,SAAuC,EAAA;AAEvC,QAAA,OAAO,SAAS,CAAC,IAAI,CAAC,cAAc,IAAG;AACnC,YAAA,MAAM,UAAU,GACZ,cAAc,KAAK,iBAAiB,CAAC,EAAE;AACvC,gBAAA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AACF,oBAAA,IAAI,EAAE,CAAkB,gBAAA,CAAA;AAC3B,iBAAA,CAAA;;0BAGQ,MAAM;2BAAC,mBAAmB,CAAA;;;MCPtB,2BAA2B,CAAA;;yHAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;0HAA3B,2BAA2B,EAAA,YAAA,EAAA,CAHrB,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;0HAErB,2BAA2B,EAAA,CAAA,CAAA;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-pipes-to-country-code.js","sources":["../../../projects/kit/pipes/to-country-code/to-country-code.pipe.ts","../../../projects/kit/pipes/to-country-code/to-country-code.module.ts","../../../projects/kit/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.ts"],"sourcesContent":["import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {CHAR_PLUS} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {TUI_COUNTRIES_MASKS} from '@taiga-ui/kit/tokens';\nimport {\n tuiGetMaxAllowedPhoneLength,\n tuiIsoToCountryCode,\n tuiNotKzRegion,\n} from '@taiga-ui/kit/utils';\n\n@Pipe({\n name: `tuiToCountryCode`,\n})\nexport class TuiToCountryCodePipe implements PipeTransform {\n constructor(\n @Inject(TUI_COUNTRIES_MASKS)\n private readonly countriesMasks: Record<TuiCountryIsoCode, string>,\n ) {}\n\n transform(\n value: string,\n countries: readonly TuiCountryIsoCode[],\n ): TuiCountryIsoCode | undefined {\n return countries.find(countryIsoCode => {\n const ruCodeTest =\n countryIsoCode === TuiCountryIsoCode.RU &&\n /^[78]/.test(value) &&\n /^(?!880[1-9 ])/.test(value) &&\n value.length + 1 ===\n tuiGetMaxAllowedPhoneLength(\n this.countriesMasks,\n TuiCountryIsoCode.RU,\n );\n\n const matched =\n ruCodeTest ||\n (value.startsWith(\n tuiIsoToCountryCode(this.countriesMasks, countryIsoCode).replace(\n CHAR_PLUS,\n ``,\n ),\n ) &&\n value.length + 1 ===\n tuiGetMaxAllowedPhoneLength(this.countriesMasks, countryIsoCode));\n\n if (matched) {\n switch (countryIsoCode) {\n case TuiCountryIsoCode.RU:\n return tuiNotKzRegion(value);\n case TuiCountryIsoCode.KZ:\n return !tuiNotKzRegion(value);\n default:\n return true;\n }\n }\n\n return false;\n });\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiToCountryCodePipe} from './to-country-code.pipe';\n\n@NgModule({\n declarations: [TuiToCountryCodePipe],\n exports: [TuiToCountryCodePipe],\n})\nexport class TuiExtractCountryCodeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAaa,oBAAoB,CAAA;AAC7B,IAAA,WAAA,CAEqB,cAAiD,EAAA;QAAjD,IAAc,CAAA,cAAA,GAAd,cAAc,CAAmC;KAClE;IAEJ,SAAS,CACL,KAAa,EACb,SAAuC,EAAA;AAEvC,QAAA,OAAO,SAAS,CAAC,IAAI,CAAC,cAAc,IAAG;AACnC,YAAA,MAAM,UAAU,GACZ,cAAc,KAAK,iBAAiB,CAAC,EAAE;AACvC,gBAAA,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;AACnB,gBAAA,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;gBAC5B,KAAK,CAAC,MAAM,GAAG,CAAC;oBACZ,2BAA2B,CACvB,IAAI,CAAC,cAAc,EACnB,iBAAiB,CAAC,EAAE,CACvB,CAAC;YAEV,MAAM,OAAO,GACT,UAAU;AACV,iBAAC,KAAK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EAAA,YAAA,EAAA,CAHrB,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA;0HAErB,2BAA2B,EAAA,CAAA,CAAA;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -29,5 +29,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
29
29
|
}]
|
|
30
30
|
}] });
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Generated bundle index. Do not edit.
|
|
34
|
+
*/
|
|
35
|
+
|
|
32
36
|
export { TuiToYearPipe, TuiToYearPipeModule };
|
|
33
37
|
//# sourceMappingURL=taiga-ui-kit-pipes-to-year.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-pipes-to-year.js","sources":["../../../projects/kit/pipes/to-year/to-year.pipe.ts","../../../projects/kit/pipes/to-year/to-year.module.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiYear} from '@taiga-ui/cdk';\n\n@Pipe({\n name: `tuiToYear`,\n})\nexport class TuiToYearPipe implements PipeTransform {\n transform(value: number): TuiYear {\n return new TuiYear(value);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiToYearPipe} from './to-year.pipe';\n\n@NgModule({\n declarations: [TuiToYearPipe],\n exports: [TuiToYearPipe],\n})\nexport class TuiToYearPipeModule {}\n"],"names":[],"mappings":";;;;MAMa,aAAa,CAAA;AACtB,IAAA,SAAS,CAAC,KAAa,EAAA;AACnB,QAAA,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC;KAC7B;;2GAHQ,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAb,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,CAAW,SAAA,CAAA;AACpB,iBAAA,CAAA;;;MCGY,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAAnB,mBAAmB,EAAA,YAAA,EAAA,CAHb,aAAa,CAAA,EAAA,OAAA,EAAA,CAClB,aAAa,CAAA,EAAA,CAAA,CAAA;kHAEd,mBAAmB,EAAA,CAAA,CAAA;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,aAAa,CAAC;oBAC7B,OAAO,EAAE,CAAC,aAAa,CAAC;AAC3B,iBAAA,CAAA
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-pipes-to-year.js","sources":["../../../projects/kit/pipes/to-year/to-year.pipe.ts","../../../projects/kit/pipes/to-year/to-year.module.ts","../../../projects/kit/pipes/to-year/taiga-ui-kit-pipes-to-year.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiYear} from '@taiga-ui/cdk';\n\n@Pipe({\n name: `tuiToYear`,\n})\nexport class TuiToYearPipe implements PipeTransform {\n transform(value: number): TuiYear {\n return new TuiYear(value);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiToYearPipe} from './to-year.pipe';\n\n@NgModule({\n declarations: [TuiToYearPipe],\n exports: [TuiToYearPipe],\n})\nexport class TuiToYearPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,aAAa,CAAA;AACtB,IAAA,SAAS,CAAC,KAAa,EAAA;AACnB,QAAA,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC;KAC7B;;2GAHQ,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;yGAAb,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,CAAW,SAAA,CAAA;AACpB,iBAAA,CAAA;;;MCGY,mBAAmB,CAAA;;iHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kHAAnB,mBAAmB,EAAA,YAAA,EAAA,CAHb,aAAa,CAAA,EAAA,OAAA,EAAA,CAClB,aAAa,CAAA,EAAA,CAAA,CAAA;kHAEd,mBAAmB,EAAA,CAAA,CAAA;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,aAAa,CAAC;oBAC7B,OAAO,EAAE,CAAC,aAAa,CAAC;AAC3B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -6,4 +6,8 @@ export * from '@taiga-ui/kit/pipes/stringify';
|
|
|
6
6
|
export * from '@taiga-ui/kit/pipes/stringify-content';
|
|
7
7
|
export * from '@taiga-ui/kit/pipes/to-country-code';
|
|
8
8
|
export * from '@taiga-ui/kit/pipes/to-year';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Generated bundle index. Do not edit.
|
|
12
|
+
*/
|
|
9
13
|
//# sourceMappingURL=taiga-ui-kit-pipes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-pipes.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-pipes.js","sources":["../../../projects/kit/pipes/taiga-ui-kit-pipes.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;;AAEG"}
|
|
@@ -26,5 +26,9 @@ const TUI_VALUE_ACCESSOR_PROVIDER = {
|
|
|
26
26
|
useFactory: identity,
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Generated bundle index. Do not edit.
|
|
31
|
+
*/
|
|
32
|
+
|
|
29
33
|
export { FIXED_DROPDOWN_CONTROLLER_PROVIDER, TUI_MONTH_FORMATTER_PROVIDER, TUI_VALUE_ACCESSOR_PROVIDER };
|
|
30
34
|
//# sourceMappingURL=taiga-ui-kit-providers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-providers.js","sources":["../../../projects/kit/providers/month-formatter.provider.ts","../../../projects/kit/providers/specific-dropdown-controllers.ts","../../../projects/kit/providers/value-accessor.provider.ts"],"sourcesContent":["import {FactoryProvider} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {TuiMonthPipe} from '@taiga-ui/core';\nimport {TUI_MONTH_FORMATTER} from '@taiga-ui/kit/tokens';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nexport const TUI_MONTH_FORMATTER_PROVIDER: FactoryProvider = {\n provide: TUI_MONTH_FORMATTER,\n deps: [TuiMonthPipe],\n useFactory:\n (pipe: TuiMonthPipe): TuiHandler<TuiMonth | null, Observable<string>> =>\n month =>\n month\n ? pipe\n .transform(month)\n .pipe(map(formatted => `${formatted} ${month.formattedYear}`))\n : of(``),\n};\n","import {tuiDropdownOptionsProvider} from '@taiga-ui/core';\n\nexport const FIXED_DROPDOWN_CONTROLLER_PROVIDER = tuiDropdownOptionsProvider({\n limitWidth: `fixed`,\n align: `right`,\n});\n","import {FactoryProvider, Optional, Self} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {TUI_VALUE_ACCESSOR} from '@taiga-ui/core';\nimport {identity} from 'rxjs';\n\nexport const TUI_VALUE_ACCESSOR_PROVIDER: FactoryProvider = {\n provide: TUI_VALUE_ACCESSOR,\n deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],\n useFactory: identity,\n};\n"],"names":[],"mappings":";;;;;;;AAOa,MAAA,4BAA4B,GAAoB;AACzD,IAAA,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,CAAC,YAAY,CAAC;IACpB,UAAU,EACN,CAAC,IAAkB,KACnB,KAAK,IACD,KAAK;AACD,UAAE,IAAI;aACC,SAAS,CAAC,KAAK,CAAC;AAChB,aAAA,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAG,EAAA,SAAS,IAAI,KAAK,CAAC,aAAa,CAAA,CAAE,CAAC,CAAC;AACpE,UAAE,EAAE,CAAC,CAAA,CAAE,CAAC;;;ACfjB,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AACzE,IAAA,UAAU,EAAE,CAAO,KAAA,CAAA;AACnB,IAAA,KAAK,EAAE,CAAO,KAAA,CAAA;AACjB,CAAA;;ACAY,MAAA,2BAA2B,GAAoB;AACxD,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,iBAAiB,CAAC,CAAC;AACvD,IAAA,UAAU,EAAE,QAAQ
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-providers.js","sources":["../../../projects/kit/providers/month-formatter.provider.ts","../../../projects/kit/providers/specific-dropdown-controllers.ts","../../../projects/kit/providers/value-accessor.provider.ts","../../../projects/kit/providers/taiga-ui-kit-providers.ts"],"sourcesContent":["import {FactoryProvider} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {TuiMonthPipe} from '@taiga-ui/core';\nimport {TUI_MONTH_FORMATTER} from '@taiga-ui/kit/tokens';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nexport const TUI_MONTH_FORMATTER_PROVIDER: FactoryProvider = {\n provide: TUI_MONTH_FORMATTER,\n deps: [TuiMonthPipe],\n useFactory:\n (pipe: TuiMonthPipe): TuiHandler<TuiMonth | null, Observable<string>> =>\n month =>\n month\n ? pipe\n .transform(month)\n .pipe(map(formatted => `${formatted} ${month.formattedYear}`))\n : of(``),\n};\n","import {tuiDropdownOptionsProvider} from '@taiga-ui/core';\n\nexport const FIXED_DROPDOWN_CONTROLLER_PROVIDER = tuiDropdownOptionsProvider({\n limitWidth: `fixed`,\n align: `right`,\n});\n","import {FactoryProvider, Optional, Self} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {TUI_VALUE_ACCESSOR} from '@taiga-ui/core';\nimport {identity} from 'rxjs';\n\nexport const TUI_VALUE_ACCESSOR_PROVIDER: FactoryProvider = {\n provide: TUI_VALUE_ACCESSOR,\n deps: [[new Optional(), new Self(), NG_VALUE_ACCESSOR]],\n useFactory: identity,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAOa,MAAA,4BAA4B,GAAoB;AACzD,IAAA,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,CAAC,YAAY,CAAC;IACpB,UAAU,EACN,CAAC,IAAkB,KACnB,KAAK,IACD,KAAK;AACD,UAAE,IAAI;aACC,SAAS,CAAC,KAAK,CAAC;AAChB,aAAA,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAG,EAAA,SAAS,IAAI,KAAK,CAAC,aAAa,CAAA,CAAE,CAAC,CAAC;AACpE,UAAE,EAAE,CAAC,CAAA,CAAE,CAAC;;;ACfjB,MAAM,kCAAkC,GAAG,0BAA0B,CAAC;AACzE,IAAA,UAAU,EAAE,CAAO,KAAA,CAAA;AACnB,IAAA,KAAK,EAAE,CAAO,KAAA,CAAA;AACjB,CAAA;;ACAY,MAAA,2BAA2B,GAAoB;AACxD,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,IAAI,EAAE,CAAC,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,iBAAiB,CAAC,CAAC;AACvD,IAAA,UAAU,EAAE,QAAQ;;;ACRxB;;AAEG;;;;"}
|
|
@@ -31,5 +31,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
31
31
|
args: [TuiDialogService]
|
|
32
32
|
}] }]; } });
|
|
33
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Generated bundle index. Do not edit.
|
|
36
|
+
*/
|
|
37
|
+
|
|
34
38
|
export { TuiDialogFormService };
|
|
35
39
|
//# sourceMappingURL=taiga-ui-kit-services.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-services.js","sources":["../../../projects/kit/services/dialog-form.service.ts"],"sourcesContent":["import {Inject, Injectable} from '@angular/core';\nimport {TuiDialogOptions, TuiDialogService} from '@taiga-ui/core';\nimport {TUI_PROMPT, TuiPromptData} from '@taiga-ui/kit/components';\nimport {defer, Observable, of} from 'rxjs';\n\n@Injectable()\nexport class TuiDialogFormService {\n private dirty = false;\n\n constructor(@Inject(TuiDialogService) private readonly dialogs: TuiDialogService) {}\n\n markAsDirty(): void {\n this.dirty = true;\n }\n\n markAsPristine(): void {\n this.dirty = false;\n }\n\n withPrompt(options: Partial<TuiDialogOptions<TuiPromptData>>): Observable<boolean> {\n return defer(() =>\n this.dirty\n ? this.dialogs.open<boolean>(TUI_PROMPT, {\n size: `s`,\n ...options,\n })\n : of(true),\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;MAMa,oBAAoB,CAAA;AAG7B,IAAA,WAAA,CAAuD,OAAyB,EAAA;QAAzB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QAFxE,IAAK,CAAA,KAAA,GAAG,KAAK,CAAC;KAE8D;IAEpF,WAAW,GAAA;AACP,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;KACrB;IAED,cAAc,GAAA;AACV,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;KACtB;AAED,IAAA,UAAU,CAAC,OAAiD,EAAA;AACxD,QAAA,OAAO,KAAK,CAAC,MACT,IAAI,CAAC,KAAK;AACN,cAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAU,UAAU,EAAA,MAAA,CAAA,MAAA,CAAA,EACjC,IAAI,EAAE,CAAG,CAAA,CAAA,EAAA,EACN,OAAO,CACZ,CAAA;AACJ,cAAE,EAAE,CAAC,IAAI,CAAC,CACjB,CAAC;KACL;;AAtBQ,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,kBAGT,gBAAgB,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;sHAH3B,oBAAoB,EAAA,CAAA,CAAA;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC,UAAU;;0BAIM,MAAM;2BAAC,gBAAgB,CAAA
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-services.js","sources":["../../../projects/kit/services/dialog-form.service.ts","../../../projects/kit/services/taiga-ui-kit-services.ts"],"sourcesContent":["import {Inject, Injectable} from '@angular/core';\nimport {TuiDialogOptions, TuiDialogService} from '@taiga-ui/core';\nimport {TUI_PROMPT, TuiPromptData} from '@taiga-ui/kit/components';\nimport {defer, Observable, of} from 'rxjs';\n\n@Injectable()\nexport class TuiDialogFormService {\n private dirty = false;\n\n constructor(@Inject(TuiDialogService) private readonly dialogs: TuiDialogService) {}\n\n markAsDirty(): void {\n this.dirty = true;\n }\n\n markAsPristine(): void {\n this.dirty = false;\n }\n\n withPrompt(options: Partial<TuiDialogOptions<TuiPromptData>>): Observable<boolean> {\n return defer(() =>\n this.dirty\n ? this.dialogs.open<boolean>(TUI_PROMPT, {\n size: `s`,\n ...options,\n })\n : of(true),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAMa,oBAAoB,CAAA;AAG7B,IAAA,WAAA,CAAuD,OAAyB,EAAA;QAAzB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QAFxE,IAAK,CAAA,KAAA,GAAG,KAAK,CAAC;KAE8D;IAEpF,WAAW,GAAA;AACP,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;KACrB;IAED,cAAc,GAAA;AACV,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;KACtB;AAED,IAAA,UAAU,CAAC,OAAiD,EAAA;AACxD,QAAA,OAAO,KAAK,CAAC,MACT,IAAI,CAAC,KAAK;AACN,cAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAU,UAAU,EAAA,MAAA,CAAA,MAAA,CAAA,EACjC,IAAI,EAAE,CAAG,CAAA,CAAA,EAAA,EACN,OAAO,CACZ,CAAA;AACJ,cAAE,EAAE,CAAC,IAAI,CAAC,CACjB,CAAC;KACL;;AAtBQ,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,kBAGT,gBAAgB,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;sHAH3B,oBAAoB,EAAA,CAAA,CAAA;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC,UAAU;;0BAIM,MAAM;2BAAC,gBAAgB,CAAA;;;ACTxC;;AAEG;;;;"}
|
|
@@ -4,6 +4,9 @@ import { tuiControlValueFactory } from '@taiga-ui/kit/utils';
|
|
|
4
4
|
import { tuiCreateToken, tuiCreateTokenFromFactory, TUI_FIRST_DAY, TUI_LAST_DAY, tuiProvideOptions, TUI_DEFAULT_STRINGIFY, TUI_DEFAULT_IDENTITY_MATCHER, ALWAYS_FALSE_HANDLER } from '@taiga-ui/cdk';
|
|
5
5
|
import { TuiCountryIsoCode, tuiExtractI18n } from '@taiga-ui/i18n';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Stream that emits calendar data change
|
|
9
|
+
*/
|
|
7
10
|
const TUI_CALENDAR_DATE_STREAM = new InjectionToken(`[TUI_CALENDAR_DATE_STREAM]`);
|
|
8
11
|
function tuiDateStreamWithTransformer(transformer) {
|
|
9
12
|
return {
|
|
@@ -234,8 +237,18 @@ const TUI_COUNTRIES_MASKS = tuiCreateToken({
|
|
|
234
237
|
[TuiCountryIsoCode.ZW]: `+263#-######`,
|
|
235
238
|
});
|
|
236
239
|
|
|
240
|
+
// TODO: Refactor to use `AbstractTuiValueTransformer` and add ability to provide it for all controls
|
|
241
|
+
/**
|
|
242
|
+
* Control value transformer of TuiDay to custom value format for InputDate* components
|
|
243
|
+
*/
|
|
237
244
|
const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken(`[TUI_DATE_VALUE_TRANSFORMER]`);
|
|
245
|
+
/**
|
|
246
|
+
* Control value transformer for InputDateRange component
|
|
247
|
+
*/
|
|
238
248
|
const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken(`[TUI_DATE_RANGE_VALUE_TRANSFORMER]`);
|
|
249
|
+
/**
|
|
250
|
+
* Control value transformer for InputDateTime component
|
|
251
|
+
*/
|
|
239
252
|
const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken(`[TUI_DATE_TIME_VALUE_TRANSFORMER]`);
|
|
240
253
|
|
|
241
254
|
const TUI_PROMPT_WORDS = tuiCreateTokenFromFactory(tuiExtractI18n(`prompt`));
|
|
@@ -266,6 +279,9 @@ const TUI_INPUT_DATE_DEFAULT_OPTIONS = {
|
|
|
266
279
|
max: TUI_LAST_DAY,
|
|
267
280
|
nativePicker: false,
|
|
268
281
|
};
|
|
282
|
+
/**
|
|
283
|
+
* Default parameters for InputDate component
|
|
284
|
+
*/
|
|
269
285
|
const TUI_INPUT_DATE_OPTIONS = tuiCreateToken(TUI_INPUT_DATE_DEFAULT_OPTIONS);
|
|
270
286
|
function tuiInputDateOptionsProvider(options) {
|
|
271
287
|
return tuiProvideOptions(TUI_INPUT_DATE_OPTIONS, options, TUI_INPUT_DATE_DEFAULT_OPTIONS);
|
|
@@ -276,18 +292,37 @@ const TUI_DEFAULT_ITEMS_HANDLERS = {
|
|
|
276
292
|
identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,
|
|
277
293
|
disabledItemHandler: ALWAYS_FALSE_HANDLER,
|
|
278
294
|
};
|
|
295
|
+
/**
|
|
296
|
+
* Default items handlers for components
|
|
297
|
+
*/
|
|
279
298
|
const TUI_ITEMS_HANDLERS = tuiCreateToken(TUI_DEFAULT_ITEMS_HANDLERS);
|
|
280
299
|
function tuiItemsHandlersProvider(options) {
|
|
281
300
|
return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);
|
|
282
301
|
}
|
|
283
302
|
|
|
303
|
+
/**
|
|
304
|
+
* A component for mobile data picker
|
|
305
|
+
*/
|
|
284
306
|
const TUI_MOBILE_CALENDAR = new InjectionToken(`[TUI_MOBILE_CALENDAR]`);
|
|
285
307
|
|
|
308
|
+
/**
|
|
309
|
+
* A function to get localized formatted month
|
|
310
|
+
*/
|
|
286
311
|
const TUI_MONTH_FORMATTER = new InjectionToken(`[TUI_MONTH_FORMATTER]`);
|
|
287
312
|
|
|
313
|
+
/**
|
|
314
|
+
* Margin between tabs
|
|
315
|
+
*/
|
|
288
316
|
const TUI_TAB_MARGIN = tuiCreateToken(24);
|
|
289
317
|
|
|
318
|
+
/**
|
|
319
|
+
* Validation errors
|
|
320
|
+
*/
|
|
290
321
|
const TUI_VALIDATION_ERRORS = tuiCreateToken({});
|
|
291
322
|
|
|
323
|
+
/**
|
|
324
|
+
* Generated bundle index. Do not edit.
|
|
325
|
+
*/
|
|
326
|
+
|
|
292
327
|
export { TUI_CALENDAR_DATE_STREAM, TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_COPY_TEXTS, TUI_COUNTRIES, TUI_COUNTRIES_MASKS, TUI_DATE_RANGE_VALUE_TRANSFORMER, TUI_DATE_TEXTS, TUI_DATE_TIME_VALUE_TRANSFORMER, TUI_DATE_VALUE_TRANSFORMER, TUI_DEFAULT_ITEMS_HANDLERS, TUI_DIGITAL_INFORMATION_UNITS, TUI_DONE_WORD, TUI_FILE_TEXTS, TUI_FROM_TO_TEXTS, TUI_HIDE_TEXT, TUI_INPUT_DATE_DEFAULT_OPTIONS, TUI_INPUT_DATE_OPTIONS, TUI_INPUT_FILE_TEXTS, TUI_ITEMS_HANDLERS, TUI_MOBILE_CALENDAR, TUI_MONTH_FORMATTER, TUI_MORE_WORD, TUI_MULTI_SELECT_TEXTS, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_PROMPT_WORDS, TUI_SHOW_ALL_TEXT, TUI_TAB_MARGIN, TUI_TIME_TEXTS, TUI_VALIDATION_ERRORS, tuiDateStreamWithTransformer, tuiInputDateOptionsProvider, tuiItemsHandlersProvider };
|
|
293
328
|
//# sourceMappingURL=taiga-ui-kit-tokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-tokens.js","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/countries-masks.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/tab-margin.ts","../../../projects/kit/tokens/validation-errors.ts"],"sourcesContent":["import {InjectionToken, Optional, Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {tuiControlValueFactory} from '@taiga-ui/kit/utils';\nimport {Observable} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(`[TUI_CALENDAR_DATE_STREAM]`);\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiControlValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n","import {tuiCreateToken} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nexport const TUI_COUNTRIES_MASKS = tuiCreateToken<Record<TuiCountryIsoCode, string>>({\n [TuiCountryIsoCode.AD]: `+376###-###`,\n [TuiCountryIsoCode.AE]: `+971-##-###-####`,\n [TuiCountryIsoCode.AF]: `+93##-###-####`,\n [TuiCountryIsoCode.AG]: `+1(268) ###-####`,\n [TuiCountryIsoCode.AI]: `+1(264) ###-####`,\n [TuiCountryIsoCode.AL]: `+355(###) ###-###`,\n [TuiCountryIsoCode.AM]: `+374##-###-###`,\n [TuiCountryIsoCode.AO]: `+244(###) ###-###`,\n [TuiCountryIsoCode.AR]: `+54(###) ####-####`,\n [TuiCountryIsoCode.AT]: `+43(###) ###-####`,\n [TuiCountryIsoCode.AU]: `+61#-####-####`,\n [TuiCountryIsoCode.AW]: `+297###-####`,\n [TuiCountryIsoCode.AZ]: `+994##-###-##-##`,\n [TuiCountryIsoCode.BA]: `+387 ###-####-##`,\n [TuiCountryIsoCode.BB]: `+1(246) ###-####`,\n [TuiCountryIsoCode.BD]: `+880##-###-###`,\n [TuiCountryIsoCode.BE]: `+32(###) ###-###`,\n [TuiCountryIsoCode.BF]: `+226##-##-####`,\n [TuiCountryIsoCode.BG]: `+359(###) ###-###`,\n [TuiCountryIsoCode.BH]: `+973####-####`,\n [TuiCountryIsoCode.BI]: `+257##-##-####`,\n [TuiCountryIsoCode.BJ]: `+229##-##-####`,\n [TuiCountryIsoCode.BL]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.BM]: `+1(441) ###-####`,\n [TuiCountryIsoCode.BN]: `+673###-####`,\n [TuiCountryIsoCode.BO]: `+591#-###-####`,\n [TuiCountryIsoCode.BQ]: `+599-###-####`,\n [TuiCountryIsoCode.BR]: `+55(##) ####-####`,\n [TuiCountryIsoCode.BS]: `+1(242) ###-####`,\n [TuiCountryIsoCode.BT]: `+975#-###-###`,\n [TuiCountryIsoCode.BW]: `+267##-###-###`,\n [TuiCountryIsoCode.BY]: `+375(##) ###-##-##`,\n [TuiCountryIsoCode.BZ]: `+501###-####`,\n [TuiCountryIsoCode.CA]: `+1(###) ###-####`,\n [TuiCountryIsoCode.CD]: `+243(###) ###-###`,\n [TuiCountryIsoCode.CF]: `+236-##-##-####`,\n [TuiCountryIsoCode.CG]: `+242##-###-####`,\n [TuiCountryIsoCode.CH]: `+41##-###-####`,\n [TuiCountryIsoCode.CI]: `+225##-##-###-###`,\n [TuiCountryIsoCode.CL]: `+56#-####-####`,\n [TuiCountryIsoCode.CM]: `+237#####-####`,\n [TuiCountryIsoCode.CN]: `+86(###) ####-####`,\n [TuiCountryIsoCode.CO]: `+57(###) ###-####`,\n [TuiCountryIsoCode.CR]: `+506####-####`,\n [TuiCountryIsoCode.CU]: `+53#-###-####`,\n [TuiCountryIsoCode.CV]: `+238(###) ##-##`,\n [TuiCountryIsoCode.CW]: `+5999-###-####`,\n [TuiCountryIsoCode.CY]: `+357##-###-###`,\n [TuiCountryIsoCode.CZ]: `+420(###) ###-###`,\n [TuiCountryIsoCode.DE]: `+49(###) ###-###-##`,\n [TuiCountryIsoCode.DJ]: `+253##-##-##-##`,\n [TuiCountryIsoCode.DK]: `+45##-##-##-##`,\n [TuiCountryIsoCode.DM]: `+1(767) ###-####`,\n [TuiCountryIsoCode.DO]: `+1(###) ###-####`,\n [TuiCountryIsoCode.DZ]: `+213##-###-####`,\n [TuiCountryIsoCode.EC]: `+593##-###-####`,\n [TuiCountryIsoCode.EE]: `+372####-####`,\n [TuiCountryIsoCode.EG]: `+20(###) ###-####`,\n [TuiCountryIsoCode.ER]: `+291#-###-###`,\n [TuiCountryIsoCode.ES]: `+34(###) ###-###`,\n [TuiCountryIsoCode.ET]: `+251##-###-####`,\n [TuiCountryIsoCode.FI]: `+358(###) ###-##-##`,\n [TuiCountryIsoCode.FJ]: `+679##-#####`,\n [TuiCountryIsoCode.FK]: `+500#####`,\n [TuiCountryIsoCode.FM]: `+691###-####`,\n [TuiCountryIsoCode.FR]: `+33 ## ## ## ## ##`,\n [TuiCountryIsoCode.GA]: `+241##-##-##-##`,\n [TuiCountryIsoCode.GB]: `+44##-####-####`,\n [TuiCountryIsoCode.GD]: `+1(473) ###-####`,\n [TuiCountryIsoCode.GE]: `+995(###) ###-###`,\n [TuiCountryIsoCode.GF]: `+594 ## ## ## ## ##`,\n [TuiCountryIsoCode.GH]: `+233(###) ###-###`,\n [TuiCountryIsoCode.GI]: `+350###-#####`,\n [TuiCountryIsoCode.GL]: `+299##-##-##`,\n [TuiCountryIsoCode.GM]: `+220(###) ##-##`,\n [TuiCountryIsoCode.GN]: `+224##-###-###`,\n [TuiCountryIsoCode.GP]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.GQ]: `+240##-###-####`,\n [TuiCountryIsoCode.GR]: `+30(###) ###-####`,\n [TuiCountryIsoCode.GT]: `+502#-###-####`,\n [TuiCountryIsoCode.GW]: `+245#-######`,\n [TuiCountryIsoCode.GY]: `+592###-####`,\n [TuiCountryIsoCode.HK]: `+852####-####`,\n [TuiCountryIsoCode.HN]: `+504####-####`,\n [TuiCountryIsoCode.HR]: `+385##-###-####`,\n [TuiCountryIsoCode.HT]: `+509##-##-####`,\n [TuiCountryIsoCode.HU]: `+36(###) ###-###`,\n [TuiCountryIsoCode.ID]: `+62(###) ###-##-###`,\n [TuiCountryIsoCode.IE]: `+353(###) ###-###`,\n [TuiCountryIsoCode.IL]: `+972##-###-####`,\n [TuiCountryIsoCode.IN]: `+91(####) ###-###`,\n [TuiCountryIsoCode.IQ]: `+964(###) ###-####`,\n [TuiCountryIsoCode.IR]: `+98(###) ###-####`,\n [TuiCountryIsoCode.IS]: `+354###-####`,\n [TuiCountryIsoCode.IT]: `+39(###) ####-###`,\n [TuiCountryIsoCode.JM]: `+1(876) ###-####`,\n [TuiCountryIsoCode.JO]: `+962#-####-####`,\n [TuiCountryIsoCode.JP]: `+81-##-####-####`,\n [TuiCountryIsoCode.KE]: `+254###-######`,\n [TuiCountryIsoCode.KG]: `+996(###) ###-###`,\n [TuiCountryIsoCode.KH]: `+855##-###-###`,\n [TuiCountryIsoCode.KM]: `+269##-#####`,\n [TuiCountryIsoCode.KN]: `+1(869) ###-####`,\n [TuiCountryIsoCode.KP]: `+850####-#############`,\n [TuiCountryIsoCode.KR]: `+82##-###-####`,\n [TuiCountryIsoCode.KW]: `+965####-####`,\n [TuiCountryIsoCode.KY]: `+1(345) ###-####`,\n [TuiCountryIsoCode.KZ]: `+7(###) ###-##-##`,\n [TuiCountryIsoCode.LA]: `+856##-##-###-###`,\n [TuiCountryIsoCode.LB]: `+961##-###-###`,\n [TuiCountryIsoCode.LC]: `+1(758) ###-####`,\n [TuiCountryIsoCode.LI]: `+423(###) ###-####`,\n [TuiCountryIsoCode.LK]: `+94##-###-####`,\n [TuiCountryIsoCode.LR]: `+231##-###-###`,\n [TuiCountryIsoCode.LS]: `+266#-###-####`,\n [TuiCountryIsoCode.LT]: `+370(###) ##-###`,\n [TuiCountryIsoCode.LU]: `+352(###) ###-###`,\n [TuiCountryIsoCode.LV]: `+371##-###-###`,\n [TuiCountryIsoCode.LY]: `+218##-###-####`,\n [TuiCountryIsoCode.MA]: `+212##-####-###`,\n [TuiCountryIsoCode.MC]: `+377###-###-###`,\n [TuiCountryIsoCode.MD]: `+373####-####`,\n [TuiCountryIsoCode.ME]: `+382##-###-###`,\n [TuiCountryIsoCode.MF]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.MG]: `+261##-##-#####`,\n [TuiCountryIsoCode.MK]: `+389##-###-###`,\n [TuiCountryIsoCode.ML]: `+223##-##-####`,\n [TuiCountryIsoCode.MM]: `+95##-###-###`,\n [TuiCountryIsoCode.MN]: `+976##-##-####`,\n [TuiCountryIsoCode.MO]: `+853####-####`,\n [TuiCountryIsoCode.MQ]: `+596 ## ## ## ## ##`,\n [TuiCountryIsoCode.MR]: `+222##-##-####`,\n [TuiCountryIsoCode.MS]: `+1(664) ###-####`,\n [TuiCountryIsoCode.MT]: `+356####-####`,\n [TuiCountryIsoCode.MU]: `+230####-####`,\n [TuiCountryIsoCode.MV]: `+960###-####`,\n [TuiCountryIsoCode.MW]: `+265#-####-####`,\n [TuiCountryIsoCode.MX]: `+52(###) ###-####`,\n [TuiCountryIsoCode.MY]: `+60(###) ###-###`,\n [TuiCountryIsoCode.MZ]: `+258##-###-###`,\n [TuiCountryIsoCode.NA]: `+264##-###-####`,\n [TuiCountryIsoCode.NC]: `+687 ### ###`,\n [TuiCountryIsoCode.NE]: `+227##-##-####`,\n [TuiCountryIsoCode.NG]: `+234(###) ###-####`,\n [TuiCountryIsoCode.NI]: `+505####-####`,\n [TuiCountryIsoCode.NL]: `+31##-###-####`,\n [TuiCountryIsoCode.NO]: `+47(###) ##-###`,\n [TuiCountryIsoCode.NP]: `+977##-###-###`,\n [TuiCountryIsoCode.NZ]: `+64(###) ###-####`,\n [TuiCountryIsoCode.OM]: `+968##-###-###`,\n [TuiCountryIsoCode.PA]: `+507###-####`,\n [TuiCountryIsoCode.PE]: `+51(###) ###-###`,\n [TuiCountryIsoCode.PF]: `+689 ## ## ## ##`,\n [TuiCountryIsoCode.PG]: `+675(###) ##-###`,\n [TuiCountryIsoCode.PH]: `+63(###) ###-####`,\n [TuiCountryIsoCode.PK]: `+92(###) ###-####`,\n [TuiCountryIsoCode.PL]: `+48(###) ###-###`,\n [TuiCountryIsoCode.PT]: `+351##-###-####`,\n [TuiCountryIsoCode.PW]: `+680###-####`,\n [TuiCountryIsoCode.PY]: `+595(###) ###-###`,\n [TuiCountryIsoCode.QA]: `+974####-####`,\n [TuiCountryIsoCode.RE]: `+262 ## ## ## ## ##`,\n [TuiCountryIsoCode.RO]: `+40##-###-####`,\n [TuiCountryIsoCode.RS]: `+381##-###-####`,\n [TuiCountryIsoCode.RU]: `+7### ###-##-##`,\n [TuiCountryIsoCode.RW]: `+250(###) ###-###`,\n [TuiCountryIsoCode.SA]: `+966#-####-####`,\n [TuiCountryIsoCode.SB]: `+677###-####`,\n [TuiCountryIsoCode.SC]: `+248#-###-###`,\n [TuiCountryIsoCode.SD]: `+249##-###-####`,\n [TuiCountryIsoCode.SE]: `+46##-###-####`,\n [TuiCountryIsoCode.SG]: `+65####-####`,\n [TuiCountryIsoCode.SH]: `+290####`,\n [TuiCountryIsoCode.SI]: `+386##-###-###`,\n [TuiCountryIsoCode.SK]: `+421(###) ###-###`,\n [TuiCountryIsoCode.SL]: `+232##-######`,\n [TuiCountryIsoCode.SM]: `+378####-######`,\n [TuiCountryIsoCode.SN]: `+221##-###-####`,\n [TuiCountryIsoCode.SO]: `+252##-###-###`,\n [TuiCountryIsoCode.SR]: `+597###-####`,\n [TuiCountryIsoCode.ST]: `+239##-#####`,\n [TuiCountryIsoCode.SV]: `+503##-##-####`,\n [TuiCountryIsoCode.SX]: `+1(721) ###-####`,\n [TuiCountryIsoCode.SY]: `+963##-####-###`,\n [TuiCountryIsoCode.SZ]: `+268##-##-####`,\n [TuiCountryIsoCode.TC]: `+1(649) ###-####`,\n [TuiCountryIsoCode.TD]: `+235##-##-##-##`,\n [TuiCountryIsoCode.TG]: `+228##-###-###`,\n [TuiCountryIsoCode.TH]: `+66##-###-####`,\n [TuiCountryIsoCode.TJ]: `+992##-###-####`,\n [TuiCountryIsoCode.TL]: `+670###-#####`,\n [TuiCountryIsoCode.TM]: `+993#-###-####`,\n [TuiCountryIsoCode.TN]: `+216##-###-###`,\n [TuiCountryIsoCode.TO]: `+676#####`,\n [TuiCountryIsoCode.TR]: `+90(###) ###-####`,\n [TuiCountryIsoCode.TT]: `+1(868) ###-####`,\n [TuiCountryIsoCode.TW]: `+886#-####-####`,\n [TuiCountryIsoCode.TZ]: `+255##-###-####`,\n [TuiCountryIsoCode.UA]: `+380(##) ###-##-##`,\n [TuiCountryIsoCode.UG]: `+256(###) ###-###`,\n [TuiCountryIsoCode.US]: `+1(###) ###-####`,\n [TuiCountryIsoCode.UY]: `+598#-###-##-##`,\n [TuiCountryIsoCode.UZ]: `+998##-###-####`,\n [TuiCountryIsoCode.VC]: `+1(784) ###-####`,\n [TuiCountryIsoCode.VE]: `+58(###) ###-####`,\n [TuiCountryIsoCode.VG]: `+1(284)###-####`,\n [TuiCountryIsoCode.VN]: `+84(###) ####-###`,\n [TuiCountryIsoCode.VU]: `+678##-#####`,\n [TuiCountryIsoCode.WS]: `+685##-####`,\n [TuiCountryIsoCode.XK]: `+383##-###-###`,\n [TuiCountryIsoCode.YE]: `+967###-###-###`,\n [TuiCountryIsoCode.YT]: `+262 ## ## ## ## ##`,\n [TuiCountryIsoCode.ZA]: `+27##-###-####`,\n [TuiCountryIsoCode.ZM]: `+260##-###-####`,\n [TuiCountryIsoCode.ZW]: `+263#-######`,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk';\n\n// TODO: Refactor to use `AbstractTuiValueTransformer` and add ability to provide it for all controls\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDay | null>\n>(`[TUI_DATE_VALUE_TRANSFORMER]`);\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDayRange | null>\n>(`[TUI_DATE_RANGE_VALUE_TRANSFORMER]`);\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<[TuiDay | null, TuiTime | null]>\n>(`[TUI_DATE_TIME_VALUE_TRANSFORMER]`);\n","import {tuiCreateTokenFromFactory, TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode, tuiExtractI18n} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_PROMPT_WORDS = tuiCreateTokenFromFactory(tuiExtractI18n(`prompt`));\n\nexport const TUI_CANCEL_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`cancel`));\n\nexport const TUI_DONE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`done`));\n\nexport const TUI_MORE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`more`));\n\nexport const TUI_HIDE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`hide`));\n\nexport const TUI_SHOW_ALL_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`showAll`));\n\nexport const TUI_OTHER_DATE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`otherDate`));\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`mobileCalendarTexts`),\n);\n\nexport const TUI_FROM_TO_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`range`));\n\nexport const TUI_PLUS_MINUS_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`countTexts`),\n);\n\nexport const TUI_TIME_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`time`));\n\nexport const TUI_DATE_TEXTS = tuiCreateTokenFromFactory<\n Observable<Record<TuiDateMode, string>>\n>(tuiExtractI18n(`dateTexts`));\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`digitalInformationUnits`),\n);\n\nexport const TUI_COPY_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`copyTexts`));\n\nexport const TUI_PASSWORD_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`passwordTexts`),\n);\n\nexport const TUI_CALENDAR_MONTHS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`shortCalendarMonths`),\n);\n\nexport const TUI_FILE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`fileTexts`));\n\nexport const TUI_PAGINATION_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`pagination`),\n);\n\nexport const TUI_INPUT_FILE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`inputFileTexts`),\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`multiSelectTexts`),\n);\n\nexport const TUI_COUNTRIES = tuiCreateTokenFromFactory<\n Observable<Record<TuiCountryIsoCode, string>>\n>(tuiExtractI18n(`countries`));\n","import {Provider} from '@angular/core';\nimport {\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiContextWithImplicit,\n tuiCreateToken,\n TuiDay,\n tuiProvideOptions,\n} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: ({$implicit}) =>\n $implicit === `s` ? `tuiIconCalendar` : `tuiIconCalendarLarge`,\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const TUI_INPUT_DATE_OPTIONS = tuiCreateToken(TUI_INPUT_DATE_DEFAULT_OPTIONS);\n\nexport function tuiInputDateOptionsProvider(\n options: Partial<TuiInputDateOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_DATE_OPTIONS,\n options,\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n );\n}\n","import {Provider} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n tuiCreateToken,\n TuiIdentityMatcher,\n tuiProvideOptions,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: TUI_DEFAULT_STRINGIFY,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: ALWAYS_FALSE_HANDLER,\n};\n\n/**\n * Default items handlers for components\n */\nexport const TUI_ITEMS_HANDLERS = tuiCreateToken(TUI_DEFAULT_ITEMS_HANDLERS);\n\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import {InjectionToken, Type} from '@angular/core';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n `[TUI_MOBILE_CALENDAR]`,\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\n/**\n * A function to get localized formatted month\n */\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n TuiHandler<TuiMonth | null, Observable<string>>\n>(`[TUI_MONTH_FORMATTER]`);\n","import {tuiCreateToken} from '@taiga-ui/cdk';\n\n/**\n * Margin between tabs\n */\nexport const TUI_TAB_MARGIN = tuiCreateToken(24);\n","import {tuiCreateToken} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\n/**\n * Validation errors\n */\nexport const TUI_VALIDATION_ERRORS = tuiCreateToken<\n Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>\n>({});\n"],"names":[],"mappings":";;;;;;MASa,wBAAwB,GAAG,IAAI,cAAc,CAExD,CAA4B,0BAAA,CAAA,EAAE;AAE1B,SAAU,4BAA4B,CACxC,WAA4D,EAAA;IAE5D,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC,CAAC;AACN;;ACrBO,MAAM,mBAAmB,GAAG,cAAc,CAAoC;AACjF,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAa,WAAA,CAAA;AACrC,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAkB,gBAAA,CAAA;AAC1C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG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,OAAO,EACP,8BAA8B,CACjC,CAAC;AACN;;ACtBa,MAAA,0BAA0B,GAA8B;AACjE,IAAA,SAAS,EAAE,qBAAqB;AAChC,IAAA,eAAe,EAAE,4BAA4B;AAC7C,IAAA,mBAAmB,EAAE,oBAAoB;EAC3C;MAKW,kBAAkB,GAAG,cAAc,CAAC,0BAA0B,EAAE;AAEvE,SAAU,wBAAwB,CACpC,OAAqC,EAAA;IAErC,OAAO,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,EAAE,0BAA0B,CAAC,CAAC;AACtF;;MC5Ba,mBAAmB,GAAG,IAAI,cAAc,CACjD,CAAuB,qBAAA,CAAA;;MCCd,mBAAmB,GAAG,IAAI,cAAc,CAEnD,CAAuB,qBAAA,CAAA;;MCJZ,cAAc,GAAG,cAAc,CAAC,EAAE;;MCElC,qBAAqB,GAAG,cAAc,CAEjD,EAAE;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-tokens.js","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/countries-masks.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/tab-margin.ts","../../../projects/kit/tokens/validation-errors.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {tuiControlValueFactory} from '@taiga-ui/kit/utils';\nimport {Observable} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(`[TUI_CALENDAR_DATE_STREAM]`);\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiControlValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n","import {tuiCreateToken} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nexport const TUI_COUNTRIES_MASKS = tuiCreateToken<Record<TuiCountryIsoCode, string>>({\n [TuiCountryIsoCode.AD]: `+376###-###`,\n [TuiCountryIsoCode.AE]: `+971-##-###-####`,\n [TuiCountryIsoCode.AF]: `+93##-###-####`,\n [TuiCountryIsoCode.AG]: `+1(268) ###-####`,\n [TuiCountryIsoCode.AI]: `+1(264) ###-####`,\n [TuiCountryIsoCode.AL]: `+355(###) ###-###`,\n [TuiCountryIsoCode.AM]: `+374##-###-###`,\n [TuiCountryIsoCode.AO]: `+244(###) ###-###`,\n [TuiCountryIsoCode.AR]: `+54(###) ####-####`,\n [TuiCountryIsoCode.AT]: `+43(###) ###-####`,\n [TuiCountryIsoCode.AU]: `+61#-####-####`,\n [TuiCountryIsoCode.AW]: `+297###-####`,\n [TuiCountryIsoCode.AZ]: `+994##-###-##-##`,\n [TuiCountryIsoCode.BA]: `+387 ###-####-##`,\n [TuiCountryIsoCode.BB]: `+1(246) ###-####`,\n [TuiCountryIsoCode.BD]: `+880##-###-###`,\n [TuiCountryIsoCode.BE]: `+32(###) ###-###`,\n [TuiCountryIsoCode.BF]: `+226##-##-####`,\n [TuiCountryIsoCode.BG]: `+359(###) ###-###`,\n [TuiCountryIsoCode.BH]: `+973####-####`,\n [TuiCountryIsoCode.BI]: `+257##-##-####`,\n [TuiCountryIsoCode.BJ]: `+229##-##-####`,\n [TuiCountryIsoCode.BL]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.BM]: `+1(441) ###-####`,\n [TuiCountryIsoCode.BN]: `+673###-####`,\n [TuiCountryIsoCode.BO]: `+591#-###-####`,\n [TuiCountryIsoCode.BQ]: `+599-###-####`,\n [TuiCountryIsoCode.BR]: `+55(##) ####-####`,\n [TuiCountryIsoCode.BS]: `+1(242) ###-####`,\n [TuiCountryIsoCode.BT]: `+975#-###-###`,\n [TuiCountryIsoCode.BW]: `+267##-###-###`,\n [TuiCountryIsoCode.BY]: `+375(##) ###-##-##`,\n [TuiCountryIsoCode.BZ]: `+501###-####`,\n [TuiCountryIsoCode.CA]: `+1(###) ###-####`,\n [TuiCountryIsoCode.CD]: `+243(###) ###-###`,\n [TuiCountryIsoCode.CF]: `+236-##-##-####`,\n [TuiCountryIsoCode.CG]: `+242##-###-####`,\n [TuiCountryIsoCode.CH]: `+41##-###-####`,\n [TuiCountryIsoCode.CI]: `+225##-##-###-###`,\n [TuiCountryIsoCode.CL]: `+56#-####-####`,\n [TuiCountryIsoCode.CM]: `+237#####-####`,\n [TuiCountryIsoCode.CN]: `+86(###) ####-####`,\n [TuiCountryIsoCode.CO]: `+57(###) ###-####`,\n [TuiCountryIsoCode.CR]: `+506####-####`,\n [TuiCountryIsoCode.CU]: `+53#-###-####`,\n [TuiCountryIsoCode.CV]: `+238(###) ##-##`,\n [TuiCountryIsoCode.CW]: `+5999-###-####`,\n [TuiCountryIsoCode.CY]: `+357##-###-###`,\n [TuiCountryIsoCode.CZ]: `+420(###) ###-###`,\n [TuiCountryIsoCode.DE]: `+49(###) ###-###-##`,\n [TuiCountryIsoCode.DJ]: `+253##-##-##-##`,\n [TuiCountryIsoCode.DK]: `+45##-##-##-##`,\n [TuiCountryIsoCode.DM]: `+1(767) ###-####`,\n [TuiCountryIsoCode.DO]: `+1(###) ###-####`,\n [TuiCountryIsoCode.DZ]: `+213##-###-####`,\n [TuiCountryIsoCode.EC]: `+593##-###-####`,\n [TuiCountryIsoCode.EE]: `+372####-####`,\n [TuiCountryIsoCode.EG]: `+20(###) ###-####`,\n [TuiCountryIsoCode.ER]: `+291#-###-###`,\n [TuiCountryIsoCode.ES]: `+34(###) ###-###`,\n [TuiCountryIsoCode.ET]: `+251##-###-####`,\n [TuiCountryIsoCode.FI]: `+358(###) ###-##-##`,\n [TuiCountryIsoCode.FJ]: `+679##-#####`,\n [TuiCountryIsoCode.FK]: `+500#####`,\n [TuiCountryIsoCode.FM]: `+691###-####`,\n [TuiCountryIsoCode.FR]: `+33 ## ## ## ## ##`,\n [TuiCountryIsoCode.GA]: `+241##-##-##-##`,\n [TuiCountryIsoCode.GB]: `+44##-####-####`,\n [TuiCountryIsoCode.GD]: `+1(473) ###-####`,\n [TuiCountryIsoCode.GE]: `+995(###) ###-###`,\n [TuiCountryIsoCode.GF]: `+594 ## ## ## ## ##`,\n [TuiCountryIsoCode.GH]: `+233(###) ###-###`,\n [TuiCountryIsoCode.GI]: `+350###-#####`,\n [TuiCountryIsoCode.GL]: `+299##-##-##`,\n [TuiCountryIsoCode.GM]: `+220(###) ##-##`,\n [TuiCountryIsoCode.GN]: `+224##-###-###`,\n [TuiCountryIsoCode.GP]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.GQ]: `+240##-###-####`,\n [TuiCountryIsoCode.GR]: `+30(###) ###-####`,\n [TuiCountryIsoCode.GT]: `+502#-###-####`,\n [TuiCountryIsoCode.GW]: `+245#-######`,\n [TuiCountryIsoCode.GY]: `+592###-####`,\n [TuiCountryIsoCode.HK]: `+852####-####`,\n [TuiCountryIsoCode.HN]: `+504####-####`,\n [TuiCountryIsoCode.HR]: `+385##-###-####`,\n [TuiCountryIsoCode.HT]: `+509##-##-####`,\n [TuiCountryIsoCode.HU]: `+36(###) ###-###`,\n [TuiCountryIsoCode.ID]: `+62(###) ###-##-###`,\n [TuiCountryIsoCode.IE]: `+353(###) ###-###`,\n [TuiCountryIsoCode.IL]: `+972##-###-####`,\n [TuiCountryIsoCode.IN]: `+91(####) ###-###`,\n [TuiCountryIsoCode.IQ]: `+964(###) ###-####`,\n [TuiCountryIsoCode.IR]: `+98(###) ###-####`,\n [TuiCountryIsoCode.IS]: `+354###-####`,\n [TuiCountryIsoCode.IT]: `+39(###) ####-###`,\n [TuiCountryIsoCode.JM]: `+1(876) ###-####`,\n [TuiCountryIsoCode.JO]: `+962#-####-####`,\n [TuiCountryIsoCode.JP]: `+81-##-####-####`,\n [TuiCountryIsoCode.KE]: `+254###-######`,\n [TuiCountryIsoCode.KG]: `+996(###) ###-###`,\n [TuiCountryIsoCode.KH]: `+855##-###-###`,\n [TuiCountryIsoCode.KM]: `+269##-#####`,\n [TuiCountryIsoCode.KN]: `+1(869) ###-####`,\n [TuiCountryIsoCode.KP]: `+850####-#############`,\n [TuiCountryIsoCode.KR]: `+82##-###-####`,\n [TuiCountryIsoCode.KW]: `+965####-####`,\n [TuiCountryIsoCode.KY]: `+1(345) ###-####`,\n [TuiCountryIsoCode.KZ]: `+7(###) ###-##-##`,\n [TuiCountryIsoCode.LA]: `+856##-##-###-###`,\n [TuiCountryIsoCode.LB]: `+961##-###-###`,\n [TuiCountryIsoCode.LC]: `+1(758) ###-####`,\n [TuiCountryIsoCode.LI]: `+423(###) ###-####`,\n [TuiCountryIsoCode.LK]: `+94##-###-####`,\n [TuiCountryIsoCode.LR]: `+231##-###-###`,\n [TuiCountryIsoCode.LS]: `+266#-###-####`,\n [TuiCountryIsoCode.LT]: `+370(###) ##-###`,\n [TuiCountryIsoCode.LU]: `+352(###) ###-###`,\n [TuiCountryIsoCode.LV]: `+371##-###-###`,\n [TuiCountryIsoCode.LY]: `+218##-###-####`,\n [TuiCountryIsoCode.MA]: `+212##-####-###`,\n [TuiCountryIsoCode.MC]: `+377###-###-###`,\n [TuiCountryIsoCode.MD]: `+373####-####`,\n [TuiCountryIsoCode.ME]: `+382##-###-###`,\n [TuiCountryIsoCode.MF]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.MG]: `+261##-##-#####`,\n [TuiCountryIsoCode.MK]: `+389##-###-###`,\n [TuiCountryIsoCode.ML]: `+223##-##-####`,\n [TuiCountryIsoCode.MM]: `+95##-###-###`,\n [TuiCountryIsoCode.MN]: `+976##-##-####`,\n [TuiCountryIsoCode.MO]: `+853####-####`,\n [TuiCountryIsoCode.MQ]: `+596 ## ## ## ## ##`,\n [TuiCountryIsoCode.MR]: `+222##-##-####`,\n [TuiCountryIsoCode.MS]: `+1(664) ###-####`,\n [TuiCountryIsoCode.MT]: `+356####-####`,\n [TuiCountryIsoCode.MU]: `+230####-####`,\n [TuiCountryIsoCode.MV]: `+960###-####`,\n [TuiCountryIsoCode.MW]: `+265#-####-####`,\n [TuiCountryIsoCode.MX]: `+52(###) ###-####`,\n [TuiCountryIsoCode.MY]: `+60(###) ###-###`,\n [TuiCountryIsoCode.MZ]: `+258##-###-###`,\n [TuiCountryIsoCode.NA]: `+264##-###-####`,\n [TuiCountryIsoCode.NC]: `+687 ### ###`,\n [TuiCountryIsoCode.NE]: `+227##-##-####`,\n [TuiCountryIsoCode.NG]: `+234(###) ###-####`,\n [TuiCountryIsoCode.NI]: `+505####-####`,\n [TuiCountryIsoCode.NL]: `+31##-###-####`,\n [TuiCountryIsoCode.NO]: `+47(###) ##-###`,\n [TuiCountryIsoCode.NP]: `+977##-###-###`,\n [TuiCountryIsoCode.NZ]: `+64(###) ###-####`,\n [TuiCountryIsoCode.OM]: `+968##-###-###`,\n [TuiCountryIsoCode.PA]: `+507###-####`,\n [TuiCountryIsoCode.PE]: `+51(###) ###-###`,\n [TuiCountryIsoCode.PF]: `+689 ## ## ## ##`,\n [TuiCountryIsoCode.PG]: `+675(###) ##-###`,\n [TuiCountryIsoCode.PH]: `+63(###) ###-####`,\n [TuiCountryIsoCode.PK]: `+92(###) ###-####`,\n [TuiCountryIsoCode.PL]: `+48(###) ###-###`,\n [TuiCountryIsoCode.PT]: `+351##-###-####`,\n [TuiCountryIsoCode.PW]: `+680###-####`,\n [TuiCountryIsoCode.PY]: `+595(###) ###-###`,\n [TuiCountryIsoCode.QA]: `+974####-####`,\n [TuiCountryIsoCode.RE]: `+262 ## ## ## ## ##`,\n [TuiCountryIsoCode.RO]: `+40##-###-####`,\n [TuiCountryIsoCode.RS]: `+381##-###-####`,\n [TuiCountryIsoCode.RU]: `+7### ###-##-##`,\n [TuiCountryIsoCode.RW]: `+250(###) ###-###`,\n [TuiCountryIsoCode.SA]: `+966#-####-####`,\n [TuiCountryIsoCode.SB]: `+677###-####`,\n [TuiCountryIsoCode.SC]: `+248#-###-###`,\n [TuiCountryIsoCode.SD]: `+249##-###-####`,\n [TuiCountryIsoCode.SE]: `+46##-###-####`,\n [TuiCountryIsoCode.SG]: `+65####-####`,\n [TuiCountryIsoCode.SH]: `+290####`,\n [TuiCountryIsoCode.SI]: `+386##-###-###`,\n [TuiCountryIsoCode.SK]: `+421(###) ###-###`,\n [TuiCountryIsoCode.SL]: `+232##-######`,\n [TuiCountryIsoCode.SM]: `+378####-######`,\n [TuiCountryIsoCode.SN]: `+221##-###-####`,\n [TuiCountryIsoCode.SO]: `+252##-###-###`,\n [TuiCountryIsoCode.SR]: `+597###-####`,\n [TuiCountryIsoCode.ST]: `+239##-#####`,\n [TuiCountryIsoCode.SV]: `+503##-##-####`,\n [TuiCountryIsoCode.SX]: `+1(721) ###-####`,\n [TuiCountryIsoCode.SY]: `+963##-####-###`,\n [TuiCountryIsoCode.SZ]: `+268##-##-####`,\n [TuiCountryIsoCode.TC]: `+1(649) ###-####`,\n [TuiCountryIsoCode.TD]: `+235##-##-##-##`,\n [TuiCountryIsoCode.TG]: `+228##-###-###`,\n [TuiCountryIsoCode.TH]: `+66##-###-####`,\n [TuiCountryIsoCode.TJ]: `+992##-###-####`,\n [TuiCountryIsoCode.TL]: `+670###-#####`,\n [TuiCountryIsoCode.TM]: `+993#-###-####`,\n [TuiCountryIsoCode.TN]: `+216##-###-###`,\n [TuiCountryIsoCode.TO]: `+676#####`,\n [TuiCountryIsoCode.TR]: `+90(###) ###-####`,\n [TuiCountryIsoCode.TT]: `+1(868) ###-####`,\n [TuiCountryIsoCode.TW]: `+886#-####-####`,\n [TuiCountryIsoCode.TZ]: `+255##-###-####`,\n [TuiCountryIsoCode.UA]: `+380(##) ###-##-##`,\n [TuiCountryIsoCode.UG]: `+256(###) ###-###`,\n [TuiCountryIsoCode.US]: `+1(###) ###-####`,\n [TuiCountryIsoCode.UY]: `+598#-###-##-##`,\n [TuiCountryIsoCode.UZ]: `+998##-###-####`,\n [TuiCountryIsoCode.VC]: `+1(784) ###-####`,\n [TuiCountryIsoCode.VE]: `+58(###) ###-####`,\n [TuiCountryIsoCode.VG]: `+1(284)###-####`,\n [TuiCountryIsoCode.VN]: `+84(###) ####-###`,\n [TuiCountryIsoCode.VU]: `+678##-#####`,\n [TuiCountryIsoCode.WS]: `+685##-####`,\n [TuiCountryIsoCode.XK]: `+383##-###-###`,\n [TuiCountryIsoCode.YE]: `+967###-###-###`,\n [TuiCountryIsoCode.YT]: `+262 ## ## ## ## ##`,\n [TuiCountryIsoCode.ZA]: `+27##-###-####`,\n [TuiCountryIsoCode.ZM]: `+260##-###-####`,\n [TuiCountryIsoCode.ZW]: `+263#-######`,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk';\n\n// TODO: Refactor to use `AbstractTuiValueTransformer` and add ability to provide it for all controls\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDay | null>\n>(`[TUI_DATE_VALUE_TRANSFORMER]`);\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDayRange | null>\n>(`[TUI_DATE_RANGE_VALUE_TRANSFORMER]`);\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<[TuiDay | null, TuiTime | null]>\n>(`[TUI_DATE_TIME_VALUE_TRANSFORMER]`);\n","import {tuiCreateTokenFromFactory, TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode, tuiExtractI18n} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_PROMPT_WORDS = tuiCreateTokenFromFactory(tuiExtractI18n(`prompt`));\n\nexport const TUI_CANCEL_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`cancel`));\n\nexport const TUI_DONE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`done`));\n\nexport const TUI_MORE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`more`));\n\nexport const TUI_HIDE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`hide`));\n\nexport const TUI_SHOW_ALL_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`showAll`));\n\nexport const TUI_OTHER_DATE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`otherDate`));\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`mobileCalendarTexts`),\n);\n\nexport const TUI_FROM_TO_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`range`));\n\nexport const TUI_PLUS_MINUS_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`countTexts`),\n);\n\nexport const TUI_TIME_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`time`));\n\nexport const TUI_DATE_TEXTS = tuiCreateTokenFromFactory<\n Observable<Record<TuiDateMode, string>>\n>(tuiExtractI18n(`dateTexts`));\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`digitalInformationUnits`),\n);\n\nexport const TUI_COPY_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`copyTexts`));\n\nexport const TUI_PASSWORD_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`passwordTexts`),\n);\n\nexport const TUI_CALENDAR_MONTHS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`shortCalendarMonths`),\n);\n\nexport const TUI_FILE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`fileTexts`));\n\nexport const TUI_PAGINATION_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`pagination`),\n);\n\nexport const TUI_INPUT_FILE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`inputFileTexts`),\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`multiSelectTexts`),\n);\n\nexport const TUI_COUNTRIES = tuiCreateTokenFromFactory<\n Observable<Record<TuiCountryIsoCode, string>>\n>(tuiExtractI18n(`countries`));\n","import {Provider} from '@angular/core';\nimport {\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiContextWithImplicit,\n tuiCreateToken,\n TuiDay,\n tuiProvideOptions,\n} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: ({$implicit}) =>\n $implicit === `s` ? `tuiIconCalendar` : `tuiIconCalendarLarge`,\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const TUI_INPUT_DATE_OPTIONS = tuiCreateToken(TUI_INPUT_DATE_DEFAULT_OPTIONS);\n\nexport function tuiInputDateOptionsProvider(\n options: Partial<TuiInputDateOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_DATE_OPTIONS,\n options,\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n );\n}\n","import {Provider} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n tuiCreateToken,\n TuiIdentityMatcher,\n tuiProvideOptions,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: TUI_DEFAULT_STRINGIFY,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: ALWAYS_FALSE_HANDLER,\n};\n\n/**\n * Default items handlers for components\n */\nexport const TUI_ITEMS_HANDLERS = tuiCreateToken(TUI_DEFAULT_ITEMS_HANDLERS);\n\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import {InjectionToken, Type} from '@angular/core';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n `[TUI_MOBILE_CALENDAR]`,\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\n/**\n * A function to get localized formatted month\n */\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n TuiHandler<TuiMonth | null, Observable<string>>\n>(`[TUI_MONTH_FORMATTER]`);\n","import {tuiCreateToken} from '@taiga-ui/cdk';\n\n/**\n * Margin between tabs\n */\nexport const TUI_TAB_MARGIN = tuiCreateToken(24);\n","import {tuiCreateToken} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\n/**\n * Validation errors\n */\nexport const TUI_VALIDATION_ERRORS = tuiCreateToken<\n Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>\n>({});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAMA;;AAEG;MACU,wBAAwB,GAAG,IAAI,cAAc,CAExD,CAA4B,0BAAA,CAAA,EAAE;AAE1B,SAAU,4BAA4B,CACxC,WAA4D,EAAA;IAE5D,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC,CAAC;AACN;;ACrBO,MAAM,mBAAmB,GAAG,cAAc,CAAoC;AACjF,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAa,WAAA,CAAA;AACrC,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAkB,gBAAA,CAAA;AAC1C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAgB,cAAA,CAAA;AACxC,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAkB,gBAAA,CAAA;AAC1C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAkB,gBAAA,CAAA;AAC1C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAmB,iBAAA,CAAA;AAC3C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAgB,cAAA,CAAA;AACxC,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAmB,iBAAA,CAAA;AAC3C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAoB,kBAAA,CAAA;AAC5C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAmB,iBAAA,CAAA;AAC3C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,C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AEnD,CAAuB,qBAAA,CAAA;;ACPzB;;AAEG;MACU,cAAc,GAAG,cAAc,CAAC,EAAE;;ACD/C;;AAEG;MACU,qBAAqB,GAAG,cAAc,CAEjD,EAAE;;ACTJ;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-types.js","sources":["../../../projects/kit/types/taiga-ui-kit-types.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function tuiImmutableUpdateInputDateMulti(value, day) {
|
|
2
|
+
return value.find(item => item.daySame(day))
|
|
3
|
+
? value.filter(item => !item.daySame(day))
|
|
4
|
+
: value.concat(day);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Generated bundle index. Do not edit.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
export { tuiImmutableUpdateInputDateMulti };
|
|
12
|
+
//# sourceMappingURL=taiga-ui-kit-utils-date.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-utils-date.js","sources":["../../../projects/kit/utils/date/update.ts","../../../projects/kit/utils/date/taiga-ui-kit-utils-date.ts"],"sourcesContent":["import {TuiDay} from '@taiga-ui/cdk';\n\nexport function tuiImmutableUpdateInputDateMulti(\n value: readonly TuiDay[],\n day: TuiDay,\n): readonly TuiDay[] {\n return value.find(item => item.daySame(day))\n ? value.filter(item => !item.daySame(day))\n : value.concat(day);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAEgB,SAAA,gCAAgC,CAC5C,KAAwB,EACxB,GAAW,EAAA;AAEX,IAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACxC,UAAE,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AAC1C,UAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAC5B;;ACTA;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-utils-files.js","sources":["../../../projects/kit/utils/files/format-size.ts","../../../projects/kit/utils/files/get-accept-array.ts"],"sourcesContent":["import {tuiRound} from '@taiga-ui/cdk';\n\nconst BYTES_PER_KIB = 1024;\nconst BYTES_PER_MIB = 1024 * BYTES_PER_KIB;\n\nexport function tuiFormatSize(\n units: [string, string, string],\n size?: number,\n): string | null {\n if (size === undefined) {\n return null;\n }\n\n if (size < BYTES_PER_KIB) {\n return `${size} ${units[0]}`;\n }\n\n if (size < BYTES_PER_MIB) {\n return `${(size / BYTES_PER_KIB).toFixed(0)} ${units[1]}`;\n }\n\n return `${tuiRound(size / BYTES_PER_MIB, 2).toLocaleString(`ru-RU`)} ${units[2]}`;\n}\n","export function tuiGetAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(`,`)\n .map(format => format.trim());\n}\n"],"names":[],"mappings":";;AAEA,MAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,MAAM,aAAa,GAAG,IAAI,GAAG,aAAa,CAAC;AAE3B,SAAA,aAAa,CACzB,KAA+B,EAC/B,IAAa,EAAA;IAEb,IAAI,IAAI,KAAK,SAAS,EAAE;AACpB,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,IAAI,IAAI,GAAG,aAAa,EAAE;QACtB,OAAO,CAAA,EAAG,IAAI,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAChC,KAAA;IAED,IAAI,IAAI,GAAG,aAAa,EAAE;AACtB,QAAA,OAAO,GAAG,CAAC,IAAI,GAAG,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAC7D,KAAA;IAED,OAAO,CAAA,EAAG,QAAQ,CAAC,IAAI,GAAG,aAAa,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,CAAA,KAAA,CAAO,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AACtF;;ACtBM,SAAU,iBAAiB,CAAC,MAAc,EAAA;AAC5C,IAAA,OAAO,MAAM;AACR,SAAA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;AACtC;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-utils-files.js","sources":["../../../projects/kit/utils/files/format-size.ts","../../../projects/kit/utils/files/get-accept-array.ts","../../../projects/kit/utils/files/taiga-ui-kit-utils-files.ts"],"sourcesContent":["import {tuiRound} from '@taiga-ui/cdk';\n\nconst BYTES_PER_KIB = 1024;\nconst BYTES_PER_MIB = 1024 * BYTES_PER_KIB;\n\nexport function tuiFormatSize(\n units: [string, string, string],\n size?: number,\n): string | null {\n if (size === undefined) {\n return null;\n }\n\n if (size < BYTES_PER_KIB) {\n return `${size} ${units[0]}`;\n }\n\n if (size < BYTES_PER_MIB) {\n return `${(size / BYTES_PER_KIB).toFixed(0)} ${units[1]}`;\n }\n\n return `${tuiRound(size / BYTES_PER_MIB, 2).toLocaleString(`ru-RU`)} ${units[2]}`;\n}\n","export function tuiGetAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(`,`)\n .map(format => format.trim());\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEA,MAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,MAAM,aAAa,GAAG,IAAI,GAAG,aAAa,CAAC;AAE3B,SAAA,aAAa,CACzB,KAA+B,EAC/B,IAAa,EAAA;IAEb,IAAI,IAAI,KAAK,SAAS,EAAE;AACpB,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,IAAI,IAAI,GAAG,aAAa,EAAE;QACtB,OAAO,CAAA,EAAG,IAAI,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAChC,KAAA;IAED,IAAI,IAAI,GAAG,aAAa,EAAE;AACtB,QAAA,OAAO,GAAG,CAAC,IAAI,GAAG,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAC7D,KAAA;IAED,OAAO,CAAA,EAAG,QAAQ,CAAC,IAAI,GAAG,aAAa,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,CAAA,KAAA,CAAO,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AACtF;;ACtBM,SAAU,iBAAiB,CAAC,MAAc,EAAA;AAC5C,IAAA,OAAO,MAAM;AACR,SAAA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;AACtC;;ACLA;;AAEG;;;;"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a string to an HSL color
|
|
3
|
+
* @param value string to convert
|
|
4
|
+
* @return HSL color string
|
|
5
|
+
*/
|
|
6
|
+
// @bad TODO: convert stringHashToHsl to stringHashToRgb
|
|
1
7
|
function tuiStringHashToHsl(value) {
|
|
2
8
|
if (value === ``) {
|
|
3
9
|
return ``;
|
|
@@ -13,5 +19,9 @@ function tuiStringHashToHsl(value) {
|
|
|
13
19
|
return `hsl(${hue},${saturation}%,${lightness}%)`;
|
|
14
20
|
}
|
|
15
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Generated bundle index. Do not edit.
|
|
24
|
+
*/
|
|
25
|
+
|
|
16
26
|
export { tuiStringHashToHsl };
|
|
17
27
|
//# sourceMappingURL=taiga-ui-kit-utils-format.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-utils-format.js","sources":["../../../projects/kit/utils/format/string-hash-to-hsl.ts"],"sourcesContent":["/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\n// @bad TODO: convert stringHashToHsl to stringHashToRgb\nexport function tuiStringHashToHsl(value: string): string {\n if (value === ``) {\n return ``;\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash &= hash;\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-utils-format.js","sources":["../../../projects/kit/utils/format/string-hash-to-hsl.ts","../../../projects/kit/utils/format/taiga-ui-kit-utils-format.ts"],"sourcesContent":["/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\n// @bad TODO: convert stringHashToHsl to stringHashToRgb\nexport function tuiStringHashToHsl(value: string): string {\n if (value === ``) {\n return ``;\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash &= hash;\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;AAIG;AACH;AACM,SAAU,kBAAkB,CAAC,KAAa,EAAA;IAC5C,IAAI,KAAK,KAAK,CAAA,CAAE,EAAE;AACd,QAAA,OAAO,EAAE,CAAC;AACb,KAAA;IAED,IAAI,IAAI,GAAG,CAAC,CAAC;AAEb,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACnC,QAAA,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC;QAClD,IAAI,IAAI,IAAI,CAAC;AAChB,KAAA;AAED,IAAA,MAAM,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;IACvB,MAAM,UAAU,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IACnC,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;AAElC,IAAA,OAAO,OAAO,GAAG,CAAA,CAAA,EAAI,UAAU,CAAK,EAAA,EAAA,SAAS,IAAI,CAAC;AACtD;;ACvBA;;AAEG;;;;"}
|
|
@@ -2,6 +2,10 @@ import { TuiDay, DATE_FILLER_LENGTH, DATE_RANGE_FILLER_LENGTH, TuiDayRange, RANG
|
|
|
2
2
|
import { MAX_TIME_VALUES, DATE_TIME_SEPARATOR } from '@taiga-ui/kit/constants';
|
|
3
3
|
import { TUI_DIGIT_REGEXP } from '@taiga-ui/core';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
7
|
+
* TODO: delete in v4.0
|
|
8
|
+
*/
|
|
5
9
|
function tuiNormalizeDateValue(dateValue, { value, min, max, dateFormat, dateSeparator }) {
|
|
6
10
|
return value && value.toString(dateFormat, dateSeparator) === dateValue
|
|
7
11
|
? dateValue
|
|
@@ -9,6 +13,10 @@ function tuiNormalizeDateValue(dateValue, { value, min, max, dateFormat, dateSep
|
|
|
9
13
|
.dayLimit(min, max)
|
|
10
14
|
.toString(dateFormat, dateSeparator);
|
|
11
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
18
|
+
* TODO: delete in v4.0
|
|
19
|
+
*/
|
|
12
20
|
function tuiCreateAutoCorrectedDatePipe(config) {
|
|
13
21
|
return value => {
|
|
14
22
|
if (value.length !== DATE_FILLER_LENGTH) {
|
|
@@ -40,10 +48,32 @@ function processRawValue(value, config) {
|
|
|
40
48
|
return value;
|
|
41
49
|
}
|
|
42
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* @deprecated Use {@link https://maskito.dev/kit/date-range DateRange} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
53
|
+
* TODO: delete in v4.0
|
|
54
|
+
* Normalizes date in formatted string
|
|
55
|
+
*
|
|
56
|
+
* Normalizes when:
|
|
57
|
+
*
|
|
58
|
+
* 1. It is a single date
|
|
59
|
+
* 2. It is a single date and a separator
|
|
60
|
+
* 3. It is two dates and a separator between them
|
|
61
|
+
*
|
|
62
|
+
* In **other** cases, the value does not change.
|
|
63
|
+
*
|
|
64
|
+
* @param config with min and max date
|
|
65
|
+
* @return mask pipe handler that handles `min` and `max`
|
|
66
|
+
*/
|
|
43
67
|
function tuiCreateAutoCorrectedDateRangePipe(config) {
|
|
44
68
|
return value => ({ value: processRawValue(value, config) });
|
|
45
69
|
}
|
|
46
70
|
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
73
|
+
* TODO: delete in v4.0
|
|
74
|
+
* Adjusts the entered time by omitting only suitable values for hours and minutes
|
|
75
|
+
* @returns time as a string
|
|
76
|
+
*/
|
|
47
77
|
function tuiCreateAutoCorrectedTimePipe(timeMode = `HH:MM`, maxValues = {}) {
|
|
48
78
|
const timeFormatArray = [`HH`, `MM`, `SS`, `MS`];
|
|
49
79
|
const safeValues = Object.assign(Object.assign({}, MAX_TIME_VALUES), maxValues);
|
|
@@ -70,6 +100,10 @@ function tuiCreateAutoCorrectedTimePipe(timeMode = `HH:MM`, maxValues = {}) {
|
|
|
70
100
|
};
|
|
71
101
|
}
|
|
72
102
|
|
|
103
|
+
/**
|
|
104
|
+
* @deprecated Use {@link https://maskito.dev/kit/date-time DateTime} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
105
|
+
* TODO: delete in v4.0
|
|
106
|
+
*/
|
|
73
107
|
function tuiCreateAutoCorrectedDateTimePipe(configs) {
|
|
74
108
|
const timePipe = tuiCreateAutoCorrectedTimePipe(configs.timeMode);
|
|
75
109
|
return value => {
|
|
@@ -96,6 +130,10 @@ function tuiCreateAutoCorrectedDateTimePipe(configs) {
|
|
|
96
130
|
|
|
97
131
|
const TWO_DIGITS = new Array(2).fill(TUI_DIGIT_REGEXP);
|
|
98
132
|
const FOUR_DIGITS = new Array(4).fill(TUI_DIGIT_REGEXP);
|
|
133
|
+
/**
|
|
134
|
+
* @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
135
|
+
* TODO: delete in v4.0
|
|
136
|
+
*/
|
|
99
137
|
function tuiCreateDateMask(mode, separator) {
|
|
100
138
|
ngDevMode &&
|
|
101
139
|
tuiAssert.assert(separator.length === 1, `Separator should consist of only 1 symbol`);
|
|
@@ -109,6 +147,10 @@ function tuiCreateDateMask(mode, separator) {
|
|
|
109
147
|
}
|
|
110
148
|
}
|
|
111
149
|
|
|
150
|
+
/**
|
|
151
|
+
* @deprecated Use {@link https://maskito.dev/kit/date-range DateRange} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
152
|
+
* TODO: delete in v4.0
|
|
153
|
+
*/
|
|
112
154
|
function tuiCreateDateRangeMask(dateMode, dateSeparator) {
|
|
113
155
|
ngDevMode &&
|
|
114
156
|
tuiAssert.assert(dateSeparator.length === 1, `Separator should consist of only 1 symbol`);
|
|
@@ -130,6 +172,10 @@ function tuiCreateTimePartMask(maxPartValue, prefix) {
|
|
|
130
172
|
}
|
|
131
173
|
return regExp;
|
|
132
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
177
|
+
* TODO: delete in v4.0
|
|
178
|
+
*/
|
|
133
179
|
function tuiCreateTimeMask(mode, maxValues = {}) {
|
|
134
180
|
const { HH, MM, SS, MS } = Object.assign(Object.assign({}, MAX_TIME_VALUES), maxValues);
|
|
135
181
|
return [
|
|
@@ -140,5 +186,9 @@ function tuiCreateTimeMask(mode, maxValues = {}) {
|
|
|
140
186
|
];
|
|
141
187
|
}
|
|
142
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Generated bundle index. Do not edit.
|
|
191
|
+
*/
|
|
192
|
+
|
|
143
193
|
export { tuiCreateAutoCorrectedDatePipe, tuiCreateAutoCorrectedDateRangePipe, tuiCreateAutoCorrectedDateTimePipe, tuiCreateAutoCorrectedTimePipe, tuiCreateDateMask, tuiCreateDateRangeMask, tuiCreateTimeMask, tuiNormalizeDateValue };
|
|
144
194
|
//# sourceMappingURL=taiga-ui-kit-utils-mask.js.map
|