@gct-paas/excel 0.1.8 → 0.1.10

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 (145) hide show
  1. package/dist/{Scrollbar-ItXnmXjn.js → Scrollbar-DU7XY6Tv.js} +2 -2
  2. package/dist/{VueVideoPlayer-D_JCaBRP.js → VueVideoPlayer-CMvTuDff.js} +2 -2
  3. package/dist/{agg-design-Dlaho0dN.js → agg-design-DSUOcvss.js} +1 -1
  4. package/dist/{agg-props-CuW1E60t.js → agg-props-DUuDjQY_.js} +1 -1
  5. package/dist/{agg-style-CjCfoKgy.js → agg-style-DXJFcoQ9.js} +1 -1
  6. package/dist/{align-editor-BOkEX-h7.js → align-editor-38Glzc8q.js} +1 -1
  7. package/dist/{attach-fields-editor-BXrNjzQX.js → attach-fields-editor-Dn2Yy5nY.js} +2 -2
  8. package/dist/{barcode-design-xLuaKSi6.js → barcode-design-jvWYD2Xr.js} +2 -2
  9. package/dist/base/index.es.js +45 -45
  10. package/dist/{base-font-editor-DbYsxlOh.js → base-font-editor-nqV0oxgD.js} +2 -2
  11. package/dist/{boolean-design-OkuUp22M.js → boolean-design-GMYZRuKD.js} +2 -2
  12. package/dist/{boolean-props-B5m_PgKt.js → boolean-props-ByLQsoom.js} +3 -3
  13. package/dist/{boolean-style-B7N-WuMj.js → boolean-style-B14XUv1-.js} +4 -4
  14. package/dist/{cell-upload-BeUIC886.js → cell-upload-fhog0uI2.js} +2 -2
  15. package/dist/{date-format-editor-wa65m5uZ.js → date-format-editor-DKMCTOBS.js} +2 -2
  16. package/dist/{date-time-design-CV9aUo5N.js → date-time-design-CxF-IxYA.js} +1 -1
  17. package/dist/{date-time-props-D-n0kqAn.js → date-time-props-B3AEpDsN.js} +3 -3
  18. package/dist/{date-time-style-DAlPp610.js → date-time-style-BKA_x-bV.js} +1 -1
  19. package/dist/{decimal-design-CLDGVVnf.js → decimal-design-DyE6Gswv.js} +1 -1
  20. package/dist/{decimal-display-mode-D_LvJqzi.js → decimal-display-mode-CpwAn2A8.js} +2 -2
  21. package/dist/{decimal-props-D8Ygc6VQ.js → decimal-props-0BTM_idP.js} +4 -4
  22. package/dist/{decimal-style-BcCUuTLl.js → decimal-style-CYQEfIde.js} +1 -1
  23. package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BrAnXsaj.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BZaCfT4R.js} +2 -2
  24. package/dist/{diagonal-design-D32tSHSj.js → diagonal-design-Ce4CXHbc.js} +2 -2
  25. package/dist/{double-design-gCeJ5vj0.js → double-design-TFWMopYs.js} +1 -1
  26. package/dist/{double-props-oBcw__wg.js → double-props-zMz2whf4.js} +4 -4
  27. package/dist/{double-style-Bvp07Zcu.js → double-style-DuuGu-Er.js} +1 -1
  28. package/dist/{edit.utils-CXmmCnxE-BR6-ggZT.js → edit.utils-CXmmCnxE-CUM4QnEZ.js} +1 -1
  29. package/dist/{enum-design-hJQ6ySMI.js → enum-design-_zGZwm9c.js} +2 -2
  30. package/dist/{enum-props-dGM0iD7m.js → enum-props-YYF6GGfi.js} +4 -4
  31. package/dist/{enum-style-Drw1B_MC.js → enum-style-8qL4ky4j.js} +2 -2
  32. package/dist/{error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js → error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js} +350 -19492
  33. package/dist/excel.css +297 -297
  34. package/dist/{exceljs.min-C3Nh2uvi.js → exceljs.min-RBJrN_T3.js} +2 -2
  35. package/dist/{expression-design-Dv4DVpEd.js → expression-design-DTUsd-6p.js} +1 -1
  36. package/dist/{expression-props-BqkoVR1e.js → expression-props-BZ3crWLN.js} +1 -1
  37. package/dist/{expression-style-D_xLKfxS.js → expression-style-C6n91tvo.js} +1 -1
  38. package/dist/{file-design-BEKydN11.js → file-design-kaHx_-gr.js} +1 -1
  39. package/dist/{file-props-C143qBZs.js → file-props-DXYYpAO7.js} +2 -2
  40. package/dist/{file-style-CRedOXby.js → file-style-C2RuYlmp.js} +1 -1
  41. package/dist/{font-editor-DmRH4Tux.js → font-editor-qHOZRLz-.js} +3 -3
  42. package/dist/{form-annotation-controller-CW_ZzGOh.js → form-annotation-controller-B8-4KSZG.js} +2 -2
  43. package/dist/{image-design-BeLBZTbn.js → image-design-BulJxvq7.js} +2 -2
  44. package/dist/{image-design-DT7WEhpr.js → image-design-RFizg3Vb.js} +2 -2
  45. package/dist/{image-props-_aKrTkUk.js → image-props-f6Q4fnxz.js} +1 -1
  46. package/dist/{image-style-DGX8lOE2.js → image-style-CmjaRNMh.js} +1 -1
  47. package/dist/{index-DTfLeOwR.js → index-1od8xduY.js} +1 -1
  48. package/dist/{index-C2_dgQvH.js → index-B3ctahF2.js} +1 -1
  49. package/dist/{index-D06TNaVu.js → index-BEcpuLN1.js} +2 -2
  50. package/dist/{index-D8MyXPZ4.js → index-BFi6q-2K.js} +938 -1303
  51. package/dist/{index-DgLFFP6D.js → index-BIryBPVR.js} +1 -1
  52. package/dist/{index-BwbTmxrM.js → index-BMf-DwO1.js} +1 -1
  53. package/dist/{index-D7jJ07ka.js → index-BO_UpNHR.js} +2 -2
  54. package/dist/{index-BSDRmtXM.js → index-BeWVFpEV.js} +1 -1
  55. package/dist/{index-DcXyYLNC.js → index-BxKLtuwY.js} +1 -1
  56. package/dist/{index-BaycTLi6.js → index-C1lMidaD.js} +1 -1
  57. package/dist/{index-DPSTWMGh.js → index-C6ftlqV_.js} +1 -1
  58. package/dist/{index-CRQYcesT.js → index-CFfMJckH.js} +2 -2
  59. package/dist/{index-7iGDMpfW.js → index-CHBhnhAn.js} +1 -1
  60. package/dist/{index-CI4pQaiD.js → index-CLxVNZ0S.js} +2 -2
  61. package/dist/{index-DBJBFDjJ.js → index-CXeN4UYP.js} +1 -1
  62. package/dist/{index-GLAva8ZG.js → index-CjG-TdnG.js} +1 -1
  63. package/dist/{index-CvyRFvC_.js → index-CzSqf6Hs.js} +1 -1
  64. package/dist/{index-Acv3FIjb.js → index-D-AdIQcy.js} +1 -1
  65. package/dist/{index-DgFRO1-J.js → index-D7-l8lfx.js} +1 -1
  66. package/dist/{index-BzfegN03.js → index-DFjphzbB.js} +1 -1
  67. package/dist/{index-Do_e5kUC.js → index-DFwEef7S.js} +1 -1
  68. package/dist/{index-DTiVQwr_.js → index-DP84iJtH.js} +1 -1
  69. package/dist/{index-CyhrMgrm.js → index-DT8XWPbq.js} +1 -1
  70. package/dist/{index-B_7zILvk.js → index-DWBzq0eX.js} +1 -1
  71. package/dist/{index-D-yv73SE.js → index-DsgwL7X3.js} +1 -1
  72. package/dist/{index-D5IF-R7P.js → index-KFQWc3Mv.js} +1 -1
  73. package/dist/{index-Df2Vo0Ye.js → index-NdJv01gG.js} +1 -1
  74. package/dist/{index-C4HtCDW4.js → index-YyaQ8A3a.js} +1 -1
  75. package/dist/{index-dq7r_RYY.js → index-ZOihLI1B.js} +2 -2
  76. package/dist/{index-CtfhWzKD.js → index-bl-YFdLz.js} +1 -1
  77. package/dist/{index-CQe9OxgH.js → index-l_IgRe07.js} +1 -1
  78. package/dist/{index-DUCQQFn0.js → index-qBZTRtu8.js} +1 -1
  79. package/dist/{index-BLZ_hRTK.js → index-s6BJSM78.js} +2 -2
  80. package/dist/index.es.js +5 -3
  81. package/dist/{integer-design-D8hXZxfd.js → integer-design-D1Sz5KOt.js} +1 -1
  82. package/dist/{integer-props-DE_cLFo0.js → integer-props-BVn6_GFq.js} +4 -4
  83. package/dist/{integer-style-C59L1Fz_.js → integer-style-BJoAwG-C.js} +1 -1
  84. package/dist/{mb-render-DKBe0Ofq.js → mb-render-DUf_FRYp.js} +1 -1
  85. package/dist/{number-input-ex-uzH25mlm.js → number-input-ex-Do_j6JVf.js} +1 -1
  86. package/dist/{org-props-BtpiR11a.js → org-props-OGuMPH9u.js} +2 -2
  87. package/dist/{org-style-CwR28AWD.js → org-style-DplgPRLB.js} +1 -1
  88. package/dist/{pagination-design-DNC2altD.js → pagination-design-ZPU0P0mv.js} +2 -2
  89. package/dist/paper-widget-design-Dmb7x_dI.js +4 -0
  90. package/dist/{qrcode-design-DwScbFvx.js → qrcode-design-D71B7lLo.js} +1 -1
  91. package/dist/{ref-autofill-editor-mNz92zVn.js → ref-autofill-editor-B7YFyDkP.js} +3 -3
  92. package/dist/{ref-props-CHFGEWYL.js → ref-props-C-9Svfjx.js} +3 -3
  93. package/dist/{ref-style-CXNrmEQv.js → ref-style-DhUqDfu_.js} +1 -1
  94. package/dist/{revo-grid.entry-Cpb8i20g.js → revo-grid.entry-CkYTL6uD.js} +1 -1
  95. package/dist/{revogr-attribution_7.entry-CPZaTq4Y.js → revogr-attribution_7.entry-IPm8d_lv.js} +3 -3
  96. package/dist/{revogr-clipboard_3.entry-DalNdQaP.js → revogr-clipboard_3.entry-fXXemX7X.js} +2 -2
  97. package/dist/{revogr-data_4.entry-CM4cHPV6.js → revogr-data_4.entry-B9ObmBJv.js} +2 -2
  98. package/dist/{revogr-filter-panel.entry-BF920dCI.js → revogr-filter-panel.entry-CryNqKkG.js} +1 -1
  99. package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-Bh07ABSj.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-BBnYNkx7.js} +2 -2
  100. package/dist/{serialnumber-design-CI5lC_ej.js → serialnumber-design-BDWOVP9j.js} +1 -1
  101. package/dist/shared/index.es.js +18 -16
  102. package/dist/{signature-design-DJWRgvao.js → signature-design-CyBUAY7M.js} +1 -1
  103. package/dist/{signature-props-Dc5pIrPh.js → signature-props-CaqxYcLH.js} +3 -3
  104. package/dist/{signature-style-DWP05B6X.js → signature-style-AnGTn3lY.js} +1 -1
  105. package/dist/{single-field-drop-f3HPC0yB.js → single-field-drop-C7Nk_5KU.js} +2 -2
  106. package/dist/{size-editor-CWmF8mGj.js → size-editor-BOCyIQEL.js} +1 -1
  107. package/dist/src/adapter/adapter.d.ts +1 -0
  108. package/dist/src/adapter/setup.d.ts +5 -4
  109. package/dist/src/index.d.ts +1 -0
  110. package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +2 -2
  111. package/dist/src/nocode-base/src/hooks/form-model/fetcher.d.ts +4 -4
  112. package/dist/src/nocode-base/src/hooks/model-relation/index.d.ts +1 -1
  113. package/dist/src/nocode-base/src/hooks/service-util/sn-rule.d.ts +1 -1
  114. package/dist/src/nocode-base/src/interface/data.d.ts +3 -3
  115. package/dist/src/nocode-base/src/interface/util.d.ts +2 -2
  116. package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -1
  117. package/dist/src/shared/index.d.ts +1 -0
  118. package/dist/src/shared/utils/host-api.d.ts +11 -0
  119. package/dist/{text-design-Mf7QQpiT.js → text-design-B0rGCiYj.js} +2 -2
  120. package/dist/{text-design-DzWXocgM.js → text-design-Ddv2RyHn.js} +2 -2
  121. package/dist/{text-props--u1owVKL.js → text-props-DU4PmTx7.js} +4 -4
  122. package/dist/{text-style-DUSQaVqY.js → text-style-D618B5Gx.js} +1 -1
  123. package/dist/{throttle-Cpk1LoGk-kCr-MyT1.js → throttle-Cpk1LoGk-Cia5bjua.js} +1 -1
  124. package/dist/{timediff-design-WzJ0Mr1q.js → timediff-design-COXSrAFg.js} +1 -1
  125. package/dist/{trace-design-DNRgLvSS.js → trace-design-NcADpj5o.js} +2 -2
  126. package/dist/{trace-props-C4yE-UtG.js → trace-props-XDjO68yP.js} +5 -5
  127. package/dist/{trace-style-C6PPCV58.js → trace-style-CABcgS_d.js} +1 -1
  128. package/dist/{user-props-05sDvmSi.js → user-props-BWBKljJy.js} +2 -2
  129. package/dist/{user-style-Dzt5Ez2O.js → user-style-QW2Z4Qbc.js} +1 -1
  130. package/dist/{value-editor.vue_vue_type_style_index_0_lang-BK6uUS-y.js → value-editor.vue_vue_type_style_index_0_lang-CJBFuplw.js} +2 -2
  131. package/dist/{version-select-CAIKTCnx.js → version-select-jJiM2LxP.js} +350 -12
  132. package/dist/web-render/index.es.js +4 -4
  133. package/dist/{widget-barcode-D7AQdmZ3.js → widget-barcode-DYhAC1Yp.js} +4 -4
  134. package/dist/{widget-diagonal-Bj8v4aum.js → widget-diagonal-CKygD6QJ.js} +3 -3
  135. package/dist/{widget-image-DDhGflkN.js → widget-image-Br_X3xOI.js} +5 -5
  136. package/dist/{widget-line-LoHUAzFI.js → widget-line-Bl1xW6vy.js} +2 -2
  137. package/dist/{widget-pagination-DccSKieH.js → widget-pagination-CoWkKGrT.js} +5 -5
  138. package/dist/{widget-power-BRmdNPwS.js → widget-power-BRL6a5xe.js} +3 -3
  139. package/dist/{widget-qrcode-CcvJbvod.js → widget-qrcode-DAEwHC51.js} +3 -3
  140. package/dist/{widget-rangelimit-WNY2zx6q.js → widget-rangelimit-X7bsZe4l.js} +3 -3
  141. package/dist/{widget-serialnumber-DFm4p1FY.js → widget-serialnumber-COSAexI1.js} +1 -1
  142. package/dist/{widget-text-BzHVZZuo.js → widget-text-DSkYEZL2.js} +5 -5
  143. package/dist/{widget-timediff-BWbVyU12.js → widget-timediff-3QixVkQA.js} +2 -2
  144. package/package.json +3 -2
  145. package/dist/paper-widget-design-DrXL74r3.js +0 -4
@@ -1,4 +1,4 @@
1
- import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
1
+ import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
2
2
  const _sfc_main = {};
3
3
  function _sfc_render(_ctx, _cache) {
4
4
  return null;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
2
- import { J as useNamespace, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
3
- import { h as useDrop, T as TransferType, u as useModelFields, i as getFieldIcon, q as SingleDrop } from "./index-D8MyXPZ4.js";
2
+ import { J as useNamespace, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
3
+ import { h as useDrop, T as TransferType, u as useModelFields, i as getFieldIcon, q as SingleDrop } from "./index-BFi6q-2K.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "single-field-drop",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
2
- import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
2
+ import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
3
3
  const _hoisted_1 = { class: "row" };
4
4
  const _hoisted_2 = { class: "row mt-6px" };
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -112,6 +112,7 @@ export interface ExcelHostUtils {
112
112
  *
113
113
  * 挂到 window,避免 base ↔ adapter/setup ↔ web-render 的静态循环依赖。
114
114
  * 消费侧(尤其 nocode-base)请用 `window.NocodeAdapter`,不要 import 本模块。
115
+ * API 请用 `_gct.api`(包内通过 `@gct-paas/excel/shared/utils/host-api` 代理)。
115
116
  */
116
117
  export declare class NocodeAdapter {
117
118
  /** 通用消息弹出等行为 */
@@ -1,4 +1,3 @@
1
- import { AxiosInstance } from 'axios';
2
1
  import { NocodeAdapter, ExcelHostHooks, ExcelHostStores, ExcelApis, ExcelHostUtils } from './adapter';
3
2
  import { App, Component } from 'vue';
4
3
  export type ExcelPlatform = 'web' | 'none';
@@ -17,8 +16,6 @@ export interface ExcelSetupOptions {
17
16
  * none:不注入默认实现,由宿主自行给 NocodeAdapter 赋值
18
17
  */
19
18
  platform?: ExcelPlatform;
20
- /** 宿主 HTTP 拦截器(请求头、鉴权等) */
21
- interceptors?: (axios: AxiosInstance) => void;
22
19
  /** 附件minio路径 */
23
20
  minioPath?: string;
24
21
  /** 宿主 hooks */
@@ -61,7 +58,11 @@ export interface ExcelSetupOptions {
61
58
  /** 宿主 API */
62
59
  apis?: ExcelApis;
63
60
  /**
64
- * 宿主工具方法(overlay / GctPopup / GctDialog / 公式识别/计算等)
61
+ * 宿主工具方法(overlay / GctPopup / GctDialog / 公式等)
62
+ *
63
+ * API 不走 setup:直接使用全局 `_gct.api` / `_gct.HttpUtil`
64
+ * - 本地 demo:main.ts 中 `_gct.api = api` 并自行 HttpUtil.use(interceptors)
65
+ * - 线上宿主:已有 `_gct`
65
66
  *
66
67
  * GctPopup:移动端弹层,替代原 `import { GctPopup } from '@mobile/utils/popup'`
67
68
  * - 业务侧:`window.NocodeAdapter.utils!.GctPopup!.open(Comp, options, slots?)`
@@ -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 { OnlineFormModelSelect, OnlineFormModelModal, } from './shared/components/online-form-model-select';
17
18
  export { openVersionDiff, VersionDiffPreviewRouter, } from './online-form/src/components/version-diff';
18
19
  export type { CellWidget } from './online-form/src/views/designer/types/cell-widget';
19
20
  export type { PaperWidget } from './online-form/src/views/types/paper-widget';
@@ -3,13 +3,13 @@
3
3
  * @export
4
4
  * @return {*}
5
5
  */
6
- export declare function getAppInfo(): Promise<import('@gct-paas/api/apaas').GetAppResponse>;
6
+ export declare function getAppInfo(): any;
7
7
  /**
8
8
  * 获取套件信息
9
9
  * @export
10
10
  * @return {*}
11
11
  */
12
- export declare function getSuiteKey(): Promise<string | undefined>;
12
+ export declare function getSuiteKey(): Promise<any>;
13
13
  /**
14
14
  * 是否是edhr应用套件
15
15
  * @export
@@ -8,9 +8,9 @@ import { FieldMetaDTO } from '@gct-paas/api/apaas';
8
8
  export declare class BaseFormModelFetcher implements IFormModelFetcher {
9
9
  /** 默认接口 */
10
10
  apis: {
11
- getFieldMetaList: (query: import('@gct-paas/api/apaas/apis/field-meta.service').getListQuery, config?: Partial<import('axios').AxiosRequestConfig>) => Promise<FieldMetaDTO[]>;
12
- getModelMetaSubModelList: (query: import('@gct-paas/api/apaas/apis/model-comprehensive.service').getSubModelListQuery, config?: Partial<import('axios').AxiosRequestConfig>) => Promise<import('@gct-paas/api/apaas').ModelMetaDTO[]>;
13
- getModelDetail2FieldList: (query: import('@gct-paas/api/apaas/apis/model-meta.service').getDetailQuery, config?: Partial<import('axios').AxiosRequestConfig>) => Promise<import('@gct-paas/api/apaas').ModelMetaDTO>;
11
+ getFieldMetaList: any;
12
+ getModelMetaSubModelList: any;
13
+ getModelDetail2FieldList: any;
14
14
  };
15
15
  /**
16
16
  * 模型映射缓存
@@ -32,7 +32,7 @@ export declare class BaseFormModelFetcher implements IFormModelFetcher {
32
32
  * @param [modelKey=this.model]
33
33
  * @return {*}
34
34
  */
35
- loadModelFields(modelKey: string): Promise<FieldMetaDTO[] | undefined>;
35
+ loadModelFields(modelKey: string): Promise<any>;
36
36
  /**
37
37
  * 加载表单所有子表字段对应模型的字段信息集合
38
38
  */
@@ -7,4 +7,4 @@
7
7
  export declare function getModelQueries(opts: {
8
8
  /** 主批次号 */
9
9
  mainMaterialNo?: string;
10
- }): Promise<object>;
10
+ }): Promise<any>;
@@ -1,4 +1,4 @@
1
- export declare function preview(str: string): Promise<string | undefined>;
1
+ export declare function preview(str: string): Promise<any>;
2
2
  /**
3
3
  * 根据序列号规则生产对应的序列号
4
4
  * @export
@@ -2,9 +2,9 @@ import { FormTypeEnum, ViewTypeEnum } from '../constant';
2
2
  /** 数据基础接口工具类 */
3
3
  export declare const baseDataUtils: {
4
4
  baseApis: {
5
- getOneData2SqlView: (path: import('@gct-paas/api/apaas/apis/sql-view.service').postBizServiceModelKeyBsKeyPathParams, query: import('@gct-paas/api/apaas/apis/sql-view.service').postBizServiceModelKeyBsKeyQuery, data: IObject, config?: Partial<import('axios').AxiosRequestConfig>) => Promise<object>;
6
- getOneData2ViewModel: (path: import('@gct-paas/api/apaas/apis/view-model.service').postBizServiceModelKeyBsKeyPathParams, query: import('@gct-paas/api/apaas/apis/view-model.service').postBizServiceModelKeyBsKeyQuery, data: IObject, config?: Partial<import('axios').AxiosRequestConfig>) => Promise<object>;
7
- getOneData2ViewJs: (path: import('@gct-paas/api/apaas/apis/js-engine.service').getExecKeyPathParams, query: import('@gct-paas/api/apaas/apis/js-engine.service').getExecKeyQuery, config?: Partial<import('axios').AxiosRequestConfig>) => Promise<object>;
5
+ getOneData2SqlView: any;
6
+ getOneData2ViewModel: any;
7
+ getOneData2ViewJs: any;
8
8
  };
9
9
  /** 请求单据模板相关信息 */
10
10
  requestTemplateInfo: (payload: {
@@ -93,14 +93,14 @@ export declare function useOnlineFormActionButton(): {
93
93
  title: any;
94
94
  customTitle: any;
95
95
  buttonType: string;
96
- api: (data: import('@gct-paas/api/apaas').OnlineFormStashRequest, config?: Partial<import('axios').AxiosRequestConfig>) => Promise<string>;
96
+ api: any;
97
97
  };
98
98
  PROCESS: {
99
99
  type: ButtonTypeEnum;
100
100
  title: any;
101
101
  customTitle: any;
102
102
  buttonType: string;
103
- api: (data: import('@gct-paas/api/apaas').OfProcessSaveRequest, config?: Partial<import('axios').AxiosRequestConfig>) => Promise<string>;
103
+ api: any;
104
104
  };
105
105
  };
106
106
  };
@@ -36,7 +36,7 @@ declare function getFieldMeta(fieldMeta: IBindField, opts?: {
36
36
  name: (string | undefined)[] | undefined;
37
37
  };
38
38
  /** 获取模型详细 */
39
- declare function getModelInfo(key: string): Promise<ModelMetaResponse>;
39
+ declare function getModelInfo(key: string): Promise<ModelMetaResponse | undefined>;
40
40
  declare function refreshModelFields(key: any): Promise<void>;
41
41
  export declare function useModelFields(): {
42
42
  masterModel: import('vue').Ref<{
@@ -2,3 +2,4 @@
2
2
  export * from './enum';
3
3
  export type * from './types';
4
4
  export { VersionSelect } from './components/version-select';
5
+ export { OnlineFormModelSelect, OnlineFormModelModal, } from './components/online-form-model-select';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 全局 `_gct.api` / `_gct.HttpUtil` 的包内代理。
3
+ * - 正式环境:宿主已挂好 `_gct`
4
+ * - 本地 demo:main.ts 中 `_gct.api = api`、`_gct.HttpUtil = HttpUtil`
5
+ */
6
+ /** 代理到 `_gct.api` */
7
+ export declare const api: any;
8
+ /** 代理到 `_gct.HttpUtil` */
9
+ export declare const HttpUtil: {
10
+ use(...args: any[]): any;
11
+ };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
2
  import { pick } from "lodash-es";
3
- import { n as PaperWidgeValueType, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
3
+ import { n as PaperWidgeValueType, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
6
- import { c as useSpreadSheet, u as useModelFields } from "./index-D8MyXPZ4.js";
6
+ import { c as useSpreadSheet, u as useModelFields } from "./index-BFi6q-2K.js";
7
7
  const _hoisted_1 = { class: "ws-pre-wrap" };
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "text-design",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
2
- import { C as CellWidgetRenderComp } from "./index-D8MyXPZ4.js";
3
- import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
2
+ import { C as CellWidgetRenderComp } from "./index-BFi6q-2K.js";
3
+ import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "text-design",
6
6
  props: {
@@ -1,9 +1,9 @@
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-D8MyXPZ4.js";
2
+ import { F as FormItem, C as CellWidgetRenderComp } from "./index-BFi6q-2K.js";
3
3
  import { isNil, debounce, pick } from "lodash-es";
4
- import { _ as _export_sfc, H as useModal, j as api, F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
5
- import { s as useIntersectionObserver, t as cacheAdapter } from "./index-D06TNaVu.js";
6
- import { w as watchDebounced } from "./mb-render-DKBe0Ofq.js";
4
+ import { _ as _export_sfc, H as useModal, j as api, F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
5
+ import { s as useIntersectionObserver, t as cacheAdapter } from "./index-BEcpuLN1.js";
6
+ import { w as watchDebounced } from "./mb-render-DUf_FRYp.js";
7
7
  const _hoisted_1 = { class: "number-range" };
8
8
  const _hoisted_2 = { class: "middle" };
9
9
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-DbYsxlOh.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-nqV0oxgD.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "text-style",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
2
- import { cr as isObject, bR as debounce } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
2
+ import { cq as isObject, bQ as debounce } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
3
3
  const initialParams = {
4
4
  contentSize: 0,
5
5
  clientSize: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
2
- import { V as TimeDiffFormat } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
2
+ import { V as TimeDiffFormat } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
3
3
  import "lodash-es";
4
4
  import "dayjs";
5
5
  import "ant-design-vue";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, unref } from "vue";
2
2
  import dayjs from "dayjs";
3
- import { F as FIELD_TYPE, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
4
- import { C as CellWidgetRenderComp } from "./index-D8MyXPZ4.js";
3
+ import { F as FIELD_TYPE, _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
4
+ import { C as CellWidgetRenderComp } from "./index-BFi6q-2K.js";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "trace-design",
7
7
  props: {
@@ -1,12 +1,12 @@
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-D8MyXPZ4.js";
3
- import { D as DateFormatEditor } from "./date-format-editor-wa65m5uZ.js";
4
- import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-mNz92zVn.js";
5
- import { F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
2
+ import { u as useModelFields, c as useSpreadSheet, d as useReverseModeling, F as FormItem } from "./index-BFi6q-2K.js";
3
+ import { D as DateFormatEditor } from "./date-format-editor-DKMCTOBS.js";
4
+ import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-B7YFyDkP.js";
5
+ import { F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
6
6
  import "lodash-es";
7
7
  import "dayjs";
8
8
  import "ant-design-vue";
9
- import { A as AddRuleBtn } from "./index-D06TNaVu.js";
9
+ import { A as AddRuleBtn } from "./index-BEcpuLN1.js";
10
10
  const _hoisted_1 = { class: "mt-4px" };
11
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
12
12
  __name: "trace-props",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-DbYsxlOh.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-nqV0oxgD.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "trace-style",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref, createTextVNode, toDisplayString } from "vue";
2
- import { F as FormItem } from "./index-D8MyXPZ4.js";
3
- import { a_ as FieldSysVarDefaultValueEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.js";
2
+ import { F as FormItem } from "./index-BFi6q-2K.js";
3
+ import { aY as FieldSysVarDefaultValueEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
4
4
  import "lodash-es";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock } from "vue";
2
- import { B as BaseFontEditor } from "./base-font-editor-DbYsxlOh.js";
2
+ import { B as BaseFontEditor } from "./base-font-editor-nqV0oxgD.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "user-style",
5
5
  props: {
@@ -1,7 +1,7 @@
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-D8MyXPZ4.js";
4
- import { n as PaperWidgeValueType, a1 as ExpressionModeEnum, a2 as ExpressionTabEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-CJsHewQS.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-BFi6q-2K.js";
4
+ import { n as PaperWidgeValueType, a1 as ExpressionModeEnum, a2 as ExpressionTabEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-DYRH8eHc.js";
5
5
  import "dayjs";
6
6
  import "ant-design-vue";
7
7
  const _hoisted_1 = { class: "mt-4px" };