@plitzi/sdk-elements 0.32.0 → 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.
- package/CHANGELOG.md +30 -0
- package/dist/Component/ComponentHelper.d.ts +2 -2
- package/dist/Component/ComponentHelper.mjs +3 -12
- package/dist/Component/ComponentProvider.d.ts +1 -1
- package/dist/Element/ElementContext.d.ts +19 -0
- package/dist/Element/ElementContext.mjs +6 -0
- package/dist/Element/JsxManager.d.ts +1 -1
- package/dist/Element/JsxManager.mjs +23 -29
- package/dist/Element/PluginManager.d.ts +1 -1
- package/dist/Element/PluginRemote.d.ts +1 -1
- package/dist/Element/ReplicaProvider.d.ts +1 -1
- package/dist/Element/RootElement.d.ts +3 -2
- package/dist/Element/RootElement.mjs +53 -111
- package/dist/Element/element.bench.d.ts +1 -0
- package/dist/Element/helpers/elementUtils.mjs +1 -1
- package/dist/Element/helpers/omitKeys.d.ts +1 -0
- package/dist/Element/helpers/omitKeys.mjs +8 -0
- package/dist/Element/helpers/pluginSelector.d.ts +9 -1
- package/dist/Element/helpers/pluginSelector.mjs +1 -1
- package/dist/Element/helpers/renderStaticTag.d.ts +17 -0
- package/dist/Element/helpers/renderStaticTag.mjs +13 -0
- package/dist/Element/hocs/withElement.d.ts +1 -1
- package/dist/Element/hocs/withElement.mjs +96 -71
- package/dist/Element/hooks/useElement.d.ts +3 -0
- package/dist/Element/hooks/useElement.mjs +10 -0
- package/dist/Element/hooks/useElementDataSource.mjs +4 -4
- package/dist/Element/hooks/useElementInteractions.mjs +21 -29
- package/dist/Element/hooks/useElementInternal.d.ts +16 -4
- package/dist/Element/hooks/useElementInternal.mjs +53 -52
- package/dist/Element/hooks/useElementState.d.ts +2 -2
- package/dist/Element/hooks/useElementState.mjs +26 -19
- package/dist/Element/hooks/useInternalItems.mjs +27 -25
- package/dist/Element/hooks/useRootElementInteractions.d.ts +21 -0
- package/dist/Element/hooks/useRootElementInteractions.mjs +69 -0
- package/dist/Element/hooks/useRscData.d.ts +8 -0
- package/dist/Element/hooks/useRscData.mjs +16 -0
- package/dist/components/ElementAdvancedEditor.d.ts +1 -1
- package/dist/dataSource/GlobalSources.mjs +77 -81
- package/dist/dataSource/index.d.ts +0 -2
- package/dist/dataSource/index.mjs +3 -5
- package/dist/elements/advanced/BlockHtml/BlockHtml.d.ts +2 -2
- package/dist/elements/advanced/BlockHtml/BlockHtml.mjs +5 -4
- package/dist/elements/advanced/BlockHtml/Settings.d.ts +1 -1
- package/dist/elements/advanced/BlockHtml/index.d.ts +1 -1
- package/dist/elements/advanced/BlockJsx/BlockJsx.d.ts +2 -2
- package/dist/elements/advanced/BlockJsx/BlockJsx.mjs +20 -19
- package/dist/elements/advanced/BlockJsx/Settings.d.ts +1 -1
- package/dist/elements/advanced/BlockJsx/index.d.ts +1 -1
- package/dist/elements/advanced/Custom/Custom.d.ts +2 -2
- package/dist/elements/advanced/Custom/Custom.mjs +26 -25
- package/dist/elements/advanced/Custom/Settings.d.ts +1 -1
- package/dist/elements/advanced/Custom/index.d.ts +1 -1
- package/dist/elements/advanced/NodeHtml/NodeHtml.d.ts +2 -2
- package/dist/elements/advanced/NodeHtml/NodeHtml.mjs +5 -4
- package/dist/elements/advanced/NodeHtml/Settings.d.ts +1 -1
- package/dist/elements/advanced/NodeHtml/index.d.ts +1 -1
- package/dist/elements/advanced/PlitziSdk/Settings.d.ts +1 -1
- package/dist/elements/advanced/Reference/Reference.d.ts +2 -2
- package/dist/elements/advanced/Reference/Reference.mjs +69 -68
- package/dist/elements/advanced/Reference/Settings.d.ts +1 -1
- package/dist/elements/advanced/Reference/Settings.mjs +32 -32
- package/dist/elements/advanced/Reference/index.d.ts +1 -1
- package/dist/elements/basic/Button/Button.d.ts +2 -2
- package/dist/elements/basic/Button/Button.mjs +15 -14
- package/dist/elements/basic/Button/Settings.d.ts +1 -1
- package/dist/elements/basic/Button/index.d.ts +1 -1
- package/dist/elements/basic/Dropdown/Dropdown.d.ts +2 -2
- package/dist/elements/basic/Dropdown/Dropdown.mjs +24 -23
- package/dist/elements/basic/Dropdown/DropdownPopup/DropdownPopup.d.ts +2 -2
- package/dist/elements/basic/Dropdown/DropdownPopup/DropdownPopup.mjs +5 -4
- package/dist/elements/basic/Dropdown/DropdownPopup/Settings.d.ts +1 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/index.d.ts +1 -1
- package/dist/elements/basic/Dropdown/Settings.d.ts +1 -1
- package/dist/elements/basic/Dropdown/index.d.ts +2 -2
- package/dist/elements/basic/Dropdown/useDropdown.mjs +5 -1
- package/dist/elements/basic/Heading/Heading.d.ts +2 -2
- package/dist/elements/basic/Heading/Heading.mjs +16 -15
- package/dist/elements/basic/Heading/Settings.d.ts +1 -1
- package/dist/elements/basic/Heading/index.d.ts +1 -1
- package/dist/elements/basic/Link/Link.d.ts +2 -2
- package/dist/elements/basic/Link/Link.mjs +28 -27
- package/dist/elements/basic/Link/Settings.d.ts +1 -1
- package/dist/elements/basic/Link/Settings.mjs +22 -22
- package/dist/elements/basic/Link/index.d.ts +1 -1
- package/dist/elements/basic/Markdown/Markdown.d.ts +2 -2
- package/dist/elements/basic/Markdown/Markdown.mjs +5 -4
- package/dist/elements/basic/Markdown/Settings.d.ts +1 -1
- package/dist/elements/basic/Markdown/index.d.ts +1 -1
- package/dist/elements/basic/Paragraph/Paragraph.d.ts +2 -2
- package/dist/elements/basic/Paragraph/Paragraph.mjs +16 -15
- package/dist/elements/basic/Paragraph/Settings.d.ts +1 -1
- package/dist/elements/basic/Paragraph/index.d.ts +1 -1
- package/dist/elements/basic/Text/Settings.d.ts +1 -1
- package/dist/elements/basic/Text/Text.d.ts +2 -2
- package/dist/elements/basic/Text/Text.mjs +16 -15
- package/dist/elements/basic/Text/index.d.ts +1 -1
- package/dist/elements/form/Form/Form.d.ts +2 -4
- package/dist/elements/form/Form/Form.mjs +54 -58
- package/dist/elements/form/Form/Settings.d.ts +1 -1
- package/dist/elements/form/Form/index.d.ts +2 -2
- package/dist/elements/form/FormControl/FormControl.d.ts +2 -2
- package/dist/elements/form/FormControl/FormControl.mjs +39 -38
- package/dist/elements/form/FormControl/Settings.d.ts +1 -1
- package/dist/elements/form/FormControl/components/Label.d.ts +1 -1
- package/dist/elements/form/FormControl/hocs/withFieldValue.d.ts +1 -1
- package/dist/elements/form/FormControl/hocs/withFieldValue.mjs +1 -1
- package/dist/elements/form/FormControl/index.d.ts +2 -2
- package/dist/elements/form/FormControl/inputs/Checkbox.d.ts +1 -1
- package/dist/elements/form/FormControl/inputs/Hidden.d.ts +1 -1
- package/dist/elements/form/FormControl/inputs/Input.d.ts +1 -1
- package/dist/elements/form/FormControl/inputs/Select.d.ts +1 -1
- package/dist/elements/form/FormControl/inputs/Textarea.d.ts +1 -1
- package/dist/elements/internal/LayoutContainer/LayoutContainer.d.ts +2 -2
- package/dist/elements/internal/LayoutContainer/LayoutContainer.mjs +27 -26
- package/dist/elements/internal/LayoutContainer/Settings.d.ts +1 -1
- package/dist/elements/internal/LayoutContainer/Settings.mjs +7 -7
- package/dist/elements/internal/LayoutContainer/index.d.ts +1 -1
- package/dist/elements/internal/Loading/Loading.d.ts +2 -2
- package/dist/elements/internal/Loading/Loading.mjs +14 -13
- package/dist/elements/internal/Loading/index.d.ts +1 -1
- package/dist/elements/internal/NotFound/NotFound.d.ts +2 -2
- package/dist/elements/internal/NotFound/NotFound.mjs +16 -15
- package/dist/elements/internal/NotFound/index.d.ts +1 -1
- package/dist/elements/internal/Page/Page.d.ts +2 -2
- package/dist/elements/internal/Page/Page.mjs +20 -19
- package/dist/elements/internal/Page/Settings.d.ts +1 -1
- package/dist/elements/internal/Page/Settings.mjs +34 -34
- package/dist/elements/internal/Page/index.d.ts +1 -1
- package/dist/elements/media/FontAwesome/FontAwesome.d.ts +2 -2
- package/dist/elements/media/FontAwesome/FontAwesome.mjs +5 -4
- package/dist/elements/media/FontAwesome/Settings.d.ts +1 -1
- package/dist/elements/media/FontAwesome/Settings.mjs +3 -1
- package/dist/elements/media/FontAwesome/index.d.ts +1 -1
- package/dist/elements/media/Image/Image.d.ts +2 -2
- package/dist/elements/media/Image/Image.mjs +4 -4
- package/dist/elements/media/Image/Settings.d.ts +1 -1
- package/dist/elements/media/Image/index.d.ts +1 -1
- package/dist/elements/media/Video/Settings.d.ts +1 -1
- package/dist/elements/media/Video/Video.d.ts +2 -2
- package/dist/elements/media/Video/Video.mjs +5 -4
- package/dist/elements/media/Video/index.d.ts +1 -1
- package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +2 -2
- package/dist/elements/provider/ApiContainer/ApiContainer.mjs +33 -32
- package/dist/elements/provider/ApiContainer/Settings.d.ts +1 -1
- package/dist/elements/provider/ApiContainer/Settings.mjs +19 -19
- package/dist/elements/provider/ApiContainer/index.d.ts +1 -1
- package/dist/elements/provider/CollectionContainer/CollectionContainer.d.ts +2 -2
- package/dist/elements/provider/CollectionContainer/CollectionContainer.mjs +23 -22
- package/dist/elements/provider/CollectionContainer/Settings.d.ts +1 -1
- package/dist/elements/provider/CollectionContainer/hooks/useCollectionContext.mjs +38 -38
- package/dist/elements/provider/CollectionContainer/index.d.ts +1 -1
- package/dist/elements/structure/Container/Container.d.ts +2 -2
- package/dist/elements/structure/Container/Container.mjs +5 -4
- package/dist/elements/structure/Container/Settings.d.ts +1 -1
- package/dist/elements/structure/Container/index.d.ts +1 -1
- package/dist/elements/structure/DialogContainer/DialogContainer.d.ts +2 -2
- package/dist/elements/structure/DialogContainer/DialogContainer.mjs +49 -46
- package/dist/elements/structure/DialogContainer/Settings.d.ts +1 -1
- package/dist/elements/structure/DialogContainer/index.d.ts +1 -1
- package/dist/elements/structure/List/List.d.ts +2 -2
- package/dist/elements/structure/List/List.mjs +4 -3
- package/dist/elements/structure/List/ListItem/ListItem.d.ts +2 -2
- package/dist/elements/structure/List/ListItem/ListItem.mjs +5 -4
- package/dist/elements/structure/List/ListItem/Settings.d.ts +1 -1
- package/dist/elements/structure/List/ListItem/index.d.ts +1 -1
- package/dist/elements/structure/List/Settings.d.ts +1 -1
- package/dist/elements/structure/List/index.d.ts +2 -2
- package/dist/elements/structure/List/modes/ListBasic.d.ts +1 -1
- package/dist/elements/structure/List/modes/ListBasic.mjs +1 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlled.d.ts +1 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlled.mjs +25 -25
- package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.d.ts +1 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.mjs +24 -23
- package/dist/elements/structure/ModalContainer/ModalContainer.d.ts +2 -2
- package/dist/elements/structure/ModalContainer/ModalContainer.mjs +40 -37
- package/dist/elements/structure/ModalContainer/Settings.d.ts +1 -1
- package/dist/elements/structure/ModalContainer/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainer.d.ts +2 -2
- package/dist/elements/structure/TabContainer/TabContainer.mjs +5 -4
- package/dist/elements/structure/TabContainer/TabContainerBody/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.d.ts +2 -2
- package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.mjs +5 -4
- package/dist/elements/structure/TabContainer/TabContainerBody/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerHeader/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.d.ts +2 -2
- package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.mjs +5 -4
- package/dist/elements/structure/TabContainer/TabContainerHeader/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.d.ts +2 -2
- package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.mjs +5 -4
- package/dist/elements/structure/TabContainer/TabContainerItem/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/index.d.ts +4 -4
- package/dist/index.d.ts +37 -36
- package/dist/index.mjs +62 -61
- package/dist/testUtils/elementTestUtils.d.ts +4 -0
- package/package.json +37 -53
- package/dist/dataSource/getBindingsDetails.d.ts +0 -10
- package/dist/dataSource/getBindingsDetails.mjs +0 -49
- package/dist/dataSource/utility/arrayMap.d.ts +0 -6
- package/dist/dataSource/utility/arrayMap.mjs +0 -28
- package/dist/dataSource/utility/capitalize.d.ts +0 -3
- package/dist/dataSource/utility/capitalize.mjs +0 -11
- package/dist/dataSource/utility/dateConverter.d.ts +0 -3
- package/dist/dataSource/utility/dateConverter.mjs +0 -60
- package/dist/dataSource/utility/index.d.ts +0 -7
- package/dist/dataSource/utility/index.mjs +0 -22
- package/dist/dataSource/utility/staticValue.d.ts +0 -3
- package/dist/dataSource/utility/staticValue.mjs +0 -47
- package/dist/dataSource/utility/stringToArray.d.ts +0 -3
- package/dist/dataSource/utility/stringToArray.mjs +0 -20
- package/dist/dataSource/utility/styleSelector.d.ts +0 -3
- package/dist/dataSource/utility/styleSelector.mjs +0 -42
- package/dist/dataSource/utility/twigTemplate.d.ts +0 -3
- package/dist/dataSource/utility/twigTemplate.mjs +0 -26
|
@@ -3,5 +3,5 @@ type SettingsProps = {
|
|
|
3
3
|
autoHideAfterClick?: boolean;
|
|
4
4
|
onUpdate?: (key: string, value: string | boolean | number) => void;
|
|
5
5
|
};
|
|
6
|
-
declare const Settings: ({ title, autoHideAfterClick, onUpdate }: SettingsProps) => import("react
|
|
6
|
+
declare const Settings: ({ title, autoHideAfterClick, onUpdate }: SettingsProps) => import("react").JSX.Element;
|
|
7
7
|
export default Settings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const ModalContainer: {
|
|
2
|
-
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./ModalContainer').ModalContainerProps>): import("react
|
|
2
|
+
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./ModalContainer').ModalContainerProps>): import("react").JSX.Element;
|
|
3
3
|
displayName: string;
|
|
4
4
|
} & {
|
|
5
5
|
type: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Settings: () => import("react
|
|
1
|
+
declare const Settings: () => import("react").JSX.Element;
|
|
2
2
|
export default Settings;
|
|
@@ -4,9 +4,9 @@ export type TabContainerProps = {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const TabContainer: ({ ref, className, children }: TabContainerProps) => import("react
|
|
7
|
+
declare const TabContainer: ({ ref, className, children }: TabContainerProps) => import("react").JSX.Element;
|
|
8
8
|
declare const _default: {
|
|
9
|
-
(props: import('../../../Element/hocs/withElement').WithElementProps<TabContainerProps>): import("react
|
|
9
|
+
(props: import('../../../Element/hocs/withElement').WithElementProps<TabContainerProps>): import("react").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import e from "../../../Element/RootElement.mjs";
|
|
1
|
+
import { RootElement as e } from "../../../Element/RootElement.mjs";
|
|
2
2
|
import t from "./TabContainerContext.mjs";
|
|
3
3
|
import n from "../../../Element/hocs/withElement.mjs";
|
|
4
4
|
import { useMemo as r, useState as i } from "react";
|
|
5
5
|
import { jsx as a } from "react/jsx-runtime";
|
|
6
6
|
import o from "clsx";
|
|
7
|
-
|
|
7
|
+
//#region src/elements/structure/TabContainer/TabContainer.tsx
|
|
8
|
+
var s = ({ ref: n, className: s = "", children: c }) => {
|
|
8
9
|
let [l, u] = i(0), d = r(() => ({
|
|
9
10
|
tabSelected: l,
|
|
10
11
|
onSelect: u
|
|
@@ -17,6 +18,6 @@ var s = n(({ ref: n, className: s = "", children: c }) => {
|
|
|
17
18
|
children: c
|
|
18
19
|
})
|
|
19
20
|
});
|
|
20
|
-
});
|
|
21
|
+
}, c = n(s);
|
|
21
22
|
//#endregion
|
|
22
|
-
export { s as default };
|
|
23
|
+
export { s as TabContainer, c as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Settings: () => import("react
|
|
1
|
+
declare const Settings: () => import("react").JSX.Element;
|
|
2
2
|
export default Settings;
|
|
@@ -4,9 +4,9 @@ export type TabContainerBodyProps = {
|
|
|
4
4
|
className: string;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const TabContainerBody: ({ ref, className, children }: TabContainerBodyProps) => import("react
|
|
7
|
+
declare const TabContainerBody: ({ ref, className, children }: TabContainerBodyProps) => import("react").JSX.Element;
|
|
8
8
|
declare const _default: {
|
|
9
|
-
(props: import('../../../../Element/hocs/withElement').WithElementProps<TabContainerBodyProps>): import("react
|
|
9
|
+
(props: import('../../../../Element/hocs/withElement').WithElementProps<TabContainerBodyProps>): import("react").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import e from "../../../../Element/RootElement.mjs";
|
|
1
|
+
import { RootElement as e } from "../../../../Element/RootElement.mjs";
|
|
2
2
|
import t from "../TabContainerContext.mjs";
|
|
3
3
|
import n from "../../../../Element/hocs/withElement.mjs";
|
|
4
4
|
import { Children as r, cloneElement as i, isValidElement as a, use as o, useMemo as s } from "react";
|
|
5
5
|
import { jsx as c } from "react/jsx-runtime";
|
|
6
6
|
import l from "clsx";
|
|
7
|
-
|
|
7
|
+
//#region src/elements/structure/TabContainer/TabContainerBody/TabContainerBody.tsx
|
|
8
|
+
var u = ({ ref: n, className: u = "", children: d }) => {
|
|
8
9
|
let { tabSelected: f, onSelect: p } = o(t), { childrenParsed: m } = s(() => {
|
|
9
10
|
let e = { childrenParsed: [] };
|
|
10
11
|
return r.forEach(d, (t, n) => {
|
|
@@ -30,6 +31,6 @@ var u = n(({ ref: n, className: u = "", children: d }) => {
|
|
|
30
31
|
className: l("plitzi-component__tab-container-body", u),
|
|
31
32
|
children: m
|
|
32
33
|
});
|
|
33
|
-
});
|
|
34
|
+
}, d = n(u);
|
|
34
35
|
//#endregion
|
|
35
|
-
export { u as default };
|
|
36
|
+
export { u as TabContainerBody, d as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const TabContainerBody: {
|
|
2
|
-
(props: import('../../../../Element/hocs/withElement').WithElementProps<import('./TabContainerBody').TabContainerBodyProps>): import("react
|
|
2
|
+
(props: import('../../../../Element/hocs/withElement').WithElementProps<import('./TabContainerBody').TabContainerBodyProps>): import("react").JSX.Element;
|
|
3
3
|
displayName: string;
|
|
4
4
|
} & {
|
|
5
5
|
type: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Settings: () => import("react
|
|
1
|
+
declare const Settings: () => import("react").JSX.Element;
|
|
2
2
|
export default Settings;
|
|
@@ -4,9 +4,9 @@ export type TabContainerHeaderProps = {
|
|
|
4
4
|
className: string;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const TabContainerHeader: ({ ref, className, children }: TabContainerHeaderProps) => import("react
|
|
7
|
+
declare const TabContainerHeader: ({ ref, className, children }: TabContainerHeaderProps) => import("react").JSX.Element;
|
|
8
8
|
declare const _default: {
|
|
9
|
-
(props: import('../../../../Element/hocs/withElement').WithElementProps<TabContainerHeaderProps>): import("react
|
|
9
|
+
(props: import('../../../../Element/hocs/withElement').WithElementProps<TabContainerHeaderProps>): import("react").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import e from "../../../../Element/RootElement.mjs";
|
|
1
|
+
import { RootElement as e } from "../../../../Element/RootElement.mjs";
|
|
2
2
|
import t from "../TabContainerContext.mjs";
|
|
3
3
|
import n from "../../../../Element/hocs/withElement.mjs";
|
|
4
4
|
import { Children as r, cloneElement as i, isValidElement as a, use as o, useMemo as s } from "react";
|
|
5
5
|
import { jsx as c } from "react/jsx-runtime";
|
|
6
6
|
import l from "clsx";
|
|
7
|
-
|
|
7
|
+
//#region src/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.tsx
|
|
8
|
+
var u = ({ ref: n, className: u = "", children: d }) => {
|
|
8
9
|
let { tabSelected: f, onSelect: p } = o(t), { childrenParsed: m } = s(() => {
|
|
9
10
|
let e = { childrenParsed: [] };
|
|
10
11
|
return r.forEach(d, (t, n) => {
|
|
@@ -31,6 +32,6 @@ var u = n(({ ref: n, className: u = "", children: d }) => {
|
|
|
31
32
|
className: l("plitzi-component__tab-container-header", u),
|
|
32
33
|
children: m
|
|
33
34
|
});
|
|
34
|
-
});
|
|
35
|
+
}, d = n(u);
|
|
35
36
|
//#endregion
|
|
36
|
-
export { u as default };
|
|
37
|
+
export { u as TabContainerHeader, d as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const TabContainerHeader: {
|
|
2
|
-
(props: import('../../../../Element/hocs/withElement').WithElementProps<import('./TabContainerHeader').TabContainerHeaderProps>): import("react
|
|
2
|
+
(props: import('../../../../Element/hocs/withElement').WithElementProps<import('./TabContainerHeader').TabContainerHeaderProps>): import("react").JSX.Element;
|
|
3
3
|
displayName: string;
|
|
4
4
|
} & {
|
|
5
5
|
type: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Settings: () => import("react
|
|
1
|
+
declare const Settings: () => import("react").JSX.Element;
|
|
2
2
|
export default Settings;
|
|
@@ -8,9 +8,9 @@ export type TabContainerItemProps = {
|
|
|
8
8
|
isHeader?: boolean;
|
|
9
9
|
onSelect?: Dispatch<SetStateAction<number>>;
|
|
10
10
|
};
|
|
11
|
-
declare const TabContainerItem: ({ className, children, ref, tabSelected, tabIndex, isHeader, onSelect }: TabContainerItemProps) => import("react
|
|
11
|
+
declare const TabContainerItem: ({ className, children, ref, tabSelected, tabIndex, isHeader, onSelect }: TabContainerItemProps) => import("react").JSX.Element;
|
|
12
12
|
declare const _default: {
|
|
13
|
-
(props: import('../../../../Element/hocs/withElement').WithElementProps<TabContainerItemProps>): import("react
|
|
13
|
+
(props: import('../../../../Element/hocs/withElement').WithElementProps<TabContainerItemProps>): import("react").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
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 { useCallback as n } from "react";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import i from "clsx";
|
|
6
|
-
|
|
6
|
+
//#region src/elements/structure/TabContainer/TabContainerItem/TabContainerItem.tsx
|
|
7
|
+
var a = ({ className: t = "", children: a, ref: o, tabSelected: s, tabIndex: c = 0, isHeader: l, onSelect: u }) => /* @__PURE__ */ r(e, {
|
|
7
8
|
ref: o,
|
|
8
9
|
onClick: n(() => {
|
|
9
10
|
!l || s === c || u?.(c);
|
|
@@ -15,6 +16,6 @@ var a = t(({ className: t = "", children: a, ref: o, tabSelected: s, tabIndex: c
|
|
|
15
16
|
]),
|
|
16
17
|
className: i("plitzi-component__tab-container-item", t, { active: s === c }),
|
|
17
18
|
children: a
|
|
18
|
-
}));
|
|
19
|
+
}), o = t(a);
|
|
19
20
|
//#endregion
|
|
20
|
-
export { a as default };
|
|
21
|
+
export { a as TabContainerItem, o as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const TabContainerItem: {
|
|
2
|
-
(props: import('../../../../Element/hocs/withElement').WithElementProps<import('./TabContainerItem').TabContainerItemProps>): import("react
|
|
2
|
+
(props: import('../../../../Element/hocs/withElement').WithElementProps<import('./TabContainerItem').TabContainerItemProps>): import("react").JSX.Element;
|
|
3
3
|
displayName: string;
|
|
4
4
|
} & {
|
|
5
5
|
type: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const TabContainer: {
|
|
2
|
-
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./TabContainer').TabContainerProps>): import("react
|
|
2
|
+
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./TabContainer').TabContainerProps>): import("react").JSX.Element;
|
|
3
3
|
displayName: string;
|
|
4
4
|
} & {
|
|
5
5
|
type: string;
|
|
@@ -54,7 +54,7 @@ declare const TabContainer: {
|
|
|
54
54
|
initialItems: string[];
|
|
55
55
|
plugins: {
|
|
56
56
|
tabContainerHeader: {
|
|
57
|
-
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import("react
|
|
57
|
+
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import("react").JSX.Element;
|
|
58
58
|
displayName: string;
|
|
59
59
|
} & {
|
|
60
60
|
type: string;
|
|
@@ -109,7 +109,7 @@ declare const TabContainer: {
|
|
|
109
109
|
initialItems: string[];
|
|
110
110
|
};
|
|
111
111
|
tabContainerBody: {
|
|
112
|
-
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./TabContainerBody/TabContainerBody').TabContainerBodyProps>): import("react
|
|
112
|
+
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./TabContainerBody/TabContainerBody').TabContainerBodyProps>): import("react").JSX.Element;
|
|
113
113
|
displayName: string;
|
|
114
114
|
} & {
|
|
115
115
|
type: string;
|
|
@@ -164,7 +164,7 @@ declare const TabContainer: {
|
|
|
164
164
|
initialItems: string[];
|
|
165
165
|
};
|
|
166
166
|
tabContainerItem: {
|
|
167
|
-
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./TabContainerItem/TabContainerItem').TabContainerItemProps>): import("react
|
|
167
|
+
(props: import('../../../Element/hocs/withElement').WithElementProps<import('./TabContainerItem/TabContainerItem').TabContainerItemProps>): import("react").JSX.Element;
|
|
168
168
|
displayName: string;
|
|
169
169
|
} & {
|
|
170
170
|
type: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as useRscData } from './Element/hooks/useRscData';
|
|
1
2
|
import { default as JsxManager } from './Element/JsxManager';
|
|
2
3
|
import * as elements from './elements';
|
|
3
4
|
import * as elementSettings from './elements/settings';
|
|
@@ -5,7 +6,7 @@ export * from './elements';
|
|
|
5
6
|
export * from './elements/settings';
|
|
6
7
|
export declare const defaultElements: {
|
|
7
8
|
dropdown: {
|
|
8
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/Dropdown').DropdownProps>): import("react
|
|
9
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/Dropdown').DropdownProps>): import("react").JSX.Element;
|
|
9
10
|
displayName: string;
|
|
10
11
|
} & {
|
|
11
12
|
type: string;
|
|
@@ -81,7 +82,7 @@ export declare const defaultElements: {
|
|
|
81
82
|
initialItems: string[];
|
|
82
83
|
plugins: {
|
|
83
84
|
dropdownPopup: {
|
|
84
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/DropdownPopup/DropdownPopup').DropdownPopupProps>): import("react
|
|
85
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/DropdownPopup/DropdownPopup').DropdownPopupProps>): import("react").JSX.Element;
|
|
85
86
|
displayName: string;
|
|
86
87
|
} & {
|
|
87
88
|
type: string;
|
|
@@ -150,7 +151,7 @@ export declare const defaultElements: {
|
|
|
150
151
|
};
|
|
151
152
|
};
|
|
152
153
|
notFound: {
|
|
153
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/NotFound/NotFound').NotFoundProps>): import("react
|
|
154
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/NotFound/NotFound').NotFoundProps>): import("react").JSX.Element;
|
|
154
155
|
displayName: string;
|
|
155
156
|
} & {
|
|
156
157
|
type: string;
|
|
@@ -199,7 +200,7 @@ export declare const defaultElements: {
|
|
|
199
200
|
};
|
|
200
201
|
};
|
|
201
202
|
loading: {
|
|
202
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Loading/Loading').LoadingProps>): import("react
|
|
203
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Loading/Loading').LoadingProps>): import("react").JSX.Element;
|
|
203
204
|
displayName: string;
|
|
204
205
|
} & {
|
|
205
206
|
type: string;
|
|
@@ -248,7 +249,7 @@ export declare const defaultElements: {
|
|
|
248
249
|
};
|
|
249
250
|
};
|
|
250
251
|
custom: {
|
|
251
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Custom/Custom').CustomProps>): import("react
|
|
252
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Custom/Custom').CustomProps>): import("react").JSX.Element;
|
|
252
253
|
displayName: string;
|
|
253
254
|
} & {
|
|
254
255
|
type: string;
|
|
@@ -307,7 +308,7 @@ export declare const defaultElements: {
|
|
|
307
308
|
};
|
|
308
309
|
};
|
|
309
310
|
reference: {
|
|
310
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Reference/Reference').ReferenceProps>): import("react
|
|
311
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Reference/Reference').ReferenceProps>): import("react").JSX.Element;
|
|
311
312
|
displayName: string;
|
|
312
313
|
} & {
|
|
313
314
|
type: string;
|
|
@@ -364,7 +365,7 @@ export declare const defaultElements: {
|
|
|
364
365
|
};
|
|
365
366
|
};
|
|
366
367
|
blockHtml: {
|
|
367
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): import("react
|
|
368
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): import("react").JSX.Element;
|
|
368
369
|
displayName: string;
|
|
369
370
|
} & {
|
|
370
371
|
type: string;
|
|
@@ -414,7 +415,7 @@ export declare const defaultElements: {
|
|
|
414
415
|
};
|
|
415
416
|
};
|
|
416
417
|
nodeHtml: {
|
|
417
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/NodeHtml/NodeHtml').NodeHtmlProps<"span">>): import("react
|
|
418
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/NodeHtml/NodeHtml').NodeHtmlProps<"span">>): import("react").JSX.Element;
|
|
418
419
|
displayName: string;
|
|
419
420
|
} & {
|
|
420
421
|
type: string;
|
|
@@ -482,7 +483,7 @@ export declare const defaultElements: {
|
|
|
482
483
|
};
|
|
483
484
|
};
|
|
484
485
|
blockJsx: {
|
|
485
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockJsx/BlockJsx').BlockJsxProps>): import("react
|
|
486
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockJsx/BlockJsx').BlockJsxProps>): import("react").JSX.Element;
|
|
486
487
|
displayName: string;
|
|
487
488
|
} & {
|
|
488
489
|
type: string;
|
|
@@ -535,7 +536,7 @@ export declare const defaultElements: {
|
|
|
535
536
|
};
|
|
536
537
|
};
|
|
537
538
|
page: {
|
|
538
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Page/Page').PageProps>): import("react
|
|
539
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Page/Page').PageProps>): import("react").JSX.Element;
|
|
539
540
|
displayName: string;
|
|
540
541
|
} & {
|
|
541
542
|
type: string;
|
|
@@ -607,7 +608,7 @@ export declare const defaultElements: {
|
|
|
607
608
|
};
|
|
608
609
|
};
|
|
609
610
|
container: {
|
|
610
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Container/Container').ContainerProps>): import("react
|
|
611
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Container/Container').ContainerProps>): import("react").JSX.Element;
|
|
611
612
|
displayName: string;
|
|
612
613
|
} & {
|
|
613
614
|
type: string;
|
|
@@ -663,7 +664,7 @@ export declare const defaultElements: {
|
|
|
663
664
|
};
|
|
664
665
|
};
|
|
665
666
|
layoutContainer: {
|
|
666
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/LayoutContainer/LayoutContainer').LayoutContainerProps>): import("react
|
|
667
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/LayoutContainer/LayoutContainer').LayoutContainerProps>): import("react").JSX.Element;
|
|
667
668
|
displayName: string;
|
|
668
669
|
} & {
|
|
669
670
|
type: string;
|
|
@@ -716,7 +717,7 @@ export declare const defaultElements: {
|
|
|
716
717
|
};
|
|
717
718
|
};
|
|
718
719
|
dialogContainer: {
|
|
719
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/DialogContainer/DialogContainer').DialogContainerProps>): import("react
|
|
720
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/DialogContainer/DialogContainer').DialogContainerProps>): import("react").JSX.Element;
|
|
720
721
|
displayName: string;
|
|
721
722
|
} & {
|
|
722
723
|
type: string;
|
|
@@ -861,7 +862,7 @@ export declare const defaultElements: {
|
|
|
861
862
|
initialItems: string[];
|
|
862
863
|
};
|
|
863
864
|
modalContainer: {
|
|
864
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>): import("react
|
|
865
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>): import("react").JSX.Element;
|
|
865
866
|
displayName: string;
|
|
866
867
|
} & {
|
|
867
868
|
type: string;
|
|
@@ -1000,7 +1001,7 @@ export declare const defaultElements: {
|
|
|
1000
1001
|
initialItems: string[];
|
|
1001
1002
|
};
|
|
1002
1003
|
tabContainer: {
|
|
1003
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainer').TabContainerProps>): import("react
|
|
1004
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainer').TabContainerProps>): import("react").JSX.Element;
|
|
1004
1005
|
displayName: string;
|
|
1005
1006
|
} & {
|
|
1006
1007
|
type: string;
|
|
@@ -1055,7 +1056,7 @@ export declare const defaultElements: {
|
|
|
1055
1056
|
initialItems: string[];
|
|
1056
1057
|
plugins: {
|
|
1057
1058
|
tabContainerHeader: {
|
|
1058
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import("react
|
|
1059
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import("react").JSX.Element;
|
|
1059
1060
|
displayName: string;
|
|
1060
1061
|
} & {
|
|
1061
1062
|
type: string;
|
|
@@ -1110,7 +1111,7 @@ export declare const defaultElements: {
|
|
|
1110
1111
|
initialItems: string[];
|
|
1111
1112
|
};
|
|
1112
1113
|
tabContainerBody: {
|
|
1113
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerBody/TabContainerBody').TabContainerBodyProps>): import("react
|
|
1114
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerBody/TabContainerBody').TabContainerBodyProps>): import("react").JSX.Element;
|
|
1114
1115
|
displayName: string;
|
|
1115
1116
|
} & {
|
|
1116
1117
|
type: string;
|
|
@@ -1165,7 +1166,7 @@ export declare const defaultElements: {
|
|
|
1165
1166
|
initialItems: string[];
|
|
1166
1167
|
};
|
|
1167
1168
|
tabContainerItem: {
|
|
1168
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerItem/TabContainerItem').TabContainerItemProps>): import("react
|
|
1169
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerItem/TabContainerItem').TabContainerItemProps>): import("react").JSX.Element;
|
|
1169
1170
|
displayName: string;
|
|
1170
1171
|
} & {
|
|
1171
1172
|
type: string;
|
|
@@ -1221,7 +1222,7 @@ export declare const defaultElements: {
|
|
|
1221
1222
|
};
|
|
1222
1223
|
};
|
|
1223
1224
|
heading: {
|
|
1224
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import("react
|
|
1225
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import("react").JSX.Element;
|
|
1225
1226
|
displayName: string;
|
|
1226
1227
|
} & {
|
|
1227
1228
|
type: string;
|
|
@@ -1364,7 +1365,7 @@ export declare const defaultElements: {
|
|
|
1364
1365
|
};
|
|
1365
1366
|
};
|
|
1366
1367
|
image: {
|
|
1367
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Image/Image').ImageProps>): import("react
|
|
1368
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Image/Image').ImageProps>): import("react").JSX.Element;
|
|
1368
1369
|
displayName: string;
|
|
1369
1370
|
} & {
|
|
1370
1371
|
type: string;
|
|
@@ -1422,7 +1423,7 @@ export declare const defaultElements: {
|
|
|
1422
1423
|
};
|
|
1423
1424
|
};
|
|
1424
1425
|
video: {
|
|
1425
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Video/Video').VideoProps>): import("react
|
|
1426
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Video/Video').VideoProps>): import("react").JSX.Element;
|
|
1426
1427
|
displayName: string;
|
|
1427
1428
|
} & {
|
|
1428
1429
|
type: string;
|
|
@@ -1481,7 +1482,7 @@ export declare const defaultElements: {
|
|
|
1481
1482
|
};
|
|
1482
1483
|
};
|
|
1483
1484
|
fontAwesome: {
|
|
1484
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import("react
|
|
1485
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import("react").JSX.Element;
|
|
1485
1486
|
displayName: string;
|
|
1486
1487
|
} & {
|
|
1487
1488
|
type: string;
|
|
@@ -1536,7 +1537,7 @@ export declare const defaultElements: {
|
|
|
1536
1537
|
};
|
|
1537
1538
|
};
|
|
1538
1539
|
button: {
|
|
1539
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Button/Button').ButtonProps>): import("react
|
|
1540
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Button/Button').ButtonProps>): import("react").JSX.Element;
|
|
1540
1541
|
displayName: string;
|
|
1541
1542
|
} & {
|
|
1542
1543
|
type: string;
|
|
@@ -1661,7 +1662,7 @@ export declare const defaultElements: {
|
|
|
1661
1662
|
};
|
|
1662
1663
|
};
|
|
1663
1664
|
paragraph: {
|
|
1664
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>): import("react
|
|
1665
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>): import("react").JSX.Element;
|
|
1665
1666
|
displayName: string;
|
|
1666
1667
|
} & {
|
|
1667
1668
|
type: string;
|
|
@@ -1714,7 +1715,7 @@ export declare const defaultElements: {
|
|
|
1714
1715
|
};
|
|
1715
1716
|
};
|
|
1716
1717
|
text: {
|
|
1717
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Text/Text').TextProps>): import("react
|
|
1718
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Text/Text').TextProps>): import("react").JSX.Element;
|
|
1718
1719
|
displayName: string;
|
|
1719
1720
|
} & {
|
|
1720
1721
|
type: string;
|
|
@@ -1768,7 +1769,7 @@ export declare const defaultElements: {
|
|
|
1768
1769
|
};
|
|
1769
1770
|
};
|
|
1770
1771
|
list: {
|
|
1771
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/List').ListProps<unknown>>): import("react
|
|
1772
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/List').ListProps<unknown>>): import("react").JSX.Element;
|
|
1772
1773
|
displayName: string;
|
|
1773
1774
|
} & {
|
|
1774
1775
|
type: string;
|
|
@@ -1855,7 +1856,7 @@ export declare const defaultElements: {
|
|
|
1855
1856
|
initialItems: string[];
|
|
1856
1857
|
plugins: {
|
|
1857
1858
|
listItem: {
|
|
1858
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/ListItem/ListItem').ListItemProps>): import("react
|
|
1859
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/ListItem/ListItem').ListItemProps>): import("react").JSX.Element;
|
|
1859
1860
|
displayName: string;
|
|
1860
1861
|
} & {
|
|
1861
1862
|
type: string;
|
|
@@ -1910,7 +1911,7 @@ export declare const defaultElements: {
|
|
|
1910
1911
|
};
|
|
1911
1912
|
};
|
|
1912
1913
|
link: {
|
|
1913
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Link/Link').LinkProps>): import("react
|
|
1914
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Link/Link').LinkProps>): import("react").JSX.Element;
|
|
1914
1915
|
displayName: string;
|
|
1915
1916
|
} & {
|
|
1916
1917
|
type: string;
|
|
@@ -1970,7 +1971,7 @@ export declare const defaultElements: {
|
|
|
1970
1971
|
};
|
|
1971
1972
|
};
|
|
1972
1973
|
markdown: {
|
|
1973
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import("react
|
|
1974
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import("react").JSX.Element;
|
|
1974
1975
|
displayName: string;
|
|
1975
1976
|
} & {
|
|
1976
1977
|
type: string;
|
|
@@ -2023,7 +2024,7 @@ export declare const defaultElements: {
|
|
|
2023
2024
|
};
|
|
2024
2025
|
};
|
|
2025
2026
|
form: {
|
|
2026
|
-
(props: import('./Element/hocs/withElement').WithElementProps<elements.FormProps>): import("react
|
|
2027
|
+
(props: import('./Element/hocs/withElement').WithElementProps<elements.FormProps>): import("react").JSX.Element;
|
|
2027
2028
|
displayName: string;
|
|
2028
2029
|
} & {
|
|
2029
2030
|
type: string;
|
|
@@ -2064,7 +2065,7 @@ export declare const defaultElements: {
|
|
|
2064
2065
|
license: string;
|
|
2065
2066
|
website: string;
|
|
2066
2067
|
backgroundColor: string;
|
|
2067
|
-
icon: import("react
|
|
2068
|
+
icon: import("react").JSX.Element;
|
|
2068
2069
|
};
|
|
2069
2070
|
defaultStyle: {
|
|
2070
2071
|
name: string;
|
|
@@ -2082,7 +2083,7 @@ export declare const defaultElements: {
|
|
|
2082
2083
|
};
|
|
2083
2084
|
};
|
|
2084
2085
|
formControl: {
|
|
2085
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/form/FormControl/hocs/withFieldValue').WithFieldValueProps<import('./elements/form/FormControl/FormControl').FormControlProps>>): import("react
|
|
2086
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/form/FormControl/hocs/withFieldValue').WithFieldValueProps<import('./elements/form/FormControl/FormControl').FormControlProps>>): import("react").JSX.Element;
|
|
2086
2087
|
displayName: string;
|
|
2087
2088
|
} & {
|
|
2088
2089
|
type: string;
|
|
@@ -2130,7 +2131,7 @@ export declare const defaultElements: {
|
|
|
2130
2131
|
license: string;
|
|
2131
2132
|
website: string;
|
|
2132
2133
|
backgroundColor: string;
|
|
2133
|
-
icon: import("react
|
|
2134
|
+
icon: import("react").JSX.Element;
|
|
2134
2135
|
};
|
|
2135
2136
|
defaultStyle: {
|
|
2136
2137
|
name: string;
|
|
@@ -2571,7 +2572,7 @@ export declare const defaultElements: {
|
|
|
2571
2572
|
};
|
|
2572
2573
|
};
|
|
2573
2574
|
apiContainer: {
|
|
2574
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/ApiContainer/ApiContainer').ApiContainerProps>): import("react
|
|
2575
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/ApiContainer/ApiContainer').ApiContainerProps>): import("react").JSX.Element;
|
|
2575
2576
|
displayName: string;
|
|
2576
2577
|
} & {
|
|
2577
2578
|
type: string;
|
|
@@ -2632,7 +2633,7 @@ export declare const defaultElements: {
|
|
|
2632
2633
|
};
|
|
2633
2634
|
};
|
|
2634
2635
|
collectionContainer: {
|
|
2635
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/CollectionContainer/CollectionContainer').CollectionContainerProps>): import("react
|
|
2636
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/CollectionContainer/CollectionContainer').CollectionContainerProps>): import("react").JSX.Element;
|
|
2636
2637
|
displayName: string;
|
|
2637
2638
|
} & {
|
|
2638
2639
|
type: string;
|
|
@@ -2691,4 +2692,4 @@ export declare const defaultElements: {
|
|
|
2691
2692
|
};
|
|
2692
2693
|
};
|
|
2693
2694
|
};
|
|
2694
|
-
export { elements, elementSettings, JsxManager };
|
|
2695
|
+
export { useRscData, elements, elementSettings, JsxManager };
|