@gct-paas/excel 0.1.40-beta.4 → 0.1.40-beta.6
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-BcxRArl9.js → BaseComponent-Dfx-Xuv4.js} +2 -2
- package/dist/{VueVideoPlayer-DjIr6Duj.js → VueVideoPlayer-DHqhqgGs.js} +2 -2
- package/dist/{align-editor-99-Qs6Pu.js → align-editor-hvllGvX8.js} +1 -1
- package/dist/{barcode-design-BSkeINVU.js → barcode-design-CzlfYJ3s.js} +2 -2
- package/dist/base/index.es.js +207 -76
- package/dist/{diagonal-design-CR7fiPt_.js → diagonal-design-DCVidBZD.js} +2 -2
- package/dist/{dynamic-table-action-D8JTGNuH.js → dynamic-table-action-Dn_iw4tV.js} +6 -6
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js} +317 -279
- package/dist/{edit.utils-CXmmCnxE-5YnG7Mod.js → edit.utils-CXmmCnxE-BUEfsAZ3.js} +1 -1
- package/dist/excel.css +370 -267
- package/dist/{exceljs.min-Ckn1GGo5.js → exceljs.min-9FX7NALn.js} +2 -2
- package/dist/{font-editor-CIv2e95b.js → font-editor-ClqMOFPr.js} +3 -3
- package/dist/{image-design-Bg1m0JLl.js → image-design-Cx1YIea4.js} +2 -2
- package/dist/{index-Cjor8DKp.js → index-B3KkYxiX.js} +2 -2
- package/dist/{index-k_OAhCop.js → index-B4c_0M_d.js} +2 -2
- package/dist/{index-DHvbmtBs.js → index-B9xwdsWY.js} +4 -4
- package/dist/{index-mxtsA6kq.js → index-BKnroXXX.js} +3 -3
- package/dist/{index-CeCk3V8r.js → index-BLrixMsM.js} +2 -2
- package/dist/{index-BzdZIihy.js → index-BM1sPB29.js} +1 -1
- package/dist/{index-OHHmkknK.js → index-BRc6frrP.js} +2 -2
- package/dist/{index-DbXQsLWI.js → index-BWHnHAjs.js} +1 -1
- package/dist/{index-BA_C4l6u.js → index-BdYI71iy.js} +2 -2
- package/dist/{index-DZxTtwzU.js → index-BgzCdSQH.js} +3 -3
- package/dist/{index-BIraya7K.js → index-BjSWHyj1.js} +1 -1
- package/dist/{index-DG8I3apA.js → index-BkoKoZbl.js} +1 -1
- package/dist/{index-CzgWwoNs.js → index-CG5LAGQp.js} +2 -2
- package/dist/{index-0kZW-sd4.js → index-COmm7d4j.js} +1 -1
- package/dist/{index-rYGo3i42.js → index-CVG3Z6rp.js} +3 -3
- package/dist/{index-DgRCrbjc.js → index-CWjwF2wn.js} +2 -2
- package/dist/{index-BunphFuS.js → index-CcB9d0A-.js} +2 -2
- package/dist/{index-DN83FHdO.js → index-CjCFTTI3.js} +1 -1
- package/dist/{index-C7oAVon1.js → index-Cj_t_73x.js} +1 -1
- package/dist/{index-CeMM7qev.js → index-Cl_94fZQ.js} +2 -2
- package/dist/{index-DtwSR71M.js → index-CyPwg8fV.js} +1 -1
- package/dist/{index-BZQrpoEw.js → index-D4zDlgqU.js} +1 -1
- package/dist/{index-CUPuw1ng.js → index-D7ZzvopL.js} +2 -2
- package/dist/{index-DFJ19IKk.js → index-DCv60fUG.js} +2 -2
- package/dist/{index-C8H-5Adw.js → index-DYyVGkv3.js} +2 -2
- package/dist/{index-CRLydLMf.js → index-DkXBzlUL.js} +2 -2
- package/dist/{index-Do1A3RoM.js → index-Dp2q7ZPo.js} +2 -2
- package/dist/{index-CTyszA6m.js → index-Dru8lW-_.js} +1 -1
- package/dist/{index-B4XMnrfl.js → index-NJZaG-sl.js} +2 -2
- package/dist/{index-6wZ6Y0W3.js → index-NqYSNDX9.js} +2 -2
- package/dist/{index-CsIKJvLT.js → index-a6chYhIK.js} +2 -2
- package/dist/{index-DprbnBOa.js → index-lf11EIvP.js} +2 -2
- package/dist/{index-DLZKDd1x.js → index-mCrtpdq2.js} +539 -460
- package/dist/{index-D7DYLntD.js → index-q_pMlfx9.js} +4 -4
- package/dist/{index-CYb8lY4k.js → index-vEKEZcff.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BW27j2qa.js → mb-render-DjSdDuaL.js} +8 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QrM7rL99.js} +8 -1
- package/dist/{pagination-design-C59mi1du.js → pagination-design-DJEw5vlL.js} +2 -2
- package/dist/paper-widget-design-C3rm4SzP.js +4 -0
- package/dist/{print-runtime-instance-CT3EaCDJ.js → print-runtime-instance-BtxZfq51.js} +1 -1
- package/dist/{print-snapshot-renderer-Bm-fpHUt.js → print-snapshot-renderer-0D5MUsR6.js} +3 -3
- package/dist/{qrcode-design-Brx73IFy.js → qrcode-design-9jPH-S8z.js} +1 -1
- package/dist/{revo-grid.entry-CREHbVNI.js → revo-grid.entry-BhCFcCVS.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CBUFDouS.js → revogr-attribution_7.entry-icpuI3V8.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-C9D5KQdr.js → revogr-clipboard_3.entry-Dm2_h2RL.js} +2 -2
- package/dist/{revogr-data_4.entry-DpskbAdh.js → revogr-data_4.entry-DlVEyI7J.js} +2 -2
- package/dist/{revogr-filter-panel.entry-CqdNtCzb.js → revogr-filter-panel.entry-MJr7PMnd.js} +1 -1
- package/dist/seal-design-CtzWGxnH.js +4 -0
- package/dist/{serialnumber-design-CJM0MP9w.js → serialnumber-design-BsfJH6Kp.js} +1 -1
- package/dist/shared/index.es.js +10 -8
- package/dist/{single-field-drop-B82L3Pe3.js → single-field-drop-DXjppxDh.js} +2 -2
- package/dist/{size-editor-CybxvVWn.js → size-editor-DzQdRb-7.js} +1 -1
- package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/material-consume-object/initialize-autofill.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +2 -7
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +4 -1
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +4 -6
- package/dist/src/nocode-base/src/interface/render.d.ts +3 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +9 -1
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -0
- package/dist/src/online-form/src/views/__cell_widgets__/cell-widget-design.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts +1 -0
- package/dist/src/shared/enum/field-type.d.ts +2 -2
- package/dist/src/shared/enum/index.d.ts +2 -0
- package/dist/src/shared/enum/product-type.d.ts +9 -0
- package/dist/src/shared/enum/production-identification.d.ts +19 -0
- package/dist/{sub-table-factory-BrwMeqWM.js → sub-table-factory-Ddx70uYs.js} +4 -4
- package/dist/{text-design-Qem3wirw.js → text-design-DmLrMqdk.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-Bm1w1voP.js → throttle-Cpk1LoGk-DLVGpnFw.js} +1 -1
- package/dist/{timediff-design-CiGukjs9.js → timediff-design-CYqz1SKQ.js} +1 -1
- package/dist/{trace-like-wrapper-DrUDJDgX.js → trace-like-wrapper-CVl0Vm8r.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DXBstCLM.js → value-editor.vue_vue_type_style_index_0_lang-B0aWEk5D.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-DH30z4yi.js → widget-barcode-DwYihxgd.js} +4 -4
- package/dist/{widget-diagonal-Bv-Eb2Fi.js → widget-diagonal-DWdxDYVl.js} +3 -3
- package/dist/{widget-image-67Q9gRCG.js → widget-image-D1SXIbMU.js} +5 -5
- package/dist/{widget-line-DP3dKXNd.js → widget-line-BNTbSFkx.js} +2 -2
- package/dist/{widget-pagination-B66PcWXU.js → widget-pagination-25CKNe-i.js} +5 -5
- package/dist/{widget-power-yRy8897o.js → widget-power-BSjWdgM3.js} +3 -3
- package/dist/{widget-qrcode-DN3R8N41.js → widget-qrcode-Kbe9Skrd.js} +3 -3
- package/dist/{widget-rangelimit-zWZZMPvn.js → widget-rangelimit-TWPoG8DX.js} +3 -3
- package/dist/{widget-serialnumber-p7wB7-Bz.js → widget-serialnumber-uNkQzBIT.js} +1 -1
- package/dist/{widget-text-BQO0Rf5A.js → widget-text-DH4r60jo.js} +5 -5
- package/dist/{widget-timediff-C1VxWKle.js → widget-timediff-Bv8VCgrv.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-BNmIT8FC.js +0 -4
- package/dist/seal-design-XhQfBjxE.js +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get, pick, omit, merge } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, O as Orientation, a1 as LabelPosition,
|
|
2
|
+
import { C as ComponentTypeEnum, O as Orientation, a1 as LabelPosition, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
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-Dfx-Xuv4.js";
|
|
8
|
+
import { g as getFieldWidget } from "./index-mCrtpdq2.js";
|
|
9
9
|
class EnumSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -16,7 +16,7 @@ class EnumSelect extends BaseComponent {
|
|
|
16
16
|
bindCompStyleType: get(data.info, "renderComp", BindCmpStyleEnum.CMP_SELECT_LIST),
|
|
17
17
|
labelPos: get(data.info, "labelPosition", LabelPosition.After),
|
|
18
18
|
direction: get(data.info, "direction", Orientation.Landscape),
|
|
19
|
-
letterSpace: get(data.info, "iconLabelSpace",
|
|
19
|
+
letterSpace: get(data.info, "iconLabelSpace", 8),
|
|
20
20
|
optionGap: get(data.info, "optionGap", 12),
|
|
21
21
|
size: get(data.info, "fontSize", 12),
|
|
22
22
|
prefix: get(data.info, "prefix"),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
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-Dfx-Xuv4.js";
|
|
8
8
|
class UploadFile extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadFile;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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, au, av, h } from "./index-
|
|
2
|
-
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
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, au, av, h } from "./index-mCrtpdq2.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QrM7rL99.js";
|
|
3
3
|
import { DataSources } from "@gct-paas/form-base";
|
|
4
4
|
export {
|
|
5
5
|
G as AiTmplEditor,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, inject, provide } from "vue";
|
|
2
|
-
import { p as api, F as FIELD_TYPE, I as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { p as api, F as FIELD_TYPE, I as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
class MCRender {
|
|
4
4
|
/**
|
|
5
5
|
* 提示信息
|
|
@@ -162,7 +162,9 @@ class FormModelController {
|
|
|
162
162
|
*/
|
|
163
163
|
getFormFieldOptions(subModelKey) {
|
|
164
164
|
const fields = subModelKey ? this.getSubModelFields(subModelKey) : this.masterModel?.fields;
|
|
165
|
-
return (fields ?? []).filter(
|
|
165
|
+
return (fields ?? []).filter(
|
|
166
|
+
(field) => !this.isSystemField(field) && !this.isSubField(field) && !this.isObjectField(field)
|
|
167
|
+
).map((field) => ({
|
|
166
168
|
...field,
|
|
167
169
|
label: `${field.name}`,
|
|
168
170
|
value: `${field.modelKey}.${field.key}`
|
|
@@ -215,6 +217,10 @@ class FormModelController {
|
|
|
215
217
|
isSystemField(field) {
|
|
216
218
|
return field.createType === CreateType.SYSTEM;
|
|
217
219
|
}
|
|
220
|
+
/** 是否是对象字段类型 */
|
|
221
|
+
isObjectField(field) {
|
|
222
|
+
return field.type === FIELD_TYPE.OBJECT_TYPE;
|
|
223
|
+
}
|
|
218
224
|
/**
|
|
219
225
|
* 获取主模型里子表字段对应的子模型key
|
|
220
226
|
*
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, nextTick, watch, withCtx, withKeys, mergeProps, h, toRaw, withModifiers } from "vue";
|
|
2
2
|
import { I as Icon, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
3
|
-
import { Z as FormTypeEnum, a9 as _export_sfc, aE as FormDesignEnum, p as api, K as useModal,
|
|
3
|
+
import { Z as FormTypeEnum, a9 as _export_sfc, aE as FormDesignEnum, p as api, K as useModal, bQ as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
4
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import { Form } from "ant-design-vue";
|
|
8
8
|
import { VxeTable, VxeColumn } from "vxe-table";
|
|
9
|
+
var ProductTypeEnum = /* @__PURE__ */ ((ProductTypeEnum2) => {
|
|
10
|
+
ProductTypeEnum2["RAW_MATERIAL"] = "rawMaterial";
|
|
11
|
+
ProductTypeEnum2["SEMI_FINISHED_PRODUCT"] = "semiFinishedProduct";
|
|
12
|
+
ProductTypeEnum2["FINISHED_PRODUCT"] = "finishedProduct";
|
|
13
|
+
return ProductTypeEnum2;
|
|
14
|
+
})(ProductTypeEnum || {});
|
|
9
15
|
var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
|
|
10
16
|
SEARCH_SEVICE2["EQ"] = "eq";
|
|
11
17
|
SEARCH_SEVICE2["IEQ"] = "iEq";
|
|
@@ -1271,6 +1277,7 @@ export {
|
|
|
1271
1277
|
CloseOutlined as C,
|
|
1272
1278
|
EmptyImg as E,
|
|
1273
1279
|
OnlineFormModelModal as O,
|
|
1280
|
+
ProductTypeEnum as P,
|
|
1274
1281
|
SEARCH_SEVICE as S,
|
|
1275
1282
|
VersionSelect as V,
|
|
1276
1283
|
_sfc_main as _
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
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-mCrtpdq2.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-mCrtpdq2.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, L 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, L as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-Dn_iw4tV.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-Ddx70uYs.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-mCrtpdq2.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-mCrtpdq2.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dq as registerInstance, dr as createEvent, ds as getColumnByProp, dt as timeout, du as getVisibleSourceItem, dv as getColumns, dw as rowTypes, dx as GroupingRowPlugin, dy as StretchColumn, dz as isStretchPlugin, dA as AutoSizeColumnPlugin, dB as FilterPlugin, dC as ExportFilePlugin, dD as SortingPlugin, dE as ColumnMovePlugin, dF as ThemeService, dG as h, dH as Host, dI as getElement, dJ as BasePlugin, dK as reduce, dL as columnTypes, dM as debounce, dN as RESIZE_INTERVAL, dO as DimensionStore, dP as gatherTrimmedItems, dQ as getColumnSizes, dR as getItemByIndex, dS as DataStore, dT as getSourceItem, dU as getSourceItemVirtualIndexByProp, dV as getColumnType, dW as setSourceByPhysicalIndex, dX as setSourceByVirtualIndex, dY as SelectionStore, dZ as cropCellToMax, d_ as nextCell, d$ as isRowType, e0 as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
2
2
|
import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
3
3
|
import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
4
4
|
class ColumnDataProvider {
|
package/dist/{revogr-attribution_7.entry-CBUFDouS.js → revogr-attribution_7.entry-icpuI3V8.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dq as registerInstance, dG as h, dH as Host, dr as createEvent, dT as getSourceItem, dI as getElement, e5 as ColumnService, e6 as MOBILE_CLASS, e7 as SELECTION_BORDER_CLASS, e8 as getCellData, e9 as getCellEditor, ea as getRange, eb as isRangeSingleCell, ec as codesLetter, e0 as ViewportStore, dS as DataStore, ed as calculateRowHeaderSize, ee as ROW_HEADER_TYPE, ef as getScrollbarSize, eg as FOCUS_CLASS, dR as getItemByIndex, dt as timeout, eh as CELL_HANDLER_CLASS, dM as debounce, ei as TMP_SELECTION_BG_CLASS, dN as RESIZE_INTERVAL, ej as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
2
2
|
import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
3
|
-
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-
|
|
3
|
+
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-BUEfsAZ3.js";
|
|
4
4
|
import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
5
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
5
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DLVGpnFw.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-
|
|
1
|
+
import { dt as timeout, dq as registerInstance, dr as createEvent, dG as h, ek as EDIT_INPUT_WR, dH as Host, dI as getElement, dM as debounce, en as DRAGG_TEXT, dT as getSourceItem, ej as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-BUEfsAZ3.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
1
|
+
import { eo as PSEUDO_GROUP_ITEM, ep as GROUP_EXPANDED, eq as GROUP_DEPTH, dG as h, er as GROUP_EXPAND_BTN, es as DATA_ROW, dT as getSourceItem, et as isGroupingColumn, eu as GROUP_COLUMN_PROP, ev as getCellRaw, ew as DATA_COL, ex as CELL_CLASS, ey as Build, ez as isRowDragService, eA as DRAG_ICON_CLASS, eB as DRAGGABLE_CLASS, eC as getCellDataParsed, eD as GROUP_EXPAND_EVENT, dq as registerInstance, dr as createEvent, e5 as ColumnService, eE as isGrouping, dH as Host, dI as getElement, dR as getItemByIndex, eF as HEADER_ROW_CLASS, eG as HEADER_ACTUAL_ROW_CLASS, eH as ROW_FOCUSED_CLASS, eI as HEADER_SORTABLE_CLASS, eJ as MIN_COL_SIZE, eg as FOCUS_CLASS, eK as FilterButton, eL as HeaderCellRenderer, eM as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DLVGpnFw.js";
|
|
3
3
|
import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
4
4
|
const SortingSign = ({ column }) => {
|
|
5
5
|
var _a;
|
package/dist/{revogr-filter-panel.entry-CqdNtCzb.js → revogr-filter-panel.entry-MJr7PMnd.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dq as registerInstance, dr as createEvent, dM as debounce, dG as h, e1 as AndOrButton, e2 as ReorderButton, e3 as TrashButton, e4 as isFilterBtn, dH as Host, dI as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "serialnumber-design",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aJ, aF, u,
|
|
2
|
-
import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { aJ, aF, u, cL, I, aK, aL, cM, au, aw, F, Y, ag, H, aE, bo, a$, cN, av, T, cO, X, W, bp, aa, V } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
2
|
+
import { O, _, P, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QrM7rL99.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -57,11 +57,11 @@ export {
|
|
|
57
57
|
ButtonStyle,
|
|
58
58
|
ButtonType,
|
|
59
59
|
ButtonType_vant,
|
|
60
|
-
|
|
60
|
+
cL as CardControlEnum,
|
|
61
61
|
I as CreateType,
|
|
62
62
|
aK as Dependency_ENUM,
|
|
63
63
|
aL as EntityModelCategoryEnum,
|
|
64
|
-
|
|
64
|
+
cM as EntityModelTypeEnum,
|
|
65
65
|
au as ExpressionModeEnum,
|
|
66
66
|
aw as ExpressionTabEnum,
|
|
67
67
|
F as FIELD_TYPE,
|
|
@@ -69,21 +69,23 @@ export {
|
|
|
69
69
|
ag as FieldIconMap,
|
|
70
70
|
H as FieldTypeToJs,
|
|
71
71
|
aE as FormDesignEnum,
|
|
72
|
-
|
|
72
|
+
bo as FormulaRuleFieldKeyEnum,
|
|
73
73
|
GctMqttTopsEnum,
|
|
74
74
|
O as OnlineFormModelModal,
|
|
75
75
|
_ as OnlineFormModelSelect,
|
|
76
76
|
Platform,
|
|
77
|
-
|
|
77
|
+
P as ProductTypeEnum,
|
|
78
|
+
a$ as ProductionIdentificationTypeEnum,
|
|
79
|
+
cN as RecordNoGenerateEnum,
|
|
78
80
|
av as ReturnTypeEnum,
|
|
79
81
|
S as SEARCH_SEVICE,
|
|
80
82
|
SignatureTypeEnum,
|
|
81
83
|
T as TRACE_FIELD_TYPES,
|
|
82
|
-
|
|
84
|
+
cO as TagTypeEnum,
|
|
83
85
|
X as UniqueConstraintType,
|
|
84
86
|
V2 as VersionSelect,
|
|
85
87
|
W as WAREHOUSE_FIELD_TYPES,
|
|
86
|
-
|
|
88
|
+
bp as formulaRuleFieldDict,
|
|
87
89
|
aa as normalizeFieldType,
|
|
88
90
|
V as onlineFormMasterModelTypeEnum
|
|
89
91
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-mCrtpdq2.js";
|
|
4
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -53,6 +53,8 @@ export declare class FormModelController {
|
|
|
53
53
|
isPresetField(field: FieldMetaDTO): boolean;
|
|
54
54
|
/** 是否是系统字段 */
|
|
55
55
|
isSystemField(field: FieldMetaDTO): boolean;
|
|
56
|
+
/** 是否是对象字段类型 */
|
|
57
|
+
isObjectField(field: FieldMetaDTO): boolean;
|
|
56
58
|
/**
|
|
57
59
|
* 获取主模型里子表字段对应的子模型key
|
|
58
60
|
*
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** 检验数量只读取 inspection_number_,兼容原始记录、data 及 data.data 返回。 */
|
|
2
|
+
export declare function parseInspectionModuleQty(res: unknown): number | undefined;
|
|
3
|
+
/** 使用表单 detail 的交易实例 id;不能以表单 id 或 paramsConfig 中的 id 代替。 */
|
|
4
|
+
export declare function fetchInspectionModuleQty(txnInstId?: string): Promise<number | undefined>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ObjectProductDefault {
|
|
2
|
+
value: unknown;
|
|
3
|
+
sourceData?: Record<string, any>;
|
|
4
|
+
}
|
|
5
|
+
/** 准备数据和生成默认值使用同一份字段列表,按字段对象隔离不同对象的默认值。 */
|
|
6
|
+
export type ObjectProductDefaultMap = WeakMap<object, ObjectProductDefault>;
|
|
7
|
+
interface Options {
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
fields: readonly unknown[];
|
|
10
|
+
objectInitialValues?: readonly {
|
|
11
|
+
objectField: string;
|
|
12
|
+
values?: Record<string, any>;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
15
|
+
/** 只解析对象物料默认值、查询对应详情;赋值和填充统一由默认值入口执行。 */
|
|
16
|
+
export declare function prepareObjectProductDefaults({ enabled, fields, objectInitialValues, }: Options): Promise<ObjectProductDefaultMap>;
|
|
17
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RenderModeEnum, FormTypeEnum, PlatformEnum } from '../../constant';
|
|
2
2
|
import { RuntimeFormStateStore, RuntimeInstanceRegistry, RuntimeInstanceRecord } from '../../runtime';
|
|
3
|
-
import { IProps, IPayload, RuntimeInstanceSource } from './types';
|
|
3
|
+
import { IProps, IPayload, RuntimeInstanceSource, RuntimeSelfInfo } from './types';
|
|
4
4
|
import { useMaterialBalance } from '../material-balance/useMaterialBalance';
|
|
5
5
|
export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource) => Promise<{
|
|
6
6
|
runtimeContext: import('../..').RuntimeInstanceContext;
|
|
@@ -43,12 +43,7 @@ export declare function createRuntimeInstanceInitializer(props: IProps, payload:
|
|
|
43
43
|
paramsConfig: Record<string, any> | undefined;
|
|
44
44
|
instanceStatus: any;
|
|
45
45
|
};
|
|
46
|
-
selfInfo:
|
|
47
|
-
formType: FormTypeEnum;
|
|
48
|
-
viewType: import('../..').ViewTypeEnum;
|
|
49
|
-
modelKey: string;
|
|
50
|
-
bindKey?: string;
|
|
51
|
-
} & Record<string, any>;
|
|
46
|
+
selfInfo: RuntimeSelfInfo;
|
|
52
47
|
} | undefined>;
|
|
53
48
|
export type PreparedRuntimeInstance = NonNullable<Awaited<ReturnType<ReturnType<typeof createRuntimeInstanceInitializer>>>>;
|
|
54
49
|
/** 过期请求和批量初始化失败的结果未注册,资源在此释放,不影响当前页面的实例。 */
|
|
@@ -51,7 +51,10 @@ export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
|
51
51
|
onFormStateReady?: (store: RuntimeFormStateStore) => unknown;
|
|
52
52
|
}
|
|
53
53
|
/** 不同平台接口的开放业务元信息;不是运行时索引或提交数据的副本。 */
|
|
54
|
-
export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info']
|
|
54
|
+
export type RuntimeSelfInfo = Parameters<typeof baseDataUtils.requestRenderData>[0]['info'] & {
|
|
55
|
+
/** detail 返回的交易实例 id,供检验数量查询使用。 */
|
|
56
|
+
txnInstId?: string;
|
|
57
|
+
};
|
|
55
58
|
/** 请求适配后的内部初始化输入,单个/批量入口使用同一约定。 */
|
|
56
59
|
export interface RuntimeInstanceSource {
|
|
57
60
|
id?: string;
|
|
@@ -137,17 +137,14 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
137
137
|
viewType: import('..').ViewTypeEnum;
|
|
138
138
|
modelKey: string;
|
|
139
139
|
bindKey?: string | undefined;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
viewType: import('..').ViewTypeEnum;
|
|
143
|
-
modelKey: string;
|
|
144
|
-
bindKey?: string;
|
|
145
|
-
} & Record<string, any>)[] | {
|
|
140
|
+
txnInstId?: string | undefined;
|
|
141
|
+
}[], import('./render-page/types').RuntimeSelfInfo[] | {
|
|
146
142
|
[x: string]: any;
|
|
147
143
|
formType: import('..').FormTypeEnum;
|
|
148
144
|
viewType: import('..').ViewTypeEnum;
|
|
149
145
|
modelKey: string;
|
|
150
146
|
bindKey?: string | undefined;
|
|
147
|
+
txnInstId?: string | undefined;
|
|
151
148
|
}[]>;
|
|
152
149
|
hasData: import('vue').ComputedRef<boolean>;
|
|
153
150
|
findFormInsInfo: (id: string) => {
|
|
@@ -156,6 +153,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
156
153
|
viewType: import('..').ViewTypeEnum;
|
|
157
154
|
modelKey: string;
|
|
158
155
|
bindKey?: string | undefined;
|
|
156
|
+
txnInstId?: string | undefined;
|
|
159
157
|
} | undefined;
|
|
160
158
|
findBasicInsInfo: (id: string) => {
|
|
161
159
|
key: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FormTypeEnum } from '../constant';
|
|
2
2
|
import { FormTmplBomController } from '../hooks';
|
|
3
3
|
import { RuntimeFieldMetadata } from '../runtime/runtime-field-registry';
|
|
4
|
+
import { ObjectProductDefault } from '../hooks/material-consume-object/initialize-autofill';
|
|
4
5
|
/** 渲染端公共类 */
|
|
5
6
|
export declare const renderUtils: {
|
|
6
7
|
getValue: (modelValue: any, multiple: any) => any;
|
|
@@ -90,8 +91,9 @@ export declare const renderUtils: {
|
|
|
90
91
|
/** 提前设置值给widget */
|
|
91
92
|
setRequestInfo2DataCenter: (dataCenters: any, modelKeys: any, platformType: any, isMockReport: any, formType: FormTypeEnum, paramsConfig: any, useSignFields: any, useClsReasonDataLink: any, useClsGroupDataLink: any, tmplBomC: FormTmplBomController, modelQueries: any) => Promise<void>;
|
|
92
93
|
/** 获取默认值集合 */
|
|
93
|
-
getDefaultValueMapByField: ({ defaultValueFields, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
94
|
+
getDefaultValueMapByField: ({ defaultValueFields, objectProductDefaults, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
94
95
|
defaultValueFields: any;
|
|
96
|
+
objectProductDefaults?: WeakMap<object, ObjectProductDefault> | undefined;
|
|
95
97
|
mainMaterialNo?: undefined;
|
|
96
98
|
mainRelatedLotNo?: undefined;
|
|
97
99
|
mainProductName?: undefined;
|
|
@@ -90,6 +90,14 @@ export declare const transformUtils: {
|
|
|
90
90
|
viewMode: RenderModeEnum;
|
|
91
91
|
ofCtx: any;
|
|
92
92
|
}) => Promise<any>;
|
|
93
|
+
/** 数据加载完成事件;全部 Sheet 的数据合并后、创建 Store 和分页前只执行一次。 */
|
|
94
|
+
getEventInitDataLoaded: (payload: {
|
|
95
|
+
formConfig: Record<string, any>;
|
|
96
|
+
formState: any;
|
|
97
|
+
viewMode: RenderModeEnum;
|
|
98
|
+
dataStatus?: string;
|
|
99
|
+
ofCtx: any;
|
|
100
|
+
}) => Promise<void>;
|
|
93
101
|
/** 创建字段事件执行器;注册后由 RuntimeInstanceRecord 持有,全部 Sheet 共用。 */
|
|
94
102
|
createScriptRunner: (payload: {
|
|
95
103
|
formConfig: Record<string, any>;
|
|
@@ -143,6 +151,6 @@ export declare const transformUtils: {
|
|
|
143
151
|
checkTable2DList?: any[];
|
|
144
152
|
materialConsumeTableList?: any[];
|
|
145
153
|
}) => Partial<{}>;
|
|
146
|
-
getFormDataIdsMap: (formData: any, preserveKeys?: string[]) => any;
|
|
154
|
+
getFormDataIdsMap: (formData: any, preserveKeys?: string[], shouldPreserveField?: (path: string) => boolean) => any;
|
|
147
155
|
};
|
|
148
156
|
export {};
|
|
@@ -3,6 +3,7 @@ import { IBindField } from '../../../../nocode-base/src';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
fieldWidget: CellWidget.BasicSchema;
|
|
5
5
|
fieldMeta: IBindField;
|
|
6
|
+
autoLineBreak?: boolean;
|
|
6
7
|
};
|
|
7
8
|
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>;
|
|
8
9
|
export default _default;
|
package/dist/src/online-form/src/views/__cell_widgets__/fake-field/fake-option-select.vue.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
fieldMeta?: IBindField;
|
|
7
7
|
design?: FieldDesignComponent;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
+
autoLineBreak?: boolean;
|
|
9
10
|
};
|
|
10
11
|
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>;
|
|
11
12
|
export default _default;
|
|
@@ -332,11 +332,11 @@ export declare enum FIELD_TYPE {
|
|
|
332
332
|
*/
|
|
333
333
|
MATERIAL_CHECK_QTY = "material_check_qty",
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
335
|
+
* 送检数量
|
|
336
336
|
*/
|
|
337
337
|
INSPECTION_QTY = "inspection_qty",
|
|
338
338
|
/**
|
|
339
|
-
*
|
|
339
|
+
* 检验数量
|
|
340
340
|
*/
|
|
341
341
|
INSPECTION_MODULE_QTY = "inspection_module_qty",
|
|
342
342
|
/**
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FIELD_TYPE } from './field-type';
|
|
2
2
|
export { Platform, ButtonStyle, ButtonSize, ButtonType, ButtonType_vant, ButtonOpeEnum, } from './button';
|
|
3
3
|
export { SignatureTypeEnum } from './signature';
|
|
4
|
+
export { ProductTypeEnum } from './product-type';
|
|
5
|
+
export { ProductionIdentificationTypeEnum } from './production-identification';
|
|
4
6
|
export { CardControlEnum, onlineFormMasterModelTypeEnum, RecordNoGenerateEnum, } from './online-form';
|
|
5
7
|
export { SEARCH_SEVICE } from './search';
|
|
6
8
|
export { GctMqttTopsEnum } from './mqtt';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** 生产标识类型(production_identification_type_) */
|
|
2
|
+
export declare enum ProductionIdentificationTypeEnum {
|
|
3
|
+
/** 物料批 */
|
|
4
|
+
MATERIAL = "MATERIAL",
|
|
5
|
+
/** 生产批次 */
|
|
6
|
+
LOT = "LOT",
|
|
7
|
+
/** 生产序列号 */
|
|
8
|
+
SN = "SN",
|
|
9
|
+
/** 灭菌批 */
|
|
10
|
+
STERILIZATION = "STERILIZATION",
|
|
11
|
+
/** 检验批 */
|
|
12
|
+
INSPECTION_CONTAINER = "INSPECTION_CONTAINER",
|
|
13
|
+
/** 旧检验批取值 */
|
|
14
|
+
LEGACY_INSPECTION = "inspection",
|
|
15
|
+
/** 包装箱 */
|
|
16
|
+
PACK_BOX = "PACK_BOX",
|
|
17
|
+
/** 医疗器械唯一标识 */
|
|
18
|
+
UDI = "UDI"
|
|
19
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { shallowReactive } from "vue";
|
|
2
|
-
import { aI as SubTableActionMenuTypeEnum, aJ as getMenuByAction, aK as SubTableActionEnum, aL as resolveScanFillData, ao as SubTableCore, aM as buildDefaultMapFromProfile, aN as buildFieldStatusFromProfile, aO as getRowHandlersForFieldChange, aP as getInsertSubMenu, aQ as resolveScanAdjustType, aR as resolveScanQty, aS as toDateOnly, aT as getCopySubMenu, aU as resolveScanParsedValue, aV as isProductBatchEmptyRow } from "./dynamic-table-action-
|
|
3
|
-
import { p as api,
|
|
2
|
+
import { aI as SubTableActionMenuTypeEnum, aJ as getMenuByAction, aK as SubTableActionEnum, aL as resolveScanFillData, ao as SubTableCore, aM as buildDefaultMapFromProfile, aN as buildFieldStatusFromProfile, aO as getRowHandlersForFieldChange, aP as getInsertSubMenu, aQ as resolveScanAdjustType, aR as resolveScanQty, aS as toDateOnly, aT as getCopySubMenu, aU as resolveScanParsedValue, aV as isProductBatchEmptyRow } from "./dynamic-table-action-Dn_iw4tV.js";
|
|
3
|
+
import { p as api, cP as F$1, cQ as SCAN_ROW_CONTENT_FIELDS, cR as F$2, cS as FILL_FROM_TARGET_PRODUCT_OPTION, cT as F$3, cU as runRowHandler, c as getProfileByTableType, b as isBusinessSubTableProfile, cV as F$4, cW as F$5, cX as FILL_FROM_SOURCE_PRODUCT_OPTION, cY as FILL_FROM_TARGET_MATERIAL_NO_OPTION, cZ as FILL_FROM_INVENTORY_OPTION, c_ as FILL_FROM_PART_OPTION, c$ as FILL_FROM_INVENTORY_OPTION$1, d0 as TABLE_TYPE, d1 as FILL_FROM_INVENTORY_OPTION$2, b5 as F$6, d2 as INVENTORY_BASE_FIELDS, d3 as resolveGroupByWarehouse, d4 as AUTO_LOAD_READONLY_SELECT_FIELDS, b4 as STOCKTAKE_DIMENSION, b1 as getParseRuleInfo, d5 as buildFillFromInventoryOption, c4 as calcFillData, d6 as resolveStocktakeInventoryApi, b2 as getParseRuleValue, d7 as F$7, d8 as FILL_FROM_INVENTORY_OPTION$3, d9 as LOCKED_INPUT_FIELDS, ca as extractKeywordFromQueryData, da as composeProductionLotListQuery, aM as resolveLotDisplayLabel, db as F$8, dc as isProductManuallyEditable, dd as applyFillFromMfgOrderOption, de as applyFillFromOption$1, df as applyFillFromProductOption, a$ as ProductionIdentificationTypeEnum, aU as LOT_CONTAINER_ROLE, dg as MATERIAL_CONTAINER_ID, dh as F$9, di as PRODUCT_QUICK_SEARCH_FIELDS, dj as PRODUCT_QUICK_SEARCH_EXP, dk as isProductManuallyEditable$1, dl as applyFillFromMaterialNoOption, dm as applyFillFromProductOption$1, dn as F$a, dp as FILL_FROM_INVENTORY_OPTION$4, Z as FormTypeEnum, aH as transformUtils, h as SubTableType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
5
|
class RuntimeInstanceController {
|
|
6
6
|
context;
|
|
@@ -1475,7 +1475,7 @@ function createMaterialContainerLoader() {
|
|
|
1475
1475
|
const { mode, queryData = {}, pageNo = 1, pageSize = 100, ids = [] } = loaderParams;
|
|
1476
1476
|
const query = {
|
|
1477
1477
|
...queryData,
|
|
1478
|
-
"production_identification_type_.eq":
|
|
1478
|
+
"production_identification_type_.eq": ProductionIdentificationTypeEnum.MATERIAL,
|
|
1479
1479
|
"production_identification_type_.isNull": null,
|
|
1480
1480
|
"container_role_.ne": LOT_CONTAINER_ROLE.RELATED_PARENT
|
|
1481
1481
|
};
|
|
@@ -1535,7 +1535,7 @@ function normalizeProductionDate(row) {
|
|
|
1535
1535
|
const SCAN_NOT_FOUND_MSG = "扫描的批次/物料不存在";
|
|
1536
1536
|
function isProductionLotOrSn(record) {
|
|
1537
1537
|
const type = record.production_identification_type_;
|
|
1538
|
-
return type ===
|
|
1538
|
+
return type === ProductionIdentificationTypeEnum.LOT || type === ProductionIdentificationTypeEnum.SN;
|
|
1539
1539
|
}
|
|
1540
1540
|
function buildProductionContainerRow(record, parsed, fillData) {
|
|
1541
1541
|
return normalizeProductionDate({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { R as PaperWidgeValueType, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { R as PaperWidgeValueType, a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { u as useSpreadSheet, h as useModelFields } from "./index-
|
|
7
|
+
import { u as useSpreadSheet, h as useModelFields } from "./index-mCrtpdq2.js";
|
|
8
8
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "text-design",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
2
|
-
import {
|
|
2
|
+
import { em as isObject, dM as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
const initialParams = {
|
|
4
4
|
contentSize: 0,
|
|
5
5
|
clientSize: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
|
|
2
|
-
import { an as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { an as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { F as FIELD_TYPE,
|
|
2
|
+
import { F as FIELD_TYPE, b0 as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Cz-fpECL.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-
|
|
7
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig } from "./index-mCrtpdq2.js";
|
|
8
8
|
function getTraceLikeSelectProps(data) {
|
|
9
9
|
const isSubtableMfgOrder = !!data.info.subModelKey && (data.info.bizType === FIELD_TYPE.MFG_ORDER || data.info.fieldType === FIELD_TYPE.MFG_ORDER);
|
|
10
10
|
const displayFields = (() => {
|