@wix/auto_sdk_rich-content_ricos-documents 1.0.1 → 1.0.3
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +69 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +217 -12
- package/build/cjs/index.typings.js +69 -18
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +213 -11
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +62 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +217 -12
- package/build/es/index.typings.mjs +62 -18
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +213 -11
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +69 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +217 -12
- package/build/internal/cjs/index.typings.js +69 -18
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +213 -11
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +62 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +217 -12
- package/build/internal/es/index.typings.mjs +62 -18
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +213 -11
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { ValidateDocumentOptions, ValidateDocumentResponse, ConvertToRicosDocumentOptions, ConvertToRicosDocumentResponse, RichContent, ConvertFromRicosDocumentOptions, ConvertFromRicosDocumentResponse } from './index.typings.js';
|
|
3
|
-
export { Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BlockquoteData, BookingData, Border, BorderColors, BulletedListData, ButtonData, CaptionData, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertFromRicosDocumentOptionsOptionsOneOf, ConvertFromRicosDocumentRequest, ConvertFromRicosDocumentRequestOptionsOneOf, ConvertFromRicosDocumentResponseResultOneOf, ConvertToRicosDocumentOptionsSourceOneOf, ConvertToRicosDocumentRequest, ConvertToRicosDocumentRequestSourceOneOf, Crop, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MapData, MapSettings, MapType, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, PlainTextOptions, PlaybackOptions, Plugin, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, Rel, RicosDocumentOptions, RicosDocumentPlaceholder, RicosDocumentViolation, Settings, Source, Spoiler, SpoilerData, Styles, StylesBorder, TableCellData, TableData, Target, TargetFormat, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, ValidateDocumentRequest, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, Width, WidthType } from './index.typings.js';
|
|
3
|
+
export { Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AspectRatio, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BlockquoteData, BookingData, Border, BorderColors, BulletedListData, ButtonData, ButtonDataType, ButtonStyles, CaptionData, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ConvertFromRicosDocumentOptionsOptionsOneOf, ConvertFromRicosDocumentRequest, ConvertFromRicosDocumentRequestOptionsOneOf, ConvertFromRicosDocumentResponseResultOneOf, ConvertToRicosDocumentOptionsSourceOneOf, ConvertToRicosDocumentRequest, ConvertToRicosDocumentRequestSourceOneOf, Crop, Decoration, DecorationDataOneOf, DecorationType, Design, Dimensions, Direction, DividerData, DividerDataAlignment, DocumentStyle, EmbedData, EventData, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GalleryOptionsLayout, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, Image, ImageData, ImageDataStyles, ImageStyles, InitialExpandedItems, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListValue, MapData, MapSettings, MapType, Media, MentionData, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, Placement, PlainTextOptions, PlaybackOptions, Plugin, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, Position, Rel, Resizing, RibbonStyles, RicosDocumentOptions, RicosDocumentPlaceholder, RicosDocumentViolation, Settings, Source, Spoiler, SpoilerData, Styles, StylesBorder, StylesPosition, TableCellData, TableData, Target, TargetFormat, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, ValidateDocumentRequest, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, Width, WidthType } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function validateDocument$1(httpClient: HttpClient): ValidateDocumentSignature;
|
|
6
6
|
interface ValidateDocumentSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -22,25 +22,32 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
Alignment: () => Alignment,
|
|
24
24
|
AppType: () => AppType,
|
|
25
|
+
AspectRatio: () => AspectRatio,
|
|
25
26
|
BackgroundType: () => BackgroundType,
|
|
27
|
+
ButtonDataType: () => ButtonDataType,
|
|
26
28
|
Crop: () => Crop,
|
|
27
29
|
DecorationType: () => DecorationType,
|
|
28
30
|
Direction: () => Direction,
|
|
31
|
+
DividerDataAlignment: () => DividerDataAlignment,
|
|
29
32
|
FontType: () => FontType,
|
|
30
33
|
GIFType: () => GIFType,
|
|
31
34
|
InitialExpandedItems: () => InitialExpandedItems,
|
|
35
|
+
Layout: () => Layout,
|
|
32
36
|
LayoutType: () => LayoutType,
|
|
33
37
|
LineStyle: () => LineStyle,
|
|
34
38
|
MapType: () => MapType,
|
|
35
39
|
NodeType: () => NodeType,
|
|
36
40
|
NullValue: () => NullValue,
|
|
37
41
|
Orientation: () => Orientation,
|
|
42
|
+
Placement: () => Placement,
|
|
38
43
|
Plugin: () => Plugin,
|
|
39
44
|
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
40
45
|
PollLayoutDirection: () => PollLayoutDirection,
|
|
41
46
|
PollLayoutType: () => PollLayoutType,
|
|
42
47
|
Position: () => Position,
|
|
48
|
+
Resizing: () => Resizing,
|
|
43
49
|
Source: () => Source,
|
|
50
|
+
StylesPosition: () => StylesPosition,
|
|
44
51
|
Target: () => Target,
|
|
45
52
|
TargetFormat: () => TargetFormat,
|
|
46
53
|
TextAlignment: () => TextAlignment,
|
|
@@ -332,11 +339,11 @@ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignmen
|
|
|
332
339
|
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
|
333
340
|
return PluginContainerDataAlignment2;
|
|
334
341
|
})(PluginContainerDataAlignment || {});
|
|
335
|
-
var
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
return
|
|
339
|
-
})(
|
|
342
|
+
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
|
|
343
|
+
ButtonDataType2["LINK"] = "LINK";
|
|
344
|
+
ButtonDataType2["ACTION"] = "ACTION";
|
|
345
|
+
return ButtonDataType2;
|
|
346
|
+
})(ButtonDataType || {});
|
|
340
347
|
var Target = /* @__PURE__ */ ((Target2) => {
|
|
341
348
|
Target2["SELF"] = "SELF";
|
|
342
349
|
Target2["BLANK"] = "BLANK";
|
|
@@ -365,12 +372,12 @@ var Width = /* @__PURE__ */ ((Width2) => {
|
|
|
365
372
|
Width2["SMALL"] = "SMALL";
|
|
366
373
|
return Width2;
|
|
367
374
|
})(Width || {});
|
|
368
|
-
var
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
return
|
|
373
|
-
})(
|
|
375
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
376
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
377
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
378
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
379
|
+
return DividerDataAlignment2;
|
|
380
|
+
})(DividerDataAlignment || {});
|
|
374
381
|
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
375
382
|
ViewMode2["NONE"] = "NONE";
|
|
376
383
|
ViewMode2["FULL"] = "FULL";
|
|
@@ -418,13 +425,13 @@ var Source = /* @__PURE__ */ ((Source2) => {
|
|
|
418
425
|
Source2["ADSENSE"] = "ADSENSE";
|
|
419
426
|
return Source2;
|
|
420
427
|
})(Source || {});
|
|
421
|
-
var
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
return
|
|
427
|
-
})(
|
|
428
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
429
|
+
StylesPosition2["START"] = "START";
|
|
430
|
+
StylesPosition2["END"] = "END";
|
|
431
|
+
StylesPosition2["TOP"] = "TOP";
|
|
432
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
433
|
+
return StylesPosition2;
|
|
434
|
+
})(StylesPosition || {});
|
|
428
435
|
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
429
436
|
MapType2["ROADMAP"] = "ROADMAP";
|
|
430
437
|
MapType2["SATELITE"] = "SATELITE";
|
|
@@ -480,6 +487,43 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
480
487
|
FontType2["EM"] = "EM";
|
|
481
488
|
return FontType2;
|
|
482
489
|
})(FontType || {});
|
|
490
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
491
|
+
Position2["START"] = "START";
|
|
492
|
+
Position2["END"] = "END";
|
|
493
|
+
Position2["TOP"] = "TOP";
|
|
494
|
+
return Position2;
|
|
495
|
+
})(Position || {});
|
|
496
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
497
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
498
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
499
|
+
return AspectRatio2;
|
|
500
|
+
})(AspectRatio || {});
|
|
501
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
502
|
+
Resizing2["FILL"] = "FILL";
|
|
503
|
+
Resizing2["FIT"] = "FIT";
|
|
504
|
+
return Resizing2;
|
|
505
|
+
})(Resizing || {});
|
|
506
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
507
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
508
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
509
|
+
return Placement2;
|
|
510
|
+
})(Placement || {});
|
|
511
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
512
|
+
Type2["CONTAINED"] = "CONTAINED";
|
|
513
|
+
Type2["FRAMELESS"] = "FRAMELESS";
|
|
514
|
+
return Type2;
|
|
515
|
+
})(Type || {});
|
|
516
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
517
|
+
Alignment2["START"] = "START";
|
|
518
|
+
Alignment2["CENTER"] = "CENTER";
|
|
519
|
+
Alignment2["END"] = "END";
|
|
520
|
+
return Alignment2;
|
|
521
|
+
})(Alignment || {});
|
|
522
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
523
|
+
Layout2["STACKED"] = "STACKED";
|
|
524
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
525
|
+
return Layout2;
|
|
526
|
+
})(Layout || {});
|
|
483
527
|
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
484
528
|
AppType2["PRODUCT"] = "PRODUCT";
|
|
485
529
|
AppType2["EVENT"] = "EVENT";
|
|
@@ -644,25 +688,32 @@ var convertFromRicosDocument4 = /* @__PURE__ */ (0, import_rest_modules2.createR
|
|
|
644
688
|
0 && (module.exports = {
|
|
645
689
|
Alignment,
|
|
646
690
|
AppType,
|
|
691
|
+
AspectRatio,
|
|
647
692
|
BackgroundType,
|
|
693
|
+
ButtonDataType,
|
|
648
694
|
Crop,
|
|
649
695
|
DecorationType,
|
|
650
696
|
Direction,
|
|
697
|
+
DividerDataAlignment,
|
|
651
698
|
FontType,
|
|
652
699
|
GIFType,
|
|
653
700
|
InitialExpandedItems,
|
|
701
|
+
Layout,
|
|
654
702
|
LayoutType,
|
|
655
703
|
LineStyle,
|
|
656
704
|
MapType,
|
|
657
705
|
NodeType,
|
|
658
706
|
NullValue,
|
|
659
707
|
Orientation,
|
|
708
|
+
Placement,
|
|
660
709
|
Plugin,
|
|
661
710
|
PluginContainerDataAlignment,
|
|
662
711
|
PollLayoutDirection,
|
|
663
712
|
PollLayoutType,
|
|
664
713
|
Position,
|
|
714
|
+
Resizing,
|
|
665
715
|
Source,
|
|
716
|
+
StylesPosition,
|
|
666
717
|
Target,
|
|
667
718
|
TargetFormat,
|
|
668
719
|
TextAlignment,
|