hlrender 0.0.239 → 0.0.241
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/_image-4162224b.js +28 -0
- package/{_pdf-305e5a7a.js → _pdf-68d429e2.js} +14 -14
- package/{_txt-cecb5427.js → _txt-cae17b86.js} +12 -12
- package/_unsupport-b8307858.js +35 -0
- package/{_video-21c5b64e.js → _video-bc981b0b.js} +8 -8
- package/affix-widget-206f82ff.js +47 -0
- package/alert-widget-48ac2ae0.js +47 -0
- package/{anchor-link-widget-919ac0ee.js → anchor-link-widget-dae98704.js} +1 -1
- package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-c6ab731a.js +36 -0
- package/anchor-widget-2394a0ac.js +60 -0
- package/{auto-complete-widget-6f0de1bb.js → auto-complete-widget-b1949ba1.js} +30 -30
- package/avatar-widget-ea2f5842.js +41 -0
- package/backtop-widget-33a9c281.js +47 -0
- package/badge-widget-38519bd6.js +53 -0
- package/{barcode-widget-7fc44f8c.js → barcode-widget-f6e052a2.js} +14 -14
- package/baseImp-cf2a056f.js +12245 -0
- package/{breadcrumb-widget-b09a45d7.js → breadcrumb-widget-3b25f641.js} +24 -21
- package/button-widget-9f8ba534.js +57 -0
- package/cache-widget-5d7386cb.js +53 -0
- package/{card-widget-feb6e34a.js → card-widget-738fe0dc.js} +33 -33
- package/{carousel-widget-3ff30326.js → carousel-widget-4d37e1f3.js} +21 -21
- package/{cascader-widget-4fef75a8.js → cascader-widget-371d58f6.js} +59 -59
- package/{chart-widget-fbdce0db.js → chart-widget-5d31b504.js} +17 -17
- package/checkbox-widget-0072c102.js +113 -0
- package/collapse-widget-485a4451.js +94 -0
- package/color-bae04003.js +59 -0
- package/color-picker-widget-df648695.js +56 -0
- package/{cont-cell-widget-56a58b71.js → cont-cell-widget-293cee86.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-738afb13.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-08981f90.js} +17 -17
- package/{cont-widget-5de61a58.js → cont-widget-677d012d.js} +7 -7
- package/content-wrapper-44a5887d.js +16 -0
- package/content-wrapper.vue_vue_type_script_setup_true_lang-4ab88b8e.js +38 -0
- package/countdown-widget-8d5636b8.js +53 -0
- package/{date-picker-range-widget-9327cc4b.js → date-picker-range-widget-623b1c04.js} +25 -25
- package/{date-picker-widget-27335405.js → date-picker-widget-989230ea.js} +33 -33
- package/default-slot-widget-184375d4.js +26 -0
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8444de52.js +84 -0
- package/{descriptions-widget-abf88edf.js → descriptions-widget-8a41c70b.js} +22 -22
- package/{dialog-bb4f1f51.js → dialog-8ecdabe5.js} +2 -2
- package/{dialog-widget-affeb26a.js → dialog-widget-fdf07199.js} +16 -16
- package/divider-widget-480eec10.js +47 -0
- package/drag-wrapper-8ba8d26a.js +256 -0
- package/{drawer-widget-1153b308.js → drawer-widget-f14cbeb1.js} +16 -16
- package/{dropdown-widget-07078c8b.js → dropdown-widget-5d0414ec.js} +25 -25
- package/empty-widget-35365e0e.js +47 -0
- package/{enum-type-d9039fa1.js → enum-type-05ccb088.js} +331 -108
- package/{enum-type-6aec5442.js → enum-type-35e3b2e0.js} +143 -109
- package/{expression-f3029af0.js → expression-a880b354.js} +13 -12
- package/feedback-widget-4a439150.js +26 -0
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b04a1d28.js +90 -0
- package/{fieldobj-51ea9fd4.js → fieldobj-4d9ab4ce.js} +1 -1
- package/{file-upload-widget-3d529a72.js → file-upload-widget-407f3b6f.js} +107 -107
- package/form-item-wrapper-002adf08.js +86 -0
- package/{form-widget-c7aadc35.js → form-widget-7308fc3f.js} +28 -28
- package/{grid-col-widget-31f034df.js → grid-col-widget-a8dd7ebe.js} +1 -1
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e76e6d58.js +41 -0
- package/{grid-widget-16efe87a.js → grid-widget-8e32f92f.js} +5 -5
- package/hcard-widget-c4671309.js +94 -0
- package/{html-text-widget-689e7370.js → html-text-widget-d40831f7.js} +15 -15
- package/icon-3ea488c1.js +177 -0
- package/icon-widget-6c27fd6b.js +62 -0
- package/iframe-widget-13ff4929.js +113 -0
- package/{image-widget-bb79778f.js → image-widget-ae7fcd72.js} +18 -18
- package/index-31e1760d.js +19 -0
- package/index-658d06a4.js +46 -0
- package/{index-def6ce54.js → index-67481ab5.js} +44 -44
- package/{index-ddd23411.js → index-6bcfdc22.js} +1668 -1678
- package/index-7d31ccfb.js +65 -0
- package/{index-752aa342.js → index-847ef399.js} +4821 -3681
- package/{input-number-widget-9b8da52e.js → input-number-widget-37c014bb.js} +19 -19
- package/input-tag-widget-bcc1bd3e.js +71 -0
- package/{input-widget-b68feb0b.js → input-widget-ebed702a.js} +25 -25
- package/{label-wrapper-70f516f3.js → label-wrapper-7e85c84b.js} +6 -6
- package/label-wrapper.vue_vue_type_style_index_0_lang-57a4c003.js +63 -0
- package/link-widget-ea2a7cc9.js +65 -0
- package/{ltable-col-widget-c05a0f75.js → ltable-col-widget-91f26266.js} +1 -1
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-bbe5ac06.js +278 -0
- package/{ltable-widget-0e14fcb3.js → ltable-widget-111c9922.js} +11 -11
- package/mention-widget-b66ac807.js +82 -0
- package/{menu-widget-92944b29.js → menu-widget-46659645.js} +40 -40
- package/model-widget-093857b9.js +155 -0
- package/{multirow-ef17557e.js → multirow-50d903a8.js} +7 -7
- package/multirow-widget-d550d2ee.js +723 -0
- package/package.json +1 -1
- package/{pagination-widget-ba41b179.js → pagination-widget-4998f804.js} +23 -23
- package/{picture-upload-widget-b3233664.js → picture-upload-widget-3102164b.js} +35 -35
- package/{progress-widget-bf490d7f.js → progress-widget-514e315d.js} +31 -31
- package/{qrcode-widget-8bdc470f.js → qrcode-widget-e331f58f.js} +18 -18
- package/radio-widget-df89345f.js +87 -0
- package/{range-widget-3de3d728.js → range-widget-b972e54c.js} +21 -21
- package/rate-widget-88301af3.js +56 -0
- package/render.es.js +1433 -1468
- package/render.style.css +1 -1
- package/render.umd.js +456 -454
- package/result-widget-623c24cf.js +67 -0
- package/rich-editor-widget-e8ab8b01.js +74 -0
- package/{router-widget-6e7a7727.js → router-widget-2daa2c82.js} +24 -24
- package/segmented-widget-caf0f51a.js +89 -0
- package/select-widget-469026c5.js +369 -0
- package/{sfc-bad92d5d.js → sfc-8b7e2487.js} +9 -9
- package/{sfcview-086204d9.js → sfcview-addac91a.js} +8 -8
- package/share-field-6fc223d3.js +812 -0
- package/{share-file-75ca566e.js → share-file-7432d2c5.js} +10 -10
- package/skeleton-widget-ff72bbaa.js +79 -0
- package/skeletonItem-widget-0a4f3d54.js +51 -0
- package/slider-widget-01359ef3.js +62 -0
- package/slot-1605ee49.js +329 -0
- package/space-widget-d8c7642f.js +103 -0
- package/splitter-widget-169878d5.js +96 -0
- package/{static-text-widget-612ba08c.js → static-text-widget-1dd47867.js} +15 -15
- package/statistic-widget-9b3c6dfa.js +47 -0
- package/{steps-widget-fc0e9312.js → steps-widget-b872e743.js} +30 -30
- package/{subMenu-widget-48ff5cef.js → subMenu-widget-1cb5e243.js} +9 -9
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-abf7e791.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5c50e597.js} +17 -17
- package/switch-widget-45e34bfb.js +56 -0
- package/{tab-pane-widget-4993afd4.js → tab-pane-widget-2b27921e.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7dac41b9.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-671795c3.js} +7 -7
- package/table-col-widget-13763429.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-c25508ef.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b2343af4.js} +13 -13
- package/{table-widget-45308b11.js → table-widget-dd36a5c4.js} +95 -95
- package/tabs-widget-5616ead0.js +81 -0
- package/tag-widget-1a56a996.js +47 -0
- package/text-widget-75a360ea.js +47 -0
- package/{textarea-widget-56c9a88b.js → textarea-widget-c15e1c51.js} +20 -20
- package/time-picker-range-widget-96a2df74.js +81 -0
- package/time-picker-widget-15e10aba.js +64 -0
- package/{time-select-widget-213d9cfb.js → time-select-widget-a42a3207.js} +25 -25
- package/{tmpl-widget-d65666b0.js → tmpl-widget-929ad1e9.js} +34 -33
- package/tooltip-widget-57b89602.js +95 -0
- package/tour-widget-8376d229.js +148 -0
- package/transfer-widget-fb2462c7.js +81 -0
- package/tree-select-widget-bbb86849.js +149 -0
- package/tree-widget-3549ff5c.js +90 -0
- package/{uuid-b62f2c76.js → uuid-68f25733.js} +1 -1
- package/{verifycode-widget-e1513c4e.js → verifycode-widget-e7e45e49.js} +14 -14
- package/vertical-progress-widget-c44812e6.js +52 -0
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js +282 -0
- package/{wrapper-widget-595773d5.js → wrapper-widget-b06bb4ff.js} +10 -10
- package/_image-fab8c8e2.js +0 -28
- package/_unsupport-d50224e3.js +0 -35
- package/affix-widget-164ebcf1.js +0 -39
- package/alert-widget-ea994a6a.js +0 -39
- package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-7df7e7c1.js +0 -35
- package/anchor-widget-1556fb56.js +0 -57
- package/avatar-widget-34662b7b.js +0 -39
- package/backtop-widget-b04b2989.js +0 -39
- package/badge-widget-607a83ae.js +0 -45
- package/baseImp-5c466035.js +0 -11761
- package/button-widget-007795bc.js +0 -49
- package/cache-widget-66e15ef6.js +0 -53
- package/checkbox-widget-37286554.js +0 -115
- package/collapse-widget-4f728579.js +0 -91
- package/color-picker-widget-035a1437.js +0 -56
- package/content-wrapper-d0fd2c66.js +0 -16
- package/content-wrapper.vue_vue_type_script_setup_true_lang-528a43b4.js +0 -38
- package/default-slot-widget-4667aa3c.js +0 -26
- package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1c3154df.js +0 -77
- package/divider-widget-d5aa4c7a.js +0 -39
- package/drag-wrapper-fd7ed8e5.js +0 -255
- package/empty-widget-17ff5dd3.js +0 -39
- package/feedback-widget-dd3c9912.js +0 -26
- package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ae8fd77d.js +0 -82
- package/form-item-wrapper-3e85105e.js +0 -86
- package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-4cbbbbd6.js +0 -41
- package/icon-a0e0cdb0.js +0 -119
- package/icon-widget-90609a93.js +0 -62
- package/iframe-widget-2d5c6840.js +0 -116
- package/index-56592f6b.js +0 -65
- package/index-ae1f26e5.js +0 -46
- package/label-wrapper.vue_vue_type_style_index_0_lang-ab1f665c.js +0 -63
- package/link-widget-97bdd33e.js +0 -57
- package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d5d6bb28.js +0 -278
- package/model-widget-f56225e4.js +0 -122
- package/multirow-widget-c2be3852.js +0 -723
- package/radio-widget-d4050344.js +0 -85
- package/rate-widget-f4cbbd7c.js +0 -56
- package/result-widget-b0610176.js +0 -67
- package/rich-editor-widget-cc2076b1.js +0 -74
- package/select-widget-b6ddbbf4.js +0 -346
- package/share-field-6ba09f55.js +0 -806
- package/slider-widget-9ce64cd4.js +0 -62
- package/slot-92796df0.js +0 -327
- package/switch-widget-163f9c41.js +0 -56
- package/table-col-widget-b7d259ad.js +0 -22
- package/tabs-widget-98776656.js +0 -81
- package/tag-widget-b93765a0.js +0 -39
- package/text-widget-8911c99b.js +0 -39
- package/time-picker-range-widget-4617e19a.js +0 -81
- package/time-picker-widget-9b6354f8.js +0 -64
- package/tree-select-widget-d9fb0b80.js +0 -147
- package/tree-widget-1d696deb.js +0 -90
- package/vertical-progress-widget-fa6b14ff.js +0 -52
- package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c068c9f3.js +0 -282
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ref as oe, reactive as z, onMounted as ce, nextTick as
|
|
1
|
+
import { ref as oe, reactive as z, onMounted as ce, nextTick as xe, defineComponent as fe, resolveComponent as Oe, resolveDirective as Se, openBlock as ne, createBlock as ae, mergeProps as G, unref as v, withCtx as ie, withDirectives as je, toHandlers as Ee, withModifiers as Me, createVNode as Re } from "vue";
|
|
2
2
|
import { I as ye } from "./widget-base-8eece820.js";
|
|
3
|
-
import { D as Ae } from "./drag-wrapper-
|
|
4
|
-
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
5
|
-
import { w as K, a as le, b as y, f as L, i as $e } from "./expression-
|
|
6
|
-
import { u as ke } from "./icon-
|
|
7
|
-
import { u as Ie, a as Be } from "./multirow-
|
|
8
|
-
import { b as He, G as de, M as re, e as Te, d as se, N as qe, A as ze, g as Ge } from "./enum-type-
|
|
9
|
-
import { $ as Ke, B as Ue } from "./baseImp-
|
|
10
|
-
import { f as Je } from "./index-
|
|
11
|
-
import { b as Qe, a as Xe, u as Ye } from "./share-field-
|
|
12
|
-
import { W as Ze } from "./enum-type-
|
|
13
|
-
import { F as et } from "./slot-
|
|
3
|
+
import { D as Ae } from "./drag-wrapper-8ba8d26a.js";
|
|
4
|
+
import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
5
|
+
import { w as K, a as le, b as y, f as L, i as $e } from "./expression-a880b354.js";
|
|
6
|
+
import { u as ke } from "./icon-3ea488c1.js";
|
|
7
|
+
import { u as Ie, a as Be } from "./multirow-50d903a8.js";
|
|
8
|
+
import { b as He, G as de, M as re, e as Te, d as se, N as qe, A as ze, g as Ge } from "./enum-type-05ccb088.js";
|
|
9
|
+
import { $ as Ke, B as Ue } from "./baseImp-cf2a056f.js";
|
|
10
|
+
import { f as Je } from "./index-847ef399.js";
|
|
11
|
+
import { b as Qe, a as Xe, u as Ye } from "./share-field-6fc223d3.js";
|
|
12
|
+
import { W as Ze } from "./enum-type-35e3b2e0.js";
|
|
13
|
+
import { F as et } from "./slot-1605ee49.js";
|
|
14
14
|
import { _ as tt } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
function ot(r) {
|
|
16
|
-
const
|
|
16
|
+
const x = r.widget, f = r.designer, F = f == null ? void 0 : f.pageConfig, b = r == null ? void 0 : r.widgetList, O = oe({}), A = {}, { fieldModel: P, fieldName: $, fieldEditor: u, attrs: S, events: _, hasFieldOptions: j, exposed: w, fieldObj: E, watchOption: g, propResultOpt: h, extendAttrs: D } = Qe(r), { off$: W, on$: V, emit$: M, broadcast: N } = Be();
|
|
17
17
|
var { instance: U } = ke();
|
|
18
|
-
const { setAllRefList: ue } = Xe(
|
|
18
|
+
const { setAllRefList: ue } = Xe(O.value), J = { designState: r == null ? void 0 : r.designState, pageConfig: F, globalConfig: h == null ? void 0 : h.globalConfig }, { formModel: k, setData: me, getData: R, clearData: Q } = Ie(b, { ...J }), { handleFunc: I } = Ye({ options: F }, J), B = z({}), pe = () => {
|
|
19
19
|
W(L.fieldChange), V(L.fieldChange, (e) => {
|
|
20
20
|
Fe(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), w == null || w.setValue(k), _e(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
|
|
21
21
|
});
|
|
@@ -33,7 +33,7 @@ function ot(r) {
|
|
|
33
33
|
trigger: n.trigger,
|
|
34
34
|
validator: n.validator
|
|
35
35
|
}));
|
|
36
|
-
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }),
|
|
36
|
+
Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), S.value.rules = B;
|
|
37
37
|
});
|
|
38
38
|
}, H = oe(!1), T = z({}), q = z({}), X = (e) => {
|
|
39
39
|
re(q), se(q, e);
|
|
@@ -57,7 +57,7 @@ function ot(r) {
|
|
|
57
57
|
var t;
|
|
58
58
|
(t = u.value) == null || t.clearValidate(e);
|
|
59
59
|
}, Le = () => {
|
|
60
|
-
ue(Ze.resetField),
|
|
60
|
+
ue(Ze.resetField), xe(() => {
|
|
61
61
|
Ve();
|
|
62
62
|
});
|
|
63
63
|
}, Y = (e, t) => {
|
|
@@ -104,9 +104,9 @@ function ot(r) {
|
|
|
104
104
|
}
|
|
105
105
|
}), n);
|
|
106
106
|
}, Z = (e, t = !0) => {
|
|
107
|
-
if (!
|
|
107
|
+
if (!x)
|
|
108
108
|
return;
|
|
109
|
-
var o = We(e, [
|
|
109
|
+
var o = We(e, [x]);
|
|
110
110
|
me(o, t);
|
|
111
111
|
const n = ["refList", "widgetRefList"];
|
|
112
112
|
N(K.ContainerWidget, le.setFormData, e, U, n), N(K.FieldWidget, le.setFormData, e, U, n);
|
|
@@ -128,13 +128,13 @@ function ot(r) {
|
|
|
128
128
|
}
|
|
129
129
|
n(a, !1);
|
|
130
130
|
});
|
|
131
|
-
}, l =
|
|
131
|
+
}, l = j(y.editDataSource), c = j(y.newDataSource);
|
|
132
132
|
l ? s() : c && d();
|
|
133
133
|
});
|
|
134
134
|
return De(), ce(() => {
|
|
135
135
|
He(), we();
|
|
136
136
|
}), {
|
|
137
|
-
widgetRefList:
|
|
137
|
+
widgetRefList: O,
|
|
138
138
|
allWidgetRefList: A,
|
|
139
139
|
fieldEditor: u,
|
|
140
140
|
formModel: k,
|
|
@@ -142,7 +142,7 @@ function ot(r) {
|
|
|
142
142
|
widgetList: b,
|
|
143
143
|
fieldModel: P,
|
|
144
144
|
fieldName: $,
|
|
145
|
-
attrs:
|
|
145
|
+
attrs: S,
|
|
146
146
|
extendAttrs: D,
|
|
147
147
|
events: _,
|
|
148
148
|
rules: B,
|
|
@@ -168,30 +168,30 @@ const nt = fe({ componentName: K.ContainerWidget }), at = /* @__PURE__ */ fe({
|
|
|
168
168
|
...nt,
|
|
169
169
|
__name: "form-widget",
|
|
170
170
|
props: { ...ye },
|
|
171
|
-
setup(r, { expose:
|
|
171
|
+
setup(r, { expose: x }) {
|
|
172
172
|
var E;
|
|
173
|
-
const f = r, { exposed: F, formModel: b, fieldEditor:
|
|
173
|
+
const f = r, { exposed: F, formModel: b, fieldEditor: O, attrs: A, events: P, widgetRefList: $, extendAttrs: u, fieldName: S, fieldObj: _, loadData: j } = ot({ ...f, widgetList: (E = f == null ? void 0 : f.widget) == null ? void 0 : E.widgetList }), w = S.value;
|
|
174
174
|
return et.globalProvide({
|
|
175
175
|
globalFormName: w,
|
|
176
176
|
globalDataModel: b
|
|
177
177
|
}), ce(() => {
|
|
178
178
|
var g;
|
|
179
|
-
(g = u.value) != null && g.loadDataWhenInit && !f.designState &&
|
|
179
|
+
(g = u.value) != null && g.loadDataWhenInit && !f.designState && j(!0).then((h) => {
|
|
180
180
|
}).catch((h) => {
|
|
181
181
|
}).finally(() => {
|
|
182
182
|
F.clearChangeRecord();
|
|
183
183
|
});
|
|
184
|
-
}),
|
|
185
|
-
const D =
|
|
184
|
+
}), x({ ...F }), (g, h) => {
|
|
185
|
+
const D = Oe("el-form"), W = Se("loading");
|
|
186
186
|
return ne(), ae(Pe, G(g.$props, {
|
|
187
187
|
"prop-options": { fieldObj: v(_) }
|
|
188
188
|
}), {
|
|
189
189
|
default: ie(({ data: V }) => {
|
|
190
190
|
var M, N;
|
|
191
191
|
return [
|
|
192
|
-
|
|
192
|
+
je((ne(), ae(D, G({
|
|
193
193
|
ref_key: "fieldEditor",
|
|
194
|
-
ref:
|
|
194
|
+
ref: O,
|
|
195
195
|
model: v(b)
|
|
196
196
|
}, v(A), Ee(v(P)), {
|
|
197
197
|
class: V.injectClass,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e76e6d58.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as m, computed as l, reactive as C, openBlock as y, createBlock as O, mergeProps as c, unref as r, withCtx as W, createVNode as x } from "vue";
|
|
2
|
+
import { w as b } from "./expression-a880b354.js";
|
|
3
|
+
import { I as k } from "./widget-base-8eece820.js";
|
|
4
|
+
import { D as A } from "./drag-wrapper-8ba8d26a.js";
|
|
5
|
+
import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
6
|
+
import { b as H } from "./share-field-6fc223d3.js";
|
|
7
|
+
import { c as $ } from "./slot-1605ee49.js";
|
|
8
|
+
const z = m({ componentName: b.ContainerWidget }), V = /* @__PURE__ */ m({
|
|
9
|
+
...z,
|
|
10
|
+
__name: "grid-col-widget",
|
|
11
|
+
props: {
|
|
12
|
+
...k
|
|
13
|
+
},
|
|
14
|
+
setup(d, { expose: u }) {
|
|
15
|
+
const n = d, { attrs: o, fieldObj: g, extendAttrs: a, exposed: f } = H(n), v = l(() => n.propOptions.colHeight ? { height: n.propOptions.colHeight } : {}), { customClass: _, componentWrapperClass: h } = $({ widget: n.widget }), w = l(() => (Object.keys(o.value).forEach((e) => {
|
|
16
|
+
var t, s;
|
|
17
|
+
var i = ["xs", "sm", "md", "lg", "xl"], p = ["span"];
|
|
18
|
+
!((t = o.value) != null && t.responsive) && i.includes(e) && delete o.value[e], (s = o.value) != null && s.responsive && p.includes(e) && delete o.value[e];
|
|
19
|
+
}), C(o.value)));
|
|
20
|
+
return u({ ...f }), (e, i) => {
|
|
21
|
+
var p, t, s;
|
|
22
|
+
return y(), O(j, c(e.$props, {
|
|
23
|
+
showWrapperComponent: !0,
|
|
24
|
+
"component-name": "el-col",
|
|
25
|
+
key: (p = e.widget) == null ? void 0 : p.id,
|
|
26
|
+
"prop-options": { fieldObj: { ...r(g), attrs: w.value }, class: ["content-cell", "nopadding", "nomargin", (t = r(a)) == null ? void 0 : t.horizontalAlign, (s = r(a)) == null ? void 0 : s.verticalAlign, r(_)], style: v.value }
|
|
27
|
+
}), {
|
|
28
|
+
default: W(() => [
|
|
29
|
+
x(A, c(e.$props, {
|
|
30
|
+
dragClass: "dragSize1",
|
|
31
|
+
"component-class": r(h)
|
|
32
|
+
}), null, 16, ["component-class"])
|
|
33
|
+
]),
|
|
34
|
+
_: 1
|
|
35
|
+
}, 16, ["prop-options"]);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
V as _
|
|
41
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as t, createBlock as s, mergeProps as f, unref as o, withCtx as u, createElementBlock as w, Fragment as b, renderList as h } from "vue";
|
|
2
|
-
import { b as k, w as y } from "./expression-
|
|
2
|
+
import { b as k, w as y } from "./expression-a880b354.js";
|
|
3
3
|
import { I as C } from "./widget-base-8eece820.js";
|
|
4
|
-
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
5
|
-
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { b as j } from "./share-field-
|
|
7
|
-
import { c as P } from "./slot-
|
|
4
|
+
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e76e6d58.js";
|
|
5
|
+
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
6
|
+
import { b as j } from "./share-field-6fc223d3.js";
|
|
7
|
+
import { c as P } from "./slot-1605ee49.js";
|
|
8
8
|
const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
|
|
9
9
|
...v,
|
|
10
10
|
__name: "grid-widget",
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { defineComponent as C, useCssVars as j, computed as t, openBlock as l, createBlock as f, mergeProps as p, unref as r, withCtx as D, createElementBlock as _, normalizeClass as E, createElementVNode as g, Fragment as F, createTextVNode as I, toDisplayString as P, normalizeStyle as H, createVNode as O } from "vue";
|
|
2
|
+
import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
3
|
+
import { b as T } from "./share-field-6fc223d3.js";
|
|
4
|
+
import { D as v } from "./drag-wrapper-8ba8d26a.js";
|
|
5
|
+
import { w as q } from "./expression-a880b354.js";
|
|
6
|
+
import { d as h } from "./slot-1605ee49.js";
|
|
7
|
+
import { I as A } from "./widget-base-8eece820.js";
|
|
8
|
+
import { g as i, a as G } from "./color-bae04003.js";
|
|
9
|
+
import { _ as J } from "./_plugin-vue_export-helper-dad06003.js";
|
|
10
|
+
import "./enum-type-05ccb088.js";
|
|
11
|
+
import "./index-847ef399.js";
|
|
12
|
+
import "./uuid-68f25733.js";
|
|
13
|
+
import "./enum-type-35e3b2e0.js";
|
|
14
|
+
import "./baseImp-cf2a056f.js";
|
|
15
|
+
import "./icon-3ea488c1.js";
|
|
16
|
+
import "./dialog-8ecdabe5.js";
|
|
17
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
18
|
+
import "element-plus";
|
|
19
|
+
import "./index-7d31ccfb.js";
|
|
20
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
21
|
+
import "./multirow-50d903a8.js";
|
|
22
|
+
import "./source-map-b04aec4a.js";
|
|
23
|
+
import "./esprima-e8d15055.js";
|
|
24
|
+
const L = { class: "--hcard-header" }, M = C({ componentName: q.ContainerWidget }), Q = /* @__PURE__ */ C({
|
|
25
|
+
...M,
|
|
26
|
+
__name: "hcard-widget",
|
|
27
|
+
props: { ...A },
|
|
28
|
+
setup(b, { expose: y }) {
|
|
29
|
+
j((e) => ({
|
|
30
|
+
ec5e002e: S.value,
|
|
31
|
+
v2cac92e2: B.value,
|
|
32
|
+
v54132f48: V.value,
|
|
33
|
+
v65f725dc: z.value,
|
|
34
|
+
v47b5f784: N.value,
|
|
35
|
+
e6c329dc: $.value
|
|
36
|
+
}));
|
|
37
|
+
const w = b, { fieldEditor: R, fieldKey: x, slots: n, attrs: o, exposed: W, fieldObj: k } = T(w), s = t(() => {
|
|
38
|
+
var e;
|
|
39
|
+
return (e = o.value) == null ? void 0 : e.baseColor;
|
|
40
|
+
}), S = t(() => {
|
|
41
|
+
var e = i(s.value, !1, 10);
|
|
42
|
+
return e == null ? void 0 : e[4];
|
|
43
|
+
}), B = t(() => {
|
|
44
|
+
var e = i(s.value, !1, 10);
|
|
45
|
+
return e == null ? void 0 : e[6];
|
|
46
|
+
}), V = t(() => {
|
|
47
|
+
var e = i(s.value, !1, 10);
|
|
48
|
+
return e == null ? void 0 : e[0];
|
|
49
|
+
}), z = t(() => {
|
|
50
|
+
var e;
|
|
51
|
+
return (e = o.value) == null ? void 0 : e.padding;
|
|
52
|
+
}), N = t(() => {
|
|
53
|
+
var e;
|
|
54
|
+
return (e = o.value) == null ? void 0 : e.headerWidth;
|
|
55
|
+
}), $ = t(() => G(s.value));
|
|
56
|
+
return y({ ...W }), (e, U) => (l(), f(K, p(e.$props, {
|
|
57
|
+
"prop-options": { class: [], fieldObj: r(k) }
|
|
58
|
+
}), {
|
|
59
|
+
default: D(({ data: a }) => {
|
|
60
|
+
var d, c, m, u;
|
|
61
|
+
return [
|
|
62
|
+
(l(), _("div", {
|
|
63
|
+
key: r(x),
|
|
64
|
+
class: E(["--hcard-wrap", [(d = r(o)) == null ? void 0 : d.shadow, ...a == null ? void 0 : a.injectClass]])
|
|
65
|
+
}, [
|
|
66
|
+
g("div", L, [
|
|
67
|
+
(c = r(o)) != null && c.slotable ? (l(), f(v, p({ key: 0 }, e.$props, {
|
|
68
|
+
widget: r(h)(r(n), "header"),
|
|
69
|
+
"drag-class": "dragSize4"
|
|
70
|
+
}), null, 16, ["widget"])) : (l(), _(F, { key: 1 }, [
|
|
71
|
+
I(P((m = r(o)) == null ? void 0 : m.label), 1)
|
|
72
|
+
], 64))
|
|
73
|
+
]),
|
|
74
|
+
g("div", {
|
|
75
|
+
class: "--hcard-body",
|
|
76
|
+
style: H(((u = r(o)) == null ? void 0 : u.bodyStyle) || {})
|
|
77
|
+
}, [
|
|
78
|
+
O(v, p(e.$props, {
|
|
79
|
+
widget: r(h)(r(n), "default"),
|
|
80
|
+
"drag-class": "dragSize4",
|
|
81
|
+
"component-class": a == null ? void 0 : a.componentWrapperClass
|
|
82
|
+
}), null, 16, ["widget", "component-class"])
|
|
83
|
+
], 4)
|
|
84
|
+
], 2))
|
|
85
|
+
];
|
|
86
|
+
}),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 16, ["prop-options"]));
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
const be = /* @__PURE__ */ J(Q, [["__scopeId", "data-v-f1b8d0a3"]]);
|
|
92
|
+
export {
|
|
93
|
+
be as default
|
|
94
|
+
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as _, createBlock as u, mergeProps as x, unref as o, withCtx as g, createVNode as w } from "vue";
|
|
2
2
|
import { I as C } from "./field-base-1acf3ada.js";
|
|
3
|
-
import { b as P } from "./share-field-
|
|
4
|
-
import { w as b } from "./expression-
|
|
5
|
-
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
6
|
-
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { b as P } from "./share-field-6fc223d3.js";
|
|
4
|
+
import { w as b } from "./expression-a880b354.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
6
|
+
import { _ as j } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4ab88b8e.js";
|
|
7
7
|
import "./widget-base-8eece820.js";
|
|
8
|
-
import "./enum-type-
|
|
9
|
-
import "./multirow-
|
|
10
|
-
import "./baseImp-
|
|
11
|
-
import "./enum-type-
|
|
12
|
-
import "./icon-
|
|
13
|
-
import "./dialog-
|
|
8
|
+
import "./enum-type-05ccb088.js";
|
|
9
|
+
import "./multirow-50d903a8.js";
|
|
10
|
+
import "./baseImp-cf2a056f.js";
|
|
11
|
+
import "./enum-type-35e3b2e0.js";
|
|
12
|
+
import "./icon-3ea488c1.js";
|
|
13
|
+
import "./dialog-8ecdabe5.js";
|
|
14
14
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
15
|
-
import "./uuid-
|
|
15
|
+
import "./uuid-68f25733.js";
|
|
16
16
|
import "element-plus";
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./slot-
|
|
17
|
+
import "./index-847ef399.js";
|
|
18
|
+
import "./slot-1605ee49.js";
|
|
19
19
|
import "./source-map-b04aec4a.js";
|
|
20
20
|
import "./esprima-e8d15055.js";
|
|
21
|
-
import "./index-
|
|
21
|
+
import "./index-7d31ccfb.js";
|
|
22
22
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
23
|
-
import "./fieldobj-
|
|
23
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
24
24
|
const k = e({ componentName: b.FieldWidget }), T = /* @__PURE__ */ e({
|
|
25
25
|
...k,
|
|
26
26
|
__name: "html-text-widget",
|
package/icon-3ea488c1.js
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { unref as U, watch as E, nextTick as N, isRef as L, shallowRef as O, ref as B, getCurrentInstance as V } from "vue";
|
|
2
|
+
function T(n) {
|
|
3
|
+
return typeof n == "function" ? n() : U(n);
|
|
4
|
+
}
|
|
5
|
+
const $ = typeof window < "u" && typeof document < "u", P = () => {
|
|
6
|
+
};
|
|
7
|
+
function C(n, o = !1, t = "Timeout") {
|
|
8
|
+
return new Promise((r, c) => {
|
|
9
|
+
setTimeout(o ? () => c(t) : r, n);
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function I(n, o = !1) {
|
|
13
|
+
function t(e, { flush: u = "sync", deep: a = !1, timeout: d, throwOnTimeout: h } = {}) {
|
|
14
|
+
let l = null;
|
|
15
|
+
const m = [new Promise((x) => {
|
|
16
|
+
l = E(
|
|
17
|
+
n,
|
|
18
|
+
(s) => {
|
|
19
|
+
e(s) !== o && (l ? l() : N(() => l == null ? void 0 : l()), x(s));
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
flush: u,
|
|
23
|
+
deep: a,
|
|
24
|
+
immediate: !0
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
})];
|
|
28
|
+
return d != null && m.push(
|
|
29
|
+
C(d, h).then(() => T(n)).finally(() => l == null ? void 0 : l())
|
|
30
|
+
), Promise.race(m);
|
|
31
|
+
}
|
|
32
|
+
function r(e, u) {
|
|
33
|
+
if (!L(e))
|
|
34
|
+
return t((s) => s === e, u);
|
|
35
|
+
const { flush: a = "sync", deep: d = !1, timeout: h, throwOnTimeout: l } = u ?? {};
|
|
36
|
+
let i = null;
|
|
37
|
+
const x = [new Promise((s) => {
|
|
38
|
+
i = E(
|
|
39
|
+
[n, e],
|
|
40
|
+
([A, R]) => {
|
|
41
|
+
o !== (A === R) && (i ? i() : N(() => i == null ? void 0 : i()), s(A));
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
flush: a,
|
|
45
|
+
deep: d,
|
|
46
|
+
immediate: !0
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
})];
|
|
50
|
+
return h != null && x.push(
|
|
51
|
+
C(h, l).then(() => T(n)).finally(() => (i == null || i(), T(n)))
|
|
52
|
+
), Promise.race(x);
|
|
53
|
+
}
|
|
54
|
+
function c(e) {
|
|
55
|
+
return t((u) => Boolean(u), e);
|
|
56
|
+
}
|
|
57
|
+
function w(e) {
|
|
58
|
+
return r(null, e);
|
|
59
|
+
}
|
|
60
|
+
function y(e) {
|
|
61
|
+
return r(void 0, e);
|
|
62
|
+
}
|
|
63
|
+
function g(e) {
|
|
64
|
+
return t(Number.isNaN, e);
|
|
65
|
+
}
|
|
66
|
+
function v(e, u) {
|
|
67
|
+
return t((a) => {
|
|
68
|
+
const d = Array.from(a);
|
|
69
|
+
return d.includes(e) || d.includes(T(e));
|
|
70
|
+
}, u);
|
|
71
|
+
}
|
|
72
|
+
function p(e) {
|
|
73
|
+
return f(1, e);
|
|
74
|
+
}
|
|
75
|
+
function f(e = 1, u) {
|
|
76
|
+
let a = -1;
|
|
77
|
+
return t(() => (a += 1, a >= e), u);
|
|
78
|
+
}
|
|
79
|
+
return Array.isArray(T(n)) ? {
|
|
80
|
+
toMatch: t,
|
|
81
|
+
toContains: v,
|
|
82
|
+
changed: p,
|
|
83
|
+
changedTimes: f,
|
|
84
|
+
get not() {
|
|
85
|
+
return I(n, !o);
|
|
86
|
+
}
|
|
87
|
+
} : {
|
|
88
|
+
toMatch: t,
|
|
89
|
+
toBe: r,
|
|
90
|
+
toBeTruthy: c,
|
|
91
|
+
toBeNull: w,
|
|
92
|
+
toBeNaN: g,
|
|
93
|
+
toBeUndefined: y,
|
|
94
|
+
changed: p,
|
|
95
|
+
changedTimes: f,
|
|
96
|
+
get not() {
|
|
97
|
+
return I(n, !o);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function j(n) {
|
|
102
|
+
return I(n);
|
|
103
|
+
}
|
|
104
|
+
$ && window.document;
|
|
105
|
+
$ && window.navigator;
|
|
106
|
+
$ && window.location;
|
|
107
|
+
function k(n, o, t) {
|
|
108
|
+
const {
|
|
109
|
+
immediate: r = !0,
|
|
110
|
+
delay: c = 0,
|
|
111
|
+
onError: w = P,
|
|
112
|
+
onSuccess: y = P,
|
|
113
|
+
resetOnExecute: g = !0,
|
|
114
|
+
shallow: v = !0,
|
|
115
|
+
throwError: p
|
|
116
|
+
} = t ?? {}, f = v ? O(o) : B(o), e = B(!1), u = B(!1), a = O(void 0);
|
|
117
|
+
async function d(i = 0, ...m) {
|
|
118
|
+
g && (f.value = o), a.value = void 0, e.value = !1, u.value = !0, i > 0 && await C(i);
|
|
119
|
+
const x = typeof n == "function" ? n(...m) : n;
|
|
120
|
+
try {
|
|
121
|
+
const s = await x;
|
|
122
|
+
f.value = s, e.value = !0, y(s);
|
|
123
|
+
} catch (s) {
|
|
124
|
+
if (a.value = s, w(s), p)
|
|
125
|
+
throw s;
|
|
126
|
+
} finally {
|
|
127
|
+
u.value = !1;
|
|
128
|
+
}
|
|
129
|
+
return f.value;
|
|
130
|
+
}
|
|
131
|
+
r && d(c);
|
|
132
|
+
const h = {
|
|
133
|
+
state: f,
|
|
134
|
+
isReady: e,
|
|
135
|
+
isLoading: u,
|
|
136
|
+
error: a,
|
|
137
|
+
execute: d
|
|
138
|
+
};
|
|
139
|
+
function l() {
|
|
140
|
+
return new Promise((i, m) => {
|
|
141
|
+
j(u).toBe(!1).then(() => i(h)).catch(m);
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
return {
|
|
145
|
+
...h,
|
|
146
|
+
then(i, m) {
|
|
147
|
+
return l().then(i, m);
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
function q(n) {
|
|
152
|
+
var v, p, f;
|
|
153
|
+
const o = () => V(), t = n || o(), r = (f = (p = (v = t == null ? void 0 : t.appContext) == null ? void 0 : v.app) == null ? void 0 : p.config) == null ? void 0 : f.globalProperties, c = r == null ? void 0 : r.$message, w = r == null ? void 0 : r.$confirm, y = r == null ? void 0 : r.$prompt, g = t == null ? void 0 : t.proxy;
|
|
154
|
+
return {
|
|
155
|
+
getInstance: o,
|
|
156
|
+
instance: t,
|
|
157
|
+
proxy: g,
|
|
158
|
+
$message: c,
|
|
159
|
+
$confirm: w,
|
|
160
|
+
$prompt: y,
|
|
161
|
+
globalProperties: r
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
const z = (n, o) => {
|
|
165
|
+
const { state: t } = k(async () => {
|
|
166
|
+
const r = await import("./index-6bcfdc22.js");
|
|
167
|
+
var c = Object.entries(r).find(([w, y]) => w === n);
|
|
168
|
+
if (c)
|
|
169
|
+
return o != null && o.appContext.components[c[0]] || o == null || o.appContext.app.component(c[0], c[1]), c == null ? void 0 : c[1];
|
|
170
|
+
}, null);
|
|
171
|
+
return t;
|
|
172
|
+
};
|
|
173
|
+
export {
|
|
174
|
+
k as a,
|
|
175
|
+
z as r,
|
|
176
|
+
q as u
|
|
177
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent as d, resolveComponent as D, openBlock as i, createBlock as r, mergeProps as a, unref as e, withCtx as f, toHandlers as b, resolveDynamicComponent as k } from "vue";
|
|
2
|
+
import { I as v } from "./field-base-1acf3ada.js";
|
|
3
|
+
import { w as F } from "./expression-a880b354.js";
|
|
4
|
+
import { b as S } from "./share-field-6fc223d3.js";
|
|
5
|
+
import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b6d87607.js";
|
|
6
|
+
import { S as B } from "./enum-type-35e3b2e0.js";
|
|
7
|
+
import "./widget-base-8eece820.js";
|
|
8
|
+
import "./source-map-b04aec4a.js";
|
|
9
|
+
import "./enum-type-05ccb088.js";
|
|
10
|
+
import "./uuid-68f25733.js";
|
|
11
|
+
import "./_commonjsHelpers-e7ea1525.js";
|
|
12
|
+
import "./esprima-e8d15055.js";
|
|
13
|
+
import "./multirow-50d903a8.js";
|
|
14
|
+
import "./baseImp-cf2a056f.js";
|
|
15
|
+
import "./icon-3ea488c1.js";
|
|
16
|
+
import "./dialog-8ecdabe5.js";
|
|
17
|
+
import "element-plus";
|
|
18
|
+
import "./index-847ef399.js";
|
|
19
|
+
import "./slot-1605ee49.js";
|
|
20
|
+
import "./index-7d31ccfb.js";
|
|
21
|
+
import "./_plugin-vue_export-helper-dad06003.js";
|
|
22
|
+
import "./fieldobj-4d9ab4ce.js";
|
|
23
|
+
const I = d({ componentName: F.FieldWidget }), oe = /* @__PURE__ */ d({
|
|
24
|
+
...I,
|
|
25
|
+
__name: "icon-widget",
|
|
26
|
+
props: { ...v },
|
|
27
|
+
setup(_, { expose: u }) {
|
|
28
|
+
const y = _, { attrs: o, extendAttrs: t, exposed: z, fieldObj: x, events: C, fieldKey: g } = S(y);
|
|
29
|
+
return u({ ...z }), (j, O) => {
|
|
30
|
+
const w = D("el-icon");
|
|
31
|
+
return i(), r(h, a(j.$props, {
|
|
32
|
+
"prop-options": { fieldObj: e(x) }
|
|
33
|
+
}), {
|
|
34
|
+
default: f(({ data: p }) => {
|
|
35
|
+
var s, m, n, l;
|
|
36
|
+
return [
|
|
37
|
+
(i(), r(w, a({
|
|
38
|
+
ref: "fieldEditor",
|
|
39
|
+
key: e(g)
|
|
40
|
+
}, b(e(C)), e(o), {
|
|
41
|
+
class: p.injectClass,
|
|
42
|
+
style: p.injectStyle,
|
|
43
|
+
size: (s = e(t)) != null && s.sizeDef && ((m = e(t)) == null ? void 0 : m.sizeDef) != e(B).auto ? (n = e(t)) == null ? void 0 : n.sizeDef : (l = e(o)) == null ? void 0 : l.size
|
|
44
|
+
}), {
|
|
45
|
+
default: f(() => {
|
|
46
|
+
var c;
|
|
47
|
+
return [
|
|
48
|
+
(i(), r(k((c = e(o)) == null ? void 0 : c.icon)))
|
|
49
|
+
];
|
|
50
|
+
}),
|
|
51
|
+
_: 1
|
|
52
|
+
}, 16, ["class", "style", "size"]))
|
|
53
|
+
];
|
|
54
|
+
}),
|
|
55
|
+
_: 1
|
|
56
|
+
}, 16, ["prop-options"]);
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
oe as default
|
|
62
|
+
};
|