giime 0.0.12 → 0.0.14
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/dist/index.css +48 -83
- package/es/api/gatewayApi/request.d.ts +0 -1
- package/es/api/gatewayApi/request.mjs +1 -44
- package/es/api/gatewayApi/request.mjs.map +1 -1
- package/es/components/index.mjs +3 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/src/base/countdown/Countdown.vue2.mjs.map +1 -1
- package/es/components/src/base/index.d.ts +1 -0
- package/es/components/src/base/index.mjs +1 -0
- package/es/components/src/base/index.mjs.map +1 -1
- package/es/components/src/base/statistic/Statistic.vue2.mjs +1 -1
- package/es/components/src/base/statistic/Statistic.vue2.mjs.map +1 -1
- package/es/components/src/base/status/index.d.ts +70 -0
- package/es/components/src/base/status/index.mjs +8 -0
- package/es/components/src/base/status/index.mjs.map +1 -0
- package/es/components/src/base/status/status.d.ts +13 -0
- package/es/components/src/base/status/status.mjs +14 -0
- package/es/components/src/base/status/status.mjs.map +1 -0
- package/es/components/src/base/status/status.vue.d.ts +32 -0
- package/es/components/src/base/status/status.vue.mjs +7 -0
- package/es/components/src/base/status/status.vue.mjs.map +1 -0
- package/es/components/src/base/status/status.vue2.mjs +67 -0
- package/es/components/src/base/status/status.vue2.mjs.map +1 -0
- package/es/components/src/base/step/Step.vue2.mjs.map +1 -1
- package/es/components/src/base/table/index.mjs.map +1 -1
- package/es/components/src/base/tag/Tag.vue2.mjs.map +1 -1
- package/es/components/src/base/tour/Tour.vue.d.ts +2 -2
- package/es/components/src/base/tour/index.d.ts +6 -6
- package/es/components/src/business/customOperations/CustomOperations.vue.d.ts +24 -26
- package/es/components/src/business/customOperations/CustomOperations.vue.mjs +1 -2
- package/es/components/src/business/customOperations/CustomOperations.vue.mjs.map +1 -1
- package/es/components/src/business/customOperations/CustomOperations.vue2.mjs +212 -322
- package/es/components/src/business/customOperations/CustomOperations.vue2.mjs.map +1 -1
- package/es/components/src/business/customOperations/customOperations.d.ts +4 -17
- package/es/components/src/business/customOperations/customOperations.mjs +1 -9
- package/es/components/src/business/customOperations/customOperations.mjs.map +1 -1
- package/es/components/src/business/customOperations/index.d.ts +23 -25
- package/es/components/src/business/index.mjs +2 -0
- package/es/components/src/business/index.mjs.map +1 -1
- package/es/components/src/business/loginDialog/LoginDialog.vue2.mjs +23 -18
- package/es/components/src/business/loginDialog/LoginDialog.vue2.mjs.map +1 -1
- package/es/components/src/business/tableBody/TableBody.vue.d.ts +16 -21
- package/es/components/src/business/tableBody/TableBody.vue.mjs +1 -1
- package/es/components/src/business/tableBody/TableBody.vue2.mjs +105 -154
- package/es/components/src/business/tableBody/TableBody.vue2.mjs.map +1 -1
- package/es/components/src/business/tableBody/TableVNodeRenderer.d.ts +26 -0
- package/es/components/src/business/tableBody/TableVNodeRenderer.mjs +36 -0
- package/es/components/src/business/tableBody/TableVNodeRenderer.mjs.map +1 -0
- package/es/components/src/business/tableBody/index.d.ts +24 -27
- package/es/components/src/business/tableBody/index.mjs +3 -0
- package/es/components/src/business/tableBody/index.mjs.map +1 -1
- package/es/components/src/business/tableBody/tableBody.d.ts +4 -5
- package/es/components/src/business/tableBody/tableBody.mjs +8 -4
- package/es/components/src/business/tableBody/tableBody.mjs.map +1 -1
- package/es/components/src/business/tableBody/tableBodyItem/index.d.ts +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/index.mjs +3 -0
- package/es/components/src/business/tableBody/tableBodyItem/index.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.d.ts +34 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.mjs +7 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue2.mjs +44 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue2.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.d.ts +37 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.mjs +9 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.d.ts +20 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.mjs +24 -0
- package/es/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.mjs.map +1 -0
- package/es/components/src/business/tableBody/tableHelper.d.ts +1 -0
- package/es/components/src/business/tableBody/tableHelper.mjs +23 -0
- package/es/components/src/business/tableBody/tableHelper.mjs.map +1 -0
- package/es/components/src/business/tableHeader/TableHeader.vue.mjs +1 -1
- package/es/components/src/business/tableHeader/TableHeader.vue2.mjs +10 -13
- package/es/components/src/business/tableHeader/TableHeader.vue2.mjs.map +1 -1
- package/es/components/src/business/tableHeader/tableHeader.mjs.map +1 -1
- package/es/components/src/composite/searchForm/composables/useWatchModelChange.mjs +3 -0
- package/es/components/src/composite/searchForm/composables/useWatchModelChange.mjs.map +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue2.mjs +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue2.mjs.map +1 -1
- package/es/giime/component.mjs +2 -0
- package/es/giime/component.mjs.map +1 -1
- package/es/giime/index.mjs +4 -1
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/hooks/store/useCustomSettings/index.d.ts +16 -10
- package/es/hooks/store/useCustomSettings/index.mjs +54 -51
- package/es/hooks/store/useCustomSettings/index.mjs.map +1 -1
- package/es/hooks/store/useCustomSettings/index2.d.ts +29 -0
- package/es/hooks/store/useCustomSettings/index2.mjs +62 -0
- package/es/hooks/store/useCustomSettings/index2.mjs.map +1 -0
- package/es/hooks/store/useLogin/index.d.ts +13 -1
- package/es/hooks/store/useLogin/index.mjs +19 -2
- package/es/hooks/store/useLogin/index.mjs.map +1 -1
- package/es/index.css +48 -83
- package/es/theme-chalk/tailwindPlugin.d.ts +5 -0
- package/es/theme-chalk/tailwindPlugin.mjs +46 -0
- package/es/theme-chalk/tailwindPlugin.mjs.map +1 -0
- package/es/theme-chalk/tailwindPreset.d.ts +7 -36
- package/es/theme-chalk/tailwindPreset.mjs +16 -13
- package/es/theme-chalk/tailwindPreset.mjs.map +1 -1
- package/es/utils/index.mjs +1 -1
- package/es/utils/src/general.d.ts +4 -0
- package/es/utils/src/general.mjs +9 -0
- package/es/utils/src/general.mjs.map +1 -0
- package/es/utils/src/http/createAxios.mjs +7 -6
- package/es/utils/src/http/createAxios.mjs.map +1 -1
- package/es/utils/src/http/interceptors.d.ts +2 -5
- package/es/utils/src/http/interceptors.mjs +6 -2
- package/es/utils/src/http/interceptors.mjs.map +1 -1
- package/es/utils/src/objects.d.ts +1 -0
- package/es/utils/src/objects.mjs +3 -1
- package/es/utils/src/objects.mjs.map +1 -1
- package/global.d.ts +1 -0
- package/lib/api/gatewayApi/request.d.ts +0 -1
- package/lib/api/gatewayApi/request.js +0 -44
- package/lib/api/gatewayApi/request.js.map +1 -1
- package/lib/components/index.js +36 -30
- package/lib/components/index.js.map +1 -1
- package/lib/components/src/base/countdown/Countdown.vue2.js.map +1 -1
- package/lib/components/src/base/index.d.ts +1 -0
- package/lib/components/src/base/index.js +2 -0
- package/lib/components/src/base/index.js.map +1 -1
- package/lib/components/src/base/statistic/Statistic.vue2.js +1 -1
- package/lib/components/src/base/statistic/Statistic.vue2.js.map +1 -1
- package/lib/components/src/base/status/index.d.ts +70 -0
- package/lib/components/src/base/status/index.js +13 -0
- package/lib/components/src/base/status/index.js.map +1 -0
- package/lib/components/src/base/status/status.d.ts +13 -0
- package/lib/components/src/base/status/status.js +16 -0
- package/lib/components/src/base/status/status.js.map +1 -0
- package/lib/components/src/base/status/status.vue.d.ts +32 -0
- package/lib/components/src/base/status/status.vue.js +11 -0
- package/lib/components/src/base/status/status.vue.js.map +1 -0
- package/lib/components/src/base/status/status.vue2.js +71 -0
- package/lib/components/src/base/status/status.vue2.js.map +1 -0
- package/lib/components/src/base/step/Step.vue2.js.map +1 -1
- package/lib/components/src/base/table/index.js.map +1 -1
- package/lib/components/src/base/tag/Tag.vue2.js.map +1 -1
- package/lib/components/src/base/tour/Tour.vue.d.ts +2 -2
- package/lib/components/src/base/tour/index.d.ts +6 -6
- package/lib/components/src/business/customOperations/CustomOperations.vue.d.ts +24 -26
- package/lib/components/src/business/customOperations/CustomOperations.vue.js +1 -2
- package/lib/components/src/business/customOperations/CustomOperations.vue.js.map +1 -1
- package/lib/components/src/business/customOperations/CustomOperations.vue2.js +211 -321
- package/lib/components/src/business/customOperations/CustomOperations.vue2.js.map +1 -1
- package/lib/components/src/business/customOperations/customOperations.d.ts +4 -17
- package/lib/components/src/business/customOperations/customOperations.js +1 -9
- package/lib/components/src/business/customOperations/customOperations.js.map +1 -1
- package/lib/components/src/business/customOperations/index.d.ts +23 -25
- package/lib/components/src/business/index.js +12 -8
- package/lib/components/src/business/index.js.map +1 -1
- package/lib/components/src/business/loginDialog/LoginDialog.vue2.js +22 -17
- package/lib/components/src/business/loginDialog/LoginDialog.vue2.js.map +1 -1
- package/lib/components/src/business/tableBody/TableBody.vue.d.ts +16 -21
- package/lib/components/src/business/tableBody/TableBody.vue.js +1 -1
- package/lib/components/src/business/tableBody/TableBody.vue2.js +104 -153
- package/lib/components/src/business/tableBody/TableBody.vue2.js.map +1 -1
- package/lib/components/src/business/tableBody/TableVNodeRenderer.d.ts +26 -0
- package/lib/components/src/business/tableBody/TableVNodeRenderer.js +40 -0
- package/lib/components/src/business/tableBody/TableVNodeRenderer.js.map +1 -0
- package/lib/components/src/business/tableBody/index.d.ts +24 -27
- package/lib/components/src/business/tableBody/index.js +5 -0
- package/lib/components/src/business/tableBody/index.js.map +1 -1
- package/lib/components/src/business/tableBody/tableBody.d.ts +4 -5
- package/lib/components/src/business/tableBody/tableBody.js +8 -4
- package/lib/components/src/business/tableBody/tableBody.js.map +1 -1
- package/lib/components/src/business/tableBody/tableBodyItem/index.d.ts +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/index.js +10 -0
- package/lib/components/src/business/tableBody/tableBodyItem/index.js.map +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.d.ts +34 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.js +11 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue.js.map +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue2.js +48 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/TableBodyOperateButton.vue2.js.map +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.d.ts +37 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.js +15 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/index.js.map +1 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.d.ts +20 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.js +26 -0
- package/lib/components/src/business/tableBody/tableBodyItem/tableBodyOperates/tableBodyOperateButton.js.map +1 -0
- package/lib/components/src/business/tableBody/tableHelper.d.ts +1 -0
- package/lib/components/src/business/tableBody/tableHelper.js +25 -0
- package/lib/components/src/business/tableBody/tableHelper.js.map +1 -0
- package/lib/components/src/business/tableHeader/TableHeader.vue.js +1 -1
- package/lib/components/src/business/tableHeader/TableHeader.vue2.js +10 -13
- package/lib/components/src/business/tableHeader/TableHeader.vue2.js.map +1 -1
- package/lib/components/src/business/tableHeader/tableHeader.js.map +1 -1
- package/lib/components/src/composite/searchForm/composables/useWatchModelChange.js +3 -0
- package/lib/components/src/composite/searchForm/composables/useWatchModelChange.js.map +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue2.js +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/select/SearchFormSelect.vue2.js.map +1 -1
- package/lib/giime/component.js +16 -14
- package/lib/giime/component.js.map +1 -1
- package/lib/giime/index.js +59 -52
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/hooks/store/useCustomSettings/index.d.ts +16 -10
- package/lib/hooks/store/useCustomSettings/index.js +54 -51
- package/lib/hooks/store/useCustomSettings/index.js.map +1 -1
- package/lib/hooks/store/useCustomSettings/index2.d.ts +29 -0
- package/lib/hooks/store/useCustomSettings/index2.js +64 -0
- package/lib/hooks/store/useCustomSettings/index2.js.map +1 -0
- package/lib/hooks/store/useLogin/index.d.ts +13 -1
- package/lib/hooks/store/useLogin/index.js +18 -1
- package/lib/hooks/store/useLogin/index.js.map +1 -1
- package/lib/index.css +48 -83
- package/lib/theme-chalk/tailwindPlugin.d.ts +5 -0
- package/lib/theme-chalk/tailwindPlugin.js +50 -0
- package/lib/theme-chalk/tailwindPlugin.js.map +1 -0
- package/lib/theme-chalk/tailwindPreset.d.ts +7 -36
- package/lib/theme-chalk/tailwindPreset.js +16 -13
- package/lib/theme-chalk/tailwindPreset.js.map +1 -1
- package/lib/utils/index.js +1 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/src/general.d.ts +4 -0
- package/lib/utils/src/general.js +11 -0
- package/lib/utils/src/general.js.map +1 -0
- package/lib/utils/src/http/createAxios.js +7 -6
- package/lib/utils/src/http/createAxios.js.map +1 -1
- package/lib/utils/src/http/interceptors.d.ts +2 -5
- package/lib/utils/src/http/interceptors.js +6 -2
- package/lib/utils/src/http/interceptors.js.map +1 -1
- package/lib/utils/src/objects.d.ts +1 -0
- package/lib/utils/src/objects.js +3 -0
- package/lib/utils/src/objects.js.map +1 -1
- package/package.json +2 -1
- package/theme-chalk/index.css +2 -1
- package/es/components/src/business/customOperations/CustomOperations.vue3.mjs +0 -4
- package/es/components/src/business/customOperations/CustomOperations.vue3.mjs.map +0 -1
- package/lib/components/src/business/customOperations/CustomOperations.vue3.js +0 -8
- package/lib/components/src/business/customOperations/CustomOperations.vue3.js.map +0 -1
|
@@ -3,382 +3,119 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
|
-
var core = require('@vueuse/core');
|
|
7
6
|
require('../../../../hooks/index.js');
|
|
8
|
-
var
|
|
7
|
+
var elementPlus = require('element-plus');
|
|
8
|
+
var lodashEs = require('lodash-es');
|
|
9
|
+
var core = require('@vueuse/core');
|
|
9
10
|
var customOperations = require('./customOperations.js');
|
|
10
11
|
var index = require('../../../../hooks/store/useCustomSettings/index.js');
|
|
11
12
|
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-1
|
|
18
|
-
/* HOISTED */
|
|
19
|
-
));
|
|
20
|
-
const _hoisted_2 = { class: "drawer-alert gm-my-4 gm-flex gm-items-center gm-justify-between gm-rounded gm-border gm-border-cyan-300 gm-bg-cyan-50 gm-px-4 gm-text-sm gm-leading-[40px] gm-text-[#777]" };
|
|
21
|
-
const _hoisted_3 = { class: "gm-flex gm-items-center" };
|
|
22
|
-
const _hoisted_4 = { class: "gm-ml-2" };
|
|
23
|
-
const _hoisted_5 = { class: "gm-text-cyan-500" };
|
|
24
|
-
const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
|
|
13
|
+
const _hoisted_1 = { class: "drawer-alert gm-mb-4 gm-flex gm-items-center gm-justify-between gm-rounded gm-border gm-border-cyan-300 gm-bg-cyan-50 gm-px-4 gm-text-sm gm-leading-[40px] gm-text-[#777]" };
|
|
14
|
+
const _hoisted_2 = { class: "gm-flex gm-items-center" };
|
|
15
|
+
const _hoisted_3 = { class: "gm-ml-2" };
|
|
16
|
+
const _hoisted_4 = { class: "gm-text-cyan-500" };
|
|
17
|
+
const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode(
|
|
25
18
|
"b",
|
|
26
19
|
{ class: "gm-ml-3 gm-text-orange-400" },
|
|
27
20
|
"\u70B9\u51FB\u6309\u94AE\u53EF\u4FEE\u6539\u5F53\u524D\u6309\u94AE\u989C\u8272\uFF01",
|
|
28
21
|
-1
|
|
29
22
|
/* HOISTED */
|
|
30
|
-
)
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
|
|
34
|
-
"p",
|
|
35
|
-
{ class: "gm-ml-2" },
|
|
36
|
-
"\u5168\u9009",
|
|
37
|
-
-1
|
|
38
|
-
/* HOISTED */
|
|
39
|
-
));
|
|
40
|
-
const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
|
|
41
|
-
"li",
|
|
42
|
-
{ class: "gm-flex-1 gm-border-r gm-border-white" },
|
|
43
|
-
"\u6309\u94AE",
|
|
44
|
-
-1
|
|
45
|
-
/* HOISTED */
|
|
46
|
-
));
|
|
47
|
-
const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
|
|
48
|
-
"li",
|
|
49
|
-
{ class: "gm-w-32" },
|
|
50
|
-
"\u62D6\u52A8\u8C03\u6574\u987A\u5E8F",
|
|
51
|
-
-1
|
|
52
|
-
/* HOISTED */
|
|
53
|
-
));
|
|
54
|
-
const _hoisted_12 = ["onDragstart", "onDragenter"];
|
|
55
|
-
const _hoisted_13 = { class: "gm-flex gm-w-24 gm-items-center gm-justify-center gm-border-r gm-border-gray-200" };
|
|
56
|
-
const _hoisted_14 = { class: "column-checked" };
|
|
57
|
-
const _hoisted_15 = { class: "gm-flex-1 gm-border-r gm-border-gray-200" };
|
|
58
|
-
const _hoisted_16 = { class: "p-1" };
|
|
59
|
-
const _hoisted_17 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
|
|
23
|
+
);
|
|
24
|
+
const _hoisted_6 = { class: "p-1" };
|
|
25
|
+
const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode(
|
|
60
26
|
"div",
|
|
61
27
|
{ class: "text-[14px] gm-mb-2" },
|
|
62
28
|
"\u70B9\u51FB\u4E0B\u5217\u8272\u5757\u53EF\u4FEE\u6539\u6309\u94AE\u989C\u8272",
|
|
63
29
|
-1
|
|
64
30
|
/* HOISTED */
|
|
65
|
-
)
|
|
66
|
-
const
|
|
67
|
-
const _hoisted_19 = { class: "drawer-footer-btn gm-flex gm-justify-between gm-border-t-2 gm-border-[#f2f2f2]" };
|
|
31
|
+
);
|
|
32
|
+
const _hoisted_8 = { class: "gm-flex gm-justify-between" };
|
|
68
33
|
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
69
34
|
...{
|
|
70
35
|
name: "GmCustomOperations"
|
|
71
36
|
},
|
|
72
37
|
__name: "CustomOperations",
|
|
73
|
-
props: customOperations.customOperationsProps,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
38
|
+
props: /* @__PURE__ */ vue.mergeModels(customOperations.customOperationsProps, {
|
|
39
|
+
"isShowDrawer": { type: Boolean, ...{
|
|
40
|
+
required: true
|
|
41
|
+
} },
|
|
42
|
+
"isShowDrawerModifiers": {},
|
|
43
|
+
"customBtnList": {
|
|
44
|
+
required: true
|
|
45
|
+
},
|
|
46
|
+
"customBtnListModifiers": {}
|
|
47
|
+
}),
|
|
48
|
+
emits: ["update:isShowDrawer", "update:customBtnList"],
|
|
49
|
+
setup(__props) {
|
|
50
|
+
const isShowDrawer = vue.useModel(__props, "isShowDrawer");
|
|
51
|
+
const customBtnList = vue.useModel(__props, "customBtnList");
|
|
52
|
+
const { cloned: clonedCustomBtnList } = core.useCloned(customBtnList);
|
|
77
53
|
const props = __props;
|
|
54
|
+
const defaultPropsList = vue.computed(() => lodashEs.cloneDeep(props.customDefaultPropsList));
|
|
78
55
|
const useCustom = index.useCustomSettingsStore();
|
|
79
|
-
const
|
|
80
|
-
const gmCustomType = vue.computed(() => `
|
|
56
|
+
const gmCustomkeyWord = vue.computed(() => `gmCustom${props.page}`);
|
|
57
|
+
const gmCustomType = vue.computed(() => `OperateList2`);
|
|
81
58
|
const updateOperate = () => {
|
|
82
|
-
|
|
83
|
-
const result = cloned.value.filter((v) => v.checked);
|
|
84
|
-
emit("update:customList", result);
|
|
59
|
+
customBtnList.value = clonedCustomBtnList.value;
|
|
85
60
|
};
|
|
86
|
-
const operates = vue.ref([]);
|
|
87
61
|
const initOperate = async () => {
|
|
88
|
-
const { cloned: clonedStore } = core.useCloned(useCustom.customSettings[gmCustomType.value] || []);
|
|
89
|
-
const { cloned: clonedProps } = core.useCloned(props.operateList);
|
|
90
|
-
const column = [];
|
|
91
|
-
clonedStore.value.forEach((v) => {
|
|
92
|
-
const index = clonedProps.value.findIndex((h) => h.prop === v.prop);
|
|
93
|
-
if (index > -1) {
|
|
94
|
-
const item = clonedProps.value.splice(index, 1)[0];
|
|
95
|
-
const { label } = item;
|
|
96
|
-
column.push({ ...v, ...item, label });
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
operates.value = [...column, ...clonedProps.value];
|
|
100
|
-
if (!clonedStore.value.length) {
|
|
101
|
-
operates.value.forEach((v) => {
|
|
102
|
-
v.checked = true;
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
62
|
updateOperate();
|
|
106
63
|
};
|
|
107
64
|
const checkedNumber = vue.computed(() => {
|
|
108
|
-
return
|
|
65
|
+
return clonedCustomBtnList.value.filter((v) => v.isShow).length;
|
|
109
66
|
});
|
|
110
|
-
const checkedAll = vue.computed(() =>
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
operates.value.forEach((v) => {
|
|
117
|
-
v.checked = true;
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
const { height } = core.useWindowSize();
|
|
122
|
-
const columnClass = vue.computed(() => {
|
|
123
|
-
const h = props.operateList.length * 43;
|
|
124
|
-
return h > height.value - 270 ? "column-class" : "";
|
|
125
|
-
});
|
|
126
|
-
const start = vue.ref();
|
|
127
|
-
const end = vue.ref();
|
|
128
|
-
const dragstart = (item) => {
|
|
129
|
-
start.value = item;
|
|
130
|
-
};
|
|
131
|
-
const dragenter = (item, e) => {
|
|
132
|
-
end.value = item;
|
|
133
|
-
e.preventDefault();
|
|
134
|
-
};
|
|
135
|
-
const dragend = () => {
|
|
136
|
-
if (start.value === end.value)
|
|
137
|
-
return;
|
|
138
|
-
if (start.value && end.value) {
|
|
139
|
-
const oldIndex = operates.value.findIndex((v) => v.event === start.value?.event);
|
|
140
|
-
const newIndex = operates.value.findIndex((v) => v.event === end.value?.event);
|
|
141
|
-
const newItems = [...operates.value];
|
|
142
|
-
newItems.splice(oldIndex, 1);
|
|
143
|
-
newItems.splice(newIndex, 0, start.value);
|
|
144
|
-
operates.value = [...newItems];
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
const dragover = (e) => {
|
|
148
|
-
e.preventDefault();
|
|
67
|
+
const checkedAll = vue.computed(() => clonedCustomBtnList.value.every((v) => v.isShow));
|
|
68
|
+
const isIndeterminate = vue.computed(() => !checkedAll.value && clonedCustomBtnList.value.some((v) => v.isShow));
|
|
69
|
+
const handleCheckAllChange = (val) => {
|
|
70
|
+
clonedCustomBtnList.value.forEach((v) => {
|
|
71
|
+
v.isShow = Boolean(val);
|
|
72
|
+
});
|
|
149
73
|
};
|
|
150
74
|
const setBtnType = (item, type) => {
|
|
151
75
|
item.type = type;
|
|
152
76
|
};
|
|
153
77
|
const onSubmit = () => {
|
|
154
78
|
useCustom.addListCustomInfo({
|
|
155
|
-
key_word:
|
|
156
|
-
value: JSON.stringify(
|
|
79
|
+
key_word: gmCustomkeyWord.value,
|
|
80
|
+
value: JSON.stringify(clonedCustomBtnList.value),
|
|
157
81
|
type: gmCustomType.value
|
|
158
|
-
}).then((
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
updateOperate();
|
|
163
|
-
}
|
|
82
|
+
}).then(() => {
|
|
83
|
+
isShowDrawer.value = false;
|
|
84
|
+
updateOperate();
|
|
85
|
+
elementPlus.ElMessage.success("\u4FDD\u5B58\u6210\u529F");
|
|
164
86
|
}).catch(() => {
|
|
165
87
|
});
|
|
166
|
-
|
|
88
|
+
isShowDrawer.value = false;
|
|
167
89
|
};
|
|
168
90
|
const onReset = () => {
|
|
169
91
|
};
|
|
170
92
|
useCustom.onCustomResult(() => {
|
|
171
93
|
initOperate();
|
|
172
94
|
});
|
|
173
|
-
vue.onMounted(() => {
|
|
174
|
-
useCustom.getCustomPage(
|
|
95
|
+
vue.onMounted(async () => {
|
|
96
|
+
useCustom.getCustomPage(gmCustomkeyWord.value, gmCustomType.value);
|
|
175
97
|
});
|
|
176
98
|
return (_ctx, _cache) => {
|
|
177
99
|
const _component_i_ep_info_filled = vue.resolveComponent("i-ep-info-filled");
|
|
178
100
|
const _component_gm_icon = vue.resolveComponent("gm-icon");
|
|
179
101
|
const _component_gm_checkbox = vue.resolveComponent("gm-checkbox");
|
|
102
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
180
103
|
const _component_gm_button = vue.resolveComponent("gm-button");
|
|
181
104
|
const _component_gm_popover = vue.resolveComponent("gm-popover");
|
|
105
|
+
const _component_gm_table_column = vue.resolveComponent("gm-table-column");
|
|
106
|
+
const _component_gm_table = vue.resolveComponent("gm-table");
|
|
182
107
|
const _component_gm_drawer = vue.resolveComponent("gm-drawer");
|
|
183
108
|
return vue.openBlock(), vue.createBlock(_component_gm_drawer, {
|
|
184
|
-
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"close-on-click-modal": false,
|
|
188
|
-
"close-on-press-escape": false,
|
|
189
|
-
"with-header": false,
|
|
109
|
+
modelValue: isShowDrawer.value,
|
|
110
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isShowDrawer.value = $event),
|
|
111
|
+
title: "\u81EA\u5B9A\u4E49\u6309\u94AE",
|
|
190
112
|
direction: "rtl",
|
|
191
113
|
size: "500px",
|
|
192
114
|
"append-to-body": "",
|
|
193
115
|
"destroy-on-close": ""
|
|
194
116
|
}, {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
vue.createElementVNode("div", _hoisted_2, [
|
|
198
|
-
vue.createElementVNode("div", _hoisted_3, [
|
|
199
|
-
vue.createVNode(_component_gm_icon, null, {
|
|
200
|
-
default: vue.withCtx(() => [
|
|
201
|
-
vue.createVNode(_component_i_ep_info_filled)
|
|
202
|
-
]),
|
|
203
|
-
_: 1
|
|
204
|
-
/* STABLE */
|
|
205
|
-
}),
|
|
206
|
-
vue.createElementVNode("p", _hoisted_4, [
|
|
207
|
-
vue.createTextVNode(" \u5DF2\u9009\u4E2D "),
|
|
208
|
-
vue.createElementVNode(
|
|
209
|
-
"span",
|
|
210
|
-
_hoisted_5,
|
|
211
|
-
vue.toDisplayString(checkedNumber.value),
|
|
212
|
-
1
|
|
213
|
-
/* TEXT */
|
|
214
|
-
),
|
|
215
|
-
vue.createTextVNode(" \u9879 ")
|
|
216
|
-
]),
|
|
217
|
-
_hoisted_6
|
|
218
|
-
])
|
|
219
|
-
]),
|
|
220
|
-
vue.createElementVNode(
|
|
221
|
-
"div",
|
|
222
|
-
{
|
|
223
|
-
id: "column-wrap",
|
|
224
|
-
class: vue.normalizeClass(["gm-border gm-text-center gm-text-sm", columnClass.value])
|
|
225
|
-
},
|
|
226
|
-
[
|
|
227
|
-
vue.createElementVNode("ul", _hoisted_7, [
|
|
228
|
-
vue.createElementVNode("li", _hoisted_8, [
|
|
229
|
-
vue.createVNode(_component_gm_checkbox, {
|
|
230
|
-
"model-value": checkedAll.value,
|
|
231
|
-
size: "large",
|
|
232
|
-
onChange: changeCheckbox
|
|
233
|
-
}, null, 8, ["model-value"]),
|
|
234
|
-
_hoisted_9
|
|
235
|
-
]),
|
|
236
|
-
_hoisted_10,
|
|
237
|
-
_hoisted_11
|
|
238
|
-
]),
|
|
239
|
-
vue.createVNode(vue.TransitionGroup, {
|
|
240
|
-
id: "column-group",
|
|
241
|
-
name: "sort",
|
|
242
|
-
tag: "div"
|
|
243
|
-
}, {
|
|
244
|
-
default: vue.withCtx(() => [
|
|
245
|
-
(vue.openBlock(true), vue.createElementBlock(
|
|
246
|
-
vue.Fragment,
|
|
247
|
-
null,
|
|
248
|
-
vue.renderList(operates.value, (item) => {
|
|
249
|
-
return vue.openBlock(), vue.createElementBlock("ul", {
|
|
250
|
-
key: item.event,
|
|
251
|
-
class: "gm-flex gm-items-center gm-border-t gm-border-gray-200 gm-leading-[40px] gm-text-gray-800",
|
|
252
|
-
draggable: true,
|
|
253
|
-
onDragstart: ($event) => dragstart(item),
|
|
254
|
-
onDragenter: ($event) => dragenter(item, $event),
|
|
255
|
-
onDragend: dragend,
|
|
256
|
-
onDragover: _cache[0] || (_cache[0] = ($event) => dragover($event))
|
|
257
|
-
}, [
|
|
258
|
-
vue.createElementVNode("li", _hoisted_13, [
|
|
259
|
-
vue.createElementVNode("div", _hoisted_14, [
|
|
260
|
-
vue.createVNode(_component_gm_checkbox, {
|
|
261
|
-
modelValue: item.checked,
|
|
262
|
-
"onUpdate:modelValue": ($event) => item.checked = $event,
|
|
263
|
-
size: "large"
|
|
264
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
265
|
-
])
|
|
266
|
-
]),
|
|
267
|
-
vue.createElementVNode("li", _hoisted_15, [
|
|
268
|
-
vue.createVNode(
|
|
269
|
-
_component_gm_popover,
|
|
270
|
-
{
|
|
271
|
-
placement: "bottom",
|
|
272
|
-
width: 330,
|
|
273
|
-
trigger: "click"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
reference: vue.withCtx(() => [
|
|
277
|
-
vue.createVNode(_component_gm_button, {
|
|
278
|
-
type: item.type || "primary",
|
|
279
|
-
link: "",
|
|
280
|
-
size: "small"
|
|
281
|
-
}, {
|
|
282
|
-
default: vue.withCtx(() => [
|
|
283
|
-
vue.createTextVNode(
|
|
284
|
-
vue.toDisplayString(item.label),
|
|
285
|
-
1
|
|
286
|
-
/* TEXT */
|
|
287
|
-
)
|
|
288
|
-
]),
|
|
289
|
-
_: 2
|
|
290
|
-
/* DYNAMIC */
|
|
291
|
-
}, 1032, ["type"])
|
|
292
|
-
]),
|
|
293
|
-
default: vue.withCtx(() => [
|
|
294
|
-
vue.createElementVNode("div", _hoisted_16, [
|
|
295
|
-
_hoisted_17,
|
|
296
|
-
vue.createVNode(_component_gm_button, {
|
|
297
|
-
type: "primary",
|
|
298
|
-
size: "small",
|
|
299
|
-
onClick: ($event) => setBtnType(item, "primary")
|
|
300
|
-
}, {
|
|
301
|
-
default: vue.withCtx(() => [
|
|
302
|
-
vue.createTextVNode(" \u84DD\u8272 ")
|
|
303
|
-
]),
|
|
304
|
-
_: 2
|
|
305
|
-
/* DYNAMIC */
|
|
306
|
-
}, 1032, ["onClick"]),
|
|
307
|
-
vue.createVNode(_component_gm_button, {
|
|
308
|
-
type: "success",
|
|
309
|
-
size: "small",
|
|
310
|
-
onClick: ($event) => setBtnType(item, "success")
|
|
311
|
-
}, {
|
|
312
|
-
default: vue.withCtx(() => [
|
|
313
|
-
vue.createTextVNode(" \u7EFF\u8272 ")
|
|
314
|
-
]),
|
|
315
|
-
_: 2
|
|
316
|
-
/* DYNAMIC */
|
|
317
|
-
}, 1032, ["onClick"]),
|
|
318
|
-
vue.createVNode(_component_gm_button, {
|
|
319
|
-
type: "info",
|
|
320
|
-
size: "small",
|
|
321
|
-
onClick: ($event) => setBtnType(item, "info")
|
|
322
|
-
}, {
|
|
323
|
-
default: vue.withCtx(() => [
|
|
324
|
-
vue.createTextVNode(" \u7070\u8272 ")
|
|
325
|
-
]),
|
|
326
|
-
_: 2
|
|
327
|
-
/* DYNAMIC */
|
|
328
|
-
}, 1032, ["onClick"]),
|
|
329
|
-
vue.createVNode(_component_gm_button, {
|
|
330
|
-
type: "warning",
|
|
331
|
-
size: "small",
|
|
332
|
-
onClick: ($event) => setBtnType(item, "warning")
|
|
333
|
-
}, {
|
|
334
|
-
default: vue.withCtx(() => [
|
|
335
|
-
vue.createTextVNode(" \u6A59\u8272 ")
|
|
336
|
-
]),
|
|
337
|
-
_: 2
|
|
338
|
-
/* DYNAMIC */
|
|
339
|
-
}, 1032, ["onClick"]),
|
|
340
|
-
vue.createVNode(_component_gm_button, {
|
|
341
|
-
type: "danger",
|
|
342
|
-
size: "small",
|
|
343
|
-
onClick: ($event) => setBtnType(item, "danger")
|
|
344
|
-
}, {
|
|
345
|
-
default: vue.withCtx(() => [
|
|
346
|
-
vue.createTextVNode(" \u7EA2\u8272 ")
|
|
347
|
-
]),
|
|
348
|
-
_: 2
|
|
349
|
-
/* DYNAMIC */
|
|
350
|
-
}, 1032, ["onClick"])
|
|
351
|
-
])
|
|
352
|
-
]),
|
|
353
|
-
_: 2
|
|
354
|
-
/* DYNAMIC */
|
|
355
|
-
},
|
|
356
|
-
1024
|
|
357
|
-
/* DYNAMIC_SLOTS */
|
|
358
|
-
)
|
|
359
|
-
]),
|
|
360
|
-
vue.createElementVNode("li", _hoisted_18, [
|
|
361
|
-
vue.createVNode(_component_gm_button, {
|
|
362
|
-
type: "primary",
|
|
363
|
-
link: "",
|
|
364
|
-
size: "default",
|
|
365
|
-
icon: vue.unref(iconsVue.Rank)
|
|
366
|
-
}, null, 8, ["icon"])
|
|
367
|
-
])
|
|
368
|
-
], 40, _hoisted_12);
|
|
369
|
-
}),
|
|
370
|
-
128
|
|
371
|
-
/* KEYED_FRAGMENT */
|
|
372
|
-
))
|
|
373
|
-
]),
|
|
374
|
-
_: 1
|
|
375
|
-
/* STABLE */
|
|
376
|
-
})
|
|
377
|
-
],
|
|
378
|
-
2
|
|
379
|
-
/* CLASS */
|
|
380
|
-
),
|
|
381
|
-
vue.createElementVNode("div", _hoisted_19, [
|
|
117
|
+
footer: vue.withCtx(() => [
|
|
118
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
382
119
|
vue.createVNode(_component_gm_button, {
|
|
383
120
|
type: "primary",
|
|
384
121
|
size: "default",
|
|
@@ -393,7 +130,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
393
130
|
vue.createElementVNode("div", null, [
|
|
394
131
|
vue.createVNode(_component_gm_button, {
|
|
395
132
|
size: "default",
|
|
396
|
-
onClick: _cache[
|
|
133
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isShowDrawer.value = false)
|
|
397
134
|
}, {
|
|
398
135
|
default: vue.withCtx(() => [
|
|
399
136
|
vue.createTextVNode("\u53D6\u6D88")
|
|
@@ -415,9 +152,162 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
415
152
|
])
|
|
416
153
|
])
|
|
417
154
|
]),
|
|
155
|
+
default: vue.withCtx(() => [
|
|
156
|
+
vue.createElementVNode("section", _hoisted_1, [
|
|
157
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
158
|
+
vue.createVNode(_component_gm_icon, null, {
|
|
159
|
+
default: vue.withCtx(() => [
|
|
160
|
+
vue.createVNode(_component_i_ep_info_filled)
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
/* STABLE */
|
|
164
|
+
}),
|
|
165
|
+
vue.createElementVNode("p", _hoisted_3, [
|
|
166
|
+
vue.createTextVNode(" \u5DF2\u9009\u4E2D "),
|
|
167
|
+
vue.createElementVNode(
|
|
168
|
+
"span",
|
|
169
|
+
_hoisted_4,
|
|
170
|
+
vue.toDisplayString(checkedNumber.value),
|
|
171
|
+
1
|
|
172
|
+
/* TEXT */
|
|
173
|
+
),
|
|
174
|
+
vue.createTextVNode(" \u9879 ")
|
|
175
|
+
]),
|
|
176
|
+
_hoisted_5
|
|
177
|
+
])
|
|
178
|
+
]),
|
|
179
|
+
vue.createVNode(_component_gm_table, {
|
|
180
|
+
data: vue.unref(clonedCustomBtnList),
|
|
181
|
+
"header-cell-style": { background: "#F5F7FA", color: "#333" },
|
|
182
|
+
style: { "width": "100%" }
|
|
183
|
+
}, {
|
|
184
|
+
default: vue.withCtx(() => [
|
|
185
|
+
vue.createVNode(_component_el_table_column, {
|
|
186
|
+
align: "left",
|
|
187
|
+
width: "80"
|
|
188
|
+
}, {
|
|
189
|
+
header: vue.withCtx(() => [
|
|
190
|
+
vue.createVNode(_component_gm_checkbox, {
|
|
191
|
+
"model-value": checkedAll.value,
|
|
192
|
+
indeterminate: isIndeterminate.value,
|
|
193
|
+
onChange: handleCheckAllChange
|
|
194
|
+
}, null, 8, ["model-value", "indeterminate"])
|
|
195
|
+
]),
|
|
196
|
+
default: vue.withCtx(({ row }) => [
|
|
197
|
+
vue.createVNode(_component_gm_checkbox, {
|
|
198
|
+
modelValue: row.isShow,
|
|
199
|
+
"onUpdate:modelValue": ($event) => row.isShow = $event
|
|
200
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
201
|
+
]),
|
|
202
|
+
_: 1
|
|
203
|
+
/* STABLE */
|
|
204
|
+
}),
|
|
205
|
+
vue.createVNode(_component_gm_table_column, { label: "\u6309\u94AE" }, {
|
|
206
|
+
default: vue.withCtx(({ row }) => [
|
|
207
|
+
vue.createVNode(
|
|
208
|
+
_component_gm_popover,
|
|
209
|
+
{
|
|
210
|
+
placement: "bottom",
|
|
211
|
+
width: 330,
|
|
212
|
+
trigger: "click"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
reference: vue.withCtx(() => [
|
|
216
|
+
vue.createVNode(_component_gm_button, {
|
|
217
|
+
type: row.type || "primary",
|
|
218
|
+
link: "",
|
|
219
|
+
size: "small"
|
|
220
|
+
}, {
|
|
221
|
+
default: vue.withCtx(() => [
|
|
222
|
+
vue.createTextVNode(
|
|
223
|
+
vue.toDisplayString(row.label),
|
|
224
|
+
1
|
|
225
|
+
/* TEXT */
|
|
226
|
+
)
|
|
227
|
+
]),
|
|
228
|
+
_: 2
|
|
229
|
+
/* DYNAMIC */
|
|
230
|
+
}, 1032, ["type"])
|
|
231
|
+
]),
|
|
232
|
+
default: vue.withCtx(() => [
|
|
233
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
234
|
+
_hoisted_7,
|
|
235
|
+
vue.createVNode(_component_gm_button, {
|
|
236
|
+
type: "primary",
|
|
237
|
+
size: "small",
|
|
238
|
+
onClick: ($event) => setBtnType(row, "primary")
|
|
239
|
+
}, {
|
|
240
|
+
default: vue.withCtx(() => [
|
|
241
|
+
vue.createTextVNode(" \u84DD\u8272 ")
|
|
242
|
+
]),
|
|
243
|
+
_: 2
|
|
244
|
+
/* DYNAMIC */
|
|
245
|
+
}, 1032, ["onClick"]),
|
|
246
|
+
vue.createVNode(_component_gm_button, {
|
|
247
|
+
type: "success",
|
|
248
|
+
size: "small",
|
|
249
|
+
onClick: ($event) => setBtnType(row, "success")
|
|
250
|
+
}, {
|
|
251
|
+
default: vue.withCtx(() => [
|
|
252
|
+
vue.createTextVNode(" \u7EFF\u8272 ")
|
|
253
|
+
]),
|
|
254
|
+
_: 2
|
|
255
|
+
/* DYNAMIC */
|
|
256
|
+
}, 1032, ["onClick"]),
|
|
257
|
+
vue.createVNode(_component_gm_button, {
|
|
258
|
+
type: "info",
|
|
259
|
+
size: "small",
|
|
260
|
+
onClick: ($event) => setBtnType(row, "info")
|
|
261
|
+
}, {
|
|
262
|
+
default: vue.withCtx(() => [
|
|
263
|
+
vue.createTextVNode(" \u7070\u8272 ")
|
|
264
|
+
]),
|
|
265
|
+
_: 2
|
|
266
|
+
/* DYNAMIC */
|
|
267
|
+
}, 1032, ["onClick"]),
|
|
268
|
+
vue.createVNode(_component_gm_button, {
|
|
269
|
+
type: "warning",
|
|
270
|
+
size: "small",
|
|
271
|
+
onClick: ($event) => setBtnType(row, "warning")
|
|
272
|
+
}, {
|
|
273
|
+
default: vue.withCtx(() => [
|
|
274
|
+
vue.createTextVNode(" \u6A59\u8272 ")
|
|
275
|
+
]),
|
|
276
|
+
_: 2
|
|
277
|
+
/* DYNAMIC */
|
|
278
|
+
}, 1032, ["onClick"]),
|
|
279
|
+
vue.createVNode(_component_gm_button, {
|
|
280
|
+
type: "danger",
|
|
281
|
+
size: "small",
|
|
282
|
+
onClick: ($event) => setBtnType(row, "danger")
|
|
283
|
+
}, {
|
|
284
|
+
default: vue.withCtx(() => [
|
|
285
|
+
vue.createTextVNode(" \u7EA2\u8272 ")
|
|
286
|
+
]),
|
|
287
|
+
_: 2
|
|
288
|
+
/* DYNAMIC */
|
|
289
|
+
}, 1032, ["onClick"])
|
|
290
|
+
])
|
|
291
|
+
]),
|
|
292
|
+
_: 2
|
|
293
|
+
/* DYNAMIC */
|
|
294
|
+
},
|
|
295
|
+
1024
|
|
296
|
+
/* DYNAMIC_SLOTS */
|
|
297
|
+
)
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
/* STABLE */
|
|
301
|
+
}),
|
|
302
|
+
vue.createCommentVNode(' <gm-table-column prop="address" label="Address" show-overflow-tooltip /> ')
|
|
303
|
+
]),
|
|
304
|
+
_: 1
|
|
305
|
+
/* STABLE */
|
|
306
|
+
}, 8, ["data"])
|
|
307
|
+
]),
|
|
418
308
|
_: 1
|
|
419
309
|
/* STABLE */
|
|
420
|
-
}, 8, ["
|
|
310
|
+
}, 8, ["modelValue"]);
|
|
421
311
|
};
|
|
422
312
|
}
|
|
423
313
|
});
|