@gct-paas/excel 0.1.39-beta.29 → 0.1.39-beta.30

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 (61) hide show
  1. package/dist/{BaseComponent-Bt8KO1WD.js → BaseComponent-BkwxLOiM.js} +1 -1
  2. package/dist/{barcode-design-f22h5xE2.js → barcode-design-D90bLWOL.js} +1 -1
  3. package/dist/base/index.es.js +6 -5
  4. package/dist/{diagonal-design-FEPdQGpe.js → diagonal-design-YbEx-5SA.js} +1 -1
  5. package/dist/{dynamic-table-action-BKM9zZqY.js → dynamic-table-action-DXlLVZZF.js} +13 -3
  6. package/dist/excel.css +54 -53
  7. package/dist/{exceljs.min-BfE-sDjt.js → exceljs.min-B-mYUB0l.js} +1 -1
  8. package/dist/{font-editor-Bf-VaEmp.js → font-editor-D0dV4bEL.js} +1 -1
  9. package/dist/{index-C7BnLUs0.js → index-8GDKkzhT.js} +1 -1
  10. package/dist/{index-4b_zmd--.js → index-B-hm9GED.js} +1 -1
  11. package/dist/{index-RMQb3vCw.js → index-BEkX75av.js} +1 -1
  12. package/dist/{index-xyk9rreq.js → index-Boj1Babg.js} +1 -1
  13. package/dist/{index-CtsG-9NE.js → index-C0gB21qk.js} +1 -1
  14. package/dist/{index-DsIcBixq.js → index-CHv965Bj.js} +1 -1
  15. package/dist/{index-q3hxfGie.js → index-CNSt1kk7.js} +1 -1
  16. package/dist/{index-DUUd0Usw.js → index-CVPJGks5.js} +1 -1
  17. package/dist/{index-CFGb44na.js → index-CfLLsSW6.js} +1 -1
  18. package/dist/{index-C47dbM-A.js → index-CiyvJops.js} +1 -1
  19. package/dist/{index-DUGANLFV.js → index-CrnlU1jr.js} +2 -2
  20. package/dist/{index-ChFJNbLP.js → index-D9BcQ25Q.js} +1 -1
  21. package/dist/{index-D7cdJ4mn.js → index-DZYpzeZM.js} +2 -2
  22. package/dist/{index-DNhXUzmG.js → index-DlfthBvr.js} +1 -1
  23. package/dist/{index-CH1jNr4L.js → index-DsS5smhd.js} +2 -2
  24. package/dist/{index-B8OmEjpw.js → index-DyLoooUC.js} +1 -1
  25. package/dist/{index-KqsdURwz.js → index-DzmKXFwH.js} +1 -1
  26. package/dist/{index-DDK4Q5RT.js → index-K9yUIBxc.js} +3 -3
  27. package/dist/{index-CWfeEiNz.js → index-VBBgqHqv.js} +2 -2
  28. package/dist/{index-CoPZZsUn.js → index-Zr4W3H4i.js} +1 -1
  29. package/dist/{index-CQDjECZz.js → index-jfKiyRsE.js} +74 -70
  30. package/dist/{index-C9Hi7Upt.js → index-lSMZmF7U.js} +1 -1
  31. package/dist/{index-Shsb4fDA.js → index-rDv1Pb8y.js} +1 -1
  32. package/dist/{index-CYytO1Ah.js → index-ulVZgzRz.js} +1 -1
  33. package/dist/index.es.js +1 -1
  34. package/dist/{pagination-design-BFJz_ggc.js → pagination-design-J5Xr1H6H.js} +1 -1
  35. package/dist/paper-widget-design-mppU2AMx.js +4 -0
  36. package/dist/{print-runtime-instance-BmsWIUi7.js → print-runtime-instance-CkGherFi.js} +1 -1
  37. package/dist/{print-snapshot-renderer-DlvRYxz0.js → print-snapshot-renderer-BxrmKmGQ.js} +3 -3
  38. package/dist/{qrcode-design-DaDg1oYJ.js → qrcode-design-DJciYm3W.js} +1 -1
  39. package/dist/seal-design-FsL7H3e7.js +4 -0
  40. package/dist/{single-field-drop-C3F3HNPH.js → single-field-drop-wg47buz7.js} +1 -1
  41. package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +3 -1
  42. package/dist/src/nocode-base/src/runtime/runtime-context.d.ts +4 -0
  43. package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +8 -0
  44. package/dist/{sub-table-factory-DMShHWb0.js → sub-table-factory-DCjl5fld.js} +1 -1
  45. package/dist/{text-design-DjajF4Gy.js → text-design-BQqBHcG3.js} +1 -1
  46. package/dist/{trace-like-wrapper-BT7StEtK.js → trace-like-wrapper-BO9GpUUT.js} +1 -1
  47. package/dist/{value-editor.vue_vue_type_style_index_0_lang-DSjv3Nza.js → value-editor.vue_vue_type_style_index_0_lang-NrJ6BC4L.js} +1 -1
  48. package/dist/{widget-barcode-kbOdtUF2.js → widget-barcode-CqFwMMNr.js} +2 -2
  49. package/dist/{widget-diagonal-DoREbuOz.js → widget-diagonal-Bv7rOoCE.js} +2 -2
  50. package/dist/{widget-image-ChiZ5SFh.js → widget-image-C7uAoxCn.js} +1 -1
  51. package/dist/{widget-line-CyL-Hb97.js → widget-line-DjEbtHhc.js} +1 -1
  52. package/dist/{widget-pagination-DQt43olR.js → widget-pagination-Dc4pC9a8.js} +2 -2
  53. package/dist/{widget-power-9brIGYcJ.js → widget-power-9LyPBlNG.js} +2 -2
  54. package/dist/{widget-qrcode-6y50nPsc.js → widget-qrcode-wY0Htp8v.js} +2 -2
  55. package/dist/{widget-rangelimit-sv9wVIiS.js → widget-rangelimit-CT9yqbbL.js} +2 -2
  56. package/dist/{widget-serialnumber-DEf6ikIT.js → widget-serialnumber-CChK8wrF.js} +1 -1
  57. package/dist/{widget-text-D9lnqEvK.js → widget-text-mWwms2HC.js} +3 -3
  58. package/dist/{widget-timediff-515fFUQh.js → widget-timediff-GSd_w8qO.js} +1 -1
  59. package/package.json +1 -1
  60. package/dist/paper-widget-design-DvsFfMI5.js +0 -4
  61. package/dist/seal-design-DsuZuKat.js +0 -4
@@ -5,7 +5,7 @@ import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, d
5
5
  import dayjs from "dayjs";
6
6
  import * as Antd from "ant-design-vue";
7
7
  import { message, Modal, notification, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
8
- import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-BKM9zZqY.js";
8
+ import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-DXlLVZZF.js";
9
9
  import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D60Qjkgq.js";
10
10
  import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
11
11
  import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6t, h as initWebNocodeAdapter } from "./index-D19ggbiC.js";
@@ -1931,7 +1931,7 @@ function openWindow(url, opt) {
1931
1931
  const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
1932
1932
  const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
1933
1933
  async function createWorkbook() {
1934
- const ExcelJs = (await import("./exceljs.min-BfE-sDjt.js").then((n) => n.e)).default;
1934
+ const ExcelJs = (await import("./exceljs.min-B-mYUB0l.js").then((n) => n.e)).default;
1935
1935
  return new ExcelJs.Workbook();
1936
1936
  }
1937
1937
  class XlsxParser {
@@ -2259,28 +2259,28 @@ class XlsxParser {
2259
2259
  }
2260
2260
  function asyncImportClassModules() {
2261
2261
  const modules = /* @__PURE__ */ Object.assign({
2262
- "./_field_/auto-complete/index.ts": () => import("./index-CWfeEiNz.js").then((m) => m["default"]),
2263
- "./_field_/datepicker/index.ts": () => import("./index-ChFJNbLP.js").then((m) => m["default"]),
2264
- "./_field_/datetimepicker/index.ts": () => import("./index-C9Hi7Upt.js").then((m) => m["default"]),
2265
- "./_field_/department/index.ts": () => import("./index-DNhXUzmG.js").then((m) => m["default"]),
2266
- "./_field_/enum-select/index.ts": () => import("./index-DUGANLFV.js").then((m) => m["default"]),
2267
- "./_field_/input/index.ts": () => import("./index-CFGb44na.js").then((m) => m["default"]),
2268
- "./_field_/inputdouble/index.ts": () => import("./index-RMQb3vCw.js").then((m) => m["default"]),
2269
- "./_field_/inputnumber/index.ts": () => import("./index-CoPZZsUn.js").then((m) => m["default"]),
2270
- "./_field_/rdo-select/index.ts": () => import("./index-D7cdJ4mn.js").then((m) => m["default"]),
2271
- "./_field_/seal/index.ts": () => import("./index-DsIcBixq.js").then((m) => m["default"]),
2272
- "./_field_/select/index.ts": () => import("./index-CH1jNr4L.js").then((m) => m["default"]),
2273
- "./_field_/sign/index.ts": () => import("./index-q3hxfGie.js").then((m) => m["default"]),
2274
- "./_field_/switch/index.ts": () => import("./index-DDK4Q5RT.js").then((m) => m["default"]),
2275
- "./_field_/textarea/index.ts": () => import("./index-DUUd0Usw.js").then((m) => m["default"]),
2276
- "./_field_/timepicker/index.ts": () => import("./index-4b_zmd--.js").then((m) => m["default"]),
2277
- "./_field_/upload-file/index.ts": () => import("./index-xyk9rreq.js").then((m) => m["default"]),
2278
- "./_field_/upload-image/index.ts": () => import("./index-KqsdURwz.js").then((m) => m["default"]),
2279
- "./_field_/userpicker/index.ts": () => import("./index-B8OmEjpw.js").then((m) => m["default"]),
2262
+ "./_field_/auto-complete/index.ts": () => import("./index-VBBgqHqv.js").then((m) => m["default"]),
2263
+ "./_field_/datepicker/index.ts": () => import("./index-D9BcQ25Q.js").then((m) => m["default"]),
2264
+ "./_field_/datetimepicker/index.ts": () => import("./index-lSMZmF7U.js").then((m) => m["default"]),
2265
+ "./_field_/department/index.ts": () => import("./index-DlfthBvr.js").then((m) => m["default"]),
2266
+ "./_field_/enum-select/index.ts": () => import("./index-CrnlU1jr.js").then((m) => m["default"]),
2267
+ "./_field_/input/index.ts": () => import("./index-CfLLsSW6.js").then((m) => m["default"]),
2268
+ "./_field_/inputdouble/index.ts": () => import("./index-BEkX75av.js").then((m) => m["default"]),
2269
+ "./_field_/inputnumber/index.ts": () => import("./index-Zr4W3H4i.js").then((m) => m["default"]),
2270
+ "./_field_/rdo-select/index.ts": () => import("./index-DZYpzeZM.js").then((m) => m["default"]),
2271
+ "./_field_/seal/index.ts": () => import("./index-CHv965Bj.js").then((m) => m["default"]),
2272
+ "./_field_/select/index.ts": () => import("./index-DsS5smhd.js").then((m) => m["default"]),
2273
+ "./_field_/sign/index.ts": () => import("./index-CNSt1kk7.js").then((m) => m["default"]),
2274
+ "./_field_/switch/index.ts": () => import("./index-K9yUIBxc.js").then((m) => m["default"]),
2275
+ "./_field_/textarea/index.ts": () => import("./index-CVPJGks5.js").then((m) => m["default"]),
2276
+ "./_field_/timepicker/index.ts": () => import("./index-B-hm9GED.js").then((m) => m["default"]),
2277
+ "./_field_/upload-file/index.ts": () => import("./index-Boj1Babg.js").then((m) => m["default"]),
2278
+ "./_field_/upload-image/index.ts": () => import("./index-DzmKXFwH.js").then((m) => m["default"]),
2279
+ "./_field_/userpicker/index.ts": () => import("./index-DyLoooUC.js").then((m) => m["default"]),
2280
2280
  "./_widget_/barcode/index.ts": () => import("./index-DOGxYpwq.js").then((m) => m["default"]),
2281
- "./_widget_/combine-fields/index.ts": () => import("./index-Shsb4fDA.js").then((m) => m["default"]),
2282
- "./_widget_/diagonal/index.ts": () => import("./index-C47dbM-A.js").then((m) => m["default"]),
2283
- "./_widget_/dyn-value/index.ts": () => import("./index-CYytO1Ah.js").then((m) => m["default"]),
2281
+ "./_widget_/combine-fields/index.ts": () => import("./index-rDv1Pb8y.js").then((m) => m["default"]),
2282
+ "./_widget_/diagonal/index.ts": () => import("./index-CiyvJops.js").then((m) => m["default"]),
2283
+ "./_widget_/dyn-value/index.ts": () => import("./index-ulVZgzRz.js").then((m) => m["default"]),
2284
2284
  "./_widget_/image/index.ts": () => import("./index-BYpPubsS.js").then((m) => m["default"]),
2285
2285
  "./_widget_/line/index.ts": () => import("./index-CaKVMIWJ.js").then((m) => m["default"]),
2286
2286
  "./_widget_/power/index.ts": () => import("./index-V3FsjgC2.js").then((m) => m["default"]),
@@ -2290,8 +2290,8 @@ function asyncImportClassModules() {
2290
2290
  "./_widget_/sub-table/index.ts": () => import("./index-Dgs95dud.js").then((m) => m["default"]),
2291
2291
  "./_widget_/timediff/index.ts": () => import("./index-DWrIPK_U.js").then((m) => m["default"]),
2292
2292
  "./paper/index.ts": () => import("./index-w1Oz-JSm.js").then((m) => m["default"]),
2293
- "./td/index.ts": () => import("./index-CtsG-9NE.js").then((m) => m["default"]),
2294
- "./tr/index.ts": () => import("./index-C7BnLUs0.js").then((m) => m["default"])
2293
+ "./td/index.ts": () => import("./index-C0gB21qk.js").then((m) => m["default"]),
2294
+ "./tr/index.ts": () => import("./index-8GDKkzhT.js").then((m) => m["default"])
2295
2295
  });
2296
2296
  return modules;
2297
2297
  }
@@ -11427,7 +11427,6 @@ const getSterilizationLotDisplayFields = () => [
11427
11427
  { key: "modify_user_name_", name: $t("sys.appDesigner.modifier") },
11428
11428
  { key: "modify_time_", name: $t("sys.appDesigner.modificationTime") }
11429
11429
  ];
11430
- const DEFAULT_SEARCHABLE_FIELDS = [FIELD_TYPE.PRODUCT, FIELD_TYPE.SCRAP_MATERIAL];
11431
11430
  const SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP = {
11432
11431
  material: ["code_.like", "version_name_.like", "version_.like", "name_.like", "spec_.like"]
11433
11432
  };
@@ -11448,9 +11447,15 @@ const DEFAULT_QUICK_SEARCH_FIELDS = {
11448
11447
  [FIELD_TYPE.SHOPFLOOR]: ["name_.like", "code_.like"],
11449
11448
  storage_zone: ["name_.like", "code_.like"]
11450
11449
  };
11450
+ const BIZ_TYPE_PRIORITY_FIELDS = [
11451
+ FIELD_TYPE.PRODUCT,
11452
+ FIELD_TYPE.SCRAP_MATERIAL,
11453
+ FIELD_TYPE.E_SOP,
11454
+ FIELD_TYPE.MFG_ORDER
11455
+ ];
11451
11456
  const getRealFieldType = (fieldMeta) => {
11452
11457
  const { fieldType, bizType } = fieldMeta;
11453
- if (bizType && (DEFAULT_SEARCHABLE_FIELDS.includes(bizType) || bizType === FIELD_TYPE.E_SOP || bizType === FIELD_TYPE.MFG_ORDER)) {
11458
+ if (bizType && BIZ_TYPE_PRIORITY_FIELDS.includes(bizType)) {
11454
11459
  return bizType;
11455
11460
  }
11456
11461
  return fieldType;
@@ -11548,12 +11553,13 @@ const resolveQuickSearchConfig = (fieldMeta) => {
11548
11553
  return { searchable: true, fields: fields2 };
11549
11554
  }
11550
11555
  const defaultType = resolveDefaultSearchType(fieldMeta);
11551
- if (showDisplayAndSearchConfig(fieldMeta) && Array.isArray(fieldMeta.searchField)) {
11552
- return { searchable: fieldMeta.searchField.length > 0, fields: fieldMeta.searchField };
11553
- }
11554
11556
  if (fieldMeta.searchField?.length) {
11555
11557
  return { searchable: true, fields: fieldMeta.searchField };
11556
11558
  }
11559
+ const defaultFields = getDefaultQuickSearchFields(fieldMeta);
11560
+ if (defaultFields.length) {
11561
+ return { searchable: true, fields: defaultFields };
11562
+ }
11557
11563
  if (defaultType === FIELD_TYPE.ROUTING_OPERATION || defaultType === FIELD_TYPE.OPERATION) {
11558
11564
  return { searchable: false, fields: [] };
11559
11565
  }
@@ -11575,6 +11581,14 @@ const resolveQuickSearchConfig = (fieldMeta) => {
11575
11581
  const fields = getBasicSearchFields(fieldMeta);
11576
11582
  return { searchable: fields.length > 0, fields };
11577
11583
  };
11584
+ const resolveRuntimeQuickSearchProps = (props2) => {
11585
+ const fields = props2.quickSearchField?.length ? props2.quickSearchField : resolveQuickSearchConfig(props2).fields;
11586
+ return {
11587
+ ...props2,
11588
+ quickSearchField: fields,
11589
+ quickSearchExp: props2.quickSearchField?.length ? props2.quickSearchExp : fields.length ? `OR(${fields.join(",")})` : ""
11590
+ };
11591
+ };
11578
11592
  const {
11579
11593
  setSheetMaps: setSheetMaps$1,
11580
11594
  setSheetsCallback,
@@ -15891,7 +15905,7 @@ function asyncImportWidgetConfigList() {
15891
15905
  return widgetConfigList;
15892
15906
  }
15893
15907
  function asyncImportWidgetDesign() {
15894
- const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-DsuZuKat.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-f22h5xE2.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-FEPdQGpe.js"), "./image/image-design.vue": () => import("./image-design-DkQBDv9K.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BFJz_ggc.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-DvsFfMI5.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-DaDg1oYJ.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BfeGFYY4.js"), "./text/text-design.vue": () => import("./text-design-DjajF4Gy.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DzNFXX0B.js") });
15908
+ const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-FsL7H3e7.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-D90bLWOL.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-YbEx-5SA.js"), "./image/image-design.vue": () => import("./image-design-DkQBDv9K.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-J5Xr1H6H.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-mppU2AMx.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-DJciYm3W.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BfeGFYY4.js"), "./text/text-design.vue": () => import("./text-design-BQqBHcG3.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-DzNFXX0B.js") });
15895
15909
  const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
15896
15910
  const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
15897
15911
  if (mKey) {
@@ -37015,6 +37029,15 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
37015
37029
  const props2 = __props;
37016
37030
  const emit2 = __emit;
37017
37031
  const showSearchConfig = computed(() => showDisplayAndSearchConfig(props2.fieldMeta));
37032
+ watch(
37033
+ [() => props2.fieldMeta, () => props2.searchField, showSearchConfig, () => props2.disabled],
37034
+ () => {
37035
+ if (props2.disabled || !showSearchConfig.value || props2.searchField?.length) return;
37036
+ const fields = getDefaultQuickSearchFields(props2.fieldMeta);
37037
+ if (fields.length) emit2("update:searchField", fields);
37038
+ },
37039
+ { immediate: true }
37040
+ );
37018
37041
  const currentModelMeta = computed(() => {
37019
37042
  return modelMetaMap2.value[props2.fieldMeta.refModelKey];
37020
37043
  });
@@ -37103,7 +37126,7 @@ const _sfc_main$4w = /* @__PURE__ */ defineComponent({
37103
37126
  };
37104
37127
  }
37105
37128
  });
37106
- const QuickSearchEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4w, [["__scopeId", "data-v-5dfae584"]]);
37129
+ const QuickSearchEditor = /* @__PURE__ */ _export_sfc(_sfc_main$4w, [["__scopeId", "data-v-a7cd5f4e"]]);
37107
37130
  const _hoisted_1$2y = { class: "ref-data-filter-editor allow-readonly-view" };
37108
37131
  const _hoisted_2$1N = { class: "inpt-box" };
37109
37132
  const _sfc_main$4v = /* @__PURE__ */ defineComponent({
@@ -52834,7 +52857,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
52834
52857
  }
52835
52858
  });
52836
52859
  function asyncImportWidgetProp() {
52837
- const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-kbOdtUF2.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-DoREbuOz.js"), "./widget-image.vue": () => import("./widget-image-ChiZ5SFh.js"), "./widget-line.vue": () => import("./widget-line-CyL-Hb97.js"), "./widget-pagination.vue": () => import("./widget-pagination-DQt43olR.js"), "./widget-power.vue": () => import("./widget-power-9brIGYcJ.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-6y50nPsc.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-sv9wVIiS.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-DEf6ikIT.js"), "./widget-text.vue": () => import("./widget-text-D9lnqEvK.js"), "./widget-timediff.vue": () => import("./widget-timediff-515fFUQh.js") });
52860
+ const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-CqFwMMNr.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-Bv7rOoCE.js"), "./widget-image.vue": () => import("./widget-image-C7uAoxCn.js"), "./widget-line.vue": () => import("./widget-line-DjEbtHhc.js"), "./widget-pagination.vue": () => import("./widget-pagination-Dc4pC9a8.js"), "./widget-power.vue": () => import("./widget-power-9LyPBlNG.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-wY0Htp8v.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CT9yqbbL.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-CChK8wrF.js"), "./widget-text.vue": () => import("./widget-text-mWwms2HC.js"), "./widget-timediff.vue": () => import("./widget-timediff-GSd_w8qO.js") });
52838
52861
  const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
52839
52862
  const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
52840
52863
  if (mKey) {
@@ -67603,7 +67626,8 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
67603
67626
  { flush: "post", immediate: true }
67604
67627
  );
67605
67628
  const emit2 = __emit;
67606
- const { displayFields, quickSearchField } = props2.widget.props;
67629
+ const runtimeProps = resolveRuntimeQuickSearchProps(props2.widget.props);
67630
+ const { displayFields, quickSearchField } = runtimeProps;
67607
67631
  const searchForm = ref({
67608
67632
  keyword: void 0
67609
67633
  });
@@ -67794,7 +67818,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
67794
67818
  };
67795
67819
  }
67796
67820
  });
67797
- const RdoSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["__scopeId", "data-v-9187165e"]]);
67821
+ const RdoSelectTable = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["__scopeId", "data-v-cdb39cee"]]);
67798
67822
  const _hoisted_1$18 = { class: "rdo-select-tree" };
67799
67823
  const _hoisted_2$O = {
67800
67824
  key: 0,
@@ -67822,7 +67846,8 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
67822
67846
  setup(__props, { expose: __expose, emit: __emit }) {
67823
67847
  const props2 = __props;
67824
67848
  const emit2 = __emit;
67825
- const { displayFields, quickSearchField } = props2.widget.props;
67849
+ const runtimeProps = resolveRuntimeQuickSearchProps(props2.widget.props);
67850
+ const { displayFields, quickSearchField } = runtimeProps;
67826
67851
  const {
67827
67852
  field,
67828
67853
  modelKey,
@@ -68023,7 +68048,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
68023
68048
  };
68024
68049
  }
68025
68050
  });
68026
- const RdoSelectTree = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["__scopeId", "data-v-0a2a138a"]]);
68051
+ const RdoSelectTree = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["__scopeId", "data-v-9eb2ccbc"]]);
68027
68052
  const _sfc_main$1T = /* @__PURE__ */ defineComponent({
68028
68053
  __name: "trace-ref-select-table",
68029
68054
  props: {
@@ -71288,7 +71313,8 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
71288
71313
  newQueryDataRef,
71289
71314
  customLoaderRef
71290
71315
  } = useWidgetStaticAttrs(props2.widget);
71291
- const { quickSearchField, quickSearchExp, autofillRules, enableAutofill } = props2.widget.props;
71316
+ const runtimeProps = resolveRuntimeQuickSearchProps(props2.widget.props);
71317
+ const { quickSearchField, quickSearchExp, autofillRules, enableAutofill } = runtimeProps;
71292
71318
  const { applyAutofillRules } = useAutofill();
71293
71319
  const isProductionContainer = bizType === FIELD_TYPE.PRODUCTION_CONTAINER || field === "production_container_id_";
71294
71320
  const normalizeOptions = (options = []) => isProductionContainer ? normalizeProductionContainerOptions(options) : options;
@@ -73262,22 +73288,23 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
73262
73288
  newQueryDataRef,
73263
73289
  customLoaderRef
73264
73290
  } = useWidgetStaticAttrs(props2.widget);
73291
+ const runtimeProps = resolveRuntimeQuickSearchProps(props2.widget.props);
73265
73292
  const searchField = searchFieldMap[fieldType] || "name_";
73266
73293
  const searchVisible = computed(() => {
73267
- const { quickSearchField } = props2.widget.props;
73294
+ const { quickSearchField } = runtimeProps;
73268
73295
  if (Array.isArray(quickSearchField) && !quickSearchField.length) return false;
73269
73296
  if ((bizType || fieldType) === FIELD_TYPE.MFG_ORDER) {
73270
- return !!props2.widget.props.quickSearchField?.length;
73297
+ return !!runtimeProps.quickSearchField?.length;
73271
73298
  }
73272
73299
  const hasDisplayFields = (props2.widget.props.displayFields || []).some((item) => item?.key);
73273
73300
  if ([FIELD_TYPE.E_SOP, FIELD_TYPE.OPERATION, FIELD_TYPE.ROUTING_OPERATION].includes(
73274
73301
  bizType || fieldType
73275
73302
  ) || refModelKey === "em_operation") {
73276
- return hasDisplayFields && !!props2.widget.props.quickSearchField?.length;
73303
+ return hasDisplayFields && !!runtimeProps.quickSearchField?.length;
73277
73304
  }
73278
73305
  return hasDisplayFields;
73279
73306
  });
73280
- const { autofillRules, enableAutofill } = props2.widget.props;
73307
+ const { autofillRules, enableAutofill } = runtimeProps;
73281
73308
  const { applyAutofillRules } = useAutofill();
73282
73309
  const autoQueryOptions = ref([]);
73283
73310
  const _initialOptions = computed(() => {
@@ -73357,7 +73384,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
73357
73384
  }
73358
73385
  );
73359
73386
  const buildQueryParams = ({ keyword: keyword2 }) => {
73360
- const configuredSearchFields = (bizType || fieldType) === FIELD_TYPE.MFG_ORDER && props2.widget.props.quickSearchField?.length ? props2.widget.props.quickSearchField : [`${searchField}.like`, "code_.like"];
73387
+ const configuredSearchFields = (bizType || fieldType) === FIELD_TYPE.MFG_ORDER && runtimeProps.quickSearchField?.length ? runtimeProps.quickSearchField : [`${searchField}.like`, "code_.like"];
73361
73388
  const searchKeys = configuredSearchFields.map(
73362
73389
  (key) => key.includes(".") ? key : `${key}.like`
73363
73390
  );
@@ -90013,7 +90040,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
90013
90040
  };
90014
90041
  }
90015
90042
  });
90016
- const UploadFilePreview = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-bacf6fd3"]]);
90043
+ const UploadFilePreview = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-44464593"]]);
90017
90044
  const fieldId = "file_";
90018
90045
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
90019
90046
  __name: "widget-file-form",
@@ -90905,28 +90932,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
90905
90932
  }))
90906
90933
  );
90907
90934
  const isPrintRenderer = (basicInfo) => props2.renderScope === "all-sheets" || props2.renderScope !== "active-sheet" && basicInfo.platformType === PlatformEnum.INTEGRATION_PAAS_DP;
90908
- const shownDuplicateWarningKeys = /* @__PURE__ */ new Set();
90909
- watch(
90910
- () => props2.basicInfoList.map((basicInfo) => ({
90911
- basicInfo,
90912
- warnings: runtimeRegistry.get(basicInfo.uniqueId)?.context.duplicateFieldWarnings ?? []
90913
- })),
90914
- (entries) => {
90915
- entries.forEach(({ basicInfo, warnings }) => {
90916
- if (!warnings.length || isPrintRenderer(basicInfo)) return;
90917
- const key = `runtime-duplicate-fields-${basicInfo.uniqueId}`;
90918
- if (shownDuplicateWarningKeys.has(key)) return;
90919
- shownDuplicateWarningKeys.add(key);
90920
- notification.warning({
90921
- key,
90922
- message: "表单存在重复填报字段",
90923
- description: `多个位置会共用同一份数据,请联系表单设计人员清理:${warnings.join(";")}。`,
90924
- duration: 0
90925
- });
90926
- });
90927
- },
90928
- { immediate: true, flush: "post" }
90929
- );
90930
90935
  const allSheetsRenderers = /* @__PURE__ */ new Map();
90931
90936
  const renderError = shallowRef();
90932
90937
  const renderAbort = new AbortController();
@@ -91043,8 +91048,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
91043
91048
  printTask = (async () => {
91044
91049
  if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
91045
91050
  await nextTick();
91046
- const { printRuntimeInstance } = await import("./print-runtime-instance-BmsWIUi7.js");
91047
- const { default: renderer } = await import("./print-snapshot-renderer-DlvRYxz0.js");
91051
+ const { printRuntimeInstance } = await import("./print-runtime-instance-CkGherFi.js");
91052
+ const { default: renderer } = await import("./print-snapshot-renderer-BxrmKmGQ.js");
91048
91053
  if (abort.signal.aborted) throw new Error("打印已取消");
91049
91054
  printRenderer.value = markRaw(renderer);
91050
91055
  await printRuntimeInstance(
@@ -91153,7 +91158,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
91153
91158
  flush: "post"
91154
91159
  });
91155
91160
  onBeforeUnmount(() => {
91156
- shownDuplicateWarningKeys.forEach((key) => notification.close(key));
91157
91161
  printAbort?.abort();
91158
91162
  renderAbort.abort();
91159
91163
  allSheetsRenderers.clear();
@@ -91260,7 +91264,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
91260
91264
  };
91261
91265
  }
91262
91266
  });
91263
- const previewContainer = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-f233c660"]]);
91267
+ const previewContainer = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-1763b2ec"]]);
91264
91268
  const UNIQUE_KEY = "online-form-web-render-form-version-diff-iframe-util";
91265
91269
  const _hoisted_1$9 = ["src"];
91266
91270
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE, ax as RangeCompareOp, aw as Ra
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class DateTimepicker extends BaseComponent {
8
8
  component = ComponentTypeEnum.DateTimepicker;
9
9
  wrapperCmpConfig({ data }) {
@@ -4,7 +4,7 @@ import "vue";
4
4
  import { pick } from "lodash-es";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
- import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-CQDjECZz.js";
7
+ import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-jfKiyRsE.js";
8
8
  class CombineFields {
9
9
  component = ComponentTypeEnum.CombineFields;
10
10
  wrapperCmpConfig({ data }) {
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as
3
3
  import "vue";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { B as BaseComponent } from "./BaseComponent-Bt8KO1WD.js";
6
+ import { B as BaseComponent } from "./BaseComponent-BkwxLOiM.js";
7
7
  class DynValue extends BaseComponent {
8
8
  component = ComponentTypeEnum.DynValue;
9
9
  wrapperCmpConfig({ data }) {
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-CQDjECZz.js";
1
+ import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-jfKiyRsE.js";
2
2
  import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D60Qjkgq.js";
3
3
  export {
4
4
  G as AiTmplEditor,
@@ -3,7 +3,7 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { j as calcText } from "./index-CQDjECZz.js";
6
+ import { j as calcText } from "./index-jfKiyRsE.js";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "pagination-design",
9
9
  props: {
@@ -0,0 +1,4 @@
1
+ import { k as _sfc_main } from "./index-jfKiyRsE.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-CQDjECZz.js";
1
+ import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-jfKiyRsE.js";
2
2
  async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
3
3
  if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
4
4
  const snapshot = await record.controller.preparePrintSnapshot(
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
2
- import { R as RuntimeFormStateStore, I as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-BKM9zZqY.js";
3
- import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-DMShHWb0.js";
4
- import { _ as _sfc_main$1 } from "./index-CQDjECZz.js";
2
+ import { R as RuntimeFormStateStore, I as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-DXlLVZZF.js";
3
+ import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-DCjl5fld.js";
4
+ import { _ as _sfc_main$1 } from "./index-jfKiyRsE.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "print-snapshot-renderer",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
2
- import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-CQDjECZz.js";
2
+ import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-jfKiyRsE.js";
3
3
  const _hoisted_1 = ["src"];
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "qrcode-design",
@@ -0,0 +1,4 @@
1
+ import { f as _sfc_main } from "./index-jfKiyRsE.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
2
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
3
- import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-CQDjECZz.js";
3
+ import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-jfKiyRsE.js";
4
4
  import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "single-field-drop",
@@ -1,3 +1,4 @@
1
+ import { FormTypeEnum } from '../constant';
1
2
  /** 当前真实多 Sheet 运行时格式版本。缺少版本号的历史数据按 v1 解析。 */
2
3
  export declare const MULTI_SHEET_SCHEMA_VERSION: 2;
3
4
  export declare const MAX_RUNTIME_SHEETS = 100;
@@ -30,10 +31,11 @@ export interface NormalizedRuntimeDocument {
30
31
  * 将历史 v1 和真实多 Sheet v2 统一为同一种读取结构。
31
32
  *
32
33
  * - v1:顶层 paper + nodes,包装成一个固定标识的虚拟 Sheet。
34
+ * - 文件表单:历史空模板补一个内存中的空根节点,以复用实例 Store 和提交服务。
33
35
  * - v2:读取有序 sheets,并为现有单 Sheet 渲染器组装 dataCenter。
34
36
  * - 未知版本:直接报错,避免旧客户端误写更高版本数据。
35
37
  */
36
- export declare function normalizeRuntime(runtime: unknown): NormalizedRuntimeDocument;
38
+ export declare function normalizeRuntime(runtime: unknown, formType?: FormTypeEnum): NormalizedRuntimeDocument;
37
39
  /**
38
40
  * 将各 Sheet 独立编译得到的旧式 dataCenter 封装为 v2 文档。
39
41
  * 保存前复用统一解析器,保证整份模板的节点唯一性和引用完整性。
@@ -1,4 +1,5 @@
1
1
  import { IPageData } from '../types';
2
+ import { FormTypeEnum } from '../constant';
2
3
  import { NormalizedRuntimeDocument, RuntimeNodeMap } from './multi-sheet-runtime';
3
4
  import { SubTableCoreFactory } from '../core/factory/sub-table-factory';
4
5
  import { FormTmplBomController } from '../hooks/material-consume/tmpl-bom-controller';
@@ -100,6 +101,8 @@ export interface RuntimeInstanceContext {
100
101
  uniqueId: string;
101
102
  instanceId: string;
102
103
  templateId: string;
104
+ /** 文件表单由 PDF 组件分页,不参与工作表布局计算。 */
105
+ formType?: FormTypeEnum;
103
106
  schemaVersion: NormalizedRuntimeDocument['schemaVersion'];
104
107
  formConfig: Record<string, any>;
105
108
  defaultData: Record<string, any>;
@@ -116,6 +119,7 @@ export interface CreateRuntimeInstanceContextOptions {
116
119
  uniqueId: string;
117
120
  instanceId: string;
118
121
  templateId: string;
122
+ formType?: FormTypeEnum;
119
123
  runtime: NormalizedRuntimeDocument;
120
124
  defaultData: Record<string, any>;
121
125
  activeSheetId?: string;
@@ -14,3 +14,11 @@ export declare const resolveQuickSearchConfig: (fieldMeta: IBindField & {
14
14
  searchable: boolean;
15
15
  fields: string[];
16
16
  };
17
+ /** 为缺失或为空的运行时搜索配置补齐默认字段及表达式。 */
18
+ export declare const resolveRuntimeQuickSearchProps: <T extends IBindField & {
19
+ quickSearchField?: string[];
20
+ quickSearchExp?: string;
21
+ }>(props: T) => T & {
22
+ quickSearchField: string[];
23
+ quickSearchExp: string | undefined;
24
+ };
@@ -1,5 +1,5 @@
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 hasSubtableBusinessData, aP as getCopySubMenu, aQ as resolveScanParsedValue, aR as isProductBatchEmptyRow } from "./dynamic-table-action-BKM9zZqY.js";
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 hasSubtableBusinessData, aP as getCopySubMenu, aQ as resolveScanParsedValue, aR as isProductBatchEmptyRow } from "./dynamic-table-action-DXlLVZZF.js";
3
3
  import { E as api, cN as F$1, cO as SCAN_ROW_CONTENT_FIELDS, cP as F$2, cQ as F$3, cR as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cS as F$4, cT as F$5, cU as FILL_FROM_SOURCE_PRODUCT_OPTION, cV as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cW as FILL_FROM_INVENTORY_OPTION, cX as FILL_FROM_PART_OPTION, cY as FILL_FROM_INVENTORY_OPTION$1, cZ as TABLE_TYPE, c_ as FILL_FROM_INVENTORY_OPTION$2, b5 as F$6, c$ as INVENTORY_BASE_FIELDS, d0 as resolveGroupByWarehouse, d1 as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, b1 as getParseRuleInfo, d2 as buildFillFromInventoryOption, c3 as calcFillData, d3 as resolveStocktakeInventoryApi, b2 as getParseRuleValue, d4 as F$7, d5 as FILL_FROM_INVENTORY_OPTION$3, c9 as extractKeywordFromQueryData, d6 as composeProductionLotListQuery, aK as resolveLotDisplayLabel, d7 as F$8, d8 as isProductManuallyEditable, d9 as applyFillFromMfgOrderOption, da as applyFillFromOption$1, db as applyFillFromProductOption, a$ as ProductionIdentificationTypeEnum, aU as LOT_CONTAINER_ROLE, dc as MATERIAL_CONTAINER_ID, dd as F$9, de as PRODUCT_QUICK_SEARCH_FIELDS, df as PRODUCT_QUICK_SEARCH_EXP, dg as isProductManuallyEditable$1, dh as applyFillFromMaterialNoOption, di as applyFillFromProductOption$1, dj as F$a, dk 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-DlcK-wt_.js";
4
4
  import { has, merge } from "lodash-es";
5
5
  function isBlank$4(value) {
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
3
3
  import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { u as useSpreadSheet, h as useModelFields } from "./index-CQDjECZz.js";
6
+ import { u as useSpreadSheet, h as useModelFields } from "./index-jfKiyRsE.js";
7
7
  const _hoisted_1 = { class: "ws-pre-wrap" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "text-design",
@@ -3,7 +3,7 @@ import { F as FIELD_TYPE, b0 as BindCmpStyleEnum } from "./dynamic-table-action.
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-CQDjECZz.js";
6
+ import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-jfKiyRsE.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 = (() => {
@@ -1,6 +1,6 @@
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-CQDjECZz.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-jfKiyRsE.js";
4
4
  import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,6 +1,6 @@
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-CQDjECZz.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DSjv3Nza.js";
2
+ import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-jfKiyRsE.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-NrJ6BC4L.js";
4
4
  import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
5
5
  import "lodash-es";
6
6
  import "dayjs";
@@ -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-CQDjECZz.js";
2
+ import { F as FormItem, q as SelectEx } from "./index-jfKiyRsE.js";
3
3
  import { defaults } from "lodash-es";
4
4
  import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex, cq as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.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-C3F3HNPH.js";
8
+ import { S as SingleFieldDrop } from "./single-field-drop-wg47buz7.js";
9
9
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
10
10
  __name: "diagonal-name-editor",
11
11
  props: {
@@ -1,5 +1,5 @@
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-CQDjECZz.js";
2
+ import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-jfKiyRsE.js";
3
3
  import { S as SizeEditor } from "./size-editor-hnWquuM2.js";
4
4
  import { message } from "ant-design-vue";
5
5
  import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
@@ -3,7 +3,7 @@ import { al as LineDirection } from "./dynamic-table-action.vue_vue_type_style_i
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-CQDjECZz.js";
6
+ import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-jfKiyRsE.js";
7
7
  const _hoisted_1 = { class: "ks-row-middle" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "widget-line",
@@ -3,10 +3,10 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { F as FormItem, y as PaginationFormatOptions } from "./index-CQDjECZz.js";
6
+ import { F as FormItem, y as PaginationFormatOptions } from "./index-jfKiyRsE.js";
7
7
  import { S as SizeEditor } from "./size-editor-hnWquuM2.js";
8
8
  import { A as AlignEditor } from "./align-editor-C1Fj-34U.js";
9
- import { F as FontEditor } from "./font-editor-Bf-VaEmp.js";
9
+ import { F as FontEditor } from "./font-editor-D0dV4bEL.js";
10
10
  const _hoisted_1 = { class: "pl-6px" };
11
11
  const _hoisted_2 = { class: "pl-6px" };
12
12
  const DefaultCustomFormat = "Page ${no} / ${total}";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-CQDjECZz.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-C3F3HNPH.js";
2
+ import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-jfKiyRsE.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-wg47buz7.js";
4
4
  import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
5
5
  import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DlcK-wt_.js";
6
6
  import { message } from "ant-design-vue";