hldesigner 0.0.214 → 0.0.215

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, ref as N, computed as u, resolveComponent as a, openBlock as r, createBlock as s, withCtx as l, createVNode as P, withModifiers as T, createElementBlock as d, Fragment as c, renderList as f, unref as g, createElementVNode as j, toDisplayString as A, resolveDynamicComponent as D, createCommentVNode as C } from "vue";
2
- import { u as O } from "./index-17877ba4.js";
2
+ import { u as O } from "./index-7b99ba4e.js";
3
3
  import { bm as F } from "./enum-type-4c222402.js";
4
4
  import { j as I } from "./obj-a84ba092.js";
5
5
  import "./emitter-2df329ed.js";
@@ -22,7 +22,7 @@ import "./slot-fdcd794c.js";
22
22
  import "./index-05fbd4a9.js";
23
23
  import "./_plugin-vue_export-helper-dad06003.js";
24
24
  import "./property-base-f9fcb5b7.js";
25
- import "./install-designer-23c8e8b5.js";
25
+ import "./install-designer-74463fc5.js";
26
26
  import "./cont-cell-widget-6cf0116f.js";
27
27
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b3163cb.js";
28
28
  import "./share-field-8677fca7.js";
package/designer.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as U } from "./install-designer-23c8e8b5.js";
1
+ import { i as U } from "./install-designer-74463fc5.js";
2
2
  import "./index-d782504a.js";
3
3
  import "./cont-cell-widget-6cf0116f.js";
4
4
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b3163cb.js";
package/designer.umd.js CHANGED
@@ -4437,7 +4437,7 @@ You passed in: '`+this.raw_options[i]+"'");return a},t.prototype._is_valid_selec
4437
4437
  ${n}
4438
4438
  `;{const r=WM(n);return`function pageCreated(${((i=r==null?void 0:r.params)==null?void 0:i.join(","))||""}){
4439
4439
  ${(r==null?void 0:r.body)||""}
4440
- }`}},Oie=(t,e)=>{var i;var n=ve.getValue(t.pageMounted)||"";if(!Fr(n)){if(e)return`
4440
+ }`}},Oie=(t,e)=>{var i;var n=ve.getValue(t==null?void 0:t.pageMounted)||"";if(!Fr(n)){if(e)return`
4441
4441
  ${n}
4442
4442
  `;{const r=WM(n);return`function pageMounted(${((i=r==null?void 0:r.params)==null?void 0:i.join(","))||""}){
4443
4443
  ${(r==null?void 0:r.body)||""}
@@ -99,7 +99,7 @@ const fe = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
99
99
  const i = (m = (n = Y()) == null ? void 0 : n[0]) == null ? void 0 : m.children;
100
100
  switch (e) {
101
101
  case o.actionURL: {
102
- c.value = { attrs: t || {} }, g.value = C(() => import("./target-link-0b8760bd.js"));
102
+ c.value = { attrs: t || {} }, g.value = C(() => import("./target-link-efbfbef5.js"));
103
103
  break;
104
104
  }
105
105
  case o.actionOpenDialog:
@@ -114,7 +114,7 @@ const fe = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
114
114
  }
115
115
  case o.actionSendSchema: {
116
116
  const a = D();
117
- c.value = { attrs: t || {}, widgetList: (u = v.otherConfig) == null ? void 0 : u.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, g.value = C(() => import("./target-datasource-a255869b.js"));
117
+ c.value = { attrs: t || {}, widgetList: (u = v.otherConfig) == null ? void 0 : u.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, g.value = C(() => import("./target-datasource-5cb998d4.js"));
118
118
  break;
119
119
  }
120
120
  case o.actionCode: {
@@ -123,7 +123,7 @@ const fe = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
123
123
  }
124
124
  case o.actionSaveFormData: {
125
125
  const a = D();
126
- c.value = { attrs: t || {}, widgetList: i, fieldWidgetList: (f = v.otherConfig) == null ? void 0 : f.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, g.value = C(() => import("./target-saveForm-da6eadad.js"));
126
+ c.value = { attrs: t || {}, widgetList: i, fieldWidgetList: (f = v.otherConfig) == null ? void 0 : f.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, g.value = C(() => import("./target-saveForm-f13dcd28.js"));
127
127
  break;
128
128
  }
129
129
  }
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as T, computed as r, ref as f, resolveComponent as g, openBlock as p, createElementBlock as u, createVNode as n, withCtx as m, withDirectives as j, createElementVNode as y, createBlock as B, unref as o, createCommentVNode as E, createTextVNode as v, toDisplayString as _ } from "vue";
2
2
  import { a as k } from "./enum-type-349e4195.js";
3
- import { _ as N } from "./reg-editor.vue_vue_type_script_setup_true_lang-b6f29ad1.js";
3
+ import { _ as N } from "./reg-editor.vue_vue_type_script_setup_true_lang-46c872a7.js";
4
4
  import { ClickOutside as S } from "element-plus";
5
5
  import "./obj-a84ba092.js";
6
6
  import "./enum-type-4c222402.js";
7
- import "./index-17877ba4.js";
7
+ import "./index-7b99ba4e.js";
8
8
  import "./emitter-2df329ed.js";
9
9
  import "./index-8f60c7f8.js";
10
10
  import "./uuid-45249b4f.js";
@@ -23,7 +23,7 @@ import "./slot-fdcd794c.js";
23
23
  import "./index-05fbd4a9.js";
24
24
  import "./_plugin-vue_export-helper-dad06003.js";
25
25
  import "./property-base-f9fcb5b7.js";
26
- import "./install-designer-23c8e8b5.js";
26
+ import "./install-designer-74463fc5.js";
27
27
  import "./cont-cell-widget-6cf0116f.js";
28
28
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b3163cb.js";
29
29
  import "./share-field-8677fca7.js";
@@ -41,7 +41,7 @@ const G = { class: "flexJustify" }, le = /* @__PURE__ */ z({
41
41
  case r.formula:
42
42
  return n(() => import("./index-f5732f7b.js"));
43
43
  case r.targetEvent:
44
- return n(() => import("./index-c7b70398.js"));
44
+ return n(() => import("./index-0d3e115d.js"));
45
45
  case r.schema:
46
46
  return n(() => import("./index-103f6a27.js"));
47
47
  case r.relateWithWidget:
@@ -2,7 +2,7 @@ import { defineComponent as ut, computed as Q, ref as u, shallowRef as de, resol
2
2
  import { a as t, f as yt, j as pe, d as me } from "./enum-type-349e4195.js";
3
3
  import { P as Ct, f as oe, C as Vt, z as _t } from "./baseImp-652c208a.js";
4
4
  import { u as bt } from "./index-8f60c7f8.js";
5
- import { F as ht } from "./install-designer-23c8e8b5.js";
5
+ import { F as ht } from "./install-designer-74463fc5.js";
6
6
  import { S as P } from "./index-a478c2e7.js";
7
7
  import { e as ce } from "./obj-a84ba092.js";
8
8
  import { g as I } from "./uuid-45249b4f.js";
@@ -198,7 +198,7 @@ const wt = ($) => (vt("data-v-305bf733"), $ = $(), ft(), $), Ft = { class: "full
198
198
  return i();
199
199
  });
200
200
  }, et = () => {
201
- Ze(), import("./sfc-40d30545.js").then((l) => {
201
+ Ze(), import("./sfc-8fd6b0e4.js").then((l) => {
202
202
  const { genSFC: e } = l;
203
203
  B.value = e(c.designer.pageConfig, c.designer.widgetList, !1), U.value = e(c.designer.pageConfig, c.designer.widgetList, !0), M(), N.value = !0;
204
204
  });
@@ -16,7 +16,7 @@ import { A as u, p as Ht, P as ae, B as pi, e as di, h as mi } from "./baseImp-6
16
16
  import { g as ci } from "./icon-6342f929.js";
17
17
  import { u as ui } from "./slot-fdcd794c.js";
18
18
  import { e as wi } from "./index-05fbd4a9.js";
19
- import { u as vi } from "./install-designer-23c8e8b5.js";
19
+ import { u as vi } from "./install-designer-74463fc5.js";
20
20
  function bi() {
21
21
  let w = /* @__PURE__ */ new Map();
22
22
  const m = (E) => J(() => Xa(/* @__PURE__ */ Object.assign({ "../common-editor.vue": () => import("./common-editor-7dca6f59.js"), "../css-editor.vue": () => import("./css-editor-c5efa866.js"), "../customClass-editor.vue": () => import("./customClass-editor-9251ae2c.js"), "../field-editor.vue": () => import("./field-editor-36936089.js"), "../image-editor.vue": () => import("./image-editor-ad6efec3.js"), "../name-editor.vue": () => import("./name-editor-9895318a.js"), "../size-editor.vue": () => import("./size-editor-cf165152.js"), "../value-editor.vue": () => import("./value-editor-841871ab.js") }), `../${E}.vue`));
@@ -3393,7 +3393,7 @@ const hi = { key: 0 }, gi = Gt({ componentName: si.SettingPanel }), Ti = /* @__P
3393
3393
  const d = new c();
3394
3394
  return d.optionModel = _.value, d.pageConfig = k.value, d.selectedWidget = v.value, N(b.value, _.value, k.value, d);
3395
3395
  }), q = fe(), G = () => {
3396
- q.value || (q.value = J(() => import("./configItem-b39357c2.js")));
3396
+ q.value || (q.value = J(() => import("./configItem-2753b912.js")));
3397
3397
  }, D = $(_e.formSetting), ne = (d) => {
3398
3398
  var x;
3399
3399
  let I = !1;
@@ -3421,7 +3421,7 @@ const hi = { key: 0 }, gi = Gt({ componentName: si.SettingPanel }), Ti = /* @__P
3421
3421
  E(Ke.popOverHandler, (d) => {
3422
3422
  var L;
3423
3423
  var I = (L = d == null ? void 0 : d.attrs) == null ? void 0 : L.visible;
3424
- !ie.value && I ? ie.value = J(() => import("./index-c911c5c9.js")) : ie.value = null;
3424
+ !ie.value && I ? ie.value = J(() => import("./index-1a7de9bd.js")) : ie.value = null;
3425
3425
  var x = { ...d == null ? void 0 : d.attrs };
3426
3426
  x = ge(x), I && (z = "popOver", M = {
3427
3427
  attrs: x,
@@ -3434,7 +3434,7 @@ const hi = { key: 0 }, gi = Gt({ componentName: si.SettingPanel }), Ti = /* @__P
3434
3434
  E(Ke.drawerHandler, (d) => {
3435
3435
  var W;
3436
3436
  var I = (W = d == null ? void 0 : d.attrs) == null ? void 0 : W.visible;
3437
- if (!le.value && I ? le.value = J(() => import("./index-f5492d72.js")) : le.value = null, I) {
3437
+ if (!le.value && I ? le.value = J(() => import("./index-89ace894.js")) : le.value = null, I) {
3438
3438
  var x = document.querySelector(".right-panel"), L = At(x) ? "" : getComputedStyle(x).width, V = { ...d == null ? void 0 : d.attrs, position: { right: L } };
3439
3439
  V = ge(V), z = "drawer", M = {
3440
3440
  attrs: V,
@@ -3448,7 +3448,7 @@ const hi = { key: 0 }, gi = Gt({ componentName: si.SettingPanel }), Ti = /* @__P
3448
3448
  E(Ke.editHandler, (d) => {
3449
3449
  var V;
3450
3450
  var I = (V = d == null ? void 0 : d.attrs) == null ? void 0 : V.visible;
3451
- if (!oe.value && I ? oe.value = J(() => import("./index-2e5a6243.js")) : oe.value = null, I) {
3451
+ if (!oe.value && I ? oe.value = J(() => import("./index-5c04c1bc.js")) : oe.value = null, I) {
3452
3452
  var x = { ...d.attrs, width: "80%" };
3453
3453
  x = ge(x);
3454
3454
  var L = Ne(d.events);
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as R, computed as m, ref as p, resolveComponent as u, openBlock as y, createElementBlock as S, createVNode as a, normalizeStyle as T, withCtx as n, createElementVNode as b, createTextVNode as k, toDisplayString as v, unref as o, createBlock as B, createCommentVNode as E } from "vue";
2
2
  import { a as w } from "./enum-type-349e4195.js";
3
- import { _ as N } from "./reg-editor.vue_vue_type_script_setup_true_lang-b6f29ad1.js";
3
+ import { _ as N } from "./reg-editor.vue_vue_type_script_setup_true_lang-46c872a7.js";
4
4
  import "./obj-a84ba092.js";
5
5
  import "./enum-type-4c222402.js";
6
- import "./index-17877ba4.js";
6
+ import "./index-7b99ba4e.js";
7
7
  import "./emitter-2df329ed.js";
8
8
  import "./index-8f60c7f8.js";
9
9
  import "./uuid-45249b4f.js";
@@ -23,7 +23,7 @@ import "./slot-fdcd794c.js";
23
23
  import "./index-05fbd4a9.js";
24
24
  import "./_plugin-vue_export-helper-dad06003.js";
25
25
  import "./property-base-f9fcb5b7.js";
26
- import "./install-designer-23c8e8b5.js";
26
+ import "./install-designer-74463fc5.js";
27
27
  import "./cont-cell-widget-6cf0116f.js";
28
28
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b3163cb.js";
29
29
  import "./share-field-8677fca7.js";
@@ -368,7 +368,7 @@ const qt = /* @__PURE__ */ D1(kt, [["__scopeId", "data-v-527104aa"]]);
368
368
  function _t(r) {
369
369
  return {
370
370
  getSFCCode: () => new Promise((n, s) => {
371
- import("./sfc-40d30545.js").then((t) => {
371
+ import("./sfc-8fd6b0e4.js").then((t) => {
372
372
  const { genSFC: a } = t, l = a(r == null ? void 0 : r.pageConfig, r == null ? void 0 : r.widgetList, !1);
373
373
  n == null || n(l);
374
374
  });
@@ -451,7 +451,7 @@ const n4 = { class: "full-height-width noscrollbar" }, o4 = j3({ componentName:
451
451
  C(I);
452
452
  });
453
453
  const a = s3(() => t.version), l = W2(), c = W2(), d = G3(), f = G3(), u = G3(), v = G3(), h = () => {
454
- d.value = X3(() => import("./index-c8f25f29.js")), f.value = X3(() => import("./index-21217fd0.js")), u.value = X3(() => import("./index-17877ba4.js").then((I) => I.i)), v.value = X3(() => import("./index-c04eeb4b.js"));
454
+ d.value = X3(() => import("./index-c8f25f29.js")), f.value = X3(() => import("./index-21217fd0.js")), u.value = X3(() => import("./index-7b99ba4e.js").then((I) => I.i)), v.value = X3(() => import("./index-69b658a5.js"));
455
455
  }, m = W2(), g = () => {
456
456
  const I = Et(".page-widget-main .el-scrollbar");
457
457
  m.value = I - 80 + "px";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hldesigner",
3
- "version": "0.0.214",
3
+ "version": "0.0.215",
4
4
  "description": "",
5
5
  "main": "designer.umd.js",
6
6
  "private":false,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, reactive as v, computed as P, ref as k, resolveComponent as w, openBlock as l, createBlock as m, mergeProps as R, withCtx as _, createElementBlock as d, Fragment as g, renderList as x, unref as s, resolveDynamicComponent as B, createCommentVNode as W } from "vue";
2
2
  import { aj as b } from "./enum-type-4c222402.js";
3
- import { u as F } from "./index-17877ba4.js";
3
+ import { u as F } from "./index-7b99ba4e.js";
4
4
  import { i as N } from "./obj-a84ba092.js";
5
5
  const T = {
6
6
  key: 0,
@@ -2000,7 +2000,7 @@ const vi = (t) => {
2000
2000
  }
2001
2001
  }, Ke = (t, i) => {
2002
2002
  var e;
2003
- var s = M.getValue(t.pageMounted) || "";
2003
+ var s = M.getValue(t == null ? void 0 : t.pageMounted) || "";
2004
2004
  if (!gt(s)) {
2005
2005
  if (i)
2006
2006
  return `
@@ -2,7 +2,7 @@ import { defineComponent as H, ref as p, shallowRef as K, onMounted as Q, resolv
2
2
  import { a as u } from "./enum-type-349e4195.js";
3
3
  import { e as te, V as oe } from "./baseImp-652c208a.js";
4
4
  import { e as le, L as re } from "./obj-a84ba092.js";
5
- import { _ as ie } from "./reg-editor.vue_vue_type_script_setup_true_lang-b6f29ad1.js";
5
+ import { _ as ie } from "./reg-editor.vue_vue_type_script_setup_true_lang-46c872a7.js";
6
6
  import { d as ne } from "./enum-type-4c222402.js";
7
7
  import { _ as ae } from "./_plugin-vue_export-helper-dad06003.js";
8
8
  import "./expression-12fb06b8.js";
@@ -13,7 +13,7 @@ import "./esprima-e8d15055.js";
13
13
  import "./icon-6342f929.js";
14
14
  import "./dialog-2c9331d7.js";
15
15
  import "element-plus";
16
- import "./index-17877ba4.js";
16
+ import "./index-7b99ba4e.js";
17
17
  import "./emitter-2df329ed.js";
18
18
  import "./index-8f60c7f8.js";
19
19
  import "./optionItem-f85caf57.js";
@@ -23,7 +23,7 @@ import "./widget-base-4c2d6265.js";
23
23
  import "./slot-fdcd794c.js";
24
24
  import "./index-05fbd4a9.js";
25
25
  import "./property-base-f9fcb5b7.js";
26
- import "./install-designer-23c8e8b5.js";
26
+ import "./install-designer-74463fc5.js";
27
27
  import "./cont-cell-widget-6cf0116f.js";
28
28
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b3163cb.js";
29
29
  import "./share-field-8677fca7.js";
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as k, ref as _, computed as g, resolveComponent as p, openBlock as S, createElementBlock as R, Fragment as x, createVNode as t, withCtx as r, unref as e } from "vue";
2
2
  import { b as c, d as i } from "./enum-type-4c222402.js";
3
- import { _ as a } from "./reg-editor.vue_vue_type_script_setup_true_lang-b6f29ad1.js";
3
+ import { _ as a } from "./reg-editor.vue_vue_type_script_setup_true_lang-46c872a7.js";
4
4
  import { a as m } from "./enum-type-349e4195.js";
5
5
  import { _ as E } from "./_plugin-vue_export-helper-dad06003.js";
6
- import "./index-17877ba4.js";
6
+ import "./index-7b99ba4e.js";
7
7
  import "./emitter-2df329ed.js";
8
8
  import "./obj-a84ba092.js";
9
9
  import "./index-8f60c7f8.js";
@@ -23,7 +23,7 @@ import "./widget-base-4c2d6265.js";
23
23
  import "./slot-fdcd794c.js";
24
24
  import "./index-05fbd4a9.js";
25
25
  import "./property-base-f9fcb5b7.js";
26
- import "./install-designer-23c8e8b5.js";
26
+ import "./install-designer-74463fc5.js";
27
27
  import "./cont-cell-widget-6cf0116f.js";
28
28
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b3163cb.js";
29
29
  import "./share-field-8677fca7.js";
@@ -2,7 +2,7 @@ import { defineComponent as E, ref as c, resolveComponent as o, openBlock as n,
2
2
  import { c as C, a as _ } from "./enum-type-349e4195.js";
3
3
  import { d as x } from "./enum-type-4c222402.js";
4
4
  import { v as S } from "./index-8f60c7f8.js";
5
- import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-b6f29ad1.js";
5
+ import { _ as U } from "./reg-editor.vue_vue_type_script_setup_true_lang-46c872a7.js";
6
6
  import "./obj-a84ba092.js";
7
7
  import "./uuid-45249b4f.js";
8
8
  import "./optionItem-f85caf57.js";
@@ -15,7 +15,7 @@ import "./icon-6342f929.js";
15
15
  import "./dialog-2c9331d7.js";
16
16
  import "element-plus";
17
17
  import "./index-7397718e.js";
18
- import "./index-17877ba4.js";
18
+ import "./index-7b99ba4e.js";
19
19
  import "./emitter-2df329ed.js";
20
20
  import "./drag-wrapper-d4b6e88c.js";
21
21
  import "./widget-base-4c2d6265.js";
@@ -23,7 +23,7 @@ import "./slot-fdcd794c.js";
23
23
  import "./index-05fbd4a9.js";
24
24
  import "./_plugin-vue_export-helper-dad06003.js";
25
25
  import "./property-base-f9fcb5b7.js";
26
- import "./install-designer-23c8e8b5.js";
26
+ import "./install-designer-74463fc5.js";
27
27
  import "./cont-cell-widget-6cf0116f.js";
28
28
  import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4b3163cb.js";
29
29
  import "./share-field-8677fca7.js";