@plitzi/sdk-elements 0.31.0 → 0.31.1
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/CHANGELOG.md +20 -4
- package/dist/Element/RootElement.mjs +1 -1
- package/dist/Element/hooks/useElementDataSource.mjs +1 -1
- package/dist/Element/hooks/useElementInternal.mjs +11 -11
- package/dist/Element/hooks/useInternalItems.mjs +1 -1
- package/dist/dataSource/GlobalSources.mjs +1 -1
- package/dist/elements/advanced/Reference/Reference.mjs +2 -2
- package/dist/elements/advanced/Reference/Settings.mjs +1 -1
- package/dist/elements/basic/Link/Link.mjs +4 -4
- package/dist/elements/basic/Link/Settings.mjs +1 -1
- package/dist/elements/form/Form/Form.mjs +1 -1
- package/dist/elements/form/FormControl/FormControl.mjs +1 -1
- package/dist/elements/form/FormControl/hocs/withFieldValue.mjs +1 -1
- package/dist/elements/internal/LayoutContainer/Settings.mjs +1 -1
- package/dist/elements/internal/Page/Settings.mjs +1 -1
- package/dist/elements/provider/ApiContainer/ApiContainer.mjs +1 -1
- package/dist/elements/provider/ApiContainer/Settings.mjs +1 -1
- package/dist/elements/provider/CollectionContainer/CollectionContainer.mjs +1 -1
- package/dist/elements/structure/DialogContainer/DialogContainer.mjs +1 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlled.mjs +1 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.mjs +1 -1
- package/dist/elements/structure/ModalContainer/ModalContainer.mjs +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @plitzi/sdk-elements
|
|
2
2
|
|
|
3
|
+
## 0.31.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- v0.31.1
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @plitzi/nexus@0.31.1
|
|
10
|
+
- @plitzi/sdk-auth@0.31.1
|
|
11
|
+
- @plitzi/sdk-dev-tools@0.31.1
|
|
12
|
+
- @plitzi/sdk-event-bridge@0.31.1
|
|
13
|
+
- @plitzi/sdk-interactions@0.31.1
|
|
14
|
+
- @plitzi/sdk-navigation@0.31.1
|
|
15
|
+
- @plitzi/sdk-schema@0.31.1
|
|
16
|
+
- @plitzi/sdk-shared@0.31.1
|
|
17
|
+
- @plitzi/sdk-state@0.31.1
|
|
18
|
+
|
|
3
19
|
## 0.31.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -17,7 +33,7 @@
|
|
|
17
33
|
- @plitzi/sdk-schema@0.31.0
|
|
18
34
|
- @plitzi/sdk-shared@0.31.0
|
|
19
35
|
- @plitzi/sdk-state@0.31.0
|
|
20
|
-
- @plitzi/
|
|
36
|
+
- @plitzi/nexus@0.31.0
|
|
21
37
|
|
|
22
38
|
## 0.30.19
|
|
23
39
|
|
|
@@ -31,7 +47,7 @@
|
|
|
31
47
|
- @plitzi/sdk-interactions@0.30.19
|
|
32
48
|
- @plitzi/sdk-schema@0.30.19
|
|
33
49
|
- @plitzi/sdk-shared@0.30.19
|
|
34
|
-
- @plitzi/
|
|
50
|
+
- @plitzi/nexus@0.30.19
|
|
35
51
|
|
|
36
52
|
## 0.30.18
|
|
37
53
|
|
|
@@ -45,7 +61,7 @@
|
|
|
45
61
|
- @plitzi/sdk-interactions@0.30.18
|
|
46
62
|
- @plitzi/sdk-schema@0.30.18
|
|
47
63
|
- @plitzi/sdk-shared@0.30.18
|
|
48
|
-
- @plitzi/
|
|
64
|
+
- @plitzi/nexus@0.30.18
|
|
49
65
|
|
|
50
66
|
## 0.30.17
|
|
51
67
|
|
|
@@ -59,7 +75,7 @@
|
|
|
59
75
|
- @plitzi/sdk-interactions@0.30.17
|
|
60
76
|
- @plitzi/sdk-schema@0.30.17
|
|
61
77
|
- @plitzi/sdk-shared@0.30.17
|
|
62
|
-
- @plitzi/
|
|
78
|
+
- @plitzi/nexus@0.30.17
|
|
63
79
|
|
|
64
80
|
## 0.30.16
|
|
65
81
|
|
|
@@ -6,7 +6,7 @@ import { use as a, useCallback as o, useEffect as s, useMemo as c, useRef as ee
|
|
|
6
6
|
import te from "@plitzi/sdk-shared/elements/ElementContext";
|
|
7
7
|
import l from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
|
|
8
8
|
import { get as u } from "@plitzi/plitzi-ui/helpers";
|
|
9
|
-
import { createStoreHook as d } from "@plitzi/
|
|
9
|
+
import { createStoreHook as d } from "@plitzi/nexus/createStore";
|
|
10
10
|
import { emptyObject as f } from "@plitzi/sdk-shared/helpers/utils";
|
|
11
11
|
import { jsx as p } from "react/jsx-runtime";
|
|
12
12
|
import m from "clsx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMemo as e } from "react";
|
|
2
|
-
import { createStoreHook as t } from "@plitzi/
|
|
2
|
+
import { createStoreHook as t } from "@plitzi/nexus/createStore";
|
|
3
3
|
//#region src/Element/hooks/useElementDataSource.ts
|
|
4
4
|
var n = ({ bindings: n, sources: r }) => {
|
|
5
5
|
let i = e(() => {
|
|
@@ -5,11 +5,11 @@ import r from "../../dataSource/getBindingsDetails.mjs";
|
|
|
5
5
|
import i from "../helpers/parseStyleSelectors.mjs";
|
|
6
6
|
import { useMemo as a } from "react";
|
|
7
7
|
import { get as o, omit as s } from "@plitzi/plitzi-ui/helpers";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { createStoreHook as c } from "@plitzi/nexus/createStore";
|
|
9
|
+
import { hasValidToken as l, processTwig as u } from "@plitzi/sdk-shared/helpers/twigWrapper";
|
|
10
10
|
//#region src/Element/hooks/useElementInternal.ts
|
|
11
11
|
var d = (e, t, n = {}, a = {}) => {
|
|
12
|
-
let
|
|
12
|
+
let c, { attributes: d, definition: f } = e, { rootId: p, plitziElementLayout: m } = t;
|
|
13
13
|
if (t.attributes && (d = {
|
|
14
14
|
...d,
|
|
15
15
|
...t.attributes
|
|
@@ -17,13 +17,13 @@ var d = (e, t, n = {}, a = {}) => {
|
|
|
17
17
|
let t = r(n, {
|
|
18
18
|
...e,
|
|
19
19
|
attributes: d
|
|
20
|
-
},
|
|
21
|
-
({attributes: d, definition: f, style:
|
|
20
|
+
}, c);
|
|
21
|
+
({attributes: d, definition: f, style: c} = t);
|
|
22
22
|
}
|
|
23
23
|
let { variables: h } = n;
|
|
24
|
-
return h && Object.keys(h).length > 0 && (d = Object.keys(d).reduce((e, t) => typeof d[t] == "string" &&
|
|
24
|
+
return h && Object.keys(h).length > 0 && (d = Object.keys(d).reduce((e, t) => typeof d[t] == "string" && l(d[t]) ? {
|
|
25
25
|
...e,
|
|
26
|
-
[t]:
|
|
26
|
+
[t]: u(d[t], h, !0)
|
|
27
27
|
} : {
|
|
28
28
|
...e,
|
|
29
29
|
[t]: d[t]
|
|
@@ -55,11 +55,11 @@ var d = (e, t, n = {}, a = {}) => {
|
|
|
55
55
|
...f.initialState,
|
|
56
56
|
...a
|
|
57
57
|
},
|
|
58
|
-
style:
|
|
58
|
+
style: c
|
|
59
59
|
};
|
|
60
|
-
}, f = ({ children: r, internalProps: i, previewMode: o = !1, baseElementId:
|
|
61
|
-
let { useStore:
|
|
62
|
-
if (!p) throw Error(`Element ${f} not found, Page ${
|
|
60
|
+
}, f = ({ children: r, internalProps: i, previewMode: o = !1, baseElementId: l }) => {
|
|
61
|
+
let { useStore: u } = c(), { id: f } = i, [p] = u(`schema.flat.${f}`);
|
|
62
|
+
if (!p) throw Error(`Element ${f} not found, Page ${l}`);
|
|
63
63
|
let { state: m, setElementState: h } = t({
|
|
64
64
|
bindings: p.definition.bindings,
|
|
65
65
|
previewMode: o
|
|
@@ -2,7 +2,7 @@ import e from "../helpers/pluginSelector.mjs";
|
|
|
2
2
|
import t from "../ServerStaticShell.mjs";
|
|
3
3
|
import { isValidElement as n, use as r, useMemo as i, useSyncExternalStore as a } from "react";
|
|
4
4
|
import { get as o } from "@plitzi/plitzi-ui/helpers";
|
|
5
|
-
import { createStoreHook as s } from "@plitzi/
|
|
5
|
+
import { createStoreHook as s } from "@plitzi/nexus/createStore";
|
|
6
6
|
import { usePlitziServiceContext as c } from "@plitzi/sdk-shared";
|
|
7
7
|
import l from "@plitzi/sdk-shared/elements/ComponentContext";
|
|
8
8
|
import { jsx as u } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { use as e, useCallback as t, useMemo as n } from "react";
|
|
2
2
|
import { get as r } from "@plitzi/plitzi-ui/helpers";
|
|
3
|
-
import { createStoreHook as i } from "@plitzi/
|
|
3
|
+
import { createStoreHook as i } from "@plitzi/nexus/createStore";
|
|
4
4
|
import { getPathsFromObeject as a } from "@plitzi/sdk-shared/helpers/utils";
|
|
5
5
|
import o from "@plitzi/sdk-shared/dataSource/hooks/useRegisterSource";
|
|
6
6
|
import { QueryBuilderEvaluator as s } from "@plitzi/plitzi-ui/QueryBuilder";
|
|
@@ -4,11 +4,11 @@ import n from "../../../Element/hocs/withElement.mjs";
|
|
|
4
4
|
import { use as r, useCallback as i, useEffect as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
5
5
|
import l from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
|
|
6
6
|
import { get as u } from "@plitzi/plitzi-ui/helpers";
|
|
7
|
-
import { createStoreHook as d } from "@plitzi/
|
|
7
|
+
import { createStoreHook as d } from "@plitzi/nexus/createStore";
|
|
8
8
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
9
9
|
import m from "clsx";
|
|
10
10
|
import h from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
11
|
-
import g from "@plitzi/
|
|
11
|
+
import g from "@plitzi/nexus/StoreProvider";
|
|
12
12
|
var _ = n(({ ref: n, children: _, className: v = "", referenceType: y = "element", referenceId: b = "", referenceContainer: x = "" }) => {
|
|
13
13
|
let { id: S, definition: { rootId: C, styleSelectors: w } } = h(), { settings: { previewMode: T, environment: E }, contexts: { SegmentsContext: D } } = l(), { useStore: O } = d(), [[k, A]] = O(["schema", "segments"]), { segmentGet: j } = r(D), M = s(k);
|
|
14
14
|
M.current = k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { use as e, useCallback as t, useMemo as n } from "react";
|
|
2
2
|
import r from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
|
|
3
3
|
import { get as i } from "@plitzi/plitzi-ui/helpers";
|
|
4
|
-
import { createStoreHook as a } from "@plitzi/
|
|
4
|
+
import { createStoreHook as a } from "@plitzi/nexus/createStore";
|
|
5
5
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
6
6
|
import c from "@plitzi/plitzi-ui/Select2";
|
|
7
7
|
//#region src/elements/advanced/Reference/Settings.tsx
|
|
@@ -2,19 +2,19 @@ import e from "../../../Element/RootElement.mjs";
|
|
|
2
2
|
import t from "../../../Element/hocs/withElement.mjs";
|
|
3
3
|
import { use as n, useMemo as r } from "react";
|
|
4
4
|
import i from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { createStoreHook as a } from "@plitzi/nexus/createStore";
|
|
6
|
+
import { processTwig as o } from "@plitzi/sdk-shared/helpers/twigWrapper";
|
|
7
7
|
import { jsx as s } from "react/jsx-runtime";
|
|
8
8
|
import c from "clsx";
|
|
9
9
|
import l from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
10
10
|
import { getPageFullPath as u } from "@plitzi/sdk-navigation/NavigationHelper";
|
|
11
11
|
var d = t(({ ref: t, children: d, className: f = "", href: p = "#", target: m = "self", mode: h = "page" }) => {
|
|
12
|
-
let { style: g } = l(), { settings: { previewMode: _ }, contexts: { NavigationContext: v } } = i(), { navigate: y, routeParams: b, queryParams: x } = n(v), { useStore: S } =
|
|
12
|
+
let { style: g } = l(), { settings: { previewMode: _ }, contexts: { NavigationContext: v } } = i(), { navigate: y, routeParams: b, queryParams: x } = n(v), { useStore: S } = a(), [[C, w]] = S(["pageDefinitions", "schema.pageFolders"]), T = r(() => {
|
|
13
13
|
if (h === "external") return p;
|
|
14
14
|
let e = `/${p}`.replaceAll(/[/]+/gim, "/");
|
|
15
15
|
if (h === "internal") {
|
|
16
16
|
try {
|
|
17
|
-
let t =
|
|
17
|
+
let t = o(e, {
|
|
18
18
|
...x,
|
|
19
19
|
...b
|
|
20
20
|
}, !0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { use as e, useCallback as t, useEffect as n, useMemo as r } from "react";
|
|
2
2
|
import i from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
|
|
3
3
|
import { get as a, pick as o } from "@plitzi/plitzi-ui/helpers";
|
|
4
|
-
import { createStoreHook as s } from "@plitzi/
|
|
4
|
+
import { createStoreHook as s } from "@plitzi/nexus/createStore";
|
|
5
5
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
6
6
|
import { getPageFullPath as u } from "@plitzi/sdk-navigation/NavigationHelper";
|
|
7
7
|
import d from "@plitzi/plitzi-ui/Input";
|
|
@@ -8,7 +8,7 @@ import { jsx as u } from "react/jsx-runtime";
|
|
|
8
8
|
import d from "clsx";
|
|
9
9
|
import f from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
10
10
|
import { produce as p } from "immer";
|
|
11
|
-
import m from "@plitzi/
|
|
11
|
+
import m from "@plitzi/nexus/StoreProvider";
|
|
12
12
|
import h from "@plitzi/sdk-shared/dataSource/hooks/useRegisterSource";
|
|
13
13
|
//#region src/elements/form/Form/Form.tsx
|
|
14
14
|
var g = ({ ref: t, className: g = "", children: _, method: v = "get", actionUrl: y = "", managedByInteractions: b = !1, errors: x = l, values: S = l }) => {
|
|
@@ -9,7 +9,7 @@ import s from "./inputs/Textarea.mjs";
|
|
|
9
9
|
import c from "../../../Element/hocs/withElement.mjs";
|
|
10
10
|
import { useEffect as l } from "react";
|
|
11
11
|
import u from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
|
|
12
|
-
import { createStoreHook as d } from "@plitzi/
|
|
12
|
+
import { createStoreHook as d } from "@plitzi/nexus/createStore";
|
|
13
13
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
14
14
|
import m from "clsx";
|
|
15
15
|
import h from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCallback as e, useEffect as t, useMemo as n } from "react";
|
|
2
2
|
import r from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
|
|
3
3
|
import { get as i } from "@plitzi/plitzi-ui/helpers";
|
|
4
|
-
import { createStoreHook as a } from "@plitzi/
|
|
4
|
+
import { createStoreHook as a } from "@plitzi/nexus/createStore";
|
|
5
5
|
import { getDisplayName as o } from "@plitzi/sdk-shared/helpers/utils";
|
|
6
6
|
import { jsx as s } from "react/jsx-runtime";
|
|
7
7
|
//#region src/elements/form/FormControl/hocs/withFieldValue.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback as e, useMemo as t } from "react";
|
|
2
|
-
import { createStoreHook as n } from "@plitzi/
|
|
2
|
+
import { createStoreHook as n } from "@plitzi/nexus/createStore";
|
|
3
3
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
4
|
import a from "@plitzi/plitzi-ui/Select";
|
|
5
5
|
import o from "@plitzi/plitzi-ui/Select2";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCallback as e, useMemo as t } from "react";
|
|
2
2
|
import { get as n, pick as r } from "@plitzi/plitzi-ui/helpers";
|
|
3
|
-
import { createStoreHook as i } from "@plitzi/
|
|
3
|
+
import { createStoreHook as i } from "@plitzi/nexus/createStore";
|
|
4
4
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
5
|
import { getPageFullPath as c } from "@plitzi/sdk-navigation/NavigationHelper";
|
|
6
6
|
import l from "@plitzi/plitzi-ui/Alert";
|
|
@@ -9,7 +9,7 @@ import { emptyObject as u, getPathsFromObeject as d } from "@plitzi/sdk-shared/h
|
|
|
9
9
|
import { jsx as f } from "react/jsx-runtime";
|
|
10
10
|
import p from "clsx";
|
|
11
11
|
import m from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
12
|
-
import h from "@plitzi/
|
|
12
|
+
import h from "@plitzi/nexus/StoreProvider";
|
|
13
13
|
import g from "@plitzi/sdk-shared/dataSource/hooks/useRegisterSource";
|
|
14
14
|
import { QueryBuilderEvaluator as _ } from "@plitzi/plitzi-ui/QueryBuilder";
|
|
15
15
|
var v = n(({ ref: n, className: v = "", children: y, query: b = "", method: x = "get", accessToken: S = "", when: C = u, headers: w = u, mockData: T = "{}", subType: E = "div", credentials: D = "same-origin" }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { use as e, useCallback as t, useMemo as n, useState as r } from "react";
|
|
2
2
|
import { get as i } from "@plitzi/plitzi-ui/helpers";
|
|
3
|
-
import { createStoreHook as a } from "@plitzi/
|
|
3
|
+
import { createStoreHook as a } from "@plitzi/nexus/createStore";
|
|
4
4
|
import { emptyObject as o } from "@plitzi/sdk-shared/helpers/utils";
|
|
5
5
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
6
6
|
import u from "@plitzi/plitzi-ui/QueryBuilder";
|
|
@@ -6,7 +6,7 @@ import a from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
|
|
|
6
6
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
7
|
import c from "clsx";
|
|
8
8
|
import l from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
9
|
-
import u from "@plitzi/
|
|
9
|
+
import u from "@plitzi/nexus/StoreProvider";
|
|
10
10
|
import d from "@plitzi/sdk-shared/dataSource/hooks/useRegisterSource";
|
|
11
11
|
var f = n(({ ref: n, className: f = "", source: p = "", children: m, limit: h = "10", query: g, singleRecord: _ = !1 }) => {
|
|
12
12
|
let { id: v, definition: { label: y = "Collection Container" } } = l(), { settings: { previewMode: b } } = a(), { loading: x, collection: S, fetch: C } = t({
|
|
@@ -6,7 +6,7 @@ import { getPathsFromObeject as c } from "@plitzi/sdk-shared/helpers/utils";
|
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
7
|
import d from "clsx";
|
|
8
8
|
import f from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
9
|
-
import p from "@plitzi/
|
|
9
|
+
import p from "@plitzi/nexus/StoreProvider";
|
|
10
10
|
import m from "@plitzi/sdk-shared/dataSource/hooks/useRegisterSource";
|
|
11
11
|
var h = t(({ ref: t, className: h = "", children: g, headerLabel: _ = "Dialog Header", acceptButtonLabel: v = "Accept", acceptButtonLabelLoading: y = "Loading...", rejectButtonLabel: b = "Cancel", autoHideAfterClick: x = !0 }) => {
|
|
12
12
|
let { id: S, setElementState: C, definition: { styleSelectors: w, label: T = "Dialog" }, elementState: E } = f(), { contexts: { InteractionsContext: D } } = s(), { interactionsManager: O } = n(D), [k, A] = o({}), [j, M] = o(!1), N = r((e) => {
|
|
@@ -7,7 +7,7 @@ import { getPathsFromObeject as o } from "@plitzi/sdk-shared/helpers/utils";
|
|
|
7
7
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import l from "clsx";
|
|
9
9
|
import u from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
10
|
-
import d from "@plitzi/
|
|
10
|
+
import d from "@plitzi/nexus/StoreProvider";
|
|
11
11
|
import f from "@plitzi/sdk-shared/dataSource/hooks/useRegisterSource";
|
|
12
12
|
//#region src/elements/structure/List/modes/ListControlled/ListControlled.tsx
|
|
13
13
|
var p = ({ ref: p, className: m = "", children: h, items: g = [] }) => {
|
|
@@ -2,7 +2,7 @@ import e from "../../../../../Element/ReplicaProvider.mjs";
|
|
|
2
2
|
import { useMemo as t } from "react";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import i from "clsx";
|
|
5
|
-
import a from "@plitzi/
|
|
5
|
+
import a from "@plitzi/nexus/StoreProvider";
|
|
6
6
|
//#region src/elements/structure/List/modes/ListControlled/ListControlledItem.tsx
|
|
7
7
|
var o = ({ children: o, className: s = "", isTemplate: c = !1, itemCount: l = 0, record: u, source: d = "" }) => {
|
|
8
8
|
let f = t(() => ({
|
|
@@ -6,7 +6,7 @@ import { getPathsFromObeject as c } from "@plitzi/sdk-shared/helpers/utils";
|
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
7
|
import d from "clsx";
|
|
8
8
|
import f from "@plitzi/sdk-shared/elements/hooks/useElement";
|
|
9
|
-
import p from "@plitzi/
|
|
9
|
+
import p from "@plitzi/nexus/StoreProvider";
|
|
10
10
|
import m from "@plitzi/sdk-shared/dataSource/hooks/useRegisterSource";
|
|
11
11
|
var h = t(({ ref: t, className: h = "", children: g, title: _ = "Modal Header", autoHideAfterClick: v = !0 }) => {
|
|
12
12
|
let { id: y, definition: { styleSelectors: b, label: x = "Modal" }, elementState: S, setElementState: C } = f(), { contexts: { InteractionsContext: w } } = s(), { interactionsManager: T } = n(w), [E, D] = o({}), O = r((e) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-elements",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.1",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -812,16 +812,16 @@
|
|
|
812
812
|
"type": "module",
|
|
813
813
|
"sideEffects": false,
|
|
814
814
|
"dependencies": {
|
|
815
|
+
"@plitzi/nexus": "0.31.1",
|
|
815
816
|
"@plitzi/plitzi-ui": "^1.6.9",
|
|
816
|
-
"@plitzi/sdk-auth": "0.31.
|
|
817
|
-
"@plitzi/sdk-dev-tools": "0.31.
|
|
818
|
-
"@plitzi/sdk-event-bridge": "0.31.
|
|
819
|
-
"@plitzi/sdk-interactions": "0.31.
|
|
820
|
-
"@plitzi/sdk-navigation": "0.31.
|
|
821
|
-
"@plitzi/sdk-schema": "0.31.
|
|
822
|
-
"@plitzi/sdk-shared": "0.31.
|
|
823
|
-
"@plitzi/sdk-state": "0.31.
|
|
824
|
-
"@plitzi/sdk-store": "0.31.0",
|
|
817
|
+
"@plitzi/sdk-auth": "0.31.1",
|
|
818
|
+
"@plitzi/sdk-dev-tools": "0.31.1",
|
|
819
|
+
"@plitzi/sdk-event-bridge": "0.31.1",
|
|
820
|
+
"@plitzi/sdk-interactions": "0.31.1",
|
|
821
|
+
"@plitzi/sdk-navigation": "0.31.1",
|
|
822
|
+
"@plitzi/sdk-schema": "0.31.1",
|
|
823
|
+
"@plitzi/sdk-shared": "0.31.1",
|
|
824
|
+
"@plitzi/sdk-state": "0.31.1",
|
|
825
825
|
"clsx": "^2.1.1",
|
|
826
826
|
"immer": "^11.1.8"
|
|
827
827
|
},
|