@wix/auto_sdk_multilingual_machine-translation 1.0.45 → 1.0.47
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 +45 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +159 -48
- package/build/cjs/index.typings.js +45 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +159 -48
- package/build/cjs/meta.js +45 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +43 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +159 -48
- package/build/es/index.typings.mjs +43 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +159 -48
- package/build/es/meta.mjs +43 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +45 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +159 -48
- package/build/internal/cjs/index.typings.js +45 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +159 -48
- package/build/internal/cjs/meta.js +45 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +43 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +159 -48
- package/build/internal/es/index.typings.mjs +43 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +159 -48
- package/build/internal/es/meta.mjs +43 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/meta.d.ts
CHANGED
|
@@ -128,6 +128,10 @@ interface Node extends NodeDataOneOf {
|
|
|
128
128
|
cardData?: CardData;
|
|
129
129
|
/** Data for a table of contents node. */
|
|
130
130
|
tocData?: TocData;
|
|
131
|
+
/** Data for a smart block node. */
|
|
132
|
+
smartBlockData?: SmartBlockData;
|
|
133
|
+
/** Data for a smart block cell node. */
|
|
134
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
131
135
|
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
132
136
|
type?: NodeTypeWithLiterals;
|
|
133
137
|
/** Node ID. */
|
|
@@ -201,6 +205,10 @@ interface NodeDataOneOf {
|
|
|
201
205
|
cardData?: CardData;
|
|
202
206
|
/** Data for a table of contents node. */
|
|
203
207
|
tocData?: TocData;
|
|
208
|
+
/** Data for a smart block node. */
|
|
209
|
+
smartBlockData?: SmartBlockData;
|
|
210
|
+
/** Data for a smart block cell node. */
|
|
211
|
+
smartBlockCellData?: SmartBlockCellData;
|
|
204
212
|
}
|
|
205
213
|
declare enum NodeType {
|
|
206
214
|
PARAGRAPH = "PARAGRAPH",
|
|
@@ -239,10 +247,12 @@ declare enum NodeType {
|
|
|
239
247
|
LAYOUT_CELL = "LAYOUT_CELL",
|
|
240
248
|
SHAPE = "SHAPE",
|
|
241
249
|
CARD = "CARD",
|
|
242
|
-
TOC = "TOC"
|
|
250
|
+
TOC = "TOC",
|
|
251
|
+
SMART_BLOCK = "SMART_BLOCK",
|
|
252
|
+
SMART_BLOCK_CELL = "SMART_BLOCK_CELL"
|
|
243
253
|
}
|
|
244
254
|
/** @enumType */
|
|
245
|
-
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
|
|
255
|
+
type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC' | 'SMART_BLOCK' | 'SMART_BLOCK_CELL';
|
|
246
256
|
interface NodeStyle {
|
|
247
257
|
/** The top padding value in pixels. */
|
|
248
258
|
paddingTop?: string | null;
|
|
@@ -306,7 +316,7 @@ type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
|
|
|
306
316
|
interface Stop {
|
|
307
317
|
/**
|
|
308
318
|
* Stop color as hex value.
|
|
309
|
-
* @
|
|
319
|
+
* @maxLength 19
|
|
310
320
|
*/
|
|
311
321
|
color?: string | null;
|
|
312
322
|
/** Stop position (0-1). */
|
|
@@ -347,7 +357,7 @@ interface Background {
|
|
|
347
357
|
type?: BackgroundTypeWithLiterals;
|
|
348
358
|
/**
|
|
349
359
|
* Background color as a hexadecimal value.
|
|
350
|
-
* @
|
|
360
|
+
* @maxLength 19
|
|
351
361
|
*/
|
|
352
362
|
color?: string | null;
|
|
353
363
|
/** Gradient configuration. */
|
|
@@ -454,33 +464,33 @@ interface Styles {
|
|
|
454
464
|
borderRadius?: number | null;
|
|
455
465
|
/**
|
|
456
466
|
* Border color as a hexadecimal value.
|
|
457
|
-
* @
|
|
467
|
+
* @maxLength 19
|
|
458
468
|
*/
|
|
459
469
|
borderColor?: string | null;
|
|
460
470
|
/**
|
|
461
471
|
* Border color as a hexadecimal value (hover state).
|
|
462
|
-
* @
|
|
472
|
+
* @maxLength 19
|
|
463
473
|
*/
|
|
464
474
|
borderColorHover?: string | null;
|
|
465
475
|
/**
|
|
466
476
|
* Text color as a hexadecimal value.
|
|
467
|
-
* @
|
|
477
|
+
* @maxLength 19
|
|
468
478
|
*/
|
|
469
479
|
textColor?: string | null;
|
|
470
480
|
/**
|
|
471
481
|
* Text color as a hexadecimal value (hover state).
|
|
472
|
-
* @
|
|
482
|
+
* @maxLength 19
|
|
473
483
|
*/
|
|
474
484
|
textColorHover?: string | null;
|
|
475
485
|
/**
|
|
476
486
|
* Deprecated: Use `background` instead.
|
|
477
|
-
* @
|
|
487
|
+
* @maxLength 19
|
|
478
488
|
* @deprecated
|
|
479
489
|
*/
|
|
480
490
|
backgroundColor?: string | null;
|
|
481
491
|
/**
|
|
482
492
|
* Deprecated: Use `backgroundHover` instead.
|
|
483
|
-
* @
|
|
493
|
+
* @maxLength 19
|
|
484
494
|
* @deprecated
|
|
485
495
|
*/
|
|
486
496
|
backgroundColorHover?: string | null;
|
|
@@ -860,6 +870,8 @@ interface HeadingData {
|
|
|
860
870
|
textStyle?: TextStyle;
|
|
861
871
|
/** Indentation level from 1-4. */
|
|
862
872
|
indentation?: number | null;
|
|
873
|
+
/** Rendered heading level for SEO/accessibility, overrides the HTML tag when set. */
|
|
874
|
+
renderedLevel?: number | null;
|
|
863
875
|
}
|
|
864
876
|
interface HTMLData extends HTMLDataDataOneOf {
|
|
865
877
|
/** The URL for the HTML code for the node. */
|
|
@@ -930,7 +942,7 @@ interface StylesBorder {
|
|
|
930
942
|
width?: number | null;
|
|
931
943
|
/**
|
|
932
944
|
* Border color as a hexadecimal value.
|
|
933
|
-
* @
|
|
945
|
+
* @maxLength 19
|
|
934
946
|
*/
|
|
935
947
|
color?: string | null;
|
|
936
948
|
/** Border radius in pixels. */
|
|
@@ -971,22 +983,22 @@ type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HI
|
|
|
971
983
|
interface LinkPreviewDataStyles {
|
|
972
984
|
/**
|
|
973
985
|
* Background color as a hexadecimal value.
|
|
974
|
-
* @
|
|
986
|
+
* @maxLength 19
|
|
975
987
|
*/
|
|
976
988
|
backgroundColor?: string | null;
|
|
977
989
|
/**
|
|
978
990
|
* Title color as a hexadecimal value.
|
|
979
|
-
* @
|
|
991
|
+
* @maxLength 19
|
|
980
992
|
*/
|
|
981
993
|
titleColor?: string | null;
|
|
982
994
|
/**
|
|
983
995
|
* Subtitle color as a hexadecimal value.
|
|
984
|
-
* @
|
|
996
|
+
* @maxLength 19
|
|
985
997
|
*/
|
|
986
998
|
subtitleColor?: string | null;
|
|
987
999
|
/**
|
|
988
1000
|
* Link color as a hexadecimal value.
|
|
989
|
-
* @
|
|
1001
|
+
* @maxLength 19
|
|
990
1002
|
*/
|
|
991
1003
|
linkColor?: string | null;
|
|
992
1004
|
/** Border width in pixels. */
|
|
@@ -995,7 +1007,7 @@ interface LinkPreviewDataStyles {
|
|
|
995
1007
|
borderRadius?: number | null;
|
|
996
1008
|
/**
|
|
997
1009
|
* Border color as a hexadecimal value.
|
|
998
|
-
* @
|
|
1010
|
+
* @maxLength 19
|
|
999
1011
|
*/
|
|
1000
1012
|
borderColor?: string | null;
|
|
1001
1013
|
/** Position of thumbnail. Defaults to `START`. */
|
|
@@ -1146,19 +1158,19 @@ interface BackgroundGradient {
|
|
|
1146
1158
|
angle?: number | null;
|
|
1147
1159
|
/**
|
|
1148
1160
|
* The start color as a hexademical value.
|
|
1149
|
-
* @
|
|
1161
|
+
* @maxLength 19
|
|
1150
1162
|
*/
|
|
1151
1163
|
startColor?: string | null;
|
|
1152
1164
|
/**
|
|
1153
1165
|
* The end color as a hexademical value.
|
|
1154
|
-
* @
|
|
1166
|
+
* @maxLength 19
|
|
1155
1167
|
*/
|
|
1156
1168
|
lastColor?: string | null;
|
|
1157
1169
|
}
|
|
1158
1170
|
interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
|
|
1159
1171
|
/**
|
|
1160
1172
|
* The background color as a hexademical value.
|
|
1161
|
-
* @
|
|
1173
|
+
* @maxLength 19
|
|
1162
1174
|
*/
|
|
1163
1175
|
color?: string | null;
|
|
1164
1176
|
/** An image to use for the background. */
|
|
@@ -1172,7 +1184,7 @@ interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
|
|
|
1172
1184
|
interface PollDesignBackgroundBackgroundOneOf {
|
|
1173
1185
|
/**
|
|
1174
1186
|
* The background color as a hexademical value.
|
|
1175
|
-
* @
|
|
1187
|
+
* @maxLength 19
|
|
1176
1188
|
*/
|
|
1177
1189
|
color?: string | null;
|
|
1178
1190
|
/** An image to use for the background. */
|
|
@@ -1486,32 +1498,32 @@ interface ButtonStyles {
|
|
|
1486
1498
|
borderRadius?: number | null;
|
|
1487
1499
|
/**
|
|
1488
1500
|
* Border color as a hexadecimal value.
|
|
1489
|
-
* @
|
|
1501
|
+
* @maxLength 19
|
|
1490
1502
|
*/
|
|
1491
1503
|
borderColor?: string | null;
|
|
1492
1504
|
/**
|
|
1493
1505
|
* Text color as a hexadecimal value.
|
|
1494
|
-
* @
|
|
1506
|
+
* @maxLength 19
|
|
1495
1507
|
*/
|
|
1496
1508
|
textColor?: string | null;
|
|
1497
1509
|
/**
|
|
1498
1510
|
* Background color as a hexadecimal value.
|
|
1499
|
-
* @
|
|
1511
|
+
* @maxLength 19
|
|
1500
1512
|
*/
|
|
1501
1513
|
backgroundColor?: string | null;
|
|
1502
1514
|
/**
|
|
1503
1515
|
* Border color as a hexadecimal value (hover state).
|
|
1504
|
-
* @
|
|
1516
|
+
* @maxLength 19
|
|
1505
1517
|
*/
|
|
1506
1518
|
borderColorHover?: string | null;
|
|
1507
1519
|
/**
|
|
1508
1520
|
* Text color as a hexadecimal value (hover state).
|
|
1509
|
-
* @
|
|
1521
|
+
* @maxLength 19
|
|
1510
1522
|
*/
|
|
1511
1523
|
textColorHover?: string | null;
|
|
1512
1524
|
/**
|
|
1513
1525
|
* Background color as a hexadecimal value (hover state).
|
|
1514
|
-
* @
|
|
1526
|
+
* @maxLength 19
|
|
1515
1527
|
*/
|
|
1516
1528
|
backgroundColorHover?: string | null;
|
|
1517
1529
|
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
@@ -1528,7 +1540,7 @@ interface ImageStyles {
|
|
|
1528
1540
|
resizing?: ResizingWithLiterals;
|
|
1529
1541
|
/**
|
|
1530
1542
|
* Image border color as a hexadecimal value.
|
|
1531
|
-
* @
|
|
1543
|
+
* @maxLength 19
|
|
1532
1544
|
*/
|
|
1533
1545
|
borderColor?: string | null;
|
|
1534
1546
|
/** Image border width in pixels. */
|
|
@@ -1541,17 +1553,17 @@ interface RibbonStyles {
|
|
|
1541
1553
|
ribbonText?: string | null;
|
|
1542
1554
|
/**
|
|
1543
1555
|
* Ribbon background color as a hexadecimal value.
|
|
1544
|
-
* @
|
|
1556
|
+
* @maxLength 19
|
|
1545
1557
|
*/
|
|
1546
1558
|
backgroundColor?: string | null;
|
|
1547
1559
|
/**
|
|
1548
1560
|
* Ribbon text color as a hexadecimal value.
|
|
1549
|
-
* @
|
|
1561
|
+
* @maxLength 19
|
|
1550
1562
|
*/
|
|
1551
1563
|
textColor?: string | null;
|
|
1552
1564
|
/**
|
|
1553
1565
|
* Ribbon border color as a hexadecimal value.
|
|
1554
|
-
* @
|
|
1566
|
+
* @maxLength 19
|
|
1555
1567
|
*/
|
|
1556
1568
|
borderColor?: string | null;
|
|
1557
1569
|
/** Ribbon border width in pixels. */
|
|
@@ -1564,12 +1576,12 @@ interface RibbonStyles {
|
|
|
1564
1576
|
interface CardStyles {
|
|
1565
1577
|
/**
|
|
1566
1578
|
* Card background color as a hexadecimal value.
|
|
1567
|
-
* @
|
|
1579
|
+
* @maxLength 19
|
|
1568
1580
|
*/
|
|
1569
1581
|
backgroundColor?: string | null;
|
|
1570
1582
|
/**
|
|
1571
1583
|
* Card border color as a hexadecimal value.
|
|
1572
|
-
* @
|
|
1584
|
+
* @maxLength 19
|
|
1573
1585
|
*/
|
|
1574
1586
|
borderColor?: string | null;
|
|
1575
1587
|
/** Card border width in pixels. */
|
|
@@ -1584,12 +1596,12 @@ interface CardStyles {
|
|
|
1584
1596
|
titlePriceLayout?: LayoutWithLiterals;
|
|
1585
1597
|
/**
|
|
1586
1598
|
* Title text color as a hexadecimal value.
|
|
1587
|
-
* @
|
|
1599
|
+
* @maxLength 19
|
|
1588
1600
|
*/
|
|
1589
1601
|
titleColor?: string | null;
|
|
1590
1602
|
/**
|
|
1591
1603
|
* Text color as a hexadecimal value.
|
|
1592
|
-
* @
|
|
1604
|
+
* @maxLength 19
|
|
1593
1605
|
*/
|
|
1594
1606
|
textColor?: string | null;
|
|
1595
1607
|
}
|
|
@@ -1733,6 +1745,8 @@ interface TableData {
|
|
|
1733
1745
|
* @maxSize 4
|
|
1734
1746
|
*/
|
|
1735
1747
|
cellPadding?: number[];
|
|
1748
|
+
/** Table's alternative text. */
|
|
1749
|
+
altText?: string | null;
|
|
1736
1750
|
}
|
|
1737
1751
|
interface Dimensions {
|
|
1738
1752
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -1769,29 +1783,29 @@ interface CellStyle {
|
|
|
1769
1783
|
verticalAlignment?: VerticalAlignmentWithLiterals;
|
|
1770
1784
|
/**
|
|
1771
1785
|
* Cell background color as a hexadecimal value.
|
|
1772
|
-
* @
|
|
1786
|
+
* @maxLength 19
|
|
1773
1787
|
*/
|
|
1774
1788
|
backgroundColor?: string | null;
|
|
1775
1789
|
}
|
|
1776
1790
|
interface BorderColors {
|
|
1777
1791
|
/**
|
|
1778
1792
|
* Left border color as a hexadecimal value.
|
|
1779
|
-
* @
|
|
1793
|
+
* @maxLength 19
|
|
1780
1794
|
*/
|
|
1781
1795
|
left?: string | null;
|
|
1782
1796
|
/**
|
|
1783
1797
|
* Right border color as a hexadecimal value.
|
|
1784
|
-
* @
|
|
1798
|
+
* @maxLength 19
|
|
1785
1799
|
*/
|
|
1786
1800
|
right?: string | null;
|
|
1787
1801
|
/**
|
|
1788
1802
|
* Top border color as a hexadecimal value.
|
|
1789
|
-
* @
|
|
1803
|
+
* @maxLength 19
|
|
1790
1804
|
*/
|
|
1791
1805
|
top?: string | null;
|
|
1792
1806
|
/**
|
|
1793
1807
|
* Bottom border color as a hexadecimal value.
|
|
1794
|
-
* @
|
|
1808
|
+
* @maxLength 19
|
|
1795
1809
|
*/
|
|
1796
1810
|
bottom?: string | null;
|
|
1797
1811
|
}
|
|
@@ -1866,7 +1880,7 @@ interface CaptionData {
|
|
|
1866
1880
|
interface LayoutData {
|
|
1867
1881
|
/**
|
|
1868
1882
|
* Deprecated: Use `background` instead.
|
|
1869
|
-
* @
|
|
1883
|
+
* @maxLength 19
|
|
1870
1884
|
* @deprecated
|
|
1871
1885
|
*/
|
|
1872
1886
|
backgroundColor?: string | null;
|
|
@@ -1874,7 +1888,7 @@ interface LayoutData {
|
|
|
1874
1888
|
backgroundImage?: LayoutDataBackgroundImage;
|
|
1875
1889
|
/**
|
|
1876
1890
|
* Border color as a hexadecimal value.
|
|
1877
|
-
* @
|
|
1891
|
+
* @maxLength 19
|
|
1878
1892
|
*/
|
|
1879
1893
|
borderColor?: string | null;
|
|
1880
1894
|
/** Border width in pixels. */
|
|
@@ -1883,7 +1897,7 @@ interface LayoutData {
|
|
|
1883
1897
|
borderRadius?: number | null;
|
|
1884
1898
|
/**
|
|
1885
1899
|
* Deprecated: Use `backdrop` instead.
|
|
1886
|
-
* @
|
|
1900
|
+
* @maxLength 19
|
|
1887
1901
|
* @deprecated
|
|
1888
1902
|
*/
|
|
1889
1903
|
backdropColor?: string | null;
|
|
@@ -2021,7 +2035,7 @@ interface LayoutDataBackground {
|
|
|
2021
2035
|
type?: LayoutDataBackgroundTypeWithLiterals;
|
|
2022
2036
|
/**
|
|
2023
2037
|
* Background color as a hexadecimal value.
|
|
2024
|
-
* @
|
|
2038
|
+
* @maxLength 19
|
|
2025
2039
|
*/
|
|
2026
2040
|
color?: string | null;
|
|
2027
2041
|
/** Gradient configuration. */
|
|
@@ -2033,7 +2047,7 @@ interface Backdrop {
|
|
|
2033
2047
|
type?: BackdropTypeWithLiterals;
|
|
2034
2048
|
/**
|
|
2035
2049
|
* Backdrop color as a hexadecimal value.
|
|
2036
|
-
* @
|
|
2050
|
+
* @maxLength 19
|
|
2037
2051
|
*/
|
|
2038
2052
|
color?: string | null;
|
|
2039
2053
|
/** Gradient configuration. */
|
|
@@ -2054,7 +2068,7 @@ interface ShapeData {
|
|
|
2054
2068
|
interface ShapeDataStyles {
|
|
2055
2069
|
/**
|
|
2056
2070
|
* Shape fill color as a hexadecimal value.
|
|
2057
|
-
* @
|
|
2071
|
+
* @maxLength 19
|
|
2058
2072
|
*/
|
|
2059
2073
|
color?: string | null;
|
|
2060
2074
|
/** Map of original color keys to their new color values. */
|
|
@@ -2113,7 +2127,7 @@ interface CardDataBackground {
|
|
|
2113
2127
|
type?: CardDataBackgroundTypeWithLiterals;
|
|
2114
2128
|
/**
|
|
2115
2129
|
* Background color as a hexadecimal value.
|
|
2116
|
-
* @
|
|
2130
|
+
* @maxLength 19
|
|
2117
2131
|
*/
|
|
2118
2132
|
color?: string | null;
|
|
2119
2133
|
/** Gradient configuration. */
|
|
@@ -2140,7 +2154,7 @@ interface TocData {
|
|
|
2140
2154
|
itemSpacing?: number | null;
|
|
2141
2155
|
/**
|
|
2142
2156
|
* Optional override for the text color.
|
|
2143
|
-
* @
|
|
2157
|
+
* @maxLength 19
|
|
2144
2158
|
*/
|
|
2145
2159
|
color?: string | null;
|
|
2146
2160
|
/** Indentation style. Default: NESTED. */
|
|
@@ -2174,6 +2188,103 @@ declare enum Indentation {
|
|
|
2174
2188
|
}
|
|
2175
2189
|
/** @enumType */
|
|
2176
2190
|
type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
|
|
2191
|
+
/** Data for a smart block node. */
|
|
2192
|
+
interface SmartBlockData {
|
|
2193
|
+
/** The type of the smart block. */
|
|
2194
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2195
|
+
/** Layout orientation. HORIZONTAL or VERTICAL. Optional for variants with fixed orientation. */
|
|
2196
|
+
orientation?: string | null;
|
|
2197
|
+
/** Column size controlling cells per row. */
|
|
2198
|
+
columnSize?: ColumnSizeWithLiterals;
|
|
2199
|
+
/**
|
|
2200
|
+
* Border color (for SOLID_JOINED_BOXES variant).
|
|
2201
|
+
* @maxLength 19
|
|
2202
|
+
*/
|
|
2203
|
+
borderColor?: string | null;
|
|
2204
|
+
/** Border width in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2205
|
+
borderWidth?: number | null;
|
|
2206
|
+
/** Border radius in pixels (for SOLID_JOINED_BOXES variant). */
|
|
2207
|
+
borderRadius?: number | null;
|
|
2208
|
+
}
|
|
2209
|
+
/** Layout type of the smart block */
|
|
2210
|
+
declare enum SmartBlockDataType {
|
|
2211
|
+
/** Grid-based layouts with solid box items containing title, body, and icon/image. */
|
|
2212
|
+
SOLID_BOXES = "SOLID_BOXES",
|
|
2213
|
+
/** Numbered boxes. */
|
|
2214
|
+
NUMBERED_BOXES = "NUMBERED_BOXES",
|
|
2215
|
+
/** Statistics display with large numbers/values. */
|
|
2216
|
+
STATS = "STATS",
|
|
2217
|
+
/** Statistics with circular visual elements. */
|
|
2218
|
+
CIRCLE_STATS = "CIRCLE_STATS",
|
|
2219
|
+
/** Staggered/zigzag grid layout with alternating box positions. */
|
|
2220
|
+
SOLID_BOXES_ALTERNATING = "SOLID_BOXES_ALTERNATING",
|
|
2221
|
+
/** Grid layout with boxes visually joined (no gaps, shared container border). */
|
|
2222
|
+
SOLID_JOINED_BOXES = "SOLID_JOINED_BOXES",
|
|
2223
|
+
/** Transparent cells with only a left side line. */
|
|
2224
|
+
SIDE_LINE_TEXT = "SIDE_LINE_TEXT",
|
|
2225
|
+
/** Transparent cells with only a top line. */
|
|
2226
|
+
TOP_LINE_TEXT = "TOP_LINE_TEXT",
|
|
2227
|
+
/** Outlined boxes with a numbered/icon circle at the top. */
|
|
2228
|
+
OUTLINE_BOXES_WITH_TOP_CIRCLE = "OUTLINE_BOXES_WITH_TOP_CIRCLE",
|
|
2229
|
+
/** Large icon bullets with text content. */
|
|
2230
|
+
BIG_BULLETS = "BIG_BULLETS",
|
|
2231
|
+
/** Small dot bullets with text content. */
|
|
2232
|
+
SMALL_BULLETS = "SMALL_BULLETS",
|
|
2233
|
+
/** Arrow icon bullets with text content. */
|
|
2234
|
+
ARROW_BULLETS = "ARROW_BULLETS",
|
|
2235
|
+
/** Process steps with numbered/icon labels above a horizontal line. */
|
|
2236
|
+
PROCESS_STEPS = "PROCESS_STEPS",
|
|
2237
|
+
/** Statistics with bar visual elements. */
|
|
2238
|
+
BAR_STATS = "BAR_STATS"
|
|
2239
|
+
}
|
|
2240
|
+
/** @enumType */
|
|
2241
|
+
type SmartBlockDataTypeWithLiterals = SmartBlockDataType | 'SOLID_BOXES' | 'NUMBERED_BOXES' | 'STATS' | 'CIRCLE_STATS' | 'SOLID_BOXES_ALTERNATING' | 'SOLID_JOINED_BOXES' | 'SIDE_LINE_TEXT' | 'TOP_LINE_TEXT' | 'OUTLINE_BOXES_WITH_TOP_CIRCLE' | 'BIG_BULLETS' | 'SMALL_BULLETS' | 'ARROW_BULLETS' | 'PROCESS_STEPS' | 'BAR_STATS';
|
|
2242
|
+
/** Column size controlling how many cells appear per row. */
|
|
2243
|
+
declare enum ColumnSize {
|
|
2244
|
+
/** Up to 4 cells in a row. */
|
|
2245
|
+
SMALL = "SMALL",
|
|
2246
|
+
/** Up to 3 cells in a row (default). */
|
|
2247
|
+
MEDIUM = "MEDIUM",
|
|
2248
|
+
/** Up to 2 cells in a row. */
|
|
2249
|
+
LARGE = "LARGE",
|
|
2250
|
+
/** 1 cell in a row. */
|
|
2251
|
+
EXTRA_LARGE = "EXTRA_LARGE"
|
|
2252
|
+
}
|
|
2253
|
+
/** @enumType */
|
|
2254
|
+
type ColumnSizeWithLiterals = ColumnSize | 'SMALL' | 'MEDIUM' | 'LARGE' | 'EXTRA_LARGE';
|
|
2255
|
+
/** Data for a smart block cell node. */
|
|
2256
|
+
interface SmartBlockCellData {
|
|
2257
|
+
/** Optional label text for the cell (e.g., for stats variants). */
|
|
2258
|
+
label?: string | null;
|
|
2259
|
+
/** Shape file details. */
|
|
2260
|
+
shape?: Media;
|
|
2261
|
+
/**
|
|
2262
|
+
* Border color of the cell.
|
|
2263
|
+
* @maxLength 19
|
|
2264
|
+
*/
|
|
2265
|
+
borderColor?: string | null;
|
|
2266
|
+
/** Border width in pixels. */
|
|
2267
|
+
borderWidth?: number | null;
|
|
2268
|
+
/** Border radius in pixels. */
|
|
2269
|
+
borderRadius?: number | null;
|
|
2270
|
+
/** The type of the parent smart block (must match parent). */
|
|
2271
|
+
type?: SmartBlockDataTypeWithLiterals;
|
|
2272
|
+
/**
|
|
2273
|
+
* Accent color for non-background variants (e.g., line, bullet, label color).
|
|
2274
|
+
* @maxLength 19
|
|
2275
|
+
*/
|
|
2276
|
+
accentColor?: string | null;
|
|
2277
|
+
/**
|
|
2278
|
+
* Background color for background-based variants (SOLID_BOXES, SOLID_BOXES_ALTERNATING, SOLID_JOINED_BOXES).
|
|
2279
|
+
* @maxLength 19
|
|
2280
|
+
*/
|
|
2281
|
+
backgroundColor?: string | null;
|
|
2282
|
+
/**
|
|
2283
|
+
* Shape fill color as a hexadecimal value.
|
|
2284
|
+
* @maxLength 19
|
|
2285
|
+
*/
|
|
2286
|
+
shapeColor?: string | null;
|
|
2287
|
+
}
|
|
2177
2288
|
interface Metadata {
|
|
2178
2289
|
/** Schema version. */
|
|
2179
2290
|
version?: number;
|
|
@@ -2628,4 +2739,4 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
2628
2739
|
declare function machineTranslate(): __PublicMethodMetaInfo<'POST', {}, MachineTranslateRequest$1, MachineTranslateRequest, MachineTranslateResponse$1, MachineTranslateResponse>;
|
|
2629
2740
|
declare function bulkMachineTranslate(): __PublicMethodMetaInfo<'POST', {}, BulkMachineTranslateRequest$1, BulkMachineTranslateRequest, BulkMachineTranslateResponse$1, BulkMachineTranslateResponse>;
|
|
2630
2741
|
|
|
2631
|
-
export { Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type Banner as BannerOriginal, type BlockquoteData as BlockquoteDataOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkMachineTranslateApplicationErrors as BulkMachineTranslateApplicationErrorsOriginal, type BulkMachineTranslateRequest as BulkMachineTranslateRequestOriginal, type BulkMachineTranslateResponse as BulkMachineTranslateResponseOriginal, type BulkTranslateResult as BulkTranslateResultOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, type CellStyle as CellStyleOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DocumentStyle as DocumentStyleOriginal, type EmbedData as EmbedDataOriginal, type EventData as EventDataOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, Format as FormatOriginal, type FormatWithLiterals as FormatWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type MachineTranslateApplicationErrors as MachineTranslateApplicationErrorsOriginal, type MachineTranslateRequest as MachineTranslateRequestOriginal, type MachineTranslateResponse as MachineTranslateResponseOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type Metadata as MetadataOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, type NotEnoughCreditsError as NotEnoughCreditsErrorOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PricingData as PricingDataOriginal, type Rel as RelOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, type SameLanguageArgumentsError as SameLanguageArgumentsErrorOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, SupportedLanguage as SupportedLanguageOriginal, type SupportedLanguageWithLiterals as SupportedLanguageWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, type TextTooLongError as TextTooLongErrorOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, type TranslatableContentContentOneOf as TranslatableContentContentOneOfOriginal, type TranslatableContent as TranslatableContentOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnknownFormatError as UnknownFormatErrorOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkMachineTranslate, machineTranslate };
|
|
2742
|
+
export { Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type Banner as BannerOriginal, type BlockquoteData as BlockquoteDataOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkMachineTranslateApplicationErrors as BulkMachineTranslateApplicationErrorsOriginal, type BulkMachineTranslateRequest as BulkMachineTranslateRequestOriginal, type BulkMachineTranslateResponse as BulkMachineTranslateResponseOriginal, type BulkTranslateResult as BulkTranslateResultOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, type CellStyle as CellStyleOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DocumentStyle as DocumentStyleOriginal, type EmbedData as EmbedDataOriginal, type EventData as EventDataOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, Format as FormatOriginal, type FormatWithLiterals as FormatWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type MachineTranslateApplicationErrors as MachineTranslateApplicationErrorsOriginal, type MachineTranslateRequest as MachineTranslateRequestOriginal, type MachineTranslateResponse as MachineTranslateResponseOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type Metadata as MetadataOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, type NotEnoughCreditsError as NotEnoughCreditsErrorOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PricingData as PricingDataOriginal, type Rel as RelOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, type SameLanguageArgumentsError as SameLanguageArgumentsErrorOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, SupportedLanguage as SupportedLanguageOriginal, type SupportedLanguageWithLiterals as SupportedLanguageWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, type TextTooLongError as TextTooLongErrorOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, type TranslatableContentContentOneOf as TranslatableContentContentOneOfOriginal, type TranslatableContent as TranslatableContentOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnknownFormatError as UnknownFormatErrorOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkMachineTranslate, machineTranslate };
|
package/build/cjs/meta.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(meta_exports, {
|
|
|
27
27
|
BackgroundTypeOriginal: () => BackgroundType,
|
|
28
28
|
ButtonDataTypeOriginal: () => ButtonDataType,
|
|
29
29
|
CardDataBackgroundTypeOriginal: () => CardDataBackgroundType,
|
|
30
|
+
ColumnSizeOriginal: () => ColumnSize,
|
|
30
31
|
CropOriginal: () => Crop,
|
|
31
32
|
DecorationTypeOriginal: () => DecorationType,
|
|
32
33
|
DesignTargetOriginal: () => DesignTarget,
|
|
@@ -60,6 +61,7 @@ __export(meta_exports, {
|
|
|
60
61
|
ResizingOriginal: () => Resizing,
|
|
61
62
|
ResponsivenessBehaviourOriginal: () => ResponsivenessBehaviour,
|
|
62
63
|
ScalingOriginal: () => Scaling,
|
|
64
|
+
SmartBlockDataTypeOriginal: () => SmartBlockDataType,
|
|
63
65
|
SourceOriginal: () => Source,
|
|
64
66
|
StylesPositionOriginal: () => StylesPosition,
|
|
65
67
|
SupportedLanguageOriginal: () => SupportedLanguage,
|
|
@@ -249,7 +251,10 @@ function machineTranslate(payload) {
|
|
|
249
251
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
250
252
|
},
|
|
251
253
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
252
|
-
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" }
|
|
254
|
+
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
255
|
+
{
|
|
256
|
+
path: "contentToTranslate.richContent.nodes.smartBlockCellData.shape.duration"
|
|
257
|
+
}
|
|
253
258
|
]
|
|
254
259
|
},
|
|
255
260
|
{
|
|
@@ -383,6 +388,9 @@ function machineTranslate(payload) {
|
|
|
383
388
|
{ path: "translatedContent.richContent.nodes.tocData.fontSize" },
|
|
384
389
|
{
|
|
385
390
|
path: "translatedContent.richContent.nodes.tocData.itemSpacing"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
path: "translatedContent.richContent.nodes.smartBlockCellData.shape.duration"
|
|
386
394
|
}
|
|
387
395
|
]
|
|
388
396
|
},
|
|
@@ -512,7 +520,10 @@ function bulkMachineTranslate(payload) {
|
|
|
512
520
|
path: "contentToTranslate.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
513
521
|
},
|
|
514
522
|
{ path: "contentToTranslate.richContent.nodes.tocData.fontSize" },
|
|
515
|
-
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" }
|
|
523
|
+
{ path: "contentToTranslate.richContent.nodes.tocData.itemSpacing" },
|
|
524
|
+
{
|
|
525
|
+
path: "contentToTranslate.richContent.nodes.smartBlockCellData.shape.duration"
|
|
526
|
+
}
|
|
516
527
|
]
|
|
517
528
|
},
|
|
518
529
|
{
|
|
@@ -644,7 +655,10 @@ function bulkMachineTranslate(payload) {
|
|
|
644
655
|
path: "results.item.richContent.nodes.cardData.backgroundImage.media.duration"
|
|
645
656
|
},
|
|
646
657
|
{ path: "results.item.richContent.nodes.tocData.fontSize" },
|
|
647
|
-
{ path: "results.item.richContent.nodes.tocData.itemSpacing" }
|
|
658
|
+
{ path: "results.item.richContent.nodes.tocData.itemSpacing" },
|
|
659
|
+
{
|
|
660
|
+
path: "results.item.richContent.nodes.smartBlockCellData.shape.duration"
|
|
661
|
+
}
|
|
648
662
|
]
|
|
649
663
|
},
|
|
650
664
|
{
|
|
@@ -705,6 +719,8 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
705
719
|
NodeType2["SHAPE"] = "SHAPE";
|
|
706
720
|
NodeType2["CARD"] = "CARD";
|
|
707
721
|
NodeType2["TOC"] = "TOC";
|
|
722
|
+
NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
|
|
723
|
+
NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
|
|
708
724
|
return NodeType2;
|
|
709
725
|
})(NodeType || {});
|
|
710
726
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -1032,6 +1048,30 @@ var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
|
1032
1048
|
Indentation2["FLAT"] = "FLAT";
|
|
1033
1049
|
return Indentation2;
|
|
1034
1050
|
})(Indentation || {});
|
|
1051
|
+
var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
|
|
1052
|
+
SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
|
|
1053
|
+
SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
|
|
1054
|
+
SmartBlockDataType2["STATS"] = "STATS";
|
|
1055
|
+
SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
|
|
1056
|
+
SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
|
|
1057
|
+
SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
|
|
1058
|
+
SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
|
|
1059
|
+
SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
|
|
1060
|
+
SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
|
|
1061
|
+
SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
|
|
1062
|
+
SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
|
|
1063
|
+
SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
|
|
1064
|
+
SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
|
|
1065
|
+
SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
|
|
1066
|
+
return SmartBlockDataType2;
|
|
1067
|
+
})(SmartBlockDataType || {});
|
|
1068
|
+
var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
|
|
1069
|
+
ColumnSize2["SMALL"] = "SMALL";
|
|
1070
|
+
ColumnSize2["MEDIUM"] = "MEDIUM";
|
|
1071
|
+
ColumnSize2["LARGE"] = "LARGE";
|
|
1072
|
+
ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
|
|
1073
|
+
return ColumnSize2;
|
|
1074
|
+
})(ColumnSize || {});
|
|
1035
1075
|
var SupportedLanguage = /* @__PURE__ */ ((SupportedLanguage2) => {
|
|
1036
1076
|
SupportedLanguage2["AF"] = "AF";
|
|
1037
1077
|
SupportedLanguage2["SQ"] = "SQ";
|
|
@@ -1221,6 +1261,7 @@ function bulkMachineTranslate2() {
|
|
|
1221
1261
|
BackgroundTypeOriginal,
|
|
1222
1262
|
ButtonDataTypeOriginal,
|
|
1223
1263
|
CardDataBackgroundTypeOriginal,
|
|
1264
|
+
ColumnSizeOriginal,
|
|
1224
1265
|
CropOriginal,
|
|
1225
1266
|
DecorationTypeOriginal,
|
|
1226
1267
|
DesignTargetOriginal,
|
|
@@ -1254,6 +1295,7 @@ function bulkMachineTranslate2() {
|
|
|
1254
1295
|
ResizingOriginal,
|
|
1255
1296
|
ResponsivenessBehaviourOriginal,
|
|
1256
1297
|
ScalingOriginal,
|
|
1298
|
+
SmartBlockDataTypeOriginal,
|
|
1257
1299
|
SourceOriginal,
|
|
1258
1300
|
StylesPositionOriginal,
|
|
1259
1301
|
SupportedLanguageOriginal,
|