form-imagining 0.0.68 → 0.0.70
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.
- package/dist/{App-7611e99c.js → App-21476174.js} +5 -5
- package/dist/Code-013832f6.js +5 -0
- package/dist/Col-1c86c216.js +5 -0
- package/dist/Collapse-38e174fe.js +5 -0
- package/dist/{Demo-8fa0112c.js → Demo-6a716bd2.js} +1 -1
- package/dist/FIGenerateForm-10de6d11.js +10 -0
- package/dist/Form-77d78ef8.js +5 -0
- package/dist/{FormGridCopy-29cc6640.js → FormGridCopy-f53e1e97.js} +12 -12
- package/dist/GenerateForm-397e5bd9.js +5 -0
- package/dist/GenerateReport-5bdefdfc.js +5 -0
- package/dist/Grid-6cd7b52d.js +5 -0
- package/dist/{HelloWorld-95e3adc0.js → HelloWorld-7d6b80b5.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-bb3d85b5.js → 244-e03d5cb3.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-735c815b.js → 244-aeb5080f.js} +1 -1
- package/dist/{Login-fd41213a.js → Login-fed0a5f6.js} +1 -1
- package/dist/ReportModule-eb01c69f.js +5 -0
- package/dist/SqlModule-dc2338d3.js +5 -0
- package/dist/Table-39d4b6d7.js +5 -0
- package/dist/TableBtnModal-2650e756.js +5 -0
- package/dist/cTable-c8ffe64f.js +5 -0
- package/dist/childForm-499664df.js +5 -0
- package/dist/{cssMode-e626a963.js → cssMode-7541bcab.js} +1 -1
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +26 -27
- package/dist/{formTest-6aee5397.js → formTest-44d9cf4d.js} +1 -1
- package/dist/{freemarker2-d1db5f1a.js → freemarker2-dea35e61.js} +1 -1
- package/dist/{handlebars-0cc339e6.js → handlebars-7b3d0bc0.js} +1 -1
- package/dist/{html-77890b36.js → html-f460b2ac.js} +1 -1
- package/dist/{htmlMode-8c1668f3.js → htmlMode-5ff5207f.js} +1 -1
- package/dist/{index-f08327a9.js → index-7efdd541.js} +1 -1
- package/dist/{index-04bd07ad.js → index-f7438a2a.js} +458 -470
- package/dist/{javascript-004a4557.js → javascript-20dd7352.js} +2 -2
- package/dist/{jsonMode-5e9c6988.js → jsonMode-1662ba7a.js} +1 -1
- package/dist/{liquid-ae527bc7.js → liquid-5be85fe3.js} +1 -1
- package/dist/{mdx-26ccf84e.js → mdx-9f47fcb6.js} +1 -1
- package/dist/{python-29770a7f.js → python-7a2f921b.js} +1 -1
- package/dist/{razor-8a559656.js → razor-c458f88b.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-8a1a5c24.js → tableSelectDemo-48c89db5.js} +1 -1
- package/dist/{tableSelectDemo2-a5427dd9.js → tableSelectDemo2-44626dec.js} +1 -1
- package/dist/{tsMode-d3d0a1c1.js → tsMode-74e3cd96.js} +1 -1
- package/dist/{typescript-1bb25db5.js → typescript-65ec8c9f.js} +1 -1
- package/dist/{xml-f0ee97b0.js → xml-9c3f70bb.js} +1 -1
- package/dist/{yaml-8545c533.js → yaml-a5be55bd.js} +1 -1
- package/package.json +1 -1
- package/dist/Code-8dd84bc0.js +0 -5
- package/dist/Col-041f58e6.js +0 -5
- package/dist/Collapse-50bdaf19.js +0 -5
- package/dist/FIGenerateForm-4a676a2c.js +0 -100
- package/dist/Form-8c63b22a.js +0 -5
- package/dist/GenerateForm-0142a244.js +0 -5
- package/dist/GenerateReport-e19afdbe.js +0 -5
- package/dist/Grid-4cd94596.js +0 -5
- package/dist/ReportModule-54ccad7e.js +0 -5
- package/dist/SqlModule-00d00074.js +0 -5
- package/dist/Table-16dab224.js +0 -5
- package/dist/TableBtnModal-b9b95a23.js +0 -5
- package/dist/cTable-80b5877a.js +0 -5
- package/dist/childForm-ede9797e.js +0 -5
|
@@ -1,17 +1,17 @@
|
|
|
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
|
|
2
|
-
import { z as
|
|
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 m } from "vue";
|
|
2
|
+
import { z as _, F as f } from "./index-f7438a2a.js";
|
|
3
3
|
const h = /* @__PURE__ */ o({
|
|
4
4
|
__name: "App",
|
|
5
|
-
setup(
|
|
5
|
+
setup(i) {
|
|
6
6
|
return r(() => {
|
|
7
7
|
}), (l, s) => {
|
|
8
8
|
const e = t("a-config-provider");
|
|
9
9
|
return n(), a(e, {
|
|
10
|
-
locale: c(
|
|
10
|
+
locale: c(_),
|
|
11
11
|
theme: { token: { fontSize: 13, borderRadius: 6, colorPrimary: "#1890ff" } }
|
|
12
12
|
}, {
|
|
13
13
|
default: p(() => [
|
|
14
|
-
|
|
14
|
+
m(f)
|
|
15
15
|
]),
|
|
16
16
|
_: 1
|
|
17
17
|
}, 8, ["locale"]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, onBeforeUpdate, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import { u as useFormStore, g as generateReportHtml, p as paginations, d as dataSource, i as initTable, b as defHttp } from "./index-
|
|
2
|
+
import { u as useFormStore, g as generateReportHtml, p as paginations, d as dataSource, i as initTable, b as defHttp } from "./index-f7438a2a.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "Demo",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
const
|
|
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 { u as j, D as q, V as A, q as K, C as P, r as D, s as S, M as R, _ } from "./index-f7438a2a.js";
|
|
3
|
+
const H = { class: "move" }, Q = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "widget-view-drag"
|
|
6
6
|
}, T = ["onMousedown"], U = {
|
|
@@ -9,7 +9,7 @@ const q = { class: "move" }, Q = {
|
|
|
9
9
|
}, X = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "item-action"
|
|
12
|
-
}, Y = /* @__PURE__ */
|
|
12
|
+
}, Y = /* @__PURE__ */ z({
|
|
13
13
|
__name: "FormGridCopy",
|
|
14
14
|
props: {
|
|
15
15
|
list: {
|
|
@@ -31,8 +31,8 @@ const q = { class: "move" }, Q = {
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["childConfig", "index"],
|
|
33
33
|
setup(e, { emit: N }) {
|
|
34
|
-
const O =
|
|
35
|
-
|
|
34
|
+
const O = j(), a = e, i = J("-1");
|
|
35
|
+
L(
|
|
36
36
|
() => a.activeIndex,
|
|
37
37
|
(t, n) => {
|
|
38
38
|
i.value = t;
|
|
@@ -52,7 +52,7 @@ const q = { class: "move" }, Q = {
|
|
|
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 =
|
|
55
|
+
d > -1 && (n.key = S(), n.id = S(), a.data.columns.splice(d + 1, 0, n));
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
function V(t) {
|
|
@@ -79,9 +79,9 @@ const q = { class: "move" }, Q = {
|
|
|
79
79
|
return (t, n) => {
|
|
80
80
|
const d = h("a-col"), v = h("a-row"), G = h("a-form");
|
|
81
81
|
return o(), u("div", null, [
|
|
82
|
-
|
|
82
|
+
W("div", H, [
|
|
83
83
|
e.activeIndex == e.index ? (o(), u("div", Q, [
|
|
84
|
-
r(f(
|
|
84
|
+
r(f(q), { style: { padding: "6px" } })
|
|
85
85
|
])) : x("", !0)
|
|
86
86
|
]),
|
|
87
87
|
r(G, {
|
|
@@ -124,7 +124,7 @@ const q = { class: "move" }, Q = {
|
|
|
124
124
|
class: b(["widget-view", { active: i.value == e.index + "-" + c + "-" + y }]),
|
|
125
125
|
onMousedown: (B) => p(s, e.index + "-" + c + "-" + y, B)
|
|
126
126
|
}, [
|
|
127
|
-
r(
|
|
127
|
+
r(K, {
|
|
128
128
|
data: s,
|
|
129
129
|
list: l.list,
|
|
130
130
|
activeIndex: i.value,
|
|
@@ -139,7 +139,7 @@ const q = { class: "move" }, Q = {
|
|
|
139
139
|
style: { padding: "3px 5px" },
|
|
140
140
|
onClick: (s) => M(l)
|
|
141
141
|
}, null, 8, ["onClick"]),
|
|
142
|
-
e.data.columns.length !== 1 ? (o(), w(f(
|
|
142
|
+
e.data.columns.length !== 1 ? (o(), w(f(D), {
|
|
143
143
|
key: 0,
|
|
144
144
|
onClick: (s) => V(l)
|
|
145
145
|
}, null, 8, ["onClick"])) : x("", !0)
|
|
@@ -148,7 +148,7 @@ const q = { class: "move" }, Q = {
|
|
|
148
148
|
_: 2
|
|
149
149
|
}, 1032, ["span", "class", "offset", "onMousedown"]))), 256)),
|
|
150
150
|
e.activeIndex === e.index ? (o(), u("div", X, [
|
|
151
|
-
r(f(
|
|
151
|
+
r(f(D), {
|
|
152
152
|
style: { padding: "3px 5px", color: "#fff" },
|
|
153
153
|
onClick: n[0] || (n[0] = (l) => E())
|
|
154
154
|
})
|
|
@@ -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 { u as c } from "./index-
|
|
2
|
+
import { u as c } from "./index-f7438a2a.js";
|
|
3
3
|
const x = /* @__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 { u as U } from "./index-
|
|
2
|
+
import { u as U } from "./index-f7438a2a.js";
|
|
3
3
|
const L = /* @__PURE__ */ _({
|
|
4
4
|
__name: "Label-删除",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import {
|
|
4
|
+
import { A as Ne } from "./index-f7438a2a.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
package/dist/form-imagining.js
CHANGED