@plitzi/sdk-elements 0.37.8 → 0.37.10
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 +835 -0
- package/dist/Element/ElementContext.mjs +2 -3
- package/dist/Element/ElementParentContext.mjs +2 -3
- package/dist/Element/ElementWords.d.ts +16 -0
- package/dist/Element/ElementWords.mjs +19 -0
- package/dist/Element/LayoutBody.d.ts +12 -9
- package/dist/Element/LayoutBody.mjs +13 -14
- 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/useElementInternal.mjs +21 -20
- package/dist/Element/hooks/useInternalClassName.mjs +1 -1
- 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/PropField.d.ts +13 -0
- package/dist/elements/advanced/Reference/PropField.mjs +65 -0
- package/dist/elements/advanced/Reference/Reference.d.ts +5 -6
- package/dist/elements/advanced/Reference/Reference.mjs +128 -138
- package/dist/elements/advanced/Reference/Settings.d.ts +5 -4
- package/dist/elements/advanced/Reference/Settings.mjs +48 -87
- package/dist/elements/advanced/Reference/declaration.d.ts +3 -5
- package/dist/elements/advanced/Reference/declaration.mjs +3 -4
- package/dist/elements/advanced/Reference/index.d.ts +3 -5
- 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 +364 -44
- 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/Page.mjs +29 -29
- 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/hooks/useApi.mjs +12 -12
- 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 +36 -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 +375 -43
- package/dist/index.mjs +34 -27
- package/package.json +202 -10
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
|
};
|
|
@@ -323,12 +323,11 @@ export declare const defaultElements: {
|
|
|
323
323
|
readonly attributes: {
|
|
324
324
|
readonly referenceType: "element";
|
|
325
325
|
readonly referenceId: "";
|
|
326
|
-
readonly referenceContainer: "";
|
|
327
326
|
};
|
|
328
327
|
readonly definition: {
|
|
329
328
|
readonly label: "Reference";
|
|
330
329
|
readonly type: "reference";
|
|
331
|
-
readonly description: "
|
|
330
|
+
readonly description: "Places one of the components of the space, or renders another of its elements by id, in place.";
|
|
332
331
|
readonly items: readonly [];
|
|
333
332
|
readonly bindings: {};
|
|
334
333
|
readonly styleSelectors: {
|
|
@@ -343,7 +342,7 @@ export declare const defaultElements: {
|
|
|
343
342
|
readonly canSelect: true;
|
|
344
343
|
readonly canDragDrop: true;
|
|
345
344
|
readonly canMove: true;
|
|
346
|
-
readonly
|
|
345
|
+
readonly canSnippet: true;
|
|
347
346
|
readonly itemsAllowed: readonly [];
|
|
348
347
|
readonly itemsNotAllowed: readonly [];
|
|
349
348
|
};
|
|
@@ -368,9 +367,8 @@ export declare const defaultElements: {
|
|
|
368
367
|
readonly settings: {};
|
|
369
368
|
};
|
|
370
369
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
371
|
-
referenceType: import('@plitzi/sdk-shared').ElementLayoutType;
|
|
372
370
|
referenceId: string;
|
|
373
|
-
|
|
371
|
+
referenceType: "element" | "component";
|
|
374
372
|
}>>;
|
|
375
373
|
blockHtml: {
|
|
376
374
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): import('react').JSX.Element;
|
|
@@ -398,7 +396,7 @@ export declare const defaultElements: {
|
|
|
398
396
|
readonly canSelect: true;
|
|
399
397
|
readonly canDragDrop: true;
|
|
400
398
|
readonly canMove: true;
|
|
401
|
-
readonly
|
|
399
|
+
readonly canSnippet: true;
|
|
402
400
|
readonly itemsAllowed: readonly [];
|
|
403
401
|
readonly itemsNotAllowed: readonly [];
|
|
404
402
|
};
|
|
@@ -452,7 +450,7 @@ export declare const defaultElements: {
|
|
|
452
450
|
readonly canSelect: true;
|
|
453
451
|
readonly canDragDrop: true;
|
|
454
452
|
readonly canMove: true;
|
|
455
|
-
readonly
|
|
453
|
+
readonly canSnippet: true;
|
|
456
454
|
readonly itemsAllowed: readonly [];
|
|
457
455
|
readonly itemsNotAllowed: readonly [];
|
|
458
456
|
};
|
|
@@ -495,6 +493,8 @@ export declare const defaultElements: {
|
|
|
495
493
|
slot?: string | undefined | undefined;
|
|
496
494
|
title?: string | undefined | undefined;
|
|
497
495
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
496
|
+
hidden?: boolean | undefined | undefined;
|
|
497
|
+
onScroll?: import('react').UIEventHandler<"span"> | undefined;
|
|
498
498
|
onLoad?: import('react').ReactEventHandler<"span"> | undefined;
|
|
499
499
|
onClick?: import('react').MouseEventHandler<"span"> | undefined;
|
|
500
500
|
onPointerDown?: import('react').PointerEventHandler<"span"> | undefined;
|
|
@@ -703,7 +703,6 @@ export declare const defaultElements: {
|
|
|
703
703
|
onGotPointerCaptureCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
704
704
|
onLostPointerCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
705
705
|
onLostPointerCaptureCapture?: import('react').PointerEventHandler<"span"> | undefined;
|
|
706
|
-
onScroll?: import('react').UIEventHandler<"span"> | undefined;
|
|
707
706
|
onScrollCapture?: import('react').UIEventHandler<"span"> | undefined;
|
|
708
707
|
onScrollEnd?: import('react').UIEventHandler<"span"> | undefined;
|
|
709
708
|
onScrollEndCapture?: import('react').UIEventHandler<"span"> | undefined;
|
|
@@ -735,7 +734,6 @@ export declare const defaultElements: {
|
|
|
735
734
|
dir?: string | undefined | undefined;
|
|
736
735
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
737
736
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
738
|
-
hidden?: boolean | undefined | undefined;
|
|
739
737
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
740
738
|
translate?: "yes" | "no" | undefined | undefined;
|
|
741
739
|
radioGroup?: string | undefined | undefined;
|
|
@@ -798,7 +796,7 @@ export declare const defaultElements: {
|
|
|
798
796
|
readonly canSelect: true;
|
|
799
797
|
readonly canDragDrop: true;
|
|
800
798
|
readonly canMove: true;
|
|
801
|
-
readonly
|
|
799
|
+
readonly canSnippet: true;
|
|
802
800
|
readonly itemsAllowed: readonly [];
|
|
803
801
|
readonly itemsNotAllowed: readonly [];
|
|
804
802
|
};
|
|
@@ -871,7 +869,7 @@ export declare const defaultElements: {
|
|
|
871
869
|
readonly canSelect: true;
|
|
872
870
|
readonly canDragDrop: false;
|
|
873
871
|
readonly canMove: false;
|
|
874
|
-
readonly
|
|
872
|
+
readonly canSnippet: true;
|
|
875
873
|
readonly itemsAllowed: readonly [];
|
|
876
874
|
readonly itemsNotAllowed: readonly [];
|
|
877
875
|
};
|
|
@@ -944,7 +942,7 @@ export declare const defaultElements: {
|
|
|
944
942
|
readonly canSelect: true;
|
|
945
943
|
readonly canDragDrop: true;
|
|
946
944
|
readonly canMove: true;
|
|
947
|
-
readonly
|
|
945
|
+
readonly canSnippet: true;
|
|
948
946
|
readonly itemsAllowed: readonly [];
|
|
949
947
|
readonly itemsNotAllowed: readonly [];
|
|
950
948
|
};
|
|
@@ -971,7 +969,7 @@ export declare const defaultElements: {
|
|
|
971
969
|
};
|
|
972
970
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
973
971
|
label?: string | undefined;
|
|
974
|
-
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;
|
|
975
973
|
decorative?: boolean | undefined;
|
|
976
974
|
}>>;
|
|
977
975
|
layoutContainer: {
|
|
@@ -1004,7 +1002,7 @@ export declare const defaultElements: {
|
|
|
1004
1002
|
readonly canSelect: true;
|
|
1005
1003
|
readonly canDragDrop: false;
|
|
1006
1004
|
readonly canMove: true;
|
|
1007
|
-
readonly
|
|
1005
|
+
readonly canSnippet: true;
|
|
1008
1006
|
readonly itemsAllowed: readonly [];
|
|
1009
1007
|
readonly itemsNotAllowed: readonly [];
|
|
1010
1008
|
};
|
|
@@ -1156,7 +1154,7 @@ export declare const defaultElements: {
|
|
|
1156
1154
|
readonly canSelect: true;
|
|
1157
1155
|
readonly canDragDrop: true;
|
|
1158
1156
|
readonly canMove: true;
|
|
1159
|
-
readonly
|
|
1157
|
+
readonly canSnippet: true;
|
|
1160
1158
|
readonly itemsAllowed: readonly [];
|
|
1161
1159
|
readonly itemsNotAllowed: readonly [];
|
|
1162
1160
|
};
|
|
@@ -1350,7 +1348,7 @@ export declare const defaultElements: {
|
|
|
1350
1348
|
readonly canSelect: true;
|
|
1351
1349
|
readonly canDragDrop: true;
|
|
1352
1350
|
readonly canMove: true;
|
|
1353
|
-
readonly
|
|
1351
|
+
readonly canSnippet: true;
|
|
1354
1352
|
readonly itemsAllowed: readonly [];
|
|
1355
1353
|
readonly itemsNotAllowed: readonly [];
|
|
1356
1354
|
};
|
|
@@ -1489,7 +1487,7 @@ export declare const defaultElements: {
|
|
|
1489
1487
|
readonly canSelect: true;
|
|
1490
1488
|
readonly canDragDrop: false;
|
|
1491
1489
|
readonly canMove: false;
|
|
1492
|
-
readonly
|
|
1490
|
+
readonly canSnippet: false;
|
|
1493
1491
|
readonly itemsAllowed: readonly ["tabContainerItem"];
|
|
1494
1492
|
readonly itemsNotAllowed: readonly [];
|
|
1495
1493
|
};
|
|
@@ -1542,7 +1540,7 @@ export declare const defaultElements: {
|
|
|
1542
1540
|
readonly canSelect: true;
|
|
1543
1541
|
readonly canDragDrop: false;
|
|
1544
1542
|
readonly canMove: false;
|
|
1545
|
-
readonly
|
|
1543
|
+
readonly canSnippet: false;
|
|
1546
1544
|
readonly itemsAllowed: readonly ["tabContainerItem"];
|
|
1547
1545
|
readonly itemsNotAllowed: readonly [];
|
|
1548
1546
|
};
|
|
@@ -1594,7 +1592,7 @@ export declare const defaultElements: {
|
|
|
1594
1592
|
readonly canSelect: true;
|
|
1595
1593
|
readonly canDragDrop: true;
|
|
1596
1594
|
readonly canMove: true;
|
|
1597
|
-
readonly
|
|
1595
|
+
readonly canSnippet: true;
|
|
1598
1596
|
readonly itemsAllowed: readonly [];
|
|
1599
1597
|
readonly itemsNotAllowed: readonly ["tabContainerItem", "tabContainerHeader", "tabContainerBody"];
|
|
1600
1598
|
};
|
|
@@ -1642,7 +1640,7 @@ export declare const defaultElements: {
|
|
|
1642
1640
|
readonly canSelect: true;
|
|
1643
1641
|
readonly canDragDrop: true;
|
|
1644
1642
|
readonly canMove: true;
|
|
1645
|
-
readonly
|
|
1643
|
+
readonly canSnippet: true;
|
|
1646
1644
|
readonly itemsAllowed: readonly ["tabContainerHeader", "tabContainerBody"];
|
|
1647
1645
|
readonly itemsNotAllowed: readonly [];
|
|
1648
1646
|
};
|
|
@@ -1670,6 +1668,189 @@ export declare const defaultElements: {
|
|
|
1670
1668
|
initialItems: readonly ["tabContainerHeader", "tabContainerBody"];
|
|
1671
1669
|
__attributes: unknown;
|
|
1672
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
|
+
};
|
|
1673
1854
|
heading: {
|
|
1674
1855
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import('react').JSX.Element;
|
|
1675
1856
|
displayName: string;
|
|
@@ -1700,7 +1881,7 @@ export declare const defaultElements: {
|
|
|
1700
1881
|
readonly canSelect: true;
|
|
1701
1882
|
readonly canDragDrop: true;
|
|
1702
1883
|
readonly canMove: true;
|
|
1703
|
-
readonly
|
|
1884
|
+
readonly canSnippet: true;
|
|
1704
1885
|
readonly itemsAllowed: readonly [];
|
|
1705
1886
|
readonly itemsNotAllowed: readonly [];
|
|
1706
1887
|
};
|
|
@@ -1854,7 +2035,7 @@ export declare const defaultElements: {
|
|
|
1854
2035
|
readonly canSelect: true;
|
|
1855
2036
|
readonly canDragDrop: true;
|
|
1856
2037
|
readonly canMove: true;
|
|
1857
|
-
readonly
|
|
2038
|
+
readonly canSnippet: true;
|
|
1858
2039
|
readonly itemsAllowed: readonly [];
|
|
1859
2040
|
readonly itemsNotAllowed: readonly [];
|
|
1860
2041
|
};
|
|
@@ -1883,7 +2064,10 @@ export declare const defaultElements: {
|
|
|
1883
2064
|
readonly settings: {};
|
|
1884
2065
|
};
|
|
1885
2066
|
} & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
|
|
2067
|
+
height?: number | undefined;
|
|
2068
|
+
width?: number | undefined;
|
|
1886
2069
|
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
2070
|
+
sizes?: string | undefined;
|
|
1887
2071
|
src?: string | undefined;
|
|
1888
2072
|
alt?: string | undefined;
|
|
1889
2073
|
decorative?: boolean | undefined;
|
|
@@ -1919,7 +2103,7 @@ export declare const defaultElements: {
|
|
|
1919
2103
|
readonly canSelect: true;
|
|
1920
2104
|
readonly canDragDrop: true;
|
|
1921
2105
|
readonly canMove: true;
|
|
1922
|
-
readonly
|
|
2106
|
+
readonly canSnippet: true;
|
|
1923
2107
|
readonly itemsAllowed: readonly [];
|
|
1924
2108
|
readonly itemsNotAllowed: readonly [];
|
|
1925
2109
|
};
|
|
@@ -1954,6 +2138,133 @@ export declare const defaultElements: {
|
|
|
1954
2138
|
muted?: boolean | undefined;
|
|
1955
2139
|
playsInline?: boolean | undefined;
|
|
1956
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
|
+
}>>;
|
|
1957
2268
|
fontAwesome: {
|
|
1958
2269
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import('react').JSX.Element;
|
|
1959
2270
|
displayName: string;
|
|
@@ -1982,7 +2293,7 @@ export declare const defaultElements: {
|
|
|
1982
2293
|
readonly canSelect: true;
|
|
1983
2294
|
readonly canDragDrop: true;
|
|
1984
2295
|
readonly canMove: true;
|
|
1985
|
-
readonly
|
|
2296
|
+
readonly canSnippet: true;
|
|
1986
2297
|
readonly itemsAllowed: readonly [];
|
|
1987
2298
|
readonly itemsNotAllowed: readonly [];
|
|
1988
2299
|
};
|
|
@@ -2023,11 +2334,14 @@ export declare const defaultElements: {
|
|
|
2023
2334
|
readonly attributeValues: {
|
|
2024
2335
|
readonly subType: readonly string[];
|
|
2025
2336
|
readonly contentPlacement: readonly string[];
|
|
2337
|
+
readonly iconPlacement: readonly string[];
|
|
2026
2338
|
};
|
|
2027
2339
|
readonly content: {
|
|
2028
2340
|
readonly attributes: {
|
|
2029
2341
|
readonly contentPlacement: "after";
|
|
2030
2342
|
readonly content: "Button";
|
|
2343
|
+
readonly icon: "";
|
|
2344
|
+
readonly iconPlacement: "before";
|
|
2031
2345
|
readonly subType: "button";
|
|
2032
2346
|
readonly disabled: false;
|
|
2033
2347
|
};
|
|
@@ -2039,6 +2353,7 @@ export declare const defaultElements: {
|
|
|
2039
2353
|
readonly bindings: {};
|
|
2040
2354
|
readonly styleSelectors: {
|
|
2041
2355
|
readonly base: "";
|
|
2356
|
+
readonly icon: "";
|
|
2042
2357
|
};
|
|
2043
2358
|
readonly initialState: {
|
|
2044
2359
|
readonly visibility: true;
|
|
@@ -2049,7 +2364,7 @@ export declare const defaultElements: {
|
|
|
2049
2364
|
readonly canSelect: true;
|
|
2050
2365
|
readonly canDragDrop: true;
|
|
2051
2366
|
readonly canMove: true;
|
|
2052
|
-
readonly
|
|
2367
|
+
readonly canSnippet: true;
|
|
2053
2368
|
readonly itemsAllowed: readonly [];
|
|
2054
2369
|
readonly itemsNotAllowed: readonly [];
|
|
2055
2370
|
};
|
|
@@ -2143,7 +2458,9 @@ export declare const defaultElements: {
|
|
|
2143
2458
|
title?: string | undefined;
|
|
2144
2459
|
content?: string | undefined;
|
|
2145
2460
|
disabled?: boolean | undefined;
|
|
2461
|
+
icon?: string | undefined;
|
|
2146
2462
|
subType?: "button" | "submit" | "reset" | undefined;
|
|
2463
|
+
iconPlacement?: import('./Element/ElementWords').IconPlacement | undefined;
|
|
2147
2464
|
contentPlacement?: "before" | "after" | undefined;
|
|
2148
2465
|
ariaExpanded?: boolean | undefined;
|
|
2149
2466
|
ariaPressed?: boolean | undefined;
|
|
@@ -2174,7 +2491,7 @@ export declare const defaultElements: {
|
|
|
2174
2491
|
readonly canSelect: true;
|
|
2175
2492
|
readonly canDragDrop: true;
|
|
2176
2493
|
readonly canMove: true;
|
|
2177
|
-
readonly
|
|
2494
|
+
readonly canSnippet: true;
|
|
2178
2495
|
readonly itemsAllowed: readonly [];
|
|
2179
2496
|
readonly itemsNotAllowed: readonly [];
|
|
2180
2497
|
};
|
|
@@ -2230,7 +2547,7 @@ export declare const defaultElements: {
|
|
|
2230
2547
|
readonly canSelect: true;
|
|
2231
2548
|
readonly canDragDrop: true;
|
|
2232
2549
|
readonly canMove: true;
|
|
2233
|
-
readonly
|
|
2550
|
+
readonly canSnippet: true;
|
|
2234
2551
|
readonly itemsAllowed: readonly [];
|
|
2235
2552
|
readonly itemsNotAllowed: readonly [];
|
|
2236
2553
|
};
|
|
@@ -2308,7 +2625,7 @@ export declare const defaultElements: {
|
|
|
2308
2625
|
readonly canSelect: true;
|
|
2309
2626
|
readonly canDragDrop: true;
|
|
2310
2627
|
readonly canMove: true;
|
|
2311
|
-
readonly
|
|
2628
|
+
readonly canSnippet: true;
|
|
2312
2629
|
readonly itemsAllowed: readonly [];
|
|
2313
2630
|
readonly itemsNotAllowed: readonly [];
|
|
2314
2631
|
};
|
|
@@ -2374,7 +2691,7 @@ export declare const defaultElements: {
|
|
|
2374
2691
|
readonly canSelect: true;
|
|
2375
2692
|
readonly canDragDrop: true;
|
|
2376
2693
|
readonly canMove: true;
|
|
2377
|
-
readonly
|
|
2694
|
+
readonly canSnippet: true;
|
|
2378
2695
|
readonly itemsAllowed: readonly [];
|
|
2379
2696
|
readonly itemsNotAllowed: readonly ["listItem"];
|
|
2380
2697
|
};
|
|
@@ -2430,7 +2747,7 @@ export declare const defaultElements: {
|
|
|
2430
2747
|
readonly canSelect: true;
|
|
2431
2748
|
readonly canDragDrop: true;
|
|
2432
2749
|
readonly canMove: true;
|
|
2433
|
-
readonly
|
|
2750
|
+
readonly canSnippet: true;
|
|
2434
2751
|
readonly itemsAllowed: readonly [];
|
|
2435
2752
|
readonly itemsNotAllowed: readonly [];
|
|
2436
2753
|
};
|
|
@@ -2487,6 +2804,7 @@ export declare const defaultElements: {
|
|
|
2487
2804
|
source?: "none" | "controlled" | undefined;
|
|
2488
2805
|
items?: unknown[] | undefined;
|
|
2489
2806
|
subType?: "ul" | "ol" | undefined;
|
|
2807
|
+
itemKey?: string | undefined;
|
|
2490
2808
|
}>;
|
|
2491
2809
|
};
|
|
2492
2810
|
link: {
|
|
@@ -2497,13 +2815,20 @@ export declare const defaultElements: {
|
|
|
2497
2815
|
readonly attributeValues: {
|
|
2498
2816
|
readonly mode: readonly string[];
|
|
2499
2817
|
readonly target: readonly string[];
|
|
2818
|
+
readonly contentPlacement: readonly string[];
|
|
2819
|
+
readonly iconPlacement: readonly string[];
|
|
2500
2820
|
};
|
|
2501
2821
|
readonly content: {
|
|
2502
2822
|
readonly attributes: {
|
|
2503
2823
|
readonly href: "#";
|
|
2504
2824
|
readonly target: "self";
|
|
2505
2825
|
readonly mode: "page";
|
|
2826
|
+
readonly hash: "";
|
|
2506
2827
|
readonly label: "";
|
|
2828
|
+
readonly content: "";
|
|
2829
|
+
readonly contentPlacement: "after";
|
|
2830
|
+
readonly icon: "";
|
|
2831
|
+
readonly iconPlacement: "before";
|
|
2507
2832
|
};
|
|
2508
2833
|
readonly definition: {
|
|
2509
2834
|
readonly label: "Link";
|
|
@@ -2513,6 +2838,7 @@ export declare const defaultElements: {
|
|
|
2513
2838
|
readonly bindings: {};
|
|
2514
2839
|
readonly styleSelectors: {
|
|
2515
2840
|
readonly base: "";
|
|
2841
|
+
readonly icon: "";
|
|
2516
2842
|
};
|
|
2517
2843
|
readonly initialState: {
|
|
2518
2844
|
readonly visibility: true;
|
|
@@ -2523,7 +2849,7 @@ export declare const defaultElements: {
|
|
|
2523
2849
|
readonly canSelect: true;
|
|
2524
2850
|
readonly canDragDrop: true;
|
|
2525
2851
|
readonly canMove: true;
|
|
2526
|
-
readonly
|
|
2852
|
+
readonly canSnippet: true;
|
|
2527
2853
|
readonly itemsAllowed: readonly [];
|
|
2528
2854
|
readonly itemsNotAllowed: readonly ["link"];
|
|
2529
2855
|
};
|
|
@@ -2556,6 +2882,11 @@ export declare const defaultElements: {
|
|
|
2556
2882
|
href?: string | undefined;
|
|
2557
2883
|
label?: string | undefined;
|
|
2558
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;
|
|
2559
2890
|
}>>;
|
|
2560
2891
|
markdown: {
|
|
2561
2892
|
(props: import('./Element/hocs/withElement').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import('react').JSX.Element;
|
|
@@ -2583,7 +2914,7 @@ export declare const defaultElements: {
|
|
|
2583
2914
|
readonly canSelect: true;
|
|
2584
2915
|
readonly canDragDrop: true;
|
|
2585
2916
|
readonly canMove: true;
|
|
2586
|
-
readonly
|
|
2917
|
+
readonly canSnippet: true;
|
|
2587
2918
|
readonly itemsAllowed: readonly [];
|
|
2588
2919
|
readonly itemsNotAllowed: readonly [];
|
|
2589
2920
|
};
|
|
@@ -2645,7 +2976,7 @@ export declare const defaultElements: {
|
|
|
2645
2976
|
readonly canSelect: true;
|
|
2646
2977
|
readonly canDragDrop: true;
|
|
2647
2978
|
readonly canMove: true;
|
|
2648
|
-
readonly
|
|
2979
|
+
readonly canSnippet: true;
|
|
2649
2980
|
readonly itemsAllowed: readonly [];
|
|
2650
2981
|
readonly itemsNotAllowed: readonly [];
|
|
2651
2982
|
};
|
|
@@ -2724,7 +3055,7 @@ export declare const defaultElements: {
|
|
|
2724
3055
|
readonly canSelect: true;
|
|
2725
3056
|
readonly canDragDrop: true;
|
|
2726
3057
|
readonly canMove: true;
|
|
2727
|
-
readonly
|
|
3058
|
+
readonly canSnippet: true;
|
|
2728
3059
|
readonly itemsAllowed: readonly [];
|
|
2729
3060
|
readonly itemsNotAllowed: readonly [];
|
|
2730
3061
|
};
|
|
@@ -2805,7 +3136,7 @@ export declare const defaultElements: {
|
|
|
2805
3136
|
readonly canSelect: true;
|
|
2806
3137
|
readonly canDragDrop: true;
|
|
2807
3138
|
readonly canMove: true;
|
|
2808
|
-
readonly
|
|
3139
|
+
readonly canSnippet: true;
|
|
2809
3140
|
readonly itemsAllowed: readonly [];
|
|
2810
3141
|
readonly itemsNotAllowed: readonly [];
|
|
2811
3142
|
};
|
|
@@ -2949,7 +3280,7 @@ export declare const defaultElements: {
|
|
|
2949
3280
|
readonly canSelect: true;
|
|
2950
3281
|
readonly canDragDrop: true;
|
|
2951
3282
|
readonly canMove: true;
|
|
2952
|
-
readonly
|
|
3283
|
+
readonly canSnippet: false;
|
|
2953
3284
|
readonly itemsAllowed: readonly [];
|
|
2954
3285
|
readonly itemsNotAllowed: readonly [];
|
|
2955
3286
|
};
|
|
@@ -3539,7 +3870,7 @@ export declare const defaultElements: {
|
|
|
3539
3870
|
readonly canSelect: true;
|
|
3540
3871
|
readonly canDragDrop: true;
|
|
3541
3872
|
readonly canMove: true;
|
|
3542
|
-
readonly
|
|
3873
|
+
readonly canSnippet: true;
|
|
3543
3874
|
readonly itemsAllowed: readonly [];
|
|
3544
3875
|
readonly itemsNotAllowed: readonly [];
|
|
3545
3876
|
};
|
|
@@ -3669,7 +4000,7 @@ export declare const defaultElements: {
|
|
|
3669
4000
|
readonly canSelect: true;
|
|
3670
4001
|
readonly canDragDrop: true;
|
|
3671
4002
|
readonly canMove: true;
|
|
3672
|
-
readonly
|
|
4003
|
+
readonly canSnippet: true;
|
|
3673
4004
|
readonly itemsAllowed: readonly [];
|
|
3674
4005
|
readonly itemsNotAllowed: readonly [];
|
|
3675
4006
|
};
|
|
@@ -3704,4 +4035,5 @@ export declare const defaultElements: {
|
|
|
3704
4035
|
};
|
|
3705
4036
|
export { useRscData, elements, elementSettings, JsxManager };
|
|
3706
4037
|
export { default as useChannel } from './realtime/useChannel';
|
|
4038
|
+
export { default as useFlag } from './dataSource/useFlag';
|
|
3707
4039
|
export type { ChannelHandle, UseChannelOptions } from './realtime/useChannel';
|