@ea-lab/reactive-json 1.0.0-alpha.2 → 1.0.0-alpha.4
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/assets/VariablesDebug.css +4 -1
- package/dist/component/element/debug/VariablesDebug/VariablesDebug.js +15 -16
- package/dist/component/element/index.js +37 -31
- package/dist/component/element/special/ReactiveJsonBasicComponentWrapper.js +11 -24
- package/dist/component/element/special/ReactiveJsonSubroot.js +53 -12
- package/dist/component/element/special/index.js +6 -6
- package/dist/component/index.js +63 -62
- package/dist/coreComponentsPlugin.js +13 -6
- package/dist/engine/ReactiveJsonRoot.js +373 -18
- package/dist/engine/index.js +24 -22
- package/dist/engine/utility/index.js +15 -13
- package/dist/index-Ya6_R5yr.js +23 -0
- package/dist/main.js +92 -88
- package/package.json +1 -1
- package/dist/assets/reset.css +0 -4
- package/dist/index-CBEHeXej.js +0 -463
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
|
+
https://serp.co/tools/css-reset/
|
|
3
|
+
<link rel="stylesheet" href="https://css.serp.co/css-reset/normalize.css/">
|
|
4
|
+
*/html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}._debugRoot_1ny7q_1{position:fixed;bottom:12px;right:12px;display:flex;flex-direction:column;align-items:stretch;gap:8px;width:min(560px,96vw);max-height:70vh;overflow-y:auto;z-index:9998;pointer-events:none}._container_1ny7q_16{position:relative;bottom:auto;right:auto;background-color:#111827;color:#e5e7eb;padding:10px;border-radius:8px;box-shadow:0 2px 12px #0000004d;cursor:pointer;border:1px solid #374151;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;z-index:9999;width:100%;overflow:hidden;pointer-events:auto}._container_1ny7q_16._expanded_1ny7q_34{width:100%;max-height:64vh}._header_1ny7q_39{display:flex;align-items:center;justify-content:space-between}._actions_1ny7q_45{display:flex;gap:8px}._btn_1ny7q_50{background:transparent;color:#e5e7eb;border:1px solid #4b5563;border-radius:6px;padding:2px 8px}._btn_1ny7q_50._active_1ny7q_58{background:#1f2937}._path_1ny7q_62{color:#93c5fd}._value_1ny7q_66{color:#fbbf24}._copyBtn_1ny7q_70{transition:background-color .2s ease-in-out}._copyBtnSuccess_1ny7q_74{background-color:#10b932}._copyBtnError_1ny7q_78{background-color:#ef4444}._info_1ny7q_82{margin-top:8px}@media (max-width: 480px){._debugRoot_1ny7q_1{right:8px;left:8px;width:auto}}
|
|
@@ -12,12 +12,11 @@ import "../../../../index-NNBvIV0S.js";
|
|
|
12
12
|
import "../../../../jsonpath-B9kE9k9e.js";
|
|
13
13
|
import "../../../../js-yaml-Bw0KO4XO.js";
|
|
14
14
|
import "../../../../engine/ParsingDebugDisplay/ParsingDebugDisplay.js";
|
|
15
|
-
import { DebugMode as
|
|
15
|
+
import { DebugMode as c } from "./DebugMode.enum.js";
|
|
16
16
|
import R from "./ModeDisplay/DebugList/DebugList.js";
|
|
17
17
|
import D from "./ModeDisplay/DebugJson/DebugJson.js";
|
|
18
|
-
import '../../../../assets/reset.css';import '../../../../assets/VariablesDebug.css';/* empty css */
|
|
19
18
|
import { flattenObject as J } from "./utils.js";
|
|
20
|
-
const O = "_debugRoot_1ny7q_1", j = "_container_1ny7q_16", k = "_expanded_1ny7q_34", T = "_header_1ny7q_39", I = "_actions_1ny7q_45", P = "_btn_1ny7q_50", M = "_active_1ny7q_58", w = "_path_1ny7q_62", A = "_value_1ny7q_66", H = "_copyBtn_1ny7q_70", V = "_copyBtnSuccess_1ny7q_74", F = "_copyBtnError_1ny7q_78", W = "_info_1ny7q_82", n = {
|
|
19
|
+
import '../../../../assets/VariablesDebug.css';const O = "_debugRoot_1ny7q_1", j = "_container_1ny7q_16", k = "_expanded_1ny7q_34", T = "_header_1ny7q_39", I = "_actions_1ny7q_45", P = "_btn_1ny7q_50", M = "_active_1ny7q_58", w = "_path_1ny7q_62", A = "_value_1ny7q_66", H = "_copyBtn_1ny7q_70", V = "_copyBtnSuccess_1ny7q_74", F = "_copyBtnError_1ny7q_78", W = "_info_1ny7q_82", n = {
|
|
21
20
|
debugRoot: O,
|
|
22
21
|
container: j,
|
|
23
22
|
expanded: k,
|
|
@@ -31,8 +30,8 @@ const O = "_debugRoot_1ny7q_1", j = "_container_1ny7q_16", k = "_expanded_1ny7q_
|
|
|
31
30
|
copyBtnSuccess: V,
|
|
32
31
|
copyBtnError: F,
|
|
33
32
|
info: W
|
|
34
|
-
},
|
|
35
|
-
const [
|
|
33
|
+
}, dt = ({ props: v }) => {
|
|
34
|
+
const [r, u] = p(!1), [i, _] = p(c.LIST), o = B($), d = g(null), [y, S] = p(null), f = g(null);
|
|
36
35
|
q(() => {
|
|
37
36
|
if (typeof document > "u") return;
|
|
38
37
|
let t = document.getElementById("rj-debug-root");
|
|
@@ -42,7 +41,7 @@ const O = "_debugRoot_1ny7q_1", j = "_container_1ny7q_16", k = "_expanded_1ny7q_
|
|
|
42
41
|
const t = d.current;
|
|
43
42
|
try {
|
|
44
43
|
if (await navigator.clipboard.writeText(
|
|
45
|
-
i ===
|
|
44
|
+
i === c.JSON ? b : h.map((s) => `${s.path}: ${JSON.stringify(s.value)}`).join(`
|
|
46
45
|
`)
|
|
47
46
|
), !t) return;
|
|
48
47
|
t.classList.add(n.copyBtnSuccess), t.textContent = "Copied!", setTimeout(() => {
|
|
@@ -57,7 +56,7 @@ const O = "_debugRoot_1ny7q_1", j = "_container_1ny7q_16", k = "_expanded_1ny7q_
|
|
|
57
56
|
}, N = /* @__PURE__ */ e(L, { ...v, attributesHolderRef: f, children: /* @__PURE__ */ a(
|
|
58
57
|
"div",
|
|
59
58
|
{
|
|
60
|
-
className: `${n.container} ${
|
|
59
|
+
className: `${n.container} ${r ? n.expanded : ""}`,
|
|
61
60
|
onClick: () => u((t) => !t),
|
|
62
61
|
role: "button",
|
|
63
62
|
ref: f,
|
|
@@ -68,20 +67,20 @@ const O = "_debugRoot_1ny7q_1", j = "_container_1ny7q_16", k = "_expanded_1ny7q_
|
|
|
68
67
|
/* @__PURE__ */ e("code", { children: o.templatePath })
|
|
69
68
|
] }),
|
|
70
69
|
/* @__PURE__ */ a("div", { className: n.actions, onClick: (t) => t.stopPropagation(), children: [
|
|
71
|
-
|
|
70
|
+
r && /* @__PURE__ */ a(x, { children: [
|
|
72
71
|
/* @__PURE__ */ e(
|
|
73
72
|
"button",
|
|
74
73
|
{
|
|
75
|
-
className: `${n.btn} ${i ===
|
|
76
|
-
onClick: () => _(
|
|
74
|
+
className: `${n.btn} ${i === c.LIST ? n.active : ""}`,
|
|
75
|
+
onClick: () => _(c.LIST),
|
|
77
76
|
children: "List"
|
|
78
77
|
}
|
|
79
78
|
),
|
|
80
79
|
/* @__PURE__ */ e(
|
|
81
80
|
"button",
|
|
82
81
|
{
|
|
83
|
-
className: `${n.btn} ${i ===
|
|
84
|
-
onClick: () => _(
|
|
82
|
+
className: `${n.btn} ${i === c.JSON ? n.active : ""}`,
|
|
83
|
+
onClick: () => _(c.JSON),
|
|
85
84
|
children: "JSON"
|
|
86
85
|
}
|
|
87
86
|
)
|
|
@@ -91,10 +90,10 @@ const O = "_debugRoot_1ny7q_1", j = "_container_1ny7q_16", k = "_expanded_1ny7q_
|
|
|
91
90
|
{
|
|
92
91
|
className: n.btn,
|
|
93
92
|
onClick: () => u((t) => !t),
|
|
94
|
-
children:
|
|
93
|
+
children: r ? "Collapse" : "Expand"
|
|
95
94
|
}
|
|
96
95
|
),
|
|
97
|
-
|
|
96
|
+
r && /* @__PURE__ */ e(
|
|
98
97
|
"button",
|
|
99
98
|
{
|
|
100
99
|
className: `${n.btn} ${n.copyBtn}`,
|
|
@@ -105,12 +104,12 @@ const O = "_debugRoot_1ny7q_1", j = "_container_1ny7q_16", k = "_expanded_1ny7q_
|
|
|
105
104
|
)
|
|
106
105
|
] })
|
|
107
106
|
] }),
|
|
108
|
-
|
|
107
|
+
r && /* @__PURE__ */ e("div", { className: n.info, onClick: (t) => t.stopPropagation(), children: i === c.JSON ? /* @__PURE__ */ e(D, { jsonString: b }) : /* @__PURE__ */ e(R, { flatRows: h }) })
|
|
109
108
|
]
|
|
110
109
|
}
|
|
111
110
|
) });
|
|
112
111
|
return y ? E.createPortal(N, y) : null;
|
|
113
112
|
};
|
|
114
113
|
export {
|
|
115
|
-
|
|
114
|
+
dt as VariablesDebug
|
|
116
115
|
};
|
|
@@ -1,36 +1,42 @@
|
|
|
1
|
-
import "../../index-CACLSxWi.js";
|
|
2
|
-
import "../../index-BNvY8PkY.js";
|
|
3
|
-
import {
|
|
4
|
-
import { VariablesDebug as
|
|
5
|
-
import { FolderSortableTree as
|
|
6
|
-
import { FormatNumeral as
|
|
7
|
-
import { Html as
|
|
8
|
-
import { LabelFromValue as
|
|
9
|
-
import { PreformattedMarkup as
|
|
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
10
|
import { SortableTreeItemCollapseButton as S } from "./html/SortableTreeItemCollapseButton.js";
|
|
11
|
-
import { Count as
|
|
12
|
-
import { DataFilter as
|
|
13
|
-
import { DelayedActions as
|
|
14
|
-
import { PageControls as
|
|
15
|
-
import { Phantom as
|
|
16
|
-
import { ReactiveJsonBasicComponentWrapper as
|
|
17
|
-
import {
|
|
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 = {
|
|
20
|
+
...o,
|
|
21
|
+
...e,
|
|
22
|
+
...r
|
|
23
|
+
};
|
|
18
24
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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,
|
|
31
37
|
S as SortableTreeItemCollapseButton,
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
M as Switch,
|
|
39
|
+
s as VariablesDebug,
|
|
34
40
|
a as coreElementComponents,
|
|
35
|
-
|
|
41
|
+
E as getReactionFunctionsToExecute
|
|
36
42
|
};
|
|
@@ -1,32 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { ActionDependant as
|
|
3
|
-
import "../../../engine/
|
|
4
|
-
import "../../../engine/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import "../../../dnd-kit-sortable-tree.esm-Cz1RJyIg.js";
|
|
10
|
-
import "../../../engine/TemplateContext.js";
|
|
11
|
-
import { useEvaluatedAttributes as p } from "../../../engine/TemplateSystem.js";
|
|
12
|
-
import '../../../assets/reset.css';/* empty css */
|
|
13
|
-
import { View as c } from "../../../engine/View.js";
|
|
14
|
-
import "../../../index-NNBvIV0S.js";
|
|
15
|
-
import "../../../jsonpath-B9kE9k9e.js";
|
|
16
|
-
import "../../../js-yaml-Bw0KO4XO.js";
|
|
17
|
-
import "../../../engine/ParsingDebugDisplay/ParsingDebugDisplay.js";
|
|
18
|
-
function V({ props: t, currentData: i, path: e, reactComponent: o }) {
|
|
19
|
-
const n = p(t.attributes);
|
|
20
|
-
return o ? /* @__PURE__ */ r(m, { ...t, children: /* @__PURE__ */ r(o, { ...n, children: t.content && /* @__PURE__ */ r(
|
|
21
|
-
c,
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { ActionDependant as c } from "../../../engine/Actions.js";
|
|
3
|
+
import { useEvaluatedAttributes as a } from "../../../engine/TemplateSystem.js";
|
|
4
|
+
import { View as m } from "../../../engine/View.js";
|
|
5
|
+
function p({ props: t, currentData: r, path: o, reactComponent: n }) {
|
|
6
|
+
const i = a(t.attributes);
|
|
7
|
+
return n ? /* @__PURE__ */ e(c, { ...t, children: /* @__PURE__ */ e(n, { ...i, children: t.content && /* @__PURE__ */ e(
|
|
8
|
+
m,
|
|
22
9
|
{
|
|
23
|
-
currentData:
|
|
10
|
+
currentData: r.content ?? void 0,
|
|
24
11
|
datafield: "content",
|
|
25
|
-
path:
|
|
12
|
+
path: o + ".content",
|
|
26
13
|
props: t.content
|
|
27
14
|
}
|
|
28
15
|
) }) }) : null;
|
|
29
16
|
}
|
|
30
17
|
export {
|
|
31
|
-
|
|
18
|
+
p as ReactiveJsonBasicComponentWrapper
|
|
32
19
|
};
|
|
@@ -1,16 +1,57 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
import "../../../engine/
|
|
4
|
-
import "../../../engine/
|
|
5
|
-
import "../../../engine/
|
|
6
|
-
import "../../../engine/
|
|
7
|
-
import { R as u } from "../../../index-CBEHeXej.js";
|
|
8
|
-
import "../../../engine/TemplateContext.js";
|
|
9
|
-
import "../../../engine/TemplateSystem.js";
|
|
1
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as f } from "react";
|
|
3
|
+
import { ActionDependant as g } from "../../../engine/Actions.js";
|
|
4
|
+
import { GlobalDataContext as x } from "../../../engine/GlobalDataContext.js";
|
|
5
|
+
import { TemplateContext as I } from "../../../engine/TemplateContext.js";
|
|
6
|
+
import { evaluateTemplateValueCollection as h, dataLocationToPath as T } from "../../../engine/TemplateSystem.js";
|
|
10
7
|
import "../../../lodash-CYNxjS-I.js";
|
|
11
|
-
import "../../../engine/utility/analyzeDataOverrideReferences.js";
|
|
8
|
+
import { analyzeDataOverrideReferences as E } from "../../../engine/utility/analyzeDataOverrideReferences.js";
|
|
12
9
|
import "../../../js-yaml-Bw0KO4XO.js";
|
|
13
|
-
|
|
10
|
+
const L = ({ props: t }) => {
|
|
11
|
+
var d;
|
|
12
|
+
const a = f(x), n = f(I), l = a.ReactiveJsonRoot;
|
|
13
|
+
if (!l)
|
|
14
|
+
return null;
|
|
15
|
+
const e = h({
|
|
16
|
+
valueToEvaluate: t == null ? void 0 : t.rjOptions,
|
|
17
|
+
globalDataContext: a,
|
|
18
|
+
templateContext: n
|
|
19
|
+
}) || {};
|
|
20
|
+
if (typeof e != "object")
|
|
21
|
+
return;
|
|
22
|
+
let o;
|
|
23
|
+
if ((t == null ? void 0 : t.sharedUpdates) === !0 && ((d = t == null ? void 0 : t.rjOptions) != null && d.dataOverride)) {
|
|
24
|
+
const c = E(t.rjOptions.dataOverride);
|
|
25
|
+
if (c.size > 0) {
|
|
26
|
+
o = /* @__PURE__ */ new Map();
|
|
27
|
+
for (const [s, u] of c) {
|
|
28
|
+
const D = (b, m, C) => {
|
|
29
|
+
try {
|
|
30
|
+
const r = T({
|
|
31
|
+
dataLocation: u,
|
|
32
|
+
currentPath: n.templatePath,
|
|
33
|
+
globalDataContext: a,
|
|
34
|
+
templateContext: n
|
|
35
|
+
}), R = m ? `${r}.${m}` : r;
|
|
36
|
+
a.updateData(b, R, C);
|
|
37
|
+
} catch (r) {
|
|
38
|
+
console.warn(`Error during upstream propagation for ${u}:`, r);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
o.set(s, D);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const i = Number.isInteger(parseInt(t == null ? void 0 : t.dataOverrideEvaluationDepth)) ? parseInt(t == null ? void 0 : t.dataOverrideEvaluationDepth) : 10;
|
|
46
|
+
e != null && e.dataOverride && Number.isInteger(i) && i !== 0 && (e.dataOverride = h({
|
|
47
|
+
valueToEvaluate: e == null ? void 0 : e.dataOverride,
|
|
48
|
+
globalDataContext: a,
|
|
49
|
+
templateContext: n,
|
|
50
|
+
evaluationDepth: i
|
|
51
|
+
}) || {});
|
|
52
|
+
const O = a.plugins ?? {};
|
|
53
|
+
return /* @__PURE__ */ v(g, { ...t, children: /* @__PURE__ */ v(l, { ...e, plugins: O, upstreamUpdateCallbacks: o }) });
|
|
54
|
+
};
|
|
14
55
|
export {
|
|
15
|
-
|
|
56
|
+
L as ReactiveJsonSubroot
|
|
16
57
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Count as e } from "./Count.js";
|
|
2
|
-
import { DataFilter as
|
|
3
|
-
import { DelayedActions as
|
|
2
|
+
import { DataFilter as n } from "./DataFilter.js";
|
|
3
|
+
import { DelayedActions as a, getReactionFunctionsToExecute as m } from "./DelayedActions.js";
|
|
4
4
|
import { PageControls as c } from "./PageControls.js";
|
|
5
5
|
import { Phantom as i } from "./Phantom.js";
|
|
6
6
|
import { ReactiveJsonBasicComponentWrapper as u } from "./ReactiveJsonBasicComponentWrapper.js";
|
|
7
|
-
import {
|
|
7
|
+
import { ReactiveJsonSubroot as C } from "./ReactiveJsonSubroot.js";
|
|
8
8
|
import { Switch as g } from "./Switch.js";
|
|
9
9
|
export {
|
|
10
10
|
e as Count,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
n as DataFilter,
|
|
12
|
+
a as DelayedActions,
|
|
13
13
|
c as PageControls,
|
|
14
14
|
i as Phantom,
|
|
15
15
|
u as ReactiveJsonBasicComponentWrapper,
|
|
16
|
-
|
|
16
|
+
C as ReactiveJsonSubroot,
|
|
17
17
|
g as Switch,
|
|
18
18
|
m as getReactionFunctionsToExecute
|
|
19
19
|
};
|
package/dist/component/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HashChangeListener as r } from "./action/HashChangeListener.js";
|
|
2
|
-
import { Hide as
|
|
3
|
-
import { MessageListener as
|
|
2
|
+
import { Hide as m } from "./action/Hide.js";
|
|
3
|
+
import { MessageListener as a } from "./action/MessageListener.js";
|
|
4
4
|
import { ReactOnEvent as x } from "./action/ReactOnEvent.js";
|
|
5
5
|
import { Redirect as s } from "./action/Redirect.js";
|
|
6
6
|
import { SetAttributeValue as l } from "./action/SetAttributeValue.js";
|
|
@@ -10,77 +10,78 @@ import { UnsetAttributeValue as d } from "./action/UnsetAttributeValue.js";
|
|
|
10
10
|
import { VisuallyHide as R } from "./action/VisuallyHide.js";
|
|
11
11
|
import { coreDataMappingComponents as V } from "./dataMapping/index.js";
|
|
12
12
|
import { coreDataProcessorComponents as A } from "./dataProcessor/index.js";
|
|
13
|
-
import {
|
|
14
|
-
import { usePagination as
|
|
15
|
-
import { coreReactionComponents as
|
|
16
|
-
import { simpleMapping as
|
|
17
|
-
import { VariablesDebug as
|
|
18
|
-
import { FolderSortableTree as
|
|
19
|
-
import { FormatNumeral as
|
|
20
|
-
import { Html as
|
|
21
|
-
import { LabelFromValue as
|
|
22
|
-
import { PreformattedMarkup as
|
|
23
|
-
import { SortableTreeItemCollapseButton as
|
|
24
|
-
import { Count as
|
|
25
|
-
import { DataFilter as
|
|
26
|
-
import { DelayedActions as
|
|
27
|
-
import { PageControls as
|
|
28
|
-
import { Phantom as
|
|
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
29
|
import { ReactiveJsonBasicComponentWrapper as pe } from "./element/special/ReactiveJsonBasicComponentWrapper.js";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
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";
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
Q as Count,
|
|
45
|
+
Y as DataFilter,
|
|
46
|
+
_ as DelayedActions,
|
|
47
|
+
J as FolderSortableTree,
|
|
48
|
+
U as FormatNumeral,
|
|
48
49
|
r as HashChangeListener,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
m as Hide,
|
|
51
|
+
q as Html,
|
|
52
|
+
O as LabelFromValue,
|
|
53
|
+
a as MessageListener,
|
|
54
|
+
oe as PageControls,
|
|
55
|
+
te as Phantom,
|
|
56
|
+
j as PreformattedMarkup,
|
|
56
57
|
x as ReactOnEvent,
|
|
57
58
|
pe as ReactiveJsonBasicComponentWrapper,
|
|
58
|
-
|
|
59
|
+
fe as ReactiveJsonSubroot,
|
|
59
60
|
s as Redirect,
|
|
60
61
|
l as SetAttributeValue,
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
G as SortableTreeItemCollapseButton,
|
|
63
|
+
ne as Switch,
|
|
63
64
|
c as ToggleAttributeValue,
|
|
64
65
|
b as UnsetAttribute,
|
|
65
66
|
d as UnsetAttributeValue,
|
|
66
|
-
|
|
67
|
+
y as VariablesDebug,
|
|
67
68
|
R as VisuallyHide,
|
|
68
|
-
|
|
69
|
+
ie as addData,
|
|
69
70
|
V as coreDataMappingComponents,
|
|
70
71
|
A as coreDataProcessorComponents,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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
|
|
86
87
|
};
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import "./index-BA09SSaJ.js";
|
|
2
|
-
import "./component/dataMapping/index.js";
|
|
3
|
-
import "./component/dataProcessor/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import "./component/reaction/index.js";
|
|
1
|
+
import { c as o } from "./index-BA09SSaJ.js";
|
|
2
|
+
import { coreDataMappingComponents as t } from "./component/dataMapping/index.js";
|
|
3
|
+
import { coreDataProcessorComponents as e } from "./component/dataProcessor/index.js";
|
|
4
|
+
import { coreElementComponents as n } from "./component/element/index.js";
|
|
5
|
+
import { coreReactionComponents as r } from "./component/reaction/index.js";
|
|
6
|
+
const s = {
|
|
7
|
+
action: o,
|
|
8
|
+
dataMapping: t,
|
|
9
|
+
dataProcessor: e,
|
|
10
|
+
element: n,
|
|
11
|
+
reaction: r
|
|
12
|
+
};
|
|
6
13
|
export {
|
|
7
|
-
|
|
14
|
+
s as coreComponentsPlugin
|
|
8
15
|
};
|