imm-element-ui 1.3.5 → 1.3.7
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/crumb-action/crumb-action.component.mjs +26 -33
- package/esm2022/lib/grid/grid/grid.component.mjs +8 -2
- package/esm2022/lib/page-form/page-form.component.mjs +23 -12
- package/esm2022/lib/page-grid-list/page-grid-list.component.mjs +3 -3
- package/esm2022/lib/share/utils.mjs +4 -1
- package/fesm2022/imm-element-ui.mjs +58 -45
- package/fesm2022/imm-element-ui.mjs.map +1 -1
- package/lib/crumb-action/crumb-action.component.d.ts +3 -9
- package/lib/page-form/page-form.component.d.ts +3 -0
- package/package.json +1 -1
- package/src/lib/page-form/page-form.component.scss +27 -23
|
@@ -17,6 +17,8 @@ export declare class CrumbActionComponent extends AmComponent implements OnInit
|
|
|
17
17
|
actOp: Popover;
|
|
18
18
|
saveEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
19
19
|
addVisible: import("@angular/core").InputSignal<boolean | undefined>;
|
|
20
|
+
importVisible: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
exportVisible: import("@angular/core").InputSignal<boolean>;
|
|
20
22
|
newUrl: import("@angular/core").InputSignal<string>;
|
|
21
23
|
configNewPath: import("@angular/core").InputSignal<string>;
|
|
22
24
|
onExport: import("@angular/core").InputSignal<Function | undefined>;
|
|
@@ -29,16 +31,8 @@ export declare class CrumbActionComponent extends AmComponent implements OnInit
|
|
|
29
31
|
data: import("@angular/core").InputSignal<any>;
|
|
30
32
|
showAct: boolean;
|
|
31
33
|
menus: import("@angular/core").InputSignal<any[]>;
|
|
32
|
-
impVisible: import("@angular/core").InputSignal<boolean | undefined>;
|
|
33
|
-
expVisible: import("@angular/core").InputSignal<boolean | undefined>;
|
|
34
34
|
displayOpItems: import("@angular/core").Signal<any[]>;
|
|
35
35
|
newBtnTemplateRef: TemplateRef<any> | undefined;
|
|
36
|
-
listOpItems: {
|
|
37
|
-
label: string;
|
|
38
|
-
type: string;
|
|
39
|
-
icon: string;
|
|
40
|
-
auth: number;
|
|
41
|
-
}[];
|
|
42
36
|
isSave: import("@angular/core").Signal<boolean>;
|
|
43
37
|
loading: import("@angular/core").Signal<boolean>;
|
|
44
38
|
saveBtnDisable: import("@angular/core").InputSignal<boolean>;
|
|
@@ -58,5 +52,5 @@ export declare class CrumbActionComponent extends AmComponent implements OnInit
|
|
|
58
52
|
setSaveClass(): "danger" | "secondary";
|
|
59
53
|
ngOnDestroy(): void;
|
|
60
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrumbActionComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CrumbActionComponent, "app-crumb-action", never, { "isShowCog": { "alias": "isShowCog"; "required": false; "isSignal": true; }; "addVisible": { "alias": "addVisible"; "required": false; "isSignal": true; }; "
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrumbActionComponent, "app-crumb-action", never, { "isShowCog": { "alias": "isShowCog"; "required": false; "isSignal": true; }; "addVisible": { "alias": "addVisible"; "required": false; "isSignal": true; }; "importVisible": { "alias": "importVisible"; "required": false; "isSignal": true; }; "exportVisible": { "alias": "exportVisible"; "required": false; "isSignal": true; }; "newUrl": { "alias": "newUrl"; "required": false; "isSignal": true; }; "configNewPath": { "alias": "configNewPath"; "required": false; "isSignal": true; }; "onExport": { "alias": "onExport"; "required": false; "isSignal": true; }; "outlined": { "alias": "outlined"; "required": false; "isSignal": true; }; "isList": { "alias": "isList"; "required": false; "isSignal": true; }; "authLevel": { "alias": "authLevel"; "required": false; "isSignal": true; }; "actionList": { "alias": "actionList"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "menus": { "alias": "menus"; "required": false; "isSignal": true; }; "saveBtnDisable": { "alias": "saveBtnDisable"; "required": false; "isSignal": true; }; }, { "saveEvent": "saveEvent"; "cancelEvent": "cancelEvent"; "actionEvent": "actionEvent"; }, ["newBtnTemplateRef"], never, true, never>;
|
|
62
56
|
}
|
|
@@ -14,6 +14,7 @@ export declare class PageFormComponent extends AmComponent implements OnInit {
|
|
|
14
14
|
cForm: FormComponent;
|
|
15
15
|
customGrid: QueryList<GridComponent>;
|
|
16
16
|
tabForm: QueryList<FormComponent>;
|
|
17
|
+
showLog: import("@angular/core").Signal<boolean>;
|
|
17
18
|
addVisible: import("@angular/core").InputSignal<boolean | undefined>;
|
|
18
19
|
gridList: import("@angular/core").InputSignal<any[]>;
|
|
19
20
|
form: import("@angular/core").InputSignal<FormOptions>;
|
|
@@ -24,6 +25,7 @@ export declare class PageFormComponent extends AmComponent implements OnInit {
|
|
|
24
25
|
setTitle: import("@angular/core").InputSignal<string | undefined>;
|
|
25
26
|
actionList: import("@angular/core").InputSignal<PermissionBtn[]>;
|
|
26
27
|
modelLog: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
sidebarMode: import("@angular/core").WritableSignal<"left" | "right">;
|
|
27
29
|
formDisabled: import("@angular/core").InputSignal<Function | undefined>;
|
|
28
30
|
statusConf: import("@angular/core").InputSignal<any>;
|
|
29
31
|
formDetail: import("@angular/core").InputSignal<any>;
|
|
@@ -66,6 +68,7 @@ export declare class PageFormComponent extends AmComponent implements OnInit {
|
|
|
66
68
|
disabeldChild(disabeld: boolean): void;
|
|
67
69
|
setDisabled(): void;
|
|
68
70
|
tabClick(): void;
|
|
71
|
+
toggleLog(): void;
|
|
69
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageFormComponent, never>;
|
|
70
73
|
static ɵcmp: i0.ɵɵComponentDeclaration<PageFormComponent, "app-page-form", never, { "addVisible": { "alias": "addVisible"; "required": false; "isSignal": true; }; "gridList": { "alias": "gridList"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": true; "isSignal": true; }; "getPrmInput": { "alias": "getPrmInput"; "required": true; "isSignal": true; }; "statusSteps": { "alias": "statusSteps"; "required": false; "isSignal": true; }; "statusKey": { "alias": "statusKey"; "required": false; "isSignal": true; }; "hrefBtnList": { "alias": "hrefBtnList"; "required": false; "isSignal": true; }; "setTitle": { "alias": "setTitle"; "required": false; "isSignal": true; }; "actionList": { "alias": "actionList"; "required": false; "isSignal": true; }; "modelLog": { "alias": "modelLog"; "required": false; "isSignal": true; }; "formDisabled": { "alias": "formDisabled"; "required": false; "isSignal": true; }; "statusConf": { "alias": "statusConf"; "required": false; "isSignal": true; }; "formDetail": { "alias": "formDetail"; "required": false; "isSignal": true; }; "saveFunc": { "alias": "saveFunc"; "required": false; "isSignal": true; }; "configNewPath": { "alias": "configNewPath"; "required": false; "isSignal": true; }; "authLevel": { "alias": "authLevel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
71
74
|
}
|
package/package.json
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
.main {
|
|
2
|
-
height: calc(100vh - 128px);
|
|
3
|
-
}
|
|
4
|
-
:host ::ng-deep {
|
|
5
|
-
.main .ag-root-wrapper {
|
|
6
|
-
border-left: none !important; /* 移除所有边框 */
|
|
7
|
-
border-right: none !important;
|
|
8
|
-
border-bottom: none !important;
|
|
9
|
-
}
|
|
10
|
-
.form-action {
|
|
11
|
-
background: #e7e9ed !important;
|
|
12
|
-
color: var(--ag-text-color) !important;
|
|
13
|
-
border-color: #e7e9ed !important;
|
|
14
|
-
}
|
|
15
|
-
.form-action:not(:disabled):hover {
|
|
16
|
-
background-color: #d8dadd !important;
|
|
17
|
-
// color: #1F2937 !important;
|
|
18
|
-
border-color: #d8dadd;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
.form-panel {
|
|
22
|
-
border: solid 1px #dbdbdb;
|
|
23
|
-
}
|
|
1
|
+
.main {
|
|
2
|
+
height: calc(100vh - 128px);
|
|
3
|
+
}
|
|
4
|
+
:host ::ng-deep {
|
|
5
|
+
.main .ag-root-wrapper {
|
|
6
|
+
border-left: none !important; /* 移除所有边框 */
|
|
7
|
+
border-right: none !important;
|
|
8
|
+
border-bottom: none !important;
|
|
9
|
+
}
|
|
10
|
+
.form-action {
|
|
11
|
+
background: #e7e9ed !important;
|
|
12
|
+
color: var(--ag-text-color) !important;
|
|
13
|
+
border-color: #e7e9ed !important;
|
|
14
|
+
}
|
|
15
|
+
.form-action:not(:disabled):hover {
|
|
16
|
+
background-color: #d8dadd !important;
|
|
17
|
+
// color: #1F2937 !important;
|
|
18
|
+
border-color: #d8dadd;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.form-panel {
|
|
22
|
+
border: solid 1px #dbdbdb;
|
|
23
|
+
}
|
|
24
|
+
.icon-sidebar:hover {
|
|
25
|
+
color: var(--p-primary-color);
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|