@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,28 +0,0 @@
|
|
|
1
|
-
import { __decorate, __extends } from "tslib";
|
|
2
|
-
import { Directive, forwardRef } from '@angular/core';
|
|
3
|
-
import { TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost } from '@taiga-ui/core';
|
|
4
|
-
var TuiTextAreaDirective = /** @class */ (function (_super) {
|
|
5
|
-
__extends(TuiTextAreaDirective, _super);
|
|
6
|
-
function TuiTextAreaDirective() {
|
|
7
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
8
|
-
}
|
|
9
|
-
TuiTextAreaDirective_1 = TuiTextAreaDirective;
|
|
10
|
-
TuiTextAreaDirective.prototype.onValueChange = function (value) {
|
|
11
|
-
this.host.onValueChange(value);
|
|
12
|
-
};
|
|
13
|
-
var TuiTextAreaDirective_1;
|
|
14
|
-
TuiTextAreaDirective = TuiTextAreaDirective_1 = __decorate([
|
|
15
|
-
Directive({
|
|
16
|
-
selector: "tui-text-area",
|
|
17
|
-
providers: [
|
|
18
|
-
{
|
|
19
|
-
provide: TUI_TEXTFIELD_HOST,
|
|
20
|
-
useExisting: forwardRef(function () { return TuiTextAreaDirective_1; }),
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
})
|
|
24
|
-
], TuiTextAreaDirective);
|
|
25
|
-
return TuiTextAreaDirective;
|
|
26
|
-
}(TuiAbstractTextfieldHost));
|
|
27
|
-
export { TuiTextAreaDirective };
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1hcmVhLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS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bmVudCc7XG5cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiBgdHVpLXRleHQtYXJlYWAsXG4gICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICAgIHByb3ZpZGU6IFRVSV9URVhURklFTERfSE9TVCxcbiAgICAgICAgICAgIHVzZUV4aXN0aW5nOiBmb3J3YXJkUmVmKCgpID0+IFR1aVRleHRBcmVhRGlyZWN0aXZlKSxcbiAgICAgICAgfSxcbiAgICBdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlUZXh0QXJlYURpcmVjdGl2ZSBleHRlbmRzIFR1aUFic3RyYWN0VGV4dGZpZWxkSG9zdDxUdWlUZXh0QXJlYUNvbXBvbmVudD4ge1xuICAgIG9uVmFsdWVDaGFuZ2UodmFsdWU6IHN0cmluZyk6IHZvaWQge1xuICAgICAgICB0aGlzLmhvc3Qub25WYWx1ZUNoYW5nZSh2YWx1ZSk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { FormsModule } from '@angular/forms';
|
|
5
|
-
import { TuiFocusableModule, TuiHoveredModule } from '@taiga-ui/cdk';
|
|
6
|
-
import { TuiDescribedByModule, TuiPrimitiveTextfieldModule, TuiScrollbarModule, TuiSvgModule, TuiTextfieldComponent, TuiTooltipModule, TuiWrapperModule, } from '@taiga-ui/core';
|
|
7
|
-
import { TuiTextAreaComponent } from './text-area.component';
|
|
8
|
-
import { TuiTextAreaDirective } from './text-area.directive';
|
|
9
|
-
var TuiTextAreaModule = /** @class */ (function () {
|
|
10
|
-
function TuiTextAreaModule() {
|
|
11
|
-
}
|
|
12
|
-
TuiTextAreaModule = __decorate([
|
|
13
|
-
NgModule({
|
|
14
|
-
imports: [
|
|
15
|
-
CommonModule,
|
|
16
|
-
FormsModule,
|
|
17
|
-
TuiFocusableModule,
|
|
18
|
-
TuiHoveredModule,
|
|
19
|
-
TuiScrollbarModule,
|
|
20
|
-
TuiTooltipModule,
|
|
21
|
-
TuiWrapperModule,
|
|
22
|
-
TuiDescribedByModule,
|
|
23
|
-
TuiSvgModule,
|
|
24
|
-
TuiPrimitiveTextfieldModule,
|
|
25
|
-
],
|
|
26
|
-
declarations: [TuiTextAreaComponent, TuiTextAreaDirective],
|
|
27
|
-
exports: [TuiTextAreaComponent, TuiTextAreaDirective, TuiTextfieldComponent],
|
|
28
|
-
})
|
|
29
|
-
], TuiTextAreaModule);
|
|
30
|
-
return TuiTextAreaModule;
|
|
31
|
-
}());
|
|
32
|
-
export { TuiTextAreaModule };
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1hcmVhLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy90ZXh0LWFyZWEvIiwic291cmNlcyI6WyJ0ZXh0LWFyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDM0MsT0FBTyxFQUFDLGtCQUFrQixFQUFFLGdCQUFnQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFDSCxvQkFBb0IsRUFDcEIsMkJBQTJCLEVBQzNCLGtCQUFrQixFQUNsQixZQUFZLEVBQ1oscUJBQXFCLEVBQ3JCLGdCQUFnQixFQUNoQixnQkFBZ0IsR0FDbkIsTUFBTSxnQkFBZ0IsQ0FBQztBQUV4QixPQUFPLEVBQUMsb0JBQW9CLEV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4dGZpZWxkQ29tcG9uZW50LFxuICAgIFR1aVRvb2x0aXBNb2R1bGUsXG4gICAgVHVpV3JhcHBlck1vZHVsZSxcbn0gZnJvbSAnQHRhaWdhLXVpL2NvcmUnO1xuXG5pbXBvcnQge1R1aVRleHRBcmVhQ29tcG9uZW50fSBmcm9tICcuL3RleHQtYXJlYS5jb21wb25lbnQnO1xuaW1wb3J0IHtUdWlUZXh0QXJlYURpcmVjdGl2ZX0gZnJvbSAnLi90ZXh0LWFyZWEuZGlyZWN0aXZlJztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgRm9ybXNNb2R1bGUsXG4gICAgICAgIFR1aUZvY3VzYWJsZU1vZHVsZSxcbiAgICAgICAgVHVpSG92ZXJlZE1vZHVsZSxcbiAgICAgICAgVHVpU2Nyb2xsYmFyTW9kdWxlLFxuICAgICAgICBUdWlUb29sdGlwTW9kdWxlLFxuICAgICAgICBUdWlXcmFwcGVyTW9kdWxlLFxuICAgICAgICBUdWlEZXNjcmliZWRCeU1vZHVsZSxcbiAgICAgICAgVHVpU3ZnTW9kdWxlLFxuICAgICAgICBUdWlQcmltaXRpdmVUZXh0ZmllbGRNb2R1bGUsXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtUdWlUZXh0QXJlYUNvbXBvbmVudCwgVHVpVGV4dEFyZWFEaXJlY3RpdmVdLFxuICAgIGV4cG9ydHM6IFtUdWlUZXh0QXJlYUNvbXBvbmVudCwgVHVpVGV4dEFyZWFEaXJlY3RpdmUsIFR1aVRleHRmaWVsZENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aVRleHRBcmVhTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { forwardRef } from '@angular/core';
|
|
2
|
-
import { AbstractTuiControl, TUI_FOCUSABLE_ITEM_ACCESSOR } from '@taiga-ui/cdk';
|
|
3
|
-
import { HINT_CONTROLLER_PROVIDER, MODE_PROVIDER, TEXTFIELD_CONTROLLER_PROVIDER, } from '@taiga-ui/core';
|
|
4
|
-
import { TuiTextAreaComponent } from './text-area.component';
|
|
5
|
-
export var TUI_TEXT_AREA_PROVIDERS = [
|
|
6
|
-
{
|
|
7
|
-
provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
|
|
8
|
-
useExisting: forwardRef(function () { return TuiTextAreaComponent; }),
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
provide: AbstractTuiControl,
|
|
12
|
-
useExisting: forwardRef(function () { return TuiTextAreaComponent; }),
|
|
13
|
-
},
|
|
14
|
-
TEXTFIELD_CONTROLLER_PROVIDER,
|
|
15
|
-
HINT_CONTROLLER_PROVIDER,
|
|
16
|
-
MODE_PROVIDER,
|
|
17
|
-
];
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC1hcmVhLnByb3ZpZGVycy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy90ZXh0LWFyZWEvIiwic291cmNlcyI6WyJ0ZXh0LWFyZWEucHJvdmlkZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQVcsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFDLGtCQUFrQixFQUFFLDJCQUEyQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzlFLE9BQU8sRUFDSCx3QkFBd0IsRUFDeEIsYUFBYSxFQUNiLDZCQUE2QixHQUNoQyxNQUFNLGdCQUFnQixDQUFDO0FBRXhCLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBRTNELE1BQU0sQ0FBQyxJQUFNLHVCQUF1QixHQUFlO0lBQy9DO1FBQ0ksT0FBTyxFQUFFLDJCQUE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kgPT4gVHVpVGV4dEFyZWFDb21wb25lbnQpLFxuICAgIH0sXG4gICAgVEVYVEZJRUxEX0NPTlRST0xMRVJfUFJPVklERVIsXG4gICAgSElOVF9DT05UUk9MTEVSX1BST1ZJREVSLFxuICAgIE1PREVfUFJPVklERVIsXG5dO1xuIl19
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './toggle.component';
|
|
2
|
-
export * from './toggle.module';
|
|
3
|
-
export * from './toggle-options';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvdG9nZ2xlLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RvZ2dsZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi90b2dnbGUubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vdG9nZ2xlLW9wdGlvbnMnO1xuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './index';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWNvbXBvbmVudHMtdG9nZ2xlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2tpdC9jb21wb25lbnRzL3RvZ2dsZS8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWtpdC1jb21wb25lbnRzLXRvZ2dsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
|
-
/** Default values for the toggle options. */
|
|
4
|
-
export var TUI_TOGGLE_DEFAULT_OPTIONS = {
|
|
5
|
-
icons: {
|
|
6
|
-
toggleOff: function (_a) {
|
|
7
|
-
var $implicit = _a.$implicit;
|
|
8
|
-
return $implicit === "m" ? "tuiIconToggleOff" : "tuiIconToggleOffLarge";
|
|
9
|
-
},
|
|
10
|
-
toggleOn: function (_a) {
|
|
11
|
-
var $implicit = _a.$implicit;
|
|
12
|
-
return $implicit === "m" ? "tuiIconToggleOn" : "tuiIconToggleOnLarge";
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
singleColor: false,
|
|
16
|
-
showIcons: false,
|
|
17
|
-
size: "m",
|
|
18
|
-
};
|
|
19
|
-
export var TUI_TOGGLE_OPTIONS = new InjectionToken("Default parameters for toggle component", {
|
|
20
|
-
factory: function () { return TUI_TOGGLE_DEFAULT_OPTIONS; },
|
|
21
|
-
});
|
|
22
|
-
export var tuiToggleOptionsProvider = function (options) { return ({
|
|
23
|
-
provide: TUI_TOGGLE_OPTIONS,
|
|
24
|
-
useValue: __assign(__assign({}, TUI_TOGGLE_DEFAULT_OPTIONS), options),
|
|
25
|
-
}); };
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLW9wdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvdG9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li4uVFVJX1RPR0dMRV9ERUZBVUxUX09QVElPTlMsIC4uLm9wdGlvbnN9LFxufSk7XG4iXX0=
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { __decorate, __extends, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, HostBinding, Inject, Input, Optional, Self, ViewChild, } from '@angular/core';
|
|
3
|
-
import { NgControl } from '@angular/forms';
|
|
4
|
-
import { AbstractTuiControl, isNativeFocused, TUI_FOCUSABLE_ITEM_ACCESSOR, tuiDefaultProp, } from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiAppearance, TuiBrightness, TuiModeDirective, TuiSizeL, TuiSizeXS, } from '@taiga-ui/core';
|
|
6
|
-
import { TUI_TOGGLE_OPTIONS } from './toggle-options';
|
|
7
|
-
var TuiToggleComponent = /** @class */ (function (_super) {
|
|
8
|
-
__extends(TuiToggleComponent, _super);
|
|
9
|
-
function TuiToggleComponent(control, changeDetectorRef, modeDirective, options) {
|
|
10
|
-
var _this = _super.call(this, control, changeDetectorRef) || this;
|
|
11
|
-
_this.modeDirective = modeDirective;
|
|
12
|
-
_this.options = options;
|
|
13
|
-
_this.singleColor = _this.options.singleColor;
|
|
14
|
-
_this.showIcons = _this.options.showIcons;
|
|
15
|
-
_this.showLoader = false;
|
|
16
|
-
_this.size = _this.options.size;
|
|
17
|
-
return _this;
|
|
18
|
-
}
|
|
19
|
-
TuiToggleComponent_1 = TuiToggleComponent;
|
|
20
|
-
Object.defineProperty(TuiToggleComponent.prototype, "iconOn", {
|
|
21
|
-
get: function () {
|
|
22
|
-
return this.options.icons.toggleOn;
|
|
23
|
-
},
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(TuiToggleComponent.prototype, "iconOff", {
|
|
28
|
-
get: function () {
|
|
29
|
-
return this.options.icons.toggleOff;
|
|
30
|
-
},
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true
|
|
33
|
-
});
|
|
34
|
-
Object.defineProperty(TuiToggleComponent.prototype, "nativeFocusableElement", {
|
|
35
|
-
get: function () {
|
|
36
|
-
return this.focusableElement ? this.focusableElement.nativeElement : null;
|
|
37
|
-
},
|
|
38
|
-
enumerable: true,
|
|
39
|
-
configurable: true
|
|
40
|
-
});
|
|
41
|
-
Object.defineProperty(TuiToggleComponent.prototype, "focused", {
|
|
42
|
-
get: function () {
|
|
43
|
-
return isNativeFocused(this.nativeFocusableElement);
|
|
44
|
-
},
|
|
45
|
-
enumerable: true,
|
|
46
|
-
configurable: true
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(TuiToggleComponent.prototype, "appearance", {
|
|
49
|
-
get: function () {
|
|
50
|
-
return this.singleColor || this.checked
|
|
51
|
-
? "primary" /* Primary */
|
|
52
|
-
: "secondary" /* Secondary */;
|
|
53
|
-
},
|
|
54
|
-
enumerable: true,
|
|
55
|
-
configurable: true
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(TuiToggleComponent.prototype, "sizeM", {
|
|
58
|
-
get: function () {
|
|
59
|
-
return this.size === "m";
|
|
60
|
-
},
|
|
61
|
-
enumerable: true,
|
|
62
|
-
configurable: true
|
|
63
|
-
});
|
|
64
|
-
Object.defineProperty(TuiToggleComponent.prototype, "checked", {
|
|
65
|
-
get: function () {
|
|
66
|
-
return this.value;
|
|
67
|
-
},
|
|
68
|
-
enumerable: true,
|
|
69
|
-
configurable: true
|
|
70
|
-
});
|
|
71
|
-
Object.defineProperty(TuiToggleComponent.prototype, "loaderSize", {
|
|
72
|
-
get: function () {
|
|
73
|
-
return this.sizeM ? "xs" : "s";
|
|
74
|
-
},
|
|
75
|
-
enumerable: true,
|
|
76
|
-
configurable: true
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(TuiToggleComponent.prototype, "hostMode", {
|
|
79
|
-
get: function () {
|
|
80
|
-
return this.modeDirective ? this.modeDirective.mode : null;
|
|
81
|
-
},
|
|
82
|
-
enumerable: true,
|
|
83
|
-
configurable: true
|
|
84
|
-
});
|
|
85
|
-
TuiToggleComponent.prototype.onChecked = function (checked) {
|
|
86
|
-
this.updateValue(checked);
|
|
87
|
-
};
|
|
88
|
-
TuiToggleComponent.prototype.onFocused = function (focused) {
|
|
89
|
-
this.updateFocused(focused);
|
|
90
|
-
};
|
|
91
|
-
TuiToggleComponent.prototype.onHovered = function (hovered) {
|
|
92
|
-
this.updateHovered(hovered);
|
|
93
|
-
};
|
|
94
|
-
TuiToggleComponent.prototype.onPressed = function (pressed) {
|
|
95
|
-
this.updatePressed(pressed);
|
|
96
|
-
};
|
|
97
|
-
TuiToggleComponent.prototype.onFocusVisible = function (focusVisible) {
|
|
98
|
-
this.updateFocusVisible(focusVisible);
|
|
99
|
-
};
|
|
100
|
-
TuiToggleComponent.prototype.getFallbackValue = function () {
|
|
101
|
-
return false;
|
|
102
|
-
};
|
|
103
|
-
var TuiToggleComponent_1;
|
|
104
|
-
TuiToggleComponent.ctorParameters = function () { return [
|
|
105
|
-
{ type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
|
|
106
|
-
{ type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
|
|
107
|
-
{ type: TuiModeDirective, decorators: [{ type: Optional }, { type: Inject, args: [TuiModeDirective,] }] },
|
|
108
|
-
{ type: undefined, decorators: [{ type: Inject, args: [TUI_TOGGLE_OPTIONS,] }] }
|
|
109
|
-
]; };
|
|
110
|
-
__decorate([
|
|
111
|
-
ViewChild("focusableElement")
|
|
112
|
-
], TuiToggleComponent.prototype, "focusableElement", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
Input(),
|
|
115
|
-
tuiDefaultProp()
|
|
116
|
-
], TuiToggleComponent.prototype, "singleColor", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
Input(),
|
|
119
|
-
tuiDefaultProp()
|
|
120
|
-
], TuiToggleComponent.prototype, "showIcons", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
Input(),
|
|
123
|
-
tuiDefaultProp()
|
|
124
|
-
], TuiToggleComponent.prototype, "showLoader", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
Input(),
|
|
127
|
-
HostBinding("attr.data-size"),
|
|
128
|
-
tuiDefaultProp()
|
|
129
|
-
], TuiToggleComponent.prototype, "size", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
HostBinding("class._checked")
|
|
132
|
-
], TuiToggleComponent.prototype, "checked", null);
|
|
133
|
-
__decorate([
|
|
134
|
-
HostBinding("attr.data-mode")
|
|
135
|
-
], TuiToggleComponent.prototype, "hostMode", null);
|
|
136
|
-
TuiToggleComponent = TuiToggleComponent_1 = __decorate([
|
|
137
|
-
Component({
|
|
138
|
-
selector: "tui-toggle",
|
|
139
|
-
template: "<tui-wrapper\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [focused]=\"computedFocusVisible\"\n [hovered]=\"computedHovered\"\n [pressed]=\"computedPressed\"\n [invalid]=\"computedInvalid\"\n>\n <div class=\"t-toggle\">\n <tui-loader\n *ngIf=\"showLoader\"\n class=\"t-loader\"\n [size]=\"loaderSize\"\n [inheritColor]=\"true\"\n [showLoader]=\"checked\"\n ></tui-loader>\n <span\n polymorpheus-outlet\n class=\"t-icon-wrapper\"\n [content]=\"iconOn\"\n [context]=\"{$implicit: size}\"\n >\n <ng-template let-icon>\n <tui-svg\n *ngIf=\"showIcons && !showLoader\"\n automation-id=\"tui-toggle__check-icon\"\n class=\"t-icon\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </span>\n <div class=\"t-circle\"></div>\n <tui-loader\n *ngIf=\"showLoader\"\n class=\"t-loader\"\n [size]=\"loaderSize\"\n [inheritColor]=\"true\"\n [showLoader]=\"!checked\"\n ></tui-loader>\n <span\n polymorpheus-outlet\n class=\"t-icon-wrapper\"\n [content]=\"iconOff\"\n [context]=\"{$implicit: size}\"\n >\n <ng-template let-icon>\n <tui-svg\n *ngIf=\"showIcons && !showLoader\"\n automation-id=\"tui-toggle__cancel-icon\"\n class=\"t-icon t-icon_off\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </span>\n </div>\n <input\n #focusableElement\n type=\"checkbox\"\n role=\"switch\"\n automation-id=\"tui-toggle__checkbox\"\n class=\"t-checkbox\"\n [attr.aria-checked]=\"value\"\n [id]=\"id\"\n [disabled]=\"disabled\"\n [tuiChecked]=\"checked\"\n [tuiFocusable]=\"focusable\"\n (tuiCheckedChange)=\"onChecked($event)\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (tuiPressedChange)=\"onPressed($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n />\n</tui-wrapper>\n",
|
|
140
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
141
|
-
providers: [
|
|
142
|
-
{
|
|
143
|
-
provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
|
|
144
|
-
useExisting: forwardRef(function () { return TuiToggleComponent_1; }),
|
|
145
|
-
},
|
|
146
|
-
],
|
|
147
|
-
styles: [":host{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}:host[data-size='m']{width:2rem;height:1rem}:host[data-size='l']{width:3rem;height:1.5rem}.t-checkbox{padding:0;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;height:100%;width:100%;opacity:0;cursor:pointer}.t-checkbox:-webkit-autofill,.t-checkbox:-webkit-autofill:focus,.t-checkbox:-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._disabled .t-checkbox{pointer-events:none;cursor:default}.t-toggle{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}:host[data-size='m'] .t-toggle{width:3rem;height:1rem;transform:translateX(-1rem)}:host[data-size='l'] .t-toggle{width:4.5rem;height:1.5rem;transform:translateX(-1.5rem)}:host._checked .t-toggle{transform:translateX(0)}.t-circle{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}:host._disabled .t-circle_light{opacity:.24}:host[data-size='m'] .t-circle{width:.75rem;height:.75rem}:host[data-size='l'] .t-circle{width:1rem;height:1rem}:host._disabled .t-circle{background-color:var(--tui-base-01)}:host:not(._checked) .t-loader{color:var(--tui-base-06)}:host:not(._checked)._disabled .t-loader{color:var(--tui-base-05)}:host:not(._checked)[data-mode=onDark] .t-loader{color:var(--tui-text-03-night)}:host:not(._checked)[data-mode=onDark]._disabled .t-loader{color:var(--tui-clear-inverse-active)}:host:not(._checked)[data-mode=onLight] .t-loader{color:var(--tui-text-03)}:host:not(._checked)[data-mode=onLight]._disabled .t-loader{color:var(--tui-clear-active)}:host[data-size='m'] .t-loader{width:.75rem;margin:0 .2rem;transform:scale(.75)}:host[data-size='l'] .t-loader{width:1rem;margin:0 .25rem}.t-icon-wrapper{display:flex}.t-icon{opacity:.8}.t-icon_off{color:var(--tui-base-06)}:host._disabled .t-icon_off{color:var(--tui-base-05)}:host[data-mode=onDark] .t-icon_off{color:var(--tui-text-03-night)}:host[data-mode=onDark]._disabled .t-icon_off{color:var(--tui-clear-inverse-active)}:host[data-mode=onLight] .t-icon_off{color:var(--tui-text-03)}:host[data-mode=onLight]._disabled .t-icon_off{color:var(--tui-clear-active)}:host[data-size='m'] .t-icon{width:1rem;height:1rem;transform:scale(.75)}:host[data-size='l'] .t-icon{margin:0 .125rem;width:1.5rem;height:1.5rem}:host:hover .t-icon{opacity:1}"]
|
|
148
|
-
}),
|
|
149
|
-
__param(0, Optional()),
|
|
150
|
-
__param(0, Self()),
|
|
151
|
-
__param(0, Inject(NgControl)),
|
|
152
|
-
__param(1, Inject(ChangeDetectorRef)),
|
|
153
|
-
__param(2, Optional()),
|
|
154
|
-
__param(2, Inject(TuiModeDirective)),
|
|
155
|
-
__param(3, Inject(TUI_TOGGLE_OPTIONS))
|
|
156
|
-
], TuiToggleComponent);
|
|
157
|
-
return TuiToggleComponent;
|
|
158
|
-
}(AbstractTuiControl));
|
|
159
|
-
export { TuiToggleComponent };
|
|
160
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy90b2dnbGUvIiwic291cmNlcyI6WyJ0b2dnbGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsVUFBVSxFQUNWLFVBQVUsRUFDVixXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssRUFDTCxRQUFRLEVBQ1IsSUFBSSxFQUNKLFNBQVMsR0FDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDekMsT0FBTyxFQUNILGtCQUFrQixFQUNsQixlQUFlLEVBQ2YsMkJBQTJCLEVBRTNCLGNBQWMsR0FHakIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNILGFBQWEsRUFDYixhQUFhLEVBQ2IsZ0JBQWdCLEVBQ2hCLFFBQVEsRUFDUixTQUFTLEdBQ1osTUFBTSxnQkFBZ0IsQ0FBQztBQUd4QixPQUFPLEVBQUMsa0JBQWtCLEVBQW1CLE1BQU0sa0JBQWtCLENBQ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vb2xlYW4pOiB2b2lkIHtcbiAgICAgICAgdGhpcy51cGRhdGVGb2N1c1Zpc2libGUoZm9jdXNWaXNpYmxlKTtcbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgZ2V0RmFsbGJhY2tWYWx1ZSgpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { TuiCheckedModule, TuiFocusableModule, TuiFocusedModule, TuiFocusVisibleModule, TuiHoveredModule, TuiPressedModule, } from '@taiga-ui/cdk';
|
|
5
|
-
import { TuiLoaderModule, TuiSvgModule, TuiWrapperModule } from '@taiga-ui/core';
|
|
6
|
-
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
7
|
-
import { TuiToggleComponent } from './toggle.component';
|
|
8
|
-
var TuiToggleModule = /** @class */ (function () {
|
|
9
|
-
function TuiToggleModule() {
|
|
10
|
-
}
|
|
11
|
-
TuiToggleModule = __decorate([
|
|
12
|
-
NgModule({
|
|
13
|
-
imports: [
|
|
14
|
-
CommonModule,
|
|
15
|
-
TuiFocusedModule,
|
|
16
|
-
TuiFocusableModule,
|
|
17
|
-
TuiHoveredModule,
|
|
18
|
-
TuiPressedModule,
|
|
19
|
-
TuiFocusVisibleModule,
|
|
20
|
-
TuiCheckedModule,
|
|
21
|
-
TuiWrapperModule,
|
|
22
|
-
TuiSvgModule,
|
|
23
|
-
TuiLoaderModule,
|
|
24
|
-
PolymorpheusModule,
|
|
25
|
-
],
|
|
26
|
-
declarations: [TuiToggleComponent],
|
|
27
|
-
exports: [TuiToggleComponent],
|
|
28
|
-
})
|
|
29
|
-
], TuiToggleModule);
|
|
30
|
-
return TuiToggleModule;
|
|
31
|
-
}());
|
|
32
|
-
export { TuiToggleModule };
|
|
33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gVHVpV3JhcHBlck1vZHVsZSxcbiAgICAgICAgVHVpU3ZnTW9kdWxlLFxuICAgICAgICBUdWlMb2FkZXJNb2R1bGUsXG4gICAgICAgIFBvbHltb3JwaGV1c01vZHVsZSxcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW1R1aVRvZ2dsZUNvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW1R1aVRvZ2dsZUNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aVRvZ2dsZU1vZHVsZSB7fVxuIl19
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, Inject, Input, Optional, ViewChild, } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { distinctUntilChanged, map, startWith } from 'rxjs/operators';
|
|
5
|
-
import { TuiTreeChildrenDirective } from '../../directives/tree-children.directive';
|
|
6
|
-
import { TUI_TREE_NODE } from '../../misc/tree.tokens';
|
|
7
|
-
import { TuiTreeItemComponent } from '../tree-item/tree-item.component';
|
|
8
|
-
var TuiTreeComponent = /** @class */ (function () {
|
|
9
|
-
function TuiTreeComponent(directive) {
|
|
10
|
-
var _this = this;
|
|
11
|
-
this.directive = directive;
|
|
12
|
-
this.check$ = new Subject();
|
|
13
|
-
this.children$ = this.check$.pipe(startWith(null), map(function () { return _this.handler(_this.value); }), distinctUntilChanged());
|
|
14
|
-
this.content = function (_a) {
|
|
15
|
-
var $implicit = _a.$implicit;
|
|
16
|
-
return String($implicit);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
TuiTreeComponent_1 = TuiTreeComponent;
|
|
20
|
-
TuiTreeComponent.prototype.ngDoCheck = function () {
|
|
21
|
-
var _a, _b;
|
|
22
|
-
this.check$.next();
|
|
23
|
-
(_a = this.item) === null || _a === void 0 ? void 0 : _a.ngDoCheck();
|
|
24
|
-
(_b = this.child) === null || _b === void 0 ? void 0 : _b.ngDoCheck();
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(TuiTreeComponent.prototype, "handler", {
|
|
27
|
-
get: function () {
|
|
28
|
-
var _a, _b;
|
|
29
|
-
return (_b = (_a = this.directive) === null || _a === void 0 ? void 0 : _a.childrenHandler) !== null && _b !== void 0 ? _b : TuiTreeChildrenDirective.defaultHandler;
|
|
30
|
-
},
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true
|
|
33
|
-
});
|
|
34
|
-
var TuiTreeComponent_1;
|
|
35
|
-
TuiTreeComponent.ctorParameters = function () { return [
|
|
36
|
-
{ type: TuiTreeChildrenDirective, decorators: [{ type: Optional }, { type: Inject, args: [TuiTreeChildrenDirective,] }] }
|
|
37
|
-
]; };
|
|
38
|
-
__decorate([
|
|
39
|
-
Input()
|
|
40
|
-
], TuiTreeComponent.prototype, "value", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
ViewChild(TuiTreeItemComponent)
|
|
43
|
-
], TuiTreeComponent.prototype, "item", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
ViewChild(TuiTreeComponent_1)
|
|
46
|
-
], TuiTreeComponent.prototype, "child", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
Input()
|
|
49
|
-
], TuiTreeComponent.prototype, "content", void 0);
|
|
50
|
-
TuiTreeComponent = TuiTreeComponent_1 = __decorate([
|
|
51
|
-
Component({
|
|
52
|
-
selector: "tui-tree[value]",
|
|
53
|
-
template: "<tui-tree-item\n *tuiLet=\"children$ | async as children\"\n #view\n [tuiTreeNode]=\"value\"\n>\n <div\n *ngIf=\"$any(value) !== children\"\n polymorpheus-outlet\n [content]=\"content\"\n [context]=\"{$implicit: value, node: view}\"\n ></div>\n <tui-tree\n *ngFor=\"let child of children\"\n [value]=\"child\"\n [content]=\"content\"\n ></tui-tree>\n</tui-tree-item>\n",
|
|
54
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
55
|
-
providers: [
|
|
56
|
-
{
|
|
57
|
-
provide: TUI_TREE_NODE,
|
|
58
|
-
useExisting: TuiTreeComponent_1,
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
host: {
|
|
62
|
-
role: "tree",
|
|
63
|
-
},
|
|
64
|
-
styles: [":host{position:relative;display:block}"]
|
|
65
|
-
}),
|
|
66
|
-
__param(0, Optional()),
|
|
67
|
-
__param(0, Inject(TuiTreeChildrenDirective))
|
|
68
|
-
], TuiTreeComponent);
|
|
69
|
-
return TuiTreeComponent;
|
|
70
|
-
}());
|
|
71
|
-
export { TuiTreeComponent };
|
|
72
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkva2l0L2NvbXBvbmVudHMvdHJlZS8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvdHJlZS90cmVlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBRVQsTUFBTSxFQUNOLEtBQUssRUFDTCxRQUFRLEVBQ1IsU0FBUyxHQUNaLE1BQU0sZUFBZSxDQUFDO0FBR3ZCLE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDN0IsT0FBTyxFQUFDLG9CQUFvQixFQUFFLEdBQUcsRUFBRSxTQUFTLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUVwRSxPQUFPLEVBQUMsd0JBQXdCLEVBQUMsTUFBTSwwQ0FBMEMsQ0FBQztBQUVsRixPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDckQsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sa0NBQWtDLENBQUM7QUFpQnRFO0lBa0JJLDBCQUdhLFNBQTZDO1FBSDFELGlCQUlJO1FBRFMsY0F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{ ChangeDetectionStrategy, Component, ContentChildren, DoCheck, ElementRef, forwardRef, HostBinding, Inject, QueryList, } from '@angular/core';
|
|
3
|
-
import { EMPTY_QUERY } from '@taiga-ui/cdk';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { distinctUntilChanged, map, startWith } from 'rxjs/operators';
|
|
6
|
-
import { TUI_TREE_CONTENT, TUI_TREE_CONTROLLER, TUI_TREE_LEVEL, TUI_TREE_NODE, } from '../../misc/tree.tokens';
|
|
7
|
-
import { TUI_TREE_ITEM_PROVIDERS } from './tree-item.providers';
|
|
8
|
-
var TuiTreeItemComponent = /** @class */ (function () {
|
|
9
|
-
function TuiTreeItemComponent(elementRef, controller, level, content) {
|
|
10
|
-
var _this = this;
|
|
11
|
-
this.elementRef = elementRef;
|
|
12
|
-
this.controller = controller;
|
|
13
|
-
this.level = level;
|
|
14
|
-
this.content = content;
|
|
15
|
-
this.nested = EMPTY_QUERY;
|
|
16
|
-
this.change$ = new Subject();
|
|
17
|
-
this.expanded$ = this.change$.pipe(startWith(null), map(function () { return _this.isExpanded; }), distinctUntilChanged());
|
|
18
|
-
this.attached$ = this.change$.pipe(map(function () { return _this.elementRef.nativeElement.isConnected; }), distinctUntilChanged());
|
|
19
|
-
}
|
|
20
|
-
Object.defineProperty(TuiTreeItemComponent.prototype, "isExpandable", {
|
|
21
|
-
get: function () {
|
|
22
|
-
return !!this.nested.length;
|
|
23
|
-
},
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(TuiTreeItemComponent.prototype, "isExpanded", {
|
|
28
|
-
get: function () {
|
|
29
|
-
return this.controller.isExpanded(this);
|
|
30
|
-
},
|
|
31
|
-
enumerable: true,
|
|
32
|
-
configurable: true
|
|
33
|
-
});
|
|
34
|
-
TuiTreeItemComponent.prototype.ngDoCheck = function () {
|
|
35
|
-
this.change$.next();
|
|
36
|
-
};
|
|
37
|
-
TuiTreeItemComponent.ctorParameters = function () { return [
|
|
38
|
-
{ type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
|
|
39
|
-
{ type: undefined, decorators: [{ type: Inject, args: [forwardRef(function () { return TUI_TREE_CONTROLLER; }),] }] },
|
|
40
|
-
{ type: Number, decorators: [{ type: Inject, args: [forwardRef(function () { return TUI_TREE_LEVEL; }),] }] },
|
|
41
|
-
{ type: undefined, decorators: [{ type: Inject, args: [forwardRef(function () { return TUI_TREE_CONTENT; }),] }] }
|
|
42
|
-
]; };
|
|
43
|
-
__decorate([
|
|
44
|
-
ContentChildren(TUI_TREE_NODE)
|
|
45
|
-
], TuiTreeItemComponent.prototype, "nested", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
HostBinding("class._expandable")
|
|
48
|
-
], TuiTreeItemComponent.prototype, "isExpandable", null);
|
|
49
|
-
TuiTreeItemComponent = __decorate([
|
|
50
|
-
Component({
|
|
51
|
-
selector: "tui-tree-item",
|
|
52
|
-
template: "<ng-template #template><ng-content></ng-content></ng-template>\n<div\n polymorpheus-outlet\n [content]=\"content\"\n [context]=\"{$implicit: this, template: template}\"\n></div>\n<tui-expand\n *ngIf=\"isExpandable\"\n role=\"group\"\n class=\"t-children\"\n [expanded]=\"expanded$ | async\"\n>\n <div>\n <ng-content select=\"tui-tree-item\"></ng-content>\n <ng-content select=\"tui-tree\"></ng-content>\n </div>\n</tui-expand>\n<ng-container *ngIf=\"attached$ | async\"></ng-container>\n",
|
|
53
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
54
|
-
providers: TUI_TREE_ITEM_PROVIDERS,
|
|
55
|
-
host: {
|
|
56
|
-
role: "treeitem",
|
|
57
|
-
},
|
|
58
|
-
styles: [":host{display:block}.t-children{position:relative;margin-left:var(--tui-tree-item-indent,1.5rem)}"]
|
|
59
|
-
}),
|
|
60
|
-
__param(0, Inject(ElementRef)),
|
|
61
|
-
__param(1, Inject(forwardRef(function () { return TUI_TREE_CONTROLLER; }))),
|
|
62
|
-
__param(2, Inject(forwardRef(function () { return TUI_TREE_LEVEL; }))),
|
|
63
|
-
__param(3, Inject(forwardRef(function () { return TUI_TREE_CONTENT; })))
|
|
64
|
-
], TuiTreeItemComponent);
|
|
65
|
-
return TuiTreeItemComponent;
|
|
66
|
-
}());
|
|
67
|
-
export { TuiTreeItemComponent };
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy90cmVlLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy90cmVlLWl0ZW0vdHJlZS1pdGVtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsZUFBZSxFQUNmLE9BQU8sRUFDUCxVQUFVLEVBQ1YsVUFBVSxFQUNWLFdBQVcsRUFDWCxNQUFNLEVBQ04sU0FBUyxHQUNaLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFMUMsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUM3QixPQUFPLEVBQUMsb0JBQW9CLEVBQUUsR0FBRyxFQUFFLFNBQVMsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBR3BFLE9BQU8sRUFDSCxnQkFBZ0IsRUFDaEIsbUJBQW1CLEVBQ25CLGNBQWMsRUFDZCxhQUFhLEdBQ2hCLE1BQU0sd0JBQXdCLENBQUM7QUFDaEMsT0FBTyxFQUFDLHVCQUF1QixFQUFDLE1BQU0sdUJBQXVCLENBQUM7QUFZOUQ7SUFpQkksOEJBRXFCLFVBQW1DLEVBRW5DLFVBQTZCLEVBRXJDLEtBQWEsRUFFYixPQUFnRDtRQ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kgPT4gVFVJX1RSRUVfQ09OVFJPTExFUikpXG4gICAgICAgIHByaXZhdGUgcmVhZG9ubHkgY29udHJvbGxlcjogVHVpVHJlZUNvbnRyb2xsZXIsXG4gICAgICAgIEBJbmplY3QoZm9yd2FyZFJlZigoKSA9PiBUVUlfVFJFRV9MRVZFTCkpXG4gICAgICAgIHJlYWRvbmx5IGxldmVsOiBudW1iZXIsXG4gICAgICAgIEBJbmplY3QoZm9yd2FyZFJlZigoKSA9PiBUVUlfVFJFRV9DT05URU5UKSlcbiAgICAgICAgcmVhZG9ubHkgY29udGVudDogUG9seW1vcnBoZXVzQ29udGVudDxUdWlUcmVlSXRlbUNvbnRleHQ+LFxuICAgICkge31cblxuICAgIEBIb3N0QmluZGluZyhgY2xhc3MuX2V4cGFuZGFibGVgKVxuICAgIGdldCBpc0V4cGFuZGFibGUoKTogYm9vbGVhbiB7XG4gICAgICAgIHJldHVybiAhIXRoaXMubmVzdGVkLmxlbmd0aDtcbiAgICB9XG5cbiAgICBnZXQgaXNFeHBhbmRlZCgpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuY29udHJvbGxlci5pc0V4cGFuZGVkKHRoaXMpO1xuICAgIH1cblxuICAgIG5nRG9DaGVjaygpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5jaGFuZ2UkLm5leHQoKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { forwardRef, SkipSelf } from '@angular/core';
|
|
2
|
-
import { TUI_TREE_LEVEL, TUI_TREE_NODE } from '../../misc/tree.tokens';
|
|
3
|
-
import { TuiTreeItemComponent } from './tree-item.component';
|
|
4
|
-
export var TUI_TREE_ITEM_PROVIDERS = [
|
|
5
|
-
{
|
|
6
|
-
provide: TUI_TREE_LEVEL,
|
|
7
|
-
deps: [[new SkipSelf(), TUI_TREE_LEVEL]],
|
|
8
|
-
useFactory: treeLevelFactory,
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
provide: TUI_TREE_NODE,
|
|
12
|
-
useExisting: forwardRef(function () { return TuiTreeItemComponent; }),
|
|
13
|
-
},
|
|
14
|
-
];
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
16
|
-
export function treeLevelFactory(level) {
|
|
17
|
-
return ++level;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1pdGVtLnByb3ZpZGVycy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9raXQvY29tcG9uZW50cy90cmVlLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy90cmVlLWl0ZW0vdHJlZS1pdGVtLnByb3ZpZGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsVUFBVSxFQUFZLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUU3RCxPQUFPLEVBQUMsY0FBYyxFQUFFLGFBQWEsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ3JFLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBRTNELE1BQU0sQ0FBQyxJQUFNLHVCQUF1QixHQUFlO0lBQy9DO1FBQ0ksT0FBTyxFQUFFLGNBQWM7UUFDdkIsSUFBSSxFQUFFLENBQUMsQ0FBQyxJQUFJLFFBQVEsRUFBRSxFQUFFLGNBQWMsQ0FBQyxDQUFDO1FBQ3hDLFVBQVUsRUFBRSxnQkFBZ0I7S0FDL0I7SUFDRDtRQUNJLE9BQU8sRUFBRSxhQUFhO1FBQ3RCLFdBQVcsRUFBRSxVQUFVLENBQUMsY0FBTSxPQUFBLG9CQUFvQixFQUFwQixDQUFvQixDQUFDO0tBQ3REO0NBQ0osQ0FBQztBQUVGLGdFQUFnRTtBQUNoRSxNQUFNLFVBQVUsZ0JBQWdCLENBQUMsS0FBYTtJQUMxQyxPQUFPLEVBQUUsS0FBSyxDQUFDO0FBQ25CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge2ZvcndhcmRSZWYsIFByb3ZpZGVyLCBTa2lwU2VsZn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7VFVJX1RSRUVfTEVWRUwsIFRVSV9UUkVFX05PREV9IGZyb20gJy4uLy4uL21pc2MvdHJlZS50b2tlbnMnO1xuaW1wb3J0IHtUdWlUcmVlSXRlbUNvbXBvbmVudH0gZnJvbSAnLi90cmVlLWl0ZW0uY29tcG9uZW50JztcblxuZXhwb3J0IGNvbnN0IFRVSV9UUkVFX0lURU1fUFJPVklERVJTOiBQcm92aWRlcltdID0gW1xuICAgIHtcbiAgICAgICAgcHJvdmlkZTogVFVJX1RSRUVfTEVWRUwsXG4gICAgICAgIGRlcHM6IFtbbmV3IFNraXBTZWxmKCksIFRVSV9UUkVFX0xFVkVMXV0sXG4gICAgICAgIHVzZUZhY3Rvcnk6IHRyZWVMZXZlbEZhY3RvcnksXG4gICAgfSxcbiAgICB7XG4gICAgICAgIHByb3ZpZGU6IFRVSV9UUkVFX05PREUsXG4gICAgICAgIHVzZUV4aXN0aW5nOiBmb3J3YXJkUmVmKCgpID0+IFR1aVRyZWVJdGVtQ29tcG9uZW50KSxcbiAgICB9LFxuXTtcblxuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uYW1pbmctY29udmVudGlvblxuZXhwb3J0IGZ1bmN0aW9uIHRyZWVMZXZlbEZhY3RvcnkobGV2ZWw6IG51bWJlcik6IG51bWJlciB7XG4gICAgcmV0dXJuICsrbGV2ZWw7XG59XG4iXX0=
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { __decorate, __param } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, forwardRef, HostBinding, Inject, } from '@angular/core';
|
|
3
|
-
import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus';
|
|
4
|
-
import { TUI_DEFAULT_TREE_CONTROLLER } from '../../misc/tree.constants';
|
|
5
|
-
import { TUI_TREE_CONTROLLER } from '../../misc/tree.tokens';
|
|
6
|
-
var TuiTreeItemContentComponent = /** @class */ (function () {
|
|
7
|
-
function TuiTreeItemContentComponent(context, controller) {
|
|
8
|
-
this.context = context;
|
|
9
|
-
this.controller = controller;
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(TuiTreeItemContentComponent.prototype, "isExpanded", {
|
|
12
|
-
get: function () {
|
|
13
|
-
return this.context.$implicit.isExpanded;
|
|
14
|
-
},
|
|
15
|
-
enumerable: true,
|
|
16
|
-
configurable: true
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(TuiTreeItemContentComponent.prototype, "isExpandable", {
|
|
19
|
-
get: function () {
|
|
20
|
-
return (this.context.$implicit.isExpandable &&
|
|
21
|
-
this.controller !== TUI_DEFAULT_TREE_CONTROLLER);
|
|
22
|
-
},
|
|
23
|
-
enumerable: true,
|
|
24
|
-
configurable: true
|
|
25
|
-
});
|
|
26
|
-
TuiTreeItemContentComponent.prototype.onClick = function () {
|
|
27
|
-
this.controller.toggle(this.context.$implicit);
|
|
28
|
-
};
|
|
29
|
-
TuiTreeItemContentComponent.ctorParameters = function () { return [
|
|
30
|
-
{ type: undefined, decorators: [{ type: Inject, args: [POLYMORPHEUS_CONTEXT,] }] },
|
|
31
|
-
{ type: undefined, decorators: [{ type: Inject, args: [forwardRef(function () { return TUI_TREE_CONTROLLER; }),] }] }
|
|
32
|
-
]; };
|
|
33
|
-
__decorate([
|
|
34
|
-
HostBinding("class._expandable")
|
|
35
|
-
], TuiTreeItemContentComponent.prototype, "isExpandable", null);
|
|
36
|
-
TuiTreeItemContentComponent = __decorate([
|
|
37
|
-
Component({
|
|
38
|
-
selector: "tui-tree-item-content",
|
|
39
|
-
template: "<button\n *ngIf=\"isExpandable\"\n tuiIconButton\n size=\"xs\"\n appearance=\"flat\"\n icon=\"tuiIconChevronRight\"\n shape=\"rounded\"\n class=\"t-button\"\n [class.t-button_expanded]=\"isExpanded\"\n (click)=\"onClick()\"\n></button>\n<ng-container [ngTemplateOutlet]=\"context.template\"></ng-container>\n",
|
|
40
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
41
|
-
styles: [":host{display:flex;align-items:center}:host :host-context(tui-tree-item._expandable):not(._expandable){padding-left:2rem}.t-button{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;margin-right:.5rem}.t-button_expanded{transform:rotate(90deg)}"]
|
|
42
|
-
}),
|
|
43
|
-
__param(0, Inject(POLYMORPHEUS_CONTEXT)),
|
|
44
|
-
__param(1, Inject(forwardRef(function () { return TUI_TREE_CONTROLLER; })))
|
|
45
|
-
], TuiTreeItemContentComponent);
|
|
46
|
-
return TuiTreeItemContentComponent;
|
|
47
|
-
}());
|
|
48
|
-
export { TuiTreeItemContentComponent };
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1pdGVtLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2tpdC9jb21wb25lbnRzL3RyZWUvIiwic291cmNlcyI6WyJjb21wb25lbnRzL3RyZWUtaXRlbS1jb250ZW50L3RyZWUtaXRlbS1jb250ZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLFdBQVcsRUFDWCxNQUFNLEdBQ1QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFFOUQsT0FBTyxFQUFDLDJCQUEyQixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFFdEUsT0FBTyxFQUFDLG1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