@gct-paas/excel 0.1.39-beta.1 → 0.1.40-beta.0
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-wXAepA6P.js → BaseComponent-BTolXjlE.js} +4 -3
- package/dist/{VueVideoPlayer-C--qHZWs.js → VueVideoPlayer-Dvf7Ya7H.js} +2 -2
- package/dist/{align-editor-BMFoEgQf.js → align-editor-jp0NsOnT.js} +1 -1
- package/dist/{barcode-design-M3FjUJNm.js → barcode-design-ClfdoOKn.js} +3 -2
- package/dist/base/index.es.js +154 -12
- package/dist/{diagonal-design-C2lATeRX.js → diagonal-design-Br0xpyqC.js} +3 -2
- package/dist/{dynamic-table-action-Cm8HO12b.js → dynamic-table-action-C-HIKtZG.js} +36 -16
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CYRNF_U3.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js} +7 -7
- package/dist/{edit.utils-CXmmCnxE-CaZuzVd6.js → edit.utils-CXmmCnxE-D4-n_eOM.js} +1 -1
- package/dist/excel.css +10 -10
- package/dist/{exceljs.min-CeIQpaOT.js → exceljs.min-BH63KI8s.js} +2 -2
- package/dist/{font-editor-CPn2F_OZ.js → font-editor-QSpu9bjJ.js} +3 -3
- package/dist/{image-design-DWjjBFQa.js → image-design-ySQAmnTF.js} +2 -2
- package/dist/{index-yfTjcRJ8.js → index-2FWN7Q91.js} +3 -2
- package/dist/{index-BcpTVyHa.js → index-4_qe7Eco.js} +3 -2
- package/dist/{index-B72KgWBu.js → index-8yhxxqYM.js} +2 -1
- package/dist/{index-pxBPpLrG.js → index-B3mCVcXB.js} +3 -2
- package/dist/{index-C__Qm3ub.js → index-B6Bs-q34.js} +3 -2
- package/dist/{index-DSSJ8S81.js → index-BHiNdrGr.js} +3 -2
- package/dist/{index-C3GHvYcj.js → index-BJ6ZaX-f.js} +3 -2
- package/dist/{index-DtS3ze0S.js → index-BJQd1G0r.js} +4 -3
- package/dist/{index-BrZiEGAB.js → index-BOaDYNtp.js} +3 -2
- package/dist/{index-ChRhjdl_.js → index-BXXvFDgt.js} +2 -1
- package/dist/{index-BZcapeWR.js → index-BxEjRF0o.js} +3 -2
- package/dist/{index-DqQ2ZxDn.js → index-C2RMbM6E.js} +3 -2
- package/dist/{index-DdVlAV0_.js → index-C7DwXZ-K.js} +2 -1
- package/dist/{index-OIXBBHHu.js → index-CMOvPSr6.js} +3 -2
- package/dist/{index-CNlb3Y3A.js → index-CN-rY-3F.js} +2 -1
- package/dist/{index-CcBF1mOx.js → index-COx1-SPe.js} +3 -2
- package/dist/{index-DHPRpllA.js → index-CTO4kNz9.js} +2 -1
- package/dist/{index-Cg0trWkY.js → index-CUrMIr2v.js} +3 -2
- package/dist/{index-CED1SWU9.js → index-Ca8q7yXC.js} +3 -2
- package/dist/{index-B3oqnny_.js → index-Cb-I6DkL.js} +2 -1
- package/dist/{index-BatfBVeN.js → index-Cf7KwZfa.js} +5 -4
- package/dist/{index-ClVsGQoQ.js → index-CvDQjwre.js} +2 -1
- package/dist/{index-mA7F37nK.js → index-D3IdoYWe.js} +3 -2
- package/dist/{index-gra19syg.js → index-D9zBCWpE.js} +3 -2
- package/dist/{index-CWmsgguT.js → index-DYxskDRv.js} +4 -3
- package/dist/{index-BEQELF4E.js → index-DZGqXE3S.js} +4 -3
- package/dist/{index-DC8dEMj4.js → index-DbPA5PUX.js} +2 -1
- package/dist/{index-CpN3c_Lk.js → index-FSCxAVGq.js} +3 -2
- package/dist/{index-BuNKNsIb.js → index-QTmeSdj9.js} +3 -2
- package/dist/{index-DxCN78vg.js → index-Qf8D5LdT.js} +4 -3
- package/dist/{index-DhkQma-u.js → index-dhaw5vxN.js} +3 -2
- package/dist/{index-CRGOLDI8.js → index-ibQys99q.js} +2 -1
- package/dist/{index-CIiCyyBv.js → index-nBc_3R3r.js} +2 -1
- package/dist/{index-B3S5QpVz.js → index-oOLbaFI8.js} +257 -174
- package/dist/{index-DTSHn9ii.js → index-uVpJOLb3.js} +2 -2
- package/dist/index.es.js +4 -2
- package/dist/{mb-render-BZXw-tG7.js → mb-render-BRejJNP-.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-uXt_kyMo.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QX4lxsni.js} +2 -1
- package/dist/{pagination-design-CCRMgYhc.js → pagination-design-pTh3Fqbz.js} +3 -2
- package/dist/paper-widget-design-CBI-8vTV.js +4 -0
- package/dist/{print-runtime-instance-MA7UVZdA.js → print-runtime-instance-CBUjws4D.js} +1 -1
- package/dist/{print-snapshot-renderer-BavXucNu.js → print-snapshot-renderer-s0IhY_T_.js} +3 -3
- package/dist/{qrcode-design-BC1PBKf_.js → qrcode-design-CnKOb-s9.js} +1 -1
- package/dist/{revo-grid.entry-DjiOpHRm.js → revo-grid.entry-BqbaKcyR.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CDnB9lLs.js → revogr-attribution_7.entry-jmN78nkb.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-C6O9JrN7.js → revogr-clipboard_3.entry-eK74i7_f.js} +2 -2
- package/dist/{revogr-data_4.entry-y1feqF9h.js → revogr-data_4.entry-D2lAUBEM.js} +2 -2
- package/dist/{revogr-filter-panel.entry-By9rD4Y9.js → revogr-filter-panel.entry-C-1WXBDy.js} +1 -1
- package/dist/seal-design-CMJBAfIN.js +4 -0
- package/dist/{serialnumber-design-Bb75HRGq.js → serialnumber-design-DEYD9ku_.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{single-field-drop-BlAQcTBT.js → single-field-drop-Bd3PcWQF.js} +2 -2
- package/dist/{size-editor-BWnv8oH4.js → size-editor-DiZ8E2R6.js} +1 -1
- package/dist/src/index.d.ts +6 -0
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +45 -0
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +3 -0
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +39 -0
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +21 -0
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +5 -2
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -5
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -0
- package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +124 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +62 -0
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +6 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +5 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +1 -0
- package/dist/{sub-table-factory-CGELiUkd.js → sub-table-factory-B6HdlZ7-.js} +2 -2
- package/dist/{text-design-CiWiGhwN.js → text-design-D2IwsbOW.js} +3 -2
- package/dist/{throttle-Cpk1LoGk-B466AVFI.js → throttle-Cpk1LoGk-DRpYOKiV.js} +1 -1
- package/dist/{timediff-design-CnCXGLgF.js → timediff-design-Cq3SADlb.js} +2 -1
- package/dist/{trace-like-wrapper-CPFayyjF.js → trace-like-wrapper-Qmczl-Hz.js} +3 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DyTtWYrg.js → value-editor.vue_vue_type_style_index_0_lang-UXPOa0Wv.js} +3 -2
- package/dist/web-render/index.es.js +4 -3
- package/dist/{widget-barcode-DMt5IwNO.js → widget-barcode-C7wO0SFO.js} +5 -4
- package/dist/{widget-diagonal-D073XXKw.js → widget-diagonal-Cbuv8o5A.js} +4 -3
- package/dist/{widget-image-Bc-6H2uA.js → widget-image-4AeqjwGp.js} +5 -5
- package/dist/{widget-line-BtfMvVGp.js → widget-line--RgXiyvO.js} +3 -2
- package/dist/{widget-pagination-CIlAAI2a.js → widget-pagination-jr6bVWPW.js} +6 -5
- package/dist/{widget-power-Bu16c4bS.js → widget-power-ptilZfAF.js} +4 -3
- package/dist/{widget-qrcode-AfILjhmH.js → widget-qrcode-DH-1741M.js} +4 -3
- package/dist/{widget-rangelimit-B-mhBJN4.js → widget-rangelimit-B4yv3Qw3.js} +3 -3
- package/dist/{widget-serialnumber-DVoe5bqh.js → widget-serialnumber-AZ2IUJTg.js} +1 -1
- package/dist/{widget-text-DWNEbQUk.js → widget-text-CW0A1n16.js} +5 -5
- package/dist/{widget-timediff-B2mjc1qy.js → widget-timediff-C3xTGqfj.js} +3 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-BbQeY4Hv.js +0 -4
- package/dist/seal-design-CN_B6div.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as api, a8 as _export_sfc, cD as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, cb as getParseRuleConfig, bu as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { E as api, a8 as _export_sfc, cD as getAugmentedNamespace, M as commonjsGlobal, N as getDefaultExportFromCjs, cb as getParseRuleConfig, bu as uuid2 } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
|
|
2
2
|
import { message, Modal, Form } from "ant-design-vue";
|
|
3
3
|
import { defineComponent, inject, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref, ref as ref$1, onUnmounted, createVNode, h, mergeProps, reactive, Fragment, renderList, toRaw, toRef, watchEffect } from "vue";
|
|
4
4
|
import { debounce, cloneDeep } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-
|
|
6
|
+
import { u as useFormModel, M as MBRender, a as MCRender } from "./mb-render-BRejJNP-.js";
|
|
7
7
|
import { useFormBaseModal } from "@gct-paas/form-base";
|
|
8
8
|
import { VxeGrid } from "vxe-table";
|
|
9
9
|
const uploadApis = {
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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-oOLbaFI8.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-QX4lxsni.js";
|
|
3
|
+
import { DataSources } from "@gct-paas/form-base";
|
|
3
4
|
export {
|
|
4
5
|
G as AiTmplEditor,
|
|
5
6
|
H as AiTmplModal,
|
|
@@ -15,6 +16,7 @@ export {
|
|
|
15
16
|
X as CellWidgetRenderComp,
|
|
16
17
|
Y as CodeHelper,
|
|
17
18
|
Z as ContextMenu,
|
|
19
|
+
DataSources,
|
|
18
20
|
$ as DesignMode,
|
|
19
21
|
a0 as DomParser,
|
|
20
22
|
a1 as EXCEL_PACKAGE_NAME,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, inject, provide } from "vue";
|
|
2
|
-
import { E as api, F as FIELD_TYPE, H as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { E as api, F as FIELD_TYPE, H as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
|
|
3
3
|
class MCRender {
|
|
4
4
|
/**
|
|
5
5
|
* 提示信息
|
|
@@ -1,8 +1,9 @@
|
|
|
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, E as api, J as useModal, bP as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { Y as FormTypeEnum, a8 as _export_sfc, aA as FormDesignEnum, E as api, J as useModal, bP as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
|
|
4
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
+
import "@gct-paas/form-base";
|
|
6
7
|
import { Form } from "ant-design-vue";
|
|
7
8
|
import { VxeTable, VxeColumn } from "vxe-table";
|
|
8
9
|
var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
|
|
@@ -1,9 +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-BHExrYFJ.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
+
import "@gct-paas/form-base";
|
|
5
6
|
import "ant-design-vue";
|
|
6
|
-
import { j as calcText } from "./index-
|
|
7
|
+
import { j as calcText } from "./index-oOLbaFI8.js";
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
__name: "pagination-design",
|
|
9
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-oOLbaFI8.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, G as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { R as RuntimeFormStateStore, G as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-C-HIKtZG.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-B6HdlZ7-.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-oOLbaFI8.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-oOLbaFI8.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 { dg as registerInstance, dh as createEvent, di as getColumnByProp, dj as timeout, dk as getVisibleSourceItem, dl as getColumns, dm as rowTypes, dn as GroupingRowPlugin, dp as StretchColumn, dq as isStretchPlugin, dr as AutoSizeColumnPlugin, ds as FilterPlugin, dt as ExportFilePlugin, du as SortingPlugin, dv as ColumnMovePlugin, dw as ThemeService, dx as h, dy as Host, dz as getElement, dA as BasePlugin, dB as reduce, dC as columnTypes, dD as debounce, dE as RESIZE_INTERVAL, dF as DimensionStore, dG as gatherTrimmedItems, dH as getColumnSizes, dI as getItemByIndex, dJ as DataStore, dK as getSourceItem, dL as getSourceItemVirtualIndexByProp, dM as getColumnType, dN as setSourceByPhysicalIndex, dO as setSourceByVirtualIndex, dP as SelectionStore, dQ as cropCellToMax, dR as nextCell, dS as isRowType, dT as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { dg as registerInstance, dh as createEvent, di as getColumnByProp, dj as timeout, dk as getVisibleSourceItem, dl as getColumns, dm as rowTypes, dn as GroupingRowPlugin, dp as StretchColumn, dq as isStretchPlugin, dr as AutoSizeColumnPlugin, ds as FilterPlugin, dt as ExportFilePlugin, du as SortingPlugin, dv as ColumnMovePlugin, dw as ThemeService, dx as h, dy as Host, dz as getElement, dA as BasePlugin, dB as reduce, dC as columnTypes, dD as debounce, dE as RESIZE_INTERVAL, dF as DimensionStore, dG as gatherTrimmedItems, dH as getColumnSizes, dI as getItemByIndex, dJ as DataStore, dK as getSourceItem, dL as getSourceItemVirtualIndexByProp, dM as getColumnType, dN as setSourceByPhysicalIndex, dO as setSourceByVirtualIndex, dP as SelectionStore, dQ as cropCellToMax, dR as nextCell, dS as isRowType, dT as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.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-CDnB9lLs.js → revogr-attribution_7.entry-jmN78nkb.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { dg as registerInstance, dx as h, dy as Host, dh as createEvent, dK as getSourceItem, dz as getElement, dY as ColumnService, dZ as MOBILE_CLASS, d_ as SELECTION_BORDER_CLASS, d$ as getCellData, e0 as getCellEditor, e1 as getRange, e2 as isRangeSingleCell, e3 as codesLetter, dT as ViewportStore, dJ as DataStore, e4 as calculateRowHeaderSize, e5 as ROW_HEADER_TYPE, e6 as getScrollbarSize, e7 as FOCUS_CLASS, dI as getItemByIndex, dj as timeout, e8 as CELL_HANDLER_CLASS, dD as debounce, e9 as TMP_SELECTION_BG_CLASS, dE as RESIZE_INTERVAL, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { dg as registerInstance, dx as h, dy as Host, dh as createEvent, dK as getSourceItem, dz as getElement, dY as ColumnService, dZ as MOBILE_CLASS, d_ as SELECTION_BORDER_CLASS, d$ as getCellData, e0 as getCellEditor, e1 as getRange, e2 as isRangeSingleCell, e3 as codesLetter, dT as ViewportStore, dJ as DataStore, e4 as calculateRowHeaderSize, e5 as ROW_HEADER_TYPE, e6 as getScrollbarSize, e7 as FOCUS_CLASS, dI as getItemByIndex, dj as timeout, e8 as CELL_HANDLER_CLASS, dD as debounce, e9 as TMP_SELECTION_BG_CLASS, dE as RESIZE_INTERVAL, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.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-D4-n_eOM.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-DRpYOKiV.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dj as timeout, dg as registerInstance, dh as createEvent, dx as h, eb as EDIT_INPUT_WR, dy as Host, dz as getElement, dD as debounce, ee as DRAGG_TEXT, dK as getSourceItem, ea 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 { dj as timeout, dg as registerInstance, dh as createEvent, dx as h, eb as EDIT_INPUT_WR, dy as Host, dz as getElement, dD as debounce, ee as DRAGG_TEXT, dK as getSourceItem, ea as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-D4-n_eOM.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ef as PSEUDO_GROUP_ITEM, eg as GROUP_EXPANDED, eh as GROUP_DEPTH, dx as h, ei as GROUP_EXPAND_BTN, ej as DATA_ROW, dK as getSourceItem, ek as isGroupingColumn, el as GROUP_COLUMN_PROP, em as getCellRaw, en as DATA_COL, eo as CELL_CLASS, ep as Build, eq as isRowDragService, er as DRAG_ICON_CLASS, es as DRAGGABLE_CLASS, et as getCellDataParsed, eu as GROUP_EXPAND_EVENT, dg as registerInstance, dh as createEvent, dY as ColumnService, ev as isGrouping, dy as Host, dz as getElement, dI as getItemByIndex, ew as HEADER_ROW_CLASS, ex as HEADER_ACTUAL_ROW_CLASS, ey as ROW_FOCUSED_CLASS, ez as HEADER_SORTABLE_CLASS, eA as MIN_COL_SIZE, e7 as FOCUS_CLASS, eB as FilterButton, eC as HeaderCellRenderer, eD 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 { ef as PSEUDO_GROUP_ITEM, eg as GROUP_EXPANDED, eh as GROUP_DEPTH, dx as h, ei as GROUP_EXPAND_BTN, ej as DATA_ROW, dK as getSourceItem, ek as isGroupingColumn, el as GROUP_COLUMN_PROP, em as getCellRaw, en as DATA_COL, eo as CELL_CLASS, ep as Build, eq as isRowDragService, er as DRAG_ICON_CLASS, es as DRAGGABLE_CLASS, et as getCellDataParsed, eu as GROUP_EXPAND_EVENT, dg as registerInstance, dh as createEvent, dY as ColumnService, ev as isGrouping, dy as Host, dz as getElement, dI as getItemByIndex, ew as HEADER_ROW_CLASS, ex as HEADER_ACTUAL_ROW_CLASS, ey as ROW_FOCUSED_CLASS, ez as HEADER_SORTABLE_CLASS, eA as MIN_COL_SIZE, e7 as FOCUS_CLASS, eB as FilterButton, eC as HeaderCellRenderer, eD as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DRpYOKiV.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-By9rD4Y9.js → revogr-filter-panel.entry-C-1WXBDy.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dg as registerInstance, dh as createEvent, dD as debounce, dx as h, dU as AndOrButton, dV as ReorderButton, dW as TrashButton, dX as isFilterBtn, dy as Host, dz as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { dg as registerInstance, dh as createEvent, dD as debounce, dx as h, dU as AndOrButton, dV as ReorderButton, dW as TrashButton, dX as isFilterBtn, dy as Host, dz as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.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-BHExrYFJ.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, q, cE, H, aI, aJ, cF, at, av, F, X, af, G, aA, bn, cG, au, T, cH, V, W, bo, a9, U } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
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, q, cE, H, aI, aJ, cF, at, av, F, X, af, G, aA, bn, cG, au, T, cH, V, W, bo, a9, U } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.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-QX4lxsni.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -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-oOLbaFI8.js";
|
|
4
|
+
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BHExrYFJ.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-BHExrYFJ.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/src/index.d.ts
CHANGED
|
@@ -30,3 +30,9 @@ export { default as AiTmplEditor } from './online-form/src/views/designer/module
|
|
|
30
30
|
export { default as AiTmplModal } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/ai-tmpl-editor-modal.vue';
|
|
31
31
|
export type { AiTmplEditorExpose, AiTmplEditorProps, FieldOption, PrecisionOption, } from './online-form/src/views/designer/modules/panel/panel-tmpl-config/ai-tmpl/types';
|
|
32
32
|
export { ApaasCollect, ApaasCollectSheetView, ApaasDpPrint, ApaasDpPrintSheetView, BomEditorModal, SelectCheckDsModal, OutParamModal, InputParamModal, SignatureConfigModal, RenderFieldWrapper, };
|
|
33
|
+
/**
|
|
34
|
+
* 共用数据获取列表:设计配置与运行时查看、手动加载
|
|
35
|
+
* word, excel 都暴露出去了,gct-dhr-kit 可从中任用一个
|
|
36
|
+
*/
|
|
37
|
+
export { DataSources } from '@gct-paas/form-base';
|
|
38
|
+
export type { DataSourceManager } from '@gct-paas/form-base';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { IBasicInfoItem } from '../../types';
|
|
2
|
+
import { RuntimeInstanceRecord, RuntimeInstanceRegistry } from '../../runtime';
|
|
3
|
+
import { IPayload, RuntimeSelfInfo } from './types';
|
|
4
|
+
export declare function createRuntimeDataSourceBinding(registry: RuntimeInstanceRegistry, payload: IPayload): {
|
|
5
|
+
dataSourceManagerMap: import('vue').ShallowRef<Record<string, {
|
|
6
|
+
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
7
|
+
getContext: () => Record<string, unknown>;
|
|
8
|
+
canExecute: () => boolean;
|
|
9
|
+
reload: (key: string) => Promise<unknown>;
|
|
10
|
+
reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
11
|
+
states: {
|
|
12
|
+
readonly [x: string]: {
|
|
13
|
+
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
14
|
+
readonly data?: Readonly<unknown> | undefined;
|
|
15
|
+
readonly error?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
19
|
+
cancel: (key: string) => boolean;
|
|
20
|
+
getResult(key: string): unknown;
|
|
21
|
+
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
22
|
+
queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
|
|
23
|
+
dispose(): void;
|
|
24
|
+
}>, Record<string, {
|
|
25
|
+
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
26
|
+
getContext: () => Record<string, unknown>;
|
|
27
|
+
canExecute: () => boolean;
|
|
28
|
+
reload: (key: string) => Promise<unknown>;
|
|
29
|
+
reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
30
|
+
states: {
|
|
31
|
+
readonly [x: string]: {
|
|
32
|
+
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
33
|
+
readonly data?: Readonly<unknown> | undefined;
|
|
34
|
+
readonly error?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
38
|
+
cancel: (key: string) => boolean;
|
|
39
|
+
getResult(key: string): unknown;
|
|
40
|
+
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
41
|
+
queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
|
|
42
|
+
dispose(): void;
|
|
43
|
+
}>>;
|
|
44
|
+
bindDataSources: (record: RuntimeInstanceRecord, info: IBasicInfoItem, selfInfo: RuntimeSelfInfo) => Promise<void>;
|
|
45
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RenderModeEnum, PlatformEnum, BpmnNodeTypeEnum } from '../../constant';
|
|
2
2
|
import { baseDataUtils } from '../../interface';
|
|
3
3
|
import { RuntimeFormStateStore } from '../../runtime';
|
|
4
|
+
import { DataSourceManagerOptions } from '@gct-paas/form-base';
|
|
4
5
|
export interface IProps {
|
|
5
6
|
/** 模板实例id或者模板id */
|
|
6
7
|
selfId: string | string[] | undefined;
|
|
@@ -32,6 +33,8 @@ interface IDeviceConfig {
|
|
|
32
33
|
export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
33
34
|
/** 工厂类型 */
|
|
34
35
|
factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
|
|
36
|
+
/** 表单、实体和业务数源的宿主查询适配器。 */
|
|
37
|
+
dataSourceAdapters?: DataSourceManagerOptions['adapters'];
|
|
35
38
|
/** 请求接口函数 */
|
|
36
39
|
requestCallback: (...args: any[]) => any;
|
|
37
40
|
/** 平台参数类型 */
|
|
@@ -3,6 +3,45 @@ import { RuntimeInstanceRegistry } from '../runtime';
|
|
|
3
3
|
import { IProps, IPayload } from './render-page/types';
|
|
4
4
|
export type { IProps, IPayload } from './render-page/types';
|
|
5
5
|
export declare function useRenderPageFactory(props: IProps, payload: IPayload): {
|
|
6
|
+
dataSourceManagerMap: import('vue').ShallowRef<Record<string, {
|
|
7
|
+
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
8
|
+
getContext: () => Record<string, unknown>;
|
|
9
|
+
canExecute: () => boolean;
|
|
10
|
+
reload: (key: string) => Promise<unknown>;
|
|
11
|
+
reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
12
|
+
states: {
|
|
13
|
+
readonly [x: string]: {
|
|
14
|
+
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
15
|
+
readonly data?: Readonly<unknown> | undefined;
|
|
16
|
+
readonly error?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
20
|
+
cancel: (key: string) => boolean;
|
|
21
|
+
getResult(key: string): unknown;
|
|
22
|
+
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
23
|
+
queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
|
|
24
|
+
dispose(): void;
|
|
25
|
+
}>, Record<string, {
|
|
26
|
+
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
27
|
+
getContext: () => Record<string, unknown>;
|
|
28
|
+
canExecute: () => boolean;
|
|
29
|
+
reload: (key: string) => Promise<unknown>;
|
|
30
|
+
reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
31
|
+
states: {
|
|
32
|
+
readonly [x: string]: {
|
|
33
|
+
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
34
|
+
readonly data?: Readonly<unknown> | undefined;
|
|
35
|
+
readonly error?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
39
|
+
cancel: (key: string) => boolean;
|
|
40
|
+
getResult(key: string): unknown;
|
|
41
|
+
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
42
|
+
queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
|
|
43
|
+
dispose(): void;
|
|
44
|
+
}>>;
|
|
6
45
|
counter: import('vue').Ref<number, number>;
|
|
7
46
|
finisher: import('vue').Ref<number, number>;
|
|
8
47
|
loading: import('vue').ComputedRef<boolean>;
|
|
@@ -9,6 +9,27 @@ export declare function useRuntimeInstanceServices(uniqueIdSource?: RuntimeInsta
|
|
|
9
9
|
instance: import('vue').ComputedRef<import('..').RuntimeInstanceRecord | undefined>;
|
|
10
10
|
/** 控制器负责 Sheet 切换、编辑器收口和提交;尚未挂载时为空。 */
|
|
11
11
|
controller: import('vue').ComputedRef<import('..').RuntimeInstanceController | undefined>;
|
|
12
|
+
/** 全部 Sheet 共享的数源管理器,随实例注册与销毁。 */
|
|
13
|
+
dataSourceManager: import('vue').ComputedRef<{
|
|
14
|
+
getSources: () => import('@gct-paas/form-base').DataSourceConfig[];
|
|
15
|
+
getContext: () => Record<string, unknown>;
|
|
16
|
+
canExecute: () => boolean;
|
|
17
|
+
reload: (key: string) => Promise<unknown>;
|
|
18
|
+
reloadAll: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
19
|
+
states: {
|
|
20
|
+
readonly [x: string]: {
|
|
21
|
+
readonly status: import('@gct-paas/form-base').DataSourceQueryStatus;
|
|
22
|
+
readonly data?: Readonly<unknown> | undefined;
|
|
23
|
+
readonly error?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
query: (key: string, parameters?: import('@gct-paas/form-base').DataSourceParameters) => Promise<unknown>;
|
|
27
|
+
cancel: (key: string) => boolean;
|
|
28
|
+
getResult(key: string): unknown;
|
|
29
|
+
initialize: () => Promise<PromiseSettledResult<unknown>[]>;
|
|
30
|
+
queryOnValueChange(keys: readonly string[]): Promise<PromiseSettledResult<unknown>[]>;
|
|
31
|
+
dispose(): void;
|
|
32
|
+
} | undefined>;
|
|
12
33
|
/** 表单级配置独立于 Sheet 的 paper;实例未注册时提供空配置。 */
|
|
13
34
|
formConfig: import('vue').ComputedRef<Record<string, any>>;
|
|
14
35
|
/** 实例切换时重新取对应 Store;读取数据使用 .value.state,写入使用 Store 方法。 */
|
|
@@ -3,7 +3,7 @@ import { NormalizedRuntimeDocument, RuntimeNodeMap } from '../multi-sheet-runtim
|
|
|
3
3
|
export declare const LEGACY_RUNTIME_SHEET_ID = "__legacy_sheet__";
|
|
4
4
|
export declare const LEGACY_RUNTIME_SHEET_TITLE = "\u5DE5\u4F5C\u8868 1";
|
|
5
5
|
/** 历史 runtimeJson 中存放在 paper.props、实际属于整份实例的配置。 */
|
|
6
|
-
export declare const LEGACY_RUNTIME_FORM_CONFIG_KEYS: readonly ["globalParams", "paramsMapList", "unitConversionRules", "inspectionDecisionRule", "customDataSource", "objectInitialValues", "javascript", "checkSignatureConfig", "keepExceptionHighlight", "objectFieldList", "dateObjects"];
|
|
6
|
+
export declare const LEGACY_RUNTIME_FORM_CONFIG_KEYS: readonly ["globalParams", "paramsMapList", "unitConversionRules", "inspectionDecisionRule", "customDataSource", "dataSources", "fieldFills", "objectInitialValues", "javascript", "checkSignatureConfig", "keepExceptionHighlight", "objectFieldList", "dateObjects"];
|
|
7
7
|
/** 历史运行时:paper 和所有节点都直接放在文档顶层。 */
|
|
8
8
|
export interface RuntimeDocumentV1 extends RuntimeNodeMap {
|
|
9
9
|
schemaVersion?: 1;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { IBasicInfoItem } from '../types';
|
|
2
2
|
import { RuntimeInstanceRecord } from './runtime-instance-registry';
|
|
3
3
|
export type RuntimeFieldStateInfo = Pick<IBasicInfoItem, 'renderModeType' | 'modelKey' | 'formType' | 'bpmnType' | 'bpmnFieldAuthMap'> & Partial<Pick<IBasicInfoItem, 'annSwitchStatus' | 'renderPurpose'>>;
|
|
4
|
-
/**
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Core 提供业务规则,这里统一合并到静态配置;二维交叉字段使用所属父行的业务状态。
|
|
6
|
+
* 表单变更跳过签名锁定,保留字段本身、业务 Profile 和组件依赖施加的限制。
|
|
7
|
+
*/
|
|
8
|
+
export declare function resolveRuntimeFieldProps(record: RuntimeInstanceRecord, props: Record<string, any>, widgetId: string, row?: Record<string, any>, parentRow?: Record<string, any>, formChangeStatus?: boolean): {
|
|
6
9
|
[x: string]: any;
|
|
7
10
|
};
|
|
8
11
|
/** 只读展示方式、禁用和校验 blocked 由同一结果派生,UI 与未挂载字段使用相同权限语义。 */
|
|
@@ -11,6 +11,7 @@ import { RuntimeFieldRegistry, RuntimeFieldMetadata } from './runtime-field-regi
|
|
|
11
11
|
import { RuntimeSheetService } from './runtime-sheet-service';
|
|
12
12
|
import { RuntimePersistenceCoordinator } from './runtime-persistence-coordinator';
|
|
13
13
|
import { RuntimeInstanceEventBus } from './runtime-instance-event-bus';
|
|
14
|
+
import { DataSourceManager } from '@gct-paas/form-base';
|
|
14
15
|
export interface RuntimeInstanceRecord {
|
|
15
16
|
/** 实例配置、业务索引和各 Sheet 的响应式状态;数据只由下方 Store 持有 */
|
|
16
17
|
context: RuntimeInstanceContext;
|
|
@@ -23,6 +24,8 @@ export interface RuntimeInstanceRecord {
|
|
|
23
24
|
ruleCompiler?: RuntimeRuleCompiler;
|
|
24
25
|
/** 业务默认值随实例及动态行初始化,不依赖控件挂载。 */
|
|
25
26
|
fieldInitializer?: RuntimeFieldInitializer;
|
|
27
|
+
/** 整份表单共享的数源管理器;字段事件通过当前实例取用。 */
|
|
28
|
+
dataSourceManager?: DataSourceManager;
|
|
26
29
|
/** 实例唯一的数据写入口,生成 revision、dirty 和字段变更路径 */
|
|
27
30
|
formState: RuntimeFormStateStore;
|
|
28
31
|
/** 整份表单共享的脚本执行器,字段通过运行时记录调用,销毁由注册表负责。 */
|
|
@@ -71,10 +74,7 @@ export declare class RuntimeInstanceRegistry {
|
|
|
71
74
|
loading: boolean;
|
|
72
75
|
error: Error | undefined;
|
|
73
76
|
}>;
|
|
74
|
-
/**
|
|
75
|
-
* 顶层对象使用浅响应式:实例新增、删除需要驱动 Vue 更新;record 内的服务类
|
|
76
|
-
* 不需要被 Vue 深度代理,各自内部负责自己的响应式状态和生命周期
|
|
77
|
-
*/
|
|
77
|
+
/** 顶层容器和记录都只做浅响应式;服务类仍保持原始引用。 */
|
|
78
78
|
private readonly records;
|
|
79
79
|
/**
|
|
80
80
|
* 统一托管订阅、watch 和编译结果的取消函数
|
|
@@ -87,7 +87,7 @@ export declare class RuntimeInstanceRegistry {
|
|
|
87
87
|
* 此方法只创建实例级基础设施,不负责请求模板和业务数据。相同 uniqueId
|
|
88
88
|
* 再次注册时会先完整销毁旧记录,确保不会残留订阅或异步任务
|
|
89
89
|
*/
|
|
90
|
-
register(context: RuntimeInstanceContext, options: RegisterRuntimeInstanceOptions): RuntimeInstanceRecord
|
|
90
|
+
register(context: RuntimeInstanceContext, options: RegisterRuntimeInstanceOptions): import('vue').ShallowReactive<RuntimeInstanceRecord>;
|
|
91
91
|
/**
|
|
92
92
|
* 在页面回调准备完成后挂载实例控制器
|
|
93
93
|
* Sheet 服务的导航入口依赖控制器切换 Sheet,所以两者必须在这里建立连接
|
|
@@ -106,6 +106,8 @@ export declare namespace BaseCoreComponent {
|
|
|
106
106
|
* 组件依赖
|
|
107
107
|
*/
|
|
108
108
|
componentDependency?: DisplayProps;
|
|
109
|
+
/** 字段值变化时查询的数源 KEY。 */
|
|
110
|
+
valueChangeDataSourceKeys?: string[];
|
|
109
111
|
/** 是否是物料消耗表的字段 */
|
|
110
112
|
isMaterialConsumeField?: boolean;
|
|
111
113
|
/** 自定义组件的绘制标记 */
|
|
@@ -13,8 +13,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
"onSelected-change"?: ((value: DeviceInterconnectionResponse) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
modelValue: string;
|
|
17
16
|
trigger: Array<"click" | "hover" | "contextmenu">;
|
|
17
|
+
modelValue: string;
|
|
18
18
|
showColumns: Array<keyof DeviceLink.IDeviceLinkParams>;
|
|
19
19
|
styleMode: "button" | "link";
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|