@gct-paas/excel 0.1.40-beta.25 → 0.1.40-beta.27
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/{BaseComponent-gOtXQLY_.js → BaseComponent-B0s9C7u7.js} +2 -2
- package/dist/{VueVideoPlayer-CB5VHlj2.js → VueVideoPlayer-BCGJs86_.js} +2 -2
- package/dist/{align-editor-ssy7gJsD.js → align-editor-DBWdbAV_.js} +1 -1
- package/dist/{barcode-design-Mjrep3H_.js → barcode-design-YdLnj4EK.js} +2 -2
- package/dist/base/index.es.js +189 -193
- package/dist/{diagonal-design-CFBp2E-O.js → diagonal-design-vCovyGwZ.js} +2 -2
- package/dist/{dynamic-table-action-BKX0Oeoy.js → dynamic-table-action-9oc6dkLz.js} +144 -215
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js} +751 -320
- package/dist/{edit.utils-CXmmCnxE-CwPcGg-f.js → edit.utils-CXmmCnxE-BvWz-8bv.js} +1 -1
- package/dist/excel.css +12 -12
- package/dist/{exceljs.min-eo-E80If.js → exceljs.min-Dp6PAQE9.js} +2 -2
- package/dist/{font-editor-CAZX85G4.js → font-editor-gcStnuue.js} +3 -3
- package/dist/{image-design-g9R_z-IY.js → image-design-DJ3VRU2t.js} +2 -2
- package/dist/{index--7My1yo5.js → index-2mRh7iFw.js} +350 -192
- package/dist/{index-BBq6DSLI.js → index-7WwJSlNN.js} +2 -2
- package/dist/{index-DEMinegB.js → index-AmKjgww5.js} +1 -1
- package/dist/{index--RhdrCZV.js → index-Avrz1-1F.js} +2 -2
- package/dist/{index-C6oivLbu.js → index-B5AUi6i3.js} +1 -1
- package/dist/{index-DifKRFVy.js → index-BCeR77y-.js} +2 -2
- package/dist/{index-D3cPbNne.js → index-BHTcJLrz.js} +1 -1
- package/dist/{index-DzT1SZ9z.js → index-BYf9Fudx.js} +3 -3
- package/dist/{index-CoKpbR25.js → index-BaCa0TgP.js} +2 -2
- package/dist/{index-BycDrbO0.js → index-BsmHcJs3.js} +2 -2
- package/dist/{index-D-WSp3EA.js → index-CFTsMiRR.js} +1 -1
- package/dist/{index-CpQiCEe7.js → index-CFvLIeFl.js} +1 -1
- package/dist/{index-B9hIqELW.js → index-CLLc5Ob2.js} +1 -1
- package/dist/{index-PUFY8idd.js → index-COOampHb.js} +1 -1
- package/dist/{index-Cpn8pcne.js → index-Ck06j4gn.js} +2 -2
- package/dist/{index-NH1JcF4s.js → index-Cl-QMM1R.js} +2 -2
- package/dist/{index-0S-kw2HL.js → index-CtEUzXVk.js} +2 -2
- package/dist/{index-iYrfBvkL.js → index-CzUGIYOv.js} +2 -2
- package/dist/{index-0pYUJqWX.js → index-D3ZQLjrQ.js} +2 -2
- package/dist/{index-BoGFEaqo.js → index-D6eANpFX.js} +2 -2
- package/dist/{index-NulsmEum.js → index-D90UOUAU.js} +3 -3
- package/dist/{index-DozFqpk2.js → index-D9j3S6qI.js} +1 -1
- package/dist/{index-SrAjB-wq.js → index-DIodi5gH.js} +4 -4
- package/dist/{index-8WHvZyAx.js → index-DPP4WDPc.js} +2 -2
- package/dist/{index-hNdJpzws.js → index-DXqsUrWV.js} +3 -3
- package/dist/{index-BLv5fzzG.js → index-DnsZjDDh.js} +2 -2
- package/dist/{index-Cmr9DRpz.js → index-Dzl5Ukft.js} +1 -1
- package/dist/{index-BMlGh5m0.js → index-Mg-zrcwn.js} +2 -2
- package/dist/{index-jTfc0zM7.js → index-agcLaGBj.js} +2 -2
- package/dist/{index-BLqJtzs6.js → index-cOcBl2Ga.js} +2 -2
- package/dist/{index-DgEDg0_J.js → index-gWEP20xe.js} +3 -3
- package/dist/{index-fcxbS2U1.js → index-iYYd2oH1.js} +3 -3
- package/dist/{index-9Mi1Iiw8.js → index-sWtzbaDv.js} +3 -3
- package/dist/{index-YteSvWxT.js → index-y3jt4BZe.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DjI5GeWt.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B79l8Vcj.js} +1 -1
- package/dist/{pagination-design-DelDPMV6.js → pagination-design-BZZcBbIF.js} +2 -2
- package/dist/paper-widget-design-Coh8v5mV.js +4 -0
- package/dist/{print-runtime-instance-NcHBwPwX.js → print-runtime-instance-CV0WcU-Z.js} +1 -1
- package/dist/{print-snapshot-renderer-Dw-xzoDx.js → print-snapshot-renderer-hHd4ThE0.js} +3 -3
- package/dist/{qrcode-design-DAYfoLN-.js → qrcode-design-C8d7cE3K.js} +1 -1
- package/dist/{revo-grid.entry-Bh8ebL13.js → revo-grid.entry-DSnc_nH1.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CsJaMH68.js → revogr-attribution_7.entry-D67ci-yw.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DgmZ8Pc0.js → revogr-clipboard_3.entry-C9h0dhAb.js} +2 -2
- package/dist/{revogr-data_4.entry-CPW7BILy.js → revogr-data_4.entry-DuuRVRex.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BpIcSbuR.js → revogr-filter-panel.entry-BeIaYORN.js} +1 -1
- package/dist/seal-design-DfKie-Qg.js +4 -0
- package/dist/{serialnumber-design-C92sT5qW.js → serialnumber-design-wyJY14Fx.js} +1 -1
- package/dist/shared/index.es.js +25 -25
- package/dist/{single-field-drop-BcuqHgNO.js → single-field-drop-CA6EtCtR.js} +2 -2
- package/dist/{size-editor-JdHGylGx.js → size-editor-lAn0ECzs.js} +1 -1
- package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +3 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +2 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +8 -0
- package/dist/src/nocode-base/src/runtime/designer-default-values.d.ts +23 -0
- package/dist/src/nocode-base/src/runtime/runtime-default-value-validation.d.ts +23 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +3 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useReferenceLabel.d.ts +4 -0
- package/dist/src/shared/enum/field-type.d.ts +1 -1
- package/dist/{sub-table-factory-v9spfnMN.js → sub-table-factory-CwbQEPJq.js} +14 -2
- package/dist/{text-design-BjhwgpUv.js → text-design-Bv4PfeOW.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-DQh0IPeE.js → throttle-Cpk1LoGk-BaXaGrUw.js} +1 -1
- package/dist/{timediff-design-D84T_Isx.js → timediff-design-CxT_O6R8.js} +1 -1
- package/dist/{trace-like-wrapper-DHb2jlre.js → trace-like-wrapper-CGe5K_FN.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CV1HsENd.js → value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js} +2 -2
- package/dist/{widget-barcode-CNB9Sqle.js → widget-barcode-C83yiwNl.js} +4 -4
- package/dist/{widget-diagonal-6ZDcxCwX.js → widget-diagonal-C-zD-MLy.js} +3 -3
- package/dist/{widget-image-D--Ynjra.js → widget-image-DIcnWHn7.js} +4 -4
- package/dist/{widget-line-CpwqEFD9.js → widget-line-BnMezWy-.js} +2 -2
- package/dist/{widget-pagination-BN3wWsKq.js → widget-pagination-QWM1Nmlo.js} +5 -5
- package/dist/{widget-power-Cn61OOWe.js → widget-power-DnqxPUmW.js} +3 -3
- package/dist/{widget-qrcode-BgUCM01T.js → widget-qrcode-PBnm6ehD.js} +3 -3
- package/dist/{widget-rangelimit-CnNNwIo0.js → widget-rangelimit-CDyYKHeg.js} +3 -3
- package/dist/{widget-serialnumber-gZih5585.js → widget-serialnumber-BwS-Ac9h.js} +1 -1
- package/dist/{widget-text--iXnC5zl.js → widget-text-COW-IQ1P.js} +5 -5
- package/dist/{widget-timediff-DN-FCR7T.js → widget-timediff-RpQcMPpb.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-UPTi8CN4.js +0 -4
- package/dist/seal-design-CeJEHJ-K.js +0 -4
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O, _ as _2, P, S, V, u } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { aP, aI, x, cJ, Q, aQ, aR, cK, ax, az, F, a0, aj, N, aH, br, b9, cL, ay, T, cM, $, _, bs, af, Z } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
2
|
+
import { O, _ as _2, P, S, V, u } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B79l8Vcj.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -49,44 +49,44 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
49
49
|
return GctMqttTopsEnum2;
|
|
50
50
|
})(GctMqttTopsEnum || {});
|
|
51
51
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
aP as ASSIGNMENTSTRATEGY_ENUM,
|
|
53
|
+
aI as BASIC_FIELD_TYPES,
|
|
54
54
|
x as BUSINESS_FIELD_TYPES,
|
|
55
55
|
ButtonOpeEnum,
|
|
56
56
|
ButtonSize,
|
|
57
57
|
ButtonStyle,
|
|
58
58
|
ButtonType,
|
|
59
59
|
ButtonType_vant,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
cJ as CardControlEnum,
|
|
61
|
+
Q as CreateType,
|
|
62
|
+
aQ as Dependency_ENUM,
|
|
63
|
+
aR as EntityModelCategoryEnum,
|
|
64
|
+
cK as EntityModelTypeEnum,
|
|
65
|
+
ax as ExpressionModeEnum,
|
|
66
|
+
az as ExpressionTabEnum,
|
|
67
67
|
F as FIELD_TYPE,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
a0 as FieldDefaultValueTypeEnum,
|
|
69
|
+
aj as FieldIconMap,
|
|
70
|
+
N as FieldTypeToJs,
|
|
71
|
+
aH as FormDesignEnum,
|
|
72
|
+
br as FormulaRuleFieldKeyEnum,
|
|
73
73
|
GctMqttTopsEnum,
|
|
74
74
|
O as OnlineFormModelModal,
|
|
75
75
|
_2 as OnlineFormModelSelect,
|
|
76
76
|
Platform,
|
|
77
77
|
P as ProductTypeEnum,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
b9 as ProductionIdentificationTypeEnum,
|
|
79
|
+
cL as RecordNoGenerateEnum,
|
|
80
|
+
ay as ReturnTypeEnum,
|
|
81
81
|
S as SEARCH_SEVICE,
|
|
82
82
|
SignatureTypeEnum,
|
|
83
83
|
T as TRACE_FIELD_TYPES,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
cM as TagTypeEnum,
|
|
85
|
+
$ as UniqueConstraintType,
|
|
86
86
|
V as VersionSelect,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
_ as WAREHOUSE_FIELD_TYPES,
|
|
88
|
+
bs as formulaRuleFieldDict,
|
|
89
|
+
af as normalizeFieldType,
|
|
90
|
+
Z as onlineFormMasterModelTypeEnum,
|
|
91
91
|
u as useWebUpload
|
|
92
92
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index
|
|
2
|
+
import { ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-2mRh7iFw.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "single-field-drop",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -35,6 +35,8 @@ export declare class SubTableCoreFactory {
|
|
|
35
35
|
initSubTableCore(context: RuntimePageCtx): void;
|
|
36
36
|
/** 通过tid获取子表核心 */
|
|
37
37
|
getSubCoreByTid(tid: string): SubTableCore | undefined;
|
|
38
|
+
/** 只按已注册的业务类型识别,普通数据表及未知类型不参与空行过滤。 */
|
|
39
|
+
getBusinessTableFields(): string[];
|
|
38
40
|
/**
|
|
39
41
|
* 初始化表单数据
|
|
40
42
|
* @param params
|
|
@@ -2,12 +2,14 @@ import { RenderModeEnum, FormTypeEnum, PlatformEnum } from '../../constant';
|
|
|
2
2
|
import { RuntimeFormStateStore, RuntimeInstanceRegistry, RuntimeInstanceRecord } from '../../runtime';
|
|
3
3
|
import { IProps, IPayload, RuntimeInstanceSource, RuntimeSelfInfo } from './types';
|
|
4
4
|
import { useMaterialBalance } from '../material-balance/useMaterialBalance';
|
|
5
|
+
import { DesignerDefaultValues } from '../../runtime/designer-default-values';
|
|
5
6
|
export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource, options?: {
|
|
6
7
|
initializeValues?: boolean;
|
|
7
8
|
}) => Promise<{
|
|
8
9
|
runtimeContext: import('../..').RuntimeInstanceContext;
|
|
9
10
|
runtimeFormStateStore: RuntimeFormStateStore;
|
|
10
11
|
runtimeFieldMetadata: import('../..').RuntimeFieldMetadata;
|
|
12
|
+
defaultValueOrigins: DesignerDefaultValues;
|
|
11
13
|
scriptRunner: any;
|
|
12
14
|
basicInfo: {
|
|
13
15
|
key: string;
|
|
@@ -45,6 +47,7 @@ export declare function createRuntimeInstanceInitializer(props: IProps, payload:
|
|
|
45
47
|
paramsConfig: Record<string, any> | undefined;
|
|
46
48
|
businessType: any;
|
|
47
49
|
instanceStatus: any;
|
|
50
|
+
dataStatus: any;
|
|
48
51
|
};
|
|
49
52
|
selfInfo: RuntimeSelfInfo;
|
|
50
53
|
} | undefined>;
|
|
@@ -89,6 +89,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
89
89
|
paramsConfig?: Record<string, any> | undefined;
|
|
90
90
|
businessType?: string | undefined;
|
|
91
91
|
instanceStatus?: string | undefined;
|
|
92
|
+
dataStatus?: string | undefined;
|
|
92
93
|
}[], IBasicInfoItem[] | {
|
|
93
94
|
key: string;
|
|
94
95
|
tid: string;
|
|
@@ -132,6 +133,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
132
133
|
paramsConfig?: Record<string, any> | undefined;
|
|
133
134
|
businessType?: string | undefined;
|
|
134
135
|
instanceStatus?: string | undefined;
|
|
136
|
+
dataStatus?: string | undefined;
|
|
135
137
|
}[]>;
|
|
136
138
|
selfInfoList: import('vue').Ref<{
|
|
137
139
|
[x: string]: any;
|
|
@@ -200,6 +202,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
200
202
|
paramsConfig?: Record<string, any> | undefined;
|
|
201
203
|
businessType?: string | undefined;
|
|
202
204
|
instanceStatus?: string | undefined;
|
|
205
|
+
dataStatus?: string | undefined;
|
|
203
206
|
} | undefined;
|
|
204
207
|
updateRenderModeType: (uniqueId: string, mode: import('..').RenderModeEnum, updateButton?: boolean) => Promise<void>;
|
|
205
208
|
setFromEditStatus: (uniqueId: string) => Promise<boolean>;
|
|
@@ -91,8 +91,9 @@ export declare const renderUtils: {
|
|
|
91
91
|
/** 提前设置值给widget */
|
|
92
92
|
setRequestInfo2DataCenter: (dataCenters: any, modelKeys: any, platformType: any, isMockReport: any, formType: FormTypeEnum, paramsConfig: any, useSignFields: any, useClsReasonDataLink: any, useClsGroupDataLink: any, tmplBomC: FormTmplBomController, modelQueries: any) => Promise<void>;
|
|
93
93
|
/** 获取默认值集合 */
|
|
94
|
-
getDefaultValueMapByField: ({ defaultValueFields, objectProductDefaults, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
94
|
+
getDefaultValueMapByField: ({ defaultValueFields, onDesignerDefault, objectProductDefaults, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
95
95
|
defaultValueFields: any;
|
|
96
|
+
onDesignerDefault?: ((field: any, value: unknown) => void) | undefined;
|
|
96
97
|
objectProductDefaults?: WeakMap<object, ObjectProductDefault> | undefined;
|
|
97
98
|
mainMaterialNo?: undefined;
|
|
98
99
|
mainRelatedLotNo?: undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RenderModeEnum } from '../constant';
|
|
2
2
|
import { ICheckTableConfig } from './front-config';
|
|
3
3
|
import { SubTableCoreFactory } from '../core/factory/sub-table-factory';
|
|
4
|
+
import { DesignerDefaultValues } from '../runtime/designer-default-values';
|
|
4
5
|
import { RuntimeTableRelation } from '../runtime/table-row-identity';
|
|
5
6
|
/** 将源数据转换为子表数据 */
|
|
6
7
|
declare function transformSourceData2SubTable(data: any, dict?: {},
|
|
@@ -22,6 +23,7 @@ export declare const transformUtils: {
|
|
|
22
23
|
getSubTableInfo: (paper: any) => any;
|
|
23
24
|
/** 获取默认值 */
|
|
24
25
|
getDefaultData: (payload: {
|
|
26
|
+
defaultValueOrigins?: DesignerDefaultValues;
|
|
25
27
|
/** 默认值数据 */
|
|
26
28
|
defaultDataMap: any;
|
|
27
29
|
/** 子表信息 */
|
|
@@ -108,6 +110,7 @@ export declare const transformUtils: {
|
|
|
108
110
|
}) => any;
|
|
109
111
|
/** 转换formState */
|
|
110
112
|
conversionFormState: (payload: {
|
|
113
|
+
defaultValueOrigins?: DesignerDefaultValues;
|
|
111
114
|
/** 默认值数据 */
|
|
112
115
|
defaultData: any;
|
|
113
116
|
/** 参数数据 */
|
|
@@ -147,6 +150,11 @@ export declare const transformUtils: {
|
|
|
147
150
|
};
|
|
148
151
|
/** 数据转成真实提交数据(二维表要平铺);layout 是所有 Sheet 的业务表汇总索引。 */
|
|
149
152
|
getSubmitFormData: (formData: any, layout: {
|
|
153
|
+
subTableInfo?: {
|
|
154
|
+
field: string;
|
|
155
|
+
key?: string;
|
|
156
|
+
}[];
|
|
157
|
+
businessTableFields?: readonly string[];
|
|
150
158
|
subTable2DList?: any[];
|
|
151
159
|
checkTable2DList?: any[];
|
|
152
160
|
materialConsumeTableList?: any[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** 仅未填报时允许清理;新版 UNFILLED 也可能固定返回 dataStatus=SUBMIT。 */
|
|
2
|
+
export declare function canClearDesignerDefaults(status: {
|
|
3
|
+
instanceStatus?: string;
|
|
4
|
+
dataStatus?: string;
|
|
5
|
+
}): boolean;
|
|
6
|
+
/** 只记录本次确实由设计器默认值初始化的位置,不把相同的历史值当成默认值。 */
|
|
7
|
+
export declare class DesignerDefaultValues {
|
|
8
|
+
readonly values: Record<string, Record<string, unknown>>;
|
|
9
|
+
private readonly applied;
|
|
10
|
+
private appliedRows?;
|
|
11
|
+
add(subFieldKey: string | undefined, field: string, value: unknown): void;
|
|
12
|
+
private key;
|
|
13
|
+
captureRow(row: Record<string, any>, subFieldKey?: string, overrides?: Record<string, any>): void;
|
|
14
|
+
capture(state: Record<string, any>): void;
|
|
15
|
+
/** 转换及合并结束后绑定真实运行时对象,替换成同 ID、同值的新行也不再算旧默认值。 */
|
|
16
|
+
bindRuntimeRows(state: Record<string, any>): void;
|
|
17
|
+
has(row: Record<string, any>, subFieldKey: string | undefined, field: string): boolean;
|
|
18
|
+
owns(row: Record<string, any>, subFieldKey: string | undefined, field: string): boolean;
|
|
19
|
+
revoke(row: Record<string, any>, subFieldKey: string | undefined, field: string): void;
|
|
20
|
+
/** 后续数据源显式提供同一个值也算覆盖,不能仅比较最终值是否相等。 */
|
|
21
|
+
excludeOverrides(target: Record<string, any>, source: any, subFieldKey?: string): void;
|
|
22
|
+
clear(): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IBasicInfoItem } from '../types';
|
|
2
|
+
import { DesignerDefaultValues } from './designer-default-values';
|
|
3
|
+
import { RuntimeInstanceRecord } from './runtime-instance-registry';
|
|
4
|
+
/** 只清理本次实际采用的失效设计器默认值,覆盖未挂载 Sheet 和动态行。 */
|
|
5
|
+
export declare class RuntimeDefaultValueValidation {
|
|
6
|
+
private readonly record;
|
|
7
|
+
private readonly info;
|
|
8
|
+
readonly defaults: DesignerDefaultValues;
|
|
9
|
+
private disposed;
|
|
10
|
+
private scheduled;
|
|
11
|
+
/** 同一实例中,相同引用记录的查询结果可供不同 Sheet 和行复用。 */
|
|
12
|
+
private readonly requests;
|
|
13
|
+
private readonly stops;
|
|
14
|
+
constructor(record: RuntimeInstanceRecord, info: IBasicInfoItem, defaults: DesignerDefaultValues);
|
|
15
|
+
private targets;
|
|
16
|
+
private queryDefault;
|
|
17
|
+
/** 后台检查不加入页面准备、草稿或提交的等待链路。 */
|
|
18
|
+
requestCheck(): void;
|
|
19
|
+
private schedule;
|
|
20
|
+
private isEnabled;
|
|
21
|
+
initialize(): Promise<void>;
|
|
22
|
+
dispose(): void;
|
|
23
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RuntimeFieldInitializer } from './runtime-field-initializer';
|
|
2
|
+
import { RuntimeDefaultValueValidation } from './runtime-default-value-validation';
|
|
2
3
|
import { RuntimeValidationService } from './runtime-validation-service';
|
|
3
4
|
import { RuntimeInstanceContext } from './runtime-context';
|
|
4
5
|
import { RuntimeInstanceController } from './runtime-instance-controller';
|
|
@@ -24,6 +25,8 @@ export interface RuntimeInstanceRecord {
|
|
|
24
25
|
ruleCompiler?: RuntimeRuleCompiler;
|
|
25
26
|
/** 业务默认值随实例及动态行初始化,不依赖控件挂载。 */
|
|
26
27
|
fieldInitializer?: RuntimeFieldInitializer;
|
|
28
|
+
/** 设计器默认值的独立业务查询,不参与提交拦截。 */
|
|
29
|
+
defaultValueValidation?: RuntimeDefaultValueValidation;
|
|
27
30
|
/** 整份表单共享的数源管理器;字段事件通过当前实例取用。 */
|
|
28
31
|
dataSourceManager?: DataSourceManager;
|
|
29
32
|
/** 实例唯一的数据写入口,生成 revision、dirty 和字段变更路径 */
|
|
@@ -2162,9 +2162,8 @@ export declare function useSpreadSheet(): {
|
|
|
2162
2162
|
addFloatingSeal: (data: IBindField, position?: SealPosition) => {
|
|
2163
2163
|
id: any;
|
|
2164
2164
|
fieldMeta: {
|
|
2165
|
-
fieldType: FIELD_TYPE;
|
|
2166
|
-
bizType: FIELD_TYPE;
|
|
2167
2165
|
field?: string;
|
|
2166
|
+
fieldType?: FIELD_TYPE;
|
|
2168
2167
|
model?: string;
|
|
2169
2168
|
modelLink?: string;
|
|
2170
2169
|
fieldLink?: string;
|
|
@@ -2175,6 +2174,7 @@ export declare function useSpreadSheet(): {
|
|
|
2175
2174
|
createType?: CreateType;
|
|
2176
2175
|
refModelKey?: string;
|
|
2177
2176
|
belongingObject?: string;
|
|
2177
|
+
bizType?: string;
|
|
2178
2178
|
};
|
|
2179
2179
|
fieldWidget: CellWidget.Seal;
|
|
2180
2180
|
layout: SealPosition;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { shallowReactive } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { p as api,
|
|
2
|
+
import { aZ as SubTableActionMenuTypeEnum, a_ as getMenuByAction, a$ as SubTableActionEnum, b0 as resolveScanFillData, aE as SubTableCore, b1 as buildDefaultMapFromProfile, b2 as buildFieldStatusFromProfile, b3 as getRowHandlersForFieldChange, b4 as getInsertSubMenu, b5 as resolveScanAdjustType, b6 as resolveScanQty, b7 as toDateOnly, b8 as hasSubtableBusinessData, b9 as getCopySubMenu, ba as resolveScanParsedValue, bb as isProductBatchEmptyRow } from "./dynamic-table-action-9oc6dkLz.js";
|
|
3
|
+
import { p as api, cN as F$1, aS as resolveLotDisplayLabel, cO as FILL_FROM_TARGET_PRODUCT_OPTION, b4 as resolveLotRecordByValue, b9 as ProductionIdentificationTypeEnum, b2 as buildLotSnListQuery, cP as F$2, cQ as SCAN_ROW_CONTENT_FIELDS, cR as F$3, cS as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cT as F$4, cU as F$5, cV as FILL_FROM_SOURCE_PRODUCT_OPTION, cW as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cX as FILL_FROM_INVENTORY_OPTION, cY as FILL_FROM_PART_OPTION, cZ as FILL_FROM_INVENTORY_OPTION$1, c_ as TABLE_TYPE, c$ as FILL_FROM_INVENTORY_OPTION$2, bf as F$6, d0 as INVENTORY_BASE_FIELDS, d1 as resolveGroupByWarehouse, d2 as AUTO_LOAD_READONLY_SELECT_FIELDS, be as STOCKTAKE_DIMENSION, bb as getParseRuleInfo, d3 as buildFillFromInventoryOption, c7 as calcFillData, d4 as resolveStocktakeInventoryApi, bc as getParseRuleValue, d5 as F$7, d6 as FILL_FROM_INVENTORY_OPTION$3, d7 as LOCKED_INPUT_FIELDS, cd as extractKeywordFromQueryData, d8 as composeProductionLotListQuery, d9 as F$8, da as isProductManuallyEditable, db as applyFillFromMfgOrderOption, dc as applyFillFromOption$1, dd as applyFillFromProductOption, de as mergeQueryFilters, df as composeMaterialLotListQuery, b1 as LOT_CONTAINER_ROLE, dg as MATERIAL_CONTAINER_ID, dh as F$9, di as PRODUCT_QUICK_SEARCH_FIELDS, dj as PRODUCT_QUICK_SEARCH_EXP, dk as isProductManuallyEditable$1, dl as applyFillFromMaterialNoOption, dm as applyFillFromProductOption$1, dn as F$a, dp as FILL_FROM_INVENTORY_OPTION$4, a1 as FormTypeEnum, d as getBusinessProfileByRefModelType, aN as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
5
|
class RuntimeInstanceController {
|
|
6
6
|
context;
|
|
@@ -2131,6 +2131,18 @@ class SubTableCoreFactory {
|
|
|
2131
2131
|
getSubCoreByTid(tid) {
|
|
2132
2132
|
return this.coreMap[tid];
|
|
2133
2133
|
}
|
|
2134
|
+
/** 只按已注册的业务类型识别,普通数据表及未知类型不参与空行过滤。 */
|
|
2135
|
+
getBusinessTableFields() {
|
|
2136
|
+
return Array.from(
|
|
2137
|
+
new Set(
|
|
2138
|
+
Object.values(this.coreMap).flatMap((core) => {
|
|
2139
|
+
const props = core.ctx.widget.props;
|
|
2140
|
+
const profile = getBusinessProfileByRefModelType(props.subModelType) ?? getProfileByTableType(props.tableType);
|
|
2141
|
+
return profile && isBusinessSubTableProfile(profile) && core.subFieldKey ? [core.subFieldKey] : [];
|
|
2142
|
+
})
|
|
2143
|
+
)
|
|
2144
|
+
);
|
|
2145
|
+
}
|
|
2134
2146
|
/**
|
|
2135
2147
|
* 初始化表单数据
|
|
2136
2148
|
* @param params
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import {
|
|
3
|
+
import { Y as PaperWidgeValueType, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { u as useSpreadSheet, h as useModelFields } from "./index
|
|
7
|
+
import { u as useSpreadSheet, h as useModelFields } from "./index-2mRh7iFw.js";
|
|
8
8
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "text-design",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
2
|
-
import {
|
|
2
|
+
import { em as isObject, dM as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
3
|
const initialParams = {
|
|
4
4
|
contentSize: 0,
|
|
5
5
|
clientSize: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aq as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { F as FIELD_TYPE,
|
|
2
|
+
import { F as FIELD_TYPE, ba as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-2mRh7iFw.js";
|
|
8
8
|
function getTraceLikeSelectProps(data) {
|
|
9
9
|
const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
|
|
10
10
|
const displayFields = (() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index
|
|
4
|
-
import {
|
|
3
|
+
import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-2mRh7iFw.js";
|
|
4
|
+
import { Y as PaperWidgeValueType, ax as ExpressionModeEnum, az as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-2mRh7iFw.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js";
|
|
4
|
+
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "@gct-paas/form-base";
|
|
8
8
|
import "ant-design-vue";
|
|
9
|
-
import { A as AlignEditor } from "./align-editor-
|
|
9
|
+
import { A as AlignEditor } from "./align-editor-DBWdbAV_.js";
|
|
10
10
|
const _hoisted_1 = { class: "pl-6px" };
|
|
11
11
|
const _hoisted_2 = { class: "flex justify-end" };
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
|
|
2
|
-
import { F as FormItem, q as SelectEx } from "./index
|
|
2
|
+
import { F as FormItem, q as SelectEx } from "./index-2mRh7iFw.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
|
-
import {
|
|
4
|
+
import { ad as useNamespace, F as FIELD_TYPE, ae as _export_sfc, an as DiagonalDirection, ar as DiagonalVertex, cu as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import { message } from "ant-design-vue";
|
|
8
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
8
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CA6EtCtR.js";
|
|
9
9
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "diagonal-name-editor",
|
|
11
11
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
|
|
2
|
-
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index
|
|
3
|
-
import { S as SizeEditor } from "./size-editor-
|
|
2
|
+
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-2mRh7iFw.js";
|
|
3
|
+
import { S as SizeEditor } from "./size-editor-lAn0ECzs.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
|
-
import {
|
|
5
|
+
import { ao as WidgetImageSizeMode, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
import "@gct-paas/form-base";
|
|
9
|
-
import { C as CloseOutlined, u as useWebUpload } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
9
|
+
import { C as CloseOutlined, u as useWebUpload } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-B79l8Vcj.js";
|
|
10
10
|
const resumeSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307154239'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7317'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M316%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208zM512%20622c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039zM512%20482c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039z'%20p-id='7318'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M880%20112H144c-17.7%200-32%2014.3-32%2032v736c0%2017.7%2014.3%2032%2032%2032h736c17.7%200%2032-14.3%2032-32V144c0-17.7-14.3-32-32-32z%20m-40%20728H184V184h656v656z'%20p-id='7319'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M648%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208z'%20p-id='7320'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
|
|
11
11
|
const rotateSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595306944988'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1820'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M1464.3%20279.7'%20p-id='1821'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M512%20960c-60.5%200-119.1-11.9-174.4-35.2-53.4-22.6-101.3-54.9-142.4-96s-73.4-89-96-142.4C75.9%20631.1%2064%20572.5%2064%20512s11.9-119.1%2035.2-174.4c22.6-53.4%2054.9-101.3%2096-142.4s89-73.4%20142.4-96C392.9%2075.9%20451.5%2064%20512%2064s119.1%2011.9%20174.4%2035.2c53.4%2022.6%20101.3%2054.9%20142.4%2096s73.4%2089%2096%20142.4C948.1%20392.9%20960%20451.5%20960%20512c0%2019.1-15.5%2034.6-34.6%2034.6s-34.6-15.5-34.6-34.6c0-51.2-10-100.8-29.8-147.4-19.1-45.1-46.4-85.6-81.2-120.4C745%20209.4%20704.5%20182%20659.4%20163c-46.7-19.7-96.3-29.8-147.4-29.8-51.2%200-100.8%2010-147.4%2029.8-45.1%2019.1-85.6%2046.4-120.4%2081.2S182%20319.5%20163%20364.6c-19.7%2046.7-29.8%2096.3-29.8%20147.4%200%2051.2%2010%20100.8%2029.8%20147.4%2019.1%2045.1%2046.4%2085.6%2081.2%20120.4C279%20814.6%20319.5%20842%20364.6%20861c46.7%2019.7%2096.3%2029.8%20147.4%2029.8%2064.6%200%20128.4-16.5%20184.4-47.8%2054.4-30.4%20100.9-74.1%20134.6-126.6%2010.3-16.1%2031.7-20.8%2047.8-10.4%2016.1%2010.3%2020.8%2031.7%2010.4%2047.8-39.8%2062-94.8%20113.7-159.1%20149.6-66.2%2037-141.7%2056.6-218.1%2056.6z'%20p-id='1822'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M924%20552c-19.8%200-36-16.2-36-36V228c0-19.8%2016.2-36%2036-36s36%2016.2%2036%2036v288c0%2019.8-16.2%2036-36%2036zM275.4%20575.5c9.5-2.5%2019.1%202.9%2022.3%2012.2%203.5%2010.2%209.9%2017.7%2019.1%2022.6%207.1%203.9%2015.1%205.8%2024%205.8%2016.6%200%2030.8-6.9%2042.5-20.8%2011.7-13.8%2020-32.7%2024.9-75.1-7.7%2012.2-17.3%2020.8-28.7%2025.8-11.4%205-23.7%207.4-36.8%207.4-26.7%200-47.7-8.3-63.3-24.9-15.5-16.6-23.3-37.9-23.3-64.1%200-25.1%207.7-47.1%2023-66.2%2015.3-19%2037.9-28.6%2067.8-28.6%2040.3%200%2068.1%2018.1%2083.4%2054.4%208.5%2019.9%2012.7%2044.9%2012.7%2074.9%200%2033.8-5.1%2063.8-15.3%2089.9-16.9%2043.5-45.5%2065.2-85.8%2065.2-27%200-47.6-7.1-61.6-21.2-10-10.1-16.4-22-19.3-35.8-2-9.6%204-19.1%2013.5-21.6l0.9%200.1z%20m103-74.4c9.4-7.5%2014.1-20.6%2014.1-39.3%200-16.8-4.2-29.3-12.7-37.5S360.6%20412%20347.5%20412c-14%200-25.2%204.7-33.4%2014.1-8.2%209.4-12.4%2022-12.4%2037.7%200%2014.9%203.6%2026.7%2010.9%2035.5%207.2%208.8%2018.8%2013.1%2034.6%2013.1%2011.4%200%2021.8-3.8%2031.2-11.3zM646.6%20414.4c12.4%2022.8%2018.5%2054%2018.5%2093.7%200%2037.6-5.6%2068.7-16.8%2093.3-16.2%2035.3-42.8%2052.9-79.6%2052.9-33.2%200-57.9-14.4-74.2-43.3-13.5-24.1-20.3-56.4-20.3-97%200-31.4%204.1-58.4%2012.2-80.9%2015.2-42%2042.7-63%2082.5-63%2035.9%200%2061.8%2014.8%2077.7%2044.3z%20m-40.2%20173.3c9.4-13.9%2014-39.9%2014-78%200-27.4-3.4-50-10.1-67.7-6.8-17.7-19.9-26.6-39.4-26.6-17.9%200-31%208.4-39.3%2025.2-8.3%2016.8-12.4%2041.6-12.4%2074.3%200%2024.6%202.6%2044.4%207.9%2059.4%208.1%2022.8%2022%2034.3%2041.6%2034.3%2015.7%200%2028.3-7%2037.7-20.9zM803.3%20387.2c11.2%2011.3%2016.8%2025%2016.8%2041.2%200%2016.7-5.8%2030.7-17.5%2041.8C791%20481.4%20777.4%20487%20762%20487c-17.1%200-31.2-5.8-42.1-17.4-10.9-11.6-16.4-25.1-16.4-40.6%200-16.5%205.8-30.4%2017.3-41.7%2011.5-11.3%2025.3-17%2041.2-17%2016.3%200%2030.1%205.7%2041.3%2016.9zM739.5%20451c6.2%206.2%2013.7%209.3%2022.5%209.3%208.4%200%2015.8-3.1%2022.1-9.3%206.3-6.2%209.4-13.7%209.4-22.6%200-8.5-3.1-15.9-9.3-22.1-6.2-6.2-13.6-9.3-22.2-9.3s-16.1%203.1-22.4%209.3c-6.3%206.2-9.4%2013.7-9.4%2022.6-0.1%208.4%203%2015.8%209.3%2022.1z'%20p-id='1823'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
|
|
12
12
|
const scaleSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307195033'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8116'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M887.081%20904.791a25.8%2025.8%200%200%201-18.376-7.619L705.618%20734.075l-4.163%203.369c-58.255%2047.18-131.522%2073.16-206.32%2073.16-181.07%200-328.377-147.308-328.377-328.367%200-181.068%20147.308-328.376%20328.377-328.376%20181.063%200%20328.376%20147.308%20328.376%20328.376%200%2077.072-27.412%20152.07-77.169%20211.17l-3.522%204.173%20162.719%20162.744a25.846%2025.846%200%200%201%207.639%2018.432%2026.081%2026.081%200%200%201-26.051%2026.045l-0.046-0.01zM495.13%20205.957c-152.336%200-276.27%20123.935-276.27%20276.27%200%20152.33%20123.934%20276.27%20276.27%20276.27%20152.34%200%20276.275-123.94%20276.275-276.27%200-152.335-123.935-276.27-276.275-276.27z'%20fill='%23ffffff'%20p-id='8117'%3e%3c/path%3e%3cpath%20d='M626.545%20508.355h-262.83a26.127%2026.127%200%200%201%200-52.255h262.83a26.127%2026.127%200%200%201%200%2052.255z'%20fill='%23ffffff'%20p-id='8118'%3e%3c/path%3e%3cpath%20d='M495.13%20639.77a26.127%2026.127%200%200%201-26.128-26.128v-262.83a26.127%2026.127%200%200%201%2052.255%200v262.835a26.127%2026.127%200%200%201-26.127%2026.123z'%20fill='%23ffffff'%20p-id='8119'%3e%3c/path%3e%3c/svg%3e";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, normalizeClass, toDisplayString, renderList, createBlock, normalizeStyle } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { ap as LineDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index
|
|
7
|
+
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-2mRh7iFw.js";
|
|
8
8
|
const _hoisted_1 = { class: "ks-row-middle" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "widget-line",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { F as FormItem, y as PaginationFormatOptions } from "./index
|
|
8
|
-
import { S as SizeEditor } from "./size-editor-
|
|
9
|
-
import { A as AlignEditor } from "./align-editor-
|
|
10
|
-
import { F as FontEditor } from "./font-editor-
|
|
7
|
+
import { F as FormItem, y as PaginationFormatOptions } from "./index-2mRh7iFw.js";
|
|
8
|
+
import { S as SizeEditor } from "./size-editor-lAn0ECzs.js";
|
|
9
|
+
import { A as AlignEditor } from "./align-editor-DBWdbAV_.js";
|
|
10
|
+
import { F as FontEditor } from "./font-editor-gcStnuue.js";
|
|
11
11
|
const _hoisted_1 = { class: "pl-6px" };
|
|
12
12
|
const _hoisted_2 = { class: "pl-6px" };
|
|
13
13
|
const DefaultCustomFormat = "Page ${no} / ${total}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
4
|
-
import { F as FIELD_TYPE,
|
|
2
|
+
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-2mRh7iFw.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CA6EtCtR.js";
|
|
4
|
+
import { F as FIELD_TYPE, ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-2mRh7iFw.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js";
|
|
4
|
+
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "@gct-paas/form-base";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
4
|
-
import { F as FIELD_TYPE,
|
|
2
|
+
import { F as FormItem } from "./index-2mRh7iFw.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-CA6EtCtR.js";
|
|
4
|
+
import { F as FIELD_TYPE, ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "widget-rangelimit",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index
|
|
2
|
+
import { F as FormItem } from "./index-2mRh7iFw.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "widget-serialnumber",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, F as FormItem } from "./index
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { S as SizeEditor } from "./size-editor-
|
|
5
|
-
import { A as AlignEditor } from "./align-editor-
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
2
|
+
import { u as useSpreadSheet, F as FormItem } from "./index-2mRh7iFw.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CQTuzWX2.js";
|
|
4
|
+
import { S as SizeEditor } from "./size-editor-lAn0ECzs.js";
|
|
5
|
+
import { A as AlignEditor } from "./align-editor-DBWdbAV_.js";
|
|
6
|
+
import { F as FontEditor } from "./font-editor-gcStnuue.js";
|
|
7
7
|
const _hoisted_1 = { class: "pl-6px" };
|
|
8
8
|
const _hoisted_2 = { class: "pl-6px" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index
|
|
3
|
-
import { F as FIELD_TYPE,
|
|
2
|
+
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-2mRh7iFw.js";
|
|
3
|
+
import { F as FIELD_TYPE, aq as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-CMil2DLD.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/excel",
|
|
3
|
-
"version": "0.1.40-beta.
|
|
3
|
+
"version": "0.1.40-beta.27",
|
|
4
4
|
"description": "GCT Excel online form rendering",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@ant-design/icons-vue": "^6.1.0",
|
|
47
47
|
"@gct-paas/core": "0.1.6-dev.41",
|
|
48
|
-
"@gct-paas/form-base": "0.1.6-beta.
|
|
48
|
+
"@gct-paas/form-base": "0.1.6-beta.5",
|
|
49
49
|
"@gct-paas/scss": "0.1.6-dev.41",
|
|
50
50
|
"@panzoom/panzoom": "^4.6.2",
|
|
51
51
|
"@revolist/vue3-datagrid": "^4.24.2",
|