@guodun/antdv 1.3.2 → 1.4.0
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/index.mjs +1 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocation.vue.mjs +304 -289
- package/dist/es/components/contract-signing-location/src/ContractSigningLocationCanvas.vue.mjs +337 -326
- package/dist/es/components/contract-signing-location/src/ContractSigningLocationNavigator.vue.mjs +41 -33
- package/dist/es/components/contract-signing-location/src/ContractSigningTemplatePage.mjs +5 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningTemplatePage.vue.mjs +23 -0
- package/dist/es/components/contract-signing-location/src/location-rules.mjs +115 -77
- package/dist/es/components/contract-signing-location/src/template-source.mjs +85 -0
- package/dist/es/components/contract-signing-location/style/index.css +1 -1
- package/dist/es/components/index.mjs +8 -6
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.mjs +164 -57
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.mjs +128 -125
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue.mjs +75 -49
- package/dist/es/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.mjs +135 -91
- package/dist/es/components/pro-contract-signing-flow/src/constants.mjs +25 -5
- package/dist/es/components/pro-contract-signing-flow/style/index.css +1 -1
- package/dist/es/components/pro-contract-template-designer/index.mjs +5 -4
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.vue.mjs +347 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.vue.mjs +171 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateFileBar.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateFileBar.vue.mjs +166 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererField.vue.mjs +4 -4
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.vue.mjs +36 -0
- package/dist/es/components/pro-contract-template-designer/src/DesignerPage.vue.mjs +202 -202
- package/dist/es/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.mjs +1591 -1612
- package/dist/es/components/pro-contract-template-designer/src/ProContractTemplateRenderer.vue.mjs +235 -239
- package/dist/es/components/pro-contract-template-designer/src/SigningPlacementLayer.vue.mjs +16 -16
- package/dist/es/components/pro-contract-template-designer/src/composables/use-template-designer.mjs +166 -166
- package/dist/es/components/pro-contract-template-designer/src/composables/use-template-draft-cache.mjs +100 -33
- package/dist/es/components/pro-contract-template-designer/src/composables/use-template-files.mjs +77 -0
- package/dist/es/components/pro-contract-template-designer/src/extensions/word-paste.mjs +23 -23
- package/dist/es/components/pro-contract-template-designer/src/utils/file-tabs.mjs +14 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/template-renderer.mjs +121 -121
- package/dist/es/components/pro-contract-template-designer/src/utils/toolbar-overflow.mjs +19 -0
- package/dist/es/components/pro-contract-template-designer/style/index.css +1 -1
- package/dist/es/index.mjs +23 -21
- package/dist/lib/components/contract-signing-location/index.cjs +1 -1
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocation.vue.cjs +1 -1
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocationCanvas.vue.cjs +1 -1
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocationNavigator.vue.cjs +1 -1
- package/dist/lib/components/contract-signing-location/src/ContractSigningTemplatePage.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningTemplatePage.vue.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/location-rules.cjs +1 -1
- package/dist/lib/components/contract-signing-location/src/template-source.cjs +1 -0
- package/dist/lib/components/contract-signing-location/style/index.css +1 -1
- package/dist/lib/components/index.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/src/constants.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/style/index.css +1 -1
- package/dist/lib/components/pro-contract-template-designer/index.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateFileBar.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateFileBar.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererField.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/DesignerPage.vue.cjs +2 -2
- package/dist/lib/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ProContractTemplateRenderer.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/SigningPlacementLayer.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/composables/use-template-designer.cjs +2 -2
- package/dist/lib/components/pro-contract-template-designer/src/composables/use-template-draft-cache.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/composables/use-template-files.cjs +2 -0
- 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/file-tabs.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/template-renderer.cjs +2 -2
- package/dist/lib/components/pro-contract-template-designer/src/utils/toolbar-overflow.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/style/index.css +1 -1
- package/dist/lib/index.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/theme/pro-contract-signing-flow.css +1 -1
- package/dist/types/components/contract-signing-location/index.d.ts +1 -0
- package/dist/types/components/contract-signing-location/src/ContractSigningLocation.vue.d.ts +3 -1
- package/dist/types/components/contract-signing-location/src/ContractSigningLocationInspector.vue.d.ts +2 -2
- package/dist/types/components/contract-signing-location/src/ContractSigningTemplatePage.vue.d.ts +6 -0
- package/dist/types/components/contract-signing-location/src/location-rules.d.ts +3 -3
- package/dist/types/components/contract-signing-location/src/template-source.d.ts +20 -0
- package/dist/types/components/contract-signing-location/src/types.d.ts +47 -2
- package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.d.ts +19 -3
- package/dist/types/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.d.ts +223 -2
- package/dist/types/components/pro-contract-signing-flow/src/constants.d.ts +15 -0
- package/dist/types/components/pro-contract-signing-flow/src/types.d.ts +12 -0
- package/dist/types/components/pro-contract-template-designer/index.d.ts +1 -0
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.vue.d.ts +103 -0
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.vue.d.ts +48 -0
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplateFileBar.vue.d.ts +231 -0
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplateRendererValidation.vue.d.ts +15 -0
- package/dist/types/components/pro-contract-template-designer/src/DesignerPage.vue.d.ts +1 -1
- package/dist/types/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.d.ts +25 -2
- package/dist/types/components/pro-contract-template-designer/src/SigningPlacementInspector.vue.d.ts +2 -2
- package/dist/types/components/pro-contract-template-designer/src/composables/use-template-designer.d.ts +1 -1
- package/dist/types/components/pro-contract-template-designer/src/composables/use-template-draft-cache.d.ts +29 -1
- package/dist/types/components/pro-contract-template-designer/src/composables/use-template-files.d.ts +24 -0
- package/dist/types/components/pro-contract-template-designer/src/constants.d.ts +2 -2
- package/dist/types/components/pro-contract-template-designer/src/types.d.ts +59 -1
- package/dist/types/components/pro-contract-template-designer/src/utils/file-tabs.d.ts +3 -0
- package/dist/types/components/pro-contract-template-designer/src/utils/toolbar-overflow.d.ts +11 -0
- package/package.json +2 -1
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
import e from "./SigningPlacementInspector.mjs";
|
|
2
|
+
import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as ee, createVNode as o, defineComponent as s, normalizeClass as te, openBlock as c, renderList as l, resolveDynamicComponent as u, toDisplayString as d, unref as f, withCtx as p } from "vue";
|
|
3
|
+
import { Button as m, Empty as h, Input as g, InputNumber as _, Select as v, Switch as y, Tag as ne, Tooltip as b } from "ant-design-vue";
|
|
4
|
+
import { CopyOutlined as re, DeleteOutlined as ie, LeftOutlined as x, RightOutlined as S } from "@ant-design/icons-vue";
|
|
5
|
+
//#region src/components/pro-contract-template-designer/src/ContractTemplateDesignerInspector.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var C = ["aria-label", "aria-expanded"], w = { class: "gd-contract-template-designer__panel-stack" }, T = { class: "gd-contract-template-designer__panel gd-contract-template-designer__panel--tools" }, E = [
|
|
7
|
+
"disabled",
|
|
8
|
+
"onDragstart",
|
|
9
|
+
"onClick"
|
|
10
|
+
], D = {
|
|
11
|
+
class: "gd-contract-template-designer__tool-item-icon",
|
|
12
|
+
"aria-hidden": "true"
|
|
13
|
+
}, O = { class: "gd-contract-template-designer__tool-item-copy" }, k = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "gd-contract-template-designer__panel gd-contract-template-designer__panel--tools"
|
|
16
|
+
}, A = { class: "gd-contract-template-designer__panel-head" }, j = { class: "gd-contract-template-designer__panel-actions" }, M = [
|
|
17
|
+
"disabled",
|
|
18
|
+
"onDragstart",
|
|
19
|
+
"onClick"
|
|
20
|
+
], N = {
|
|
21
|
+
class: "gd-contract-template-designer__tool-item-icon",
|
|
22
|
+
"aria-hidden": "true"
|
|
23
|
+
}, P = { class: "gd-contract-template-designer__signing-tool-copy" }, F = { class: "gd-contract-template-designer__signing-tool-label" }, I = {
|
|
24
|
+
key: 2,
|
|
25
|
+
class: "gd-contract-template-designer__panel gd-contract-template-designer__panel--properties"
|
|
26
|
+
}, L = { class: "gd-contract-template-designer__panel-head" }, R = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "gd-contract-template-designer__panel-actions"
|
|
29
|
+
}, z = { class: "gd-contract-template-designer__form-row" }, B = { class: "gd-contract-template-designer__form-row" }, V = { class: "gd-contract-template-designer__form-row" }, H = { class: "gd-contract-template-designer__form-row" }, U = { class: "gd-contract-template-designer__form-row" }, W = { class: "gd-contract-template-designer__form-row" }, ae = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "gd-contract-template-designer__switch-grid"
|
|
32
|
+
}, G = { class: "gd-contract-template-designer__switch-row" }, K = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "gd-contract-template-designer__form-row is-compact"
|
|
35
|
+
}, q = {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "gd-contract-template-designer__form-row"
|
|
38
|
+
}, J = { class: "gd-contract-template-designer__form-row" }, oe = { class: "gd-contract-template-designer__form-row" }, se = { class: "gd-contract-template-designer__form-row" }, ce = { class: "gd-contract-template-designer__form-row" }, le = { class: "gd-contract-template-designer__switch-grid" }, ue = { class: "gd-contract-template-designer__switch-row" }, de = { class: "gd-contract-template-designer__switch-row" }, fe = { class: "gd-contract-template-designer__switch-row" }, pe = {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: "gd-contract-template-designer__switch-row"
|
|
41
|
+
}, me = { class: "gd-contract-template-designer__form-row" }, he = { class: "gd-contract-template-designer__form-row" }, ge = { class: "gd-contract-template-designer__form-row" }, _e = ["value", "disabled"], Y = { class: "gd-contract-template-designer__form-row" }, ve = ["value", "disabled"], ye = { class: "gd-contract-template-designer__form-row" }, be = ["value", "disabled"], xe = { class: "gd-contract-template-designer__form-row" }, Se = { class: "gd-contract-template-designer__form-row" }, Ce = { class: "gd-contract-template-designer__form-row" }, X = /* @__PURE__ */ s({
|
|
42
|
+
name: "ContractTemplateDesignerInspector",
|
|
43
|
+
__name: "ContractTemplateDesignerInspector",
|
|
44
|
+
props: {
|
|
45
|
+
collapsed: { type: Boolean },
|
|
46
|
+
readonly: { type: Boolean },
|
|
47
|
+
disabled: { type: Boolean },
|
|
48
|
+
showSigningPlacementTools: { type: Boolean },
|
|
49
|
+
bodyControlToolItems: {},
|
|
50
|
+
signingPlacementTools: {},
|
|
51
|
+
signingPlacements: {},
|
|
52
|
+
selectedSigningPlacement: {},
|
|
53
|
+
selectedSigningPlacementPageSize: {},
|
|
54
|
+
selectedVariable: {},
|
|
55
|
+
currentVariableFontFamily: {},
|
|
56
|
+
fontFamilySelectOptions: {},
|
|
57
|
+
textAlignOptions: {},
|
|
58
|
+
borderStyleOptions: {},
|
|
59
|
+
objectFitOptions: {},
|
|
60
|
+
selectedVariableWidthMax: {},
|
|
61
|
+
selectedVariableHeightMax: {},
|
|
62
|
+
minFontSize: {},
|
|
63
|
+
maxFontSize: {},
|
|
64
|
+
defaultMultilineRows: {},
|
|
65
|
+
resolveSigningPlacementTypeIcon: { type: Function },
|
|
66
|
+
signingPlacementTypeLabels: {}
|
|
67
|
+
},
|
|
68
|
+
emits: [
|
|
69
|
+
"toggle",
|
|
70
|
+
"variableDragStart",
|
|
71
|
+
"insertVariable",
|
|
72
|
+
"signingPlacementDragStart",
|
|
73
|
+
"insertSigningPlacement",
|
|
74
|
+
"patchSigningPlacement",
|
|
75
|
+
"duplicateSigningPlacement",
|
|
76
|
+
"removeSigningPlacement",
|
|
77
|
+
"duplicateVariable",
|
|
78
|
+
"removeVariable",
|
|
79
|
+
"patchVariable",
|
|
80
|
+
"patchStyle",
|
|
81
|
+
"patchMultiline",
|
|
82
|
+
"patchRows",
|
|
83
|
+
"patchFontFamily",
|
|
84
|
+
"patchFontSize",
|
|
85
|
+
"patchTextAlign",
|
|
86
|
+
"patchBorderStyle",
|
|
87
|
+
"patchObjectFit"
|
|
88
|
+
],
|
|
89
|
+
setup(s, { emit: X }) {
|
|
90
|
+
let Z = s, Q = X, $ = () => Z.readonly || Z.disabled;
|
|
91
|
+
return (s, X) => (c(), i("aside", { class: te(["gd-contract-template-designer__inspector", { "is-collapsed": Z.collapsed }]) }, [o(f(b), { title: Z.collapsed ? "展开属性栏" : "收起属性栏" }, {
|
|
92
|
+
default: p(() => [a("button", {
|
|
93
|
+
type: "button",
|
|
94
|
+
class: "gd-contract-template-designer__panel-handle",
|
|
95
|
+
"aria-label": Z.collapsed ? "展开属性栏" : "收起属性栏",
|
|
96
|
+
"aria-expanded": !Z.collapsed,
|
|
97
|
+
onClick: X[0] ||= (e) => Q("toggle")
|
|
98
|
+
}, [Z.collapsed ? (c(), n(f(x), {
|
|
99
|
+
key: 0,
|
|
100
|
+
"aria-hidden": "true"
|
|
101
|
+
})) : (c(), n(f(S), {
|
|
102
|
+
key: 1,
|
|
103
|
+
"aria-hidden": "true"
|
|
104
|
+
}))], 8, C)]),
|
|
105
|
+
_: 1
|
|
106
|
+
}, 8, ["title"]), a("div", w, [
|
|
107
|
+
a("section", T, [X[31] ||= a("div", { class: "gd-contract-template-designer__panel-head" }, [a("strong", null, "正文控件"), a("span", null, "拖到正文")], -1), (c(!0), i(t, null, l(Z.bodyControlToolItems, (e) => (c(), i("button", {
|
|
108
|
+
key: e.type,
|
|
109
|
+
type: "button",
|
|
110
|
+
draggable: "true",
|
|
111
|
+
class: "gd-contract-template-designer__tool-item",
|
|
112
|
+
disabled: $(),
|
|
113
|
+
onDragstart: (t) => Q("variableDragStart", t, e.type),
|
|
114
|
+
onClick: (t) => Q("insertVariable", e.type)
|
|
115
|
+
}, [a("span", D, [(c(), n(u(e.icon)))]), a("span", O, [a("span", null, d(e.label), 1), X[30] ||= a("small", null, "模板变量", -1)])], 40, E))), 128))]),
|
|
116
|
+
Z.showSigningPlacementTools ? (c(), i("section", k, [a("div", A, [X[32] ||= a("strong", null, "签署位置", -1), a("div", j, [o(f(ne), null, {
|
|
117
|
+
default: p(() => [ee(d(Z.signingPlacements.length), 1)]),
|
|
118
|
+
_: 1
|
|
119
|
+
})])]), (c(!0), i(t, null, l(Z.signingPlacementTools, (e) => (c(), i("button", {
|
|
120
|
+
key: e.key,
|
|
121
|
+
type: "button",
|
|
122
|
+
draggable: "true",
|
|
123
|
+
class: "gd-contract-template-designer__tool-item gd-contract-template-designer__signing-tool",
|
|
124
|
+
disabled: $(),
|
|
125
|
+
onDragstart: (t) => Q("signingPlacementDragStart", t, e),
|
|
126
|
+
onClick: (t) => Q("insertSigningPlacement", e)
|
|
127
|
+
}, [a("span", N, [(c(), n(u(Z.resolveSigningPlacementTypeIcon(e.type))))]), a("span", P, [a("span", F, d(e.label), 1), a("small", null, d(Z.signingPlacementTypeLabels[e.type]) + " · 页面坐标", 1)])], 40, M))), 128))])) : r("", !0),
|
|
128
|
+
Z.showSigningPlacementTools && Z.selectedSigningPlacement ? (c(), n(e, {
|
|
129
|
+
key: 1,
|
|
130
|
+
placement: Z.selectedSigningPlacement,
|
|
131
|
+
"page-size": Z.selectedSigningPlacementPageSize,
|
|
132
|
+
readonly: Z.readonly,
|
|
133
|
+
disabled: Z.disabled,
|
|
134
|
+
onUpdate: X[1] ||= (e) => Q("patchSigningPlacement", e),
|
|
135
|
+
onDuplicate: X[2] ||= (e) => Q("duplicateSigningPlacement"),
|
|
136
|
+
onRemove: X[3] ||= (e) => Q("removeSigningPlacement")
|
|
137
|
+
}, null, 8, [
|
|
138
|
+
"placement",
|
|
139
|
+
"page-size",
|
|
140
|
+
"readonly",
|
|
141
|
+
"disabled"
|
|
142
|
+
])) : (c(), i("section", I, [a("div", L, [X[33] ||= a("strong", null, "属性", -1), Z.selectedVariable ? (c(), i("div", R, [o(f(b), { title: "复制变量" }, {
|
|
143
|
+
default: p(() => [o(f(m), {
|
|
144
|
+
size: "small",
|
|
145
|
+
type: "primary",
|
|
146
|
+
class: "gd-contract-template-designer__icon-button",
|
|
147
|
+
disabled: $(),
|
|
148
|
+
"aria-label": "复制变量",
|
|
149
|
+
onClick: X[4] ||= (e) => Q("duplicateVariable", Z.selectedVariable)
|
|
150
|
+
}, {
|
|
151
|
+
default: p(() => [o(f(re), { "aria-hidden": "true" })]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["disabled"])]),
|
|
154
|
+
_: 1
|
|
155
|
+
}), o(f(b), { title: "删除变量" }, {
|
|
156
|
+
default: p(() => [o(f(m), {
|
|
157
|
+
danger: "",
|
|
158
|
+
type: "primary",
|
|
159
|
+
size: "small",
|
|
160
|
+
class: "gd-contract-template-designer__icon-button",
|
|
161
|
+
disabled: $(),
|
|
162
|
+
"aria-label": "删除变量",
|
|
163
|
+
onClick: X[5] ||= (e) => Q("removeVariable", Z.selectedVariable)
|
|
164
|
+
}, {
|
|
165
|
+
default: p(() => [o(f(ie), { "aria-hidden": "true" })]),
|
|
166
|
+
_: 1
|
|
167
|
+
}, 8, ["disabled"])]),
|
|
168
|
+
_: 1
|
|
169
|
+
})])) : r("", !0)]), Z.selectedVariable ? (c(), i(t, { key: 1 }, [
|
|
170
|
+
a("label", z, [X[34] ||= a("span", null, "名称", -1), o(f(g), {
|
|
171
|
+
value: Z.selectedVariable.label,
|
|
172
|
+
disabled: $(),
|
|
173
|
+
onChange: X[6] ||= (e) => Q("patchVariable", { label: e.target.value })
|
|
174
|
+
}, null, 8, ["value", "disabled"])]),
|
|
175
|
+
a("label", B, [X[35] ||= a("span", null, "变量标识", -1), o(f(g), {
|
|
176
|
+
value: Z.selectedVariable.key,
|
|
177
|
+
disabled: ""
|
|
178
|
+
}, null, 8, ["value"])]),
|
|
179
|
+
a("label", V, [X[36] ||= a("span", null, "占位文案", -1), o(f(g), {
|
|
180
|
+
value: Z.selectedVariable.placeholder,
|
|
181
|
+
disabled: $(),
|
|
182
|
+
onChange: X[7] ||= (e) => Q("patchVariable", { placeholder: e.target.value })
|
|
183
|
+
}, null, 8, ["value", "disabled"])]),
|
|
184
|
+
a("label", H, [X[37] ||= a("span", null, "默认值", -1), o(f(g), {
|
|
185
|
+
value: Z.selectedVariable.defaultValue,
|
|
186
|
+
disabled: $(),
|
|
187
|
+
onChange: X[8] ||= (e) => Q("patchVariable", { defaultValue: e.target.value })
|
|
188
|
+
}, null, 8, ["value", "disabled"])]),
|
|
189
|
+
a("label", U, [X[38] ||= a("span", null, "宽度", -1), o(f(_), {
|
|
190
|
+
value: Z.selectedVariable.width,
|
|
191
|
+
min: 48,
|
|
192
|
+
max: Z.selectedVariableWidthMax,
|
|
193
|
+
disabled: $(),
|
|
194
|
+
onChange: X[9] ||= (e) => Q("patchVariable", { width: Number(e || 48) })
|
|
195
|
+
}, null, 8, [
|
|
196
|
+
"value",
|
|
197
|
+
"max",
|
|
198
|
+
"disabled"
|
|
199
|
+
])]),
|
|
200
|
+
a("label", W, [X[39] ||= a("span", null, "高度", -1), o(f(_), {
|
|
201
|
+
value: Z.selectedVariable.height,
|
|
202
|
+
min: 24,
|
|
203
|
+
max: Z.selectedVariableHeightMax,
|
|
204
|
+
disabled: $(),
|
|
205
|
+
onChange: X[10] ||= (e) => Q("patchVariable", { height: Number(e || 24) })
|
|
206
|
+
}, null, 8, [
|
|
207
|
+
"value",
|
|
208
|
+
"max",
|
|
209
|
+
"disabled"
|
|
210
|
+
])]),
|
|
211
|
+
Z.selectedVariable.type === "text" ? (c(), i("div", ae, [a("label", G, [X[40] ||= a("span", null, "多行", -1), o(f(y), {
|
|
212
|
+
checked: !!Z.selectedVariable.multiline,
|
|
213
|
+
disabled: $(),
|
|
214
|
+
onChange: X[11] ||= (e) => Q("patchMultiline", !!e)
|
|
215
|
+
}, null, 8, ["checked", "disabled"])]), Z.selectedVariable.multiline ? (c(), i("label", K, [X[41] ||= a("span", null, "行数", -1), o(f(_), {
|
|
216
|
+
value: Z.selectedVariable.rows || Z.defaultMultilineRows,
|
|
217
|
+
min: 2,
|
|
218
|
+
max: 12,
|
|
219
|
+
disabled: $(),
|
|
220
|
+
onChange: X[12] ||= (e) => Q("patchRows", e)
|
|
221
|
+
}, null, 8, ["value", "disabled"])])) : r("", !0)])) : r("", !0),
|
|
222
|
+
Z.selectedVariable.type === "date" ? (c(), i("label", q, [X[42] ||= a("span", null, "日期格式", -1), o(f(g), {
|
|
223
|
+
value: Z.selectedVariable.format,
|
|
224
|
+
disabled: $(),
|
|
225
|
+
onChange: X[13] ||= (e) => Q("patchVariable", { format: e.target.value })
|
|
226
|
+
}, null, 8, ["value", "disabled"])])) : r("", !0),
|
|
227
|
+
Z.selectedVariable.type === "number" ? (c(), i(t, { key: 2 }, [a("label", J, [X[43] ||= a("span", null, "数字格式", -1), o(f(g), {
|
|
228
|
+
value: Z.selectedVariable.format,
|
|
229
|
+
disabled: $(),
|
|
230
|
+
onChange: X[14] ||= (e) => Q("patchVariable", { format: e.target.value })
|
|
231
|
+
}, null, 8, ["value", "disabled"])]), a("label", oe, [X[44] ||= a("span", null, "小数位", -1), o(f(_), {
|
|
232
|
+
value: Z.selectedVariable.precision,
|
|
233
|
+
min: 0,
|
|
234
|
+
max: 6,
|
|
235
|
+
disabled: $(),
|
|
236
|
+
onChange: X[15] ||= (e) => Q("patchVariable", { precision: typeof e == "number" ? e : void 0 })
|
|
237
|
+
}, null, 8, ["value", "disabled"])])], 64)) : r("", !0),
|
|
238
|
+
Z.selectedVariable.type === "checkbox" ? (c(), i(t, { key: 3 }, [a("label", se, [X[45] ||= a("span", null, "勾选文本", -1), o(f(g), {
|
|
239
|
+
value: Z.selectedVariable.checkedText,
|
|
240
|
+
disabled: $(),
|
|
241
|
+
onChange: X[16] ||= (e) => Q("patchVariable", { checkedText: e.target.value })
|
|
242
|
+
}, null, 8, ["value", "disabled"])]), a("label", ce, [X[46] ||= a("span", null, "未选文本", -1), o(f(g), {
|
|
243
|
+
value: Z.selectedVariable.uncheckedText,
|
|
244
|
+
disabled: $(),
|
|
245
|
+
onChange: X[17] ||= (e) => Q("patchVariable", { uncheckedText: e.target.value })
|
|
246
|
+
}, null, 8, ["value", "disabled"])])], 64)) : r("", !0),
|
|
247
|
+
a("div", le, [
|
|
248
|
+
a("label", ue, [X[47] ||= a("span", null, "必填", -1), o(f(y), {
|
|
249
|
+
checked: Z.selectedVariable.required,
|
|
250
|
+
disabled: $(),
|
|
251
|
+
onChange: X[18] ||= (e) => Q("patchVariable", { required: !!e })
|
|
252
|
+
}, null, 8, ["checked", "disabled"])]),
|
|
253
|
+
a("label", de, [X[48] ||= a("span", null, "边框", -1), o(f(y), {
|
|
254
|
+
checked: !!Z.selectedVariable.style?.border,
|
|
255
|
+
disabled: $(),
|
|
256
|
+
onChange: X[19] ||= (e) => Q("patchStyle", { border: !!e })
|
|
257
|
+
}, null, 8, ["checked", "disabled"])]),
|
|
258
|
+
a("label", fe, [X[49] ||= a("span", null, "下划线", -1), o(f(y), {
|
|
259
|
+
checked: !!Z.selectedVariable.style?.underline,
|
|
260
|
+
disabled: $(),
|
|
261
|
+
onChange: X[20] ||= (e) => Q("patchStyle", { underline: !!e })
|
|
262
|
+
}, null, 8, ["checked", "disabled"])]),
|
|
263
|
+
Z.selectedVariable.type === "number" ? (c(), i("label", pe, [X[50] ||= a("span", null, "千分位", -1), o(f(y), {
|
|
264
|
+
checked: Z.selectedVariable.useGrouping !== !1,
|
|
265
|
+
disabled: $(),
|
|
266
|
+
onChange: X[21] ||= (e) => Q("patchVariable", { useGrouping: !!e })
|
|
267
|
+
}, null, 8, ["checked", "disabled"])])) : r("", !0)
|
|
268
|
+
]),
|
|
269
|
+
a("label", me, [X[51] ||= a("span", null, "字体", -1), o(f(v), {
|
|
270
|
+
value: Z.currentVariableFontFamily,
|
|
271
|
+
options: Z.fontFamilySelectOptions,
|
|
272
|
+
disabled: $(),
|
|
273
|
+
onChange: X[22] ||= (e) => Q("patchFontFamily", e)
|
|
274
|
+
}, null, 8, [
|
|
275
|
+
"value",
|
|
276
|
+
"options",
|
|
277
|
+
"disabled"
|
|
278
|
+
])]),
|
|
279
|
+
a("label", he, [X[52] ||= a("span", null, "字号", -1), o(f(_), {
|
|
280
|
+
value: Z.selectedVariable.style?.fontSize,
|
|
281
|
+
min: Z.minFontSize,
|
|
282
|
+
max: Z.maxFontSize,
|
|
283
|
+
disabled: $(),
|
|
284
|
+
onChange: X[23] ||= (e) => Q("patchFontSize", e)
|
|
285
|
+
}, null, 8, [
|
|
286
|
+
"value",
|
|
287
|
+
"min",
|
|
288
|
+
"max",
|
|
289
|
+
"disabled"
|
|
290
|
+
])]),
|
|
291
|
+
a("label", ge, [X[53] ||= a("span", null, "颜色", -1), a("input", {
|
|
292
|
+
type: "color",
|
|
293
|
+
value: Z.selectedVariable.style?.color || "#1f2937",
|
|
294
|
+
disabled: $(),
|
|
295
|
+
onInput: X[24] ||= (e) => Q("patchStyle", { color: e.target.value })
|
|
296
|
+
}, null, 40, _e)]),
|
|
297
|
+
a("label", Y, [X[54] ||= a("span", null, "占位颜色", -1), a("input", {
|
|
298
|
+
type: "color",
|
|
299
|
+
value: Z.selectedVariable.style?.placeholderColor || "#7a818b",
|
|
300
|
+
disabled: $(),
|
|
301
|
+
onInput: X[25] ||= (e) => Q("patchStyle", { placeholderColor: e.target.value })
|
|
302
|
+
}, null, 40, ve)]),
|
|
303
|
+
a("label", ye, [X[55] ||= a("span", null, "线条颜色", -1), a("input", {
|
|
304
|
+
type: "color",
|
|
305
|
+
value: Z.selectedVariable.style?.lineColor || "#565b66",
|
|
306
|
+
disabled: $(),
|
|
307
|
+
onInput: X[26] ||= (e) => Q("patchStyle", { lineColor: e.target.value })
|
|
308
|
+
}, null, 40, be)]),
|
|
309
|
+
a("label", xe, [X[56] ||= a("span", null, "文字对齐", -1), o(f(v), {
|
|
310
|
+
value: Z.selectedVariable.style?.textAlign || "left",
|
|
311
|
+
options: Z.textAlignOptions,
|
|
312
|
+
disabled: $(),
|
|
313
|
+
onChange: X[27] ||= (e) => Q("patchTextAlign", e)
|
|
314
|
+
}, null, 8, [
|
|
315
|
+
"value",
|
|
316
|
+
"options",
|
|
317
|
+
"disabled"
|
|
318
|
+
])]),
|
|
319
|
+
Z.selectedVariable.type === "image" ? (c(), i(t, { key: 4 }, [a("label", Se, [X[57] ||= a("span", null, "边框样式", -1), o(f(v), {
|
|
320
|
+
value: Z.selectedVariable.style?.borderStyle || "dashed",
|
|
321
|
+
options: Z.borderStyleOptions,
|
|
322
|
+
disabled: $(),
|
|
323
|
+
onChange: X[28] ||= (e) => Q("patchBorderStyle", e)
|
|
324
|
+
}, null, 8, [
|
|
325
|
+
"value",
|
|
326
|
+
"options",
|
|
327
|
+
"disabled"
|
|
328
|
+
])]), a("label", Ce, [X[58] ||= a("span", null, "图片适配", -1), o(f(v), {
|
|
329
|
+
value: Z.selectedVariable.style?.objectFit || "contain",
|
|
330
|
+
options: Z.objectFitOptions,
|
|
331
|
+
disabled: $(),
|
|
332
|
+
onChange: X[29] ||= (e) => Q("patchObjectFit", e)
|
|
333
|
+
}, null, 8, [
|
|
334
|
+
"value",
|
|
335
|
+
"options",
|
|
336
|
+
"disabled"
|
|
337
|
+
])])], 64)) : r("", !0)
|
|
338
|
+
], 64)) : (c(), n(f(h), {
|
|
339
|
+
key: 0,
|
|
340
|
+
description: "请选择模板变量",
|
|
341
|
+
image: f(h).PRESENTED_IMAGE_SIMPLE
|
|
342
|
+
}, null, 8, ["image"]))]))
|
|
343
|
+
])], 2));
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
//#endregion
|
|
347
|
+
export { X as default };
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { Fragment as e, createBlock as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, renderList as u, toDisplayString as d, unref as f, withCtx as p } from "vue";
|
|
2
|
+
import { Button as m, Empty as h, Select as g, Tag as _, Tooltip as v } from "ant-design-vue";
|
|
3
|
+
import { CopyOutlined as y, DeleteOutlined as b, LeftOutlined as x, PlusOutlined as S, RightOutlined as C } from "@ant-design/icons-vue";
|
|
4
|
+
//#region src/components/pro-contract-template-designer/src/ContractTemplateDesignerSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var w = ["aria-label", "aria-expanded"], T = { class: "gd-contract-template-designer__panel-stack" }, E = { class: "gd-contract-template-designer__panel gd-contract-template-designer__panel--navigation" }, D = { class: "gd-contract-template-designer__panel-head" }, O = { class: "gd-contract-template-designer__panel-actions" }, k = ["onClick"], A = { class: "gd-contract-template-designer__page-nav-actions" }, j = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "gd-contract-template-designer__page-config"
|
|
8
|
+
}, M = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "gd-contract-template-designer__form-row"
|
|
11
|
+
}, N = { class: "gd-contract-template-designer__page-size-note" }, P = { class: "gd-contract-template-designer__panel gd-contract-template-designer__panel--navigation" }, F = { class: "gd-contract-template-designer__panel-head" }, I = ["onClick"], L = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "gd-contract-template-designer__panel gd-contract-template-designer__panel--navigation"
|
|
14
|
+
}, R = { class: "gd-contract-template-designer__panel-head" }, z = ["onClick"], B = /* @__PURE__ */ s({
|
|
15
|
+
name: "ContractTemplateDesignerSidebar",
|
|
16
|
+
__name: "ContractTemplateDesignerSidebar",
|
|
17
|
+
props: {
|
|
18
|
+
collapsed: { type: Boolean },
|
|
19
|
+
pages: {},
|
|
20
|
+
variables: {},
|
|
21
|
+
signingPlacementNavigationItems: {},
|
|
22
|
+
activePageId: {},
|
|
23
|
+
selectedVariableKey: {},
|
|
24
|
+
selectedSigningPlacementId: {},
|
|
25
|
+
normalizedMaxPages: {},
|
|
26
|
+
pageLimitReached: { type: Boolean },
|
|
27
|
+
selectedPage: {},
|
|
28
|
+
selectedPageSize: {},
|
|
29
|
+
normalizedPageSizeOptions: {},
|
|
30
|
+
pageSizeOptions: {},
|
|
31
|
+
selectedPageSizeOptionValue: {},
|
|
32
|
+
showSigningPlacementTools: { type: Boolean },
|
|
33
|
+
readonly: { type: Boolean },
|
|
34
|
+
getPageSize: { type: Function },
|
|
35
|
+
getPageSigningPlacements: { type: Function }
|
|
36
|
+
},
|
|
37
|
+
emits: [
|
|
38
|
+
"toggle",
|
|
39
|
+
"addPage",
|
|
40
|
+
"activatePage",
|
|
41
|
+
"duplicatePage",
|
|
42
|
+
"removePage",
|
|
43
|
+
"patchPageFormat",
|
|
44
|
+
"scrollToVariable",
|
|
45
|
+
"scrollToSigningPlacement"
|
|
46
|
+
],
|
|
47
|
+
setup(s, { emit: B }) {
|
|
48
|
+
let V = s, H = B;
|
|
49
|
+
return (s, B) => (l(), r("aside", { class: c(["gd-contract-template-designer__sidebar", { "is-collapsed": V.collapsed }]) }, [o(f(v), { title: V.collapsed ? "展开页面栏" : "收起页面栏" }, {
|
|
50
|
+
default: p(() => [i("button", {
|
|
51
|
+
type: "button",
|
|
52
|
+
class: "gd-contract-template-designer__panel-handle",
|
|
53
|
+
"aria-label": V.collapsed ? "展开页面栏" : "收起页面栏",
|
|
54
|
+
"aria-expanded": !V.collapsed,
|
|
55
|
+
onClick: B[0] ||= (e) => H("toggle")
|
|
56
|
+
}, [V.collapsed ? (l(), t(f(C), {
|
|
57
|
+
key: 0,
|
|
58
|
+
"aria-hidden": "true"
|
|
59
|
+
})) : (l(), t(f(x), {
|
|
60
|
+
key: 1,
|
|
61
|
+
"aria-hidden": "true"
|
|
62
|
+
}))], 8, w)]),
|
|
63
|
+
_: 1
|
|
64
|
+
}, 8, ["title"]), i("div", T, [
|
|
65
|
+
i("section", E, [
|
|
66
|
+
i("div", D, [
|
|
67
|
+
B[3] ||= i("strong", null, "页面", -1),
|
|
68
|
+
o(f(_), null, {
|
|
69
|
+
default: p(() => [a(d(V.pages.length) + " / " + d(V.normalizedMaxPages), 1)]),
|
|
70
|
+
_: 1
|
|
71
|
+
}),
|
|
72
|
+
i("div", O, [o(f(v), { title: V.pageLimitReached ? `已达 ${V.normalizedMaxPages} 页上限` : "新增页面" }, {
|
|
73
|
+
default: p(() => [o(f(m), {
|
|
74
|
+
size: "small",
|
|
75
|
+
class: "gd-contract-template-designer__icon-button",
|
|
76
|
+
disabled: V.readonly || V.pageLimitReached,
|
|
77
|
+
"aria-label": "新增页面",
|
|
78
|
+
onClick: B[1] ||= (e) => H("addPage")
|
|
79
|
+
}, {
|
|
80
|
+
default: p(() => [o(f(S), { "aria-hidden": "true" })]),
|
|
81
|
+
_: 1
|
|
82
|
+
}, 8, ["disabled"])]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["title"])])
|
|
85
|
+
]),
|
|
86
|
+
(l(!0), r(e, null, u(V.pages, (e, t) => (l(), r("div", {
|
|
87
|
+
key: e.id,
|
|
88
|
+
class: "gd-contract-template-designer__page-nav-row"
|
|
89
|
+
}, [i("button", {
|
|
90
|
+
type: "button",
|
|
91
|
+
class: c(["gd-contract-template-designer__nav-item", { "is-active": V.activePageId === e.id }]),
|
|
92
|
+
onClick: (t) => H("activatePage", e.id)
|
|
93
|
+
}, [i("span", null, [a(d(e.title || `第 ${t + 1} 页`), 1), i("small", null, d(V.getPageSize(e).label) + " · " + d(V.getPageSigningPlacements(e.id).length) + " 个签署位置", 1)]), o(f(_), null, {
|
|
94
|
+
default: p(() => [a(d(t + 1), 1)]),
|
|
95
|
+
_: 2
|
|
96
|
+
}, 1024)], 10, k), i("div", A, [o(f(v), { title: "复制页面" }, {
|
|
97
|
+
default: p(() => [o(f(m), {
|
|
98
|
+
size: "small",
|
|
99
|
+
class: "gd-contract-template-designer__icon-button",
|
|
100
|
+
disabled: V.readonly || V.pageLimitReached,
|
|
101
|
+
"aria-label": "复制页面",
|
|
102
|
+
onClick: (t) => H("duplicatePage", e)
|
|
103
|
+
}, {
|
|
104
|
+
default: p(() => [o(f(y), { "aria-hidden": "true" })]),
|
|
105
|
+
_: 1
|
|
106
|
+
}, 8, ["disabled", "onClick"])]),
|
|
107
|
+
_: 2
|
|
108
|
+
}, 1024), o(f(v), { title: "删除页面" }, {
|
|
109
|
+
default: p(() => [o(f(m), {
|
|
110
|
+
size: "small",
|
|
111
|
+
danger: "",
|
|
112
|
+
class: "gd-contract-template-designer__icon-button",
|
|
113
|
+
disabled: V.readonly || V.pages.length <= 1,
|
|
114
|
+
"aria-label": "删除页面",
|
|
115
|
+
onClick: (t) => H("removePage", e)
|
|
116
|
+
}, {
|
|
117
|
+
default: p(() => [o(f(b), { "aria-hidden": "true" })]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["disabled", "onClick"])]),
|
|
120
|
+
_: 2
|
|
121
|
+
}, 1024)])]))), 128)),
|
|
122
|
+
V.selectedPage ? (l(), r("div", j, [V.normalizedPageSizeOptions.length > 1 ? (l(), r("label", M, [B[4] ||= i("span", null, "页面格式", -1), o(f(g), {
|
|
123
|
+
value: V.selectedPageSizeOptionValue,
|
|
124
|
+
options: V.pageSizeOptions,
|
|
125
|
+
disabled: V.readonly,
|
|
126
|
+
onChange: B[2] ||= (e) => H("patchPageFormat", e)
|
|
127
|
+
}, null, 8, [
|
|
128
|
+
"value",
|
|
129
|
+
"options",
|
|
130
|
+
"disabled"
|
|
131
|
+
])])) : n("", !0), i("div", N, d(V.selectedPageSize.width) + " × " + d(V.selectedPageSize.height), 1)])) : n("", !0)
|
|
132
|
+
]),
|
|
133
|
+
i("section", P, [
|
|
134
|
+
i("div", F, [B[5] ||= i("strong", null, "控件参数", -1), o(f(_), null, {
|
|
135
|
+
default: p(() => [a(d(V.variables.length), 1)]),
|
|
136
|
+
_: 1
|
|
137
|
+
})]),
|
|
138
|
+
V.variables.length ? n("", !0) : (l(), t(f(h), {
|
|
139
|
+
key: 0,
|
|
140
|
+
description: "暂无正文控件",
|
|
141
|
+
image: f(h).PRESENTED_IMAGE_SIMPLE
|
|
142
|
+
}, null, 8, ["image"])),
|
|
143
|
+
(l(!0), r(e, null, u(V.variables, (e) => (l(), r("button", {
|
|
144
|
+
key: e.id,
|
|
145
|
+
type: "button",
|
|
146
|
+
class: c(["gd-contract-template-designer__nav-item", { "is-active": V.selectedVariableKey === e.key }]),
|
|
147
|
+
onClick: (t) => H("scrollToVariable", e)
|
|
148
|
+
}, [i("span", null, d(e.label), 1), i("small", null, d(e.type || "text") + " · " + d(e.key), 1)], 10, I))), 128))
|
|
149
|
+
]),
|
|
150
|
+
V.showSigningPlacementTools ? (l(), r("section", L, [
|
|
151
|
+
i("div", R, [B[6] ||= i("strong", null, "签署位置", -1), o(f(_), null, {
|
|
152
|
+
default: p(() => [a(d(V.signingPlacementNavigationItems.length), 1)]),
|
|
153
|
+
_: 1
|
|
154
|
+
})]),
|
|
155
|
+
V.signingPlacementNavigationItems.length ? n("", !0) : (l(), t(f(h), {
|
|
156
|
+
key: 0,
|
|
157
|
+
description: "暂无签署位置",
|
|
158
|
+
image: f(h).PRESENTED_IMAGE_SIMPLE
|
|
159
|
+
}, null, 8, ["image"])),
|
|
160
|
+
(l(!0), r(e, null, u(V.signingPlacementNavigationItems, (e) => (l(), r("button", {
|
|
161
|
+
key: e.placement.id,
|
|
162
|
+
type: "button",
|
|
163
|
+
class: c(["gd-contract-template-designer__nav-item", { "is-active": V.selectedSigningPlacementId === e.placement.id }]),
|
|
164
|
+
onClick: (t) => H("scrollToSigningPlacement", e.placement.id)
|
|
165
|
+
}, [i("span", null, d(e.label), 1), i("small", null, d(e.detail) + " · x" + d(e.placement.x) + " y" + d(e.placement.y), 1)], 10, z))), 128))
|
|
166
|
+
])) : n("", !0)
|
|
167
|
+
])], 2));
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
//#endregion
|
|
171
|
+
export { B as default };
|