hlrender 0.0.182 → 0.0.184

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 (53) hide show
  1. package/{affix-widget-07343b94.js → affix-widget-188b1af0.js} +2 -2
  2. package/{alert-widget-c71ec32c.js → alert-widget-7f14fda8.js} +2 -2
  3. package/{auto-complete-widget-1f7951aa.js → auto-complete-widget-590a0348.js} +1 -1
  4. package/{avatar-widget-9029731a.js → avatar-widget-fd8cd1cc.js} +2 -2
  5. package/{backtop-widget-4da13299.js → backtop-widget-0af525c3.js} +2 -2
  6. package/{badge-widget-76316371.js → badge-widget-c7803ba1.js} +2 -2
  7. package/{button-widget-2a539c6b.js → button-widget-8c20c074.js} +2 -2
  8. package/{card-widget-3e6d3fcf.js → card-widget-82e1e343.js} +1 -1
  9. package/{cont-cell-widget-a73f2498.js → cont-cell-widget-1a9a1873.js} +1 -1
  10. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-ea1e47e6.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-343a67ad.js} +1 -1
  11. package/{cont-widget-781e9f30.js → cont-widget-439c784d.js} +1 -1
  12. package/{default-slot-widget-c580bd80.js → default-slot-widget-b595ba35.js} +2 -2
  13. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-03d3daa2.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c5f7bfd4.js} +1 -1
  14. package/{descriptions-widget-b1a9e01f.js → descriptions-widget-1d531339.js} +1 -1
  15. package/{dialog-widget-bec2767c.js → dialog-widget-a669d0a6.js} +2 -2
  16. package/{divider-widget-e3c747ee.js → divider-widget-d512f631.js} +2 -2
  17. package/{drag-wrapper-132833c0.js → drag-wrapper-ae438d2c.js} +8 -8
  18. package/{drawer-widget-9cf9d1f0.js → drawer-widget-72a81649.js} +2 -2
  19. package/{dropdown-widget-9fef5b59.js → dropdown-widget-dfd0f666.js} +1 -1
  20. package/{empty-widget-4a4d770d.js → empty-widget-9aa4191b.js} +2 -2
  21. package/{feedback-widget-e6c93767.js → feedback-widget-2af6f246.js} +2 -2
  22. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-26a7d5bc.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a01bf456.js} +1 -1
  23. package/{file-upload-widget-e7740b31.js → file-upload-widget-bd6fd152.js} +1 -1
  24. package/{form-widget-99db9dfc.js → form-widget-d4aae466.js} +1 -1
  25. package/{grid-col-widget-b9b76be4.js → grid-col-widget-bf49feab.js} +1 -1
  26. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d2577a9f.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-69f2bbcc.js} +1 -1
  27. package/{grid-widget-5f37acb6.js → grid-widget-5f13e765.js} +1 -1
  28. package/index-ae1f26e5.js +46 -0
  29. package/{input-widget-97fbd467.js → input-widget-b90990f9.js} +1 -1
  30. package/{link-widget-f8363cea.js → link-widget-e6f80cf8.js} +2 -2
  31. package/{ltable-col-widget-7722f1fe.js → ltable-col-widget-c51453a6.js} +1 -1
  32. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-90965bef.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f053a35c.js} +1 -1
  33. package/{ltable-widget-025e3dfb.js → ltable-widget-13e75efe.js} +1 -1
  34. package/{multirow-widget-11d26d3e.js → multirow-widget-1ba6bebe.js} +1 -1
  35. package/package.json +1 -1
  36. package/{progress-widget-a1aac0c3.js → progress-widget-777cc97c.js} +1 -1
  37. package/{range-widget-168ff9df.js → range-widget-8e178b77.js} +1 -1
  38. package/render.es.js +15 -15
  39. package/render.umd.js +134 -134
  40. package/{result-widget-d43e6ec3.js → result-widget-3a1929fd.js} +1 -1
  41. package/{rich-editor-widget-b4ee86a5.js → rich-editor-widget-f604bece.js} +27 -25
  42. package/{tab-pane-widget-28521639.js → tab-pane-widget-4f7d2700.js} +1 -1
  43. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bf423ac2.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0ed6b712.js} +1 -1
  44. package/{table-col-widget-d5ced17b.js → table-col-widget-aad96461.js} +2 -2
  45. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-42cc900c.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0e29ab4f.js} +1 -1
  46. package/{table-widget-941957e6.js → table-widget-56576aa7.js} +2 -2
  47. package/{tabs-widget-3fb046a9.js → tabs-widget-54fd5afa.js} +1 -1
  48. package/{tag-widget-f3511309.js → tag-widget-dfff327f.js} +2 -2
  49. package/{text-widget-50141d6c.js → text-widget-742a9e84.js} +2 -2
  50. package/{tmpl-widget-5ab5bbf1.js → tmpl-widget-3fea94de.js} +1 -1
  51. package/{wrapper-widget-678b69e3.js → wrapper-widget-aa02f4ba.js} +1 -1
  52. package/index-ebd8128b.js +0 -42
  53. package/rich-editor-widget copy-418afebc.js +0 -77
@@ -4,7 +4,7 @@ import { I as B } from "./field-base-5547436d.js";
4
4
  import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-22669ff9.js";
5
5
  import { b as I } from "./share-field-40ebfd5f.js";
6
6
  import { w as O } from "./expression-ae775414.js";
7
- import { D as P } from "./drag-wrapper-132833c0.js";
7
+ import { D as P } from "./drag-wrapper-ae438d2c.js";
8
8
  import { g as W } from "./slot-5e4f792c.js";
9
9
  import "./widget-base-4c2d6265.js";
10
10
  import "./index-1a89a048.js";
@@ -1,9 +1,9 @@
1
- import { defineComponent as u, computed as d, shallowRef as H, onMounted as V, openBlock as s, createBlock as a, mergeProps as c, unref as e, withCtx as j, createElementVNode as k, normalizeClass as x, normalizeStyle as I, resolveDynamicComponent as M, isRef as W, toHandlers as z } from "vue";
2
- import { b as B } from "./share-field-40ebfd5f.js";
3
- import { I as N } from "./field-base-5547436d.js";
4
- import P from "./form-item-wrapper-5ec16b55.js";
5
- import { w as R } from "./expression-ae775414.js";
6
- import { d as S, E as q } from "./enum-type-6e7ccb0e.js";
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-40ebfd5f.js";
3
+ import { I as P } from "./field-base-5547436d.js";
4
+ import R from "./form-item-wrapper-5ec16b55.js";
5
+ import { w as S } from "./expression-ae775414.js";
6
+ import { d as q, E as D } from "./enum-type-6e7ccb0e.js";
7
7
  import "./multirow-92199194.js";
8
8
  import "./baseImp-2f0ab0af.js";
9
9
  import "./enum-type-3bd819a0.js";
@@ -22,43 +22,45 @@ import "./fieldobj-ec130f21.js";
22
22
  import "./label-wrapper.vue_vue_type_style_index_0_lang-a7f0ebd1.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
- const D = u({ componentName: R.FieldWidget }), ce = /* @__PURE__ */ u({
26
- ...D,
25
+ const K = u({ componentName: S.FieldWidget }), ue = /* @__PURE__ */ u({
26
+ ...K,
27
27
  __name: "rich-editor-widget",
28
- props: { ...N },
28
+ props: { ...P },
29
29
  setup(f, { expose: _ }) {
30
- const h = f, { fieldEditor: g, fieldKey: y, fieldModel: n, rules: v, events: i, getFieldOptions: p, exposed: E, fieldObj: w } = B(h), C = d(() => p("contentHeight")), m = H(), O = () => {
31
- import("./index-ebd8128b.js").then((t) => {
30
+ const h = f, { fieldEditor: g, fieldKey: y, fieldModel: n, rules: v, events: i, getFieldOptions: p, exposed: E, fieldObj: w } = N(h), C = d(() => p("contentHeight")), m = x(), O = () => {
31
+ import("./index-ae1f26e5.js").then((t) => {
32
32
  m.value = t.default;
33
33
  });
34
- }, b = S(q(i.value), {
34
+ }, b = q(D(i.value), {
35
35
  change: (t) => {
36
36
  var o, l;
37
37
  const r = t == null ? void 0 : t.html;
38
38
  (l = (o = i == null ? void 0 : i.value) == null ? void 0 : o.change) == null || l.call(o, r);
39
39
  }
40
- }), F = d(() => ({
40
+ }), k = d(() => ({
41
41
  disabled: p("disabled"),
42
42
  placeholder: p("placeholder")
43
43
  }));
44
- return V(() => {
45
- O();
46
- }), _({ ...E }), (t, r) => (s(), a(P, c(t.$props, {
44
+ return F(() => {
45
+ H(() => {
46
+ O();
47
+ });
48
+ }), _({ ...E }), (t, r) => (s(), a(R, c(t.$props, {
47
49
  propOptions: { fieldObj: e(w), rules: e(v) }
48
50
  }), {
49
- default: j(({ data: o }) => [
50
- k("div", {
51
- class: x(["full-height", o.injectClass]),
52
- style: I(o.injectStyle)
51
+ default: V(({ data: o }) => [
52
+ j("div", {
53
+ class: I(["full-height", o.injectClass]),
54
+ style: M(o.injectStyle)
53
55
  }, [
54
- (s(), a(M(e(m)), c({
56
+ (s(), a(W(e(m)), c({
55
57
  ref_key: "fieldEditor",
56
58
  ref: g,
57
59
  modelValue: e(n),
58
- "onUpdate:modelValue": r[0] || (r[0] = (l) => W(n) ? n.value = l : null)
59
- }, z(e(b)), {
60
+ "onUpdate:modelValue": r[0] || (r[0] = (l) => z(n) ? n.value = l : null)
61
+ }, B(e(b)), {
60
62
  key: e(y),
61
- options: e(F),
63
+ options: e(k),
62
64
  contentHeight: e(C)
63
65
  }), null, 16, ["modelValue", "options", "contentHeight"]))
64
66
  ], 6)
@@ -68,5 +70,5 @@ const D = u({ componentName: R.FieldWidget }), ce = /* @__PURE__ */ u({
68
70
  }
69
71
  });
70
72
  export {
71
- ce as default
73
+ ue as default
72
74
  };
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bf423ac2.js";
1
+ import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0ed6b712.js";
2
2
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  default: e
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as s, openBlock as l, createBlock as f, mergeProps as r, unref as e, withCtx as g, createVNode as _ } from "vue";
2
2
  import { w as u } from "./expression-ae775414.js";
3
3
  import { I as w } from "./widget-base-4c2d6265.js";
4
- import { D as C } from "./drag-wrapper-132833c0.js";
4
+ import { D as C } from "./drag-wrapper-ae438d2c.js";
5
5
  import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-22669ff9.js";
6
6
  import { c as W } from "./slot-5e4f792c.js";
7
7
  import { b as h } from "./share-field-40ebfd5f.js";
@@ -1,4 +1,4 @@
1
- import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-42cc900c.js";
1
+ import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0e29ab4f.js";
2
2
  import "vue";
3
3
  import "./enum-type-6e7ccb0e.js";
4
4
  import "./baseImp-2f0ab0af.js";
@@ -11,7 +11,7 @@ import "./esprima-e8d15055.js";
11
11
  import "./icon-a0e0cdb0.js";
12
12
  import "./dialog-94b3ba3a.js";
13
13
  import "element-plus";
14
- import "./drag-wrapper-132833c0.js";
14
+ import "./drag-wrapper-ae438d2c.js";
15
15
  import "./widget-base-4c2d6265.js";
16
16
  import "./index-1a89a048.js";
17
17
  import "./slot-5e4f792c.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, resolveComponent as G, openBlock as i, createBlock as a, normalizeProps as I, guardReactiveProps as N, unref as e, withCtx as v, resolveDynamicComponent as A, createCommentVNode as s, createElementBlock as F, Fragment as L, renderList as V } from "vue";
2
2
  import { c as O, e as j } from "./enum-type-6e7ccb0e.js";
3
3
  import { b as q, g as H } from "./baseImp-2f0ab0af.js";
4
- import { D as W } from "./drag-wrapper-132833c0.js";
4
+ import { D as W } from "./drag-wrapper-ae438d2c.js";
5
5
  import { d as g } from "./slot-5e4f792c.js";
6
6
  import { b as J } from "./multirow-92199194.js";
7
7
  import { g as K } from "./uuid-c6c33329.js";
@@ -3,7 +3,7 @@ import { I as Ve } from "./field-base-5547436d.js";
3
3
  import { _ as We } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-22669ff9.js";
4
4
  import { b as Me } from "./share-field-40ebfd5f.js";
5
5
  import { w as Ue, b as Le } from "./expression-ae775414.js";
6
- import { _ as we } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-42cc900c.js";
6
+ import { _ as we } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-0e29ab4f.js";
7
7
  import { x as Ae, e as I, g as ae, a as Be, f as $e, t as Ge, o as Ke } from "./enum-type-6e7ccb0e.js";
8
8
  import { F as He } from "./slot-5e4f792c.js";
9
9
  import { c as Je, p as oe } from "./multirow-92199194.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-ec130f21.js";
20
20
  import "./source-map-b04aec4a.js";
21
21
  import "./esprima-e8d15055.js";
22
- import "./drag-wrapper-132833c0.js";
22
+ import "./drag-wrapper-ae438d2c.js";
23
23
  import "./dialog-94b3ba3a.js";
24
24
  import "element-plus";
25
25
  function et() {
@@ -4,7 +4,7 @@ import { b as X, w as Y } from "./expression-ae775414.js";
4
4
  import { I as Z } from "./widget-base-4c2d6265.js";
5
5
  import { b as ee } from "./share-field-40ebfd5f.js";
6
6
  import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-22669ff9.js";
7
- import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-bf423ac2.js";
7
+ import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0ed6b712.js";
8
8
  import { u as oe } from "./index-1a89a048.js";
9
9
  import { B as T } from "./baseImp-2f0ab0af.js";
10
10
  const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({
@@ -1,6 +1,6 @@
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-03d3daa2.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c5f7bfd4.js";
4
4
  import { w as d } from "./expression-ae775414.js";
5
5
  import { b as _ } from "./share-field-40ebfd5f.js";
6
6
  import "./widget-base-4c2d6265.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-ec130f21.js";
20
20
  import "./slot-5e4f792c.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-39154a77.js";
22
- import "./drag-wrapper-132833c0.js";
22
+ import "./drag-wrapper-ae438d2c.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  import "./multirow-92199194.js";
@@ -1,6 +1,6 @@
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-03d3daa2.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c5f7bfd4.js";
4
4
  import { w as d } from "./expression-ae775414.js";
5
5
  import { b as _ } from "./share-field-40ebfd5f.js";
6
6
  import "./widget-base-4c2d6265.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-ec130f21.js";
20
20
  import "./slot-5e4f792c.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-39154a77.js";
22
- import "./drag-wrapper-132833c0.js";
22
+ import "./drag-wrapper-ae438d2c.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  import "./multirow-92199194.js";
@@ -3,7 +3,7 @@ import { e as E, t as J, f as q } from "./enum-type-6e7ccb0e.js";
3
3
  import { I as G } from "./widget-base-4c2d6265.js";
4
4
  import { b as H } from "./share-field-40ebfd5f.js";
5
5
  import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-22669ff9.js";
6
- import { D as v } from "./drag-wrapper-132833c0.js";
6
+ import { D as v } from "./drag-wrapper-ae438d2c.js";
7
7
  import { i as Q, d as U } from "./slot-5e4f792c.js";
8
8
  import { c as X } from "./multirow-92199194.js";
9
9
  import { b as Y } from "./expression-ae775414.js";
@@ -1,6 +1,6 @@
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-132833c0.js";
3
+ import { D as A } from "./drag-wrapper-ae438d2c.js";
4
4
  import { _ as B } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-22669ff9.js";
5
5
  import { w as F } from "./expression-ae775414.js";
6
6
  import { W as v } from "./enum-type-3bd819a0.js";
package/index-ebd8128b.js DELETED
@@ -1,42 +0,0 @@
1
- import { defineComponent as p, ref as f, shallowRef as m, onMounted as h, openBlock as v, createBlock as k, resolveDynamicComponent as x, unref as y, normalizeStyle as C } from "vue";
2
- const B = /* @__PURE__ */ p({
3
- __name: "index",
4
- props: {
5
- modelValue: null,
6
- options: null,
7
- contentHeight: { default: "500px" }
8
- },
9
- emits: ["update:modelValue", "click", "focus", "blur"],
10
- setup(o, { emit: n }) {
11
- const l = f(o.modelValue), u = m(), c = () => {
12
- import("./index-2d29f8d3.js").then((e) => {
13
- const { quillEditor: t } = e.default;
14
- u.value = t;
15
- });
16
- }, i = (e) => {
17
- n("update:modelValue", e == null ? void 0 : e.html);
18
- }, s = (e) => {
19
- n("focus", e);
20
- }, a = (e) => {
21
- n("blur", e);
22
- }, d = (e) => {
23
- n("click", e);
24
- };
25
- return h(() => {
26
- c();
27
- }), (e, t) => (v(), k(x(y(u)), {
28
- ref: "fieldEditor",
29
- value: l.value,
30
- "onUpdate:value": t[0] || (t[0] = (r) => l.value = r),
31
- options: o.options,
32
- onChange: i,
33
- onFocus: s,
34
- onBlur: a,
35
- onClick: d,
36
- style: C(o.contentHeight ? `height: ${o.contentHeight}` : "")
37
- }, null, 40, ["value", "options", "style"]));
38
- }
39
- });
40
- export {
41
- B as default
42
- };
@@ -1,77 +0,0 @@
1
- import { defineComponent as f, computed as d, shallowRef as j, onMounted as k, openBlock as a, createBlock as c, mergeProps as u, unref as e, withCtx as x, createElementVNode as H, normalizeClass as I, normalizeStyle as M, resolveDynamicComponent as W, isRef as q, toHandlers as z } from "vue";
2
- import { b as B } from "./share-field-40ebfd5f.js";
3
- import { I as N } from "./field-base-5547436d.js";
4
- import P from "./form-item-wrapper-5ec16b55.js";
5
- import { w as R } from "./expression-ae775414.js";
6
- import { d as S, E as V } from "./enum-type-6e7ccb0e.js";
7
- import "./multirow-92199194.js";
8
- import "./baseImp-2f0ab0af.js";
9
- import "./enum-type-3bd819a0.js";
10
- import "./icon-a0e0cdb0.js";
11
- import "./dialog-94b3ba3a.js";
12
- import "./_commonjsHelpers-e7ea1525.js";
13
- import "./uuid-c6c33329.js";
14
- import "element-plus";
15
- import "./index-1a89a048.js";
16
- import "./slot-5e4f792c.js";
17
- import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-22669ff9.js";
19
- import "./index-70a7d3e6.js";
20
- import "./_plugin-vue_export-helper-dad06003.js";
21
- import "./fieldobj-ec130f21.js";
22
- import "./label-wrapper.vue_vue_type_style_index_0_lang-a7f0ebd1.js";
23
- import "./source-map-b04aec4a.js";
24
- import "./esprima-e8d15055.js";
25
- const $ = f({ componentName: R.FieldWidget }), ce = /* @__PURE__ */ f({
26
- ...$,
27
- __name: "rich-editor-widget copy",
28
- props: { ...N },
29
- setup(_, { expose: h }) {
30
- const y = _, { fieldEditor: v, fieldKey: g, fieldModel: p, rules: E, events: r, getFieldOptions: n, exposed: w, fieldObj: C } = B(y), m = d(() => n("contentHeight")), s = j(), O = () => {
31
- import("./index-2d29f8d3.js").then((t) => {
32
- const { quillEditor: i } = t.default;
33
- s.value = i;
34
- });
35
- }, b = S(V(r.value), {
36
- change: (t) => {
37
- var o, l;
38
- const i = t == null ? void 0 : t.html;
39
- (l = (o = r == null ? void 0 : r.value) == null ? void 0 : o.change) == null || l.call(o, i);
40
- }
41
- }), F = d(() => ({
42
- disabled: n("disabled"),
43
- placeholder: n("placeholder")
44
- // modules: {
45
- // counter: getFieldOptions('showWordLimit')
46
- // //toolbar: this.customToolbar
47
- // }
48
- }));
49
- return k(() => {
50
- O();
51
- }), h({ ...w }), (t, i) => (a(), c(P, u(t.$props, {
52
- propOptions: { fieldObj: e(C), rules: e(E) }
53
- }), {
54
- default: x(({ data: o }) => [
55
- H("div", {
56
- class: I(["full-height", o.injectClass]),
57
- style: M(o.injectStyle)
58
- }, [
59
- (a(), c(W(e(s)), u({
60
- ref_key: "fieldEditor",
61
- ref: v,
62
- value: e(p),
63
- "onUpdate:value": i[0] || (i[0] = (l) => q(p) ? p.value = l : null)
64
- }, z(e(b)), {
65
- key: e(g),
66
- options: e(F),
67
- style: e(m) ? `height: ${e(m)}` : ""
68
- }), null, 16, ["value", "options", "style"]))
69
- ], 6)
70
- ]),
71
- _: 1
72
- }, 16, ["propOptions"]));
73
- }
74
- });
75
- export {
76
- ce as default
77
- };