@gct-paas/word 1.0.3-beta.1 → 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.
- package/dist/chunks/{sdk-D9n5KeaD.js → sdk-DaWE1Ttf.js} +14 -5
- package/dist/chunks/{sdk-D9n5KeaD.js.map → sdk-DaWE1Ttf.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/types/adapters/platform/reference-policies.d.ts +3 -1
- package/dist/vue.js +115 -106
- package/dist/vue.js.map +1 -1
- package/package.json +1 -1
|
@@ -32532,8 +32532,9 @@ var NativeFieldPresenter = class {
|
|
|
32532
32532
|
text = config?.placeholder || config?.designPlaceholder || config?.label || target.declaration.binding.source.fieldLink || "--";
|
|
32533
32533
|
placeholder = true;
|
|
32534
32534
|
} else if (empty && appearance !== "options") {
|
|
32535
|
-
|
|
32536
|
-
|
|
32535
|
+
const selectComponent = choice && appearance === "select";
|
|
32536
|
+
text = (printing || browse) && !selectComponent ? config?.emptySymbol ?? "" : emptyLabel;
|
|
32537
|
+
placeholder = selectComponent || !printing && !browse;
|
|
32537
32538
|
}
|
|
32538
32539
|
if ((appearance === "text" && choice || reference) && !design && target.valuePath) {
|
|
32539
32540
|
const savedLabel = options.runtime.dataManager.getStoredValue(getLabelPath(target.valuePath));
|
|
@@ -32568,6 +32569,7 @@ var NativeFieldPresenter = class {
|
|
|
32568
32569
|
paint: optionPaint(target.state, readDataBoolean(target.value) === value)
|
|
32569
32570
|
})) : [];
|
|
32570
32571
|
const preferredSizePx = field.widget === "signature" || field.widget === "image" ? void 0 : source.preferredSizePx;
|
|
32572
|
+
const selectComponent = choice && appearance === "select";
|
|
32571
32573
|
let control = {
|
|
32572
32574
|
kind: "control",
|
|
32573
32575
|
displayKey: "control",
|
|
@@ -32644,7 +32646,7 @@ var NativeFieldPresenter = class {
|
|
|
32644
32646
|
text: "",
|
|
32645
32647
|
seal: sealPresentation(target.declaration, target.value, target.state, design, (value, sourceId) => options.rules.sealUrl(fieldId, target.valuePath ?? target.declaration.binding.pathTemplate, value, sourceId))
|
|
32646
32648
|
};
|
|
32647
|
-
const plainView = printing || browse && control.appearance === "text";
|
|
32649
|
+
const plainView = !selectComponent && (printing || browse && control.appearance === "text");
|
|
32648
32650
|
if (control.imageGallery || control.signatureGallery || control.leadingImage || control.seal) control = {
|
|
32649
32651
|
...control,
|
|
32650
32652
|
inlineText: false
|
|
@@ -32658,7 +32660,14 @@ var NativeFieldPresenter = class {
|
|
|
32658
32660
|
height: control.style.fontSizePx * 1.1
|
|
32659
32661
|
}
|
|
32660
32662
|
};
|
|
32661
|
-
const
|
|
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 ? {
|
|
32662
32671
|
...visual,
|
|
32663
32672
|
hyperlink: visual?.hyperlink ?? true
|
|
32664
32673
|
} : visual);
|
|
@@ -34506,4 +34515,4 @@ function attachNativeLayout(context, options) {
|
|
|
34506
34515
|
}
|
|
34507
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 };
|
|
34508
34517
|
|
|
34509
|
-
//# sourceMappingURL=sdk-
|
|
34518
|
+
//# sourceMappingURL=sdk-DaWE1Ttf.js.map
|