@fecp/designer 5.6.26 → 5.6.28
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/es/_virtual/index2.mjs +5 -3
- package/es/_virtual/index3.mjs +3 -5
- package/es/_virtual/index4.mjs +2 -2
- package/es/_virtual/index5.mjs +2 -2
- package/es/designer/package.json.mjs +1 -1
- package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
- package/es/designer/src/packages/form/components/H2Wrapper.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/importantDataChange/index.vue.mjs +1 -1
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/TableSetting.vue.mjs +19 -20
- package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
- package/es/designer/src/packages/table/tableBtn.vue.mjs +72 -16
- package/es/designer.css +281 -195
- package/es/node_modules/@braintree/sanitize-url/dist/index.mjs +1 -1
- package/es/node_modules/diagram-js/lib/model/index.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.mjs +1 -1
- package/es/node_modules/object-refs/index.mjs +1 -1
- package/es/packages/mobile/index.mjs +2 -0
- package/es/packages/mobile/src/components/all.mjs +2 -0
- package/es/packages/mobile/src/components/custom/aiAssistant/AiAssistant.vue.mjs +91 -0
- package/es/packages/mobile/src/components/custom/aiAssistant/index.mjs +10 -0
- package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +25 -16
- package/es/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.mjs +7 -3
- package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +2 -2
- package/es/packages/mobile/src/index.vue.mjs +14 -68
- package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/NodeItem.vue.mjs +1 -1
- package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/h2/H2.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +58 -3
- package/es/packages/vue/src/components/forms/subTable/index.mjs +2 -2
- package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +51 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +7 -3
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +6 -6
- package/lib/_virtual/index2.js +6 -4
- package/lib/_virtual/index3.js +4 -6
- package/lib/_virtual/index4.js +2 -2
- package/lib/_virtual/index5.js +2 -2
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
- package/lib/designer/src/packages/form/components/H2Wrapper.vue.js +1 -1
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/importantDataChange/index.vue.js +1 -1
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/TableSetting.vue.js +19 -20
- package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
- package/lib/designer/src/packages/table/tableBtn.vue.js +83 -27
- package/lib/designer.css +281 -195
- package/lib/node_modules/@braintree/sanitize-url/dist/index.js +1 -1
- package/lib/node_modules/diagram-js/lib/model/index.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.js +1 -1
- package/lib/node_modules/object-refs/index.js +1 -1
- package/lib/packages/mobile/index.js +4 -2
- package/lib/packages/mobile/src/components/all.js +2 -0
- package/lib/packages/mobile/src/components/custom/aiAssistant/AiAssistant.vue.js +91 -0
- package/lib/packages/mobile/src/components/custom/aiAssistant/index.js +10 -0
- package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +25 -16
- package/lib/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.js +7 -3
- package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +2 -2
- package/lib/packages/mobile/src/index.vue.js +17 -71
- package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/NodeItem.vue.js +1 -1
- package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/h2/H2.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +57 -2
- package/lib/packages/vue/src/components/table/CustomButtons.vue.js +51 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +7 -3
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +5 -5
- package/package.json +1 -1
package/es/_virtual/index2.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from "./_commonjsHelpers.mjs";
|
|
2
|
+
import { __require as requireObjectRefs } from "../node_modules/object-refs/index.mjs";
|
|
3
|
+
var objectRefsExports = requireObjectRefs();
|
|
4
|
+
const Refs = /* @__PURE__ */ getDefaultExportFromCjs(objectRefsExports);
|
|
3
5
|
export {
|
|
4
|
-
|
|
6
|
+
Refs as default
|
|
5
7
|
};
|
package/es/_virtual/index3.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
var objectRefsExports = requireObjectRefs();
|
|
4
|
-
const Refs = /* @__PURE__ */ getDefaultExportFromCjs(objectRefsExports);
|
|
1
|
+
import { __require as requireDist } from "../node_modules/@braintree/sanitize-url/dist/index.mjs";
|
|
2
|
+
var distExports = requireDist();
|
|
5
3
|
export {
|
|
6
|
-
|
|
4
|
+
distExports as d
|
|
7
5
|
};
|
package/es/_virtual/index4.mjs
CHANGED
package/es/_virtual/index5.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { getCurrentInstance, computed, ref, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
|
|
11
11
|
import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
12
|
-
import ValueSelector from "./ValueSelector.
|
|
12
|
+
import ValueSelector from "./ValueSelector.vue.mjs";
|
|
13
13
|
import api from "../api/index.mjs";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -4,7 +4,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { computed, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
|
|
6
6
|
import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
7
|
-
import ValueSelector from "./ValueSelector.
|
|
7
|
+
import ValueSelector from "./ValueSelector.vue.mjs";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
10
10
|
import { ElButton } from "../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
@@ -16,7 +16,7 @@ import { Plus as plus_default, RefreshRight as refresh_right_default, Delete as
|
|
|
16
16
|
import { getEditConfigData, getEditingType, cloneDeep, getEditConfigDataFields } from "../../packages/utils/common.mjs";
|
|
17
17
|
import { defaultProperty } from "../../packages/form/aside/index.mjs";
|
|
18
18
|
import { defaultProperty as defaultProperty$1 } from "../../packages/table/aside/index.mjs";
|
|
19
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
19
|
+
import ValueSelector from "../../components/ValueSelector.vue.mjs";
|
|
20
20
|
/* empty css */
|
|
21
21
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
22
22
|
import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
|
|
|
14
14
|
import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
15
15
|
import { getCurrentInstance, computed, watch, ref, createElementBlock, unref, openBlock, createBlock, isRef, createVNode, createElementVNode, withCtx, Fragment, renderList } from "vue";
|
|
16
16
|
import { useVModel } from "../../../../node_modules/@vueuse/core/dist/index.mjs";
|
|
17
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
17
|
+
import ValueSelector from "../../components/ValueSelector.vue.mjs";
|
|
18
18
|
import api from "../../api/index.mjs";
|
|
19
19
|
import { getEditConfigDataSources } from "../utils/common.mjs";
|
|
20
20
|
import { createDataSource } from "../utils/datasource.mjs";
|
|
@@ -30,7 +30,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs
|
|
|
30
30
|
/* empty css */
|
|
31
31
|
/* empty css */
|
|
32
32
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
33
|
-
/* empty css
|
|
33
|
+
/* empty css */
|
|
34
34
|
import api from "../../api/index.mjs";
|
|
35
35
|
/* empty css */
|
|
36
36
|
/* empty css */
|
|
@@ -85,7 +85,7 @@ import widgets from "../table/property/widgets.vue.mjs";
|
|
|
85
85
|
import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
86
86
|
/* empty css */
|
|
87
87
|
/* empty css */
|
|
88
|
-
/* empty css
|
|
88
|
+
/* empty css */
|
|
89
89
|
/* empty css */
|
|
90
90
|
/* empty css */
|
|
91
91
|
/* empty css */
|
|
@@ -4,7 +4,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
|
|
6
6
|
import RiskSchemeSelector from "../../../../components/RiskSchemeSelector.vue2.mjs";
|
|
7
|
-
import ValueSelector from "../../../../components/ValueSelector.
|
|
7
|
+
import ValueSelector from "../../../../components/ValueSelector.vue.mjs";
|
|
8
8
|
import ParamsConfig from "../../../../components/ParamsConfig.vue2.mjs";
|
|
9
9
|
import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
10
10
|
import { ElSwitch } from "../../../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
@@ -29,7 +29,7 @@ const _sfc_main = {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
const H2Wrapper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
32
|
+
const H2Wrapper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c8a07776"]]);
|
|
33
33
|
export {
|
|
34
34
|
H2Wrapper as default
|
|
35
35
|
};
|
|
@@ -11,7 +11,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
11
11
|
import { computed, ref, watch, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
|
|
12
12
|
import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
|
|
13
13
|
import emitter from "../../utils/eventBus.mjs";
|
|
14
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
14
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
15
15
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
|
16
16
|
import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
17
17
|
import { ElInput } from "../../../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
@@ -18,7 +18,7 @@ import __unplugin_components_6 from "../../../components/EventConfigButton.vue.m
|
|
|
18
18
|
import { getCurrentInstance, computed, ref, createBlock, openBlock, withCtx, createVNode, createTextVNode, createElementBlock, Fragment, renderList } from "vue";
|
|
19
19
|
import { getCurrentItem } from "../../utils/common.mjs";
|
|
20
20
|
import "../../utils/eventBus.mjs";
|
|
21
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
21
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
22
22
|
import api from "../../../api/index.mjs";
|
|
23
23
|
import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
|
|
24
24
|
/* empty css */
|
|
@@ -12,7 +12,7 @@ import { computed, ref, createBlock, openBlock, unref, isRef, withCtx, createVNo
|
|
|
12
12
|
import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
|
|
13
13
|
import TemplateSelector from "../../../components/TemplateSelector.vue2.mjs";
|
|
14
14
|
import emitter from "../../utils/eventBus.mjs";
|
|
15
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
15
|
+
import ValueSelector from "../../../components/ValueSelector.vue.mjs";
|
|
16
16
|
import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
|
|
17
17
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
|
18
18
|
import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
|
|
@@ -5,7 +5,7 @@ import "../../../../node_modules/element-plus/es/index.mjs";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { useModel, ref, watch, createBlock, openBlock, withCtx, createElementVNode, createElementBlock, createCommentVNode, createVNode, createTextVNode, Fragment, renderList, toDisplayString } from "vue";
|
|
8
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
8
|
+
import ValueSelector from "../../components/ValueSelector.vue.mjs";
|
|
9
9
|
import { getEditConfigData, setEditConfigData } from "../utils/common.mjs";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/es/index.mjs";
|
|
|
14
14
|
import { getCurrentInstance, useModel, ref, watch, computed, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, unref } from "vue";
|
|
15
15
|
import { Plus as plus_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
16
16
|
import { getEditConfigData, getEditConfigDataFields, setEditConfigData } from "../utils/common.mjs";
|
|
17
|
-
import ValueSelector from "../../components/ValueSelector.
|
|
17
|
+
import ValueSelector from "../../components/ValueSelector.vue.mjs";
|
|
18
18
|
import api from "../../api/index.mjs";
|
|
19
19
|
/* empty css */
|
|
20
20
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -158,8 +158,7 @@ const _sfc_main = {
|
|
|
158
158
|
_: 1
|
|
159
159
|
}, 8, ["modelValue"]),
|
|
160
160
|
unref(tableConfig).selectMode == "multiple" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
161
|
-
_cache[11] || (_cache[11] = createElementVNode("
|
|
162
|
-
_cache[12] || (_cache[12] = createElementVNode("span", { class: "text-label" }, "主键字段", -1)),
|
|
161
|
+
_cache[11] || (_cache[11] = createElementVNode("span", { class: "text-label" }, "主键字段", -1)),
|
|
163
162
|
createVNode(_component_el_select, {
|
|
164
163
|
modelValue: unref(tableConfig).pkFieldName,
|
|
165
164
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(tableConfig).pkFieldName = $event),
|
|
@@ -201,15 +200,15 @@ const _sfc_main = {
|
|
|
201
200
|
_: 1
|
|
202
201
|
}, 8, ["modelValue"])
|
|
203
202
|
], 64)) : createCommentVNode("", true),
|
|
204
|
-
_cache[
|
|
205
|
-
_cache[
|
|
203
|
+
_cache[16] || (_cache[16] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
204
|
+
_cache[17] || (_cache[17] = createElementVNode("span", { class: "text-label" }, "序号", -1)),
|
|
206
205
|
createVNode(_component_el_switch, {
|
|
207
206
|
modelValue: unref(tableConfig).showIndex,
|
|
208
207
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(tableConfig).showIndex = $event),
|
|
209
208
|
size: "small"
|
|
210
209
|
}, null, 8, ["modelValue"]),
|
|
211
|
-
_cache[
|
|
212
|
-
_cache[
|
|
210
|
+
_cache[18] || (_cache[18] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
211
|
+
_cache[19] || (_cache[19] = createElementVNode("span", { class: "text-label" }, "高度", -1)),
|
|
213
212
|
createVNode(_component_el_radio_group, {
|
|
214
213
|
modelValue: unref(tableConfig).heightMode,
|
|
215
214
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(tableConfig).heightMode = $event),
|
|
@@ -217,13 +216,13 @@ const _sfc_main = {
|
|
|
217
216
|
}, {
|
|
218
217
|
default: withCtx(() => [
|
|
219
218
|
createVNode(_component_el_radio_button, { value: "auto" }, {
|
|
220
|
-
default: withCtx(() => _cache[
|
|
219
|
+
default: withCtx(() => _cache[12] || (_cache[12] = [
|
|
221
220
|
createTextVNode("自适应")
|
|
222
221
|
])),
|
|
223
222
|
_: 1
|
|
224
223
|
}),
|
|
225
224
|
createVNode(_component_el_radio_button, { value: "fixed" }, {
|
|
226
|
-
default: withCtx(() => _cache[
|
|
225
|
+
default: withCtx(() => _cache[13] || (_cache[13] = [
|
|
227
226
|
createTextVNode("固定")
|
|
228
227
|
])),
|
|
229
228
|
_: 1
|
|
@@ -240,13 +239,13 @@ const _sfc_main = {
|
|
|
240
239
|
"controls-position": "right",
|
|
241
240
|
class: "height-input"
|
|
242
241
|
}, {
|
|
243
|
-
append: withCtx(() => _cache[
|
|
242
|
+
append: withCtx(() => _cache[14] || (_cache[14] = [
|
|
244
243
|
createTextVNode("px")
|
|
245
244
|
])),
|
|
246
245
|
_: 1
|
|
247
246
|
}, 8, ["modelValue"])) : createCommentVNode("", true),
|
|
248
|
-
_cache[
|
|
249
|
-
_cache[
|
|
247
|
+
_cache[20] || (_cache[20] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
248
|
+
_cache[21] || (_cache[21] = createElementVNode("span", { class: "text-label" }, "数据源", -1)),
|
|
250
249
|
createVNode(_component_el_dropdown, {
|
|
251
250
|
trigger: "click",
|
|
252
251
|
onCommand: handleDataSourceSelect
|
|
@@ -274,7 +273,7 @@ const _sfc_main = {
|
|
|
274
273
|
link: "",
|
|
275
274
|
onClick: handleAddDataSource
|
|
276
275
|
}, {
|
|
277
|
-
default: withCtx(() => _cache[
|
|
276
|
+
default: withCtx(() => _cache[15] || (_cache[15] = [
|
|
278
277
|
createTextVNode(" 新增数据源 ")
|
|
279
278
|
])),
|
|
280
279
|
_: 1
|
|
@@ -311,14 +310,14 @@ const _sfc_main = {
|
|
|
311
310
|
dropdown: withCtx(() => [
|
|
312
311
|
unref(sortConfigDropdownVisible) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
313
312
|
createElementVNode("div", _hoisted_5, [
|
|
314
|
-
_cache[
|
|
313
|
+
_cache[24] || (_cache[24] = createElementVNode("span", { class: "sort-tip" }, "以下排序规则从上到下按序执行", -1)),
|
|
315
314
|
createVNode(_component_el_button, {
|
|
316
315
|
type: "primary",
|
|
317
316
|
size: "small",
|
|
318
317
|
onClick: addSortRule,
|
|
319
318
|
icon: "Plus"
|
|
320
319
|
}, {
|
|
321
|
-
default: withCtx(() => _cache[
|
|
320
|
+
default: withCtx(() => _cache[23] || (_cache[23] = [
|
|
322
321
|
createTextVNode(" 添加排序规则 ")
|
|
323
322
|
])),
|
|
324
323
|
_: 1
|
|
@@ -394,13 +393,13 @@ const _sfc_main = {
|
|
|
394
393
|
}, {
|
|
395
394
|
default: withCtx(() => [
|
|
396
395
|
createVNode(_component_el_radio, { value: "asc" }, {
|
|
397
|
-
default: withCtx(() => _cache[
|
|
396
|
+
default: withCtx(() => _cache[25] || (_cache[25] = [
|
|
398
397
|
createTextVNode("升序")
|
|
399
398
|
])),
|
|
400
399
|
_: 1
|
|
401
400
|
}),
|
|
402
401
|
createVNode(_component_el_radio, { value: "desc" }, {
|
|
403
|
-
default: withCtx(() => _cache[
|
|
402
|
+
default: withCtx(() => _cache[26] || (_cache[26] = [
|
|
404
403
|
createTextVNode("降序")
|
|
405
404
|
])),
|
|
406
405
|
_: 1
|
|
@@ -434,7 +433,7 @@ const _sfc_main = {
|
|
|
434
433
|
size: "small"
|
|
435
434
|
}, {
|
|
436
435
|
default: withCtx(() => [
|
|
437
|
-
_cache[
|
|
436
|
+
_cache[22] || (_cache[22] = createTextVNode(" 配置排序 ")),
|
|
438
437
|
unref(sortRules).length > 0 ? (openBlock(), createBlock(_component_el_tag, {
|
|
439
438
|
key: 0,
|
|
440
439
|
size: "small",
|
|
@@ -452,7 +451,7 @@ const _sfc_main = {
|
|
|
452
451
|
]),
|
|
453
452
|
_: 1
|
|
454
453
|
}),
|
|
455
|
-
_cache[
|
|
454
|
+
_cache[28] || (_cache[28] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
456
455
|
createVNode(_component_el_dropdown, {
|
|
457
456
|
size: "small",
|
|
458
457
|
"hide-on-click": false,
|
|
@@ -494,7 +493,7 @@ const _sfc_main = {
|
|
|
494
493
|
size: "small"
|
|
495
494
|
}, {
|
|
496
495
|
default: withCtx(() => [
|
|
497
|
-
_cache[
|
|
496
|
+
_cache[27] || (_cache[27] = createTextVNode("列显隐 ")),
|
|
498
497
|
createVNode(_component_el_tag, {
|
|
499
498
|
size: "small",
|
|
500
499
|
type: "primary",
|
|
@@ -522,7 +521,7 @@ const _sfc_main = {
|
|
|
522
521
|
};
|
|
523
522
|
}
|
|
524
523
|
};
|
|
525
|
-
const TableSetting = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
524
|
+
const TableSetting = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3c1e04c6"]]);
|
|
526
525
|
export {
|
|
527
526
|
TableSetting as default
|
|
528
527
|
};
|
|
@@ -2,7 +2,14 @@ import "../../../../node_modules/element-plus/es/index.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
|
-
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
import { computed, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, withCtx, toDisplayString, Fragment, renderList, createBlock, unref, withModifiers, normalizeClass, mergeProps, createTextVNode } from "vue";
|
|
6
13
|
import { defaultCustomBtn } from "./default.mjs";
|
|
7
14
|
import { VueDraggable as lo } from "../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.mjs";
|
|
8
15
|
import { Close as close_default, Plus as plus_default, Setting as setting_default, Download as download_default, Refresh as refresh_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
@@ -10,6 +17,8 @@ import { getEditConfigData, setSelectedItem, setHoverItem, getCurrentClass } fro
|
|
|
10
17
|
/* empty css */
|
|
11
18
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
12
19
|
import { ElIcon } from "../../../../node_modules/element-plus/es/components/icon/index.mjs";
|
|
20
|
+
import { ElSwitch } from "../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
21
|
+
import { ElSelect, ElOption } from "../../../../node_modules/element-plus/es/components/select/index.mjs";
|
|
13
22
|
import { ElButton } from "../../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
14
23
|
import { ElLink } from "../../../../node_modules/element-plus/es/components/link/index.mjs";
|
|
15
24
|
const _hoisted_1 = { class: "table-work-btns" };
|
|
@@ -22,9 +31,13 @@ const _hoisted_4 = {
|
|
|
22
31
|
key: 1,
|
|
23
32
|
class: "template-name"
|
|
24
33
|
};
|
|
25
|
-
const _hoisted_5 =
|
|
26
|
-
|
|
27
|
-
|
|
34
|
+
const _hoisted_5 = {
|
|
35
|
+
key: 2,
|
|
36
|
+
class: "setting"
|
|
37
|
+
};
|
|
38
|
+
const _hoisted_6 = ["onMouseenter", "onClick"];
|
|
39
|
+
const _hoisted_7 = { class: "right" };
|
|
40
|
+
const _hoisted_8 = ["onMouseenter", "onClick"];
|
|
28
41
|
const _sfc_main = {
|
|
29
42
|
__name: "tableBtn",
|
|
30
43
|
setup(__props) {
|
|
@@ -46,6 +59,11 @@ const _sfc_main = {
|
|
|
46
59
|
}
|
|
47
60
|
return data;
|
|
48
61
|
}
|
|
62
|
+
const availableFields = computed(() => {
|
|
63
|
+
var _a;
|
|
64
|
+
const fields = ((_a = editConfigData.value) == null ? void 0 : _a.fieldsData) || [];
|
|
65
|
+
return fields.filter((field) => field.isShow && field.fieldType === "number");
|
|
66
|
+
});
|
|
49
67
|
function addOptBtns(state) {
|
|
50
68
|
const newBtn = {
|
|
51
69
|
id: Date.now(),
|
|
@@ -68,6 +86,9 @@ const _sfc_main = {
|
|
|
68
86
|
return (_ctx, _cache) => {
|
|
69
87
|
const _component_ArrowLeftBold = resolveComponent("ArrowLeftBold");
|
|
70
88
|
const _component_el_icon = ElIcon;
|
|
89
|
+
const _component_el_switch = ElSwitch;
|
|
90
|
+
const _component_el_option = ElOption;
|
|
91
|
+
const _component_el_select = ElSelect;
|
|
71
92
|
const _component_el_button = ElButton;
|
|
72
93
|
const _component_el_link = ElLink;
|
|
73
94
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -81,9 +102,44 @@ const _sfc_main = {
|
|
|
81
102
|
})
|
|
82
103
|
])) : createCommentVNode("", true),
|
|
83
104
|
editConfigData.value.showTitle ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString(editConfigData.value.templateName), 1)) : createCommentVNode("", true),
|
|
105
|
+
editConfigData.value.selectMode == "multiple" ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
106
|
+
_cache[10] || (_cache[10] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
107
|
+
_cache[11] || (_cache[11] = createElementVNode("span", { class: "text-label" }, "开启多选合计", -1)),
|
|
108
|
+
createVNode(_component_el_switch, {
|
|
109
|
+
modelValue: editConfigData.value.showSelectionSummary,
|
|
110
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => editConfigData.value.showSelectionSummary = $event),
|
|
111
|
+
size: "small"
|
|
112
|
+
}, null, 8, ["modelValue"]),
|
|
113
|
+
editConfigData.value.showSelectionSummary ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
114
|
+
_cache[8] || (_cache[8] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
115
|
+
_cache[9] || (_cache[9] = createElementVNode("span", { class: "text-label" }, "合计列", -1)),
|
|
116
|
+
createVNode(_component_el_select, {
|
|
117
|
+
modelValue: editConfigData.value.selectionSummaryFields,
|
|
118
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => editConfigData.value.selectionSummaryFields = $event),
|
|
119
|
+
multiple: "",
|
|
120
|
+
size: "small",
|
|
121
|
+
style: { "width": "200px" },
|
|
122
|
+
"collapse-tags": "",
|
|
123
|
+
"collapse-tags-tooltip": "",
|
|
124
|
+
placeholder: "请选择要合计的列"
|
|
125
|
+
}, {
|
|
126
|
+
default: withCtx(() => [
|
|
127
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(availableFields.value, (field) => {
|
|
128
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
129
|
+
key: field.fieldName,
|
|
130
|
+
label: field.label || field.fieldName,
|
|
131
|
+
value: field.fieldName
|
|
132
|
+
}, null, 8, ["label", "value"]);
|
|
133
|
+
}), 128))
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
}, 8, ["modelValue"])
|
|
137
|
+
], 64)) : createCommentVNode("", true),
|
|
138
|
+
_cache[12] || (_cache[12] = createElementVNode("div", { class: "setting-divider" }, null, -1))
|
|
139
|
+
])) : createCommentVNode("", true),
|
|
84
140
|
createVNode(unref(lo), {
|
|
85
141
|
modelValue: editConfigData.value.customBtns.left,
|
|
86
|
-
"onUpdate:modelValue": _cache[
|
|
142
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => editConfigData.value.customBtns.left = $event),
|
|
87
143
|
animation: 150,
|
|
88
144
|
group: { name: "tableBtn" },
|
|
89
145
|
ghostClass: "ghost",
|
|
@@ -94,7 +150,7 @@ const _sfc_main = {
|
|
|
94
150
|
return openBlock(), createElementBlock("div", {
|
|
95
151
|
class: normalizeClass(["optBtn", unref(getCurrentClass)(item)]),
|
|
96
152
|
onMouseenter: ($event) => unref(setHoverItem)(item),
|
|
97
|
-
onMouseleave: _cache[
|
|
153
|
+
onMouseleave: _cache[2] || (_cache[2] = ($event) => unref(setHoverItem)()),
|
|
98
154
|
onClick: withModifiers(($event) => unref(setSelectedItem)(item), ["stop"])
|
|
99
155
|
}, [
|
|
100
156
|
createVNode(_component_el_button, mergeProps({
|
|
@@ -115,7 +171,7 @@ const _sfc_main = {
|
|
|
115
171
|
]),
|
|
116
172
|
_: 2
|
|
117
173
|
}, 1032, ["onClick"])
|
|
118
|
-
], 42,
|
|
174
|
+
], 42, _hoisted_6);
|
|
119
175
|
}), 256))
|
|
120
176
|
]),
|
|
121
177
|
_: 1
|
|
@@ -125,30 +181,30 @@ const _sfc_main = {
|
|
|
125
181
|
underline: "never",
|
|
126
182
|
type: "primary",
|
|
127
183
|
icon: unref(plus_default),
|
|
128
|
-
onClick: _cache[
|
|
184
|
+
onClick: _cache[4] || (_cache[4] = withModifiers(($event) => addOptBtns("left"), ["stop"]))
|
|
129
185
|
}, {
|
|
130
|
-
default: withCtx(() => _cache[
|
|
186
|
+
default: withCtx(() => _cache[13] || (_cache[13] = [
|
|
131
187
|
createTextVNode("按钮")
|
|
132
188
|
])),
|
|
133
189
|
_: 1
|
|
134
190
|
}, 8, ["icon"])
|
|
135
191
|
]),
|
|
136
|
-
createElementVNode("div",
|
|
192
|
+
createElementVNode("div", _hoisted_7, [
|
|
137
193
|
createVNode(_component_el_link, {
|
|
138
194
|
class: "optBtn addLink",
|
|
139
195
|
underline: "never",
|
|
140
196
|
type: "primary",
|
|
141
197
|
icon: unref(plus_default),
|
|
142
|
-
onClick: _cache[
|
|
198
|
+
onClick: _cache[5] || (_cache[5] = withModifiers(($event) => addOptBtns("right"), ["stop"]))
|
|
143
199
|
}, {
|
|
144
|
-
default: withCtx(() => _cache[
|
|
200
|
+
default: withCtx(() => _cache[14] || (_cache[14] = [
|
|
145
201
|
createTextVNode("按钮")
|
|
146
202
|
])),
|
|
147
203
|
_: 1
|
|
148
204
|
}, 8, ["icon"]),
|
|
149
205
|
createVNode(unref(lo), {
|
|
150
206
|
modelValue: editConfigData.value.customBtns.right,
|
|
151
|
-
"onUpdate:modelValue": _cache[
|
|
207
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => editConfigData.value.customBtns.right = $event),
|
|
152
208
|
animation: 150,
|
|
153
209
|
group: { name: "tableBtn" },
|
|
154
210
|
ghostClass: "ghost",
|
|
@@ -159,7 +215,7 @@ const _sfc_main = {
|
|
|
159
215
|
return openBlock(), createElementBlock("div", {
|
|
160
216
|
class: normalizeClass(["optBtn", unref(getCurrentClass)(item)]),
|
|
161
217
|
onMouseenter: ($event) => unref(setHoverItem)(item),
|
|
162
|
-
onMouseleave: _cache[
|
|
218
|
+
onMouseleave: _cache[6] || (_cache[6] = ($event) => unref(setHoverItem)()),
|
|
163
219
|
onClick: withModifiers(($event) => unref(setSelectedItem)(item), ["stop"])
|
|
164
220
|
}, [
|
|
165
221
|
createVNode(_component_el_button, mergeProps({
|
|
@@ -180,7 +236,7 @@ const _sfc_main = {
|
|
|
180
236
|
]),
|
|
181
237
|
_: 2
|
|
182
238
|
}, 1032, ["onClick"])
|
|
183
|
-
], 42,
|
|
239
|
+
], 42, _hoisted_8);
|
|
184
240
|
}), 256))
|
|
185
241
|
]),
|
|
186
242
|
_: 1
|
|
@@ -190,7 +246,7 @@ const _sfc_main = {
|
|
|
190
246
|
};
|
|
191
247
|
}
|
|
192
248
|
};
|
|
193
|
-
const TableBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
249
|
+
const TableBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-08fd854a"]]);
|
|
194
250
|
export {
|
|
195
251
|
TableBtn as default
|
|
196
252
|
};
|