@gct-paas/excel 0.1.2 → 0.1.4
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/README.md +15 -6
- package/dist/AntdIcon-C3RMq2zm.js +1040 -0
- package/dist/{VueVideoPlayer-dTA6rv55.js → VueVideoPlayer-ZLD8hL4k.js} +2 -2
- package/dist/{agg-design-BSh_tHX-.js → agg-design-C8kk8Kch.js} +1 -1
- package/dist/{agg-props-DgdpMWgC.js → agg-props-CGmbXrHl.js} +1 -1
- package/dist/{agg-style-aUn3JT2k.js → agg-style-C_1CXG03.js} +1 -1
- package/dist/{align-editor-BNAaRXra.js → align-editor-DPdYAGLc.js} +1 -1
- package/dist/{attach-fields-editor-CnCVzcVh.js → attach-fields-editor-CIDhAemZ.js} +2 -2
- package/dist/{barcode-design-BPj7bVmK.js → barcode-design-CoYVoEFn.js} +2 -3
- package/dist/base/index.es.js +160 -898
- package/dist/{base-font-editor-C2g5pe1r.js → base-font-editor-BPfw_Re6.js} +2 -2
- package/dist/{boolean-design-DQcD63hA.js → boolean-design-BXbr26D4.js} +2 -3
- package/dist/{boolean-props-foEwOqoS.js → boolean-props-nCzH09qP.js} +3 -3
- package/dist/{boolean-style-BjM3jV9-.js → boolean-style-Cl18Y8qB.js} +4 -5
- package/dist/{cell-upload-Cg6qgXIl.js → cell-upload-CO49bM5f.js} +2 -2
- package/dist/{date-format-editor-B5TNYQOa.js → date-format-editor-BDkwE_r3.js} +2 -2
- package/dist/{date-time-design-DtFbeX45.js → date-time-design-CuMNyFsU.js} +1 -1
- package/dist/{date-time-props-Bg68phPu.js → date-time-props-CLttq7YV.js} +3 -4
- package/dist/{date-time-style-R3n3DWXL.js → date-time-style-CekvgyZk.js} +1 -1
- package/dist/{decimal-design-OvRMF5yY.js → decimal-design-D6FK5-3M.js} +1 -1
- package/dist/{decimal-display-mode-CMDX0MxE.js → decimal-display-mode-CqaSh2ls.js} +2 -3
- package/dist/{decimal-props-CiZcfWWs.js → decimal-props-DEwnN1Q2.js} +4 -4
- package/dist/{decimal-style-VcGRGgo0.js → decimal-style-CJWmQdHz.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-JAtSG3Hg.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-mgY8bHUJ.js} +2 -3
- package/dist/{diagonal-design-DckKhSUa.js → diagonal-design-CIopLvpL.js} +2 -2
- package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-C7m8TMOx.js → document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js} +519 -1648
- package/dist/{Scrollbar-CZkJPRdu.js → document-sub-table-action-DTmf8djY.js} +32 -69
- package/dist/{double-design-BM09f_KU.js → double-design-CgvwQhau.js} +1 -1
- package/dist/{double-props-CeLgHsjo.js → double-props-TPv4fMW4.js} +4 -4
- package/dist/{double-style-DMLsVFfm.js → double-style-D6-yE_wb.js} +1 -1
- package/dist/{edit.utils-CXmmCnxE-DSPt0ECN.js → edit.utils-CXmmCnxE-BdPovZCI.js} +1 -1
- package/dist/{enum-design-CQV-mqqb.js → enum-design-DPpnnCBS.js} +2 -2
- package/dist/{enum-props-BHfTLRzU.js → enum-props-BozGqUk1.js} +4 -4
- package/dist/{enum-style-BEacuGVm.js → enum-style-BqFQ-u6u.js} +2 -2
- package/dist/excel.css +5325 -5250
- package/dist/{exceljs.min-BcrTQ29P.js → exceljs.min-Q7cd3slm.js} +2 -2
- package/dist/{expression-design-Vrtb7ZND.js → expression-design-TmsclPp9.js} +1 -1
- package/dist/{expression-props-DK-FoXcG.js → expression-props-D7Zk2Lj6.js} +1 -1
- package/dist/{expression-style-ClfZ23YJ.js → expression-style-DO5M9Ajy.js} +1 -1
- package/dist/{file-design-Cqn1H4ZT.js → file-design-D5w6xSTk.js} +1 -1
- package/dist/{file-props-C4TOFyAy.js → file-props-Bn7VgFDv.js} +2 -2
- package/dist/{file-style-B8L7LTU_.js → file-style-C2uWZfTL.js} +1 -1
- package/dist/{font-editor-Buf4R-Dg.js → font-editor-CxA5Db2_.js} +3 -3
- package/dist/{form-annotation-controller-Cg8TG2fi.js → form-annotation-controller-NcH3tnGJ.js} +2 -2
- package/dist/{image-design-DqAVKsuU.js → image-design-DIWSfrcq.js} +2 -2
- package/dist/{image-design-ChrM491B.js → image-design-DSbpGyCq.js} +2 -2
- package/dist/{image-props-yqaLEHSt.js → image-props-5fStBp37.js} +1 -1
- package/dist/{image-style-DVsD4FVx.js → image-style-ChKqwGjs.js} +1 -1
- package/dist/{index-CI1cxVRo.js → index-0fm9o8n6.js} +1 -2
- package/dist/{index-CmL4Be-K.js → index-3W4ojOsw.js} +1 -2
- package/dist/{index-GdSr850L.js → index-B5sCWlDl.js} +1 -2
- package/dist/{index-ou_rGN3F.js → index-BIBsEVp6.js} +1 -2
- package/dist/{index-BufHZCTt.js → index-BKTmHFPX.js} +3196 -1997
- package/dist/{index-BTeqM5Kn.js → index-BLZe6LV2.js} +1 -2
- package/dist/{index-B5bl5kGU.js → index-BQlGsxLp.js} +1 -2
- package/dist/{index-BLiD7NWb.js → index-BlD4K4x9.js} +1 -2
- package/dist/{index-C6J0DxCZ.js → index-BomC1N9j.js} +1 -2
- package/dist/{index-CR24b9nh.js → index-Bp_dDukK.js} +1 -2
- package/dist/{index-ZwgghSxK.js → index-C-R-S828.js} +1 -2
- package/dist/{index-Cbu-reyu.js → index-CKWk_Iax.js} +1 -2
- package/dist/{index-C-PCNtnr.js → index-CLfbQ9Km.js} +1 -2
- package/dist/{index-D2VzxQne.js → index-Cejm_o4O.js} +1 -2
- package/dist/{index-Dhkp_b7I.js → index-CiCyHGDi.js} +1 -2
- package/dist/{index-CEbxeuOx.js → index-CigaIXAe.js} +2 -3
- package/dist/{index-E8vZZFog.js → index-CnSZi6Rb.js} +1 -2
- package/dist/{index-BU5CPVZ9.js → index-CpFGw3N1.js} +1 -2
- package/dist/{index-DOQB5bpZ.js → index-CrsYNoBp.js} +1 -2
- package/dist/{index-D1YtyRKV.js → index-Czp4LZY9.js} +1 -2
- package/dist/{index-DUTCTiG6.js → index-D56i-zWI.js} +2 -3
- package/dist/{index-BNXmOMqP.js → index-D7tSQpaj.js} +2 -3
- package/dist/{index-ByW44_lg.js → index-DM8guHf_.js} +25 -1059
- package/dist/{index-D4oVIylK.js → index-DP-fe4OH.js} +1 -2
- package/dist/{index-DjFpScza.js → index-DSzP8X8O.js} +1 -2
- package/dist/{index-B6HMGpdJ.js → index-D_W1JQG3.js} +1 -2
- package/dist/{index-BOR8Q8y9.js → index-DfJnS3jv.js} +1 -2
- package/dist/{index-CxWoK5T3.js → index-Fm6FGBuV.js} +2 -3
- package/dist/{index-DCOAv1RI.js → index-I4RvYVZ5.js} +1 -2
- package/dist/{index-UvBvlRH6.js → index-TurTXvNN.js} +2 -3
- package/dist/{index-Dlfg1YKC.js → index-j478qavG.js} +1 -2
- package/dist/{index-BVjCKddq.js → index-qQN-nVT9.js} +1 -2
- package/dist/{index-DiW6xxVC.js → index-uZMZ5Sw0.js} +1 -2
- package/dist/index.es.js +34 -7
- package/dist/{integer-design-C6VCvXTM.js → integer-design-D9JByLVX.js} +1 -1
- package/dist/integer-props-BjWENkem.js +160 -0
- package/dist/{integer-style-Dn7g1ycQ.js → integer-style-CT8R9q-n.js} +1 -1
- package/dist/mb-render-JL1sDSy6.js +478 -0
- package/dist/{number-input-ex-Cul_CZQ0.js → number-input-ex-3TUi3vyu.js} +1 -1
- package/dist/{org-props-DREu4eul.js → org-props-DFbUC2TP.js} +2 -3
- package/dist/{org-style-DWgicBvo.js → org-style-DgGKHpDd.js} +1 -1
- package/dist/{pagination-design-C7Y3dklf.js → pagination-design-BgfX6d8b.js} +2 -3
- package/dist/paper-widget-design-CAqW3laq.js +4 -0
- package/dist/{qrcode-design-fGE8BQ-O.js → qrcode-design-80yZ4fJY.js} +1 -1
- package/dist/{ref-autofill-editor-B-Fso3FS.js → ref-autofill-editor-BIy-Jm0g.js} +2 -2
- package/dist/{ref-props-Bkx5kKf6.js → ref-props-B_GWOIQV.js} +3 -3
- package/dist/{ref-style-EN9Ns73A.js → ref-style-Dw1h5H98.js} +1 -1
- package/dist/{revo-grid.entry-C51uy2x-.js → revo-grid.entry-DNrCIdcu.js} +1 -1
- package/dist/{revogr-attribution_7.entry-6GWxPTYu.js → revogr-attribution_7.entry-g7DReToZ.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-MHLzoSuG.js → revogr-clipboard_3.entry-vJotBpPb.js} +2 -2
- package/dist/{revogr-data_4.entry-D1WYZoa6.js → revogr-data_4.entry-CoP8SHrP.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BpgqhpkQ.js → revogr-filter-panel.entry-Cl_ZKbCr.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-Bvjy4qIw.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-CAjUQ7Ig.js} +2 -3
- package/dist/{serialnumber-design-C0T0j8QO.js → serialnumber-design-DCbPl9zc.js} +1 -1
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.es.js +87 -0
- package/dist/{signature-design-DYWt8Ey-.js → signature-design-DgMBF1dM.js} +1 -1
- package/dist/{signature-props-BtQoL2UQ.js → signature-props-DbaXK1t8.js} +3 -3
- package/dist/{signature-style-BXxi_a0T.js → signature-style-dr1T4Dfx.js} +1 -1
- package/dist/{single-field-drop-Ddtf_x2v.js → single-field-drop-gbyOxdwW.js} +2 -2
- package/dist/{size-editor-Dw9e652e.js → size-editor-BSZoEseb.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +2 -0
- package/dist/src/adapter/setup.d.ts +4 -0
- package/dist/src/index.d.ts +16 -1
- package/dist/src/nocode-base/src/components/index.d.ts +1 -4
- package/dist/src/nocode-mobile-render/src/integration/form-ins/change-form-ins-popup.vue.d.ts +2 -2
- package/dist/src/nocode-mobile-render/src/integration/mobile-edhr-fill-modal.vue.d.ts +1 -67
- package/dist/src/nocode-mobile-render/src/integration/mobile-edhr-menu.vue.d.ts +4 -4
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/index.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/header.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-builtin-param/add-builtin-param-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/form-field-tree-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/material-rdo-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/public-api.d.ts +5 -0
- package/dist/src/{nocode-base/src/components/error-group-panel.vue.d.ts → online-form/src/views/integration/apaas_dp/designer/apaas-dp-print-sheet-view.vue.d.ts} +2 -3
- package/dist/src/online-form/src/views/integration/apaas_dp/designer/apaas-dp-print.vue.d.ts +2 -0
- package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +2 -2
- package/dist/src/shared/components/version-select/version-select.vue.d.ts +2 -2
- package/dist/src/shared/index.d.ts +4 -0
- package/dist/{text-design-Cd-SRz7Y.js → text-design-Bnh_H2pu.js} +2 -2
- package/dist/{text-design-vceuHLPE.js → text-design-CCmIloIc.js} +2 -3
- package/dist/{text-props-CxTkG4Zm.js → text-props-cPJGCpv2.js} +4 -3
- package/dist/{text-style-DVy49LXX.js → text-style-CD_4lxio.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BVaBzkFx.js → throttle-Cpk1LoGk-BjiiSDKG.js} +1 -1
- package/dist/{timediff-design-W6UPLRAX.js → timediff-design-OvKUg4IL.js} +1 -2
- package/dist/{trace-design-BuhIchCy.js → trace-design-BXQyDWnc.js} +2 -2
- package/dist/{trace-props-0E_STwaq.js → trace-props-yQEe--Vy.js} +5 -5
- package/dist/{trace-style-CfSg0-lN.js → trace-style-DUJXCepn.js} +1 -1
- package/dist/{user-props-BiFKaiMZ.js → user-props-DVYxW97f.js} +2 -3
- package/dist/{user-style-CxsyKyXC.js → user-style-jlKo2wS8.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BrTKGp_z.js → value-editor.vue_vue_type_style_index_0_lang-CgqZs-Ag.js} +2 -3
- package/dist/{integer-props-BD4PuU4P.js → version-select-D6Jjs5hL.js} +93 -165
- package/dist/web-render/index.es.js +13 -12
- package/dist/{widget-barcode-Ctswl_H6.js → widget-barcode-DJ6E5SyP.js} +4 -5
- package/dist/{widget-diagonal-CkutzUiE.js → widget-diagonal-CAg-NXwA.js} +3 -3
- package/dist/{widget-image-CiGzVibD.js → widget-image-BAoTYQSQ.js} +5 -4
- package/dist/{widget-line-C-Nz3ZEK.js → widget-line-Cm9PTXss.js} +2 -3
- package/dist/{widget-pagination-B2fU-QnL.js → widget-pagination-DNPTBaOV.js} +5 -6
- package/dist/{widget-power-CU5Fx3HO.js → widget-power-cfqc0tm3.js} +3 -3
- package/dist/{widget-qrcode-DwZUkDpg.js → widget-qrcode-Cc6Iju1_.js} +3 -4
- package/dist/{widget-rangelimit-CCYANaY4.js → widget-rangelimit-CIe0fkdQ.js} +3 -3
- package/dist/{widget-serialnumber-vbZRJ1zL.js → widget-serialnumber-DJ97P3Pb.js} +1 -1
- package/dist/{widget-text-BQpus-v_.js → widget-text-66OkH_MY.js} +5 -5
- package/dist/{widget-timediff-C2PnkPsn.js → widget-timediff-_PSHGrTL.js} +2 -3
- package/package.json +8 -2
- package/dist/paper-widget-design-CZ2TYnKG.js +0 -4
- package/dist/src/nocode-base/src/components/ebr-wiki-layout.vue.d.ts +0 -34
- package/dist/src/nocode-base/src/components/edhr-new-wiki-tree.vue.d.ts +0 -46
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
import { reactive, inject, provide, watch, getCurrentScope, onScopeDispose, getCurrentInstance, onMounted, nextTick, unref } from "vue";
|
|
2
|
+
import { i as api, F as FIELD_TYPE, C as CreateType } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
3
|
+
const InstanceStatusValues = {
|
|
4
|
+
/** 作废状态 */
|
|
5
|
+
ABANDON: "ABANDON",
|
|
6
|
+
/** 未填报 */
|
|
7
|
+
UNFILLED: "UNFILLED",
|
|
8
|
+
/** 已填报 */
|
|
9
|
+
FILLED: "FILLED",
|
|
10
|
+
/** 已完成 */
|
|
11
|
+
COMPLETED: "COMPLETED",
|
|
12
|
+
/** 进行中 */
|
|
13
|
+
RUNNING: "RUNNING",
|
|
14
|
+
/** 暂存 */
|
|
15
|
+
STASH: "STASH",
|
|
16
|
+
/** 待放行 */
|
|
17
|
+
UNRELEASED: "UNRELEASED",
|
|
18
|
+
/** 放行中 */
|
|
19
|
+
RELEASE: "RELEASE",
|
|
20
|
+
/** 异常 */
|
|
21
|
+
EXCEPTION: "EXCEPTION",
|
|
22
|
+
/** 已封存 */
|
|
23
|
+
ARCHIVED: "ARCHIVED",
|
|
24
|
+
/** 汇总中 */
|
|
25
|
+
IN_SUMMARY: "IN_SUMMARY",
|
|
26
|
+
/** 已汇总 */
|
|
27
|
+
SUMMARIZED: "SUMMARIZED",
|
|
28
|
+
/** 汇总审核中、表单变更审核中 */
|
|
29
|
+
IN_AUDIT: "IN_AUDIT"
|
|
30
|
+
};
|
|
31
|
+
class MCRender {
|
|
32
|
+
/**
|
|
33
|
+
* 提示信息
|
|
34
|
+
* @param opts
|
|
35
|
+
*/
|
|
36
|
+
message(opts) {
|
|
37
|
+
throw new Error("Function message not implemented.");
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* 已经打开的bom的modal的参数对象
|
|
41
|
+
* @static
|
|
42
|
+
*/
|
|
43
|
+
static bomModalProps;
|
|
44
|
+
async openScanModal(opts) {
|
|
45
|
+
throw new Error("Function openScanModal not implemented.");
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* 实际打开UIModal的函数
|
|
49
|
+
*/
|
|
50
|
+
async _openBomModal(reactiveOpts) {
|
|
51
|
+
}
|
|
52
|
+
async openBomModal(opts) {
|
|
53
|
+
if (MCRender.bomModalProps) {
|
|
54
|
+
Object.assign(MCRender.bomModalProps, opts);
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
MCRender.bomModalProps = reactive(opts);
|
|
58
|
+
await this._openBomModal(MCRender.bomModalProps);
|
|
59
|
+
console.log("模态关闭");
|
|
60
|
+
MCRender.bomModalProps = void 0;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* 打开修改条码解析规则的modal
|
|
64
|
+
* 返回空或者修改后的规则字段id
|
|
65
|
+
* @param opts \
|
|
66
|
+
* - config 回显用的配置对象
|
|
67
|
+
* @return {*}
|
|
68
|
+
*/
|
|
69
|
+
async openChangeRuleModal(opts) {
|
|
70
|
+
throw new Error("Function openChangeRuleModal not implemented.");
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 销毁所有固定的模态
|
|
74
|
+
*/
|
|
75
|
+
destroyAllModals() {
|
|
76
|
+
throw new Error("Function destroyAllModals not implemented.");
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
class BaseFormModelFetcher {
|
|
80
|
+
/** 默认接口 */
|
|
81
|
+
apis = {
|
|
82
|
+
getFieldMetaList: api.apaas.fieldMeta.getList,
|
|
83
|
+
getModelMetaSubModelList: api.apaas.modelComprehensive.getSubModelList,
|
|
84
|
+
getModelDetail2FieldList: api.apaas.modelMeta.getDetail
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* 模型映射缓存
|
|
88
|
+
*/
|
|
89
|
+
modelMetaMap = {};
|
|
90
|
+
async load(opts) {
|
|
91
|
+
const { model } = opts;
|
|
92
|
+
this.modelMetaMap = {};
|
|
93
|
+
await this.loadModelFields(model);
|
|
94
|
+
await this.loadSubModelsFields(model);
|
|
95
|
+
return Object.values(this.modelMetaMap);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* 补全字段信息
|
|
99
|
+
* @param modelKey 字段所属的模型
|
|
100
|
+
* @param [fields=[]]
|
|
101
|
+
* @return {*}
|
|
102
|
+
*/
|
|
103
|
+
completeFields(modelKey, fields = []) {
|
|
104
|
+
return fields.map((field) => {
|
|
105
|
+
if (!field.modelKey) {
|
|
106
|
+
field.modelKey = modelKey;
|
|
107
|
+
}
|
|
108
|
+
return field;
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* 根据模型key加载模型字段
|
|
113
|
+
*
|
|
114
|
+
* @param [modelKey=this.model]
|
|
115
|
+
* @return {*}
|
|
116
|
+
*/
|
|
117
|
+
async loadModelFields(modelKey) {
|
|
118
|
+
if (typeof this.apis.getFieldMetaList !== "function") {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
const res = await this.apis.getFieldMetaList({
|
|
122
|
+
modelKey
|
|
123
|
+
});
|
|
124
|
+
this.modelMetaMap[modelKey] = {
|
|
125
|
+
key: modelKey,
|
|
126
|
+
name: "",
|
|
127
|
+
fields: this.completeFields(modelKey, res)
|
|
128
|
+
};
|
|
129
|
+
return res;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* 加载表单所有子表字段对应模型的字段信息集合
|
|
133
|
+
*/
|
|
134
|
+
async loadSubModelsFields(modelKey) {
|
|
135
|
+
const res = await this.apis.getModelMetaSubModelList({
|
|
136
|
+
modelKey
|
|
137
|
+
});
|
|
138
|
+
(res ?? []).forEach((m) => {
|
|
139
|
+
if (!this.modelMetaMap[m.key]) {
|
|
140
|
+
this.modelMetaMap[m.key] = {
|
|
141
|
+
key: m.key,
|
|
142
|
+
name: m.name,
|
|
143
|
+
subModel: m.subModel,
|
|
144
|
+
fields: this.completeFields(m.key, m.fieldMetaList)
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
class FormModelController {
|
|
151
|
+
/** 主模型的key */
|
|
152
|
+
masterModelKey;
|
|
153
|
+
/** 主模型的名称 */
|
|
154
|
+
masterModelName;
|
|
155
|
+
/** 模型请求器 */
|
|
156
|
+
fetcher = new BaseFormModelFetcher();
|
|
157
|
+
/** 模型映射缓存 */
|
|
158
|
+
modelMetaMap = reactive({});
|
|
159
|
+
/** 主模型信息 */
|
|
160
|
+
get masterModel() {
|
|
161
|
+
return this.modelMetaMap[this.masterModelKey];
|
|
162
|
+
}
|
|
163
|
+
/** 获取主模型字段集合 */
|
|
164
|
+
get masterFields() {
|
|
165
|
+
return this.masterModel.fields;
|
|
166
|
+
}
|
|
167
|
+
/** 获取子模型 */
|
|
168
|
+
getSubModel(subModelKey) {
|
|
169
|
+
return this.modelMetaMap[subModelKey];
|
|
170
|
+
}
|
|
171
|
+
/** 获取子模型字段集合 */
|
|
172
|
+
getSubModelFields(subModelKey) {
|
|
173
|
+
return this.getSubModel(subModelKey)?.fields;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* 初始化
|
|
177
|
+
*
|
|
178
|
+
* @param opts
|
|
179
|
+
* - model 主模型key
|
|
180
|
+
* - name 主模型名称
|
|
181
|
+
*/
|
|
182
|
+
async init(opts) {
|
|
183
|
+
this.masterModelKey = opts.model;
|
|
184
|
+
this.masterModelName = opts.name;
|
|
185
|
+
await this.load();
|
|
186
|
+
}
|
|
187
|
+
/** 刷新数据 */
|
|
188
|
+
async refresh() {
|
|
189
|
+
await this.load();
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* 加载数据并填充到modelMetaMap中
|
|
193
|
+
* @protected
|
|
194
|
+
* @return {*}
|
|
195
|
+
*/
|
|
196
|
+
async load() {
|
|
197
|
+
if (!this.masterModelKey) {
|
|
198
|
+
console.error("缺少主模型的key");
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
const models = await this.fetcher.load({ model: this.masterModelKey });
|
|
202
|
+
this.modelMetaMap = models.reduce((acc, cur) => {
|
|
203
|
+
acc[cur.key] = cur;
|
|
204
|
+
if (cur.key === this.masterModelKey) {
|
|
205
|
+
cur.name = this.masterModelName;
|
|
206
|
+
}
|
|
207
|
+
return acc;
|
|
208
|
+
}, {});
|
|
209
|
+
}
|
|
210
|
+
/** 是否是子模型字段 */
|
|
211
|
+
isSubField(field) {
|
|
212
|
+
return field.type === FIELD_TYPE.MASTERSLAVE && field.bindInfo;
|
|
213
|
+
}
|
|
214
|
+
/** 是否是预置字段,包括系统字段和业务内置字段 */
|
|
215
|
+
isPresetField(field) {
|
|
216
|
+
return [CreateType.BUILTIN, CreateType.SYSTEM].includes(field.createType);
|
|
217
|
+
}
|
|
218
|
+
/** 是否是系统字段 */
|
|
219
|
+
isSystemField(field) {
|
|
220
|
+
return field.createType === CreateType.SYSTEM;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* 获取主模型里子表字段对应的子模型key
|
|
224
|
+
*
|
|
225
|
+
* @param fieldKey 子表字段在主表里的字段key
|
|
226
|
+
* @return {*}
|
|
227
|
+
*/
|
|
228
|
+
getSubFieldModelKey(fieldKey) {
|
|
229
|
+
return this.masterFields.find((field) => field.key === fieldKey)?.bindInfo;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* 获取字段信息
|
|
233
|
+
* @param [modelKey=this.masterModelKey] 模型key
|
|
234
|
+
* @param fieldKey 字段key
|
|
235
|
+
* @return {*}
|
|
236
|
+
*/
|
|
237
|
+
findField(modelKey = this.masterModelKey, fieldKey) {
|
|
238
|
+
const model = this.modelMetaMap[modelKey];
|
|
239
|
+
if (!model) {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
return model.fields.find((field) => field.key === fieldKey);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
const FormModelControllerKey = "GctFormModelController";
|
|
246
|
+
function useFormModel() {
|
|
247
|
+
function provideController(c = new FormModelController()) {
|
|
248
|
+
provide(FormModelControllerKey, c);
|
|
249
|
+
return c;
|
|
250
|
+
}
|
|
251
|
+
function injectController() {
|
|
252
|
+
return inject(FormModelControllerKey);
|
|
253
|
+
}
|
|
254
|
+
return {
|
|
255
|
+
provideController,
|
|
256
|
+
injectController
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
var _a;
|
|
260
|
+
const isClient = typeof window !== "undefined";
|
|
261
|
+
const isString = (val) => typeof val === "string";
|
|
262
|
+
const noop = () => {
|
|
263
|
+
};
|
|
264
|
+
const isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
265
|
+
function resolveUnref(r) {
|
|
266
|
+
return typeof r === "function" ? r() : unref(r);
|
|
267
|
+
}
|
|
268
|
+
function createFilterWrapper(filter, fn) {
|
|
269
|
+
function wrapper(...args) {
|
|
270
|
+
return new Promise((resolve, reject) => {
|
|
271
|
+
Promise.resolve(filter(() => fn.apply(this, args), { fn, thisArg: this, args })).then(resolve).catch(reject);
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
return wrapper;
|
|
275
|
+
}
|
|
276
|
+
const bypassFilter = (invoke) => {
|
|
277
|
+
return invoke();
|
|
278
|
+
};
|
|
279
|
+
function debounceFilter(ms, options = {}) {
|
|
280
|
+
let timer;
|
|
281
|
+
let maxTimer;
|
|
282
|
+
let lastRejector = noop;
|
|
283
|
+
const _clearTimeout = (timer2) => {
|
|
284
|
+
clearTimeout(timer2);
|
|
285
|
+
lastRejector();
|
|
286
|
+
lastRejector = noop;
|
|
287
|
+
};
|
|
288
|
+
const filter = (invoke) => {
|
|
289
|
+
const duration = resolveUnref(ms);
|
|
290
|
+
const maxDuration = resolveUnref(options.maxWait);
|
|
291
|
+
if (timer)
|
|
292
|
+
_clearTimeout(timer);
|
|
293
|
+
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
294
|
+
if (maxTimer) {
|
|
295
|
+
_clearTimeout(maxTimer);
|
|
296
|
+
maxTimer = null;
|
|
297
|
+
}
|
|
298
|
+
return Promise.resolve(invoke());
|
|
299
|
+
}
|
|
300
|
+
return new Promise((resolve, reject) => {
|
|
301
|
+
lastRejector = options.rejectOnCancel ? reject : resolve;
|
|
302
|
+
if (maxDuration && !maxTimer) {
|
|
303
|
+
maxTimer = setTimeout(() => {
|
|
304
|
+
if (timer)
|
|
305
|
+
_clearTimeout(timer);
|
|
306
|
+
maxTimer = null;
|
|
307
|
+
resolve(invoke());
|
|
308
|
+
}, maxDuration);
|
|
309
|
+
}
|
|
310
|
+
timer = setTimeout(() => {
|
|
311
|
+
if (maxTimer)
|
|
312
|
+
_clearTimeout(maxTimer);
|
|
313
|
+
maxTimer = null;
|
|
314
|
+
resolve(invoke());
|
|
315
|
+
}, duration);
|
|
316
|
+
});
|
|
317
|
+
};
|
|
318
|
+
return filter;
|
|
319
|
+
}
|
|
320
|
+
function throttleFilter(ms, trailing = true, leading = true, rejectOnCancel = false) {
|
|
321
|
+
let lastExec = 0;
|
|
322
|
+
let timer;
|
|
323
|
+
let isLeading = true;
|
|
324
|
+
let lastRejector = noop;
|
|
325
|
+
let lastValue;
|
|
326
|
+
const clear = () => {
|
|
327
|
+
if (timer) {
|
|
328
|
+
clearTimeout(timer);
|
|
329
|
+
timer = void 0;
|
|
330
|
+
lastRejector();
|
|
331
|
+
lastRejector = noop;
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
const filter = (_invoke) => {
|
|
335
|
+
const duration = resolveUnref(ms);
|
|
336
|
+
const elapsed = Date.now() - lastExec;
|
|
337
|
+
const invoke = () => {
|
|
338
|
+
return lastValue = _invoke();
|
|
339
|
+
};
|
|
340
|
+
clear();
|
|
341
|
+
if (duration <= 0) {
|
|
342
|
+
lastExec = Date.now();
|
|
343
|
+
return invoke();
|
|
344
|
+
}
|
|
345
|
+
if (elapsed > duration && (leading || !isLeading)) {
|
|
346
|
+
lastExec = Date.now();
|
|
347
|
+
invoke();
|
|
348
|
+
} else if (trailing) {
|
|
349
|
+
lastValue = new Promise((resolve, reject) => {
|
|
350
|
+
lastRejector = rejectOnCancel ? reject : resolve;
|
|
351
|
+
timer = setTimeout(() => {
|
|
352
|
+
lastExec = Date.now();
|
|
353
|
+
isLeading = true;
|
|
354
|
+
resolve(invoke());
|
|
355
|
+
clear();
|
|
356
|
+
}, Math.max(0, duration - elapsed));
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
if (!leading && !timer)
|
|
360
|
+
timer = setTimeout(() => isLeading = true, duration);
|
|
361
|
+
isLeading = false;
|
|
362
|
+
return lastValue;
|
|
363
|
+
};
|
|
364
|
+
return filter;
|
|
365
|
+
}
|
|
366
|
+
function identity(arg) {
|
|
367
|
+
return arg;
|
|
368
|
+
}
|
|
369
|
+
function tryOnScopeDispose(fn) {
|
|
370
|
+
if (getCurrentScope()) {
|
|
371
|
+
onScopeDispose(fn);
|
|
372
|
+
return true;
|
|
373
|
+
}
|
|
374
|
+
return false;
|
|
375
|
+
}
|
|
376
|
+
function useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {
|
|
377
|
+
return createFilterWrapper(throttleFilter(ms, trailing, leading, rejectOnCancel), fn);
|
|
378
|
+
}
|
|
379
|
+
function tryOnMounted(fn, sync = true) {
|
|
380
|
+
if (getCurrentInstance())
|
|
381
|
+
onMounted(fn);
|
|
382
|
+
else if (sync)
|
|
383
|
+
fn();
|
|
384
|
+
else
|
|
385
|
+
nextTick(fn);
|
|
386
|
+
}
|
|
387
|
+
var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
|
|
388
|
+
var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
|
|
389
|
+
var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
|
|
390
|
+
var __objRest$5 = (source, exclude) => {
|
|
391
|
+
var target = {};
|
|
392
|
+
for (var prop in source)
|
|
393
|
+
if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
394
|
+
target[prop] = source[prop];
|
|
395
|
+
if (source != null && __getOwnPropSymbols$6)
|
|
396
|
+
for (var prop of __getOwnPropSymbols$6(source)) {
|
|
397
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))
|
|
398
|
+
target[prop] = source[prop];
|
|
399
|
+
}
|
|
400
|
+
return target;
|
|
401
|
+
};
|
|
402
|
+
function watchWithFilter(source, cb, options = {}) {
|
|
403
|
+
const _a2 = options, {
|
|
404
|
+
eventFilter = bypassFilter
|
|
405
|
+
} = _a2, watchOptions = __objRest$5(_a2, [
|
|
406
|
+
"eventFilter"
|
|
407
|
+
]);
|
|
408
|
+
return watch(source, createFilterWrapper(eventFilter, cb), watchOptions);
|
|
409
|
+
}
|
|
410
|
+
var __defProp$4 = Object.defineProperty;
|
|
411
|
+
var __defProps$4 = Object.defineProperties;
|
|
412
|
+
var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
|
|
413
|
+
var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
|
|
414
|
+
var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
|
|
415
|
+
var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
|
|
416
|
+
var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
417
|
+
var __spreadValues$4 = (a, b) => {
|
|
418
|
+
for (var prop in b || (b = {}))
|
|
419
|
+
if (__hasOwnProp$4.call(b, prop))
|
|
420
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
421
|
+
if (__getOwnPropSymbols$4)
|
|
422
|
+
for (var prop of __getOwnPropSymbols$4(b)) {
|
|
423
|
+
if (__propIsEnum$4.call(b, prop))
|
|
424
|
+
__defNormalProp$4(a, prop, b[prop]);
|
|
425
|
+
}
|
|
426
|
+
return a;
|
|
427
|
+
};
|
|
428
|
+
var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
|
|
429
|
+
var __objRest$3 = (source, exclude) => {
|
|
430
|
+
var target = {};
|
|
431
|
+
for (var prop in source)
|
|
432
|
+
if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
433
|
+
target[prop] = source[prop];
|
|
434
|
+
if (source != null && __getOwnPropSymbols$4)
|
|
435
|
+
for (var prop of __getOwnPropSymbols$4(source)) {
|
|
436
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))
|
|
437
|
+
target[prop] = source[prop];
|
|
438
|
+
}
|
|
439
|
+
return target;
|
|
440
|
+
};
|
|
441
|
+
function watchDebounced(source, cb, options = {}) {
|
|
442
|
+
const _a2 = options, {
|
|
443
|
+
debounce = 0,
|
|
444
|
+
maxWait = void 0
|
|
445
|
+
} = _a2, watchOptions = __objRest$3(_a2, [
|
|
446
|
+
"debounce",
|
|
447
|
+
"maxWait"
|
|
448
|
+
]);
|
|
449
|
+
return watchWithFilter(source, cb, __spreadProps$4(__spreadValues$4({}, watchOptions), {
|
|
450
|
+
eventFilter: debounceFilter(debounce, { maxWait })
|
|
451
|
+
}));
|
|
452
|
+
}
|
|
453
|
+
class MBRender {
|
|
454
|
+
async openConsumeModal(data) {
|
|
455
|
+
throw new Error("Function openConsumeModal not implemented.");
|
|
456
|
+
}
|
|
457
|
+
async destoryConsumeModal() {
|
|
458
|
+
throw new Error("Function destoryConsumeModal not implemented.");
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
export {
|
|
462
|
+
BaseFormModelFetcher as B,
|
|
463
|
+
FormModelController as F,
|
|
464
|
+
InstanceStatusValues as I,
|
|
465
|
+
MBRender as M,
|
|
466
|
+
useThrottleFn as a,
|
|
467
|
+
MCRender as b,
|
|
468
|
+
isClient as c,
|
|
469
|
+
tryOnMounted as d,
|
|
470
|
+
isString as e,
|
|
471
|
+
identity as f,
|
|
472
|
+
isIOS as i,
|
|
473
|
+
noop as n,
|
|
474
|
+
resolveUnref as r,
|
|
475
|
+
tryOnScopeDispose as t,
|
|
476
|
+
useFormModel as u,
|
|
477
|
+
watchDebounced as w
|
|
478
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, createSlots, withCtx, createElementBlock, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-
|
|
2
|
+
import { E as useNamespace, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
3
3
|
import { isNil } from "lodash-es";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "number-input-ex",
|
|
@@ -1,9 +1,8 @@
|
|
|
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-BKTmHFPX.js";
|
|
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";
|
|
6
|
-
import "ant-design-vue";
|
|
7
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "org-props",
|
|
9
8
|
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-BPfw_Re6.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "org-style",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-
|
|
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 "
|
|
6
|
-
import { s as calcText } from "./index-BufHZCTt.js";
|
|
5
|
+
import { o as calcText } from "./index-BKTmHFPX.js";
|
|
7
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "pagination-design",
|
|
9
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { B as BwipCodeTypeOptions, n as loadBwip } from "./index-BKTmHFPX.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
|
-
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-
|
|
3
|
-
import {
|
|
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";
|
|
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
|
-
import { i as api, F as FIELD_TYPE$1,
|
|
3
|
-
import {
|
|
4
|
-
import { _ as _sfc_main$3, R as RefAutofillEditor } from "./ref-autofill-editor-
|
|
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";
|
|
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-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-BPfw_Re6.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ref-style",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bq as registerInstance, br as createEvent, bs as getColumnByProp, bt as timeout, bu as getVisibleSourceItem, bv as getColumns, bw as rowTypes, bx as GroupingRowPlugin, by as StretchColumn, bz as isStretchPlugin, bA as AutoSizeColumnPlugin, bB as FilterPlugin, bC as ExportFilePlugin, bD as SortingPlugin, bE as ColumnMovePlugin, bF as ThemeService, bG as h, bH as Host, bI as getElement, bJ as BasePlugin, bK as reduce, bL as columnTypes, bM as debounce, bN as RESIZE_INTERVAL, bO as DimensionStore, bP as gatherTrimmedItems, bQ as getColumnSizes, bR as getItemByIndex, bS as DataStore, bT as getSourceItem, bU as getSourceItemVirtualIndexByProp, bV as getColumnType, bW as setSourceByPhysicalIndex, bX as setSourceByVirtualIndex, bY as SelectionStore, bZ as cropCellToMax, b_ as nextCell, b$ as isRowType, c0 as ViewportStore } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
2
2
|
import { H as HEADER_SLOT, D as DATA_SLOT, g as getScrollDimension, v as viewportDataPartition, F as FOOTER_SLOT, C as CONTENT_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
3
3
|
import { g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
4
4
|
class ColumnDataProvider {
|
package/dist/{revogr-attribution_7.entry-6GWxPTYu.js → revogr-attribution_7.entry-g7DReToZ.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bq as registerInstance, bG as h, bH as Host, br as createEvent, bT as getSourceItem, bI as getElement, c5 as ColumnService, c6 as MOBILE_CLASS, c7 as SELECTION_BORDER_CLASS, c8 as getCellData, c9 as getCellEditor, ca as getRange, cb as isRangeSingleCell, cc as codesLetter, c0 as ViewportStore, bS as DataStore, cd as calculateRowHeaderSize, ce as ROW_HEADER_TYPE, cf as getScrollbarSize, cg as FOCUS_CLASS, bR as getItemByIndex, bt as timeout, ch as CELL_HANDLER_CLASS, bM as debounce, ci as TMP_SELECTION_BG_CLASS, bN as RESIZE_INTERVAL, cj as getItemByPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
2
2
|
import { v as verifyTouchTarget, g as getPropertyFromEvent } from "./events-BvSmBueA-VK7djXcC.js";
|
|
3
|
-
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-
|
|
3
|
+
import { i as isEditInput, a as isShortcutModifier, b as isClear, c as isTab, d as isEnterKeyValue, e as isCopy, f as isCut, g as isPaste, h as isAll } from "./edit.utils-CXmmCnxE-BdPovZCI.js";
|
|
4
4
|
import { H as HEADER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
5
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
5
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BjiiSDKG.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-
|
|
1
|
+
import { bt as timeout, bq as registerInstance, br as createEvent, bG as h, ck as EDIT_INPUT_WR, bH as Host, bI as getElement, bM as debounce, cn as DRAGG_TEXT, bT as getSourceItem, cj as getItemByPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-BdPovZCI.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
1
|
+
import { co as PSEUDO_GROUP_ITEM, cp as GROUP_EXPANDED, cq as GROUP_DEPTH, bG as h, cr as GROUP_EXPAND_BTN, cs as DATA_ROW, bT as getSourceItem, ct as isGroupingColumn, cu as GROUP_COLUMN_PROP, cv as getCellRaw, cw as DATA_COL, cx as CELL_CLASS, cy as Build, cz as isRowDragService, cA as DRAG_ICON_CLASS, cB as DRAGGABLE_CLASS, cC as getCellDataParsed, cD as GROUP_EXPAND_EVENT, bq as registerInstance, br as createEvent, c5 as ColumnService, cE as isGrouping, bH as Host, bI as getElement, bR as getItemByIndex, cF as HEADER_ROW_CLASS, cG as HEADER_ACTUAL_ROW_CLASS, cH as ROW_FOCUSED_CLASS, cI as HEADER_SORTABLE_CLASS, cJ as MIN_COL_SIZE, cg as FOCUS_CLASS, cK as FilterButton, cL as HeaderCellRenderer, cM as HEADER_CLASS } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BjiiSDKG.js";
|
|
3
3
|
import { H as HEADER_SLOT, C as CONTENT_SLOT, F as FOOTER_SLOT } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
4
4
|
const SortingSign = ({ column }) => {
|
|
5
5
|
var _a;
|
package/dist/{revogr-filter-panel.entry-BpgqhpkQ.js → revogr-filter-panel.entry-Cl_ZKbCr.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bq as registerInstance, br as createEvent, bM as debounce, bG as h, c1 as AndOrButton, c2 as ReorderButton, c3 as TrashButton, c4 as isFilterBtn, bH as Host, bI as getElement } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,9 +1,8 @@
|
|
|
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-
|
|
3
|
-
import { O as Orientation, v as LabelPosition } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-
|
|
2
|
+
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-BKTmHFPX.js";
|
|
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";
|
|
6
|
-
import "ant-design-vue";
|
|
7
6
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "check-box-style-editor",
|
|
9
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
3
3
|
const _hoisted_1 = { class: "absolute top-0px left-0px h-full w-full serialnumber-area" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "serialnumber-design",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../src/shared/index';
|