@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.
Files changed (116) hide show
  1. package/dist/{agg-design-C8kk8Kch.js → agg-design-CFDHQV7p.js} +1 -1
  2. package/dist/{agg-style-C_1CXG03.js → agg-style-BTBtrS5F.js} +1 -1
  3. package/dist/{attach-fields-editor-CIDhAemZ.js → attach-fields-editor-DbieTu3Y.js} +1 -1
  4. package/dist/{barcode-design-CoYVoEFn.js → barcode-design-DWKmt1QG.js} +1 -1
  5. package/dist/{base-font-editor-BPfw_Re6.js → base-font-editor-DeOB4CbL.js} +1 -1
  6. package/dist/{boolean-design-BXbr26D4.js → boolean-design-DNgaw8Bn.js} +1 -1
  7. package/dist/{boolean-props-nCzH09qP.js → boolean-props-B916huYF.js} +2 -2
  8. package/dist/{boolean-style-Cl18Y8qB.js → boolean-style-7QgavPVq.js} +3 -3
  9. package/dist/{cell-upload-CO49bM5f.js → cell-upload-CjLmAmrx.js} +1 -1
  10. package/dist/{date-format-editor-BDkwE_r3.js → date-format-editor-BvMOnu8_.js} +1 -1
  11. package/dist/{date-time-props-CLttq7YV.js → date-time-props-BlCfAI-2.js} +2 -2
  12. package/dist/{date-time-style-CekvgyZk.js → date-time-style-iaoWzgJt.js} +1 -1
  13. package/dist/{decimal-display-mode-CqaSh2ls.js → decimal-display-mode-CBapqAse.js} +1 -1
  14. package/dist/{decimal-props-DEwnN1Q2.js → decimal-props-w8vIW26P.js} +5 -3
  15. package/dist/{decimal-style-CJWmQdHz.js → decimal-style-DHFNVhvh.js} +1 -1
  16. 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
  17. package/dist/{diagonal-design-CIopLvpL.js → diagonal-design-BizS498x.js} +1 -1
  18. package/dist/{double-props-TPv4fMW4.js → double-props-CYFLOVzy.js} +3 -3
  19. package/dist/{double-style-D6-yE_wb.js → double-style-DmKQVihS.js} +1 -1
  20. package/dist/{enum-design-DPpnnCBS.js → enum-design-upyui6-Q.js} +1 -1
  21. package/dist/{enum-props-BozGqUk1.js → enum-props-yxbdmogr.js} +2 -2
  22. package/dist/{enum-style-BqFQ-u6u.js → enum-style-BOcNGDz1.js} +2 -2
  23. package/dist/excel.css +495 -1
  24. package/dist/{expression-design-TmsclPp9.js → expression-design-q1dAYuEs.js} +1 -1
  25. package/dist/{expression-style-DO5M9Ajy.js → expression-style-B8IzNr0y.js} +1 -1
  26. package/dist/{file-design-D5w6xSTk.js → file-design-gZHj9Op8.js} +1 -1
  27. package/dist/{file-props-Bn7VgFDv.js → file-props-CVTWDt3n.js} +1 -1
  28. package/dist/{font-editor-CxA5Db2_.js → font-editor-CIVs3ds5.js} +1 -1
  29. package/dist/{image-design-DIWSfrcq.js → image-design-Cs3Iu9Rq.js} +1 -1
  30. package/dist/{image-props-5fStBp37.js → image-props-DY7iWz-p.js} +1 -1
  31. package/dist/{index-D56i-zWI.js → index-3c5jyp0H.js} +1 -1
  32. package/dist/{index-TurTXvNN.js → index-C8L2NmXe.js} +1 -1
  33. package/dist/{index-Fm6FGBuV.js → index-Co6IQUXW.js} +1 -1
  34. package/dist/{index-D7tSQpaj.js → index-CqU4WE9q.js} +1 -1
  35. package/dist/{index-CigaIXAe.js → index-DifLG137.js} +1 -1
  36. package/dist/{index-BKTmHFPX.js → index-O45aIP0d.js} +2956 -1602
  37. package/dist/index.es.js +19 -15
  38. package/dist/{integer-props-BjWENkem.js → integer-props-CC-f4ADN.js} +2 -2
  39. package/dist/{integer-style-CT8R9q-n.js → integer-style-CIvRKskQ.js} +1 -1
  40. package/dist/{org-props-DFbUC2TP.js → org-props-D-uKjxJ8.js} +1 -1
  41. package/dist/{org-style-DgGKHpDd.js → org-style-CTSneeEZ.js} +1 -1
  42. package/dist/{pagination-design-BgfX6d8b.js → pagination-design-DHyyK1YF.js} +1 -1
  43. package/dist/paper-widget-design-BzDMRbec.js +4 -0
  44. package/dist/{qrcode-design-80yZ4fJY.js → qrcode-design-Cv1U_tLU.js} +1 -1
  45. package/dist/{ref-autofill-editor-BIy-Jm0g.js → ref-autofill-editor-DdjUciLC.js} +1 -1
  46. package/dist/{ref-props-B_GWOIQV.js → ref-props-DrLbqECJ.js} +2 -2
  47. package/dist/{ref-style-Dw1h5H98.js → ref-style-BV_eK_or.js} +1 -1
  48. 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
  49. package/dist/{signature-design-DgMBF1dM.js → signature-design-CbDzTsgj.js} +1 -1
  50. package/dist/{signature-props-DbaXK1t8.js → signature-props-BkWQd4EP.js} +2 -2
  51. package/dist/{single-field-drop-gbyOxdwW.js → single-field-drop-DF5zYnk0.js} +1 -1
  52. package/dist/src/index.d.ts +2 -1
  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/{views/render/__components__/_common_/rangelimit/rangelimit-shower.vue.d.ts → components/version-diff/comps/user-avatar.vue.d.ts} +2 -3
  55. 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
  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/use-diff-sheet.d.ts +14 -0
  70. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/index.d.ts +2 -1
  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-Bnh_H2pu.js → text-design-DFtzBEcT.js} +1 -1
  75. package/dist/{text-design-CCmIloIc.js → text-design-ISafIyBi.js} +1 -1
  76. package/dist/{text-props-cPJGCpv2.js → text-props-Dp0IZbyX.js} +1 -1
  77. package/dist/{text-style-CD_4lxio.js → text-style-B5qZYv8P.js} +1 -1
  78. package/dist/{trace-design-BXQyDWnc.js → trace-design-CcRc_Em1.js} +1 -1
  79. package/dist/{trace-props-yQEe--Vy.js → trace-props-CStXAusV.js} +4 -4
  80. package/dist/{trace-style-DUJXCepn.js → trace-style-C2hsdG9S.js} +1 -1
  81. package/dist/{user-props-DVYxW97f.js → user-props-p-kB2mls.js} +1 -1
  82. package/dist/{user-style-jlKo2wS8.js → user-style-D_jPtKA_.js} +1 -1
  83. 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
  84. package/dist/{widget-barcode-DJ6E5SyP.js → widget-barcode-I5Mn77Dn.js} +2 -2
  85. package/dist/{widget-diagonal-CAg-NXwA.js → widget-diagonal-AW-PDhLK.js} +2 -2
  86. package/dist/{widget-image-BAoTYQSQ.js → widget-image-D_XgRUVn.js} +1 -1
  87. package/dist/{widget-line-Cm9PTXss.js → widget-line-3J_HpAQ8.js} +1 -1
  88. package/dist/{widget-pagination-DNPTBaOV.js → widget-pagination-CMm9Wc0O.js} +2 -2
  89. package/dist/{widget-power-cfqc0tm3.js → widget-power-DrEkw7Mj.js} +4 -2
  90. package/dist/{widget-qrcode-Cc6Iju1_.js → widget-qrcode-Du1Hspts.js} +2 -2
  91. package/dist/{widget-rangelimit-CIe0fkdQ.js → widget-rangelimit-Dqjtf3R-.js} +2 -2
  92. package/dist/{widget-serialnumber-DJ97P3Pb.js → widget-serialnumber-zHZNg_gD.js} +1 -1
  93. package/dist/{widget-text-66OkH_MY.js → widget-text-i4doVGPB.js} +3 -3
  94. package/dist/{widget-timediff-_PSHGrTL.js → widget-timediff-XPadJBfx.js} +1 -1
  95. package/package.json +1 -1
  96. package/dist/paper-widget-design-CAqW3laq.js +0 -4
  97. package/dist/src/online-form/src/components/esop/type.d.ts +0 -35
  98. package/dist/src/online-form/src/components/field-type-editor/editors/boolean-editor.vue.d.ts +0 -13
  99. package/dist/src/online-form/src/components/field-type-editor/editors/date-editor.vue.d.ts +0 -13
  100. package/dist/src/online-form/src/components/field-type-editor/editors/enum-editor.vue.d.ts +0 -13
  101. package/dist/src/online-form/src/components/field-type-editor/editors/index.d.ts +0 -6
  102. package/dist/src/online-form/src/components/field-type-editor/editors/number-editor.vue.d.ts +0 -13
  103. package/dist/src/online-form/src/components/field-type-editor/editors/text-editor.vue.d.ts +0 -13
  104. package/dist/src/online-form/src/components/field-type-editor/field-type-editor.vue.d.ts +0 -17
  105. package/dist/src/online-form/src/components/field-type-editor/index.d.ts +0 -2
  106. package/dist/src/online-form/src/components/field-type-editor/logic/index.d.ts +0 -8
  107. package/dist/src/online-form/src/components/field-type-editor/types/index.d.ts +0 -1
  108. package/dist/src/online-form/src/components/model-field-select/index.d.ts +0 -4
  109. package/dist/src/online-form/src/components/model-field-select/logic/index.d.ts +0 -10
  110. package/dist/src/online-form/src/components/model-field-select/model-field-select.vue.d.ts +0 -16
  111. package/dist/src/online-form/src/components/model-field-select/types/index.d.ts +0 -32
  112. package/dist/src/online-form/src/utils/common.d.ts +0 -1
  113. package/dist/src/online-form/src/views/render/__components__/_common_/rangelimit/use-rangelimit.d.ts +0 -18
  114. package/dist/src/shared/components/pdf-viewer/useObserver.d.ts +0 -15
  115. package/dist/src/shared/components/pdf-viewer/useVirtualWindow.d.ts +0 -38
  116. /package/dist/src/online-form/src/components/{device/constant.d.ts → version-diff/sheet/type.d.ts} +0 -0
@@ -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-BKTmHFPX.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-BPfw_Re6.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-BKTmHFPX.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,11 +1,11 @@
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-BKTmHFPX.js";
3
- import { D as DateFormatEditor } from "./date-format-editor-BDkwE_r3.js";
4
- import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-BIy-Jm0g.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
- import "ant-design-vue";
7
6
  import "lodash-es";
8
7
  import "dayjs";
8
+ import "ant-design-vue";
9
9
  import { A as AddRuleBtn } from "./index-DM8guHf_.js";
10
10
  const _hoisted_1 = { class: "mt-4px" };
11
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-BPfw_Re6.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DeOB4CbL.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "trace-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-BKTmHFPX.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-BPfw_Re6.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DeOB4CbL.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "user-style",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { u as useModelFields, c as useSpreadSheet, h as useDrop, p as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, q as SingleDrop, i as getFieldIcon } from "./index-BKTmHFPX.js";
3
+ import { u as useModelFields, c as useSpreadSheet, h as useDrop, p as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, q as SingleDrop, i as getFieldIcon } from "./index-O45aIP0d.js";
4
4
  import { m as PaperWidgeValueType, Y as ExpressionModeEnum, Z as ExpressionTabEnum } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
5
5
  import "dayjs";
6
6
  const _hoisted_1 = { class: "mt-4px" };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { c as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BKTmHFPX.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CgqZs-Ag.js";
2
+ import { c as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-O45aIP0d.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DYhI3w_m.js";
4
4
  import { a as PaperWidgeType } 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,9 +1,9 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
2
- import { F as FormItem, S as SelectEx } from "./index-BKTmHFPX.js";
2
+ import { F as FormItem, S as SelectEx } from "./index-O45aIP0d.js";
3
3
  import { defaults } from "lodash-es";
4
4
  import { E as useNamespace, F as FIELD_TYPE, _ as _export_sfc, K as DiagonalDirection } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
5
5
  import "dayjs";
6
- import { S as SingleFieldDrop } from "./single-field-drop-gbyOxdwW.js";
6
+ import { S as SingleFieldDrop } from "./single-field-drop-DF5zYnk0.js";
7
7
  import { message } from "ant-design-vue";
8
8
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
9
9
  __name: "diagonal-name-editor",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, reactive, ref, computed, watchEffect, createVNode, unref, createTextVNode, render, resolveComponent, openBlock, createElementBlock, Fragment, withCtx, createElementVNode, withModifiers, createCommentVNode, toDisplayString, renderList, createBlock } from "vue";
2
- import { L as LeftOutlined, R as RightOutlined, r as isClient, c as useSpreadSheet, F as FormItem, s as ImgParser } from "./index-BKTmHFPX.js";
2
+ import { L as LeftOutlined, R as RightOutlined, r as isClient, c as useSpreadSheet, F as FormItem, s as ImgParser } from "./index-O45aIP0d.js";
3
3
  import { S as SizeEditor } from "./size-editor-BSZoEseb.js";
4
4
  import { message } from "ant-design-vue";
5
5
  import { W as WidgetImageSizeMode, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
@@ -2,7 +2,7 @@ import { defineComponent, computed, resolveComponent, openBlock, createElementBl
2
2
  import { M as LineDirection } 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 { F as FormItem, v as LineStyleOptions, w as ColorPicker } from "./index-BKTmHFPX.js";
5
+ import { F as FormItem, v as LineStyleOptions, w as ColorPicker } from "./index-O45aIP0d.js";
6
6
  const _hoisted_1 = { class: "ks-row-middle" };
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "widget-line",
@@ -2,10 +2,10 @@ import { defineComponent, computed, resolveComponent, openBlock, createElementBl
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 { F as FormItem, x as PaginationFormatOptions } from "./index-BKTmHFPX.js";
5
+ import { F as FormItem, x as PaginationFormatOptions } from "./index-O45aIP0d.js";
6
6
  import { S as SizeEditor } from "./size-editor-BSZoEseb.js";
7
7
  import { A as AlignEditor } from "./align-editor-DPdYAGLc.js";
8
- import { F as FontEditor } from "./font-editor-CxA5Db2_.js";
8
+ import { F as FontEditor } from "./font-editor-CIVs3ds5.js";
9
9
  const _hoisted_1 = { class: "pl-6px" };
10
10
  const _hoisted_2 = { class: "pl-6px" };
11
11
  const DefaultCustomFormat = "Page ${no} / ${total}";
@@ -1,8 +1,10 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import { c as useSpreadSheet, d as useReverseModeling, F as FormItem } from "./index-BKTmHFPX.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-gbyOxdwW.js";
2
+ import { c as useSpreadSheet, d as useReverseModeling, F as FormItem } from "./index-O45aIP0d.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-DF5zYnk0.js";
4
4
  import { F as FIELD_TYPE, E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
5
5
  import { message } from "ant-design-vue";
6
+ import "lodash-es";
7
+ import "dayjs";
6
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
9
  __name: "widget-power",
8
10
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
2
- import { c as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-BKTmHFPX.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CgqZs-Ag.js";
2
+ import { c as useSpreadSheet, B as BwipCodeTypeOptions, F as FormItem } from "./index-O45aIP0d.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DYhI3w_m.js";
4
4
  import { a as PaperWidgeType } 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,6 +1,6 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, Fragment, renderList, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-BKTmHFPX.js";
3
- import { S as SingleFieldDrop } from "./single-field-drop-gbyOxdwW.js";
2
+ import { F as FormItem } from "./index-O45aIP0d.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-DF5zYnk0.js";
4
4
  import { F as FIELD_TYPE, E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
5
5
  import { message } from "ant-design-vue";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
2
- import { F as FormItem } from "./index-BKTmHFPX.js";
2
+ import { F as FormItem } from "./index-O45aIP0d.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "widget-serialnumber",
5
5
  props: {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode } from "vue";
2
- import { c as useSpreadSheet, F as FormItem } from "./index-BKTmHFPX.js";
3
- import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-CgqZs-Ag.js";
2
+ import { c as useSpreadSheet, F as FormItem } from "./index-O45aIP0d.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-DYhI3w_m.js";
4
4
  import { S as SizeEditor } from "./size-editor-BSZoEseb.js";
5
5
  import { A as AlignEditor } from "./align-editor-DPdYAGLc.js";
6
- import { F as FontEditor } from "./font-editor-CxA5Db2_.js";
6
+ import { F as FontEditor } from "./font-editor-CIVs3ds5.js";
7
7
  const _hoisted_1 = { class: "pl-6px" };
8
8
  const _hoisted_2 = { class: "pl-6px" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, unref, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
2
- import { c as useSpreadSheet, u as useModelFields, F as FormItem } from "./index-BKTmHFPX.js";
2
+ import { c as useSpreadSheet, u as useModelFields, F as FormItem } from "./index-O45aIP0d.js";
3
3
  import { F as FIELD_TYPE, T as TimeDiffFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/excel",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "GCT Excel online form rendering",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,4 +0,0 @@
1
- import { _ as _sfc_main } from "./index-BKTmHFPX.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,35 +0,0 @@
1
- export declare const fileParser: (file: any) => any;
2
- export declare const getFileType: (fileName: any) => fileTypeEnum;
3
- export declare enum UploadTypeEnum {
4
- JPG = "jpg",
5
- JPEG = "jpeg",
6
- PNG = "png",
7
- PDF = "pdf",
8
- MP4 = "mp4"
9
- }
10
- export declare enum fileTypeEnum {
11
- PICTURE = "picture",
12
- PDF = "pdf",
13
- VIDEO = "video",
14
- IFRAME = "iframe"
15
- }
16
- export declare const switchIcons: {
17
- icon: string;
18
- name: string;
19
- key: string;
20
- }[];
21
- export interface ISopDocument {
22
- id: string;
23
- name: string;
24
- file: string;
25
- type: string;
26
- url: string;
27
- pageNumber: number;
28
- }
29
- export interface ISelectedDocument {
30
- id: string;
31
- fileType: fileTypeEnum | string;
32
- sourceUrl: string | object;
33
- loading: boolean;
34
- startPage: number;
35
- }
@@ -1,13 +0,0 @@
1
- import { IModelField } from '../types';
2
- type __VLS_Props = {
3
- value?: unknown;
4
- fieldInfo: IModelField;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
- "update:value": (value: unknown) => any;
8
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- "onUpdate:value"?: ((value: unknown) => any) | undefined;
10
- }>, {
11
- value: undefined;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
- export default _default;
@@ -1,13 +0,0 @@
1
- import { IModelField } from '../../model-field-select';
2
- type __VLS_Props = {
3
- value?: unknown;
4
- fieldInfo: IModelField;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
- "update:value": (value: unknown) => any;
8
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- "onUpdate:value"?: ((value: unknown) => any) | undefined;
10
- }>, {
11
- value: undefined;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
- export default _default;
@@ -1,13 +0,0 @@
1
- import { IModelField } from '../../model-field-select';
2
- type __VLS_Props = {
3
- value?: unknown;
4
- fieldInfo: IModelField;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
- "update:value": (value: unknown) => any;
8
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- "onUpdate:value"?: ((value: unknown) => any) | undefined;
10
- }>, {
11
- value: undefined;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
- export default _default;
@@ -1,6 +0,0 @@
1
- import { default as TextEditor } from './text-editor.vue';
2
- import { default as NumberEditor } from './number-editor.vue';
3
- import { default as DateEditor } from './date-editor.vue';
4
- import { default as EnumEditor } from './enum-editor.vue';
5
- import { default as BooleanEditor } from './boolean-editor.vue';
6
- export { TextEditor, NumberEditor, DateEditor, EnumEditor, BooleanEditor };
@@ -1,13 +0,0 @@
1
- import { IModelField } from '../../model-field-select';
2
- type __VLS_Props = {
3
- value?: unknown;
4
- fieldInfo: IModelField;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
- "update:value": (value: unknown) => any;
8
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- "onUpdate:value"?: ((value: unknown) => any) | undefined;
10
- }>, {
11
- value: undefined;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
- export default _default;
@@ -1,13 +0,0 @@
1
- import { IModelField } from '../../model-field-select';
2
- type __VLS_Props = {
3
- value?: string;
4
- fieldInfo: IModelField;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
- "update:value": (value: string) => any;
8
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- "onUpdate:value"?: ((value: string) => any) | undefined;
10
- }>, {
11
- value: string;
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
- export default _default;
@@ -1,17 +0,0 @@
1
- import { FIELD_TYPE } from '../../../../shared/enum';
2
- import { IModelField } from './types';
3
- type __VLS_Props = {
4
- value?: unknown;
5
- fieldInfo?: IModelField;
6
- getEditorByType?: (type?: FIELD_TYPE) => any;
7
- };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
- "update:value": (value: unknown) => any;
10
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- "onUpdate:value"?: ((value: unknown) => any) | undefined;
12
- }>, {
13
- getEditorByType: (type?: FIELD_TYPE) => any;
14
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
- DesignRef: unknown;
16
- }, HTMLDivElement>;
17
- export default _default;
@@ -1,2 +0,0 @@
1
- import { default as FieldTypeEditor } from './field-type-editor.vue';
2
- export { FieldTypeEditor };
@@ -1,8 +0,0 @@
1
- import { FIELD_TYPE } from '../../../../../shared/enum';
2
- /**
3
- * 获取电子表单属性类型编辑器
4
- * @export
5
- * @param type
6
- * @return {*}
7
- */
8
- export declare function getEditorByOnlineFormType(type?: FIELD_TYPE): any;
@@ -1 +0,0 @@
1
- export type { IModelField } from '../../model-field-select';
@@ -1,4 +0,0 @@
1
- import { default as ModelFieldSelect } from './model-field-select.vue';
2
- import { useModelFieldSelect } from './logic';
3
- export * from './types';
4
- export { ModelFieldSelect, useModelFieldSelect };
@@ -1,10 +0,0 @@
1
- import { IModelField, IModelFieldGroup } from '../types';
2
- export declare function useModelFieldSelect(): {
3
- masterFieldsOptions: import('vue').ComputedRef<{
4
- value: string;
5
- label: string;
6
- }[]>;
7
- fieldOptionGroups: import('vue').ComputedRef<IModelFieldGroup[]>;
8
- calcModelFieldKey: (modelKey: string, fieldKey: string, subModelFieldKey?: string) => string;
9
- getModelFieldByKey: (key: string) => IModelField | undefined;
10
- };
@@ -1,16 +0,0 @@
1
- import { IModelField } from './types';
2
- type __VLS_Props = {
3
- value?: IModelField | IModelField[];
4
- multiple?: boolean;
5
- includeSubModel?: boolean;
6
- };
7
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
8
- "update:value": (value?: IModelField | IModelField[] | undefined) => any;
9
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
- "onUpdate:value"?: ((value?: IModelField | IModelField[] | undefined) => any) | undefined;
11
- }>, {
12
- value: IModelField | IModelField[];
13
- multiple: boolean;
14
- includeSubModel: boolean;
15
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
- export default _default;
@@ -1,32 +0,0 @@
1
- import { FIELD_TYPE } from '../../../../../shared/enum';
2
- export interface IModelField {
3
- /**
4
- * 字段所属模型key
5
- */
6
- model: string;
7
- /**
8
- * 字段的key
9
- */
10
- field: string;
11
- /**
12
- * 主模型里子模型关联字段
13
- */
14
- subModelField?: string;
15
- /**
16
- * 字段类型
17
- */
18
- fieldType: FIELD_TYPE;
19
- }
20
- /**
21
- * 模型字段分组
22
- * @export
23
- * @interface IModelFieldGroup
24
- */
25
- export interface IModelFieldGroup {
26
- key: string;
27
- label: string;
28
- options: Array<{
29
- value: string;
30
- label: string;
31
- }>;
32
- }
@@ -1 +0,0 @@
1
- export declare function sleep(time: number): Promise<unknown>;
@@ -1,18 +0,0 @@
1
- import { RangeLimitType } from '../../../../designer/enums';
2
- export type SaveDataObj = {
3
- type: RangeLimitType;
4
- min: number | undefined;
5
- max: number | undefined;
6
- standard: number | undefined;
7
- };
8
- export type LabelAlias = {
9
- upperLimit: string;
10
- lowerLimit: string;
11
- standard: string;
12
- upperTolerance: string;
13
- lowerTolerance: string;
14
- };
15
- export declare function openRangeLimitModal(value?: SaveDataObj, alias?: Partial<LabelAlias>): Promise<{
16
- ok: boolean;
17
- value: SaveDataObj;
18
- }>;
@@ -1,15 +0,0 @@
1
- declare const PDF_EMBED_ID = "pdf-viewer-embed";
2
- export { PDF_EMBED_ID };
3
- export declare function useObserver(): {
4
- pdfRef: import('vue').Ref<{
5
- $el?: HTMLElement | undefined;
6
- } | null, {
7
- $el?: HTMLElement;
8
- } | {
9
- $el?: HTMLElement | undefined;
10
- } | null>;
11
- pdfContainerRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
12
- currentPage: import('vue').Ref<number, number>;
13
- pageCount: import('vue').Ref<number, number>;
14
- doResizeObserver: (callback: (entry: ResizeObserverEntry) => void) => ResizeObserver;
15
- };
@@ -1,38 +0,0 @@
1
- import { Ref } from 'vue';
2
- export declare const WINDOW_RADIUS = 3;
3
- export declare const PAGE_GAP = 4;
4
- interface UseVirtualWindowOptions {
5
- pageCount: Ref<number>;
6
- pdfContainerRef: {
7
- value: HTMLElement | null;
8
- };
9
- pdfRef: {
10
- value: {
11
- $el?: HTMLElement;
12
- } | null;
13
- };
14
- width: Ref<number>;
15
- rotation: Ref<number>;
16
- currentPage: Ref<number>;
17
- pdfEmbedId: string;
18
- }
19
- export declare function useVirtualWindow(options: UseVirtualWindowOptions): {
20
- visiblePages: Ref<number[], number[]>;
21
- pageHeight: Ref<number, number>;
22
- totalHeight: import('vue').ComputedRef<number>;
23
- windowOffset: import('vue').ComputedRef<number>;
24
- windowMinHeight: import('vue').ComputedRef<number>;
25
- windowStart: Ref<number, number>;
26
- windowEnd: Ref<number, number>;
27
- isRendering: Ref<boolean, boolean>;
28
- updateWindow: (center: number) => boolean;
29
- measurePageHeight: () => Promise<void>;
30
- scrollToPage: (page: number) => void;
31
- jumpToPage: (page: number) => Promise<void>;
32
- onScroll: () => void;
33
- onRenderSettled: () => void;
34
- initWindow: (startPage?: number) => void;
35
- resetWindow: () => void;
36
- estimatePageHeight: () => number;
37
- };
38
- export {};