@farris/ui-vue 1.2.7 → 1.2.8

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 (206) hide show
  1. package/components/accordion/index.esm.js +79 -79
  2. package/components/avatar/index.esm.js +393 -440
  3. package/components/border-editor/index.esm.js +4 -4
  4. package/components/button/index.esm.js +1 -1
  5. package/components/button-edit/index.esm.js +353 -444
  6. package/components/button-group/index.esm.js +5 -5
  7. package/components/calendar/index.esm.js +176 -176
  8. package/components/capsule/index.esm.js +93 -93
  9. package/components/checkbox/index.esm.js +496 -542
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +437 -483
  12. package/components/combo-tree/index.esm.js +8 -8
  13. package/components/component/index.esm.js +89 -89
  14. package/components/condition/index.esm.js +839 -726
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4702 -4972
  17. package/components/data-view/index.esm.js +2999 -2875
  18. package/components/date-picker/index.esm.js +2626 -2672
  19. package/components/dependent-base/style.js +1 -0
  20. package/components/dependent-fluid/style.js +1 -0
  21. package/components/dependent-icon/style.js +1 -0
  22. package/components/dependent-input/style.js +1 -0
  23. package/components/dependent-table/style.js +1 -0
  24. package/components/designer-canvas/index.esm.js +478 -475
  25. package/components/designer-outline/index.esm.js +173 -131
  26. package/components/discussion-editor/index.esm.js +1 -1
  27. package/components/dropdown/index.esm.js +73 -73
  28. package/components/dynamic-form/index.esm.js +934 -976
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +258 -249
  31. package/components/enum-editor/index.esm.js +3 -3
  32. package/components/events-editor/index.esm.js +178 -178
  33. package/components/expression-editor/index.esm.js +105 -105
  34. package/components/external-container/index.esm.js +1892 -1775
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5245 -5514
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1483 -1556
  39. package/components/flow-canvas/index.esm.js +678 -675
  40. package/components/image-cropper/index.esm.js +266 -266
  41. package/components/input-group/index.esm.js +668 -714
  42. package/components/layout/index.esm.js +148 -148
  43. package/components/list-nav/index.esm.js +109 -109
  44. package/components/list-view/index.esm.js +1679 -1563
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6596 -6865
  47. package/components/mapping-editor/index.esm.js +5592 -5862
  48. package/components/message-box/index.esm.js +1 -1
  49. package/components/modal/index.esm.js +1 -1
  50. package/components/nav/index.esm.js +86 -86
  51. package/components/number-range/index.esm.js +1120 -0
  52. package/components/number-range/package.json +8 -0
  53. package/components/number-range/style.js +6 -0
  54. package/components/number-spinner/index.esm.js +1146 -0
  55. package/components/number-spinner/package.json +8 -0
  56. package/components/number-spinner/style.js +4 -0
  57. package/components/order/index.esm.js +988 -1034
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1296
  60. package/components/pagination/index.esm.js +252 -252
  61. package/components/progress/index.esm.js +37 -37
  62. package/components/property-editor/index.esm.js +1416 -1462
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +757 -830
  65. package/components/query-solution/index.css +1 -0
  66. package/components/query-solution/index.esm.js +6935 -0
  67. package/components/query-solution/package.json +8 -0
  68. package/components/query-solution/style.js +2 -0
  69. package/components/radio-button/index.esm.js +64 -64
  70. package/components/radio-group/index.esm.js +452 -498
  71. package/components/rate/index.esm.js +92 -92
  72. package/components/response-layout/index.esm.js +33 -33
  73. package/components/response-layout-editor/index.esm.js +117 -117
  74. package/components/response-toolbar/index.esm.js +1021 -1238
  75. package/components/schema-selector/index.esm.js +3215 -3308
  76. package/components/search-box/index.esm.js +143 -143
  77. package/components/section/index.esm.js +209 -209
  78. package/components/smoke-detector/index.esm.js +22 -22
  79. package/components/spacing-editor/index.esm.js +2 -2
  80. package/components/splitter/index.esm.js +1097 -394
  81. package/components/step/index.esm.js +153 -153
  82. package/components/switch/index.esm.js +442 -488
  83. package/components/tabs/index.esm.js +1835 -2004
  84. package/components/tags/index.esm.js +215 -215
  85. package/components/text/index.esm.js +53 -53
  86. package/components/textarea/index.esm.js +451 -482
  87. package/components/time-picker/index.esm.js +1345 -1392
  88. package/components/transfer/index.esm.js +135 -135
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5761 -6020
  91. package/components/tree-view/index.esm.js +2380 -2253
  92. package/components/uploader/index.esm.js +1 -1
  93. package/components/verify-detail/index.esm.js +232 -232
  94. package/components/video/index.esm.js +136 -136
  95. package/components/weather/index.esm.js +2 -2
  96. package/farris.all.esm.js +31630 -31224
  97. package/farris.all.umd.cjs +9 -9
  98. package/index.css +1 -1
  99. package/package.json +1 -1
  100. package/types/checkbox/index.d.ts +1 -0
  101. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  102. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  103. package/types/data-view/composition/types.d.ts +1 -1
  104. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  105. package/types/designer-canvas/src/types.d.ts +1 -1
  106. package/types/dynamic-form/index.d.ts +1 -0
  107. package/types/dynamic-form/src/types.d.ts +1 -1
  108. package/types/dynamic-resolver/index.d.ts +1 -0
  109. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  110. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  111. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -1
  112. package/types/modal/src/modal.props.d.ts +1 -4
  113. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -12
  114. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -26
  115. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  116. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  117. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  118. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  119. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  120. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  121. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  122. package/components/accordion/index.umd.cjs +0 -1
  123. package/components/avatar/index.umd.cjs +0 -1
  124. package/components/border-editor/index.umd.cjs +0 -1
  125. package/components/button/index.umd.cjs +0 -1
  126. package/components/button-edit/index.umd.cjs +0 -1
  127. package/components/button-group/index.umd.cjs +0 -1
  128. package/components/calculator/index.umd.cjs +0 -1
  129. package/components/calendar/index.umd.cjs +0 -1
  130. package/components/capsule/index.umd.cjs +0 -1
  131. package/components/checkbox/index.umd.cjs +0 -1
  132. package/components/color-picker/index.umd.cjs +0 -3
  133. package/components/combo-list/index.umd.cjs +0 -1
  134. package/components/combo-tree/index.umd.cjs +0 -1
  135. package/components/common/index.umd.cjs +0 -1
  136. package/components/component/index.umd.cjs +0 -1
  137. package/components/condition/index.umd.cjs +0 -1
  138. package/components/content-container/index.umd.cjs +0 -1
  139. package/components/data-grid/index.umd.cjs +0 -1
  140. package/components/data-view/index.umd.cjs +0 -1
  141. package/components/date-picker/index.umd.cjs +0 -1
  142. package/components/designer-canvas/index.umd.cjs +0 -1
  143. package/components/designer-outline/index.umd.cjs +0 -1
  144. package/components/designer-toolbox/index.umd.cjs +0 -1
  145. package/components/discussion-editor/index.umd.cjs +0 -3
  146. package/components/discussion-list/index.umd.cjs +0 -1
  147. package/components/drawer/index.umd.cjs +0 -1
  148. package/components/dropdown/index.umd.cjs +0 -2
  149. package/components/dynamic-form/index.umd.cjs +0 -1
  150. package/components/dynamic-resolver/index.umd.cjs +0 -1
  151. package/components/dynamic-view/index.umd.cjs +0 -1
  152. package/components/enum-editor/index.umd.cjs +0 -1
  153. package/components/events-editor/index.umd.cjs +0 -1
  154. package/components/expression-editor/index.umd.cjs +0 -1
  155. package/components/external-container/index.umd.cjs +0 -1
  156. package/components/field-selector/index.umd.cjs +0 -1
  157. package/components/filter-bar/index.umd.cjs +0 -1
  158. package/components/flow-canvas/index.umd.cjs +0 -1
  159. package/components/image-cropper/index.umd.cjs +0 -1
  160. package/components/input-group/index.umd.cjs +0 -1
  161. package/components/layout/index.umd.cjs +0 -1
  162. package/components/list-nav/index.umd.cjs +0 -1
  163. package/components/list-view/index.umd.cjs +0 -1
  164. package/components/loading/index.umd.cjs +0 -8
  165. package/components/locale/index.umd.cjs +0 -1
  166. package/components/lookup/index.umd.cjs +0 -1
  167. package/components/mapping-editor/index.umd.cjs +0 -1
  168. package/components/message-box/index.umd.cjs +0 -1
  169. package/components/modal/index.umd.cjs +0 -1
  170. package/components/nav/index.umd.cjs +0 -3
  171. package/components/notify/index.umd.cjs +0 -1
  172. package/components/order/index.umd.cjs +0 -1
  173. package/components/page-footer/index.umd.cjs +0 -1
  174. package/components/page-header/index.umd.cjs +0 -1
  175. package/components/pagination/index.umd.cjs +0 -1
  176. package/components/popover/index.umd.cjs +0 -1
  177. package/components/progress/index.umd.cjs +0 -3
  178. package/components/property-editor/index.umd.cjs +0 -3
  179. package/components/property-panel/index.umd.cjs +0 -1
  180. package/components/radio-button/index.umd.cjs +0 -1
  181. package/components/radio-group/index.umd.cjs +0 -1
  182. package/components/rate/index.umd.cjs +0 -1
  183. package/components/response-layout/index.umd.cjs +0 -1
  184. package/components/response-layout-editor/index.umd.cjs +0 -1
  185. package/components/response-toolbar/index.umd.cjs +0 -1
  186. package/components/schema-selector/index.umd.cjs +0 -8
  187. package/components/search-box/index.umd.cjs +0 -1
  188. package/components/section/index.umd.cjs +0 -1
  189. package/components/smoke-detector/index.umd.cjs +0 -1
  190. package/components/spacing-editor/index.umd.cjs +0 -1
  191. package/components/splitter/index.umd.cjs +0 -1
  192. package/components/step/index.umd.cjs +0 -1
  193. package/components/switch/index.umd.cjs +0 -1
  194. package/components/tabs/index.umd.cjs +0 -1
  195. package/components/tags/index.umd.cjs +0 -1
  196. package/components/text/index.umd.cjs +0 -1
  197. package/components/textarea/index.umd.cjs +0 -1
  198. package/components/time-picker/index.umd.cjs +0 -1
  199. package/components/tooltip/index.umd.cjs +0 -1
  200. package/components/transfer/index.umd.cjs +0 -1
  201. package/components/tree-grid/index.umd.cjs +0 -1
  202. package/components/tree-view/index.umd.cjs +0 -1
  203. package/components/uploader/index.umd.cjs +0 -2
  204. package/components/verify-detail/index.umd.cjs +0 -1
  205. package/components/video/index.umd.cjs +0 -1
  206. package/components/weather/index.umd.cjs +0 -16
@@ -1,10 +1,10 @@
1
1
  var Ue = Object.defineProperty;
2
2
  var Xe = (e, t, n) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Q = (e, t, n) => Xe(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as q, ref as l, watch as O, computed as R, onMounted as J, createVNode as i, nextTick as ce, toRefs as Ye, onBeforeMount as fe, createTextVNode as G, Fragment as ue, withModifiers as le, inject as ge, provide as Je, onUnmounted as be, Teleport as Qe, shallowRef as Ze, createApp as _e, render as se, h as Ke, cloneVNode as et, mergeProps as we, reactive as Z } from "vue";
4
+ import { defineComponent as q, ref as l, watch as A, computed as R, onMounted as J, createVNode as i, nextTick as ce, toRefs as Ye, onBeforeMount as fe, createTextVNode as G, Fragment as ue, withModifiers as le, inject as ge, provide as Je, onUnmounted as be, Teleport as Qe, shallowRef as Ze, createApp as _e, render as se, h as Ke, cloneVNode as et, mergeProps as we, reactive as Z } from "vue";
5
5
  import { cloneDeep as U } from "lodash-es";
6
- import tt from "@farris/ui-vue/components/list-view";
7
- import nt from "@farris/ui-vue/components/button-edit";
6
+ import tt from "../list-view/index.esm.js";
7
+ import nt from "../button-edit/index.esm.js";
8
8
  const Se = {
9
9
  /** 当前控件组别及样式 */
10
10
  defaultState: {
@@ -453,7 +453,7 @@ function de(e, t = {}) {
453
453
  }
454
454
  function pt(e, t) {
455
455
  const n = pe(t);
456
- return Object.keys(e).reduce((a, o) => (a[o] = e[o], a), n), n;
456
+ return Object.keys(e).reduce((a, o) => (a[o] && typeof a[o] == "object" ? Object.assign(a[o], e[o]) : a[o] = e[o], a), n), n;
457
457
  }
458
458
  function vt(e, t) {
459
459
  return Object.keys(e).filter((a) => e[a] != null).reduce((a, o) => {
@@ -601,7 +601,7 @@ const Dt = /* @__PURE__ */ q({
601
601
  emits: ["mounted", "active"],
602
602
  setup(e, t) {
603
603
  const n = l(), a = l(e.isActive);
604
- O(() => e.isActive, (c) => {
604
+ A(() => e.isActive, (c) => {
605
605
  a.value = c;
606
606
  });
607
607
  const o = R(() => ({
@@ -650,8 +650,8 @@ const Dt = /* @__PURE__ */ q({
650
650
  if (w.has(b.value)) {
651
651
  const B = (m = w.get(b.value)) == null ? void 0 : m.value;
652
652
  if (B) {
653
- const A = B.getBoundingClientRect(), N = a.value.getBoundingClientRect();
654
- r.value = A.left - N.left + o + a.value.scrollLeft, d.value = A.width - 2 * o;
653
+ const O = B.getBoundingClientRect(), H = a.value.getBoundingClientRect();
654
+ r.value = O.left - H.left + o + a.value.scrollLeft, d.value = O.width - 2 * o;
655
655
  }
656
656
  }
657
657
  }
@@ -663,11 +663,11 @@ const Dt = /* @__PURE__ */ q({
663
663
  const m = n.value.findIndex((B) => B.value === b);
664
664
  m > -1 && k(n.value[m], !1);
665
665
  }
666
- O(() => e.modelValue, (b) => {
666
+ A(() => e.modelValue, (b) => {
667
667
  u.value = b, L(u.value);
668
- }), O(() => e.items, async (b) => {
668
+ }), A(() => e.items, async (b) => {
669
669
  const m = b.filter((B) => B.show);
670
- y(m), n.value = m, await ce(), L(u.value), h.value = Array.from(w.values()).reduce((B, A) => (B += A.value.clientWidth, B), 0);
670
+ y(m), n.value = m, await ce(), L(u.value), h.value = Array.from(w.values()).reduce((B, O) => (B += O.value.clientWidth, B), 0);
671
671
  }), J(async () => {
672
672
  L(u.value), await ce(), c.value = "0.1s ease-out all", h.value = Array.from(w.values()).reduce((b, m) => (b += m.value.clientWidth, b), 0);
673
673
  });
@@ -679,7 +679,7 @@ const Dt = /* @__PURE__ */ q({
679
679
  }
680
680
  function y(b) {
681
681
  Array.from(w.keys()).forEach((m) => {
682
- b.find((A) => A.value === m) || w.delete(m);
682
+ b.find((O) => O.value === m) || w.delete(m);
683
683
  });
684
684
  }
685
685
  function E(b, m) {
@@ -782,17 +782,17 @@ const Dt = /* @__PURE__ */ q({
782
782
  type: "enum",
783
783
  default: "medium"
784
784
  }
785
- }, At = [
785
+ }, Ot = [
786
786
  "id",
787
787
  "type"
788
- ], Ot = {
788
+ ], At = {
789
789
  $schema: Lt,
790
790
  $id: Rt,
791
791
  title: Ft,
792
792
  description: kt,
793
793
  type: $t,
794
794
  properties: Wt,
795
- required: At
795
+ required: Ot
796
796
  };
797
797
  function jt(e, t, n) {
798
798
  return t;
@@ -814,7 +814,7 @@ const xe = {
814
814
  onModelValueChanged: { type: Function, default: () => {
815
815
  } }
816
816
  };
817
- K(xe, Ot, Bt, jt);
817
+ K(xe, At, Bt, jt);
818
818
  const Vt = /* @__PURE__ */ q({
819
819
  name: "FSwitch",
820
820
  props: xe,
@@ -851,9 +851,9 @@ const Vt = /* @__PURE__ */ q({
851
851
  function T() {
852
852
  n.value || (p.value = !p.value, t.emit("update:modelValue", p.value));
853
853
  }
854
- return O(p, (w, S) => {
854
+ return A(p, (w, S) => {
855
855
  w !== S && t.emit("modelValueChanged", w);
856
- }), O(() => e.modelValue, (w, S) => {
856
+ }), A(() => e.modelValue, (w, S) => {
857
857
  w !== S && (p.value = w);
858
858
  }), () => i("span", {
859
859
  tabindex: "0",
@@ -905,7 +905,7 @@ const Vt = /* @__PURE__ */ q({
905
905
  function v() {
906
906
  t.emit("switchInStandardModeChanged", c.value);
907
907
  }
908
- O(c, () => {
908
+ A(c, () => {
909
909
  }), fe(() => {
910
910
  a.value.mode === "standard" ? (c.value = !0, v()) : c.value = !1;
911
911
  });
@@ -937,7 +937,7 @@ const Vt = /* @__PURE__ */ q({
937
937
  class: "f-layout-editor-show-switch-label"
938
938
  }, [G("自定义模式")])])]);
939
939
  }
940
- }), Ht = {
940
+ }), Nt = {
941
941
  /** 默认屏幕分辨率对应的英文缩写 */
942
942
  currentScreenResolution: { type: String, default: "" },
943
943
  /** 模式开关 */
@@ -946,7 +946,7 @@ const Vt = /* @__PURE__ */ q({
946
946
  currentArea: { type: Object, default: [] },
947
947
  /** 接受组件列表区传入的二维数组 */
948
948
  twoDimensionalArray: { type: Array, default: [] }
949
- }, Nt = {
949
+ }, Ht = {
950
950
  /** 单个组件的预览状态 */
951
951
  item: { type: Object, default: {} },
952
952
  /** 默认屏幕分辨率对应的英文缩写 */
@@ -955,11 +955,11 @@ const Vt = /* @__PURE__ */ q({
955
955
  switchInStandardMode: { type: Boolean, default: !1 }
956
956
  }, Pt = /* @__PURE__ */ q({
957
957
  name: "FColumnWidthView",
958
- props: Nt,
958
+ props: Ht,
959
959
  emits: [],
960
960
  setup(e, t) {
961
961
  const n = l(e.item), a = l(e.currentScreenResolution), o = R(() => `col-${n.value[`columnIn${a.value}`]}`);
962
- return O([() => e.item, () => e.currentScreenResolution], ([u, c], [f, v]) => {
962
+ return A([() => e.item, () => e.currentScreenResolution], ([u, c], [f, v]) => {
963
963
  u !== f && (n.value = u), c !== v && (a.value = c);
964
964
  }), () => i("div", {
965
965
  class: o.value
@@ -972,13 +972,13 @@ const Vt = /* @__PURE__ */ q({
972
972
  }
973
973
  }), Gt = /* @__PURE__ */ q({
974
974
  name: "FPreview",
975
- props: Ht,
975
+ props: Nt,
976
976
  emits: ["update:twoDimensionalArray"],
977
977
  setup(e, t) {
978
978
  const n = l(e.currentScreenResolution), a = l(e.switchInStandardMode), o = l(e.currentArea), u = l(e.twoDimensionalArray), c = l([]);
979
- O([() => e.currentArea, () => e.switchInStandardMode, () => e.currentScreenResolution], ([r, d, h], [g, T, w]) => {
979
+ A([() => e.currentArea, () => e.switchInStandardMode, () => e.currentScreenResolution], ([r, d, h], [g, T, w]) => {
980
980
  r !== g && (o.value = r), d !== T && (a.value = d), h !== w && (n.value = h);
981
- }), O(() => e.twoDimensionalArray, () => {
981
+ }), A(() => e.twoDimensionalArray, () => {
982
982
  u.value = e.twoDimensionalArray, f();
983
983
  }), J(() => {
984
984
  f();
@@ -1419,7 +1419,7 @@ const an = {
1419
1419
  emits: ["selectionChange"],
1420
1420
  setup(e, t) {
1421
1421
  const n = l(), a = l(e.dataSource), o = l([]), u = l(e.separator), c = l(e.width), f = l(e.maxHeight), v = l(String(e.selectedValues).split(u.value));
1422
- O(e.dataSource, () => {
1422
+ A(e.dataSource, () => {
1423
1423
  a.value = e.dataSource;
1424
1424
  });
1425
1425
  const s = R(() => e.enableSearch ? "SearchBar" : "ContentHeader"), p = R(() => {
@@ -1435,7 +1435,7 @@ const an = {
1435
1435
  let g = [];
1436
1436
  typeof e.searchOption == "function" ? g = a.value.filter((T) => e.searchOption(h, T)) : g = a.value.filter((T) => T[e.valueField].indexOf(h) > -1 || T[e.textField].indexOf(h) > -1), n.value.updateDataSource(g);
1437
1437
  }
1438
- return O([() => e.selectedValues], ([h]) => {
1438
+ return A([() => e.selectedValues], ([h]) => {
1439
1439
  v.value = h.split(u.value);
1440
1440
  }), () => i("div", {
1441
1441
  class: "f-combo-list-container pl-3",
@@ -1503,14 +1503,14 @@ function on(e) {
1503
1503
  console.error(S);
1504
1504
  });
1505
1505
  }
1506
- return e.remote && p(), O(() => e.data, () => {
1506
+ return e.remote && p(), A(() => e.data, () => {
1507
1507
  a.value = e.data;
1508
- }), O([a], ([r]) => {
1508
+ }), A([a], ([r]) => {
1509
1509
  if (e.modelValue) {
1510
1510
  const d = r.find((h) => h[e.valueField] === e.modelValue);
1511
1511
  d && (t.value = d[e.textField]);
1512
1512
  }
1513
- }), O(() => e.modelValue, (r) => {
1513
+ }), A(() => e.modelValue, (r) => {
1514
1514
  n.value = r, c(r);
1515
1515
  }), c(e.modelValue), { dataSource: a, displayText: t, editable: o, modelValue: n, getItemsByDisplayText: f, getItemsByValue: u, getSelectedItemsByDisplayText: s };
1516
1516
  }
@@ -1550,7 +1550,7 @@ const un = /* @__PURE__ */ q({
1550
1550
  }
1551
1551
  return t.expose({
1552
1552
  getDisplayText: L
1553
- }), O([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([W, y, E, b, m]) => {
1553
+ }), A([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([W, y, E, b, m]) => {
1554
1554
  a.value = W, s.value = y, o.value = E, u.value = b, c.value = m;
1555
1555
  }), () => i(nt, {
1556
1556
  ref: n,
@@ -1743,7 +1743,7 @@ const In = /* @__PURE__ */ q({
1743
1743
  function o(u) {
1744
1744
  return `${u.text}${e.suffixValue}`;
1745
1745
  }
1746
- return O(() => e.enumData, (u, c) => {
1746
+ return A(() => e.enumData, (u, c) => {
1747
1747
  u !== c && (n.value = e.enumData);
1748
1748
  }), () => i("div", {
1749
1749
  class: "f-radio-button"
@@ -1835,7 +1835,7 @@ const Dn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-
1835
1835
  type: Rn,
1836
1836
  properties: Fn,
1837
1837
  required: kn
1838
- }, Wn = "rate", An = "A Farris Component", On = "object", jn = {
1838
+ }, Wn = "rate", On = "A Farris Component", An = "object", jn = {
1839
1839
  basic: {
1840
1840
  description: "Basic Infomation",
1841
1841
  title: "基本信息",
@@ -1859,8 +1859,8 @@ const Dn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-
1859
1859
  }
1860
1860
  }, Vn = {
1861
1861
  title: Wn,
1862
- description: An,
1863
- type: On,
1862
+ description: On,
1863
+ type: An,
1864
1864
  categories: jn
1865
1865
  }, zn = ["很不满意", "不满意", "一般", "满意", "非常满意"], Te = {
1866
1866
  /** 星星大小 */
@@ -1896,7 +1896,7 @@ const Dn = "https://json-schema.org/draft/2020-12/schema", Tn = "https://farris-
1896
1896
  modelValue: { type: Number, default: 0 }
1897
1897
  };
1898
1898
  K(Te, $n, xn, En, Vn);
1899
- const Hn = /* @__PURE__ */ q({
1899
+ const Nn = /* @__PURE__ */ q({
1900
1900
  name: "FRate",
1901
1901
  props: Te,
1902
1902
  emits: ["selectedValue", "update:modelValue"],
@@ -1920,7 +1920,7 @@ const Hn = /* @__PURE__ */ q({
1920
1920
  let x;
1921
1921
  a.value ? x = Math.ceil(L.value / j) : x = L.value, S.value = (T * L.value + Math.floor(L.value) * b) / j, W = d.value[x - 1];
1922
1922
  }
1923
- function A() {
1923
+ function O() {
1924
1924
  switch (n.value) {
1925
1925
  case "small":
1926
1926
  T = 14;
@@ -1937,29 +1937,29 @@ const Hn = /* @__PURE__ */ q({
1937
1937
  }
1938
1938
  m(), p.value && (j = c.value / p.value), L.value && B();
1939
1939
  }
1940
- A();
1941
- function N(x) {
1940
+ O();
1941
+ function H(x) {
1942
1942
  return x.className.indexOf("f-icon") !== -1;
1943
1943
  }
1944
1944
  function X() {
1945
1945
  return w.value === S.value && o.value && S.value !== 0 ? (S.value = 0, L.value = 0, y = null, w.value = 0, k.value = 0, t.emit("selectedValue", L.value), t.emit("update:modelValue", L.value), !0) : !1;
1946
1946
  }
1947
- function D(x, $, H) {
1947
+ function D(x, $, N) {
1948
1948
  if (x.movementX || x.movementY) {
1949
1949
  if (u.value)
1950
1950
  return;
1951
1951
  g.value && (W = d.value[$ - 1]), x.offsetX < T / 2 && a.value === !0 ? (w.value = T * $ - T / 2 + b * ($ - 1), k.value = j * $ - j / 2) : (w.value = T * $ + b * ($ - 1), k.value = j * $);
1952
1952
  }
1953
- if (H === !0) {
1953
+ if (N === !0) {
1954
1954
  if (X())
1955
1955
  return;
1956
1956
  L.value = k.value, S.value = w.value, y = W, t.emit("update:modelValue", L.value), t.emit("selectedValue", L.value);
1957
1957
  }
1958
1958
  }
1959
1959
  function F(x, $) {
1960
- var H;
1961
- if (N(x.target) && x.target) {
1962
- const te = parseInt((H = x.target) == null ? void 0 : H.id);
1960
+ var N;
1961
+ if (H(x.target) && x.target) {
1962
+ const te = parseInt((N = x.target) == null ? void 0 : N.id);
1963
1963
  D(x, te, $);
1964
1964
  }
1965
1965
  }
@@ -1969,7 +1969,7 @@ const Hn = /* @__PURE__ */ q({
1969
1969
  function I() {
1970
1970
  w.value = 0;
1971
1971
  }
1972
- return O(() => e.modelValue, (x) => {
1972
+ return A(() => e.modelValue, (x) => {
1973
1973
  L.value = x, B();
1974
1974
  }), () => i("div", {
1975
1975
  class: "farris-star-rating",
@@ -2030,7 +2030,7 @@ const Hn = /* @__PURE__ */ q({
2030
2030
  }]
2031
2031
  }, [h.value && i("span", null, [G(" "), z.value, G(" ")]), g.value && (y || W) && i("span", null, [G(" "), W || y])])]);
2032
2032
  }
2033
- }), Nn = /* @__PURE__ */ q({
2033
+ }), Hn = /* @__PURE__ */ q({
2034
2034
  name: "FColumnWidthEditor",
2035
2035
  props: sn,
2036
2036
  emits: ["fieldChanged"],
@@ -2053,8 +2053,8 @@ const Hn = /* @__PURE__ */ q({
2053
2053
  if (u.value === !0) {
2054
2054
  const B = Number(m == null ? void 0 : m.text);
2055
2055
  v.value = B;
2056
- const A = o.value[`columnIn${a.value}`] / o.value[`displayWidthIn${a.value}`];
2057
- o.value[`columnIn${a.value}`] = B * A, o.value[`displayWidthIn${a.value}`] = Number(B), t.emit("fieldChanged", o.value);
2056
+ const O = o.value[`columnIn${a.value}`] / o.value[`displayWidthIn${a.value}`];
2057
+ o.value[`columnIn${a.value}`] = B * O, o.value[`displayWidthIn${a.value}`] = Number(B), t.emit("fieldChanged", o.value);
2058
2058
  }
2059
2059
  }
2060
2060
  function k(m) {
@@ -2063,7 +2063,7 @@ const Hn = /* @__PURE__ */ q({
2063
2063
  o.value[`columnIn${a.value}`] = p.value, o.value[`displayWidthIn${a.value}`] = p.value / B, t.emit("fieldChanged", o.value);
2064
2064
  }
2065
2065
  function L() {
2066
- return i(Hn, {
2066
+ return i(Nn, {
2067
2067
  enableHalf: !0,
2068
2068
  size: "extraLarge",
2069
2069
  pointSystem: 12,
@@ -2081,12 +2081,12 @@ const Hn = /* @__PURE__ */ q({
2081
2081
  const m = [];
2082
2082
  c.value = n == null ? void 0 : n[a.value];
2083
2083
  const B = o.value[`displayWidthIn${a.value}`];
2084
- return c.value.forEach((A) => {
2085
- const N = {
2086
- text: A,
2087
- active: B.toString() === A
2084
+ return c.value.forEach((O) => {
2085
+ const H = {
2086
+ text: O,
2087
+ active: B.toString() === O
2088
2088
  };
2089
- m.push(N);
2089
+ m.push(H);
2090
2090
  }), m;
2091
2091
  }
2092
2092
  function W() {
@@ -2140,8 +2140,8 @@ const Hn = /* @__PURE__ */ q({
2140
2140
  class: "f-layout-editor-column-width-editor-label"
2141
2141
  }, [(m = o == null ? void 0 : o.value) == null ? void 0 : m.label]), E()]);
2142
2142
  }
2143
- return O(() => [e.field, e.switchInStandardMode, e.currentScreenResolution], ([m, B, A], [N, X, D]) => {
2144
- A !== D && (a.value = A, c.value = n[a.value], w()), B !== X && (u.value = B), u.value === !1 && w(), m !== N && (o.value = m);
2143
+ return A(() => [e.field, e.switchInStandardMode, e.currentScreenResolution], ([m, B, O], [H, X, D]) => {
2144
+ O !== D && (a.value = O, c.value = n[a.value], w()), B !== X && (u.value = B), u.value === !1 && w(), m !== H && (o.value = m);
2145
2145
  }), J(() => {
2146
2146
  w();
2147
2147
  }), () => i("div", {
@@ -2229,13 +2229,13 @@ const Hn = /* @__PURE__ */ q({
2229
2229
  "text-field": "label",
2230
2230
  data: v.value,
2231
2231
  editable: !1,
2232
- onChange: N
2232
+ onChange: H
2233
2233
  }, null)])]);
2234
2234
  }
2235
2235
  function b() {
2236
2236
  return i("div", {
2237
2237
  class: "f-layout-editor-field-list-content f-utils-overflow-xhya"
2238
- }, [g.value.map((D) => i(Nn, {
2238
+ }, [g.value.map((D) => i(Hn, {
2239
2239
  key: D.label,
2240
2240
  currentScreenResolution: n.value,
2241
2241
  field: D,
@@ -2248,17 +2248,17 @@ const Hn = /* @__PURE__ */ q({
2248
2248
  function m(D) {
2249
2249
  g.value.forEach((F) => {
2250
2250
  F.label == D.label && Object.assign(F, D);
2251
- }), L(), A(), B();
2251
+ }), L(), O(), B();
2252
2252
  }
2253
2253
  function B() {
2254
2254
  g.value = [], o.value.forEach((D) => {
2255
2255
  D.group === Number(s.value[0].id) && g.value.push(D);
2256
2256
  });
2257
2257
  }
2258
- function A() {
2258
+ function O() {
2259
2259
  o.value = U(j()), t.emit("originalDataChanged", o.value);
2260
2260
  }
2261
- function N(D) {
2261
+ function H(D) {
2262
2262
  for (let F = 0; F < D.length; F++)
2263
2263
  s.value = [{
2264
2264
  id: D[F].id,
@@ -2267,20 +2267,20 @@ const Hn = /* @__PURE__ */ q({
2267
2267
  t.emit("update:currentArea", s.value), B(), L();
2268
2268
  }
2269
2269
  const X = Ut(g, () => {
2270
- L(), A(), B();
2270
+ L(), O(), B();
2271
2271
  });
2272
- return Je("ResponseLayoutEditorDraggableComposition", X), O(() => e.currentArea, (D, F) => {
2272
+ return Je("ResponseLayoutEditorDraggableComposition", X), A(() => e.currentArea, (D, F) => {
2273
2273
  D !== F && (s.value = e.currentArea, B());
2274
- }), O(s, (D, F) => {
2274
+ }), A(s, (D, F) => {
2275
2275
  D !== F && B();
2276
- }), O(() => e.currentGroup, (D, F) => {
2276
+ }), A(() => e.currentGroup, (D, F) => {
2277
2277
  D !== F && (f.value = e.currentGroup);
2278
- }), O(() => e.currentScreenResolution, (D, F) => {
2279
- D !== F && (n.value = e.currentScreenResolution, A(), k(), s.value[0] && (g.value = U(r.value[Number(s.value[0].id) - 1])));
2280
- }), O(() => e.switchInStandardMode, (D, F) => {
2278
+ }), A(() => e.currentScreenResolution, (D, F) => {
2279
+ D !== F && (n.value = e.currentScreenResolution, O(), k(), s.value[0] && (g.value = U(r.value[Number(s.value[0].id) - 1])));
2280
+ }), A(() => e.switchInStandardMode, (D, F) => {
2281
2281
  D !== F && (a.value = e.switchInStandardMode, o.value = U(u.value));
2282
- }), O(c, (D, F) => {
2283
- D !== F && A();
2282
+ }), A(c, (D, F) => {
2283
+ D !== F && O();
2284
2284
  }), fe(() => {
2285
2285
  T(), j(), B();
2286
2286
  }), () => i("div", {
@@ -2306,10 +2306,10 @@ const Hn = /* @__PURE__ */ q({
2306
2306
  id: "1",
2307
2307
  label: "区域1"
2308
2308
  }]), s = l([]), p = l(), r = l(e.width), d = l(e.height);
2309
- O(() => e.initialState, (m) => {
2309
+ A(() => e.initialState, (m) => {
2310
2310
  n.value = m;
2311
- }), O([() => e.currentArea, () => e.switchInStandardMode], ([m, B], [A, N]) => {
2312
- m !== A && (v.value = m), B !== N && (f.value = B);
2311
+ }), A([() => e.currentArea, () => e.switchInStandardMode], ([m, B], [O, H]) => {
2312
+ m !== O && (v.value = m), B !== H && (f.value = B);
2313
2313
  });
2314
2314
  function h(m) {
2315
2315
  u.value = m;
@@ -2545,7 +2545,7 @@ const Yn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-
2545
2545
  maxHeight: { type: Number },
2546
2546
  minWidth: { type: Number },
2547
2547
  maxWidth: { type: Number },
2548
- containment: { type: HTMLElement, default: null },
2548
+ containment: { type: Object, default: null },
2549
2549
  reiszeable: { type: Boolean, default: !1 },
2550
2550
  draggable: { type: Boolean, default: !1 },
2551
2551
  dragHandle: { type: Object, default: null },
@@ -2647,8 +2647,8 @@ function sa(e, t) {
2647
2647
  return;
2648
2648
  const x = P.getTransformInfo(n.value), $ = {};
2649
2649
  v.value && ($.deltaL = n.value.offsetLeft - v.value.x, $.deltaT = n.value.offsetTop - v.value.y);
2650
- const H = I.getPropertyValue("position");
2651
- $.width = C.clientWidth, $.height = C.clientHeight, $.pr = parseInt(I.getPropertyValue("padding-right"), 10), $.pb = parseInt(I.getPropertyValue("padding-bottom"), 10), $.position = I.getPropertyValue("position"), H === "static" && (C.style.position = "relative"), $.translateX = x.x, $.translateY = x.y, r.value = $;
2650
+ const N = I.getPropertyValue("position");
2651
+ $.width = C.clientWidth, $.height = C.clientHeight, $.pr = parseInt(I.getPropertyValue("padding-right"), 10), $.pb = parseInt(I.getPropertyValue("padding-bottom"), 10), $.position = I.getPropertyValue("position"), N === "static" && (C.style.position = "relative"), $.translateX = x.x, $.translateY = x.y, r.value = $;
2652
2652
  }
2653
2653
  function S(C) {
2654
2654
  if (n.value) {
@@ -2665,8 +2665,8 @@ function sa(e, t) {
2665
2665
  function k() {
2666
2666
  var C, I, x, $;
2667
2667
  if (n.value) {
2668
- const H = n.value;
2669
- s.value && ((s.value.n || s.value.s) && ((C = f.value) != null && C.height) && (H.style.height = f.value.height + "px"), (s.value.w || s.value.e) && ((I = f.value) != null && I.width) && (H.style.width = f.value.width + "px"), v.value && ((x = v.value) != null && x.x && (H.style.left = v.value.x + "px"), ($ = v.value) != null && $.y && (H.style.top = v.value.y + "px")));
2668
+ const N = n.value;
2669
+ s.value && ((s.value.n || s.value.s) && ((C = f.value) != null && C.height) && (N.style.height = f.value.height + "px"), (s.value.w || s.value.e) && ((I = f.value) != null && I.width) && (N.style.width = f.value.width + "px"), v.value && ((x = v.value) != null && x.x && (N.style.left = v.value.x + "px"), ($ = v.value) != null && $.y && (N.style.top = v.value.y + "px")));
2670
2670
  }
2671
2671
  }
2672
2672
  function L() {
@@ -2702,15 +2702,15 @@ function sa(e, t) {
2702
2702
  height: I,
2703
2703
  x,
2704
2704
  y: $
2705
- } = n.value.getBoundingClientRect(), H = P.getTransformInfo(n.value);
2705
+ } = n.value.getBoundingClientRect(), N = P.getTransformInfo(n.value);
2706
2706
  return {
2707
2707
  size: {
2708
2708
  width: C,
2709
2709
  height: I
2710
2710
  },
2711
2711
  position: {
2712
- x: x - H.x,
2713
- y: $ - H.y
2712
+ x: x - N.x,
2713
+ y: $ - N.y
2714
2714
  }
2715
2715
  };
2716
2716
  }
@@ -2729,7 +2729,7 @@ function sa(e, t) {
2729
2729
  function B(C) {
2730
2730
  C instanceof MouseEvent && C.button === 2 || g.value && (C.stopPropagation(), C.preventDefault(), o.value = P.fromEvent(C), p.value = C.target, S(C), m());
2731
2731
  }
2732
- function A(C) {
2732
+ function O(C) {
2733
2733
  return n.value = C, i(ue, null, [i("div", {
2734
2734
  class: "ng-resizable-handle ng-resizable-n",
2735
2735
  type: "n",
@@ -2764,7 +2764,7 @@ function sa(e, t) {
2764
2764
  onMousedown: (I) => B(I)
2765
2765
  }, null)]);
2766
2766
  }
2767
- function N(C = !0) {
2767
+ function H(C = !0) {
2768
2768
  const I = a.value || document.body, x = _.getCurrent(I), $ = n.value;
2769
2769
  C && (h.value = E(), h.value.transform = $.style.transform), x && $ && (f.value = x, $.style.height = f.value.height - 14 + "px", $.style.width = f.value.width - 14 + "px", $.style.left = "7px", $.style.top = "7px", $.style.transform = "", d.value = {
2770
2770
  size: f.value,
@@ -2785,8 +2785,8 @@ function sa(e, t) {
2785
2785
  y: (window.innerHeight - x.height) / 2
2786
2786
  };
2787
2787
  (C = f.value) == null || C.set(x), (I = v.value) == null || I.set($);
2788
- const H = n.value;
2789
- H.style.height = x.height + "px", H.style.width = x.width + "px", H.style.left = `${$.x}px`, H.style.top = `${$.y}px`, H.style.transform = "", d.value = {
2788
+ const N = n.value;
2789
+ N.style.height = x.height + "px", N.style.width = x.width + "px", N.style.left = `${$.x}px`, N.style.top = `${$.y}px`, N.style.transform = "", d.value = {
2790
2790
  size: x,
2791
2791
  position: $
2792
2792
  }, g.value = e.draggable, T.value = !1;
@@ -2806,7 +2806,7 @@ function sa(e, t) {
2806
2806
  }
2807
2807
  function F() {
2808
2808
  const C = () => {
2809
- T.value ? N(!1) : D();
2809
+ T.value ? H(!1) : D();
2810
2810
  };
2811
2811
  return window.addEventListener("resize", C), () => {
2812
2812
  window.removeEventListener("resize", C);
@@ -2814,10 +2814,10 @@ function sa(e, t) {
2814
2814
  }
2815
2815
  const z = F();
2816
2816
  return {
2817
- renderResizeBar: A,
2817
+ renderResizeBar: O,
2818
2818
  boundingElement: a,
2819
2819
  resizedEventParam: d,
2820
- maximize: N,
2820
+ maximize: H,
2821
2821
  restore: X,
2822
2822
  allowDrag: g,
2823
2823
  isMaximized: T,
@@ -2930,7 +2930,7 @@ const Be = /* @__PURE__ */ q({
2930
2930
  handle: (M) => {
2931
2931
  W(M, !0);
2932
2932
  }
2933
- }], E = l(e.buttons && e.buttons.length ? e.buttons : y), b = R(() => !!s.value), m = R(() => !!w.value && !!E.value), B = l(), A = l(), N = l(!1), {
2933
+ }], E = l(e.buttons && e.buttons.length ? e.buttons : y), b = R(() => !!s.value), m = R(() => !!w.value && !!E.value), B = l(), O = l(), H = l(!1), {
2934
2934
  renderResizeBar: X,
2935
2935
  maximize: D,
2936
2936
  restore: F,
@@ -2941,26 +2941,26 @@ const Be = /* @__PURE__ */ q({
2941
2941
  } = sa(e), {
2942
2942
  registerDraggle: $
2943
2943
  } = ra(e);
2944
- O(() => e.title, (M, V) => {
2944
+ A(() => e.title, (M, V) => {
2945
2945
  M !== V && (S.value = M);
2946
- }), O(() => e.modelValue, (M, V) => {
2946
+ }), A(() => e.modelValue, (M, V) => {
2947
2947
  M !== V && (o.value = M);
2948
- }), O(() => e.showHeader, (M, V) => {
2948
+ }), A(() => e.showHeader, (M, V) => {
2949
2949
  M !== V && (v.value = M);
2950
- }), O(() => e.showButtons, (M, V) => {
2950
+ }), A(() => e.showButtons, (M, V) => {
2951
2951
  M !== V && (w.value = M);
2952
- }), O(() => C.value, (M, V) => {
2952
+ }), A(() => C.value, (M, V) => {
2953
2953
  const ne = M || {}, ae = V || {};
2954
2954
  JSON.stringify(ne) !== JSON.stringify(ae) && t.emit("resize", {
2955
2955
  newSize: M,
2956
2956
  oldSize: V
2957
2957
  });
2958
2958
  });
2959
- function H() {
2959
+ function N() {
2960
2960
  const M = document.querySelectorAll(".farris-modal").length;
2961
2961
  (!M || M - 1 <= 0) && document.body.classList.remove("modal-open"), j.value && j.value.classList.remove("show");
2962
2962
  }
2963
- const te = R(() => (o.value ? document.body.classList.add("modal-open") : H(), o.value)), Re = R(() => {
2963
+ const te = R(() => (o.value ? document.body.classList.add("modal-open") : N(), o.value)), Re = R(() => {
2964
2964
  const M = {
2965
2965
  modal: !0,
2966
2966
  "farris-modal": !0,
@@ -2987,11 +2987,11 @@ const Be = /* @__PURE__ */ q({
2987
2987
  display: v.value ? "" : "none"
2988
2988
  };
2989
2989
  return M["pointer-events"] = I.value ? "auto" : "none", M;
2990
- }), Ae = R(() => ({
2990
+ }), Oe = R(() => ({
2991
2991
  "f-icon": !0,
2992
2992
  modal_maximize: !0,
2993
- modalrevert: N.value
2994
- })), Oe = R(() => ({
2993
+ modalrevert: H.value
2994
+ })), Ae = R(() => ({
2995
2995
  "modal-body": !0,
2996
2996
  "f-utils-flex-column": h.value === "iframe"
2997
2997
  }));
@@ -3005,25 +3005,25 @@ const Be = /* @__PURE__ */ q({
3005
3005
  return Object.assign(M, V);
3006
3006
  });
3007
3007
  function ze(M) {
3008
- if (M.stopPropagation(), N.value) {
3009
- N.value = !1, F();
3008
+ if (M.stopPropagation(), H.value) {
3009
+ H.value = !1, F();
3010
3010
  return;
3011
3011
  }
3012
- D(), N.value = !0;
3012
+ D(), H.value = !0;
3013
3013
  }
3014
- async function He(M, V) {
3014
+ async function Ne(M, V) {
3015
3015
  M.handle && await M.handle(V, M) && t.emit("closed", V);
3016
3016
  }
3017
- function Ne(M) {
3017
+ function He(M) {
3018
3018
  M.width && (n.value = M.width), M.height && (a.value = M.height), M.buttons && (E.value = M.buttons), M.title && (S.value = M.title);
3019
3019
  }
3020
3020
  J(() => {
3021
- A.value && !L.value && (L.value = A.value.parentElement, z.value = L.value, $(B.value, A.value, z.value)), te.value && document.body.classList.add("modal-open"), ca(e, t);
3021
+ O.value && !L.value && (L.value = O.value.parentElement, z.value = L.value, $(B.value, O.value, z.value)), te.value && document.body.classList.add("modal-open"), ca(e, t);
3022
3022
  }), be(() => {
3023
- H(), x && x();
3023
+ N(), x && x();
3024
3024
  }), t.expose({
3025
- modalElementRef: A,
3026
- updateModalOptions: Ne,
3025
+ modalElementRef: O,
3026
+ updateModalOptions: He,
3027
3027
  close: W
3028
3028
  });
3029
3029
  function Pe() {
@@ -3036,7 +3036,7 @@ const Be = /* @__PURE__ */ q({
3036
3036
  class: "f-btn-icon f-bare",
3037
3037
  style: "pointer-events: auto;"
3038
3038
  }, [i("span", {
3039
- class: Ae.value
3039
+ class: Oe.value
3040
3040
  }, null)]), p.value && i("li", {
3041
3041
  class: "f-btn-icon f-bare",
3042
3042
  onClick: (M) => W(M, !1),
@@ -3054,7 +3054,7 @@ const Be = /* @__PURE__ */ q({
3054
3054
  type: "button",
3055
3055
  class: M.class + (M.iconClass ? " btn-icontext" : ""),
3056
3056
  onClick: (V) => {
3057
- He(M, V);
3057
+ Ne(M, V);
3058
3058
  }
3059
3059
  }, [!!M.iconClass && i("i", {
3060
3060
  class: M.iconClass
@@ -3073,7 +3073,7 @@ const Be = /* @__PURE__ */ q({
3073
3073
  id: u.value,
3074
3074
  class: Fe.value,
3075
3075
  style: ke.value,
3076
- ref: A
3076
+ ref: O
3077
3077
  }, [i("div", {
3078
3078
  class: $e.value
3079
3079
  }, [i("div", {
@@ -3090,14 +3090,14 @@ const Be = /* @__PURE__ */ q({
3090
3090
  }, [S.value])]), i("div", {
3091
3091
  class: "actions"
3092
3092
  }, [Pe()])]), i("div", {
3093
- class: Oe.value
3093
+ class: Ae.value
3094
3094
  }, [(V = (M = t.slots).default) == null ? void 0 : V.call(M), h.value === "iframe" && i("iframe", {
3095
3095
  title: u.value,
3096
3096
  class: "f-utils-fill",
3097
3097
  width: "100%",
3098
3098
  frameborder: "0",
3099
3099
  src: g.value
3100
- }, null)]), m.value && Ge()]), !f.value && k.value && A.value && X(A.value)])])];
3100
+ }, null)]), m.value && Ge()]), !f.value && k.value && O.value && X(O.value)])])];
3101
3101
  }
3102
3102
  });
3103
3103
  }
@@ -3282,9 +3282,9 @@ function fa(e, t, n) {
3282
3282
  function k(y, E) {
3283
3283
  const b = String(y.getAttribute("data-controltype")), m = y.getAttribute("data-feature"), B = m ? JSON.parse(m) : {};
3284
3284
  B.parentComponentInstance = c.value;
3285
- let A = de(b, B);
3286
- const N = b.toLowerCase().replace("-", "_");
3287
- return A && !A.id && A.type === b && (A.id = `${N}_${Math.random().toString().slice(2, 6)}`), A;
3285
+ let O = de(b, B);
3286
+ const H = b.toLowerCase().replace("-", "_");
3287
+ return O && !O.id && O.type === b && (O.id = `${H}_${Math.random().toString().slice(2, 6)}`), O;
3288
3288
  }
3289
3289
  function L(y) {
3290
3290
  }
@@ -3743,7 +3743,7 @@ const re = /* @__PURE__ */ q({
3743
3743
  emits: ["change"],
3744
3744
  setup(e, t) {
3745
3745
  const n = l(e.modelValue), a = l(e.width), o = l(e.height);
3746
- O(() => e.modelValue, (v) => {
3746
+ A(() => e.modelValue, (v) => {
3747
3747
  n.value = v;
3748
3748
  });
3749
3749
  function u(v, s) {