@taiga-ui/kit 2.61.0 → 3.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taiga-ui-kit-classes.umd.js +7 -3
- package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.js +564 -412
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +431 -311
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.js +81 -288
- package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +427 -305
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badge.umd.js +427 -303
- package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.js +438 -304
- package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +400 -342
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -344
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +499 -366
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +599 -438
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +455 -324
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +419 -311
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +434 -311
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +537 -405
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +471 -350
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +525 -379
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +455 -324
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +476 -356
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +516 -392
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +567 -436
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +544 -415
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +540 -406
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +535 -394
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +426 -300
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +505 -371
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +488 -356
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +516 -390
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +480 -360
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +715 -828
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +515 -403
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +564 -419
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +503 -460
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +636 -492
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +497 -367
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +438 -338
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-island.umd.js +427 -310
- package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +528 -324
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js +406 -287
- package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +382 -271
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +730 -575
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +482 -357
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +434 -313
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +551 -492
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +454 -338
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.js +379 -271
- package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +450 -327
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +461 -326
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +474 -345
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +535 -461
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +452 -320
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.js +74 -285
- package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +487 -365
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +580 -570
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +487 -353
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +746 -636
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tag.umd.js +527 -385
- package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +525 -392
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +482 -343
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tree.umd.js +675 -503
- package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components.umd.js +123 -257
- package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-constants.umd.js +341 -280
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +507 -0
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-directives-highlight.umd.js +403 -290
- package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +421 -308
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-present.umd.js +64 -279
- package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -272
- package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +64 -276
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +60 -278
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives.umd.js +20 -50
- package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +441 -321
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-internal.umd.js +5 -7
- package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js +438 -310
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +406 -306
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +43 -261
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js +43 -261
- package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes.umd.js +11 -19
- package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-providers.umd.js +17 -49
- package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-tokens.umd.js +41 -287
- package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-types.umd.js +2 -2
- package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-files.umd.js +10 -18
- package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-format.umd.js +8 -8
- package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +347 -273
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +335 -257
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +341 -275
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils.umd.js +15 -33
- package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-validators.umd.js +7 -3
- package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
- package/bundles/taiga-ui-kit.umd.js +34 -50
- package/bundles/taiga-ui-kit.umd.js.map +1 -1
- package/classes/package.json +2 -5
- package/classes/stringifiable-item.d.ts +1 -1
- package/classes/taiga-ui-kit-classes.d.ts +1 -0
- package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +3 -0
- package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +3 -0
- package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
- package/components/accordion/accordion.component.d.ts +3 -0
- package/components/accordion/accordion.module.d.ts +12 -0
- package/components/accordion/package.json +2 -5
- package/components/accordion/taiga-ui-kit-components-accordion.d.ts +1 -0
- package/components/action/action.component.d.ts +3 -1
- package/components/action/action.module.d.ts +9 -0
- package/components/action/package.json +2 -5
- package/components/action/taiga-ui-kit-components-action.d.ts +1 -0
- package/components/arrow/arrow-options.d.ts +0 -2
- package/components/arrow/arrow.component.d.ts +5 -1
- package/components/arrow/arrow.module.d.ts +8 -0
- package/components/arrow/package.json +2 -5
- package/components/arrow/taiga-ui-kit-components-arrow.d.ts +1 -0
- package/components/avatar/avatar.component.d.ts +3 -0
- package/components/avatar/avatar.module.d.ts +7 -0
- package/components/avatar/package.json +2 -5
- package/components/avatar/taiga-ui-kit-components-avatar.d.ts +1 -0
- package/components/badge/badge.component.d.ts +5 -2
- package/components/badge/badge.module.d.ts +6 -0
- package/components/badge/package.json +2 -5
- package/components/badge/taiga-ui-kit-components-badge.d.ts +1 -0
- package/components/badged-content/badged-content.component.d.ts +8 -4
- package/components/badged-content/badged-content.module.d.ts +9 -0
- package/components/badged-content/package.json +2 -5
- package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +1 -0
- package/components/breadcrumbs/breadcrumbs.component.d.ts +11 -7
- package/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/components/breadcrumbs/index.d.ts +0 -2
- package/components/breadcrumbs/package.json +2 -5
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +1 -0
- package/components/calendar-month/calendar-month.component.d.ts +3 -0
- package/components/calendar-month/calendar-month.module.d.ts +8 -0
- package/components/calendar-month/package.json +2 -5
- package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +1 -0
- package/components/calendar-range/calendar-range.component.d.ts +3 -2
- package/components/calendar-range/calendar-range.module.d.ts +9 -0
- package/components/calendar-range/package.json +2 -5
- package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +1 -0
- package/components/carousel/carousel-autoscroll.directive.d.ts +3 -0
- package/components/carousel/carousel-buttons.directive.d.ts +3 -2
- package/components/carousel/carousel-scroll.directive.d.ts +3 -0
- package/components/carousel/carousel.component.d.ts +3 -0
- package/components/carousel/carousel.directive.d.ts +3 -0
- package/components/carousel/carousel.module.d.ts +12 -0
- package/components/carousel/package.json +2 -5
- package/components/carousel/taiga-ui-kit-components-carousel.d.ts +1 -0
- package/components/checkbox/checkbox.component.d.ts +3 -2
- package/components/checkbox/checkbox.module.d.ts +8 -0
- package/components/checkbox/package.json +2 -5
- package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +1 -0
- package/components/checkbox-block/checkbox-block.component.d.ts +3 -2
- package/components/checkbox-block/checkbox-block.module.d.ts +9 -0
- package/components/checkbox-block/package.json +2 -5
- package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +1 -0
- package/components/checkbox-labeled/checkbox-labeled.component.d.ts +3 -2
- package/components/checkbox-labeled/checkbox-labeled.module.d.ts +8 -0
- package/components/checkbox-labeled/package.json +2 -5
- package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +1 -0
- package/components/combo-box/combo-box-strict.directive.d.ts +3 -0
- package/components/combo-box/combo-box.component.d.ts +3 -1
- package/components/combo-box/combo-box.directive.d.ts +3 -0
- package/components/combo-box/combo-box.module.d.ts +13 -0
- package/components/combo-box/index.d.ts +0 -1
- package/components/combo-box/package.json +2 -5
- package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +1 -0
- package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +3 -0
- package/components/data-list-wrapper/data-list-wrapper.component.d.ts +3 -0
- package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -0
- package/components/data-list-wrapper/data-list-wrapper.module.d.ts +10 -0
- package/components/data-list-wrapper/package.json +2 -5
- package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +1 -0
- package/components/files/file/file.component.d.ts +5 -2
- package/components/files/files.component.d.ts +3 -0
- package/components/files/files.module.d.ts +10 -0
- package/components/files/package.json +2 -5
- package/components/files/taiga-ui-kit-components-files.d.ts +1 -0
- package/components/filter/filter.component.d.ts +5 -3
- package/components/filter/filter.module.d.ts +11 -0
- package/components/filter/package.json +2 -5
- package/components/filter/taiga-ui-kit-components-filter.d.ts +1 -0
- package/components/index.d.ts +0 -2
- package/components/input/index.d.ts +0 -1
- package/components/input/input.component.d.ts +4 -4
- package/components/input/input.directive.d.ts +3 -0
- package/components/input/input.module.d.ts +9 -0
- package/components/input/package.json +2 -5
- package/components/input/taiga-ui-kit-components-input.d.ts +1 -0
- package/components/input-copy/index.d.ts +0 -1
- package/components/input-copy/input-copy.component.d.ts +6 -5
- package/components/input-copy/input-copy.directive.d.ts +3 -0
- package/components/input-copy/input-copy.module.d.ts +9 -0
- package/components/input-copy/package.json +2 -5
- package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +1 -0
- package/components/input-count/input-count-options.d.ts +0 -7
- package/components/input-count/input-count.component.d.ts +3 -2
- package/components/input-count/input-count.directive.d.ts +3 -0
- package/components/input-count/input-count.module.d.ts +11 -0
- package/components/input-count/package.json +2 -5
- package/components/input-count/taiga-ui-kit-components-input-count.d.ts +1 -0
- package/components/input-date/index.d.ts +0 -1
- package/components/input-date/input-date.component.d.ts +3 -1
- package/components/input-date/input-date.directive.d.ts +3 -0
- package/components/input-date/input-date.module.d.ts +12 -0
- package/components/input-date/package.json +2 -5
- package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
- package/components/input-date-range/index.d.ts +0 -1
- package/components/input-date-range/input-date-range.component.d.ts +3 -2
- package/components/input-date-range/input-date-range.directive.d.ts +3 -0
- package/components/input-date-range/input-date-range.module.d.ts +13 -0
- package/components/input-date-range/package.json +2 -5
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +1 -0
- package/components/input-date-time/index.d.ts +0 -1
- package/components/input-date-time/input-date-time.component.d.ts +11 -3
- package/components/input-date-time/input-date-time.directive.d.ts +3 -0
- package/components/input-date-time/input-date-time.module.d.ts +12 -0
- package/components/input-date-time/package.json +2 -5
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +1 -0
- package/components/input-files/input-files.component.d.ts +3 -2
- package/components/input-files/input-files.module.d.ts +10 -0
- package/components/input-files/package.json +2 -5
- package/components/input-files/taiga-ui-kit-components-input-files.d.ts +1 -0
- package/components/input-inline/input-inline.component.d.ts +3 -0
- package/components/input-inline/input-inline.module.d.ts +9 -0
- package/components/input-inline/package.json +2 -5
- package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +1 -0
- package/components/input-month/index.d.ts +0 -1
- package/components/input-month/input-month.component.d.ts +3 -1
- package/components/input-month/input-month.directive.d.ts +3 -0
- package/components/input-month/input-month.module.d.ts +10 -0
- package/components/input-month/package.json +2 -5
- package/components/input-month/taiga-ui-kit-components-input-month.d.ts +1 -0
- package/components/input-month-range/index.d.ts +0 -1
- package/components/input-month-range/input-month-range.component.d.ts +3 -1
- package/components/input-month-range/input-month-range.directive.d.ts +3 -0
- package/components/input-month-range/input-month-range.module.d.ts +10 -0
- package/components/input-month-range/package.json +2 -5
- package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +1 -0
- package/components/input-number/input-number.component.d.ts +7 -6
- package/components/input-number/input-number.directive.d.ts +3 -0
- package/components/input-number/input-number.module.d.ts +12 -0
- package/components/input-number/package.json +2 -5
- package/components/input-number/taiga-ui-kit-components-input-number.d.ts +1 -0
- package/components/input-password/input-password-options.d.ts +0 -7
- package/components/input-password/input-password.component.d.ts +7 -6
- package/components/input-password/input-password.directive.d.ts +3 -0
- package/components/input-password/input-password.module.d.ts +10 -0
- package/components/input-password/package.json +2 -5
- package/components/input-password/taiga-ui-kit-components-input-password.d.ts +1 -0
- package/components/input-phone/index.d.ts +0 -1
- package/components/input-phone/input-phone.component.d.ts +6 -4
- package/components/input-phone/input-phone.directive.d.ts +3 -0
- package/components/input-phone/input-phone.module.d.ts +10 -0
- package/components/input-phone/package.json +2 -5
- package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +1 -0
- package/components/input-phone-international/const/mask-after-code-regexp.d.ts +1 -0
- package/components/input-phone-international/index.d.ts +1 -3
- package/components/input-phone-international/input-phone-international.component.d.ts +3 -0
- package/components/input-phone-international/input-phone-international.module.d.ts +12 -0
- package/components/input-phone-international/package.json +2 -5
- package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +1 -0
- package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -5
- package/components/input-range/input-range.component.d.ts +13 -11
- package/components/input-range/input-range.module.d.ts +12 -0
- package/components/input-range/package.json +2 -5
- package/components/input-range/taiga-ui-kit-components-input-range.d.ts +1 -0
- package/components/input-slider/input-slider.component.d.ts +11 -36
- package/components/input-slider/input-slider.module.d.ts +11 -0
- package/components/input-slider/package.json +2 -5
- package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +1 -0
- package/components/input-tag/input-tag-options.d.ts +4 -1
- package/components/input-tag/input-tag.component.d.ts +10 -12
- package/components/input-tag/input-tag.module.d.ts +11 -0
- package/components/input-tag/package.json +2 -5
- package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +1 -0
- package/components/input-time/input-time-options.d.ts +0 -6
- package/components/input-time/input-time.component.d.ts +3 -1
- package/components/input-time/input-time.module.d.ts +9 -0
- package/components/input-time/package.json +2 -5
- package/components/input-time/taiga-ui-kit-components-input-time.d.ts +1 -0
- package/components/island/island.component.d.ts +3 -0
- package/components/island/island.module.d.ts +6 -0
- package/components/island/package.json +2 -5
- package/components/island/taiga-ui-kit-components-island.d.ts +1 -0
- package/components/line-clamp/index.d.ts +1 -0
- package/components/line-clamp/line-clamp-box.component.d.ts +7 -0
- package/components/line-clamp/line-clamp-position.directive.d.ts +9 -0
- package/components/line-clamp/line-clamp.component.d.ts +5 -2
- package/components/line-clamp/line-clamp.module.d.ts +11 -0
- package/components/line-clamp/package.json +2 -5
- package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +1 -0
- package/components/marker-icon/marker-icon.component.d.ts +5 -2
- package/components/marker-icon/marker-icon.module.d.ts +7 -0
- package/components/marker-icon/package.json +2 -5
- package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +1 -0
- package/components/multi-select/hide-selected.pipe.d.ts +5 -2
- package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -0
- package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +4 -9
- package/components/multi-select/multi-select.component.d.ts +3 -3
- package/components/multi-select/multi-select.module.d.ts +16 -0
- package/components/multi-select/package.json +2 -5
- package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +1 -0
- package/components/multi-select-option/multi-select-option.component.d.ts +3 -0
- package/components/multi-select-option/multi-select-option.module.d.ts +7 -0
- package/components/multi-select-option/package.json +2 -5
- package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +1 -0
- package/components/package.json +2 -5
- package/components/pagination/package.json +2 -5
- package/components/pagination/pagination.component.d.ts +3 -2
- package/components/pagination/pagination.module.d.ts +9 -0
- package/components/pagination/taiga-ui-kit-components-pagination.d.ts +1 -0
- package/components/pdf-viewer/package.json +2 -5
- package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -0
- package/components/pdf-viewer/pdf-viewer.directive.d.ts +3 -0
- package/components/pdf-viewer/pdf-viewer.module.d.ts +9 -0
- package/components/pdf-viewer/pdf-viewer.service.d.ts +4 -1
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +1 -0
- package/components/progress/index.d.ts +0 -3
- package/components/progress/package.json +2 -5
- package/components/progress/progress-bar/progress-bar.component.d.ts +3 -0
- package/components/progress/progress-bar/progress-color-segments.directive.d.ts +3 -0
- package/components/progress/progress-circle/progress-circle.component.d.ts +3 -0
- package/components/progress/progress-label/progress-label.component.d.ts +3 -0
- package/components/progress/progress-segmented/progress-segmented.component.d.ts +3 -2
- package/components/progress/progress.module.d.ts +11 -0
- package/components/progress/taiga-ui-kit-components-progress.d.ts +1 -0
- package/components/radio/package.json +2 -5
- package/components/radio/radio-options.d.ts +0 -5
- package/components/radio/radio.component.d.ts +3 -2
- package/components/radio/radio.module.d.ts +8 -0
- package/components/radio/taiga-ui-kit-components-radio.d.ts +1 -0
- package/components/radio-block/package.json +2 -5
- package/components/radio-block/radio-block.component.d.ts +3 -2
- package/components/radio-block/radio-block.module.d.ts +8 -0
- package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +1 -0
- package/components/radio-group/package.json +2 -5
- package/components/radio-group/radio-group.component.d.ts +3 -0
- package/components/radio-group/radio-group.module.d.ts +5 -0
- package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +1 -0
- package/components/radio-labeled/package.json +2 -5
- package/components/radio-labeled/radio-labeled.component.d.ts +3 -2
- package/components/radio-labeled/radio-labeled.module.d.ts +9 -0
- package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +1 -0
- package/components/radio-list/package.json +2 -5
- package/components/radio-list/radio-list.component.d.ts +5 -5
- package/components/radio-list/radio-list.module.d.ts +10 -0
- package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +1 -0
- package/components/range/package.json +2 -5
- package/components/range/range-change.directive.d.ts +3 -0
- package/components/range/range.component.d.ts +9 -29
- package/components/range/range.module.d.ts +10 -0
- package/components/range/taiga-ui-kit-components-range.d.ts +1 -0
- package/components/rating/package.json +2 -5
- package/components/rating/rating.component.d.ts +3 -0
- package/components/rating/rating.module.d.ts +8 -0
- package/components/rating/taiga-ui-kit-components-rating.d.ts +1 -0
- package/components/select/index.d.ts +0 -1
- package/components/select/package.json +2 -5
- package/components/select/select.component.d.ts +3 -1
- package/components/select/select.directive.d.ts +3 -0
- package/components/select/select.module.d.ts +12 -0
- package/components/select/taiga-ui-kit-components-select.d.ts +1 -0
- package/components/select-option/package.json +2 -5
- package/components/select-option/select-option.component.d.ts +4 -1
- package/components/select-option/select-option.module.d.ts +7 -0
- package/components/select-option/taiga-ui-kit-components-select-option.d.ts +1 -0
- package/components/slider/helpers/slider-key-steps.directive.d.ts +4 -19
- package/components/slider/helpers/slider-readonly.directive.d.ts +3 -0
- package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +3 -0
- package/components/slider/index.d.ts +0 -1
- package/components/slider/package.json +2 -5
- package/components/slider/slider.component.d.ts +3 -0
- package/components/slider/slider.module.d.ts +9 -0
- package/components/slider/taiga-ui-kit-components-slider.d.ts +1 -0
- package/components/stepper/package.json +2 -5
- package/components/stepper/step/step.component.d.ts +4 -1
- package/components/stepper/stepper.component.d.ts +5 -2
- package/components/stepper/stepper.module.d.ts +8 -0
- package/components/stepper/taiga-ui-kit-components-stepper.d.ts +1 -0
- package/components/tabs/index.d.ts +0 -1
- package/components/tabs/package.json +2 -5
- package/components/tabs/tab/tab.component.d.ts +4 -3
- package/components/tabs/tab/tab.providers.d.ts +1 -4
- package/components/tabs/tabs/tabs.component.d.ts +4 -6
- package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +5 -1
- package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +3 -9
- package/components/tabs/tabs.module.d.ts +12 -0
- package/components/tabs/taiga-ui-kit-components-tabs.d.ts +1 -0
- package/components/tabs/underline/underline.component.d.ts +4 -6
- package/components/tag/package.json +2 -5
- package/components/tag/tag-options.d.ts +2 -2
- package/components/tag/tag.component.d.ts +6 -5
- package/components/tag/tag.module.d.ts +10 -0
- package/components/tag/taiga-ui-kit-components-tag.d.ts +1 -0
- package/components/taiga-ui-kit-components.d.ts +1 -0
- package/components/text-area/index.d.ts +0 -1
- package/components/text-area/package.json +2 -5
- package/components/text-area/taiga-ui-kit-components-text-area.d.ts +1 -0
- package/components/text-area/text-area.component.d.ts +3 -2
- package/components/text-area/text-area.directive.d.ts +3 -0
- package/components/text-area/text-area.module.d.ts +10 -0
- package/components/toggle/package.json +2 -5
- package/components/toggle/taiga-ui-kit-components-toggle.d.ts +1 -0
- package/components/toggle/toggle-options.d.ts +0 -5
- package/components/toggle/toggle.component.d.ts +3 -2
- package/components/toggle/toggle.module.d.ts +9 -0
- package/components/tree/components/tree/tree.component.d.ts +3 -0
- package/components/tree/components/tree-item/tree-item.component.d.ts +3 -0
- package/components/tree/components/tree-item/tree-item.providers.d.ts +0 -1
- package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +3 -0
- package/components/tree/directives/tree-children.directive.d.ts +3 -0
- package/components/tree/directives/tree-controller.directive.d.ts +3 -0
- package/components/tree/directives/tree-item-controller.directive.d.ts +3 -0
- package/components/tree/directives/tree-node.directive.d.ts +3 -0
- package/components/tree/misc/tree.constants.d.ts +1 -1
- package/components/tree/misc/tree.service.d.ts +3 -0
- package/components/tree/package.json +2 -5
- package/components/tree/taiga-ui-kit-components-tree.d.ts +1 -0
- package/components/tree/tree.module.d.ts +15 -0
- package/constants/masks.d.ts +0 -8
- package/constants/package.json +2 -5
- package/constants/taiga-ui-kit-constants.d.ts +1 -0
- package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +15 -0
- package/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.d.ts +7 -0
- package/directives/data-list-dropdown-manager/index.d.ts +2 -0
- package/directives/data-list-dropdown-manager/package.json +10 -0
- package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +5 -0
- package/directives/highlight/highlight.directive.d.ts +3 -0
- package/directives/highlight/highlight.module.d.ts +5 -0
- package/directives/highlight/package.json +2 -5
- package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +1 -0
- package/directives/index.d.ts +1 -3
- package/directives/lazy-loading/lazy-loading.directive.d.ts +3 -0
- package/directives/lazy-loading/lazy-loading.module.d.ts +5 -0
- package/directives/lazy-loading/lazy-loading.service.d.ts +3 -0
- package/directives/lazy-loading/package.json +2 -5
- package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +1 -0
- package/directives/package.json +2 -5
- package/directives/present/package.json +2 -5
- package/directives/present/present.directive.d.ts +3 -0
- package/directives/present/present.module.d.ts +5 -0
- package/directives/present/taiga-ui-kit-directives-present.d.ts +1 -0
- package/directives/project-class/package.json +2 -5
- package/directives/project-class/project-class.directive.d.ts +3 -0
- package/directives/project-class/project-class.module.d.ts +5 -0
- package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +1 -0
- package/directives/taiga-ui-kit-directives.d.ts +1 -0
- package/directives/unfinished-validator/package.json +2 -5
- package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +1 -0
- package/directives/unfinished-validator/unfinished-validator.directive.d.ts +3 -0
- package/directives/unfinished-validator/unfinished-validator.module.d.ts +5 -0
- package/directives/value-accessor/package.json +2 -5
- package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +1 -0
- package/directives/value-accessor/value-accessor.directive.d.ts +3 -0
- package/directives/value-accessor/value-accessor.module.d.ts +5 -0
- package/esm2015/classes/day-range-period.js +1 -1
- package/esm2015/classes/index.js +1 -1
- package/esm2015/classes/named-day.js +1 -1
- package/esm2015/classes/stringifiable-item.js +1 -1
- package/esm2015/classes/taiga-ui-kit-classes.js +1 -1
- package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +20 -17
- package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +12 -10
- package/esm2015/components/accordion/accordion-item/accordion-item.component.js +76 -64
- package/esm2015/components/accordion/accordion.component.js +32 -26
- package/esm2015/components/accordion/accordion.module.js +49 -25
- package/esm2015/components/accordion/index.js +1 -1
- package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -1
- package/esm2015/components/action/action.component.js +49 -46
- package/esm2015/components/action/action.module.js +26 -13
- package/esm2015/components/action/index.js +1 -1
- package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -1
- package/esm2015/components/arrow/arrow-options.js +3 -6
- package/esm2015/components/arrow/arrow.component.js +36 -24
- package/esm2015/components/arrow/arrow.module.js +16 -13
- package/esm2015/components/arrow/index.js +1 -1
- package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -1
- package/esm2015/components/avatar/avatar-options.js +1 -1
- package/esm2015/components/avatar/avatar.component.js +48 -34
- package/esm2015/components/avatar/avatar.module.js +15 -12
- package/esm2015/components/avatar/index.js +1 -1
- package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -1
- package/esm2015/components/badge/badge.component.js +53 -38
- package/esm2015/components/badge/badge.module.js +15 -12
- package/esm2015/components/badge/index.js +1 -1
- package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -1
- package/esm2015/components/badged-content/badged-content.component.js +52 -28
- package/esm2015/components/badged-content/badged-content.module.js +15 -12
- package/esm2015/components/badged-content/index.js +1 -1
- package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -1
- package/esm2015/components/breadcrumbs/breadcrumbs.component.js +44 -24
- package/esm2015/components/breadcrumbs/breadcrumbs.module.js +17 -33
- package/esm2015/components/breadcrumbs/index.js +1 -3
- package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -1
- package/esm2015/components/calendar-month/calendar-month.component.js +52 -43
- package/esm2015/components/calendar-month/calendar-month.module.js +34 -13
- package/esm2015/components/calendar-month/index.js +1 -1
- package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -1
- package/esm2015/components/calendar-range/calendar-range.component.js +64 -51
- package/esm2015/components/calendar-range/calendar-range.module.js +32 -13
- package/esm2015/components/calendar-range/index.js +1 -1
- package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -1
- package/esm2015/components/carousel/carousel-autoscroll.directive.js +17 -16
- package/esm2015/components/carousel/carousel-buttons.directive.js +26 -23
- package/esm2015/components/carousel/carousel-scroll.directive.js +19 -19
- package/esm2015/components/carousel/carousel.component.js +74 -51
- package/esm2015/components/carousel/carousel.directive.js +23 -21
- package/esm2015/components/carousel/carousel.module.js +44 -24
- package/esm2015/components/carousel/index.js +1 -1
- package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -1
- package/esm2015/components/checkbox/checkbox.component.js +50 -44
- package/esm2015/components/checkbox/checkbox.module.js +29 -16
- package/esm2015/components/checkbox/index.js +1 -1
- package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -1
- package/esm2015/components/checkbox-block/checkbox-block.component.js +68 -54
- package/esm2015/components/checkbox-block/checkbox-block.module.js +26 -13
- package/esm2015/components/checkbox-block/index.js +1 -1
- package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -1
- package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +56 -49
- package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +15 -19
- package/esm2015/components/checkbox-labeled/index.js +1 -1
- package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -1
- package/esm2015/components/combo-box/combo-box-strict.directive.js +22 -18
- package/esm2015/components/combo-box/combo-box.component.js +82 -56
- package/esm2015/components/combo-box/combo-box.directive.js +15 -19
- package/esm2015/components/combo-box/combo-box.module.js +48 -23
- package/esm2015/components/combo-box/index.js +1 -2
- package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -1
- package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +31 -29
- package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +28 -27
- package/esm2015/components/data-list-wrapper/data-list-wrapper.js +23 -21
- package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +32 -17
- package/esm2015/components/data-list-wrapper/index.js +1 -1
- package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -1
- package/esm2015/components/files/file/file.component.js +63 -49
- package/esm2015/components/files/files.component.js +33 -27
- package/esm2015/components/files/files.module.js +34 -13
- package/esm2015/components/files/index.js +1 -1
- package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -1
- package/esm2015/components/filter/filter.component.js +54 -43
- package/esm2015/components/filter/filter.module.js +28 -13
- package/esm2015/components/filter/index.js +1 -1
- package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -1
- package/esm2015/components/index.js +1 -3
- package/esm2015/components/input/index.js +1 -2
- package/esm2015/components/input/input.component.js +55 -50
- package/esm2015/components/input/input.directive.js +15 -19
- package/esm2015/components/input/input.module.js +24 -13
- package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
- package/esm2015/components/input-copy/index.js +1 -2
- package/esm2015/components/input-copy/input-copy.component.js +69 -51
- package/esm2015/components/input-copy/input-copy.directive.js +15 -19
- package/esm2015/components/input-copy/input-copy.module.js +32 -14
- package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -1
- package/esm2015/components/input-count/index.js +1 -1
- package/esm2015/components/input-count/input-count-options.js +3 -6
- package/esm2015/components/input-count/input-count.component.js +88 -77
- package/esm2015/components/input-count/input-count.directive.js +15 -19
- package/esm2015/components/input-count/input-count.module.js +30 -13
- package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -1
- package/esm2015/components/input-date/index.js +1 -2
- package/esm2015/components/input-date/input-date.component.js +99 -67
- package/esm2015/components/input-date/input-date.directive.js +15 -19
- package/esm2015/components/input-date/input-date.module.js +40 -13
- package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
- package/esm2015/components/input-date-range/index.js +1 -2
- package/esm2015/components/input-date-range/input-date-range.component.js +108 -75
- package/esm2015/components/input-date-range/input-date-range.directive.js +15 -19
- package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
- package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -1
- package/esm2015/components/input-date-time/index.js +1 -2
- package/esm2015/components/input-date-time/input-date-time.component.js +88 -60
- package/esm2015/components/input-date-time/input-date-time.directive.js +15 -19
- package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
- package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -1
- package/esm2015/components/input-files/index.js +1 -1
- package/esm2015/components/input-files/input-files.component.js +68 -63
- package/esm2015/components/input-files/input-files.module.js +56 -18
- package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -1
- package/esm2015/components/input-inline/index.js +1 -1
- package/esm2015/components/input-inline/input-inline.component.js +45 -36
- package/esm2015/components/input-inline/input-inline.module.js +26 -13
- package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -1
- package/esm2015/components/input-month/index.js +1 -2
- package/esm2015/components/input-month/input-month.component.js +61 -40
- package/esm2015/components/input-month/input-month.directive.js +29 -30
- package/esm2015/components/input-month/input-month.module.js +34 -14
- package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
- package/esm2015/components/input-month-range/index.js +1 -2
- package/esm2015/components/input-month-range/input-month-range.component.js +61 -40
- package/esm2015/components/input-month-range/input-month-range.directive.js +29 -30
- package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
- package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -1
- package/esm2015/components/input-number/index.js +1 -1
- package/esm2015/components/input-number/input-number.component.js +81 -70
- package/esm2015/components/input-number/input-number.directive.js +15 -19
- package/esm2015/components/input-number/input-number.module.js +30 -13
- package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -1
- package/esm2015/components/input-password/index.js +1 -1
- package/esm2015/components/input-password/input-password-options.js +3 -6
- package/esm2015/components/input-password/input-password.component.js +68 -62
- package/esm2015/components/input-password/input-password.directive.js +15 -19
- package/esm2015/components/input-password/input-password.module.js +36 -17
- package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
- package/esm2015/components/input-phone/index.js +1 -2
- package/esm2015/components/input-phone/input-phone.component.js +87 -59
- package/esm2015/components/input-phone/input-phone.directive.js +15 -19
- package/esm2015/components/input-phone/input-phone.module.js +28 -13
- package/esm2015/components/input-phone/input-phone.options.js +1 -1
- package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -1
- package/esm2015/components/input-phone-international/const/mask-after-code-regexp.js +2 -0
- package/esm2015/components/input-phone-international/index.js +2 -3
- package/esm2015/components/input-phone-international/input-phone-international.component.js +77 -62
- package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
- package/esm2015/components/input-phone-international/input-phone-international.options.js +1 -1
- package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -1
- package/esm2015/components/input-phone-international/tokens/countries-masks.js +211 -3
- package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +5 -11
- package/esm2015/components/input-range/index.js +1 -1
- package/esm2015/components/input-range/input-range.component.js +135 -118
- package/esm2015/components/input-range/input-range.module.js +35 -18
- package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -1
- package/esm2015/components/input-slider/index.js +1 -1
- package/esm2015/components/input-slider/input-slider.component.js +90 -162
- package/esm2015/components/input-slider/input-slider.module.js +33 -23
- package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -1
- package/esm2015/components/input-tag/index.js +1 -1
- package/esm2015/components/input-tag/input-tag-options.js +8 -1
- package/esm2015/components/input-tag/input-tag.component.js +161 -157
- package/esm2015/components/input-tag/input-tag.module.js +41 -14
- package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -1
- package/esm2015/components/input-time/index.js +1 -1
- package/esm2015/components/input-time/input-time-options.js +2 -4
- package/esm2015/components/input-time/input-time.component.js +70 -57
- package/esm2015/components/input-time/input-time.module.js +30 -13
- package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -1
- package/esm2015/components/island/index.js +1 -1
- package/esm2015/components/island/island.component.js +50 -39
- package/esm2015/components/island/island.module.js +15 -12
- package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -1
- package/esm2015/components/line-clamp/index.js +2 -1
- package/esm2015/components/line-clamp/line-clamp-box.component.js +32 -0
- package/esm2015/components/line-clamp/line-clamp-options.js +1 -1
- package/esm2015/components/line-clamp/line-clamp-position.directive.js +26 -0
- package/esm2015/components/line-clamp/line-clamp.component.js +72 -47
- package/esm2015/components/line-clamp/line-clamp.module.js +34 -13
- package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -1
- package/esm2015/components/marker-icon/index.js +1 -1
- package/esm2015/components/marker-icon/marker-icon.component.js +37 -27
- package/esm2015/components/marker-icon/marker-icon.module.js +15 -12
- package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -1
- package/esm2015/components/multi-select/hide-selected.pipe.js +22 -19
- package/esm2015/components/multi-select/index.js +1 -1
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +41 -38
- package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +61 -50
- package/esm2015/components/multi-select/multi-select-options.js +1 -1
- package/esm2015/components/multi-select/multi-select.component.js +101 -94
- package/esm2015/components/multi-select/multi-select.module.js +65 -26
- package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -1
- package/esm2015/components/multi-select-option/index.js +1 -1
- package/esm2015/components/multi-select-option/multi-select-option.component.js +22 -18
- package/esm2015/components/multi-select-option/multi-select-option.module.js +16 -13
- package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -1
- package/esm2015/components/pagination/index.js +1 -1
- package/esm2015/components/pagination/pagination.component.js +64 -60
- package/esm2015/components/pagination/pagination.module.js +30 -13
- package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -1
- package/esm2015/components/pdf-viewer/index.js +2 -1
- package/esm2015/components/pdf-viewer/pdf-viewer-options.js +2 -1
- package/esm2015/components/pdf-viewer/pdf-viewer.component.js +38 -30
- package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
- package/esm2015/components/pdf-viewer/pdf-viewer.module.js +17 -21
- package/esm2015/components/pdf-viewer/pdf-viewer.service.js +11 -12
- package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -1
- package/esm2015/components/progress/index.js +1 -4
- package/esm2015/components/progress/progress-bar/progress-bar.component.js +25 -18
- package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +39 -31
- package/esm2015/components/progress/progress-circle/progress-circle.component.js +48 -36
- package/esm2015/components/progress/progress-label/progress-label.component.js +15 -13
- package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +31 -31
- package/esm2015/components/progress/progress.module.js +35 -30
- package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -1
- package/esm2015/components/radio/index.js +1 -1
- package/esm2015/components/radio/radio-options.js +1 -1
- package/esm2015/components/radio/radio.component.js +72 -60
- package/esm2015/components/radio/radio.module.js +29 -16
- package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -1
- package/esm2015/components/radio-block/index.js +1 -1
- package/esm2015/components/radio-block/radio-block.component.js +76 -61
- package/esm2015/components/radio-block/radio-block.module.js +15 -19
- package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -1
- package/esm2015/components/radio-group/index.js +1 -1
- package/esm2015/components/radio-group/radio-group.component.js +17 -14
- package/esm2015/components/radio-group/radio-group.module.js +14 -11
- package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -1
- package/esm2015/components/radio-labeled/index.js +1 -1
- package/esm2015/components/radio-labeled/radio-labeled.component.js +64 -56
- package/esm2015/components/radio-labeled/radio-labeled.module.js +27 -16
- package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -1
- package/esm2015/components/radio-list/index.js +1 -1
- package/esm2015/components/radio-list/radio-list.component.js +65 -47
- package/esm2015/components/radio-list/radio-list.module.js +26 -13
- package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -1
- package/esm2015/components/range/index.js +1 -1
- package/esm2015/components/range/range-change.directive.js +39 -33
- package/esm2015/components/range/range.component.js +110 -155
- package/esm2015/components/range/range.module.js +17 -22
- package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -1
- package/esm2015/components/rating/index.js +1 -1
- package/esm2015/components/rating/rating-options.js +1 -1
- package/esm2015/components/rating/rating.component.js +59 -44
- package/esm2015/components/rating/rating.module.js +26 -13
- package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -1
- package/esm2015/components/select/index.js +1 -2
- package/esm2015/components/select/select-options.js +1 -1
- package/esm2015/components/select/select.component.js +76 -50
- package/esm2015/components/select/select.directive.js +15 -19
- package/esm2015/components/select/select.module.js +34 -14
- package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -1
- package/esm2015/components/select-option/index.js +1 -1
- package/esm2015/components/select-option/select-option.component.js +40 -33
- package/esm2015/components/select-option/select-option.module.js +16 -13
- package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -1
- package/esm2015/components/slider/helpers/slider-key-steps.directive.js +51 -77
- package/esm2015/components/slider/helpers/slider-readonly.directive.js +37 -32
- package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +22 -19
- package/esm2015/components/slider/index.js +1 -2
- package/esm2015/components/slider/slider-options.js +1 -1
- package/esm2015/components/slider/slider.component.js +75 -60
- package/esm2015/components/slider/slider.module.js +32 -37
- package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -1
- package/esm2015/components/stepper/index.js +1 -1
- package/esm2015/components/stepper/step/step.component.js +62 -48
- package/esm2015/components/stepper/stepper.component.js +48 -34
- package/esm2015/components/stepper/stepper.module.js +15 -12
- package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -1
- package/esm2015/components/tabs/index.js +1 -2
- package/esm2015/components/tabs/tab/tab.component.js +57 -61
- package/esm2015/components/tabs/tab/tab.providers.js +10 -12
- package/esm2015/components/tabs/tabs/tabs.component.js +81 -77
- package/esm2015/components/tabs/tabs-options.js +1 -1
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +79 -59
- package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +14 -18
- package/esm2015/components/tabs/tabs.module.js +46 -26
- package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -1
- package/esm2015/components/tabs/underline/underline.component.js +49 -60
- package/esm2015/components/tag/index.js +1 -1
- package/esm2015/components/tag/tag-options.js +1 -1
- package/esm2015/components/tag/tag.component.js +103 -81
- package/esm2015/components/tag/tag.module.js +28 -13
- package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -1
- package/esm2015/components/taiga-ui-kit-components.js +1 -1
- package/esm2015/components/text-area/index.js +1 -2
- package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
- package/esm2015/components/text-area/text-area.component.js +105 -80
- package/esm2015/components/text-area/text-area.directive.js +15 -19
- package/esm2015/components/text-area/text-area.module.js +35 -15
- package/esm2015/components/toggle/index.js +1 -1
- package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -1
- package/esm2015/components/toggle/toggle-options.js +1 -1
- package/esm2015/components/toggle/toggle.component.js +70 -57
- package/esm2015/components/toggle/toggle.module.js +37 -15
- package/esm2015/components/tree/components/tree/tree.component.js +51 -41
- package/esm2015/components/tree/components/tree-item/tree-item.component.js +41 -34
- package/esm2015/components/tree/components/tree-item/tree-item.providers.js +2 -6
- package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +26 -22
- package/esm2015/components/tree/directives/tree-children.directive.js +15 -12
- package/esm2015/components/tree/directives/tree-controller.directive.js +41 -28
- package/esm2015/components/tree/directives/tree-item-controller.directive.js +27 -18
- package/esm2015/components/tree/directives/tree-node.directive.js +24 -20
- package/esm2015/components/tree/index.js +2 -1
- package/esm2015/components/tree/misc/tree.constants.js +1 -1
- package/esm2015/components/tree/misc/tree.interfaces.js +2 -1
- package/esm2015/components/tree/misc/tree.service.js +19 -19
- package/esm2015/components/tree/misc/tree.tokens.js +1 -1
- package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -1
- package/esm2015/components/tree/tree.module.js +51 -28
- package/esm2015/constants/date-time-separator.js +1 -1
- package/esm2015/constants/empty-mask.js +1 -1
- package/esm2015/constants/group-class-names.js +1 -1
- package/esm2015/constants/icon-blank.js +1 -1
- package/esm2015/constants/index.js +1 -1
- package/esm2015/constants/masks.js +2 -27
- package/esm2015/constants/math.js +1 -1
- package/esm2015/constants/max-day-range-length-mapper.js +5 -4
- package/esm2015/constants/max-time-values.js +1 -1
- package/esm2015/constants/router-link-options.js +1 -1
- package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +100 -0
- package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +16 -0
- package/esm2015/directives/data-list-dropdown-manager/index.js +3 -0
- package/esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js +5 -0
- package/esm2015/directives/highlight/highlight.directive.js +41 -37
- package/esm2015/directives/highlight/highlight.module.js +14 -11
- package/esm2015/directives/highlight/index.js +1 -1
- package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -1
- package/esm2015/directives/index.js +2 -4
- package/esm2015/directives/lazy-loading/index.js +1 -1
- package/esm2015/directives/lazy-loading/lazy-loading.directive.js +35 -32
- package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
- package/esm2015/directives/lazy-loading/lazy-loading.service.js +21 -18
- package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -1
- package/esm2015/directives/present/index.js +1 -1
- package/esm2015/directives/present/present.directive.js +33 -30
- package/esm2015/directives/present/present.module.js +14 -11
- package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -1
- package/esm2015/directives/project-class/index.js +1 -1
- package/esm2015/directives/project-class/project-class.directive.js +20 -19
- package/esm2015/directives/project-class/project-class.module.js +14 -11
- package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -1
- package/esm2015/directives/taiga-ui-kit-directives.js +1 -1
- package/esm2015/directives/unfinished-validator/index.js +1 -1
- package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -1
- package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +31 -24
- package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +14 -11
- package/esm2015/directives/value-accessor/index.js +1 -1
- package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -1
- package/esm2015/directives/value-accessor/value-accessor.directive.js +13 -11
- package/esm2015/directives/value-accessor/value-accessor.module.js +14 -11
- package/esm2015/index.js +3 -2
- package/esm2015/interfaces/file-like.js +2 -1
- package/esm2015/interfaces/index.js +4 -1
- package/esm2015/interfaces/mobile-calendar-data.js +2 -1
- package/esm2015/interfaces/month-context.js +2 -1
- package/esm2015/interfaces/taiga-ui-kit-interfaces.js +2 -1
- package/esm2015/internal/index.js +1 -1
- package/esm2015/internal/primitive-calendar-range/index.js +1 -1
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +51 -38
- package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +15 -12
- package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
- package/esm2015/internal/taiga-ui-kit-internal.js +1 -1
- package/esm2015/pipes/field-error/field-error-content-pipe.js +17 -17
- package/esm2015/pipes/field-error/field-error-pipe.js +53 -36
- package/esm2015/pipes/field-error/field-error.module.js +14 -11
- package/esm2015/pipes/field-error/index.js +1 -1
- package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -1
- package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +16 -15
- package/esm2015/pipes/filter-by-input/filter-by-input.base.js +9 -15
- package/esm2015/pipes/filter-by-input/filter-by-input.module.js +14 -11
- package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +16 -15
- package/esm2015/pipes/filter-by-input/index.js +1 -1
- package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -1
- package/esm2015/pipes/index.js +1 -1
- package/esm2015/pipes/stringify/index.js +1 -1
- package/esm2015/pipes/stringify/stringify.module.js +14 -11
- package/esm2015/pipes/stringify/stringify.pipe.js +12 -10
- package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -1
- package/esm2015/pipes/stringify-content/index.js +1 -1
- package/esm2015/pipes/stringify-content/stringify-content.module.js +14 -11
- package/esm2015/pipes/stringify-content/stringify-content.pipe.js +12 -10
- package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -1
- package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -1
- package/esm2015/providers/index.js +1 -1
- package/esm2015/providers/month-formatter.provider.js +8 -13
- package/esm2015/providers/specific-dropdown-controllers.js +6 -29
- package/esm2015/providers/taiga-ui-kit-providers.js +1 -1
- package/esm2015/providers/value-accessor.provider.js +2 -4
- package/esm2015/taiga-ui-kit.js +1 -1
- package/esm2015/tokens/calendar-date-stream.js +15 -0
- package/esm2015/tokens/date-inputs-value-transformers.js +1 -1
- package/esm2015/tokens/i18n.js +21 -21
- package/esm2015/tokens/index.js +2 -4
- package/esm2015/tokens/items-handlers.js +1 -1
- package/esm2015/tokens/mobile-calendar.js +1 -1
- package/esm2015/tokens/month-formatter.js +1 -1
- package/esm2015/tokens/tab-margin.js +1 -1
- package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
- package/esm2015/tokens/validation-errors.js +1 -1
- package/esm2015/types/dropdown-position.js +2 -0
- package/esm2015/types/file-state.js +2 -0
- package/esm2015/types/handler-with-context.js +2 -1
- package/esm2015/types/index.js +9 -1
- package/esm2015/types/key-steps.js +2 -1
- package/esm2015/types/marker-icon-mode.js +2 -1
- package/esm2015/types/status.js +2 -1
- package/esm2015/types/step-state.js +2 -0
- package/esm2015/types/taiga-ui-kit-types.js +2 -1
- package/esm2015/types/time-format-parts.js +2 -1
- package/esm2015/utils/files/format-size.js +4 -9
- package/esm2015/utils/files/get-accept-array.js +2 -7
- package/esm2015/utils/files/index.js +1 -1
- package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -1
- package/esm2015/utils/format/index.js +1 -1
- package/esm2015/utils/format/string-hash-to-hsl.js +2 -5
- package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
- package/esm2015/utils/index.js +1 -2
- package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +3 -8
- package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
- package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +5 -5
- package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +1 -1
- package/esm2015/utils/mask/create-date-mask.js +1 -1
- package/esm2015/utils/mask/create-date-range-mask.js +1 -1
- package/esm2015/utils/mask/create-time-mask.js +1 -1
- package/esm2015/utils/mask/index.js +1 -1
- package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -1
- package/esm2015/utils/math/horizontal-direction-to-number.js +1 -1
- package/esm2015/utils/math/index.js +1 -1
- package/esm2015/utils/math/key-steps.js +3 -6
- package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
- package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +1 -1
- package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
- package/esm2015/utils/miscellaneous/get-precision.js +2 -5
- package/esm2015/utils/miscellaneous/index.js +1 -1
- package/esm2015/utils/miscellaneous/is-flat.js +2 -7
- package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -7
- package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -1
- package/esm2015/utils/taiga-ui-kit-utils.js +1 -1
- package/esm2015/validators/index.js +1 -1
- package/esm2015/validators/taiga-ui-kit-validators.js +1 -1
- package/esm2015/validators/unfinished.validator.js +1 -1
- package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-accordion.js +176 -126
- package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-action.js +73 -55
- package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-arrow.js +52 -38
- package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-avatar.js +61 -42
- package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badge.js +66 -46
- package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-badged-content.js +66 -37
- package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +54 -89
- package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -53
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +95 -61
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-carousel.js +212 -159
- package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js +90 -61
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +67 -61
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox.js +75 -54
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +156 -126
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +101 -85
- package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-files.js +122 -81
- package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +83 -55
- package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -87
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +130 -106
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +162 -126
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +143 -112
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +148 -113
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +122 -77
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js +68 -44
- package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +127 -94
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +119 -90
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +120 -93
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +116 -95
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +336 -547
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +124 -111
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +166 -129
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +121 -178
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +208 -167
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +100 -70
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +87 -89
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-island.js +63 -47
- package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-line-clamp.js +150 -57
- package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-marker-icon.js +51 -36
- package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js +35 -26
- package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +270 -209
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pagination.js +91 -68
- package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +86 -71
- package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-progress.js +179 -205
- package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-block.js +87 -73
- package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-group.js +29 -21
- package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js +86 -65
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-list.js +89 -56
- package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +97 -70
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +159 -197
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +82 -52
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select-option.js +52 -40
- package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +118 -96
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +204 -276
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-stepper.js +119 -88
- package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tabs.js +327 -318
- package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tag.js +131 -92
- package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +149 -118
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +102 -65
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-tree.js +287 -219
- package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components.js +0 -2
- package/fesm2015/taiga-ui-kit-components.js.map +1 -1
- package/fesm2015/taiga-ui-kit-constants.js +6 -30
- package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +120 -0
- package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +1 -0
- package/fesm2015/taiga-ui-kit-directives-highlight.js +52 -43
- package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +65 -54
- package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-present.js +44 -36
- package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -25
- package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +43 -31
- package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js +24 -17
- package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
- package/fesm2015/taiga-ui-kit-directives.js +1 -3
- package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
- package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +63 -45
- package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-field-error.js +78 -55
- package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +52 -49
- package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +23 -16
- package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes-stringify.js +23 -16
- package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
- package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-kit-providers.js +14 -43
- package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
- package/fesm2015/taiga-ui-kit-tokens.js +35 -33
- package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-kit-types.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-files.js +5 -15
- package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-format.js +2 -5
- package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-mask.js +6 -11
- package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-math.js +3 -6
- package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +6 -17
- package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils.js +0 -1
- package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
- package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
- package/fesm2015/taiga-ui-kit.js +2 -1
- package/fesm2015/taiga-ui-kit.js.map +1 -1
- package/index.d.ts +0 -1
- package/interfaces/index.d.ts +0 -2
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-kit-interfaces.d.ts +1 -0
- package/internal/package.json +2 -5
- package/internal/primitive-calendar-range/package.json +2 -5
- package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
- package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +7 -0
- package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +1 -0
- package/internal/taiga-ui-kit-internal.d.ts +1 -0
- package/package.json +11 -14
- package/pipes/field-error/field-error-content-pipe.d.ts +3 -0
- package/pipes/field-error/field-error-pipe.d.ts +3 -0
- package/pipes/field-error/field-error.module.d.ts +6 -0
- package/pipes/field-error/package.json +2 -5
- package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +1 -0
- package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +3 -0
- package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -7
- package/pipes/filter-by-input/filter-by-input.module.d.ts +6 -0
- package/pipes/filter-by-input/filter-by-input.pipe.d.ts +3 -0
- package/pipes/filter-by-input/package.json +2 -5
- package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +1 -0
- package/pipes/package.json +2 -5
- package/pipes/stringify/package.json +2 -5
- package/pipes/stringify/stringify.module.d.ts +5 -0
- package/pipes/stringify/stringify.pipe.d.ts +3 -0
- package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +1 -0
- package/pipes/stringify-content/package.json +2 -5
- package/pipes/stringify-content/stringify-content.module.d.ts +5 -0
- package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -0
- package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +1 -0
- package/pipes/taiga-ui-kit-pipes.d.ts +1 -0
- package/providers/month-formatter.provider.d.ts +0 -7
- package/providers/package.json +2 -5
- package/providers/specific-dropdown-controllers.d.ts +1 -6
- package/providers/taiga-ui-kit-providers.d.ts +1 -0
- package/providers/value-accessor.provider.d.ts +0 -2
- package/taiga-ui-kit.d.ts +1 -0
- package/tokens/calendar-date-stream.d.ts +5 -0
- package/tokens/index.d.ts +1 -3
- package/tokens/package.json +2 -5
- package/tokens/taiga-ui-kit-tokens.d.ts +1 -0
- package/tokens/validation-errors.d.ts +1 -1
- package/types/dropdown-position.d.ts +1 -0
- package/types/file-state.d.ts +4 -0
- package/types/index.d.ts +3 -0
- package/types/key-steps.d.ts +8 -6
- package/types/marker-icon-mode.d.ts +1 -1
- package/types/package.json +2 -5
- package/types/status.d.ts +1 -1
- package/types/step-state.d.ts +1 -0
- package/types/taiga-ui-kit-types.d.ts +1 -0
- package/utils/files/format-size.d.ts +1 -5
- package/utils/files/get-accept-array.d.ts +1 -5
- package/utils/files/package.json +2 -5
- package/utils/files/taiga-ui-kit-utils-files.d.ts +1 -0
- package/utils/format/package.json +2 -5
- package/utils/format/string-hash-to-hsl.d.ts +1 -3
- package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
- package/utils/index.d.ts +0 -1
- package/utils/mask/create-auto-corrected-date-pipe.d.ts +1 -5
- package/utils/mask/package.json +2 -5
- package/utils/mask/taiga-ui-kit-utils-mask.d.ts +1 -0
- package/utils/math/key-steps.d.ts +0 -1
- package/utils/math/package.json +2 -5
- package/utils/math/taiga-ui-kit-utils-math.d.ts +1 -0
- package/utils/miscellaneous/get-precision.d.ts +1 -3
- package/utils/miscellaneous/is-flat.d.ts +1 -5
- package/utils/miscellaneous/package.json +2 -5
- package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -4
- package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +1 -0
- package/utils/package.json +2 -5
- package/utils/taiga-ui-kit-utils.d.ts +1 -0
- package/validators/package.json +2 -5
- package/validators/taiga-ui-kit-validators.d.ts +1 -0
- package/abstract/index.d.ts +0 -2
- package/abstract/input-slider.d.ts +0 -77
- package/abstract/package.json +0 -13
- package/abstract/slider/slider.d.ts +0 -67
- package/abstract/taiga-ui-kit-abstract.d.ts +0 -4
- package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
- package/bundles/taiga-ui-kit-abstract.umd.js +0 -750
- package/bundles/taiga-ui-kit-abstract.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-abstract.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-abstract.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-classes.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-classes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-accordion.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-action.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-action.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-arrow.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-badge.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-field-error.umd.js +0 -435
- package/bundles/taiga-ui-kit-components-field-error.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-field-error.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-files.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-files.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-filter.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.js +0 -779
- package/bundles/taiga-ui-kit-components-input-file.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-input.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-input.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-island.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-island.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-progress.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-group.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-radio.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-rating.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-select-option.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-select.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-select.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-slider.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tag.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components-tree.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-components.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-constants.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-constants.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +0 -408
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +0 -323
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +0 -514
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-present.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-project-class.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-directives.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-directives.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-enums.umd.js +0 -88
- package/bundles/taiga-ui-kit-enums.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-internal.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-internal.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-pipes.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-pipes.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-providers.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-providers.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-types.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-dom.umd.js +0 -122
- package/bundles/taiga-ui-kit-utils-dom.umd.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-dom.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-files.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-format.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-math.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit-validators.umd.min.js +0 -2
- package/bundles/taiga-ui-kit-validators.umd.min.js.map +0 -1
- package/bundles/taiga-ui-kit.umd.min.js +0 -2
- package/bundles/taiga-ui-kit.umd.min.js.map +0 -1
- package/classes/taiga-ui-kit-classes.metadata.json +0 -1
- package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +0 -1
- package/components/action/taiga-ui-kit-components-action.metadata.json +0 -1
- package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +0 -1
- package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +0 -1
- package/components/badge/taiga-ui-kit-components-badge.metadata.json +0 -1
- package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +0 -1
- package/components/breadcrumbs/breadcrumb.directive.d.ts +0 -2
- package/components/breadcrumbs/breadcrumbs-wrapper.component.d.ts +0 -10
- package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +0 -1
- package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +0 -1
- package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +0 -1
- package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +0 -1
- package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +0 -1
- package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +0 -1
- package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +0 -1
- package/components/combo-box/combo-box.providers.d.ts +0 -2
- package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +0 -1
- package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +0 -1
- package/components/field-error/field-error.component.d.ts +0 -27
- package/components/field-error/field-error.module.d.ts +0 -5
- package/components/field-error/index.d.ts +0 -2
- package/components/field-error/package.json +0 -13
- package/components/field-error/taiga-ui-kit-components-field-error.d.ts +0 -4
- package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +0 -1
- package/components/files/taiga-ui-kit-components-files.metadata.json +0 -1
- package/components/filter/taiga-ui-kit-components-filter.metadata.json +0 -1
- package/components/input/input.providers.d.ts +0 -1
- package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
- package/components/input-copy/input-copy.providers.d.ts +0 -2
- package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +0 -1
- package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +0 -1
- package/components/input-date/input-date.providers.d.ts +0 -5
- package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
- package/components/input-date-range/input-date-range.providers.d.ts +0 -5
- package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
- package/components/input-date-time/input-date-time.providers.d.ts +0 -5
- package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +0 -1
- package/components/input-file/file/file.component.d.ts +0 -37
- package/components/input-file/index.d.ts +0 -3
- package/components/input-file/input-file.component.d.ts +0 -54
- package/components/input-file/input-file.module.d.ts +0 -2
- package/components/input-file/package.json +0 -13
- package/components/input-file/taiga-ui-kit-components-input-file.d.ts +0 -4
- package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +0 -1
- package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +0 -1
- package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +0 -1
- package/components/input-month/input-month.providers.d.ts +0 -2
- package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
- package/components/input-month-range/input-month-range.providers.d.ts +0 -2
- package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +0 -1
- package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +0 -1
- package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +0 -1
- package/components/input-phone/input-phone.providers.d.ts +0 -5
- package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +0 -1
- package/components/input-phone-international/const/countries.d.ts +0 -26
- package/components/input-phone-international/country-iso-code.d.ts +0 -207
- package/components/input-phone-international/interfaces/country.d.ts +0 -7
- package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +0 -1
- package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +0 -1
- package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +0 -1
- package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +0 -1
- package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +0 -1
- package/components/island/taiga-ui-kit-components-island.metadata.json +0 -1
- package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +0 -1
- package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +0 -1
- package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +0 -1
- package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +0 -1
- package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +0 -1
- package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +0 -1
- package/components/progress/taiga-ui-kit-components-progress.metadata.json +0 -1
- package/components/progress/utils/abstract-color-segments.d.ts +0 -9
- package/components/progress/utils/calculate-color-segments.d.ts +0 -1
- package/components/progress/utils/progress-color-segments-async.pipe.d.ts +0 -10
- package/components/progress/utils/progress-color-segments.pipe.d.ts +0 -9
- package/components/radio/taiga-ui-kit-components-radio.metadata.json +0 -1
- package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +0 -1
- package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +0 -1
- package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +0 -1
- package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +0 -1
- package/components/range/taiga-ui-kit-components-range.metadata.json +0 -1
- package/components/rating/taiga-ui-kit-components-rating.metadata.json +0 -1
- package/components/select/select.providers.d.ts +0 -2
- package/components/select/taiga-ui-kit-components-select.metadata.json +0 -1
- package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +0 -1
- package/components/slider/slider-old.component.d.ts +0 -21
- package/components/slider/taiga-ui-kit-components-slider.metadata.json +0 -1
- package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +0 -1
- package/components/tabs/tab.directive.d.ts +0 -5
- package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +0 -1
- package/components/tag/taiga-ui-kit-components-tag.metadata.json +0 -1
- package/components/taiga-ui-kit-components.metadata.json +0 -1
- package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +0 -1
- package/components/text-area/text-area.providers.d.ts +0 -2
- package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +0 -1
- package/components/tree/taiga-ui-kit-components-tree.metadata.json +0 -1
- package/constants/taiga-ui-kit-constants.metadata.json +0 -1
- package/directives/dropdown-context/dropdown-context.directive.d.ts +0 -27
- package/directives/dropdown-context/dropdown-context.module.d.ts +0 -2
- package/directives/dropdown-context/index.d.ts +0 -2
- package/directives/dropdown-context/package.json +0 -13
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +0 -4
- package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
- package/directives/dropdown-hover/dropdown-hover.directive.d.ts +0 -8
- package/directives/dropdown-hover/dropdown-hover.module.d.ts +0 -2
- package/directives/dropdown-hover/index.d.ts +0 -2
- package/directives/dropdown-hover/package.json +0 -13
- package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +0 -4
- package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
- package/directives/dropdown-selection/dropdown-selection.directive.d.ts +0 -43
- package/directives/dropdown-selection/dropdown-selection.module.d.ts +0 -2
- package/directives/dropdown-selection/index.d.ts +0 -2
- package/directives/dropdown-selection/package.json +0 -13
- package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +0 -4
- package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +0 -1
- package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +0 -1
- package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +0 -1
- package/directives/present/taiga-ui-kit-directives-present.metadata.json +0 -1
- package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +0 -1
- package/directives/taiga-ui-kit-directives.metadata.json +0 -1
- package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +0 -1
- package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +0 -1
- package/enums/borders.d.ts +0 -7
- package/enums/dropdown-position.d.ts +0 -9
- package/enums/file-state.d.ts +0 -10
- package/enums/index.d.ts +0 -7
- package/enums/marker-icon-mode.d.ts +0 -13
- package/enums/package.json +0 -13
- package/enums/status.d.ts +0 -11
- package/enums/step-state.d.ts +0 -9
- package/enums/taiga-ui-kit-enums.d.ts +0 -4
- package/enums/taiga-ui-kit-enums.metadata.json +0 -1
- package/enums/text-align.d.ts +0 -8
- package/esm2015/abstract/index.js +0 -3
- package/esm2015/abstract/input-slider.js +0 -171
- package/esm2015/abstract/slider/slider.js +0 -262
- package/esm2015/abstract/taiga-ui-kit-abstract.js +0 -5
- package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
- package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
- package/esm2015/components/combo-box/combo-box.providers.js +0 -28
- package/esm2015/components/field-error/field-error.component.js +0 -132
- package/esm2015/components/field-error/field-error.module.js +0 -20
- package/esm2015/components/field-error/index.js +0 -3
- package/esm2015/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
- package/esm2015/components/input/input.providers.js +0 -22
- package/esm2015/components/input-copy/input-copy.providers.js +0 -16
- package/esm2015/components/input-date/input-date.providers.js +0 -29
- package/esm2015/components/input-date-range/input-date-range.providers.js +0 -29
- package/esm2015/components/input-date-time/input-date-time.providers.js +0 -29
- package/esm2015/components/input-file/file/file.component.js +0 -149
- package/esm2015/components/input-file/index.js +0 -4
- package/esm2015/components/input-file/input-file.component.js +0 -264
- package/esm2015/components/input-file/input-file.module.js +0 -36
- package/esm2015/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
- package/esm2015/components/input-month/input-month.providers.js +0 -19
- package/esm2015/components/input-month-range/input-month-range.providers.js +0 -19
- package/esm2015/components/input-phone/input-phone.providers.js +0 -35
- package/esm2015/components/input-phone-international/const/countries.js +0 -257
- package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
- package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
- package/esm2015/components/progress/utils/abstract-color-segments.js +0 -32
- package/esm2015/components/progress/utils/calculate-color-segments.js +0 -11
- package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +0 -21
- package/esm2015/components/progress/utils/progress-color-segments.pipe.js +0 -19
- package/esm2015/components/select/select.providers.js +0 -28
- package/esm2015/components/slider/slider-old.component.js +0 -77
- package/esm2015/components/tabs/tab.directive.js +0 -18
- package/esm2015/components/text-area/text-area.providers.js +0 -18
- package/esm2015/directives/dropdown-context/dropdown-context.directive.js +0 -125
- package/esm2015/directives/dropdown-context/dropdown-context.module.js +0 -15
- package/esm2015/directives/dropdown-context/index.js +0 -3
- package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
- package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +0 -50
- package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +0 -13
- package/esm2015/directives/dropdown-hover/index.js +0 -3
- package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
- package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +0 -231
- package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +0 -15
- package/esm2015/directives/dropdown-selection/index.js +0 -3
- package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
- package/esm2015/enums/borders.js +0 -9
- package/esm2015/enums/dropdown-position.js +0 -10
- package/esm2015/enums/file-state.js +0 -11
- package/esm2015/enums/index.js +0 -8
- package/esm2015/enums/marker-icon-mode.js +0 -15
- package/esm2015/enums/status.js +0 -13
- package/esm2015/enums/step-state.js +0 -10
- package/esm2015/enums/taiga-ui-kit-enums.js +0 -5
- package/esm2015/enums/text-align.js +0 -10
- package/esm2015/interfaces/bread-crumbs-item.js +0 -1
- package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
- package/esm2015/tokens/calendar-data-stream.js +0 -3
- package/esm2015/tokens/mobile-aware.js +0 -6
- package/esm2015/tokens/tag-status.js +0 -6
- package/esm2015/utils/dom/get-word-range.js +0 -53
- package/esm2015/utils/dom/index.js +0 -4
- package/esm2015/utils/dom/scroll-to-element.js +0 -23
- package/esm2015/utils/dom/set-range-offset.js +0 -29
- package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
- package/esm5/abstract/index.js +0 -3
- package/esm5/abstract/input-slider.js +0 -202
- package/esm5/abstract/slider/slider.js +0 -298
- package/esm5/abstract/taiga-ui-kit-abstract.js +0 -5
- package/esm5/classes/day-range-period.js +0 -12
- package/esm5/classes/index.js +0 -4
- package/esm5/classes/named-day.js +0 -14
- package/esm5/classes/stringifiable-item.js +0 -15
- package/esm5/classes/taiga-ui-kit-classes.js +0 -5
- package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +0 -24
- package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -14
- package/esm5/components/accordion/accordion-item/accordion-item.component.js +0 -160
- package/esm5/components/accordion/accordion.component.js +0 -62
- package/esm5/components/accordion/accordion.module.js +0 -44
- package/esm5/components/accordion/index.js +0 -6
- package/esm5/components/accordion/taiga-ui-kit-components-accordion.js +0 -5
- package/esm5/components/action/action.component.js +0 -89
- package/esm5/components/action/action.module.js +0 -27
- package/esm5/components/action/index.js +0 -3
- package/esm5/components/action/taiga-ui-kit-components-action.js +0 -5
- package/esm5/components/arrow/arrow-options.js +0 -29
- package/esm5/components/arrow/arrow.component.js +0 -41
- package/esm5/components/arrow/arrow.module.js +0 -21
- package/esm5/components/arrow/index.js +0 -4
- package/esm5/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
- package/esm5/components/avatar/avatar-options.js +0 -16
- package/esm5/components/avatar/avatar.component.js +0 -98
- package/esm5/components/avatar/avatar.module.js +0 -19
- package/esm5/components/avatar/index.js +0 -4
- package/esm5/components/avatar/taiga-ui-kit-components-avatar.js +0 -5
- package/esm5/components/badge/badge.component.js +0 -87
- package/esm5/components/badge/badge.module.js +0 -18
- package/esm5/components/badge/index.js +0 -3
- package/esm5/components/badge/taiga-ui-kit-components-badge.js +0 -5
- package/esm5/components/badged-content/badged-content.component.js +0 -106
- package/esm5/components/badged-content/badged-content.module.js +0 -21
- package/esm5/components/badged-content/index.js +0 -3
- package/esm5/components/badged-content/taiga-ui-kit-components-badged-content.js +0 -5
- package/esm5/components/breadcrumbs/breadcrumb.directive.js +0 -14
- package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -42
- package/esm5/components/breadcrumbs/breadcrumbs.component.js +0 -35
- package/esm5/components/breadcrumbs/breadcrumbs.module.js +0 -39
- package/esm5/components/breadcrumbs/index.js +0 -5
- package/esm5/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +0 -5
- package/esm5/components/calendar-month/calendar-month.component.js +0 -213
- package/esm5/components/calendar-month/calendar-month.module.js +0 -30
- package/esm5/components/calendar-month/index.js +0 -3
- package/esm5/components/calendar-month/taiga-ui-kit-components-calendar-month.js +0 -5
- package/esm5/components/calendar-range/calendar-range.component.js +0 -181
- package/esm5/components/calendar-range/calendar-range.module.js +0 -30
- package/esm5/components/calendar-range/index.js +0 -3
- package/esm5/components/calendar-range/taiga-ui-kit-components-calendar-range.js +0 -5
- package/esm5/components/carousel/carousel-autoscroll.directive.js +0 -22
- package/esm5/components/carousel/carousel-buttons.directive.js +0 -27
- package/esm5/components/carousel/carousel-scroll.directive.js +0 -35
- package/esm5/components/carousel/carousel.component.js +0 -158
- package/esm5/components/carousel/carousel.directive.js +0 -45
- package/esm5/components/carousel/carousel.module.js +0 -41
- package/esm5/components/carousel/index.js +0 -7
- package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +0 -5
- package/esm5/components/checkbox/checkbox.component.js +0 -89
- package/esm5/components/checkbox/checkbox.module.js +0 -29
- package/esm5/components/checkbox/index.js +0 -3
- package/esm5/components/checkbox/taiga-ui-kit-components-checkbox.js +0 -5
- package/esm5/components/checkbox-block/checkbox-block.component.js +0 -123
- package/esm5/components/checkbox-block/checkbox-block.module.js +0 -27
- package/esm5/components/checkbox-block/index.js +0 -3
- package/esm5/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
- package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +0 -89
- package/esm5/components/checkbox-labeled/checkbox-labeled.module.js +0 -27
- package/esm5/components/checkbox-labeled/index.js +0 -3
- package/esm5/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
- package/esm5/components/combo-box/combo-box-strict.directive.js +0 -34
- package/esm5/components/combo-box/combo-box.component.js +0 -212
- package/esm5/components/combo-box/combo-box.directive.js +0 -35
- package/esm5/components/combo-box/combo-box.module.js +0 -42
- package/esm5/components/combo-box/combo-box.providers.js +0 -28
- package/esm5/components/combo-box/index.js +0 -6
- package/esm5/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
- package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -46
- package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +0 -41
- package/esm5/components/data-list-wrapper/data-list-wrapper.js +0 -64
- package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +0 -32
- package/esm5/components/data-list-wrapper/index.js +0 -5
- package/esm5/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +0 -5
- package/esm5/components/field-error/field-error.component.js +0 -165
- package/esm5/components/field-error/field-error.module.js +0 -23
- package/esm5/components/field-error/index.js +0 -3
- package/esm5/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
- package/esm5/components/files/file/file.component.js +0 -213
- package/esm5/components/files/files.component.js +0 -50
- package/esm5/components/files/files.module.js +0 -32
- package/esm5/components/files/index.js +0 -4
- package/esm5/components/files/taiga-ui-kit-components-files.js +0 -5
- package/esm5/components/filter/filter.component.js +0 -97
- package/esm5/components/filter/filter.module.js +0 -30
- package/esm5/components/filter/index.js +0 -3
- package/esm5/components/filter/taiga-ui-kit-components-filter.js +0 -5
- package/esm5/components/index.js +0 -62
- package/esm5/components/input/index.js +0 -5
- package/esm5/components/input/input.component.js +0 -108
- package/esm5/components/input/input.directive.js +0 -28
- package/esm5/components/input/input.module.js +0 -26
- package/esm5/components/input/input.providers.js +0 -22
- package/esm5/components/input/taiga-ui-kit-components-input.js +0 -5
- package/esm5/components/input-copy/index.js +0 -5
- package/esm5/components/input-copy/input-copy.component.js +0 -137
- package/esm5/components/input-copy/input-copy.directive.js +0 -28
- package/esm5/components/input-copy/input-copy.module.js +0 -28
- package/esm5/components/input-copy/input-copy.providers.js +0 -16
- package/esm5/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
- package/esm5/components/input-count/index.js +0 -5
- package/esm5/components/input-count/input-count-options.js +0 -26
- package/esm5/components/input-count/input-count.component.js +0 -295
- package/esm5/components/input-count/input-count.directive.js +0 -32
- package/esm5/components/input-count/input-count.module.js +0 -31
- package/esm5/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
- package/esm5/components/input-date/index.js +0 -5
- package/esm5/components/input-date/input-date.component.js +0 -271
- package/esm5/components/input-date/input-date.directive.js +0 -38
- package/esm5/components/input-date/input-date.module.js +0 -37
- package/esm5/components/input-date/input-date.providers.js +0 -31
- package/esm5/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
- package/esm5/components/input-date-range/index.js +0 -5
- package/esm5/components/input-date-range/input-date-range.component.js +0 -354
- package/esm5/components/input-date-range/input-date-range.directive.js +0 -38
- package/esm5/components/input-date-range/input-date-range.module.js +0 -41
- package/esm5/components/input-date-range/input-date-range.providers.js +0 -31
- package/esm5/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
- package/esm5/components/input-date-time/index.js +0 -5
- package/esm5/components/input-date-time/input-date-time.component.js +0 -304
- package/esm5/components/input-date-time/input-date-time.directive.js +0 -38
- package/esm5/components/input-date-time/input-date-time.module.js +0 -40
- package/esm5/components/input-date-time/input-date-time.providers.js +0 -31
- package/esm5/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
- package/esm5/components/input-file/file/file.component.js +0 -194
- package/esm5/components/input-file/index.js +0 -4
- package/esm5/components/input-file/input-file.component.js +0 -311
- package/esm5/components/input-file/input-file.module.js +0 -39
- package/esm5/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
- package/esm5/components/input-files/index.js +0 -3
- package/esm5/components/input-files/input-files.component.js +0 -247
- package/esm5/components/input-files/input-files.module.js +0 -44
- package/esm5/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
- package/esm5/components/input-inline/index.js +0 -3
- package/esm5/components/input-inline/input-inline.component.js +0 -78
- package/esm5/components/input-inline/input-inline.module.js +0 -27
- package/esm5/components/input-inline/taiga-ui-kit-components-input-inline.js +0 -5
- package/esm5/components/input-month/index.js +0 -5
- package/esm5/components/input-month/input-month.component.js +0 -117
- package/esm5/components/input-month/input-month.directive.js +0 -67
- package/esm5/components/input-month/input-month.module.js +0 -30
- package/esm5/components/input-month/input-month.providers.js +0 -19
- package/esm5/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
- package/esm5/components/input-month-range/index.js +0 -5
- package/esm5/components/input-month-range/input-month-range.component.js +0 -125
- package/esm5/components/input-month-range/input-month-range.directive.js +0 -74
- package/esm5/components/input-month-range/input-month-range.module.js +0 -35
- package/esm5/components/input-month-range/input-month-range.providers.js +0 -19
- package/esm5/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
- package/esm5/components/input-number/index.js +0 -4
- package/esm5/components/input-number/input-number.component.js +0 -294
- package/esm5/components/input-number/input-number.directive.js +0 -45
- package/esm5/components/input-number/input-number.module.js +0 -32
- package/esm5/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
- package/esm5/components/input-password/index.js +0 -5
- package/esm5/components/input-password/input-password-options.js +0 -26
- package/esm5/components/input-password/input-password.component.js +0 -137
- package/esm5/components/input-password/input-password.directive.js +0 -36
- package/esm5/components/input-password/input-password.module.js +0 -34
- package/esm5/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
- package/esm5/components/input-phone/index.js +0 -6
- package/esm5/components/input-phone/input-phone.component.js +0 -300
- package/esm5/components/input-phone/input-phone.directive.js +0 -45
- package/esm5/components/input-phone/input-phone.module.js +0 -29
- package/esm5/components/input-phone/input-phone.options.js +0 -15
- package/esm5/components/input-phone/input-phone.providers.js +0 -35
- package/esm5/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
- package/esm5/components/input-phone-international/const/countries.js +0 -260
- package/esm5/components/input-phone-international/country-iso-code.js +0 -209
- package/esm5/components/input-phone-international/index.js +0 -8
- package/esm5/components/input-phone-international/input-phone-international.component.js +0 -215
- package/esm5/components/input-phone-international/input-phone-international.module.js +0 -40
- package/esm5/components/input-phone-international/input-phone-international.options.js +0 -15
- package/esm5/components/input-phone-international/interfaces/country.js +0 -1
- package/esm5/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +0 -5
- package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
- package/esm5/components/input-phone-international/utils/extract-value-from-event.js +0 -14
- package/esm5/components/input-range/index.js +0 -3
- package/esm5/components/input-range/input-range.component.js +0 -316
- package/esm5/components/input-range/input-range.module.js +0 -35
- package/esm5/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
- package/esm5/components/input-slider/index.js +0 -3
- package/esm5/components/input-slider/input-slider.component.js +0 -306
- package/esm5/components/input-slider/input-slider.module.js +0 -35
- package/esm5/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
- package/esm5/components/input-tag/index.js +0 -4
- package/esm5/components/input-tag/input-tag-options.js +0 -9
- package/esm5/components/input-tag/input-tag.component.js +0 -521
- package/esm5/components/input-tag/input-tag.module.js +0 -37
- package/esm5/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
- package/esm5/components/input-time/index.js +0 -4
- package/esm5/components/input-time/input-time-options.js +0 -23
- package/esm5/components/input-time/input-time.component.js +0 -303
- package/esm5/components/input-time/input-time.module.js +0 -29
- package/esm5/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
- package/esm5/components/island/index.js +0 -3
- package/esm5/components/island/island.component.js +0 -103
- package/esm5/components/island/island.module.js +0 -18
- package/esm5/components/island/taiga-ui-kit-components-island.js +0 -5
- package/esm5/components/line-clamp/index.js +0 -4
- package/esm5/components/line-clamp/line-clamp-options.js +0 -13
- package/esm5/components/line-clamp/line-clamp.component.js +0 -148
- package/esm5/components/line-clamp/line-clamp.module.js +0 -27
- package/esm5/components/line-clamp/taiga-ui-kit-components-line-clamp.js +0 -5
- package/esm5/components/marker-icon/index.js +0 -3
- package/esm5/components/marker-icon/marker-icon.component.js +0 -46
- package/esm5/components/marker-icon/marker-icon.module.js +0 -19
- package/esm5/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
- package/esm5/components/multi-select/hide-selected.pipe.js +0 -45
- package/esm5/components/multi-select/index.js +0 -7
- package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +0 -173
- package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -60
- package/esm5/components/multi-select/multi-select-options.js +0 -14
- package/esm5/components/multi-select/multi-select.component.js +0 -306
- package/esm5/components/multi-select/multi-select.module.js +0 -54
- package/esm5/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
- package/esm5/components/multi-select-option/index.js +0 -3
- package/esm5/components/multi-select-option/multi-select-option.component.js +0 -39
- package/esm5/components/multi-select-option/multi-select-option.module.js +0 -20
- package/esm5/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
- package/esm5/components/pagination/index.js +0 -3
- package/esm5/components/pagination/pagination.component.js +0 -320
- package/esm5/components/pagination/pagination.module.js +0 -29
- package/esm5/components/pagination/taiga-ui-kit-components-pagination.js +0 -5
- package/esm5/components/pdf-viewer/index.js +0 -5
- package/esm5/components/pdf-viewer/pdf-viewer-options.js +0 -1
- package/esm5/components/pdf-viewer/pdf-viewer.component.js +0 -43
- package/esm5/components/pdf-viewer/pdf-viewer.directive.js +0 -26
- package/esm5/components/pdf-viewer/pdf-viewer.module.js +0 -31
- package/esm5/components/pdf-viewer/pdf-viewer.service.js +0 -31
- package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +0 -5
- package/esm5/components/progress/index.js +0 -10
- package/esm5/components/progress/progress-bar/progress-bar.component.js +0 -28
- package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
- package/esm5/components/progress/progress-circle/progress-circle.component.js +0 -78
- package/esm5/components/progress/progress-label/progress-label.component.js +0 -17
- package/esm5/components/progress/progress-segmented/progress-segmented.component.js +0 -52
- package/esm5/components/progress/progress.module.js +0 -41
- package/esm5/components/progress/taiga-ui-kit-components-progress.js +0 -5
- package/esm5/components/progress/utils/abstract-color-segments.js +0 -33
- package/esm5/components/progress/utils/calculate-color-segments.js +0 -13
- package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +0 -27
- package/esm5/components/progress/utils/progress-color-segments.pipe.js +0 -24
- package/esm5/components/radio/index.js +0 -4
- package/esm5/components/radio/radio-options.js +0 -18
- package/esm5/components/radio/radio.component.js +0 -165
- package/esm5/components/radio/radio.module.js +0 -29
- package/esm5/components/radio/taiga-ui-kit-components-radio.js +0 -5
- package/esm5/components/radio-block/index.js +0 -3
- package/esm5/components/radio-block/radio-block.component.js +0 -146
- package/esm5/components/radio-block/radio-block.module.js +0 -27
- package/esm5/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
- package/esm5/components/radio-group/index.js +0 -3
- package/esm5/components/radio-group/radio-group.component.js +0 -25
- package/esm5/components/radio-group/radio-group.module.js +0 -16
- package/esm5/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
- package/esm5/components/radio-labeled/index.js +0 -3
- package/esm5/components/radio-labeled/radio-labeled.component.js +0 -112
- package/esm5/components/radio-labeled/radio-labeled.module.js +0 -29
- package/esm5/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
- package/esm5/components/radio-list/index.js +0 -3
- package/esm5/components/radio-list/radio-list.component.js +0 -114
- package/esm5/components/radio-list/radio-list.module.js +0 -28
- package/esm5/components/radio-list/taiga-ui-kit-components-radio-list.js +0 -5
- package/esm5/components/range/index.js +0 -4
- package/esm5/components/range/range-change.directive.js +0 -103
- package/esm5/components/range/range.component.js +0 -269
- package/esm5/components/range/range.module.js +0 -30
- package/esm5/components/range/taiga-ui-kit-components-range.js +0 -5
- package/esm5/components/rating/index.js +0 -4
- package/esm5/components/rating/rating-options.js +0 -16
- package/esm5/components/rating/rating.component.js +0 -111
- package/esm5/components/rating/rating.module.js +0 -26
- package/esm5/components/rating/taiga-ui-kit-components-rating.js +0 -5
- package/esm5/components/select/index.js +0 -6
- package/esm5/components/select/select-options.js +0 -13
- package/esm5/components/select/select.component.js +0 -137
- package/esm5/components/select/select.directive.js +0 -42
- package/esm5/components/select/select.module.js +0 -32
- package/esm5/components/select/select.providers.js +0 -28
- package/esm5/components/select/taiga-ui-kit-components-select.js +0 -5
- package/esm5/components/select-option/index.js +0 -3
- package/esm5/components/select-option/select-option.component.js +0 -75
- package/esm5/components/select-option/select-option.module.js +0 -20
- package/esm5/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
- package/esm5/components/slider/helpers/slider-key-steps.directive.js +0 -136
- package/esm5/components/slider/helpers/slider-readonly.directive.js +0 -87
- package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -55
- package/esm5/components/slider/index.js +0 -8
- package/esm5/components/slider/slider-old.component.js +0 -96
- package/esm5/components/slider/slider-options.js +0 -14
- package/esm5/components/slider/slider.component.js +0 -161
- package/esm5/components/slider/slider.module.js +0 -45
- package/esm5/components/slider/taiga-ui-kit-components-slider.js +0 -5
- package/esm5/components/stepper/index.js +0 -4
- package/esm5/components/stepper/step/step.component.js +0 -103
- package/esm5/components/stepper/stepper.component.js +0 -117
- package/esm5/components/stepper/stepper.module.js +0 -20
- package/esm5/components/stepper/taiga-ui-kit-components-stepper.js +0 -5
- package/esm5/components/tabs/index.js +0 -10
- package/esm5/components/tabs/tab/tab.component.js +0 -86
- package/esm5/components/tabs/tab/tab.providers.js +0 -38
- package/esm5/components/tabs/tab.directive.js +0 -19
- package/esm5/components/tabs/tabs/tabs.component.js +0 -159
- package/esm5/components/tabs/tabs-options.js +0 -15
- package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -233
- package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -43
- package/esm5/components/tabs/tabs.module.js +0 -42
- package/esm5/components/tabs/taiga-ui-kit-components-tabs.js +0 -5
- package/esm5/components/tabs/underline/underline.component.js +0 -94
- package/esm5/components/tag/index.js +0 -4
- package/esm5/components/tag/tag-options.js +0 -16
- package/esm5/components/tag/tag.component.js +0 -240
- package/esm5/components/tag/tag.module.js +0 -29
- package/esm5/components/tag/taiga-ui-kit-components-tag.js +0 -5
- package/esm5/components/taiga-ui-kit-components.js +0 -5
- package/esm5/components/text-area/index.js +0 -5
- package/esm5/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
- package/esm5/components/text-area/text-area.component.js +0 -238
- package/esm5/components/text-area/text-area.directive.js +0 -28
- package/esm5/components/text-area/text-area.module.js +0 -33
- package/esm5/components/text-area/text-area.providers.js +0 -18
- package/esm5/components/toggle/index.js +0 -4
- package/esm5/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
- package/esm5/components/toggle/toggle-options.js +0 -26
- package/esm5/components/toggle/toggle.component.js +0 -160
- package/esm5/components/toggle/toggle.module.js +0 -33
- package/esm5/components/tree/components/tree/tree.component.js +0 -72
- package/esm5/components/tree/components/tree-item/tree-item.component.js +0 -68
- package/esm5/components/tree/components/tree-item/tree-item.providers.js +0 -19
- package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +0 -49
- package/esm5/components/tree/directives/tree-children.directive.js +0 -25
- package/esm5/components/tree/directives/tree-controller.directive.js +0 -64
- package/esm5/components/tree/directives/tree-item-controller.directive.js +0 -38
- package/esm5/components/tree/directives/tree-node.directive.js +0 -40
- package/esm5/components/tree/index.js +0 -13
- package/esm5/components/tree/misc/tree.constants.js +0 -9
- package/esm5/components/tree/misc/tree.interfaces.js +0 -1
- package/esm5/components/tree/misc/tree.service.js +0 -44
- package/esm5/components/tree/misc/tree.tokens.js +0 -17
- package/esm5/components/tree/taiga-ui-kit-components-tree.js +0 -5
- package/esm5/components/tree/tree.module.js +0 -48
- package/esm5/constants/date-time-separator.js +0 -2
- package/esm5/constants/empty-mask.js +0 -6
- package/esm5/constants/group-class-names.js +0 -12
- package/esm5/constants/icon-blank.js +0 -2
- package/esm5/constants/index.js +0 -10
- package/esm5/constants/masks.js +0 -52
- package/esm5/constants/math.js +0 -5
- package/esm5/constants/max-day-range-length-mapper.js +0 -16
- package/esm5/constants/max-time-values.js +0 -7
- package/esm5/constants/router-link-options.js +0 -10
- package/esm5/constants/taiga-ui-kit-constants.js +0 -5
- package/esm5/directives/dropdown-context/dropdown-context.directive.js +0 -141
- package/esm5/directives/dropdown-context/dropdown-context.module.js +0 -18
- package/esm5/directives/dropdown-context/index.js +0 -3
- package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
- package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +0 -56
- package/esm5/directives/dropdown-hover/dropdown-hover.module.js +0 -16
- package/esm5/directives/dropdown-hover/index.js +0 -3
- package/esm5/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
- package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +0 -248
- package/esm5/directives/dropdown-selection/dropdown-selection.module.js +0 -18
- package/esm5/directives/dropdown-selection/index.js +0 -3
- package/esm5/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
- package/esm5/directives/highlight/highlight.directive.js +0 -101
- package/esm5/directives/highlight/highlight.module.js +0 -16
- package/esm5/directives/highlight/index.js +0 -3
- package/esm5/directives/highlight/taiga-ui-kit-directives-highlight.js +0 -5
- package/esm5/directives/index.js +0 -10
- package/esm5/directives/lazy-loading/index.js +0 -4
- package/esm5/directives/lazy-loading/lazy-loading.directive.js +0 -69
- package/esm5/directives/lazy-loading/lazy-loading.module.js +0 -16
- package/esm5/directives/lazy-loading/lazy-loading.service.js +0 -40
- package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +0 -5
- package/esm5/directives/present/index.js +0 -3
- package/esm5/directives/present/present.directive.js +0 -71
- package/esm5/directives/present/present.module.js +0 -16
- package/esm5/directives/present/taiga-ui-kit-directives-present.js +0 -5
- package/esm5/directives/project-class/index.js +0 -3
- package/esm5/directives/project-class/project-class.directive.js +0 -43
- package/esm5/directives/project-class/project-class.module.js +0 -16
- package/esm5/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
- package/esm5/directives/taiga-ui-kit-directives.js +0 -5
- package/esm5/directives/unfinished-validator/index.js +0 -3
- package/esm5/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +0 -5
- package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +0 -36
- package/esm5/directives/unfinished-validator/unfinished-validator.module.js +0 -16
- package/esm5/directives/value-accessor/index.js +0 -3
- package/esm5/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
- package/esm5/directives/value-accessor/value-accessor.directive.js +0 -16
- package/esm5/directives/value-accessor/value-accessor.module.js +0 -16
- package/esm5/enums/borders.js +0 -9
- package/esm5/enums/dropdown-position.js +0 -10
- package/esm5/enums/file-state.js +0 -11
- package/esm5/enums/index.js +0 -8
- package/esm5/enums/marker-icon-mode.js +0 -15
- package/esm5/enums/status.js +0 -13
- package/esm5/enums/step-state.js +0 -10
- package/esm5/enums/taiga-ui-kit-enums.js +0 -5
- package/esm5/enums/text-align.js +0 -10
- package/esm5/index.js +0 -12
- package/esm5/interfaces/bread-crumbs-item.js +0 -1
- package/esm5/interfaces/file-like.js +0 -1
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/mobile-calendar-data.js +0 -1
- package/esm5/interfaces/month-context.js +0 -1
- package/esm5/interfaces/taiga-ui-kit-interfaces.js +0 -4
- package/esm5/interfaces/with-date-mask-pipe-config.js +0 -1
- package/esm5/internal/index.js +0 -2
- package/esm5/internal/primitive-calendar-range/index.js +0 -3
- package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -163
- package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
- package/esm5/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
- package/esm5/internal/taiga-ui-kit-internal.js +0 -5
- package/esm5/pipes/field-error/field-error-content-pipe.js +0 -44
- package/esm5/pipes/field-error/field-error-pipe.js +0 -142
- package/esm5/pipes/field-error/field-error.module.js +0 -17
- package/esm5/pipes/field-error/index.js +0 -4
- package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +0 -5
- package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -28
- package/esm5/pipes/filter-by-input/filter-by-input.base.js +0 -61
- package/esm5/pipes/filter-by-input/filter-by-input.module.js +0 -17
- package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +0 -29
- package/esm5/pipes/filter-by-input/index.js +0 -5
- package/esm5/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +0 -5
- package/esm5/pipes/index.js +0 -5
- package/esm5/pipes/stringify/index.js +0 -3
- package/esm5/pipes/stringify/stringify.module.js +0 -16
- package/esm5/pipes/stringify/stringify.pipe.js +0 -17
- package/esm5/pipes/stringify/taiga-ui-kit-pipes-stringify.js +0 -5
- package/esm5/pipes/stringify-content/index.js +0 -3
- package/esm5/pipes/stringify-content/stringify-content.module.js +0 -16
- package/esm5/pipes/stringify-content/stringify-content.pipe.js +0 -20
- package/esm5/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +0 -5
- package/esm5/pipes/taiga-ui-kit-pipes.js +0 -5
- package/esm5/providers/index.js +0 -4
- package/esm5/providers/month-formatter.provider.js +0 -23
- package/esm5/providers/specific-dropdown-controllers.js +0 -29
- package/esm5/providers/taiga-ui-kit-providers.js +0 -5
- package/esm5/providers/value-accessor.provider.js +0 -12
- package/esm5/taiga-ui-kit.js +0 -5
- package/esm5/tokens/calendar-data-stream.js +0 -3
- package/esm5/tokens/date-inputs-value-transformers.js +0 -5
- package/esm5/tokens/i18n.js +0 -60
- package/esm5/tokens/index.js +0 -11
- package/esm5/tokens/items-handlers.js +0 -16
- package/esm5/tokens/mobile-aware.js +0 -6
- package/esm5/tokens/mobile-calendar.js +0 -3
- package/esm5/tokens/month-formatter.js +0 -3
- package/esm5/tokens/tab-margin.js +0 -5
- package/esm5/tokens/tag-status.js +0 -6
- package/esm5/tokens/taiga-ui-kit-tokens.js +0 -5
- package/esm5/tokens/validation-errors.js +0 -5
- package/esm5/types/handler-with-context.js +0 -1
- package/esm5/types/index.js +0 -1
- package/esm5/types/key-steps.js +0 -1
- package/esm5/types/marker-icon-mode.js +0 -1
- package/esm5/types/status.js +0 -1
- package/esm5/types/taiga-ui-kit-types.js +0 -4
- package/esm5/types/time-format-parts.js +0 -1
- package/esm5/utils/dom/get-word-range.js +0 -55
- package/esm5/utils/dom/index.js +0 -4
- package/esm5/utils/dom/scroll-to-element.js +0 -23
- package/esm5/utils/dom/set-range-offset.js +0 -29
- package/esm5/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
- package/esm5/utils/files/format-size.js +0 -21
- package/esm5/utils/files/get-accept-array.js +0 -12
- package/esm5/utils/files/index.js +0 -3
- package/esm5/utils/files/taiga-ui-kit-utils-files.js +0 -5
- package/esm5/utils/format/index.js +0 -2
- package/esm5/utils/format/string-hash-to-hsl.js +0 -24
- package/esm5/utils/format/taiga-ui-kit-utils-format.js +0 -5
- package/esm5/utils/index.js +0 -7
- package/esm5/utils/mask/create-auto-corrected-date-pipe.js +0 -25
- package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +0 -39
- package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +0 -29
- package/esm5/utils/mask/create-auto-corrected-time-pipe.js +0 -36
- package/esm5/utils/mask/create-date-mask.js +0 -17
- package/esm5/utils/mask/create-date-range-mask.js +0 -13
- package/esm5/utils/mask/create-time-mask.js +0 -17
- package/esm5/utils/mask/index.js +0 -8
- package/esm5/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
- package/esm5/utils/math/horizontal-direction-to-number.js +0 -12
- package/esm5/utils/math/index.js +0 -3
- package/esm5/utils/math/key-steps.js +0 -30
- package/esm5/utils/math/taiga-ui-kit-utils-math.js +0 -5
- package/esm5/utils/miscellaneous/create-default-day-range-periods.js +0 -28
- package/esm5/utils/miscellaneous/create-time-periods.js +0 -15
- package/esm5/utils/miscellaneous/get-precision.js +0 -12
- package/esm5/utils/miscellaneous/index.js +0 -6
- package/esm5/utils/miscellaneous/is-flat.js +0 -9
- package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +0 -19
- package/esm5/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
- package/esm5/utils/taiga-ui-kit-utils.js +0 -5
- package/esm5/validators/index.js +0 -2
- package/esm5/validators/taiga-ui-kit-validators.js +0 -5
- package/esm5/validators/unfinished.validator.js +0 -15
- package/fesm2015/taiga-ui-kit-abstract.js +0 -434
- package/fesm2015/taiga-ui-kit-abstract.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-field-error.js +0 -153
- package/fesm2015/taiga-ui-kit-components-field-error.js.map +0 -1
- package/fesm2015/taiga-ui-kit-components-input-file.js +0 -440
- package/fesm2015/taiga-ui-kit-components-input-file.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +0 -141
- package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +0 -65
- package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +0 -247
- package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
- package/fesm2015/taiga-ui-kit-enums.js +0 -84
- package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
- package/fesm2015/taiga-ui-kit-utils-dom.js +0 -111
- package/fesm2015/taiga-ui-kit-utils-dom.js.map +0 -1
- package/fesm5/taiga-ui-kit-abstract.js +0 -501
- package/fesm5/taiga-ui-kit-abstract.js.map +0 -1
- package/fesm5/taiga-ui-kit-classes.js +0 -44
- package/fesm5/taiga-ui-kit-classes.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-accordion.js +0 -286
- package/fesm5/taiga-ui-kit-components-accordion.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-action.js +0 -117
- package/fesm5/taiga-ui-kit-components-action.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-arrow.js +0 -87
- package/fesm5/taiga-ui-kit-components-arrow.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-avatar.js +0 -132
- package/fesm5/taiga-ui-kit-components-avatar.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-badge.js +0 -107
- package/fesm5/taiga-ui-kit-components-badge.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-badged-content.js +0 -128
- package/fesm5/taiga-ui-kit-components-badged-content.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-breadcrumbs.js +0 -120
- package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-calendar-month.js +0 -244
- package/fesm5/taiga-ui-kit-components-calendar-month.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-calendar-range.js +0 -211
- package/fesm5/taiga-ui-kit-components-calendar-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-carousel.js +0 -307
- package/fesm5/taiga-ui-kit-components-carousel.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-checkbox-block.js +0 -148
- package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +0 -115
- package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-checkbox.js +0 -118
- package/fesm5/taiga-ui-kit-components-checkbox.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-combo-box.js +0 -333
- package/fesm5/taiga-ui-kit-components-combo-box.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +0 -171
- package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-field-error.js +0 -189
- package/fesm5/taiga-ui-kit-components-field-error.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-files.js +0 -289
- package/fesm5/taiga-ui-kit-components-files.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-filter.js +0 -128
- package/fesm5/taiga-ui-kit-components-filter.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-copy.js +0 -200
- package/fesm5/taiga-ui-kit-components-input-copy.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-count.js +0 -377
- package/fesm5/taiga-ui-kit-components-input-count.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-date-range.js +0 -452
- package/fesm5/taiga-ui-kit-components-input-date-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-date-time.js +0 -402
- package/fesm5/taiga-ui-kit-components-input-date-time.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-date.js +0 -365
- package/fesm5/taiga-ui-kit-components-input-date.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-file.js +0 -535
- package/fesm5/taiga-ui-kit-components-input-file.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-files.js +0 -291
- package/fesm5/taiga-ui-kit-components-input-files.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-inline.js +0 -105
- package/fesm5/taiga-ui-kit-components-input-inline.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-month-range.js +0 -240
- package/fesm5/taiga-ui-kit-components-input-month-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-month.js +0 -220
- package/fesm5/taiga-ui-kit-components-input-month.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-number.js +0 -365
- package/fesm5/taiga-ui-kit-components-input-number.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-password.js +0 -225
- package/fesm5/taiga-ui-kit-components-input-password.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-phone-international.js +0 -744
- package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-phone.js +0 -410
- package/fesm5/taiga-ui-kit-components-input-phone.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-range.js +0 -347
- package/fesm5/taiga-ui-kit-components-input-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-slider.js +0 -336
- package/fesm5/taiga-ui-kit-components-input-slider.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-tag.js +0 -563
- package/fesm5/taiga-ui-kit-components-input-tag.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input-time.js +0 -353
- package/fesm5/taiga-ui-kit-components-input-time.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-input.js +0 -174
- package/fesm5/taiga-ui-kit-components-input.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-island.js +0 -123
- package/fesm5/taiga-ui-kit-components-island.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-line-clamp.js +0 -185
- package/fesm5/taiga-ui-kit-components-line-clamp.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-marker-icon.js +0 -66
- package/fesm5/taiga-ui-kit-components-marker-icon.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-multi-select-option.js +0 -60
- package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-multi-select.js +0 -623
- package/fesm5/taiga-ui-kit-components-multi-select.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-pagination.js +0 -349
- package/fesm5/taiga-ui-kit-components-pagination.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-pdf-viewer.js +0 -117
- package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-progress.js +0 -330
- package/fesm5/taiga-ui-kit-components-progress.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio-block.js +0 -171
- package/fesm5/taiga-ui-kit-components-radio-block.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio-group.js +0 -43
- package/fesm5/taiga-ui-kit-components-radio-group.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio-labeled.js +0 -140
- package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio-list.js +0 -142
- package/fesm5/taiga-ui-kit-components-radio-list.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-radio.js +0 -209
- package/fesm5/taiga-ui-kit-components-radio.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-range.js +0 -390
- package/fesm5/taiga-ui-kit-components-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-rating.js +0 -150
- package/fesm5/taiga-ui-kit-components-rating.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-select-option.js +0 -96
- package/fesm5/taiga-ui-kit-components-select-option.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-select.js +0 -237
- package/fesm5/taiga-ui-kit-components-select.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-slider.js +0 -560
- package/fesm5/taiga-ui-kit-components-slider.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-stepper.js +0 -233
- package/fesm5/taiga-ui-kit-components-stepper.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-tabs.js +0 -677
- package/fesm5/taiga-ui-kit-components-tabs.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-tag.js +0 -282
- package/fesm5/taiga-ui-kit-components-tag.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-text-area.js +0 -306
- package/fesm5/taiga-ui-kit-components-text-area.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-toggle.js +0 -216
- package/fesm5/taiga-ui-kit-components-toggle.js.map +0 -1
- package/fesm5/taiga-ui-kit-components-tree.js +0 -439
- package/fesm5/taiga-ui-kit-components-tree.js.map +0 -1
- package/fesm5/taiga-ui-kit-components.js +0 -66
- package/fesm5/taiga-ui-kit-components.js.map +0 -1
- package/fesm5/taiga-ui-kit-constants.js +0 -119
- package/fesm5/taiga-ui-kit-constants.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-context.js +0 -160
- package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +0 -74
- package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +0 -267
- package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-highlight.js +0 -119
- package/fesm5/taiga-ui-kit-directives-highlight.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-lazy-loading.js +0 -121
- package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-present.js +0 -89
- package/fesm5/taiga-ui-kit-directives-present.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-project-class.js +0 -61
- package/fesm5/taiga-ui-kit-directives-project-class.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +0 -54
- package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives-value-accessor.js +0 -34
- package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +0 -1
- package/fesm5/taiga-ui-kit-directives.js +0 -14
- package/fesm5/taiga-ui-kit-directives.js.map +0 -1
- package/fesm5/taiga-ui-kit-enums.js +0 -84
- package/fesm5/taiga-ui-kit-enums.js.map +0 -1
- package/fesm5/taiga-ui-kit-interfaces.js +0 -4
- package/fesm5/taiga-ui-kit-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +0 -185
- package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
- package/fesm5/taiga-ui-kit-internal.js +0 -6
- package/fesm5/taiga-ui-kit-internal.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes-field-error.js +0 -200
- package/fesm5/taiga-ui-kit-pipes-field-error.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +0 -125
- package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes-stringify-content.js +0 -38
- package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes-stringify.js +0 -35
- package/fesm5/taiga-ui-kit-pipes-stringify.js.map +0 -1
- package/fesm5/taiga-ui-kit-pipes.js +0 -9
- package/fesm5/taiga-ui-kit-pipes.js.map +0 -1
- package/fesm5/taiga-ui-kit-providers.js +0 -67
- package/fesm5/taiga-ui-kit-providers.js.map +0 -1
- package/fesm5/taiga-ui-kit-tokens.js +0 -110
- package/fesm5/taiga-ui-kit-tokens.js.map +0 -1
- package/fesm5/taiga-ui-kit-types.js +0 -4
- package/fesm5/taiga-ui-kit-types.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-dom.js +0 -113
- package/fesm5/taiga-ui-kit-utils-dom.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-files.js +0 -40
- package/fesm5/taiga-ui-kit-utils-files.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-format.js +0 -30
- package/fesm5/taiga-ui-kit-utils-format.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-mask.js +0 -169
- package/fesm5/taiga-ui-kit-utils-mask.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-math.js +0 -49
- package/fesm5/taiga-ui-kit-utils-math.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils-miscellaneous.js +0 -88
- package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
- package/fesm5/taiga-ui-kit-utils.js +0 -11
- package/fesm5/taiga-ui-kit-utils.js.map +0 -1
- package/fesm5/taiga-ui-kit-validators.js +0 -22
- package/fesm5/taiga-ui-kit-validators.js.map +0 -1
- package/fesm5/taiga-ui-kit.js +0 -16
- package/fesm5/taiga-ui-kit.js.map +0 -1
- package/interfaces/bread-crumbs-item.d.ts +0 -6
- package/interfaces/taiga-ui-kit-interfaces.metadata.json +0 -1
- package/interfaces/with-date-mask-pipe-config.d.ts +0 -9
- package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +0 -1
- package/internal/taiga-ui-kit-internal.metadata.json +0 -1
- package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +0 -1
- package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +0 -1
- package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +0 -1
- package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +0 -1
- package/pipes/taiga-ui-kit-pipes.metadata.json +0 -1
- package/providers/taiga-ui-kit-providers.metadata.json +0 -1
- package/taiga-ui-kit.metadata.json +0 -1
- package/tokens/calendar-data-stream.d.ts +0 -4
- package/tokens/mobile-aware.d.ts +0 -3
- package/tokens/tag-status.d.ts +0 -3
- package/tokens/taiga-ui-kit-tokens.metadata.json +0 -1
- package/types/taiga-ui-kit-types.metadata.json +0 -1
- package/utils/dom/get-word-range.d.ts +0 -9
- package/utils/dom/index.d.ts +0 -3
- package/utils/dom/package.json +0 -13
- package/utils/dom/scroll-to-element.d.ts +0 -5
- package/utils/dom/set-range-offset.d.ts +0 -6
- package/utils/dom/taiga-ui-kit-utils-dom.d.ts +0 -4
- package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +0 -1
- package/utils/files/taiga-ui-kit-utils-files.metadata.json +0 -1
- package/utils/format/taiga-ui-kit-utils-format.metadata.json +0 -1
- package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +0 -1
- package/utils/math/taiga-ui-kit-utils-math.metadata.json +0 -1
- package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +0 -1
- package/utils/taiga-ui-kit-utils.metadata.json +0 -1
- package/validators/taiga-ui-kit-validators.metadata.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-input-file.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-file/file/file.component.ts","ng://@taiga-ui/kit/components/input-file/input-file.component.ts","ng://@taiga-ui/kit/components/input-file/input-file.module.ts"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {DomSanitizer, SafeValue} from '@angular/platform-browser';\nimport {TUI_IS_MOBILE, tuiDefaultProp, tuiPure} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\nimport {TuiFileState, TuiFileStateT} from '@taiga-ui/kit/enums';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n// @dynamic\n@Component({\n selector: `tui-file`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: `./file.template.html`,\n styleUrls: [`./file.style.less`],\n})\nexport class TuiFileOldComponent {\n @Input()\n @tuiDefaultProp()\n file: TuiFileLike = {name: ``};\n\n @Input()\n @tuiDefaultProp()\n state: TuiFileStateT | TuiFileState = TuiFileState.Normal;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = `m`;\n\n @Input()\n @tuiDefaultProp()\n allowDelete = true;\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Output()\n readonly fileRemoved = new EventEmitter<void>();\n\n @HostBinding(`class._focused`)\n focused = false;\n\n constructor(\n @Inject(TUI_IS_MOBILE) readonly isMobile: boolean,\n @Inject(DomSanitizer) private readonly sanitizer: DomSanitizer,\n @Inject(TUI_FILE_TEXTS)\n readonly fileTexts$: Observable<\n Record<'loadingError' | 'preview' | 'remove', string>\n >,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n private readonly units$: Observable<[string, string, string]>,\n ) {}\n\n get preview(): SafeValue {\n return this.isBig ? this.createPreview(this.file, this.sanitizer) : ``;\n }\n\n get isBig(): boolean {\n return this.size === `l`;\n }\n\n get isLoading(): boolean {\n return this.state === TuiFileState.Loading;\n }\n\n get isError(): boolean {\n return this.state === TuiFileState.Error;\n }\n\n get isDeleted(): boolean {\n return this.state === TuiFileState.Deleted;\n }\n\n get icon(): string {\n if (this.state === TuiFileState.Normal && this.isBig) {\n return `tuiIconDefaultDocLarge`;\n }\n\n switch (this.state) {\n case TuiFileState.Deleted:\n return `tuiIconTrashLarge`;\n case TuiFileState.Error:\n return `tuiIconAlertCircleLarge`;\n default:\n return `tuiIconCheckCircleLarge`;\n }\n }\n\n @HostBinding(`class._link`)\n get src(): string {\n return this.file.src || ``;\n }\n\n get name(): string {\n return this.file.name.split(`.`).slice(0, -1).join(`.`);\n }\n\n get type(): string {\n return `.${this.file.name.split(`.`).pop()}` || ``;\n }\n\n get content$(): Observable<PolymorpheusContent> {\n return this.calculateContent$(this.state, this.file, this.fileTexts$);\n }\n\n get fileSize$(): Observable<string | null> {\n return this.calculateFileSize$(this.file, this.units$);\n }\n\n onRemoveClick(): void {\n this.fileRemoved.emit();\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.focused = focusVisible;\n }\n\n @tuiPure\n private calculateContent$(\n state: keyof Record<TuiFileState, string> | string | TuiFileState,\n file: TuiFileLike,\n fileTexts$: Observable<Record<'loadingError' | 'preview' | 'remove', string>>,\n ): Observable<PolymorpheusContent> {\n return state === TuiFileState.Error && !file.content\n ? fileTexts$.pipe(map(texts => texts.loadingError))\n : of(this.file.content || ``);\n }\n\n @tuiPure\n private calculateFileSize$(\n file: TuiFileLike,\n units$: Observable<[string, string, string]>,\n ): Observable<string | null> {\n return units$.pipe(map(units => formatSize(units, file.size)));\n }\n\n @tuiPure\n private createPreview(file: TuiFileLike, sanitizer: DomSanitizer): SafeValue {\n if (file.src) {\n return file.src;\n }\n\n // TODO: iframe warning\n if (file instanceof File && file.type && file.type.startsWith(`image/`)) {\n return sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(file));\n }\n\n return ``;\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n EMPTY_ARRAY,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TuiAppearance,\n TuiBrightness,\n TuiSizeL,\n} from '@taiga-ui/core';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_INPUT_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nconst DEFAULT_MAX_SIZE = 30 * 1000 * 1000; // 30 MB\n\n// @dynamic\n@Component({\n selector: `tui-input-file`,\n templateUrl: `./input-file.template.html`,\n styleUrls: [`./input-file.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n MODE_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputFileComponent),\n },\n ],\n})\nexport class TuiInputFileComponent\n extends AbstractTuiNullableControl<TuiFileLike | readonly TuiFileLike[]>\n implements TuiFocusableElementAccessor\n{\n private dataTransfer: DataTransfer | null = null;\n\n @Input()\n @tuiDefaultProp()\n link: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n label: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n accept = ``;\n\n @Input()\n @tuiDefaultProp()\n multiple = false;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = `m`;\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Input()\n @tuiDefaultProp()\n maxFileSize = DEFAULT_MAX_SIZE;\n\n @Input()\n @tuiDefaultProp()\n loadingFiles: readonly TuiFileLike[] = [];\n\n @Input()\n @tuiDefaultProp()\n rejectedFiles: readonly TuiFileLike[] = [];\n\n @Output()\n rejectedFilesChange = new EventEmitter<readonly TuiFileLike[]>();\n\n @ViewChild(`input`)\n readonly input?: ElementRef<HTMLInputElement>;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_IS_MOBILE)\n readonly isMobile: boolean,\n @Inject(TUI_INPUT_FILE_TEXTS)\n readonly inputFileTexts$: Observable<\n Record<\n | 'defaultLabelSingle'\n | 'defaultLabelMultiple'\n | 'defaultLinkSingle'\n | 'defaultLinkMultiple'\n | 'maxSizeRejectionReason'\n | 'formatRejectionReason'\n | 'drop'\n | 'dropMultiple',\n string\n >\n >,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n readonly units$: Observable<[string, string, string]>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.input ? this.input.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get computedLink$(): Observable<PolymorpheusContent> {\n return this.computeLink$(this.fileDragged, this.multiple, this.link);\n }\n\n get computedLabel$(): Observable<PolymorpheusContent> {\n return this.computeLabel$(\n this.isMobile,\n this.fileDragged,\n this.multiple,\n this.label,\n );\n }\n\n // @bad TODO: 3.0 refactor after IE is dropped\n get fileDragged(): boolean {\n return (\n !!this.dataTransfer &&\n Array.prototype.indexOf.call(this.dataTransfer.types, `Files`) !== -1\n );\n }\n\n get acceptArray(): readonly string[] {\n return this.getAcceptArray(this.accept);\n }\n\n get arrayValue(): readonly TuiFileLike[] {\n return this.getValueArray(this.value);\n }\n\n get readyFiles(): readonly TuiFileLike[] {\n return this.getReadyFiles(this.arrayValue, this.loadingFiles);\n }\n\n get computedLoading(): readonly TuiFileLike[] {\n return this.getLoadingFiles(this.arrayValue, this.loadingFiles);\n }\n\n get hasFiles(): boolean {\n return !!this.rejectedFiles.length || !!this.arrayValue.length;\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n // TODO: refactor i18n messages\n onFilesSelected(\n input: HTMLInputElement,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n this.processSelectedFiles(input.files, texts, units);\n input.value = ``;\n }\n\n onDropped(\n event: DataTransfer,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n this.processSelectedFiles(event.files, texts, units);\n }\n\n onDragOver(dataTransfer: DataTransfer | null): void {\n this.dataTransfer = dataTransfer;\n }\n\n removeFile(removedFile: TuiFileLike): void {\n this.updateValue(\n this.multiple ? this.arrayValue.filter(file => file !== removedFile) : null,\n );\n }\n\n removeRejectedFile(removedFile: TuiFileLike): void {\n this.updateRejectedFiles(this.rejectedFiles.filter(file => file !== removedFile));\n }\n\n getAppearance(mode: null | unknown): string {\n return mode === null ? `` : TuiAppearance.Outline;\n }\n\n @tuiPure\n private computeLink$(\n fileDragged: boolean,\n multiple: boolean,\n link: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (fileDragged) {\n return of(``);\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && link === ``\n ? texts.defaultLinkMultiple\n : link || texts.defaultLinkSingle,\n ),\n );\n }\n\n @tuiPure\n private computeLabel$(\n isMobile: boolean,\n fileDragged: boolean,\n multiple: boolean,\n label: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (isMobile) {\n return of(``);\n }\n\n if (fileDragged) {\n return this.inputFileTexts$.pipe(\n map(texts => (multiple ? texts.dropMultiple : texts.drop)),\n );\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && label === ``\n ? texts.defaultLabelMultiple\n : label || texts.defaultLabelSingle,\n ),\n );\n }\n\n @tuiPure\n private getValueArray(\n value: TuiFileLike | readonly TuiFileLike[] | null,\n ): readonly TuiFileLike[] {\n if (!value) {\n return EMPTY_ARRAY;\n }\n\n return value instanceof Array ? value : [value];\n }\n\n @tuiPure\n private getReadyFiles(\n value: readonly TuiFileLike[],\n loading: readonly TuiFileLike[],\n ): readonly TuiFileLike[] {\n return value.filter(file => !loading.includes(file));\n }\n\n @tuiPure\n private getLoadingFiles(\n value: readonly TuiFileLike[],\n loading: readonly TuiFileLike[],\n ): readonly TuiFileLike[] {\n return loading.filter(file => value.includes(file));\n }\n\n @tuiPure\n private getAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(`,`)\n .map(format => format.trim());\n }\n\n private processSelectedFiles(\n files: FileList | null,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n // IE11 after selecting a file through the open dialog generates a second event passing an empty FileList.\n if (files === null || files.length === 0) {\n return;\n }\n\n const newFiles = this.multiple ? Array.from(files) : [files[0]];\n const tooBigFiles = newFiles.filter(file => file.size > this.maxFileSize);\n const wrongFormatFiles = newFiles.filter(\n file => !this.isFormatAcceptable(file) && !tooBigFiles.includes(file),\n );\n const acceptedFiles = newFiles.filter(\n file => !tooBigFiles.includes(file) && !wrongFormatFiles.includes(file),\n );\n\n this.updateRejectedFiles([\n ...tooBigFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content:\n texts.maxSizeRejectionReason + formatSize(units, this.maxFileSize),\n })),\n ...wrongFormatFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content: texts.formatRejectionReason,\n })),\n ]);\n this.updateValue(\n this.multiple\n ? [...this.arrayValue, ...acceptedFiles]\n : acceptedFiles[0] || null,\n );\n }\n\n private isFormatAcceptable(file: File): boolean {\n if (!this.accept) {\n return true;\n }\n\n const extension = `.${(file.name.split(`.`).pop() || ``).toLowerCase()}`;\n\n return this.acceptArray.some(\n format =>\n format === extension ||\n format === file.type ||\n (format.split(`/`)[1] === `*` &&\n file.type.split(`/`)[0] === format.split(`/`)[0]),\n );\n }\n\n private updateRejectedFiles(rejectedFiles: readonly TuiFileLike[]): void {\n this.rejectedFiles = rejectedFiles;\n this.rejectedFilesChange.emit(rejectedFiles);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiDroppableModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiHoveredModule,\n TuiLetModule,\n TuiPressedModule,\n TuiPreventDefaultModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiButtonModule,\n TuiGroupModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiSvgModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiFileOldComponent} from './file/file.component';\nimport {TuiInputFileComponent} from './input-file.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiLetModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiPressedModule,\n TuiHoveredModule,\n TuiFocusableModule,\n TuiDroppableModule,\n TuiWrapperModule,\n TuiSvgModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiButtonModule,\n TuiPreventDefaultModule,\n TuiGroupModule,\n ],\n declarations: [TuiFileOldComponent, TuiInputFileComponent],\n exports: [TuiInputFileComponent],\n})\nexport class TuiInputFileModule {}\n"],"names":["EventEmitter","map","of","formatSize","Inject","TUI_IS_MOBILE","DomSanitizer","Observable","TUI_FILE_TEXTS","TUI_DIGITAL_INFORMATION_UNITS","Input","tuiDefaultProp","Output","HostBinding","tuiPure","Component","ChangeDetectionStrategy","isNativeFocused","EMPTY_ARRAY","files","NgControl","Optional","Self","ChangeDetectorRef","TUI_INPUT_FILE_TEXTS","TUI_MODE","ViewChild","MODE_PROVIDER","TUI_FOCUSABLE_ITEM_ACCESSOR","forwardRef","AbstractTuiNullableControl","NgModule","CommonModule","PolymorpheusModule","TuiLetModule","TuiFocusedModule","TuiFocusVisibleModule","TuiPressedModule","TuiHoveredModule","TuiFocusableModule","TuiDroppableModule","TuiWrapperModule","TuiSvgModule","TuiLinkModule","TuiLoaderModule","TuiButtonModule","TuiPreventDefaultModule","TuiGroupModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1G,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IAC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B;oBACrBC,oBAAgB;oBAChBC,oBAAgB;oBAChBC,sBAAkB;oBAClBC,sBAAkB;oBAClBC,uBAAgB;oBAChBC,mBAAY;oBACZC,oBAAa;oBACbC,sBAAe;oBACfC,sBAAe;oBACfC,2BAAuB;oBACvBC,qBAAc;iBACjB;gBACD,YAAY,EAAE,CAAC,mBAAmB,EAAE,qBAAqB,CAAC;gBAC1D,OAAO,EAAE,CAAC,qBAAqB,CAAC;aACnC,CAAC;WACW,kBAAkB,CAAG;QAAD,yBAAC;KAAlC;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/platform-browser"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/utils/files"),require("rxjs"),require("rxjs/operators"),require("@angular/forms"),require("@taiga-ui/core"),require("@angular/common"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-file",["exports","@angular/core","@angular/platform-browser","@taiga-ui/cdk","@taiga-ui/kit/tokens","@taiga-ui/kit/utils/files","rxjs","rxjs/operators","@angular/forms","@taiga-ui/core","@angular/common","@tinkoff/ng-polymorpheus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-file"]={}),e.ng.core,e.ng.platformBrowser,e.cdk,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.utils.files,e.rxjs,e.rxjs.operators,e.ng.forms,e.core$1,e.ng.common,e.ngPolymorpheus)}(this,(function(e,t,n,i,r,o,a,l,u,s,p,c){"use strict";var f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function d(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function g(e,t){return function(n,i){t(n,i,e)}}Object.create;function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}Object.create;var h=function(){function e(e,n,i,r){this.isMobile=e,this.sanitizer=n,this.fileTexts$=i,this.units$=r,this.file={name:""},this.state="normal",this.size="m",this.allowDelete=!0,this.showSize=!0,this.fileRemoved=new t.EventEmitter,this.focused=!1}return Object.defineProperty(e.prototype,"preview",{get:function(){return this.isBig?this.createPreview(this.file,this.sanitizer):""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isBig",{get:function(){return"l"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoading",{get:function(){return"loading"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isError",{get:function(){return"error"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDeleted",{get:function(){return"deleted"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){if("normal"===this.state&&this.isBig)return"tuiIconDefaultDocLarge";switch(this.state){case"deleted":return"tuiIconTrashLarge";case"error":return"tuiIconAlertCircleLarge";default:return"tuiIconCheckCircleLarge"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"src",{get:function(){return this.file.src||""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.file.name.split(".").slice(0,-1).join(".")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return"."+this.file.name.split(".").pop()||""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"content$",{get:function(){return this.calculateContent$(this.state,this.file,this.fileTexts$)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fileSize$",{get:function(){return this.calculateFileSize$(this.file,this.units$)},enumerable:!0,configurable:!0}),e.prototype.onRemoveClick=function(){this.fileRemoved.emit()},e.prototype.onFocusVisible=function(e){this.focused=e},e.prototype.calculateContent$=function(e,t,n){return"error"!==e||t.content?a.of(this.file.content||""):n.pipe(l.map((function(e){return e.loadingError})))},e.prototype.calculateFileSize$=function(e,t){return t.pipe(l.map((function(t){return o.formatSize(t,e.size)})))},e.prototype.createPreview=function(e,t){return e.src?e.src:e instanceof File&&e.type&&e.type.startsWith("image/")?t.bypassSecurityTrustUrl(URL.createObjectURL(e)):""},e.ctorParameters=function(){return[{type:Boolean,decorators:[{type:t.Inject,args:[i.TUI_IS_MOBILE]}]},{type:n.DomSanitizer,decorators:[{type:t.Inject,args:[n.DomSanitizer]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[r.TUI_FILE_TEXTS]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[r.TUI_DIGITAL_INFORMATION_UNITS]}]}]},d([t.Input(),i.tuiDefaultProp()],e.prototype,"file",void 0),d([t.Input(),i.tuiDefaultProp()],e.prototype,"state",void 0),d([t.Input(),i.tuiDefaultProp()],e.prototype,"size",void 0),d([t.Input(),i.tuiDefaultProp()],e.prototype,"allowDelete",void 0),d([t.Input(),i.tuiDefaultProp()],e.prototype,"showSize",void 0),d([t.Output()],e.prototype,"fileRemoved",void 0),d([t.HostBinding("class._focused")],e.prototype,"focused",void 0),d([t.HostBinding("class._link")],e.prototype,"src",null),d([i.tuiPure],e.prototype,"calculateContent$",null),d([i.tuiPure],e.prototype,"calculateFileSize$",null),d([i.tuiPure],e.prototype,"createPreview",null),e=d([t.Component({selector:"tui-file",changeDetection:t.ChangeDetectionStrategy.OnPush,template:'<ng-container *ngIf="!src; else withLink">\n <ng-container [ngTemplateOutlet]="fileInfoTemplate"></ng-container>\n</ng-container>\n\n<ng-template #withLink>\n <a\n rel="noreferrer noopener"\n target="_blank"\n class="t-link"\n [href]="src"\n (tuiFocusVisibleChange)="onFocusVisible($event)"\n >\n <ng-container [ngTemplateOutlet]="fileInfoTemplate"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #fileInfoTemplate>\n <div\n class="t-preview"\n [class.t-preview_big]="isBig"\n >\n <img\n *ngIf="preview && (fileTexts$ | async) as texts; else loader"\n automation-id="tui-file__preview"\n class="t-image"\n [alt]="texts.preview"\n [src]="preview"\n />\n <ng-template #loader>\n <tui-loader\n *ngIf="isLoading; else svg"\n automation-id="tui-file__loader"\n class="t-loader"\n [inheritColor]="isBig"\n ></tui-loader>\n </ng-template>\n <ng-template #svg>\n <tui-svg\n automation-id="tui-file__icon"\n class="t-icon"\n [class.t-icon_deleted]="isDeleted"\n [class.t-icon_error]="isError"\n [src]="icon"\n ></tui-svg>\n </ng-template>\n </div>\n <div class="t-wrapper">\n <div class="t-text">\n <div\n automation-id="tui-file__name"\n class="t-name"\n >\n {{ name }}\n </div>\n <div\n automation-id="tui-file__type"\n class="t-type"\n >\n {{ type }}\n </div>\n <div\n *ngIf="showSize && (fileSize$ | async) as fileSize"\n automation-id="tui-file__size"\n class="t-size"\n >\n {{ fileSize }}\n </div>\n </div>\n <div\n *ngIf="content$ | async as content"\n polymorpheus-outlet\n automation-id="tui-file__content"\n class="t-content"\n [content]="content"\n ></div>\n </div>\n <ng-container *ngIf="allowDelete">\n <button\n *ngIf="fileTexts$ | async as texts"\n automation-id="tui-file__remove"\n tuiIconButton\n type="button"\n size="xs"\n icon="tuiIconCloseLarge"\n appearance="icon"\n class="t-remove"\n [title]="texts.remove"\n [class.t-remove_mobile]="isMobile"\n (click.prevent)="onRemoveClick()"\n ></button>\n </ng-container>\n</ng-template>\n',styles:[":host{position:relative;display:flex;font:var(--tui-font-text-m);border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m)}:host[data-mode=onDark]{color:var(--tui-text-01-night)}:host:not(._link){padding:.5625rem 2.1875rem .5625rem .5625rem}:host:hover .t-remove{opacity:1}:host._focused{border-color:var(--tui-focus);box-shadow:0 0 0 1px inset var(--tui-focus)}.t-link{display:flex;flex:1;padding:.5625rem 2.1875rem .5625rem .5625rem;text-decoration:none;outline:0;cursor:pointer;color:var(--tui-text-01);max-width:calc(100% - 2.75rem)}.t-link:hover{background-color:var(--tui-base-02)}.t-preview{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.5rem;height:1.5rem;margin-right:.75rem;border-radius:var(--tui-radius-m);overflow:hidden;color:rgba(0,0,0,.24)}.t-preview_big{width:4rem;height:4rem;margin-right:1rem}.t-preview_big:before{position:absolute;top:0;left:0;width:100%;height:100%;content:'';background:#333;opacity:.08}.t-image{max-width:100%;max-height:100%}.t-loader{position:absolute;top:0;left:0;width:100%;height:100%}.t-icon{position:absolute;top:0;left:0;width:100%;height:100%;color:var(--tui-success-fill)}.t-icon_error{color:var(--tui-error-fill)}.t-icon_deleted{color:var(--tui-base-06)}.t-remove{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem;opacity:0}.t-remove:focus,.t-remove_mobile{opacity:1}.t-wrapper{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.t-text{display:flex}.t-size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-left:.5rem}.t-type{flex-shrink:0}.t-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-content{font:var(--tui-font-text-s);color:var(--tui-error-fill)}"]}),g(0,t.Inject(i.TUI_IS_MOBILE)),g(1,t.Inject(n.DomSanitizer)),g(2,t.Inject(r.TUI_FILE_TEXTS)),g(3,t.Inject(r.TUI_DIGITAL_INFORMATION_UNITS))],e)}(),b=function(e){function n(n,i,r,o,a,l){var u=e.call(this,n,i)||this;return u.isMobile=r,u.inputFileTexts$=o,u.mode$=a,u.units$=l,u.dataTransfer=null,u.link="",u.label="",u.accept="",u.multiple=!1,u.size="m",u.showSize=!0,u.maxFileSize=3e7,u.loadingFiles=[],u.rejectedFiles=[],u.rejectedFilesChange=new t.EventEmitter,u}var p;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),p=n,Object.defineProperty(n.prototype,"nativeFocusableElement",{get:function(){return this.input?this.input.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return i.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"computedLink$",{get:function(){return this.computeLink$(this.fileDragged,this.multiple,this.link)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"computedLabel$",{get:function(){return this.computeLabel$(this.isMobile,this.fileDragged,this.multiple,this.label)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"fileDragged",{get:function(){return!!this.dataTransfer&&-1!==Array.prototype.indexOf.call(this.dataTransfer.types,"Files")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"acceptArray",{get:function(){return this.getAcceptArray(this.accept)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"arrayValue",{get:function(){return this.getValueArray(this.value)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyFiles",{get:function(){return this.getReadyFiles(this.arrayValue,this.loadingFiles)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"computedLoading",{get:function(){return this.getLoadingFiles(this.arrayValue,this.loadingFiles)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasFiles",{get:function(){return!!this.rejectedFiles.length||!!this.arrayValue.length},enumerable:!0,configurable:!0}),n.prototype.onHovered=function(e){this.updateHovered(e)},n.prototype.onFocused=function(e){this.updateFocused(e)},n.prototype.onPressed=function(e){this.updatePressed(e)},n.prototype.onFilesSelected=function(e,t,n){this.processSelectedFiles(e.files,t,n),e.value=""},n.prototype.onDropped=function(e,t,n){this.processSelectedFiles(e.files,t,n)},n.prototype.onDragOver=function(e){this.dataTransfer=e},n.prototype.removeFile=function(e){this.updateValue(this.multiple?this.arrayValue.filter((function(t){return t!==e})):null)},n.prototype.removeRejectedFile=function(e){this.updateRejectedFiles(this.rejectedFiles.filter((function(t){return t!==e})))},n.prototype.getAppearance=function(e){return null===e?"":"outline"},n.prototype.computeLink$=function(e,t,n){return e?a.of(""):this.inputFileTexts$.pipe(l.map((function(e){return t&&""===n?e.defaultLinkMultiple:n||e.defaultLinkSingle})))},n.prototype.computeLabel$=function(e,t,n,i){return e?a.of(""):t?this.inputFileTexts$.pipe(l.map((function(e){return n?e.dropMultiple:e.drop}))):this.inputFileTexts$.pipe(l.map((function(e){return n&&""===i?e.defaultLabelMultiple:i||e.defaultLabelSingle})))},n.prototype.getValueArray=function(e){return e?e instanceof Array?e:[e]:i.EMPTY_ARRAY},n.prototype.getReadyFiles=function(e,t){return e.filter((function(e){return!t.includes(e)}))},n.prototype.getLoadingFiles=function(e,t){return t.filter((function(t){return e.includes(t)}))},n.prototype.getAcceptArray=function(e){return e.toLowerCase().split(",").map((function(e){return e.trim()}))},n.prototype.processSelectedFiles=function(e,t,n){var i=this;if(null!==e&&0!==e.length){var r=this.multiple?Array.from(e):[e[0]],a=r.filter((function(e){return e.size>i.maxFileSize})),l=r.filter((function(e){return!i.isFormatAcceptable(e)&&!a.includes(e)})),u=r.filter((function(e){return!a.includes(e)&&!l.includes(e)}));this.updateRejectedFiles(y(a.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.maxSizeRejectionReason+o.formatSize(n,i.maxFileSize)}})),l.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.formatRejectionReason}})))),this.updateValue(this.multiple?y(this.arrayValue,u):u[0]||null)}},n.prototype.isFormatAcceptable=function(e){if(!this.accept)return!0;var t="."+(e.name.split(".").pop()||"").toLowerCase();return this.acceptArray.some((function(n){return n===t||n===e.type||"*"===n.split("/")[1]&&e.type.split("/")[0]===n.split("/")[0]}))},n.prototype.updateRejectedFiles=function(e){this.rejectedFiles=e,this.rejectedFilesChange.emit(e)},n.ctorParameters=function(){return[{type:u.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[u.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:Boolean,decorators:[{type:t.Inject,args:[i.TUI_IS_MOBILE]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[r.TUI_INPUT_FILE_TEXTS]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[s.TUI_MODE]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[r.TUI_DIGITAL_INFORMATION_UNITS]}]}]},d([t.Input(),i.tuiDefaultProp()],n.prototype,"link",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"label",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"accept",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"multiple",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"size",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"showSize",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"maxFileSize",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"loadingFiles",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"rejectedFiles",void 0),d([t.Output()],n.prototype,"rejectedFilesChange",void 0),d([t.ViewChild("input")],n.prototype,"input",void 0),d([i.tuiPure],n.prototype,"computeLink$",null),d([i.tuiPure],n.prototype,"computeLabel$",null),d([i.tuiPure],n.prototype,"getValueArray",null),d([i.tuiPure],n.prototype,"getReadyFiles",null),d([i.tuiPure],n.prototype,"getLoadingFiles",null),d([i.tuiPure],n.prototype,"getAcceptArray",null),n=p=d([t.Component({selector:"tui-input-file",template:'<tui-wrapper\n *ngIf="multiple || !value"\n class="t-wrapper"\n [class.t-wrapper_mobile]="isMobile"\n [class.t-wrapper_has-files]="hasFiles"\n [appearance]="getAppearance(mode$ | async)"\n [focused]="computedFocused"\n [hovered]="computedHovered || fileDragged"\n [pressed]="computedPressed"\n [readOnly]="readOnly"\n [disabled]="computedDisabled"\n>\n <label\n *ngIf="units$ | async as units"\n automation-id="tui-input-file__label"\n >\n <a tuiLink>\n <span\n polymorpheus-outlet\n class="t-inline"\n [content]="computedLink$ | async"\n ></span>\n </a>\n <ng-container *ngIf="computedLabel$ | async as computedLabel">\n <span> </span>\n <span\n polymorpheus-outlet\n class="t-inline"\n [content]="computedLabel"\n ></span>\n </ng-container>\n <ng-container *ngIf="!readOnly && !computedDisabled">\n <input\n *ngIf="inputFileTexts$ | async as texts"\n #input\n type="file"\n tuiPreventDefault="mousedown"\n class="t-native"\n [id]="id"\n [accept]="accept"\n [multiple]="multiple"\n [tuiFocusable]="focusable"\n (change)="onFilesSelected(input, texts, units)"\n (tuiHoveredChange)="onHovered($event)"\n (tuiFocusedChange)="onFocused($event)"\n (tuiPressedChange)="onPressed($event)"\n (tuiDroppableDropped)="onDropped($event, texts, units)"\n (tuiDroppableDragOverChange)="onDragOver($event)"\n />\n </ng-container>\n </label>\n</tui-wrapper>\n\n<section\n *tuiLet="mode$ | async as mode"\n tuiGroup\n orientation="vertical"\n class="t-files"\n [collapsed]="true"\n>\n <tui-file\n *ngFor="let file of rejectedFiles"\n automation-id="tui-input-file__error"\n state="error"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="interactive"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeRejectedFile(file)"\n ></tui-file>\n <tui-file\n *ngFor="let file of computedLoading"\n automation-id="tui-input-file__loading"\n state="loading"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="interactive"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeFile(file)"\n ></tui-file>\n <tui-file\n *ngFor="let file of readyFiles"\n automation-id="tui-input-file__file"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="interactive"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeFile(file)"\n ></tui-file>\n</section>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[s.MODE_PROVIDER,{provide:i.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return p}))}],styles:[":host{display:block;font:var(--tui-font-text-m);word-wrap:break-word;color:var(--tui-text-02)}.t-native{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native::-webkit-file-upload-button{display:none}.t-inline{display:inline}.t-wrapper{display:flex;flex:1;justify-content:center;align-items:center;min-height:var(--tui-height-l);border-radius:var(--tui-radius-m);padding:1rem .5rem;box-sizing:border-box}.t-wrapper:after{border:1px dashed;color:var(--tui-link)}.t-wrapper_mobile:after{border-style:solid}.t-wrapper_has-files{margin-bottom:.5rem}.t-wrapper[data-state=hovered]{background:var(--tui-secondary)}.t-wrapper[data-state=hovered]:after{color:var(--tui-link-hover)}.t-wrapper[data-state=pressed]{background:var(--tui-secondary-hover)}.t-wrapper[data-state=readonly]{pointer-events:none}.t-wrapper[data-state=readonly]:after{color:var(--tui-text-03)}.t-wrapper[data-state=disabled]{opacity:var(--tui-disabled-opacity);pointer-events:none}.t-wrapper[data-state=disabled]:after{color:var(--tui-text-03)}.t-wrapper._focused:after{border-style:solid;border-width:2px;color:var(--tui-focus)}.t-files{display:flex}"]}),g(0,t.Optional()),g(0,t.Self()),g(0,t.Inject(u.NgControl)),g(1,t.Inject(t.ChangeDetectorRef)),g(2,t.Inject(i.TUI_IS_MOBILE)),g(3,t.Inject(r.TUI_INPUT_FILE_TEXTS)),g(4,t.Inject(s.TUI_MODE)),g(5,t.Inject(r.TUI_DIGITAL_INFORMATION_UNITS))],n)}(i.AbstractTuiNullableControl),v=function(){function e(){}return e=d([t.NgModule({imports:[p.CommonModule,c.PolymorpheusModule,i.TuiLetModule,i.TuiFocusedModule,i.TuiFocusVisibleModule,i.TuiPressedModule,i.TuiHoveredModule,i.TuiFocusableModule,i.TuiDroppableModule,s.TuiWrapperModule,s.TuiSvgModule,s.TuiLinkModule,s.TuiLoaderModule,s.TuiButtonModule,i.TuiPreventDefaultModule,s.TuiGroupModule],declarations:[h,b],exports:[b]})],e)}();e.TuiFileOldComponent=h,e.TuiInputFileComponent=b,e.TuiInputFileModule=v,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
|
-
//# sourceMappingURL=taiga-ui-kit-components-input-file.umd.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-file/file/file.component.ts","ng://@taiga-ui/kit/components/input-file/input-file.component.ts","ng://@taiga-ui/kit/components/input-file/input-file.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","__read","o","n","m","Symbol","iterator","e","ar","next","done","push","value","error","__spread","concat","TuiFileOldComponent","isMobile","sanitizer","fileTexts$","units$","this","file","name","state","size","allowDelete","showSize","fileRemoved","EventEmitter","focused","isBig","createPreview","src","split","slice","join","pop","calculateContent$","calculateFileSize$","onRemoveClick","emit","onFocusVisible","focusVisible","content","of","pipe","map","texts","loadingError","units","formatSize","File","type","startsWith","bypassSecurityTrustUrl","URL","createObjectURL","Inject","args","TUI_IS_MOBILE","DomSanitizer","Observable","TUI_FILE_TEXTS","TUI_DIGITAL_INFORMATION_UNITS","Input","tuiDefaultProp","Output","HostBinding","tuiPure","Component","selector","changeDetection","ChangeDetectionStrategy","OnPush","template","TuiInputFileComponent","control","changeDetectorRef","inputFileTexts$","mode$","_this","_super","dataTransfer","link","label","accept","multiple","maxFileSize","loadingFiles","rejectedFiles","rejectedFilesChange","TypeError","String","__","constructor","__extends","input","nativeElement","isNativeFocused","nativeFocusableElement","computeLink$","fileDragged","computeLabel$","indexOf","types","getAcceptArray","getValueArray","getReadyFiles","arrayValue","getLoadingFiles","onHovered","hovered","updateHovered","onFocused","updateFocused","onPressed","pressed","updatePressed","onFilesSelected","processSelectedFiles","files","onDropped","event","onDragOver","removeFile","removedFile","updateValue","filter","removeRejectedFile","updateRejectedFiles","getAppearance","mode","defaultLinkMultiple","defaultLinkSingle","dropMultiple","drop","defaultLabelMultiple","defaultLabelSingle","EMPTY_ARRAY","loading","includes","toLowerCase","format","trim","newFiles","from","tooBigFiles","wrongFormatFiles","isFormatAcceptable","acceptedFiles","maxSizeRejectionReason","formatRejectionReason","extension","acceptArray","some","NgControl","Optional","Self","ChangeDetectorRef","TUI_INPUT_FILE_TEXTS","TUI_MODE","ViewChild","TuiInputFileComponent_1","providers","MODE_PROVIDER","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiNullableControl","TuiInputFileModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiLetModule","TuiFocusedModule","TuiFocusVisibleModule","TuiPressedModule","TuiHoveredModule","TuiFocusableModule","TuiDroppableModule","TuiWrapperModule","TuiSvgModule","TuiLinkModule","TuiLoaderModule","TuiButtonModule","TuiPreventDefaultModule","TuiGroupModule","declarations","exports"],"mappings":"8lCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,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,OAAOsG,EAAAA,uBAcPnK,EAAA,EAAA6D,EAAAA,OAAOuG,EAAAA,WACPpK,EAAA,EAAA6D,EAAAA,OAAOM,EAAAA,iCAxEHY,IACD8F,EAAAA,yCCVZ,SAAAC,KAAiC,OAApBA,EAAkB5L,EAAA,CAtB9B6L,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,mBACAC,EAAAA,aACAC,EAAAA,iBACAC,EAAAA,sBACAC,EAAAA,iBACAC,EAAAA,iBACAC,EAAAA,mBACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,aACAC,EAAAA,cACAC,EAAAA,gBACAC,EAAAA,gBACAC,EAAAA,wBACAC,EAAAA,gBAEJC,aAAc,CAAC9K,EAAqB4D,GACpCmH,QAAS,CAACnH,MAED+F","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {DomSanitizer, SafeValue} from '@angular/platform-browser';\nimport {TUI_IS_MOBILE, tuiDefaultProp, tuiPure} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\nimport {TuiFileState, TuiFileStateT} from '@taiga-ui/kit/enums';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n// @dynamic\n@Component({\n selector: `tui-file`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: `./file.template.html`,\n styleUrls: [`./file.style.less`],\n})\nexport class TuiFileOldComponent {\n @Input()\n @tuiDefaultProp()\n file: TuiFileLike = {name: ``};\n\n @Input()\n @tuiDefaultProp()\n state: TuiFileStateT | TuiFileState = TuiFileState.Normal;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = `m`;\n\n @Input()\n @tuiDefaultProp()\n allowDelete = true;\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Output()\n readonly fileRemoved = new EventEmitter<void>();\n\n @HostBinding(`class._focused`)\n focused = false;\n\n constructor(\n @Inject(TUI_IS_MOBILE) readonly isMobile: boolean,\n @Inject(DomSanitizer) private readonly sanitizer: DomSanitizer,\n @Inject(TUI_FILE_TEXTS)\n readonly fileTexts$: Observable<\n Record<'loadingError' | 'preview' | 'remove', string>\n >,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n private readonly units$: Observable<[string, string, string]>,\n ) {}\n\n get preview(): SafeValue {\n return this.isBig ? this.createPreview(this.file, this.sanitizer) : ``;\n }\n\n get isBig(): boolean {\n return this.size === `l`;\n }\n\n get isLoading(): boolean {\n return this.state === TuiFileState.Loading;\n }\n\n get isError(): boolean {\n return this.state === TuiFileState.Error;\n }\n\n get isDeleted(): boolean {\n return this.state === TuiFileState.Deleted;\n }\n\n get icon(): string {\n if (this.state === TuiFileState.Normal && this.isBig) {\n return `tuiIconDefaultDocLarge`;\n }\n\n switch (this.state) {\n case TuiFileState.Deleted:\n return `tuiIconTrashLarge`;\n case TuiFileState.Error:\n return `tuiIconAlertCircleLarge`;\n default:\n return `tuiIconCheckCircleLarge`;\n }\n }\n\n @HostBinding(`class._link`)\n get src(): string {\n return this.file.src || ``;\n }\n\n get name(): string {\n return this.file.name.split(`.`).slice(0, -1).join(`.`);\n }\n\n get type(): string {\n return `.${this.file.name.split(`.`).pop()}` || ``;\n }\n\n get content$(): Observable<PolymorpheusContent> {\n return this.calculateContent$(this.state, this.file, this.fileTexts$);\n }\n\n get fileSize$(): Observable<string | null> {\n return this.calculateFileSize$(this.file, this.units$);\n }\n\n onRemoveClick(): void {\n this.fileRemoved.emit();\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.focused = focusVisible;\n }\n\n @tuiPure\n private calculateContent$(\n state: keyof Record<TuiFileState, string> | string | TuiFileState,\n file: TuiFileLike,\n fileTexts$: Observable<Record<'loadingError' | 'preview' | 'remove', string>>,\n ): Observable<PolymorpheusContent> {\n return state === TuiFileState.Error && !file.content\n ? fileTexts$.pipe(map(texts => texts.loadingError))\n : of(this.file.content || ``);\n }\n\n @tuiPure\n private calculateFileSize$(\n file: TuiFileLike,\n units$: Observable<[string, string, string]>,\n ): Observable<string | null> {\n return units$.pipe(map(units => formatSize(units, file.size)));\n }\n\n @tuiPure\n private createPreview(file: TuiFileLike, sanitizer: DomSanitizer): SafeValue {\n if (file.src) {\n return file.src;\n }\n\n // TODO: iframe warning\n if (file instanceof File && file.type && file.type.startsWith(`image/`)) {\n return sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(file));\n }\n\n return ``;\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n EMPTY_ARRAY,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TuiAppearance,\n TuiBrightness,\n TuiSizeL,\n} from '@taiga-ui/core';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_INPUT_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nconst DEFAULT_MAX_SIZE = 30 * 1000 * 1000; // 30 MB\n\n// @dynamic\n@Component({\n selector: `tui-input-file`,\n templateUrl: `./input-file.template.html`,\n styleUrls: [`./input-file.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n MODE_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputFileComponent),\n },\n ],\n})\nexport class TuiInputFileComponent\n extends AbstractTuiNullableControl<TuiFileLike | readonly TuiFileLike[]>\n implements TuiFocusableElementAccessor\n{\n private dataTransfer: DataTransfer | null = null;\n\n @Input()\n @tuiDefaultProp()\n link: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n label: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n accept = ``;\n\n @Input()\n @tuiDefaultProp()\n multiple = false;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = `m`;\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Input()\n @tuiDefaultProp()\n maxFileSize = DEFAULT_MAX_SIZE;\n\n @Input()\n @tuiDefaultProp()\n loadingFiles: readonly TuiFileLike[] = [];\n\n @Input()\n @tuiDefaultProp()\n rejectedFiles: readonly TuiFileLike[] = [];\n\n @Output()\n rejectedFilesChange = new EventEmitter<readonly TuiFileLike[]>();\n\n @ViewChild(`input`)\n readonly input?: ElementRef<HTMLInputElement>;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_IS_MOBILE)\n readonly isMobile: boolean,\n @Inject(TUI_INPUT_FILE_TEXTS)\n readonly inputFileTexts$: Observable<\n Record<\n | 'defaultLabelSingle'\n | 'defaultLabelMultiple'\n | 'defaultLinkSingle'\n | 'defaultLinkMultiple'\n | 'maxSizeRejectionReason'\n | 'formatRejectionReason'\n | 'drop'\n | 'dropMultiple',\n string\n >\n >,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n readonly units$: Observable<[string, string, string]>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.input ? this.input.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get computedLink$(): Observable<PolymorpheusContent> {\n return this.computeLink$(this.fileDragged, this.multiple, this.link);\n }\n\n get computedLabel$(): Observable<PolymorpheusContent> {\n return this.computeLabel$(\n this.isMobile,\n this.fileDragged,\n this.multiple,\n this.label,\n );\n }\n\n // @bad TODO: 3.0 refactor after IE is dropped\n get fileDragged(): boolean {\n return (\n !!this.dataTransfer &&\n Array.prototype.indexOf.call(this.dataTransfer.types, `Files`) !== -1\n );\n }\n\n get acceptArray(): readonly string[] {\n return this.getAcceptArray(this.accept);\n }\n\n get arrayValue(): readonly TuiFileLike[] {\n return this.getValueArray(this.value);\n }\n\n get readyFiles(): readonly TuiFileLike[] {\n return this.getReadyFiles(this.arrayValue, this.loadingFiles);\n }\n\n get computedLoading(): readonly TuiFileLike[] {\n return this.getLoadingFiles(this.arrayValue, this.loadingFiles);\n }\n\n get hasFiles(): boolean {\n return !!this.rejectedFiles.length || !!this.arrayValue.length;\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n // TODO: refactor i18n messages\n onFilesSelected(\n input: HTMLInputElement,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n this.processSelectedFiles(input.files, texts, units);\n input.value = ``;\n }\n\n onDropped(\n event: DataTransfer,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n this.processSelectedFiles(event.files, texts, units);\n }\n\n onDragOver(dataTransfer: DataTransfer | null): void {\n this.dataTransfer = dataTransfer;\n }\n\n removeFile(removedFile: TuiFileLike): void {\n this.updateValue(\n this.multiple ? this.arrayValue.filter(file => file !== removedFile) : null,\n );\n }\n\n removeRejectedFile(removedFile: TuiFileLike): void {\n this.updateRejectedFiles(this.rejectedFiles.filter(file => file !== removedFile));\n }\n\n getAppearance(mode: null | unknown): string {\n return mode === null ? `` : TuiAppearance.Outline;\n }\n\n @tuiPure\n private computeLink$(\n fileDragged: boolean,\n multiple: boolean,\n link: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (fileDragged) {\n return of(``);\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && link === ``\n ? texts.defaultLinkMultiple\n : link || texts.defaultLinkSingle,\n ),\n );\n }\n\n @tuiPure\n private computeLabel$(\n isMobile: boolean,\n fileDragged: boolean,\n multiple: boolean,\n label: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (isMobile) {\n return of(``);\n }\n\n if (fileDragged) {\n return this.inputFileTexts$.pipe(\n map(texts => (multiple ? texts.dropMultiple : texts.drop)),\n );\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && label === ``\n ? texts.defaultLabelMultiple\n : label || texts.defaultLabelSingle,\n ),\n );\n }\n\n @tuiPure\n private getValueArray(\n value: TuiFileLike | readonly TuiFileLike[] | null,\n ): readonly TuiFileLike[] {\n if (!value) {\n return EMPTY_ARRAY;\n }\n\n return value instanceof Array ? value : [value];\n }\n\n @tuiPure\n private getReadyFiles(\n value: readonly TuiFileLike[],\n loading: readonly TuiFileLike[],\n ): readonly TuiFileLike[] {\n return value.filter(file => !loading.includes(file));\n }\n\n @tuiPure\n private getLoadingFiles(\n value: readonly TuiFileLike[],\n loading: readonly TuiFileLike[],\n ): readonly TuiFileLike[] {\n return loading.filter(file => value.includes(file));\n }\n\n @tuiPure\n private getAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(`,`)\n .map(format => format.trim());\n }\n\n private processSelectedFiles(\n files: FileList | null,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n // IE11 after selecting a file through the open dialog generates a second event passing an empty FileList.\n if (files === null || files.length === 0) {\n return;\n }\n\n const newFiles = this.multiple ? Array.from(files) : [files[0]];\n const tooBigFiles = newFiles.filter(file => file.size > this.maxFileSize);\n const wrongFormatFiles = newFiles.filter(\n file => !this.isFormatAcceptable(file) && !tooBigFiles.includes(file),\n );\n const acceptedFiles = newFiles.filter(\n file => !tooBigFiles.includes(file) && !wrongFormatFiles.includes(file),\n );\n\n this.updateRejectedFiles([\n ...tooBigFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content:\n texts.maxSizeRejectionReason + formatSize(units, this.maxFileSize),\n })),\n ...wrongFormatFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content: texts.formatRejectionReason,\n })),\n ]);\n this.updateValue(\n this.multiple\n ? [...this.arrayValue, ...acceptedFiles]\n : acceptedFiles[0] || null,\n );\n }\n\n private isFormatAcceptable(file: File): boolean {\n if (!this.accept) {\n return true;\n }\n\n const extension = `.${(file.name.split(`.`).pop() || ``).toLowerCase()}`;\n\n return this.acceptArray.some(\n format =>\n format === extension ||\n format === file.type ||\n (format.split(`/`)[1] === `*` &&\n file.type.split(`/`)[0] === format.split(`/`)[0]),\n );\n }\n\n private updateRejectedFiles(rejectedFiles: readonly TuiFileLike[]): void {\n this.rejectedFiles = rejectedFiles;\n this.rejectedFilesChange.emit(rejectedFiles);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiDroppableModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiHoveredModule,\n TuiLetModule,\n TuiPressedModule,\n TuiPreventDefaultModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiButtonModule,\n TuiGroupModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiSvgModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiFileOldComponent} from './file/file.component';\nimport {TuiInputFileComponent} from './input-file.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiLetModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiPressedModule,\n TuiHoveredModule,\n TuiFocusableModule,\n TuiDroppableModule,\n TuiWrapperModule,\n TuiSvgModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiButtonModule,\n TuiPreventDefaultModule,\n TuiGroupModule,\n ],\n declarations: [TuiFileOldComponent, TuiInputFileComponent],\n exports: [TuiInputFileComponent],\n})\nexport class TuiInputFileModule {}\n"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/utils/files"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/kit/components/files"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-files",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/tokens","@taiga-ui/kit/utils/files","rxjs","rxjs/operators","@angular/common","@taiga-ui/kit/components/files","@tinkoff/ng-polymorpheus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-files"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.utils.files,e.rxjs,e.rxjs.operators,e.ng.common,e["taiga-ui"].kit.components.files,e.ngPolymorpheus)}(this,(function(e,t,i,a,n,r,o,u,p,l,s,c){"use strict";var d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)};function f(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}function g(e,t){return function(i,a){t(i,a,e)}}Object.create;function m(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var a,n,r=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return o}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}Object.create;var v=function(e){function l(i,a,n,r,o){var u=e.call(this,i,a)||this;return u.isMobile=n,u.inputFileTexts$=r,u.units$=o,u.dataTransfer=null,u.link="",u.label="",u.accept="",u.multiple=!1,u.size="m",u.maxFileSize=3e7,u.reject=new t.EventEmitter,u}var s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(l,e),s=l,Object.defineProperty(l.prototype,"nativeFocusableElement",{get:function(){var e;return(null===(e=this.input)||void 0===e?void 0:e.nativeElement)||null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"focused",{get:function(){return a.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"computedPseudoHovered",{get:function(){var e;return null!==(e=this.pseudoHovered)&&void 0!==e?e:this.fileDragged||null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"computedLink$",{get:function(){return this.computeLink$(this.fileDragged,this.multiple,this.link)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"computedLabel$",{get:function(){return this.computeLabel$(this.isMobile,this.fileDragged,this.multiple,this.label)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fileDragged",{get:function(){var e;return!!(null===(e=this.dataTransfer)||void 0===e?void 0:e.types.includes("Files"))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"arrayValue",{get:function(){return this.getValueArray(this.value)},enumerable:!0,configurable:!0}),l.prototype.onHovered=function(e){this.updateHovered(e)},l.prototype.onFocused=function(e){this.updateFocused(e)},l.prototype.onPressed=function(e){this.updatePressed(e)},l.prototype.onFilesSelected=function(e,t,i){this.processSelectedFiles(e.files,t,i),e.value=""},l.prototype.onDropped=function(e,t,i){this.processSelectedFiles(e.files,t,i)},l.prototype.onDragOver=function(e){this.dataTransfer=e},l.prototype.removeFile=function(e){this.updateValue(this.multiple?this.arrayValue.filter((function(t){return t!==e})):null)},l.prototype.computeLink$=function(e,t,i){return e?u.of(""):this.inputFileTexts$.pipe(p.map((function(e){return t&&""===i?e.defaultLinkMultiple:i||e.defaultLinkSingle})))},l.prototype.computeLabel$=function(e,t,i,a){return e?u.of(""):t?this.inputFileTexts$.pipe(p.map((function(e){return i?e.dropMultiple:e.drop}))):this.inputFileTexts$.pipe(p.map((function(e){return i&&""===a?e.defaultLabelMultiple:a||e.defaultLabelSingle})))},l.prototype.getValueArray=function(e){return e?Array.isArray(e)?e:[e]:a.EMPTY_ARRAY},l.prototype.processSelectedFiles=function(e,t,i){var a=this;if(null==e?void 0:e.length){var n=this.multiple?Array.from(e):[e[0]],r=n.filter((function(e){return e.size>a.maxFileSize})),u=n.filter((function(e){return!a.isFormatAcceptable(e)&&!r.includes(e)})),p=n.filter((function(e){return!r.includes(e)&&!u.includes(e)}));(r.length||u.length)&&this.rejectFiles(y(r.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.maxSizeRejectionReason+o.formatSize(i,a.maxFileSize)}})),u.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.formatRejectionReason}})))),this.updateValue(this.multiple?y(this.arrayValue,p):p[0]||null)}},l.prototype.isFormatAcceptable=function(e){if(!this.accept)return!0;var t="."+(e.name.split(".").pop()||"").toLowerCase();return o.getAcceptArray(this.accept).some((function(i){return i===t||i===e.type||"*"===i.split("/")[1]&&e.type.split("/")[0]===i.split("/")[0]}))},l.prototype.rejectFiles=function(e){this.reject.emit(this.multiple?e:e[0])},l.ctorParameters=function(){return[{type:i.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[i.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:Boolean,decorators:[{type:t.Inject,args:[a.TUI_IS_MOBILE]}]},{type:u.Observable,decorators:[{type:t.Inject,args:[r.TUI_INPUT_FILE_TEXTS]}]},{type:u.Observable,decorators:[{type:t.Inject,args:[r.TUI_DIGITAL_INFORMATION_UNITS]}]}]},f([t.ViewChild("input")],l.prototype,"input",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"link",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"label",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"accept",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"multiple",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"size",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"maxFileSize",void 0),f([t.Output()],l.prototype,"reject",void 0),f([a.tuiPure],l.prototype,"computeLink$",null),f([a.tuiPure],l.prototype,"computeLabel$",null),f([a.tuiPure],l.prototype,"getValueArray",null),l=s=f([t.Component({selector:"tui-input-files",template:'<tui-wrapper\n appearance="input-file"\n class="t-wrapper"\n [class._mobile]="isMobile"\n [focused]="computedFocused"\n [hovered]="computedHovered || fileDragged"\n [pressed]="computedPressed"\n [disabled]="computedDisabled"\n>\n <label\n *ngIf="units$ | async as units"\n automation-id="tui-input-file__label"\n >\n <a tuiLink>\n <span\n polymorpheus-outlet\n class="t-inline"\n [content]="computedLink$ | async"\n ></span>\n </a>\n <ng-container *ngIf="computedLabel$ | async as computedLabel">\n <span> </span>\n <span\n polymorpheus-outlet\n class="t-inline"\n [content]="computedLabel"\n ></span>\n </ng-container>\n <ng-container *ngIf="!readOnly && !computedDisabled">\n <input\n *ngIf="inputFileTexts$ | async as texts"\n #input\n type="file"\n class="t-native"\n [id]="id"\n [accept]="accept"\n [multiple]="multiple"\n [tuiFocusable]="focusable"\n (change)="onFilesSelected(input, texts, units)"\n (tuiHoveredChange)="onHovered($event)"\n (tuiFocusedChange)="onFocused($event)"\n (tuiPressedChange)="onPressed($event)"\n (tuiDroppableDropped)="onDropped($event, texts, units)"\n (tuiDroppableDragOverChange)="onDragOver($event)"\n (mousedown.prevent.silent)="(0)"\n />\n </ng-container>\n </label>\n</tui-wrapper>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,providers:[n.MODE_PROVIDER,{provide:a.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return s}))}],styles:["tui-input-files{display:block}tui-input-files .t-native{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}tui-input-files .t-native::-webkit-file-upload-button{display:none}tui-input-files .t-inline{display:inline}tui-wrapper[data-appearance=input-file]{display:flex;background:0 0;font:var(--tui-font-text-m);word-wrap:break-word;color:var(--tui-text-02);flex:1;justify-content:center;align-items:center;min-height:var(--tui-height-l);border-radius:var(--tui-radius-m);padding:1rem .5rem;box-sizing:border-box}tui-wrapper[data-appearance=input-file]:after{border:1px dashed;color:var(--tui-link)}tui-wrapper[data-appearance=input-file]._mobile:after{border:1px solid}tui-wrapper[data-appearance=input-file][data-state=hovered]{background:var(--tui-secondary)}tui-wrapper[data-appearance=input-file][data-state=hovered]:after{color:var(--tui-link-hover)}tui-wrapper[data-appearance=input-file][data-state=pressed]{background:var(--tui-secondary-hover)}tui-wrapper[data-appearance=input-file][data-state=disabled]{opacity:var(--tui-disabled-opacity);pointer-events:none}tui-wrapper[data-appearance=input-file][data-state=disabled]:after{color:var(--tui-text-03)}tui-wrapper[data-appearance=input-file]._focused:after{border-style:solid;border-width:2px;color:var(--tui-focus)}tui-wrapper[data-appearance=input-file][data-mode=onDark],tui-wrapper[data-appearance=input-file][data-mode=onDark]._focused:after,tui-wrapper[data-appearance=input-file][data-mode=onDark]:after{color:var(--tui-text-01-night)}tui-wrapper[data-appearance=input-file][data-mode=onDark][data-state=hovered]{background:var(--tui-clear-inverse-hover)}tui-wrapper[data-appearance=input-file][data-mode=onDark][data-state=hovered]:after,tui-wrapper[data-appearance=input-file][data-mode=onDark][data-state=pressed]:after{color:var(--tui-text-03-night)}tui-wrapper[data-appearance=input-file][data-mode=onDark][data-state=pressed]{background:var(--tui-clear-inverse-active)}tui-wrapper[data-appearance=input-file][data-mode=onLight],tui-wrapper[data-appearance=input-file][data-mode=onLight]:after{color:var(--tui-text-01)}tui-wrapper[data-appearance=input-file][data-mode=onLight][data-state=hovered]{background:var(--tui-clear-hover)}tui-wrapper[data-appearance=input-file][data-mode=onLight][data-state=hovered]:after,tui-wrapper[data-appearance=input-file][data-mode=onLight][data-state=pressed]:after{color:var(--tui-text-03)}tui-wrapper[data-appearance=input-file][data-mode=onLight][data-state=pressed]{background:var(--tui-clear-active)}"]}),g(0,t.Optional()),g(0,t.Self()),g(0,t.Inject(i.NgControl)),g(1,t.Inject(t.ChangeDetectorRef)),g(2,t.Inject(a.TUI_IS_MOBILE)),g(3,t.Inject(r.TUI_INPUT_FILE_TEXTS)),g(4,t.Inject(r.TUI_DIGITAL_INFORMATION_UNITS))],l)}(a.AbstractTuiNullableControl),h=function(){function e(){}return e=f([t.NgModule({imports:[l.CommonModule,c.PolymorpheusModule,a.TuiLetModule,a.TuiFocusedModule,a.TuiFocusVisibleModule,a.TuiPressedModule,a.TuiHoveredModule,a.TuiFocusableModule,a.TuiDroppableModule,n.TuiWrapperModule,n.TuiSvgModule,n.TuiLinkModule,n.TuiLoaderModule,n.TuiButtonModule,n.TuiGroupModule,s.TuiFilesModule],declarations:[v],exports:[v,s.TuiFilesComponent,s.TuiFileComponent,a.TuiItemDirective]})],e)}();e.TuiInputFilesComponent=v,e.TuiInputFilesModule=h,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
|
-
//# sourceMappingURL=taiga-ui-kit-components-input-files.umd.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-files/input-files.component.ts","ng://@taiga-ui/kit/components/input-files/input-files.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","__read","o","n","m","Symbol","iterator","e","ar","next","done","push","value","error","__spread","concat","TuiInputFilesComponent","control","changeDetectorRef","isMobile","inputFileTexts$","units$","_this","_super","this","dataTransfer","link","label","accept","multiple","size","maxFileSize","reject","EventEmitter","TypeError","String","__","constructor","__extends","_a","input","nativeElement","isNativeFocused","nativeFocusableElement","pseudoHovered","fileDragged","computeLink$","computeLabel$","types","includes","getValueArray","onHovered","hovered","updateHovered","onFocused","focused","updateFocused","onPressed","pressed","updatePressed","onFilesSelected","texts","units","processSelectedFiles","files","onDropped","event","onDragOver","removeFile","removedFile","updateValue","arrayValue","filter","file","of","pipe","map","defaultLinkMultiple","defaultLinkSingle","dropMultiple","drop","defaultLabelMultiple","defaultLabelSingle","isArray","EMPTY_ARRAY","newFiles","from","tooBigFiles","wrongFormatFiles","isFormatAcceptable","acceptedFiles","rejectFiles","name","type","content","maxSizeRejectionReason","formatSize","formatRejectionReason","extension","split","pop","toLowerCase","getAcceptArray","some","format","rejectedFiles","emit","NgControl","Optional","Self","Inject","args","ChangeDetectorRef","TUI_IS_MOBILE","Observable","TUI_INPUT_FILE_TEXTS","TUI_DIGITAL_INFORMATION_UNITS","ViewChild","Input","tuiDefaultProp","Output","tuiPure","TuiInputFilesComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","providers","MODE_PROVIDER","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiNullableControl","TuiInputFilesModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiLetModule","TuiFocusedModule","TuiFocusVisibleModule","TuiPressedModule","TuiHoveredModule","TuiFocusableModule","TuiDroppableModule","TuiWrapperModule","TuiSvgModule","TuiLinkModule","TuiLoaderModule","TuiButtonModule","TuiGroupModule","TuiFilesModule","declarations","exports","TuiFilesComponent","TuiFileComponent","TuiItemDirective"],"mappings":"wnCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAGzD,SAASM,EAAQC,EAAYC,GAChC,OAAO,SAAUd,EAAQC,GAAOa,EAAUd,EAAQC,EAAKY,IA6C9BvB,OAAOyB,OA4B7B,SAASC,EAAOC,EAAGC,GACtB,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG,OAA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SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,mBACAC,EAAAA,aACAC,EAAAA,iBACAC,EAAAA,sBACAC,EAAAA,iBACAC,EAAAA,iBACAC,EAAAA,mBACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,aACAC,EAAAA,cACAC,EAAAA,gBACAC,EAAAA,gBACAC,EAAAA,eACAC,EAAAA,gBAEJC,aAAc,CAAC9I,GACf+I,QAAS,CACL/I,EACAgJ,EAAAA,kBACAC,EAAAA,iBACAC,EAAAA,qBAGKvB","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n EMPTY_ARRAY,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {MODE_PROVIDER, TuiSizeL} from '@taiga-ui/core';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_INPUT_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize, getAcceptArray} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nconst DEFAULT_MAX_SIZE = 30 * 1000 * 1000; // 30 MB\n\n// @dynamic\n@Component({\n selector: `tui-input-files`,\n templateUrl: `./input-files.template.html`,\n styleUrls: [`./input-files.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n MODE_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputFilesComponent),\n },\n ],\n})\nexport class TuiInputFilesComponent\n extends AbstractTuiNullableControl<TuiFileLike | readonly TuiFileLike[]>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(`input`)\n private readonly input?: ElementRef<HTMLInputElement>;\n\n private dataTransfer: DataTransfer | null = null;\n\n @Input()\n @tuiDefaultProp()\n link: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n label: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n accept = ``;\n\n @Input()\n @tuiDefaultProp()\n multiple = false;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = `m`;\n\n @Input()\n @tuiDefaultProp()\n maxFileSize = DEFAULT_MAX_SIZE;\n\n @Output()\n reject = new EventEmitter<TuiFileLike | readonly TuiFileLike[]>();\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_IS_MOBILE)\n readonly isMobile: boolean,\n @Inject(TUI_INPUT_FILE_TEXTS)\n readonly inputFileTexts$: Observable<\n Record<\n | 'defaultLabelSingle'\n | 'defaultLabelMultiple'\n | 'defaultLinkSingle'\n | 'defaultLinkMultiple'\n | 'maxSizeRejectionReason'\n | 'formatRejectionReason'\n | 'drop'\n | 'dropMultiple',\n string\n >\n >,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n readonly units$: Observable<[string, string, string]>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.input?.nativeElement || null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get computedPseudoHovered(): boolean | null {\n return this.pseudoHovered ?? (this.fileDragged || null);\n }\n\n get computedLink$(): Observable<PolymorpheusContent> {\n return this.computeLink$(this.fileDragged, this.multiple, this.link);\n }\n\n get computedLabel$(): Observable<PolymorpheusContent> {\n return this.computeLabel$(\n this.isMobile,\n this.fileDragged,\n this.multiple,\n this.label,\n );\n }\n\n get fileDragged(): boolean {\n return !!this.dataTransfer?.types.includes(`Files`);\n }\n\n get arrayValue(): readonly TuiFileLike[] {\n return this.getValueArray(this.value);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onFilesSelected(\n input: HTMLInputElement,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n this.processSelectedFiles(input.files, texts, units);\n input.value = ``;\n }\n\n onDropped(\n event: DataTransfer,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n this.processSelectedFiles(event.files, texts, units);\n }\n\n onDragOver(dataTransfer: DataTransfer | null): void {\n this.dataTransfer = dataTransfer;\n }\n\n removeFile(removedFile: TuiFileLike): void {\n this.updateValue(\n this.multiple ? this.arrayValue.filter(file => file !== removedFile) : null,\n );\n }\n\n @tuiPure\n private computeLink$(\n fileDragged: boolean,\n multiple: boolean,\n link: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n return fileDragged\n ? of(``)\n : this.inputFileTexts$.pipe(\n map(texts =>\n multiple && link === ``\n ? texts.defaultLinkMultiple\n : link || texts.defaultLinkSingle,\n ),\n );\n }\n\n @tuiPure\n private computeLabel$(\n isMobile: boolean,\n fileDragged: boolean,\n multiple: boolean,\n label: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (isMobile) {\n return of(``);\n }\n\n if (fileDragged) {\n return this.inputFileTexts$.pipe(\n map(texts => (multiple ? texts.dropMultiple : texts.drop)),\n );\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && label === ``\n ? texts.defaultLabelMultiple\n : label || texts.defaultLabelSingle,\n ),\n );\n }\n\n @tuiPure\n private getValueArray(\n value: TuiFileLike | readonly TuiFileLike[] | null,\n ): readonly TuiFileLike[] {\n if (!value) {\n return EMPTY_ARRAY;\n }\n\n return Array.isArray(value) ? value : [value];\n }\n\n private processSelectedFiles(\n files: FileList | null,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n // IE11 after selecting a file through the open dialog generates a second event passing an empty FileList.\n if (!files?.length) {\n return;\n }\n\n const newFiles = this.multiple ? Array.from(files) : [files[0]];\n const tooBigFiles = newFiles.filter(file => file.size > this.maxFileSize);\n const wrongFormatFiles = newFiles.filter(\n file => !this.isFormatAcceptable(file) && !tooBigFiles.includes(file),\n );\n const acceptedFiles = newFiles.filter(\n file => !tooBigFiles.includes(file) && !wrongFormatFiles.includes(file),\n );\n\n if (tooBigFiles.length || wrongFormatFiles.length) {\n this.rejectFiles([\n ...tooBigFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content:\n texts.maxSizeRejectionReason +\n formatSize(units, this.maxFileSize),\n })),\n ...wrongFormatFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content: texts.formatRejectionReason,\n })),\n ]);\n }\n\n this.updateValue(\n this.multiple\n ? [...this.arrayValue, ...acceptedFiles]\n : acceptedFiles[0] || null,\n );\n }\n\n private isFormatAcceptable(file: File): boolean {\n if (!this.accept) {\n return true;\n }\n\n const extension = `.${(file.name.split(`.`).pop() || ``).toLowerCase()}`;\n\n return getAcceptArray(this.accept).some(\n format =>\n format === extension ||\n format === file.type ||\n (format.split(`/`)[1] === `*` &&\n file.type.split(`/`)[0] === format.split(`/`)[0]),\n );\n }\n\n private rejectFiles(rejectedFiles: readonly TuiFileLike[]): void {\n this.reject.emit(this.multiple ? rejectedFiles : rejectedFiles[0]);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiDroppableModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiHoveredModule,\n TuiItemDirective,\n TuiLetModule,\n TuiPressedModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiButtonModule,\n TuiGroupModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiSvgModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {\n TuiFileComponent,\n TuiFilesComponent,\n TuiFilesModule,\n} from '@taiga-ui/kit/components/files';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputFilesComponent} from './input-files.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiLetModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiPressedModule,\n TuiHoveredModule,\n TuiFocusableModule,\n TuiDroppableModule,\n TuiWrapperModule,\n TuiSvgModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiButtonModule,\n TuiGroupModule,\n TuiFilesModule,\n ],\n declarations: [TuiInputFilesComponent],\n exports: [\n TuiInputFilesComponent,\n TuiFilesComponent,\n TuiFileComponent,\n TuiItemDirective,\n ],\n})\nexport class TuiInputFilesModule {}\n"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/providers"),require("@angular/common"),require("@taiga-ui/core")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-inline",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/kit/providers","@angular/common","@taiga-ui/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-inline"]={}),e.ng.core,e.ng.forms,e.cdk,e["taiga-ui"].kit.providers,e.ng.common,e.core$1)}(this,(function(e,t,n,o,i,r,a){"use strict";var u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,o){t(n,o,e)}}Object.create;Object.create;var p=function(e){function r(t,n){var o=e.call(this,t,n)||this;return o.maxLength=null,o}var a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(r,e),a=r,Object.defineProperty(r.prototype,"nativeFocusableElement",{get:function(){return this.native?this.native.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"focused",{get:function(){return o.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hasValue",{get:function(){return""!==this.value},enumerable:!0,configurable:!0}),r.prototype.onValueChange=function(e){this.updateValue(e)},r.prototype.onFocused=function(e){this.updateFocused(e)},r.prototype.getFallbackValue=function(){return""},r.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[n.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]}]},c([t.ViewChild("native")],r.prototype,"native",void 0),c([t.Input(),o.tuiDefaultProp()],r.prototype,"maxLength",void 0),r=a=c([t.Component({selector:"tui-input-inline",template:'<span class="t-before">{{ value }}</span>\n\n<span\n *ngIf="!hasValue"\n automation-id="tui-input-inline__placeholder"\n class="t-placeholder"\n>\n <ng-content></ng-content>\n</span>\n\n<input\n #native\n automation-id="tui-input-inline__native"\n type="text"\n tuiMaskAccessor\n class="t-native"\n [attr.maxLength]="maxLength"\n [id]="id"\n [disabled]="computedDisabled"\n [readOnly]="readOnly"\n [tuiFocusable]="focusable"\n [ngModel]="value"\n (ngModelChange)="onValueChange($event)"\n (tuiFocusedChange)="onFocused($event)"\n/>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[i.TUI_VALUE_ACCESSOR_PROVIDER,{provide:o.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return a}))}],styles:[":host{position:relative;display:inline-block;overflow:hidden;white-space:nowrap;box-sizing:border-box}.t-before{padding-right:.02em;margin-left:1px;visibility:hidden;white-space:pre}.t-placeholder{margin-left:-1px}.t-native{position:absolute;top:0;left:0;background-color:transparent;padding:inherit;font:inherit;color:inherit;box-sizing:border-box;width:100%;height:100%;border-width:0;text-align:inherit;letter-spacing:inherit;text-indent:inherit;text-transform:inherit;outline:0}"]}),l(0,t.Optional()),l(0,t.Self()),l(0,t.Inject(n.NgControl)),l(1,t.Inject(t.ChangeDetectorRef))],r)}(o.AbstractTuiControl),s=function(){function e(){}return e=c([t.NgModule({imports:[r.CommonModule,n.FormsModule,o.TuiFocusableModule,o.TuiFocusedModule,a.TuiMaskAccessorModule],declarations:[p],exports:[p]})],e)}();e.TuiInputInlineComponent=p,e.TuiInputInlineModule=s,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
|
-
//# sourceMappingURL=taiga-ui-kit-components-input-inline.umd.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-inline/input-inline.component.ts","ng://@taiga-ui/kit/components/input-inline/input-inline.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiInputInlineComponent","control","changeDetectorRef","_this","_super","this","maxLength","TypeError","String","__","constructor","__extends","native","nativeElement","isNativeFocused","nativeFocusableElement","value","onValueChange","updateValue","onFocused","focused","updateFocused","getFallbackValue","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","ViewChild","Input","tuiDefaultProp","TuiInputInlineComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","TUI_VALUE_ACCESSOR_PROVIDER","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiControl","TuiInputInlineModule","NgModule","imports","CommonModule","FormsModule","TuiFocusableModule","TuiFocusedModule","TuiMaskAccessorModule","declarations","exports"],"mappings":"kwBAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAGzD,SAASM,EAAQC,EAAYC,GAChC,OAAO,SAAUd,EAAQC,GAAOa,EAAUd,EAAQC,EAAKY,IA6C9BvB,OAAOyB,OA0GXzB,OAAOyB,yBCtK5B,SAAAC,EAIIC,EAC2BC,GAL/B,IAAAC,EAOIC,EAAAvB,KAAAwB,KAAMJ,EAASC,IAAkBG,YATrCF,EAAAG,UAA2B,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,YAAaC,EAAAA,YAAW,WAAM,OAAAZ,ufAgBjCrC,EAAA,EAAA6B,EAAAA,YACA7B,EAAA,EAAA8B,EAAAA,QACA9B,EAAA,EAAA+B,EAAAA,OAAOJ,EAAAA,YAEP3B,EAAA,EAAA+B,EAAAA,OAAOE,EAAAA,qBAhBH7B,IACD8C,EAAAA,iCClBZ,SAAAC,KAAmC,OAAtBA,EAAoBjE,EAAA,CAXhCkE,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,uBAEJC,aAAc,CAACvD,GACfwD,QAAS,CAACxD,MAED+C","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {TUI_VALUE_ACCESSOR_PROVIDER} from '@taiga-ui/kit/providers';\n\n@Component({\n selector: `tui-input-inline`,\n templateUrl: `./input-inline.template.html`,\n styleUrls: [`./input-inline.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TUI_VALUE_ACCESSOR_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputInlineComponent),\n },\n ],\n})\nexport class TuiInputInlineComponent\n extends AbstractTuiControl<string | number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(`native`)\n private readonly native?: ElementRef<HTMLInputElement>;\n\n @Input()\n @tuiDefaultProp()\n maxLength: number | null = null;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return !this.native ? null : this.native.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get hasValue(): boolean {\n return this.value !== ``;\n }\n\n onValueChange(value: string): void {\n this.updateValue(value);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected getFallbackValue(): string {\n return ``;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiFocusableModule, TuiFocusedModule} from '@taiga-ui/cdk';\nimport {TuiMaskAccessorModule} from '@taiga-ui/core';\n\nimport {TuiInputInlineComponent} from './input-inline.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiMaskAccessorModule,\n ],\n declarations: [TuiInputInlineComponent],\n exports: [TuiInputInlineComponent],\n})\nexport class TuiInputInlineModule {}\n"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/providers"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/kit/components/calendar-month")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-month-range",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/tokens","@taiga-ui/kit/providers","rxjs","rxjs/operators","@angular/common","@taiga-ui/kit/components/calendar-month"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-month-range"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.providers,e.rxjs,e.rxjs.operators,e.ng.common,e["taiga-ui"].kit.components["calendar-month"])}(this,(function(e,t,n,o,i,r,a,u,l,c,s){"use strict";var p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function f(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function g(e,t){return function(n,o){t(n,o,e)}}Object.create;function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,i,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a}Object.create;var v=[{provide:o.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return m}))},{provide:o.AbstractTuiControl,useExisting:t.forwardRef((function(){return m}))},a.LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER,a.TUI_MONTH_FORMATTER_PROVIDER,i.TuiMonthPipe],m=function(e){function a(t,n,i,r){var a=e.call(this,t,n)||this;return a.formatter=i,a.textfieldSize=r,a.min=o.TUI_FIRST_DAY,a.max=o.TUI_LAST_DAY,a.disabledItemHandler=o.ALWAYS_FALSE_HANDLER,a.open=!1,a}return d(a,e),Object.defineProperty(a.prototype,"nativeFocusableElement",{get:function(){return this.textfield?this.textfield.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"focused",{get:function(){return!!this.textfield&&this.textfield.focused},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"calendarIcon",{get:function(){return i.sizeBigger(this.textfieldSize.size)?"tuiIconCalendarLarge":"tuiIconCalendar"},enumerable:!0,configurable:!0}),a.prototype.computeValue=function(e,t){var n=e===t&&this.focused&&!this.readOnly?"":t;return e+" "+o.CHAR_EN_DASH+" "+n},a.prototype.onValueChange=function(e){e||(this.updateValue(null),this.onOpenChange(!0))},a.prototype.onMonthClick=function(e){null!==this.value&&this.value.isSingleMonth?(this.updateValue(o.TuiMonthRange.sort(this.value.from,e)),this.close()):this.writeValue(new o.TuiMonthRange(e,e))},a.prototype.onHovered=function(e){this.updateHovered(e)},a.prototype.onOpenChange=function(e){this.open=e},a.prototype.onActiveZone=function(e){var t;this.updateFocused(e),e||(null===(t=this.value)||void 0===t?void 0:t.isSingleMonth)&&this.updateValue(new o.TuiMonthRange(this.value.from,this.value.from))},a.prototype.setDisabledState=function(){e.prototype.setDisabledState.call(this),this.close()},a.prototype.close=function(){this.open=!1},a.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[n.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:void 0,decorators:[{type:t.Inject,args:[r.TUI_MONTH_FORMATTER]}]},{type:i.TuiTextfieldSizeDirective,decorators:[{type:t.Inject,args:[i.TUI_TEXTFIELD_SIZE]}]}]},f([t.ViewChild(i.TuiPrimitiveTextfieldComponent)],a.prototype,"textfield",void 0),f([t.Input(),o.tuiDefaultProp()],a.prototype,"min",void 0),f([t.Input(),o.tuiDefaultProp()],a.prototype,"max",void 0),f([t.Input(),o.tuiDefaultProp()],a.prototype,"disabledItemHandler",void 0),a=f([t.Component({selector:"tui-input-month-range",template:'<tui-hosted-dropdown\n class="t-hosted"\n [canOpen]="interactive"\n [content]="dropdown"\n [open]="open && interactive"\n (openChange)="onOpenChange($event)"\n (tuiActiveZoneChange)="onActiveZone($event)"\n>\n <tui-primitive-textfield\n class="t-textfield"\n [editable]="false"\n [disabled]="computedDisabled"\n [nativeId]="nativeId"\n [readOnly]="readOnly"\n [iconContent]="calendarIcon"\n [pseudoFocused]="pseudoFocused"\n [pseudoHovered]="pseudoHovered"\n [invalid]="computedInvalid"\n [value]="\n value\n ? computeValue(value.from | tuiMapper: formatter | async, value.to | tuiMapper: formatter | async)\n : \'\'\n "\n (valueChange)="onValueChange($event)"\n (hoveredChange)="onHovered($event)"\n >\n <ng-content></ng-content>\n <ng-content\n select="input"\n ngProjectAs="input"\n ></ng-content>\n </tui-primitive-textfield>\n\n <ng-template #dropdown>\n <tui-calendar-month\n tuiPreventDefault="mousedown"\n [disabledItemHandler]="disabledItemHandler"\n [min]="min"\n [max]="max"\n [value]="value"\n (monthClick)="onMonthClick($event)"\n ></tui-calendar-month>\n </ng-template>\n</tui-hosted-dropdown>\n',providers:v,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}"]}),g(0,t.Optional()),g(0,t.Self()),g(0,t.Inject(n.NgControl)),g(1,t.Inject(t.ChangeDetectorRef)),g(2,t.Inject(r.TUI_MONTH_FORMATTER)),g(3,t.Inject(i.TUI_TEXTFIELD_SIZE))],a)}(o.AbstractTuiNullableControl),y=function(e){function n(t,n,o){var i=e.call(this,t)||this;return i.value$=new u.Subject,i.localizedValue=["",""],i.value$.pipe(l.distinctUntilChanged(),l.switchMap((function(e){return u.combineLatest([n((null==e?void 0:e.from)||null),n((null==e?void 0:e.to)||null)])})),l.takeUntil(o)).subscribe((function(e){i.localizedValue=e})),i}var a;return d(n,e),a=n,Object.defineProperty(n.prototype,"readOnly",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){var e;return this.localizedValue[0]?(e=this.host).computeValue.apply(e,function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}(this.localizedValue)):""},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=function(){this.value$.next(this.host.value)},n.prototype.onValueChange=function(e){this.host.onValueChange(e)},n.ctorParameters=function(){return[{type:m,decorators:[{type:t.Inject,args:[o.AbstractTuiControl]}]},{type:void 0,decorators:[{type:t.Inject,args:[r.TUI_MONTH_FORMATTER]}]},{type:u.Observable,decorators:[{type:t.Self},{type:t.Inject,args:[o.TuiDestroyService]}]}]},n=a=f([t.Directive({selector:"tui-input-month-range",providers:[{provide:i.TUI_TEXTFIELD_HOST,useExisting:t.forwardRef((function(){return a}))},o.TuiDestroyService]}),g(0,t.Inject(o.AbstractTuiControl)),g(1,t.Inject(r.TUI_MONTH_FORMATTER)),g(2,t.Self()),g(2,t.Inject(o.TuiDestroyService))],n)}(i.TuiAbstractTextfieldHost),T=function(){function e(){}return e=f([t.NgModule({imports:[c.CommonModule,s.TuiCalendarMonthModule,i.TuiHostedDropdownModule,i.TuiPrimitiveTextfieldModule,i.TuiSvgModule,o.TuiPreventDefaultModule,o.TuiActiveZoneModule,o.TuiMapperPipeModule],declarations:[m,y],exports:[m,y,i.TuiTextfieldComponent]})],e)}();e.TUI_INPUT_MONTH_RANGE_PROVIDERS=v,e.TuiInputMonthRangeComponent=m,e.TuiInputMonthRangeDirective=y,e.TuiInputMonthRangeModule=T,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
|
-
//# sourceMappingURL=taiga-ui-kit-components-input-month-range.umd.min.js.map
|