@plitzi/sdk-elements 0.37.9 → 0.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +630 -0
- package/dist/Element/ElementWords.d.ts +16 -0
- package/dist/Element/ElementWords.mjs +19 -0
- package/dist/Element/RootElement.mjs +15 -12
- package/dist/Element/helpers/elementConstants.mjs +27 -0
- package/dist/Element/helpers/renderStaticTag.d.ts +3 -1
- package/dist/Element/helpers/renderStaticTag.mjs +6 -5
- package/dist/Element/hooks/useElementDataSource.mjs +20 -19
- package/dist/Element/hooks/useInternalItems.mjs +33 -31
- package/dist/Element/hooks/useIntervalTriggers.d.ts +17 -0
- package/dist/Element/hooks/useIntervalTriggers.mjs +37 -0
- package/dist/Element/hooks/useRootElementInteractions.d.ts +6 -2
- package/dist/Element/hooks/useRootElementInteractions.mjs +84 -63
- package/dist/Element/hooks/useScrollInteractions.d.ts +20 -0
- package/dist/Element/hooks/useScrollInteractions.mjs +58 -0
- package/dist/components/IconField/IconField.d.ts +8 -0
- package/dist/components/IconField/IconField.mjs +41 -0
- package/dist/components/IconField/index.d.ts +2 -0
- package/dist/components/IconField/index.mjs +2 -0
- package/dist/components/IconPicker/IconPicker.d.ts +11 -0
- package/dist/components/IconPicker/IconPicker.mjs +82 -0
- package/dist/components/IconPicker/index.d.ts +2 -0
- package/dist/components/IconPicker/index.mjs +2 -0
- package/dist/dataSource/GlobalSources.mjs +102 -83
- package/dist/dataSource/useFlag.d.ts +9 -0
- package/dist/dataSource/useFlag.mjs +8 -0
- package/dist/elements/advanced/BlockHtml/declaration.d.ts +1 -1
- package/dist/elements/advanced/BlockHtml/declaration.mjs +1 -1
- package/dist/elements/advanced/BlockHtml/index.d.ts +1 -1
- package/dist/elements/advanced/BlockJsx/Settings.mjs +2 -1
- package/dist/elements/advanced/BlockJsx/declaration.d.ts +1 -1
- package/dist/elements/advanced/BlockJsx/declaration.mjs +1 -1
- package/dist/elements/advanced/BlockJsx/index.d.ts +1 -1
- package/dist/elements/advanced/Custom/declaration.d.ts +1 -1
- package/dist/elements/advanced/Custom/declaration.mjs +1 -1
- package/dist/elements/advanced/Custom/index.d.ts +1 -1
- package/dist/elements/advanced/NodeHtml/declaration.d.ts +3 -3
- package/dist/elements/advanced/NodeHtml/declaration.mjs +1 -1
- package/dist/elements/advanced/NodeHtml/index.d.ts +3 -3
- package/dist/elements/advanced/Reference/declaration.d.ts +1 -1
- package/dist/elements/advanced/Reference/declaration.mjs +1 -1
- package/dist/elements/advanced/Reference/index.d.ts +1 -1
- package/dist/elements/basic/Button/Button.d.ts +9 -1
- package/dist/elements/basic/Button/Button.mjs +31 -19
- package/dist/elements/basic/Button/Settings.d.ts +3 -1
- package/dist/elements/basic/Button/Settings.mjs +39 -33
- package/dist/elements/basic/Button/declaration.d.ts +7 -1
- package/dist/elements/basic/Button/declaration.mjs +10 -4
- package/dist/elements/basic/Button/index.d.ts +7 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/declaration.d.ts +1 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/declaration.mjs +1 -1
- package/dist/elements/basic/Dropdown/DropdownPopup/index.d.ts +1 -1
- package/dist/elements/basic/Dropdown/declaration.d.ts +1 -1
- package/dist/elements/basic/Dropdown/declaration.mjs +1 -1
- package/dist/elements/basic/Dropdown/index.d.ts +2 -2
- package/dist/elements/basic/Heading/declaration.d.ts +1 -1
- package/dist/elements/basic/Heading/declaration.mjs +1 -1
- package/dist/elements/basic/Heading/index.d.ts +1 -1
- package/dist/elements/basic/Link/Link.d.ts +20 -1
- package/dist/elements/basic/Link/Link.mjs +67 -47
- package/dist/elements/basic/Link/Settings.d.ts +6 -1
- package/dist/elements/basic/Link/Settings.mjs +91 -58
- package/dist/elements/basic/Link/declaration.d.ts +14 -1
- package/dist/elements/basic/Link/declaration.mjs +15 -5
- package/dist/elements/basic/Link/index.d.ts +14 -1
- package/dist/elements/basic/Link/isCurrentPage.d.ts +5 -0
- package/dist/elements/basic/Link/isCurrentPage.mjs +12 -0
- package/dist/elements/basic/Markdown/declaration.d.ts +1 -1
- package/dist/elements/basic/Markdown/declaration.mjs +1 -1
- package/dist/elements/basic/Markdown/index.d.ts +1 -1
- package/dist/elements/basic/Paragraph/declaration.d.ts +1 -1
- package/dist/elements/basic/Paragraph/declaration.mjs +1 -1
- package/dist/elements/basic/Paragraph/index.d.ts +1 -1
- package/dist/elements/basic/RichText/declaration.d.ts +1 -1
- package/dist/elements/basic/RichText/declaration.mjs +1 -1
- package/dist/elements/basic/RichText/index.d.ts +1 -1
- package/dist/elements/basic/Text/declaration.d.ts +1 -1
- package/dist/elements/basic/Text/declaration.mjs +1 -1
- package/dist/elements/basic/Text/index.d.ts +1 -1
- package/dist/elements/basic/ThemeToggle/declaration.d.ts +1 -1
- package/dist/elements/basic/ThemeToggle/declaration.mjs +1 -1
- package/dist/elements/basic/ThemeToggle/index.d.ts +1 -1
- package/dist/elements/declarations/index.d.ts +362 -40
- package/dist/elements/declarations/index.mjs +40 -32
- package/dist/elements/form/Form/declaration.d.ts +1 -1
- package/dist/elements/form/Form/declaration.mjs +1 -1
- package/dist/elements/form/Form/index.d.ts +1 -1
- package/dist/elements/form/FormControl/FormControl.mjs +1 -1
- package/dist/elements/form/FormControl/declaration.d.ts +1 -1
- package/dist/elements/form/FormControl/declaration.mjs +1 -1
- package/dist/elements/form/FormControl/index.d.ts +1 -1
- package/dist/elements/index.d.ts +7 -1
- package/dist/elements/index.mjs +30 -24
- package/dist/elements/internal/LayoutContainer/declaration.d.ts +1 -1
- package/dist/elements/internal/LayoutContainer/declaration.mjs +1 -1
- package/dist/elements/internal/LayoutContainer/index.d.ts +1 -1
- package/dist/elements/internal/Loading/declaration.d.ts +1 -1
- package/dist/elements/internal/Loading/declaration.mjs +1 -1
- package/dist/elements/internal/Loading/index.d.ts +1 -1
- package/dist/elements/internal/NotFound/declaration.d.ts +1 -1
- package/dist/elements/internal/NotFound/declaration.mjs +1 -1
- package/dist/elements/internal/NotFound/index.d.ts +1 -1
- package/dist/elements/internal/Page/declaration.d.ts +1 -1
- package/dist/elements/internal/Page/declaration.mjs +1 -1
- package/dist/elements/internal/Page/index.d.ts +1 -1
- package/dist/elements/media/Embed/Embed.d.ts +22 -0
- package/dist/elements/media/Embed/Embed.mjs +29 -0
- package/dist/elements/media/Embed/Settings.d.ts +10 -0
- package/dist/elements/media/Embed/Settings.mjs +51 -0
- package/dist/elements/media/Embed/declaration.d.ts +70 -0
- package/dist/elements/media/Embed/declaration.mjs +54 -0
- package/dist/elements/media/Embed/embeddableSrc.d.ts +5 -0
- package/dist/elements/media/Embed/embeddableSrc.mjs +4 -0
- package/dist/elements/media/Embed/index.d.ts +69 -0
- package/dist/elements/media/Embed/index.mjs +6 -0
- package/dist/elements/media/FontAwesome/Settings.mjs +32 -100
- package/dist/elements/media/FontAwesome/declaration.d.ts +1 -1
- package/dist/elements/media/FontAwesome/declaration.mjs +1 -1
- package/dist/elements/media/FontAwesome/index.d.ts +1 -1
- package/dist/elements/media/Image/Image.d.ts +11 -1
- package/dist/elements/media/Image/Image.mjs +33 -23
- package/dist/elements/media/Image/Settings.d.ts +4 -1
- package/dist/elements/media/Image/Settings.mjs +32 -9
- package/dist/elements/media/Image/declaration.d.ts +4 -1
- package/dist/elements/media/Image/declaration.mjs +1 -1
- package/dist/elements/media/Image/index.d.ts +4 -1
- package/dist/elements/media/Svg/Settings.d.ts +7 -0
- package/dist/elements/media/Svg/Settings.mjs +24 -0
- package/dist/elements/media/Svg/Svg.d.ts +16 -0
- package/dist/elements/media/Svg/Svg.mjs +31 -0
- package/dist/elements/media/Svg/declaration.d.ts +61 -0
- package/dist/elements/media/Svg/declaration.mjs +49 -0
- package/dist/elements/media/Svg/index.d.ts +60 -0
- package/dist/elements/media/Svg/index.mjs +6 -0
- package/dist/elements/media/Svg/sanitizeSvg.d.ts +13 -0
- package/dist/elements/media/Svg/sanitizeSvg.mjs +5 -0
- package/dist/elements/media/Video/declaration.d.ts +1 -1
- package/dist/elements/media/Video/declaration.mjs +1 -1
- package/dist/elements/media/Video/index.d.ts +1 -1
- package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +6 -1
- package/dist/elements/provider/ApiContainer/ApiContainer.mjs +118 -112
- package/dist/elements/provider/ApiContainer/Settings.d.ts +2 -1
- package/dist/elements/provider/ApiContainer/Settings.mjs +45 -37
- package/dist/elements/provider/ApiContainer/declaration.d.ts +1 -1
- package/dist/elements/provider/ApiContainer/declaration.mjs +1 -1
- package/dist/elements/provider/ApiContainer/helpers/loadingSlot.d.ts +6 -0
- package/dist/elements/provider/ApiContainer/helpers/loadingSlot.mjs +8 -0
- package/dist/elements/provider/ApiContainer/index.d.ts +1 -1
- package/dist/elements/provider/Channel/declaration.d.ts +1 -1
- package/dist/elements/provider/Channel/declaration.mjs +1 -1
- package/dist/elements/provider/Channel/index.d.ts +1 -1
- package/dist/elements/settings.mjs +40 -32
- package/dist/elements/structure/Carousel/Carousel.d.ts +32 -0
- package/dist/elements/structure/Carousel/Carousel.mjs +183 -0
- package/dist/elements/structure/Carousel/CarouselContext.d.ts +29 -0
- package/dist/elements/structure/Carousel/CarouselContext.mjs +6 -0
- package/dist/elements/structure/Carousel/CarouselTrack/CarouselTrack.d.ts +15 -0
- package/dist/elements/structure/Carousel/CarouselTrack/CarouselTrack.mjs +51 -0
- package/dist/elements/structure/Carousel/CarouselTrack/Settings.d.ts +2 -0
- package/dist/elements/structure/Carousel/CarouselTrack/Settings.mjs +8 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/CarouselSlide/CarouselSlide.d.ts +15 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/CarouselSlide/CarouselSlide.mjs +28 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/CarouselSlide/index.d.ts +2 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/CarouselSlide/index.mjs +2 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/MarqueeTrack/MarqueeTrack.d.ts +18 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/MarqueeTrack/MarqueeTrack.mjs +41 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/MarqueeTrack/index.d.ts +2 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/MarqueeTrack/index.mjs +2 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/ScrollTrack.d.ts +12 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/ScrollTrack.mjs +27 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/index.d.ts +2 -0
- package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/index.mjs +2 -0
- package/dist/elements/structure/Carousel/CarouselTrack/declaration.d.ts +53 -0
- package/dist/elements/structure/Carousel/CarouselTrack/declaration.mjs +44 -0
- package/dist/elements/structure/Carousel/CarouselTrack/index.d.ts +52 -0
- package/dist/elements/structure/Carousel/CarouselTrack/index.mjs +6 -0
- package/dist/elements/structure/Carousel/Settings.d.ts +14 -0
- package/dist/elements/structure/Carousel/Settings.mjs +97 -0
- package/dist/elements/structure/Carousel/carouselIndex.d.ts +13 -0
- package/dist/elements/structure/Carousel/carouselIndex.mjs +16 -0
- package/dist/elements/structure/Carousel/declaration.d.ts +131 -0
- package/dist/elements/structure/Carousel/declaration.mjs +106 -0
- package/dist/elements/structure/Carousel/index.d.ts +184 -0
- package/dist/elements/structure/Carousel/index.mjs +10 -0
- package/dist/elements/structure/Carousel/useAutoplay.d.ts +18 -0
- package/dist/elements/structure/Carousel/useAutoplay.mjs +34 -0
- package/dist/elements/structure/Container/Container.d.ts +1 -1
- package/dist/elements/structure/Container/Settings.d.ts +1 -1
- package/dist/elements/structure/Container/Settings.mjs +4 -0
- package/dist/elements/structure/Container/declaration.d.ts +2 -2
- package/dist/elements/structure/Container/declaration.mjs +3 -2
- package/dist/elements/structure/Container/index.d.ts +2 -2
- package/dist/elements/structure/DialogContainer/declaration.d.ts +1 -1
- package/dist/elements/structure/DialogContainer/declaration.mjs +1 -1
- package/dist/elements/structure/DialogContainer/index.d.ts +1 -1
- package/dist/elements/structure/List/List.d.ts +6 -1
- package/dist/elements/structure/List/List.mjs +2 -1
- package/dist/elements/structure/List/ListItem/declaration.d.ts +1 -1
- package/dist/elements/structure/List/ListItem/declaration.mjs +1 -1
- package/dist/elements/structure/List/ListItem/index.d.ts +1 -1
- package/dist/elements/structure/List/Settings.d.ts +2 -1
- package/dist/elements/structure/List/Settings.mjs +41 -29
- package/dist/elements/structure/List/declaration.d.ts +2 -1
- package/dist/elements/structure/List/declaration.mjs +1 -1
- package/dist/elements/structure/List/index.d.ts +3 -2
- package/dist/elements/structure/List/modes/ListControlled/ListControlled.d.ts +2 -1
- package/dist/elements/structure/List/modes/ListControlled/ListControlled.mjs +33 -35
- package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.mjs +1 -1
- package/dist/elements/structure/List/modes/ListControlled/rowKeys.d.ts +10 -0
- package/dist/elements/structure/List/modes/ListControlled/rowKeys.mjs +11 -0
- package/dist/elements/structure/ModalContainer/declaration.d.ts +1 -1
- package/dist/elements/structure/ModalContainer/declaration.mjs +1 -1
- package/dist/elements/structure/ModalContainer/index.d.ts +1 -1
- package/dist/elements/structure/ModalContainer/metadataFromText.d.ts +6 -0
- package/dist/elements/structure/ModalContainer/metadataFromText.mjs +2 -1
- package/dist/elements/structure/Pagination/declaration.d.ts +1 -1
- package/dist/elements/structure/Pagination/declaration.mjs +1 -1
- package/dist/elements/structure/Pagination/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerBody/declaration.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerBody/declaration.mjs +1 -1
- package/dist/elements/structure/TabContainer/TabContainerBody/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerHeader/declaration.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerHeader/declaration.mjs +1 -1
- package/dist/elements/structure/TabContainer/TabContainerHeader/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/declaration.d.ts +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/declaration.mjs +1 -1
- package/dist/elements/structure/TabContainer/TabContainerItem/index.d.ts +1 -1
- package/dist/elements/structure/TabContainer/declaration.d.ts +1 -1
- package/dist/elements/structure/TabContainer/declaration.mjs +1 -1
- package/dist/elements/structure/TabContainer/index.d.ts +4 -4
- package/dist/index.d.ts +373 -39
- package/dist/index.mjs +34 -27
- package/package.json +200 -12
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare const defaultElements: {
|
|
|
34
34
|
readonly canSelect: true;
|
|
35
35
|
readonly canDragDrop: false;
|
|
36
36
|
readonly canMove: false;
|
|
37
|
-
readonly
|
|
37
|
+
readonly canSnippet: false;
|
|
38
38
|
readonly itemsAllowed: readonly [];
|
|
39
39
|
readonly itemsNotAllowed: readonly [];
|
|
40
40
|
};
|
|
@@ -111,7 +111,7 @@ export declare const defaultElements: {
|
|
|
111
111
|
readonly canSelect: true;
|
|
112
112
|
readonly canDragDrop: true;
|
|
113
113
|
readonly canMove: true;
|
|
114
|
-
readonly
|
|
114
|
+
readonly canSnippet: true;
|
|
115
115
|
readonly itemsAllowed: readonly [];
|
|
116
116
|
readonly itemsNotAllowed: readonly [];
|
|
117
117
|
};
|
|
@@ -185,7 +185,7 @@ export declare const defaultElements: {
|
|
|
185
185
|
readonly canSelect: true;
|
|
186
186
|
readonly canDragDrop: false;
|
|
187
187
|
readonly canMove: true;
|
|
188
|
-
readonly
|
|
188
|
+
readonly canSnippet: true;
|
|
189
189
|
readonly itemsAllowed: readonly [];
|
|
190
190
|
readonly itemsNotAllowed: readonly [];
|
|
191
191
|
};
|
|
@@ -234,7 +234,7 @@ export declare const defaultElements: {
|
|
|
234
234
|
readonly canSelect: true;
|
|
235
235
|
readonly canDragDrop: false;
|
|
236
236
|
readonly canMove: true;
|
|
237
|
-
readonly
|
|
237
|
+
readonly canSnippet: true;
|
|
238
238
|
readonly itemsAllowed: readonly [];
|
|
239
239
|
readonly itemsNotAllowed: readonly [];
|
|
240
240
|
};
|
|
@@ -289,7 +289,7 @@ export declare const defaultElements: {
|
|
|
289
289
|
readonly canSelect: true;
|
|
290
290
|
readonly canDragDrop: true;
|
|
291
291
|
readonly canMove: true;
|
|
292
|
-
readonly
|
|
292
|
+
readonly canSnippet: true;
|
|
293
293
|
readonly itemsAllowed: readonly [];
|
|
294
294
|
readonly itemsNotAllowed: readonly [];
|
|
295
295
|
};
|
|
@@ -342,7 +342,7 @@ export declare const defaultElements: {
|
|
|
342
342
|
readonly canSelect: true;
|
|
343
343
|
readonly canDragDrop: true;
|
|
344
344
|
readonly canMove: true;
|
|
345
|
-
readonly
|
|
345
|
+
readonly canSnippet: true;
|
|
346
346
|
readonly itemsAllowed: readonly [];
|
|
347
347
|
readonly itemsNotAllowed: readonly [];
|
|
348
348
|
};
|
|
@@ -396,7 +396,7 @@ export declare const defaultElements: {
|
|
|
396
396
|
readonly canSelect: true;
|
|
397
397
|
readonly canDragDrop: true;
|
|
398
398
|
readonly canMove: true;
|
|
399
|
-
readonly
|
|
399
|
+
readonly canSnippet: true;
|
|
400
400
|
readonly itemsAllowed: readonly [];
|
|
401
401
|
readonly itemsNotAllowed: readonly [];
|
|
402
402
|
};
|
|
@@ -450,7 +450,7 @@ export declare const defaultElements: {
|
|
|
450
450
|
readonly canSelect: true;
|
|
451
451
|
readonly canDragDrop: true;
|
|
452
452
|
readonly canMove: true;
|
|
453
|
-
readonly
|
|
453
|
+
readonly canSnippet: true;
|
|
454
454
|
readonly itemsAllowed: readonly [];
|
|
455
455
|
readonly itemsNotAllowed: readonly [];
|
|
456
456
|
};
|
|
@@ -493,6 +493,8 @@ export declare const defaultElements: {
|
|
|
493
493
|
slot?: string | undefined | undefined;
|
|
494
494
|
title?: string | undefined | undefined;
|
|
495
495
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
496
|
+
hidden?: boolean | undefined | undefined;
|
|
497
|
+
onScroll?: import('react').UIEventHandler<"span"> | undefined;
|
|
496
498
|
onLoad?: import('react').ReactEventHandler<"span"> | undefined;
|
|
497
499
|
onClick?: import('react').MouseEventHandler<"span"> | undefined;
|
|
498
500
|
onPointerDown?: import('react').PointerEventHandler<"span"> | undefined;
|
|
@@ -701,7 +703,6 @@ export declare const defaultElements: {
|
|
|
701
703
|
onGotPointerCaptureCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
702
704
|
onLostPointerCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
703
705
|
onLostPointerCaptureCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
704
|
-
onScroll?: import('react').UIEventHandler<"span"> | undefined;
|
|
705
706
|
onScrollCapture?: import('react').UIEventHandler<"span"> | undefined;
|
|
706
707
|
onScrollEnd?: import('react').UIEventHandler<"span"> | undefined;
|
|
707
708
|
onScrollEndCapture?: import('react').UIEventHandler<"span"> | undefined;
|
|
@@ -733,7 +734,6 @@ export declare const defaultElements: {
|
|
|
733
734
|
dir?: string | undefined | undefined;
|
|
734
735
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
735
736
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
736
|
-
hidden?: boolean | undefined | undefined;
|
|
737
737
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
738
738
|
translate?: "yes" | "no" | undefined | undefined;
|
|
739
739
|
radioGroup?: string | undefined | undefined;
|
|
@@ -796,7 +796,7 @@ export declare const defaultElements: {
|
|
|
796
796
|
readonly canSelect: true;
|
|
797
797
|
readonly canDragDrop: true;
|
|
798
798
|
readonly canMove: true;
|
|
799
|
-
readonly
|
|
799
|
+
readonly canSnippet: true;
|
|
800
800
|
readonly itemsAllowed: readonly [];
|
|
801
801
|
readonly itemsNotAllowed: readonly [];
|
|
802
802
|
};
|
|
@@ -869,7 +869,7 @@ export declare const defaultElements: {
|
|
|
869
869
|
readonly canSelect: true;
|
|
870
870
|
readonly canDragDrop: false;
|
|
871
871
|
readonly canMove: false;
|
|
872
|
-
readonly
|
|
872
|
+
readonly canSnippet: true;
|
|
873
873
|
readonly itemsAllowed: readonly [];
|
|
874
874
|
readonly itemsNotAllowed: readonly [];
|
|
875
875
|
};
|
|
@@ -942,7 +942,7 @@ export declare const defaultElements: {
|
|
|
942
942
|
readonly canSelect: true;
|
|
943
943
|
readonly canDragDrop: true;
|
|
944
944
|
readonly canMove: true;
|
|
945
|
-
readonly
|
|
945
|
+
readonly canSnippet: true;
|
|
946
946
|
readonly itemsAllowed: readonly [];
|
|
947
947
|
readonly itemsNotAllowed: readonly [];
|
|
948
948
|
};
|
|
@@ -969,7 +969,7 @@ export declare const defaultElements: {
|
|
|
969
969
|
};
|
|
970
970
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
971
971
|
label?: string | undefined;
|
|
972
|
-
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
972
|
+
subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | undefined;
|
|
973
973
|
decorative?: boolean | undefined;
|
|
974
974
|
}>>;
|
|
975
975
|
layoutContainer: {
|
|
@@ -1002,7 +1002,7 @@ export declare const defaultElements: {
|
|
|
1002
1002
|
readonly canSelect: true;
|
|
1003
1003
|
readonly canDragDrop: false;
|
|
1004
1004
|
readonly canMove: true;
|
|
1005
|
-
readonly
|
|
1005
|
+
readonly canSnippet: true;
|
|
1006
1006
|
readonly itemsAllowed: readonly [];
|
|
1007
1007
|
readonly itemsNotAllowed: readonly [];
|
|
1008
1008
|
};
|
|
@@ -1154,7 +1154,7 @@ export declare const defaultElements: {
|
|
|
1154
1154
|
readonly canSelect: true;
|
|
1155
1155
|
readonly canDragDrop: true;
|
|
1156
1156
|
readonly canMove: true;
|
|
1157
|
-
readonly
|
|
1157
|
+
readonly canSnippet: true;
|
|
1158
1158
|
readonly itemsAllowed: readonly [];
|
|
1159
1159
|
readonly itemsNotAllowed: readonly [];
|
|
1160
1160
|
};
|
|
@@ -1348,7 +1348,7 @@ export declare const defaultElements: {
|
|
|
1348
1348
|
readonly canSelect: true;
|
|
1349
1349
|
readonly canDragDrop: true;
|
|
1350
1350
|
readonly canMove: true;
|
|
1351
|
-
readonly
|
|
1351
|
+
readonly canSnippet: true;
|
|
1352
1352
|
readonly itemsAllowed: readonly [];
|
|
1353
1353
|
readonly itemsNotAllowed: readonly [];
|
|
1354
1354
|
};
|
|
@@ -1487,7 +1487,7 @@ export declare const defaultElements: {
|
|
|
1487
1487
|
readonly canSelect: true;
|
|
1488
1488
|
readonly canDragDrop: false;
|
|
1489
1489
|
readonly canMove: false;
|
|
1490
|
-
readonly
|
|
1490
|
+
readonly canSnippet: false;
|
|
1491
1491
|
readonly itemsAllowed: readonly ["tabContainerItem"];
|
|
1492
1492
|
readonly itemsNotAllowed: readonly [];
|
|
1493
1493
|
};
|
|
@@ -1540,7 +1540,7 @@ export declare const defaultElements: {
|
|
|
1540
1540
|
readonly canSelect: true;
|
|
1541
1541
|
readonly canDragDrop: false;
|
|
1542
1542
|
readonly canMove: false;
|
|
1543
|
-
readonly
|
|
1543
|
+
readonly canSnippet: false;
|
|
1544
1544
|
readonly itemsAllowed: readonly ["tabContainerItem"];
|
|
1545
1545
|
readonly itemsNotAllowed: readonly [];
|
|
1546
1546
|
};
|
|
@@ -1592,7 +1592,7 @@ export declare const defaultElements: {
|
|
|
1592
1592
|
readonly canSelect: true;
|
|
1593
1593
|
readonly canDragDrop: true;
|
|
1594
1594
|
readonly canMove: true;
|
|
1595
|
-
readonly
|
|
1595
|
+
readonly canSnippet: true;
|
|
1596
1596
|
readonly itemsAllowed: readonly [];
|
|
1597
1597
|
readonly itemsNotAllowed: readonly ["tabContainerItem", "tabContainerHeader", "tabContainerBody"];
|
|
1598
1598
|
};
|
|
@@ -1640,7 +1640,7 @@ export declare const defaultElements: {
|
|
|
1640
1640
|
readonly canSelect: true;
|
|
1641
1641
|
readonly canDragDrop: true;
|
|
1642
1642
|
readonly canMove: true;
|
|
1643
|
-
readonly
|
|
1643
|
+
readonly canSnippet: true;
|
|
1644
1644
|
readonly itemsAllowed: readonly ["tabContainerHeader", "tabContainerBody"];
|
|
1645
1645
|
readonly itemsNotAllowed: readonly [];
|
|
1646
1646
|
};
|
|
@@ -1668,6 +1668,189 @@ export declare const defaultElements: {
|
|
|
1668
1668
|
initialItems: readonly ["tabContainerHeader", "tabContainerBody"];
|
|
1669
1669
|
__attributes: unknown;
|
|
1670
1670
|
};
|
|
1671
|
+
carousel: {
|
|
1672
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Carousel/Carousel').CarouselProps>): import('react').JSX.Element;
|
|
1673
|
+
displayName: string;
|
|
1674
|
+
} & {
|
|
1675
|
+
plugins: {
|
|
1676
|
+
carouselTrack: {
|
|
1677
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/structure/Carousel/CarouselTrack/CarouselTrack').CarouselTrackProps>): import('react').JSX.Element;
|
|
1678
|
+
displayName: string;
|
|
1679
|
+
} & {
|
|
1680
|
+
readonly type: "carouselTrack";
|
|
1681
|
+
readonly ancestorType: "carousel";
|
|
1682
|
+
readonly content: {
|
|
1683
|
+
readonly attributes: {};
|
|
1684
|
+
readonly definition: {
|
|
1685
|
+
readonly label: "Carousel Track";
|
|
1686
|
+
readonly type: "carouselTrack";
|
|
1687
|
+
readonly description: "Where a carousel shows its slides: what is inside is one slide, rendered once per item.";
|
|
1688
|
+
readonly items: readonly [];
|
|
1689
|
+
readonly bindings: {};
|
|
1690
|
+
readonly styleSelectors: {
|
|
1691
|
+
readonly base: "";
|
|
1692
|
+
};
|
|
1693
|
+
readonly initialState: {
|
|
1694
|
+
readonly visibility: true;
|
|
1695
|
+
};
|
|
1696
|
+
};
|
|
1697
|
+
readonly builder: {
|
|
1698
|
+
readonly canDelete: true;
|
|
1699
|
+
readonly canSelect: true;
|
|
1700
|
+
readonly canDragDrop: true;
|
|
1701
|
+
readonly canMove: true;
|
|
1702
|
+
readonly canSnippet: false;
|
|
1703
|
+
readonly itemsAllowed: readonly [];
|
|
1704
|
+
readonly itemsNotAllowed: readonly [];
|
|
1705
|
+
};
|
|
1706
|
+
readonly market: {
|
|
1707
|
+
readonly category: "structure";
|
|
1708
|
+
readonly owner: "Plitzi";
|
|
1709
|
+
readonly verified: true;
|
|
1710
|
+
readonly license: "MIT";
|
|
1711
|
+
readonly website: "https://plitzi.com";
|
|
1712
|
+
readonly backgroundColor: "#4422ee";
|
|
1713
|
+
readonly icon: "fa-solid fa-film";
|
|
1714
|
+
};
|
|
1715
|
+
readonly defaultStyle: {
|
|
1716
|
+
readonly name: "Carousel Track";
|
|
1717
|
+
readonly displayMode: "desktop";
|
|
1718
|
+
readonly style: {
|
|
1719
|
+
readonly base: {
|
|
1720
|
+
readonly default: {};
|
|
1721
|
+
};
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1724
|
+
readonly settings: {};
|
|
1725
|
+
};
|
|
1726
|
+
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<unknown>;
|
|
1727
|
+
};
|
|
1728
|
+
type: "carousel";
|
|
1729
|
+
sourceType: "carousel";
|
|
1730
|
+
triggers: {
|
|
1731
|
+
readonly onChange: {
|
|
1732
|
+
readonly action: "onChange";
|
|
1733
|
+
readonly title: "On Slide Change";
|
|
1734
|
+
readonly type: "trigger";
|
|
1735
|
+
readonly params: {};
|
|
1736
|
+
readonly preview: {
|
|
1737
|
+
readonly index: "0";
|
|
1738
|
+
readonly item: {};
|
|
1739
|
+
};
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
callbacks: {
|
|
1743
|
+
readonly next: {
|
|
1744
|
+
readonly action: "next";
|
|
1745
|
+
readonly title: "Next Slide";
|
|
1746
|
+
readonly type: "callback";
|
|
1747
|
+
readonly params: {};
|
|
1748
|
+
readonly preview: {};
|
|
1749
|
+
};
|
|
1750
|
+
readonly previous: {
|
|
1751
|
+
readonly action: "previous";
|
|
1752
|
+
readonly title: "Previous Slide";
|
|
1753
|
+
readonly type: "callback";
|
|
1754
|
+
readonly params: {};
|
|
1755
|
+
readonly preview: {};
|
|
1756
|
+
};
|
|
1757
|
+
readonly goTo: {
|
|
1758
|
+
readonly action: "goTo";
|
|
1759
|
+
readonly title: "Go To Slide";
|
|
1760
|
+
readonly type: "callback";
|
|
1761
|
+
readonly params: {
|
|
1762
|
+
readonly index: {
|
|
1763
|
+
readonly type: "text";
|
|
1764
|
+
readonly label: "Index (from 0)";
|
|
1765
|
+
readonly defaultValue: "0";
|
|
1766
|
+
readonly canBind: true;
|
|
1767
|
+
};
|
|
1768
|
+
};
|
|
1769
|
+
readonly preview: {};
|
|
1770
|
+
};
|
|
1771
|
+
readonly play: {
|
|
1772
|
+
readonly action: "play";
|
|
1773
|
+
readonly title: "Play";
|
|
1774
|
+
readonly type: "callback";
|
|
1775
|
+
readonly params: {};
|
|
1776
|
+
readonly preview: {};
|
|
1777
|
+
};
|
|
1778
|
+
readonly pause: {
|
|
1779
|
+
readonly action: "pause";
|
|
1780
|
+
readonly title: "Pause";
|
|
1781
|
+
readonly type: "callback";
|
|
1782
|
+
readonly params: {};
|
|
1783
|
+
readonly preview: {};
|
|
1784
|
+
};
|
|
1785
|
+
};
|
|
1786
|
+
content: {
|
|
1787
|
+
readonly attributes: {
|
|
1788
|
+
readonly items: readonly [];
|
|
1789
|
+
readonly mode: "slide";
|
|
1790
|
+
readonly autoplay: 0;
|
|
1791
|
+
readonly pauseOnHover: true;
|
|
1792
|
+
readonly loop: true;
|
|
1793
|
+
readonly transition: "slide";
|
|
1794
|
+
readonly speed: 30;
|
|
1795
|
+
readonly label: "";
|
|
1796
|
+
};
|
|
1797
|
+
readonly definition: {
|
|
1798
|
+
readonly label: "Carousel";
|
|
1799
|
+
readonly type: "carousel";
|
|
1800
|
+
readonly description: "Items shown one at a time, scrolled past as a marquee, or swiped as a row — with controls of its own inside.";
|
|
1801
|
+
readonly items: readonly [];
|
|
1802
|
+
readonly bindings: {};
|
|
1803
|
+
readonly styleSelectors: {
|
|
1804
|
+
readonly base: "";
|
|
1805
|
+
};
|
|
1806
|
+
readonly initialState: {
|
|
1807
|
+
readonly visibility: true;
|
|
1808
|
+
};
|
|
1809
|
+
};
|
|
1810
|
+
readonly builder: {
|
|
1811
|
+
readonly canDelete: true;
|
|
1812
|
+
readonly canSelect: true;
|
|
1813
|
+
readonly canDragDrop: true;
|
|
1814
|
+
readonly canMove: true;
|
|
1815
|
+
readonly canSnippet: true;
|
|
1816
|
+
readonly itemsAllowed: readonly [];
|
|
1817
|
+
readonly itemsNotAllowed: readonly [];
|
|
1818
|
+
};
|
|
1819
|
+
readonly market: {
|
|
1820
|
+
readonly category: "structure";
|
|
1821
|
+
readonly owner: "Plitzi";
|
|
1822
|
+
readonly verified: true;
|
|
1823
|
+
readonly license: "MIT";
|
|
1824
|
+
readonly website: "https://plitzi.com";
|
|
1825
|
+
readonly backgroundColor: "#4422ee";
|
|
1826
|
+
readonly icon: "fa-solid fa-images";
|
|
1827
|
+
};
|
|
1828
|
+
readonly defaultStyle: {
|
|
1829
|
+
readonly name: "Carousel";
|
|
1830
|
+
readonly displayMode: "desktop";
|
|
1831
|
+
readonly style: {
|
|
1832
|
+
readonly base: {
|
|
1833
|
+
readonly default: {
|
|
1834
|
+
readonly position: "relative";
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
readonly settings: {};
|
|
1840
|
+
};
|
|
1841
|
+
initialItems: readonly ["carouselTrack"];
|
|
1842
|
+
__attributes: Partial<{
|
|
1843
|
+
mode?: import('./elements/structure/Carousel/CarouselContext').CarouselMode | undefined;
|
|
1844
|
+
label?: string | undefined;
|
|
1845
|
+
items?: unknown[] | undefined;
|
|
1846
|
+
speed?: number | undefined;
|
|
1847
|
+
loop?: boolean | undefined;
|
|
1848
|
+
autoplay?: number | undefined;
|
|
1849
|
+
pauseOnHover?: boolean | undefined;
|
|
1850
|
+
transition?: import('./elements/structure/Carousel/CarouselContext').CarouselTransition | undefined;
|
|
1851
|
+
itemKey?: string | undefined;
|
|
1852
|
+
}>;
|
|
1853
|
+
};
|
|
1671
1854
|
heading: {
|
|
1672
1855
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import('react').JSX.Element;
|
|
1673
1856
|
displayName: string;
|
|
@@ -1698,7 +1881,7 @@ export declare const defaultElements: {
|
|
|
1698
1881
|
readonly canSelect: true;
|
|
1699
1882
|
readonly canDragDrop: true;
|
|
1700
1883
|
readonly canMove: true;
|
|
1701
|
-
readonly
|
|
1884
|
+
readonly canSnippet: true;
|
|
1702
1885
|
readonly itemsAllowed: readonly [];
|
|
1703
1886
|
readonly itemsNotAllowed: readonly [];
|
|
1704
1887
|
};
|
|
@@ -1852,7 +2035,7 @@ export declare const defaultElements: {
|
|
|
1852
2035
|
readonly canSelect: true;
|
|
1853
2036
|
readonly canDragDrop: true;
|
|
1854
2037
|
readonly canMove: true;
|
|
1855
|
-
readonly
|
|
2038
|
+
readonly canSnippet: true;
|
|
1856
2039
|
readonly itemsAllowed: readonly [];
|
|
1857
2040
|
readonly itemsNotAllowed: readonly [];
|
|
1858
2041
|
};
|
|
@@ -1881,7 +2064,10 @@ export declare const defaultElements: {
|
|
|
1881
2064
|
readonly settings: {};
|
|
1882
2065
|
};
|
|
1883
2066
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2067
|
+
height?: number | undefined;
|
|
2068
|
+
width?: number | undefined;
|
|
1884
2069
|
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
2070
|
+
sizes?: string | undefined;
|
|
1885
2071
|
src?: string | undefined;
|
|
1886
2072
|
alt?: string | undefined;
|
|
1887
2073
|
decorative?: boolean | undefined;
|
|
@@ -1917,7 +2103,7 @@ export declare const defaultElements: {
|
|
|
1917
2103
|
readonly canSelect: true;
|
|
1918
2104
|
readonly canDragDrop: true;
|
|
1919
2105
|
readonly canMove: true;
|
|
1920
|
-
readonly
|
|
2106
|
+
readonly canSnippet: true;
|
|
1921
2107
|
readonly itemsAllowed: readonly [];
|
|
1922
2108
|
readonly itemsNotAllowed: readonly [];
|
|
1923
2109
|
};
|
|
@@ -1952,6 +2138,133 @@ export declare const defaultElements: {
|
|
|
1952
2138
|
muted?: boolean | undefined;
|
|
1953
2139
|
playsInline?: boolean | undefined;
|
|
1954
2140
|
}>>;
|
|
2141
|
+
embed: {
|
|
2142
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Embed/Embed').EmbedProps>): import('react').JSX.Element;
|
|
2143
|
+
displayName: string;
|
|
2144
|
+
} & {
|
|
2145
|
+
readonly type: "embed";
|
|
2146
|
+
readonly content: {
|
|
2147
|
+
readonly attributes: {
|
|
2148
|
+
readonly src: "";
|
|
2149
|
+
readonly title: "";
|
|
2150
|
+
readonly loading: "lazy";
|
|
2151
|
+
};
|
|
2152
|
+
readonly definition: {
|
|
2153
|
+
readonly label: "Embed";
|
|
2154
|
+
readonly type: "embed";
|
|
2155
|
+
readonly description: "Another page inside this one — a map, a video player, a form — in a frame.";
|
|
2156
|
+
readonly bindings: {};
|
|
2157
|
+
readonly styleSelectors: {
|
|
2158
|
+
readonly base: "";
|
|
2159
|
+
};
|
|
2160
|
+
readonly initialState: {
|
|
2161
|
+
readonly visibility: true;
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2164
|
+
readonly builder: {
|
|
2165
|
+
readonly canDelete: true;
|
|
2166
|
+
readonly canSelect: true;
|
|
2167
|
+
readonly canDragDrop: true;
|
|
2168
|
+
readonly canMove: true;
|
|
2169
|
+
readonly canSnippet: true;
|
|
2170
|
+
readonly itemsAllowed: readonly [];
|
|
2171
|
+
readonly itemsNotAllowed: readonly [];
|
|
2172
|
+
};
|
|
2173
|
+
readonly market: {
|
|
2174
|
+
readonly category: "media";
|
|
2175
|
+
readonly owner: "Plitzi";
|
|
2176
|
+
readonly verified: true;
|
|
2177
|
+
readonly license: "MIT";
|
|
2178
|
+
readonly website: "https://plitzi.com";
|
|
2179
|
+
readonly backgroundColor: "#4422ee";
|
|
2180
|
+
readonly icon: "fa-solid fa-window-maximize";
|
|
2181
|
+
};
|
|
2182
|
+
readonly defaultStyle: {
|
|
2183
|
+
readonly name: "Embed";
|
|
2184
|
+
readonly displayMode: "desktop";
|
|
2185
|
+
readonly style: {
|
|
2186
|
+
readonly base: {
|
|
2187
|
+
readonly default: {
|
|
2188
|
+
readonly display: "block";
|
|
2189
|
+
readonly width: "100%";
|
|
2190
|
+
readonly 'aspect-ratio': "16 / 9";
|
|
2191
|
+
readonly 'border-top-width': "0px";
|
|
2192
|
+
readonly 'border-right-width': "0px";
|
|
2193
|
+
readonly 'border-bottom-width': "0px";
|
|
2194
|
+
readonly 'border-left-width': "0px";
|
|
2195
|
+
};
|
|
2196
|
+
};
|
|
2197
|
+
};
|
|
2198
|
+
};
|
|
2199
|
+
readonly settings: {};
|
|
2200
|
+
};
|
|
2201
|
+
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2202
|
+
title?: string | undefined;
|
|
2203
|
+
referrerPolicy?: "no-referrer" | "origin" | "strict-origin-when-cross-origin" | "no-referrer-when-downgrade" | undefined;
|
|
2204
|
+
src?: string | undefined;
|
|
2205
|
+
allow?: string | undefined;
|
|
2206
|
+
loading?: "lazy" | "eager" | undefined;
|
|
2207
|
+
sandbox?: string | undefined;
|
|
2208
|
+
}>>;
|
|
2209
|
+
svg: {
|
|
2210
|
+
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/Svg/Svg').SvgProps>): import('react').JSX.Element;
|
|
2211
|
+
displayName: string;
|
|
2212
|
+
} & {
|
|
2213
|
+
readonly type: "svg";
|
|
2214
|
+
readonly content: {
|
|
2215
|
+
readonly attributes: {
|
|
2216
|
+
readonly content: "";
|
|
2217
|
+
readonly label: "";
|
|
2218
|
+
};
|
|
2219
|
+
readonly definition: {
|
|
2220
|
+
readonly label: "SVG";
|
|
2221
|
+
readonly type: "svg";
|
|
2222
|
+
readonly description: "A drawing written as SVG markup, coloured by its class.";
|
|
2223
|
+
readonly bindings: {};
|
|
2224
|
+
readonly styleSelectors: {
|
|
2225
|
+
readonly base: "";
|
|
2226
|
+
};
|
|
2227
|
+
readonly initialState: {
|
|
2228
|
+
readonly visibility: true;
|
|
2229
|
+
};
|
|
2230
|
+
};
|
|
2231
|
+
readonly builder: {
|
|
2232
|
+
readonly canDelete: true;
|
|
2233
|
+
readonly canSelect: true;
|
|
2234
|
+
readonly canDragDrop: true;
|
|
2235
|
+
readonly canMove: true;
|
|
2236
|
+
readonly canSnippet: true;
|
|
2237
|
+
readonly itemsAllowed: readonly [];
|
|
2238
|
+
readonly itemsNotAllowed: readonly [];
|
|
2239
|
+
};
|
|
2240
|
+
readonly market: {
|
|
2241
|
+
readonly category: "media";
|
|
2242
|
+
readonly owner: "Plitzi";
|
|
2243
|
+
readonly verified: true;
|
|
2244
|
+
readonly license: "MIT";
|
|
2245
|
+
readonly website: "https://plitzi.com";
|
|
2246
|
+
readonly backgroundColor: "#4422ee";
|
|
2247
|
+
readonly icon: "fa-solid fa-bezier-curve";
|
|
2248
|
+
};
|
|
2249
|
+
readonly defaultStyle: {
|
|
2250
|
+
readonly name: "Svg";
|
|
2251
|
+
readonly displayMode: "desktop";
|
|
2252
|
+
readonly style: {
|
|
2253
|
+
readonly base: {
|
|
2254
|
+
readonly default: {
|
|
2255
|
+
readonly display: "inline-flex";
|
|
2256
|
+
readonly width: "24px";
|
|
2257
|
+
readonly height: "24px";
|
|
2258
|
+
};
|
|
2259
|
+
};
|
|
2260
|
+
};
|
|
2261
|
+
};
|
|
2262
|
+
readonly settings: {};
|
|
2263
|
+
};
|
|
2264
|
+
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2265
|
+
label?: string | undefined;
|
|
2266
|
+
content?: string | undefined;
|
|
2267
|
+
}>>;
|
|
1955
2268
|
fontAwesome: {
|
|
1956
2269
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import('react').JSX.Element;
|
|
1957
2270
|
displayName: string;
|
|
@@ -1980,7 +2293,7 @@ export declare const defaultElements: {
|
|
|
1980
2293
|
readonly canSelect: true;
|
|
1981
2294
|
readonly canDragDrop: true;
|
|
1982
2295
|
readonly canMove: true;
|
|
1983
|
-
readonly
|
|
2296
|
+
readonly canSnippet: true;
|
|
1984
2297
|
readonly itemsAllowed: readonly [];
|
|
1985
2298
|
readonly itemsNotAllowed: readonly [];
|
|
1986
2299
|
};
|
|
@@ -2021,11 +2334,14 @@ export declare const defaultElements: {
|
|
|
2021
2334
|
readonly attributeValues: {
|
|
2022
2335
|
readonly subType: readonly string[];
|
|
2023
2336
|
readonly contentPlacement: readonly string[];
|
|
2337
|
+
readonly iconPlacement: readonly string[];
|
|
2024
2338
|
};
|
|
2025
2339
|
readonly content: {
|
|
2026
2340
|
readonly attributes: {
|
|
2027
2341
|
readonly contentPlacement: "after";
|
|
2028
2342
|
readonly content: "Button";
|
|
2343
|
+
readonly icon: "";
|
|
2344
|
+
readonly iconPlacement: "before";
|
|
2029
2345
|
readonly subType: "button";
|
|
2030
2346
|
readonly disabled: false;
|
|
2031
2347
|
};
|
|
@@ -2037,6 +2353,7 @@ export declare const defaultElements: {
|
|
|
2037
2353
|
readonly bindings: {};
|
|
2038
2354
|
readonly styleSelectors: {
|
|
2039
2355
|
readonly base: "";
|
|
2356
|
+
readonly icon: "";
|
|
2040
2357
|
};
|
|
2041
2358
|
readonly initialState: {
|
|
2042
2359
|
readonly visibility: true;
|
|
@@ -2047,7 +2364,7 @@ export declare const defaultElements: {
|
|
|
2047
2364
|
readonly canSelect: true;
|
|
2048
2365
|
readonly canDragDrop: true;
|
|
2049
2366
|
readonly canMove: true;
|
|
2050
|
-
readonly
|
|
2367
|
+
readonly canSnippet: true;
|
|
2051
2368
|
readonly itemsAllowed: readonly [];
|
|
2052
2369
|
readonly itemsNotAllowed: readonly [];
|
|
2053
2370
|
};
|
|
@@ -2141,7 +2458,9 @@ export declare const defaultElements: {
|
|
|
2141
2458
|
title?: string | undefined;
|
|
2142
2459
|
content?: string | undefined;
|
|
2143
2460
|
disabled?: boolean | undefined;
|
|
2461
|
+
icon?: string | undefined;
|
|
2144
2462
|
subType?: "button" | "submit" | "reset" | undefined;
|
|
2463
|
+
iconPlacement?: import('./Element/ElementWords').IconPlacement | undefined;
|
|
2145
2464
|
contentPlacement?: "before" | "after" | undefined;
|
|
2146
2465
|
ariaExpanded?: boolean | undefined;
|
|
2147
2466
|
ariaPressed?: boolean | undefined;
|
|
@@ -2172,7 +2491,7 @@ export declare const defaultElements: {
|
|
|
2172
2491
|
readonly canSelect: true;
|
|
2173
2492
|
readonly canDragDrop: true;
|
|
2174
2493
|
readonly canMove: true;
|
|
2175
|
-
readonly
|
|
2494
|
+
readonly canSnippet: true;
|
|
2176
2495
|
readonly itemsAllowed: readonly [];
|
|
2177
2496
|
readonly itemsNotAllowed: readonly [];
|
|
2178
2497
|
};
|
|
@@ -2228,7 +2547,7 @@ export declare const defaultElements: {
|
|
|
2228
2547
|
readonly canSelect: true;
|
|
2229
2548
|
readonly canDragDrop: true;
|
|
2230
2549
|
readonly canMove: true;
|
|
2231
|
-
readonly
|
|
2550
|
+
readonly canSnippet: true;
|
|
2232
2551
|
readonly itemsAllowed: readonly [];
|
|
2233
2552
|
readonly itemsNotAllowed: readonly [];
|
|
2234
2553
|
};
|
|
@@ -2306,7 +2625,7 @@ export declare const defaultElements: {
|
|
|
2306
2625
|
readonly canSelect: true;
|
|
2307
2626
|
readonly canDragDrop: true;
|
|
2308
2627
|
readonly canMove: true;
|
|
2309
|
-
readonly
|
|
2628
|
+
readonly canSnippet: true;
|
|
2310
2629
|
readonly itemsAllowed: readonly [];
|
|
2311
2630
|
readonly itemsNotAllowed: readonly [];
|
|
2312
2631
|
};
|
|
@@ -2372,7 +2691,7 @@ export declare const defaultElements: {
|
|
|
2372
2691
|
readonly canSelect: true;
|
|
2373
2692
|
readonly canDragDrop: true;
|
|
2374
2693
|
readonly canMove: true;
|
|
2375
|
-
readonly
|
|
2694
|
+
readonly canSnippet: true;
|
|
2376
2695
|
readonly itemsAllowed: readonly [];
|
|
2377
2696
|
readonly itemsNotAllowed: readonly ["listItem"];
|
|
2378
2697
|
};
|
|
@@ -2428,7 +2747,7 @@ export declare const defaultElements: {
|
|
|
2428
2747
|
readonly canSelect: true;
|
|
2429
2748
|
readonly canDragDrop: true;
|
|
2430
2749
|
readonly canMove: true;
|
|
2431
|
-
readonly
|
|
2750
|
+
readonly canSnippet: true;
|
|
2432
2751
|
readonly itemsAllowed: readonly [];
|
|
2433
2752
|
readonly itemsNotAllowed: readonly [];
|
|
2434
2753
|
};
|
|
@@ -2485,6 +2804,7 @@ export declare const defaultElements: {
|
|
|
2485
2804
|
source?: "none" | "controlled" | undefined;
|
|
2486
2805
|
items?: unknown[] | undefined;
|
|
2487
2806
|
subType?: "ul" | "ol" | undefined;
|
|
2807
|
+
itemKey?: string | undefined;
|
|
2488
2808
|
}>;
|
|
2489
2809
|
};
|
|
2490
2810
|
link: {
|
|
@@ -2495,13 +2815,20 @@ export declare const defaultElements: {
|
|
|
2495
2815
|
readonly attributeValues: {
|
|
2496
2816
|
readonly mode: readonly string[];
|
|
2497
2817
|
readonly target: readonly string[];
|
|
2818
|
+
readonly contentPlacement: readonly string[];
|
|
2819
|
+
readonly iconPlacement: readonly string[];
|
|
2498
2820
|
};
|
|
2499
2821
|
readonly content: {
|
|
2500
2822
|
readonly attributes: {
|
|
2501
2823
|
readonly href: "#";
|
|
2502
2824
|
readonly target: "self";
|
|
2503
2825
|
readonly mode: "page";
|
|
2826
|
+
readonly hash: "";
|
|
2504
2827
|
readonly label: "";
|
|
2828
|
+
readonly content: "";
|
|
2829
|
+
readonly contentPlacement: "after";
|
|
2830
|
+
readonly icon: "";
|
|
2831
|
+
readonly iconPlacement: "before";
|
|
2505
2832
|
};
|
|
2506
2833
|
readonly definition: {
|
|
2507
2834
|
readonly label: "Link";
|
|
@@ -2511,6 +2838,7 @@ export declare const defaultElements: {
|
|
|
2511
2838
|
readonly bindings: {};
|
|
2512
2839
|
readonly styleSelectors: {
|
|
2513
2840
|
readonly base: "";
|
|
2841
|
+
readonly icon: "";
|
|
2514
2842
|
};
|
|
2515
2843
|
readonly initialState: {
|
|
2516
2844
|
readonly visibility: true;
|
|
@@ -2521,7 +2849,7 @@ export declare const defaultElements: {
|
|
|
2521
2849
|
readonly canSelect: true;
|
|
2522
2850
|
readonly canDragDrop: true;
|
|
2523
2851
|
readonly canMove: true;
|
|
2524
|
-
readonly
|
|
2852
|
+
readonly canSnippet: true;
|
|
2525
2853
|
readonly itemsAllowed: readonly [];
|
|
2526
2854
|
readonly itemsNotAllowed: readonly ["link"];
|
|
2527
2855
|
};
|
|
@@ -2554,6 +2882,11 @@ export declare const defaultElements: {
|
|
|
2554
2882
|
href?: string | undefined;
|
|
2555
2883
|
label?: string | undefined;
|
|
2556
2884
|
target?: "self" | "blank" | "parent" | "top" | undefined;
|
|
2885
|
+
content?: string | undefined;
|
|
2886
|
+
icon?: string | undefined;
|
|
2887
|
+
iconPlacement?: import('./Element/ElementWords').IconPlacement | undefined;
|
|
2888
|
+
contentPlacement?: "before" | "after" | undefined;
|
|
2889
|
+
hash?: string | undefined;
|
|
2557
2890
|
}>>;
|
|
2558
2891
|
markdown: {
|
|
2559
2892
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import('react').JSX.Element;
|
|
@@ -2581,7 +2914,7 @@ export declare const defaultElements: {
|
|
|
2581
2914
|
readonly canSelect: true;
|
|
2582
2915
|
readonly canDragDrop: true;
|
|
2583
2916
|
readonly canMove: true;
|
|
2584
|
-
readonly
|
|
2917
|
+
readonly canSnippet: true;
|
|
2585
2918
|
readonly itemsAllowed: readonly [];
|
|
2586
2919
|
readonly itemsNotAllowed: readonly [];
|
|
2587
2920
|
};
|
|
@@ -2643,7 +2976,7 @@ export declare const defaultElements: {
|
|
|
2643
2976
|
readonly canSelect: true;
|
|
2644
2977
|
readonly canDragDrop: true;
|
|
2645
2978
|
readonly canMove: true;
|
|
2646
|
-
readonly
|
|
2979
|
+
readonly canSnippet: true;
|
|
2647
2980
|
readonly itemsAllowed: readonly [];
|
|
2648
2981
|
readonly itemsNotAllowed: readonly [];
|
|
2649
2982
|
};
|
|
@@ -2722,7 +3055,7 @@ export declare const defaultElements: {
|
|
|
2722
3055
|
readonly canSelect: true;
|
|
2723
3056
|
readonly canDragDrop: true;
|
|
2724
3057
|
readonly canMove: true;
|
|
2725
|
-
readonly
|
|
3058
|
+
readonly canSnippet: true;
|
|
2726
3059
|
readonly itemsAllowed: readonly [];
|
|
2727
3060
|
readonly itemsNotAllowed: readonly [];
|
|
2728
3061
|
};
|
|
@@ -2803,7 +3136,7 @@ export declare const defaultElements: {
|
|
|
2803
3136
|
readonly canSelect: true;
|
|
2804
3137
|
readonly canDragDrop: true;
|
|
2805
3138
|
readonly canMove: true;
|
|
2806
|
-
readonly
|
|
3139
|
+
readonly canSnippet: true;
|
|
2807
3140
|
readonly itemsAllowed: readonly [];
|
|
2808
3141
|
readonly itemsNotAllowed: readonly [];
|
|
2809
3142
|
};
|
|
@@ -2947,7 +3280,7 @@ export declare const defaultElements: {
|
|
|
2947
3280
|
readonly canSelect: true;
|
|
2948
3281
|
readonly canDragDrop: true;
|
|
2949
3282
|
readonly canMove: true;
|
|
2950
|
-
readonly
|
|
3283
|
+
readonly canSnippet: false;
|
|
2951
3284
|
readonly itemsAllowed: readonly [];
|
|
2952
3285
|
readonly itemsNotAllowed: readonly [];
|
|
2953
3286
|
};
|
|
@@ -3537,7 +3870,7 @@ export declare const defaultElements: {
|
|
|
3537
3870
|
readonly canSelect: true;
|
|
3538
3871
|
readonly canDragDrop: true;
|
|
3539
3872
|
readonly canMove: true;
|
|
3540
|
-
readonly
|
|
3873
|
+
readonly canSnippet: true;
|
|
3541
3874
|
readonly itemsAllowed: readonly [];
|
|
3542
3875
|
readonly itemsNotAllowed: readonly [];
|
|
3543
3876
|
};
|
|
@@ -3667,7 +4000,7 @@ export declare const defaultElements: {
|
|
|
3667
4000
|
readonly canSelect: true;
|
|
3668
4001
|
readonly canDragDrop: true;
|
|
3669
4002
|
readonly canMove: true;
|
|
3670
|
-
readonly
|
|
4003
|
+
readonly canSnippet: true;
|
|
3671
4004
|
readonly itemsAllowed: readonly [];
|
|
3672
4005
|
readonly itemsNotAllowed: readonly [];
|
|
3673
4006
|
};
|
|
@@ -3702,4 +4035,5 @@ export declare const defaultElements: {
|
|
|
3702
4035
|
};
|
|
3703
4036
|
export { useRscData, elements, elementSettings, JsxManager };
|
|
3704
4037
|
export { default as useChannel } from './realtime/useChannel';
|
|
4038
|
+
export { default as useFlag } from './dataSource/useFlag';
|
|
3705
4039
|
export type { ChannelHandle, UseChannelOptions } from './realtime/useChannel';
|