@gct-paas/excel 0.1.39-beta.16 → 0.1.39-beta.17
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-BukKy-Ta.js → BaseComponent-DlErT5t9.js} +1 -1
- package/dist/{barcode-design-CHZzFsEC.js → barcode-design-BYqSIluT.js} +1 -1
- package/dist/base/index.es.js +198 -43
- package/dist/{diagonal-design-OOMfRYA4.js → diagonal-design-VrL3QMMA.js} +1 -1
- package/dist/{exceljs.min-qTeeIg1c.js → exceljs.min-5Z93-UbZ.js} +1 -1
- package/dist/{font-editor-DxwZPPcW.js → font-editor-fCko9QUc.js} +1 -1
- package/dist/{index-CiRn_aRr.js → index-9S_12I_m.js} +1 -1
- package/dist/{index-DNTr3TAQ.js → index-B0_PuKlp.js} +1 -1
- package/dist/{index-BDal31rR.js → index-B71AMKCN.js} +1 -1
- package/dist/{index-CuNImaHo.js → index-B9mMKdWV.js} +1 -1
- package/dist/{index-CBZ8lhDg.js → index-BDQQZex8.js} +1 -1
- package/dist/{index-CzQ0z_Gd.js → index-BK1OplGc.js} +1 -1
- package/dist/{index-BzWTFxln.js → index-BLFfeKcf.js} +1 -1
- package/dist/{index-CLE6hZJS.js → index-BO6dvJRn.js} +1 -1
- package/dist/{index-DP10nlTM.js → index-BQGtju-p.js} +1 -1
- package/dist/{index-xEEcgELT.js → index-BUIxSSiF.js} +1 -1
- package/dist/{index-Cis2UVwi.js → index-BaQfzPpW.js} +1 -1
- package/dist/{index-oPtrKoRH.js → index-BhRaNTnf.js} +1 -1
- package/dist/{index-CKqMs7mS.js → index-Bq15nkZU.js} +1 -1
- package/dist/{index-ZYhlGCsX.js → index-CSinNyyL.js} +1 -1
- package/dist/{index-HLHblia-.js → index-CdWE4-P2.js} +2 -2
- package/dist/{index-BAHY8J4O.js → index-D0HlL8_z.js} +2 -2
- package/dist/{index-C2tzE0Pa.js → index-D23sYrAs.js} +2 -2
- package/dist/{index-Jq1d5kcw.js → index-DLPPv2-H.js} +2 -2
- package/dist/{index-DU9LUfhQ.js → index-DQhVTdNc.js} +1 -1
- package/dist/{index-CzmRYqq8.js → index-DSmijiaG.js} +3 -3
- package/dist/{index-BLfLEJTY.js → index-DbpSl_cV.js} +29 -29
- package/dist/{index-BEVwLj0C.js → index-KLikXsxt.js} +1 -1
- package/dist/{index-cd2rFLa1.js → index-UMo1va8T.js} +1 -1
- package/dist/{index-BQ7NWxQc.js → index-em0rzOJO.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{pagination-design-CrHZBsDW.js → pagination-design-F8N309cx.js} +1 -1
- package/dist/paper-widget-design-CsD7nTJg.js +4 -0
- package/dist/{print-runtime-instance-Bvde5aY8.js → print-runtime-instance-DhOKtC-h.js} +1 -1
- package/dist/{print-snapshot-renderer-RSs6kMHp.js → print-snapshot-renderer-BZKxblV4.js} +3 -3
- package/dist/{qrcode-design-CHT6_pT-.js → qrcode-design-PR7BvK0q.js} +1 -1
- package/dist/seal-design-D_dpyFes.js +4 -0
- package/dist/{single-field-drop-CpKHTM2p.js → single-field-drop-DUSU1bKr.js} +1 -1
- package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts +24 -0
- package/dist/{sub-table-factory-DtG-HO2a.js → sub-table-factory-CGAWlYDu.js} +1 -1
- package/dist/{text-design-Yi24e6iF.js → text-design-Dqq470X5.js} +1 -1
- package/dist/{trace-like-wrapper-DayZkwvZ.js → trace-like-wrapper-CLMuoU3p.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-EiOW4b3N.js → value-editor.vue_vue_type_style_index_0_lang-jT58gI_m.js} +1 -1
- package/dist/{widget-barcode-BrN3dVIE.js → widget-barcode-CMjsnSQF.js} +2 -2
- package/dist/{widget-diagonal-DKD-DBzk.js → widget-diagonal-DLo1ff_l.js} +2 -2
- package/dist/{widget-image-CgaOXQWN.js → widget-image-Nc9WZSx-.js} +1 -1
- package/dist/{widget-line-DMT-WUJa.js → widget-line-BaHY6N6j.js} +1 -1
- package/dist/{widget-pagination-G1-plSoL.js → widget-pagination-CM_isO4h.js} +2 -2
- package/dist/{widget-power-4broQpTr.js → widget-power-C-wYKvN7.js} +2 -2
- package/dist/{widget-qrcode-GQ83IJo5.js → widget-qrcode-5wCmIfDR.js} +2 -2
- package/dist/{widget-rangelimit-CoDlaJyU.js → widget-rangelimit-DOPnGakj.js} +2 -2
- package/dist/{widget-serialnumber-CUYfiN4D.js → widget-serialnumber-XYXXp8wM.js} +1 -1
- package/dist/{widget-text-BTh60jMy.js → widget-text-DozYzNsG.js} +3 -3
- package/dist/{widget-timediff-3Xg2As8I.js → widget-timediff-DQvxlpW_.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-CRwvgntz.js +0 -4
- package/dist/seal-design-O8r6naAH.js +0 -4
- package/dist/{dynamic-table-action-B-Tw4RYj.js → dynamic-table-action-BXNnUUIX.js} +144 -144
|
@@ -5,7 +5,7 @@ import { range, cloneDeep, get as get$3, merge, isEmpty, zip, pick, omit, has, d
|
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import * as Antd from "ant-design-vue";
|
|
7
7
|
import { message, Modal, notification, Empty, InputSearch, Cascader, ConfigProvider, Tooltip as Tooltip$1, Input, Tree, Transfer, Select, Tag, AutoComplete, TimePicker, DatePicker, Textarea, TreeSelect, CheckboxGroup, Checkbox, Radio, RadioGroup } from "ant-design-vue";
|
|
8
|
-
import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-
|
|
8
|
+
import { M as MAX_RUNTIME_SHEETS, a as MAX_RUNTIME_SHEET_TITLE_LENGTH, b as MULTI_SHEET_SCHEMA_VERSION, c as createRuntimeDocumentV2, g as getBusinessFieldKey, n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH, B as BorderTD, u as useFormTmplConfig, d as normalizeHistoricalBusinessRow, e as DeviceLinkTmplUtil, f as normalizeAIOcrTmpl, h as useWidgetStaticAttrs, i as useRuntimeInstanceServices, s as setSelectValidatorId, j as setSelectAnnotationId, k as useRuntimeRowState, l as getObjectBomMaterialLotQuery, m as buildObjectLotExtraQuery, r as resolveObjectFieldKeys, o as MaterialConsumptionPatternEnum, v as validateObjectBomForScan, p as resolveObjectBomEntry, q as runWithFillProduct, t as useNocodeFormWidget, w as applyConsumeObjectTraceChange, x as getObjectBomProductQuery, E as EMPTY_PRODUCT_VERSION_ID, y as normalizeHistoricalAutofillRow, N as NCB_PROVIDE, z as parseRuntimeFieldPath, A as useStyles, C as useDependency, F as useFieldPresentation, G as useRuntimeEditorFlusher, R as RuntimeFormStateStore, H as createRuntimeInstanceContext, I as RuntimeInstanceRegistry, S as ScanParamType, J as RequiredQtyCalcRule, K as registerFormulaFuncs, L as DocumentPaper, O as DynamicTableAction, _ as _sfc_main$6u } from "./dynamic-table-action-BXNnUUIX.js";
|
|
9
9
|
import { S as SEARCH_SEVICE, V as VersionSelect, C as CloseOutlined, E as EmptyImg$2, _ as _sfc_main$6s, P as ProductTypeEnum } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CtYTpCF6.js";
|
|
10
10
|
import { I as Icon$1, w as warning, u as useInsertStyles, s as svgBaseProps, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
11
11
|
import { u as useWebUpload, i as initWebPaasUploadApis, a as useThrottleFn, d as defaultWindow, n as noop, b as useEventListener, c as isIOS, e as unrefElement, r as require$$0, U as Uploader, f as useIntersectionObserver, g as cacheAdapter, w as watchDebounced, A as AddRuleBtn, M as ModalWrapper, F as FormFieldSelect, o as onClickOutside$1, _ as _sfc_main$6t, h as initWebNocodeAdapter } from "./index-BHXvTfAC.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-5Z93-UbZ.js").then((n) => n.e)).default;
|
|
1935
1935
|
return new ExcelJs.Workbook();
|
|
1936
1936
|
}
|
|
1937
1937
|
class XlsxParser {
|
|
@@ -2259,28 +2259,28 @@ class XlsxParser {
|
|
|
2259
2259
|
}
|
|
2260
2260
|
function asyncImportClassModules() {
|
|
2261
2261
|
const modules = /* @__PURE__ */ Object.assign({
|
|
2262
|
-
"./_field_/auto-complete/index.ts": () => import("./index-
|
|
2263
|
-
"./_field_/datepicker/index.ts": () => import("./index-
|
|
2264
|
-
"./_field_/datetimepicker/index.ts": () => import("./index-
|
|
2265
|
-
"./_field_/department/index.ts": () => import("./index-
|
|
2266
|
-
"./_field_/enum-select/index.ts": () => import("./index-
|
|
2267
|
-
"./_field_/input/index.ts": () => import("./index-
|
|
2268
|
-
"./_field_/inputdouble/index.ts": () => import("./index-
|
|
2269
|
-
"./_field_/inputnumber/index.ts": () => import("./index-
|
|
2270
|
-
"./_field_/rdo-select/index.ts": () => import("./index-
|
|
2271
|
-
"./_field_/seal/index.ts": () => import("./index-
|
|
2272
|
-
"./_field_/select/index.ts": () => import("./index-
|
|
2273
|
-
"./_field_/sign/index.ts": () => import("./index-
|
|
2274
|
-
"./_field_/switch/index.ts": () => import("./index-
|
|
2275
|
-
"./_field_/textarea/index.ts": () => import("./index-
|
|
2276
|
-
"./_field_/timepicker/index.ts": () => import("./index-
|
|
2277
|
-
"./_field_/upload-file/index.ts": () => import("./index-
|
|
2278
|
-
"./_field_/upload-image/index.ts": () => import("./index-
|
|
2279
|
-
"./_field_/userpicker/index.ts": () => import("./index-
|
|
2262
|
+
"./_field_/auto-complete/index.ts": () => import("./index-DLPPv2-H.js").then((m) => m["default"]),
|
|
2263
|
+
"./_field_/datepicker/index.ts": () => import("./index-BLFfeKcf.js").then((m) => m["default"]),
|
|
2264
|
+
"./_field_/datetimepicker/index.ts": () => import("./index-em0rzOJO.js").then((m) => m["default"]),
|
|
2265
|
+
"./_field_/department/index.ts": () => import("./index-BhRaNTnf.js").then((m) => m["default"]),
|
|
2266
|
+
"./_field_/enum-select/index.ts": () => import("./index-CdWE4-P2.js").then((m) => m["default"]),
|
|
2267
|
+
"./_field_/input/index.ts": () => import("./index-CSinNyyL.js").then((m) => m["default"]),
|
|
2268
|
+
"./_field_/inputdouble/index.ts": () => import("./index-BDQQZex8.js").then((m) => m["default"]),
|
|
2269
|
+
"./_field_/inputnumber/index.ts": () => import("./index-UMo1va8T.js").then((m) => m["default"]),
|
|
2270
|
+
"./_field_/rdo-select/index.ts": () => import("./index-D0HlL8_z.js").then((m) => m["default"]),
|
|
2271
|
+
"./_field_/seal/index.ts": () => import("./index-DQhVTdNc.js").then((m) => m["default"]),
|
|
2272
|
+
"./_field_/select/index.ts": () => import("./index-D23sYrAs.js").then((m) => m["default"]),
|
|
2273
|
+
"./_field_/sign/index.ts": () => import("./index-BaQfzPpW.js").then((m) => m["default"]),
|
|
2274
|
+
"./_field_/switch/index.ts": () => import("./index-DSmijiaG.js").then((m) => m["default"]),
|
|
2275
|
+
"./_field_/textarea/index.ts": () => import("./index-9S_12I_m.js").then((m) => m["default"]),
|
|
2276
|
+
"./_field_/timepicker/index.ts": () => import("./index-Bq15nkZU.js").then((m) => m["default"]),
|
|
2277
|
+
"./_field_/upload-file/index.ts": () => import("./index-BK1OplGc.js").then((m) => m["default"]),
|
|
2278
|
+
"./_field_/upload-image/index.ts": () => import("./index-BO6dvJRn.js").then((m) => m["default"]),
|
|
2279
|
+
"./_field_/userpicker/index.ts": () => import("./index-B9mMKdWV.js").then((m) => m["default"]),
|
|
2280
2280
|
"./_widget_/barcode/index.ts": () => import("./index-CvPWXCmn.js").then((m) => m["default"]),
|
|
2281
|
-
"./_widget_/combine-fields/index.ts": () => import("./index-
|
|
2282
|
-
"./_widget_/diagonal/index.ts": () => import("./index-
|
|
2283
|
-
"./_widget_/dyn-value/index.ts": () => import("./index-
|
|
2281
|
+
"./_widget_/combine-fields/index.ts": () => import("./index-B71AMKCN.js").then((m) => m["default"]),
|
|
2282
|
+
"./_widget_/diagonal/index.ts": () => import("./index-BQGtju-p.js").then((m) => m["default"]),
|
|
2283
|
+
"./_widget_/dyn-value/index.ts": () => import("./index-B0_PuKlp.js").then((m) => m["default"]),
|
|
2284
2284
|
"./_widget_/image/index.ts": () => import("./index-B4LBLC9w.js").then((m) => m["default"]),
|
|
2285
2285
|
"./_widget_/line/index.ts": () => import("./index-CyX1kNkY.js").then((m) => m["default"]),
|
|
2286
2286
|
"./_widget_/power/index.ts": () => import("./index-N2ZMSuL6.js").then((m) => m["default"]),
|
|
@@ -2290,8 +2290,8 @@ function asyncImportClassModules() {
|
|
|
2290
2290
|
"./_widget_/sub-table/index.ts": () => import("./index-Dq8DSt0w.js").then((m) => m["default"]),
|
|
2291
2291
|
"./_widget_/timediff/index.ts": () => import("./index-CPQNMrdO.js").then((m) => m["default"]),
|
|
2292
2292
|
"./paper/index.ts": () => import("./index-C-urdRZ2.js").then((m) => m["default"]),
|
|
2293
|
-
"./td/index.ts": () => import("./index-
|
|
2294
|
-
"./tr/index.ts": () => import("./index-
|
|
2293
|
+
"./td/index.ts": () => import("./index-KLikXsxt.js").then((m) => m["default"]),
|
|
2294
|
+
"./tr/index.ts": () => import("./index-BUIxSSiF.js").then((m) => m["default"])
|
|
2295
2295
|
});
|
|
2296
2296
|
return modules;
|
|
2297
2297
|
}
|
|
@@ -15886,7 +15886,7 @@ function asyncImportWidgetConfigList() {
|
|
|
15886
15886
|
return widgetConfigList;
|
|
15887
15887
|
}
|
|
15888
15888
|
function asyncImportWidgetDesign() {
|
|
15889
|
-
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-
|
|
15889
|
+
const modules = /* @__PURE__ */ Object.assign({ "../__cell_widgets__/cell-widget-design.vue": () => Promise.resolve().then(() => cellWidgetDesign), "../__cell_widgets__/seal/seal-design.vue": () => import("./seal-design-D_dpyFes.js"), "./barcode/barcode-design.vue": () => import("./barcode-design-BYqSIluT.js"), "./diagonal/diagonal-design.vue": () => import("./diagonal-design-VrL3QMMA.js"), "./image/image-design.vue": () => import("./image-design-DVq9O1ZF.js"), "./line/line-design.vue": () => Promise.resolve().then(() => lineDesign), "./pagination/pagination-design.vue": () => import("./pagination-design-F8N309cx.js"), "./paper-widget-design.vue": () => import("./paper-widget-design-CsD7nTJg.js"), "./power/power-design.vue": () => Promise.resolve().then(() => powerDesign), "./qrcode/qrcode-design.vue": () => import("./qrcode-design-PR7BvK0q.js"), "./rangelimit/rangelimit-design.vue": () => Promise.resolve().then(() => rangelimitDesign), "./serialnumber/serialnumber-design.vue": () => import("./serialnumber-design-BSgTQN0r.js"), "./text/text-design.vue": () => import("./text-design-Dqq470X5.js"), "./timediff/timediff-design.vue": () => import("./timediff-design-BIyHZKid.js") });
|
|
15890
15890
|
const widgetDesignMap = Object.keys(modules).reduce((map2, path) => {
|
|
15891
15891
|
const mKey = path.match(/\/([a-z]+)-design\.vue$/)?.[1];
|
|
15892
15892
|
if (mKey) {
|
|
@@ -52817,7 +52817,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
|
|
|
52817
52817
|
}
|
|
52818
52818
|
});
|
|
52819
52819
|
function asyncImportWidgetProp() {
|
|
52820
|
-
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-
|
|
52820
|
+
const modules = /* @__PURE__ */ Object.assign({ "./widget-barcode.vue": () => import("./widget-barcode-CMjsnSQF.js"), "./widget-diagonal.vue": () => import("./widget-diagonal-DLo1ff_l.js"), "./widget-image.vue": () => import("./widget-image-Nc9WZSx-.js"), "./widget-line.vue": () => import("./widget-line-BaHY6N6j.js"), "./widget-pagination.vue": () => import("./widget-pagination-CM_isO4h.js"), "./widget-power.vue": () => import("./widget-power-C-wYKvN7.js"), "./widget-qrcode.vue": () => import("./widget-qrcode-5wCmIfDR.js"), "./widget-rangelimit.vue": () => import("./widget-rangelimit-DOPnGakj.js"), "./widget-serialnumber.vue": () => import("./widget-serialnumber-XYXXp8wM.js"), "./widget-text.vue": () => import("./widget-text-DozYzNsG.js"), "./widget-timediff.vue": () => import("./widget-timediff-DQvxlpW_.js") });
|
|
52821
52821
|
const widgetPropMap = Object.keys(modules).reduce((map2, path) => {
|
|
52822
52822
|
const mKey = path.match(/\/widget-([a-z]+)\.vue$/)?.[1];
|
|
52823
52823
|
if (mKey) {
|
|
@@ -91089,8 +91089,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
91089
91089
|
printTask = (async () => {
|
|
91090
91090
|
if (document.activeElement instanceof HTMLElement) document.activeElement.blur();
|
|
91091
91091
|
await nextTick();
|
|
91092
|
-
const { printRuntimeInstance } = await import("./print-runtime-instance-
|
|
91093
|
-
const { default: renderer } = await import("./print-snapshot-renderer-
|
|
91092
|
+
const { printRuntimeInstance } = await import("./print-runtime-instance-DhOKtC-h.js");
|
|
91093
|
+
const { default: renderer } = await import("./print-snapshot-renderer-BZKxblV4.js");
|
|
91094
91094
|
if (abort.signal.aborted) throw new Error("打印已取消");
|
|
91095
91095
|
printRenderer.value = markRaw(renderer);
|
|
91096
91096
|
await printRuntimeInstance(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-DbpSl_cV.js";
|
|
3
3
|
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax 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-DlErT5t9.js";
|
|
7
7
|
class InputNumber extends BaseComponent {
|
|
8
8
|
component = ComponentTypeEnum.Inputnumber;
|
|
9
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,7 @@ import { C as ComponentTypeEnum, F as FIELD_TYPE, ax as RangeCompareOp, aw as Ra
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-DlErT5t9.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-DbpSl_cV.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-CtYTpCF6.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-DbpSl_cV.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-DbpSl_cV.js";
|
|
2
2
|
async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
|
|
3
3
|
if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
|
|
4
4
|
const snapshot = await record.controller.preparePrintSnapshot(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import { R as RuntimeFormStateStore, I as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { R as RuntimeFormStateStore, I as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-BXNnUUIX.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-CGAWlYDu.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-DbpSl_cV.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-DbpSl_cV.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-DbpSl_cV.js";
|
|
4
4
|
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
package/dist/src/nocode-base/src/hooks/material-consume-object/object-validation-controller.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IBasicInfoItem, ValidateFieldErrorMap } from '../../types';
|
|
2
|
+
import { RuntimeInstanceRecord } from '../../runtime';
|
|
3
|
+
type Options = {
|
|
4
|
+
record: RuntimeInstanceRecord;
|
|
5
|
+
getInfo(): IBasicInfoItem | undefined;
|
|
6
|
+
isCurrent(): boolean;
|
|
7
|
+
shouldSkip(): boolean;
|
|
8
|
+
applyComments(fields: ValidateFieldErrorMap): void;
|
|
9
|
+
};
|
|
10
|
+
type Result = {
|
|
11
|
+
isValid: boolean;
|
|
12
|
+
fields?: ValidateFieldErrorMap;
|
|
13
|
+
};
|
|
14
|
+
/** 实例级对象错误展示与刷新;数据变化由已有 Store 订阅传入。 */
|
|
15
|
+
export declare function createMaterialConsumeObjectValidation(options: Options): {
|
|
16
|
+
validate: (live?: boolean) => Promise<Result | undefined>;
|
|
17
|
+
requestLive: () => void;
|
|
18
|
+
replaceTableFields: (fields?: ValidateFieldErrorMap) => void;
|
|
19
|
+
clear: () => void;
|
|
20
|
+
beginSubmit(): void;
|
|
21
|
+
endSubmit(): void;
|
|
22
|
+
dispose(): void;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowReactive } from "vue";
|
|
2
|
-
import { aG as SubTableActionMenuTypeEnum, aH as getMenuByAction, aI as SubTableActionEnum, aJ as resolveScanFillData, am as SubTableCore, aK as getInsertSubMenu, aL as resolveScanAdjustType, aM as resolveScanQty, aN as toDateOnly, aO as getCopySubMenu, aP as resolveScanParsedValue, aQ as isProductBatchEmptyRow } from "./dynamic-table-action-
|
|
2
|
+
import { aG as SubTableActionMenuTypeEnum, aH as getMenuByAction, aI as SubTableActionEnum, aJ as resolveScanFillData, am as SubTableCore, aK as getInsertSubMenu, aL as resolveScanAdjustType, aM as resolveScanQty, aN as toDateOnly, aO as getCopySubMenu, aP as resolveScanParsedValue, aQ as isProductBatchEmptyRow } from "./dynamic-table-action-BXNnUUIX.js";
|
|
3
3
|
import { E as api, cN as F$1, cO as SCAN_ROW_CONTENT_FIELDS, cP as F$2, cQ as F$3, cR as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cS as F$4, cT as F$5, cU as FILL_FROM_SOURCE_PRODUCT_OPTION, cV as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cW as FILL_FROM_INVENTORY_OPTION, cX as FILL_FROM_PART_OPTION, cY as FILL_FROM_INVENTORY_OPTION$1, cZ as TABLE_TYPE, c_ as FILL_FROM_INVENTORY_OPTION$2, b5 as F$6, c$ as INVENTORY_BASE_FIELDS, d0 as resolveGroupByWarehouse, d1 as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, b1 as getParseRuleInfo, d2 as buildFillFromInventoryOption, c3 as calcFillData, d3 as resolveStocktakeInventoryApi, b2 as getParseRuleValue, d4 as F$7, d5 as FILL_FROM_INVENTORY_OPTION$3, c9 as extractKeywordFromQueryData, d6 as composeProductionLotListQuery, aK as resolveLotDisplayLabel, d7 as F$8, d8 as isProductManuallyEditable, d9 as applyFillFromMfgOrderOption, da as applyFillFromOption$1, db as applyFillFromProductOption, a$ as ProductionIdentificationTypeEnum, aU as LOT_CONTAINER_ROLE, dc as MATERIAL_CONTAINER_ID, dd as F$9, de as PRODUCT_QUICK_SEARCH_FIELDS, df as PRODUCT_QUICK_SEARCH_EXP, dg as isProductManuallyEditable$1, dh as applyFillFromMaterialNoOption, di as applyFillFromProductOption$1, dj as F$a, dk as FILL_FROM_INVENTORY_OPTION$4, Y as FormTypeEnum, aF as transformUtils, f as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
5
|
function isBlank$4(value) {
|
|
@@ -3,7 +3,7 @@ import { pick } from "lodash-es";
|
|
|
3
3
|
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.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-DbpSl_cV.js";
|
|
7
7
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "text-design",
|
|
@@ -3,7 +3,7 @@ import { F as FIELD_TYPE, b0 as BindCmpStyleEnum } from "./dynamic-table-action.
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-
|
|
6
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-DbpSl_cV.js";
|
|
7
7
|
function getTraceLikeSelectProps(data) {
|
|
8
8
|
const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
|
|
9
9
|
const displayFields = (() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-
|
|
3
|
+
import { h as useModelFields, u as useSpreadSheet, m as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, S as SingleDrop, o as getFieldIcon } from "./index-DbpSl_cV.js";
|
|
4
4
|
import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-DbpSl_cV.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-jT58gI_m.js";
|
|
4
4
|
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
|
|
2
|
-
import { F as FormItem, q as SelectEx } from "./index-
|
|
2
|
+
import { F as FormItem, q as SelectEx } from "./index-DbpSl_cV.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
4
|
import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex, cq as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
8
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
8
|
+
import { S as SingleFieldDrop } from "./single-field-drop-DUSU1bKr.js";
|
|
9
9
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "diagonal-name-editor",
|
|
11
11
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
|
|
2
|
-
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-
|
|
2
|
+
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-DbpSl_cV.js";
|
|
3
3
|
import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
5
|
import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
@@ -3,7 +3,7 @@ import { al as LineDirection } from "./dynamic-table-action.vue_vue_type_style_i
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-
|
|
6
|
+
import { F as FormItem, x as LineStyleOptions, C as ColorPicker } from "./index-DbpSl_cV.js";
|
|
7
7
|
const _hoisted_1 = { class: "ks-row-middle" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "widget-line",
|
|
@@ -3,10 +3,10 @@ import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style
|
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { F as FormItem, y as PaginationFormatOptions } from "./index-
|
|
6
|
+
import { F as FormItem, y as PaginationFormatOptions } from "./index-DbpSl_cV.js";
|
|
7
7
|
import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
|
|
8
8
|
import { A as AlignEditor } from "./align-editor-wPpZ_4zH.js";
|
|
9
|
-
import { F as FontEditor } from "./font-editor-
|
|
9
|
+
import { F as FontEditor } from "./font-editor-fCko9QUc.js";
|
|
10
10
|
const _hoisted_1 = { class: "pl-6px" };
|
|
11
11
|
const _hoisted_2 = { class: "pl-6px" };
|
|
12
12
|
const DefaultCustomFormat = "Page ${no} / ${total}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { u as useSpreadSheet, E as useReverseModeling, F as FormItem } from "./index-DbpSl_cV.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-DUSU1bKr.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
5
|
import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-DbpSl_cV.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-jT58gI_m.js";
|
|
4
4
|
import { o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
3
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
2
|
+
import { F as FormItem } from "./index-DbpSl_cV.js";
|
|
3
|
+
import { S as SingleFieldDrop } from "./single-field-drop-DUSU1bKr.js";
|
|
4
4
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
5
5
|
import { F as FIELD_TYPE, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
2
|
+
import { F as FormItem } from "./index-DbpSl_cV.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "widget-serialnumber",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { u as useSpreadSheet, F as FormItem } from "./index-DbpSl_cV.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-jT58gI_m.js";
|
|
4
4
|
import { S as SizeEditor } from "./size-editor-DQJIuZCE.js";
|
|
5
5
|
import { A as AlignEditor } from "./align-editor-wPpZ_4zH.js";
|
|
6
|
-
import { F as FontEditor } from "./font-editor-
|
|
6
|
+
import { F as FontEditor } from "./font-editor-fCko9QUc.js";
|
|
7
7
|
const _hoisted_1 = { class: "pl-6px" };
|
|
8
8
|
const _hoisted_2 = { class: "pl-6px" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-
|
|
2
|
+
import { u as useSpreadSheet, h as useModelFields, F as FormItem } from "./index-DbpSl_cV.js";
|
|
3
3
|
import { F as FIELD_TYPE, am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BmECtuSE.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
package/package.json
CHANGED