act-plus 1.1.23 → 1.1.25

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.
Files changed (106) hide show
  1. package/act-plus.js +6 -5
  2. package/act-plus.umd.cjs +87 -1733
  3. package/lib/configBtns-63d416ef.js +152 -0
  4. package/lib/{configFileds-4633be91.js → configFileds-105ca288.js} +13 -11
  5. package/lib/{configTable-160a99e8.js → configTable-5bf09aac.js} +33 -31
  6. package/lib/{dialogAddField-a8db1c57.js → dialogAddField-bb493c88.js} +6 -4
  7. package/lib/{dialogConfigBtn-e5c41ad9.js → dialogConfigBtn-1fcd1496.js} +57 -55
  8. package/lib/{dialogSiteComponentsParams-05a400cc.js → dialogSiteComponentsParams-708737d2.js} +1 -1
  9. package/lib/{index-28cfa770.js → index-6b7ddc83.js} +74 -65
  10. package/lib/{index-44e2732a.js → index-740fe217.js} +10 -8
  11. package/lib/{index-7a1700c3.js → index-9071c381.js} +12 -10
  12. package/lib/{index-421ea84f.js → index-9bd009b2.js} +32 -30
  13. package/lib/index-ba8fa827.js +61597 -0
  14. package/lib/{index-cceb15dd.js → index-f8e81c41.js} +126 -148
  15. package/package.json +2 -6
  16. package/style.css +1 -1
  17. package/assets/css.worker-1af1972f.js +0 -84
  18. package/assets/editor.worker-df55e1ff.js +0 -8
  19. package/assets/html.worker-38c267f1.js +0 -456
  20. package/assets/json.worker-bf861c27.js +0 -39
  21. package/assets/ts.worker-e151483b.js +0 -33972
  22. package/lib/abap-1354785f.js +0 -1314
  23. package/lib/apex-279d4f27.js +0 -315
  24. package/lib/azcli-ba812c55.js +0 -74
  25. package/lib/bat-4d77495d.js +0 -95
  26. package/lib/bicep-7b240724.js +0 -108
  27. package/lib/cameligo-5d2daeb8.js +0 -168
  28. package/lib/clojure-b7ea12a3.js +0 -754
  29. package/lib/coffee-1a8cfbf4.js +0 -228
  30. package/lib/configBtns-c51c642b.js +0 -150
  31. package/lib/cpp-642b10c4.js +0 -387
  32. package/lib/csharp-d987ddad.js +0 -320
  33. package/lib/csp-96407af0.js +0 -57
  34. package/lib/css-5dd354ac.js +0 -186
  35. package/lib/cssMode-55e3e2b9.js +0 -1448
  36. package/lib/cypher-11e5a4b6.js +0 -262
  37. package/lib/dart-5d209f63.js +0 -270
  38. package/lib/dockerfile-8739cff7.js +0 -132
  39. package/lib/ecl-a20c5155.js +0 -454
  40. package/lib/elixir-8b028584.js +0 -467
  41. package/lib/flow9-0dea2e73.js +0 -141
  42. package/lib/freemarker2-86429a9d.js +0 -646
  43. package/lib/fsharp-49a70fad.js +0 -210
  44. package/lib/go-46e3b371.js +0 -208
  45. package/lib/graphql-51a577e5.js +0 -141
  46. package/lib/handlebars-dcad112f.js +0 -394
  47. package/lib/hcl-56b85754.js +0 -177
  48. package/lib/html-95cf87e3.js +0 -284
  49. package/lib/htmlMode-93d4ea14.js +0 -1458
  50. package/lib/index-22ab90dc.js +0 -162522
  51. package/lib/index-e2f2023d.js +0 -35
  52. package/lib/ini-1d58d82f.js +0 -68
  53. package/lib/java-cd017f60.js +0 -221
  54. package/lib/javascript-55252557.js +0 -78
  55. package/lib/jsonMode-b73c28d1.js +0 -1869
  56. package/lib/julia-a0caf483.js +0 -496
  57. package/lib/kotlin-c6e52a56.js +0 -245
  58. package/lib/less-718543b4.js +0 -168
  59. package/lib/lexon-5e6e7a44.js +0 -151
  60. package/lib/liquid-c923578c.js +0 -241
  61. package/lib/lua-f159160b.js +0 -157
  62. package/lib/m3-aadaf771.js +0 -210
  63. package/lib/markdown-9b448c46.js +0 -202
  64. package/lib/mips-161e49ce.js +0 -194
  65. package/lib/msdax-f65cb1e6.js +0 -377
  66. package/lib/mysql-24549dd1.js +0 -875
  67. package/lib/objective-c-e129a5ca.js +0 -188
  68. package/lib/pascal-4ccdf5ce.js +0 -245
  69. package/lib/pascaligo-a9603dcd.js +0 -158
  70. package/lib/perl-ba1fb97a.js +0 -599
  71. package/lib/pgsql-89978310.js +0 -843
  72. package/lib/php-987b9d87.js +0 -471
  73. package/lib/pla-96c2695d.js +0 -131
  74. package/lib/postiats-7b52ebac.js +0 -544
  75. package/lib/powerquery-8954ec26.js +0 -890
  76. package/lib/powershell-f00d0274.js +0 -233
  77. package/lib/protobuf-3eb85f80.js +0 -422
  78. package/lib/pug-6fab415a.js +0 -393
  79. package/lib/python-319c4cbb.js +0 -262
  80. package/lib/qsharp-4792f872.js +0 -282
  81. package/lib/r-630f5d6b.js +0 -245
  82. package/lib/razor-9a8bae51.js +0 -515
  83. package/lib/redis-276b8288.js +0 -298
  84. package/lib/redshift-520a7359.js +0 -806
  85. package/lib/restructuredtext-4676a3fc.js +0 -162
  86. package/lib/ruby-764137cd.js +0 -444
  87. package/lib/rust-97f8f6e1.js +0 -337
  88. package/lib/sb-8c22f14c.js +0 -110
  89. package/lib/scala-c68c650c.js +0 -353
  90. package/lib/scheme-e6a52cb0.js +0 -114
  91. package/lib/scss-45104c77.js +0 -244
  92. package/lib/shell-09452d42.js +0 -224
  93. package/lib/solidity-d4979008.js +0 -1351
  94. package/lib/sophia-21995caf.js +0 -190
  95. package/lib/sparql-5088743c.js +0 -193
  96. package/lib/sql-63ec8e76.js +0 -818
  97. package/lib/st-fa9ab362.js +0 -414
  98. package/lib/swift-abdf1835.js +0 -315
  99. package/lib/systemverilog-a4f858ed.js +0 -556
  100. package/lib/tcl-8adf937f.js +0 -232
  101. package/lib/tsMode-7111578e.js +0 -792
  102. package/lib/twig-404eb73e.js +0 -323
  103. package/lib/typescript-0c5e909b.js +0 -330
  104. package/lib/vb-e21e8153.js +0 -364
  105. package/lib/xml-acd745c7.js +0 -98
  106. package/lib/yaml-c114fa81.js +0 -187
@@ -1,228 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
4
- * Released under the MIT license
5
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
- *-----------------------------------------------------------------------------*/
7
- var e = {
8
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
9
- comments: {
10
- blockComment: ["###", "###"],
11
- lineComment: "#"
12
- },
13
- brackets: [
14
- ["{", "}"],
15
- ["[", "]"],
16
- ["(", ")"]
17
- ],
18
- autoClosingPairs: [
19
- { open: "{", close: "}" },
20
- { open: "[", close: "]" },
21
- { open: "(", close: ")" },
22
- { open: '"', close: '"' },
23
- { open: "'", close: "'" }
24
- ],
25
- surroundingPairs: [
26
- { open: "{", close: "}" },
27
- { open: "[", close: "]" },
28
- { open: "(", close: ")" },
29
- { open: '"', close: '"' },
30
- { open: "'", close: "'" }
31
- ],
32
- folding: {
33
- markers: {
34
- start: new RegExp("^\\s*#region\\b"),
35
- end: new RegExp("^\\s*#endregion\\b")
36
- }
37
- }
38
- }, r = {
39
- defaultToken: "",
40
- ignoreCase: !0,
41
- tokenPostfix: ".coffee",
42
- brackets: [
43
- { open: "{", close: "}", token: "delimiter.curly" },
44
- { open: "[", close: "]", token: "delimiter.square" },
45
- { open: "(", close: ")", token: "delimiter.parenthesis" }
46
- ],
47
- regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
48
- keywords: [
49
- "and",
50
- "or",
51
- "is",
52
- "isnt",
53
- "not",
54
- "on",
55
- "yes",
56
- "@",
57
- "no",
58
- "off",
59
- "true",
60
- "false",
61
- "null",
62
- "this",
63
- "new",
64
- "delete",
65
- "typeof",
66
- "in",
67
- "instanceof",
68
- "return",
69
- "throw",
70
- "break",
71
- "continue",
72
- "debugger",
73
- "if",
74
- "else",
75
- "switch",
76
- "for",
77
- "while",
78
- "do",
79
- "try",
80
- "catch",
81
- "finally",
82
- "class",
83
- "extends",
84
- "super",
85
- "undefined",
86
- "then",
87
- "unless",
88
- "until",
89
- "loop",
90
- "of",
91
- "by",
92
- "when"
93
- ],
94
- symbols: /[=><!~?&%|+\-*\/\^\.,\:]+/,
95
- escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
96
- tokenizer: {
97
- root: [
98
- [/\@[a-zA-Z_]\w*/, "variable.predefined"],
99
- [
100
- /[a-zA-Z_]\w*/,
101
- {
102
- cases: {
103
- this: "variable.predefined",
104
- "@keywords": { token: "keyword.$0" },
105
- "@default": ""
106
- }
107
- }
108
- ],
109
- [/[ \t\r\n]+/, ""],
110
- [/###/, "comment", "@comment"],
111
- [/#.*$/, "comment"],
112
- ["///", { token: "regexp", next: "@hereregexp" }],
113
- [/^(\s*)(@regEx)/, ["", "regexp"]],
114
- [/(\()(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
115
- [/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
116
- [/(\=)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
117
- [/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
118
- [/(\[)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
119
- [/(\!)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
120
- [/(\&)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
121
- [/(\|)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
122
- [/(\?)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
123
- [/(\{)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
124
- [/(\;)(\s*)(@regEx)/, ["", "", "regexp"]],
125
- [
126
- /}/,
127
- {
128
- cases: {
129
- "$S2==interpolatedstring": {
130
- token: "string",
131
- next: "@pop"
132
- },
133
- "@default": "@brackets"
134
- }
135
- }
136
- ],
137
- [/[{}()\[\]]/, "@brackets"],
138
- [/@symbols/, "delimiter"],
139
- [/\d+[eE]([\-+]?\d+)?/, "number.float"],
140
- [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
141
- [/0[xX][0-9a-fA-F]+/, "number.hex"],
142
- [/0[0-7]+(?!\d)/, "number.octal"],
143
- [/\d+/, "number"],
144
- [/[,.]/, "delimiter"],
145
- [/"""/, "string", '@herestring."""'],
146
- [/'''/, "string", "@herestring.'''"],
147
- [
148
- /"/,
149
- {
150
- cases: {
151
- "@eos": "string",
152
- "@default": { token: "string", next: '@string."' }
153
- }
154
- }
155
- ],
156
- [
157
- /'/,
158
- {
159
- cases: {
160
- "@eos": "string",
161
- "@default": { token: "string", next: "@string.'" }
162
- }
163
- }
164
- ]
165
- ],
166
- string: [
167
- [/[^"'\#\\]+/, "string"],
168
- [/@escapes/, "string.escape"],
169
- [/\./, "string.escape.invalid"],
170
- [/\./, "string.escape.invalid"],
171
- [
172
- /#{/,
173
- {
174
- cases: {
175
- '$S2=="': {
176
- token: "string",
177
- next: "root.interpolatedstring"
178
- },
179
- "@default": "string"
180
- }
181
- }
182
- ],
183
- [
184
- /["']/,
185
- {
186
- cases: {
187
- "$#==$S2": { token: "string", next: "@pop" },
188
- "@default": "string"
189
- }
190
- }
191
- ],
192
- [/#/, "string"]
193
- ],
194
- herestring: [
195
- [
196
- /("""|''')/,
197
- {
198
- cases: {
199
- "$1==$S2": { token: "string", next: "@pop" },
200
- "@default": "string"
201
- }
202
- }
203
- ],
204
- [/[^#\\'"]+/, "string"],
205
- [/['"]+/, "string"],
206
- [/@escapes/, "string.escape"],
207
- [/\./, "string.escape.invalid"],
208
- [/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
209
- [/#/, "string"]
210
- ],
211
- comment: [
212
- [/[^#]+/, "comment"],
213
- [/###/, "comment", "@pop"],
214
- [/#/, "comment"]
215
- ],
216
- hereregexp: [
217
- [/[^\\\/#]+/, "regexp"],
218
- [/\\./, "regexp"],
219
- [/#.*$/, "comment"],
220
- ["///[igm]*", { token: "regexp", next: "@pop" }],
221
- [/\//, "regexp"]
222
- ]
223
- }
224
- };
225
- export {
226
- e as conf,
227
- r as language
228
- };
@@ -1,150 +0,0 @@
1
- import { defineAsyncComponent as U, reactive as A, ref as g, provide as D, watch as M, resolveComponent as m, openBlock as T, createBlock as W, withCtx as r, createVNode as f, unref as l, isRef as F, createTextVNode as I, toDisplayString as O, pushScopeId as j, popScopeId as z, createElementVNode as x } from "vue";
2
- import { _ as E, g as P, d as H } from "./index-22ab90dc.js";
3
- import { useRoute as K } from "vue-router";
4
- import "element-plus";
5
- const $ = (d) => (j("data-v-709fc688"), d = d(), z(), d), G = /* @__PURE__ */ $(() => /* @__PURE__ */ x("div", { class: "card-header" }, [
6
- /* @__PURE__ */ x("div", { class: "card-header-title" }, "按钮配置")
7
- ], -1)), J = {
8
- __name: "configBtns",
9
- props: {
10
- modelValue: { type: Object, default: () => [] }
11
- },
12
- emits: ["update:modelValue"],
13
- setup(d, { expose: V, emit: Q }) {
14
- const h = K(), L = U(() => import("./dialogConfigBtn-e5c41ad9.js")), c = d, w = () => ({
15
- sort: 0,
16
- permissionCode: null,
17
- requestUrl: "",
18
- btnName: "",
19
- btnAlias: "",
20
- btnIcon: "",
21
- btnPostion: "",
22
- btnType: "",
23
- btnColor: "",
24
- submitWay: "",
25
- isCustomBtn: !1,
26
- customType: "",
27
- codeStr: "",
28
- customComponentName: "",
29
- customComponentUrl: "",
30
- // isBatchOperate: false,
31
- associationMenuId: "",
32
- submitFields: [],
33
- matchFields: []
34
- });
35
- let a = A((() => ({
36
- tableLoading: !1,
37
- showConfigBtnDialog: !1,
38
- dialogData: {}
39
- }))()), C = g(null), y = 0, v = [], u = g([]), N = [
40
- { prop: "checkbox", width: 60 },
41
- { prop: "serialNumber", width: 80 },
42
- { label: "按钮名称", prop: "btnName", minWidth: 200 },
43
- { label: "权限码", prop: "permissionCode", minWidth: 200 },
44
- { label: "按钮别名", prop: "btnAlias", minWidth: 120 },
45
- { label: "按钮图标", prop: "btnIcon", minWidth: 120 },
46
- { label: "是否自定义", prop: "isCustomBtn", width: 120, render: !0 },
47
- { label: "排序", prop: "sort", width: 180, render: !0 },
48
- { label: "操作", prop: "operate", width: 120, render: !0, fixed: "right" }
49
- ], b = g([]);
50
- const S = (n, t) => {
51
- Object.assign(b.value[y], n), t(!0);
52
- }, k = async (n) => {
53
- try {
54
- a.tableLoading = !0;
55
- const t = c.id ? c.id : h.params.id, { data: i } = await H({ id: t });
56
- u.value = (i || []).filter((o) => (n || []).some((s) => s.permissionCode == o.unique)).map((o) => o.unique), b.value = (i || []).map((o, s) => {
57
- let _ = w(), p = (n || []).find((e) => e.permissionCode == o.unique) || {};
58
- return { ..._, ...p, btnName: o.name, permissionCode: o.unique, sort: p.sort ? p.sort : (s + 1) * 10 };
59
- }).sort((o, s) => o.sort - s.sort), a.tableLoading = !1;
60
- } catch (t) {
61
- a.tableLoading = !1, console.error(t);
62
- }
63
- }, R = () => C.value.getSelectionRows() || [];
64
- D("associationMenuList", v), D("createDefaultButtonItem", w), M(
65
- () => c.modelValue,
66
- async (n, t) => {
67
- try {
68
- const i = c.id ? c.id : h.params.id;
69
- v = (await P({ dynamicFilters: [{ field: "parentId", operate: "Equal", value: i }] })).data || [], await k(n);
70
- } catch (i) {
71
- a.tableLoading = !1, console.error(i);
72
- }
73
- },
74
- { deep: !0, immediate: !0 }
75
- );
76
- const q = (n) => {
77
- a.dialogData = n.row, y = n.$index, a.showConfigBtnDialog = !0;
78
- };
79
- return V({ getTableSelectionRows: R }), (n, t) => {
80
- const i = m("el-tag"), o = m("el-input-number"), s = m("el-button"), _ = m("a-table"), p = m("el-card");
81
- return T(), W(p, {
82
- class: "form-card",
83
- shadow: "hover"
84
- }, {
85
- header: r(() => [
86
- G
87
- ]),
88
- default: r(() => [
89
- f(_, {
90
- ref_key: "tableRef",
91
- ref: C,
92
- loading: l(a).tableLoading,
93
- rowKey: "permissionCode",
94
- selection: l(u),
95
- "onUpdate:selection": t[0] || (t[0] = (e) => F(u) ? u.value = e : u = e),
96
- headers: l(N),
97
- data: l(b),
98
- showPagination: !1
99
- }, {
100
- isCustomBtn: r(({ scope: e }) => [
101
- f(i, {
102
- type: "primary",
103
- effect: "dark",
104
- size: "small"
105
- }, {
106
- default: r(() => [
107
- I(O(e.row.isCustomBtn ? "是" : "否"), 1)
108
- ]),
109
- _: 2
110
- }, 1024)
111
- ]),
112
- sort: r(({ scope: e }) => [
113
- f(o, {
114
- modelValue: e.row.sort,
115
- "onUpdate:modelValue": (B) => e.row.sort = B,
116
- min: 0
117
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
118
- ]),
119
- operate: r(({ scope: e }) => [
120
- f(s, {
121
- type: "primary",
122
- text: "",
123
- size: "small",
124
- icon: "Aim",
125
- onClick: (B) => q(e)
126
- }, {
127
- default: r(() => [
128
- I(" 配置 ")
129
- ]),
130
- _: 2
131
- }, 1032, ["onClick"])
132
- ]),
133
- _: 1
134
- }, 8, ["loading", "selection", "headers", "data"]),
135
- f(l(L), {
136
- visible: l(a).showConfigBtnDialog,
137
- "onUpdate:visible": t[1] || (t[1] = (e) => l(a).showConfigBtnDialog = e),
138
- title: "配置按钮",
139
- data: l(a).dialogData,
140
- onRefresh: S
141
- }, null, 8, ["visible", "data"])
142
- ]),
143
- _: 1
144
- });
145
- };
146
- }
147
- }, oe = /* @__PURE__ */ E(J, [["__scopeId", "data-v-709fc688"]]);
148
- export {
149
- oe as default
150
- };