@gct-paas/excel 0.1.5 → 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.
Files changed (96) hide show
  1. package/dist/{agg-design-CeJqg8FA.js → agg-design-CFDHQV7p.js} +1 -1
  2. package/dist/{agg-style-BX2t2CGh.js → agg-style-BTBtrS5F.js} +1 -1
  3. package/dist/{attach-fields-editor-O4OIRRpB.js → attach-fields-editor-DbieTu3Y.js} +1 -1
  4. package/dist/{barcode-design-DURI5-Q5.js → barcode-design-DWKmt1QG.js} +1 -1
  5. package/dist/{base-font-editor-DuDr0oh2.js → base-font-editor-DeOB4CbL.js} +1 -1
  6. package/dist/{boolean-design-oQ9w0jT6.js → boolean-design-DNgaw8Bn.js} +1 -1
  7. package/dist/{boolean-props-TVey_bO1.js → boolean-props-B916huYF.js} +2 -2
  8. package/dist/{boolean-style-ahVosL-1.js → boolean-style-7QgavPVq.js} +3 -3
  9. package/dist/{cell-upload-bBdpI6ua.js → cell-upload-CjLmAmrx.js} +1 -1
  10. package/dist/{date-format-editor-uNiiJFmw.js → date-format-editor-BvMOnu8_.js} +1 -1
  11. package/dist/{date-time-props-ufCr6G2X.js → date-time-props-BlCfAI-2.js} +2 -2
  12. package/dist/{date-time-style-DLxfllnf.js → date-time-style-iaoWzgJt.js} +1 -1
  13. package/dist/{decimal-display-mode-CbMnQBVa.js → decimal-display-mode-CBapqAse.js} +1 -1
  14. package/dist/{decimal-props-D7eRAxEu.js → decimal-props-w8vIW26P.js} +3 -3
  15. package/dist/{decimal-style-CIOLsYek.js → decimal-style-DHFNVhvh.js} +1 -1
  16. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-Dt1QVHQ6.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-Cq9-JA6N.js} +1 -1
  17. package/dist/{diagonal-design-Doz_EKCn.js → diagonal-design-BizS498x.js} +1 -1
  18. package/dist/{double-props-Do3bWECB.js → double-props-CYFLOVzy.js} +3 -3
  19. package/dist/{double-style--msZlxPG.js → double-style-DmKQVihS.js} +1 -1
  20. package/dist/{enum-design-BdHT6RDE.js → enum-design-upyui6-Q.js} +1 -1
  21. package/dist/{enum-props-D5XXv3x-.js → enum-props-yxbdmogr.js} +2 -2
  22. package/dist/{enum-style-DhrY3Nb3.js → enum-style-BOcNGDz1.js} +2 -2
  23. package/dist/excel.css +495 -1
  24. package/dist/{expression-design-jkeo9bkU.js → expression-design-q1dAYuEs.js} +1 -1
  25. package/dist/{expression-style-eJ70zjw3.js → expression-style-B8IzNr0y.js} +1 -1
  26. package/dist/{file-design-mp0bI-tQ.js → file-design-gZHj9Op8.js} +1 -1
  27. package/dist/{file-props-DfENXSNT.js → file-props-CVTWDt3n.js} +1 -1
  28. package/dist/{font-editor-BgjVz_IS.js → font-editor-CIVs3ds5.js} +1 -1
  29. package/dist/{image-design-CRtBjNLy.js → image-design-Cs3Iu9Rq.js} +1 -1
  30. package/dist/{image-props-DaF9EaTG.js → image-props-DY7iWz-p.js} +1 -1
  31. package/dist/{index-DjrJwtC-.js → index-3c5jyp0H.js} +1 -1
  32. package/dist/{index-DbGPzmbp.js → index-C8L2NmXe.js} +1 -1
  33. package/dist/{index-DBg_HS_0.js → index-Co6IQUXW.js} +1 -1
  34. package/dist/{index-7tuEFT4g.js → index-CqU4WE9q.js} +1 -1
  35. package/dist/{index-GMmRcX1e.js → index-DifLG137.js} +1 -1
  36. package/dist/{index-924ospJT.js → index-O45aIP0d.js} +2948 -1596
  37. package/dist/index.es.js +10 -8
  38. package/dist/{integer-props-DxpV-NTy.js → integer-props-CC-f4ADN.js} +2 -2
  39. package/dist/{integer-style-BDLAdzGV.js → integer-style-CIvRKskQ.js} +1 -1
  40. package/dist/{org-props-0IzW6XsJ.js → org-props-D-uKjxJ8.js} +1 -1
  41. package/dist/{org-style-DdpRlrHO.js → org-style-CTSneeEZ.js} +1 -1
  42. package/dist/{pagination-design-v9j51aeB.js → pagination-design-DHyyK1YF.js} +1 -1
  43. package/dist/paper-widget-design-BzDMRbec.js +4 -0
  44. package/dist/{qrcode-design-CmeowsPt.js → qrcode-design-Cv1U_tLU.js} +1 -1
  45. package/dist/{ref-autofill-editor--L_WtK7J.js → ref-autofill-editor-DdjUciLC.js} +1 -1
  46. package/dist/{ref-props-jxfaWPha.js → ref-props-DrLbqECJ.js} +2 -2
  47. package/dist/{ref-style-CaMOimNG.js → ref-style-BV_eK_or.js} +1 -1
  48. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-DWza8j-a.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-BMtQpv50.js} +1 -1
  49. package/dist/{signature-design-DJ59c5xR.js → signature-design-CbDzTsgj.js} +1 -1
  50. package/dist/{signature-props-CfLmfzHT.js → signature-props-BkWQd4EP.js} +2 -2
  51. package/dist/{single-field-drop-BpgydSeT.js → single-field-drop-DF5zYnk0.js} +1 -1
  52. package/dist/src/index.d.ts +1 -0
  53. package/dist/src/online-form/src/components/version-diff/comps/change-version-modal.vue.d.ts +14 -0
  54. package/dist/src/online-form/src/components/version-diff/comps/user-avatar.vue.d.ts +5 -0
  55. package/dist/src/online-form/src/components/version-diff/comps/version-list-modal.vue.d.ts +6 -0
  56. package/dist/src/online-form/src/components/version-diff/field-diff/attrs/index.d.ts +2 -0
  57. package/dist/src/online-form/src/components/version-diff/field-diff/field-diff-card.vue.d.ts +5 -0
  58. package/dist/src/online-form/src/components/version-diff/field-diff/field-diff-list.vue.d.ts +10 -0
  59. package/dist/src/online-form/src/components/version-diff/field-diff/field-diff-tabs.vue.d.ts +10 -0
  60. package/dist/src/online-form/src/components/version-diff/iframe/preview-iframe.vue.d.ts +17 -0
  61. package/dist/src/online-form/src/components/version-diff/iframe/preview-router.vue.d.ts +39 -0
  62. package/dist/src/online-form/src/components/version-diff/iframe/util.d.ts +1 -0
  63. package/dist/src/online-form/src/components/version-diff/index/diff.d.ts +4 -0
  64. package/dist/src/online-form/src/components/version-diff/index/types.d.ts +79 -0
  65. package/dist/src/online-form/src/components/version-diff/index/use-version-diff.d.ts +17 -0
  66. package/dist/src/online-form/src/components/version-diff/index/version-diff-index.vue.d.ts +73 -0
  67. package/dist/src/online-form/src/components/version-diff/index.d.ts +7 -0
  68. package/dist/src/online-form/src/components/version-diff/sheet/diff-sheet.vue.d.ts +22 -0
  69. package/dist/src/online-form/src/components/version-diff/sheet/type.d.ts +1 -0
  70. package/dist/src/online-form/src/components/version-diff/sheet/use-diff-sheet.d.ts +14 -0
  71. package/dist/src/shared/components/Timeline/index.d.ts +3 -0
  72. package/dist/src/shared/components/Timeline/timeline.vue.d.ts +28 -0
  73. package/dist/src/shared/components/Timeline/type.d.ts +7 -0
  74. package/dist/{text-design-B1cCBOad.js → text-design-DFtzBEcT.js} +1 -1
  75. package/dist/{text-design-GhDOCEKW.js → text-design-ISafIyBi.js} +1 -1
  76. package/dist/{text-props-C87CNZwJ.js → text-props-Dp0IZbyX.js} +1 -1
  77. package/dist/{text-style-lLe-3Jf4.js → text-style-B5qZYv8P.js} +1 -1
  78. package/dist/{trace-design-DGwi2jEJ.js → trace-design-CcRc_Em1.js} +1 -1
  79. package/dist/{trace-props-BatGqfOz.js → trace-props-CStXAusV.js} +3 -3
  80. package/dist/{trace-style-DJIQyozK.js → trace-style-C2hsdG9S.js} +1 -1
  81. package/dist/{user-props-CwnMl96x.js → user-props-p-kB2mls.js} +1 -1
  82. package/dist/{user-style-C8ZQPaes.js → user-style-D_jPtKA_.js} +1 -1
  83. package/dist/{value-editor.vue_vue_type_style_index_0_lang-f3d5bm3X.js → value-editor.vue_vue_type_style_index_0_lang-DYhI3w_m.js} +1 -1
  84. package/dist/{widget-barcode-B0QQXeUU.js → widget-barcode-I5Mn77Dn.js} +2 -2
  85. package/dist/{widget-diagonal-DYSwEOPP.js → widget-diagonal-AW-PDhLK.js} +2 -2
  86. package/dist/{widget-image-F3Kxsxt8.js → widget-image-D_XgRUVn.js} +1 -1
  87. package/dist/{widget-line-BAXnpy9r.js → widget-line-3J_HpAQ8.js} +1 -1
  88. package/dist/{widget-pagination-Z8i0xx7v.js → widget-pagination-CMm9Wc0O.js} +2 -2
  89. package/dist/{widget-power-hn2k4-Ug.js → widget-power-DrEkw7Mj.js} +2 -2
  90. package/dist/{widget-qrcode-fftrW5Nj.js → widget-qrcode-Du1Hspts.js} +2 -2
  91. package/dist/{widget-rangelimit-BDivDS-G.js → widget-rangelimit-Dqjtf3R-.js} +2 -2
  92. package/dist/{widget-serialnumber-1QCmac2g.js → widget-serialnumber-zHZNg_gD.js} +1 -1
  93. package/dist/{widget-text-B51VrEKQ.js → widget-text-i4doVGPB.js} +3 -3
  94. package/dist/{widget-timediff-DpN47Ghj.js → widget-timediff-XPadJBfx.js} +1 -1
  95. package/package.json +1 -1
  96. package/dist/paper-widget-design-fyF-x54_.js +0 -4
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, $, a0, v, a1, x, a2, p, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, u } from "./index-924ospJT.js";
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,
@@ -28,13 +28,15 @@ export {
28
28
  a3 as PreviewContainer,
29
29
  a4 as RangeLimitType,
30
30
  a5 as ResizeDirection,
31
+ a6 as VersionDiffPreviewRouter,
31
32
  a as VersionSelect,
32
- a6 as XlsxParser,
33
- a7 as calcUsedFields,
34
- a8 as isReverseModelingEnabled,
35
- a9 as registerExcelHostComponents,
36
- aa as scanField,
37
- ab as setupExcel,
38
- ac as useCheckItem,
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,
39
41
  u as useModelFields
40
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-924ospJT.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-Dt1QVHQ6.js";
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-DuDr0oh2.js";
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-924ospJT.js";
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-DuDr0oh2.js";
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 { o as calcText } from "./index-924ospJT.js";
5
+ import { n as calcText } from "./index-O45aIP0d.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "pagination-design",
8
8
  props: {
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./index-O45aIP0d.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
2
- import { B as BwipCodeTypeOptions, n as loadBwip } from "./index-924ospJT.js";
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-924ospJT.js";
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-924ospJT.js";
4
- import { _ as _sfc_main$3, R as RefAutofillEditor } from "./ref-autofill-editor--L_WtK7J.js";
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-DuDr0oh2.js";
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-924ospJT.js";
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-bBdpI6ua.js";
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-924ospJT.js";
5
- import { A as AttachFieldEditor } from "./attach-fields-editor-O4OIRRpB.js";
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-924ospJT.js";
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: {
@@ -14,6 +14,7 @@ export { FIELD_TYPE_LABEL_MAP, FieldTypeToCellWidgetMap, } from './online-form/s
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;
@@ -0,0 +1,5 @@
1
+ type __VLS_Props = {
2
+ userId: string;
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,6 @@
1
+ import { OnlineFormTmplResponse } from '@gct-paas/api/apaas';
2
+ type __VLS_Props = {
3
+ options: OnlineFormTmplResponse[];
4
+ };
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>;
6
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const compMaps: {};
2
+ export default compMaps;
@@ -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,4 @@
1
+ export declare function returnDiffArr({ newAttrs, oldAttrs }: {
2
+ newAttrs: any;
3
+ oldAttrs: any;
4
+ }): any[];
@@ -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,7 @@
1
+ export { default as VersionDiffPreviewRouter } from './iframe/preview-router.vue';
2
+ /**
3
+ * 打开版本对比
4
+ * @export
5
+ * @param id 表单模板的父的id
6
+ */
7
+ export declare function openVersionDiff(id: string): void;
@@ -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
+ };
@@ -0,0 +1,3 @@
1
+ import { default as Timeline } from './timeline.vue';
2
+ export { Timeline };
3
+ export type { ITimelineItem } from './type';
@@ -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
+ };
@@ -0,0 +1,7 @@
1
+ export interface ITimelineItem {
2
+ /** 唯一标识 */
3
+ id: string;
4
+ /** 指定颜色 */
5
+ color?: string;
6
+ [key: string]: any;
7
+ }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
2
- import { C as CellWidgetRenderComp } from "./index-924ospJT.js";
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-924ospJT.js";
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",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, createElementVNode, renderSlot, reactive, ref, createBlock, withCtx, toRaw, createTextVNode, toDisplayString, onUnmounted, h, onMounted, mergeProps, unref, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, C as CellWidgetRenderComp } from "./index-924ospJT.js";
2
+ import { F as FormItem, C as CellWidgetRenderComp } from "./index-O45aIP0d.js";
3
3
  import { isNil, debounce, pick } from "lodash-es";
4
4
  import { _ as _export_sfc, D as useModal, i as api, F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
5
5
  import { s as useIntersectionObserver, t as cacheAdapter } from "./index-DM8guHf_.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-DuDr0oh2.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DeOB4CbL.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "text-style",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, unref } from "vue";
2
2
  import dayjs from "dayjs";
3
3
  import { F as FIELD_TYPE, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
4
- import { C as CellWidgetRenderComp } from "./index-924ospJT.js";
4
+ import { C as CellWidgetRenderComp } from "./index-O45aIP0d.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "trace-design",
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, withCtx, createVNode, createCommentVNode, createElementVNode, toDisplayString, unref, createTextVNode } from "vue";
2
- import { u as useModelFields, c as useSpreadSheet, d as useReverseModeling, F as FormItem } from "./index-924ospJT.js";
3
- import { D as DateFormatEditor } from "./date-format-editor-uNiiJFmw.js";
4
- import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor--L_WtK7J.js";
2
+ import { u as useModelFields, c as useSpreadSheet, d as useReverseModeling, F as FormItem } from "./index-O45aIP0d.js";
3
+ import { D as DateFormatEditor } from "./date-format-editor-BvMOnu8_.js";
4
+ import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-DdjUciLC.js";
5
5
  import { F as FIELD_TYPE } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";