@taiga-ui/kit 3.22.0-dev.main-9b18d21 → 3.22.0-dev.main-29da1cb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstract/abstract-native-select.d.ts +18 -0
- package/abstract/index.d.ts +1 -0
- package/abstract/package.json +10 -0
- package/abstract/taiga-ui-kit-abstract.d.ts +5 -0
- package/bundles/taiga-ui-kit-abstract.umd.js +87 -0
- package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +3 -2
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +3 -2
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +3 -2
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +7 -6
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +5 -4
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +16 -13
- 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 +4 -4
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +6 -5
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +5 -5
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +3 -2
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +3 -3
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +4 -5
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +7 -6
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +4 -4
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +9 -9
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +6 -7
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +50 -84
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +3 -2
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +3 -2
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +3 -2
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +38 -83
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-text-area.umd.js +2 -2
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +6 -14
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit.umd.js +10 -4
- package/bundles/taiga-ui-kit.umd.js.map +1 -1
- package/components/checkbox/checkbox.component.d.ts +1 -0
- package/components/checkbox-block/checkbox-block.component.d.ts +1 -0
- package/components/checkbox-labeled/checkbox-labeled.component.d.ts +1 -0
- package/components/combo-box/combo-box.component.d.ts +1 -0
- package/components/input-count/input-count.component.d.ts +1 -0
- package/components/input-date-range/input-date-range.component.d.ts +1 -0
- package/components/input-inline/input-inline.component.d.ts +1 -0
- package/components/input-phone-international/input-phone-international.component.d.ts +1 -0
- package/components/input-tag/input-tag.component.d.ts +1 -1
- package/components/multi-select/multi-select.directive.d.ts +1 -1
- package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +1 -1
- package/components/multi-select/native-multi-select/native-multi-select.d.ts +4 -12
- package/components/radio-block/radio-block.component.d.ts +1 -0
- package/components/radio-labeled/radio-labeled.component.d.ts +1 -0
- package/components/radio-list/radio-list.component.d.ts +1 -0
- package/components/select/index.d.ts +0 -1
- package/components/select/native-select/native-select-group.component.d.ts +1 -1
- package/components/select/native-select/native-select.component.d.ts +1 -1
- package/components/toggle/toggle.component.d.ts +1 -1
- package/esm2015/abstract/abstract-native-select.js +49 -0
- package/esm2015/abstract/index.js +2 -0
- package/esm2015/abstract/taiga-ui-kit-abstract.js +5 -0
- package/esm2015/components/checkbox/checkbox.component.js +4 -3
- package/esm2015/components/checkbox-block/checkbox-block.component.js +4 -3
- package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +4 -3
- package/esm2015/components/combo-box/combo-box-strict.directive.js +2 -2
- package/esm2015/components/combo-box/combo-box.component.js +7 -6
- package/esm2015/components/filter/filter.component.js +3 -3
- package/esm2015/components/input/input.component.js +3 -3
- package/esm2015/components/input-copy/input-copy.component.js +3 -3
- package/esm2015/components/input-count/input-count.component.js +6 -5
- package/esm2015/components/input-date/input-date.component.js +7 -6
- package/esm2015/components/input-date-range/input-date-range.component.js +17 -14
- package/esm2015/components/input-date-time/input-date-time.component.js +5 -5
- package/esm2015/components/input-files/input-files.component.js +6 -6
- package/esm2015/components/input-inline/input-inline.component.js +4 -3
- package/esm2015/components/input-month/input-month.component.js +3 -3
- package/esm2015/components/input-month-range/input-month-range.component.js +4 -4
- package/esm2015/components/input-number/input-number.component.js +5 -6
- package/esm2015/components/input-password/input-password.component.js +3 -3
- package/esm2015/components/input-phone/input-phone.component.js +5 -5
- package/esm2015/components/input-phone-international/input-phone-international.component.js +8 -7
- package/esm2015/components/input-range/input-range.component.js +2 -2
- package/esm2015/components/input-slider/input-slider.component.js +2 -2
- package/esm2015/components/input-tag/input-tag.component.js +10 -10
- package/esm2015/components/input-time/input-time.component.js +7 -8
- package/esm2015/components/input-year/input-year.component.js +3 -3
- package/esm2015/components/multi-select/multi-select.component.js +6 -5
- package/esm2015/components/multi-select/multi-select.directive.js +2 -4
- package/esm2015/components/multi-select/native-multi-select/native-multi-select-group.component.js +5 -4
- package/esm2015/components/multi-select/native-multi-select/native-multi-select.component.js +5 -4
- package/esm2015/components/multi-select/native-multi-select/native-multi-select.js +9 -41
- package/esm2015/components/radio/radio.component.js +2 -2
- package/esm2015/components/radio-block/radio-block.component.js +4 -3
- package/esm2015/components/radio-labeled/radio-labeled.component.js +4 -3
- package/esm2015/components/radio-list/radio-list.component.js +4 -3
- package/esm2015/components/range/range.component.js +3 -3
- package/esm2015/components/rating/rating.component.js +3 -3
- package/esm2015/components/select/index.js +1 -2
- package/esm2015/components/select/native-select/native-select-group.component.js +3 -3
- package/esm2015/components/select/native-select/native-select.component.js +3 -3
- package/esm2015/components/select/select.component.js +6 -6
- package/esm2015/components/slider/helpers/slider-key-steps.directive.js +2 -2
- package/esm2015/components/text-area/text-area.component.js +3 -3
- package/esm2015/components/toggle/toggle.component.js +7 -11
- package/esm2015/index.js +2 -1
- package/fesm2015/taiga-ui-kit-abstract.js +56 -0
- package/fesm2015/taiga-ui-kit-abstract.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js +3 -2
- package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +3 -2
- package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-checkbox.js +3 -2
- package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-combo-box.js +7 -6
- package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-filter.js +2 -2
- package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-copy.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +5 -4
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +16 -13
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +4 -4
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +6 -5
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +5 -5
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-inline.js +3 -2
- package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month-range.js +3 -3
- package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +4 -5
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-password.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js +7 -6
- package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-phone.js +4 -4
- package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +9 -9
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-time.js +6 -7
- package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input-year.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input.js +2 -2
- package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-multi-select.js +38 -67
- package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-block.js +3 -2
- package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js +3 -2
- package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio-list.js +3 -2
- package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js +1 -1
- package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-range.js +2 -2
- package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-rating.js +2 -2
- package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-select.js +16 -52
- package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js +1 -1
- package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-text-area.js +2 -2
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-toggle.js +6 -10
- package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-kit.js +1 -0
- package/fesm2015/taiga-ui-kit.js.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +1 -1
- package/components/select/native-select/native-select.d.ts +0 -15
- package/esm2015/components/select/native-select/native-select.js +0 -42
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/kit/classes'), require('@taiga-ui/kit/components'), require('@taiga-ui/kit/constants'), require('@taiga-ui/kit/directives'), require('@taiga-ui/kit/interfaces'), require('@taiga-ui/kit/internal'), require('@taiga-ui/kit/pipes'), require('@taiga-ui/kit/providers'), require('@taiga-ui/kit/services'), require('@taiga-ui/kit/tokens'), require('@taiga-ui/kit/types'), require('@taiga-ui/kit/utils'), require('@taiga-ui/kit/validators')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/kit', ['exports', '@taiga-ui/kit/classes', '@taiga-ui/kit/components', '@taiga-ui/kit/constants', '@taiga-ui/kit/directives', '@taiga-ui/kit/interfaces', '@taiga-ui/kit/internal', '@taiga-ui/kit/pipes', '@taiga-ui/kit/providers', '@taiga-ui/kit/services', '@taiga-ui/kit/tokens', '@taiga-ui/kit/types', '@taiga-ui/kit/utils', '@taiga-ui/kit/validators'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = {}), global["taiga-ui"].kit.classes, global["taiga-ui"].kit.components, global["taiga-ui"].kit.constants, global["taiga-ui"].kit.directives, global["taiga-ui"].kit.interfaces, global["taiga-ui"].kit.internal, global["taiga-ui"].kit.pipes, global["taiga-ui"].kit.providers, global["taiga-ui"].kit.services, global["taiga-ui"].kit.tokens, global["taiga-ui"].kit.types, global["taiga-ui"].kit.utils, global["taiga-ui"].kit.validators));
|
|
5
|
-
})(this, (function (exports, classes, components, constants, directives, interfaces, internal, pipes, providers, services, tokens, types, utils, validators) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/kit/abstract'), require('@taiga-ui/kit/classes'), require('@taiga-ui/kit/components'), require('@taiga-ui/kit/constants'), require('@taiga-ui/kit/directives'), require('@taiga-ui/kit/interfaces'), require('@taiga-ui/kit/internal'), require('@taiga-ui/kit/pipes'), require('@taiga-ui/kit/providers'), require('@taiga-ui/kit/services'), require('@taiga-ui/kit/tokens'), require('@taiga-ui/kit/types'), require('@taiga-ui/kit/utils'), require('@taiga-ui/kit/validators')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/kit', ['exports', '@taiga-ui/kit/abstract', '@taiga-ui/kit/classes', '@taiga-ui/kit/components', '@taiga-ui/kit/constants', '@taiga-ui/kit/directives', '@taiga-ui/kit/interfaces', '@taiga-ui/kit/internal', '@taiga-ui/kit/pipes', '@taiga-ui/kit/providers', '@taiga-ui/kit/services', '@taiga-ui/kit/tokens', '@taiga-ui/kit/types', '@taiga-ui/kit/utils', '@taiga-ui/kit/validators'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = {}), global["taiga-ui"].kit.abstract, global["taiga-ui"].kit.classes, global["taiga-ui"].kit.components, global["taiga-ui"].kit.constants, global["taiga-ui"].kit.directives, global["taiga-ui"].kit.interfaces, global["taiga-ui"].kit.internal, global["taiga-ui"].kit.pipes, global["taiga-ui"].kit.providers, global["taiga-ui"].kit.services, global["taiga-ui"].kit.tokens, global["taiga-ui"].kit.types, global["taiga-ui"].kit.utils, global["taiga-ui"].kit.validators));
|
|
5
|
+
})(this, (function (exports, abstract, classes, components, constants, directives, interfaces, internal, pipes, providers, services, tokens, types, utils, validators) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Generated bundle index. Do not edit.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
+
Object.keys(abstract).forEach(function (k) {
|
|
12
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return abstract[k]; }
|
|
15
|
+
});
|
|
16
|
+
});
|
|
11
17
|
Object.keys(classes).forEach(function (k) {
|
|
12
18
|
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
13
19
|
enumerable: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit.umd.js","sources":["../../../projects/kit/taiga-ui-kit.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit.umd.js","sources":["../../../projects/kit/taiga-ui-kit.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -11,6 +11,7 @@ export declare class TuiCheckboxComponent extends AbstractTuiNullableControl<boo
|
|
|
11
11
|
get nativeFocusableElement(): HTMLInputElement | null;
|
|
12
12
|
get focused(): boolean;
|
|
13
13
|
get computedFocusable(): boolean;
|
|
14
|
+
/** @deprecated use 'value' setter */
|
|
14
15
|
onChecked(checked: boolean): void;
|
|
15
16
|
onFocused(focused: boolean): void;
|
|
16
17
|
onFocusVisible(focusVisible: boolean): void;
|
|
@@ -17,6 +17,7 @@ export declare class TuiCheckboxBlockComponent extends AbstractTuiNullableContro
|
|
|
17
17
|
get appearance(): TuiAppearance;
|
|
18
18
|
onFocused(focused: boolean): void;
|
|
19
19
|
onFocusVisible(focusVisible: boolean): void;
|
|
20
|
+
/** @deprecated use 'value' setter */
|
|
20
21
|
onModelChange(value: boolean): void;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxBlockComponent, [{ optional: true; self: true; }, null, { optional: true; }]>;
|
|
22
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiCheckboxBlockComponent, "tui-checkbox-block", never, { "contentAlign": "contentAlign"; "hideCheckbox": "hideCheckbox"; "size": "size"; }, {}, never, ["*"]>;
|
|
@@ -13,6 +13,7 @@ export declare class TuiCheckboxLabeledComponent extends AbstractTuiNullableCont
|
|
|
13
13
|
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
14
14
|
get hostMode(): TuiBrightness | null;
|
|
15
15
|
onFocused(focused: boolean): void;
|
|
16
|
+
/** @deprecated use 'value' setter */
|
|
16
17
|
onModelChange(value: boolean): void;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxLabeledComponent, [{ optional: true; self: true; }, null, { optional: true; }, null]>;
|
|
18
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiCheckboxLabeledComponent, "tui-checkbox-labeled", never, { "size": "size"; }, {}, never, ["*"]>;
|
|
@@ -33,6 +33,7 @@ export declare class TuiComboBoxComponent<T> extends AbstractTuiNullableControl<
|
|
|
33
33
|
handleOption(item: T): void;
|
|
34
34
|
onFieldKeyDownEnter(event: Event): void;
|
|
35
35
|
onValueChange(value: string): void;
|
|
36
|
+
/** @deprecated use 'value' setter */
|
|
36
37
|
updateValue(value: T | null): void;
|
|
37
38
|
toggle(): void;
|
|
38
39
|
private isStrictMatch;
|
|
@@ -33,6 +33,7 @@ export declare class TuiInputCountComponent extends AbstractTuiNullableControl<n
|
|
|
33
33
|
get plusButtonDisabled(): boolean;
|
|
34
34
|
onButtonMouseDown(event: MouseEvent, disabled?: boolean): void;
|
|
35
35
|
onInputNumberChange(value: number | null): void;
|
|
36
|
+
/** @deprecated */
|
|
36
37
|
onValueChange(value: string): void;
|
|
37
38
|
decreaseValue(): void;
|
|
38
39
|
increaseValue(): void;
|
|
@@ -53,6 +53,7 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
|
|
|
53
53
|
onItemSelect(item: TuiDayRangePeriod | string): void;
|
|
54
54
|
onActiveZone(focused: boolean): void;
|
|
55
55
|
writeValue(value: TuiDayRange | null): void;
|
|
56
|
+
protected valueIdenticalComparator(oldValue: TuiDayRange | null, newValue: TuiDayRange | null): boolean;
|
|
56
57
|
private get itemSelected();
|
|
57
58
|
private toggle;
|
|
58
59
|
private focusInput;
|
|
@@ -9,6 +9,7 @@ export declare class TuiInputInlineComponent extends AbstractTuiControl<number |
|
|
|
9
9
|
get nativeFocusableElement(): TuiNativeFocusableElement | null;
|
|
10
10
|
get focused(): boolean;
|
|
11
11
|
get hasValue(): boolean;
|
|
12
|
+
/** @deprecated use 'value' setter */
|
|
12
13
|
onValueChange(value: string): void;
|
|
13
14
|
onFocused(focused: boolean): void;
|
|
14
15
|
protected getFallbackValue(): string;
|
|
@@ -40,6 +40,7 @@ export declare class TuiInputPhoneInternationalComponent extends AbstractTuiCont
|
|
|
40
40
|
onItemClick(isoCode: TuiCountryIsoCode): void;
|
|
41
41
|
setDisabledState(): void;
|
|
42
42
|
isoToCountryCode(isoCode: TuiCountryIsoCode): string;
|
|
43
|
+
/** @deprecated use 'value' setter */
|
|
43
44
|
onModelChange(value: string): void;
|
|
44
45
|
onActiveZone(active: boolean): void;
|
|
45
46
|
protected getFallbackValue(): string;
|
|
@@ -79,7 +79,7 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
|
|
|
79
79
|
onDrop({ dataTransfer }: DragEvent): void;
|
|
80
80
|
setDisabledState(): void;
|
|
81
81
|
trackByFn(_: number, tag: string): string;
|
|
82
|
-
|
|
82
|
+
private filterValue;
|
|
83
83
|
private onScrollKeyDown;
|
|
84
84
|
private initScrollerSubscription;
|
|
85
85
|
private updateSearch;
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TuiMultiSelectDirective extends AbstractTuiTextfieldHost<TuiMultiSelectComponent<string>> {
|
|
6
6
|
get readOnly(): boolean;
|
|
7
7
|
disableItemHandler: TuiBooleanHandler<string>;
|
|
8
|
-
onValueChange(
|
|
8
|
+
onValueChange(): void;
|
|
9
9
|
onSelectionChange(value: string[]): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectDirective, never>;
|
|
11
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectDirective, "tui-multi-select", never, {}, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AbstractTuiNativeMultiSelect } from './native-multi-select';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiNativeMultiSelectComponent extends AbstractTuiNativeMultiSelect {
|
|
4
|
-
items: string[] | null;
|
|
4
|
+
items: readonly string[] | null;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeMultiSelectComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeMultiSelectComponent, "select[multiple][tuiSelect]:not([labels])", never, { "items": "items"; }, {}, never, never>;
|
|
7
7
|
}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { TuiMultiSelectDirective } from '../multi-select.directive';
|
|
1
|
+
import { TuiMapper } from '@taiga-ui/cdk';
|
|
2
|
+
import { AbstractTuiNativeSelect } from '@taiga-ui/kit/abstract';
|
|
3
|
+
import type { TuiMultiSelectDirective } from '../multi-select.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare abstract class AbstractTuiNativeMultiSelect {
|
|
6
|
-
readonly host: TuiMultiSelectDirective;
|
|
7
|
-
readonly control: AbstractTuiControl<unknown>;
|
|
8
|
-
private readonly elementRef;
|
|
9
|
-
private readonly idService;
|
|
10
|
-
readonly cdr: ChangeDetectorRef;
|
|
11
|
-
readonly datalist: TemplateRef<any> | null;
|
|
12
|
-
constructor(host: TuiMultiSelectDirective, control: AbstractTuiControl<unknown>, elementRef: ElementRef<HTMLSelectElement>, idService: TuiIdService, cdr: ChangeDetectorRef);
|
|
13
|
-
get id(): string;
|
|
5
|
+
export declare abstract class AbstractTuiNativeMultiSelect extends AbstractTuiNativeSelect<TuiMultiSelectDirective> {
|
|
14
6
|
selectedMapper: TuiMapper<string, boolean>;
|
|
15
7
|
onValueChange(): void;
|
|
16
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractTuiNativeMultiSelect, never>;
|
|
@@ -21,6 +21,7 @@ export declare class TuiRadioBlockComponent<T> extends AbstractTuiNullableContro
|
|
|
21
21
|
get appearance(): TuiAppearance;
|
|
22
22
|
onFocused(focused: boolean): void;
|
|
23
23
|
onFocusVisible(focusVisible: boolean): void;
|
|
24
|
+
/** @deprecated use 'value' setter */
|
|
24
25
|
onModelChange(value: T): void;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioBlockComponent<any>, [{ optional: true; self: true; }, null, { optional: true; }]>;
|
|
26
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiRadioBlockComponent<any>, "tui-radio-block", never, { "item": "item"; "identityMatcher": "identityMatcher"; "contentAlign": "contentAlign"; "size": "size"; "hideRadio": "hideRadio"; "pseudoDisabled": "pseudoDisabled"; }, {}, never, ["*"]>;
|
|
@@ -18,6 +18,7 @@ export declare class TuiRadioLabeledComponent<T> extends AbstractTuiNullableCont
|
|
|
18
18
|
get computedDisabled(): boolean;
|
|
19
19
|
get mode(): TuiBrightness | null;
|
|
20
20
|
onFocused(focused: boolean): void;
|
|
21
|
+
/** @deprecated use 'value' setter */
|
|
21
22
|
onModelChange(value: T): void;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioLabeledComponent<any>, [{ optional: true; self: true; }, null, { optional: true; }, null]>;
|
|
23
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiRadioLabeledComponent<any>, "tui-radio-labeled", never, { "item": "item"; "size": "size"; "identityMatcher": "identityMatcher"; "pseudoDisabled": "pseudoDisabled"; }, {}, never, ["*"]>;
|
|
@@ -20,6 +20,7 @@ export declare class TuiRadioListComponent<T> extends AbstractTuiNullableControl
|
|
|
20
20
|
get focused(): boolean;
|
|
21
21
|
computeId(index: number): string;
|
|
22
22
|
itemIsDisabled(item: T): boolean;
|
|
23
|
+
/** @deprecated use 'value' setter */
|
|
23
24
|
onModelChange(value: T): void;
|
|
24
25
|
itemIsActive(item: T): boolean;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioListComponent<any>, [{ optional: true; self: true; }, null, null]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractTuiNativeSelect } from '
|
|
1
|
+
import { AbstractTuiNativeSelect } from '@taiga-ui/kit/abstract';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiNativeSelectGroupComponent extends AbstractTuiNativeSelect {
|
|
4
4
|
items: readonly string[][] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractTuiNativeSelect } from '
|
|
1
|
+
import { AbstractTuiNativeSelect } from '@taiga-ui/kit/abstract';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TuiNativeSelectComponent extends AbstractTuiNativeSelect {
|
|
4
4
|
items: readonly string[] | null;
|
|
@@ -20,9 +20,9 @@ export declare class TuiToggleComponent extends AbstractTuiControl<boolean> impl
|
|
|
20
20
|
get focused(): boolean;
|
|
21
21
|
get appearance(): TuiAppearance;
|
|
22
22
|
get sizeM(): boolean;
|
|
23
|
-
get checked(): boolean;
|
|
24
23
|
get loaderSize(): TuiSizeXS;
|
|
25
24
|
get hostMode(): TuiBrightness | null;
|
|
25
|
+
/** @deprecated use 'value' setter */
|
|
26
26
|
onChecked(checked: boolean): void;
|
|
27
27
|
onFocused(focused: boolean): void;
|
|
28
28
|
onFocusVisible(focusVisible: boolean): void;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Directive, ElementRef, HostBinding, Inject, Input, TemplateRef, ViewChild, } from '@angular/core';
|
|
2
|
+
import { AbstractTuiControl, TuiIdService } from '@taiga-ui/cdk';
|
|
3
|
+
import { TUI_TEXTFIELD_HOST, TuiDataListDirective } from '@taiga-ui/core';
|
|
4
|
+
import { TUI_ITEMS_HANDLERS } from '@taiga-ui/kit/tokens';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
7
|
+
export class AbstractTuiNativeSelect {
|
|
8
|
+
constructor(host, control, elementRef, idService, itemsHandlers) {
|
|
9
|
+
this.host = host;
|
|
10
|
+
this.control = control;
|
|
11
|
+
this.elementRef = elementRef;
|
|
12
|
+
this.idService = idService;
|
|
13
|
+
this.itemsHandlers = itemsHandlers;
|
|
14
|
+
this.disabledItemHandler = null;
|
|
15
|
+
this.datalist = null;
|
|
16
|
+
}
|
|
17
|
+
get id() {
|
|
18
|
+
return this.elementRef.nativeElement.id || this.idService.generate();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
AbstractTuiNativeSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiNativeSelect, deps: [{ token: TUI_TEXTFIELD_HOST }, { token: AbstractTuiControl }, { token: ElementRef }, { token: TuiIdService }, { token: TUI_ITEMS_HANDLERS }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
AbstractTuiNativeSelect.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: AbstractTuiNativeSelect, inputs: { disabledItemHandler: "disabledItemHandler" }, host: { properties: { "id": "this.id" } }, viewQueries: [{ propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef, static: true }], ngImport: i0 });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: AbstractTuiNativeSelect, decorators: [{
|
|
24
|
+
type: Directive
|
|
25
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
26
|
+
type: Inject,
|
|
27
|
+
args: [TUI_TEXTFIELD_HOST]
|
|
28
|
+
}] }, { type: i1.AbstractTuiControl, decorators: [{
|
|
29
|
+
type: Inject,
|
|
30
|
+
args: [AbstractTuiControl]
|
|
31
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
32
|
+
type: Inject,
|
|
33
|
+
args: [ElementRef]
|
|
34
|
+
}] }, { type: i1.TuiIdService, decorators: [{
|
|
35
|
+
type: Inject,
|
|
36
|
+
args: [TuiIdService]
|
|
37
|
+
}] }, { type: undefined, decorators: [{
|
|
38
|
+
type: Inject,
|
|
39
|
+
args: [TUI_ITEMS_HANDLERS]
|
|
40
|
+
}] }]; }, propDecorators: { disabledItemHandler: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], datalist: [{
|
|
43
|
+
type: ViewChild,
|
|
44
|
+
args: [TuiDataListDirective, { read: TemplateRef, static: true }]
|
|
45
|
+
}], id: [{
|
|
46
|
+
type: HostBinding,
|
|
47
|
+
args: [`id`]
|
|
48
|
+
}] } });
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QtbmF0aXZlLXNlbGVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9hYnN0cmFjdC9hYnN0cmFjdC1uYXRpdmUtc2VsZWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBQ1QsVUFBVSxFQUNWLFdBQVcsRUFDWCxNQUFNLEVBQ04sS0FBSyxFQUNMLFdBQVcsRUFDWCxTQUFTLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGtCQUFrQixFQUFxQixZQUFZLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDbEYsT0FBTyxFQUFDLGtCQUFrQixFQUFFLG9CQUFv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bnk+IHwgbnVsbCA9IG51bGw7XG5cbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgQEluamVjdChUVUlfVEVYVEZJRUxEX0hPU1QpIHJlYWRvbmx5IGhvc3Q6IFQsXG4gICAgICAgIEBJbmplY3QoQWJzdHJhY3RUdWlDb250cm9sKSByZWFkb25seSBjb250cm9sOiBBYnN0cmFjdFR1aUNvbnRyb2w8dW5rbm93bj4sXG4gICAgICAgIEBJbmplY3QoRWxlbWVudFJlZikgcHJvdGVjdGVkIHJlYWRvbmx5IGVsZW1lbnRSZWY6IEVsZW1lbnRSZWY8SFRNTFNlbGVjdEVsZW1lbnQ+LFxuICAgICAgICBASW5qZWN0KFR1aUlkU2VydmljZSlcbiAgICAgICAgcHJpdmF0ZSByZWFkb25seSBpZFNlcnZpY2U6IFR1aUlkU2VydmljZSxcbiAgICAgICAgQEluamVjdChUVUlfSVRFTVNfSEFORExFUlMpXG4gICAgICAgIHJlYWRvbmx5IGl0ZW1zSGFuZGxlcnM6IFR1aUl0ZW1zSGFuZGxlcnM8c3RyaW5nPixcbiAgICApIHt9XG5cbiAgICBASG9zdEJpbmRpbmcoYGlkYClcbiAgICBnZXQgaWQoKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmlkIHx8IHRoaXMuaWRTZXJ2aWNlLmdlbmVyYXRlKCk7XG4gICAgfVxufVxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './abstract-native-select';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvYWJzdHJhY3QvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWJzdHJhY3QtbmF0aXZlLXNlbGVjdCc7XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWkta2l0LWFic3RyYWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2Fic3RyYWN0L3RhaWdhLXVpLWtpdC1hYnN0cmFjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -24,8 +24,9 @@ export class TuiCheckboxComponent extends AbstractTuiNullableControl {
|
|
|
24
24
|
get computedFocusable() {
|
|
25
25
|
return this.interactive && this.focusable;
|
|
26
26
|
}
|
|
27
|
+
/** @deprecated use 'value' setter */
|
|
27
28
|
onChecked(checked) {
|
|
28
|
-
this.
|
|
29
|
+
this.value = checked;
|
|
29
30
|
}
|
|
30
31
|
onFocused(focused) {
|
|
31
32
|
this.updateFocused(focused);
|
|
@@ -38,7 +39,7 @@ TuiCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
|
|
|
38
39
|
TuiCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCheckboxComponent, selector: "tui-checkbox", inputs: { size: "size" }, host: { properties: { "attr.data-size": "this.size" } }, providers: [
|
|
39
40
|
tuiAsFocusableItemAccessor(TuiCheckboxComponent),
|
|
40
41
|
tuiAsControl(TuiCheckboxComponent),
|
|
41
|
-
], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-primitive-checkbox\n [size]=\"size\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocusVisible\"\n [hovered]=\"pseudoHover\"\n [pressed]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n [value]=\"value\"\n>\n <input\n #focusableElement\n type=\"checkbox\"\n automation-id=\"tui-checkbox__native\"\n class=\"t-native\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [
|
|
42
|
+
], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-primitive-checkbox\n [size]=\"size\"\n [disabled]=\"disabled\"\n [focused]=\"computedFocusVisible\"\n [hovered]=\"pseudoHover\"\n [pressed]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n [value]=\"value\"\n>\n <input\n #focusableElement\n type=\"checkbox\"\n automation-id=\"tui-checkbox__native\"\n class=\"t-native\"\n [disabled]=\"disabled\"\n [id]=\"id\"\n [tuiFocusable]=\"computedFocusable\"\n [(tuiChecked)]=\"value\"\n (tuiFocusedChange)=\"onFocused($event)\"\n (tuiFocusVisibleChange)=\"onFocusVisible($event)\"\n />\n</tui-primitive-checkbox>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}:host[data-size=m]{width:1rem;height:1rem}:host[data-size=l]{width:1.5rem;height:1.5rem}:host._readonly tui-primitive-checkbox{pointer-events:none}.t-native{padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native:-webkit-autofill,.t-native:-webkit-autofill:hover,.t-native:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}\n"], components: [{ type: i1.TuiPrimitiveCheckboxComponent, selector: "tui-primitive-checkbox", inputs: ["size", "disabled", "focused", "hovered", "pressed", "invalid", "value"] }], directives: [{ type: i2.TuiCheckedDirective, selector: "input[tuiChecked], input[tuiCheckedChange]", inputs: ["tuiChecked"], outputs: ["tuiCheckedChange"] }, { type: i2.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i2.TuiFocusedDirective, selector: "[tuiFocusedChange]", outputs: ["tuiFocusedChange"] }, { type: i2.TuiFocusVisibleDirective, selector: "[tuiFocusVisibleChange]", outputs: ["tuiFocusVisibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
42
43
|
__decorate([
|
|
43
44
|
tuiDefaultProp()
|
|
44
45
|
], TuiCheckboxComponent.prototype, "size", void 0);
|
|
@@ -76,4 +77,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
76
77
|
type: HostBinding,
|
|
77
78
|
args: ['attr.data-size']
|
|
78
79
|
}] } });
|
|
79
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2hlY2tib3gvY2hlY2tib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2hlY2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JzaXplXCJcbiAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgIFtmb2N1c2VkXT1cImNvbXB1dGVkRm9jdXNWaXNpYmxlXCJcbiAgICBbaG92ZXJlZF09XCJwc2V1ZG9Ib3ZlclwiXG4gICAgW3ByZXNzZWRdPVwicHNldWRvQWN0aXZlXCJcbiAgICBbaW52YWxpZF09XCJjb21wdXRlZEludmFsaWRcIlxuICAgIFt2YWx1ZV09XCJ2YWx1ZVwiXG4+XG4gICAgPGlucHV0XG4gICAgICAgICNmb2N1c2FibGVFbGVtZW50XG4gICAgICAgIHR5cGU9XCJjaGVja2JveFwiXG4gICAgICAgIGF1dG9tYXRpb24taWQ9XCJ0dWktY2hlY2tib3hfX25hdGl2ZVwiXG4gICAgICAgIGNsYXNzPVwidC1uYXRpdmVcIlxuICAgICAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgICAgICBbaWRdPVwiaWRcIlxuICAgICAgICBbdHVpRm9jdXNhYmxlXT1cImNvbXB1dGVkRm9jdXNhYmxlXCJcbiAgICAgICAgWyh0dWlDaGVja2VkKV09XCJ2YWx1ZVwiXG4gICAgICAgICh0dWlGb2N1c2VkQ2hhbmdlKT1cIm9uRm9jdXNlZCgkZXZlbnQpXCJcbiAgICAgICAgKHR1aUZvY3VzVmlzaWJsZUNoYW5nZSk9XCJvbkZvY3VzVmlzaWJsZSgkZXZlbnQpXCJcbiAgICAvPlxuPC90dWktcHJpbWl0aXZlLWNoZWNrYm94PlxuIl19
|
|
@@ -43,15 +43,16 @@ export class TuiCheckboxBlockComponent extends AbstractTuiNullableControl {
|
|
|
43
43
|
onFocusVisible(focusVisible) {
|
|
44
44
|
this.updateFocusVisible(focusVisible);
|
|
45
45
|
}
|
|
46
|
+
/** @deprecated use 'value' setter */
|
|
46
47
|
onModelChange(value) {
|
|
47
|
-
this.
|
|
48
|
+
this.value = value;
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
TuiCheckboxBlockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCheckboxBlockComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TuiModeDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
52
|
TuiCheckboxBlockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCheckboxBlockComponent, selector: "tui-checkbox-block", inputs: { contentAlign: "contentAlign", hideCheckbox: "hideCheckbox", size: "size" }, host: { properties: { "attr.data-tui-host-align": "this.contentAlign", "class._hidden_checkbox": "this.hideCheckbox", "attr.data-size": "this.size", "class._active": "this.checked" } }, providers: [
|
|
52
53
|
tuiAsFocusableItemAccessor(TuiCheckboxBlockComponent),
|
|
53
54
|
tuiAsControl(TuiCheckboxBlockComponent),
|
|
54
|
-
], viewQueries: [{ propertyName: "checkbox", first: true, predicate: TuiCheckboxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"t-wrapper\">\n <div\n tuiWrapper\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocusVisible\"\n [hover]=\"pseudoHover\"\n [active]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n >\n <div class=\"t-content-wrapper\">\n <div class=\"t-content\">\n <tui-checkbox\n class=\"t-view\"\n [disabled]=\"computedDisabled || readOnly\"\n [nativeId]=\"nativeId\"\n [pseudoInvalid]=\"computedInvalid\"\n [pseudoFocus]=\"false\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [size]=\"checkboxSize\"\n [focusable]=\"focusable\"\n [ngModel]=\"value\"\n (
|
|
55
|
+
], viewQueries: [{ propertyName: "checkbox", first: true, predicate: TuiCheckboxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"t-wrapper\">\n <div\n tuiWrapper\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocusVisible\"\n [hover]=\"pseudoHover\"\n [active]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n >\n <div class=\"t-content-wrapper\">\n <div class=\"t-content\">\n <tui-checkbox\n class=\"t-view\"\n [disabled]=\"computedDisabled || readOnly\"\n [nativeId]=\"nativeId\"\n [pseudoInvalid]=\"computedInvalid\"\n [pseudoFocus]=\"false\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [size]=\"checkboxSize\"\n [focusable]=\"focusable\"\n [(ngModel)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n (focusVisibleChange)=\"onFocusVisible($event)\"\n ></tui-checkbox>\n <div class=\"t-label\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n </div>\n</label>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;border-radius:var(--tui-radius-m)}:host[data-size=m],:host[data-size=l]{font:var(--tui-font-text-m)}:host._disabled,:host._readonly{pointer-events:none}.t-wrapper{position:relative;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.t-content-wrapper{display:flex;flex-direction:column}:host[data-size=s] .t-content-wrapper{min-height:var(--tui-height-s)}:host[data-size=m] .t-content-wrapper{min-height:var(--tui-height-m)}:host[data-size=l] .t-content-wrapper{min-height:var(--tui-height-l)}.t-content{display:flex;align-items:center;min-height:inherit}:host[data-tui-host-align=right] .t-content{flex-direction:row-reverse}:host[data-size=s] .t-content{padding:0 1rem 0 .5rem}:host[data-size=s][data-tui-host-align=right] .t-content{padding:0 .5rem 0 1rem}:host[data-size=s]._hidden_checkbox .t-content{padding:0 1rem}:host[data-size=m] .t-content{padding:0 1rem 0 .75rem}:host[data-size=m][data-tui-host-align=right] .t-content{padding:0 .75rem 0 1rem}:host[data-size=m]._hidden_checkbox .t-content{padding:0 1.5rem}:host[data-size=l] .t-content{padding:0 1rem}:host[data-size=l]._hidden_checkbox .t-content{padding:0 2.25rem}.t-view{margin-top:.75rem;margin-right:.75rem;align-self:flex-start}:host[data-tui-host-align=right] .t-view{margin-left:.75rem;margin-right:0}:host[data-size=s] .t-view{margin-top:.5rem;margin-right:.5rem}:host[data-size=s][data-tui-host-align=right] .t-view{margin-left:.5rem}:host[data-size=m] .t-view{margin-top:.875rem}:host[data-size=l] .t-view{margin-top:1rem}:host._hidden_checkbox .t-view{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-grow:1}:host._hidden_checkbox .t-label{text-align:center}\n"], components: [{ type: i1.TuiCheckboxComponent, selector: "tui-checkbox", inputs: ["size"] }], directives: [{ type: i2.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
55
56
|
__decorate([
|
|
56
57
|
tuiDefaultProp()
|
|
57
58
|
], TuiCheckboxBlockComponent.prototype, "contentAlign", void 0);
|
|
@@ -110,4 +111,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
110
111
|
type: HostBinding,
|
|
111
112
|
args: ['class._active']
|
|
112
113
|
}] } });
|
|
113
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
114
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtYmxvY2suY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi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WREaXNhYmxlZFwiXG4gICAgICAgIFtmb2N1c109XCJjb21wdXRlZEZvY3VzVmlzaWJsZVwiXG4gICAgICAgIFtob3Zlcl09XCJwc2V1ZG9Ib3ZlclwiXG4gICAgICAgIFthY3RpdmVdPVwicHNldWRvQWN0aXZlXCJcbiAgICAgICAgW2ludmFsaWRdPVwiY29tcHV0ZWRJbnZhbGlkXCJcbiAgICA+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJ0LWNvbnRlbnQtd3JhcHBlclwiPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInQtY29udGVudFwiPlxuICAgICAgICAgICAgICAgIDx0dWktY2hlY2tib3hcbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJ0LXZpZXdcIlxuICAgICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiY29tcHV0ZWREaXNhYmxlZCB8fCByZWFkT25seVwiXG4gICAgICAgICAgICAgICAgICAgIFtuYXRpdmVJZF09XCJuYXRpdmVJZFwiXG4gICAgICAgICAgICAgICAgICAgIFtwc2V1ZG9JbnZhbGlkXT1cImNvbXB1dGVkSW52YWxpZFwiXG4gICAgICAgICAgICAgICAgICAgIFtwc2V1ZG9Gb2N1c109XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgICAgIFtwc2V1ZG9Ib3Zlcl09XCJwc2V1ZG9Ib3ZlclwiXG4gICAgICAgICAgICAgICAgICAgIFtwc2V1ZG9BY3RpdmVdPVwicHNldWRvQWN0aXZlXCJcbiAgICAgICAgICAgICAgICAgICAgW3NpemVdPVwiY2hlY2tib3hTaXplXCJcbiAgICAgICAgICAgICAgICAgICAgW2ZvY3VzYWJsZV09XCJmb2N1c2FibGVcIlxuICAgICAgICAgICAgICAgICAgICBbKG5nTW9kZWwpXT1cInZhbHVlXCJcbiAgICAgICAgICAgICAgICAgICAgKGZvY3VzZWRDaGFuZ2UpPVwib25Gb2N1c2VkKCRldmVudClcIlxuICAgICAgICAgICAgICAgICAgICAoZm9jdXNWaXNpYmxlQ2hhbmdlKT1cIm9uRm9jdXNWaXNpYmxlKCRldmVudClcIlxuICAgICAgICAgICAgICAgID48L3R1aS1jaGVja2JveD5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidC1sYWJlbFwiPlxuICAgICAgICAgICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L2xhYmVsPlxuIl19
|
|
@@ -27,15 +27,16 @@ export class TuiCheckboxLabeledComponent extends AbstractTuiNullableControl {
|
|
|
27
27
|
onFocused(focused) {
|
|
28
28
|
this.updateFocused(focused);
|
|
29
29
|
}
|
|
30
|
+
/** @deprecated use 'value' setter */
|
|
30
31
|
onModelChange(value) {
|
|
31
|
-
this.
|
|
32
|
+
this.value = value;
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
TuiCheckboxLabeledComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCheckboxLabeledComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TuiModeDirective, optional: true }, { token: TUI_CHECKBOX_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
36
|
TuiCheckboxLabeledComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCheckboxLabeledComponent, selector: "tui-checkbox-labeled", inputs: { size: "size" }, host: { properties: { "attr.data-size": "this.size", "attr.data-mode": "this.hostMode" } }, providers: [
|
|
36
37
|
tuiAsFocusableItemAccessor(TuiCheckboxLabeledComponent),
|
|
37
38
|
tuiAsControl(TuiCheckboxLabeledComponent),
|
|
38
|
-
], viewQueries: [{ propertyName: "checkbox", first: true, predicate: TuiCheckboxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"t-wrapper\">\n <tui-checkbox\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [focusable]=\"focusable\"\n [nativeId]=\"nativeId\"\n [pseudoInvalid]=\"computedInvalid\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [size]=\"size\"\n [ngModel]=\"value\"\n (
|
|
39
|
+
], viewQueries: [{ propertyName: "checkbox", first: true, predicate: TuiCheckboxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<label class=\"t-wrapper\">\n <tui-checkbox\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [focusable]=\"focusable\"\n [nativeId]=\"nativeId\"\n [pseudoInvalid]=\"computedInvalid\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [size]=\"size\"\n [(ngModel)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n ></tui-checkbox>\n <div\n class=\"t-content\"\n [class.t-content_disabled]=\"computedDisabled\"\n >\n <ng-content></ng-content>\n </div>\n</label>\n", styles: [":host{position:relative;display:block;line-height:0}:host._disabled,:host._readonly{pointer-events:none}.t-wrapper{display:inline-flex;max-width:100%;cursor:pointer}:host._disabled .t-wrapper{cursor:default}:host[data-mode=onDark] .t-wrapper{color:var(--tui-text-01-night)}.t-content{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled{opacity:var(--tui-disabled-opacity)}:host[data-size=m] .t-content{margin-left:.5rem}:host[data-size=l] .t-content{font:var(--tui-font-text-m);margin-left:.75rem}\n"], components: [{ type: i1.TuiCheckboxComponent, selector: "tui-checkbox", inputs: ["size"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
39
40
|
__decorate([
|
|
40
41
|
tuiDefaultProp()
|
|
41
42
|
], TuiCheckboxLabeledComponent.prototype, "size", void 0);
|
|
@@ -81,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
81
82
|
type: HostBinding,
|
|
82
83
|
args: ['attr.data-mode']
|
|
83
84
|
}] } });
|
|
84
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtbGFiZWxlZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9jaGVja2JveC1sYWJlbGVkL2NoZWNrYm94LWxhYmVsZWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvY2hlY2tib3gtbGFiZWxlZC9jaGVja2JveC1sYWJlbGVkLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxXQUFXLEVBQ1gsTUFBTSxFQUNOLEtBQUssRUFDTCxRQUFRLEVBQ1IsSUFBSSxFQUNKLFNBQVMsR0FDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsU0FBUyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDekMsT0FBTyxFQUNILDBCQUEwQixFQUMxQixZQUFZLEVBQ1osMEJBQTBCLEVBQzFCLGNBQWMsRUFFZCxrQkFBa0IsR0FFckIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUNILG9CQUFvQ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1jaGVja2JveFxuICAgICAgICBbZGlzYWJsZWRdPVwiY29tcHV0ZWREaXNhYmxlZFwiXG4gICAgICAgIFtyZWFkT25seV09XCJyZWFkT25seVwiXG4gICAgICAgIFtmb2N1c2FibGVdPVwiZm9jdXNhYmxlXCJcbiAgICAgICAgW25hdGl2ZUlkXT1cIm5hdGl2ZUlkXCJcbiAgICAgICAgW3BzZXVkb0ludmFsaWRdPVwiY29tcHV0ZWRJbnZhbGlkXCJcbiAgICAgICAgW3BzZXVkb0ZvY3VzXT1cInBzZXVkb0ZvY3VzXCJcbiAgICAgICAgW3BzZXVkb0hvdmVyXT1cInBzZXVkb0hvdmVyXCJcbiAgICAgICAgW3BzZXVkb0FjdGl2ZV09XCJwc2V1ZG9BY3RpdmVcIlxuICAgICAgICBbc2l6ZV09XCJzaXplXCJcbiAgICAgICAgWyhuZ01vZGVsKV09XCJ2YWx1ZVwiXG4gICAgICAgIChmb2N1c2VkQ2hhbmdlKT1cIm9uRm9jdXNlZCgkZXZlbnQpXCJcbiAgICA+PC90dWktY2hlY2tib3g+XG4gICAgPGRpdlxuICAgICAgICBjbGFzcz1cInQtY29udGVudFwiXG4gICAgICAgIFtjbGFzcy50LWNvbnRlbnRfZGlzYWJsZWRdPVwiY29tcHV0ZWREaXNhYmxlZFwiXG4gICAgPlxuICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG48L2xhYmVsPlxuIl19
|
|
@@ -11,7 +11,7 @@ export class TuiComboBoxStrictDirective {
|
|
|
11
11
|
}
|
|
12
12
|
onInput() {
|
|
13
13
|
if (!this.strict && this.comboBox.search) {
|
|
14
|
-
this.comboBox.
|
|
14
|
+
this.comboBox.value = this.comboBox.search;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
34
34
|
type: HostListener,
|
|
35
35
|
args: ['input']
|
|
36
36
|
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tYm8tYm94LXN0cmljdC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9jb21iby1ib3gvY29tYm8tYm94LXN0cmljdC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDckUsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUU3QyxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQzs7O0FBSzNELE1BQU0sT0FBTywwQkFBMEI7SUFLbkMsWUFFcUIsUUFBMEM7UUFBMUMsYUFBUSxHQUFSLFFBQVEsQ0FBa0M7UUFKL0QsV0FBTSxHQUFHLElBQUksQ0FBQztJQUtYLENBQUM7SUFHSixPQUFPO1FBQ0gsSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLElBQUksSUFBSSxDQUFDLFFBQVEsQ0FBQyxNQUFNLEVBQUU7WUFDdEMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUM7U0FDOUM7SUFDTCxDQUFDOzt3SEFmUSwwQkFBMEIsa0JBTXZCLG9CQUFvQjs0R0FOdkIsMEJBQTBCO0FBR25DO0lBREMsY0FBYyxFQUFFOzBEQUNIOzRGQUhMLDBCQUEwQjtrQkFIdEMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsdUJBQXVCO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