@gct-paas/excel 0.1.40-beta.22 → 0.1.40-beta.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-0BP8yUp3.js → BaseComponent-9hkBjQjp.js} +1 -1
- package/dist/{VueVideoPlayer-BTRWrHgw.js → VueVideoPlayer-yISI5amX.js} +1 -1
- package/dist/{barcode-design-BOutrCCv.js → barcode-design-CHbO1c-N.js} +1 -1
- package/dist/base/index.es.js +4 -4
- package/dist/{diagonal-design-C8Y7RdW8.js → diagonal-design-CwaKPsqR.js} +1 -1
- package/dist/{dynamic-table-action-DLctOchz.js → dynamic-table-action-JR8LU5WT.js} +16 -14
- package/dist/excel.css +66 -52
- package/dist/{exceljs.min-CbCAYZ_e.js → exceljs.min-wPuo8a9q.js} +1 -1
- package/dist/{font-editor-DdR8irtJ.js → font-editor-CGJQio2h.js} +1 -1
- package/dist/{index-x19gmsid.js → index-37J1K1W1.js} +1 -1
- package/dist/{index-c69w0WwG.js → index-9ipSNY71.js} +1 -1
- package/dist/{index-BIm_YKSw.js → index-BCpitZ3H.js} +54 -38
- package/dist/{index-C5Z5DcwP.js → index-BIitBpK7.js} +2 -2
- package/dist/{index-DNc82Cm4.js → index-BX8xuu9v.js} +2 -2
- package/dist/{index-C8vcYrJ2.js → index-B_95dIym.js} +1 -1
- package/dist/{index-C_Wum5DS.js → index-Bk67ggPI.js} +1 -1
- package/dist/{index-D9ZmqZVa.js → index-BoZN_3QI.js} +1 -1
- package/dist/{index-DuRfWFNu.js → index-BxaqeEUh.js} +2 -2
- package/dist/{index-CQxjpFgv.js → index-C1b5ADFV.js} +1 -1
- package/dist/{index-Cli4afdv.js → index-C5izC2Mm.js} +2 -2
- package/dist/{index-JOJRN3MY.js → index-CX2lK91Y.js} +1 -1
- package/dist/{index-C0riszYt.js → index-Cg8xpa-X.js} +3 -3
- package/dist/{index-TTjH7nBY.js → index-CpdA5MDE.js} +1 -1
- package/dist/{index-CTHjoZJh.js → index-DUma1ZGa.js} +2 -2
- package/dist/{index-JFbTpwJI.js → index-DZb9l6Gw.js} +1 -1
- package/dist/{index-D6dtoM6l.js → index-Ds8UpdFP.js} +1 -1
- package/dist/{index-CE0kTBaD.js → index-KMB2TBbZ.js} +1 -1
- package/dist/{index-Djsed3L4.js → index-LiOm5nws.js} +1 -1
- package/dist/{index-fTuTQkkK.js → index-PVGqEoN1.js} +1 -1
- package/dist/{index-CBSkF7uO.js → index-Pgworj4S.js} +1 -1
- package/dist/{index-CjjnjV4j.js → index-eLwoxKzH.js} +2 -2
- package/dist/{index-Cek24DHR.js → index-sIW7hZFQ.js} +1 -1
- package/dist/{index-CqbuTaGQ.js → index-up8dW1VW.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-CA-dxfST.js → pagination-design-BasHtAud.js} +1 -1
- package/dist/paper-widget-design-BWJtqIvf.js +4 -0
- package/dist/{print-runtime-instance-Df03RTCq.js → print-runtime-instance-OTdo3422.js} +1 -1
- package/dist/{print-snapshot-renderer-CifB67Uu.js → print-snapshot-renderer-ByiTyPun.js} +3 -3
- package/dist/{qrcode-design-BF9P4MgR.js → qrcode-design-hSEE0IFK.js} +1 -1
- package/dist/seal-design-BRJgX3Fr.js +4 -0
- package/dist/{single-field-drop-CzMkcDOQ.js → single-field-drop-MFIjdRrG.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -2
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
- package/dist/{sub-table-factory-BUKjHjsJ.js → sub-table-factory-D6MHOXzJ.js} +1 -1
- package/dist/{text-design-0ye2Qkdm.js → text-design-DaxQodcl.js} +1 -1
- package/dist/{trace-like-wrapper-B8ZB0cEY.js → trace-like-wrapper-Dc2qmQo_.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-C7aAgLHW.js → value-editor.vue_vue_type_style_index_0_lang-yM2HYifj.js} +1 -1
- package/dist/{widget-barcode-D0VKq_RH.js → widget-barcode-CN13ewGl.js} +2 -2
- package/dist/{widget-diagonal-B4-YeaS-.js → widget-diagonal-DMki09VI.js} +2 -2
- package/dist/{widget-image-CnOxfH66.js → widget-image-BP_4rlRW.js} +1 -1
- package/dist/{widget-line-C-RWHAjB.js → widget-line-BkbZEHCt.js} +1 -1
- package/dist/{widget-pagination-CdkML1ma.js → widget-pagination-Bo31Q_F-.js} +2 -2
- package/dist/{widget-power-CLg0Ov4-.js → widget-power-DNaqREkx.js} +2 -2
- package/dist/{widget-qrcode-Bo_PZVS3.js → widget-qrcode-DLGoKdnQ.js} +2 -2
- package/dist/{widget-rangelimit-vmFExwlR.js → widget-rangelimit-CwI-0gsT.js} +2 -2
- package/dist/{widget-serialnumber-DUCvkD2p.js → widget-serialnumber-4TPNnZeQ.js} +1 -1
- package/dist/{widget-text-CwSG4P5w.js → widget-text-kjnijcMF.js} +3 -3
- package/dist/{widget-timediff-CenBgqXn.js → widget-timediff-CZAMM1f0.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-z1CF36U7.js +0 -4
- package/dist/seal-design-DNugznsd.js +0 -4
|
@@ -6,7 +6,7 @@ import dayjs from "dayjs";
|
|
|
6
6
|
import { useFormBaseModal, DataSourceChangeEvent, getBuiltinContextFields, DataSources, FieldFills, closeAllFormBaseModal, FormBaseModalPlugin } from "@gct-paas/form-base";
|
|
7
7
|
import * as Antd from "ant-design-vue";
|
|
8
8
|
import { message, Modal, Alert, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, Form, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
|
|
9
|
-
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, g as getBusinessFieldKey, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, e as getParseFormulaVarInfos, f as createRuntimeDocumentV2, h as clampSealPosition, i as normalizeSealDiameter, j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, k as isCellAutoLineBreak, B as BorderTD, u as useFormModel, l as useFormTmplConfig, m as findFieldProfile, o as normalizeHistoricalBusinessRow, p as DeviceLinkTmplUtil, q as normalizeAIOcrTmpl, r as useWidgetStaticAttrs, s as useRuntimeInstanceServices, t as setSelectValidatorId, v as setSelectAnnotationId, w as useRuntimeRowState, x as getObjectBomMaterialLotQuery, y as buildObjectLotExtraQuery, z as resolveObjectFieldKeys, F as FormModelController, A as MaterialConsumptionPatternEnum, C as validateObjectBomForScan, E as resolveObjectBomEntry, G as runWithFillProduct, H as useNocodeFormWidget, I as applyConsumeObjectTraceChange, J as getObjectBomProductQuery, K as EMPTY_PRODUCT_VERSION_ID, L as normalizeHistoricalAutofillRow, N as readSealValue, O as isSealStamped, P as stampSealValue, Q as isValidSealValue, R as clearSealValue, S as parseRuntimeFieldPath, T as NCB_PROVIDE, U as calculateFormula, V as useStyles, W as useDependency, X as useFieldPresentation, Y as useRuntimeEditorFlusher, Z as RuntimeFormStateStore, _ as createRuntimeInstanceContext, $ as RuntimeInstanceRegistry, a0 as ScanParamType, a1 as RequiredQtyCalcRule, a2 as MBRender, a3 as MCRender, a4 as moveSealValue, a5 as DocumentPaper, a6 as DynamicTableAction, a7 as _sfc_main$6C } from "./dynamic-table-action-
|
|
9
|
+
import { b as bindFormulaCacheInvalidation, c as currentParamsConfig, M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, g as getBusinessFieldKey, d as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, e as getParseFormulaVarInfos, f as createRuntimeDocumentV2, h as clampSealPosition, i as normalizeSealDiameter, j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, k as isCellAutoLineBreak, B as BorderTD, u as useFormModel, l as useFormTmplConfig, m as findFieldProfile, o as normalizeHistoricalBusinessRow, p as DeviceLinkTmplUtil, q as normalizeAIOcrTmpl, r as useWidgetStaticAttrs, s as useRuntimeInstanceServices, t as setSelectValidatorId, v as setSelectAnnotationId, w as useRuntimeRowState, x as getObjectBomMaterialLotQuery, y as buildObjectLotExtraQuery, z as resolveObjectFieldKeys, F as FormModelController, A as MaterialConsumptionPatternEnum, C as validateObjectBomForScan, E as resolveObjectBomEntry, G as runWithFillProduct, H as useNocodeFormWidget, I as applyConsumeObjectTraceChange, J as getObjectBomProductQuery, K as EMPTY_PRODUCT_VERSION_ID, L as normalizeHistoricalAutofillRow, N as readSealValue, O as isSealStamped, P as stampSealValue, Q as isValidSealValue, R as clearSealValue, S as parseRuntimeFieldPath, T as NCB_PROVIDE, U as calculateFormula, V as useStyles, W as useDependency, X as useFieldPresentation, Y as useRuntimeEditorFlusher, Z as RuntimeFormStateStore, _ as createRuntimeInstanceContext, $ as RuntimeInstanceRegistry, a0 as ScanParamType, a1 as RequiredQtyCalcRule, a2 as MBRender, a3 as MCRender, a4 as moveSealValue, a5 as DocumentPaper, a6 as DynamicTableAction, a7 as _sfc_main$6C } from "./dynamic-table-action-JR8LU5WT.js";
|
|
10
10
|
import { S as SEARCH_SEVICE, u as useWebUpload, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6B, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DjI5GeWt.js";
|
|
11
11
|
import { HttpUtil } from "@gct-paas/api";
|
|
12
12
|
import { Tooltip, Grid, Table, Column, Icon as Icon$2, Edit, Validator, VxeGrid } from "vxe-table";
|
|
@@ -2016,7 +2016,7 @@ function openWindow(url, opt) {
|
|
|
2016
2016
|
const FieldPropLabels = Object.entries(FIELD_PROP_LABEL_MAP);
|
|
2017
2017
|
const FieldTypeLabels = Object.entries(FIELD_TYPE_LABEL_MAP);
|
|
2018
2018
|
async function createWorkbook() {
|
|
2019
|
-
const ExcelJs = (await import("./exceljs.min-
|
|
2019
|
+
const ExcelJs = (await import("./exceljs.min-wPuo8a9q.js").then((n) => n.e)).default;
|
|
2020
2020
|
return new ExcelJs.Workbook();
|
|
2021
2021
|
}
|
|
2022
2022
|
class XlsxParser {
|
|
@@ -2387,28 +2387,28 @@ class XlsxParser {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
function asyncImportClassModules() {
|
|
2389
2389
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2390
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2391
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2392
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2393
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2394
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2395
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2396
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2397
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2398
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2399
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2400
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2401
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2402
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2403
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2404
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2405
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2406
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2407
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2390
|
+
"./_field_/auto-complete/index.ts": () => import("./index-BIitBpK7.js").then((m) => m["default"]),
|
|
2391
|
+
"./_field_/datepicker/index.ts": () => import("./index-Ds8UpdFP.js").then((m) => m["default"]),
|
|
2392
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-LiOm5nws.js").then((m) => m["default"]),
|
|
2393
|
+
"./_field_/department/index.ts": () => import("./index-B_95dIym.js").then((m) => m["default"]),
|
|
2394
|
+
"./_field_/enum-select/index.ts": () => import("./index-BX8xuu9v.js").then((m) => m["default"]),
|
|
2395
|
+
"./_field_/input/index.ts": () => import("./index-Bk67ggPI.js").then((m) => m["default"]),
|
|
2396
|
+
"./_field_/inputdouble/index.ts": () => import("./index-37J1K1W1.js").then((m) => m["default"]),
|
|
2397
|
+
"./_field_/inputnumber/index.ts": () => import("./index-BoZN_3QI.js").then((m) => m["default"]),
|
|
2398
|
+
"./_field_/rdo-select/index.ts": () => import("./index-C5izC2Mm.js").then((m) => m["default"]),
|
|
2399
|
+
"./_field_/seal/index.ts": () => import("./index-BxaqeEUh.js").then((m) => m["default"]),
|
|
2400
|
+
"./_field_/select/index.ts": () => import("./index-eLwoxKzH.js").then((m) => m["default"]),
|
|
2401
|
+
"./_field_/sign/index.ts": () => import("./index-sIW7hZFQ.js").then((m) => m["default"]),
|
|
2402
|
+
"./_field_/switch/index.ts": () => import("./index-Cg8xpa-X.js").then((m) => m["default"]),
|
|
2403
|
+
"./_field_/textarea/index.ts": () => import("./index-CpdA5MDE.js").then((m) => m["default"]),
|
|
2404
|
+
"./_field_/timepicker/index.ts": () => import("./index-9ipSNY71.js").then((m) => m["default"]),
|
|
2405
|
+
"./_field_/upload-file/index.ts": () => import("./index-KMB2TBbZ.js").then((m) => m["default"]),
|
|
2406
|
+
"./_field_/upload-image/index.ts": () => import("./index-CX2lK91Y.js").then((m) => m["default"]),
|
|
2407
|
+
"./_field_/userpicker/index.ts": () => import("./index-C1b5ADFV.js").then((m) => m["default"]),
|
|
2408
2408
|
"./_widget_/barcode/index.ts": () => import("./index-D3cPbNne.js").then((m) => m["default"]),
|
|
2409
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2410
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2411
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2409
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-up8dW1VW.js").then((m) => m["default"]),
|
|
2410
|
+
"./_widget_/diagonal/index.ts": () => import("./index-PVGqEoN1.js").then((m) => m["default"]),
|
|
2411
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-Pgworj4S.js").then((m) => m["default"]),
|
|
2412
2412
|
"./_widget_/image/index.ts": () => import("./index-D-WSp3EA.js").then((m) => m["default"]),
|
|
2413
2413
|
"./_widget_/line/index.ts": () => import("./index-C6oivLbu.js").then((m) => m["default"]),
|
|
2414
2414
|
"./_widget_/power/index.ts": () => import("./index-DozFqpk2.js").then((m) => m["default"]),
|
|
@@ -2418,8 +2418,8 @@ function asyncImportClassModules() {
|
|
|
2418
2418
|
"./_widget_/sub-table/index.ts": () => import("./index-CpQiCEe7.js").then((m) => m["default"]),
|
|
2419
2419
|
"./_widget_/timediff/index.ts": () => import("./index-PUFY8idd.js").then((m) => m["default"]),
|
|
2420
2420
|
"./paper/index.ts": () => import("./index-Cmr9DRpz.js").then((m) => m["default"]),
|
|
2421
|
-
"./td/index.ts": () => import("./index-
|
|
2422
|
-
"./tr/index.ts": () => import("./index-
|
|
2421
|
+
"./td/index.ts": () => import("./index-DUma1ZGa.js").then((m) => m["default"]),
|
|
2422
|
+
"./tr/index.ts": () => import("./index-DZb9l6Gw.js").then((m) => m["default"])
|
|
2423
2423
|
});
|
|
2424
2424
|
return modules;
|
|
2425
2425
|
}
|
|
@@ -15037,7 +15037,8 @@ const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
|
15037
15037
|
props: {
|
|
15038
15038
|
fieldWidget: {},
|
|
15039
15039
|
fieldMeta: {},
|
|
15040
|
-
autoLineBreak: { type: Boolean }
|
|
15040
|
+
autoLineBreak: { type: Boolean },
|
|
15041
|
+
inCombinedFields: { type: Boolean }
|
|
15041
15042
|
},
|
|
15042
15043
|
setup(__props) {
|
|
15043
15044
|
const ns = useNamespace("cell");
|
|
@@ -15092,6 +15093,11 @@ const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
|
15092
15093
|
const preserveAffixWidth = computed(
|
|
15093
15094
|
() => !readonly.value && hasAnyAffix.value && !wrapAffix.value
|
|
15094
15095
|
);
|
|
15096
|
+
const preserveOptionWidth = computed(
|
|
15097
|
+
() => props2.inCombinedFields && !props2.autoLineBreak && !readonly.value && props2.fieldWidget.category === CellWidgetCategory.Enum && [CellWidgetRenderComp.Radio, CellWidgetRenderComp.Checkbox].includes(
|
|
15098
|
+
props2.fieldWidget.renderComp
|
|
15099
|
+
)
|
|
15100
|
+
);
|
|
15095
15101
|
const wrapperSizeStyle = computed(() => ({
|
|
15096
15102
|
width: wrapAffix.value ? "fit-content" : readonly.value ? void 0 : preserveAffixWidth.value ? "max-content" : `${normalizedCompWidth.value}px`
|
|
15097
15103
|
}));
|
|
@@ -15129,7 +15135,8 @@ const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
|
15129
15135
|
"cell-widget-design--with-prefix": hasOuterPrefix.value,
|
|
15130
15136
|
"cell-widget-design--with-suffix": hasOuterSuffix.value,
|
|
15131
15137
|
"cell-widget-design--fixed-affix": preserveAffixWidth.value,
|
|
15132
|
-
"cell-widget-design--wrap-affix": wrapAffix.value
|
|
15138
|
+
"cell-widget-design--wrap-affix": wrapAffix.value,
|
|
15139
|
+
"cell-widget-design--unwrapped-options": preserveOptionWidth.value
|
|
15133
15140
|
}
|
|
15134
15141
|
]),
|
|
15135
15142
|
style: normalizeStyle([styleVars.value, wrapperSizeStyle.value])
|
|
@@ -15149,7 +15156,7 @@ const _sfc_main$6i = /* @__PURE__ */ defineComponent({
|
|
|
15149
15156
|
};
|
|
15150
15157
|
}
|
|
15151
15158
|
});
|
|
15152
|
-
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$6i, [["__scopeId", "data-v-
|
|
15159
|
+
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$6i, [["__scopeId", "data-v-0c318157"]]);
|
|
15153
15160
|
const cellWidgetDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15154
15161
|
__proto__: null,
|
|
15155
15162
|
default: CellWidgetDesign
|
|
@@ -16183,7 +16190,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16183
16190
|
return widgetConfigList;
|
|
16184
16191
|
}
|
|
16185
16192
|
function asyncImportWidgetDesign() {
|
|
16186
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
16193
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-BRJgX3Fr.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-CHbO1c-N.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CwaKPsqR.js"), "./image/image-design.vue": () => import("./image-design-g9R_z-IY.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-BasHtAud.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-BWJtqIvf.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-hSEE0IFK.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-C92sT5qW.js"), "./text/text-design.vue": () => import("./text-design-DaxQodcl.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-D84T_Isx.js") });
|
|
16187
16194
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16188
16195
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16189
16196
|
if (mKey) {
|
|
@@ -22126,7 +22133,8 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
22126
22133
|
key: 1,
|
|
22127
22134
|
"field-widget": item.fieldWidget,
|
|
22128
22135
|
"field-meta": item.fieldMeta,
|
|
22129
|
-
"auto-line-break": isAutoLineBreak.value
|
|
22136
|
+
"auto-line-break": isAutoLineBreak.value,
|
|
22137
|
+
"in-combined-fields": ""
|
|
22130
22138
|
}, null, 8, ["field-widget", "field-meta", "auto-line-break"])) : createCommentVNode("", true)
|
|
22131
22139
|
], 64);
|
|
22132
22140
|
}), 128))
|
|
@@ -22171,7 +22179,7 @@ const _sfc_main$5$ = /* @__PURE__ */ defineComponent({
|
|
|
22171
22179
|
};
|
|
22172
22180
|
}
|
|
22173
22181
|
});
|
|
22174
|
-
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5$, [["__scopeId", "data-v-
|
|
22182
|
+
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5$, [["__scopeId", "data-v-38a0d106"]]);
|
|
22175
22183
|
const ThresholdValue = 8;
|
|
22176
22184
|
function getOffsetValue(left, width, points) {
|
|
22177
22185
|
let offset2 = left;
|
|
@@ -56801,7 +56809,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
|
|
|
56801
56809
|
}
|
|
56802
56810
|
});
|
|
56803
56811
|
function asyncImportWidgetProp() {
|
|
56804
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
56812
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-CN13ewGl.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-DMki09VI.js"), "./widget-image.vue": () => import("./widget-image-BP_4rlRW.js"), "./widget-line.vue": () => import("./widget-line-BkbZEHCt.js"), "./widget-pagination.vue": () => import("./widget-pagination-Bo31Q_F-.js"), "./widget-power.vue": () => import("./widget-power-DNaqREkx.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-DLGoKdnQ.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CwI-0gsT.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-4TPNnZeQ.js"), "./widget-text.vue": () => import("./widget-text-kjnijcMF.js"), "./widget-timediff.vue": () => import("./widget-timediff-CZAMM1f0.js") });
|
|
56805
56813
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
56806
56814
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
56807
56815
|
if (mKey) {
|
|
@@ -70880,6 +70888,9 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
70880
70888
|
const emit2 = __emit;
|
|
70881
70889
|
const currentValue = computed({
|
|
70882
70890
|
get() {
|
|
70891
|
+
if (props2.value === void 0 || props2.value === null || props2.value === "") {
|
|
70892
|
+
return [];
|
|
70893
|
+
}
|
|
70883
70894
|
if (props2.value && !Array.isArray(props2.value) && props2.mode !== "multiple") {
|
|
70884
70895
|
return [props2.value];
|
|
70885
70896
|
}
|
|
@@ -70920,7 +70931,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
70920
70931
|
};
|
|
70921
70932
|
}
|
|
70922
70933
|
});
|
|
70923
|
-
const CheckboxSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__scopeId", "data-v-
|
|
70934
|
+
const CheckboxSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__scopeId", "data-v-784964bd"]]);
|
|
70924
70935
|
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
70925
70936
|
__name: "radio-enum",
|
|
70926
70937
|
props: {
|
|
@@ -74447,7 +74458,7 @@ const VuePdf = /* @__PURE__ */ defineComponent({
|
|
|
74447
74458
|
}
|
|
74448
74459
|
});
|
|
74449
74460
|
const VueVideoPlayer = defineAsyncComponent(
|
|
74450
|
-
() => import("./VueVideoPlayer-
|
|
74461
|
+
() => import("./VueVideoPlayer-yISI5amX.js")
|
|
74451
74462
|
);
|
|
74452
74463
|
const _hoisted_1$18 = {
|
|
74453
74464
|
key: 0,
|
|
@@ -85077,6 +85088,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
85077
85088
|
const { fields } = reactive(props2.widget.props);
|
|
85078
85089
|
const dataRelationShip = inject(NCB_PROVIDE.DATA_RELATION_SHIP);
|
|
85079
85090
|
const isPreview = computed(() => dataRelationShip?.renderModeType === RenderModeEnum.ViewMode);
|
|
85091
|
+
const preserveOptionWidth = (fieldWidget) => fieldWidget.component === ComponentTypeEnum.EnumSelect && "bindCompStyleType" in fieldWidget.props && (fieldWidget.props.bindCompStyleType === BindCmpStyleEnum.CMP_RADIO || fieldWidget.props.bindCompStyleType === BindCmpStyleEnum.CMP_CHECKBOX) && !isCellAutoLineBreak(fieldWidget.style);
|
|
85080
85092
|
const wrapFields = computed(() => isCellAutoLineBreak(props2.widget.style));
|
|
85081
85093
|
const layoutStyle = computed(() => {
|
|
85082
85094
|
const { textAlign, verticalAlign } = props2.widget.style ?? {};
|
|
@@ -85111,6 +85123,9 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
85111
85123
|
style: normalizeStyle({ width: `${unref(normalizeSpacerWidth)(fieldWidget.props.spacerWidth)}px` })
|
|
85112
85124
|
}, null, 4)) : (openBlock(), createBlock(_sfc_main$1c, {
|
|
85113
85125
|
key: 1,
|
|
85126
|
+
class: normalizeClass({
|
|
85127
|
+
"combine-fields-item--unwrapped-options": preserveOptionWidth(fieldWidget)
|
|
85128
|
+
}),
|
|
85114
85129
|
widget: fieldWidget,
|
|
85115
85130
|
formData: __props.formData,
|
|
85116
85131
|
subtableFieldId: __props.subtableFieldId,
|
|
@@ -85118,14 +85133,14 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
85118
85133
|
realColIndex: __props.realColIndex,
|
|
85119
85134
|
pageRowIndex: __props.pageRowIndex,
|
|
85120
85135
|
childSubTableDataIndex: __props.childSubTableDataIndex
|
|
85121
|
-
}, null, 8, ["widget", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"]))
|
|
85136
|
+
}, null, 8, ["class", "widget", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"]))
|
|
85122
85137
|
], 64);
|
|
85123
85138
|
}), 128))
|
|
85124
85139
|
], 6);
|
|
85125
85140
|
};
|
|
85126
85141
|
}
|
|
85127
85142
|
});
|
|
85128
|
-
const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-
|
|
85143
|
+
const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-fdb7c6dd"]]);
|
|
85129
85144
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
85130
85145
|
__proto__: null,
|
|
85131
85146
|
default: combineFieldsRender
|
|
@@ -86836,6 +86851,7 @@ function useObjectInitModal() {
|
|
|
86836
86851
|
);
|
|
86837
86852
|
const bomEntry = {
|
|
86838
86853
|
...pick(result, bomKeys),
|
|
86854
|
+
force_loading_enabled_: false,
|
|
86839
86855
|
id_: existing?.objectBomConfig?.entries_?.[0]?.id_
|
|
86840
86856
|
};
|
|
86841
86857
|
result.objectBomConfig = {
|
|
@@ -95961,8 +95977,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
95961
95977
|
printTask = (async () => {
|
|
95962
95978
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
95963
95979
|
await nextTick();
|
|
95964
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
95965
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
95980
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-OTdo3422.js");
|
|
95981
|
+
const { default: renderer } = await import("./print-snapshot-renderer-ByiTyPun.js");
|
|
95966
95982
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
95967
95983
|
printRenderer.value = markRaw(renderer);
|
|
95968
95984
|
await printRuntimeInstance(
|
|
@@ -4,8 +4,8 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Dc2qmQo_.js";
|
|
9
9
|
class AutoComplete extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.AutoComplete;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
|
+
import { g as getFieldWidget } from "./index-BCpitZ3H.js";
|
|
9
9
|
class EnumSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class Department extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Department;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class Input extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Input;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class InputNumber extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Inputnumber;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,10 +2,10 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import { i as normalizeSealDiameter } from "./dynamic-table-action-
|
|
5
|
+
import { i as normalizeSealDiameter } from "./dynamic-table-action-JR8LU5WT.js";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
9
9
|
class Seal extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Seal;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class Userpicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Userpicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-Dc2qmQo_.js";
|
|
9
9
|
class RdoSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.RdoSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class UploadImage extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadImage;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-
|
|
2
|
+
import { j as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-JR8LU5WT.js";
|
|
3
3
|
import { C as ComponentTypeEnum, O as Orientation, a5 as BooleanShowMode, a4 as LabelPosition, b9 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
9
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
+
import { g as getFieldWidget } from "./index-BCpitZ3H.js";
|
|
9
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
10
10
|
class Switch extends BaseComponent {
|
|
11
11
|
component = ComponentTypeEnum.Switch;
|
|
12
12
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class Textarea extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Textarea;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
3
|
-
import { k as isCellAutoLineBreak } from "./dynamic-table-action-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-BCpitZ3H.js";
|
|
3
|
+
import { k as isCellAutoLineBreak } from "./dynamic-table-action-JR8LU5WT.js";
|
|
4
4
|
import { C as ComponentTypeEnum, H as CellType, q as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
import "dayjs";
|
|
@@ -4,7 +4,7 @@ import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
7
|
+
import { A as AsyncGctOnlineComponents } from "./index-BCpitZ3H.js";
|
|
8
8
|
class Tr {
|
|
9
9
|
component = "tr";
|
|
10
10
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class Datepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Datepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class UploadFile extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadFile;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class DateTimepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DateTimepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import { pick } from "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class Diagonal extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Diagonal;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class DynValue extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DynValue;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,8 +4,8 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-BCpitZ3H.js";
|
|
9
9
|
class Select extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Select;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-9hkBjQjp.js";
|
|
8
8
|
class Sign extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Sign;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -5,7 +5,7 @@ import { pick } from "lodash-es";
|
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
8
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-BCpitZ3H.js";
|
|
9
9
|
class CombineFields {
|
|
10
10
|
component = ComponentTypeEnum.CombineFields;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-
|
|
1
|
+
import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-BCpitZ3H.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-DjI5GeWt.js";
|
|
3
3
|
import { DataSources } from "@gct-paas/form-base";
|
|
4
4
|
export {
|
|
@@ -4,7 +4,7 @@ import "lodash-es";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { j as calcText } from "./index-
|
|
7
|
+
import { j as calcText } from "./index-BCpitZ3H.js";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "pagination-design",
|
|
10
10
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-
|
|
1
|
+
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-BCpitZ3H.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 { Z as RuntimeFormStateStore, $ as RuntimeInstanceRegistry, T as NCB_PROVIDE } from "./dynamic-table-action-
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { Z as RuntimeFormStateStore, $ as RuntimeInstanceRegistry, T as NCB_PROVIDE } from "./dynamic-table-action-JR8LU5WT.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-D6MHOXzJ.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-BCpitZ3H.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-
|
|
2
|
+
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-BCpitZ3H.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { ac as useNamespace, ad as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-BCpitZ3H.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "single-field-drop",
|
|
6
6
|
props: {
|
|
@@ -107,8 +107,8 @@ export declare class BomEntryValidator {
|
|
|
107
107
|
* @return {*}
|
|
108
108
|
*/
|
|
109
109
|
calcCustomNumberLimit(data: IMaterialConsumeData): Promise<{
|
|
110
|
-
max:
|
|
111
|
-
min:
|
|
110
|
+
max: number | undefined;
|
|
111
|
+
min: number | undefined;
|
|
112
112
|
}>;
|
|
113
113
|
/**
|
|
114
114
|
* 通用校验 5:本组上料数量是否满足 qty_validation_rule_。
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
fieldWidget: CellWidget.BasicSchema;
|
|
5
5
|
fieldMeta: IBindField;
|
|
6
6
|
autoLineBreak?: boolean;
|
|
7
|
+
inCombinedFields?: boolean;
|
|
7
8
|
};
|
|
8
9
|
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>;
|
|
9
10
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowReactive } from "vue";
|
|
2
|
-
import { b2 as SubTableActionMenuTypeEnum, b3 as getMenuByAction, b4 as SubTableActionEnum, b5 as resolveScanFillData, aJ as SubTableCore, b6 as buildDefaultMapFromProfile, b7 as buildFieldStatusFromProfile, b8 as getRowHandlersForFieldChange, b9 as getInsertSubMenu, ba as resolveScanAdjustType, bb as resolveScanQty, bc as toDateOnly, bd as hasSubtableBusinessData, be as getCopySubMenu, bf as resolveScanParsedValue, bg as isProductBatchEmptyRow } from "./dynamic-table-action-
|
|
2
|
+
import { b2 as SubTableActionMenuTypeEnum, b3 as getMenuByAction, b4 as SubTableActionEnum, b5 as resolveScanFillData, aJ as SubTableCore, b6 as buildDefaultMapFromProfile, b7 as buildFieldStatusFromProfile, b8 as getRowHandlersForFieldChange, b9 as getInsertSubMenu, ba as resolveScanAdjustType, bb as resolveScanQty, bc as toDateOnly, bd as hasSubtableBusinessData, be as getCopySubMenu, bf as resolveScanParsedValue, bg as isProductBatchEmptyRow } from "./dynamic-table-action-JR8LU5WT.js";
|
|
3
3
|
import { p as api, cD as F$1, aR as resolveLotDisplayLabel, cE as FILL_FROM_TARGET_PRODUCT_OPTION, b3 as resolveLotRecordByValue, b8 as ProductionIdentificationTypeEnum, b1 as buildLotSnListQuery, cF as F$2, cG as SCAN_ROW_CONTENT_FIELDS, cH as F$3, cI as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cJ as F$4, cK as F$5, cL as FILL_FROM_SOURCE_PRODUCT_OPTION, cM as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cN as FILL_FROM_INVENTORY_OPTION, cO as FILL_FROM_PART_OPTION, cP as FILL_FROM_INVENTORY_OPTION$1, cQ as TABLE_TYPE, cR as FILL_FROM_INVENTORY_OPTION$2, be as F$6, cS as INVENTORY_BASE_FIELDS, cT as resolveGroupByWarehouse, cU as AUTO_LOAD_READONLY_SELECT_FIELDS, bd as STOCKTAKE_DIMENSION, ba as getParseRuleInfo, cV as buildFillFromInventoryOption, b$ as calcFillData, cW as resolveStocktakeInventoryApi, bb as getParseRuleValue, cX as F$7, cY as FILL_FROM_INVENTORY_OPTION$3, cZ as LOCKED_INPUT_FIELDS, c5 as extractKeywordFromQueryData, c_ as composeProductionLotListQuery, c$ as F$8, d0 as isProductManuallyEditable, d1 as applyFillFromMfgOrderOption, d2 as applyFillFromOption$1, d3 as applyFillFromProductOption, d4 as mergeQueryFilters, d5 as composeMaterialLotListQuery, b0 as LOT_CONTAINER_ROLE, d6 as MATERIAL_CONTAINER_ID, d7 as F$9, d8 as PRODUCT_QUICK_SEARCH_FIELDS, d9 as PRODUCT_QUICK_SEARCH_EXP, da as isProductManuallyEditable$1, db as applyFillFromMaterialNoOption, dc as applyFillFromProductOption$1, dd as F$a, de as FILL_FROM_INVENTORY_OPTION$4, a0 as FormTypeEnum, aM as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BsyVWing.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
5
|
class RuntimeInstanceController {
|
|
@@ -4,7 +4,7 @@ import { X as PaperWidgeValueType, ad as _export_sfc } from "./dynamic-table-act
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { u as useSpreadSheet, h as useModelFields } from "./index-
|
|
7
|
+
import { u as useSpreadSheet, h as useModelFields } from "./index-BCpitZ3H.js";
|
|
8
8
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "text-design",
|
|
@@ -4,7 +4,7 @@ import "vue";
|
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-BCpitZ3H.js";
|
|
8
8
|
function getTraceLikeSelectProps(data) {
|
|
9
9
|
const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
|
|
10
10
|
const displayFields = (() => {
|