hlrender 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/_commonjsHelpers-e7ea1525.js +36 -0
  2. package/_plugin-vue_export-helper-dad06003.js +9 -0
  3. package/affix-widget-b6cdaf6f.js +35 -0
  4. package/anchor-link-widget-919ac0ee.js +5 -0
  5. package/anchor-link-widget.vue_vue_type_script_setup_true_name_anchor-link-widget_lang-7df7e7c1.js +35 -0
  6. package/anchor-widget-403fe70f.js +54 -0
  7. package/auto-complete-widget-597d8400.js +71 -0
  8. package/avatar-widget-c56add2d.js +35 -0
  9. package/backtop-widget-65d711e3.js +35 -0
  10. package/badge-widget-f6a08422.js +41 -0
  11. package/baseImp-70f1a9c5.js +11003 -0
  12. package/breadcrumb-widget-3791fbcf.js +76 -0
  13. package/button-widget-b539a793.js +45 -0
  14. package/cache-widget-89624589.js +50 -0
  15. package/card-widget-2890042f.js +109 -0
  16. package/carousel-widget-730618e4.js +72 -0
  17. package/cascader-widget-a364f226.js +94 -0
  18. package/chart-widget-d0b5993c.js +44282 -0
  19. package/checkbox-widget-5f87a8e5.js +76 -0
  20. package/collapse-widget-a654ac45.js +86 -0
  21. package/color-picker-widget-b5b274dd.js +53 -0
  22. package/cont-cell-widget-475412c6.js +8 -0
  23. package/cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9aac0112.js +59 -0
  24. package/cont-widget-defa7dd6.js +42 -0
  25. package/content-wrapper-7ba06bbc.js +14 -0
  26. package/content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js +37 -0
  27. package/date-picker-range-widget-e528dab6.js +69 -0
  28. package/date-picker-widget-a5d3e5ff.js +75 -0
  29. package/default-slot-widget-09d11567.js +22 -0
  30. package/default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js +59 -0
  31. package/descriptions-widget-9711a62b.js +80 -0
  32. package/dialog-333d3421.js +124 -0
  33. package/dialog-widget-94d8ab5a.js +30 -0
  34. package/divider-widget-b835bbc3.js +35 -0
  35. package/drag-wrapper-227f198f.js +258 -0
  36. package/drawer-widget-3906d028.js +30 -0
  37. package/dropdown-widget-74696f3c.js +89 -0
  38. package/empty-widget-ba5e0039.js +61 -0
  39. package/enum-type-92806e9d.js +207 -0
  40. package/enum-type-be3a0b8b.js +2048 -0
  41. package/expression-63a787db.js +2181 -0
  42. package/feedback-widget-3140f73d.js +23 -0
  43. package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f8da09d0.js +82 -0
  44. package/field-base-5547436d.js +7 -0
  45. package/file-upload-widget-dcc0425c.js +95 -0
  46. package/form-item-wrapper-849d8a21.js +111 -0
  47. package/form-widget-1dcffd59.js +183 -0
  48. package/grid-col-widget-e6b1455d.js +8 -0
  49. package/grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ed554759.js +41 -0
  50. package/grid-widget-d7974890.js +43 -0
  51. package/html-text-widget-e13171fa.js +47 -0
  52. package/icon-e9532b43.js +119 -0
  53. package/iframe-widget-dee326a7.js +74 -0
  54. package/image-widget-d417c681.js +61 -0
  55. package/index-28e4bcfb.js +99 -0
  56. package/index-2d29f8d3.js +7233 -0
  57. package/index-ddd23411.js +4884 -0
  58. package/index-f54403db.js +65 -0
  59. package/index-fa19f5d9.js +10568 -0
  60. package/input-number-widget-548743d9.js +63 -0
  61. package/input-widget-81153a08.js +68 -0
  62. package/label-wrapper-13267254.js +12 -0
  63. package/label-wrapper.vue_vue_type_style_index_0_lang-5b455ef8.js +80 -0
  64. package/link-widget-e2aeac9f.js +53 -0
  65. package/ltable-col-widget-ecfe9f02.js +8 -0
  66. package/ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6c231f2e.js +256 -0
  67. package/ltable-widget-d5d81ac2.js +69 -0
  68. package/menu-widget-101389ec.js +93 -0
  69. package/model-widget-84277d11.js +119 -0
  70. package/multirow-3ade8c6e.js +341 -0
  71. package/multirow-widget copy-efbb1e00.js +855 -0
  72. package/multirow-widget-a73fd2b8.js +691 -0
  73. package/package.json +13 -0
  74. package/pagination-widget-12edf5f4.js +78 -0
  75. package/picture-upload-widget-bcef9cc8.js +99 -0
  76. package/progress-widget-f515a118.js +49 -0
  77. package/propresult-e424ed73.js +22 -0
  78. package/radio-widget-78f9cab9.js +76 -0
  79. package/range-widget-904ed0d6.js +71 -0
  80. package/rate-widget-efdab26c.js +53 -0
  81. package/render.es.js +4434 -0
  82. package/render.style.css +11 -0
  83. package/render.umd.js +160496 -0
  84. package/result-widget-b1688641.js +64 -0
  85. package/rich-editor-widget-f1bb90c7.js +74 -0
  86. package/router-widget-920b11e4.js +51 -0
  87. package/select-widget-f3a43687.js +285 -0
  88. package/sfc-b5fb0bca.js +2568 -0
  89. package/share-field-9834aef6.js +688 -0
  90. package/share-file-329736c4.js +121 -0
  91. package/slider-widget-5146c0c3.js +59 -0
  92. package/slot-c6523e8c.js +17 -0
  93. package/static-text-widget-307cd047.js +48 -0
  94. package/steps-widget-70c08c51.js +88 -0
  95. package/subMenu-widget-c1a614ad.js +16 -0
  96. package/subMenu-widget.vue_vue_type_script_setup_true_lang-1896e25e.js +69 -0
  97. package/switch-widget-a103faaa.js +53 -0
  98. package/tab-pane-widget-e7c83114.js +8 -0
  99. package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-12fa9f12.js +35 -0
  100. package/table-col-widget-f177b82e.js +20 -0
  101. package/table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5a1b4f92.js +80 -0
  102. package/table-widget-500902fd.js +160 -0
  103. package/tabs-widget-5e612fc0.js +68 -0
  104. package/tag-widget-8b945443.js +35 -0
  105. package/template-9ade074e.js +251730 -0
  106. package/text-widget-0d93ae9a.js +35 -0
  107. package/textarea-widget-d2464e70.js +53 -0
  108. package/time-picker-range-widget-7d92f5f0.js +55 -0
  109. package/time-picker-widget-3e0cc2c5.js +54 -0
  110. package/time-select-widget-b0b17501.js +54 -0
  111. package/tmpl-widget-b2402ddc.js +89 -0
  112. package/tree-select-widget-13f054e9.js +91 -0
  113. package/tree-widget-8bee698c.js +87 -0
  114. package/uuid-b302db3f.js +192 -0
  115. package/vue3-sfc-loader-b70bdce4.js +34688 -0
  116. package/widget-base-4c2d6265.js +27 -0
  117. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js +277 -0
  118. package/wrapper-widget-4d87e124.js +78 -0
@@ -0,0 +1,80 @@
1
+ import { defineComponent as m, resolveComponent as l, openBlock as t, createBlock as n, mergeProps as i, unref as r, withCtx as o, toHandlers as z, createSlots as D, createElementBlock as E, Fragment as F, renderList as d, createElementVNode as O, createTextVNode as P, toDisplayString as v, resolveDynamicComponent as x, createCommentVNode as B, createVNode as H } from "vue";
2
+ import { a as I } from "./enum-type-be3a0b8b.js";
3
+ import { I as L } from "./field-base-5547436d.js";
4
+ import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
5
+ import { b as $ } from "./share-field-9834aef6.js";
6
+ import { w as A } from "./template-9ade074e.js";
7
+ import { g as M } from "./slot-c6523e8c.js";
8
+ import { D as W } from "./drag-wrapper-227f198f.js";
9
+ import { P as K } from "./baseImp-70f1a9c5.js";
10
+ import "./widget-base-4c2d6265.js";
11
+ import "./uuid-b302db3f.js";
12
+ import "./index-fa19f5d9.js";
13
+ import "./enum-type-92806e9d.js";
14
+ import "./_commonjsHelpers-e7ea1525.js";
15
+ import "./index-f54403db.js";
16
+ import "./icon-e9532b43.js";
17
+ import "./_plugin-vue_export-helper-dad06003.js";
18
+ import "./multirow-3ade8c6e.js";
19
+ import "./dialog-333d3421.js";
20
+ import "element-plus";
21
+ const q = ["innerHTML"], G = m({ componentName: A.FieldWidget }), ue = /* @__PURE__ */ m({
22
+ ...G,
23
+ __name: "descriptions-widget",
24
+ props: { ...L },
25
+ setup(c, { expose: f }) {
26
+ const u = c, { exposed: g, fieldEditor: _, fieldKey: y, attrs: b, events: k, slots: V, optionItems: w, extendAttrs: C, fieldObj: N } = $(u);
27
+ return f({ ...g }), (s, J) => {
28
+ const S = l("el-descriptions-item"), h = l("el-descriptions");
29
+ return t(), n(T, i(s.$props, {
30
+ propOptions: { fieldObj: r(N) }
31
+ }), {
32
+ default: o(({ data: p }) => {
33
+ var a;
34
+ return [
35
+ (t(), n(h, i({
36
+ ref_key: "fieldEditor",
37
+ ref: _,
38
+ key: r(y)
39
+ }, r(b), z(r(k)), {
40
+ size: p.size,
41
+ class: p.injectClass,
42
+ style: p.injectStyle
43
+ }), D({
44
+ default: o(() => [
45
+ (t(!0), E(F, null, d(r(w), (e, j) => (t(), n(S, i({ key: j }, e), {
46
+ default: o(() => [
47
+ O("span", {
48
+ innerHTML: r(K).getValue(e == null ? void 0 : e.content)
49
+ }, null, 8, q)
50
+ ]),
51
+ label: o(() => [
52
+ P(v(e == null ? void 0 : e.label), 1)
53
+ ]),
54
+ _: 2
55
+ }, 1040))), 128))
56
+ ]),
57
+ _: 2
58
+ }, [
59
+ d(r(M)(r(V), s.designState, (a = r(C)) == null ? void 0 : a.slotable), (e) => ({
60
+ name: e.slotName,
61
+ fn: o(() => [
62
+ e != null && e.default ? (t(), n(x(e == null ? void 0 : e.default), { key: 0 })) : B("", !0),
63
+ H(W, i(s.$props, {
64
+ widget: e,
65
+ "drag-class": "dragSize1",
66
+ "drag-tip": r(I).i18nt("designer.hint.draggableArea1")
67
+ }), null, 16, ["widget", "drag-tip"])
68
+ ])
69
+ }))
70
+ ]), 1040, ["size", "class", "style"]))
71
+ ];
72
+ }),
73
+ _: 1
74
+ }, 16, ["propOptions"]);
75
+ };
76
+ }
77
+ });
78
+ export {
79
+ ue as default
80
+ };
@@ -0,0 +1,124 @@
1
+ var l = Object.defineProperty;
2
+ var f = (e, t, o) => t in e ? l(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var r = (e, t, o) => (f(e, typeof t != "symbol" ? t + "" : t, o), o);
4
+ import { h as g, render as M, defineAsyncComponent as c } from "vue";
5
+ import { c as C } from "./uuid-b302db3f.js";
6
+ class u {
7
+ constructor() {
8
+ r(this, "type", "ok");
9
+ r(this, "body");
10
+ }
11
+ }
12
+ class a {
13
+ constructor(t) {
14
+ r(this, "_app");
15
+ this._app = t;
16
+ }
17
+ // public open(modal: ComponentOptions, props?: any): Promise<DzModalResult> {
18
+ // return new Promise((reslove, reject) => {
19
+ // if (!this._app) {
20
+ // reject('_app is undefined')
21
+ // return;
22
+ // }
23
+ // const container = document.createElement("div");
24
+ // document.body.appendChild(container);
25
+ // const destroyDialog = () => {
26
+ // // 弹出框关闭时移除节点
27
+ // document.body.removeChild(container);
28
+ // }
29
+ // // 这里需要合并props,传入到组件modal
30
+ // const vm = h(modal, {
31
+ // ...props,
32
+ // onOk: (data?: any) => {
33
+ // reslove(this.ok({ props: data, destroyDialog: destroyDialog }));
34
+ // },
35
+ // onCancel: (data?: any) => {
36
+ // reslove(this.cancel({ props: data, destroyDialog: destroyDialog }));
37
+ // },
38
+ // onClose: (data?: any) => {
39
+ // reslove(this.close({ props: data, destroyDialog: destroyDialog }));
40
+ // }
41
+ // });
42
+ // // 这里很重要,关联app上下文
43
+ // vm.appContext = this._app._context
44
+ // render(vm, container);
45
+ // });
46
+ // }
47
+ open(t, o, n) {
48
+ if (!this._app)
49
+ return;
50
+ const s = document.createElement("div");
51
+ document.body.appendChild(s);
52
+ const p = () => {
53
+ document.body.removeChild(s);
54
+ }, d = g(t, {
55
+ ...o,
56
+ onOk: (i) => {
57
+ n == null || n(this.ok({ props: i, destroyDialog: p }));
58
+ },
59
+ onCancel: (i) => {
60
+ n == null || n(this.cancel({ props: i, destroyDialog: p }));
61
+ },
62
+ onClose: (i) => {
63
+ n == null || n(this.close({ props: i, destroyDialog: p }));
64
+ }
65
+ });
66
+ d.appContext = this._app._context, M(d, s);
67
+ }
68
+ ok(t) {
69
+ const o = new u();
70
+ return o.type = "ok", o.body = t, o;
71
+ }
72
+ cancel(t) {
73
+ const o = new u();
74
+ return o.type = "cancel", o.body = t, o;
75
+ }
76
+ close(t) {
77
+ const o = new u();
78
+ return o.type = "close", o.body = t, o;
79
+ }
80
+ }
81
+ function w(e) {
82
+ var o, n, s, p;
83
+ var t = (p = (s = (n = (o = e == null ? void 0 : e.appContext) == null ? void 0 : o.app) == null ? void 0 : n.config) == null ? void 0 : s.globalProperties) == null ? void 0 : p.$dzModal;
84
+ if (!t)
85
+ throw new Error("No DzModal installed");
86
+ return t;
87
+ }
88
+ const S = {
89
+ install(e, t) {
90
+ const o = new a(e);
91
+ e.config.globalProperties.$dzModal = o;
92
+ }
93
+ }, m = c(() => import("./index-28e4bcfb.js").then((e) => e._));
94
+ class v {
95
+ constructor() {
96
+ r(this, "fullscreen", { type: Boolean, default: !1 });
97
+ r(this, "width", { type: String });
98
+ r(this, "height", { type: String });
99
+ r(this, "title", { type: String });
100
+ r(this, "url", { type: String });
101
+ r(this, "dialogType", { type: Array });
102
+ r(this, "callback", { type: Object });
103
+ }
104
+ }
105
+ const E = new v(), O = (e, t) => {
106
+ const o = w(e);
107
+ o == null || o.open(m, t, (n) => {
108
+ var i, h;
109
+ const s = C(t == null ? void 0 : t.callback), p = n.body, d = () => {
110
+ var y;
111
+ (y = p == null ? void 0 : p.destroyDialog) == null || y.call(p);
112
+ };
113
+ n.type === "ok" ? (i = s == null ? void 0 : s.okCallback) == null || i.call(s, { data: n.body }).then((y) => {
114
+ d();
115
+ }) : n.type === "cancel" ? (h = s == null ? void 0 : s.cancelCallback) == null || h.call(s, { data: n.body }).then((y) => {
116
+ d();
117
+ }) : n.type === "close" && d();
118
+ });
119
+ };
120
+ export {
121
+ E as I,
122
+ O as o,
123
+ S as p
124
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent as r, openBlock as p, createBlock as t, mergeProps as i } from "vue";
2
+ import { _ as m } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f8da09d0.js";
3
+ import { I as e } from "./widget-base-4c2d6265.js";
4
+ import "./drag-wrapper-227f198f.js";
5
+ import "./baseImp-70f1a9c5.js";
6
+ import "./enum-type-be3a0b8b.js";
7
+ import "./uuid-b302db3f.js";
8
+ import "./enum-type-92806e9d.js";
9
+ import "./icon-e9532b43.js";
10
+ import "./template-9ade074e.js";
11
+ import "./_commonjsHelpers-e7ea1525.js";
12
+ import "./dialog-333d3421.js";
13
+ import "element-plus";
14
+ import "./index-fa19f5d9.js";
15
+ import "./multirow-3ade8c6e.js";
16
+ import "./slot-c6523e8c.js";
17
+ import "./_plugin-vue_export-helper-dad06003.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
19
+ import "./index-f54403db.js";
20
+ import "./share-field-9834aef6.js";
21
+ const j = /* @__PURE__ */ r({
22
+ __name: "dialog-widget",
23
+ props: { ...e },
24
+ setup(s) {
25
+ return (o, a) => (p(), t(m, i(o.$props, { "prop-options": { widgetName: "el-dialog" } }), null, 16));
26
+ }
27
+ });
28
+ export {
29
+ j as default
30
+ };
@@ -0,0 +1,35 @@
1
+ import { defineComponent as o, openBlock as l, createBlock as c, mergeProps as f, unref as t } from "vue";
2
+ import { I as _ } from "./field-base-5547436d.js";
3
+ import { _ as u } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-af9e9fc7.js";
4
+ import { w as g } from "./template-9ade074e.js";
5
+ import { b as v } from "./share-field-9834aef6.js";
6
+ import "./widget-base-4c2d6265.js";
7
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
8
+ import "./uuid-b302db3f.js";
9
+ import "./enum-type-be3a0b8b.js";
10
+ import "./index-fa19f5d9.js";
11
+ import "./enum-type-92806e9d.js";
12
+ import "./baseImp-70f1a9c5.js";
13
+ import "./icon-e9532b43.js";
14
+ import "./dialog-333d3421.js";
15
+ import "element-plus";
16
+ import "./_commonjsHelpers-e7ea1525.js";
17
+ import "./index-f54403db.js";
18
+ import "./_plugin-vue_export-helper-dad06003.js";
19
+ import "./slot-c6523e8c.js";
20
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-56dfcc0b.js";
21
+ import "./multirow-3ade8c6e.js";
22
+ const x = o({ componentName: g.FieldWidget }), H = /* @__PURE__ */ o({
23
+ ...x,
24
+ __name: "divider-widget",
25
+ props: { ..._ },
26
+ setup(r, { expose: e }) {
27
+ const p = r, { slots: i, attrs: m, extendAttrs: s, events: n, exposed: a } = v(p);
28
+ return e({ ...a }), (d, w) => (l(), c(u, f(d.$props, {
29
+ propOptions: { elementName: "el-divider", fieldObj: { attrs: t(m), events: t(n), slots: t(i), extendAttrs: t(s) } }
30
+ }), null, 16, ["propOptions"]));
31
+ }
32
+ });
33
+ export {
34
+ H as default
35
+ };
@@ -0,0 +1,258 @@
1
+ import { defineAsyncComponent as A, defineComponent as I, useCssVars as U, unref as o, openBlock as m, createBlock as c, resolveDynamicComponent as O, mergeProps as v, withCtx as w, renderSlot as u, computed as q, resolveComponent as H, createVNode as z, createSlots as D, renderList as k, normalizeProps as L, guardReactiveProps as $, createElementBlock as S, toDisplayString as P, createCommentVNode as B, Fragment as G } from "vue";
2
+ import { B as C } from "./baseImp-70f1a9c5.js";
3
+ import { I as T } from "./widget-base-4c2d6265.js";
4
+ import { b as _ } from "./index-fa19f5d9.js";
5
+ import { a as J, E as K, s as Q, m as N } from "./enum-type-be3a0b8b.js";
6
+ import { c as X, F as j } from "./multirow-3ade8c6e.js";
7
+ import { b as Y } from "./template-9ade074e.js";
8
+ import { _ as E } from "./_plugin-vue_export-helper-dad06003.js";
9
+ const M = (e, p) => {
10
+ const t = e[p];
11
+ return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((l, n) => {
12
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(n.bind(null, new Error("Unknown variable dynamic import: " + p)));
13
+ });
14
+ };
15
+ function Z() {
16
+ let e = /* @__PURE__ */ new Map();
17
+ const p = (l) => {
18
+ var n = C.getWidgetName(l), g = null;
19
+ return n && (C.isContainer(l) ? g = A(() => M(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-475412c6.js").then((d) => d._), "./container-widget/cont-widget.vue": () => import("./cont-widget-defa7dd6.js").then((d) => d._), "./container-widget/form-widget.vue": () => import("./form-widget-1dcffd59.js").then((d) => d._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-e6b1455d.js").then((d) => d._), "./container-widget/grid-widget.vue": () => import("./grid-widget-d7974890.js").then((d) => d._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-ecfe9f02.js").then((d) => d._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-d5d81ac2.js").then((d) => d._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-e7c83114.js").then((d) => d._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-5e612fc0.js").then((d) => d._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-4d87e124.js").then((d) => d._) }), `./container-widget/${n}.vue`)) : g = A(() => M(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-b6cdaf6f.js"), "./field-widget/anchor-link-widget.vue": () => import("./anchor-link-widget-919ac0ee.js"), "./field-widget/anchor-widget.vue": () => import("./anchor-widget-403fe70f.js"), "./field-widget/auto-complete-widget.vue": () => import("./auto-complete-widget-597d8400.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-c56add2d.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-65d711e3.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-f6a08422.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-3791fbcf.js"), "./field-widget/button-widget.vue": () => import("./button-widget-b539a793.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-89624589.js"), "./field-widget/card-widget.vue": () => import("./card-widget-2890042f.js"), "./field-widget/carousel-widget.vue": () => import("./carousel-widget-730618e4.js"), "./field-widget/cascader-widget.vue": () => import("./cascader-widget-a364f226.js"), "./field-widget/chart-widget.vue": () => import("./chart-widget-d0b5993c.js"), "./field-widget/checkbox-widget.vue": () => import("./checkbox-widget-5f87a8e5.js"), "./field-widget/collapse-widget.vue": () => import("./collapse-widget-a654ac45.js"), "./field-widget/color-picker-widget.vue": () => import("./color-picker-widget-b5b274dd.js"), "./field-widget/content-wrapper.vue": () => import("./content-wrapper-7ba06bbc.js"), "./field-widget/date-picker-range-widget.vue": () => import("./date-picker-range-widget-e528dab6.js"), "./field-widget/date-picker-widget.vue": () => import("./date-picker-widget-a5d3e5ff.js"), "./field-widget/default-slot-widget.vue": () => import("./default-slot-widget-09d11567.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-9711a62b.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-94d8ab5a.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-b835bbc3.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-3906d028.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-74696f3c.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-ba5e0039.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-3140f73d.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-dcc0425c.js"), "./field-widget/form-item-wrapper.vue": () => import("./form-item-wrapper-849d8a21.js"), "./field-widget/html-text-widget.vue": () => import("./html-text-widget-e13171fa.js"), "./field-widget/iframe-widget.vue": () => import("./iframe-widget-dee326a7.js"), "./field-widget/image-widget.vue": () => import("./image-widget-d417c681.js"), "./field-widget/input-number-widget.vue": () => import("./input-number-widget-548743d9.js"), "./field-widget/input-widget.vue": () => import("./input-widget-81153a08.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-13267254.js"), "./field-widget/link-widget.vue": () => import("./link-widget-e2aeac9f.js"), "./field-widget/menu-widget.vue": () => import("./menu-widget-101389ec.js"), "./field-widget/model-widget.vue": () => import("./model-widget-84277d11.js"), "./field-widget/multirow-widget copy.vue": () => import("./multirow-widget copy-efbb1e00.js"), "./field-widget/multirow-widget.vue": () => import("./multirow-widget-a73fd2b8.js"), "./field-widget/pagination-widget.vue": () => import("./pagination-widget-12edf5f4.js"), "./field-widget/picture-upload-widget.vue": () => import("./picture-upload-widget-bcef9cc8.js"), "./field-widget/progress-widget.vue": () => import("./progress-widget-f515a118.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-78f9cab9.js"), "./field-widget/range-widget.vue": () => import("./range-widget-904ed0d6.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-efdab26c.js"), "./field-widget/result-widget.vue": () => import("./result-widget-b1688641.js"), "./field-widget/rich-editor-widget.vue": () => import("./rich-editor-widget-f1bb90c7.js"), "./field-widget/router-widget.vue": () => import("./router-widget-920b11e4.js"), "./field-widget/select-widget.vue": () => import("./select-widget-f3a43687.js"), "./field-widget/slider-widget.vue": () => import("./slider-widget-5146c0c3.js"), "./field-widget/static-text-widget.vue": () => import("./static-text-widget-307cd047.js"), "./field-widget/steps-widget.vue": () => import("./steps-widget-70c08c51.js"), "./field-widget/subMenu-widget.vue": () => import("./subMenu-widget-c1a614ad.js"), "./field-widget/switch-widget.vue": () => import("./switch-widget-a103faaa.js"), "./field-widget/table-col-widget.vue": () => import("./table-col-widget-f177b82e.js"), "./field-widget/table-widget.vue": () => import("./table-widget-500902fd.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-8b945443.js"), "./field-widget/text-widget.vue": () => import("./text-widget-0d93ae9a.js"), "./field-widget/textarea-widget.vue": () => import("./textarea-widget-d2464e70.js"), "./field-widget/time-picker-range-widget.vue": () => import("./time-picker-range-widget-7d92f5f0.js"), "./field-widget/time-picker-widget.vue": () => import("./time-picker-widget-3e0cc2c5.js"), "./field-widget/time-select-widget.vue": () => import("./time-select-widget-b0b17501.js"), "./field-widget/tmpl-widget.vue": () => import("./tmpl-widget-b2402ddc.js"), "./field-widget/tree-select-widget.vue": () => import("./tree-select-widget-13f054e9.js"), "./field-widget/tree-widget.vue": () => import("./tree-widget-8bee698c.js") }), `./field-widget/${n}.vue`))), g;
20
+ };
21
+ return { components: (l) => {
22
+ var n = C.getWidgetName(l);
23
+ if (e.has(n))
24
+ return e.get(n);
25
+ var g = p(l);
26
+ return e.set(n, g), g;
27
+ } };
28
+ }
29
+ const x = /* @__PURE__ */ I({
30
+ __name: "comp-wrapper",
31
+ props: {
32
+ ...T,
33
+ componentName: {
34
+ type: String,
35
+ default: "div"
36
+ },
37
+ componentClass: {
38
+ type: String,
39
+ default: ""
40
+ },
41
+ componentAttrs: {
42
+ type: Object,
43
+ default: null
44
+ }
45
+ },
46
+ setup(e) {
47
+ const p = e;
48
+ U((g) => ({
49
+ "4c8bc074": o(t),
50
+ "43badf27": o(l),
51
+ "296ef2b7": o(n)
52
+ }));
53
+ const { ctrlWidth: t, ctrlHeight: l, displayLayout: n } = X(p);
54
+ return (g, d) => e.componentName ? (m(), c(O(e.componentName), v({
55
+ key: 0,
56
+ class: [e.componentClass, "comp__1"]
57
+ }, e.componentAttrs), {
58
+ default: w(() => [
59
+ u(g.$slots, "default", {}, void 0, !0)
60
+ ]),
61
+ _: 3
62
+ }, 16, ["class"])) : u(g.$slots, "default", v({
63
+ key: 1,
64
+ class: [e.componentClass, "comp__1"]
65
+ }, e.componentAttrs), void 0, !0);
66
+ }
67
+ });
68
+ const W = /* @__PURE__ */ E(x, [["__scopeId", "data-v-05830263"]]), ee = {
69
+ key: 0,
70
+ class: "tipBase tipTopLeft"
71
+ }, te = {
72
+ key: 1,
73
+ class: "tipBase tipContent"
74
+ }, ie = /* @__PURE__ */ I({
75
+ __name: "drag-wrapper",
76
+ props: {
77
+ ...T,
78
+ widgetList: {
79
+ type: Array,
80
+ default: []
81
+ },
82
+ dragClass: {
83
+ type: String,
84
+ default: ""
85
+ },
86
+ propName: {
87
+ type: String,
88
+ default: Y.widgetList
89
+ },
90
+ title: {
91
+ type: String,
92
+ default: ""
93
+ },
94
+ model: {
95
+ type: Object,
96
+ default: null
97
+ },
98
+ provideModel: {
99
+ type: Boolean,
100
+ default: !1
101
+ },
102
+ refList: {
103
+ type: Object,
104
+ default: null
105
+ },
106
+ widgetTree: {
107
+ type: Object,
108
+ default: null
109
+ },
110
+ dragTip: {
111
+ type: String,
112
+ default: J.i18nt("designer.hint.draggableArea")
113
+ },
114
+ dragTag: {
115
+ type: String,
116
+ default: "div"
117
+ },
118
+ componentName: {
119
+ type: String,
120
+ default: "div"
121
+ },
122
+ componentClass: {
123
+ type: String,
124
+ default: ""
125
+ },
126
+ componentAttrs: {
127
+ type: Object,
128
+ default: null
129
+ },
130
+ componentStyle: {
131
+ type: Object,
132
+ default: null
133
+ },
134
+ rowScope: {
135
+ type: Object,
136
+ default: null
137
+ }
138
+ },
139
+ emits: ["update"],
140
+ setup(e, { emit: p }) {
141
+ const t = e, { components: l } = Z(), { checkWidgetMove: n, onWidgetDragAdd: g, onWidgetDragUpdate: d, onWidgetDragEnd: R, onWidgetDragRemove: V } = _(t.designer), b = (i) => {
142
+ p("update", i);
143
+ }, a = q({
144
+ get: () => t.widget ? K(t.widget, t.propName) : t.widgetList,
145
+ set: (i) => {
146
+ t.widget ? Q(t.widget, t.propName, i) : p("update", i);
147
+ }
148
+ // || props.exWidgetList
149
+ /*exWidgetList: {
150
+ type: Array<Object>,
151
+ default: null
152
+ },*/
153
+ });
154
+ return (N(t.model) || t.provideModel) && j.globalProvide({
155
+ globalDataModel: t == null ? void 0 : t.model
156
+ }), t.refList && j.globalProvide({
157
+ formRefList: t.refList
158
+ }), N(t.rowScope) && N(t.rowScope) && j.globalProvide({
159
+ rowScope: t.rowScope
160
+ }), (i, s) => {
161
+ const F = H("draggable");
162
+ return i.designState === !0 ? (m(), c(F, v({
163
+ key: 0,
164
+ list: o(a),
165
+ "item-key": "id",
166
+ group: "dragGroup",
167
+ class: [e.dragClass, "containerDraggable full-height"],
168
+ tag: e.dragTag
169
+ }, { chosenClass: "chosen", ghostClass: "ghost", animation: 200 }, {
170
+ "component-data": { name: "fade" },
171
+ handle: ".drag-handler",
172
+ onEnd: s[0] || (s[0] = (r) => o(R)(r, o(a))),
173
+ onRemove: s[1] || (s[1] = (r) => o(V)(r, o(a), b)),
174
+ onAdd: s[2] || (s[2] = (r) => o(g)(r, o(a), b)),
175
+ onUpdate: s[3] || (s[3] = (r) => o(d)(r, o(a), b)),
176
+ move: o(n)
177
+ }), {
178
+ header: w(() => [
179
+ u(i.$slots, "header", {}, void 0, !0)
180
+ ]),
181
+ item: w(({ element: r, index: y }) => [
182
+ z(W, v({
183
+ widget: r,
184
+ designer: i.designer,
185
+ "design-state": i.designState,
186
+ "parent-list": o(a),
187
+ "parent-widget": i.widget,
188
+ class: e.componentClass
189
+ }, e.componentAttrs, {
190
+ style: e.componentStyle,
191
+ componentName: e.componentName
192
+ }), {
193
+ default: w(() => [
194
+ (m(), c(O(o(l)(r)), {
195
+ designer: i.designer,
196
+ widget: r,
197
+ key: r.id,
198
+ "design-state": i.designState,
199
+ "parent-list": o(a),
200
+ "parent-widget": i.widget
201
+ }, D({ _: 2 }, [
202
+ k(Object.keys(i.$slots), (f) => ({
203
+ name: f,
204
+ fn: w((h) => [
205
+ u(i.$slots, f, L($(h)), void 0, !0)
206
+ ])
207
+ }))
208
+ ]), 1032, ["designer", "widget", "design-state", "parent-list", "parent-widget"]))
209
+ ]),
210
+ _: 2
211
+ }, 1040, ["widget", "designer", "design-state", "parent-list", "parent-widget", "class", "style", "componentName"])
212
+ ]),
213
+ footer: w(() => [
214
+ u(i.$slots, "footer", {}, void 0, !0),
215
+ u(i.$slots, "tip", {}, () => {
216
+ var r, y;
217
+ return [
218
+ ((r = o(a)) == null ? void 0 : r.length) <= 0 ? (m(), S("div", ee, P(e.title), 1)) : B("", !0),
219
+ ((y = o(a)) == null ? void 0 : y.length) <= 0 ? (m(), S("div", te, P(e.dragTip), 1)) : B("", !0)
220
+ ];
221
+ }, !0)
222
+ ]),
223
+ _: 3
224
+ }, 16, ["list", "class", "tag", "move"])) : (m(!0), S(G, { key: 1 }, k(o(a), (r, y) => (m(), c(W, v({
225
+ key: r.id,
226
+ widget: r,
227
+ designer: i.designer,
228
+ "design-state": i.designState,
229
+ "parent-list": o(a),
230
+ "parent-widget": i.widget,
231
+ componentName: e.componentName,
232
+ class: e.componentClass
233
+ }, e.componentAttrs, { style: e.componentStyle }), {
234
+ default: w(() => [
235
+ (m(), c(O(o(l)(r)), {
236
+ designer: i.designer,
237
+ widget: r,
238
+ "design-state": i.designState,
239
+ "parent-list": o(a),
240
+ "parent-widget": i.widget
241
+ }, D({ _: 2 }, [
242
+ k(Object.keys(i.$slots), (f) => ({
243
+ name: f,
244
+ fn: w((h) => [
245
+ u(i.$slots, f, L($(h)), void 0, !0)
246
+ ])
247
+ }))
248
+ ]), 1032, ["designer", "widget", "design-state", "parent-list", "parent-widget"]))
249
+ ]),
250
+ _: 2
251
+ }, 1040, ["widget", "designer", "design-state", "parent-list", "parent-widget", "componentName", "class", "style"]))), 128));
252
+ };
253
+ }
254
+ });
255
+ const se = /* @__PURE__ */ E(ie, [["__scopeId", "data-v-6c811d9a"]]);
256
+ export {
257
+ se as D
258
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent as o, openBlock as p, createBlock as t, mergeProps as m } from "vue";
2
+ import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f8da09d0.js";
3
+ import { I as e } from "./widget-base-4c2d6265.js";
4
+ import "./drag-wrapper-227f198f.js";
5
+ import "./baseImp-70f1a9c5.js";
6
+ import "./enum-type-be3a0b8b.js";
7
+ import "./uuid-b302db3f.js";
8
+ import "./enum-type-92806e9d.js";
9
+ import "./icon-e9532b43.js";
10
+ import "./template-9ade074e.js";
11
+ import "./_commonjsHelpers-e7ea1525.js";
12
+ import "./dialog-333d3421.js";
13
+ import "element-plus";
14
+ import "./index-fa19f5d9.js";
15
+ import "./multirow-3ade8c6e.js";
16
+ import "./slot-c6523e8c.js";
17
+ import "./_plugin-vue_export-helper-dad06003.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
19
+ import "./index-f54403db.js";
20
+ import "./share-field-9834aef6.js";
21
+ const j = /* @__PURE__ */ o({
22
+ __name: "drawer-widget",
23
+ props: { ...e },
24
+ setup(s) {
25
+ return (r, a) => (p(), t(i, m(r.$props, { "prop-options": { widgetName: "el-drawer" } }), null, 16));
26
+ }
27
+ });
28
+ export {
29
+ j as default
30
+ };
@@ -0,0 +1,89 @@
1
+ import { defineComponent as w, resolveComponent as a, openBlock as o, createBlock as i, mergeProps as p, unref as e, withCtx as n, toHandlers as D, createSlots as H, createVNode as L, createElementBlock as _, Fragment as f, renderList as u, createElementVNode as g, createTextVNode as T, toDisplayString as W } from "vue";
2
+ import { a as $ } from "./enum-type-be3a0b8b.js";
3
+ import { I as A } from "./field-base-5547436d.js";
4
+ import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-d0e116ac.js";
5
+ import { b as P } from "./share-field-9834aef6.js";
6
+ import { w as I } from "./template-9ade074e.js";
7
+ import { b as K } from "./baseImp-70f1a9c5.js";
8
+ import { g as q } from "./slot-c6523e8c.js";
9
+ import { D as G } from "./drag-wrapper-227f198f.js";
10
+ import "./widget-base-4c2d6265.js";
11
+ import "./uuid-b302db3f.js";
12
+ import "./index-fa19f5d9.js";
13
+ import "./enum-type-92806e9d.js";
14
+ import "./_commonjsHelpers-e7ea1525.js";
15
+ import "./index-f54403db.js";
16
+ import "./icon-e9532b43.js";
17
+ import "./_plugin-vue_export-helper-dad06003.js";
18
+ import "./multirow-3ade8c6e.js";
19
+ import "./dialog-333d3421.js";
20
+ import "element-plus";
21
+ const J = ["innerHTML"], Q = w({ componentName: I.FieldWidget }), ue = /* @__PURE__ */ w({
22
+ ...Q,
23
+ __name: "dropdown-widget",
24
+ props: { ...A },
25
+ setup(y, { expose: k }) {
26
+ var m;
27
+ const b = y, { exposed: v, fieldEditor: S, fieldKey: F, attrs: N, events: O, extendAttrs: h, optionItems: d, slots: j, getFieldOptions: z, fieldObj: C } = P(b), E = (m = d == null ? void 0 : d.value) == null ? void 0 : m.map((r) => {
28
+ const { attrs: c } = K({ options: r }, void 0, { s_attr: !0 });
29
+ return c.value;
30
+ });
31
+ return k({ ...v }), (r, c) => {
32
+ const V = a("el-dropdown-item"), x = a("el-dropdown-menu"), B = a("el-dropdown");
33
+ return o(), i(M, p(r.$props, {
34
+ propOptions: { fieldObj: e(C) }
35
+ }), {
36
+ default: n(({ data: l }) => [
37
+ (o(), i(B, p({
38
+ ref_key: "fieldEditor",
39
+ ref: S,
40
+ key: e(F)
41
+ }, e(N), D(e(O)), {
42
+ size: l.size,
43
+ class: l.injectClass,
44
+ style: l.injectStyle
45
+ }), H({
46
+ dropdown: n(() => [
47
+ L(x, null, {
48
+ default: n(() => [
49
+ (o(!0), _(f, null, u(e(E), (t, s) => (o(), i(V, p({ key: s }, t), {
50
+ default: n(() => [
51
+ g("div", {
52
+ innerHTML: t == null ? void 0 : t.label
53
+ }, null, 8, J)
54
+ ]),
55
+ _: 2
56
+ }, 1040))), 128))
57
+ ]),
58
+ _: 1
59
+ })
60
+ ]),
61
+ _: 2
62
+ }, [
63
+ u(e(q)(e(j), r.designState), (t) => ({
64
+ name: t.slotName,
65
+ fn: n(() => {
66
+ var s;
67
+ return [
68
+ g("div", null, [
69
+ (s = e(h)) != null && s.slotable ? (o(), i(G, p({ key: 0 }, r.$props, {
70
+ widget: t,
71
+ "drag-class": "dragSize1",
72
+ "drag-tip": e($).i18nt("designer.hint.draggableArea1")
73
+ }), null, 16, ["widget", "drag-tip"])) : (o(), _(f, { key: 1 }, [
74
+ T(W(e(z)("content")), 1)
75
+ ], 64))
76
+ ])
77
+ ];
78
+ })
79
+ }))
80
+ ]), 1040, ["size", "class", "style"]))
81
+ ]),
82
+ _: 1
83
+ }, 16, ["propOptions"]);
84
+ };
85
+ }
86
+ });
87
+ export {
88
+ ue as default
89
+ };