@iapps/ng-dhis2-ui 1.1.51 → 1.1.53
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/iapps-ng-dhis2-ui.mjs +168 -56
- package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/modules/breadcrumb/breadcrumb.module.d.ts +8 -0
- package/lib/modules/breadcrumb/components/breadcrumb-item.component.d.ts +6 -0
- package/lib/modules/breadcrumb/containers/breadcrumb.component.d.ts +12 -0
- package/lib/modules/breadcrumb/index.d.ts +3 -0
- package/lib/modules/breadcrumb/models/breadcrumb-item.model.d.ts +6 -0
- package/lib/modules/breadcrumb/models/index.d.ts +1 -0
- package/lib/modules/form/utils/field-type.util.d.ts +1 -1
- package/lib/modules/form/utils/field.util.d.ts +1 -1
- package/lib/shared/hooks/dynamic-styles.hook.d.ts +1 -1
- package/lib/shared/utils/predefinedDimensions.d.ts +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './lib/modules/header-bar';
|
|
2
2
|
export * from './lib/modules/button';
|
|
3
|
+
export * from './lib/modules/breadcrumb';
|
|
3
4
|
export * from './lib/modules/period-selector';
|
|
4
5
|
export * from './lib/modules/organisation-unit-selector';
|
|
5
6
|
export * from './lib/modules/react-wrapper/react-wrapper.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./containers/breadcrumb.component.tsx";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class BreadcrumbModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BreadcrumbModule, [typeof i1.BreadcrumbComponent], [typeof i2.CommonModule], [typeof i1.BreadcrumbComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BreadcrumbModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ReactWrapperModule } from '../../react-wrapper/react-wrapper.component';
|
|
3
|
+
import { BreadcrumbItem } from '../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BreadcrumbComponent extends ReactWrapperModule {
|
|
6
|
+
#private;
|
|
7
|
+
breadcrumbs: import("@angular/core").InputSignal<BreadcrumbItem[]>;
|
|
8
|
+
selectBreadcrumb: EventEmitter<BreadcrumbItem>;
|
|
9
|
+
ngAfterViewInit(): Promise<void>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "ng-dhis2-ui-breadcrumb", never, { "breadcrumbs": { "alias": "breadcrumbs"; "required": true; "isSignal": true; }; }, { "selectBreadcrumb": "selectBreadcrumb"; }, never, ["*"], false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './breadcrumb-item.model';
|
|
@@ -3,7 +3,7 @@ import { DropdownOption } from '../models';
|
|
|
3
3
|
export declare class FieldUtil {
|
|
4
4
|
static getFieldDropdownOptions(field: any): DropdownOption[];
|
|
5
5
|
static sanitizeOptions(options: any[]): any;
|
|
6
|
-
static getFieldType(valueType: string): "number" | "
|
|
6
|
+
static getFieldType(valueType: string): "number" | "text" | "tel" | "date" | "org-unit" | "file";
|
|
7
7
|
static getFieldControlType(valueType: string, hasOptions: boolean): FieldControlType;
|
|
8
8
|
static getOptionEntities?(options: any[]): any;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useDynamicStyles: <T extends Record<string,
|
|
1
|
+
export declare const useDynamicStyles: <T extends Record<string, any>>(stylesObj: T) => { [K in keyof T]: string; };
|
|
@@ -11,19 +11,19 @@ export declare const getFixedDimensions: () => {
|
|
|
11
11
|
id: string;
|
|
12
12
|
name: any;
|
|
13
13
|
iconName: string;
|
|
14
|
-
icon:
|
|
14
|
+
icon: React.FC<import("@dhis2/ui-icons").IconProps>;
|
|
15
15
|
};
|
|
16
16
|
pe: {
|
|
17
17
|
id: string;
|
|
18
18
|
name: any;
|
|
19
19
|
iconName: string;
|
|
20
|
-
icon:
|
|
20
|
+
icon: React.FC<import("@dhis2/ui-icons").IconProps>;
|
|
21
21
|
};
|
|
22
22
|
ou: {
|
|
23
23
|
id: string;
|
|
24
24
|
name: any;
|
|
25
25
|
iconName: string;
|
|
26
|
-
icon:
|
|
26
|
+
icon: React.FC<import("@dhis2/ui-icons").IconProps>;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
export declare const getDynamicDimensions: () => {
|
|
@@ -47,19 +47,19 @@ export declare const getPredefinedDimensions: () => {
|
|
|
47
47
|
id: string;
|
|
48
48
|
name: any;
|
|
49
49
|
iconName: string;
|
|
50
|
-
icon:
|
|
50
|
+
icon: React.FC<import("@dhis2/ui-icons").IconProps>;
|
|
51
51
|
};
|
|
52
52
|
pe: {
|
|
53
53
|
id: string;
|
|
54
54
|
name: any;
|
|
55
55
|
iconName: string;
|
|
56
|
-
icon:
|
|
56
|
+
icon: React.FC<import("@dhis2/ui-icons").IconProps>;
|
|
57
57
|
};
|
|
58
58
|
ou: {
|
|
59
59
|
id: string;
|
|
60
60
|
name: any;
|
|
61
61
|
iconName: string;
|
|
62
|
-
icon:
|
|
62
|
+
icon: React.FC<import("@dhis2/ui-icons").IconProps>;
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
export declare const filterOutPredefinedDimensions: (dimensionIds: string[]) => string[];
|