form-imagining 0.0.89-15 → 0.0.89-15-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 (54) hide show
  1. package/dist/App-C3Uy5GGX.js +23 -0
  2. package/dist/Col-CFAOYaPY.js +4 -0
  3. package/dist/Collapse-Cd9vkMm5.js +4 -0
  4. package/dist/{Demo-Bq-yyjkd.js → Demo-C3M9xb8Y.js} +1 -1
  5. package/dist/FView-CEQzEinE.js +4 -0
  6. package/dist/FX-BT7gEYG5.js +4 -0
  7. package/dist/{FormGridCopy-Diib6Fhm.js → FormGridCopy-Cb9bUMDJ.js} +14 -14
  8. package/dist/GenerateForm-CKY_Okz_.js +4 -0
  9. package/dist/GenerateReport-D41MnTaO.js +4 -0
  10. package/dist/{HelloWorld-8rLIpdBe.js → HelloWorld-hNPV6fdX.js} +1 -1
  11. package/dist/Input-/345/210/240/351/231/{244-BIqUJQKg.js → 244-bCUz1fna.js} +1 -1
  12. package/dist/Label-/345/210/240/351/231/{244-BWt9Rr_k.js → 244-C0Tr0tAy.js} +1 -1
  13. package/dist/{Login-DpTDMuIy.js → Login-4MvrLeCo.js} +1 -1
  14. package/dist/RView-DMQU0h1L.js +4 -0
  15. package/dist/SqlModule-x_-qd3A9.js +4 -0
  16. package/dist/TableBtnModal-CG7i39zR.js +4 -0
  17. package/dist/childForm-2EFl2STJ.js +4 -0
  18. package/dist/{cssMode-OPOhPGv0.js → cssMode-Cg8CelWk.js} +1 -1
  19. package/dist/form-imagining.js +1 -1
  20. package/dist/form-imagining.umd.cjs +212 -219
  21. package/dist/{formTest-CiYgpIOv.js → formTest-C4htITWB.js} +3 -3
  22. package/dist/{freemarker2-Cw0-X5v_.js → freemarker2-ers4hwoX.js} +1 -1
  23. package/dist/{handlebars-Cjpzra8E.js → handlebars-C_DHPU-v.js} +1 -1
  24. package/dist/{html-BMSMW-wW.js → html-nZPlx_5I.js} +1 -1
  25. package/dist/{htmlMode-BjtcxhPW.js → htmlMode-B5ToWqUB.js} +1 -1
  26. package/dist/{index-CaoVTbrB.js → index-BDEJHxSv.js} +1 -1
  27. package/dist/{index-D0i94XF9.js → index-CMLMfL9o.js} +14637 -17749
  28. package/dist/{index-DESm7pV8.js → index-HQANcGoR.js} +1 -1
  29. package/dist/{javascript-BPB3PjsK.js → javascript-CTZ1nvBK.js} +1 -1
  30. package/dist/{jsonMode-RoemFq03.js → jsonMode-yeSuCBtG.js} +1 -1
  31. package/dist/{liquid-CLdZK8ke.js → liquid-CZ5kJnLo.js} +1 -1
  32. package/dist/{mdx-DUMQNTfV.js → mdx-CUKm2PZK.js} +1 -1
  33. package/dist/{python-HesVoxmg.js → python-DZ-ysazS.js} +1 -1
  34. package/dist/{razor-BZJm7-64.js → razor-xLYLLAbs.js} +1 -1
  35. package/dist/style.css +1 -1
  36. package/dist/{tableSelectDemo-WSDliVnD.js → tableSelectDemo-B1KfmlLv.js} +1 -1
  37. package/dist/{tableSelectDemo2-BtcBD20O.js → tableSelectDemo2-Z67o2euy.js} +1 -1
  38. package/dist/{testIndex-C1NC-Lbo.js → testIndex-1k8x-b_1.js} +3 -3
  39. package/dist/{tsMode-DhiNLwM_.js → tsMode-CdWK9Kih.js} +1 -1
  40. package/dist/{typescript-DC7FP6PA.js → typescript--Lf23Kjy.js} +1 -1
  41. package/dist/{xml-DyMjYNc1.js → xml-CX0CBYPM.js} +1 -1
  42. package/dist/{yaml-BwprsFng.js → yaml-G8H38eMT.js} +1 -1
  43. package/package.json +1 -1
  44. package/dist/App-Bs8hnnhq.js +0 -23
  45. package/dist/Col-Cmtv5BcS.js +0 -4
  46. package/dist/Collapse-NxU2fhvy.js +0 -4
  47. package/dist/FView-gJz3gLM0.js +0 -4
  48. package/dist/FX-CREoogBp.js +0 -4
  49. package/dist/GenerateForm-DG1D7TZJ.js +0 -4
  50. package/dist/GenerateReport-CLks_quQ.js +0 -4
  51. package/dist/RView-Dciv7PQw.js +0 -4
  52. package/dist/SqlModule-DPaRCR-v.js +0 -4
  53. package/dist/TableBtnModal-B2kX5slX.js +0 -4
  54. package/dist/childForm-BesuHtnL.js +0 -4
@@ -0,0 +1,23 @@
1
+ import { defineComponent as o, onMounted as r, resolveComponent as t, openBlock as n, createBlock as a, unref as c, withCtx as p, createVNode as l } from "vue";
2
+ import { u as s, l as _, R as f } from "./index-CMLMfL9o.js";
3
+ const g = /* @__PURE__ */ o({
4
+ __name: "App",
5
+ setup(i) {
6
+ return s(), r(() => {
7
+ }), (m, u) => {
8
+ const e = t("a-config-provider");
9
+ return n(), a(e, {
10
+ locale: c(_),
11
+ theme: { token: { fontSize: 13, borderRadius: 5, colorPrimary: "#1890ff" } }
12
+ }, {
13
+ default: p(() => [
14
+ l(f)
15
+ ]),
16
+ _: 1
17
+ }, 8, ["locale"]);
18
+ };
19
+ }
20
+ });
21
+ export {
22
+ g as default
23
+ };
@@ -0,0 +1,4 @@
1
+ import { j as f } from "./index-CMLMfL9o.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { k as f } from "./index-CMLMfL9o.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-D0i94XF9.js";
2
+ import { b as useFormStore, g as generateReportHtml, d as defHttp } from "./index-CMLMfL9o.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "Demo",
5
5
  props: {
@@ -0,0 +1,4 @@
1
+ import { i as f } from "./index-CMLMfL9o.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { m } from "./index-CMLMfL9o.js";
2
+ export {
3
+ m as default
4
+ };
@@ -1,5 +1,5 @@
1
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-D0i94XF9.js";
2
+ import { b as j, D as A, V as K, F as P, C as R, o as D, p as S, M as q, _ as H } from "./index-CMLMfL9o.js";
3
3
  const Q = { class: "move" }, T = {
4
4
  key: 0,
5
5
  class: "widget-view-drag"
@@ -45,23 +45,23 @@ const Q = { class: "move" }, T = {
45
45
  function $() {
46
46
  i.value = "-1", console.log("开始拖拽");
47
47
  }
48
- function M(t, n) {
48
+ function F(t, n) {
49
49
  t.to.className == "widget-col-list" ? i.value = a.index + "-" + n + "-" + t.newIndex : i.value = t.newIndex, m("index", i.value);
50
50
  }
51
- function V(t) {
51
+ function M(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
55
  d > -1 && (n.key = S(), n.id = S(), a.data.columns.splice(d + 1, 0, n));
56
56
  }
57
57
  }
58
- function E(t) {
58
+ function V(t) {
59
59
  let n = a.data.columns.findIndex((d) => d.key == t.key);
60
60
  n > -1 && a.data.columns.splice(n, 1);
61
61
  }
62
- function F() {
62
+ function E() {
63
63
  if (a.data.columns.length > 0)
64
- R.confirm({
64
+ q.confirm({
65
65
  title: "确定要删除该栅格布局吗?",
66
66
  content: "如果该布局存在表单,将会一并删除",
67
67
  onOk() {
@@ -81,7 +81,7 @@ const Q = { class: "move" }, T = {
81
81
  return o(), u("div", null, [
82
82
  W("div", Q, [
83
83
  e.activeIndex == e.index ? (o(), u("div", T, [
84
- r(f(q), { style: { padding: "6px" } })
84
+ r(f(A), { style: { padding: "6px" } })
85
85
  ])) : x("", !0)
86
86
  ]),
87
87
  r(B, {
@@ -103,7 +103,7 @@ const Q = { class: "move" }, T = {
103
103
  onMousedown: (s) => p(l, "col-" + e.index + "-" + c, s)
104
104
  }, {
105
105
  default: g(() => [
106
- r(f(A), {
106
+ r(f(K), {
107
107
  class: "widget-col-list",
108
108
  style: { "min-height": "50px" },
109
109
  "ghost-class": "ghost",
@@ -112,7 +112,7 @@ const Q = { class: "move" }, T = {
112
112
  "chosen-class": "chosenClass2",
113
113
  "drag-class": "dragClass1",
114
114
  onStart: $,
115
- onEnd: (s) => M(s, c),
115
+ onEnd: (s) => F(s, c),
116
116
  group: "itxst",
117
117
  sort: !1,
118
118
  animation: "300",
@@ -124,7 +124,7 @@ const Q = { 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(K, {
127
+ r(P, {
128
128
  data: s,
129
129
  list: l.list,
130
130
  activeIndex: i.value,
@@ -135,13 +135,13 @@ const Q = { 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(P), {
138
+ r(f(R), {
139
139
  style: { padding: "3px 5px" },
140
- onClick: (s) => V(l)
140
+ onClick: (s) => M(l)
141
141
  }, null, 8, ["onClick"]),
142
142
  e.data.columns.length !== 1 ? (o(), w(f(D), {
143
143
  key: 0,
144
- onClick: (s) => E(l)
144
+ onClick: (s) => V(l)
145
145
  }, null, 8, ["onClick"])) : x("", !0)
146
146
  ])) : x("", !0)
147
147
  ]),
@@ -150,7 +150,7 @@ const Q = { class: "move" }, T = {
150
150
  e.activeIndex === e.index ? (o(), u("div", Y, [
151
151
  r(f(D), {
152
152
  style: { padding: "3px 5px", color: "#fff" },
153
- onClick: n[0] || (n[0] = (l) => F())
153
+ onClick: n[0] || (n[0] = (l) => E())
154
154
  })
155
155
  ])) : x("", !0)
156
156
  ]),
@@ -0,0 +1,4 @@
1
+ import { e } from "./index-CMLMfL9o.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { f } from "./index-CMLMfL9o.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./index-D0i94XF9.js";
1
+ import { _ as e } from "./index-CMLMfL9o.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-D0i94XF9.js";
2
+ import { b as c } from "./index-CMLMfL9o.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-D0i94XF9.js";
2
+ import { b as U } from "./index-CMLMfL9o.js";
3
3
  const L = /* @__PURE__ */ _({
4
4
  __name: "Label-删除",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as r } from "./index-D0i94XF9.js";
1
+ import { _ as r } from "./index-CMLMfL9o.js";
2
2
  const c = {};
3
3
  function e(n, t) {
4
4
  return "我是登录页";
@@ -0,0 +1,4 @@
1
+ import { s } from "./index-CMLMfL9o.js";
2
+ export {
3
+ s as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { q as f } from "./index-CMLMfL9o.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { n as f } from "./index-CMLMfL9o.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { a as f } from "./index-CMLMfL9o.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { A as et } from "./index-D0i94XF9.js";
1
+ import { A as et } from "./index-CMLMfL9o.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { R as s, Q as t, E as o, G as n, g as r, I as l, z as d, K as f, L as m, H as i, y as I, O as g, N as u, J as p, P as F } from "./index-D0i94XF9.js";
1
+ import { S as s, Q as t, E as o, G as n, g as r, I as l, z as d, K as f, L as m, H as i, y as I, O as g, N as u, J as p, P as F } from "./index-CMLMfL9o.js";
2
2
  export {
3
3
  s as default,
4
4
  t as eventBus,