@gct-paas/excel 0.1.40-beta.3 → 0.1.40-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-B9o59n-h.js → BaseComponent-BcxRArl9.js} +2 -2
- package/dist/{VueVideoPlayer-CAWYWBHi.js → VueVideoPlayer-DjIr6Duj.js} +2 -2
- package/dist/{align-editor-a4DQt4Un.js → align-editor-99-Qs6Pu.js} +1 -1
- package/dist/{barcode-design-CBqUEPYu.js → barcode-design-BSkeINVU.js} +2 -2
- package/dist/base/index.es.js +238 -197
- package/dist/{diagonal-design-u23896Ky.js → diagonal-design-CR7fiPt_.js} +2 -2
- package/dist/{dynamic-table-action-BWI4Gaqi.js → dynamic-table-action-D8JTGNuH.js} +175 -95
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-BvrrN6te.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js} +625 -398
- package/dist/{edit.utils-CXmmCnxE-XxpC8ALV.js → edit.utils-CXmmCnxE-5YnG7Mod.js} +1 -1
- package/dist/excel.css +325 -158
- package/dist/{exceljs.min-DfbB110X.js → exceljs.min-Ckn1GGo5.js} +2 -2
- package/dist/{font-editor-BtSCLMrM.js → font-editor-CIv2e95b.js} +3 -3
- package/dist/{image-design-CtE-Lw7N.js → image-design-Bg1m0JLl.js} +2 -2
- package/dist/{index-BGAcYDx-.js → index-0kZW-sd4.js} +1 -1
- package/dist/{index-aNV9T6LI.js → index-6wZ6Y0W3.js} +2 -2
- package/dist/{index-CIa37rQm.js → index-B4XMnrfl.js} +2 -2
- package/dist/{index-BRQkrFQ9.js → index-BA_C4l6u.js} +2 -2
- package/dist/{index-BFg5eUdY.js → index-BIraya7K.js} +1 -1
- package/dist/{index-BMoz_QhA.js → index-BZQrpoEw.js} +1 -1
- package/dist/{index-Bc61F6Hm.js → index-BunphFuS.js} +2 -2
- package/dist/{index-DVEe11uM.js → index-BzdZIihy.js} +1 -1
- package/dist/{index-3WwCV4xR.js → index-C7oAVon1.js} +1 -1
- package/dist/{index-BKXb3VJc.js → index-C8H-5Adw.js} +2 -2
- package/dist/{index-B0cdcIWq.js → index-CRLydLMf.js} +2 -2
- package/dist/{index-51LtNdZ2.js → index-CTyszA6m.js} +1 -1
- package/dist/{index-I1r5pfu5.js → index-CUPuw1ng.js} +2 -2
- package/dist/{index-BC8hQ4vo.js → index-CYb8lY4k.js} +2 -2
- package/dist/{index-CeEhYXl9.js → index-CeCk3V8r.js} +2 -2
- package/dist/{index-CAdDeEzJ.js → index-CeMM7qev.js} +2 -2
- package/dist/{index-CYLAVQfT.js → index-Cjor8DKp.js} +2 -2
- package/dist/{index-DeHX7rte.js → index-CsIKJvLT.js} +50 -3
- package/dist/{index-CL9K9orM.js → index-CzgWwoNs.js} +2 -2
- package/dist/{index-IVc1dOet.js → index-D7DYLntD.js} +3 -3
- package/dist/{index-9S48hpoJ.js → index-DFJ19IKk.js} +2 -2
- package/dist/{index-CPTGioxl.js → index-DG8I3apA.js} +1 -1
- package/dist/{index-BP-LhXXV.js → index-DHvbmtBs.js} +4 -4
- package/dist/{index-ixQwAcB1.js → index-DLZKDd1x.js} +812 -463
- package/dist/{index-DNj0vFvx.js → index-DN83FHdO.js} +1 -1
- package/dist/{index-7aS5L4ot.js → index-DZxTtwzU.js} +3 -3
- package/dist/{index-CpPk8P3L.js → index-DbXQsLWI.js} +1 -1
- package/dist/{index-CdHVHaxO.js → index-DgRCrbjc.js} +2 -2
- package/dist/{index-CVsoaxTR.js → index-Do1A3RoM.js} +2 -2
- package/dist/{index-DdWefZMa.js → index-DprbnBOa.js} +2 -2
- package/dist/{index-Ca9TLzUh.js → index-DtwSR71M.js} +1 -1
- package/dist/{index-Dyomjz3y.js → index-OHHmkknK.js} +2 -2
- package/dist/{index-BfBuxgcp.js → index-k_OAhCop.js} +2 -2
- package/dist/{index-731OYkrc.js → index-mxtsA6kq.js} +3 -3
- package/dist/{index-Bnb70qEi.js → index-rYGo3i42.js} +3 -3
- package/dist/index.es.js +12 -10
- package/dist/{mb-render-Bs9S9oFn.js → mb-render-BW27j2qa.js} +1 -1
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-CRyGHP7k.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js} +1 -1
- package/dist/{pagination-design-CmbsdlMe.js → pagination-design-C59mi1du.js} +2 -2
- package/dist/paper-widget-design-BNmIT8FC.js +4 -0
- package/dist/{print-runtime-instance-DQysbz5n.js → print-runtime-instance-CT3EaCDJ.js} +1 -1
- package/dist/{print-snapshot-renderer-DWHjMsOC.js → print-snapshot-renderer-Bm-fpHUt.js} +3 -3
- package/dist/{qrcode-design-CX0_2mLC.js → qrcode-design-Brx73IFy.js} +1 -1
- package/dist/{revo-grid.entry-DbmWFi7p.js → revo-grid.entry-CREHbVNI.js} +1 -1
- package/dist/{revogr-attribution_7.entry-BWQDu7fq.js → revogr-attribution_7.entry-CBUFDouS.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-BtTYHFZi.js → revogr-clipboard_3.entry-C9D5KQdr.js} +2 -2
- package/dist/{revogr-data_4.entry-CWPXyZ7g.js → revogr-data_4.entry-DpskbAdh.js} +2 -2
- package/dist/{revogr-filter-panel.entry-5gYct0XI.js → revogr-filter-panel.entry-CqdNtCzb.js} +1 -1
- package/dist/seal-design-XhQfBjxE.js +4 -0
- package/dist/{serialnumber-design-aSqL4gX6.js → serialnumber-design-CJM0MP9w.js} +1 -1
- package/dist/shared/index.es.js +24 -24
- package/dist/{single-field-drop-C67wLHxK.js → single-field-drop-B82L3Pe3.js} +2 -2
- package/dist/{size-editor-BHGTPLir.js → size-editor-CybxvVWn.js} +1 -1
- package/dist/src/domain/table/business/material/material-balance/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-consume/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +13 -0
- package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +19 -0
- package/dist/src/domain/table/design/autofill-expander.d.ts +2 -0
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +6 -0
- package/dist/src/domain/table/index.d.ts +1 -1
- package/dist/src/domain/table/types.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +1 -0
- package/dist/src/nocode-base/src/hooks/material-consume/tmpl-bom-controller.d.ts +12 -7
- package/dist/src/nocode-base/src/hooks/validation/createValidateFactory.d.ts +1 -0
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +5 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/inventory-scan-columns.d.ts +6 -0
- package/dist/src/online-form/src/views/designer/conversions/normalize-paper-grid.d.ts +3 -0
- package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +9 -0
- package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +7 -0
- package/dist/src/shared/components/Signature/logic/index.d.ts +14 -0
- package/dist/{sub-table-factory-DTtDvr17.js → sub-table-factory-BrwMeqWM.js} +11 -60
- package/dist/{text-design-Dz0Qf2O3.js → text-design-Qem3wirw.js} +2 -2
- package/dist/{throttle-Cpk1LoGk-CgtsG2CV.js → throttle-Cpk1LoGk-Bm1w1voP.js} +1 -1
- package/dist/{timediff-design-D9JfNqH8.js → timediff-design-CiGukjs9.js} +1 -1
- package/dist/{trace-like-wrapper-BXgr0Uv3.js → trace-like-wrapper-DrUDJDgX.js} +2 -2
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-doohzADY.js → value-editor.vue_vue_type_style_index_0_lang-DXBstCLM.js} +2 -2
- package/dist/web-render/index.es.js +3 -3
- package/dist/{widget-barcode-XF3nCU9v.js → widget-barcode-DH30z4yi.js} +4 -4
- package/dist/{widget-diagonal-DSym7fks.js → widget-diagonal-Bv-Eb2Fi.js} +3 -3
- package/dist/{widget-image-CmjwkVs7.js → widget-image-67Q9gRCG.js} +5 -5
- package/dist/{widget-line-BX64xVfU.js → widget-line-DP3dKXNd.js} +2 -2
- package/dist/{widget-pagination-BV89Lvjt.js → widget-pagination-B66PcWXU.js} +5 -5
- package/dist/{widget-power-DoSfQv92.js → widget-power-yRy8897o.js} +3 -3
- package/dist/{widget-qrcode-UGcRLC56.js → widget-qrcode-DN3R8N41.js} +3 -3
- package/dist/{widget-rangelimit-CUHD__1H.js → widget-rangelimit-zWZZMPvn.js} +3 -3
- package/dist/{widget-serialnumber-CAkZR5Xl.js → widget-serialnumber-p7wB7-Bz.js} +1 -1
- package/dist/{widget-text-DtYVTThu.js → widget-text-BQO0Rf5A.js} +5 -5
- package/dist/{widget-timediff-DX_IoCMO.js → widget-timediff-C1VxWKle.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-DIhsk1I9.js +0 -4
- package/dist/seal-design-BhzgwVju.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
|
+
import { i as isSterilizationLotField, a as getSterilizationLotDisplayFields, b as isInventoryProductField, s as showDisplayAndSearchConfig, r as resolveQuickSearchConfig, I as INVENTORY_QUICK_SEARCH_FIELDS } from "./index-DLZKDd1x.js";
|
|
9
9
|
class Select extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.Select;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick, get } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, F as FIELD_TYPE,
|
|
2
|
+
import { C as ComponentTypeEnum, F as FIELD_TYPE, ay as RangeCompareOp, ax as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class DateTimepicker extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.DateTimepicker;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Textarea extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Textarea;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick, has, isEmpty, cloneDeep, get } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { A as AsyncGctOnlineComponents } from "./index-
|
|
7
|
+
import { A as AsyncGctOnlineComponents } from "./index-DLZKDd1x.js";
|
|
8
8
|
class Tr {
|
|
9
9
|
component = "tr";
|
|
10
10
|
wrapperCmpConfig({ data, parent }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as PageSizeEnum, C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { cloneDeep, has, isNil, isEmpty } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, a$ as BindCmpStyleEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class Input extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.Input;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, aD as ImageDisplayModeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
8
|
class UploadImage extends BaseComponent {
|
|
9
9
|
component = ComponentTypeEnum.UploadImage;
|
|
10
10
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DrUDJDgX.js";
|
|
9
9
|
class AutoComplete extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.AutoComplete;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
8
|
-
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-
|
|
7
|
+
import { B as BaseComponent } from "./BaseComponent-BcxRArl9.js";
|
|
8
|
+
import { g as getTraceLikeSelectProps } from "./trace-like-wrapper-DrUDJDgX.js";
|
|
9
9
|
class RdoSelect extends BaseComponent {
|
|
10
10
|
component = ComponentTypeEnum.RdoSelect;
|
|
11
11
|
wrapperCmpConfig({ data }) {
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, h } from "./index-
|
|
2
|
-
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { G, H, J, K, M, N, O, Q, U, B, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, x, a9, aa, y, ab, P, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, h } from "./index-DLZKDd1x.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js";
|
|
3
3
|
import { DataSources } from "@gct-paas/form-base";
|
|
4
4
|
export {
|
|
5
5
|
G as AiTmplEditor,
|
|
@@ -46,13 +46,15 @@ export {
|
|
|
46
46
|
aj as XlsxParser,
|
|
47
47
|
ak as calcUsedFields,
|
|
48
48
|
al as createDefaultExcelStores,
|
|
49
|
-
am as
|
|
50
|
-
an as
|
|
51
|
-
ao as
|
|
52
|
-
ap as
|
|
53
|
-
aq as
|
|
54
|
-
ar as
|
|
55
|
-
as as
|
|
56
|
-
at as
|
|
49
|
+
am as getPlacedFieldsByType,
|
|
50
|
+
an as getPlacedSealFields,
|
|
51
|
+
ao as installFormBaseModal,
|
|
52
|
+
ap as isReverseModelingEnabled,
|
|
53
|
+
aq as openVersionDiff,
|
|
54
|
+
ar as registerExcelHostComponents,
|
|
55
|
+
as as registerExcelLocale,
|
|
56
|
+
at as scanField,
|
|
57
|
+
au as setupExcel,
|
|
58
|
+
av as useCheckItem,
|
|
57
59
|
h as useModelFields
|
|
58
60
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive, inject, provide } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { p as api, F as FIELD_TYPE, I as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
class MCRender {
|
|
4
4
|
/**
|
|
5
5
|
* 提示信息
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createVNode, defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, unref, Fragment, createElementVNode, createTextVNode, toDisplayString, renderList, createBlock, createCommentVNode, ref, onMounted, resolveComponent, nextTick, watch, withCtx, withKeys, mergeProps, h, toRaw, withModifiers } from "vue";
|
|
2
2
|
import { I as Icon, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Z as FormTypeEnum, a9 as _export_sfc, aE as FormDesignEnum, p as api, K as useModal, bP as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
4
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
6
|
import "@gct-paas/form-base";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "@gct-paas/form-base";
|
|
6
6
|
import "ant-design-vue";
|
|
7
|
-
import { j as calcText } from "./index-
|
|
7
|
+
import { j as calcText } from "./index-DLZKDd1x.js";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "pagination-design",
|
|
10
10
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-
|
|
1
|
+
import { d as captureRuntimePrintSnapshot, w as waitPrintFonts, e as waitPrintImages, p as printPagesInIframe } from "./index-DLZKDd1x.js";
|
|
2
2
|
async function printRuntimeInstance(record, basicInfo, renderSnapshot, signal, options = {}) {
|
|
3
3
|
if (!record.controller) throw new Error("表单尚未完成初始化,暂时无法打印");
|
|
4
4
|
const snapshot = await record.controller.preparePrintSnapshot(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, provide, ref, onErrorCaptured, onBeforeUnmount, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import { R as RuntimeFormStateStore,
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { R as RuntimeFormStateStore, L as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-D8JTGNuH.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-BrwMeqWM.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-DLZKDd1x.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "print-snapshot-renderer",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
2
|
-
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-
|
|
2
|
+
import { B as BwipCodeTypeOptions, l as loadBwip } from "./index-DLZKDd1x.js";
|
|
3
3
|
const _hoisted_1 = ["src"];
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "qrcode-design",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dp as registerInstance, dq as createEvent, dr as getColumnByProp, ds as timeout, dt as getVisibleSourceItem, du as getColumns, dv as rowTypes, dw as GroupingRowPlugin, dx as StretchColumn, dy as isStretchPlugin, dz as AutoSizeColumnPlugin, dA as FilterPlugin, dB as ExportFilePlugin, dC as SortingPlugin, dD as ColumnMovePlugin, dE as ThemeService, dF as h, dG as Host, dH as getElement, dI as BasePlugin, dJ as reduce, dK as columnTypes, dL as debounce, dM as RESIZE_INTERVAL, dN as DimensionStore, dO as gatherTrimmedItems, dP as getColumnSizes, dQ as getItemByIndex, dR as DataStore, dS as getSourceItem, dT as getSourceItemVirtualIndexByProp, dU as getColumnType, dV as setSourceByPhysicalIndex, dW as setSourceByVirtualIndex, dX as SelectionStore, dY as cropCellToMax, dZ as nextCell, d_ as isRowType, d$ as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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-BWQDu7fq.js → revogr-attribution_7.entry-CBUFDouS.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dp as registerInstance, dF as h, dG as Host, dq as createEvent, dS as getSourceItem, dH as getElement, e4 as ColumnService, e5 as MOBILE_CLASS, e6 as SELECTION_BORDER_CLASS, e7 as getCellData, e8 as getCellEditor, e9 as getRange, ea as isRangeSingleCell, eb as codesLetter, d$ as ViewportStore, dR as DataStore, ec as calculateRowHeaderSize, ed as ROW_HEADER_TYPE, ee as getScrollbarSize, ef as FOCUS_CLASS, dQ as getItemByIndex, ds as timeout, eg as CELL_HANDLER_CLASS, dL as debounce, eh as TMP_SELECTION_BG_CLASS, dM as RESIZE_INTERVAL, ei as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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-5YnG7Mod.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-Bm1w1voP.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 { ds as timeout, dp as registerInstance, dq as createEvent, dF as h, ej as EDIT_INPUT_WR, dG as Host, dH as getElement, dL as debounce, em as DRAGG_TEXT, dS as getSourceItem, ei as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-5YnG7Mod.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 { en as PSEUDO_GROUP_ITEM, eo as GROUP_EXPANDED, ep as GROUP_DEPTH, dF as h, eq as GROUP_EXPAND_BTN, er as DATA_ROW, dS as getSourceItem, es as isGroupingColumn, et as GROUP_COLUMN_PROP, eu as getCellRaw, ev as DATA_COL, ew as CELL_CLASS, ex as Build, ey as isRowDragService, ez as DRAG_ICON_CLASS, eA as DRAGGABLE_CLASS, eB as getCellDataParsed, eC as GROUP_EXPAND_EVENT, dp as registerInstance, dq as createEvent, e4 as ColumnService, eD as isGrouping, dG as Host, dH as getElement, dQ as getItemByIndex, eE as HEADER_ROW_CLASS, eF as HEADER_ACTUAL_ROW_CLASS, eG as ROW_FOCUSED_CLASS, eH as HEADER_SORTABLE_CLASS, eI as MIN_COL_SIZE, ef as FOCUS_CLASS, eJ as FilterButton, eK as HeaderCellRenderer, eL as HEADER_CLASS } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
|
+
import { L as LocalScrollTimer, a as LocalScrollService, g as getContentSize, t as throttle } from "./throttle-Cpk1LoGk-Bm1w1voP.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-5gYct0XI.js → revogr-filter-panel.entry-CqdNtCzb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dp as registerInstance, dq as createEvent, dL as debounce, dF as h, e0 as AndOrButton, e1 as ReorderButton, e2 as TrashButton, e3 as isFilterBtn, dG as Host, dH as getElement } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
2
|
(function closest() {
|
|
3
3
|
if (!Element.prototype.matches) {
|
|
4
4
|
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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 {
|
|
2
|
-
import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
1
|
+
import { aJ, aF, u, cK, I, aK, aL, cL, au, aw, F, Y, ag, H, aE, bn, cM, av, T, cN, X, W, bo, aa, V } from "../dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.js";
|
|
2
|
+
import { O, _, S, V as V2 } from "../online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-JuGFe7ao.js";
|
|
3
3
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
4
4
|
Platform2["WEB"] = "web";
|
|
5
5
|
Platform2["MOBILE"] = "mobile";
|
|
@@ -49,41 +49,41 @@ var GctMqttTopsEnum = /* @__PURE__ */ ((GctMqttTopsEnum2) => {
|
|
|
49
49
|
return GctMqttTopsEnum2;
|
|
50
50
|
})(GctMqttTopsEnum || {});
|
|
51
51
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
aJ as ASSIGNMENTSTRATEGY_ENUM,
|
|
53
|
+
aF as BASIC_FIELD_TYPES,
|
|
54
|
+
u as BUSINESS_FIELD_TYPES,
|
|
55
55
|
ButtonOpeEnum,
|
|
56
56
|
ButtonSize,
|
|
57
57
|
ButtonStyle,
|
|
58
58
|
ButtonType,
|
|
59
59
|
ButtonType_vant,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
cK as CardControlEnum,
|
|
61
|
+
I as CreateType,
|
|
62
|
+
aK as Dependency_ENUM,
|
|
63
|
+
aL as EntityModelCategoryEnum,
|
|
64
|
+
cL as EntityModelTypeEnum,
|
|
65
|
+
au as ExpressionModeEnum,
|
|
66
|
+
aw as ExpressionTabEnum,
|
|
67
67
|
F as FIELD_TYPE,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
Y as FieldDefaultValueTypeEnum,
|
|
69
|
+
ag as FieldIconMap,
|
|
70
|
+
H as FieldTypeToJs,
|
|
71
|
+
aE as FormDesignEnum,
|
|
72
|
+
bn as FormulaRuleFieldKeyEnum,
|
|
73
73
|
GctMqttTopsEnum,
|
|
74
74
|
O as OnlineFormModelModal,
|
|
75
75
|
_ as OnlineFormModelSelect,
|
|
76
76
|
Platform,
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
cM as RecordNoGenerateEnum,
|
|
78
|
+
av as ReturnTypeEnum,
|
|
79
79
|
S as SEARCH_SEVICE,
|
|
80
80
|
SignatureTypeEnum,
|
|
81
81
|
T as TRACE_FIELD_TYPES,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
cN as TagTypeEnum,
|
|
83
|
+
X as UniqueConstraintType,
|
|
84
84
|
V2 as VersionSelect,
|
|
85
85
|
W as WAREHOUSE_FIELD_TYPES,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
bo as formulaRuleFieldDict,
|
|
87
|
+
aa as normalizeFieldType,
|
|
88
|
+
V as onlineFormMasterModelTypeEnum
|
|
89
89
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass } from "vue";
|
|
2
2
|
import { a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
3
|
-
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-
|
|
4
|
-
import {
|
|
3
|
+
import { m as useDrop, T as TransferType, h as useModelFields, o as getFieldIcon, S as SingleDrop } from "./index-DLZKDd1x.js";
|
|
4
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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 {
|
|
2
|
+
import { a9 as _export_sfc } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CxqmyuOf.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/domain/table/business/material/material-substitution/profile/field-keys.d.ts
CHANGED
|
@@ -49,29 +49,37 @@ export declare const CLEAR_ON_TARGET_MATERIAL_NO_EMPTY: readonly ["target_produc
|
|
|
49
49
|
export declare const FILL_FROM_SOURCE_PRODUCT_OPTION: readonly [{
|
|
50
50
|
readonly optionField: "material_name_";
|
|
51
51
|
readonly toField: "source_material_no_";
|
|
52
|
+
readonly name: "物料批号";
|
|
52
53
|
}, {
|
|
53
54
|
readonly optionField: "product_id_.name_";
|
|
54
55
|
readonly toField: "source_product_id_name_";
|
|
56
|
+
readonly name: "物料名称";
|
|
55
57
|
}, {
|
|
56
58
|
readonly optionField: "product_id_.code_";
|
|
57
59
|
readonly toField: "source_product_id_code_";
|
|
60
|
+
readonly name: "物料编码";
|
|
58
61
|
}, {
|
|
59
62
|
readonly optionField: "product_id_.spec_";
|
|
60
63
|
readonly toField: "source_product_id_spec_";
|
|
64
|
+
readonly name: "物料规格";
|
|
61
65
|
}, {
|
|
62
66
|
readonly optionField: "qty_consumed_";
|
|
63
67
|
readonly toField: "source_qty_consumed_";
|
|
68
|
+
readonly name: "已消耗数量";
|
|
64
69
|
}];
|
|
65
70
|
/** 替换物料批号选项 → 替换物料信息 */
|
|
66
71
|
export declare const FILL_FROM_TARGET_MATERIAL_NO_OPTION: readonly [{
|
|
67
72
|
readonly optionField: "product_id_name_";
|
|
68
73
|
readonly toField: "target_product_id_name_";
|
|
74
|
+
readonly name: "物料名称";
|
|
69
75
|
}, {
|
|
70
76
|
readonly optionField: "product_id_code_";
|
|
71
77
|
readonly toField: "target_product_id_code_";
|
|
78
|
+
readonly name: "物料编码";
|
|
72
79
|
}, {
|
|
73
80
|
readonly optionField: "product_id_spec_";
|
|
74
81
|
readonly toField: "target_product_id_spec_";
|
|
82
|
+
readonly name: "物料规格";
|
|
75
83
|
}];
|
|
76
84
|
/** SN / 工序不影响扫码结果能否复用当前空行。 */
|
|
77
85
|
export declare const SCAN_ROW_CONTENT_FIELDS: readonly ["source_material_no_", "source_product_id_", "target_material_no_", "target_product_id_"];
|
|
@@ -79,18 +87,23 @@ export declare const SCAN_ROW_CONTENT_FIELDS: readonly ["source_material_no_", "
|
|
|
79
87
|
export declare const FILL_FROM_TARGET_PRODUCT_OPTION: readonly [{
|
|
80
88
|
readonly optionField: "material_name_";
|
|
81
89
|
readonly toField: "target_material_no_";
|
|
90
|
+
readonly name: "物料批号";
|
|
82
91
|
}, {
|
|
83
92
|
readonly optionField: "product_id_.name_";
|
|
84
93
|
readonly toField: "target_product_id_name_";
|
|
94
|
+
readonly name: "物料名称";
|
|
85
95
|
}, {
|
|
86
96
|
readonly optionField: "product_id_.code_";
|
|
87
97
|
readonly toField: "target_product_id_code_";
|
|
98
|
+
readonly name: "物料编码";
|
|
88
99
|
}, {
|
|
89
100
|
readonly optionField: "product_id_.spec_";
|
|
90
101
|
readonly toField: "target_product_id_spec_";
|
|
102
|
+
readonly name: "物料规格";
|
|
91
103
|
}, {
|
|
92
104
|
readonly optionField: "qty_consumed_";
|
|
93
105
|
readonly toField: "target_qty_consumed_";
|
|
106
|
+
readonly name: "已消耗数量";
|
|
94
107
|
}];
|
|
95
108
|
/** 替换物料清空时同步清除批次、物料信息和数量。 */
|
|
96
109
|
export declare const CLEAR_ON_TARGET_PRODUCT_EMPTY: readonly ["target_material_no_", "target_material_no__id_", "target_material_no__lb_", "target_product_id_name_", "target_product_id_code_", "target_product_id_spec_", "target_qty_consumed_"];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** 备件业务表的自定义选项字段不一定存在于关联模型元数据中。 */
|
|
2
|
+
export declare const PART_OPTION_FIELD_LABELS: {
|
|
3
|
+
readonly part_name_: "备件名称";
|
|
4
|
+
readonly part_code_: "备件编码";
|
|
5
|
+
readonly specification_: "备件规格";
|
|
6
|
+
readonly unit_: "数量单位";
|
|
7
|
+
};
|
|
8
|
+
export declare const INVENTORY_OPTION_FIELD_LABELS: {
|
|
9
|
+
readonly id_: "库存记录";
|
|
10
|
+
readonly part_id_name_: "备件名称";
|
|
11
|
+
readonly part_id_code_: "备件编码";
|
|
12
|
+
readonly part_id_spec_: "备件规格";
|
|
13
|
+
readonly warehouse_id_: "仓库";
|
|
14
|
+
readonly storage_zone_id_: "库区";
|
|
15
|
+
readonly location_id_: "库位";
|
|
16
|
+
readonly uom_id_: "数量单位";
|
|
17
|
+
readonly validate_: "有效期";
|
|
18
|
+
readonly stock_num_: "库存数量";
|
|
19
|
+
};
|
|
@@ -4,6 +4,8 @@ import { AutofillTemplate } from '../types';
|
|
|
4
4
|
* @example product_id_ → product_id → product_id_name_
|
|
5
5
|
*/
|
|
6
6
|
export declare function normalizeRefFieldKey(fieldKey: string): string;
|
|
7
|
+
/** 将 AutofillTemplate 中的 toField 解析为字符串 */
|
|
8
|
+
export declare function resolveAutofillToField(template: AutofillTemplate, sourceFieldKey: string): string;
|
|
7
9
|
interface ExpandAutofillContext {
|
|
8
10
|
/** 拖入的源字段 key,如 product_id_ */
|
|
9
11
|
sourceFieldKey: string;
|
|
@@ -6,6 +6,12 @@ interface ApplyFieldProfileInput {
|
|
|
6
6
|
/** 子表 SubTableType 或业务子模型 refModelType */
|
|
7
7
|
subModelType?: string;
|
|
8
8
|
}
|
|
9
|
+
/** 设计态展示用的内置填充映射,与拖入字段时写入的模板共用一份 Profile。 */
|
|
10
|
+
export declare function getBuiltInAutofillRules(field: ApplyFieldProfileInput): {
|
|
11
|
+
fromField: string;
|
|
12
|
+
toField: string;
|
|
13
|
+
fromFieldLabel: string | undefined;
|
|
14
|
+
}[];
|
|
9
15
|
/**
|
|
10
16
|
* 按子表类型 + 字段 key 应用 Profile,返回合并后的 widget 配置片段
|
|
11
17
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { getBusinessRibbonMenuGroups, getDataRibbonMenuItems } from './design/ribbon-options';
|
|
2
2
|
export { resolveSubTableCreate, resolvePanelTypeByTableType } from './design/create-subtable';
|
|
3
|
-
export { applyFieldProfileOnAttach } from './design/hooks/on-field-attach';
|
|
3
|
+
export { applyFieldProfileOnAttach, getBuiltInAutofillRules } from './design/hooks/on-field-attach';
|
|
4
4
|
export { SUB_TABLE_PANEL_TYPE_NAME, isDynamicSubTablePanelType, isFixedSubTablePanelType, isRepeatingSubTablePanelType, } from './design/panel-type';
|
|
5
5
|
export { resolveDesignPanelFeatures, BIZ_TABLE_CONFIG_SEED_TYPES } from './design/panel-features';
|
|
6
6
|
export { resolveTableLabelKey } from './design/label';
|
|
@@ -44,6 +44,8 @@ export interface ContextAssignmentDef {
|
|
|
44
44
|
/** 数据填充模板:拖入关联字段时展开为 autofillRules(设计态消费) */
|
|
45
45
|
export interface AutofillTemplate {
|
|
46
46
|
fromField: string;
|
|
47
|
+
/** 自定义选项数据源中的字段名称;设计态展示内置规则时使用 */
|
|
48
|
+
fromFieldLabel?: string;
|
|
47
49
|
toField: string | ((ctx: {
|
|
48
50
|
sourceFieldKey: string;
|
|
49
51
|
}) => string);
|
package/dist/src/index.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export { calcUsedFields, isReverseModelingEnabled, FieldSceneType, scanField, }
|
|
|
19
19
|
export { FIELD_TYPE_LABEL_MAP, FieldTypeToCellWidgetMap, } from './online-form/src/views/designer/constants';
|
|
20
20
|
export { XlsxParser } from './online-form/src/views/designer/utils/xlsx-parser';
|
|
21
21
|
export { DomParser } from './online-form/src/views/designer/utils/dom-parser';
|
|
22
|
+
export { getPlacedFieldsByType, getPlacedSealFields, } from './online-form/src/views/designer/utils/template-placed-fields';
|
|
23
|
+
export type { PlacedFormField } from './online-form/src/views/designer/utils/placed-fields';
|
|
22
24
|
export { VersionSelect } from './shared/components/version-select';
|
|
23
25
|
export { OnlineFormModelSelect, OnlineFormModelModal, } from './shared/components/online-form-model-select';
|
|
24
26
|
export { openVersionDiff, VersionDiffPreviewRouter, } from './online-form/src/components/version-diff';
|
|
@@ -3,6 +3,7 @@ import { SubTableActionEnum } from '../../components/document-sub-table-action';
|
|
|
3
3
|
import { IDefaultValueMap, IFieldStatus, IRuntimeSubTableCtx } from '../types';
|
|
4
4
|
import { TdHandler } from '../utils/td-handler';
|
|
5
5
|
import { SubTableCoreFactory } from '../factory/sub-table-factory';
|
|
6
|
+
import { ScanRecordPickerOptions } from '../../types/render/sub-table-render';
|
|
6
7
|
import { FormModelController } from '../../hooks/form-model';
|
|
7
8
|
import { RefCustomLoader } from '../../interface/ref-loader';
|
|
8
9
|
/**
|
|
@@ -188,7 +189,7 @@ export declare class SubTableCore {
|
|
|
188
189
|
/**
|
|
189
190
|
* 扫码多条候选时选择一行(1 条自动选中)
|
|
190
191
|
*/
|
|
191
|
-
protected pickScanRecord(records: Record<string, unknown>[]): Promise<Record<string, unknown> | undefined>;
|
|
192
|
+
protected pickScanRecord(records: Record<string, unknown>[], options?: ScanRecordPickerOptions): Promise<Record<string, unknown> | undefined>;
|
|
192
193
|
/**
|
|
193
194
|
* 处理扫码弹窗回调
|
|
194
195
|
* 参数由扫码弹窗决定
|