@taiga-ui/kit 2.55.0 → 3.0.0-rc.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/index.d.ts +0 -1
- package/abstract/package.json +2 -5
- package/abstract/slider/slider.d.ts +5 -3
- package/abstract/taiga-ui-kit-abstract.d.ts +1 -0
- package/bundles/taiga-ui-kit-abstract.umd.js +431 -530
- package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-classes.umd.js +7 -3
- package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.js +578 -414
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +439 -313
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.js +81 -288
- package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +432 -310
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.js +433 -309
- package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +447 -320
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +402 -344
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -343
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +494 -365
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +601 -439
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +460 -326
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +424 -312
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +438 -311
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +548 -396
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +493 -351
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +539 -392
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +456 -325
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +481 -346
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +546 -399
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +587 -433
- 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 +566 -413
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +557 -399
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +553 -399
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +434 -302
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +517 -365
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +499 -349
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +551 -402
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +508 -362
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +725 -825
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +538 -399
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +567 -426
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +510 -457
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +651 -490
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +509 -372
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +446 -329
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-island.umd.js +435 -318
- package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +441 -321
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js +408 -289
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +380 -269
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +755 -565
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +492 -354
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +448 -314
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +554 -485
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +459 -340
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.js +379 -271
- package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +455 -328
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +467 -328
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +480 -346
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +553 -433
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +458 -322
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +71 -282
- package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +496 -354
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +584 -557
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +495 -363
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +731 -621
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +539 -386
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +534 -388
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +491 -348
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +674 -496
- package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.js +123 -257
- package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-constants.umd.js +23 -293
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +441 -318
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +67 -283
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +465 -332
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.js +410 -296
- package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +426 -313
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-present.umd.js +63 -278
- package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -269
- package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +65 -277
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +60 -278
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives.umd.js +21 -39
- package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +441 -321
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-internal.umd.js +5 -7
- package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js +443 -313
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +406 -306
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +43 -261
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js +44 -262
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes.umd.js +11 -19
- package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-providers.umd.js +15 -16
- package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +46 -297
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-types.umd.js +2 -2
- package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-dom.umd.js +17 -15
- package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-files.umd.js +9 -5
- package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-format.umd.js +9 -5
- package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +354 -274
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +336 -258
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +347 -277
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils.umd.js +15 -27
- package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-validators.umd.js +8 -4
- package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
- package/bundles/taiga-ui-kit.umd.js +34 -50
- package/bundles/taiga-ui-kit.umd.js.map +1 -1
- package/classes/package.json +2 -5
- package/classes/stringifiable-item.d.ts +1 -1
- package/classes/taiga-ui-kit-classes.d.ts +1 -0
- package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +3 -0
- package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +3 -0
- package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
- package/components/accordion/accordion.component.d.ts +3 -0
- package/components/accordion/accordion.module.d.ts +12 -0
- package/components/accordion/package.json +2 -5
- package/components/accordion/taiga-ui-kit-components-accordion.d.ts +1 -0
- package/components/action/action.component.d.ts +3 -1
- package/components/action/action.module.d.ts +9 -0
- package/components/action/package.json +2 -5
- package/components/action/taiga-ui-kit-components-action.d.ts +1 -0
- package/components/arrow/arrow-options.d.ts +0 -2
- package/components/arrow/arrow.component.d.ts +5 -1
- package/components/arrow/arrow.module.d.ts +8 -0
- package/components/arrow/package.json +2 -5
- package/components/arrow/taiga-ui-kit-components-arrow.d.ts +1 -0
- package/components/avatar/avatar.component.d.ts +3 -0
- package/components/avatar/avatar.module.d.ts +7 -0
- package/components/avatar/package.json +2 -5
- package/components/avatar/taiga-ui-kit-components-avatar.d.ts +1 -0
- package/components/badge/badge.component.d.ts +5 -2
- package/components/badge/badge.module.d.ts +6 -0
- package/components/badge/package.json +2 -5
- package/components/badge/taiga-ui-kit-components-badge.d.ts +1 -0
- package/components/badged-content/badged-content.component.d.ts +7 -4
- package/components/badged-content/badged-content.module.d.ts +9 -0
- package/components/badged-content/package.json +2 -5
- package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +1 -0
- package/components/breadcrumbs/breadcrumbs.component.d.ts +11 -7
- package/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/components/breadcrumbs/index.d.ts +0 -2
- package/components/breadcrumbs/package.json +2 -5
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +1 -0
- package/components/calendar-month/calendar-month.component.d.ts +3 -0
- package/components/calendar-month/calendar-month.module.d.ts +8 -0
- package/components/calendar-month/package.json +2 -5
- package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +1 -0
- package/components/calendar-range/calendar-range.component.d.ts +3 -2
- package/components/calendar-range/calendar-range.module.d.ts +9 -0
- package/components/calendar-range/package.json +2 -5
- package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +1 -0
- package/components/carousel/carousel-autoscroll.directive.d.ts +3 -0
- package/components/carousel/carousel-buttons.directive.d.ts +3 -2
- package/components/carousel/carousel-scroll.directive.d.ts +3 -0
- package/components/carousel/carousel.component.d.ts +3 -0
- package/components/carousel/carousel.directive.d.ts +3 -0
- package/components/carousel/carousel.module.d.ts +12 -0
- package/components/carousel/package.json +2 -5
- package/components/carousel/taiga-ui-kit-components-carousel.d.ts +1 -0
- package/components/checkbox/checkbox.component.d.ts +3 -2
- package/components/checkbox/checkbox.module.d.ts +8 -0
- package/components/checkbox/package.json +2 -5
- package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +1 -0
- package/components/checkbox-block/checkbox-block.component.d.ts +3 -2
- package/components/checkbox-block/checkbox-block.module.d.ts +9 -0
- package/components/checkbox-block/package.json +2 -5
- package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +1 -0
- package/components/checkbox-labeled/checkbox-labeled.component.d.ts +3 -2
- package/components/checkbox-labeled/checkbox-labeled.module.d.ts +8 -0
- package/components/checkbox-labeled/package.json +2 -5
- package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +1 -0
- package/components/combo-box/combo-box-strict.directive.d.ts +3 -0
- package/components/combo-box/combo-box.component.d.ts +3 -1
- package/components/combo-box/combo-box.directive.d.ts +3 -0
- package/components/combo-box/combo-box.module.d.ts +13 -0
- package/components/combo-box/combo-box.providers.d.ts +0 -1
- package/components/combo-box/package.json +2 -5
- package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +1 -0
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +3 -0
- package/components/data-list-wrapper/data-list-wrapper.component.d.ts +3 -0
- package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -0
- package/components/data-list-wrapper/data-list-wrapper.module.d.ts +10 -0
- package/components/data-list-wrapper/package.json +2 -5
- package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +1 -0
- package/components/files/file/file.component.d.ts +5 -2
- package/components/files/files.component.d.ts +3 -0
- package/components/files/files.module.d.ts +10 -0
- package/components/files/package.json +2 -5
- package/components/files/taiga-ui-kit-components-files.d.ts +1 -0
- package/components/filter/filter.component.d.ts +4 -2
- package/components/filter/filter.module.d.ts +11 -0
- package/components/filter/package.json +2 -5
- package/components/filter/taiga-ui-kit-components-filter.d.ts +1 -0
- package/components/index.d.ts +0 -2
- package/components/input/input.component.d.ts +4 -4
- package/components/input/input.directive.d.ts +3 -0
- package/components/input/input.module.d.ts +9 -0
- package/components/input/package.json +2 -5
- package/components/input/taiga-ui-kit-components-input.d.ts +1 -0
- package/components/input-copy/input-copy.component.d.ts +5 -4
- package/components/input-copy/input-copy.directive.d.ts +3 -0
- package/components/input-copy/input-copy.module.d.ts +9 -0
- package/components/input-copy/package.json +2 -5
- package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +1 -0
- package/components/input-count/input-count-options.d.ts +0 -7
- package/components/input-count/input-count.component.d.ts +3 -2
- package/components/input-count/input-count.directive.d.ts +3 -0
- package/components/input-count/input-count.module.d.ts +11 -0
- package/components/input-count/package.json +2 -5
- package/components/input-count/taiga-ui-kit-components-input-count.d.ts +1 -0
- package/components/input-date/input-date.component.d.ts +3 -1
- package/components/input-date/input-date.directive.d.ts +3 -0
- package/components/input-date/input-date.module.d.ts +12 -0
- package/components/input-date/input-date.providers.d.ts +0 -4
- package/components/input-date/package.json +2 -5
- package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
- package/components/input-date-range/input-date-range.component.d.ts +3 -2
- package/components/input-date-range/input-date-range.directive.d.ts +3 -0
- package/components/input-date-range/input-date-range.module.d.ts +13 -0
- package/components/input-date-range/input-date-range.providers.d.ts +0 -4
- package/components/input-date-range/package.json +2 -5
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +1 -0
- package/components/input-date-time/input-date-time.component.d.ts +11 -3
- package/components/input-date-time/input-date-time.directive.d.ts +3 -0
- package/components/input-date-time/input-date-time.module.d.ts +12 -0
- package/components/input-date-time/input-date-time.providers.d.ts +0 -4
- package/components/input-date-time/package.json +2 -5
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +1 -0
- package/components/input-files/input-files.component.d.ts +3 -2
- package/components/input-files/input-files.module.d.ts +10 -0
- package/components/input-files/package.json +2 -5
- package/components/input-files/taiga-ui-kit-components-input-files.d.ts +1 -0
- package/components/input-inline/input-inline.component.d.ts +3 -0
- package/components/input-inline/input-inline.module.d.ts +9 -0
- package/components/input-inline/package.json +2 -5
- package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +1 -0
- package/components/input-month/input-month.component.d.ts +3 -1
- package/components/input-month/input-month.directive.d.ts +3 -0
- package/components/input-month/input-month.module.d.ts +10 -0
- package/components/input-month/package.json +2 -5
- package/components/input-month/taiga-ui-kit-components-input-month.d.ts +1 -0
- package/components/input-month-range/input-month-range.component.d.ts +3 -1
- package/components/input-month-range/input-month-range.directive.d.ts +3 -0
- package/components/input-month-range/input-month-range.module.d.ts +10 -0
- package/components/input-month-range/package.json +2 -5
- package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +1 -0
- package/components/input-number/input-number.component.d.ts +7 -6
- package/components/input-number/input-number.directive.d.ts +3 -0
- package/components/input-number/input-number.module.d.ts +12 -0
- package/components/input-number/package.json +2 -5
- package/components/input-number/taiga-ui-kit-components-input-number.d.ts +1 -0
- package/components/input-password/input-password-options.d.ts +0 -7
- package/components/input-password/input-password.component.d.ts +7 -6
- package/components/input-password/input-password.directive.d.ts +3 -0
- package/components/input-password/input-password.module.d.ts +11 -0
- package/components/input-password/package.json +2 -5
- package/components/input-password/taiga-ui-kit-components-input-password.d.ts +1 -0
- package/components/input-phone/input-phone.component.d.ts +5 -3
- package/components/input-phone/input-phone.directive.d.ts +3 -0
- package/components/input-phone/input-phone.module.d.ts +10 -0
- package/components/input-phone/package.json +2 -5
- package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +1 -0
- package/components/input-phone-international/const/mask-after-code-regexp.d.ts +1 -0
- package/components/input-phone-international/index.d.ts +1 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +3 -0
- package/components/input-phone-international/input-phone-international.module.d.ts +12 -0
- package/components/input-phone-international/package.json +2 -5
- package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +1 -0
- package/components/input-range/input-range.component.d.ts +12 -11
- package/components/input-range/input-range.module.d.ts +12 -0
- package/components/input-range/package.json +2 -5
- package/components/input-range/taiga-ui-kit-components-input-range.d.ts +1 -0
- package/components/input-slider/input-slider.component.d.ts +11 -34
- package/components/input-slider/input-slider.module.d.ts +11 -0
- package/components/input-slider/package.json +2 -5
- package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +1 -0
- package/components/input-tag/input-tag.component.d.ts +10 -10
- package/components/input-tag/input-tag.module.d.ts +11 -0
- package/components/input-tag/package.json +2 -5
- package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +1 -0
- package/components/input-time/input-time-options.d.ts +0 -6
- package/components/input-time/input-time.component.d.ts +3 -1
- package/components/input-time/input-time.module.d.ts +9 -0
- package/components/input-time/package.json +2 -5
- package/components/input-time/taiga-ui-kit-components-input-time.d.ts +1 -0
- package/components/island/island.component.d.ts +3 -0
- package/components/island/island.module.d.ts +6 -0
- package/components/island/package.json +2 -5
- package/components/island/taiga-ui-kit-components-island.d.ts +1 -0
- package/components/line-clamp/line-clamp.component.d.ts +5 -2
- package/components/line-clamp/line-clamp.module.d.ts +9 -0
- package/components/line-clamp/package.json +2 -5
- package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +1 -0
- package/components/marker-icon/marker-icon.component.d.ts +5 -2
- package/components/marker-icon/marker-icon.module.d.ts +7 -0
- package/components/marker-icon/package.json +2 -5
- package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +1 -0
- package/components/multi-select/hide-selected.pipe.d.ts +5 -2
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -0
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +4 -6
- package/components/multi-select/multi-select.component.d.ts +3 -3
- package/components/multi-select/multi-select.module.d.ts +16 -0
- package/components/multi-select/package.json +2 -5
- package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +1 -0
- package/components/multi-select-option/multi-select-option.component.d.ts +3 -0
- package/components/multi-select-option/multi-select-option.module.d.ts +7 -0
- package/components/multi-select-option/package.json +2 -5
- package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +1 -0
- package/components/package.json +2 -5
- package/components/pagination/package.json +2 -5
- package/components/pagination/pagination.component.d.ts +3 -1
- package/components/pagination/pagination.module.d.ts +9 -0
- package/components/pagination/taiga-ui-kit-components-pagination.d.ts +1 -0
- package/components/pdf-viewer/package.json +2 -5
- package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -0
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +3 -0
- package/components/pdf-viewer/pdf-viewer.module.d.ts +9 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +4 -1
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +1 -0
- package/components/progress/index.d.ts +0 -3
- package/components/progress/package.json +2 -5
- package/components/progress/progress-bar/progress-bar.component.d.ts +3 -0
- package/components/progress/progress-bar/progress-color-segments.directive.d.ts +3 -0
- package/components/progress/progress-circle/progress-circle.component.d.ts +3 -0
- package/components/progress/progress-label/progress-label.component.d.ts +3 -0
- package/components/progress/progress-segmented/progress-segmented.component.d.ts +3 -0
- package/components/progress/progress.module.d.ts +11 -0
- package/components/progress/taiga-ui-kit-components-progress.d.ts +1 -0
- package/components/radio/package.json +2 -5
- package/components/radio/radio-options.d.ts +0 -5
- package/components/radio/radio.component.d.ts +3 -2
- package/components/radio/radio.module.d.ts +8 -0
- package/components/radio/taiga-ui-kit-components-radio.d.ts +1 -0
- package/components/radio-block/package.json +2 -5
- package/components/radio-block/radio-block.component.d.ts +3 -2
- package/components/radio-block/radio-block.module.d.ts +8 -0
- package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +1 -0
- package/components/radio-group/package.json +2 -5
- package/components/radio-group/radio-group.component.d.ts +3 -0
- package/components/radio-group/radio-group.module.d.ts +5 -0
- package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +1 -0
- package/components/radio-labeled/package.json +2 -5
- package/components/radio-labeled/radio-labeled.component.d.ts +3 -2
- package/components/radio-labeled/radio-labeled.module.d.ts +9 -0
- package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +1 -0
- package/components/radio-list/package.json +2 -5
- package/components/radio-list/radio-list.component.d.ts +5 -5
- package/components/radio-list/radio-list.module.d.ts +10 -0
- package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +1 -0
- package/components/range/package.json +2 -5
- package/components/range/range-change.directive.d.ts +3 -0
- package/components/range/range.component.d.ts +5 -9
- package/components/range/range.module.d.ts +10 -0
- package/components/range/taiga-ui-kit-components-range.d.ts +1 -0
- package/components/rating/package.json +2 -5
- package/components/rating/rating.component.d.ts +3 -0
- package/components/rating/rating.module.d.ts +8 -0
- package/components/rating/taiga-ui-kit-components-rating.d.ts +1 -0
- package/components/select/package.json +2 -5
- package/components/select/select.component.d.ts +3 -1
- package/components/select/select.directive.d.ts +3 -0
- package/components/select/select.module.d.ts +12 -0
- package/components/select/select.providers.d.ts +0 -1
- package/components/select/taiga-ui-kit-components-select.d.ts +1 -0
- package/components/select-option/package.json +2 -5
- package/components/select-option/select-option.component.d.ts +4 -1
- package/components/select-option/select-option.module.d.ts +7 -0
- package/components/select-option/taiga-ui-kit-components-select-option.d.ts +1 -0
- package/components/slider/helpers/slider-key-steps.directive.d.ts +4 -9
- package/components/slider/helpers/slider-readonly.directive.d.ts +3 -0
- package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +3 -0
- package/components/slider/index.d.ts +0 -1
- package/components/slider/package.json +2 -5
- package/components/slider/slider.component.d.ts +3 -0
- package/components/slider/slider.module.d.ts +9 -0
- package/components/slider/taiga-ui-kit-components-slider.d.ts +1 -0
- package/components/stepper/package.json +2 -5
- package/components/stepper/step/step.component.d.ts +3 -0
- package/components/stepper/stepper.component.d.ts +5 -2
- package/components/stepper/stepper.module.d.ts +8 -0
- package/components/stepper/taiga-ui-kit-components-stepper.d.ts +1 -0
- package/components/tabs/index.d.ts +0 -1
- package/components/tabs/package.json +2 -5
- package/components/tabs/tab/tab.component.d.ts +4 -3
- package/components/tabs/tab/tab.providers.d.ts +1 -1
- package/components/tabs/tabs/tabs.component.d.ts +4 -6
- package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +3 -0
- package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +0 -5
- package/components/tabs/tabs.module.d.ts +12 -0
- package/components/tabs/taiga-ui-kit-components-tabs.d.ts +1 -0
- package/components/tabs/underline/underline.component.d.ts +4 -6
- package/components/tag/package.json +2 -5
- package/components/tag/tag-options.d.ts +2 -2
- package/components/tag/tag.component.d.ts +6 -3
- package/components/tag/tag.module.d.ts +10 -0
- package/components/tag/taiga-ui-kit-components-tag.d.ts +1 -0
- package/components/taiga-ui-kit-components.d.ts +1 -0
- package/components/text-area/package.json +2 -5
- package/components/text-area/taiga-ui-kit-components-text-area.d.ts +1 -0
- package/components/text-area/text-area.component.d.ts +3 -2
- package/components/text-area/text-area.directive.d.ts +3 -0
- package/components/text-area/text-area.module.d.ts +10 -0
- package/components/toggle/package.json +2 -5
- package/components/toggle/taiga-ui-kit-components-toggle.d.ts +1 -0
- package/components/toggle/toggle-options.d.ts +0 -5
- package/components/toggle/toggle.component.d.ts +3 -2
- package/components/toggle/toggle.module.d.ts +9 -0
- package/components/tree/components/tree/tree.component.d.ts +3 -0
- package/components/tree/components/tree-item/tree-item.component.d.ts +3 -0
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +3 -0
- package/components/tree/directives/tree-children.directive.d.ts +3 -0
- package/components/tree/directives/tree-controller.directive.d.ts +3 -0
- package/components/tree/directives/tree-item-controller.directive.d.ts +3 -0
- package/components/tree/directives/tree-node.directive.d.ts +3 -0
- package/components/tree/misc/tree.constants.d.ts +1 -1
- package/components/tree/misc/tree.service.d.ts +3 -0
- package/components/tree/package.json +2 -5
- package/components/tree/taiga-ui-kit-components-tree.d.ts +1 -0
- package/components/tree/tree.module.d.ts +15 -0
- package/constants/masks.d.ts +0 -8
- package/constants/package.json +2 -5
- package/constants/taiga-ui-kit-constants.d.ts +1 -0
- package/directives/dropdown-context/dropdown-context.directive.d.ts +5 -2
- package/directives/dropdown-context/dropdown-context.module.d.ts +6 -0
- package/directives/dropdown-context/package.json +2 -5
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +1 -0
- package/directives/dropdown-hover/dropdown-hover.directive.d.ts +3 -0
- package/directives/dropdown-hover/dropdown-hover.module.d.ts +5 -0
- package/directives/dropdown-hover/package.json +2 -5
- package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +1 -0
- package/directives/dropdown-selection/dropdown-selection.directive.d.ts +5 -2
- package/directives/dropdown-selection/dropdown-selection.module.d.ts +6 -0
- package/directives/dropdown-selection/package.json +2 -5
- package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +1 -0
- package/directives/highlight/highlight.directive.d.ts +3 -0
- package/directives/highlight/highlight.module.d.ts +5 -0
- package/directives/highlight/package.json +2 -5
- package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +1 -0
- package/directives/lazy-loading/lazy-loading.directive.d.ts +3 -0
- package/directives/lazy-loading/lazy-loading.module.d.ts +5 -0
- package/directives/lazy-loading/lazy-loading.service.d.ts +3 -0
- package/directives/lazy-loading/package.json +2 -5
- package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +1 -0
- package/directives/package.json +2 -5
- package/directives/present/package.json +2 -5
- package/directives/present/present.directive.d.ts +3 -0
- package/directives/present/present.module.d.ts +5 -0
- package/directives/present/taiga-ui-kit-directives-present.d.ts +1 -0
- package/directives/project-class/package.json +2 -5
- package/directives/project-class/project-class.directive.d.ts +3 -0
- package/directives/project-class/project-class.module.d.ts +5 -0
- package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +1 -0
- package/directives/taiga-ui-kit-directives.d.ts +1 -0
- package/directives/unfinished-validator/package.json +2 -5
- package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +1 -0
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +3 -0
- package/directives/unfinished-validator/unfinished-validator.module.d.ts +5 -0
- package/directives/value-accessor/package.json +2 -5
- package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +1 -0
- package/directives/value-accessor/value-accessor.directive.d.ts +3 -0
- package/directives/value-accessor/value-accessor.module.d.ts +5 -0
- package/esm2015/abstract/index.js +1 -2
- package/esm2015/abstract/slider/slider.js +56 -54
- package/esm2015/abstract/taiga-ui-kit-abstract.js +1 -1
- package/esm2015/classes/day-range-period.js +1 -1
- package/esm2015/classes/index.js +1 -1
- package/esm2015/classes/named-day.js +1 -1
- package/esm2015/classes/stringifiable-item.js +1 -1
- package/esm2015/classes/taiga-ui-kit-classes.js +1 -1
- package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +20 -17
- package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +12 -10
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +90 -66
- package/esm2015/components/accordion/accordion.component.js +29 -23
- package/esm2015/components/accordion/accordion.module.js +49 -25
- package/esm2015/components/accordion/index.js +1 -1
- package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -1
- package/esm2015/components/action/action.component.js +56 -47
- package/esm2015/components/action/action.module.js +26 -13
- package/esm2015/components/action/index.js +1 -1
- package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -1
- package/esm2015/components/arrow/arrow-options.js +5 -8
- package/esm2015/components/arrow/arrow.component.js +35 -23
- package/esm2015/components/arrow/arrow.module.js +16 -13
- package/esm2015/components/arrow/index.js +1 -1
- package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -1
- package/esm2015/components/avatar/avatar-options.js +3 -3
- package/esm2015/components/avatar/avatar.component.js +49 -35
- package/esm2015/components/avatar/avatar.module.js +15 -12
- package/esm2015/components/avatar/index.js +1 -1
- package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -1
- package/esm2015/components/badge/badge.component.js +58 -43
- package/esm2015/components/badge/badge.module.js +15 -12
- package/esm2015/components/badge/index.js +1 -1
- package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -1
- package/esm2015/components/badged-content/badged-content.component.js +64 -43
- package/esm2015/components/badged-content/badged-content.module.js +15 -12
- package/esm2015/components/badged-content/index.js +1 -1
- package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -1
- package/esm2015/components/breadcrumbs/breadcrumbs.component.js +45 -25
- package/esm2015/components/breadcrumbs/breadcrumbs.module.js +17 -33
- package/esm2015/components/breadcrumbs/index.js +1 -3
- package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -1
- package/esm2015/components/calendar-month/calendar-month.component.js +52 -42
- package/esm2015/components/calendar-month/calendar-month.module.js +34 -13
- package/esm2015/components/calendar-month/index.js +1 -1
- package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -1
- package/esm2015/components/calendar-range/calendar-range.component.js +60 -48
- package/esm2015/components/calendar-range/calendar-range.module.js +32 -13
- package/esm2015/components/calendar-range/index.js +1 -1
- package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -1
- package/esm2015/components/carousel/carousel-autoscroll.directive.js +17 -16
- package/esm2015/components/carousel/carousel-buttons.directive.js +26 -23
- package/esm2015/components/carousel/carousel-scroll.directive.js +18 -18
- package/esm2015/components/carousel/carousel.component.js +73 -49
- package/esm2015/components/carousel/carousel.directive.js +22 -20
- package/esm2015/components/carousel/carousel.module.js +44 -24
- package/esm2015/components/carousel/index.js +1 -1
- package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -1
- package/esm2015/components/checkbox/checkbox.component.js +54 -44
- package/esm2015/components/checkbox/checkbox.module.js +29 -16
- package/esm2015/components/checkbox/index.js +1 -1
- package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -1
- package/esm2015/components/checkbox-block/checkbox-block.component.js +72 -55
- package/esm2015/components/checkbox-block/checkbox-block.module.js +26 -13
- package/esm2015/components/checkbox-block/index.js +1 -1
- package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -1
- package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +60 -49
- package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +15 -19
- package/esm2015/components/checkbox-labeled/index.js +1 -1
- package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -1
- package/esm2015/components/combo-box/combo-box-strict.directive.js +22 -18
- package/esm2015/components/combo-box/combo-box.component.js +71 -57
- package/esm2015/components/combo-box/combo-box.directive.js +23 -17
- package/esm2015/components/combo-box/combo-box.module.js +48 -23
- package/esm2015/components/combo-box/combo-box.providers.js +2 -4
- package/esm2015/components/combo-box/index.js +1 -1
- package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -1
- package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +40 -28
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +36 -25
- package/esm2015/components/data-list-wrapper/data-list-wrapper.js +24 -21
- package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +32 -17
- package/esm2015/components/data-list-wrapper/index.js +1 -1
- package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -1
- package/esm2015/components/files/file/file.component.js +78 -63
- package/esm2015/components/files/files.component.js +33 -27
- package/esm2015/components/files/files.module.js +34 -13
- package/esm2015/components/files/index.js +1 -1
- package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -1
- package/esm2015/components/filter/filter.component.js +55 -44
- package/esm2015/components/filter/filter.module.js +28 -13
- package/esm2015/components/filter/index.js +1 -1
- package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -1
- package/esm2015/components/index.js +1 -3
- package/esm2015/components/input/index.js +1 -1
- package/esm2015/components/input/input.component.js +43 -49
- package/esm2015/components/input/input.directive.js +23 -17
- package/esm2015/components/input/input.module.js +24 -13
- package/esm2015/components/input/input.providers.js +1 -1
- package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
- package/esm2015/components/input-copy/index.js +1 -1
- package/esm2015/components/input-copy/input-copy.component.js +60 -50
- package/esm2015/components/input-copy/input-copy.directive.js +23 -17
- package/esm2015/components/input-copy/input-copy.module.js +32 -14
- package/esm2015/components/input-copy/input-copy.providers.js +1 -1
- package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -1
- package/esm2015/components/input-count/index.js +1 -1
- package/esm2015/components/input-count/input-count-options.js +6 -9
- package/esm2015/components/input-count/input-count.component.js +101 -77
- package/esm2015/components/input-count/input-count.directive.js +25 -19
- package/esm2015/components/input-count/input-count.module.js +30 -13
- package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -1
- package/esm2015/components/input-date/index.js +1 -1
- package/esm2015/components/input-date/input-date.component.js +95 -69
- package/esm2015/components/input-date/input-date.directive.js +24 -18
- package/esm2015/components/input-date/input-date.module.js +40 -13
- package/esm2015/components/input-date/input-date.providers.js +4 -6
- package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
- package/esm2015/components/input-date-range/index.js +1 -1
- package/esm2015/components/input-date-range/input-date-range.component.js +106 -80
- package/esm2015/components/input-date-range/input-date-range.directive.js +24 -18
- package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
- package/esm2015/components/input-date-range/input-date-range.providers.js +4 -6
- package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -1
- package/esm2015/components/input-date-time/index.js +1 -1
- package/esm2015/components/input-date-time/input-date-time.component.js +88 -66
- package/esm2015/components/input-date-time/input-date-time.directive.js +24 -18
- package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
- package/esm2015/components/input-date-time/input-date-time.providers.js +4 -6
- package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -1
- package/esm2015/components/input-files/index.js +1 -1
- package/esm2015/components/input-files/input-files.component.js +90 -72
- package/esm2015/components/input-files/input-files.module.js +56 -18
- package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -1
- package/esm2015/components/input-inline/index.js +1 -1
- package/esm2015/components/input-inline/input-inline.component.js +53 -38
- package/esm2015/components/input-inline/input-inline.module.js +26 -13
- package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -1
- package/esm2015/components/input-month/index.js +1 -1
- package/esm2015/components/input-month/input-month.component.js +50 -38
- package/esm2015/components/input-month/input-month.directive.js +40 -29
- package/esm2015/components/input-month/input-month.module.js +34 -14
- package/esm2015/components/input-month/input-month.providers.js +1 -1
- package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
- package/esm2015/components/input-month-range/index.js +1 -1
- package/esm2015/components/input-month-range/input-month-range.component.js +51 -39
- package/esm2015/components/input-month-range/input-month-range.directive.js +41 -30
- package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
- package/esm2015/components/input-month-range/input-month-range.providers.js +1 -1
- package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -1
- package/esm2015/components/input-number/index.js +1 -1
- package/esm2015/components/input-number/input-number.component.js +102 -78
- package/esm2015/components/input-number/input-number.directive.js +24 -18
- package/esm2015/components/input-number/input-number.module.js +30 -13
- package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -1
- package/esm2015/components/input-password/index.js +1 -1
- package/esm2015/components/input-password/input-password-options.js +4 -7
- package/esm2015/components/input-password/input-password.component.js +78 -58
- package/esm2015/components/input-password/input-password.directive.js +24 -18
- package/esm2015/components/input-password/input-password.module.js +38 -17
- package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
- package/esm2015/components/input-phone/index.js +1 -1
- package/esm2015/components/input-phone/input-phone.component.js +93 -79
- package/esm2015/components/input-phone/input-phone.directive.js +24 -18
- package/esm2015/components/input-phone/input-phone.module.js +28 -13
- package/esm2015/components/input-phone/input-phone.options.js +4 -4
- package/esm2015/components/input-phone/input-phone.providers.js +3 -3
- package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -1
- package/esm2015/components/input-phone-international/const/mask-after-code-regexp.js +2 -0
- package/esm2015/components/input-phone-international/index.js +2 -3
- package/esm2015/components/input-phone-international/input-phone-international.component.js +86 -65
- package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
- package/esm2015/components/input-phone-international/input-phone-international.options.js +2 -2
- package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -1
- package/esm2015/components/input-phone-international/tokens/countries-masks.js +212 -4
- package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +2 -2
- package/esm2015/components/input-range/index.js +1 -1
- package/esm2015/components/input-range/input-range.component.js +137 -124
- package/esm2015/components/input-range/input-range.module.js +35 -18
- package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -1
- package/esm2015/components/input-slider/index.js +1 -1
- package/esm2015/components/input-slider/input-slider.component.js +96 -157
- package/esm2015/components/input-slider/input-slider.module.js +33 -23
- package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -1
- package/esm2015/components/input-tag/index.js +1 -1
- package/esm2015/components/input-tag/input-tag-options.js +3 -3
- package/esm2015/components/input-tag/input-tag.component.js +176 -142
- package/esm2015/components/input-tag/input-tag.module.js +41 -14
- package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -1
- package/esm2015/components/input-time/index.js +1 -1
- package/esm2015/components/input-time/input-time-options.js +6 -8
- package/esm2015/components/input-time/input-time.component.js +78 -58
- package/esm2015/components/input-time/input-time.module.js +30 -13
- package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -1
- package/esm2015/components/island/index.js +1 -1
- package/esm2015/components/island/island.component.js +58 -47
- package/esm2015/components/island/island.module.js +15 -12
- package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -1
- package/esm2015/components/line-clamp/index.js +1 -1
- package/esm2015/components/line-clamp/line-clamp-options.js +2 -2
- package/esm2015/components/line-clamp/line-clamp.component.js +61 -49
- package/esm2015/components/line-clamp/line-clamp.module.js +15 -12
- package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -1
- package/esm2015/components/marker-icon/index.js +1 -1
- package/esm2015/components/marker-icon/marker-icon.component.js +39 -29
- package/esm2015/components/marker-icon/marker-icon.module.js +15 -12
- package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -1
- package/esm2015/components/multi-select/hide-selected.pipe.js +22 -19
- package/esm2015/components/multi-select/index.js +1 -1
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +47 -34
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +56 -34
- package/esm2015/components/multi-select/multi-select-options.js +3 -3
- package/esm2015/components/multi-select/multi-select.component.js +113 -91
- package/esm2015/components/multi-select/multi-select.module.js +65 -26
- package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -1
- package/esm2015/components/multi-select-option/index.js +1 -1
- package/esm2015/components/multi-select-option/multi-select-option.component.js +18 -14
- package/esm2015/components/multi-select-option/multi-select-option.module.js +16 -13
- package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -1
- package/esm2015/components/pagination/index.js +1 -1
- package/esm2015/components/pagination/pagination.component.js +71 -55
- package/esm2015/components/pagination/pagination.module.js +30 -13
- package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -1
- package/esm2015/components/pdf-viewer/index.js +2 -1
- package/esm2015/components/pdf-viewer/pdf-viewer-options.js +2 -1
- package/esm2015/components/pdf-viewer/pdf-viewer.component.js +39 -31
- package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
- package/esm2015/components/pdf-viewer/pdf-viewer.module.js +29 -20
- package/esm2015/components/pdf-viewer/pdf-viewer.service.js +12 -13
- package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -1
- package/esm2015/components/progress/index.js +1 -4
- package/esm2015/components/progress/progress-bar/progress-bar.component.js +26 -19
- package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +39 -31
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +48 -36
- package/esm2015/components/progress/progress-label/progress-label.component.js +15 -13
- package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +33 -25
- package/esm2015/components/progress/progress.module.js +35 -30
- package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -1
- package/esm2015/components/radio/index.js +1 -1
- package/esm2015/components/radio/radio-options.js +3 -3
- package/esm2015/components/radio/radio.component.js +78 -61
- package/esm2015/components/radio/radio.module.js +29 -16
- package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -1
- package/esm2015/components/radio-block/index.js +1 -1
- package/esm2015/components/radio-block/radio-block.component.js +79 -61
- package/esm2015/components/radio-block/radio-block.module.js +15 -19
- package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -1
- package/esm2015/components/radio-group/index.js +1 -1
- package/esm2015/components/radio-group/radio-group.component.js +17 -14
- package/esm2015/components/radio-group/radio-group.module.js +14 -11
- package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -1
- package/esm2015/components/radio-labeled/index.js +1 -1
- package/esm2015/components/radio-labeled/radio-labeled.component.js +67 -55
- package/esm2015/components/radio-labeled/radio-labeled.module.js +27 -16
- package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -1
- package/esm2015/components/radio-list/index.js +1 -1
- package/esm2015/components/radio-list/radio-list.component.js +71 -49
- package/esm2015/components/radio-list/radio-list.module.js +26 -13
- package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -1
- package/esm2015/components/range/index.js +1 -1
- package/esm2015/components/range/range-change.directive.js +38 -33
- package/esm2015/components/range/range.component.js +116 -109
- package/esm2015/components/range/range.module.js +17 -22
- package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -1
- package/esm2015/components/rating/index.js +1 -1
- package/esm2015/components/rating/rating-options.js +4 -4
- package/esm2015/components/rating/rating.component.js +63 -44
- package/esm2015/components/rating/rating.module.js +26 -13
- package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -1
- package/esm2015/components/select/index.js +1 -1
- package/esm2015/components/select/select-options.js +3 -3
- package/esm2015/components/select/select.component.js +64 -50
- package/esm2015/components/select/select.directive.js +23 -17
- package/esm2015/components/select/select.module.js +34 -14
- package/esm2015/components/select/select.providers.js +2 -4
- package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -1
- package/esm2015/components/select-option/index.js +1 -1
- package/esm2015/components/select-option/select-option.component.js +36 -29
- package/esm2015/components/select-option/select-option.module.js +16 -13
- package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -1
- package/esm2015/components/slider/helpers/slider-key-steps.directive.js +49 -60
- package/esm2015/components/slider/helpers/slider-readonly.directive.js +44 -38
- package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +24 -21
- package/esm2015/components/slider/index.js +1 -2
- package/esm2015/components/slider/slider-options.js +4 -4
- package/esm2015/components/slider/slider.component.js +71 -58
- package/esm2015/components/slider/slider.module.js +32 -37
- package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -1
- package/esm2015/components/stepper/index.js +1 -1
- package/esm2015/components/stepper/step/step.component.js +63 -49
- package/esm2015/components/stepper/stepper.component.js +52 -40
- package/esm2015/components/stepper/stepper.module.js +15 -12
- package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -1
- package/esm2015/components/tabs/index.js +1 -2
- package/esm2015/components/tabs/tab/tab.component.js +57 -61
- package/esm2015/components/tabs/tab/tab.providers.js +6 -8
- package/esm2015/components/tabs/tabs/tabs.component.js +85 -80
- package/esm2015/components/tabs/tabs-options.js +2 -2
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +74 -55
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +7 -9
- package/esm2015/components/tabs/tabs.module.js +46 -26
- package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -1
- package/esm2015/components/tabs/underline/underline.component.js +53 -64
- package/esm2015/components/tag/index.js +1 -1
- package/esm2015/components/tag/tag-options.js +4 -4
- package/esm2015/components/tag/tag.component.js +105 -73
- package/esm2015/components/tag/tag.module.js +28 -13
- package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -1
- package/esm2015/components/taiga-ui-kit-components.js +1 -1
- package/esm2015/components/text-area/index.js +1 -1
- package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
- package/esm2015/components/text-area/text-area.component.js +95 -81
- package/esm2015/components/text-area/text-area.directive.js +23 -17
- package/esm2015/components/text-area/text-area.module.js +35 -15
- package/esm2015/components/text-area/text-area.providers.js +1 -1
- package/esm2015/components/toggle/index.js +1 -1
- package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -1
- package/esm2015/components/toggle/toggle-options.js +5 -5
- package/esm2015/components/toggle/toggle.component.js +76 -59
- package/esm2015/components/toggle/toggle.module.js +37 -15
- package/esm2015/components/tree/components/tree/tree.component.js +51 -41
- package/esm2015/components/tree/components/tree-item/tree-item.component.js +41 -34
- package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
- package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +26 -22
- package/esm2015/components/tree/directives/tree-children.directive.js +15 -12
- package/esm2015/components/tree/directives/tree-controller.directive.js +39 -26
- package/esm2015/components/tree/directives/tree-item-controller.directive.js +27 -18
- package/esm2015/components/tree/directives/tree-node.directive.js +24 -20
- package/esm2015/components/tree/index.js +2 -1
- package/esm2015/components/tree/misc/tree.constants.js +1 -1
- package/esm2015/components/tree/misc/tree.interfaces.js +2 -1
- package/esm2015/components/tree/misc/tree.service.js +19 -18
- package/esm2015/components/tree/misc/tree.tokens.js +9 -9
- package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -1
- package/esm2015/components/tree/tree.module.js +51 -28
- package/esm2015/constants/date-time-separator.js +2 -2
- package/esm2015/constants/empty-mask.js +1 -1
- package/esm2015/constants/group-class-names.js +10 -10
- package/esm2015/constants/icon-blank.js +2 -2
- package/esm2015/constants/index.js +1 -1
- package/esm2015/constants/masks.js +6 -31
- package/esm2015/constants/math.js +1 -1
- package/esm2015/constants/max-day-range-length-mapper.js +1 -1
- package/esm2015/constants/max-time-values.js +1 -1
- package/esm2015/constants/router-link-options.js +2 -2
- package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
- package/esm2015/directives/dropdown-context/dropdown-context.directive.js +73 -57
- package/esm2015/directives/dropdown-context/dropdown-context.module.js +15 -12
- package/esm2015/directives/dropdown-context/index.js +1 -1
- package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +1 -1
- package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +34 -28
- package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +14 -11
- package/esm2015/directives/dropdown-hover/index.js +1 -1
- package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +1 -1
- package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +99 -74
- package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +15 -12
- package/esm2015/directives/dropdown-selection/index.js +1 -1
- package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +1 -1
- package/esm2015/directives/highlight/highlight.directive.js +48 -43
- package/esm2015/directives/highlight/highlight.module.js +14 -11
- package/esm2015/directives/highlight/index.js +1 -1
- package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -1
- package/esm2015/directives/index.js +1 -1
- package/esm2015/directives/lazy-loading/index.js +1 -1
- package/esm2015/directives/lazy-loading/lazy-loading.directive.js +40 -37
- package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
- package/esm2015/directives/lazy-loading/lazy-loading.service.js +19 -16
- package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -1
- package/esm2015/directives/present/index.js +1 -1
- package/esm2015/directives/present/present.directive.js +31 -28
- package/esm2015/directives/present/present.module.js +14 -11
- package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -1
- package/esm2015/directives/project-class/index.js +1 -1
- package/esm2015/directives/project-class/project-class.directive.js +20 -16
- package/esm2015/directives/project-class/project-class.module.js +14 -11
- package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -1
- package/esm2015/directives/taiga-ui-kit-directives.js +1 -1
- package/esm2015/directives/unfinished-validator/index.js +1 -1
- package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -1
- package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +32 -25
- package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +14 -11
- package/esm2015/directives/value-accessor/index.js +1 -1
- package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -1
- package/esm2015/directives/value-accessor/value-accessor.directive.js +13 -11
- package/esm2015/directives/value-accessor/value-accessor.module.js +14 -11
- package/esm2015/index.js +3 -2
- package/esm2015/interfaces/bread-crumbs-item.js +2 -1
- package/esm2015/interfaces/file-like.js +2 -1
- package/esm2015/interfaces/index.js +5 -1
- package/esm2015/interfaces/mobile-calendar-data.js +2 -1
- package/esm2015/interfaces/month-context.js +2 -1
- package/esm2015/interfaces/taiga-ui-kit-interfaces.js +2 -1
- package/esm2015/internal/index.js +1 -1
- package/esm2015/internal/primitive-calendar-range/index.js +1 -1
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +49 -36
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +15 -12
- package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
- package/esm2015/internal/taiga-ui-kit-internal.js +1 -1
- package/esm2015/pipes/field-error/field-error-content-pipe.js +19 -18
- package/esm2015/pipes/field-error/field-error-pipe.js +56 -38
- package/esm2015/pipes/field-error/field-error.module.js +14 -11
- package/esm2015/pipes/field-error/index.js +1 -1
- package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -1
- package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +16 -15
- package/esm2015/pipes/filter-by-input/filter-by-input.base.js +7 -13
- package/esm2015/pipes/filter-by-input/filter-by-input.module.js +14 -11
- package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +16 -15
- package/esm2015/pipes/filter-by-input/index.js +1 -1
- package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -1
- package/esm2015/pipes/index.js +1 -1
- package/esm2015/pipes/stringify/index.js +1 -1
- package/esm2015/pipes/stringify/stringify.module.js +14 -11
- package/esm2015/pipes/stringify/stringify.pipe.js +13 -11
- package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -1
- package/esm2015/pipes/stringify-content/index.js +1 -1
- package/esm2015/pipes/stringify-content/stringify-content.module.js +14 -11
- package/esm2015/pipes/stringify-content/stringify-content.pipe.js +12 -10
- package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -1
- package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -1
- package/esm2015/providers/index.js +1 -1
- package/esm2015/providers/month-formatter.provider.js +2 -2
- package/esm2015/providers/specific-dropdown-controllers.js +3 -3
- package/esm2015/providers/taiga-ui-kit-providers.js +1 -1
- package/esm2015/providers/value-accessor.provider.js +2 -4
- package/esm2015/taiga-ui-kit.js +1 -1
- package/esm2015/tokens/calendar-data-stream.js +2 -2
- package/esm2015/tokens/date-inputs-value-transformers.js +4 -4
- package/esm2015/tokens/i18n.js +29 -29
- package/esm2015/tokens/index.js +1 -2
- package/esm2015/tokens/items-handlers.js +2 -2
- package/esm2015/tokens/mobile-calendar.js +2 -2
- package/esm2015/tokens/month-formatter.js +2 -2
- package/esm2015/tokens/tab-margin.js +2 -2
- package/esm2015/tokens/tag-status.js +3 -3
- package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
- package/esm2015/tokens/validation-errors.js +2 -2
- package/esm2015/types/dropdown-position.js +2 -0
- package/esm2015/types/file-state.js +2 -0
- package/esm2015/types/handler-with-context.js +2 -1
- package/esm2015/types/index.js +9 -1
- package/esm2015/types/key-steps.js +2 -1
- package/esm2015/types/marker-icon-mode.js +2 -1
- package/esm2015/types/status.js +2 -1
- package/esm2015/types/step-state.js +2 -0
- package/esm2015/types/taiga-ui-kit-types.js +2 -1
- package/esm2015/types/time-format-parts.js +2 -1
- package/esm2015/utils/dom/get-word-range.js +5 -5
- package/esm2015/utils/dom/index.js +1 -1
- package/esm2015/utils/dom/scroll-to-element.js +1 -1
- package/esm2015/utils/dom/set-range-offset.js +1 -1
- package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +1 -1
- package/esm2015/utils/files/format-size.js +2 -2
- package/esm2015/utils/files/get-accept-array.js +2 -2
- package/esm2015/utils/files/index.js +1 -1
- package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -1
- package/esm2015/utils/format/index.js +1 -1
- package/esm2015/utils/format/string-hash-to-hsl.js +3 -3
- package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
- package/esm2015/utils/index.js +1 -1
- package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +1 -1
- package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
- package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +3 -3
- package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +6 -6
- package/esm2015/utils/mask/create-date-mask.js +5 -5
- package/esm2015/utils/mask/create-date-range-mask.js +2 -2
- package/esm2015/utils/mask/create-time-mask.js +4 -4
- package/esm2015/utils/mask/index.js +1 -1
- package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -1
- package/esm2015/utils/math/horizontal-direction-to-number.js +3 -3
- package/esm2015/utils/math/index.js +1 -1
- package/esm2015/utils/math/key-steps.js +1 -4
- package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
- package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +7 -7
- package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
- package/esm2015/utils/miscellaneous/get-precision.js +2 -2
- package/esm2015/utils/miscellaneous/index.js +1 -1
- package/esm2015/utils/miscellaneous/is-flat.js +2 -7
- package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -7
- package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -1
- package/esm2015/utils/taiga-ui-kit-utils.js +1 -1
- package/esm2015/validators/index.js +1 -1
- package/esm2015/validators/taiga-ui-kit-validators.js +1 -1
- package/esm2015/validators/unfinished.validator.js +2 -2
- package/fesm2015/taiga-ui-kit-abstract.js +56 -219
- package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
- package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js +188 -126
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js +81 -57
- package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-arrow.js +53 -39
- package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +64 -45
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badge.js +71 -51
- package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js +78 -52
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +56 -91
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -52
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +91 -58
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js +212 -158
- package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js +95 -63
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +72 -62
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox.js +79 -54
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +158 -109
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +122 -85
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +137 -95
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +84 -56
- package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -73
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +160 -113
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +174 -114
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +157 -101
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +157 -97
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +144 -86
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js +76 -46
- package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +130 -80
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +120 -74
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +153 -103
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +142 -95
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +348 -547
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +147 -108
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +168 -135
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +126 -173
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +216 -153
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +113 -76
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +86 -72
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-island.js +71 -55
- package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +75 -58
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js +53 -38
- package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js +31 -22
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +289 -192
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +97 -62
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +101 -73
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +182 -200
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-block.js +92 -75
- package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-group.js +29 -21
- package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js +91 -66
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-list.js +95 -58
- package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +105 -73
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +162 -152
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +89 -55
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +48 -36
- package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +120 -79
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +210 -269
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +124 -95
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +317 -306
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +135 -86
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +148 -105
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +112 -71
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tree.js +291 -218
- package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components.js +0 -2
- package/fesm2015/taiga-ui-kit-components.js.map +1 -1
- package/fesm2015/taiga-ui-kit-constants.js +18 -43
- package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +85 -64
- package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +46 -35
- package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +111 -81
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-highlight.js +59 -49
- package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +68 -57
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-present.js +42 -34
- package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -22
- package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +44 -32
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js +24 -17
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
- package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +60 -42
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-field-error.js +83 -58
- package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +51 -48
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +23 -16
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify.js +24 -17
- package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-kit-providers.js +5 -7
- package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +40 -45
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-kit-types.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-dom.js +4 -4
- package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-files.js +2 -2
- package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-format.js +2 -2
- package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-mask.js +15 -15
- package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-math.js +3 -6
- package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +12 -20
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
- package/fesm2015/taiga-ui-kit-validators.js +1 -1
- package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
- package/fesm2015/taiga-ui-kit.js +2 -1
- package/fesm2015/taiga-ui-kit.js.map +1 -1
- package/index.d.ts +0 -1
- package/interfaces/index.d.ts +0 -1
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-kit-interfaces.d.ts +1 -0
- package/internal/package.json +2 -5
- package/internal/primitive-calendar-range/package.json +2 -5
- package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
- package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +7 -0
- package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +1 -0
- package/internal/taiga-ui-kit-internal.d.ts +1 -0
- package/package.json +11 -14
- package/pipes/field-error/field-error-content-pipe.d.ts +3 -0
- package/pipes/field-error/field-error-pipe.d.ts +3 -0
- package/pipes/field-error/field-error.module.d.ts +6 -0
- package/pipes/field-error/package.json +2 -5
- package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +1 -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 +1 -7
- package/pipes/filter-by-input/filter-by-input.module.d.ts +6 -0
- package/pipes/filter-by-input/filter-by-input.pipe.d.ts +3 -0
- package/pipes/filter-by-input/package.json +2 -5
- package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +1 -0
- package/pipes/package.json +2 -5
- package/pipes/stringify/package.json +2 -5
- package/pipes/stringify/stringify.module.d.ts +5 -0
- package/pipes/stringify/stringify.pipe.d.ts +3 -0
- package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +1 -0
- package/pipes/stringify-content/package.json +2 -5
- package/pipes/stringify-content/stringify-content.module.d.ts +5 -0
- package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -0
- package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +1 -0
- package/pipes/taiga-ui-kit-pipes.d.ts +1 -0
- package/providers/package.json +2 -5
- package/providers/taiga-ui-kit-providers.d.ts +1 -0
- package/providers/value-accessor.provider.d.ts +0 -2
- package/taiga-ui-kit.d.ts +1 -0
- package/tokens/index.d.ts +0 -1
- package/tokens/package.json +2 -5
- package/tokens/tag-status.d.ts +1 -1
- package/tokens/taiga-ui-kit-tokens.d.ts +1 -0
- package/tokens/validation-errors.d.ts +1 -1
- package/types/dropdown-position.d.ts +1 -0
- package/types/file-state.d.ts +4 -0
- package/types/index.d.ts +3 -0
- package/types/key-steps.d.ts +8 -6
- package/types/marker-icon-mode.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/status.d.ts +1 -1
- package/types/step-state.d.ts +1 -0
- package/types/taiga-ui-kit-types.d.ts +1 -0
- package/utils/dom/package.json +2 -5
- package/utils/dom/taiga-ui-kit-utils-dom.d.ts +1 -0
- package/utils/files/package.json +2 -5
- package/utils/files/taiga-ui-kit-utils-files.d.ts +1 -0
- package/utils/format/package.json +2 -5
- package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
- package/utils/mask/package.json +2 -5
- package/utils/mask/taiga-ui-kit-utils-mask.d.ts +1 -0
- package/utils/math/key-steps.d.ts +0 -1
- package/utils/math/package.json +2 -5
- package/utils/math/taiga-ui-kit-utils-math.d.ts +1 -0
- package/utils/miscellaneous/is-flat.d.ts +1 -5
- package/utils/miscellaneous/package.json +2 -5
- package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -4
- package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +1 -0
- package/utils/package.json +2 -5
- package/utils/taiga-ui-kit-utils.d.ts +1 -0
- package/validators/package.json +2 -5
- package/validators/taiga-ui-kit-validators.d.ts +1 -0
- package/abstract/input-slider.d.ts +0 -77
- package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
- package/bundles/taiga-ui-kit-abstract.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-abstract.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-classes.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-classes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-action.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-action.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-badge.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-field-error.umd.js +0 -435
- package/bundles/taiga-ui-kit-components-field-error.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-field-error.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-files.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-files.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-filter.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.js +0 -779
- package/bundles/taiga-ui-kit-components-input-file.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-island.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-island.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-progress.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-rating.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-select.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-select.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-slider.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tag.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tree.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-present.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-enums.umd.js +0 -88
- package/bundles/taiga-ui-kit-enums.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-internal.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-internal.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-providers.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-providers.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-types.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-dom.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-files.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-format.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-math.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-validators.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-validators.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit.umd.min.js +0 -2
- package/bundles/taiga-ui-kit.umd.min.js.map +0 -1
- package/classes/taiga-ui-kit-classes.metadata.json +0 -1
- package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +0 -1
- package/components/action/taiga-ui-kit-components-action.metadata.json +0 -1
- package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +0 -1
- package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +0 -1
- package/components/badge/taiga-ui-kit-components-badge.metadata.json +0 -1
- package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +0 -1
- package/components/breadcrumbs/breadcrumb.directive.d.ts +0 -2
- package/components/breadcrumbs/breadcrumbs-wrapper.component.d.ts +0 -10
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +0 -1
- package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +0 -1
- package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +0 -1
- package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +0 -1
- package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +0 -1
- package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +0 -1
- package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +0 -1
- package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +0 -1
- package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +0 -1
- package/components/field-error/field-error.component.d.ts +0 -27
- package/components/field-error/field-error.module.d.ts +0 -5
- package/components/field-error/index.d.ts +0 -2
- package/components/field-error/package.json +0 -13
- package/components/field-error/taiga-ui-kit-components-field-error.d.ts +0 -4
- package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +0 -1
- package/components/files/taiga-ui-kit-components-files.metadata.json +0 -1
- package/components/filter/taiga-ui-kit-components-filter.metadata.json +0 -1
- package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
- package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +0 -1
- package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +0 -1
- package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +0 -1
- package/components/input-file/file/file.component.d.ts +0 -37
- package/components/input-file/index.d.ts +0 -3
- package/components/input-file/input-file.component.d.ts +0 -54
- package/components/input-file/input-file.module.d.ts +0 -2
- package/components/input-file/package.json +0 -13
- package/components/input-file/taiga-ui-kit-components-input-file.d.ts +0 -4
- package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +0 -1
- package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +0 -1
- package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +0 -1
- package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
- package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +0 -1
- package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +0 -1
- package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +0 -1
- package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +0 -1
- package/components/input-phone-international/const/countries.d.ts +0 -26
- package/components/input-phone-international/country-iso-code.d.ts +0 -207
- package/components/input-phone-international/interfaces/country.d.ts +0 -7
- package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +0 -1
- package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +0 -1
- package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +0 -1
- package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +0 -1
- package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +0 -1
- package/components/island/taiga-ui-kit-components-island.metadata.json +0 -1
- package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +0 -1
- package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +0 -1
- package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +0 -1
- package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +0 -1
- package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +0 -1
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +0 -1
- package/components/progress/taiga-ui-kit-components-progress.metadata.json +0 -1
- package/components/progress/utils/abstract-color-segments.d.ts +0 -9
- package/components/progress/utils/calculate-color-segments.d.ts +0 -1
- package/components/progress/utils/progress-color-segments-async.pipe.d.ts +0 -10
- package/components/progress/utils/progress-color-segments.pipe.d.ts +0 -9
- package/components/radio/taiga-ui-kit-components-radio.metadata.json +0 -1
- package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +0 -1
- package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +0 -1
- package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +0 -1
- package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +0 -1
- package/components/range/taiga-ui-kit-components-range.metadata.json +0 -1
- package/components/rating/taiga-ui-kit-components-rating.metadata.json +0 -1
- package/components/select/taiga-ui-kit-components-select.metadata.json +0 -1
- package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +0 -1
- package/components/slider/slider-old.component.d.ts +0 -21
- package/components/slider/taiga-ui-kit-components-slider.metadata.json +0 -1
- package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +0 -1
- package/components/tabs/tab.directive.d.ts +0 -5
- package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +0 -1
- package/components/tag/taiga-ui-kit-components-tag.metadata.json +0 -1
- package/components/taiga-ui-kit-components.metadata.json +0 -1
- package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +0 -1
- package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +0 -1
- package/components/tree/taiga-ui-kit-components-tree.metadata.json +0 -1
- package/constants/taiga-ui-kit-constants.metadata.json +0 -1
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
- package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
- package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +0 -1
- package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +0 -1
- package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +0 -1
- package/directives/present/taiga-ui-kit-directives-present.metadata.json +0 -1
- package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +0 -1
- package/directives/taiga-ui-kit-directives.metadata.json +0 -1
- package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +0 -1
- package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +0 -1
- package/enums/borders.d.ts +0 -7
- package/enums/dropdown-position.d.ts +0 -9
- package/enums/file-state.d.ts +0 -10
- package/enums/index.d.ts +0 -7
- package/enums/marker-icon-mode.d.ts +0 -13
- package/enums/package.json +0 -13
- package/enums/status.d.ts +0 -11
- package/enums/step-state.d.ts +0 -9
- package/enums/taiga-ui-kit-enums.d.ts +0 -4
- package/enums/taiga-ui-kit-enums.metadata.json +0 -1
- package/enums/text-align.d.ts +0 -8
- package/esm2015/abstract/input-slider.js +0 -171
- package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
- package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
- package/esm2015/components/field-error/field-error.component.js +0 -132
- package/esm2015/components/field-error/field-error.module.js +0 -20
- package/esm2015/components/field-error/index.js +0 -3
- package/esm2015/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
- package/esm2015/components/input-file/file/file.component.js +0 -149
- package/esm2015/components/input-file/index.js +0 -4
- package/esm2015/components/input-file/input-file.component.js +0 -264
- package/esm2015/components/input-file/input-file.module.js +0 -36
- package/esm2015/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
- package/esm2015/components/input-phone-international/const/countries.js +0 -257
- package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
- package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
- package/esm2015/components/progress/utils/abstract-color-segments.js +0 -32
- package/esm2015/components/progress/utils/calculate-color-segments.js +0 -11
- package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +0 -21
- package/esm2015/components/progress/utils/progress-color-segments.pipe.js +0 -19
- package/esm2015/components/slider/slider-old.component.js +0 -77
- package/esm2015/components/tabs/tab.directive.js +0 -18
- package/esm2015/enums/borders.js +0 -9
- package/esm2015/enums/dropdown-position.js +0 -10
- package/esm2015/enums/file-state.js +0 -11
- package/esm2015/enums/index.js +0 -8
- package/esm2015/enums/marker-icon-mode.js +0 -15
- package/esm2015/enums/status.js +0 -13
- package/esm2015/enums/step-state.js +0 -10
- package/esm2015/enums/taiga-ui-kit-enums.js +0 -5
- package/esm2015/enums/text-align.js +0 -10
- package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
- package/esm2015/tokens/mobile-aware.js +0 -6
- package/esm5/abstract/index.js +0 -3
- package/esm5/abstract/input-slider.js +0 -202
- package/esm5/abstract/slider/slider.js +0 -298
- package/esm5/abstract/taiga-ui-kit-abstract.js +0 -5
- package/esm5/classes/day-range-period.js +0 -12
- package/esm5/classes/index.js +0 -4
- package/esm5/classes/named-day.js +0 -14
- package/esm5/classes/stringifiable-item.js +0 -15
- package/esm5/classes/taiga-ui-kit-classes.js +0 -5
- package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +0 -24
- package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -14
- package/esm5/components/accordion/accordion-item/accordion-item.component.js +0 -160
- package/esm5/components/accordion/accordion.component.js +0 -62
- package/esm5/components/accordion/accordion.module.js +0 -44
- package/esm5/components/accordion/index.js +0 -6
- package/esm5/components/accordion/taiga-ui-kit-components-accordion.js +0 -5
- package/esm5/components/action/action.component.js +0 -89
- package/esm5/components/action/action.module.js +0 -27
- package/esm5/components/action/index.js +0 -3
- package/esm5/components/action/taiga-ui-kit-components-action.js +0 -5
- package/esm5/components/arrow/arrow-options.js +0 -29
- package/esm5/components/arrow/arrow.component.js +0 -41
- package/esm5/components/arrow/arrow.module.js +0 -21
- package/esm5/components/arrow/index.js +0 -4
- package/esm5/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
- package/esm5/components/avatar/avatar-options.js +0 -16
- package/esm5/components/avatar/avatar.component.js +0 -98
- package/esm5/components/avatar/avatar.module.js +0 -19
- package/esm5/components/avatar/index.js +0 -4
- package/esm5/components/avatar/taiga-ui-kit-components-avatar.js +0 -5
- package/esm5/components/badge/badge.component.js +0 -87
- package/esm5/components/badge/badge.module.js +0 -18
- package/esm5/components/badge/index.js +0 -3
- package/esm5/components/badge/taiga-ui-kit-components-badge.js +0 -5
- package/esm5/components/badged-content/badged-content.component.js +0 -116
- package/esm5/components/badged-content/badged-content.module.js +0 -21
- package/esm5/components/badged-content/index.js +0 -3
- package/esm5/components/badged-content/taiga-ui-kit-components-badged-content.js +0 -5
- package/esm5/components/breadcrumbs/breadcrumb.directive.js +0 -14
- package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -42
- package/esm5/components/breadcrumbs/breadcrumbs.component.js +0 -35
- package/esm5/components/breadcrumbs/breadcrumbs.module.js +0 -39
- package/esm5/components/breadcrumbs/index.js +0 -5
- package/esm5/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +0 -5
- package/esm5/components/calendar-month/calendar-month.component.js +0 -213
- package/esm5/components/calendar-month/calendar-month.module.js +0 -30
- package/esm5/components/calendar-month/index.js +0 -3
- package/esm5/components/calendar-month/taiga-ui-kit-components-calendar-month.js +0 -5
- package/esm5/components/calendar-range/calendar-range.component.js +0 -181
- package/esm5/components/calendar-range/calendar-range.module.js +0 -30
- package/esm5/components/calendar-range/index.js +0 -3
- package/esm5/components/calendar-range/taiga-ui-kit-components-calendar-range.js +0 -5
- package/esm5/components/carousel/carousel-autoscroll.directive.js +0 -22
- package/esm5/components/carousel/carousel-buttons.directive.js +0 -27
- package/esm5/components/carousel/carousel-scroll.directive.js +0 -35
- package/esm5/components/carousel/carousel.component.js +0 -158
- package/esm5/components/carousel/carousel.directive.js +0 -45
- package/esm5/components/carousel/carousel.module.js +0 -41
- package/esm5/components/carousel/index.js +0 -7
- package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +0 -5
- package/esm5/components/checkbox/checkbox.component.js +0 -89
- package/esm5/components/checkbox/checkbox.module.js +0 -29
- package/esm5/components/checkbox/index.js +0 -3
- package/esm5/components/checkbox/taiga-ui-kit-components-checkbox.js +0 -5
- package/esm5/components/checkbox-block/checkbox-block.component.js +0 -123
- package/esm5/components/checkbox-block/checkbox-block.module.js +0 -27
- package/esm5/components/checkbox-block/index.js +0 -3
- package/esm5/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
- package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +0 -89
- package/esm5/components/checkbox-labeled/checkbox-labeled.module.js +0 -27
- package/esm5/components/checkbox-labeled/index.js +0 -3
- package/esm5/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
- package/esm5/components/combo-box/combo-box-strict.directive.js +0 -34
- package/esm5/components/combo-box/combo-box.component.js +0 -212
- package/esm5/components/combo-box/combo-box.directive.js +0 -35
- package/esm5/components/combo-box/combo-box.module.js +0 -42
- package/esm5/components/combo-box/combo-box.providers.js +0 -28
- package/esm5/components/combo-box/index.js +0 -6
- package/esm5/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
- package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -46
- package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +0 -41
- package/esm5/components/data-list-wrapper/data-list-wrapper.js +0 -64
- package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +0 -32
- package/esm5/components/data-list-wrapper/index.js +0 -5
- package/esm5/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +0 -5
- package/esm5/components/field-error/field-error.component.js +0 -165
- package/esm5/components/field-error/field-error.module.js +0 -23
- package/esm5/components/field-error/index.js +0 -3
- package/esm5/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
- package/esm5/components/files/file/file.component.js +0 -213
- package/esm5/components/files/files.component.js +0 -50
- package/esm5/components/files/files.module.js +0 -32
- package/esm5/components/files/index.js +0 -4
- package/esm5/components/files/taiga-ui-kit-components-files.js +0 -5
- package/esm5/components/filter/filter.component.js +0 -97
- package/esm5/components/filter/filter.module.js +0 -30
- package/esm5/components/filter/index.js +0 -3
- package/esm5/components/filter/taiga-ui-kit-components-filter.js +0 -5
- package/esm5/components/index.js +0 -62
- package/esm5/components/input/index.js +0 -5
- package/esm5/components/input/input.component.js +0 -108
- package/esm5/components/input/input.directive.js +0 -28
- package/esm5/components/input/input.module.js +0 -26
- package/esm5/components/input/input.providers.js +0 -22
- package/esm5/components/input/taiga-ui-kit-components-input.js +0 -5
- package/esm5/components/input-copy/index.js +0 -5
- package/esm5/components/input-copy/input-copy.component.js +0 -137
- package/esm5/components/input-copy/input-copy.directive.js +0 -28
- package/esm5/components/input-copy/input-copy.module.js +0 -28
- package/esm5/components/input-copy/input-copy.providers.js +0 -16
- package/esm5/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
- package/esm5/components/input-count/index.js +0 -5
- package/esm5/components/input-count/input-count-options.js +0 -26
- package/esm5/components/input-count/input-count.component.js +0 -295
- package/esm5/components/input-count/input-count.directive.js +0 -32
- package/esm5/components/input-count/input-count.module.js +0 -31
- package/esm5/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
- package/esm5/components/input-date/index.js +0 -5
- package/esm5/components/input-date/input-date.component.js +0 -271
- package/esm5/components/input-date/input-date.directive.js +0 -38
- package/esm5/components/input-date/input-date.module.js +0 -37
- package/esm5/components/input-date/input-date.providers.js +0 -31
- package/esm5/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
- package/esm5/components/input-date-range/index.js +0 -5
- package/esm5/components/input-date-range/input-date-range.component.js +0 -354
- package/esm5/components/input-date-range/input-date-range.directive.js +0 -38
- package/esm5/components/input-date-range/input-date-range.module.js +0 -41
- package/esm5/components/input-date-range/input-date-range.providers.js +0 -31
- package/esm5/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
- package/esm5/components/input-date-time/index.js +0 -5
- package/esm5/components/input-date-time/input-date-time.component.js +0 -304
- package/esm5/components/input-date-time/input-date-time.directive.js +0 -38
- package/esm5/components/input-date-time/input-date-time.module.js +0 -40
- package/esm5/components/input-date-time/input-date-time.providers.js +0 -31
- package/esm5/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
- package/esm5/components/input-file/file/file.component.js +0 -194
- package/esm5/components/input-file/index.js +0 -4
- package/esm5/components/input-file/input-file.component.js +0 -311
- package/esm5/components/input-file/input-file.module.js +0 -39
- package/esm5/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
- package/esm5/components/input-files/index.js +0 -3
- package/esm5/components/input-files/input-files.component.js +0 -247
- package/esm5/components/input-files/input-files.module.js +0 -44
- package/esm5/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
- package/esm5/components/input-inline/index.js +0 -3
- package/esm5/components/input-inline/input-inline.component.js +0 -78
- package/esm5/components/input-inline/input-inline.module.js +0 -27
- package/esm5/components/input-inline/taiga-ui-kit-components-input-inline.js +0 -5
- package/esm5/components/input-month/index.js +0 -5
- package/esm5/components/input-month/input-month.component.js +0 -117
- package/esm5/components/input-month/input-month.directive.js +0 -67
- package/esm5/components/input-month/input-month.module.js +0 -30
- package/esm5/components/input-month/input-month.providers.js +0 -19
- package/esm5/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
- package/esm5/components/input-month-range/index.js +0 -5
- package/esm5/components/input-month-range/input-month-range.component.js +0 -125
- package/esm5/components/input-month-range/input-month-range.directive.js +0 -74
- package/esm5/components/input-month-range/input-month-range.module.js +0 -35
- package/esm5/components/input-month-range/input-month-range.providers.js +0 -19
- package/esm5/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
- package/esm5/components/input-number/index.js +0 -4
- package/esm5/components/input-number/input-number.component.js +0 -294
- package/esm5/components/input-number/input-number.directive.js +0 -45
- package/esm5/components/input-number/input-number.module.js +0 -32
- package/esm5/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
- package/esm5/components/input-password/index.js +0 -5
- package/esm5/components/input-password/input-password-options.js +0 -26
- package/esm5/components/input-password/input-password.component.js +0 -137
- package/esm5/components/input-password/input-password.directive.js +0 -36
- package/esm5/components/input-password/input-password.module.js +0 -36
- package/esm5/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
- package/esm5/components/input-phone/index.js +0 -6
- package/esm5/components/input-phone/input-phone.component.js +0 -300
- package/esm5/components/input-phone/input-phone.directive.js +0 -45
- package/esm5/components/input-phone/input-phone.module.js +0 -29
- package/esm5/components/input-phone/input-phone.options.js +0 -15
- package/esm5/components/input-phone/input-phone.providers.js +0 -35
- package/esm5/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
- package/esm5/components/input-phone-international/const/countries.js +0 -260
- package/esm5/components/input-phone-international/country-iso-code.js +0 -209
- package/esm5/components/input-phone-international/index.js +0 -8
- package/esm5/components/input-phone-international/input-phone-international.component.js +0 -215
- package/esm5/components/input-phone-international/input-phone-international.module.js +0 -40
- package/esm5/components/input-phone-international/input-phone-international.options.js +0 -15
- package/esm5/components/input-phone-international/interfaces/country.js +0 -1
- package/esm5/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +0 -5
- package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
- package/esm5/components/input-phone-international/utils/extract-value-from-event.js +0 -14
- package/esm5/components/input-range/index.js +0 -3
- package/esm5/components/input-range/input-range.component.js +0 -316
- package/esm5/components/input-range/input-range.module.js +0 -35
- package/esm5/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
- package/esm5/components/input-slider/index.js +0 -3
- package/esm5/components/input-slider/input-slider.component.js +0 -293
- package/esm5/components/input-slider/input-slider.module.js +0 -35
- package/esm5/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
- package/esm5/components/input-tag/index.js +0 -4
- package/esm5/components/input-tag/input-tag-options.js +0 -9
- package/esm5/components/input-tag/input-tag.component.js +0 -521
- package/esm5/components/input-tag/input-tag.module.js +0 -37
- package/esm5/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
- package/esm5/components/input-time/index.js +0 -4
- package/esm5/components/input-time/input-time-options.js +0 -23
- package/esm5/components/input-time/input-time.component.js +0 -303
- package/esm5/components/input-time/input-time.module.js +0 -29
- package/esm5/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
- package/esm5/components/island/index.js +0 -3
- package/esm5/components/island/island.component.js +0 -103
- package/esm5/components/island/island.module.js +0 -18
- package/esm5/components/island/taiga-ui-kit-components-island.js +0 -5
- package/esm5/components/line-clamp/index.js +0 -4
- package/esm5/components/line-clamp/line-clamp-options.js +0 -13
- package/esm5/components/line-clamp/line-clamp.component.js +0 -148
- package/esm5/components/line-clamp/line-clamp.module.js +0 -21
- package/esm5/components/line-clamp/taiga-ui-kit-components-line-clamp.js +0 -5
- package/esm5/components/marker-icon/index.js +0 -3
- package/esm5/components/marker-icon/marker-icon.component.js +0 -46
- package/esm5/components/marker-icon/marker-icon.module.js +0 -19
- package/esm5/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
- package/esm5/components/multi-select/hide-selected.pipe.js +0 -45
- package/esm5/components/multi-select/index.js +0 -7
- package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +0 -173
- package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -60
- package/esm5/components/multi-select/multi-select-options.js +0 -14
- package/esm5/components/multi-select/multi-select.component.js +0 -306
- package/esm5/components/multi-select/multi-select.module.js +0 -54
- package/esm5/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
- package/esm5/components/multi-select-option/index.js +0 -3
- package/esm5/components/multi-select-option/multi-select-option.component.js +0 -39
- package/esm5/components/multi-select-option/multi-select-option.module.js +0 -20
- package/esm5/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
- package/esm5/components/pagination/index.js +0 -3
- package/esm5/components/pagination/pagination.component.js +0 -320
- package/esm5/components/pagination/pagination.module.js +0 -29
- package/esm5/components/pagination/taiga-ui-kit-components-pagination.js +0 -5
- package/esm5/components/pdf-viewer/index.js +0 -5
- package/esm5/components/pdf-viewer/pdf-viewer-options.js +0 -1
- package/esm5/components/pdf-viewer/pdf-viewer.component.js +0 -43
- package/esm5/components/pdf-viewer/pdf-viewer.directive.js +0 -26
- package/esm5/components/pdf-viewer/pdf-viewer.module.js +0 -31
- package/esm5/components/pdf-viewer/pdf-viewer.service.js +0 -31
- package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +0 -5
- package/esm5/components/progress/index.js +0 -10
- package/esm5/components/progress/progress-bar/progress-bar.component.js +0 -28
- package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
- package/esm5/components/progress/progress-circle/progress-circle.component.js +0 -78
- package/esm5/components/progress/progress-label/progress-label.component.js +0 -17
- package/esm5/components/progress/progress-segmented/progress-segmented.component.js +0 -52
- package/esm5/components/progress/progress.module.js +0 -41
- package/esm5/components/progress/taiga-ui-kit-components-progress.js +0 -5
- package/esm5/components/progress/utils/abstract-color-segments.js +0 -33
- package/esm5/components/progress/utils/calculate-color-segments.js +0 -13
- package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +0 -27
- package/esm5/components/progress/utils/progress-color-segments.pipe.js +0 -24
- package/esm5/components/radio/index.js +0 -4
- package/esm5/components/radio/radio-options.js +0 -18
- package/esm5/components/radio/radio.component.js +0 -165
- package/esm5/components/radio/radio.module.js +0 -29
- package/esm5/components/radio/taiga-ui-kit-components-radio.js +0 -5
- package/esm5/components/radio-block/index.js +0 -3
- package/esm5/components/radio-block/radio-block.component.js +0 -146
- package/esm5/components/radio-block/radio-block.module.js +0 -27
- package/esm5/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
- package/esm5/components/radio-group/index.js +0 -3
- package/esm5/components/radio-group/radio-group.component.js +0 -25
- package/esm5/components/radio-group/radio-group.module.js +0 -16
- package/esm5/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
- package/esm5/components/radio-labeled/index.js +0 -3
- package/esm5/components/radio-labeled/radio-labeled.component.js +0 -112
- package/esm5/components/radio-labeled/radio-labeled.module.js +0 -29
- package/esm5/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
- package/esm5/components/radio-list/index.js +0 -3
- package/esm5/components/radio-list/radio-list.component.js +0 -114
- package/esm5/components/radio-list/radio-list.module.js +0 -28
- package/esm5/components/radio-list/taiga-ui-kit-components-radio-list.js +0 -5
- package/esm5/components/range/index.js +0 -4
- package/esm5/components/range/range-change.directive.js +0 -103
- package/esm5/components/range/range.component.js +0 -269
- package/esm5/components/range/range.module.js +0 -30
- package/esm5/components/range/taiga-ui-kit-components-range.js +0 -5
- package/esm5/components/rating/index.js +0 -4
- package/esm5/components/rating/rating-options.js +0 -16
- package/esm5/components/rating/rating.component.js +0 -111
- package/esm5/components/rating/rating.module.js +0 -26
- package/esm5/components/rating/taiga-ui-kit-components-rating.js +0 -5
- package/esm5/components/select/index.js +0 -6
- package/esm5/components/select/select-options.js +0 -13
- package/esm5/components/select/select.component.js +0 -137
- package/esm5/components/select/select.directive.js +0 -42
- package/esm5/components/select/select.module.js +0 -32
- package/esm5/components/select/select.providers.js +0 -28
- package/esm5/components/select/taiga-ui-kit-components-select.js +0 -5
- package/esm5/components/select-option/index.js +0 -3
- package/esm5/components/select-option/select-option.component.js +0 -75
- package/esm5/components/select-option/select-option.module.js +0 -20
- package/esm5/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
- package/esm5/components/slider/helpers/slider-key-steps.directive.js +0 -129
- package/esm5/components/slider/helpers/slider-readonly.directive.js +0 -87
- package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -55
- package/esm5/components/slider/index.js +0 -8
- package/esm5/components/slider/slider-old.component.js +0 -96
- package/esm5/components/slider/slider-options.js +0 -14
- package/esm5/components/slider/slider.component.js +0 -148
- package/esm5/components/slider/slider.module.js +0 -45
- package/esm5/components/slider/taiga-ui-kit-components-slider.js +0 -5
- package/esm5/components/stepper/index.js +0 -4
- package/esm5/components/stepper/step/step.component.js +0 -103
- package/esm5/components/stepper/stepper.component.js +0 -117
- package/esm5/components/stepper/stepper.module.js +0 -20
- package/esm5/components/stepper/taiga-ui-kit-components-stepper.js +0 -5
- package/esm5/components/tabs/index.js +0 -10
- package/esm5/components/tabs/tab/tab.component.js +0 -86
- package/esm5/components/tabs/tab/tab.providers.js +0 -38
- package/esm5/components/tabs/tab.directive.js +0 -19
- package/esm5/components/tabs/tabs/tabs.component.js +0 -159
- package/esm5/components/tabs/tabs-options.js +0 -15
- package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -233
- package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -43
- package/esm5/components/tabs/tabs.module.js +0 -42
- package/esm5/components/tabs/taiga-ui-kit-components-tabs.js +0 -5
- package/esm5/components/tabs/underline/underline.component.js +0 -94
- package/esm5/components/tag/index.js +0 -4
- package/esm5/components/tag/tag-options.js +0 -16
- package/esm5/components/tag/tag.component.js +0 -240
- package/esm5/components/tag/tag.module.js +0 -29
- package/esm5/components/tag/taiga-ui-kit-components-tag.js +0 -5
- package/esm5/components/taiga-ui-kit-components.js +0 -5
- package/esm5/components/text-area/index.js +0 -5
- package/esm5/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
- package/esm5/components/text-area/text-area.component.js +0 -238
- package/esm5/components/text-area/text-area.directive.js +0 -28
- package/esm5/components/text-area/text-area.module.js +0 -33
- package/esm5/components/text-area/text-area.providers.js +0 -18
- package/esm5/components/toggle/index.js +0 -4
- package/esm5/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
- package/esm5/components/toggle/toggle-options.js +0 -26
- package/esm5/components/toggle/toggle.component.js +0 -160
- package/esm5/components/toggle/toggle.module.js +0 -33
- package/esm5/components/tree/components/tree/tree.component.js +0 -72
- package/esm5/components/tree/components/tree-item/tree-item.component.js +0 -68
- package/esm5/components/tree/components/tree-item/tree-item.providers.js +0 -19
- package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +0 -49
- package/esm5/components/tree/directives/tree-children.directive.js +0 -25
- package/esm5/components/tree/directives/tree-controller.directive.js +0 -64
- package/esm5/components/tree/directives/tree-item-controller.directive.js +0 -38
- package/esm5/components/tree/directives/tree-node.directive.js +0 -40
- package/esm5/components/tree/index.js +0 -13
- package/esm5/components/tree/misc/tree.constants.js +0 -9
- package/esm5/components/tree/misc/tree.interfaces.js +0 -1
- package/esm5/components/tree/misc/tree.service.js +0 -44
- package/esm5/components/tree/misc/tree.tokens.js +0 -17
- package/esm5/components/tree/taiga-ui-kit-components-tree.js +0 -5
- package/esm5/components/tree/tree.module.js +0 -48
- package/esm5/constants/date-time-separator.js +0 -2
- package/esm5/constants/empty-mask.js +0 -6
- package/esm5/constants/group-class-names.js +0 -12
- package/esm5/constants/icon-blank.js +0 -2
- package/esm5/constants/index.js +0 -10
- package/esm5/constants/masks.js +0 -52
- package/esm5/constants/math.js +0 -5
- package/esm5/constants/max-day-range-length-mapper.js +0 -16
- package/esm5/constants/max-time-values.js +0 -7
- package/esm5/constants/router-link-options.js +0 -10
- package/esm5/constants/taiga-ui-kit-constants.js +0 -5
- package/esm5/directives/dropdown-context/dropdown-context.directive.js +0 -141
- package/esm5/directives/dropdown-context/dropdown-context.module.js +0 -18
- package/esm5/directives/dropdown-context/index.js +0 -3
- package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
- package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +0 -56
- package/esm5/directives/dropdown-hover/dropdown-hover.module.js +0 -16
- package/esm5/directives/dropdown-hover/index.js +0 -3
- package/esm5/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
- package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +0 -244
- package/esm5/directives/dropdown-selection/dropdown-selection.module.js +0 -18
- package/esm5/directives/dropdown-selection/index.js +0 -3
- package/esm5/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
- package/esm5/directives/highlight/highlight.directive.js +0 -101
- package/esm5/directives/highlight/highlight.module.js +0 -16
- package/esm5/directives/highlight/index.js +0 -3
- package/esm5/directives/highlight/taiga-ui-kit-directives-highlight.js +0 -5
- package/esm5/directives/index.js +0 -10
- package/esm5/directives/lazy-loading/index.js +0 -4
- package/esm5/directives/lazy-loading/lazy-loading.directive.js +0 -69
- package/esm5/directives/lazy-loading/lazy-loading.module.js +0 -16
- package/esm5/directives/lazy-loading/lazy-loading.service.js +0 -40
- package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +0 -5
- package/esm5/directives/present/index.js +0 -3
- package/esm5/directives/present/present.directive.js +0 -71
- package/esm5/directives/present/present.module.js +0 -16
- package/esm5/directives/present/taiga-ui-kit-directives-present.js +0 -5
- package/esm5/directives/project-class/index.js +0 -3
- package/esm5/directives/project-class/project-class.directive.js +0 -43
- package/esm5/directives/project-class/project-class.module.js +0 -16
- package/esm5/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
- package/esm5/directives/taiga-ui-kit-directives.js +0 -5
- package/esm5/directives/unfinished-validator/index.js +0 -3
- package/esm5/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +0 -5
- package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +0 -36
- package/esm5/directives/unfinished-validator/unfinished-validator.module.js +0 -16
- package/esm5/directives/value-accessor/index.js +0 -3
- package/esm5/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
- package/esm5/directives/value-accessor/value-accessor.directive.js +0 -16
- package/esm5/directives/value-accessor/value-accessor.module.js +0 -16
- package/esm5/enums/borders.js +0 -9
- package/esm5/enums/dropdown-position.js +0 -10
- package/esm5/enums/file-state.js +0 -11
- package/esm5/enums/index.js +0 -8
- package/esm5/enums/marker-icon-mode.js +0 -15
- package/esm5/enums/status.js +0 -13
- package/esm5/enums/step-state.js +0 -10
- package/esm5/enums/taiga-ui-kit-enums.js +0 -5
- package/esm5/enums/text-align.js +0 -10
- package/esm5/index.js +0 -12
- package/esm5/interfaces/bread-crumbs-item.js +0 -1
- package/esm5/interfaces/file-like.js +0 -1
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/mobile-calendar-data.js +0 -1
- package/esm5/interfaces/month-context.js +0 -1
- package/esm5/interfaces/taiga-ui-kit-interfaces.js +0 -4
- package/esm5/interfaces/with-date-mask-pipe-config.js +0 -1
- package/esm5/internal/index.js +0 -2
- package/esm5/internal/primitive-calendar-range/index.js +0 -3
- package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -163
- package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
- package/esm5/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
- package/esm5/internal/taiga-ui-kit-internal.js +0 -5
- package/esm5/pipes/field-error/field-error-content-pipe.js +0 -44
- package/esm5/pipes/field-error/field-error-pipe.js +0 -142
- package/esm5/pipes/field-error/field-error.module.js +0 -17
- package/esm5/pipes/field-error/index.js +0 -4
- package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +0 -5
- package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -28
- package/esm5/pipes/filter-by-input/filter-by-input.base.js +0 -61
- package/esm5/pipes/filter-by-input/filter-by-input.module.js +0 -17
- package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +0 -29
- package/esm5/pipes/filter-by-input/index.js +0 -5
- package/esm5/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +0 -5
- package/esm5/pipes/index.js +0 -5
- package/esm5/pipes/stringify/index.js +0 -3
- package/esm5/pipes/stringify/stringify.module.js +0 -16
- package/esm5/pipes/stringify/stringify.pipe.js +0 -17
- package/esm5/pipes/stringify/taiga-ui-kit-pipes-stringify.js +0 -5
- package/esm5/pipes/stringify-content/index.js +0 -3
- package/esm5/pipes/stringify-content/stringify-content.module.js +0 -16
- package/esm5/pipes/stringify-content/stringify-content.pipe.js +0 -20
- package/esm5/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +0 -5
- package/esm5/pipes/taiga-ui-kit-pipes.js +0 -5
- package/esm5/providers/index.js +0 -4
- package/esm5/providers/month-formatter.provider.js +0 -23
- package/esm5/providers/specific-dropdown-controllers.js +0 -29
- package/esm5/providers/taiga-ui-kit-providers.js +0 -5
- package/esm5/providers/value-accessor.provider.js +0 -12
- package/esm5/taiga-ui-kit.js +0 -5
- package/esm5/tokens/calendar-data-stream.js +0 -3
- package/esm5/tokens/date-inputs-value-transformers.js +0 -5
- package/esm5/tokens/i18n.js +0 -60
- package/esm5/tokens/index.js +0 -11
- package/esm5/tokens/items-handlers.js +0 -16
- package/esm5/tokens/mobile-aware.js +0 -6
- package/esm5/tokens/mobile-calendar.js +0 -3
- package/esm5/tokens/month-formatter.js +0 -3
- package/esm5/tokens/tab-margin.js +0 -5
- package/esm5/tokens/tag-status.js +0 -6
- package/esm5/tokens/taiga-ui-kit-tokens.js +0 -5
- package/esm5/tokens/validation-errors.js +0 -5
- package/esm5/types/handler-with-context.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/key-steps.js +0 -1
- package/esm5/types/marker-icon-mode.js +0 -1
- package/esm5/types/status.js +0 -1
- package/esm5/types/taiga-ui-kit-types.js +0 -4
- package/esm5/types/time-format-parts.js +0 -1
- package/esm5/utils/dom/get-word-range.js +0 -55
- package/esm5/utils/dom/index.js +0 -4
- package/esm5/utils/dom/scroll-to-element.js +0 -23
- package/esm5/utils/dom/set-range-offset.js +0 -29
- package/esm5/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
- package/esm5/utils/files/format-size.js +0 -21
- package/esm5/utils/files/get-accept-array.js +0 -12
- package/esm5/utils/files/index.js +0 -3
- package/esm5/utils/files/taiga-ui-kit-utils-files.js +0 -5
- package/esm5/utils/format/index.js +0 -2
- package/esm5/utils/format/string-hash-to-hsl.js +0 -24
- package/esm5/utils/format/taiga-ui-kit-utils-format.js +0 -5
- package/esm5/utils/index.js +0 -7
- package/esm5/utils/mask/create-auto-corrected-date-pipe.js +0 -25
- package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +0 -39
- package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +0 -29
- package/esm5/utils/mask/create-auto-corrected-time-pipe.js +0 -36
- package/esm5/utils/mask/create-date-mask.js +0 -17
- package/esm5/utils/mask/create-date-range-mask.js +0 -13
- package/esm5/utils/mask/create-time-mask.js +0 -17
- package/esm5/utils/mask/index.js +0 -8
- package/esm5/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
- package/esm5/utils/math/horizontal-direction-to-number.js +0 -12
- package/esm5/utils/math/index.js +0 -3
- package/esm5/utils/math/key-steps.js +0 -30
- package/esm5/utils/math/taiga-ui-kit-utils-math.js +0 -5
- package/esm5/utils/miscellaneous/create-default-day-range-periods.js +0 -28
- package/esm5/utils/miscellaneous/create-time-periods.js +0 -15
- package/esm5/utils/miscellaneous/get-precision.js +0 -12
- package/esm5/utils/miscellaneous/index.js +0 -6
- package/esm5/utils/miscellaneous/is-flat.js +0 -9
- package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +0 -19
- package/esm5/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
- package/esm5/utils/taiga-ui-kit-utils.js +0 -5
- package/esm5/validators/index.js +0 -2
- package/esm5/validators/taiga-ui-kit-validators.js +0 -5
- package/esm5/validators/unfinished.validator.js +0 -15
- package/fesm2015/taiga-ui-kit-components-field-error.js +0 -153
- package/fesm2015/taiga-ui-kit-components-field-error.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-file.js +0 -440
- package/fesm2015/taiga-ui-kit-components-input-file.js.map +0 -1
- package/fesm2015/taiga-ui-kit-enums.js +0 -84
- package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
- package/fesm5/taiga-ui-kit-abstract.js +0 -501
- package/fesm5/taiga-ui-kit-abstract.js.map +0 -1
- package/fesm5/taiga-ui-kit-classes.js +0 -44
- package/fesm5/taiga-ui-kit-classes.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-accordion.js +0 -286
- package/fesm5/taiga-ui-kit-components-accordion.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-action.js +0 -117
- package/fesm5/taiga-ui-kit-components-action.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-arrow.js +0 -87
- package/fesm5/taiga-ui-kit-components-arrow.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-avatar.js +0 -132
- package/fesm5/taiga-ui-kit-components-avatar.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-badge.js +0 -107
- package/fesm5/taiga-ui-kit-components-badge.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-badged-content.js +0 -138
- package/fesm5/taiga-ui-kit-components-badged-content.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-breadcrumbs.js +0 -120
- package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-calendar-month.js +0 -244
- package/fesm5/taiga-ui-kit-components-calendar-month.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-calendar-range.js +0 -211
- package/fesm5/taiga-ui-kit-components-calendar-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-carousel.js +0 -307
- package/fesm5/taiga-ui-kit-components-carousel.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-checkbox-block.js +0 -148
- package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +0 -115
- package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-checkbox.js +0 -118
- package/fesm5/taiga-ui-kit-components-checkbox.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-combo-box.js +0 -333
- package/fesm5/taiga-ui-kit-components-combo-box.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +0 -171
- package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-field-error.js +0 -189
- package/fesm5/taiga-ui-kit-components-field-error.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-files.js +0 -289
- package/fesm5/taiga-ui-kit-components-files.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-filter.js +0 -128
- package/fesm5/taiga-ui-kit-components-filter.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-copy.js +0 -200
- package/fesm5/taiga-ui-kit-components-input-copy.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-count.js +0 -377
- package/fesm5/taiga-ui-kit-components-input-count.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-date-range.js +0 -452
- package/fesm5/taiga-ui-kit-components-input-date-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-date-time.js +0 -402
- package/fesm5/taiga-ui-kit-components-input-date-time.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-date.js +0 -365
- package/fesm5/taiga-ui-kit-components-input-date.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-file.js +0 -535
- package/fesm5/taiga-ui-kit-components-input-file.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-files.js +0 -291
- package/fesm5/taiga-ui-kit-components-input-files.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-inline.js +0 -105
- package/fesm5/taiga-ui-kit-components-input-inline.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-month-range.js +0 -240
- package/fesm5/taiga-ui-kit-components-input-month-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-month.js +0 -220
- package/fesm5/taiga-ui-kit-components-input-month.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-number.js +0 -365
- package/fesm5/taiga-ui-kit-components-input-number.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-password.js +0 -226
- package/fesm5/taiga-ui-kit-components-input-password.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-phone-international.js +0 -744
- package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-phone.js +0 -410
- package/fesm5/taiga-ui-kit-components-input-phone.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-range.js +0 -347
- package/fesm5/taiga-ui-kit-components-input-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-slider.js +0 -324
- package/fesm5/taiga-ui-kit-components-input-slider.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-tag.js +0 -563
- package/fesm5/taiga-ui-kit-components-input-tag.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-time.js +0 -353
- package/fesm5/taiga-ui-kit-components-input-time.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input.js +0 -174
- package/fesm5/taiga-ui-kit-components-input.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-island.js +0 -123
- package/fesm5/taiga-ui-kit-components-island.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-line-clamp.js +0 -179
- package/fesm5/taiga-ui-kit-components-line-clamp.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-marker-icon.js +0 -66
- package/fesm5/taiga-ui-kit-components-marker-icon.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-multi-select-option.js +0 -60
- package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-multi-select.js +0 -623
- package/fesm5/taiga-ui-kit-components-multi-select.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-pagination.js +0 -349
- package/fesm5/taiga-ui-kit-components-pagination.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-pdf-viewer.js +0 -117
- package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-progress.js +0 -330
- package/fesm5/taiga-ui-kit-components-progress.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio-block.js +0 -171
- package/fesm5/taiga-ui-kit-components-radio-block.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio-group.js +0 -43
- package/fesm5/taiga-ui-kit-components-radio-group.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio-labeled.js +0 -140
- package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio-list.js +0 -142
- package/fesm5/taiga-ui-kit-components-radio-list.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio.js +0 -209
- package/fesm5/taiga-ui-kit-components-radio.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-range.js +0 -390
- package/fesm5/taiga-ui-kit-components-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-rating.js +0 -150
- package/fesm5/taiga-ui-kit-components-rating.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-select-option.js +0 -96
- package/fesm5/taiga-ui-kit-components-select-option.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-select.js +0 -237
- package/fesm5/taiga-ui-kit-components-select.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-slider.js +0 -541
- package/fesm5/taiga-ui-kit-components-slider.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-stepper.js +0 -233
- package/fesm5/taiga-ui-kit-components-stepper.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-tabs.js +0 -677
- package/fesm5/taiga-ui-kit-components-tabs.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-tag.js +0 -282
- package/fesm5/taiga-ui-kit-components-tag.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-text-area.js +0 -306
- package/fesm5/taiga-ui-kit-components-text-area.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-toggle.js +0 -216
- package/fesm5/taiga-ui-kit-components-toggle.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-tree.js +0 -439
- package/fesm5/taiga-ui-kit-components-tree.js.map +0 -1
- package/fesm5/taiga-ui-kit-components.js +0 -66
- package/fesm5/taiga-ui-kit-components.js.map +0 -1
- package/fesm5/taiga-ui-kit-constants.js +0 -119
- package/fesm5/taiga-ui-kit-constants.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-context.js +0 -160
- package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +0 -74
- package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +0 -263
- package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-highlight.js +0 -119
- package/fesm5/taiga-ui-kit-directives-highlight.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-lazy-loading.js +0 -121
- package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-present.js +0 -89
- package/fesm5/taiga-ui-kit-directives-present.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-project-class.js +0 -61
- package/fesm5/taiga-ui-kit-directives-project-class.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +0 -54
- package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-value-accessor.js +0 -34
- package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives.js +0 -14
- package/fesm5/taiga-ui-kit-directives.js.map +0 -1
- package/fesm5/taiga-ui-kit-enums.js +0 -84
- package/fesm5/taiga-ui-kit-enums.js.map +0 -1
- package/fesm5/taiga-ui-kit-interfaces.js +0 -4
- package/fesm5/taiga-ui-kit-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +0 -185
- package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-internal.js +0 -6
- package/fesm5/taiga-ui-kit-internal.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes-field-error.js +0 -200
- package/fesm5/taiga-ui-kit-pipes-field-error.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +0 -125
- package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes-stringify-content.js +0 -38
- package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes-stringify.js +0 -35
- package/fesm5/taiga-ui-kit-pipes-stringify.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes.js +0 -9
- package/fesm5/taiga-ui-kit-pipes.js.map +0 -1
- package/fesm5/taiga-ui-kit-providers.js +0 -67
- package/fesm5/taiga-ui-kit-providers.js.map +0 -1
- package/fesm5/taiga-ui-kit-tokens.js +0 -110
- package/fesm5/taiga-ui-kit-tokens.js.map +0 -1
- package/fesm5/taiga-ui-kit-types.js +0 -4
- package/fesm5/taiga-ui-kit-types.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-dom.js +0 -113
- package/fesm5/taiga-ui-kit-utils-dom.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-files.js +0 -40
- package/fesm5/taiga-ui-kit-utils-files.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-format.js +0 -30
- package/fesm5/taiga-ui-kit-utils-format.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-mask.js +0 -169
- package/fesm5/taiga-ui-kit-utils-mask.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-math.js +0 -49
- package/fesm5/taiga-ui-kit-utils-math.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-miscellaneous.js +0 -88
- package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils.js +0 -11
- package/fesm5/taiga-ui-kit-utils.js.map +0 -1
- package/fesm5/taiga-ui-kit-validators.js +0 -22
- package/fesm5/taiga-ui-kit-validators.js.map +0 -1
- package/fesm5/taiga-ui-kit.js +0 -16
- package/fesm5/taiga-ui-kit.js.map +0 -1
- package/interfaces/taiga-ui-kit-interfaces.metadata.json +0 -1
- package/interfaces/with-date-mask-pipe-config.d.ts +0 -9
- package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +0 -1
- package/internal/taiga-ui-kit-internal.metadata.json +0 -1
- package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +0 -1
- package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +0 -1
- package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +0 -1
- package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +0 -1
- package/pipes/taiga-ui-kit-pipes.metadata.json +0 -1
- package/providers/taiga-ui-kit-providers.metadata.json +0 -1
- package/taiga-ui-kit.metadata.json +0 -1
- package/tokens/mobile-aware.d.ts +0 -3
- package/tokens/taiga-ui-kit-tokens.metadata.json +0 -1
- package/types/taiga-ui-kit-types.metadata.json +0 -1
- package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +0 -1
- package/utils/files/taiga-ui-kit-utils-files.metadata.json +0 -1
- package/utils/format/taiga-ui-kit-utils-format.metadata.json +0 -1
- package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +0 -1
- package/utils/math/taiga-ui-kit-utils-math.metadata.json +0 -1
- package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +0 -1
- package/utils/taiga-ui-kit-utils.metadata.json +0 -1
- package/validators/taiga-ui-kit-validators.metadata.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-providers.js","sources":["
|
|
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: monthFormatterFactory,\n};\n\n/**\n * Range.setStart/set-end, except it uses offset in characters only\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function monthFormatterFactory(\n pipe: TuiMonthPipe,\n): TuiHandler<TuiMonth | null, Observable<string>> {\n return month =>\n month\n ? pipe\n .transform(month)\n .pipe(map(formatted => `${formatted} ${month.formattedYear}`))\n : of(``);\n}\n","import {Optional, Provider} from '@angular/core';\nimport {TUI_DROPDOWN_CONTROLLER, TuiDropdownControllerDirective} from '@taiga-ui/core';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function fixedDropdownControllerFactory(\n directive: TuiDropdownControllerDirective | null,\n): TuiDropdownControllerDirective {\n directive = directive || new TuiDropdownControllerDirective();\n directive.limitWidth = `fixed`;\n\n return directive;\n}\n\nexport const FIXED_DROPDOWN_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_DROPDOWN_CONTROLLER,\n deps: [[new Optional(), TuiDropdownControllerDirective]],\n useFactory: fixedDropdownControllerFactory,\n },\n];\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function leftAlignedDropdownControllerFactory(\n directive: TuiDropdownControllerDirective | null,\n): TuiDropdownControllerDirective {\n directive = directive || new TuiDropdownControllerDirective();\n directive.align = `left`;\n\n return directive;\n}\n\nexport const LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER: Provider = [\n {\n provide: TUI_DROPDOWN_CONTROLLER,\n deps: [[new Optional(), TuiDropdownControllerDirective]],\n useFactory: leftAlignedDropdownControllerFactory,\n },\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,OAA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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;;;;"}
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { tuiExtractI18n } from '@taiga-ui/i18n';
|
|
3
3
|
import { TUI_DEFAULT_STRINGIFY, TUI_DEFAULT_IDENTITY_MATCHER, ALWAYS_FALSE_HANDLER } from '@taiga-ui/cdk';
|
|
4
4
|
|
|
5
|
-
const TUI_CALENDAR_DATA_STREAM = new InjectionToken(
|
|
5
|
+
const TUI_CALENDAR_DATA_STREAM = new InjectionToken(`Stream that emits calendar data change`);
|
|
6
6
|
|
|
7
|
-
const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken(
|
|
8
|
-
const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken(
|
|
9
|
-
const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken(
|
|
7
|
+
const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken(`Control value transformer of TuiDay to custom value format for InputDate* components`);
|
|
8
|
+
const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken(`Control value transformer for InputDateRange component`);
|
|
9
|
+
const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken(`Control value transformer for InputDateTime component`);
|
|
10
10
|
|
|
11
11
|
const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {
|
|
12
|
-
factory:
|
|
12
|
+
factory: tuiExtractI18n(`cancel`),
|
|
13
13
|
});
|
|
14
14
|
const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {
|
|
15
|
-
factory:
|
|
15
|
+
factory: tuiExtractI18n(`done`),
|
|
16
16
|
});
|
|
17
17
|
const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {
|
|
18
|
-
factory:
|
|
18
|
+
factory: tuiExtractI18n(`more`),
|
|
19
19
|
});
|
|
20
20
|
const TUI_HIDE_TEXT = new InjectionToken(`i18n 'hide' word`, {
|
|
21
|
-
factory:
|
|
21
|
+
factory: tuiExtractI18n(`hide`),
|
|
22
22
|
});
|
|
23
23
|
const TUI_SHOW_ALL_TEXT = new InjectionToken(`i18n 'show all' word`, {
|
|
24
|
-
factory:
|
|
24
|
+
factory: tuiExtractI18n(`showAll`),
|
|
25
25
|
});
|
|
26
26
|
const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {
|
|
27
|
-
factory:
|
|
27
|
+
factory: tuiExtractI18n(`otherDate`),
|
|
28
28
|
});
|
|
29
29
|
const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(`choose day or range i18n texts`, {
|
|
30
|
-
factory:
|
|
30
|
+
factory: tuiExtractI18n(`mobileCalendarTexts`),
|
|
31
31
|
});
|
|
32
32
|
const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {
|
|
33
|
-
factory:
|
|
33
|
+
factory: tuiExtractI18n(`range`),
|
|
34
34
|
});
|
|
35
35
|
const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {
|
|
36
|
-
factory:
|
|
36
|
+
factory: tuiExtractI18n(`countTexts`),
|
|
37
37
|
});
|
|
38
38
|
const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {
|
|
39
|
-
factory:
|
|
39
|
+
factory: tuiExtractI18n(`time`),
|
|
40
40
|
});
|
|
41
|
-
const TUI_DATE_TEXTS = new InjectionToken(
|
|
42
|
-
factory:
|
|
41
|
+
const TUI_DATE_TEXTS = new InjectionToken(`date format i18n texts`, {
|
|
42
|
+
factory: tuiExtractI18n(`dateTexts`),
|
|
43
43
|
});
|
|
44
44
|
const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(`short bytes, kilobytes and megabytes i18n texts`, {
|
|
45
|
-
factory:
|
|
45
|
+
factory: tuiExtractI18n(`digitalInformationUnits`),
|
|
46
46
|
});
|
|
47
|
-
const TUI_COPY_TEXTS = new InjectionToken(
|
|
48
|
-
factory:
|
|
47
|
+
const TUI_COPY_TEXTS = new InjectionToken(`copy i18n texts`, {
|
|
48
|
+
factory: tuiExtractI18n(`copyTexts`),
|
|
49
49
|
});
|
|
50
|
-
const TUI_PASSWORD_TEXTS = new InjectionToken(
|
|
51
|
-
factory:
|
|
50
|
+
const TUI_PASSWORD_TEXTS = new InjectionToken(`password i18n texts`, {
|
|
51
|
+
factory: tuiExtractI18n(`passwordTexts`),
|
|
52
52
|
});
|
|
53
|
-
const TUI_CALENDAR_MONTHS = new InjectionToken(
|
|
54
|
-
factory:
|
|
53
|
+
const TUI_CALENDAR_MONTHS = new InjectionToken(`short calendar months i18n`, {
|
|
54
|
+
factory: tuiExtractI18n(`shortCalendarMonths`),
|
|
55
55
|
});
|
|
56
|
-
const TUI_FILE_TEXTS = new InjectionToken(
|
|
57
|
-
factory:
|
|
56
|
+
const TUI_FILE_TEXTS = new InjectionToken(`file i18n texts`, {
|
|
57
|
+
factory: tuiExtractI18n(`fileTexts`),
|
|
58
58
|
});
|
|
59
|
-
const TUI_PAGINATION_TEXTS = new InjectionToken(
|
|
60
|
-
factory:
|
|
59
|
+
const TUI_PAGINATION_TEXTS = new InjectionToken(`pagination i18n texts`, {
|
|
60
|
+
factory: tuiExtractI18n(`pagination`),
|
|
61
61
|
});
|
|
62
|
-
const TUI_INPUT_FILE_TEXTS = new InjectionToken(
|
|
63
|
-
factory:
|
|
62
|
+
const TUI_INPUT_FILE_TEXTS = new InjectionToken(`tui-input-file i18n texts`, {
|
|
63
|
+
factory: tuiExtractI18n(`inputFileTexts`),
|
|
64
64
|
});
|
|
65
|
-
const TUI_COUNTRIES = new InjectionToken(
|
|
66
|
-
factory:
|
|
65
|
+
const TUI_COUNTRIES = new InjectionToken(`Localized countries names`, {
|
|
66
|
+
factory: tuiExtractI18n(`countries`),
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
const TUI_DEFAULT_ITEMS_HANDLERS = {
|
|
@@ -71,7 +71,7 @@ const TUI_DEFAULT_ITEMS_HANDLERS = {
|
|
|
71
71
|
identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,
|
|
72
72
|
disabledItemHandler: ALWAYS_FALSE_HANDLER,
|
|
73
73
|
};
|
|
74
|
-
const TUI_ITEMS_HANDLERS = new InjectionToken(
|
|
74
|
+
const TUI_ITEMS_HANDLERS = new InjectionToken(`Default items handlers for components`, {
|
|
75
75
|
factory: () => TUI_DEFAULT_ITEMS_HANDLERS,
|
|
76
76
|
});
|
|
77
77
|
const tuiItemsHandlersProvider = (options) => ({
|
|
@@ -79,25 +79,20 @@ const tuiItemsHandlersProvider = (options) => ({
|
|
|
79
79
|
useValue: Object.assign(Object.assign({}, TUI_DEFAULT_ITEMS_HANDLERS), options),
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
const TUI_MOBILE_AWARE = new InjectionToken('A flag enabling mobile-specific behavior for supporting components', {
|
|
84
|
-
factory: () => false,
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
const TUI_MOBILE_CALENDAR = new InjectionToken('A component for mobile data picker');
|
|
82
|
+
const TUI_MOBILE_CALENDAR = new InjectionToken(`A component for mobile data picker`);
|
|
88
83
|
|
|
89
|
-
const TUI_MONTH_FORMATTER = new InjectionToken(
|
|
84
|
+
const TUI_MONTH_FORMATTER = new InjectionToken(`A function to get localized formatted month`);
|
|
90
85
|
|
|
91
|
-
const TUI_TAB_MARGIN = new InjectionToken(
|
|
86
|
+
const TUI_TAB_MARGIN = new InjectionToken(`Margin between tabs`, {
|
|
92
87
|
factory: () => 24,
|
|
93
88
|
});
|
|
94
89
|
|
|
95
90
|
// TODO: 3.0 use TUI_TAG_OPTIONS instead of it
|
|
96
|
-
const TUI_TAG_STATUS = new InjectionToken(
|
|
97
|
-
factory: () =>
|
|
91
|
+
const TUI_TAG_STATUS = new InjectionToken(`Status for tags inside InputTag component`, {
|
|
92
|
+
factory: () => `primary`,
|
|
98
93
|
});
|
|
99
94
|
|
|
100
|
-
const TUI_VALIDATION_ERRORS = new InjectionToken(
|
|
95
|
+
const TUI_VALIDATION_ERRORS = new InjectionToken(`Validation errors`, {
|
|
101
96
|
factory: () => ({}),
|
|
102
97
|
});
|
|
103
98
|
|
|
@@ -105,5 +100,5 @@ const TUI_VALIDATION_ERRORS = new InjectionToken('Validation errors', {
|
|
|
105
100
|
* Generated bundle index. Do not edit.
|
|
106
101
|
*/
|
|
107
102
|
|
|
108
|
-
export { TUI_CALENDAR_DATA_STREAM, TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_COPY_TEXTS, TUI_COUNTRIES, 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_FILE_TEXTS, TUI_ITEMS_HANDLERS,
|
|
103
|
+
export { TUI_CALENDAR_DATA_STREAM, TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_COPY_TEXTS, TUI_COUNTRIES, 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_FILE_TEXTS, TUI_ITEMS_HANDLERS, TUI_MOBILE_CALENDAR, TUI_MONTH_FORMATTER, TUI_MORE_WORD, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_SHOW_ALL_TEXT, TUI_TAB_MARGIN, TUI_TAG_STATUS, TUI_TIME_TEXTS, TUI_VALIDATION_ERRORS, tuiItemsHandlersProvider };
|
|
109
104
|
//# sourceMappingURL=taiga-ui-kit-tokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-tokens.js","sources":["ng://@taiga-ui/kit/tokens/calendar-data-stream.ts","ng://@taiga-ui/kit/tokens/date-inputs-value-transformers.ts","ng://@taiga-ui/kit/tokens/i18n.ts","ng://@taiga-ui/kit/tokens/items-handlers.ts","ng://@taiga-ui/kit/tokens/mobile-aware.ts","ng://@taiga-ui/kit/tokens/mobile-calendar.ts","ng://@taiga-ui/kit/tokens/month-formatter.ts","ng://@taiga-ui/kit/tokens/tab-margin.ts","ng://@taiga-ui/kit/tokens/tag-status.ts","ng://@taiga-ui/kit/tokens/validation-errors.ts","ng://@taiga-ui/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CALENDAR_DATA_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>('Stream that emits calendar data change');\n","import {InjectionToken} from '@angular/core';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk';\n\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDay | null>\n>('Control value transformer of TuiDay to custom value format for InputDate* components');\n\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDayRange | null>\n>('Control value transformer for InputDateRange component');\n\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<[TuiDay | null, TuiTime | null]>\n>('Control value transformer for InputDateTime component');\n","import {InjectionToken} from '@angular/core';\nimport {TuiDateMode} from '@taiga-ui/cdk';\nimport {extractI18n, TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {\n factory: extractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {\n factory: extractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {\n factory: extractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(`i18n 'hide' word`, {\n factory: extractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(`i18n 'show all' word`, {\n factory: extractI18n('showAll'),\n});\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {\n factory: extractI18n('otherDate'),\n});\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n `choose day or range i18n texts`,\n {\n factory: extractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {\n factory: extractI18n('range'),\n});\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {\n factory: extractI18n('countTexts'),\n});\n\nexport const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {\n factory: extractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n 'date format i18n texts',\n {\n factory: extractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n `short bytes, kilobytes and megabytes i18n texts`,\n {\n factory: extractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {\n factory: extractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {\n factory: extractI18n('passwordTexts'),\n});\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {\n factory: extractI18n('shortCalendarMonths'),\n});\n\nexport const TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {\n factory: extractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {\n factory: extractI18n('pagination'),\n});\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken('tui-input-file i18n texts', {\n factory: extractI18n('inputFileTexts'),\n});\n\nexport const TUI_COUNTRIES: InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n> = new InjectionToken('Localized countries names', {\n factory: extractI18n('countries'),\n});\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n TuiIdentityMatcher,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nexport interface TuiItemsHandlers<T> {\n readonly stringify: TuiStringHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly disabledItemHandler: TuiBooleanHandler<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\nexport const TUI_ITEMS_HANDLERS = new InjectionToken<TuiItemsHandlers<unknown>>(\n 'Default items handlers for components',\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\nexport const tuiItemsHandlersProvider: <T>(\n options: Partial<TuiItemsHandlers<T>>,\n) => ValueProvider = <T>(options: Partial<TuiItemsHandlers<T>>) => ({\n provide: TUI_ITEMS_HANDLERS,\n useValue: {...TUI_DEFAULT_ITEMS_HANDLERS, ...options},\n});\n","import {InjectionToken} from '@angular/core';\n\n/** @deprecated use {@link TuiMobileTabsDirective} from @taiga-ui/addon-mobile */\nexport const TUI_MOBILE_AWARE = new InjectionToken<boolean>(\n 'A flag enabling mobile-specific behavior for supporting components',\n {\n factory: () => false,\n },\n);\n","import {InjectionToken, Type} from '@angular/core';\n\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n 'A component for mobile data picker',\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n TuiHandler<TuiMonth | null, Observable<string>>\n>('A function to get localized formatted month');\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_TAB_MARGIN = new InjectionToken<number>('Margin between tabs', {\n factory: () => 24,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiStatus} from '@taiga-ui/kit/enums';\n\n// TODO: 3.0 use TUI_TAG_OPTIONS instead of it\nexport const TUI_TAG_STATUS = new InjectionToken<TuiStatus>(\n 'Status for tags inside InputTag component',\n {\n factory: () => TuiStatus.Primary,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, PolymorpheusContent | Observable<PolymorpheusContent>>\n>('Validation errors', {\n factory: () => ({}),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAIa,wBAAwB,GAAG,IAAI,cAAc,CAExD,wCAAwC;;MCH7B,0BAA0B,GAAG,IAAI,cAAc,CAE1D,sFAAsF,EAAE;MAE7E,gCAAgC,GAAG,IAAI,cAAc,CAEhE,wDAAwD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EAAoE,EACpE;IACI,OAAO,EAAE,MAAM,KAAK;CACvB;;MCLQ,mBAAmB,GAAG,IAAI,cAAc,CACjD,oCAAoC;;MCC3B,mBAAmB,GAAG,IAAI,cAAc,CAEnD,6CAA6C;;MCJlC,cAAc,GAAG,IAAI,cAAc,CAAS,qBAAqB,EAAE;IAC5E,OAAO,EAAE,MAAM,EAAE;CACpB;;ACDD;MACa,cAAc,GAAG,IAAI,cAAc,CAC5C,2CAA2C,EAC3C;IACI,OAAO,EAAE;CACZ;;MCJQ,qBAAqB,GAAG,IAAI,cAAc,CAErD,mBAAmB,EAAE;IACnB,OAAO,EAAE,OAAO,EAAE,CAAC;CACtB;;ACRD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-tokens.js","sources":["../../../projects/kit/tokens/calendar-data-stream.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.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/tag-status.ts","../../../projects/kit/tokens/validation-errors.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CALENDAR_DATA_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(`Stream that emits calendar data change`);\n","import {InjectionToken} from '@angular/core';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk';\n\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDay | null>\n>(`Control value transformer of TuiDay to custom value format for InputDate* components`);\n\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDayRange | null>\n>(`Control value transformer for InputDateRange component`);\n\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<[TuiDay | null, TuiTime | null]>\n>(`Control value transformer for InputDateTime component`);\n","import {InjectionToken} from '@angular/core';\nimport {TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode, tuiExtractI18n} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {\n factory: tuiExtractI18n(`cancel`),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {\n factory: tuiExtractI18n(`done`),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {\n factory: tuiExtractI18n(`more`),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(`i18n 'hide' word`, {\n factory: tuiExtractI18n(`hide`),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(`i18n 'show all' word`, {\n factory: tuiExtractI18n(`showAll`),\n});\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {\n factory: tuiExtractI18n(`otherDate`),\n});\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n `choose day or range i18n texts`,\n {\n factory: tuiExtractI18n(`mobileCalendarTexts`),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {\n factory: tuiExtractI18n(`range`),\n});\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {\n factory: tuiExtractI18n(`countTexts`),\n});\n\nexport const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {\n factory: tuiExtractI18n(`time`),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n `date format i18n texts`,\n {\n factory: tuiExtractI18n(`dateTexts`),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n `short bytes, kilobytes and megabytes i18n texts`,\n {\n factory: tuiExtractI18n(`digitalInformationUnits`),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(`copy i18n texts`, {\n factory: tuiExtractI18n(`copyTexts`),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(`password i18n texts`, {\n factory: tuiExtractI18n(`passwordTexts`),\n});\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(`short calendar months i18n`, {\n factory: tuiExtractI18n(`shortCalendarMonths`),\n});\n\nexport const TUI_FILE_TEXTS = new InjectionToken(`file i18n texts`, {\n factory: tuiExtractI18n(`fileTexts`),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(`pagination i18n texts`, {\n factory: tuiExtractI18n(`pagination`),\n});\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(`tui-input-file i18n texts`, {\n factory: tuiExtractI18n(`inputFileTexts`),\n});\n\nexport const TUI_COUNTRIES: InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n> = new InjectionToken(`Localized countries names`, {\n factory: tuiExtractI18n(`countries`),\n});\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n TuiIdentityMatcher,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nexport interface TuiItemsHandlers<T> {\n readonly stringify: TuiStringHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly disabledItemHandler: TuiBooleanHandler<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\nexport const TUI_ITEMS_HANDLERS = new InjectionToken<TuiItemsHandlers<unknown>>(\n `Default items handlers for components`,\n {\n factory: () => TUI_DEFAULT_ITEMS_HANDLERS,\n },\n);\n\nexport const tuiItemsHandlersProvider: <T>(\n options: Partial<TuiItemsHandlers<T>>,\n) => ValueProvider = <T>(options: Partial<TuiItemsHandlers<T>>) => ({\n provide: TUI_ITEMS_HANDLERS,\n useValue: {...TUI_DEFAULT_ITEMS_HANDLERS, ...options},\n});\n","import {InjectionToken, Type} from '@angular/core';\n\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n `A component for mobile data picker`,\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n TuiHandler<TuiMonth | null, Observable<string>>\n>(`A function to get localized formatted month`);\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_TAB_MARGIN = new InjectionToken<number>(`Margin between tabs`, {\n factory: () => 24,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiStatus} from '@taiga-ui/kit/types';\n\n// TODO: 3.0 use TUI_TAG_OPTIONS instead of it\nexport const TUI_TAG_STATUS = new InjectionToken<TuiStatus>(\n `Status for tags inside InputTag component`,\n {\n factory: () => `primary`,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, PolymorpheusContent | Observable<PolymorpheusContent>>\n>(`Validation errors`, {\n factory: () => ({}),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAIa,wBAAwB,GAAG,IAAI,cAAc,CAExD,CAAwC,sCAAA,CAAA;;MCH7B,0BAA0B,GAAG,IAAI,cAAc,CAE1D,CAAsF,oFAAA,CAAA,EAAE;MAE7E,gCAAgC,GAAG,IAAI,cAAc,CAEhE,CAAwD,sDAA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AAC,2BAA2B,EAAE;AAChD,IAAA,OAAO,EAAE,cAAc,CAAC,CAAA,SAAA,CAAW,CAAC;AACvC,CAAA;;AC1EY,MAAA,0BAA0B,GAA8B;AACjE,IAAA,SAAS,EAAE,qBAAqB;AAChC,IAAA,eAAe,EAAE,4BAA4B;AAC7C,IAAA,mBAAmB,EAAE,oBAAoB;EAC3C;MAEW,kBAAkB,GAAG,IAAI,cAAc,CAChD,uCAAuC,EACvC;AACI,IAAA,OAAO,EAAE,MAAM,0BAA0B;AAC5C,CAAA,EACH;MAEW,wBAAwB,GAEhB,CAAI,OAAqC,MAAM;AAChE,IAAA,OAAO,EAAE,kBAAkB;AAC3B,IAAA,QAAQ,EAAM,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,0BAA0B,CAAK,EAAA,OAAO,CAAC;AACxD,CAAA;;MChCY,mBAAmB,GAAG,IAAI,cAAc,CACjD,CAAoC,kCAAA,CAAA;;MCC3B,mBAAmB,GAAG,IAAI,cAAc,CAEnD,CAA6C,2CAAA,CAAA;;MCJlC,cAAc,GAAG,IAAI,cAAc,CAAS,qBAAqB,EAAE;AAC5E,IAAA,OAAO,EAAE,MAAM,EAAE;AACpB,CAAA;;ACDD;MACa,cAAc,GAAG,IAAI,cAAc,CAC5C,2CAA2C,EAC3C;AACI,IAAA,OAAO,EAAE,MAAM,CAAS,OAAA,CAAA;AAC3B,CAAA;;MCJQ,qBAAqB,GAAG,IAAI,cAAc,CAErD,mBAAmB,EAAE;AACnB,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACtB,CAAA;;ACRD;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-types.js","sources":["
|
|
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"}
|
|
@@ -19,11 +19,11 @@ function getWordRange(currentRange) {
|
|
|
19
19
|
treeWalker.currentNode = startContainer;
|
|
20
20
|
do {
|
|
21
21
|
const container = treeWalker.currentNode;
|
|
22
|
-
const textContent = container.textContent ||
|
|
22
|
+
const textContent = container.textContent || ``;
|
|
23
23
|
const content = container === startContainer
|
|
24
24
|
? textContent.slice(0, Math.max(0, startOffset + 1))
|
|
25
25
|
: textContent;
|
|
26
|
-
const offset = Math.max(content.lastIndexOf(
|
|
26
|
+
const offset = Math.max(content.lastIndexOf(` `), content.lastIndexOf(CHAR_NO_BREAK_SPACE), content.lastIndexOf(CHAR_ZERO_WIDTH_SPACE)) + 1;
|
|
27
27
|
range.setStart(container, 0);
|
|
28
28
|
if (offset) {
|
|
29
29
|
range.setStart(container, offset);
|
|
@@ -33,10 +33,10 @@ function getWordRange(currentRange) {
|
|
|
33
33
|
treeWalker.currentNode = endContainer;
|
|
34
34
|
do {
|
|
35
35
|
const container = treeWalker.currentNode;
|
|
36
|
-
const textContent = container.textContent ||
|
|
36
|
+
const textContent = container.textContent || ``;
|
|
37
37
|
const content = container === endContainer ? textContent.slice(endOffset + 1) : textContent;
|
|
38
38
|
const offset = [
|
|
39
|
-
content.indexOf(
|
|
39
|
+
content.indexOf(` `),
|
|
40
40
|
content.indexOf(CHAR_NO_BREAK_SPACE),
|
|
41
41
|
content.indexOf(CHAR_ZERO_WIDTH_SPACE),
|
|
42
42
|
].reduce((result, item) => result === -1 || item === -1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-utils-dom.js","sources":["
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-utils-dom.js","sources":["../../../projects/kit/utils/dom/get-word-range.ts","../../../projects/kit/utils/dom/scroll-to-element.ts","../../../projects/kit/utils/dom/set-range-offset.ts","../../../projects/kit/utils/dom/taiga-ui-kit-utils-dom.ts"],"sourcesContent":["import {CHAR_NO_BREAK_SPACE, CHAR_ZERO_WIDTH_SPACE, svgNodeFilter} from '@taiga-ui/cdk';\n\n/**\n * @deprecated: use {@link tuiGetWordRange} instead\n * Creates a cloned range with its boundaries set at word boundaries\n *\n * @param currentRange a range to clone\n * @return modified range\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function getWordRange(currentRange: Range): Range {\n const range = currentRange.cloneRange();\n const {startContainer, startOffset, endContainer, endOffset} = range;\n const {ownerDocument} = startContainer;\n\n if (!ownerDocument) {\n return range;\n }\n\n const treeWalker = ownerDocument.createTreeWalker(\n ownerDocument.body,\n NodeFilter.SHOW_TEXT,\n svgNodeFilter,\n false,\n );\n\n treeWalker.currentNode = startContainer;\n\n do {\n const container = treeWalker.currentNode;\n const textContent = container.textContent || ``;\n const content =\n container === startContainer\n ? textContent.slice(0, Math.max(0, startOffset + 1))\n : textContent;\n const offset =\n Math.max(\n content.lastIndexOf(` `),\n content.lastIndexOf(CHAR_NO_BREAK_SPACE),\n content.lastIndexOf(CHAR_ZERO_WIDTH_SPACE),\n ) + 1;\n\n range.setStart(container, 0);\n\n if (offset) {\n range.setStart(container, offset);\n break;\n }\n } while (treeWalker.previousNode());\n\n treeWalker.currentNode = endContainer;\n\n do {\n const container = treeWalker.currentNode;\n const textContent = container.textContent || ``;\n const content =\n container === endContainer ? textContent.slice(endOffset + 1) : textContent;\n const offset = [\n content.indexOf(` `),\n content.indexOf(CHAR_NO_BREAK_SPACE),\n content.indexOf(CHAR_ZERO_WIDTH_SPACE),\n ].reduce(\n (result, item) =>\n result === -1 || item === -1\n ? Math.max(result, item)\n : Math.min(result, item),\n -1,\n );\n\n range.setEnd(container, textContent.length);\n\n if (offset !== -1) {\n range.setEnd(container, offset + textContent.length - content.length);\n break;\n }\n } while (treeWalker.nextNode());\n\n return range;\n}\n\nexport const tuiGetWordRange = getWordRange;\n","/**\n * @deprecated: use {@link tuiScrollToElement} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function scrollToElement(element: HTMLElement, container: HTMLElement): void {\n const scrolledWidth = container.offsetWidth + container.scrollLeft;\n const elementWidth = element.offsetWidth;\n const elementX =\n container.scrollLeft +\n element.getBoundingClientRect().left -\n container.getBoundingClientRect().left;\n const elementDidNotFitRight = elementX + elementWidth > scrolledWidth;\n const elementDidNotFitLeft = container.scrollLeft > elementX;\n const deltaXRight = elementX + elementWidth - scrolledWidth;\n const deltaXLeft = elementX - container.scrollLeft;\n\n if (elementDidNotFitRight) {\n container.scrollLeft += deltaXRight;\n }\n\n if (elementDidNotFitLeft) {\n container.scrollLeft += deltaXLeft;\n }\n}\n\nexport const tuiScrollToElement = scrollToElement;\n","import {svgNodeFilter} from '@taiga-ui/cdk';\n\n/**\n * @deprecated: use {@link tuiSetRangeOffset} instead\n * Range.setStart/set-end, except it uses offset in characters only\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function setRangeOffset(\n range: Range,\n node: HTMLElement,\n offset: number,\n method: 'setStart' | 'setEnd',\n): void {\n const {ownerDocument} = node;\n\n if (!ownerDocument) {\n return;\n }\n\n const treeWalker = ownerDocument.createTreeWalker(\n node,\n NodeFilter.SHOW_TEXT,\n svgNodeFilter,\n false,\n );\n\n treeWalker.currentNode = node;\n\n while (treeWalker.nextNode()) {\n if (treeWalker.currentNode.nodeType === Node.TEXT_NODE) {\n const length = treeWalker.currentNode.nodeValue\n ? treeWalker.currentNode.nodeValue.length\n : 0;\n\n if (offset > length) {\n offset -= length;\n } else {\n range[method](treeWalker.currentNode, offset);\n }\n }\n }\n}\n\nexport const tuiSetRangeOffset = setRangeOffset;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEA;;;;;;AAMG;AACH;AACM,SAAU,YAAY,CAAC,YAAmB,EAAA;AAC5C,IAAA,MAAM,KAAK,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;IACxC,MAAM,EAAC,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAC,GAAG,KAAK,CAAC;A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,MAAM,EAAE;gBACjB,MAAM,IAAI,MAAM,CAAC;AACpB,aAAA;AAAM,iBAAA;gBACH,KAAK,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AACjD,aAAA;AACJ,SAAA;AACJ,KAAA;AACL,CAAC;AAEM,MAAM,iBAAiB,GAAG;;AC3CjC;;AAEG;;;;"}
|
|
@@ -16,7 +16,7 @@ function formatSize(units, size) {
|
|
|
16
16
|
if (size < BYTES_PER_MB) {
|
|
17
17
|
return `${(size / BYTES_PER_KB).toFixed(0)} ${units[1]}`;
|
|
18
18
|
}
|
|
19
|
-
return `${round(size / BYTES_PER_MB, 2).toLocaleString(
|
|
19
|
+
return `${round(size / BYTES_PER_MB, 2).toLocaleString(`ru-RU`)} ${units[2]}`;
|
|
20
20
|
}
|
|
21
21
|
const tuiFormatSize = formatSize;
|
|
22
22
|
|
|
@@ -27,7 +27,7 @@ const tuiFormatSize = formatSize;
|
|
|
27
27
|
function getAcceptArray(accept) {
|
|
28
28
|
return accept
|
|
29
29
|
.toLowerCase()
|
|
30
|
-
.split(
|
|
30
|
+
.split(`,`)
|
|
31
31
|
.map(format => format.trim());
|
|
32
32
|
}
|
|
33
33
|
const tuiGetAcceptArray = getAcceptArray;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-utils-files.js","sources":["
|
|
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 {round} from '@taiga-ui/cdk';\n\nconst BYTES_PER_KB = 1000;\nconst BYTES_PER_MB = 1000 * BYTES_PER_KB;\n\n/**\n * @deprecated: use {@link tuiFormatSize} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function formatSize(\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_KB) {\n return `${size} ${units[0]}`;\n }\n\n if (size < BYTES_PER_MB) {\n return `${(size / BYTES_PER_KB).toFixed(0)} ${units[1]}`;\n }\n\n return `${round(size / BYTES_PER_MB, 2).toLocaleString(`ru-RU`)} ${units[2]}`;\n}\n\nexport const tuiFormatSize = formatSize;\n","/**\n * @deprecated: use {@link tuiGetAcceptArray} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function getAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(`,`)\n .map(format => format.trim());\n}\n\nexport const tuiGetAcceptArray = getAcceptArray;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEA,MAAM,YAAY,GAAG,IAAI,CAAC;AAC1B,MAAM,YAAY,GAAG,IAAI,GAAG,YAAY,CAAC;AAEzC;;AAEG;AACH;AACgB,SAAA,UAAU,CACtB,KAA+B,EAC/B,IAAa,EAAA;IAEb,IAAI,IAAI,KAAK,SAAS,EAAE;AACpB,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,IAAI,IAAI,GAAG,YAAY,EAAE;QACrB,OAAO,CAAA,EAAG,IAAI,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAChC,KAAA;IAED,IAAI,IAAI,GAAG,YAAY,EAAE;AACrB,QAAA,OAAO,GAAG,CAAC,IAAI,GAAG,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAC5D,KAAA;IAED,OAAO,CAAA,EAAG,KAAK,CAAC,IAAI,GAAG,YAAY,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,CAAA,KAAA,CAAO,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAClF,CAAC;AAEM,MAAM,aAAa,GAAG;;AC5B7B;;AAEG;AACH;AACM,SAAU,cAAc,CAAC,MAAc,EAAA;AACzC,IAAA,OAAO,MAAM;AACR,SAAA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;AACtC,CAAC;AAEM,MAAM,iBAAiB,GAAG;;ACXjC;;AAEG;;;;"}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
// @bad TODO: convert stringHashToHsl to stringHashToRgb
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
9
|
function stringHashToHsl(value) {
|
|
10
|
-
if (value ===
|
|
11
|
-
return
|
|
10
|
+
if (value === ``) {
|
|
11
|
+
return ``;
|
|
12
12
|
}
|
|
13
13
|
let hash = 0;
|
|
14
14
|
for (let i = 0; i < value.length; i++) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-utils-format.js","sources":["
|
|
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 * @deprecated: use {@link tuiStringHashToHsl} instead\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\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function stringHashToHsl(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 & 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\nexport const tuiStringHashToHsl = stringHashToHsl;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;;AAKG;AACH;AACA;AACM,SAAU,eAAe,CAAC,KAAa,EAAA;IACzC,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;AAClD,QAAA,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACtB,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,CAAC;AAEM,MAAM,kBAAkB,GAAG;;AC3BlC;;AAEG;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TuiDay, DATE_FILLER_LENGTH, DATE_RANGE_FILLER_LENGTH, TuiDayRange, RANGE_SEPARATOR_CHAR, tuiAssert, CHAR_NO_BREAK_SPACE, CHAR_EN_DASH } from '@taiga-ui/cdk';
|
|
1
|
+
import { TuiDay, DATE_FILLER_LENGTH, DATE_RANGE_FILLER_LENGTH, TuiDayRange, RANGE_SEPARATOR_CHAR, tuiIsString, tuiAssert, CHAR_NO_BREAK_SPACE, CHAR_EN_DASH } from '@taiga-ui/cdk';
|
|
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
|
|
|
@@ -67,18 +67,18 @@ function tuiCreateAutoCorrectedDateRangePipe(config) {
|
|
|
67
67
|
* Adjusts the entered time by omitting only suitable values for hours and minutes
|
|
68
68
|
* @returns time as a string
|
|
69
69
|
*/
|
|
70
|
-
function tuiCreateAutoCorrectedTimePipe(timeMode =
|
|
71
|
-
const timeFormatArray = [
|
|
70
|
+
function tuiCreateAutoCorrectedTimePipe(timeMode = `HH:MM`, maxValues = {}) {
|
|
71
|
+
const timeFormatArray = [`HH`, `MM`, `SS`, `MS`];
|
|
72
72
|
const safeValues = Object.assign(Object.assign({}, MAX_TIME_VALUES), maxValues);
|
|
73
73
|
return conformedValue => {
|
|
74
74
|
const indexesOfPipedChars = [];
|
|
75
|
-
const conformedValueArr = conformedValue.split(
|
|
75
|
+
const conformedValueArr = conformedValue.split(``);
|
|
76
76
|
timeFormatArray.forEach(format => {
|
|
77
77
|
const position = timeMode.indexOf(format);
|
|
78
78
|
const maxFirstDigit = parseInt(String(safeValues[format]).slice(0, 1), 10);
|
|
79
79
|
if (parseInt(conformedValueArr[position], 10) > maxFirstDigit) {
|
|
80
80
|
conformedValueArr[position + 1] = conformedValueArr[position];
|
|
81
|
-
conformedValueArr[position] =
|
|
81
|
+
conformedValueArr[position] = `0`;
|
|
82
82
|
indexesOfPipedChars.push(position);
|
|
83
83
|
}
|
|
84
84
|
});
|
|
@@ -87,7 +87,7 @@ function tuiCreateAutoCorrectedTimePipe(timeMode = 'HH:MM', maxValues = {}) {
|
|
|
87
87
|
return isInvalid
|
|
88
88
|
? false
|
|
89
89
|
: {
|
|
90
|
-
value: conformedValueArr.join(
|
|
90
|
+
value: conformedValueArr.join(``),
|
|
91
91
|
indexesOfPipedChars,
|
|
92
92
|
};
|
|
93
93
|
};
|
|
@@ -105,7 +105,7 @@ function tuiCreateAutoCorrectedDateTimePipe(configs) {
|
|
|
105
105
|
return { value: formattedDate };
|
|
106
106
|
}
|
|
107
107
|
const pipedTime = timePipe(time, {});
|
|
108
|
-
if (!pipedTime ||
|
|
108
|
+
if (!pipedTime || tuiIsString(pipedTime)) {
|
|
109
109
|
return false;
|
|
110
110
|
}
|
|
111
111
|
return {
|
|
@@ -120,19 +120,19 @@ function tuiCreateAutoCorrectedDateTimePipe(configs) {
|
|
|
120
120
|
const TWO_DIGITS = new Array(2).fill(TUI_DIGIT_REGEXP);
|
|
121
121
|
const FOUR_DIGITS = new Array(4).fill(TUI_DIGIT_REGEXP);
|
|
122
122
|
function tuiCreateDateMask(mode, separator) {
|
|
123
|
-
tuiAssert.assert(separator.length === 1,
|
|
123
|
+
tuiAssert.assert(separator.length === 1, `Separator should consist of only 1 symbol`);
|
|
124
124
|
switch (mode) {
|
|
125
|
-
case
|
|
125
|
+
case `YMD`:
|
|
126
126
|
return [...FOUR_DIGITS, separator, ...TWO_DIGITS, separator, ...TWO_DIGITS];
|
|
127
|
-
case
|
|
128
|
-
case
|
|
127
|
+
case `MDY`:
|
|
128
|
+
case `DMY`:
|
|
129
129
|
default:
|
|
130
130
|
return [...TWO_DIGITS, separator, ...TWO_DIGITS, separator, ...FOUR_DIGITS];
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
function tuiCreateDateRangeMask(dateMode, dateSeparator) {
|
|
135
|
-
tuiAssert.assert(dateSeparator.length === 1,
|
|
135
|
+
tuiAssert.assert(dateSeparator.length === 1, `Separator should consist of only 1 symbol`);
|
|
136
136
|
const dateMask = tuiCreateDateMask(dateMode, dateSeparator);
|
|
137
137
|
return [
|
|
138
138
|
...dateMask,
|
|
@@ -155,9 +155,9 @@ function tuiCreateTimeMask(mode, maxValues = {}) {
|
|
|
155
155
|
const { HH, MM, SS, MS } = Object.assign(Object.assign({}, MAX_TIME_VALUES), maxValues);
|
|
156
156
|
return [
|
|
157
157
|
...tuiCreateTimePartMask(HH),
|
|
158
|
-
...tuiCreateTimePartMask(MM,
|
|
159
|
-
...(mode.includes(
|
|
160
|
-
...(mode ===
|
|
158
|
+
...tuiCreateTimePartMask(MM, `:`),
|
|
159
|
+
...(mode.includes(`HH:MM:SS`) ? tuiCreateTimePartMask(SS, `:`) : []),
|
|
160
|
+
...(mode === `HH:MM:SS.MSS` ? tuiCreateTimePartMask(MS, `.`) : []),
|
|
161
161
|
];
|
|
162
162
|
}
|
|
163
163
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-utils-mask.js","sources":["ng://@taiga-ui/kit/utils/mask/create-auto-corrected-date-pipe.ts","ng://@taiga-ui/kit/utils/mask/create-auto-corrected-date-range-pipe.ts","ng://@taiga-ui/kit/utils/mask/create-auto-corrected-time-pipe.ts","ng://@taiga-ui/kit/utils/mask/create-auto-corrected-date-time-pipe.ts","ng://@taiga-ui/kit/utils/mask/create-date-mask.ts","ng://@taiga-ui/kit/utils/mask/create-date-range-mask.ts","ng://@taiga-ui/kit/utils/mask/create-time-mask.ts","ng://@taiga-ui/kit/utils/mask/taiga-ui-kit-utils-mask.ts"],"sourcesContent":["import {DATE_FILLER_LENGTH, TuiDateMode, TuiDay} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler, TuiWithOptionalMinMaxWithValue} from '@taiga-ui/core';\n\nexport interface TuiAutoCorrectedDatePipeConfigs\n extends TuiWithOptionalMinMaxWithValue<TuiDay | null, TuiDay> {\n dateFormat: TuiDateMode;\n dateSeparator: string;\n}\n\n/**\n * @deprecated: use {@link tuiNormalizeDateValue} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function normalizeDateValue(\n dateValue: string,\n {value, min, max, dateFormat, dateSeparator}: TuiAutoCorrectedDatePipeConfigs,\n): string {\n return value && value.toString(dateFormat, dateSeparator) === dateValue\n ? dateValue\n : TuiDay.normalizeParse(dateValue, dateFormat)\n .dayLimit(min, max)\n .toString(dateFormat, dateSeparator);\n}\n\nexport function tuiCreateAutoCorrectedDatePipe(\n config: TuiAutoCorrectedDatePipeConfigs,\n): TuiTextMaskPipeHandler {\n return value => {\n if (value.length !== DATE_FILLER_LENGTH) {\n return {value};\n }\n\n return {\n value: normalizeDateValue(value, config),\n };\n };\n}\n\nexport const tuiNormalizeDateValue = normalizeDateValue;\n","import {\n DATE_FILLER_LENGTH,\n DATE_RANGE_FILLER_LENGTH,\n RANGE_SEPARATOR_CHAR,\n TuiDateMode,\n TuiDay,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler, TuiWithOptionalMinMaxWithValue} from '@taiga-ui/core';\n\ninterface TuiAutoCorrectedDatePipeConfigs\n extends TuiWithOptionalMinMaxWithValue<TuiDayRange | null, TuiDay> {\n dateFormat: TuiDateMode;\n dateSeparator: string;\n}\n\nfunction parseWithLimit(value: string, config: TuiAutoCorrectedDatePipeConfigs): TuiDay {\n return TuiDay.normalizeParse(\n value.slice(0, DATE_FILLER_LENGTH),\n config.dateFormat,\n ).dayLimit(config.min, config.max);\n}\n\nfunction processRawValue(value: string, config: TuiAutoCorrectedDatePipeConfigs): string {\n const {dateFormat, dateSeparator} = config;\n\n switch (value.length) {\n case DATE_FILLER_LENGTH:\n return parseWithLimit(value, config).toString(dateFormat, dateSeparator);\n case DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length:\n return (\n parseWithLimit(value, config).toString(dateFormat, dateSeparator) +\n RANGE_SEPARATOR_CHAR\n );\n case DATE_RANGE_FILLER_LENGTH:\n return config.value &&\n config.value.toString(dateFormat, dateSeparator) === value\n ? value\n : TuiDayRange.sort(\n parseWithLimit(value.slice(0, DATE_FILLER_LENGTH), config),\n parseWithLimit(\n value.slice(DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length),\n config,\n ),\n ).toString(dateFormat, dateSeparator);\n default:\n return value;\n }\n}\n\n/**\n * Normalizes date in formatted string\n *\n * Normalizes when:\n *\n * 1. It is a single date\n * 2. It is a single date and a separator\n * 3. It is two dates and a separator between them\n *\n * In **other** cases, the value does not change.\n *\n * @param config with min and max date\n * @return mask pipe handler that handles `min` and `max`\n */\nexport function tuiCreateAutoCorrectedDateRangePipe(\n config: TuiAutoCorrectedDatePipeConfigs,\n): TuiTextMaskPipeHandler {\n return value => ({value: processRawValue(value, config)});\n}\n","import {TuiTimeMode} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\n/**\n * Adjusts the entered time by omitting only suitable values for hours and minutes\n * @returns time as a string\n */\nexport function tuiCreateAutoCorrectedTimePipe(\n timeMode: TuiTimeMode = 'HH:MM',\n maxValues: Partial<Record<TuiTimeFormatParts, number>> = {},\n): TuiTextMaskPipeHandler {\n const timeFormatArray = ['HH', 'MM', 'SS', 'MS'] as const;\n const safeValues = {\n ...MAX_TIME_VALUES,\n ...maxValues,\n };\n\n return conformedValue => {\n const indexesOfPipedChars: number[] = [];\n const conformedValueArr = conformedValue.split('');\n\n timeFormatArray.forEach(format => {\n const position = timeMode.indexOf(format);\n const maxFirstDigit = parseInt(String(safeValues[format]).slice(0, 1), 10);\n\n if (parseInt(conformedValueArr[position], 10) > maxFirstDigit) {\n conformedValueArr[position + 1] = conformedValueArr[position];\n conformedValueArr[position] = '0';\n indexesOfPipedChars.push(position);\n }\n });\n\n const isInvalid = timeFormatArray.some(\n format =>\n parseInt(conformedValue.slice(timeMode.indexOf(format), 2), 10) >\n safeValues[format],\n );\n\n return isInvalid\n ? false\n : {\n value: conformedValueArr.join(''),\n indexesOfPipedChars,\n };\n };\n}\n","import {DATE_FILLER_LENGTH, TuiTimeMode} from '@taiga-ui/cdk';\nimport {\n TuiTextMaskConfig,\n TuiTextMaskOptions,\n TuiTextMaskPipeHandler,\n} from '@taiga-ui/core';\nimport {DATE_TIME_SEPARATOR} from '@taiga-ui/kit/constants';\n\nimport {\n normalizeDateValue,\n TuiAutoCorrectedDatePipeConfigs,\n} from './create-auto-corrected-date-pipe';\nimport {tuiCreateAutoCorrectedTimePipe} from './create-auto-corrected-time-pipe';\n\ninterface TuiAutoCorrectedDateTimePipeConfigs extends TuiAutoCorrectedDatePipeConfigs {\n timeMode: TuiTimeMode;\n}\n\nexport function tuiCreateAutoCorrectedDateTimePipe(\n configs: TuiAutoCorrectedDateTimePipeConfigs,\n): TuiTextMaskPipeHandler {\n const timePipe = tuiCreateAutoCorrectedTimePipe(configs.timeMode);\n\n return value => {\n if (value.length < DATE_FILLER_LENGTH) {\n return {value};\n }\n\n const [date, time] = value.split(DATE_TIME_SEPARATOR);\n\n const formattedDate = normalizeDateValue(date, configs);\n\n if (!time) {\n return {value: formattedDate};\n }\n\n const pipedTime = timePipe(\n time,\n {} as unknown as TuiTextMaskOptions & TuiTextMaskConfig,\n );\n\n if (!pipedTime || typeof pipedTime === 'string') {\n return false;\n }\n\n return {\n value: `${formattedDate}${DATE_TIME_SEPARATOR}${pipedTime.value}`,\n indexesOfPipedChars: pipedTime.indexesOfPipedChars\n ? pipedTime.indexesOfPipedChars.map(i => i + date.length + 2)\n : undefined,\n };\n };\n}\n","import {tuiAssert, TuiDateMode} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\n\nconst TWO_DIGITS = new Array(2).fill(TUI_DIGIT_REGEXP);\nconst FOUR_DIGITS = new Array(4).fill(TUI_DIGIT_REGEXP);\n\nexport function tuiCreateDateMask(mode: TuiDateMode, separator: string): TuiTextMaskList {\n tuiAssert.assert(separator.length === 1, 'Separator should consist of only 1 symbol');\n\n switch (mode) {\n case 'YMD':\n return [...FOUR_DIGITS, separator, ...TWO_DIGITS, separator, ...TWO_DIGITS];\n case 'MDY':\n case 'DMY':\n default:\n return [...TWO_DIGITS, separator, ...TWO_DIGITS, separator, ...FOUR_DIGITS];\n }\n}\n","import {CHAR_EN_DASH, CHAR_NO_BREAK_SPACE, tuiAssert, TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiTextMaskList} from '@taiga-ui/core';\n\nimport {tuiCreateDateMask} from './create-date-mask';\n\nexport function tuiCreateDateRangeMask(\n dateMode: TuiDateMode,\n dateSeparator: string,\n): TuiTextMaskList {\n tuiAssert.assert(\n dateSeparator.length === 1,\n 'Separator should consist of only 1 symbol',\n );\n\n const dateMask = tuiCreateDateMask(dateMode, dateSeparator);\n\n return [\n ...dateMask,\n CHAR_NO_BREAK_SPACE,\n CHAR_EN_DASH,\n CHAR_NO_BREAK_SPACE,\n ...dateMask,\n ];\n}\n","import {TuiTimeMode} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\nfunction tuiCreateTimePartMask(\n maxPartValue: number,\n prefix?: string,\n): Array<string | RegExp> {\n const {length} = String(maxPartValue);\n const regExp = new Array(length).fill(TUI_DIGIT_REGEXP);\n\n if (prefix) {\n regExp.unshift(prefix);\n }\n\n return regExp;\n}\n\nexport function tuiCreateTimeMask(\n mode: TuiTimeMode,\n maxValues: Partial<Record<TuiTimeFormatParts, number>> = {},\n): TuiTextMaskList {\n const {HH, MM, SS, MS} = {\n ...MAX_TIME_VALUES,\n ...maxValues,\n };\n\n return [\n ...tuiCreateTimePartMask(HH),\n ...tuiCreateTimePartMask(MM, ':'),\n ...(mode.includes('HH:MM:SS') ? tuiCreateTimePartMask(SS, ':') : []),\n ...(mode === 'HH:MM:SS.MSS' ? tuiCreateTimePartMask(MS, '.') : []),\n ];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AASA;;;AAGA;SACgB,kBAAkB,CAC9B,SAAiB,EACjB,EAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAkC;IAE7E,OAAO,KAAK,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,KAAK,SAAS;UACjE,S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CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAExD,IAAI,MAAM,EAAE;QACR,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;KAC1B;IAED,OAAO,MAAM,CAAC;AAClB,CAAC;SAEe,iBAAiB,CAC7B,IAAiB,EACjB,YAAyD,EAAE;IAE3D,MAAM,EAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAC,mCACf,eAAe,GACf,SAAS,CACf,CAAC;IAEF,OAAO;QACH,GAAG,qBAAqB,CAAC,EAAE,CAAC;QAC5B,GAAG,qBAAqB,CAAC,EAAE,EAAE,GAAG,CAAC;QACjC,IAAI,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,qBAAqB,CAAC,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC;QACpE,IAAI,IAAI,KAAK,cAAc,GAAG,qBAAqB,CAAC,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC;KACrE,CAAC;AACN;;AClCA;;;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-utils-mask.js","sources":["../../../projects/kit/utils/mask/create-auto-corrected-date-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-date-range-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-time-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-date-time-pipe.ts","../../../projects/kit/utils/mask/create-date-mask.ts","../../../projects/kit/utils/mask/create-date-range-mask.ts","../../../projects/kit/utils/mask/create-time-mask.ts","../../../projects/kit/utils/mask/taiga-ui-kit-utils-mask.ts"],"sourcesContent":["import {DATE_FILLER_LENGTH, TuiDateMode, TuiDay} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler, TuiWithOptionalMinMaxWithValue} from '@taiga-ui/core';\n\nexport interface TuiAutoCorrectedDatePipeConfigs\n extends TuiWithOptionalMinMaxWithValue<TuiDay | null, TuiDay> {\n dateFormat: TuiDateMode;\n dateSeparator: string;\n}\n\n/**\n * @deprecated: use {@link tuiNormalizeDateValue} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function normalizeDateValue(\n dateValue: string,\n {value, min, max, dateFormat, dateSeparator}: TuiAutoCorrectedDatePipeConfigs,\n): string {\n return value && value.toString(dateFormat, dateSeparator) === dateValue\n ? dateValue\n : TuiDay.normalizeParse(dateValue, dateFormat)\n .dayLimit(min, max)\n .toString(dateFormat, dateSeparator);\n}\n\nexport function tuiCreateAutoCorrectedDatePipe(\n config: TuiAutoCorrectedDatePipeConfigs,\n): TuiTextMaskPipeHandler {\n return value => {\n if (value.length !== DATE_FILLER_LENGTH) {\n return {value};\n }\n\n return {\n value: normalizeDateValue(value, config),\n };\n };\n}\n\nexport const tuiNormalizeDateValue = normalizeDateValue;\n","import {\n DATE_FILLER_LENGTH,\n DATE_RANGE_FILLER_LENGTH,\n RANGE_SEPARATOR_CHAR,\n TuiDateMode,\n TuiDay,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler, TuiWithOptionalMinMaxWithValue} from '@taiga-ui/core';\n\ninterface TuiAutoCorrectedDatePipeConfigs\n extends TuiWithOptionalMinMaxWithValue<TuiDayRange | null, TuiDay> {\n dateFormat: TuiDateMode;\n dateSeparator: string;\n}\n\nfunction parseWithLimit(value: string, config: TuiAutoCorrectedDatePipeConfigs): TuiDay {\n return TuiDay.normalizeParse(\n value.slice(0, DATE_FILLER_LENGTH),\n config.dateFormat,\n ).dayLimit(config.min, config.max);\n}\n\nfunction processRawValue(value: string, config: TuiAutoCorrectedDatePipeConfigs): string {\n const {dateFormat, dateSeparator} = config;\n\n switch (value.length) {\n case DATE_FILLER_LENGTH:\n return parseWithLimit(value, config).toString(dateFormat, dateSeparator);\n case DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length:\n return (\n parseWithLimit(value, config).toString(dateFormat, dateSeparator) +\n RANGE_SEPARATOR_CHAR\n );\n case DATE_RANGE_FILLER_LENGTH:\n return config.value &&\n config.value.toString(dateFormat, dateSeparator) === value\n ? value\n : TuiDayRange.sort(\n parseWithLimit(value.slice(0, DATE_FILLER_LENGTH), config),\n parseWithLimit(\n value.slice(DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length),\n config,\n ),\n ).toString(dateFormat, dateSeparator);\n default:\n return value;\n }\n}\n\n/**\n * Normalizes date in formatted string\n *\n * Normalizes when:\n *\n * 1. It is a single date\n * 2. It is a single date and a separator\n * 3. It is two dates and a separator between them\n *\n * In **other** cases, the value does not change.\n *\n * @param config with min and max date\n * @return mask pipe handler that handles `min` and `max`\n */\nexport function tuiCreateAutoCorrectedDateRangePipe(\n config: TuiAutoCorrectedDatePipeConfigs,\n): TuiTextMaskPipeHandler {\n return value => ({value: processRawValue(value, config)});\n}\n","import {TuiTimeMode} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\n/**\n * Adjusts the entered time by omitting only suitable values for hours and minutes\n * @returns time as a string\n */\nexport function tuiCreateAutoCorrectedTimePipe(\n timeMode: TuiTimeMode = `HH:MM`,\n maxValues: Partial<Record<TuiTimeFormatParts, number>> = {},\n): TuiTextMaskPipeHandler {\n const timeFormatArray = [`HH`, `MM`, `SS`, `MS`] as const;\n const safeValues = {\n ...MAX_TIME_VALUES,\n ...maxValues,\n };\n\n return conformedValue => {\n const indexesOfPipedChars: number[] = [];\n const conformedValueArr = conformedValue.split(``);\n\n timeFormatArray.forEach(format => {\n const position = timeMode.indexOf(format);\n const maxFirstDigit = parseInt(String(safeValues[format]).slice(0, 1), 10);\n\n if (parseInt(conformedValueArr[position], 10) > maxFirstDigit) {\n conformedValueArr[position + 1] = conformedValueArr[position];\n conformedValueArr[position] = `0`;\n indexesOfPipedChars.push(position);\n }\n });\n\n const isInvalid = timeFormatArray.some(\n format =>\n parseInt(conformedValue.slice(timeMode.indexOf(format), 2), 10) >\n safeValues[format],\n );\n\n return isInvalid\n ? false\n : {\n value: conformedValueArr.join(``),\n indexesOfPipedChars,\n };\n };\n}\n","import {DATE_FILLER_LENGTH, tuiIsString, TuiTimeMode} from '@taiga-ui/cdk';\nimport {\n TuiTextMaskConfig,\n TuiTextMaskOptions,\n TuiTextMaskPipeHandler,\n} from '@taiga-ui/core';\nimport {DATE_TIME_SEPARATOR} from '@taiga-ui/kit/constants';\n\nimport {\n normalizeDateValue,\n TuiAutoCorrectedDatePipeConfigs,\n} from './create-auto-corrected-date-pipe';\nimport {tuiCreateAutoCorrectedTimePipe} from './create-auto-corrected-time-pipe';\n\ninterface TuiAutoCorrectedDateTimePipeConfigs extends TuiAutoCorrectedDatePipeConfigs {\n timeMode: TuiTimeMode;\n}\n\nexport function tuiCreateAutoCorrectedDateTimePipe(\n configs: TuiAutoCorrectedDateTimePipeConfigs,\n): TuiTextMaskPipeHandler {\n const timePipe = tuiCreateAutoCorrectedTimePipe(configs.timeMode);\n\n return value => {\n if (value.length < DATE_FILLER_LENGTH) {\n return {value};\n }\n\n const [date, time] = value.split(DATE_TIME_SEPARATOR);\n\n const formattedDate = normalizeDateValue(date, configs);\n\n if (!time) {\n return {value: formattedDate};\n }\n\n const pipedTime = timePipe(\n time,\n {} as unknown as TuiTextMaskOptions & TuiTextMaskConfig,\n );\n\n if (!pipedTime || tuiIsString(pipedTime)) {\n return false;\n }\n\n return {\n value: `${formattedDate}${DATE_TIME_SEPARATOR}${pipedTime.value}`,\n indexesOfPipedChars: pipedTime.indexesOfPipedChars\n ? pipedTime.indexesOfPipedChars.map(i => i + date.length + 2)\n : undefined,\n };\n };\n}\n","import {tuiAssert, TuiDateMode} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\n\nconst TWO_DIGITS = new Array(2).fill(TUI_DIGIT_REGEXP);\nconst FOUR_DIGITS = new Array(4).fill(TUI_DIGIT_REGEXP);\n\nexport function tuiCreateDateMask(mode: TuiDateMode, separator: string): TuiTextMaskList {\n tuiAssert.assert(separator.length === 1, `Separator should consist of only 1 symbol`);\n\n switch (mode) {\n case `YMD`:\n return [...FOUR_DIGITS, separator, ...TWO_DIGITS, separator, ...TWO_DIGITS];\n case `MDY`:\n case `DMY`:\n default:\n return [...TWO_DIGITS, separator, ...TWO_DIGITS, separator, ...FOUR_DIGITS];\n }\n}\n","import {CHAR_EN_DASH, CHAR_NO_BREAK_SPACE, tuiAssert, TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiTextMaskList} from '@taiga-ui/core';\n\nimport {tuiCreateDateMask} from './create-date-mask';\n\nexport function tuiCreateDateRangeMask(\n dateMode: TuiDateMode,\n dateSeparator: string,\n): TuiTextMaskList {\n tuiAssert.assert(\n dateSeparator.length === 1,\n `Separator should consist of only 1 symbol`,\n );\n\n const dateMask = tuiCreateDateMask(dateMode, dateSeparator);\n\n return [\n ...dateMask,\n CHAR_NO_BREAK_SPACE,\n CHAR_EN_DASH,\n CHAR_NO_BREAK_SPACE,\n ...dateMask,\n ];\n}\n","import {TuiTimeMode} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\nfunction tuiCreateTimePartMask(\n maxPartValue: number,\n prefix?: string,\n): Array<string | RegExp> {\n const {length} = String(maxPartValue);\n const regExp = new Array(length).fill(TUI_DIGIT_REGEXP);\n\n if (prefix) {\n regExp.unshift(prefix);\n }\n\n return regExp;\n}\n\nexport function tuiCreateTimeMask(\n mode: TuiTimeMode,\n maxValues: Partial<Record<TuiTimeFormatParts, number>> = {},\n): TuiTextMaskList {\n const {HH, MM, SS, MS} = {\n ...MAX_TIME_VALUES,\n ...maxValues,\n };\n\n return [\n ...tuiCreateTimePartMask(HH),\n ...tuiCreateTimePartMask(MM, `:`),\n ...(mode.includes(`HH:MM:SS`) ? tuiCreateTimePartMask(SS, `:`) : []),\n ...(mode === `HH:MM:SS.MSS` ? tuiCreateTimePartMask(MS, `.`) : []),\n ];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AASA;;AAEG;AACH;AACgB,SAAA,kBAAkB,CAC9B,SAAiB,EACjB,EAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAkC,EAAA;IAE7E,OAAO,KAAK,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,KAAK,SAAS;AACnE,UAAE,SAAS;UACT,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,UAAU,CAAC;AACvC,aAAA,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;AAClB,aAAA,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;AACnD,CAAC;AAEK,SAAU,8BAA8B,CAC1C,MAAuC,EAAA;IAEvC,OAAO,KAAK,IAAG;AACX,QAAA,IAAI,KAAK,CAAC,MAAM,KAAK,kBAAkB,EAAE;YACrC,OAAO,EAAC,KAAK,EAAC,CAAC;AAClB,SAAA;QAED,OAAO;AACH,YAAA,KAAK,EAAE,kBAAkB,CAAC,KAAK,EAAE,MAAM,CAAC;SAC3C,CAAC;AACN,KAAC,CAAC;AACN,CAAC;AAEM,MAAM,qBAAqB,GAAG;;ACtBrC,SAAS,cAAc,CAAC,KAAa,EAAE,MAAuC,EAAA;AAC1E,IAAA,OAAO,MAAM,CAAC,cAAc,CACxB,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB,CAAC,EAClC,MAAM,CAAC,UAAU,CACpB,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;AACvC,CAAC;AAED,SAAS,eAAe,CAAC,KAAa,EAAE,MAAuC,EAAA;AAC3E,IAAA,MAAM,EAAC,UAAU,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IAAiB,EACjB,YAAyD,EAAE,EAAA;AAE3D,IAAA,MAAM,EAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAC,GACf,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,eAAe,CACf,EAAA,SAAS,CACf,CAAC;IAEF,OAAO;QACH,GAAG,qBAAqB,CAAC,EAAE,CAAC;AAC5B,QAAA,GAAG,qBAAqB,CAAC,EAAE,EAAE,GAAG,CAAC;QACjC,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAU,QAAA,CAAA,CAAC,GAAG,qBAAqB,CAAC,EAAE,EAAE,CAAG,CAAA,CAAA,CAAC,GAAG,EAAE,CAAC;AACpE,QAAA,IAAI,IAAI,KAAK,CAAc,YAAA,CAAA,GAAG,qBAAqB,CAAC,EAAE,EAAE,CAAG,CAAA,CAAA,CAAC,GAAG,EAAE,CAAC;KACrE,CAAC;AACN;;AClCA;;AAEG;;;;"}
|
|
@@ -6,9 +6,9 @@ import { TUI_FLOATING_PRECISION } from '@taiga-ui/kit/constants';
|
|
|
6
6
|
*/
|
|
7
7
|
function tuiHorizontalDirectionToNumber(direction) {
|
|
8
8
|
switch (direction) {
|
|
9
|
-
case
|
|
9
|
+
case `left`:
|
|
10
10
|
return -1;
|
|
11
|
-
case
|
|
11
|
+
case `right`:
|
|
12
12
|
return 1;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -30,13 +30,10 @@ function tuiKeyStepValueToPercentage(value, keySteps) {
|
|
|
30
30
|
const ratio = (value - lowerStepValue) / (upperStepValue - lowerStepValue) || 0;
|
|
31
31
|
return (upperStepPercent - lowerStepPercent) * ratio + lowerStepPercent;
|
|
32
32
|
}
|
|
33
|
-
function tuiCheckKeyStepsHaveMinMaxPercents(steps) {
|
|
34
|
-
return !steps.length || (steps[0][0] === 0 && steps[steps.length - 1][0] === 100);
|
|
35
|
-
}
|
|
36
33
|
|
|
37
34
|
/**
|
|
38
35
|
* Generated bundle index. Do not edit.
|
|
39
36
|
*/
|
|
40
37
|
|
|
41
|
-
export {
|
|
38
|
+
export { tuiHorizontalDirectionToNumber, tuiKeyStepValueToPercentage, tuiPercentageToKeyStepValue };
|
|
42
39
|
//# sourceMappingURL=taiga-ui-kit-utils-math.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-utils-math.js","sources":["
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-utils-math.js","sources":["../../../projects/kit/utils/math/horizontal-direction-to-number.ts","../../../projects/kit/utils/math/key-steps.ts","../../../projects/kit/utils/math/taiga-ui-kit-utils-math.ts"],"sourcesContent":["import {TuiHorizontalDirection} from '@taiga-ui/core';\n\n/**\n * @internal\n */\nexport function tuiHorizontalDirectionToNumber(\n direction: TuiHorizontalDirection,\n): -1 | 1 {\n switch (direction) {\n case `left`:\n return -1;\n case `right`:\n return 1;\n }\n}\n","import {round} from '@taiga-ui/cdk';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\n\nfunction tuiFindKeyStepsBoundariesByFn(\n keySteps: TuiKeySteps,\n fn: ([keyStepPercent, keyStepValue]: [number, number]) => boolean,\n): [[number, number], [number, number]] {\n const keyStepUpperIndex = keySteps.findIndex((keyStep, i) => i && fn(keyStep));\n const lowerStep = keySteps[keyStepUpperIndex - 1];\n const upperStep = keySteps[keyStepUpperIndex];\n\n return [lowerStep, upperStep];\n}\n\nexport function tuiPercentageToKeyStepValue(\n valuePercentage: number,\n keySteps: TuiKeySteps,\n): number {\n const [[lowerStepPercent, lowerStepValue], [upperStepPercent, upperStepValue]] =\n tuiFindKeyStepsBoundariesByFn(\n keySteps,\n ([keyStepPercentage, _]) => valuePercentage <= keyStepPercentage,\n );\n const ratio =\n (valuePercentage - lowerStepPercent) / (upperStepPercent - lowerStepPercent);\n const controlValue = (upperStepValue - lowerStepValue) * ratio + lowerStepValue;\n\n return round(controlValue, TUI_FLOATING_PRECISION);\n}\n\nexport function tuiKeyStepValueToPercentage(\n value: number,\n keySteps: TuiKeySteps,\n): number {\n const [[lowerStepPercent, lowerStepValue], [upperStepPercent, upperStepValue]] =\n tuiFindKeyStepsBoundariesByFn(\n keySteps,\n ([_, keyStepValue]) => value <= keyStepValue,\n );\n const ratio = (value - lowerStepValue) / (upperStepValue - lowerStepValue) || 0;\n\n return (upperStepPercent - lowerStepPercent) * ratio + lowerStepPercent;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;AAEG;AACG,SAAU,8BAA8B,CAC1C,SAAiC,EAAA;AAEjC,IAAA,QAAQ,SAAS;AACb,QAAA,KAAK,CAAM,IAAA,CAAA;YACP,OAAO,CAAC,CAAC,CAAC;AACd,QAAA,KAAK,CAAO,KAAA,CAAA;AACR,YAAA,OAAO,CAAC,CAAC;AAChB,KAAA;AACL;;ACVA,SAAS,6BAA6B,CAClC,QAAqB,EACrB,EAAiE,EAAA;IAEjE,MAAM,iBAAiB,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/E,MAAM,SAAS,GAAG,QAAQ,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC;AAClD,IAAA,MAAM,SAAS,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;AAE9C,IAAA,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AAClC,CAAC;AAEe,SAAA,2BAA2B,CACvC,eAAuB,EACvB,QAAqB,EAAA;AAErB,IAAA,MAAM,CAAC,CAAC,gBAAgB,EAAE,cAAc,CAAC,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC,GAC1E,6BAA6B,CACzB,QAAQ,EACR,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC,KAAK,eAAe,IAAI,iBAAiB,CACnE,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