nira-falcon 0.0.2 → 0.0.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/esm2022/lib/core-select/core-select.component.mjs +8 -5
- package/esm2022/lib/core-table/core-table/core-table.component.mjs +2 -2
- package/esm2022/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.mjs +1 -1
- package/esm2022/utils/constants.mjs +1 -13
- package/fesm2022/nira-falcon.mjs +7 -4
- package/fesm2022/nira-falcon.mjs.map +1 -1
- package/lib/core-select/core-select.component.d.ts +1 -1
- package/lib/core-table/core-table/core-table.component.d.ts +2 -2
- package/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.d.ts +1 -2
- package/package.json +2 -2
- package/utils/constants.d.ts +0 -11
|
@@ -35,6 +35,6 @@ export declare class CoreSelectComponent<T> {
|
|
|
35
35
|
onItemSelect(selectedItem: MenuItem<T>, isFromUi: boolean): void;
|
|
36
36
|
focusOut(): void;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreSelectComponent<any>, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CoreSelectComponent<any>, "core-select", never, { "titleKey": { "alias": "titleKey"; "required":
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CoreSelectComponent<any>, "core-select", never, { "titleKey": { "alias": "titleKey"; "required": true; }; "valueKey": { "alias": "valueKey"; "required": true; }; "items": { "alias": "items"; "required": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inputFormControl": { "alias": "inputFormControl"; "required": false; }; }, { "onItemSelected": "onItemSelected"; }, never, never, false, never>;
|
|
39
39
|
}
|
|
40
40
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { COLUMNS_TYPES
|
|
2
|
+
import { COLUMNS_TYPES } from 'projects/falcon-lib/src/utils/constants';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { NgxIndexedDBService } from 'ngx-indexed-db';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CoreTableComponent {
|
|
7
7
|
private dbService;
|
|
8
|
-
key:
|
|
8
|
+
key: string | undefined;
|
|
9
9
|
columnsSchema: any;
|
|
10
10
|
tableData: BehaviorSubject<any[]>;
|
|
11
11
|
responsive: boolean;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { NgxIndexedDBService } from 'ngx-indexed-db';
|
|
2
2
|
import { IModal, NiraModalConfig } from 'nira-modal';
|
|
3
|
-
import { TableKeys } from 'projects/falcon-lib/src/utils/constants';
|
|
4
3
|
import { Subject } from 'rxjs';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class CoreTableFilterDialogComponent implements IModal {
|
|
7
6
|
private dbService;
|
|
8
7
|
closeSubject: Subject<any>;
|
|
9
8
|
config: NiraModalConfig;
|
|
10
|
-
key:
|
|
9
|
+
key: string;
|
|
11
10
|
columnsSchema: any[];
|
|
12
11
|
dbTableFilter: any;
|
|
13
12
|
constructor(dbService: NgxIndexedDBService);
|
package/package.json
CHANGED
package/utils/constants.d.ts
CHANGED
|
@@ -64,14 +64,3 @@ export declare const ACTIVE_OPTIONS: {
|
|
|
64
64
|
title: string;
|
|
65
65
|
value: boolean;
|
|
66
66
|
}[];
|
|
67
|
-
export declare enum TableKeys {
|
|
68
|
-
OFFICES = "offices",
|
|
69
|
-
ROUTES = "routes",
|
|
70
|
-
STATES = "states",
|
|
71
|
-
USERS = "users",
|
|
72
|
-
VEHICLE_TYPES = "vehicleTypes",
|
|
73
|
-
FREIGHT_CHARGE_RULES = "freightChargeRules",
|
|
74
|
-
FREIGHT_CHARGE_TYPES = "freightChargeTypes",
|
|
75
|
-
FREIGHT_RULES = "freightRules",
|
|
76
|
-
CITIES = "cities"
|
|
77
|
-
}
|