@rangertechnologies/ngnxt 2.2.0 → 2.2.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/package.json
CHANGED
|
Binary file
|
|
@@ -614,6 +614,13 @@ declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
|
|
|
614
614
|
highlightText(text: string, searchTerm: string): string;
|
|
615
615
|
private sanitizeHtml;
|
|
616
616
|
removeValueEmit(): void;
|
|
617
|
+
getCardImageUrl(item: any): string;
|
|
618
|
+
getCardPrimaryText(item: any): string;
|
|
619
|
+
getCardSubTitleText(item: any): string;
|
|
620
|
+
getCardBadges(item: any): Array<{
|
|
621
|
+
text: string;
|
|
622
|
+
icon?: string;
|
|
623
|
+
}>;
|
|
617
624
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtSearchBox, never>;
|
|
618
625
|
static ɵcmp: i0.ɵɵComponentDeclaration<NxtSearchBox, "nxt-search-box", never, { "placeHolderText": { "alias": "placeHolderText"; "required": false; }; "question": { "alias": "question"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "id": { "alias": "id"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "value": { "alias": "value"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; }, { "searchValueChange": "searchValueChange"; }, never, never, true, never>;
|
|
619
626
|
}
|
|
@@ -990,12 +997,17 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
|
|
|
990
997
|
searchText: string;
|
|
991
998
|
filteredOptions: any[];
|
|
992
999
|
selectedValues: any[];
|
|
1000
|
+
private searchSubject;
|
|
1001
|
+
private destroy$;
|
|
1002
|
+
private selectedOptionsPool;
|
|
993
1003
|
constructor(countryService: CountryService, translationService: TranslationService, changeService: ChangeService, dataService: DataService, storageService: StorageService, cdr: ChangeDetectorRef);
|
|
994
1004
|
ngOnInit(): void;
|
|
995
1005
|
ngOnChanges(changes: SimpleChanges): void;
|
|
996
1006
|
ngOnDestroy(): void;
|
|
997
|
-
getOptions(): void;
|
|
1007
|
+
getOptions(searchKeyword?: string): void;
|
|
1008
|
+
private fetchOptionsFromApi;
|
|
998
1009
|
toggle(event?: Event): void;
|
|
1010
|
+
closeDropdown(event?: Event): void;
|
|
999
1011
|
openOptions(): void;
|
|
1000
1012
|
toggleOption(option: any, event?: Event): void;
|
|
1001
1013
|
addSearchTextAsOption(event?: Event): void;
|
|
@@ -1022,9 +1034,13 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
|
|
|
1022
1034
|
highlightOptionText(text: string): string;
|
|
1023
1035
|
getOptionValue(option: any): any;
|
|
1024
1036
|
onDocumentClick(event: MouseEvent): void;
|
|
1037
|
+
private toArray;
|
|
1038
|
+
private parseApiMeta;
|
|
1039
|
+
private recordSelectedOption;
|
|
1025
1040
|
private normalizeSelectedValues;
|
|
1026
1041
|
private getChangeField;
|
|
1027
1042
|
private getComparableValue;
|
|
1043
|
+
getSelectedRecord(value: any): any;
|
|
1028
1044
|
private findOptionByValue;
|
|
1029
1045
|
private findExactOptionByText;
|
|
1030
1046
|
private isTextSelected;
|
|
@@ -1037,6 +1053,13 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
|
|
|
1037
1053
|
private sanitizeHtml;
|
|
1038
1054
|
private normalizeText;
|
|
1039
1055
|
private focusSearchInput;
|
|
1056
|
+
getCardImageUrl(item: any): string;
|
|
1057
|
+
getCardPrimaryText(item: any): string;
|
|
1058
|
+
getCardSubTitleText(item: any): string;
|
|
1059
|
+
getCardBadges(item: any): Array<{
|
|
1060
|
+
text: string;
|
|
1061
|
+
icon?: string;
|
|
1062
|
+
}>;
|
|
1040
1063
|
static ɵfac: i0.ɵɵFactoryDeclaration<NxtMultiSelect, never>;
|
|
1041
1064
|
static ɵcmp: i0.ɵɵComponentDeclaration<NxtMultiSelect, "nxt-multi-select", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "progressBar": { "alias": "progressBar"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fromShengel": { "alias": "fromShengel"; "required": false; }; "question": { "alias": "question"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "from": { "alias": "from"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "onlyView": { "alias": "onlyView"; "required": false; }; "labelFont": { "alias": "labelFont"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelColor": { "alias": "labelColor"; "required": false; }; "inputTextColor": { "alias": "inputTextColor"; "required": false; }; "labelSize": { "alias": "labelSize"; "required": false; }; "inputValueSize": { "alias": "inputValueSize"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "inputWeight": { "alias": "inputWeight"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputIconLeftSrc": { "alias": "inputIconLeftSrc"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "allowCustomOptions": { "alias": "allowCustomOptions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
1042
1065
|
}
|
|
Binary file
|