@gct-paas/excel 0.1.40-beta.26 → 0.1.40-beta.28
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-ClKLQPlb.js → BaseComponent-EzX32ZdY.js} +2 -2
- package/dist/{VueVideoPlayer-D7buOU3g.js → VueVideoPlayer-BuuQaqyI.js} +2 -2
- package/dist/{align-editor-BM2D1Kjn.js → align-editor-DWHHVeY1.js} +1 -1
- package/dist/{barcode-design-D8H2Bg9b.js → barcode-design-B0WcJSEI.js} +2 -2
- package/dist/base/index.es.js +246 -207
- package/dist/{diagonal-design-Ca9DW4R9.js → diagonal-design-D6uOJZmP.js} +2 -2
- package/dist/{dynamic-table-action-DPgnmGmu.js → dynamic-table-action-D-ub6KoK.js} +164 -232
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BUKMwvFf.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js} +965 -540
- package/dist/{edit.utils-CXmmCnxE-ogCEEMW7.js → edit.utils-CXmmCnxE-CXdATd1V.js} +1 -1
- package/dist/excel.css +32 -23
- package/dist/{exceljs.min-BzSfyOeP.js → exceljs.min-BXhhaToT.js} +2 -2
- package/dist/{font-editor-tmQsLM86.js → font-editor-_HTdKFX6.js} +3 -3
- package/dist/{image-design-oRvqavKb.js → image-design-4Ee8rZqa.js} +2 -2
- package/dist/{index-DUrJEPXQ.js → index-7AmrbQlC.js} +2 -2
- package/dist/{index-C4v0H4FC.js → index-8ZnBcx1k.js} +3 -3
- package/dist/{index-CI051jjs.js → index-B4LuUmbW.js} +2 -2
- package/dist/{index-DS7TSyjT.js → index-BCCIwSnM.js} +1 -1
- package/dist/{index-IlasHrys.js → index-BHJxBByd.js} +1 -1
- package/dist/{index-3K7-At9-.js → index-BLf1U1A9.js} +3 -3
- package/dist/{index-cBtITF-e.js → index-BYq7x5n6.js} +1 -1
- package/dist/{index-CKyxWh-q.js → index-B_DPnVrC.js} +2 -2
- package/dist/{index-C8-IDtVr.js → index-Bbyb-owd.js} +2 -2
- package/dist/{index-1GK0_6yB.js → index-BlMiHVOC.js} +1 -1
- package/dist/{index-C4txo2fg.js → index-BnOOLcX1.js} +2 -2
- package/dist/{index-B3_1mcU-.js → index-Bnt54Sc6.js} +2 -2
- package/dist/{index-CHTrEvG1.js → index-CH_C9ijO.js} +2 -2
- package/dist/{index-Coz70NtU.js → index-CMdXdyvs.js} +2 -2
- package/dist/{index-DAuoR0-c.js → index-CQ0_Kx1_.js} +2 -2
- package/dist/{index-zJwCoxly.js → index-Cb7Fh_E2.js} +2 -2
- package/dist/{index-DvXsENIM.js → index-CtVFTmHZ.js} +3 -3
- package/dist/{index-BVJENFMM.js → index-D3KiKYMR.js} +1 -1
- package/dist/{index-CMKlsuD6.js → index-D87CVHA-.js} +2 -2
- package/dist/{index-D0PRNLPd.js → index-DM0OEvdI.js} +1 -1
- package/dist/{index-DLRVgGXr.js → index-DPTR_QJn.js} +1 -1
- package/dist/{index-sEcLP8dk.js → index-DVzaxa5k.js} +2 -2
- package/dist/{index-B_CDhpav.js → index-DcXbL-0o.js} +4 -4
- package/dist/{index-nhC91wtN.js → index-Dn0qfALy.js} +3 -3
- package/dist/{index-AU7rrK9g.js → index-Dnz3YPDV.js} +2 -2
- package/dist/{index-BMUAwQmf.js → index-DoWp9uDw.js} +2 -2
- package/dist/{index-61ZlwI2f.js → index-Dstr-PNj.js} +2 -2
- package/dist/{index-eyK5xPX3.js → index-DzqaKW6e.js} +2 -2
- package/dist/{index-D1KO6u1Z.js → index-GoAXo3fT.js} +227 -184
- package/dist/{index-ZxBcNN-g.js → index-Jy2tofdo.js} +3 -3
- package/dist/{index-ZHmmTlG-.js → index-KRo2-iQv.js} +3 -3
- package/dist/{index-CcC1xcOH.js → index-KuhYPy5i.js} +1 -1
- package/dist/{index-C5Bdrx4J.js → index-YlEOHde0.js} +1 -1
- package/dist/{index-DbuDWYlA.js → index-toqlO_-B.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DhmtOtIs.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAAF0eOB.js} +1 -1
- package/dist/{pagination-design-Bh5sF0VU.js → pagination-design-DANnqQdI.js} +2 -2
- package/dist/paper-widget-design-BrE7Bb4V.js +4 -0
- package/dist/{print-runtime-instance-19OA8Ubq.js → print-runtime-instance-PabaORE2.js} +1 -1
- package/dist/{print-snapshot-renderer-D5OUO3Sx.js → print-snapshot-renderer-DQr2G7Hv.js} +3 -3
- package/dist/{qrcode-design-CkwIXxb_.js → qrcode-design-BEA1JchI.js} +1 -1
- package/dist/{revo-grid.entry-CJ1rhBKH.js → revo-grid.entry-Bj-4xHie.js} +1 -1
- package/dist/{revogr-attribution_7.entry-Ba9MJ5p9.js → revogr-attribution_7.entry-NvaozwYj.js} +3 -3
- package/dist/{revogr-clipboard_3.entry--neB-vq8.js → revogr-clipboard_3.entry-CkRbECsx.js} +2 -2
- package/dist/{revogr-data_4.entry-BcmetTvO.js → revogr-data_4.entry-Dbbd8Mpz.js} +2 -2
- package/dist/{revogr-filter-panel.entry-jp8iD-xn.js → revogr-filter-panel.entry-lcMbXUNb.js} +1 -1
- package/dist/seal-design-CX-ZxOn3.js +4 -0
- package/dist/{serialnumber-design-LzvbjC79.js → serialnumber-design-B608oYcy.js} +1 -1
- package/dist/shared/index.es.js +25 -25
- package/dist/{single-field-drop-CEbaTw0-.js → single-field-drop-CkUP3H7u.js} +2 -2
- package/dist/{size-editor-CaFqQHeU.js → size-editor-Bl-lUcdU.js} +1 -1
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +3 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +2 -1
- package/dist/src/nocode-base/src/interface/transform.d.ts +3 -0
- package/dist/src/nocode-base/src/runtime/designer-default-values.d.ts +23 -0
- package/dist/src/nocode-base/src/runtime/formula-utils.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-default-value-validation.d.ts +23 -0
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +6 -2
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +3 -0
- package/dist/src/nocode-base/src/runtime/table-row-identity.d.ts +2 -0
- package/dist/src/nocode-base/src/types/common/base.d.ts +4 -2
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +4 -3
- package/dist/src/online-form/src/views/designer/types/index.d.ts +3 -1
- package/dist/src/shared/enum/field-type.d.ts +1 -1
- package/dist/{sub-table-factory-_1c-Dsu_.js → sub-table-factory-GzYKYE9t.js} +2 -2
- package/dist/{text-design-D5QIq5aE.js → text-design-V3TQuLps.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-BMfNVrvD.js → throttle-Cpk1LoGk-CFMeLNb-.js} +1 -1
- package/dist/{timediff-design-B9m-zonK.js → timediff-design-DRum3zZt.js} +1 -1
- package/dist/{trace-like-wrapper-C_NJVd6e.js → trace-like-wrapper-D1Gzs1mF.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BpZAIeLC.js → value-editor.vue_vue_type_style_index_0_lang-DoOuCca5.js} +2 -2
- package/dist/{widget-barcode-CDMJo5uk.js → widget-barcode-CNrl2NxY.js} +4 -4
- package/dist/{widget-diagonal-D9AC_qNv.js → widget-diagonal-CqjD1SwW.js} +3 -3
- package/dist/{widget-image-DMiIjg8J.js → widget-image-Xjl5W2Fp.js} +4 -4
- package/dist/{widget-line-BwSO-GKu.js → widget-line-BUVVnwrU.js} +2 -2
- package/dist/{widget-pagination-Buo5s7Xq.js → widget-pagination-DjMXWioI.js} +5 -5
- package/dist/{widget-power-D8HtIVO2.js → widget-power-Dck9H8a9.js} +3 -3
- package/dist/{widget-qrcode-XEY9m1Dj.js → widget-qrcode-Cu8BwE24.js} +3 -3
- package/dist/{widget-rangelimit-C9j1s6Md.js → widget-rangelimit-DLxebCKf.js} +3 -3
- package/dist/{widget-serialnumber-B_IA4_De.js → widget-serialnumber-DecFCGS0.js} +1 -1
- package/dist/{widget-text-Bp0FEZa1.js → widget-text-DV3yKKsx.js} +5 -5
- package/dist/{widget-timediff-BlYRlDYp.js → widget-timediff-BIwewJ39.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-DZrP96jp.js +0 -4
- package/dist/seal-design-DX7PP65G.js +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-D1Gzs1mF.js";
|
|
9
9
|
class AutoComplete extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.AutoComplete;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.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 { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-EzX32ZdY.js";
|
|
8
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-GoAXo3fT.js";
|
|
9
9
|
class Select extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Select;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick, get } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { pick, get } from "lodash-es";
|
|
2
2
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
3
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-
|
|
3
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-
|
|
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 { H, J, K, M, N, O, Q, U, W, B, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, x, aa, ab, y, ac, P, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, h } from "./index-GoAXo3fT.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAAF0eOB.js";
|
|
3
3
|
import { DataSources } from "@gct-paas/form-base";
|
|
4
4
|
export {
|
|
5
5
|
H as AiTmplEditor,
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import { I as Icon,
|
|
2
|
+
import { I as Icon, a1 as FormTypeEnum, ad as useNamespace, ae as _export_sfc, aH as FormDesignEnum, p as api, U as useModal, bU as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
3
3
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
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_8710052f_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.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-GoAXo3fT.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-GoAXo3fT.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 {
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { X as RuntimeFormStateStore, Z as RuntimeInstanceRegistry, R as NCB_PROVIDE } from "./dynamic-table-action-D-ub6KoK.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-GzYKYE9t.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-GoAXo3fT.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-GoAXo3fT.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 { dr as registerInstance, ds as createEvent, dt as getColumnByProp, du as timeout, dv as getVisibleSourceItem, dw as getColumns, dx as rowTypes, dy as GroupingRowPlugin, dz as StretchColumn, dA as isStretchPlugin, dB as AutoSizeColumnPlugin, dC as FilterPlugin, dD as ExportFilePlugin, dE as SortingPlugin, dF as ColumnMovePlugin, dG as ThemeService, dH as h, dI as Host, dJ as getElement, dK as BasePlugin, dL as reduce, dM as columnTypes, dN as debounce, dO as RESIZE_INTERVAL, dP as DimensionStore, dQ as gatherTrimmedItems, dR as getColumnSizes, dS as getItemByIndex, dT as DataStore, dU as getSourceItem, dV as getSourceItemVirtualIndexByProp, dW as getColumnType, dX as setSourceByPhysicalIndex, dY as setSourceByVirtualIndex, dZ as SelectionStore, d_ as cropCellToMax, d$ as nextCell, e0 as isRowType, e1 as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.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-Ba9MJ5p9.js → revogr-attribution_7.entry-NvaozwYj.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dr as registerInstance, dH as h, dI as Host, ds as createEvent, dU as getSourceItem, dJ as getElement, e6 as ColumnService, e7 as MOBILE_CLASS, e8 as SELECTION_BORDER_CLASS, e9 as getCellData, ea as getCellEditor, eb as getRange, ec as isRangeSingleCell, ed as codesLetter, e1 as ViewportStore, dT as DataStore, ee as calculateRowHeaderSize, ef as ROW_HEADER_TYPE, eg as getScrollbarSize, eh as FOCUS_CLASS, dS as getItemByIndex, du as timeout, ei as CELL_HANDLER_CLASS, dN as debounce, ej as TMP_SELECTION_BG_CLASS, dO as RESIZE_INTERVAL, ek as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.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-CXdATd1V.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-CFMeLNb-.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 { du as timeout, dr as registerInstance, ds as createEvent, dH as h, el as EDIT_INPUT_WR, dI as Host, dJ as getElement, dN as debounce, eo as DRAGG_TEXT, dU as getSourceItem, ek as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-CXdATd1V.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 { ep as PSEUDO_GROUP_ITEM, eq as GROUP_EXPANDED, er as GROUP_DEPTH, dH as h, es as GROUP_EXPAND_BTN, et as DATA_ROW, dU as getSourceItem, eu as isGroupingColumn, ev as GROUP_COLUMN_PROP, ew as getCellRaw, ex as DATA_COL, ey as CELL_CLASS, ez as Build, eA as isRowDragService, eB as DRAG_ICON_CLASS, eC as DRAGGABLE_CLASS, eD as getCellDataParsed, eE as GROUP_EXPAND_EVENT, dr as registerInstance, ds as createEvent, e6 as ColumnService, eF as isGrouping, dI as Host, dJ as getElement, dS as getItemByIndex, eG as HEADER_ROW_CLASS, eH as HEADER_ACTUAL_ROW_CLASS, eI as ROW_FOCUSED_CLASS, eJ as HEADER_SORTABLE_CLASS, eK as MIN_COL_SIZE, eh as FOCUS_CLASS, eL as FilterButton, eM as HeaderCellRenderer, eN as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-CFMeLNb-.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-jp8iD-xn.js → revogr-filter-panel.entry-lcMbXUNb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dr as registerInstance, ds as createEvent, dN as debounce, dH as h, e2 as AndOrButton, e3 as ReorderButton, e4 as TrashButton, e5 as isFilterBtn, dI as Host, dJ as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.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 {
|
|
2
|
+
import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.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 {
|
|
2
|
-
import { O, _ as _2, P, S, V, u } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { aP, aI, x, cK, Q, aQ, aR, cL, ax, az, F, a0, aj, N, aH, br, b9, cM, ay, T, cN, $, _, bs, af, Z } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
2
|
+
import { O, _ as _2, P, S, V, u } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-DAAF0eOB.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -49,44 +49,44 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
49
49
|
return GctMqttTopsEnum2;
|
|
50
50
|
})(GctMqttTopsEnum || {});
|
|
51
51
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
aP as ASSIGNMENTSTRATEGY_ENUM,
|
|
53
|
+
aI as BASIC_FIELD_TYPES,
|
|
54
54
|
x as BUSINESS_FIELD_TYPES,
|
|
55
55
|
ButtonOpeEnum,
|
|
56
56
|
ButtonSize,
|
|
57
57
|
ButtonStyle,
|
|
58
58
|
ButtonType,
|
|
59
59
|
ButtonType_vant,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
cK as CardControlEnum,
|
|
61
|
+
Q as CreateType,
|
|
62
|
+
aQ as Dependency_ENUM,
|
|
63
|
+
aR as EntityModelCategoryEnum,
|
|
64
|
+
cL as EntityModelTypeEnum,
|
|
65
|
+
ax as ExpressionModeEnum,
|
|
66
|
+
az as ExpressionTabEnum,
|
|
67
67
|
F as FIELD_TYPE,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
a0 as FieldDefaultValueTypeEnum,
|
|
69
|
+
aj as FieldIconMap,
|
|
70
|
+
N as FieldTypeToJs,
|
|
71
|
+
aH as FormDesignEnum,
|
|
72
|
+
br as FormulaRuleFieldKeyEnum,
|
|
73
73
|
GctMqttTopsEnum,
|
|
74
74
|
O as OnlineFormModelModal,
|
|
75
75
|
_2 as OnlineFormModelSelect,
|
|
76
76
|
Platform,
|
|
77
77
|
P as ProductTypeEnum,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
b9 as ProductionIdentificationTypeEnum,
|
|
79
|
+
cM as RecordNoGenerateEnum,
|
|
80
|
+
ay as ReturnTypeEnum,
|
|
81
81
|
S as SEARCH_SEVICE,
|
|
82
82
|
SignatureTypeEnum,
|
|
83
83
|
T as TRACE_FIELD_TYPES,
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
cN as TagTypeEnum,
|
|
85
|
+
$ as UniqueConstraintType,
|
|
86
86
|
V as VersionSelect,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
_ as WAREHOUSE_FIELD_TYPES,
|
|
88
|
+
bs as formulaRuleFieldDict,
|
|
89
|
+
af as normalizeFieldType,
|
|
90
|
+
Z as onlineFormMasterModelTypeEnum,
|
|
91
91
|
u as useWebUpload
|
|
92
92
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
2
|
+
import { ad as useNamespace, ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-GoAXo3fT.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "single-field-drop",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { ae as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-BCLE4joQ.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -2,12 +2,14 @@ import { RenderModeEnum, FormTypeEnum, PlatformEnum } from '../../constant';
|
|
|
2
2
|
import { RuntimeFormStateStore, RuntimeInstanceRegistry, RuntimeInstanceRecord } from '../../runtime';
|
|
3
3
|
import { IProps, IPayload, RuntimeInstanceSource, RuntimeSelfInfo } from './types';
|
|
4
4
|
import { useMaterialBalance } from '../material-balance/useMaterialBalance';
|
|
5
|
+
import { DesignerDefaultValues } from '../../runtime/designer-default-values';
|
|
5
6
|
export declare function createRuntimeInstanceInitializer(props: IProps, payload: IPayload, getConsumeData: ReturnType<typeof useMaterialBalance>['getConsumeData']): (id: string, result: RuntimeInstanceSource, options?: {
|
|
6
7
|
initializeValues?: boolean;
|
|
7
8
|
}) => Promise<{
|
|
8
9
|
runtimeContext: import('../..').RuntimeInstanceContext;
|
|
9
10
|
runtimeFormStateStore: RuntimeFormStateStore;
|
|
10
11
|
runtimeFieldMetadata: import('../..').RuntimeFieldMetadata;
|
|
12
|
+
defaultValueOrigins: DesignerDefaultValues;
|
|
11
13
|
scriptRunner: any;
|
|
12
14
|
basicInfo: {
|
|
13
15
|
key: string;
|
|
@@ -45,6 +47,7 @@ export declare function createRuntimeInstanceInitializer(props: IProps, payload:
|
|
|
45
47
|
paramsConfig: Record<string, any> | undefined;
|
|
46
48
|
businessType: any;
|
|
47
49
|
instanceStatus: any;
|
|
50
|
+
dataStatus: any;
|
|
48
51
|
};
|
|
49
52
|
selfInfo: RuntimeSelfInfo;
|
|
50
53
|
} | undefined>;
|
|
@@ -89,6 +89,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
89
89
|
paramsConfig?: Record<string, any> | undefined;
|
|
90
90
|
businessType?: string | undefined;
|
|
91
91
|
instanceStatus?: string | undefined;
|
|
92
|
+
dataStatus?: string | undefined;
|
|
92
93
|
}[], IBasicInfoItem[] | {
|
|
93
94
|
key: string;
|
|
94
95
|
tid: string;
|
|
@@ -132,6 +133,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
132
133
|
paramsConfig?: Record<string, any> | undefined;
|
|
133
134
|
businessType?: string | undefined;
|
|
134
135
|
instanceStatus?: string | undefined;
|
|
136
|
+
dataStatus?: string | undefined;
|
|
135
137
|
}[]>;
|
|
136
138
|
selfInfoList: import('vue').Ref<{
|
|
137
139
|
[x: string]: any;
|
|
@@ -200,6 +202,7 @@ export declare function useRenderPageFactory(props: IProps, payload: IPayload):
|
|
|
200
202
|
paramsConfig?: Record<string, any> | undefined;
|
|
201
203
|
businessType?: string | undefined;
|
|
202
204
|
instanceStatus?: string | undefined;
|
|
205
|
+
dataStatus?: string | undefined;
|
|
203
206
|
} | undefined;
|
|
204
207
|
updateRenderModeType: (uniqueId: string, mode: import('..').RenderModeEnum, updateButton?: boolean) => Promise<void>;
|
|
205
208
|
setFromEditStatus: (uniqueId: string) => Promise<boolean>;
|
|
@@ -91,8 +91,9 @@ export declare const renderUtils: {
|
|
|
91
91
|
/** 提前设置值给widget */
|
|
92
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>;
|
|
93
93
|
/** 获取默认值集合 */
|
|
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
|
+
getDefaultValueMapByField: ({ defaultValueFields, onDesignerDefault, objectProductDefaults, mainMaterialNo, mainRelatedLotNo, mainProductName, mainRoutingOperation, mainMfgOrderId, mainWarehouseId, mainLotSnId, mainProductQty, mainSterilizationLot, mainSterilizationLotId, defaultUserId, defaultOrgId, operationData, productData, mfgOrderData, sopList, ESOPData, materialNoData, relatedLotNoData, sterilizeLotData, warehouseData, }: {
|
|
95
95
|
defaultValueFields: any;
|
|
96
|
+
onDesignerDefault?: ((field: any, value: unknown) => void) | undefined;
|
|
96
97
|
objectProductDefaults?: WeakMap<object, ObjectProductDefault> | undefined;
|
|
97
98
|
mainMaterialNo?: undefined;
|
|
98
99
|
mainRelatedLotNo?: undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RenderModeEnum } from '../constant';
|
|
2
2
|
import { ICheckTableConfig } from './front-config';
|
|
3
3
|
import { SubTableCoreFactory } from '../core/factory/sub-table-factory';
|
|
4
|
+
import { DesignerDefaultValues } from '../runtime/designer-default-values';
|
|
4
5
|
import { RuntimeTableRelation } from '../runtime/table-row-identity';
|
|
5
6
|
/** 将源数据转换为子表数据 */
|
|
6
7
|
declare function transformSourceData2SubTable(data: any, dict?: {},
|
|
@@ -22,6 +23,7 @@ export declare const transformUtils: {
|
|
|
22
23
|
getSubTableInfo: (paper: any) => any;
|
|
23
24
|
/** 获取默认值 */
|
|
24
25
|
getDefaultData: (payload: {
|
|
26
|
+
defaultValueOrigins?: DesignerDefaultValues;
|
|
25
27
|
/** 默认值数据 */
|
|
26
28
|
defaultDataMap: any;
|
|
27
29
|
/** 子表信息 */
|
|
@@ -108,6 +110,7 @@ export declare const transformUtils: {
|
|
|
108
110
|
}) => any;
|
|
109
111
|
/** 转换formState */
|
|
110
112
|
conversionFormState: (payload: {
|
|
113
|
+
defaultValueOrigins?: DesignerDefaultValues;
|
|
111
114
|
/** 默认值数据 */
|
|
112
115
|
defaultData: any;
|
|
113
116
|
/** 参数数据 */
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** 仅未填报时允许清理;新版 UNFILLED 也可能固定返回 dataStatus=SUBMIT。 */
|
|
2
|
+
export declare function canClearDesignerDefaults(status: {
|
|
3
|
+
instanceStatus?: string;
|
|
4
|
+
dataStatus?: string;
|
|
5
|
+
}): boolean;
|
|
6
|
+
/** 只记录本次确实由设计器默认值初始化的位置,不把相同的历史值当成默认值。 */
|
|
7
|
+
export declare class DesignerDefaultValues {
|
|
8
|
+
readonly values: Record<string, Record<string, unknown>>;
|
|
9
|
+
private readonly applied;
|
|
10
|
+
private appliedRows?;
|
|
11
|
+
add(subFieldKey: string | undefined, field: string, value: unknown): void;
|
|
12
|
+
private key;
|
|
13
|
+
captureRow(row: Record<string, any>, subFieldKey?: string, overrides?: Record<string, any>): void;
|
|
14
|
+
capture(state: Record<string, any>): void;
|
|
15
|
+
/** 转换及合并结束后绑定真实运行时对象,替换成同 ID、同值的新行也不再算旧默认值。 */
|
|
16
|
+
bindRuntimeRows(state: Record<string, any>): void;
|
|
17
|
+
has(row: Record<string, any>, subFieldKey: string | undefined, field: string): boolean;
|
|
18
|
+
owns(row: Record<string, any>, subFieldKey: string | undefined, field: string): boolean;
|
|
19
|
+
revoke(row: Record<string, any>, subFieldKey: string | undefined, field: string): void;
|
|
20
|
+
/** 后续数据源显式提供同一个值也算覆盖,不能仅比较最终值是否相等。 */
|
|
21
|
+
excludeOverrides(target: Record<string, any>, source: any, subFieldKey?: string): void;
|
|
22
|
+
clear(): void;
|
|
23
|
+
}
|
|
@@ -3,5 +3,7 @@ export declare const getParseFormulaVarInfos: (expr?: string) => {
|
|
|
3
3
|
rowArgs: string[];
|
|
4
4
|
parseInfos: IParseFormulaVar[];
|
|
5
5
|
};
|
|
6
|
+
/** 计算与变更比较共用同一份输入解析,避免关联字段、空值及聚合的取值语义分叉。 */
|
|
7
|
+
export declare const resolveFormulaData: (expr: string, formData: any, instanceFormState: any) => Record<string, any>;
|
|
6
8
|
/** 当前行变量从 formData 解析;主表及子表汇总变量从完整实例解析,可跨 Sheet 引用。 */
|
|
7
9
|
export declare const calculateFormula: (expr: string, formData: any, instanceFormState: any) => Promise<any>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IBasicInfoItem } from '../types';
|
|
2
|
+
import { DesignerDefaultValues } from './designer-default-values';
|
|
3
|
+
import { RuntimeInstanceRecord } from './runtime-instance-registry';
|
|
4
|
+
/** 只清理本次实际采用的失效设计器默认值,覆盖未挂载 Sheet 和动态行。 */
|
|
5
|
+
export declare class RuntimeDefaultValueValidation {
|
|
6
|
+
private readonly record;
|
|
7
|
+
private readonly info;
|
|
8
|
+
readonly defaults: DesignerDefaultValues;
|
|
9
|
+
private disposed;
|
|
10
|
+
private scheduled;
|
|
11
|
+
/** 同一实例中,相同引用记录的查询结果可供不同 Sheet 和行复用。 */
|
|
12
|
+
private readonly requests;
|
|
13
|
+
private readonly stops;
|
|
14
|
+
constructor(record: RuntimeInstanceRecord, info: IBasicInfoItem, defaults: DesignerDefaultValues);
|
|
15
|
+
private targets;
|
|
16
|
+
private queryDefault;
|
|
17
|
+
/** 后台检查不加入页面准备、草稿或提交的等待链路。 */
|
|
18
|
+
requestCheck(): void;
|
|
19
|
+
private schedule;
|
|
20
|
+
private isEnabled;
|
|
21
|
+
initialize(): Promise<void>;
|
|
22
|
+
dispose(): void;
|
|
23
|
+
}
|
|
@@ -8,6 +8,8 @@ export interface FormStateChange {
|
|
|
8
8
|
paths: string[];
|
|
9
9
|
/** 整个事务的变更来源。 */
|
|
10
10
|
source: FormStateMutationSource;
|
|
11
|
+
/** 局部恢复只触发实际变更字段的联动;缺省仍按整份数据恢复处理。 */
|
|
12
|
+
restoreScope?: 'fields';
|
|
11
13
|
}
|
|
12
14
|
export type FormStateSubscriber = (change: FormStateChange) => void;
|
|
13
15
|
/**
|
|
@@ -35,7 +37,7 @@ export declare class RuntimeFormStateStore {
|
|
|
35
37
|
private readonly reactiveState;
|
|
36
38
|
/** 每次成功提交一批变更递增一次,保存和提交用它判断快照是否过期。 */
|
|
37
39
|
revision: number;
|
|
38
|
-
/**
|
|
40
|
+
/** 是否存在尚未保存的变更;数据恢复及保存回填不会把实例标记为脏。 */
|
|
39
41
|
dirty: boolean;
|
|
40
42
|
/** 当前嵌套事务深度;只有最外层事务结束时才递增 revision 并通知订阅方。 */
|
|
41
43
|
private mutationDepth;
|
|
@@ -43,6 +45,7 @@ export declare class RuntimeFormStateStore {
|
|
|
43
45
|
private pendingPaths;
|
|
44
46
|
/** 最外层事务的变更来源,嵌套写入沿用该来源。 */
|
|
45
47
|
private pendingSource;
|
|
48
|
+
private pendingRestoreScope?;
|
|
46
49
|
/** 联动、分页失效、自动保存等实例服务登记的变更监听器。 */
|
|
47
50
|
private readonly subscribers;
|
|
48
51
|
/** 用户主动修改过的业务路径,供公式和自动填充执行“不覆盖用户输入”策略。 */
|
|
@@ -89,6 +92,7 @@ export declare class RuntimeFormStateStore {
|
|
|
89
92
|
/**
|
|
90
93
|
* 保存后只回填后端身份元数据,不能用仅含 id_/front_row_key_ 的数组覆盖当前业务行。
|
|
91
94
|
* 二维内置复合键可通过原始子行键匹配保存前的本地行。
|
|
95
|
+
* 保存回填只通知实际变化的字段,不作为整份数据恢复触发全部赋值规则。
|
|
92
96
|
*/
|
|
93
97
|
patchSavedMetadata(values: Record<string, any>): void;
|
|
94
98
|
/**
|
|
@@ -100,7 +104,7 @@ export declare class RuntimeFormStateStore {
|
|
|
100
104
|
* 将多次深层写入合并成一次变更提交。
|
|
101
105
|
* 嵌套事务只累计路径,最外层 finally 统一递增 revision 并通知订阅方。
|
|
102
106
|
*/
|
|
103
|
-
transaction<T>(source: FormStateMutationSource, callback: (state: Record<string, any>) => T): T;
|
|
107
|
+
transaction<T>(source: FormStateMutationSource, callback: (state: Record<string, any>) => T, options?: Pick<FormStateChange, 'restoreScope'>): T;
|
|
104
108
|
/** 登记路径和来源后执行底层修改,是所有显式 Store 写方法的统一入口。 */
|
|
105
109
|
mutate<T>(paths: string[], source: FormStateMutationSource, callback: () => T): T;
|
|
106
110
|
/** 查询某业务路径是否曾由用户主动修改。 */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RuntimeFieldInitializer } from './runtime-field-initializer';
|
|
2
|
+
import { RuntimeDefaultValueValidation } from './runtime-default-value-validation';
|
|
2
3
|
import { RuntimeValidationService } from './runtime-validation-service';
|
|
3
4
|
import { RuntimeInstanceContext } from './runtime-context';
|
|
4
5
|
import { RuntimeInstanceController } from './runtime-instance-controller';
|
|
@@ -24,6 +25,8 @@ export interface RuntimeInstanceRecord {
|
|
|
24
25
|
ruleCompiler?: RuntimeRuleCompiler;
|
|
25
26
|
/** 业务默认值随实例及动态行初始化,不依赖控件挂载。 */
|
|
26
27
|
fieldInitializer?: RuntimeFieldInitializer;
|
|
28
|
+
/** 设计器默认值的独立业务查询,不参与提交拦截。 */
|
|
29
|
+
defaultValueValidation?: RuntimeDefaultValueValidation;
|
|
27
30
|
/** 整份表单共享的数源管理器;字段事件通过当前实例取用。 */
|
|
28
31
|
dataSourceManager?: DataSourceManager;
|
|
29
32
|
/** 实例唯一的数据写入口,生成 revision、dirty 和字段变更路径 */
|
|
@@ -9,6 +9,8 @@ export declare function decodeTableCellRowKey(rowKey: unknown): PersistedTableCe
|
|
|
9
9
|
/** 未配置业务引用或引用值为空时,将子行与列行身份共同持久化到已有字段。 */
|
|
10
10
|
export declare function encodeTableCellRowKey(cellRowKey: unknown, columnRowKey: unknown): string;
|
|
11
11
|
export declare function isTableRowKeyMatch(rowKey: unknown, expected: unknown): boolean;
|
|
12
|
+
/** 内置二维行键自带点号,路径匹配时仍须作为一个完整行身份处理。 */
|
|
13
|
+
export declare function splitRuntimeDataPath(path: string): string[];
|
|
12
14
|
export interface RuntimeTableRelation {
|
|
13
15
|
rowSubFieldKey: string;
|
|
14
16
|
colSubFieldKey?: string;
|
|
@@ -240,7 +240,7 @@ export interface IUnitConversionRule {
|
|
|
240
240
|
}
|
|
241
241
|
export type DecisionRuleRelation = 'AND' | 'OR';
|
|
242
242
|
export type DecisionRuleValueType = 'FIXED' | 'FIELD';
|
|
243
|
-
/**
|
|
243
|
+
/** 提前终止校验规则中的字段信息。 */
|
|
244
244
|
export interface IDecisionRuleField {
|
|
245
245
|
id?: string;
|
|
246
246
|
key: string;
|
|
@@ -282,7 +282,7 @@ export interface IDecisionRuleGroup {
|
|
|
282
282
|
operatorType: DecisionRuleRelation;
|
|
283
283
|
children: Array<IDecisionRuleGroup | IDecisionRuleCondition>;
|
|
284
284
|
}
|
|
285
|
-
/** Paper
|
|
285
|
+
/** Paper 级提前终止校验规则配置。 */
|
|
286
286
|
export interface IInspectionDecisionRule {
|
|
287
287
|
dataRuleEnabled: boolean;
|
|
288
288
|
dataRule: string;
|
|
@@ -381,6 +381,8 @@ export interface IBasicInfoItem {
|
|
|
381
381
|
businessType?: string;
|
|
382
382
|
/** 实例状态 */
|
|
383
383
|
instanceStatus?: string;
|
|
384
|
+
/** 旧接口的填报数据状态;已有暂存、提交数据均保留。 */
|
|
385
|
+
dataStatus?: string;
|
|
384
386
|
}
|
|
385
387
|
export interface ICellBorder {
|
|
386
388
|
left?: boolean;
|
|
@@ -2162,9 +2162,8 @@ export declare function useSpreadSheet(): {
|
|
|
2162
2162
|
addFloatingSeal: (data: IBindField, position?: SealPosition) => {
|
|
2163
2163
|
id: any;
|
|
2164
2164
|
fieldMeta: {
|
|
2165
|
-
fieldType: FIELD_TYPE;
|
|
2166
|
-
bizType: FIELD_TYPE;
|
|
2167
2165
|
field?: string;
|
|
2166
|
+
fieldType?: FIELD_TYPE;
|
|
2168
2167
|
model?: string;
|
|
2169
2168
|
modelLink?: string;
|
|
2170
2169
|
fieldLink?: string;
|
|
@@ -2175,6 +2174,7 @@ export declare function useSpreadSheet(): {
|
|
|
2175
2174
|
createType?: CreateType;
|
|
2176
2175
|
refModelKey?: string;
|
|
2177
2176
|
belongingObject?: string;
|
|
2177
|
+
bizType?: string;
|
|
2178
2178
|
};
|
|
2179
2179
|
fieldWidget: CellWidget.Seal;
|
|
2180
2180
|
layout: SealPosition;
|
|
@@ -2299,7 +2299,8 @@ export declare function useSpreadSheet(): {
|
|
|
2299
2299
|
activeSheet: import('vue').Ref<any, any>;
|
|
2300
2300
|
clearCellContent: () => void;
|
|
2301
2301
|
parsePaste: (event: ClipboardEvent) => Promise<void>;
|
|
2302
|
-
copyAndWrite: (event?: ClipboardEvent) =>
|
|
2302
|
+
copyAndWrite: (event?: ClipboardEvent) => boolean;
|
|
2303
|
+
cutAndWrite: (event: ClipboardEvent) => boolean;
|
|
2303
2304
|
copyAndNew: () => Promise<void>;
|
|
2304
2305
|
};
|
|
2305
2306
|
export {};
|
|
@@ -237,7 +237,7 @@ export interface IFormConfig {
|
|
|
237
237
|
parameterMapping?: Array<IParameterMapping>;
|
|
238
238
|
/** 规则配置-单位转化规则 */
|
|
239
239
|
unitConversionRules?: Array<IUnitConversionRule>;
|
|
240
|
-
/**
|
|
240
|
+
/** 规则配置-提前终止校验规则 */
|
|
241
241
|
inspectionDecisionRule?: IInspectionDecisionRule;
|
|
242
242
|
/** 数据初始化-数据源 */
|
|
243
243
|
customDataSource?: Array<ICustomDataSource>;
|
|
@@ -336,6 +336,8 @@ export interface ISelectionPaperData {
|
|
|
336
336
|
* @interface CopyData
|
|
337
337
|
*/
|
|
338
338
|
export interface ICopyData extends ISelectionPaperData {
|
|
339
|
+
/** 本次剪切的标识;字段仅允许通过当前会话中尚未使用的剪切数据移动。 */
|
|
340
|
+
cutId?: string;
|
|
339
341
|
/**
|
|
340
342
|
* 电子表单id
|
|
341
343
|
* @author lingxiaoming
|