hlrender 0.0.261 → 0.0.263

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 (67) hide show
  1. package/{affix-widget-8f89103f.js → affix-widget-eb7534b3.js} +2 -2
  2. package/{alert-widget-bbafe98e.js → alert-widget-b073dd1d.js} +2 -2
  3. package/{auto-complete-widget-45afe1cf.js → auto-complete-widget-6253f933.js} +1 -1
  4. package/{avatar-widget-2c51cdaa.js → avatar-widget-6b3fdead.js} +2 -2
  5. package/{backtop-widget-aa042580.js → backtop-widget-725bc577.js} +2 -2
  6. package/{badge-widget-2d45bfc4.js → badge-widget-55c629fc.js} +2 -2
  7. package/{button-widget-a469408c.js → button-widget-38484686.js} +2 -2
  8. package/{card-widget-d557a847.js → card-widget-dc9a8246.js} +1 -1
  9. package/{carousel-widget-d8f4fb08.js → carousel-widget-298ccbb4.js} +1 -1
  10. package/{collapse-widget-0a3fab45.js → collapse-widget-fc47ff63.js} +1 -1
  11. package/{cont-cell-widget-e596dbff.js → cont-cell-widget-c576e3c2.js} +1 -1
  12. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b5ebb0f8.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-539faf08.js} +1 -1
  13. package/{cont-widget-5af267ec.js → cont-widget-6412acc4.js} +1 -1
  14. package/{countdown-widget-f0c02559.js → countdown-widget-cd0abb5e.js} +2 -2
  15. package/{default-slot-widget-75314bb2.js → default-slot-widget-4b4b03c5.js} +2 -2
  16. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9e1b991c.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-400090ef.js} +1 -1
  17. package/{descriptions-widget-37206469.js → descriptions-widget-5d4431a2.js} +1 -1
  18. package/{dialog-widget-a76237ca.js → dialog-widget-053773ff.js} +2 -2
  19. package/{divider-widget-fb473d69.js → divider-widget-26c96868.js} +2 -2
  20. package/{drag-wrapper-d6ba98dc.js → drag-wrapper-d09f7ca4.js} +1 -1
  21. package/{drawer-widget-e9fb8e3e.js → drawer-widget-d4045c97.js} +2 -2
  22. package/{dropdown-widget-a48a7c9a.js → dropdown-widget-960e19ab.js} +1 -1
  23. package/{empty-widget-8317dc9a.js → empty-widget-293b6005.js} +2 -2
  24. package/{feedback-widget-01aed670.js → feedback-widget-79ae9a9d.js} +2 -2
  25. package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ded0279f.js +98 -0
  26. package/{file-upload-widget-0ba6118e.js → file-upload-widget-966baf33.js} +1 -1
  27. package/form-widget-f57df182.js +245 -0
  28. package/{grid-col-widget-54bc6262.js → grid-col-widget-f2b3a919.js} +1 -1
  29. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-1f85c66a.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-0c2c6634.js} +1 -1
  30. package/{grid-widget-b19fafc4.js → grid-widget-201c1df3.js} +1 -1
  31. package/{hcard-widget-34c18fbf.js → hcard-widget-bd564cf4.js} +1 -1
  32. package/iframe-widget-1be091a4.js +112 -0
  33. package/{input-tag-widget-ac2e8c08.js → input-tag-widget-1e04a1c2.js} +1 -1
  34. package/{input-widget-6b7d0907.js → input-widget-fddf49de.js} +1 -1
  35. package/{link-widget-3e695832.js → link-widget-00bdedb7.js} +2 -2
  36. package/{ltable-col-widget-1f487913.js → ltable-col-widget-b3130bec.js} +1 -1
  37. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cbcec3c6.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-3969dcee.js} +1 -1
  38. package/{ltable-widget-5fce74c2.js → ltable-widget-de6a6c06.js} +1 -1
  39. package/{mention-widget-a39dda5c.js → mention-widget-2e3d94c0.js} +1 -1
  40. package/{multirow-widget-4426b25e.js → multirow-widget-9f45cacf.js} +1 -1
  41. package/package.json +1 -1
  42. package/{progress-widget-b56bd568.js → progress-widget-b8483c65.js} +1 -1
  43. package/{range-widget-5555bbd4.js → range-widget-ed68d87a.js} +1 -1
  44. package/render.es.js +15 -15
  45. package/render.style.css +1 -1
  46. package/render.umd.js +70 -70
  47. package/{result-widget-c0a4c7b6.js → result-widget-e0b30874.js} +1 -1
  48. package/{skeleton-widget-b2f9ac03.js → skeleton-widget-03a662e3.js} +2 -2
  49. package/{space-widget-204685d5.js → space-widget-3d92f125.js} +1 -1
  50. package/{splitter-widget-0dc82906.js → splitter-widget-6b006a64.js} +1 -1
  51. package/{statistic-widget-61e95cec.js → statistic-widget-a6518c56.js} +2 -2
  52. package/{tab-pane-widget-b655fba9.js → tab-pane-widget-daff47b9.js} +1 -1
  53. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0e2fd924.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-408c10d6.js} +1 -1
  54. package/{table-col-widget-e7b44c29.js → table-col-widget-81de5eff.js} +2 -2
  55. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-14581f36.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-95ce762e.js} +1 -1
  56. package/{table-widget-21374d43.js → table-widget-ce89bad0.js} +2 -2
  57. package/{tabs-widget-1dc9e059.js → tabs-widget-e7f5f8fe.js} +1 -1
  58. package/{tag-widget-1fb1461b.js → tag-widget-7dcb7862.js} +2 -2
  59. package/{text-widget-9c7138af.js → text-widget-93a0ec37.js} +2 -2
  60. package/{timeline-widget-0850226d.js → timeline-widget-de78fb6b.js} +1 -1
  61. package/{tmpl-widget-ea803150.js → tmpl-widget-199d4484.js} +1 -1
  62. package/{tooltip-widget-1dcc7725.js → tooltip-widget-17b4b724.js} +1 -1
  63. package/{transfer-widget-c4f4e19d.js → transfer-widget-2953c4c2.js} +1 -1
  64. package/{wrapper-widget-12a431a7.js → wrapper-widget-e6b057f2.js} +1 -1
  65. package/feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-42c9e00c.js +0 -90
  66. package/form-widget-7f87bbc2.js +0 -254
  67. package/iframe-widget-38ec65d8.js +0 -112
@@ -4,7 +4,7 @@ import { I as B } from "./field-base-1acf3ada.js";
4
4
  import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
5
5
  import { b as I } from "./share-field-2da1362d.js";
6
6
  import { w as O } from "./expression-d3cb34e4.js";
7
- import { D as P } from "./drag-wrapper-d6ba98dc.js";
7
+ import { D as P } from "./drag-wrapper-d09f7ca4.js";
8
8
  import { g as W } from "./slot-b7b38779.js";
9
9
  import "./widget-base-8eece820.js";
10
10
  import "./index-e4735294.js";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as $, computed as l, openBlock as p, createBlock as d, normalizeProps as B, mergeProps as m, withCtx as I, createVNode as v, unref as t, createElementVNode as S, toDisplayString as V, resolveDynamicComponent as E, createCommentVNode as N } from "vue";
2
2
  import { i as _, e as s } from "./enum-type-3a8fb8c6.js";
3
- import { _ as K } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9e1b991c.js";
3
+ import { _ as K } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-400090ef.js";
4
4
  import { I as W } from "./field-base-1acf3ada.js";
5
5
  import { b as T } from "./share-field-2da1362d.js";
6
6
  import { w as q } from "./expression-d3cb34e4.js";
7
- import { D as O } from "./drag-wrapper-d6ba98dc.js";
7
+ import { D as O } from "./drag-wrapper-d09f7ca4.js";
8
8
  import { g as G, d as k } from "./slot-b7b38779.js";
9
9
  import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
10
10
  import { t as J } from "./index-31e1760d.js";
@@ -3,7 +3,7 @@ import { I as V } from "./field-base-1acf3ada.js";
3
3
  import { w as H } from "./expression-d3cb34e4.js";
4
4
  import { b as J } from "./share-field-2da1362d.js";
5
5
  import { a6 as c, t as K } from "./enum-type-73ded6bf.js";
6
- import { C as W, D as b, u as q } from "./drag-wrapper-d6ba98dc.js";
6
+ import { C as W, D as b, u as q } from "./drag-wrapper-d09f7ca4.js";
7
7
  import { d as G } from "./slot-b7b38779.js";
8
8
  import { f as M, e as O } from "./enum-type-3a8fb8c6.js";
9
9
  import { _ as v } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
@@ -3,7 +3,7 @@ import { I as h } from "./field-base-1acf3ada.js";
3
3
  import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
4
4
  import { b as U } from "./share-field-2da1362d.js";
5
5
  import { w as A } from "./expression-d3cb34e4.js";
6
- import { D as H } from "./drag-wrapper-d6ba98dc.js";
6
+ import { D as H } from "./drag-wrapper-d09f7ca4.js";
7
7
  import { d as K } from "./baseImp-955d59e1.js";
8
8
  import "./widget-base-8eece820.js";
9
9
  import "./enum-type-3a8fb8c6.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, openBlock as n, createBlock as d, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-1acf3ada.js";
3
- import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9e1b991c.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-400090ef.js";
4
4
  import { w as _ } from "./expression-d3cb34e4.js";
5
5
  import { b as u } from "./share-field-2da1362d.js";
6
6
  import "./widget-base-8eece820.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-bd74f957.js";
20
20
  import "./slot-b7b38779.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-18c00212.js";
22
- import "./drag-wrapper-d6ba98dc.js";
22
+ import "./drag-wrapper-d09f7ca4.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  import "./multirow-1a787997.js";
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0e2fd924.js";
1
+ import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-408c10d6.js";
2
2
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  default: e
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as n, openBlock as u, createBlock as g, mergeProps as r, unref as e, withCtx as w, createVNode as _ } from "vue";
2
2
  import { w as h } from "./expression-d3cb34e4.js";
3
3
  import { I as C } from "./widget-base-8eece820.js";
4
- import { D as b } from "./drag-wrapper-d6ba98dc.js";
4
+ import { D as b } from "./drag-wrapper-d09f7ca4.js";
5
5
  import { _ as W } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
6
6
  import { c as k } from "./slot-b7b38779.js";
7
7
  import { b as O } from "./share-field-2da1362d.js";
@@ -1,4 +1,4 @@
1
- import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-14581f36.js";
1
+ import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-95ce762e.js";
2
2
  import "vue";
3
3
  import "./enum-type-3a8fb8c6.js";
4
4
  import "./baseImp-955d59e1.js";
@@ -11,7 +11,7 @@ import "./esprima-e8d15055.js";
11
11
  import "./icon-1fc5d00d.js";
12
12
  import "./dialog-29f50f22.js";
13
13
  import "element-plus";
14
- import "./drag-wrapper-d6ba98dc.js";
14
+ import "./drag-wrapper-d09f7ca4.js";
15
15
  import "./widget-base-8eece820.js";
16
16
  import "./index-e4735294.js";
17
17
  import "./slot-b7b38779.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as H, computed as O, resolveComponent as J, openBlock as g, createBlock as p, normalizeProps as K, guardReactiveProps as Q, withCtx as W, unref as t, resolveDynamicComponent as $, createCommentVNode as y, createElementBlock as E, Fragment as N, renderList as U } from "vue";
2
2
  import { j as P, e as j, c as z } from "./enum-type-3a8fb8c6.js";
3
3
  import { g as X, b as Y } from "./baseImp-955d59e1.js";
4
- import { D as A } from "./drag-wrapper-d6ba98dc.js";
4
+ import { D as A } from "./drag-wrapper-d09f7ca4.js";
5
5
  import { d as S } from "./slot-b7b38779.js";
6
6
  import { b as Z } from "./multirow-1a787997.js";
7
7
  import { g as q } from "./uuid-1df422c5.js";
@@ -5,11 +5,11 @@ import { I as pt } from "./field-base-1acf3ada.js";
5
5
  import { _ as ft } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
6
6
  import { b as gt } from "./share-field-2da1362d.js";
7
7
  import { d as mt, s as vt, w as ht, b as bt } from "./expression-d3cb34e4.js";
8
- import { _ as yt } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-14581f36.js";
8
+ import { _ as yt } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-95ce762e.js";
9
9
  import { F as St, d as _t, g as Nt } from "./slot-b7b38779.js";
10
10
  import { c as kt, p as me } from "./multirow-1a787997.js";
11
11
  import { S as Pt } from "./enum-type-73ded6bf.js";
12
- import { D as ve } from "./drag-wrapper-d6ba98dc.js";
12
+ import { D as ve } from "./drag-wrapper-d09f7ca4.js";
13
13
  import { Grid as Ct } from "./index-6bcfdc22.js";
14
14
  import "./icon-1fc5d00d.js";
15
15
  import "./dialog-29f50f22.js";
@@ -4,7 +4,7 @@ import { b as Q, w as X } from "./expression-d3cb34e4.js";
4
4
  import { I as Y } from "./widget-base-8eece820.js";
5
5
  import { b as Z } from "./share-field-2da1362d.js";
6
6
  import { _ as ee } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
7
- import { _ as te } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0e2fd924.js";
7
+ import { _ as te } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-408c10d6.js";
8
8
  import { u as ae } from "./index-e4735294.js";
9
9
  import { B as T } from "./baseImp-955d59e1.js";
10
10
  const oe = y({ componentName: X.ContainerWidget }), se = /* @__PURE__ */ y({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as t, openBlock as n, createBlock as d, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-1acf3ada.js";
3
- import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9e1b991c.js";
3
+ import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-400090ef.js";
4
4
  import { w as c } from "./expression-d3cb34e4.js";
5
5
  import { b as u } from "./share-field-2da1362d.js";
6
6
  import "./widget-base-8eece820.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-bd74f957.js";
20
20
  import "./slot-b7b38779.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-18c00212.js";
22
- import "./drag-wrapper-d6ba98dc.js";
22
+ import "./drag-wrapper-d09f7ca4.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  import "./multirow-1a787997.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as t, openBlock as n, createBlock as d, mergeProps as f, unref as l } from "vue";
2
2
  import { I as a } from "./field-base-1acf3ada.js";
3
- import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9e1b991c.js";
3
+ import { _ } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-400090ef.js";
4
4
  import { w as c } from "./expression-d3cb34e4.js";
5
5
  import { b as u } from "./share-field-2da1362d.js";
6
6
  import "./widget-base-8eece820.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-bd74f957.js";
20
20
  import "./slot-b7b38779.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-18c00212.js";
22
- import "./drag-wrapper-d6ba98dc.js";
22
+ import "./drag-wrapper-d09f7ca4.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  import "./multirow-1a787997.js";
@@ -4,7 +4,7 @@ import { I as ne } from "./field-base-1acf3ada.js";
4
4
  import { _ as pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
5
5
  import { b as ae } from "./share-field-2da1362d.js";
6
6
  import { b as le, w as ce } from "./expression-d3cb34e4.js";
7
- import { D as _ } from "./drag-wrapper-d6ba98dc.js";
7
+ import { D as _ } from "./drag-wrapper-d09f7ca4.js";
8
8
  import { r as ue } from "./index-e4735294.js";
9
9
  import { c as de } from "./enum-type-73ded6bf.js";
10
10
  import { P as h, b as fe } from "./baseImp-955d59e1.js";
@@ -3,7 +3,7 @@ import { e as q, t as G, f as H } from "./enum-type-3a8fb8c6.js";
3
3
  import { I as K } from "./widget-base-8eece820.js";
4
4
  import { b as Q } from "./share-field-2da1362d.js";
5
5
  import { _ as U } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
6
- import { D as v } from "./drag-wrapper-d6ba98dc.js";
6
+ import { D as v } from "./drag-wrapper-d09f7ca4.js";
7
7
  import { i as X, d as Y } from "./slot-b7b38779.js";
8
8
  import { c as Z } from "./multirow-1a787997.js";
9
9
  import { d as ee, b as te } from "./expression-d3cb34e4.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as $, ref as F, computed as I, resolveComponent as P, openBlock as t, createBlock as o, mergeProps as n, unref as a, withCtx as V, createElementBlock as p, Fragment as C, renderList as b, resolveDynamicComponent as f, createCommentVNode as l, createVNode as g, isRef as x, toHandlers as H, createSlots as K } from "vue";
2
2
  import { I as L } from "./widget-base-8eece820.js";
3
- import { D as c } from "./drag-wrapper-d6ba98dc.js";
3
+ import { D as c } from "./drag-wrapper-d09f7ca4.js";
4
4
  import { _ as M } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
5
5
  import { w as R } from "./expression-d3cb34e4.js";
6
6
  import { b as U } from "./share-field-2da1362d.js";
@@ -5,7 +5,7 @@ import { b as L } from "./share-field-2da1362d.js";
5
5
  import { g as P } from "./slot-b7b38779.js";
6
6
  import T from "./form-item-wrapper-78a5a475.js";
7
7
  import { w as $ } from "./expression-d3cb34e4.js";
8
- import { D as h } from "./drag-wrapper-d6ba98dc.js";
8
+ import { D as h } from "./drag-wrapper-d09f7ca4.js";
9
9
  import "./widget-base-8eece820.js";
10
10
  import "./multirow-1a787997.js";
11
11
  import "./baseImp-955d59e1.js";
@@ -1,6 +1,6 @@
1
1
  import { ref as P, watch as j, defineComponent as y, computed as L, resolveDirective as O, openBlock as h, createBlock as D, mergeProps as C, unref as r, withCtx as F, withDirectives as S, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as k } from "vue";
2
2
  import { I as A } from "./widget-base-8eece820.js";
3
- import { D as B } from "./drag-wrapper-d6ba98dc.js";
3
+ import { D as B } from "./drag-wrapper-d09f7ca4.js";
4
4
  import { _ as I } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
5
5
  import { w as N } from "./expression-d3cb34e4.js";
6
6
  import { W } from "./enum-type-73ded6bf.js";
@@ -1,90 +0,0 @@
1
- import { defineComponent as h, ref as P, inject as A, openBlock as a, createBlock as t, mergeProps as p, unref as d, withCtx as y, createElementBlock as n, Fragment as g, renderList as O, resolveDynamicComponent as m, createCommentVNode as o, createVNode as c, isRef as E, toHandlers as H, createSlots as K, createTextVNode as M, toDisplayString as T } from "vue";
2
- import { I as U } from "./widget-base-8eece820.js";
3
- import { D as k } from "./drag-wrapper-d6ba98dc.js";
4
- import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
5
- import { d as x, w as G } from "./expression-d3cb34e4.js";
6
- import { b as J } from "./share-field-2da1362d.js";
7
- import { g as $ } from "./slot-b7b38779.js";
8
- import { i as Q } from "./enum-type-3a8fb8c6.js";
9
- const X = h({ componentName: G.ContainerWidget }), te = /* @__PURE__ */ h({
10
- ...X,
11
- __name: "feedback-widget",
12
- props: { ...U },
13
- setup(j, { expose: z }) {
14
- var S;
15
- const i = j, { fieldKey: D, attrs: w, events: L, slots: N, fieldModel: l, exposed: B, fieldObj: R, extendAttrs: W } = J(i), F = P();
16
- F.value = (i == null ? void 0 : i.designState) === !0 ? "div" : (S = i.propOptions) == null ? void 0 : S.widgetName;
17
- const I = A(x.refList), v = (r) => {
18
- var s, f;
19
- var u = (f = W.value) == null ? void 0 : f[(s = r == null ? void 0 : r.options) == null ? void 0 : s.enableName];
20
- return Q(u) || !!u;
21
- };
22
- return z({ ...B, parentRefList: I }), (r, u) => (a(), t(q, p(r.$props, {
23
- propOptions: { fieldObj: d(R) }
24
- }), {
25
- default: y(({ data: s }) => {
26
- var f;
27
- return [
28
- r.designState ? (a(), n("div", { key: d(D) }, [
29
- r.designState ? (a(!0), n(g, { key: 0 }, O(d($)(d(N), r.designState, void 0, v), (e) => (a(), n("div", {
30
- key: e.slotName,
31
- style: { border: "1px dashed black" }
32
- }, [
33
- e != null && e.default ? (a(), t(m(e == null ? void 0 : e.default), { key: 0 })) : o("", !0),
34
- c(k, p({ ref_for: !0 }, r.$props, {
35
- widget: e,
36
- title: e.slotName,
37
- dragClass: "dragSize1"
38
- }), null, 16, ["widget", "title"])
39
- ]))), 128)) : o("", !0)
40
- ])) : (a(), t(m((f = i.propOptions) == null ? void 0 : f.widgetName), p({
41
- key: 1,
42
- modelValue: d(l),
43
- "onUpdate:modelValue": u[0] || (u[0] = (e) => E(l) ? l.value = e : null)
44
- }, d(w), H(d(L)), {
45
- class: s.injectClass
46
- }), K({ _: 2 }, [
47
- O(d($)(d(N), !1, void 0, v), (e) => ({
48
- name: e.slotName,
49
- fn: y(() => {
50
- var C, V, b;
51
- return [
52
- e.slotName === "default" ? (a(), t(m((C = i.propOptions) != null && C.oneRoot ? "div" : "template"), { key: 0 }, {
53
- default: y(() => [
54
- e != null && e.default ? (a(), t(m(e == null ? void 0 : e.default), { key: 0 })) : o("", !0),
55
- c(k, p(r.$props, {
56
- widget: e,
57
- dragClass: "dragSize1"
58
- }), null, 16, ["widget"])
59
- ]),
60
- _: 2
61
- }, 1024)) : e.slotName === "header" ? (a(), n(g, { key: 1 }, [
62
- e.default || (((V = e.widgetList) == null ? void 0 : V.length) || 0) > 0 ? (a(), n(g, { key: 0 }, [
63
- e != null && e.default ? (a(), t(m(e == null ? void 0 : e.default), { key: 0 })) : o("", !0),
64
- c(k, p(r.$props, {
65
- widget: e,
66
- dragClass: "dragSize1"
67
- }), null, 16, ["widget"])
68
- ], 64)) : (a(), n(g, { key: 1 }, [
69
- M(T((b = d(w)) == null ? void 0 : b.title), 1)
70
- ], 64))
71
- ], 64)) : (a(), n(g, { key: 2 }, [
72
- e != null && e.default ? (a(), t(m(e == null ? void 0 : e.default), { key: 0 })) : o("", !0),
73
- c(k, p(r.$props, {
74
- widget: e,
75
- dragClass: "dragSize1"
76
- }), null, 16, ["widget"])
77
- ], 64))
78
- ];
79
- })
80
- }))
81
- ]), 1040, ["modelValue", "class"]))
82
- ];
83
- }),
84
- _: 1
85
- }, 16, ["propOptions"]));
86
- }
87
- });
88
- export {
89
- te as _
90
- };
@@ -1,254 +0,0 @@
1
- import { ref as B, reactive as X, onMounted as pe, nextTick as je, defineComponent as ge, computed as de, resolveComponent as ye, resolveDirective as Me, openBlock as re, createBlock as se, mergeProps as Y, unref as _, withCtx as fe, withDirectives as Re, toHandlers as Ae, withModifiers as Pe, createVNode as $e } from "vue";
2
- import { I as ke } from "./widget-base-8eece820.js";
3
- import { D as Ie } from "./drag-wrapper-d6ba98dc.js";
4
- import { _ as Be } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-69f8bf9b.js";
5
- import { w as ee, a as ce, b as I, f as S, i as qe } from "./expression-d3cb34e4.js";
6
- import { u as He } from "./icon-1fc5d00d.js";
7
- import { u as Te, a as ze } from "./multirow-1a787997.js";
8
- import { b as Ge, G as Z, M as ue, e as Ke, d as me, N as ve, O as Ue, A as Je, g as Qe } from "./enum-type-3a8fb8c6.js";
9
- import { $ as Xe, B as Ye } from "./baseImp-955d59e1.js";
10
- import { f as Ze } from "./index-e4735294.js";
11
- import { b as et, a as tt, u as ot } from "./share-field-2da1362d.js";
12
- import { W as nt } from "./enum-type-73ded6bf.js";
13
- import { F as at } from "./slot-b7b38779.js";
14
- import { _ as it } from "./_plugin-vue_export-helper-dad06003.js";
15
- function lt(f) {
16
- const E = f.widget, p = f.designer, F = p == null ? void 0 : p.pageConfig, w = f == null ? void 0 : f.widgetList, N = B({}), j = {}, { fieldModel: q, fieldName: H, fieldEditor: c, attrs: y, events: C, hasFieldOptions: M, exposed: D, fieldObj: T, watchOption: L, propResultOpt: W, extendAttrs: b } = et(f), { off$: i, on$: u, emit$: z, broadcast: R } = ze();
17
- var { instance: O } = He();
18
- const { setAllRefList: A } = tt(N.value), V = { designState: f == null ? void 0 : f.designState, pageConfig: F, globalConfig: W == null ? void 0 : W.globalConfig }, { formModel: P, setData: he, getData: $, clearData: te } = Te(w, { ...V }), { handleFunc: G } = ot({ options: F }, V), K = X({}), _e = () => {
19
- i(S.fieldChange), u(S.fieldChange, (e) => {
20
- Le(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), D == null || D.setValue(P), we(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
21
- });
22
- }, Ce = () => {
23
- i(S.fieldValidation), u(S.fieldValidation, (e) => {
24
- var t;
25
- (t = c.value) == null || t.validateField(e == null ? void 0 : e.propName);
26
- });
27
- }, be = () => {
28
- i(S.fieldRuleChange), u(S.fieldRuleChange, (e) => {
29
- var o;
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
- }));
36
- Object.assign(K, { [e == null ? void 0 : e.fieldName]: t }), y.value.rules = K;
37
- });
38
- }, oe = B(!0), U = B(!1), J = X({}), k = X({}), ne = (e) => {
39
- ue(k), me(k, e);
40
- }, Fe = () => ({
41
- change_info: Z(J),
42
- before_info: Z(k),
43
- after_info: Z(P),
44
- flag: U.value
45
- }), we = (e, t, o) => {
46
- var n = k[e];
47
- ve(t, o) || ve(t, n) || (U.value = !0, e && me(J, { [e]: { oldValue: n, newValue: t, beforeValue: o } }));
48
- }, De = () => {
49
- U.value = !1, ue(J), ne($());
50
- }, Le = (e, t, o) => {
51
- G(C.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: o }, formModel: P });
52
- }, Se = () => {
53
- G(C.value.formCreated);
54
- }, We = () => {
55
- G(C.value.formMounted);
56
- }, Oe = () => {
57
- be(), _e(), Ce(), Se();
58
- }, Ve = (e) => {
59
- var t;
60
- (t = c.value) == null || t.clearValidate(e);
61
- }, xe = () => {
62
- A(nt.resetField), je(() => {
63
- Ve();
64
- });
65
- }, ae = (e, t) => {
66
- let o = [];
67
- for (let s in e) {
68
- var n = e[s], l = n == null ? void 0 : n.filter((d) => (d == null ? void 0 : d.force) === t);
69
- l == null || l.forEach((d) => {
70
- var v;
71
- const g = (v = d == null ? void 0 : d.rule) == null ? void 0 : v.label;
72
- d.message && o.push(qe(g ? "【" + g + "】" : "", d.message, ":"));
73
- });
74
- }
75
- return Ue(o);
76
- }, Ee = (e, t) => {
77
- var o = {};
78
- return Ze(t, (n) => {
79
- var l = Ye.getName(n), s = Je(e, l);
80
- return s && (o[l] = e[l]), s;
81
- }, !1), o;
82
- }, Ne = (e = !0) => {
83
- var l, s, d;
84
- let t = $(), o = function() {
85
- }, n = new Promise(function(g, v) {
86
- o = function(r, a) {
87
- (a ? v : g)({ data: r, isSuccess: !a, message: a });
88
- };
89
- });
90
- return !((l = c.value) != null && l.validate) || !e ? (o(t), n) : ((d = (s = c.value) == null ? void 0 : s.validate) == null || d.call(s, (g, v) => {
91
- if (g)
92
- o(t);
93
- else {
94
- var r = ae(v, !0);
95
- if (r && r.length > 0) {
96
- o(t, r);
97
- return;
98
- }
99
- var a = ae(v, !1);
100
- if (a && a.length > 0) {
101
- a.push(Ke.i18nt("designer.hint.continue")), Xe.multiple(a).then((m) => {
102
- o(t);
103
- });
104
- return;
105
- }
106
- }
107
- }), n);
108
- }, ie = (e, t = !0) => {
109
- if (!E)
110
- return;
111
- var o = Ee(e, [E]);
112
- he(o, t);
113
- const n = ["refList", "widgetRefList"];
114
- R(ee.ContainerWidget, ce.setFormData, e, O, n), R(ee.FieldWidget, ce.setFormData, e, O, n);
115
- }, le = (e) => {
116
- oe.value = !0;
117
- const t = (o, n) => o === null && n === void 0;
118
- return new Promise((o, n) => {
119
- const l = (r, a) => {
120
- var Q, h, x;
121
- let m = (Q = b.value) != null && Q.formDataLoaded ? (x = (h = b.value) == null ? void 0 : h.formDataLoaded) == null ? void 0 : x.call(h, $(), r) : r;
122
- Qe(m) ? ie(m, !a) : m = {}, ne(m), oe.value = !1, o(m);
123
- }, s = () => {
124
- var r = 0;
125
- L(e, I.newDataSource, void 0, (a, m) => {
126
- r++, !(r == 1 && t(a, m)) && l(a, !0);
127
- });
128
- }, d = () => {
129
- var r = 0;
130
- L(e, I.editDataSource, void 0, (a, m) => {
131
- var h, x;
132
- if (r++, r == 1 && t(a, m))
133
- return;
134
- if (((x = (h = b.value) == null ? void 0 : h.needFormAdd) == null ? void 0 : x.call(h, a)) && v) {
135
- s();
136
- return;
137
- }
138
- l(a, !1);
139
- });
140
- }, g = M(I.editDataSource), v = M(I.newDataSource);
141
- g ? d() : v && s();
142
- });
143
- };
144
- return Oe(), pe(() => {
145
- Ge(), We();
146
- }), {
147
- widgetRefList: N,
148
- allWidgetRefList: j,
149
- fieldEditor: c,
150
- formModel: P,
151
- pageConfig: F,
152
- widgetList: w,
153
- fieldModel: q,
154
- fieldName: H,
155
- attrs: y,
156
- extendAttrs: b,
157
- events: C,
158
- rules: K,
159
- loadData: le,
160
- clearData: te,
161
- exposed: {
162
- ...D,
163
- setValue: ie,
164
- getValue: Ne,
165
- resetField: xe,
166
- clearData: te,
167
- loadData: le,
168
- getData: $,
169
- //修改痕迹
170
- clearChangeRecord: De,
171
- getChangeRecord: Fe,
172
- emit$: z
173
- },
174
- fieldObj: T
175
- };
176
- }
177
- const dt = ge({ componentName: ee.ContainerWidget }), rt = /* @__PURE__ */ ge({
178
- ...dt,
179
- __name: "form-widget",
180
- props: { ...ke },
181
- setup(f, { expose: E }) {
182
- var b;
183
- const p = f, { exposed: F, formModel: w, fieldEditor: N, attrs: j, events: q, widgetRefList: H, extendAttrs: c, fieldName: y, fieldObj: C, loadData: M } = lt({ ...p, widgetList: (b = p == null ? void 0 : p.widget) == null ? void 0 : b.widgetList }), D = y.value, T = de(() => {
184
- var i, u;
185
- return {
186
- disabled: (i = j.value) == null ? void 0 : i.disabled,
187
- readonly: (u = c.value) == null ? void 0 : u.readonly
188
- };
189
- }), L = B(!1), W = de(() => {
190
- var i;
191
- return L.value || ((i = c.value) == null ? void 0 : i.showLoading);
192
- });
193
- return at.globalProvide({
194
- globalFormName: D,
195
- globalDataModel: w,
196
- globalFormOptions: T
197
- }), pe(() => {
198
- var i;
199
- (i = c.value) != null && i.loadDataWhenInit && !p.designState && (L.value = !0, M(!0).then((u) => {
200
- L.value = !1;
201
- }).catch((u) => {
202
- }).finally(() => {
203
- F.clearChangeRecord();
204
- }));
205
- }), E({ ...F }), (i, u) => {
206
- const z = ye("el-form"), R = Me("loading");
207
- return re(), se(Be, Y(i.$props, {
208
- "prop-options": { fieldObj: _(C) }
209
- }), {
210
- default: fe(({ data: O }) => {
211
- var A;
212
- return [
213
- Re((re(), se(z, Y({
214
- ref_key: "fieldEditor",
215
- ref: N,
216
- model: _(w)
217
- }, _(j), Ae(_(q)), {
218
- class: O.injectClass,
219
- key: (A = _(C)) == null ? void 0 : A.fieldKey,
220
- "element-loading-text": _(c).loadingText,
221
- onSubmit: u[0] || (u[0] = Pe(() => {
222
- }, ["prevent"]))
223
- }), {
224
- default: fe(() => {
225
- var V;
226
- return [
227
- $e(Ie, Y(i.$props, {
228
- dragClass: "formDrag padSize",
229
- model: _(w),
230
- provideModel: !0,
231
- "component-class": O.componentWrapperClass,
232
- refList: _(H),
233
- "show-suspense": (V = _(c)) == null ? void 0 : V.showSuspense
234
- }), null, 16, ["model", "component-class", "refList", "show-suspense"])
235
- ];
236
- }),
237
- _: 2
238
- }, 1040, ["model", "class", "element-loading-text"])), [
239
- [R, W.value]
240
- ])
241
- ];
242
- }),
243
- _: 1
244
- }, 16, ["prop-options"]);
245
- };
246
- }
247
- });
248
- const st = /* @__PURE__ */ it(rt, [["__scopeId", "data-v-7653de2f"]]), Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
249
- __proto__: null,
250
- default: st
251
- }, Symbol.toStringTag, { value: "Module" }));
252
- export {
253
- Lt as _
254
- };