@plitzi/sdk-elements 0.32.1 → 0.32.2

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.
Files changed (215) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/Component/ComponentHelper.d.ts +2 -2
  3. package/dist/Component/ComponentHelper.mjs +3 -12
  4. package/dist/Component/ComponentProvider.d.ts +1 -1
  5. package/dist/Element/ElementContext.d.ts +19 -0
  6. package/dist/Element/ElementContext.mjs +6 -0
  7. package/dist/Element/JsxManager.d.ts +1 -1
  8. package/dist/Element/JsxManager.mjs +23 -29
  9. package/dist/Element/PluginManager.d.ts +1 -1
  10. package/dist/Element/PluginRemote.d.ts +1 -1
  11. package/dist/Element/ReplicaProvider.d.ts +1 -1
  12. package/dist/Element/RootElement.d.ts +3 -2
  13. package/dist/Element/RootElement.mjs +53 -111
  14. package/dist/Element/element.bench.d.ts +1 -0
  15. package/dist/Element/helpers/elementUtils.mjs +1 -1
  16. package/dist/Element/helpers/omitKeys.d.ts +1 -0
  17. package/dist/Element/helpers/omitKeys.mjs +8 -0
  18. package/dist/Element/helpers/pluginSelector.d.ts +9 -1
  19. package/dist/Element/helpers/pluginSelector.mjs +1 -1
  20. package/dist/Element/helpers/renderStaticTag.d.ts +17 -0
  21. package/dist/Element/helpers/renderStaticTag.mjs +13 -0
  22. package/dist/Element/hocs/withElement.d.ts +1 -1
  23. package/dist/Element/hocs/withElement.mjs +96 -71
  24. package/dist/Element/hooks/useElement.d.ts +3 -0
  25. package/dist/Element/hooks/useElement.mjs +10 -0
  26. package/dist/Element/hooks/useElementDataSource.mjs +4 -4
  27. package/dist/Element/hooks/useElementInteractions.mjs +21 -29
  28. package/dist/Element/hooks/useElementInternal.d.ts +16 -4
  29. package/dist/Element/hooks/useElementInternal.mjs +53 -52
  30. package/dist/Element/hooks/useElementState.d.ts +2 -2
  31. package/dist/Element/hooks/useElementState.mjs +26 -19
  32. package/dist/Element/hooks/useInternalItems.mjs +27 -25
  33. package/dist/Element/hooks/useRootElementInteractions.d.ts +21 -0
  34. package/dist/Element/hooks/useRootElementInteractions.mjs +69 -0
  35. package/dist/Element/hooks/useRscData.d.ts +8 -0
  36. package/dist/Element/hooks/useRscData.mjs +16 -0
  37. package/dist/components/ElementAdvancedEditor.d.ts +1 -1
  38. package/dist/dataSource/GlobalSources.mjs +77 -81
  39. package/dist/dataSource/index.d.ts +0 -2
  40. package/dist/dataSource/index.mjs +3 -5
  41. package/dist/elements/advanced/BlockHtml/BlockHtml.d.ts +2 -2
  42. package/dist/elements/advanced/BlockHtml/BlockHtml.mjs +5 -4
  43. package/dist/elements/advanced/BlockHtml/Settings.d.ts +1 -1
  44. package/dist/elements/advanced/BlockHtml/index.d.ts +1 -1
  45. package/dist/elements/advanced/BlockJsx/BlockJsx.d.ts +2 -2
  46. package/dist/elements/advanced/BlockJsx/BlockJsx.mjs +20 -19
  47. package/dist/elements/advanced/BlockJsx/Settings.d.ts +1 -1
  48. package/dist/elements/advanced/BlockJsx/index.d.ts +1 -1
  49. package/dist/elements/advanced/Custom/Custom.d.ts +2 -2
  50. package/dist/elements/advanced/Custom/Custom.mjs +26 -25
  51. package/dist/elements/advanced/Custom/Settings.d.ts +1 -1
  52. package/dist/elements/advanced/Custom/index.d.ts +1 -1
  53. package/dist/elements/advanced/NodeHtml/NodeHtml.d.ts +2 -2
  54. package/dist/elements/advanced/NodeHtml/NodeHtml.mjs +5 -4
  55. package/dist/elements/advanced/NodeHtml/Settings.d.ts +1 -1
  56. package/dist/elements/advanced/NodeHtml/index.d.ts +1 -1
  57. package/dist/elements/advanced/PlitziSdk/Settings.d.ts +1 -1
  58. package/dist/elements/advanced/Reference/Reference.d.ts +2 -2
  59. package/dist/elements/advanced/Reference/Reference.mjs +69 -68
  60. package/dist/elements/advanced/Reference/Settings.d.ts +1 -1
  61. package/dist/elements/advanced/Reference/Settings.mjs +32 -32
  62. package/dist/elements/advanced/Reference/index.d.ts +1 -1
  63. package/dist/elements/basic/Button/Button.d.ts +2 -2
  64. package/dist/elements/basic/Button/Button.mjs +15 -14
  65. package/dist/elements/basic/Button/Settings.d.ts +1 -1
  66. package/dist/elements/basic/Button/index.d.ts +1 -1
  67. package/dist/elements/basic/Dropdown/Dropdown.d.ts +2 -2
  68. package/dist/elements/basic/Dropdown/Dropdown.mjs +24 -23
  69. package/dist/elements/basic/Dropdown/DropdownPopup/DropdownPopup.d.ts +2 -2
  70. package/dist/elements/basic/Dropdown/DropdownPopup/DropdownPopup.mjs +5 -4
  71. package/dist/elements/basic/Dropdown/DropdownPopup/Settings.d.ts +1 -1
  72. package/dist/elements/basic/Dropdown/DropdownPopup/index.d.ts +1 -1
  73. package/dist/elements/basic/Dropdown/Settings.d.ts +1 -1
  74. package/dist/elements/basic/Dropdown/index.d.ts +2 -2
  75. package/dist/elements/basic/Dropdown/useDropdown.mjs +5 -1
  76. package/dist/elements/basic/Heading/Heading.d.ts +2 -2
  77. package/dist/elements/basic/Heading/Heading.mjs +16 -15
  78. package/dist/elements/basic/Heading/Settings.d.ts +1 -1
  79. package/dist/elements/basic/Heading/index.d.ts +1 -1
  80. package/dist/elements/basic/Link/Link.d.ts +2 -2
  81. package/dist/elements/basic/Link/Link.mjs +28 -27
  82. package/dist/elements/basic/Link/Settings.d.ts +1 -1
  83. package/dist/elements/basic/Link/Settings.mjs +22 -22
  84. package/dist/elements/basic/Link/index.d.ts +1 -1
  85. package/dist/elements/basic/Markdown/Markdown.d.ts +2 -2
  86. package/dist/elements/basic/Markdown/Markdown.mjs +5 -4
  87. package/dist/elements/basic/Markdown/Settings.d.ts +1 -1
  88. package/dist/elements/basic/Markdown/index.d.ts +1 -1
  89. package/dist/elements/basic/Paragraph/Paragraph.d.ts +2 -2
  90. package/dist/elements/basic/Paragraph/Paragraph.mjs +16 -15
  91. package/dist/elements/basic/Paragraph/Settings.d.ts +1 -1
  92. package/dist/elements/basic/Paragraph/index.d.ts +1 -1
  93. package/dist/elements/basic/Text/Settings.d.ts +1 -1
  94. package/dist/elements/basic/Text/Text.d.ts +2 -2
  95. package/dist/elements/basic/Text/Text.mjs +16 -15
  96. package/dist/elements/basic/Text/index.d.ts +1 -1
  97. package/dist/elements/form/Form/Form.d.ts +2 -4
  98. package/dist/elements/form/Form/Form.mjs +54 -58
  99. package/dist/elements/form/Form/Settings.d.ts +1 -1
  100. package/dist/elements/form/Form/index.d.ts +2 -2
  101. package/dist/elements/form/FormControl/FormControl.d.ts +2 -2
  102. package/dist/elements/form/FormControl/FormControl.mjs +39 -38
  103. package/dist/elements/form/FormControl/Settings.d.ts +1 -1
  104. package/dist/elements/form/FormControl/components/Label.d.ts +1 -1
  105. package/dist/elements/form/FormControl/hocs/withFieldValue.d.ts +1 -1
  106. package/dist/elements/form/FormControl/hocs/withFieldValue.mjs +1 -1
  107. package/dist/elements/form/FormControl/index.d.ts +2 -2
  108. package/dist/elements/form/FormControl/inputs/Checkbox.d.ts +1 -1
  109. package/dist/elements/form/FormControl/inputs/Hidden.d.ts +1 -1
  110. package/dist/elements/form/FormControl/inputs/Input.d.ts +1 -1
  111. package/dist/elements/form/FormControl/inputs/Select.d.ts +1 -1
  112. package/dist/elements/form/FormControl/inputs/Textarea.d.ts +1 -1
  113. package/dist/elements/internal/LayoutContainer/LayoutContainer.d.ts +2 -2
  114. package/dist/elements/internal/LayoutContainer/LayoutContainer.mjs +27 -26
  115. package/dist/elements/internal/LayoutContainer/Settings.d.ts +1 -1
  116. package/dist/elements/internal/LayoutContainer/Settings.mjs +7 -7
  117. package/dist/elements/internal/LayoutContainer/index.d.ts +1 -1
  118. package/dist/elements/internal/Loading/Loading.d.ts +2 -2
  119. package/dist/elements/internal/Loading/Loading.mjs +14 -13
  120. package/dist/elements/internal/Loading/index.d.ts +1 -1
  121. package/dist/elements/internal/NotFound/NotFound.d.ts +2 -2
  122. package/dist/elements/internal/NotFound/NotFound.mjs +16 -15
  123. package/dist/elements/internal/NotFound/index.d.ts +1 -1
  124. package/dist/elements/internal/Page/Page.d.ts +2 -2
  125. package/dist/elements/internal/Page/Page.mjs +20 -19
  126. package/dist/elements/internal/Page/Settings.d.ts +1 -1
  127. package/dist/elements/internal/Page/Settings.mjs +34 -34
  128. package/dist/elements/internal/Page/index.d.ts +1 -1
  129. package/dist/elements/media/FontAwesome/FontAwesome.d.ts +2 -2
  130. package/dist/elements/media/FontAwesome/FontAwesome.mjs +5 -4
  131. package/dist/elements/media/FontAwesome/Settings.d.ts +1 -1
  132. package/dist/elements/media/FontAwesome/Settings.mjs +3 -1
  133. package/dist/elements/media/FontAwesome/index.d.ts +1 -1
  134. package/dist/elements/media/Image/Image.d.ts +2 -2
  135. package/dist/elements/media/Image/Image.mjs +4 -4
  136. package/dist/elements/media/Image/Settings.d.ts +1 -1
  137. package/dist/elements/media/Image/index.d.ts +1 -1
  138. package/dist/elements/media/Video/Settings.d.ts +1 -1
  139. package/dist/elements/media/Video/Video.d.ts +2 -2
  140. package/dist/elements/media/Video/Video.mjs +5 -4
  141. package/dist/elements/media/Video/index.d.ts +1 -1
  142. package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +2 -2
  143. package/dist/elements/provider/ApiContainer/ApiContainer.mjs +33 -32
  144. package/dist/elements/provider/ApiContainer/Settings.d.ts +1 -1
  145. package/dist/elements/provider/ApiContainer/Settings.mjs +19 -19
  146. package/dist/elements/provider/ApiContainer/index.d.ts +1 -1
  147. package/dist/elements/provider/CollectionContainer/CollectionContainer.d.ts +2 -2
  148. package/dist/elements/provider/CollectionContainer/CollectionContainer.mjs +23 -22
  149. package/dist/elements/provider/CollectionContainer/Settings.d.ts +1 -1
  150. package/dist/elements/provider/CollectionContainer/hooks/useCollectionContext.mjs +38 -38
  151. package/dist/elements/provider/CollectionContainer/index.d.ts +1 -1
  152. package/dist/elements/structure/Container/Container.d.ts +2 -2
  153. package/dist/elements/structure/Container/Container.mjs +5 -4
  154. package/dist/elements/structure/Container/Settings.d.ts +1 -1
  155. package/dist/elements/structure/Container/index.d.ts +1 -1
  156. package/dist/elements/structure/DialogContainer/DialogContainer.d.ts +2 -2
  157. package/dist/elements/structure/DialogContainer/DialogContainer.mjs +49 -46
  158. package/dist/elements/structure/DialogContainer/Settings.d.ts +1 -1
  159. package/dist/elements/structure/DialogContainer/index.d.ts +1 -1
  160. package/dist/elements/structure/List/List.d.ts +2 -2
  161. package/dist/elements/structure/List/List.mjs +4 -3
  162. package/dist/elements/structure/List/ListItem/ListItem.d.ts +2 -2
  163. package/dist/elements/structure/List/ListItem/ListItem.mjs +5 -4
  164. package/dist/elements/structure/List/ListItem/Settings.d.ts +1 -1
  165. package/dist/elements/structure/List/ListItem/index.d.ts +1 -1
  166. package/dist/elements/structure/List/Settings.d.ts +1 -1
  167. package/dist/elements/structure/List/index.d.ts +2 -2
  168. package/dist/elements/structure/List/modes/ListBasic.d.ts +1 -1
  169. package/dist/elements/structure/List/modes/ListBasic.mjs +1 -1
  170. package/dist/elements/structure/List/modes/ListControlled/ListControlled.d.ts +1 -1
  171. package/dist/elements/structure/List/modes/ListControlled/ListControlled.mjs +25 -25
  172. package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.d.ts +1 -1
  173. package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.mjs +24 -23
  174. package/dist/elements/structure/ModalContainer/ModalContainer.d.ts +2 -2
  175. package/dist/elements/structure/ModalContainer/ModalContainer.mjs +40 -37
  176. package/dist/elements/structure/ModalContainer/Settings.d.ts +1 -1
  177. package/dist/elements/structure/ModalContainer/index.d.ts +1 -1
  178. package/dist/elements/structure/TabContainer/Settings.d.ts +1 -1
  179. package/dist/elements/structure/TabContainer/TabContainer.d.ts +2 -2
  180. package/dist/elements/structure/TabContainer/TabContainer.mjs +5 -4
  181. package/dist/elements/structure/TabContainer/TabContainerBody/Settings.d.ts +1 -1
  182. package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.d.ts +2 -2
  183. package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.mjs +5 -4
  184. package/dist/elements/structure/TabContainer/TabContainerBody/index.d.ts +1 -1
  185. package/dist/elements/structure/TabContainer/TabContainerHeader/Settings.d.ts +1 -1
  186. package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.d.ts +2 -2
  187. package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.mjs +5 -4
  188. package/dist/elements/structure/TabContainer/TabContainerHeader/index.d.ts +1 -1
  189. package/dist/elements/structure/TabContainer/TabContainerItem/Settings.d.ts +1 -1
  190. package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.d.ts +2 -2
  191. package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.mjs +5 -4
  192. package/dist/elements/structure/TabContainer/TabContainerItem/index.d.ts +1 -1
  193. package/dist/elements/structure/TabContainer/index.d.ts +4 -4
  194. package/dist/index.d.ts +37 -36
  195. package/dist/index.mjs +62 -61
  196. package/dist/testUtils/elementTestUtils.d.ts +4 -0
  197. package/package.json +37 -53
  198. package/dist/dataSource/getBindingsDetails.d.ts +0 -10
  199. package/dist/dataSource/getBindingsDetails.mjs +0 -49
  200. package/dist/dataSource/utility/arrayMap.d.ts +0 -6
  201. package/dist/dataSource/utility/arrayMap.mjs +0 -28
  202. package/dist/dataSource/utility/capitalize.d.ts +0 -3
  203. package/dist/dataSource/utility/capitalize.mjs +0 -11
  204. package/dist/dataSource/utility/dateConverter.d.ts +0 -3
  205. package/dist/dataSource/utility/dateConverter.mjs +0 -60
  206. package/dist/dataSource/utility/index.d.ts +0 -7
  207. package/dist/dataSource/utility/index.mjs +0 -22
  208. package/dist/dataSource/utility/staticValue.d.ts +0 -3
  209. package/dist/dataSource/utility/staticValue.mjs +0 -47
  210. package/dist/dataSource/utility/stringToArray.d.ts +0 -3
  211. package/dist/dataSource/utility/stringToArray.mjs +0 -20
  212. package/dist/dataSource/utility/styleSelector.d.ts +0 -3
  213. package/dist/dataSource/utility/styleSelector.mjs +0 -42
  214. package/dist/dataSource/utility/twigTemplate.d.ts +0 -3
  215. package/dist/dataSource/utility/twigTemplate.mjs +0 -26
@@ -1,5 +1,5 @@
1
1
  declare const DropdownPopup: {
2
- (props: import('../../../../Element/hocs/withElement').WithElementProps<import('./DropdownPopup').DropdownPopupProps>): import("react/jsx-runtime").JSX.Element;
2
+ (props: import('../../../../Element/hocs/withElement').WithElementProps<import('./DropdownPopup').DropdownPopupProps>): import("react").JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  type: string;
@@ -9,5 +9,5 @@ type SettingsProps = {
9
9
  disabled?: boolean;
10
10
  onUpdate?: (key: string, value: string | boolean | number) => void;
11
11
  };
12
- declare const Settings: ({ popupPlacement, openPopup, backgroundDisabled, closeOnClickBackground, closeOnClickPopup, containerTopOffset, containerLeftOffset, disabled, onUpdate }: SettingsProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const Settings: ({ popupPlacement, openPopup, backgroundDisabled, closeOnClickBackground, closeOnClickPopup, containerTopOffset, containerLeftOffset, disabled, onUpdate }: SettingsProps) => import("react").JSX.Element;
13
13
  export default Settings;
@@ -1,5 +1,5 @@
1
1
  declare const Dropdown: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Dropdown').DropdownProps>): import("react/jsx-runtime").JSX.Element;
2
+ (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Dropdown').DropdownProps>): import("react").JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  type: string;
@@ -75,7 +75,7 @@ declare const Dropdown: {
75
75
  initialItems: string[];
76
76
  plugins: {
77
77
  dropdownPopup: {
78
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./DropdownPopup/DropdownPopup').DropdownPopupProps>): import("react/jsx-runtime").JSX.Element;
78
+ (props: import('../../../Element/hocs/withElement').WithElementProps<import('./DropdownPopup/DropdownPopup').DropdownPopupProps>): import("react").JSX.Element;
79
79
  displayName: string;
80
80
  } & {
81
81
  type: string;
@@ -93,7 +93,11 @@ var a = ({ ref: a, popupRef: o, open: s, placement: c = "bottom", disabled: l =
93
93
  x,
94
94
  S,
95
95
  v,
96
- n(() => !g || !a?.current || !o?.current ? void 0 : w(o.current.getBoundingClientRect()), [
96
+ n(() => {
97
+ if (!g || !a?.current || !o?.current) return;
98
+ let e = o.current.getBoundingClientRect();
99
+ return w(e);
100
+ }, [
97
101
  g,
98
102
  a,
99
103
  o,
@@ -5,9 +5,9 @@ export type HeadingProps = {
5
5
  content?: string;
6
6
  subType?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
7
7
  };
8
- declare const Heading: ({ ref, className, content, subType }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
8
+ declare const Heading: ({ ref, className, content, subType }: HeadingProps) => import("react").JSX.Element;
9
9
  declare const _default: {
10
- (props: import('../../../Element/hocs/withElement').WithElementProps<HeadingProps>): import("react/jsx-runtime").JSX.Element;
10
+ (props: import('../../../Element/hocs/withElement').WithElementProps<HeadingProps>): import("react").JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  export default _default;
@@ -1,23 +1,24 @@
1
- import e from "../../../Element/RootElement.mjs";
2
- import t from "../../../Element/hocs/withElement.mjs";
3
- import { use as n, useCallback as r, useMemo as i } from "react";
4
- import a from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
5
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
- import c from "clsx";
7
- import l from "@plitzi/sdk-shared/elements/hooks/useElement";
1
+ import e from "../../../Element/hooks/useElement.mjs";
2
+ import { RootElement as t } from "../../../Element/RootElement.mjs";
3
+ import n from "../../../Element/hocs/withElement.mjs";
4
+ import { use as r, useCallback as i, useMemo as a } from "react";
5
+ import o from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
6
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
+ import l from "clsx";
8
8
  import u from "@plitzi/plitzi-ui/ContentEditable";
9
- var d = t(({ ref: t, className: d = "", content: f = "Heading", subType: p = "h1" }) => {
10
- let { id: m } = l(), { settings: { previewMode: h }, contexts: { BuilderContext: g } } = a(), _ = g ? n(g) : void 0, v = i(() => typeof f != "string" && typeof f != "number" ? JSON.stringify(f) : !f && f !== "" && !h ? "Heading" : f, [f, h]), y = r((e) => !h && _?.updateElement(m, "content", e), [_?.updateElement, m]);
11
- return /* @__PURE__ */ s(e, {
12
- ref: t,
9
+ //#region src/elements/basic/Heading/Heading.tsx
10
+ var d = ({ ref: n, className: d = "", content: f = "Heading", subType: p = "h1" }) => {
11
+ let { id: m } = e(), { settings: { previewMode: h }, contexts: { BuilderContext: g } } = o(), _ = g ? r(g) : void 0, v = a(() => typeof f != "string" && typeof f != "number" ? JSON.stringify(f) : !f && f !== "" && !h ? "Heading" : f, [f, h]), y = i((e) => !h && _?.updateElement(m, "content", e), [_?.updateElement, m]);
12
+ return /* @__PURE__ */ c(t, {
13
+ ref: n,
13
14
  tag: h ? p : "div",
14
- className: c("plitzi-component__heading", { [`plitzi-component__heading-${p}`]: p }, d),
15
- children: [h && v, !h && /* @__PURE__ */ o(u, {
15
+ className: l("plitzi-component__heading", { [`plitzi-component__heading-${p}`]: p }, d),
16
+ children: [h && v, !h && /* @__PURE__ */ s(u, {
16
17
  value: v,
17
18
  onChange: y,
18
19
  openMode: "doubleClick"
19
20
  })]
20
21
  });
21
- });
22
+ }, f = n(d);
22
23
  //#endregion
23
- export { d as default };
24
+ export { d as Heading, f as default };
@@ -3,5 +3,5 @@ type SettingsProps = {
3
3
  content?: string;
4
4
  onUpdate?: (key: string, value: string | boolean | number) => void;
5
5
  };
6
- declare const Settings: ({ subType, content, onUpdate }: SettingsProps) => import("react/jsx-runtime").JSX.Element;
6
+ declare const Settings: ({ subType, content, onUpdate }: SettingsProps) => import("react").JSX.Element;
7
7
  export default Settings;
@@ -1,5 +1,5 @@
1
1
  declare const Heading: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Heading').HeadingProps>): import("react/jsx-runtime").JSX.Element;
2
+ (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Heading').HeadingProps>): import("react").JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  type: string;
@@ -7,9 +7,9 @@ export type LinkProps = {
7
7
  target?: 'self' | 'blank' | 'parent' | 'top';
8
8
  mode?: 'page' | 'internal' | 'external';
9
9
  };
10
- declare const Link: ({ ref, children, className, href, target, mode }: LinkProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Link: ({ ref, children, className, href, target, mode }: LinkProps) => import("react").JSX.Element;
11
11
  declare const _default: {
12
- (props: import('../../../Element/hocs/withElement').WithElementProps<LinkProps>): import("react/jsx-runtime").JSX.Element;
12
+ (props: import('../../../Element/hocs/withElement').WithElementProps<LinkProps>): import("react").JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  export default _default;
@@ -1,20 +1,21 @@
1
- import e from "../../../Element/RootElement.mjs";
2
- import t from "../../../Element/hocs/withElement.mjs";
3
- import { use as n, useMemo as r } from "react";
4
- import i from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
5
- import { createStoreHook as a } from "@plitzi/nexus/createStore";
6
- import { processTwig as o } from "@plitzi/sdk-shared/helpers/twigWrapper";
7
- import { jsx as s } from "react/jsx-runtime";
8
- import c from "clsx";
9
- import l from "@plitzi/sdk-shared/elements/hooks/useElement";
1
+ import e from "../../../Element/hooks/useElement.mjs";
2
+ import { RootElement as t } from "../../../Element/RootElement.mjs";
3
+ import n from "../../../Element/hocs/withElement.mjs";
4
+ import { use as r, useMemo as i } from "react";
5
+ import a from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
6
+ import { useCommonStore as o } from "@plitzi/sdk-shared/store";
7
+ import { processTwig as s } from "@plitzi/sdk-shared/helpers/twigWrapper";
8
+ import { jsx as c } from "react/jsx-runtime";
9
+ import l from "clsx";
10
10
  import { getPageFullPath as u } from "@plitzi/sdk-navigation/NavigationHelper";
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 } = a(), [[C, w]] = S(["pageDefinitions", "schema.pageFolders"]), T = r(() => {
11
+ //#region src/elements/basic/Link/Link.tsx
12
+ var d = ({ ref: n, children: d, className: f = "", href: p = "#", target: m = "self", mode: h = "page" }) => {
13
+ let { style: g } = e(), { settings: { previewMode: _ }, contexts: { NavigationContext: v } } = a(), { navigate: y, routeParams: b, queryParams: x } = r(v), [[S, C]] = o(["pageDefinitions", "schema.pageFolders"]), w = i(() => {
13
14
  if (h === "external") return p;
14
15
  let e = `/${p}`.replaceAll(/[/]+/gim, "/");
15
16
  if (h === "internal") {
16
17
  try {
17
- let t = o(e, {
18
+ let t = s(e, {
18
19
  ...x,
19
20
  ...b
20
21
  }, !0);
@@ -22,44 +23,44 @@ var d = t(({ ref: t, children: d, className: f = "", href: p = "#", target: m =
22
23
  } catch {}
23
24
  return e;
24
25
  }
25
- return u(C, w, p, !0);
26
+ return u(S, C, p, !0);
26
27
  }, [
27
28
  h,
28
29
  p,
30
+ S,
29
31
  C,
30
- w,
31
32
  x,
32
33
  b
33
- ]), E = (e) => {
34
- _ && (e.stopPropagation(), (h === "page" || h === "internal") && (e.preventDefault(), y(T)));
34
+ ]), T = (e) => {
35
+ _ && (e.stopPropagation(), (h === "page" || h === "internal") && (e.preventDefault(), y(w)));
35
36
  };
36
- return /* @__PURE__ */ s(e, {
37
+ return /* @__PURE__ */ c(t, {
37
38
  tag: "a",
38
- ...r(() => {
39
+ ...i(() => {
39
40
  let e = {
40
- ref: t,
41
+ ref: n,
41
42
  style: g,
42
43
  target: `_${m}`,
43
- className: c("plitzi-component__link", f)
44
+ className: l("plitzi-component__link", f)
44
45
  };
45
46
  return _ ? {
46
47
  ...e,
47
- href: T
48
+ href: w
48
49
  } : {
49
50
  ...e,
50
- "href-disabled": T
51
+ "href-disabled": w
51
52
  };
52
53
  }, [
53
- t,
54
+ n,
54
55
  g,
55
56
  m,
56
57
  f,
57
58
  _,
58
- T
59
+ w
59
60
  ]),
60
- onClick: E,
61
+ onClick: T,
61
62
  children: d
62
63
  });
63
- });
64
+ }, f = n(d);
64
65
  //#endregion
65
- export { d as default };
66
+ export { d as Link, f as default };
@@ -4,5 +4,5 @@ type SettingsProps = {
4
4
  target?: 'blank' | 'self' | 'parent' | 'top';
5
5
  onUpdate?: (key: string, value: string | boolean | number) => void;
6
6
  };
7
- declare const Settings: ({ mode, href, target, onUpdate }: SettingsProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Settings: ({ mode, href, target, onUpdate }: SettingsProps) => import("react").JSX.Element;
8
8
  export default Settings;
@@ -1,52 +1,52 @@
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
- import { get as a, pick as o } from "@plitzi/plitzi-ui/helpers";
4
- import { createStoreHook as s } from "@plitzi/nexus/createStore";
3
+ import { useCommonStore as a } from "@plitzi/sdk-shared/store";
4
+ import { get as o, pick as s } from "@plitzi/plitzi-ui/helpers";
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
8
  import f from "@plitzi/plitzi-ui/Select";
9
9
  //#region src/elements/basic/Link/Settings.tsx
10
10
  var p = ({ mode: p = "page", href: m = "#", target: h = "self", onUpdate: g }) => {
11
- let { contexts: { NetworkContext: _ } } = i(), { useStore: v } = s(), [[y, b, x]] = v([
11
+ let { contexts: { NetworkContext: _ } } = i(), [[v, y, b]] = a([
12
12
  "schema.flat",
13
13
  "schema.pages",
14
14
  "schema.pageFolders"
15
- ]), { server: S } = e(_), C = r(() => a(S, "domain", "https://subdomain.plitzi.app"), [S]), w = r(() => {
16
- let e = o(y, b);
15
+ ]), { server: x } = e(_), S = r(() => o(x, "domain", "https://subdomain.plitzi.app"), [x]), C = r(() => {
16
+ let e = s(v, y);
17
17
  return Object.keys(e).reduce((t, n) => {
18
- let r = e[n], i = a(r, "attributes.name", n), o = a(r, "attributes.default", !1);
18
+ let r = e[n], i = o(r, "attributes.name", n), a = o(r, "attributes.default", !1);
19
19
  return [...t, {
20
20
  key: n,
21
21
  label: i,
22
- defaultPage: o
22
+ defaultPage: a
23
23
  }];
24
24
  }, []);
25
- }, [y, b]), T = t((e) => (t) => g?.(e, t), [g]), E = t((e) => g?.("href", e), [g]), D = t((e) => {
25
+ }, [v, y]), w = t((e) => (t) => g?.(e, t), [g]), T = t((e) => g?.("href", e), [g]), E = t((e) => {
26
26
  if (g?.("mode", e), e !== "page") {
27
27
  g?.("href", "#");
28
28
  return;
29
29
  }
30
- let t = w.find((e) => e.defaultPage);
30
+ let t = C.find((e) => e.defaultPage);
31
31
  t && g?.("href", t.key);
32
- }, [g, w]);
32
+ }, [g, C]);
33
33
  n(() => {
34
34
  if (p === "page" && m === "#") {
35
- let e = w.find((e) => e.defaultPage);
35
+ let e = C.find((e) => e.defaultPage);
36
36
  e && g?.("href", e.key);
37
37
  }
38
38
  }, [
39
39
  p,
40
40
  m,
41
- w,
41
+ C,
42
42
  g
43
43
  ]);
44
- let O = r(() => p === "page" ? `${C}${u(y, x, m, !0)}` : m.replaceAll(/[/]+/gim, "/"), [
44
+ let D = r(() => p === "page" ? `${S}${u(v, b, m, !0)}` : m.replaceAll(/[/]+/gim, "/"), [
45
45
  p,
46
- y,
47
- x,
46
+ v,
47
+ b,
48
48
  m,
49
- C
49
+ S
50
50
  ]);
51
51
  return /* @__PURE__ */ l("div", {
52
52
  className: "flex h-full flex-col gap-4 py-2",
@@ -54,7 +54,7 @@ var p = ({ mode: p = "page", href: m = "#", target: h = "self", onUpdate: g }) =
54
54
  /* @__PURE__ */ l(f, {
55
55
  value: h,
56
56
  label: "Target",
57
- onChange: T("target"),
57
+ onChange: w("target"),
58
58
  size: "sm",
59
59
  children: [
60
60
  /* @__PURE__ */ c("option", {
@@ -78,7 +78,7 @@ var p = ({ mode: p = "page", href: m = "#", target: h = "self", onUpdate: g }) =
78
78
  /* @__PURE__ */ l(f, {
79
79
  value: p,
80
80
  label: "Mode",
81
- onChange: D,
81
+ onChange: E,
82
82
  size: "sm",
83
83
  children: [
84
84
  /* @__PURE__ */ c("option", {
@@ -98,7 +98,7 @@ var p = ({ mode: p = "page", href: m = "#", target: h = "self", onUpdate: g }) =
98
98
  p !== "page" && /* @__PURE__ */ c(d, {
99
99
  value: m,
100
100
  label: "Url",
101
- onChange: E,
101
+ onChange: T,
102
102
  size: "sm"
103
103
  }),
104
104
  p === "page" && /* @__PURE__ */ l("div", {
@@ -106,20 +106,20 @@ var p = ({ mode: p = "page", href: m = "#", target: h = "self", onUpdate: g }) =
106
106
  children: [/* @__PURE__ */ l(f, {
107
107
  value: m,
108
108
  label: "Url",
109
- onChange: E,
109
+ onChange: T,
110
110
  className: { inputContainer: "rounded-t" },
111
111
  size: "sm",
112
112
  children: [/* @__PURE__ */ c("option", {
113
113
  value: "",
114
114
  disabled: !0,
115
115
  children: "Select a page"
116
- }), w.map((e) => /* @__PURE__ */ c("option", {
116
+ }), C.map((e) => /* @__PURE__ */ c("option", {
117
117
  value: e.key,
118
118
  children: e.label
119
119
  }, e.key))]
120
120
  }), /* @__PURE__ */ c("div", {
121
121
  className: "truncate rounded-b border-r border-b border-l border-gray-200 p-1 text-xs",
122
- children: O
122
+ children: D
123
123
  })]
124
124
  })
125
125
  ]
@@ -1,5 +1,5 @@
1
1
  declare const Link: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Link').LinkProps>): import("react/jsx-runtime").JSX.Element;
2
+ (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Link').LinkProps>): import("react").JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  type: string;
@@ -4,9 +4,9 @@ export type MarkdownProps = {
4
4
  className: string;
5
5
  content: string;
6
6
  };
7
- declare const Markdown: ({ ref, content, className }: MarkdownProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Markdown: ({ ref, content, className }: MarkdownProps) => import("react").JSX.Element;
8
8
  declare const _default: {
9
- (props: import('../../../Element/hocs/withElement').WithElementProps<MarkdownProps>): import("react/jsx-runtime").JSX.Element;
9
+ (props: import('../../../Element/hocs/withElement').WithElementProps<MarkdownProps>): import("react").JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  export default _default;
@@ -1,16 +1,17 @@
1
- import e from "../../../Element/RootElement.mjs";
1
+ import { RootElement as e } from "../../../Element/RootElement.mjs";
2
2
  import t from "../../../Element/hocs/withElement.mjs";
3
3
  import n from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  import i from "clsx";
6
6
  import a from "@plitzi/plitzi-ui/Markdown";
7
- var o = t(({ ref: t, content: o = "Markdown", className: s = "" }) => {
7
+ //#region src/elements/basic/Markdown/Markdown.tsx
8
+ var o = ({ ref: t, content: o = "Markdown", className: s = "" }) => {
8
9
  let { settings: { previewMode: c } } = n();
9
10
  return /* @__PURE__ */ r(e, {
10
11
  ref: t,
11
12
  className: i("plitzi-component__markdown", { "plitzi-component__markdown--edit-mode": !c }, s),
12
13
  children: /* @__PURE__ */ r(a, { children: o })
13
14
  });
14
- });
15
+ }, s = t(o);
15
16
  //#endregion
16
- export { o as default };
17
+ export { o as Markdown, s as default };
@@ -2,5 +2,5 @@ type SettingsProps = {
2
2
  content?: string;
3
3
  onUpdate?: (key: string, value: string | boolean | number) => void;
4
4
  };
5
- declare const Settings: ({ content, onUpdate }: SettingsProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const Settings: ({ content, onUpdate }: SettingsProps) => import("react").JSX.Element;
6
6
  export default Settings;
@@ -1,5 +1,5 @@
1
1
  declare const Markdown: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Markdown').MarkdownProps>): import("react/jsx-runtime").JSX.Element;
2
+ (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Markdown').MarkdownProps>): import("react").JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  type: string;
@@ -4,9 +4,9 @@ export type ParagraphProps = {
4
4
  content?: string | number;
5
5
  className?: string;
6
6
  };
7
- declare const Paragraph: ({ ref, content, className }: ParagraphProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Paragraph: ({ ref, content, className }: ParagraphProps) => import("react").JSX.Element;
8
8
  declare const _default: {
9
- (props: import('../../../Element/hocs/withElement').WithElementProps<ParagraphProps>): import("react/jsx-runtime").JSX.Element;
9
+ (props: import('../../../Element/hocs/withElement').WithElementProps<ParagraphProps>): import("react").JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  export default _default;
@@ -1,24 +1,25 @@
1
- import e from "../../../Element/RootElement.mjs";
2
- import t from "../../../Element/hocs/withElement.mjs";
3
- import { use as n, useCallback as r, useMemo as i } from "react";
4
- import a from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
5
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
- import c from "clsx";
7
- import l from "@plitzi/sdk-shared/elements/hooks/useElement";
1
+ import e from "../../../Element/hooks/useElement.mjs";
2
+ import { RootElement as t } from "../../../Element/RootElement.mjs";
3
+ import n from "../../../Element/hocs/withElement.mjs";
4
+ import { use as r, useCallback as i, useMemo as a } from "react";
5
+ import o from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
6
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
+ import l from "clsx";
8
8
  import u from "@plitzi/plitzi-ui/ContentEditable";
9
- var d = t(({ ref: t, content: d = "Paragraph", className: f = "" }) => {
10
- let { id: p } = l(), { settings: { previewMode: m }, contexts: { BuilderContext: h } } = a(), g = h ? n(h) : void 0, _ = i(() => typeof d != "string" && typeof d != "number" ? JSON.stringify(d) : !d && d !== "" && !m ? "Paragraph" : typeof d == "number" ? `${d}` : d, [d, m]), v = r((e) => g?.updateElement(p, "content", e), [g, p]);
11
- return /* @__PURE__ */ s(e, {
12
- ref: t,
9
+ //#region src/elements/basic/Paragraph/Paragraph.tsx
10
+ var d = ({ ref: n, content: d = "Paragraph", className: f = "" }) => {
11
+ let { id: p } = e(), { settings: { previewMode: m }, contexts: { BuilderContext: h } } = o(), g = h ? r(h) : void 0, _ = a(() => typeof d != "string" && typeof d != "number" ? JSON.stringify(d) : !d && d !== "" && !m ? "Paragraph" : typeof d == "number" ? `${d}` : d, [d, m]), v = i((e) => g?.updateElement(p, "content", e), [g, p]);
12
+ return /* @__PURE__ */ c(t, {
13
+ ref: n,
13
14
  tag: m ? "p" : "div",
14
- className: c("plitzi-component__paragraph", f),
15
- children: [m && _, !m && /* @__PURE__ */ o(u, {
15
+ className: l("plitzi-component__paragraph", f),
16
+ children: [m && _, !m && /* @__PURE__ */ s(u, {
16
17
  className: "",
17
18
  value: _,
18
19
  onChange: v,
19
20
  openMode: "doubleClick"
20
21
  })]
21
22
  });
22
- });
23
+ }, f = n(d);
23
24
  //#endregion
24
- export { d as default };
25
+ export { d as Paragraph, f as default };
@@ -2,5 +2,5 @@ type SettingsProps = {
2
2
  content?: string;
3
3
  onUpdate?: (key: string, value: string | boolean | number) => void;
4
4
  };
5
- declare const Settings: ({ content, onUpdate }: SettingsProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const Settings: ({ content, onUpdate }: SettingsProps) => import("react").JSX.Element;
6
6
  export default Settings;
@@ -1,5 +1,5 @@
1
1
  declare const Paragraph: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Paragraph').ParagraphProps>): import("react/jsx-runtime").JSX.Element;
2
+ (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Paragraph').ParagraphProps>): import("react").JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  type: string;
@@ -2,5 +2,5 @@ type SettingsProps = {
2
2
  content?: string;
3
3
  onUpdate?: (key: string, value: string | boolean | number) => void;
4
4
  };
5
- declare const Settings: ({ content, onUpdate }: SettingsProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const Settings: ({ content, onUpdate }: SettingsProps) => import("react").JSX.Element;
6
6
  export default Settings;
@@ -4,9 +4,9 @@ export type TextProps = {
4
4
  className?: string;
5
5
  content?: string | number;
6
6
  };
7
- declare const Text: ({ ref, content, className }: TextProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Text: ({ ref, content, className }: TextProps) => import("react").JSX.Element;
8
8
  declare const _default: {
9
- (props: import('../../../Element/hocs/withElement').WithElementProps<TextProps>): import("react/jsx-runtime").JSX.Element;
9
+ (props: import('../../../Element/hocs/withElement').WithElementProps<TextProps>): import("react").JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  export default _default;
@@ -1,23 +1,24 @@
1
- import e from "../../../Element/RootElement.mjs";
2
- import t from "../../../Element/hocs/withElement.mjs";
3
- import { use as n, useCallback as r, useMemo as i } from "react";
4
- import a from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
5
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
- import c from "clsx";
7
- import l from "@plitzi/sdk-shared/elements/hooks/useElement";
1
+ import e from "../../../Element/hooks/useElement.mjs";
2
+ import { RootElement as t } from "../../../Element/RootElement.mjs";
3
+ import n from "../../../Element/hocs/withElement.mjs";
4
+ import { use as r, useCallback as i, useMemo as a } from "react";
5
+ import o from "@plitzi/sdk-shared/hooks/usePlitziServiceContext";
6
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
+ import l from "clsx";
8
8
  import u from "@plitzi/plitzi-ui/ContentEditable";
9
- var d = t(({ ref: t, content: d = "Text", className: f = "" }) => {
10
- let { id: p } = l(), { settings: { previewMode: m }, contexts: { BuilderContext: h } } = a(), g = h ? n(h) : void 0, _ = i(() => typeof d != "string" && typeof d != "number" ? JSON.stringify(d) : !d && d !== "" && !m ? "Text" : typeof d == "number" ? `${d}` : d, [d, m]), v = r((e) => g?.updateElement(p, "content", e), [g, p]);
11
- return /* @__PURE__ */ s(e, {
12
- ref: t,
13
- className: c("plitzi-component__text", f),
14
- children: [m && _, !m && /* @__PURE__ */ o(u, {
9
+ //#region src/elements/basic/Text/Text.tsx
10
+ var d = ({ ref: n, content: d = "Text", className: f = "" }) => {
11
+ let { id: p } = e(), { settings: { previewMode: m }, contexts: { BuilderContext: h } } = o(), g = h ? r(h) : void 0, _ = a(() => typeof d != "string" && typeof d != "number" ? JSON.stringify(d) : !d && d !== "" && !m ? "Text" : typeof d == "number" ? `${d}` : d, [d, m]), v = i((e) => g?.updateElement(p, "content", e), [g, p]);
12
+ return /* @__PURE__ */ c(t, {
13
+ ref: n,
14
+ className: l("plitzi-component__text", f),
15
+ children: [m && _, !m && /* @__PURE__ */ s(u, {
15
16
  className: "focus-visible:outline-hidden",
16
17
  value: _,
17
18
  onChange: v,
18
19
  openMode: "doubleClick"
19
20
  })]
20
21
  });
21
- });
22
+ }, f = n(d);
22
23
  //#endregion
23
- export { d as default };
24
+ export { d as Text, f as default };
@@ -1,5 +1,5 @@
1
1
  declare const Text: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Text').TextProps>): import("react/jsx-runtime").JSX.Element;
2
+ (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Text').TextProps>): import("react").JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  type: string;
@@ -16,18 +16,16 @@ export type Field = {
16
16
  };
17
17
  export type FieldValue = string | boolean | number;
18
18
  export type FormContextValue = {
19
- fields: Record<string, SourceField>;
20
19
  errors: Record<string, string>;
21
20
  values: Record<string, unknown>;
22
21
  registerField: (field: SourceField) => void;
23
22
  unregisterField: (name: string) => void;
24
- getField: (name: string) => SourceField | Record<string, SourceField>;
25
23
  setFieldValue: (name: string, value: FieldValue | null) => void;
26
24
  setFieldError: (name: string, error: string) => void;
27
25
  };
28
- declare const Form: ({ ref, className, children, method, actionUrl, managedByInteractions, errors, values }: FormProps) => import("react/jsx-runtime").JSX.Element;
26
+ declare const Form: ({ ref, className, children, method, actionUrl, managedByInteractions, errors, values }: FormProps) => import("react").JSX.Element;
29
27
  declare const _default: {
30
- (props: import('../../../Element/hocs/withElement').WithElementProps<FormProps>): import("react/jsx-runtime").JSX.Element;
28
+ (props: import('../../../Element/hocs/withElement').WithElementProps<FormProps>): import("react").JSX.Element;
31
29
  displayName: string;
32
30
  };
33
31
  export default _default;