@gct-paas/excel 0.1.40-beta.1 → 0.1.40-beta.4
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-DXIDs5gk.js → BaseComponent-BcxRArl9.js} +2 -2
- package/dist/{VueVideoPlayer-DhyIm-g1.js → VueVideoPlayer-DjIr6Duj.js} +2 -2
- package/dist/{align-editor-BcbgVXRp.js → align-editor-99-Qs6Pu.js} +1 -1
- package/dist/{barcode-design-BiCt0aS7.js → barcode-design-BSkeINVU.js} +2 -2
- package/dist/base/index.es.js +308 -194
- package/dist/{diagonal-design-DmvWALIE.js → diagonal-design-CR7fiPt_.js} +2 -2
- package/dist/{dynamic-table-action-fDIIzS2J.js → dynamic-table-action-D8JTGNuH.js} +292 -138
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js} +577 -344
- package/dist/{edit.utils-CXmmCnxE-DxArFSxZ.js → edit.utils-CXmmCnxE-5YnG7Mod.js} +1 -1
- package/dist/excel.css +3294 -4159
- package/dist/{exceljs.min-CjKNZPlo.js → exceljs.min-Ckn1GGo5.js} +2 -2
- package/dist/{font-editor-DseGyVgB.js → font-editor-CIv2e95b.js} +3 -3
- package/dist/{image-design-Dr-L9AdG.js → image-design-Bg1m0JLl.js} +2 -2
- package/dist/{index-C6dFliaf.js → index-0kZW-sd4.js} +1 -1
- package/dist/{index-D5IrgJyh.js → index-6wZ6Y0W3.js} +2 -2
- package/dist/{index-r4MF8_-h.js → index-B4XMnrfl.js} +2 -2
- package/dist/{index-BctQMMgh.js → index-BA_C4l6u.js} +2 -2
- package/dist/{index-DKf57IGi.js → index-BIraya7K.js} +1 -1
- package/dist/{index-BdJ4ouEl.js → index-BZQrpoEw.js} +1 -1
- package/dist/{index-iRameN0x.js → index-BunphFuS.js} +2 -2
- package/dist/{index-C8OPhJhI.js → index-BzdZIihy.js} +1 -1
- package/dist/{index-BPgCZjqV.js → index-C7oAVon1.js} +1 -1
- package/dist/{index-lwjRRvDn.js → index-C8H-5Adw.js} +2 -2
- package/dist/{index-C4tVTc9U.js → index-CRLydLMf.js} +2 -2
- package/dist/{index-DKRpaNo1.js → index-CTyszA6m.js} +1 -1
- package/dist/{index-DrmR7WIs.js → index-CUPuw1ng.js} +2 -2
- package/dist/{index-CScWLXnC.js → index-CYb8lY4k.js} +2 -2
- package/dist/{index-BY7RGawr.js → index-CeCk3V8r.js} +2 -2
- package/dist/{index-CAdGL3Vp.js → index-CeMM7qev.js} +2 -2
- package/dist/{index-JkPJqZ_5.js → index-Cjor8DKp.js} +2 -2
- package/dist/{index-Nytm1-X9.js → index-CsIKJvLT.js} +53 -5
- package/dist/{index-B34ZIwqL.js → index-CzgWwoNs.js} +2 -2
- package/dist/{index-CJ9CrORT.js → index-D7DYLntD.js} +3 -3
- package/dist/{index-DcjOJuDw.js → index-DFJ19IKk.js} +2 -2
- package/dist/{index-DsCTXMxB.js → index-DG8I3apA.js} +1 -1
- package/dist/{index-BjI7JCne.js → index-DHvbmtBs.js} +4 -4
- package/dist/{index-C70T1sVm.js → index-DLZKDd1x.js} +26308 -28538
- package/dist/{index-BxZ3M7eP.js → index-DN83FHdO.js} +1 -1
- package/dist/{index-CXh-4yX8.js → index-DZxTtwzU.js} +3 -3
- package/dist/{index-CewKz2Ro.js → index-DbXQsLWI.js} +1 -1
- package/dist/{index-CX_eR36M.js → index-DgRCrbjc.js} +2 -2
- package/dist/{index-4acBM2Lp.js → index-Do1A3RoM.js} +2 -2
- package/dist/{index-CEmRRPE7.js → index-DprbnBOa.js} +2 -2
- package/dist/{index-hcCJUBne.js → index-DtwSR71M.js} +1 -1
- package/dist/{index-DNC5VG8P.js → index-OHHmkknK.js} +2 -2
- package/dist/{index-0W-MEvEf.js → index-k_OAhCop.js} +2 -2
- package/dist/{index-DqLVW6ej.js → index-mxtsA6kq.js} +3 -3
- package/dist/{index-B29_mID7.js → index-rYGo3i42.js} +3 -3
- package/dist/index.es.js +12 -10
- package/dist/{mb-render-BdRsSczc.js → mb-render-BW27j2qa.js} +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js} +1 -1
- package/dist/{pagination-design-9Z_iRIKM.js → pagination-design-C59mi1du.js} +2 -2
- package/dist/paper-widget-design-BNmIT8FC.js +4 -0
- package/dist/{print-runtime-instance-BBOww4jg.js → print-runtime-instance-CT3EaCDJ.js} +1 -1
- package/dist/{print-snapshot-renderer-DGt44saz.js → print-snapshot-renderer-Bm-fpHUt.js} +3 -3
- package/dist/{qrcode-design-qbUjPX-B.js → qrcode-design-Brx73IFy.js} +1 -1
- package/dist/{revo-grid.entry-RzymRzb0.js → revo-grid.entry-CREHbVNI.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CxTEXm8Q.js → revogr-attribution_7.entry-CBUFDouS.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DQEid83u.js → revogr-clipboard_3.entry-C9D5KQdr.js} +2 -2
- package/dist/{revogr-data_4.entry-ASovYZWH.js → revogr-data_4.entry-DpskbAdh.js} +2 -2
- package/dist/{revogr-filter-panel.entry-j_V74kgz.js → revogr-filter-panel.entry-CqdNtCzb.js} +1 -1
- package/dist/seal-design-XhQfBjxE.js +4 -0
- package/dist/{serialnumber-design-DXKTYOY7.js → serialnumber-design-CJM0MP9w.js} +1 -1
- package/dist/shared/index.es.js +22 -22
- package/dist/{single-field-drop-CLjaHjL-.js → single-field-drop-B82L3Pe3.js} +2 -2
- package/dist/{size-editor-C62H_eRP.js → size-editor-CybxvVWn.js} +1 -1
- package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-consume/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +19 -0
- package/dist/src/domain/table/design/autofill-expander.d.ts +2 -0
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +6 -0
- package/dist/src/domain/table/index.d.ts +1 -1
- package/dist/src/domain/table/types.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
- package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +8 -2
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +7 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/src/shared/components/Signature/logic/index.d.ts +14 -0
- package/dist/{sub-table-factory-sn1Ek1c9.js → sub-table-factory-BrwMeqWM.js} +29 -65
- package/dist/{text-design-CwHfwel0.js → text-design-Qem3wirw.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BHDq1lM3.js → throttle-Cpk1LoGk-Bm1w1voP.js} +1 -1
- package/dist/{timediff-design-8kCO3aXz.js → timediff-design-CiGukjs9.js} +1 -1
- package/dist/{trace-like-wrapper-CxPz9Trr.js → trace-like-wrapper-DrUDJDgX.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js → value-editor.vue_vue_type_style_index_0_lang-DXBstCLM.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-CRxh3tC2.js → widget-barcode-DH30z4yi.js} +4 -4
- package/dist/{widget-diagonal-CO586oV2.js → widget-diagonal-Bv-Eb2Fi.js} +3 -3
- package/dist/{widget-image-CE6kVnu5.js → widget-image-67Q9gRCG.js} +5 -5
- package/dist/{widget-line-Br4oIssb.js → widget-line-DP3dKXNd.js} +2 -2
- package/dist/{widget-pagination-BHwjrBV5.js → widget-pagination-B66PcWXU.js} +5 -5
- package/dist/{widget-power-BySYsE15.js → widget-power-yRy8897o.js} +3 -3
- package/dist/{widget-qrcode-D6b0T_Qa.js → widget-qrcode-DN3R8N41.js} +3 -3
- package/dist/{widget-rangelimit-DTH7nrqC.js → widget-rangelimit-zWZZMPvn.js} +3 -3
- package/dist/{widget-serialnumber-DVtxhNC3.js → widget-serialnumber-p7wB7-Bz.js} +1 -1
- package/dist/{widget-text-gBGybAXk.js → widget-text-BQO0Rf5A.js} +5 -5
- package/dist/{widget-timediff-aY-maVkE.js → widget-timediff-C1VxWKle.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-BGotQsIf.js +0 -4
- package/dist/seal-design-DP1XaAY8.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IBomEntry, IFormTmplBom, IMaterialConsumeData } from './types';
|
|
2
|
-
import { BaseCoreComponent } from '../../types';
|
|
2
|
+
import { BaseCoreComponent, IMaterialConsumeTableInfo } from '../../types';
|
|
3
3
|
import { MaterialConsumeTableController } from './material-consume-table-controller';
|
|
4
4
|
import { FormInstBomResponse } from '@gct-paas/api/apaas';
|
|
5
5
|
import { MaterialConsumptionPatternEnum } from '../../constant';
|
|
@@ -25,6 +25,10 @@ export declare class FormTmplBomController {
|
|
|
25
25
|
field2TableMap: Record<string, string>;
|
|
26
26
|
/** 默认物料消耗模式 */
|
|
27
27
|
defaultMCPattern: MaterialConsumptionPatternEnum;
|
|
28
|
+
/** 表单实例身份与 BOM 数据是否存在无关,模板展示也会创建完整控制器。 */
|
|
29
|
+
hasFormInstance: boolean;
|
|
30
|
+
/** 按页面中的表解析后的配置,页面与打印共用。 */
|
|
31
|
+
private resolvedTmplBomList;
|
|
28
32
|
constructor();
|
|
29
33
|
/**
|
|
30
34
|
* 创建独立的打印展示控制器:不请求 BOM/历史消耗,不初始化或修正已填报行。
|
|
@@ -57,13 +61,14 @@ export declare class FormTmplBomController {
|
|
|
57
61
|
* @readonly
|
|
58
62
|
*/
|
|
59
63
|
get enableSequenceLoading(): boolean;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*/
|
|
64
|
+
private createDefaultConfig;
|
|
65
|
+
/** 有实例时读取实例配置,无实例时仅创建默认展示控制器。 */
|
|
63
66
|
init(data: {
|
|
64
|
-
formInstBom
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
formInstBom?: FormInstBomResponse | null;
|
|
68
|
+
materialConsumeTableList: IMaterialConsumeTableInfo[];
|
|
69
|
+
hasFormInstance: boolean;
|
|
70
|
+
operationId?: string;
|
|
71
|
+
materialNo?: string;
|
|
67
72
|
productQty?: number;
|
|
68
73
|
}): Promise<void>;
|
|
69
74
|
/**
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RuntimeFieldMetadata } from '../../runtime/runtime-field-registry';
|
|
2
|
+
/** detail 中的交易实例关联灭菌记录,初始化时统一回填所有工作表的主、子表字段。 */
|
|
3
|
+
export declare function fillSterilizationDate(txnInstId: unknown, metadata: RuntimeFieldMetadata, formState: Record<string, unknown>): Promise<void>;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { setFormulaParamsConfig } from './formula-params-cache';
|
|
2
|
+
interface DeviceParamConfig {
|
|
3
|
+
customFieldKey: string;
|
|
4
|
+
lowerLimit?: number | string | null;
|
|
5
|
+
upperLimit?: number | string | null;
|
|
6
|
+
}
|
|
7
|
+
type FetchDeviceParamLimits = (id: any) => Promise<DeviceParamConfig[] | null>;
|
|
8
|
+
export declare function configureDeviceParamCheck(fetcher: FetchDeviceParamLimits): void;
|
|
3
9
|
export declare function registerFormulaFuncs(): void;
|
|
@@ -13,6 +13,8 @@ export interface RuntimeAsyncTaskSnapshot {
|
|
|
13
13
|
sheetId?: string;
|
|
14
14
|
/** 提交是否必须等待此任务完成。 */
|
|
15
15
|
required: boolean;
|
|
16
|
+
/** 任务失败后是否阻止提交;仅对 required 任务生效。 */
|
|
17
|
+
blockOnFailure: boolean;
|
|
16
18
|
status: RuntimeAsyncTaskStatus;
|
|
17
19
|
/** rejected 状态对应的原始错误。 */
|
|
18
20
|
error?: unknown;
|
|
@@ -24,8 +26,10 @@ export interface RunRuntimeAsyncTaskOptions {
|
|
|
24
26
|
fieldIdentity?: BusinessFieldIdentity;
|
|
25
27
|
/** 任务对应的工作表。 */
|
|
26
28
|
sheetId?: string;
|
|
27
|
-
/** 默认 true;为 true
|
|
29
|
+
/** 默认 true;为 true 时提交事务会等待它结束。 */
|
|
28
30
|
required?: boolean;
|
|
31
|
+
/** 默认 true;设为 false 时仍等待任务结束,但失败不阻止后续提交。 */
|
|
32
|
+
blockOnFailure?: boolean;
|
|
29
33
|
/** 默认 true;同 key 新任务开始前是否主动终止旧任务。 */
|
|
30
34
|
replace?: boolean;
|
|
31
35
|
}
|
|
@@ -56,7 +60,7 @@ export declare class RuntimeAsyncTaskCoordinator {
|
|
|
56
60
|
* 等待全部 required 任务达到稳定状态。
|
|
57
61
|
*
|
|
58
62
|
* 一轮任务完成后的字段回填可能触发新的公式或远程任务,因此这里循环读取任务表,直到
|
|
59
|
-
* 没有新的 pending required
|
|
63
|
+
* 没有新的 pending required 任务。稳定后只检查需要阻断提交的失败项。
|
|
60
64
|
*/
|
|
61
65
|
waitForRequired(keyPrefix?: string): Promise<void>;
|
|
62
66
|
/** 返回只读用途的任务快照,避免外部代码操作内部 Promise 和 AbortController。 */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** 当前真实多 Sheet 运行时格式版本。缺少版本号的历史数据按 v1 解析。 */
|
|
2
2
|
export declare const MULTI_SHEET_SCHEMA_VERSION: 2;
|
|
3
|
+
export declare const MAX_RUNTIME_SHEETS = 100;
|
|
4
|
+
export declare const MAX_RUNTIME_SHEET_TITLE_LENGTH = 255;
|
|
3
5
|
export type RuntimeNodeMap = Record<string, any>;
|
|
4
6
|
export interface RuntimeSheetV2 {
|
|
5
7
|
sheetId: string;
|
|
@@ -17,7 +17,7 @@ export declare class RuntimeFieldInitializer {
|
|
|
17
17
|
private scheduled;
|
|
18
18
|
private readonly unsubscribe;
|
|
19
19
|
constructor(record: RuntimeInstanceRecord, info: IBasicInfoItem, metadata: InitializerMetadata);
|
|
20
|
-
/**
|
|
20
|
+
/** 初次加载等待全部目标;默认值请求失败保留在任务中心供诊断,但不阻止提交。 */
|
|
21
21
|
initialize(): Promise<void>;
|
|
22
22
|
private request;
|
|
23
23
|
private readDefault;
|
|
@@ -36,6 +36,7 @@ export declare class RuntimeValidationService {
|
|
|
36
36
|
requestLive(trigger?: 'change' | 'blur', immediate?: boolean): void;
|
|
37
37
|
private flushLive;
|
|
38
38
|
requestDisplay(immediate?: boolean): void;
|
|
39
|
+
private logBackgroundError;
|
|
39
40
|
pruneComments(): void;
|
|
40
41
|
settleAfterModeSwitch(runChangeLive?: boolean): Promise<void>;
|
|
41
42
|
private cancelScheduled;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { FormModelController } from '../../hooks/form-model';
|
|
2
2
|
import { ParseRuleProps, ScanParamType } from '../../types/common/base';
|
|
3
|
+
/** 不传 scene 时保持默认列 */
|
|
4
|
+
export interface ScanRecordPickerOptions {
|
|
5
|
+
scene?: 'inventory';
|
|
6
|
+
}
|
|
3
7
|
/**
|
|
4
8
|
* 子表绘制的基类
|
|
5
9
|
*/
|
|
@@ -33,7 +37,7 @@ export interface ISubTableRender {
|
|
|
33
37
|
/**
|
|
34
38
|
* 扫码多条候选时选择一行
|
|
35
39
|
*/
|
|
36
|
-
openMultiRowsModal(opts: {
|
|
40
|
+
openMultiRowsModal(opts: ScanRecordPickerOptions & {
|
|
37
41
|
rows: any[];
|
|
38
42
|
title?: string;
|
|
39
43
|
}): Promise<any | undefined>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ScanRecordPickerOptions } from '../../../../../nocode-base/src';
|
|
2
|
+
import { VxeGridPropTypes } from 'vxe-table';
|
|
3
|
+
type ScanPickerScene = NonNullable<ScanRecordPickerOptions['scene']>;
|
|
4
|
+
/** 未指定场景时使用弹窗默认列。 */
|
|
5
|
+
export declare function getScanColumns(scene?: ScanPickerScene): VxeGridPropTypes.Columns | undefined;
|
|
6
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { FormModelController, MCRender, ParseRuleProps } from '../../../../../no
|
|
|
2
2
|
import { IOverlayContainer } from '../../../../../shared/types';
|
|
3
3
|
import { ScanParamType } from '../../../../../nocode-base/src/types/common/base.ts';
|
|
4
4
|
export declare class McWebRender extends MCRender {
|
|
5
|
-
/**
|
|
5
|
+
/** overlay 弹层按实例记录,form-base 弹层通过其全局管理器关闭。 */
|
|
6
6
|
modals: Array<{
|
|
7
7
|
ownerId?: string;
|
|
8
8
|
modal: IOverlayContainer;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ISheet } from '../types/sheets';
|
|
2
|
+
export interface PlacedFormField {
|
|
3
|
+
field: string;
|
|
4
|
+
fieldType: string;
|
|
5
|
+
model: string;
|
|
6
|
+
subFieldKey?: string;
|
|
7
|
+
}
|
|
8
|
+
/** 按 bizType(优先)或 fieldType 查询直接放置的字段;不包含组件配置引用的字段。 */
|
|
9
|
+
export declare function collectPlacedFieldsByType(sheets: readonly ISheet[], fieldType: string): PlacedFormField[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PlacedFormField } from './placed-fields';
|
|
2
|
+
/** 从已保存的 Excel 设计稿提取指定类型的拖入字段,兼容单 Sheet 旧稿。 */
|
|
3
|
+
export declare function collectPlacedFieldsFromDesignerJson(designerJson: string | object | null | undefined, fieldType: string): PlacedFormField[];
|
|
4
|
+
/** 按模板 ID 查询已保存表单中拖入的指定类型字段,无需打开设计画布。 */
|
|
5
|
+
export declare function getPlacedFieldsByType(fieldType: string, templateId: string): Promise<PlacedFormField[]>;
|
|
6
|
+
/** 按模板 ID 查询已保存表单中拖入的印章字段。 */
|
|
7
|
+
export declare function getPlacedSealFields(templateId: string): Promise<PlacedFormField[]>;
|
package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts
CHANGED
|
@@ -7,8 +7,5 @@ export declare function useRuleProps({ props, selectByCode, }: {
|
|
|
7
7
|
/** 根据编码查询对象,并设置选中,有匹配的项则返回true */
|
|
8
8
|
selectByCode: (code: string, signal: AbortSignal) => Promise<boolean>;
|
|
9
9
|
}): {
|
|
10
|
-
mode: import('vue').Ref<"scan" | "dropdown", "scan" | "dropdown">;
|
|
11
|
-
allowSwitch: import('vue').ComputedRef<boolean>;
|
|
12
|
-
handleEnter: (val: any) => void;
|
|
13
10
|
handleSearchScan: (value: string, isCurrent?: () => boolean) => Promise<boolean>;
|
|
14
11
|
};
|
|
@@ -7,8 +7,10 @@ type __VLS_Props = {
|
|
|
7
7
|
errorPaths?: string[];
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
change: (sheetId: string,
|
|
10
|
+
change: (sheetId: string, source: Event | HTMLElement) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onChange?: ((sheetId: string,
|
|
13
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
onChange?: ((sheetId: string, source: Event | HTMLElement) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
tabsViewport: HTMLDivElement;
|
|
15
|
+
}, HTMLElement>;
|
|
14
16
|
export default _default;
|
|
@@ -36,6 +36,19 @@ export declare function addSignHistory(opts: {
|
|
|
36
36
|
* @return {*}
|
|
37
37
|
*/
|
|
38
38
|
export declare function completeSignInfo(partial: PartialSignInfo): Promise<SignInfo>;
|
|
39
|
+
export interface ImageSize {
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
}
|
|
43
|
+
/** 无图签名的显示尺寸,canvas 以两倍像素绘制 */
|
|
44
|
+
export declare const FALLBACK_SIGN_DISPLAY_SIZE: {
|
|
45
|
+
readonly width: 120;
|
|
46
|
+
readonly height: 68;
|
|
47
|
+
};
|
|
48
|
+
/** 横向“姓名 + 日期”兜底签名按文字内容决定宽度,保持默认高度。 */
|
|
49
|
+
export declare function getFormSignFallbackSize(name: string, time?: number | string, height?: 68): ImageSize;
|
|
50
|
+
/** 仅姓名兜底签名按最长一行文字宽度和左右各 8px 留白确定画布宽度。 */
|
|
51
|
+
export declare function getSimpleNameFallbackSize(name: string, height: number): ImageSize;
|
|
39
52
|
/**
|
|
40
53
|
* 获取预览url地址
|
|
41
54
|
*
|
|
@@ -52,4 +65,5 @@ export declare function resolveSignatureImageDirection(direction?: string): Sign
|
|
|
52
65
|
* 表单签名/报工人/仓管员字段预览(无图片时按兜底签名配置绘制)
|
|
53
66
|
* 无配置时默认「仅用户名」。
|
|
54
67
|
*/
|
|
68
|
+
export declare function getFormSignPreviewSize(name: string, time?: number | string, fallbackSignType?: FallbackSignTypeEnum | string, signatureImageDirection?: SignatureImageDirectionEnum | string): ImageSize;
|
|
55
69
|
export declare function getFormSignPreviewUrl(url: any, name: any, callback?: any, time?: number | string, fallbackSignType?: FallbackSignTypeEnum | string, signatureImageDirection?: SignatureImageDirectionEnum | string): any;
|
|
@@ -1,62 +1,7 @@
|
|
|
1
1
|
import { shallowReactive } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { aI as SubTableActionMenuTypeEnum, aJ as getMenuByAction, aK as SubTableActionEnum, aL as resolveScanFillData, ao as SubTableCore, aM as buildDefaultMapFromProfile, aN as buildFieldStatusFromProfile, aO as getRowHandlersForFieldChange, aP as getInsertSubMenu, aQ as resolveScanAdjustType, aR as resolveScanQty, aS as toDateOnly, aT as getCopySubMenu, aU as resolveScanParsedValue, aV as isProductBatchEmptyRow } from "./dynamic-table-action-D8JTGNuH.js";
|
|
3
|
+
import { p as api, cO as F$1, cP as SCAN_ROW_CONTENT_FIELDS, cQ as F$2, cR as FILL_FROM_TARGET_PRODUCT_OPTION, cS as F$3, cT as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cU as F$4, cV as F$5, cW as FILL_FROM_SOURCE_PRODUCT_OPTION, cX as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cY as FILL_FROM_INVENTORY_OPTION, cZ as FILL_FROM_PART_OPTION, c_ as FILL_FROM_INVENTORY_OPTION$1, c$ as TABLE_TYPE, d0 as FILL_FROM_INVENTORY_OPTION$2, b4 as F$6, d1 as INVENTORY_BASE_FIELDS, d2 as resolveGroupByWarehouse, d3 as AUTO_LOAD_READONLY_SELECT_FIELDS, b3 as STOCKTAKE_DIMENSION, b0 as getParseRuleInfo, d4 as buildFillFromInventoryOption, c3 as calcFillData, d5 as resolveStocktakeInventoryApi, b1 as getParseRuleValue, d6 as F$7, d7 as FILL_FROM_INVENTORY_OPTION$3, d8 as LOCKED_INPUT_FIELDS, c9 as extractKeywordFromQueryData, d9 as composeProductionLotListQuery, aM as resolveLotDisplayLabel, da as F$8, db as isProductManuallyEditable, dc as applyFillFromMfgOrderOption, dd as applyFillFromOption$1, de as applyFillFromProductOption, aU as LOT_CONTAINER_ROLE, df as MATERIAL_CONTAINER_ID, dg as F$9, dh as PRODUCT_QUICK_SEARCH_FIELDS, di as PRODUCT_QUICK_SEARCH_EXP, dj as isProductManuallyEditable$1, dk as applyFillFromMaterialNoOption, dl as applyFillFromProductOption$1, dm as F$a, dn as FILL_FROM_INVENTORY_OPTION$4, Z as FormTypeEnum, aH as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
|
-
function isBlank$4(value) {
|
|
6
|
-
return value === void 0 || value === null || value === "";
|
|
7
|
-
}
|
|
8
|
-
function matchFieldKey(match, fieldKey) {
|
|
9
|
-
if (!match.fieldKey) return false;
|
|
10
|
-
const keys = Array.isArray(match.fieldKey) ? match.fieldKey : [match.fieldKey];
|
|
11
|
-
return keys.includes(fieldKey);
|
|
12
|
-
}
|
|
13
|
-
function findFieldProfile(profile, fieldKey) {
|
|
14
|
-
return profile?.fields?.find((item) => matchFieldKey(item.match, fieldKey));
|
|
15
|
-
}
|
|
16
|
-
function buildDefaultMapFromProfile(profile, paramsConfig) {
|
|
17
|
-
const result = {};
|
|
18
|
-
if (!profile?.contextAssignments?.length) return result;
|
|
19
|
-
const assignments = profile.contextAssignments.filter(
|
|
20
|
-
(item) => item.when === "onRowInit"
|
|
21
|
-
);
|
|
22
|
-
for (const assignment of assignments) {
|
|
23
|
-
const value = paramsConfig?.[assignment.paramKey];
|
|
24
|
-
if (isBlank$4(value)) continue;
|
|
25
|
-
result[assignment.fieldKey] = value;
|
|
26
|
-
}
|
|
27
|
-
return result;
|
|
28
|
-
}
|
|
29
|
-
function buildFieldStatusFromProfile(params) {
|
|
30
|
-
const { profile, field } = params;
|
|
31
|
-
const result = {};
|
|
32
|
-
if (!profile) return result;
|
|
33
|
-
const fieldProfile = findFieldProfile(profile, field);
|
|
34
|
-
if (fieldProfile?.defaultProps) {
|
|
35
|
-
if (fieldProfile.defaultProps.disabled === true || fieldProfile.defaultProps.fieldDisabled === true) {
|
|
36
|
-
result.disabled = true;
|
|
37
|
-
}
|
|
38
|
-
if (fieldProfile.defaultProps.readonly === true || fieldProfile.defaultProps.fieldReadonly === true) {
|
|
39
|
-
result.readonly = true;
|
|
40
|
-
}
|
|
41
|
-
if (fieldProfile.defaultProps.required === false) {
|
|
42
|
-
result.required = false;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
const rules = (profile.runtimeRules ?? []).filter(
|
|
46
|
-
(rule) => !rule.when || rule.when === "always" || rule.when === "onRowInit"
|
|
47
|
-
);
|
|
48
|
-
for (const rule of rules) {
|
|
49
|
-
if (!rule.fields.includes(field)) continue;
|
|
50
|
-
if (rule.effect.readonly) result.readonly = true;
|
|
51
|
-
if (rule.effect.disabled) result.disabled = true;
|
|
52
|
-
if (rule.effect.required !== void 0) result.required = rule.effect.required;
|
|
53
|
-
}
|
|
54
|
-
return result;
|
|
55
|
-
}
|
|
56
|
-
function getRowHandlersForFieldChange(profile, changedField) {
|
|
57
|
-
if (!profile?.rowHandlers?.length) return [];
|
|
58
|
-
return profile.rowHandlers.filter((item) => item.when === "onFieldChange").filter((item) => !item.watch?.length || item.watch.includes(changedField)).map((item) => item.handler);
|
|
59
|
-
}
|
|
60
5
|
class RuntimeInstanceController {
|
|
61
6
|
context;
|
|
62
7
|
persistenceCoordinator;
|
|
@@ -977,7 +922,9 @@ class StocktakeTableCore extends ProfileDrivenSubTableCore {
|
|
|
977
922
|
this.error({ content: SCAN_NOT_FOUND_MSG$2 });
|
|
978
923
|
return;
|
|
979
924
|
}
|
|
980
|
-
const selected = await this.pickScanRecord(records
|
|
925
|
+
const selected = await this.pickScanRecord(records, {
|
|
926
|
+
scene: "inventory"
|
|
927
|
+
});
|
|
981
928
|
if (!selected) return;
|
|
982
929
|
const scanAdjustType = resolveScanAdjustType(input);
|
|
983
930
|
const scanQty = resolveScanQty(parsed.qty, selected.qty_);
|
|
@@ -1143,7 +1090,9 @@ class AllocateTableCore extends ProfileDrivenSubTableCore {
|
|
|
1143
1090
|
this.error({ content: SCAN_NOT_FOUND_MSG$2 });
|
|
1144
1091
|
return;
|
|
1145
1092
|
}
|
|
1146
|
-
const selected = await this.pickScanRecord(records
|
|
1093
|
+
const selected = await this.pickScanRecord(records, {
|
|
1094
|
+
scene: "inventory"
|
|
1095
|
+
});
|
|
1147
1096
|
if (!selected) return;
|
|
1148
1097
|
const row = buildAllocateScanRow(selected, parsed, resolveScanFillData(input));
|
|
1149
1098
|
this.appendOrFillScanRow(row);
|
|
@@ -1577,13 +1526,19 @@ function createMaterialContainerLoader() {
|
|
|
1577
1526
|
function isBlank$1(value) {
|
|
1578
1527
|
return value === void 0 || value === null || value === "";
|
|
1579
1528
|
}
|
|
1529
|
+
function normalizeProductionDate(row) {
|
|
1530
|
+
if (!isBlank$1(row[F$8.productionDate])) {
|
|
1531
|
+
row[F$8.productionDate] = toDateOnly(row[F$8.productionDate]);
|
|
1532
|
+
}
|
|
1533
|
+
return row;
|
|
1534
|
+
}
|
|
1580
1535
|
const SCAN_NOT_FOUND_MSG = "扫描的批次/物料不存在";
|
|
1581
1536
|
function isProductionLotOrSn(record) {
|
|
1582
1537
|
const type = record.production_identification_type_;
|
|
1583
1538
|
return type === "LOT" || type === "SN";
|
|
1584
1539
|
}
|
|
1585
1540
|
function buildProductionContainerRow(record, parsed, fillData) {
|
|
1586
|
-
return {
|
|
1541
|
+
return normalizeProductionDate({
|
|
1587
1542
|
[F$8.productionContainer]: record.lot_sn_id_ ?? record.production_container_id_,
|
|
1588
1543
|
[F$8.product]: record.product_id_,
|
|
1589
1544
|
[F$8.productName]: record.product_id_name_,
|
|
@@ -1591,15 +1546,15 @@ function buildProductionContainerRow(record, parsed, fillData) {
|
|
|
1591
1546
|
[F$8.productSpec]: record.product_id_spec_,
|
|
1592
1547
|
[F$8.mfgOrderCode]: record.mfg_order_code_,
|
|
1593
1548
|
[F$8.qty]: parsed.qty ?? record.qty_,
|
|
1594
|
-
[F$8.productionDate]:
|
|
1549
|
+
[F$8.productionDate]: record.production_date_,
|
|
1595
1550
|
[F$8.materialContainerNo]: void 0,
|
|
1596
1551
|
[MATERIAL_CONTAINER_ID]: void 0,
|
|
1597
1552
|
[F$8.mfgOrder]: void 0,
|
|
1598
1553
|
...fillData
|
|
1599
|
-
};
|
|
1554
|
+
});
|
|
1600
1555
|
}
|
|
1601
1556
|
function buildMaterialContainerRow(record, parsed, fillData) {
|
|
1602
|
-
return {
|
|
1557
|
+
return normalizeProductionDate({
|
|
1603
1558
|
[F$8.materialContainerNo]: record.material_no_,
|
|
1604
1559
|
[MATERIAL_CONTAINER_ID]: record.production_identification_id_,
|
|
1605
1560
|
[F$8.product]: record.product_id_,
|
|
@@ -1611,7 +1566,7 @@ function buildMaterialContainerRow(record, parsed, fillData) {
|
|
|
1611
1566
|
[F$8.qty]: parsed.qty ?? record.qty_,
|
|
1612
1567
|
[F$8.productionContainer]: void 0,
|
|
1613
1568
|
...fillData
|
|
1614
|
-
};
|
|
1569
|
+
});
|
|
1615
1570
|
}
|
|
1616
1571
|
class PretreatmentListTableCore extends ProfileDrivenSubTableCore {
|
|
1617
1572
|
/** 绘制UI相关工具,复用调拨表扫码弹窗 */
|
|
@@ -1671,16 +1626,23 @@ class PretreatmentListTableCore extends ProfileDrivenSubTableCore {
|
|
|
1671
1626
|
const source = option._item ?? option;
|
|
1672
1627
|
if (field === F$8.mfgOrder) {
|
|
1673
1628
|
applyFillFromMfgOrderOption(rowData, source);
|
|
1629
|
+
normalizeProductionDate(rowData);
|
|
1674
1630
|
return;
|
|
1675
1631
|
}
|
|
1676
1632
|
if (field === F$8.productionContainer || field === F$8.materialContainerNo) {
|
|
1677
1633
|
applyFillFromOption$1(rowData, source);
|
|
1634
|
+
normalizeProductionDate(rowData);
|
|
1678
1635
|
return;
|
|
1679
1636
|
}
|
|
1680
1637
|
if (field === F$8.product) {
|
|
1681
1638
|
applyFillFromProductOption(rowData, source);
|
|
1682
1639
|
}
|
|
1683
1640
|
}
|
|
1641
|
+
prepareSubmitFormState(formState) {
|
|
1642
|
+
const rows = formState[this.subFieldKey];
|
|
1643
|
+
if (!Array.isArray(rows)) return;
|
|
1644
|
+
rows.forEach((row) => normalizeProductionDate(row));
|
|
1645
|
+
}
|
|
1684
1646
|
async onScan(input) {
|
|
1685
1647
|
const parsed = resolveScanParsedValue(input);
|
|
1686
1648
|
if (!parsed || !hasProductionIdentificationScanKey(parsed)) {
|
|
@@ -1933,7 +1895,9 @@ class WarehouseOutTableCore extends ProfileDrivenSubTableCore {
|
|
|
1933
1895
|
this.error({ content: SCAN_NOT_FOUND_MSG$2 });
|
|
1934
1896
|
return;
|
|
1935
1897
|
}
|
|
1936
|
-
const selected = await this.pickScanRecord(records
|
|
1898
|
+
const selected = await this.pickScanRecord(records, {
|
|
1899
|
+
scene: "inventory"
|
|
1900
|
+
});
|
|
1937
1901
|
if (!selected) return;
|
|
1938
1902
|
const scanQty = resolveScanQty(parsed.qty, selected.qty_);
|
|
1939
1903
|
const fillData = resolveScanFillData(input);
|
|
@@ -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 { R as PaperWidgeValueType, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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-DLZKDd1x.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 { el as isObject, dL as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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 { an as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { F as FIELD_TYPE, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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-DLZKDd1x.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-DLZKDd1x.js";
|
|
4
|
+
import { R as PaperWidgeValueType, au as ExpressionModeEnum, aw as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-
|
|
2
|
-
import { A, B, P, S, j, h, i, u } from "../index-
|
|
1
|
+
import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-CsIKJvLT.js";
|
|
2
|
+
import { A, B, P, S, j, h, i, u } from "../index-CsIKJvLT.js";
|
|
3
3
|
import { message } from "ant-design-vue";
|
|
4
|
-
import {
|
|
4
|
+
import { K as useModal, a9 as _export_sfc, p as api, cf as getParseRuleConfig, b1 as getParseRuleValue, c3 as calcFillData, aZ as getLotLockedReason } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
5
5
|
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass, createVNode, createTextVNode, reactive, onMounted, createBlock, unref, withCtx, withKeys, withDirectives, createCommentVNode, vShow, computed, mergeProps, toHandlers } from "vue";
|
|
6
6
|
import { cloneDeep } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
@@ -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 {
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-DLZKDd1x.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DXBstCLM.js";
|
|
4
|
+
import { q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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-99-Qs6Pu.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,12 +1,12 @@
|
|
|
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-DLZKDd1x.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
|
-
import { F as FIELD_TYPE,
|
|
4
|
+
import { F as FIELD_TYPE, a9 as _export_sfc, ak as DiagonalDirection, ao as DiagonalVertex, cq as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import { message } from "ant-design-vue";
|
|
8
8
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
9
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
9
|
+
import { S as SingleFieldDrop } from "./single-field-drop-B82L3Pe3.js";
|
|
10
10
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "diagonal-name-editor",
|
|
12
12
|
props: {
|
|
@@ -1,14 +1,14 @@
|
|
|
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-DLZKDd1x.js";
|
|
3
|
+
import { S as SizeEditor } from "./size-editor-CybxvVWn.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
|
-
import {
|
|
5
|
+
import { al as WidgetImageSizeMode, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
import "@gct-paas/form-base";
|
|
9
|
-
import { u as useWebUpload } from "./index-
|
|
9
|
+
import { u as useWebUpload } from "./index-CsIKJvLT.js";
|
|
10
10
|
import "vxe-table";
|
|
11
|
-
import { C as CloseOutlined } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
11
|
+
import { C as CloseOutlined } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js";
|
|
12
12
|
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";
|
|
13
13
|
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";
|
|
14
14
|
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 { am as LineDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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-DLZKDd1x.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_53d7e66c_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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-DLZKDd1x.js";
|
|
8
|
+
import { S as SizeEditor } from "./size-editor-CybxvVWn.js";
|
|
9
|
+
import { A as AlignEditor } from "./align-editor-99-Qs6Pu.js";
|
|
10
|
+
import { F as FontEditor } from "./font-editor-CIv2e95b.js";
|
|
11
11
|
const _hoisted_1 = { class: "pl-6px" };
|
|
12
12
|
const _hoisted_2 = { class: "pl-6px" };
|
|
13
13
|
const DefaultCustomFormat = "Page ${no} / ${total}";
|