@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,129 +0,0 @@
|
|
|
1
|
-
import { __decorate, __extends, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectorRef, Directive, ElementRef, HostListener, Inject, Input, Optional, Output, Pipe, PipeTransform, Self, } from '@angular/core';
|
|
3
|
-
import { NgControl } from '@angular/forms';
|
|
4
|
-
import { AbstractTuiControl, clamp, isNativeFocused, tuiAssert, tuiDefaultProp, typedFromEvent, } from '@taiga-ui/cdk';
|
|
5
|
-
import { tuiCheckKeyStepsHaveMinMaxPercents, tuiKeyStepValueToPercentage, tuiPercentageToKeyStepValue, } from '@taiga-ui/kit/utils';
|
|
6
|
-
import { map } from 'rxjs/operators';
|
|
7
|
-
import { TuiSliderComponent } from '../slider.component';
|
|
8
|
-
// @dynamic
|
|
9
|
-
var TuiSliderKeyStepsDirective = /** @class */ (function (_super) {
|
|
10
|
-
__extends(TuiSliderKeyStepsDirective, _super);
|
|
11
|
-
function TuiSliderKeyStepsDirective(control, changeDetectorRef, elementRef, slider) {
|
|
12
|
-
var _this = _super.call(this, control, changeDetectorRef) || this;
|
|
13
|
-
_this.elementRef = elementRef;
|
|
14
|
-
_this.slider = slider;
|
|
15
|
-
_this.keySteps = [];
|
|
16
|
-
_this.keyStepsInput = typedFromEvent(_this.elementRef.nativeElement, 'input').pipe(map(function () { return _this.controlValue; }));
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(TuiSliderKeyStepsDirective.prototype, "nativeFocusableElement", {
|
|
20
|
-
get: function () {
|
|
21
|
-
return this.computedDisabled ? null : this.elementRef.nativeElement;
|
|
22
|
-
},
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(TuiSliderKeyStepsDirective.prototype, "focused", {
|
|
27
|
-
get: function () {
|
|
28
|
-
return isNativeFocused(this.nativeFocusableElement);
|
|
29
|
-
},
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(TuiSliderKeyStepsDirective.prototype, "min", {
|
|
34
|
-
get: function () {
|
|
35
|
-
var _a;
|
|
36
|
-
return ((_a = this.keySteps[0]) === null || _a === void 0 ? void 0 : _a[1]) || 0;
|
|
37
|
-
},
|
|
38
|
-
enumerable: true,
|
|
39
|
-
configurable: true
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(TuiSliderKeyStepsDirective.prototype, "max", {
|
|
42
|
-
get: function () {
|
|
43
|
-
var _a;
|
|
44
|
-
return ((_a = this.keySteps[this.keySteps.length - 1]) === null || _a === void 0 ? void 0 : _a[1]) || 100;
|
|
45
|
-
},
|
|
46
|
-
enumerable: true,
|
|
47
|
-
configurable: true
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(TuiSliderKeyStepsDirective.prototype, "controlValue", {
|
|
50
|
-
get: function () {
|
|
51
|
-
return tuiPercentageToKeyStepValue(this.slider.valuePercentage, this.keySteps);
|
|
52
|
-
},
|
|
53
|
-
enumerable: true,
|
|
54
|
-
configurable: true
|
|
55
|
-
});
|
|
56
|
-
TuiSliderKeyStepsDirective.prototype.updateControlValue = function () {
|
|
57
|
-
this.updateValue(this.controlValue);
|
|
58
|
-
};
|
|
59
|
-
TuiSliderKeyStepsDirective.prototype.writeValue = function (controlValue) {
|
|
60
|
-
if (controlValue === null) {
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
var clampedControlValue = clamp(controlValue, this.min, this.max);
|
|
64
|
-
tuiAssert.assert(controlValue === clampedControlValue, '\n[SliderKeySteps]: You cannot programmatically set value which is less/more than min/max');
|
|
65
|
-
this.slider.value = this.transformToNativeValue(clampedControlValue);
|
|
66
|
-
};
|
|
67
|
-
TuiSliderKeyStepsDirective.prototype.getFallbackValue = function () {
|
|
68
|
-
return 0;
|
|
69
|
-
};
|
|
70
|
-
TuiSliderKeyStepsDirective.prototype.transformToNativeValue = function (controlValue) {
|
|
71
|
-
var _a = this.slider, min = _a.min, max = _a.max;
|
|
72
|
-
var newValuePercentage = tuiKeyStepValueToPercentage(controlValue, this.keySteps);
|
|
73
|
-
return (newValuePercentage * (max - min)) / 100 + min;
|
|
74
|
-
};
|
|
75
|
-
TuiSliderKeyStepsDirective.ctorParameters = function () { return [
|
|
76
|
-
{ type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
|
|
77
|
-
{ type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
|
|
78
|
-
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
|
|
79
|
-
{ type: TuiSliderComponent, decorators: [{ type: Inject, args: [TuiSliderComponent,] }] }
|
|
80
|
-
]; };
|
|
81
|
-
__decorate([
|
|
82
|
-
Input(),
|
|
83
|
-
tuiDefaultProp(tuiCheckKeyStepsHaveMinMaxPercents, 'Should contain min and max values')
|
|
84
|
-
], TuiSliderKeyStepsDirective.prototype, "keySteps", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
Output()
|
|
87
|
-
], TuiSliderKeyStepsDirective.prototype, "keyStepsInput", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
HostListener('change')
|
|
90
|
-
], TuiSliderKeyStepsDirective.prototype, "updateControlValue", null);
|
|
91
|
-
TuiSliderKeyStepsDirective = __decorate([
|
|
92
|
-
Directive({
|
|
93
|
-
selector: 'input[tuiSlider][keySteps]',
|
|
94
|
-
host: {
|
|
95
|
-
'[attr.data-key-steps]': 'true',
|
|
96
|
-
'[attr.aria-valuenow]': 'controlValue',
|
|
97
|
-
'[attr.aria-valuemin]': 'min',
|
|
98
|
-
'[attr.aria-valuemax]': 'max',
|
|
99
|
-
},
|
|
100
|
-
}),
|
|
101
|
-
__param(0, Optional()),
|
|
102
|
-
__param(0, Self()),
|
|
103
|
-
__param(0, Inject(NgControl)),
|
|
104
|
-
__param(1, Inject(ChangeDetectorRef)),
|
|
105
|
-
__param(2, Inject(ElementRef)),
|
|
106
|
-
__param(3, Inject(TuiSliderComponent))
|
|
107
|
-
], TuiSliderKeyStepsDirective);
|
|
108
|
-
return TuiSliderKeyStepsDirective;
|
|
109
|
-
}(AbstractTuiControl));
|
|
110
|
-
export { TuiSliderKeyStepsDirective };
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated DONT USE IT! It is just temporary solution for internal purposes only. We will delete it in next major release.
|
|
113
|
-
* TODO delete it in v3.0
|
|
114
|
-
*
|
|
115
|
-
*/
|
|
116
|
-
var TuiSliderTickLabelPipe = /** @class */ (function () {
|
|
117
|
-
function TuiSliderTickLabelPipe() {
|
|
118
|
-
}
|
|
119
|
-
TuiSliderTickLabelPipe.prototype.transform = function (tickIndex, totalSegments, keySteps) {
|
|
120
|
-
var percentage = (100 / totalSegments) * tickIndex;
|
|
121
|
-
return tuiPercentageToKeyStepValue(percentage, keySteps);
|
|
122
|
-
};
|
|
123
|
-
TuiSliderTickLabelPipe = __decorate([
|
|
124
|
-
Pipe({ name: 'tuiSliderTickLabel' })
|
|
125
|
-
], TuiSliderTickLabelPipe);
|
|
126
|
-
return TuiSliderTickLabelPipe;
|
|
127
|
-
}());
|
|
128
|
-
export { TuiSliderTickLabelPipe };
|
|
129
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLWtleS1zdGVwcy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvc2xpZGVyLyIsInNvdXJjZXMiOlsiaGVscGVycy9zbGlkZXIta2V5LXN0ZXBzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNILGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsVUFBVSxFQUNWLFlBQVksRUFDWixNQUFNLEVBQ04sS0FBSyxFQUNMLFFBQVEsRUFDUixNQUFNLEVBQ04sSUFBSSxFQUNKLGFBQWEsRUFDYixJQUFJLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQ3pDLE9BQU8sRUFDSCxrQkFBa0IsRUFDbEIsS0FBSyxFQUNMLGVBQWUsRUFDZixTQUFTLEVBQ1QsY0FBYyxFQUVkLGNBQWMsR0FDakIsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUNILGtDQUFrQyxFQUNsQywyQkFBMkIsRUFDM0IsMkJBQTJCLEdBQzlCLE1BQU0scUJBQXFCLENBQUM7QUFDN0IsT0FBTyxFQUFDLEdBQUcsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBRW5DLE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBRXZELFdBQVc7QUFVWDtJQUNZLDhDQUEwQjtJQW1DbEMsb0NBSUksT0FBeUIsRUFDRSxpQkFBb0MsRUFDMUIsVUFBd0MsRUFDaEMsTUFBMEI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IGNvbnN0IHBlcmNlbnRhZ2UgPSAoMTAwIC8gdG90YWxTZWdtZW50cykgKiB0aWNrSW5kZXg7XG5cbiAgICAgICAgcmV0dXJuIHR1aVBlcmNlbnRhZ2VUb0tleVN0ZXBWYWx1ZShwZXJjZW50YWdlLCBrZXlTdGVwcyk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param, __read } from "tslib";
|
|
2
|
-
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import { Directive, ElementRef, HostListener, Inject, Input } from '@angular/core';
|
|
4
|
-
import { tuiCoerceBooleanProperty, tuiDefaultProp, TuiDestroyService, typedFromEvent, } from '@taiga-ui/cdk';
|
|
5
|
-
import { combineLatest, merge, Observable } from 'rxjs';
|
|
6
|
-
import { filter, mapTo, takeUntil, tap } from 'rxjs/operators';
|
|
7
|
-
var SLIDER_INTERACTION_KEYS = new Set([
|
|
8
|
-
'ArrowLeft',
|
|
9
|
-
'ArrowRight',
|
|
10
|
-
'ArrowUp',
|
|
11
|
-
'ArrowDown',
|
|
12
|
-
'Home',
|
|
13
|
-
'End',
|
|
14
|
-
'PageUp',
|
|
15
|
-
'PageDown',
|
|
16
|
-
]);
|
|
17
|
-
/**
|
|
18
|
-
* Native <input type='range' readonly> doesn't work.
|
|
19
|
-
* This directive imitates this native behaviour.
|
|
20
|
-
*/
|
|
21
|
-
// @dynamic
|
|
22
|
-
var TuiSliderReadonlyDirective = /** @class */ (function () {
|
|
23
|
-
function TuiSliderReadonlyDirective(elementRef, documentRef, destroy$) {
|
|
24
|
-
var _this = this;
|
|
25
|
-
this.readonly = true;
|
|
26
|
-
var touchStart$ = typedFromEvent(elementRef.nativeElement, 'touchstart', {
|
|
27
|
-
passive: false,
|
|
28
|
-
});
|
|
29
|
-
var touchMove$ = typedFromEvent(documentRef, 'touchmove', {
|
|
30
|
-
passive: false,
|
|
31
|
-
});
|
|
32
|
-
var touchEnd$ = typedFromEvent(documentRef, 'touchend', {
|
|
33
|
-
passive: true,
|
|
34
|
-
});
|
|
35
|
-
var shouldPreventMove$ = merge(touchStart$.pipe(tap(function (e) { return _this.preventEvent(e); }), mapTo(true)), touchEnd$.pipe(mapTo(false)));
|
|
36
|
-
/**
|
|
37
|
-
* @bad TODO think about another solution.
|
|
38
|
-
* Keep in mind that preventing touch event (on slider) inside `@HostListener('touchstart')` doesn't work for mobile chrome.
|
|
39
|
-
*/
|
|
40
|
-
combineLatest([touchMove$, shouldPreventMove$])
|
|
41
|
-
.pipe(filter(function (_a) {
|
|
42
|
-
var _b = __read(_a, 2), _ = _b[0], shouldPreventMove = _b[1];
|
|
43
|
-
return shouldPreventMove;
|
|
44
|
-
}), takeUntil(destroy$))
|
|
45
|
-
.subscribe(function (_a) {
|
|
46
|
-
var _b = __read(_a, 1), moveEvent = _b[0];
|
|
47
|
-
return _this.preventEvent(moveEvent);
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
TuiSliderReadonlyDirective.prototype.preventEvent = function (event) {
|
|
51
|
-
if (event.cancelable && tuiCoerceBooleanProperty(this.readonly)) {
|
|
52
|
-
event.preventDefault();
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
TuiSliderReadonlyDirective.prototype.preventKeyboardInteraction = function (event) {
|
|
56
|
-
if (SLIDER_INTERACTION_KEYS.has(event.key)) {
|
|
57
|
-
this.preventEvent(event);
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
TuiSliderReadonlyDirective.ctorParameters = function () { return [
|
|
61
|
-
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
|
|
62
|
-
{ type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
|
|
63
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TuiDestroyService,] }] }
|
|
64
|
-
]; };
|
|
65
|
-
__decorate([
|
|
66
|
-
Input(),
|
|
67
|
-
tuiDefaultProp()
|
|
68
|
-
], TuiSliderReadonlyDirective.prototype, "readonly", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
HostListener('mousedown', ['$event'])
|
|
71
|
-
], TuiSliderReadonlyDirective.prototype, "preventEvent", null);
|
|
72
|
-
__decorate([
|
|
73
|
-
HostListener('keydown', ['$event'])
|
|
74
|
-
], TuiSliderReadonlyDirective.prototype, "preventKeyboardInteraction", null);
|
|
75
|
-
TuiSliderReadonlyDirective = __decorate([
|
|
76
|
-
Directive({
|
|
77
|
-
selector: 'input[tuiSlider][readonly]',
|
|
78
|
-
providers: [TuiDestroyService],
|
|
79
|
-
}),
|
|
80
|
-
__param(0, Inject(ElementRef)),
|
|
81
|
-
__param(1, Inject(DOCUMENT)),
|
|
82
|
-
__param(2, Inject(TuiDestroyService))
|
|
83
|
-
], TuiSliderReadonlyDirective);
|
|
84
|
-
return TuiSliderReadonlyDirective;
|
|
85
|
-
}());
|
|
86
|
-
export { TuiSliderReadonlyDirective };
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLXJlYWRvbmx5LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9zbGlkZXIvIiwic291cmNlcyI6WyJoZWxwZXJzL3NsaWRlci1yZWFkb25seS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QyxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNqRixPQUFPLEVBQ0gsd0JBQXdCLEVBQ3hCLGNBQWMsRUFDZCxpQkFBaUIsRUFDakIsY0FBYyxHQUNqQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsYUFBYSxFQUFFLEt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ywgc2hvdWxkUHJldmVudE1vdmVdKSA9PiBzaG91bGRQcmV2ZW50TW92ZSksXG4gICAgICAgICAgICAgICAgdGFrZVVudGlsKGRlc3Ryb3kkKSxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKFttb3ZlRXZlbnRdKSA9PiB0aGlzLnByZXZlbnRFdmVudChtb3ZlRXZlbnQpKTtcbiAgICB9XG5cbiAgICBASG9zdExpc3RlbmVyKCdtb3VzZWRvd24nLCBbJyRldmVudCddKVxuICAgIHByZXZlbnRFdmVudChldmVudDogRXZlbnQpOiB2b2lkIHtcbiAgICAgICAgaWYgKGV2ZW50LmNhbmNlbGFibGUgJiYgdHVpQ29lcmNlQm9vbGVhblByb3BlcnR5KHRoaXMucmVhZG9ubHkpKSB7XG4gICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgQEhvc3RMaXN0ZW5lcigna2V5ZG93bicsIFsnJGV2ZW50J10pXG4gICAgcHJldmVudEtleWJvYXJkSW50ZXJhY3Rpb24oZXZlbnQ6IEtleWJvYXJkRXZlbnQpOiB2b2lkIHtcbiAgICAgICAgaWYgKFNMSURFUl9JTlRFUkFDVElPTl9LRVlTLmhhcyhldmVudC5rZXkpKSB7XG4gICAgICAgICAgICB0aGlzLnByZXZlbnRFdmVudChldmVudCk7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, ContentChild, } from '@angular/core';
|
|
3
|
-
import { NgControl } from '@angular/forms';
|
|
4
|
-
import { tuiAssert } from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiSliderComponent } from '../../slider.component';
|
|
6
|
-
var TuiSliderThumbLabelComponent = /** @class */ (function () {
|
|
7
|
-
function TuiSliderThumbLabelComponent() {
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(TuiSliderThumbLabelComponent.prototype, "size", {
|
|
10
|
-
get: function () {
|
|
11
|
-
var _a;
|
|
12
|
-
return ((_a = this.slider) === null || _a === void 0 ? void 0 : _a.size) || 'm';
|
|
13
|
-
},
|
|
14
|
-
enumerable: true,
|
|
15
|
-
configurable: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(TuiSliderThumbLabelComponent.prototype, "ratio", {
|
|
18
|
-
get: function () {
|
|
19
|
-
var _a;
|
|
20
|
-
return (((_a = this.slider) === null || _a === void 0 ? void 0 : _a.valuePercentage) || 0) / 100;
|
|
21
|
-
},
|
|
22
|
-
enumerable: true,
|
|
23
|
-
configurable: true
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(TuiSliderThumbLabelComponent.prototype, "ghostLeft", {
|
|
26
|
-
get: function () {
|
|
27
|
-
var _a;
|
|
28
|
-
return this.ratio * (((_a = this.slider) === null || _a === void 0 ? void 0 : _a.elementRef.nativeElement.offsetWidth) || 0);
|
|
29
|
-
},
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true
|
|
32
|
-
});
|
|
33
|
-
TuiSliderThumbLabelComponent.prototype.ngAfterContentInit = function () {
|
|
34
|
-
var _a;
|
|
35
|
-
tuiAssert.assert(Boolean((_a = this.control) === null || _a === void 0 ? void 0 : _a.valueChanges), "\n[tuiSliderThumbLabel] expected <input tuiSlider type=\"range\" /> to use Angular Forms.\n" +
|
|
36
|
-
'Use [(ngModel)] or [formControl] or formControlName for correct work.');
|
|
37
|
-
};
|
|
38
|
-
__decorate([
|
|
39
|
-
ContentChild(TuiSliderComponent)
|
|
40
|
-
], TuiSliderThumbLabelComponent.prototype, "slider", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
ContentChild(NgControl)
|
|
43
|
-
], TuiSliderThumbLabelComponent.prototype, "control", void 0);
|
|
44
|
-
TuiSliderThumbLabelComponent = __decorate([
|
|
45
|
-
Component({
|
|
46
|
-
selector: '[tuiSliderThumbLabel]',
|
|
47
|
-
template: "<ng-container *ngIf=\"control?.valueChanges | async\"></ng-container>\n\n<div\n class=\"t-ghost\"\n [attr.data-size]=\"size\"\n [style.left.px]=\"ghostLeft\"\n [style.--tui-slider-thumb-ratio]=\"ratio\"\n>\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"input[type=range]\"></ng-content>\n",
|
|
48
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
49
|
-
styles: [":host{position:relative}.t-ghost{position:absolute;top:0;bottom:0;margin:auto;border-radius:50%;pointer-events:none}.t-ghost[data-size='s']{width:.5rem;height:.5rem;transform:translateX(calc(var(--tui-slider-thumb-ratio) * -.5rem))}.t-ghost[data-size='m']{width:1rem;height:1rem;transform:translateX(calc(var(--tui-slider-thumb-ratio) * -1rem))}"]
|
|
50
|
-
})
|
|
51
|
-
], TuiSliderThumbLabelComponent);
|
|
52
|
-
return TuiSliderThumbLabelComponent;
|
|
53
|
-
}());
|
|
54
|
-
export { TuiSliderThumbLabelComponent };
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLXRodW1iLWxhYmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9zbGlkZXIvIiwic291cmNlcyI6WyJoZWxwZXJzL3NsaWRlci10aHVtYi1sYWJlbC9zbGlkZXItdGh1bWItbGFiZWwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBRUgsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxZQUFZLEdBQ2YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQ3pDLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHeEMsT0FBTyxFQUFDLGtCQ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JldHVybiB0aGlzLnNsaWRlcj8uc2l6ZSB8fCAnbSc7XG4gICAgfVxuXG4gICAgZ2V0IHJhdGlvKCk6IG51bWJlciB7XG4gICAgICAgIHJldHVybiAodGhpcy5zbGlkZXI/LnZhbHVlUGVyY2VudGFnZSB8fCAwKSAvIDEwMDtcbiAgICB9XG5cbiAgICBnZXQgZ2hvc3RMZWZ0KCk6IG51bWJlciB7XG4gICAgICAgIHJldHVybiB0aGlzLnJhdGlvICogKHRoaXMuc2xpZGVyPy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQub2Zmc2V0V2lkdGggfHwgMCk7XG4gICAgfVxuXG4gICAgbmdBZnRlckNvbnRlbnRJbml0KCk6IHZvaWQge1xuICAgICAgICB0dWlBc3NlcnQuYXNzZXJ0KFxuICAgICAgICAgICAgQm9vbGVhbih0aGlzLmNvbnRyb2w/LnZhbHVlQ2hhbmdlcyksXG4gICAgICAgICAgICBgXFxuW3R1aVNsaWRlclRodW1iTGFiZWxdIGV4cGVjdGVkIDxpbnB1dCB0dWlTbGlkZXIgdHlwZT1cInJhbmdlXCIgLz4gdG8gdXNlIEFuZ3VsYXIgRm9ybXMuXFxuYCArXG4gICAgICAgICAgICAgICAgJ1VzZSBbKG5nTW9kZWwpXSBvciBbZm9ybUNvbnRyb2xdIG9yIGZvcm1Db250cm9sTmFtZSBmb3IgY29ycmVjdCB3b3JrLicsXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './helpers/slider-key-steps.directive';
|
|
2
|
-
export * from './helpers/slider-readonly.directive';
|
|
3
|
-
export * from './helpers/slider-thumb-label/slider-thumb-label.component';
|
|
4
|
-
export * from './slider.component';
|
|
5
|
-
export * from './slider.module';
|
|
6
|
-
export * from './slider-old.component';
|
|
7
|
-
export * from './slider-options';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvc2xpZGVyLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQ0FBc0MsQ0FBQztBQUNyRCxjQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGNBQWMsMkRBQTJELENBQUM7QUFDMUUsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaGVscGVycy9zbGlkZXIta2V5LXN0ZXBzLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2hlbHBlcnMvc2xpZGVyLXJlYWRvbmx5LmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2hlbHBlcnMvc2xpZGVyLXRodW1iLWxhYmVsL3NsaWRlci10aHVtYi1sYWJlbC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zbGlkZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2xpZGVyLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3NsaWRlci1vbGQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2xpZGVyLW9wdGlvbnMnO1xuIl19
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { __decorate, __extends, __param } from "tslib";
|
|
2
|
-
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, forwardRef, Inject, Optional, Self, } from '@angular/core';
|
|
4
|
-
import { NgControl } from '@angular/forms';
|
|
5
|
-
import { isNativeFocused, TUI_FOCUSABLE_ITEM_ACCESSOR, } from '@taiga-ui/cdk';
|
|
6
|
-
import { AbstractTuiSlider } from '@taiga-ui/kit/abstract';
|
|
7
|
-
import { TUI_FROM_TO_TEXTS } from '@taiga-ui/kit/tokens';
|
|
8
|
-
import { Observable } from 'rxjs';
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated use {@link TuiSliderComponent} instead
|
|
11
|
-
* TODO: 3.0 remove
|
|
12
|
-
*/
|
|
13
|
-
// @dynamic
|
|
14
|
-
var TuiSliderOldComponent = /** @class */ (function (_super) {
|
|
15
|
-
__extends(TuiSliderOldComponent, _super);
|
|
16
|
-
function TuiSliderOldComponent(control, changeDetectorRef, documentRef, fromToTexts$) {
|
|
17
|
-
return _super.call(this, control, changeDetectorRef, documentRef, fromToTexts$) || this;
|
|
18
|
-
}
|
|
19
|
-
TuiSliderOldComponent_1 = TuiSliderOldComponent;
|
|
20
|
-
Object.defineProperty(TuiSliderOldComponent.prototype, "nativeFocusableElement", {
|
|
21
|
-
get: function () {
|
|
22
|
-
return this.dotRight ? this.dotRight.nativeElement : null;
|
|
23
|
-
},
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(TuiSliderOldComponent.prototype, "focused", {
|
|
28
|
-
get: function () {
|
|
29
|
-
return isNativeFocused(this.nativeFocusableElement);
|
|
30
|
-
},
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(TuiSliderOldComponent.prototype, "left", {
|
|
35
|
-
get: function () {
|
|
36
|
-
return 0;
|
|
37
|
-
},
|
|
38
|
-
enumerable: true,
|
|
39
|
-
configurable: true
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(TuiSliderOldComponent.prototype, "right", {
|
|
42
|
-
get: function () {
|
|
43
|
-
return 100 - 100 * this.getFractionFromValue(this.value);
|
|
44
|
-
},
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true
|
|
47
|
-
});
|
|
48
|
-
TuiSliderOldComponent.prototype.processValue = function (value) {
|
|
49
|
-
this.updateValue(this.valueGuard(value));
|
|
50
|
-
};
|
|
51
|
-
TuiSliderOldComponent.prototype.decrement = function () {
|
|
52
|
-
this.processStep(false);
|
|
53
|
-
};
|
|
54
|
-
TuiSliderOldComponent.prototype.increment = function () {
|
|
55
|
-
this.processStep(true);
|
|
56
|
-
};
|
|
57
|
-
TuiSliderOldComponent.prototype.getFallbackValue = function () {
|
|
58
|
-
return 0;
|
|
59
|
-
};
|
|
60
|
-
TuiSliderOldComponent.prototype.processStep = function (increment) {
|
|
61
|
-
var fraction = this.getFractionFromValue(this.value);
|
|
62
|
-
var step = this.computedStep;
|
|
63
|
-
var value = this.getValueFromFraction(increment ? fraction + step : fraction - step);
|
|
64
|
-
this.processValue(value);
|
|
65
|
-
};
|
|
66
|
-
var TuiSliderOldComponent_1;
|
|
67
|
-
TuiSliderOldComponent.ctorParameters = function () { return [
|
|
68
|
-
{ type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
|
|
69
|
-
{ type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
|
|
70
|
-
{ type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
|
|
71
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TUI_FROM_TO_TEXTS,] }] }
|
|
72
|
-
]; };
|
|
73
|
-
TuiSliderOldComponent = TuiSliderOldComponent_1 = __decorate([
|
|
74
|
-
Component({
|
|
75
|
-
selector: 'tui-slider',
|
|
76
|
-
template: "<div\n class=\"event-catcher\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (touchstart)=\"onTouchStart($event)\"\n>\n <div class=\"wrapper\">\n <div\n *ngIf=\"segmented\"\n class=\"segments\"\n >\n <span\n *tuiRepeatTimes=\"let segmentIndex of segments + 1\"\n automation-id=\"tui-slider__segment\"\n class=\"segment\"\n >\n <span\n *ngIf=\"fromToTexts$ | async as fromToText\"\n class=\"number\"\n >\n {{ getSegmentPrefix(segmentIndex, fromToText) }}\n {{ getSegmentLabel(segmentIndex) | tuiFormatNumber }}\n <span *ngIf=\"pluralizeMap\">\n {{ getSegmentLabel(segmentIndex) | i18nPlural: pluralizeMap }}\n </span>\n </span>\n </span>\n </div>\n <div\n automation-id=\"tui-slider__bar\"\n class=\"bar\"\n [style.left.%]=\"left\"\n [style.right.%]=\"right\"\n >\n <div\n #dotLeft\n automation-id=\"tui-slider__left\"\n class=\"dot\"\n [class.dot_focus-visible]=\"focusVisibleLeft && computedFocused\"\n [tuiFocusable]=\"isLeftFocusable\"\n (tuiFocusVisibleChange)=\"onLeftFocusVisible($event)\"\n (keydown.arrowLeft.prevent)=\"decrement()\"\n (keydown.arrowDown.prevent)=\"decrement()\"\n (keydown.arrowRight.prevent)=\"increment()\"\n (keydown.arrowUp.prevent)=\"increment()\"\n ></div>\n <div\n #dotRight\n automation-id=\"tui-slider__right\"\n class=\"dot\"\n [class.dot_focus-visible]=\"focusVisibleRight && computedFocused\"\n [tuiFocusable]=\"isRightFocusable\"\n (tuiFocusVisibleChange)=\"onRightFocusVisible($event)\"\n (keydown.arrowLeft.prevent)=\"decrement()\"\n (keydown.arrowDown.prevent)=\"decrement()\"\n (keydown.arrowRight.prevent)=\"increment()\"\n (keydown.arrowUp.prevent)=\"increment()\"\n ></div>\n </div>\n </div>\n</div>\n",
|
|
77
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
78
|
-
providers: [
|
|
79
|
-
{
|
|
80
|
-
provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
|
|
81
|
-
useExisting: forwardRef(function () { return TuiSliderOldComponent_1; }),
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
styles: [":host{display:block;border-radius:var(--tui-radius-m);color:var(--tui-base-03);min-height:.125rem;font-size:1rem}:host[data-size='s']{min-height:.125rem;font-size:.5rem}:host._segmented{padding-bottom:1.25rem}:host._disabled{cursor:default;pointer-events:none;opacity:var(--tui-disabled-opacity)}.event-catcher{min-height:inherit;border-radius:inherit;padding:.4375rem 0;cursor:pointer}.wrapper{position:relative;min-height:inherit;border-radius:inherit;background-color:currentColor;border:solid transparent;border-width:0 1em}.bar{position:absolute;top:0;bottom:0;margin:0 -1em;border-radius:inherit;background-color:var(--tui-primary)}:host-context(tui-input-slider) .bar{margin-left:calc(var(--tui-radius-m)/ 2);border-bottom-left-radius:calc(var(--tui-radius-m) * 5) calc(var(--tui-radius-m) * 1.5)}.dot{transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:50%;z-index:1;width:1em;height:1em;transform:translate(0,-50%);border-radius:100%;background-color:var(--tui-primary);outline:0;cursor:ew-resize}.dot:last-child{right:0;transform:translate(0,-50%)}.dot:hover{background-color:var(--tui-primary-hover)}.dot:active{background-color:var(--tui-primary-active)}.dot_focus-visible{box-shadow:inset 0 0 0 2px var(--tui-focus)}.segments{position:relative;z-index:1;display:flex;justify-content:space-between;min-height:inherit;margin:0 -1em}.segments-spacer{height:1.625rem}.segment{position:relative;height:inherit;width:.25rem;background-color:rgba(0,0,0,.36);pointer-events:none}.segment:first-of-type,.segment:last-of-type{background-color:transparent}.number{position:absolute;left:50%;transform:translate(-50%,0);top:100%;font:var(--tui-font-text-s);margin-top:.5rem;color:var(--tui-text-02);white-space:nowrap}.segment:first-of-type .number{left:-.05em;transform:none}.segment:last-of-type .number{left:auto;right:-.05em;transform:none}:host._disabled .number{color:var(--tui-text-01)}", ".dot:first-child{display:none}.wrapper{border-left:none}.bar,.segments{margin-left:0}"]
|
|
85
|
-
}),
|
|
86
|
-
__param(0, Optional()),
|
|
87
|
-
__param(0, Self()),
|
|
88
|
-
__param(0, Inject(NgControl)),
|
|
89
|
-
__param(1, Inject(ChangeDetectorRef)),
|
|
90
|
-
__param(2, Inject(DOCUMENT)),
|
|
91
|
-
__param(3, Inject(TUI_FROM_TO_TEXTS))
|
|
92
|
-
], TuiSliderOldComponent);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4gMDtcbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgcHJvY2Vzc1N0ZXAoaW5jcmVtZW50OiBib29sZWFuKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IGZyYWN0aW9uID0gdGhpcy5nZXRGcmFjdGlvbkZyb21WYWx1ZSh0aGlzLnZhbHVlKTtcbiAgICAgICAgY29uc3Qgc3RlcCA9IHRoaXMuY29tcHV0ZWRTdGVwO1xuICAgICAgICBjb25zdCB2YWx1ZSA9IHRoaXMuZ2V0VmFsdWVGcm9tRnJhY3Rpb24oXG4gICAgICAgICAgICBpbmNyZW1lbnQgPyBmcmFjdGlvbiArIHN0ZXAgOiBmcmFjdGlvbiAtIHN0ZXAsXG4gICAgICAgICk7XG5cbiAgICAgICAgdGhpcy5wcm9jZXNzVmFsdWUodmFsdWUpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
|
-
export var TUI_SLIDER_DEFAULT_OPTIONS = {
|
|
4
|
-
size: 'm',
|
|
5
|
-
trackColor: 'var(--tui-base-03)',
|
|
6
|
-
};
|
|
7
|
-
export var TUI_SLIDER_OPTIONS = new InjectionToken('Default parameters for Slider component', { factory: function () { return TUI_SLIDER_DEFAULT_OPTIONS; } });
|
|
8
|
-
export function tuiSliderOptionsProvider(options) {
|
|
9
|
-
return {
|
|
10
|
-
provide: TUI_SLIDER_OPTIONS,
|
|
11
|
-
useValue: __assign(__assign({}, TUI_SLIDER_DEFAULT_OPTIONS), options),
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLW9wdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvc2xpZGVyLyIsInNvdXJjZXMiOlsic2xpZGVyLW9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A9IG5ldyBJbmplY3Rpb25Ub2tlbjxUdWlTbGlkZXJPcHRpb25zPihcbiAgICAnRGVmYXVsdCBwYXJhbWV0ZXJzIGZvciBTbGlkZXIgY29tcG9uZW50JyxcbiAgICB7ZmFjdG9yeTogKCkgPT4gVFVJX1NMSURFUl9ERUZBVUxUX09QVElPTlN9LFxuKTtcblxuZXhwb3J0IGZ1bmN0aW9uIHR1aVNsaWRlck9wdGlvbnNQcm92aWRlcihcbiAgICBvcHRpb25zOiBQYXJ0aWFsPFR1aVNsaWRlck9wdGlvbnM+LFxuKTogVmFsdWVQcm92aWRlciB7XG4gICAgcmV0dXJuIHtcbiAgICAgICAgcHJvdmlkZTogVFVJX1NMSURFUl9PUFRJT05TLFxuICAgICAgICB1c2VWYWx1ZTogey4uLlRVSV9TTElERVJfREVGQVVMVF9PUFRJT05TLCAuLi5vcHRpb25zfSxcbiAgICB9O1xufVxuIl19
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, Inject, Input, Optional, Self, } from '@angular/core';
|
|
3
|
-
import { NgControl, NgModel } from '@angular/forms';
|
|
4
|
-
import { USER_AGENT } from '@ng-web-apis/common';
|
|
5
|
-
import { CHROMIUM_EDGE_START_VERSION, isEdgeOlderThan, tuiDefaultProp, watch, } from '@taiga-ui/cdk';
|
|
6
|
-
import { take } from 'rxjs/operators';
|
|
7
|
-
import { TUI_SLIDER_OPTIONS } from './slider-options';
|
|
8
|
-
var TuiSliderComponent = /** @class */ (function () {
|
|
9
|
-
function TuiSliderComponent(control, changeDetectorRef, options, elementRef, userAgent) {
|
|
10
|
-
var _a;
|
|
11
|
-
this.control = control;
|
|
12
|
-
this.options = options;
|
|
13
|
-
this.elementRef = elementRef;
|
|
14
|
-
this.userAgent = userAgent;
|
|
15
|
-
this.size = this.options.size;
|
|
16
|
-
this.segments = 1;
|
|
17
|
-
if (control instanceof NgModel) {
|
|
18
|
-
/**
|
|
19
|
-
* The ValueAccessor.writeValue method is called twice on any value accessor during component initialization,
|
|
20
|
-
* when a control is bound using [(ngModel)], first time with a phantom null value.
|
|
21
|
-
* With `changeDetection: ChangeDetectionStrategy.OnPush` the second call of writeValue with real value don't re-render the view.
|
|
22
|
-
* ___
|
|
23
|
-
* See this {@link https://github.com/angular/angular/issues/14988 issue}
|
|
24
|
-
*/
|
|
25
|
-
(_a = control.valueChanges) === null || _a === void 0 ? void 0 : _a.pipe(watch(changeDetectorRef), take(1)).subscribe();
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
Object.defineProperty(TuiSliderComponent.prototype, "min", {
|
|
29
|
-
get: function () {
|
|
30
|
-
return Number(this.elementRef.nativeElement.min);
|
|
31
|
-
},
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true
|
|
34
|
-
});
|
|
35
|
-
Object.defineProperty(TuiSliderComponent.prototype, "max", {
|
|
36
|
-
get: function () {
|
|
37
|
-
return Number(this.elementRef.nativeElement.max || 100);
|
|
38
|
-
},
|
|
39
|
-
enumerable: true,
|
|
40
|
-
configurable: true
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(TuiSliderComponent.prototype, "step", {
|
|
43
|
-
get: function () {
|
|
44
|
-
return Number(this.elementRef.nativeElement.step) || 1;
|
|
45
|
-
},
|
|
46
|
-
enumerable: true,
|
|
47
|
-
configurable: true
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(TuiSliderComponent.prototype, "value", {
|
|
50
|
-
get: function () {
|
|
51
|
-
var _a = this, elementRef = _a.elementRef, control = _a.control;
|
|
52
|
-
var noKeySteps = !elementRef.nativeElement.hasAttribute('data-key-steps');
|
|
53
|
-
if (noKeySteps && control instanceof NgModel) {
|
|
54
|
-
/**
|
|
55
|
-
* If developer uses `[(ngModel)]` and programmatically change value,
|
|
56
|
-
* the `elementRef.nativeElement.value` is equal to the previous value at this moment.
|
|
57
|
-
*/
|
|
58
|
-
return control.viewModel;
|
|
59
|
-
}
|
|
60
|
-
return Number(elementRef.nativeElement.value) || 0;
|
|
61
|
-
},
|
|
62
|
-
set: function (newValue) {
|
|
63
|
-
this.elementRef.nativeElement.value = "" + newValue;
|
|
64
|
-
},
|
|
65
|
-
enumerable: true,
|
|
66
|
-
configurable: true
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(TuiSliderComponent.prototype, "valuePercentage", {
|
|
69
|
-
get: function () {
|
|
70
|
-
return (100 * (this.value - this.min)) / (this.max - this.min) || 0;
|
|
71
|
-
},
|
|
72
|
-
enumerable: true,
|
|
73
|
-
configurable: true
|
|
74
|
-
});
|
|
75
|
-
Object.defineProperty(TuiSliderComponent.prototype, "segmentWidth", {
|
|
76
|
-
get: function () {
|
|
77
|
-
return 100 / Math.max(1, this.segments);
|
|
78
|
-
},
|
|
79
|
-
enumerable: true,
|
|
80
|
-
configurable: true
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(TuiSliderComponent.prototype, "isOldEdge", {
|
|
83
|
-
get: function () {
|
|
84
|
-
return isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent);
|
|
85
|
-
},
|
|
86
|
-
enumerable: true,
|
|
87
|
-
configurable: true
|
|
88
|
-
});
|
|
89
|
-
TuiSliderComponent.ctorParameters = function () { return [
|
|
90
|
-
{ type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
|
|
91
|
-
{ type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
|
|
92
|
-
{ type: undefined, decorators: [{ type: Inject, args: [TUI_SLIDER_OPTIONS,] }] },
|
|
93
|
-
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
|
|
94
|
-
{ type: String, decorators: [{ type: Inject, args: [USER_AGENT,] }] }
|
|
95
|
-
]; };
|
|
96
|
-
__decorate([
|
|
97
|
-
Input(),
|
|
98
|
-
HostBinding('attr.data-size'),
|
|
99
|
-
tuiDefaultProp()
|
|
100
|
-
], TuiSliderComponent.prototype, "size", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
Input(),
|
|
103
|
-
tuiDefaultProp()
|
|
104
|
-
], TuiSliderComponent.prototype, "segments", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
HostBinding('style.--tui-slider-fill-percentage.%')
|
|
107
|
-
], TuiSliderComponent.prototype, "valuePercentage", null);
|
|
108
|
-
__decorate([
|
|
109
|
-
HostBinding('style.--tui-slider-segment-width.%')
|
|
110
|
-
], TuiSliderComponent.prototype, "segmentWidth", null);
|
|
111
|
-
__decorate([
|
|
112
|
-
HostBinding('class._old-edge')
|
|
113
|
-
], TuiSliderComponent.prototype, "isOldEdge", null);
|
|
114
|
-
TuiSliderComponent = __decorate([
|
|
115
|
-
Component({
|
|
116
|
-
/**
|
|
117
|
-
* We have to call our component as `<input tuiSlider type="range" ... />`
|
|
118
|
-
* because otherwise built-in angular
|
|
119
|
-
* {@link https://github.com/angular/angular/blob/master/packages/forms/src/directives/range_value_accessor.ts#L45 RangeValueAccessor}
|
|
120
|
-
* cannot be matched by its CSS selector.
|
|
121
|
-
*/
|
|
122
|
-
selector: 'input[type=range][tuiSlider]',
|
|
123
|
-
template: "",
|
|
124
|
-
host: {
|
|
125
|
-
/**
|
|
126
|
-
* For change detection.
|
|
127
|
-
* Webkit does not have built-in method for customization of filling progress (as Firefox).
|
|
128
|
-
* We draw filling of progress by `background: linear-gradient(...)` of the track.
|
|
129
|
-
* This function triggers change detection (for {@link valuePercentage} function) when we drag thumb of the input.
|
|
130
|
-
*/
|
|
131
|
-
'(input)': '0',
|
|
132
|
-
'[style.--tui-slider-track-color]': 'options.trackColor',
|
|
133
|
-
},
|
|
134
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
135
|
-
styles: [":host{display:block;width:100%;color:var(--tui-primary);cursor:pointer}:host:active{cursor:ew-resize}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:auto}:host:not(._old-edge){-webkit-appearance:none;-moz-appearance:none;appearance:none;height:.125rem;padding:.4375rem 0;background-color:transparent;background-clip:content-box;outline:0;border-radius:var(--tui-radius-m)}:host:not(._old-edge)::-webkit-slider-container{border-radius:inherit}:host:not(._old-edge)[data-size='m']::-webkit-slider-runnable-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .625rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width)),linear-gradient(to right,currentColor var(--tui-slider-fill-percentage),transparent var(--tui-slider-fill-percentage));background-position-x:0,.375rem,0;background-size:calc(100% - 1rem),calc(100% - 1rem),auto}:host:not(._old-edge)[data-size='s']::-webkit-slider-runnable-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .375rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width)),linear-gradient(to right,currentColor var(--tui-slider-fill-percentage),transparent var(--tui-slider-fill-percentage));background-position-x:0,.125rem,0;background-size:calc(100% - .5rem),calc(100% - .5rem),auto}:host:not(._old-edge)[data-size='m']::-moz-range-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .625rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width));background-position-x:0,.375rem;background-size:calc(100% - 1rem)}:host:not(._old-edge)[data-size='s']::-moz-range-track{height:.125rem;border-radius:inherit;background-repeat:no-repeat;background-color:var(--tui-slider-track-color);background-image:linear-gradient(to right,currentColor 0 .375rem,transparent .25rem),repeating-linear-gradient(to right,var(--tui-base-07) 0 .25rem,transparent 0 var(--tui-slider-segment-width));background-position-x:0,.125rem;background-size:calc(100% - .5rem)}:host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:1rem;width:1rem;margin-top:-.4375rem}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='m']::-webkit-slider-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='m']::-webkit-slider-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:.5rem;width:.5rem;margin-top:-.1875rem}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='s']::-webkit-slider-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='s']::-webkit-slider-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='m']::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:1rem;width:1rem}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='m']::-moz-range-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='m']::-moz-range-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)[data-size='s']::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border:none;border-radius:50%;height:.5rem;width:.5rem}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb{cursor:ew-resize}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb:hover{background:var(--tui-primary-hover)}:not(:disabled):host:not(._old-edge)[data-size='s']::-moz-range-thumb:active{background:var(--tui-primary-active)}:focus-visible:host:not(._old-edge)[data-size='s']::-moz-range-thumb{box-shadow:0 0 0 2px inset var(--tui-focus)}:host:not(._old-edge)::-moz-range-progress{background:currentColor;border-radius:inherit;border-top-right-radius:0;border-bottom-right-radius:0}:host._old-edge::-ms-thumb{background:currentColor;border-radius:50%}:host._old-edge::-ms-fill-lower{background:currentColor}:host._old-edge::-ms-track{background:var(--tui-slider-track-color);border:none}"]
|
|
136
|
-
}),
|
|
137
|
-
__param(0, Optional()),
|
|
138
|
-
__param(0, Self()),
|
|
139
|
-
__param(0, Inject(NgControl)),
|
|
140
|
-
__param(1, Inject(ChangeDetectorRef)),
|
|
141
|
-
__param(2, Inject(TUI_SLIDER_OPTIONS)),
|
|
142
|
-
__param(3, Inject(ElementRef)),
|
|
143
|
-
__param(4, Inject(USER_AGENT))
|
|
144
|
-
], TuiSliderComponent);
|
|
145
|
-
return TuiSliderComponent;
|
|
146
|
-
}());
|
|
147
|
-
export { TuiSliderComponent };
|
|
148
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy9zbGlkZXIvIiwic291cmNlcyI6WyJzbGlkZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsVUFBVSxFQUNWLFdBQVcsRUFDWCxNQUFNLEVBQ04sS0FBSyxFQUNMLFFBQVEsRUFDUixJQUFJLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLFN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