@gct-paas/excel 0.1.40-beta.1 → 0.1.40-beta.3
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-DXIDs5gk.js → BaseComponent-B9o59n-h.js} +2 -2
- package/dist/{VueVideoPlayer-DhyIm-g1.js → VueVideoPlayer-CAWYWBHi.js} +2 -2
- package/dist/{align-editor-BcbgVXRp.js → align-editor-a4DQt4Un.js} +1 -1
- package/dist/{barcode-design-BiCt0aS7.js → barcode-design-CBqUEPYu.js} +2 -2
- package/dist/base/index.es.js +234 -161
- package/dist/{diagonal-design-DmvWALIE.js → diagonal-design-u23896Ky.js} +2 -2
- package/dist/{dynamic-table-action-fDIIzS2J.js → dynamic-table-action-BWI4Gaqi.js} +208 -134
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-DhWpxyhm.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js} +138 -132
- package/dist/{edit.utils-CXmmCnxE-DxArFSxZ.js → edit.utils-CXmmCnxE-XxpC8ALV.js} +1 -1
- package/dist/excel.css +3000 -4032
- package/dist/{exceljs.min-CjKNZPlo.js → exceljs.min-DfbB110X.js} +2 -2
- package/dist/{font-editor-DseGyVgB.js → font-editor-BtSCLMrM.js} +3 -3
- package/dist/{image-design-Dr-L9AdG.js → image-design-CtE-Lw7N.js} +2 -2
- package/dist/{index-BPgCZjqV.js → index-3WwCV4xR.js} +1 -1
- package/dist/{index-DKRpaNo1.js → index-51LtNdZ2.js} +1 -1
- package/dist/{index-DqLVW6ej.js → index-731OYkrc.js} +3 -3
- package/dist/{index-CXh-4yX8.js → index-7aS5L4ot.js} +3 -3
- package/dist/{index-DcjOJuDw.js → index-9S48hpoJ.js} +2 -2
- package/dist/{index-C4tVTc9U.js → index-B0cdcIWq.js} +2 -2
- package/dist/{index-CScWLXnC.js → index-BC8hQ4vo.js} +2 -2
- package/dist/{index-DKf57IGi.js → index-BFg5eUdY.js} +1 -1
- package/dist/{index-C6dFliaf.js → index-BGAcYDx-.js} +1 -1
- package/dist/{index-lwjRRvDn.js → index-BKXb3VJc.js} +2 -2
- package/dist/{index-BdJ4ouEl.js → index-BMoz_QhA.js} +1 -1
- package/dist/{index-BjI7JCne.js → index-BP-LhXXV.js} +4 -4
- package/dist/{index-BctQMMgh.js → index-BRQkrFQ9.js} +2 -2
- package/dist/{index-iRameN0x.js → index-Bc61F6Hm.js} +2 -2
- package/dist/{index-0W-MEvEf.js → index-BfBuxgcp.js} +2 -2
- package/dist/{index-B29_mID7.js → index-Bnb70qEi.js} +3 -3
- package/dist/{index-CAdGL3Vp.js → index-CAdDeEzJ.js} +2 -2
- package/dist/{index-r4MF8_-h.js → index-CIa37rQm.js} +2 -2
- package/dist/{index-B34ZIwqL.js → index-CL9K9orM.js} +2 -2
- package/dist/{index-DsCTXMxB.js → index-CPTGioxl.js} +1 -1
- package/dist/{index-4acBM2Lp.js → index-CVsoaxTR.js} +2 -2
- package/dist/{index-JkPJqZ_5.js → index-CYLAVQfT.js} +2 -2
- package/dist/{index-hcCJUBne.js → index-Ca9TLzUh.js} +1 -1
- package/dist/{index-CX_eR36M.js → index-CdHVHaxO.js} +2 -2
- package/dist/{index-BY7RGawr.js → index-CeEhYXl9.js} +2 -2
- package/dist/{index-CewKz2Ro.js → index-CpPk8P3L.js} +1 -1
- package/dist/{index-BxZ3M7eP.js → index-DNj0vFvx.js} +1 -1
- package/dist/{index-C8OPhJhI.js → index-DVEe11uM.js} +1 -1
- package/dist/{index-CEmRRPE7.js → index-DdWefZMa.js} +2 -2
- package/dist/{index-Nytm1-X9.js → index-DeHX7rte.js} +5 -4
- package/dist/{index-DNC5VG8P.js → index-Dyomjz3y.js} +2 -2
- package/dist/{index-DrmR7WIs.js → index-I1r5pfu5.js} +2 -2
- package/dist/{index-CJ9CrORT.js → index-IVc1dOet.js} +3 -3
- package/dist/{index-D5IrgJyh.js → index-aNV9T6LI.js} +2 -2
- package/dist/{index-C70T1sVm.js → index-ixQwAcB1.js} +18153 -20732
- package/dist/index.es.js +2 -2
- package/dist/{mb-render-BdRsSczc.js → mb-render-Bs9S9oFn.js} +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-D32c_U8J.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js} +1 -1
- package/dist/{pagination-design-9Z_iRIKM.js → pagination-design-CmbsdlMe.js} +2 -2
- package/dist/paper-widget-design-DIhsk1I9.js +4 -0
- package/dist/{print-runtime-instance-BBOww4jg.js → print-runtime-instance-DQysbz5n.js} +1 -1
- package/dist/{print-snapshot-renderer-DGt44saz.js → print-snapshot-renderer-DWHjMsOC.js} +3 -3
- package/dist/{qrcode-design-qbUjPX-B.js → qrcode-design-CX0_2mLC.js} +1 -1
- package/dist/{revo-grid.entry-RzymRzb0.js → revo-grid.entry-DbmWFi7p.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CxTEXm8Q.js → revogr-attribution_7.entry-BWQDu7fq.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DQEid83u.js → revogr-clipboard_3.entry-BtTYHFZi.js} +2 -2
- package/dist/{revogr-data_4.entry-ASovYZWH.js → revogr-data_4.entry-CWPXyZ7g.js} +2 -2
- package/dist/{revogr-filter-panel.entry-j_V74kgz.js → revogr-filter-panel.entry-5gYct0XI.js} +1 -1
- package/dist/seal-design-BhzgwVju.js +4 -0
- package/dist/{serialnumber-design-DXKTYOY7.js → serialnumber-design-aSqL4gX6.js} +1 -1
- package/dist/shared/index.es.js +5 -5
- package/dist/{single-field-drop-CLjaHjL-.js → single-field-drop-C67wLHxK.js} +2 -2
- package/dist/{size-editor-C62H_eRP.js → size-editor-BHGTPLir.js} +1 -1
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +8 -2
- package/dist/src/nocode-base/src/runtime/async-task-coordinator.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/multi-sheet-runtime.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-validation-service.d.ts +1 -0
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts +0 -3
- package/dist/src/online-form/src/views/render/sheet-tab-bar.vue.d.ts +5 -3
- package/dist/{sub-table-factory-sn1Ek1c9.js → sub-table-factory-DTtDvr17.js} +20 -7
- package/dist/{text-design-CwHfwel0.js → text-design-Dz0Qf2O3.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BHDq1lM3.js → throttle-Cpk1LoGk-CgtsG2CV.js} +1 -1
- package/dist/{timediff-design-8kCO3aXz.js → timediff-design-D9JfNqH8.js} +1 -1
- package/dist/{trace-like-wrapper-CxPz9Trr.js → trace-like-wrapper-BXgr0Uv3.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CzEZ0CY7.js → value-editor.vue_vue_type_style_index_0_lang-doohzADY.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-CRxh3tC2.js → widget-barcode-XF3nCU9v.js} +4 -4
- package/dist/{widget-diagonal-CO586oV2.js → widget-diagonal-DSym7fks.js} +3 -3
- package/dist/{widget-image-CE6kVnu5.js → widget-image-CmjwkVs7.js} +5 -5
- package/dist/{widget-line-Br4oIssb.js → widget-line-BX64xVfU.js} +2 -2
- package/dist/{widget-pagination-BHwjrBV5.js → widget-pagination-BV89Lvjt.js} +5 -5
- package/dist/{widget-power-BySYsE15.js → widget-power-DoSfQv92.js} +3 -3
- package/dist/{widget-qrcode-D6b0T_Qa.js → widget-qrcode-UGcRLC56.js} +3 -3
- package/dist/{widget-rangelimit-DTH7nrqC.js → widget-rangelimit-CUHD__1H.js} +3 -3
- package/dist/{widget-serialnumber-DVtxhNC3.js → widget-serialnumber-CAkZR5Xl.js} +1 -1
- package/dist/{widget-text-gBGybAXk.js → widget-text-DtYVTThu.js} +5 -5
- package/dist/{widget-timediff-aY-maVkE.js → widget-timediff-DX_IoCMO.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-BGotQsIf.js +0 -4
- package/dist/seal-design-DP1XaAY8.js +0 -4
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, 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, h } from "./index-ixQwAcB1.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.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 {
|
|
2
|
+
import { o as api, F as FIELD_TYPE, H as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
3
3
|
class MCRender {
|
|
4
4
|
/**
|
|
5
5
|
* 提示信息
|
|
@@ -55,7 +55,7 @@ class MCRender {
|
|
|
55
55
|
/**
|
|
56
56
|
* 销毁所有固定的模态
|
|
57
57
|
*/
|
|
58
|
-
//
|
|
58
|
+
// overlay 弹层按实例销毁;form-base 弹层通过其全局关闭接口清理。
|
|
59
59
|
destroyAllModals(_ownerId) {
|
|
60
60
|
throw new Error("Function destroyAllModals not implemented.");
|
|
61
61
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { Y as FormTypeEnum, a8 as _export_sfc, aA as FormDesignEnum,
|
|
3
|
+
import { Y as FormTypeEnum, a8 as _export_sfc, aA as FormDesignEnum, o as api, J as useModal, bN as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
4
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -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-BvrrN6te.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-ixQwAcB1.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-ixQwAcB1.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,
|
|
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, K as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-BWI4Gaqi.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-DTtDvr17.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-ixQwAcB1.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-ixQwAcB1.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 { dm as registerInstance, dn as createEvent, dp as getColumnByProp, dq as timeout, dr as getVisibleSourceItem, ds as getColumns, dt as rowTypes, du as GroupingRowPlugin, dv as StretchColumn, dw as isStretchPlugin, dx as AutoSizeColumnPlugin, dy as FilterPlugin, dz as ExportFilePlugin, dA as SortingPlugin, dB as ColumnMovePlugin, dC as ThemeService, dD as h, dE as Host, dF as getElement, dG as BasePlugin, dH as reduce, dI as columnTypes, dJ as debounce, dK as RESIZE_INTERVAL, dL as DimensionStore, dM as gatherTrimmedItems, dN as getColumnSizes, dO as getItemByIndex, dP as DataStore, dQ as getSourceItem, dR as getSourceItemVirtualIndexByProp, dS as getColumnType, dT as setSourceByPhysicalIndex, dU as setSourceByVirtualIndex, dV as SelectionStore, dW as cropCellToMax, dX as nextCell, dY as isRowType, dZ as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { dm as registerInstance, dn as createEvent, dp as getColumnByProp, dq as timeout, dr as getVisibleSourceItem, ds as getColumns, dt as rowTypes, du as GroupingRowPlugin, dv as StretchColumn, dw as isStretchPlugin, dx as AutoSizeColumnPlugin, dy as FilterPlugin, dz as ExportFilePlugin, dA as SortingPlugin, dB as ColumnMovePlugin, dC as ThemeService, dD as h, dE as Host, dF as getElement, dG as BasePlugin, dH as reduce, dI as columnTypes, dJ as debounce, dK as RESIZE_INTERVAL, dL as DimensionStore, dM as gatherTrimmedItems, dN as getColumnSizes, dO as getItemByIndex, dP as DataStore, dQ as getSourceItem, dR as getSourceItemVirtualIndexByProp, dS as getColumnType, dT as setSourceByPhysicalIndex, dU as setSourceByVirtualIndex, dV as SelectionStore, dW as cropCellToMax, dX as nextCell, dY as isRowType, dZ as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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-CxTEXm8Q.js → revogr-attribution_7.entry-BWQDu7fq.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { dm as registerInstance, dD as h, dE as Host, dn as createEvent, dQ as getSourceItem, dF as getElement, e2 as ColumnService, e3 as MOBILE_CLASS, e4 as SELECTION_BORDER_CLASS, e5 as getCellData, e6 as getCellEditor, e7 as getRange, e8 as isRangeSingleCell, e9 as codesLetter, dZ as ViewportStore, dP as DataStore, ea as calculateRowHeaderSize, eb as ROW_HEADER_TYPE, ec as getScrollbarSize, ed as FOCUS_CLASS, dO as getItemByIndex, dq as timeout, ee as CELL_HANDLER_CLASS, dJ as debounce, ef as TMP_SELECTION_BG_CLASS, dK as RESIZE_INTERVAL, eg as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { dm as registerInstance, dD as h, dE as Host, dn as createEvent, dQ as getSourceItem, dF as getElement, e2 as ColumnService, e3 as MOBILE_CLASS, e4 as SELECTION_BORDER_CLASS, e5 as getCellData, e6 as getCellEditor, e7 as getRange, e8 as isRangeSingleCell, e9 as codesLetter, dZ as ViewportStore, dP as DataStore, ea as calculateRowHeaderSize, eb as ROW_HEADER_TYPE, ec as getScrollbarSize, ed as FOCUS_CLASS, dO as getItemByIndex, dq as timeout, ee as CELL_HANDLER_CLASS, dJ as debounce, ef as TMP_SELECTION_BG_CLASS, dK as RESIZE_INTERVAL, eg as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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-XxpC8ALV.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-CgtsG2CV.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dq as timeout, dm as registerInstance, dn as createEvent, dD as h, eh as EDIT_INPUT_WR, dE as Host, dF as getElement, dJ as debounce, ek as DRAGG_TEXT, dQ as getSourceItem, eg as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-
|
|
1
|
+
import { dq as timeout, dm as registerInstance, dn as createEvent, dD as h, eh as EDIT_INPUT_WR, dE as Host, dF as getElement, dJ as debounce, ek as DRAGG_TEXT, dQ as getSourceItem, eg as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-XxpC8ALV.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { el as PSEUDO_GROUP_ITEM, em as GROUP_EXPANDED, en as GROUP_DEPTH, dD as h, eo as GROUP_EXPAND_BTN, ep as DATA_ROW, dQ as getSourceItem, eq as isGroupingColumn, er as GROUP_COLUMN_PROP, es as getCellRaw, et as DATA_COL, eu as CELL_CLASS, ev as Build, ew as isRowDragService, ex as DRAG_ICON_CLASS, ey as DRAGGABLE_CLASS, ez as getCellDataParsed, eA as GROUP_EXPAND_EVENT, dm as registerInstance, dn as createEvent, e2 as ColumnService, eB as isGrouping, dE as Host, dF as getElement, dO as getItemByIndex, eC as HEADER_ROW_CLASS, eD as HEADER_ACTUAL_ROW_CLASS, eE as ROW_FOCUSED_CLASS, eF as HEADER_SORTABLE_CLASS, eG as MIN_COL_SIZE, ed as FOCUS_CLASS, eH as FilterButton, eI as HeaderCellRenderer, eJ as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
1
|
+
import { el as PSEUDO_GROUP_ITEM, em as GROUP_EXPANDED, en as GROUP_DEPTH, dD as h, eo as GROUP_EXPAND_BTN, ep as DATA_ROW, dQ as getSourceItem, eq as isGroupingColumn, er as GROUP_COLUMN_PROP, es as getCellRaw, et as DATA_COL, eu as CELL_CLASS, ev as Build, ew as isRowDragService, ex as DRAG_ICON_CLASS, ey as DRAGGABLE_CLASS, ez as getCellDataParsed, eA as GROUP_EXPAND_EVENT, dm as registerInstance, dn as createEvent, e2 as ColumnService, eB as isGrouping, dE as Host, dF as getElement, dO as getItemByIndex, eC as HEADER_ROW_CLASS, eD as HEADER_ACTUAL_ROW_CLASS, eE as ROW_FOCUSED_CLASS, eF as HEADER_SORTABLE_CLASS, eG as MIN_COL_SIZE, ed as FOCUS_CLASS, eH as FilterButton, eI as HeaderCellRenderer, eJ as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-CgtsG2CV.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-j_V74kgz.js → revogr-filter-panel.entry-5gYct0XI.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dm as registerInstance, dn as createEvent, dJ as debounce, dD as h, d_ as AndOrButton, d$ as ReorderButton, e0 as TrashButton, e1 as isFilterBtn, dE as Host, dF as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { dm as registerInstance, dn as createEvent, dJ as debounce, dD as h, d_ as AndOrButton, d$ as ReorderButton, e0 as TrashButton, e1 as isFilterBtn, dE as Host, dF as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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 { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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 { aH, aB,
|
|
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 { aH, aB, t, cI, H, aI, aJ, cJ, at, av, F, X, af, G, aA, bl, cK, au, T, cL, V, W, bm, a9, U } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
2
|
+
import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -51,7 +51,7 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
51
51
|
export {
|
|
52
52
|
aH as ASSIGNMENTSTRATEGY_ENUM,
|
|
53
53
|
aB as BASIC_FIELD_TYPES,
|
|
54
|
-
|
|
54
|
+
t as BUSINESS_FIELD_TYPES,
|
|
55
55
|
ButtonOpeEnum,
|
|
56
56
|
ButtonSize,
|
|
57
57
|
ButtonStyle,
|
|
@@ -69,7 +69,7 @@ export {
|
|
|
69
69
|
af as FieldIconMap,
|
|
70
70
|
G as FieldTypeToJs,
|
|
71
71
|
aA as FormDesignEnum,
|
|
72
|
-
|
|
72
|
+
bl as FormulaRuleFieldKeyEnum,
|
|
73
73
|
GctMqttTopsEnum,
|
|
74
74
|
O as OnlineFormModelModal,
|
|
75
75
|
_ as OnlineFormModelSelect,
|
|
@@ -83,7 +83,7 @@ export {
|
|
|
83
83
|
V as UniqueConstraintType,
|
|
84
84
|
V2 as VersionSelect,
|
|
85
85
|
W as WAREHOUSE_FIELD_TYPES,
|
|
86
|
-
|
|
86
|
+
bm as formulaRuleFieldDict,
|
|
87
87
|
a9 as normalizeFieldType,
|
|
88
88
|
U as onlineFormMasterModelTypeEnum
|
|
89
89
|
};
|
|
@@ -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 { a8 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-ixQwAcB1.js";
|
|
4
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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 { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface FormulaParam {
|
|
2
|
+
customFieldKey: string;
|
|
3
|
+
lowerLimit?: number | string | null;
|
|
4
|
+
upperLimit?: number | string | null;
|
|
5
|
+
}
|
|
6
|
+
export declare const currentParamsConfig: {
|
|
7
|
+
readonly routingParamList: FormulaParam[];
|
|
8
|
+
readonly inspectionParamList: FormulaParam[];
|
|
9
|
+
readonly deviceParamList: FormulaParam[];
|
|
10
|
+
};
|
|
11
|
+
/** Excel、Word 共用参数;空配置也要覆盖旧值。 */
|
|
12
|
+
export declare function setFormulaParamsConfig(paramsConfig?: Record<string, any> | null): void;
|
|
13
|
+
/** 随应用绑定一次失效通知,不包装或替换宿主计算函数。 */
|
|
14
|
+
export declare function bindFormulaCacheInvalidation(value: unknown): void;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RuntimeFieldMetadata } from '../../runtime/runtime-field-registry';
|
|
2
|
+
/** detail 中的交易实例关联灭菌记录,初始化时统一回填所有工作表的主、子表字段。 */
|
|
3
|
+
export declare function fillSterilizationDate(txnInstId: unknown, metadata: RuntimeFieldMetadata, formState: Record<string, unknown>): Promise<void>;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { setFormulaParamsConfig } from './formula-params-cache';
|
|
2
|
+
interface DeviceParamConfig {
|
|
3
|
+
customFieldKey: string;
|
|
4
|
+
lowerLimit?: number | string | null;
|
|
5
|
+
upperLimit?: number | string | null;
|
|
6
|
+
}
|
|
7
|
+
type FetchDeviceParamLimits = (id: any) => Promise<DeviceParamConfig[] | null>;
|
|
8
|
+
export declare function configureDeviceParamCheck(fetcher: FetchDeviceParamLimits): void;
|
|
3
9
|
export declare function registerFormulaFuncs(): void;
|
|
@@ -13,6 +13,8 @@ export interface RuntimeAsyncTaskSnapshot {
|
|
|
13
13
|
sheetId?: string;
|
|
14
14
|
/** 提交是否必须等待此任务完成。 */
|
|
15
15
|
required: boolean;
|
|
16
|
+
/** 任务失败后是否阻止提交;仅对 required 任务生效。 */
|
|
17
|
+
blockOnFailure: boolean;
|
|
16
18
|
status: RuntimeAsyncTaskStatus;
|
|
17
19
|
/** rejected 状态对应的原始错误。 */
|
|
18
20
|
error?: unknown;
|
|
@@ -24,8 +26,10 @@ export interface RunRuntimeAsyncTaskOptions {
|
|
|
24
26
|
fieldIdentity?: BusinessFieldIdentity;
|
|
25
27
|
/** 任务对应的工作表。 */
|
|
26
28
|
sheetId?: string;
|
|
27
|
-
/** 默认 true;为 true
|
|
29
|
+
/** 默认 true;为 true 时提交事务会等待它结束。 */
|
|
28
30
|
required?: boolean;
|
|
31
|
+
/** 默认 true;设为 false 时仍等待任务结束,但失败不阻止后续提交。 */
|
|
32
|
+
blockOnFailure?: boolean;
|
|
29
33
|
/** 默认 true;同 key 新任务开始前是否主动终止旧任务。 */
|
|
30
34
|
replace?: boolean;
|
|
31
35
|
}
|
|
@@ -56,7 +60,7 @@ export declare class RuntimeAsyncTaskCoordinator {
|
|
|
56
60
|
* 等待全部 required 任务达到稳定状态。
|
|
57
61
|
*
|
|
58
62
|
* 一轮任务完成后的字段回填可能触发新的公式或远程任务,因此这里循环读取任务表,直到
|
|
59
|
-
* 没有新的 pending required
|
|
63
|
+
* 没有新的 pending required 任务。稳定后只检查需要阻断提交的失败项。
|
|
60
64
|
*/
|
|
61
65
|
waitForRequired(keyPrefix?: string): Promise<void>;
|
|
62
66
|
/** 返回只读用途的任务快照,避免外部代码操作内部 Promise 和 AbortController。 */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** 当前真实多 Sheet 运行时格式版本。缺少版本号的历史数据按 v1 解析。 */
|
|
2
2
|
export declare const MULTI_SHEET_SCHEMA_VERSION: 2;
|
|
3
|
+
export declare const MAX_RUNTIME_SHEETS = 100;
|
|
4
|
+
export declare const MAX_RUNTIME_SHEET_TITLE_LENGTH = 255;
|
|
3
5
|
export type RuntimeNodeMap = Record<string, any>;
|
|
4
6
|
export interface RuntimeSheetV2 {
|
|
5
7
|
sheetId: string;
|
|
@@ -17,7 +17,7 @@ export declare class RuntimeFieldInitializer {
|
|
|
17
17
|
private scheduled;
|
|
18
18
|
private readonly unsubscribe;
|
|
19
19
|
constructor(record: RuntimeInstanceRecord, info: IBasicInfoItem, metadata: InitializerMetadata);
|
|
20
|
-
/**
|
|
20
|
+
/** 初次加载等待全部目标;默认值请求失败保留在任务中心供诊断,但不阻止提交。 */
|
|
21
21
|
initialize(): Promise<void>;
|
|
22
22
|
private request;
|
|
23
23
|
private readDefault;
|
|
@@ -36,6 +36,7 @@ export declare class RuntimeValidationService {
|
|
|
36
36
|
requestLive(trigger?: 'change' | 'blur', immediate?: boolean): void;
|
|
37
37
|
private flushLive;
|
|
38
38
|
requestDisplay(immediate?: boolean): void;
|
|
39
|
+
private logBackgroundError;
|
|
39
40
|
pruneComments(): void;
|
|
40
41
|
settleAfterModeSwitch(runChangeLive?: boolean): Promise<void>;
|
|
41
42
|
private cancelScheduled;
|
|
@@ -2,7 +2,7 @@ import { FormModelController, MCRender, ParseRuleProps } from '../../../../../no
|
|
|
2
2
|
import { IOverlayContainer } from '../../../../../shared/types';
|
|
3
3
|
import { ScanParamType } from '../../../../../nocode-base/src/types/common/base.ts';
|
|
4
4
|
export declare class McWebRender extends MCRender {
|
|
5
|
-
/**
|
|
5
|
+
/** overlay 弹层按实例记录,form-base 弹层通过其全局管理器关闭。 */
|
|
6
6
|
modals: Array<{
|
|
7
7
|
ownerId?: string;
|
|
8
8
|
modal: IOverlayContainer;
|
package/dist/src/online-form/src/views/render/__components__/_field_/trace/utils/use-rule-props.d.ts
CHANGED
|
@@ -7,8 +7,5 @@ export declare function useRuleProps({ props, selectByCode, }: {
|
|
|
7
7
|
/** 根据编码查询对象,并设置选中,有匹配的项则返回true */
|
|
8
8
|
selectByCode: (code: string, signal: AbortSignal) => Promise<boolean>;
|
|
9
9
|
}): {
|
|
10
|
-
mode: import('vue').Ref<"scan" | "dropdown", "scan" | "dropdown">;
|
|
11
|
-
allowSwitch: import('vue').ComputedRef<boolean>;
|
|
12
|
-
handleEnter: (val: any) => void;
|
|
13
10
|
handleSearchScan: (value: string, isCurrent?: () => boolean) => Promise<boolean>;
|
|
14
11
|
};
|
|
@@ -7,8 +7,10 @@ type __VLS_Props = {
|
|
|
7
7
|
errorPaths?: string[];
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
change: (sheetId: string,
|
|
10
|
+
change: (sheetId: string, source: Event | HTMLElement) => any;
|
|
11
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onChange?: ((sheetId: string,
|
|
13
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
onChange?: ((sheetId: string, source: Event | HTMLElement) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
tabsViewport: HTMLDivElement;
|
|
15
|
+
}, HTMLElement>;
|
|
14
16
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { shallowReactive } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { aH as SubTableActionMenuTypeEnum, aI as getMenuByAction, aJ as SubTableActionEnum, aK as resolveScanFillData, an as SubTableCore, aL as getInsertSubMenu, aM as resolveScanAdjustType, aN as resolveScanQty, aO as toDateOnly, aP as getCopySubMenu, aQ as resolveScanParsedValue, aR as isProductBatchEmptyRow } from "./dynamic-table-action-BWI4Gaqi.js";
|
|
3
|
+
import { o as api, cM as F$1, cN as SCAN_ROW_CONTENT_FIELDS, cO as F$2, cP as FILL_FROM_TARGET_PRODUCT_OPTION, 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, b2 as F$6, c$ as INVENTORY_BASE_FIELDS, d0 as resolveGroupByWarehouse, d1 as AUTO_LOAD_READONLY_SELECT_FIELDS, b1 as STOCKTAKE_DIMENSION, a_ as getParseRuleInfo, d2 as buildFillFromInventoryOption, c1 as calcFillData, d3 as resolveStocktakeInventoryApi, a$ as getParseRuleValue, d4 as F$7, d5 as FILL_FROM_INVENTORY_OPTION$3, d6 as LOCKED_INPUT_FIELDS, c7 as extractKeywordFromQueryData, d7 as composeProductionLotListQuery, aK as resolveLotDisplayLabel, d8 as F$8, d9 as isProductManuallyEditable, da as applyFillFromMfgOrderOption, db as applyFillFromOption$1, dc as applyFillFromProductOption, aS as LOT_CONTAINER_ROLE, dd as MATERIAL_CONTAINER_ID, de as F$9, df as PRODUCT_QUICK_SEARCH_FIELDS, dg as PRODUCT_QUICK_SEARCH_EXP, dh as isProductManuallyEditable$1, di as applyFillFromMaterialNoOption, dj as applyFillFromProductOption$1, dk as F$a, dl 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-BvrrN6te.js";
|
|
4
4
|
import { has, merge } from "lodash-es";
|
|
5
5
|
function isBlank$4(value) {
|
|
6
6
|
return value === void 0 || value === null || value === "";
|
|
@@ -1577,13 +1577,19 @@ function createMaterialContainerLoader() {
|
|
|
1577
1577
|
function isBlank$1(value) {
|
|
1578
1578
|
return value === void 0 || value === null || value === "";
|
|
1579
1579
|
}
|
|
1580
|
+
function normalizeProductionDate(row) {
|
|
1581
|
+
if (!isBlank$1(row[F$8.productionDate])) {
|
|
1582
|
+
row[F$8.productionDate] = toDateOnly(row[F$8.productionDate]);
|
|
1583
|
+
}
|
|
1584
|
+
return row;
|
|
1585
|
+
}
|
|
1580
1586
|
const SCAN_NOT_FOUND_MSG = "扫描的批次/物料不存在";
|
|
1581
1587
|
function isProductionLotOrSn(record) {
|
|
1582
1588
|
const type = record.production_identification_type_;
|
|
1583
1589
|
return type === "LOT" || type === "SN";
|
|
1584
1590
|
}
|
|
1585
1591
|
function buildProductionContainerRow(record, parsed, fillData) {
|
|
1586
|
-
return {
|
|
1592
|
+
return normalizeProductionDate({
|
|
1587
1593
|
[F$8.productionContainer]: record.lot_sn_id_ ?? record.production_container_id_,
|
|
1588
1594
|
[F$8.product]: record.product_id_,
|
|
1589
1595
|
[F$8.productName]: record.product_id_name_,
|
|
@@ -1591,15 +1597,15 @@ function buildProductionContainerRow(record, parsed, fillData) {
|
|
|
1591
1597
|
[F$8.productSpec]: record.product_id_spec_,
|
|
1592
1598
|
[F$8.mfgOrderCode]: record.mfg_order_code_,
|
|
1593
1599
|
[F$8.qty]: parsed.qty ?? record.qty_,
|
|
1594
|
-
[F$8.productionDate]:
|
|
1600
|
+
[F$8.productionDate]: record.production_date_,
|
|
1595
1601
|
[F$8.materialContainerNo]: void 0,
|
|
1596
1602
|
[MATERIAL_CONTAINER_ID]: void 0,
|
|
1597
1603
|
[F$8.mfgOrder]: void 0,
|
|
1598
1604
|
...fillData
|
|
1599
|
-
};
|
|
1605
|
+
});
|
|
1600
1606
|
}
|
|
1601
1607
|
function buildMaterialContainerRow(record, parsed, fillData) {
|
|
1602
|
-
return {
|
|
1608
|
+
return normalizeProductionDate({
|
|
1603
1609
|
[F$8.materialContainerNo]: record.material_no_,
|
|
1604
1610
|
[MATERIAL_CONTAINER_ID]: record.production_identification_id_,
|
|
1605
1611
|
[F$8.product]: record.product_id_,
|
|
@@ -1611,7 +1617,7 @@ function buildMaterialContainerRow(record, parsed, fillData) {
|
|
|
1611
1617
|
[F$8.qty]: parsed.qty ?? record.qty_,
|
|
1612
1618
|
[F$8.productionContainer]: void 0,
|
|
1613
1619
|
...fillData
|
|
1614
|
-
};
|
|
1620
|
+
});
|
|
1615
1621
|
}
|
|
1616
1622
|
class PretreatmentListTableCore extends ProfileDrivenSubTableCore {
|
|
1617
1623
|
/** 绘制UI相关工具,复用调拨表扫码弹窗 */
|
|
@@ -1671,16 +1677,23 @@ class PretreatmentListTableCore extends ProfileDrivenSubTableCore {
|
|
|
1671
1677
|
const source = option._item ?? option;
|
|
1672
1678
|
if (field === F$8.mfgOrder) {
|
|
1673
1679
|
applyFillFromMfgOrderOption(rowData, source);
|
|
1680
|
+
normalizeProductionDate(rowData);
|
|
1674
1681
|
return;
|
|
1675
1682
|
}
|
|
1676
1683
|
if (field === F$8.productionContainer || field === F$8.materialContainerNo) {
|
|
1677
1684
|
applyFillFromOption$1(rowData, source);
|
|
1685
|
+
normalizeProductionDate(rowData);
|
|
1678
1686
|
return;
|
|
1679
1687
|
}
|
|
1680
1688
|
if (field === F$8.product) {
|
|
1681
1689
|
applyFillFromProductOption(rowData, source);
|
|
1682
1690
|
}
|
|
1683
1691
|
}
|
|
1692
|
+
prepareSubmitFormState(formState) {
|
|
1693
|
+
const rows = formState[this.subFieldKey];
|
|
1694
|
+
if (!Array.isArray(rows)) return;
|
|
1695
|
+
rows.forEach((row) => normalizeProductionDate(row));
|
|
1696
|
+
}
|
|
1684
1697
|
async onScan(input) {
|
|
1685
1698
|
const parsed = resolveScanParsedValue(input);
|
|
1686
1699
|
if (!parsed || !hasProductionIdentificationScanKey(parsed)) {
|
|
@@ -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 { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { Q as PaperWidgeValueType, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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-ixQwAcB1.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 { ej as isObject, dJ as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { ej as isObject, dJ as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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 { am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { am as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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, aZ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.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-ixQwAcB1.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 = (() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
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-ixQwAcB1.js";
|
|
4
|
+
import { Q as PaperWidgeValueType, at as ExpressionModeEnum, av as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import "ant-design-vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-
|
|
2
|
-
import { A, B, P, S, j, h, i, u } from "../index-
|
|
1
|
+
import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-DeHX7rte.js";
|
|
2
|
+
import { A, B, P, S, j, h, i, u } from "../index-DeHX7rte.js";
|
|
3
3
|
import { message } from "ant-design-vue";
|
|
4
|
-
import { J as useModal, a8 as _export_sfc,
|
|
4
|
+
import { J as useModal, a8 as _export_sfc, o as api, cd as getParseRuleConfig, a$ as getParseRuleValue, c1 as calcFillData, aX as getLotLockedReason } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
5
5
|
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass, createVNode, createTextVNode, reactive, onMounted, createBlock, unref, withCtx, withKeys, withDirectives, createCommentVNode, vShow, computed, mergeProps, toHandlers } from "vue";
|
|
6
6
|
import { cloneDeep } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
4
|
-
import {
|
|
2
|
+
import { u as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-ixQwAcB1.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-doohzADY.js";
|
|
4
|
+
import { p as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "@gct-paas/form-base";
|
|
8
8
|
import "ant-design-vue";
|
|
9
|
-
import { A as AlignEditor } from "./align-editor-
|
|
9
|
+
import { A as AlignEditor } from "./align-editor-a4DQt4Un.js";
|
|
10
10
|
const _hoisted_1 = { class: "pl-6px" };
|
|
11
11
|
const _hoisted_2 = { class: "flex justify-end" };
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,12 +1,12 @@
|
|
|
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-ixQwAcB1.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
|
-
import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex,
|
|
4
|
+
import { F as FIELD_TYPE, a8 as _export_sfc, aj as DiagonalDirection, an as DiagonalVertex, co as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
7
7
|
import { message } from "ant-design-vue";
|
|
8
8
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
9
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
9
|
+
import { S as SingleFieldDrop } from "./single-field-drop-C67wLHxK.js";
|
|
10
10
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "diagonal-name-editor",
|
|
12
12
|
props: {
|
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
3
|
-
import { S as SizeEditor } from "./size-editor-
|
|
2
|
+
import { L as LeftOutlined, R as RightOutlined, t as isClient, u as useSpreadSheet, F as FormItem, v as ImgParser } from "./index-ixQwAcB1.js";
|
|
3
|
+
import { S as SizeEditor } from "./size-editor-BHGTPLir.js";
|
|
4
4
|
import { message } from "ant-design-vue";
|
|
5
|
-
import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
5
|
+
import { ak as WidgetImageSizeMode, a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
import "@gct-paas/form-base";
|
|
9
|
-
import { u as useWebUpload } from "./index-
|
|
9
|
+
import { u as useWebUpload } from "./index-DeHX7rte.js";
|
|
10
10
|
import "vxe-table";
|
|
11
|
-
import { C as CloseOutlined } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
11
|
+
import { C as CloseOutlined } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js";
|
|
12
12
|
const resumeSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307154239'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7317'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M316%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208zM512%20622c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039zM512%20482c22.1%200%2040-17.9%2040-39%200-23.1-17.9-41-40-41s-40%2017.9-40%2041c0%2021.1%2017.9%2039%2040%2039z'%20p-id='7318'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M880%20112H144c-17.7%200-32%2014.3-32%2032v736c0%2017.7%2014.3%2032%2032%2032h736c17.7%200%2032-14.3%2032-32V144c0-17.7-14.3-32-32-32z%20m-40%20728H184V184h656v656z'%20p-id='7319'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M648%20672h60c4.4%200%208-3.6%208-8V360c0-4.4-3.6-8-8-8h-60c-4.4%200-8%203.6-8%208v304c0%204.4%203.6%208%208%208z'%20p-id='7320'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
|
|
13
13
|
const rotateSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595306944988'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='1820'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M1464.3%20279.7'%20p-id='1821'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M512%20960c-60.5%200-119.1-11.9-174.4-35.2-53.4-22.6-101.3-54.9-142.4-96s-73.4-89-96-142.4C75.9%20631.1%2064%20572.5%2064%20512s11.9-119.1%2035.2-174.4c22.6-53.4%2054.9-101.3%2096-142.4s89-73.4%20142.4-96C392.9%2075.9%20451.5%2064%20512%2064s119.1%2011.9%20174.4%2035.2c53.4%2022.6%20101.3%2054.9%20142.4%2096s73.4%2089%2096%20142.4C948.1%20392.9%20960%20451.5%20960%20512c0%2019.1-15.5%2034.6-34.6%2034.6s-34.6-15.5-34.6-34.6c0-51.2-10-100.8-29.8-147.4-19.1-45.1-46.4-85.6-81.2-120.4C745%20209.4%20704.5%20182%20659.4%20163c-46.7-19.7-96.3-29.8-147.4-29.8-51.2%200-100.8%2010-147.4%2029.8-45.1%2019.1-85.6%2046.4-120.4%2081.2S182%20319.5%20163%20364.6c-19.7%2046.7-29.8%2096.3-29.8%20147.4%200%2051.2%2010%20100.8%2029.8%20147.4%2019.1%2045.1%2046.4%2085.6%2081.2%20120.4C279%20814.6%20319.5%20842%20364.6%20861c46.7%2019.7%2096.3%2029.8%20147.4%2029.8%2064.6%200%20128.4-16.5%20184.4-47.8%2054.4-30.4%20100.9-74.1%20134.6-126.6%2010.3-16.1%2031.7-20.8%2047.8-10.4%2016.1%2010.3%2020.8%2031.7%2010.4%2047.8-39.8%2062-94.8%20113.7-159.1%20149.6-66.2%2037-141.7%2056.6-218.1%2056.6z'%20p-id='1822'%20fill='%23ffffff'%3e%3c/path%3e%3cpath%20d='M924%20552c-19.8%200-36-16.2-36-36V228c0-19.8%2016.2-36%2036-36s36%2016.2%2036%2036v288c0%2019.8-16.2%2036-36%2036zM275.4%20575.5c9.5-2.5%2019.1%202.9%2022.3%2012.2%203.5%2010.2%209.9%2017.7%2019.1%2022.6%207.1%203.9%2015.1%205.8%2024%205.8%2016.6%200%2030.8-6.9%2042.5-20.8%2011.7-13.8%2020-32.7%2024.9-75.1-7.7%2012.2-17.3%2020.8-28.7%2025.8-11.4%205-23.7%207.4-36.8%207.4-26.7%200-47.7-8.3-63.3-24.9-15.5-16.6-23.3-37.9-23.3-64.1%200-25.1%207.7-47.1%2023-66.2%2015.3-19%2037.9-28.6%2067.8-28.6%2040.3%200%2068.1%2018.1%2083.4%2054.4%208.5%2019.9%2012.7%2044.9%2012.7%2074.9%200%2033.8-5.1%2063.8-15.3%2089.9-16.9%2043.5-45.5%2065.2-85.8%2065.2-27%200-47.6-7.1-61.6-21.2-10-10.1-16.4-22-19.3-35.8-2-9.6%204-19.1%2013.5-21.6l0.9%200.1z%20m103-74.4c9.4-7.5%2014.1-20.6%2014.1-39.3%200-16.8-4.2-29.3-12.7-37.5S360.6%20412%20347.5%20412c-14%200-25.2%204.7-33.4%2014.1-8.2%209.4-12.4%2022-12.4%2037.7%200%2014.9%203.6%2026.7%2010.9%2035.5%207.2%208.8%2018.8%2013.1%2034.6%2013.1%2011.4%200%2021.8-3.8%2031.2-11.3zM646.6%20414.4c12.4%2022.8%2018.5%2054%2018.5%2093.7%200%2037.6-5.6%2068.7-16.8%2093.3-16.2%2035.3-42.8%2052.9-79.6%2052.9-33.2%200-57.9-14.4-74.2-43.3-13.5-24.1-20.3-56.4-20.3-97%200-31.4%204.1-58.4%2012.2-80.9%2015.2-42%2042.7-63%2082.5-63%2035.9%200%2061.8%2014.8%2077.7%2044.3z%20m-40.2%20173.3c9.4-13.9%2014-39.9%2014-78%200-27.4-3.4-50-10.1-67.7-6.8-17.7-19.9-26.6-39.4-26.6-17.9%200-31%208.4-39.3%2025.2-8.3%2016.8-12.4%2041.6-12.4%2074.3%200%2024.6%202.6%2044.4%207.9%2059.4%208.1%2022.8%2022%2034.3%2041.6%2034.3%2015.7%200%2028.3-7%2037.7-20.9zM803.3%20387.2c11.2%2011.3%2016.8%2025%2016.8%2041.2%200%2016.7-5.8%2030.7-17.5%2041.8C791%20481.4%20777.4%20487%20762%20487c-17.1%200-31.2-5.8-42.1-17.4-10.9-11.6-16.4-25.1-16.4-40.6%200-16.5%205.8-30.4%2017.3-41.7%2011.5-11.3%2025.3-17%2041.2-17%2016.3%200%2030.1%205.7%2041.3%2016.9zM739.5%20451c6.2%206.2%2013.7%209.3%2022.5%209.3%208.4%200%2015.8-3.1%2022.1-9.3%206.3-6.2%209.4-13.7%209.4-22.6%200-8.5-3.1-15.9-9.3-22.1-6.2-6.2-13.6-9.3-22.2-9.3s-16.1%203.1-22.4%209.3c-6.3%206.2-9.4%2013.7-9.4%2022.6-0.1%208.4%203%2015.8%209.3%2022.1z'%20p-id='1823'%20fill='%23ffffff'%3e%3c/path%3e%3c/svg%3e";
|
|
14
14
|
const scaleSvg = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1595307195033'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8116'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='48'%20height='48'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M887.081%20904.791a25.8%2025.8%200%200%201-18.376-7.619L705.618%20734.075l-4.163%203.369c-58.255%2047.18-131.522%2073.16-206.32%2073.16-181.07%200-328.377-147.308-328.377-328.367%200-181.068%20147.308-328.376%20328.377-328.376%20181.063%200%20328.376%20147.308%20328.376%20328.376%200%2077.072-27.412%20152.07-77.169%20211.17l-3.522%204.173%20162.719%20162.744a25.846%2025.846%200%200%201%207.639%2018.432%2026.081%2026.081%200%200%201-26.051%2026.045l-0.046-0.01zM495.13%20205.957c-152.336%200-276.27%20123.935-276.27%20276.27%200%20152.33%20123.934%20276.27%20276.27%20276.27%20152.34%200%20276.275-123.94%20276.275-276.27%200-152.335-123.935-276.27-276.275-276.27z'%20fill='%23ffffff'%20p-id='8117'%3e%3c/path%3e%3cpath%20d='M626.545%20508.355h-262.83a26.127%2026.127%200%200%201%200-52.255h262.83a26.127%2026.127%200%200%201%200%2052.255z'%20fill='%23ffffff'%20p-id='8118'%3e%3c/path%3e%3cpath%20d='M495.13%20639.77a26.127%2026.127%200%200%201-26.128-26.128v-262.83a26.127%2026.127%200%200%201%2052.255%200v262.835a26.127%2026.127%200%200%201-26.127%2026.123z'%20fill='%23ffffff'%20p-id='8119'%3e%3c/path%3e%3c/svg%3e";
|