imm-element-ui 1.4.2 → 1.4.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/am/am.component.mjs +8 -2
- package/esm2022/lib/form/form/form.component.mjs +2 -2
- package/esm2022/lib/form/form-field/field-utils.mjs +6 -3
- package/esm2022/lib/page-form/page-form.component.mjs +1 -3
- package/fesm2022/imm-element-ui.mjs +150 -143
- package/fesm2022/imm-element-ui.mjs.map +1 -1
- package/lib/am/am.component.d.ts +2 -0
- package/lib/crumb-action/crumb-action.component.d.ts +1 -1
- package/lib/form/form-field/field-utils.d.ts +1 -1
- package/lib/grid/grid/grid.component.d.ts +2 -2
- package/lib/page-form/page-form.component.d.ts +0 -2
- package/package.json +1 -1
package/lib/am/am.component.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { SearchOptions } from '../search/search/search.component';
|
|
|
5
5
|
import { ConfirmationService, MessageService } from 'primeng/api';
|
|
6
6
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
7
|
import { LoadingService } from '../service/loading.service';
|
|
8
|
+
import { I18nService } from '../service/i18n.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export interface Param {
|
|
10
11
|
id?: number;
|
|
@@ -153,6 +154,7 @@ export declare class AmComponent {
|
|
|
153
154
|
loadingService: LoadingService;
|
|
154
155
|
route: ActivatedRoute;
|
|
155
156
|
router: Router;
|
|
157
|
+
i18n: I18nService;
|
|
156
158
|
constructor();
|
|
157
159
|
rfd(prm: Rfd): Observable<any>;
|
|
158
160
|
webget(param: amWeb): Observable<any>;
|
|
@@ -49,7 +49,7 @@ export declare class CrumbActionComponent extends AmComponent implements OnInit
|
|
|
49
49
|
listAct(item: any): void;
|
|
50
50
|
actEvent(item: any): void;
|
|
51
51
|
toggleAct(event: any): void;
|
|
52
|
-
setSaveClass(): "
|
|
52
|
+
setSaveClass(): "secondary" | "danger";
|
|
53
53
|
ngOnDestroy(): void;
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrumbActionComponent, never>;
|
|
55
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>;
|
|
@@ -9,6 +9,6 @@ export declare const fieldUtils: {
|
|
|
9
9
|
triggerHookAndSetValue: (field: FormField, value: any, emitEvent: boolean, emitHook: boolean, hookObservers: any[], callback: any, datePipe: DatePipe) => void;
|
|
10
10
|
fromFieldValue: (field: FormField, target: any, datePipe: DatePipe) => any;
|
|
11
11
|
preloadLog: (rawModel: any, fieldList: FormField[], datePipe: DatePipe) => any;
|
|
12
|
-
transLog: (rawModel: any, changedModel: any, mainValue: any, isNew: boolean) => string;
|
|
12
|
+
transLog: (rawModel: any, changedModel: any, mainValue: any, isNew: boolean, i18n: any) => string;
|
|
13
13
|
isFakedChange: (newValue: any, oldValue: any, field: FormField) => boolean;
|
|
14
14
|
};
|
|
@@ -256,10 +256,10 @@ export declare class GridComponent {
|
|
|
256
256
|
rawPrm?: Search;
|
|
257
257
|
deleteEmit: import("@angular/core").OutputEmitterRef<number[]>;
|
|
258
258
|
addEmit: import("@angular/core").OutputEmitterRef<void>;
|
|
259
|
-
addType: import("@angular/core").InputSignal<"
|
|
259
|
+
addType: import("@angular/core").InputSignal<"select" | "none" | "handle" | undefined>;
|
|
260
260
|
selectData: import("@angular/core").InputSignal<any[] | undefined>;
|
|
261
261
|
showAct: import("@angular/core").InputSignal<boolean>;
|
|
262
|
-
actPos: import("@angular/core").InputSignal<"
|
|
262
|
+
actPos: import("@angular/core").InputSignal<"top" | "bottom">;
|
|
263
263
|
authLevel: import("@angular/core").InputSignal<number>;
|
|
264
264
|
http: HttpClient;
|
|
265
265
|
renderer: Renderer2;
|
|
@@ -6,7 +6,6 @@ import { GridComponent, GridOptions } from '../grid/grid/grid.component';
|
|
|
6
6
|
import { AmComponent, Get } from '../am/am.component';
|
|
7
7
|
import { Search } from '../am/am.component';
|
|
8
8
|
import { HrefBtnList } from './page-form.interface';
|
|
9
|
-
import { I18nService } from '../service/i18n.service';
|
|
10
9
|
import { PermissionBtn } from './page-form.interface';
|
|
11
10
|
import { ActionService } from '../service/action.service';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
@@ -39,7 +38,6 @@ export declare class PageFormComponent extends AmComponent implements OnInit {
|
|
|
39
38
|
selectData: any[];
|
|
40
39
|
pageUrl: string;
|
|
41
40
|
newUrl: string;
|
|
42
|
-
i18n: I18nService;
|
|
43
41
|
authLevel: import("@angular/core").InputSignal<number>;
|
|
44
42
|
hrefs: any[];
|
|
45
43
|
action: ActionService;
|