@gct-paas/excel 0.1.48-beta.0 → 0.1.49
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/README.md +4 -3
- package/dist/AntdIcon-DCIaV352.js +1108 -0
- package/dist/{BaseComponent-CuX5xLFK.js → BaseComponent-BujOt502.js} +3 -4
- package/dist/{VueVideoPlayer-CBBB12Hj.js → VueVideoPlayer-B8GR2HPo.js} +2 -2
- package/dist/{align-editor-Df9gS31T.js → align-editor--BUxJjPg.js} +1 -1
- package/dist/{barcode-design-B34-4xJ9.js → barcode-design-DGX6Ol4t.js} +2 -3
- package/dist/base/index.es.js +228 -519
- package/dist/{diagonal-design-D0HXMI8w.js → diagonal-design-oiPfvxr7.js} +2 -3
- package/dist/{dynamic-table-action-9sxv3gW5.js → dynamic-table-action-Bhkrp7KE.js} +353 -460
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_8710052f_lang-YSIO0k9J.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js} +597 -2298
- package/dist/{edit.utils-CXmmCnxE-0uJiCs33.js → edit.utils-CXmmCnxE-BXlWf2Zf.js} +1 -1
- package/dist/excel.css +723 -611
- package/dist/{exceljs.min-Doeyz39_.js → exceljs.min-Ta0dJQqu.js} +2 -2
- package/dist/{font-editor-B8A9tDhO.js → font-editor-Dmj2hu7T.js} +3 -3
- package/dist/{image-design-CVyCbbef.js → image-design-C3yJcthI.js} +8 -3
- package/dist/{index-Bb3Ugl3c.js → index-1kD3Vcrg.js} +2 -3
- package/dist/{index-DA7GAWZ1.js → index-B0Qf1-mt.js} +3 -4
- package/dist/{index-ucaRXWE8.js → index-B2VHOqo4.js} +2 -3
- package/dist/{index-D_hAd0MQ.js → index-B4ZpSIPH.js} +3 -4
- package/dist/{index-CMmaJ4Ss.js → index-B4hIBKZ6.js} +2 -3
- package/dist/index-B6csmYLK.js +4353 -0
- package/dist/{index-R95URjcc.js → index-BDr7t7vL.js} +1 -2
- package/dist/{index-D0VBKmKt.js → index-BEEhGWk7.js} +2 -3
- package/dist/{index-CS1tP-l0.js → index-BOMuRlHQ.js} +2 -3
- package/dist/{index-FCg2Jzvu.js → index-Bd15pfRH.js} +1 -2
- package/dist/{index-Uy8bXkuC.js → index-BlCF32GJ.js} +3 -4
- package/dist/{index-hDsTasdu.js → index-BtAlyN0W.js} +2 -3
- package/dist/{index-CDObWZ7G.js → index-BwuwoFQQ.js} +2 -3
- package/dist/{index-TeozNhWH.js → index-C4SreE7Q.js} +2 -3
- package/dist/{index-B7Yt5TSq.js → index-C6WDE2xc.js} +1 -2
- package/dist/{index-dUCz8OdV.js → index-CEYSrHod.js} +2 -3
- package/dist/{index-CzztJ4fH.js → index-CMN1t7G7.js} +3 -4
- package/dist/{index-BLJdXkdZ.js → index-CUTV5Yr2.js} +4 -5
- package/dist/{index-BwyHByzZ.js → index-CZo7qVZK.js} +1 -2
- package/dist/{index-DKKIL32g.js → index-CaLRSpkL.js} +2 -3
- package/dist/{index-BOO2K9Vu.js → index-D9lmC_sX.js} +3 -4
- package/dist/{index-Bj2qRb0q.js → index-DBSvao2o.js} +1 -2
- package/dist/{index-DMVIENZW.js → index-DF8n1Gru.js} +3 -4
- package/dist/{index-DuuvFB0e.js → index-DLTES9Zq.js} +2 -3
- package/dist/{index-CGU3uK4z.js → index-DMAuxwlt.js} +1 -2
- package/dist/{index-XE84LVO7.js → index-DQC7zJRO.js} +1 -2
- package/dist/{index-RG23XjoT.js → index-DRKCOV3w.js} +1 -2
- package/dist/{index-VrLq9hAc.js → index-DdOpcuy6.js} +3736 -8994
- package/dist/{index-vEZ4Yr2u.js → index-GIYmXP7h.js} +2 -3
- package/dist/{index-CNmwpU3G.js → index-IOqBW_eS.js} +3 -7
- package/dist/{index-PSQkEXxq.js → index-KQqw3i9h.js} +2 -3
- package/dist/{index-7VROqGqR.js → index-L7CRRS4N.js} +2 -3
- package/dist/{index-B3hu8heh.js → index-OwTnsnnd.js} +2 -3
- package/dist/{index-Cn_bmfoD.js → index-UnwowxL3.js} +1 -2
- package/dist/{index-DU4dWvY6.js → index-wKwGHLnP.js} +1 -2
- package/dist/index.es.js +46 -52
- package/dist/mb-render-CQlqaMrC.js +276 -0
- package/dist/{online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-ApLSXGFP.js → online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-219qzsVL.js} +3 -27
- package/dist/{pagination-design-B5DxwV5F.js → pagination-design-CNML3qGx.js} +2 -3
- package/dist/paper-widget-design-B8WyX87-.js +4 -0
- package/dist/{print-runtime-instance-BDM-anCd.js → print-runtime-instance-DKR1MX8-.js} +1 -1
- package/dist/{print-snapshot-renderer-kB1Bw7A_.js → print-snapshot-renderer-BIWDQkSC.js} +3 -3
- package/dist/{qrcode-design-bN48s3rk.js → qrcode-design-CUQ4gaJ0.js} +1 -1
- package/dist/{revo-grid.entry-BXEGtAbW.js → revo-grid.entry-Be5Mx_h7.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CImeTxBl.js → revogr-attribution_7.entry-DmJFrubR.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-DqcrJ6zB.js → revogr-clipboard_3.entry-COcvqK0w.js} +2 -2
- package/dist/{revogr-data_4.entry-Ccdsy3nO.js → revogr-data_4.entry-Dc4luGHv.js} +2 -2
- package/dist/{revogr-filter-panel.entry-B2xM2jvB.js → revogr-filter-panel.entry-B1l-ouo-.js} +1 -1
- package/dist/seal-design-Q8W8Umib.js +4 -0
- package/dist/{serialnumber-design-BGTOIn2S.js → serialnumber-design-hcI8TwmS.js} +1 -1
- package/dist/shared/index.es.js +28 -29
- package/dist/{single-field-drop-b2b71HAk.js → single-field-drop-CnuMgeEW.js} +3 -2
- package/dist/{size-editor-DtX2f2CF.js → size-editor-D4ZNlV-c.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +1 -1
- package/dist/src/adapter/index.d.ts +0 -2
- package/dist/src/domain/table/business/material/material-substitution/profile/field-keys.d.ts +1 -37
- package/dist/src/domain/table/business/material/material-substitution/runtime/row-change-handlers.d.ts +0 -7
- package/dist/src/domain/table/design/autofill-expander.d.ts +0 -2
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +0 -6
- package/dist/src/domain/table/index.d.ts +1 -1
- package/dist/src/domain/table/types.d.ts +0 -2
- package/dist/src/index.d.ts +0 -8
- package/dist/src/nocode-base/src/components/document-sub-table-action/dynamic-table-action.vue.d.ts +2 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/sub-table-action.vue.d.ts +3 -0
- package/dist/src/nocode-base/src/components/document-sub-table-action/type.d.ts +4 -0
- package/dist/src/nocode-base/src/components/material-consume/types.d.ts +5 -1
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +4 -4
- package/dist/src/nocode-base/src/core/sub-table/sub-table-core.d.ts +4 -1
- package/dist/src/nocode-base/src/core/sub-table/utils/sterilize/field-keys.d.ts +2 -1
- package/dist/src/nocode-base/src/hooks/material-consume/material-consume-table-controller.d.ts +6 -0
- package/dist/src/nocode-base/src/hooks/material-consume/mc-render.d.ts +28 -1
- package/dist/src/nocode-base/src/hooks/render-page/initialize-runtime.d.ts +8 -9
- package/dist/src/nocode-base/src/hooks/render-page/types.d.ts +1 -7
- package/dist/src/nocode-base/src/hooks/useCalcFunction.d.ts +2 -8
- package/dist/src/nocode-base/src/hooks/useRenderPageFactory.d.ts +6 -55
- package/dist/src/nocode-base/src/hooks/useRuntimeInstanceServices.d.ts +0 -24
- package/dist/src/nocode-base/src/interface/ref-loader.d.ts +1 -12
- package/dist/src/nocode-base/src/interface/render.d.ts +1 -2
- package/dist/src/nocode-base/src/interface/transform.d.ts +0 -3
- package/dist/src/nocode-base/src/runtime/conversions/v1-runtime.d.ts +1 -1
- package/dist/src/nocode-base/src/runtime/runtime-field-initializer.d.ts +0 -1
- package/dist/src/nocode-base/src/runtime/runtime-field-state.d.ts +2 -5
- package/dist/src/nocode-base/src/runtime/runtime-form-state-store.d.ts +2 -0
- package/dist/src/nocode-base/src/runtime/runtime-instance-registry.d.ts +5 -8
- package/dist/src/nocode-base/src/runtime/runtime-persistence-coordinator.d.ts +7 -2
- package/dist/src/nocode-base/src/types/common/base.d.ts +2 -8
- package/dist/src/nocode-base/src/types/render/mc-render.d.ts +15 -2
- package/dist/src/nocode-base/src/types/render/sub-table-render.d.ts +10 -0
- package/dist/src/nocode-web-render/src/components/print-fill-background-selector.vue.d.ts +2 -0
- package/dist/src/nocode-web-render/src/hooks/index.d.ts +2 -0
- package/dist/src/{shared → nocode-web-render/src}/hooks/useWebUpload.d.ts +1 -1
- package/dist/src/nocode-web-render/src/hooks/userFormPrint.d.ts +15 -0
- package/dist/src/nocode-web-render/src/index.d.ts +6 -0
- package/dist/src/nocode-web-render/src/logic/index.d.ts +1 -0
- package/dist/src/nocode-web-render/src/render/common/index.d.ts +2 -0
- package/dist/src/nocode-web-render/src/render/common/modal-manager.d.ts +20 -0
- package/dist/src/{adapter/web → nocode-web-render/src/render/common}/open-util.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/index.d.ts +10 -0
- package/dist/src/{online-form/src/views/designer/modules/panel/sub-table/comps → nocode-web-render/src/render/parse-rule}/add-rule-btn.vue.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/parse-rule/index.d.ts +3 -0
- package/dist/src/nocode-web-render/src/render/parse-rule/parse-rule-modal.vue.d.ts +15 -0
- package/dist/src/nocode-web-render/src/render/sub-table/allocate/allocate-web-render.d.ts +4 -0
- package/dist/src/nocode-web-render/src/render/sub-table/allocate/index.d.ts +1 -0
- package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/common}/inventory-scan-columns.d.ts +1 -1
- package/dist/src/nocode-web-render/src/render/sub-table/common/multi-rows-modal.vue.d.ts +15 -0
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +19 -0
- package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/common}/sub-table-render.d.ts +5 -2
- package/dist/src/nocode-web-render/src/render/sub-table/index.d.ts +3 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-balance/index.d.ts +1 -0
- package/dist/src/{adapter/web → nocode-web-render/src/render/sub-table/material-balance}/material-consume-modal.vue.d.ts +1 -1
- package/dist/src/{adapter/web/material-balance-render.d.ts → nocode-web-render/src/render/sub-table/material-balance/mb-web-render.d.ts} +1 -1
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/bom-modal.vue.d.ts +11 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/index.d.ts +4 -0
- package/dist/src/nocode-web-render/src/render/sub-table/material-consume/mc-web-render.d.ts +42 -0
- package/dist/src/nocode-web-render/src/render/sub-table/stocktake/index.d.ts +2 -0
- package/dist/src/{adapter/web/stocktake-render.d.ts → nocode-web-render/src/render/sub-table/stocktake/stocktake-web-render.d.ts} +2 -2
- package/dist/src/nocode-web-render/src/types/hooks/index.d.ts +1 -0
- package/dist/src/nocode-web-render/src/types/index.d.ts +1 -0
- package/dist/src/online-form/src/components/device/device-select.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/base-vxe-table.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/default-value-rdo-editor.vue.d.ts +4 -4
- package/dist/src/online-form/src/views/__cell_widgets__/common/default-value-rdo-editor/rdo-table-dropdown.vue.d.ts +3 -3
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +0 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +0 -144
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +4 -87
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +0 -6
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/panel-check-table/select-check-ds-modal.vue.d.ts +3 -3
- package/dist/src/online-form/src/views/designer/types/index.d.ts +1 -12
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-auto-complete.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-date-picker.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-media.vue.d.ts +1 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-text-input.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/_base_/cell/cell-textarea.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-floating-field.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/seal-runtime-layer.vue.d.ts +1 -0
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/component/use-seal-stamp.d.ts +4 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/seal/index.d.ts +0 -1
- package/dist/src/online-form/src/views/render/__components__/_field_/trace/common/base-vxe-table.vue.d.ts +1 -1
- package/dist/src/shared/components/ColorPicker/src/ColorPicker.vue.d.ts +1 -1
- package/dist/src/shared/components/DoubleInput/double-input.vue.d.ts +2 -162
- package/dist/src/shared/components/Signature/logic/index.d.ts +0 -14
- package/dist/src/shared/enum/field-type.d.ts +3 -8
- package/dist/src/shared/index.d.ts +0 -1
- package/dist/src/shared/types/index.d.ts +0 -1
- package/dist/{sub-table-factory-DoEvzrVN.js → sub-table-factory-Df_Z-LYK.js} +89 -276
- package/dist/{text-design-BQVBFcI0.js → text-design-gySXbKUQ.js} +2 -3
- package/dist/{throttle-Cpk1LoGk-DR_8z9qq.js → throttle-Cpk1LoGk-DEDsjc1B.js} +1 -1
- package/dist/{timediff-design-DioTJEvx.js → timediff-design-BHLUYM_L.js} +1 -2
- package/dist/{trace-like-wrapper-CjxBkfYK.js → trace-like-wrapper-CD0q7Bpg.js} +2 -3
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-DpfdcyX_.js → value-editor.vue_vue_type_style_index_0_lang-Dp_NLPcS.js} +2 -3
- package/dist/web-render/index.d.ts +1 -0
- package/dist/web-render/index.es.js +595 -0
- package/dist/{widget-barcode-CEn3AYG0.js → widget-barcode-Dho-QBc4.js} +4 -5
- package/dist/{widget-diagonal-DbOhaNpW.js → widget-diagonal-LOzS5LGZ.js} +4 -4
- package/dist/{widget-image-BGP2w2mj.js → widget-image-CE9y7lzB.js} +7 -5
- package/dist/{widget-line-CkSPcw5A.js → widget-line-DK-tRBi0.js} +2 -3
- package/dist/{widget-pagination-BH0VtWHT.js → widget-pagination-JLrTk_QY.js} +5 -6
- package/dist/{widget-power-DuTIvdpR.js → widget-power-B136JrJ6.js} +4 -4
- package/dist/{widget-qrcode-CJJjPnwn.js → widget-qrcode-CQ79eZwR.js} +3 -4
- package/dist/{widget-rangelimit-828JH1wm.js → widget-rangelimit-DORQgXtz.js} +4 -3
- package/dist/{widget-serialnumber-CIjY3I-t.js → widget-serialnumber-BvhwTK5N.js} +1 -1
- package/dist/{widget-text-C_Ja4yWN.js → widget-text-D6au0tli.js} +5 -5
- package/dist/{widget-timediff-CjmATkLS.js → widget-timediff-C3SAIS2-.js} +2 -3
- package/package.json +6 -2
- package/dist/paper-widget-design-A55mbwYv.js +0 -4
- package/dist/seal-design-B3FBumLr.js +0 -4
- package/dist/src/adapter/web/material-consume-render.d.ts +0 -25
- package/dist/src/domain/document-business/business/product-release/profile.d.ts +0 -2
- package/dist/src/domain/document-business/business/product-release/service.d.ts +0 -2
- package/dist/src/domain/document-business/index.d.ts +0 -2
- package/dist/src/domain/document-business/registry.d.ts +0 -2
- package/dist/src/domain/document-business/runtime/field-query-runtime.d.ts +0 -4
- package/dist/src/domain/document-business/types.d.ts +0 -24
- package/dist/src/domain/field/number/product-release-qty-manifest.d.ts +0 -2
- package/dist/src/domain/field/query-filter.d.ts +0 -15
- package/dist/src/domain/table/business/material/material-substitution/runtime/select-loaders.d.ts +0 -12
- package/dist/src/domain/table/business/sterilize/entrust-steril-batch-list/profile/field-keys.d.ts +0 -2
- package/dist/src/domain/table/business/warehouse/shared/autofill-source-labels.d.ts +0 -19
- package/dist/src/nocode-base/src/hooks/formula-params-cache.d.ts +0 -15
- package/dist/src/nocode-base/src/hooks/inspection-module-qty.d.ts +0 -4
- package/dist/src/nocode-base/src/hooks/render-page/initial-value-data-sources.d.ts +0 -3
- package/dist/src/nocode-base/src/hooks/render-page/runtime-data-sources.d.ts +0 -51
- package/dist/src/nocode-base/src/hooks/render-page/sterilization-date.d.ts +0 -3
- package/dist/src/nocode-base/src/runtime/designer-default-values.d.ts +0 -23
- package/dist/src/nocode-base/src/runtime/runtime-default-value-validation.d.ts +0 -23
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/message-rule-config/rule-modal.vue.d.ts +0 -32
- package/dist/src/online-form/src/views/designer/utils/placed-fields.d.ts +0 -9
- package/dist/src/online-form/src/views/designer/utils/template-placed-fields.d.ts +0 -7
- package/dist/src/shared/components/LimitedNumberInput/limited-number-input.vue.d.ts +0 -41
- package/dist/src/shared/components/LimitedNumberInput/number-input-rules.d.ts +0 -16
- package/dist/src/shared/types/upload.d.ts +0 -11
- package/dist/src/shared/utils/withRequestCache.d.ts +0 -27
- /package/dist/src/{adapter/web/setup.d.ts → nocode-web-render/src/adapter/index.d.ts} +0 -0
- /package/dist/src/{adapter/web/upload.d.ts → nocode-web-render/src/logic/utils.d.ts} +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BujOt502.js";
|
|
8
7
|
class Diagonal extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.Diagonal;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, o as PaperWidgeType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import "ant-design-vue";
|
|
8
|
-
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-
|
|
7
|
+
import { n as normalizeSpacerWidth, g as getFieldWidget } from "./index-DdOpcuy6.js";
|
|
9
8
|
class CombineFields {
|
|
10
9
|
component = ComponentTypeEnum.CombineFields;
|
|
11
10
|
wrapperCmpConfig({ data }) {
|
|
12
|
-
const mode = data.style?.writingMode;
|
|
13
11
|
const cmp = {
|
|
14
12
|
props: {
|
|
15
13
|
fields: []
|
|
16
14
|
},
|
|
17
15
|
style: {
|
|
18
|
-
...pick(data.style ?? {}, fontStyleAttrs)
|
|
19
|
-
// 用独立变量传递方向,避免触发公共竖排样式,改变整组控件的宽度和布局。
|
|
20
|
-
"--composite-text-writing-mode": mode && mode !== "unset" ? mode : "horizontal-tb"
|
|
16
|
+
...pick(data.style ?? {}, fontStyleAttrs)
|
|
21
17
|
}
|
|
22
18
|
};
|
|
23
19
|
data.fieldInfos.forEach((fieldInfo) => {
|
|
@@ -1,10 +1,9 @@
|
|
|
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, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BujOt502.js";
|
|
8
7
|
class DateTimepicker extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.DateTimepicker;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { get } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum, O as Orientation,
|
|
2
|
+
import { C as ComponentTypeEnum, O as Orientation, a0 as BooleanShowMode, $ as LabelPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BujOt502.js";
|
|
8
7
|
class DynValue extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.DynValue;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { has, get, pick } from "lodash-es";
|
|
2
|
-
import { C as ComponentTypeEnum,
|
|
2
|
+
import { C as ComponentTypeEnum, ay as DecimalDisplayMode, au as RangeCompareOp, at as RangeValidateMode } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { B as BaseComponent } from "./BaseComponent-
|
|
6
|
+
import { B as BaseComponent } from "./BaseComponent-BujOt502.js";
|
|
8
7
|
class InputDouble extends BaseComponent {
|
|
9
8
|
component = ComponentTypeEnum.InputDouble;
|
|
10
9
|
wrapperCmpConfig({ data }) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.
|
|
1
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import { pick } from "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
6
|
class Line {
|
|
8
7
|
component = ComponentTypeEnum.Line;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { f as fontStyleAttrs } from "./config.enum-B8UZQTON.js";
|
|
2
|
-
import { C as ComponentTypeEnum } from "./dynamic-table-action.
|
|
2
|
+
import { C as ComponentTypeEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import { pick } from "lodash-es";
|
|
5
5
|
import "dayjs";
|
|
6
|
-
import "@gct-paas/form-base";
|
|
7
6
|
import "ant-design-vue";
|
|
8
7
|
class Serialnumber {
|
|
9
8
|
component = ComponentTypeEnum.Serialnumber;
|
package/dist/index.es.js
CHANGED
|
@@ -1,62 +1,56 @@
|
|
|
1
|
-
import { H, J, K, M, N, O, Q, U,
|
|
2
|
-
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-
|
|
3
|
-
import { DataSources } from "@gct-paas/form-base";
|
|
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-DdOpcuy6.js";
|
|
2
|
+
import { O as O2, _, V } from "./online-form-model-select.vue_vue_type_script_setup_true_name_online-form-model-select_lang-219qzsVL.js";
|
|
4
3
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
G as AiTmplEditor,
|
|
5
|
+
H as AiTmplModal,
|
|
6
|
+
J as ApaasCollect,
|
|
7
|
+
K as ApaasCollectSheetView,
|
|
8
|
+
M as ApaasDpPrint,
|
|
9
|
+
N as ApaasDpPrintSheetView,
|
|
10
|
+
O as BomEditorModal,
|
|
11
|
+
Q as BorderPositionEnum,
|
|
12
|
+
U as BorderPositionOptions,
|
|
14
13
|
B as BwipCodeTypeOptions,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
a0 as
|
|
21
|
-
a1 as
|
|
22
|
-
a2 as
|
|
23
|
-
a3 as
|
|
24
|
-
a4 as
|
|
25
|
-
a5 as
|
|
26
|
-
a6 as
|
|
27
|
-
a7 as
|
|
28
|
-
a8 as
|
|
29
|
-
a9 as InputParamModal,
|
|
14
|
+
W as CellWidgetCategory,
|
|
15
|
+
X as CellWidgetRenderComp,
|
|
16
|
+
Y as CodeHelper,
|
|
17
|
+
Z as ContextMenu,
|
|
18
|
+
$ as DesignMode,
|
|
19
|
+
a0 as DomParser,
|
|
20
|
+
a1 as EXCEL_PACKAGE_NAME,
|
|
21
|
+
a2 as ExcelHostComponentNames,
|
|
22
|
+
a3 as FIELD_TYPE_LABEL_MAP,
|
|
23
|
+
a4 as FieldSceneType,
|
|
24
|
+
a5 as FieldTypeToCellWidgetMap,
|
|
25
|
+
a6 as FontFamilyEnum,
|
|
26
|
+
a7 as FontFamilyOptions,
|
|
27
|
+
a8 as InputParamModal,
|
|
30
28
|
x as LineStyleOptions,
|
|
31
|
-
|
|
29
|
+
a9 as NocodeAdapter,
|
|
32
30
|
O2 as OnlineFormModelModal,
|
|
33
31
|
_ as OnlineFormModelSelect,
|
|
34
|
-
|
|
32
|
+
aa as OutParamModal,
|
|
35
33
|
y as PaginationFormatOptions,
|
|
36
|
-
|
|
34
|
+
ab as PanelTmplConfig,
|
|
37
35
|
P as PanelType,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
ac as PreviewContainer,
|
|
37
|
+
ad as RangeLimitType,
|
|
38
|
+
ae as RenderFieldWrapper,
|
|
39
|
+
af as ResizeDirection,
|
|
40
|
+
ag as SelectCheckDsModal,
|
|
41
|
+
ah as SignatureConfigModal,
|
|
42
|
+
ai as VersionDiffPreviewRouter,
|
|
45
43
|
V as VersionSelect,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
av as registerExcelLocale,
|
|
58
|
-
aw as scanField,
|
|
59
|
-
ax as setupExcel,
|
|
60
|
-
ay as useCheckItem,
|
|
44
|
+
aj as XlsxParser,
|
|
45
|
+
ak as calcUsedFields,
|
|
46
|
+
al as createDefaultExcelStores,
|
|
47
|
+
am as installFormBaseModal,
|
|
48
|
+
an as isReverseModelingEnabled,
|
|
49
|
+
ao as openVersionDiff,
|
|
50
|
+
ap as registerExcelHostComponents,
|
|
51
|
+
aq as registerExcelLocale,
|
|
52
|
+
ar as scanField,
|
|
53
|
+
as as setupExcel,
|
|
54
|
+
at as useCheckItem,
|
|
61
55
|
h as useModelFields
|
|
62
56
|
};
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { reactive, inject, provide } from "vue";
|
|
2
|
+
import { E as api, F as FIELD_TYPE, H as CreateType } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
|
+
class MCRender {
|
|
4
|
+
/**
|
|
5
|
+
* 提示信息
|
|
6
|
+
* @param opts
|
|
7
|
+
*/
|
|
8
|
+
message(opts) {
|
|
9
|
+
throw new Error("Function message not implemented.");
|
|
10
|
+
}
|
|
11
|
+
/** 每个表单实例独立维护 BOM 弹层参数。 */
|
|
12
|
+
bomModalProps = /* @__PURE__ */ new Map();
|
|
13
|
+
async openScanModal(opts) {
|
|
14
|
+
throw new Error("Function openScanModal not implemented.");
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 实际打开UIModal的函数
|
|
18
|
+
*/
|
|
19
|
+
async _openBomModal(reactiveOpts) {
|
|
20
|
+
}
|
|
21
|
+
// 同一实例重复打开时更新已有弹层,不同实例则允许各自持有独立弹层状态。
|
|
22
|
+
async openBomModal(opts) {
|
|
23
|
+
const ownerId = opts.ownerId;
|
|
24
|
+
if (!ownerId) throw new Error("打开 BOM 弹层缺少运行时实例标识");
|
|
25
|
+
const current = this.bomModalProps.get(ownerId);
|
|
26
|
+
if (current) {
|
|
27
|
+
Object.assign(current, opts);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const modalProps = reactive(opts);
|
|
31
|
+
this.bomModalProps.set(ownerId, modalProps);
|
|
32
|
+
try {
|
|
33
|
+
await this._openBomModal(modalProps);
|
|
34
|
+
} finally {
|
|
35
|
+
this.bomModalProps.delete(ownerId);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* 打开修改条码解析规则的modal
|
|
40
|
+
* 返回空或者修改后的规则字段id
|
|
41
|
+
* @param opts \
|
|
42
|
+
* - config 回显用的配置对象
|
|
43
|
+
* @return {*}
|
|
44
|
+
*/
|
|
45
|
+
async openChangeRuleModal(opts) {
|
|
46
|
+
throw new Error("Function openChangeRuleModal not implemented.");
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 扫码返回多条候选时,弹窗选择其中一条
|
|
50
|
+
* 取消返回 undefined
|
|
51
|
+
*/
|
|
52
|
+
async openMultiRowsModal(opts) {
|
|
53
|
+
throw new Error("Function openMultiRowsModal not implemented.");
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* 销毁所有固定的模态
|
|
57
|
+
*/
|
|
58
|
+
// overlay 弹层按实例销毁;form-base 弹层通过其全局关闭接口清理。
|
|
59
|
+
destroyAllModals(_ownerId) {
|
|
60
|
+
throw new Error("Function destroyAllModals not implemented.");
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
class BaseFormModelFetcher {
|
|
64
|
+
/** 默认接口 */
|
|
65
|
+
apis = {
|
|
66
|
+
getFieldMetaList: api.apaas.fieldMeta.getList,
|
|
67
|
+
getModelMetaSubModelList: api.apaas.modelComprehensive.getSubModelList,
|
|
68
|
+
getModelDetail2FieldList: api.apaas.modelMeta.getDetail
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* 模型映射缓存
|
|
72
|
+
*/
|
|
73
|
+
modelMetaMap = {};
|
|
74
|
+
async load(opts) {
|
|
75
|
+
const { model } = opts;
|
|
76
|
+
this.modelMetaMap = {};
|
|
77
|
+
await this.loadModelFields(model);
|
|
78
|
+
await this.loadSubModelsFields(model);
|
|
79
|
+
return Object.values(this.modelMetaMap);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* 补全字段信息
|
|
83
|
+
* @param modelKey 字段所属的模型
|
|
84
|
+
* @param [fields=[]]
|
|
85
|
+
* @return {*}
|
|
86
|
+
*/
|
|
87
|
+
completeFields(modelKey, fields = []) {
|
|
88
|
+
return fields.map((field) => {
|
|
89
|
+
if (!field.modelKey) {
|
|
90
|
+
field.modelKey = modelKey;
|
|
91
|
+
}
|
|
92
|
+
return field;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* 根据模型key加载模型字段
|
|
97
|
+
*
|
|
98
|
+
* @param [modelKey=this.model]
|
|
99
|
+
* @return {*}
|
|
100
|
+
*/
|
|
101
|
+
async loadModelFields(modelKey) {
|
|
102
|
+
if (typeof this.apis.getFieldMetaList !== "function") {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
const res = await this.apis.getFieldMetaList({
|
|
106
|
+
modelKey
|
|
107
|
+
});
|
|
108
|
+
this.modelMetaMap[modelKey] = {
|
|
109
|
+
key: modelKey,
|
|
110
|
+
name: "",
|
|
111
|
+
fields: this.completeFields(modelKey, res)
|
|
112
|
+
};
|
|
113
|
+
return res;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* 加载表单所有子表字段对应模型的字段信息集合
|
|
117
|
+
*/
|
|
118
|
+
async loadSubModelsFields(modelKey) {
|
|
119
|
+
const res = await this.apis.getModelMetaSubModelList({
|
|
120
|
+
modelKey
|
|
121
|
+
});
|
|
122
|
+
(res ?? []).forEach((m) => {
|
|
123
|
+
if (!this.modelMetaMap[m.key]) {
|
|
124
|
+
this.modelMetaMap[m.key] = {
|
|
125
|
+
key: m.key,
|
|
126
|
+
name: m.name,
|
|
127
|
+
subModel: m.subModel,
|
|
128
|
+
fields: this.completeFields(m.key, m.fieldMetaList)
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
class FormModelController {
|
|
135
|
+
/** 主模型的key */
|
|
136
|
+
masterModelKey;
|
|
137
|
+
/** 主模型的名称 */
|
|
138
|
+
masterModelName;
|
|
139
|
+
/** 模型请求器 */
|
|
140
|
+
fetcher = new BaseFormModelFetcher();
|
|
141
|
+
/** 模型映射缓存 */
|
|
142
|
+
modelMetaMap = reactive({});
|
|
143
|
+
/** 主模型信息 */
|
|
144
|
+
get masterModel() {
|
|
145
|
+
return this.modelMetaMap[this.masterModelKey];
|
|
146
|
+
}
|
|
147
|
+
/** 获取主模型字段集合 */
|
|
148
|
+
get masterFields() {
|
|
149
|
+
return this.masterModel?.fields;
|
|
150
|
+
}
|
|
151
|
+
/** 获取子模型 */
|
|
152
|
+
getSubModel(subModelKey) {
|
|
153
|
+
return this.modelMetaMap[subModelKey];
|
|
154
|
+
}
|
|
155
|
+
/** 获取子模型字段集合 */
|
|
156
|
+
getSubModelFields(subModelKey) {
|
|
157
|
+
return this.getSubModel(subModelKey)?.fields;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* 表单字段下拉选项(排除系统字段和子表字段)
|
|
161
|
+
* value 格式为 modelKey.fieldKey,与字段映射存储格式一致
|
|
162
|
+
*/
|
|
163
|
+
getFormFieldOptions(subModelKey) {
|
|
164
|
+
const fields = subModelKey ? this.getSubModelFields(subModelKey) : this.masterModel?.fields;
|
|
165
|
+
return (fields ?? []).filter(
|
|
166
|
+
(field) => !this.isSystemField(field) && !this.isSubField(field) && !this.isObjectField(field)
|
|
167
|
+
).map((field) => ({
|
|
168
|
+
...field,
|
|
169
|
+
label: `${field.name}`,
|
|
170
|
+
value: `${field.modelKey}.${field.key}`
|
|
171
|
+
}));
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* 初始化
|
|
175
|
+
*
|
|
176
|
+
* @param opts
|
|
177
|
+
* - model 主模型key
|
|
178
|
+
* - name 主模型名称
|
|
179
|
+
*/
|
|
180
|
+
async init(opts) {
|
|
181
|
+
this.masterModelKey = opts.model;
|
|
182
|
+
this.masterModelName = opts.name;
|
|
183
|
+
await this.load();
|
|
184
|
+
}
|
|
185
|
+
/** 刷新数据 */
|
|
186
|
+
async refresh() {
|
|
187
|
+
await this.load();
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* 加载数据并填充到modelMetaMap中
|
|
191
|
+
* @protected
|
|
192
|
+
* @return {*}
|
|
193
|
+
*/
|
|
194
|
+
async load() {
|
|
195
|
+
if (!this.masterModelKey) {
|
|
196
|
+
console.error("缺少主模型的key");
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
const models = await this.fetcher.load({ model: this.masterModelKey });
|
|
200
|
+
this.modelMetaMap = models.reduce((acc, cur) => {
|
|
201
|
+
acc[cur.key] = cur;
|
|
202
|
+
if (cur.key === this.masterModelKey) {
|
|
203
|
+
cur.name = this.masterModelName;
|
|
204
|
+
}
|
|
205
|
+
return acc;
|
|
206
|
+
}, {});
|
|
207
|
+
}
|
|
208
|
+
/** 是否是子模型字段 */
|
|
209
|
+
isSubField(field) {
|
|
210
|
+
return field.type === FIELD_TYPE.MASTERSLAVE && field.bindInfo;
|
|
211
|
+
}
|
|
212
|
+
/** 是否是预置字段,包括系统字段和业务内置字段 */
|
|
213
|
+
isPresetField(field) {
|
|
214
|
+
return [CreateType.BUILTIN, CreateType.SYSTEM].includes(field.createType);
|
|
215
|
+
}
|
|
216
|
+
/** 是否是系统字段 */
|
|
217
|
+
isSystemField(field) {
|
|
218
|
+
return field.createType === CreateType.SYSTEM;
|
|
219
|
+
}
|
|
220
|
+
/** 是否是对象字段类型 */
|
|
221
|
+
isObjectField(field) {
|
|
222
|
+
return field.type === FIELD_TYPE.OBJECT_TYPE;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* 获取主模型里子表字段对应的子模型key
|
|
226
|
+
*
|
|
227
|
+
* @param fieldKey 子表字段在主表里的字段key
|
|
228
|
+
* @return {*}
|
|
229
|
+
*/
|
|
230
|
+
getSubFieldModelKey(fieldKey) {
|
|
231
|
+
return this.masterFields.find((field) => field.key === fieldKey)?.bindInfo;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* 获取字段信息
|
|
235
|
+
* @param [modelKey=this.masterModelKey] 模型key
|
|
236
|
+
* @param fieldKey 字段key
|
|
237
|
+
* @return {*}
|
|
238
|
+
*/
|
|
239
|
+
findField(modelKey = this.masterModelKey, fieldKey) {
|
|
240
|
+
const model = this.modelMetaMap[modelKey];
|
|
241
|
+
if (!model) {
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
return model.fields.find((field) => field.key === fieldKey);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
const FormModelControllerKey = "GctFormModelController";
|
|
248
|
+
function useFormModel() {
|
|
249
|
+
function provideController(c = new FormModelController()) {
|
|
250
|
+
provide(FormModelControllerKey, c);
|
|
251
|
+
return c;
|
|
252
|
+
}
|
|
253
|
+
function injectController() {
|
|
254
|
+
return inject(FormModelControllerKey);
|
|
255
|
+
}
|
|
256
|
+
return {
|
|
257
|
+
provideController,
|
|
258
|
+
injectController
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
class MBRender {
|
|
262
|
+
// 多 Sheet / 同屏场景用 ownerId 隔离实例;基类仅声明宿主需要实现的能力。
|
|
263
|
+
async openConsumeModal(_ownerId, _data) {
|
|
264
|
+
throw new Error("Function openConsumeModal not implemented.");
|
|
265
|
+
}
|
|
266
|
+
destoryConsumeModal(_ownerId) {
|
|
267
|
+
throw new Error("Function destoryConsumeModal not implemented.");
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
export {
|
|
271
|
+
BaseFormModelFetcher as B,
|
|
272
|
+
FormModelController as F,
|
|
273
|
+
MBRender as M,
|
|
274
|
+
MCRender as a,
|
|
275
|
+
useFormModel as u
|
|
276
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
-
import { I as Icon,
|
|
2
|
+
import { I as Icon, a as useNamespace } from "./AntdIcon-DCIaV352.js";
|
|
3
|
+
import { X as FormTypeEnum, a7 as _export_sfc, aA as FormDesignEnum, E as api, J as useModal, bE as ControlStatusEnum } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
4
|
import { isArray, cloneDeep, orderBy } from "lodash-es";
|
|
4
5
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
6
|
import { Form } from "ant-design-vue";
|
|
7
7
|
import { VxeTable, VxeColumn } from "vxe-table";
|
|
8
8
|
var ProductTypeEnum = /* @__PURE__ */ ((ProductTypeEnum2) => {
|
|
@@ -76,29 +76,6 @@ var CloseOutlined = function CloseOutlined2(props, context) {
|
|
|
76
76
|
};
|
|
77
77
|
CloseOutlined.displayName = "CloseOutlined";
|
|
78
78
|
CloseOutlined.inheritAttrs = false;
|
|
79
|
-
const uploadApis = {
|
|
80
|
-
upload: null,
|
|
81
|
-
transfer: (filename) => filename
|
|
82
|
-
};
|
|
83
|
-
function useWebUpload() {
|
|
84
|
-
async function upload(file, opts) {
|
|
85
|
-
if (!uploadApis.upload) return;
|
|
86
|
-
const path = await uploadApis.upload(file, opts);
|
|
87
|
-
return path;
|
|
88
|
-
}
|
|
89
|
-
function transfer(filename) {
|
|
90
|
-
if (!uploadApis.transfer) return "";
|
|
91
|
-
return uploadApis.transfer(filename);
|
|
92
|
-
}
|
|
93
|
-
async function setUploadApis(opts) {
|
|
94
|
-
Object.assign(uploadApis, opts);
|
|
95
|
-
}
|
|
96
|
-
return {
|
|
97
|
-
upload,
|
|
98
|
-
transfer,
|
|
99
|
-
setUploadApis
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
79
|
const ViewOnlineForm = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23232;&%23167;&%23134;&%23229;&%23155;&%23190;%201'%3e%3cpath%20id='Vector'%20d='M12.5532%2011.9548C13.234%2011.9473%2013.9043%2012.1363%2014.4943%2012.5022C15.0843%2012.8681%2015.5725%2013.3975%2015.9082%2014.0354C15.5663%2014.668%2015.0763%2015.1929%2014.4872%2015.5577C13.898%2015.9226%2013.2302%2016.1146%2012.5506%2016.1146C11.871%2016.1146%2011.2032%2015.9226%2010.6141%2015.5577C10.0249%2015.1929%209.5349%2014.668%209.19303%2014.0354C9.52966%2013.3971%2010.0188%2012.8676%2010.6097%2012.5017C11.2006%2012.1358%2011.8717%2011.947%2012.5532%2011.9548ZM15.6646%201.88477C15.7977%201.88477%2015.9254%201.94172%2016.0196%202.0431C16.1137%202.14448%2016.1666%202.28198%2016.1666%202.42536V10.3904C16.1678%2010.4609%2016.1559%2010.5309%2016.1317%2010.5963C16.1075%2010.6618%2016.0714%2010.7214%2016.0256%2010.7718C15.9797%2010.8221%2015.9251%2010.8621%2015.8647%2010.8894C15.8044%2010.9167%2015.7397%2010.9309%2015.6742%2010.931H8.16899V15.3469C8.1688%2015.4292%208.15119%2015.5103%208.11751%2015.5842C8.08384%2015.6581%208.03497%2015.7227%207.97463%2015.7732C7.91429%2015.8237%207.84407%2015.8587%207.76928%2015.8755C7.6945%2015.8924%207.61713%2015.8907%207.54305%2015.8706C7.50675%2015.88%207.46952%2015.8848%207.43218%2015.8847H3.66952C3.60346%2015.8848%203.53802%2015.8709%203.47695%2015.8437C3.41589%2015.8165%203.36041%2015.7767%203.3137%2015.7263C3.26698%2015.676%203.22995%2015.6163%203.20472%2015.5505C3.17949%2015.4848%203.16656%2015.4143%203.16667%2015.3431V2.42536C3.16667%202.12639%203.39191%201.88477%203.66865%201.88477H15.6646ZM12.7069%2012.7756C12.4076%2012.7493%2012.1102%2012.847%2011.8754%2013.0486C11.6406%2013.2502%2011.4859%2013.5406%2011.443%2013.8607C11.4%2014.1808%2011.472%2014.5064%2011.6442%2014.7714C11.8164%2015.0363%2012.0759%2015.2206%2012.3699%2015.2867C12.7115%2015.3211%2013.0521%2015.211%2013.3196%2014.9798C13.5872%2014.7485%2013.7606%2014.4142%2013.8034%2014.0476C13.8041%2013.7248%2013.6909%2013.4137%2013.4867%2013.1773C13.2824%2012.941%2013.0024%2012.797%2012.7034%2012.7746H12.7069V12.7756ZM7.16504%2014.8035V10.93H4.17063V14.8035H7.16504ZM7.16504%205.68113H4.17063V9.84886H7.16504V5.68113ZM11.166%205.68113H8.16899V9.84886H11.166V5.68113ZM15.1626%205.68113H12.17V9.84886H15.1626V5.68113Z'%20fill='url(%23paint0_linear_704_3544)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_704_3544'%20x1='9.66667'%20y1='1.88477'%20x2='9.66667'%20y2='16.1146'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF7C88'/%3e%3cstop%20offset='1'%20stop-color='%23FFAEB5'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
103
80
|
const TextOnlineForm = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23230;&%23150;&%23135;&%23230;&%23156;&%23172;-&%23229;&%23164;&%23154;&%23232;&%23161;&%23140;&%23230;&%23150;&%23135;&%23230;&%23156;&%23172;%201'%3e%3cpath%20id='Vector'%20d='M14.1754%201.75H5.15797C4.19633%201.75%203.41667%202.65424%203.41667%203.76991V14.2301C3.41667%2015.3456%204.19619%2016.25%205.15797%2016.25H14.1754C15.137%2016.25%2015.9167%2015.3458%2015.9167%2014.2301V3.76991C15.9165%202.6544%2015.137%201.75%2014.1754%201.75ZM6.25521%204.8636H9.3585C9.6156%204.8636%209.82393%205.12207%209.82393%205.44115C9.82393%205.76008%209.61546%206.01871%209.3585%206.01871H8.27228V10.6388C8.27228%2010.9578%208.06395%2011.2164%207.80685%2011.2164C7.54976%2011.2164%207.34143%2010.9578%207.34143%2010.6388V6.01871H6.25521C5.99811%206.01871%205.78978%205.76008%205.78978%205.44115C5.78964%205.12223%205.99811%204.8636%206.25521%204.8636ZM13.0825%2013.1414H6.25521C5.99811%2013.1414%205.78978%2012.8828%205.78978%2012.5639C5.78978%2012.2449%205.99825%2011.9863%206.25521%2011.9863H13.0825C13.3396%2011.9863%2013.5479%2012.2449%2013.5479%2012.5639C13.548%2012.8828%2013.3396%2013.1414%2013.0825%2013.1414ZM13.0825%2010.8314H9.66883C9.41173%2010.8314%209.20327%2010.5729%209.20327%2010.2538C9.20327%209.93487%209.41173%209.67624%209.66883%209.67624H13.0825C13.3396%209.67624%2013.5479%209.93487%2013.5479%2010.2538C13.548%2010.5727%2013.3396%2010.8314%2013.0825%2010.8314ZM13.0825%208.52129H10.2895C10.0324%208.52129%209.82393%208.26266%209.82393%207.94373C9.82393%207.62481%2010.0324%207.36618%2010.2895%207.36618H13.0825C13.3396%207.36618%2013.5479%207.62465%2013.5479%207.94373C13.548%208.26266%2013.3396%208.52129%2013.0825%208.52129ZM13.0825%206.21123H11.0654C10.8083%206.21123%2010.5998%205.95276%2010.5998%205.63367C10.5998%205.31459%2010.8083%205.05612%2011.0654%205.05612H13.0826C13.3397%205.05612%2013.548%205.31459%2013.548%205.63367C13.548%205.95276%2013.3396%206.21123%2013.0825%206.21123Z'%20fill='url(%23paint0_linear_704_3539)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_704_3539'%20x1='9.66667'%20y1='1.75'%20x2='9.66667'%20y2='16.25'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2345EEA2'/%3e%3cstop%20offset='1'%20stop-color='%23ACF7D1'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
104
81
|
const ProccessOnlineForm = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='&%23231;&%23167;&%23187;&%23229;&%23138;&%23168;&%23231;&%23171;&%23175;icon_&%23230;&%23181;&%23129;&%23231;&%23168;&%23139;&%23232;&%23161;&%23168;&%23229;&%23141;&%23149;%201'%3e%3cg%20id='Vector'%3e%3cpath%20d='M15.0385%202.67227H13.0698C13.0135%203.40352%2012.3948%203.99414%2011.6354%203.99414H7.69792C6.93855%203.99414%206.3198%203.40352%206.26355%202.67227H4.2948C3.76042%202.67227%203.33855%203.09414%203.33855%203.62852V15.441C3.33855%2015.9754%203.76042%2016.3973%204.2948%2016.3973H15.0385C15.5729%2016.3973%2015.9948%2015.9754%2015.9948%2015.441V3.62852C15.9948%203.09414%2015.5729%202.67227%2015.0385%202.67227ZM8.59792%206.75039C8.59792%206.38477%208.87917%206.10352%209.2448%206.10352H10.0323C10.3979%206.10352%2010.6792%206.38477%2010.6792%206.75039V7.53789C10.6792%207.90352%2010.3979%208.18477%2010.0323%208.18477H9.2448C8.87917%208.18477%208.59792%207.90352%208.59792%207.53789V6.75039ZM7.81042%2012.8254C7.81042%2013.191%207.52917%2013.4723%207.16355%2013.4723H6.37605C6.01042%2013.4723%205.72917%2013.191%205.72917%2012.8254V12.0379C5.72917%2011.6723%206.01042%2011.391%206.37605%2011.391H7.16355C7.52917%2011.391%207.81042%2011.6723%207.81042%2012.0379V12.8254ZM7.05105%2010.5754C7.05105%2010.7441%206.93855%2010.8566%206.7698%2010.8566C6.60105%2010.8566%206.48855%2010.7441%206.48855%2010.5754C6.48855%209.84414%207.07917%209.22539%207.83855%209.22539H9.38542V8.71914C9.38542%208.55039%209.49792%208.43789%209.66667%208.43789C9.83542%208.43789%209.94792%208.55039%209.94792%208.71914V9.22539H11.5229C12.2542%209.22539%2012.8729%209.81601%2012.8729%2010.5754C12.8729%2010.7441%2012.7604%2010.8566%2012.5917%2010.8566C12.4229%2010.8566%2012.3104%2010.7441%2012.3104%2010.5754C12.3104%2010.1535%2011.9729%209.78789%2011.5229%209.78789H9.94792V10.716C9.94792%2010.8848%209.83542%2010.9973%209.66667%2010.9973C9.49792%2010.9973%209.38542%2010.8848%209.38542%2010.716V9.78789H7.81042C7.38855%209.81602%207.05105%2010.1535%207.05105%2010.5754ZM10.7073%2012.8254C10.7073%2013.191%2010.426%2013.4723%2010.0604%2013.4723H9.27292C8.9073%2013.4723%208.62605%2013.191%208.62605%2012.8254V12.0379C8.62605%2011.6723%208.9073%2011.391%209.27292%2011.391H10.0604C10.426%2011.391%2010.7073%2011.6723%2010.7073%2012.0379V12.8254ZM13.6323%2012.8254C13.6323%2013.191%2013.351%2013.4723%2012.9854%2013.4723H12.1979C11.8323%2013.4723%2011.551%2013.191%2011.551%2012.8254V12.0379C11.551%2011.6723%2011.8323%2011.391%2012.1979%2011.391H12.9854C13.351%2011.391%2013.6323%2011.6723%2013.6323%2012.0379V12.8254Z'%20fill='url(%23paint0_linear_704_2738)'/%3e%3cpath%20d='M7.69792%203.45977H11.6354C12.1417%203.45977%2012.5635%203.03789%2012.5635%202.53164C12.5635%202.02539%2012.1417%201.60352%2011.6354%201.60352H7.69792C7.19167%201.60352%206.7698%202.02539%206.7698%202.53164C6.7698%203.03789%207.19167%203.45977%207.69792%203.45977Z'%20fill='url(%23paint1_linear_704_2738)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_704_2738'%20x1='9.66667'%20y1='1.60352'%20x2='9.66667'%20y2='16.3973'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9A23'/%3e%3cstop%20offset='1'%20stop-color='%23FFC785'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_704_2738'%20x1='9.66667'%20y1='1.60352'%20x2='9.66667'%20y2='16.3973'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9A23'/%3e%3cstop%20offset='1'%20stop-color='%23FFC785'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
@@ -1302,6 +1279,5 @@ export {
|
|
|
1302
1279
|
ProductTypeEnum as P,
|
|
1303
1280
|
SEARCH_SEVICE as S,
|
|
1304
1281
|
VersionSelect as V,
|
|
1305
|
-
_sfc_main as _
|
|
1306
|
-
useWebUpload as u
|
|
1282
|
+
_sfc_main as _
|
|
1307
1283
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, toDisplayString } from "vue";
|
|
2
|
-
import { P as PaginationFormat } from "./dynamic-table-action.
|
|
2
|
+
import { P as PaginationFormat } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import "dayjs";
|
|
5
|
-
import "@gct-paas/form-base";
|
|
6
5
|
import "ant-design-vue";
|
|
7
|
-
import { j as calcText } from "./index-
|
|
6
|
+
import { j as calcText } from "./index-DdOpcuy6.js";
|
|
8
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
8
|
__name: "pagination-design",
|
|
10
9
|
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-DdOpcuy6.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 {
|
|
3
|
-
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-
|
|
4
|
-
import { _ as _sfc_main$1 } from "./index-
|
|
2
|
+
import { W as RuntimeFormStateStore, Y as RuntimeInstanceRegistry, N as NCB_PROVIDE } from "./dynamic-table-action-Bhkrp7KE.js";
|
|
3
|
+
import { S as SubTableCoreFactory, R as RuntimeInstanceController } from "./sub-table-factory-Df_Z-LYK.js";
|
|
4
|
+
import { _ as _sfc_main$1 } from "./index-DdOpcuy6.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-DdOpcuy6.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 { d7 as registerInstance, d8 as createEvent, d9 as getColumnByProp, da as timeout, db as getVisibleSourceItem, dc as getColumns, dd as rowTypes, de as GroupingRowPlugin, df as StretchColumn, dg as isStretchPlugin, dh as AutoSizeColumnPlugin, di as FilterPlugin, dj as ExportFilePlugin, dk as SortingPlugin, dl as ColumnMovePlugin, dm as ThemeService, dn as h, dp as Host, dq as getElement, dr as BasePlugin, ds as reduce, dt as columnTypes, du as debounce, dv as RESIZE_INTERVAL, dw as DimensionStore, dx as gatherTrimmedItems, dy as getColumnSizes, dz as getItemByIndex, dA as DataStore, dB as getSourceItem, dC as getSourceItemVirtualIndexByProp, dD as getColumnType, dE as setSourceByPhysicalIndex, dF as setSourceByVirtualIndex, dG as SelectionStore, dH as cropCellToMax, dI as nextCell, dJ as isRowType, dK as ViewportStore } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.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-CImeTxBl.js → revogr-attribution_7.entry-DmJFrubR.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d7 as registerInstance, dn as h, dp as Host, d8 as createEvent, dB as getSourceItem, dq as getElement, dP as ColumnService, dQ as MOBILE_CLASS, dR as SELECTION_BORDER_CLASS, dS as getCellData, dT as getCellEditor, dU as getRange, dV as isRangeSingleCell, dW as codesLetter, dK as ViewportStore, dA as DataStore, dX as calculateRowHeaderSize, dY as ROW_HEADER_TYPE, dZ as getScrollbarSize, d_ as FOCUS_CLASS, dz as getItemByIndex, da as timeout, d$ as CELL_HANDLER_CLASS, du as debounce, e0 as TMP_SELECTION_BG_CLASS, dv as RESIZE_INTERVAL, e1 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.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-BXlWf2Zf.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-DEDsjc1B.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 { da as timeout, d7 as registerInstance, d8 as createEvent, dn as h, e2 as EDIT_INPUT_WR, dp as Host, dq as getElement, du as debounce, e5 as DRAGG_TEXT, dB as getSourceItem, e1 as getItemByPosition } from "./dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-CidYX2eX.js";
|
|
2
|
+
import { d as isEnterKeyValue, c as isTab, j as isEditorCtrConstructible } from "./edit.utils-CXmmCnxE-BXlWf2Zf.js";
|
|
3
3
|
class TextEditor {
|
|
4
4
|
constructor(data, saveCallback) {
|
|
5
5
|
this.data = data;
|