@gct-paas/excel 0.1.40-beta.22 → 0.1.40-beta.25
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-gOtXQLY_.js} +1 -1
- package/dist/{VueVideoPlayer-BTRWrHgw.js → VueVideoPlayer-CB5VHlj2.js} +1 -1
- package/dist/{barcode-design-BOutrCCv.js → barcode-design-Mjrep3H_.js} +1 -1
- package/dist/base/index.es.js +34 -11
- package/dist/{diagonal-design-C8Y7RdW8.js → diagonal-design-CFBp2E-O.js} +1 -1
- package/dist/{dynamic-table-action-DLctOchz.js → dynamic-table-action-BKX0Oeoy.js} +51 -31
- package/dist/excel.css +66 -52
- package/dist/{exceljs.min-CbCAYZ_e.js → exceljs.min-eo-E80If.js} +1 -1
- package/dist/{font-editor-DdR8irtJ.js → font-editor-CAZX85G4.js} +1 -1
- package/dist/{index-BIm_YKSw.js → index--7My1yo5.js} +54 -38
- package/dist/{index-D6dtoM6l.js → index--RhdrCZV.js} +1 -1
- package/dist/{index-C_Wum5DS.js → index-0S-kw2HL.js} +1 -1
- package/dist/{index-CqbuTaGQ.js → index-0pYUJqWX.js} +1 -1
- package/dist/{index-CE0kTBaD.js → index-8WHvZyAx.js} +1 -1
- package/dist/{index-CTHjoZJh.js → index-9Mi1Iiw8.js} +2 -2
- package/dist/{index-C8vcYrJ2.js → index-BBq6DSLI.js} +1 -1
- package/dist/{index-CQxjpFgv.js → index-BLqJtzs6.js} +1 -1
- package/dist/{index-JOJRN3MY.js → index-BLv5fzzG.js} +1 -1
- package/dist/{index-JFbTpwJI.js → index-BMlGh5m0.js} +1 -1
- package/dist/{index-x19gmsid.js → index-BoGFEaqo.js} +1 -1
- package/dist/{index-fTuTQkkK.js → index-BycDrbO0.js} +1 -1
- package/dist/{index-CBSkF7uO.js → index-CoKpbR25.js} +1 -1
- package/dist/{index-Cek24DHR.js → index-Cpn8pcne.js} +1 -1
- package/dist/{index-C5Z5DcwP.js → index-DgEDg0_J.js} +2 -2
- package/dist/{index-D9ZmqZVa.js → index-DifKRFVy.js} +1 -1
- package/dist/{index-CjjnjV4j.js → index-DzT1SZ9z.js} +2 -2
- package/dist/{index-TTjH7nBY.js → index-NH1JcF4s.js} +1 -1
- package/dist/{index-Cli4afdv.js → index-NulsmEum.js} +2 -2
- package/dist/{index-C0riszYt.js → index-SrAjB-wq.js} +3 -3
- package/dist/{index-DuRfWFNu.js → index-fcxbS2U1.js} +2 -2
- package/dist/{index-DNc82Cm4.js → index-hNdJpzws.js} +2 -2
- package/dist/{index-Djsed3L4.js → index-iYrfBvkL.js} +1 -1
- package/dist/{index-c69w0WwG.js → index-jTfc0zM7.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-CA-dxfST.js → pagination-design-DelDPMV6.js} +1 -1
- package/dist/paper-widget-design-UPTi8CN4.js +4 -0
- package/dist/{print-runtime-instance-Df03RTCq.js → print-runtime-instance-NcHBwPwX.js} +1 -1
- package/dist/{print-snapshot-renderer-CifB67Uu.js → print-snapshot-renderer-Dw-xzoDx.js} +3 -3
- package/dist/{qrcode-design-BF9P4MgR.js → qrcode-design-DAYfoLN-.js} +1 -1
- package/dist/seal-design-CeJEHJ-K.js +4 -0
- package/dist/{single-field-drop-CzMkcDOQ.js → single-field-drop-BcuqHgNO.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume/bom-validator.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +14 -7
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +8 -0
- 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-v9spfnMN.js} +1 -1
- package/dist/{text-design-0ye2Qkdm.js → text-design-BjhwgpUv.js} +1 -1
- package/dist/{trace-like-wrapper-B8ZB0cEY.js → trace-like-wrapper-DHb2jlre.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-CV1HsENd.js} +1 -1
- package/dist/{widget-barcode-D0VKq_RH.js → widget-barcode-CNB9Sqle.js} +2 -2
- package/dist/{widget-diagonal-B4-YeaS-.js → widget-diagonal-6ZDcxCwX.js} +2 -2
- package/dist/{widget-image-CnOxfH66.js → widget-image-D--Ynjra.js} +1 -1
- package/dist/{widget-line-C-RWHAjB.js → widget-line-CpwqEFD9.js} +1 -1
- package/dist/{widget-pagination-CdkML1ma.js → widget-pagination-BN3wWsKq.js} +2 -2
- package/dist/{widget-power-CLg0Ov4-.js → widget-power-Cn61OOWe.js} +2 -2
- package/dist/{widget-qrcode-Bo_PZVS3.js → widget-qrcode-BgUCM01T.js} +2 -2
- package/dist/{widget-rangelimit-vmFExwlR.js → widget-rangelimit-CnNNwIo0.js} +2 -2
- package/dist/{widget-serialnumber-DUCvkD2p.js → widget-serialnumber-gZih5585.js} +1 -1
- package/dist/{widget-text-CwSG4P5w.js → widget-text--iXnC5zl.js} +3 -3
- package/dist/{widget-timediff-CenBgqXn.js → widget-timediff-DN-FCR7T.js} +1 -1
- package/package.json +2 -2
- 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-BKX0Oeoy.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-eo-E80If.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-DgEDg0_J.js").then((m) => m["default"]),
|
|
2391
|
+
"./_field_/datepicker/index.ts": () => import("./index--RhdrCZV.js").then((m) => m["default"]),
|
|
2392
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-iYrfBvkL.js").then((m) => m["default"]),
|
|
2393
|
+
"./_field_/department/index.ts": () => import("./index-BBq6DSLI.js").then((m) => m["default"]),
|
|
2394
|
+
"./_field_/enum-select/index.ts": () => import("./index-hNdJpzws.js").then((m) => m["default"]),
|
|
2395
|
+
"./_field_/input/index.ts": () => import("./index-0S-kw2HL.js").then((m) => m["default"]),
|
|
2396
|
+
"./_field_/inputdouble/index.ts": () => import("./index-BoGFEaqo.js").then((m) => m["default"]),
|
|
2397
|
+
"./_field_/inputnumber/index.ts": () => import("./index-DifKRFVy.js").then((m) => m["default"]),
|
|
2398
|
+
"./_field_/rdo-select/index.ts": () => import("./index-NulsmEum.js").then((m) => m["default"]),
|
|
2399
|
+
"./_field_/seal/index.ts": () => import("./index-fcxbS2U1.js").then((m) => m["default"]),
|
|
2400
|
+
"./_field_/select/index.ts": () => import("./index-DzT1SZ9z.js").then((m) => m["default"]),
|
|
2401
|
+
"./_field_/sign/index.ts": () => import("./index-Cpn8pcne.js").then((m) => m["default"]),
|
|
2402
|
+
"./_field_/switch/index.ts": () => import("./index-SrAjB-wq.js").then((m) => m["default"]),
|
|
2403
|
+
"./_field_/textarea/index.ts": () => import("./index-NH1JcF4s.js").then((m) => m["default"]),
|
|
2404
|
+
"./_field_/timepicker/index.ts": () => import("./index-jTfc0zM7.js").then((m) => m["default"]),
|
|
2405
|
+
"./_field_/upload-file/index.ts": () => import("./index-8WHvZyAx.js").then((m) => m["default"]),
|
|
2406
|
+
"./_field_/upload-image/index.ts": () => import("./index-BLv5fzzG.js").then((m) => m["default"]),
|
|
2407
|
+
"./_field_/userpicker/index.ts": () => import("./index-BLqJtzs6.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-0pYUJqWX.js").then((m) => m["default"]),
|
|
2410
|
+
"./_widget_/diagonal/index.ts": () => import("./index-BycDrbO0.js").then((m) => m["default"]),
|
|
2411
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-CoKpbR25.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-9Mi1Iiw8.js").then((m) => m["default"]),
|
|
2422
|
+
"./tr/index.ts": () => import("./index-BMlGh5m0.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-CeJEHJ-K.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-Mjrep3H_.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-CFBp2E-O.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-DelDPMV6.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-UPTi8CN4.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-DAYfoLN-.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-BjhwgpUv.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-CNB9Sqle.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-6ZDcxCwX.js"), "./widget-image.vue": () => import("./widget-image-D--Ynjra.js"), "./widget-line.vue": () => import("./widget-line-CpwqEFD9.js"), "./widget-pagination.vue": () => import("./widget-pagination-BN3wWsKq.js"), "./widget-power.vue": () => import("./widget-power-Cn61OOWe.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-BgUCM01T.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-CnNNwIo0.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-gZih5585.js"), "./widget-text.vue": () => import("./widget-text--iXnC5zl.js"), "./widget-timediff.vue": () => import("./widget-timediff-DN-FCR7T.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-CB5VHlj2.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-NcHBwPwX.js");
|
|
95981
|
+
const { default: renderer } = await import("./print-snapshot-renderer-Dw-xzoDx.js");
|
|
95966
95982
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
95967
95983
|
printRenderer.value = markRaw(renderer);
|
|
95968
95984
|
await printRuntimeInstance(
|
|
@@ -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-gOtXQLY_.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-gOtXQLY_.js";
|
|
8
8
|
class Input extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Input;
|
|
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--7My1yo5.js";
|
|
9
9
|
class CombineFields {
|
|
10
10
|
component = ComponentTypeEnum.CombineFields;
|
|
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-gOtXQLY_.js";
|
|
8
8
|
class UploadFile extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadFile;
|
|
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--7My1yo5.js";
|
|
3
|
+
import { k as isCellAutoLineBreak } from "./dynamic-table-action-BKX0Oeoy.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 "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-gOtXQLY_.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-gOtXQLY_.js";
|
|
8
8
|
class Userpicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Userpicker;
|
|
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-gOtXQLY_.js";
|
|
8
8
|
class UploadImage extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadImage;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -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--7My1yo5.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-gOtXQLY_.js";
|
|
8
8
|
class InputDouble extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.InputDouble;
|
|
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-gOtXQLY_.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-gOtXQLY_.js";
|
|
8
8
|
class DynValue extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DynValue;
|
|
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-gOtXQLY_.js";
|
|
8
8
|
class Sign extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Sign;
|
|
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-gOtXQLY_.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DHb2jlre.js";
|
|
9
9
|
class AutoComplete extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.AutoComplete;
|
|
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-gOtXQLY_.js";
|
|
8
8
|
class InputNumber extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Inputnumber;
|
|
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-gOtXQLY_.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--7My1yo5.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-gOtXQLY_.js";
|
|
8
8
|
class Textarea extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Textarea;
|
|
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-gOtXQLY_.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DHb2jlre.js";
|
|
9
9
|
class RdoSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.RdoSelect;
|
|
11
11
|
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-BKX0Oeoy.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--7My1yo5.js";
|
|
9
|
+
import { B as BaseComponent } from "./BaseComponent-gOtXQLY_.js";
|
|
10
10
|
class Switch extends BaseComponent {
|
|
11
11
|
component = ComponentTypeEnum.Switch;
|
|
12
12
|
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-BKX0Oeoy.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-gOtXQLY_.js";
|
|
9
9
|
class Seal extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Seal;
|
|
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-gOtXQLY_.js";
|
|
8
|
+
import { g as getFieldWidget } from "./index--7My1yo5.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-gOtXQLY_.js";
|
|
8
8
|
class DateTimepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DateTimepicker;
|
|
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-gOtXQLY_.js";
|
|
8
8
|
class Timepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Timepicker;
|
|
10
10
|
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--7My1yo5.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--7My1yo5.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--7My1yo5.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-BKX0Oeoy.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-v9spfnMN.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index--7My1yo5.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--7My1yo5.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--7My1yo5.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_。
|