imm-element-ui 0.1.5 → 0.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/am/am.component.mjs +2 -1
- package/esm2022/lib/crumb-action/crumb-action.component.mjs +4 -1
- package/esm2022/lib/page-form/page-form.component.mjs +10 -7
- package/esm2022/lib/page-form/page-form.interface.mjs +15 -2
- package/esm2022/public-api.mjs +7 -1
- package/fesm2022/imm-element-ui.mjs +43 -22
- package/fesm2022/imm-element-ui.mjs.map +1 -1
- package/lib/grid/grid/grid.component.d.ts +7 -7
- package/lib/grid/grid-utils.d.ts +529 -1
- package/lib/page-form/page-form.interface.d.ts +1 -0
- package/lib/service/themeConfig.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +6 -0
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
1
|
+
export const formTypeToProps = {
|
|
2
|
+
inputtext: 'inputTextProps',
|
|
3
|
+
inputnumber: 'inputNumberProps',
|
|
4
|
+
select: 'selectProps',
|
|
5
|
+
treeselect: 'treeSelectProps',
|
|
6
|
+
datepicker: 'datePickerProps',
|
|
7
|
+
autocomplete: 'autoCompleteProps',
|
|
8
|
+
multiselect: 'multiSelectProps',
|
|
9
|
+
radio: 'radioProps',
|
|
10
|
+
textarea: 'textAreaProps',
|
|
11
|
+
upload: 'uploadProps',
|
|
12
|
+
image: 'imageProps',
|
|
13
|
+
codemirror: 'codeMirrorProps',
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1mb3JtLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2ltbS1lbGVtZW50LXVpL3NyYy9saWIvcGFnZS1mb3JtL3BhZ2UtZm9ybS5pbnRlcmZhY2UudHMiXSwibmFt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clxufSJdfQ==
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -3,8 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from './lib/am/am.component';
|
|
5
5
|
export * from './lib/form/form/form.component';
|
|
6
|
+
export * from './lib/page-form/page-form.interface';
|
|
6
7
|
export * from './lib/crumb-action/crumb-action.component';
|
|
8
|
+
export * from './lib/grid/pager/pager.component';
|
|
7
9
|
export * from './lib/grid/grid/grid.component';
|
|
10
|
+
export * from './lib/grid/cell-edit/index';
|
|
11
|
+
export * from './lib/grid/grid-utils';
|
|
12
|
+
export * from './lib/grid/cell-render/link-render';
|
|
13
|
+
export * from './lib/grid/cell-render/async-renderer';
|
|
8
14
|
export * from './lib/head/head.component';
|
|
9
15
|
export * from './lib/import/import.component';
|
|
10
16
|
export * from './lib/log/log.component';
|
|
@@ -23,4 +29,4 @@ export * from './lib/service/userHistory.service';
|
|
|
23
29
|
export * from './lib/theme-config/theme-config.compoent';
|
|
24
30
|
// export * from './styles/styles.d.ts'
|
|
25
31
|
// export * from './lib/styles/styles.scss'
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2ltbS1lbGVtZW50LXVpL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsY0FBYyx1QkFBdUIsQ0FBQTtBQUVyQyxjQUFjLGdDQUFnQyxDQUFBO0FBQzlDLGNBQWMscUNBQXFDLENBQUE7QUFDbkQsY0FBYywyQ0FBMkMsQ0FBQTtBQUV6RCxjQUFjLGtDQUFrQyxDQUFBO0FBRWhELGNBQWMsZ0NBQWdDLENBQUE7QUFFOUMsY0FBYyw0QkFBNEIsQ0FBQTtBQ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G5cclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc3RlcHMvc3RlcHMuY29tcG9uZW50J1xyXG5cclxuZXhwb3J0ICogZnJvbSAnLi9saWIvcm93LXNlbGVjdG9yL3Jvdy1zZWxlY3Rvci5jb21wb25lbnQnXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZWFyY2gvc2VhcmNoL3NlYXJjaC5jb21wb25lbnQnXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9wYWdlLWZvcm0vcGFnZS1mb3JtLmludGVyZmFjZSdcclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2UvdXNlckhpc3Rvcnkuc2VydmljZSdcclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3RoZW1lLWNvbmZpZy90aGVtZS1jb25maWcuY29tcG9lbnQnXHJcbi8vIGV4cG9ydCAqIGZyb20gJy4vc3R5bGVzL3N0eWxlcy5kLnRzJ1xyXG5cclxuLy8gZXhwb3J0ICogZnJvbSAnLi9saWIvc3R5bGVzL3N0eWxlcy5zY3NzJyJdfQ==
|
|
@@ -67,7 +67,6 @@ import * as i2$9 from 'primeng/avatar';
|
|
|
67
67
|
import { AvatarModule } from 'primeng/avatar';
|
|
68
68
|
import * as i3$1 from 'primeng/tabs';
|
|
69
69
|
import { TabsModule } from 'primeng/tabs';
|
|
70
|
-
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
71
70
|
import Aura from '@primeng/themes/aura';
|
|
72
71
|
import * as i1$6 from 'primeng/styleclass';
|
|
73
72
|
import { StyleClassModule } from 'primeng/styleclass';
|
|
@@ -176,6 +175,7 @@ class AmComponent {
|
|
|
176
175
|
delete param.addData;
|
|
177
176
|
}
|
|
178
177
|
let updData = param.updData;
|
|
178
|
+
console.log('param----', param.updData);
|
|
179
179
|
if (Object.keys(updData).length == 0) {
|
|
180
180
|
delete param.updData;
|
|
181
181
|
}
|
|
@@ -3664,6 +3664,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3664
3664
|
args: ['window:resize', ['$event']]
|
|
3665
3665
|
}] } });
|
|
3666
3666
|
|
|
3667
|
+
const formTypeToProps = {
|
|
3668
|
+
inputtext: 'inputTextProps',
|
|
3669
|
+
inputnumber: 'inputNumberProps',
|
|
3670
|
+
select: 'selectProps',
|
|
3671
|
+
treeselect: 'treeSelectProps',
|
|
3672
|
+
datepicker: 'datePickerProps',
|
|
3673
|
+
autocomplete: 'autoCompleteProps',
|
|
3674
|
+
multiselect: 'multiSelectProps',
|
|
3675
|
+
radio: 'radioProps',
|
|
3676
|
+
textarea: 'textAreaProps',
|
|
3677
|
+
upload: 'uploadProps',
|
|
3678
|
+
image: 'imageProps',
|
|
3679
|
+
codemirror: 'codeMirrorProps',
|
|
3680
|
+
};
|
|
3681
|
+
|
|
3667
3682
|
class CrumbActionComponent {
|
|
3668
3683
|
constructor() {
|
|
3669
3684
|
this.userHistoryService = inject(UserHistoryService);
|
|
@@ -3726,6 +3741,9 @@ class CrumbActionComponent {
|
|
|
3726
3741
|
effect(() => {
|
|
3727
3742
|
this.listOpItems = this.listOpItems.filter((v) => this.authLevel() >= v.level);
|
|
3728
3743
|
});
|
|
3744
|
+
effect(() => {
|
|
3745
|
+
console.log('addVisible', this.addVisible());
|
|
3746
|
+
});
|
|
3729
3747
|
}
|
|
3730
3748
|
ngOnInit() { }
|
|
3731
3749
|
goNew() {
|
|
@@ -3784,6 +3802,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
3784
3802
|
args: ['newBtn', { descendants: false }]
|
|
3785
3803
|
}] } });
|
|
3786
3804
|
|
|
3805
|
+
class PagerComponent {
|
|
3806
|
+
constructor(action) {
|
|
3807
|
+
this.action = action;
|
|
3808
|
+
effect(() => {
|
|
3809
|
+
this.page = this.action.getPage();
|
|
3810
|
+
});
|
|
3811
|
+
}
|
|
3812
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PagerComponent, deps: [{ token: ActionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3813
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: PagerComponent, isStandalone: true, selector: "custom-pager", ngImport: i0, template: "@if (page?.total) {\r\n\t@if (page?.mode == 'client') {\r\n\t\t<div class=\"page-container flex p-2 items-center\">\r\n\t\t\t<span class=\"mr-2\">\u5171 {{ page ? page.total : 0 }} \u6761</span>\r\n\t\t</div>\r\n\t} @else {\r\n\t\t<div class=\"page-container flex p-2 items-center\">\r\n\t\t\t<span>{{ page ? (page.startRow || 0) + 1 : 0 }}</span>\r\n\t\t\t<span> - </span>\r\n\t\t\t<span>{{ page ? page.endRow : 0 }}</span>\r\n\t\t\t<span class=\"px-1\"> / </span>\r\n\t\t\t<span class=\"mr-2\">{{ page ? page.total : 0 }}</span>\r\n\t\t</div>\r\n\t}\r\n}\r\n", styles: [":host ::ng-deep .ms-down .p-button{border-radius:6px 0 0 6px;margin-right:1px}:host ::ng-deep .ms-up .p-button{border-radius:0 6px 6px 0;margin-left:1px}.page-container{color:#334155}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }] }); }
|
|
3814
|
+
}
|
|
3815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PagerComponent, decorators: [{
|
|
3816
|
+
type: Component,
|
|
3817
|
+
args: [{ selector: 'custom-pager', standalone: true, imports: [ButtonModule], template: "@if (page?.total) {\r\n\t@if (page?.mode == 'client') {\r\n\t\t<div class=\"page-container flex p-2 items-center\">\r\n\t\t\t<span class=\"mr-2\">\u5171 {{ page ? page.total : 0 }} \u6761</span>\r\n\t\t</div>\r\n\t} @else {\r\n\t\t<div class=\"page-container flex p-2 items-center\">\r\n\t\t\t<span>{{ page ? (page.startRow || 0) + 1 : 0 }}</span>\r\n\t\t\t<span> - </span>\r\n\t\t\t<span>{{ page ? page.endRow : 0 }}</span>\r\n\t\t\t<span class=\"px-1\"> / </span>\r\n\t\t\t<span class=\"mr-2\">{{ page ? page.total : 0 }}</span>\r\n\t\t</div>\r\n\t}\r\n}\r\n", styles: [":host ::ng-deep .ms-down .p-button{border-radius:6px 0 0 6px;margin-right:1px}:host ::ng-deep .ms-up .p-button{border-radius:0 6px 6px 0;margin-left:1px}.page-container{color:#334155}\n"] }]
|
|
3818
|
+
}], ctorParameters: () => [{ type: ActionService }] });
|
|
3819
|
+
|
|
3787
3820
|
class ThemeConfigService {
|
|
3788
3821
|
constructor() {
|
|
3789
3822
|
this.STORAGE_KEY = 'themeConfigState';
|
|
@@ -6316,14 +6349,18 @@ class PageFormComponent extends AmComponent {
|
|
|
6316
6349
|
formDisFunc() {
|
|
6317
6350
|
this.formOptions.fields?.forEach((v) => {
|
|
6318
6351
|
v.group?.forEach((g) => {
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6352
|
+
let fieldDisabled = g[formTypeToProps[g.type]].disabled || false;
|
|
6353
|
+
if (this.formDisabled()(this.getPrm.data)) {
|
|
6354
|
+
this.cForm.getField(g.key)?.fieldControl.disable({ emitEvent: false });
|
|
6355
|
+
}
|
|
6356
|
+
else {
|
|
6357
|
+
!fieldDisabled && this.cForm.getField(g.key)?.fieldControl.enable({ emitEvent: false });
|
|
6358
|
+
}
|
|
6322
6359
|
});
|
|
6323
6360
|
});
|
|
6324
6361
|
}
|
|
6325
6362
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PageFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6326
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: PageFormComponent, isStandalone: true, selector: "app-page-form", inputs: { addVisible: { classPropertyName: "addVisible", publicName: "addVisible", isSignal: true, isRequired: false, transformFunction: null }, gridList: { classPropertyName: "gridList", publicName: "gridList", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: true, transformFunction: null }, getPrmInput: { classPropertyName: "getPrmInput", publicName: "getPrmInput", isSignal: true, isRequired: true, transformFunction: null }, statusSteps: { classPropertyName: "statusSteps", publicName: "statusSteps", isSignal: true, isRequired: false, transformFunction: null }, statusKey: { classPropertyName: "statusKey", publicName: "statusKey", isSignal: true, isRequired: false, transformFunction: null }, hrefBtnList: { classPropertyName: "hrefBtnList", publicName: "hrefBtnList", isSignal: true, isRequired: false, transformFunction: null }, setTitle: { classPropertyName: "setTitle", publicName: "setTitle", isSignal: true, isRequired: false, transformFunction: null }, actionList: { classPropertyName: "actionList", publicName: "actionList", isSignal: true, isRequired: false, transformFunction: null }, modelLog: { classPropertyName: "modelLog", publicName: "modelLog", isSignal: true, isRequired: false, transformFunction: null }, formDisabled: { classPropertyName: "formDisabled", publicName: "formDisabled", isSignal: true, isRequired: false, transformFunction: null }, authLevel: { classPropertyName: "authLevel", publicName: "authLevel", isSignal: true, isRequired: false, transformFunction: null } }, providers: [], viewQueries: [{ propertyName: "customGrid", first: true, predicate: ["customGrid"], descendants: true }, { propertyName: "cForm", first: true, predicate: ["cForm"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"overflow-hidden\">\r\n <div class=\"flex items-center justify-between py-1 px-1 border-b-[1px] border-[#dbdbdb] bg-white\">\r\n <app-crumb-action\r\n [addVisible]=\"addVisible()\"\r\n [newUrl]=\"newUrl\"\r\n [isShowCog]=\"true\"\r\n [outlined]=\"true\"\r\n [authLevel]=\"authLevel()\"\r\n (saveEvent)=\"submitForm()\">\r\n </app-crumb-action>\r\n <div class=\"hrefBtnList\">\r\n @if(id){\r\n @for(btn of hrefBtnList();track btn){\r\n <p-button \r\n [variant]=\"btn?.variant\" \r\n [severity]=\"btn?.severity\" \r\n class=\"mr-[6px]\"\r\n [icon]=\"btn?.icon\"\r\n label=\"{{btn.i18nKey? i18n.fanyi(btn.i18nKey) : btn.label}}\"\r\n (click)=\"goRun(btn)\"\r\n >\r\n </p-button>\r\n }\r\n }\r\n \r\n </div>\r\n <div></div>\r\n \r\n </div>\r\n <div class=\"flex\">\r\n <div class=\"px-2 flex flex-wrap items-center md:basis-2/3 basis-full\">\r\n <div class=\"md:basis-1/3 py-1 basis-full flex items-center gap-2 flex-row order-1\">\r\n @for (btn of actionList();let i = $index; track btn) {\r\n <p-button\r\n [variant]=\"btn?.variant\"\r\n [severity]=\"btn?.severity\"\r\n class=\"mr-[4px]\"\r\n size=\"small\"\r\n [icon]=\"btn?.icon\"\r\n label=\"{{ btn.i18nKey ? (btn.i18nKey | translate) : btn.label }}\"\r\n (click)=\"authClick(btn)\"\r\n [disabled]=\"btn.btnDisabled ? btn.btnDisabled(getPrm.data) : false\"\r\n >\r\n </p-button>\r\n }\r\n </div>\r\n \r\n <div class=\"md:basis-2/3 basis-full flex md:flex-row-reverse flex-row md:order-2 order-first\">\r\n <custom-steps\r\n [steps]=\"statusSteps()\"\r\n [current]=\"getPrm.data && getPrm.data[statusKey()] !== undefined ? getPrm.data[statusKey()] : 0\"\r\n [authLevel]=\"authLevel()\"\r\n (change)=\"statusChange($event)\">\r\n </custom-steps>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"main flex flex-wrap overflow-y-hidden\">\r\n <div class=\"md:basis-2/3 basis-full h-full overflow-y-auto\">\r\n <div class=\"bg-white mx-2 form-panel\">\r\n <div class=\"p-2 flex-1\">\r\n <form\r\n [formGroup]=\"form().form!\">\r\n <custom-form\r\n #cForm\r\n [options]=\"formOptions\"\r\n [upsert]=\"upsertPrm\"\r\n [model]=\"getPrm.data??{}\"></custom-form>\r\n </form>\r\n </div>\r\n @if(gridList() && gridList().length > 1){\r\n <div class=\"relative mb-2\">\r\n <p-tabs [(value)]=\"indexValue\">\r\n <p-tablist>\r\n @for (fchild of gridList();let i = $index; track fchild) {\r\n <p-tab [value]=\"i\">\r\n {{fchild.i18nKey ? i18n.fanyi(fchild.i18nKey) : fchild.title}}\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n </p-tabs>\r\n </div>\r\n }\r\n @for (grid of gridList(); let i = $index;track grid) {\r\n <custom-grid\r\n #customGrid\r\n [hidden]=\"indexValue !=i \"\r\n [rowData]=\"getPrm.data?.[grid.subDataKey!]|| []\"\r\n [upsert]=\"upsertPrm\"\r\n (deleteEmit)=\"delRows($event)\"\r\n [addType]=\"grid.subTableSource\"\r\n (addEmit)=\"dataSourceShow()\"\r\n [gridOptions]=\"grid.gridOptions\"\r\n [authLevel]=\"authLevel()\"\r\n [selectData]=\"grid.selectData\">\r\n </custom-grid>\r\n } \r\n </div>\r\n </div>\r\n <div class=\"md:basis-1/3 basis-full h-full overflow-y-auto\">\r\n <custom-log [logs]=\"getPrm.data?.log??[]\"></custom-log>\r\n </div>\r\n </div>\r\n</div>\r\n<p-toast />\r\n<row-selector\r\n\t[(visible)]=\"visible\"\r\n\t[searchPrm]=\"dialogSearchPrm\"\r\n\t[gridOptions]=\"selectOptions\"\r\n\t(onOk)=\"onOk($event)\">\r\n</row-selector>", styles: ["@charset \"UTF-8\";.main{height:calc(100vh - 140px)}:host ::ng-deep .main .ag-root-wrapper{border-left:none!important;border-right:none!important;border-bottom:none!important}.form-panel{border:solid 1px #dbdbdb}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i2$3.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormComponent, selector: "custom-form", inputs: ["options", "model", "upsert"] }, { kind: "component", type: LogComponent, selector: "custom-log", inputs: ["logs", "id"] }, { kind: "component", type: CrumbActionComponent, selector: "app-crumb-action", inputs: ["isShowCog", "addVisible", "newUrl", "onExport", "outlined", "isList", "authLevel"], outputs: ["saveEvent", "cancelEvent"] }, { kind: "component", type: StepsComponent, selector: "custom-steps", inputs: ["steps", "current", "authLevel"], outputs: ["change"] }, { kind: "component", type: GridComponent, selector: "custom-grid", inputs: ["gridOptions", "upsert", "rowData", "searchPrm", "addType", "selectData", "showAct", "actPos", "authLevel"], outputs: ["searchPrmChange", "deleteEmit", "addEmit"] }, { kind: "ngmodule", type: TabsModule }, { kind: "component", type: i3$1.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i3$1.TabList, selector: "p-tablist" }, { kind: "component", type: i3$1.Tab, selector: "p-tab", inputs: ["value", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "component", type: RowSelectorComponent, selector: "row-selector", inputs: ["title", "gridOptions", "searchPrm", "visible"], outputs: ["onOk", "visibleChange"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }
|
|
6363
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: PageFormComponent, isStandalone: true, selector: "app-page-form", inputs: { addVisible: { classPropertyName: "addVisible", publicName: "addVisible", isSignal: true, isRequired: false, transformFunction: null }, gridList: { classPropertyName: "gridList", publicName: "gridList", isSignal: true, isRequired: false, transformFunction: null }, form: { classPropertyName: "form", publicName: "form", isSignal: true, isRequired: true, transformFunction: null }, getPrmInput: { classPropertyName: "getPrmInput", publicName: "getPrmInput", isSignal: true, isRequired: true, transformFunction: null }, statusSteps: { classPropertyName: "statusSteps", publicName: "statusSteps", isSignal: true, isRequired: false, transformFunction: null }, statusKey: { classPropertyName: "statusKey", publicName: "statusKey", isSignal: true, isRequired: false, transformFunction: null }, hrefBtnList: { classPropertyName: "hrefBtnList", publicName: "hrefBtnList", isSignal: true, isRequired: false, transformFunction: null }, setTitle: { classPropertyName: "setTitle", publicName: "setTitle", isSignal: true, isRequired: false, transformFunction: null }, actionList: { classPropertyName: "actionList", publicName: "actionList", isSignal: true, isRequired: false, transformFunction: null }, modelLog: { classPropertyName: "modelLog", publicName: "modelLog", isSignal: true, isRequired: false, transformFunction: null }, formDisabled: { classPropertyName: "formDisabled", publicName: "formDisabled", isSignal: true, isRequired: false, transformFunction: null }, authLevel: { classPropertyName: "authLevel", publicName: "authLevel", isSignal: true, isRequired: false, transformFunction: null } }, providers: [], viewQueries: [{ propertyName: "customGrid", first: true, predicate: ["customGrid"], descendants: true }, { propertyName: "cForm", first: true, predicate: ["cForm"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"overflow-hidden\">\r\n <div class=\"flex items-center justify-between py-1 px-1 border-b-[1px] border-[#dbdbdb] bg-white\">\r\n <app-crumb-action\r\n [addVisible]=\"addVisible()\"\r\n [newUrl]=\"newUrl\"\r\n [isShowCog]=\"true\"\r\n [outlined]=\"true\"\r\n [authLevel]=\"authLevel()\"\r\n (saveEvent)=\"submitForm()\">\r\n </app-crumb-action>\r\n <div class=\"hrefBtnList\">\r\n @if(id){\r\n @for(btn of hrefBtnList();track btn){\r\n <p-button \r\n [variant]=\"btn?.variant\" \r\n [severity]=\"btn?.severity\" \r\n class=\"mr-[6px]\"\r\n [icon]=\"btn?.icon\"\r\n label=\"{{btn.i18nKey? i18n.fanyi(btn.i18nKey) : btn.label}}\"\r\n (click)=\"goRun(btn)\"\r\n >\r\n </p-button>\r\n }\r\n }\r\n \r\n </div>\r\n <div></div>\r\n \r\n </div>\r\n <div class=\"flex\">\r\n <div class=\"px-2 flex flex-wrap items-center md:basis-2/3 basis-full\">\r\n <div class=\"md:basis-1/3 py-1 basis-full flex items-center gap-2 flex-row order-1\">\r\n @for (btn of actionList();let i = $index; track btn) {\r\n <p-button\r\n [variant]=\"btn?.variant\"\r\n [severity]=\"btn?.severity\"\r\n class=\"mr-[4px]\"\r\n size=\"small\"\r\n [icon]=\"btn?.icon\"\r\n label=\"{{ btn.i18nKey ? (btn.i18nKey | translate) : btn.label }}\"\r\n (click)=\"authClick(btn)\"\r\n [disabled]=\"btn.btnDisabled ? btn.btnDisabled(getPrm.data) : false\"\r\n >\r\n </p-button>\r\n }\r\n </div>\r\n \r\n <div class=\"md:basis-2/3 basis-full flex md:flex-row-reverse flex-row md:order-2 order-first\">\r\n <custom-steps\r\n [steps]=\"statusSteps()\"\r\n [current]=\"getPrm.data && getPrm.data[statusKey()] !== undefined ? getPrm.data[statusKey()] : 0\"\r\n [authLevel]=\"authLevel()\"\r\n (change)=\"statusChange($event)\">\r\n </custom-steps>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"main flex flex-wrap overflow-y-hidden\">\r\n <div class=\"md:basis-2/3 basis-full h-full overflow-y-auto\">\r\n <div class=\"bg-white mx-2 form-panel\">\r\n <div class=\"p-2 flex-1\">\r\n <form\r\n [formGroup]=\"form().form!\">\r\n <custom-form\r\n #cForm\r\n [options]=\"formOptions\"\r\n [upsert]=\"upsertPrm\"\r\n [model]=\"getPrm.data??{}\"></custom-form>\r\n </form>\r\n </div>\r\n @if(gridList() && gridList().length > 1){\r\n <div class=\"relative mb-2\">\r\n <p-tabs [(value)]=\"indexValue\">\r\n <p-tablist>\r\n @for (fchild of gridList();let i = $index; track fchild) {\r\n <p-tab [value]=\"i\">\r\n {{fchild.i18nKey ? i18n.fanyi(fchild.i18nKey) : fchild.title}}\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n </p-tabs>\r\n </div>\r\n }\r\n @for (grid of gridList(); let i = $index;track grid) {\r\n <custom-grid\r\n #customGrid\r\n [hidden]=\"indexValue !=i \"\r\n [rowData]=\"getPrm.data?.[grid.subDataKey!]|| []\"\r\n [upsert]=\"upsertPrm\"\r\n (deleteEmit)=\"delRows($event)\"\r\n [addType]=\"grid.subTableSource\"\r\n (addEmit)=\"dataSourceShow()\"\r\n [gridOptions]=\"grid.gridOptions\"\r\n [authLevel]=\"authLevel()\"\r\n [selectData]=\"grid.selectData\">\r\n </custom-grid>\r\n } \r\n </div>\r\n </div>\r\n <div class=\"md:basis-1/3 basis-full h-full overflow-y-auto\">\r\n <custom-log [logs]=\"getPrm.data?.log??[]\"></custom-log>\r\n </div>\r\n </div>\r\n</div>\r\n<p-toast />\r\n<row-selector\r\n\t[(visible)]=\"visible\"\r\n\t[searchPrm]=\"dialogSearchPrm\"\r\n\t[gridOptions]=\"selectOptions\"\r\n\t(onOk)=\"onOk($event)\">\r\n</row-selector>", styles: ["@charset \"UTF-8\";.main{height:calc(100vh - 140px)}:host ::ng-deep .main .ag-root-wrapper{border-left:none!important;border-right:none!important;border-bottom:none!important}.form-panel{border:solid 1px #dbdbdb}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i2$3.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "fluid", "buttonProps"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormComponent, selector: "custom-form", inputs: ["options", "model", "upsert"] }, { kind: "component", type: LogComponent, selector: "custom-log", inputs: ["logs", "id"] }, { kind: "component", type: CrumbActionComponent, selector: "app-crumb-action", inputs: ["isShowCog", "addVisible", "newUrl", "onExport", "outlined", "isList", "authLevel"], outputs: ["saveEvent", "cancelEvent"] }, { kind: "component", type: StepsComponent, selector: "custom-steps", inputs: ["steps", "current", "authLevel"], outputs: ["change"] }, { kind: "component", type: GridComponent, selector: "custom-grid", inputs: ["gridOptions", "upsert", "rowData", "searchPrm", "addType", "selectData", "showAct", "actPos", "authLevel"], outputs: ["searchPrmChange", "deleteEmit", "addEmit"] }, { kind: "ngmodule", type: TabsModule }, { kind: "component", type: i3$1.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i3$1.TabList, selector: "p-tablist" }, { kind: "component", type: i3$1.Tab, selector: "p-tab", inputs: ["value", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "component", type: RowSelectorComponent, selector: "row-selector", inputs: ["title", "gridOptions", "searchPrm", "visible"], outputs: ["onOk", "visibleChange"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
|
|
6327
6364
|
}
|
|
6328
6365
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PageFormComponent, decorators: [{
|
|
6329
6366
|
type: Component,
|
|
@@ -6339,7 +6376,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6339
6376
|
Toast,
|
|
6340
6377
|
RowSelectorComponent,
|
|
6341
6378
|
TranslatePipe,
|
|
6342
|
-
ConfirmDialogModule
|
|
6343
6379
|
], providers: [], template: "<div class=\"overflow-hidden\">\r\n <div class=\"flex items-center justify-between py-1 px-1 border-b-[1px] border-[#dbdbdb] bg-white\">\r\n <app-crumb-action\r\n [addVisible]=\"addVisible()\"\r\n [newUrl]=\"newUrl\"\r\n [isShowCog]=\"true\"\r\n [outlined]=\"true\"\r\n [authLevel]=\"authLevel()\"\r\n (saveEvent)=\"submitForm()\">\r\n </app-crumb-action>\r\n <div class=\"hrefBtnList\">\r\n @if(id){\r\n @for(btn of hrefBtnList();track btn){\r\n <p-button \r\n [variant]=\"btn?.variant\" \r\n [severity]=\"btn?.severity\" \r\n class=\"mr-[6px]\"\r\n [icon]=\"btn?.icon\"\r\n label=\"{{btn.i18nKey? i18n.fanyi(btn.i18nKey) : btn.label}}\"\r\n (click)=\"goRun(btn)\"\r\n >\r\n </p-button>\r\n }\r\n }\r\n \r\n </div>\r\n <div></div>\r\n \r\n </div>\r\n <div class=\"flex\">\r\n <div class=\"px-2 flex flex-wrap items-center md:basis-2/3 basis-full\">\r\n <div class=\"md:basis-1/3 py-1 basis-full flex items-center gap-2 flex-row order-1\">\r\n @for (btn of actionList();let i = $index; track btn) {\r\n <p-button\r\n [variant]=\"btn?.variant\"\r\n [severity]=\"btn?.severity\"\r\n class=\"mr-[4px]\"\r\n size=\"small\"\r\n [icon]=\"btn?.icon\"\r\n label=\"{{ btn.i18nKey ? (btn.i18nKey | translate) : btn.label }}\"\r\n (click)=\"authClick(btn)\"\r\n [disabled]=\"btn.btnDisabled ? btn.btnDisabled(getPrm.data) : false\"\r\n >\r\n </p-button>\r\n }\r\n </div>\r\n \r\n <div class=\"md:basis-2/3 basis-full flex md:flex-row-reverse flex-row md:order-2 order-first\">\r\n <custom-steps\r\n [steps]=\"statusSteps()\"\r\n [current]=\"getPrm.data && getPrm.data[statusKey()] !== undefined ? getPrm.data[statusKey()] : 0\"\r\n [authLevel]=\"authLevel()\"\r\n (change)=\"statusChange($event)\">\r\n </custom-steps>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"main flex flex-wrap overflow-y-hidden\">\r\n <div class=\"md:basis-2/3 basis-full h-full overflow-y-auto\">\r\n <div class=\"bg-white mx-2 form-panel\">\r\n <div class=\"p-2 flex-1\">\r\n <form\r\n [formGroup]=\"form().form!\">\r\n <custom-form\r\n #cForm\r\n [options]=\"formOptions\"\r\n [upsert]=\"upsertPrm\"\r\n [model]=\"getPrm.data??{}\"></custom-form>\r\n </form>\r\n </div>\r\n @if(gridList() && gridList().length > 1){\r\n <div class=\"relative mb-2\">\r\n <p-tabs [(value)]=\"indexValue\">\r\n <p-tablist>\r\n @for (fchild of gridList();let i = $index; track fchild) {\r\n <p-tab [value]=\"i\">\r\n {{fchild.i18nKey ? i18n.fanyi(fchild.i18nKey) : fchild.title}}\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n </p-tabs>\r\n </div>\r\n }\r\n @for (grid of gridList(); let i = $index;track grid) {\r\n <custom-grid\r\n #customGrid\r\n [hidden]=\"indexValue !=i \"\r\n [rowData]=\"getPrm.data?.[grid.subDataKey!]|| []\"\r\n [upsert]=\"upsertPrm\"\r\n (deleteEmit)=\"delRows($event)\"\r\n [addType]=\"grid.subTableSource\"\r\n (addEmit)=\"dataSourceShow()\"\r\n [gridOptions]=\"grid.gridOptions\"\r\n [authLevel]=\"authLevel()\"\r\n [selectData]=\"grid.selectData\">\r\n </custom-grid>\r\n } \r\n </div>\r\n </div>\r\n <div class=\"md:basis-1/3 basis-full h-full overflow-y-auto\">\r\n <custom-log [logs]=\"getPrm.data?.log??[]\"></custom-log>\r\n </div>\r\n </div>\r\n</div>\r\n<p-toast />\r\n<row-selector\r\n\t[(visible)]=\"visible\"\r\n\t[searchPrm]=\"dialogSearchPrm\"\r\n\t[gridOptions]=\"selectOptions\"\r\n\t(onOk)=\"onOk($event)\">\r\n</row-selector>", styles: ["@charset \"UTF-8\";.main{height:calc(100vh - 140px)}:host ::ng-deep .main .ag-root-wrapper{border-left:none!important;border-right:none!important;border-bottom:none!important}.form-panel{border:solid 1px #dbdbdb}\n"] }]
|
|
6344
6380
|
}], ctorParameters: () => [], propDecorators: { customGrid: [{
|
|
6345
6381
|
type: ViewChild,
|
|
@@ -6349,21 +6385,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6349
6385
|
args: ['cForm']
|
|
6350
6386
|
}] } });
|
|
6351
6387
|
|
|
6352
|
-
class PagerComponent {
|
|
6353
|
-
constructor(action) {
|
|
6354
|
-
this.action = action;
|
|
6355
|
-
effect(() => {
|
|
6356
|
-
this.page = this.action.getPage();
|
|
6357
|
-
});
|
|
6358
|
-
}
|
|
6359
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PagerComponent, deps: [{ token: ActionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6360
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: PagerComponent, isStandalone: true, selector: "custom-pager", ngImport: i0, template: "@if (page?.total) {\r\n\t@if (page?.mode == 'client') {\r\n\t\t<div class=\"page-container flex p-2 items-center\">\r\n\t\t\t<span class=\"mr-2\">\u5171 {{ page ? page.total : 0 }} \u6761</span>\r\n\t\t</div>\r\n\t} @else {\r\n\t\t<div class=\"page-container flex p-2 items-center\">\r\n\t\t\t<span>{{ page ? (page.startRow || 0) + 1 : 0 }}</span>\r\n\t\t\t<span> - </span>\r\n\t\t\t<span>{{ page ? page.endRow : 0 }}</span>\r\n\t\t\t<span class=\"px-1\"> / </span>\r\n\t\t\t<span class=\"mr-2\">{{ page ? page.total : 0 }}</span>\r\n\t\t</div>\r\n\t}\r\n}\r\n", styles: [":host ::ng-deep .ms-down .p-button{border-radius:6px 0 0 6px;margin-right:1px}:host ::ng-deep .ms-up .p-button{border-radius:0 6px 6px 0;margin-left:1px}.page-container{color:#334155}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }] }); }
|
|
6361
|
-
}
|
|
6362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PagerComponent, decorators: [{
|
|
6363
|
-
type: Component,
|
|
6364
|
-
args: [{ selector: 'custom-pager', standalone: true, imports: [ButtonModule], template: "@if (page?.total) {\r\n\t@if (page?.mode == 'client') {\r\n\t\t<div class=\"page-container flex p-2 items-center\">\r\n\t\t\t<span class=\"mr-2\">\u5171 {{ page ? page.total : 0 }} \u6761</span>\r\n\t\t</div>\r\n\t} @else {\r\n\t\t<div class=\"page-container flex p-2 items-center\">\r\n\t\t\t<span>{{ page ? (page.startRow || 0) + 1 : 0 }}</span>\r\n\t\t\t<span> - </span>\r\n\t\t\t<span>{{ page ? page.endRow : 0 }}</span>\r\n\t\t\t<span class=\"px-1\"> / </span>\r\n\t\t\t<span class=\"mr-2\">{{ page ? page.total : 0 }}</span>\r\n\t\t</div>\r\n\t}\r\n}\r\n", styles: [":host ::ng-deep .ms-down .p-button{border-radius:6px 0 0 6px;margin-right:1px}:host ::ng-deep .ms-up .p-button{border-radius:0 6px 6px 0;margin-left:1px}.page-container{color:#334155}\n"] }]
|
|
6365
|
-
}], ctorParameters: () => [{ type: ActionService }] });
|
|
6366
|
-
|
|
6367
6388
|
class PageGridListComponent extends AmComponent {
|
|
6368
6389
|
constructor() {
|
|
6369
6390
|
super();
|
|
@@ -6576,5 +6597,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6576
6597
|
* Generated bundle index. Do not edit.
|
|
6577
6598
|
*/
|
|
6578
6599
|
|
|
6579
|
-
export { ActionService, AmComponent, CrumbActionComponent, FormComponent, GridComponent, HeadComponent, I18N_Token, I18nService, ImportComponent, LANGS, LogComponent, PageFormComponent, PageGridListComponent, RowSelectorComponent, SearchComponent, StepsComponent, ThemeConfigComponent, ThemeConfigService, UserHistoryService, compileTsToJs, createCircularIterator, filterObjectByKeys, generateUniqueId, isJSONParsable, parseFunctions, toPascalCase };
|
|
6600
|
+
export { ActionService, AmComponent, AsyncRenderer, CellEditAutoCompleteComponent, CellEditDatePickerComponent, CellEditInputNumberCompoent, CellEditInputTextCompoent, CellEditSelectComponent, CrumbActionComponent, FormComponent, GridComponent, HeadComponent, I18N_Token, I18nService, ImportComponent, LANGS, LinkRenderer, LogComponent, PageFormComponent, PageGridListComponent, PagerComponent, RowSelectorComponent, SearchComponent, StepsComponent, ThemeConfigComponent, ThemeConfigService, UserHistoryService, compileTsToJs, createCircularIterator, filterObjectByKeys, formTypeToProps, generateUniqueId, gridUtils, isJSONParsable, parseFunctions, toPascalCase };
|
|
6580
6601
|
//# sourceMappingURL=imm-element-ui.mjs.map
|