@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.
- package/dist/{Scrollbar-ItXnmXjn.js → Scrollbar-DU7XY6Tv.js} +2 -2
- package/dist/{VueVideoPlayer-D_JCaBRP.js → VueVideoPlayer-CMvTuDff.js} +2 -2
- package/dist/{agg-design-Dlaho0dN.js → agg-design-DSUOcvss.js} +1 -1
- package/dist/{agg-props-CuW1E60t.js → agg-props-DUuDjQY_.js} +1 -1
- package/dist/{agg-style-CjCfoKgy.js → agg-style-DXJFcoQ9.js} +1 -1
- package/dist/{align-editor-BOkEX-h7.js → align-editor-38Glzc8q.js} +1 -1
- package/dist/{attach-fields-editor-BXrNjzQX.js → attach-fields-editor-Dn2Yy5nY.js} +2 -2
- package/dist/{barcode-design-xLuaKSi6.js → barcode-design-jvWYD2Xr.js} +2 -2
- package/dist/base/index.es.js +45 -45
- package/dist/{base-font-editor-DbYsxlOh.js → base-font-editor-nqV0oxgD.js} +2 -2
- package/dist/{boolean-design-OkuUp22M.js → boolean-design-GMYZRuKD.js} +2 -2
- package/dist/{boolean-props-B5m_PgKt.js → boolean-props-ByLQsoom.js} +3 -3
- package/dist/{boolean-style-B7N-WuMj.js → boolean-style-B14XUv1-.js} +4 -4
- package/dist/{cell-upload-BeUIC886.js → cell-upload-fhog0uI2.js} +2 -2
- package/dist/{date-format-editor-wa65m5uZ.js → date-format-editor-DKMCTOBS.js} +2 -2
- package/dist/{date-time-design-CV9aUo5N.js → date-time-design-CxF-IxYA.js} +1 -1
- package/dist/{date-time-props-D-n0kqAn.js → date-time-props-B3AEpDsN.js} +3 -3
- package/dist/{date-time-style-DAlPp610.js → date-time-style-BKA_x-bV.js} +1 -1
- package/dist/{decimal-design-CLDGVVnf.js → decimal-design-DyE6Gswv.js} +1 -1
- package/dist/{decimal-display-mode-D_LvJqzi.js → decimal-display-mode-CpwAn2A8.js} +2 -2
- package/dist/{decimal-props-D8Ygc6VQ.js → decimal-props-0BTM_idP.js} +4 -4
- package/dist/{decimal-style-BcCUuTLl.js → decimal-style-CYQEfIde.js} +1 -1
- 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
- package/dist/{diagonal-design-D32tSHSj.js → diagonal-design-Ce4CXHbc.js} +2 -2
- package/dist/{double-design-gCeJ5vj0.js → double-design-TFWMopYs.js} +1 -1
- package/dist/{double-props-oBcw__wg.js → double-props-zMz2whf4.js} +4 -4
- package/dist/{double-style-Bvp07Zcu.js → double-style-DuuGu-Er.js} +1 -1
- package/dist/{edit.utils-CXmmCnxE-BR6-ggZT.js → edit.utils-CXmmCnxE-CUM4QnEZ.js} +1 -1
- package/dist/{enum-design-hJQ6ySMI.js → enum-design-_zGZwm9c.js} +2 -2
- package/dist/{enum-props-dGM0iD7m.js → enum-props-YYF6GGfi.js} +4 -4
- package/dist/{enum-style-Drw1B_MC.js → enum-style-8qL4ky4j.js} +2 -2
- 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
- package/dist/excel.css +297 -297
- package/dist/{exceljs.min-C3Nh2uvi.js → exceljs.min-RBJrN_T3.js} +2 -2
- package/dist/{expression-design-Dv4DVpEd.js → expression-design-DTUsd-6p.js} +1 -1
- package/dist/{expression-props-BqkoVR1e.js → expression-props-BZ3crWLN.js} +1 -1
- package/dist/{expression-style-D_xLKfxS.js → expression-style-C6n91tvo.js} +1 -1
- package/dist/{file-design-BEKydN11.js → file-design-kaHx_-gr.js} +1 -1
- package/dist/{file-props-C143qBZs.js → file-props-DXYYpAO7.js} +2 -2
- package/dist/{file-style-CRedOXby.js → file-style-C2RuYlmp.js} +1 -1
- package/dist/{font-editor-DmRH4Tux.js → font-editor-qHOZRLz-.js} +3 -3
- package/dist/{form-annotation-controller-CW_ZzGOh.js → form-annotation-controller-B8-4KSZG.js} +2 -2
- package/dist/{image-design-BeLBZTbn.js → image-design-BulJxvq7.js} +2 -2
- package/dist/{image-design-DT7WEhpr.js → image-design-RFizg3Vb.js} +2 -2
- package/dist/{image-props-_aKrTkUk.js → image-props-f6Q4fnxz.js} +1 -1
- package/dist/{image-style-DGX8lOE2.js → image-style-CmjaRNMh.js} +1 -1
- package/dist/{index-DTfLeOwR.js → index-1od8xduY.js} +1 -1
- package/dist/{index-C2_dgQvH.js → index-B3ctahF2.js} +1 -1
- package/dist/{index-D06TNaVu.js → index-BEcpuLN1.js} +2 -2
- package/dist/{index-D8MyXPZ4.js → index-BFi6q-2K.js} +938 -1303
- package/dist/{index-DgLFFP6D.js → index-BIryBPVR.js} +1 -1
- package/dist/{index-BwbTmxrM.js → index-BMf-DwO1.js} +1 -1
- package/dist/{index-D7jJ07ka.js → index-BO_UpNHR.js} +2 -2
- package/dist/{index-BSDRmtXM.js → index-BeWVFpEV.js} +1 -1
- package/dist/{index-DcXyYLNC.js → index-BxKLtuwY.js} +1 -1
- package/dist/{index-BaycTLi6.js → index-C1lMidaD.js} +1 -1
- package/dist/{index-DPSTWMGh.js → index-C6ftlqV_.js} +1 -1
- package/dist/{index-CRQYcesT.js → index-CFfMJckH.js} +2 -2
- package/dist/{index-7iGDMpfW.js → index-CHBhnhAn.js} +1 -1
- package/dist/{index-CI4pQaiD.js → index-CLxVNZ0S.js} +2 -2
- package/dist/{index-DBJBFDjJ.js → index-CXeN4UYP.js} +1 -1
- package/dist/{index-GLAva8ZG.js → index-CjG-TdnG.js} +1 -1
- package/dist/{index-CvyRFvC_.js → index-CzSqf6Hs.js} +1 -1
- package/dist/{index-Acv3FIjb.js → index-D-AdIQcy.js} +1 -1
- package/dist/{index-DgFRO1-J.js → index-D7-l8lfx.js} +1 -1
- package/dist/{index-BzfegN03.js → index-DFjphzbB.js} +1 -1
- package/dist/{index-Do_e5kUC.js → index-DFwEef7S.js} +1 -1
- package/dist/{index-DTiVQwr_.js → index-DP84iJtH.js} +1 -1
- package/dist/{index-CyhrMgrm.js → index-DT8XWPbq.js} +1 -1
- package/dist/{index-B_7zILvk.js → index-DWBzq0eX.js} +1 -1
- package/dist/{index-D-yv73SE.js → index-DsgwL7X3.js} +1 -1
- package/dist/{index-D5IF-R7P.js → index-KFQWc3Mv.js} +1 -1
- package/dist/{index-Df2Vo0Ye.js → index-NdJv01gG.js} +1 -1
- package/dist/{index-C4HtCDW4.js → index-YyaQ8A3a.js} +1 -1
- package/dist/{index-dq7r_RYY.js → index-ZOihLI1B.js} +2 -2
- package/dist/{index-CtfhWzKD.js → index-bl-YFdLz.js} +1 -1
- package/dist/{index-CQe9OxgH.js → index-l_IgRe07.js} +1 -1
- package/dist/{index-DUCQQFn0.js → index-qBZTRtu8.js} +1 -1
- package/dist/{index-BLZ_hRTK.js → index-s6BJSM78.js} +2 -2
- package/dist/index.es.js +5 -3
- package/dist/{integer-design-D8hXZxfd.js → integer-design-D1Sz5KOt.js} +1 -1
- package/dist/{integer-props-DE_cLFo0.js → integer-props-BVn6_GFq.js} +4 -4
- package/dist/{integer-style-C59L1Fz_.js → integer-style-BJoAwG-C.js} +1 -1
- package/dist/{mb-render-DKBe0Ofq.js → mb-render-DUf_FRYp.js} +1 -1
- package/dist/{number-input-ex-uzH25mlm.js → number-input-ex-Do_j6JVf.js} +1 -1
- package/dist/{org-props-BtpiR11a.js → org-props-OGuMPH9u.js} +2 -2
- package/dist/{org-style-CwR28AWD.js → org-style-DplgPRLB.js} +1 -1
- package/dist/{pagination-design-DNC2altD.js → pagination-design-ZPU0P0mv.js} +2 -2
- package/dist/paper-widget-design-Dmb7x_dI.js +4 -0
- package/dist/{qrcode-design-DwScbFvx.js → qrcode-design-D71B7lLo.js} +1 -1
- package/dist/{ref-autofill-editor-mNz92zVn.js → ref-autofill-editor-B7YFyDkP.js} +3 -3
- package/dist/{ref-props-CHFGEWYL.js → ref-props-C-9Svfjx.js} +3 -3
- package/dist/{ref-style-CXNrmEQv.js → ref-style-DhUqDfu_.js} +1 -1
- package/dist/{revo-grid.entry-Cpb8i20g.js → revo-grid.entry-CkYTL6uD.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CPZaTq4Y.js → revogr-attribution_7.entry-IPm8d_lv.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DalNdQaP.js → revogr-clipboard_3.entry-fXXemX7X.js} +2 -2
- package/dist/{revogr-data_4.entry-CM4cHPV6.js → revogr-data_4.entry-B9ObmBJv.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BF920dCI.js → revogr-filter-panel.entry-CryNqKkG.js} +1 -1
- 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
- package/dist/{serialnumber-design-CI5lC_ej.js → serialnumber-design-BDWOVP9j.js} +1 -1
- package/dist/shared/index.es.js +18 -16
- package/dist/{signature-design-DJWRgvao.js → signature-design-CyBUAY7M.js} +1 -1
- package/dist/{signature-props-Dc5pIrPh.js → signature-props-CaqxYcLH.js} +3 -3
- package/dist/{signature-style-DWP05B6X.js → signature-style-AnGTn3lY.js} +1 -1
- package/dist/{single-field-drop-f3HPC0yB.js → single-field-drop-C7Nk_5KU.js} +2 -2
- package/dist/{size-editor-CWmF8mGj.js → size-editor-BOCyIQEL.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +1 -0
- package/dist/src/adapter/setup.d.ts +5 -4
- package/dist/src/index.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/form-model/fetcher.d.ts +4 -4
- package/dist/src/nocode-base/src/hooks/model-relation/index.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/service-util/sn-rule.d.ts +1 -1
- package/dist/src/nocode-base/src/interface/data.d.ts +3 -3
- package/dist/src/nocode-base/src/interface/util.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -1
- package/dist/src/shared/index.d.ts +1 -0
- package/dist/src/shared/utils/host-api.d.ts +11 -0
- package/dist/{text-design-Mf7QQpiT.js → text-design-B0rGCiYj.js} +2 -2
- package/dist/{text-design-DzWXocgM.js → text-design-Ddv2RyHn.js} +2 -2
- package/dist/{text-props--u1owVKL.js → text-props-DU4PmTx7.js} +4 -4
- package/dist/{text-style-DUSQaVqY.js → text-style-D618B5Gx.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-kCr-MyT1.js → throttle-Cpk1LoGk-Cia5bjua.js} +1 -1
- package/dist/{timediff-design-WzJ0Mr1q.js → timediff-design-COXSrAFg.js} +1 -1
- package/dist/{trace-design-DNRgLvSS.js → trace-design-NcADpj5o.js} +2 -2
- package/dist/{trace-props-C4yE-UtG.js → trace-props-XDjO68yP.js} +5 -5
- package/dist/{trace-style-C6PPCV58.js → trace-style-CABcgS_d.js} +1 -1
- package/dist/{user-props-05sDvmSi.js → user-props-BWBKljJy.js} +2 -2
- package/dist/{user-style-Dzt5Ez2O.js → user-style-QW2Z4Qbc.js} +1 -1
- 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
- package/dist/{version-select-CAIKTCnx.js → version-select-jJiM2LxP.js} +350 -12
- package/dist/web-render/index.es.js +4 -4
- package/dist/{widget-barcode-D7AQdmZ3.js → widget-barcode-DYhAC1Yp.js} +4 -4
- package/dist/{widget-diagonal-Bj8v4aum.js → widget-diagonal-CKygD6QJ.js} +3 -3
- package/dist/{widget-image-DDhGflkN.js → widget-image-Br_X3xOI.js} +5 -5
- package/dist/{widget-line-LoHUAzFI.js → widget-line-Bl1xW6vy.js} +2 -2
- package/dist/{widget-pagination-DccSKieH.js → widget-pagination-CoWkKGrT.js} +5 -5
- package/dist/{widget-power-BRmdNPwS.js → widget-power-BRL6a5xe.js} +3 -3
- package/dist/{widget-qrcode-CcvJbvod.js → widget-qrcode-DAEwHC51.js} +3 -3
- package/dist/{widget-rangelimit-WNY2zx6q.js → widget-rangelimit-X7bsZe4l.js} +3 -3
- package/dist/{widget-serialnumber-DFm4p1FY.js → widget-serialnumber-COSAexI1.js} +1 -1
- package/dist/{widget-text-BzHVZZuo.js → widget-text-DSkYEZL2.js} +5 -5
- package/dist/{widget-timediff-BWbVyU12.js → widget-timediff-3QixVkQA.js} +2 -2
- package/package.json +3 -2
- 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-
|
|
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-
|
|
3
|
-
import { h as useDrop, T as TransferType, u as useModelFields, i as getFieldIcon, q as SingleDrop } from "./index-
|
|
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-
|
|
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?)`
|
package/dist/src/index.d.ts
CHANGED
|
@@ -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():
|
|
6
|
+
export declare function getAppInfo(): any;
|
|
7
7
|
/**
|
|
8
8
|
* 获取套件信息
|
|
9
9
|
* @export
|
|
10
10
|
* @return {*}
|
|
11
11
|
*/
|
|
12
|
-
export declare function getSuiteKey(): Promise<
|
|
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:
|
|
12
|
-
getModelMetaSubModelList:
|
|
13
|
-
getModelDetail2FieldList:
|
|
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<
|
|
35
|
+
loadModelFields(modelKey: string): Promise<any>;
|
|
36
36
|
/**
|
|
37
37
|
* 加载表单所有子表字段对应模型的字段信息集合
|
|
38
38
|
*/
|
|
@@ -2,9 +2,9 @@ import { FormTypeEnum, ViewTypeEnum } from '../constant';
|
|
|
2
2
|
/** 数据基础接口工具类 */
|
|
3
3
|
export declare const baseDataUtils: {
|
|
4
4
|
baseApis: {
|
|
5
|
-
getOneData2SqlView:
|
|
6
|
-
getOneData2ViewModel:
|
|
7
|
-
getOneData2ViewJs:
|
|
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:
|
|
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:
|
|
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<{
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
3
|
-
import { _ as _export_sfc } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-
|
|
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-
|
|
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-
|
|
5
|
-
import { s as useIntersectionObserver, t as cacheAdapter } from "./index-
|
|
6
|
-
import { w as watchDebounced } from "./mb-render-
|
|
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-
|
|
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 {
|
|
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-
|
|
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-
|
|
4
|
-
import { C as CellWidgetRenderComp } from "./index-
|
|
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-
|
|
3
|
-
import { D as DateFormatEditor } from "./date-format-editor-
|
|
4
|
-
import { _ as _sfc_main$1, R as RefAutofillEditor } from "./ref-autofill-editor-
|
|
5
|
-
import { F as FIELD_TYPE } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
-
import {
|
|
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-
|
|
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-
|
|
4
|
-
import { n as PaperWidgeValueType, a1 as ExpressionModeEnum, a2 as ExpressionTabEnum } from "./error-group-panel.vue_vue_type_style_index_0_scoped_b94cd584_lang-
|
|
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" };
|