@gct-paas/excel 0.1.39-beta.8 → 0.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/dist/{BaseComponent-Dri2NRAY.js → BaseComponent-vcQYIdIV.js} +2 -2
  2. package/dist/{VueVideoPlayer-DPJyefX-.js → VueVideoPlayer-i-e8JA1p.js} +2 -2
  3. package/dist/{align-editor-BvGUsoz3.js → align-editor-BHe6RawU.js} +1 -1
  4. package/dist/{barcode-design-C8V6Zzz_.js → barcode-design-B2QebWCm.js} +2 -2
  5. package/dist/base/index.es.js +624 -264
  6. package/dist/{diagonal-design-DXfWVZvL.js → diagonal-design-Di8yoq2q.js} +2 -2
  7. package/dist/{dynamic-table-action-BQfJFJ4j.js → dynamic-table-action-ixEHBudI.js} +1041 -368
  8. package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js} +1039 -1409
  9. package/dist/{edit.utils-CXmmCnxE-CvJGxh2v.js → edit.utils-CXmmCnxE-Dq-jFR6z.js} +1 -1
  10. package/dist/excel.css +616 -351
  11. package/dist/{exceljs.min-BfRvRgvB.js → exceljs.min-Biokosoj.js} +2 -2
  12. package/dist/{font-editor-C-R6CAVG.js → font-editor-B8l8oZMc.js} +3 -3
  13. package/dist/{image-design-A8_t4F3t.js → image-design-BI6ld3iT.js} +2 -2
  14. package/dist/{index-DFNVqlgA.js → index-0QNiqIDD.js} +1 -1
  15. package/dist/{index-Caygbi4F.js → index-4DBBFAz2.js} +2 -2
  16. package/dist/{index-DERot0lx.js → index-5-uaHPu2.js} +2 -2
  17. package/dist/{index-H2nF4SP8.js → index-849t15XD.js} +2 -2
  18. package/dist/{index-C3k8QiLF.js → index-ACzLWeSq.js} +2 -2
  19. package/dist/{index-DkwkBWEP.js → index-B-2uV1do.js} +2 -2
  20. package/dist/{index-bH6ERrWd.js → index-B-in7hrx.js} +2 -2
  21. package/dist/{index-B-Kwr44d.js → index-B1qdPPcT.js} +1 -1
  22. package/dist/{index-B_GyS-E2.js → index-B2-4fQY4.js} +1 -1
  23. package/dist/{index-Bl5PEJrh.js → index-BC-WTGht.js} +6 -3
  24. package/dist/{index-CJdwj04Z.js → index-BWibgLgR.js} +1 -1
  25. package/dist/{index-DWVhXPb-.js → index-BY-gcezU.js} +2 -2
  26. package/dist/{index-BLmR9aiG.js → index-B_8k4BAM.js} +1 -1
  27. package/dist/{index-CTASuQPn.js → index-BaiFrPHF.js} +1 -1
  28. package/dist/{index-C-k8dFLv.js → index-BgCtUVN4.js} +2 -2
  29. package/dist/{index-DkDetjLm.js → index-Boq5CJjh.js} +3 -3
  30. package/dist/{index-CfGLFrkj.js → index-BwN8dOzz.js} +1 -1
  31. package/dist/{index-CCBueGEh.js → index-Bz-WrsTI.js} +6 -5
  32. package/dist/{index-DqkPgoly.js → index-C4P86Gyr.js} +2 -2
  33. package/dist/{index-CRloZ0HP.js → index-C68Ddx67.js} +2 -2
  34. package/dist/{index-afC-rHNa.js → index-CDYkiSAG.js} +2 -2
  35. package/dist/{index-DpMV2Mnw.js → index-CKQht60B.js} +6 -5
  36. package/dist/{index-BUK-p31i.js → index-CM549sqd.js} +3 -2
  37. package/dist/{index-DmBx27M9.js → index-CNNAdkvj.js} +2 -2
  38. package/dist/{index-Bs8Xs0bo.js → index-CTmqu_l0.js} +1 -1
  39. package/dist/{index-DY7Xkd8n.js → index-CbwfhoZc.js} +2 -2
  40. package/dist/{index-D9444n1O.js → index-CbzO_9_B.js} +2 -2
  41. package/dist/{index-BE-3UQG0.js → index-CqJMdCBq.js} +50 -3
  42. package/dist/{index-BYH3tYm7.js → index-DJWuge8D.js} +5 -7
  43. package/dist/{index-D9OUmbBs.js → index-DdeccRDL.js} +1 -1
  44. package/dist/{index-P9ZTqL1i.js → index-T4KiEmZK.js} +3 -3
  45. package/dist/{index-DsLZqLga.js → index-aGBVmmIs.js} +2 -2
  46. package/dist/{index-luggjixn.js → index-bLaVMu7L.js} +2454 -1959
  47. package/dist/{index-DPHGDezJ.js → index-n8fyvJSm.js} +1 -1
  48. package/dist/{index-D1jXU0ka.js → index-rMox9ntl.js} +2 -2
  49. package/dist/index.es.js +2 -2
  50. package/dist/{mb-render-DybPk-KF.js → mb-render-BhZlu6KQ.js} +8 -2
  51. package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-BEX02BrW.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-1sgb8Alq.js} +8 -1
  52. package/dist/{pagination-design-CpZhqHAZ.js → pagination-design-DvqAcQIp.js} +2 -2
  53. package/dist/paper-widget-design-D_kqGHiq.js +4 -0
  54. package/dist/{print-runtime-instance-DP1Lp8e2.js → print-runtime-instance-CmWFXzPQ.js} +1 -1
  55. package/dist/{print-snapshot-renderer-Cf73dKcd.js → print-snapshot-renderer-DsksM5OJ.js} +3 -3
  56. package/dist/{qrcode-design-BDVFS0l9.js → qrcode-design-CuDgywl1.js} +1 -1
  57. package/dist/{revo-grid.entry-EvEm_y2W.js → revo-grid.entry-BqAGRHgf.js} +1 -1
  58. package/dist/{revogr-attribution_7.entry-DgE6PR1L.js → revogr-attribution_7.entry-Dl-LcgkK.js} +3 -3
  59. package/dist/{revogr-clipboard_3.entry-CNDxeVhF.js → revogr-clipboard_3.entry-CT01IdhF.js} +2 -2
  60. package/dist/{revogr-data_4.entry-DKwV9DMF.js → revogr-data_4.entry-fH5V7Zgk.js} +2 -2
  61. package/dist/{revogr-filter-panel.entry-1SAhHHfl.js → revogr-filter-panel.entry-DiC81RU-.js} +1 -1
  62. package/dist/seal-design-CZ8RLM62.js +4 -0
  63. package/dist/{serialnumber-design-Cs3B0ZNE.js → serialnumber-design-CVO53aOV.js} +1 -1
  64. package/dist/shared/index.es.js +23 -21
  65. package/dist/{single-field-drop-Ijh7_RRT.js → single-field-drop-B51_f5z6.js} +2 -2
  66. package/dist/{size-editor-B2TfX4_r.js → size-editor-BeSNExEt.js} +1 -1
  67. package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
  68. package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +1 -7
  69. package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/fields.d.ts +2 -0
  70. package/dist/src/nocode-base/src/core/factory/sub-table-factory.d.ts +2 -0
  71. package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +2 -1
  72. package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
  73. package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
  74. package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +9 -7
  75. package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +18 -14
  76. package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +20 -7
  77. package/dist/src/nocode-base/src/hooks/material-consume/types.d.ts +6 -0
  78. package/dist/src/nocode-base/src/hooks/material-consume-object/bom-validator.d.ts +4 -3
  79. package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +19 -0
  80. package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
  81. package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
  82. package/dist/src/nocode-base/src/interface/transform.d.ts +14 -1
  83. package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +2 -0
  84. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +3 -1
  85. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +4 -0
  86. package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -2
  87. package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +2 -0
  88. package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
  89. package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
  90. package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +2 -0
  91. package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +2 -2
  92. package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +8 -0
  93. package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +1 -0
  94. package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
  95. package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +35 -0
  96. package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +16 -1
  97. package/dist/src/online-form/src/views/designer/modules/base/designer-wrapper.vue.d.ts +1 -0
  98. package/dist/src/online-form/src/views/designer/modules/duplicate-field-notice.vue.d.ts +2 -0
  99. package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/object-init/hooks/useObjectInit.d.ts +2 -0
  100. package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +12 -0
  101. package/dist/src/online-form/src/views/designer/modules/xlsx-import-summary.vue.d.ts +11 -0
  102. package/dist/src/online-form/src/views/designer/types/index.d.ts +2 -0
  103. package/dist/src/online-form/src/views/designer/types/sheets.d.ts +2 -0
  104. package/dist/src/online-form/src/views/designer/utils/cell-field-placements.d.ts +12 -0
  105. package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +9 -3
  106. package/dist/src/online-form/src/views/render/__components__/_field_/trace/composables/useReferenceLabel.d.ts +4 -0
  107. package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
  108. package/dist/src/shared/enum/field-type.d.ts +2 -0
  109. package/dist/src/shared/enum/index.d.ts +2 -0
  110. package/dist/src/shared/enum/product-type.d.ts +9 -0
  111. package/dist/src/shared/enum/production-identification.d.ts +19 -0
  112. package/dist/src/shared/utils/cell-wrap.d.ts +9 -0
  113. package/dist/src/shared/utils/grid-size.d.ts +2 -0
  114. package/dist/src/shared/utils/lot2sn.d.ts +14 -1
  115. package/dist/src/shared/utils/query-filter.d.ts +24 -0
  116. package/dist/{sub-table-factory-CNkIUJTC.js → sub-table-factory-sC8iCJWs.js} +38 -18
  117. package/dist/{text-design-BaDQZeS2.js → text-design-DK_QWoro.js} +5 -4
  118. package/dist/{throttle-Cpk1LoGk-Ch-cqj2G.js → throttle-Cpk1LoGk-BreMfOwP.js} +1 -1
  119. package/dist/{timediff-design-DASqeRcJ.js → timediff-design-Iwg0BNOb.js} +1 -1
  120. package/dist/{trace-like-wrapper-B1n1LPhU.js → trace-like-wrapper-D0pPaeII.js} +5 -2
  121. package/dist/{value-editor.vue_vue_type_style_index_0_lang-_7d452gl.js → value-editor.vue_vue_type_style_index_0_lang-B4gIt1fw.js} +2 -2
  122. package/dist/web-render/index.es.js +3 -3
  123. package/dist/{widget-barcode-D3nGm6wi.js → widget-barcode-DSBywfHB.js} +4 -4
  124. package/dist/{widget-diagonal-CrTfSw6w.js → widget-diagonal-DiBbiuEA.js} +3 -3
  125. package/dist/{widget-image-Bq3B9IR0.js → widget-image-DUtfyekO.js} +5 -5
  126. package/dist/{widget-line-BE8D0_Mn.js → widget-line-6Ngl_4mJ.js} +2 -2
  127. package/dist/{widget-pagination-CJZ-nXas.js → widget-pagination-DXmnbvtx.js} +5 -5
  128. package/dist/{widget-power-CUVtkygi.js → widget-power-DbsY-uwC.js} +3 -3
  129. package/dist/{widget-qrcode-DDqtIjp6.js → widget-qrcode-LsBgDKds.js} +3 -3
  130. package/dist/{widget-rangelimit-CiXyiZ4L.js → widget-rangelimit-DJ_5u-vA.js} +3 -3
  131. package/dist/{widget-serialnumber-DdV7rw4j.js → widget-serialnumber-TEVkPcgx.js} +1 -1
  132. package/dist/{widget-text-B5pDJ4lb.js → widget-text-DD-xuVwh.js} +5 -5
  133. package/dist/{widget-timediff-D_BS7hfR.js → widget-timediff-DQV78xgH.js} +2 -2
  134. package/package.json +2 -2
  135. package/dist/paper-widget-design-o-K-d1mV.js +0 -4
  136. package/dist/seal-design-D2dtOjZh.js +0 -4
@@ -386,6 +386,7 @@ export declare function useDynamicSubTablePanel(): {
386
386
  sequence_loading_enabled_?: boolean | undefined;
387
387
  entries_: {
388
388
  id_: string;
389
+ parent_id_?: string | undefined;
389
390
  sort_num_: number;
390
391
  product_id_: string;
391
392
  product_code_: string;
@@ -393,6 +394,7 @@ export declare function useDynamicSubTablePanel(): {
393
394
  product_version_: string;
394
395
  product_spec_: string;
395
396
  qty_required_: number;
397
+ uom_id_?: string | undefined;
396
398
  deleted_?: boolean | undefined;
397
399
  type_: "by_lot" | "by_number" | "view";
398
400
  consume_enabled_?: boolean | undefined;
@@ -545,6 +547,7 @@ export declare function useDynamicSubTablePanel(): {
545
547
  sequence_loading_enabled_?: boolean | undefined;
546
548
  entries_: {
547
549
  id_: string;
550
+ parent_id_?: string | undefined;
548
551
  sort_num_: number;
549
552
  product_id_: string;
550
553
  product_code_: string;
@@ -552,6 +555,7 @@ export declare function useDynamicSubTablePanel(): {
552
555
  product_version_: string;
553
556
  product_spec_: string;
554
557
  qty_required_: number;
558
+ uom_id_?: string | undefined;
555
559
  deleted_?: boolean | undefined;
556
560
  type_: "by_lot" | "by_number" | "view";
557
561
  consume_enabled_?: boolean | undefined;
@@ -1073,6 +1077,7 @@ export declare function useDynamicSubTablePanel(): {
1073
1077
  sequence_loading_enabled_?: boolean | undefined;
1074
1078
  entries_: {
1075
1079
  id_: string;
1080
+ parent_id_?: string | undefined;
1076
1081
  sort_num_: number;
1077
1082
  product_id_: string;
1078
1083
  product_code_: string;
@@ -1080,6 +1085,7 @@ export declare function useDynamicSubTablePanel(): {
1080
1085
  product_version_: string;
1081
1086
  product_spec_: string;
1082
1087
  qty_required_: number;
1088
+ uom_id_?: string | undefined;
1083
1089
  deleted_?: boolean | undefined;
1084
1090
  type_: "by_lot" | "by_number" | "view";
1085
1091
  consume_enabled_?: boolean | undefined;
@@ -1232,6 +1238,7 @@ export declare function useDynamicSubTablePanel(): {
1232
1238
  sequence_loading_enabled_?: boolean | undefined;
1233
1239
  entries_: {
1234
1240
  id_: string;
1241
+ parent_id_?: string | undefined;
1235
1242
  sort_num_: number;
1236
1243
  product_id_: string;
1237
1244
  product_code_: string;
@@ -1239,6 +1246,7 @@ export declare function useDynamicSubTablePanel(): {
1239
1246
  product_version_: string;
1240
1247
  product_spec_: string;
1241
1248
  qty_required_: number;
1249
+ uom_id_?: string | undefined;
1242
1250
  deleted_?: boolean | undefined;
1243
1251
  type_: "by_lot" | "by_number" | "view";
1244
1252
  consume_enabled_?: boolean | undefined;
@@ -1445,6 +1453,7 @@ export declare function useDynamicSubTablePanel(): {
1445
1453
  sequence_loading_enabled_?: boolean | undefined;
1446
1454
  entries_: {
1447
1455
  id_: string;
1456
+ parent_id_?: string | undefined;
1448
1457
  sort_num_: number;
1449
1458
  product_id_: string;
1450
1459
  product_code_: string;
@@ -1452,6 +1461,7 @@ export declare function useDynamicSubTablePanel(): {
1452
1461
  product_version_: string;
1453
1462
  product_spec_: string;
1454
1463
  qty_required_: number;
1464
+ uom_id_?: string | undefined;
1455
1465
  deleted_?: boolean | undefined;
1456
1466
  type_: "by_lot" | "by_number" | "view";
1457
1467
  consume_enabled_?: boolean | undefined;
@@ -1603,6 +1613,7 @@ export declare function useDynamicSubTablePanel(): {
1603
1613
  sequence_loading_enabled_?: boolean | undefined;
1604
1614
  entries_: {
1605
1615
  id_: string;
1616
+ parent_id_?: string | undefined;
1606
1617
  sort_num_: number;
1607
1618
  product_id_: string;
1608
1619
  product_code_: string;
@@ -1610,6 +1621,7 @@ export declare function useDynamicSubTablePanel(): {
1610
1621
  product_version_: string;
1611
1622
  product_spec_: string;
1612
1623
  qty_required_: number;
1624
+ uom_id_?: string | undefined;
1613
1625
  deleted_?: boolean | undefined;
1614
1626
  type_: "by_lot" | "by_number" | "view";
1615
1627
  consume_enabled_?: boolean | undefined;
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ sheets: Array<{
3
+ title: string;
4
+ rows: number;
5
+ cols: number;
6
+ fields: number;
7
+ }>;
8
+ warnings: string[];
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ export default _default;
@@ -331,6 +331,8 @@ export interface ISelectionPaperData {
331
331
  * @interface CopyData
332
332
  */
333
333
  export interface ICopyData extends ISelectionPaperData {
334
+ /** 本次剪切的标识;字段仅允许通过当前会话中尚未使用的剪切数据移动。 */
335
+ cutId?: string;
334
336
  /**
335
337
  * 电子表单id
336
338
  * @author lingxiaoming
@@ -12,5 +12,7 @@ export interface DesignerSheets {
12
12
  /** 主业务模型及其字段元数据属于整份设计稿,不跟随 Sheet。 */
13
13
  mainModelKey?: string;
14
14
  modelMetaMap?: IModelMetaMap;
15
+ /** 用户关闭历史重复字段提示后,随设计稿保存;不参与填报运行时。 */
16
+ duplicateFieldNoticeDismissed?: boolean;
15
17
  sheets?: ISheet[];
16
18
  }
@@ -0,0 +1,12 @@
1
+ import { IBindField } from '../../../../../nocode-base/src';
2
+ import { ICell, IPaper } from '../types';
3
+ interface CellFieldPlacement {
4
+ cell: ICell;
5
+ content: ICell | NonNullable<ICell['multiFieldsContent']>[number];
6
+ hidden: boolean;
7
+ }
8
+ /** 合并区域仅左上角是实际填报位置,覆盖的字段保留供拆分恢复。 */
9
+ export declare function getCellFieldPlacements(paper: IPaper): CellFieldPlacement[];
10
+ /** 重新拖入被合并覆盖的字段时释放旧位置,防止拆分后恢复成重复绑定。 */
11
+ export declare function clearHiddenCellFieldPlacements(paper: IPaper, field: IBindField): void;
12
+ export {};
@@ -18,15 +18,21 @@ export type ImportedFieldMeta = {
18
18
  type PaperViewportRange = [string, string];
19
19
  export declare class XlsxParser {
20
20
  static extractPaperFields(paper: IPaper | null, fields: ImportedFieldMeta[] | null): CellField[];
21
- static xlsx2Sheets(file: any, keyList?: string[]): Promise<{
21
+ static xlsx2Sheets(file: any, keyList?: string[], options?: {
22
+ withFields?: boolean;
23
+ }): Promise<{
22
24
  sheets: {
23
25
  title: string;
24
26
  paper: IPaper;
25
27
  paperFields: CellField[];
26
28
  }[];
27
29
  fields: ImportedFieldMeta[] | null;
30
+ warnings: string[];
28
31
  }>;
29
- static sheetToPaper(paperSheet: any, xlsxData: any): {
32
+ static sheetToPaper(paperSheet: any, xlsxData: any, size?: {
33
+ rows: number;
34
+ cols: number;
35
+ }): {
30
36
  floatingFields?: import('../types').FloatingSealField[];
31
37
  sheetId: string;
32
38
  orientation: import('../../../../../nocode-base/src').Orientation;
@@ -62,7 +68,7 @@ export declare class XlsxParser {
62
68
  * @param sheet
63
69
  * @returns
64
70
  */
65
- static sheetToFields(sheet: any, keyList: string[]): ImportedFieldMeta[];
71
+ static sheetToFields(sheet: any, keyList: string[], warnings?: string[]): ImportedFieldMeta[];
66
72
  /**
67
73
  * 字段信息转换为元数据
68
74
  * @param field
@@ -0,0 +1,4 @@
1
+ /** 标签只属于同一行的同一个 ID;搜索列表不能充当已选标签的存储。 */
2
+ export declare function useReferenceLabel(rowSource: () => Record<string, any>, field: string, dataField?: string): {
3
+ syncSelectedLabel: (option: any, source: "user" | "restore") => void;
4
+ };
@@ -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
  };
@@ -581,6 +581,8 @@ export declare const FieldIconMap: {
581
581
  qty_required: string;
582
582
  qty_consumed: string;
583
583
  qty: string;
584
+ object_type: string;
585
+ material_consume: string;
584
586
  model_relation: string;
585
587
  external_reference_no: string;
586
588
  warehouse: string;
@@ -1,6 +1,8 @@
1
1
  import { FIELD_TYPE } from './field-type';
2
2
  export { Platform, ButtonStyle, ButtonSize, ButtonType, ButtonType_vant, ButtonOpeEnum, } from './button';
3
3
  export { SignatureTypeEnum } from './signature';
4
+ export { ProductTypeEnum } from './product-type';
5
+ export { ProductionIdentificationTypeEnum } from './production-identification';
4
6
  export { CardControlEnum, onlineFormMasterModelTypeEnum, RecordNoGenerateEnum, } from './online-form';
5
7
  export { SEARCH_SEVICE } from './search';
6
8
  export { GctMqttTopsEnum } from './mqtt';
@@ -0,0 +1,9 @@
1
+ /** 产品类型(product_type_) */
2
+ export declare enum ProductTypeEnum {
3
+ /** 原材料 */
4
+ RAW_MATERIAL = "rawMaterial",
5
+ /** 半成品 */
6
+ SEMI_FINISHED_PRODUCT = "semiFinishedProduct",
7
+ /** 产成品 */
8
+ FINISHED_PRODUCT = "finishedProduct"
9
+ }
@@ -0,0 +1,19 @@
1
+ /** 生产标识类型(production_identification_type_) */
2
+ export declare enum ProductionIdentificationTypeEnum {
3
+ /** 物料批 */
4
+ MATERIAL = "MATERIAL",
5
+ /** 生产批次 */
6
+ LOT = "LOT",
7
+ /** 生产序列号 */
8
+ SN = "SN",
9
+ /** 灭菌批 */
10
+ STERILIZATION = "STERILIZATION",
11
+ /** 检验批 */
12
+ INSPECTION_CONTAINER = "INSPECTION_CONTAINER",
13
+ /** 旧检验批取值 */
14
+ LEGACY_INSPECTION = "inspection",
15
+ /** 包装箱 */
16
+ PACK_BOX = "PACK_BOX",
17
+ /** 医疗器械唯一标识 */
18
+ UDI = "UDI"
19
+ }
@@ -0,0 +1,9 @@
1
+ type CellWrapStyle = {
2
+ whiteSpace?: unknown;
3
+ wordBreak?: unknown;
4
+ 'white-space'?: unknown;
5
+ 'word-break'?: unknown;
6
+ };
7
+ /** 新模板使用 pre-wrap + break-all;旧模板的 pre-line 同样表示已开启换行。 */
8
+ export declare function isCellAutoLineBreak(style?: CellWrapStyle | null): boolean;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ /** 负列宽在旧表格中不占宽度;归零保留其内容和区域引用,不能补成一整列。 */
2
+ export declare function normalizeGridColumnWidth(value: unknown): number;
@@ -1,3 +1,4 @@
1
+ import { buildLikeQuery } from './query-filter';
1
2
  export declare const LOT_CONTAINER_ROLE: {
2
3
  /** 普通批次 */
3
4
  readonly NORMAL: "normal";
@@ -15,7 +16,7 @@ export declare const LOT_CONTAINER_ROLE: {
15
16
  /**
16
17
  * 对齐 word buildLikeQuery:过滤条件写入 exp,搜索用 iLike,两者 AND。
17
18
  */
18
- export declare function buildLotLikeQuery(searchFields: string[], keyword: string, extraQuery?: Record<string, any>): {
19
+ export declare function buildLotLikeQuery(...args: Parameters<typeof buildLikeQuery>): {
19
20
  queryData: Record<string, any>;
20
21
  exp: string;
21
22
  };
@@ -39,6 +40,18 @@ export declare function composeProductionLotListQuery(queryData?: Record<string,
39
40
  queryData: Record<string, any>;
40
41
  exp: string;
41
42
  };
43
+ /** 物料批下拉与 Word 使用相同的类型 OR 分组和统一查询构建方式。 */
44
+ export declare function buildMaterialLotListQuery(keyword?: string, extraQuery?: Record<string, any>): {
45
+ queryData: Record<string, any>;
46
+ exp: string;
47
+ };
48
+ /** 兼容已有 queryData/exp 和旧批号字段名,过滤部分仍由统一构建方法生成。 */
49
+ export declare function composeMaterialLotListQuery(queryData?: Record<string, any>, exp?: string): {
50
+ queryData: {
51
+ [x: string]: any;
52
+ };
53
+ exp: string;
54
+ };
42
55
  /** 关联子批次在界面展示父批次名,但实际值仍保留子批次。 */
43
56
  export declare function resolveLotDisplayLabel(record: Record<string, any> | null | undefined, fallback?: unknown): string;
44
57
  export declare function normalizeProductionContainerOptions(options?: any[]): any[];
@@ -0,0 +1,24 @@
1
+ /** 下拉接口使用的查询结构。 */
2
+ export interface FieldQuery {
3
+ queryData?: Record<string, unknown>;
4
+ exp?: string;
5
+ }
6
+ /** 空 values 明确表示无候选,空条件列表表示不追加过滤。 */
7
+ export interface FieldQueryFilter {
8
+ field: string;
9
+ operator: 'in';
10
+ values: readonly string[];
11
+ }
12
+ /** 空 IN 可能被接口视为不筛选,使用占位值表达无候选。 */
13
+ export declare const EMPTY_QUERY_VALUE = "__excel_no_matching_query_value__";
14
+ /** 与 Word 相同的约定:搜索键 OR,过滤键 AND,__orExpKeys 指定过滤中的 OR 分组。 */
15
+ export declare function buildLikeQuery(searchFields: string[], keyword: string, extraQuery?: Record<string, any>, options?: {
16
+ filterCombine?: 'and' | 'or';
17
+ }): {
18
+ queryData: Record<string, any>;
19
+ exp: string;
20
+ };
21
+ /** 兼容已有 exp 入参时统一合并,避免破坏搜索 OR 或重复堆叠 AND。 */
22
+ export declare function combineQueryExpressions(...expressions: string[]): string;
23
+ /** 与 Word 一致:附加过滤按 AND 合并,同字段 IN 取交集。 */
24
+ export declare function mergeQueryFilters(query: FieldQuery, filters: readonly FieldQueryFilter[]): FieldQuery;
@@ -1,6 +1,6 @@
1
1
  import { shallowReactive } from "vue";
2
- import { aG as SubTableActionMenuTypeEnum, aH as getMenuByAction, aI as SubTableActionEnum, aJ as resolveScanFillData, am as SubTableCore, aK as getInsertSubMenu, aL as resolveScanAdjustType, aM as resolveScanQty, aN as toDateOnly, aO as getCopySubMenu, aP as resolveScanParsedValue, aQ as isProductBatchEmptyRow } from "./dynamic-table-action-BQfJFJ4j.js";
3
- import { E as api, cM as F$1, cN as SCAN_ROW_CONTENT_FIELDS, cO as F$2, cP as F$3, cQ as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cR as F$4, cS as F$5, cT as FILL_FROM_SOURCE_PRODUCT_OPTION, cU as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cV as FILL_FROM_INVENTORY_OPTION, cW as FILL_FROM_PART_OPTION, cX as FILL_FROM_INVENTORY_OPTION$1, cY as TABLE_TYPE, cZ as FILL_FROM_INVENTORY_OPTION$2, b4 as F$6, c_ as INVENTORY_BASE_FIELDS, c$ as resolveGroupByWarehouse, d0 as AUTO_LOAD_READONLY_SELECT_FIELDS, b3 as STOCKTAKE_DIMENSION, b0 as getParseRuleInfo, d1 as buildFillFromInventoryOption, c2 as calcFillData, d2 as resolveStocktakeInventoryApi, b1 as getParseRuleValue, d3 as F$7, d4 as FILL_FROM_INVENTORY_OPTION$3, c8 as extractKeywordFromQueryData, d5 as composeProductionLotListQuery, aK as resolveLotDisplayLabel, d6 as F$8, d7 as isProductManuallyEditable, d8 as applyFillFromMfgOrderOption, d9 as applyFillFromOption$1, da as applyFillFromProductOption, aU as LOT_CONTAINER_ROLE, db as MATERIAL_CONTAINER_ID, dc as F$9, dd as PRODUCT_QUICK_SEARCH_FIELDS, de as PRODUCT_QUICK_SEARCH_EXP, df as isProductManuallyEditable$1, dg as applyFillFromMaterialNoOption, dh as applyFillFromProductOption$1, di as F$a, dj as FILL_FROM_INVENTORY_OPTION$4, Y as FormTypeEnum, aF as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
2
+ import { aY as SubTableActionMenuTypeEnum, aZ as getMenuByAction, a_ as SubTableActionEnum, a$ as resolveScanFillData, aD as SubTableCore, b0 as getInsertSubMenu, b1 as resolveScanAdjustType, b2 as resolveScanQty, b3 as toDateOnly, b4 as hasSubtableBusinessData, b5 as getCopySubMenu, b6 as resolveScanParsedValue, b7 as isProductBatchEmptyRow } from "./dynamic-table-action-ixEHBudI.js";
3
+ import { E as api, cw as F$1, cx as SCAN_ROW_CONTENT_FIELDS, cy as F$2, cz as F$3, cA as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cB as F$4, cC as F$5, cD as FILL_FROM_SOURCE_PRODUCT_OPTION, cE as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cF as FILL_FROM_INVENTORY_OPTION, cG as FILL_FROM_PART_OPTION, cH as FILL_FROM_INVENTORY_OPTION$1, cI as TABLE_TYPE, cJ as FILL_FROM_INVENTORY_OPTION$2, b3 as F$6, cK as INVENTORY_BASE_FIELDS, cL as resolveGroupByWarehouse, cM as AUTO_LOAD_READONLY_SELECT_FIELDS, b2 as STOCKTAKE_DIMENSION, a$ as getParseRuleInfo, cN as buildFillFromInventoryOption, bS as calcFillData, cO as resolveStocktakeInventoryApi, b0 as getParseRuleValue, cP as F$7, cQ as FILL_FROM_INVENTORY_OPTION$3, bY as extractKeywordFromQueryData, cR as composeProductionLotListQuery, aH as resolveLotDisplayLabel, cS as F$8, cT as isProductManuallyEditable, cU as applyFillFromMfgOrderOption, cV as applyFillFromOption$1, cW as applyFillFromProductOption, aZ as ProductionIdentificationTypeEnum, cX as mergeQueryFilters, cY as composeMaterialLotListQuery, aR as LOT_CONTAINER_ROLE, cZ as MATERIAL_CONTAINER_ID, c_ as F$9, c$ as PRODUCT_QUICK_SEARCH_FIELDS, d0 as PRODUCT_QUICK_SEARCH_EXP, d1 as isProductManuallyEditable$1, d2 as applyFillFromMaterialNoOption, d3 as applyFillFromProductOption$1, d4 as F$a, d5 as FILL_FROM_INVENTORY_OPTION$4, X as FormTypeEnum, d as getBusinessProfileByRefModelType, aC as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
4
4
  import { has, merge } from "lodash-es";
5
5
  function isBlank$4(value) {
6
6
  return value === void 0 || value === null || value === "";
@@ -968,7 +968,9 @@ class StocktakeTableCore extends ProfileDrivenSubTableCore {
968
968
  this.error({ content: SCAN_NOT_FOUND_MSG$2 });
969
969
  return;
970
970
  }
971
- const selected = await this.pickScanRecord(records);
971
+ const selected = await this.pickScanRecord(records, {
972
+ scene: "inventory"
973
+ });
972
974
  if (!selected) return;
973
975
  const scanAdjustType = resolveScanAdjustType(input);
974
976
  const scanQty = resolveScanQty(parsed.qty, selected.qty_);
@@ -1053,6 +1055,12 @@ class AllocateTableCore extends ProfileDrivenSubTableCore {
1053
1055
  get warehouseId() {
1054
1056
  return this.factory.ctx.paramsConfig?.warehouseId;
1055
1057
  }
1058
+ isEmptyScanRow(row) {
1059
+ return !hasSubtableBusinessData({
1060
+ [F$7.product]: row[F$7.product],
1061
+ [F$7.batch]: row[F$7.batch]
1062
+ });
1063
+ }
1056
1064
  handleFieldTd = (params) => {
1057
1065
  const { field, tdHandler } = params;
1058
1066
  if (field === F$7.product) {
@@ -1134,7 +1142,9 @@ class AllocateTableCore extends ProfileDrivenSubTableCore {
1134
1142
  this.error({ content: SCAN_NOT_FOUND_MSG$2 });
1135
1143
  return;
1136
1144
  }
1137
- const selected = await this.pickScanRecord(records);
1145
+ const selected = await this.pickScanRecord(records, {
1146
+ scene: "inventory"
1147
+ });
1138
1148
  if (!selected) return;
1139
1149
  const row = buildAllocateScanRow(selected, parsed, resolveScanFillData(input));
1140
1150
  this.appendOrFillScanRow(row);
@@ -1521,21 +1531,17 @@ function createMfgOrderLoader() {
1521
1531
  }
1522
1532
  function createMaterialContainerLoader() {
1523
1533
  return async (loaderParams) => {
1524
- const { mode, queryData = {}, pageNo = 1, pageSize = 100, ids = [] } = loaderParams;
1534
+ const { mode, queryData = {}, exp = "", pageNo = 1, pageSize = 100, ids = [] } = loaderParams;
1525
1535
  const query = {
1526
1536
  ...queryData,
1527
- "production_identification_type_.eq": "MATERIAL",
1537
+ "production_identification_type_.eq": ProductionIdentificationTypeEnum.MATERIAL,
1528
1538
  "production_identification_type_.isNull": null,
1529
1539
  "container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT
1530
1540
  };
1531
- const keyword = query["material_no_.like"] ?? query["name_.like"];
1532
- if (keyword) {
1533
- delete query["material_no_.like"];
1534
- query["name_.like"] = keyword;
1535
- }
1536
- if (mode === "byIds" && ids.length) {
1537
- query["id_.in"] = ids;
1538
- }
1541
+ const materialQuery = mergeQueryFilters(
1542
+ composeMaterialLotListQuery(query, exp),
1543
+ mode === "byIds" && ids.length ? [{ field: "id_", operator: "in", values: ids }] : []
1544
+ );
1539
1545
  const res = await api.apaas.modelComprehensive.postBizServiceGeneralModelCategoryModelKeyBsKey(
1540
1546
  {
1541
1547
  modelCategory: "entity",
@@ -1544,8 +1550,8 @@ function createMaterialContainerLoader() {
1544
1550
  },
1545
1551
  {},
1546
1552
  {
1547
- exp: "AND(OR(production_identification_type_.eq,production_identification_type_.isNull),container_role_.ne)",
1548
- query,
1553
+ exp: materialQuery.exp,
1554
+ query: materialQuery.queryData,
1549
1555
  pageNo,
1550
1556
  pageSize
1551
1557
  }
@@ -1584,7 +1590,7 @@ function normalizeProductionDate(row) {
1584
1590
  const SCAN_NOT_FOUND_MSG = "扫描的批次/物料不存在";
1585
1591
  function isProductionLotOrSn(record) {
1586
1592
  const type = record.production_identification_type_;
1587
- return type === "LOT" || type === "SN";
1593
+ return type === ProductionIdentificationTypeEnum.LOT || type === ProductionIdentificationTypeEnum.SN;
1588
1594
  }
1589
1595
  function buildProductionContainerRow(record, parsed, fillData) {
1590
1596
  return normalizeProductionDate({
@@ -1944,7 +1950,9 @@ class WarehouseOutTableCore extends ProfileDrivenSubTableCore {
1944
1950
  this.error({ content: SCAN_NOT_FOUND_MSG$2 });
1945
1951
  return;
1946
1952
  }
1947
- const selected = await this.pickScanRecord(records);
1953
+ const selected = await this.pickScanRecord(records, {
1954
+ scene: "inventory"
1955
+ });
1948
1956
  if (!selected) return;
1949
1957
  const scanQty = resolveScanQty(parsed.qty, selected.qty_);
1950
1958
  const fillData = resolveScanFillData(input);
@@ -2067,6 +2075,18 @@ class SubTableCoreFactory {
2067
2075
  getSubCoreByTid(tid) {
2068
2076
  return this.coreMap[tid];
2069
2077
  }
2078
+ /** 只按已注册的业务类型识别,普通数据表及未知类型不参与空行过滤。 */
2079
+ getBusinessTableFields() {
2080
+ return Array.from(
2081
+ new Set(
2082
+ Object.values(this.coreMap).flatMap((core) => {
2083
+ const props = core.ctx.widget.props;
2084
+ const profile = getBusinessProfileByRefModelType(props.subModelType) ?? getProfileByTableType(props.tableType);
2085
+ return profile && isBusinessSubTableProfile(profile) && core.subFieldKey ? [core.subFieldKey] : [];
2086
+ })
2087
+ )
2088
+ );
2089
+ }
2070
2090
  /**
2071
2091
  * 初始化表单数据
2072
2092
  * @param params
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
3
+ import { Q as PaperWidgeValueType, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { u as useSpreadSheet, h as useModelFields } from "./index-luggjixn.js";
6
+ import { u as useSpreadSheet, h as useModelFields } from "./index-bLaVMu7L.js";
7
7
  const _hoisted_1 = { class: "ws-pre-wrap" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "text-design",
@@ -61,7 +61,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
61
  const styles = props.widget.styles;
62
62
  return {
63
63
  ...styles,
64
- fontSize: styles.fontSize + "px"
64
+ fontSize: styles.fontSize + "px",
65
+ textAlign: styles.justifyContent === "center" ? "center" : styles.justifyContent === "flex-end" ? "right" : "left"
65
66
  };
66
67
  });
67
68
  return (_ctx, _cache) => {
@@ -78,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
78
79
  };
79
80
  }
80
81
  });
81
- const textDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-15a87b6e"]]);
82
+ const textDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6153c85d"]]);
82
83
  export {
83
84
  textDesign as default
84
85
  };
@@ -1,5 +1,5 @@
1
1
  import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
2
- import { eh as isObject, dH as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
2
+ import { e3 as isObject, dt as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.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 { am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
2
+ import { aj as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
@@ -1,14 +1,17 @@
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-DZRtpBe8.js";
2
+ import { F as FIELD_TYPE, a_ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-luggjixn.js";
6
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-bLaVMu7L.js";
7
7
  function getTraceLikeSelectProps(data) {
8
8
  const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
9
9
  const displayFields = (() => {
10
10
  if (isSterilizationLotField(data.info)) return getSterilizationLotDisplayFields();
11
11
  if (isSubtableMfgOrder) {
12
+ if (!["pretreatment-list", "PRETREATMENT_LIST"].includes(data.info.subModelType ?? "")) {
13
+ return [{ key: "code_", name: $t("sys.edhr.field.code") }];
14
+ }
12
15
  return [
13
16
  { key: "code_", name: $t("sys.edhr.field.code") },
14
17
  { key: "product_id_name_", name: "产品名称" },
@@ -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-luggjixn.js";
4
- import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
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-bLaVMu7L.js";
4
+ import { Q as PaperWidgeValueType, aq as ExpressionModeEnum, as as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
7
  const _hoisted_1 = { class: "mt-4px" };
@@ -1,7 +1,7 @@
1
- import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-BE-3UQG0.js";
2
- import { A, B, P, S, j, h, i, u } from "../index-BE-3UQG0.js";
1
+ import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-CqJMdCBq.js";
2
+ import { A, B, P, S, j, h, i, u } from "../index-CqJMdCBq.js";
3
3
  import { message } from "ant-design-vue";
4
- import { J as useModal, a8 as _export_sfc, E as api, ce as getParseRuleConfig, b1 as getParseRuleValue, c2 as calcFillData, aZ as getLotLockedReason } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
4
+ import { J as useModal, a7 as _export_sfc, E as api, c2 as getParseRuleConfig, b0 as getParseRuleValue, bS as calcFillData, aW as getLotLockedReason } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.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,11 +1,11 @@
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-luggjixn.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-_7d452gl.js";
4
- import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-bLaVMu7L.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-B4gIt1fw.js";
4
+ import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
7
7
  import "ant-design-vue";
8
- import { A as AlignEditor } from "./align-editor-BvGUsoz3.js";
8
+ import { A as AlignEditor } from "./align-editor-BHe6RawU.js";
9
9
  const _hoisted_1 = { class: "pl-6px" };
10
10
  const _hoisted_2 = { class: "flex justify-end" };
11
11
  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-luggjixn.js";
2
+ import { F as FormItem, q as SelectEx } from "./index-bLaVMu7L.js";
3
3
  import { defaults } from "lodash-es";
4
- import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex, cp as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
4
+ import { F as FIELD_TYPE, a7 as _export_sfc, ag as DiagonalDirection, ak as DiagonalVertex, cd as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
5
5
  import "dayjs";
6
6
  import { message } from "ant-design-vue";
7
7
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
8
- import { S as SingleFieldDrop } from "./single-field-drop-Ijh7_RRT.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-B51_f5z6.js";
9
9
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10
10
  __name: "diagonal-name-editor",
11
11
  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-luggjixn.js";
3
- import { S as SizeEditor } from "./size-editor-B2TfX4_r.js";
2
+ import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-bLaVMu7L.js";
3
+ import { S as SizeEditor } from "./size-editor-BeSNExEt.js";
4
4
  import { message } from "ant-design-vue";
5
- import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
5
+ import { ah as WidgetImageSizeMode, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
- import { u as useWebUpload } from "./index-BE-3UQG0.js";
8
+ import { u as useWebUpload } from "./index-CqJMdCBq.js";
9
9
  import "@gct-paas/form-base";
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-BEX02BrW.js";
11
+ import { C as CloseOutlined } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-1sgb8Alq.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,9 +1,9 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, normalizeClass, toDisplayString, renderList, createBlock, normalizeStyle } from "vue";
2
- import { al as LineDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DZRtpBe8.js";
2
+ import { ai as LineDirection } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CKf2tZG7.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-luggjixn.js";
6
+ import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-bLaVMu7L.js";
7
7
  const _hoisted_1 = { class: "ks-row-middle" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "widget-line",