ud-components 0.3.17 → 0.3.18
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/ud-components.mjs +19 -21
- package/fesm2022/ud-components.mjs.map +1 -1
- package/interfaces/table-display-column.interface.d.ts +1 -1
- package/lib/custom-table/custom-table.component.d.ts +2 -8
- package/package.json +1 -1
- package/pipes/to-observable/to-observable.pipe.d.ts +8 -0
- package/public-api.d.ts +1 -2
- package/enums/role.enum.d.ts +0 -9
- package/interfaces/floor.interface.d.ts +0 -7
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { CustomAction, TableMenuItem, TableQueryChange } from './custom-table.interface';
|
|
2
2
|
import { NumberOperator } from '../../enums/custom-table.enum';
|
|
3
|
-
import { Role } from '../../enums/role.enum';
|
|
4
3
|
import { TableDisplayColumnType } from '../../enums/table-display-column-type';
|
|
5
|
-
import { FloorInterface } from '../../interfaces/floor.interface';
|
|
6
4
|
import { TableDisplayColumn } from '../../interfaces/table-display-column.interface';
|
|
7
5
|
import { TranslateWrapperService } from '../../services/translate-wrapper/translate-wrapper.service';
|
|
8
6
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
@@ -43,10 +41,6 @@ export declare class CustomTableComponent implements OnInit {
|
|
|
43
41
|
* Custom actions
|
|
44
42
|
*/
|
|
45
43
|
customActions: CustomAction[];
|
|
46
|
-
/**
|
|
47
|
-
* Allowed roles
|
|
48
|
-
*/
|
|
49
|
-
allowedRoles: Role[];
|
|
50
44
|
/**
|
|
51
45
|
* Should have checkbox or not
|
|
52
46
|
*/
|
|
@@ -153,7 +147,7 @@ export declare class CustomTableComponent implements OnInit {
|
|
|
153
147
|
actionsTemplate: TemplateRef<any>;
|
|
154
148
|
selection: SelectionModel<any>;
|
|
155
149
|
selectedFilters: TableDisplayColumn[];
|
|
156
|
-
expandedElement:
|
|
150
|
+
expandedElement: any | null;
|
|
157
151
|
columnsToDisplayWithExpand: string[];
|
|
158
152
|
tableDisplayColumnType: typeof TableDisplayColumnType;
|
|
159
153
|
initSortedCol: TableDisplayColumn | null;
|
|
@@ -218,5 +212,5 @@ export declare class CustomTableComponent implements OnInit {
|
|
|
218
212
|
protected readonly NumberOperator: typeof NumberOperator;
|
|
219
213
|
protected readonly ActionType: typeof ActionType;
|
|
220
214
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomTableComponent, never>;
|
|
221
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomTableComponent, "ud-table", never, { "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "customActions": { "alias": "customActions"; "required": false; }; "
|
|
215
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomTableComponent, "ud-table", never, { "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "customActions": { "alias": "customActions"; "required": false; }; "haveCheckbox": { "alias": "haveCheckbox"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "paginationSizeOptions": { "alias": "paginationSizeOptions"; "required": false; }; "initialPageSize": { "alias": "initialPageSize"; "required": false; }; "specificSelectRow": { "alias": "specificSelectRow"; "required": false; }; "hasFilter": { "alias": "hasFilter"; "required": false; }; "expandableRows": { "alias": "expandableRows"; "required": false; }; "expandedItem": { "alias": "expandedItem"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "separateFilters": { "alias": "separateFilters"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "noTableDataMessage": { "alias": "noTableDataMessage"; "required": false; }; "actionsMenuEnabled": { "alias": "actionsMenuEnabled"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "totalElements": { "alias": "totalElements"; "required": false; }; "serverSideFiltering": { "alias": "serverSideFiltering"; "required": false; }; "disableHeader": { "alias": "disableHeader"; "required": false; }; }, { "delete": "delete"; "approve": "approve"; "reject": "reject"; "extend": "extend"; "add": "add"; "clicked": "clicked"; "queryChange": "queryChange"; }, ["actionsTemplate"], never, true, never>;
|
|
222
216
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToObservablePipe implements PipeTransform {
|
|
5
|
+
transform<T>(value: Observable<T> | T): Observable<T>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToObservablePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ToObservablePipe, "toObservable", true>;
|
|
8
|
+
}
|
package/public-api.d.ts
CHANGED
|
@@ -27,11 +27,9 @@ export * from './lib/toggle/toggle.component';
|
|
|
27
27
|
export * from './enums/application-status.enum';
|
|
28
28
|
export * from './enums/custom-table.enum';
|
|
29
29
|
export * from './enums/modal-input-type.enum';
|
|
30
|
-
export * from './enums/role.enum';
|
|
31
30
|
export * from './enums/snackbar-type.enum';
|
|
32
31
|
export * from './enums/table-display-column-type';
|
|
33
32
|
export * from './lib/kpi/kpi.enum';
|
|
34
|
-
export * from './interfaces/floor.interface';
|
|
35
33
|
export * from './interfaces/page-request.interface';
|
|
36
34
|
export * from './interfaces/phone.interface';
|
|
37
35
|
export * from './interfaces/supabase.interface';
|
|
@@ -42,6 +40,7 @@ export * from './lib/custom-table/custom-table.interface';
|
|
|
42
40
|
export * from './lib/kpi/kpi.interface';
|
|
43
41
|
export * from './lib/summary-view/summary-view.interface';
|
|
44
42
|
export * from './pipes/capitalize/capitalize.pipe';
|
|
43
|
+
export * from './pipes/to-observable/to-observable.pipe';
|
|
45
44
|
export * from './pipes/pluralize/pluralize.pipe';
|
|
46
45
|
export * from './pipes/safe/safe.pipe';
|
|
47
46
|
export * from './pipes/singular/singular.pipe';
|
package/enums/role.enum.d.ts
DELETED