@rangertechnologies/ngnxt 2.2.1 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0"
@@ -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
  }
@@ -1000,6 +1007,7 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
1000
1007
  getOptions(searchKeyword?: string): void;
1001
1008
  private fetchOptionsFromApi;
1002
1009
  toggle(event?: Event): void;
1010
+ closeDropdown(event?: Event): void;
1003
1011
  openOptions(): void;
1004
1012
  toggleOption(option: any, event?: Event): void;
1005
1013
  addSearchTextAsOption(event?: Event): void;
@@ -1032,6 +1040,7 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
1032
1040
  private normalizeSelectedValues;
1033
1041
  private getChangeField;
1034
1042
  private getComparableValue;
1043
+ getSelectedRecord(value: any): any;
1035
1044
  private findOptionByValue;
1036
1045
  private findExactOptionByText;
1037
1046
  private isTextSelected;
@@ -1044,6 +1053,13 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
1044
1053
  private sanitizeHtml;
1045
1054
  private normalizeText;
1046
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
+ }>;
1047
1063
  static ɵfac: i0.ɵɵFactoryDeclaration<NxtMultiSelect, never>;
1048
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>;
1049
1065
  }
Binary file