@gct-paas/excel 0.1.4 → 0.1.5

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 (97) hide show
  1. package/dist/{agg-design-C8kk8Kch.js → agg-design-CeJqg8FA.js} +1 -1
  2. package/dist/{agg-style-C_1CXG03.js → agg-style-BX2t2CGh.js} +1 -1
  3. package/dist/{attach-fields-editor-CIDhAemZ.js → attach-fields-editor-O4OIRRpB.js} +1 -1
  4. package/dist/{barcode-design-CoYVoEFn.js → barcode-design-DURI5-Q5.js} +1 -1
  5. package/dist/{base-font-editor-BPfw_Re6.js → base-font-editor-DuDr0oh2.js} +1 -1
  6. package/dist/{boolean-design-BXbr26D4.js → boolean-design-oQ9w0jT6.js} +1 -1
  7. package/dist/{boolean-props-nCzH09qP.js → boolean-props-TVey_bO1.js} +2 -2
  8. package/dist/{boolean-style-Cl18Y8qB.js → boolean-style-ahVosL-1.js} +3 -3
  9. package/dist/{cell-upload-CO49bM5f.js → cell-upload-bBdpI6ua.js} +1 -1
  10. package/dist/{date-format-editor-BDkwE_r3.js → date-format-editor-uNiiJFmw.js} +1 -1
  11. package/dist/{date-time-props-CLttq7YV.js → date-time-props-ufCr6G2X.js} +2 -2
  12. package/dist/{date-time-style-CekvgyZk.js → date-time-style-DLxfllnf.js} +1 -1
  13. package/dist/{decimal-display-mode-CqaSh2ls.js → decimal-display-mode-CbMnQBVa.js} +1 -1
  14. package/dist/{decimal-props-DEwnN1Q2.js → decimal-props-D7eRAxEu.js} +5 -3
  15. package/dist/{decimal-style-CJWmQdHz.js → decimal-style-CIOLsYek.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-Dt1QVHQ6.js} +1 -1
  17. package/dist/{diagonal-design-CIopLvpL.js → diagonal-design-Doz_EKCn.js} +1 -1
  18. package/dist/{double-props-TPv4fMW4.js → double-props-Do3bWECB.js} +3 -3
  19. package/dist/{double-style-D6-yE_wb.js → double-style--msZlxPG.js} +1 -1
  20. package/dist/{enum-design-DPpnnCBS.js → enum-design-BdHT6RDE.js} +1 -1
  21. package/dist/{enum-props-BozGqUk1.js → enum-props-D5XXv3x-.js} +2 -2
  22. package/dist/{enum-style-BqFQ-u6u.js → enum-style-DhrY3Nb3.js} +2 -2
  23. package/dist/{expression-design-TmsclPp9.js → expression-design-jkeo9bkU.js} +1 -1
  24. package/dist/{expression-style-DO5M9Ajy.js → expression-style-eJ70zjw3.js} +1 -1
  25. package/dist/{file-design-D5w6xSTk.js → file-design-mp0bI-tQ.js} +1 -1
  26. package/dist/{file-props-Bn7VgFDv.js → file-props-DfENXSNT.js} +1 -1
  27. package/dist/{font-editor-CxA5Db2_.js → font-editor-BgjVz_IS.js} +1 -1
  28. package/dist/{image-design-DIWSfrcq.js → image-design-CRtBjNLy.js} +1 -1
  29. package/dist/{image-props-5fStBp37.js → image-props-DaF9EaTG.js} +1 -1
  30. package/dist/{index-D7tSQpaj.js → index-7tuEFT4g.js} +1 -1
  31. package/dist/{index-BKTmHFPX.js → index-924ospJT.js} +26 -24
  32. package/dist/{index-Fm6FGBuV.js → index-DBg_HS_0.js} +1 -1
  33. package/dist/{index-TurTXvNN.js → index-DbGPzmbp.js} +1 -1
  34. package/dist/{index-D56i-zWI.js → index-DjrJwtC-.js} +1 -1
  35. package/dist/{index-CigaIXAe.js → index-GMmRcX1e.js} +1 -1
  36. package/dist/index.es.js +17 -15
  37. package/dist/{integer-props-BjWENkem.js → integer-props-DxpV-NTy.js} +2 -2
  38. package/dist/{integer-style-CT8R9q-n.js → integer-style-BDLAdzGV.js} +1 -1
  39. package/dist/{org-props-DFbUC2TP.js → org-props-0IzW6XsJ.js} +1 -1
  40. package/dist/{org-style-DgGKHpDd.js → org-style-DdpRlrHO.js} +1 -1
  41. package/dist/{pagination-design-BgfX6d8b.js → pagination-design-v9j51aeB.js} +1 -1
  42. package/dist/paper-widget-design-fyF-x54_.js +4 -0
  43. package/dist/{qrcode-design-80yZ4fJY.js → qrcode-design-CmeowsPt.js} +1 -1
  44. package/dist/{ref-autofill-editor-BIy-Jm0g.js → ref-autofill-editor--L_WtK7J.js} +1 -1
  45. package/dist/{ref-props-B_GWOIQV.js → ref-props-jxfaWPha.js} +2 -2
  46. package/dist/{ref-style-Dw1h5H98.js → ref-style-CaMOimNG.js} +1 -1
  47. 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-DWza8j-a.js} +1 -1
  48. package/dist/{signature-design-DgMBF1dM.js → signature-design-DJ59c5xR.js} +1 -1
  49. package/dist/{signature-props-DbaXK1t8.js → signature-props-CfLmfzHT.js} +2 -2
  50. package/dist/{single-field-drop-gbyOxdwW.js → single-field-drop-BpgydSeT.js} +1 -1
  51. package/dist/src/index.d.ts +1 -1
  52. package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/index.d.ts +2 -1
  53. package/dist/{text-design-Bnh_H2pu.js → text-design-B1cCBOad.js} +1 -1
  54. package/dist/{text-design-CCmIloIc.js → text-design-GhDOCEKW.js} +1 -1
  55. package/dist/{text-props-cPJGCpv2.js → text-props-C87CNZwJ.js} +1 -1
  56. package/dist/{text-style-CD_4lxio.js → text-style-lLe-3Jf4.js} +1 -1
  57. package/dist/{trace-design-BXQyDWnc.js → trace-design-DGwi2jEJ.js} +1 -1
  58. package/dist/{trace-props-yQEe--Vy.js → trace-props-BatGqfOz.js} +4 -4
  59. package/dist/{trace-style-DUJXCepn.js → trace-style-DJIQyozK.js} +1 -1
  60. package/dist/{user-props-DVYxW97f.js → user-props-CwnMl96x.js} +1 -1
  61. package/dist/{user-style-jlKo2wS8.js → user-style-C8ZQPaes.js} +1 -1
  62. package/dist/{value-editor.vue_vue_type_style_index_0_lang-CgqZs-Ag.js → value-editor.vue_vue_type_style_index_0_lang-f3d5bm3X.js} +1 -1
  63. package/dist/{widget-barcode-DJ6E5SyP.js → widget-barcode-B0QQXeUU.js} +2 -2
  64. package/dist/{widget-diagonal-CAg-NXwA.js → widget-diagonal-DYSwEOPP.js} +2 -2
  65. package/dist/{widget-image-BAoTYQSQ.js → widget-image-F3Kxsxt8.js} +1 -1
  66. package/dist/{widget-line-Cm9PTXss.js → widget-line-BAXnpy9r.js} +1 -1
  67. package/dist/{widget-pagination-DNPTBaOV.js → widget-pagination-Z8i0xx7v.js} +2 -2
  68. package/dist/{widget-power-cfqc0tm3.js → widget-power-hn2k4-Ug.js} +4 -2
  69. package/dist/{widget-qrcode-Cc6Iju1_.js → widget-qrcode-fftrW5Nj.js} +2 -2
  70. package/dist/{widget-rangelimit-CIe0fkdQ.js → widget-rangelimit-BDivDS-G.js} +2 -2
  71. package/dist/{widget-serialnumber-DJ97P3Pb.js → widget-serialnumber-1QCmac2g.js} +1 -1
  72. package/dist/{widget-text-66OkH_MY.js → widget-text-B51VrEKQ.js} +3 -3
  73. package/dist/{widget-timediff-_PSHGrTL.js → widget-timediff-DpN47Ghj.js} +1 -1
  74. package/package.json +1 -1
  75. package/dist/paper-widget-design-CAqW3laq.js +0 -4
  76. package/dist/src/online-form/src/components/device/constant.d.ts +0 -1
  77. package/dist/src/online-form/src/components/esop/type.d.ts +0 -35
  78. package/dist/src/online-form/src/components/field-type-editor/editors/boolean-editor.vue.d.ts +0 -13
  79. package/dist/src/online-form/src/components/field-type-editor/editors/date-editor.vue.d.ts +0 -13
  80. package/dist/src/online-form/src/components/field-type-editor/editors/enum-editor.vue.d.ts +0 -13
  81. package/dist/src/online-form/src/components/field-type-editor/editors/index.d.ts +0 -6
  82. package/dist/src/online-form/src/components/field-type-editor/editors/number-editor.vue.d.ts +0 -13
  83. package/dist/src/online-form/src/components/field-type-editor/editors/text-editor.vue.d.ts +0 -13
  84. package/dist/src/online-form/src/components/field-type-editor/field-type-editor.vue.d.ts +0 -17
  85. package/dist/src/online-form/src/components/field-type-editor/index.d.ts +0 -2
  86. package/dist/src/online-form/src/components/field-type-editor/logic/index.d.ts +0 -8
  87. package/dist/src/online-form/src/components/field-type-editor/types/index.d.ts +0 -1
  88. package/dist/src/online-form/src/components/model-field-select/index.d.ts +0 -4
  89. package/dist/src/online-form/src/components/model-field-select/logic/index.d.ts +0 -10
  90. package/dist/src/online-form/src/components/model-field-select/model-field-select.vue.d.ts +0 -16
  91. package/dist/src/online-form/src/components/model-field-select/types/index.d.ts +0 -32
  92. package/dist/src/online-form/src/utils/common.d.ts +0 -1
  93. package/dist/src/online-form/src/views/render/__components__/_common_/rangelimit/rangelimit-modal.vue.d.ts +0 -9
  94. package/dist/src/online-form/src/views/render/__components__/_common_/rangelimit/rangelimit-shower.vue.d.ts +0 -6
  95. package/dist/src/online-form/src/views/render/__components__/_common_/rangelimit/use-rangelimit.d.ts +0 -18
  96. package/dist/src/shared/components/pdf-viewer/useObserver.d.ts +0 -15
  97. package/dist/src/shared/components/pdf-viewer/useVirtualWindow.d.ts +0 -38
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./index-924ospJT.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-BKTmHFPX.js";
2
+ import { B as BwipCodeTypeOptions, n as loadBwip } from "./index-924ospJT.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-BKTmHFPX.js";
3
+ import { u as useModelFields, k as SEARCH_TYPE, F as FormItem, e as draggableComponent, t as transformMappingField4Auto } from "./index-924ospJT.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-BKTmHFPX.js";
4
- import { _ as _sfc_main$3, R as RefAutofillEditor } from "./ref-autofill-editor-BIy-Jm0g.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";
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-BPfw_Re6.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-DuDr0oh2.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-BKTmHFPX.js";
2
+ import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-924ospJT.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-CO49bM5f.js";
2
+ import { C as CellUpload } from "./cell-upload-bBdpI6ua.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-BKTmHFPX.js";
5
- import { A as AttachFieldEditor } from "./attach-fields-editor-CIDhAemZ.js";
4
+ import { F as FormItem, S as SelectEx } from "./index-924ospJT.js";
5
+ import { A as AttachFieldEditor } from "./attach-fields-editor-O4OIRRpB.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-BKTmHFPX.js";
3
+ import { h as useDrop, T as TransferType, u as useModelFields, i as getFieldIcon, q as SingleDrop } from "./index-924ospJT.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "single-field-drop",
6
6
  props: {
@@ -9,7 +9,7 @@ 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';
@@ -1,4 +1,5 @@
1
1
  import { useReverseModeling, isReverseModelingEnabled } from './useReverseModeling';
2
2
  import { calcUsedFields } from './utils';
3
- export { useReverseModeling, isReverseModelingEnabled, calcUsedFields };
3
+ import { FieldSceneType, scanField } from './scan-field';
4
+ export { useReverseModeling, isReverseModelingEnabled, calcUsedFields, FieldSceneType, scanField, };
4
5
  export type * from './types';
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
2
- import { C as CellWidgetRenderComp } from "./index-BKTmHFPX.js";
2
+ import { C as CellWidgetRenderComp } from "./index-924ospJT.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-BKTmHFPX.js";
5
+ import { c as useSpreadSheet, u as useModelFields } from "./index-924ospJT.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-BKTmHFPX.js";
2
+ import { F as FormItem, C as CellWidgetRenderComp } from "./index-924ospJT.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-DuDr0oh2.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-924ospJT.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-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";
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-DuDr0oh2.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-924ospJT.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-DuDr0oh2.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-924ospJT.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-924ospJT.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-f3d5bm3X.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-924ospJT.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-BpgydSeT.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-924ospJT.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-924ospJT.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-924ospJT.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-BgjVz_IS.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-924ospJT.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-BpgydSeT.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-924ospJT.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-f3d5bm3X.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-924ospJT.js";
3
+ import { S as SingleFieldDrop } from "./single-field-drop-BpgydSeT.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-924ospJT.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-924ospJT.js";
3
+ import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-f3d5bm3X.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-BgjVz_IS.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-924ospJT.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.5",
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,9 +0,0 @@
1
- import { LabelAlias, SaveDataObj } from './use-rangelimit';
2
- type __VLS_Props = {
3
- alias?: Partial<LabelAlias>;
4
- value?: SaveDataObj;
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
- formRef: unknown;
8
- }, any>;
9
- export default _default;
@@ -1,6 +0,0 @@
1
- import { SaveDataObj } from './use-rangelimit';
2
- type __VLS_Props = {
3
- value?: SaveDataObj;
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, {}, any>;
6
- export default _default;
@@ -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
- }>;