@baosight/er4j 0.0.11 → 0.0.13
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/er4j-dist/ErPopFree-D0387she.js +5 -0
- package/er4j-dist/ErPopFree-D0387she.js.map +1 -0
- package/er4j-dist/ErPopQuery-DWj-lb5u.js +5 -0
- package/er4j-dist/ErPopQuery-DWj-lb5u.js.map +1 -0
- package/er4j-dist/ErPopRichEditor-CdDc0Cvo.js +5 -0
- package/er4j-dist/ErPopRichEditor-CdDc0Cvo.js.map +1 -0
- package/er4j-dist/ErPopTree-2Ab-Nxgb.js +5 -0
- package/er4j-dist/ErPopTree-2Ab-Nxgb.js.map +1 -0
- package/er4j-dist/er4j.css +1 -1
- package/er4j-dist/er4j.es.js +24932 -11
- package/er4j-dist/er4j.es.js.map +1 -1
- package/er4j-dist/er4j.umd.js +17 -17
- package/er4j-dist/er4j.umd.js.map +1 -1
- package/er4j-dist/types/components/ErCheckboxGroup/ErCheckboxGroup.vue.d.ts +981 -0
- package/er4j-dist/types/components/ErLayout/ErLayout.vue.d.ts +7 -5
- package/er4j-dist/types/components/ErRadioGroup/ErRadioGroup.vue.d.ts +1102 -0
- package/er4j-dist/types/index.d.ts +10 -2
- package/er4j-dist/types/type/er-type.d.ts +1 -1
- package/er4j-dist/types/utils/er.d.ts +2 -20
- package/package.json +1 -1
- package/er4j-dist/ErPopFree-TQj3wzrS.js +0 -5
- package/er4j-dist/ErPopFree-TQj3wzrS.js.map +0 -1
- package/er4j-dist/ErPopQuery-BS0sgx_I.js +0 -5
- package/er4j-dist/ErPopQuery-BS0sgx_I.js.map +0 -1
- package/er4j-dist/ErPopRichEditor-UIPFVkDP.js +0 -109
- package/er4j-dist/ErPopRichEditor-UIPFVkDP.js.map +0 -1
- package/er4j-dist/ErPopTree-DshpECo5.js +0 -164
- package/er4j-dist/ErPopTree-DshpECo5.js.map +0 -1
- package/er4j-dist/index-CMksYzVy.js +0 -23319
- package/er4j-dist/index-CMksYzVy.js.map +0 -1
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
import { default as ErFormToolbar } from './components/ErFormToolbar/ErFormToolbar.vue';
|
|
3
|
+
import { default as ErPanel } from './components/ErPanel/ErPanel.vue';
|
|
4
|
+
import { default as ErDialog } from './components/ErDialog/ErDialog.vue';
|
|
3
5
|
import { default as ErGrid } from './components/ErGrid/ErGrid.vue';
|
|
4
6
|
import { default as ErLayout } from './components/ErLayout/ErLayout.vue';
|
|
7
|
+
import { default as ErTree } from './components/ErTree/ErTree.vue';
|
|
8
|
+
import { default as ErMemoEditor } from './components/ErMemoEditor/ErMemoEditor.vue';
|
|
9
|
+
import { default as ErRadioGroup } from './components/ErRadioGroup/ErRadioGroup.vue';
|
|
10
|
+
import { default as ErCheckboxGroup } from './components/ErCheckboxGroup/ErCheckboxGroup.vue';
|
|
11
|
+
import { default as ErSelect } from './components/ErSelect/ErSelect.vue';
|
|
5
12
|
import { default as ErPopFree } from './components/ErPopFree/ErPopFree.vue';
|
|
13
|
+
import { default as ErPopRichEditor } from './components/ErPopRichEditor/ErPopRichEditor.vue';
|
|
6
14
|
import { default as ErPopQuery } from './components/ErPopQuery/ErPopQuery.vue';
|
|
15
|
+
import { default as ErPopTree } from './components/ErPopTree/ErPopTree.vue';
|
|
7
16
|
import { default as ErMenuDevPlat } from './components/ErMenuDevPlat/ErMenuDevPlat.vue';
|
|
8
|
-
import { default as ErPanel } from './components/ErPanel/ErPanel.vue';
|
|
9
17
|
export declare const install: (app: App) => void;
|
|
10
|
-
export { ErFormToolbar, ErGrid, ErLayout, ErPopFree, ErPopQuery, ErMenuDevPlat, ErPanel, };
|
|
18
|
+
export { ErFormToolbar, ErMemoEditor, ErGrid, ErLayout, ErTree, ErRadioGroup, ErCheckboxGroup, ErSelect, ErPopFree, ErPopRichEditor, ErPopQuery, ErPopTree, ErMenuDevPlat, ErPanel, ErDialog };
|
|
11
19
|
export * from './type/er-type';
|
|
12
20
|
export * from './utils/er';
|
|
@@ -76,7 +76,7 @@ export interface DataTableSchemaField {
|
|
|
76
76
|
editable?: boolean | undefined;
|
|
77
77
|
nullable?: boolean | undefined;
|
|
78
78
|
parse?: Function | undefined;
|
|
79
|
-
type?: 'string' | 'boolean' | 'number' | 'datetime';
|
|
79
|
+
type?: 'string' | 'boolean' | 'number' | 'datetime' | 'time';
|
|
80
80
|
required?: boolean | undefined;
|
|
81
81
|
min?: any;
|
|
82
82
|
max?: any;
|
|
@@ -1029,6 +1029,7 @@ export declare namespace ER {
|
|
|
1029
1029
|
* @returns formatValue
|
|
1030
1030
|
*/
|
|
1031
1031
|
static formatDateTimeValue(value: any, formatString?: 'yyyy-MM-dd' | 'yyyy-MM-dd HH:mm:ss', type?: 'toDate' | 'toString'): any;
|
|
1032
|
+
static createDataTable(partition: string, dataSetName: string, tableName: string): Promise<DataTable | undefined>;
|
|
1032
1033
|
/**
|
|
1033
1034
|
* 数据类型转换,根据datasource schema进行强类型弱类型互相转换
|
|
1034
1035
|
* @param data 数据
|
|
@@ -1061,9 +1062,6 @@ export declare namespace ER {
|
|
|
1061
1062
|
* @param block
|
|
1062
1063
|
* @returns EiBlock
|
|
1063
1064
|
*/
|
|
1064
|
-
static addJsonToEiBlock(data: {
|
|
1065
|
-
[key: string]: any;
|
|
1066
|
-
}[], block?: any): EiBlock;
|
|
1067
1065
|
/**
|
|
1068
1066
|
* 动态SQL查询
|
|
1069
1067
|
* @param partition 服务分区
|
|
@@ -2996,13 +2994,6 @@ export declare namespace ER {
|
|
|
2996
2994
|
* @returns EiBlock
|
|
2997
2995
|
*/
|
|
2998
2996
|
collapseLayoutGroup(configIds: string | Array<string>): FormHelper;
|
|
2999
|
-
/**
|
|
3000
|
-
* 添加自定义查询条件配置[后台服务需支持]
|
|
3001
|
-
* @param customFilter 查询条件脚本
|
|
3002
|
-
* @param queryFilterBlock 查询条件配置
|
|
3003
|
-
* @returns EiBlock
|
|
3004
|
-
*/
|
|
3005
|
-
addCustomFilterToQueryFilter(customFilter: string, queryFilterBlock: EiBlock): FormHelper;
|
|
3006
2997
|
/**
|
|
3007
2998
|
* 根据画面配置按钮的服务查询数据
|
|
3008
2999
|
* @param buttonName 按钮名称
|
|
@@ -3349,7 +3340,7 @@ export declare namespace ER {
|
|
|
3349
3340
|
* @param gridOptions gridOptions
|
|
3350
3341
|
* @returns
|
|
3351
3342
|
*/
|
|
3352
|
-
uploadGridColumnCustomConfig(configId: string, gridOptions: any): Promise<unknown>;
|
|
3343
|
+
uploadGridColumnCustomConfig(configId: string, gridOptions: any, showConfirmMessage?: boolean): Promise<unknown>;
|
|
3353
3344
|
/**
|
|
3354
3345
|
* 重置Grid个人配置信息
|
|
3355
3346
|
* @param configId 布局配置代码
|
|
@@ -3923,15 +3914,6 @@ export declare namespace ER {
|
|
|
3923
3914
|
* @returns newDataRow
|
|
3924
3915
|
*/
|
|
3925
3916
|
mergeGridDataRow(newDataRow: Model, fromDataRow: any, ignoreWhenExistValue?: boolean): Model;
|
|
3926
|
-
/**
|
|
3927
|
-
* 将EJson对象数组添加到EiBlock
|
|
3928
|
-
* @param data
|
|
3929
|
-
* @param block
|
|
3930
|
-
* @returns EiBlock
|
|
3931
|
-
*/
|
|
3932
|
-
addJsonToEiBlock(data: {
|
|
3933
|
-
[key: string]: any;
|
|
3934
|
-
}[], block?: any): EiBlock;
|
|
3935
3917
|
/**
|
|
3936
3918
|
* Merge数据到dataTable
|
|
3937
3919
|
* @param data 原数据
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErPopFree-TQj3wzrS.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErPopQuery-BS0sgx_I.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, ref as d, onMounted as y, createBlock as O, openBlock as P, withCtx as C, createElementVNode as c, createVNode as S, unref as u, toDisplayString as m } from "vue";
|
|
2
|
-
import { E as a, b as E } from "./index-CMksYzVy.js";
|
|
3
|
-
import { Codemirror as j } from "vue-codemirror";
|
|
4
|
-
import * as N from "sql-formatter";
|
|
5
|
-
import { sql as _ } from "@codemirror/lang-sql";
|
|
6
|
-
import { javascript as q } from "@codemirror/lang-javascript";
|
|
7
|
-
import { json as L } from "@codemirror/lang-json";
|
|
8
|
-
const z = { style: { display: "flex", height: "100%", width: "100%", "flex-direction": "column", padding: "5px" } }, B = v({
|
|
9
|
-
name: "er-pop-rich-editor",
|
|
10
|
-
components: {
|
|
11
|
-
ErDialog: E
|
|
12
|
-
}
|
|
13
|
-
}), $ = /* @__PURE__ */ v({
|
|
14
|
-
...B,
|
|
15
|
-
props: {
|
|
16
|
-
popRichEditorProps: {
|
|
17
|
-
type: a.PopRichEditor,
|
|
18
|
-
default: null,
|
|
19
|
-
require: !0
|
|
20
|
-
},
|
|
21
|
-
options: {
|
|
22
|
-
type: Object,
|
|
23
|
-
default: {},
|
|
24
|
-
require: !1
|
|
25
|
-
},
|
|
26
|
-
content: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: "",
|
|
29
|
-
require: !1
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
setup(x) {
|
|
33
|
-
const o = x, p = d(null), e = d(o.content), g = d(null), w = (n) => {
|
|
34
|
-
o.popRichEditorProps.doEvent("open");
|
|
35
|
-
}, R = async (n) => {
|
|
36
|
-
var r, s;
|
|
37
|
-
if (f() === !1)
|
|
38
|
-
return;
|
|
39
|
-
e.value && ((s = (r = o.options) == null ? void 0 : r.extension) == null ? void 0 : s.toLowerCase()) === "json" && (o.popRichEditorProps.Content = JSON.stringify(JSON.parse(e.value)));
|
|
40
|
-
const t = o.popRichEditorProps.getEvent("ok");
|
|
41
|
-
t && await t() === !1 || o.popRichEditorProps.CloseDialogWhenOkClick && o.popRichEditorProps.close();
|
|
42
|
-
}, b = () => {
|
|
43
|
-
f();
|
|
44
|
-
}, f = () => {
|
|
45
|
-
var n, i, t, r, s, l;
|
|
46
|
-
try {
|
|
47
|
-
e.value && (((i = (n = o.options) == null ? void 0 : n.extension) == null ? void 0 : i.toLowerCase()) === "sql" ? e.value = N.format(e.value) : (((r = (t = o.options) == null ? void 0 : t.extension) == null ? void 0 : r.toLowerCase()) === "json" || ((l = (s = o.options) == null ? void 0 : s.extension) == null ? void 0 : l.toLowerCase()) === "javascript") && (e.value = JSON.stringify(JSON.parse(e.value), null, 2)));
|
|
48
|
-
} catch (k) {
|
|
49
|
-
return a.Core.messageError(k.message), !1;
|
|
50
|
-
}
|
|
51
|
-
return !0;
|
|
52
|
-
}, h = () => {
|
|
53
|
-
o.popRichEditorProps.close();
|
|
54
|
-
};
|
|
55
|
-
return (() => {
|
|
56
|
-
var n, i, t, r, s, l;
|
|
57
|
-
((i = (n = o.options) == null ? void 0 : n.extension) == null ? void 0 : i.toLowerCase()) === "sql" ? p.value = [_()] : ((r = (t = o.options) == null ? void 0 : t.extension) == null ? void 0 : r.toLowerCase()) === "json" ? p.value = [L()] : ((l = (s = o.options) == null ? void 0 : s.extension) == null ? void 0 : l.toLowerCase()) === "javascript" && (p.value = [q()]);
|
|
58
|
-
})(), y(() => {
|
|
59
|
-
e.value = o.content, f();
|
|
60
|
-
}), (n, i) => (P(), O(E, {
|
|
61
|
-
ref_key: "dialogRef",
|
|
62
|
-
ref: g,
|
|
63
|
-
visible: o.popRichEditorProps.WindowOpened.value,
|
|
64
|
-
"onUpdate:visible": i[1] || (i[1] = (t) => o.popRichEditorProps.WindowOpened.value = t),
|
|
65
|
-
title: o.options.title,
|
|
66
|
-
height: o.options.height || "630px",
|
|
67
|
-
width: o.options.height || "830px",
|
|
68
|
-
"default-footer": !0,
|
|
69
|
-
"show-confirm": !1,
|
|
70
|
-
"show-cancel": !1,
|
|
71
|
-
resizable: o.options.BordStyle === "Sizable",
|
|
72
|
-
actions: o.options.BordStyle === "Fixed" ? ["close"] : void 0,
|
|
73
|
-
onOpen: w,
|
|
74
|
-
onClickCloseIcon: h
|
|
75
|
-
}, {
|
|
76
|
-
"footer-left": C(() => [
|
|
77
|
-
c("button", {
|
|
78
|
-
class: "xr-er-button",
|
|
79
|
-
onClick: b
|
|
80
|
-
}, m(u(a).Core.$t("ERX.Format") || "格式化"), 1),
|
|
81
|
-
c("button", {
|
|
82
|
-
class: "xr-er-button",
|
|
83
|
-
onClick: R
|
|
84
|
-
}, m(o.popRichEditorProps.OkButtonCaption || u(a).Core.$t("ERX.Confirm") || "确认"), 1),
|
|
85
|
-
c("button", {
|
|
86
|
-
class: "xr-er-button",
|
|
87
|
-
onClick: h
|
|
88
|
-
}, m(o.popRichEditorProps.CancelButtonCaption || u(a).Core.$t("ERX.Cancel") || "取消"), 1)
|
|
89
|
-
]),
|
|
90
|
-
default: C(() => [
|
|
91
|
-
c("div", z, [
|
|
92
|
-
S(u(j), {
|
|
93
|
-
modelValue: e.value,
|
|
94
|
-
"onUpdate:modelValue": i[0] || (i[0] = (t) => e.value = t),
|
|
95
|
-
"indent-with-tab": !0,
|
|
96
|
-
tabSize: 2,
|
|
97
|
-
extensions: p.value,
|
|
98
|
-
style: { width: "100%", height: "100%" }
|
|
99
|
-
}, null, 8, ["modelValue", "extensions"])
|
|
100
|
-
])
|
|
101
|
-
]),
|
|
102
|
-
_: 1
|
|
103
|
-
}, 8, ["visible", "title", "height", "width", "resizable", "actions"]));
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
export {
|
|
107
|
-
$ as default
|
|
108
|
-
};
|
|
109
|
-
//# sourceMappingURL=ErPopRichEditor-UIPFVkDP.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErPopRichEditor-UIPFVkDP.js","sources":["../packages/components/ErPopRichEditor/ErPopRichEditor.vue"],"sourcesContent":["<template>\n <er-dialog ref=\"dialogRef\" v-model:visible=\"props.popRichEditorProps.WindowOpened.value\"\n :title=\"props.options.title\"\n :height=\"props.options.height || '630px' \" \n :width=\"props.options.height || '830px' \" \n :default-footer=\"true\"\n :show-confirm=\"false\"\n :show-cancel=\"false\"\n :resizable=\"props.options.BordStyle === 'Sizable'\"\n :actions=\"props.options.BordStyle === 'Fixed' ? ['close'] : undefined\"\n @open=\"onOpen\"\n @click-close-icon=\"cancelClick\">\n <div style=\"display: flex; height: 100%; width: 100%; flex-direction: column; padding: 5px;\">\n <codemirror\n v-model=\"refContent\"\n :indent-with-tab=\"true\"\n :tabSize=\"2\"\n :extensions=\"extensions\"\n :style=\"{width: '100%',height: '100%'}\"\n />\n </div>\n <template #footer-left>\n <button class=\"xr-er-button\" @click=\"formatClick\">{{ ER.Core.$t('ERX.Format') || '格式化'}}</button>\n <button class=\"xr-er-button\" @click=\"okClick\">{{ props.popRichEditorProps.OkButtonCaption || ER.Core.$t('ERX.Confirm') || '确认'}}</button>\n <button class=\"xr-er-button\" @click=\"cancelClick\">{{ props.popRichEditorProps.CancelButtonCaption || ER.Core.$t('ERX.Cancel') || '取消' }}</button>\n </template>\n </er-dialog>\n</template>\n\n<script lang=\"ts\">\n/* eslint-disable no-undef */\nimport { defineProps, onMounted, ref, defineComponent} from 'vue';\nimport { ER } from '../../utils/er';\nimport ErDialog from '../ErDialog/ErDialog.vue';\nimport { Codemirror } from \"vue-codemirror\";\nimport * as sqlFormatter from \"sql-formatter\";\nimport { sql } from '@codemirror/lang-sql';\nimport { javascript } from \"@codemirror/lang-javascript\"\nimport { json } from '@codemirror/lang-json';\n\nexport default defineComponent({\n name: 'er-pop-rich-editor',\n components: {\n ErDialog\n }\n});\n</script>\n\n<script lang=\"ts\" setup>\nconst props = defineProps({\n popRichEditorProps: {\n type: ER.PopRichEditor,\n default: null,\n require: true\n },\n options: {\n type: Object as () => { [key: string]: any },\n default: {},\n require: false\n },\n content: {\n type: String,\n default: '',\n require: false\n },\n});\n\nconst extensions = ref<any>(null);\nconst refContent = ref(props.content);\n\nconst dialogRef = ref(null);\n\nconst onOpen = (e: any) => {\n props.popRichEditorProps.doEvent('open');\n};\n\nconst okClick = async (e: any) => {\n const format = formatContent();\n if (format === false) {\n return;\n }\n if (refContent.value && props.options?.extension?.toLowerCase() === 'json') {\n props.popRichEditorProps.Content = JSON.stringify(JSON.parse(refContent.value));\n }\n const okEvent = props.popRichEditorProps.getEvent('ok');\n if (okEvent) {\n const result = await okEvent();\n if (result === false) {\n return;\n }\n }\n if (props.popRichEditorProps.CloseDialogWhenOkClick) {\n props.popRichEditorProps.close();\n }\n};\n\nconst formatClick = () => {\n formatContent();\n};\n\nconst formatContent = () => {\n try {\n if (refContent.value) {\n if (props.options?.extension?.toLowerCase() === 'sql') {\n refContent.value = sqlFormatter.format(refContent.value);\n } else if (props.options?.extension?.toLowerCase() === 'json') {\n refContent.value = JSON.stringify(JSON.parse(refContent.value), null, 2);\n } else if (props.options?.extension?.toLowerCase() === 'javascript') {\n refContent.value = JSON.stringify(JSON.parse(refContent.value), null, 2);\n }\n }\n } catch (error: any) {\n ER.Core.messageError(error.message);\n return false;\n }\n return true;\n}\n\nconst cancelClick = () => {\n props.popRichEditorProps.close();\n}\n\n// 画面相关数据初始化\nconst Initialize = () => {\n if (props.options?.extension?.toLowerCase() === 'sql') {\n extensions.value = [sql()];\n } else if (props.options?.extension?.toLowerCase() === 'json') {\n extensions.value = [json()];\n } else if (props.options?.extension?.toLowerCase() === 'javascript') {\n extensions.value = [javascript()];\n }\n};\n\nInitialize();\n\nonMounted(() => {\n refContent.value = props.content;\n formatContent();\n});\n</script>\n\n<style lang=\"scss\">\n\n</style>\n"],"names":["__default__","defineComponent","ErDialog","props","__props","extensions","ref","refContent","dialogRef","onOpen","e","okClick","formatContent","_b","_a","okEvent","formatClick","sqlFormatter","_d","_c","_f","_e","error","ER","cancelClick","sql","json","javascript","onMounted"],"mappings":";;;;;;;qHAwCAA,IAAeC,EAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,YAAY;AAAA,IACV,UAAAC;AAAA,EAAA;AAEJ,CAAC;;;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aW,YAVQ,MAAM;;AACvB,QAAIU,KAAAC,IAAAX,EAAM,YAAN,gBAAAW,EAAe,cAAf,gBAAAD,EAA0B,mBAAkB,QACnCR,EAAA,QAAQ,CAACoB,GAAK,MAChBP,KAAAC,IAAAhB,EAAM,YAAN,gBAAAgB,EAAe,cAAf,gBAAAD,EAA0B,mBAAkB,SAC1Cb,EAAA,QAAQ,CAACqB,GAAM,MACjBN,KAAAC,IAAAlB,EAAM,YAAN,gBAAAkB,EAAe,cAAf,gBAAAD,EAA0B,mBAAkB,iBAC1Cf,EAAA,QAAQ,CAACsB,GAAY;AAAA,IAEpC,GAEW,GAEXC,EAAU,MAAM;AACd,MAAArB,EAAW,QAAQJ,EAAM,SACXS,EAAA;AAAA,IAAA,CACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { defineComponent as D, ref as g, onMounted as S, createBlock as A, openBlock as u, withCtx as T, createVNode as H, createElementBlock as m, createCommentVNode as k, toDisplayString as h, unref as E } from "vue";
|
|
2
|
-
import { E as n, g as y, b as O, c as R, d as _ } from "./index-CMksYzVy.js";
|
|
3
|
-
const M = D({
|
|
4
|
-
name: "ErPopTree",
|
|
5
|
-
components: {
|
|
6
|
-
ErDialog: O,
|
|
7
|
-
ErPanel: R
|
|
8
|
-
}
|
|
9
|
-
}), X = /* @__PURE__ */ D({
|
|
10
|
-
...M,
|
|
11
|
-
props: {
|
|
12
|
-
popTreeHelperProp: {
|
|
13
|
-
type: n.PopTreeHelper,
|
|
14
|
-
default: null,
|
|
15
|
-
require: !0
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
emits: ["OkClick", "CancelClick", "Closed"],
|
|
19
|
-
setup(w, { emit: b }) {
|
|
20
|
-
var P;
|
|
21
|
-
const e = w, a = b, x = g(y());
|
|
22
|
-
window.$wujie && ((P = window.$wujie.bus) == null || P.$on("changeThemeEmit", (o) => {
|
|
23
|
-
x.value = y();
|
|
24
|
-
}));
|
|
25
|
-
const c = g(null);
|
|
26
|
-
let t, l = [], i;
|
|
27
|
-
const v = async (o) => {
|
|
28
|
-
t = o.api, t.addEventListener("selectionChanged", (r) => {
|
|
29
|
-
const p = r.api.getSelectedRows();
|
|
30
|
-
(p == null ? void 0 : p.length) > 0 ? i = p[0] : i = void 0;
|
|
31
|
-
}), e.popTreeHelperProp.TreeOrgialData instanceof Function ? (l = await e.popTreeHelperProp.TreeOrgialData(), t.setTreeData(l)) : e.popTreeHelperProp.TreeOrgialData instanceof Array && (l = e.popTreeHelperProp.TreeOrgialData, t.setTreeData(l));
|
|
32
|
-
}, F = (o) => {
|
|
33
|
-
const { orgHierarchy: r, ...p } = o.node.data, s = [];
|
|
34
|
-
return s.push({
|
|
35
|
-
name: n.Core.$t("ERX.ErMenuDevPlat.Refresh") || "Refresh",
|
|
36
|
-
action: async () => {
|
|
37
|
-
e.popTreeHelperProp.TreeOrgialData instanceof Function && (l = await e.popTreeHelperProp.TreeOrgialData(), t.setTreeData(l, i == null ? void 0 : i[e.popTreeHelperProp.PrimaryField]));
|
|
38
|
-
},
|
|
39
|
-
icon: n.Core.createErIconElement("refresh"),
|
|
40
|
-
disabled: !1
|
|
41
|
-
}), s.push({
|
|
42
|
-
name: n.Core.$t("ERX.ErMenuDevPlat.ExpandAll") || "Expand All",
|
|
43
|
-
action: () => {
|
|
44
|
-
t.expandAll();
|
|
45
|
-
},
|
|
46
|
-
icon: n.Core.createErIconElement("expand-all"),
|
|
47
|
-
disabled: !1
|
|
48
|
-
}), s.push({
|
|
49
|
-
name: n.Core.$t("ERX.ErMenuDevPlat.CollapseAll") || "Collapse All",
|
|
50
|
-
action: () => {
|
|
51
|
-
t.collapseAll();
|
|
52
|
-
},
|
|
53
|
-
icon: n.Core.createErIconElement("collapse-all"),
|
|
54
|
-
disabled: !1
|
|
55
|
-
}), s;
|
|
56
|
-
}, B = async () => {
|
|
57
|
-
e.popTreeHelperProp.AutoRefresh && t && e.popTreeHelperProp.TreeOrgialData instanceof Function && (l = await e.popTreeHelperProp.TreeOrgialData(), t.setTreeData(l));
|
|
58
|
-
}, I = async () => {
|
|
59
|
-
const o = e.popTreeHelperProp.getOptions("doubleClick");
|
|
60
|
-
if (o && o instanceof Function) {
|
|
61
|
-
const r = t.getSelectedNodes(), p = { api: t, node: r[0], data: l };
|
|
62
|
-
await o(p) && C();
|
|
63
|
-
} else
|
|
64
|
-
d();
|
|
65
|
-
}, d = () => {
|
|
66
|
-
const o = t.getSelectedNodes();
|
|
67
|
-
if (o.length === 0)
|
|
68
|
-
return !1;
|
|
69
|
-
let r = o[0].data;
|
|
70
|
-
if (e.popTreeHelperProp.BeforeOkButtonClick && (r = e.popTreeHelperProp.BeforeOkButtonClick(r), !r))
|
|
71
|
-
return !1;
|
|
72
|
-
const p = {
|
|
73
|
-
sender: c,
|
|
74
|
-
formHelper: e.popTreeHelperProp,
|
|
75
|
-
context: e.popTreeHelperProp.Context,
|
|
76
|
-
data: r,
|
|
77
|
-
dialogResult: "ok",
|
|
78
|
-
dialogColseType: "buttonClick",
|
|
79
|
-
checkedItem: r,
|
|
80
|
-
checkedItemArray: [r]
|
|
81
|
-
};
|
|
82
|
-
return e.popTreeHelperProp.setDialogReturnInfo(p), e.popTreeHelperProp.doEvent("ok", p), e.popTreeHelperProp.close(), a("OkClick", p), !0;
|
|
83
|
-
}, f = () => {
|
|
84
|
-
const o = {
|
|
85
|
-
sender: c,
|
|
86
|
-
formHelper: e.popTreeHelperProp,
|
|
87
|
-
context: e.popTreeHelperProp.Context,
|
|
88
|
-
dialogResult: "cancel",
|
|
89
|
-
dialogColseType: "buttonClick"
|
|
90
|
-
}, r = e.popTreeHelperProp.getEvent("cancel");
|
|
91
|
-
r && r instanceof Function ? (r(o), a("CancelClick", o)) : e.popTreeHelperProp.CancelButtonPreventDefault || (e.popTreeHelperProp.setDialogReturnInfo(o), a("CancelClick", o), e.popTreeHelperProp.close()), e.popTreeHelperProp.close(), a("CancelClick", o);
|
|
92
|
-
}, C = () => {
|
|
93
|
-
var r;
|
|
94
|
-
const o = {
|
|
95
|
-
sender: c,
|
|
96
|
-
dialogResult: "cancel",
|
|
97
|
-
dialogColseType: "iconClick",
|
|
98
|
-
formHelper: e.popTreeHelperProp,
|
|
99
|
-
context: e.popTreeHelperProp.Context
|
|
100
|
-
};
|
|
101
|
-
e.popTreeHelperProp.doEvent("close", o), e.popTreeHelperProp.close(), (r = e.popTreeHelperProp) == null || r.setDialogReturnInfo(o), a("Closed", o);
|
|
102
|
-
};
|
|
103
|
-
return S(() => {
|
|
104
|
-
}), (o, r) => (u(), A(O, {
|
|
105
|
-
ref_key: "dialogRef",
|
|
106
|
-
ref: c,
|
|
107
|
-
visible: e.popTreeHelperProp.WindowOpened.value,
|
|
108
|
-
"onUpdate:visible": r[0] || (r[0] = (p) => e.popTreeHelperProp.WindowOpened.value = p),
|
|
109
|
-
title: e.popTreeHelperProp.getOptions("title"),
|
|
110
|
-
height: e.popTreeHelperProp.getOptions("height") + "px",
|
|
111
|
-
width: e.popTreeHelperProp.getOptions("width") + "px",
|
|
112
|
-
"default-footer": e.popTreeHelperProp.ShowCancelButton || e.popTreeHelperProp.ShowOkButton,
|
|
113
|
-
resizable: e.popTreeHelperProp.BordStyle === "Sizable",
|
|
114
|
-
actions: e.popTreeHelperProp.BordStyle === "Fixed" ? ["close"] : void 0,
|
|
115
|
-
"destroy-on-close": e.popTreeHelperProp.UnMountWhenCloseDialog,
|
|
116
|
-
"show-confirm": !1,
|
|
117
|
-
"show-cancel": !1,
|
|
118
|
-
onOpen: B,
|
|
119
|
-
onCancel: f,
|
|
120
|
-
onConfirm: d,
|
|
121
|
-
onClickCloseIcon: C
|
|
122
|
-
}, {
|
|
123
|
-
"footer-left": T(() => [
|
|
124
|
-
e.popTreeHelperProp.ShowOkButton ? (u(), m("button", {
|
|
125
|
-
key: 0,
|
|
126
|
-
class: "xr-er-button",
|
|
127
|
-
onClick: d
|
|
128
|
-
}, h(E(n).Core.$t("ERX.Confirm") || "确定"), 1)) : k("", !0),
|
|
129
|
-
e.popTreeHelperProp.ShowCancelButton ? (u(), m("button", {
|
|
130
|
-
key: 1,
|
|
131
|
-
class: "xr-er-button",
|
|
132
|
-
onClick: f
|
|
133
|
-
}, h(E(n).Core.$t("ERX.Cancel") || "取消"), 1)) : k("", !0)
|
|
134
|
-
]),
|
|
135
|
-
default: T(() => [
|
|
136
|
-
H(R, {
|
|
137
|
-
"show-header": !1,
|
|
138
|
-
style: { height: "100%" }
|
|
139
|
-
}, {
|
|
140
|
-
contentSlot: T(() => [
|
|
141
|
-
H(_, {
|
|
142
|
-
primaryField: e.popTreeHelperProp.PrimaryField,
|
|
143
|
-
parentField: e.popTreeHelperProp.ParentField,
|
|
144
|
-
displayField: e.popTreeHelperProp.DisplayField,
|
|
145
|
-
groupDefaultExpanded: e.popTreeHelperProp.getOptions("groupDefaultExpanded"),
|
|
146
|
-
nodeRenderer: e.popTreeHelperProp.getOptions("nodeRenderer"),
|
|
147
|
-
getContextMenu: F,
|
|
148
|
-
getNodeIconComponent: e.popTreeHelperProp.getOptions("getNodeIconComponent"),
|
|
149
|
-
options: e.popTreeHelperProp.getOptions(),
|
|
150
|
-
onErTreeReady: v,
|
|
151
|
-
onDoubleClick: I
|
|
152
|
-
}, null, 8, ["primaryField", "parentField", "displayField", "groupDefaultExpanded", "nodeRenderer", "getNodeIconComponent", "options"])
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
})
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
}, 8, ["visible", "title", "height", "width", "default-footer", "resizable", "actions", "destroy-on-close"]));
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
export {
|
|
162
|
-
X as default
|
|
163
|
-
};
|
|
164
|
-
//# sourceMappingURL=ErPopTree-DshpECo5.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErPopTree-DshpECo5.js","sources":["../packages/components/ErPopTree/ErPopTree.vue"],"sourcesContent":["<template>\n <er-dialog ref=\"dialogRef\" v-model:visible=\"props.popTreeHelperProp.WindowOpened.value\"\n :title=\"props.popTreeHelperProp.getOptions('title')\"\n :height=\"props.popTreeHelperProp.getOptions('height') + 'px'\" \n :width=\"props.popTreeHelperProp.getOptions('width') + 'px'\" \n :default-footer=\"props.popTreeHelperProp.ShowCancelButton || props.popTreeHelperProp.ShowOkButton\"\n :resizable=\"props.popTreeHelperProp.BordStyle === 'Sizable'\"\n :actions=\"props.popTreeHelperProp.BordStyle === 'Fixed' ? ['close'] : undefined\"\n :destroy-on-close=\"props.popTreeHelperProp.UnMountWhenCloseDialog\"\n :show-confirm=\"false\"\n :show-cancel=\"false\"\n @open=\"onOpen\"\n @cancel=\"cancelClick\"\n @confirm=\"confirmClick\"\n @click-close-icon=\"closeClick\">\n <er-panel\n :show-header=\"false\"\n style=\"height: 100%\"\n >\n <template #contentSlot>\n <er-tree\n :primaryField=\"props.popTreeHelperProp.PrimaryField\"\n :parentField=\"props.popTreeHelperProp.ParentField\"\n :displayField=\"props.popTreeHelperProp.DisplayField\" \n :groupDefaultExpanded=\"props.popTreeHelperProp.getOptions('groupDefaultExpanded')\"\n :nodeRenderer=\"props.popTreeHelperProp.getOptions('nodeRenderer')\"\n :getContextMenu=\"getDevTreeContextMenuItems\"\n :getNodeIconComponent=\"props.popTreeHelperProp.getOptions('getNodeIconComponent')\"\n :options=\"props.popTreeHelperProp.getOptions()\"\n @er-tree-ready=\"erTreeReady\"\n @double-click=\"doubleClick\"\n ></er-tree>\n </template>\n </er-panel>\n <template #footer-left>\n <button class=\"xr-er-button\" v-if=\"props.popTreeHelperProp.ShowOkButton\" @click=\"confirmClick\">{{ ER.Core.$t('ERX.Confirm') || '确定'}}</button>\n <button class=\"xr-er-button\" v-if=\"props.popTreeHelperProp.ShowCancelButton\" @click=\"cancelClick\">{{ ER.Core.$t('ERX.Cancel') || '取消' }} </button>\n </template>\n </er-dialog>\n</template>\n\n<script lang=\"ts\">\n/* eslint-disable no-undef */\nimport { h, defineProps, onMounted, ref, defineComponent } from 'vue';\nimport { getAntdTheme } from \"@/utils/theme\";\nimport { ER } from '../../utils/er';\nimport { PopTreeReturnInfo } from '@/type/er-type';\nimport ErDialog from '../ErDialog/ErDialog.vue';\nimport ErPanel from '../ErPanel/ErPanel.vue';\nimport ErTree from '@/components/ErTree/ErTree.vue';\n\nexport default defineComponent({\n name: 'ErPopTree',\n components: {\n ErDialog,\n ErPanel\n }\n});\n</script>\n\n<script lang=\"ts\" setup>\nconst props = defineProps({\n popTreeHelperProp: {\n type: ER.PopTreeHelper,\n default: null,\n require: true\n }\n});\nconst emit = defineEmits(['OkClick', 'CancelClick', 'Closed']);\nconst antdTheme = ref(getAntdTheme());\nif ((window as any).$wujie) {\n (window as any).$wujie.bus?.$on(\"changeThemeEmit\", (e: any) => {\n antdTheme.value = getAntdTheme();\n });\n}\nconst dialogRef = ref<any>(null);\nlet treeApi: any = void 0;\nlet treeData: any[] = [];\nlet selectedData: any = void 0;\n\nconst erTreeReady = async (params: any) => {\n treeApi = params.api;\n treeApi.addEventListener('selectionChanged', (params: any) => {\n const selectNodes = params.api.getSelectedRows();\n if (selectNodes?.length > 0) {\n selectedData = selectNodes[0];\n } else {\n selectedData = void 0;\n }\n });\n if (props.popTreeHelperProp.TreeOrgialData instanceof Function) {\n treeData = await props.popTreeHelperProp.TreeOrgialData();\n treeApi.setTreeData(treeData);\n } else if (props.popTreeHelperProp.TreeOrgialData instanceof Array) {\n treeData = props.popTreeHelperProp.TreeOrgialData;\n treeApi.setTreeData(treeData);\n }\n};\n\nconst getDevTreeContextMenuItems = (params: any) => {\n const { orgHierarchy, ...node } = params.node.data;\n const menuItems: any[] = [];\n menuItems.push({\n name: ER.Core.$t('ERX.ErMenuDevPlat.Refresh') || 'Refresh',\n action: async () => {\n if (props.popTreeHelperProp.TreeOrgialData instanceof Function) {\n treeData = await props.popTreeHelperProp.TreeOrgialData();\n treeApi.setTreeData(treeData, selectedData?.[props.popTreeHelperProp.PrimaryField]);\n } \n },\n icon: ER.Core.createErIconElement('refresh'), \n disabled: false\n });\n menuItems.push({\n name: ER.Core.$t('ERX.ErMenuDevPlat.ExpandAll') || 'Expand All',\n action: () => {\n treeApi.expandAll();\n },\n icon: ER.Core.createErIconElement('expand-all'), \n disabled: false\n });\n menuItems.push({\n name: ER.Core.$t('ERX.ErMenuDevPlat.CollapseAll') || 'Collapse All',\n action: () => {\n treeApi.collapseAll();\n },\n icon: ER.Core.createErIconElement('collapse-all'), \n disabled: false\n });\n\n return menuItems;\n};\n\nconst onOpen = async () => {\n if (props.popTreeHelperProp.AutoRefresh && treeApi && props.popTreeHelperProp.TreeOrgialData instanceof Function) {\n treeData = await props.popTreeHelperProp.TreeOrgialData();\n treeApi.setTreeData(treeData);\n }\n};\n\nconst doubleClick = async () => {\n const doubleClick = props.popTreeHelperProp.getOptions('doubleClick');\n if (doubleClick && doubleClick instanceof Function) {\n const selectedNode = treeApi.getSelectedNodes();\n const params = { api: treeApi, node: selectedNode[0], data: treeData };\n const doubleClickResult = await doubleClick(params);\n if (doubleClickResult) {\n closeClick();\n }\n } else {\n confirmClick();\n }\n};\n\nconst confirmClick = (): boolean => {\n const selectedNode = treeApi.getSelectedNodes();\n if (selectedNode.length === 0) {\n return false;\n }\n let data = selectedNode[0].data;\n if (props.popTreeHelperProp.BeforeOkButtonClick) {\n data = props.popTreeHelperProp.BeforeOkButtonClick(data);\n if (!data) {\n return false;\n }\n }\n\n const senderMsg = {\n sender: dialogRef,\n formHelper: props.popTreeHelperProp,\n context: props.popTreeHelperProp.Context,\n data: data,\n dialogResult: 'ok',\n dialogColseType: 'buttonClick',\n checkedItem: data,\n checkedItemArray: [data]\n } as PopTreeReturnInfo;\n \n props.popTreeHelperProp.setDialogReturnInfo(senderMsg);\n props.popTreeHelperProp.doEvent('ok', senderMsg);\n props.popTreeHelperProp.close();\n\n emit('OkClick', senderMsg);\n return true;\n};\n\nconst cancelClick = () => {\n\n const senderMsg = {\n sender: dialogRef,\n formHelper: props.popTreeHelperProp,\n context: props.popTreeHelperProp.Context,\n dialogResult: 'cancel',\n dialogColseType: 'buttonClick'\n } as PopTreeReturnInfo;\n const cancelEvent = props.popTreeHelperProp.getEvent('cancel');\n if (cancelEvent && cancelEvent instanceof Function) {\n cancelEvent(senderMsg);\n emit('CancelClick', senderMsg);\n } else if (!props.popTreeHelperProp.CancelButtonPreventDefault) {\n props.popTreeHelperProp.setDialogReturnInfo(senderMsg);\n emit('CancelClick', senderMsg);\n props.popTreeHelperProp.close();\n }\n props.popTreeHelperProp.close();\n emit('CancelClick', senderMsg);\n};\n\nconst closeClick = () => {\n const senderMsg = {\n sender: dialogRef,\n dialogResult: 'cancel',\n dialogColseType: 'iconClick',\n formHelper: props.popTreeHelperProp,\n context: props.popTreeHelperProp.Context,\n } as PopTreeReturnInfo;\n\n props.popTreeHelperProp.doEvent('close', senderMsg);\n props.popTreeHelperProp.close();\n props.popTreeHelperProp?.setDialogReturnInfo(senderMsg);\n emit('Closed', senderMsg);\n}\n\nonMounted(() => {\n\n});\n\n\n</script>\n\n<style lang=\"scss\">\n\n</style>\n"],"names":["__default__","defineComponent","ErDialog","ErPanel","props","__props","emit","__emit","antdTheme","ref","getAntdTheme","_a","e","dialogRef","treeApi","treeData","selectedData","erTreeReady","params","selectNodes","getDevTreeContextMenuItems","orgHierarchy","node","menuItems","ER","onOpen","doubleClick","selectedNode","closeClick","confirmClick","data","senderMsg","cancelClick","cancelEvent","onMounted"],"mappings":";;AAmDA,MAAAA,IAAeC,EAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,YAAY;AAAA,IACV,UAAAC;AAAA,IACA,SAAAC;AAAA,EAAA;AAEJ,CAAC;;;;;;;;;;;;AAID,UAAMC,IAAQC,GAORC,IAAOC,GACPC,IAAYC,EAAIC,GAAc;AACpC,IAAK,OAAe,YACjBC,IAAA,OAAe,OAAO,QAAtB,QAAAA,EAA2B,IAAI,mBAAmB,CAACC,MAA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