@ea-lab/reactive-json 1.0.0-alpha.5 → 1.0.0-alpha.6
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/component/element/form/ColorField.js +21 -0
- package/dist/component/element/form/DateField.js +21 -0
- package/dist/component/element/form/DateTimeField.js +21 -0
- package/dist/component/element/form/EmailField.js +21 -0
- package/dist/component/element/form/FileField.js +21 -0
- package/dist/component/element/form/HiddenField.js +21 -0
- package/dist/component/element/form/Input.js +59 -0
- package/dist/component/element/form/MonthField.js +21 -0
- package/dist/component/element/form/NumberField.js +21 -0
- package/dist/component/element/form/PasswordField.js +21 -0
- package/dist/component/element/form/RangeField.js +21 -0
- package/dist/component/element/form/SearchField.js +21 -0
- package/dist/component/element/form/TelField.js +21 -0
- package/dist/component/element/form/TextField.js +21 -0
- package/dist/component/element/form/TimeField.js +21 -0
- package/dist/component/element/form/UrlField.js +21 -0
- package/dist/component/element/form/WeekField.js +21 -0
- package/dist/component/element/form/index.js +36 -0
- package/dist/component/element/html/Html.js +40 -28
- package/dist/component/element/index.js +72 -36
- package/dist/component/index.js +113 -79
- package/dist/engine/utility/reactJsxHelpers.js +6 -5
- package/dist/index-2EvkwDZS.js +40 -0
- package/dist/main.js +145 -111
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as i } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "color"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as ColorField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as i } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "date"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as DateField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Input as p } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ i(
|
|
6
|
+
p,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "datetime-local"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as DateTimeField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Input as p } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ i(
|
|
6
|
+
p,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "email"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as EmailField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Input as p } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ i(
|
|
6
|
+
p,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "file"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as FileField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Input as p } from "./Input.js";
|
|
3
|
+
const d = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ i(
|
|
6
|
+
p,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "hidden"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
d as HiddenField
|
|
21
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as l, jsxs as h, Fragment as P } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as v, useRef as j, useMemo as F } from "react";
|
|
3
|
+
import { ActionDependant as R } from "../../../engine/Actions.js";
|
|
4
|
+
import { useEvaluatedAttributes as i, evaluateTemplateValue as A } from "../../../engine/TemplateSystem.js";
|
|
5
|
+
import { GlobalDataContext as W } from "../../../engine/GlobalDataContext.js";
|
|
6
|
+
import { TemplateContext as H } from "../../../engine/TemplateContext.js";
|
|
7
|
+
import { propsDataLocationToPathAndValue as M } from "../../../engine/utility/formElementsCommon.js";
|
|
8
|
+
import { View as w } from "../../../engine/View.js";
|
|
9
|
+
const J = ({ props: t, datafield: x, path: r, currentData: o }) => {
|
|
10
|
+
const a = v(W), n = v(H), u = j(null), s = i(t.attributes), T = i(t.inputAttributes ?? []), g = i(t.labelAttributes ?? []), { formData: C, formDataPath: y } = M({
|
|
11
|
+
currentPath: r,
|
|
12
|
+
datafield: x,
|
|
13
|
+
dataLocation: t.dataLocation,
|
|
14
|
+
defaultValue: t.defaultFieldValue,
|
|
15
|
+
globalDataContext: a,
|
|
16
|
+
templateContext: n
|
|
17
|
+
}), E = (I) => {
|
|
18
|
+
a.updateData(I.currentTarget.value, y);
|
|
19
|
+
}, L = A({
|
|
20
|
+
valueToEvaluate: t.placeholder,
|
|
21
|
+
globalDataContext: a,
|
|
22
|
+
templateContext: n
|
|
23
|
+
}), V = A({
|
|
24
|
+
valueToEvaluate: t.inputType,
|
|
25
|
+
globalDataContext: a,
|
|
26
|
+
templateContext: n
|
|
27
|
+
}), c = !!t.label, m = t.forceWrapper, b = m === !0 || m !== !1 && c, e = {
|
|
28
|
+
onChange: E,
|
|
29
|
+
placeholder: L,
|
|
30
|
+
type: V ?? "text",
|
|
31
|
+
value: C ?? "",
|
|
32
|
+
...T
|
|
33
|
+
};
|
|
34
|
+
b || Object.assign(e, s);
|
|
35
|
+
const d = F(() => e.id ? e.id : `input-${Math.random().toString(36).substring(2, 9)}`, [e.id]);
|
|
36
|
+
e.id = d;
|
|
37
|
+
const D = {
|
|
38
|
+
htmlFor: d,
|
|
39
|
+
...g
|
|
40
|
+
}, f = /* @__PURE__ */ l("input", { ref: u, ...e }), p = c && /* @__PURE__ */ l("label", { ...D, children: /* @__PURE__ */ l(
|
|
41
|
+
w,
|
|
42
|
+
{
|
|
43
|
+
currentData: (o == null ? void 0 : o.label) ?? void 0,
|
|
44
|
+
datafield: "label",
|
|
45
|
+
path: r + ".label",
|
|
46
|
+
props: t.label
|
|
47
|
+
}
|
|
48
|
+
) });
|
|
49
|
+
return /* @__PURE__ */ l(R, { ...t, attributesHolderRef: u, children: b ? /* @__PURE__ */ h("div", { ...s, children: [
|
|
50
|
+
p,
|
|
51
|
+
f
|
|
52
|
+
] }) : /* @__PURE__ */ h(P, { children: [
|
|
53
|
+
p,
|
|
54
|
+
f
|
|
55
|
+
] }) });
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
J as Input
|
|
59
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as i } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "month"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as MonthField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as u } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
u,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "number"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as NumberField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as s } from "./Input.js";
|
|
3
|
+
const o = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
s,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "password"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
o as PasswordField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as i } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "range"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as RangeField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as i } from "./Input.js";
|
|
3
|
+
const u = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "search"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
u as SearchField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as i } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "tel"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as TelField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as i } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "text"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as TextField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Input as p } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ i(
|
|
6
|
+
p,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "time"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as TimeField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as i } from "./Input.js";
|
|
3
|
+
const e = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
i,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "url"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
e as UrlField
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Input as e } from "./Input.js";
|
|
3
|
+
const s = (t) => {
|
|
4
|
+
var r;
|
|
5
|
+
return /* @__PURE__ */ p(
|
|
6
|
+
e,
|
|
7
|
+
{
|
|
8
|
+
...t,
|
|
9
|
+
props: {
|
|
10
|
+
...t.props,
|
|
11
|
+
inputAttributes: {
|
|
12
|
+
...(r = t.props) == null ? void 0 : r.inputAttributes,
|
|
13
|
+
type: "week"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
s as WeekField
|
|
21
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Input as o } from "./Input.js";
|
|
2
|
+
import { ColorField as i } from "./ColorField.js";
|
|
3
|
+
import { DateField as m } from "./DateField.js";
|
|
4
|
+
import { DateTimeField as p } from "./DateTimeField.js";
|
|
5
|
+
import { EmailField as f } from "./EmailField.js";
|
|
6
|
+
import { FileField as a } from "./FileField.js";
|
|
7
|
+
import { HiddenField as T } from "./HiddenField.js";
|
|
8
|
+
import { MonthField as s } from "./MonthField.js";
|
|
9
|
+
import { NumberField as D } from "./NumberField.js";
|
|
10
|
+
import { PasswordField as c } from "./PasswordField.js";
|
|
11
|
+
import { RangeField as k } from "./RangeField.js";
|
|
12
|
+
import { SearchField as C } from "./SearchField.js";
|
|
13
|
+
import { TelField as H } from "./TelField.js";
|
|
14
|
+
import { TextField as M } from "./TextField.js";
|
|
15
|
+
import { TimeField as P } from "./TimeField.js";
|
|
16
|
+
import { UrlField as S } from "./UrlField.js";
|
|
17
|
+
import { WeekField as W } from "./WeekField.js";
|
|
18
|
+
export {
|
|
19
|
+
i as ColorField,
|
|
20
|
+
m as DateField,
|
|
21
|
+
p as DateTimeField,
|
|
22
|
+
f as EmailField,
|
|
23
|
+
a as FileField,
|
|
24
|
+
T as HiddenField,
|
|
25
|
+
o as Input,
|
|
26
|
+
s as MonthField,
|
|
27
|
+
D as NumberField,
|
|
28
|
+
c as PasswordField,
|
|
29
|
+
k as RangeField,
|
|
30
|
+
C as SearchField,
|
|
31
|
+
H as TelField,
|
|
32
|
+
M as TextField,
|
|
33
|
+
P as TimeField,
|
|
34
|
+
S as UrlField,
|
|
35
|
+
W as WeekField
|
|
36
|
+
};
|
|
@@ -1,29 +1,41 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { ActionDependant as
|
|
4
|
-
import { GlobalDataContext as
|
|
5
|
-
import { normalizeAttributesForReactJsx as
|
|
6
|
-
import { TemplateContext as
|
|
7
|
-
import { evaluateAttributes as j } from "../../../engine/TemplateSystem.js";
|
|
8
|
-
import { View as
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
for (const e of Object.keys(
|
|
1
|
+
import { jsx as n, jsxs as g, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as v, useRef as k } from "react";
|
|
3
|
+
import { ActionDependant as T } from "../../../engine/Actions.js";
|
|
4
|
+
import { GlobalDataContext as y } from "../../../engine/GlobalDataContext.js";
|
|
5
|
+
import { normalizeAttributesForReactJsx as x } from "../../../engine/utility/reactJsxHelpers.js";
|
|
6
|
+
import { TemplateContext as A } from "../../../engine/TemplateContext.js";
|
|
7
|
+
import { evaluateAttributes as C, evaluateTemplateValue as j } from "../../../engine/TemplateSystem.js";
|
|
8
|
+
import { View as u } from "../../../engine/View.js";
|
|
9
|
+
const z = ({ props: t, currentData: s, datafield: O, path: h }) => {
|
|
10
|
+
const f = v(y), m = v(A), c = k(null), d = `${t.tag}`, o = t.extra ?? {}, i = x(t.attributes), r = x(s.attributes);
|
|
11
|
+
for (const e of Object.keys(r)) {
|
|
12
12
|
if (e.charAt(0) === "+") {
|
|
13
|
-
const
|
|
14
|
-
|
|
13
|
+
const l = e.substring(1);
|
|
14
|
+
i[l] = (i[l] ?? "").length > 0 ? (
|
|
15
15
|
// Append using a space.
|
|
16
|
-
" " +
|
|
16
|
+
" " + r[e]
|
|
17
17
|
) : (
|
|
18
18
|
// Set directly.
|
|
19
|
-
|
|
19
|
+
r[e]
|
|
20
20
|
);
|
|
21
21
|
continue;
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
i[e] = r[e];
|
|
24
24
|
}
|
|
25
|
-
const a =
|
|
26
|
-
|
|
25
|
+
const a = C({ attrs: i, globalDataContext: f, templateContext: m });
|
|
26
|
+
if (t.tag === "option" && t.content && a.value === void 0) {
|
|
27
|
+
if (typeof t.content != "string")
|
|
28
|
+
return null;
|
|
29
|
+
const e = j({
|
|
30
|
+
valueToEvaluate: t.content,
|
|
31
|
+
globalDataContext: f,
|
|
32
|
+
templateContext: m
|
|
33
|
+
});
|
|
34
|
+
if (typeof e != "string")
|
|
35
|
+
return null;
|
|
36
|
+
a.value = e;
|
|
37
|
+
}
|
|
38
|
+
return (t.tag === "input" || t.tag === "textarea" || t.tag === "select") && (a.value === void 0 && (a.value = ""), t.tag === "input" && (a.type === "checkbox" || a.type === "radio") && a.checked === void 0 && (a.checked = !1)), /* @__PURE__ */ n(T, { ...t, attributesHolderRef: c, children: ((e) => e && [
|
|
27
39
|
"area",
|
|
28
40
|
"base",
|
|
29
41
|
"br",
|
|
@@ -38,22 +50,22 @@ const N = ({ props: t, currentData: m, datafield: p, path: x }) => {
|
|
|
38
50
|
"source",
|
|
39
51
|
"track",
|
|
40
52
|
"wbr"
|
|
41
|
-
].indexOf(e) !== -1)(t.tag) ? /* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
Object.keys(
|
|
44
|
-
] }) : /* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
-
|
|
53
|
+
].indexOf(e) !== -1)(t.tag) ? /* @__PURE__ */ g(b, { children: [
|
|
54
|
+
/* @__PURE__ */ n(d, { ref: c, ...a }),
|
|
55
|
+
Object.keys(o).length ? /* @__PURE__ */ n(u, { props: o }) : ""
|
|
56
|
+
] }) : /* @__PURE__ */ g(b, { children: [
|
|
57
|
+
/* @__PURE__ */ n(d, { ref: c, ...a, children: t.content && /* @__PURE__ */ n(
|
|
58
|
+
u,
|
|
47
59
|
{
|
|
48
|
-
currentData:
|
|
60
|
+
currentData: s.content ?? void 0,
|
|
49
61
|
datafield: "content",
|
|
50
|
-
path:
|
|
62
|
+
path: h + ".content",
|
|
51
63
|
props: t.content
|
|
52
64
|
}
|
|
53
65
|
) }),
|
|
54
|
-
Object.keys(
|
|
66
|
+
Object.keys(o).length ? /* @__PURE__ */ n(u, { props: o }) : ""
|
|
55
67
|
] }) });
|
|
56
68
|
};
|
|
57
69
|
export {
|
|
58
|
-
|
|
70
|
+
z as Html
|
|
59
71
|
};
|
|
@@ -1,42 +1,78 @@
|
|
|
1
1
|
import { d as o } from "../../index-CACLSxWi.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
2
|
+
import { f as e } from "../../index-2EvkwDZS.js";
|
|
3
|
+
import { h as r } from "../../index-BNvY8PkY.js";
|
|
4
|
+
import { s as t } from "../../index-Ya6_R5yr.js";
|
|
5
|
+
import { VariablesDebug as n } from "./debug/VariablesDebug/VariablesDebug.js";
|
|
6
|
+
import { Input as s } from "./form/Input.js";
|
|
7
|
+
import { ColorField as c } from "./form/ColorField.js";
|
|
8
|
+
import { DateField as C } from "./form/DateField.js";
|
|
9
|
+
import { DateTimeField as T } from "./form/DateTimeField.js";
|
|
10
|
+
import { EmailField as g } from "./form/EmailField.js";
|
|
11
|
+
import { FileField as S } from "./form/FileField.js";
|
|
12
|
+
import { HiddenField as R } from "./form/HiddenField.js";
|
|
13
|
+
import { MonthField as k } from "./form/MonthField.js";
|
|
14
|
+
import { NumberField as w } from "./form/NumberField.js";
|
|
15
|
+
import { PasswordField as H } from "./form/PasswordField.js";
|
|
16
|
+
import { RangeField as J } from "./form/RangeField.js";
|
|
17
|
+
import { SearchField as N } from "./form/SearchField.js";
|
|
18
|
+
import { TelField as W } from "./form/TelField.js";
|
|
19
|
+
import { TextField as A } from "./form/TextField.js";
|
|
20
|
+
import { TimeField as U } from "./form/TimeField.js";
|
|
21
|
+
import { UrlField as q } from "./form/UrlField.js";
|
|
22
|
+
import { WeekField as G } from "./form/WeekField.js";
|
|
23
|
+
import { FolderSortableTree as O } from "./html/FolderSortableTree.js";
|
|
24
|
+
import { FormatNumeral as X } from "./html/FormatNumeral.js";
|
|
25
|
+
import { Html as Z } from "./html/Html.js";
|
|
26
|
+
import { LabelFromValue as $ } from "./html/LabelFromValue.js";
|
|
27
|
+
import { PreformattedMarkup as eo } from "./html/PreformattedMarkup.js";
|
|
28
|
+
import { SortableTreeItemCollapseButton as to } from "./html/SortableTreeItemCollapseButton.js";
|
|
29
|
+
import { Count as po } from "./special/Count.js";
|
|
30
|
+
import { DataFilter as lo } from "./special/DataFilter.js";
|
|
31
|
+
import { DelayedActions as xo, getReactionFunctionsToExecute as ao } from "./special/DelayedActions.js";
|
|
32
|
+
import { PageControls as so } from "./special/PageControls.js";
|
|
33
|
+
import { Phantom as co } from "./special/Phantom.js";
|
|
34
|
+
import { ReactiveJsonBasicComponentWrapper as Co } from "./special/ReactiveJsonBasicComponentWrapper.js";
|
|
35
|
+
import { ReactiveJsonSubroot as To } from "./special/ReactiveJsonSubroot.js";
|
|
36
|
+
import { Switch as go } from "./special/Switch.js";
|
|
37
|
+
const i = {
|
|
20
38
|
...o,
|
|
21
39
|
...e,
|
|
22
|
-
...r
|
|
40
|
+
...r,
|
|
41
|
+
...t
|
|
23
42
|
};
|
|
24
43
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
c as ColorField,
|
|
45
|
+
po as Count,
|
|
46
|
+
lo as DataFilter,
|
|
47
|
+
C as DateField,
|
|
48
|
+
T as DateTimeField,
|
|
49
|
+
xo as DelayedActions,
|
|
50
|
+
g as EmailField,
|
|
51
|
+
S as FileField,
|
|
52
|
+
O as FolderSortableTree,
|
|
53
|
+
X as FormatNumeral,
|
|
54
|
+
R as HiddenField,
|
|
55
|
+
Z as Html,
|
|
56
|
+
s as Input,
|
|
57
|
+
$ as LabelFromValue,
|
|
58
|
+
k as MonthField,
|
|
59
|
+
w as NumberField,
|
|
60
|
+
so as PageControls,
|
|
61
|
+
H as PasswordField,
|
|
62
|
+
co as Phantom,
|
|
63
|
+
eo as PreformattedMarkup,
|
|
64
|
+
J as RangeField,
|
|
65
|
+
Co as ReactiveJsonBasicComponentWrapper,
|
|
66
|
+
To as ReactiveJsonSubroot,
|
|
67
|
+
N as SearchField,
|
|
68
|
+
to as SortableTreeItemCollapseButton,
|
|
69
|
+
go as Switch,
|
|
70
|
+
W as TelField,
|
|
71
|
+
A as TextField,
|
|
72
|
+
U as TimeField,
|
|
73
|
+
q as UrlField,
|
|
74
|
+
n as VariablesDebug,
|
|
75
|
+
G as WeekField,
|
|
76
|
+
i as coreElementComponents,
|
|
77
|
+
ao as getReactionFunctionsToExecute
|
|
42
78
|
};
|
package/dist/component/index.js
CHANGED
|
@@ -1,87 +1,121 @@
|
|
|
1
1
|
import { HashChangeListener as r } from "./action/HashChangeListener.js";
|
|
2
2
|
import { Hide as m } from "./action/Hide.js";
|
|
3
3
|
import { MessageListener as a } from "./action/MessageListener.js";
|
|
4
|
-
import { ReactOnEvent as
|
|
5
|
-
import { Redirect as
|
|
6
|
-
import { SetAttributeValue as
|
|
7
|
-
import { ToggleAttributeValue as
|
|
8
|
-
import { UnsetAttribute as
|
|
9
|
-
import { UnsetAttributeValue as
|
|
10
|
-
import { VisuallyHide as
|
|
11
|
-
import { coreDataMappingComponents as
|
|
12
|
-
import { coreDataProcessorComponents as
|
|
13
|
-
import { coreElementComponents as
|
|
14
|
-
import { usePagination as
|
|
15
|
-
import { coreReactionComponents as
|
|
16
|
-
import { simpleMapping as
|
|
17
|
-
import { VariablesDebug as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
4
|
+
import { ReactOnEvent as f } from "./action/ReactOnEvent.js";
|
|
5
|
+
import { Redirect as l } from "./action/Redirect.js";
|
|
6
|
+
import { SetAttributeValue as s } from "./action/SetAttributeValue.js";
|
|
7
|
+
import { ToggleAttributeValue as u } from "./action/ToggleAttributeValue.js";
|
|
8
|
+
import { UnsetAttribute as c } from "./action/UnsetAttribute.js";
|
|
9
|
+
import { UnsetAttributeValue as D } from "./action/UnsetAttributeValue.js";
|
|
10
|
+
import { VisuallyHide as C } from "./action/VisuallyHide.js";
|
|
11
|
+
import { coreDataMappingComponents as T } from "./dataMapping/index.js";
|
|
12
|
+
import { coreDataProcessorComponents as v } from "./dataProcessor/index.js";
|
|
13
|
+
import { coreElementComponents as M } from "./element/index.js";
|
|
14
|
+
import { usePagination as S } from "./hook/usePagination.js";
|
|
15
|
+
import { coreReactionComponents as A } from "./reaction/index.js";
|
|
16
|
+
import { simpleMapping as w } from "./dataMapping/simpleMapping.js";
|
|
17
|
+
import { VariablesDebug as N } from "./element/debug/VariablesDebug/VariablesDebug.js";
|
|
18
|
+
import { Input as k } from "./element/form/Input.js";
|
|
19
|
+
import { ColorField as B } from "./element/form/ColorField.js";
|
|
20
|
+
import { DateField as J } from "./element/form/DateField.js";
|
|
21
|
+
import { DateTimeField as q } from "./element/form/DateTimeField.js";
|
|
22
|
+
import { EmailField as j } from "./element/form/EmailField.js";
|
|
23
|
+
import { FileField as G } from "./element/form/FileField.js";
|
|
24
|
+
import { HiddenField as Q } from "./element/form/HiddenField.js";
|
|
25
|
+
import { MonthField as Y } from "./element/form/MonthField.js";
|
|
26
|
+
import { NumberField as _ } from "./element/form/NumberField.js";
|
|
27
|
+
import { PasswordField as ee } from "./element/form/PasswordField.js";
|
|
28
|
+
import { RangeField as re } from "./element/form/RangeField.js";
|
|
29
|
+
import { SearchField as me } from "./element/form/SearchField.js";
|
|
30
|
+
import { TelField as ae } from "./element/form/TelField.js";
|
|
31
|
+
import { TextField as fe } from "./element/form/TextField.js";
|
|
32
|
+
import { TimeField as le } from "./element/form/TimeField.js";
|
|
33
|
+
import { UrlField as se } from "./element/form/UrlField.js";
|
|
34
|
+
import { WeekField as ue } from "./element/form/WeekField.js";
|
|
35
|
+
import { FolderSortableTree as ce } from "./element/html/FolderSortableTree.js";
|
|
36
|
+
import { FormatNumeral as De } from "./element/html/FormatNumeral.js";
|
|
37
|
+
import { Html as Ce } from "./element/html/Html.js";
|
|
38
|
+
import { LabelFromValue as Te } from "./element/html/LabelFromValue.js";
|
|
39
|
+
import { PreformattedMarkup as ve } from "./element/html/PreformattedMarkup.js";
|
|
40
|
+
import { SortableTreeItemCollapseButton as Me } from "./element/html/SortableTreeItemCollapseButton.js";
|
|
41
|
+
import { Count as Se } from "./element/special/Count.js";
|
|
42
|
+
import { DataFilter as Ae } from "./element/special/DataFilter.js";
|
|
43
|
+
import { DelayedActions as we, getReactionFunctionsToExecute as Le } from "./element/special/DelayedActions.js";
|
|
44
|
+
import { PageControls as Ue } from "./element/special/PageControls.js";
|
|
45
|
+
import { Phantom as ye } from "./element/special/Phantom.js";
|
|
46
|
+
import { ReactiveJsonBasicComponentWrapper as Ie } from "./element/special/ReactiveJsonBasicComponentWrapper.js";
|
|
47
|
+
import { ReactiveJsonSubroot as We } from "./element/special/ReactiveJsonSubroot.js";
|
|
48
|
+
import { Switch as Oe } from "./element/special/Switch.js";
|
|
49
|
+
import { addData as ze } from "./reaction/addData.js";
|
|
50
|
+
import { fetchData as Ke } from "./reaction/fetchData.js";
|
|
51
|
+
import { e as Xe } from "../httpRequestCommon-DUo2Oxgl.js";
|
|
52
|
+
import { moveData as Ze } from "./reaction/moveData.js";
|
|
53
|
+
import { postMessage as $e } from "./reaction/postMessage.js";
|
|
54
|
+
import { redirectNow as oo } from "./reaction/redirectNow.js";
|
|
55
|
+
import { removeData as to } from "./reaction/removeData.js";
|
|
56
|
+
import { setClipboardData as po } from "./reaction/setClipboardData.js";
|
|
57
|
+
import { setData as xo } from "./reaction/setData.js";
|
|
58
|
+
import { submitData as io } from "./reaction/submitData.js";
|
|
59
|
+
import { triggerEvent as no } from "./reaction/triggerEvent.js";
|
|
43
60
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
J as
|
|
48
|
-
|
|
61
|
+
B as ColorField,
|
|
62
|
+
Se as Count,
|
|
63
|
+
Ae as DataFilter,
|
|
64
|
+
J as DateField,
|
|
65
|
+
q as DateTimeField,
|
|
66
|
+
we as DelayedActions,
|
|
67
|
+
j as EmailField,
|
|
68
|
+
G as FileField,
|
|
69
|
+
ce as FolderSortableTree,
|
|
70
|
+
De as FormatNumeral,
|
|
49
71
|
r as HashChangeListener,
|
|
72
|
+
Q as HiddenField,
|
|
50
73
|
m as Hide,
|
|
51
|
-
|
|
52
|
-
|
|
74
|
+
Ce as Html,
|
|
75
|
+
k as Input,
|
|
76
|
+
Te as LabelFromValue,
|
|
53
77
|
a as MessageListener,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
Y as MonthField,
|
|
79
|
+
_ as NumberField,
|
|
80
|
+
Ue as PageControls,
|
|
81
|
+
ee as PasswordField,
|
|
82
|
+
ye as Phantom,
|
|
83
|
+
ve as PreformattedMarkup,
|
|
84
|
+
re as RangeField,
|
|
85
|
+
f as ReactOnEvent,
|
|
86
|
+
Ie as ReactiveJsonBasicComponentWrapper,
|
|
87
|
+
We as ReactiveJsonSubroot,
|
|
88
|
+
l as Redirect,
|
|
89
|
+
me as SearchField,
|
|
90
|
+
s as SetAttributeValue,
|
|
91
|
+
Me as SortableTreeItemCollapseButton,
|
|
92
|
+
Oe as Switch,
|
|
93
|
+
ae as TelField,
|
|
94
|
+
fe as TextField,
|
|
95
|
+
le as TimeField,
|
|
96
|
+
u as ToggleAttributeValue,
|
|
97
|
+
c as UnsetAttribute,
|
|
98
|
+
D as UnsetAttributeValue,
|
|
99
|
+
se as UrlField,
|
|
100
|
+
N as VariablesDebug,
|
|
101
|
+
C as VisuallyHide,
|
|
102
|
+
ue as WeekField,
|
|
103
|
+
ze as addData,
|
|
104
|
+
T as coreDataMappingComponents,
|
|
105
|
+
v as coreDataProcessorComponents,
|
|
106
|
+
M as coreElementComponents,
|
|
107
|
+
A as coreReactionComponents,
|
|
108
|
+
Xe as executeHttpRequest,
|
|
109
|
+
Ke as fetchData,
|
|
110
|
+
Le as getReactionFunctionsToExecute,
|
|
111
|
+
Ze as moveData,
|
|
112
|
+
$e as postMessage,
|
|
113
|
+
oo as redirectNow,
|
|
114
|
+
to as removeData,
|
|
115
|
+
po as setClipboardData,
|
|
116
|
+
xo as setData,
|
|
117
|
+
w as simpleMapping,
|
|
118
|
+
io as submitData,
|
|
119
|
+
no as triggerEvent,
|
|
120
|
+
S as usePagination
|
|
87
121
|
};
|
|
@@ -2,13 +2,14 @@ const a = (t) => {
|
|
|
2
2
|
if (typeof t != "object" || Object.keys(t).length === 0)
|
|
3
3
|
return {};
|
|
4
4
|
const r = {
|
|
5
|
-
class: "className"
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
class: "className",
|
|
6
|
+
for: "htmlFor"
|
|
7
|
+
}, o = {};
|
|
8
|
+
for (const [e, n] of Object.entries(t)) {
|
|
8
9
|
const s = r.hasOwnProperty(e) ? r[e] : e;
|
|
9
|
-
|
|
10
|
+
o[s] = n;
|
|
10
11
|
}
|
|
11
|
-
return
|
|
12
|
+
return o;
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
15
|
a as normalizeAttributesForReactJsx
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Input as o } from "./component/element/form/Input.js";
|
|
2
|
+
import { ColorField as r } from "./component/element/form/ColorField.js";
|
|
3
|
+
import { DateField as e } from "./component/element/form/DateField.js";
|
|
4
|
+
import { DateTimeField as m } from "./component/element/form/DateTimeField.js";
|
|
5
|
+
import { EmailField as i } from "./component/element/form/EmailField.js";
|
|
6
|
+
import { FileField as t } from "./component/element/form/FileField.js";
|
|
7
|
+
import { HiddenField as l } from "./component/element/form/HiddenField.js";
|
|
8
|
+
import { MonthField as p } from "./component/element/form/MonthField.js";
|
|
9
|
+
import { NumberField as d } from "./component/element/form/NumberField.js";
|
|
10
|
+
import { PasswordField as f } from "./component/element/form/PasswordField.js";
|
|
11
|
+
import { RangeField as F } from "./component/element/form/RangeField.js";
|
|
12
|
+
import { SearchField as n } from "./component/element/form/SearchField.js";
|
|
13
|
+
import { TelField as a } from "./component/element/form/TelField.js";
|
|
14
|
+
import { TextField as s } from "./component/element/form/TextField.js";
|
|
15
|
+
import { TimeField as u } from "./component/element/form/TimeField.js";
|
|
16
|
+
import { UrlField as T } from "./component/element/form/UrlField.js";
|
|
17
|
+
import { WeekField as b } from "./component/element/form/WeekField.js";
|
|
18
|
+
const E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
|
+
__proto__: null,
|
|
20
|
+
ColorField: r,
|
|
21
|
+
DateField: e,
|
|
22
|
+
DateTimeField: m,
|
|
23
|
+
EmailField: i,
|
|
24
|
+
FileField: t,
|
|
25
|
+
HiddenField: l,
|
|
26
|
+
Input: o,
|
|
27
|
+
MonthField: p,
|
|
28
|
+
NumberField: d,
|
|
29
|
+
PasswordField: f,
|
|
30
|
+
RangeField: F,
|
|
31
|
+
SearchField: n,
|
|
32
|
+
TelField: a,
|
|
33
|
+
TextField: s,
|
|
34
|
+
TimeField: u,
|
|
35
|
+
UrlField: T,
|
|
36
|
+
WeekField: b
|
|
37
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
38
|
+
export {
|
|
39
|
+
E as f
|
|
40
|
+
};
|
package/dist/main.js
CHANGED
|
@@ -1,134 +1,168 @@
|
|
|
1
|
-
import { HashChangeListener as
|
|
1
|
+
import { HashChangeListener as r } from "./component/action/HashChangeListener.js";
|
|
2
2
|
import { Hide as a } from "./component/action/Hide.js";
|
|
3
3
|
import { MessageListener as m } from "./component/action/MessageListener.js";
|
|
4
|
-
import { ReactOnEvent as
|
|
5
|
-
import { Redirect as
|
|
4
|
+
import { ReactOnEvent as f } from "./component/action/ReactOnEvent.js";
|
|
5
|
+
import { Redirect as l } from "./component/action/Redirect.js";
|
|
6
6
|
import { SetAttributeValue as s } from "./component/action/SetAttributeValue.js";
|
|
7
|
-
import { ToggleAttributeValue as
|
|
8
|
-
import { UnsetAttribute as
|
|
9
|
-
import { UnsetAttributeValue as
|
|
10
|
-
import { VisuallyHide as
|
|
11
|
-
import { coreDataMappingComponents as
|
|
12
|
-
import { coreDataProcessorComponents as
|
|
13
|
-
import { coreElementComponents as
|
|
14
|
-
import { usePagination as
|
|
15
|
-
import { coreReactionComponents as
|
|
16
|
-
import { ActionDependant as
|
|
17
|
-
import { mergeComponentCollections as
|
|
18
|
-
import { EventDispatcherContext as
|
|
19
|
-
import { EventDispatcherProvider as
|
|
20
|
-
import { GlobalDataContext as
|
|
21
|
-
import { GlobalDataContextProvider as
|
|
7
|
+
import { ToggleAttributeValue as u } from "./component/action/ToggleAttributeValue.js";
|
|
8
|
+
import { UnsetAttribute as F } from "./component/action/UnsetAttribute.js";
|
|
9
|
+
import { UnsetAttributeValue as g } from "./component/action/UnsetAttributeValue.js";
|
|
10
|
+
import { VisuallyHide as v } from "./component/action/VisuallyHide.js";
|
|
11
|
+
import { coreDataMappingComponents as T } from "./component/dataMapping/index.js";
|
|
12
|
+
import { coreDataProcessorComponents as V } from "./component/dataProcessor/index.js";
|
|
13
|
+
import { coreElementComponents as P } from "./component/element/index.js";
|
|
14
|
+
import { usePagination as E } from "./component/hook/usePagination.js";
|
|
15
|
+
import { coreReactionComponents as L } from "./component/reaction/index.js";
|
|
16
|
+
import { ActionDependant as H, isValid as y } from "./engine/Actions.js";
|
|
17
|
+
import { mergeComponentCollections as B } from "./engine/ComponentCollector.js";
|
|
18
|
+
import { EventDispatcherContext as N } from "./engine/EventDispatcherContext.js";
|
|
19
|
+
import { EventDispatcherProvider as k, addEventListener as z, removeEventListener as G } from "./engine/EventDispatcherProvider.js";
|
|
20
|
+
import { GlobalDataContext as O } from "./engine/GlobalDataContext.js";
|
|
21
|
+
import { GlobalDataContextProvider as j } from "./engine/GlobalDataContextProvider.js";
|
|
22
22
|
import { PaginationContext as K } from "./engine/PaginationContext.js";
|
|
23
23
|
import { ReactiveJsonRoot as X } from "./engine/ReactiveJsonRoot.js";
|
|
24
24
|
import { TemplateContext as Z } from "./engine/TemplateContext.js";
|
|
25
|
-
import { dataLocationToPath as $, evaluateAttributes as ee, evaluateTemplateValue as oe, evaluateTemplateValueCollection as
|
|
25
|
+
import { dataLocationToPath as $, evaluateAttributes as ee, evaluateTemplateValue as oe, evaluateTemplateValueCollection as re, isTemplateValue as te, useEvaluatedAttributes as ae } from "./engine/TemplateSystem.js";
|
|
26
26
|
import { alterData as me } from "./engine/utility/alterData.js";
|
|
27
|
-
import { analyzeDataOverrideReferences as
|
|
28
|
-
import { applyDataMapping as
|
|
29
|
-
import { formatString as se, maybeFormatString as
|
|
30
|
-
import { propsDataLocationToPathAndValue as
|
|
31
|
-
import { parseRjBuild as
|
|
27
|
+
import { analyzeDataOverrideReferences as fe } from "./engine/utility/analyzeDataOverrideReferences.js";
|
|
28
|
+
import { applyDataMapping as le } from "./engine/utility/dataMappingSystem.js";
|
|
29
|
+
import { formatString as se, maybeFormatString as de } from "./engine/utility/formatString.js";
|
|
30
|
+
import { propsDataLocationToPathAndValue as ce } from "./engine/utility/formElementsCommon.js";
|
|
31
|
+
import { parseRjBuild as De } from "./engine/utility/parseRjBuild.js";
|
|
32
32
|
import { normalizeAttributesForReactJsx as be } from "./engine/utility/reactJsxHelpers.js";
|
|
33
|
-
import { stringToBoolean as
|
|
34
|
-
import { View as
|
|
35
|
-
import { simpleMapping as
|
|
36
|
-
import { VariablesDebug as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
33
|
+
import { stringToBoolean as Ce } from "./engine/utility/stringToBoolean.js";
|
|
34
|
+
import { View as Re } from "./engine/View.js";
|
|
35
|
+
import { simpleMapping as he } from "./component/dataMapping/simpleMapping.js";
|
|
36
|
+
import { VariablesDebug as Ae } from "./component/element/debug/VariablesDebug/VariablesDebug.js";
|
|
37
|
+
import { Input as Se } from "./component/element/form/Input.js";
|
|
38
|
+
import { ColorField as Me } from "./component/element/form/ColorField.js";
|
|
39
|
+
import { DateField as ye } from "./component/element/form/DateField.js";
|
|
40
|
+
import { DateTimeField as Be } from "./component/element/form/DateTimeField.js";
|
|
41
|
+
import { EmailField as Ne } from "./component/element/form/EmailField.js";
|
|
42
|
+
import { FileField as ke } from "./component/element/form/FileField.js";
|
|
43
|
+
import { HiddenField as Ge } from "./component/element/form/HiddenField.js";
|
|
44
|
+
import { MonthField as Oe } from "./component/element/form/MonthField.js";
|
|
45
|
+
import { NumberField as je } from "./component/element/form/NumberField.js";
|
|
46
|
+
import { PasswordField as Ke } from "./component/element/form/PasswordField.js";
|
|
47
|
+
import { RangeField as Xe } from "./component/element/form/RangeField.js";
|
|
48
|
+
import { SearchField as Ze } from "./component/element/form/SearchField.js";
|
|
49
|
+
import { TelField as $e } from "./component/element/form/TelField.js";
|
|
50
|
+
import { TextField as oo } from "./component/element/form/TextField.js";
|
|
51
|
+
import { TimeField as to } from "./component/element/form/TimeField.js";
|
|
52
|
+
import { UrlField as po } from "./component/element/form/UrlField.js";
|
|
53
|
+
import { WeekField as xo } from "./component/element/form/WeekField.js";
|
|
54
|
+
import { FolderSortableTree as io } from "./component/element/html/FolderSortableTree.js";
|
|
55
|
+
import { FormatNumeral as no } from "./component/element/html/FormatNumeral.js";
|
|
56
|
+
import { Html as uo } from "./component/element/html/Html.js";
|
|
57
|
+
import { LabelFromValue as Fo } from "./component/element/html/LabelFromValue.js";
|
|
58
|
+
import { PreformattedMarkup as go } from "./component/element/html/PreformattedMarkup.js";
|
|
59
|
+
import { SortableTreeItemCollapseButton as vo } from "./component/element/html/SortableTreeItemCollapseButton.js";
|
|
60
|
+
import { Count as To } from "./component/element/special/Count.js";
|
|
61
|
+
import { DataFilter as Vo } from "./component/element/special/DataFilter.js";
|
|
62
|
+
import { DelayedActions as Po, getReactionFunctionsToExecute as Ao } from "./component/element/special/DelayedActions.js";
|
|
63
|
+
import { PageControls as So } from "./component/element/special/PageControls.js";
|
|
64
|
+
import { Phantom as Mo } from "./component/element/special/Phantom.js";
|
|
65
|
+
import { ReactiveJsonBasicComponentWrapper as yo } from "./component/element/special/ReactiveJsonBasicComponentWrapper.js";
|
|
66
|
+
import { ReactiveJsonSubroot as Bo } from "./component/element/special/ReactiveJsonSubroot.js";
|
|
67
|
+
import { Switch as No } from "./component/element/special/Switch.js";
|
|
68
|
+
import { addData as ko } from "./component/reaction/addData.js";
|
|
69
|
+
import { fetchData as Go } from "./component/reaction/fetchData.js";
|
|
70
|
+
import { e as Oo } from "./httpRequestCommon-DUo2Oxgl.js";
|
|
71
|
+
import { moveData as jo } from "./component/reaction/moveData.js";
|
|
72
|
+
import { postMessage as Ko } from "./component/reaction/postMessage.js";
|
|
73
|
+
import { redirectNow as Xo } from "./component/reaction/redirectNow.js";
|
|
74
|
+
import { removeData as Zo } from "./component/reaction/removeData.js";
|
|
75
|
+
import { setClipboardData as $o } from "./component/reaction/setClipboardData.js";
|
|
76
|
+
import { setData as or } from "./component/reaction/setData.js";
|
|
77
|
+
import { submitData as tr } from "./component/reaction/submitData.js";
|
|
78
|
+
import { triggerEvent as pr } from "./component/reaction/triggerEvent.js";
|
|
62
79
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
80
|
+
H as ActionDependant,
|
|
81
|
+
Me as ColorField,
|
|
82
|
+
To as Count,
|
|
83
|
+
Vo as DataFilter,
|
|
84
|
+
ye as DateField,
|
|
85
|
+
Be as DateTimeField,
|
|
86
|
+
Po as DelayedActions,
|
|
87
|
+
Ne as EmailField,
|
|
88
|
+
N as EventDispatcherContext,
|
|
89
|
+
k as EventDispatcherProvider,
|
|
90
|
+
ke as FileField,
|
|
91
|
+
io as FolderSortableTree,
|
|
92
|
+
no as FormatNumeral,
|
|
93
|
+
O as GlobalDataContext,
|
|
94
|
+
j as GlobalDataContextProvider,
|
|
95
|
+
r as HashChangeListener,
|
|
96
|
+
Ge as HiddenField,
|
|
74
97
|
a as Hide,
|
|
75
|
-
|
|
76
|
-
|
|
98
|
+
uo as Html,
|
|
99
|
+
Se as Input,
|
|
100
|
+
Fo as LabelFromValue,
|
|
77
101
|
m as MessageListener,
|
|
78
|
-
|
|
102
|
+
Oe as MonthField,
|
|
103
|
+
je as NumberField,
|
|
104
|
+
So as PageControls,
|
|
79
105
|
K as PaginationContext,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
106
|
+
Ke as PasswordField,
|
|
107
|
+
Mo as Phantom,
|
|
108
|
+
go as PreformattedMarkup,
|
|
109
|
+
Xe as RangeField,
|
|
110
|
+
f as ReactOnEvent,
|
|
111
|
+
yo as ReactiveJsonBasicComponentWrapper,
|
|
84
112
|
X as ReactiveJsonRoot,
|
|
85
|
-
|
|
86
|
-
|
|
113
|
+
Bo as ReactiveJsonSubroot,
|
|
114
|
+
l as Redirect,
|
|
115
|
+
Ze as SearchField,
|
|
87
116
|
s as SetAttributeValue,
|
|
88
|
-
|
|
89
|
-
|
|
117
|
+
vo as SortableTreeItemCollapseButton,
|
|
118
|
+
No as Switch,
|
|
119
|
+
$e as TelField,
|
|
90
120
|
Z as TemplateContext,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
121
|
+
oo as TextField,
|
|
122
|
+
to as TimeField,
|
|
123
|
+
u as ToggleAttributeValue,
|
|
124
|
+
F as UnsetAttribute,
|
|
125
|
+
g as UnsetAttributeValue,
|
|
126
|
+
po as UrlField,
|
|
127
|
+
Ae as VariablesDebug,
|
|
128
|
+
Re as View,
|
|
129
|
+
v as VisuallyHide,
|
|
130
|
+
xo as WeekField,
|
|
131
|
+
ko as addData,
|
|
132
|
+
z as addEventListener,
|
|
99
133
|
me as alterData,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
134
|
+
fe as analyzeDataOverrideReferences,
|
|
135
|
+
le as applyDataMapping,
|
|
136
|
+
T as coreDataMappingComponents,
|
|
137
|
+
V as coreDataProcessorComponents,
|
|
138
|
+
P as coreElementComponents,
|
|
139
|
+
L as coreReactionComponents,
|
|
106
140
|
$ as dataLocationToPath,
|
|
107
141
|
ee as evaluateAttributes,
|
|
108
142
|
oe as evaluateTemplateValue,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
143
|
+
re as evaluateTemplateValueCollection,
|
|
144
|
+
Oo as executeHttpRequest,
|
|
145
|
+
Go as fetchData,
|
|
112
146
|
se as formatString,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
147
|
+
Ao as getReactionFunctionsToExecute,
|
|
148
|
+
te as isTemplateValue,
|
|
149
|
+
y as isValid,
|
|
150
|
+
de as maybeFormatString,
|
|
151
|
+
B as mergeComponentCollections,
|
|
152
|
+
jo as moveData,
|
|
119
153
|
be as normalizeAttributesForReactJsx,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
154
|
+
De as parseRjBuild,
|
|
155
|
+
Ko as postMessage,
|
|
156
|
+
ce as propsDataLocationToPathAndValue,
|
|
157
|
+
Xo as redirectNow,
|
|
158
|
+
Zo as removeData,
|
|
159
|
+
G as removeEventListener,
|
|
160
|
+
$o as setClipboardData,
|
|
161
|
+
or as setData,
|
|
162
|
+
he as simpleMapping,
|
|
163
|
+
Ce as stringToBoolean,
|
|
164
|
+
tr as submitData,
|
|
165
|
+
pr as triggerEvent,
|
|
132
166
|
ae as useEvaluatedAttributes,
|
|
133
|
-
|
|
167
|
+
E as usePagination
|
|
134
168
|
};
|