@gct-paas/excel 0.1.19 → 0.1.21
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/{VueVideoPlayer-Bt1Le9qP.js → VueVideoPlayer-Bf0x69CJ.js} +2 -2
- package/dist/{agg-design-B_5evAJ0.js → agg-design-CLSOm6QJ.js} +1 -1
- package/dist/{agg-props-C62Ecenu.js → agg-props-4nnDqWtf.js} +1 -1
- package/dist/{agg-style-Q0xSL8Ye.js → agg-style-FHSkeH5u.js} +1 -1
- package/dist/{align-editor-D_LtYlh3.js → align-editor-Bf391dfO.js} +1 -1
- package/dist/{attach-fields-editor-3v3VNOfe.js → attach-fields-editor-U0Vg4ar8.js} +3 -2
- package/dist/{barcode-design-lusKmMnv.js → barcode-design-XLuURxqD.js} +2 -2
- package/dist/base/index.es.js +352 -177
- package/dist/{base-font-editor-DmasOst9.js → base-font-editor-adnb7ShQ.js} +3 -2
- package/dist/{boolean-design-BqGJVhKn.js → boolean-design-Bk3jIc2m.js} +2 -2
- package/dist/{boolean-props-DS7J4GHS.js → boolean-props-D1C7P7oX.js} +3 -3
- package/dist/{boolean-style-C9FslVV7.js → boolean-style-CWmep9-Y.js} +4 -4
- package/dist/{cell-upload-BFw5Yg_j.js → cell-upload-wzPF8ovv.js} +3 -2
- package/dist/{date-range-editor-PmJBHc8i.js → date-range-editor-CGCLkDFp.js} +3 -2
- package/dist/{date-time-design-DQ_Z-xUx.js → date-time-design-CG6fhsBd.js} +1 -1
- package/dist/{date-time-props-DfZoJukN.js → date-time-props-DGa4XIFD.js} +3 -3
- package/dist/{date-time-style-Doye-MHk.js → date-time-style-C5xs_HQX.js} +1 -1
- package/dist/{decimal-design-Bg-tdrtL.js → decimal-design-Dg2PWB7J.js} +1 -1
- package/dist/{decimal-display-mode-D_K6_XX1.js → decimal-display-mode-B5nxWZnK.js} +2 -2
- package/dist/{decimal-props-4QveEdf3.js → decimal-props-BUduwEu5.js} +4 -4
- package/dist/{decimal-style-B-n8SfAy.js → decimal-style-CW6QyMh0.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B3GvGAje.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BlQSjkvP.js} +3 -2
- package/dist/{diagonal-design-B_l3lV5s.js → diagonal-design-xlveiCza.js} +2 -2
- package/dist/{double-design-BaWZXLjK.js → double-design-Dkzgoo0g.js} +1 -1
- package/dist/{double-props-sDsBpAER.js → double-props-DwI5z-Mz.js} +4 -4
- package/dist/{double-style--oSjQw07.js → double-style-B09n2Oup.js} +1 -1
- package/dist/{dynamic-table-action-zLjamAaN.js → dynamic-table-action-KwzaoPBC.js} +130 -271
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_94e9d614_lang-UooIxEeL.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js} +436 -306
- package/dist/{edit.utils-CXmmCnxE-BrwRVXLT.js → edit.utils-CXmmCnxE-Do4weQUL.js} +1 -1
- package/dist/{enum-design-BgVuHvvu.js → enum-design-D_hYB8q2.js} +2 -2
- package/dist/{enum-props-DYN6LsLg.js → enum-props-SHpVl7is.js} +4 -4
- package/dist/{enum-style-D56_-gMw.js → enum-style-zTZKj6Li.js} +3 -3
- package/dist/excel.css +10119 -10237
- package/dist/{exceljs.min-DQkwXbni.js → exceljs.min-Dy4OavkS.js} +2 -2
- package/dist/{expression-design-CIMwIArR.js → expression-design-DH37JCnd.js} +1 -1
- package/dist/{expression-props--l3LwKAM.js → expression-props-D4aZ2FzY.js} +1 -1
- package/dist/{expression-style-CjM5oro9.js → expression-style-Bj0tEmqJ.js} +1 -1
- package/dist/{file-design-BYcXA55B.js → file-design-hV82bwcT.js} +1 -1
- package/dist/{file-props-DvsQZUcL.js → file-props-BR0xOn8f.js} +2 -2
- package/dist/{file-style-BiWmCsMZ.js → file-style-CPXRGFCR.js} +1 -1
- package/dist/{font-editor-BaRVmXey.js → font-editor-QrOFLcNA.js} +3 -3
- package/dist/{image-design-Bad-BXel.js → image-design-B3FASJvR.js} +2 -2
- package/dist/{image-design-Dr_w89Hq.js → image-design-WqYFe8Hz.js} +2 -2
- package/dist/{image-props-4lKEAwDq.js → image-props-DZ0lHvNN.js} +1 -1
- package/dist/{image-style-LoHD1zvr.js → image-style-D3jSU46p.js} +1 -1
- package/dist/{index--Bxx_VqV.js → index-4aWfyi4S.js} +2 -2
- package/dist/{index-pPTh0-mL.js → index-B2JfWmQ5.js} +1 -1
- package/dist/{index-D4Yb4Urx.js → index-BCRANZ6N.js} +1 -1
- package/dist/index-BYFfjfXo.js +4198 -0
- package/dist/{index-Bsjegt_0.js → index-BYnhPyxm.js} +1 -1
- package/dist/{index-Vx5npC-J.js → index-B_bGf5j3.js} +2 -2
- package/dist/{index-DRYxbbtG.js → index-BgJenclY.js} +1 -1
- package/dist/{index-CH--dgZ4.js → index-BocrGDq2.js} +1 -1
- package/dist/{index-3qfB5NN-.js → index-BpacgAuY.js} +1 -1
- package/dist/{index-DDnUeBCP.js → index-C9uva5U9.js} +1 -1
- package/dist/{index-D-mFMP7t.js → index-CAp9OIUg.js} +2 -2
- package/dist/{index-COiTpNXf.js → index-CVsM5Bam.js} +1 -1
- package/dist/{index-Ce0SltjH.js → index-Cblyq6yH.js} +1 -1
- package/dist/{index-ByXwQO9g.js → index-ChFaMPeg.js} +2 -2
- package/dist/{index-CqjhgxKH.js → index-Cqh9EW_d.js} +9 -3
- package/dist/{index-B-2N8GeG.js → index-CquVE9ii.js} +1 -1
- package/dist/{index-Dk-CUvB9.js → index-CsLZerBY.js} +42714 -4640
- package/dist/{index-CQ7Hcly4.js → index-D8uy8whi.js} +1 -1
- package/dist/{index-CEufXc_2.js → index-DKR79OBc.js} +1 -1
- package/dist/{index-C7KdVTwU.js → index-DNHA-joo.js} +1 -1
- package/dist/{index-Bki98NXv.js → index-DU3SF4eg.js} +1 -1
- package/dist/{index-CcLTIQGc.js → index-DVaUctcz.js} +1 -1
- package/dist/{index-B9IMST50.js → index-DegtNz07.js} +1 -1
- package/dist/{index-B_VejD7m.js → index-DpFPYL8b.js} +1 -1
- package/dist/{index-BSfbsA-W.js → index-Dvp79b5b.js} +1 -1
- package/dist/{index-CP099vf_.js → index-DxgKf-wy.js} +1 -1
- package/dist/{index-BZYuG4zS.js → index-Jz0_ApK0.js} +1 -1
- package/dist/{index-C6mtZJIQ.js → index-Ol6_R1tg.js} +1 -1
- package/dist/{index-B3YoA1vo.js → index-RY064UmV.js} +1 -1
- package/dist/{index-BsUkUBZV.js → index-dECIkP6q.js} +1 -1
- package/dist/{index-DpPrrfLV.js → index-iGA3l7nd.js} +5 -1
- package/dist/{index-D9CHdykS.js → index-pMF19I7H.js} +1 -1
- package/dist/{index-Dq72GFzs.js → index-wmbtcxzT.js} +2 -2
- package/dist/index.es.js +45 -45
- package/dist/{integer-design-C2EkL0hc.js → integer-design-_-oIGMZi.js} +1 -1
- package/dist/{integer-props-Cs-CvjQS.js → integer-props-CbhqGTWT.js} +5 -4
- package/dist/{integer-style-BtAfQCAn.js → integer-style-CRDDq2e1.js} +1 -1
- package/dist/{mb-render-CsWNoQnS.js → mb-render-Bh6EegbE.js} +1 -30
- package/dist/{number-input-ex-eza87s5O.js → number-input-ex-n0MRaA8Z.js} +2 -1
- package/dist/{org-props-BJ6FKaVj.js → org-props-B_ED1XJd.js} +2 -2
- package/dist/{org-style-LRy5QsV5.js → org-style-P7mL2u1-.js} +1 -1
- package/dist/{pagination-design-sA-kbILI.js → pagination-design-CC2ZvE5K.js} +2 -2
- package/dist/paper-widget-design-CvvM0OZ2.js +4 -0
- package/dist/{qrcode-design-BsWJrsvD.js → qrcode-design-C_G8R7Lo.js} +1 -1
- package/dist/ref-autofill-editor-DdUMjliQ.js +2333 -0
- package/dist/{ref-props-BInJu7PN.js → ref-props-CCwA0E2w.js} +17 -9
- package/dist/{ref-style-Dgc_9tko.js → ref-style-C3Qy3L2V.js} +1 -1
- package/dist/{regex-editor-C09XpMhm.js → regex-editor-CswiNY9l.js} +3 -2
- package/dist/{revo-grid.entry-BIm5A5wM.js → revo-grid.entry-fhJrZlXs.js} +1 -1
- package/dist/{revogr-attribution_7.entry-B06XF5B_.js → revogr-attribution_7.entry-BxX5Aax7.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-C8dVJYtR.js → revogr-clipboard_3.entry-B84Mg6_S.js} +2 -2
- package/dist/{revogr-data_4.entry-Dgp6vYqe.js → revogr-data_4.entry-BSSMKH9X.js} +2 -2
- package/dist/{revogr-filter-panel.entry-xo_juIUc.js → revogr-filter-panel.entry-xjYp1Z8c.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-vIUGBOWr.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-JwULnnUe.js} +2 -2
- package/dist/{serialnumber-design-mWcys6hI.js → serialnumber-design-qdEzFAi4.js} +1 -1
- package/dist/shared/index.es.js +26 -27
- package/dist/{signature-design-Dl-Lv5Z5.js → signature-design-DyLTKEwS.js} +1 -1
- package/dist/{signature-props-DSzpO-_r.js → signature-props-CXwqrh0H.js} +3 -3
- package/dist/{signature-style-Bk34vOsk.js → signature-style-ibNQSAPQ.js} +1 -1
- package/dist/{single-field-drop-CiPUMT9B.js → single-field-drop-BSdWy-C4.js} +3 -2
- package/dist/{size-editor-B5aunbUM.js → size-editor-8C1AxONY.js} +1 -1
- package/dist/src/nocode-base/src/components/document-quick-fill/fixed-quick-fill-modal.vue.d.ts +5 -1
- package/dist/src/nocode-base/src/components/document-quick-fill/quick-fill.util.d.ts +11 -6
- package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/annotation/form-annotation-controller.d.ts +14 -148
- package/dist/src/nocode-base/src/hooks/annotation/index.d.ts +0 -1
- package/dist/src/nocode-base/src/types/fields/i-select.d.ts +4 -0
- package/dist/src/nocode-base/src/types/fields/i-trace.d.ts +7 -0
- package/dist/src/nocode-web-render/src/index.d.ts +0 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields-editor.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/display-fields.util.d.ts +11 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/display-fields-editor/index.d.ts +3 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/index.d.ts +3 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search-editor.vue.d.ts +15 -0
- package/dist/src/online-form/src/views/__cell_widgets__/common/quick-search-editor/quick-search.util.d.ts +14 -0
- package/dist/src/online-form/src/views/designer/modules/panel/comps/quick-fill-config.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/data-source-title.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/common-select.util.d.ts +47 -0
- package/dist/src/shared/components/Signature/ui/sign-editor.vue.d.ts +2 -2
- package/dist/src/shared/components/field-transfer/components/field-transfer-modal.vue.d.ts +30 -0
- package/dist/src/shared/components/field-transfer/components/modal-wrapper.vue.d.ts +65 -0
- package/dist/src/shared/components/field-transfer/hooks/useModelField.d.ts +169 -0
- package/dist/src/shared/components/field-transfer/hooks/useTreeData.d.ts +139 -0
- package/dist/src/shared/components/field-transfer/index.d.ts +21 -0
- package/dist/src/shared/components/field-transfer/useFieldTransfer.d.ts +47 -0
- package/dist/src/shared/components/field-transfer/utils/enum.d.ts +6 -0
- package/dist/src/shared/components/field-transfer/utils/i18n.d.ts +1 -0
- package/dist/src/shared/components/field-transfer/utils/tree-tool.d.ts +6 -0
- package/dist/src/shared/components/version-select/version-select.vue.d.ts +2 -2
- package/dist/{text-design-BIFz5gw1.js → text-design-BzDtceUO.js} +2 -2
- package/dist/{text-design-C0dORvkP.js → text-design-Di-2lpQC.js} +2 -2
- package/dist/{text-props-ClHI-4aM.js → text-props-YXtd9DCt.js} +5 -5
- package/dist/{text-style-DANM5fvy.js → text-style-BtclwHUQ.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-Da5HSLWc.js → throttle-Cpk1LoGk-BFMM5iqm.js} +1 -1
- package/dist/{timediff-design-BDCsQIal.js → timediff-design-DPDNHC4C.js} +1 -1
- package/dist/{trace-design-CKqq1WH_.js → trace-design-B2tffMF2.js} +2 -2
- package/dist/{trace-props-BI24XFMc.js → trace-props-CWTXFYZ9.js} +24 -16
- package/dist/{trace-style-CX1f7oZH.js → trace-style-AmSVnHXF.js} +1 -1
- package/dist/use-namespace-qtLS8nEh.js +88 -0
- package/dist/{user-props-gF7KPnP8.js → user-props-hR1saiG7.js} +2 -2
- package/dist/{user-style-DIouAMWa.js → user-style-BsMfhFHo.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DHj-zNxm.js → value-editor.vue_vue_type_style_index_0_lang-zAPZ-2E_.js} +2 -2
- package/dist/{version-select-CL3QQGND.js → version-select-CeQP0Bne.js} +1041 -4
- package/dist/web-render/index.es.js +12 -955
- package/dist/{widget-barcode-DZiCyrQW.js → widget-barcode-DPdsvAF5.js} +4 -4
- package/dist/{widget-diagonal-D_Oz8te1.js → widget-diagonal-BfjZGony.js} +4 -3
- package/dist/{widget-image-TL_SLOap.js → widget-image-D_E_0ZEd.js} +5 -5
- package/dist/{widget-line-BQ-qcBUA.js → widget-line-SDiSxrzr.js} +2 -2
- package/dist/{widget-pagination-DciJE9qC.js → widget-pagination-DdIoe9Yy.js} +5 -5
- package/dist/{widget-power-B9KTIpwA.js → widget-power-hifeC3T0.js} +4 -3
- package/dist/{widget-qrcode-DRoj5rSy.js → widget-qrcode-DBEsM1iE.js} +3 -3
- package/dist/{widget-rangelimit-Ckgx3i4r.js → widget-rangelimit-clQ84tvq.js} +4 -3
- package/dist/{widget-serialnumber-aUkR-0yC.js → widget-serialnumber-BXvzHCYR.js} +1 -1
- package/dist/{widget-text-CJIT-hY3.js → widget-text-CPojsb_9.js} +5 -5
- package/dist/{widget-timediff-x-RQMdNg.js → widget-timediff-DGBZsme_.js} +2 -2
- package/package.json +1 -1
- package/dist/AntdIcon-C3RMq2zm.js +0 -1040
- package/dist/form-annotation-controller-Zw6OoPLe.js +0 -707
- package/dist/index-Bm6Hdoud.js +0 -41849
- package/dist/paper-widget-design-BGY5qu-K.js +0 -4
- package/dist/ref-autofill-editor-BbozAOcm.js +0 -673
- package/dist/src/nocode-base/src/hooks/annotation/types.d.ts +0 -16
- package/dist/src/nocode-web-render/src/annotation/form-abandon-medpro-modal.vue.d.ts +0 -15
- package/dist/src/nocode-web-render/src/annotation/form-abandon-modal.vue.d.ts +0 -15
- package/dist/src/nocode-web-render/src/annotation/form-abandon-v2-modal.vue.d.ts +0 -11
- package/dist/src/nocode-web-render/src/annotation/index.d.ts +0 -2
- package/dist/src/nocode-web-render/src/annotation/submit-form-change-modal.vue.d.ts +0 -104
- package/dist/src/nocode-web-render/src/annotation/use-annotation.d.ts +0 -37
|
@@ -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 {
|
|
2
|
+
import { i as api, F as FIELD_TYPE$1, bO as FIELD_TYPE_BASIC, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
3
|
+
import { n as SEARCH_TYPE, u as useModelFields, F as FormItem, o as IconTooltip } from "./index-CsLZerBY.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-DdUMjliQ.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({
|
|
@@ -299,28 +299,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
299
299
|
]),
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["label"]),
|
|
302
|
-
(
|
|
302
|
+
createVNode(unref(DisplayFieldsEditor), {
|
|
303
|
+
displayFields: formState.value.displayFields,
|
|
304
|
+
"onUpdate:displayFields": _cache[2] || (_cache[2] = ($event) => formState.value.displayFields = $event),
|
|
305
|
+
fieldMeta: __props.fieldMeta,
|
|
306
|
+
disabled: __props.disabled
|
|
307
|
+
}, null, 8, ["displayFields", "fieldMeta", "disabled"]),
|
|
308
|
+
(isRefType.value || isRefMultiType.value || unref(getIsSearchableField)(__props.fieldMeta)) && __props.fieldMeta.field !== "production_identification_id_" ? (openBlock(), createBlock(unref(QuickSearchEditor), {
|
|
303
309
|
key: 1,
|
|
304
310
|
fieldMeta: __props.fieldMeta,
|
|
305
311
|
disabled: __props.disabled,
|
|
312
|
+
searchable: formState.value.searchable,
|
|
313
|
+
"onUpdate:searchable": _cache[3] || (_cache[3] = ($event) => formState.value.searchable = $event),
|
|
306
314
|
"search-field": formState.value.searchField,
|
|
307
|
-
"onUpdate:searchField": _cache[
|
|
308
|
-
}, null, 8, ["fieldMeta", "disabled", "search-field"])) : createCommentVNode("", true),
|
|
315
|
+
"onUpdate:searchField": _cache[4] || (_cache[4] = ($event) => formState.value.searchField = $event)
|
|
316
|
+
}, null, 8, ["fieldMeta", "disabled", "searchable", "search-field"])) : createCommentVNode("", true),
|
|
309
317
|
isRefType.value || isShowAutoFillConfig.value ? (openBlock(), createBlock(RefAutofillEditor, {
|
|
310
318
|
key: 2,
|
|
311
319
|
fieldMeta: __props.fieldMeta,
|
|
312
320
|
disabled: __props.disabled,
|
|
313
321
|
"autofill-rules": formState.value.autofillRules,
|
|
314
|
-
"onUpdate:autofillRules": _cache[
|
|
322
|
+
"onUpdate:autofillRules": _cache[5] || (_cache[5] = ($event) => formState.value.autofillRules = $event),
|
|
315
323
|
"enable-autofill": formState.value.enableAutofill,
|
|
316
|
-
"onUpdate:enableAutofill": _cache[
|
|
324
|
+
"onUpdate:enableAutofill": _cache[6] || (_cache[6] = ($event) => formState.value.enableAutofill = $event)
|
|
317
325
|
}, null, 8, ["fieldMeta", "disabled", "autofill-rules", "enable-autofill"])) : createCommentVNode("", true),
|
|
318
326
|
isRefType.value || isRefMultiType.value ? (openBlock(), createBlock(RefDataFilterEditor, {
|
|
319
327
|
key: 3,
|
|
320
328
|
fieldMeta: __props.fieldMeta,
|
|
321
329
|
disabled: __props.disabled,
|
|
322
330
|
"data-filter": formState.value.dataFilter,
|
|
323
|
-
"onUpdate:dataFilter": _cache[
|
|
331
|
+
"onUpdate:dataFilter": _cache[7] || (_cache[7] = ($event) => formState.value.dataFilter = $event)
|
|
324
332
|
}, null, 8, ["fieldMeta", "disabled", "data-filter"])) : createCommentVNode("", true)
|
|
325
333
|
]),
|
|
326
334
|
_: 1
|
|
@@ -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-adnb7ShQ.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ref-style",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, createElementVNode, renderSlot, toDisplayString, ref, reactive, watch, onBeforeUnmount, withModifiers, Fragment, withCtx, createTextVNode, renderList, normalizeClass, createCommentVNode, onMounted, createBlock, normalizeStyle, toRaw } from "vue";
|
|
2
2
|
import { isNil, cloneDeep } from "lodash-es";
|
|
3
|
-
import { _ as _export_sfc, i as api
|
|
4
|
-
import { F as FormItem } from "./index-
|
|
3
|
+
import { _ as _export_sfc, i as api } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
4
|
+
import { F as FormItem } from "./index-CsLZerBY.js";
|
|
5
|
+
import { u as useModal } from "./use-namespace-qtLS8nEh.js";
|
|
5
6
|
import { message } from "ant-design-vue";
|
|
6
7
|
const _hoisted_1$3 = { class: "number-range" };
|
|
7
8
|
const _hoisted_2$2 = { class: "middle" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bY as registerInstance, bZ as createEvent, b_ as getColumnByProp, b$ as timeout, c0 as getVisibleSourceItem, c1 as getColumns, c2 as rowTypes, c3 as GroupingRowPlugin, c4 as StretchColumn, c5 as isStretchPlugin, c6 as AutoSizeColumnPlugin, c7 as FilterPlugin, c8 as ExportFilePlugin, c9 as SortingPlugin, ca as ColumnMovePlugin, cb as ThemeService, cc as h, cd as Host, ce as getElement, cf as BasePlugin, cg as reduce, ch as columnTypes, ci as debounce, cj as RESIZE_INTERVAL, ck as DimensionStore, cl as gatherTrimmedItems, cm as getColumnSizes, cn as getItemByIndex, co as DataStore, cp as getSourceItem, cq as getSourceItemVirtualIndexByProp, cr as getColumnType, cs as setSourceByPhysicalIndex, ct as setSourceByVirtualIndex, cu as SelectionStore, cv as cropCellToMax, cw as nextCell, cx as isRowType, cy as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.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-B06XF5B_.js → revogr-attribution_7.entry-BxX5Aax7.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bY as registerInstance, cc as h, cd as Host, bZ as createEvent, cp as getSourceItem, ce as getElement, cD as ColumnService, cE as MOBILE_CLASS, cF as SELECTION_BORDER_CLASS, cG as getCellData, cH as getCellEditor, cI as getRange, cJ as isRangeSingleCell, cK as codesLetter, cy as ViewportStore, co as DataStore, cL as calculateRowHeaderSize, cM as ROW_HEADER_TYPE, cN as getScrollbarSize, cO as FOCUS_CLASS, cn as getItemByIndex, b$ as timeout, cP as CELL_HANDLER_CLASS, ci as debounce, cQ as TMP_SELECTION_BG_CLASS, cj as RESIZE_INTERVAL, cR as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.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-Do4weQUL.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-BFMM5iqm.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 { b$ as timeout, bY as registerInstance, bZ as createEvent, cc as h, cS as EDIT_INPUT_WR, cd as Host, ce as getElement, ci as debounce, cV as DRAGG_TEXT, cp as getSourceItem, cR as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-Do4weQUL.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 { cW as PSEUDO_GROUP_ITEM, cX as GROUP_EXPANDED, cY as GROUP_DEPTH, cc as h, cZ as GROUP_EXPAND_BTN, c_ as DATA_ROW, cp as getSourceItem, c$ as isGroupingColumn, d0 as GROUP_COLUMN_PROP, d1 as getCellRaw, d2 as DATA_COL, d3 as CELL_CLASS, d4 as Build, d5 as isRowDragService, d6 as DRAG_ICON_CLASS, d7 as DRAGGABLE_CLASS, d8 as getCellDataParsed, d9 as GROUP_EXPAND_EVENT, bY as registerInstance, bZ as createEvent, cD as ColumnService, da as isGrouping, cd as Host, ce as getElement, cn as getItemByIndex, db as HEADER_ROW_CLASS, dc as HEADER_ACTUAL_ROW_CLASS, dd as ROW_FOCUSED_CLASS, de as HEADER_SORTABLE_CLASS, df as MIN_COL_SIZE, cO as FOCUS_CLASS, dg as FilterButton, dh as HeaderCellRenderer, di as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-BFMM5iqm.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-xo_juIUc.js → revogr-filter-panel.entry-xjYp1Z8c.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bY as registerInstance, bZ as createEvent, ci as debounce, cc as h, cz as AndOrButton, cA as ReorderButton, cB as TrashButton, cC as isFilterBtn, cd as Host, ce as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,6 +1,6 @@
|
|
|
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-CsLZerBY.js";
|
|
3
|
+
import { O as Orientation, w as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.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,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O, _, S, V } from "../version-select-
|
|
3
|
-
import { S as S2 } from "../AntdIcon-C3RMq2zm.js";
|
|
1
|
+
import { M, bM, C, N, $, bN, Q, R, F, bO, d, bP, bQ, bR, bS, bT, bU, c, n, q, G, j, bV, aq, bW, X, bX, U, ar, o } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
2
|
+
import { O, _, S, a, V } from "../version-select-CeQP0Bne.js";
|
|
4
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
5
4
|
Platform2["WEB"] = "web";
|
|
6
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -44,46 +43,46 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
44
43
|
return GctMqttTopsEnum2;
|
|
45
44
|
})(GctMqttTopsEnum || {});
|
|
46
45
|
export {
|
|
47
|
-
|
|
46
|
+
M as ASSIGNMENTSTRATEGY_ENUM,
|
|
48
47
|
ButtonOpeEnum,
|
|
49
48
|
ButtonSize,
|
|
50
49
|
ButtonStyle,
|
|
51
50
|
ButtonType,
|
|
52
51
|
ButtonType_vant,
|
|
53
|
-
|
|
52
|
+
bM as CardControlEnum,
|
|
54
53
|
C as CreateType,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
N as Dependency_ENUM,
|
|
55
|
+
$ as EntityModelCategoryEnum,
|
|
56
|
+
bN as EntityModelTypeEnum,
|
|
57
|
+
Q as ExpressionModeEnum,
|
|
58
|
+
R as ExpressionTabEnum,
|
|
60
59
|
F as FIELD_TYPE,
|
|
61
|
-
|
|
60
|
+
bO as FIELD_TYPE_BASIC,
|
|
62
61
|
d as FIELD_TYPE_BUSINESS,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
bP as FIELD_TYPE_INSPECTION,
|
|
63
|
+
bQ as FIELD_TYPE_LOGIC,
|
|
64
|
+
bR as FIELD_TYPE_MATERIAL,
|
|
65
|
+
bS as FIELD_TYPE_PRETREATMENT,
|
|
66
|
+
bT as FIELD_TYPE_PRODUCE,
|
|
67
|
+
bU as FIELD_TYPE_STERILIZATION,
|
|
69
68
|
c as FIELD_TYPE_TRACE,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
n as FIELD_TYPE_WAREHOUSE,
|
|
70
|
+
q as FieldDefaultValueTypeEnum,
|
|
71
|
+
G as FieldIconMap,
|
|
73
72
|
j as FieldTypeToJs,
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
bV as FormDesignEnum,
|
|
74
|
+
aq as FormulaRuleFieldKeyEnum,
|
|
76
75
|
GctMqttTopsEnum,
|
|
77
76
|
O as OnlineFormModelModal,
|
|
78
77
|
_ as OnlineFormModelSelect,
|
|
79
78
|
Platform,
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
bW as RecordNoGenerateEnum,
|
|
80
|
+
X as ReturnTypeEnum,
|
|
82
81
|
S as SEARCH_SEVICE,
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
a as SignatureTypeEnum,
|
|
83
|
+
bX as TagTypeEnum,
|
|
85
84
|
U as UniqueConstraintType,
|
|
86
85
|
V as VersionSelect,
|
|
87
|
-
|
|
86
|
+
ar as formulaRuleFieldDict,
|
|
88
87
|
o as onlineFormMasterModelTypeEnum
|
|
89
88
|
};
|
|
@@ -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-wzPF8ovv.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "signature-design",
|
|
5
5
|
props: {
|
|
@@ -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 { D as SignatureTypeEnum, z as SignatureTimeTypeEnum, F as FIELD_TYPE, y as SignatureNumberTypeEnum, Y as ImageDisplayModeEnum, A as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
4
|
+
import { F as FormItem, S as SelectEx } from "./index-CsLZerBY.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-U0Vg4ar8.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 "./dynamic-table-action.
|
|
1
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
2
2
|
const _sfc_main = {};
|
|
3
3
|
function _sfc_render(_ctx, _cache) {
|
|
4
4
|
return null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { b as useDrop, T as TransferType, u as useModelFields,
|
|
2
|
+
import { a as useNamespace } from "./use-namespace-qtLS8nEh.js";
|
|
3
|
+
import { b as useDrop, T as TransferType, u as useModelFields, d as getFieldIcon, w as SingleDrop } from "./index-CsLZerBY.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "single-field-drop",
|
|
6
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
-
import { _ as _export_sfc } from "./dynamic-table-action.
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-ByU7Owiw.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/src/nocode-base/src/components/document-quick-fill/fixed-quick-fill-modal.vue.d.ts
CHANGED
|
@@ -4,7 +4,11 @@ type __VLS_Props = {
|
|
|
4
4
|
dgRowCount: number;
|
|
5
5
|
dgColCount: number;
|
|
6
6
|
dgDirection: 'x' | 'y';
|
|
7
|
-
columns:
|
|
7
|
+
columns: {
|
|
8
|
+
prop: string;
|
|
9
|
+
fieldType: string;
|
|
10
|
+
newOptions: any[];
|
|
11
|
+
}[];
|
|
8
12
|
};
|
|
9
13
|
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>;
|
|
10
14
|
export default _default;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
+
import { FIELD_TYPE } from '../../../../shared/enum';
|
|
2
|
+
export declare const QUICK_FILL_ALLOWED_FIELDS: Set<FIELD_TYPE>;
|
|
1
3
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
+
* 处理 快速填报 行数据,将每一行的 字段值 根据 字段类型 进行 转换 和 格式化
|
|
5
|
+
* [动态表]、[固定表]共用
|
|
4
6
|
*/
|
|
5
|
-
export declare function
|
|
7
|
+
export declare function processQuickFillRows(rows?: never[], columns?: never[]): any[];
|
|
6
8
|
/**
|
|
7
|
-
*
|
|
9
|
+
* 判断[固定表]单个分组 是否所有字段都为空
|
|
10
|
+
*/
|
|
11
|
+
export declare const getIsGroupEmpty: (group: any, colKeys: string[]) => boolean;
|
|
12
|
+
/**
|
|
13
|
+
* 将[固定表]的 RevoGrid 形式数据 进行分组 转换成独立行数据
|
|
8
14
|
*/
|
|
9
|
-
type RowData = Record<string, any>;
|
|
10
15
|
interface SplitOptions {
|
|
11
16
|
rowCount: number;
|
|
12
17
|
colCount: number;
|
|
13
18
|
direction: 'x' | 'y';
|
|
14
19
|
z?: 'row' | 'column';
|
|
15
20
|
}
|
|
16
|
-
export declare function groupFixedTableRows(rows:
|
|
21
|
+
export declare function groupFixedTableRows(rows: any[], options: SplitOptions): any[];
|
|
17
22
|
export {};
|
package/dist/src/nocode-base/src/components/document-sub-table-action/fixed-table-action.vue.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
tdId: string;
|
|
2
3
|
formState: any;
|
|
3
4
|
widgetCenter: any;
|
|
4
5
|
fixedTableInfo: {
|
|
@@ -7,6 +8,9 @@ type __VLS_Props = {
|
|
|
7
8
|
range: any;
|
|
8
9
|
dgRange: any;
|
|
9
10
|
fillDirection: 'x' | 'y';
|
|
11
|
+
columns: any[];
|
|
12
|
+
columnKeys: string[];
|
|
13
|
+
quickFillVisible: boolean;
|
|
10
14
|
};
|
|
11
15
|
};
|
|
12
16
|
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>;
|
|
@@ -1,67 +1,30 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { OnlineFormChangeHistoryResponse, OnlineFormInstanceResponse } from '@gct-paas/api/apaas';
|
|
3
3
|
import { IBasicInfoItem } from '../../types';
|
|
4
|
-
import { BuiltinAction } from './types';
|
|
5
4
|
export interface IFormAnnotationControllerConstructParams {
|
|
6
5
|
/** 在线表单实例详情 */
|
|
7
6
|
formIns: Ref<OnlineFormInstanceResponse>;
|
|
8
7
|
/** 当前页面基础信息 */
|
|
9
8
|
basicIns: Ref<IBasicInfoItem | undefined>;
|
|
10
|
-
/** 是否需要作废按钮 */
|
|
11
|
-
needAbandonBtn: boolean;
|
|
12
9
|
/** 页面操作对象 */
|
|
13
10
|
formRef: any;
|
|
14
11
|
/** 参数扩展属性 */
|
|
15
12
|
paramExtraProps: any;
|
|
16
|
-
/** 数据采集信息 */
|
|
17
|
-
dataCollectionInfo: any;
|
|
18
|
-
/** 按钮点击事件 */
|
|
19
|
-
onBtnClick: (btn: any) => void;
|
|
20
13
|
/** 批注显隐事件 */
|
|
21
14
|
onVisibleChange: (visible: boolean) => void;
|
|
22
|
-
/**验证表单是否可以编辑 */
|
|
23
|
-
checkedEditFormByUser?: () => Promise<void>;
|
|
24
15
|
}
|
|
25
16
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @class FormAnnotationController
|
|
17
|
+
* 表单批注高亮 / 显隐(引擎侧)
|
|
18
|
+
* 作废、变更、MedPro、按钮权限、审批历史等业务逻辑在套件侧。
|
|
29
19
|
*/
|
|
30
20
|
export declare abstract class FormAnnotationController implements IFormAnnotationControllerConstructParams {
|
|
31
21
|
formIns: Ref<OnlineFormInstanceResponse>;
|
|
32
22
|
basicIns: Ref<any>;
|
|
33
|
-
needAbandonBtn: boolean;
|
|
34
23
|
formRef: any;
|
|
35
24
|
paramExtraProps: any;
|
|
36
|
-
dataCollectionInfo: any;
|
|
37
|
-
onBtnClick: (btn: any) => void;
|
|
38
25
|
onVisibleChange: (visible: boolean) => void;
|
|
39
|
-
checkedEditFormByUser?: (() => Promise<void>) | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* 构造函数必须在setup里使用
|
|
42
|
-
* @param params
|
|
43
|
-
*/
|
|
44
26
|
constructor(params: IFormAnnotationControllerConstructParams);
|
|
45
|
-
/**
|
|
46
|
-
roleBuiltinBtnPermission: Ref<{
|
|
47
|
-
Annotate: boolean;
|
|
48
|
-
Cancel: boolean;
|
|
49
|
-
Update: boolean;
|
|
50
|
-
_gct_summary_approve_type_: string;
|
|
51
|
-
}, {
|
|
52
|
-
Annotate: boolean;
|
|
53
|
-
Cancel: boolean;
|
|
54
|
-
Update: boolean;
|
|
55
|
-
_gct_summary_approve_type_: string;
|
|
56
|
-
} | {
|
|
57
|
-
Annotate: boolean;
|
|
58
|
-
Cancel: boolean;
|
|
59
|
-
Update: boolean;
|
|
60
|
-
_gct_summary_approve_type_: string;
|
|
61
|
-
}>;
|
|
62
|
-
/** 当前登录的用户名 */
|
|
63
|
-
userName: string;
|
|
64
|
-
/** 正在标注 */
|
|
27
|
+
/** 批注显隐 */
|
|
65
28
|
showAnnotation: Ref<boolean, boolean>;
|
|
66
29
|
/** 所有的父级批注数据 */
|
|
67
30
|
annotationList: Ref<{
|
|
@@ -135,122 +98,25 @@ export declare abstract class FormAnnotationController implements IFormAnnotatio
|
|
|
135
98
|
rowViewHistoryId: Ref<string | undefined, string | undefined>;
|
|
136
99
|
/** 是否已经加载过批注数据 */
|
|
137
100
|
hasLoadedHistory: Ref<boolean, boolean>;
|
|
138
|
-
/**
|
|
139
|
-
formChanging: Ref<boolean, boolean>;
|
|
140
|
-
/** 表单变更原因 */
|
|
141
|
-
formChangeReason: Ref<string | undefined, string | undefined>;
|
|
142
|
-
/** 选中单元格的位置 */
|
|
101
|
+
/** 选中单元格 */
|
|
143
102
|
selectedCell: Ref<string | string[] | undefined, string | string[] | undefined>;
|
|
144
|
-
/**
|
|
145
|
-
|
|
146
|
-
/** 表单是否是结束状态 */
|
|
147
|
-
isFormEnded: import('vue').ComputedRef<boolean>;
|
|
148
|
-
/** 表单是否是废弃状态 */
|
|
149
|
-
isFormDeprecated: import('vue').ComputedRef<boolean>;
|
|
150
|
-
/** 表单是否是变更审核中状态 */
|
|
151
|
-
isFormInAudit: import('vue').ComputedRef<boolean>;
|
|
152
|
-
/** 表单是否是未填报、暂存、进行中的状态 */
|
|
153
|
-
isFormUnfilled: import('vue').ComputedRef<boolean>;
|
|
154
|
-
/** 显示内置按钮 */
|
|
155
|
-
showButtonKeys: import('vue').ComputedRef<string[]>;
|
|
103
|
+
/** 是否就绪 */
|
|
104
|
+
ready: import('vue').ComputedRef<any>;
|
|
156
105
|
/**
|
|
157
|
-
*
|
|
106
|
+
* 弹出提示警告信息
|
|
158
107
|
*/
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}>;
|
|
164
|
-
getExConfig(): {
|
|
165
|
-
transferToConfig: {
|
|
166
|
-
headers: {
|
|
167
|
-
'Trace-Id': any;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
normalizeApprovalResponse: (res: any) => any;
|
|
108
|
+
/**
|
|
109
|
+
* 加载批注历史(默认全量;套件可 override 为审批历史等)
|
|
110
|
+
*/
|
|
111
|
+
loadAnnotationHistory: () => Promise<any>;
|
|
172
112
|
normalizeAllResponse: (res: any) => any;
|
|
173
113
|
applyAnnotationItems: (items: any[], callback: any) => void;
|
|
114
|
+
/**
|
|
115
|
+
* 按场景裁剪批注列表(套件可 override:审批处理页/详情页)
|
|
116
|
+
*/
|
|
174
117
|
scopeAnnotationItems(items: any[]): any[];
|
|
175
118
|
toggleFormChangeRowView: (historyId?: string) => Promise<void>;
|
|
176
|
-
/** 加载审批的批注信息 */
|
|
177
|
-
fetchApprovalFormChangeHistory: () => Promise<any>;
|
|
178
|
-
/** 加载所有批注信息 */
|
|
179
119
|
fetchAllFormChangeHistory: () => Promise<any>;
|
|
180
|
-
/** 开启批注 */
|
|
181
120
|
handleOpenAnnotation: () => Promise<void>;
|
|
182
|
-
/** 关闭批注 */
|
|
183
121
|
handleCloseAnnotation: () => Promise<void>;
|
|
184
|
-
ready: import('vue').ComputedRef<any>;
|
|
185
|
-
/**
|
|
186
|
-
* 弹出提示警告信息
|
|
187
|
-
*/
|
|
188
|
-
abstract warn(message: string): any;
|
|
189
|
-
/** 弹出提示信息 */
|
|
190
|
-
abstract info(message: string): any;
|
|
191
|
-
/** 弹出成功提示信息 */
|
|
192
|
-
abstract success(message: string): any;
|
|
193
|
-
/** 确认提示 */
|
|
194
|
-
abstract confirm(opts: {
|
|
195
|
-
title: any;
|
|
196
|
-
onOk: any;
|
|
197
|
-
onCancel: any;
|
|
198
|
-
}): any;
|
|
199
|
-
/** 打开表单废弃操作弹窗V2版本 */
|
|
200
|
-
abstract openFormAbandonV2Modal(opts?: {
|
|
201
|
-
isFormChange?: boolean;
|
|
202
|
-
}): Promise<{
|
|
203
|
-
reason: any;
|
|
204
|
-
applicant: any;
|
|
205
|
-
reviewer: any;
|
|
206
|
-
approveTmplId: any;
|
|
207
|
-
} | void>;
|
|
208
|
-
/** 打开表单废弃操作弹窗 */
|
|
209
|
-
abstract openFormAbandonModal(): Promise<{
|
|
210
|
-
reason: any;
|
|
211
|
-
applicant: any;
|
|
212
|
-
reviewer: any;
|
|
213
|
-
} | void>;
|
|
214
|
-
/**
|
|
215
|
-
*medPro 专门表单变更
|
|
216
|
-
*
|
|
217
|
-
* @abstract
|
|
218
|
-
* @type {(Promise<{ reason; applicant; reviewer } | void>)}
|
|
219
|
-
* @memberof FormAnnotationController
|
|
220
|
-
*/
|
|
221
|
-
abstract openFormAbandonMedProModal(): Promise<{
|
|
222
|
-
reason: any;
|
|
223
|
-
applicant: any;
|
|
224
|
-
reviewer: any;
|
|
225
|
-
} | void>;
|
|
226
|
-
/**
|
|
227
|
-
* 点击表单废弃后续逻辑
|
|
228
|
-
*/
|
|
229
|
-
doFormAbandon: () => Promise<void>;
|
|
230
|
-
/**
|
|
231
|
-
* 点击重新提交后续逻辑
|
|
232
|
-
*/
|
|
233
|
-
doFormResubmit: () => Promise<void>;
|
|
234
|
-
/**
|
|
235
|
-
* 点击表单变更后续逻辑
|
|
236
|
-
*/
|
|
237
|
-
doFormChange: () => Promise<void>;
|
|
238
|
-
/**
|
|
239
|
-
* 提交表单变更
|
|
240
|
-
*/
|
|
241
|
-
submitFormChange: () => Promise<void>;
|
|
242
|
-
/**
|
|
243
|
-
* medpro表单提交变更
|
|
244
|
-
*/
|
|
245
|
-
doMedProSubmitFormChange: () => Promise<void>;
|
|
246
|
-
/**
|
|
247
|
-
* medpro表单废弃
|
|
248
|
-
*/
|
|
249
|
-
doMedproFormAbandon: () => Promise<void>;
|
|
250
|
-
/** 处理内置按钮 */
|
|
251
|
-
handleBuiltAction: (action: BuiltinAction) => Promise<void>;
|
|
252
|
-
/**
|
|
253
|
-
* 实例变化时候需要初始化状态
|
|
254
|
-
*/
|
|
255
|
-
initState: () => void;
|
|
256
122
|
}
|
|
@@ -17,6 +17,10 @@ export interface ISelectProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
17
17
|
}>;
|
|
18
18
|
/** 是否启用数据填充 */
|
|
19
19
|
enableAutofill?: boolean;
|
|
20
|
+
/** 搜索展示字段 */
|
|
21
|
+
displayFields?: any[];
|
|
22
|
+
/** 是否可快速搜索 */
|
|
23
|
+
quickSearchable?: boolean;
|
|
20
24
|
/** 快速搜索 */
|
|
21
25
|
quickSearchField?: string[];
|
|
22
26
|
quickSearchExp?: string;
|
|
@@ -34,6 +34,13 @@ export interface ITraceProps extends BaseCoreComponent.FieldBasicProps {
|
|
|
34
34
|
enableAutofill?: boolean;
|
|
35
35
|
/** 条码解析规则配置 */
|
|
36
36
|
parseRuleProps?: ParseRuleProps;
|
|
37
|
+
/** 搜索展示字段 */
|
|
38
|
+
displayFields?: any[];
|
|
39
|
+
/** 是否可快速搜索 */
|
|
40
|
+
quickSearchable?: boolean;
|
|
41
|
+
/** 快速搜索 */
|
|
42
|
+
quickSearchField?: string[];
|
|
43
|
+
quickSearchExp?: string;
|
|
37
44
|
/** 是否开启上下限 */
|
|
38
45
|
enableRangeValidate?: boolean;
|
|
39
46
|
/** 上限校验模式 */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IDisplayField } from './display-fields.util';
|
|
2
|
+
import { IBindField } from '../../../../../../nocode-base/src';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
displayFields?: IDisplayField[];
|
|
5
|
+
fieldMeta: IBindField;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:displayFields": (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:displayFields"?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
displayFields: IDisplayField[];
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface IDisplayField {
|
|
2
|
+
_dfLabel: string;
|
|
3
|
+
_dfValue: string;
|
|
4
|
+
/** 前端标记不可移除(如物料编码) */
|
|
5
|
+
_dfUnremovable?: boolean;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* 不同字段类型显示字段的默认字段列表
|
|
10
|
+
*/
|
|
11
|
+
export declare const DEFAULT_DISPLAY_FIELDS_MAP: Record<string, string[]>;
|