@gct-paas/excel 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AntdIcon-C3RMq2zm.js +1040 -0
- package/dist/{VueVideoPlayer-B8RJGNTv.js → VueVideoPlayer-ZLD8hL4k.js} +2 -2
- package/dist/{agg-design-6IuqtI73.js → agg-design-CeJqg8FA.js} +1 -1
- package/dist/{agg-props-MejKEFS3.js → agg-props-CGmbXrHl.js} +1 -1
- package/dist/{agg-style-BSiu_IYt.js → agg-style-BX2t2CGh.js} +1 -1
- package/dist/{align-editor-tfk5DTJa.js → align-editor-DPdYAGLc.js} +1 -1
- package/dist/{attach-fields-editor-DuBBB0a5.js → attach-fields-editor-O4OIRRpB.js} +2 -3
- package/dist/{barcode-design-9v8E6kVo.js → barcode-design-DURI5-Q5.js} +2 -3
- package/dist/base/index.es.js +181 -181
- package/dist/{base-font-editor-DXO4gdQ6.js → base-font-editor-DuDr0oh2.js} +2 -2
- package/dist/{boolean-design-BUPhr8Uf.js → boolean-design-oQ9w0jT6.js} +2 -3
- package/dist/{boolean-props-DG8zyoUM.js → boolean-props-TVey_bO1.js} +3 -3
- package/dist/{boolean-style-FpaFLB6X.js → boolean-style-ahVosL-1.js} +4 -5
- package/dist/{cell-upload-Su9wnjob.js → cell-upload-bBdpI6ua.js} +2 -2
- package/dist/{date-format-editor-CbbECWXa.js → date-format-editor-uNiiJFmw.js} +2 -3
- package/dist/{date-time-design-gtD8VkTL.js → date-time-design-CuMNyFsU.js} +1 -1
- package/dist/{date-time-props-x5cDoV3t.js → date-time-props-ufCr6G2X.js} +3 -4
- package/dist/{date-time-style-DLhE9q9h.js → date-time-style-DLxfllnf.js} +1 -1
- package/dist/{decimal-design-z2oZaw3i.js → decimal-design-D6FK5-3M.js} +1 -1
- package/dist/{decimal-display-mode-B08WxfSe.js → decimal-display-mode-CbMnQBVa.js} +2 -3
- package/dist/{decimal-props-8FH554Dg.js → decimal-props-D7eRAxEu.js} +6 -5
- package/dist/{decimal-style-B1U-geax.js → decimal-style-CIOLsYek.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BjuOuKER.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-Dt1QVHQ6.js} +2 -3
- package/dist/{diagonal-design-DA6rVQ0d.js → diagonal-design-Doz_EKCn.js} +2 -2
- package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-rs6NI9l0.js → document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js} +1550 -874
- package/dist/{document-sub-table-action-CfTQbFR6.js → document-sub-table-action-DTmf8djY.js} +2 -2
- package/dist/{double-design-BE1NVkXA.js → double-design-CgvwQhau.js} +1 -1
- package/dist/{double-props-CmFhTl5t.js → double-props-Do3bWECB.js} +4 -4
- package/dist/{double-style-B3zUPrSx.js → double-style--msZlxPG.js} +1 -1
- package/dist/{edit.utils-CXmmCnxE-CPiVjLsA.js → edit.utils-CXmmCnxE-BdPovZCI.js} +1 -1
- package/dist/{enum-design-CLuy-erC.js → enum-design-BdHT6RDE.js} +2 -3
- package/dist/{enum-props-B-Xo79Ev.js → enum-props-D5XXv3x-.js} +4 -5
- package/dist/{enum-style-BNUQk0PW.js → enum-style-DhrY3Nb3.js} +2 -2
- package/dist/excel.css +5068 -5068
- package/dist/{exceljs.min-6SjJb8ko.js → exceljs.min-Q7cd3slm.js} +2 -2
- package/dist/{expression-design-iNK25Lw-.js → expression-design-jkeo9bkU.js} +1 -1
- package/dist/{expression-props-Di7qnQBB.js → expression-props-D7Zk2Lj6.js} +1 -1
- package/dist/{expression-style-C2nPzbvt.js → expression-style-eJ70zjw3.js} +1 -1
- package/dist/{file-design-DGvWpVgB.js → file-design-mp0bI-tQ.js} +1 -1
- package/dist/{file-props-Mr9Usm5W.js → file-props-DfENXSNT.js} +2 -3
- package/dist/{file-style-CxbaWDp-.js → file-style-C2uWZfTL.js} +1 -1
- package/dist/{font-editor-tQ6vcAaI.js → font-editor-BgjVz_IS.js} +3 -3
- package/dist/{form-annotation-controller-Bvw0Tqum.js → form-annotation-controller-NcH3tnGJ.js} +2 -2
- package/dist/{image-design-Bd6LITZu.js → image-design-CRtBjNLy.js} +2 -2
- package/dist/{image-design-DVioYMro.js → image-design-DSbpGyCq.js} +2 -3
- package/dist/{image-props-DJTJ1Dz9.js → image-props-DaF9EaTG.js} +1 -1
- package/dist/{image-style-C6LMREtT.js → image-style-ChKqwGjs.js} +1 -1
- package/dist/{index-NlHiBl2x.js → index-0fm9o8n6.js} +1 -2
- package/dist/{index-BHl4jxdE.js → index-3W4ojOsw.js} +1 -2
- package/dist/{index-BKu3iJlW.js → index-7tuEFT4g.js} +2 -3
- package/dist/{index-CdNcHC4Z.js → index-924ospJT.js} +101 -141
- package/dist/{index-B2KpQKV0.js → index-B5sCWlDl.js} +1 -2
- package/dist/{index-C_zt8qy-.js → index-BIBsEVp6.js} +1 -2
- package/dist/{index-C8QF5XdL.js → index-BLZe6LV2.js} +1 -2
- package/dist/{index-mc9loCb9.js → index-BQlGsxLp.js} +1 -2
- package/dist/{index-DuIhcas9.js → index-BlD4K4x9.js} +1 -2
- package/dist/{index-B__ScMj2.js → index-BomC1N9j.js} +1 -2
- package/dist/{index-DHCu3ETv.js → index-Bp_dDukK.js} +1 -2
- package/dist/{index-Bo735WQG.js → index-C-R-S828.js} +1 -2
- package/dist/{index-j9Py4hbh.js → index-CKWk_Iax.js} +1 -2
- package/dist/{index-Dw7ZToXD.js → index-CLfbQ9Km.js} +1 -2
- package/dist/{index-C0clscii.js → index-Cejm_o4O.js} +1 -2
- package/dist/{index-0qy5-Y9L.js → index-CiCyHGDi.js} +1 -2
- package/dist/{index-BlCF5lMK.js → index-CnSZi6Rb.js} +1 -2
- package/dist/{index-Dpd2Dd4N.js → index-CpFGw3N1.js} +1 -2
- package/dist/{index-NFyuCXad.js → index-CrsYNoBp.js} +1 -2
- package/dist/{index-CsbYG4aV.js → index-Czp4LZY9.js} +1 -2
- package/dist/{index-m7_RhgY4.js → index-DBg_HS_0.js} +2 -3
- package/dist/{index-DLvd5e4P.js → index-DM8guHf_.js} +23 -1053
- package/dist/{index-BBinKvOy.js → index-DP-fe4OH.js} +1 -2
- package/dist/{index-DGoSq-oY.js → index-DSzP8X8O.js} +1 -2
- package/dist/{index-DBAbIwxZ.js → index-D_W1JQG3.js} +1 -2
- package/dist/{index-B1ARoYyx.js → index-DbGPzmbp.js} +2 -3
- package/dist/{index-CgYv7OwC.js → index-DfJnS3jv.js} +1 -2
- package/dist/{index-Dmlcu0Lr.js → index-DjrJwtC-.js} +2 -3
- package/dist/{index-Gbo2wZHI.js → index-GMmRcX1e.js} +2 -3
- package/dist/{index-DqK-PVTg.js → index-I4RvYVZ5.js} +1 -2
- package/dist/{index-BdhDAfPE.js → index-j478qavG.js} +1 -2
- package/dist/{index-64eDxMq_.js → index-qQN-nVT9.js} +1 -2
- package/dist/{index-iJg221as.js → index-uZMZ5Sw0.js} +1 -2
- package/dist/index.es.js +35 -29
- package/dist/{integer-design-B9Lp5hBQ.js → integer-design-D9JByLVX.js} +1 -1
- package/dist/integer-props-DxpV-NTy.js +160 -0
- package/dist/{integer-style-dFRGH8Le.js → integer-style-BDLAdzGV.js} +1 -1
- package/dist/mb-render-JL1sDSy6.js +478 -0
- package/dist/{number-input-ex-b4ufZ0Km.js → number-input-ex-3TUi3vyu.js} +1 -1
- package/dist/{org-props-VtCTqAmn.js → org-props-0IzW6XsJ.js} +2 -3
- package/dist/{org-style-DxE-Lz3h.js → org-style-DdpRlrHO.js} +1 -1
- package/dist/{pagination-design-JJtLgAEi.js → pagination-design-v9j51aeB.js} +2 -3
- package/dist/paper-widget-design-fyF-x54_.js +4 -0
- package/dist/{qrcode-design-Ch1o3wA6.js → qrcode-design-CmeowsPt.js} +1 -1
- package/dist/{ref-autofill-editor-BFSb_gl6.js → ref-autofill-editor--L_WtK7J.js} +2 -3
- package/dist/{ref-props-Cdu2o-sk.js → ref-props-jxfaWPha.js} +3 -4
- package/dist/{ref-style-Dp62tx5p.js → ref-style-CaMOimNG.js} +1 -1
- package/dist/{revo-grid.entry-BnyHDT6o.js → revo-grid.entry-DNrCIdcu.js} +1 -1
- package/dist/{revogr-attribution_7.entry-DUpUhrV1.js → revogr-attribution_7.entry-g7DReToZ.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-82fw5UeH.js → revogr-clipboard_3.entry-vJotBpPb.js} +2 -2
- package/dist/{revogr-data_4.entry-Kfvjfmkw.js → revogr-data_4.entry-CoP8SHrP.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DpD_Noa2.js → revogr-filter-panel.entry-Cl_ZKbCr.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-DsGpyqp2.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-DWza8j-a.js} +2 -3
- package/dist/{serialnumber-design-dCxPhyNA.js → serialnumber-design-DCbPl9zc.js} +1 -1
- package/dist/shared/index.es.js +30 -29
- package/dist/{signature-design-GOamY3lf.js → signature-design-DJ59c5xR.js} +1 -1
- package/dist/{signature-props-MuXYV3T5.js → signature-props-CfLmfzHT.js} +3 -4
- package/dist/{signature-style-weIWDkZN.js → signature-style-dr1T4Dfx.js} +1 -1
- package/dist/{single-field-drop-BNFdHzHJ.js → single-field-drop-BpgydSeT.js} +2 -2
- package/dist/{size-editor-BZj8kZja.js → size-editor-BSZoEseb.js} +1 -1
- package/dist/src/index.d.ts +4 -1
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/index.d.ts +2 -1
- package/dist/src/shared/index.d.ts +1 -0
- package/dist/{text-design-oQp6-LBZ.js → text-design-B1cCBOad.js} +2 -2
- package/dist/{text-design-Denb-SXq.js → text-design-GhDOCEKW.js} +2 -3
- package/dist/{text-props-DOpTFgI4.js → text-props-C87CNZwJ.js} +4 -4
- package/dist/{text-style-BxvSgLR_.js → text-style-lLe-3Jf4.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-Dl3YvY9P.js → throttle-Cpk1LoGk-BjiiSDKG.js} +1 -1
- package/dist/{timediff-design-ysLUnCMM.js → timediff-design-OvKUg4IL.js} +1 -2
- package/dist/{trace-design-DV38DOb_.js → trace-design-DGwi2jEJ.js} +2 -3
- package/dist/{trace-props-BVf4__TH.js → trace-props-BatGqfOz.js} +6 -7
- package/dist/{trace-style-BT-657QB.js → trace-style-DJIQyozK.js} +1 -1
- package/dist/{user-props-Dok53NqT.js → user-props-CwnMl96x.js} +2 -3
- package/dist/{user-style-C5BidVxP.js → user-style-C8ZQPaes.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DCAy89F-.js → value-editor.vue_vue_type_style_index_0_lang-f3d5bm3X.js} +2 -3
- package/dist/{integer-props-BSO1Cwfa.js → version-select-D6Jjs5hL.js} +93 -166
- package/dist/web-render/index.es.js +12 -12
- package/dist/{widget-barcode-Dkql6Uuz.js → widget-barcode-B0QQXeUU.js} +4 -5
- package/dist/{widget-diagonal-I0vD8vIp.js → widget-diagonal-DYSwEOPP.js} +3 -4
- package/dist/{widget-image-BEEAwq9h.js → widget-image-F3Kxsxt8.js} +5 -5
- package/dist/{widget-line-BA7Pco_E.js → widget-line-BAXnpy9r.js} +2 -3
- package/dist/{widget-pagination-CwX2P1_j.js → widget-pagination-Z8i0xx7v.js} +5 -6
- package/dist/{widget-power-C1q4qOsP.js → widget-power-hn2k4-Ug.js} +5 -4
- package/dist/{widget-qrcode-DiVEFdHj.js → widget-qrcode-fftrW5Nj.js} +3 -4
- package/dist/{widget-rangelimit-BsmL-mcZ.js → widget-rangelimit-BDivDS-G.js} +3 -4
- package/dist/{widget-serialnumber-CWo03Wxc.js → widget-serialnumber-1QCmac2g.js} +1 -1
- package/dist/{widget-text-Cg0AHGYz.js → widget-text-B51VrEKQ.js} +5 -5
- package/dist/{widget-timediff-BtMh8N_W.js → widget-timediff-DpN47Ghj.js} +2 -3
- package/package.json +1 -1
- package/dist/index-BKGFjeh6.js +0 -1154
- package/dist/paper-widget-design-B5-4PAz2.js +0 -4
- package/dist/search-DIHOEAeY.js +0 -36
- package/dist/signature-DDUs5vB9.js +0 -9
- package/dist/src/online-form/src/components/device/constant.d.ts +0 -1
- package/dist/src/online-form/src/components/esop/type.d.ts +0 -35
- package/dist/src/online-form/src/components/field-type-editor/editors/boolean-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/editors/date-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/editors/enum-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/editors/index.d.ts +0 -6
- package/dist/src/online-form/src/components/field-type-editor/editors/number-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/editors/text-editor.vue.d.ts +0 -13
- package/dist/src/online-form/src/components/field-type-editor/field-type-editor.vue.d.ts +0 -17
- package/dist/src/online-form/src/components/field-type-editor/index.d.ts +0 -2
- package/dist/src/online-form/src/components/field-type-editor/logic/index.d.ts +0 -8
- package/dist/src/online-form/src/components/field-type-editor/types/index.d.ts +0 -1
- package/dist/src/online-form/src/components/model-field-select/index.d.ts +0 -4
- package/dist/src/online-form/src/components/model-field-select/logic/index.d.ts +0 -10
- package/dist/src/online-form/src/components/model-field-select/model-field-select.vue.d.ts +0 -16
- package/dist/src/online-form/src/components/model-field-select/types/index.d.ts +0 -32
- package/dist/src/online-form/src/utils/common.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_common_/rangelimit/rangelimit-modal.vue.d.ts +0 -9
- package/dist/src/online-form/src/views/render/__components__/_common_/rangelimit/rangelimit-shower.vue.d.ts +0 -6
- package/dist/src/online-form/src/views/render/__components__/_common_/rangelimit/use-rangelimit.d.ts +0 -18
- package/dist/src/shared/components/pdf-viewer/useObserver.d.ts +0 -15
- package/dist/src/shared/components/pdf-viewer/useVirtualWindow.d.ts +0 -38
|
@@ -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 {
|
|
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-924ospJT.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 "./index-BKGFjeh6.js";
|
|
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-DuDr0oh2.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 "./index-
|
|
6
|
-
import { s as calcText } from "./index-CdNcHC4Z.js";
|
|
5
|
+
import { o as calcText } from "./index-924ospJT.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-924ospJT.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,8 +1,7 @@
|
|
|
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,
|
|
3
|
-
import { u as useModelFields,
|
|
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-924ospJT.js";
|
|
4
4
|
import { cloneDeep } from "lodash-es";
|
|
5
|
-
import { f as api, c as SubTableType, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-rs6NI9l0.js";
|
|
6
5
|
import { useModal } from "@gct-paas/core";
|
|
7
6
|
const _hoisted_1$2 = { class: "quick-search-editor" };
|
|
8
7
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, computed, withCtx, createElementVNode, createTextVNode, toDisplayString, nextTick, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { 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-924ospJT.js";
|
|
4
|
+
import { _ as _sfc_main$3, R as RefAutofillEditor } from "./ref-autofill-editor--L_WtK7J.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
import { FIELD_TYPE, useModal } from "@gct-paas/core";
|
|
7
|
-
import { f as api, _ as _export_sfc } from "./document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-rs6NI9l0.js";
|
|
8
7
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
9
8
|
__name: "field-condition-rules-modal",
|
|
10
9
|
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-DuDr0oh2.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-DUpUhrV1.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-DpD_Noa2.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,
|
|
2
|
+
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-924ospJT.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 "./index-BKGFjeh6.js";
|
|
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",
|