imm-element-ui 1.1.6 → 1.1.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/form/form/form.component.mjs +10 -1
- package/esm2022/lib/row-selector/row-selector.component.mjs +11 -8
- package/fesm2022/imm-element-ui.mjs +38 -28
- package/fesm2022/imm-element-ui.mjs.map +1 -1
- package/lib/crumb-action/crumb-action.component.d.ts +1 -1
- package/lib/form/form/form.component.d.ts +5 -0
- package/lib/grid/grid/grid.component.d.ts +1 -1
- package/lib/row-selector/row-selector.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -53,7 +53,7 @@ export declare class CrumbActionComponent extends AmComponent implements OnInit
|
|
|
53
53
|
listAct(item: any): void;
|
|
54
54
|
actEvent(item: any): void;
|
|
55
55
|
toggleAct(event: any): void;
|
|
56
|
-
setSaveClass(): "
|
|
56
|
+
setSaveClass(): "secondary" | "danger";
|
|
57
57
|
ngOnDestroy(): void;
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrumbActionComponent, never>;
|
|
59
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<CrumbActionComponent, "app-crumb-action", never, { "isShowCog": { "alias": "isShowCog"; "required": false; "isSignal": true; }; "addVisible": { "alias": "addVisible"; "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>;
|
|
@@ -74,6 +74,11 @@ export declare class FormComponent {
|
|
|
74
74
|
* @param dataList 外部数据列表
|
|
75
75
|
*/
|
|
76
76
|
triggerDataEffect(dataList: ExternalData[]): void;
|
|
77
|
+
/**
|
|
78
|
+
* 触发字段禁用,针对表单字段
|
|
79
|
+
* @param keys 字段key列表
|
|
80
|
+
*/
|
|
81
|
+
triggerDisabledEffect(keys: string[]): void;
|
|
77
82
|
/**
|
|
78
83
|
* 动态设置字段禁用,禁用前清除字段dirty标记
|
|
79
84
|
* @param key 字段key
|
|
@@ -255,7 +255,7 @@ export declare class GridComponent {
|
|
|
255
255
|
rawPrm?: Search;
|
|
256
256
|
deleteEmit: import("@angular/core").OutputEmitterRef<number[]>;
|
|
257
257
|
addEmit: import("@angular/core").OutputEmitterRef<void>;
|
|
258
|
-
addType: import("@angular/core").InputSignal<"
|
|
258
|
+
addType: import("@angular/core").InputSignal<"select" | "none" | "handle" | undefined>;
|
|
259
259
|
selectData: import("@angular/core").InputSignal<any[] | undefined>;
|
|
260
260
|
showAct: import("@angular/core").InputSignal<boolean>;
|
|
261
261
|
actPos: import("@angular/core").InputSignal<"top" | "bottom">;
|
|
@@ -2,9 +2,11 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { Search } from '../am/am.component';
|
|
3
3
|
import { GridComponent, GridOptions } from '../grid/grid/grid.component';
|
|
4
4
|
import { ActionService } from '../service/action.service';
|
|
5
|
+
import { DatePipe } from '@angular/common';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class RowSelectorComponent {
|
|
7
8
|
private action;
|
|
9
|
+
private datePipe;
|
|
8
10
|
onOk: EventEmitter<any[]>;
|
|
9
11
|
grid: GridComponent;
|
|
10
12
|
title: import("@angular/core").InputSignal<string>;
|
|
@@ -13,7 +15,7 @@ export declare class RowSelectorComponent {
|
|
|
13
15
|
searchPrm: import("@angular/core").InputSignal<Search>;
|
|
14
16
|
visible: import("@angular/core").ModelSignal<boolean>;
|
|
15
17
|
innerVisible: boolean;
|
|
16
|
-
constructor(action: ActionService);
|
|
18
|
+
constructor(action: ActionService, datePipe: DatePipe);
|
|
17
19
|
api(): import("ag-grid-community").GridApi<any>;
|
|
18
20
|
cancel(): void;
|
|
19
21
|
ok(): void;
|