@gct-paas/word 1.0.3-beta.0 → 1.0.3-beta.2

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.
Files changed (68) hide show
  1. package/README.md +8 -3
  2. package/dist/browser.js +1 -1
  3. package/dist/chunks/QuickFillPanel-BNZwXlnL.js +336 -0
  4. package/dist/chunks/QuickFillPanel-BNZwXlnL.js.map +1 -0
  5. package/dist/chunks/{browser-OAJIVM8O.js → browser-DkEIriBA.js} +1124 -661
  6. package/dist/chunks/browser-DkEIriBA.js.map +1 -0
  7. package/dist/chunks/{sdk-BmwE5mZn.js → sdk-DaWE1Ttf.js} +242 -63
  8. package/dist/chunks/sdk-DaWE1Ttf.js.map +1 -0
  9. package/dist/chunks/{types-CMkQ6Lvg.js → types-CzOaf1gP.js} +67 -149
  10. package/dist/chunks/types-CzOaf1gP.js.map +1 -0
  11. package/dist/index.js +2 -2
  12. package/dist/style.css +348 -241
  13. package/dist/types/adapters/browser/index.d.ts +1 -0
  14. package/dist/types/adapters/browser/input/CanvasFieldBrackets.d.ts +10 -0
  15. package/dist/types/adapters/browser/input/CanvasTextInput.d.ts +5 -2
  16. package/dist/types/adapters/browser/input/ChoiceFieldInput.d.ts +7 -2
  17. package/dist/types/adapters/browser/input/FieldInputValidation.d.ts +1 -1
  18. package/dist/types/adapters/browser/input/InlineFieldInput.d.ts +1 -1
  19. package/dist/types/adapters/browser/input/business/FieldPopover.d.ts +6 -0
  20. package/dist/types/adapters/browser/input/business/materials/CanvasMaterialTableActions.d.ts +3 -0
  21. package/dist/types/adapters/browser/input/business/materials/attach-canvas-materials.d.ts +3 -1
  22. package/dist/types/adapters/browser/input/business/tables/CanvasBusinessTableActions.d.ts +3 -0
  23. package/dist/types/adapters/browser/input/business/tables/CanvasBusinessTablePanel.d.ts +4 -0
  24. package/dist/types/adapters/browser/input/business/tables/CanvasQuickFillDialog.d.ts +9 -8
  25. package/dist/types/adapters/browser/input/business/tables/attach-canvas-business-table.d.ts +4 -1
  26. package/dist/types/adapters/browser/input/business/tables/quick-fill-panel.d.ts +22 -0
  27. package/dist/types/adapters/browser/input/business/tables/table-action-anchors.d.ts +3 -3
  28. package/dist/types/adapters/browser/input/business/tables/table-action-pages.d.ts +26 -0
  29. package/dist/types/adapters/browser/input/business/tables/table-actions-renderer.d.ts +4 -0
  30. package/dist/types/adapters/browser/input/field-panel-geometry.d.ts +12 -0
  31. package/dist/types/adapters/browser/input/types.d.ts +4 -4
  32. package/dist/types/adapters/browser/input/validation/CanvasValidationComments.d.ts +19 -0
  33. package/dist/types/adapters/browser/input/validation/CanvasValidationPanel.d.ts +11 -7
  34. package/dist/types/adapters/browser/input/validation/validation-issue-key.d.ts +3 -0
  35. package/dist/types/adapters/browser/input/word-error-text.d.ts +4 -0
  36. package/dist/types/adapters/document/types.d.ts +2 -1
  37. package/dist/types/adapters/platform/field-catalog/field-business-rules.d.ts +1 -1
  38. package/dist/types/adapters/platform/reference-policies.d.ts +3 -1
  39. package/dist/types/adapters/platform/template-reference-migration.d.ts +6 -0
  40. package/dist/types/adapters/platform/templates.d.ts +2 -0
  41. package/dist/types/adapters/vue/QuickFillPanel.vue.d.ts +12 -0
  42. package/dist/types/adapters/vue/SignatureFieldPanel.vue.d.ts +0 -1
  43. package/dist/types/adapters/vue/SignatureVisual.vue.d.ts +2 -0
  44. package/dist/types/adapters/vue/index.d.ts +1 -0
  45. package/dist/types/adapters/vue/quick-fill-container.d.ts +2 -0
  46. package/dist/types/adapters/vue/quick-fill-data.d.ts +8 -0
  47. package/dist/types/adapters/vue/quick-fill-merge.d.ts +49 -0
  48. package/dist/types/adapters/vue/quick-fill-panel.d.ts +4 -0
  49. package/dist/types/layout/engine/atoms/field-control.d.ts +2 -0
  50. package/dist/types/layout/engine/atoms/fit-atomic.d.ts +1 -1
  51. package/dist/types/runtime/form/fields/core/declaration-changes.d.ts +2 -2
  52. package/dist/types/runtime/form/validation/NativeFieldValidation.d.ts +2 -0
  53. package/dist/types/runtime/form/validation/description.d.ts +8 -4
  54. package/dist/types/runtime/interaction/EditorController.d.ts +3 -1
  55. package/dist/types/runtime/interaction/browse/types.d.ts +1 -6
  56. package/dist/types/runtime/interaction/design/tables/regions/EditorTableRegions.d.ts +3 -1
  57. package/dist/types/runtime/interaction/field-text.d.ts +5 -5
  58. package/dist/types/runtime/interaction/validation/types.d.ts +2 -0
  59. package/dist/types/shared/text/word-navigation.d.ts +1 -0
  60. package/dist/types/shared/word-shortcuts.d.ts +28 -0
  61. package/dist/vue.js +858 -571
  62. package/dist/vue.js.map +1 -1
  63. package/package.json +2 -1
  64. package/dist/chunks/browser-OAJIVM8O.js.map +0 -1
  65. package/dist/chunks/sdk-BmwE5mZn.js.map +0 -1
  66. package/dist/chunks/types-CMkQ6Lvg.js.map +0 -1
  67. package/dist/types/adapters/browser/input/business/tables/fixed-quick-fill-grid.d.ts +0 -19
  68. package/dist/types/adapters/browser/input/validation/CanvasValidationMarks.d.ts +0 -15
@@ -1,4 +1,4 @@
1
- import { $ as positionX, $t as isCommonField, A as selectionFallbacks, An as formatTsv, At as isReferenceScanField, B as fieldBehaviorDefault, Bn as assertLayoutTextMeasureRequest, Bt as authenticatedSignature, Cn as isClosedDataContainer, Ct as normalizeReferenceValue, Dn as isUninitializedDataValue, Dt as referenceIds, E as snapshotFieldDragDefinition, En as isRequiredDataValueMissing, Et as referenceContext, F as editingAllowed, Fn as snapshotLayoutVersion, Ft as isMaterialLotBinding, G as sameBusinessField, Gt as resourceContext, H as resolveBooleanOptionLabel, Ht as signatureValues, In as layoutImageSourceKey, It as isNamedLotBinding, J as resolveFieldTarget, K as afterFieldSettlement, Kt as resourceLimits, L as designRegionTypes, Ln as LayoutContractError, Lt as lotReference, M as assertAdaptiveImageCellWritable, Mn as tsvClipboardLimits, Mt as referenceScanUpdates, N as hasAdaptiveImageCell, Nn as sameLayoutIdentity, Nt as nativeObjectKey, O as freezeSelection, On as readDataValueInput, Ot as referenceOptions, P as assertOwnedEditingAllowed, Pn as sameLayoutVersion, Pt as nativeObjectRootField, Q as hitPosition, Qt as fieldBehavior, R as designRegionVariants, Rn as assertFiniteLayoutNumber, Rt as nativeSelectedReferenceValue, S as EditorObjects, Sn as dataValueState, St as parseSealValue, T as resolveFieldDrop, Tt as referenceBehavior, U as systemDate, Ut as normalizeResourceValue, V as fieldBehaviorLabel, Vn as assertLayoutTextMeasurement, Vt as signatureText, W as readBusinessField, Wt as resourceBehavior, X as TextFlow, Xt as validateResourceFiles, Y as writeFieldValue, Yt as resourceValues, Z as TextFlowError, Zt as commonFieldDeclaration, _ as readFieldOptionInput, _n as assertValidDataValue, _t as authenticatedSeal, a as writeGuardedFieldText, an as encodeDataFieldValue, at as positionSourceId, b as toggledFieldOptionIds, bn as invalidDataNumberText, bt as sealStampKeys, c as fieldNumberSettings, cn as readDataBoolean, ct as sameTextSource, d as isIncompleteFieldNumber, en as isFieldTextInput, et as rectDistance, f as validateFieldNumber, fn as resolveDataDefaultFrom, g as readFieldChoiceInput, gn as DataValueError, gt as pointsToLayoutPx, hn as shouldInitializeDataValue, ht as millimetersToLayoutPx, i as validateFieldTextDraft, in as encodeDataChoice, it as signatureGraphicUrl, j as adaptiveImageCellMessage, jn as parseTsv, jt as referenceScanPaths, k as mapSelection, kt as referenceValueIds, l as fieldNumberText, ln as encodeDataCollection, lt as textSourceId, m as readFieldSignatureInput, mn as resolveDataValueUpdate, n as readFieldTextInput, nn as assertDataNumberPrecision, nt as visualAffinity, o as fieldValidationDescription, on as normalizeDataBoolean, ot as sameDomain, p as assertFieldSignatureInput, pn as resolveDataDisplay, pt as layoutPxToMillimeters, q as readFieldTarget, qt as resourceName, r as sameFieldTextInput, rn as dataParameterNumberKind, rt as signatureGraphic, s as FieldNumberError, sn as normalizeDataParameterNumber, st as samePosition, t as nativeTableRowBatchLimit, tn as nativeFieldBehavior, tt as sourceBoundaryIndex, u as fieldNumberValue, un as emptyDataValue, vn as dataValueIssuesFromError, vt as nativeSealText, w as designFieldDefaults, wn as isEmptyDataValue, wt as recordReference, x as writeGuardedFieldChoice, xt as isSealPosition, yn as findInvalidDataNumbers, yt as nativeSealValueKind, z as choiceSelection, zn as assertLayoutSize, zt as referenceInputIdentity } from "./types-CMkQ6Lvg.js";
1
+ import { $ as TextFlow, $t as isFieldTextInput, An as parseTsv, At as referenceOptions, B as designRegionTypes, Bn as assertLayoutTextMeasurement, Bt as nativeSelectedReferenceValue, C as toggledFieldOptionIds, Cn as isEmptyDataValue, Ct as isSealPosition, D as designFieldDefaults, Dn as readDataValueInput, Dt as referenceBehavior, En as isUninitializedDataValue, Et as recordReference, F as assertAdaptiveImageCellWritable, Fn as layoutImageSourceKey, Ft as nativeObjectKey, G as resolveBooleanOptionLabel, Gt as resourceLimits, H as choiceSelection, Ht as normalizeResourceValue, I as hasAdaptiveImageCell, In as LayoutContractError, It as nativeObjectRootField, J as sameBusinessField, Jt as resourceValues, K as systemDate, Kt as resourceName, L as assertOwnedEditingAllowed, Ln as assertFiniteLayoutNumber, Lt as isMaterialLotBinding, M as mapSelection, Mn as sameLayoutIdentity, Mt as isReferenceScanField, N as selectionFallbacks, Nn as sameLayoutVersion, Nt as referenceScanPaths, O as resolveFieldDrop, Ot as referenceContext, P as adaptiveImageCellMessage, Pn as snapshotLayoutVersion, Pt as referenceScanUpdates, Q as writeFieldValue, Qt as isCommonField, R as editingAllowed, Rn as assertLayoutSize, Rt as isNamedLotBinding, Sn as isClosedDataContainer, St as sealStampKeys, T as EditorObjects, Tn as isRequiredDataValueMissing, Tt as normalizeReferenceValue, U as fieldBehaviorDefault, Ut as resourceBehavior, V as designRegionVariants, Vt as referenceInputIdentity, W as fieldBehaviorLabel, Wt as resourceContext, X as readFieldTarget, Xt as commonFieldDeclaration, Y as afterFieldSettlement, Yt as validateResourceFiles, Z as resolveFieldTarget, Zt as fieldBehavior, _ as signatureText, _n as dataValueIssuesFromError, _t as millimetersToLayoutPx, a as writeGuardedFieldText, an as normalizeDataBoolean, at as sourceBoundaryIndex, b as readFieldOptionInput, bt as nativeSealText, c as fieldNumberSettings, cn as encodeDataCollection, ct as sameDomain, d as isIncompleteFieldNumber, dn as resolveDataDefaultFrom, dt as textSourceId, en as nativeFieldBehavior, et as TextFlowError, f as validateFieldNumber, fn as resolveDataDisplay, g as authenticatedSignature, gn as assertValidDataValue, hn as DataValueError, ht as layoutPxToMillimeters, i as validateFieldTextDraft, in as encodeDataFieldValue, it as rectDistance, j as freezeSelection, jn as tsvClipboardLimits, jt as referenceValueIds, k as snapshotFieldDragDefinition, kn as formatTsv, kt as referenceIds, l as fieldNumberText, ln as emptyDataValue, lt as samePosition, m as readFieldSignatureInput, mn as shouldInitializeDataValue, n as readFieldTextInput, nn as dataParameterNumberKind, nt as hitPosition, o as fieldValidationDescription, on as normalizeDataParameterNumber, ot as visualAffinity, p as assertFieldSignatureInput, pn as resolveDataValueUpdate, q as readBusinessField, r as sameFieldTextInput, rn as encodeDataChoice, rt as positionX, s as FieldNumberError, sn as readDataBoolean, st as positionSourceId, t as nativeTableRowBatchLimit, tn as assertDataNumberPrecision, u as fieldNumberValue, ut as sameTextSource, v as signatureValues, vn as findInvalidDataNumbers, vt as pointsToLayoutPx, w as writeGuardedFieldChoice, wt as parseSealValue, xn as dataValueState, xt as nativeSealValueKind, y as readFieldChoiceInput, yn as invalidDataNumberText, yt as authenticatedSeal, zn as assertLayoutTextMeasureRequest, zt as lotReference } from "./types-CzOaf1gP.js";
2
2
  import { a as contentBlockLeaves, s as contentLeaves, u as createUuid } from "./change-set-DgfKTJ6d.js";
3
3
  import { t as waitForAbortable } from "./abortable-D4G3Ib7H.js";
4
4
  import { _ as equalData, d as repeatingTableSettings, f as repeatingTableVariants, g as copyInputData, m as cloneJsonData, v as freezeData } from "./validation-DkCy8wHI.js";
@@ -7,7 +7,6 @@ import { n as commonFieldWidgets, o as readFieldBinding, t as NodeFactory } from
7
7
  import { n as tableBorderWidthsPx, t as defaultTableBorderColor } from "./table-borders-B9bZMj5o.js";
8
8
  import { groupBy, maxBy, sortBy, uniq } from "es-toolkit/array";
9
9
  import { isEqual, isPlainObject } from "es-toolkit/predicate";
10
- import dayjs from "dayjs";
11
10
  import { cloneDeep, escapeRegExp, groupBy as groupBy$1, isEqual as isEqual$1, isPlainObject as isPlainObject$1, isPromise, omit, sortBy as sortBy$1, uniq as uniq$1 } from "es-toolkit";
12
11
  import BigNumber from "bignumber.js";
13
12
  import { cloneDeep as cloneDeep$1, omit as omit$1, pick } from "es-toolkit/object";
@@ -17,6 +16,7 @@ import { sum, sumBy } from "es-toolkit/math";
17
16
  import sortedLastIndex from "es-toolkit/compat/sortedLastIndex";
18
17
  import sortedIndexBy from "es-toolkit/compat/sortedIndexBy";
19
18
  import { escapeRegExp as escapeRegExp$1 } from "es-toolkit/string";
19
+ import dayjs from "dayjs";
20
20
  import get from "es-toolkit/compat/get";
21
21
  import set from "es-toolkit/compat/set";
22
22
  import toPath from "es-toolkit/compat/toPath";
@@ -32,18 +32,9 @@ function mediaPreview(options, snapshot, fieldId, instanceKey) {
32
32
  ].includes(mode)) return;
33
33
  const target = form.presentation.fields.target(fieldId, instance), field = fieldBehavior(target.declaration);
34
34
  if (!target.valuePath || !target.state.visible || mode === "fill" && target.state.editable) return;
35
- if (![
36
- "image",
37
- "file",
38
- "signature"
39
- ].includes(field.widget)) return;
35
+ if (field.widget !== "image" && field.widget !== "file") return;
40
36
  try {
41
- const entries = field.widget === "signature" ? signatureValues(target.value).map((record) => ({
42
- reference: record.url ?? "",
43
- name: record.username || "签名",
44
- signatureDate: record.time !== void 0 && dayjs(record.time).isValid() ? dayjs(record.time).format("YYYY-MM-DD") : "",
45
- url: record.url ? form.services.fields.signatureUrl(fieldId, target.valuePath, record.url) : void 0
46
- })) : resourceValues(target.value).map((reference) => ({
37
+ const entries = resourceValues(target.value).map((reference) => ({
47
38
  reference,
48
39
  name: resourceName(reference),
49
40
  url: form.services.fields.resourceUrl(fieldId, target.valuePath, reference)
@@ -51,12 +42,7 @@ function mediaPreview(options, snapshot, fieldId, instanceKey) {
51
42
  return entries.length ? Object.freeze({
52
43
  kind: field.widget,
53
44
  label: field.config?.label ?? target.declaration.binding.source.fieldLink,
54
- entries: Object.freeze(entries),
55
- ...field.widget === "signature" ? { signature: {
56
- ...target.declaration.field.preferredSizePx,
57
- vertical: field.config?.imageDirection === "vertical",
58
- fallback: field.config?.fallback ?? "name"
59
- } } : {}
45
+ entries: Object.freeze(entries)
60
46
  }) : void 0;
61
47
  } catch {
62
48
  return;
@@ -1038,6 +1024,101 @@ function measureSeal(presentation, measurer, assets) {
1038
1024
  }
1039
1025
  };
1040
1026
  }
1027
+ // src/shared/signature-graphic.ts
1028
+ /** 与旧版 68b981c 的姓名字号、两行拆分、8px 留白和日期栏保持一致。 */
1029
+ function signatureGraphic(name, date, appearance, measure) {
1030
+ const fontSize = Array.from(name).length >= 6 ? 16 : 26;
1031
+ const height = appearance.vertical ? appearance.width ?? 120 : appearance.height ?? 68;
1032
+ const texts = [];
1033
+ const add = (text, x, y, size, weight, max = Infinity) => {
1034
+ const naturalWidth = measure(text, size, weight);
1035
+ texts.push({
1036
+ text,
1037
+ x,
1038
+ y,
1039
+ fontSize: size,
1040
+ fontWeight: weight,
1041
+ naturalWidth,
1042
+ width: Math.min(max, naturalWidth)
1043
+ });
1044
+ };
1045
+ if (appearance.vertical) {
1046
+ const width = appearance.height ?? 68;
1047
+ const characters = Array.from(name), rowHeight = fontSize * 1.15;
1048
+ const rows = Math.max(1, Math.floor(height * .84 / rowHeight));
1049
+ const columns = Math.max(1, Math.ceil(characters.length / rows));
1050
+ const columnWidth = Math.min(fontSize * 1.15, width * .8 / columns);
1051
+ const left = (width - columns * columnWidth) / 2;
1052
+ for (let column = 0; column < columns; column++) {
1053
+ const charactersInColumn = characters.slice(column * rows, (column + 1) * rows);
1054
+ const top = (height - charactersInColumn.length * rowHeight) / 2;
1055
+ for (const [row, character] of charactersInColumn.entries()) {
1056
+ const actualWidth = Math.min(columnWidth, measure(character, fontSize, 600));
1057
+ add(character, left + (columns - column - .5) * columnWidth - actualWidth / 2, top + (row + .5) * rowHeight, fontSize, 600, columnWidth);
1058
+ }
1059
+ }
1060
+ return {
1061
+ width,
1062
+ height,
1063
+ texts
1064
+ };
1065
+ }
1066
+ const nameWidth = (text) => measure(text, fontSize, 600);
1067
+ const ellipsis = (text, max, size, weight) => {
1068
+ if (measure(text, size, weight) <= max) return text;
1069
+ let result = "";
1070
+ for (const character of Array.from(text)) {
1071
+ if (measure(result + character + "…", size, weight) > max) break;
1072
+ result += character;
1073
+ }
1074
+ return result + "…";
1075
+ };
1076
+ let lines, metaLines = [];
1077
+ if (appearance.fallback === "name-and-date") {
1078
+ const max = fontSize === 16 ? Math.min(nameWidth(name), 120) : nameWidth(name);
1079
+ const remaining = Array.from(name);
1080
+ lines = [];
1081
+ for (let index = 0; index < 2 && remaining.length; index++) {
1082
+ let line = "";
1083
+ while (remaining.length && nameWidth(line + remaining[0]) <= max) line += remaining.shift();
1084
+ if (!line) line = remaining.shift();
1085
+ if (index === 1 && remaining.length) line = ellipsis(line + remaining.join(""), max, fontSize, 600);
1086
+ lines.push(line);
1087
+ }
1088
+ metaLines = [`电子签名:${name}`, ...date ? [`日期:${date}`] : []];
1089
+ } else {
1090
+ const characters = Array.from(name);
1091
+ let split = Math.ceil(characters.length / 2);
1092
+ while (split > 1 && nameWidth(characters.slice(0, split).join("")) > 344) split--;
1093
+ lines = characters.length < 6 ? [name] : [characters.slice(0, split).join(""), ellipsis(characters.slice(split).join(""), 344, fontSize, 600)];
1094
+ }
1095
+ const nameMax = Math.max(0, ...lines.map(nameWidth));
1096
+ const metaNatural = Math.max(0, ...metaLines.map((line) => measure(line, 12, 400)));
1097
+ const metaMax = Math.min(360, Math.ceil(16 + nameMax + 8 + metaNatural)) - 16 - nameMax - 8;
1098
+ metaLines = metaLines.map((line) => ellipsis(line, metaMax, 12, 400));
1099
+ const metaWidth = Math.max(0, ...metaLines.map((line) => measure(line, 12, 400)));
1100
+ const width = Math.min(360, Math.ceil(16 + nameMax + (metaLines.length ? 8 + metaWidth : 0)));
1101
+ const nameLineHeight = fontSize * 1.2;
1102
+ lines.forEach((line, index) => add(line, 8, (height - lines.length * nameLineHeight) / 2 + (index + .5) * nameLineHeight, fontSize, 600));
1103
+ metaLines.forEach((line, index) => add(line, 8 + nameMax + 8, (height - metaLines.length * 16.2) / 2 + (index + .5) * 16.2, 12, 400));
1104
+ return {
1105
+ width,
1106
+ height,
1107
+ texts
1108
+ };
1109
+ }
1110
+ /** 被动 SVG 来源可供预览和第三方消费者使用;正式画布直接绘制同一份几何。 */
1111
+ function signatureGraphicUrl(graphic) {
1112
+ const escape = (value) => value.replace(/[&<>"']/g, (character) => ({
1113
+ "&": "&amp;",
1114
+ "<": "&lt;",
1115
+ ">": "&gt;",
1116
+ "\"": "&quot;",
1117
+ "'": "&apos;"
1118
+ })[character]);
1119
+ const texts = graphic.texts.map((text) => `<text x="${text.x}" y="${text.y}" font-size="${text.fontSize}" font-weight="${text.fontWeight}"${text.width < text.naturalWidth ? ` textLength="${text.width}" lengthAdjust="spacingAndGlyphs"` : ""}>${escape(text.text)}</text>`).join("");
1120
+ return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" width="${graphic.width}" height="${graphic.height}" viewBox="0 0 ${graphic.width} ${graphic.height}"><rect width="100%" height="100%" fill="white"/><g fill="black" font-family="Arial, sans-serif" dominant-baseline="central">${texts}</g></svg>`)}`;
1121
+ }
1041
1122
  // src/layout/engine/atoms/signatures.ts
1042
1123
  /** @file 签名沿旧版图片尺寸及日期几何排版;内部姓名图形仍由新绘制协议承载。 */
1043
1124
  /** 多人签名按整张图与跟随日期共同换行、分页,不把姓名降级成普通字段文字。 */
@@ -1095,8 +1176,7 @@ function measureSignatures(presentation, availableWidth, measurer, assets) {
1095
1176
  const timeHeight = item.timeText ? metrics.ascent + metrics.descent : 0;
1096
1177
  const beside = gallery.timePlacement === "inline" && !!item.timeText;
1097
1178
  const gap = item.timeText ? 2 : 0;
1098
- const scale = Math.min(1, Math.max(1, inner - (beside ? timeWidth + gap : 0)) / naturalWidth);
1099
- const primaryWidth = naturalWidth * scale, primaryHeight = naturalHeight * scale;
1179
+ const primaryWidth = naturalWidth, primaryHeight = naturalHeight;
1100
1180
  const itemWidth = beside ? primaryWidth + gap + timeWidth : Math.max(primaryWidth, timeWidth);
1101
1181
  const itemHeight = beside ? Math.max(primaryHeight, timeHeight) : primaryHeight + gap + timeHeight;
1102
1182
  if (x && x + itemWidth > inner) {
@@ -1150,6 +1230,7 @@ function measureSignatures(presentation, availableWidth, measurer, assets) {
1150
1230
  finishRow();
1151
1231
  const height = y + rowHeight;
1152
1232
  return {
1233
+ preserveImageSize: true,
1153
1234
  rowFlow,
1154
1235
  width: Math.max(1, usedWidth),
1155
1236
  height,
@@ -1659,6 +1740,7 @@ function prepareParagraph(paragraph, model, defaults, fields) {
1659
1740
  const spans = [];
1660
1741
  const parts = [];
1661
1742
  const pendingFeatures = /* @__PURE__ */ new Set();
1743
+ const joinedBoundaries = /* @__PURE__ */ new Set();
1662
1744
  let length = 0;
1663
1745
  /** 打印字段留白仍是段落空间,不能混入文字源偏移或整组底色。 */
1664
1746
  function appendFieldGap(nodeId, widthPx, side) {
@@ -1734,6 +1816,7 @@ function prepareParagraph(paragraph, model, defaults, fields) {
1734
1816
  appendFieldGap(nodeId, after, "after");
1735
1817
  return;
1736
1818
  }
1819
+ if (pad) joinedBoundaries.add(length);
1737
1820
  spans.push({
1738
1821
  kind: "control",
1739
1822
  start: length,
@@ -1745,6 +1828,7 @@ function prepareParagraph(paragraph, model, defaults, fields) {
1745
1828
  });
1746
1829
  parts.push("");
1747
1830
  length++;
1831
+ if (after) joinedBoundaries.add(length);
1748
1832
  appendFieldGap(nodeId, after, "after");
1749
1833
  }
1750
1834
  const native = [];
@@ -2008,7 +2092,7 @@ function prepareParagraph(paragraph, model, defaults, fields) {
2008
2092
  const opportunities = /* @__PURE__ */ new Set();
2009
2093
  for (const item of graphemes.segment(text)) {
2010
2094
  const end = item.index + item.segment.length;
2011
- boundaries.push(end);
2095
+ if (!joinedBoundaries.has(end)) boundaries.push(end);
2012
2096
  if (/\s|[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(item.segment)) opportunities.add(end);
2013
2097
  }
2014
2098
  for (const item of words.segment(text)) opportunities.add(item.index + item.segment.length);
@@ -4465,6 +4549,7 @@ function sliceControl(control, from, to) {
4465
4549
  if (!from && to === controlFlowCount(control)) return control;
4466
4550
  const start = controlFlowOffset(control, from), end = controlFlowOffset(control, to, "end"), height = end - start, first = control.rowFlow?.[from - 1], last = control.rowFlow?.[to - 1];
4467
4551
  return {
4552
+ ...control.preserveImageSize ? { preserveImageSize: true } : {},
4468
4553
  width: control.width,
4469
4554
  height,
4470
4555
  baseline: Math.min(height, control.baseline),
@@ -4522,9 +4607,9 @@ function sliceControl(control, from, to) {
4522
4607
  }
4523
4608
  // src/layout/engine/atoms/fit-atomic.ts
4524
4609
  /** @file 完整可用页中的原子图形适配,保留来源、文字字号及条码模块比例。 */
4525
- /** 印章直径有实际业务含义,不按普通附件图片缩放。 */
4610
+ /** 印章及声明保留尺寸的图形不按普通附件图片缩放。 */
4526
4611
  function canFitAtomic(piece) {
4527
- return piece.kind === "image" || piece.kind === "pageWidget" && piece.widget.content.kind === "code" || piece.kind === "control" && !piece.control.layout.seal && !!piece.control.layout.images?.length;
4612
+ return piece.kind === "image" || piece.kind === "pageWidget" && piece.widget.content.kind === "code" || piece.kind === "control" && !piece.control.layout.seal && !piece.control.preserveImageSize && !!piece.control.layout.images?.length;
4528
4613
  }
4529
4614
  /** 图片排压缩后文字和标记的实际占位,不在二分试算中复制数组。 */
4530
4615
  function graphicEnvelope(control, paint, context) {
@@ -12974,11 +13059,19 @@ var EditorTableRegions = class {
12974
13059
  if (expected.selection.tableId !== table.selection.tableId || expected.selection.instanceKey !== table.selection.instanceKey) throw new TextFlowError("区域范围不能跨表或发生");
12975
13060
  return this.update(expected, { set: { range: table.range } });
12976
13061
  }
12977
- /** 只删除区域声明;依赖默认拒绝,明确 remove 才级联,格内容始终由原生表格拥有。 */
13062
+ /** 删除业务/数据表或分组时联删其字段;独立删除表头只移除声明,普通格内容保留。 */
12978
13063
  remove(expected, options = {}) {
12979
- this.require(expected);
13064
+ const region = this.require(expected);
13065
+ const fields = dataRegionTypes.has(region.type) || region.type === "bounded-item" || region.type === "data-group-2d" ? this.removalFields(expected, options.dependents === "remove") : [];
13066
+ const model = this.context.handle().readModel();
13067
+ for (const id of fields) assertOwnedEditingAllowed(model, id, "removable");
13068
+ const { removeUnusedBindings, removeUnusedAssets } = options;
12980
13069
  return this.context.execute("删除表格区域", (editor) => {
12981
13070
  editor.tables.removeRegion(expected.regionId, options);
13071
+ for (const id of fields) editor.removeField(id, {
13072
+ removeUnusedBindings,
13073
+ removeUnusedAssets
13074
+ });
12982
13075
  });
12983
13076
  }
12984
13077
  /** 高亮当前区域的实际范围,不分配模型身份或历史。 */
@@ -12995,6 +13088,27 @@ var EditorTableRegions = class {
12995
13088
  dispose() {
12996
13089
  this.context = void 0;
12997
13090
  }
13091
+ /** 按物理格收集主体及级联分组/表头的字段根;附属子树随所属字段一次删除。 */
13092
+ removalFields(expected, cascade) {
13093
+ const { query } = this.context.handle().readModel();
13094
+ const table = query.getEntity(expected.selection.tableId, "table");
13095
+ const regions = /* @__PURE__ */ new Set([expected.regionId]);
13096
+ if (cascade) {
13097
+ for (const id of regions) for (const region of table.regions) if (region.parentRegionId === id || region.targetRegionId === id) regions.add(region.id);
13098
+ }
13099
+ const cells = /* @__PURE__ */ new Set();
13100
+ for (const id of regions) {
13101
+ const { top, bottom, left, right } = query.getRegionInfo(id).rectangle;
13102
+ for (let row = top; row <= bottom; row++) for (let column = left; column <= right; column++) cells.add(table.rows[row].cells[column].id);
13103
+ }
13104
+ const fields = [];
13105
+ const visit = (blocks) => {
13106
+ for (const block of blocks) if (block.kind === "table") for (const row of block.rows) for (const cell of row.cells) visit(cell.blocks);
13107
+ else for (const node of block.content) if (node.kind === "field") fields.push(node.id);
13108
+ };
13109
+ for (const id of cells) visit(query.getEntity(id, "cell").blocks);
13110
+ return fields;
13111
+ }
12998
13112
  /** 读取只检查打开及模型版本;不会为只读查看要求可写权限。 */
12999
13113
  readTarget(expected) {
13000
13114
  const context = this.context;
@@ -14289,7 +14403,7 @@ function validationPlacements(handle, snapshot, fields, issues) {
14289
14403
  }
14290
14404
  const field = model.getEntity(fieldId, "field");
14291
14405
  if (field?.widget !== "seal" || handle.readModel().document.bindings[field.bindingId]?.pathTemplate !== issue.valuePath) continue;
14292
- const overlay = model.getAncestors(fieldId).find((node) => "kind" in node && node.kind === "overlay");
14406
+ const overlay = model.getAncestors(fieldId).find((node) => node.kind === "overlay");
14293
14407
  if (overlay) result.set(issue, query.findBySource({ nodeId: overlay.id }).filter((item) => item.kind === "overlay").flatMap((item) => placement(item)));
14294
14408
  }
14295
14409
  }
@@ -14500,7 +14614,7 @@ var EditorController = class {
14500
14614
  this.desiredX = void 0;
14501
14615
  this.setSelection(selected);
14502
14616
  }
14503
- /** 查询相邻可填写字段;规则准备期间由浏览器等待,文档边界交还原生 Tab。 */
14617
+ /** 查询相邻可填写字段;规则准备期间由浏览器等待,文档边界返回 undefined。 */
14504
14618
  getFieldTabStop(direction) {
14505
14619
  const options = this.requireOptions(), form = options.form;
14506
14620
  if (!form || options.environment().mode !== "fill" || this.state.composition) return;
@@ -15224,6 +15338,10 @@ var EditorController = class {
15224
15338
  }
15225
15339
  /** 数值输入中的短期校验复用正式字段规则,取消不影响已提交值或提交门禁。 */
15226
15340
  validateFieldText(text, expected, signal) {
15341
+ return this.validateFieldTextMessages(text, expected, signal).then((messages) => messages?.join(";"));
15342
+ }
15343
+ /** 列表展示复用同一草稿校验,保留每条规则的文案边界。 */
15344
+ validateFieldTextMessages(text, expected, signal) {
15227
15345
  const options = this.requireOptions();
15228
15346
  return validateFieldTextDraft(this.requireHandle(), options, () => this.options === options ? this.state.selection : null, expected, text, signal);
15229
15347
  }
@@ -18961,6 +19079,45 @@ var DataManager = class {
18961
19079
  }
18962
19080
  };
18963
19081
  // src/runtime/form/fields/core/declaration-changes.ts
19082
+ /** @file 判断原生事务是否改变数据声明,普通文字和绘制样式不重建规则或重跑请求。 */
19083
+ /** 只影响绘制或输入提示;默认值、权限、校验、选项标签及未知配置仍重建业务规则。 */
19084
+ var appearanceKeys = /* @__PURE__ */ new Set([
19085
+ "viewState",
19086
+ "showMode",
19087
+ "placeholder",
19088
+ "designPlaceholder",
19089
+ "emptySymbol",
19090
+ "keepExceptionHighlight"
19091
+ ]);
19092
+ var presentationKeys = /* @__PURE__ */ new Set([
19093
+ "renderAs",
19094
+ "direction",
19095
+ "labelPosition",
19096
+ "iconLabelSpacePx",
19097
+ "optionSpacingPx"
19098
+ ]);
19099
+ function configObject(value) {
19100
+ return value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
19101
+ }
19102
+ /** 只比较事务携带的局部前后值;不扫描文档,也不把 null/false/缺省合并。 */
19103
+ function sameDataConfig(before, after, visualKeys) {
19104
+ return [.../* @__PURE__ */ new Set([...Object.keys(before), ...Object.keys(after)])].every((key) => {
19105
+ if (visualKeys.has(key)) return true;
19106
+ if (key === "presentation" && visualKeys === appearanceKeys) {
19107
+ const left = before[key] === void 0 ? {} : configObject(before[key]);
19108
+ const right = after[key] === void 0 ? {} : configObject(after[key]);
19109
+ if (left && right) return sameDataConfig(left, right, presentationKeys);
19110
+ }
19111
+ return Object.hasOwn(before, key) === Object.hasOwn(after, key) && isEqual(before[key], after[key]);
19112
+ });
19113
+ }
19114
+ function appearanceOnly(operation, query) {
19115
+ const field = query?.getEntity(operation.nodeId, "field");
19116
+ if (!field || !commonFieldWidgets.some((widget) => widget === field.widget)) return false;
19117
+ const before = operation.before.present ? configObject(operation.before.value) : {};
19118
+ const after = operation.after.present ? configObject(operation.after.value) : {};
19119
+ return !!before && !!after && sameDataConfig(before, after, appearanceKeys);
19120
+ }
18964
19121
  /** 检查结构日志中的局部子树,不读取或复制整份文档。 */
18965
19122
  function containsDataDeclaration(value) {
18966
19123
  if (!value || typeof value !== "object") return false;
@@ -18971,30 +19128,32 @@ function containsDataDeclaration(value) {
18971
19128
  return Object.values(object).some(containsDataDeclaration);
18972
19129
  }
18973
19130
  /** 绑定、业务配置和表格结构需要刷新,文字及绘制属性沿用当前数据规则。 */
18974
- function affectsNativeDataDeclarations(change) {
19131
+ function affectsNativeDataDeclarations(change, query) {
18975
19132
  return change.operations.some((operation) => {
18976
19133
  switch (operation.kind) {
18977
19134
  case "text": return false;
18978
19135
  case "dictionary": return operation.dictionary === "bindings";
18979
19136
  case "business": return true;
18980
- case "set": return [
18981
- "bindingId",
18982
- "binding",
18983
- "widget",
18984
- "config",
18985
- "configVersion",
18986
- "variant",
18987
- "policy",
18988
- "type",
18989
- "range",
18990
- "parentRegionId",
18991
- "targetRegionId",
18992
- "when",
18993
- "headerSlots",
18994
- "footerSlots",
18995
- "page",
18996
- "settings"
18997
- ].includes(operation.key);
19137
+ case "set":
19138
+ if (operation.key === "config" && appearanceOnly(operation, query)) return false;
19139
+ return [
19140
+ "bindingId",
19141
+ "binding",
19142
+ "widget",
19143
+ "config",
19144
+ "configVersion",
19145
+ "variant",
19146
+ "policy",
19147
+ "type",
19148
+ "range",
19149
+ "parentRegionId",
19150
+ "targetRegionId",
19151
+ "when",
19152
+ "headerSlots",
19153
+ "footerSlots",
19154
+ "page",
19155
+ "settings"
19156
+ ].includes(operation.key);
18998
19157
  case "splice": {
18999
19158
  const payload = operation;
19000
19159
  return [
@@ -19292,7 +19451,7 @@ var NativeDataQuery = class {
19292
19451
  this.matrixTables.clear();
19293
19452
  this.matrixDesignSlots.clear();
19294
19453
  this.matrixSources.clear();
19295
- if (affectsNativeDataDeclarations(change)) this.policies = void 0;
19454
+ if (affectsNativeDataDeclarations(change, handle.readModel().query)) this.policies = void 0;
19296
19455
  });
19297
19456
  }
19298
19457
  /** 枚举静态字段,覆盖正文、共享部件、浮层和附属内容;不等同于当前可见实例。 */
@@ -20094,12 +20253,18 @@ function buildFieldEnrichers(query, data) {
20094
20253
  if (!isEmptyDataValue(change.newValue) || !isEqual$1(data.get(change.path), change.newValue)) return;
20095
20254
  const updates = companionUpdates(data, { [change.path]: change.newValue }, query);
20096
20255
  delete updates[change.path];
20256
+ const labelPath = data.getLabelPath(change.path);
20257
+ if (change.source === "hydrate" && isEqual$1(change.oldValue, change.newValue) && data.getStoredValue(labelPath) === null && Object.hasOwn(updates, labelPath) && updates[labelPath] === void 0 && query.valueBindings(change.path).some(({ fields }) => fields.some(({ field }) => (field.widget === "checkbox" || field.widget === "choice") && query.fieldTargets(field.id, {
20258
+ readValue: (path) => data.get(path),
20259
+ readAxis: (path) => data.getStoredValue(path),
20260
+ valuePath: change.path
20261
+ }).paths.length > 0))) delete updates[labelPath];
20097
20262
  return updates;
20098
20263
  }
20099
20264
  }, ...query.structuralFields().filter(({ field }) => field.widget === "choice" || field.widget === "checkbox").map((declaration) => ({
20100
20265
  id: `field-label:${declaration.field.id}`,
20101
20266
  /** 按实际路径约束坐标,不为每次单字段补全重新展开整轴。 */
20102
- matches: (path) => query.fieldTargets(declaration.field.id, {
20267
+ matches: (path) => (declaration.binding.pathTemplate.includes("[n") || declaration.binding.pathTemplate === path) && query.fieldTargets(declaration.field.id, {
20103
20268
  readValue: (key) => data.get(key),
20104
20269
  readAxis: (key) => data.getStoredValue(key),
20105
20270
  valuePath: path
@@ -20361,7 +20526,7 @@ var NativeDataRuntime = class {
20361
20526
  else if (!state.preparing) watchSettlement(reference, state);
20362
20527
  }));
20363
20528
  state.cleanups.push(state.handle.subscribeModel((change) => {
20364
- if (active(reference, state) && affectsNativeDataDeclarations(change)) refresh(reference, state);
20529
+ if (active(reference, state) && affectsNativeDataDeclarations(change, state.handle.readModel().query)) refresh(reference, state);
20365
20530
  }));
20366
20531
  state.cleanups.push(state.handle.subscribeChanges((change) => {
20367
20532
  if (active(reference, state) && change.kind === "environment" && change.reason === "mode") refresh(reference, state);
@@ -22440,7 +22605,7 @@ var NativeFieldFills = class {
22440
22605
  }));
22441
22606
  this.cleanups.push(options.runtime.dataManager.subscribeWrites((path) => this.formChanged(path)));
22442
22607
  this.cleanups.push(options.handle.subscribeModel((change) => {
22443
- if (affectsNativeDataDeclarations(change)) this.reconcile();
22608
+ if (affectsNativeDataDeclarations(change, options.handle.readModel().query)) this.reconcile();
22444
22609
  }));
22445
22610
  this.reconcile();
22446
22611
  }
@@ -31593,9 +31758,13 @@ var NativeFieldValidation = class {
31593
31758
  }
31594
31759
  /** 环境变化可重排,但模型或填写值换代后不能显示旧错误。 */
31595
31760
  message(fieldId, valuePath) {
31761
+ return this.messages(fieldId, valuePath).join(";") || void 0;
31762
+ }
31763
+ /** 每条诊断保持独立,界面不从文案中的标点反推规则边界。 */
31764
+ messages(fieldId, valuePath) {
31596
31765
  const options = this.options, versions = options?.handle.getVersions();
31597
- if (!options || !this.versions || versions?.data !== this.versions.data || versions.model !== this.versions.model) return;
31598
- return this.failure ?? (this.issues.filter((issue) => issue.fieldId === fieldId && issue.valuePath === valuePath).map((issue) => issue.message).join(";") || void 0);
31766
+ if (!options || !this.versions || versions?.data !== this.versions.data || versions.model !== this.versions.model) return [];
31767
+ return this.failure ? [this.failure] : this.issues.filter((issue) => issue.fieldId === fieldId && issue.valuePath === valuePath).map((issue) => issue.message);
31599
31768
  }
31600
31769
  async whenSettled() {
31601
31770
  await Promise.resolve();
@@ -32363,8 +32532,9 @@ var NativeFieldPresenter = class {
32363
32532
  text = config?.placeholder || config?.designPlaceholder || config?.label || target.declaration.binding.source.fieldLink || "--";
32364
32533
  placeholder = true;
32365
32534
  } else if (empty && appearance !== "options") {
32366
- text = printing || browse ? config?.emptySymbol ?? "" : emptyLabel;
32367
- placeholder = !printing && !browse;
32535
+ const selectComponent = choice && appearance === "select";
32536
+ text = (printing || browse) && !selectComponent ? config?.emptySymbol ?? "" : emptyLabel;
32537
+ placeholder = selectComponent || !printing && !browse;
32368
32538
  }
32369
32539
  if ((appearance === "text" && choice || reference) && !design && target.valuePath) {
32370
32540
  const savedLabel = options.runtime.dataManager.getStoredValue(getLabelPath(target.valuePath));
@@ -32398,11 +32568,13 @@ var NativeFieldPresenter = class {
32398
32568
  selected: readDataBoolean(target.value) === value,
32399
32569
  paint: optionPaint(target.state, readDataBoolean(target.value) === value)
32400
32570
  })) : [];
32571
+ const preferredSizePx = field.widget === "signature" || field.widget === "image" ? void 0 : source.preferredSizePx;
32572
+ const selectComponent = choice && appearance === "select";
32401
32573
  let control = {
32402
32574
  kind: "control",
32403
32575
  displayKey: "control",
32404
32576
  appearance,
32405
- inlineText: !design && appearance !== "options" && !source.preferredSizePx,
32577
+ inlineText: !design && appearance !== "options" && !preferredSizePx,
32406
32578
  text,
32407
32579
  placeholder,
32408
32580
  design,
@@ -32410,7 +32582,7 @@ var NativeFieldPresenter = class {
32410
32582
  required: !printing && !browse && target.state.required,
32411
32583
  multiline: appearance !== "options",
32412
32584
  style: resolvePaint(options.handle.readModel().query.resolveTextStyle(fieldId), options.defaultTextStyle(), text, options.fonts),
32413
- preferredSizePx: source.preferredSizePx,
32585
+ preferredSizePx,
32414
32586
  marker: renderAs === "checkbox" ? "checkbox" : "radio",
32415
32587
  options: choices,
32416
32588
  optionDirection: presentation?.direction ?? "landscape",
@@ -32440,7 +32612,7 @@ var NativeFieldPresenter = class {
32440
32612
  imageGallery,
32441
32613
  text: "",
32442
32614
  placeholder: false,
32443
- preferredSizePx: cell ? control.preferredSizePx : void 0
32615
+ preferredSizePx: cell ? source.preferredSizePx : void 0
32444
32616
  };
32445
32617
  }
32446
32618
  }
@@ -32474,7 +32646,7 @@ var NativeFieldPresenter = class {
32474
32646
  text: "",
32475
32647
  seal: sealPresentation(target.declaration, target.value, target.state, design, (value, sourceId) => options.rules.sealUrl(fieldId, target.valuePath ?? target.declaration.binding.pathTemplate, value, sourceId))
32476
32648
  };
32477
- const plainView = printing || browse && control.appearance === "text";
32649
+ const plainView = !selectComponent && (printing || browse && control.appearance === "text");
32478
32650
  if (control.imageGallery || control.signatureGallery || control.leadingImage || control.seal) control = {
32479
32651
  ...control,
32480
32652
  inlineText: false
@@ -32488,7 +32660,14 @@ var NativeFieldPresenter = class {
32488
32660
  height: control.style.fontSizePx * 1.1
32489
32661
  }
32490
32662
  };
32491
- const decoration = fieldDecoration(target.state, plainView, control.placeholder, control.style.color, appearance === "options", linked ? {
32663
+ const mutedSelect = selectComponent && (target.state.disabled || target.state.readonly);
32664
+ const decoration = fieldDecoration(mutedSelect ? {
32665
+ ...target.state,
32666
+ disabled: true
32667
+ } : target.state, plainView, control.placeholder, control.style.color, appearance === "options", mutedSelect ? {
32668
+ ...visual,
32669
+ validationError: false
32670
+ } : linked ? {
32492
32671
  ...visual,
32493
32672
  hyperlink: visual?.hyperlink ?? true
32494
32673
  } : visual);
@@ -32858,7 +33037,7 @@ var AxisOccurrenceIndex = class {
32858
33037
  this.options = options;
32859
33038
  try {
32860
33039
  this.resources.add(options.handle.subscribeModel((change) => {
32861
- if (affectsNativeDataDeclarations(change)) {
33040
+ if (affectsNativeDataDeclarations(change, options.handle.readModel().query)) {
32862
33041
  this.identities.clearBlanks();
32863
33042
  this.rowsByAxis.clear();
32864
33043
  }
@@ -34334,6 +34513,6 @@ function attachNativeLayout(context, options) {
34334
34513
  throw error;
34335
34514
  }
34336
34515
  }
34337
- export { shouldInitializeDocumentData as $, NativeMaterialSelection as A, clippedFrame as At, logicalFillPath as B, NativeReferenceScopeError as C, compareFieldConfigurations as Ct, materialAutofillRegions as D, LayoutSessionError as Dt, tableSelectionKind as E, LayoutSession as Et, nativeProductReference as F, viewportRectToPage as Ft, attachNativeDataSources as G, nativeSourceWorkerCode as H, NativeInspectionInitialization as I, runtimeRequest as It, sourceParameters as J, copySourceValue as K, NativeResources as L, NativeMaterialObjects as M, pagePointToViewport as Mt, NativeMaterialInitialization as N, pageRectToViewport as Nt, productAutofillDetails as O, LayoutQuery as Ot, materialProductMatches as P, viewportPointToPage as Pt, isUninitialized as Q, NativeFieldFills as R, NativeReferences as S, compareDocumentContent as St, inventorySelection as T, isRecord as Tt, runNativeSourceScript as U, subtableFillColumn as V, NativeDataSources as W, NativeSourceError as X, sourceProperty as Y, hasPersistedDocumentData as Z, CHECK_TABLE_TYPE_TO_VALUE_FIELD as _, resizedDesignColumnWidth as _t, NativeDataServices as a, NativeDataRuntime as at, NativeSignatures as b, combineSessionSignals as bt, businessNumberMinimum as c, DataManager as ct, NativeValidator as d, NativeTableQuickFill as dt, NativeDataInitializer as et, attachNativeValidator as f, nativeQuickFillLimit as ft, createNativeSubmissionData as g, NestedTableInsertionError as gt, allocationNotices as h, EditorController as ht, attachSessionLayout as i, attachNativeParameterInitializer as it, getInvalidMaterialLotReason as j, UnsupportedLayoutError as jt, NativeMaterials as k, DocumentLayoutBuilder as kt, businessTableFieldDefaults as l, NativeBusinessTables as lt, attachNativeSubmissionCoordinator as m, attachNativeInteraction as mt, NativeLayoutPresentation as n, attachNativeDataInitializer as nt, attachNativeDataServices as o, attachNativeDataRuntime as ot, NativeSubmissionCoordinator as p, isDerivedDataPath as pt, sourceResult as q, choiceSpacingDefaults as r, NativeParameterInitializer as rt, NativeBusinessFields as s, NativeDataQuery as st, attachNativeLayout as t, NativeInitializationQueryError as tt, attachSessionData as u, NativeTableScan as ut, isSubmitExcludedKey as v, MissingSubTableHeaderTargetError as vt, validateNativeReference as w, validateTemplateSave as wt, NativeSeals as x, DocumentSession as xt, validateNativeSignatures as y, FieldPlacementError as yt, attachNativeFieldFills as z };
34516
+ export { shouldInitializeDocumentData as $, NativeMaterialSelection as A, clippedFrame as At, logicalFillPath as B, NativeReferenceScopeError as C, compareFieldConfigurations as Ct, materialAutofillRegions as D, LayoutSessionError as Dt, tableSelectionKind as E, LayoutSession as Et, nativeProductReference as F, viewportPointToPage as Ft, attachNativeDataSources as G, nativeSourceWorkerCode as H, NativeInspectionInitialization as I, viewportRectToPage as It, sourceParameters as J, copySourceValue as K, NativeResources as L, runtimeRequest as Lt, NativeMaterialObjects as M, UnsupportedLayoutError as Mt, NativeMaterialInitialization as N, pagePointToViewport as Nt, productAutofillDetails as O, LayoutQuery as Ot, materialProductMatches as P, pageRectToViewport as Pt, isUninitialized as Q, NativeFieldFills as R, NativeReferences as S, compareDocumentContent as St, inventorySelection as T, isRecord as Tt, runNativeSourceScript as U, subtableFillColumn as V, NativeDataSources as W, NativeSourceError as X, sourceProperty as Y, hasPersistedDocumentData as Z, CHECK_TABLE_TYPE_TO_VALUE_FIELD as _, resizedDesignColumnWidth as _t, NativeDataServices as a, NativeDataRuntime as at, NativeSignatures as b, combineSessionSignals as bt, businessNumberMinimum as c, DataManager as ct, NativeValidator as d, NativeTableQuickFill as dt, NativeDataInitializer as et, attachNativeValidator as f, nativeQuickFillLimit as ft, createNativeSubmissionData as g, NestedTableInsertionError as gt, allocationNotices as h, EditorController as ht, attachSessionLayout as i, attachNativeParameterInitializer as it, getInvalidMaterialLotReason as j, signatureGraphic as jt, NativeMaterials as k, DocumentLayoutBuilder as kt, businessTableFieldDefaults as l, NativeBusinessTables as lt, attachNativeSubmissionCoordinator as m, attachNativeInteraction as mt, NativeLayoutPresentation as n, attachNativeDataInitializer as nt, attachNativeDataServices as o, attachNativeDataRuntime as ot, NativeSubmissionCoordinator as p, isDerivedDataPath as pt, sourceResult as q, choiceSpacingDefaults as r, NativeParameterInitializer as rt, NativeBusinessFields as s, NativeDataQuery as st, attachNativeLayout as t, NativeInitializationQueryError as tt, attachSessionData as u, NativeTableScan as ut, isSubmitExcludedKey as v, MissingSubTableHeaderTargetError as vt, validateNativeReference as w, validateTemplateSave as wt, NativeSeals as x, DocumentSession as xt, validateNativeSignatures as y, FieldPlacementError as yt, attachNativeFieldFills as z };
34338
34517
 
34339
- //# sourceMappingURL=sdk-BmwE5mZn.js.map
34518
+ //# sourceMappingURL=sdk-DaWE1Ttf.js.map