@gct-paas/excel 0.1.37-beta.2 → 0.1.39-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-DN5v-Q_h.js → BaseComponent-BO75HbkD.js} +2 -3
- package/dist/{barcode-design-B7AoHzux.js → barcode-design-CKbMreUi.js} +1 -2
- package/dist/base/index.es.js +7 -147
- package/dist/{diagonal-design-CeYHDi2e.js → diagonal-design-DEz3_fE8.js} +1 -2
- package/dist/{dynamic-table-action-zR6VwiFi.js → dynamic-table-action-DFnvJWw-.js} +6 -13
- package/dist/excel.css +142 -127
- package/dist/{exceljs.min-DYYU4xe-.js → exceljs.min-CXjktZ33.js} +1 -1
- package/dist/{font-editor-hpUeXFv_.js → font-editor-DAcmrW2A.js} +1 -1
- package/dist/{index-DKAk8Fzf.js → index-4-w7U148.js} +1 -2
- package/dist/{index-BWvyGnI_.js → index-B0o6GTve.js} +1 -2
- package/dist/{index-DP1WApp-.js → index-BA3994iB.js} +0 -1
- package/dist/{index-Crs2UUiJ.js → index-BH4YqNzS.js} +1 -2
- package/dist/{index-557u9lSs.js → index-BJj0R1JE.js} +0 -1
- package/dist/{index-DULgJ5M_.js → index-BNjowwSy.js} +0 -1
- package/dist/{index-tRVTXeIS.js → index-BRKs8S7h.js} +1 -2
- package/dist/{index-BEyidTCC.js → index-BRV9V8ld.js} +0 -1
- package/dist/{index-HNE-yLqK.js → index-BVCrUywZ.js} +1 -2
- package/dist/{index-B8tTsX2y.js → index-BlFNgjr-.js} +1 -2
- package/dist/{index-CLyowrpG.js → index-BlZQjpdp.js} +1 -2
- package/dist/{index-BboAW45l.js → index-BvYfYS4D.js} +2 -3
- package/dist/{index-CA25B2UR.js → index-C8AH07MC.js} +1 -2
- package/dist/{index-BaC0Py3z.js → index-CCNBotX0.js} +257 -230
- package/dist/{index-D3t6B-9k.js → index-CNBwsBrN.js} +0 -1
- package/dist/{index-D9pfqRAP.js → index-CQ9v7Q0g.js} +3 -4
- package/dist/{index-BezxcVwZ.js → index-CeoXayAy.js} +1 -2
- package/dist/{index-CUhR3L97.js → index-D06X_Sz7.js} +2 -3
- package/dist/{index-3n5gOxbD.js → index-D1m06PsY.js} +1 -2
- package/dist/{index-B9q2iVJw.js → index-D72ZxU1B.js} +2 -3
- package/dist/{index-D1C_tY7a.js → index-D9SThznm.js} +0 -1
- package/dist/{index-BY7_uLSS.js → index-DALo6h-z.js} +0 -1
- package/dist/{index-Bfrtgjub.js → index-DRF0yT-Y.js} +1 -2
- package/dist/{index-CUhlQ0aK.js → index-DScv6Lhe.js} +2 -3
- package/dist/{index-CRj08TWu.js → index-DUgFd0ON.js} +1 -2
- package/dist/{index-YuHHwSzv.js → index-DWPgvBzt.js} +0 -1
- package/dist/{index-Dfs0gE3N.js → index-Dn7Za3rP.js} +1 -2
- package/dist/{index-DX1Nqubf.js → index-H2lP-HBC.js} +1 -2
- package/dist/{index-Bxgg0txy.js → index-IAfu2tPO.js} +0 -1
- package/dist/{index-BcfmxYW-.js → index-KnPqm-JT.js} +1 -2
- package/dist/{index-CZv8lo_f.js → index-kQi_q492.js} +1 -2
- package/dist/{index-D6T0GkNc.js → index-qKN7-uGo.js} +1 -2
- package/dist/{index-sQI9wXhV.js → index-vOd76hbp.js} +0 -1
- package/dist/{index-DPiPri6e.js → index-ywxJkkJ_.js} +1 -2
- package/dist/index.es.js +2 -4
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-Cxs9ZecX.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js} +0 -1
- package/dist/{pagination-design-lgUGQHWo.js → pagination-design-6xxPBIk-.js} +1 -2
- package/dist/paper-widget-design-CUk1634i.js +4 -0
- package/dist/{print-runtime-instance-MxA8-bHV.js → print-runtime-instance-D8QAHAsd.js} +1 -1
- package/dist/{print-snapshot-renderer-D6sRzdVe.js → print-snapshot-renderer-BDrHYena.js} +3 -3
- package/dist/{qrcode-design-DCgtf75a.js → qrcode-design-CBDd-S2d.js} +1 -1
- package/dist/seal-design-DNrW57Za.js +4 -0
- package/dist/shared/index.es.js +1 -1
- package/dist/{single-field-drop-rKr_LXW8.js → single-field-drop-1eS6_6ko.js} +1 -1
- package/dist/src/index.d.ts +0 -6
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +0 -3
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +0 -39
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -21
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
- 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 +0 -2
- 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 +0 -124
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +0 -62
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +0 -6
- package/dist/src/online-form/src/views/designer/types/index.d.ts +0 -5
- 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 +0 -1
- package/dist/{sub-table-factory-DLXJkTHY.js → sub-table-factory-D8KUikPE.js} +1 -1
- package/dist/{text-design-Dd5uT-hc.js → text-design-BkvEuU7u.js} +1 -2
- package/dist/{timediff-design-DhxYymPd.js → timediff-design-BFf9WtJn.js} +0 -1
- package/dist/{trace-like-wrapper-CczUTJwp.js → trace-like-wrapper-SPo5HVCt.js} +1 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BzAhq5rc.js → value-editor.vue_vue_type_style_index_0_lang-BzVvcoTa.js} +1 -2
- package/dist/web-render/index.es.js +0 -1
- package/dist/{widget-barcode-BrLmLnCd.js → widget-barcode-B_aUPEfd.js} +2 -3
- package/dist/{widget-diagonal-CIg1Yn3D.js → widget-diagonal-D32J64HV.js} +2 -3
- package/dist/{widget-image-bPGudw8R.js → widget-image-BOOWwiSe.js} +3 -3
- package/dist/{widget-line-Dw1mkN0H.js → widget-line-xVHcCE1_.js} +1 -2
- package/dist/{widget-pagination-C2ylpEkR.js → widget-pagination-B0Bq_gL5.js} +2 -3
- package/dist/{widget-power-Ceni1m5s.js → widget-power-TNCB2u1G.js} +2 -3
- package/dist/{widget-qrcode-dHuN8ZTP.js → widget-qrcode-gVSwYuKp.js} +2 -3
- package/dist/{widget-rangelimit-DkZwe6ix.js → widget-rangelimit-BO7Z_5N9.js} +2 -2
- package/dist/{widget-serialnumber-Dz2_gK_C.js → widget-serialnumber-BX83djNf.js} +1 -1
- package/dist/{widget-text-BIMT_dmX.js → widget-text-CIqov_wj.js} +3 -3
- package/dist/{widget-timediff-LoUQBpX7.js → widget-timediff-kFxxm2hM.js} +1 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-B6GKQFw2.js +0 -4
- package/dist/seal-design-CJO9Kmm0.js +0 -4
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -45
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-
|
|
2
|
+
import { n as normalizeFieldWidth, D as DEFAULT_BOOLEAN_FIELD_WIDTH } from "./dynamic-table-action-DFnvJWw-.js";
|
|
3
3
|
import { C as ComponentTypeEnum, O as Orientation, a1 as BooleanShowMode, a0 as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import "ant-design-vue";
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
9
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { g as getFieldWidget } from "./index-CCNBotX0.js";
|
|
8
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
10
9
|
class Switch extends BaseComponent {
|
|
11
10
|
component = ComponentTypeEnum.Switch;
|
|
12
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,8 @@ import { get, pick } from "lodash-es";
|
|
|
2
2
|
import { C as ComponentTypeEnum, ax as RangeCompareOp, aw as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
8
7
|
class Datepicker extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Datepicker;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,10 +2,9 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-SPo5HVCt.js";
|
|
9
8
|
class RdoSelect extends BaseComponent {
|
|
10
9
|
component = ComponentTypeEnum.RdoSelect;
|
|
11
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,8 @@ import { get, pick } from "lodash-es";
|
|
|
2
2
|
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
8
7
|
class Userpicker extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Userpicker;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,10 +2,9 @@ import { get, pick, omit, merge } from "lodash-es";
|
|
|
2
2
|
import { C as ComponentTypeEnum, O as Orientation, a0 as LabelPosition, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getFieldWidget } from "./index-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
7
|
+
import { g as getFieldWidget } from "./index-CCNBotX0.js";
|
|
9
8
|
class EnumSelect extends BaseComponent {
|
|
10
9
|
component = ComponentTypeEnum.EnumSelect;
|
|
11
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,8 @@ import { C as ComponentTypeEnum, ac as normalizeSealDiameter } from "./dynamic-t
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
8
7
|
class Seal extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Seal;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,10 +2,9 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
7
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-SPo5HVCt.js";
|
|
9
8
|
class AutoComplete extends BaseComponent {
|
|
10
9
|
component = ComponentTypeEnum.AutoComplete;
|
|
11
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,8 @@ import { get, pick } from "lodash-es";
|
|
|
2
2
|
import { C as ComponentTypeEnum, az as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
8
7
|
class UploadImage extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.UploadImage;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -3,7 +3,6 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import "ant-design-vue";
|
|
8
7
|
class Serialnumber {
|
|
9
8
|
component = ComponentTypeEnum.Serialnumber;
|
|
@@ -2,9 +2,8 @@ import { has, get, pick } from "lodash-es";
|
|
|
2
2
|
import { C as ComponentTypeEnum, ay as DecimalDisplayMode, ax as RangeCompareOp, aw as RangeValidateMode, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
8
7
|
class InputNumber extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Inputnumber;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { pick, isEmpty, has, cloneDeep, get } from "lodash-es";
|
|
2
|
-
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-
|
|
2
|
+
import { A as AsyncGctOnlineComponents, g as getFieldWidget } from "./index-CCNBotX0.js";
|
|
3
3
|
import { C as ComponentTypeEnum, y as CellType, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
4
4
|
import "vue";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import "ant-design-vue";
|
|
8
7
|
class Td {
|
|
9
8
|
component = "td";
|
|
@@ -3,7 +3,6 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick, get } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import "ant-design-vue";
|
|
8
7
|
class Timediff {
|
|
9
8
|
component = ComponentTypeEnum.Timediff;
|
|
@@ -2,9 +2,8 @@ import { get, pick } from "lodash-es";
|
|
|
2
2
|
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
8
7
|
class UploadFile extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.UploadFile;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,8 @@ import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_styl
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
6
|
+
import { A as AsyncGctOnlineComponents } from "./index-CCNBotX0.js";
|
|
8
7
|
class Tr {
|
|
9
8
|
component = "tr";
|
|
10
9
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -2,9 +2,8 @@ import { get } from "lodash-es";
|
|
|
2
2
|
import { C as ComponentTypeEnum, a2 as SignatureImageDirectionEnum, a3 as FallbackSignTypeEnum, az as ImageDisplayModeEnum, a4 as SignatureNumberTypeEnum, a5 as SignatureTimeTypeEnum, a6 as SignShowTypeEnum, a7 as SignatureTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
8
7
|
class Sign extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Sign;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -2,9 +2,8 @@ import { get, pick } from "lodash-es";
|
|
|
2
2
|
import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BO75HbkD.js";
|
|
8
7
|
class Input extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Input;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,6 +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-
|
|
3
|
-
import { DataSources } from "@gct-paas/form-base";
|
|
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-CCNBotX0.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js";
|
|
4
3
|
export {
|
|
5
4
|
G as AiTmplEditor,
|
|
6
5
|
H as AiTmplModal,
|
|
@@ -16,7 +15,6 @@ export {
|
|
|
16
15
|
X as CellWidgetRenderComp,
|
|
17
16
|
Y as CodeHelper,
|
|
18
17
|
Z as ContextMenu,
|
|
19
|
-
DataSources,
|
|
20
18
|
$ as DesignMode,
|
|
21
19
|
a0 as DomParser,
|
|
22
20
|
a1 as EXCEL_PACKAGE_NAME,
|
|
@@ -3,7 +3,6 @@ import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
|
3
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-BDkKB_4N.js";
|
|
4
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import { Form } from "ant-design-vue";
|
|
8
7
|
import { VxeTable, VxeColumn } from "vxe-table";
|
|
9
8
|
var SEARCH_SEVICE = /* @__PURE__ */ ((SEARCH_SEVICE2) => {
|
|
@@ -2,9 +2,8 @@ import { defineComponent, computed, openBlock, createElementBlock, normalizeStyl
|
|
|
2
2
|
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { j as calcText } from "./index-
|
|
6
|
+
import { j as calcText } from "./index-CCNBotX0.js";
|
|
8
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
8
|
__name: "pagination-design",
|
|
10
9
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-
|
|
1
|
+
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-CCNBotX0.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-DFnvJWw-.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-D8KUikPE.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-CCNBotX0.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-CCNBotX0.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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-BDkKB_4N.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-
|
|
2
|
+
import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CqKkoSRa.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-CCNBotX0.js";
|
|
4
4
|
import { a8 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BDkKB_4N.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
package/dist/src/index.d.ts
CHANGED
|
@@ -30,9 +30,3 @@ 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';
|
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
export interface IProps {
|
|
6
5
|
/** 模板实例id或者模板id */
|
|
7
6
|
selfId: string | string[] | undefined;
|
|
@@ -33,8 +32,6 @@ interface IDeviceConfig {
|
|
|
33
32
|
export interface IPayload extends ITemplatePayload, IInstancePayload {
|
|
34
33
|
/** 工厂类型 */
|
|
35
34
|
factoryType: 'template' | 'instance' | 'batchInstance' | 'batchTemplate';
|
|
36
|
-
/** 表单、实体和业务数源的宿主查询适配器。 */
|
|
37
|
-
dataSourceAdapters?: DataSourceManagerOptions['adapters'];
|
|
38
35
|
/** 请求接口函数 */
|
|
39
36
|
requestCallback: (...args: any[]) => any;
|
|
40
37
|
/** 平台参数类型 */
|
|
@@ -3,45 +3,6 @@ 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
|
-
}>>;
|
|
45
6
|
counter: import('vue').Ref<number, number>;
|
|
46
7
|
finisher: import('vue').Ref<number, number>;
|
|
47
8
|
loading: import('vue').ComputedRef<boolean>;
|
|
@@ -9,27 +9,6 @@ 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>;
|
|
33
12
|
/** 表单级配置独立于 Sheet 的 paper;实例未注册时提供空配置。 */
|
|
34
13
|
formConfig: import('vue').ComputedRef<Record<string, any>>;
|
|
35
14
|
/** 实例切换时重新取对应 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", "
|
|
6
|
+
export declare const LEGACY_RUNTIME_FORM_CONFIG_KEYS: readonly ["globalParams", "paramsMapList", "unitConversionRules", "inspectionDecisionRule", "customDataSource", "objectInitialValues", "javascript", "checkSignatureConfig", "keepExceptionHighlight", "objectFieldList", "dateObjects"];
|
|
7
7
|
/** 历史运行时:paper 和所有节点都直接放在文档顶层。 */
|
|
8
8
|
export interface RuntimeDocumentV1 extends RuntimeNodeMap {
|
|
9
9
|
schemaVersion?: 1;
|
|
@@ -11,7 +11,6 @@ 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';
|
|
15
14
|
export interface RuntimeInstanceRecord {
|
|
16
15
|
/** 实例配置、业务索引和各 Sheet 的响应式状态;数据只由下方 Store 持有 */
|
|
17
16
|
context: RuntimeInstanceContext;
|
|
@@ -24,8 +23,6 @@ export interface RuntimeInstanceRecord {
|
|
|
24
23
|
ruleCompiler?: RuntimeRuleCompiler;
|
|
25
24
|
/** 业务默认值随实例及动态行初始化,不依赖控件挂载。 */
|
|
26
25
|
fieldInitializer?: RuntimeFieldInitializer;
|
|
27
|
-
/** 整份表单共享的数源管理器;字段事件通过当前实例取用。 */
|
|
28
|
-
dataSourceManager?: DataSourceManager;
|
|
29
26
|
/** 实例唯一的数据写入口,生成 revision、dirty 和字段变更路径 */
|
|
30
27
|
formState: RuntimeFormStateStore;
|
|
31
28
|
/** 整份表单共享的脚本执行器,字段通过运行时记录调用,销毁由注册表负责。 */
|
|
@@ -74,7 +71,10 @@ export declare class RuntimeInstanceRegistry {
|
|
|
74
71
|
loading: boolean;
|
|
75
72
|
error: Error | undefined;
|
|
76
73
|
}>;
|
|
77
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* 顶层对象使用浅响应式:实例新增、删除需要驱动 Vue 更新;record 内的服务类
|
|
76
|
+
* 不需要被 Vue 深度代理,各自内部负责自己的响应式状态和生命周期
|
|
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):
|
|
90
|
+
register(context: RuntimeInstanceContext, options: RegisterRuntimeInstanceOptions): RuntimeInstanceRecord;
|
|
91
91
|
/**
|
|
92
92
|
* 在页面回调准备完成后挂载实例控制器
|
|
93
93
|
* Sheet 服务的导航入口依赖控制器切换 Sheet,所以两者必须在这里建立连接
|
|
@@ -106,8 +106,6 @@ export declare namespace BaseCoreComponent {
|
|
|
106
106
|
* 组件依赖
|
|
107
107
|
*/
|
|
108
108
|
componentDependency?: DisplayProps;
|
|
109
|
-
/** 字段值变化时查询的数源 KEY。 */
|
|
110
|
-
valueChangeDataSourceKeys?: string[];
|
|
111
109
|
/** 是否是物料消耗表的字段 */
|
|
112
110
|
isMaterialConsumeField?: boolean;
|
|
113
111
|
/** 自定义组件的绘制标记 */
|
|
@@ -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
|
-
trigger: Array<"click" | "hover" | "contextmenu">;
|
|
17
16
|
modelValue: string;
|
|
17
|
+
trigger: Array<"click" | "hover" | "contextmenu">;
|
|
18
18
|
showColumns: Array<keyof DeviceLink.IDeviceLinkParams>;
|
|
19
19
|
styleMode: "button" | "link";
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|