@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.
@@ -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 o, jsxs as d, Fragment as u } from "react/jsx-runtime";
2
- import { useContext as b, useRef as k } from "react";
3
- import { ActionDependant as A } from "../../../engine/Actions.js";
4
- import { GlobalDataContext as C } from "../../../engine/GlobalDataContext.js";
5
- import { normalizeAttributesForReactJsx as g } from "../../../engine/utility/reactJsxHelpers.js";
6
- import { TemplateContext as T } from "../../../engine/TemplateContext.js";
7
- import { evaluateAttributes as j } from "../../../engine/TemplateSystem.js";
8
- import { View as l } from "../../../engine/View.js";
9
- const N = ({ props: t, currentData: m, datafield: p, path: x }) => {
10
- const h = b(C), v = b(T), c = k(null), f = `${t.tag}`, n = t.extra ?? {}, r = g(t.attributes), i = g(m.attributes);
11
- for (const e of Object.keys(i)) {
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 s = e.substring(1);
14
- r[s] = (r[s] ?? "").length > 0 ? (
13
+ const l = e.substring(1);
14
+ i[l] = (i[l] ?? "").length > 0 ? (
15
15
  // Append using a space.
16
- " " + i[e]
16
+ " " + r[e]
17
17
  ) : (
18
18
  // Set directly.
19
- i[e]
19
+ r[e]
20
20
  );
21
21
  continue;
22
22
  }
23
- r[e] = i[e];
23
+ i[e] = r[e];
24
24
  }
25
- const a = j({ attrs: r, globalDataContext: h, templateContext: v });
26
- 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__ */ o(A, { ...t, attributesHolderRef: c, children: ((e) => e && [
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__ */ d(u, { children: [
42
- /* @__PURE__ */ o(f, { ref: c, ...a }),
43
- Object.keys(n).length ? /* @__PURE__ */ o(l, { props: n }) : ""
44
- ] }) : /* @__PURE__ */ d(u, { children: [
45
- /* @__PURE__ */ o(f, { ref: c, ...a, children: t.content && /* @__PURE__ */ o(
46
- l,
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: m.content ?? void 0,
60
+ currentData: s.content ?? void 0,
49
61
  datafield: "content",
50
- path: x + ".content",
62
+ path: h + ".content",
51
63
  props: t.content
52
64
  }
53
65
  ) }),
54
- Object.keys(n).length ? /* @__PURE__ */ o(l, { props: n }) : ""
66
+ Object.keys(o).length ? /* @__PURE__ */ n(u, { props: o }) : ""
55
67
  ] }) });
56
68
  };
57
69
  export {
58
- N as Html
70
+ z as Html
59
71
  };
@@ -1,42 +1,78 @@
1
1
  import { d as o } from "../../index-CACLSxWi.js";
2
- import { h as e } from "../../index-BNvY8PkY.js";
3
- import { s as r } from "../../index-Ya6_R5yr.js";
4
- import { VariablesDebug as s } from "./debug/VariablesDebug/VariablesDebug.js";
5
- import { FolderSortableTree as l } from "./html/FolderSortableTree.js";
6
- import { FormatNumeral as c } from "./html/FormatNumeral.js";
7
- import { Html as C } from "./html/Html.js";
8
- import { LabelFromValue as d } from "./html/LabelFromValue.js";
9
- import { PreformattedMarkup as g } from "./html/PreformattedMarkup.js";
10
- import { SortableTreeItemCollapseButton as S } from "./html/SortableTreeItemCollapseButton.js";
11
- import { Count as P } from "./special/Count.js";
12
- import { DataFilter as T } from "./special/DataFilter.js";
13
- import { DelayedActions as B, getReactionFunctionsToExecute as E } from "./special/DelayedActions.js";
14
- import { PageControls as V } from "./special/PageControls.js";
15
- import { Phantom as w } from "./special/Phantom.js";
16
- import { ReactiveJsonBasicComponentWrapper as A } from "./special/ReactiveJsonBasicComponentWrapper.js";
17
- import { ReactiveJsonSubroot as I } from "./special/ReactiveJsonSubroot.js";
18
- import { Switch as M } from "./special/Switch.js";
19
- const a = {
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
- P as Count,
26
- T as DataFilter,
27
- B as DelayedActions,
28
- l as FolderSortableTree,
29
- c as FormatNumeral,
30
- C as Html,
31
- d as LabelFromValue,
32
- V as PageControls,
33
- w as Phantom,
34
- g as PreformattedMarkup,
35
- A as ReactiveJsonBasicComponentWrapper,
36
- I as ReactiveJsonSubroot,
37
- S as SortableTreeItemCollapseButton,
38
- M as Switch,
39
- s as VariablesDebug,
40
- a as coreElementComponents,
41
- E as getReactionFunctionsToExecute
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
  };
@@ -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 x } from "./action/ReactOnEvent.js";
5
- import { Redirect as s } from "./action/Redirect.js";
6
- import { SetAttributeValue as l } from "./action/SetAttributeValue.js";
7
- import { ToggleAttributeValue as c } from "./action/ToggleAttributeValue.js";
8
- import { UnsetAttribute as b } from "./action/UnsetAttribute.js";
9
- import { UnsetAttributeValue as d } from "./action/UnsetAttributeValue.js";
10
- import { VisuallyHide as R } from "./action/VisuallyHide.js";
11
- import { coreDataMappingComponents as V } from "./dataMapping/index.js";
12
- import { coreDataProcessorComponents as A } from "./dataProcessor/index.js";
13
- import { coreElementComponents as H } from "./element/index.js";
14
- import { usePagination as P } from "./hook/usePagination.js";
15
- import { coreReactionComponents as E } from "./reaction/index.js";
16
- import { simpleMapping as L } from "./dataMapping/simpleMapping.js";
17
- import { VariablesDebug as y } from "./element/debug/VariablesDebug/VariablesDebug.js";
18
- import { FolderSortableTree as J } from "./element/html/FolderSortableTree.js";
19
- import { FormatNumeral as U } from "./element/html/FormatNumeral.js";
20
- import { Html as q } from "./element/html/Html.js";
21
- import { LabelFromValue as O } from "./element/html/LabelFromValue.js";
22
- import { PreformattedMarkup as j } from "./element/html/PreformattedMarkup.js";
23
- import { SortableTreeItemCollapseButton as G } from "./element/html/SortableTreeItemCollapseButton.js";
24
- import { Count as Q } from "./element/special/Count.js";
25
- import { DataFilter as Y } from "./element/special/DataFilter.js";
26
- import { DelayedActions as _, getReactionFunctionsToExecute as $ } from "./element/special/DelayedActions.js";
27
- import { PageControls as oe } from "./element/special/PageControls.js";
28
- import { Phantom as te } from "./element/special/Phantom.js";
29
- import { ReactiveJsonBasicComponentWrapper as pe } from "./element/special/ReactiveJsonBasicComponentWrapper.js";
30
- import { ReactiveJsonSubroot as fe } from "./element/special/ReactiveJsonSubroot.js";
31
- import { Switch as ne } from "./element/special/Switch.js";
32
- import { addData as ie } from "./reaction/addData.js";
33
- import { fetchData as ue } from "./reaction/fetchData.js";
34
- import { e as ge } from "../httpRequestCommon-DUo2Oxgl.js";
35
- import { moveData as De } from "./reaction/moveData.js";
36
- import { postMessage as Ce } from "./reaction/postMessage.js";
37
- import { redirectNow as ve } from "./reaction/redirectNow.js";
38
- import { removeData as he } from "./reaction/removeData.js";
39
- import { setClipboardData as Fe } from "./reaction/setClipboardData.js";
40
- import { setData as Me } from "./reaction/setData.js";
41
- import { submitData as Se } from "./reaction/submitData.js";
42
- import { triggerEvent as Te } from "./reaction/triggerEvent.js";
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
- Q as Count,
45
- Y as DataFilter,
46
- _ as DelayedActions,
47
- J as FolderSortableTree,
48
- U as FormatNumeral,
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
- q as Html,
52
- O as LabelFromValue,
74
+ Ce as Html,
75
+ k as Input,
76
+ Te as LabelFromValue,
53
77
  a as MessageListener,
54
- oe as PageControls,
55
- te as Phantom,
56
- j as PreformattedMarkup,
57
- x as ReactOnEvent,
58
- pe as ReactiveJsonBasicComponentWrapper,
59
- fe as ReactiveJsonSubroot,
60
- s as Redirect,
61
- l as SetAttributeValue,
62
- G as SortableTreeItemCollapseButton,
63
- ne as Switch,
64
- c as ToggleAttributeValue,
65
- b as UnsetAttribute,
66
- d as UnsetAttributeValue,
67
- y as VariablesDebug,
68
- R as VisuallyHide,
69
- ie as addData,
70
- V as coreDataMappingComponents,
71
- A as coreDataProcessorComponents,
72
- H as coreElementComponents,
73
- E as coreReactionComponents,
74
- ge as executeHttpRequest,
75
- ue as fetchData,
76
- $ as getReactionFunctionsToExecute,
77
- De as moveData,
78
- Ce as postMessage,
79
- ve as redirectNow,
80
- he as removeData,
81
- Fe as setClipboardData,
82
- Me as setData,
83
- L as simpleMapping,
84
- Se as submitData,
85
- Te as triggerEvent,
86
- P as usePagination
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
- }, n = {};
7
- for (const [e, o] of Object.entries(t)) {
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
- n[s] = o;
10
+ o[s] = n;
10
11
  }
11
- return n;
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 t } from "./component/action/HashChangeListener.js";
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 n } from "./component/action/ReactOnEvent.js";
5
- import { Redirect as i } from "./component/action/Redirect.js";
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 c } from "./component/action/ToggleAttributeValue.js";
8
- import { UnsetAttribute as D } from "./component/action/UnsetAttribute.js";
9
- import { UnsetAttributeValue as v } from "./component/action/UnsetAttributeValue.js";
10
- import { VisuallyHide as C } from "./component/action/VisuallyHide.js";
11
- import { coreDataMappingComponents as V } from "./component/dataMapping/index.js";
12
- import { coreDataProcessorComponents as A } from "./component/dataProcessor/index.js";
13
- import { coreElementComponents as h } from "./component/element/index.js";
14
- import { usePagination as F } from "./component/hook/usePagination.js";
15
- import { coreReactionComponents as S } from "./component/reaction/index.js";
16
- import { ActionDependant as y, isValid as H } from "./engine/Actions.js";
17
- import { mergeComponentCollections as J } from "./engine/ComponentCollector.js";
18
- import { EventDispatcherContext as z } from "./engine/EventDispatcherContext.js";
19
- import { EventDispatcherProvider as N, addEventListener as O, removeEventListener as U } from "./engine/EventDispatcherProvider.js";
20
- import { GlobalDataContext as k } from "./engine/GlobalDataContext.js";
21
- import { GlobalDataContextProvider as I } from "./engine/GlobalDataContextProvider.js";
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 te, isTemplateValue as re, useEvaluatedAttributes as ae } from "./engine/TemplateSystem.js";
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 ne } from "./engine/utility/analyzeDataOverrideReferences.js";
28
- import { applyDataMapping as ie } from "./engine/utility/dataMappingSystem.js";
29
- import { formatString as se, maybeFormatString as ue } from "./engine/utility/formatString.js";
30
- import { propsDataLocationToPathAndValue as de } from "./engine/utility/formElementsCommon.js";
31
- import { parseRjBuild as ge } from "./engine/utility/parseRjBuild.js";
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 Re } from "./engine/utility/stringToBoolean.js";
34
- import { View as Te } from "./engine/View.js";
35
- import { simpleMapping as Pe } from "./component/dataMapping/simpleMapping.js";
36
- import { VariablesDebug as Ee } from "./component/element/debug/VariablesDebug/VariablesDebug.js";
37
- import { FolderSortableTree as Le } from "./component/element/html/FolderSortableTree.js";
38
- import { FormatNumeral as Me } from "./component/element/html/FormatNumeral.js";
39
- import { Html as He } from "./component/element/html/Html.js";
40
- import { LabelFromValue as Je } from "./component/element/html/LabelFromValue.js";
41
- import { PreformattedMarkup as ze } from "./component/element/html/PreformattedMarkup.js";
42
- import { SortableTreeItemCollapseButton as Ne } from "./component/element/html/SortableTreeItemCollapseButton.js";
43
- import { Count as Ue } from "./component/element/special/Count.js";
44
- import { DataFilter as ke } from "./component/element/special/DataFilter.js";
45
- import { DelayedActions as Ie, getReactionFunctionsToExecute as We } from "./component/element/special/DelayedActions.js";
46
- import { PageControls as Qe } from "./component/element/special/PageControls.js";
47
- import { Phantom as Ye } from "./component/element/special/Phantom.js";
48
- import { ReactiveJsonBasicComponentWrapper as _e } from "./component/element/special/ReactiveJsonBasicComponentWrapper.js";
49
- import { ReactiveJsonSubroot as eo } from "./component/element/special/ReactiveJsonSubroot.js";
50
- import { Switch as to } from "./component/element/special/Switch.js";
51
- import { addData as ao } from "./component/reaction/addData.js";
52
- import { fetchData as mo } from "./component/reaction/fetchData.js";
53
- import { e as no } from "./httpRequestCommon-DUo2Oxgl.js";
54
- import { moveData as io } from "./component/reaction/moveData.js";
55
- import { postMessage as so } from "./component/reaction/postMessage.js";
56
- import { redirectNow as co } from "./component/reaction/redirectNow.js";
57
- import { removeData as go } from "./component/reaction/removeData.js";
58
- import { setClipboardData as bo } from "./component/reaction/setClipboardData.js";
59
- import { setData as Ro } from "./component/reaction/setData.js";
60
- import { submitData as To } from "./component/reaction/submitData.js";
61
- import { triggerEvent as Po } from "./component/reaction/triggerEvent.js";
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
- y as ActionDependant,
64
- Ue as Count,
65
- ke as DataFilter,
66
- Ie as DelayedActions,
67
- z as EventDispatcherContext,
68
- N as EventDispatcherProvider,
69
- Le as FolderSortableTree,
70
- Me as FormatNumeral,
71
- k as GlobalDataContext,
72
- I as GlobalDataContextProvider,
73
- t as HashChangeListener,
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
- He as Html,
76
- Je as LabelFromValue,
98
+ uo as Html,
99
+ Se as Input,
100
+ Fo as LabelFromValue,
77
101
  m as MessageListener,
78
- Qe as PageControls,
102
+ Oe as MonthField,
103
+ je as NumberField,
104
+ So as PageControls,
79
105
  K as PaginationContext,
80
- Ye as Phantom,
81
- ze as PreformattedMarkup,
82
- n as ReactOnEvent,
83
- _e as ReactiveJsonBasicComponentWrapper,
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
- eo as ReactiveJsonSubroot,
86
- i as Redirect,
113
+ Bo as ReactiveJsonSubroot,
114
+ l as Redirect,
115
+ Ze as SearchField,
87
116
  s as SetAttributeValue,
88
- Ne as SortableTreeItemCollapseButton,
89
- to as Switch,
117
+ vo as SortableTreeItemCollapseButton,
118
+ No as Switch,
119
+ $e as TelField,
90
120
  Z as TemplateContext,
91
- c as ToggleAttributeValue,
92
- D as UnsetAttribute,
93
- v as UnsetAttributeValue,
94
- Ee as VariablesDebug,
95
- Te as View,
96
- C as VisuallyHide,
97
- ao as addData,
98
- O as addEventListener,
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
- ne as analyzeDataOverrideReferences,
101
- ie as applyDataMapping,
102
- V as coreDataMappingComponents,
103
- A as coreDataProcessorComponents,
104
- h as coreElementComponents,
105
- S as coreReactionComponents,
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
- te as evaluateTemplateValueCollection,
110
- no as executeHttpRequest,
111
- mo as fetchData,
143
+ re as evaluateTemplateValueCollection,
144
+ Oo as executeHttpRequest,
145
+ Go as fetchData,
112
146
  se as formatString,
113
- We as getReactionFunctionsToExecute,
114
- re as isTemplateValue,
115
- H as isValid,
116
- ue as maybeFormatString,
117
- J as mergeComponentCollections,
118
- io as moveData,
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
- ge as parseRjBuild,
121
- so as postMessage,
122
- de as propsDataLocationToPathAndValue,
123
- co as redirectNow,
124
- go as removeData,
125
- U as removeEventListener,
126
- bo as setClipboardData,
127
- Ro as setData,
128
- Pe as simpleMapping,
129
- Re as stringToBoolean,
130
- To as submitData,
131
- Po as triggerEvent,
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
- F as usePagination
167
+ E as usePagination
134
168
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ea-lab/reactive-json",
3
3
  "private": false,
4
- "version": "1.0.0-alpha.5",
4
+ "version": "1.0.0-alpha.6",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",