@gct-paas/excel 0.1.39-beta.43 → 0.1.39-beta.45
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-DhTXxc4x.js → BaseComponent-BcMUXzWr.js} +1 -1
- package/dist/{barcode-design-NS1lArmz.js → barcode-design-DCo5X-NW.js} +1 -1
- package/dist/base/index.es.js +4 -4
- package/dist/{diagonal-design-Cwftu7hx.js → diagonal-design-CTC7YZ27.js} +1 -1
- package/dist/{dynamic-table-action-prScpPSO.js → dynamic-table-action-CTBy77AD.js} +16 -14
- package/dist/excel.css +64 -50
- package/dist/{exceljs.min-C8jXFWc7.js → exceljs.min-BHi5L338.js} +1 -1
- package/dist/{font-editor-CsApTDPC.js → font-editor--mgAlMck.js} +1 -1
- package/dist/{index-D9hguffi.js → index-B2tkugA7.js} +52 -37
- package/dist/{index-DCrPZFf7.js → index-B39BtiX-.js} +2 -2
- package/dist/{index-CKEpTba9.js → index-BMEKVMta.js} +2 -2
- package/dist/{index-D1mJkeww.js → index-B_wIm0c_.js} +1 -1
- package/dist/{index-DyMkQIRS.js → index-Bz009Lre.js} +1 -1
- package/dist/{index-D_up7D_j.js → index-CDLTNhDs.js} +1 -1
- package/dist/{index-CbsfoOi4.js → index-CFZlwM2O.js} +1 -1
- package/dist/{index-DxlyGiK8.js → index-CPgE97o3.js} +2 -2
- package/dist/{index-k2fPE1RL.js → index-CiW7CSPh.js} +1 -1
- package/dist/{index-Bjd5wuw-.js → index-Cit7v0Sn.js} +1 -1
- package/dist/{index-BEIwixHG.js → index-CizCUtiP.js} +1 -1
- package/dist/{index-CxPjhQyf.js → index-Clecgmwq.js} +1 -1
- package/dist/{index-D9x5f9Aq.js → index-CqDSzVbY.js} +1 -1
- package/dist/{index-BHvLNvGx.js → index-CrAk2XO5.js} +1 -1
- package/dist/{index-8qbd3NxM.js → index-D2OOg_P9.js} +2 -2
- package/dist/{index-BH-h7Bat.js → index-DAYRbY4X.js} +1 -1
- package/dist/{index-D6wyJoQk.js → index-DMPLAalb.js} +3 -3
- package/dist/{index-yo02_Auy.js → index-DOkOt95L.js} +1 -1
- package/dist/{index-BVdJYwE3.js → index-Des_Z7g-.js} +1 -1
- package/dist/{index-COddIoq-.js → index-Dig1Y-WI.js} +2 -2
- package/dist/{index-D-Xv5wzv.js → index-Dnaztyex.js} +1 -1
- package/dist/{index-DK3dd2is.js → index-DtpStBfx.js} +2 -2
- package/dist/{index-mfqsTXoB.js → index-GQjqLjCV.js} +1 -1
- package/dist/{index-0mcNFwv7.js → index-_l9ejJci.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-DITDQsUU.js → pagination-design-D8s2QR4I.js} +1 -1
- package/dist/paper-widget-design-CEdEkvnQ.js +4 -0
- package/dist/{print-runtime-instance-CvgieNN9.js → print-runtime-instance-DMKmR64C.js} +1 -1
- package/dist/{print-snapshot-renderer-ex82O_4p.js → print-snapshot-renderer-Dqh4wq32.js} +3 -3
- package/dist/{qrcode-design-BGpk7DbL.js → qrcode-design-CAl6czye.js} +1 -1
- package/dist/seal-design-CWPtNAMf.js +4 -0
- package/dist/{single-field-drop-D6uaQgvU.js → single-field-drop-VsopxP2Q.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-BN0oN8fv.js → sub-table-factory-Ch6_9YNA.js} +1 -1
- package/dist/{text-design-BWOLDnTX.js → text-design-BhAmwouQ.js} +1 -1
- package/dist/{trace-like-wrapper-Cpc_zYa_.js → trace-like-wrapper-BKilXIvf.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-frsVEjsA.js → value-editor.vue_vue_type_style_index_0_lang-D8HDJ4_Y.js} +1 -1
- package/dist/{widget-barcode-EVHu7mED.js → widget-barcode-BRgk5gJJ.js} +2 -2
- package/dist/{widget-diagonal-Diw_gUHO.js → widget-diagonal-ZRIIfCLT.js} +2 -2
- package/dist/{widget-image-Cbtyhn6y.js → widget-image-BYbhP5K2.js} +1 -1
- package/dist/{widget-line-DUUUqzV9.js → widget-line-D_AZ1rPP.js} +1 -1
- package/dist/{widget-pagination-BN0-keGV.js → widget-pagination-a49kG9bb.js} +2 -2
- package/dist/{widget-power-Bh_7NHI0.js → widget-power-CXpS_5Fa.js} +2 -2
- package/dist/{widget-qrcode-B03rwAGe.js → widget-qrcode-31D-nG6D.js} +2 -2
- package/dist/{widget-rangelimit-BInkWZeQ.js → widget-rangelimit-CbKUOqCH.js} +2 -2
- package/dist/{widget-serialnumber-BaL2uasA.js → widget-serialnumber-Dd3xlWF_.js} +1 -1
- package/dist/{widget-text-C0Y_wCd_.js → widget-text-B9Sz6JsF.js} +3 -3
- package/dist/{widget-timediff-vo-vEV1L.js → widget-timediff-DL5l1QV-.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-BGs8VQMz.js +0 -4
- package/dist/seal-design-BTVRnLdn.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, Alert, 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, g as getBusinessFieldKey, b as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, c as getParseFormulaVarInfos, d as createRuntimeDocumentV2, e as clampSealPosition, f as normalizeSealDiameter, h as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, i as isCellAutoLineBreak, B as BorderTD, u as useFormTmplConfig, j as normalizeHistoricalBusinessRow, k as DeviceLinkTmplUtil, l as normalizeAIOcrTmpl, m as useWidgetStaticAttrs, o as useRuntimeInstanceServices, s as setSelectValidatorId, p as setSelectAnnotationId, q as useRuntimeRowState, r as getObjectBomMaterialLotQuery, t as buildObjectLotExtraQuery, v as resolveObjectFieldKeys, w as MaterialConsumptionPatternEnum, x as validateObjectBomForScan, y as resolveObjectBomEntry, z as runWithFillProduct, A as useNocodeFormWidget, C as applyConsumeObjectTraceChange, E as getObjectBomProductQuery, F as EMPTY_PRODUCT_VERSION_ID, G as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, H as readSealValue, I as isSealStamped, J as stampSealValue, K as isValidSealValue, L as clearSealValue, O as parseRuntimeFieldPath, P as calculateFormula, Q as useStyles, R as useDependency, S as useFieldPresentation, T as useRuntimeEditorFlusher, U as RuntimeFormStateStore, V as createRuntimeInstanceContext, W as RuntimeInstanceRegistry, X as ScanParamType, Y as RequiredQtyCalcRule, Z as registerFormulaFuncs, _ as moveSealValue, $ as DocumentPaper, a0 as DynamicTableAction, a1 as _sfc_main$6w } from "./dynamic-table-action-
|
|
8
|
+
import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, g as getBusinessFieldKey, b as MULTI_SHEET_SCHEMA_VERSION, n as normalizeGridColumnWidth, c as getParseFormulaVarInfos, d as createRuntimeDocumentV2, e as clampSealPosition, f as normalizeSealDiameter, h as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, i as isCellAutoLineBreak, B as BorderTD, u as useFormTmplConfig, j as normalizeHistoricalBusinessRow, k as DeviceLinkTmplUtil, l as normalizeAIOcrTmpl, m as useWidgetStaticAttrs, o as useRuntimeInstanceServices, s as setSelectValidatorId, p as setSelectAnnotationId, q as useRuntimeRowState, r as getObjectBomMaterialLotQuery, t as buildObjectLotExtraQuery, v as resolveObjectFieldKeys, w as MaterialConsumptionPatternEnum, x as validateObjectBomForScan, y as resolveObjectBomEntry, z as runWithFillProduct, A as useNocodeFormWidget, C as applyConsumeObjectTraceChange, E as getObjectBomProductQuery, F as EMPTY_PRODUCT_VERSION_ID, G as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, H as readSealValue, I as isSealStamped, J as stampSealValue, K as isValidSealValue, L as clearSealValue, O as parseRuntimeFieldPath, P as calculateFormula, Q as useStyles, R as useDependency, S as useFieldPresentation, T as useRuntimeEditorFlusher, U as RuntimeFormStateStore, V as createRuntimeInstanceContext, W as RuntimeInstanceRegistry, X as ScanParamType, Y as RequiredQtyCalcRule, Z as registerFormulaFuncs, _ as moveSealValue, $ as DocumentPaper, a0 as DynamicTableAction, a1 as _sfc_main$6w } from "./dynamic-table-action-CTBy77AD.js";
|
|
9
9
|
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6u, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CQytxboy.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$6v, h as initWebNocodeAdapter } from "./index-DZMdGtEu.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-
|
|
1934
|
+
const ExcelJs = (await import("./exceljs.min-BHi5L338.js").then((n) => n.e)).default;
|
|
1935
1935
|
return new ExcelJs.Workbook();
|
|
1936
1936
|
}
|
|
1937
1937
|
class XlsxParser {
|
|
@@ -2302,28 +2302,28 @@ class XlsxParser {
|
|
|
2302
2302
|
}
|
|
2303
2303
|
function asyncImportClassModules() {
|
|
2304
2304
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2305
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2306
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2307
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2308
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2309
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2310
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2311
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2312
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2313
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2314
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2315
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2316
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2317
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2318
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2319
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2320
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2321
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2322
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2305
|
+
"./_field_/auto-complete/index.ts": () => import("./index-D2OOg_P9.js").then((m) => m["default"]),
|
|
2306
|
+
"./_field_/datepicker/index.ts": () => import("./index-CiW7CSPh.js").then((m) => m["default"]),
|
|
2307
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-_l9ejJci.js").then((m) => m["default"]),
|
|
2308
|
+
"./_field_/department/index.ts": () => import("./index-DOkOt95L.js").then((m) => m["default"]),
|
|
2309
|
+
"./_field_/enum-select/index.ts": () => import("./index-DtpStBfx.js").then((m) => m["default"]),
|
|
2310
|
+
"./_field_/input/index.ts": () => import("./index-DAYRbY4X.js").then((m) => m["default"]),
|
|
2311
|
+
"./_field_/inputdouble/index.ts": () => import("./index-Dnaztyex.js").then((m) => m["default"]),
|
|
2312
|
+
"./_field_/inputnumber/index.ts": () => import("./index-Cit7v0Sn.js").then((m) => m["default"]),
|
|
2313
|
+
"./_field_/rdo-select/index.ts": () => import("./index-CPgE97o3.js").then((m) => m["default"]),
|
|
2314
|
+
"./_field_/seal/index.ts": () => import("./index-BMEKVMta.js").then((m) => m["default"]),
|
|
2315
|
+
"./_field_/select/index.ts": () => import("./index-B39BtiX-.js").then((m) => m["default"]),
|
|
2316
|
+
"./_field_/sign/index.ts": () => import("./index-CqDSzVbY.js").then((m) => m["default"]),
|
|
2317
|
+
"./_field_/switch/index.ts": () => import("./index-DMPLAalb.js").then((m) => m["default"]),
|
|
2318
|
+
"./_field_/textarea/index.ts": () => import("./index-GQjqLjCV.js").then((m) => m["default"]),
|
|
2319
|
+
"./_field_/timepicker/index.ts": () => import("./index-CrAk2XO5.js").then((m) => m["default"]),
|
|
2320
|
+
"./_field_/upload-file/index.ts": () => import("./index-CDLTNhDs.js").then((m) => m["default"]),
|
|
2321
|
+
"./_field_/upload-image/index.ts": () => import("./index-Bz009Lre.js").then((m) => m["default"]),
|
|
2322
|
+
"./_field_/userpicker/index.ts": () => import("./index-CFZlwM2O.js").then((m) => m["default"]),
|
|
2323
2323
|
"./_widget_/barcode/index.ts": () => import("./index-CwIsdzXH.js").then((m) => m["default"]),
|
|
2324
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2325
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2326
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2324
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-B_wIm0c_.js").then((m) => m["default"]),
|
|
2325
|
+
"./_widget_/diagonal/index.ts": () => import("./index-Des_Z7g-.js").then((m) => m["default"]),
|
|
2326
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-CizCUtiP.js").then((m) => m["default"]),
|
|
2327
2327
|
"./_widget_/image/index.ts": () => import("./index-DCjd1J3_.js").then((m) => m["default"]),
|
|
2328
2328
|
"./_widget_/line/index.ts": () => import("./index-BO1Li3H3.js").then((m) => m["default"]),
|
|
2329
2329
|
"./_widget_/power/index.ts": () => import("./index-BO9uHu6r.js").then((m) => m["default"]),
|
|
@@ -2333,8 +2333,8 @@ function asyncImportClassModules() {
|
|
|
2333
2333
|
"./_widget_/sub-table/index.ts": () => import("./index-BjU6Dtry.js").then((m) => m["default"]),
|
|
2334
2334
|
"./_widget_/timediff/index.ts": () => import("./index-vFXGFf0u.js").then((m) => m["default"]),
|
|
2335
2335
|
"./paper/index.ts": () => import("./index-BmMbk3ux.js").then((m) => m["default"]),
|
|
2336
|
-
"./td/index.ts": () => import("./index-
|
|
2337
|
-
"./tr/index.ts": () => import("./index-
|
|
2336
|
+
"./td/index.ts": () => import("./index-Dig1Y-WI.js").then((m) => m["default"]),
|
|
2337
|
+
"./tr/index.ts": () => import("./index-Clecgmwq.js").then((m) => m["default"])
|
|
2338
2338
|
});
|
|
2339
2339
|
return modules;
|
|
2340
2340
|
}
|
|
@@ -14898,7 +14898,8 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
14898
14898
|
props: {
|
|
14899
14899
|
fieldWidget: {},
|
|
14900
14900
|
fieldMeta: {},
|
|
14901
|
-
autoLineBreak: { type: Boolean }
|
|
14901
|
+
autoLineBreak: { type: Boolean },
|
|
14902
|
+
inCombinedFields: { type: Boolean }
|
|
14902
14903
|
},
|
|
14903
14904
|
setup(__props) {
|
|
14904
14905
|
const ns = useNamespace("cell");
|
|
@@ -14953,6 +14954,11 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
14953
14954
|
const preserveAffixWidth = computed(
|
|
14954
14955
|
() => !readonly.value && hasAnyAffix.value && !wrapAffix.value
|
|
14955
14956
|
);
|
|
14957
|
+
const preserveOptionWidth = computed(
|
|
14958
|
+
() => props2.inCombinedFields && !props2.autoLineBreak && !readonly.value && props2.fieldWidget.category === CellWidgetCategory.Enum && [CellWidgetRenderComp.Radio, CellWidgetRenderComp.Checkbox].includes(
|
|
14959
|
+
props2.fieldWidget.renderComp
|
|
14960
|
+
)
|
|
14961
|
+
);
|
|
14956
14962
|
const wrapperSizeStyle = computed(() => ({
|
|
14957
14963
|
width: wrapAffix.value ? "fit-content" : readonly.value ? void 0 : preserveAffixWidth.value ? "max-content" : `${normalizedCompWidth.value}px`
|
|
14958
14964
|
}));
|
|
@@ -14990,7 +14996,8 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
14990
14996
|
"cell-widget-design--with-prefix": hasOuterPrefix.value,
|
|
14991
14997
|
"cell-widget-design--with-suffix": hasOuterSuffix.value,
|
|
14992
14998
|
"cell-widget-design--fixed-affix": preserveAffixWidth.value,
|
|
14993
|
-
"cell-widget-design--wrap-affix": wrapAffix.value
|
|
14999
|
+
"cell-widget-design--wrap-affix": wrapAffix.value,
|
|
15000
|
+
"cell-widget-design--unwrapped-options": preserveOptionWidth.value
|
|
14994
15001
|
}
|
|
14995
15002
|
]),
|
|
14996
15003
|
style: normalizeStyle([styleVars.value, wrapperSizeStyle.value])
|
|
@@ -15010,7 +15017,7 @@ const _sfc_main$6b = /* @__PURE__ */ defineComponent({
|
|
|
15010
15017
|
};
|
|
15011
15018
|
}
|
|
15012
15019
|
});
|
|
15013
|
-
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$6b, [["__scopeId", "data-v-
|
|
15020
|
+
const CellWidgetDesign = /* @__PURE__ */ _export_sfc(_sfc_main$6b, [["__scopeId", "data-v-0c318157"]]);
|
|
15014
15021
|
const cellWidgetDesign = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15015
15022
|
__proto__: null,
|
|
15016
15023
|
default: CellWidgetDesign
|
|
@@ -16044,7 +16051,7 @@ function asyncImportWidgetConfigList() {
|
|
|
16044
16051
|
return widgetConfigList;
|
|
16045
16052
|
}
|
|
16046
16053
|
function asyncImportWidgetDesign() {
|
|
16047
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
16054
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-CWPtNAMf.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-DCo5X-NW.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CTC7YZ27.js"), "./image/image-design.vue": () => import("./image-design-CvPulfQ5.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-D8s2QR4I.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-CEdEkvnQ.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-CAl6czye.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-b3PN24Uf.js"), "./text/text-design.vue": () => import("./text-design-BhAmwouQ.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-BLpsTDOD.js") });
|
|
16048
16055
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
16049
16056
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
16050
16057
|
if (mKey) {
|
|
@@ -21982,7 +21989,8 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
21982
21989
|
key: 1,
|
|
21983
21990
|
"field-widget": item.fieldWidget,
|
|
21984
21991
|
"field-meta": item.fieldMeta,
|
|
21985
|
-
"auto-line-break": isAutoLineBreak.value
|
|
21992
|
+
"auto-line-break": isAutoLineBreak.value,
|
|
21993
|
+
"in-combined-fields": ""
|
|
21986
21994
|
}, null, 8, ["field-widget", "field-meta", "auto-line-break"])) : createCommentVNode("", true)
|
|
21987
21995
|
], 64);
|
|
21988
21996
|
}), 128))
|
|
@@ -22027,7 +22035,7 @@ const _sfc_main$5U = /* @__PURE__ */ defineComponent({
|
|
|
22027
22035
|
};
|
|
22028
22036
|
}
|
|
22029
22037
|
});
|
|
22030
|
-
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5U, [["__scopeId", "data-v-
|
|
22038
|
+
const SpreadSheetCell = /* @__PURE__ */ _export_sfc(_sfc_main$5U, [["__scopeId", "data-v-e082ef2d"]]);
|
|
22031
22039
|
const ThresholdValue = 8;
|
|
22032
22040
|
function getOffsetValue(left, width, points) {
|
|
22033
22041
|
let offset2 = left;
|
|
@@ -53009,7 +53017,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
|
|
|
53009
53017
|
}
|
|
53010
53018
|
});
|
|
53011
53019
|
function asyncImportWidgetProp() {
|
|
53012
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
53020
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-BRgk5gJJ.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-ZRIIfCLT.js"), "./widget-image.vue": () => import("./widget-image-BYbhP5K2.js"), "./widget-line.vue": () => import("./widget-line-D_AZ1rPP.js"), "./widget-pagination.vue": () => import("./widget-pagination-a49kG9bb.js"), "./widget-power.vue": () => import("./widget-power-CXpS_5Fa.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-31D-nG6D.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CbKUOqCH.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-Dd3xlWF_.js"), "./widget-text.vue": () => import("./widget-text-B9Sz6JsF.js"), "./widget-timediff.vue": () => import("./widget-timediff-DL5l1QV-.js") });
|
|
53013
53021
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
53014
53022
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
53015
53023
|
if (mKey) {
|
|
@@ -66782,6 +66790,9 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
66782
66790
|
const emit2 = __emit;
|
|
66783
66791
|
const currentValue = computed({
|
|
66784
66792
|
get() {
|
|
66793
|
+
if (props2.value === void 0 || props2.value === null || props2.value === "") {
|
|
66794
|
+
return [];
|
|
66795
|
+
}
|
|
66785
66796
|
if (props2.value && !Array.isArray(props2.value) && props2.mode !== "multiple") {
|
|
66786
66797
|
return [props2.value];
|
|
66787
66798
|
}
|
|
@@ -66822,7 +66833,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
66822
66833
|
};
|
|
66823
66834
|
}
|
|
66824
66835
|
});
|
|
66825
|
-
const CheckboxSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-
|
|
66836
|
+
const CheckboxSwitch$1 = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-784964bd"]]);
|
|
66826
66837
|
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
66827
66838
|
__name: "radio-enum",
|
|
66828
66839
|
props: {
|
|
@@ -80990,6 +81001,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
80990
81001
|
setup(__props) {
|
|
80991
81002
|
const props2 = __props;
|
|
80992
81003
|
const { fields } = reactive(props2.widget.props);
|
|
81004
|
+
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);
|
|
80993
81005
|
const wrapFields = computed(() => isCellAutoLineBreak(props2.widget.style));
|
|
80994
81006
|
const layoutStyle = computed(() => {
|
|
80995
81007
|
const { textAlign, verticalAlign } = props2.widget.style ?? {};
|
|
@@ -81015,6 +81027,9 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
81015
81027
|
style: normalizeStyle({ width: `${unref(normalizeSpacerWidth)(fieldWidget.props.spacerWidth)}px` })
|
|
81016
81028
|
}, null, 4)) : (openBlock(), createBlock(_sfc_main$19, {
|
|
81017
81029
|
key: 1,
|
|
81030
|
+
class: normalizeClass({
|
|
81031
|
+
"combine-fields-item--unwrapped-options": preserveOptionWidth(fieldWidget)
|
|
81032
|
+
}),
|
|
81018
81033
|
widget: fieldWidget,
|
|
81019
81034
|
formData: __props.formData,
|
|
81020
81035
|
subtableFieldId: __props.subtableFieldId,
|
|
@@ -81022,14 +81037,14 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
81022
81037
|
realColIndex: __props.realColIndex,
|
|
81023
81038
|
pageRowIndex: __props.pageRowIndex,
|
|
81024
81039
|
childSubTableDataIndex: __props.childSubTableDataIndex
|
|
81025
|
-
}, null, 8, ["widget", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"]))
|
|
81040
|
+
}, null, 8, ["class", "widget", "formData", "subtableFieldId", "realRowIndex", "realColIndex", "pageRowIndex", "childSubTableDataIndex"]))
|
|
81026
81041
|
], 64);
|
|
81027
81042
|
}), 128))
|
|
81028
81043
|
], 6);
|
|
81029
81044
|
};
|
|
81030
81045
|
}
|
|
81031
81046
|
});
|
|
81032
|
-
const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-
|
|
81047
|
+
const combineFieldsRender = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-a4017dec"]]);
|
|
81033
81048
|
const __vite_glob_0_19 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
81034
81049
|
__proto__: null,
|
|
81035
81050
|
default: combineFieldsRender
|
|
@@ -91233,8 +91248,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
91233
91248
|
printTask = (async () => {
|
|
91234
91249
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
91235
91250
|
await nextTick();
|
|
91236
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
91237
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
91251
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-DMKmR64C.js");
|
|
91252
|
+
const { default: renderer } = await import("./print-snapshot-renderer-Dqh4wq32.js");
|
|
91238
91253
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
91239
91254
|
printRenderer.value = markRaw(renderer);
|
|
91240
91255
|
await printRuntimeInstance(
|
|
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-B2tkugA7.js";
|
|
8
8
|
class Select extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Select;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,9 @@ 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 { f as normalizeSealDiameter } from "./dynamic-table-action-
|
|
5
|
+
import { f as normalizeSealDiameter } from "./dynamic-table-action-CTBy77AD.js";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
8
8
|
class Seal extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Seal;
|
|
10
10
|
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-
|
|
7
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-B2tkugA7.js";
|
|
8
8
|
class CombineFields {
|
|
9
9
|
component = ComponentTypeEnum.CombineFields;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, aw as ImageDisplayModeEnum } from "./dynamic-ta
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class UploadImage extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadImage;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class UploadFile extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.UploadFile;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class Userpicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Userpicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import "vue";
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BKilXIvf.js";
|
|
8
8
|
class RdoSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, au as RangeCompareOp, at as RangeValidateMode }
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class Datepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Datepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, av as DecimalDisplayMode, au as RangeCompareOp,
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class InputNumber extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Inputnumber;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as L
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class DynValue extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DynValue;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import "vue";
|
|
|
3
3
|
import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
6
|
+
import { A as AsyncGctOnlineComponents } from "./index-B2tkugA7.js";
|
|
7
7
|
class Tr {
|
|
8
8
|
component = "tr";
|
|
9
9
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a1 as SignatureImageDirectionEnum, a2 as Fallba
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class Sign extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Sign;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class Timepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Timepicker;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import "vue";
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-BKilXIvf.js";
|
|
8
8
|
class AutoComplete extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.AutoComplete;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a_ as BindCmpStyleEnum } from "./dynamic-table-
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class Input extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Input;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { h as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-
|
|
2
|
+
import { h as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-CTBy77AD.js";
|
|
3
3
|
import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition, a_ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
8
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { g as getFieldWidget } from "./index-B2tkugA7.js";
|
|
8
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
9
9
|
class Switch extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Switch;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class Department extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Department;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import "vue";
|
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class Diagonal extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Diagonal;
|
|
9
9
|
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 { i as isCellAutoLineBreak } from "./dynamic-table-action-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-B2tkugA7.js";
|
|
3
|
+
import { i as isCellAutoLineBreak } from "./dynamic-table-action-CTBy77AD.js";
|
|
4
4
|
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
import "dayjs";
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, av as DecimalDisplayMode, au as RangeCompareOp,
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class InputDouble extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.InputDouble;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,8 +3,8 @@ import { C as ComponentTypeEnum, O as Orientation, $ as LabelPosition, a_ as Bin
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
-
import { g as getFieldWidget } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
|
+
import { g as getFieldWidget } from "./index-B2tkugA7.js";
|
|
8
8
|
class EnumSelect extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.EnumSelect;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, a_ as BindCmpStyleEnum } from "./dynamic-table-
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class Textarea extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Textarea;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE, au as RangeCompareOp, at as Ra
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BcMUXzWr.js";
|
|
7
7
|
class DateTimepicker extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.DateTimepicker;
|
|
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-
|
|
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-B2tkugA7.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-CQytxboy.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-
|
|
6
|
+
import { j as calcText } from "./index-B2tkugA7.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "pagination-design",
|
|
9
9
|
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-B2tkugA7.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 { U as RuntimeFormStateStore, W as RuntimeInstanceRegistry, N 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 { U as RuntimeFormStateStore, W as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-CTBy77AD.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-Ch6_9YNA.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-B2tkugA7.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-B2tkugA7.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 { 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-
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-B2tkugA7.js";
|
|
4
4
|
import { a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
@@ -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 { aX as SubTableActionMenuTypeEnum, aY as getMenuByAction, aZ as SubTableActionEnum, a_ as resolveScanFillData, aC as SubTableCore, a$ as getInsertSubMenu, b0 as resolveScanAdjustType, b1 as resolveScanQty, b2 as toDateOnly, b3 as hasSubtableBusinessData, b4 as getCopySubMenu, b5 as resolveScanParsedValue, b6 as isProductBatchEmptyRow } from "./dynamic-table-action-
|
|
2
|
+
import { aX as SubTableActionMenuTypeEnum, aY as getMenuByAction, aZ as SubTableActionEnum, a_ as resolveScanFillData, aC as SubTableCore, a$ as getInsertSubMenu, b0 as resolveScanAdjustType, b1 as resolveScanQty, b2 as toDateOnly, b3 as hasSubtableBusinessData, b4 as getCopySubMenu, b5 as resolveScanParsedValue, b6 as isProductBatchEmptyRow } from "./dynamic-table-action-CTBy77AD.js";
|
|
3
3
|
import { E as api, cv as F$1, cw as SCAN_ROW_CONTENT_FIELDS, cx as F$2, cy as F$3, cz as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cA as F$4, cB as F$5, cC as FILL_FROM_SOURCE_PRODUCT_OPTION, cD as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cE as FILL_FROM_INVENTORY_OPTION, cF as FILL_FROM_PART_OPTION, cG as FILL_FROM_INVENTORY_OPTION$1, cH as TABLE_TYPE, cI as FILL_FROM_INVENTORY_OPTION$2, b3 as F$6, cJ as INVENTORY_BASE_FIELDS, cK as resolveGroupByWarehouse, cL as AUTO_LOAD_READONLY_SELECT_FIELDS, b2 as STOCKTAKE_DIMENSION, a$ as getParseRuleInfo, cM as buildFillFromInventoryOption, bS as calcFillData, cN as resolveStocktakeInventoryApi, b0 as getParseRuleValue, cO as F$7, cP as FILL_FROM_INVENTORY_OPTION$3, bY as extractKeywordFromQueryData, cQ as composeProductionLotListQuery, aH as resolveLotDisplayLabel, cR as F$8, cS as isProductManuallyEditable, cT as applyFillFromMfgOrderOption, cU as applyFillFromOption$1, cV as applyFillFromProductOption, aZ as ProductionIdentificationTypeEnum, cW as mergeQueryFilters, cX as composeMaterialLotListQuery, aR as LOT_CONTAINER_ROLE, cY as MATERIAL_CONTAINER_ID, cZ as F$9, c_ as PRODUCT_QUICK_SEARCH_FIELDS, c$ as PRODUCT_QUICK_SEARCH_EXP, d0 as isProductManuallyEditable$1, d1 as applyFillFromMaterialNoOption, d2 as applyFillFromProductOption$1, d3 as F$a, d4 as FILL_FROM_INVENTORY_OPTION$4, X as FormTypeEnum, aC as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.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, a7 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-anSsEnF9.js";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { u as useSpreadSheet, h as useModelFields } from "./index-
|
|
6
|
+
import { u as useSpreadSheet, h as useModelFields } from "./index-B2tkugA7.js";
|
|
7
7
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "text-design",
|