@beyondwork/docx-react-component 1.0.130 → 1.0.132
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/dist/api/public-types.cjs +679 -157
- package/dist/api/public-types.d.cts +2 -2
- package/dist/api/public-types.d.ts +2 -2
- package/dist/api/public-types.js +5 -3
- package/dist/api/v3.cjs +371 -32
- package/dist/api/v3.d.cts +3 -3
- package/dist/api/v3.d.ts +3 -3
- package/dist/api/v3.js +10 -10
- package/dist/{canonical-document-BMtONpgf.d.cts → canonical-document-CfZIc-fC.d.cts} +1 -1
- package/dist/{canonical-document-BMtONpgf.d.ts → canonical-document-CfZIc-fC.d.ts} +1 -1
- package/dist/{chunk-YLL7MF5C.js → chunk-43JAPM2F.js} +24 -17
- package/dist/{chunk-4YCWECLZ.js → chunk-4HGFJ6Z2.js} +1 -1
- package/dist/{chunk-HYHCRMR7.js → chunk-6736GA6J.js} +1 -1
- package/dist/{chunk-Q7Y57KOK.js → chunk-6TLZ6CMP.js} +2 -2
- package/dist/{chunk-DGA7M77X.js → chunk-ALWXYGXP.js} +2 -2
- package/dist/{chunk-PHMWH23E.js → chunk-C5LXKR54.js} +1 -1
- package/dist/{chunk-6TBLDBCL.js → chunk-CDEZGLQ3.js} +1 -1
- package/dist/{chunk-VRKK2CSZ.js → chunk-JVTDBX67.js} +2 -2
- package/dist/{chunk-THVM6EP5.js → chunk-LPLJZJT2.js} +1196 -35
- package/dist/{chunk-T5YYFDZB.js → chunk-N5FTU4HZ.js} +1 -1
- package/dist/{chunk-3YCQM2RV.js → chunk-QUTVR72L.js} +8 -7
- package/dist/{chunk-M7YRJX6V.js → chunk-RBWJHRNP.js} +1 -1
- package/dist/{chunk-A66ZVUAT.js → chunk-RYMMKOFI.js} +204 -10
- package/dist/{chunk-QXKQPUOM.js → chunk-SZ6BJA4Q.js} +3 -3
- package/dist/{chunk-A3GSNB4G.js → chunk-U3UMKA7B.js} +147 -13
- package/dist/{chunk-KNHMXKC6.js → chunk-UFPBYJMA.js} +2 -2
- package/dist/{chunk-35RHOE6I.js → chunk-UP2KDOYE.js} +6 -1162
- package/dist/{chunk-CI2TD3T4.js → chunk-W2I47J2Q.js} +1 -1
- package/dist/{chunk-7G5GR3VV.js → chunk-XYTWOJII.js} +5 -5
- package/dist/{chunk-WZDKNF37.js → chunk-YUHNDEV5.js} +7 -7
- package/dist/{chunk-ZVC23LKV.js → chunk-ZDYGRO2Z.js} +1 -1
- package/dist/compare.d.cts +1 -1
- package/dist/compare.d.ts +1 -1
- package/dist/core/commands/formatting-commands.d.cts +2 -2
- package/dist/core/commands/formatting-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.cjs +312 -20
- package/dist/core/commands/image-commands.d.cts +2 -2
- package/dist/core/commands/image-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.js +5 -5
- package/dist/core/commands/section-layout-commands.d.cts +2 -2
- package/dist/core/commands/section-layout-commands.d.ts +2 -2
- package/dist/core/commands/style-commands.d.cts +2 -2
- package/dist/core/commands/style-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.cjs +312 -20
- package/dist/core/commands/table-structure-commands.d.cts +2 -2
- package/dist/core/commands/table-structure-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.js +4 -4
- package/dist/core/commands/text-commands.cjs +312 -20
- package/dist/core/commands/text-commands.d.cts +2 -2
- package/dist/core/commands/text-commands.d.ts +2 -2
- package/dist/core/commands/text-commands.js +5 -5
- package/dist/core/selection/mapping.d.cts +2 -2
- package/dist/core/selection/mapping.d.ts +2 -2
- package/dist/core/state/editor-state.d.cts +2 -2
- package/dist/core/state/editor-state.d.ts +2 -2
- package/dist/index.cjs +3015 -2213
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +554 -99
- package/dist/io/docx-session.d.cts +4 -4
- package/dist/io/docx-session.d.ts +4 -4
- package/dist/io/docx-session.js +4 -4
- package/dist/legal.d.cts +1 -1
- package/dist/legal.d.ts +1 -1
- package/dist/legal.js +3 -3
- package/dist/{loader-B-aL5HGD.d.ts → loader-CfpeEPAa.d.ts} +3 -3
- package/dist/{loader-DiY_ZgKl.d.cts → loader-MAa8VpzW.d.cts} +3 -3
- package/dist/{public-types-gvubspUI.d.cts → public-types-Cjs8glST.d.ts} +137 -2
- package/dist/{public-types-DyqnxxO9.d.ts → public-types-KBS6JnOs.d.cts} +137 -2
- package/dist/public-types.cjs +679 -157
- package/dist/public-types.d.cts +2 -2
- package/dist/public-types.d.ts +2 -2
- package/dist/public-types.js +5 -3
- package/dist/runtime/collab.d.cts +3 -3
- package/dist/runtime/collab.d.ts +3 -3
- package/dist/runtime/document-runtime.cjs +371 -22
- package/dist/runtime/document-runtime.d.cts +2 -2
- package/dist/runtime/document-runtime.d.ts +2 -2
- package/dist/runtime/document-runtime.js +14 -14
- package/dist/{session-CDB0hohT.d.ts → session-CkoH8FoY.d.ts} +3 -3
- package/dist/{session-BUN6B-Vj.d.cts → session-wwe0Gib-.d.cts} +3 -3
- package/dist/session.d.cts +5 -5
- package/dist/session.d.ts +5 -5
- package/dist/session.js +5 -5
- package/dist/tailwind.cjs +492 -202
- package/dist/tailwind.d.cts +2 -2
- package/dist/tailwind.d.ts +2 -2
- package/dist/tailwind.js +7 -7
- package/dist/{types-C4bz3kDU.d.cts → types-B3SGRW0w.d.cts} +2 -2
- package/dist/{types-VWH6CRvG.d.ts → types-CH7NWqVL.d.ts} +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
- package/dist/ui-tailwind.cjs +492 -202
- package/dist/ui-tailwind.d.cts +3 -3
- package/dist/ui-tailwind.d.ts +3 -3
- package/dist/ui-tailwind.js +7 -7
- package/package.json +4 -1
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAIN_STORY_KEY,
|
|
5
5
|
collectCanonicalFieldRegionIdentities,
|
|
6
6
|
collectEditableTargetRefs
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RYMMKOFI.js";
|
|
8
8
|
import {
|
|
9
9
|
describeOpaqueFragment,
|
|
10
10
|
describeStructuredWrapperBlock,
|
|
@@ -1272,6 +1272,10 @@ function createNumberingPrefixResolver(catalog) {
|
|
|
1272
1272
|
])
|
|
1273
1273
|
) : resolved.effectiveLevels;
|
|
1274
1274
|
const picBulletId = resolved.effectiveLevel.picBulletId;
|
|
1275
|
+
const pictureBulletPosture = resolvePictureBulletRenderPosture(
|
|
1276
|
+
picBulletId,
|
|
1277
|
+
picBulletId != null ? catalog.numPicBullets?.[picBulletId] : void 0
|
|
1278
|
+
);
|
|
1275
1279
|
const text = renderLevelText(
|
|
1276
1280
|
resolved.effectiveLevel.text,
|
|
1277
1281
|
workingState.counters,
|
|
@@ -1280,14 +1284,20 @@ function createNumberingPrefixResolver(catalog) {
|
|
|
1280
1284
|
if (picBulletId == null && resolved.effectiveLevel.format !== "none" && text === null) {
|
|
1281
1285
|
return null;
|
|
1282
1286
|
}
|
|
1283
|
-
const visibleText = resolved.effectiveLevel.format === "none" ? null : text;
|
|
1287
|
+
const visibleText = resolved.effectiveLevel.format === "none" ? null : text ?? pictureBulletPosture?.fallbackGlyph ?? null;
|
|
1288
|
+
const normalizedMarkerText = normalizeMarkerText(
|
|
1289
|
+
visibleText,
|
|
1290
|
+
resolved.effectiveLevel.format,
|
|
1291
|
+
resolved.geometry.markerRunProperties
|
|
1292
|
+
);
|
|
1284
1293
|
const formatPosture = getNumberingFormatPosture(
|
|
1285
1294
|
resolved.effectiveLevel.format,
|
|
1286
1295
|
currentCounter
|
|
1287
1296
|
);
|
|
1288
|
-
const picBulletMediaId =
|
|
1297
|
+
const picBulletMediaId = pictureBulletPosture?.mediaId;
|
|
1289
1298
|
return {
|
|
1290
|
-
text:
|
|
1299
|
+
text: normalizedMarkerText.text,
|
|
1300
|
+
...normalizedMarkerText.posture !== void 0 ? { markerTextPosture: normalizedMarkerText.posture } : {},
|
|
1291
1301
|
level: resolved.effectiveLevel.level,
|
|
1292
1302
|
format: resolved.effectiveLevel.format,
|
|
1293
1303
|
...formatPosture !== void 0 ? { formatPosture } : {},
|
|
@@ -1297,7 +1307,9 @@ function createNumberingPrefixResolver(catalog) {
|
|
|
1297
1307
|
...resolved.effectiveLevel.isLegalNumbering ? { isLegalNumbering: true } : {},
|
|
1298
1308
|
...resolved.geometry.markerRunProperties ? { markerRunProperties: resolved.geometry.markerRunProperties } : {},
|
|
1299
1309
|
geometry: resolved.geometry,
|
|
1300
|
-
...
|
|
1310
|
+
...picBulletId != null ? { picBulletId } : {},
|
|
1311
|
+
...picBulletMediaId != null ? { picBulletMediaId } : {},
|
|
1312
|
+
...pictureBulletPosture !== void 0 ? { pictureBulletPosture } : {}
|
|
1301
1313
|
};
|
|
1302
1314
|
}
|
|
1303
1315
|
return {
|
|
@@ -1313,6 +1325,69 @@ function createNumberingPrefixResolver(catalog) {
|
|
|
1313
1325
|
}
|
|
1314
1326
|
};
|
|
1315
1327
|
}
|
|
1328
|
+
function normalizeMarkerText(text, format, markerRunProperties) {
|
|
1329
|
+
if (text === null || format !== "bullet") {
|
|
1330
|
+
return { text };
|
|
1331
|
+
}
|
|
1332
|
+
const fontFamily = getMarkerFontFamily(markerRunProperties);
|
|
1333
|
+
if (!isKnownSymbolBulletFont(fontFamily)) {
|
|
1334
|
+
return { text };
|
|
1335
|
+
}
|
|
1336
|
+
const renderedText = Array.from(text, (char) => SYMBOL_BULLET_GLYPH_MAP.get(char) ?? char).join("");
|
|
1337
|
+
if (renderedText === text) {
|
|
1338
|
+
return { text };
|
|
1339
|
+
}
|
|
1340
|
+
return {
|
|
1341
|
+
text: renderedText,
|
|
1342
|
+
posture: {
|
|
1343
|
+
status: "normalized",
|
|
1344
|
+
sourceText: text,
|
|
1345
|
+
renderedText,
|
|
1346
|
+
reason: "symbol-font-bullet-normalized",
|
|
1347
|
+
...fontFamily ? { fontFamily } : {}
|
|
1348
|
+
}
|
|
1349
|
+
};
|
|
1350
|
+
}
|
|
1351
|
+
function getMarkerFontFamily(markerRunProperties) {
|
|
1352
|
+
return markerRunProperties?.fontFamilyAscii ?? markerRunProperties?.fontFamilyHAnsi ?? markerRunProperties?.fontFamilyEastAsia ?? markerRunProperties?.fontFamilyCs ?? markerRunProperties?.fontFamily;
|
|
1353
|
+
}
|
|
1354
|
+
function isKnownSymbolBulletFont(fontFamily) {
|
|
1355
|
+
return fontFamily !== void 0 && /^(?:symbol|wingdings|wingdings 2|wingdings 3|webdings)$/iu.test(
|
|
1356
|
+
fontFamily.trim()
|
|
1357
|
+
);
|
|
1358
|
+
}
|
|
1359
|
+
var SYMBOL_BULLET_GLYPH_MAP = /* @__PURE__ */ new Map([
|
|
1360
|
+
["\uF0B7", "\u2022"],
|
|
1361
|
+
["\uF0A7", "\u25AA"],
|
|
1362
|
+
["\uF0FC", "\u2713"]
|
|
1363
|
+
]);
|
|
1364
|
+
function resolvePictureBulletRenderPosture(picBulletId, picBullet) {
|
|
1365
|
+
if (picBulletId == null) return void 0;
|
|
1366
|
+
if (!picBullet) {
|
|
1367
|
+
return {
|
|
1368
|
+
status: "preserve-only",
|
|
1369
|
+
picBulletId,
|
|
1370
|
+
fallbackGlyph: "\u2022",
|
|
1371
|
+
reason: "picture-bullet-catalog-entry-missing"
|
|
1372
|
+
};
|
|
1373
|
+
}
|
|
1374
|
+
if (picBullet.mediaId) {
|
|
1375
|
+
return {
|
|
1376
|
+
status: "media-rendered",
|
|
1377
|
+
picBulletId,
|
|
1378
|
+
mediaId: picBullet.mediaId,
|
|
1379
|
+
...picBullet.sourceRef ? { sourceRef: picBullet.sourceRef } : {},
|
|
1380
|
+
reason: "picture-bullet-media-rendered"
|
|
1381
|
+
};
|
|
1382
|
+
}
|
|
1383
|
+
return {
|
|
1384
|
+
status: "glyph-fallback",
|
|
1385
|
+
picBulletId,
|
|
1386
|
+
fallbackGlyph: "\u2022",
|
|
1387
|
+
...picBullet.sourceRef ? { sourceRef: picBullet.sourceRef } : {},
|
|
1388
|
+
reason: "picture-bullet-media-unavailable"
|
|
1389
|
+
};
|
|
1390
|
+
}
|
|
1316
1391
|
function getSequenceState(states, numberingInstanceId, options = { create: true }) {
|
|
1317
1392
|
const existing = states.get(numberingInstanceId);
|
|
1318
1393
|
if (existing) {
|
|
@@ -1375,7 +1450,7 @@ function getNumberingFormatPosture(format, value) {
|
|
|
1375
1450
|
reason: registryEntry?.fallbackReason ?? "unsupported-numbering-format-decimal-fallback"
|
|
1376
1451
|
};
|
|
1377
1452
|
}
|
|
1378
|
-
if (value !== void 0 && ((format === "upperRoman" || format === "lowerRoman") && (value <= 0 || value >= 4e3) || (format === "cardinalText" || format === "ordinalText") && (!Number.isInteger(value) || value < 1 || value > 999) || (format === "upperLetter" || format === "lowerLetter" || format === "chicago") && value < 1)) {
|
|
1453
|
+
if (value !== void 0 && (registryEntry.isInRange !== void 0 && !registryEntry.isInRange(value) || (format === "upperRoman" || format === "lowerRoman") && (value <= 0 || value >= 4e3) || (format === "cardinalText" || format === "ordinalText") && (!Number.isInteger(value) || value < 1 || value > 999) || (format === "upperLetter" || format === "lowerLetter" || format === "chicago") && value < 1)) {
|
|
1379
1454
|
return {
|
|
1380
1455
|
status: "approximated",
|
|
1381
1456
|
requestedFormat: format,
|
|
@@ -1469,6 +1544,37 @@ var exactNumberingFormatEntries = [
|
|
|
1469
1544
|
supportsMutation: true,
|
|
1470
1545
|
render: toOrdinal2
|
|
1471
1546
|
},
|
|
1547
|
+
{
|
|
1548
|
+
format: "decimalFullWidth",
|
|
1549
|
+
renderSupport: "supported",
|
|
1550
|
+
renderedFormat: "decimalFullWidth",
|
|
1551
|
+
supportsMutation: false,
|
|
1552
|
+
render: toFullWidthDecimal
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
format: "decimalEnclosedCircle",
|
|
1556
|
+
renderSupport: "supported",
|
|
1557
|
+
renderedFormat: "decimalEnclosedCircle",
|
|
1558
|
+
supportsMutation: false,
|
|
1559
|
+
render: toCircledDecimal,
|
|
1560
|
+
isInRange: (value) => Number.isInteger(value) && value >= 0 && value <= 50
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
format: "decimalEnclosedParen",
|
|
1564
|
+
renderSupport: "supported",
|
|
1565
|
+
renderedFormat: "decimalEnclosedParen",
|
|
1566
|
+
supportsMutation: false,
|
|
1567
|
+
render: (value) => Number.isInteger(value) && value > 0 ? `(${value})` : String(value),
|
|
1568
|
+
isInRange: (value) => Number.isInteger(value) && value > 0
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
format: "decimalEnclosedFullstop",
|
|
1572
|
+
renderSupport: "supported",
|
|
1573
|
+
renderedFormat: "decimalEnclosedFullstop",
|
|
1574
|
+
supportsMutation: false,
|
|
1575
|
+
render: (value) => Number.isInteger(value) && value > 0 ? `${value}.` : String(value),
|
|
1576
|
+
isInRange: (value) => Number.isInteger(value) && value > 0
|
|
1577
|
+
},
|
|
1472
1578
|
{
|
|
1473
1579
|
format: "cardinalText",
|
|
1474
1580
|
renderSupport: "supported",
|
|
@@ -1506,10 +1612,6 @@ var exactNumberingFormatEntries = [
|
|
|
1506
1612
|
}
|
|
1507
1613
|
];
|
|
1508
1614
|
var approximatedDecimalFormats = [
|
|
1509
|
-
"decimalEnclosedCircle",
|
|
1510
|
-
"decimalEnclosedFullstop",
|
|
1511
|
-
"decimalEnclosedParen",
|
|
1512
|
-
"decimalFullWidth",
|
|
1513
1615
|
"decimalHalfWidth",
|
|
1514
1616
|
"aiueo",
|
|
1515
1617
|
"iroha",
|
|
@@ -1561,6 +1663,30 @@ function toOrdinal2(value) {
|
|
|
1561
1663
|
return `${value}th`;
|
|
1562
1664
|
}
|
|
1563
1665
|
}
|
|
1666
|
+
function toFullWidthDecimal(value) {
|
|
1667
|
+
return String(value).replace(
|
|
1668
|
+
/[0-9]/g,
|
|
1669
|
+
(digit) => String.fromCharCode(65296 + Number.parseInt(digit, 10))
|
|
1670
|
+
);
|
|
1671
|
+
}
|
|
1672
|
+
var CIRCLED_DECIMAL_BY_VALUE = new Map([
|
|
1673
|
+
[0, "\u24EA"],
|
|
1674
|
+
...Array.from({ length: 20 }, (_, index) => [
|
|
1675
|
+
index + 1,
|
|
1676
|
+
String.fromCodePoint(9312 + index)
|
|
1677
|
+
]),
|
|
1678
|
+
...Array.from({ length: 15 }, (_, index) => [
|
|
1679
|
+
index + 21,
|
|
1680
|
+
String.fromCodePoint(12881 + index)
|
|
1681
|
+
]),
|
|
1682
|
+
...Array.from({ length: 15 }, (_, index) => [
|
|
1683
|
+
index + 36,
|
|
1684
|
+
String.fromCodePoint(12977 + index)
|
|
1685
|
+
])
|
|
1686
|
+
]);
|
|
1687
|
+
function toCircledDecimal(value) {
|
|
1688
|
+
return CIRCLED_DECIMAL_BY_VALUE.get(value) ?? String(value);
|
|
1689
|
+
}
|
|
1564
1690
|
function toAlphabetic2(value) {
|
|
1565
1691
|
if (value <= 0) {
|
|
1566
1692
|
return String(value);
|
|
@@ -2334,6 +2460,7 @@ function toNumberingLayoutInput(numbering) {
|
|
|
2334
2460
|
const hangingTwips = textColumn?.hanging ?? numbering.geometry.indentation?.hanging ?? (typeof numbering.geometry.indentation?.firstLine === "number" && numbering.geometry.indentation.firstLine < 0 ? Math.abs(numbering.geometry.indentation.firstLine) : void 0);
|
|
2335
2461
|
return {
|
|
2336
2462
|
markerText: numbering.text,
|
|
2463
|
+
...numbering.markerTextPosture ? { markerTextPosture: { ...numbering.markerTextPosture } } : {},
|
|
2337
2464
|
...numbering.markerRunProperties ? { markerRunFormatting: numbering.markerRunProperties } : {},
|
|
2338
2465
|
markerSuffix: normalizeNumberingMarkerSuffix(numbering.suffix),
|
|
2339
2466
|
...markerLane ? { markerLaneStartTwips: markerLane.start } : {},
|
|
@@ -2346,7 +2473,9 @@ function toNumberingLayoutInput(numbering) {
|
|
|
2346
2473
|
...numbering.formatPosture !== void 0 ? { formatPosture: { ...numbering.formatPosture } } : {},
|
|
2347
2474
|
startAt: numbering.startAt,
|
|
2348
2475
|
...numbering.isLegalNumbering ? { isLegalNumbering: true } : {},
|
|
2349
|
-
...numbering.
|
|
2476
|
+
...numbering.picBulletId ? { pictureBulletId: numbering.picBulletId } : {},
|
|
2477
|
+
...numbering.picBulletMediaId ? { pictureBulletMediaId: numbering.picBulletMediaId } : {},
|
|
2478
|
+
...numbering.pictureBulletPosture ? { pictureBulletPosture: { ...numbering.pictureBulletPosture } } : {}
|
|
2350
2479
|
};
|
|
2351
2480
|
}
|
|
2352
2481
|
function toFieldLayoutInput(entry, resolved, region) {
|
|
@@ -2858,6 +2987,7 @@ function buildEffectiveNumbering(detail) {
|
|
|
2858
2987
|
const result = {
|
|
2859
2988
|
level: detail.level,
|
|
2860
2989
|
...detail.text !== null ? { marker: detail.text } : {},
|
|
2990
|
+
...detail.markerTextPosture ? { markerTextPosture: { ...detail.markerTextPosture } } : {},
|
|
2861
2991
|
...detail.markerRunProperties ? { markerRunFormatting: detail.markerRunProperties } : {},
|
|
2862
2992
|
...detail.geometry ? {
|
|
2863
2993
|
indentation: {
|
|
@@ -2867,7 +2997,8 @@ function buildEffectiveNumbering(detail) {
|
|
|
2867
2997
|
...detail.geometry.tabStops && detail.geometry.tabStops.length > 0 ? { tab: detail.geometry.tabStops[0].position } : {}
|
|
2868
2998
|
}
|
|
2869
2999
|
} : {},
|
|
2870
|
-
...detail.picBulletMediaId ? { pictureBulletRef: detail.picBulletMediaId } : {}
|
|
3000
|
+
...detail.picBulletMediaId ? { pictureBulletRef: detail.picBulletMediaId } : {},
|
|
3001
|
+
...detail.pictureBulletPosture ? { pictureBulletPosture: { ...detail.pictureBulletPosture } } : {}
|
|
2871
3002
|
};
|
|
2872
3003
|
return result;
|
|
2873
3004
|
}
|
|
@@ -4865,6 +4996,7 @@ function toSurfaceResolvedNumbering(numbering) {
|
|
|
4865
4996
|
format: numbering.format,
|
|
4866
4997
|
...numbering.formatPosture !== void 0 ? { formatPosture: { ...numbering.formatPosture } } : {},
|
|
4867
4998
|
...numbering.text !== null ? { text: numbering.text } : {},
|
|
4999
|
+
...numbering.markerTextPosture !== void 0 ? { markerTextPosture: { ...numbering.markerTextPosture } } : {},
|
|
4868
5000
|
startAt: numbering.startAt,
|
|
4869
5001
|
...numbering.paragraphStyleId ? { paragraphStyleId: numbering.paragraphStyleId } : {},
|
|
4870
5002
|
...numbering.isLegalNumbering ? { isLegalNumbering: true } : {},
|
|
@@ -4877,7 +5009,9 @@ function toSurfaceResolvedNumbering(numbering) {
|
|
|
4877
5009
|
...numbering.geometry.markerLane ? { markerLane: { ...numbering.geometry.markerLane } } : {},
|
|
4878
5010
|
...numbering.geometry.textColumn ? { textColumn: { ...numbering.geometry.textColumn } } : {}
|
|
4879
5011
|
},
|
|
4880
|
-
...numbering.
|
|
5012
|
+
...numbering.picBulletId ? { picBulletId: numbering.picBulletId } : {},
|
|
5013
|
+
...numbering.picBulletMediaId ? { picBulletMediaId: numbering.picBulletMediaId } : {},
|
|
5014
|
+
...numbering.pictureBulletPosture ? { pictureBulletPosture: { ...numbering.pictureBulletPosture } } : {}
|
|
4881
5015
|
};
|
|
4882
5016
|
}
|
|
4883
5017
|
function describePreservedInlinePreview(payloadReference) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextTransactionError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N5FTU4HZ.js";
|
|
4
4
|
import {
|
|
5
5
|
replaceParagraphScope,
|
|
6
6
|
resolveParagraphScope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-C5LXKR54.js";
|
|
8
8
|
import {
|
|
9
9
|
cloneParagraphProperties,
|
|
10
10
|
cloneStoryUnit,
|