oasis-editor 0.0.413 → 0.0.414
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/OasisEditorApp-BeGnnOPx.js +1 -0
- package/dist/assets/{importDocxWorker-Cza4hyf3.js → importDocxWorker-C4M8keWl.js} +1243 -1126
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/fieldCode.d.ts +18 -0
- package/dist/core/commands/legacyForms.d.ts +15 -0
- package/dist/core/commands/mailMerge.d.ts +8 -0
- package/dist/core/commands/publicCommandTypes.d.ts +40 -0
- package/dist/core/commands/tableOfAuthorities.d.ts +22 -0
- package/dist/core/commands/tableOfFigures.d.ts +12 -0
- package/dist/core/document/bookmarkScope.d.ts +6 -0
- package/dist/core/document/captionEntries.d.ts +24 -0
- package/dist/core/document/fieldCodeDisplay.d.ts +12 -0
- package/dist/core/document/fieldComparison.d.ts +7 -0
- package/dist/core/document/formulaFields.d.ts +10 -0
- package/dist/core/document/indexPlan.d.ts +17 -0
- package/dist/core/document/indexRefresh.d.ts +2 -1
- package/dist/core/document/mergeFields.d.ts +64 -0
- package/dist/core/document/tableOfFigures.d.ts +38 -0
- package/dist/core/document/toaEntries.d.ts +33 -0
- package/dist/core/document/toaPlan.d.ts +36 -0
- package/dist/core/document/toaRefresh.d.ts +29 -0
- package/dist/core/document/tocFields.d.ts +13 -0
- package/dist/core/document/variableFields.d.ts +58 -0
- package/dist/core/format/fieldResultFormat.d.ts +19 -0
- package/dist/core/model/editorState.d.ts +2 -0
- package/dist/core/model/index.d.ts +1 -1
- package/dist/core/model/types/primitives.d.ts +32 -0
- package/dist/defaultToolbar-BFmfRwzv.js +1 -0
- package/dist/i18n/locales/en.d.ts +24 -0
- package/dist/i18n/locales/pt-BR.d.ts +24 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ooxml/word/fieldFormatSwitches.d.ts +40 -0
- package/dist/ooxml/word/legacyFormFields.d.ts +5 -0
- package/dist/plugins/internal/essentialsCapabilities.d.ts +21 -0
- package/dist/sourcePackage-DWdP3w1_.js +1 -0
- package/dist/ui/components/Toolbar/controls/FieldFamilyPanel.d.ts +9 -0
- package/package.json +1 -1
- package/dist/OasisEditorApp-BP3OY6PR.js +0 -1
- package/dist/defaultToolbar-BSz3ZnBB.js +0 -1
- package/dist/sourcePackage-DY2TdHmF.js +0 -1
|
@@ -223,12 +223,44 @@ export interface EditorFieldData {
|
|
|
223
223
|
* {@link EditorTextRun.fieldInstruction}. A field may span multiple paragraphs
|
|
224
224
|
* (e.g. a TOC); document order reconstructs the structure on export.
|
|
225
225
|
*/
|
|
226
|
+
export interface EditorLegacyFormFieldData {
|
|
227
|
+
/** `w:ffData/w:name`; legacy form fields are addressed by this name. */
|
|
228
|
+
name: string;
|
|
229
|
+
control: "text" | "checkBox" | "dropDown";
|
|
230
|
+
/** Current cached value shown between `separate` and `end`. */
|
|
231
|
+
value: string;
|
|
232
|
+
enabled: boolean;
|
|
233
|
+
calcOnExit: boolean;
|
|
234
|
+
helpText?: string;
|
|
235
|
+
statusText?: string;
|
|
236
|
+
/** Preserved as opaque strings; never executed. */
|
|
237
|
+
entryMacro?: string;
|
|
238
|
+
exitMacro?: string;
|
|
239
|
+
textInput?: {
|
|
240
|
+
default?: string;
|
|
241
|
+
format?: string;
|
|
242
|
+
maxLength?: number;
|
|
243
|
+
type?: string;
|
|
244
|
+
};
|
|
245
|
+
checkBox?: {
|
|
246
|
+
checked: boolean;
|
|
247
|
+
default: boolean;
|
|
248
|
+
size?: number;
|
|
249
|
+
sizeAuto?: boolean;
|
|
250
|
+
};
|
|
251
|
+
ddList?: {
|
|
252
|
+
defaultResult?: string;
|
|
253
|
+
listEntries: readonly string[];
|
|
254
|
+
};
|
|
255
|
+
}
|
|
226
256
|
export interface EditorFieldChar {
|
|
227
257
|
kind: "begin" | "separate" | "end";
|
|
228
258
|
/** `w:fldChar/@w:fldLock`. */
|
|
229
259
|
fieldLock?: boolean;
|
|
230
260
|
/** `w:fldChar/@w:dirty`. */
|
|
231
261
|
dirty?: boolean;
|
|
262
|
+
/** `w:ffData` on a legacy FORMTEXT/FORMCHECKBOX/FORMDROPDOWN field. */
|
|
263
|
+
formField?: EditorLegacyFormFieldData;
|
|
232
264
|
}
|
|
233
265
|
export interface EditorFootnoteReferenceData {
|
|
234
266
|
footnoteId: string;
|