@anglr/select 16.1.0 → 17.0.0-beta.20260702112309
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/changelog.md +37 -0
- package/es2022/src/components/option/option.component.js +13 -8
- package/es2022/src/components/option/option.component.js.map +1 -1
- package/es2022/src/components/optionGroup/optgroup.component.js +6 -5
- package/es2022/src/components/optionGroup/optgroup.component.js.map +1 -1
- package/es2022/src/components/select/select.component.js +33 -21
- package/es2022/src/components/select/select.component.js.map +1 -1
- package/es2022/src/directives/highlightInstance/highlightInstance.directive.js +80 -0
- package/es2022/src/directives/highlightInstance/highlightInstance.directive.js.map +1 -0
- package/es2022/src/directives/highlightSearch/highlightSearch.directive.js +114 -0
- package/es2022/src/directives/highlightSearch/highlightSearch.directive.js.map +1 -0
- package/es2022/src/directives/highlightText/highlightText.directive.js +63 -0
- package/es2022/src/directives/highlightText/highlightText.directive.js.map +1 -0
- package/es2022/src/directives/index.js +3 -0
- package/es2022/src/directives/index.js.map +1 -1
- package/es2022/src/directives/normalStateTagTemplate/normalStateTagTemplate.directive.js +3 -3
- package/es2022/src/directives/normalStateTemplate/normalStateTemplate.directive.js +3 -3
- package/es2022/src/directives/optionGroupTemplate/optionGroupTemplate.directive.js +3 -3
- package/es2022/src/directives/optionTemplate/optionTemplate.directive.js +3 -3
- package/es2022/src/directives/selectAbsolute/selectAbsolute.directive.js +3 -3
- package/es2022/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.js +7 -5
- package/es2022/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.js.map +1 -1
- package/es2022/src/directives/selectEdit/selectEdit.directive.js +3 -3
- package/es2022/src/directives/selectFormControl/selectFormControl.directive.js +11 -7
- package/es2022/src/directives/selectFormControl/selectFormControl.directive.js.map +1 -1
- package/es2022/src/directives/selectMultipleKeepPopup/selectMultipleKeepPopup.directive.js +3 -3
- package/es2022/src/directives/selectNoCarret/selectNoCarret.directive.js +3 -3
- package/es2022/src/directives/selectPlaceholder/selectPlaceholder.directive.js +5 -4
- package/es2022/src/directives/selectPlaceholder/selectPlaceholder.directive.js.map +1 -1
- package/es2022/src/directives/withDirectAccess/withDirectAccess.directive.js +5 -4
- package/es2022/src/directives/withDirectAccess/withDirectAccess.directive.js.map +1 -1
- package/es2022/src/interfaces/plugins/popup/popup.interface.js.map +1 -1
- package/es2022/src/misc/classes/codeOptionsGatherer/codeOptionsGatherer.interface.js +6 -3
- package/es2022/src/misc/classes/codeOptionsGatherer/codeOptionsGatherer.interface.js.map +1 -1
- package/es2022/src/misc/classes/selectBus/selectBus.js +11 -7
- package/es2022/src/misc/classes/selectBus/selectBus.js.map +1 -1
- package/es2022/src/misc/classes/selectPluginInstances/selectPluginInstances.js +18 -9
- package/es2022/src/misc/classes/selectPluginInstances/selectPluginInstances.js.map +1 -1
- package/es2022/src/modules/select.module.js +4 -4
- package/es2022/src/pipes/addNewOption/addNewOption.pipe.js +3 -3
- package/es2022/src/pipes/displayOptionValue/displayOptionValue.pipe.js +7 -5
- package/es2022/src/pipes/displayOptionValue/displayOptionValue.pipe.js.map +1 -1
- package/es2022/src/pipes/displayValue/displayValue.pipe.js +9 -6
- package/es2022/src/pipes/displayValue/displayValue.pipe.js.map +1 -1
- package/es2022/src/pipes/getPlugin/getPlugin.pipe.js +3 -3
- package/es2022/src/pipes/groupedListOptions/groupedListOptions.pipe.js +3 -3
- package/es2022/src/pipes/hasValue/hasValue.pipe.js +3 -3
- package/es2022/src/pipes/optionCssClasses/optionCssClasses.pipe.js +3 -3
- package/es2022/src/plugins/interactions/simpleInteractions/simpleInteractions.component.js +3 -3
- package/es2022/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.js +3 -3
- package/es2022/src/plugins/liveSearch/editLiveSearch/editLiveSearch.component.js +13 -8
- package/es2022/src/plugins/liveSearch/editLiveSearch/editLiveSearch.component.js.map +1 -1
- package/es2022/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.js +7 -5
- package/es2022/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.js.map +1 -1
- package/es2022/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.js +7 -5
- package/es2022/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.js.map +1 -1
- package/es2022/src/plugins/normalState/editNormalState/editNormalState.component.js +9 -6
- package/es2022/src/plugins/normalState/editNormalState/editNormalState.component.js.map +1 -1
- package/es2022/src/plugins/normalState/simpleNormalState/simpleNormalState.component.js +5 -4
- package/es2022/src/plugins/normalState/simpleNormalState/simpleNormalState.component.js.map +1 -1
- package/es2022/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.js +7 -5
- package/es2022/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.js.map +1 -1
- package/es2022/src/plugins/optionsHandler/optionsHandlerBase.js +9 -6
- package/es2022/src/plugins/optionsHandler/optionsHandlerBase.js.map +1 -1
- package/es2022/src/plugins/optionsHandler/simpleOptionsHandler/simpleOptionsHandler.component.js +7 -5
- package/es2022/src/plugins/optionsHandler/simpleOptionsHandler/simpleOptionsHandler.component.js.map +1 -1
- package/es2022/src/plugins/popup/simplePopup/simplePopup.component.js +11 -5
- package/es2022/src/plugins/popup/simplePopup/simplePopup.component.js.map +1 -1
- package/es2022/src/plugins/positioner/commonPositioner/commonPositioner.component.js +3 -3
- package/es2022/src/plugins/positioner/noPositioner/noPositioner.component.js +3 -3
- package/es2022/src/plugins/positioner/popoverPositioner/popoverPositioner.component.js +3 -3
- package/es2022/src/plugins/valueHandler/dynamicValueHandler/dynamicValueHandler.component.js +13 -8
- package/es2022/src/plugins/valueHandler/dynamicValueHandler/dynamicValueHandler.component.js.map +1 -1
- package/es2022/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.js +7 -5
- package/es2022/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.js.map +1 -1
- package/package.json +19 -27
- package/src/directives/highlightInstance/highlightInstance.directive.d.ts +42 -0
- package/src/directives/highlightInstance/highlightInstance.directive.d.ts.map +1 -0
- package/src/directives/highlightSearch/highlightSearch.directive.d.ts +50 -0
- package/src/directives/highlightSearch/highlightSearch.directive.d.ts.map +1 -0
- package/src/directives/highlightText/highlightText.directive.d.ts +28 -0
- package/src/directives/highlightText/highlightText.directive.d.ts.map +1 -0
- package/src/directives/index.d.ts +3 -0
- package/src/directives/index.d.ts.map +1 -1
- package/src/interfaces/plugins/popup/popup.interface.d.ts +4 -0
- package/src/interfaces/plugins/popup/popup.interface.d.ts.map +1 -1
- package/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.d.ts +1 -1
- package/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/popup/simplePopup/simplePopup.component.d.ts +2 -1
- package/src/plugins/popup/simplePopup/simplePopup.component.d.ts.map +1 -1
- package/src/plugins/popup/simplePopup/simplePopup.component.html +2 -2
- package/styles/components/_popup.scss +6 -0
- package/styles/core/_defaultTheme.scss +5 -0
- package/version.bak +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ElementRef, Injector, OnDestroy, WritableSignal } from '@angular/core';
|
|
2
|
+
import { HighlightInstance } from '../highlightInstance/highlightInstance.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Direcitve that handles highlighting of search text, attached directly to option where highlighting should occur.
|
|
6
|
+
*/
|
|
7
|
+
export declare class HighlightSearch implements OnDestroy {
|
|
8
|
+
/**
|
|
9
|
+
* Instance of highlight instance
|
|
10
|
+
*/
|
|
11
|
+
protected highlightInstance: HighlightInstance;
|
|
12
|
+
/**
|
|
13
|
+
* Instance of element reference
|
|
14
|
+
*/
|
|
15
|
+
protected element: ElementRef<HTMLElement>;
|
|
16
|
+
/**
|
|
17
|
+
* All nodes that are children of this element and can be highlighted
|
|
18
|
+
*/
|
|
19
|
+
protected nodes: WritableSignal<Node[]>;
|
|
20
|
+
/**
|
|
21
|
+
* Array of registered text nodes that are currently active on this element
|
|
22
|
+
*/
|
|
23
|
+
protected textNodes: WritableSignal<Node[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Array of highlighted ranges that are currently active on this element
|
|
26
|
+
*/
|
|
27
|
+
protected ranges: WritableSignal<Range[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Instance of injector used for obtaining dependencies in templates
|
|
30
|
+
*/
|
|
31
|
+
injector: Injector;
|
|
32
|
+
constructor();
|
|
33
|
+
/**
|
|
34
|
+
* @inheritdoc
|
|
35
|
+
*/
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Adds nodes to the list of text nodes that are currently active on this element
|
|
39
|
+
* @param nodes - Nodes to be added
|
|
40
|
+
*/
|
|
41
|
+
addNodes(nodes: Node[]): void;
|
|
42
|
+
/**
|
|
43
|
+
* Removes nodes from the list of text nodes that are currently active on this element
|
|
44
|
+
* @param nodes - Nodes to be removed
|
|
45
|
+
*/
|
|
46
|
+
removeNodes(nodes: Node[]): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightSearch, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightSearch, "[highlightSearch]", ["highlightSearch"], {}, {}, never, never, true, never>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=highlightSearch.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlightSearch.directive.d.ts","sourceRoot":"","sources":["highlightSearch.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuC,UAAU,EAAU,QAAQ,EAAE,SAAS,EAAqB,cAAc,EAAC,MAAM,eAAe,CAAC;AAE/I,OAAO,EAAC,iBAAiB,EAAC,MAAM,kDAAkD,CAAC;;AAEnF;;GAEG;AACH,qBAKa,eAAgB,YAAW,SAAS;IAI7C;;OAEG;IACH,SAAS,CAAC,iBAAiB,EAAE,iBAAiB,CAA6B;IAE3E;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAAsB;IAEhE;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,IAAI,EAAE,CAAC,CAAc;IAErD;;OAEG;IACH,SAAS,CAAC,SAAS,EAAE,cAAc,CAAC,IAAI,EAAE,CAAC,CAAc;IAEzD;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,CAAc;IAIvD;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAoB;;IA0E7C;;OAEG;IACI,WAAW,IAAI,IAAI;IAQ1B;;;OAGG;IACI,QAAQ,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI;IAKpC;;;OAGG;IACI,WAAW,CAAC,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI;yCApI9B,eAAe;2CAAf,eAAe;CAwI3B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy, WritableSignal } from '@angular/core';
|
|
2
|
+
import { HighlightSearch } from '../highlightSearch/highlightSearch.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Directive that marks element that contains text that should be highlighted
|
|
6
|
+
*/
|
|
7
|
+
export declare class HighlightText implements OnDestroy {
|
|
8
|
+
/**
|
|
9
|
+
* Instance of element that will have highlighted text
|
|
10
|
+
*/
|
|
11
|
+
protected element: ElementRef<HTMLElement>;
|
|
12
|
+
/**
|
|
13
|
+
* Instance of HighlightSearch directive that is used to highlight text in the element
|
|
14
|
+
*/
|
|
15
|
+
protected highlightSearch: HighlightSearch | undefined | null;
|
|
16
|
+
/**
|
|
17
|
+
* Array of registered text nodes that are currently active on this element
|
|
18
|
+
*/
|
|
19
|
+
protected textNodes: WritableSignal<Node[]>;
|
|
20
|
+
constructor();
|
|
21
|
+
/**
|
|
22
|
+
* @inheritdoc
|
|
23
|
+
*/
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightText, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HighlightText, "[highlightText]", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=highlightText.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlightText.directive.d.ts","sourceRoot":"","sources":["highlightText.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuC,UAAU,EAAU,SAAS,EAAU,cAAc,EAAC,MAAM,eAAe,CAAC;AAE1H,OAAO,EAAC,eAAe,EAAC,MAAM,8CAA8C,CAAC;;AAE7E;;GAEG;AACH,qBAIa,aAAc,YAAW,SAAS;IAI3C;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAAsB;IAEhE;;OAEG;IACH,SAAS,CAAC,eAAe,EAAE,eAAe,GAAC,SAAS,GAAC,IAAI,CAA6C;IAEtG;;OAEG;IACH,SAAS,CAAC,SAAS,EAAE,cAAc,CAAC,IAAI,EAAE,CAAC,CAAc;;IA6CzD;;OAEG;IACI,WAAW,IAAI,IAAI;yCAjEjB,aAAa;2CAAb,aAAa;CAqEzB"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from './highlightInstance/highlightInstance.directive';
|
|
2
|
+
export * from './highlightSearch/highlightSearch.directive';
|
|
3
|
+
export * from './highlightText/highlightText.directive';
|
|
1
4
|
export * from './normalStateTemplate/normalStateTemplate.directive';
|
|
2
5
|
export * from './normalStateTagTemplate/normalStateTagTemplate.directive';
|
|
3
6
|
export * from './optionGroupTemplate/optionGroupTemplate.directive';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAC;AACpE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mEAAmE,CAAC;AAClF,cAAc,mCAAmC,CAAC;AAClD,cAAc,iDAAiD,CAAC;AAChE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mEAAmE,CAAC;AAClF,cAAc,mCAAmC,CAAC;AAClD,cAAc,iDAAiD,CAAC;AAChE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC"}
|
|
@@ -30,6 +30,10 @@ export interface PopupOptions<TCssClasses extends PopupCssClasses = PopupCssClas
|
|
|
30
30
|
* Indication whether are popup options visible, or not, force popup to be visible if set to true
|
|
31
31
|
*/
|
|
32
32
|
visible: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Indication whether is highlighting enabled for popup, if set to true, then popup will search query
|
|
35
|
+
*/
|
|
36
|
+
searchHighlighting: boolean;
|
|
33
37
|
/**
|
|
34
38
|
* Texts that are used within any Popup
|
|
35
39
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popup.interface.d.ts","sourceRoot":"","sources":["popup.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,2CAA2C,CAAC;AACvE,OAAO,EAAC,mBAAmB,EAAC,MAAM,yDAAyD,CAAC;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AAkB,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,KAAK,EAAE,UAAU,CAAC;IAElB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,KAAK,CAAC,MAAM,GAAG,OAAO,EAAE,YAAY,GAAG,MAAM,EAAE,QAAQ,SAAS,YAAY,GAAG,YAAY,CAAE,SAAQ,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,CAAC;CAEjK"}
|
|
@@ -14,7 +14,7 @@ export declare class FilterLiveSearch<TValue = unknown, TPublicValue = TValue> i
|
|
|
14
14
|
/**
|
|
15
15
|
* Instance of form value
|
|
16
16
|
*/
|
|
17
|
-
protected value: import("@angular/forms/signals").FieldTree<string, string | number>;
|
|
17
|
+
protected value: import("@angular/forms/signals").FieldTree<string, string | number, "writable">;
|
|
18
18
|
/**
|
|
19
19
|
* @inheritdoc
|
|
20
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterLiveSearch.component.d.ts","sourceRoot":"","sources":["filterLiveSearch.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkE,UAAU,EAAoC,MAAM,EAAE,cAAc,EAAC,MAAM,eAAe,CAAC;AAGpK,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAC,UAAU,EAAE,oBAAoB,EAAE,uBAAuB,EAAC,MAAM,qBAAqB,CAAC;AAC9F,OAAO,EAAC,qBAAqB,EAAE,SAAS,EAAC,MAAM,uBAAuB,CAAC;;AAiBvE;;GAEG;AACH,qBAea,gBAAgB,CAAC,MAAM,GAAG,OAAO,EAAE,YAAY,GAAG,MAAM,CAAE,YAAW,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,CAAC;IAI7J;;OAEG;IACH,SAAS,CAAC,gBAAgB,EAAE,cAAc,CAAC,OAAO,CAAC,CAAgB;IAInE;;OAEG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AGG;IACH,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCA7F1B,gBAAgB;2CAAhB,gBAAgB;CAiG5B"}
|
|
@@ -3,6 +3,7 @@ import { RecursivePartial } from '@jscrpt/common';
|
|
|
3
3
|
import { Popup, PopupOptions, SelectOptionState, SimplePopupCssClasses } from '../../../interfaces';
|
|
4
4
|
import { SelectPluginInstances, SelectBus } from '../../../misc/classes';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../../directives/highlightInstance/highlightInstance.directive";
|
|
6
7
|
/**
|
|
7
8
|
* Simple popup displaying options in column.
|
|
8
9
|
*/
|
|
@@ -44,6 +45,6 @@ export declare class SimplePopup<TValue = unknown, TPublicValue = TValue> implem
|
|
|
44
45
|
*/
|
|
45
46
|
protected markActive(option: SelectOptionState<TValue>): void;
|
|
46
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimplePopup<any, any>, [{ optional: true; }]>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimplePopup<any, any>, "simple-popup", never, {}, {}, never, never, true,
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimplePopup<any, any>, "simple-popup", never, {}, {}, never, never, true, [{ directive: typeof i1.HighlightInstance; inputs: {}; outputs: {}; }]>;
|
|
48
49
|
}
|
|
49
50
|
//# sourceMappingURL=simplePopup.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simplePopup.component.d.ts","sourceRoot":"","sources":["simplePopup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,UAAU,EAA4B,MAAM,EAAY,MAAM,eAAe,CAAC;AAGlI,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAC,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAgB,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AAChH,OAAO,EAAC,qBAAqB,EAAE,SAA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S,CAAC,UAAU,CAAC,MAAM,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,IAAI;yCAnFpD,WAAW;2CAAX,WAAW;CA4FvB"}
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
(mouseover)="markActive(option)"
|
|
38
38
|
(mousedown)="preventBlur($event)"
|
|
39
39
|
(click)="optionClick(option)">
|
|
40
|
-
<div [class]="options.cssClasses.optionText">
|
|
41
|
-
<ng-container *ngTemplateOutlet="selectBus.selectOptions().templateGatherer.optionTemplate() || defaultOptionLook; context: {$implicit: option, popup: this}"/>
|
|
40
|
+
<div [class]="options.cssClasses.optionText" highlightSearch #highlightSearch="highlightSearch">
|
|
41
|
+
<ng-container *ngTemplateOutlet="selectBus.selectOptions().templateGatherer.optionTemplate() || defaultOptionLook; context: {$implicit: option, popup: this}; injector: highlightSearch.injector"/>
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
@if(option.selected() && selectBus.selectOptions().multiple)
|
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
{
|
|
8
8
|
display: block;
|
|
9
9
|
|
|
10
|
+
::highlight(search-query)
|
|
11
|
+
{
|
|
12
|
+
text-decoration: var(--select-popup-option-searchHighlight-textDecoration);
|
|
13
|
+
text-shadow: var(--select-popup-option-searchHighlight-textShadow);
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
&[popover]:not(:popover-open):not(dialog[open])
|
|
11
17
|
{
|
|
12
18
|
display: none;
|
package/version.bak
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
17.0.0-beta.20260702112309
|