@guodun/antdv 1.5.2 → 1.5.3
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/es/components/contract-signing-location/style/index.css +1 -1
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerToolbar.vue.mjs +190 -169
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateVariableDataModal.vue.mjs +43 -43
- package/dist/es/components/pro-contract-template-designer/src/DesignerPage.vue.mjs +114 -98
- package/dist/es/components/pro-contract-template-designer/src/composables/use-toolbar-overflow.mjs +29 -18
- package/dist/es/components/pro-contract-template-designer/src/extensions/editor-extensions.mjs +4 -1
- package/dist/es/components/pro-contract-template-designer/src/extensions/word-paste.mjs +62 -34
- package/dist/es/components/pro-contract-template-designer/src/utils/clipboard.mjs +24 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/toolbar-overflow.mjs +4 -1
- package/dist/lib/components/contract-signing-location/style/index.css +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerToolbar.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateVariableDataModal.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/DesignerPage.vue.cjs +2 -2
- package/dist/lib/components/pro-contract-template-designer/src/composables/use-toolbar-overflow.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/extensions/editor-extensions.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/extensions/word-paste.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/utils/clipboard.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/toolbar-overflow.cjs +1 -1
- package/dist/theme/contract-signing-location.css +1 -1
- package/dist/theme/icon.css +1 -1
- package/dist/theme/index.css +1 -1
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplateDesignerToolbar.vue.d.ts +2 -1
- package/dist/types/components/pro-contract-template-designer/src/composables/use-toolbar-overflow.d.ts +1 -1
- package/dist/types/components/pro-contract-template-designer/src/extensions/editor-extensions.d.ts +2 -0
- package/dist/types/components/pro-contract-template-designer/src/extensions/word-paste.d.ts +2 -0
- package/dist/types/components/pro-contract-template-designer/src/utils/clipboard.d.ts +7 -0
- package/dist/types/components/pro-contract-template-designer/src/utils/toolbar-overflow.d.ts +2 -2
- package/package.json +3 -3
|
@@ -4,29 +4,38 @@ import { useToolbarOverflow as ee } from "./composables/use-toolbar-overflow.mjs
|
|
|
4
4
|
import { Fragment as te, Teleport as n, createBlock as r, createCommentVNode as ne, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, mergeModels as l, normalizeClass as u, onBeforeUnmount as re, openBlock as d, ref as f, renderList as ie, resolveDynamicComponent as ae, toDisplayString as p, unref as m, useModel as h, vShow as g, withCtx as _, withDirectives as v, withModifiers as oe } from "vue";
|
|
5
5
|
import { Alert as se, Button as y, Input as ce, InputNumber as b, Popover as x, Select as S, Switch as le, Tooltip as C } from "ant-design-vue";
|
|
6
6
|
import { useElementSize as ue } from "@vueuse/core";
|
|
7
|
-
import { AlignCenterOutlined as
|
|
7
|
+
import { AlignCenterOutlined as de, AlignLeftOutlined as w, AlignRightOutlined as fe, BoldOutlined as pe, ClearOutlined as me, EllipsisOutlined as he, FileAddOutlined as ge, FormatPainterOutlined as _e, ItalicOutlined as ve, MinusOutlined as ye, OrderedListOutlined as be, PictureOutlined as T, PlusOutlined as xe, RedoOutlined as E, TableOutlined as D, UnderlineOutlined as O, UndoOutlined as k, UnorderedListOutlined as A } from "@ant-design/icons-vue";
|
|
8
8
|
//#region src/components/pro-contract-template-designer/src/ContractTemplateDesignerToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var
|
|
9
|
+
var j = { class: "gd-contract-template-designer__toolbar" }, M = { class: "gd-contract-template-designer__toolbar-group" }, Se = { class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--style" }, Ce = { class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--format" }, we = {
|
|
10
10
|
class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--insert",
|
|
11
11
|
"data-toolbar-overflow-key": "insert"
|
|
12
|
-
},
|
|
12
|
+
}, Te = { class: "gd-contract-template-designer__popover gd-contract-template-designer__control-insert-popover" }, Ee = { class: "gd-contract-template-designer__text-menu-control-options" }, De = ["aria-label", "onClick"], Oe = { class: "gd-contract-template-designer__popover gd-contract-template-designer__image-insert-popover" }, ke = {
|
|
13
13
|
class: "gd-contract-template-designer__image-size-fields",
|
|
14
14
|
role: "group",
|
|
15
15
|
"aria-label": "图片尺寸"
|
|
16
|
-
},
|
|
17
|
-
class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--
|
|
18
|
-
"data-toolbar-overflow-key": "
|
|
19
|
-
},
|
|
16
|
+
}, Ae = {
|
|
17
|
+
class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--font-family",
|
|
18
|
+
"data-toolbar-overflow-key": "font-family"
|
|
19
|
+
}, je = {
|
|
20
|
+
class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--font-appearance",
|
|
21
|
+
"data-toolbar-overflow-key": "font-appearance"
|
|
22
|
+
}, Me = ["value", "disabled"], Ne = {
|
|
23
|
+
class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--list",
|
|
24
|
+
"data-toolbar-overflow-key": "list"
|
|
25
|
+
}, Pe = {
|
|
26
|
+
class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--alignment",
|
|
27
|
+
"data-toolbar-overflow-key": "alignment"
|
|
28
|
+
}, Fe = {
|
|
20
29
|
class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--cleanup",
|
|
21
30
|
"data-toolbar-overflow-key": "cleanup"
|
|
22
|
-
},
|
|
31
|
+
}, N = {
|
|
23
32
|
class: "gd-contract-template-designer__toolbar-group gd-contract-template-designer__toolbar-group--table",
|
|
24
33
|
"data-toolbar-overflow-key": "table"
|
|
25
|
-
},
|
|
34
|
+
}, Ie = { class: "gd-contract-template-designer__popover" }, Le = { class: "gd-contract-template-designer__switch-row" }, Re = { class: "gd-contract-template-designer__popover" }, ze = { class: "gd-contract-template-designer__table-actions" }, Be = {
|
|
26
35
|
class: "gd-contract-template-designer__toolbar-more-panel",
|
|
27
36
|
role: "menu",
|
|
28
37
|
"aria-label": "更多编辑工具"
|
|
29
|
-
},
|
|
38
|
+
}, Ve = { class: "gd-contract-template-designer__toolbar-more-section" }, He = { class: "gd-contract-template-designer__toolbar-more-section" }, Ue = { class: "gd-contract-template-designer__toolbar-more-section" }, We = { class: "gd-contract-template-designer__toolbar-more-section" }, Ge = { class: "gd-contract-template-designer__toolbar-more-section" }, P = /* @__PURE__ */ c({
|
|
30
39
|
name: "ContractTemplateDesignerToolbar",
|
|
31
40
|
__name: "ContractTemplateDesignerToolbar",
|
|
32
41
|
props: /* @__PURE__ */ l({
|
|
@@ -109,37 +118,37 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
109
118
|
"update:toolbarMoreOpen"
|
|
110
119
|
]),
|
|
111
120
|
setup(c, { emit: l }) {
|
|
112
|
-
let
|
|
121
|
+
let P = c, F = h(c, "variableInsertPopoverOpen"), I = h(c, "imageInsertPopoverOpen"), L = h(c, "imageInsertUrl"), R = h(c, "imageInsertWidth"), z = h(c, "imageInsertHeight"), B = h(c, "tableInsertPopoverOpen"), V = h(c, "tableActionsPopoverOpen"), H = h(c, "tableInsertDraft"), U = h(c, "toolbarMoreOpen"), W = l, G = f(), K = f(), q = f(), J = f(), Y = f(), X = f(), Z = f(), Q = !1;
|
|
113
122
|
re(() => {
|
|
114
123
|
Q = !0;
|
|
115
124
|
});
|
|
116
|
-
let { width:
|
|
117
|
-
toolbarMainElement:
|
|
118
|
-
toolbarMoreElement:
|
|
119
|
-
toolbarMoreOpen:
|
|
125
|
+
let { width: Ke } = ue(G), { isToolbarGroupOverflowed: $, toolbarHasOverflow: qe } = ee({
|
|
126
|
+
toolbarMainElement: G,
|
|
127
|
+
toolbarMoreElement: K,
|
|
128
|
+
toolbarMoreOpen: U,
|
|
120
129
|
measureDependencies: () => [
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
130
|
+
Ke.value,
|
|
131
|
+
P.currentBlockFormat,
|
|
132
|
+
P.currentEditorFontFamily,
|
|
133
|
+
P.currentEditorFontSize,
|
|
134
|
+
P.readonly
|
|
126
135
|
],
|
|
127
136
|
isDisposed: () => Q
|
|
128
137
|
});
|
|
129
|
-
return (ee, l) => (d(), i("header",
|
|
138
|
+
return (ee, l) => (d(), i("header", j, [a("div", {
|
|
130
139
|
ref_key: "toolbarMainElement",
|
|
131
|
-
ref:
|
|
140
|
+
ref: G,
|
|
132
141
|
class: "gd-contract-template-designer__toolbar-section gd-contract-template-designer__toolbar-section--main"
|
|
133
142
|
}, [
|
|
134
|
-
a("div",
|
|
143
|
+
a("div", M, [s(m(C), { title: "撤销" }, {
|
|
135
144
|
default: _(() => [s(m(y), {
|
|
136
145
|
size: "small",
|
|
137
146
|
class: "gd-contract-template-designer__icon-button",
|
|
138
147
|
disabled: c.readonly || !c.editorState.canUndo,
|
|
139
148
|
"aria-label": "撤销",
|
|
140
|
-
onClick: l[0] ||= (e) =>
|
|
149
|
+
onClick: l[0] ||= (e) => W("command", { type: "undo" })
|
|
141
150
|
}, {
|
|
142
|
-
default: _(() => [s(m(
|
|
151
|
+
default: _(() => [s(m(k), { "aria-hidden": "true" })]),
|
|
143
152
|
_: 1
|
|
144
153
|
}, 8, ["disabled"])]),
|
|
145
154
|
_: 1
|
|
@@ -149,21 +158,21 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
149
158
|
class: "gd-contract-template-designer__icon-button",
|
|
150
159
|
disabled: c.readonly || !c.editorState.canRedo,
|
|
151
160
|
"aria-label": "重做",
|
|
152
|
-
onClick: l[1] ||= (e) =>
|
|
161
|
+
onClick: l[1] ||= (e) => W("command", { type: "redo" })
|
|
153
162
|
}, {
|
|
154
|
-
default: _(() => [s(m(
|
|
163
|
+
default: _(() => [s(m(E), { "aria-hidden": "true" })]),
|
|
155
164
|
_: 1
|
|
156
165
|
}, 8, ["disabled"])]),
|
|
157
166
|
_: 1
|
|
158
167
|
})]),
|
|
159
|
-
a("div",
|
|
168
|
+
a("div", Se, [s(m(S), {
|
|
160
169
|
class: "gd-contract-template-designer__toolbar-select",
|
|
161
170
|
value: c.currentBlockFormat,
|
|
162
171
|
options: c.blockFormatOptions,
|
|
163
172
|
disabled: c.readonly,
|
|
164
173
|
placeholder: "多种样式",
|
|
165
174
|
"aria-label": "段落样式",
|
|
166
|
-
onChange: l[2] ||= (e) =>
|
|
175
|
+
onChange: l[2] ||= (e) => W("patch-block-format", e)
|
|
167
176
|
}, {
|
|
168
177
|
option: _(({ label: e, value: t }) => [a("span", { class: u(["gd-contract-template-designer__block-format-option", `is-level-${String(t)}`]) }, p(e), 3)]),
|
|
169
178
|
_: 1
|
|
@@ -172,7 +181,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
172
181
|
"options",
|
|
173
182
|
"disabled"
|
|
174
183
|
])]),
|
|
175
|
-
a("div",
|
|
184
|
+
a("div", Ce, [
|
|
176
185
|
s(m(C), { title: "加粗" }, {
|
|
177
186
|
default: _(() => [s(m(y), {
|
|
178
187
|
size: "small",
|
|
@@ -180,7 +189,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
180
189
|
type: c.editorState.isBold ? "primary" : "default",
|
|
181
190
|
disabled: c.readonly,
|
|
182
191
|
"aria-label": "加粗",
|
|
183
|
-
onClick: l[3] ||= (e) =>
|
|
192
|
+
onClick: l[3] ||= (e) => W("command", { type: "toggle-bold" })
|
|
184
193
|
}, {
|
|
185
194
|
default: _(() => [s(m(pe), { "aria-hidden": "true" })]),
|
|
186
195
|
_: 1
|
|
@@ -194,7 +203,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
194
203
|
type: c.editorState.isItalic ? "primary" : "default",
|
|
195
204
|
disabled: c.readonly,
|
|
196
205
|
"aria-label": "斜体",
|
|
197
|
-
onClick: l[4] ||= (e) =>
|
|
206
|
+
onClick: l[4] ||= (e) => W("command", { type: "toggle-italic" })
|
|
198
207
|
}, {
|
|
199
208
|
default: _(() => [s(m(ve), { "aria-hidden": "true" })]),
|
|
200
209
|
_: 1
|
|
@@ -208,53 +217,25 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
208
217
|
type: c.editorState.isUnderline ? "primary" : "default",
|
|
209
218
|
disabled: c.readonly,
|
|
210
219
|
"aria-label": "下划线",
|
|
211
|
-
onClick: l[5] ||= (e) =>
|
|
212
|
-
}, {
|
|
213
|
-
default: _(() => [s(m(k), { "aria-hidden": "true" })]),
|
|
214
|
-
_: 1
|
|
215
|
-
}, 8, ["type", "disabled"])]),
|
|
216
|
-
_: 1
|
|
217
|
-
}),
|
|
218
|
-
s(m(C), { title: "编号列表" }, {
|
|
219
|
-
default: _(() => [s(m(y), {
|
|
220
|
-
size: "small",
|
|
221
|
-
class: "gd-contract-template-designer__icon-button",
|
|
222
|
-
type: c.editorState.isOrderedList ? "primary" : "default",
|
|
223
|
-
disabled: c.readonly,
|
|
224
|
-
"aria-label": "编号列表",
|
|
225
|
-
onClick: l[6] ||= (e) => G("command", { type: "toggle-ordered-list" })
|
|
226
|
-
}, {
|
|
227
|
-
default: _(() => [s(m(be), { "aria-hidden": "true" })]),
|
|
228
|
-
_: 1
|
|
229
|
-
}, 8, ["type", "disabled"])]),
|
|
230
|
-
_: 1
|
|
231
|
-
}),
|
|
232
|
-
s(m(C), { title: "项目列表" }, {
|
|
233
|
-
default: _(() => [s(m(y), {
|
|
234
|
-
size: "small",
|
|
235
|
-
class: "gd-contract-template-designer__icon-button",
|
|
236
|
-
type: c.editorState.isBulletList ? "primary" : "default",
|
|
237
|
-
disabled: c.readonly,
|
|
238
|
-
"aria-label": "项目列表",
|
|
239
|
-
onClick: l[7] ||= (e) => G("command", { type: "toggle-bullet-list" })
|
|
220
|
+
onClick: l[5] ||= (e) => W("command", { type: "toggle-underline" })
|
|
240
221
|
}, {
|
|
241
|
-
default: _(() => [s(m(
|
|
222
|
+
default: _(() => [s(m(O), { "aria-hidden": "true" })]),
|
|
242
223
|
_: 1
|
|
243
224
|
}, 8, ["type", "disabled"])]),
|
|
244
225
|
_: 1
|
|
245
226
|
})
|
|
246
227
|
]),
|
|
247
228
|
(d(), r(n, {
|
|
248
|
-
disabled: !m($)("insert") || !
|
|
249
|
-
to:
|
|
250
|
-
}, [a("div",
|
|
229
|
+
disabled: !m($)("insert") || !q.value,
|
|
230
|
+
to: q.value || "body"
|
|
231
|
+
}, [a("div", we, [
|
|
251
232
|
s(m(x), {
|
|
252
|
-
open:
|
|
253
|
-
"onUpdate:open": l[
|
|
233
|
+
open: F.value,
|
|
234
|
+
"onUpdate:open": l[6] ||= (e) => F.value = e,
|
|
254
235
|
trigger: "click",
|
|
255
236
|
placement: "bottom"
|
|
256
237
|
}, {
|
|
257
|
-
content: _(() => [a("div",
|
|
238
|
+
content: _(() => [a("div", Te, [l[45] ||= a("strong", null, "插入正文控件", -1), a("div", Ee, [(d(!0), i(te, null, ie(c.bodyControlToolItems, (e) => (d(), r(m(C), {
|
|
258
239
|
key: e.type,
|
|
259
240
|
title: `插入${e.label}控件`
|
|
260
241
|
}, {
|
|
@@ -262,8 +243,8 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
262
243
|
type: "button",
|
|
263
244
|
class: "gd-contract-template-designer__text-menu-control-option",
|
|
264
245
|
"aria-label": `插入${e.label}控件`,
|
|
265
|
-
onClick: (t) =>
|
|
266
|
-
}, [(d(), r(ae(e.icon), { "aria-hidden": "true" })), a("span", null, p(e.label), 1)], 8,
|
|
246
|
+
onClick: (t) => W("insert-variable", e.type)
|
|
247
|
+
}, [(d(), r(ae(e.icon), { "aria-hidden": "true" })), a("span", null, p(e.label), 1)], 8, De)]),
|
|
267
248
|
_: 2
|
|
268
249
|
}, 1032, ["title"]))), 128))])])]),
|
|
269
250
|
default: _(() => [s(m(C), { title: "插入正文控件" }, {
|
|
@@ -273,7 +254,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
273
254
|
disabled: c.readonly,
|
|
274
255
|
"aria-label": "插入正文控件"
|
|
275
256
|
}, {
|
|
276
|
-
default: _(() => [s(m(
|
|
257
|
+
default: _(() => [s(m(xe), { "aria-hidden": "true" })]),
|
|
277
258
|
_: 1
|
|
278
259
|
}, 8, ["disabled"])]),
|
|
279
260
|
_: 1
|
|
@@ -281,34 +262,34 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
281
262
|
_: 1
|
|
282
263
|
}, 8, ["open"]),
|
|
283
264
|
s(m(x), {
|
|
284
|
-
open:
|
|
285
|
-
"onUpdate:open": l[
|
|
265
|
+
open: I.value,
|
|
266
|
+
"onUpdate:open": l[13] ||= (e) => I.value = e,
|
|
286
267
|
trigger: "click",
|
|
287
268
|
placement: "bottom"
|
|
288
269
|
}, {
|
|
289
|
-
content: _(() => [a("div",
|
|
270
|
+
content: _(() => [a("div", Oe, [
|
|
290
271
|
l[50] ||= a("strong", null, "插入正文图片", -1),
|
|
291
272
|
s(m(y), {
|
|
292
273
|
block: "",
|
|
293
274
|
loading: c.imageProcessing,
|
|
294
275
|
disabled: c.readonly,
|
|
295
|
-
onClick: l[
|
|
276
|
+
onClick: l[7] ||= (e) => W("open-image-file")
|
|
296
277
|
}, {
|
|
297
278
|
default: _(() => [s(m(T), { "aria-hidden": "true" }), l[46] ||= o(" 本地图片 ", -1)]),
|
|
298
279
|
_: 1
|
|
299
280
|
}, 8, ["loading", "disabled"]),
|
|
300
281
|
s(m(ce), {
|
|
301
|
-
value:
|
|
302
|
-
"onUpdate:value": l[
|
|
282
|
+
value: L.value,
|
|
283
|
+
"onUpdate:value": l[8] ||= (e) => L.value = e,
|
|
303
284
|
"allow-clear": "",
|
|
304
285
|
disabled: c.readonly || c.imageProcessing,
|
|
305
286
|
placeholder: "https:// 或 data:image/...",
|
|
306
287
|
"aria-label": "图片 URL",
|
|
307
|
-
onPressEnter: l[
|
|
288
|
+
onPressEnter: l[9] ||= (e) => W("insert-image-url")
|
|
308
289
|
}, null, 8, ["value", "disabled"]),
|
|
309
|
-
a("div",
|
|
310
|
-
value:
|
|
311
|
-
"onUpdate:value": l[
|
|
290
|
+
a("div", ke, [a("label", null, [l[47] ||= a("span", null, "宽度", -1), s(m(b), {
|
|
291
|
+
value: R.value,
|
|
292
|
+
"onUpdate:value": l[10] ||= (e) => R.value = e,
|
|
312
293
|
min: m(16),
|
|
313
294
|
max: m(e),
|
|
314
295
|
disabled: c.readonly || c.imageProcessing,
|
|
@@ -320,8 +301,8 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
320
301
|
"max",
|
|
321
302
|
"disabled"
|
|
322
303
|
])]), a("label", null, [l[48] ||= a("span", null, "高度", -1), s(m(b), {
|
|
323
|
-
value:
|
|
324
|
-
"onUpdate:value": l[
|
|
304
|
+
value: z.value,
|
|
305
|
+
"onUpdate:value": l[11] ||= (e) => z.value = e,
|
|
325
306
|
min: m(16),
|
|
326
307
|
max: m(e),
|
|
327
308
|
disabled: c.readonly || c.imageProcessing,
|
|
@@ -336,8 +317,8 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
336
317
|
s(m(y), {
|
|
337
318
|
type: "primary",
|
|
338
319
|
block: "",
|
|
339
|
-
disabled: c.readonly || c.imageProcessing || !
|
|
340
|
-
onClick: l[
|
|
320
|
+
disabled: c.readonly || c.imageProcessing || !L.value.trim(),
|
|
321
|
+
onClick: l[12] ||= (e) => W("insert-image-url")
|
|
341
322
|
}, {
|
|
342
323
|
default: _(() => [...l[49] ||= [o(" 插入 URL ", -1)]]),
|
|
343
324
|
_: 1
|
|
@@ -369,7 +350,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
369
350
|
class: "gd-contract-template-designer__icon-button",
|
|
370
351
|
disabled: c.readonly,
|
|
371
352
|
"aria-label": "插入分隔线",
|
|
372
|
-
onClick: l[
|
|
353
|
+
onClick: l[14] ||= (e) => W("command", { type: "insert-horizontal-rule" })
|
|
373
354
|
}, {
|
|
374
355
|
default: _(() => [s(m(ye), { "aria-hidden": "true" })]),
|
|
375
356
|
_: 1
|
|
@@ -382,7 +363,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
382
363
|
class: "gd-contract-template-designer__icon-button",
|
|
383
364
|
disabled: c.readonly || c.pageLimitReached,
|
|
384
365
|
"aria-label": "新增页面",
|
|
385
|
-
onClick: l[
|
|
366
|
+
onClick: l[15] ||= (e) => W("add-page")
|
|
386
367
|
}, {
|
|
387
368
|
default: _(() => [s(m(ge), { "aria-hidden": "true" })]),
|
|
388
369
|
_: 1
|
|
@@ -391,46 +372,81 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
391
372
|
}, 8, ["title"])
|
|
392
373
|
])], 8, ["disabled", "to"])),
|
|
393
374
|
(d(), r(n, {
|
|
394
|
-
disabled: !m($)("
|
|
375
|
+
disabled: !m($)("font-family") || !J.value,
|
|
376
|
+
to: J.value || "body"
|
|
377
|
+
}, [a("div", Ae, [s(m(S), {
|
|
378
|
+
class: "gd-contract-template-designer__toolbar-select is-wide",
|
|
379
|
+
value: c.currentEditorFontFamily,
|
|
380
|
+
options: c.fontFamilySelectOptions,
|
|
381
|
+
disabled: c.readonly,
|
|
382
|
+
onChange: l[16] ||= (e) => W("patch-font-family", e)
|
|
383
|
+
}, null, 8, [
|
|
384
|
+
"value",
|
|
385
|
+
"options",
|
|
386
|
+
"disabled"
|
|
387
|
+
])])], 8, ["disabled", "to"])),
|
|
388
|
+
(d(), r(n, {
|
|
389
|
+
disabled: !m($)("font-appearance") || !J.value,
|
|
390
|
+
to: J.value || "body"
|
|
391
|
+
}, [a("div", je, [s(m(S), {
|
|
392
|
+
class: "gd-contract-template-designer__toolbar-select",
|
|
393
|
+
value: c.currentEditorFontSize,
|
|
394
|
+
options: c.fontSizePresetOptions,
|
|
395
|
+
"show-search": "",
|
|
396
|
+
"filter-option": !1,
|
|
397
|
+
"search-value": c.editorFontSizeSearchValue,
|
|
398
|
+
disabled: c.readonly,
|
|
399
|
+
onBlur: l[17] ||= (e) => W("font-size-commit"),
|
|
400
|
+
onChange: l[18] ||= (e) => W("patch-font-size", e),
|
|
401
|
+
onDropdownVisibleChange: l[19] ||= (e) => W("font-size-dropdown-change", e),
|
|
402
|
+
onInputKeyDown: l[20] ||= (e) => W("font-size-keydown", e),
|
|
403
|
+
onSearch: l[21] ||= (e) => W("font-size-search", e)
|
|
404
|
+
}, null, 8, [
|
|
405
|
+
"value",
|
|
406
|
+
"options",
|
|
407
|
+
"search-value",
|
|
408
|
+
"disabled"
|
|
409
|
+
]), a("input", {
|
|
410
|
+
class: "gd-contract-template-designer__color",
|
|
411
|
+
type: "color",
|
|
412
|
+
value: c.currentEditorTextColor,
|
|
413
|
+
disabled: c.readonly,
|
|
414
|
+
onInput: l[22] ||= (e) => W("patch-color", e)
|
|
415
|
+
}, null, 40, Me)])], 8, ["disabled", "to"])),
|
|
416
|
+
(d(), r(n, {
|
|
417
|
+
disabled: !m($)("list") || !Y.value,
|
|
395
418
|
to: Y.value || "body"
|
|
396
|
-
}, [a("div",
|
|
397
|
-
s(m(
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
disabled: c.readonly,
|
|
402
|
-
onChange: l[18] ||= (e) => G("patch-font-family", e)
|
|
403
|
-
}, null, 8, [
|
|
404
|
-
"value",
|
|
405
|
-
"options",
|
|
406
|
-
"disabled"
|
|
407
|
-
]),
|
|
408
|
-
s(m(S), {
|
|
409
|
-
class: "gd-contract-template-designer__toolbar-select",
|
|
410
|
-
value: c.currentEditorFontSize,
|
|
411
|
-
options: c.fontSizePresetOptions,
|
|
412
|
-
"show-search": "",
|
|
413
|
-
"filter-option": !1,
|
|
414
|
-
"search-value": c.editorFontSizeSearchValue,
|
|
419
|
+
}, [a("div", Ne, [s(m(C), { title: "编号列表" }, {
|
|
420
|
+
default: _(() => [s(m(y), {
|
|
421
|
+
size: "small",
|
|
422
|
+
class: "gd-contract-template-designer__icon-button",
|
|
423
|
+
type: c.editorState.isOrderedList ? "primary" : "default",
|
|
415
424
|
disabled: c.readonly,
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
},
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
"
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
class: "gd-contract-template-designer__color",
|
|
429
|
-
type: "color",
|
|
430
|
-
value: c.currentEditorTextColor,
|
|
425
|
+
"aria-label": "编号列表",
|
|
426
|
+
onClick: l[23] ||= (e) => W("command", { type: "toggle-ordered-list" })
|
|
427
|
+
}, {
|
|
428
|
+
default: _(() => [s(m(be), { "aria-hidden": "true" })]),
|
|
429
|
+
_: 1
|
|
430
|
+
}, 8, ["type", "disabled"])]),
|
|
431
|
+
_: 1
|
|
432
|
+
}), s(m(C), { title: "项目列表" }, {
|
|
433
|
+
default: _(() => [s(m(y), {
|
|
434
|
+
size: "small",
|
|
435
|
+
class: "gd-contract-template-designer__icon-button",
|
|
436
|
+
type: c.editorState.isBulletList ? "primary" : "default",
|
|
431
437
|
disabled: c.readonly,
|
|
432
|
-
|
|
433
|
-
|
|
438
|
+
"aria-label": "项目列表",
|
|
439
|
+
onClick: l[24] ||= (e) => W("command", { type: "toggle-bullet-list" })
|
|
440
|
+
}, {
|
|
441
|
+
default: _(() => [s(m(A), { "aria-hidden": "true" })]),
|
|
442
|
+
_: 1
|
|
443
|
+
}, 8, ["type", "disabled"])]),
|
|
444
|
+
_: 1
|
|
445
|
+
})])], 8, ["disabled", "to"])),
|
|
446
|
+
(d(), r(n, {
|
|
447
|
+
disabled: !m($)("alignment") || !Y.value,
|
|
448
|
+
to: Y.value || "body"
|
|
449
|
+
}, [a("div", Pe, [
|
|
434
450
|
s(m(C), { title: "左对齐" }, {
|
|
435
451
|
default: _(() => [s(m(y), {
|
|
436
452
|
size: "small",
|
|
@@ -438,9 +454,9 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
438
454
|
type: c.editorState.textAlign === "left" ? "primary" : "default",
|
|
439
455
|
disabled: c.readonly,
|
|
440
456
|
"aria-label": "左对齐",
|
|
441
|
-
onClick: l[25] ||= (e) =>
|
|
457
|
+
onClick: l[25] ||= (e) => W("patch-text-align", "left")
|
|
442
458
|
}, {
|
|
443
|
-
default: _(() => [s(m(
|
|
459
|
+
default: _(() => [s(m(w), { "aria-hidden": "true" })]),
|
|
444
460
|
_: 1
|
|
445
461
|
}, 8, [
|
|
446
462
|
"class",
|
|
@@ -456,9 +472,9 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
456
472
|
type: c.editorState.textAlign === "center" ? "primary" : "default",
|
|
457
473
|
disabled: c.readonly,
|
|
458
474
|
"aria-label": "居中对齐",
|
|
459
|
-
onClick: l[26] ||= (e) =>
|
|
475
|
+
onClick: l[26] ||= (e) => W("patch-text-align", "center")
|
|
460
476
|
}, {
|
|
461
|
-
default: _(() => [s(m(
|
|
477
|
+
default: _(() => [s(m(de), { "aria-hidden": "true" })]),
|
|
462
478
|
_: 1
|
|
463
479
|
}, 8, [
|
|
464
480
|
"class",
|
|
@@ -474,7 +490,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
474
490
|
type: c.editorState.textAlign === "right" ? "primary" : "default",
|
|
475
491
|
disabled: c.readonly,
|
|
476
492
|
"aria-label": "右对齐",
|
|
477
|
-
onClick: l[27] ||= (e) =>
|
|
493
|
+
onClick: l[27] ||= (e) => W("patch-text-align", "right")
|
|
478
494
|
}, {
|
|
479
495
|
default: _(() => [s(m(fe), { "aria-hidden": "true" })]),
|
|
480
496
|
_: 1
|
|
@@ -489,13 +505,13 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
489
505
|
(d(), r(n, {
|
|
490
506
|
disabled: !m($)("cleanup") || !X.value,
|
|
491
507
|
to: X.value || "body"
|
|
492
|
-
}, [a("div",
|
|
508
|
+
}, [a("div", Fe, [s(m(C), { title: "清文字" }, {
|
|
493
509
|
default: _(() => [s(m(y), {
|
|
494
510
|
size: "small",
|
|
495
511
|
class: "gd-contract-template-designer__icon-button",
|
|
496
512
|
disabled: c.readonly,
|
|
497
513
|
"aria-label": "清文字",
|
|
498
|
-
onClick: l[28] ||= (e) =>
|
|
514
|
+
onClick: l[28] ||= (e) => W("command", { type: "clear-text-format" })
|
|
499
515
|
}, {
|
|
500
516
|
default: _(() => [s(m(me), { "aria-hidden": "true" })]),
|
|
501
517
|
_: 1
|
|
@@ -507,7 +523,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
507
523
|
class: "gd-contract-template-designer__icon-button",
|
|
508
524
|
disabled: c.readonly,
|
|
509
525
|
"aria-label": "清段落",
|
|
510
|
-
onClick: l[29] ||= (e) =>
|
|
526
|
+
onClick: l[29] ||= (e) => W("command", { type: "clear-block-format" })
|
|
511
527
|
}, {
|
|
512
528
|
default: _(() => [s(m(_e), { "aria-hidden": "true" })]),
|
|
513
529
|
_: 1
|
|
@@ -517,22 +533,22 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
517
533
|
(d(), r(n, {
|
|
518
534
|
disabled: !m($)("table") || !Z.value,
|
|
519
535
|
to: Z.value || "body"
|
|
520
|
-
}, [a("div",
|
|
521
|
-
open:
|
|
522
|
-
"onUpdate:open": l[33] ||= (e) =>
|
|
536
|
+
}, [a("div", N, [s(m(x), {
|
|
537
|
+
open: B.value,
|
|
538
|
+
"onUpdate:open": l[33] ||= (e) => B.value = e,
|
|
523
539
|
trigger: "click",
|
|
524
540
|
placement: "bottom"
|
|
525
541
|
}, {
|
|
526
|
-
content: _(() => [a("div",
|
|
542
|
+
content: _(() => [a("div", Ie, [
|
|
527
543
|
l[52] ||= a("strong", null, "插入表格", -1),
|
|
528
544
|
s(t, {
|
|
529
545
|
disabled: c.readonly,
|
|
530
|
-
onSelect: l[30] ||= (e) =>
|
|
531
|
-
onClose: l[31] ||= (e) =>
|
|
546
|
+
onSelect: l[30] ||= (e) => W("insert-table", e.rows, e.cols),
|
|
547
|
+
onClose: l[31] ||= (e) => B.value = !1
|
|
532
548
|
}, null, 8, ["disabled"]),
|
|
533
|
-
a("label",
|
|
534
|
-
checked:
|
|
535
|
-
"onUpdate:checked": l[32] ||= (e) =>
|
|
549
|
+
a("label", Le, [l[51] ||= a("span", null, "表头行", -1), s(m(le), {
|
|
550
|
+
checked: H.value.withHeaderRow,
|
|
551
|
+
"onUpdate:checked": l[32] ||= (e) => H.value.withHeaderRow = e,
|
|
536
552
|
disabled: c.readonly
|
|
537
553
|
}, null, 8, ["checked", "disabled"])])
|
|
538
554
|
])]),
|
|
@@ -543,23 +559,23 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
543
559
|
disabled: c.readonly,
|
|
544
560
|
"aria-label": "插入表格"
|
|
545
561
|
}, {
|
|
546
|
-
default: _(() => [s(m(
|
|
562
|
+
default: _(() => [s(m(D), { "aria-hidden": "true" })]),
|
|
547
563
|
_: 1
|
|
548
564
|
}, 8, ["disabled"])]),
|
|
549
565
|
_: 1
|
|
550
566
|
})]),
|
|
551
567
|
_: 1
|
|
552
568
|
}, 8, ["open"]), s(m(x), {
|
|
553
|
-
open:
|
|
554
|
-
"onUpdate:open": l[43] ||= (e) =>
|
|
569
|
+
open: V.value,
|
|
570
|
+
"onUpdate:open": l[43] ||= (e) => V.value = e,
|
|
555
571
|
trigger: "click",
|
|
556
572
|
placement: "bottom"
|
|
557
573
|
}, {
|
|
558
|
-
content: _(() => [a("div",
|
|
574
|
+
content: _(() => [a("div", Re, [l[62] ||= a("strong", null, "表格操作", -1), a("div", ze, [
|
|
559
575
|
s(m(y), {
|
|
560
576
|
size: "small",
|
|
561
577
|
disabled: c.readonly,
|
|
562
|
-
onClick: l[34] ||= (e) =>
|
|
578
|
+
onClick: l[34] ||= (e) => W("table-action", "add-table-row-before")
|
|
563
579
|
}, {
|
|
564
580
|
default: _(() => [...l[53] ||= [o(" 上方插行 ", -1)]]),
|
|
565
581
|
_: 1
|
|
@@ -567,7 +583,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
567
583
|
s(m(y), {
|
|
568
584
|
size: "small",
|
|
569
585
|
disabled: c.readonly,
|
|
570
|
-
onClick: l[35] ||= (e) =>
|
|
586
|
+
onClick: l[35] ||= (e) => W("table-action", "add-table-row-after")
|
|
571
587
|
}, {
|
|
572
588
|
default: _(() => [...l[54] ||= [o(" 下方插行 ", -1)]]),
|
|
573
589
|
_: 1
|
|
@@ -575,7 +591,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
575
591
|
s(m(y), {
|
|
576
592
|
size: "small",
|
|
577
593
|
disabled: c.readonly,
|
|
578
|
-
onClick: l[36] ||= (e) =>
|
|
594
|
+
onClick: l[36] ||= (e) => W("table-action", "add-table-column-before")
|
|
579
595
|
}, {
|
|
580
596
|
default: _(() => [...l[55] ||= [o(" 左侧插列 ", -1)]]),
|
|
581
597
|
_: 1
|
|
@@ -583,7 +599,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
583
599
|
s(m(y), {
|
|
584
600
|
size: "small",
|
|
585
601
|
disabled: c.readonly,
|
|
586
|
-
onClick: l[37] ||= (e) =>
|
|
602
|
+
onClick: l[37] ||= (e) => W("table-action", "add-table-column-after")
|
|
587
603
|
}, {
|
|
588
604
|
default: _(() => [...l[56] ||= [o(" 右侧插列 ", -1)]]),
|
|
589
605
|
_: 1
|
|
@@ -591,7 +607,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
591
607
|
s(m(y), {
|
|
592
608
|
size: "small",
|
|
593
609
|
disabled: c.readonly,
|
|
594
|
-
onClick: l[38] ||= (e) =>
|
|
610
|
+
onClick: l[38] ||= (e) => W("table-action", "delete-table-row")
|
|
595
611
|
}, {
|
|
596
612
|
default: _(() => [...l[57] ||= [o(" 删除当前行 ", -1)]]),
|
|
597
613
|
_: 1
|
|
@@ -599,7 +615,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
599
615
|
s(m(y), {
|
|
600
616
|
size: "small",
|
|
601
617
|
disabled: c.readonly,
|
|
602
|
-
onClick: l[39] ||= (e) =>
|
|
618
|
+
onClick: l[39] ||= (e) => W("table-action", "delete-table-column")
|
|
603
619
|
}, {
|
|
604
620
|
default: _(() => [...l[58] ||= [o(" 删除当前列 ", -1)]]),
|
|
605
621
|
_: 1
|
|
@@ -607,7 +623,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
607
623
|
s(m(y), {
|
|
608
624
|
size: "small",
|
|
609
625
|
disabled: c.readonly,
|
|
610
|
-
onClick: l[40] ||= (e) =>
|
|
626
|
+
onClick: l[40] ||= (e) => W("table-action", "toggle-table-header-row")
|
|
611
627
|
}, {
|
|
612
628
|
default: _(() => [...l[59] ||= [o(" 切换表头行 ", -1)]]),
|
|
613
629
|
_: 1
|
|
@@ -615,7 +631,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
615
631
|
s(m(y), {
|
|
616
632
|
size: "small",
|
|
617
633
|
disabled: c.readonly,
|
|
618
|
-
onClick: l[41] ||= (e) =>
|
|
634
|
+
onClick: l[41] ||= (e) => W("table-action", "toggle-table-header-column")
|
|
619
635
|
}, {
|
|
620
636
|
default: _(() => [...l[60] ||= [o(" 切换表头列 ", -1)]]),
|
|
621
637
|
_: 1
|
|
@@ -624,7 +640,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
624
640
|
danger: "",
|
|
625
641
|
size: "small",
|
|
626
642
|
disabled: c.readonly,
|
|
627
|
-
onClick: l[42] ||= (e) =>
|
|
643
|
+
onClick: l[42] ||= (e) => W("table-action", "delete-table")
|
|
628
644
|
}, {
|
|
629
645
|
default: _(() => [...l[61] ||= [o(" 删除表格 ", -1)]]),
|
|
630
646
|
_: 1
|
|
@@ -637,7 +653,7 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
637
653
|
disabled: c.readonly || !c.editorState.isTableActive,
|
|
638
654
|
"aria-label": "表格操作"
|
|
639
655
|
}, {
|
|
640
|
-
default: _(() => [s(m(
|
|
656
|
+
default: _(() => [s(m(D), { "aria-hidden": "true" })]),
|
|
641
657
|
_: 1
|
|
642
658
|
}, 8, ["disabled"])]),
|
|
643
659
|
_: 1
|
|
@@ -646,45 +662,50 @@ var M = { class: "gd-contract-template-designer__toolbar" }, N = { class: "gd-co
|
|
|
646
662
|
}, 8, ["open"])])], 8, ["disabled", "to"])),
|
|
647
663
|
v(a("div", {
|
|
648
664
|
ref_key: "toolbarMoreElement",
|
|
649
|
-
ref:
|
|
665
|
+
ref: K,
|
|
650
666
|
class: "gd-contract-template-designer__toolbar-more"
|
|
651
667
|
}, [s(m(C), { title: "更多工具" }, {
|
|
652
668
|
default: _(() => [s(m(y), {
|
|
653
669
|
size: "small",
|
|
654
|
-
class: u(["gd-contract-template-designer__icon-button", { "is-selected":
|
|
670
|
+
class: u(["gd-contract-template-designer__icon-button", { "is-selected": U.value }]),
|
|
655
671
|
"aria-label": "更多工具",
|
|
656
672
|
"aria-haspopup": "true",
|
|
657
|
-
"aria-expanded":
|
|
658
|
-
onClick: l[44] ||= oe((e) =>
|
|
673
|
+
"aria-expanded": U.value,
|
|
674
|
+
onClick: l[44] ||= oe((e) => U.value = !U.value, ["stop"])
|
|
659
675
|
}, {
|
|
660
676
|
default: _(() => [s(m(he), { "aria-hidden": "true" })]),
|
|
661
677
|
_: 1
|
|
662
678
|
}, 8, ["class", "aria-expanded"])]),
|
|
663
679
|
_: 1
|
|
664
|
-
}), v(a("div",
|
|
665
|
-
v(a("div",
|
|
680
|
+
}), v(a("div", Be, [
|
|
681
|
+
v(a("div", Ve, [l[63] ||= a("span", { class: "gd-contract-template-designer__toolbar-more-title" }, "插入", -1), a("div", {
|
|
666
682
|
ref_key: "toolbarInsertSlotElement",
|
|
667
|
-
ref:
|
|
683
|
+
ref: q,
|
|
668
684
|
class: "gd-contract-template-designer__toolbar-more-slot"
|
|
669
685
|
}, null, 512)], 512), [[g, m($)("insert")]]),
|
|
670
|
-
v(a("div",
|
|
671
|
-
ref_key: "
|
|
686
|
+
v(a("div", He, [l[64] ||= a("span", { class: "gd-contract-template-designer__toolbar-more-title" }, "字体", -1), a("div", {
|
|
687
|
+
ref_key: "toolbarFontSlotElement",
|
|
688
|
+
ref: J,
|
|
689
|
+
class: "gd-contract-template-designer__toolbar-more-slot"
|
|
690
|
+
}, null, 512)], 512), [[g, m($)("font-family") || m($)("font-appearance")]]),
|
|
691
|
+
v(a("div", Ue, [l[65] ||= a("span", { class: "gd-contract-template-designer__toolbar-more-title" }, "段落", -1), a("div", {
|
|
692
|
+
ref_key: "toolbarParagraphSlotElement",
|
|
672
693
|
ref: Y,
|
|
673
694
|
class: "gd-contract-template-designer__toolbar-more-slot"
|
|
674
|
-
}, null, 512)], 512), [[g, m($)("
|
|
675
|
-
v(a("div",
|
|
695
|
+
}, null, 512)], 512), [[g, m($)("list") || m($)("alignment")]]),
|
|
696
|
+
v(a("div", We, [l[66] ||= a("span", { class: "gd-contract-template-designer__toolbar-more-title" }, "清除格式", -1), a("div", {
|
|
676
697
|
ref_key: "toolbarCleanupSlotElement",
|
|
677
698
|
ref: X,
|
|
678
699
|
class: "gd-contract-template-designer__toolbar-more-slot"
|
|
679
700
|
}, null, 512)], 512), [[g, m($)("cleanup")]]),
|
|
680
|
-
v(a("div",
|
|
701
|
+
v(a("div", Ge, [l[67] ||= a("span", { class: "gd-contract-template-designer__toolbar-more-title" }, "表格", -1), a("div", {
|
|
681
702
|
ref_key: "toolbarTableSlotElement",
|
|
682
703
|
ref: Z,
|
|
683
704
|
class: "gd-contract-template-designer__toolbar-more-slot"
|
|
684
705
|
}, null, 512)], 512), [[g, m($)("table")]])
|
|
685
|
-
], 512), [[g,
|
|
706
|
+
], 512), [[g, U.value]])], 512), [[g, m(qe)]])
|
|
686
707
|
], 512)]));
|
|
687
708
|
}
|
|
688
709
|
});
|
|
689
710
|
//#endregion
|
|
690
|
-
export {
|
|
711
|
+
export { P as default };
|