hlrender 0.0.188 → 0.0.199

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 (128) hide show
  1. package/FileSaver.min-b57403e6.js +103 -0
  2. package/{barcode-widget-1c352999.js → JsBarcode-e0a8837b.js} +760 -810
  3. package/{_pdf-b6d89756.js → _pdf-5693a3a5.js} +6 -6
  4. package/{_txt-ef25fa8a.js → _txt-cc9ff6a4.js} +6 -6
  5. package/{_unsupport-6bb1dc32.js → _unsupport-fec00214.js} +1 -1
  6. package/{slot-140ccbe1.js → acorn-a3705767.js} +835 -1104
  7. package/{affix-widget-0b74d368.js → affix-widget-e83690e6.js} +16 -16
  8. package/{alert-widget-8aef5ff3.js → alert-widget-6e4122a0.js} +16 -16
  9. package/{anchor-widget-9bae8353.js → anchor-widget-433cca12.js} +13 -13
  10. package/{auto-complete-widget-7e327986.js → auto-complete-widget-94f0bf82.js} +16 -16
  11. package/{avatar-widget-b0245c49.js → avatar-widget-0373b089.js} +16 -16
  12. package/{backtop-widget-be5390eb.js → backtop-widget-ee4874e4.js} +16 -16
  13. package/{badge-widget-90e6e302.js → badge-widget-56550313.js} +16 -16
  14. package/barcode-widget-3ac11e9e.js +79 -0
  15. package/baseImp-79376d04.js +11727 -0
  16. package/{breadcrumb-widget-b6cc077f.js → breadcrumb-widget-d6a3ea52.js} +13 -13
  17. package/browser-195dd18b.js +1486 -0
  18. package/{button-widget-ab8550bf.js → button-widget-aa311e6c.js} +16 -16
  19. package/{cache-widget-06c4c6a1.js → cache-widget-feac9f7d.js} +15 -15
  20. package/{card-widget-958d5ba7.js → card-widget-18cd6661.js} +14 -14
  21. package/{carousel-widget-dcbd6928.js → carousel-widget-0f89e75b.js} +14 -14
  22. package/{cascader-widget-8a597e5a.js → cascader-widget-bd8f686f.js} +15 -15
  23. package/{chart-widget-e824462a.js → chart-widget-df52a80e.js} +13 -13
  24. package/{checkbox-widget-0fb9b15c.js → checkbox-widget-49d4c657.js} +15 -15
  25. package/{collapse-widget-5dfffa1e.js → collapse-widget-b874885b.js} +14 -14
  26. package/{color-picker-widget-bc739cca.js → color-picker-widget-df3ff6db.js} +15 -15
  27. package/{cont-cell-widget-83ce16db.js → cont-cell-widget-159e50ef.js} +1 -1
  28. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-968c8704.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-abcba0d4.js} +5 -5
  29. package/{cont-widget-95888af2.js → cont-widget-47e8d275.js} +5 -5
  30. package/{content-wrapper-19479765.js → content-wrapper-21a9e51b.js} +7 -7
  31. package/{content-wrapper.vue_vue_type_script_setup_true_lang-f191a101.js → content-wrapper.vue_vue_type_script_setup_true_lang-159b5487.js} +3 -3
  32. package/{date-picker-range-widget-d90a03c1.js → date-picker-range-widget-b05d4879.js} +15 -15
  33. package/{date-picker-widget-b359485e.js → date-picker-widget-f7bba7ad.js} +15 -15
  34. package/default-slot-widget-64643481.js +26 -0
  35. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0db55efe.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8343af69.js} +7 -7
  36. package/{descriptions-widget-b58f145b.js → descriptions-widget-181e7daa.js} +14 -14
  37. package/{dialog-265a6e9e.js → dialog-0acb2540.js} +2 -2
  38. package/{dialog-widget-b4acb5ab.js → dialog-widget-1dd9299a.js} +15 -15
  39. package/{divider-widget-b498aa6d.js → divider-widget-6d4d7b57.js} +16 -16
  40. package/{drag-wrapper-c4f125d8.js → drag-wrapper-571e1bf5.js} +6 -6
  41. package/{drawer-widget-2b582946.js → drawer-widget-d8ac79e3.js} +15 -15
  42. package/{dropdown-widget-e303a1c8.js → dropdown-widget-06ab98de.js} +14 -14
  43. package/{empty-widget-11666b01.js → empty-widget-13baa871.js} +16 -16
  44. package/{enum-type-c44af727.js → enum-type-4aac0ead.js} +1 -1
  45. package/{enum-type-5eeafa5c.js → enum-type-523bc2b7.js} +1 -0
  46. package/{expression-d0123c5e.js → expression-8dec47fe.js} +2 -2
  47. package/feedback-widget-170e748c.js +26 -0
  48. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-e319c24f.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8af4ae9f.js} +5 -5
  49. package/{fieldobj-8b1bd2cd.js → fieldobj-b9dc0fa4.js} +1 -1
  50. package/{file-upload-widget-4be15b09.js → file-upload-widget-962de378.js} +20 -20
  51. package/{form-item-wrapper-bee9059a.js → form-item-wrapper-d3ad2de0.js} +11 -11
  52. package/{form-widget-abd5c0a8.js → form-widget-ef09a16a.js} +10 -10
  53. package/{grid-col-widget-bc5c7221.js → grid-col-widget-d4acebd9.js} +1 -1
  54. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-0879986f.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-9f4143f4.js} +5 -5
  55. package/{grid-widget-62509704.js → grid-widget-59dc4c39.js} +5 -5
  56. package/{html-text-widget-0bdbd573.js → html-text-widget-3b6ee038.js} +14 -14
  57. package/{icon-widget-ec62f2d7.js → icon-widget-a66d9a02.js} +13 -13
  58. package/{iframe-widget-69e1cfc0.js → iframe-widget-c0fab6c8.js} +13 -13
  59. package/{image-widget-58f98209.js → image-widget-80426cea.js} +13 -13
  60. package/{index-1f875a7a.js → index-87d3b375.js} +466 -458
  61. package/{index-5a2da8b2.js → index-b82fc973.js} +1 -1
  62. package/{index-d7f361c6.js → index-c5927286.js} +4 -4
  63. package/{input-number-widget-0c99d6ce.js → input-number-widget-f44c8ebc.js} +15 -15
  64. package/{input-widget-9b476df3.js → input-widget-ace0300e.js} +26 -26
  65. package/{label-wrapper-ce4b9bdd.js → label-wrapper-b294182f.js} +5 -5
  66. package/{label-wrapper.vue_vue_type_style_index_0_lang-ca9edd3a.js → label-wrapper.vue_vue_type_style_index_0_lang-a68fc27e.js} +3 -3
  67. package/{link-widget-2f2b6b52.js → link-widget-ec449bd6.js} +16 -16
  68. package/{ltable-col-widget-ad03beff.js → ltable-col-widget-51e07713.js} +1 -1
  69. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-714a8bbd.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-369d758f.js} +9 -9
  70. package/{ltable-widget-37047d58.js → ltable-widget-14580904.js} +5 -5
  71. package/menu-widget-efb62411.js +154 -0
  72. package/{model-widget-90c39c6a.js → model-widget-b8188485.js} +13 -13
  73. package/{multirow-a90a02fe.js → multirow-169e628f.js} +77 -77
  74. package/{multirow-widget-634a0d82.js → multirow-widget-fffaa309.js} +59 -59
  75. package/package.json +1 -1
  76. package/{pagination-widget-99bb260a.js → pagination-widget-749ab51c.js} +13 -13
  77. package/{picture-upload-widget-59ccd0ea.js → picture-upload-widget-870997b0.js} +16 -16
  78. package/{progress-widget-c33d7e61.js → progress-widget-0fdf11d5.js} +14 -14
  79. package/{propresult-9ceda396.js → propresult-10fa007b.js} +1 -1
  80. package/qrcode-widget-4f8af10a.js +69 -0
  81. package/{radio-widget-df1b657d.js → radio-widget-8693eb03.js} +15 -15
  82. package/{range-widget-335f0dd9.js → range-widget-6cf5b012.js} +16 -16
  83. package/{rate-widget-083c03c8.js → rate-widget-ae480517.js} +15 -15
  84. package/render.es.js +32 -32
  85. package/render.style.css +1 -1
  86. package/render.umd.js +621 -611
  87. package/{result-widget-1be3b291.js → result-widget-312936cf.js} +14 -14
  88. package/{rich-editor-widget-2b72cb03.js → rich-editor-widget-0b382b09.js} +15 -15
  89. package/{router-widget-9e4f59cd.js → router-widget-554e8fd9.js} +13 -13
  90. package/{select-widget-03f605b8.js → select-widget-53daaec3.js} +15 -15
  91. package/{sfc-a4a07b79.js → sfc-39e2a132.js} +10 -10
  92. package/{sfcview-e9165868.js → sfcview-d2924e26.js} +7 -7
  93. package/{share-field-05cfce0a.js → share-field-227e573a.js} +8 -8
  94. package/{share-file-94351ee0.js → share-file-97683189.js} +6 -6
  95. package/{slider-widget-033a247b.js → slider-widget-11f6773b.js} +15 -15
  96. package/slot-da3b397f.js +313 -0
  97. package/{static-text-widget-116b6909.js → static-text-widget-46f29a58.js} +14 -14
  98. package/{steps-widget-709a0c2a.js → steps-widget-c694f349.js} +13 -13
  99. package/{subMenu-widget-bba667f0.js → subMenu-widget-db1f3b9c.js} +8 -8
  100. package/subMenu-widget.vue_vue_type_script_setup_true_lang-02e8aaee.js +81 -0
  101. package/{switch-widget-c3a4c3c8.js → switch-widget-8f21f942.js} +15 -15
  102. package/{tab-pane-widget-c2b8bf3a.js → tab-pane-widget-c45db025.js} +1 -1
  103. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ae3d9295.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0352bf40.js} +5 -5
  104. package/table-col-widget-4228d3c2.js +22 -0
  105. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-ee3bb132.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5623617e.js} +6 -6
  106. package/{table-widget-b1738910.js → table-widget-eac0c746.js} +15 -15
  107. package/{tabs-widget-dd5e607f.js → tabs-widget-1ddf6535.js} +7 -7
  108. package/{tag-widget-ee1c258e.js → tag-widget-33cde894.js} +16 -16
  109. package/{text-widget-c7447356.js → text-widget-eec191a3.js} +16 -16
  110. package/{textarea-widget-c6022f67.js → textarea-widget-617f4408.js} +15 -15
  111. package/{time-picker-range-widget-7bfa6157.js → time-picker-range-widget-f0fe2eea.js} +15 -15
  112. package/{time-picker-widget-cab8b63c.js → time-picker-widget-80a02857.js} +15 -15
  113. package/{time-select-widget-8a293fb1.js → time-select-widget-1c52c4ba.js} +15 -15
  114. package/{tmpl-widget-be8e304f.js → tmpl-widget-6a99246c.js} +14 -14
  115. package/{tree-select-widget-94a57892.js → tree-select-widget-ffee176b.js} +15 -15
  116. package/{tree-widget-18c5a5ac.js → tree-widget-3f55b5e2.js} +13 -13
  117. package/{uuid-f9e11f04.js → uuid-de039332.js} +1 -1
  118. package/{verifycode-widget-e5005804.js → verifycode-widget-fa1e1b23.js} +13 -13
  119. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b949474e.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js} +7 -7
  120. package/{wrapper-widget-80383b71.js → wrapper-widget-b770069e.js} +6 -6
  121. package/xlsx-999c0f09.js +25068 -0
  122. package/baseImp-4ac8debd.js +0 -27791
  123. package/default-slot-widget-e3e37cf0.js +0 -26
  124. package/feedback-widget-7b634e31.js +0 -26
  125. package/menu-widget-a1b75613.js +0 -127
  126. package/qrcode-widget-c921c781.js +0 -1525
  127. package/subMenu-widget.vue_vue_type_script_setup_true_lang-11c27b67.js +0 -84
  128. package/table-col-widget-90ed2b0b.js +0 -22
@@ -1,24 +1,24 @@
1
1
  import { defineComponent as d, computed as k, resolveComponent as S, openBlock as i, createBlock as p, mergeProps as m, unref as t, withCtx as a, toHandlers as j, createSlots as v, renderList as h, resolveDynamicComponent as D, createCommentVNode as F, createVNode as V } from "vue";
2
- import { e as $ } from "./enum-type-5eeafa5c.js";
2
+ import { e as $ } from "./enum-type-523bc2b7.js";
3
3
  import { I as B } from "./field-base-5547436d.js";
4
- import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b949474e.js";
5
- import { b as I } from "./share-field-05cfce0a.js";
6
- import { w as O } from "./expression-d0123c5e.js";
7
- import { D as P } from "./drag-wrapper-c4f125d8.js";
8
- import { g as W } from "./slot-140ccbe1.js";
4
+ import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
5
+ import { b as I } from "./share-field-227e573a.js";
6
+ import { w as O } from "./expression-8dec47fe.js";
7
+ import { D as P } from "./drag-wrapper-571e1bf5.js";
8
+ import { g as W } from "./slot-da3b397f.js";
9
9
  import "./widget-base-4c2d6265.js";
10
- import "./index-1f875a7a.js";
11
- import "./uuid-f9e11f04.js";
12
- import "./enum-type-c44af727.js";
13
- import "./baseImp-4ac8debd.js";
10
+ import "./index-87d3b375.js";
11
+ import "./uuid-de039332.js";
12
+ import "./enum-type-4aac0ead.js";
13
+ import "./baseImp-79376d04.js";
14
14
  import "./icon-a0e0cdb0.js";
15
- import "./dialog-265a6e9e.js";
15
+ import "./dialog-0acb2540.js";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
17
  import "element-plus";
18
- import "./index-5a2da8b2.js";
18
+ import "./index-b82fc973.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
20
- import "./fieldobj-8b1bd2cd.js";
21
- import "./multirow-a90a02fe.js";
20
+ import "./fieldobj-b9dc0fa4.js";
21
+ import "./multirow-169e628f.js";
22
22
  import "./source-map-b04aec4a.js";
23
23
  import "./esprima-e8d15055.js";
24
24
  const z = d({ componentName: O.FieldWidget }), se = /* @__PURE__ */ d({
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as u, computed as d, shallowRef as x, onMounted as F, nextTick as H, openBlock as s, createBlock as a, mergeProps as c, unref as e, withCtx as V, createElementVNode as j, normalizeClass as I, normalizeStyle as M, resolveDynamicComponent as W, isRef as z, toHandlers as B } from "vue";
2
- import { b as N } from "./share-field-05cfce0a.js";
2
+ import { b as N } from "./share-field-227e573a.js";
3
3
  import { I as P } from "./field-base-5547436d.js";
4
- import R from "./form-item-wrapper-bee9059a.js";
5
- import { w as S } from "./expression-d0123c5e.js";
6
- import { d as q, E as D } from "./enum-type-5eeafa5c.js";
7
- import "./multirow-a90a02fe.js";
8
- import "./baseImp-4ac8debd.js";
9
- import "./enum-type-c44af727.js";
4
+ import R from "./form-item-wrapper-d3ad2de0.js";
5
+ import { w as S } from "./expression-8dec47fe.js";
6
+ import { d as q, E as D } from "./enum-type-523bc2b7.js";
7
+ import "./multirow-169e628f.js";
8
+ import "./baseImp-79376d04.js";
9
+ import "./enum-type-4aac0ead.js";
10
10
  import "./icon-a0e0cdb0.js";
11
- import "./dialog-265a6e9e.js";
11
+ import "./dialog-0acb2540.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
- import "./uuid-f9e11f04.js";
13
+ import "./uuid-de039332.js";
14
14
  import "element-plus";
15
- import "./index-1f875a7a.js";
16
- import "./slot-140ccbe1.js";
15
+ import "./index-87d3b375.js";
16
+ import "./slot-da3b397f.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b949474e.js";
19
- import "./index-5a2da8b2.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
19
+ import "./index-b82fc973.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-8b1bd2cd.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-ca9edd3a.js";
21
+ import "./fieldobj-b9dc0fa4.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-a68fc27e.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const K = u({ componentName: S.FieldWidget }), ue = /* @__PURE__ */ u({
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as m, resolveComponent as u, openBlock as e, createBlock as i, mergeProps as g, unref as o, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as b } from "vue";
2
- import { b as y } from "./share-field-05cfce0a.js";
2
+ import { b as y } from "./share-field-227e573a.js";
3
3
  import { I as v } from "./field-base-5547436d.js";
4
- import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b949474e.js";
5
- import { w as F } from "./expression-d0123c5e.js";
6
- import "./enum-type-5eeafa5c.js";
7
- import "./multirow-a90a02fe.js";
8
- import "./baseImp-4ac8debd.js";
9
- import "./enum-type-c44af727.js";
4
+ import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
5
+ import { w as F } from "./expression-8dec47fe.js";
6
+ import "./enum-type-523bc2b7.js";
7
+ import "./multirow-169e628f.js";
8
+ import "./baseImp-79376d04.js";
9
+ import "./enum-type-4aac0ead.js";
10
10
  import "./icon-a0e0cdb0.js";
11
- import "./dialog-265a6e9e.js";
11
+ import "./dialog-0acb2540.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
- import "./uuid-f9e11f04.js";
13
+ import "./uuid-de039332.js";
14
14
  import "element-plus";
15
- import "./index-1f875a7a.js";
16
- import "./slot-140ccbe1.js";
15
+ import "./index-87d3b375.js";
16
+ import "./slot-da3b397f.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./index-5a2da8b2.js";
18
+ import "./index-b82fc973.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
20
- import "./fieldobj-8b1bd2cd.js";
20
+ import "./fieldobj-b9dc0fa4.js";
21
21
  import "./source-map-b04aec4a.js";
22
22
  import "./esprima-e8d15055.js";
23
23
  const h = { key: 0 }, B = m({ componentName: F.FieldWidget }), T = /* @__PURE__ */ m({
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as ve, ref as S, computed as te, shallowRef as ue, watch as Fe, onMounted as we, resolveComponent as R, openBlock as u, createBlock as d, mergeProps as K, unref as e, withCtx as m, isRef as re, toHandlers as ne, createElementBlock as k, createVNode as ze, createTextVNode as Ne, toDisplayString as Se, createCommentVNode as V, Fragment as _, renderList as B, resolveDynamicComponent as j } from "vue";
2
- import { t as O, c as oe, e as q } from "./enum-type-5eeafa5c.js";
3
- import { d as Be } from "./baseImp-4ac8debd.js";
4
- import { b as Ee } from "./share-field-05cfce0a.js";
2
+ import { t as O, c as oe, e as q } from "./enum-type-523bc2b7.js";
3
+ import { d as Be } from "./baseImp-79376d04.js";
4
+ import { b as Ee } from "./share-field-227e573a.js";
5
5
  import { I as Pe } from "./field-base-5547436d.js";
6
- import De from "./form-item-wrapper-bee9059a.js";
7
- import { b as Le, w as Re } from "./expression-d0123c5e.js";
8
- import { d as se } from "./slot-140ccbe1.js";
9
- import "./enum-type-c44af727.js";
6
+ import De from "./form-item-wrapper-d3ad2de0.js";
7
+ import { b as Le, w as Re } from "./expression-8dec47fe.js";
8
+ import { d as se } from "./slot-da3b397f.js";
9
+ import "./enum-type-4aac0ead.js";
10
10
  import "./icon-a0e0cdb0.js";
11
- import "./dialog-265a6e9e.js";
11
+ import "./dialog-0acb2540.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
- import "./uuid-f9e11f04.js";
13
+ import "./uuid-de039332.js";
14
14
  import "element-plus";
15
- import "./multirow-a90a02fe.js";
16
- import "./index-1f875a7a.js";
15
+ import "./multirow-169e628f.js";
16
+ import "./index-87d3b375.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b949474e.js";
19
- import "./index-5a2da8b2.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
19
+ import "./index-b82fc973.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-8b1bd2cd.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-ca9edd3a.js";
21
+ import "./fieldobj-b9dc0fa4.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-a68fc27e.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const Ue = {
@@ -1,17 +1,17 @@
1
1
  var qe = Object.defineProperty;
2
2
  var Ve = (t, i, s) => i in t ? qe(t, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[i] = s;
3
3
  var Y = (t, i, s) => (Ve(t, typeof i != "symbol" ? i + "" : i, s), s);
4
- import { S as q, f as Fe, i as Wt, h as J, T as Bt, o as H, d as B, U as Xe, j as mt, V as Ge, c as Kt, W as Qe, E as Ee, k as He } from "./enum-type-5eeafa5c.js";
5
- import { B as w, P as M, A as ke, F as Je, C as Ye, D as Ze, b as gt, G as ti } from "./baseImp-4ac8debd.js";
6
- import { b as rt, m as F, s as _t, r as ei, n as Re } from "./expression-d0123c5e.js";
7
- import { c as R, d as ii, H as Yt, e as Zt, _ as si } from "./enum-type-c44af727.js";
8
- import { d as Se } from "./slot-140ccbe1.js";
9
- import { t as ni, l as Ae, m as Ce } from "./index-1f875a7a.js";
4
+ import { S as q, f as Fe, i as Wt, h as J, T as Bt, o as H, d as B, U as Xe, j as mt, V as Ge, c as Kt, W as Qe, E as Ee, k as He } from "./enum-type-523bc2b7.js";
5
+ import { B as w, P as M, A as ke, F as Je, C as Ye, D as Ze, b as gt, G as ti } from "./baseImp-79376d04.js";
6
+ import { b as rt, m as F, s as _t, r as ei, n as Re } from "./expression-8dec47fe.js";
7
+ import { c as R, d as ii, H as Yt, e as Zt, _ as si } from "./enum-type-4aac0ead.js";
8
+ import { d as Se } from "./slot-da3b397f.js";
9
+ import { t as ni, l as Ae, m as Ce } from "./index-87d3b375.js";
10
10
  import "vue";
11
11
  import "./icon-a0e0cdb0.js";
12
- import "./dialog-265a6e9e.js";
12
+ import "./dialog-0acb2540.js";
13
13
  import "./_commonjsHelpers-e7ea1525.js";
14
- import "./uuid-f9e11f04.js";
14
+ import "./uuid-de039332.js";
15
15
  import "element-plus";
16
16
  import "./source-map-b04aec4a.js";
17
17
  import "./esprima-e8d15055.js";
@@ -2012,7 +2012,7 @@ const vi = (t) => {
2012
2012
  }, xi = function(t, i, s) {
2013
2013
  const e = Ft(i), n = Xt(i);
2014
2014
  let r = { ...e, ...n, ...s };
2015
- const u = We(t, !1), o = Ke(t, !1), l = "ctx:Object", x = o ? `
2015
+ const u = We(t, !1), o = Ke(t, !1), l = "ctx:Object,viewParams:String", x = o ? `
2016
2016
  mounted() {
2017
2017
  ${o}
2018
2018
  pageMounted(this.ctx);
@@ -2038,7 +2038,7 @@ const vi = (t) => {
2038
2038
  ` : void 0, v = y ? `onMounted(()=>{
2039
2039
  ${y}
2040
2040
  pageMounted(props.ctx);}
2041
- });` : void 0, A = "const props=defineProps({ctx:{type:Object}});", $ = Bt(r) ? void 0 : o.join(`
2041
+ });` : void 0, A = "const props=defineProps({ctx:{type:Object},viewParams:{type:String}});", $ = Bt(r) ? void 0 : o.join(`
2042
2042
  `);
2043
2043
  return `${(h = [l, A, $, b, v].filter((k) => !mt(k))) == null ? void 0 : h.join(`
2044
2044
  `)}
@@ -1,13 +1,13 @@
1
- import { D as B, B as a } from "./baseImp-4ac8debd.js";
2
- import { c as l } from "./enum-type-c44af727.js";
3
- import { f as D, n as G, o as J } from "./index-1f875a7a.js";
4
- import { j as h } from "./expression-d0123c5e.js";
5
- import { f as k, c as b } from "./enum-type-5eeafa5c.js";
1
+ import { D as B, B as a } from "./baseImp-79376d04.js";
2
+ import { c as l } from "./enum-type-4aac0ead.js";
3
+ import { f as D, n as G, o as J } from "./index-87d3b375.js";
4
+ import { j as h } from "./expression-8dec47fe.js";
5
+ import { f as k, c as b } from "./enum-type-523bc2b7.js";
6
6
  import "./icon-a0e0cdb0.js";
7
7
  import "vue";
8
- import "./dialog-265a6e9e.js";
8
+ import "./dialog-0acb2540.js";
9
9
  import "./_commonjsHelpers-e7ea1525.js";
10
- import "./uuid-f9e11f04.js";
10
+ import "./uuid-de039332.js";
11
11
  import "element-plus";
12
12
  import "./source-map-b04aec4a.js";
13
13
  import "./esprima-e8d15055.js";
@@ -2,15 +2,15 @@ var xn = Object.defineProperty;
2
2
  var Mn = (t, u, p) => u in t ? xn(t, u, { enumerable: !0, configurable: !0, writable: !0, value: p }) : t[u] = p;
3
3
  var tt = (t, u, p) => (Mn(t, typeof u != "symbol" ? u + "" : u, p), p);
4
4
  import { onMounted as ut, nextTick as at, onActivated as _n, onErrorCaptured as Sn, isRef as ct, watch as Z, reactive as Wn, ref as ve, computed as We, onBeforeUnmount as Dn, inject as Pn, toRefs as Nn } from "vue";
5
- import { m as se, a as Ne, c as Be, t as it, i as ft, o as X, g as w, w as Tn, K as Bn, h as Oe, f as lt, k as Fn, n as In, E as Y, d as de, z as Ln, H as ge } from "./enum-type-5eeafa5c.js";
6
- import { p as nt, b as mt, g as jn, f as he, a as $n } from "./multirow-a90a02fe.js";
5
+ import { m as se, a as Ne, c as Be, t as it, i as ft, o as X, g as w, w as Tn, K as Bn, h as Oe, f as lt, k as Fn, n as In, E as Y, d as de, z as Ln, H as ge } from "./enum-type-523bc2b7.js";
6
+ import { p as nt, b as mt, g as jn, f as he, a as $n } from "./multirow-169e628f.js";
7
7
  import { u as vt } from "./icon-a0e0cdb0.js";
8
- import { f as $, j as pe, k as kn, l as ot, b as j, a as An, d as Hn } from "./expression-d0123c5e.js";
9
- import { b as dt, d as Te, B as q, P as gt, c as ht, e as Kn, a as rt } from "./baseImp-4ac8debd.js";
10
- import { F as qn, b as Gn, a as Un } from "./slot-140ccbe1.js";
11
- import { f as Jn, d as zn, h as De, e as Qn } from "./index-1f875a7a.js";
12
- import { W as k, c as Q } from "./enum-type-c44af727.js";
13
- import { m as Xn } from "./uuid-f9e11f04.js";
8
+ import { f as $, j as pe, k as kn, l as ot, b as j, a as An, d as Hn } from "./expression-8dec47fe.js";
9
+ import { b as dt, d as Te, B as q, P as gt, c as ht, e as Kn, a as rt } from "./baseImp-79376d04.js";
10
+ import { F as qn, b as Gn, a as Un } from "./slot-da3b397f.js";
11
+ import { f as Jn, d as zn, h as De, e as Qn } from "./index-87d3b375.js";
12
+ import { W as k, c as Q } from "./enum-type-4aac0ead.js";
13
+ import { m as Xn } from "./uuid-de039332.js";
14
14
  function Yn() {
15
15
  return {
16
16
  onMountedOrActivated: (p) => {
@@ -1,10 +1,10 @@
1
1
  import { reactive as ge, ref as _, computed as B } from "vue";
2
- import { f as z, e as m, d as fe, c as we, t as be, E as b, i as A } from "./enum-type-5eeafa5c.js";
3
- import { b as Ee } from "./share-field-05cfce0a.js";
4
- import { f as s } from "./expression-d0123c5e.js";
5
- import { $ as De, f as p, H as xe } from "./baseImp-4ac8debd.js";
6
- import { g as ye } from "./uuid-f9e11f04.js";
7
- import { ah as E } from "./enum-type-c44af727.js";
2
+ import { f as z, e as m, d as fe, c as we, t as be, E as b, i as A } from "./enum-type-523bc2b7.js";
3
+ import { b as Ee } from "./share-field-227e573a.js";
4
+ import { f as s } from "./expression-8dec47fe.js";
5
+ import { $ as De, f as p, H as xe } from "./baseImp-79376d04.js";
6
+ import { g as ye } from "./uuid-de039332.js";
7
+ import { ah as E } from "./enum-type-4aac0ead.js";
8
8
  function Te(I) {
9
9
  const T = (e) => {
10
10
  var r = [e];
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as d, computed as w, resolveComponent as x, openBlock as s, createBlock as m, mergeProps as n, unref as e, withCtx as C, isRef as F, toHandlers as b, createTextVNode as z, toDisplayString as I } from "vue";
2
- import { b as B } from "./share-field-05cfce0a.js";
2
+ import { b as B } from "./share-field-227e573a.js";
3
3
  import { I as E } from "./field-base-5547436d.js";
4
- import N from "./form-item-wrapper-bee9059a.js";
5
- import { w as P } from "./expression-d0123c5e.js";
6
- import { t as a } from "./enum-type-5eeafa5c.js";
7
- import "./multirow-a90a02fe.js";
8
- import "./baseImp-4ac8debd.js";
9
- import "./enum-type-c44af727.js";
4
+ import N from "./form-item-wrapper-d3ad2de0.js";
5
+ import { w as P } from "./expression-8dec47fe.js";
6
+ import { t as a } from "./enum-type-523bc2b7.js";
7
+ import "./multirow-169e628f.js";
8
+ import "./baseImp-79376d04.js";
9
+ import "./enum-type-4aac0ead.js";
10
10
  import "./icon-a0e0cdb0.js";
11
- import "./dialog-265a6e9e.js";
11
+ import "./dialog-0acb2540.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
- import "./uuid-f9e11f04.js";
13
+ import "./uuid-de039332.js";
14
14
  import "element-plus";
15
- import "./index-1f875a7a.js";
16
- import "./slot-140ccbe1.js";
15
+ import "./index-87d3b375.js";
16
+ import "./slot-da3b397f.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b949474e.js";
19
- import "./index-5a2da8b2.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
19
+ import "./index-b82fc973.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-8b1bd2cd.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-ca9edd3a.js";
21
+ import "./fieldobj-b9dc0fa4.js";
22
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-a68fc27e.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const S = d({ componentName: P.FieldWidget }), pe = /* @__PURE__ */ d({
@@ -0,0 +1,313 @@
1
+ var M = Object.defineProperty;
2
+ var _ = (e, t, o) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var F = (e, t, o) => (_(e, typeof t != "symbol" ? t + "" : t, o), o);
4
+ import { inject as T, provide as p, computed as g } from "vue";
5
+ import { d, b, r as O, s as B } from "./expression-8dec47fe.js";
6
+ import { B as G } from "./baseImp-79376d04.js";
7
+ import { c as N, i as V, m as H, j as A, o as q } from "./enum-type-523bc2b7.js";
8
+ class W {
9
+ constructor() {
10
+ /**
11
+ * 当前表单引用库
12
+ * 假设表单组件位于表单form中,则该引用注册入库
13
+ */
14
+ F(this, "formRefList", {});
15
+ /**
16
+ * 全局引用库
17
+ */
18
+ F(this, "globalRefList", {});
19
+ /**
20
+ * 全局数据对象
21
+ */
22
+ F(this, "globalDataModel", {});
23
+ /**
24
+ * 当前表单名称
25
+ */
26
+ F(this, "globalFormName", "");
27
+ /**
28
+ * 全局页面名称
29
+ */
30
+ // globalPageName?: string = "";
31
+ /**
32
+ * 用于类似template组件的数据绑定传递
33
+ */
34
+ F(this, "rowScope", {});
35
+ /**
36
+ * 渲染器调用者传入的配置参数,如接口地址、密钥等
37
+ */
38
+ F(this, "globalConfig", {});
39
+ }
40
+ static globalInject() {
41
+ const t = new W();
42
+ return t.formRefList = T(d.refList, {}), t.globalRefList = T(d.allRefList, {}), t.globalDataModel = T(d.globalModel, {}), t.rowScope = T(d.rowScope, {}), t.globalFormName = T(d.globalForm, ""), t.globalConfig = T(d.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
+ p(d.globalModel, o);
48
+ }
49
+ if ((t == null ? void 0 : t.rowScope) !== void 0) {
50
+ const o = (t == null ? void 0 : t.rowScope) || {};
51
+ p(d.rowScope, o);
52
+ }
53
+ if ((t == null ? void 0 : t.globalRefList) !== void 0) {
54
+ const o = (t == null ? void 0 : t.globalRefList) || {};
55
+ p(d.allRefList, o);
56
+ }
57
+ if ((t == null ? void 0 : t.formRefList) !== void 0) {
58
+ const o = (t == null ? void 0 : t.formRefList) || {};
59
+ p(d.refList, o);
60
+ }
61
+ if ((t == null ? void 0 : t.globalFormName) !== void 0) {
62
+ const o = (t == null ? void 0 : t.globalFormName) || "";
63
+ p(d.globalForm, o);
64
+ }
65
+ if ((t == null ? void 0 : t.globalConfig) !== void 0) {
66
+ const o = (t == null ? void 0 : t.globalConfig) || "";
67
+ p(d.globalConfig, o);
68
+ }
69
+ }
70
+ }
71
+ function ot(e) {
72
+ const t = (c, S = !1) => G.getOptions(e == null ? void 0 : e.widget, c, S, !(e != null && e.designState)), o = g(() => t(b.ctrlWidth) || "auto"), l = g(() => t(b.ctrlHeight) || "auto"), n = g(() => t(b.displayLayout)), i = g(() => {
73
+ var c = t(b.customClass);
74
+ return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
75
+ }), y = g(() => {
76
+ var c = t(b.componentWrapperClass);
77
+ return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
78
+ }), a = g(() => t(b.css)), s = g(() => {
79
+ var c = t(b.componentRootClass);
80
+ return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
81
+ }), r = g(() => {
82
+ var c, S;
83
+ return (S = N((c = t(b.required, !0)) == null ? void 0 : c.options)) == null ? void 0 : S.enable;
84
+ }), h = g(() => t(b.hidden)), w = g(() => t(b.labelTooltip)), u = g(() => t(b.labelIconClass)), f = g(() => t(b.labelIconPosition)), m = g(() => t(b.labelHidden)), C = g(() => t(b.label)), L = g(() => t(b.labelWidth)), R = g(() => t(b.labelAlign));
85
+ return {
86
+ //size,
87
+ attrs: g(() => ({
88
+ required: r.value,
89
+ label: C.value,
90
+ labelHidden: m.value,
91
+ labelAlign: R.value,
92
+ labelIconClass: u.value,
93
+ labelIconPosition: f.value,
94
+ labelTooltip: w.value,
95
+ labelWidth: L.value,
96
+ ctrlWidth: o.value
97
+ })),
98
+ labelAlign: R,
99
+ labelHidden: m,
100
+ labelIconClass: u,
101
+ labelIconPosition: f,
102
+ labelTooltip: w,
103
+ labelWidth: L,
104
+ label: C,
105
+ displayLayout: n,
106
+ hidden: h,
107
+ // required,
108
+ ctrlWidth: o,
109
+ ctrlHeight: l,
110
+ customClass: i,
111
+ componentWrapperClass: y,
112
+ componentRootClass: s,
113
+ css: a
114
+ };
115
+ }
116
+ const $ = (e = "") => new Promise((t) => {
117
+ import("./index-3aaf8638.js").then((o) => {
118
+ const l = o.parse(e, {
119
+ positions: !0,
120
+ parseValue: !1
121
+ }), n = [];
122
+ o.walk(l, {
123
+ visit: "Rule",
124
+ enter(i) {
125
+ const y = o.generate(i.prelude), a = {};
126
+ o.walk(i, {
127
+ visit: "Declaration",
128
+ enter(s) {
129
+ s.property && (a[s.property] = o.generate(s.value));
130
+ }
131
+ }), n.push({ selector: y, declarations: a });
132
+ }
133
+ }), t(n);
134
+ });
135
+ }), E = (e) => new Promise((t) => {
136
+ import("./index-3aaf8638.js").then((o) => {
137
+ const l = x(e), n = o.parse(l, { context: "stylesheet" });
138
+ t(o.generate(n));
139
+ });
140
+ });
141
+ function x(e) {
142
+ return e.map((o) => {
143
+ var n, i, y;
144
+ const l = (y = (i = (n = Object.entries(o.declarations)) == null ? void 0 : n.filter(([a, s]) => !V(s) && s !== "")) == null ? void 0 : i.sort(([a], [s]) => a > s ? 1 : -1)) == null ? void 0 : y.map(([a, s]) => `${a}: ${s};`);
145
+ return `${o.selector} { ${l.join(" ")} }`;
146
+ }).join(`
147
+ `);
148
+ }
149
+ const z = () => new Promise((e) => {
150
+ import("./acorn-a3705767.js").then((t) => {
151
+ e(t);
152
+ });
153
+ });
154
+ function J(e) {
155
+ return new Promise((t) => {
156
+ z().then((o) => {
157
+ var l = Q(o, e);
158
+ t(l);
159
+ });
160
+ });
161
+ }
162
+ function Q(e, t) {
163
+ var i, y;
164
+ const o = e.parse(t, {
165
+ ecmaVersion: "latest",
166
+ sourceType: "script",
167
+ ranges: !0
168
+ // ←←← 必须启用,才能 slice 源码
169
+ }), l = [], n = [];
170
+ for (const a of o.body) {
171
+ if (a.type === "FunctionDeclaration" && ((i = a.id) != null && i.name) && a.range) {
172
+ const s = a.id.name, r = t.slice(a.range[0], a.range[1]);
173
+ l.push({ name: s, text: r });
174
+ }
175
+ if (a.type === "ClassDeclaration" && ((y = a.id) != null && y.name) && a.range) {
176
+ const s = a.id.name, r = t.slice(a.range[0], a.range[1]);
177
+ n.push({ name: s, text: r });
178
+ }
179
+ }
180
+ return { functions: l, classes: n };
181
+ }
182
+ const U = () => {
183
+ const e = "v_form_global_css", t = (s = "", r = e) => {
184
+ var h = n(s, r);
185
+ l(h);
186
+ }, o = (s = "", r = "", h = e) => {
187
+ if (!s)
188
+ return;
189
+ let w = document.getElementsByTagName("head")[0];
190
+ if (w)
191
+ try {
192
+ var u = n(r, h);
193
+ l(h), l(u);
194
+ let f = document.createElement("style");
195
+ if (!f)
196
+ return;
197
+ f.type = "text/css", f.id = r ? h + "-" + r : h;
198
+ try {
199
+ f.appendChild(document.createTextNode(s.toString()));
200
+ } catch {
201
+ f.innerHTML = s.toString();
202
+ }
203
+ w.appendChild(f);
204
+ } catch (f) {
205
+ H.error("insert css to head fail", f);
206
+ }
207
+ }, l = (s) => {
208
+ let r = document.getElementById(s);
209
+ try {
210
+ r && r.parentNode && r.parentNode.removeChild(r);
211
+ } catch (h) {
212
+ console.log(h, r);
213
+ }
214
+ }, n = (s, r) => s ? r + "-" + s : r, i = "v_form_global_functions";
215
+ return {
216
+ insertCustomCssToHead: o,
217
+ insertGlobalFunctionsToHtml: (s) => {
218
+ try {
219
+ J(s).then((r) => {
220
+ var h, w;
221
+ (h = r.functions) == null || h.forEach((u) => {
222
+ let f;
223
+ const m = u == null ? void 0 : u.text, C = u == null ? void 0 : u.name;
224
+ try {
225
+ f = new Function(`return ${m}`)();
226
+ } catch (L) {
227
+ H.error(`Failed to compile function "${C}":`, L);
228
+ return;
229
+ }
230
+ window[C] = f;
231
+ }), (w = r.classes) == null || w.forEach((u) => {
232
+ const f = u == null ? void 0 : u.text, m = u == null ? void 0 : u.name;
233
+ let C;
234
+ try {
235
+ C = new Function(`return ${f}`)();
236
+ } catch (L) {
237
+ H.error(`Failed to compile class "${m}":`, L);
238
+ return;
239
+ }
240
+ window[m] = C;
241
+ });
242
+ });
243
+ } catch (r) {
244
+ H.error("insert js to head fail", r);
245
+ }
246
+ },
247
+ removeGlobalFunctionsToHtml: (s, r = i) => {
248
+ var h = n(s, r);
249
+ l(h);
250
+ },
251
+ removeCustomCssToHead: t
252
+ };
253
+ }, K = [
254
+ "width",
255
+ "height",
256
+ "display",
257
+ "margin",
258
+ "margin-left",
259
+ "margin-right",
260
+ "margin-top",
261
+ "margin-bottom"
262
+ ], X = (e, t, o) => {
263
+ const l = {};
264
+ return t.forEach((n) => {
265
+ var i = e[n];
266
+ A(i) || (l[n] = o ? o(n, i) : i);
267
+ }), l;
268
+ }, Y = (e, t, o) => {
269
+ var n;
270
+ const l = {};
271
+ return (n = q(e)) == null || n.forEach((i) => {
272
+ var y = e[i];
273
+ t != null && t.includes(i) || (l[i] = o ? o(i, y) : y);
274
+ }), l;
275
+ }, D = (e, t) => ["width", "height", "display"].includes(e) ? A(t) || t == "auto" ? t : `${t} !important` : t, et = (e) => new Promise((t) => {
276
+ $(e).then((o) => {
277
+ var l = o == null ? void 0 : o.map((n) => ({ selector: n.selector, declarations: X(n.declarations, K, D) }));
278
+ E(l).then((n) => {
279
+ t(n);
280
+ });
281
+ });
282
+ }), nt = (e) => new Promise((t) => {
283
+ $(e).then((o) => {
284
+ var l = o == null ? void 0 : o.map((n) => ({ selector: n.selector, declarations: Y(n.declarations, K, D) }));
285
+ E(l).then((n) => {
286
+ t(n);
287
+ });
288
+ });
289
+ }), lt = (e, t) => {
290
+ if (!t || !e)
291
+ return;
292
+ const o = O(e, ":root", `.${t}`), { insertCustomCssToHead: l } = U();
293
+ l(o, void 0, t);
294
+ }, st = (e, t = !0, o) => {
295
+ if (o != null && o === !1)
296
+ return [];
297
+ const l = Z(e);
298
+ return t || (e == null ? void 0 : e.length) <= 0 ? l : l == null ? void 0 : l.filter((n) => {
299
+ var i;
300
+ return !!(n != null && n.widgetList) && ((i = n == null ? void 0 : n.widgetList) == null ? void 0 : i.length) > 0 || !!n.default || (n == null ? void 0 : n.slotName) === B.default;
301
+ });
302
+ }, rt = (e, t) => e == null ? void 0 : e.find((o) => (o == null ? void 0 : o.slotName) === t), Z = (e) => N(e);
303
+ export {
304
+ W as F,
305
+ lt as a,
306
+ nt as b,
307
+ ot as c,
308
+ rt as d,
309
+ st as g,
310
+ Z as i,
311
+ et as p,
312
+ U as u
313
+ };