@plitzi/sdk-elements 0.37.1 → 0.37.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 +151 -0
- package/dist/Component/ComponentProvider.d.ts +1 -1
- package/dist/Element/JsxManager.d.ts +1 -1
- package/dist/Element/LayoutBody.d.ts +1 -1
- 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/helpers/pluginSelector.d.ts +1 -1
- package/dist/Element/hocs/withElement.d.ts +1 -1
- package/dist/Element/hooks/useRootElementInteractions.mjs +7 -1
- package/dist/components/ElementAdvancedEditor.d.ts +1 -1
- package/dist/dataSource/GlobalSources.mjs +24 -22
- package/dist/elements/advanced/BlockHtml/BlockHtml.d.ts +2 -2
- 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/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/Settings.d.ts +1 -1
- package/dist/elements/advanced/Custom/index.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/Settings.d.ts +1 -1
- 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/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/DropdownPopup/DropdownPopup.d.ts +2 -2
- package/dist/elements/basic/Dropdown/DropdownPopup/Settings.d.ts +1 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/declaration.d.ts +2 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/declaration.mjs +2 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/index.d.ts +3 -2
- package/dist/elements/basic/Dropdown/Settings.d.ts +1 -1
- package/dist/elements/basic/Dropdown/index.d.ts +4 -3
- package/dist/elements/basic/Heading/Heading.d.ts +2 -2
- 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 +1 -1
- package/dist/elements/basic/Link/Settings.d.ts +1 -1
- 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/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/Settings.d.ts +1 -1
- package/dist/elements/basic/Paragraph/index.d.ts +1 -1
- package/dist/elements/basic/RichText/RichText.d.ts +2 -2
- package/dist/elements/basic/RichText/Settings.d.ts +1 -1
- package/dist/elements/basic/RichText/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/index.d.ts +1 -1
- package/dist/elements/basic/ThemeToggle/ThemeToggle.d.ts +2 -2
- package/dist/elements/basic/ThemeToggle/ThemeToggle.mjs +55 -62
- package/dist/elements/basic/ThemeToggle/declaration.d.ts +12 -1
- package/dist/elements/basic/ThemeToggle/declaration.mjs +8 -1
- package/dist/elements/basic/ThemeToggle/index.d.ts +13 -2
- package/dist/elements/declarations/index.d.ts +314 -5
- package/dist/elements/form/Form/Form.d.ts +2 -2
- package/dist/elements/form/Form/Form.mjs +37 -57
- package/dist/elements/form/Form/Settings.d.ts +1 -1
- package/dist/elements/form/Form/declaration.d.ts +57 -0
- package/dist/elements/form/Form/declaration.mjs +55 -0
- package/dist/elements/form/Form/index.d.ts +59 -2
- package/dist/elements/form/FormControl/FormControl.d.ts +2 -2
- package/dist/elements/form/FormControl/FormControl.mjs +33 -41
- 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/declaration.d.ts +12 -0
- package/dist/elements/form/FormControl/declaration.mjs +10 -0
- package/dist/elements/form/FormControl/hocs/withFieldValue.d.ts +1 -1
- package/dist/elements/form/FormControl/index.d.ts +14 -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/Settings.d.ts +1 -1
- package/dist/elements/internal/LayoutContainer/index.d.ts +1 -1
- package/dist/elements/internal/LayoutPicker/LayoutPicker.d.ts +1 -1
- package/dist/elements/internal/Loading/Loading.d.ts +2 -2
- 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/index.d.ts +1 -1
- package/dist/elements/internal/Page/Page.d.ts +2 -2
- package/dist/elements/internal/Page/Page.mjs +34 -43
- package/dist/elements/internal/Page/Settings.d.ts +1 -1
- package/dist/elements/internal/Page/declaration.d.ts +13 -0
- package/dist/elements/internal/Page/declaration.mjs +11 -0
- package/dist/elements/internal/Page/index.d.ts +14 -1
- package/dist/elements/media/FontAwesome/FontAwesome.d.ts +2 -2
- package/dist/elements/media/FontAwesome/Settings.d.ts +1 -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/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/index.d.ts +1 -1
- package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +11 -2
- package/dist/elements/provider/ApiContainer/ApiContainer.mjs +119 -161
- package/dist/elements/provider/ApiContainer/Settings.d.ts +2 -1
- package/dist/elements/provider/ApiContainer/Settings.mjs +129 -122
- package/dist/elements/provider/ApiContainer/components/FiltersInput/FiltersInput.d.ts +1 -1
- package/dist/elements/provider/ApiContainer/declaration.d.ts +75 -0
- package/dist/elements/provider/ApiContainer/declaration.mjs +72 -1
- package/dist/elements/provider/ApiContainer/helpers/providerOutcome.d.ts +25 -0
- package/dist/elements/provider/ApiContainer/helpers/providerOutcome.mjs +7 -0
- package/dist/elements/provider/ApiContainer/hooks/useAutoRefresh.d.ts +21 -0
- package/dist/elements/provider/ApiContainer/hooks/useAutoRefresh.mjs +18 -0
- package/dist/elements/provider/ApiContainer/index.d.ts +76 -1
- package/dist/elements/structure/Container/Container.d.ts +2 -2
- 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 +10 -60
- package/dist/elements/structure/DialogContainer/Settings.d.ts +1 -1
- package/dist/elements/structure/DialogContainer/declaration.d.ts +82 -1
- package/dist/elements/structure/DialogContainer/declaration.mjs +62 -1
- package/dist/elements/structure/DialogContainer/index.d.ts +83 -2
- package/dist/elements/structure/List/List.d.ts +2 -2
- package/dist/elements/structure/List/ListItem/ListItem.d.ts +2 -2
- 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/ListControlled/ListControlled.d.ts +1 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.d.ts +1 -1
- package/dist/elements/structure/ModalContainer/ModalContainer.d.ts +2 -2
- package/dist/elements/structure/ModalContainer/ModalContainer.mjs +10 -37
- package/dist/elements/structure/ModalContainer/Settings.d.ts +1 -1
- package/dist/elements/structure/ModalContainer/declaration.d.ts +48 -2
- package/dist/elements/structure/ModalContainer/declaration.mjs +40 -2
- package/dist/elements/structure/ModalContainer/index.d.ts +49 -3
- package/dist/elements/structure/Pagination/Pagination.d.ts +2 -2
- package/dist/elements/structure/Pagination/Pagination.mjs +45 -50
- package/dist/elements/structure/Pagination/Settings.d.ts +1 -1
- package/dist/elements/structure/Pagination/declaration.d.ts +11 -0
- package/dist/elements/structure/Pagination/declaration.mjs +7 -0
- package/dist/elements/structure/Pagination/index.d.ts +12 -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/TabContainerBody/Settings.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.d.ts +2 -2
- package/dist/elements/structure/TabContainer/TabContainerBody/declaration.d.ts +1 -0
- package/dist/elements/structure/TabContainer/TabContainerBody/declaration.mjs +1 -0
- package/dist/elements/structure/TabContainer/TabContainerBody/index.d.ts +2 -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/declaration.d.ts +1 -0
- package/dist/elements/structure/TabContainer/TabContainerHeader/declaration.mjs +1 -0
- package/dist/elements/structure/TabContainer/TabContainerHeader/index.d.ts +2 -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/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/index.d.ts +6 -4
- package/dist/index.d.ts +351 -42
- package/package.json +17 -9
package/dist/index.d.ts
CHANGED
|
@@ -6,15 +6,16 @@ export * from './elements';
|
|
|
6
6
|
export * from './elements/settings';
|
|
7
7
|
export declare const defaultElements: {
|
|
8
8
|
dropdown: {
|
|
9
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/Dropdown').DropdownProps>): import(
|
|
9
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/Dropdown').DropdownProps>): import('react').JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
} & {
|
|
12
12
|
plugins: {
|
|
13
13
|
dropdownPopup: {
|
|
14
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/DropdownPopup/DropdownPopup').DropdownPopupProps>): import(
|
|
14
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Dropdown/DropdownPopup/DropdownPopup').DropdownPopupProps>): import('react').JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
} & {
|
|
17
17
|
readonly type: "dropdownPopup";
|
|
18
|
+
readonly ancestorType: "dropdown";
|
|
18
19
|
readonly content: {
|
|
19
20
|
readonly attributes: {};
|
|
20
21
|
readonly definition: {
|
|
@@ -52,7 +53,7 @@ export declare const defaultElements: {
|
|
|
52
53
|
readonly style: {
|
|
53
54
|
readonly base: {
|
|
54
55
|
readonly default: {
|
|
55
|
-
readonly 'background-color': "white";
|
|
56
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
56
57
|
readonly 'padding-right': "4px";
|
|
57
58
|
readonly 'padding-bottom': "4px";
|
|
58
59
|
readonly 'padding-left': "4px";
|
|
@@ -158,7 +159,7 @@ export declare const defaultElements: {
|
|
|
158
159
|
}>;
|
|
159
160
|
};
|
|
160
161
|
notFound: {
|
|
161
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/NotFound/NotFound').NotFoundProps>): import(
|
|
162
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/NotFound/NotFound').NotFoundProps>): import('react').JSX.Element;
|
|
162
163
|
displayName: string;
|
|
163
164
|
} & {
|
|
164
165
|
readonly type: "notFound";
|
|
@@ -207,7 +208,7 @@ export declare const defaultElements: {
|
|
|
207
208
|
};
|
|
208
209
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
209
210
|
loading: {
|
|
210
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Loading/Loading').LoadingProps>): import(
|
|
211
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Loading/Loading').LoadingProps>): import('react').JSX.Element;
|
|
211
212
|
displayName: string;
|
|
212
213
|
} & {
|
|
213
214
|
readonly type: "loading";
|
|
@@ -256,7 +257,7 @@ export declare const defaultElements: {
|
|
|
256
257
|
};
|
|
257
258
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
258
259
|
custom: {
|
|
259
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Custom/Custom').CustomProps>): import(
|
|
260
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Custom/Custom').CustomProps>): import('react').JSX.Element;
|
|
260
261
|
displayName: string;
|
|
261
262
|
} & {
|
|
262
263
|
readonly type: "custom";
|
|
@@ -311,7 +312,7 @@ export declare const defaultElements: {
|
|
|
311
312
|
};
|
|
312
313
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<import('./elements/advanced/Custom/declaration').CustomAttributes>;
|
|
313
314
|
reference: {
|
|
314
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Reference/Reference').ReferenceProps>): import(
|
|
315
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/Reference/Reference').ReferenceProps>): import('react').JSX.Element;
|
|
315
316
|
displayName: string;
|
|
316
317
|
} & {
|
|
317
318
|
readonly type: "reference";
|
|
@@ -369,7 +370,7 @@ export declare const defaultElements: {
|
|
|
369
370
|
referenceContainer: string;
|
|
370
371
|
}>>;
|
|
371
372
|
blockHtml: {
|
|
372
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): import(
|
|
373
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): import('react').JSX.Element;
|
|
373
374
|
displayName: string;
|
|
374
375
|
} & {
|
|
375
376
|
readonly type: "blockHtml";
|
|
@@ -422,7 +423,7 @@ export declare const defaultElements: {
|
|
|
422
423
|
content?: string | undefined;
|
|
423
424
|
}>>;
|
|
424
425
|
nodeHtml: {
|
|
425
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/NodeHtml/NodeHtml').NodeHtmlProps<"span">>): import(
|
|
426
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/NodeHtml/NodeHtml').NodeHtmlProps<"span">>): import('react').JSX.Element;
|
|
426
427
|
displayName: string;
|
|
427
428
|
} & {
|
|
428
429
|
readonly type: "nodeHtml";
|
|
@@ -766,7 +767,7 @@ export declare const defaultElements: {
|
|
|
766
767
|
subType?: "span" | undefined;
|
|
767
768
|
}>>;
|
|
768
769
|
blockJsx: {
|
|
769
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockJsx/BlockJsx').BlockJsxProps>): import(
|
|
770
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockJsx/BlockJsx').BlockJsxProps>): import('react').JSX.Element;
|
|
770
771
|
displayName: string;
|
|
771
772
|
} & {
|
|
772
773
|
readonly type: "blockJsx";
|
|
@@ -820,10 +821,23 @@ export declare const defaultElements: {
|
|
|
820
821
|
};
|
|
821
822
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<import('./elements/advanced/BlockJsx/declaration').BlockJsxAttributes>;
|
|
822
823
|
page: {
|
|
823
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Page/Page').PageProps>): import(
|
|
824
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/Page/Page').PageProps>): import('react').JSX.Element;
|
|
824
825
|
displayName: string;
|
|
825
826
|
} & {
|
|
826
827
|
readonly type: "page";
|
|
828
|
+
readonly triggers: {
|
|
829
|
+
readonly onPageLoad: {
|
|
830
|
+
readonly action: "onPageLoad";
|
|
831
|
+
readonly title: "On Page Load";
|
|
832
|
+
readonly type: "trigger";
|
|
833
|
+
readonly params: {};
|
|
834
|
+
readonly preview: {
|
|
835
|
+
readonly pageId: "";
|
|
836
|
+
readonly routeParams: "";
|
|
837
|
+
readonly queryParams: "";
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
};
|
|
827
841
|
readonly content: {
|
|
828
842
|
readonly attributes: {
|
|
829
843
|
readonly enabled: true;
|
|
@@ -898,7 +912,7 @@ export declare const defaultElements: {
|
|
|
898
912
|
seoPageDescription?: string | undefined;
|
|
899
913
|
}>>;
|
|
900
914
|
container: {
|
|
901
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Container/Container').ContainerProps>): import(
|
|
915
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Container/Container').ContainerProps>): import('react').JSX.Element;
|
|
902
916
|
displayName: string;
|
|
903
917
|
} & {
|
|
904
918
|
readonly type: "container";
|
|
@@ -953,7 +967,7 @@ export declare const defaultElements: {
|
|
|
953
967
|
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | undefined;
|
|
954
968
|
}>>;
|
|
955
969
|
layoutContainer: {
|
|
956
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/LayoutContainer/LayoutContainer').LayoutContainerProps>): import(
|
|
970
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/internal/LayoutContainer/LayoutContainer').LayoutContainerProps>): import('react').JSX.Element;
|
|
957
971
|
displayName: string;
|
|
958
972
|
} & {
|
|
959
973
|
readonly type: "layoutContainer";
|
|
@@ -1010,11 +1024,92 @@ export declare const defaultElements: {
|
|
|
1010
1024
|
layoutContainer?: string | undefined;
|
|
1011
1025
|
}>>;
|
|
1012
1026
|
dialogContainer: {
|
|
1013
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/DialogContainer/DialogContainer').DialogContainerProps>): import(
|
|
1027
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/DialogContainer/DialogContainer').DialogContainerProps>): import('react').JSX.Element;
|
|
1014
1028
|
displayName: string;
|
|
1015
1029
|
} & {
|
|
1016
1030
|
readonly type: "dialogContainer";
|
|
1017
1031
|
readonly sourceType: "dialogContainer";
|
|
1032
|
+
readonly triggers: {
|
|
1033
|
+
readonly onDialogAccept: {
|
|
1034
|
+
readonly action: "onDialogAccept";
|
|
1035
|
+
readonly title: "On Dialog Accept";
|
|
1036
|
+
readonly type: "trigger";
|
|
1037
|
+
readonly params: {
|
|
1038
|
+
readonly metadata: {
|
|
1039
|
+
readonly type: "text";
|
|
1040
|
+
readonly defaultValue: "";
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
readonly preview: {
|
|
1044
|
+
readonly metadata: "";
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
readonly onDialogReject: {
|
|
1048
|
+
readonly action: "onDialogReject";
|
|
1049
|
+
readonly title: "On Dialog Reject";
|
|
1050
|
+
readonly type: "trigger";
|
|
1051
|
+
readonly params: {
|
|
1052
|
+
readonly metadata: {
|
|
1053
|
+
readonly type: "text";
|
|
1054
|
+
readonly defaultValue: "";
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
readonly preview: {
|
|
1058
|
+
readonly metadata: "";
|
|
1059
|
+
};
|
|
1060
|
+
};
|
|
1061
|
+
readonly onDialogOpen: {
|
|
1062
|
+
readonly action: "onDialogOpen";
|
|
1063
|
+
readonly title: "On Dialog Open";
|
|
1064
|
+
readonly type: "trigger";
|
|
1065
|
+
readonly params: {
|
|
1066
|
+
readonly metadata: {
|
|
1067
|
+
readonly type: "text";
|
|
1068
|
+
readonly defaultValue: "";
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
readonly preview: {
|
|
1072
|
+
readonly metadata: "";
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
readonly onDialogClose: {
|
|
1076
|
+
readonly action: "onDialogClose";
|
|
1077
|
+
readonly title: "On Dialog Close";
|
|
1078
|
+
readonly type: "trigger";
|
|
1079
|
+
readonly params: {
|
|
1080
|
+
readonly metadata: {
|
|
1081
|
+
readonly type: "text";
|
|
1082
|
+
readonly defaultValue: "";
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
readonly preview: {
|
|
1086
|
+
readonly metadata: "";
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
readonly callbacks: {
|
|
1091
|
+
readonly openDialog: {
|
|
1092
|
+
readonly action: "openDialog";
|
|
1093
|
+
readonly title: "Open Dialog";
|
|
1094
|
+
readonly type: "callback";
|
|
1095
|
+
readonly params: {
|
|
1096
|
+
readonly metadata: {
|
|
1097
|
+
readonly type: "text";
|
|
1098
|
+
readonly defaultValue: "";
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
readonly preview: {
|
|
1102
|
+
readonly metadata: "";
|
|
1103
|
+
};
|
|
1104
|
+
};
|
|
1105
|
+
readonly closeDialog: {
|
|
1106
|
+
readonly action: "closeDialog";
|
|
1107
|
+
readonly title: "Close Dialog";
|
|
1108
|
+
readonly type: "callback";
|
|
1109
|
+
readonly preview: {};
|
|
1110
|
+
readonly params: {};
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1018
1113
|
readonly content: {
|
|
1019
1114
|
readonly attributes: {
|
|
1020
1115
|
readonly headerLabel: "Dialog Header";
|
|
@@ -1096,7 +1191,7 @@ export declare const defaultElements: {
|
|
|
1096
1191
|
readonly left: "50%";
|
|
1097
1192
|
readonly width: "500px";
|
|
1098
1193
|
readonly height: "300px";
|
|
1099
|
-
readonly 'background-color': "white";
|
|
1194
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
1100
1195
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
1101
1196
|
readonly 'padding-top': "20px";
|
|
1102
1197
|
readonly 'padding-bottom': "20px";
|
|
@@ -1163,11 +1258,57 @@ export declare const defaultElements: {
|
|
|
1163
1258
|
autoHideAfterClick: boolean;
|
|
1164
1259
|
}>>;
|
|
1165
1260
|
modalContainer: {
|
|
1166
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>): import(
|
|
1261
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>): import('react').JSX.Element;
|
|
1167
1262
|
displayName: string;
|
|
1168
1263
|
} & {
|
|
1169
1264
|
readonly type: "modalContainer";
|
|
1170
1265
|
readonly sourceType: "modalContainer";
|
|
1266
|
+
readonly triggers: {
|
|
1267
|
+
readonly onModalOpen: {
|
|
1268
|
+
readonly action: "onModalOpen";
|
|
1269
|
+
readonly title: "On Modal Open";
|
|
1270
|
+
readonly type: "trigger";
|
|
1271
|
+
readonly params: {
|
|
1272
|
+
readonly metadata: {
|
|
1273
|
+
readonly type: "text";
|
|
1274
|
+
readonly defaultValue: "";
|
|
1275
|
+
};
|
|
1276
|
+
};
|
|
1277
|
+
readonly preview: {
|
|
1278
|
+
readonly metadata: "";
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
readonly onModalClose: {
|
|
1282
|
+
readonly action: "onModalClose";
|
|
1283
|
+
readonly title: "On Modal Close";
|
|
1284
|
+
readonly type: "trigger";
|
|
1285
|
+
readonly preview: {};
|
|
1286
|
+
readonly params: {};
|
|
1287
|
+
};
|
|
1288
|
+
};
|
|
1289
|
+
readonly callbacks: {
|
|
1290
|
+
readonly openModal: {
|
|
1291
|
+
readonly action: "openModal";
|
|
1292
|
+
readonly title: "Open Modal";
|
|
1293
|
+
readonly type: "callback";
|
|
1294
|
+
readonly params: {
|
|
1295
|
+
readonly metadata: {
|
|
1296
|
+
readonly type: "text";
|
|
1297
|
+
readonly defaultValue: "";
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
readonly preview: {
|
|
1301
|
+
readonly metadata: "";
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
readonly closeModal: {
|
|
1305
|
+
readonly action: "closeModal";
|
|
1306
|
+
readonly title: "Close Modal";
|
|
1307
|
+
readonly type: "callback";
|
|
1308
|
+
readonly params: {};
|
|
1309
|
+
readonly preview: {};
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1171
1312
|
readonly content: {
|
|
1172
1313
|
readonly attributes: {
|
|
1173
1314
|
readonly title: "Modal Header";
|
|
@@ -1244,7 +1385,7 @@ export declare const defaultElements: {
|
|
|
1244
1385
|
readonly left: "50%";
|
|
1245
1386
|
readonly width: "500px";
|
|
1246
1387
|
readonly height: "300px";
|
|
1247
|
-
readonly 'background-color': "white";
|
|
1388
|
+
readonly 'background-color': "light-dark(white, oklch(0.21 0.006 285.885))";
|
|
1248
1389
|
readonly transform: "translate3d(-50%, -50%, 0px)";
|
|
1249
1390
|
readonly 'border-top-left-radius': "8px";
|
|
1250
1391
|
readonly 'border-top-right-radius': "8px";
|
|
@@ -1258,7 +1399,7 @@ export declare const defaultElements: {
|
|
|
1258
1399
|
readonly 'align-items': "center";
|
|
1259
1400
|
readonly 'justify-content': "space-between";
|
|
1260
1401
|
readonly 'border-bottom-width': "1px";
|
|
1261
|
-
readonly 'border-bottom-color': "#d1d5db";
|
|
1402
|
+
readonly 'border-bottom-color': "light-dark(#d1d5db, oklch(0.37 0.013 285.805))";
|
|
1262
1403
|
readonly 'border-bottom-style': "solid";
|
|
1263
1404
|
readonly 'padding-left': "20px";
|
|
1264
1405
|
readonly 'padding-right': "20px";
|
|
@@ -1307,15 +1448,16 @@ export declare const defaultElements: {
|
|
|
1307
1448
|
autoHideAfterClick?: boolean | undefined;
|
|
1308
1449
|
}>>;
|
|
1309
1450
|
tabContainer: {
|
|
1310
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainer').TabContainerProps>): import(
|
|
1451
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainer').TabContainerProps>): import('react').JSX.Element;
|
|
1311
1452
|
displayName: string;
|
|
1312
1453
|
} & {
|
|
1313
1454
|
plugins: {
|
|
1314
1455
|
tabContainerHeader: {
|
|
1315
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import(
|
|
1456
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import('react').JSX.Element;
|
|
1316
1457
|
displayName: string;
|
|
1317
1458
|
} & {
|
|
1318
1459
|
readonly type: "tabContainerHeader";
|
|
1460
|
+
readonly ancestorType: "tabContainer";
|
|
1319
1461
|
readonly content: {
|
|
1320
1462
|
readonly attributes: {};
|
|
1321
1463
|
readonly definition: {
|
|
@@ -1364,10 +1506,11 @@ export declare const defaultElements: {
|
|
|
1364
1506
|
readonly initialItems: readonly ["tabContainerItem", "tabContainerItem", "tabContainerItem"];
|
|
1365
1507
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
1366
1508
|
tabContainerBody: {
|
|
1367
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerBody/TabContainerBody').TabContainerBodyProps>): import(
|
|
1509
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerBody/TabContainerBody').TabContainerBodyProps>): import('react').JSX.Element;
|
|
1368
1510
|
displayName: string;
|
|
1369
1511
|
} & {
|
|
1370
1512
|
readonly type: "tabContainerBody";
|
|
1513
|
+
readonly ancestorType: "tabContainer";
|
|
1371
1514
|
readonly content: {
|
|
1372
1515
|
readonly attributes: {};
|
|
1373
1516
|
readonly definition: {
|
|
@@ -1416,7 +1559,7 @@ export declare const defaultElements: {
|
|
|
1416
1559
|
readonly initialItems: readonly ["tabContainerItem", "tabContainerItem", "tabContainerItem"];
|
|
1417
1560
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
1418
1561
|
tabContainerItem: {
|
|
1419
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerItem/TabContainerItem').TabContainerItemProps>): import(
|
|
1562
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/TabContainer/TabContainerItem/TabContainerItem').TabContainerItemProps>): import('react').JSX.Element;
|
|
1420
1563
|
displayName: string;
|
|
1421
1564
|
} & {
|
|
1422
1565
|
readonly type: "tabContainerItem";
|
|
@@ -1517,7 +1660,7 @@ export declare const defaultElements: {
|
|
|
1517
1660
|
__attributes: unknown;
|
|
1518
1661
|
};
|
|
1519
1662
|
heading: {
|
|
1520
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import(
|
|
1663
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import('react').JSX.Element;
|
|
1521
1664
|
displayName: string;
|
|
1522
1665
|
} & {
|
|
1523
1666
|
readonly type: "heading";
|
|
@@ -1664,7 +1807,7 @@ export declare const defaultElements: {
|
|
|
1664
1807
|
subType?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
1665
1808
|
}>>;
|
|
1666
1809
|
image: {
|
|
1667
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Image/Image').ImageProps>): import(
|
|
1810
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Image/Image').ImageProps>): import('react').JSX.Element;
|
|
1668
1811
|
displayName: string;
|
|
1669
1812
|
} & {
|
|
1670
1813
|
readonly type: "image";
|
|
@@ -1727,7 +1870,7 @@ export declare const defaultElements: {
|
|
|
1727
1870
|
loadMode?: "eager" | "lazy" | undefined;
|
|
1728
1871
|
}>>;
|
|
1729
1872
|
video: {
|
|
1730
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Video/Video').VideoProps>): import(
|
|
1873
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Video/Video').VideoProps>): import('react').JSX.Element;
|
|
1731
1874
|
displayName: string;
|
|
1732
1875
|
} & {
|
|
1733
1876
|
readonly type: "video";
|
|
@@ -1792,7 +1935,7 @@ export declare const defaultElements: {
|
|
|
1792
1935
|
playsInline?: boolean | undefined;
|
|
1793
1936
|
}>>;
|
|
1794
1937
|
fontAwesome: {
|
|
1795
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import(
|
|
1938
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import('react').JSX.Element;
|
|
1796
1939
|
displayName: string;
|
|
1797
1940
|
} & {
|
|
1798
1941
|
readonly type: "fontAwesome";
|
|
@@ -1852,7 +1995,7 @@ export declare const defaultElements: {
|
|
|
1852
1995
|
iconAnimation?: string | undefined;
|
|
1853
1996
|
}>>;
|
|
1854
1997
|
button: {
|
|
1855
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Button/Button').ButtonProps>): import(
|
|
1998
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Button/Button').ButtonProps>): import('react').JSX.Element;
|
|
1856
1999
|
displayName: string;
|
|
1857
2000
|
} & {
|
|
1858
2001
|
readonly type: "button";
|
|
@@ -1980,7 +2123,7 @@ export declare const defaultElements: {
|
|
|
1980
2123
|
ariaPressed?: boolean | undefined;
|
|
1981
2124
|
}>>;
|
|
1982
2125
|
paragraph: {
|
|
1983
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>): import(
|
|
2126
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>): import('react').JSX.Element;
|
|
1984
2127
|
displayName: string;
|
|
1985
2128
|
} & {
|
|
1986
2129
|
readonly type: "paragraph";
|
|
@@ -2036,7 +2179,7 @@ export declare const defaultElements: {
|
|
|
2036
2179
|
content?: string | number | undefined;
|
|
2037
2180
|
}>>;
|
|
2038
2181
|
text: {
|
|
2039
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Text/Text').TextProps>): import(
|
|
2182
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Text/Text').TextProps>): import('react').JSX.Element;
|
|
2040
2183
|
displayName: string;
|
|
2041
2184
|
} & {
|
|
2042
2185
|
readonly type: "text";
|
|
@@ -2093,10 +2236,21 @@ export declare const defaultElements: {
|
|
|
2093
2236
|
content?: string | number | undefined;
|
|
2094
2237
|
}>>;
|
|
2095
2238
|
themeToggle: {
|
|
2096
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/ThemeToggle/ThemeToggle').ThemeToggleProps>): import(
|
|
2239
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/ThemeToggle/ThemeToggle').ThemeToggleProps>): import('react').JSX.Element;
|
|
2097
2240
|
displayName: string;
|
|
2098
2241
|
} & {
|
|
2099
2242
|
readonly type: "themeToggle";
|
|
2243
|
+
readonly triggers: {
|
|
2244
|
+
readonly onThemeChange: {
|
|
2245
|
+
readonly action: "onThemeChange";
|
|
2246
|
+
readonly title: "On Theme Change";
|
|
2247
|
+
readonly type: "trigger";
|
|
2248
|
+
readonly params: {};
|
|
2249
|
+
readonly preview: {
|
|
2250
|
+
readonly theme: "dark";
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
2100
2254
|
readonly content: {
|
|
2101
2255
|
readonly attributes: {
|
|
2102
2256
|
readonly subType: "switch";
|
|
@@ -2108,7 +2262,7 @@ export declare const defaultElements: {
|
|
|
2108
2262
|
readonly definition: {
|
|
2109
2263
|
readonly label: "Theme Toggle";
|
|
2110
2264
|
readonly type: "themeToggle";
|
|
2111
|
-
readonly description: "Lets a visitor choose light or dark. It writes the choice on the document root, where a space stylesheet is already looking for it, and remembers it — so the machine decides until somebody says otherwise. It ships no colours of its own: style it with the space own classes
|
|
2265
|
+
readonly description: "Lets a visitor choose light or dark. It writes the choice on the document root, where a space stylesheet is already looking for it, and remembers it — so the machine decides until somebody says otherwise. It ships no colours of its own: style it with the space own classes. It shows the icon of the scheme in use by default; key a rule off `data-theme-icon` to change that.";
|
|
2112
2266
|
readonly items: readonly [];
|
|
2113
2267
|
readonly bindings: {};
|
|
2114
2268
|
readonly styleSelectors: {
|
|
@@ -2162,12 +2316,12 @@ export declare const defaultElements: {
|
|
|
2162
2316
|
showSystem?: boolean | undefined;
|
|
2163
2317
|
}>>;
|
|
2164
2318
|
list: {
|
|
2165
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/List').ListProps<unknown>>): import(
|
|
2319
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/List').ListProps<unknown>>): import('react').JSX.Element;
|
|
2166
2320
|
displayName: string;
|
|
2167
2321
|
} & {
|
|
2168
2322
|
plugins: {
|
|
2169
2323
|
listItem: {
|
|
2170
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/ListItem/ListItem').ListItemProps>): import(
|
|
2324
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/List/ListItem/ListItem').ListItemProps>): import('react').JSX.Element;
|
|
2171
2325
|
displayName: string;
|
|
2172
2326
|
} & {
|
|
2173
2327
|
readonly type: "listItem";
|
|
@@ -2303,7 +2457,7 @@ export declare const defaultElements: {
|
|
|
2303
2457
|
}>;
|
|
2304
2458
|
};
|
|
2305
2459
|
link: {
|
|
2306
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Link/Link').LinkProps>): import(
|
|
2460
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Link/Link').LinkProps>): import('react').JSX.Element;
|
|
2307
2461
|
displayName: string;
|
|
2308
2462
|
} & {
|
|
2309
2463
|
readonly type: "link";
|
|
@@ -2367,7 +2521,7 @@ export declare const defaultElements: {
|
|
|
2367
2521
|
href?: string | undefined;
|
|
2368
2522
|
}>>;
|
|
2369
2523
|
markdown: {
|
|
2370
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import(
|
|
2524
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import('react').JSX.Element;
|
|
2371
2525
|
displayName: string;
|
|
2372
2526
|
} & {
|
|
2373
2527
|
readonly type: "markdown";
|
|
@@ -2423,7 +2577,7 @@ export declare const defaultElements: {
|
|
|
2423
2577
|
content: string;
|
|
2424
2578
|
}>>;
|
|
2425
2579
|
richText: {
|
|
2426
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/RichText/RichText').RichTextProps>): import(
|
|
2580
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/RichText/RichText').RichTextProps>): import('react').JSX.Element;
|
|
2427
2581
|
displayName: string;
|
|
2428
2582
|
} & {
|
|
2429
2583
|
readonly type: "richText";
|
|
@@ -2482,10 +2636,21 @@ export declare const defaultElements: {
|
|
|
2482
2636
|
mediaBaseUrl?: string | undefined;
|
|
2483
2637
|
}>>;
|
|
2484
2638
|
pagination: {
|
|
2485
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Pagination/Pagination').PaginationProps>): import(
|
|
2639
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Pagination/Pagination').PaginationProps>): import('react').JSX.Element;
|
|
2486
2640
|
displayName: string;
|
|
2487
2641
|
} & {
|
|
2488
2642
|
readonly type: "pagination";
|
|
2643
|
+
readonly triggers: {
|
|
2644
|
+
readonly onPageChange: {
|
|
2645
|
+
readonly action: "onPageChange";
|
|
2646
|
+
readonly title: "On Page Change";
|
|
2647
|
+
readonly type: "trigger";
|
|
2648
|
+
readonly params: {};
|
|
2649
|
+
readonly preview: {
|
|
2650
|
+
readonly page: "1";
|
|
2651
|
+
};
|
|
2652
|
+
};
|
|
2653
|
+
};
|
|
2489
2654
|
readonly content: {
|
|
2490
2655
|
readonly attributes: {
|
|
2491
2656
|
readonly pageInfo: {};
|
|
@@ -2556,12 +2721,12 @@ export declare const defaultElements: {
|
|
|
2556
2721
|
loadMoreLabel?: string | undefined;
|
|
2557
2722
|
}>>;
|
|
2558
2723
|
form: {
|
|
2559
|
-
(props: import('./Element/hocs/withElement').WithElementProps<elements.FormProps>): import(
|
|
2724
|
+
(props: import('./Element/hocs/withElement').WithElementProps<elements.FormProps>): import('react').JSX.Element;
|
|
2560
2725
|
displayName: string;
|
|
2561
2726
|
} & {
|
|
2562
2727
|
content: {
|
|
2563
2728
|
market: {
|
|
2564
|
-
icon: import(
|
|
2729
|
+
icon: import('react').JSX.Element;
|
|
2565
2730
|
category: "form";
|
|
2566
2731
|
owner: "Plitzi";
|
|
2567
2732
|
verified: true;
|
|
@@ -2612,6 +2777,63 @@ export declare const defaultElements: {
|
|
|
2612
2777
|
};
|
|
2613
2778
|
type: "form";
|
|
2614
2779
|
sourceType: "apiContainer";
|
|
2780
|
+
triggers: {
|
|
2781
|
+
readonly onSubmit: {
|
|
2782
|
+
readonly action: "onSubmit";
|
|
2783
|
+
readonly title: "On Form Submit";
|
|
2784
|
+
readonly type: "trigger";
|
|
2785
|
+
readonly params: {};
|
|
2786
|
+
readonly preview: {
|
|
2787
|
+
readonly values: {};
|
|
2788
|
+
readonly actionUrl: "";
|
|
2789
|
+
readonly method: "";
|
|
2790
|
+
};
|
|
2791
|
+
};
|
|
2792
|
+
};
|
|
2793
|
+
callbacks: {
|
|
2794
|
+
readonly performReset: {
|
|
2795
|
+
readonly action: "performReset";
|
|
2796
|
+
readonly title: "Reset Form";
|
|
2797
|
+
readonly type: "callback";
|
|
2798
|
+
readonly params: {};
|
|
2799
|
+
};
|
|
2800
|
+
readonly setFieldValue: {
|
|
2801
|
+
readonly action: "setFieldValue";
|
|
2802
|
+
readonly title: "Set Field Value";
|
|
2803
|
+
readonly type: "callback";
|
|
2804
|
+
readonly preview: {};
|
|
2805
|
+
readonly params: {
|
|
2806
|
+
readonly name: {
|
|
2807
|
+
readonly label: "Field Name";
|
|
2808
|
+
readonly defaultValue: undefined;
|
|
2809
|
+
readonly type: "select";
|
|
2810
|
+
readonly options: [];
|
|
2811
|
+
};
|
|
2812
|
+
readonly value: {
|
|
2813
|
+
readonly type: "text";
|
|
2814
|
+
readonly defaultValue: "";
|
|
2815
|
+
};
|
|
2816
|
+
};
|
|
2817
|
+
};
|
|
2818
|
+
readonly setFieldError: {
|
|
2819
|
+
readonly action: "setFieldError";
|
|
2820
|
+
readonly title: "Set Field Error";
|
|
2821
|
+
readonly type: "callback";
|
|
2822
|
+
readonly preview: {};
|
|
2823
|
+
readonly params: {
|
|
2824
|
+
readonly name: {
|
|
2825
|
+
readonly label: "Field Name";
|
|
2826
|
+
readonly defaultValue: undefined;
|
|
2827
|
+
readonly type: "select";
|
|
2828
|
+
readonly options: [];
|
|
2829
|
+
};
|
|
2830
|
+
readonly error: {
|
|
2831
|
+
readonly type: "text";
|
|
2832
|
+
readonly defaultValue: "";
|
|
2833
|
+
};
|
|
2834
|
+
};
|
|
2835
|
+
};
|
|
2836
|
+
};
|
|
2615
2837
|
__attributes: Partial<{
|
|
2616
2838
|
values: Record<string, unknown>;
|
|
2617
2839
|
method: "get" | "post";
|
|
@@ -2622,12 +2844,12 @@ export declare const defaultElements: {
|
|
|
2622
2844
|
}>;
|
|
2623
2845
|
};
|
|
2624
2846
|
formControl: {
|
|
2625
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/form/FormControl/hocs/withFieldValue').WithFieldValueProps<import('./elements/form/FormControl/FormControl').FormControlProps>>): import(
|
|
2847
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/form/FormControl/hocs/withFieldValue').WithFieldValueProps<import('./elements/form/FormControl/FormControl').FormControlProps>>): import('react').JSX.Element;
|
|
2626
2848
|
displayName: string;
|
|
2627
2849
|
} & {
|
|
2628
2850
|
content: {
|
|
2629
2851
|
market: {
|
|
2630
|
-
icon: import(
|
|
2852
|
+
icon: import('react').JSX.Element;
|
|
2631
2853
|
category: "form";
|
|
2632
2854
|
owner: "Plitzi";
|
|
2633
2855
|
verified: true;
|
|
@@ -3118,14 +3340,101 @@ export declare const defaultElements: {
|
|
|
3118
3340
|
settings: {};
|
|
3119
3341
|
};
|
|
3120
3342
|
type: "formControl";
|
|
3343
|
+
triggers: {
|
|
3344
|
+
readonly onChange: {
|
|
3345
|
+
readonly action: "onChange";
|
|
3346
|
+
readonly title: "On Change";
|
|
3347
|
+
readonly type: "trigger";
|
|
3348
|
+
readonly params: {};
|
|
3349
|
+
readonly preview: {
|
|
3350
|
+
readonly value: "";
|
|
3351
|
+
readonly name: "";
|
|
3352
|
+
};
|
|
3353
|
+
};
|
|
3354
|
+
};
|
|
3121
3355
|
__attributes: import('./elements/form/FormControl/declaration').FormControlAttributes;
|
|
3122
3356
|
};
|
|
3123
3357
|
apiContainer: {
|
|
3124
|
-
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/ApiContainer/ApiContainer').ApiContainerProps>): import(
|
|
3358
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/provider/ApiContainer/ApiContainer').ApiContainerProps>): import('react').JSX.Element;
|
|
3125
3359
|
displayName: string;
|
|
3126
3360
|
} & {
|
|
3127
3361
|
readonly type: "apiContainer";
|
|
3128
3362
|
readonly sourceType: "apiContainer";
|
|
3363
|
+
readonly triggers: {
|
|
3364
|
+
readonly onApiError: {
|
|
3365
|
+
readonly action: "onApiError";
|
|
3366
|
+
readonly title: "On Api Error";
|
|
3367
|
+
readonly type: "trigger";
|
|
3368
|
+
readonly params: {};
|
|
3369
|
+
readonly preview: {
|
|
3370
|
+
readonly url: "";
|
|
3371
|
+
readonly method: "";
|
|
3372
|
+
readonly status: "";
|
|
3373
|
+
readonly data: "";
|
|
3374
|
+
};
|
|
3375
|
+
};
|
|
3376
|
+
readonly onApiSuccess: {
|
|
3377
|
+
readonly action: "onApiSuccess";
|
|
3378
|
+
readonly title: "On Api Success";
|
|
3379
|
+
readonly type: "trigger";
|
|
3380
|
+
readonly params: {};
|
|
3381
|
+
readonly preview: {
|
|
3382
|
+
readonly url: "";
|
|
3383
|
+
readonly method: "";
|
|
3384
|
+
readonly status: "";
|
|
3385
|
+
readonly data: "";
|
|
3386
|
+
};
|
|
3387
|
+
};
|
|
3388
|
+
};
|
|
3389
|
+
readonly callbacks: {
|
|
3390
|
+
readonly performQuery: {
|
|
3391
|
+
readonly action: "performQuery";
|
|
3392
|
+
readonly title: "Perform Query";
|
|
3393
|
+
readonly type: "callback";
|
|
3394
|
+
readonly preview: {};
|
|
3395
|
+
readonly params: {};
|
|
3396
|
+
};
|
|
3397
|
+
readonly loadMore: {
|
|
3398
|
+
readonly action: "loadMore";
|
|
3399
|
+
readonly title: "Load More";
|
|
3400
|
+
readonly type: "callback";
|
|
3401
|
+
readonly preview: {};
|
|
3402
|
+
readonly params: {};
|
|
3403
|
+
};
|
|
3404
|
+
readonly goToPage: {
|
|
3405
|
+
readonly action: "goToPage";
|
|
3406
|
+
readonly title: "Go To Page";
|
|
3407
|
+
readonly type: "callback";
|
|
3408
|
+
readonly preview: {};
|
|
3409
|
+
readonly params: {
|
|
3410
|
+
readonly page: {
|
|
3411
|
+
readonly label: "Page";
|
|
3412
|
+
readonly defaultValue: "1";
|
|
3413
|
+
readonly type: "text";
|
|
3414
|
+
};
|
|
3415
|
+
};
|
|
3416
|
+
};
|
|
3417
|
+
readonly writeRecord: {
|
|
3418
|
+
readonly action: "writeRecord";
|
|
3419
|
+
readonly title: "Write Record";
|
|
3420
|
+
readonly type: "callback";
|
|
3421
|
+
readonly preview: {
|
|
3422
|
+
readonly action: "create";
|
|
3423
|
+
};
|
|
3424
|
+
readonly params: {
|
|
3425
|
+
readonly action: {
|
|
3426
|
+
readonly label: "Endpoint";
|
|
3427
|
+
readonly defaultValue: "create";
|
|
3428
|
+
readonly type: "text";
|
|
3429
|
+
};
|
|
3430
|
+
readonly recordId: {
|
|
3431
|
+
readonly label: "Record Id";
|
|
3432
|
+
readonly defaultValue: "";
|
|
3433
|
+
readonly type: "text";
|
|
3434
|
+
};
|
|
3435
|
+
};
|
|
3436
|
+
};
|
|
3437
|
+
};
|
|
3129
3438
|
readonly content: {
|
|
3130
3439
|
readonly attributes: {
|
|
3131
3440
|
readonly query: "";
|