@gct-paas/excel 0.1.28-beta.20 → 0.1.28-beta.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-DZMc-mPF.js → VueVideoPlayer-DCU2I_H7.js} +2 -2
- package/dist/{agg-design-BF07rc0r.js → agg-design-RbW6fgNa.js} +1 -1
- package/dist/{agg-props-CW9i-JXU.js → agg-props-CfoEBrRu.js} +1 -1
- package/dist/{agg-style-Cc4y47PR.js → agg-style-CgbQAKr0.js} +1 -1
- package/dist/{align-editor-xtw3ti5B.js → align-editor-B80IEr3w.js} +1 -1
- package/dist/{attach-fields-editor-V1dKYpEo.js → attach-fields-editor-BIiVvohl.js} +2 -2
- package/dist/{barcode-design-uEDi5mRk.js → barcode-design-DOLYhwbG.js} +2 -2
- package/dist/base/index.es.js +64 -11
- package/dist/{base-font-editor-Bfog0z-n.js → base-font-editor-e9sd4IkJ.js} +2 -2
- package/dist/{boolean-design-AX3XKm-o.js → boolean-design-Dlu6lW8d.js} +2 -2
- package/dist/{boolean-props-CGqe6Y3K.js → boolean-props-s96hsuRe.js} +3 -3
- package/dist/{boolean-style-zdRbx1hw.js → boolean-style-f5mMhRME.js} +4 -4
- package/dist/{cell-upload-FPPE7ltj.js → cell-upload-DYgGT9In.js} +2 -2
- package/dist/{date-range-editor-C9cPV-_1.js → date-range-editor-BUGosnLi.js} +2 -2
- package/dist/{date-time-design-D0faAOx6.js → date-time-design-BdZ_d-PG.js} +2 -2
- package/dist/{date-time-props-B9qnrxIn.js → date-time-props-tlQ_cWpv.js} +3 -3
- package/dist/{date-time-style-Bd8ihC6s.js → date-time-style--7vBwDaL.js} +1 -1
- package/dist/{decimal-design-Db0iC6iR.js → decimal-design-C0K5wkAw.js} +1 -1
- package/dist/{decimal-display-mode-kil9kuTH.js → decimal-display-mode-C3qGt4Zt.js} +2 -2
- package/dist/{decimal-props-SPE2DE5q.js → decimal-props-PGR7K6rT.js} +4 -4
- package/dist/{decimal-style-Bf4kAqQ1.js → decimal-style-D2u4XTHf.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CNNmLct8.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-BWpYVxPc.js} +2 -2
- package/dist/{diagonal-design-CW_twthc.js → diagonal-design-BrGfDqGb.js} +2 -2
- package/dist/{double-design-BpVaYQqr.js → double-design-B1Uiy26Z.js} +1 -1
- package/dist/{double-props-C3zAeh1H.js → double-props-yH1fU0x4.js} +4 -4
- package/dist/{double-style-DUA2z_gw.js → double-style-BVx9woku.js} +1 -1
- package/dist/{dynamic-table-action-DMqtzls4.js → dynamic-table-action-Bg2X8eeh.js} +83 -38
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-D4i-Gvff.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js} +33 -12
- package/dist/{edit.utils-CXmmCnxE-G7fcGb1T.js → edit.utils-CXmmCnxE-C46O9P-0.js} +1 -1
- package/dist/{enum-design-CF1dG0CC.js → enum-design-D7-yLeJb.js} +2 -2
- package/dist/{enum-props-B-JCKn2M.js → enum-props-COQQfulB.js} +3 -3
- package/dist/{enum-style-CuDDmTxC.js → enum-style-CcebnktY.js} +3 -3
- package/dist/excel.css +52 -36
- package/dist/{exceljs.min-ST54H_Ly.js → exceljs.min-Muu74e_A.js} +2 -2
- package/dist/{expression-design-LhErStD4.js → expression-design-DIJRzVab.js} +1 -1
- package/dist/{expression-props-f6sUAXwi.js → expression-props-Dd1_kGVD.js} +1 -1
- package/dist/{expression-style-DKsW2Af8.js → expression-style-Bp-2sfOx.js} +1 -1
- package/dist/{file-design-ChOoqRR6.js → file-design-DLIY-29d.js} +1 -1
- package/dist/{file-props-BWCzMimL.js → file-props-QGxoOGHI.js} +2 -2
- package/dist/{file-style-DMD0OfXL.js → file-style-CQZsWmvF.js} +1 -1
- package/dist/{font-editor-DrAPkGDv.js → font-editor-DyrF1wB8.js} +3 -3
- package/dist/{image-design-DINHKI1E.js → image-design-4odCIiI7.js} +2 -2
- package/dist/{image-design-DuVASh_q.js → image-design-eVwFd3tD.js} +1 -1
- package/dist/{image-props-QFvfJZyP.js → image-props-cT1RL-gD.js} +1 -1
- package/dist/{image-style-NTPttGd7.js → image-style-MnNoeDW2.js} +1 -1
- package/dist/{index-CE37hX3D.js → index-2I_EN7Yx.js} +2 -2
- package/dist/{index-CJHVASP5.js → index-2gNIJ0-V.js} +2 -2
- package/dist/{index-BrzGtAZ2.js → index-3JgiYInP.js} +1 -1
- package/dist/{index-DAukffhx.js → index-BBnBDqub.js} +1 -1
- package/dist/{index-BWXYxhit.js → index-BC-6IALL.js} +1 -1
- package/dist/{index-DiydeBn7.js → index-BEKNxaNo.js} +1 -1
- package/dist/{index-CEeMGkWk.js → index-BITMorpM.js} +2 -2
- package/dist/{index-9J8XK2gi.js → index-BcLaruk3.js} +1 -1
- package/dist/{index-CL2-zRQv.js → index-BeFplGKa.js} +3 -2
- package/dist/{index-Cgt_ujWq.js → index-BhgnUKpp.js} +1 -1
- package/dist/{index-DlKhewbe.js → index-BidsDLhX.js} +1 -1
- package/dist/{index-qK90tVWt.js → index-Bn9kqGy7.js} +1 -1
- package/dist/{index-D3Mbh5BK.js → index-C-e2nOug.js} +1 -1
- package/dist/{index-DH7jiJpP.js → index-CBIz0i4u.js} +1 -1
- package/dist/{index-NhBBPsPM.js → index-CEa50csS.js} +1 -1
- package/dist/{index-BcIWp9bu.js → index-CLKf0Gla.js} +2 -2
- package/dist/{index-CYfxzEsK.js → index-CMN7FUpJ.js} +1 -1
- package/dist/{index-Dt3Z7kxn.js → index-CO1k5u4I.js} +1 -1
- package/dist/{index-BeGb0xGr.js → index-CRbhhL-C.js} +1 -1
- package/dist/{index-I2zvfc5P.js → index-CaNmok7V.js} +1 -1
- package/dist/{index-zfX9oalO.js → index-Cjfws4Sx.js} +1 -1
- package/dist/{index-BPbdrBEI.js → index-CnH58RKA.js} +1 -1
- package/dist/{index-TkzoA0yX.js → index-DCucm9qw.js} +1 -1
- package/dist/{index-C3i4U5cP.js → index-DJRgFTjP.js} +1 -1
- package/dist/{index-g1tkFymd.js → index-DS3Z0wlu.js} +2 -2
- package/dist/{index-tgobVbg3.js → index-DW9FL8UO.js} +2 -2
- package/dist/{index-G__rsjxA.js → index-DlGnj7bK.js} +1 -1
- package/dist/{index-BsU99Zea.js → index-QFP7aiss.js} +85 -51
- package/dist/{index-BtNcA0Zz.js → index-bk4bX2Xm.js} +1 -1
- package/dist/{index-CwcFqCPj.js → index-islXi0nD.js} +2 -2
- package/dist/{index-wintNIyC.js → index-kCtDgCx3.js} +1 -1
- package/dist/{index-BlcHlMyL.js → index-oabZhVuL.js} +1 -1
- package/dist/{index-BqE7urvK.js → index-tWQfSOrQ.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/{integer-design-DJWJDVmn.js → integer-design-BD-LDEV_.js} +1 -1
- package/dist/{integer-props-BO4pvLTL.js → integer-props-DZvJ_bdU.js} +4 -4
- package/dist/{integer-style-CeMZwvws.js → integer-style-CxTdmZsN.js} +1 -1
- package/dist/{mb-render-QRW5YlWX.js → mb-render-B9PVK2lM.js} +1 -1
- package/dist/{number-input-ex-BFg5WxdS.js → number-input-ex-BpIoI25j.js} +1 -1
- package/dist/{org-props-C9qYDIkL.js → org-props-D0D94kmP.js} +2 -2
- package/dist/{org-style-DWl3yLe8.js → org-style-B_7Bhmgz.js} +1 -1
- package/dist/{pagination-design-CKpb-_KK.js → pagination-design-CWNP4U9A.js} +2 -2
- package/dist/paper-widget-design-CMzzcWw8.js +4 -0
- package/dist/{qrcode-design-0ZzsNRIM.js → qrcode-design-DeCNb5kH.js} +1 -1
- package/dist/{quick-search.util-CNR1NbIV.js → quick-search.util-DbpUfahg.js} +1 -1
- package/dist/{ref-autofill-editor-B86I06Tl.js → ref-autofill-editor-DQnrKJfB.js} +8 -6
- package/dist/{ref-props-DiBTnQ3x.js → ref-props-BnrWZt61.js} +4 -4
- package/dist/{ref-style-DzYqVgRY.js → ref-style-BHBHe1mo.js} +1 -1
- package/dist/{regex-editor-PSuBMtjX.js → regex-editor-ChABNYS9.js} +2 -2
- package/dist/{revo-grid.entry-D4Oq6MaX.js → revo-grid.entry-DIdL7jYD.js} +1 -1
- package/dist/{revogr-attribution_7.entry-b6D-TJMW.js → revogr-attribution_7.entry-DBPjWGup.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BMLpUsO2.js → revogr-clipboard_3.entry-MYdZD9tl.js} +2 -2
- package/dist/{revogr-data_4.entry-CUg0wBPs.js → revogr-data_4.entry-C4rrqPT4.js} +2 -2
- package/dist/{revogr-filter-panel.entry-DCnskGKK.js → revogr-filter-panel.entry-BAU18Dos.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-BcD8GEgc.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-D_WfbMb1.js} +2 -2
- package/dist/{serialnumber-design-Bpi1XMMc.js → serialnumber-design-CckdQzWc.js} +1 -1
- package/dist/shared/index.es.js +2 -2
- package/dist/{signature-design-CR5q4GWO.js → signature-design-TKvCOON-.js} +1 -1
- package/dist/{signature-props-DMmiIZwZ.js → signature-props-D1pC6hm4.js} +3 -3
- package/dist/{signature-style-a8sR9cH3.js → signature-style-BLrwnz_M.js} +1 -1
- package/dist/{single-field-drop-CzcsuxMW.js → single-field-drop-C-PadB1d.js} +2 -2
- package/dist/{size-editor--5RKKWY7.js → size-editor-szo7icZ-.js} +1 -1
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +7 -0
- package/dist/src/nocode-base/src/core/sub-table/utils/scan/scan-helpers.d.ts +11 -0
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +16 -11
- package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +14 -0
- package/dist/src/nocode-base/src/interface/device-query.d.ts +5 -2
- package/dist/{text-design-ZA8t-wHe.js → text-design-C8gY_Ud0.js} +2 -2
- package/dist/{text-design-ou0N3XAg.js → text-design-DUOCvsW-.js} +2 -2
- package/dist/{text-props-MSIC8HJr.js → text-props-D-KBRHkK.js} +4 -4
- package/dist/{text-style-nSZDqCef.js → text-style-D75O3cAI.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-Bdg0kDBo.js → throttle-Cpk1LoGk-D40m8Nov.js} +1 -1
- package/dist/{timediff-design-qcOv7QRc.js → timediff-design-Brg2Aoo2.js} +1 -1
- package/dist/{trace-design-BCp4VUtw.js → trace-design-Bphl0RjB.js} +2 -2
- package/dist/{trace-props-BUY2OLpA.js → trace-props-DkH0QJYT.js} +48 -19
- package/dist/{trace-style-B-TTZgl6.js → trace-style-DZx1slRE.js} +1 -1
- package/dist/{user-props-B0J_Wix4.js → user-props-u0p3vKkm.js} +2 -2
- package/dist/{user-style-BExBE5WW.js → user-style-dhqwLgPW.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DBuZyk0n.js → value-editor.vue_vue_type_style_index_0_lang-C1Y-__ux.js} +2 -2
- package/dist/{version-select-CmFUZe2Z.js → version-select-Cx1oBH6h.js} +1 -1
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-Bfhlr5Gm.js → widget-barcode-D8F4NNVm.js} +4 -4
- package/dist/{widget-diagonal-BShEIR9c.js → widget-diagonal-DxWX94Uz.js} +3 -3
- package/dist/{widget-image-BtTsk3Bg.js → widget-image-BZQOltF7.js} +5 -5
- package/dist/{widget-line-DM17jIVp.js → widget-line-DrYIib_u.js} +2 -2
- package/dist/{widget-pagination-BuzuEcIC.js → widget-pagination-M80nEc3Z.js} +5 -5
- package/dist/{widget-power-iyxCctMT.js → widget-power-D7jJhsVT.js} +3 -3
- package/dist/{widget-qrcode-B_y5ru5o.js → widget-qrcode-CY6qnSPs.js} +3 -3
- package/dist/{widget-rangelimit-B2iPlpfB.js → widget-rangelimit-CZ6cWnwZ.js} +3 -3
- package/dist/{widget-serialnumber-B9yOCLws.js → widget-serialnumber-DHmkrctf.js} +1 -1
- package/dist/{widget-text-DAs5tB8i.js → widget-text-C4e7Ec_2.js} +5 -5
- package/dist/{widget-timediff-CsJmxESH.js → widget-timediff-B4JkGADo.js} +2 -2
- package/package.json +2 -2
- package/dist/paper-widget-design-nTTa52To.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createVNode, unref, computed, withCtx, createElementVNode, createTextVNode, toDisplayString, nextTick, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
import { w as api, F as FIELD_TYPE$1, c$ as FIELD_TYPE_BASIC, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
-
import { n as applyDesignReadonlyModal, o as SEARCH_TYPE, u as useModelFields, b as FormItem, p as IconTooltip } from "./index-
|
|
4
|
-
import { D as DisplayFieldsEditor, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-
|
|
5
|
-
import { g as getIsSearchableField } from "./quick-search.util-
|
|
2
|
+
import { w as api, F as FIELD_TYPE$1, c$ as FIELD_TYPE_BASIC, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
3
|
+
import { n as applyDesignReadonlyModal, o as SEARCH_TYPE, u as useModelFields, b as FormItem, p as IconTooltip } from "./index-QFP7aiss.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-DQnrKJfB.js";
|
|
5
|
+
import { g as getIsSearchableField } from "./quick-search.util-DbpUfahg.js";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
import { FIELD_TYPE, useModal } from "@gct-paas/core";
|
|
8
8
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock } from "vue";
|
|
2
|
-
import { B as BaseFontEditor } from "./base-font-editor-
|
|
2
|
+
import { B as BaseFontEditor } from "./base-font-editor-e9sd4IkJ.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, w as api, y as useModal } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
-
import { n as applyDesignReadonlyModal, b as FormItem } from "./index-
|
|
3
|
+
import { _ as _export_sfc, w as api, y as useModal } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
4
|
+
import { n as applyDesignReadonlyModal, b as FormItem } from "./index-QFP7aiss.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 { db as registerInstance, dc as createEvent, dd as getColumnByProp, de as timeout, df as getVisibleSourceItem, dg as getColumns, dh as rowTypes, di as GroupingRowPlugin, dj as StretchColumn, dk as isStretchPlugin, dl as AutoSizeColumnPlugin, dm as FilterPlugin, dn as ExportFilePlugin, dp as SortingPlugin, dq as ColumnMovePlugin, dr as ThemeService, ds as h, dt as Host, du as getElement, dv as BasePlugin, dw as reduce, dx as columnTypes, dy as debounce, dz as RESIZE_INTERVAL, dA as DimensionStore, dB as gatherTrimmedItems, dC as getColumnSizes, dD as getItemByIndex, dE as DataStore, dF as getSourceItem, dG as getSourceItemVirtualIndexByProp, dH as getColumnType, dI as setSourceByPhysicalIndex, dJ as setSourceByVirtualIndex, dK as SelectionStore, dL as cropCellToMax, dM as nextCell, dN as isRowType, dO as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { db as registerInstance, dc as createEvent, dd as getColumnByProp, de as timeout, df as getVisibleSourceItem, dg as getColumns, dh as rowTypes, di as GroupingRowPlugin, dj as StretchColumn, dk as isStretchPlugin, dl as AutoSizeColumnPlugin, dm as FilterPlugin, dn as ExportFilePlugin, dp as SortingPlugin, dq as ColumnMovePlugin, dr as ThemeService, ds as h, dt as Host, du as getElement, dv as BasePlugin, dw as reduce, dx as columnTypes, dy as debounce, dz as RESIZE_INTERVAL, dA as DimensionStore, dB as gatherTrimmedItems, dC as getColumnSizes, dD as getItemByIndex, dE as DataStore, dF as getSourceItem, dG as getSourceItemVirtualIndexByProp, dH as getColumnType, dI as setSourceByPhysicalIndex, dJ as setSourceByVirtualIndex, dK as SelectionStore, dL as cropCellToMax, dM as nextCell, dN as isRowType, dO as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.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-b6D-TJMW.js → revogr-attribution_7.entry-DBPjWGup.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { db as registerInstance, ds as h, dt as Host, dc as createEvent, dF as getSourceItem, du as getElement, dT as ColumnService, dU as MOBILE_CLASS, dV as SELECTION_BORDER_CLASS, dW as getCellData, dX as getCellEditor, dY as getRange, dZ as isRangeSingleCell, d_ as codesLetter, dO as ViewportStore, dE as DataStore, d$ as calculateRowHeaderSize, e0 as ROW_HEADER_TYPE, e1 as getScrollbarSize, e2 as FOCUS_CLASS, dD as getItemByIndex, de as timeout, e3 as CELL_HANDLER_CLASS, dy as debounce, e4 as TMP_SELECTION_BG_CLASS, dz as RESIZE_INTERVAL, e5 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { db as registerInstance, ds as h, dt as Host, dc as createEvent, dF as getSourceItem, du as getElement, dT as ColumnService, dU as MOBILE_CLASS, dV as SELECTION_BORDER_CLASS, dW as getCellData, dX as getCellEditor, dY as getRange, dZ as isRangeSingleCell, d_ as codesLetter, dO as ViewportStore, dE as DataStore, d$ as calculateRowHeaderSize, e0 as ROW_HEADER_TYPE, e1 as getScrollbarSize, e2 as FOCUS_CLASS, dD as getItemByIndex, de as timeout, e3 as CELL_HANDLER_CLASS, dy as debounce, e4 as TMP_SELECTION_BG_CLASS, dz as RESIZE_INTERVAL, e5 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.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-C46O9P-0.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-D40m8Nov.js";
|
|
6
6
|
const Attribution = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { de as timeout, db as registerInstance, dc as createEvent, ds as h, e6 as EDIT_INPUT_WR, dt as Host, du as getElement, dy as debounce, e9 as DRAGG_TEXT, dF as getSourceItem, e5 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-
|
|
1
|
+
import { de as timeout, db as registerInstance, dc as createEvent, ds as h, e6 as EDIT_INPUT_WR, dt as Host, du as getElement, dy as debounce, e9 as DRAGG_TEXT, dF as getSourceItem, e5 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-C46O9P-0.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ea as PSEUDO_GROUP_ITEM, eb as GROUP_EXPANDED, ec as GROUP_DEPTH, ds as h, ed as GROUP_EXPAND_BTN, ee as DATA_ROW, dF as getSourceItem, ef as isGroupingColumn, eg as GROUP_COLUMN_PROP, eh as getCellRaw, ei as DATA_COL, ej as CELL_CLASS, ek as Build, el as isRowDragService, em as DRAG_ICON_CLASS, en as DRAGGABLE_CLASS, eo as getCellDataParsed, ep as GROUP_EXPAND_EVENT, db as registerInstance, dc as createEvent, dT as ColumnService, eq as isGrouping, dt as Host, du as getElement, dD as getItemByIndex, er as HEADER_ROW_CLASS, es as HEADER_ACTUAL_ROW_CLASS, et as ROW_FOCUSED_CLASS, eu as HEADER_SORTABLE_CLASS, ev as MIN_COL_SIZE, e2 as FOCUS_CLASS, ew as FilterButton, ex as HeaderCellRenderer, ey as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-
|
|
1
|
+
import { ea as PSEUDO_GROUP_ITEM, eb as GROUP_EXPANDED, ec as GROUP_DEPTH, ds as h, ed as GROUP_EXPAND_BTN, ee as DATA_ROW, dF as getSourceItem, ef as isGroupingColumn, eg as GROUP_COLUMN_PROP, eh as getCellRaw, ei as DATA_COL, ej as CELL_CLASS, ek as Build, el as isRowDragService, em as DRAG_ICON_CLASS, en as DRAGGABLE_CLASS, eo as getCellDataParsed, ep as GROUP_EXPAND_EVENT, db as registerInstance, dc as createEvent, dT as ColumnService, eq as isGrouping, dt as Host, du as getElement, dD as getItemByIndex, er as HEADER_ROW_CLASS, es as HEADER_ACTUAL_ROW_CLASS, et as ROW_FOCUSED_CLASS, eu as HEADER_SORTABLE_CLASS, ev as MIN_COL_SIZE, e2 as FOCUS_CLASS, ew as FilterButton, ex as HeaderCellRenderer, ey as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-D40m8Nov.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-DCnskGKK.js → revogr-filter-panel.entry-BAU18Dos.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { db as registerInstance, dc as createEvent, dy as debounce, ds as h, dP as AndOrButton, dQ as ReorderButton, dR as TrashButton, dS as isFilterBtn, dt as Host, du as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { db as registerInstance, dc as createEvent, dy as debounce, ds as h, dP as AndOrButton, dQ as ReorderButton, dR as TrashButton, dS as isFilterBtn, dt as Host, du as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.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, b as FormItem, S as SelectEx } from "./index-
|
|
3
|
-
import { O as Orientation, R as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as CellWidgetRenderComp, b as FormItem, S as SelectEx } from "./index-QFP7aiss.js";
|
|
3
|
+
import { O as Orientation, R as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.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.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.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 { ag, cZ, C, ah, am, c_, ai, aj, F, c$, l, d0, d1, d2, d3, d4, d5, k, J, K, a0, x, d6, aU, d7, ak, d8, U, aV, I } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
-
import { O, _, S, a, V } from "../version-select-
|
|
1
|
+
import { ag, cZ, C, ah, am, c_, ai, aj, F, c$, l, d0, d1, d2, d3, d4, d5, k, J, K, a0, x, d6, aU, d7, ak, d8, U, aV, I } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
|
+
import { O, _, S, a, V } from "../version-select-Cx1oBH6h.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -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-DYgGT9In.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 { Y as SignatureTypeEnum, W as SignatureTimeTypeEnum, F as FIELD_TYPE, V as SignatureNumberTypeEnum, al as ImageDisplayModeEnum, X as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
-
import { b as FormItem, S as SelectEx } from "./index-
|
|
5
|
-
import { A as AttachFieldEditor } from "./attach-fields-editor-
|
|
3
|
+
import { Y as SignatureTypeEnum, W as SignatureTimeTypeEnum, F as FIELD_TYPE, V as SignatureNumberTypeEnum, al as ImageDisplayModeEnum, X as SignShowTypeEnum, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
4
|
+
import { b as FormItem, S as SelectEx } from "./index-QFP7aiss.js";
|
|
5
|
+
import { A as AttachFieldEditor } from "./attach-fields-editor-BIiVvohl.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.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
2
2
|
const _sfc_main = {};
|
|
3
3
|
function _sfc_render(_ctx, _cache) {
|
|
4
4
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
3
|
-
import { d as useDrop, T as TransferType, u as useModelFields, e as getFieldIcon, x as SingleDrop } from "./index-
|
|
4
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { d as useDrop, T as TransferType, u as useModelFields, e as getFieldIcon, x as SingleDrop } from "./index-QFP7aiss.js";
|
|
4
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "single-field-drop",
|
|
7
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.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
3
3
|
const _hoisted_1 = { class: "row" };
|
|
4
4
|
const _hoisted_2 = { class: "row mt-6px" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -176,6 +176,13 @@ export declare class SubTableCore {
|
|
|
176
176
|
* @param opts
|
|
177
177
|
*/
|
|
178
178
|
openScanModal(): Promise<void>;
|
|
179
|
+
/** 解析子表默认值(函数默认值先求值),扫码填空行时忽略这些字段 */
|
|
180
|
+
private resolveScanIgnoreValues;
|
|
181
|
+
/**
|
|
182
|
+
* 扫码入行:优先回填首个空壳占位行,否则追加到表尾。
|
|
183
|
+
* 对齐 Word appendOrFillScanRow,避免仅一行空壳时扫码落到第二行。
|
|
184
|
+
*/
|
|
185
|
+
protected appendOrFillScanRow(row: Record<string, unknown>): void;
|
|
179
186
|
/**
|
|
180
187
|
* 扫码多条候选时选择一行(1 条自动选中)
|
|
181
188
|
*/
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import { IRuleParseData } from '../../../../hooks/label-parse-rule';
|
|
2
|
+
/**
|
|
3
|
+
* 当前行是不是「空壳占位行」,有没有真正的业务内容。
|
|
4
|
+
* 对齐 Word hasSubtableBusinessData:忽略 front_row_key_ / group_ / deleted_ / _* 元数据。
|
|
5
|
+
* ignoreValues:行默认值(如仓库上下文)不算用户填报。
|
|
6
|
+
*/
|
|
7
|
+
export declare function hasSubtableBusinessData(row: Record<string, unknown> | null | undefined, ignoreValues?: Record<string, unknown>): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* 扫码入行:优先回填首个空壳占位行,否则在可见区末尾新增。
|
|
10
|
+
* 避免版面默认空行时直接 append 导致「第一行空、第二行有数据」。
|
|
11
|
+
*/
|
|
12
|
+
export declare function appendOrFillScanRow(visibleRows: Record<string, unknown>[], row: Record<string, unknown>, ignoreValues?: Record<string, unknown>): Record<string, unknown>[];
|
|
2
13
|
/** 扫码数量调整方向(盘点加减实盘) */
|
|
3
14
|
export type ScanAdjustType = 'add' | 'minus';
|
|
4
15
|
/** 扫码弹窗回传 */
|
package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts
CHANGED
|
@@ -60,10 +60,12 @@ export declare class MaterialConsumeTableController {
|
|
|
60
60
|
formModelController: FormModelController;
|
|
61
61
|
/** 当前 paper 上配置的单位转化规则(由组件 setup 注入) */
|
|
62
62
|
unitConversionRules: IUnitConversionRule[];
|
|
63
|
-
/** 主表 formState
|
|
63
|
+
/** 主表 formState(由 factory bindRuntime 注入),用于读取主表字段值 */
|
|
64
64
|
mainFormState: Ref<any>;
|
|
65
|
-
/**
|
|
65
|
+
/** 表单数据状态(由 factory bindRuntime 注入):未填报 / STASH / SUBMIT */
|
|
66
66
|
dataStatus?: string;
|
|
67
|
+
/** factory 是否已绑定过运行时(避免重复 initTableData) */
|
|
68
|
+
private runtimeBound;
|
|
67
69
|
/** 表单是否已暂存或提交(已处理过则不再跑初始化) */
|
|
68
70
|
get isDataProcessed(): boolean;
|
|
69
71
|
/** 批次数量或生产数量 */
|
|
@@ -187,20 +189,23 @@ export declare class MaterialConsumeTableController {
|
|
|
187
189
|
*/
|
|
188
190
|
openBomModal(): Promise<void>;
|
|
189
191
|
/**
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
+
* 表单加载时由 factory 调用:绑定稳定数据源并初始化行数据。
|
|
193
|
+
* 不在分页组件 setup 中调用,避免跨页挂载重复 init。
|
|
192
194
|
*/
|
|
193
|
-
|
|
195
|
+
bindRuntime(opts: {
|
|
194
196
|
tableDataRef: Ref<any>;
|
|
195
|
-
widget: ISubTable;
|
|
196
|
-
formModelController: FormModelController;
|
|
197
|
-
unitConversionRules?: IUnitConversionRule[];
|
|
198
197
|
mainFormState?: Ref<any>;
|
|
199
|
-
/** 表单 dataStatus,未填报才允许初始化行数据 */
|
|
200
198
|
dataStatus?: string;
|
|
201
|
-
/** 子表行默认值 */
|
|
202
199
|
defaultRowData?: Record<string, any>;
|
|
203
|
-
}):
|
|
200
|
+
}): void;
|
|
201
|
+
/**
|
|
202
|
+
* 消耗表组件挂载时调用:只同步视图依赖,不初始化数据、不注册 watch。
|
|
203
|
+
*/
|
|
204
|
+
bindView(opts: {
|
|
205
|
+
widget: ISubTable;
|
|
206
|
+
formModelController: FormModelController;
|
|
207
|
+
unitConversionRules?: IUnitConversionRule[];
|
|
208
|
+
}): void;
|
|
204
209
|
/**
|
|
205
210
|
* 按当前 materialNoNum 回写各行 qty_required_(校验侧 total 已通过 getter 实时读取)
|
|
206
211
|
*/
|
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
export declare const MATERIAL_DATE_TYPE = "material_date";
|
|
3
3
|
export declare const DATE_FIELDS: readonly ["production_date_", "retest_date_", "expiration_date_"];
|
|
4
4
|
export type DateField = (typeof DATE_FIELDS)[number];
|
|
5
|
+
type MaterialDateFieldMeta = {
|
|
6
|
+
key?: string;
|
|
7
|
+
type?: string;
|
|
8
|
+
bizType?: string;
|
|
9
|
+
belongingObject?: string;
|
|
10
|
+
materialDateRole?: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The object-level bizType is absent in some historical model metadata responses.
|
|
14
|
+
* Fall back to the complete set of date roles so those objects are still treated
|
|
15
|
+
* as material-date objects without relying on a localized object name.
|
|
16
|
+
*/
|
|
17
|
+
export declare function isMaterialDateObject(field: MaterialDateFieldMeta, fields: MaterialDateFieldMeta[]): boolean;
|
|
5
18
|
export type MaterialDateRow = Record<string, any>;
|
|
6
19
|
export interface MaterialDateContext {
|
|
7
20
|
isNewInstance?: boolean;
|
|
@@ -42,3 +55,4 @@ export declare function materialDateFields(fields: Array<{
|
|
|
42
55
|
}>): {
|
|
43
56
|
[k: string]: string;
|
|
44
57
|
};
|
|
58
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** 设备状态(enu_device_status) */
|
|
2
2
|
export declare const DeviceStatus: {
|
|
3
3
|
/** 使用中 */
|
|
4
|
-
readonly IN_USE: "
|
|
4
|
+
readonly IN_USE: "state_device_in_use";
|
|
5
5
|
/** 维修中 */
|
|
6
6
|
readonly REPAIRING: "REPAIRING";
|
|
7
7
|
/** 保养中 */
|
|
@@ -20,7 +20,10 @@ export declare const DeviceStatus: {
|
|
|
20
20
|
readonly SCRAPPED: "SCRAPPED";
|
|
21
21
|
};
|
|
22
22
|
export type DeviceStatus = (typeof DeviceStatus)[keyof typeof DeviceStatus];
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* 设备可选过滤:启用中 + 使用中 +(校准有效期未过 OR 无校准日期)。
|
|
25
|
+
* `__orExpKeys` 供 buildDeviceFilterQuery 把校准两条件做成 OR。
|
|
26
|
+
*/
|
|
24
27
|
export declare function buildDeviceBaseQuery(extraQuery?: Record<string, any>): Record<string, any>;
|
|
25
28
|
export declare function buildDeviceFilterQuery(extraQuery?: Record<string, any>): {
|
|
26
29
|
queryData: Record<string, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock } from "vue";
|
|
2
|
-
import { C as CellWidgetRenderComp } from "./index-
|
|
3
|
-
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as CellWidgetRenderComp } from "./index-QFP7aiss.js";
|
|
3
|
+
import { _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "text-design",
|
|
6
6
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { G as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { G as PaperWidgeValueType, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import { i as useSpreadSheet, u as useModelFields } from "./index-
|
|
6
|
+
import { i as useSpreadSheet, u as useModelFields } from "./index-QFP7aiss.js";
|
|
7
7
|
const _hoisted_1 = { class: "ws-pre-wrap" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "text-design",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, h, computed, onMounted, createBlock, mergeProps, unref, withCtx, Fragment, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { b as FormItem, C as CellWidgetRenderComp } from "./index-
|
|
3
|
-
import { N as NumberRange, R as RegexEditor } from "./regex-editor-
|
|
4
|
-
import { w as api, cY as watchDebounced, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
5
|
-
import { g as useIntersectionObserver, h as cacheAdapter } from "./index-
|
|
2
|
+
import { b as FormItem, C as CellWidgetRenderComp } from "./index-QFP7aiss.js";
|
|
3
|
+
import { N as NumberRange, R as RegexEditor } from "./regex-editor-ChABNYS9.js";
|
|
4
|
+
import { w as api, cY as watchDebounced, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
5
|
+
import { g as useIntersectionObserver, h as cacheAdapter } from "./index-BeFplGKa.js";
|
|
6
6
|
import { debounce } from "lodash-es";
|
|
7
7
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "select-more",
|
|
@@ -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-e9sd4IkJ.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "text-style",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getScrollDimension } from "./viewport.helpers-CoCAvmZs-D_JddDC6.js";
|
|
2
|
-
import { e8 as isObject, dy as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { e8 as isObject, dy as debounce } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
3
3
|
const initialParams = {
|
|
4
4
|
contentSize: 0,
|
|
5
5
|
clientSize: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, toDisplayString, unref } from "vue";
|
|
2
|
-
import { a5 as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { a5 as TimeDiffFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "ant-design-vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createVNode, unref } from "vue";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
|
-
import { F as FieldStateIcon, C as CellWidgetRenderComp } from "./index-
|
|
4
|
-
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { F as FieldStateIcon, C as CellWidgetRenderComp } from "./index-QFP7aiss.js";
|
|
4
|
+
import { F as FIELD_TYPE, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "trace-design",
|
|
7
7
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, normalizeClass, unref, vShow,
|
|
2
|
-
import { u as useModelFields, i as useSpreadSheet, b as FormItem, j as useReverseModeling, q as TraceSelect } from "./index-
|
|
3
|
-
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-
|
|
4
|
-
import { D as DisplayFieldsEditor, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-
|
|
5
|
-
import { N as NumberRange, R as RegexEditor } from "./regex-editor-
|
|
6
|
-
import { F as FIELD_TYPE, d9 as getSubTableTypeByRefModelType, da as getExclusiveBusinessTypeTokens, a0 as FieldIconMap, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, normalizeClass, unref, vShow, createElementBlock, createVNode, Fragment, toDisplayString, createCommentVNode, watch, createTextVNode } from "vue";
|
|
2
|
+
import { u as useModelFields, i as useSpreadSheet, b as FormItem, j as useReverseModeling, q as TraceSelect } from "./index-QFP7aiss.js";
|
|
3
|
+
import { D as DateFormatEditor, a as DateRangeEditor } from "./date-range-editor-BUGosnLi.js";
|
|
4
|
+
import { D as DisplayFieldsEditor, Q as QuickSearchEditor, R as RefAutofillEditor } from "./ref-autofill-editor-DQnrKJfB.js";
|
|
5
|
+
import { N as NumberRange, R as RegexEditor } from "./regex-editor-ChABNYS9.js";
|
|
6
|
+
import { F as FIELD_TYPE, d9 as getSubTableTypeByRefModelType, da as getExclusiveBusinessTypeTokens, a0 as FieldIconMap, _ as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "dayjs";
|
|
9
9
|
import "ant-design-vue";
|
|
10
|
-
import { A as AddRuleBtn } from "./index-
|
|
10
|
+
import { A as AddRuleBtn } from "./index-BeFplGKa.js";
|
|
11
11
|
import "@gct-paas/form-base";
|
|
12
|
-
import { g as getIsSearchableField } from "./quick-search.util-
|
|
12
|
+
import { g as getIsSearchableField } from "./quick-search.util-DbpUfahg.js";
|
|
13
13
|
const ASSOC_FILTER_SOURCE_TYPES = /* @__PURE__ */ new Set([
|
|
14
14
|
FIELD_TYPE.MATERIAL_NO,
|
|
15
15
|
FIELD_TYPE.MFG_ORDER
|
|
@@ -57,6 +57,7 @@ function buildAssocSourceFieldValue(fieldKey, subFieldKey) {
|
|
|
57
57
|
return subFieldKey ? `${subFieldKey}.${fieldKey}` : fieldKey;
|
|
58
58
|
}
|
|
59
59
|
const _hoisted_1$2 = ["title"];
|
|
60
|
+
const _hoisted_2$2 = ["innerHTML"];
|
|
60
61
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
61
62
|
__name: "assoc-source-field-select",
|
|
62
63
|
props: {
|
|
@@ -70,6 +71,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
70
71
|
const emit = __emit;
|
|
71
72
|
const { masterModel, modelMetaMap } = useModelFields();
|
|
72
73
|
const { paper } = useSpreadSheet();
|
|
74
|
+
const searchValue = ref("");
|
|
73
75
|
const selectedValue = computed({
|
|
74
76
|
get() {
|
|
75
77
|
return props.value;
|
|
@@ -143,15 +145,39 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
143
145
|
}
|
|
144
146
|
return nodes;
|
|
145
147
|
});
|
|
148
|
+
function isGroupNode(node) {
|
|
149
|
+
return Boolean(node.children?.length) && node.selectable === false;
|
|
150
|
+
}
|
|
151
|
+
function filterFieldTree(nodes, keyword) {
|
|
152
|
+
const kw = keyword.trim().toLowerCase();
|
|
153
|
+
if (!kw) return nodes;
|
|
154
|
+
return nodes.reduce((acc, node) => {
|
|
155
|
+
const children = node.children?.length ? filterFieldTree(node.children, kw) : [];
|
|
156
|
+
const matched = node.label.toLowerCase().includes(kw);
|
|
157
|
+
if (matched && isGroupNode(node)) {
|
|
158
|
+
acc.push({ ...node, children: children.length ? children : node.children });
|
|
159
|
+
return acc;
|
|
160
|
+
}
|
|
161
|
+
if (matched || children.length) {
|
|
162
|
+
acc.push({ ...node, children });
|
|
163
|
+
}
|
|
164
|
+
return acc;
|
|
165
|
+
}, []);
|
|
166
|
+
}
|
|
167
|
+
const filteredTreeData = computed(() => filterFieldTree(treeData.value, searchValue.value));
|
|
168
|
+
function escapeRegExp(str) {
|
|
169
|
+
return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
170
|
+
}
|
|
171
|
+
function highlightLabel(name) {
|
|
172
|
+
if (!name) return "";
|
|
173
|
+
const kw = searchValue.value.trim();
|
|
174
|
+
if (!kw) return name;
|
|
175
|
+
const reg = new RegExp(escapeRegExp(kw), "gi");
|
|
176
|
+
return name.replace(reg, (s) => `<span class="gct-is-highlight">${s}</span>`);
|
|
177
|
+
}
|
|
146
178
|
function getPopupContainer() {
|
|
147
179
|
return document.body;
|
|
148
180
|
}
|
|
149
|
-
function filterTreeNode(inputValue, treeNode) {
|
|
150
|
-
const label = treeNode?.label ?? treeNode?.props?.label ?? treeNode?.dataRef?.label ?? "";
|
|
151
|
-
return String(label).toLowerCase().includes(
|
|
152
|
-
String(inputValue ?? "").trim().toLowerCase()
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
181
|
function handleChange(value, _labelList, extra) {
|
|
156
182
|
const node = extra?.triggerNode?.props || extra?.triggerNode;
|
|
157
183
|
const nodeProps = node?.dataRef || node;
|
|
@@ -162,6 +188,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
162
188
|
return openBlock(), createBlock(_component_a_tree_select, {
|
|
163
189
|
value: selectedValue.value,
|
|
164
190
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => selectedValue.value = $event),
|
|
191
|
+
searchValue: searchValue.value,
|
|
192
|
+
"onUpdate:searchValue": _cache[1] || (_cache[1] = ($event) => searchValue.value = $event),
|
|
165
193
|
"show-search": "",
|
|
166
194
|
style: { "width": "100%" },
|
|
167
195
|
size: "small",
|
|
@@ -170,9 +198,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
170
198
|
"allow-clear": "",
|
|
171
199
|
"tree-default-expand-all": "",
|
|
172
200
|
virtual: false,
|
|
173
|
-
"tree-data":
|
|
174
|
-
"tree-node
|
|
175
|
-
"filter-tree-node": filterTreeNode,
|
|
201
|
+
"tree-data": filteredTreeData.value,
|
|
202
|
+
"filter-tree-node": false,
|
|
176
203
|
"dropdown-class-name": "gct-custom-select-dropdown assoc-filter-source-dropdown",
|
|
177
204
|
"get-popup-container": getPopupContainer,
|
|
178
205
|
disabled: __props.disabled,
|
|
@@ -188,11 +215,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
188
215
|
}, null, 2), [
|
|
189
216
|
[vShow, data.type]
|
|
190
217
|
]),
|
|
191
|
-
|
|
218
|
+
createElementVNode("span", {
|
|
219
|
+
innerHTML: highlightLabel(data.label)
|
|
220
|
+
}, null, 8, _hoisted_2$2)
|
|
192
221
|
], 8, _hoisted_1$2)
|
|
193
222
|
]),
|
|
194
223
|
_: 1
|
|
195
|
-
}, 8, ["value", "placeholder", "tree-data", "disabled"]);
|
|
224
|
+
}, 8, ["value", "searchValue", "placeholder", "tree-data", "disabled"]);
|
|
196
225
|
};
|
|
197
226
|
}
|
|
198
227
|
});
|
|
@@ -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-e9sd4IkJ.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "trace-style",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, createCommentVNode, unref, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { b as FormItem } from "./index-
|
|
3
|
-
import { F as FIELD_TYPE, bW as FieldSysVarDefaultValueEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { b as FormItem } from "./index-QFP7aiss.js";
|
|
3
|
+
import { F as FIELD_TYPE, bW as FieldSysVarDefaultValueEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
@@ -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-e9sd4IkJ.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "user-style",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { pick } from "lodash-es";
|
|
3
|
-
import { u as useModelFields, i as useSpreadSheet, d as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, x as SingleDrop, e as getFieldIcon } from "./index-
|
|
4
|
-
import { G as PaperWidgeValueType, ai as ExpressionModeEnum, aj as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
3
|
+
import { u as useModelFields, i as useSpreadSheet, d as useDrop, P as PanelType, T as TransferType, V as ValueEditorFieldDropBoxId, x as SingleDrop, e as getFieldIcon } from "./index-QFP7aiss.js";
|
|
4
|
+
import { G as PaperWidgeValueType, ai as ExpressionModeEnum, aj as ExpressionTabEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "ant-design-vue";
|
|
7
7
|
const _hoisted_1 = { class: "mt-4px" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { nextTick, h, createVNode, defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, withCtx, withKeys, normalizeClass, toDisplayString, createTextVNode, createCommentVNode, Fragment, renderList, normalizeStyle, computed, createBlock, withModifiers, toRaw, unref, mergeProps } from "vue";
|
|
2
|
-
import { M as FormTypeEnum, w as api, y as useModal, _ as _export_sfc, d6 as FormDesignEnum, bS as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { M as FormTypeEnum, w as api, y as useModal, _ as _export_sfc, d6 as FormDesignEnum, bS as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
3
3
|
import { orderBy, isArray, cloneDeep } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import { Form } from "ant-design-vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-
|
|
2
|
-
import { A, B, P, S, f, e, i, u } from "../index-
|
|
1
|
+
import { M as ModalWrapper, _ as _sfc_main$3 } from "../index-BeFplGKa.js";
|
|
2
|
+
import { A, B, P, S, f, e, i, u } from "../index-BeFplGKa.js";
|
|
3
3
|
import { message } from "ant-design-vue";
|
|
4
|
-
import { y as useModal, _ as _export_sfc, w as api, ce as getParseRuleConfig, aM as getParseRuleValue, be as calcFillData, aP as getLotLockedReason } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { y as useModal, _ as _export_sfc, w as api, ce as getParseRuleConfig, aM as getParseRuleValue, be as calcFillData, aP as getLotLockedReason } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
5
5
|
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass, createVNode, createTextVNode, reactive, onMounted, createBlock, unref, withCtx, withKeys, withDirectives, createCommentVNode, vShow, computed, mergeProps, toHandlers } from "vue";
|
|
6
6
|
import { cloneDeep } from "lodash-es";
|
|
7
7
|
import "dayjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, renderList, createBlock, createTextVNode, toDisplayString, createElementVNode } from "vue";
|
|
2
|
-
import { i as useSpreadSheet, B as BwipCodeTypeOptions, b as FormItem } from "./index-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { h as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { i as useSpreadSheet, B as BwipCodeTypeOptions, b as FormItem } from "./index-QFP7aiss.js";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./value-editor.vue_vue_type_style_index_0_lang-C1Y-__ux.js";
|
|
4
|
+
import { h as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import "dayjs";
|
|
7
7
|
import "ant-design-vue";
|
|
8
|
-
import { A as AlignEditor } from "./align-editor-
|
|
8
|
+
import { A as AlignEditor } from "./align-editor-B80IEr3w.js";
|
|
9
9
|
const _hoisted_1 = { class: "pl-6px" };
|
|
10
10
|
const _hoisted_2 = { class: "flex justify-end" };
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, withCtx, createElementVNode, toDisplayString, createVNode, watch, createElementBlock, Fragment, createCommentVNode } from "vue";
|
|
2
|
-
import { b as FormItem, S as SelectEx } from "./index-
|
|
2
|
+
import { b as FormItem, S as SelectEx } from "./index-QFP7aiss.js";
|
|
3
3
|
import { defaults } from "lodash-es";
|
|
4
|
-
import { F as FIELD_TYPE, _ as _export_sfc, a2 as DiagonalDirection, a6 as DiagonalVertex, cr as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
4
|
+
import { F as FIELD_TYPE, _ as _export_sfc, a2 as DiagonalDirection, a6 as DiagonalVertex, cr as migrateDiagonalDirectionToVertex } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-B-KhKgs2.js";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import { message } from "ant-design-vue";
|
|
7
7
|
import { u as useNamespace } from "./use-namespace-BxkK4ofX.js";
|
|
8
|
-
import { S as SingleFieldDrop } from "./single-field-drop-
|
|
8
|
+
import { S as SingleFieldDrop } from "./single-field-drop-C-PadB1d.js";
|
|
9
9
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "diagonal-name-editor",
|
|
11
11
|
props: {
|