form-imagining 0.0.89-10-cs → 0.0.89-10-cs2

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 (48) hide show
  1. package/dist/{App-CzBWayVN.js → App-IMy7_HB4.js} +11 -12
  2. package/dist/Col-DAloquay.js +4 -0
  3. package/dist/Collapse-DZeDWdOv.js +4 -0
  4. package/dist/{Demo-DFs2G3B3.js → Demo-DcIuTvmn.js} +1 -1
  5. package/dist/FX-B-AKsF5C.js +4 -0
  6. package/dist/{FormGridCopy-jm2AxRyZ.js → FormGridCopy-BHS_c1OY.js} +17 -17
  7. package/dist/GenerateForm-CPOOYGv2.js +4 -0
  8. package/dist/GenerateReport-CIRqu37y.js +4 -0
  9. package/dist/{HelloWorld-OtqdSCkx.js → HelloWorld-BifFkQtX.js} +1 -1
  10. package/dist/Input-/345/210/240/351/231/{244-CpwYSbP0.js → 244-qQDf42qi.js} +1 -1
  11. package/dist/Label-/345/210/240/351/231/{244-BGk8J3Cu.js → 244-CSDmigb1.js} +1 -1
  12. package/dist/{Login-CC0mwXKP.js → Login-DwdU1dfU.js} +1 -1
  13. package/dist/SqlModule-CE6Xfb-o.js +4 -0
  14. package/dist/TableBtnModal-DbXyRrGf.js +4 -0
  15. package/dist/childForm-DRpka8o2.js +4 -0
  16. package/dist/{cssMode-CNElC5-Y.js → cssMode-B1idaJlM.js} +17 -17
  17. package/dist/form-imagining.js +1 -1
  18. package/dist/form-imagining.umd.cjs +2 -2
  19. package/dist/{formTest-CRJCNSOf.js → formTest-XKGbyu1F.js} +1 -1
  20. package/dist/{freemarker2-CmTgiq-k.js → freemarker2-DKDgE-Za.js} +1 -1
  21. package/dist/{handlebars-CEIZ9jnP.js → handlebars-DJLxRC8y.js} +1 -1
  22. package/dist/{html-D0oEQyaN.js → html-Bk4zq5H6.js} +1 -1
  23. package/dist/{htmlMode-CTB4ifGT.js → htmlMode-BTCH4TRW.js} +20 -20
  24. package/dist/{index-DgogPSRi.js → index-3y9ZAxEO.js} +1 -1
  25. package/dist/{index-Cm7U2NLL.js → index-BtQOudXM.js} +1 -1
  26. package/dist/{index-CB8nLJ4W.js → index-DctQGQQO.js} +368 -163
  27. package/dist/{javascript-DrcfrQiB.js → javascript-h5G0P2fJ.js} +1 -1
  28. package/dist/{jsonMode-BiT4S4Uq.js → jsonMode-CI93xBj3.js} +21 -21
  29. package/dist/{liquid-BAugAkAQ.js → liquid-B05-Nx4H.js} +1 -1
  30. package/dist/{mdx-BhJUCRvM.js → mdx-B-LZ5MD5.js} +1 -1
  31. package/dist/{python-FS7kgsSj.js → python-CoTXRsjM.js} +1 -1
  32. package/dist/{razor-Bf9TLtsv.js → razor-azioGMvY.js} +1 -1
  33. package/dist/{tableSelectDemo-Ca1UEsJQ.js → tableSelectDemo-BPh2ntNl.js} +1 -1
  34. package/dist/{tableSelectDemo2-D9arxjAX.js → tableSelectDemo2-CQdDAfBU.js} +1 -1
  35. package/dist/{tsMode-BS8i2mUt.js → tsMode-Ber4KsjL.js} +1 -1
  36. package/dist/{typescript-D6F-KjZd.js → typescript-BsjpDqXy.js} +1 -1
  37. package/dist/{xml-C0Ju_62G.js → xml-B3Tf9bhJ.js} +1 -1
  38. package/dist/{yaml-DfwHlmRD.js → yaml-1pDaowO6.js} +1 -1
  39. package/package.json +1 -1
  40. package/dist/Col-BtumcSSN.js +0 -4
  41. package/dist/Collapse-B2cLw_DQ.js +0 -4
  42. package/dist/FX-BqnZDn5N.js +0 -4
  43. package/dist/GenerateForm-1gb-D85J.js +0 -4
  44. package/dist/GenerateReport-Cmtlu8u5.js +0 -4
  45. package/dist/RView-DgIVkVAF.js +0 -223
  46. package/dist/SqlModule-BHx_4SzY.js +0 -4
  47. package/dist/TableBtnModal-DRdLH3EH.js +0 -4
  48. package/dist/childForm-BNpvzZ_-.js +0 -4
@@ -1,22 +1,21 @@
1
- import { defineComponent as a, onMounted as p, resolveComponent as l, openBlock as o, createBlock as r, unref as e, withCtx as t, Suspense as c, createVNode as s } from "vue";
2
- import { u as i, l as f, r as _ } from "./index-CB8nLJ4W.js";
3
- import m from "./RView-DgIVkVAF.js";
4
- const R = /* @__PURE__ */ a({
1
+ import { defineComponent as a, onMounted as l, resolveComponent as p, openBlock as o, createBlock as r, unref as e, withCtx as t, Suspense as c, createVNode as s } from "vue";
2
+ import { u as i, l as _, R as f, r as d } from "./index-DctQGQQO.js";
3
+ const x = /* @__PURE__ */ a({
5
4
  __name: "App",
6
- setup(d) {
5
+ setup(m) {
7
6
  const n = i();
8
- return p(() => {
9
- }), (h, k) => {
10
- const u = l("a-config-provider");
7
+ return l(() => {
8
+ }), (R, h) => {
9
+ const u = p("a-config-provider");
11
10
  return o(), r(u, {
12
- locale: e(f),
11
+ locale: e(_),
13
12
  theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
14
13
  }, {
15
14
  default: t(() => [
16
15
  (o(), r(c, null, {
17
16
  default: t(() => [
18
- s(m, {
19
- "p-router": e(_),
17
+ s(f, {
18
+ "p-router": e(d),
20
19
  "p-route": e(n),
21
20
  id: "36"
22
21
  }, null, 8, ["p-router", "p-route"])
@@ -30,5 +29,5 @@ const R = /* @__PURE__ */ a({
30
29
  }
31
30
  });
32
31
  export {
33
- R as default
32
+ x as default
34
33
  };
@@ -0,0 +1,4 @@
1
+ import { j as f } from "./index-DctQGQQO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { k as f } from "./index-DctQGQQO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onBeforeUpdate, openBlock, createBlock, unref } from "vue";
2
- import { b as useFormStore, g as generateReportHtml, d as defHttp } from "./index-CB8nLJ4W.js";
2
+ import { b as useFormStore, g as generateReportHtml, d as defHttp } from "./index-DctQGQQO.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "Demo",
5
5
  props: {
@@ -0,0 +1,4 @@
1
+ import { m } from "./index-DctQGQQO.js";
2
+ export {
3
+ m as default
4
+ };
@@ -1,6 +1,6 @@
1
- import { defineComponent as z, ref as J, watch as L, resolveComponent as h, openBlock as o, createElementBlock as u, createElementVNode as P, createVNode as r, unref as f, createCommentVNode as x, normalizeStyle as C, withCtx as g, Fragment as I, renderList as k, createBlock as w, normalizeClass as b } from "vue";
2
- import { b as R, N as W, V as j, O as A, P as K, Q as N, R as O, M as Q, _ as q } from "./index-CB8nLJ4W.js";
3
- const H = { class: "move" }, T = {
1
+ import { defineComponent as z, ref as J, watch as L, resolveComponent as h, openBlock as o, createElementBlock as u, createElementVNode as W, createVNode as r, unref as f, createCommentVNode as x, normalizeStyle as C, withCtx as g, Fragment as I, renderList as k, createBlock as w, normalizeClass as b } from "vue";
2
+ import { b as j, D as q, V as A, o as K, C as P, p as D, q as S, M as R, _ as H } from "./index-DctQGQQO.js";
3
+ const Q = { class: "move" }, T = {
4
4
  key: 0,
5
5
  class: "widget-view-drag"
6
6
  }, U = ["onMousedown"], X = {
@@ -30,15 +30,15 @@ const H = { class: "move" }, T = {
30
30
  }
31
31
  },
32
32
  emits: ["childConfig", "index"],
33
- setup(e, { emit: S }) {
34
- const D = R(), a = e, i = J("-1");
33
+ setup(e, { emit: N }) {
34
+ const O = j(), a = e, i = J("-1");
35
35
  L(
36
36
  () => a.activeIndex,
37
37
  (t, n) => {
38
38
  i.value = t;
39
39
  }
40
40
  );
41
- const m = S;
41
+ const m = N;
42
42
  function p(t, n, d) {
43
43
  i.value = n, m("childConfig", t), m("index", i.value), d.stopPropagation(), d.preventDefault();
44
44
  }
@@ -52,7 +52,7 @@ const H = { class: "move" }, T = {
52
52
  const n = JSON.parse(JSON.stringify(t));
53
53
  if (a.data.columns && a.data.columns.length > 0) {
54
54
  let d = a.data.columns.findIndex((v) => v.key == t.key);
55
- d > -1 && (n.key = O(), n.id = O(), a.data.columns.splice(d + 1, 0, n));
55
+ d > -1 && (n.key = S(), n.id = S(), a.data.columns.splice(d + 1, 0, n));
56
56
  }
57
57
  }
58
58
  function E(t) {
@@ -61,7 +61,7 @@ const H = { class: "move" }, T = {
61
61
  }
62
62
  function F() {
63
63
  if (a.data.columns.length > 0)
64
- Q.confirm({
64
+ R.confirm({
65
65
  title: "确定要删除该栅格布局吗?",
66
66
  content: "如果该布局存在表单,将会一并删除",
67
67
  onOk() {
@@ -79,14 +79,14 @@ const H = { class: "move" }, T = {
79
79
  return (t, n) => {
80
80
  const d = h("a-col"), v = h("a-row"), B = h("a-form");
81
81
  return o(), u("div", null, [
82
- P("div", H, [
82
+ W("div", Q, [
83
83
  e.activeIndex == e.index ? (o(), u("div", T, [
84
- r(f(W), { style: { padding: "6px" } })
84
+ r(f(q), { style: { padding: "6px" } })
85
85
  ])) : x("", !0)
86
86
  ]),
87
87
  r(B, {
88
88
  style: C({ padding: `${e.data.top || 0}px ${e.data.right || 0}px ${e.data.bottom || 0}px ${e.data.left || 0}px` }),
89
- "label-col": { style: { width: f(D).formData.config.labelWidth + "px" } },
89
+ "label-col": { style: { width: f(O).formData.config.labelWidth + "px" } },
90
90
  labelWrap: !0
91
91
  }, {
92
92
  default: g(() => [
@@ -103,7 +103,7 @@ const H = { class: "move" }, T = {
103
103
  onMousedown: (s) => p(l, "col-" + e.index + "-" + c, s)
104
104
  }, {
105
105
  default: g(() => [
106
- r(f(j), {
106
+ r(f(A), {
107
107
  class: "widget-col-list",
108
108
  style: { "min-height": "50px" },
109
109
  "ghost-class": "ghost",
@@ -124,7 +124,7 @@ const H = { class: "move" }, T = {
124
124
  class: b(["widget-view", { active: i.value == e.index + "-" + c + "-" + y }]),
125
125
  onMousedown: (G) => p(s, e.index + "-" + c + "-" + y, G)
126
126
  }, [
127
- r(A, {
127
+ r(K, {
128
128
  data: s,
129
129
  list: l.list,
130
130
  activeIndex: i.value,
@@ -135,11 +135,11 @@ const H = { class: "move" }, T = {
135
135
  _: 2
136
136
  }, 1032, ["list", "onEnd"]),
137
137
  e.activeIndex === "col-" + e.index + "-" + c ? (o(), u("div", X, [
138
- r(f(K), {
138
+ r(f(P), {
139
139
  style: { padding: "3px 5px" },
140
140
  onClick: (s) => V(l)
141
141
  }, null, 8, ["onClick"]),
142
- e.data.columns.length !== 1 ? (o(), w(f(N), {
142
+ e.data.columns.length !== 1 ? (o(), w(f(D), {
143
143
  key: 0,
144
144
  onClick: (s) => E(l)
145
145
  }, null, 8, ["onClick"])) : x("", !0)
@@ -148,7 +148,7 @@ const H = { class: "move" }, T = {
148
148
  _: 2
149
149
  }, 1032, ["span", "class", "offset", "onMousedown"]))), 256)),
150
150
  e.activeIndex === e.index ? (o(), u("div", Y, [
151
- r(f(N), {
151
+ r(f(D), {
152
152
  style: { padding: "3px 5px", color: "#fff" },
153
153
  onClick: n[0] || (n[0] = (l) => F())
154
154
  })
@@ -162,7 +162,7 @@ const H = { class: "move" }, T = {
162
162
  ]);
163
163
  };
164
164
  }
165
- }), te = /* @__PURE__ */ q(Z, [["__scopeId", "data-v-b6a6a4fd"]]);
165
+ }), te = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-b6a6a4fd"]]);
166
166
  export {
167
167
  te as default
168
168
  };
@@ -0,0 +1,4 @@
1
+ import { e } from "./index-DctQGQQO.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { f } from "./index-DctQGQQO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./index-CB8nLJ4W.js";
1
+ import { _ as e } from "./index-DctQGQQO.js";
2
2
  const r = {};
3
3
  function o(c, t) {
4
4
  return " hello 你好 ";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, resolveComponent as f, openBlock as m, createBlock as v, withCtx as u, createVNode as t } from "vue";
2
- import { b as c } from "./index-CB8nLJ4W.js";
2
+ import { b as c } from "./index-DctQGQQO.js";
3
3
  const s = /* @__PURE__ */ i({
4
4
  __name: "Input-删除",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, resolveComponent as o, openBlock as n, createBlock as l, withCtx as i, createElementBlock as u, Fragment as d, renderList as r, createVNode as k, createTextVNode as x, toDisplayString as D, createCommentVNode as w } from "vue";
2
- import { b as U } from "./index-CB8nLJ4W.js";
2
+ import { b as U } from "./index-DctQGQQO.js";
3
3
  const L = /* @__PURE__ */ _({
4
4
  __name: "Label-删除",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as r } from "./index-CB8nLJ4W.js";
1
+ import { _ as r } from "./index-DctQGQQO.js";
2
2
  const c = {};
3
3
  function e(n, t) {
4
4
  return "我是登录页";
@@ -0,0 +1,4 @@
1
+ import { s } from "./index-DctQGQQO.js";
2
+ export {
3
+ s as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { n as f } from "./index-DctQGQQO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { a as f } from "./index-DctQGQQO.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { T as et } from "./index-CB8nLJ4W.js";
1
+ import { v as et } from "./index-DctQGQQO.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
@@ -48,13 +48,13 @@ var st = 2 * 60 * 1e3, ut = class {
48
48
  return this._worker.withSyncedResources(e);
49
49
  }).then((i) => n);
50
50
  }
51
- }, J;
51
+ }, T;
52
52
  (function(e) {
53
53
  function n(i) {
54
54
  return typeof i == "string";
55
55
  }
56
56
  e.is = n;
57
- })(J || (J = {}));
57
+ })(T || (T = {}));
58
58
  var O;
59
59
  (function(e) {
60
60
  function n(i) {
@@ -741,15 +741,15 @@ var Ne;
741
741
  }
742
742
  e.is = i;
743
743
  })(Ne || (Ne = {}));
744
- var T;
744
+ var G;
745
745
  (function(e) {
746
746
  e.Type = 1, e.Parameter = 2;
747
747
  function n(i) {
748
748
  return i === 1 || i === 2;
749
749
  }
750
750
  e.is = n;
751
- })(T || (T = {}));
752
- var G;
751
+ })(G || (G = {}));
752
+ var J;
753
753
  (function(e) {
754
754
  function n(r) {
755
755
  return { value: r };
@@ -760,7 +760,7 @@ var G;
760
760
  return a.objectLiteral(t) && (t.tooltip === void 0 || a.string(t.tooltip) || P.is(t.tooltip)) && (t.location === void 0 || C.is(t.location)) && (t.command === void 0 || I.is(t.command));
761
761
  }
762
762
  e.is = i;
763
- })(G || (G = {}));
763
+ })(J || (J = {}));
764
764
  var Oe;
765
765
  (function(e) {
766
766
  function n(r, t, o) {
@@ -770,7 +770,7 @@ var Oe;
770
770
  e.create = n;
771
771
  function i(r) {
772
772
  const t = r;
773
- return a.objectLiteral(t) && w.is(t.position) && (a.string(t.label) || a.typedArray(t.label, G.is)) && (t.kind === void 0 || T.is(t.kind)) && t.textEdits === void 0 || a.typedArray(t.textEdits, E.is) && (t.tooltip === void 0 || a.string(t.tooltip) || P.is(t.tooltip)) && (t.paddingLeft === void 0 || a.boolean(t.paddingLeft)) && (t.paddingRight === void 0 || a.boolean(t.paddingRight));
773
+ return a.objectLiteral(t) && w.is(t.position) && (a.string(t.label) || a.typedArray(t.label, J.is)) && (t.kind === void 0 || G.is(t.kind)) && t.textEdits === void 0 || a.typedArray(t.textEdits, E.is) && (t.tooltip === void 0 || a.string(t.tooltip) || P.is(t.tooltip)) && (t.paddingLeft === void 0 || a.boolean(t.paddingLeft)) && (t.paddingRight === void 0 || a.boolean(t.paddingRight));
774
774
  }
775
775
  e.is = i;
776
776
  })(Oe || (Oe = {}));
@@ -1231,11 +1231,11 @@ var xt = class {
1231
1231
  const r = e.uri;
1232
1232
  return this._worker(r).then((t) => t.findDefinition(r.toString(), k(n))).then((t) => {
1233
1233
  if (t)
1234
- return [Te(t)];
1234
+ return [Ge(t)];
1235
1235
  });
1236
1236
  }
1237
1237
  };
1238
- function Te(e) {
1238
+ function Ge(e) {
1239
1239
  return {
1240
1240
  uri: d.Uri.parse(e.uri),
1241
1241
  range: m(e.range)
@@ -1249,7 +1249,7 @@ var It = class {
1249
1249
  const t = e.uri;
1250
1250
  return this._worker(t).then((o) => o.findReferences(t.toString(), k(n))).then((o) => {
1251
1251
  if (o)
1252
- return o.map(Te);
1252
+ return o.map(Ge);
1253
1253
  });
1254
1254
  }
1255
1255
  }, Et = class {
@@ -1289,11 +1289,11 @@ var At = class {
1289
1289
  const i = e.uri;
1290
1290
  return this._worker(i).then((r) => r.findDocumentSymbols(i.toString())).then((r) => {
1291
1291
  if (r)
1292
- return r.map((t) => Rt(t) ? Ge(t) : {
1292
+ return r.map((t) => Rt(t) ? Je(t) : {
1293
1293
  name: t.name,
1294
1294
  detail: "",
1295
1295
  containerName: t.containerName,
1296
- kind: Je(t.kind),
1296
+ kind: Te(t.kind),
1297
1297
  range: m(t.location.range),
1298
1298
  selectionRange: m(t.location.range),
1299
1299
  tags: []
@@ -1304,18 +1304,18 @@ var At = class {
1304
1304
  function Rt(e) {
1305
1305
  return "children" in e;
1306
1306
  }
1307
- function Ge(e) {
1307
+ function Je(e) {
1308
1308
  return {
1309
1309
  name: e.name,
1310
1310
  detail: e.detail ?? "",
1311
- kind: Je(e.kind),
1311
+ kind: Te(e.kind),
1312
1312
  range: m(e.range),
1313
1313
  selectionRange: m(e.selectionRange),
1314
1314
  tags: e.tags ?? [],
1315
- children: (e.children ?? []).map((n) => Ge(n))
1315
+ children: (e.children ?? []).map((n) => Je(n))
1316
1316
  };
1317
1317
  }
1318
- function Je(e) {
1318
+ function Te(e) {
1319
1319
  let n = d.languages.SymbolKind;
1320
1320
  switch (e) {
1321
1321
  case p.File:
@@ -1,4 +1,4 @@
1
- import { Y as r, W as t, X as o, g as m } from "./index-CB8nLJ4W.js";
1
+ import { z as r, x as t, y as o, g as m } from "./index-DctQGQQO.js";
2
2
  export {
3
3
  r as default,
4
4
  t as generateFormCode,