@gct-paas/excel 0.1.17 → 0.1.19
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/{BaseComponent-DJNL1tGs.js → BaseComponent-xTm5lvAr.js} +1 -0
- package/dist/{VueVideoPlayer-Db7qcsRE.js → VueVideoPlayer-Bt1Le9qP.js} +2 -2
- package/dist/{agg-design-BjqRVeg1.js → agg-design-B_5evAJ0.js} +1 -1
- package/dist/{agg-props-CrdosdGr.js → agg-props-C62Ecenu.js} +1 -1
- package/dist/{agg-style-CfZoOE-b.js → agg-style-Q0xSL8Ye.js} +1 -1
- package/dist/{align-editor-BaNT0jhx.js → align-editor-D_LtYlh3.js} +1 -1
- package/dist/{attach-fields-editor-CThobu8X.js → attach-fields-editor-3v3VNOfe.js} +2 -2
- package/dist/{barcode-design-CHjIeaiJ.js → barcode-design-lusKmMnv.js} +3 -2
- package/dist/base/index.es.js +370 -151
- package/dist/base-font-editor-DmasOst9.js +119 -0
- package/dist/{boolean-design-BYAdX-h5.js → boolean-design-BqGJVhKn.js} +3 -2
- package/dist/{boolean-props-jKvjhdlG.js → boolean-props-DS7J4GHS.js} +3 -3
- package/dist/{boolean-style-RsMRzVBL.js → boolean-style-C9FslVV7.js} +5 -4
- package/dist/cell-upload-BFw5Yg_j.js +33 -0
- package/dist/date-range-editor-PmJBHc8i.js +471 -0
- package/dist/{date-time-design-Du8pmDo-.js → date-time-design-DQ_Z-xUx.js} +1 -1
- package/dist/date-time-props-DfZoJukN.js +105 -0
- package/dist/{date-time-style-DSEnmxAE.js → date-time-style-Doye-MHk.js} +1 -1
- package/dist/{decimal-design-C2GbzP9k.js → decimal-design-Bg-tdrtL.js} +7 -3
- package/dist/{decimal-display-mode-CagizhJW.js → decimal-display-mode-D_K6_XX1.js} +3 -2
- package/dist/{decimal-props-CGLqWy8I.js → decimal-props-4QveEdf3.js} +5 -4
- package/dist/{decimal-style-6j22QKYO.js → decimal-style-B-n8SfAy.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-C5K6qhB-.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B3GvGAje.js} +110 -39
- package/dist/{diagonal-design-Cq3oxdHe.js → diagonal-design-B_l3lV5s.js} +2 -2
- package/dist/{double-design-CyXEqcV7.js → double-design-BaWZXLjK.js} +6 -3
- package/dist/{double-props-DaJoio1W.js → double-props-sDsBpAER.js} +4 -4
- package/dist/{double-style-B4lIth-J.js → double-style--oSjQw07.js} +1 -1
- package/dist/{document-sub-table-action-rz6gyez5.js → dynamic-table-action-zLjamAaN.js} +1124 -654
- package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-Bbu6cwRC.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js} +2312 -1402
- package/dist/{edit.utils-CXmmCnxE-DW8ClKe9.js → edit.utils-CXmmCnxE-BrwRVXLT.js} +1 -1
- package/dist/{enum-design-DSx09tOO.js → enum-design-BgVuHvvu.js} +13 -7
- package/dist/{enum-props-CJNuQLJ_.js → enum-props-DYN6LsLg.js} +4 -4
- package/dist/{enum-style-5N5xmgRJ.js → enum-style-D56_-gMw.js} +37 -9
- package/dist/excel.css +1480 -664
- package/dist/{exceljs.min-D9gV8q6H.js → exceljs.min-DQkwXbni.js} +2 -2
- package/dist/{expression-design-BJDbafot.js → expression-design-CIMwIArR.js} +1 -1
- package/dist/{expression-props-BpHbrsle.js → expression-props--l3LwKAM.js} +1 -1
- package/dist/{expression-style-qPh81w7Q.js → expression-style-CjM5oro9.js} +1 -1
- package/dist/{file-design-B7si04Bi.js → file-design-BYcXA55B.js} +1 -1
- package/dist/{file-props-DTtOnHQy.js → file-props-DvsQZUcL.js} +2 -2
- package/dist/{file-style-C6KW_szu.js → file-style-BiWmCsMZ.js} +1 -1
- package/dist/{font-editor-DgGgvmB2.js → font-editor-BaRVmXey.js} +3 -3
- package/dist/{form-annotation-controller-CoABDD4X.js → form-annotation-controller-Zw6OoPLe.js} +80 -23
- package/dist/{image-design-B92Xkcf-.js → image-design-Bad-BXel.js} +3 -2
- package/dist/{image-design-CCfpT4Rp.js → image-design-Dr_w89Hq.js} +2 -2
- package/dist/{image-props-DZgfzMta.js → image-props-4lKEAwDq.js} +1 -1
- package/dist/{image-style-DX6Q_gF4.js → image-style-LoHD1zvr.js} +1 -1
- package/dist/{index-Bnbl3VER.js → index--Bxx_VqV.js} +3 -2
- package/dist/{index-DsASTvC2.js → index-3qfB5NN-.js} +2 -1
- package/dist/{index-CtTSTTkq.js → index-B-2N8GeG.js} +3 -2
- package/dist/{index-Bg-x1hF6.js → index-B3YoA1vo.js} +3 -2
- package/dist/{index-BzhFcvnJ.js → index-B9IMST50.js} +3 -2
- package/dist/{index-Doxcf2Zs.js → index-BSfbsA-W.js} +3 -2
- package/dist/{index-DJISlRXi.js → index-BZYuG4zS.js} +5 -2
- package/dist/{index-DzIKEtWw.js → index-B_VejD7m.js} +4 -1
- package/dist/{index-BXMOCfWv.js → index-Bki98NXv.js} +3 -2
- package/dist/{index-DFgGQBCZ.js → index-Bm6Hdoud.js} +53 -110
- package/dist/{index-CmaPtyCh.js → index-BsUkUBZV.js} +5 -2
- package/dist/{index-BB5uSbo3.js → index-Bsjegt_0.js} +2 -1
- package/dist/{index-rn6aiccW.js → index-ByXwQO9g.js} +6 -3
- package/dist/{index-DOFSbVSN.js → index-C6mtZJIQ.js} +2 -1
- package/dist/{index-DRKvAxuA.js → index-C7KdVTwU.js} +2 -1
- package/dist/{index-tbaOl7Nd.js → index-CEufXc_2.js} +2 -1
- package/dist/{index-D6diRqWG.js → index-CH--dgZ4.js} +3 -2
- package/dist/{index-BEBKoAOg.js → index-COiTpNXf.js} +3 -2
- package/dist/{index-BYl8cK0A.js → index-CP099vf_.js} +2 -1
- package/dist/{index-BhzF0Rp3.js → index-CQ7Hcly4.js} +5 -3
- package/dist/{index-Be7TFwwX.js → index-CcLTIQGc.js} +5 -2
- package/dist/{index-C8qPy1oW.js → index-Ce0SltjH.js} +3 -2
- package/dist/{index-bvhV6lsn.js → index-CqjhgxKH.js} +15 -7
- package/dist/{index-B2iip4UC.js → index-D-mFMP7t.js} +3 -2
- package/dist/{index-IUYnmIJe.js → index-D4Yb4Urx.js} +2 -1
- package/dist/{index-Da7W9uBC.js → index-D9CHdykS.js} +3 -2
- package/dist/{index-DRd2oRK1.js → index-DDnUeBCP.js} +3 -2
- package/dist/{index-XbgrTOMF.js → index-DRYxbbtG.js} +2 -1
- package/dist/{index-Cw_YFCZT.js → index-Dk-CUvB9.js} +3876 -3389
- package/dist/{index-Dsj3FuVs.js → index-DpPrrfLV.js} +3 -2
- package/dist/{index-DgHRTRH5.js → index-Dq72GFzs.js} +3 -2
- package/dist/{index-p-Q3DQmv.js → index-Vx5npC-J.js} +4 -3
- package/dist/{index-CIoB2iny.js → index-pPTh0-mL.js} +2 -1
- package/dist/index.es.js +6 -5
- package/dist/{integer-design-CPzJPZon.js → integer-design-C2EkL0hc.js} +6 -3
- package/dist/{integer-props-deCDvNET.js → integer-props-Cs-CvjQS.js} +5 -4
- package/dist/{integer-style-DwZIRXEW.js → integer-style-BtAfQCAn.js} +1 -1
- package/dist/{mb-render-Bejyn-ep.js → mb-render-CsWNoQnS.js} +1 -1
- package/dist/{number-input-ex-CgwOH18n.js → number-input-ex-eza87s5O.js} +12 -4
- package/dist/{org-props-BeFVQ-QY.js → org-props-BJ6FKaVj.js} +3 -2
- package/dist/{org-style-CLVWLtyd.js → org-style-LRy5QsV5.js} +1 -1
- package/dist/{pagination-design-CT0EQmxW.js → pagination-design-sA-kbILI.js} +3 -2
- package/dist/paper-widget-design-BGY5qu-K.js +4 -0
- package/dist/{qrcode-design-CjOkp2xa.js → qrcode-design-BsWJrsvD.js} +1 -1
- package/dist/{ref-autofill-editor-B2KcQvyt.js → ref-autofill-editor-BbozAOcm.js} +2 -2
- package/dist/{ref-props-DPnt_pys.js → ref-props-BInJu7PN.js} +3 -3
- package/dist/{ref-style-D0XKTtP1.js → ref-style-Dgc_9tko.js} +1 -1
- package/dist/regex-editor-C09XpMhm.js +796 -0
- package/dist/{revo-grid.entry-ztDhASK3.js → revo-grid.entry-BIm5A5wM.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BtXV91vv.js → revogr-attribution_7.entry-B06XF5B_.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DXpq4oNb.js → revogr-clipboard_3.entry-C8dVJYtR.js} +2 -2
- package/dist/{revogr-data_4.entry-WA1PNcGb.js → revogr-data_4.entry-Dgp6vYqe.js} +2 -2
- package/dist/{revogr-filter-panel.entry-unpVAD7l.js → revogr-filter-panel.entry-xo_juIUc.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-CqaEwsvS.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-vIUGBOWr.js} +3 -2
- package/dist/{serialnumber-design-ClArHZWU.js → serialnumber-design-mWcys6hI.js} +1 -1
- package/dist/shared/index.es.js +18 -18
- package/dist/{signature-design-Cg2Ejj3g.js → signature-design-Dl-Lv5Z5.js} +5 -2
- package/dist/{signature-props-CNuLBWtc.js → signature-props-DSzpO-_r.js} +3 -3
- package/dist/{signature-style-DtlZdeFB.js → signature-style-Bk34vOsk.js} +1 -1
- package/dist/{single-field-drop-COLR9RIu.js → single-field-drop-CiPUMT9B.js} +2 -2
- package/dist/{size-editor-DyGGEX3s.js → size-editor-B5aunbUM.js} +1 -1
- package/dist/src/adapter/index.d.ts +1 -0
- package/dist/src/adapter/setup.d.ts +1 -1
- package/dist/src/nocode-base/src/_utils_/uuid.d.ts +6 -1
- package/dist/src/nocode-base/src/components/border-td.vue.d.ts +1 -0
- package/dist/src/nocode-base/src/components/{document-quick-fill-modal.vue.d.ts → document-quick-fill/dynamic-quick-fill-modal.vue.d.ts} +1 -1
- package/dist/src/nocode-base/src/components/{document-quick-fillin.vue.d.ts → document-quick-fill/fixed-quick-fill-modal.vue.d.ts} +6 -4
- package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +17 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts +13 -0
- package/dist/src/nocode-base/src/components/index.d.ts +4 -3
- package/dist/src/nocode-base/src/constant/index.d.ts +11 -0
- package/dist/src/nocode-base/src/hooks/annotation/collect-annotation-items.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/annotation/form-annotation-controller.d.ts +5 -2
- package/dist/src/nocode-base/src/hooks/annotation/form-change-row.d.ts +60 -0
- package/dist/src/nocode-base/src/hooks/annotation/index.d.ts +2 -0
- package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +2 -2
- package/dist/src/nocode-base/src/hooks/index.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +3 -1
- 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/hooks/useFormHook.d.ts +1 -1
- package/dist/src/nocode-base/src/hooks/useRenderData.d.ts +4 -2
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +39 -4
- package/dist/src/nocode-base/src/hooks/useValidator.d.ts +6 -6
- package/dist/src/nocode-base/src/hooks/validation/admission.d.ts +19 -0
- package/dist/src/nocode-base/src/hooks/validation/attach.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +35 -0
- package/dist/src/nocode-base/src/hooks/validation/formRulesStore.d.ts +15 -0
- package/dist/src/nocode-base/src/hooks/validation/merge.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/validation/runValidation.d.ts +17 -0
- package/dist/src/nocode-base/src/hooks/validation/scheduler.d.ts +12 -0
- package/dist/src/nocode-base/src/hooks/validation/types.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/validation/useFormValidator.d.ts +39 -0
- package/dist/src/nocode-base/src/hooks/validation/utils.d.ts +24 -0
- package/dist/src/nocode-base/src/hooks/validation/waitForSettle.d.ts +17 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +1 -1
- package/dist/src/nocode-base/src/types/common/base.d.ts +16 -2
- package/dist/src/nocode-base/src/types/fields/i-datepicker.d.ts +5 -1
- package/dist/src/nocode-base/src/types/fields/i-datetimepicker.d.ts +5 -1
- package/dist/src/nocode-base/src/types/fields/i-enum-select.d.ts +2 -0
- package/dist/src/nocode-base/src/types/fields/i-inputdouble.d.ts +5 -1
- package/dist/src/nocode-base/src/types/fields/i-inputnumber.d.ts +5 -1
- package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +27 -1
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +3 -1
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +3 -1
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +2 -0
- package/dist/src/nocode-base/src/types/widgets/i-sub-table.d.ts +4 -0
- package/dist/src/nocode-web-render/src/hooks/userFormPrint.d.ts +2 -0
- package/dist/src/nocode-web-render/src/render/index.d.ts +2 -2
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +3 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/sub-table-render.d.ts +3 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/index.d.ts +1 -2
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +3 -1
- package/dist/src/online-form/src/components/version-diff/index/types.d.ts +2 -0
- package/dist/src/online-form/src/utils/field.enum.d.ts +3 -2
- package/dist/src/online-form/src/views/__cell_widgets__/common/keep-exception-highlight-editor/keep-exception-highlight-editor.vue.d.ts +10 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/regex-editor/common-regex-api.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/regex-editor/editor.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +28 -0
- package/dist/src/online-form/src/views/designer/hooks/useModelFields.d.ts +1 -1
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +43 -2
- package/dist/src/{nocode-web-render/src/render/sub-table/material-consume/scan-modal.vue.d.ts → online-form/src/views/designer/modules/panel/comps/confirm-before-delete-config.vue.d.ts} +2 -4
- package/dist/src/online-form/src/views/designer/modules/panel/comps/quick-fill-config.vue.d.ts +8 -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/modules/sheet/sheet-cell.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/types/index.d.ts +4 -0
- package/dist/src/online-form/src/views/designer/utils/xlsx-parser.d.ts +3 -0
- package/dist/src/online-form/src/views/render/__components__/_common_/widget-component.vue.d.ts +3 -1
- package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +5 -0
- package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +2 -2
- package/dist/src/shared/utils/host-api.d.ts +3 -11
- package/dist/{text-design-DjJS6aM4.js → text-design-BIFz5gw1.js} +3 -2
- package/dist/{text-design-490okDpw.js → text-design-C0dORvkP.js} +10 -6
- package/dist/{text-props-Dh4S3iN0.js → text-props-ClHI-4aM.js} +21 -252
- package/dist/{text-style-BGeNrOMv.js → text-style-DANM5fvy.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BWXeZXFZ.js → throttle-Cpk1LoGk-Da5HSLWc.js} +1 -1
- package/dist/{timediff-design-DEh9xNVa.js → timediff-design-BDCsQIal.js} +2 -1
- package/dist/{trace-design-Dk0irY70.js → trace-design-CKqq1WH_.js} +2 -2
- package/dist/{trace-props-DRBrPqIq.js → trace-props-BI24XFMc.js} +53 -16
- package/dist/{trace-style-6lXlaJ2o.js → trace-style-CX1f7oZH.js} +1 -1
- package/dist/{user-props-yasRJPzM.js → user-props-gF7KPnP8.js} +3 -2
- package/dist/{user-style-dkDUDf63.js → user-style-DIouAMWa.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-8rhhfLv7.js → value-editor.vue_vue_type_style_index_0_lang-DHj-zNxm.js} +3 -2
- package/dist/{version-select-dvsx-Ifv.js → version-select-CL3QQGND.js} +2 -2
- package/dist/web-render/index.es.js +9 -9
- package/dist/{widget-barcode-BfzXe5MQ.js → widget-barcode-DZiCyrQW.js} +5 -4
- package/dist/{widget-diagonal-R5qdvCvE.js → widget-diagonal-D_Oz8te1.js} +3 -3
- package/dist/{widget-image-C0zAtiuf.js → widget-image-TL_SLOap.js} +5 -5
- package/dist/{widget-line-z4TTPDkL.js → widget-line-BQ-qcBUA.js} +3 -2
- package/dist/{widget-pagination-CeO9pmmu.js → widget-pagination-DciJE9qC.js} +6 -5
- package/dist/{widget-power-CP1DLxkZ.js → widget-power-B9KTIpwA.js} +3 -3
- package/dist/{widget-qrcode-Boz_t9l9.js → widget-qrcode-DRoj5rSy.js} +4 -3
- package/dist/{widget-rangelimit-B9kRG_Fa.js → widget-rangelimit-Ckgx3i4r.js} +3 -3
- package/dist/{widget-serialnumber-BBUxx4nB.js → widget-serialnumber-aUkR-0yC.js} +1 -1
- package/dist/{widget-text-qvLZssGe.js → widget-text-CJIT-hY3.js} +5 -5
- package/dist/{widget-timediff-BBmssjfJ.js → widget-timediff-x-RQMdNg.js} +3 -2
- package/package.json +1 -1
- package/dist/base-font-editor-BiSPxwVH.js +0 -83
- package/dist/cell-upload-JxFLM1bV.js +0 -25
- package/dist/date-format-editor-BZ89hVjL.js +0 -240
- package/dist/date-time-props-BWvuzNXX.js +0 -265
- package/dist/paper-widget-design-DKBVqvH3.js +0 -4
- package/dist/src/nocode-base/src/hooks/form-model/fetcher.d.ts +0 -40
- package/dist/src/nocode-base/src/interface/data.d.ts +0 -47
- package/dist/src/nocode-base/src/interface/util.d.ts +0 -108
- /package/dist/src/nocode-base/src/components/document-sub-table-action/{document-sub-table-action.vue.d.ts → dynamic-table-action.vue.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bW as registerInstance, bX as createEvent, bY as getColumnByProp, bZ as timeout, b_ as getVisibleSourceItem, b$ as getColumns, c0 as rowTypes, c1 as GroupingRowPlugin, c2 as StretchColumn, c3 as isStretchPlugin, c4 as AutoSizeColumnPlugin, c5 as FilterPlugin, c6 as ExportFilePlugin, c7 as SortingPlugin, c8 as ColumnMovePlugin, c9 as ThemeService, ca as h, cb as Host, cc as getElement, cd as BasePlugin, ce as reduce, cf as columnTypes, cg as debounce, ch as RESIZE_INTERVAL, ci as DimensionStore, cj as gatherTrimmedItems, ck as getColumnSizes, cl as getItemByIndex, cm as DataStore, cn as getSourceItem, co as getSourceItemVirtualIndexByProp, cp as getColumnType, cq as setSourceByPhysicalIndex, cr as setSourceByVirtualIndex, cs as SelectionStore, ct as cropCellToMax, cu as nextCell, cv as isRowType, cw as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.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-BtXV91vv.js → revogr-attribution_7.entry-B06XF5B_.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bW as registerInstance, ca as h, cb as Host, bX as createEvent, cn as getSourceItem, cc as getElement, cB as ColumnService, cC as MOBILE_CLASS, cD as SELECTION_BORDER_CLASS, cE as getCellData, cF as getCellEditor, cG as getRange, cH as isRangeSingleCell, cI as codesLetter, cw as ViewportStore, cm as DataStore, cJ as calculateRowHeaderSize, cK as ROW_HEADER_TYPE, cL as getScrollbarSize, cM as FOCUS_CLASS, cl as getItemByIndex, bZ as timeout, cN as CELL_HANDLER_CLASS, cg as debounce, cO as TMP_SELECTION_BG_CLASS, ch as RESIZE_INTERVAL, cP as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.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-BrwRVXLT.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-Da5HSLWc.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 { bZ as timeout, bW as registerInstance, bX as createEvent, ca as h, cQ as EDIT_INPUT_WR, cb as Host, cc as getElement, cg as debounce, cT as DRAGG_TEXT, cn as getSourceItem, cP as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-BrwRVXLT.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 { cU as PSEUDO_GROUP_ITEM, cV as GROUP_EXPANDED, cW as GROUP_DEPTH, ca as h, cX as GROUP_EXPAND_BTN, cY as DATA_ROW, cn as getSourceItem, cZ as isGroupingColumn, c_ as GROUP_COLUMN_PROP, c$ as getCellRaw, d0 as DATA_COL, d1 as CELL_CLASS, d2 as Build, d3 as isRowDragService, d4 as DRAG_ICON_CLASS, d5 as DRAGGABLE_CLASS, d6 as getCellDataParsed, d7 as GROUP_EXPAND_EVENT, bW as registerInstance, bX as createEvent, cB as ColumnService, d8 as isGrouping, cb as Host, cc as getElement, cl as getItemByIndex, d9 as HEADER_ROW_CLASS, da as HEADER_ACTUAL_ROW_CLASS, db as ROW_FOCUSED_CLASS, dc as HEADER_SORTABLE_CLASS, dd as MIN_COL_SIZE, cM as FOCUS_CLASS, de as FilterButton, df as HeaderCellRenderer, dg as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-Da5HSLWc.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-unpVAD7l.js → revogr-filter-panel.entry-xo_juIUc.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bW as registerInstance, bX as createEvent, cg as debounce, ca as h, cx as AndOrButton, cy as ReorderButton, cz as TrashButton, cA as isFilterBtn, cb as Host, cc as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,8 +1,9 @@
|
|
|
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-Dk-CUvB9.js";
|
|
3
|
+
import { O as Orientation, x as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
+
import "ant-design-vue";
|
|
6
7
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "check-box-style-editor",
|
|
8
9
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.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",
|
package/dist/shared/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q,
|
|
2
|
-
import { O, _, S, V } from "../version-select-
|
|
1
|
+
import { Q, bK, C, R, a1, bL, X, Y, F, bM, d, bN, bO, bP, bQ, bR, bS, c, q, t, I, j, bT, as, bU, Z, bV, U, at, o } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
2
|
+
import { O, _, S, V } from "../version-select-CL3QQGND.js";
|
|
3
3
|
import { S as S2 } from "../AntdIcon-C3RMq2zm.js";
|
|
4
4
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
5
5
|
Platform2["WEB"] = "web";
|
|
@@ -50,40 +50,40 @@ export {
|
|
|
50
50
|
ButtonStyle,
|
|
51
51
|
ButtonType,
|
|
52
52
|
ButtonType_vant,
|
|
53
|
-
|
|
53
|
+
bK as CardControlEnum,
|
|
54
54
|
C as CreateType,
|
|
55
55
|
R as Dependency_ENUM,
|
|
56
56
|
a1 as EntityModelCategoryEnum,
|
|
57
|
-
|
|
57
|
+
bL as EntityModelTypeEnum,
|
|
58
58
|
X as ExpressionModeEnum,
|
|
59
59
|
Y as ExpressionTabEnum,
|
|
60
60
|
F as FIELD_TYPE,
|
|
61
|
-
|
|
61
|
+
bM as FIELD_TYPE_BASIC,
|
|
62
62
|
d as FIELD_TYPE_BUSINESS,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
bN as FIELD_TYPE_INSPECTION,
|
|
64
|
+
bO as FIELD_TYPE_LOGIC,
|
|
65
|
+
bP as FIELD_TYPE_MATERIAL,
|
|
66
|
+
bQ as FIELD_TYPE_PRETREATMENT,
|
|
67
|
+
bR as FIELD_TYPE_PRODUCE,
|
|
68
|
+
bS as FIELD_TYPE_STERILIZATION,
|
|
69
69
|
c as FIELD_TYPE_TRACE,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
q as FIELD_TYPE_WAREHOUSE,
|
|
71
|
+
t as FieldDefaultValueTypeEnum,
|
|
72
72
|
I as FieldIconMap,
|
|
73
73
|
j as FieldTypeToJs,
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
bT as FormDesignEnum,
|
|
75
|
+
as as FormulaRuleFieldKeyEnum,
|
|
76
76
|
GctMqttTopsEnum,
|
|
77
77
|
O as OnlineFormModelModal,
|
|
78
78
|
_ as OnlineFormModelSelect,
|
|
79
79
|
Platform,
|
|
80
|
-
|
|
80
|
+
bU as RecordNoGenerateEnum,
|
|
81
81
|
Z as ReturnTypeEnum,
|
|
82
82
|
S as SEARCH_SEVICE,
|
|
83
83
|
S2 as SignatureTypeEnum,
|
|
84
|
-
|
|
84
|
+
bV as TagTypeEnum,
|
|
85
85
|
U as UniqueConstraintType,
|
|
86
86
|
V as VersionSelect,
|
|
87
|
-
|
|
87
|
+
at as formulaRuleFieldDict,
|
|
88
88
|
o as onlineFormMasterModelTypeEnum
|
|
89
89
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock } from "vue";
|
|
2
|
-
import { C as CellUpload } from "./cell-upload-
|
|
2
|
+
import { C as CellUpload } from "./cell-upload-BFw5Yg_j.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "signature-design",
|
|
5
5
|
props: {
|
|
@@ -8,7 +8,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
8
|
},
|
|
9
9
|
setup(__props) {
|
|
10
10
|
return (_ctx, _cache) => {
|
|
11
|
-
return openBlock(), createBlock(CellUpload, {
|
|
11
|
+
return openBlock(), createBlock(CellUpload, {
|
|
12
|
+
disabled: __props.disabled,
|
|
13
|
+
"upload-type": "signature"
|
|
14
|
+
}, null, 8, ["disabled"]);
|
|
12
15
|
};
|
|
13
16
|
}
|
|
14
17
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, toDisplayString, createBlock, createCommentVNode, renderList, createTextVNode, normalizeClass, mergeProps } from "vue";
|
|
2
2
|
import { message } from "ant-design-vue";
|
|
3
|
-
import {
|
|
4
|
-
import { F as FormItem, S as SelectEx } from "./index-
|
|
5
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
3
|
+
import { E as SignatureTypeEnum, A as SignatureTimeTypeEnum, F as FIELD_TYPE, z as SignatureNumberTypeEnum, $ as ImageDisplayModeEnum, D as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
4
|
+
import { F as FormItem, S as SelectEx } from "./index-Dk-CUvB9.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-3v3VNOfe.js";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
8
8
|
const _hoisted_1 = { class: "adaptive-warning" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _export_sfc } from "./
|
|
1
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.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 {
|
|
3
|
-
import { b as useDrop, T as TransferType, u as useModelFields, c as getFieldIcon, q as SingleDrop } from "./index-
|
|
2
|
+
import { G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
3
|
+
import { b as useDrop, T as TransferType, u as useModelFields, c as getFieldIcon, q as SingleDrop } from "./index-Dk-CUvB9.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 "./
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -61,7 +61,7 @@ export interface ExcelSetupOptions {
|
|
|
61
61
|
* 宿主工具方法(overlay / GctPopup / GctDialog / CodeHelper / 公式等)
|
|
62
62
|
*
|
|
63
63
|
* API 不走 setup:直接使用全局 `_gct.api` / `_gct.HttpUtil`
|
|
64
|
-
* - 本地 demo:
|
|
64
|
+
* - 本地 demo:core 已挂只读 `_gct.api`;main.ts 补 `_gct.HttpUtil` 并 HttpUtil.use(interceptors)
|
|
65
65
|
* - 线上宿主:已有 `_gct`
|
|
66
66
|
*
|
|
67
67
|
* GctPopup:移动端弹层,替代原 `import { GctPopup } from '@mobile/utils/popup'`
|
|
@@ -18,4 +18,9 @@ export declare const mergeByMultiKey: (A: any, B: any, { keyFields, fieldsToMerg
|
|
|
18
18
|
isAllowMerge?: boolean | undefined;
|
|
19
19
|
isConcat?: boolean | undefined;
|
|
20
20
|
}) => any[];
|
|
21
|
-
|
|
21
|
+
/** 旧客户端会话键,提交时仍剥离(防止历史脏数据入库) */
|
|
22
|
+
export declare const CLIENT_ROW_UID_KEY = "__gct_rv_uid";
|
|
23
|
+
/** 前端行稳定身份 */
|
|
24
|
+
export declare const FRONT_ROW_KEY = "front_row_key_";
|
|
25
|
+
export declare function ensureFrontRowKey(row: Record<string, any> | null | undefined): string;
|
|
26
|
+
export declare const getRowId: (row: any) => string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
rowCount: number;
|
|
3
|
+
colCount: number;
|
|
4
|
+
dgRowCount: number;
|
|
5
|
+
dgColCount: number;
|
|
6
|
+
dgDirection: 'x' | 'y';
|
|
7
|
+
columns: any[];
|
|
6
8
|
};
|
|
7
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
10
|
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 处理行数据,将每一行的字段值根据字段类型进行转换和格式化
|
|
3
|
+
* 动态表、固定表共用
|
|
4
|
+
*/
|
|
5
|
+
export declare function processRows(rows?: never[], columns?: never[]): any[];
|
|
6
|
+
/**
|
|
7
|
+
* 将固定表的 RevoGrid 形式数据 进行分组 转换成独立行数据
|
|
8
|
+
*/
|
|
9
|
+
type RowData = Record<string, any>;
|
|
10
|
+
interface SplitOptions {
|
|
11
|
+
rowCount: number;
|
|
12
|
+
colCount: number;
|
|
13
|
+
direction: 'x' | 'y';
|
|
14
|
+
z?: 'row' | 'column';
|
|
15
|
+
}
|
|
16
|
+
export declare function groupFixedTableRows(rows: RowData[], options: SplitOptions): RowData[];
|
|
17
|
+
export {};
|
package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
formState: any;
|
|
3
|
+
widgetCenter: any;
|
|
4
|
+
fixedTableInfo: {
|
|
5
|
+
subFieldKey: string;
|
|
6
|
+
subModelKey: string;
|
|
7
|
+
range: any;
|
|
8
|
+
dgRange: any;
|
|
9
|
+
fillDirection: 'x' | 'y';
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -2,6 +2,7 @@ import { default as BorderTD } from './border-td.vue';
|
|
|
2
2
|
import { default as DocumentLoading } from './document-loading.vue';
|
|
3
3
|
import { default as DocumentLayout } from './document-layout.vue';
|
|
4
4
|
import { default as DocumentPaper } from './document-paper';
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
|
|
5
|
+
import { default as DynamicTableAction } from './document-sub-table-action/dynamic-table-action.vue';
|
|
6
|
+
import { default as DynamicQuickFillModal } from './document-quick-fill/dynamic-quick-fill-modal.vue';
|
|
7
|
+
import { default as FixedQuickFillModal } from './document-quick-fill/fixed-quick-fill-modal.vue';
|
|
8
|
+
export { BorderTD, DocumentLoading, DocumentLayout, DocumentPaper, DynamicTableAction, DynamicQuickFillModal, FixedQuickFillModal, };
|
|
@@ -256,6 +256,17 @@ export declare enum RangeValidateMode {
|
|
|
256
256
|
/** 变量校验 */
|
|
257
257
|
Variable_Validate = "VariableValidate"
|
|
258
258
|
}
|
|
259
|
+
/** 上下限比较运算符 */
|
|
260
|
+
export declare enum RangeCompareOp {
|
|
261
|
+
/** 小于等于 */
|
|
262
|
+
LE = "le",
|
|
263
|
+
/** 小于 */
|
|
264
|
+
LT = "lt",
|
|
265
|
+
/** 大于等于 */
|
|
266
|
+
GE = "ge",
|
|
267
|
+
/** 大于 */
|
|
268
|
+
GT = "gt"
|
|
269
|
+
}
|
|
259
270
|
/**
|
|
260
271
|
* 小数显示模式
|
|
261
272
|
*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** 按 cellLocation 从 map 收集变更项 */
|
|
2
|
+
export declare function collectAnnotationItemsByLocation<T extends {
|
|
3
|
+
id: string;
|
|
4
|
+
}>(map: Map<string, T[]>, cellLocation: string | string[] | undefined | null, fallback?: T[]): T[];
|
|
5
|
+
type TimedAnnotationItem = {
|
|
6
|
+
isCurrentChange?: boolean;
|
|
7
|
+
time?: string;
|
|
8
|
+
createTime?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 变更审批场景:保留「本次」及更早记录,去掉本次之后的
|
|
12
|
+
* 左侧表单数据停在本次时点时,后续变更不应再出现在右侧列表 / 高亮里
|
|
13
|
+
*/
|
|
14
|
+
export declare function filterAnnotationItemsUpToCurrent<T extends TimedAnnotationItem>(items: T[]): T[];
|
|
15
|
+
export {};
|
|
@@ -131,6 +131,8 @@ export declare abstract class FormAnnotationController implements IFormAnnotatio
|
|
|
131
131
|
}[]>;
|
|
132
132
|
/** 所有的修改过的单元格位置 */
|
|
133
133
|
allCellLocation: Ref<string[] | undefined, string[] | undefined>;
|
|
134
|
+
/** 当前展开行级展示的变更记录 id */
|
|
135
|
+
rowViewHistoryId: Ref<string | undefined, string | undefined>;
|
|
134
136
|
/** 是否已经加载过批注数据 */
|
|
135
137
|
hasLoadedHistory: Ref<boolean, boolean>;
|
|
136
138
|
/** 正在进行表单变更 */
|
|
@@ -138,7 +140,7 @@ export declare abstract class FormAnnotationController implements IFormAnnotatio
|
|
|
138
140
|
/** 表单变更原因 */
|
|
139
141
|
formChangeReason: Ref<string | undefined, string | undefined>;
|
|
140
142
|
/** 选中单元格的位置 */
|
|
141
|
-
selectedCell: Ref<string | undefined, string | undefined>;
|
|
143
|
+
selectedCell: Ref<string | string[] | undefined, string | string[] | undefined>;
|
|
142
144
|
/** 单据名称 */
|
|
143
145
|
docName: import('vue').ComputedRef<string>;
|
|
144
146
|
/** 表单是否是结束状态 */
|
|
@@ -169,6 +171,8 @@ export declare abstract class FormAnnotationController implements IFormAnnotatio
|
|
|
169
171
|
normalizeApprovalResponse: (res: any) => any;
|
|
170
172
|
normalizeAllResponse: (res: any) => any;
|
|
171
173
|
applyAnnotationItems: (items: any[], callback: any) => void;
|
|
174
|
+
scopeAnnotationItems(items: any[]): any[];
|
|
175
|
+
toggleFormChangeRowView: (historyId?: string) => Promise<void>;
|
|
172
176
|
/** 加载审批的批注信息 */
|
|
173
177
|
fetchApprovalFormChangeHistory: () => Promise<any>;
|
|
174
178
|
/** 加载所有批注信息 */
|
|
@@ -178,7 +182,6 @@ export declare abstract class FormAnnotationController implements IFormAnnotatio
|
|
|
178
182
|
/** 关闭批注 */
|
|
179
183
|
handleCloseAnnotation: () => Promise<void>;
|
|
180
184
|
ready: import('vue').ComputedRef<any>;
|
|
181
|
-
isWord: import('vue').ComputedRef<boolean>;
|
|
182
185
|
/**
|
|
183
186
|
* 弹出提示警告信息
|
|
184
187
|
*/
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { IBasicInfoItem } from '../../types';
|
|
2
|
+
type FormChangeRowOp = 'ADD' | 'DEL';
|
|
3
|
+
export interface FormChangeRowDetailMeta {
|
|
4
|
+
cellLocation: string;
|
|
5
|
+
cellType: string;
|
|
6
|
+
op: FormChangeRowOp;
|
|
7
|
+
subFieldId: string;
|
|
8
|
+
rowKey: string;
|
|
9
|
+
snapshot: Record<string, any>;
|
|
10
|
+
id?: string;
|
|
11
|
+
}
|
|
12
|
+
type FormChangeRowWmKind = 'ADD' | 'DEL' | 'ORPHAN';
|
|
13
|
+
export declare function getFormChangeRowKey(row: Record<string, any> | null | undefined): string | undefined;
|
|
14
|
+
export declare function getFormChangeRowOp(cellLocation?: string): FormChangeRowOp | null;
|
|
15
|
+
export declare function isAnnLocationSelected(selectId: string | string[] | undefined, loc?: string): boolean;
|
|
16
|
+
/** 幽灵 / 软删展示行:不做字段批注与必填校验 */
|
|
17
|
+
export declare function isFormChangeGhostRow(row: Record<string, any> | null | undefined): boolean;
|
|
18
|
+
export declare function buildStableFieldLocation(subFieldId: string, rowKey: string, fieldId: string, colIdx?: number): string;
|
|
19
|
+
export declare function resolveAnnotationFieldLocation(options: {
|
|
20
|
+
annList?: string[];
|
|
21
|
+
subFieldId?: string;
|
|
22
|
+
fieldId: string;
|
|
23
|
+
row?: Record<string, any>;
|
|
24
|
+
colIdx?: number;
|
|
25
|
+
}): string | undefined;
|
|
26
|
+
export declare function isRowAddedInCurrentFormChange(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string | undefined, row: Record<string, any> | null | undefined): boolean;
|
|
27
|
+
export declare function recordSubtableRowAdd(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, rows: Record<string, any>[]): void;
|
|
28
|
+
export declare function recordSubtableRowDelete(dataRelationShip: IBasicInfoItem | undefined, subFieldId: string, row: Record<string, any>): void;
|
|
29
|
+
/** 提交前刷新快照 */
|
|
30
|
+
export declare function enrichFormChangeRowDetails(formChangeNewData: Record<string, any> | undefined, formState: Record<string, any> | undefined): Record<string, any> | undefined;
|
|
31
|
+
export declare function extractFormChangeRowDetails(items: any[] | undefined): FormChangeRowDetailMeta[];
|
|
32
|
+
export declare function detailsHaveFormChangeRowOps(details?: any[]): boolean;
|
|
33
|
+
/** 从变更明细收集字段级坐标(排除行级 ADD/DEL) */
|
|
34
|
+
export declare function collectFormChangeFieldLocations(items: Array<{
|
|
35
|
+
details?: any[];
|
|
36
|
+
}> | undefined): string[];
|
|
37
|
+
export declare function resolveRowFormChangeMark(subFieldId: string, row: Record<string, any>, annRowDetails?: FormChangeRowDetailMeta[]): {
|
|
38
|
+
op: FormChangeRowOp;
|
|
39
|
+
cellLocation: string;
|
|
40
|
+
} | null;
|
|
41
|
+
export declare function resolveFormChangeRowUi(row: Record<string, any> | null | undefined, rowMark: {
|
|
42
|
+
op: FormChangeRowOp;
|
|
43
|
+
cellLocation: string;
|
|
44
|
+
} | null): {
|
|
45
|
+
trClass: string;
|
|
46
|
+
wmKind: FormChangeRowWmKind | null;
|
|
47
|
+
wmText: string;
|
|
48
|
+
wmClass: string;
|
|
49
|
+
};
|
|
50
|
+
/** 存活行保持实例序 → 删除块(表尾)→ 增后删块(再往后) */
|
|
51
|
+
export declare function buildFormChangeDisplayRows(subFieldId: string, currentRows: Record<string, any>[] | undefined, annRowDetails?: FormChangeRowDetailMeta[]): Record<string, any>[];
|
|
52
|
+
/** 切换某条变更的行级展示,返回下一轮选中的 historyId */
|
|
53
|
+
export declare function nextFormChangeRowViewHistoryId(currentId: string | undefined, historyId: string | undefined, items: Array<{
|
|
54
|
+
id?: string;
|
|
55
|
+
details?: any[];
|
|
56
|
+
}> | undefined): {
|
|
57
|
+
historyId?: string;
|
|
58
|
+
rowDetails: FormChangeRowDetailMeta[];
|
|
59
|
+
};
|
|
60
|
+
export {};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @export
|
|
4
4
|
* @return {*}
|
|
5
5
|
*/
|
|
6
|
-
export declare function getAppInfo():
|
|
6
|
+
export declare function getAppInfo(): Promise<import('@gct-paas/api/apaas').GetAppResponse>;
|
|
7
7
|
/**
|
|
8
8
|
* 获取套件信息
|
|
9
9
|
* @export
|
|
10
10
|
* @return {*}
|
|
11
11
|
*/
|
|
12
|
-
export declare function getSuiteKey(): Promise<
|
|
12
|
+
export declare function getSuiteKey(): Promise<string | undefined>;
|
|
13
13
|
/**
|
|
14
14
|
* 是否是edhr应用套件
|
|
15
15
|
* @export
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export { useStyles } from './useStyles';
|
|
2
2
|
export { useRenderPageFactory, type IProps, type IPayload } from './useRenderPageFactory';
|
|
3
3
|
export { useCurrentPageFormState, useWidgetStaticAttrs, useCalculateFormula, setSelectAnnotationId, setSelectValidatorId, setSelectMobileTdId, getSubTableQuickFillInfo, } from './useRenderData';
|
|
4
|
-
export { useValidator, validate, clearFormRules, deleteSubtableRow } from './useValidator';
|
|
4
|
+
export { useValidator, validate, clearFormRules, deleteSubtableRow, insertSubtableRows, settleAndValidateDisplay, requestFullValidation, requestDisplayValidation, registerValidationContext, unregisterValidationContext, } from './useValidator';
|
|
5
|
+
export { relocateDeletedRowsToEnd } from './validation/utils';
|
|
5
6
|
export { useNocodeEmitter } from './useNocodeEmitter';
|
|
6
7
|
export { useNocodeFormWidget } from './useFormHook';
|
|
7
8
|
export { useEbrWikiFactoryV2 } from './useEbrWikiFactoryV2';
|
|
@@ -22,7 +22,9 @@ export declare class MCRender implements IMcRender {
|
|
|
22
22
|
static bomModalProps: any;
|
|
23
23
|
openScanModal(opts: {
|
|
24
24
|
title: string;
|
|
25
|
-
onScan: (
|
|
25
|
+
onScan: (params: {
|
|
26
|
+
str?: string;
|
|
27
|
+
}) => void;
|
|
26
28
|
}): Promise<void>;
|
|
27
29
|
/**
|
|
28
30
|
* 实际打开UIModal的函数
|
|
@@ -8,7 +8,7 @@ export declare function useNocodeFormWidget(props: any, emit: any): {
|
|
|
8
8
|
realFieldId: import('vue').ComputedRef<string | undefined>;
|
|
9
9
|
annotationInfo: import('vue').ComputedRef<false | {
|
|
10
10
|
annClassList: string[];
|
|
11
|
-
annFieldId: string;
|
|
11
|
+
annFieldId: string | undefined;
|
|
12
12
|
showValidatorClass: boolean;
|
|
13
13
|
}>;
|
|
14
14
|
isDynValue: import('vue').ComputedRef<boolean>;
|
|
@@ -72,8 +72,10 @@ export declare function useCalculateFormula(): {
|
|
|
72
72
|
maxFormulaExpr: string;
|
|
73
73
|
}) => IParseFormulaVar[];
|
|
74
74
|
};
|
|
75
|
-
/** 选择批注id */
|
|
76
|
-
export declare function setSelectAnnotationId(id: string | undefined, basicInfoItem: IBasicInfoItem | undefined): void;
|
|
75
|
+
/** 选择批注 id;传入 event 且点在三角上时,汇总同格/组合字段内全部变更坐标 */
|
|
76
|
+
export declare function setSelectAnnotationId(id: string | undefined, basicInfoItem: IBasicInfoItem | undefined, event?: MouseEvent): void;
|
|
77
|
+
/** 关闭所有校验 Popover,避免旧锚点残留导致位置漂移 */
|
|
78
|
+
export declare function closeValidatorPopovers(): void;
|
|
77
79
|
/** 选择校验错误信息id */
|
|
78
80
|
export declare function setSelectValidatorId(event: MouseEvent, basicInfoItem: IBasicInfoItem | undefined): void;
|
|
79
81
|
/** 选择移动端tdId */
|