@gct-paas/excel 0.1.19 → 0.1.20
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-DePpm38H.js} +2 -2
- package/dist/{agg-design-B_5evAJ0.js → agg-design-hreKYp5a.js} +1 -1
- package/dist/{agg-props-C62Ecenu.js → agg-props-CCDh2o6E.js} +1 -1
- package/dist/{agg-style-Q0xSL8Ye.js → agg-style-Bh8vdJvs.js} +1 -1
- package/dist/{align-editor-D_LtYlh3.js → align-editor-DpDuDOMr.js} +1 -1
- package/dist/{attach-fields-editor-3v3VNOfe.js → attach-fields-editor-BeGxW6de.js} +2 -2
- package/dist/{barcode-design-lusKmMnv.js → barcode-design-CFVTZNAy.js} +2 -2
- package/dist/base/index.es.js +6 -6
- package/dist/{base-font-editor-DmasOst9.js → base-font-editor-laOkjBe1.js} +2 -2
- package/dist/{boolean-design-BqGJVhKn.js → boolean-design-DIlM9Nrt.js} +2 -2
- package/dist/{boolean-props-DS7J4GHS.js → boolean-props-CGuFs72-.js} +3 -3
- package/dist/{boolean-style-C9FslVV7.js → boolean-style-BUz6sBUN.js} +4 -4
- package/dist/{cell-upload-BFw5Yg_j.js → cell-upload-Dw3t7ZKJ.js} +2 -2
- package/dist/{date-range-editor-PmJBHc8i.js → date-range-editor-rXaru-8n.js} +2 -2
- package/dist/{date-time-design-DQ_Z-xUx.js → date-time-design-HfjWK3SA.js} +1 -1
- package/dist/{date-time-props-DfZoJukN.js → date-time-props-C_cG-6wI.js} +3 -3
- package/dist/{date-time-style-Doye-MHk.js → date-time-style-BeCDP5TE.js} +1 -1
- package/dist/{decimal-design-Bg-tdrtL.js → decimal-design-DzLpjX9N.js} +1 -1
- package/dist/{decimal-display-mode-D_K6_XX1.js → decimal-display-mode-BhD1cOOe.js} +2 -2
- package/dist/{decimal-props-4QveEdf3.js → decimal-props-C6f22071.js} +4 -4
- package/dist/{decimal-style-B-n8SfAy.js → decimal-style-XN3rLM2j.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-CJC4kBNh.js} +2 -2
- package/dist/{diagonal-design-B_l3lV5s.js → diagonal-design-Dh0qhgSq.js} +2 -2
- package/dist/{double-design-BaWZXLjK.js → double-design-XHHlqmEp.js} +1 -1
- package/dist/{double-props-sDsBpAER.js → double-props-Cvi36aBN.js} +4 -4
- package/dist/{double-style--oSjQw07.js → double-style-Dkoth54S.js} +1 -1
- package/dist/{dynamic-table-action-zLjamAaN.js → dynamic-table-action-mGrBO_bn.js} +100 -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-OPdk2I5p.js} +321 -105
- package/dist/{edit.utils-CXmmCnxE-BrwRVXLT.js → edit.utils-CXmmCnxE-DeDBtyJd.js} +1 -1
- package/dist/{enum-design-BgVuHvvu.js → enum-design-CAOAFdI6.js} +2 -2
- package/dist/{enum-props-DYN6LsLg.js → enum-props-CBN-AvBS.js} +4 -4
- package/dist/{enum-style-D56_-gMw.js → enum-style-cOiK44Ae.js} +3 -3
- package/dist/excel.css +570 -241
- package/dist/{exceljs.min-DQkwXbni.js → exceljs.min-pnja99MZ.js} +2 -2
- package/dist/{expression-design-CIMwIArR.js → expression-design-CqgcK8eO.js} +1 -1
- package/dist/{expression-props--l3LwKAM.js → expression-props-wXQOIrMY.js} +1 -1
- package/dist/{expression-style-CjM5oro9.js → expression-style-BzavnOux.js} +1 -1
- package/dist/{file-design-BYcXA55B.js → file-design-BSQknhnY.js} +1 -1
- package/dist/{file-props-DvsQZUcL.js → file-props-CwiuBVHW.js} +2 -2
- package/dist/{file-style-BiWmCsMZ.js → file-style-CG4a3THb.js} +1 -1
- package/dist/{font-editor-BaRVmXey.js → font-editor--CgwL-wF.js} +3 -3
- package/dist/{form-annotation-controller-Zw6OoPLe.js → form-annotation-controller-DDDyHAwe.js} +2 -2
- package/dist/{image-design-Dr_w89Hq.js → image-design-CwPjfDxf.js} +2 -2
- package/dist/{image-design-Bad-BXel.js → image-design-D1D0SN5W.js} +2 -2
- package/dist/{image-props-4lKEAwDq.js → image-props-C4E9gMsG.js} +1 -1
- package/dist/{image-style-LoHD1zvr.js → image-style-CIb1mi13.js} +1 -1
- package/dist/{index-CEufXc_2.js → index-0mxMA4vZ.js} +1 -1
- package/dist/{index-CqjhgxKH.js → index-A2MbCZtS.js} +9 -3
- package/dist/{index-pPTh0-mL.js → index-B2ZNkbGm.js} +1 -1
- package/dist/{index-ByXwQO9g.js → index-B2tFXR--.js} +2 -2
- package/dist/{index-CcLTIQGc.js → index-B7DDYlzm.js} +1 -1
- package/dist/{index-B3YoA1vo.js → index-BAlLZmfu.js} +1 -1
- package/dist/{index-Dk-CUvB9.js → index-BG_CEaW0.js} +1319 -890
- package/dist/{index-DDnUeBCP.js → index-BJYSmTeW.js} +1 -1
- package/dist/{index-C7KdVTwU.js → index-BKoXo3Ha.js} +1 -1
- package/dist/{index-BsUkUBZV.js → index-BSHUFede.js} +1 -1
- package/dist/{index-Dq72GFzs.js → index-Bi4hE4Ye.js} +2 -2
- package/dist/{index-DRYxbbtG.js → index-BneV2tbp.js} +1 -1
- package/dist/{index-CH--dgZ4.js → index-ByTKu8n6.js} +1 -1
- package/dist/{index-BZYuG4zS.js → index-CGSTq7zN.js} +1 -1
- package/dist/{index-D4Yb4Urx.js → index-CIl6oWcB.js} +1 -1
- package/dist/{index-D9CHdykS.js → index-CKqLoN9r.js} +1 -1
- package/dist/{index-Bm6Hdoud.js → index-CWpratsK.js} +7 -6
- package/dist/{index--Bxx_VqV.js → index-CcmNFTia.js} +2 -2
- package/dist/{index-3qfB5NN-.js → index-CeMBvNee.js} +1 -1
- package/dist/{index-B_VejD7m.js → index-Cgka0WmQ.js} +1 -1
- package/dist/{index-B9IMST50.js → index-D0XkCn_x.js} +1 -1
- package/dist/{index-B-2N8GeG.js → index-D0n65ya-.js} +1 -1
- package/dist/{index-Ce0SltjH.js → index-D9tUJAeF.js} +1 -1
- package/dist/{index-D-mFMP7t.js → index-DLoQlQk6.js} +2 -2
- package/dist/{index-Vx5npC-J.js → index-DOj318_B.js} +2 -2
- package/dist/{index-BSfbsA-W.js → index-Dl2FIifp.js} +1 -1
- package/dist/{index-COiTpNXf.js → index-Drf0Arr4.js} +1 -1
- package/dist/{index-DpPrrfLV.js → index-HHF5iK-6.js} +5 -1
- package/dist/{index-Bki98NXv.js → index-Hg59RKKE.js} +1 -1
- package/dist/{index-CP099vf_.js → index-PMDIMwwL.js} +1 -1
- package/dist/{index-CQ7Hcly4.js → index-PWmkKVZV.js} +1 -1
- package/dist/{index-C6mtZJIQ.js → index-UUDS4nmS.js} +1 -1
- package/dist/{index-Bsjegt_0.js → index-ZrNXSw4w.js} +1 -1
- package/dist/index.es.js +44 -44
- package/dist/{integer-design-C2EkL0hc.js → integer-design-Cy9c0fzI.js} +1 -1
- package/dist/{integer-props-Cs-CvjQS.js → integer-props-DFDOIb2a.js} +4 -4
- package/dist/{integer-style-BtAfQCAn.js → integer-style-CfIX5ReH.js} +1 -1
- package/dist/{mb-render-CsWNoQnS.js → mb-render-D_uumPQr.js} +1 -1
- package/dist/{number-input-ex-eza87s5O.js → number-input-ex-CWci0pCj.js} +1 -1
- package/dist/{org-props-BJ6FKaVj.js → org-props-B5dk289u.js} +2 -2
- package/dist/{org-style-LRy5QsV5.js → org-style-BoSDPuw9.js} +1 -1
- package/dist/{pagination-design-sA-kbILI.js → pagination-design-Ci4wxUIk.js} +2 -2
- package/dist/paper-widget-design-BilYU9rh.js +4 -0
- package/dist/{qrcode-design-BsWJrsvD.js → qrcode-design-CJ9R5DIn.js} +1 -1
- package/dist/ref-autofill-editor-B4KDvHhR.js +2334 -0
- package/dist/{ref-props-BInJu7PN.js → ref-props-CwDGepT3.js} +17 -9
- package/dist/{ref-style-Dgc_9tko.js → ref-style-B35CsOQO.js} +1 -1
- package/dist/{regex-editor-C09XpMhm.js → regex-editor-CIVvr_Lx.js} +2 -2
- package/dist/{revo-grid.entry-BIm5A5wM.js → revo-grid.entry-DeWzC35s.js} +1 -1
- package/dist/{revogr-attribution_7.entry-B06XF5B_.js → revogr-attribution_7.entry-BJZ-twfj.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-C8dVJYtR.js → revogr-clipboard_3.entry-DkgRA8qw.js} +2 -2
- package/dist/{revogr-data_4.entry-Dgp6vYqe.js → revogr-data_4.entry-BZLzvcbo.js} +2 -2
- package/dist/{revogr-filter-panel.entry-xo_juIUc.js → revogr-filter-panel.entry-zGvhshno.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-Asn5-ZRz.js} +2 -2
- package/dist/{serialnumber-design-mWcys6hI.js → serialnumber-design-CYFU5TVt.js} +1 -1
- package/dist/shared/index.es.js +14 -14
- package/dist/{signature-design-Dl-Lv5Z5.js → signature-design-Cwi0cZOI.js} +1 -1
- package/dist/{signature-props-DSzpO-_r.js → signature-props-cQRB8U8x.js} +3 -3
- package/dist/{signature-style-Bk34vOsk.js → signature-style-C90NsLxg.js} +1 -1
- package/dist/{single-field-drop-CiPUMT9B.js → single-field-drop-BFhQs-3z.js} +2 -2
- package/dist/{size-editor-B5aunbUM.js → size-editor-Dx3y_otg.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/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/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/render/__components__/_field_/_base_/common-select.util.d.ts +47 -0
- 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/{text-design-BIFz5gw1.js → text-design-TEheiKQx.js} +2 -2
- package/dist/{text-design-C0dORvkP.js → text-design-jMPxIgZW.js} +2 -2
- package/dist/{text-props-ClHI-4aM.js → text-props-CrkSvg6D.js} +5 -5
- package/dist/{text-style-DANM5fvy.js → text-style-DmwTt8KQ.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-Da5HSLWc.js → throttle-Cpk1LoGk-DTkhEkFR.js} +1 -1
- package/dist/{timediff-design-BDCsQIal.js → timediff-design-D_if-K1S.js} +1 -1
- package/dist/{trace-design-CKqq1WH_.js → trace-design-oN7pgtab.js} +2 -2
- package/dist/{trace-props-BI24XFMc.js → trace-props-BFnUk6kv.js} +24 -16
- package/dist/{trace-style-CX1f7oZH.js → trace-style-TNnFcvfw.js} +1 -1
- package/dist/{user-props-gF7KPnP8.js → user-props-Ce-ilCmU.js} +2 -2
- package/dist/{user-style-DIouAMWa.js → user-style-4rp0jKYP.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-DMuR0u4j.js} +2 -2
- package/dist/{version-select-CL3QQGND.js → version-select-DSFIlYgX.js} +1 -1
- package/dist/web-render/index.es.js +4 -4
- package/dist/{widget-barcode-DZiCyrQW.js → widget-barcode-Du7LOaiy.js} +4 -4
- package/dist/{widget-diagonal-D_Oz8te1.js → widget-diagonal-D-q7WK6T.js} +3 -3
- package/dist/{widget-image-TL_SLOap.js → widget-image-Da5mvgMm.js} +5 -5
- package/dist/{widget-line-BQ-qcBUA.js → widget-line-oIFH8P04.js} +2 -2
- package/dist/{widget-pagination-DciJE9qC.js → widget-pagination-CSonelt_.js} +5 -5
- package/dist/{widget-power-B9KTIpwA.js → widget-power-CWczWA7K.js} +3 -3
- package/dist/{widget-qrcode-DRoj5rSy.js → widget-qrcode-MQ-cSphb.js} +3 -3
- package/dist/{widget-rangelimit-Ckgx3i4r.js → widget-rangelimit-CFDeRJIf.js} +3 -3
- package/dist/{widget-serialnumber-aUkR-0yC.js → widget-serialnumber-DlE2-jvp.js} +1 -1
- package/dist/{widget-text-CJIT-hY3.js → widget-text-B1SnpOGN.js} +5 -5
- package/dist/{widget-timediff-x-RQMdNg.js → widget-timediff-DeyJbqRE.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-BGY5qu-K.js +0 -4
- package/dist/ref-autofill-editor-BbozAOcm.js +0 -673
|
@@ -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 { l as SEARCH_TYPE, u as useModelFields, F as FormItem, m as IconTooltip } from "./index-
|
|
4
|
-
import {
|
|
2
|
+
import { i as api, F as FIELD_TYPE$1, bQ as FIELD_TYPE_BASIC, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
|
+
import { l as SEARCH_TYPE, u as useModelFields, F as FormItem, m as IconTooltip } from "./index-BG_CEaW0.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, g as getIsSearchableField, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-B4KDvHhR.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-laOkjBe1.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ref-style",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
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, u as useModal } from "./dynamic-table-action.
|
|
4
|
-
import { F as FormItem } from "./index-
|
|
3
|
+
import { _ as _export_sfc, i as api, u as useModal } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
4
|
+
import { F as FormItem } from "./index-BG_CEaW0.js";
|
|
5
5
|
import { message } from "ant-design-vue";
|
|
6
6
|
const _hoisted_1$3 = { class: "number-range" };
|
|
7
7
|
const _hoisted_2$2 = { class: "middle" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b_ as registerInstance, b$ as createEvent, c0 as getColumnByProp, c1 as timeout, c2 as getVisibleSourceItem, c3 as getColumns, c4 as rowTypes, c5 as GroupingRowPlugin, c6 as StretchColumn, c7 as isStretchPlugin, c8 as AutoSizeColumnPlugin, c9 as FilterPlugin, ca as ExportFilePlugin, cb as SortingPlugin, cc as ColumnMovePlugin, cd as ThemeService, ce as h, cf as Host, cg as getElement, ch as BasePlugin, ci as reduce, cj as columnTypes, ck as debounce, cl as RESIZE_INTERVAL, cm as DimensionStore, cn as gatherTrimmedItems, co as getColumnSizes, cp as getItemByIndex, cq as DataStore, cr as getSourceItem, cs as getSourceItemVirtualIndexByProp, ct as getColumnType, cu as setSourceByPhysicalIndex, cv as setSourceByVirtualIndex, cw as SelectionStore, cx as cropCellToMax, cy as nextCell, cz as isRowType, cA as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.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-BJZ-twfj.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b_ as registerInstance, ce as h, cf as Host, b$ as createEvent, cr as getSourceItem, cg as getElement, cF as ColumnService, cG as MOBILE_CLASS, cH as SELECTION_BORDER_CLASS, cI as getCellData, cJ as getCellEditor, cK as getRange, cL as isRangeSingleCell, cM as codesLetter, cA as ViewportStore, cq as DataStore, cN as calculateRowHeaderSize, cO as ROW_HEADER_TYPE, cP as getScrollbarSize, cQ as FOCUS_CLASS, cp as getItemByIndex, c1 as timeout, cR as CELL_HANDLER_CLASS, ck as debounce, cS as TMP_SELECTION_BG_CLASS, cl as RESIZE_INTERVAL, cT as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.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-DeDBtyJd.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-DTkhEkFR.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 { c1 as timeout, b_ as registerInstance, b$ as createEvent, ce as h, cU as EDIT_INPUT_WR, cf as Host, cg as getElement, ck as debounce, cX as DRAGG_TEXT, cr as getSourceItem, cT as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-DeDBtyJd.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 { cY as PSEUDO_GROUP_ITEM, cZ as GROUP_EXPANDED, c_ as GROUP_DEPTH, ce as h, c$ as GROUP_EXPAND_BTN, d0 as DATA_ROW, cr as getSourceItem, d1 as isGroupingColumn, d2 as GROUP_COLUMN_PROP, d3 as getCellRaw, d4 as DATA_COL, d5 as CELL_CLASS, d6 as Build, d7 as isRowDragService, d8 as DRAG_ICON_CLASS, d9 as DRAGGABLE_CLASS, da as getCellDataParsed, db as GROUP_EXPAND_EVENT, b_ as registerInstance, b$ as createEvent, cF as ColumnService, dc as isGrouping, cf as Host, cg as getElement, cp as getItemByIndex, dd as HEADER_ROW_CLASS, de as HEADER_ACTUAL_ROW_CLASS, df as ROW_FOCUSED_CLASS, dg as HEADER_SORTABLE_CLASS, dh as MIN_COL_SIZE, cQ as FOCUS_CLASS, di as FilterButton, dj as HeaderCellRenderer, dk as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-DTkhEkFR.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-zGvhshno.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b_ as registerInstance, b$ as createEvent, ck as debounce, ce as h, cB as AndOrButton, cC as ReorderButton, cD as TrashButton, cE as isFilterBtn, cf as Host, cg as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.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, x as LabelPosition } from "./dynamic-table-action.
|
|
2
|
+
import { C as CellWidgetRenderComp, F as FormItem, S as SelectEx } from "./index-BG_CEaW0.js";
|
|
3
|
+
import { O as Orientation, x as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.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-OPdk2I5p.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, bO, C, R, a1, bP, X, Y, F, bQ, d, bR, bS, bT, bU, bV, bW, c, q, t, I, j, bX, as, bY, Z, bZ, U, at, o } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
2
|
+
import { O, _, S, V } from "../version-select-DSFIlYgX.js";
|
|
3
3
|
import { S as S2 } from "../AntdIcon-C3RMq2zm.js";
|
|
4
4
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
5
5
|
Platform2["WEB"] = "web";
|
|
@@ -50,38 +50,38 @@ export {
|
|
|
50
50
|
ButtonStyle,
|
|
51
51
|
ButtonType,
|
|
52
52
|
ButtonType_vant,
|
|
53
|
-
|
|
53
|
+
bO as CardControlEnum,
|
|
54
54
|
C as CreateType,
|
|
55
55
|
R as Dependency_ENUM,
|
|
56
56
|
a1 as EntityModelCategoryEnum,
|
|
57
|
-
|
|
57
|
+
bP as EntityModelTypeEnum,
|
|
58
58
|
X as ExpressionModeEnum,
|
|
59
59
|
Y as ExpressionTabEnum,
|
|
60
60
|
F as FIELD_TYPE,
|
|
61
|
-
|
|
61
|
+
bQ as FIELD_TYPE_BASIC,
|
|
62
62
|
d as FIELD_TYPE_BUSINESS,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
bR as FIELD_TYPE_INSPECTION,
|
|
64
|
+
bS as FIELD_TYPE_LOGIC,
|
|
65
|
+
bT as FIELD_TYPE_MATERIAL,
|
|
66
|
+
bU as FIELD_TYPE_PRETREATMENT,
|
|
67
|
+
bV as FIELD_TYPE_PRODUCE,
|
|
68
|
+
bW as FIELD_TYPE_STERILIZATION,
|
|
69
69
|
c as FIELD_TYPE_TRACE,
|
|
70
70
|
q as FIELD_TYPE_WAREHOUSE,
|
|
71
71
|
t as FieldDefaultValueTypeEnum,
|
|
72
72
|
I as FieldIconMap,
|
|
73
73
|
j as FieldTypeToJs,
|
|
74
|
-
|
|
74
|
+
bX as FormDesignEnum,
|
|
75
75
|
as as FormulaRuleFieldKeyEnum,
|
|
76
76
|
GctMqttTopsEnum,
|
|
77
77
|
O as OnlineFormModelModal,
|
|
78
78
|
_ as OnlineFormModelSelect,
|
|
79
79
|
Platform,
|
|
80
|
-
|
|
80
|
+
bY as RecordNoGenerateEnum,
|
|
81
81
|
Z as ReturnTypeEnum,
|
|
82
82
|
S as SEARCH_SEVICE,
|
|
83
83
|
S2 as SignatureTypeEnum,
|
|
84
|
-
|
|
84
|
+
bZ as TagTypeEnum,
|
|
85
85
|
U as UniqueConstraintType,
|
|
86
86
|
V as VersionSelect,
|
|
87
87
|
at as formulaRuleFieldDict,
|
|
@@ -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-Dw3t7ZKJ.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 { 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.
|
|
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_53d7e66c_lang-OPdk2I5p.js";
|
|
4
|
+
import { F as FormItem, S as SelectEx } from "./index-BG_CEaW0.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-BeGxW6de.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-OPdk2I5p.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 { G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.
|
|
3
|
-
import { b as useDrop, T as TransferType, u as useModelFields, c as getFieldIcon,
|
|
2
|
+
import { G as useNamespace, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.js";
|
|
3
|
+
import { b as useDrop, T as TransferType, u as useModelFields, c as getFieldIcon, r as SingleDrop } from "./index-BG_CEaW0.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 "./dynamic-table-action.
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-OPdk2I5p.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>;
|
|
@@ -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[]>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IBindField } from '../../../../../../nocode-base/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
fieldMeta: IBindField;
|
|
4
|
+
searchable?: boolean;
|
|
5
|
+
searchField?: string[];
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:searchable": (...args: any[]) => void;
|
|
10
|
+
"update:searchField": (...args: any[]) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onUpdate:searchable"?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
"onUpdate:searchField"?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IBindField } from '../../../../../../nocode-base/src';
|
|
2
|
+
/**
|
|
3
|
+
* 「快速搜索」字段默认带出的字段列表(预留)
|
|
4
|
+
*/
|
|
5
|
+
export declare const SEARCHABLE_FIELD_DEFAULT_FIELDS_MAP: {
|
|
6
|
+
material: string[];
|
|
7
|
+
warehouseMaterial: string[];
|
|
8
|
+
device: string[];
|
|
9
|
+
batch: string[];
|
|
10
|
+
};
|
|
11
|
+
/** 获取不同字段类型的「快速搜索」是否能够开启 */
|
|
12
|
+
export declare const getIsSearchableField: (fieldMeta: IBindField) => boolean;
|
|
13
|
+
/** 获取不同字段类型的「快速搜索」是否默认开启 */
|
|
14
|
+
export declare const getSearchableFieldIsDefaultOpen: (fieldMeta: IBindField) => boolean;
|
package/dist/src/online-form/src/views/render/__components__/_field_/_base_/common-select.util.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* option list 虚拟节点
|
|
4
|
+
*/
|
|
5
|
+
export declare const VNode: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
node: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
node: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
/**
|
|
17
|
+
* Web 端仅在 option 文本上显示 title(设空字符串不显示),而非整个 option div
|
|
18
|
+
*/
|
|
19
|
+
export declare const hideOptionsTitle: (options: any[]) => any[];
|
|
20
|
+
/**
|
|
21
|
+
* 通用下拉框处理
|
|
22
|
+
* 其中 src/projects/online-form/src/views/render/__components__/_field_/select/component/ref-select.vue
|
|
23
|
+
* 的 slot 结构是最为完整的,其它字段类型只做删减
|
|
24
|
+
*/
|
|
25
|
+
export declare function useCommonSelect({ searchable }: {
|
|
26
|
+
searchable: boolean;
|
|
27
|
+
}): {
|
|
28
|
+
selectRef: Ref<null, null>;
|
|
29
|
+
dropdownVisible: Ref<boolean, boolean>;
|
|
30
|
+
dropdownInnerRef: Ref<null, null>;
|
|
31
|
+
searchInputRef: Ref<null, null>;
|
|
32
|
+
searchInputValue: Ref<string, string>;
|
|
33
|
+
customTooltip: Ref<{
|
|
34
|
+
style: any;
|
|
35
|
+
content: string;
|
|
36
|
+
} | null, {
|
|
37
|
+
style: any;
|
|
38
|
+
content: string;
|
|
39
|
+
} | {
|
|
40
|
+
style: any;
|
|
41
|
+
content: string;
|
|
42
|
+
} | null>;
|
|
43
|
+
handleDropdownVisibleChange: (visible: boolean) => Promise<void>;
|
|
44
|
+
handleCloseDropdown: () => void;
|
|
45
|
+
handleSyncVirtualListWidth: () => void;
|
|
46
|
+
handleShowCustomTooltip: (e: any, content: string) => void;
|
|
47
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FIELD_TYPE, CreateType } from '../../../enum';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelKey: string;
|
|
4
|
+
isShowCascader?: boolean;
|
|
5
|
+
modalTitle?: string;
|
|
6
|
+
data?: any[];
|
|
7
|
+
titles?: string[];
|
|
8
|
+
containFieldType?: FIELD_TYPE[];
|
|
9
|
+
containFieldKey?: string[];
|
|
10
|
+
disabledFieldKey?: string[];
|
|
11
|
+
excludeFieldKey?: string[];
|
|
12
|
+
excludeFieldType?: FIELD_TYPE[];
|
|
13
|
+
containCreateType?: CreateType[];
|
|
14
|
+
filterFieldByFunction?: (field: any) => boolean;
|
|
15
|
+
maxEnableCount?: number;
|
|
16
|
+
modalKey?: string;
|
|
17
|
+
width?: number;
|
|
18
|
+
draggable?: boolean;
|
|
19
|
+
childParentModelKey?: string;
|
|
20
|
+
destroyCallback?: () => void;
|
|
21
|
+
saveCallback?: (params: Recordable<any>) => void;
|
|
22
|
+
promptMessage?: string;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
25
|
+
open: () => Promise<void>;
|
|
26
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
27
|
+
data: any[];
|
|
28
|
+
draggable: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
open: () => void;
|
|
3
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
4
|
+
modalRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
5
|
+
modelKey: string;
|
|
6
|
+
isShowCascader?: boolean;
|
|
7
|
+
modalTitle?: string;
|
|
8
|
+
data?: any[];
|
|
9
|
+
titles?: string[];
|
|
10
|
+
containFieldType?: import('../../..').FIELD_TYPE[];
|
|
11
|
+
containFieldKey?: string[];
|
|
12
|
+
disabledFieldKey?: string[];
|
|
13
|
+
excludeFieldKey?: string[];
|
|
14
|
+
excludeFieldType?: import('../../..').FIELD_TYPE[];
|
|
15
|
+
containCreateType?: import('../../..').CreateType[];
|
|
16
|
+
filterFieldByFunction?: (field: any) => boolean;
|
|
17
|
+
maxEnableCount?: number;
|
|
18
|
+
modalKey?: string;
|
|
19
|
+
width?: number;
|
|
20
|
+
draggable?: boolean;
|
|
21
|
+
childParentModelKey?: string;
|
|
22
|
+
destroyCallback?: () => void;
|
|
23
|
+
saveCallback?: (params: Recordable<any>) => void;
|
|
24
|
+
promptMessage?: string;
|
|
25
|
+
}> & Readonly<{}>, {
|
|
26
|
+
open: () => Promise<void>;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
28
|
+
data: any[];
|
|
29
|
+
draggable: boolean;
|
|
30
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
31
|
+
P: {};
|
|
32
|
+
B: {};
|
|
33
|
+
D: {};
|
|
34
|
+
C: {};
|
|
35
|
+
M: {};
|
|
36
|
+
Defaults: {};
|
|
37
|
+
}, Readonly<{
|
|
38
|
+
modelKey: string;
|
|
39
|
+
isShowCascader?: boolean;
|
|
40
|
+
modalTitle?: string;
|
|
41
|
+
data?: any[];
|
|
42
|
+
titles?: string[];
|
|
43
|
+
containFieldType?: import('../../..').FIELD_TYPE[];
|
|
44
|
+
containFieldKey?: string[];
|
|
45
|
+
disabledFieldKey?: string[];
|
|
46
|
+
excludeFieldKey?: string[];
|
|
47
|
+
excludeFieldType?: import('../../..').FIELD_TYPE[];
|
|
48
|
+
containCreateType?: import('../../..').CreateType[];
|
|
49
|
+
filterFieldByFunction?: (field: any) => boolean;
|
|
50
|
+
maxEnableCount?: number;
|
|
51
|
+
modalKey?: string;
|
|
52
|
+
width?: number;
|
|
53
|
+
draggable?: boolean;
|
|
54
|
+
childParentModelKey?: string;
|
|
55
|
+
destroyCallback?: () => void;
|
|
56
|
+
saveCallback?: (params: Recordable<any>) => void;
|
|
57
|
+
promptMessage?: string;
|
|
58
|
+
}> & Readonly<{}>, {
|
|
59
|
+
open: () => Promise<void>;
|
|
60
|
+
}, {}, {}, {}, {
|
|
61
|
+
data: any[];
|
|
62
|
+
draggable: boolean;
|
|
63
|
+
}> | null;
|
|
64
|
+
}, any>;
|
|
65
|
+
export default _default;
|