@taiga-ui/kit 2.61.0 → 3.0.0-rc.2
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/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 +564 -412
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +431 -311
- 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 +427 -305
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.js +427 -303
- package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +438 -304
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +400 -342
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -344
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +499 -366
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +599 -438
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +455 -324
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +419 -311
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +434 -311
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +537 -405
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +471 -350
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +525 -379
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +455 -324
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +476 -356
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +516 -392
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +567 -436
- 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 +544 -415
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +540 -406
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +535 -394
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +426 -300
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +505 -371
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +488 -356
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +516 -390
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +480 -360
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +715 -828
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +515 -403
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +564 -419
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +503 -460
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +636 -492
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +497 -367
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +438 -338
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-island.umd.js +427 -310
- package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +528 -324
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js +406 -287
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +382 -271
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +730 -575
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +482 -357
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +434 -313
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +551 -492
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +454 -338
- 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 +450 -327
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +461 -326
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +474 -345
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +535 -461
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +452 -320
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +74 -285
- package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +487 -365
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +580 -570
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +487 -353
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +746 -636
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +527 -385
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +525 -392
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +482 -343
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +675 -503
- 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 +341 -280
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +507 -0
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-directives-highlight.umd.js +403 -290
- package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +421 -308
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-present.umd.js +64 -279
- package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -272
- package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +64 -276
- 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 +20 -50
- 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 +438 -310
- 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 +43 -261
- 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 +17 -49
- package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +41 -287
- 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-files.umd.js +10 -18
- package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-format.umd.js +8 -8
- package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +347 -273
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +335 -257
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +341 -275
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils.umd.js +15 -33
- package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-validators.umd.js +7 -3
- 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 +8 -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/index.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 +5 -3
- 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/index.d.ts +0 -1
- 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/index.d.ts +0 -1
- package/components/input-copy/input-copy.component.d.ts +6 -5
- 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/index.d.ts +0 -1
- 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/package.json +2 -5
- package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
- package/components/input-date-range/index.d.ts +0 -1
- 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/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/index.d.ts +0 -1
- 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/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/index.d.ts +0 -1
- 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/index.d.ts +0 -1
- 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 +10 -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/index.d.ts +0 -1
- package/components/input-phone/input-phone.component.d.ts +6 -4
- 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-phone-international/utils/extract-value-from-event.d.ts +1 -5
- package/components/input-range/input-range.component.d.ts +13 -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 -36
- 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-options.d.ts +4 -1
- package/components/input-tag/input-tag.component.d.ts +10 -12
- 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/index.d.ts +1 -0
- package/components/line-clamp/line-clamp-box.component.d.ts +7 -0
- package/components/line-clamp/line-clamp-position.directive.d.ts +9 -0
- package/components/line-clamp/line-clamp.component.d.ts +5 -2
- package/components/line-clamp/line-clamp.module.d.ts +11 -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 -9
- 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 -2
- 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 -2
- 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 +9 -29
- 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/index.d.ts +0 -1
- 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/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 -19
- 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 +4 -1
- 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 -4
- package/components/tabs/tabs/tabs.component.d.ts +4 -6
- package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +5 -1
- package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +3 -9
- 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 -5
- 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/index.d.ts +0 -1
- 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/tree-item.providers.d.ts +0 -1
- 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/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +15 -0
- package/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.d.ts +7 -0
- package/directives/data-list-dropdown-manager/index.d.ts +2 -0
- package/directives/data-list-dropdown-manager/package.json +10 -0
- package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +5 -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/index.d.ts +1 -3
- 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/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 +76 -64
- package/esm2015/components/accordion/accordion.component.js +32 -26
- 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 +49 -46
- 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 +3 -6
- package/esm2015/components/arrow/arrow.component.js +36 -24
- 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 +1 -1
- package/esm2015/components/avatar/avatar.component.js +48 -34
- 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 +53 -38
- 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 +52 -28
- 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 +44 -24
- 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 -43
- 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 +64 -51
- 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 +19 -19
- package/esm2015/components/carousel/carousel.component.js +74 -51
- package/esm2015/components/carousel/carousel.directive.js +23 -21
- 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 +50 -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 +68 -54
- 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 +56 -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 +82 -56
- package/esm2015/components/combo-box/combo-box.directive.js +15 -19
- package/esm2015/components/combo-box/combo-box.module.js +48 -23
- package/esm2015/components/combo-box/index.js +1 -2
- 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 +31 -29
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +28 -27
- package/esm2015/components/data-list-wrapper/data-list-wrapper.js +23 -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 +63 -49
- 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 +54 -43
- 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 -2
- package/esm2015/components/input/input.component.js +55 -50
- package/esm2015/components/input/input.directive.js +15 -19
- package/esm2015/components/input/input.module.js +24 -13
- package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
- package/esm2015/components/input-copy/index.js +1 -2
- package/esm2015/components/input-copy/input-copy.component.js +69 -51
- package/esm2015/components/input-copy/input-copy.directive.js +15 -19
- package/esm2015/components/input-copy/input-copy.module.js +32 -14
- 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 +3 -6
- package/esm2015/components/input-count/input-count.component.js +88 -77
- package/esm2015/components/input-count/input-count.directive.js +15 -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 -2
- package/esm2015/components/input-date/input-date.component.js +99 -67
- package/esm2015/components/input-date/input-date.directive.js +15 -19
- package/esm2015/components/input-date/input-date.module.js +40 -13
- package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
- package/esm2015/components/input-date-range/index.js +1 -2
- package/esm2015/components/input-date-range/input-date-range.component.js +108 -75
- package/esm2015/components/input-date-range/input-date-range.directive.js +15 -19
- package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
- 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 -2
- package/esm2015/components/input-date-time/input-date-time.component.js +88 -60
- package/esm2015/components/input-date-time/input-date-time.directive.js +15 -19
- package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
- 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 +68 -63
- 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 +45 -36
- 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 -2
- package/esm2015/components/input-month/input-month.component.js +61 -40
- package/esm2015/components/input-month/input-month.directive.js +29 -30
- package/esm2015/components/input-month/input-month.module.js +34 -14
- package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
- package/esm2015/components/input-month-range/index.js +1 -2
- package/esm2015/components/input-month-range/input-month-range.component.js +61 -40
- package/esm2015/components/input-month-range/input-month-range.directive.js +29 -30
- package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
- 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 +81 -70
- package/esm2015/components/input-number/input-number.directive.js +15 -19
- 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 +3 -6
- package/esm2015/components/input-password/input-password.component.js +68 -62
- package/esm2015/components/input-password/input-password.directive.js +15 -19
- package/esm2015/components/input-password/input-password.module.js +36 -17
- package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
- package/esm2015/components/input-phone/index.js +1 -2
- package/esm2015/components/input-phone/input-phone.component.js +87 -59
- package/esm2015/components/input-phone/input-phone.directive.js +15 -19
- package/esm2015/components/input-phone/input-phone.module.js +28 -13
- package/esm2015/components/input-phone/input-phone.options.js +1 -1
- 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 +77 -62
- package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
- package/esm2015/components/input-phone-international/input-phone-international.options.js +1 -1
- 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 +211 -3
- package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +5 -11
- package/esm2015/components/input-range/index.js +1 -1
- package/esm2015/components/input-range/input-range.component.js +135 -118
- 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 +90 -162
- 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 +8 -1
- package/esm2015/components/input-tag/input-tag.component.js +161 -157
- 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 +2 -4
- package/esm2015/components/input-time/input-time.component.js +70 -57
- 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 +50 -39
- 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 +2 -1
- package/esm2015/components/line-clamp/line-clamp-box.component.js +32 -0
- package/esm2015/components/line-clamp/line-clamp-options.js +1 -1
- package/esm2015/components/line-clamp/line-clamp-position.directive.js +26 -0
- package/esm2015/components/line-clamp/line-clamp.component.js +72 -47
- package/esm2015/components/line-clamp/line-clamp.module.js +34 -13
- 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 +37 -27
- 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 +41 -38
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +61 -50
- package/esm2015/components/multi-select/multi-select-options.js +1 -1
- package/esm2015/components/multi-select/multi-select.component.js +101 -94
- 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 +22 -18
- 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 +64 -60
- 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 +38 -30
- package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
- package/esm2015/components/pdf-viewer/pdf-viewer.module.js +17 -21
- package/esm2015/components/pdf-viewer/pdf-viewer.service.js +11 -12
- 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 +25 -18
- 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 +31 -31
- 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 +1 -1
- package/esm2015/components/radio/radio.component.js +72 -60
- 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 +76 -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 +64 -56
- 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 +65 -47
- 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 +39 -33
- package/esm2015/components/range/range.component.js +110 -155
- 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 +1 -1
- package/esm2015/components/rating/rating.component.js +59 -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 -2
- package/esm2015/components/select/select-options.js +1 -1
- package/esm2015/components/select/select.component.js +76 -50
- package/esm2015/components/select/select.directive.js +15 -19
- package/esm2015/components/select/select.module.js +34 -14
- 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 +40 -33
- 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 +51 -77
- package/esm2015/components/slider/helpers/slider-readonly.directive.js +37 -32
- package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +22 -19
- package/esm2015/components/slider/index.js +1 -2
- package/esm2015/components/slider/slider-options.js +1 -1
- package/esm2015/components/slider/slider.component.js +75 -60
- 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 +62 -48
- package/esm2015/components/stepper/stepper.component.js +48 -34
- 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 +10 -12
- package/esm2015/components/tabs/tabs/tabs.component.js +81 -77
- package/esm2015/components/tabs/tabs-options.js +1 -1
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +79 -59
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +14 -18
- 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 +49 -60
- package/esm2015/components/tag/index.js +1 -1
- package/esm2015/components/tag/tag-options.js +1 -1
- package/esm2015/components/tag/tag.component.js +103 -81
- 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 -2
- package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
- package/esm2015/components/text-area/text-area.component.js +105 -80
- package/esm2015/components/text-area/text-area.directive.js +15 -19
- package/esm2015/components/text-area/text-area.module.js +35 -15
- 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 +1 -1
- package/esm2015/components/toggle/toggle.component.js +70 -57
- 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 +2 -6
- 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 +41 -28
- 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 -19
- package/esm2015/components/tree/misc/tree.tokens.js +1 -1
- 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 +1 -1
- package/esm2015/constants/empty-mask.js +1 -1
- package/esm2015/constants/group-class-names.js +1 -1
- package/esm2015/constants/icon-blank.js +1 -1
- package/esm2015/constants/index.js +1 -1
- package/esm2015/constants/masks.js +2 -27
- package/esm2015/constants/math.js +1 -1
- package/esm2015/constants/max-day-range-length-mapper.js +5 -4
- package/esm2015/constants/max-time-values.js +1 -1
- package/esm2015/constants/router-link-options.js +1 -1
- package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +100 -0
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +16 -0
- package/esm2015/directives/data-list-dropdown-manager/index.js +3 -0
- package/esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js +5 -0
- package/esm2015/directives/highlight/highlight.directive.js +41 -37
- 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 +2 -4
- package/esm2015/directives/lazy-loading/index.js +1 -1
- package/esm2015/directives/lazy-loading/lazy-loading.directive.js +35 -32
- package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
- package/esm2015/directives/lazy-loading/lazy-loading.service.js +21 -18
- 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 +33 -30
- 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 -19
- 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 +31 -24
- 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/file-like.js +2 -1
- package/esm2015/interfaces/index.js +4 -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 +51 -38
- 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 +17 -17
- package/esm2015/pipes/field-error/field-error-pipe.js +53 -36
- 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 +9 -15
- 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 +12 -10
- 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 +8 -13
- package/esm2015/providers/specific-dropdown-controllers.js +6 -29
- 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-date-stream.js +15 -0
- package/esm2015/tokens/date-inputs-value-transformers.js +1 -1
- package/esm2015/tokens/i18n.js +21 -21
- package/esm2015/tokens/index.js +2 -4
- package/esm2015/tokens/items-handlers.js +1 -1
- package/esm2015/tokens/mobile-calendar.js +1 -1
- package/esm2015/tokens/month-formatter.js +1 -1
- package/esm2015/tokens/tab-margin.js +1 -1
- package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
- package/esm2015/tokens/validation-errors.js +1 -1
- 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/files/format-size.js +4 -9
- package/esm2015/utils/files/get-accept-array.js +2 -7
- 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 +2 -5
- package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
- package/esm2015/utils/index.js +1 -2
- package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +3 -8
- package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
- package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +5 -5
- package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +1 -1
- package/esm2015/utils/mask/create-date-mask.js +1 -1
- package/esm2015/utils/mask/create-date-range-mask.js +1 -1
- package/esm2015/utils/mask/create-time-mask.js +1 -1
- 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 +1 -1
- package/esm2015/utils/math/index.js +1 -1
- package/esm2015/utils/math/key-steps.js +3 -6
- package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
- package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +1 -1
- package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
- package/esm2015/utils/miscellaneous/get-precision.js +2 -5
- 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 +1 -1
- package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js +176 -126
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js +73 -55
- package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-arrow.js +52 -38
- package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +61 -42
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badge.js +66 -46
- package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js +66 -37
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +54 -89
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -53
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +95 -61
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js +212 -159
- package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js +90 -61
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +67 -61
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox.js +75 -54
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +156 -126
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +101 -85
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +122 -81
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +83 -55
- package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -87
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +130 -106
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +162 -126
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +143 -112
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +148 -113
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +122 -77
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js +68 -44
- package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +127 -94
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +119 -90
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +120 -93
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +116 -95
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +336 -547
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +124 -111
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +166 -129
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +121 -178
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +208 -167
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +100 -70
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +87 -89
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-island.js +63 -47
- package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +150 -57
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js +51 -36
- package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js +35 -26
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +270 -209
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +91 -68
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +86 -71
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +179 -205
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-block.js +87 -73
- 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 +86 -65
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-list.js +89 -56
- package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +97 -70
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +159 -197
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +82 -52
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +52 -40
- package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +118 -96
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +204 -276
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +119 -88
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +327 -318
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +131 -92
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +149 -118
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +102 -65
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tree.js +287 -219
- 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 +6 -30
- package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +120 -0
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +1 -0
- package/fesm2015/taiga-ui-kit-directives-highlight.js +52 -43
- package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +65 -54
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-present.js +44 -36
- package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -25
- package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +43 -31
- 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 +1 -3
- 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 +63 -45
- 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 +78 -55
- package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +52 -49
- 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 +23 -16
- 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 +14 -43
- package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +35 -33
- 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-files.js +5 -15
- package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-format.js +2 -5
- package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-mask.js +6 -11
- 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 +6 -17
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils.js +0 -1
- package/fesm2015/taiga-ui-kit-utils.js.map +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 -2
- 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/month-formatter.provider.d.ts +0 -7
- package/providers/package.json +2 -5
- package/providers/specific-dropdown-controllers.d.ts +1 -6
- 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/calendar-date-stream.d.ts +5 -0
- package/tokens/index.d.ts +1 -3
- package/tokens/package.json +2 -5
- 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/files/format-size.d.ts +1 -5
- package/utils/files/get-accept-array.d.ts +1 -5
- 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/string-hash-to-hsl.d.ts +1 -3
- package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
- package/utils/index.d.ts +0 -1
- package/utils/mask/create-auto-corrected-date-pipe.d.ts +1 -5
- 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/get-precision.d.ts +1 -3
- 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/index.d.ts +0 -2
- package/abstract/input-slider.d.ts +0 -77
- package/abstract/package.json +0 -13
- package/abstract/slider/slider.d.ts +0 -67
- package/abstract/taiga-ui-kit-abstract.d.ts +0 -4
- package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
- package/bundles/taiga-ui-kit-abstract.umd.js +0 -750
- package/bundles/taiga-ui-kit-abstract.umd.js.map +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.js +0 -408
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.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.js +0 -323
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.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.js +0 -514
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.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.js +0 -122
- package/bundles/taiga-ui-kit-utils-dom.umd.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/combo-box.providers.d.ts +0 -2
- 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/input.providers.d.ts +0 -1
- package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
- package/components/input-copy/input-copy.providers.d.ts +0 -2
- 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/input-date.providers.d.ts +0 -5
- package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
- package/components/input-date-range/input-date-range.providers.d.ts +0 -5
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
- package/components/input-date-time/input-date-time.providers.d.ts +0 -5
- 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/input-month.providers.d.ts +0 -2
- package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
- package/components/input-month-range/input-month-range.providers.d.ts +0 -2
- 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/input-phone.providers.d.ts +0 -5
- 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/select.providers.d.ts +0 -2
- 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/text-area/text-area.providers.d.ts +0 -2
- 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/dropdown-context.directive.d.ts +0 -27
- package/directives/dropdown-context/dropdown-context.module.d.ts +0 -2
- package/directives/dropdown-context/index.d.ts +0 -2
- package/directives/dropdown-context/package.json +0 -13
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +0 -4
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
- package/directives/dropdown-hover/dropdown-hover.directive.d.ts +0 -8
- package/directives/dropdown-hover/dropdown-hover.module.d.ts +0 -2
- package/directives/dropdown-hover/index.d.ts +0 -2
- package/directives/dropdown-hover/package.json +0 -13
- package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +0 -4
- package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
- package/directives/dropdown-selection/dropdown-selection.directive.d.ts +0 -43
- package/directives/dropdown-selection/dropdown-selection.module.d.ts +0 -2
- package/directives/dropdown-selection/index.d.ts +0 -2
- package/directives/dropdown-selection/package.json +0 -13
- package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +0 -4
- 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/index.js +0 -3
- package/esm2015/abstract/input-slider.js +0 -171
- package/esm2015/abstract/slider/slider.js +0 -262
- package/esm2015/abstract/taiga-ui-kit-abstract.js +0 -5
- package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
- package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
- package/esm2015/components/combo-box/combo-box.providers.js +0 -28
- 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/input.providers.js +0 -22
- package/esm2015/components/input-copy/input-copy.providers.js +0 -16
- package/esm2015/components/input-date/input-date.providers.js +0 -29
- package/esm2015/components/input-date-range/input-date-range.providers.js +0 -29
- package/esm2015/components/input-date-time/input-date-time.providers.js +0 -29
- 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-month/input-month.providers.js +0 -19
- package/esm2015/components/input-month-range/input-month-range.providers.js +0 -19
- package/esm2015/components/input-phone/input-phone.providers.js +0 -35
- 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/select/select.providers.js +0 -28
- package/esm2015/components/slider/slider-old.component.js +0 -77
- package/esm2015/components/tabs/tab.directive.js +0 -18
- package/esm2015/components/text-area/text-area.providers.js +0 -18
- package/esm2015/directives/dropdown-context/dropdown-context.directive.js +0 -125
- package/esm2015/directives/dropdown-context/dropdown-context.module.js +0 -15
- package/esm2015/directives/dropdown-context/index.js +0 -3
- package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
- package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +0 -50
- package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +0 -13
- package/esm2015/directives/dropdown-hover/index.js +0 -3
- package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
- package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +0 -231
- package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +0 -15
- package/esm2015/directives/dropdown-selection/index.js +0 -3
- package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
- 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/bread-crumbs-item.js +0 -1
- package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
- package/esm2015/tokens/calendar-data-stream.js +0 -3
- package/esm2015/tokens/mobile-aware.js +0 -6
- package/esm2015/tokens/tag-status.js +0 -6
- package/esm2015/utils/dom/get-word-range.js +0 -53
- package/esm2015/utils/dom/index.js +0 -4
- package/esm2015/utils/dom/scroll-to-element.js +0 -23
- package/esm2015/utils/dom/set-range-offset.js +0 -29
- package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
- 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 -106
- 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 -34
- 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 -306
- 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 -27
- 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 -136
- 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 -161
- 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 -248
- 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-abstract.js +0 -434
- package/fesm2015/taiga-ui-kit-abstract.js.map +0 -1
- 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-directives-dropdown-context.js +0 -141
- package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +0 -65
- package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +0 -247
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
- package/fesm2015/taiga-ui-kit-enums.js +0 -84
- package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils-dom.js +0 -111
- package/fesm2015/taiga-ui-kit-utils-dom.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 -128
- 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 -225
- 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 -336
- 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 -185
- 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 -560
- 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 -267
- 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/bread-crumbs-item.d.ts +0 -6
- 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/calendar-data-stream.d.ts +0 -4
- package/tokens/mobile-aware.d.ts +0 -3
- package/tokens/tag-status.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/get-word-range.d.ts +0 -9
- package/utils/dom/index.d.ts +0 -3
- package/utils/dom/package.json +0 -13
- package/utils/dom/scroll-to-element.d.ts +0 -5
- package/utils/dom/set-range-offset.d.ts +0 -6
- package/utils/dom/taiga-ui-kit-utils-dom.d.ts +0 -4
- 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-tabs.js","sources":["ng://@taiga-ui/kit/components/tabs/tab.directive.ts","ng://@taiga-ui/kit/components/tabs/tab/tab.providers.ts","ng://@taiga-ui/kit/components/tabs/tab/tab.component.ts","ng://@taiga-ui/kit/components/tabs/tabs-options.ts","ng://@taiga-ui/kit/components/tabs/tabs/tabs.component.ts","ng://@taiga-ui/kit/components/tabs/tabs-with-more/tabs-with-more.providers.ts","ng://@taiga-ui/kit/components/tabs/tabs-with-more/tabs-with-more.component.ts","ng://@taiga-ui/kit/components/tabs/underline/underline.component.ts","ng://@taiga-ui/kit/components/tabs/tabs.module.ts","ng://@taiga-ui/kit/components/tabs/taiga-ui-kit-components-tabs.ts"],"sourcesContent":["import {Directive, Inject, TemplateRef} from '@angular/core';\n\n@Directive({\n selector: `ng-template[tuiTab]`,\n})\nexport class TuiTabDirective {\n constructor(\n @Inject(TemplateRef) readonly template: TemplateRef<Record<string, unknown>>,\n ) {}\n}\n","import {DOCUMENT} from '@angular/common';\nimport {ElementRef, InjectionToken, Optional, Provider} from '@angular/core';\nimport {RouterLinkActive} from '@angular/router';\nimport {MutationObserverService} from '@ng-web-apis/mutation-observer';\nimport {\n tuiCustomEvent,\n TuiDestroyService,\n TuiFocusVisibleService,\n typedFromEvent,\n} from '@taiga-ui/cdk';\nimport {MODE_PROVIDER, TuiRouterLinkActiveService} from '@taiga-ui/core';\nimport {EMPTY, identity, merge, Observable} from 'rxjs';\nimport {filter, map} from 'rxjs/operators';\n\nexport const TUI_TAB_ACTIVATE = `tui-tab-activate`;\nexport const TUI_TAB_EVENT = new InjectionToken<Observable<Event>>(\n `Stream of tab activation events`,\n);\nexport const TUI_TAB_PROVIDERS: Provider[] = [\n TuiDestroyService,\n TuiFocusVisibleService,\n TuiRouterLinkActiveService,\n {\n provide: TUI_TAB_EVENT,\n deps: [\n ElementRef,\n DOCUMENT,\n TuiRouterLinkActiveService,\n [new Optional(), MutationObserverService],\n [new Optional(), RouterLinkActive],\n ],\n useFactory: tabActiveFactory,\n },\n MODE_PROVIDER,\n];\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function tabActiveFactory(\n {nativeElement}: ElementRef<HTMLElement>,\n documentRef: Document,\n routerLinkActiveService: Observable<boolean>,\n mutationObserverService: MutationObserverService | null,\n routerLinkActive: RouterLinkActive | null,\n): Observable<unknown> {\n const mutationObserver =\n routerLinkActive && mutationObserverService\n ? mutationObserverService.pipe(filter(() => routerLinkActive.isActive))\n : EMPTY;\n\n return merge(\n mutationObserver,\n routerLinkActiveService.pipe(filter(identity)),\n nativeElement.matches(`button`) ? typedFromEvent(nativeElement, `click`) : EMPTY,\n ).pipe(\n map(() =>\n nativeElement.dispatchEvent(\n tuiCustomEvent(TUI_TAB_ACTIVATE, {bubbles: true}, documentRef),\n ),\n ),\n );\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n OnDestroy,\n Optional,\n} from '@angular/core';\nimport {RouterLinkActive} from '@angular/router';\nimport {\n isNativeFocused,\n setNativeFocused,\n TUI_IS_ANDROID,\n TUI_IS_IOS,\n TuiFocusVisibleService,\n} from '@taiga-ui/cdk';\nimport {TUI_MODE, TuiBrightness} from '@taiga-ui/core';\nimport {TUI_MOBILE_AWARE, TUI_TAB_MARGIN} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\nimport {TUI_TAB_EVENT, TUI_TAB_PROVIDERS} from './tab.providers';\n\n@Component({\n selector: `a[tuiTab]:not([routerLink]), a[tuiTab][routerLink][routerLinkActive], button[tuiTab]`,\n templateUrl: `./tab.template.html`,\n styleUrls: [`./tab.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_TAB_PROVIDERS,\n host: {\n '($.data-mode.attr)': `mode$`,\n '[style.--tui-tab-margin.px]': `margin`,\n type: `button`,\n },\n})\nexport class TuiTabComponent implements OnDestroy {\n @HostBinding(`class._ios`)\n readonly isIos: boolean;\n\n @HostBinding(`class._android`)\n readonly isAndroid: boolean;\n\n @HostBinding(`class._focus-visible`)\n focusVisible = false;\n\n constructor(\n @Optional()\n @Inject(RouterLinkActive)\n private readonly routerLinkActive: RouterLinkActive | null,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_TAB_EVENT) readonly event$: Observable<Event>,\n @Inject(TUI_TAB_MARGIN) readonly margin: number,\n @Inject(TUI_MOBILE_AWARE) mobileAware: boolean,\n @Inject(TUI_IS_IOS) isIos: boolean,\n @Inject(TUI_IS_ANDROID) isAndroid: boolean,\n @Inject(TuiFocusVisibleService) focusVisible$: TuiFocusVisibleService,\n ) {\n this.isIos = mobileAware && isIos;\n this.isAndroid = mobileAware && isAndroid;\n\n focusVisible$.subscribe(visible => {\n this.focusVisible = visible;\n });\n }\n\n @HostBinding(`class._active`)\n get isActive(): boolean {\n return !!this.routerLinkActive && this.routerLinkActive.isActive;\n }\n\n ngOnDestroy(): void {\n if (isNativeFocused(this.elementRef.nativeElement)) {\n setNativeFocused(this.elementRef.nativeElement, false);\n }\n }\n}\n","import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiTabsOptions {\n readonly underline: boolean;\n readonly exposeActive: boolean;\n readonly itemsLimit: number;\n}\n\nexport const TUI_TABS_DEFAULT_OPTIONS: TuiTabsOptions = {\n underline: true,\n exposeActive: true,\n itemsLimit: Infinity,\n};\n\nexport const TUI_TABS_OPTIONS = new InjectionToken<TuiTabsOptions>(\n `Default parameters for tabs component`,\n {\n factory: () => TUI_TABS_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiTabsOptionsProvider: (\n options: Partial<TuiTabsOptions>,\n) => ValueProvider = (options: Partial<TuiTabsOptions>) => ({\n provide: TUI_TABS_OPTIONS,\n useValue: {...TUI_TABS_DEFAULT_OPTIONS, ...options},\n});\n","import {\n AfterViewChecked,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Output,\n QueryList,\n Renderer2,\n} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {\n EMPTY_QUERY,\n moveFocus,\n TUI_IS_ANDROID,\n TUI_IS_IOS,\n tuiDefaultProp,\n TuiDestroyService,\n TuiResizeService,\n} from '@taiga-ui/cdk';\nimport {TUI_MOBILE_AWARE} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\nimport {filter} from 'rxjs/operators';\n\nimport {TuiTabComponent} from '../tab/tab.component';\nimport {TUI_TAB_ACTIVATE} from '../tab/tab.providers';\nimport {TUI_TABS_OPTIONS, TuiTabsOptions} from '../tabs-options';\n\nconst TAB_ACTIVE_CLASS = `_active`;\n\n// TODO: 3.0 remove in ivy compilation\nexport const OBSERVER_INIT = {\n childList: true,\n};\n\n// @dynamic\n@Component({\n selector: `tui-tabs, nav[tuiTabs]`,\n templateUrl: `./tabs.template.html`,\n styleUrls: [`./tabs.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: OBSERVER_INIT,\n },\n ],\n})\nexport class TuiTabsComponent implements AfterViewChecked {\n @ContentChildren(forwardRef(() => TuiTabComponent))\n readonly children: QueryList<unknown> = EMPTY_QUERY;\n\n @Input()\n @HostBinding(`class._underline`)\n @tuiDefaultProp()\n underline = this.options.underline;\n\n @Input(`activeItemIndex`)\n set activeItemIndexSetter(index: number) {\n this.activeItemIndex = index;\n this.scrollTo(this.tabs[index]);\n }\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n @HostBinding(`class._ios`)\n readonly isIos: boolean;\n\n @HostBinding(`class._android`)\n readonly isAndroid: boolean;\n\n activeItemIndex = 0;\n\n constructor(\n @Inject(TUI_TABS_OPTIONS) private readonly options: TuiTabsOptions,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiResizeService) resize$: Observable<void>,\n @Inject(TUI_IS_IOS) isIos: boolean,\n @Inject(TUI_IS_ANDROID) isAndroid: boolean,\n @Inject(TUI_MOBILE_AWARE) mobileAware: boolean,\n ) {\n this.isIos = mobileAware && isIos;\n this.isAndroid = mobileAware && isAndroid;\n\n resize$.pipe(filter(() => this.underline)).subscribe(() => {\n changeDetectorRef.detectChanges();\n });\n }\n\n get tabs(): readonly HTMLElement[] {\n return Array.from(\n this.elementRef.nativeElement.querySelectorAll<HTMLElement>(`[tuiTab]`),\n );\n }\n\n get activeElement(): HTMLElement | null {\n return this.tabs[this.activeItemIndex] || null;\n }\n\n @HostListener(`${TUI_TAB_ACTIVATE}.stop`, [`$event.target`])\n onActivate(element: HTMLElement): void {\n const index = this.tabs.findIndex(tab => tab === element);\n\n if (index === this.activeItemIndex) {\n return;\n }\n\n this.activeItemIndexSetter = index;\n this.activeItemIndexChange.emit(index);\n }\n\n @HostListener(`keydown.arrowRight.prevent`, [`$event.target`, `1`])\n @HostListener(`keydown.arrowLeft.prevent`, [`$event.target`, `-1`])\n onKeyDownArrow(current: HTMLElement, step: number): void {\n const {tabs} = this;\n\n moveFocus(tabs.indexOf(current), tabs, step);\n }\n\n ngAfterViewChecked(): void {\n const {tabs, activeElement} = this;\n\n tabs.forEach(nativeElement => {\n this.renderer.removeClass(nativeElement, TAB_ACTIVE_CLASS);\n this.renderer.setAttribute(nativeElement, `tabIndex`, `-1`);\n });\n\n if (activeElement) {\n this.renderer.addClass(activeElement, TAB_ACTIVE_CLASS);\n this.renderer.setAttribute(activeElement, `tabIndex`, `0`);\n }\n }\n\n private scrollTo(element?: HTMLElement): void {\n if (!element) {\n return;\n }\n\n const {offsetLeft, offsetWidth} = element;\n const {nativeElement} = this.elementRef;\n\n if (offsetLeft < nativeElement.scrollLeft) {\n nativeElement.scrollLeft = offsetLeft;\n }\n\n if (\n offsetLeft + offsetWidth >\n nativeElement.scrollLeft + nativeElement.offsetWidth\n ) {\n nativeElement.scrollLeft =\n offsetLeft + offsetWidth - nativeElement.offsetWidth;\n }\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {ChangeDetectorRef, ElementRef, InjectionToken, Provider} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk';\nimport {merge, Observable} from 'rxjs';\nimport {debounceTime, filter, startWith, takeUntil, tap} from 'rxjs/operators';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function tabsRefreshFactory(\n resize$: Observable<unknown>,\n mutations$: Observable<unknown>,\n destroy$: Observable<unknown>,\n {body}: Document,\n {nativeElement}: ElementRef<Node>,\n changeDetectorRef: ChangeDetectorRef,\n): Observable<unknown> {\n return merge(\n resize$,\n mutations$.pipe(tap(() => changeDetectorRef.detectChanges())),\n ).pipe(\n // Ignoring cases when host is detached from DOM\n filter(() => body.contains(nativeElement)),\n debounceTime(0),\n startWith(null),\n takeUntil(destroy$),\n );\n}\n\n// TODO: 3.0 remove in ivy compilation\nexport const MUTATION_CONFIG = {\n childList: true,\n subtree: true,\n characterData: true,\n};\nexport const TABS_REFRESH = new InjectionToken<Observable<unknown>>(`Refresh stream`);\nexport const TABS_PROVIDERS: Provider[] = [\n TuiResizeService,\n TuiDestroyService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: MUTATION_CONFIG,\n },\n {\n provide: TABS_REFRESH,\n deps: [\n TuiResizeService,\n MutationObserverService,\n TuiDestroyService,\n DOCUMENT,\n ElementRef,\n ChangeDetectorRef,\n ],\n useFactory: tabsRefreshFactory,\n },\n];\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {\n EMPTY_QUERY,\n getClosestFocusable,\n isNativeFocused,\n setNativeFocused,\n toInt,\n TuiActiveZoneDirective,\n tuiAssertIsHTMLElement,\n tuiClamp,\n TuiContextWithImplicit,\n tuiDefaultProp,\n} from '@taiga-ui/cdk';\nimport {TUI_MORE_WORD, TUI_TAB_MARGIN} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\nimport {filter, map} from 'rxjs/operators';\n\nimport {TuiTabDirective} from '../tab.directive';\nimport {TuiTabComponent} from '../tab/tab.component';\nimport {TUI_TABS_OPTIONS, TuiTabsOptions} from '../tabs-options';\nimport {TABS_PROVIDERS, TABS_REFRESH} from './tabs-with-more.providers';\n\n// @dynamic\n@Component({\n selector: `tui-tabs-with-more, nav[tuiTabsWithMore]`,\n templateUrl: `./tabs-with-more.template.html`,\n styleUrls: [`./tabs-with-more.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TABS_PROVIDERS,\n})\nexport class TuiTabsWithMoreComponent implements AfterViewInit {\n @ViewChild(TuiTabComponent, {read: ElementRef})\n private readonly moreButton?: ElementRef<HTMLButtonElement>;\n\n private maxIndex = Infinity;\n\n @Input()\n @tuiDefaultProp()\n moreContent: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n dropdownContent: PolymorpheusContent<\n TuiContextWithImplicit<TuiActiveZoneDirective>\n > = ``;\n\n @Input()\n @HostBinding(`class._underline`)\n @tuiDefaultProp()\n underline = this.options.underline;\n\n @Input()\n @tuiDefaultProp()\n activeItemIndex = 0;\n\n @Input()\n @tuiDefaultProp()\n itemsLimit = this.options.itemsLimit;\n\n @Output()\n readonly activeItemIndexChange = new EventEmitter<number>();\n\n @ContentChildren(TuiTabDirective, {read: TemplateRef})\n readonly items: QueryList<TemplateRef<Record<string, unknown>>> = EMPTY_QUERY;\n\n open = false;\n\n constructor(\n @Inject(TUI_TABS_OPTIONS) private readonly options: TuiTabsOptions,\n @Inject(TUI_TAB_MARGIN) private readonly margin: number,\n @Inject(TABS_REFRESH) private readonly refresh$: Observable<unknown>,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(ChangeDetectorRef) private readonly changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_MORE_WORD) readonly moreWord$: Observable<string>,\n ) {}\n\n // TODO: Improve performance\n get tabs(): readonly HTMLElement[] {\n return Array.from<HTMLElement>(\n this.elementRef.nativeElement.querySelectorAll(`[tuiTab]`),\n );\n }\n\n get activeElement(): HTMLElement | null {\n const {tabs} = this;\n const safeActiveIndex = tuiClamp(this.activeItemIndex || 0, 0, tabs.length - 2);\n\n return this.options.exposeActive || this.lastVisibleIndex >= safeActiveIndex\n ? tabs[safeActiveIndex] || null\n : this.moreButton?.nativeElement || null;\n }\n\n get isMoreVisible(): boolean {\n return this.lastVisibleIndex < this.items.length - 1;\n }\n\n get isMoreFocusable(): boolean {\n return !!this.moreButton && isNativeFocused(this.moreButton.nativeElement);\n }\n\n get isMoreActive(): boolean {\n return (\n this.open ||\n (!this.options.exposeActive && this.lastVisibleIndex < this.activeItemIndex)\n );\n }\n\n get lastVisibleIndex(): number {\n if (this.itemsLimit + 1 >= this.items.length) {\n return this.maxIndex;\n }\n\n const offset =\n this.itemsLimit - 1 > this.activeItemIndex || !this.options.exposeActive\n ? 1\n : 2;\n\n return Math.min(this.itemsLimit - offset, this.maxIndex);\n }\n\n ngAfterViewInit(): void {\n this.refresh$\n .pipe(\n map(() => this.getMaxIndex()),\n filter(maxIndex => this.maxIndex !== maxIndex),\n )\n .subscribe(maxIndex => {\n this.maxIndex = maxIndex;\n this.changeDetectorRef.detectChanges();\n });\n }\n\n onActiveItemIndexChange(activeItemIndex: number): void {\n this.updateActiveItemIndex(activeItemIndex);\n }\n\n onClick(index: number): void {\n this.open = false;\n this.focusMore();\n this.updateActiveItemIndex(index);\n }\n\n onArrowRight(event: Event): void {\n tuiAssertIsHTMLElement(event.target);\n\n if (isNativeFocused(event.target)) {\n this.focusMore();\n }\n }\n\n onArrowLeft(): void {\n const {tabs} = this;\n let index = tabs.length - 2;\n\n while (index >= 0) {\n setNativeFocused(tabs[index]);\n\n if (isNativeFocused(tabs[index])) {\n return;\n }\n\n index--;\n }\n }\n\n onWrapperArrow(event: Event, wrapper: HTMLElement, prev: boolean): void {\n const button: HTMLButtonElement = event.target as HTMLButtonElement;\n const target = getClosestFocusable(button, prev, wrapper);\n\n if (target) {\n setNativeFocused(target);\n }\n }\n\n isOverflown(index: number): boolean {\n return index !== this.activeItemIndex || !this.options.exposeActive;\n }\n\n shouldShow(index: number): boolean {\n return index > this.lastVisibleIndex && this.isOverflown(index);\n }\n\n private focusMore(): void {\n if (this.moreButton) {\n setNativeFocused(this.moreButton.nativeElement);\n }\n }\n\n private getMaxIndex(): number {\n const {tabs, activeItemIndex, margin} = this;\n\n if (tabs.length < 2) {\n return 0;\n }\n\n const {clientWidth} = this.elementRef.nativeElement;\n const activeWidth = tabs[activeItemIndex] ? tabs[activeItemIndex].scrollWidth : 0;\n const moreWidth = tabs[tabs.length - 1].scrollWidth;\n let maxIndex = tabs.length - 2;\n let total =\n tabs.reduce((acc, {scrollWidth}) => acc + scrollWidth, 0) +\n maxIndex * margin -\n moreWidth;\n\n if (total <= clientWidth) {\n return Infinity;\n }\n\n while (maxIndex) {\n total -= tabs[maxIndex].scrollWidth + margin;\n maxIndex--;\n\n const activeDisplaced =\n this.options.exposeActive && activeItemIndex > maxIndex;\n const activeOffset = activeDisplaced ? activeWidth + margin : 0;\n const currentWidth = total + activeOffset + moreWidth + margin;\n // Needed for different rounding of visible and hidden elements scrollWidth\n const safetyOffset = toInt(this.maxIndex === maxIndex - 1);\n\n if (currentWidth + safetyOffset < clientWidth) {\n return maxIndex;\n }\n }\n\n return -1;\n }\n\n private updateActiveItemIndex(activeItemIndex: number): void {\n if (this.activeItemIndex === activeItemIndex) {\n return;\n }\n\n this.activeItemIndex = activeItemIndex;\n this.activeItemIndexChange.emit(activeItemIndex);\n this.maxIndex = this.getMaxIndex();\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n NgZone,\n} from '@angular/core';\nimport {ANIMATION_FRAME} from '@ng-web-apis/common';\nimport {px, TUI_IS_ANDROID, TUI_IS_IOS, tuiDefaultProp, tuiZonefree} from '@taiga-ui/cdk';\nimport {MODE_PROVIDER, TUI_MODE, TuiBrightness} from '@taiga-ui/core';\nimport {TUI_MOBILE_AWARE} from '@taiga-ui/kit/tokens';\nimport {asCallable} from '@tinkoff/ng-event-plugins';\nimport {Observable, of, ReplaySubject} from 'rxjs';\nimport {debounceTime, map, mapTo, share, switchMap} from 'rxjs/operators';\n\n@Component({\n selector: `tui-underline`,\n template: ``,\n styleUrls: [`./underline.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': `mode$`,\n },\n})\nexport class TuiUnderlineComponent {\n private readonly element$ = new ReplaySubject<HTMLElement | null>(1);\n\n private readonly refresh$ = this.element$.pipe(\n switchMap(element =>\n element\n ? this.animationFrame$.pipe(mapTo(element), tuiZonefree(this.ngZone))\n : of(null),\n ),\n share(),\n );\n\n @Input()\n @tuiDefaultProp()\n set element(element: HTMLElement | null) {\n this.element$.next(element);\n }\n\n @HostBinding(`class._ios`)\n readonly isIos = this.mobileAware && this.ios;\n\n @HostBinding(`class._android`)\n readonly isAndroid = this.mobileAware && this.android;\n\n @HostListener(`$.style.transitionProperty`)\n readonly transition$ = asCallable(\n this.element$.pipe(\n map(element => element && `all`),\n debounceTime(50),\n ),\n );\n\n @HostListener(`$.style.transform`)\n readonly transform$ = asCallable(\n this.refresh$.pipe(\n map(element =>\n element ? `translate3d(${px(element.offsetLeft)}, 0, 0)` : null,\n ),\n ),\n );\n\n @HostListener(`$.style.width.px`)\n readonly width$ = asCallable(\n this.refresh$.pipe(map(element => element?.clientWidth || 0)),\n );\n\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(ANIMATION_FRAME) private readonly animationFrame$: Observable<number>,\n @Inject(TUI_MOBILE_AWARE) private readonly mobileAware: boolean,\n @Inject(TUI_IS_IOS) private readonly ios: boolean,\n @Inject(TUI_IS_ANDROID) private readonly android: boolean,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n ) {\n nativeElement[`$.style.transitionProperty`] = this.transition$;\n nativeElement[`$.style.transform`] = this.transform$;\n nativeElement[`$.style.width.px`] = this.width$;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiFocusableModule} from '@taiga-ui/cdk';\nimport {TuiHostedDropdownModule, TuiSvgModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTabDirective} from './tab.directive';\nimport {TuiTabComponent} from './tab/tab.component';\nimport {TuiTabsComponent} from './tabs/tabs.component';\nimport {TuiTabsWithMoreComponent} from './tabs-with-more/tabs-with-more.component';\nimport {TuiUnderlineComponent} from './underline/underline.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiHostedDropdownModule,\n TuiSvgModule,\n TuiFocusableModule,\n PolymorpheusModule,\n ],\n declarations: [\n TuiTabsWithMoreComponent,\n TuiTabsComponent,\n TuiTabComponent,\n TuiUnderlineComponent,\n TuiTabDirective,\n ],\n exports: [\n TuiTabsWithMoreComponent,\n TuiTabsComponent,\n TuiTabComponent,\n TuiTabDirective,\n ],\n})\nexport class TuiTabsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;IAMI,yBACkC,QAA8C;QAA9C,aAAQ,GAAR,QAAQ,CAAsC;KAC5E;;gBADwC,WAAW,uBAAlD,MAAM,SAAC,WAAW;;IAFd,eAAe;QAH3B,SAAS,CAAC;YACP,QAAQ,EAAE,qBAAqB;SAClC,CAAC;QAGO,WAAA,MAAM,CAAC,WAAW,CAAC,CAAA;OAFf,eAAe,CAI3B;IAAD,sBAAC;CAJD;;ICSa,gBAAgB,GAAG,mBAAmB;IACtC,aAAa,GAAG,IAAI,cAAc,CAC3C,iCAAiC,EACnC;IACW,iBAAiB,GAAe;IACzC,iBAAiB;IACjB,sBAAsB;IACtB,0BAA0B;IAC1B;QACI,OAAO,EAAE,aAAa;QACtB,IAAI,EAAE;YACF,UAAU;YACV,QAAQ;YACR,0BAA0B;YAC1B,CAAC,IAAI,QAAQ,EAAE,EAAE,uBAAuB,CAAC;YACzC,CAAC,IAAI,QAAQ,EAAE,EAAE,gBAAgB,CAAC;SACrC;QACD,UAAU,EAAE,gBAAgB;KAC/B;IACD,aAAa;EACf;AAEF;SACgB,gBAAgB,CAC5B,EAAwC,EACxC,WAAqB,EACrB,uBAA4C,EAC5C,uBAAuD,EACvD,gBAAyC;QAJxC,gCAAa;IAMd,IAAM,gBAAgB,GAClB,gBAAgB,IAAI,uBAAuB;UACrC,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,cAAM,OAAA,gBAAgB,CAAC,QAAQ,GAAA,CAAC,CAAC;UACrE,KAAK,CAAC;IAEhB,OAAO,KAAK,CACR,gBAAgB,EAChB,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,EAC9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;gBACxB,gBAAgB;gBAChB,eAAe;gBACf,qBAAqB;gBACrB,eAAe;aAClB;YACD,OAAO,EAAE;gBACL,wBAAwB;gBACxB,gBAAgB;gBAChB,eAAe;gBACf,eAAe;aAClB;SACJ,CAAC;OACW,aAAa,CAAG;IAAD,oBAAC;CAA7B;;AClCA;;;;;;"}
|
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
import { __assign, __decorate, __param } from 'tslib';
|
|
2
|
-
import { InjectionToken, EventEmitter, ElementRef, Inject, Input, HostBinding, Output, ViewChild, HostListener, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
-
import { setNativeFocused, tuiDefaultProp, TuiPreventDefaultModule } from '@taiga-ui/cdk';
|
|
4
|
-
import { sizeBigger, TUI_MODE, MODE_PROVIDER, TuiSvgModule, TuiLoaderModule } from '@taiga-ui/core';
|
|
5
|
-
import { stringHashToHsl } from '@taiga-ui/kit/utils/format';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import { FormsModule } from '@angular/forms';
|
|
9
|
-
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
10
|
-
|
|
11
|
-
/** Default values for the tag options. */
|
|
12
|
-
var TUI_TAG_DEFAULT_OPTIONS = {
|
|
13
|
-
size: "m",
|
|
14
|
-
status: "default",
|
|
15
|
-
autoColor: false,
|
|
16
|
-
};
|
|
17
|
-
var TUI_TAG_OPTIONS = new InjectionToken("Default parameters for tag component", {
|
|
18
|
-
factory: function () { return TUI_TAG_DEFAULT_OPTIONS; },
|
|
19
|
-
});
|
|
20
|
-
var tuiTagOptionsProvider = function (options) { return ({
|
|
21
|
-
provide: TUI_TAG_OPTIONS,
|
|
22
|
-
useValue: __assign(__assign({}, TUI_TAG_DEFAULT_OPTIONS), options),
|
|
23
|
-
}); };
|
|
24
|
-
|
|
25
|
-
var ALLOWED_SPACE_REGEXP = new RegExp(",|[\\s]");
|
|
26
|
-
var TuiTagComponent = /** @class */ (function () {
|
|
27
|
-
function TuiTagComponent(elementRef, mode$, options) {
|
|
28
|
-
this.elementRef = elementRef;
|
|
29
|
-
this.mode$ = mode$;
|
|
30
|
-
this.options = options;
|
|
31
|
-
// TODO: Possibly implement standard focus mechanisms and outline
|
|
32
|
-
this.value = "";
|
|
33
|
-
this.editable = false;
|
|
34
|
-
// TODO: 3.0: Remove
|
|
35
|
-
this.allowSpaces = true;
|
|
36
|
-
this.separator = ",";
|
|
37
|
-
this.maxLength = null;
|
|
38
|
-
this.size = this.options.size;
|
|
39
|
-
this.showLoader = false;
|
|
40
|
-
this.status = this.options.status;
|
|
41
|
-
this.hoverable = false;
|
|
42
|
-
this.removable = false;
|
|
43
|
-
this.disabled = false;
|
|
44
|
-
this.autoColor = this.options.autoColor;
|
|
45
|
-
// TODO: 3.0 Remove null
|
|
46
|
-
this.leftContent = null;
|
|
47
|
-
this.edited = new EventEmitter();
|
|
48
|
-
this.editing = false;
|
|
49
|
-
this.editedText = null;
|
|
50
|
-
}
|
|
51
|
-
Object.defineProperty(TuiTagComponent.prototype, "input", {
|
|
52
|
-
set: function (input) {
|
|
53
|
-
if (input) {
|
|
54
|
-
setNativeFocused(input.nativeElement);
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
enumerable: true,
|
|
58
|
-
configurable: true
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(TuiTagComponent.prototype, "backgroundColor", {
|
|
61
|
-
get: function () {
|
|
62
|
-
return this.autoColor ? stringHashToHsl(this.value) : null;
|
|
63
|
-
},
|
|
64
|
-
enumerable: true,
|
|
65
|
-
configurable: true
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(TuiTagComponent.prototype, "canRemove", {
|
|
68
|
-
get: function () {
|
|
69
|
-
return this.removable && !this.disabled && !this.showLoader;
|
|
70
|
-
},
|
|
71
|
-
enumerable: true,
|
|
72
|
-
configurable: true
|
|
73
|
-
});
|
|
74
|
-
Object.defineProperty(TuiTagComponent.prototype, "displayText", {
|
|
75
|
-
get: function () {
|
|
76
|
-
return this.editedText === null ? this.value : this.editedText;
|
|
77
|
-
},
|
|
78
|
-
enumerable: true,
|
|
79
|
-
configurable: true
|
|
80
|
-
});
|
|
81
|
-
Object.defineProperty(TuiTagComponent.prototype, "loaderSize", {
|
|
82
|
-
get: function () {
|
|
83
|
-
return sizeBigger(this.size) ? "s" : "xs";
|
|
84
|
-
},
|
|
85
|
-
enumerable: true,
|
|
86
|
-
configurable: true
|
|
87
|
-
});
|
|
88
|
-
Object.defineProperty(TuiTagComponent.prototype, "hasIcon", {
|
|
89
|
-
get: function () {
|
|
90
|
-
return this.showLoader || this.removable;
|
|
91
|
-
},
|
|
92
|
-
enumerable: true,
|
|
93
|
-
configurable: true
|
|
94
|
-
});
|
|
95
|
-
TuiTagComponent.prototype.edit = function (event) {
|
|
96
|
-
if (!this.canEdit) {
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
event.preventDefault();
|
|
100
|
-
this.editing = true;
|
|
101
|
-
this.editedText = this.value;
|
|
102
|
-
};
|
|
103
|
-
TuiTagComponent.prototype.remove = function (event) {
|
|
104
|
-
if (!this.canRemove) {
|
|
105
|
-
return;
|
|
106
|
-
}
|
|
107
|
-
event.preventDefault();
|
|
108
|
-
event.stopPropagation();
|
|
109
|
-
this.edited.emit("");
|
|
110
|
-
};
|
|
111
|
-
TuiTagComponent.prototype.onInput = function (value) {
|
|
112
|
-
var newTags = this.allowSpaces
|
|
113
|
-
? value.split(this.separator)
|
|
114
|
-
: value.split(ALLOWED_SPACE_REGEXP);
|
|
115
|
-
if (newTags.length > 1) {
|
|
116
|
-
this.save(String(newTags));
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
this.editedText = value;
|
|
120
|
-
};
|
|
121
|
-
TuiTagComponent.prototype.onKeyDown = function (event) {
|
|
122
|
-
event.stopPropagation();
|
|
123
|
-
switch (event.key.toLowerCase()) {
|
|
124
|
-
case "enter":
|
|
125
|
-
event.preventDefault();
|
|
126
|
-
this.save(this.editedText || "");
|
|
127
|
-
break;
|
|
128
|
-
case "escape":
|
|
129
|
-
case "esc":
|
|
130
|
-
event.preventDefault();
|
|
131
|
-
this.stopEditing();
|
|
132
|
-
setNativeFocused(this.elementRef.nativeElement);
|
|
133
|
-
break;
|
|
134
|
-
default:
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
};
|
|
138
|
-
TuiTagComponent.prototype.onBlur = function () {
|
|
139
|
-
if (this.editedText !== null) {
|
|
140
|
-
this.save(this.editedText);
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
Object.defineProperty(TuiTagComponent.prototype, "canEdit", {
|
|
144
|
-
get: function () {
|
|
145
|
-
return this.editable && !this.disabled && !this.showLoader;
|
|
146
|
-
},
|
|
147
|
-
enumerable: true,
|
|
148
|
-
configurable: true
|
|
149
|
-
});
|
|
150
|
-
TuiTagComponent.prototype.stopEditing = function () {
|
|
151
|
-
this.editing = false;
|
|
152
|
-
this.editedText = null;
|
|
153
|
-
};
|
|
154
|
-
TuiTagComponent.prototype.save = function (value) {
|
|
155
|
-
this.stopEditing();
|
|
156
|
-
this.edited.emit(value.trim());
|
|
157
|
-
};
|
|
158
|
-
TuiTagComponent.ctorParameters = function () { return [
|
|
159
|
-
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
|
|
160
|
-
{ type: Observable, decorators: [{ type: Inject, args: [TUI_MODE,] }] },
|
|
161
|
-
{ type: undefined, decorators: [{ type: Inject, args: [TUI_TAG_OPTIONS,] }] }
|
|
162
|
-
]; };
|
|
163
|
-
__decorate([
|
|
164
|
-
Input(),
|
|
165
|
-
tuiDefaultProp()
|
|
166
|
-
], TuiTagComponent.prototype, "value", void 0);
|
|
167
|
-
__decorate([
|
|
168
|
-
Input(),
|
|
169
|
-
tuiDefaultProp()
|
|
170
|
-
], TuiTagComponent.prototype, "editable", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
Input(),
|
|
173
|
-
tuiDefaultProp()
|
|
174
|
-
], TuiTagComponent.prototype, "allowSpaces", void 0);
|
|
175
|
-
__decorate([
|
|
176
|
-
Input(),
|
|
177
|
-
tuiDefaultProp()
|
|
178
|
-
], TuiTagComponent.prototype, "separator", void 0);
|
|
179
|
-
__decorate([
|
|
180
|
-
Input(),
|
|
181
|
-
tuiDefaultProp()
|
|
182
|
-
], TuiTagComponent.prototype, "maxLength", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
Input(),
|
|
185
|
-
HostBinding("attr.data-size"),
|
|
186
|
-
tuiDefaultProp()
|
|
187
|
-
], TuiTagComponent.prototype, "size", void 0);
|
|
188
|
-
__decorate([
|
|
189
|
-
Input(),
|
|
190
|
-
tuiDefaultProp()
|
|
191
|
-
], TuiTagComponent.prototype, "showLoader", void 0);
|
|
192
|
-
__decorate([
|
|
193
|
-
Input(),
|
|
194
|
-
HostBinding("attr.data-tui-host-status"),
|
|
195
|
-
tuiDefaultProp()
|
|
196
|
-
], TuiTagComponent.prototype, "status", void 0);
|
|
197
|
-
__decorate([
|
|
198
|
-
Input(),
|
|
199
|
-
HostBinding("class._hoverable"),
|
|
200
|
-
tuiDefaultProp()
|
|
201
|
-
], TuiTagComponent.prototype, "hoverable", void 0);
|
|
202
|
-
__decorate([
|
|
203
|
-
Input(),
|
|
204
|
-
tuiDefaultProp()
|
|
205
|
-
], TuiTagComponent.prototype, "removable", void 0);
|
|
206
|
-
__decorate([
|
|
207
|
-
Input(),
|
|
208
|
-
HostBinding("class._disabled"),
|
|
209
|
-
tuiDefaultProp()
|
|
210
|
-
], TuiTagComponent.prototype, "disabled", void 0);
|
|
211
|
-
__decorate([
|
|
212
|
-
Input(),
|
|
213
|
-
HostBinding("class._autocolor"),
|
|
214
|
-
tuiDefaultProp()
|
|
215
|
-
], TuiTagComponent.prototype, "autoColor", void 0);
|
|
216
|
-
__decorate([
|
|
217
|
-
Input(),
|
|
218
|
-
tuiDefaultProp()
|
|
219
|
-
], TuiTagComponent.prototype, "leftContent", void 0);
|
|
220
|
-
__decorate([
|
|
221
|
-
Output()
|
|
222
|
-
], TuiTagComponent.prototype, "edited", void 0);
|
|
223
|
-
__decorate([
|
|
224
|
-
HostBinding("class._editing")
|
|
225
|
-
], TuiTagComponent.prototype, "editing", void 0);
|
|
226
|
-
__decorate([
|
|
227
|
-
ViewChild("input", { read: ElementRef })
|
|
228
|
-
], TuiTagComponent.prototype, "input", null);
|
|
229
|
-
__decorate([
|
|
230
|
-
HostBinding("class._has-icon")
|
|
231
|
-
], TuiTagComponent.prototype, "hasIcon", null);
|
|
232
|
-
__decorate([
|
|
233
|
-
HostListener("keydown.enter", ["$event"])
|
|
234
|
-
], TuiTagComponent.prototype, "edit", null);
|
|
235
|
-
__decorate([
|
|
236
|
-
HostListener("keydown.delete", ["$event"]),
|
|
237
|
-
HostListener("keydown.backspace", ["$event"])
|
|
238
|
-
], TuiTagComponent.prototype, "remove", null);
|
|
239
|
-
TuiTagComponent = __decorate([
|
|
240
|
-
Component({
|
|
241
|
-
selector: "tui-tag, a[tuiTag]",
|
|
242
|
-
template: "<div\n class=\"t-tag\"\n [style.backgroundColor]=\"backgroundColor\"\n (dblclick)=\"edit($event)\"\n>\n <div\n *ngIf=\"leftContent\"\n polymorpheus-outlet\n class=\"t-left-content\"\n [content]=\"leftContent\"\n ></div>\n <span\n automation-id=\"tui-tag__text\"\n class=\"t-text\"\n >\n {{ displayText }}\n </span>\n <tui-loader\n *ngIf=\"showLoader\"\n class=\"t-icon t-icon_loader\"\n [inheritColor]=\"true\"\n [size]=\"loaderSize\"\n ></tui-loader>\n <tui-svg\n *ngIf=\"canRemove\"\n tuiPreventDefault=\"mousedown\"\n automation-id=\"tui-tag__remove\"\n src=\"tuiIconCloseLarge\"\n class=\"t-icon\"\n (click)=\"remove($event)\"\n ></tui-svg>\n</div>\n<input\n *ngIf=\"editing\"\n #input\n automation-id=\"tui-tag__edit\"\n type=\"text\"\n class=\"t-edit\"\n [attr.maxLength]=\"maxLength\"\n [ngModel]=\"editedText\"\n (ngModelChange)=\"onInput($event)\"\n (blur)=\"onBlur()\"\n (keydown)=\"onKeyDown($event)\"\n/>\n",
|
|
243
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
244
|
-
providers: [MODE_PROVIDER],
|
|
245
|
-
host: {
|
|
246
|
-
'($.data-mode.attr)': "mode$",
|
|
247
|
-
},
|
|
248
|
-
styles: [":host{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);border-radius:var(--tui-radius-s);max-width:100%;cursor:default;outline:0;text-decoration:none}:host:after{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:'';box-sizing:border-box;border-radius:inherit;pointer-events:none}:host._hoverable:active[data-tui-host-status=custom]:after,:host._hoverable:hover[data-tui-host-status=custom]:after{background-color:var(--tui-clear)}:host:focus:after{border:2px solid var(--tui-focus)}:host[data-tui-host-status=primary]{background-color:var(--tui-primary);color:var(--tui-primary-text)}:host[data-tui-host-status=primary]._hoverable:hover{background-color:var(--tui-primary-hover)}:host[data-tui-host-status=primary]._hoverable:active{background-color:var(--tui-primary-active)}:host[data-tui-host-status=error]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}:host[data-tui-host-status=error]._hoverable:active,:host[data-tui-host-status=error]._hoverable:hover{background-color:var(--tui-error-bg-hover)}:host[data-tui-host-status=error][data-mode=onDark]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=error][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=error][data-mode=onDark]._hoverable:hover{background-color:var(--tui-error-bg-night-hover)}:host[data-tui-host-status=success]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}:host[data-tui-host-status=success]._hoverable:active,:host[data-tui-host-status=success]._hoverable:hover{background-color:var(--tui-success-bg-hover)}:host[data-tui-host-status=success][data-mode=onDark]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=success][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=success][data-mode=onDark]._hoverable:hover{background-color:var(--tui-success-bg-night-hover)}:host[data-tui-host-status=warning]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}:host[data-tui-host-status=warning]._hoverable:active,:host[data-tui-host-status=warning]._hoverable:hover{background-color:var(--tui-warning-bg-hover)}:host[data-tui-host-status=warning][data-mode=onDark]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}:host[data-tui-host-status=warning][data-mode=onDark]._hoverable:active,:host[data-tui-host-status=warning][data-mode=onDark]._hoverable:hover{background-color:var(--tui-warning-bg-night-hover)}:host[data-tui-host-status=default]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}:host[data-tui-host-status=default]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}:host[data-tui-host-status=default]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}:host[data-tui-host-status=default][data-mode=onDark]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}:host[data-tui-host-status=default][data-mode=onDark]._hoverable:hover{background-color:var(--tui-clear-inverse-hover)}:host[data-tui-host-status=default][data-mode=onDark]._hoverable:active{background-color:var(--tui-clear-inverse-active)}:host[data-tui-host-status=default][data-mode=onDark]:focus:after{border:2px solid var(--tui-base-01)}:host[data-tui-host-status=default][data-mode=onLight]{background-color:var(--tui-clear);color:var(--tui-text-01)}:host[data-tui-host-status=default][data-mode=onLight]._hoverable:hover{background-color:var(--tui-clear-hover)}:host[data-tui-host-status=default][data-mode=onLight]._hoverable:active{background-color:var(--tui-clear-active)}:host._editing{background:0 0!important}:host._disabled{pointer-events:none;opacity:var(--tui-disabled-opacity)}:host._hoverable{cursor:pointer}:host._autocolor{color:var(--tui-text-01)}.t-text{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;border-radius:inherit}:host[data-size='s'] .t-tag{font:var(--tui-font-text-xs);height:1.25rem;padding:0 .5rem}:host[data-size='m'] .t-tag{height:var(--tui-height-xs);padding:0 .5rem}:host[data-size='l'] .t-tag{height:var(--tui-height-s);padding:0 .75rem}:host._has-icon[data-size='s'] .t-tag{padding:0 .125rem 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:.125rem;padding-inline-end:.125rem}:host._has-icon[data-size='m'] .t-tag{padding:0 0 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:0;padding-inline-end:0}:host._has-icon[data-size='l'] .t-tag{padding:0 .25rem 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:.25rem;padding-inline-end:.25rem}:host._editing .t-tag{visibility:hidden}:host._disabled._has-icon[data-size='m'] .t-tag,:host._disabled._has-icon[data-size='s'] .t-tag{padding:0 .5rem 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:.5rem;padding-inline-end:.5rem}:host._disabled._has-icon[data-size='l'] .t-tag{padding:0 .75rem}.t-edit{padding:0 0 0 .5rem;margin:0;border:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:var(--tui-font-text-s);color:var(--tui-text-01);width:100%;box-sizing:border-box;-webkit-padding-start:.5rem;padding-inline-start:.5rem;-webkit-padding-end:0;padding-inline-end:0}.t-edit:-webkit-autofill,.t-edit:-webkit-autofill:focus,.t-edit:-webkit-autofill:hover{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}:host[data-size='s'] .t-edit{height:1.25rem;line-height:1.25rem}:host[data-size='m'] .t-edit{height:var(--tui-height-xs);line-height:var(--tui-height-xs)}:host[data-size='l'] .t-edit{height:var(--tui-height-s);line-height:var(--tui-height-s);padding:0 0 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:0;padding-inline-end:0}.t-icon{margin:0 0 0 .25rem;-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:0;margin-inline-end:0;height:100%}.t-icon:not(.t-icon_loader){cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity)}.t-icon:hover{opacity:1}.t-icon_loader{width:1rem;height:1rem;margin:0 .25rem}:host[data-size='s'] .t-icon_loader{margin:0 .375rem 0 .75rem;-webkit-margin-start:.75rem;margin-inline-start:.75rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem;width:.5rem;height:.5rem}:host[data-size='l'] .t-icon_loader{margin:0 .25rem 0 .5rem;-webkit-margin-start:.5rem;margin-inline-start:.5rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}.t-left-content{margin:0 .25rem 0 0;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:.25rem;margin-inline-end:.25rem;width:1rem;height:1rem}"]
|
|
249
|
-
}),
|
|
250
|
-
__param(0, Inject(ElementRef)),
|
|
251
|
-
__param(1, Inject(TUI_MODE)),
|
|
252
|
-
__param(2, Inject(TUI_TAG_OPTIONS))
|
|
253
|
-
], TuiTagComponent);
|
|
254
|
-
return TuiTagComponent;
|
|
255
|
-
}());
|
|
256
|
-
|
|
257
|
-
var TuiTagModule = /** @class */ (function () {
|
|
258
|
-
function TuiTagModule() {
|
|
259
|
-
}
|
|
260
|
-
TuiTagModule = __decorate([
|
|
261
|
-
NgModule({
|
|
262
|
-
imports: [
|
|
263
|
-
CommonModule,
|
|
264
|
-
FormsModule,
|
|
265
|
-
TuiPreventDefaultModule,
|
|
266
|
-
TuiSvgModule,
|
|
267
|
-
TuiLoaderModule,
|
|
268
|
-
PolymorpheusModule,
|
|
269
|
-
],
|
|
270
|
-
declarations: [TuiTagComponent],
|
|
271
|
-
exports: [TuiTagComponent],
|
|
272
|
-
})
|
|
273
|
-
], TuiTagModule);
|
|
274
|
-
return TuiTagModule;
|
|
275
|
-
}());
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* Generated bundle index. Do not edit.
|
|
279
|
-
*/
|
|
280
|
-
|
|
281
|
-
export { ALLOWED_SPACE_REGEXP, TUI_TAG_DEFAULT_OPTIONS, TUI_TAG_OPTIONS, TuiTagComponent, TuiTagModule, tuiTagOptionsProvider };
|
|
282
|
-
//# sourceMappingURL=taiga-ui-kit-components-tag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-tag.js","sources":["ng://@taiga-ui/kit/components/tag/tag-options.ts","ng://@taiga-ui/kit/components/tag/tag.component.ts","ng://@taiga-ui/kit/components/tag/tag.module.ts","ng://@taiga-ui/kit/components/tag/taiga-ui-kit-components-tag.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core/types';\nimport {TuiStatusT} from '@taiga-ui/kit/types';\n\nexport interface TuiTagOptions {\n readonly size: TuiSizeS | TuiSizeL;\n readonly status: TuiStatusT;\n readonly autoColor: boolean;\n}\n\n/** Default values for the tag options. */\nexport const TUI_TAG_DEFAULT_OPTIONS: TuiTagOptions = {\n size: `m`,\n status: `default`,\n autoColor: false,\n};\n\nexport const TUI_TAG_OPTIONS = new InjectionToken<TuiTagOptions>(\n `Default parameters for tag component`,\n {\n factory: () => TUI_TAG_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiTagOptionsProvider: (options: Partial<TuiTagOptions>) => ValueProvider = (\n options: Partial<TuiTagOptions>,\n) => ({\n provide: TUI_TAG_OPTIONS,\n useValue: {...TUI_TAG_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Output,\n ViewChild,\n} from '@angular/core';\nimport {setNativeFocused, tuiDefaultProp} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n sizeBigger,\n TUI_MODE,\n TuiBrightness,\n TuiSizeL,\n TuiSizeS,\n TuiSizeXS,\n} from '@taiga-ui/core';\nimport {TuiStatusT} from '@taiga-ui/kit/types';\nimport {stringHashToHsl} from '@taiga-ui/kit/utils/format';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TUI_TAG_OPTIONS, TuiTagOptions} from './tag-options';\n\nexport const ALLOWED_SPACE_REGEXP = new RegExp(`,|[\\\\s]`);\n\n@Component({\n selector: `tui-tag, a[tuiTag]`,\n templateUrl: `./tag.template.html`,\n styleUrls: [`./tag.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': `mode$`,\n },\n})\nexport class TuiTagComponent {\n // TODO: Possibly implement standard focus mechanisms and outline\n @Input()\n @tuiDefaultProp()\n value = ``;\n\n @Input()\n @tuiDefaultProp()\n editable = false;\n\n // TODO: 3.0: Remove\n @Input()\n @tuiDefaultProp()\n allowSpaces = true;\n\n @Input()\n @tuiDefaultProp()\n separator: string | RegExp = `,`;\n\n @Input()\n @tuiDefaultProp()\n maxLength: number | null = null;\n\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeS | TuiSizeL = this.options.size;\n\n @Input()\n @tuiDefaultProp()\n showLoader = false;\n\n @Input()\n @HostBinding(`attr.data-tui-host-status`)\n @tuiDefaultProp()\n status: TuiStatusT = this.options.status;\n\n @Input()\n @HostBinding(`class._hoverable`)\n @tuiDefaultProp()\n hoverable = false;\n\n @Input()\n @tuiDefaultProp()\n removable = false;\n\n @Input()\n @HostBinding(`class._disabled`)\n @tuiDefaultProp()\n disabled = false;\n\n @Input()\n @HostBinding(`class._autocolor`)\n @tuiDefaultProp()\n autoColor: boolean = this.options.autoColor;\n\n // TODO: 3.0 Remove null\n @Input()\n @tuiDefaultProp()\n leftContent: PolymorpheusContent | null = null;\n\n @Output()\n readonly edited = new EventEmitter<string>();\n\n @HostBinding(`class._editing`)\n editing = false;\n\n editedText: string | null = null;\n\n @ViewChild(`input`, {read: ElementRef})\n set input(input: ElementRef<HTMLInputElement>) {\n if (input) {\n setNativeFocused(input.nativeElement);\n }\n }\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_TAG_OPTIONS) private readonly options: TuiTagOptions,\n ) {}\n\n get backgroundColor(): string | null {\n return this.autoColor ? stringHashToHsl(this.value) : null;\n }\n\n get canRemove(): boolean {\n return this.removable && !this.disabled && !this.showLoader;\n }\n\n get displayText(): string {\n return this.editedText === null ? this.value : this.editedText;\n }\n\n get loaderSize(): TuiSizeXS {\n return sizeBigger(this.size) ? `s` : `xs`;\n }\n\n @HostBinding(`class._has-icon`)\n get hasIcon(): boolean {\n return this.showLoader || this.removable;\n }\n\n @HostListener(`keydown.enter`, [`$event`])\n edit(event: Event): void {\n if (!this.canEdit) {\n return;\n }\n\n event.preventDefault();\n this.editing = true;\n this.editedText = this.value;\n }\n\n @HostListener(`keydown.delete`, [`$event`])\n @HostListener(`keydown.backspace`, [`$event`])\n remove(event: Event): void {\n if (!this.canRemove) {\n return;\n }\n\n event.preventDefault();\n event.stopPropagation();\n this.edited.emit(``);\n }\n\n onInput(value: string): void {\n const newTags = this.allowSpaces\n ? value.split(this.separator)\n : value.split(ALLOWED_SPACE_REGEXP);\n\n if (newTags.length > 1) {\n this.save(String(newTags));\n\n return;\n }\n\n this.editedText = value;\n }\n\n onKeyDown(event: KeyboardEvent): void {\n event.stopPropagation();\n\n switch (event.key.toLowerCase()) {\n case `enter`:\n event.preventDefault();\n this.save(this.editedText || ``);\n break;\n case `escape`:\n case `esc`:\n event.preventDefault();\n this.stopEditing();\n setNativeFocused(this.elementRef.nativeElement);\n break;\n default:\n break;\n }\n }\n\n onBlur(): void {\n if (this.editedText !== null) {\n this.save(this.editedText);\n }\n }\n\n private get canEdit(): boolean {\n return this.editable && !this.disabled && !this.showLoader;\n }\n\n private stopEditing(): void {\n this.editing = false;\n this.editedText = null;\n }\n\n private save(value: string): void {\n this.stopEditing();\n this.edited.emit(value.trim());\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiPreventDefaultModule} from '@taiga-ui/cdk';\nimport {TuiLoaderModule, TuiSvgModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTagComponent} from './tag.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n TuiPreventDefaultModule,\n TuiSvgModule,\n TuiLoaderModule,\n PolymorpheusModule,\n ],\n declarations: [TuiTagComponent],\n exports: [TuiTagComponent],\n})\nexport class TuiTagModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAUA;IACa,uBAAuB,GAAkB;IAClD,IAAI,EAAE,GAAG;IACT,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,KAAK;EAClB;IAEW,eAAe,GAAG,IAAI,cAAc,CAC7C,sCAAsC,EACtC;IACI,OAAO,EAAE,cAAM,OAAA,uBAAuB,GAAA;CACzC,EACH;IAEW,qBAAqB,GAAuD,UACrF,OAA+B,IAC9B,QAAC;IACF,OAAO,EAAE,eAAe;IACxB,QAAQ,wBAAM,uBAAuB,GAAK,OAAO,CAAC;CACrD;;ICAY,oBAAoB,GAAG,IAAI,MAAM,CAAC,SAAS,EAAE;;IAwFtD,yBACyC,UAAmC,EAC7C,KAAuC,EACxB,OAAsB;QAF3B,eAAU,GAAV,UAAU,CAAyB;QAC7C,UAA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