@rangertechnologies/ngnxt 2.1.331 → 2.1.332
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/fesm2022/rangertechnologies-ngnxt.mjs +106 -30
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/nxt-dropdown/nxt-dropdown.component.d.ts +3 -0
- package/lib/services/translation/indexeddb-reader.service.d.ts +13 -0
- package/lib/services/translation/translation.service.d.ts +3 -1
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.332.tgz +0 -0
- package/rangertechnologies-ngnxt-2.1.331.tgz +0 -0
|
@@ -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
|
Binary file
|
|
Binary file
|