hlrender 0.0.200 → 0.0.202

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 (94) hide show
  1. package/acorn-a3705767.js +3128 -0
  2. package/{affix-widget-034c7d4d.js → affix-widget-ddc78fd2.js} +5 -5
  3. package/{alert-widget-a48330b2.js → alert-widget-a9d39f29.js} +5 -5
  4. package/{anchor-widget-037639ea.js → anchor-widget-3d626be6.js} +3 -3
  5. package/{auto-complete-widget-e4e86d9e.js → auto-complete-widget-7db0de11.js} +4 -4
  6. package/{avatar-widget-d1c793cc.js → avatar-widget-481b4ab1.js} +5 -5
  7. package/{backtop-widget-6b1ebbe7.js → backtop-widget-27954a77.js} +5 -5
  8. package/{badge-widget-998855b5.js → badge-widget-8fd64136.js} +5 -5
  9. package/{barcode-widget-ef9f4287.js → barcode-widget-213a15b9.js} +3 -3
  10. package/{breadcrumb-widget-7dc796c1.js → breadcrumb-widget-71a1c2fd.js} +3 -3
  11. package/{button-widget-0c934082.js → button-widget-9f5a3fb4.js} +5 -5
  12. package/{cache-widget-c934288d.js → cache-widget-38b72fda.js} +3 -3
  13. package/{card-widget-07f24989.js → card-widget-1528e123.js} +4 -4
  14. package/{carousel-widget-6941d08e.js → carousel-widget-95b2c9ed.js} +3 -3
  15. package/{cascader-widget-e58b3e0d.js → cascader-widget-fe9aff54.js} +3 -3
  16. package/{chart-widget-5e56fdb4.js → chart-widget-611e48bd.js} +3 -3
  17. package/{checkbox-widget-6d68ec7d.js → checkbox-widget-09707dc4.js} +3 -3
  18. package/{collapse-widget-644b208e.js → collapse-widget-0b6b4eca.js} +3 -3
  19. package/{color-picker-widget-1c40bd02.js → color-picker-widget-84549c6f.js} +3 -3
  20. package/{cont-cell-widget-732eefe6.js → cont-cell-widget-77c16652.js} +1 -1
  21. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e08c9390.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a4d8969a.js} +3 -3
  22. package/{cont-widget-effc69e5.js → cont-widget-17f438f8.js} +3 -3
  23. package/{date-picker-range-widget-3bf58f7a.js → date-picker-range-widget-d6e754cd.js} +3 -3
  24. package/{date-picker-widget-b8122ef8.js → date-picker-widget-b8e833dc.js} +3 -3
  25. package/{default-slot-widget-a0f65dd8.js → default-slot-widget-187a0a77.js} +3 -3
  26. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fee41121.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fcf48830.js} +2 -2
  27. package/{descriptions-widget-d7051753.js → descriptions-widget-e294abe8.js} +4 -4
  28. package/{dialog-widget-f3ed3043.js → dialog-widget-03845073.js} +5 -5
  29. package/{divider-widget-d40312e4.js → divider-widget-f03b1dd9.js} +5 -5
  30. package/{drag-wrapper-0e14be76.js → drag-wrapper-6f9d27ca.js} +2 -2
  31. package/{drawer-widget-c43ea91b.js → drawer-widget-1d3d5b3f.js} +5 -5
  32. package/{dropdown-widget-ebc65be4.js → dropdown-widget-0c7af6ed.js} +4 -4
  33. package/{empty-widget-19f251d3.js → empty-widget-ea1bbed0.js} +5 -5
  34. package/{feedback-widget-c40ced49.js → feedback-widget-f6ab7210.js} +5 -5
  35. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ee1ab63a.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-5b8dd13d.js} +3 -3
  36. package/{file-upload-widget-0af7e6b0.js → file-upload-widget-2d109e94.js} +5 -5
  37. package/{form-widget-dba47daa.js → form-widget-034a08b6.js} +4 -4
  38. package/{grid-col-widget-1b5681fb.js → grid-col-widget-64f6dcd4.js} +1 -1
  39. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-cc5d3edc.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c8c7af67.js} +3 -3
  40. package/{grid-widget-3ecf6a11.js → grid-widget-63a5f5dc.js} +3 -3
  41. package/{html-text-widget-36485f97.js → html-text-widget-39de395d.js} +3 -3
  42. package/{icon-widget-e36dc571.js → icon-widget-a92659c0.js} +3 -3
  43. package/{iframe-widget-2caf0591.js → iframe-widget-52faa612.js} +3 -3
  44. package/{image-widget-f143ad7b.js → image-widget-17dd79c8.js} +3 -3
  45. package/{input-number-widget-e5c07f89.js → input-number-widget-2ec5fbb9.js} +3 -3
  46. package/{input-widget-279dc40a.js → input-widget-0fcb2818.js} +4 -4
  47. package/{link-widget-5ad11be9.js → link-widget-5874c9bd.js} +5 -5
  48. package/{ltable-col-widget-0cf29ced.js → ltable-col-widget-dba43068.js} +1 -1
  49. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4c6285fb.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-b21fceac.js} +3 -3
  50. package/{ltable-widget-a51b9298.js → ltable-widget-003f718c.js} +3 -3
  51. package/{menu-widget-f0aff412.js → menu-widget-d0e533ed.js} +3 -3
  52. package/{model-widget-cf496ac9.js → model-widget-31487103.js} +3 -3
  53. package/{multirow-3c042f3e.js → multirow-d79e0604.js} +1 -1
  54. package/{multirow-widget-bc212cff.js → multirow-widget-0b8d2b58.js} +4 -4
  55. package/package.json +1 -1
  56. package/{pagination-widget-20da3b2c.js → pagination-widget-f7ab8680.js} +3 -3
  57. package/{picture-upload-widget-293522c8.js → picture-upload-widget-78d34bf8.js} +4 -4
  58. package/{progress-widget-10e53b93.js → progress-widget-6c7e162f.js} +4 -4
  59. package/{qrcode-widget-59bfecb7.js → qrcode-widget-16957a62.js} +3 -3
  60. package/{radio-widget-b3c38fa8.js → radio-widget-188c1438.js} +3 -3
  61. package/{range-widget-e5f3b45d.js → range-widget-7f289ea1.js} +4 -4
  62. package/{rate-widget-c6a1faff.js → rate-widget-2dd26126.js} +3 -3
  63. package/render.es.js +535 -526
  64. package/render.umd.js +408 -400
  65. package/{result-widget-7bcffff4.js → result-widget-2aa7e9a0.js} +4 -4
  66. package/{rich-editor-widget-4f33f6bd.js → rich-editor-widget-a00fe33d.js} +3 -3
  67. package/{router-widget-22f253dc.js → router-widget-967e9b1d.js} +3 -3
  68. package/{select-widget-c63c45bb.js → select-widget-c17f0591.js} +3 -3
  69. package/{sfc-53fae228.js → sfc-cfdb858f.js} +1 -1
  70. package/{share-field-a27c55ba.js → share-field-fcd3dafc.js} +2 -2
  71. package/{share-file-005d3d63.js → share-file-73cef45a.js} +1 -1
  72. package/{slider-widget-392119ee.js → slider-widget-07a59d1e.js} +3 -3
  73. package/slot-7eaafaa3.js +317 -0
  74. package/{static-text-widget-6ddc17fa.js → static-text-widget-91ff9511.js} +3 -3
  75. package/{steps-widget-94d3b751.js → steps-widget-b1e0882e.js} +3 -3
  76. package/{switch-widget-61749af2.js → switch-widget-a555b084.js} +3 -3
  77. package/{tab-pane-widget-c08ce395.js → tab-pane-widget-ac8c950e.js} +1 -1
  78. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-09274c7d.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-66244ac0.js} +3 -3
  79. package/{table-col-widget-2571f470.js → table-col-widget-c0db0601.js} +4 -4
  80. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-ef294d28.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-27776f4a.js} +3 -3
  81. package/{table-widget-30640474.js → table-widget-7fd05bf7.js} +5 -5
  82. package/{tabs-widget-736fade5.js → tabs-widget-dc5727ef.js} +2 -2
  83. package/{tag-widget-0d78a155.js → tag-widget-1a6e5fc4.js} +5 -5
  84. package/{text-widget-2bae3f47.js → text-widget-538a206e.js} +5 -5
  85. package/{textarea-widget-b85b4356.js → textarea-widget-9b7f1126.js} +3 -3
  86. package/{time-picker-range-widget-15a6a246.js → time-picker-range-widget-61caae19.js} +3 -3
  87. package/{time-picker-widget-7e8ff4d5.js → time-picker-widget-5753a44d.js} +3 -3
  88. package/{time-select-widget-50201f1b.js → time-select-widget-6d373331.js} +3 -3
  89. package/{tmpl-widget-d905f4b2.js → tmpl-widget-3fb389f8.js} +4 -4
  90. package/{tree-select-widget-365313ed.js → tree-select-widget-d987b456.js} +3 -3
  91. package/{tree-widget-88663bef.js → tree-widget-6b6ff0ad.js} +3 -3
  92. package/{verifycode-widget-3dd0e9b3.js → verifycode-widget-15cf3e5c.js} +3 -3
  93. package/{wrapper-widget-259e5f16.js → wrapper-widget-e243df5a.js} +3 -3
  94. package/slot-5f1a47c4.js +0 -265
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-5547436d.js";
3
- import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fee41121.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fcf48830.js";
4
4
  import { w as d } from "./expression-d514d13e.js";
5
- import { b as _ } from "./share-field-a27c55ba.js";
5
+ import { b as _ } from "./share-field-fcd3dafc.js";
6
6
  import "./widget-base-4c2d6265.js";
7
7
  import "./enum-type-1c0ae1da.js";
8
8
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
@@ -17,12 +17,12 @@ import "element-plus";
17
17
  import "./index-a152420d.js";
18
18
  import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-5eca64a8.js";
20
- import "./slot-5f1a47c4.js";
20
+ import "./slot-7eaafaa3.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-55618b6d.js";
22
- import "./drag-wrapper-0e14be76.js";
22
+ import "./drag-wrapper-6f9d27ca.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
- import "./multirow-3c042f3e.js";
25
+ import "./multirow-d79e0604.js";
26
26
  const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
27
27
  ...u,
28
28
  __name: "tag-widget",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-5547436d.js";
3
- import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fee41121.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fcf48830.js";
4
4
  import { w as d } from "./expression-d514d13e.js";
5
- import { b as _ } from "./share-field-a27c55ba.js";
5
+ import { b as _ } from "./share-field-fcd3dafc.js";
6
6
  import "./widget-base-4c2d6265.js";
7
7
  import "./enum-type-1c0ae1da.js";
8
8
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
@@ -17,12 +17,12 @@ import "element-plus";
17
17
  import "./index-a152420d.js";
18
18
  import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-5eca64a8.js";
20
- import "./slot-5f1a47c4.js";
20
+ import "./slot-7eaafaa3.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-55618b6d.js";
22
- import "./drag-wrapper-0e14be76.js";
22
+ import "./drag-wrapper-6f9d27ca.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
- import "./multirow-3c042f3e.js";
25
+ import "./multirow-d79e0604.js";
26
26
  const u = o({ componentName: d.FieldWidget }), J = /* @__PURE__ */ o({
27
27
  ...u,
28
28
  __name: "text-widget",
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as l, resolveComponent as w, openBlock as p, createBlock as i, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
2
- import { b as V } from "./share-field-a27c55ba.js";
2
+ import { b as V } from "./share-field-fcd3dafc.js";
3
3
  import { I as b } from "./field-base-5547436d.js";
4
4
  import v from "./form-item-wrapper-b761d512.js";
5
5
  import { w as I } from "./expression-d514d13e.js";
6
6
  import "./enum-type-1c0ae1da.js";
7
- import "./multirow-3c042f3e.js";
7
+ import "./multirow-d79e0604.js";
8
8
  import "./baseImp-242db99f.js";
9
9
  import "./enum-type-768f07b9.js";
10
10
  import "./icon-a0e0cdb0.js";
@@ -13,7 +13,7 @@ import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./uuid-81bac653.js";
14
14
  import "element-plus";
15
15
  import "./index-38b887d7.js";
16
- import "./slot-5f1a47c4.js";
16
+ import "./slot-7eaafaa3.js";
17
17
  import "./widget-base-4c2d6265.js";
18
18
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
19
19
  import "./index-a152420d.js";
@@ -2,11 +2,11 @@ import { defineComponent as _, computed as x, resolveComponent as z, openBlock a
2
2
  import { a as B, f as E, n as M, e as f, c as s } from "./enum-type-1c0ae1da.js";
3
3
  import { b as m, d as n } from "./uuid-81bac653.js";
4
4
  import { I as S } from "./field-base-5547436d.js";
5
- import { b as W } from "./share-field-a27c55ba.js";
5
+ import { b as W } from "./share-field-fcd3dafc.js";
6
6
  import D from "./form-item-wrapper-b761d512.js";
7
7
  import { w as H } from "./expression-d514d13e.js";
8
8
  import "./widget-base-4c2d6265.js";
9
- import "./multirow-3c042f3e.js";
9
+ import "./multirow-d79e0604.js";
10
10
  import "./baseImp-242db99f.js";
11
11
  import "./enum-type-768f07b9.js";
12
12
  import "./icon-a0e0cdb0.js";
@@ -14,7 +14,7 @@ import "./dialog-cb26ee83.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
15
  import "element-plus";
16
16
  import "./index-38b887d7.js";
17
- import "./slot-5f1a47c4.js";
17
+ import "./slot-7eaafaa3.js";
18
18
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
19
19
  import "./index-a152420d.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as a, resolveComponent as C, openBlock as p, createBlock as m, mergeProps as s, unref as e, withCtx as F, isRef as O, toHandlers as b } from "vue";
2
2
  import { e as x, c as z } from "./enum-type-1c0ae1da.js";
3
- import { b as I } from "./share-field-a27c55ba.js";
3
+ import { b as I } from "./share-field-fcd3dafc.js";
4
4
  import { I as K } from "./field-base-5547436d.js";
5
5
  import P from "./form-item-wrapper-b761d512.js";
6
6
  import { w as B } from "./expression-d514d13e.js";
7
7
  import { t as E } from "./uuid-81bac653.js";
8
- import "./multirow-3c042f3e.js";
8
+ import "./multirow-d79e0604.js";
9
9
  import "./baseImp-242db99f.js";
10
10
  import "./enum-type-768f07b9.js";
11
11
  import "./icon-a0e0cdb0.js";
@@ -13,7 +13,7 @@ import "./dialog-cb26ee83.js";
13
13
  import "./_commonjsHelpers-e7ea1525.js";
14
14
  import "element-plus";
15
15
  import "./index-38b887d7.js";
16
- import "./slot-5f1a47c4.js";
16
+ import "./slot-7eaafaa3.js";
17
17
  import "./widget-base-4c2d6265.js";
18
18
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
19
19
  import "./index-a152420d.js";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
2
2
  import { e as V } from "./enum-type-1c0ae1da.js";
3
- import { b } from "./share-field-a27c55ba.js";
3
+ import { b } from "./share-field-fcd3dafc.js";
4
4
  import { I as v } from "./field-base-5547436d.js";
5
5
  import x from "./form-item-wrapper-b761d512.js";
6
6
  import { w as z } from "./expression-d514d13e.js";
7
- import "./multirow-3c042f3e.js";
7
+ import "./multirow-d79e0604.js";
8
8
  import "./baseImp-242db99f.js";
9
9
  import "./enum-type-768f07b9.js";
10
10
  import "./icon-a0e0cdb0.js";
@@ -13,7 +13,7 @@ import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./uuid-81bac653.js";
14
14
  import "element-plus";
15
15
  import "./index-38b887d7.js";
16
- import "./slot-5f1a47c4.js";
16
+ import "./slot-7eaafaa3.js";
17
17
  import "./widget-base-4c2d6265.js";
18
18
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
19
19
  import "./index-a152420d.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as F, computed as I, ref as T, onMounted as j, resolveDirective as L, openBlock as a, createBlock as d, mergeProps as u, unref as t, withCtx as M, createElementBlock as n, Fragment as c, withDirectives as P, renderList as R, createTextVNode as z, toDisplayString as A } from "vue";
2
2
  import { e as E, t as J, f as q } from "./enum-type-1c0ae1da.js";
3
3
  import { I as G } from "./widget-base-4c2d6265.js";
4
- import { b as H } from "./share-field-a27c55ba.js";
4
+ import { b as H } from "./share-field-fcd3dafc.js";
5
5
  import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
6
- import { D as v } from "./drag-wrapper-0e14be76.js";
7
- import { i as Q, d as U } from "./slot-5f1a47c4.js";
8
- import { c as X } from "./multirow-3c042f3e.js";
6
+ import { D as v } from "./drag-wrapper-6f9d27ca.js";
7
+ import { i as Q, d as U } from "./slot-7eaafaa3.js";
8
+ import { c as X } from "./multirow-d79e0604.js";
9
9
  import { b as Y } from "./expression-d514d13e.js";
10
10
  import { _ as Z } from "./_plugin-vue_export-helper-dad06003.js";
11
11
  import "./icon-a0e0cdb0.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as T, computed as s, resolveComponent as ee, openBlock as d, createBlock as p, mergeProps as j, unref as e, withCtx as a, isRef as W, toHandlers as A, createSlots as B, resolveDynamicComponent as i, createCommentVNode as g } from "vue";
2
2
  import { s as f, t as D } from "./enum-type-1c0ae1da.js";
3
3
  import { I as te } from "./field-base-5547436d.js";
4
- import { b as oe } from "./share-field-a27c55ba.js";
4
+ import { b as oe } from "./share-field-fcd3dafc.js";
5
5
  import re from "./form-item-wrapper-b761d512.js";
6
6
  import { b as y, w as le } from "./expression-d514d13e.js";
7
7
  import "./widget-base-4c2d6265.js";
8
- import "./multirow-3c042f3e.js";
8
+ import "./multirow-d79e0604.js";
9
9
  import "./baseImp-242db99f.js";
10
10
  import "./enum-type-768f07b9.js";
11
11
  import "./icon-a0e0cdb0.js";
@@ -14,7 +14,7 @@ import "./_commonjsHelpers-e7ea1525.js";
14
14
  import "./uuid-81bac653.js";
15
15
  import "element-plus";
16
16
  import "./index-38b887d7.js";
17
- import "./slot-5f1a47c4.js";
17
+ import "./slot-7eaafaa3.js";
18
18
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
19
19
  import "./index-a152420d.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as h, computed as s, resolveComponent as $, openBlock as u, createBlock as f, mergeProps as x, unref as t, withCtx as K, isRef as A, toHandlers as H, createSlots as M, resolveDynamicComponent as P } from "vue";
2
2
  import { I as R } from "./field-base-5547436d.js";
3
- import { b as U } from "./share-field-a27c55ba.js";
3
+ import { b as U } from "./share-field-fcd3dafc.js";
4
4
  import { _ as q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
5
5
  import { b as n, w as G } from "./expression-d514d13e.js";
6
6
  import { s as a } from "./enum-type-1c0ae1da.js";
7
7
  import "./widget-base-4c2d6265.js";
8
- import "./multirow-3c042f3e.js";
8
+ import "./multirow-d79e0604.js";
9
9
  import "./baseImp-242db99f.js";
10
10
  import "./enum-type-768f07b9.js";
11
11
  import "./icon-a0e0cdb0.js";
@@ -14,7 +14,7 @@ import "./_commonjsHelpers-e7ea1525.js";
14
14
  import "./uuid-81bac653.js";
15
15
  import "element-plus";
16
16
  import "./index-38b887d7.js";
17
- import "./slot-5f1a47c4.js";
17
+ import "./slot-7eaafaa3.js";
18
18
  import "./index-a152420d.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
20
20
  import "./fieldobj-5eca64a8.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as g, ref as v, onMounted as N, watch as k, openBlock as w, createElementBlock as S, createElementVNode as x, computed as C, nextTick as H, createBlock as P, mergeProps as b, unref as u, withCtx as W, createVNode as I } from "vue";
2
2
  import { w as V } from "./expression-d514d13e.js";
3
3
  import { I as z } from "./field-base-5547436d.js";
4
- import { b as T } from "./share-field-a27c55ba.js";
4
+ import { b as T } from "./share-field-fcd3dafc.js";
5
5
  import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
6
6
  import { R as E } from "./enum-type-1c0ae1da.js";
7
7
  import { _ as R } from "./_plugin-vue_export-helper-dad06003.js";
@@ -10,14 +10,14 @@ import "./uuid-81bac653.js";
10
10
  import "./_commonjsHelpers-e7ea1525.js";
11
11
  import "./esprima-e8d15055.js";
12
12
  import "./widget-base-4c2d6265.js";
13
- import "./multirow-3c042f3e.js";
13
+ import "./multirow-d79e0604.js";
14
14
  import "./baseImp-242db99f.js";
15
15
  import "./enum-type-768f07b9.js";
16
16
  import "./icon-a0e0cdb0.js";
17
17
  import "./dialog-cb26ee83.js";
18
18
  import "element-plus";
19
19
  import "./index-38b887d7.js";
20
- import "./slot-5f1a47c4.js";
20
+ import "./slot-7eaafaa3.js";
21
21
  import "./index-a152420d.js";
22
22
  import "./fieldobj-5eca64a8.js";
23
23
  const F = { class: "s-canvas" }, L = ["width", "height"], $ = /* @__PURE__ */ g({
@@ -1,11 +1,11 @@
1
1
  import { ref as y, watch as L, defineComponent as h, resolveDirective as j, openBlock as b, createBlock as D, mergeProps as W, unref as s, withCtx as O, withDirectives as P, createElementBlock as x, normalizeClass as z, createVNode as R, createCommentVNode as S } from "vue";
2
2
  import { I as k } from "./widget-base-4c2d6265.js";
3
- import { D as A } from "./drag-wrapper-0e14be76.js";
3
+ import { D as A } from "./drag-wrapper-6f9d27ca.js";
4
4
  import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
5
5
  import { w as F } from "./expression-d514d13e.js";
6
6
  import { W as v } from "./enum-type-768f07b9.js";
7
- import { b as N, a as $ } from "./share-field-a27c55ba.js";
8
- import { c as E } from "./slot-5f1a47c4.js";
7
+ import { b as N, a as $ } from "./share-field-fcd3dafc.js";
8
+ import { c as E } from "./slot-7eaafaa3.js";
9
9
  function H(i) {
10
10
  const n = y({}), { componentWrapperClass: c, customClass: a } = E({ widget: i.widget }), { exposed: t, attrs: d, extendAttrs: f, fieldKey: g, fieldObj: m } = N(i), { setAllRefList: l } = $(n.value), p = (o = !1) => {
11
11
  l(v.setDisabled, { flag: o });
package/slot-5f1a47c4.js DELETED
@@ -1,265 +0,0 @@
1
- var _ = Object.defineProperty;
2
- var B = (l, t, o) => t in l ? _(l, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[t] = o;
3
- var w = (l, t, o) => (B(l, typeof t != "symbol" ? t + "" : t, o), o);
4
- import { inject as S, provide as L, computed as c } from "vue";
5
- import { d as f, b as g, r as D, s as O } from "./expression-d514d13e.js";
6
- import { B as $ } from "./baseImp-242db99f.js";
7
- import { c as E, i as G, m as p, j as N, o as V } from "./enum-type-1c0ae1da.js";
8
- class x {
9
- constructor() {
10
- /**
11
- * 当前表单引用库
12
- * 假设表单组件位于表单form中,则该引用注册入库
13
- */
14
- w(this, "formRefList", {});
15
- /**
16
- * 全局引用库
17
- */
18
- w(this, "globalRefList", {});
19
- /**
20
- * 全局数据对象
21
- */
22
- w(this, "globalDataModel", {});
23
- /**
24
- * 当前表单名称
25
- */
26
- w(this, "globalFormName", "");
27
- /**
28
- * 全局页面名称
29
- */
30
- // globalPageName?: string = "";
31
- /**
32
- * 用于类似template组件的数据绑定传递
33
- */
34
- w(this, "rowScope", {});
35
- /**
36
- * 渲染器调用者传入的配置参数,如接口地址、密钥等
37
- */
38
- w(this, "globalConfig", {});
39
- }
40
- static globalInject() {
41
- const t = new x();
42
- return t.formRefList = S(f.refList, {}), t.globalRefList = S(f.allRefList, {}), t.globalDataModel = S(f.globalModel, {}), t.rowScope = S(f.rowScope, {}), t.globalFormName = S(f.globalForm, ""), t.globalConfig = S(f.globalConfig, {}), t;
43
- }
44
- static globalProvide(t) {
45
- if ((t == null ? void 0 : t.globalDataModel) !== void 0) {
46
- const o = (t == null ? void 0 : t.globalDataModel) || {};
47
- L(f.globalModel, o);
48
- }
49
- if ((t == null ? void 0 : t.rowScope) !== void 0) {
50
- const o = (t == null ? void 0 : t.rowScope) || {};
51
- L(f.rowScope, o);
52
- }
53
- if ((t == null ? void 0 : t.globalRefList) !== void 0) {
54
- const o = (t == null ? void 0 : t.globalRefList) || {};
55
- L(f.allRefList, o);
56
- }
57
- if ((t == null ? void 0 : t.formRefList) !== void 0) {
58
- const o = (t == null ? void 0 : t.formRefList) || {};
59
- L(f.refList, o);
60
- }
61
- if ((t == null ? void 0 : t.globalFormName) !== void 0) {
62
- const o = (t == null ? void 0 : t.globalFormName) || "";
63
- L(f.globalForm, o);
64
- }
65
- if ((t == null ? void 0 : t.globalConfig) !== void 0) {
66
- const o = (t == null ? void 0 : t.globalConfig) || "";
67
- L(f.globalConfig, o);
68
- }
69
- }
70
- }
71
- function P(l) {
72
- const t = (r, m = !1) => $.getOptions(l == null ? void 0 : l.widget, r, m, !(l != null && l.designState)), o = c(() => t(g.ctrlWidth) || "auto"), n = c(() => t(g.ctrlHeight) || "auto"), e = c(() => t(g.displayLayout)), i = c(() => {
73
- var r = t(g.customClass);
74
- return Array.isArray(r) ? r == null ? void 0 : r.join(" ") : r;
75
- }), h = c(() => {
76
- var r = t(g.componentWrapperClass);
77
- return Array.isArray(r) ? r == null ? void 0 : r.join(" ") : r;
78
- }), d = c(() => t(g.css)), s = c(() => {
79
- var r = t(g.componentRootClass);
80
- return Array.isArray(r) ? r == null ? void 0 : r.join(" ") : r;
81
- }), a = c(() => {
82
- var r, m;
83
- return (m = E((r = t(g.required, !0)) == null ? void 0 : r.options)) == null ? void 0 : m.enable;
84
- }), b = c(() => t(g.hidden)), C = c(() => t(g.labelTooltip)), y = c(() => t(g.labelIconClass)), u = c(() => t(g.labelIconPosition)), T = c(() => t(g.labelHidden)), H = c(() => t(g.label)), R = c(() => t(g.labelWidth)), F = c(() => t(g.labelAlign));
85
- return {
86
- //size,
87
- attrs: c(() => ({
88
- required: a.value,
89
- label: H.value,
90
- labelHidden: T.value,
91
- labelAlign: F.value,
92
- labelIconClass: y.value,
93
- labelIconPosition: u.value,
94
- labelTooltip: C.value,
95
- labelWidth: R.value,
96
- ctrlWidth: o.value
97
- })),
98
- labelAlign: F,
99
- labelHidden: T,
100
- labelIconClass: y,
101
- labelIconPosition: u,
102
- labelTooltip: C,
103
- labelWidth: R,
104
- label: H,
105
- displayLayout: e,
106
- hidden: b,
107
- // required,
108
- ctrlWidth: o,
109
- ctrlHeight: n,
110
- customClass: i,
111
- componentWrapperClass: h,
112
- componentRootClass: s,
113
- css: d
114
- };
115
- }
116
- const A = (l = "") => new Promise((t) => {
117
- import("./index-3aaf8638.js").then((o) => {
118
- const n = o.parse(l, {
119
- positions: !0,
120
- parseValue: !1
121
- }), e = [];
122
- o.walk(n, {
123
- visit: "Rule",
124
- enter(i) {
125
- const h = o.generate(i.prelude), d = {};
126
- o.walk(i, {
127
- visit: "Declaration",
128
- enter(s) {
129
- s.property && (d[s.property] = o.generate(s.value));
130
- }
131
- }), e.push({ selector: h, declarations: d });
132
- }
133
- }), t(e);
134
- });
135
- }), W = (l) => new Promise((t) => {
136
- import("./index-3aaf8638.js").then((o) => {
137
- const n = q(l), e = o.parse(n, { context: "stylesheet" });
138
- t(o.generate(e));
139
- });
140
- });
141
- function q(l) {
142
- return l.map((o) => {
143
- var e, i, h;
144
- const n = (h = (i = (e = Object.entries(o.declarations)) == null ? void 0 : e.filter(([d, s]) => !G(s) && s !== "")) == null ? void 0 : i.sort(([d], [s]) => d > s ? 1 : -1)) == null ? void 0 : h.map(([d, s]) => `${d}: ${s};`);
145
- return `${o.selector} { ${n.join(" ")} }`;
146
- }).join(`
147
- `);
148
- }
149
- const z = () => {
150
- const l = "v_form_global_css", t = (s = "", a = l) => {
151
- var b = e(s, a);
152
- n(b);
153
- }, o = (s = "", a = "", b = l) => {
154
- if (!s)
155
- return;
156
- let C = document.getElementsByTagName("head")[0];
157
- if (C)
158
- try {
159
- var y = e(a, b);
160
- n(b), n(y);
161
- let u = document.createElement("style");
162
- if (!u)
163
- return;
164
- u.type = "text/css", u.id = a ? b + "-" + a : b;
165
- try {
166
- u.appendChild(document.createTextNode(s.toString()));
167
- } catch {
168
- u.innerHTML = s.toString();
169
- }
170
- C.appendChild(u);
171
- } catch (u) {
172
- p.error("insert css to head fail", u);
173
- }
174
- }, n = (s) => {
175
- let a = document.getElementById(s);
176
- try {
177
- a && a.parentNode && a.parentNode.removeChild(a);
178
- } catch (b) {
179
- console.log(b, a);
180
- }
181
- }, e = (s, a) => s ? a + "-" + s : a, i = "v_form_global_functions";
182
- return {
183
- insertCustomCssToHead: o,
184
- insertGlobalFunctionsToHtml: (s, a = "", b = i) => {
185
- try {
186
- let y = document.getElementsByTagName("body")[0];
187
- if (!y)
188
- return;
189
- var C = e(a, b);
190
- n(b), n(C);
191
- let u = document.createElement("script");
192
- if (!u)
193
- return;
194
- u.id = C, u.type = "text/javascript", u.innerHTML = s.toString(), y.appendChild(u);
195
- } catch (y) {
196
- p.error("insert js to head fail", y);
197
- }
198
- },
199
- removeGlobalFunctionsToHtml: (s, a = i) => {
200
- var b = e(s, a);
201
- n(b);
202
- },
203
- removeCustomCssToHead: t
204
- };
205
- }, M = [
206
- "width",
207
- "height",
208
- "display",
209
- "margin",
210
- "margin-left",
211
- "margin-right",
212
- "margin-top",
213
- "margin-bottom"
214
- ], J = (l, t, o) => {
215
- const n = {};
216
- return t.forEach((e) => {
217
- var i = l[e];
218
- N(i) || (n[e] = o ? o(e, i) : i);
219
- }), n;
220
- }, Q = (l, t, o) => {
221
- var e;
222
- const n = {};
223
- return (e = V(l)) == null || e.forEach((i) => {
224
- var h = l[i];
225
- t != null && t.includes(i) || (n[i] = o ? o(i, h) : h);
226
- }), n;
227
- }, K = (l, t) => ["width", "height", "display"].includes(l) ? N(t) || t == "auto" ? t : `${t} !important` : t, I = (l) => new Promise((t) => {
228
- A(l).then((o) => {
229
- var n = o == null ? void 0 : o.map((e) => ({ selector: e.selector, declarations: J(e.declarations, M, K) }));
230
- W(n).then((e) => {
231
- t(e);
232
- });
233
- });
234
- }), tt = (l) => new Promise((t) => {
235
- A(l).then((o) => {
236
- var n = o == null ? void 0 : o.map((e) => ({ selector: e.selector, declarations: Q(e.declarations, M, K) }));
237
- W(n).then((e) => {
238
- t(e);
239
- });
240
- });
241
- }), ot = (l, t) => {
242
- if (!t || !l)
243
- return;
244
- const o = D(l, ":root", `.${t}`), { insertCustomCssToHead: n } = z();
245
- n(o, void 0, t);
246
- }, lt = (l, t = !0, o) => {
247
- if (o != null && o === !1)
248
- return [];
249
- const n = U(l);
250
- return t || (l == null ? void 0 : l.length) <= 0 ? n : n == null ? void 0 : n.filter((e) => {
251
- var i;
252
- return !!(e != null && e.widgetList) && ((i = e == null ? void 0 : e.widgetList) == null ? void 0 : i.length) > 0 || !!e.default || (e == null ? void 0 : e.slotName) === O.default;
253
- });
254
- }, et = (l, t) => l == null ? void 0 : l.find((o) => (o == null ? void 0 : o.slotName) === t), U = (l) => E(l);
255
- export {
256
- x as F,
257
- ot as a,
258
- tt as b,
259
- P as c,
260
- et as d,
261
- lt as g,
262
- U as i,
263
- I as p,
264
- z as u
265
- };