@rangertechnologies/ngnxt 2.1.331 → 2.1.333

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.
@@ -191,7 +191,7 @@ export declare class NxtDatatable {
191
191
  separateRowSelect(data: any, element: any): void;
192
192
  tableClick(data: any): void;
193
193
  getNestedValue(obj: any, path: string): any;
194
- filterRetain(filterkey: any, from?: any): void;
194
+ filterRetain(filterkeyMap: any, from?: any): void;
195
195
  removeDuplicates(objects: any): any[];
196
196
  deleteRecord(data: any, index: number): void;
197
197
  deleteRecordData(): void;
@@ -46,6 +46,8 @@ export declare class nxtDropdown implements OnInit {
46
46
  selectedOption: any;
47
47
  isLoading: boolean;
48
48
  noDataFound: boolean;
49
+ searchText: string;
50
+ filteredOptions: any[];
49
51
  ngOnInit(): void;
50
52
  ngOnChanges(changes: SimpleChanges): void;
51
53
  getOptions(): void;
@@ -54,6 +56,7 @@ export declare class nxtDropdown implements OnInit {
54
56
  onDocumentClick(event: MouseEvent): void;
55
57
  clearSelection(): void;
56
58
  inputValue(event: any, ques: any): void;
59
+ filterOptions(searchValue: any): void;
57
60
  static ɵfac: i0.ɵɵFactoryDeclaration<nxtDropdown, never>;
58
61
  static ɵcmp: i0.ɵɵComponentDeclaration<nxtDropdown, "nxt-dropdown", 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; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
59
62
  }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class IndexedDbReaderService {
3
+ private dbName;
4
+ private storeName;
5
+ private path;
6
+ private dbVersion;
7
+ private dbPromise;
8
+ constructor();
9
+ private initDB;
10
+ getTranslation(lang: string): Promise<any | null>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<IndexedDbReaderService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<IndexedDbReaderService>;
13
+ }
@@ -1,7 +1,9 @@
1
1
  import { DataService } from '../data/data.service';
2
+ import { IndexedDbReaderService } from './indexeddb-reader.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class TranslationService {
4
5
  private dataService;
6
+ private indexedDbReader;
5
7
  private translations;
6
8
  private currentLang;
7
9
  private translationsLoaded;
@@ -12,7 +14,7 @@ export declare class TranslationService {
12
14
  private formBuilderCurrentLang;
13
15
  private formBuilderTranslationsLoaded;
14
16
  formBuilderTranslationsLoaded$: import("rxjs").Observable<string>;
15
- constructor(dataService: DataService);
17
+ constructor(dataService: DataService, indexedDbReader: IndexedDbReaderService);
16
18
  load(): Promise<void>;
17
19
  private safeParse;
18
20
  flattenAppTranslations(translations: any): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.1.331",
3
+ "version": "2.1.333",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14"