@rangertechnologies/ngnxt 2.2.1 → 2.2.3

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.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0"
@@ -614,6 +614,14 @@ declare class NxtSearchBox implements OnInit, OnChanges, OnDestroy {
614
614
  highlightText(text: string, searchTerm: string): string;
615
615
  private sanitizeHtml;
616
616
  removeValueEmit(): void;
617
+ isCardSelected(): boolean;
618
+ getCardImageUrl(item: any): string;
619
+ getCardPrimaryText(item: any): string;
620
+ getCardSubTitleText(item: any): string;
621
+ getCardBadges(item: any): Array<{
622
+ text: string;
623
+ icon?: string;
624
+ }>;
617
625
  static ɵfac: i0.ɵɵFactoryDeclaration<NxtSearchBox, never>;
618
626
  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
627
  }
@@ -1000,6 +1008,7 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
1000
1008
  getOptions(searchKeyword?: string): void;
1001
1009
  private fetchOptionsFromApi;
1002
1010
  toggle(event?: Event): void;
1011
+ closeDropdown(event?: Event): void;
1003
1012
  openOptions(): void;
1004
1013
  toggleOption(option: any, event?: Event): void;
1005
1014
  addSearchTextAsOption(event?: Event): void;
@@ -1032,6 +1041,7 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
1032
1041
  private normalizeSelectedValues;
1033
1042
  private getChangeField;
1034
1043
  private getComparableValue;
1044
+ getSelectedRecord(value: any): any;
1035
1045
  private findOptionByValue;
1036
1046
  private findExactOptionByText;
1037
1047
  private isTextSelected;
@@ -1044,6 +1054,13 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
1044
1054
  private sanitizeHtml;
1045
1055
  private normalizeText;
1046
1056
  private focusSearchInput;
1057
+ getCardImageUrl(item: any): string;
1058
+ getCardPrimaryText(item: any): string;
1059
+ getCardSubTitleText(item: any): string;
1060
+ getCardBadges(item: any): Array<{
1061
+ text: string;
1062
+ icon?: string;
1063
+ }>;
1047
1064
  static ɵfac: i0.ɵɵFactoryDeclaration<NxtMultiSelect, never>;
1048
1065
  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
1066
  }
Binary file