@gct-paas/excel 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agg-design-C8kk8Kch.js → agg-design-CFDHQV7p.js} +1 -1
- package/dist/{agg-style-C_1CXG03.js → agg-style-BTBtrS5F.js} +1 -1
- package/dist/{attach-fields-editor-CIDhAemZ.js → attach-fields-editor-DbieTu3Y.js} +1 -1
- package/dist/{barcode-design-CoYVoEFn.js → barcode-design-DWKmt1QG.js} +1 -1
- package/dist/{base-font-editor-BPfw_Re6.js → base-font-editor-DeOB4CbL.js} +1 -1
- package/dist/{boolean-design-BXbr26D4.js → boolean-design-DNgaw8Bn.js} +1 -1
- package/dist/{boolean-props-nCzH09qP.js → boolean-props-B916huYF.js} +2 -2
- package/dist/{boolean-style-Cl18Y8qB.js → boolean-style-7QgavPVq.js} +3 -3
- package/dist/{cell-upload-CO49bM5f.js → cell-upload-CjLmAmrx.js} +1 -1
- package/dist/{date-format-editor-BDkwE_r3.js → date-format-editor-BvMOnu8_.js} +1 -1
- package/dist/{date-time-props-CLttq7YV.js → date-time-props-BlCfAI-2.js} +2 -2
- package/dist/{date-time-style-CekvgyZk.js → date-time-style-iaoWzgJt.js} +1 -1
- package/dist/{decimal-display-mode-CqaSh2ls.js → decimal-display-mode-CBapqAse.js} +1 -1
- package/dist/{decimal-props-DEwnN1Q2.js → decimal-props-w8vIW26P.js} +5 -3
- package/dist/{decimal-style-CJWmQdHz.js → decimal-style-DHFNVhvh.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-mgY8bHUJ.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-Cq9-JA6N.js} +1 -1
- package/dist/{diagonal-design-CIopLvpL.js → diagonal-design-BizS498x.js} +1 -1
- package/dist/{double-props-TPv4fMW4.js → double-props-CYFLOVzy.js} +3 -3
- package/dist/{double-style-D6-yE_wb.js → double-style-DmKQVihS.js} +1 -1
- package/dist/{enum-design-DPpnnCBS.js → enum-design-upyui6-Q.js} +1 -1
- package/dist/{enum-props-BozGqUk1.js → enum-props-yxbdmogr.js} +2 -2
- package/dist/{enum-style-BqFQ-u6u.js → enum-style-BOcNGDz1.js} +2 -2
- package/dist/excel.css +495 -1
- package/dist/{expression-design-TmsclPp9.js → expression-design-q1dAYuEs.js} +1 -1
- package/dist/{expression-style-DO5M9Ajy.js → expression-style-B8IzNr0y.js} +1 -1
- package/dist/{file-design-D5w6xSTk.js → file-design-gZHj9Op8.js} +1 -1
- package/dist/{file-props-Bn7VgFDv.js → file-props-CVTWDt3n.js} +1 -1
- package/dist/{font-editor-CxA5Db2_.js → font-editor-CIVs3ds5.js} +1 -1
- package/dist/{image-design-DIWSfrcq.js → image-design-Cs3Iu9Rq.js} +1 -1
- package/dist/{image-props-5fStBp37.js → image-props-DY7iWz-p.js} +1 -1
- package/dist/{index-D56i-zWI.js → index-3c5jyp0H.js} +1 -1
- package/dist/{index-TurTXvNN.js → index-C8L2NmXe.js} +1 -1
- package/dist/{index-Fm6FGBuV.js → index-Co6IQUXW.js} +1 -1
- package/dist/{index-D7tSQpaj.js → index-CqU4WE9q.js} +1 -1
- package/dist/{index-CigaIXAe.js → index-DifLG137.js} +1 -1
- package/dist/{index-BKTmHFPX.js → index-O45aIP0d.js} +2956 -1602
- package/dist/index.es.js +19 -15
- package/dist/{integer-props-BjWENkem.js → integer-props-CC-f4ADN.js} +2 -2
- package/dist/{integer-style-CT8R9q-n.js → integer-style-CIvRKskQ.js} +1 -1
- package/dist/{org-props-DFbUC2TP.js → org-props-D-uKjxJ8.js} +1 -1
- package/dist/{org-style-DgGKHpDd.js → org-style-CTSneeEZ.js} +1 -1
- package/dist/{pagination-design-BgfX6d8b.js → pagination-design-DHyyK1YF.js} +1 -1
- package/dist/paper-widget-design-BzDMRbec.js +4 -0
- package/dist/{qrcode-design-80yZ4fJY.js → qrcode-design-Cv1U_tLU.js} +1 -1
- package/dist/{ref-autofill-editor-BIy-Jm0g.js → ref-autofill-editor-DdjUciLC.js} +1 -1
- package/dist/{ref-props-B_GWOIQV.js → ref-props-DrLbqECJ.js} +2 -2
- package/dist/{ref-style-Dw1h5H98.js → ref-style-BV_eK_or.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-CAjUQ7Ig.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-BMtQpv50.js} +1 -1
- package/dist/{signature-design-DgMBF1dM.js → signature-design-CbDzTsgj.js} +1 -1
- package/dist/{signature-props-DbaXK1t8.js → signature-props-BkWQd4EP.js} +2 -2
- package/dist/{single-field-drop-gbyOxdwW.js → single-field-drop-DF5zYnk0.js} +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/online-form/src/components/version-diff/comps/change-version-modal.vue.d.ts +14 -0
- package/dist/src/online-form/src/{views/render/__components__/_common_/rangelimit/rangelimit-shower.vue.d.ts → components/version-diff/comps/user-avatar.vue.d.ts} +2 -3
- package/dist/src/online-form/src/{views/render/__components__/_common_/rangelimit/rangelimit-modal.vue.d.ts → components/version-diff/comps/version-list-modal.vue.d.ts} +3 -6
- package/dist/src/online-form/src/components/version-diff/field-diff/attrs/index.d.ts +2 -0
- package/dist/src/online-form/src/components/version-diff/field-diff/field-diff-card.vue.d.ts +5 -0
- package/dist/src/online-form/src/components/version-diff/field-diff/field-diff-list.vue.d.ts +10 -0
- package/dist/src/online-form/src/components/version-diff/field-diff/field-diff-tabs.vue.d.ts +10 -0
- package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +17 -0
- package/dist/src/online-form/src/components/version-diff/iframe/preview-router.vue.d.ts +39 -0
- package/dist/src/online-form/src/components/version-diff/iframe/util.d.ts +1 -0
- package/dist/src/online-form/src/components/version-diff/index/diff.d.ts +4 -0
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +79 -0
- package/dist/src/online-form/src/components/version-diff/index/use-version-diff.d.ts +17 -0
- package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +73 -0
- package/dist/src/online-form/src/components/version-diff/index.d.ts +7 -0
- package/dist/src/online-form/src/components/version-diff/sheet/diff-sheet.vue.d.ts +22 -0
- package/dist/src/online-form/src/components/version-diff/sheet/use-diff-sheet.d.ts +14 -0
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/index.d.ts +2 -1
- package/dist/src/shared/components/Timeline/index.d.ts +3 -0
- package/dist/src/shared/components/Timeline/timeline.vue.d.ts +28 -0
- package/dist/src/shared/components/Timeline/type.d.ts +7 -0
- package/dist/{text-design-Bnh_H2pu.js → text-design-DFtzBEcT.js} +1 -1
- package/dist/{text-design-CCmIloIc.js → text-design-ISafIyBi.js} +1 -1
- package/dist/{text-props-cPJGCpv2.js → text-props-Dp0IZbyX.js} +1 -1
- package/dist/{text-style-CD_4lxio.js → text-style-B5qZYv8P.js} +1 -1
- package/dist/{trace-design-BXQyDWnc.js → trace-design-CcRc_Em1.js} +1 -1
- package/dist/{trace-props-yQEe--Vy.js → trace-props-CStXAusV.js} +4 -4
- package/dist/{trace-style-DUJXCepn.js → trace-style-C2hsdG9S.js} +1 -1
- package/dist/{user-props-DVYxW97f.js → user-props-p-kB2mls.js} +1 -1
- package/dist/{user-style-jlKo2wS8.js → user-style-D_jPtKA_.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-CgqZs-Ag.js → value-editor.vue_vue_type_style_index_0_lang-DYhI3w_m.js} +1 -1
- package/dist/{widget-barcode-DJ6E5SyP.js → widget-barcode-I5Mn77Dn.js} +2 -2
- package/dist/{widget-diagonal-CAg-NXwA.js → widget-diagonal-AW-PDhLK.js} +2 -2
- package/dist/{widget-image-BAoTYQSQ.js → widget-image-D_XgRUVn.js} +1 -1
- package/dist/{widget-line-Cm9PTXss.js → widget-line-3J_HpAQ8.js} +1 -1
- package/dist/{widget-pagination-DNPTBaOV.js → widget-pagination-CMm9Wc0O.js} +2 -2
- package/dist/{widget-power-cfqc0tm3.js → widget-power-DrEkw7Mj.js} +4 -2
- package/dist/{widget-qrcode-Cc6Iju1_.js → widget-qrcode-Du1Hspts.js} +2 -2
- package/dist/{widget-rangelimit-CIe0fkdQ.js → widget-rangelimit-Dqjtf3R-.js} +2 -2
- package/dist/{widget-serialnumber-DJ97P3Pb.js → widget-serialnumber-zHZNg_gD.js} +1 -1
- package/dist/{widget-text-66OkH_MY.js → widget-text-i4doVGPB.js} +3 -3
- package/dist/{widget-timediff-_PSHGrTL.js → widget-timediff-XPadJBfx.js} +1 -1
- package/package.json +1 -1
- package/dist/paper-widget-design-CAqW3laq.js +0 -4
- package/dist/src/online-form/src/components/esop/type.d.ts +0 -35
- package/dist/src/online-form/src/components/field-type-editor/editors/boolean-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/editors/date-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/editors/enum-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/editors/index.d.ts +0 -6
- package/dist/src/online-form/src/components/field-type-editor/editors/number-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/editors/text-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/field-type-editor.vue.d.ts +0 -17
- package/dist/src/online-form/src/components/field-type-editor/index.d.ts +0 -2
- package/dist/src/online-form/src/components/field-type-editor/logic/index.d.ts +0 -8
- package/dist/src/online-form/src/components/field-type-editor/types/index.d.ts +0 -1
- package/dist/src/online-form/src/components/model-field-select/index.d.ts +0 -4
- package/dist/src/online-form/src/components/model-field-select/logic/index.d.ts +0 -10
- package/dist/src/online-form/src/components/model-field-select/model-field-select.vue.d.ts +0 -16
- package/dist/src/online-form/src/components/model-field-select/types/index.d.ts +0 -32
- package/dist/src/online-form/src/utils/common.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_common_/rangelimit/use-rangelimit.d.ts +0 -18
- package/dist/src/shared/components/pdf-viewer/useObserver.d.ts +0 -15
- package/dist/src/shared/components/pdf-viewer/useVirtualWindow.d.ts +0 -38
- /package/dist/src/online-form/src/components/{device/constant.d.ts → version-diff/sheet/type.d.ts} +0 -0
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z, E, G, H, J, K, B, g, C, N, O, Q, U, W, X, Y, Z, $, v,
|
|
1
|
+
import { z, E, G, H, J, K, B, g, C, N, O, Q, U, W, X, Y, Z, $, a0, v, a1, x, a2, p, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, u } from "./index-O45aIP0d.js";
|
|
2
2
|
import { a } from "./version-select-D6Jjs5hL.js";
|
|
3
3
|
export {
|
|
4
4
|
z as ApaasCollect,
|
|
@@ -16,23 +16,27 @@ export {
|
|
|
16
16
|
U as EXCEL_PACKAGE_NAME,
|
|
17
17
|
W as ExcelHostComponentNames,
|
|
18
18
|
X as FIELD_TYPE_LABEL_MAP,
|
|
19
|
-
Y as
|
|
20
|
-
Z as
|
|
21
|
-
$ as
|
|
19
|
+
Y as FieldSceneType,
|
|
20
|
+
Z as FieldTypeToCellWidgetMap,
|
|
21
|
+
$ as FontFamilyEnum,
|
|
22
|
+
a0 as FontFamilyOptions,
|
|
22
23
|
v as LineStyleOptions,
|
|
23
|
-
|
|
24
|
+
a1 as NocodeAdapter,
|
|
24
25
|
x as PaginationFormatOptions,
|
|
25
|
-
|
|
26
|
+
a2 as PanelTmplConfig,
|
|
26
27
|
p as PanelType,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
a3 as PreviewContainer,
|
|
29
|
+
a4 as RangeLimitType,
|
|
30
|
+
a5 as ResizeDirection,
|
|
31
|
+
a6 as VersionDiffPreviewRouter,
|
|
30
32
|
a as VersionSelect,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
a7 as XlsxParser,
|
|
34
|
+
a8 as calcUsedFields,
|
|
35
|
+
a9 as isReverseModelingEnabled,
|
|
36
|
+
aa as openVersionDiff,
|
|
37
|
+
ab as registerExcelHostComponents,
|
|
38
|
+
ac as scanField,
|
|
39
|
+
ad as setupExcel,
|
|
40
|
+
ae as useCheckItem,
|
|
37
41
|
u as useModelFields
|
|
38
42
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createBlock, createCommentVNode, Fragment } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$2, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-
|
|
2
|
+
import { F as FormItem } from "./index-O45aIP0d.js";
|
|
3
|
+
import { _ as _sfc_main$2, N as NumberRangeEditor, I as IndicesEditor } from "./default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-Cq9-JA6N.js";
|
|
4
4
|
import { E as useNamespace, _ as _export_sfc, t as FormTypeEnum, F as FIELD_TYPE, a9 as FormDesignEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-DeOB4CbL.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "integer-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { F as FormItem } from "./index-
|
|
2
|
+
import { F as FormItem } from "./index-O45aIP0d.js";
|
|
3
3
|
import { aV as FieldSysVarDefaultValueEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-DeOB4CbL.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "org-style",
|
|
5
5
|
props: {
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, openBlock, createElementBlock, normalizeStyl
|
|
|
2
2
|
import { P as PaginationFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import {
|
|
5
|
+
import { n as calcText } from "./index-O45aIP0d.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "pagination-design",
|
|
8
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { B as BwipCodeTypeOptions,
|
|
2
|
+
import { B as BwipCodeTypeOptions, m as loadBwip } from "./index-O45aIP0d.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, toRefs, ref, reactive, onMounted, createElementVNode, createTextVNode, toDisplayString, unref, createBlock, normalizeClass, createCommentVNode, withDirectives, vShow, h, mergeProps } from "vue";
|
|
2
2
|
import { F as FIELD_TYPE, C as CreateType, i as api, I as FieldIconMap, g as SubTableType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
3
|
-
import { u as useModelFields, k as SEARCH_TYPE, F as FormItem, e as draggableComponent, t as transformMappingField4Auto } from "./index-
|
|
3
|
+
import { u as useModelFields, k as SEARCH_TYPE, F as FormItem, e as draggableComponent, t as transformMappingField4Auto } from "./index-O45aIP0d.js";
|
|
4
4
|
import { cloneDeep } from "lodash-es";
|
|
5
5
|
import { useModal } from "@gct-paas/core";
|
|
6
6
|
const _hoisted_1$2 = { class: "quick-search-editor" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, computed, withCtx, createElementVNode, createTextVNode, toDisplayString, nextTick, createBlock, createCommentVNode } from "vue";
|
|
2
2
|
import { i as api, F as FIELD_TYPE$1, bh as FIELD_TYPE_BASIC, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
3
|
-
import { k as SEARCH_TYPE, u as useModelFields, F as FormItem, l as IconTooltip } from "./index-
|
|
4
|
-
import { _ as _sfc_main$3, R as RefAutofillEditor } from "./ref-autofill-editor-
|
|
3
|
+
import { k as SEARCH_TYPE, u as useModelFields, F as FormItem, l as IconTooltip } from "./index-O45aIP0d.js";
|
|
4
|
+
import { _ as _sfc_main$3, R as RefAutofillEditor } from "./ref-autofill-editor-DdjUciLC.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
import { FIELD_TYPE, useModal } from "@gct-paas/core";
|
|
7
7
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-DeOB4CbL.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ref-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, unref, createBlock, withCtx, createVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-
|
|
2
|
+
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-O45aIP0d.js";
|
|
3
3
|
import { O as Orientation, v as LabelPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock } from "vue";
|
|
2
|
-
import { C as CellUpload } from "./cell-upload-
|
|
2
|
+
import { C as CellUpload } from "./cell-upload-CjLmAmrx.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "signature-design",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, renderList, createTextVNode, normalizeClass, mergeProps } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
3
|
import { A as SignatureTypeEnum, y as SignatureTimeTypeEnum, F as FIELD_TYPE, x as SignatureNumberTypeEnum, a0 as ImageDisplayModeEnum, z as SignShowTypeEnum, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
4
|
-
import { F as FormItem, S as SelectEx } from "./index-
|
|
5
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
4
|
+
import { F as FormItem, S as SelectEx } from "./index-O45aIP0d.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-DbieTu3Y.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
const _hoisted_1 = { class: "adaptive-warning" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
3
|
-
import { h as useDrop, T as TransferType, u as useModelFields, i as getFieldIcon, q as SingleDrop } from "./index-
|
|
3
|
+
import { h as useDrop, T as TransferType, u as useModelFields, i as getFieldIcon, q as SingleDrop } from "./index-O45aIP0d.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "single-field-drop",
|
|
6
6
|
props: {
|
package/dist/src/index.d.ts
CHANGED
|
@@ -9,11 +9,12 @@ export { default as PreviewContainer } from './online-form/src/views/render/prev
|
|
|
9
9
|
export * from './online-form/src/views/designer/public-api';
|
|
10
10
|
export { useModelFields } from './online-form/src/views/designer/hooks/useModelFields';
|
|
11
11
|
export { useCheckItem } from './online-form/src/views/designer/hooks/useCheckItem';
|
|
12
|
-
export { calcUsedFields, isReverseModelingEnabled, } from './online-form/src/views/designer/hooks/reverse-modeling';
|
|
12
|
+
export { calcUsedFields, isReverseModelingEnabled, FieldSceneType, scanField, } from './online-form/src/views/designer/hooks/reverse-modeling';
|
|
13
13
|
export { FIELD_TYPE_LABEL_MAP, FieldTypeToCellWidgetMap, } from './online-form/src/views/designer/constants';
|
|
14
14
|
export { XlsxParser } from './online-form/src/views/designer/utils/xlsx-parser';
|
|
15
15
|
export { DomParser } from './online-form/src/views/designer/utils/dom-parser';
|
|
16
16
|
export { VersionSelect } from './shared/components/version-select';
|
|
17
|
+
export { openVersionDiff, VersionDiffPreviewRouter, } from './online-form/src/components/version-diff';
|
|
17
18
|
export type { CellWidget } from './online-form/src/views/designer/types/cell-widget';
|
|
18
19
|
export type { PaperWidget } from './online-form/src/views/types/paper-widget';
|
|
19
20
|
export type * from './online-form/src/views/designer/types';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IModal } from '../../../../../shared/types';
|
|
2
|
+
import { OnlineFormTmplResponse } from '@gct-paas/api/apaas';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modal: IModal;
|
|
5
|
+
data: {
|
|
6
|
+
baseVersion: OnlineFormTmplResponse;
|
|
7
|
+
compareVersion: OnlineFormTmplResponse;
|
|
8
|
+
};
|
|
9
|
+
options: OnlineFormTmplResponse[];
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
formRef: unknown;
|
|
13
|
+
}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { SaveDataObj } from './use-rangelimit';
|
|
2
1
|
type __VLS_Props = {
|
|
3
|
-
|
|
2
|
+
userId: string;
|
|
4
3
|
};
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
5
|
export default _default;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnlineFormTmplResponse } from '@gct-paas/api/apaas';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
4
|
-
value?: SaveDataObj;
|
|
3
|
+
options: OnlineFormTmplResponse[];
|
|
5
4
|
};
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
7
|
-
formRef: unknown;
|
|
8
|
-
}, any>;
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
6
|
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
data: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
data: any[];
|
|
3
|
+
selectedValue?: any;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
change: (val: any) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onChange?: ((val: any) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: any;
|
|
3
|
+
options: any[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
"update:value": (...args: any[]) => void;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
5
|
+
setActiveSheet: (sheetId: string) => void;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
sheetChange: (value: {
|
|
8
|
+
to: string;
|
|
9
|
+
}) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onSheetChange?: ((value: {
|
|
12
|
+
to: string;
|
|
13
|
+
}) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
iframeRef: HTMLIFrameElement;
|
|
16
|
+
}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnlineFormTmplResponse } from '@gct-paas/api/apaas';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
3
|
+
sheetRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
+
tmpl?: OnlineFormTmplResponse;
|
|
5
|
+
selectedCell?: import('../../../views/designer/hooks/reverse-modeling/scan-field').ICellInfo;
|
|
6
|
+
}> & Readonly<{
|
|
7
|
+
onSheetChange?: ((evt: {
|
|
8
|
+
to: string;
|
|
9
|
+
}) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
setActiveSheet: (key: any) => void;
|
|
12
|
+
selectCell: (cellInfo: import('../../../views/designer/hooks/reverse-modeling/scan-field').ICellInfo) => void;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
|
+
sheetChange: (evt: {
|
|
15
|
+
to: string;
|
|
16
|
+
}) => any;
|
|
17
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
18
|
+
SpreadSheetRef: HTMLDivElement;
|
|
19
|
+
ViewPortScrollRef: HTMLDivElement;
|
|
20
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
21
|
+
P: {};
|
|
22
|
+
B: {};
|
|
23
|
+
D: {};
|
|
24
|
+
C: {};
|
|
25
|
+
M: {};
|
|
26
|
+
Defaults: {};
|
|
27
|
+
}, Readonly<{
|
|
28
|
+
tmpl?: OnlineFormTmplResponse;
|
|
29
|
+
selectedCell?: import('../../../views/designer/hooks/reverse-modeling/scan-field').ICellInfo;
|
|
30
|
+
}> & Readonly<{
|
|
31
|
+
onSheetChange?: ((evt: {
|
|
32
|
+
to: string;
|
|
33
|
+
}) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
setActiveSheet: (key: any) => void;
|
|
36
|
+
selectCell: (cellInfo: import('../../../views/designer/hooks/reverse-modeling/scan-field').ICellInfo) => void;
|
|
37
|
+
}, {}, {}, {}, {}> | null;
|
|
38
|
+
}, HTMLDivElement>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UNIQUE_KEY = "online-form-web-render-form-version-diff-iframe-util";
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { CellWidget } from '../../../views/designer/types/cell-widget';
|
|
2
|
+
import { OnlineFormTmplResponse } from '@gct-paas/api/apaas';
|
|
3
|
+
import { CellWidgetCategory } from '../../../views/designer/enums';
|
|
4
|
+
import { FIELD_TYPE } from '../../../../../shared/enum';
|
|
5
|
+
export type FieldConfig = CellWidget.AttachField;
|
|
6
|
+
export interface VersionCompareSelection {
|
|
7
|
+
baseVersion: OnlineFormTmplResponse;
|
|
8
|
+
compareVersion: OnlineFormTmplResponse;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 单个字段的差异
|
|
12
|
+
* @export
|
|
13
|
+
* @interface FieldDiff
|
|
14
|
+
*/
|
|
15
|
+
export interface FieldDiff {
|
|
16
|
+
/** 字段翻译名称 */
|
|
17
|
+
fieldName: string;
|
|
18
|
+
/** 字段类型 */
|
|
19
|
+
fieldType: FIELD_TYPE;
|
|
20
|
+
/** 字段标识 */
|
|
21
|
+
fieldKey: string;
|
|
22
|
+
/** 字段类型 */
|
|
23
|
+
type: FieldDiffType;
|
|
24
|
+
/** 旧配置 */
|
|
25
|
+
old?: FieldConfig;
|
|
26
|
+
/** 新配置 */
|
|
27
|
+
new?: FieldConfig;
|
|
28
|
+
/** 所属单元格信息 */
|
|
29
|
+
cellInfo: any;
|
|
30
|
+
/** 发生变化的字段属性 */
|
|
31
|
+
diffArr?: any[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 版本差异
|
|
35
|
+
* @export
|
|
36
|
+
* @interface VersionDiff
|
|
37
|
+
*/
|
|
38
|
+
export interface VersionDiff {
|
|
39
|
+
/** 新增字段 */
|
|
40
|
+
addFields: FieldDiff[];
|
|
41
|
+
/** 删除字段 */
|
|
42
|
+
removeFields: FieldDiff[];
|
|
43
|
+
/** 更新字段 */
|
|
44
|
+
updateFields: FieldDiff[];
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* 字段差异类型
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {number}
|
|
50
|
+
*/
|
|
51
|
+
export declare enum FieldDiffType {
|
|
52
|
+
/** 新增字段 */
|
|
53
|
+
ADD = "ADD",
|
|
54
|
+
/** 删除字段 */
|
|
55
|
+
REMOVE = "REMOVE",
|
|
56
|
+
/** 修改字段 */
|
|
57
|
+
UPDATE = "UPDATE"
|
|
58
|
+
}
|
|
59
|
+
/** 各字段类型参与差异比较的属性,未配置的字段类型仅比较通用信息 */
|
|
60
|
+
export declare const FieldWidgetProperties: Partial<Record<CellWidgetCategory, string[]>>;
|
|
61
|
+
export declare const DiffedAttrMaps: {
|
|
62
|
+
inputAttr: string[];
|
|
63
|
+
lengthRange: string[];
|
|
64
|
+
upperLimits: string[];
|
|
65
|
+
lowerLimits: string[];
|
|
66
|
+
expression: string[];
|
|
67
|
+
signNum: string[];
|
|
68
|
+
signMode: string[];
|
|
69
|
+
};
|
|
70
|
+
export declare enum DiffedAttrCompsEnum {
|
|
71
|
+
inputAttr = "inputAttr",
|
|
72
|
+
lengthRange = "lengthRange",
|
|
73
|
+
upperLimits = "upperLimits",
|
|
74
|
+
lowerLimits = "lowerLimits",
|
|
75
|
+
expression = "attrItem",
|
|
76
|
+
signNum = "attrItem",
|
|
77
|
+
signMode = "attrItem"
|
|
78
|
+
}
|
|
79
|
+
export declare const NeedI18nAttrs: string[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnlineFormTmplResponse } from '@gct-paas/api/apaas';
|
|
2
|
+
import { FieldConfig, VersionDiff } from './types';
|
|
3
|
+
/** 根据字段比较配置来判断是否有变更 */
|
|
4
|
+
export declare function isSame(old: FieldConfig, now: FieldConfig): boolean;
|
|
5
|
+
export declare function useVersionDiff(): {
|
|
6
|
+
init: (id: string) => Promise<void>;
|
|
7
|
+
baseVersion: import('vue').Ref<OnlineFormTmplResponse | undefined, OnlineFormTmplResponse | undefined>;
|
|
8
|
+
compareVersion: import('vue').Ref<OnlineFormTmplResponse | undefined, OnlineFormTmplResponse | undefined>;
|
|
9
|
+
noDesignDiff: import('vue').Ref<boolean, boolean>;
|
|
10
|
+
calcDiff: (baseTmpl: OnlineFormTmplResponse, compareTmpl: OnlineFormTmplResponse) => void;
|
|
11
|
+
versionDiff: import('vue').ComputedRef<VersionDiff>;
|
|
12
|
+
versionDiffData: import('vue').ComputedRef<any[]>;
|
|
13
|
+
selectedField: import('vue').Ref<any, any>;
|
|
14
|
+
changeSelectedField: (field: any) => void;
|
|
15
|
+
openCustomCompare: () => Promise<void>;
|
|
16
|
+
openVersionHistory: () => Promise<void>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { IModal } from '../../../../../shared/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modal: IModal;
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
7
|
+
baseSheet: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
8
|
+
id?: string;
|
|
9
|
+
}> & Readonly<{
|
|
10
|
+
onSheetChange?: ((value: {
|
|
11
|
+
to: string;
|
|
12
|
+
}) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
setActiveSheet: (sheetId: string) => void;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
sheetChange: (value: {
|
|
17
|
+
to: string;
|
|
18
|
+
}) => any;
|
|
19
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
20
|
+
iframeRef: HTMLIFrameElement;
|
|
21
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
22
|
+
P: {};
|
|
23
|
+
B: {};
|
|
24
|
+
D: {};
|
|
25
|
+
C: {};
|
|
26
|
+
M: {};
|
|
27
|
+
Defaults: {};
|
|
28
|
+
}, Readonly<{
|
|
29
|
+
id?: string;
|
|
30
|
+
}> & Readonly<{
|
|
31
|
+
onSheetChange?: ((value: {
|
|
32
|
+
to: string;
|
|
33
|
+
}) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
setActiveSheet: (sheetId: string) => void;
|
|
36
|
+
}, {}, {}, {}, {}> | null;
|
|
37
|
+
compareSheet: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
38
|
+
tmpl?: import('@gct-paas/api/apaas').OnlineFormTmplResponse;
|
|
39
|
+
selectedCell?: import('../../../views/designer/hooks/reverse-modeling/scan-field').ICellInfo;
|
|
40
|
+
}> & Readonly<{
|
|
41
|
+
onSheetChange?: ((evt: {
|
|
42
|
+
to: string;
|
|
43
|
+
}) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
setActiveSheet: (key: any) => void;
|
|
46
|
+
selectCell: (cellInfo: import('../../../views/designer/hooks/reverse-modeling/scan-field').ICellInfo) => void;
|
|
47
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
48
|
+
sheetChange: (evt: {
|
|
49
|
+
to: string;
|
|
50
|
+
}) => any;
|
|
51
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
52
|
+
SpreadSheetRef: HTMLDivElement;
|
|
53
|
+
ViewPortScrollRef: HTMLDivElement;
|
|
54
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
55
|
+
P: {};
|
|
56
|
+
B: {};
|
|
57
|
+
D: {};
|
|
58
|
+
C: {};
|
|
59
|
+
M: {};
|
|
60
|
+
Defaults: {};
|
|
61
|
+
}, Readonly<{
|
|
62
|
+
tmpl?: import('@gct-paas/api/apaas').OnlineFormTmplResponse;
|
|
63
|
+
selectedCell?: import('../../../views/designer/hooks/reverse-modeling/scan-field').ICellInfo;
|
|
64
|
+
}> & Readonly<{
|
|
65
|
+
onSheetChange?: ((evt: {
|
|
66
|
+
to: string;
|
|
67
|
+
}) => any) | undefined;
|
|
68
|
+
}>, {
|
|
69
|
+
setActiveSheet: (key: any) => void;
|
|
70
|
+
selectCell: (cellInfo: import('../../../views/designer/hooks/reverse-modeling/scan-field').ICellInfo) => void;
|
|
71
|
+
}, {}, {}, {}, {}> | null;
|
|
72
|
+
}, HTMLDivElement>;
|
|
73
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnlineFormTmplResponse } from '@gct-paas/api/apaas';
|
|
2
|
+
import { ICellInfo } from '../../../views/designer/hooks/reverse-modeling/scan-field';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
tmpl?: OnlineFormTmplResponse;
|
|
5
|
+
selectedCell?: ICellInfo;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
8
|
+
setActiveSheet: (key: any) => void;
|
|
9
|
+
selectCell: (cellInfo: ICellInfo) => void;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
+
sheetChange: (evt: {
|
|
12
|
+
to: string;
|
|
13
|
+
}) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onSheetChange?: ((evt: {
|
|
16
|
+
to: string;
|
|
17
|
+
}) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
SpreadSheetRef: HTMLDivElement;
|
|
20
|
+
ViewPortScrollRef: HTMLDivElement;
|
|
21
|
+
}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnlineFormTmplResponse } from '@gct-paas/api/apaas';
|
|
2
|
+
import { ICellInfo } from '../../../views/designer/hooks/reverse-modeling/scan-field';
|
|
3
|
+
export declare function useDiffSheet(): {
|
|
4
|
+
init: (tmplInfo: OnlineFormTmplResponse) => void;
|
|
5
|
+
emitter: import('../../../../../shared/utils/mitt').Emitter<import('../../../views/designer/hooks/useSpreadSheetEvent').SpreadSheetEvents>;
|
|
6
|
+
paperLayout: import('vue').ComputedRef<{
|
|
7
|
+
w: number | undefined;
|
|
8
|
+
h: number | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
paperFitHeight: import('vue').ComputedRef<number>;
|
|
11
|
+
activeSheet: import('vue').Ref<any, any>;
|
|
12
|
+
setActiveSheet: (sheetKey: string) => void;
|
|
13
|
+
selectCell: (cellInfo: ICellInfo) => void;
|
|
14
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useReverseModeling, isReverseModelingEnabled } from './useReverseModeling';
|
|
2
2
|
import { calcUsedFields } from './utils';
|
|
3
|
-
|
|
3
|
+
import { FieldSceneType, scanField } from './scan-field';
|
|
4
|
+
export { useReverseModeling, isReverseModelingEnabled, calcUsedFields, FieldSceneType, scanField, };
|
|
4
5
|
export type * from './types';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ITimelineItem } from './type';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items?: ITimelineItem[];
|
|
4
|
+
selectedId?: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
item: ITimelineItem;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
"update:selectedId": (value: string) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:selectedId"?: ((value: string) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp } from "./index-
|
|
2
|
+
import { C as CellWidgetRenderComp } from "./index-O45aIP0d.js";
|
|
3
3
|
import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "text-design",
|
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, openBlock, createElementBlock, normalizeStyl
|
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
3
|
import { m as PaperWidgeValueType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import { c as useSpreadSheet, u as useModelFields } from "./index-
|
|
5
|
+
import { c as useSpreadSheet, u as useModelFields } from "./index-O45aIP0d.js";
|
|
6
6
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "text-design",
|