bp-aicc-editor 1.0.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/LICENSE +21 -0
- package/README.EN.md +129 -0
- package/README.md +133 -0
- package/lib/accounting-BdNhlOvc.js +150 -0
- package/lib/arrow-right-ZYLcC6uE.js +24 -0
- package/lib/atlas-Dqnvg58g.js +27 -0
- package/lib/blueprint-7yYCtfFC.js +28 -0
- package/lib/border-box-BoVwKoLu.js +226 -0
- package/lib/browser_upgrade/chrome.png +0 -0
- package/lib/browser_upgrade/edge.png +0 -0
- package/lib/browser_upgrade/index.css +49 -0
- package/lib/btn-group-aVjYHP70.js +125 -0
- package/lib/btn-return-KOGYYoba.js +37 -0
- package/lib/button-base-CUvUtpPb.js +42 -0
- package/lib/cache-Cs2VtqJi.js +43 -0
- package/lib/capitalize-CJ7zhOsJ.js +46 -0
- package/lib/carousel-table-hn7W3uoD.js +163 -0
- package/lib/children-manager-CdxNQ6Oe.js +457 -0
- package/lib/circle-DdqdosvQ.js +10 -0
- package/lib/config-6kqKwjzS.js +783 -0
- package/lib/config-B1XQHD5S.js +110 -0
- package/lib/config-BqncRAOx.js +167 -0
- package/lib/config-CSUhHF5L.js +10 -0
- package/lib/config-CXGTRw74.js +743 -0
- package/lib/config-CjMfBTu9.js +75 -0
- package/lib/config-Cm22p_rY.js +40 -0
- package/lib/config-D3z2R85K.js +373 -0
- package/lib/config-D846M2Gv.js +813 -0
- package/lib/config-DHGpQmWe.js +695 -0
- package/lib/config-DJJlRxrQ.js +510 -0
- package/lib/config-DOtfpO43.js +64 -0
- package/lib/config-DS3NxQuJ.js +427 -0
- package/lib/config-DSw2PMKb.js +528 -0
- package/lib/config-DwVaqCyN.js +369 -0
- package/lib/config-Ec_zeOmT.js +10 -0
- package/lib/config-V6sABZH7.js +152 -0
- package/lib/config-XBAZDWTe.js +739 -0
- package/lib/config-ZZyCB-UG.js +210 -0
- package/lib/config-efyvf2nq.js +799 -0
- package/lib/context-Bl7hm9BN.js +5 -0
- package/lib/context-DXwgwPsi.js +5 -0
- package/lib/dashedLine-CJojzUDO.js +23 -0
- package/lib/data-CnP9NKXT.js +7 -0
- package/lib/data-field-DL4ZWkqD.js +17 -0
- package/lib/data-source-9Lgf-grI.js +78 -0
- package/lib/datav-BNctF3aF.js +89 -0
- package/lib/dater-BmOxJMnU.js +34 -0
- package/lib/db-rnJHM_q3.js +22 -0
- package/lib/decoration-ByPSHV8P.js +408 -0
- package/lib/delete-074QJWYN.js +112 -0
- package/lib/dialogBox-D3bwyGqh.js +21 -0
- package/lib/dialogSquare-C4KW-cRk.js +43 -0
- package/lib/dottedLine-CUbyTDpF.js +23 -0
- package/lib/doubleHeadedArrow-ph10_VNV.js +31 -0
- package/lib/ds-api-editor-uAArtQJI.js +115 -0
- package/lib/ds-global-editor-Cp80r2NN.js +121 -0
- package/lib/ds-sql-editor-ijeSFlXA.js +338 -0
- package/lib/ds-static-editor-CyEO_12Q.js +21592 -0
- package/lib/eightPointedStar-iyNwBma5.js +12 -0
- package/lib/empty-panel-C6Y6WgQ5.js +49 -0
- package/lib/event-DDj_G-ix.js +130 -0
- package/lib/favicon.svg +14 -0
- package/lib/filter-panel-BXIsc124.js +573 -0
- package/lib/fivePointedStar-CG-mQPKI.js +12 -0
- package/lib/fourPointedStar-Cjt9WMZi.js +12 -0
- package/lib/full-screen-By33Ud_D.js +34 -0
- package/lib/group-Bw2QYoqv.js +24 -0
- package/lib/heart-BS_j9yRq.js +4 -0
- package/lib/hexagon-BfE9vpeG.js +12 -0
- package/lib/hexagonalStar-CDF1zFRy.js +12 -0
- package/lib/icon/add.png +0 -0
- package/lib/icon/align-center.png +0 -0
- package/lib/icon/amplify.png +0 -0
- package/lib/icon/audio.png +0 -0
- package/lib/icon/bottomUp.png +0 -0
- package/lib/icon/carouselList.png +0 -0
- package/lib/icon/characters.png +0 -0
- package/lib/icon/delete.png +0 -0
- package/lib/icon/delete1.png +0 -0
- package/lib/icon/edit.png +0 -0
- package/lib/icon/file.png +0 -0
- package/lib/icon/graphic.png +0 -0
- package/lib/icon/icon/357/274/217/346/267/273/345/212/240 /347/231/275/350/211/262 1@2x.png +0 -0
- package/lib/icon/icon/357/274/217/346/267/273/345/212/240@2x.png +0 -0
- package/lib/icon/img.png +0 -0
- package/lib/icon/lock.png +0 -0
- package/lib/icon/multiline.png +0 -0
- package/lib/icon/navigate.png +0 -0
- package/lib/icon/next.png +0 -0
- package/lib/icon/pictureScrolling.png +0 -0
- package/lib/icon/previous.png +0 -0
- package/lib/icon/reduce.png +0 -0
- package/lib/icon/return.png +0 -0
- package/lib/icon/save.png +0 -0
- package/lib/icon/scBg.png +0 -0
- package/lib/icon/scrollText.png +0 -0
- package/lib/icon/search.png +0 -0
- package/lib/icon/share.png +0 -0
- package/lib/icon/topUp.png +0 -0
- package/lib/icon/upload.png +0 -0
- package/lib/icon/video.png +0 -0
- package/lib/icon/view.png +0 -0
- package/lib/icon//345/244/215/351/200/211/357/274/217/346/234/252/351/200/211@2x.png +0 -0
- package/lib/icon//345/244/215/351/200/211/357/274/217/351/200/211/344/270/255@2x(1).png +0 -0
- package/lib/icon//345/244/215/351/200/211/357/274/217/351/200/211/344/270/255@2x.png +0 -0
- package/lib/iking-utils.es-Ba74AedH.js +13822 -0
- package/lib/index-B76XXskt.js +225 -0
- package/lib/index-B9lRx-kg.js +85 -0
- package/lib/index-B9nm6Rgv.js +142 -0
- package/lib/index-BAN9B0Xt.js +176 -0
- package/lib/index-BH6iU67J.js +209 -0
- package/lib/index-BSeD4M2U.js +988 -0
- package/lib/index-BbUCT3bG.js +66 -0
- package/lib/index-Bjs1bW2W.js +6291 -0
- package/lib/index-Bzc3Ri47.js +472 -0
- package/lib/index-C2ezj_lw.js +19 -0
- package/lib/index-C8Ni1uMd.js +435 -0
- package/lib/index-CCCckUnm.js +19 -0
- package/lib/index-CGni9huM.js +339 -0
- package/lib/index-CI6xXcR0.js +47 -0
- package/lib/index-CTo4-44e.js +2013 -0
- package/lib/index-CX6tHoIu.js +208 -0
- package/lib/index-Cb06BDgi.js +48 -0
- package/lib/index-CuapA_N-.js +586 -0
- package/lib/index-D0Kh7c2E.js +142 -0
- package/lib/index-D8pryMlS.js +228 -0
- package/lib/index-DGErpAp1.js +245 -0
- package/lib/index-DHe-NWes.js +415 -0
- package/lib/index-DL5IJLR7.js +156 -0
- package/lib/index-DN_9YBN_.js +957 -0
- package/lib/index-DOYvASbD.js +121 -0
- package/lib/index-D_ojDCWy.js +52 -0
- package/lib/index-DcmokBSP.js +109 -0
- package/lib/index-Dm1le54W.js +226 -0
- package/lib/index-Dpg5we85.js +127 -0
- package/lib/index-IeVkGUKs.js +146 -0
- package/lib/index-VSfx-dDV.js +87 -0
- package/lib/index-_Ya8vNUb.js +79 -0
- package/lib/index.es.js +5 -0
- package/lib/index.umd.js +99 -0
- package/lib/kebabCase-CO6lu_Gu.js +250 -0
- package/lib/keyMap-wL6Ma83z.js +91 -0
- package/lib/layer-setting-panel-C86c3fN0.js +486 -0
- package/lib/main-graph-BjOO_j7Y.js +43 -0
- package/lib/marquee-B6qUH-Kc.js +49 -0
- package/lib/message-carousel-ToN1yK7K.js +34 -0
- package/lib/multi-layout-config-DWBvxtbQ.js +312 -0
- package/lib/number-title-flop-DUzpC1bo.js +112 -0
- package/lib/orderBy--EIhNVJu.js +388 -0
- package/lib/page-config-DT1C_kDM.js +5598 -0
- package/lib/page-table-U2Zv9dzo.js +169 -0
- package/lib/paragraph-D7CutH53.js +51 -0
- package/lib/pentagon-6sVh023X.js +12 -0
- package/lib/plus-DjE6l8qH.js +24 -0
- package/lib/rank-board-Cgj8rzLd.js +121 -0
- package/lib/rectangle-BQXP06pk.js +10 -0
- package/lib/roundedRectangle-DnEbzLph.js +10 -0
- package/lib/scroll-article-BC3pQhTm.js +130 -0
- package/lib/scroll-rank-BsbvGjIy.js +191 -0
- package/lib/scroll-rank-bar-BfceYhB-.js +189 -0
- package/lib/scroll-table-BTbnMVFS.js +303 -0
- package/lib/search-DkzwOoCx.js +24 -0
- package/lib/select-options-BTOkre7F.js +338 -0
- package/lib/setting-panel-CMKniQhs.js +397 -0
- package/lib/source-panel-ClGOmTVn.js +557 -0
- package/lib/straightLine-DPMRNFNz.js +23 -0
- package/lib/style.css +1 -0
- package/lib/table-bar-ciEVdDFG.js +117 -0
- package/lib/transform-layer.vue_vue_type_style_index_0_scoped_04cdae36_lang-6ixEI9oF.js +593 -0
- package/lib/triangle-NkNGdZCH.js +15 -0
- package/lib/use-border-BUij5e0F.js +29 -0
- package/lib/use-data-center-Cj9FGyCg.js +31 -0
- package/lib/use-series-Cmnkexlu.js +18 -0
- package/lib/use-swiper-B17v1vT0.js +12 -0
- package/lib/vue-util-oCdnLsQn.js +6 -0
- package/lib/warning-DYO0amRd.js +25 -0
- package/package.json +154 -0
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
import { NRadioGroup as z, NRadioButton as O, NButton as W, NIcon as j } from "naive-ui";
|
|
2
|
+
import { ElTabPane as q, ElTabs as Z } from "element-plus";
|
|
3
|
+
import { defineComponent as D, toRef as H, resolveComponent as t, createBlock as s, openBlock as f, withCtx as d, createVNode as e, createTextVNode as V, createElementBlock as A, Fragment as P, renderList as B, createCommentVNode as K, createElementVNode as J } from "vue";
|
|
4
|
+
import { n as L, E as M, j as Q, e as X, k as Y, l as x, m as ee, o as le, p as oe, g as ne, q as ae } from "./select-options-BTOkre7F.js";
|
|
5
|
+
import { u as de } from "./use-border-BUij5e0F.js";
|
|
6
|
+
import { k as ue, p as te, _ as ie } from "./index-Bjs1bW2W.js";
|
|
7
|
+
import { u as fe } from "./use-series-Cmnkexlu.js";
|
|
8
|
+
import { ScrollTableSeries as re } from "./scroll-table-BTbnMVFS.js";
|
|
9
|
+
const me = D({
|
|
10
|
+
name: "VScrollTableProp",
|
|
11
|
+
components: {
|
|
12
|
+
ElTabs: Z,
|
|
13
|
+
ElTabPane: q
|
|
14
|
+
},
|
|
15
|
+
props: {
|
|
16
|
+
com: {
|
|
17
|
+
type: Object,
|
|
18
|
+
required: !0
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(o) {
|
|
22
|
+
const n = H(o.com, "config"), { activeTab: G, handleAddSeriesItem: T, handRemoveSeriesItem: C } = fe(n, re);
|
|
23
|
+
return {
|
|
24
|
+
config: n,
|
|
25
|
+
activeTab: G,
|
|
26
|
+
handleAddSeriesItem: T,
|
|
27
|
+
handRemoveSeriesItem: C,
|
|
28
|
+
handAddEvent: (v) => {
|
|
29
|
+
n.value.series[v].config.event.push({
|
|
30
|
+
static: !0,
|
|
31
|
+
use: !0,
|
|
32
|
+
key1: "",
|
|
33
|
+
operator: "",
|
|
34
|
+
key2: "",
|
|
35
|
+
value: "",
|
|
36
|
+
config: {
|
|
37
|
+
...te,
|
|
38
|
+
icon: "",
|
|
39
|
+
layout: "lr",
|
|
40
|
+
// lr rl
|
|
41
|
+
...de(),
|
|
42
|
+
background: ue({ isCss: !0 })
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
},
|
|
46
|
+
operators: ae,
|
|
47
|
+
fontFamilys: ne,
|
|
48
|
+
cssLayoutlr: oe,
|
|
49
|
+
cssLayoutLabel: le,
|
|
50
|
+
hAligns: L,
|
|
51
|
+
vAligns: ee,
|
|
52
|
+
orients: x,
|
|
53
|
+
waperEffects: Y,
|
|
54
|
+
lineStyles: X,
|
|
55
|
+
topShowTypes: Q,
|
|
56
|
+
GenerateType: M,
|
|
57
|
+
aligns: L
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
function se(o, n, G, T, C, N) {
|
|
62
|
+
const p = O, v = z, u = t("g-field"), r = t("g-input-number"), $ = t("chartGenerateConfig"), m = t("g-switch"), h = t("GBorderConfig"), y = t("g-field-collapse"), c = t("GChartFontConfig"), b = t("ElTabPane"), w = t("g-color-picker"), F = t("GSwiperConfig"), S = t("ElTabs"), g = t("g-input"), E = t("g-select"), I = t("IconPlus"), R = j, _ = W;
|
|
63
|
+
return o.config.generate.configType === o.GenerateType.基础 ? (f(), s($, {
|
|
64
|
+
key: 0,
|
|
65
|
+
config: o.config,
|
|
66
|
+
"chart-type": "none"
|
|
67
|
+
}, {
|
|
68
|
+
default: d(() => [
|
|
69
|
+
e(u, {
|
|
70
|
+
level: 2,
|
|
71
|
+
"label-span": "6",
|
|
72
|
+
label: "大小"
|
|
73
|
+
}, {
|
|
74
|
+
default: d(() => [
|
|
75
|
+
e(v, {
|
|
76
|
+
value: o.config.generate.size,
|
|
77
|
+
"onUpdate:value": n[0] || (n[0] = (l) => o.config.generate.size = l),
|
|
78
|
+
size: "small"
|
|
79
|
+
}, {
|
|
80
|
+
default: d(() => [
|
|
81
|
+
e(p, { value: "small" }, {
|
|
82
|
+
default: d(() => [...n[17] || (n[17] = [
|
|
83
|
+
V(" 小 ", -1)
|
|
84
|
+
])]),
|
|
85
|
+
_: 1
|
|
86
|
+
}),
|
|
87
|
+
e(p, { value: "medium" }, {
|
|
88
|
+
default: d(() => [...n[18] || (n[18] = [
|
|
89
|
+
V(" 默认 ", -1)
|
|
90
|
+
])]),
|
|
91
|
+
_: 1
|
|
92
|
+
}),
|
|
93
|
+
e(p, { value: "large" }, {
|
|
94
|
+
default: d(() => [...n[19] || (n[19] = [
|
|
95
|
+
V(" 大 ", -1)
|
|
96
|
+
])]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 8, ["value"])
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
}),
|
|
105
|
+
e(u, {
|
|
106
|
+
level: 2,
|
|
107
|
+
"label-span": "6",
|
|
108
|
+
label: "间距"
|
|
109
|
+
}, {
|
|
110
|
+
default: d(() => [
|
|
111
|
+
e(r, {
|
|
112
|
+
modelValue: o.config.generate.headerGap,
|
|
113
|
+
"onUpdate:modelValue": n[1] || (n[1] = (l) => o.config.generate.headerGap = l),
|
|
114
|
+
label: "表头与表格间距",
|
|
115
|
+
inline: "",
|
|
116
|
+
suffix: "px"
|
|
117
|
+
}, null, 8, ["modelValue"]),
|
|
118
|
+
e(r, {
|
|
119
|
+
modelValue: o.config.generate.rowWap,
|
|
120
|
+
"onUpdate:modelValue": n[2] || (n[2] = (l) => o.config.generate.rowWap = l),
|
|
121
|
+
label: "表格行间距",
|
|
122
|
+
inline: "",
|
|
123
|
+
suffix: "px"
|
|
124
|
+
}, null, 8, ["modelValue"])
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}),
|
|
128
|
+
e(u, {
|
|
129
|
+
level: 2,
|
|
130
|
+
"label-span": "6",
|
|
131
|
+
label: "每页行数"
|
|
132
|
+
}, {
|
|
133
|
+
default: d(() => [
|
|
134
|
+
e(r, {
|
|
135
|
+
modelValue: o.config.swiper.row,
|
|
136
|
+
"onUpdate:modelValue": n[3] || (n[3] = (l) => o.config.swiper.row = l),
|
|
137
|
+
label: "每页显示表格行数",
|
|
138
|
+
suffix: "行"
|
|
139
|
+
}, null, 8, ["modelValue"])
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
})
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
}, 8, ["config"])) : o.config.generate.configType === o.GenerateType.全量 ? (f(), s(S, {
|
|
146
|
+
key: "cardleft",
|
|
147
|
+
"tab-position": "left",
|
|
148
|
+
type: "card"
|
|
149
|
+
}, {
|
|
150
|
+
default: d(() => [
|
|
151
|
+
e(b, {
|
|
152
|
+
label: "全局",
|
|
153
|
+
tab: "global"
|
|
154
|
+
}, {
|
|
155
|
+
default: d(() => [
|
|
156
|
+
e(y, {
|
|
157
|
+
modelValue: o.config.generate.border.show,
|
|
158
|
+
"onUpdate:modelValue": n[7] || (n[7] = (l) => o.config.generate.border.show = l),
|
|
159
|
+
toggle: "",
|
|
160
|
+
level: 2,
|
|
161
|
+
label: "边框"
|
|
162
|
+
}, {
|
|
163
|
+
default: d(() => [
|
|
164
|
+
e(u, {
|
|
165
|
+
level: 2,
|
|
166
|
+
label: "边框位置"
|
|
167
|
+
}, {
|
|
168
|
+
default: d(() => [
|
|
169
|
+
e(m, {
|
|
170
|
+
modelValue: o.config.generate.single.out,
|
|
171
|
+
"onUpdate:modelValue": n[4] || (n[4] = (l) => o.config.generate.single.out = l),
|
|
172
|
+
inline: "",
|
|
173
|
+
label: "外边框"
|
|
174
|
+
}, null, 8, ["modelValue"]),
|
|
175
|
+
e(m, {
|
|
176
|
+
modelValue: o.config.generate.single.column,
|
|
177
|
+
"onUpdate:modelValue": n[5] || (n[5] = (l) => o.config.generate.single.column = l),
|
|
178
|
+
inline: "",
|
|
179
|
+
label: "行边框"
|
|
180
|
+
}, null, 8, ["modelValue"]),
|
|
181
|
+
e(m, {
|
|
182
|
+
modelValue: o.config.generate.single.line,
|
|
183
|
+
"onUpdate:modelValue": n[6] || (n[6] = (l) => o.config.generate.single.line = l),
|
|
184
|
+
inline: "",
|
|
185
|
+
label: "列边框"
|
|
186
|
+
}, null, 8, ["modelValue"])
|
|
187
|
+
]),
|
|
188
|
+
_: 1
|
|
189
|
+
}),
|
|
190
|
+
e(h, {
|
|
191
|
+
config: o.config.generate.border
|
|
192
|
+
}, null, 8, ["config"])
|
|
193
|
+
]),
|
|
194
|
+
_: 1
|
|
195
|
+
}, 8, ["modelValue"]),
|
|
196
|
+
e(y, {
|
|
197
|
+
modelValue: o.config.order.show,
|
|
198
|
+
"onUpdate:modelValue": n[11] || (n[11] = (l) => o.config.order.show = l),
|
|
199
|
+
toggle: "",
|
|
200
|
+
level: 2,
|
|
201
|
+
label: "序号"
|
|
202
|
+
}, {
|
|
203
|
+
default: d(() => [
|
|
204
|
+
e(u, {
|
|
205
|
+
level: 2,
|
|
206
|
+
label: "自动补0"
|
|
207
|
+
}, {
|
|
208
|
+
default: d(() => [
|
|
209
|
+
e(m, {
|
|
210
|
+
modelValue: o.config.order.addZero,
|
|
211
|
+
"onUpdate:modelValue": n[8] || (n[8] = (l) => o.config.order.addZero = l)
|
|
212
|
+
}, null, 8, ["modelValue"])
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
}),
|
|
216
|
+
e(u, {
|
|
217
|
+
level: 2,
|
|
218
|
+
label: "尺寸"
|
|
219
|
+
}, {
|
|
220
|
+
default: d(() => [
|
|
221
|
+
e(r, {
|
|
222
|
+
modelValue: o.config.order.width,
|
|
223
|
+
"onUpdate:modelValue": n[9] || (n[9] = (l) => o.config.order.width = l),
|
|
224
|
+
suffix: "px",
|
|
225
|
+
inline: "",
|
|
226
|
+
label: "宽"
|
|
227
|
+
}, null, 8, ["modelValue"]),
|
|
228
|
+
e(r, {
|
|
229
|
+
modelValue: o.config.order.height,
|
|
230
|
+
"onUpdate:modelValue": n[10] || (n[10] = (l) => o.config.order.height = l),
|
|
231
|
+
suffix: "px",
|
|
232
|
+
inline: "",
|
|
233
|
+
label: "高"
|
|
234
|
+
}, null, 8, ["modelValue"])
|
|
235
|
+
]),
|
|
236
|
+
_: 1
|
|
237
|
+
}),
|
|
238
|
+
e(u, {
|
|
239
|
+
level: 2,
|
|
240
|
+
label: "字体"
|
|
241
|
+
}, {
|
|
242
|
+
default: d(() => [
|
|
243
|
+
e(c, {
|
|
244
|
+
config: o.config.order,
|
|
245
|
+
"no-line-height": "",
|
|
246
|
+
overflow: !1
|
|
247
|
+
}, null, 8, ["config"])
|
|
248
|
+
]),
|
|
249
|
+
_: 1
|
|
250
|
+
})
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
}, 8, ["modelValue"])
|
|
254
|
+
]),
|
|
255
|
+
_: 1
|
|
256
|
+
}),
|
|
257
|
+
e(b, {
|
|
258
|
+
label: "表头",
|
|
259
|
+
tab: "header"
|
|
260
|
+
}, {
|
|
261
|
+
default: d(() => [
|
|
262
|
+
e(u, {
|
|
263
|
+
level: 2,
|
|
264
|
+
label: "高度"
|
|
265
|
+
}, {
|
|
266
|
+
default: d(() => [
|
|
267
|
+
e(r, {
|
|
268
|
+
modelValue: o.config.header.height,
|
|
269
|
+
"onUpdate:modelValue": n[12] || (n[12] = (l) => o.config.header.height = l),
|
|
270
|
+
suffix: "px"
|
|
271
|
+
}, null, 8, ["modelValue"])
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
}),
|
|
275
|
+
e(u, {
|
|
276
|
+
level: 2,
|
|
277
|
+
label: "背景色"
|
|
278
|
+
}, {
|
|
279
|
+
default: d(() => [
|
|
280
|
+
e(w, {
|
|
281
|
+
modelValue: o.config.header.background,
|
|
282
|
+
"onUpdate:modelValue": n[13] || (n[13] = (l) => o.config.header.background = l)
|
|
283
|
+
}, null, 8, ["modelValue"])
|
|
284
|
+
]),
|
|
285
|
+
_: 1
|
|
286
|
+
}),
|
|
287
|
+
e(u, {
|
|
288
|
+
level: 2,
|
|
289
|
+
label: "表头"
|
|
290
|
+
}, {
|
|
291
|
+
default: d(() => [
|
|
292
|
+
e(c, {
|
|
293
|
+
label: "表头",
|
|
294
|
+
overflow: !1,
|
|
295
|
+
"no-line-height": "",
|
|
296
|
+
config: o.config.header.font
|
|
297
|
+
}, null, 8, ["config"])
|
|
298
|
+
]),
|
|
299
|
+
_: 1
|
|
300
|
+
})
|
|
301
|
+
]),
|
|
302
|
+
_: 1
|
|
303
|
+
}),
|
|
304
|
+
e(b, {
|
|
305
|
+
label: "奇数行",
|
|
306
|
+
tab: "odd"
|
|
307
|
+
}, {
|
|
308
|
+
default: d(() => [
|
|
309
|
+
e(u, {
|
|
310
|
+
level: 2,
|
|
311
|
+
label: "背景色"
|
|
312
|
+
}, {
|
|
313
|
+
default: d(() => [
|
|
314
|
+
e(w, {
|
|
315
|
+
modelValue: o.config.odd.background,
|
|
316
|
+
"onUpdate:modelValue": n[14] || (n[14] = (l) => o.config.odd.background = l)
|
|
317
|
+
}, null, 8, ["modelValue"])
|
|
318
|
+
]),
|
|
319
|
+
_: 1
|
|
320
|
+
}),
|
|
321
|
+
e(u, {
|
|
322
|
+
level: 2,
|
|
323
|
+
label: "行属性"
|
|
324
|
+
}, {
|
|
325
|
+
default: d(() => [
|
|
326
|
+
e(c, {
|
|
327
|
+
label: "行属性",
|
|
328
|
+
overflow: !1,
|
|
329
|
+
"no-line-height": "",
|
|
330
|
+
config: o.config.odd.font
|
|
331
|
+
}, null, 8, ["config"])
|
|
332
|
+
]),
|
|
333
|
+
_: 1
|
|
334
|
+
})
|
|
335
|
+
]),
|
|
336
|
+
_: 1
|
|
337
|
+
}),
|
|
338
|
+
e(b, {
|
|
339
|
+
label: "偶数行",
|
|
340
|
+
tab: "even"
|
|
341
|
+
}, {
|
|
342
|
+
default: d(() => [
|
|
343
|
+
e(u, {
|
|
344
|
+
level: 2,
|
|
345
|
+
label: "背景色"
|
|
346
|
+
}, {
|
|
347
|
+
default: d(() => [
|
|
348
|
+
e(w, {
|
|
349
|
+
modelValue: o.config.even.background,
|
|
350
|
+
"onUpdate:modelValue": n[15] || (n[15] = (l) => o.config.even.background = l)
|
|
351
|
+
}, null, 8, ["modelValue"])
|
|
352
|
+
]),
|
|
353
|
+
_: 1
|
|
354
|
+
}),
|
|
355
|
+
e(u, {
|
|
356
|
+
level: 2,
|
|
357
|
+
label: "行属性"
|
|
358
|
+
}, {
|
|
359
|
+
default: d(() => [
|
|
360
|
+
e(c, {
|
|
361
|
+
label: "行属性",
|
|
362
|
+
overflow: !1,
|
|
363
|
+
"no-line-height": "",
|
|
364
|
+
config: o.config.even.font
|
|
365
|
+
}, null, 8, ["config"])
|
|
366
|
+
]),
|
|
367
|
+
_: 1
|
|
368
|
+
})
|
|
369
|
+
]),
|
|
370
|
+
_: 1
|
|
371
|
+
}),
|
|
372
|
+
e(b, {
|
|
373
|
+
label: "轮播",
|
|
374
|
+
tab: "swiper"
|
|
375
|
+
}, {
|
|
376
|
+
default: d(() => [
|
|
377
|
+
e(F, {
|
|
378
|
+
config: o.config.swiper,
|
|
379
|
+
"disable-col": ""
|
|
380
|
+
}, null, 8, ["config"])
|
|
381
|
+
]),
|
|
382
|
+
_: 1
|
|
383
|
+
})
|
|
384
|
+
]),
|
|
385
|
+
_: 1
|
|
386
|
+
})) : (f(), s(S, {
|
|
387
|
+
key: "series",
|
|
388
|
+
modelValue: o.activeTab,
|
|
389
|
+
"onUpdate:modelValue": n[16] || (n[16] = (l) => o.activeTab = l),
|
|
390
|
+
"tab-position": "left",
|
|
391
|
+
type: "card",
|
|
392
|
+
addable: "",
|
|
393
|
+
closable: o.config.series.length > 1,
|
|
394
|
+
class: "iking-v-custom-series",
|
|
395
|
+
onTabRemove: o.handRemoveSeriesItem,
|
|
396
|
+
onTabAdd: o.handleAddSeriesItem
|
|
397
|
+
}, {
|
|
398
|
+
default: d(() => [
|
|
399
|
+
(f(!0), A(P, null, B(o.config.series, (l, U) => (f(), s(b, {
|
|
400
|
+
key: U,
|
|
401
|
+
label: `系列${U + 1}`,
|
|
402
|
+
tab: `系列${U + 1}`,
|
|
403
|
+
name: U
|
|
404
|
+
}, {
|
|
405
|
+
default: d(() => [
|
|
406
|
+
e(u, {
|
|
407
|
+
level: 2,
|
|
408
|
+
label: "列名"
|
|
409
|
+
}, {
|
|
410
|
+
default: d(() => [
|
|
411
|
+
e(g, {
|
|
412
|
+
modelValue: l.name,
|
|
413
|
+
"onUpdate:modelValue": (a) => l.name = a
|
|
414
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
415
|
+
]),
|
|
416
|
+
_: 2
|
|
417
|
+
}, 1024),
|
|
418
|
+
e(u, {
|
|
419
|
+
level: 2,
|
|
420
|
+
label: "列Key值"
|
|
421
|
+
}, {
|
|
422
|
+
default: d(() => [
|
|
423
|
+
e(g, {
|
|
424
|
+
modelValue: l.config.field,
|
|
425
|
+
"onUpdate:modelValue": (a) => l.config.field = a
|
|
426
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
427
|
+
]),
|
|
428
|
+
_: 2
|
|
429
|
+
}, 1024),
|
|
430
|
+
e(u, {
|
|
431
|
+
level: 2,
|
|
432
|
+
label: "对齐方式"
|
|
433
|
+
}, {
|
|
434
|
+
default: d(() => [
|
|
435
|
+
e(E, {
|
|
436
|
+
modelValue: l.config.align,
|
|
437
|
+
"onUpdate:modelValue": (a) => l.config.align = a,
|
|
438
|
+
data: o.aligns
|
|
439
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data"])
|
|
440
|
+
]),
|
|
441
|
+
_: 2
|
|
442
|
+
}, 1024),
|
|
443
|
+
e(u, {
|
|
444
|
+
level: 2,
|
|
445
|
+
label: "列类别"
|
|
446
|
+
}, {
|
|
447
|
+
default: d(() => [
|
|
448
|
+
e(v, {
|
|
449
|
+
value: l.config.type,
|
|
450
|
+
"onUpdate:value": (a) => l.config.type = a,
|
|
451
|
+
size: "small"
|
|
452
|
+
}, {
|
|
453
|
+
default: d(() => [
|
|
454
|
+
e(p, { value: "text" }, {
|
|
455
|
+
default: d(() => [...n[20] || (n[20] = [
|
|
456
|
+
V(" 文本 ", -1)
|
|
457
|
+
])]),
|
|
458
|
+
_: 1
|
|
459
|
+
}),
|
|
460
|
+
e(p, { value: "number" }, {
|
|
461
|
+
default: d(() => [...n[21] || (n[21] = [
|
|
462
|
+
V(" 数值 ", -1)
|
|
463
|
+
])]),
|
|
464
|
+
_: 1
|
|
465
|
+
}),
|
|
466
|
+
e(p, { value: "date" }, {
|
|
467
|
+
default: d(() => [...n[22] || (n[22] = [
|
|
468
|
+
V(" 日期 ", -1)
|
|
469
|
+
])]),
|
|
470
|
+
_: 1
|
|
471
|
+
})
|
|
472
|
+
]),
|
|
473
|
+
_: 1
|
|
474
|
+
}, 8, ["value", "onUpdate:value"])
|
|
475
|
+
]),
|
|
476
|
+
_: 2
|
|
477
|
+
}, 1024),
|
|
478
|
+
l.config.type === "number" ? (f(), s(u, {
|
|
479
|
+
key: 0,
|
|
480
|
+
level: 2,
|
|
481
|
+
label: "数值"
|
|
482
|
+
}, {
|
|
483
|
+
default: d(() => [
|
|
484
|
+
e(m, {
|
|
485
|
+
modelValue: l.config.number.animation.active,
|
|
486
|
+
"onUpdate:modelValue": (a) => l.config.number.animation.active = a,
|
|
487
|
+
label: "数值动画"
|
|
488
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
489
|
+
e(m, {
|
|
490
|
+
modelValue: l.config.number.animation.showSeparator,
|
|
491
|
+
"onUpdate:modelValue": (a) => l.config.number.animation.showSeparator = a,
|
|
492
|
+
label: "分隔符"
|
|
493
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
494
|
+
e(r, {
|
|
495
|
+
modelValue: l.config.number.animation.precision,
|
|
496
|
+
"onUpdate:modelValue": (a) => l.config.number.animation.precision = a,
|
|
497
|
+
label: "精度",
|
|
498
|
+
inline: "",
|
|
499
|
+
suffix: "",
|
|
500
|
+
min: 0
|
|
501
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
502
|
+
e(r, {
|
|
503
|
+
modelValue: l.config.number.animation.duration,
|
|
504
|
+
"onUpdate:modelValue": (a) => l.config.number.animation.duration = a,
|
|
505
|
+
label: "动画时长",
|
|
506
|
+
inline: "",
|
|
507
|
+
suffix: "ms",
|
|
508
|
+
min: 0,
|
|
509
|
+
step: 500
|
|
510
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
511
|
+
e(m, {
|
|
512
|
+
modelValue: l.config.number.animation.loop,
|
|
513
|
+
"onUpdate:modelValue": (a) => l.config.number.animation.loop = a,
|
|
514
|
+
label: "循环播放"
|
|
515
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
516
|
+
e(r, {
|
|
517
|
+
modelValue: l.config.number.animation.duration,
|
|
518
|
+
"onUpdate:modelValue": (a) => l.config.number.animation.duration = a,
|
|
519
|
+
label: "循环间隔",
|
|
520
|
+
inline: "",
|
|
521
|
+
suffix: "ms",
|
|
522
|
+
min: 0,
|
|
523
|
+
step: 500
|
|
524
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
525
|
+
e(g, {
|
|
526
|
+
modelValue: l.config.number.prefix,
|
|
527
|
+
"onUpdate:modelValue": (a) => l.config.number.prefix = a,
|
|
528
|
+
inline: "",
|
|
529
|
+
label: "前缀"
|
|
530
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
531
|
+
e(g, {
|
|
532
|
+
modelValue: l.config.number.suffix,
|
|
533
|
+
"onUpdate:modelValue": (a) => l.config.number.suffix = a,
|
|
534
|
+
inline: "",
|
|
535
|
+
label: "后缀"
|
|
536
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
537
|
+
]),
|
|
538
|
+
_: 2
|
|
539
|
+
}, 1024)) : l.config.type === "date" ? (f(), s(u, {
|
|
540
|
+
key: 1,
|
|
541
|
+
level: 2,
|
|
542
|
+
label: "日期"
|
|
543
|
+
}, {
|
|
544
|
+
default: d(() => [
|
|
545
|
+
e(g, {
|
|
546
|
+
modelValue: l.config.date.format,
|
|
547
|
+
"onUpdate:modelValue": (a) => l.config.date.format = a,
|
|
548
|
+
label: "日期格式化"
|
|
549
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
550
|
+
]),
|
|
551
|
+
_: 2
|
|
552
|
+
}, 1024)) : K("", !0),
|
|
553
|
+
e(y, {
|
|
554
|
+
modelValue: l.config.width.auto,
|
|
555
|
+
"onUpdate:modelValue": (a) => l.config.width.auto = a,
|
|
556
|
+
toggle: "",
|
|
557
|
+
level: 2,
|
|
558
|
+
label: "手动设置列宽"
|
|
559
|
+
}, {
|
|
560
|
+
default: d(() => [
|
|
561
|
+
e(u, {
|
|
562
|
+
level: 2,
|
|
563
|
+
label: "列类别"
|
|
564
|
+
}, {
|
|
565
|
+
default: d(() => [
|
|
566
|
+
e(r, {
|
|
567
|
+
modelValue: l.config.width.value,
|
|
568
|
+
"onUpdate:modelValue": (a) => l.config.width.value = a,
|
|
569
|
+
suffix: l.config.width.isPercent ? "%" : "px",
|
|
570
|
+
label: "宽度值",
|
|
571
|
+
inline: ""
|
|
572
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "suffix"]),
|
|
573
|
+
e(m, {
|
|
574
|
+
modelValue: l.config.width.isPercent,
|
|
575
|
+
"onUpdate:modelValue": (a) => l.config.width.isPercent = a,
|
|
576
|
+
label: "百分比模式"
|
|
577
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
578
|
+
]),
|
|
579
|
+
_: 2
|
|
580
|
+
}, 1024)
|
|
581
|
+
]),
|
|
582
|
+
_: 2
|
|
583
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"]),
|
|
584
|
+
(f(!0), A(P, null, B(l.config.event, (a, k) => (f(), s(y, {
|
|
585
|
+
key: k,
|
|
586
|
+
modelValue: a.use,
|
|
587
|
+
"onUpdate:modelValue": (i) => a.use = i,
|
|
588
|
+
toggle: "",
|
|
589
|
+
"label-span": "5",
|
|
590
|
+
features: ["remove"],
|
|
591
|
+
list: l.config.event,
|
|
592
|
+
"d-index": k,
|
|
593
|
+
tooltip: "满足此条件的列表项,将按照此条件配置的样式展示",
|
|
594
|
+
label: `样式条件${k + 1}`
|
|
595
|
+
}, {
|
|
596
|
+
default: d(() => [
|
|
597
|
+
e(u, {
|
|
598
|
+
level: 2,
|
|
599
|
+
label: "条件配置",
|
|
600
|
+
"label-span": "5"
|
|
601
|
+
}, {
|
|
602
|
+
default: d(() => [
|
|
603
|
+
e(g, {
|
|
604
|
+
modelValue: a.key1,
|
|
605
|
+
"onUpdate:modelValue": (i) => a.key1 = i,
|
|
606
|
+
inline: "",
|
|
607
|
+
label: "字段名"
|
|
608
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
609
|
+
e(E, {
|
|
610
|
+
modelValue: a.operator,
|
|
611
|
+
"onUpdate:modelValue": (i) => a.operator = i,
|
|
612
|
+
data: o.operators,
|
|
613
|
+
inline: "",
|
|
614
|
+
label: "运算符"
|
|
615
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data"]),
|
|
616
|
+
e(m, {
|
|
617
|
+
modelValue: a.static,
|
|
618
|
+
"onUpdate:modelValue": (i) => a.static = i,
|
|
619
|
+
label: "是否与固定值比较"
|
|
620
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
621
|
+
a.static ? (f(), s(g, {
|
|
622
|
+
key: 1,
|
|
623
|
+
modelValue: a.value,
|
|
624
|
+
"onUpdate:modelValue": (i) => a.value = i,
|
|
625
|
+
inline: "",
|
|
626
|
+
label: "输入要比较的值"
|
|
627
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (f(), s(g, {
|
|
628
|
+
key: 0,
|
|
629
|
+
modelValue: a.key2,
|
|
630
|
+
"onUpdate:modelValue": (i) => a.key2 = i,
|
|
631
|
+
inline: "",
|
|
632
|
+
label: "比较字段名"
|
|
633
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
634
|
+
]),
|
|
635
|
+
_: 2
|
|
636
|
+
}, 1024),
|
|
637
|
+
e(u, {
|
|
638
|
+
level: 2,
|
|
639
|
+
label: "条件样式",
|
|
640
|
+
"label-span": "5"
|
|
641
|
+
}, {
|
|
642
|
+
default: d(() => [
|
|
643
|
+
e(w, {
|
|
644
|
+
modelValue: a.config.background,
|
|
645
|
+
"onUpdate:modelValue": (i) => a.config.background = i,
|
|
646
|
+
label: "背景色"
|
|
647
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
648
|
+
e(c, {
|
|
649
|
+
overflow: !1,
|
|
650
|
+
"no-line-height": "",
|
|
651
|
+
config: a.config
|
|
652
|
+
}, null, 8, ["config"])
|
|
653
|
+
]),
|
|
654
|
+
_: 2
|
|
655
|
+
}, 1024),
|
|
656
|
+
e(h, {
|
|
657
|
+
span: 5,
|
|
658
|
+
config: a.config
|
|
659
|
+
}, null, 8, ["config"])
|
|
660
|
+
]),
|
|
661
|
+
_: 2
|
|
662
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "list", "d-index", "label"]))), 128)),
|
|
663
|
+
J("div", null, [
|
|
664
|
+
e(_, {
|
|
665
|
+
focusable: !1,
|
|
666
|
+
type: "default",
|
|
667
|
+
size: "tiny",
|
|
668
|
+
style: { width: "100%" },
|
|
669
|
+
onClick: (a) => o.handAddEvent(U)
|
|
670
|
+
}, {
|
|
671
|
+
icon: d(() => [
|
|
672
|
+
e(R, { size: 12 }, {
|
|
673
|
+
default: d(() => [
|
|
674
|
+
e(I)
|
|
675
|
+
]),
|
|
676
|
+
_: 1
|
|
677
|
+
})
|
|
678
|
+
]),
|
|
679
|
+
default: d(() => [
|
|
680
|
+
n[23] || (n[23] = V(" 新建样式条件 ", -1))
|
|
681
|
+
]),
|
|
682
|
+
_: 1
|
|
683
|
+
}, 8, ["onClick"])
|
|
684
|
+
])
|
|
685
|
+
]),
|
|
686
|
+
_: 2
|
|
687
|
+
}, 1032, ["label", "tab", "name"]))), 128))
|
|
688
|
+
]),
|
|
689
|
+
_: 1
|
|
690
|
+
}, 8, ["modelValue", "closable", "onTabRemove", "onTabAdd"]));
|
|
691
|
+
}
|
|
692
|
+
const we = /* @__PURE__ */ ie(me, [["render", se]]);
|
|
693
|
+
export {
|
|
694
|
+
we as default
|
|
695
|
+
};
|