hlrender 0.0.100 → 0.0.101

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 (116) hide show
  1. package/{affix-widget-b33a98e1.js → affix-widget-341cfb7e.js} +17 -17
  2. package/{alert-widget-633eb0ac.js → alert-widget-24aa4017.js} +17 -17
  3. package/{anchor-widget-75f6915b.js → anchor-widget-6fc95258.js} +14 -14
  4. package/{auto-complete-widget-7fd2abb6.js → auto-complete-widget-740b814f.js} +17 -17
  5. package/{avatar-widget-7b877144.js → avatar-widget-3ef51396.js} +17 -17
  6. package/{backtop-widget-a5e9c5f4.js → backtop-widget-1536b5e6.js} +17 -17
  7. package/{badge-widget-b772b789.js → badge-widget-83d1ce73.js} +17 -17
  8. package/{baseImp-5b17336a.js → baseImp-838d8fb5.js} +9 -9
  9. package/{breadcrumb-widget-93b99a87.js → breadcrumb-widget-d766fe62.js} +14 -14
  10. package/{button-widget-6fbe1189.js → button-widget-92a775d6.js} +17 -17
  11. package/{cache-widget-d473f695.js → cache-widget-7ebb46cf.js} +16 -16
  12. package/{card-widget-686ae47f.js → card-widget-93d5d629.js} +15 -15
  13. package/{carousel-widget-aa95b97b.js → carousel-widget-e783c590.js} +15 -15
  14. package/{cascader-widget-30d30780.js → cascader-widget-d4e49788.js} +24 -24
  15. package/{chart-widget-64f48e75.js → chart-widget-32fb2572.js} +14 -14
  16. package/{checkbox-widget-6bdebe55.js → checkbox-widget-9aa95a16.js} +16 -16
  17. package/{collapse-widget-ad17e7ce.js → collapse-widget-c3b3b029.js} +15 -15
  18. package/{color-picker-widget-5a96b3dc.js → color-picker-widget-d0c99096.js} +16 -16
  19. package/{cont-cell-widget-8c7a4c0a.js → cont-cell-widget-f7bc7e90.js} +1 -1
  20. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1056f03a.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-778e129d.js} +5 -5
  21. package/{cont-widget-c619d2f1.js → cont-widget-e9007d09.js} +5 -5
  22. package/content-wrapper-1a610d49.js +16 -0
  23. package/{content-wrapper.vue_vue_type_script_setup_true_lang-920821e9.js → content-wrapper.vue_vue_type_script_setup_true_lang-b50d52df.js} +3 -3
  24. package/{date-picker-range-widget-22fa7950.js → date-picker-range-widget-8ccfd6ff.js} +16 -16
  25. package/{date-picker-widget-e85f08b7.js → date-picker-widget-35d7e33f.js} +16 -16
  26. package/default-slot-widget-b2f4b07d.js +26 -0
  27. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b034cae8.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-299c79ad.js} +7 -7
  28. package/{descriptions-widget-10cd8931.js → descriptions-widget-63e09e37.js} +15 -15
  29. package/{dialog-e9330a03.js → dialog-8cf49d1d.js} +2 -2
  30. package/{dialog-widget-0bfe1c42.js → dialog-widget-9bc6608b.js} +16 -16
  31. package/{divider-widget-704c5af7.js → divider-widget-7f2e2a4b.js} +17 -17
  32. package/{drag-wrapper-7a0422c0.js → drag-wrapper-964c15f7.js} +6 -6
  33. package/{drawer-widget-cd6ee68c.js → drawer-widget-0e97996f.js} +16 -16
  34. package/{dropdown-widget-b6d7241f.js → dropdown-widget-ac2ecced.js} +15 -15
  35. package/{empty-widget-3eac14c1.js → empty-widget-7515475c.js} +17 -17
  36. package/{enum-type-f177c9cf.js → enum-type-4a878657.js} +33 -30
  37. package/{enum-type-eacaf465.js → enum-type-c01256f6.js} +2 -2
  38. package/{expression-92cadbfb.js → expression-ab81df05.js} +177 -177
  39. package/feedback-widget-86b0f45f.js +26 -0
  40. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9cd73071.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dc94791b.js} +5 -5
  41. package/{fieldobj-2df290fb.js → fieldobj-374f1c1a.js} +1 -1
  42. package/file-upload-widget-cfecb373.js +162 -0
  43. package/{form-item-wrapper-9660e359.js → form-item-wrapper-f09824fb.js} +12 -12
  44. package/{form-widget-0d930376.js → form-widget-ee77babb.js} +49 -49
  45. package/{grid-col-widget-718c65a0.js → grid-col-widget-c95c696d.js} +1 -1
  46. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-29b6dc07.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-907bb73f.js} +5 -5
  47. package/{grid-widget-d68223a7.js → grid-widget-27779136.js} +5 -5
  48. package/{html-text-widget-1592c26e.js → html-text-widget-0bd1608c.js} +15 -15
  49. package/{icon-e9532b43.js → icon-a0e0cdb0.js} +22 -22
  50. package/icon-widget-488788fa.js +62 -0
  51. package/{iframe-widget-6d71caee.js → iframe-widget-61d99d44.js} +14 -14
  52. package/{image-widget-42d835be.js → image-widget-eddd489f.js} +14 -14
  53. package/{index-85279301.js → index-20591a7f.js} +1316 -1290
  54. package/{index-29f70ed6.js → index-2e433759.js} +2 -2
  55. package/{index-90941780.js → index-e69085b5.js} +4 -4
  56. package/{input-number-widget-edef1d06.js → input-number-widget-e60ab0c7.js} +16 -16
  57. package/{input-widget-7c836745.js → input-widget-c9e6d8b2.js} +17 -17
  58. package/{label-wrapper-05d8f075.js → label-wrapper-860ed446.js} +6 -6
  59. package/{label-wrapper.vue_vue_type_style_index_0_lang-2f174e7a.js → label-wrapper.vue_vue_type_style_index_0_lang-223a3538.js} +3 -3
  60. package/{link-widget-244e11d8.js → link-widget-c37f53da.js} +17 -17
  61. package/{ltable-col-widget-381b27dd.js → ltable-col-widget-68e41fe3.js} +1 -1
  62. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0a2e778b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-327aba60.js} +10 -10
  63. package/{ltable-widget-02607d52.js → ltable-widget-fbbe5cf1.js} +5 -5
  64. package/{menu-widget-00ad97db.js → menu-widget-b988e832.js} +15 -15
  65. package/{model-widget-1b5ab837.js → model-widget-24f816cc.js} +14 -14
  66. package/{multirow-49846c15.js → multirow-f9b50a58.js} +7 -7
  67. package/{multirow-widget-3bc595fe.js → multirow-widget-75f4de44.js} +16 -16
  68. package/package.json +1 -1
  69. package/{pagination-widget-f9a682ec.js → pagination-widget-b2bf91a1.js} +14 -14
  70. package/{picture-upload-widget-174181e9.js → picture-upload-widget-e6d3e5d0.js} +42 -41
  71. package/{progress-widget-2c225e00.js → progress-widget-51ee46bc.js} +15 -15
  72. package/{propresult-88efb2cd.js → propresult-e01e499d.js} +2 -2
  73. package/{radio-widget-385e5174.js → radio-widget-8e92ed81.js} +16 -16
  74. package/{range-widget-da5f9eaf.js → range-widget-d7f545e6.js} +17 -17
  75. package/{rate-widget-2e6f5fc3.js → rate-widget-09a59def.js} +16 -16
  76. package/render.es.js +155 -155
  77. package/render.style.css +1 -1
  78. package/render.umd.js +251 -251
  79. package/{result-widget-945c532c.js → result-widget-e2dead90.js} +20 -20
  80. package/{rich-editor-widget-ec8a05df.js → rich-editor-widget-34c1131f.js} +16 -16
  81. package/{router-widget-efab4060.js → router-widget-df794305.js} +14 -14
  82. package/{select-widget-3738f19f.js → select-widget-661c08bf.js} +16 -16
  83. package/{sfc-4c4de9b9.js → sfc-784ee675.js} +9 -9
  84. package/{share-field-1c102ba4.js → share-field-a4ea3cfb.js} +65 -65
  85. package/share-file-b9a88a87.js +150 -0
  86. package/{slider-widget-e234e4c0.js → slider-widget-249b4352.js} +16 -16
  87. package/{slot-0409dcec.js → slot-52f769bc.js} +3 -3
  88. package/{static-text-widget-4fc3f9d1.js → static-text-widget-65963e5a.js} +15 -15
  89. package/{steps-widget-a5d0a9db.js → steps-widget-4de757fc.js} +14 -14
  90. package/{subMenu-widget-d1ab3457.js → subMenu-widget-8a03f788.js} +9 -9
  91. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-6e807644.js → subMenu-widget.vue_vue_type_script_setup_true_lang-57101136.js} +4 -4
  92. package/{switch-widget-6b390c61.js → switch-widget-082ce3c0.js} +16 -16
  93. package/{tab-pane-widget-a816ed21.js → tab-pane-widget-38537e92.js} +1 -1
  94. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-2e941ff5.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-91fd5262.js} +5 -5
  95. package/table-col-widget-5ec5984c.js +22 -0
  96. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7e88b04b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-2e4e7eca.js} +6 -6
  97. package/{table-widget-4022c649.js → table-widget-5e4a25b3.js} +16 -16
  98. package/{tabs-widget-92b2154c.js → tabs-widget-5b6f7e56.js} +8 -8
  99. package/{tag-widget-a7584b6a.js → tag-widget-524adc92.js} +17 -17
  100. package/{text-widget-e8c1aaf1.js → text-widget-bfb1226a.js} +17 -17
  101. package/{textarea-widget-fdecb7c1.js → textarea-widget-f1aec65b.js} +16 -16
  102. package/{time-picker-range-widget-e0c7059d.js → time-picker-range-widget-09332b59.js} +16 -16
  103. package/{time-picker-widget-b1b72b21.js → time-picker-widget-6f52dc19.js} +19 -19
  104. package/{time-select-widget-174a2167.js → time-select-widget-66c62dc1.js} +19 -19
  105. package/{tmpl-widget-df8283ea.js → tmpl-widget-02058d9e.js} +15 -15
  106. package/{tree-select-widget-b34f2ca4.js → tree-select-widget-a4e62477.js} +16 -16
  107. package/{tree-widget-48104d6a.js → tree-widget-ad31245c.js} +14 -14
  108. package/{uuid-472ff1db.js → uuid-39a489b9.js} +1 -1
  109. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js} +44 -44
  110. package/{wrapper-widget-917c4f6b.js → wrapper-widget-4e995078.js} +6 -6
  111. package/content-wrapper-58a73528.js +0 -16
  112. package/default-slot-widget-bf2a8e3e.js +0 -26
  113. package/feedback-widget-f5d8be6f.js +0 -26
  114. package/file-upload-widget-b5e0f40b.js +0 -161
  115. package/share-file-6e1341fa.js +0 -134
  116. package/table-col-widget-8ef729af.js +0 -22
@@ -0,0 +1,26 @@
1
+ import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dc94791b.js";
2
+ import "vue";
3
+ import "./widget-base-4c2d6265.js";
4
+ import "./drag-wrapper-964c15f7.js";
5
+ import "./baseImp-838d8fb5.js";
6
+ import "./enum-type-4a878657.js";
7
+ import "./uuid-39a489b9.js";
8
+ import "./enum-type-c01256f6.js";
9
+ import "./icon-a0e0cdb0.js";
10
+ import "./expression-ab81df05.js";
11
+ import "./source-map-b04aec4a.js";
12
+ import "./_commonjsHelpers-e7ea1525.js";
13
+ import "./esprima-e8d15055.js";
14
+ import "./dialog-8cf49d1d.js";
15
+ import "element-plus";
16
+ import "./index-20591a7f.js";
17
+ import "./slot-52f769bc.js";
18
+ import "./_plugin-vue_export-helper-dad06003.js";
19
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
20
+ import "./index-2e433759.js";
21
+ import "./fieldobj-374f1c1a.js";
22
+ import "./share-field-a4ea3cfb.js";
23
+ import "./multirow-f9b50a58.js";
24
+ export {
25
+ o as default
26
+ };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as b, ref as F, inject as I, openBlock as a, createBlock as n, mergeProps as p, unref as r, withCtx as C, createElementBlock as i, Fragment as m, renderList as V, resolveDynamicComponent as u, createCommentVNode as g, createVNode as f, isRef as P, toHandlers as R, createSlots as E, createTextVNode as H, toDisplayString as K } from "vue";
2
2
  import { I as M } from "./widget-base-4c2d6265.js";
3
- import { D as o } from "./drag-wrapper-7a0422c0.js";
4
- import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
5
- import { d as U, w as q } from "./expression-92cadbfb.js";
6
- import { b as A } from "./share-field-1c102ba4.js";
7
- import { g as v } from "./slot-0409dcec.js";
3
+ import { D as o } from "./drag-wrapper-964c15f7.js";
4
+ import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
5
+ import { d as U, w as q } from "./expression-ab81df05.js";
6
+ import { b as A } from "./share-field-a4ea3cfb.js";
7
+ import { g as v } from "./slot-52f769bc.js";
8
8
  const G = b({ componentName: q.ContainerWidget }), ee = /* @__PURE__ */ b({
9
9
  ...G,
10
10
  __name: "feedback-widget",
@@ -1,4 +1,4 @@
1
- import { h as O } from "./enum-type-f177c9cf.js";
1
+ import { h as O } from "./enum-type-4a878657.js";
2
2
  function j(t) {
3
3
  return {
4
4
  getAttrProp: (e) => {
@@ -0,0 +1,162 @@
1
+ import { defineComponent as B, computed as G, ref as J, resolveComponent as C, openBlock as i, createBlock as r, mergeProps as n, unref as e, withCtx as o, createElementBlock as U, Fragment as F, toHandlers as S, createSlots as j, createVNode as D, createElementVNode as u, createTextVNode as N, toDisplayString as l, createCommentVNode as f, renderList as M, resolveDynamicComponent as $, normalizeProps as Q } from "vue";
2
+ import { c as a } from "./enum-type-4a878657.js";
3
+ import { I as R } from "./field-base-5547436d.js";
4
+ import { u as X } from "./share-file-b9a88a87.js";
5
+ import { w as Y } from "./expression-ab81df05.js";
6
+ import Z from "./form-item-wrapper-f09824fb.js";
7
+ import { g as ee } from "./slot-52f769bc.js";
8
+ import { D as te } from "./drag-wrapper-964c15f7.js";
9
+ import { UploadFilled as ie } from "./index-ddd23411.js";
10
+ import { _ as oe } from "./_plugin-vue_export-helper-dad06003.js";
11
+ import "./widget-base-4c2d6265.js";
12
+ import "./share-field-a4ea3cfb.js";
13
+ import "./multirow-f9b50a58.js";
14
+ import "./baseImp-838d8fb5.js";
15
+ import "./uuid-39a489b9.js";
16
+ import "./enum-type-c01256f6.js";
17
+ import "./icon-a0e0cdb0.js";
18
+ import "./dialog-8cf49d1d.js";
19
+ import "./_commonjsHelpers-e7ea1525.js";
20
+ import "element-plus";
21
+ import "./index-20591a7f.js";
22
+ import "./source-map-b04aec4a.js";
23
+ import "./esprima-e8d15055.js";
24
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
25
+ import "./index-2e433759.js";
26
+ import "./fieldobj-374f1c1a.js";
27
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-223a3538.js";
28
+ const re = { class: "el-upload__text" }, le = { class: "el-upload__tip" }, ae = { class: "el-upload__tip" }, pe = B({ componentName: Y.FieldWidget }), ne = /* @__PURE__ */ B({
29
+ ...pe,
30
+ __name: "file-upload-widget",
31
+ props: { ...R },
32
+ setup(I, { expose: L }) {
33
+ const x = I, { slots: O, fieldEditor: g, fieldKey: y, uploadData: _, uploadBtnHidden: k, uploadTip: m, exposed: H, rules: P, extendAttrs: c, attrs: d, events: v, fieldObj: A, fileList: h, submitToServer: z } = X(x), K = G(() => x.designState ? [{ uid: 12, url: "12" }] : h), T = J({
34
+ "--select-file-action": `'${a.i18nt("render.hint.selectFile")}'`
35
+ });
36
+ return L({ ...H }), (b, de) => {
37
+ const q = C("el-icon"), w = C("el-upload"), E = C("el-button");
38
+ return i(), r(Z, n(b.$props, {
39
+ propOptions: { fieldObj: e(A), rules: e(P) }
40
+ }), {
41
+ default: o(({ data: p }) => {
42
+ var V, W;
43
+ return [
44
+ e(c).slotable ? (i(), r(w, n({
45
+ ref_key: "fieldEditor",
46
+ ref: g,
47
+ key: e(y)
48
+ }, e(d), S(e(v)), {
49
+ data: e(_),
50
+ style: { ...T.value, ...p.injectStyle },
51
+ "file-list": e(K),
52
+ class: [p.injectClass, e(k) ? "hideUploadDiv" : ""]
53
+ }), j({ _: 2 }, [
54
+ M(e(ee)(e(O), b.designState, (W = e(c)) == null ? void 0 : W.slotable), (t) => ({
55
+ name: t == null ? void 0 : t.slotName,
56
+ fn: o(({ file: s }) => [
57
+ (t == null ? void 0 : t.slotName) === "file" ? (i(), U(F, { key: 0 }, [
58
+ t.default ? (i(), r($(t.default), Q(n({ key: 0 }, { row: s })), null, 16)) : f("", !0)
59
+ ], 64)) : (i(), U(F, { key: 1 }, [
60
+ t.default ? (i(), r($(t.default), { key: 0 })) : f("", !0)
61
+ ], 64)),
62
+ t != null && t.widgetList ? (i(), r(te, n({ key: 2 }, b.$props, {
63
+ widget: t,
64
+ "row-scope": { row: s },
65
+ dragTip: `${e(a).i18nt("designer.hint.draggableArea1")} [${t == null ? void 0 : t.slotName}]`
66
+ }), null, 16, ["widget", "row-scope", "dragTip"])) : f("", !0)
67
+ ])
68
+ }))
69
+ ]), 1040, ["data", "style", "file-list", "class"])) : (i(), U(F, { key: 0 }, [
70
+ (V = e(d)) != null && V.drag ? (i(), r(w, n({
71
+ ref_key: "fieldEditor",
72
+ ref: g,
73
+ key: e(y)
74
+ }, e(d), S(e(v)), {
75
+ data: e(_),
76
+ style: { ...T.value, ...p.injectStyle },
77
+ "file-list": e(h),
78
+ class: [p.injectClass, e(k) ? "hideUploadDiv" : ""]
79
+ }), j({
80
+ default: o(() => [
81
+ D(q, { class: "el-icon--upload" }, {
82
+ default: o(() => [
83
+ D(e(ie))
84
+ ]),
85
+ _: 1
86
+ }),
87
+ u("div", re, [
88
+ N(l(e(a).i18nt("designer.hint.dropFileHere")) + " " + l(e(a).i18nt("designer.hint.or")) + " ", 1),
89
+ u("em", null, l(e(a).i18nt("designer.hint.clickToUpload")), 1)
90
+ ])
91
+ ]),
92
+ _: 2
93
+ }, [
94
+ e(m) ? {
95
+ name: "tip",
96
+ fn: o(() => [
97
+ u("div", le, l(e(m)), 1)
98
+ ]),
99
+ key: "0"
100
+ } : void 0
101
+ ]), 1040, ["data", "style", "file-list", "class"])) : (i(), r(w, n({
102
+ ref_key: "fieldEditor",
103
+ ref: g,
104
+ key: e(y)
105
+ }, e(d), S(e(v)), {
106
+ data: e(_),
107
+ style: { ...T.value, ...p.injectStyle },
108
+ "file-list": e(h),
109
+ class: [p.injectClass, e(k) ? "hideUploadDiv" : ""]
110
+ }), j({
111
+ trigger: o(() => [
112
+ D(E, null, {
113
+ default: o(() => {
114
+ var t;
115
+ return [
116
+ N(l(((t = e(c)) == null ? void 0 : t.uploadTriggerTip) || e(a).i18nt("designer.hint.uploadTriggerTip")), 1)
117
+ ];
118
+ }),
119
+ _: 1
120
+ })
121
+ ]),
122
+ default: o(() => {
123
+ var t;
124
+ return [
125
+ (t = e(d)) != null && t.autoUpload ? f("", !0) : (i(), r(E, {
126
+ key: 0,
127
+ class: "ml-3",
128
+ type: "primary",
129
+ onClick: e(z)
130
+ }, {
131
+ default: o(() => {
132
+ var s;
133
+ return [
134
+ N(l(((s = e(c)) == null ? void 0 : s.submitUploadTip) || e(a).i18nt("designer.hint.submitUploadTip")), 1)
135
+ ];
136
+ }),
137
+ _: 1
138
+ }, 8, ["onClick"]))
139
+ ];
140
+ }),
141
+ _: 2
142
+ }, [
143
+ e(m) ? {
144
+ name: "tip",
145
+ fn: o(() => [
146
+ u("div", ae, l(e(m)), 1)
147
+ ]),
148
+ key: "0"
149
+ } : void 0
150
+ ]), 1040, ["data", "style", "file-list", "class"]))
151
+ ], 64))
152
+ ];
153
+ }),
154
+ _: 1
155
+ }, 16, ["propOptions"]);
156
+ };
157
+ }
158
+ });
159
+ const Ie = /* @__PURE__ */ oe(ne, [["__scopeId", "data-v-68e20a65"]]);
160
+ export {
161
+ Ie as default
162
+ };
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as F, computed as i, resolveComponent as g, openBlock as a, createBlock as _, normalizeProps as h, guardReactiveProps as S, withCtx as n, mergeProps as c, unref as o, createSlots as q, renderSlot as u, createVNode as b, createElementBlock as C, normalizeClass as H, createElementVNode as $, normalizeStyle as N } from "vue";
2
2
  import { I as O } from "./field-base-5547436d.js";
3
- import { _ as w } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
4
- import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-2f174e7a.js";
5
- import { u as x } from "./fieldobj-2df290fb.js";
3
+ import { _ as w } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
4
+ import { _ as v } from "./label-wrapper.vue_vue_type_style_index_0_lang-223a3538.js";
5
+ import { u as x } from "./fieldobj-374f1c1a.js";
6
6
  import { _ as B } from "./_plugin-vue_export-helper-dad06003.js";
7
7
  import "./widget-base-4c2d6265.js";
8
- import "./uuid-472ff1db.js";
9
- import "./enum-type-f177c9cf.js";
10
- import "./index-85279301.js";
11
- import "./enum-type-eacaf465.js";
12
- import "./baseImp-5b17336a.js";
13
- import "./icon-e9532b43.js";
14
- import "./expression-92cadbfb.js";
8
+ import "./uuid-39a489b9.js";
9
+ import "./enum-type-4a878657.js";
10
+ import "./index-20591a7f.js";
11
+ import "./enum-type-c01256f6.js";
12
+ import "./baseImp-838d8fb5.js";
13
+ import "./icon-a0e0cdb0.js";
14
+ import "./expression-ab81df05.js";
15
15
  import "./source-map-b04aec4a.js";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
17
  import "./esprima-e8d15055.js";
18
- import "./dialog-e9330a03.js";
18
+ import "./dialog-8cf49d1d.js";
19
19
  import "element-plus";
20
- import "./index-29f70ed6.js";
20
+ import "./index-2e433759.js";
21
21
  const W = { class: "el-form-item__content" }, j = /* @__PURE__ */ F({
22
22
  __name: "form-item-wrapper",
23
23
  props: { ...O },
@@ -1,16 +1,16 @@
1
- import { ref as Z, reactive as ee, onMounted as ie, nextTick as we, defineComponent as le, resolveComponent as De, resolveDirective as Ve, openBlock as te, createBlock as oe, mergeProps as q, unref as v, withCtx as ae, withDirectives as Le, toHandlers as We, createVNode as xe } from "vue";
1
+ import { ref as Z, reactive as ee, onMounted as le, nextTick as we, defineComponent as ie, resolveComponent as De, resolveDirective as Ve, openBlock as te, createBlock as oe, mergeProps as q, unref as v, withCtx as ne, withDirectives as Le, toHandlers as We, createVNode as xe } from "vue";
2
2
  import { I as Ne } from "./widget-base-4c2d6265.js";
3
- import { D as Oe } from "./drag-wrapper-7a0422c0.js";
4
- import { _ as je } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
5
- import { w as z, b as ne, g as k, f as L, k as Ee } from "./expression-92cadbfb.js";
6
- import { u as Se } from "./icon-e9532b43.js";
7
- import { u as ye, a as ke } from "./multirow-49846c15.js";
8
- import { i as Ae, I as Ie, a as Me, d as Pe, J as Re, x as $e } from "./enum-type-f177c9cf.js";
9
- import { $ as Be, B as He } from "./baseImp-5b17336a.js";
10
- import { f as Te } from "./index-85279301.js";
11
- import { b as qe, a as ze, u as Je } from "./share-field-1c102ba4.js";
12
- import { W as Ke } from "./enum-type-eacaf465.js";
13
- import { F as Ue } from "./slot-0409dcec.js";
3
+ import { D as Oe } from "./drag-wrapper-964c15f7.js";
4
+ import { _ as je } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
5
+ import { w as z, b as ae, g as k, f as L, k as Ee } from "./expression-ab81df05.js";
6
+ import { u as Se } from "./icon-a0e0cdb0.js";
7
+ import { u as ye, a as ke } from "./multirow-f9b50a58.js";
8
+ import { b as Ae, I as Ie, c as Me, d as Pe, J as Re, x as $e } from "./enum-type-4a878657.js";
9
+ import { $ as Be, B as He } from "./baseImp-838d8fb5.js";
10
+ import { f as Te } from "./index-20591a7f.js";
11
+ import { b as qe, a as ze, u as Je } from "./share-field-a4ea3cfb.js";
12
+ import { W as Ke } from "./enum-type-c01256f6.js";
13
+ import { F as Ue } from "./slot-52f769bc.js";
14
14
  import { _ as Ge } from "./_plugin-vue_export-helper-dad06003.js";
15
15
  function Qe(r) {
16
16
  const N = r.widget, f = r.designer, C = f == null ? void 0 : f.pageConfig, b = r == null ? void 0 : r.widgetList, O = Z({}), A = {}, { fieldModel: I, fieldName: M, fieldEditor: u, attrs: j, events: _, hasFieldOptions: E, exposed: F, fieldObj: S, watchOption: g, propResultOpt: w, extendAttrs: D } = qe(r), { off$: W, on$: V, emit$: y, broadcast: x } = ke();
@@ -27,11 +27,11 @@ function Qe(r) {
27
27
  }, fe = () => {
28
28
  W(L.fieldRuleChange), V(L.fieldRuleChange, (e) => {
29
29
  var o;
30
- var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((a) => ({
31
- required: a.required,
32
- message: a.message,
33
- trigger: a.trigger,
34
- validator: a.validator
30
+ var t = (o = e == null ? void 0 : e.rules) == null ? void 0 : o.map((n) => ({
31
+ required: n.required,
32
+ message: n.message,
33
+ trigger: n.trigger,
34
+ validator: n.validator
35
35
  }));
36
36
  Object.assign(B, { [e == null ? void 0 : e.fieldName]: t }), j.value.rules = B;
37
37
  });
@@ -57,38 +57,38 @@ function Qe(r) {
57
57
  }, G = (e, t) => {
58
58
  let o = [];
59
59
  for (let s in e) {
60
- var a = e[s], l = a == null ? void 0 : a.filter((i) => (i == null ? void 0 : i.force) === t);
61
- l == null || l.forEach((i) => {
62
- var n;
63
- const c = (n = i == null ? void 0 : i.rule) == null ? void 0 : n.label;
64
- i.message && o.push(Ee(c ? "【" + c + "】" : "", i.message, ":"));
60
+ var n = e[s], i = n == null ? void 0 : n.filter((l) => (l == null ? void 0 : l.force) === t);
61
+ i == null || i.forEach((l) => {
62
+ var a;
63
+ const c = (a = l == null ? void 0 : l.rule) == null ? void 0 : a.label;
64
+ l.message && o.push(Ee(c ? "【" + c + "】" : "", l.message, ":"));
65
65
  });
66
66
  }
67
67
  return Re(o);
68
68
  }, be = (e, t) => {
69
69
  var o = {};
70
- return Te(t, (a) => {
71
- var l = He.getName(a), s = $e(e, l);
72
- return s && (o[l] = e[l]), s;
70
+ return Te(t, (n) => {
71
+ var i = He.getName(n), s = $e(e, i);
72
+ return s && (o[i] = e[i]), s;
73
73
  }, !1), o;
74
74
  }, Fe = (e = !0) => {
75
- var l, s, i;
75
+ var i, s, l;
76
76
  let t = R(), o = function() {
77
- }, a = new Promise(function(c, n) {
77
+ }, n = new Promise(function(c, a) {
78
78
  o = function(m, d) {
79
- (d ? n : c)({ data: m, isSuccess: !d, message: d });
79
+ (d ? a : c)({ data: m, isSuccess: !d, message: d });
80
80
  };
81
81
  });
82
- return !((l = u.value) != null && l.validate) || !e ? (o(t), a) : ((i = (s = u.value) == null ? void 0 : s.validate) == null || i.call(s, (c, n) => {
82
+ return !((i = u.value) != null && i.validate) || !e ? (o(t), n) : ((l = (s = u.value) == null ? void 0 : s.validate) == null || l.call(s, (c, a) => {
83
83
  if (c)
84
84
  o(t);
85
85
  else {
86
- var m = G(n, !0);
86
+ var m = G(a, !0);
87
87
  if (m && m.length > 0) {
88
88
  o(t, m);
89
89
  return;
90
90
  }
91
- var d = G(n, !1);
91
+ var d = G(a, !1);
92
92
  if (d && d.length > 0) {
93
93
  d.push(Me.i18nt("designer.hint.continue")), Be.multiple(d).then((p) => {
94
94
  o(t);
@@ -96,34 +96,34 @@ function Qe(r) {
96
96
  return;
97
97
  }
98
98
  }
99
- }), a);
99
+ }), n);
100
100
  }, Q = (e, t = !0) => {
101
101
  if (N) {
102
102
  var o = be(e, [N]);
103
- re(o, t), x(z.ContainerWidget, ne.setFormData, e, J), x(z.FieldWidget, ne.setFormData, e, J);
103
+ re(o, t), x(z.ContainerWidget, ae.setFormData, e, J), x(z.FieldWidget, ae.setFormData, e, J);
104
104
  }
105
105
  }, X = (e) => new Promise((t, o) => {
106
- const a = (n, m) => {
106
+ const n = (a, m) => {
107
107
  var p, h, Y;
108
- const d = (p = D.value) != null && p.formDataLoaded ? (Y = (h = D.value) == null ? void 0 : h.formDataLoaded) == null ? void 0 : Y.call(h, R(), n) : n;
108
+ const d = (p = D.value) != null && p.formDataLoaded ? (Y = (h = D.value) == null ? void 0 : h.formDataLoaded) == null ? void 0 : Y.call(h, R(), a) : a;
109
109
  d ? (Q(d, !m), t(d)) : t({});
110
- }, l = () => {
111
- g(e, k.newDataSource, void 0, (n, m) => {
112
- a(n, !0);
110
+ }, i = () => {
111
+ g(e, k.newDataSource, void 0, (a, m) => {
112
+ n(a, !0);
113
113
  });
114
114
  }, s = () => {
115
- g(e, k.editDataSource, void 0, (n, m) => {
115
+ g(e, k.editDataSource, void 0, (a, m) => {
116
116
  var p, h;
117
- if (((h = (p = D.value) == null ? void 0 : p.needFormAdd) == null ? void 0 : h.call(p, n)) && c) {
118
- l();
117
+ if (((h = (p = D.value) == null ? void 0 : p.needFormAdd) == null ? void 0 : h.call(p, a)) && c) {
118
+ i();
119
119
  return;
120
120
  }
121
- a(n, !1);
121
+ n(a, !1);
122
122
  });
123
- }, i = E(k.editDataSource), c = E(k.newDataSource);
124
- i ? s() : c && l();
123
+ }, l = E(k.editDataSource), c = E(k.newDataSource);
124
+ l ? s() : c && i();
125
125
  });
126
- return _e(), ie(() => {
126
+ return _e(), le(() => {
127
127
  Ae(), ge();
128
128
  }), {
129
129
  widgetRefList: O,
@@ -156,7 +156,7 @@ function Qe(r) {
156
156
  fieldObj: S
157
157
  };
158
158
  }
159
- const Xe = le({ componentName: z.ContainerWidget }), Ye = /* @__PURE__ */ le({
159
+ const Xe = ie({ componentName: z.ContainerWidget }), Ye = /* @__PURE__ */ ie({
160
160
  ...Xe,
161
161
  __name: "form-widget",
162
162
  props: { ...Ne },
@@ -166,7 +166,7 @@ const Xe = le({ componentName: z.ContainerWidget }), Ye = /* @__PURE__ */ le({
166
166
  return Ue.globalProvide({
167
167
  globalFormName: F,
168
168
  globalDataModel: b
169
- }), ie(() => {
169
+ }), le(() => {
170
170
  var g;
171
171
  (g = u.value) != null && g.loadDataWhenInit && !f.designState && E(!0).then((w) => {
172
172
  }).catch((w) => {
@@ -178,7 +178,7 @@ const Xe = le({ componentName: z.ContainerWidget }), Ye = /* @__PURE__ */ le({
178
178
  return te(), oe(je, q(g.$props, {
179
179
  "prop-options": { fieldObj: v(_) }
180
180
  }), {
181
- default: ae(({ data: V }) => {
181
+ default: ne(({ data: V }) => {
182
182
  var y, x;
183
183
  return [
184
184
  Le((te(), oe(D, q({
@@ -190,7 +190,7 @@ const Xe = le({ componentName: z.ContainerWidget }), Ye = /* @__PURE__ */ le({
190
190
  key: (y = v(_)) == null ? void 0 : y.fieldKey,
191
191
  "element-loading-text": v(u).loadingText
192
192
  }), {
193
- default: ae(() => [
193
+ default: ne(() => [
194
194
  xe(Oe, q(g.$props, {
195
195
  dragClass: "formDrag",
196
196
  model: v(b),
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-29b6dc07.js";
1
+ import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-907bb73f.js";
2
2
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  default: e
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as m, computed as l, reactive as w, openBlock as y, createBlock as C, mergeProps as c, unref as t, withCtx as O, createVNode as W } from "vue";
2
- import { w as b } from "./expression-92cadbfb.js";
2
+ import { w as b } from "./expression-ab81df05.js";
3
3
  import { I as k } from "./widget-base-4c2d6265.js";
4
- import { D as x } from "./drag-wrapper-7a0422c0.js";
5
- import { _ as A } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
6
- import { b as j } from "./share-field-1c102ba4.js";
7
- import { c as H } from "./slot-0409dcec.js";
4
+ import { D as x } from "./drag-wrapper-964c15f7.js";
5
+ import { _ as A } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
6
+ import { b as j } from "./share-field-a4ea3cfb.js";
7
+ import { c as H } from "./slot-52f769bc.js";
8
8
  const $ = m({ componentName: b.ContainerWidget }), S = /* @__PURE__ */ m({
9
9
  ...$,
10
10
  __name: "grid-col-widget",
@@ -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 { g as k, w as y } from "./expression-92cadbfb.js";
2
+ import { g as k, w as y } from "./expression-ab81df05.js";
3
3
  import { I as C } from "./widget-base-4c2d6265.js";
4
- import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-29b6dc07.js";
5
- import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
6
- import { b as j } from "./share-field-1c102ba4.js";
7
- import { c as P } from "./slot-0409dcec.js";
4
+ import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-907bb73f.js";
5
+ import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
6
+ import { b as j } from "./share-field-a4ea3cfb.js";
7
+ import { c as P } from "./slot-52f769bc.js";
8
8
  const v = p({ componentName: y.ContainerWidget }), B = /* @__PURE__ */ p({
9
9
  ...v,
10
10
  __name: "grid-widget",
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as i, 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-5547436d.js";
3
- import { b as P } from "./share-field-1c102ba4.js";
4
- import { w as b } from "./expression-92cadbfb.js";
5
- import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js";
6
- import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-920821e9.js";
7
- import { O as F } from "./enum-type-f177c9cf.js";
3
+ import { b as P } from "./share-field-a4ea3cfb.js";
4
+ import { w as b } from "./expression-ab81df05.js";
5
+ import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea314a4.js";
6
+ import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-b50d52df.js";
7
+ import { O as F } from "./enum-type-4a878657.js";
8
8
  import "./widget-base-4c2d6265.js";
9
- import "./multirow-49846c15.js";
10
- import "./baseImp-5b17336a.js";
11
- import "./uuid-472ff1db.js";
12
- import "./enum-type-eacaf465.js";
13
- import "./icon-e9532b43.js";
14
- import "./dialog-e9330a03.js";
9
+ import "./multirow-f9b50a58.js";
10
+ import "./baseImp-838d8fb5.js";
11
+ import "./uuid-39a489b9.js";
12
+ import "./enum-type-c01256f6.js";
13
+ import "./icon-a0e0cdb0.js";
14
+ import "./dialog-8cf49d1d.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
16
  import "element-plus";
17
- import "./index-85279301.js";
18
- import "./slot-0409dcec.js";
17
+ import "./index-20591a7f.js";
18
+ import "./slot-52f769bc.js";
19
19
  import "./source-map-b04aec4a.js";
20
20
  import "./esprima-e8d15055.js";
21
- import "./index-29f70ed6.js";
21
+ import "./index-2e433759.js";
22
22
  import "./_plugin-vue_export-helper-dad06003.js";
23
- import "./fieldobj-2df290fb.js";
23
+ import "./fieldobj-374f1c1a.js";
24
24
  const O = i({ componentName: b.FieldWidget }), U = /* @__PURE__ */ i({
25
25
  ...O,
26
26
  __name: "html-text-widget",
@@ -3,18 +3,18 @@ var g;
3
3
  const p = typeof window < "u", E = () => {
4
4
  };
5
5
  p && ((g = window == null ? void 0 : window.navigator) != null && g.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
6
- function N(t, e = !1, n = "Timeout") {
6
+ function N(e, t = !1, n = "Timeout") {
7
7
  return new Promise((o, a) => {
8
- setTimeout(e ? () => a(n) : o, t);
8
+ setTimeout(t ? () => a(n) : o, e);
9
9
  });
10
10
  }
11
- function $(t) {
12
- return t;
11
+ function $(e) {
12
+ return e;
13
13
  }
14
14
  p && window.document;
15
15
  p && window.navigator;
16
16
  p && window.location;
17
- function R(t, e, n) {
17
+ function R(e, t, n) {
18
18
  const {
19
19
  immediate: o = !0,
20
20
  delay: a = 0,
@@ -23,10 +23,10 @@ function R(t, e, n) {
23
23
  resetOnExecute: v = !0,
24
24
  shallow: c = !0,
25
25
  throwError: f
26
- } = n ?? {}, r = c ? Q(e) : d(e), w = d(!1), O = d(!1), l = d(void 0);
26
+ } = n ?? {}, r = c ? Q(t) : d(t), w = d(!1), O = d(!1), l = d(void 0);
27
27
  async function y(_ = 0, ...T) {
28
- v && (r.value = e), l.value = void 0, w.value = !1, O.value = !0, _ > 0 && await N(_);
29
- const P = typeof t == "function" ? t(...T) : t;
28
+ v && (r.value = t), l.value = void 0, w.value = !1, O.value = !0, _ > 0 && await N(_);
29
+ const P = typeof e == "function" ? e(...T) : e;
30
30
  try {
31
31
  const s = await P;
32
32
  r.value = s, w.value = !0, i(s);
@@ -50,16 +50,16 @@ const m = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window :
50
50
  m[I] = m[I] || {};
51
51
  m[I];
52
52
  var h;
53
- (function(t) {
54
- t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
53
+ (function(e) {
54
+ e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
55
55
  })(h || (h = {}));
56
- var j = Object.defineProperty, x = Object.getOwnPropertySymbols, A = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable, C = (t, e, n) => e in t ? j(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, L = (t, e) => {
57
- for (var n in e || (e = {}))
58
- A.call(e, n) && C(t, n, e[n]);
56
+ var j = Object.defineProperty, x = Object.getOwnPropertySymbols, A = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable, C = (e, t, n) => t in e ? j(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, L = (e, t) => {
57
+ for (var n in t || (t = {}))
58
+ A.call(t, n) && C(e, n, t[n]);
59
59
  if (x)
60
- for (var n of x(e))
61
- B.call(e, n) && C(t, n, e[n]);
62
- return t;
60
+ for (var n of x(t))
61
+ B.call(t, n) && C(e, n, t[n]);
62
+ return e;
63
63
  };
64
64
  const F = {
65
65
  easeInSine: [0.12, 0, 0.39, 0],
@@ -90,11 +90,11 @@ const F = {
90
90
  L({
91
91
  linear: $
92
92
  }, F);
93
- function H(t) {
93
+ function H(e) {
94
94
  var c, f, r;
95
- const e = () => b(), n = t ?? e(), o = (r = (f = (c = n == null ? void 0 : n.appContext) == null ? void 0 : c.app) == null ? void 0 : f.config) == null ? void 0 : r.globalProperties, a = o == null ? void 0 : o.$message, u = o == null ? void 0 : o.$confirm, i = o == null ? void 0 : o.$prompt, v = n == null ? void 0 : n.proxy;
95
+ const t = () => b(), n = e || t(), o = (r = (f = (c = n == null ? void 0 : n.appContext) == null ? void 0 : c.app) == null ? void 0 : f.config) == null ? void 0 : r.globalProperties, a = o == null ? void 0 : o.$message, u = o == null ? void 0 : o.$confirm, i = o == null ? void 0 : o.$prompt, v = n == null ? void 0 : n.proxy;
96
96
  return {
97
- getInstance: e,
97
+ getInstance: t,
98
98
  instance: n,
99
99
  proxy: v,
100
100
  $message: a,
@@ -103,12 +103,12 @@ function H(t) {
103
103
  globalProperties: o
104
104
  };
105
105
  }
106
- const S = (t, e) => {
106
+ const S = (e, t) => {
107
107
  const { state: n } = R(async () => {
108
108
  const o = await import("./index-ddd23411.js");
109
- var a = Object.entries(o).find(([u, i]) => u === t);
109
+ var a = Object.entries(o).find(([u, i]) => u === e);
110
110
  if (a)
111
- return e != null && e.appContext.components[a[0]] || e == null || e.appContext.app.component(a[0], a[1]), a == null ? void 0 : a[1];
111
+ return t != null && t.appContext.components[a[0]] || t == null || t.appContext.app.component(a[0], a[1]), a == null ? void 0 : a[1];
112
112
  }, null);
113
113
  return n;
114
114
  };