@gct-paas/excel 0.1.27 → 0.1.28-beta.0
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-D5r4RRnv.js → VueVideoPlayer-DoCV5anE.js} +2 -2
- package/dist/{agg-design-BVxNAUfK.js → agg-design-FWqhGZMN.js} +1 -1
- package/dist/{agg-props-BM1V7-82.js → agg-props-Demj2zwb.js} +1 -1
- package/dist/{agg-style-bu1csor3.js → agg-style-0D2plP6P.js} +1 -1
- package/dist/{align-editor-D2IrDyiX.js → align-editor-BT_0oTzG.js} +1 -1
- package/dist/{attach-fields-editor-cbkBKnao.js → attach-fields-editor-Bh-SLSaJ.js} +5 -5
- package/dist/{barcode-design-BRx1bmVT.js → barcode-design-B6DeTtec.js} +2 -2
- package/dist/base/index.es.js +396 -552
- package/dist/{base-font-editor-DvxGgHGz.js → base-font-editor-rUy04_I5.js} +2 -2
- package/dist/{boolean-design-bh0IRiJd.js → boolean-design-s-0j811G.js} +2 -2
- package/dist/{boolean-props-CblOGRwR.js → boolean-props-BKDCL1yv.js} +3 -3
- package/dist/{boolean-style-DwRYZG46.js → boolean-style-z1WMMTXQ.js} +4 -4
- package/dist/{cell-upload-C-xtn3eM.js → cell-upload-DIfLFlqF.js} +1 -1
- package/dist/{date-range-editor-DgRj3qWq.js → date-range-editor-Bl5qPmvu.js} +2 -2
- package/dist/{date-time-design-CmzyZZ0f.js → date-time-design-BTNkgPAM.js} +1 -1
- package/dist/{date-time-props-D2g7OYyD.js → date-time-props-DiVxg9n4.js} +3 -3
- package/dist/{date-time-style-D1hsou32.js → date-time-style-yt5pO1dc.js} +1 -1
- package/dist/{decimal-design-mtrsEocu.js → decimal-design-BW5UQRTH.js} +1 -1
- package/dist/{decimal-display-mode-DBBORdt8.js → decimal-display-mode-BWR1rZ3-.js} +2 -2
- package/dist/{decimal-props-BAnCY6iG.js → decimal-props-S3vHwaWf.js} +4 -4
- package/dist/{decimal-style-B_3SjSrk.js → decimal-style-6q9_KbIT.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-CaXarLgm.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-B51R6Kdt.js} +2 -2
- package/dist/{diagonal-design-CcD7fvfW.js → diagonal-design-BKuv-KYn.js} +2 -2
- package/dist/{double-design-7vcqNVyg.js → double-design-CrnloQ6U.js} +1 -1
- package/dist/{double-props-B-y0KH2n.js → double-props-CIqRhF3C.js} +4 -4
- package/dist/{double-style-CA5tNsrD.js → double-style-BRXKv9Tt.js} +1 -1
- package/dist/{dynamic-table-action-C2GfKCbJ.js → dynamic-table-action-B3_wsebH.js} +8 -10
- package/dist/{dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-Dti3Kjh8.js → dynamic-table-action.vue_vue_type_style_index_0_scoped_53d7e66c_lang-_s66osEc.js} +2147 -392
- package/dist/{edit.utils-CXmmCnxE-Ca3Pb0IU.js → edit.utils-CXmmCnxE-C1IiqVhe.js} +1 -1
- package/dist/{enum-design-QV-rTgR9.js → enum-design-4iAQqQWj.js} +2 -2
- package/dist/{enum-props-75ShzzCh.js → enum-props-BTNED9Yi.js} +3 -3
- package/dist/{enum-style-BMtWgRC6.js → enum-style-BKunBcCU.js} +3 -3
- package/dist/excel.css +150 -148
- package/dist/{exceljs.min-0mQdhEhP.js → exceljs.min-DqUfJ7Zu.js} +2 -2
- package/dist/{expression-design-E4gBR1RY.js → expression-design-Avbzm2SR.js} +1 -1
- package/dist/{expression-props-BwPz0GJc.js → expression-props-BJ2AaS83.js} +1 -1
- package/dist/{expression-style-D7o1udLl.js → expression-style-Cf0ZciKB.js} +1 -1
- package/dist/{file-design-CY5qOoTr.js → file-design-DXTNk70M.js} +1 -1
- package/dist/{file-props-zXWQ1bVe.js → file-props-GieYTgUG.js} +2 -2
- package/dist/{file-style-BxiYD3KK.js → file-style-CLDdPXPd.js} +1 -1
- package/dist/{font-editor-Dvzk8M-U.js → font-editor-DFkc4KNc.js} +3 -3
- package/dist/{image-design-lVRSbqr7.js → image-design-DWY2Pn2m.js} +2 -2
- package/dist/{image-design-BhK2hIpf.js → image-design-J45gqUS9.js} +1 -1
- package/dist/{image-props-BzWQmFnm.js → image-props-DZmoqEbT.js} +1 -1
- package/dist/{image-style-COx37YQA.js → image-style-C41-zdmF.js} +1 -1
- package/dist/{index-JMdllXCQ.js → index-5k7C2AD1.js} +1 -1
- package/dist/{index-gZDQm5ZQ.js → index-B-UBLtsV.js} +1 -1
- package/dist/{index-Xo3mSme0.js → index-B3D6zOat.js} +1 -1
- package/dist/{index-BQkzdAys.js → index-B9nlN0jW.js} +1 -1
- package/dist/{index-CvgNTIj3.js → index-BHIdTmFi.js} +1346 -1286
- package/dist/{index-D4c8S3QX.js → index-BNn5fobS.js} +1 -1
- package/dist/{index-D_EbV20_.js → index-BlnMSgZL.js} +2 -2
- package/dist/{index-DX751NRk.js → index-BsOmgpN3.js} +1 -1
- package/dist/{index-Cv8PAOND.js → index-Bs_2N-BE.js} +1 -1
- package/dist/{index-BZUfZUe_.js → index-BtUdO868.js} +1 -1
- package/dist/{index-DQUYeRO2.js → index-C0K1pWGN.js} +1 -1
- package/dist/{index-BKcbh7wy.js → index-C4hw1NhV.js} +1 -1
- package/dist/{index-n08cOEu4.js → index-C6-vGm0H.js} +1 -1
- package/dist/{index-BKl3sdLV.js → index-CR7wxW9-.js} +1 -1
- package/dist/{index-xAiRicc_.js → index-CYKuotDL.js} +27 -22
- package/dist/{index-CLiI_jbj.js → index-Cir8zmM7.js} +1 -1
- package/dist/{index-CvnUTiu5.js → index-D-uEhZUx.js} +5 -3
- package/dist/{index-C3vFg5YC.js → index-DIknXBmB.js} +2 -2
- package/dist/{index-sDAMzgHy.js → index-DRfeEqsi.js} +11 -1
- package/dist/{index-D1eAo-Nu.js → index-DXZ9-91Q.js} +1 -1
- package/dist/{index-BxJDx07D.js → index-Dlcg-_u1.js} +1 -1
- package/dist/{index-7I61fuwY.js → index-DpPM2hsI.js} +1 -1
- package/dist/{index-_sBfWkw5.js → index-DsVq6bop.js} +1 -1
- package/dist/{index-LPi5gPDc.js → index-DxfrB4yU.js} +2 -2
- package/dist/{index-BfFR4_sj.js → index-DyTI4fVG.js} +1 -1
- package/dist/{index-uPWALfQF.js → index-FJf8yRGg.js} +1 -1
- package/dist/{index-C8YcRZdY.js → index-Iri9iQ7A.js} +1 -1
- package/dist/{index-BcFJ5NMo.js → index-Izpo3y-u.js} +1 -1
- package/dist/{index-FsRMnSH6.js → index-Kc67z3Sn.js} +1 -1
- package/dist/{index-Bnw3rp6T.js → index-O2psifaU.js} +5 -3
- package/dist/{index--0Kpxacn.js → index-ZKvvKhlF.js} +1 -1
- package/dist/{index-BOJ1qa5y.js → index-s5kgaRm2.js} +1 -1
- package/dist/{index-DJMQPKtC.js → index-vDKWJHdv.js} +1 -1
- package/dist/index.es.js +45 -45
- package/dist/{integer-design-B4_XsKZo.js → integer-design-oIq4PZgB.js} +1 -1
- package/dist/{integer-props-C6PM1TRQ.js → integer-props-Dv0CFbj2.js} +4 -4
- package/dist/{integer-style-BEQYgQr6.js → integer-style-CQsFEa78.js} +1 -1
- package/dist/{mb-render-Cuhqw431.js → mb-render-13-1F66x.js} +12 -1
- package/dist/{number-input-ex-C-lDRF5x.js → number-input-ex-b3jwWBec.js} +1 -1
- package/dist/{org-props-COEjPBZu.js → org-props-CP6UEZUk.js} +2 -2
- package/dist/{org-style-BCAm4c-t.js → org-style-CVX9tnGL.js} +1 -1
- package/dist/{pagination-design-BCbcTaoL.js → pagination-design-CzI3BVnu.js} +2 -2
- package/dist/paper-widget-design-DMIGXtG2.js +4 -0
- package/dist/{qrcode-design-DsWOsTMb.js → qrcode-design-eO4Bd2-V.js} +1 -1
- package/dist/{ref-autofill-editor-M4SwZwAT.js → ref-autofill-editor-DXDYy7g2.js} +7 -6
- package/dist/{ref-props-z-4FJ63a.js → ref-props-Aiwbx2BA.js} +3 -3
- package/dist/{ref-style-Cd4xxgki.js → ref-style-BYC5yPHt.js} +1 -1
- package/dist/{regex-editor-Clq3qEOM.js → regex-editor-DWglxD2y.js} +2 -2
- package/dist/{revo-grid.entry-mK396nD_.js → revo-grid.entry-DxhjfysT.js} +1 -1
- package/dist/{revogr-attribution_7.entry-CVFYs2_S.js → revogr-attribution_7.entry-ChJzXX9c.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-CXob_C6H.js → revogr-clipboard_3.entry-CTfO-vHs.js} +2 -2
- package/dist/{revogr-data_4.entry-DdIOstSg.js → revogr-data_4.entry-DpsZq5Vu.js} +2 -2
- package/dist/{revogr-filter-panel.entry-CbN2tKV5.js → revogr-filter-panel.entry-CkNGH07B.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-BRaJttUU.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-D36XgznF.js} +2 -2
- package/dist/{serialnumber-design-lwuR-KrB.js → serialnumber-design-cvNqTdU4.js} +1 -1
- package/dist/shared/index.es.js +29 -29
- package/dist/{signature-design-CWKOqjMe.js → signature-design-CxYVBP9N.js} +1 -1
- package/dist/{signature-props-B4yndn4q.js → signature-props-Cs3PONrq.js} +3 -3
- package/dist/{signature-style-5DImPCv-.js → signature-style-CAa92-pw.js} +1 -1
- package/dist/{single-field-drop-C0IXAiGz.js → single-field-drop-BXX5wlj_.js} +2 -2
- package/dist/{size-editor-DKIp_UFV.js → size-editor-B4aRo4sR.js} +1 -1
- package/dist/src/assets/svgs/table/index.d.ts +4 -0
- package/dist/src/domain/suite/suite-features.d.ts +14 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/index.d.ts +2 -1
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/field-keys.d.ts +187 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/preprocess/pretreatment-list/runtime/row-change-handlers.d.ts +26 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/field-keys.d.ts +65 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/device-part-consume/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/field-keys.d.ts +70 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/part-stocktake/runtime/row-change-handlers.d.ts +10 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/index.d.ts +2 -1
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +87 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-allocate/runtime/row-change-handlers.d.ts +7 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/field-keys.d.ts +39 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-in/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/field-keys.d.ts +33 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inbound/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/index.d.ts +2 -1
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/field-keys.d.ts +114 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-inventory/runtime/row-change-handlers.d.ts +11 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/index.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/profile/field-keys.d.ts +84 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-out/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/index.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/field-keys.d.ts +64 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/fields.d.ts +2 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/profile/index.d.ts +3 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/runtime/register-handlers.d.ts +1 -0
- package/dist/src/domain/table/business/warehouse/warehouse-outbound/runtime/row-change-handlers.d.ts +6 -0
- package/dist/src/domain/table/design/autofill-expander.d.ts +19 -0
- package/dist/src/domain/table/design/hooks/on-field-attach.d.ts +13 -0
- package/dist/src/domain/table/index.d.ts +4 -0
- package/dist/src/domain/table/runtime/apply-profile.d.ts +16 -0
- package/dist/src/domain/table/runtime/runtime-handlers.d.ts +9 -0
- package/dist/src/domain/table/types.d.ts +61 -2
- package/dist/src/nocode-base/src/constant/index.d.ts +9 -1
- package/dist/src/nocode-base/src/core/sub-table/allocate-table-core.d.ts +12 -7
- package/dist/src/nocode-base/src/core/sub-table/index.d.ts +1 -0
- package/dist/src/nocode-base/src/core/sub-table/pretreatment-list-table-core.d.ts +12 -5
- package/dist/src/nocode-base/src/core/sub-table/profile-driven-sub-table-core.d.ts +58 -0
- package/dist/src/nocode-base/src/core/sub-table/stocktake-table-core.d.ts +17 -19
- package/dist/src/nocode-base/src/core/sub-table/utils/pretreatment/field-keys.d.ts +2 -117
- package/dist/src/nocode-base/src/core/sub-table/utils/stocktake/field-keys.d.ts +2 -60
- package/dist/src/nocode-base/src/hooks/app-info/index.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/form-model/form-model-controller.d.ts +6 -1
- package/dist/src/nocode-base/src/hooks/form-model/types.d.ts +5 -0
- package/dist/src/nocode-base/src/hooks/material-date/material-date.d.ts +44 -0
- package/dist/src/nocode-base/src/hooks/material-date/service.d.ts +4 -0
- package/dist/src/nocode-base/src/hooks/material-date/use-material-date.d.ts +2 -0
- package/dist/src/nocode-base/src/interface/render.d.ts +2 -1
- package/dist/src/nocode-base/src/types/business/allocate.d.ts +8 -0
- package/dist/src/nocode-base/src/types/widgets/i-paper.d.ts +14 -0
- package/dist/src/nocode-web-render/src/render/sub-table/common/scan-modal.vue.d.ts +2 -3
- package/dist/src/online-form/src/views/__cell_widgets__/common/input-prop-editor/input-prop-editor.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/constants/index.d.ts +1 -0
- package/dist/src/online-form/src/views/designer/enums/index.d.ts +5 -1
- package/dist/src/online-form/src/views/designer/hooks/useAllSpreadSheets.d.ts +8 -0
- package/dist/src/online-form/src/views/designer/hooks/useSpreadSheet.d.ts +11 -17
- package/dist/src/online-form/src/views/designer/modules/panel/sub-table/comps/use-dynamic-sub-table-panel.d.ts +4 -0
- package/dist/src/shared/enum/field-type.d.ts +10 -4
- package/dist/src/shared/enum/online-form.d.ts +9 -1
- package/dist/{text-design-Buv9yt9S.js → text-design-DbDDDCTT.js} +2 -2
- package/dist/{text-design-Cvkrx7Ay.js → text-design-vFgsAOs6.js} +2 -2
- package/dist/{text-props-CkVBSTXP.js → text-props-LQ8JxfCA.js} +4 -4
- package/dist/{text-style-ByQS_L5l.js → text-style-CKBIm6Y6.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-G-XhI3O-.js → throttle-Cpk1LoGk-CJfuMBhT.js} +1 -1
- package/dist/{timediff-design-DDoTcrkV.js → timediff-design-C7qKjT0h.js} +1 -1
- package/dist/{trace-design-BCzk8EyB.js → trace-design-DdHPN-JX.js} +2 -2
- package/dist/{trace-props-BL3L-jup.js → trace-props-BSRELXnc.js} +6 -6
- package/dist/{trace-style-BlpFFb55.js → trace-style-BOx3LU4R.js} +1 -1
- package/dist/{user-props-B-vYJaSq.js → user-props-DCy_CVdE.js} +2 -2
- package/dist/{user-style-CbvEdi3Y.js → user-style-BbXij2Ui.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-s8AB671m.js → value-editor.vue_vue_type_style_index_0_lang-DqIfRgzS.js} +2 -2
- package/dist/{version-select-CgXKULuu.js → version-select--5mTgIzw.js} +1 -1
- package/dist/web-render/index.es.js +2 -2
- package/dist/{widget-barcode-DSSIOMEn.js → widget-barcode-BYZx9koE.js} +4 -4
- package/dist/{widget-diagonal-Ce7X4BVB.js → widget-diagonal-CbEoMTV6.js} +3 -3
- package/dist/{widget-image-B07sa8Hv.js → widget-image-Bgb0W9tX.js} +5 -5
- package/dist/{widget-line-gfOAwJ73.js → widget-line-xBvHpkdt.js} +2 -2
- package/dist/{widget-pagination-DQT0Hcnv.js → widget-pagination-BjH75g8_.js} +5 -5
- package/dist/{widget-power-DB41Q7HC.js → widget-power-Bvr05ltd.js} +3 -3
- package/dist/{widget-qrcode-DPMDGtjU.js → widget-qrcode-Bj-ntq_n.js} +3 -3
- package/dist/{widget-rangelimit-BpxO9qfT.js → widget-rangelimit-BHa420t4.js} +3 -3
- package/dist/{widget-serialnumber-CM-Lm2mW.js → widget-serialnumber-BoYlmag6.js} +1 -1
- package/dist/{widget-text-DnHhMcYh.js → widget-text-_Q96wqKl.js} +5 -5
- package/dist/{widget-timediff-CHA6cLPN.js → widget-timediff-DtoWALwY.js} +2 -2
- package/package.json +1 -1
- package/dist/paper-widget-design-B1eAfVY6.js +0 -4
|
@@ -425,6 +425,10 @@ var SubTableType = /* @__PURE__ */ ((SubTableType2) => {
|
|
|
425
425
|
SubTableType2["WAREHOUSE_IN"] = "WAREHOUSE_IN";
|
|
426
426
|
SubTableType2["WAREHOUSE_OUT"] = "WAREHOUSE_OUT";
|
|
427
427
|
SubTableType2["WAREHOUSE_IN_OUT"] = "WAREHOUSE_IN_OUT";
|
|
428
|
+
SubTableType2["WAREHOUSE_INBOUND"] = "WAREHOUSE_INBOUND";
|
|
429
|
+
SubTableType2["WAREHOUSE_OUTBOUND"] = "WAREHOUSE_OUTBOUND";
|
|
430
|
+
SubTableType2["PART_STOCKTAKE"] = "PART_STOCKTAKE";
|
|
431
|
+
SubTableType2["DEVICE_PART_CONSUME"] = "DEVICE_PART_CONSUME";
|
|
428
432
|
return SubTableType2;
|
|
429
433
|
})(SubTableType || {});
|
|
430
434
|
const PaperSizeMap = computed(() => ({
|
|
@@ -457,7 +461,7 @@ const PaperSizeMap = computed(() => ({
|
|
|
457
461
|
size: void 0
|
|
458
462
|
}
|
|
459
463
|
}));
|
|
460
|
-
const uuid2 = (len, radix) => {
|
|
464
|
+
const uuid2$1 = (len, radix) => {
|
|
461
465
|
const chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
|
|
462
466
|
let uuid = [], i2;
|
|
463
467
|
radix = radix || chars.length;
|
|
@@ -513,7 +517,7 @@ function ensureFrontRowKey(row) {
|
|
|
513
517
|
if (!row) return "";
|
|
514
518
|
const existing = row[FRONT_ROW_KEY];
|
|
515
519
|
if (existing != null && String(existing).trim() !== "") return String(existing);
|
|
516
|
-
const uid = `r_${Date.now()}_${uuid2(8)}`;
|
|
520
|
+
const uid = `r_${Date.now()}_${uuid2$1(8)}`;
|
|
517
521
|
row[FRONT_ROW_KEY] = uid;
|
|
518
522
|
return uid;
|
|
519
523
|
}
|
|
@@ -690,6 +694,10 @@ var onlineFormMasterModelTypeEnum = /* @__PURE__ */ ((onlineFormMasterModelTypeE
|
|
|
690
694
|
onlineFormMasterModelTypeEnum2["ALLOCATE"] = "ALLOCATE";
|
|
691
695
|
onlineFormMasterModelTypeEnum2["STERILIZE_BATCH"] = "PRODUCTION_CONTAINER_LIST_4_STERILIZATION";
|
|
692
696
|
onlineFormMasterModelTypeEnum2["PRETREATMENT_LIST"] = "PRETREATMENT_LIST";
|
|
697
|
+
onlineFormMasterModelTypeEnum2["WAREHOUSE_INBOUND"] = "WAREHOUSE_INBOUND";
|
|
698
|
+
onlineFormMasterModelTypeEnum2["WAREHOUSE_OUTBOUND"] = "WAREHOUSE_OUTBOUND";
|
|
699
|
+
onlineFormMasterModelTypeEnum2["PART_STOCKTAKE"] = "PART_STOCKTAKE";
|
|
700
|
+
onlineFormMasterModelTypeEnum2["DEVICE_PART_CONSUME"] = "DEVICE_PART_CONSUME";
|
|
693
701
|
return onlineFormMasterModelTypeEnum2;
|
|
694
702
|
})(onlineFormMasterModelTypeEnum || {});
|
|
695
703
|
var RecordNoGenerateEnum = /* @__PURE__ */ ((RecordNoGenerateEnum2) => {
|
|
@@ -783,8 +791,9 @@ var FIELD_TYPE = /* @__PURE__ */ ((FIELD_TYPE2) => {
|
|
|
783
791
|
FIELD_TYPE2["DATA_TABLE_FORMULA"] = "data_table_formula";
|
|
784
792
|
FIELD_TYPE2["READONLYCMP"] = "readonlycmp";
|
|
785
793
|
FIELD_TYPE2["MATERIAL_NO"] = "material_no";
|
|
786
|
-
FIELD_TYPE2["
|
|
787
|
-
FIELD_TYPE2["
|
|
794
|
+
FIELD_TYPE2["PRODUCTION_CONTAINER"] = "production_container";
|
|
795
|
+
FIELD_TYPE2["STERILIZATION_CONTAINER"] = "sterilization_container";
|
|
796
|
+
FIELD_TYPE2["MATERIAL_CONTAINER"] = "material_container";
|
|
788
797
|
FIELD_TYPE2["RELATED_LOT_NO"] = "related_lot_no";
|
|
789
798
|
FIELD_TYPE2["PRODUCT"] = "product";
|
|
790
799
|
FIELD_TYPE2["DEVICE"] = "device";
|
|
@@ -894,8 +903,9 @@ var FIELD_TYPE_LOGIC = /* @__PURE__ */ ((FIELD_TYPE_LOGIC2) => {
|
|
|
894
903
|
})(FIELD_TYPE_LOGIC || {});
|
|
895
904
|
var FIELD_TYPE_TRACE = /* @__PURE__ */ ((FIELD_TYPE_TRACE2) => {
|
|
896
905
|
FIELD_TYPE_TRACE2["MATERIAL_NO"] = "material_no";
|
|
897
|
-
FIELD_TYPE_TRACE2["
|
|
898
|
-
FIELD_TYPE_TRACE2["
|
|
906
|
+
FIELD_TYPE_TRACE2["PRODUCTION_CONTAINER"] = "production_container";
|
|
907
|
+
FIELD_TYPE_TRACE2["STERILIZATION_CONTAINER"] = "sterilization_container";
|
|
908
|
+
FIELD_TYPE_TRACE2["MATERIAL_CONTAINER"] = "material_container";
|
|
899
909
|
FIELD_TYPE_TRACE2["RELATED_LOT_NO"] = "related_lot_no";
|
|
900
910
|
FIELD_TYPE_TRACE2["PRODUCT"] = "product";
|
|
901
911
|
FIELD_TYPE_TRACE2["SHOPFLOOR"] = "shopfloor";
|
|
@@ -1120,13 +1130,17 @@ const FieldTypeToJs = {
|
|
|
1120
1130
|
"material_no"
|
|
1121
1131
|
/* MATERIAL_NO */
|
|
1122
1132
|
]: "string",
|
|
1133
|
+
[
|
|
1134
|
+
"production_container"
|
|
1135
|
+
/* PRODUCTION_CONTAINER */
|
|
1136
|
+
]: "string",
|
|
1123
1137
|
[
|
|
1124
1138
|
"sterilization_container"
|
|
1125
|
-
/*
|
|
1139
|
+
/* STERILIZATION_CONTAINER */
|
|
1126
1140
|
]: "string",
|
|
1127
1141
|
[
|
|
1128
1142
|
"material_container"
|
|
1129
|
-
/*
|
|
1143
|
+
/* MATERIAL_CONTAINER */
|
|
1130
1144
|
]: "string",
|
|
1131
1145
|
[
|
|
1132
1146
|
"related_lot_no"
|
|
@@ -1469,13 +1483,17 @@ const FieldIconMap = {
|
|
|
1469
1483
|
"material_no"
|
|
1470
1484
|
/* MATERIAL_NO */
|
|
1471
1485
|
]: "icon-field-material-no",
|
|
1486
|
+
[
|
|
1487
|
+
"production_container"
|
|
1488
|
+
/* PRODUCTION_CONTAINER */
|
|
1489
|
+
]: "icon-field-material-no",
|
|
1472
1490
|
[
|
|
1473
1491
|
"sterilization_container"
|
|
1474
|
-
/*
|
|
1492
|
+
/* STERILIZATION_CONTAINER */
|
|
1475
1493
|
]: "icon-field-material-no",
|
|
1476
1494
|
[
|
|
1477
1495
|
"material_container"
|
|
1478
|
-
/*
|
|
1496
|
+
/* MATERIAL_CONTAINER */
|
|
1479
1497
|
]: "icon-field-material-no",
|
|
1480
1498
|
[
|
|
1481
1499
|
"related_lot_no"
|
|
@@ -10273,7 +10291,7 @@ function requireNodeSqlParser() {
|
|
|
10273
10291
|
return Nl(r3, t3, 1);
|
|
10274
10292
|
}, l = lu("IF", true), c2 = function(r3, t3) {
|
|
10275
10293
|
return Nl(r3, t3);
|
|
10276
|
-
}, f2 = lu("AUTO_INCREMENT", true), b = lu("UNIQUE", true), v = lu("KEY", true), L2 = lu("PRIMARY", true), C = lu("COLUMN_FORMAT", true), p2 = lu("FIXED", true), d = lu("DYNAMIC", true), w2 = lu("DEFAULT", true), y = lu("STORAGE", true), E = lu("DISK", true), h2 = lu("MEMORY", true), A = lu("ALGORITHM", true), m = lu("INSTANT", true), T = lu("INPLACE", true), R2 = lu("COPY", true), I = lu("LOCK", true), N2 = lu("NONE", true), _ = lu("SHARED", true), g = lu("EXCLUSIVE", true), S = lu("PRIMARY KEY", true), O = lu("FOREIGN KEY", true), x = lu("MATCH FULL", true), U2 = lu("MATCH PARTIAL", true), k = lu("MATCH SIMPLE", true), M2 = lu("RESTRICT", true), D = lu("CASCADE", true), P2 = lu("SET NULL", true), G2 = lu("NO ACTION", true), $ = lu("SET DEFAULT", true),
|
|
10294
|
+
}, f2 = lu("AUTO_INCREMENT", true), b = lu("UNIQUE", true), v = lu("KEY", true), L2 = lu("PRIMARY", true), C = lu("COLUMN_FORMAT", true), p2 = lu("FIXED", true), d = lu("DYNAMIC", true), w2 = lu("DEFAULT", true), y = lu("STORAGE", true), E = lu("DISK", true), h2 = lu("MEMORY", true), A = lu("ALGORITHM", true), m = lu("INSTANT", true), T = lu("INPLACE", true), R2 = lu("COPY", true), I = lu("LOCK", true), N2 = lu("NONE", true), _ = lu("SHARED", true), g = lu("EXCLUSIVE", true), S = lu("PRIMARY KEY", true), O = lu("FOREIGN KEY", true), x = lu("MATCH FULL", true), U2 = lu("MATCH PARTIAL", true), k = lu("MATCH SIMPLE", true), M2 = lu("RESTRICT", true), D = lu("CASCADE", true), P2 = lu("SET NULL", true), G2 = lu("NO ACTION", true), $ = lu("SET DEFAULT", true), F2 = lu("CHARACTER", true), j = lu("SET", true), H2 = lu("CHARSET", true), Y = lu("COLLATE", true), B = lu("AVG_ROW_LENGTH", true), W = lu("KEY_BLOCK_SIZE", true), X2 = lu("MAX_ROWS", true), q2 = lu("MIN_ROWS", true), V2 = lu("STATS_SAMPLE_PAGES", true), K = lu("CONNECTION", true), z = lu("COMPRESSION", true), Z = lu("'", false), Q = lu("ZLIB", true), J = lu("LZ4", true), rr = lu("ENGINE", true), tr = lu("READ", true), er = lu("LOCAL", true), nr = lu("LOW_PRIORITY", true), sr = lu("WRITE", true), ur = function(r3, t3) {
|
|
10277
10295
|
return Nl(r3, t3);
|
|
10278
10296
|
}, or = lu("(", false), ar = lu(")", false), ir = lu(".", false), lr = lu("UNNEST", true), cr = lu("BTREE", true), fr = lu("HASH", true), br = lu("WITH", true), vr = lu("PARSER", true), Lr = lu("VISIBLE", true), Cr = lu("INVISIBLE", true), pr = function(r3, t3) {
|
|
10279
10297
|
return t3.unshift(r3), t3.forEach((r4) => {
|
|
@@ -10833,7 +10851,7 @@ function requireNodeSqlParser() {
|
|
|
10833
10851
|
var t3, e3, n2, s2, o2, a2, i3, l2, c3;
|
|
10834
10852
|
return t3 = nu, (e3 = ga()) === u && (e3 = null), e3 !== u && rl() !== u ? ((n2 = (function() {
|
|
10835
10853
|
var t4, e4, n3;
|
|
10836
|
-
return t4 = nu, "character" === r2.substr(nu, 9).toLowerCase() ? (e4 = r2.substr(nu, 9), nu += 9) : (e4 = u, 0 === iu && vu(
|
|
10854
|
+
return t4 = nu, "character" === r2.substr(nu, 9).toLowerCase() ? (e4 = r2.substr(nu, 9), nu += 9) : (e4 = u, 0 === iu && vu(F2)), e4 !== u && rl() !== u ? ("set" === r2.substr(nu, 3).toLowerCase() ? (n3 = r2.substr(nu, 3), nu += 3) : (n3 = u, 0 === iu && vu(j)), n3 !== u ? (su = t4, t4 = e4 = "CHARACTER SET") : (nu = t4, t4 = u)) : (nu = t4, t4 = u), t4;
|
|
10837
10855
|
})()) === u && ("charset" === r2.substr(nu, 7).toLowerCase() ? (n2 = r2.substr(nu, 7), nu += 7) : (n2 = u, 0 === iu && vu(H2)), n2 === u && ("collate" === r2.substr(nu, 7).toLowerCase() ? (n2 = r2.substr(nu, 7), nu += 7) : (n2 = u, 0 === iu && vu(Y)))), n2 !== u && rl() !== u ? ((s2 = Pi()) === u && (s2 = null), s2 !== u && rl() !== u && (o2 = Wo()) !== u ? (su = t3, i3 = n2, l2 = s2, c3 = o2, t3 = e3 = { keyword: (a2 = e3) && `${a2[0].toLowerCase()} ${i3.toLowerCase()}` || i3.toLowerCase(), symbol: l2, value: c3 }) : (nu = t3, t3 = u)) : (nu = t3, t3 = u)) : (nu = t3, t3 = u), t3;
|
|
10838
10856
|
}
|
|
10839
10857
|
function ku() {
|
|
@@ -12789,7 +12807,7 @@ function requireNodeSqlParser() {
|
|
|
12789
12807
|
return pc(r3, t3);
|
|
12790
12808
|
}, f2 = Bu("=", false), b = Bu("DUPLICATE", true), v = Bu("BINARY", true), L2 = Bu("MASTER", true), C = Bu("LOGS", true), p2 = Bu("BINLOG", true), d = Bu("EVENTS", true), w2 = Bu("CHARACTER", true), y = Bu("SET", true), E = Bu("COLLATION", true), h2 = function(r3, t3) {
|
|
12791
12809
|
return pc(r3, t3, 1);
|
|
12792
|
-
}, A = Bu("IF", true), m = Bu("CASCADED", true), T = Bu("LOCAL", true), R2 = Bu("CHECK", true), I = Bu("OPTION", false), N2 = Bu("check_option", true), _ = Bu("security_barrier", true), g = Bu("security_invoker", true), S = Bu("GRANTS", true), O = Bu(".", false), x = Bu("ALGORITHM", true), U2 = Bu("DEFAULT", true), k = Bu("INSTANT", true), M2 = Bu("INPLACE", true), D = Bu("COPY", true), P2 = Bu("LOCK", true), G2 = Bu("NONE", true), $ = Bu("SHARED", true),
|
|
12810
|
+
}, A = Bu("IF", true), m = Bu("CASCADED", true), T = Bu("LOCAL", true), R2 = Bu("CHECK", true), I = Bu("OPTION", false), N2 = Bu("check_option", true), _ = Bu("security_barrier", true), g = Bu("security_invoker", true), S = Bu("GRANTS", true), O = Bu(".", false), x = Bu("ALGORITHM", true), U2 = Bu("DEFAULT", true), k = Bu("INSTANT", true), M2 = Bu("INPLACE", true), D = Bu("COPY", true), P2 = Bu("LOCK", true), G2 = Bu("NONE", true), $ = Bu("SHARED", true), F2 = Bu("EXCLUSIVE", true), j = Bu("AUTO_INCREMENT", true), H2 = Bu("UNIQUE", true), Y = Bu("KEY", true), B = Bu("PRIMARY", true), W = Bu("FOR", true), X2 = Bu("COLUMN_FORMAT", true), q2 = Bu("FIXED", true), V2 = Bu("DYNAMIC", true), K = Bu("STORAGE", true), z = Bu("DISK", true), Z = Bu("MEMORY", true), Q = Bu("MATCH FULL", true), J = Bu("MATCH PARTIAL", true), rr = Bu("MATCH SIMPLE", true), tr = Bu("expiration_timestamp", true), er = Bu("partition_expiration_days", true), nr = Bu("require_partition_filter", true), sr = Bu("kms_key_name", true), ur = Bu("friendly_name", true), or = Bu("description", true), ar = Bu("labels", true), ir = Bu("default_rounding_mode", true), lr = Bu("AVG_ROW_LENGTH", true), cr = Bu("KEY_BLOCK_SIZE", true), fr = Bu("MAX_ROWS", true), br = Bu("MIN_ROWS", true), vr = Bu("STATS_SAMPLE_PAGES", true), Lr = Bu("CONNECTION", true), Cr = Bu("COMPRESSION", true), pr = Bu("'", false), dr = Bu("ZLIB", true), wr = Bu("LZ4", true), yr = Bu("ENGINE", true), Er = Bu("CLUSTER", true), hr = Bu("BY", true), Ar = Bu("OPTIONS", true), mr = Bu("CHARSET", true), Tr = Bu("COLLATE", true), Rr = Bu("READ", true), Ir = Bu("LOW_PRIORITY", true), Nr = Bu("WRITE", true), _r = Bu("NOT", true), gr = Bu("BTREE", true), Sr = Bu("HASH", true), Or = Bu("WITH", true), xr = Bu("PARSER", true), Ur = Bu("VISIBLE", true), kr = Bu("INVISIBLE", true), Mr = Bu("RESTRICT", true), Dr = Bu("CASCADE", true), Pr = Bu("SET NULL", true), Gr = Bu("NO ACTION", true), $r = Bu("SET DEFAULT", true), Fr = Bu("UPDATE", true), jr = Bu("CREATE", true), Hr = Bu("DELETE", true), Yr = Bu("INSERT", true), Br = Bu(":=", false), Wr = Bu("return", true), Xr = Bu("REPLACE", true), qr = Bu("ANALYZE", true), Vr = Bu("ATTACH", true), Kr = Bu("DATABASE", true), zr = Bu("RENAME", true), Zr = Bu("SHOW", true), Qr = Bu("DESCRIBE", true), Jr = Bu("@", false), rt = Bu("@@", false), tt = Bu("$", false), et = Bu("TEMPORARY", true), nt = Bu("TEMP", true), st = Bu("SCHEMA", true), ut = Bu("ALTER", true), ot = Bu("SPATIAL", true), at = Bu("(", false), it = Bu(")", false), lt2 = Bu("INTERSECT", true), ct = Bu("EXCEPT", true), ft = Bu("SYSTEM_TIME", true), bt = Bu("AS", true), vt = Bu("OF", true), Lt = Bu("UNNEST", true), Ct = function(r3, t3) {
|
|
12793
12811
|
return t3.unshift(r3), t3.forEach((r4) => {
|
|
12794
12812
|
const { table: t4, as: e3 } = r4;
|
|
12795
12813
|
Tc[t4] = t4, e3 && (Tc[e3] = t4), (function(r5) {
|
|
@@ -13395,7 +13413,7 @@ function requireNodeSqlParser() {
|
|
|
13395
13413
|
}
|
|
13396
13414
|
function yo() {
|
|
13397
13415
|
var t3, e3, n2, s2;
|
|
13398
|
-
return t3 = Gu, "lock" === r2.substr(Gu, 4).toLowerCase() ? (e3 = r2.substr(Gu, 4), Gu += 4) : (e3 = u, 0 === Yu && Vu(P2)), e3 !== u && Jl() !== u ? ((n2 = $o()) === u && (n2 = null), n2 !== u && Jl() !== u ? ("default" === r2.substr(Gu, 7).toLowerCase() ? (s2 = r2.substr(Gu, 7), Gu += 7) : (s2 = u, 0 === Yu && Vu(U2)), s2 === u && ("none" === r2.substr(Gu, 4).toLowerCase() ? (s2 = r2.substr(Gu, 4), Gu += 4) : (s2 = u, 0 === Yu && Vu(G2)), s2 === u && ("shared" === r2.substr(Gu, 6).toLowerCase() ? (s2 = r2.substr(Gu, 6), Gu += 6) : (s2 = u, 0 === Yu && Vu($)), s2 === u && ("exclusive" === r2.substr(Gu, 9).toLowerCase() ? (s2 = r2.substr(Gu, 9), Gu += 9) : (s2 = u, 0 === Yu && Vu(
|
|
13416
|
+
return t3 = Gu, "lock" === r2.substr(Gu, 4).toLowerCase() ? (e3 = r2.substr(Gu, 4), Gu += 4) : (e3 = u, 0 === Yu && Vu(P2)), e3 !== u && Jl() !== u ? ((n2 = $o()) === u && (n2 = null), n2 !== u && Jl() !== u ? ("default" === r2.substr(Gu, 7).toLowerCase() ? (s2 = r2.substr(Gu, 7), Gu += 7) : (s2 = u, 0 === Yu && Vu(U2)), s2 === u && ("none" === r2.substr(Gu, 4).toLowerCase() ? (s2 = r2.substr(Gu, 4), Gu += 4) : (s2 = u, 0 === Yu && Vu(G2)), s2 === u && ("shared" === r2.substr(Gu, 6).toLowerCase() ? (s2 = r2.substr(Gu, 6), Gu += 6) : (s2 = u, 0 === Yu && Vu($)), s2 === u && ("exclusive" === r2.substr(Gu, 9).toLowerCase() ? (s2 = r2.substr(Gu, 9), Gu += 9) : (s2 = u, 0 === Yu && Vu(F2))))), s2 !== u ? ($u = t3, t3 = e3 = { type: "alter", keyword: "lock", resource: "lock", symbol: n2, lock: s2 }) : (Gu = t3, t3 = u)) : (Gu = t3, t3 = u)) : (Gu = t3, t3 = u), t3;
|
|
13399
13417
|
}
|
|
13400
13418
|
function Eo() {
|
|
13401
13419
|
var t3;
|
|
@@ -15390,7 +15408,7 @@ function requireNodeSqlParser() {
|
|
|
15390
15408
|
return Mi(r3, t3, 1);
|
|
15391
15409
|
}, l = Hs("IF", true), c2 = function(r3, t3) {
|
|
15392
15410
|
return Mi(r3, t3);
|
|
15393
|
-
}, f2 = Hs("AUTO_INCREMENT", true), b = Hs("UNIQUE", true), v = Hs("KEY", true), L2 = Hs("PRIMARY", true), C = Hs("COLUMN_FORMAT", true), p2 = Hs("FIXED", true), d = Hs("DYNAMIC", true), w2 = Hs("DEFAULT", true), y = Hs("STORAGE", true), E = Hs("DISK", true), h2 = Hs("MEMORY", true), A = Hs("ALGORITHM", true), m = Hs("INSTANT", true), T = Hs("INPLACE", true), R2 = Hs("COPY", true), I = Hs("LOCK", true), N2 = Hs("NONE", true), _ = Hs("SHARED", true), g = Hs("EXCLUSIVE", true), S = Hs("CHECK", true), O = Hs("NOCHECK", true), x = Hs("PRIMARY KEY", true), U2 = Hs("NOT", true), k = Hs("FOR", true), M2 = Hs("REPLICATION", true), D = Hs("FOREIGN KEY", true), P2 = Hs("MATCH FULL", true), G2 = Hs("MATCH PARTIAL", true), $ = Hs("MATCH SIMPLE", true),
|
|
15411
|
+
}, f2 = Hs("AUTO_INCREMENT", true), b = Hs("UNIQUE", true), v = Hs("KEY", true), L2 = Hs("PRIMARY", true), C = Hs("COLUMN_FORMAT", true), p2 = Hs("FIXED", true), d = Hs("DYNAMIC", true), w2 = Hs("DEFAULT", true), y = Hs("STORAGE", true), E = Hs("DISK", true), h2 = Hs("MEMORY", true), A = Hs("ALGORITHM", true), m = Hs("INSTANT", true), T = Hs("INPLACE", true), R2 = Hs("COPY", true), I = Hs("LOCK", true), N2 = Hs("NONE", true), _ = Hs("SHARED", true), g = Hs("EXCLUSIVE", true), S = Hs("CHECK", true), O = Hs("NOCHECK", true), x = Hs("PRIMARY KEY", true), U2 = Hs("NOT", true), k = Hs("FOR", true), M2 = Hs("REPLICATION", true), D = Hs("FOREIGN KEY", true), P2 = Hs("MATCH FULL", true), G2 = Hs("MATCH PARTIAL", true), $ = Hs("MATCH SIMPLE", true), F2 = Hs("RESTRICT", true), j = Hs("CASCADE", true), H2 = Hs("SET NULL", true), Y = Hs("NO ACTION", true), B = Hs("SET DEFAULT", true), W = Hs("CHARACTER", true), X2 = Hs("SET", true), q2 = Hs("CHARSET", true), V2 = Hs("COLLATE", true), K = Hs("AVG_ROW_LENGTH", true), z = Hs("KEY_BLOCK_SIZE", true), Z = Hs("MAX_ROWS", true), Q = Hs("MIN_ROWS", true), J = Hs("STATS_SAMPLE_PAGES", true), rr = Hs("CONNECTION", true), tr = Hs("COMPRESSION", true), er = Hs("'", false), nr = Hs("ZLIB", true), sr = Hs("LZ4", true), ur = Hs("ENGINE", true), or = Hs("READ", true), ar = Hs("LOCAL", true), ir = Hs("LOW_PRIORITY", true), lr = Hs("WRITE", true), cr = function(r3, t3) {
|
|
15394
15412
|
return Mi(r3, t3);
|
|
15395
15413
|
}, fr = Hs("(", false), br = Hs(")", false), vr = Hs("BTREE", true), Lr = Hs("HASH", true), Cr = Hs("WITH", true), pr = Hs("PARSER", true), dr = Hs("VISIBLE", true), wr = Hs("INVISIBLE", true), yr = function(r3, t3) {
|
|
15396
15414
|
return t3.unshift(r3), t3.forEach((r4) => {
|
|
@@ -15971,7 +15989,7 @@ function requireNodeSqlParser() {
|
|
|
15971
15989
|
return t3 = Ds, la() !== u && ci() !== u ? ((e3 = Jo()) === u && (e3 = zo()), e3 !== u && ci() !== u && (n2 = (function() {
|
|
15972
15990
|
var t4, e4, n3;
|
|
15973
15991
|
t4 = Ds, (e4 = Xa()) !== u && ci() !== u && si() !== u && ci() !== u ? ((n3 = Vu()) === u && (n3 = null), n3 !== u && ci() !== u && ui() !== u ? (Ps = t4, t4 = e4 = { type: "function", name: { name: [{ type: "origin", value: e4 }] }, args: n3 }) : (Ds = t4, t4 = u)) : (Ds = t4, t4 = u);
|
|
15974
|
-
t4 === u && (t4 = Ds, "restrict" === r2.substr(Ds, 8).toLowerCase() ? (e4 = r2.substr(Ds, 8), Ds += 8) : (e4 = u, 0 === js && Xs(
|
|
15992
|
+
t4 === u && (t4 = Ds, "restrict" === r2.substr(Ds, 8).toLowerCase() ? (e4 = r2.substr(Ds, 8), Ds += 8) : (e4 = u, 0 === js && Xs(F2)), e4 === u && ("cascade" === r2.substr(Ds, 7).toLowerCase() ? (e4 = r2.substr(Ds, 7), Ds += 7) : (e4 = u, 0 === js && Xs(j)), e4 === u && ("set null" === r2.substr(Ds, 8).toLowerCase() ? (e4 = r2.substr(Ds, 8), Ds += 8) : (e4 = u, 0 === js && Xs(H2)), e4 === u && ("no action" === r2.substr(Ds, 9).toLowerCase() ? (e4 = r2.substr(Ds, 9), Ds += 9) : (e4 = u, 0 === js && Xs(Y)), e4 === u && ("set default" === r2.substr(Ds, 11).toLowerCase() ? (e4 = r2.substr(Ds, 11), Ds += 11) : (e4 = u, 0 === js && Xs(B)), e4 === u && (e4 = Xa()))))), e4 !== u && (Ps = t4, e4 = { type: "origin", value: e4.toLowerCase() }), t4 = e4);
|
|
15975
15993
|
return t4;
|
|
15976
15994
|
})()) !== u ? (Ps = t3, s2 = n2, t3 = { type: "on " + e3[0].toLowerCase(), value: s2 }) : (Ds = t3, t3 = u)) : (Ds = t3, t3 = u), t3;
|
|
15977
15995
|
}
|
|
@@ -17719,7 +17737,7 @@ function requireNodeSqlParser() {
|
|
|
17719
17737
|
t2 = void 0 !== t2 ? t2 : {};
|
|
17720
17738
|
var e2, u = {}, o = { start: ao }, a = ao, i2 = to("IF", true), l = to("EXTENSION", true), c2 = to("SCHEMA", true), f2 = to("VERSION", true), b = function(r3, t3) {
|
|
17721
17739
|
return _c(r3, t3, 1);
|
|
17722
|
-
}, v = to("NULLS", true), L2 = to("FIRST", true), C = to("LAST", true), p2 = to("AUTO_INCREMENT", true), d = to("UNIQUE", true), w2 = to("KEY", true), y = to("PRIMARY", true), E = to("COLUMN_FORMAT", true), h2 = to("FIXED", true), A = to("DYNAMIC", true), m = to("DEFAULT", true), T = to("STORAGE", true), R2 = to("DISK", true), I = to("MEMORY", true), N2 = to("ALGORITHM", true), _ = to("INSTANT", true), g = to("INPLACE", true), S = to("COPY", true), O = to("LOCK", true), x = to("NONE", true), U2 = to("SHARED", true), k = to("EXCLUSIVE", true), M2 = to("PRIMARY KEY", true), D = to("FOREIGN KEY", true), P2 = to("MATCH FULL", true), G2 = to("MATCH PARTIAL", true), $ = to("MATCH SIMPLE", true),
|
|
17740
|
+
}, v = to("NULLS", true), L2 = to("FIRST", true), C = to("LAST", true), p2 = to("AUTO_INCREMENT", true), d = to("UNIQUE", true), w2 = to("KEY", true), y = to("PRIMARY", true), E = to("COLUMN_FORMAT", true), h2 = to("FIXED", true), A = to("DYNAMIC", true), m = to("DEFAULT", true), T = to("STORAGE", true), R2 = to("DISK", true), I = to("MEMORY", true), N2 = to("ALGORITHM", true), _ = to("INSTANT", true), g = to("INPLACE", true), S = to("COPY", true), O = to("LOCK", true), x = to("NONE", true), U2 = to("SHARED", true), k = to("EXCLUSIVE", true), M2 = to("PRIMARY KEY", true), D = to("FOREIGN KEY", true), P2 = to("MATCH FULL", true), G2 = to("MATCH PARTIAL", true), $ = to("MATCH SIMPLE", true), F2 = to("RESTRICT", true), j = to("CASCADE", true), H2 = to("SET NULL", true), Y = to("NO ACTION", true), B = to("SET DEFAULT", true), W = to("TRIGGER", true), X2 = to("BEFORE", true), q2 = to("AFTER", true), V2 = to("INSTEAD OF", true), K = to("ON", true), z = to("EXECUTE", true), Z = to("PROCEDURE", true), Q = to("FUNCTION", true), J = to("OF", true), rr = to("NOT", true), tr = to("DEFERRABLE", true), er = to("INITIALLY IMMEDIATE", true), nr = to("INITIALLY DEFERRED", true), sr = to("FOR", true), ur = to("EACH", true), or = to("ROW", true), ar = to("STATEMENT", true), ir = to("CHARACTER", true), lr = to("SET", true), cr = to("CHARSET", true), fr = to("COLLATE", true), br = to("AVG_ROW_LENGTH", true), vr = to("KEY_BLOCK_SIZE", true), Lr = to("MAX_ROWS", true), Cr = to("MIN_ROWS", true), pr = to("STATS_SAMPLE_PAGES", true), dr = to("CONNECTION", true), wr = to("COMPRESSION", true), yr = to("'", false), Er = to("ZLIB", true), hr = to("LZ4", true), Ar = to("ENGINE", true), mr = to("IN", true), Tr = to("ACCESS SHARE", true), Rr = to("ROW SHARE", true), Ir = to("ROW EXCLUSIVE", true), Nr = to("SHARE UPDATE EXCLUSIVE", true), _r = to("SHARE ROW EXCLUSIVE", true), gr = to("ACCESS EXCLUSIVE", true), Sr = to("SHARE", true), Or = to("MODE", true), xr = to("NOWAIT", true), Ur = to("(", false), kr = to(")", false), Mr = to("BTREE", true), Dr = to("HASH", true), Pr = to("GIST", true), Gr = to("GIN", true), $r = to("WITH", true), Fr = to("PARSER", true), jr = to("VISIBLE", true), Hr = to("INVISIBLE", true), Yr = function(r3, t3) {
|
|
17723
17741
|
return t3.unshift(r3), t3.forEach((r4) => {
|
|
17724
17742
|
const { table: t4, as: e3 } = r4;
|
|
17725
17743
|
Dc[t4] = t4, e3 && (Dc[e3] = t4), (function(r5) {
|
|
@@ -18319,7 +18337,7 @@ function requireNodeSqlParser() {
|
|
|
18319
18337
|
return t3 = Ku, ji() !== u && nc() !== u ? ((e3 = Si()) === u && (e3 = Ni()), e3 !== u && nc() !== u && (n2 = (function() {
|
|
18320
18338
|
var t4, e4, n3;
|
|
18321
18339
|
t4 = Ku, (e4 = xl()) !== u && nc() !== u && Xl() !== u && nc() !== u ? ((n3 = fa()) === u && (n3 = null), n3 !== u && nc() !== u && ql() !== u ? (zu = t4, t4 = e4 = { type: "function", name: { name: [{ type: "origin", value: e4 }] }, args: n3 }) : (Ku = t4, t4 = u)) : (Ku = t4, t4 = u);
|
|
18322
|
-
t4 === u && (t4 = Ku, "restrict" === r2.substr(Ku, 8).toLowerCase() ? (e4 = r2.substr(Ku, 8), Ku += 8) : (e4 = u, 0 === ro && uo(
|
|
18340
|
+
t4 === u && (t4 = Ku, "restrict" === r2.substr(Ku, 8).toLowerCase() ? (e4 = r2.substr(Ku, 8), Ku += 8) : (e4 = u, 0 === ro && uo(F2)), e4 === u && ("cascade" === r2.substr(Ku, 7).toLowerCase() ? (e4 = r2.substr(Ku, 7), Ku += 7) : (e4 = u, 0 === ro && uo(j)), e4 === u && ("set null" === r2.substr(Ku, 8).toLowerCase() ? (e4 = r2.substr(Ku, 8), Ku += 8) : (e4 = u, 0 === ro && uo(H2)), e4 === u && ("no action" === r2.substr(Ku, 9).toLowerCase() ? (e4 = r2.substr(Ku, 9), Ku += 9) : (e4 = u, 0 === ro && uo(Y)), e4 === u && ("set default" === r2.substr(Ku, 11).toLowerCase() ? (e4 = r2.substr(Ku, 11), Ku += 11) : (e4 = u, 0 === ro && uo(B)), e4 === u && (e4 = xl()))))), e4 !== u && (zu = t4, e4 = { type: "origin", value: e4.toLowerCase() }), t4 = e4);
|
|
18323
18341
|
return t4;
|
|
18324
18342
|
})()) !== u ? (zu = t3, s2 = n2, t3 = { type: "on " + e3[0].toLowerCase(), value: s2 }) : (Ku = t3, t3 = u)) : (Ku = t3, t3 = u), t3;
|
|
18325
18343
|
}
|
|
@@ -20356,7 +20374,7 @@ function requireNodeSqlParser() {
|
|
|
20356
20374
|
return Ti(r3, t3, 1);
|
|
20357
20375
|
}, l = Ns("IF", true), c2 = function(r3, t3) {
|
|
20358
20376
|
return Ti(r3, t3);
|
|
20359
|
-
}, f2 = Ns("AUTO_INCREMENT", true), b = Ns("UNIQUE", true), v = Ns("KEY", true), L2 = Ns("PRIMARY", true), C = Ns("COLUMN_FORMAT", true), p2 = Ns("FIXED", true), d = Ns("DYNAMIC", true), w2 = Ns("DEFAULT", true), y = Ns("STORAGE", true), E = Ns("DISK", true), h2 = Ns("MEMORY", true), A = Ns("ALGORITHM", true), m = Ns("INSTANT", true), T = Ns("INPLACE", true), R2 = Ns("COPY", true), I = Ns("LOCK", true), N2 = Ns("NONE", true), _ = Ns("SHARED", true), g = Ns("EXCLUSIVE", true), S = Ns("PRIMARY KEY", true), O = Ns("FOREIGN KEY", true), x = Ns("MATCH FULL", true), U2 = Ns("MATCH PARTIAL", true), k = Ns("MATCH SIMPLE", true), M2 = Ns("RESTRICT", true), D = Ns("CASCADE", true), P2 = Ns("SET NULL", true), G2 = Ns("NO ACTION", true), $ = Ns("SET DEFAULT", true),
|
|
20377
|
+
}, f2 = Ns("AUTO_INCREMENT", true), b = Ns("UNIQUE", true), v = Ns("KEY", true), L2 = Ns("PRIMARY", true), C = Ns("COLUMN_FORMAT", true), p2 = Ns("FIXED", true), d = Ns("DYNAMIC", true), w2 = Ns("DEFAULT", true), y = Ns("STORAGE", true), E = Ns("DISK", true), h2 = Ns("MEMORY", true), A = Ns("ALGORITHM", true), m = Ns("INSTANT", true), T = Ns("INPLACE", true), R2 = Ns("COPY", true), I = Ns("LOCK", true), N2 = Ns("NONE", true), _ = Ns("SHARED", true), g = Ns("EXCLUSIVE", true), S = Ns("PRIMARY KEY", true), O = Ns("FOREIGN KEY", true), x = Ns("MATCH FULL", true), U2 = Ns("MATCH PARTIAL", true), k = Ns("MATCH SIMPLE", true), M2 = Ns("RESTRICT", true), D = Ns("CASCADE", true), P2 = Ns("SET NULL", true), G2 = Ns("NO ACTION", true), $ = Ns("SET DEFAULT", true), F2 = Ns("CHARACTER", true), j = Ns("SET", true), H2 = Ns("CHARSET", true), Y = Ns("COLLATE", true), B = Ns("AVG_ROW_LENGTH", true), W = Ns("KEY_BLOCK_SIZE", true), X2 = Ns("MAX_ROWS", true), q2 = Ns("MIN_ROWS", true), V2 = Ns("STATS_SAMPLE_PAGES", true), K = Ns("CONNECTION", true), z = Ns("COMPRESSION", true), Z = Ns("'", false), Q = Ns("ZLIB", true), J = Ns("LZ4", true), rr = Ns("ENGINE", true), tr = Ns("READ", true), er = Ns("LOCAL", true), nr = Ns("LOW_PRIORITY", true), sr = Ns("WRITE", true), ur = function(r3, t3) {
|
|
20360
20378
|
return Ti(r3, t3);
|
|
20361
20379
|
}, or = Ns("(", false), ar = Ns(")", false), ir = Ns(".", false), lr = Ns("BTREE", true), cr = Ns("HASH", true), fr = Ns("WITH", true), br = Ns("PARSER", true), vr = Ns("VISIBLE", true), Lr = Ns("INVISIBLE", true), Cr = function(r3, t3) {
|
|
20362
20380
|
return t3.unshift(r3), t3.forEach((r4) => {
|
|
@@ -20919,7 +20937,7 @@ function requireNodeSqlParser() {
|
|
|
20919
20937
|
var t3, e3, n2, s2, o2, a2, i3, l2, c3;
|
|
20920
20938
|
return t3 = hs, (e3 = Po()) === u && (e3 = null), e3 !== u && Ja() !== u ? ((n2 = (function() {
|
|
20921
20939
|
var t4, e4, n3;
|
|
20922
|
-
return t4 = hs, "character" === r2.substr(hs, 9).toLowerCase() ? (e4 = r2.substr(hs, 9), hs += 9) : (e4 = u, 0 === Is && Os(
|
|
20940
|
+
return t4 = hs, "character" === r2.substr(hs, 9).toLowerCase() ? (e4 = r2.substr(hs, 9), hs += 9) : (e4 = u, 0 === Is && Os(F2)), e4 !== u && Ja() !== u ? ("set" === r2.substr(hs, 3).toLowerCase() ? (n3 = r2.substr(hs, 3), hs += 3) : (n3 = u, 0 === Is && Os(j)), n3 !== u ? (As = t4, t4 = e4 = "CHARACTER SET") : (hs = t4, t4 = u)) : (hs = t4, t4 = u), t4;
|
|
20923
20941
|
})()) === u && ("charset" === r2.substr(hs, 7).toLowerCase() ? (n2 = r2.substr(hs, 7), hs += 7) : (n2 = u, 0 === Is && Os(H2)), n2 === u && ("collate" === r2.substr(hs, 7).toLowerCase() ? (n2 = r2.substr(hs, 7), hs += 7) : (n2 = u, 0 === Is && Os(Y)))), n2 !== u && Ja() !== u ? ((s2 = Ga()) === u && (s2 = null), s2 !== u && Ja() !== u && (o2 = so()) !== u ? (As = t3, i3 = n2, l2 = s2, c3 = o2, t3 = e3 = { keyword: (a2 = e3) && `${a2[0].toLowerCase()} ${i3.toLowerCase()}` || i3.toLowerCase(), symbol: l2, value: c3 }) : (hs = t3, t3 = u)) : (hs = t3, t3 = u)) : (hs = t3, t3 = u), t3;
|
|
20924
20942
|
}
|
|
20925
20943
|
function Qs() {
|
|
@@ -22708,7 +22726,7 @@ function requireNodeSqlParser() {
|
|
|
22708
22726
|
return vL(r3, t3);
|
|
22709
22727
|
}, E = nl("role", true), h2 = nl("NONE", true), A = nl("SSL", true), m = nl("X509", true), T = nl("CIPHER", true), R2 = nl("ISSUER", true), I = nl("SUBJECT", true), N2 = function(r3, t3) {
|
|
22710
22728
|
return t3.prefix = r3.toLowerCase(), t3;
|
|
22711
|
-
}, _ = nl("REQUIRE", true), g = nl("MAX_QUERIES_PER_HOUR", true), S = nl("MAX_UPDATES_PER_HOUR", true), O = nl("MAX_CONNECTIONS_PER_HOUR", true), x = nl("MAX_USER_CONNECTIONS", true), U2 = nl("EXPIRE", true), k = nl("DEFAULT", true), M2 = nl("NEVER", true), D = nl("HISTORY", true), P2 = nl("REUSE", false), G2 = nl("CURRENT", true), $ = nl("OPTIONAL", true),
|
|
22729
|
+
}, _ = nl("REQUIRE", true), g = nl("MAX_QUERIES_PER_HOUR", true), S = nl("MAX_UPDATES_PER_HOUR", true), O = nl("MAX_CONNECTIONS_PER_HOUR", true), x = nl("MAX_USER_CONNECTIONS", true), U2 = nl("EXPIRE", true), k = nl("DEFAULT", true), M2 = nl("NEVER", true), D = nl("HISTORY", true), P2 = nl("REUSE", false), G2 = nl("CURRENT", true), $ = nl("OPTIONAL", true), F2 = nl("FAILED_LOGIN_ATTEMPTS", true), j = nl("PASSWORD_LOCK_TIME", true), H2 = nl("UNBOUNDED", true), Y = nl("ACCOUNT", true), B = nl("LOCK", true), W = nl("UNLOCK", true), X2 = nl("ATTRIBUTE", true), q2 = nl("CASCADED", true), V2 = nl("LOCAL", true), K = nl("CHECK", true), z = nl("OPTION", false), Z = nl("ALGORITHM", true), Q = nl("UNDEFINED", true), J = nl("MERGE", true), rr = nl("TEMPTABLE", true), tr = nl("SQL", true), er = nl("SECURITY", true), nr = nl("DEFINER", true), sr = nl("INVOKER", true), ur = function(r3, t3) {
|
|
22712
22730
|
return vL(r3, t3);
|
|
22713
22731
|
}, or = nl("AUTO_INCREMENT", true), ar = nl("UNIQUE", true), ir = nl("KEY", true), lr = nl("PRIMARY", true), cr = nl("@", false), fr = function() {
|
|
22714
22732
|
return fL("=", { type: "origin", value: "definer" }, { type: "function", name: { name: [{ type: "default", value: "current_user" }] }, args: { type: "expr_list", value: [] } });
|
|
@@ -23390,7 +23408,7 @@ function requireNodeSqlParser() {
|
|
|
23390
23408
|
return { keyword: "password reuse", value: r3 };
|
|
23391
23409
|
})(s2)) : (Zi = t3, t3 = u)) : (Zi = t3, t3 = u), t3 === u && (t3 = Zi, "password" === r2.substr(Zi, 8).toLowerCase() ? (e3 = r2.substr(Zi, 8), Zi += 8) : (e3 = u, 0 === el2 && al(d)), e3 !== u && Gv() !== u ? ("require" === r2.substr(Zi, 7).toLowerCase() ? (n2 = r2.substr(Zi, 7), Zi += 7) : (n2 = u, 0 === el2 && al(_)), n2 !== u && Gv() !== u ? ("current" === r2.substr(Zi, 7).toLowerCase() ? (s2 = r2.substr(Zi, 7), Zi += 7) : (s2 = u, 0 === el2 && al(G2)), s2 !== u && Gv() !== u ? ("default" === r2.substr(Zi, 7).toLowerCase() ? (o2 = r2.substr(Zi, 7), Zi += 7) : (o2 = u, 0 === el2 && al(k)), o2 === u && ("optional" === r2.substr(Zi, 8).toLowerCase() ? (o2 = r2.substr(Zi, 8), Zi += 8) : (o2 = u, 0 === el2 && al($))), o2 !== u ? (Qi = t3, t3 = e3 = /* @__PURE__ */ (function(r3) {
|
|
23392
23410
|
return { keyword: "password require current", value: { type: "origin", value: r3 } };
|
|
23393
|
-
})(o2)) : (Zi = t3, t3 = u)) : (Zi = t3, t3 = u)) : (Zi = t3, t3 = u)) : (Zi = t3, t3 = u), t3 === u && (t3 = Zi, "failed_login_attempts" === r2.substr(Zi, 21).toLowerCase() ? (e3 = r2.substr(Zi, 21), Zi += 21) : (e3 = u, 0 === el2 && al(
|
|
23411
|
+
})(o2)) : (Zi = t3, t3 = u)) : (Zi = t3, t3 = u)) : (Zi = t3, t3 = u)) : (Zi = t3, t3 = u), t3 === u && (t3 = Zi, "failed_login_attempts" === r2.substr(Zi, 21).toLowerCase() ? (e3 = r2.substr(Zi, 21), Zi += 21) : (e3 = u, 0 === el2 && al(F2)), e3 !== u && Gv() !== u && (n2 = Xf()) !== u ? (Qi = t3, t3 = e3 = /* @__PURE__ */ (function(r3) {
|
|
23394
23412
|
return { keyword: "failed_login_attempts", value: r3 };
|
|
23395
23413
|
})(n2)) : (Zi = t3, t3 = u), t3 === u && (t3 = Zi, "password_lock_time" === r2.substr(Zi, 18).toLowerCase() ? (e3 = r2.substr(Zi, 18), Zi += 18) : (e3 = u, 0 === el2 && al(j)), e3 !== u && Gv() !== u ? ((n2 = Xf()) === u && ("unbounded" === r2.substr(Zi, 9).toLowerCase() ? (n2 = r2.substr(Zi, 9), Zi += 9) : (n2 = u, 0 === el2 && al(H2))), n2 !== u ? (Qi = t3, t3 = e3 = /* @__PURE__ */ (function(r3) {
|
|
23396
23414
|
return { keyword: "password_lock_time", value: "string" == typeof r3 ? { type: "origin", value: r3 } : r3 };
|
|
@@ -26046,7 +26064,7 @@ function requireNodeSqlParser() {
|
|
|
26046
26064
|
return Zv(r3, t3);
|
|
26047
26065
|
}, E = qi("role", true), h2 = qi("NONE", true), A = qi("SSL", true), m = qi("X509", true), T = qi("CIPHER", true), R2 = qi("ISSUER", true), I = qi("SUBJECT", true), N2 = function(r3, t3) {
|
|
26048
26066
|
return t3.prefix = r3.toLowerCase(), t3;
|
|
26049
|
-
}, _ = qi("REQUIRE", true), g = qi("MAX_QUERIES_PER_HOUR", true), S = qi("MAX_UPDATES_PER_HOUR", true), O = qi("MAX_CONNECTIONS_PER_HOUR", true), x = qi("MAX_USER_CONNECTIONS", true), U2 = qi("EXPIRE", true), k = qi("DEFAULT", true), M2 = qi("NEVER", true), D = qi("HISTORY", true), P2 = qi("REUSE", false), G2 = qi("CURRENT", true), $ = qi("OPTIONAL", true),
|
|
26067
|
+
}, _ = qi("REQUIRE", true), g = qi("MAX_QUERIES_PER_HOUR", true), S = qi("MAX_UPDATES_PER_HOUR", true), O = qi("MAX_CONNECTIONS_PER_HOUR", true), x = qi("MAX_USER_CONNECTIONS", true), U2 = qi("EXPIRE", true), k = qi("DEFAULT", true), M2 = qi("NEVER", true), D = qi("HISTORY", true), P2 = qi("REUSE", false), G2 = qi("CURRENT", true), $ = qi("OPTIONAL", true), F2 = qi("FAILED_LOGIN_ATTEMPTS", true), j = qi("PASSWORD_LOCK_TIME", true), H2 = qi("UNBOUNDED", true), Y = qi("ACCOUNT", true), B = qi("LOCK", true), W = qi("UNLOCK", true), X2 = qi("ATTRIBUTE", true), q2 = qi("CASCADED", true), V2 = qi("LOCAL", true), K = qi("CHECK", true), z = qi("OPTION", false), Z = qi("ALGORITHM", true), Q = qi("UNDEFINED", true), J = qi("MERGE", true), rr = qi("TEMPTABLE", true), tr = qi("SQL", true), er = qi("SECURITY", true), nr = qi("DEFINER", true), sr = qi("INVOKER", true), ur = function(r3, t3) {
|
|
26050
26068
|
return Zv(r3, t3);
|
|
26051
26069
|
}, or = qi("AUTO_INCREMENT", true), ar = qi("UNIQUE", true), ir = qi("KEY", true), lr = qi("PRIMARY", true), cr = qi("@", false), fr = function() {
|
|
26052
26070
|
return Kv("=", { type: "origin", value: "definer" }, { type: "function", name: { name: [{ type: "default", value: "current_user" }] }, args: { type: "expr_list", value: [] } });
|
|
@@ -26715,7 +26733,7 @@ function requireNodeSqlParser() {
|
|
|
26715
26733
|
return { keyword: "password reuse", value: r3 };
|
|
26716
26734
|
})(s2)) : (ji = t3, t3 = u)) : (ji = t3, t3 = u), t3 === u && (t3 = ji, "password" === r2.substr(ji, 8).toLowerCase() ? (e3 = r2.substr(ji, 8), ji += 8) : (e3 = u, 0 === Xi && Zi(d)), e3 !== u && hv() !== u ? ("require" === r2.substr(ji, 7).toLowerCase() ? (n2 = r2.substr(ji, 7), ji += 7) : (n2 = u, 0 === Xi && Zi(_)), n2 !== u && hv() !== u ? ("current" === r2.substr(ji, 7).toLowerCase() ? (s2 = r2.substr(ji, 7), ji += 7) : (s2 = u, 0 === Xi && Zi(G2)), s2 !== u && hv() !== u ? ("default" === r2.substr(ji, 7).toLowerCase() ? (o2 = r2.substr(ji, 7), ji += 7) : (o2 = u, 0 === Xi && Zi(k)), o2 === u && ("optional" === r2.substr(ji, 8).toLowerCase() ? (o2 = r2.substr(ji, 8), ji += 8) : (o2 = u, 0 === Xi && Zi($))), o2 !== u ? (Hi = t3, t3 = e3 = /* @__PURE__ */ (function(r3) {
|
|
26717
26735
|
return { keyword: "password require current", value: { type: "origin", value: r3 } };
|
|
26718
|
-
})(o2)) : (ji = t3, t3 = u)) : (ji = t3, t3 = u)) : (ji = t3, t3 = u)) : (ji = t3, t3 = u), t3 === u && (t3 = ji, "failed_login_attempts" === r2.substr(ji, 21).toLowerCase() ? (e3 = r2.substr(ji, 21), ji += 21) : (e3 = u, 0 === Xi && Zi(
|
|
26736
|
+
})(o2)) : (ji = t3, t3 = u)) : (ji = t3, t3 = u)) : (ji = t3, t3 = u)) : (ji = t3, t3 = u), t3 === u && (t3 = ji, "failed_login_attempts" === r2.substr(ji, 21).toLowerCase() ? (e3 = r2.substr(ji, 21), ji += 21) : (e3 = u, 0 === Xi && Zi(F2)), e3 !== u && hv() !== u && (n2 = kf()) !== u ? (Hi = t3, t3 = e3 = /* @__PURE__ */ (function(r3) {
|
|
26719
26737
|
return { keyword: "failed_login_attempts", value: r3 };
|
|
26720
26738
|
})(n2)) : (ji = t3, t3 = u), t3 === u && (t3 = ji, "password_lock_time" === r2.substr(ji, 18).toLowerCase() ? (e3 = r2.substr(ji, 18), ji += 18) : (e3 = u, 0 === Xi && Zi(j)), e3 !== u && hv() !== u ? ((n2 = kf()) === u && ("unbounded" === r2.substr(ji, 9).toLowerCase() ? (n2 = r2.substr(ji, 9), ji += 9) : (n2 = u, 0 === Xi && Zi(H2))), n2 !== u ? (Hi = t3, t3 = e3 = /* @__PURE__ */ (function(r3) {
|
|
26721
26739
|
return { keyword: "password_lock_time", value: "string" == typeof r3 ? { type: "origin", value: r3 } : r3 };
|
|
@@ -29238,7 +29256,7 @@ function requireNodeSqlParser() {
|
|
|
29238
29256
|
})(t2) + " found.";
|
|
29239
29257
|
}, r.exports = { SyntaxError: s, parse: function(r2, t2) {
|
|
29240
29258
|
t2 = void 0 !== t2 ? t2 : {};
|
|
29241
|
-
var e2, u = {}, o = { start: Ui }, a = Ui, i2 = Ni("IF", true), l = Ni("EXTENSION", true), c2 = Ni("SCHEMA", true), f2 = Ni("VERSION", true), b = Ni("CASCADED", true), v = Ni("LOCAL", true), L2 = Ni("CHECK", true), C = Ni("OPTION", false), p2 = Ni("check_option", true), d = Ni("security_barrier", true), w2 = Ni("security_invoker", true), y = Ni("SFUNC", true), E = Ni("STYPE", true), h2 = Ni("AGGREGATE", true), A = Ni("RETURNS", true), m = Ni("SETOF", true), T = Ni("CONSTANT", true), R2 = Ni(":=", false), I = Ni("BEGIN", true), N2 = Ni("DECLARE", true), _ = Ni("LANGUAGE", false), g = Ni("TRANSORM", true), S = Ni("FOR", false), O = Ni("TYPE", false), x = Ni("WINDOW", true), U2 = Ni("IMMUTABLE", true), k = Ni("STABLE", true), M2 = Ni("VOLATILE", true), D = Ni("STRICT", true), P2 = Ni("NOT", true), G2 = Ni("LEAKPROOF", true), $ = Ni("CALLED", true),
|
|
29259
|
+
var e2, u = {}, o = { start: Ui }, a = Ui, i2 = Ni("IF", true), l = Ni("EXTENSION", true), c2 = Ni("SCHEMA", true), f2 = Ni("VERSION", true), b = Ni("CASCADED", true), v = Ni("LOCAL", true), L2 = Ni("CHECK", true), C = Ni("OPTION", false), p2 = Ni("check_option", true), d = Ni("security_barrier", true), w2 = Ni("security_invoker", true), y = Ni("SFUNC", true), E = Ni("STYPE", true), h2 = Ni("AGGREGATE", true), A = Ni("RETURNS", true), m = Ni("SETOF", true), T = Ni("CONSTANT", true), R2 = Ni(":=", false), I = Ni("BEGIN", true), N2 = Ni("DECLARE", true), _ = Ni("LANGUAGE", false), g = Ni("TRANSORM", true), S = Ni("FOR", false), O = Ni("TYPE", false), x = Ni("WINDOW", true), U2 = Ni("IMMUTABLE", true), k = Ni("STABLE", true), M2 = Ni("VOLATILE", true), D = Ni("STRICT", true), P2 = Ni("NOT", true), G2 = Ni("LEAKPROOF", true), $ = Ni("CALLED", true), F2 = Ni("NULL", true), j = Ni("ON", true), H2 = Ni("INPUT", true), Y = Ni("EXTERNAL", true), B = Ni("SECURITY", true), W = Ni("INVOKER", true), X2 = Ni("DEFINER", true), q2 = Ni("PARALLEL", true), V2 = Ni("UNSAFE", true), K = Ni("RESTRICTED", true), z = Ni("SAFE", true), Z = /^[^ s\t\n\r]/, Q = _i([" ", "s", " ", "\n", "\r"], true, false), J = /^[^ s\t\n\r;]/, rr = _i([" ", "s", " ", "\n", "\r", ";"], true, false), tr = Ni("COST", true), er = Ni("ROWS", true), nr = Ni("SUPPORT", true), sr = Ni("TO", true), ur = Ni("=", false), or = Ni("CURRENT", true), ar = Ni("FUNCTION", true), ir = Ni("TYPE", true), lr = Ni("DOMAIN", true), cr = Ni("INCREMENT", true), fr = Ni("MINVALUE", true), br = function(r3, t3) {
|
|
29242
29260
|
return { resource: "sequence", prefix: r3.toLowerCase(), value: t3 };
|
|
29243
29261
|
}, vr = Ni("NO", true), Lr = Ni("MAXVALUE", true), Cr = Ni("START", true), pr = Ni("CACHE", true), dr = Ni("CYCLE", true), wr = Ni("OWNED", true), yr = Ni("NONE", true), Er = Ni("NULLS", true), hr = Ni("FIRST", true), Ar = Ni("LAST", true), mr = Ni("AUTO_INCREMENT", true), Tr = Ni("UNIQUE", true), Rr = Ni("KEY", true), Ir = Ni("PRIMARY", true), Nr = Ni("COLUMN_FORMAT", true), _r = Ni("FIXED", true), gr = Ni("DYNAMIC", true), Sr = Ni("DEFAULT", true), Or = Ni("STORAGE", true), xr = Ni("DISK", true), Ur = Ni("MEMORY", true), kr = Ni("CASCADE", true), Mr = Ni("RESTRICT", true), Dr = Ni("OUT", true), Pr = Ni("VARIADIC", true), Gr = Ni("INOUT", true), $r = Ni("OWNER", true), Fr = Ni("CURRENT_ROLE", true), jr = Ni("CURRENT_USER", true), Hr = Ni("SESSION_USER", true), Yr = Ni("ALGORITHM", true), Br = Ni("INSTANT", true), Wr = Ni("INPLACE", true), Xr = Ni("COPY", true), qr = Ni("LOCK", true), Vr = Ni("SHARED", true), Kr = Ni("EXCLUSIVE", true), zr = Ni("PRIMARY KEY", true), Zr = Ni("FOREIGN KEY", true), Qr = Ni("MATCH FULL", true), Jr = Ni("MATCH PARTIAL", true), rt = Ni("MATCH SIMPLE", true), tt = Ni("SET NULL", true), et = Ni("NO ACTION", true), nt = Ni("SET DEFAULT", true), st = Ni("TRIGGER", true), ut = Ni("BEFORE", true), ot = Ni("AFTER", true), at = Ni("INSTEAD OF", true), it = Ni("EXECUTE", true), lt2 = Ni("PROCEDURE", true), ct = Ni("OF", true), ft = Ni("DEFERRABLE", true), bt = Ni("INITIALLY IMMEDIATE", true), vt = Ni("INITIALLY DEFERRED", true), Lt = Ni("FOR", true), Ct = Ni("EACH", true), pt = Ni("ROW", true), dt = Ni("STATEMENT", true), wt = Ni("CHARACTER", true), yt = Ni("SET", true), Et = Ni("CHARSET", true), ht = Ni("COLLATE", true), At = Ni("AVG_ROW_LENGTH", true), mt = Ni("KEY_BLOCK_SIZE", true), Tt = Ni("MAX_ROWS", true), Rt = Ni("MIN_ROWS", true), It = Ni("STATS_SAMPLE_PAGES", true), Nt = Ni("CONNECTION", true), _t = Ni("COMPRESSION", true), gt = Ni("'", false), St = Ni("ZLIB", true), Ot = Ni("LZ4", true), xt = Ni("ENGINE", true), Ut = Ni("IN", true), kt = Ni("ACCESS SHARE", true), Mt = Ni("ROW SHARE", true), Dt = Ni("ROW EXCLUSIVE", true), Pt = Ni("SHARE UPDATE EXCLUSIVE", true), Gt = Ni("SHARE ROW EXCLUSIVE", true), $t2 = Ni("ACCESS EXCLUSIVE", true), Ft = Ni("SHARE", true), jt = Ni("MODE", true), Ht = Ni("NOWAIT", true), Yt = Ni("TABLES", true), Bt = Ni("PREPARE", true), Wt = Ni("USAGE", true), Xt = function(r3) {
|
|
29244
29262
|
return { type: "origin", value: Array.isArray(r3) ? r3[0] : r3 };
|
|
@@ -29953,7 +29971,7 @@ function requireNodeSqlParser() {
|
|
|
29953
29971
|
}
|
|
29954
29972
|
function qi() {
|
|
29955
29973
|
var t3, e3, n2, s2, o2, a2, i3, l2, c3, f3, b2, v2, L3, C2, p3, d2, w3;
|
|
29956
|
-
if (t3 = hi, "LANGUAGE" === r2.substr(hi, 8) ? (e3 = "LANGUAGE", hi += 8) : (e3 = u, 0 === Ii && Oi(_)), e3 !== u && (n2 = Yv()) !== u && (s2 = cf()) !== u && (o2 = Yv()) !== u ? (Ai = t3, t3 = e3 = { prefix: "LANGUAGE", type: "default", value: s2 }) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "transorm" === r2.substr(hi, 8).toLowerCase() ? (e3 = r2.substr(hi, 8), hi += 8) : (e3 = u, 0 === Ii && Oi(g)), e3 !== u && (n2 = Yv()) !== u ? (s2 = hi, "FOR" === r2.substr(hi, 3) ? (o2 = "FOR", hi += 3) : (o2 = u, 0 === Ii && Oi(S)), o2 !== u && (a2 = Yv()) !== u ? ("TYPE" === r2.substr(hi, 4) ? (i3 = "TYPE", hi += 4) : (i3 = u, 0 === Ii && Oi(O)), i3 !== u && (l2 = Yv()) !== u && (c3 = cf()) !== u ? s2 = o2 = [o2, a2, i3, l2, c3] : (hi = s2, s2 = u)) : (hi = s2, s2 = u), s2 === u && (s2 = null), s2 !== u && (o2 = Yv()) !== u ? (Ai = t3, t3 = e3 = (w3 = s2) ? { prefix: ["TRANSORM", w3[0].toUpperCase(), w3[2].toUpperCase()].join(" "), type: "default", value: w3[4] } : { type: "origin", value: "TRANSORM" }) : (hi = t3, t3 = u)) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "window" === r2.substr(hi, 6).toLowerCase() ? (e3 = r2.substr(hi, 6), hi += 6) : (e3 = u, 0 === Ii && Oi(x)), e3 === u && ("immutable" === r2.substr(hi, 9).toLowerCase() ? (e3 = r2.substr(hi, 9), hi += 9) : (e3 = u, 0 === Ii && Oi(U2)), e3 === u && ("stable" === r2.substr(hi, 6).toLowerCase() ? (e3 = r2.substr(hi, 6), hi += 6) : (e3 = u, 0 === Ii && Oi(k)), e3 === u && ("volatile" === r2.substr(hi, 8).toLowerCase() ? (e3 = r2.substr(hi, 8), hi += 8) : (e3 = u, 0 === Ii && Oi(M2)), e3 === u && ("strict" === r2.substr(hi, 6).toLowerCase() ? (e3 = r2.substr(hi, 6), hi += 6) : (e3 = u, 0 === Ii && Oi(D)))))), e3 !== u && (n2 = Yv()) !== u ? (Ai = t3, t3 = e3 = { type: "origin", value: e3 }) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "not" === r2.substr(hi, 3).toLowerCase() ? (e3 = r2.substr(hi, 3), hi += 3) : (e3 = u, 0 === Ii && Oi(P2)), e3 === u && (e3 = null), e3 !== u && (n2 = Yv()) !== u ? ("leakproof" === r2.substr(hi, 9).toLowerCase() ? (s2 = r2.substr(hi, 9), hi += 9) : (s2 = u, 0 === Ii && Oi(G2)), s2 !== u && (o2 = Yv()) !== u ? (Ai = t3, t3 = e3 = { type: "origin", value: [e3, "LEAKPROOF"].filter((r3) => r3).join(" ") }) : (hi = t3, t3 = u)) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "called" === r2.substr(hi, 6).toLowerCase() ? (e3 = r2.substr(hi, 6), hi += 6) : (e3 = u, 0 === Ii && Oi($)), e3 === u && (e3 = hi, "returns" === r2.substr(hi, 7).toLowerCase() ? (n2 = r2.substr(hi, 7), hi += 7) : (n2 = u, 0 === Ii && Oi(A)), n2 !== u && (s2 = Yv()) !== u ? ("null" === r2.substr(hi, 4).toLowerCase() ? (o2 = r2.substr(hi, 4), hi += 4) : (o2 = u, 0 === Ii && Oi(
|
|
29974
|
+
if (t3 = hi, "LANGUAGE" === r2.substr(hi, 8) ? (e3 = "LANGUAGE", hi += 8) : (e3 = u, 0 === Ii && Oi(_)), e3 !== u && (n2 = Yv()) !== u && (s2 = cf()) !== u && (o2 = Yv()) !== u ? (Ai = t3, t3 = e3 = { prefix: "LANGUAGE", type: "default", value: s2 }) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "transorm" === r2.substr(hi, 8).toLowerCase() ? (e3 = r2.substr(hi, 8), hi += 8) : (e3 = u, 0 === Ii && Oi(g)), e3 !== u && (n2 = Yv()) !== u ? (s2 = hi, "FOR" === r2.substr(hi, 3) ? (o2 = "FOR", hi += 3) : (o2 = u, 0 === Ii && Oi(S)), o2 !== u && (a2 = Yv()) !== u ? ("TYPE" === r2.substr(hi, 4) ? (i3 = "TYPE", hi += 4) : (i3 = u, 0 === Ii && Oi(O)), i3 !== u && (l2 = Yv()) !== u && (c3 = cf()) !== u ? s2 = o2 = [o2, a2, i3, l2, c3] : (hi = s2, s2 = u)) : (hi = s2, s2 = u), s2 === u && (s2 = null), s2 !== u && (o2 = Yv()) !== u ? (Ai = t3, t3 = e3 = (w3 = s2) ? { prefix: ["TRANSORM", w3[0].toUpperCase(), w3[2].toUpperCase()].join(" "), type: "default", value: w3[4] } : { type: "origin", value: "TRANSORM" }) : (hi = t3, t3 = u)) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "window" === r2.substr(hi, 6).toLowerCase() ? (e3 = r2.substr(hi, 6), hi += 6) : (e3 = u, 0 === Ii && Oi(x)), e3 === u && ("immutable" === r2.substr(hi, 9).toLowerCase() ? (e3 = r2.substr(hi, 9), hi += 9) : (e3 = u, 0 === Ii && Oi(U2)), e3 === u && ("stable" === r2.substr(hi, 6).toLowerCase() ? (e3 = r2.substr(hi, 6), hi += 6) : (e3 = u, 0 === Ii && Oi(k)), e3 === u && ("volatile" === r2.substr(hi, 8).toLowerCase() ? (e3 = r2.substr(hi, 8), hi += 8) : (e3 = u, 0 === Ii && Oi(M2)), e3 === u && ("strict" === r2.substr(hi, 6).toLowerCase() ? (e3 = r2.substr(hi, 6), hi += 6) : (e3 = u, 0 === Ii && Oi(D)))))), e3 !== u && (n2 = Yv()) !== u ? (Ai = t3, t3 = e3 = { type: "origin", value: e3 }) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "not" === r2.substr(hi, 3).toLowerCase() ? (e3 = r2.substr(hi, 3), hi += 3) : (e3 = u, 0 === Ii && Oi(P2)), e3 === u && (e3 = null), e3 !== u && (n2 = Yv()) !== u ? ("leakproof" === r2.substr(hi, 9).toLowerCase() ? (s2 = r2.substr(hi, 9), hi += 9) : (s2 = u, 0 === Ii && Oi(G2)), s2 !== u && (o2 = Yv()) !== u ? (Ai = t3, t3 = e3 = { type: "origin", value: [e3, "LEAKPROOF"].filter((r3) => r3).join(" ") }) : (hi = t3, t3 = u)) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "called" === r2.substr(hi, 6).toLowerCase() ? (e3 = r2.substr(hi, 6), hi += 6) : (e3 = u, 0 === Ii && Oi($)), e3 === u && (e3 = hi, "returns" === r2.substr(hi, 7).toLowerCase() ? (n2 = r2.substr(hi, 7), hi += 7) : (n2 = u, 0 === Ii && Oi(A)), n2 !== u && (s2 = Yv()) !== u ? ("null" === r2.substr(hi, 4).toLowerCase() ? (o2 = r2.substr(hi, 4), hi += 4) : (o2 = u, 0 === Ii && Oi(F2)), o2 !== u ? e3 = n2 = [n2, s2, o2] : (hi = e3, e3 = u)) : (hi = e3, e3 = u)), e3 === u && (e3 = null), e3 !== u && (n2 = Yv()) !== u ? ("on" === r2.substr(hi, 2).toLowerCase() ? (s2 = r2.substr(hi, 2), hi += 2) : (s2 = u, 0 === Ii && Oi(j)), s2 !== u && (o2 = Yv()) !== u ? ("null" === r2.substr(hi, 4).toLowerCase() ? (a2 = r2.substr(hi, 4), hi += 4) : (a2 = u, 0 === Ii && Oi(F2)), a2 !== u && (i3 = Yv()) !== u ? ("input" === r2.substr(hi, 5).toLowerCase() ? (l2 = r2.substr(hi, 5), hi += 5) : (l2 = u, 0 === Ii && Oi(H2)), l2 !== u && (c3 = Yv()) !== u ? (Ai = t3, t3 = e3 = (function(r3) {
|
|
29957
29975
|
return Array.isArray(r3) && (r3 = [r3[0], r3[2]].join(" ")), { type: "origin", value: r3 + " ON NULL INPUT" };
|
|
29958
29976
|
})(e3)) : (hi = t3, t3 = u)) : (hi = t3, t3 = u)) : (hi = t3, t3 = u)) : (hi = t3, t3 = u), t3 === u && (t3 = hi, "external" === r2.substr(hi, 8).toLowerCase() ? (e3 = r2.substr(hi, 8), hi += 8) : (e3 = u, 0 === Ii && Oi(Y)), e3 === u && (e3 = null), e3 !== u && (n2 = Yv()) !== u ? ("security" === r2.substr(hi, 8).toLowerCase() ? (s2 = r2.substr(hi, 8), hi += 8) : (s2 = u, 0 === Ii && Oi(B)), s2 !== u && (o2 = Yv()) !== u ? ("invoker" === r2.substr(hi, 7).toLowerCase() ? (a2 = r2.substr(hi, 7), hi += 7) : (a2 = u, 0 === Ii && Oi(W)), a2 === u && ("definer" === r2.substr(hi, 7).toLowerCase() ? (a2 = r2.substr(hi, 7), hi += 7) : (a2 = u, 0 === Ii && Oi(X2))), a2 !== u && (i3 = Yv()) !== u ? (Ai = t3, t3 = e3 = (function(r3, t4) {
|
|
29959
29977
|
return { type: "origin", value: [r3, "SECURITY", t4].filter((r4) => r4).join(" ") };
|
|
@@ -31691,7 +31709,7 @@ function requireNodeSqlParser() {
|
|
|
31691
31709
|
}
|
|
31692
31710
|
function Yf() {
|
|
31693
31711
|
var t3, e3, n2, s2;
|
|
31694
|
-
return t3 = hi, "null" === r2.substr(hi, 4).toLowerCase() ? (e3 = r2.substr(hi, 4), hi += 4) : (e3 = u, 0 === Ii && Oi(
|
|
31712
|
+
return t3 = hi, "null" === r2.substr(hi, 4).toLowerCase() ? (e3 = r2.substr(hi, 4), hi += 4) : (e3 = u, 0 === Ii && Oi(F2)), e3 !== u ? (n2 = hi, Ii++, s2 = ff(), Ii--, s2 === u ? n2 = void 0 : (hi = n2, n2 = u), n2 !== u ? t3 = e3 = [e3, n2] : (hi = t3, t3 = u)) : (hi = t3, t3 = u), t3;
|
|
31695
31713
|
}
|
|
31696
31714
|
function Bf() {
|
|
31697
31715
|
var t3, e3, n2, s2;
|
|
@@ -32628,7 +32646,7 @@ function requireNodeSqlParser() {
|
|
|
32628
32646
|
})(t2) + " found.";
|
|
32629
32647
|
}, r.exports = { SyntaxError: s, parse: function(r2, t2) {
|
|
32630
32648
|
t2 = void 0 !== t2 ? t2 : {};
|
|
32631
|
-
var e2, u = {}, o = { start: rc }, a = rc, i2 = Vl("IF", true), l = Vl("if", true), f2 = Vl("exists", true), b = Vl("EXTENSION", true), v = Vl("SCHEMA", true), L2 = Vl("VERSION", true), C = Vl("CASCADED", true), p2 = Vl("LOCAL", true), d = Vl("CHECK", true), w2 = Vl("OPTION", false), y = Vl("check_option", true), E = Vl("security_barrier", true), h2 = Vl("security_invoker", true), A = Vl("SFUNC", true), m = Vl("STYPE", true), T = Vl("AGGREGATE", true), R2 = Vl("RETURNS", true), I = Vl("SETOF", true), N2 = Vl("CONSTANT", true), _ = Vl(":=", false), g = Vl("BEGIN", true), S = Vl("DECLARE", true), O = Vl("LANGUAGE", false), x = Vl("TRANSORM", true), U2 = Vl("FOR", false), k = Vl("TYPE", false), M2 = Vl("WINDOW", true), D = Vl("IMMUTABLE", true), P2 = Vl("STABLE", true), G2 = Vl("VOLATILE", true), $ = Vl("STRICT", true),
|
|
32649
|
+
var e2, u = {}, o = { start: rc }, a = rc, i2 = Vl("IF", true), l = Vl("if", true), f2 = Vl("exists", true), b = Vl("EXTENSION", true), v = Vl("SCHEMA", true), L2 = Vl("VERSION", true), C = Vl("CASCADED", true), p2 = Vl("LOCAL", true), d = Vl("CHECK", true), w2 = Vl("OPTION", false), y = Vl("check_option", true), E = Vl("security_barrier", true), h2 = Vl("security_invoker", true), A = Vl("SFUNC", true), m = Vl("STYPE", true), T = Vl("AGGREGATE", true), R2 = Vl("RETURNS", true), I = Vl("SETOF", true), N2 = Vl("CONSTANT", true), _ = Vl(":=", false), g = Vl("BEGIN", true), S = Vl("DECLARE", true), O = Vl("LANGUAGE", false), x = Vl("TRANSORM", true), U2 = Vl("FOR", false), k = Vl("TYPE", false), M2 = Vl("WINDOW", true), D = Vl("IMMUTABLE", true), P2 = Vl("STABLE", true), G2 = Vl("VOLATILE", true), $ = Vl("STRICT", true), F2 = Vl("NOT", true), j = Vl("LEAKPROOF", true), H2 = Vl("CALLED", true), Y = Vl("NULL", true), B = Vl("ON", true), W = Vl("INPUT", true), X2 = Vl("EXTERNAL", true), q2 = Vl("SECURITY", true), V2 = Vl("INVOKER", true), K = Vl("DEFINER", true), z = Vl("PARALLEL", true), Z = Vl("UNSAFE", true), Q = Vl("RESTRICTED", true), J = Vl("SAFE", true), rr = /^[^ s\t\n\r]/, tr = Kl([" ", "s", " ", "\n", "\r"], true, false), er = /^[^ s\t\n\r;]/, nr = Kl([" ", "s", " ", "\n", "\r", ";"], true, false), sr = Vl("COST", true), ur = Vl("ROWS", true), or = Vl("SUPPORT", true), ar = Vl("TO", true), ir = Vl("=", false), lr = Vl("CURRENT", true), cr = Vl("FUNCTION", true), fr = Vl("RANGE", true), br = Vl("TYPE", true), vr = Vl("DOMAIN", true), Lr = Vl("INCREMENT", true), Cr = Vl("MINVALUE", true), pr = function(r3, t3) {
|
|
32632
32650
|
return { resource: "sequence", prefix: r3.toLowerCase(), value: t3 };
|
|
32633
32651
|
}, dr = Vl("NO", true), wr = Vl("MAXVALUE", true), yr = Vl("START", true), Er = function(r3, t3, e3) {
|
|
32634
32652
|
return { resource: "sequence", prefix: t3 ? r3.toLowerCase() + " with" : r3.toLowerCase(), value: e3 };
|
|
@@ -32778,7 +32796,7 @@ function requireNodeSqlParser() {
|
|
|
32778
32796
|
return r3;
|
|
32779
32797
|
})()) !== u && xC() !== u ? ("on" === r2.substr(Hl, 2).toLowerCase() ? (b2 = r2.substr(Hl, 2), Hl += 2) : (b2 = u, 0 === ql && Ql(B)), b2 !== u && xC() !== u && (v2 = xf()) !== u && xC() !== u ? (L3 = Hl, (C2 = Kv()) !== u && (p3 = xC()) !== u && (d2 = xf()) !== u ? L3 = C2 = [C2, p3, d2] : (Hl = L3, L3 = u), L3 === u && (L3 = null), L3 !== u && (C2 = xC()) !== u ? ((p3 = (function() {
|
|
32780
32798
|
var t6, e4, n3, s3, o3;
|
|
32781
|
-
t6 = Hl, e4 = Hl, "not" === r2.substr(Hl, 3).toLowerCase() ? (n3 = r2.substr(Hl, 3), Hl += 3) : (n3 = u, 0 === ql && Ql(
|
|
32799
|
+
t6 = Hl, e4 = Hl, "not" === r2.substr(Hl, 3).toLowerCase() ? (n3 = r2.substr(Hl, 3), Hl += 3) : (n3 = u, 0 === ql && Ql(F2));
|
|
32782
32800
|
n3 === u && (n3 = null);
|
|
32783
32801
|
n3 !== u && (s3 = xC()) !== u ? ("deferrable" === r2.substr(Hl, 10).toLowerCase() ? (o3 = r2.substr(Hl, 10), Hl += 10) : (o3 = u, 0 === ql && Ql(Dt)), o3 !== u ? e4 = n3 = [n3, s3, o3] : (Hl = e4, e4 = u)) : (Hl = e4, e4 = u);
|
|
32784
32802
|
e4 !== u && (n3 = xC()) !== u ? ("initially immediate" === r2.substr(Hl, 19).toLowerCase() ? (s3 = r2.substr(Hl, 19), Hl += 19) : (s3 = u, 0 === ql && Ql(Pt)), s3 === u && ("initially deferred" === r2.substr(Hl, 18).toLowerCase() ? (s3 = r2.substr(Hl, 18), Hl += 18) : (s3 = u, 0 === ql && Ql(Gt))), s3 !== u ? (Yl = t6, i4 = s3, e4 = { keyword: (a3 = e4) && a3[0] ? a3[0].toLowerCase() + " deferrable" : "deferrable", args: i4 && i4.toLowerCase() }, t6 = e4) : (Hl = t6, t6 = u)) : (Hl = t6, t6 = u);
|
|
@@ -33402,7 +33420,7 @@ function requireNodeSqlParser() {
|
|
|
33402
33420
|
}
|
|
33403
33421
|
function Cc() {
|
|
33404
33422
|
var t3, e3, n2, s2, o2, a2, i3, l2, c2, f3, b2, v2, L3, C2, p3, d2, w3;
|
|
33405
|
-
if (t3 = Hl, "LANGUAGE" === r2.substr(Hl, 8) ? (e3 = "LANGUAGE", Hl += 8) : (e3 = u, 0 === ql && Ql(O)), e3 !== u && (n2 = xC()) !== u && (s2 = Hb()) !== u && (o2 = xC()) !== u ? (Yl = t3, t3 = e3 = { prefix: "LANGUAGE", type: "default", value: s2 }) : (Hl = t3, t3 = u), t3 === u && (t3 = Hl, "transorm" === r2.substr(Hl, 8).toLowerCase() ? (e3 = r2.substr(Hl, 8), Hl += 8) : (e3 = u, 0 === ql && Ql(x)), e3 !== u && (n2 = xC()) !== u ? (s2 = Hl, "FOR" === r2.substr(Hl, 3) ? (o2 = "FOR", Hl += 3) : (o2 = u, 0 === ql && Ql(U2)), o2 !== u && (a2 = xC()) !== u ? ("TYPE" === r2.substr(Hl, 4) ? (i3 = "TYPE", Hl += 4) : (i3 = u, 0 === ql && Ql(k)), i3 !== u && (l2 = xC()) !== u && (c2 = Hb()) !== u ? s2 = o2 = [o2, a2, i3, l2, c2] : (Hl = s2, s2 = u)) : (Hl = s2, s2 = u), s2 === u && (s2 = null), s2 !== u && (o2 = xC()) !== u ? (Yl = t3, t3 = e3 = (w3 = s2) ? { prefix: ["TRANSORM", w3[0].toUpperCase(), w3[2].toUpperCase()].join(" "), type: "default", value: w3[4] } : { type: "origin", value: "TRANSORM" }) : (Hl = t3, t3 = u)) : (Hl = t3, t3 = u), t3 === u && (t3 = Hl, "window" === r2.substr(Hl, 6).toLowerCase() ? (e3 = r2.substr(Hl, 6), Hl += 6) : (e3 = u, 0 === ql && Ql(M2)), e3 === u && ("immutable" === r2.substr(Hl, 9).toLowerCase() ? (e3 = r2.substr(Hl, 9), Hl += 9) : (e3 = u, 0 === ql && Ql(D)), e3 === u && ("stable" === r2.substr(Hl, 6).toLowerCase() ? (e3 = r2.substr(Hl, 6), Hl += 6) : (e3 = u, 0 === ql && Ql(P2)), e3 === u && ("volatile" === r2.substr(Hl, 8).toLowerCase() ? (e3 = r2.substr(Hl, 8), Hl += 8) : (e3 = u, 0 === ql && Ql(G2)), e3 === u && ("strict" === r2.substr(Hl, 6).toLowerCase() ? (e3 = r2.substr(Hl, 6), Hl += 6) : (e3 = u, 0 === ql && Ql($)))))), e3 !== u && (n2 = xC()) !== u ? (Yl = t3, t3 = e3 = { type: "origin", value: e3 }) : (Hl = t3, t3 = u), t3 === u && (t3 = Hl, "not" === r2.substr(Hl, 3).toLowerCase() ? (e3 = r2.substr(Hl, 3), Hl += 3) : (e3 = u, 0 === ql && Ql(
|
|
33423
|
+
if (t3 = Hl, "LANGUAGE" === r2.substr(Hl, 8) ? (e3 = "LANGUAGE", Hl += 8) : (e3 = u, 0 === ql && Ql(O)), e3 !== u && (n2 = xC()) !== u && (s2 = Hb()) !== u && (o2 = xC()) !== u ? (Yl = t3, t3 = e3 = { prefix: "LANGUAGE", type: "default", value: s2 }) : (Hl = t3, t3 = u), t3 === u && (t3 = Hl, "transorm" === r2.substr(Hl, 8).toLowerCase() ? (e3 = r2.substr(Hl, 8), Hl += 8) : (e3 = u, 0 === ql && Ql(x)), e3 !== u && (n2 = xC()) !== u ? (s2 = Hl, "FOR" === r2.substr(Hl, 3) ? (o2 = "FOR", Hl += 3) : (o2 = u, 0 === ql && Ql(U2)), o2 !== u && (a2 = xC()) !== u ? ("TYPE" === r2.substr(Hl, 4) ? (i3 = "TYPE", Hl += 4) : (i3 = u, 0 === ql && Ql(k)), i3 !== u && (l2 = xC()) !== u && (c2 = Hb()) !== u ? s2 = o2 = [o2, a2, i3, l2, c2] : (Hl = s2, s2 = u)) : (Hl = s2, s2 = u), s2 === u && (s2 = null), s2 !== u && (o2 = xC()) !== u ? (Yl = t3, t3 = e3 = (w3 = s2) ? { prefix: ["TRANSORM", w3[0].toUpperCase(), w3[2].toUpperCase()].join(" "), type: "default", value: w3[4] } : { type: "origin", value: "TRANSORM" }) : (Hl = t3, t3 = u)) : (Hl = t3, t3 = u), t3 === u && (t3 = Hl, "window" === r2.substr(Hl, 6).toLowerCase() ? (e3 = r2.substr(Hl, 6), Hl += 6) : (e3 = u, 0 === ql && Ql(M2)), e3 === u && ("immutable" === r2.substr(Hl, 9).toLowerCase() ? (e3 = r2.substr(Hl, 9), Hl += 9) : (e3 = u, 0 === ql && Ql(D)), e3 === u && ("stable" === r2.substr(Hl, 6).toLowerCase() ? (e3 = r2.substr(Hl, 6), Hl += 6) : (e3 = u, 0 === ql && Ql(P2)), e3 === u && ("volatile" === r2.substr(Hl, 8).toLowerCase() ? (e3 = r2.substr(Hl, 8), Hl += 8) : (e3 = u, 0 === ql && Ql(G2)), e3 === u && ("strict" === r2.substr(Hl, 6).toLowerCase() ? (e3 = r2.substr(Hl, 6), Hl += 6) : (e3 = u, 0 === ql && Ql($)))))), e3 !== u && (n2 = xC()) !== u ? (Yl = t3, t3 = e3 = { type: "origin", value: e3 }) : (Hl = t3, t3 = u), t3 === u && (t3 = Hl, "not" === r2.substr(Hl, 3).toLowerCase() ? (e3 = r2.substr(Hl, 3), Hl += 3) : (e3 = u, 0 === ql && Ql(F2)), e3 === u && (e3 = null), e3 !== u && (n2 = xC()) !== u ? ("leakproof" === r2.substr(Hl, 9).toLowerCase() ? (s2 = r2.substr(Hl, 9), Hl += 9) : (s2 = u, 0 === ql && Ql(j)), s2 !== u && (o2 = xC()) !== u ? (Yl = t3, t3 = e3 = { type: "origin", value: [e3, "LEAKPROOF"].filter((r3) => r3).join(" ") }) : (Hl = t3, t3 = u)) : (Hl = t3, t3 = u), t3 === u && (t3 = Hl, "called" === r2.substr(Hl, 6).toLowerCase() ? (e3 = r2.substr(Hl, 6), Hl += 6) : (e3 = u, 0 === ql && Ql(H2)), e3 === u && (e3 = Hl, "returns" === r2.substr(Hl, 7).toLowerCase() ? (n2 = r2.substr(Hl, 7), Hl += 7) : (n2 = u, 0 === ql && Ql(R2)), n2 !== u && (s2 = xC()) !== u ? ("null" === r2.substr(Hl, 4).toLowerCase() ? (o2 = r2.substr(Hl, 4), Hl += 4) : (o2 = u, 0 === ql && Ql(Y)), o2 !== u ? e3 = n2 = [n2, s2, o2] : (Hl = e3, e3 = u)) : (Hl = e3, e3 = u)), e3 === u && (e3 = null), e3 !== u && (n2 = xC()) !== u ? ("on" === r2.substr(Hl, 2).toLowerCase() ? (s2 = r2.substr(Hl, 2), Hl += 2) : (s2 = u, 0 === ql && Ql(B)), s2 !== u && (o2 = xC()) !== u ? ("null" === r2.substr(Hl, 4).toLowerCase() ? (a2 = r2.substr(Hl, 4), Hl += 4) : (a2 = u, 0 === ql && Ql(Y)), a2 !== u && (i3 = xC()) !== u ? ("input" === r2.substr(Hl, 5).toLowerCase() ? (l2 = r2.substr(Hl, 5), Hl += 5) : (l2 = u, 0 === ql && Ql(W)), l2 !== u && (c2 = xC()) !== u ? (Yl = t3, t3 = e3 = (function(r3) {
|
|
33406
33424
|
return Array.isArray(r3) && (r3 = [r3[0], r3[2]].join(" ")), { type: "origin", value: r3 + " ON NULL INPUT" };
|
|
33407
33425
|
})(e3)) : (Hl = t3, t3 = u)) : (Hl = t3, t3 = u)) : (Hl = t3, t3 = u)) : (Hl = t3, t3 = u), t3 === u && (t3 = Hl, "external" === r2.substr(Hl, 8).toLowerCase() ? (e3 = r2.substr(Hl, 8), Hl += 8) : (e3 = u, 0 === ql && Ql(X2)), e3 === u && (e3 = null), e3 !== u && (n2 = xC()) !== u ? ("security" === r2.substr(Hl, 8).toLowerCase() ? (s2 = r2.substr(Hl, 8), Hl += 8) : (s2 = u, 0 === ql && Ql(q2)), s2 !== u && (o2 = xC()) !== u ? ("invoker" === r2.substr(Hl, 7).toLowerCase() ? (a2 = r2.substr(Hl, 7), Hl += 7) : (a2 = u, 0 === ql && Ql(V2)), a2 === u && ("definer" === r2.substr(Hl, 7).toLowerCase() ? (a2 = r2.substr(Hl, 7), Hl += 7) : (a2 = u, 0 === ql && Ql(K))), a2 !== u && (i3 = xC()) !== u ? (Yl = t3, t3 = e3 = (function(r3, t4) {
|
|
33408
33426
|
return { type: "origin", value: [r3, "SECURITY", t4].filter((r4) => r4).join(" ") };
|
|
@@ -35509,7 +35527,7 @@ function requireNodeSqlParser() {
|
|
|
35509
35527
|
}
|
|
35510
35528
|
function AL() {
|
|
35511
35529
|
var t3, e3, n2, s2;
|
|
35512
|
-
return t3 = Hl, "not" === r2.substr(Hl, 3).toLowerCase() ? (e3 = r2.substr(Hl, 3), Hl += 3) : (e3 = u, 0 === ql && Ql(
|
|
35530
|
+
return t3 = Hl, "not" === r2.substr(Hl, 3).toLowerCase() ? (e3 = r2.substr(Hl, 3), Hl += 3) : (e3 = u, 0 === ql && Ql(F2)), e3 !== u ? (n2 = Hl, ql++, s2 = Yb(), ql--, s2 === u ? n2 = void 0 : (Hl = n2, n2 = u), n2 !== u ? (Yl = t3, t3 = e3 = "NOT") : (Hl = t3, t3 = u)) : (Hl = t3, t3 = u), t3;
|
|
35513
35531
|
}
|
|
35514
35532
|
function mL() {
|
|
35515
35533
|
var t3, e3, n2, s2;
|
|
@@ -36413,7 +36431,7 @@ function requireNodeSqlParser() {
|
|
|
36413
36431
|
})(t2) + " found.";
|
|
36414
36432
|
}, r.exports = { SyntaxError: s, parse: function(r2, t2) {
|
|
36415
36433
|
t2 = void 0 !== t2 ? t2 : {};
|
|
36416
|
-
var e2, u = {}, o = { start: $i }, a = $i, i2 = Ui("IF", true), l = Ui("EXTENSION", true), c2 = Ui("SCHEMA", true), f2 = Ui("VERSION", true), b = Ui("CASCADED", true), v = Ui("LOCAL", true), L2 = Ui("CHECK", true), C = Ui("OPTION", false), p2 = Ui("check_option", true), d = Ui("security_barrier", true), w2 = Ui("security_invoker", true), y = Ui("SFUNC", true), E = Ui("STYPE", true), h2 = Ui("AGGREGATE", true), A = Ui("RETURNS", true), m = Ui("SETOF", true), T = Ui("CONSTANT", true), R2 = Ui(":=", false), I = Ui("BEGIN", true), N2 = Ui("DECLARE", true), _ = Ui("LANGUAGE", false), g = Ui("TRANSORM", true), S = Ui("FOR", false), O = Ui("TYPE", false), x = Ui("WINDOW", true), U2 = Ui("IMMUTABLE", true), k = Ui("STABLE", true), M2 = Ui("VOLATILE", true), D = Ui("STRICT", true), P2 = Ui("NOT", true), G2 = Ui("LEAKPROOF", true), $ = Ui("CALLED", true),
|
|
36434
|
+
var e2, u = {}, o = { start: $i }, a = $i, i2 = Ui("IF", true), l = Ui("EXTENSION", true), c2 = Ui("SCHEMA", true), f2 = Ui("VERSION", true), b = Ui("CASCADED", true), v = Ui("LOCAL", true), L2 = Ui("CHECK", true), C = Ui("OPTION", false), p2 = Ui("check_option", true), d = Ui("security_barrier", true), w2 = Ui("security_invoker", true), y = Ui("SFUNC", true), E = Ui("STYPE", true), h2 = Ui("AGGREGATE", true), A = Ui("RETURNS", true), m = Ui("SETOF", true), T = Ui("CONSTANT", true), R2 = Ui(":=", false), I = Ui("BEGIN", true), N2 = Ui("DECLARE", true), _ = Ui("LANGUAGE", false), g = Ui("TRANSORM", true), S = Ui("FOR", false), O = Ui("TYPE", false), x = Ui("WINDOW", true), U2 = Ui("IMMUTABLE", true), k = Ui("STABLE", true), M2 = Ui("VOLATILE", true), D = Ui("STRICT", true), P2 = Ui("NOT", true), G2 = Ui("LEAKPROOF", true), $ = Ui("CALLED", true), F2 = Ui("NULL", true), j = Ui("ON", true), H2 = Ui("INPUT", true), Y = Ui("EXTERNAL", true), B = Ui("SECURITY", true), W = Ui("INVOKER", true), X2 = Ui("DEFINER", true), q2 = Ui("PARALLEL", true), V2 = Ui("UNSAFE", true), K = Ui("RESTRICTED", true), z = Ui("SAFE", true), Z = /^[^ s\t\n\r]/, Q = ki([" ", "s", " ", "\n", "\r"], true, false), J = /^[^ s\t\n\r;]/, rr = ki([" ", "s", " ", "\n", "\r", ";"], true, false), tr = Ui("COST", true), er = Ui("ROWS", true), nr = Ui("SUPPORT", true), sr = Ui("TO", true), ur = Ui("=", false), or = Ui("CURRENT", true), ar = Ui("FUNCTION", true), ir = Ui("TYPE", true), lr = Ui("DOMAIN", true), cr = Ui("INCREMENT", true), fr = Ui("MINVALUE", true), br = function(r3, t3) {
|
|
36417
36435
|
return { resource: "sequence", prefix: r3.toLowerCase(), value: t3 };
|
|
36418
36436
|
}, vr = Ui("NO", true), Lr = Ui("MAXVALUE", true), Cr = Ui("START", true), pr = Ui("CACHE", true), dr = Ui("CYCLE", true), wr = Ui("OWNED", true), yr = Ui("NONE", true), Er = Ui("NULLS", true), hr = Ui("FIRST", true), Ar = Ui("LAST", true), mr = Ui("AUTO_INCREMENT", true), Tr = Ui("UNIQUE", true), Rr = Ui("KEY", true), Ir = Ui("PRIMARY", true), Nr = Ui("COLUMN_FORMAT", true), _r = Ui("FIXED", true), gr = Ui("DYNAMIC", true), Sr = Ui("DEFAULT", true), Or = Ui("STORAGE", true), xr = Ui("DISK", true), Ur = Ui("MEMORY", true), kr = Ui("CASCADE", true), Mr = Ui("RESTRICT", true), Dr = Ui("OUT", true), Pr = Ui("VARIADIC", true), Gr = Ui("INOUT", true), $r = Ui("OWNER", true), Fr = Ui("CURRENT_ROLE", true), jr = Ui("CURRENT_USER", true), Hr = Ui("SESSION_USER", true), Yr = Ui("ALGORITHM", true), Br = Ui("INSTANT", true), Wr = Ui("INPLACE", true), Xr = Ui("COPY", true), qr = Ui("LOCK", true), Vr = Ui("SHARED", true), Kr = Ui("EXCLUSIVE", true), zr = Ui("PRIMARY KEY", true), Zr = Ui("FOREIGN KEY", true), Qr = Ui("MATCH FULL", true), Jr = Ui("MATCH PARTIAL", true), rt = Ui("MATCH SIMPLE", true), tt = Ui("SET NULL", true), et = Ui("NO ACTION", true), nt = Ui("SET DEFAULT", true), st = Ui("TRIGGER", true), ut = Ui("BEFORE", true), ot = Ui("AFTER", true), at = Ui("INSTEAD OF", true), it = Ui("EXECUTE", true), lt2 = Ui("PROCEDURE", true), ct = Ui("OF", true), ft = Ui("DEFERRABLE", true), bt = Ui("INITIALLY IMMEDIATE", true), vt = Ui("INITIALLY DEFERRED", true), Lt = Ui("FOR", true), Ct = Ui("EACH", true), pt = Ui("ROW", true), dt = Ui("STATEMENT", true), wt = Ui("CHARACTER", true), yt = Ui("SET", true), Et = Ui("CHARSET", true), ht = Ui("COLLATE", true), At = Ui("AVG_ROW_LENGTH", true), mt = Ui("KEY_BLOCK_SIZE", true), Tt = Ui("MAX_ROWS", true), Rt = Ui("MIN_ROWS", true), It = Ui("STATS_SAMPLE_PAGES", true), Nt = Ui("CONNECTION", true), _t = Ui("COMPRESSION", true), gt = Ui("'", false), St = Ui("ZLIB", true), Ot = Ui("LZ4", true), xt = Ui("ENGINE", true), Ut = Ui("IN", true), kt = Ui("ACCESS SHARE", true), Mt = Ui("ROW SHARE", true), Dt = Ui("ROW EXCLUSIVE", true), Pt = Ui("SHARE UPDATE EXCLUSIVE", true), Gt = Ui("SHARE ROW EXCLUSIVE", true), $t2 = Ui("ACCESS EXCLUSIVE", true), Ft = Ui("SHARE", true), jt = Ui("MODE", true), Ht = Ui("NOWAIT", true), Yt = Ui("TABLES", true), Bt = Ui("PREPARE", true), Wt = Ui("USAGE", true), Xt = function(r3) {
|
|
36419
36437
|
return { type: "origin", value: Array.isArray(r3) ? r3[0] : r3 };
|
|
@@ -37106,7 +37124,7 @@ function requireNodeSqlParser() {
|
|
|
37106
37124
|
}
|
|
37107
37125
|
function Ji() {
|
|
37108
37126
|
var t3, e3, n2, s2, o2, a2, i3, l2, c3, f3, b2, v2, L3, C2, p3, d2, w3;
|
|
37109
|
-
if (t3 = Ni, "LANGUAGE" === r2.substr(Ni, 8) ? (e3 = "LANGUAGE", Ni += 8) : (e3 = u, 0 === xi && Pi(_)), e3 !== u && (n2 = tL()) !== u && (s2 = Ef()) !== u && (o2 = tL()) !== u ? (_i = t3, t3 = e3 = { prefix: "LANGUAGE", type: "default", value: s2 }) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "transorm" === r2.substr(Ni, 8).toLowerCase() ? (e3 = r2.substr(Ni, 8), Ni += 8) : (e3 = u, 0 === xi && Pi(g)), e3 !== u && (n2 = tL()) !== u ? (s2 = Ni, "FOR" === r2.substr(Ni, 3) ? (o2 = "FOR", Ni += 3) : (o2 = u, 0 === xi && Pi(S)), o2 !== u && (a2 = tL()) !== u ? ("TYPE" === r2.substr(Ni, 4) ? (i3 = "TYPE", Ni += 4) : (i3 = u, 0 === xi && Pi(O)), i3 !== u && (l2 = tL()) !== u && (c3 = Ef()) !== u ? s2 = o2 = [o2, a2, i3, l2, c3] : (Ni = s2, s2 = u)) : (Ni = s2, s2 = u), s2 === u && (s2 = null), s2 !== u && (o2 = tL()) !== u ? (_i = t3, t3 = e3 = (w3 = s2) ? { prefix: ["TRANSORM", w3[0].toUpperCase(), w3[2].toUpperCase()].join(" "), type: "default", value: w3[4] } : { type: "origin", value: "TRANSORM" }) : (Ni = t3, t3 = u)) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "window" === r2.substr(Ni, 6).toLowerCase() ? (e3 = r2.substr(Ni, 6), Ni += 6) : (e3 = u, 0 === xi && Pi(x)), e3 === u && ("immutable" === r2.substr(Ni, 9).toLowerCase() ? (e3 = r2.substr(Ni, 9), Ni += 9) : (e3 = u, 0 === xi && Pi(U2)), e3 === u && ("stable" === r2.substr(Ni, 6).toLowerCase() ? (e3 = r2.substr(Ni, 6), Ni += 6) : (e3 = u, 0 === xi && Pi(k)), e3 === u && ("volatile" === r2.substr(Ni, 8).toLowerCase() ? (e3 = r2.substr(Ni, 8), Ni += 8) : (e3 = u, 0 === xi && Pi(M2)), e3 === u && ("strict" === r2.substr(Ni, 6).toLowerCase() ? (e3 = r2.substr(Ni, 6), Ni += 6) : (e3 = u, 0 === xi && Pi(D)))))), e3 !== u && (n2 = tL()) !== u ? (_i = t3, t3 = e3 = { type: "origin", value: e3 }) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "not" === r2.substr(Ni, 3).toLowerCase() ? (e3 = r2.substr(Ni, 3), Ni += 3) : (e3 = u, 0 === xi && Pi(P2)), e3 === u && (e3 = null), e3 !== u && (n2 = tL()) !== u ? ("leakproof" === r2.substr(Ni, 9).toLowerCase() ? (s2 = r2.substr(Ni, 9), Ni += 9) : (s2 = u, 0 === xi && Pi(G2)), s2 !== u && (o2 = tL()) !== u ? (_i = t3, t3 = e3 = { type: "origin", value: [e3, "LEAKPROOF"].filter((r3) => r3).join(" ") }) : (Ni = t3, t3 = u)) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "called" === r2.substr(Ni, 6).toLowerCase() ? (e3 = r2.substr(Ni, 6), Ni += 6) : (e3 = u, 0 === xi && Pi($)), e3 === u && (e3 = Ni, "returns" === r2.substr(Ni, 7).toLowerCase() ? (n2 = r2.substr(Ni, 7), Ni += 7) : (n2 = u, 0 === xi && Pi(A)), n2 !== u && (s2 = tL()) !== u ? ("null" === r2.substr(Ni, 4).toLowerCase() ? (o2 = r2.substr(Ni, 4), Ni += 4) : (o2 = u, 0 === xi && Pi(
|
|
37127
|
+
if (t3 = Ni, "LANGUAGE" === r2.substr(Ni, 8) ? (e3 = "LANGUAGE", Ni += 8) : (e3 = u, 0 === xi && Pi(_)), e3 !== u && (n2 = tL()) !== u && (s2 = Ef()) !== u && (o2 = tL()) !== u ? (_i = t3, t3 = e3 = { prefix: "LANGUAGE", type: "default", value: s2 }) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "transorm" === r2.substr(Ni, 8).toLowerCase() ? (e3 = r2.substr(Ni, 8), Ni += 8) : (e3 = u, 0 === xi && Pi(g)), e3 !== u && (n2 = tL()) !== u ? (s2 = Ni, "FOR" === r2.substr(Ni, 3) ? (o2 = "FOR", Ni += 3) : (o2 = u, 0 === xi && Pi(S)), o2 !== u && (a2 = tL()) !== u ? ("TYPE" === r2.substr(Ni, 4) ? (i3 = "TYPE", Ni += 4) : (i3 = u, 0 === xi && Pi(O)), i3 !== u && (l2 = tL()) !== u && (c3 = Ef()) !== u ? s2 = o2 = [o2, a2, i3, l2, c3] : (Ni = s2, s2 = u)) : (Ni = s2, s2 = u), s2 === u && (s2 = null), s2 !== u && (o2 = tL()) !== u ? (_i = t3, t3 = e3 = (w3 = s2) ? { prefix: ["TRANSORM", w3[0].toUpperCase(), w3[2].toUpperCase()].join(" "), type: "default", value: w3[4] } : { type: "origin", value: "TRANSORM" }) : (Ni = t3, t3 = u)) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "window" === r2.substr(Ni, 6).toLowerCase() ? (e3 = r2.substr(Ni, 6), Ni += 6) : (e3 = u, 0 === xi && Pi(x)), e3 === u && ("immutable" === r2.substr(Ni, 9).toLowerCase() ? (e3 = r2.substr(Ni, 9), Ni += 9) : (e3 = u, 0 === xi && Pi(U2)), e3 === u && ("stable" === r2.substr(Ni, 6).toLowerCase() ? (e3 = r2.substr(Ni, 6), Ni += 6) : (e3 = u, 0 === xi && Pi(k)), e3 === u && ("volatile" === r2.substr(Ni, 8).toLowerCase() ? (e3 = r2.substr(Ni, 8), Ni += 8) : (e3 = u, 0 === xi && Pi(M2)), e3 === u && ("strict" === r2.substr(Ni, 6).toLowerCase() ? (e3 = r2.substr(Ni, 6), Ni += 6) : (e3 = u, 0 === xi && Pi(D)))))), e3 !== u && (n2 = tL()) !== u ? (_i = t3, t3 = e3 = { type: "origin", value: e3 }) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "not" === r2.substr(Ni, 3).toLowerCase() ? (e3 = r2.substr(Ni, 3), Ni += 3) : (e3 = u, 0 === xi && Pi(P2)), e3 === u && (e3 = null), e3 !== u && (n2 = tL()) !== u ? ("leakproof" === r2.substr(Ni, 9).toLowerCase() ? (s2 = r2.substr(Ni, 9), Ni += 9) : (s2 = u, 0 === xi && Pi(G2)), s2 !== u && (o2 = tL()) !== u ? (_i = t3, t3 = e3 = { type: "origin", value: [e3, "LEAKPROOF"].filter((r3) => r3).join(" ") }) : (Ni = t3, t3 = u)) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "called" === r2.substr(Ni, 6).toLowerCase() ? (e3 = r2.substr(Ni, 6), Ni += 6) : (e3 = u, 0 === xi && Pi($)), e3 === u && (e3 = Ni, "returns" === r2.substr(Ni, 7).toLowerCase() ? (n2 = r2.substr(Ni, 7), Ni += 7) : (n2 = u, 0 === xi && Pi(A)), n2 !== u && (s2 = tL()) !== u ? ("null" === r2.substr(Ni, 4).toLowerCase() ? (o2 = r2.substr(Ni, 4), Ni += 4) : (o2 = u, 0 === xi && Pi(F2)), o2 !== u ? e3 = n2 = [n2, s2, o2] : (Ni = e3, e3 = u)) : (Ni = e3, e3 = u)), e3 === u && (e3 = null), e3 !== u && (n2 = tL()) !== u ? ("on" === r2.substr(Ni, 2).toLowerCase() ? (s2 = r2.substr(Ni, 2), Ni += 2) : (s2 = u, 0 === xi && Pi(j)), s2 !== u && (o2 = tL()) !== u ? ("null" === r2.substr(Ni, 4).toLowerCase() ? (a2 = r2.substr(Ni, 4), Ni += 4) : (a2 = u, 0 === xi && Pi(F2)), a2 !== u && (i3 = tL()) !== u ? ("input" === r2.substr(Ni, 5).toLowerCase() ? (l2 = r2.substr(Ni, 5), Ni += 5) : (l2 = u, 0 === xi && Pi(H2)), l2 !== u && (c3 = tL()) !== u ? (_i = t3, t3 = e3 = (function(r3) {
|
|
37110
37128
|
return Array.isArray(r3) && (r3 = [r3[0], r3[2]].join(" ")), { type: "origin", value: r3 + " ON NULL INPUT" };
|
|
37111
37129
|
})(e3)) : (Ni = t3, t3 = u)) : (Ni = t3, t3 = u)) : (Ni = t3, t3 = u)) : (Ni = t3, t3 = u), t3 === u && (t3 = Ni, "external" === r2.substr(Ni, 8).toLowerCase() ? (e3 = r2.substr(Ni, 8), Ni += 8) : (e3 = u, 0 === xi && Pi(Y)), e3 === u && (e3 = null), e3 !== u && (n2 = tL()) !== u ? ("security" === r2.substr(Ni, 8).toLowerCase() ? (s2 = r2.substr(Ni, 8), Ni += 8) : (s2 = u, 0 === xi && Pi(B)), s2 !== u && (o2 = tL()) !== u ? ("invoker" === r2.substr(Ni, 7).toLowerCase() ? (a2 = r2.substr(Ni, 7), Ni += 7) : (a2 = u, 0 === xi && Pi(W)), a2 === u && ("definer" === r2.substr(Ni, 7).toLowerCase() ? (a2 = r2.substr(Ni, 7), Ni += 7) : (a2 = u, 0 === xi && Pi(X2))), a2 !== u && (i3 = tL()) !== u ? (_i = t3, t3 = e3 = (function(r3, t4) {
|
|
37112
37130
|
return { type: "origin", value: [r3, "SECURITY", t4].filter((r4) => r4).join(" ") };
|
|
@@ -38908,7 +38926,7 @@ function requireNodeSqlParser() {
|
|
|
38908
38926
|
}
|
|
38909
38927
|
function tb() {
|
|
38910
38928
|
var t3, e3, n2, s2;
|
|
38911
|
-
return t3 = Ni, "null" === r2.substr(Ni, 4).toLowerCase() ? (e3 = r2.substr(Ni, 4), Ni += 4) : (e3 = u, 0 === xi && Pi(
|
|
38929
|
+
return t3 = Ni, "null" === r2.substr(Ni, 4).toLowerCase() ? (e3 = r2.substr(Ni, 4), Ni += 4) : (e3 = u, 0 === xi && Pi(F2)), e3 !== u ? (n2 = Ni, xi++, s2 = hf(), xi--, s2 === u ? n2 = void 0 : (Ni = n2, n2 = u), n2 !== u ? t3 = e3 = [e3, n2] : (Ni = t3, t3 = u)) : (Ni = t3, t3 = u), t3;
|
|
38912
38930
|
}
|
|
38913
38931
|
function eb() {
|
|
38914
38932
|
var t3, e3, n2, s2;
|
|
@@ -39859,7 +39877,7 @@ function requireNodeSqlParser() {
|
|
|
39859
39877
|
return Ql(r3, t3);
|
|
39860
39878
|
}, y = ju("BEGIN", true), E = ju("END", true), h2 = ju("FOR", true), A = ju("EACH", true), m = ju("ROW", true), T = ju("STATEMENT", true), R2 = ju("LOCAL", true), I = ju("CHECK", true), N2 = (function(r3, t3) {
|
|
39861
39879
|
return Ql(r3, t3);
|
|
39862
|
-
}), _ = ju("AUTO_INCREMENT", true), g = ju("AUTOINCREMENT", true), S = ju("UNIQUE", true), O = ju("KEY", true), x = ju("PRIMARY", true), U2 = ju("COLUMN_FORMAT", true), k = ju("FIXED", true), M2 = ju("DYNAMIC", true), D = ju("DEFAULT", true), P2 = ju("STORAGE", true), G2 = ju("DISK", true), $ = ju("MEMORY", true),
|
|
39880
|
+
}), _ = ju("AUTO_INCREMENT", true), g = ju("AUTOINCREMENT", true), S = ju("UNIQUE", true), O = ju("KEY", true), x = ju("PRIMARY", true), U2 = ju("COLUMN_FORMAT", true), k = ju("FIXED", true), M2 = ju("DYNAMIC", true), D = ju("DEFAULT", true), P2 = ju("STORAGE", true), G2 = ju("DISK", true), $ = ju("MEMORY", true), F2 = ju("GENERATED", true), j = ju("ALWAYS", true), H2 = ju("AS", true), Y = ju("STORED", true), B = ju("VIRTUAL", true), W = ju("first", true), X2 = ju("after", true), q2 = ju("FOREIGN", true), V2 = ju("CHANGE", true), K = ju("ALGORITHM", true), z = ju("INSTANT", true), Z = ju("INPLACE", true), Q = ju("COPY", true), J = ju("LOCK", true), rr = ju("NONE", true), tr = ju("SHARED", true), er = ju("EXCLUSIVE", true), nr = ju("NOT", true), sr = ju("REPLICATION", true), ur = ju("FOREIGN KEY", true), or = ju("ENFORCED", true), ar = ju("MATCH FULL", true), ir = ju("MATCH PARTIAL", true), lr = ju("MATCH SIMPLE", true), cr = ju("RESTRICT", true), fr = ju("CASCADE", true), br = ju("SET NULL", true), vr = ju("NO ACTION", true), Lr = ju("SET DEFAULT", true), Cr = ju("CHARACTER", true), pr = ju("SET", true), dr = ju("CHARSET", true), wr = ju("COLLATE", true), yr = ju("AVG_ROW_LENGTH", true), Er = ju("KEY_BLOCK_SIZE", true), hr = ju("MAX_ROWS", true), Ar = ju("MIN_ROWS", true), mr = ju("STATS_SAMPLE_PAGES", true), Tr = ju("CONNECTION", true), Rr = ju("COMPRESSION", true), Ir = ju("'", false), Nr = ju("ZLIB", true), _r = ju("LZ4", true), gr = ju("ENGINE", true), Sr = ju("WITHOUT", true), Or = ju("ROWID", true), xr = ju("STRICT", true), Ur = ju("READ", true), kr = ju("LOW_PRIORITY", true), Mr = ju("WRITE", true), Dr = function(r3, t3) {
|
|
39863
39881
|
return Ql(r3, t3);
|
|
39864
39882
|
}, Pr = ju("BINARY", true), Gr = ju("MASTER", true), $r = ju("LOGS", true), Fr = ju("BINLOG", true), jr = ju("EVENTS", true), Hr = ju("COLLATION", true), Yr = ju("GRANTS", true), Br = ju("(", false), Wr = ju(")", false), Xr = ju("BTREE", true), qr = ju("HASH", true), Vr = ju("WITH", true), Kr = ju("PARSER", true), zr = ju("VISIBLE", true), Zr = ju("INVISIBLE", true), Qr = function(r3, t3) {
|
|
39865
39883
|
return t3.unshift(r3), t3.forEach((r4) => {
|
|
@@ -40409,7 +40427,7 @@ function requireNodeSqlParser() {
|
|
|
40409
40427
|
var t4, e4, n3, s3, o3, a2, i3, l2;
|
|
40410
40428
|
t4 = Mu, e4 = Mu, (n3 = (function() {
|
|
40411
40429
|
var t5, e5, n4, s4, o4;
|
|
40412
|
-
t5 = Mu, e5 = Mu, "generated" === r2.substr(Mu, 9).toLowerCase() ? (n4 = r2.substr(Mu, 9), Mu += 9) : (n4 = u, 0 === Fu && Wu(
|
|
40430
|
+
t5 = Mu, e5 = Mu, "generated" === r2.substr(Mu, 9).toLowerCase() ? (n4 = r2.substr(Mu, 9), Mu += 9) : (n4 = u, 0 === Fu && Wu(F2));
|
|
40413
40431
|
n4 !== u && (s4 = Nl()) !== u ? ("always" === r2.substr(Mu, 6).toLowerCase() ? (o4 = r2.substr(Mu, 6), Mu += 6) : (o4 = u, 0 === Fu && Wu(j)), o4 !== u ? e5 = n4 = [n4, s4, o4] : (Mu = e5, e5 = u)) : (Mu = e5, e5 = u);
|
|
40414
40432
|
e5 !== u && (Du = t5, e5 = e5.join("").toLowerCase());
|
|
40415
40433
|
return t5 = e5;
|
|
@@ -42473,7 +42491,7 @@ function requireNodeSqlParser() {
|
|
|
42473
42491
|
return vb(r3, t3, 1);
|
|
42474
42492
|
}, v = pa("IF", true), L2 = function(r3, t3) {
|
|
42475
42493
|
return vb(r3, t3);
|
|
42476
|
-
}, C = pa("UNIQUE", true), p2 = pa("KEY", true), d = pa("PRIMARY", true), w2 = pa("IDENTITY", true), y = pa("COLUMN_FORMAT", true), E = pa("FIXED", true), h2 = pa("DYNAMIC", true), A = pa("DEFAULT", true), m = pa("STORAGE", true), T = pa("DISK", true), R2 = pa("MEMORY", true), I = pa("CURSOR", true), N2 = pa("EXECUTE", true), _ = pa("EXEC", true), g = pa("@", false), S = pa("if", true), O = pa("exists", true), x = pa("PROCEDURE", true), U2 = pa("ENCRYPTION", true), k = pa("SCHEMABINDING", true), M2 = pa("VIEW_METADATA", true), D = pa("CHECK", true), P2 = pa("OPTION", true), G2 = pa("ALGORITHM", true), $ = pa("INSTANT", true),
|
|
42494
|
+
}, C = pa("UNIQUE", true), p2 = pa("KEY", true), d = pa("PRIMARY", true), w2 = pa("IDENTITY", true), y = pa("COLUMN_FORMAT", true), E = pa("FIXED", true), h2 = pa("DYNAMIC", true), A = pa("DEFAULT", true), m = pa("STORAGE", true), T = pa("DISK", true), R2 = pa("MEMORY", true), I = pa("CURSOR", true), N2 = pa("EXECUTE", true), _ = pa("EXEC", true), g = pa("@", false), S = pa("if", true), O = pa("exists", true), x = pa("PROCEDURE", true), U2 = pa("ENCRYPTION", true), k = pa("SCHEMABINDING", true), M2 = pa("VIEW_METADATA", true), D = pa("CHECK", true), P2 = pa("OPTION", true), G2 = pa("ALGORITHM", true), $ = pa("INSTANT", true), F2 = pa("INPLACE", true), j = pa("COPY", true), H2 = pa("LOCK", true), Y = pa("NONE", true), B = pa("SHARED", true), W = pa("EXCLUSIVE", true), X2 = pa("NOCHECK", true), q2 = pa("PRIMARY KEY", true), V2 = pa("NOT", true), K = pa("FOR", true), z = pa("REPLICATION", true), Z = pa("FOREIGN KEY", true), Q = pa("MATCH FULL", true), J = pa("MATCH PARTIAL", true), rr = pa("MATCH SIMPLE", true), tr = pa("RESTRICT", true), er = pa("CASCADE", true), nr = pa("SET NULL", true), sr = pa("NO ACTION", true), ur = pa("SET DEFAULT", true), or = pa("CHARACTER", true), ar = pa("SET", true), ir = pa("CHARSET", true), lr = pa("COLLATE", true), cr = pa("AUTO_INCREMENT", true), fr = pa("AVG_ROW_LENGTH", true), br = pa("KEY_BLOCK_SIZE", true), vr = pa("MAX_ROWS", true), Lr = pa("MIN_ROWS", true), Cr = pa("STATS_SAMPLE_PAGES", true), pr = pa("CONNECTION", true), dr = pa("COMPRESSION", true), wr = pa("'", false), yr = pa("ZLIB", true), Er = pa("LZ4", true), hr = pa("ENGINE", true), Ar = pa("TEXTIMAGE_ON", true), mr = pa("result", true), Tr = pa("caching", true), Rr = pa("statistics", true), Ir = pa("io", true), Nr = pa("xml", true), _r = pa("profile", true), gr = pa("time", true), Sr = pa("datefirst", true), Or = pa("dateformat", true), xr = pa("deadlock_priority", true), Ur = pa("lock_timeout", true), kr = pa("concat_null_yields_null", true), Mr = pa("cursor_close_on_commit", true), Dr = pa("fips_flagger", true), Pr = pa("identity_insert", true), Gr = pa("language", true), $r = pa("offsets", true), Fr = pa("quoted_identifier", true), jr = pa("arithabort", true), Hr = pa("arithignore", true), Yr = pa("fmtonly", true), Br = pa("nocount", true), Wr = pa("noexec", true), Xr = pa("numberic_roundabort", true), qr = pa("parseonly", true), Vr = pa("query_governor_cost_limit", true), Kr = pa("rowcount", true), zr = pa("textsize", true), Zr = pa("ansi_defaults", true), Qr = pa("ansi_null_dflt_off", true), Jr = pa("ansi_null_dflt_on", true), rt = pa("ansi_nulls", true), tt = pa("ansi_padding", true), et = pa("ansi_warnings", true), nt = pa("forceplan", true), st = pa("showplan_all", true), ut = pa("showplan_text", true), ot = pa("showplan_xml", true), at = pa("implicit_transactions", true), it = pa("remote_proc_transactions", true), lt2 = pa("xact_abort", true), ct = function(r3) {
|
|
42477
42495
|
return { type: "origin", value: r3.toLowerCase() };
|
|
42478
42496
|
}, ft = pa("read", true), bt = pa("uncommitted", true), vt = pa("committed", true), Lt = pa("REPEATABLE", true), Ct = pa("snapshot", true), pt = pa("serializable", true), dt = pa("transaction", true), wt = pa("isolation", true), yt = pa("level", true), Et = pa("READ", true), ht = pa("LOCAL", true), At = pa("LOW_PRIORITY", true), mt = pa("WRITE", true), Tt = function(r3, t3) {
|
|
42479
42497
|
return vb(r3, t3);
|
|
@@ -43088,7 +43106,7 @@ function requireNodeSqlParser() {
|
|
|
43088
43106
|
}
|
|
43089
43107
|
function ja() {
|
|
43090
43108
|
var t3, e3, n2, s2;
|
|
43091
|
-
return t3 = ca, "algorithm" === r2.substr(ca, 9).toLowerCase() ? (e3 = r2.substr(ca, 9), ca += 9) : (e3 = u, 0 === Ca && Ea(G2)), e3 !== u && Hf() !== u ? ((n2 = mf()) === u && (n2 = null), n2 !== u && Hf() !== u ? ("default" === r2.substr(ca, 7).toLowerCase() ? (s2 = r2.substr(ca, 7), ca += 7) : (s2 = u, 0 === Ca && Ea(A)), s2 === u && ("instant" === r2.substr(ca, 7).toLowerCase() ? (s2 = r2.substr(ca, 7), ca += 7) : (s2 = u, 0 === Ca && Ea($)), s2 === u && ("inplace" === r2.substr(ca, 7).toLowerCase() ? (s2 = r2.substr(ca, 7), ca += 7) : (s2 = u, 0 === Ca && Ea(
|
|
43109
|
+
return t3 = ca, "algorithm" === r2.substr(ca, 9).toLowerCase() ? (e3 = r2.substr(ca, 9), ca += 9) : (e3 = u, 0 === Ca && Ea(G2)), e3 !== u && Hf() !== u ? ((n2 = mf()) === u && (n2 = null), n2 !== u && Hf() !== u ? ("default" === r2.substr(ca, 7).toLowerCase() ? (s2 = r2.substr(ca, 7), ca += 7) : (s2 = u, 0 === Ca && Ea(A)), s2 === u && ("instant" === r2.substr(ca, 7).toLowerCase() ? (s2 = r2.substr(ca, 7), ca += 7) : (s2 = u, 0 === Ca && Ea($)), s2 === u && ("inplace" === r2.substr(ca, 7).toLowerCase() ? (s2 = r2.substr(ca, 7), ca += 7) : (s2 = u, 0 === Ca && Ea(F2)), s2 === u && ("copy" === r2.substr(ca, 4).toLowerCase() ? (s2 = r2.substr(ca, 4), ca += 4) : (s2 = u, 0 === Ca && Ea(j))))), s2 !== u ? (fa = t3, t3 = e3 = { type: "alter", keyword: "algorithm", resource: "algorithm", symbol: n2, algorithm: s2 }) : (ca = t3, t3 = u)) : (ca = t3, t3 = u)) : (ca = t3, t3 = u), t3;
|
|
43092
43110
|
}
|
|
43093
43111
|
function Ha() {
|
|
43094
43112
|
var t3, e3, n2, s2;
|
|
@@ -45242,7 +45260,7 @@ function requireNodeSqlParser() {
|
|
|
45242
45260
|
t2 = void 0 !== t2 ? t2 : {};
|
|
45243
45261
|
var e2, u = {}, o = { start: Za }, a = Za, i2 = Wa("IF", true), l = Wa("EXTENSION", true), c2 = Wa("SCHEMA", true), f2 = Wa("VERSION", true), b = Wa("CASCADED", true), v = Wa("LOCAL", true), L2 = Wa("CHECK", true), C = Wa("OPTION", false), p2 = Wa("check_option", true), d = Wa("security_barrier", true), w2 = Wa("security_invoker", true), y = Wa("TYPE", true), E = Wa("DOMAIN", true), h2 = Wa("INCREMENT", true), A = Wa("MINVALUE", true), m = function(r3, t3) {
|
|
45244
45262
|
return { resource: "sequence", prefix: r3.toLowerCase(), value: t3 };
|
|
45245
|
-
}, T = Wa("NO", true), R2 = Wa("MAXVALUE", true), I = Wa("START", true), N2 = Wa("CACHE", true), _ = Wa("CYCLE", true), g = Wa("OWNED", true), S = Wa("NONE", true), O = Wa("NULLS", true), x = Wa("FIRST", true), U2 = Wa("LAST", true), k = Wa("AUTO_INCREMENT", true), M2 = Wa("UNIQUE", true), D = Wa("KEY", true), P2 = Wa("PRIMARY", true), G2 = Wa("COLUMN_FORMAT", true), $ = Wa("FIXED", true),
|
|
45263
|
+
}, T = Wa("NO", true), R2 = Wa("MAXVALUE", true), I = Wa("START", true), N2 = Wa("CACHE", true), _ = Wa("CYCLE", true), g = Wa("OWNED", true), S = Wa("NONE", true), O = Wa("NULLS", true), x = Wa("FIRST", true), U2 = Wa("LAST", true), k = Wa("AUTO_INCREMENT", true), M2 = Wa("UNIQUE", true), D = Wa("KEY", true), P2 = Wa("PRIMARY", true), G2 = Wa("COLUMN_FORMAT", true), $ = Wa("FIXED", true), F2 = Wa("DYNAMIC", true), j = Wa("DEFAULT", true), H2 = Wa("STORAGE", true), Y = Wa("DISK", true), B = Wa("MEMORY", true), W = Wa("CASCADE", true), X2 = Wa("RESTRICT", true), q2 = Wa("OUT", true), V2 = Wa("VARIADIC", true), K = Wa("INOUT", true), z = Wa("AGGREGATE", true), Z = Wa("FUNCTION", true), Q = Wa("OWNER", true), J = Wa("CURRENT_ROLE", true), rr = Wa("CURRENT_USER", true), tr = Wa("SESSION_USER", true), er = Wa("ALGORITHM", true), nr = Wa("INSTANT", true), sr = Wa("INPLACE", true), ur = Wa("COPY", true), or = Wa("LOCK", true), ar = Wa("SHARED", true), ir = Wa("EXCLUSIVE", true), lr = Wa("PRIMARY KEY", true), cr = Wa("FOREIGN KEY", true), fr = Wa("MATCH FULL", true), br = Wa("MATCH PARTIAL", true), vr = Wa("MATCH SIMPLE", true), Lr = Wa("SET NULL", true), Cr = Wa("NO ACTION", true), pr = Wa("SET DEFAULT", true), dr = Wa("TRIGGER", true), wr = Wa("BEFORE", true), yr = Wa("AFTER", true), Er = Wa("INSTEAD OF", true), hr = Wa("ON", true), Ar = Wa("EXECUTE", true), mr = Wa("PROCEDURE", true), Tr = Wa("OF", true), Rr = Wa("NOT", true), Ir = Wa("DEFERRABLE", true), Nr = Wa("INITIALLY IMMEDIATE", true), _r = Wa("INITIALLY DEFERRED", true), gr = Wa("FOR", true), Sr = Wa("EACH", true), Or = Wa("ROW", true), xr = Wa("STATEMENT", true), Ur = Wa("CHARACTER", true), kr = Wa("SET", true), Mr = Wa("CHARSET", true), Dr = Wa("COLLATE", true), Pr = Wa("AVG_ROW_LENGTH", true), Gr = Wa("KEY_BLOCK_SIZE", true), $r = Wa("MAX_ROWS", true), Fr = Wa("MIN_ROWS", true), jr = Wa("STATS_SAMPLE_PAGES", true), Hr = Wa("CONNECTION", true), Yr = Wa("COMPRESSION", true), Br = Wa("'", false), Wr = Wa("ZLIB", true), Xr = Wa("LZ4", true), qr = Wa("ENGINE", true), Vr = Wa("IN", true), Kr = Wa("ACCESS SHARE", true), zr = Wa("ROW SHARE", true), Zr = Wa("ROW EXCLUSIVE", true), Qr = Wa("SHARE UPDATE EXCLUSIVE", true), Jr = Wa("SHARE ROW EXCLUSIVE", true), rt = Wa("ACCESS EXCLUSIVE", true), tt = Wa("SHARE", true), et = Wa("MODE", true), nt = Wa("NOWAIT", true), st = Wa("TABLES", true), ut = Wa("PREPARE", true), ot = Wa(";", false), at = Wa("(", false), it = Wa(")", false), lt2 = Wa("PERCENT", true), ct = Wa("exclude", true), ft = Wa("OUTFILE", true), bt = Wa("DUMPFILE", true), vt = Wa("BTREE", true), Lt = Wa("HASH", true), Ct = Wa("GIST", true), pt = Wa("GIN", true), dt = Wa("WITH", true), wt = Wa("PARSER", true), yt = Wa("VISIBLE", true), Et = Wa("INVISIBLE", true), ht = function(r3, t3) {
|
|
45246
45264
|
return t3.unshift(r3), t3.forEach((r4) => {
|
|
45247
45265
|
const { table: t4, as: e3 } = r4;
|
|
45248
45266
|
Wv[t4] = t4, e3 && (Wv[e3] = t4), (function(r5) {
|
|
@@ -45810,7 +45828,7 @@ function requireNodeSqlParser() {
|
|
|
45810
45828
|
})(e3)) : ($a = t3, t3 = u)) : ($a = t3, t3 = u), t3 === u && (t3 = $a, (e3 = cv()) !== u && (Fa = t3, e3 = { comment: e3 }), (t3 = e3) === u && (t3 = $a, (e3 = li()) !== u && (Fa = t3, e3 = { collate: e3 }), (t3 = e3) === u && (t3 = $a, (e3 = (function() {
|
|
45811
45829
|
var t4, e4, n3;
|
|
45812
45830
|
t4 = $a, "column_format" === r2.substr($a, 13).toLowerCase() ? (e4 = r2.substr($a, 13), $a += 13) : (e4 = u, 0 === Ba && Ka(G2));
|
|
45813
|
-
e4 !== u && av() !== u ? ("fixed" === r2.substr($a, 5).toLowerCase() ? (n3 = r2.substr($a, 5), $a += 5) : (n3 = u, 0 === Ba && Ka($)), n3 === u && ("dynamic" === r2.substr($a, 7).toLowerCase() ? (n3 = r2.substr($a, 7), $a += 7) : (n3 = u, 0 === Ba && Ka(
|
|
45831
|
+
e4 !== u && av() !== u ? ("fixed" === r2.substr($a, 5).toLowerCase() ? (n3 = r2.substr($a, 5), $a += 5) : (n3 = u, 0 === Ba && Ka($)), n3 === u && ("dynamic" === r2.substr($a, 7).toLowerCase() ? (n3 = r2.substr($a, 7), $a += 7) : (n3 = u, 0 === Ba && Ka(F2)), n3 === u && ("default" === r2.substr($a, 7).toLowerCase() ? (n3 = r2.substr($a, 7), $a += 7) : (n3 = u, 0 === Ba && Ka(j)))), n3 !== u ? (Fa = t4, e4 = { type: "column_format", value: n3.toLowerCase() }, t4 = e4) : ($a = t4, t4 = u)) : ($a = t4, t4 = u);
|
|
45814
45832
|
return t4;
|
|
45815
45833
|
})()) !== u && (Fa = t3, e3 = { column_format: e3 }), (t3 = e3) === u && (t3 = $a, (e3 = (function() {
|
|
45816
45834
|
var t4, e4, n3;
|
|
@@ -48539,7 +48557,7 @@ function requireNodeSqlParser() {
|
|
|
48539
48557
|
t2 = void 0 !== t2 ? t2 : {};
|
|
48540
48558
|
var e2, u = {}, o = { start: Ta }, a = Ta, i2 = wa("IF", true), l = wa("EXTENSION", true), c2 = wa("SCHEMA", true), f2 = wa("VERSION", true), b = wa("CASCADED", true), v = wa("LOCAL", true), L2 = wa("CHECK", true), C = wa("OPTION", false), p2 = wa("check_option", true), d = wa("security_barrier", true), w2 = wa("security_invoker", true), y = wa("TYPE", true), E = wa("DOMAIN", true), h2 = wa("INCREMENT", true), A = wa("MINVALUE", true), m = function(r3, t3) {
|
|
48541
48559
|
return { resource: "sequence", prefix: r3.toLowerCase(), value: t3 };
|
|
48542
|
-
}, T = wa("NO", true), R2 = wa("MAXVALUE", true), I = wa("START", true), N2 = wa("CACHE", true), _ = wa("CYCLE", true), g = wa("OWNED", true), S = wa("NONE", true), O = wa("NULLS", true), x = wa("FIRST", true), U2 = wa("LAST", true), k = wa("AUTO_INCREMENT", true), M2 = wa("UNIQUE", true), D = wa("KEY", true), P2 = wa("PRIMARY", true), G2 = wa("COLUMN_FORMAT", true), $ = wa("FIXED", true),
|
|
48560
|
+
}, T = wa("NO", true), R2 = wa("MAXVALUE", true), I = wa("START", true), N2 = wa("CACHE", true), _ = wa("CYCLE", true), g = wa("OWNED", true), S = wa("NONE", true), O = wa("NULLS", true), x = wa("FIRST", true), U2 = wa("LAST", true), k = wa("AUTO_INCREMENT", true), M2 = wa("UNIQUE", true), D = wa("KEY", true), P2 = wa("PRIMARY", true), G2 = wa("COLUMN_FORMAT", true), $ = wa("FIXED", true), F2 = wa("DYNAMIC", true), j = wa("DEFAULT", true), H2 = wa("STORAGE", true), Y = wa("DISK", true), B = wa("MEMORY", true), W = wa("CASCADE", true), X2 = wa("RESTRICT", true), q2 = wa("OUT", true), V2 = wa("VARIADIC", true), K = wa("INOUT", true), z = wa("AGGREGATE", true), Z = wa("FUNCTION", true), Q = wa("OWNER", true), J = wa("CURRENT_ROLE", true), rr = wa("CURRENT_USER", true), tr = wa("SESSION_USER", true), er = wa("ALGORITHM", true), nr = wa("INSTANT", true), sr = wa("INPLACE", true), ur = wa("COPY", true), or = wa("LOCK", true), ar = wa("SHARED", true), ir = wa("EXCLUSIVE", true), lr = wa("PRIMARY KEY", true), cr = wa("FOREIGN KEY", true), fr = wa("MATCH FULL", true), br = wa("MATCH PARTIAL", true), vr = wa("MATCH SIMPLE", true), Lr = wa("SET NULL", true), Cr = wa("NO ACTION", true), pr = wa("SET DEFAULT", true), dr = wa("TRIGGER", true), wr = wa("BEFORE", true), yr = wa("AFTER", true), Er = wa("INSTEAD OF", true), hr = wa("ON", true), Ar = wa("EXECUTE", true), mr = wa("PROCEDURE", true), Tr = wa("OF", true), Rr = wa("NOT", true), Ir = wa("DEFERRABLE", true), Nr = wa("INITIALLY IMMEDIATE", true), _r = wa("INITIALLY DEFERRED", true), gr = wa("FOR", true), Sr = wa("EACH", true), Or = wa("ROW", true), xr = wa("STATEMENT", true), Ur = wa("CHARACTER", true), kr = wa("SET", true), Mr = wa("CHARSET", true), Dr = wa("COLLATE", true), Pr = wa("AVG_ROW_LENGTH", true), Gr = wa("KEY_BLOCK_SIZE", true), $r = wa("MAX_ROWS", true), Fr = wa("MIN_ROWS", true), jr = wa("STATS_SAMPLE_PAGES", true), Hr = wa("CONNECTION", true), Yr = wa("COMPRESSION", true), Br = wa("'", false), Wr = wa("ZLIB", true), Xr = wa("LZ4", true), qr = wa("ENGINE", true), Vr = wa("IN", true), Kr = wa("ACCESS SHARE", true), zr = wa("ROW SHARE", true), Zr = wa("ROW EXCLUSIVE", true), Qr = wa("SHARE UPDATE EXCLUSIVE", true), Jr = wa("SHARE ROW EXCLUSIVE", true), rt = wa("ACCESS EXCLUSIVE", true), tt = wa("SHARE", true), et = wa("MODE", true), nt = wa("NOWAIT", true), st = wa("TABLES", true), ut = wa("PREPARE", true), ot = wa(";", false), at = wa("(", false), it = wa(")", false), lt2 = function(r3, t3) {
|
|
48543
48561
|
return { with: r3, ...t3 };
|
|
48544
48562
|
}, ct = wa("OUTFILE", true), ft = wa("DUMPFILE", true), bt = wa("BTREE", true), vt = wa("HASH", true), Lt = wa("GIST", true), Ct = wa("GIN", true), pt = wa("WITH", true), dt = wa("PARSER", true), wt = wa("VISIBLE", true), yt = wa("INVISIBLE", true), Et = function(r3, t3) {
|
|
48545
48563
|
return t3.unshift(r3), t3.forEach((r4) => {
|
|
@@ -49119,7 +49137,7 @@ function requireNodeSqlParser() {
|
|
|
49119
49137
|
})(e3)) : (ba = t3, t3 = u)) : (ba = t3, t3 = u), t3 === u && (t3 = ba, (e3 = Tb()) !== u && (va = t3, e3 = { comment: e3 }), (t3 = e3) === u && (t3 = ba, (e3 = Da()) !== u && (va = t3, e3 = { collate: e3 }), (t3 = e3) === u && (t3 = ba, (e3 = (function() {
|
|
49120
49138
|
var t4, e4, n3;
|
|
49121
49139
|
t4 = ba, "column_format" === r2.substr(ba, 13).toLowerCase() ? (e4 = r2.substr(ba, 13), ba += 13) : (e4 = u, 0 === da && Aa(G2));
|
|
49122
|
-
e4 !== u && hb() !== u ? ("fixed" === r2.substr(ba, 5).toLowerCase() ? (n3 = r2.substr(ba, 5), ba += 5) : (n3 = u, 0 === da && Aa($)), n3 === u && ("dynamic" === r2.substr(ba, 7).toLowerCase() ? (n3 = r2.substr(ba, 7), ba += 7) : (n3 = u, 0 === da && Aa(
|
|
49140
|
+
e4 !== u && hb() !== u ? ("fixed" === r2.substr(ba, 5).toLowerCase() ? (n3 = r2.substr(ba, 5), ba += 5) : (n3 = u, 0 === da && Aa($)), n3 === u && ("dynamic" === r2.substr(ba, 7).toLowerCase() ? (n3 = r2.substr(ba, 7), ba += 7) : (n3 = u, 0 === da && Aa(F2)), n3 === u && ("default" === r2.substr(ba, 7).toLowerCase() ? (n3 = r2.substr(ba, 7), ba += 7) : (n3 = u, 0 === da && Aa(j)))), n3 !== u ? (va = t4, e4 = { type: "column_format", value: n3.toLowerCase() }, t4 = e4) : (ba = t4, t4 = u)) : (ba = t4, t4 = u);
|
|
49123
49141
|
return t4;
|
|
49124
49142
|
})()) !== u && (va = t3, e3 = { column_format: e3 }), (t3 = e3) === u && (t3 = ba, (e3 = (function() {
|
|
49125
49143
|
var t4, e4, n3;
|
|
@@ -52065,7 +52083,7 @@ function requireNodeSqlParser() {
|
|
|
52065
52083
|
var t2 = r2.keyword, e2 = r2.expr;
|
|
52066
52084
|
return [d(t2), y(e2)].filter(w2).join(" ");
|
|
52067
52085
|
}
|
|
52068
|
-
function
|
|
52086
|
+
function F2(r2) {
|
|
52069
52087
|
return (function(r3) {
|
|
52070
52088
|
if (Array.isArray(r3)) return j(r3);
|
|
52071
52089
|
})(r2) || (function(r3) {
|
|
@@ -52089,7 +52107,7 @@ function requireNodeSqlParser() {
|
|
|
52089
52107
|
return r2 ? [r2.prefix.map(y).join(" "), ct(r2.value), r2.suffix.map(y).join(" ")] : [];
|
|
52090
52108
|
}
|
|
52091
52109
|
function Y(r2) {
|
|
52092
|
-
return r2 ? r2.fetch || r2.offset ? (e2 = (t2 = r2).fetch, n2 = t2.offset, [].concat(
|
|
52110
|
+
return r2 ? r2.fetch || r2.offset ? (e2 = (t2 = r2).fetch, n2 = t2.offset, [].concat(F2(H2(n2)), F2(H2(e2))).filter(w2).join(" ")) : (function(r3) {
|
|
52093
52111
|
var t3 = r3.seperator, e3 = r3.value;
|
|
52094
52112
|
return 1 === e3.length && "offset" === t3 ? i2("OFFSET", ct(e3[0])) : i2("LIMIT", e3.map(ct).join("".concat("offset" === t3 ? " " : "").concat(d(t3), " ")));
|
|
52095
52113
|
})(r2) : "";
|
|
@@ -53749,9 +53767,9 @@ const safeParseSQL2Fields = (templateSQL) => {
|
|
|
53749
53767
|
const parser = new nodeSqlParserExports.Parser();
|
|
53750
53768
|
const safeSQL = replacePlaceholders(templateSQL);
|
|
53751
53769
|
const info = parser.parse(safeSQL);
|
|
53752
|
-
const
|
|
53753
|
-
console.log("fields",
|
|
53754
|
-
return
|
|
53770
|
+
const fields2 = extractSelectFields(info.ast);
|
|
53771
|
+
console.log("fields", fields2);
|
|
53772
|
+
return fields2;
|
|
53755
53773
|
} catch (err) {
|
|
53756
53774
|
console.error("SQL 解析失败:", err.message);
|
|
53757
53775
|
return [];
|
|
@@ -56052,7 +56070,7 @@ function getCommonFields(items) {
|
|
|
56052
56070
|
}
|
|
56053
56071
|
function initSubTable2dChildList(key, initRowLen) {
|
|
56054
56072
|
return {
|
|
56055
|
-
group_: `${key}${uuid2(16)}`,
|
|
56073
|
+
group_: `${key}${uuid2$1(16)}`,
|
|
56056
56074
|
// 二维表
|
|
56057
56075
|
_2DTABLE_: Array.from({ length: initRowLen }, (_, index2) => ({
|
|
56058
56076
|
...cloneDeep(DEFAULT_FROM_STATE)
|
|
@@ -56193,7 +56211,7 @@ const transformUtils = {
|
|
|
56193
56211
|
if (sInfo.subTable2d && sInfo.key === "dyn" || sInfo.checkTable2d && sInfo.key === "newfixed") {
|
|
56194
56212
|
const emptyList = Array.from({ length: sInfo.childInitRowLen });
|
|
56195
56213
|
fieldList2d = fieldList.map((fInfo) => {
|
|
56196
|
-
const group_ = `${sInfo.key}${uuid2(16)}`;
|
|
56214
|
+
const group_ = `${sInfo.key}${uuid2$1(16)}`;
|
|
56197
56215
|
return emptyList.map((_) => {
|
|
56198
56216
|
return {
|
|
56199
56217
|
...fInfo,
|
|
@@ -56334,7 +56352,7 @@ const transformUtils = {
|
|
|
56334
56352
|
const is2DTable = subInfo.subTable2d && subInfo.key === "dyn";
|
|
56335
56353
|
const isCheckTable = subInfo.checkTable2d && subInfo.key === "newfixed";
|
|
56336
56354
|
const init_table_data = Array.from({ length: subInfo.initRowLen }, (_, index2) => {
|
|
56337
|
-
const groupKey = `${subInfo.key}${uuid2(16)}`;
|
|
56355
|
+
const groupKey = `${subInfo.key}${uuid2$1(16)}`;
|
|
56338
56356
|
const baseData = cloneDeep(DEFAULT_FROM_STATE);
|
|
56339
56357
|
if (is2DTable || isCheckTable) {
|
|
56340
56358
|
const extraData = is2DTable ? { ...omit(subDefaultData, subInfo.crossFieldKeys) } : subInfo.checkDsData?.[index2] ?? {};
|
|
@@ -56396,7 +56414,7 @@ const transformUtils = {
|
|
|
56396
56414
|
if (is2DTable) {
|
|
56397
56415
|
const emptyList = Array.from({ length: childInitRowLen });
|
|
56398
56416
|
data2d = data.map((fInfo) => {
|
|
56399
|
-
const group_ = `${tableKey}${uuid2(16)}`;
|
|
56417
|
+
const group_ = `${tableKey}${uuid2$1(16)}`;
|
|
56400
56418
|
return emptyList.map((_) => {
|
|
56401
56419
|
return {
|
|
56402
56420
|
...fInfo,
|
|
@@ -56537,7 +56555,7 @@ const transformUtils = {
|
|
|
56537
56555
|
if (sInfo.subTable2d && sInfo.key === "dyn" || sInfo.checkTable2d && sInfo.key === "newfixed") {
|
|
56538
56556
|
const emptyList = Array.from({ length: sInfo.childInitRowLen });
|
|
56539
56557
|
fieldList2d = fieldList.map((fInfo) => {
|
|
56540
|
-
const group_ = `${sInfo.key}${uuid2(16)}`;
|
|
56558
|
+
const group_ = `${sInfo.key}${uuid2$1(16)}`;
|
|
56541
56559
|
return emptyList.map((_) => {
|
|
56542
56560
|
return {
|
|
56543
56561
|
...fInfo,
|
|
@@ -56724,7 +56742,7 @@ const transformUtils = {
|
|
|
56724
56742
|
const baseData = cloneDeep(DEFAULT_FROM_STATE);
|
|
56725
56743
|
const rowData = { ...baseData };
|
|
56726
56744
|
if (payload.isRowSubTable2d) {
|
|
56727
|
-
const groupKey = `dyn${uuid2(16)}`;
|
|
56745
|
+
const groupKey = `dyn${uuid2$1(16)}`;
|
|
56728
56746
|
const _2DTABLE_ = Array.from({ length: payload.childInitRowLen }, () => {
|
|
56729
56747
|
const child = {
|
|
56730
56748
|
...baseData,
|
|
@@ -57297,9 +57315,9 @@ async function getMaterialLotList({ queryData = {}, pageNo = 1, pageSize = 20 }
|
|
|
57297
57315
|
}
|
|
57298
57316
|
const processWidgets = async (dataCenter, callback, tdCallback) => {
|
|
57299
57317
|
const DEFAULT_ATTRS = { fieldAttr: "field", modelAttr: "modelKey", needDyn: true };
|
|
57300
|
-
const processRefFields = async (
|
|
57301
|
-
if (!
|
|
57302
|
-
for (const field of
|
|
57318
|
+
const processRefFields = async (fields2, key, tdWidget) => {
|
|
57319
|
+
if (!fields2 || !fields2.length) return;
|
|
57320
|
+
for (const field of fields2) {
|
|
57303
57321
|
await callback(field.props, { ...DEFAULT_ATTRS, isRef: true, key }, tdWidget);
|
|
57304
57322
|
}
|
|
57305
57323
|
};
|
|
@@ -57581,13 +57599,13 @@ const renderUtils = {
|
|
|
57581
57599
|
FIELD_TYPE.WAREHOUSE_RECEIPT_DATE
|
|
57582
57600
|
].includes(fieldType) && defaultSysDate || [FIELD_TYPE.USER, FIELD_TYPE.USER_MULTI].includes(fieldType) && defaultValue === FieldSysVarDefaultValueEnum.CURRENT_USER || [FIELD_TYPE.ORG, FIELD_TYPE.ORG_MULTI].includes(fieldType) && defaultValue === FieldSysVarDefaultValueEnum.CURRENT_ORG || ([
|
|
57583
57601
|
FIELD_TYPE.MATERIAL_NO,
|
|
57584
|
-
FIELD_TYPE.
|
|
57585
|
-
FIELD_TYPE.
|
|
57602
|
+
FIELD_TYPE.STERILIZATION_CONTAINER,
|
|
57603
|
+
FIELD_TYPE.MATERIAL_CONTAINER,
|
|
57586
57604
|
FIELD_TYPE.RELATED_LOT_NO,
|
|
57587
57605
|
FIELD_TYPE.PRODUCT,
|
|
57588
57606
|
FIELD_TYPE.ROUTING_OPERATION,
|
|
57589
57607
|
FIELD_TYPE.MFG_ORDER
|
|
57590
|
-
].includes(fieldType) || [FIELD_TYPE.E_SOP, FIELD_TYPE.E_SOP_VERSION].includes(bizType)) && !subFieldKey && !subModelKey || bizType === FIELD_TYPE.WAREHOUSE || bizType === FIELD_TYPE.PRODUCTION_QTY || !isNil(defaultValue) && defaultValue !== "";
|
|
57608
|
+
].includes(fieldType) || [FIELD_TYPE.E_SOP, FIELD_TYPE.E_SOP_VERSION].includes(bizType)) && !subFieldKey && !subModelKey || bizType === FIELD_TYPE.WAREHOUSE || bizType === FIELD_TYPE.PRODUCTION_CONTAINER || bizType === FIELD_TYPE.PRODUCTION_QTY || !isNil(defaultValue) && defaultValue !== "";
|
|
57591
57609
|
if (shouldPushDefaultValueField && !useDefaultValueFields[key]) {
|
|
57592
57610
|
useDefaultValueFields[key] = {
|
|
57593
57611
|
fieldId,
|
|
@@ -57780,7 +57798,7 @@ const renderUtils = {
|
|
|
57780
57798
|
field.newSpecificConfig.newModelName = modelMap?.[key]?.name;
|
|
57781
57799
|
field.newSpecificConfig.mappingType = fieldInfo?.mappingType;
|
|
57782
57800
|
const defaultQuery = {};
|
|
57783
|
-
if (field.field === "warehouse_id_" || field.field === "location_id_" || field.bizType === FIELD_TYPE.LOCATION || field.bizType === FIELD_TYPE.WAREHOUSE || field.bizType === FIELD_TYPE.SHOPFLOOR) {
|
|
57801
|
+
if (field.field === "warehouse_id_" || field.field === "location_id_" || field.field === "storage_zone_id_" || field.bizType === FIELD_TYPE.LOCATION || field.bizType === FIELD_TYPE.WAREHOUSE || field.bizType === FIELD_TYPE.SHOPFLOOR) {
|
|
57784
57802
|
defaultQuery.operating_state_ = true;
|
|
57785
57803
|
}
|
|
57786
57804
|
const setOptions = async () => {
|
|
@@ -57872,7 +57890,7 @@ const renderUtils = {
|
|
|
57872
57890
|
case FIELD_TYPE.SCRAP_MATERIAL_NO:
|
|
57873
57891
|
case FIELD_TYPE.MATERIAL_NO:
|
|
57874
57892
|
case FIELD_TYPE.RELATED_LOT_NO:
|
|
57875
|
-
if (bizType === FIELD_TYPE.
|
|
57893
|
+
if (bizType === FIELD_TYPE.STERILIZATION_CONTAINER || bizType === FIELD_TYPE.MATERIAL_CONTAINER) {
|
|
57876
57894
|
return {
|
|
57877
57895
|
options: []
|
|
57878
57896
|
};
|
|
@@ -57898,8 +57916,8 @@ const renderUtils = {
|
|
|
57898
57916
|
operating_state_: true
|
|
57899
57917
|
} : {}
|
|
57900
57918
|
},
|
|
57901
|
-
//
|
|
57902
|
-
needDataLink: field.field === "location_id_",
|
|
57919
|
+
// 库区 / 库位需数据联动,初始化不要加载
|
|
57920
|
+
needDataLink: field.field === "location_id_" || field.field === "storage_zone_id_",
|
|
57903
57921
|
exp: queryCondition.dataFilterExp,
|
|
57904
57922
|
isRdo
|
|
57905
57923
|
});
|
|
@@ -57956,14 +57974,15 @@ const renderUtils = {
|
|
|
57956
57974
|
...queryCondition.dataFilterFixedQueryData,
|
|
57957
57975
|
...defaultQuery
|
|
57958
57976
|
};
|
|
57959
|
-
if (field.field === "location_id_") {
|
|
57960
|
-
const
|
|
57961
|
-
|
|
57962
|
-
|
|
57977
|
+
if (field.field === "storage_zone_id_" || field.field === "location_id_") {
|
|
57978
|
+
const modelFields = modelMap?.[key]?.list ?? [];
|
|
57979
|
+
const hasStorageZone = modelFields.some((item) => item.key === "storage_zone_id_");
|
|
57980
|
+
const linkKey = field.field === "storage_zone_id_" ? "warehouse_id_" : hasStorageZone ? "storage_zone_id_" : "warehouse_id_";
|
|
57981
|
+
const linkFieldInfo = modelFields.find((item) => item.key === linkKey);
|
|
57963
57982
|
queryCondition.clsReasonDataLinkStatus = true;
|
|
57964
57983
|
queryCondition.clsReasonDataLinkInfo = {
|
|
57965
|
-
value:
|
|
57966
|
-
label: linkFieldInfo?.name ??
|
|
57984
|
+
value: linkKey,
|
|
57985
|
+
label: linkFieldInfo?.name ?? linkKey,
|
|
57967
57986
|
refModelChain: []
|
|
57968
57987
|
};
|
|
57969
57988
|
}
|
|
@@ -58096,6 +58115,7 @@ const renderUtils = {
|
|
|
58096
58115
|
mainRoutingOperation = void 0,
|
|
58097
58116
|
mainMfgOrderId = void 0,
|
|
58098
58117
|
mainWarehouseId = void 0,
|
|
58118
|
+
mainLotSnId = void 0,
|
|
58099
58119
|
mainProductQty = void 0,
|
|
58100
58120
|
mainSterilizationLot = void 0,
|
|
58101
58121
|
mainSterilizationLotId = void 0,
|
|
@@ -58120,10 +58140,13 @@ const renderUtils = {
|
|
|
58120
58140
|
if (bizType === FIELD_TYPE.WAREHOUSE) {
|
|
58121
58141
|
return mainWarehouseId;
|
|
58122
58142
|
}
|
|
58143
|
+
if (bizType === FIELD_TYPE.PRODUCTION_CONTAINER) {
|
|
58144
|
+
return mainLotSnId;
|
|
58145
|
+
}
|
|
58123
58146
|
if (bizType === FIELD_TYPE.PRODUCTION_QTY) {
|
|
58124
58147
|
return mainProductQty;
|
|
58125
58148
|
}
|
|
58126
|
-
if (bizType === FIELD_TYPE.
|
|
58149
|
+
if (bizType === FIELD_TYPE.STERILIZATION_CONTAINER || fieldType === FIELD_TYPE.STERILIZATION_CONTAINER) {
|
|
58127
58150
|
return mainSterilizationLot;
|
|
58128
58151
|
}
|
|
58129
58152
|
const sop = sopList?.[0];
|
|
@@ -58173,7 +58196,7 @@ const renderUtils = {
|
|
|
58173
58196
|
const { subFieldKey, fieldId, fieldType, autofillRules, enableAutofill, bizType } = field;
|
|
58174
58197
|
const key = subFieldKey || "gct_main";
|
|
58175
58198
|
assignValue(key, fieldId, getDefaultValue(field));
|
|
58176
|
-
if (bizType === FIELD_TYPE.
|
|
58199
|
+
if (bizType === FIELD_TYPE.STERILIZATION_CONTAINER || fieldType === FIELD_TYPE.STERILIZATION_CONTAINER) {
|
|
58177
58200
|
assignValue(key, `${fieldId}_id_`, mainSterilizationLotId);
|
|
58178
58201
|
}
|
|
58179
58202
|
if (enableAutofill !== false && Array.isArray(autofillRules) && autofillRules.length > 0) {
|
|
@@ -58190,7 +58213,7 @@ const renderUtils = {
|
|
|
58190
58213
|
if (fieldType === FIELD_TYPE.RELATED_LOT_NO) {
|
|
58191
58214
|
sourceData = relatedLotNoData;
|
|
58192
58215
|
}
|
|
58193
|
-
if (bizType === FIELD_TYPE.
|
|
58216
|
+
if (bizType === FIELD_TYPE.STERILIZATION_CONTAINER || fieldType === FIELD_TYPE.STERILIZATION_CONTAINER) {
|
|
58194
58217
|
sourceData = sterilizeLotData;
|
|
58195
58218
|
}
|
|
58196
58219
|
if (bizType === FIELD_TYPE.WAREHOUSE) {
|
|
@@ -58827,7 +58850,7 @@ function setCellMergeAndDynamicInfo({
|
|
|
58827
58850
|
const colspanNumber = colspan ? parseInt(colspan, 10) : void 0;
|
|
58828
58851
|
const borderAttrs = get$1(cellInfo.props, "sourceBorderAttrs");
|
|
58829
58852
|
const value = get$1(cellInfo.cellWidget.props, "value");
|
|
58830
|
-
const cellUuid = uuid2(8);
|
|
58853
|
+
const cellUuid = uuid2$1(8);
|
|
58831
58854
|
const cellFixedWidth = getCellWidth(
|
|
58832
58855
|
widget.props.colsWidth,
|
|
58833
58856
|
curTdIndex,
|
|
@@ -59251,7 +59274,7 @@ const calcUtils = {
|
|
|
59251
59274
|
const marketMap = /* @__PURE__ */ new Map();
|
|
59252
59275
|
const dealWithList = [];
|
|
59253
59276
|
tempMarketList.forEach((item, index2) => {
|
|
59254
|
-
const uuid = `t${index2}${uuid2(8)}`;
|
|
59277
|
+
const uuid = `t${index2}${uuid2$1(8)}`;
|
|
59255
59278
|
marketMap.set(uuid, item);
|
|
59256
59279
|
const subFieldId = item.subFieldId;
|
|
59257
59280
|
if (!subFieldId) {
|
|
@@ -60066,6 +60089,9 @@ const useOnlineFormTransformField2Component = (fieldType) => {
|
|
|
60066
60089
|
[FIELD_TYPE.LOCATION]: {
|
|
60067
60090
|
cmpKey: ComponentTypeEnum.Select
|
|
60068
60091
|
},
|
|
60092
|
+
[FIELD_TYPE.PRODUCTION_CONTAINER]: {
|
|
60093
|
+
cmpKey: ComponentTypeEnum.Select
|
|
60094
|
+
},
|
|
60069
60095
|
[FIELD_TYPE.DATE]: {
|
|
60070
60096
|
cmpKey: ComponentTypeEnum.Datepicker
|
|
60071
60097
|
},
|
|
@@ -60084,10 +60110,10 @@ const useOnlineFormTransformField2Component = (fieldType) => {
|
|
|
60084
60110
|
[FIELD_TYPE.MATERIAL_NO]: {
|
|
60085
60111
|
cmpKey: ComponentTypeEnum.Trace
|
|
60086
60112
|
},
|
|
60087
|
-
[FIELD_TYPE.
|
|
60113
|
+
[FIELD_TYPE.STERILIZATION_CONTAINER]: {
|
|
60088
60114
|
cmpKey: ComponentTypeEnum.Trace
|
|
60089
60115
|
},
|
|
60090
|
-
[FIELD_TYPE.
|
|
60116
|
+
[FIELD_TYPE.MATERIAL_CONTAINER]: {
|
|
60091
60117
|
cmpKey: ComponentTypeEnum.Trace
|
|
60092
60118
|
},
|
|
60093
60119
|
[FIELD_TYPE.RELATED_LOT_NO]: {
|
|
@@ -60333,6 +60359,7 @@ function useWidgetStaticAttrs(widget) {
|
|
|
60333
60359
|
viewState = CellWidgetViewState.Readonly;
|
|
60334
60360
|
}
|
|
60335
60361
|
const disabled = toRef(widget.props, "disabled");
|
|
60362
|
+
const fieldDisabled = toRef(widget.props, "fieldDisabled");
|
|
60336
60363
|
const readonly = toRef(widget.props, "field_readonly");
|
|
60337
60364
|
const newRequired = toRef(widget.props, "required");
|
|
60338
60365
|
const newQueryDataRef = computed(() => widget.props.newSpecificConfig?.newQueryData);
|
|
@@ -60393,6 +60420,9 @@ function useWidgetStaticAttrs(widget) {
|
|
|
60393
60420
|
return readonly.value ? "readonly-text" : "edit-component";
|
|
60394
60421
|
});
|
|
60395
60422
|
const newDisabled = computed(() => {
|
|
60423
|
+
if (fieldDisabled.value) {
|
|
60424
|
+
return true;
|
|
60425
|
+
}
|
|
60396
60426
|
if (newDisplayStatus.value === "edit-component") {
|
|
60397
60427
|
return forcedDisabled || disabled.value;
|
|
60398
60428
|
}
|
|
@@ -61332,13 +61362,13 @@ if (typeof process !== "undefined" && process.env && process.env.NODE_ENV !== "p
|
|
|
61332
61362
|
}
|
|
61333
61363
|
function convertFieldsError(errors) {
|
|
61334
61364
|
if (!errors || !errors.length) return null;
|
|
61335
|
-
var
|
|
61365
|
+
var fields2 = {};
|
|
61336
61366
|
errors.forEach(function(error) {
|
|
61337
61367
|
var field = error.field;
|
|
61338
|
-
|
|
61339
|
-
|
|
61368
|
+
fields2[field] = fields2[field] || [];
|
|
61369
|
+
fields2[field].push(error);
|
|
61340
61370
|
});
|
|
61341
|
-
return
|
|
61371
|
+
return fields2;
|
|
61342
61372
|
}
|
|
61343
61373
|
function format(template) {
|
|
61344
61374
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -61434,11 +61464,11 @@ function flattenObjArr(objArr) {
|
|
|
61434
61464
|
}
|
|
61435
61465
|
var AsyncValidationError = /* @__PURE__ */ (function(_Error) {
|
|
61436
61466
|
_inheritsLoose(AsyncValidationError2, _Error);
|
|
61437
|
-
function AsyncValidationError2(errors,
|
|
61467
|
+
function AsyncValidationError2(errors, fields2) {
|
|
61438
61468
|
var _this;
|
|
61439
61469
|
_this = _Error.call(this, "Async Validation Error") || this;
|
|
61440
61470
|
_this.errors = errors;
|
|
61441
|
-
_this.fields =
|
|
61471
|
+
_this.fields = fields2;
|
|
61442
61472
|
return _this;
|
|
61443
61473
|
}
|
|
61444
61474
|
return AsyncValidationError2;
|
|
@@ -62069,7 +62099,7 @@ var Schema = /* @__PURE__ */ (function() {
|
|
|
62069
62099
|
}
|
|
62070
62100
|
function complete(results) {
|
|
62071
62101
|
var errors = [];
|
|
62072
|
-
var
|
|
62102
|
+
var fields2 = {};
|
|
62073
62103
|
function add(e) {
|
|
62074
62104
|
if (Array.isArray(e)) {
|
|
62075
62105
|
var _errors;
|
|
@@ -62084,8 +62114,8 @@ var Schema = /* @__PURE__ */ (function() {
|
|
|
62084
62114
|
if (!errors.length) {
|
|
62085
62115
|
callback(null, source);
|
|
62086
62116
|
} else {
|
|
62087
|
-
|
|
62088
|
-
callback(errors,
|
|
62117
|
+
fields2 = convertFieldsError(errors);
|
|
62118
|
+
callback(errors, fields2);
|
|
62089
62119
|
}
|
|
62090
62120
|
}
|
|
62091
62121
|
if (options.messages) {
|
|
@@ -62394,7 +62424,7 @@ async function runValidation(formData, paper, options = {}) {
|
|
|
62394
62424
|
}
|
|
62395
62425
|
}
|
|
62396
62426
|
const validator = new Schema(activeRules);
|
|
62397
|
-
const
|
|
62427
|
+
const fields2 = await new Promise((resolve) => {
|
|
62398
62428
|
validator.validate(flatData, { first: false, formData }, (errors, errorFields) => {
|
|
62399
62429
|
if (errors?.length) {
|
|
62400
62430
|
resolve(errorFields);
|
|
@@ -62404,8 +62434,8 @@ async function runValidation(formData, paper, options = {}) {
|
|
|
62404
62434
|
});
|
|
62405
62435
|
});
|
|
62406
62436
|
return {
|
|
62407
|
-
isValid: !
|
|
62408
|
-
fields,
|
|
62437
|
+
isValid: !fields2 || Object.keys(fields2).length === 0,
|
|
62438
|
+
fields: fields2,
|
|
62409
62439
|
editablePaths,
|
|
62410
62440
|
livePaths,
|
|
62411
62441
|
validatedPaths,
|
|
@@ -62627,25 +62657,25 @@ async function executeValidation(ctx, mode) {
|
|
|
62627
62657
|
keepExceptionHighlight: resolveFormKeep(ctx)
|
|
62628
62658
|
});
|
|
62629
62659
|
if (!res) return;
|
|
62630
|
-
const
|
|
62660
|
+
const fields2 = res.fields ?? null;
|
|
62631
62661
|
const editablePaths = res.editablePaths ?? [];
|
|
62632
62662
|
const livePaths = res.livePaths ?? [];
|
|
62633
62663
|
const flatData = res.flatData ?? {};
|
|
62634
62664
|
if (mode === "all") {
|
|
62635
|
-
const merged = mergeSubmitValidation(ctx.getComments(),
|
|
62665
|
+
const merged = mergeSubmitValidation(ctx.getComments(), fields2, editablePaths);
|
|
62636
62666
|
ctx.applyComments(merged);
|
|
62637
62667
|
} else if (mode === "display") {
|
|
62638
62668
|
const merged = mergeDisplayValidation(
|
|
62639
62669
|
ctx.getComments(),
|
|
62640
|
-
|
|
62670
|
+
fields2,
|
|
62641
62671
|
res.ruleKeys ?? listFormRuleKeys(),
|
|
62642
|
-
res.validatedPaths ?? Object.keys(
|
|
62672
|
+
res.validatedPaths ?? Object.keys(fields2 ?? {})
|
|
62643
62673
|
);
|
|
62644
62674
|
ctx.applyComments(merged);
|
|
62645
62675
|
} else {
|
|
62646
62676
|
const merged = mergeLiveValidation(
|
|
62647
62677
|
ctx.getComments(),
|
|
62648
|
-
|
|
62678
|
+
fields2,
|
|
62649
62679
|
livePaths,
|
|
62650
62680
|
(path) => resolvePayloadForPath(path, flatData)
|
|
62651
62681
|
);
|
|
@@ -62894,14 +62924,14 @@ function handleOldConfig(config) {
|
|
|
62894
62924
|
config.fieldList = config.list.map((type4) => {
|
|
62895
62925
|
return {
|
|
62896
62926
|
type: type4,
|
|
62897
|
-
key: type4 === Config_Fields.other ? uuid2(32) : type4
|
|
62927
|
+
key: type4 === Config_Fields.other ? uuid2$1(32) : type4
|
|
62898
62928
|
};
|
|
62899
62929
|
});
|
|
62900
62930
|
delete config.list;
|
|
62901
62931
|
}
|
|
62902
62932
|
config.fieldList.forEach((item) => {
|
|
62903
62933
|
if (!item.key) {
|
|
62904
|
-
item.key = item.type === Config_Fields.other ? uuid2(32) : item.type;
|
|
62934
|
+
item.key = item.type === Config_Fields.other ? uuid2$1(32) : item.type;
|
|
62905
62935
|
}
|
|
62906
62936
|
});
|
|
62907
62937
|
return config;
|
|
@@ -62957,6 +62987,1692 @@ function calcFillData(data, fillMapArr) {
|
|
|
62957
62987
|
}
|
|
62958
62988
|
return obj;
|
|
62959
62989
|
}
|
|
62990
|
+
const TABLE_TYPE$g = "dynamic-table";
|
|
62991
|
+
const profile$g = {
|
|
62992
|
+
type: TABLE_TYPE$g,
|
|
62993
|
+
label: "动态表",
|
|
62994
|
+
labelKey: "sys.onlineForm.subTableType.DEFAULT",
|
|
62995
|
+
category: "data",
|
|
62996
|
+
ribbonAction: "dynamic-table",
|
|
62997
|
+
icon: "dynamic-table",
|
|
62998
|
+
enabled: true,
|
|
62999
|
+
defaultWidgetProps: {
|
|
63000
|
+
indexedTd: false,
|
|
63001
|
+
quickFill: true
|
|
63002
|
+
},
|
|
63003
|
+
match: {
|
|
63004
|
+
fieldType: "master_slave",
|
|
63005
|
+
excludeRefModelTypes: "ALL_BUSINESS",
|
|
63006
|
+
tableType: SubTableType.DEFAULT
|
|
63007
|
+
},
|
|
63008
|
+
theme: {
|
|
63009
|
+
color: "#A47BDE",
|
|
63010
|
+
background: "rgba(164,123,222,0.2)",
|
|
63011
|
+
labelBjColor: "rgba(164,123,222,0.8)"
|
|
63012
|
+
}
|
|
63013
|
+
};
|
|
63014
|
+
const TABLE_TYPE$f = "fixed-table";
|
|
63015
|
+
const profile$f = {
|
|
63016
|
+
type: TABLE_TYPE$f,
|
|
63017
|
+
label: "固定表",
|
|
63018
|
+
labelKey: "sys.onlineForm.subTableType.FIXED",
|
|
63019
|
+
category: "data",
|
|
63020
|
+
ribbonAction: "fixed-table",
|
|
63021
|
+
icon: "fixed-table",
|
|
63022
|
+
enabled: true,
|
|
63023
|
+
defaultWidgetProps: {
|
|
63024
|
+
autoFill: true
|
|
63025
|
+
},
|
|
63026
|
+
match: {
|
|
63027
|
+
fieldType: "master_slave",
|
|
63028
|
+
excludeRefModelTypes: "ALL_BUSINESS",
|
|
63029
|
+
tableType: SubTableType.FIXED
|
|
63030
|
+
},
|
|
63031
|
+
theme: {
|
|
63032
|
+
color: "#B0947C",
|
|
63033
|
+
background: "rgba(176,148,124,0.2)",
|
|
63034
|
+
labelBjColor: "rgba(176,148,124,0.8)"
|
|
63035
|
+
}
|
|
63036
|
+
};
|
|
63037
|
+
const TABLE_TYPE$e = "two-d-table";
|
|
63038
|
+
const profile$e = {
|
|
63039
|
+
type: TABLE_TYPE$e,
|
|
63040
|
+
label: "二维表",
|
|
63041
|
+
labelKey: "sys.onlineForm.subTableType.2D",
|
|
63042
|
+
category: "data",
|
|
63043
|
+
ribbonAction: "two-d-table",
|
|
63044
|
+
icon: "two-d-table",
|
|
63045
|
+
enabled: true,
|
|
63046
|
+
assocColField: "required",
|
|
63047
|
+
defaultWidgetProps: {
|
|
63048
|
+
autoFill: true
|
|
63049
|
+
},
|
|
63050
|
+
match: {
|
|
63051
|
+
fieldType: "master_slave",
|
|
63052
|
+
excludeRefModelTypes: "ALL_BUSINESS",
|
|
63053
|
+
tableType: SubTableType._2D
|
|
63054
|
+
},
|
|
63055
|
+
theme: {
|
|
63056
|
+
color: "#E1AD01",
|
|
63057
|
+
background: "rgba(225,173,1,0.2)",
|
|
63058
|
+
labelBjColor: "rgba(225,173,1,0.8)"
|
|
63059
|
+
}
|
|
63060
|
+
};
|
|
63061
|
+
const TABLE_TYPE$d = "warehouse-in-out";
|
|
63062
|
+
const profile$d = {
|
|
63063
|
+
type: TABLE_TYPE$d,
|
|
63064
|
+
label: "出入库明细表",
|
|
63065
|
+
labelKey: "sys.pageDesigner.fieldCmp.warehouse_in_out",
|
|
63066
|
+
category: "business",
|
|
63067
|
+
ribbonAction: "warehouse-in-out",
|
|
63068
|
+
ribbonGroup: "仓储",
|
|
63069
|
+
icon: "warehouse-in-out",
|
|
63070
|
+
enabled: true,
|
|
63071
|
+
match: {
|
|
63072
|
+
fieldType: "master_slave",
|
|
63073
|
+
refModelType: "WAREHOUSE_IN_OUT",
|
|
63074
|
+
tableType: SubTableType.WAREHOUSE_IN_OUT
|
|
63075
|
+
},
|
|
63076
|
+
theme: {
|
|
63077
|
+
color: "#08A2B6",
|
|
63078
|
+
background: "rgba(8,162,182,0.2)",
|
|
63079
|
+
labelBjColor: "rgba(8,162,182,0.8)"
|
|
63080
|
+
}
|
|
63081
|
+
};
|
|
63082
|
+
const rowHandlerRegistry = /* @__PURE__ */ new Map();
|
|
63083
|
+
function registerRowHandler(profileType, handlerName, handler) {
|
|
63084
|
+
rowHandlerRegistry.set(`${profileType}:${handlerName}`, handler);
|
|
63085
|
+
}
|
|
63086
|
+
function runRowHandler(profileType, handlerName, ctx) {
|
|
63087
|
+
rowHandlerRegistry.get(`${profileType}:${handlerName}`)?.(ctx);
|
|
63088
|
+
}
|
|
63089
|
+
const hexList = [];
|
|
63090
|
+
for (let i2 = 0; i2 <= 15; i2++) {
|
|
63091
|
+
hexList[i2] = i2.toString(16);
|
|
63092
|
+
}
|
|
63093
|
+
function buildUUID() {
|
|
63094
|
+
let uuid = "";
|
|
63095
|
+
for (let i2 = 1; i2 <= 36; i2++) {
|
|
63096
|
+
if (i2 === 9 || i2 === 14 || i2 === 19 || i2 === 24) {
|
|
63097
|
+
uuid += "-";
|
|
63098
|
+
} else if (i2 === 15) {
|
|
63099
|
+
uuid += 4;
|
|
63100
|
+
} else if (i2 === 20) {
|
|
63101
|
+
uuid += hexList[Math.random() * 4 | 8];
|
|
63102
|
+
} else {
|
|
63103
|
+
uuid += hexList[Math.random() * 16 | 0];
|
|
63104
|
+
}
|
|
63105
|
+
}
|
|
63106
|
+
return uuid.replace(/-/g, "");
|
|
63107
|
+
}
|
|
63108
|
+
const uuid2 = (len, radix) => {
|
|
63109
|
+
let chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
|
|
63110
|
+
let uuid = [], i2;
|
|
63111
|
+
radix = radix || chars.length;
|
|
63112
|
+
if (len) {
|
|
63113
|
+
for (i2 = 0; i2 < len; i2++) uuid[i2] = chars[0 | Math.random() * radix];
|
|
63114
|
+
} else {
|
|
63115
|
+
var r;
|
|
63116
|
+
uuid[8] = uuid[13] = uuid[18] = uuid[23] = "-";
|
|
63117
|
+
uuid[14] = "4";
|
|
63118
|
+
for (i2 = 0; i2 < 36; i2++) {
|
|
63119
|
+
if (!uuid[i2]) {
|
|
63120
|
+
r = 0 | Math.random() * 16;
|
|
63121
|
+
uuid[i2] = chars[i2 == 19 ? r & 3 | 8 : r];
|
|
63122
|
+
}
|
|
63123
|
+
}
|
|
63124
|
+
}
|
|
63125
|
+
return uuid.join("");
|
|
63126
|
+
};
|
|
63127
|
+
function normalizeRefFieldKey(fieldKey) {
|
|
63128
|
+
return fieldKey.endsWith("_") ? fieldKey.slice(0, -1) : fieldKey;
|
|
63129
|
+
}
|
|
63130
|
+
function resolveAutofillToField(template, sourceFieldKey) {
|
|
63131
|
+
if (typeof template.toField === "function") {
|
|
63132
|
+
return template.toField({ sourceFieldKey });
|
|
63133
|
+
}
|
|
63134
|
+
return template.toField;
|
|
63135
|
+
}
|
|
63136
|
+
function expandAutofillTemplates(templates, ctx) {
|
|
63137
|
+
return templates.map((template) => ({
|
|
63138
|
+
id: uuid2(8),
|
|
63139
|
+
fromField: template.fromField,
|
|
63140
|
+
toField: resolveAutofillToField(template, ctx.sourceFieldKey)
|
|
63141
|
+
}));
|
|
63142
|
+
}
|
|
63143
|
+
const F$8 = {
|
|
63144
|
+
/** 物料 */
|
|
63145
|
+
product: "product_id_",
|
|
63146
|
+
/** 物料名称 */
|
|
63147
|
+
productName: "product_id_name_",
|
|
63148
|
+
/** 物料编码 */
|
|
63149
|
+
productCode: "product_id_code_",
|
|
63150
|
+
/** 物料规格 */
|
|
63151
|
+
productSpec: "product_id_spec_",
|
|
63152
|
+
/** 仓库 */
|
|
63153
|
+
warehouse: "warehouse_id_",
|
|
63154
|
+
/** 工单 */
|
|
63155
|
+
mfgOrder: "mfg_order_id_",
|
|
63156
|
+
/** 生产批次/SN */
|
|
63157
|
+
lotSn: "lot_sn_id_"
|
|
63158
|
+
};
|
|
63159
|
+
const READONLY_INFO_FIELDS$1 = [F$8.productName, F$8.productCode, F$8.productSpec];
|
|
63160
|
+
const CLEAR_ON_PRODUCT_EMPTY$4 = [F$8.productName, F$8.productCode, F$8.productSpec];
|
|
63161
|
+
const fields$8 = [
|
|
63162
|
+
{
|
|
63163
|
+
match: { fieldKey: F$8.product },
|
|
63164
|
+
autofillTemplates: [
|
|
63165
|
+
{
|
|
63166
|
+
fromField: "name_",
|
|
63167
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
|
|
63168
|
+
},
|
|
63169
|
+
{
|
|
63170
|
+
fromField: "code_",
|
|
63171
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
|
|
63172
|
+
},
|
|
63173
|
+
{
|
|
63174
|
+
fromField: "spec_",
|
|
63175
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
|
|
63176
|
+
}
|
|
63177
|
+
]
|
|
63178
|
+
},
|
|
63179
|
+
{
|
|
63180
|
+
match: { fieldKey: [F$8.productName, F$8.productCode, F$8.productSpec] },
|
|
63181
|
+
defaultProps: {
|
|
63182
|
+
disabled: true,
|
|
63183
|
+
fieldDisabled: true,
|
|
63184
|
+
required: false
|
|
63185
|
+
}
|
|
63186
|
+
}
|
|
63187
|
+
];
|
|
63188
|
+
const TABLE_TYPE$c = "warehouse-in";
|
|
63189
|
+
const profile$c = {
|
|
63190
|
+
type: TABLE_TYPE$c,
|
|
63191
|
+
label: "入库明细表",
|
|
63192
|
+
labelKey: "sys.pageDesigner.fieldCmp.warehouse_in",
|
|
63193
|
+
category: "business",
|
|
63194
|
+
ribbonAction: "warehouse-in",
|
|
63195
|
+
ribbonGroup: "仓储",
|
|
63196
|
+
icon: "warehouse-in",
|
|
63197
|
+
enabled: true,
|
|
63198
|
+
match: {
|
|
63199
|
+
fieldType: "master_slave",
|
|
63200
|
+
refModelType: "WAREHOUSE_IN",
|
|
63201
|
+
tableType: SubTableType.WAREHOUSE_IN
|
|
63202
|
+
},
|
|
63203
|
+
fields: fields$8,
|
|
63204
|
+
contextAssignments: [
|
|
63205
|
+
{ when: "onRowInit", fieldKey: F$8.warehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
63206
|
+
{ when: "onRowInit", fieldKey: F$8.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
63207
|
+
{ when: "onRowInit", fieldKey: F$8.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
|
|
63208
|
+
],
|
|
63209
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$8.product], handler: "on-product-id-change" }],
|
|
63210
|
+
runtimeRules: [
|
|
63211
|
+
{
|
|
63212
|
+
fields: [...READONLY_INFO_FIELDS$1],
|
|
63213
|
+
effect: { disabled: true }
|
|
63214
|
+
}
|
|
63215
|
+
],
|
|
63216
|
+
theme: {
|
|
63217
|
+
color: "#08A2B6",
|
|
63218
|
+
background: "rgba(8,162,182,0.2)",
|
|
63219
|
+
labelBjColor: "rgba(8,162,182,0.8)"
|
|
63220
|
+
}
|
|
63221
|
+
};
|
|
63222
|
+
function isBlank$9(value) {
|
|
63223
|
+
return value === void 0 || value === null || value === "";
|
|
63224
|
+
}
|
|
63225
|
+
function handleProductIdChange$3(ctx) {
|
|
63226
|
+
if (!isBlank$9(ctx.rowData[F$8.product])) return;
|
|
63227
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$4) {
|
|
63228
|
+
ctx.rowData[fieldKey] = void 0;
|
|
63229
|
+
}
|
|
63230
|
+
}
|
|
63231
|
+
registerRowHandler(TABLE_TYPE$c, "on-product-id-change", ({ rowData }) => {
|
|
63232
|
+
handleProductIdChange$3({ rowData });
|
|
63233
|
+
});
|
|
63234
|
+
const F$7 = {
|
|
63235
|
+
/** 物料 */
|
|
63236
|
+
product: "product_id_",
|
|
63237
|
+
/** 库存主键(出库选物料时写 option.id_,用于唯一回显) */
|
|
63238
|
+
inventory: "inventory_id_",
|
|
63239
|
+
/** 物料名称 */
|
|
63240
|
+
productName: "product_id_name_",
|
|
63241
|
+
/** 物料编码 */
|
|
63242
|
+
productCode: "product_id_code_",
|
|
63243
|
+
/** 物料规格 */
|
|
63244
|
+
productSpec: "product_id_spec_",
|
|
63245
|
+
/** 物料批号 */
|
|
63246
|
+
materialNo: "material_no_",
|
|
63247
|
+
/** 物料批号ID */
|
|
63248
|
+
materialNoId: "material_no__id_",
|
|
63249
|
+
/** 仓库 */
|
|
63250
|
+
warehouse: "warehouse_id_",
|
|
63251
|
+
/** 库位 */
|
|
63252
|
+
location: "location_id_",
|
|
63253
|
+
/** 工单 */
|
|
63254
|
+
mfgOrder: "mfg_order_id_",
|
|
63255
|
+
/** 生产批次/SN */
|
|
63256
|
+
lotSn: "lot_sn_id_",
|
|
63257
|
+
/** 有效期 */
|
|
63258
|
+
validity: "validity_",
|
|
63259
|
+
/** 复检日期 */
|
|
63260
|
+
reInspectionDate: "re_inspection_date_"
|
|
63261
|
+
};
|
|
63262
|
+
const DISABLED_INPUT_FIELDS$6 = [
|
|
63263
|
+
F$7.productName,
|
|
63264
|
+
F$7.productCode,
|
|
63265
|
+
F$7.productSpec,
|
|
63266
|
+
F$7.materialNo,
|
|
63267
|
+
F$7.warehouse,
|
|
63268
|
+
F$7.location,
|
|
63269
|
+
F$7.mfgOrder,
|
|
63270
|
+
F$7.lotSn,
|
|
63271
|
+
F$7.validity,
|
|
63272
|
+
F$7.reInspectionDate
|
|
63273
|
+
];
|
|
63274
|
+
const CLEAR_ON_PRODUCT_EMPTY$3 = [
|
|
63275
|
+
F$7.inventory,
|
|
63276
|
+
F$7.productName,
|
|
63277
|
+
F$7.productCode,
|
|
63278
|
+
F$7.productSpec,
|
|
63279
|
+
F$7.materialNo,
|
|
63280
|
+
F$7.materialNoId,
|
|
63281
|
+
F$7.warehouse,
|
|
63282
|
+
F$7.location,
|
|
63283
|
+
F$7.mfgOrder,
|
|
63284
|
+
F$7.lotSn,
|
|
63285
|
+
F$7.validity,
|
|
63286
|
+
F$7.reInspectionDate
|
|
63287
|
+
];
|
|
63288
|
+
const FILL_FROM_INVENTORY_OPTION$2 = [
|
|
63289
|
+
{ optionField: "id_", toField: F$7.inventory },
|
|
63290
|
+
{ optionField: "product_id_name_", toField: F$7.productName },
|
|
63291
|
+
{ optionField: "product_id_code_", toField: F$7.productCode },
|
|
63292
|
+
{ optionField: "product_id_spec_", toField: F$7.productSpec },
|
|
63293
|
+
{ optionField: "material_no_", toField: F$7.materialNo },
|
|
63294
|
+
{ optionField: "production_identification_id_", toField: F$7.materialNoId },
|
|
63295
|
+
{ optionField: "warehouse_id_", toField: F$7.warehouse },
|
|
63296
|
+
{ optionField: "location_id_", toField: F$7.location },
|
|
63297
|
+
{ optionField: "mfg_order_id_", toField: F$7.mfgOrder },
|
|
63298
|
+
{ optionField: "lot_sn_id_", toField: F$7.lotSn },
|
|
63299
|
+
{ optionField: "validate_", toField: F$7.validity },
|
|
63300
|
+
{ optionField: "re_inspection_date_", toField: F$7.reInspectionDate }
|
|
63301
|
+
];
|
|
63302
|
+
const fields$7 = [
|
|
63303
|
+
{
|
|
63304
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$6] },
|
|
63305
|
+
defaultProps: {
|
|
63306
|
+
disabled: true,
|
|
63307
|
+
fieldDisabled: true,
|
|
63308
|
+
required: false
|
|
63309
|
+
}
|
|
63310
|
+
}
|
|
63311
|
+
];
|
|
63312
|
+
const TABLE_TYPE$b = "warehouse-out";
|
|
63313
|
+
const profile$b = {
|
|
63314
|
+
type: TABLE_TYPE$b,
|
|
63315
|
+
label: "出库明细表",
|
|
63316
|
+
labelKey: "sys.pageDesigner.fieldCmp.warehouse_out",
|
|
63317
|
+
category: "business",
|
|
63318
|
+
ribbonAction: "warehouse-out",
|
|
63319
|
+
ribbonGroup: "仓储",
|
|
63320
|
+
icon: "warehouse-out",
|
|
63321
|
+
enabled: true,
|
|
63322
|
+
match: {
|
|
63323
|
+
fieldType: "master_slave",
|
|
63324
|
+
refModelType: "WAREHOUSE_OUT",
|
|
63325
|
+
tableType: SubTableType.WAREHOUSE_OUT
|
|
63326
|
+
},
|
|
63327
|
+
fields: fields$7,
|
|
63328
|
+
contextAssignments: [
|
|
63329
|
+
{ when: "onRowInit", fieldKey: F$7.warehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
63330
|
+
{ when: "onRowInit", fieldKey: F$7.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
63331
|
+
{ when: "onRowInit", fieldKey: F$7.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
|
|
63332
|
+
],
|
|
63333
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$7.product], handler: "on-product-id-change" }],
|
|
63334
|
+
runtimeRules: [
|
|
63335
|
+
{
|
|
63336
|
+
fields: [...DISABLED_INPUT_FIELDS$6],
|
|
63337
|
+
effect: { disabled: true }
|
|
63338
|
+
}
|
|
63339
|
+
],
|
|
63340
|
+
theme: {
|
|
63341
|
+
color: "#D73E8D",
|
|
63342
|
+
background: "rgba(215,62,141,0.2)",
|
|
63343
|
+
labelBjColor: "rgba(215,62,141,0.8)"
|
|
63344
|
+
}
|
|
63345
|
+
};
|
|
63346
|
+
function isBlank$8(value) {
|
|
63347
|
+
return value === void 0 || value === null || value === "";
|
|
63348
|
+
}
|
|
63349
|
+
function handleProductIdChange$2(ctx) {
|
|
63350
|
+
if (!isBlank$8(ctx.rowData[F$7.product])) return;
|
|
63351
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$3) {
|
|
63352
|
+
ctx.rowData[fieldKey] = void 0;
|
|
63353
|
+
}
|
|
63354
|
+
}
|
|
63355
|
+
registerRowHandler(TABLE_TYPE$b, "on-product-id-change", ({ rowData }) => {
|
|
63356
|
+
handleProductIdChange$2({ rowData });
|
|
63357
|
+
});
|
|
63358
|
+
const F$6 = {
|
|
63359
|
+
/** 备件 */
|
|
63360
|
+
part: "part_id_",
|
|
63361
|
+
/** 备件 id(展示 / 文本) */
|
|
63362
|
+
partLb: "part_id__lb_",
|
|
63363
|
+
/** 备件名称 */
|
|
63364
|
+
partName: "part_id_name_",
|
|
63365
|
+
/** 备件编码 */
|
|
63366
|
+
partCode: "part_id_code_",
|
|
63367
|
+
/** 备件规格 */
|
|
63368
|
+
partSpec: "part_id_spec_",
|
|
63369
|
+
/** 数量单位 */
|
|
63370
|
+
qtyUom: "qty_uom_id_",
|
|
63371
|
+
/** 仓库 */
|
|
63372
|
+
warehouse: "warehouse_id_"
|
|
63373
|
+
};
|
|
63374
|
+
const DISABLED_INPUT_FIELDS$5 = [
|
|
63375
|
+
F$6.partLb,
|
|
63376
|
+
F$6.partName,
|
|
63377
|
+
F$6.partCode,
|
|
63378
|
+
F$6.partSpec,
|
|
63379
|
+
F$6.qtyUom
|
|
63380
|
+
];
|
|
63381
|
+
const CLEAR_ON_PART_EMPTY$3 = [F$6.partName, F$6.partCode, F$6.partSpec, F$6.qtyUom];
|
|
63382
|
+
const fields$6 = [
|
|
63383
|
+
{
|
|
63384
|
+
match: { fieldKey: F$6.part },
|
|
63385
|
+
autofillTemplates: [
|
|
63386
|
+
{
|
|
63387
|
+
fromField: "part_name_",
|
|
63388
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_name_`
|
|
63389
|
+
},
|
|
63390
|
+
{
|
|
63391
|
+
fromField: "part_code_",
|
|
63392
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_code_`
|
|
63393
|
+
},
|
|
63394
|
+
{
|
|
63395
|
+
fromField: "specification_",
|
|
63396
|
+
toField: ({ sourceFieldKey }) => `${normalizeRefFieldKey(sourceFieldKey)}_spec_`
|
|
63397
|
+
},
|
|
63398
|
+
{
|
|
63399
|
+
fromField: "unit_",
|
|
63400
|
+
toField: F$6.qtyUom
|
|
63401
|
+
}
|
|
63402
|
+
]
|
|
63403
|
+
},
|
|
63404
|
+
{
|
|
63405
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$5] },
|
|
63406
|
+
defaultProps: {
|
|
63407
|
+
disabled: true,
|
|
63408
|
+
fieldDisabled: true,
|
|
63409
|
+
required: false
|
|
63410
|
+
}
|
|
63411
|
+
}
|
|
63412
|
+
];
|
|
63413
|
+
const TABLE_TYPE$a = "warehouse-inbound";
|
|
63414
|
+
const profile$a = {
|
|
63415
|
+
type: TABLE_TYPE$a,
|
|
63416
|
+
label: "入库明细表",
|
|
63417
|
+
labelKey: "sys.pageDesigner.fieldCmp.warehouse_inbound",
|
|
63418
|
+
category: "business",
|
|
63419
|
+
ribbonAction: "warehouse-inbound",
|
|
63420
|
+
ribbonGroup: "备件",
|
|
63421
|
+
/** 仅 EQM Ribbon 展示 */
|
|
63422
|
+
ribbonSuites: ["EQM"],
|
|
63423
|
+
icon: "warehouse-inbound",
|
|
63424
|
+
enabled: true,
|
|
63425
|
+
match: {
|
|
63426
|
+
fieldType: "master_slave",
|
|
63427
|
+
refModelType: "WAREHOUSE_INBOUND",
|
|
63428
|
+
tableType: SubTableType.WAREHOUSE_INBOUND
|
|
63429
|
+
},
|
|
63430
|
+
fields: fields$6,
|
|
63431
|
+
contextAssignments: [
|
|
63432
|
+
{ when: "onRowInit", fieldKey: F$6.warehouse, paramKey: "warehouseId", onlyIfEmpty: true }
|
|
63433
|
+
],
|
|
63434
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$6.part], handler: "on-part-id-change" }],
|
|
63435
|
+
runtimeRules: [
|
|
63436
|
+
{
|
|
63437
|
+
fields: [...DISABLED_INPUT_FIELDS$5],
|
|
63438
|
+
effect: { disabled: true }
|
|
63439
|
+
}
|
|
63440
|
+
],
|
|
63441
|
+
theme: {
|
|
63442
|
+
color: "#08A2B6",
|
|
63443
|
+
background: "rgba(8,162,182,0.2)",
|
|
63444
|
+
labelBjColor: "rgba(8,162,182,0.8)"
|
|
63445
|
+
}
|
|
63446
|
+
};
|
|
63447
|
+
function isBlank$7(value) {
|
|
63448
|
+
return value === void 0 || value === null || value === "";
|
|
63449
|
+
}
|
|
63450
|
+
function handlePartIdChange$3(ctx) {
|
|
63451
|
+
if (!isBlank$7(ctx.rowData[F$6.part])) return;
|
|
63452
|
+
for (const fieldKey of CLEAR_ON_PART_EMPTY$3) {
|
|
63453
|
+
ctx.rowData[fieldKey] = void 0;
|
|
63454
|
+
}
|
|
63455
|
+
}
|
|
63456
|
+
registerRowHandler(TABLE_TYPE$a, "on-part-id-change", ({ rowData }) => {
|
|
63457
|
+
handlePartIdChange$3({ rowData });
|
|
63458
|
+
});
|
|
63459
|
+
const F$5 = {
|
|
63460
|
+
/** 库存主键(选备件时写 option.id_,用于唯一回显) */
|
|
63461
|
+
inventory: "inventory_id_",
|
|
63462
|
+
/** 备件 */
|
|
63463
|
+
part: "part_id_",
|
|
63464
|
+
/** 备件 id(展示 / 文本) */
|
|
63465
|
+
partLb: "part_id__lb_",
|
|
63466
|
+
/** 备件编码 */
|
|
63467
|
+
partCode: "part_id_code_",
|
|
63468
|
+
/** 备件名称 */
|
|
63469
|
+
partName: "part_id_name_",
|
|
63470
|
+
/** 备件规格 */
|
|
63471
|
+
partSpec: "part_id_spec_",
|
|
63472
|
+
/** 有效期 */
|
|
63473
|
+
validity: "validity_",
|
|
63474
|
+
/** 库位 */
|
|
63475
|
+
location: "location_id_",
|
|
63476
|
+
/** 库区 */
|
|
63477
|
+
storageZone: "storage_zone_id_",
|
|
63478
|
+
/** 仓库 */
|
|
63479
|
+
warehouse: "warehouse_id_",
|
|
63480
|
+
/** 数量单位 */
|
|
63481
|
+
qtyUom: "qty_uom_id_"
|
|
63482
|
+
};
|
|
63483
|
+
const DISABLED_INPUT_FIELDS$4 = [
|
|
63484
|
+
F$5.partLb,
|
|
63485
|
+
F$5.partCode,
|
|
63486
|
+
F$5.partName,
|
|
63487
|
+
F$5.partSpec,
|
|
63488
|
+
F$5.location,
|
|
63489
|
+
F$5.storageZone,
|
|
63490
|
+
F$5.warehouse,
|
|
63491
|
+
F$5.qtyUom
|
|
63492
|
+
];
|
|
63493
|
+
const CLEAR_ON_PART_EMPTY$2 = [
|
|
63494
|
+
F$5.inventory,
|
|
63495
|
+
F$5.partCode,
|
|
63496
|
+
F$5.partName,
|
|
63497
|
+
F$5.partSpec,
|
|
63498
|
+
F$5.validity,
|
|
63499
|
+
F$5.location,
|
|
63500
|
+
F$5.storageZone,
|
|
63501
|
+
F$5.warehouse,
|
|
63502
|
+
F$5.qtyUom
|
|
63503
|
+
];
|
|
63504
|
+
const fields$5 = [
|
|
63505
|
+
{
|
|
63506
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$4] },
|
|
63507
|
+
defaultProps: {
|
|
63508
|
+
disabled: true,
|
|
63509
|
+
fieldDisabled: true,
|
|
63510
|
+
required: false
|
|
63511
|
+
}
|
|
63512
|
+
}
|
|
63513
|
+
];
|
|
63514
|
+
const TABLE_TYPE$9 = "warehouse-outbound";
|
|
63515
|
+
const profile$9 = {
|
|
63516
|
+
type: TABLE_TYPE$9,
|
|
63517
|
+
label: "出库明细表",
|
|
63518
|
+
labelKey: "sys.pageDesigner.fieldCmp.warehouse_outbound",
|
|
63519
|
+
category: "business",
|
|
63520
|
+
ribbonAction: "warehouse-outbound",
|
|
63521
|
+
ribbonGroup: "备件",
|
|
63522
|
+
/** 仅 EQM Ribbon 展示 */
|
|
63523
|
+
ribbonSuites: ["EQM"],
|
|
63524
|
+
icon: "warehouse-outbound",
|
|
63525
|
+
enabled: true,
|
|
63526
|
+
match: {
|
|
63527
|
+
fieldType: "master_slave",
|
|
63528
|
+
refModelType: "WAREHOUSE_OUTBOUND",
|
|
63529
|
+
tableType: SubTableType.WAREHOUSE_OUTBOUND
|
|
63530
|
+
},
|
|
63531
|
+
fields: fields$5,
|
|
63532
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$5.part], handler: "on-part-id-change" }],
|
|
63533
|
+
runtimeRules: [
|
|
63534
|
+
{
|
|
63535
|
+
fields: [...DISABLED_INPUT_FIELDS$4],
|
|
63536
|
+
effect: { disabled: true }
|
|
63537
|
+
}
|
|
63538
|
+
],
|
|
63539
|
+
theme: {
|
|
63540
|
+
color: "#D73E8D",
|
|
63541
|
+
background: "rgba(215,62,141,0.2)",
|
|
63542
|
+
labelBjColor: "rgba(215,62,141,0.8)"
|
|
63543
|
+
}
|
|
63544
|
+
};
|
|
63545
|
+
function isBlank$6(value) {
|
|
63546
|
+
return value === void 0 || value === null || value === "";
|
|
63547
|
+
}
|
|
63548
|
+
function handlePartIdChange$2(ctx) {
|
|
63549
|
+
if (!isBlank$6(ctx.rowData[F$5.part])) return;
|
|
63550
|
+
for (const fieldKey of CLEAR_ON_PART_EMPTY$2) {
|
|
63551
|
+
ctx.rowData[fieldKey] = void 0;
|
|
63552
|
+
}
|
|
63553
|
+
}
|
|
63554
|
+
registerRowHandler(TABLE_TYPE$9, "on-part-id-change", ({ rowData }) => {
|
|
63555
|
+
handlePartIdChange$2({ rowData });
|
|
63556
|
+
});
|
|
63557
|
+
const F$4 = {
|
|
63558
|
+
/** 库存主键(选物料时写 option.id_,用于唯一回显) */
|
|
63559
|
+
inventory: "inventory_id_",
|
|
63560
|
+
/** 物料批号 */
|
|
63561
|
+
batch: "production_identification_id_",
|
|
63562
|
+
batchLb: "production_identification_id__lb_",
|
|
63563
|
+
/** 物料 */
|
|
63564
|
+
product: "product_id_",
|
|
63565
|
+
productLb: "product_id__lb_",
|
|
63566
|
+
/** 物料名称 */
|
|
63567
|
+
productName: "product_id_name_",
|
|
63568
|
+
/** 物料编码 */
|
|
63569
|
+
productCode: "product_id_code_",
|
|
63570
|
+
/** 物料规格 */
|
|
63571
|
+
productSpec: "product_id_spec_",
|
|
63572
|
+
/** 仓库 */
|
|
63573
|
+
warehouse: "warehouse_id_",
|
|
63574
|
+
/** 库位 */
|
|
63575
|
+
location: "location_id_",
|
|
63576
|
+
locationLb: "location_id__lb_",
|
|
63577
|
+
/** 库存数量 */
|
|
63578
|
+
stock: "stock_num_",
|
|
63579
|
+
/** 盘点数量 */
|
|
63580
|
+
stocktake: "stocktake_num_",
|
|
63581
|
+
/** 差异数量 */
|
|
63582
|
+
diff: "diff_num_",
|
|
63583
|
+
/** 盘点状态 */
|
|
63584
|
+
stocktakeStatus: "stocktake_status_",
|
|
63585
|
+
stocktakeStatusLb: "stocktake_status__lb_",
|
|
63586
|
+
/** 有效期 */
|
|
63587
|
+
validity: "validity_",
|
|
63588
|
+
/** 复检日期 */
|
|
63589
|
+
reInspectionDate: "re_inspection_date_",
|
|
63590
|
+
/** 行数据来源 */
|
|
63591
|
+
rowSource: "row_source_",
|
|
63592
|
+
matno: "material_no_",
|
|
63593
|
+
matcode: "product_code_",
|
|
63594
|
+
/** 扫码:库位是否已自动解析 */
|
|
63595
|
+
locationAutoResolved: "_location_auto_resolved_",
|
|
63596
|
+
/** 扫码:可选库位 id 列表 */
|
|
63597
|
+
inventoryLocationIds: "_inventory_location_ids_"
|
|
63598
|
+
};
|
|
63599
|
+
const DESIGN_DISABLED_INPUT_FIELDS = [
|
|
63600
|
+
F$4.batch,
|
|
63601
|
+
F$4.productName,
|
|
63602
|
+
F$4.productCode,
|
|
63603
|
+
F$4.productSpec,
|
|
63604
|
+
F$4.stock,
|
|
63605
|
+
F$4.diff,
|
|
63606
|
+
F$4.stocktakeStatus,
|
|
63607
|
+
F$4.warehouse,
|
|
63608
|
+
F$4.location,
|
|
63609
|
+
F$4.validity,
|
|
63610
|
+
F$4.reInspectionDate
|
|
63611
|
+
];
|
|
63612
|
+
const READONLY_INFO_FIELDS = [
|
|
63613
|
+
F$4.productName,
|
|
63614
|
+
F$4.productCode,
|
|
63615
|
+
F$4.productSpec,
|
|
63616
|
+
F$4.warehouse,
|
|
63617
|
+
F$4.stock,
|
|
63618
|
+
F$4.diff,
|
|
63619
|
+
F$4.stocktakeStatus,
|
|
63620
|
+
F$4.validity,
|
|
63621
|
+
F$4.reInspectionDate
|
|
63622
|
+
];
|
|
63623
|
+
const AUTO_LOAD_READONLY_SELECT_FIELDS = [F$4.product, F$4.batch, F$4.location];
|
|
63624
|
+
const CLEAR_ON_PRODUCT_EMPTY$2 = [
|
|
63625
|
+
F$4.inventory,
|
|
63626
|
+
F$4.batch,
|
|
63627
|
+
F$4.batchLb,
|
|
63628
|
+
F$4.productName,
|
|
63629
|
+
F$4.productCode,
|
|
63630
|
+
F$4.productSpec,
|
|
63631
|
+
F$4.stock,
|
|
63632
|
+
F$4.stocktake,
|
|
63633
|
+
F$4.diff,
|
|
63634
|
+
F$4.warehouse,
|
|
63635
|
+
F$4.location,
|
|
63636
|
+
F$4.locationLb,
|
|
63637
|
+
F$4.validity,
|
|
63638
|
+
F$4.reInspectionDate
|
|
63639
|
+
];
|
|
63640
|
+
const FILL_FROM_INVENTORY_OPTION$1 = [
|
|
63641
|
+
{ optionField: "id_", toField: F$4.inventory },
|
|
63642
|
+
{ optionField: "product_id_name_", toField: F$4.productName },
|
|
63643
|
+
{ optionField: "product_id_code_", toField: F$4.productCode },
|
|
63644
|
+
{ optionField: "product_id_spec_", toField: F$4.productSpec },
|
|
63645
|
+
{ optionField: "production_identification_id_", toField: F$4.batch },
|
|
63646
|
+
{ optionField: "warehouse_id_", toField: F$4.warehouse },
|
|
63647
|
+
{ optionField: "location_id_", toField: F$4.location },
|
|
63648
|
+
{ optionField: "stock_num_", toField: F$4.stock },
|
|
63649
|
+
{ optionField: "validate_", toField: F$4.validity },
|
|
63650
|
+
{ optionField: "re_inspection_date_", toField: F$4.reInspectionDate }
|
|
63651
|
+
];
|
|
63652
|
+
const STOCKTAKE_DERIVED_WATCH_FIELDS$1 = [F$4.stocktake, F$4.stock];
|
|
63653
|
+
const WAREHOUSE_IDENTITY_GROUP_KEYS = [F$4.batch, F$4.product, F$4.warehouse];
|
|
63654
|
+
const SCAN_MERGE_GROUP_KEYS = [F$4.batch, F$4.product, F$4.warehouse, F$4.location];
|
|
63655
|
+
const INVENTORY_BASE_FIELDS = [
|
|
63656
|
+
F$4.batch,
|
|
63657
|
+
F$4.product,
|
|
63658
|
+
F$4.productName,
|
|
63659
|
+
F$4.productCode,
|
|
63660
|
+
F$4.productSpec,
|
|
63661
|
+
F$4.warehouse
|
|
63662
|
+
];
|
|
63663
|
+
const fields$4 = [
|
|
63664
|
+
{
|
|
63665
|
+
match: { fieldKey: [...DESIGN_DISABLED_INPUT_FIELDS] },
|
|
63666
|
+
defaultProps: {
|
|
63667
|
+
disabled: true,
|
|
63668
|
+
fieldDisabled: true,
|
|
63669
|
+
required: false
|
|
63670
|
+
}
|
|
63671
|
+
},
|
|
63672
|
+
{
|
|
63673
|
+
// 实盘数量:设计态默认开启最小值 0 校验(与 Word 对齐)
|
|
63674
|
+
match: { fieldKey: F$4.stocktake },
|
|
63675
|
+
defaultProps: {
|
|
63676
|
+
enableRangeValidate: true,
|
|
63677
|
+
minValidateMode: RangeValidateMode.Fixed_Number,
|
|
63678
|
+
minValue: 0
|
|
63679
|
+
}
|
|
63680
|
+
}
|
|
63681
|
+
];
|
|
63682
|
+
const TABLE_TYPE$8 = "warehouse-inventory";
|
|
63683
|
+
const profile$8 = {
|
|
63684
|
+
type: TABLE_TYPE$8,
|
|
63685
|
+
label: "库存盘点表",
|
|
63686
|
+
labelKey: "sys.pageDesigner.fieldCmp.stocktake",
|
|
63687
|
+
category: "business",
|
|
63688
|
+
ribbonAction: "warehouse-inventory",
|
|
63689
|
+
ribbonGroup: "仓储",
|
|
63690
|
+
icon: "warehouse-inventory",
|
|
63691
|
+
enabled: true,
|
|
63692
|
+
match: {
|
|
63693
|
+
fieldType: "master_slave",
|
|
63694
|
+
refModelType: "STOCKTAKE",
|
|
63695
|
+
tableType: SubTableType.STOCKTAKE
|
|
63696
|
+
},
|
|
63697
|
+
defaultWidgetProps: {
|
|
63698
|
+
autoLoadStock: false
|
|
63699
|
+
},
|
|
63700
|
+
fields: fields$4,
|
|
63701
|
+
contextAssignments: [
|
|
63702
|
+
{ when: "onRowInit", fieldKey: F$4.warehouse, paramKey: "warehouseId", onlyIfEmpty: true }
|
|
63703
|
+
],
|
|
63704
|
+
rowHandlers: [
|
|
63705
|
+
{ when: "onFieldChange", watch: [F$4.product], handler: "on-product-id-change" },
|
|
63706
|
+
{
|
|
63707
|
+
when: "onFieldChange",
|
|
63708
|
+
watch: [...STOCKTAKE_DERIVED_WATCH_FIELDS$1],
|
|
63709
|
+
handler: "stocktake-derived"
|
|
63710
|
+
}
|
|
63711
|
+
],
|
|
63712
|
+
runtimeRules: [
|
|
63713
|
+
{
|
|
63714
|
+
fields: [...READONLY_INFO_FIELDS],
|
|
63715
|
+
effect: { disabled: true }
|
|
63716
|
+
}
|
|
63717
|
+
],
|
|
63718
|
+
theme: {
|
|
63719
|
+
color: "#524CAA",
|
|
63720
|
+
background: "rgba(82,76,170,0.2)",
|
|
63721
|
+
labelBjColor: "rgba(82,76,170,0.8)"
|
|
63722
|
+
}
|
|
63723
|
+
};
|
|
63724
|
+
function isBlank$5(value) {
|
|
63725
|
+
return value === void 0 || value === null || value === "";
|
|
63726
|
+
}
|
|
63727
|
+
function toNumber$2(value, fallback = 0) {
|
|
63728
|
+
const num = Number(value);
|
|
63729
|
+
return Number.isNaN(num) ? fallback : num;
|
|
63730
|
+
}
|
|
63731
|
+
const STOCKTAKE_STATUS_I18N$1 = {
|
|
63732
|
+
waiting: "sys.edhr.stocktakeStatusEnum.waiting",
|
|
63733
|
+
surplus: "sys.edhr.stocktakeStatusEnum.surplus",
|
|
63734
|
+
loss: "sys.edhr.stocktakeStatusEnum.loss",
|
|
63735
|
+
equals: "sys.edhr.stocktakeStatusEnum.equals"
|
|
63736
|
+
};
|
|
63737
|
+
function handleProductIdChange$1(ctx) {
|
|
63738
|
+
if (!isBlank$5(ctx.rowData[F$4.product])) return;
|
|
63739
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$2) {
|
|
63740
|
+
ctx.rowData[fieldKey] = void 0;
|
|
63741
|
+
}
|
|
63742
|
+
}
|
|
63743
|
+
function refreshStocktakeDerivedFields$1(ctx) {
|
|
63744
|
+
const rowData = ctx.rowData;
|
|
63745
|
+
const stocktakeNum = rowData[F$4.stocktake];
|
|
63746
|
+
const stockNum = rowData[F$4.stock];
|
|
63747
|
+
let diff;
|
|
63748
|
+
if (isBlank$5(stocktakeNum)) {
|
|
63749
|
+
diff = void 0;
|
|
63750
|
+
} else {
|
|
63751
|
+
const stocktake = toNumber$2(stocktakeNum);
|
|
63752
|
+
diff = Number.isNaN(stocktake) ? void 0 : stocktake - toNumber$2(stockNum);
|
|
63753
|
+
}
|
|
63754
|
+
let status;
|
|
63755
|
+
if (diff == null) status = "waiting";
|
|
63756
|
+
else if (diff > 0) status = "surplus";
|
|
63757
|
+
else if (diff < 0) status = "loss";
|
|
63758
|
+
else status = "equals";
|
|
63759
|
+
const statusLabel = STOCKTAKE_STATUS_I18N$1[status];
|
|
63760
|
+
rowData[F$4.diff] = diff;
|
|
63761
|
+
rowData[F$4.stocktakeStatus] = status;
|
|
63762
|
+
rowData[F$4.stocktakeStatusLb] = typeof $t === "function" ? $t(statusLabel) : statusLabel;
|
|
63763
|
+
}
|
|
63764
|
+
registerRowHandler(TABLE_TYPE$8, "on-product-id-change", ({ rowData }) => {
|
|
63765
|
+
handleProductIdChange$1({ rowData });
|
|
63766
|
+
refreshStocktakeDerivedFields$1({ rowData });
|
|
63767
|
+
});
|
|
63768
|
+
registerRowHandler(TABLE_TYPE$8, "stocktake-derived", ({ rowData }) => {
|
|
63769
|
+
refreshStocktakeDerivedFields$1({ rowData });
|
|
63770
|
+
});
|
|
63771
|
+
const F$3 = {
|
|
63772
|
+
/** 库存列表 id */
|
|
63773
|
+
inventory: "inventory_id_",
|
|
63774
|
+
/** 备件 */
|
|
63775
|
+
part: "part_id_",
|
|
63776
|
+
/** 备件 id(展示 / 文本) */
|
|
63777
|
+
partLb: "part_id__lb_",
|
|
63778
|
+
/** 备件名称 */
|
|
63779
|
+
partName: "part_id_name_",
|
|
63780
|
+
/** 备件编码 */
|
|
63781
|
+
partCode: "part_id_code_",
|
|
63782
|
+
/** 备件规格 */
|
|
63783
|
+
partSpec: "part_id_spec_",
|
|
63784
|
+
/** 库存数量 */
|
|
63785
|
+
stock: "stock_num_",
|
|
63786
|
+
/** 盘点数量 */
|
|
63787
|
+
stocktake: "stocktake_num_",
|
|
63788
|
+
/** 差异数量 */
|
|
63789
|
+
diff: "diff_num_",
|
|
63790
|
+
/** 数量单位 */
|
|
63791
|
+
qtyUom: "qty_uom_id_",
|
|
63792
|
+
/** 盘点状态 */
|
|
63793
|
+
stocktakeStatus: "stocktake_status_",
|
|
63794
|
+
stocktakeStatusLb: "stocktake_status__lb_",
|
|
63795
|
+
/** 仓库 */
|
|
63796
|
+
warehouse: "warehouse_id_",
|
|
63797
|
+
/** 库区 */
|
|
63798
|
+
storageZone: "storage_zone_id_",
|
|
63799
|
+
/** 库位 */
|
|
63800
|
+
location: "location_id_"
|
|
63801
|
+
};
|
|
63802
|
+
const DISABLED_INPUT_FIELDS$3 = [
|
|
63803
|
+
F$3.inventory,
|
|
63804
|
+
F$3.partLb,
|
|
63805
|
+
F$3.partName,
|
|
63806
|
+
F$3.partCode,
|
|
63807
|
+
F$3.partSpec,
|
|
63808
|
+
F$3.stock,
|
|
63809
|
+
F$3.diff,
|
|
63810
|
+
F$3.qtyUom,
|
|
63811
|
+
F$3.stocktakeStatus,
|
|
63812
|
+
F$3.warehouse,
|
|
63813
|
+
F$3.storageZone,
|
|
63814
|
+
F$3.location
|
|
63815
|
+
];
|
|
63816
|
+
const CLEAR_ON_PART_EMPTY$1 = [
|
|
63817
|
+
F$3.inventory,
|
|
63818
|
+
F$3.partName,
|
|
63819
|
+
F$3.partCode,
|
|
63820
|
+
F$3.partSpec,
|
|
63821
|
+
F$3.stock,
|
|
63822
|
+
F$3.stocktake,
|
|
63823
|
+
F$3.diff,
|
|
63824
|
+
F$3.qtyUom,
|
|
63825
|
+
F$3.warehouse,
|
|
63826
|
+
F$3.storageZone,
|
|
63827
|
+
F$3.location
|
|
63828
|
+
];
|
|
63829
|
+
const STOCKTAKE_DERIVED_WATCH_FIELDS = [F$3.stocktake, F$3.stock];
|
|
63830
|
+
const fields$3 = [
|
|
63831
|
+
{
|
|
63832
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$3] },
|
|
63833
|
+
defaultProps: {
|
|
63834
|
+
disabled: true,
|
|
63835
|
+
fieldDisabled: true,
|
|
63836
|
+
required: false
|
|
63837
|
+
}
|
|
63838
|
+
}
|
|
63839
|
+
];
|
|
63840
|
+
const TABLE_TYPE$7 = "part-stocktake";
|
|
63841
|
+
const profile$7 = {
|
|
63842
|
+
type: TABLE_TYPE$7,
|
|
63843
|
+
label: "库存盘点表",
|
|
63844
|
+
labelKey: "sys.pageDesigner.fieldCmp.part_stocktake",
|
|
63845
|
+
category: "business",
|
|
63846
|
+
ribbonAction: "part-stocktake",
|
|
63847
|
+
ribbonGroup: "备件",
|
|
63848
|
+
ribbonSuites: ["EQM"],
|
|
63849
|
+
icon: "part-stocktake",
|
|
63850
|
+
enabled: true,
|
|
63851
|
+
match: {
|
|
63852
|
+
fieldType: "master_slave",
|
|
63853
|
+
refModelType: "PART_STOCKTAKE",
|
|
63854
|
+
tableType: SubTableType.PART_STOCKTAKE
|
|
63855
|
+
},
|
|
63856
|
+
fields: fields$3,
|
|
63857
|
+
rowHandlers: [
|
|
63858
|
+
{ when: "onFieldChange", watch: [F$3.part], handler: "on-part-id-change" },
|
|
63859
|
+
{
|
|
63860
|
+
when: "onFieldChange",
|
|
63861
|
+
watch: [...STOCKTAKE_DERIVED_WATCH_FIELDS],
|
|
63862
|
+
handler: "stocktake-derived"
|
|
63863
|
+
}
|
|
63864
|
+
],
|
|
63865
|
+
runtimeRules: [
|
|
63866
|
+
{
|
|
63867
|
+
fields: [...DISABLED_INPUT_FIELDS$3],
|
|
63868
|
+
effect: { disabled: true }
|
|
63869
|
+
}
|
|
63870
|
+
],
|
|
63871
|
+
theme: {
|
|
63872
|
+
color: "#524CAA",
|
|
63873
|
+
background: "rgba(82,76,170,0.2)",
|
|
63874
|
+
labelBjColor: "rgba(82,76,170,0.8)"
|
|
63875
|
+
}
|
|
63876
|
+
};
|
|
63877
|
+
function isBlank$4(value) {
|
|
63878
|
+
return value === void 0 || value === null || value === "";
|
|
63879
|
+
}
|
|
63880
|
+
function toNumber$1(value, fallback = 0) {
|
|
63881
|
+
const num = Number(value);
|
|
63882
|
+
return Number.isNaN(num) ? fallback : num;
|
|
63883
|
+
}
|
|
63884
|
+
const STOCKTAKE_STATUS_I18N = {
|
|
63885
|
+
waiting: "sys.edhr.stocktakeStatusEnum.waiting",
|
|
63886
|
+
surplus: "sys.edhr.stocktakeStatusEnum.surplus",
|
|
63887
|
+
loss: "sys.edhr.stocktakeStatusEnum.loss",
|
|
63888
|
+
equals: "sys.edhr.stocktakeStatusEnum.equals"
|
|
63889
|
+
};
|
|
63890
|
+
function handlePartIdChange$1(ctx) {
|
|
63891
|
+
if (!isBlank$4(ctx.rowData[F$3.part])) return;
|
|
63892
|
+
for (const fieldKey of CLEAR_ON_PART_EMPTY$1) {
|
|
63893
|
+
ctx.rowData[fieldKey] = void 0;
|
|
63894
|
+
}
|
|
63895
|
+
refreshStocktakeDerivedFields(ctx);
|
|
63896
|
+
}
|
|
63897
|
+
function refreshStocktakeDerivedFields(ctx) {
|
|
63898
|
+
const rowData = ctx.rowData;
|
|
63899
|
+
const stocktakeNum = rowData[F$3.stocktake];
|
|
63900
|
+
const stockNum = rowData[F$3.stock];
|
|
63901
|
+
let diff;
|
|
63902
|
+
if (isBlank$4(stocktakeNum)) {
|
|
63903
|
+
diff = void 0;
|
|
63904
|
+
} else {
|
|
63905
|
+
const stocktake = toNumber$1(stocktakeNum);
|
|
63906
|
+
diff = Number.isNaN(stocktake) ? void 0 : stocktake - toNumber$1(stockNum);
|
|
63907
|
+
}
|
|
63908
|
+
let status;
|
|
63909
|
+
if (diff == null) status = "waiting";
|
|
63910
|
+
else if (diff > 0) status = "surplus";
|
|
63911
|
+
else if (diff < 0) status = "loss";
|
|
63912
|
+
else status = "equals";
|
|
63913
|
+
const statusLabel = STOCKTAKE_STATUS_I18N[status];
|
|
63914
|
+
rowData[F$3.diff] = diff;
|
|
63915
|
+
rowData[F$3.stocktakeStatus] = status;
|
|
63916
|
+
rowData[F$3.stocktakeStatusLb] = typeof $t === "function" ? $t(statusLabel) : statusLabel;
|
|
63917
|
+
}
|
|
63918
|
+
registerRowHandler(TABLE_TYPE$7, "on-part-id-change", ({ rowData }) => {
|
|
63919
|
+
handlePartIdChange$1({ rowData });
|
|
63920
|
+
});
|
|
63921
|
+
registerRowHandler(TABLE_TYPE$7, "stocktake-derived", ({ rowData }) => {
|
|
63922
|
+
refreshStocktakeDerivedFields({ rowData });
|
|
63923
|
+
});
|
|
63924
|
+
const F$2 = {
|
|
63925
|
+
/** 库存列表 id */
|
|
63926
|
+
inventory: "inventory_id_",
|
|
63927
|
+
/** 备件 */
|
|
63928
|
+
part: "part_id_",
|
|
63929
|
+
/** 备件名称 */
|
|
63930
|
+
partName: "part_id_name_",
|
|
63931
|
+
/** 备件编码 */
|
|
63932
|
+
partCode: "part_id_code_",
|
|
63933
|
+
/** 备件规格 */
|
|
63934
|
+
partSpec: "part_id_spec_",
|
|
63935
|
+
/** 数量单位 */
|
|
63936
|
+
qtyUom: "qty_uom_id_",
|
|
63937
|
+
/** 库存数量 */
|
|
63938
|
+
stock: "stock_num_",
|
|
63939
|
+
/** 仓库 */
|
|
63940
|
+
warehouse: "warehouse_id_",
|
|
63941
|
+
/** 库区 */
|
|
63942
|
+
storageZone: "storage_zone_id_",
|
|
63943
|
+
/** 库位 */
|
|
63944
|
+
location: "location_id_"
|
|
63945
|
+
};
|
|
63946
|
+
const DISABLED_INPUT_FIELDS$2 = [
|
|
63947
|
+
F$2.inventory,
|
|
63948
|
+
F$2.partName,
|
|
63949
|
+
F$2.partCode,
|
|
63950
|
+
F$2.partSpec,
|
|
63951
|
+
F$2.qtyUom,
|
|
63952
|
+
F$2.stock,
|
|
63953
|
+
F$2.warehouse,
|
|
63954
|
+
F$2.storageZone,
|
|
63955
|
+
F$2.location
|
|
63956
|
+
];
|
|
63957
|
+
const CLEAR_ON_PART_EMPTY = [
|
|
63958
|
+
F$2.inventory,
|
|
63959
|
+
F$2.partName,
|
|
63960
|
+
F$2.partCode,
|
|
63961
|
+
F$2.partSpec,
|
|
63962
|
+
F$2.qtyUom,
|
|
63963
|
+
F$2.stock,
|
|
63964
|
+
F$2.warehouse,
|
|
63965
|
+
F$2.storageZone,
|
|
63966
|
+
F$2.location
|
|
63967
|
+
];
|
|
63968
|
+
const fields$2 = [
|
|
63969
|
+
{
|
|
63970
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$2] },
|
|
63971
|
+
defaultProps: {
|
|
63972
|
+
disabled: true,
|
|
63973
|
+
fieldDisabled: true,
|
|
63974
|
+
required: false
|
|
63975
|
+
}
|
|
63976
|
+
}
|
|
63977
|
+
];
|
|
63978
|
+
const TABLE_TYPE$6 = "device-part-consume";
|
|
63979
|
+
const profile$6 = {
|
|
63980
|
+
type: TABLE_TYPE$6,
|
|
63981
|
+
label: "备件消耗表",
|
|
63982
|
+
labelKey: "sys.pageDesigner.fieldCmp.device_part_consume",
|
|
63983
|
+
category: "business",
|
|
63984
|
+
ribbonAction: "device-part-consume",
|
|
63985
|
+
ribbonGroup: "备件",
|
|
63986
|
+
ribbonSuites: ["EQM"],
|
|
63987
|
+
icon: "device-part-consume",
|
|
63988
|
+
enabled: true,
|
|
63989
|
+
match: {
|
|
63990
|
+
fieldType: "master_slave",
|
|
63991
|
+
refModelType: "DEVICE_PART_CONSUME",
|
|
63992
|
+
tableType: SubTableType.DEVICE_PART_CONSUME
|
|
63993
|
+
},
|
|
63994
|
+
fields: fields$2,
|
|
63995
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$2.part], handler: "on-part-id-change" }],
|
|
63996
|
+
runtimeRules: [
|
|
63997
|
+
{
|
|
63998
|
+
fields: [...DISABLED_INPUT_FIELDS$2],
|
|
63999
|
+
effect: { disabled: true }
|
|
64000
|
+
}
|
|
64001
|
+
],
|
|
64002
|
+
theme: {
|
|
64003
|
+
color: "#4891B3",
|
|
64004
|
+
background: "rgba(72,145,179,0.2)",
|
|
64005
|
+
labelBjColor: "rgba(72,145,179,0.8)"
|
|
64006
|
+
}
|
|
64007
|
+
};
|
|
64008
|
+
function isBlank$3(value) {
|
|
64009
|
+
return value === void 0 || value === null || value === "";
|
|
64010
|
+
}
|
|
64011
|
+
function handlePartIdChange(ctx) {
|
|
64012
|
+
if (!isBlank$3(ctx.rowData[F$2.part])) return;
|
|
64013
|
+
for (const fieldKey of CLEAR_ON_PART_EMPTY) {
|
|
64014
|
+
ctx.rowData[fieldKey] = void 0;
|
|
64015
|
+
}
|
|
64016
|
+
}
|
|
64017
|
+
registerRowHandler(TABLE_TYPE$6, "on-part-id-change", ({ rowData }) => {
|
|
64018
|
+
handlePartIdChange({ rowData });
|
|
64019
|
+
});
|
|
64020
|
+
const F$1 = {
|
|
64021
|
+
/** 库存主键(选物料时写 option.id_,用于唯一回显) */
|
|
64022
|
+
inventory: "inventory_id_",
|
|
64023
|
+
/** 物料 */
|
|
64024
|
+
product: "product_id_",
|
|
64025
|
+
/** 物料名称 */
|
|
64026
|
+
productName: "product_id_name_",
|
|
64027
|
+
/** 物料编码 */
|
|
64028
|
+
productCode: "product_id_code_",
|
|
64029
|
+
/** 物料规格 */
|
|
64030
|
+
productSpec: "product_id_spec_",
|
|
64031
|
+
/** 物料批号 */
|
|
64032
|
+
batch: "production_identification_id_",
|
|
64033
|
+
/** 源仓库 */
|
|
64034
|
+
originWarehouse: "origin_warehouse_id_",
|
|
64035
|
+
/** 源库位 */
|
|
64036
|
+
originLocation: "origin_location_id_",
|
|
64037
|
+
/** 目标仓库 */
|
|
64038
|
+
warehouse: "warehouse_id_",
|
|
64039
|
+
/** 目标库位 */
|
|
64040
|
+
location: "location_id_",
|
|
64041
|
+
/** 库存数量 */
|
|
64042
|
+
stock: "stock_num_",
|
|
64043
|
+
/** 调拨数量 */
|
|
64044
|
+
allocateNum: "allocate_num_",
|
|
64045
|
+
/** 工单 */
|
|
64046
|
+
mfgOrder: "mfg_order_id_",
|
|
64047
|
+
/** 批次/SN */
|
|
64048
|
+
lotSn: "lot_sn_id_",
|
|
64049
|
+
/** 有效期 */
|
|
64050
|
+
validity: "validity_",
|
|
64051
|
+
/** 复检日期 */
|
|
64052
|
+
reInspectionDate: "re_inspection_date_"
|
|
64053
|
+
};
|
|
64054
|
+
const DISABLED_INPUT_FIELDS$1 = [
|
|
64055
|
+
F$1.productName,
|
|
64056
|
+
F$1.productCode,
|
|
64057
|
+
F$1.productSpec,
|
|
64058
|
+
F$1.batch,
|
|
64059
|
+
F$1.originWarehouse,
|
|
64060
|
+
F$1.originLocation,
|
|
64061
|
+
F$1.mfgOrder,
|
|
64062
|
+
F$1.lotSn,
|
|
64063
|
+
F$1.stock,
|
|
64064
|
+
F$1.validity,
|
|
64065
|
+
F$1.reInspectionDate
|
|
64066
|
+
];
|
|
64067
|
+
const CLEAR_ON_PRODUCT_EMPTY$1 = [
|
|
64068
|
+
F$1.inventory,
|
|
64069
|
+
F$1.productName,
|
|
64070
|
+
F$1.productCode,
|
|
64071
|
+
F$1.productSpec,
|
|
64072
|
+
F$1.batch,
|
|
64073
|
+
F$1.originWarehouse,
|
|
64074
|
+
F$1.originLocation,
|
|
64075
|
+
F$1.warehouse,
|
|
64076
|
+
F$1.location,
|
|
64077
|
+
F$1.mfgOrder,
|
|
64078
|
+
F$1.lotSn,
|
|
64079
|
+
F$1.stock,
|
|
64080
|
+
F$1.allocateNum,
|
|
64081
|
+
F$1.validity,
|
|
64082
|
+
F$1.reInspectionDate
|
|
64083
|
+
];
|
|
64084
|
+
const FILL_FROM_INVENTORY_OPTION = [
|
|
64085
|
+
{ optionField: "id_", toField: F$1.inventory },
|
|
64086
|
+
{ optionField: "product_id_name_", toField: F$1.productName },
|
|
64087
|
+
{ optionField: "product_id_code_", toField: F$1.productCode },
|
|
64088
|
+
{ optionField: "product_id_spec_", toField: F$1.productSpec },
|
|
64089
|
+
{ optionField: "production_identification_id_", toField: F$1.batch },
|
|
64090
|
+
{ optionField: "warehouse_id_", toField: F$1.originWarehouse },
|
|
64091
|
+
{ optionField: "location_id_", toField: F$1.originLocation },
|
|
64092
|
+
{ optionField: "mfg_order_id_", toField: F$1.mfgOrder },
|
|
64093
|
+
{ optionField: "lot_sn_id_", toField: F$1.lotSn },
|
|
64094
|
+
{ optionField: "stock_num_", toField: F$1.stock },
|
|
64095
|
+
{ optionField: "validate_", toField: F$1.validity },
|
|
64096
|
+
{ optionField: "re_inspection_date_", toField: F$1.reInspectionDate }
|
|
64097
|
+
];
|
|
64098
|
+
const fields$1 = [
|
|
64099
|
+
{
|
|
64100
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS$1] },
|
|
64101
|
+
defaultProps: {
|
|
64102
|
+
disabled: true,
|
|
64103
|
+
fieldDisabled: true,
|
|
64104
|
+
required: false
|
|
64105
|
+
}
|
|
64106
|
+
}
|
|
64107
|
+
];
|
|
64108
|
+
const TABLE_TYPE$5 = "warehouse-allocate";
|
|
64109
|
+
const profile$5 = {
|
|
64110
|
+
type: TABLE_TYPE$5,
|
|
64111
|
+
label: "库存调拨表",
|
|
64112
|
+
labelKey: "sys.pageDesigner.fieldCmp.allocate",
|
|
64113
|
+
category: "business",
|
|
64114
|
+
ribbonAction: "warehouse-allocate",
|
|
64115
|
+
ribbonGroup: "仓储",
|
|
64116
|
+
icon: "warehouse-allocate",
|
|
64117
|
+
enabled: true,
|
|
64118
|
+
match: {
|
|
64119
|
+
fieldType: "master_slave",
|
|
64120
|
+
refModelType: "ALLOCATE",
|
|
64121
|
+
tableType: SubTableType.ALLOCATE
|
|
64122
|
+
},
|
|
64123
|
+
fields: fields$1,
|
|
64124
|
+
contextAssignments: [
|
|
64125
|
+
{ when: "onRowInit", fieldKey: F$1.originWarehouse, paramKey: "warehouseId", onlyIfEmpty: true },
|
|
64126
|
+
{ when: "onRowInit", fieldKey: F$1.mfgOrder, paramKey: "mfgOrderId", onlyIfEmpty: true },
|
|
64127
|
+
{ when: "onRowInit", fieldKey: F$1.lotSn, paramKey: "lotSnId", onlyIfEmpty: true }
|
|
64128
|
+
],
|
|
64129
|
+
rowHandlers: [{ when: "onFieldChange", watch: [F$1.product], handler: "on-product-id-change" }],
|
|
64130
|
+
runtimeRules: [
|
|
64131
|
+
{
|
|
64132
|
+
fields: [...DISABLED_INPUT_FIELDS$1],
|
|
64133
|
+
effect: { disabled: true }
|
|
64134
|
+
}
|
|
64135
|
+
],
|
|
64136
|
+
theme: {
|
|
64137
|
+
color: "#DE45F5",
|
|
64138
|
+
background: "rgba(222,69,245,0.2)",
|
|
64139
|
+
labelBjColor: "rgba(222,69,245,0.8)"
|
|
64140
|
+
}
|
|
64141
|
+
};
|
|
64142
|
+
function isBlank$2(value) {
|
|
64143
|
+
return value === void 0 || value === null || value === "";
|
|
64144
|
+
}
|
|
64145
|
+
function handleProductIdChange(ctx) {
|
|
64146
|
+
if (!isBlank$2(ctx.rowData[F$1.product])) return;
|
|
64147
|
+
for (const fieldKey of CLEAR_ON_PRODUCT_EMPTY$1) {
|
|
64148
|
+
ctx.rowData[fieldKey] = void 0;
|
|
64149
|
+
}
|
|
64150
|
+
}
|
|
64151
|
+
registerRowHandler(TABLE_TYPE$5, "on-product-id-change", ({ rowData }) => {
|
|
64152
|
+
handleProductIdChange({ rowData });
|
|
64153
|
+
});
|
|
64154
|
+
const TABLE_TYPE$4 = "material-consume";
|
|
64155
|
+
const profile$4 = {
|
|
64156
|
+
type: TABLE_TYPE$4,
|
|
64157
|
+
label: "物料消耗表",
|
|
64158
|
+
labelKey: "sys.onlineForm.subTableType.MATERIAL_CONSUMPTION",
|
|
64159
|
+
category: "business",
|
|
64160
|
+
ribbonAction: "material-consume",
|
|
64161
|
+
ribbonGroup: "物料",
|
|
64162
|
+
icon: "material-consume",
|
|
64163
|
+
enabled: true,
|
|
64164
|
+
match: {
|
|
64165
|
+
fieldType: "master_slave",
|
|
64166
|
+
refModelType: "MATERIAL_CONSUME",
|
|
64167
|
+
tableType: SubTableType.MATERIAL_CONSUMPTION
|
|
64168
|
+
},
|
|
64169
|
+
theme: {
|
|
64170
|
+
color: "#4891B3",
|
|
64171
|
+
background: "rgba(72,145,179,0.2)",
|
|
64172
|
+
labelBjColor: "rgba(72,145,179,0.8)"
|
|
64173
|
+
}
|
|
64174
|
+
};
|
|
64175
|
+
const TABLE_TYPE$3 = "material-balance";
|
|
64176
|
+
const profile$3 = {
|
|
64177
|
+
type: TABLE_TYPE$3,
|
|
64178
|
+
label: "物料平衡表",
|
|
64179
|
+
labelKey: "sys.onlineForm.subTableType.MATERIAL_BALANCE",
|
|
64180
|
+
category: "business",
|
|
64181
|
+
ribbonAction: "material-balance",
|
|
64182
|
+
ribbonGroup: "物料",
|
|
64183
|
+
icon: "material-balance",
|
|
64184
|
+
enabled: true,
|
|
64185
|
+
match: {
|
|
64186
|
+
fieldType: "master_slave",
|
|
64187
|
+
refModelType: "MATERIAL_BALANCE",
|
|
64188
|
+
tableType: SubTableType.MATERIAL_BALANCE
|
|
64189
|
+
},
|
|
64190
|
+
theme: {
|
|
64191
|
+
color: "#6FB38B",
|
|
64192
|
+
background: "rgba(111,179,139,0.2)",
|
|
64193
|
+
labelBjColor: "rgba(111,179,139,0.8)"
|
|
64194
|
+
}
|
|
64195
|
+
};
|
|
64196
|
+
const TABLE_TYPE$2 = "entrust-steril-batch-list";
|
|
64197
|
+
const profile$2 = {
|
|
64198
|
+
type: TABLE_TYPE$2,
|
|
64199
|
+
label: "委托灭菌生产批次表",
|
|
64200
|
+
labelKey: "sys.onlineForm.subTableType.STERILIZE_BATCH",
|
|
64201
|
+
category: "business",
|
|
64202
|
+
ribbonAction: "entrust-steril-batch-list",
|
|
64203
|
+
ribbonGroup: "灭菌",
|
|
64204
|
+
icon: "entrust-steril-batch-list",
|
|
64205
|
+
enabled: true,
|
|
64206
|
+
seedTableKeyOnCreate: true,
|
|
64207
|
+
match: {
|
|
64208
|
+
fieldType: "master_slave",
|
|
64209
|
+
refModelType: "PRODUCTION_CONTAINER_LIST_4_STERILIZATION",
|
|
64210
|
+
tableType: SubTableType.STERILIZE_BATCH
|
|
64211
|
+
},
|
|
64212
|
+
theme: {
|
|
64213
|
+
color: "#2196D5",
|
|
64214
|
+
background: "rgba(33,150,213,0.2)",
|
|
64215
|
+
labelBjColor: "rgba(33,150,213,0.8)"
|
|
64216
|
+
}
|
|
64217
|
+
};
|
|
64218
|
+
const F = {
|
|
64219
|
+
/** 物料 */
|
|
64220
|
+
product: "product_id_",
|
|
64221
|
+
/** 物料名称 */
|
|
64222
|
+
productName: "product_id_name_",
|
|
64223
|
+
/** 编码 */
|
|
64224
|
+
productCode: "product_id_code_",
|
|
64225
|
+
/** 规格 */
|
|
64226
|
+
productSpec: "product_id_spec_",
|
|
64227
|
+
/** 生产批次号 */
|
|
64228
|
+
productionContainer: "production_container_id_",
|
|
64229
|
+
/** 数量 */
|
|
64230
|
+
qty: "qty_",
|
|
64231
|
+
/** 工单号 */
|
|
64232
|
+
mfgOrderCode: "mfg_order_code_",
|
|
64233
|
+
/** 工单 */
|
|
64234
|
+
mfgOrder: "mfg_order_id_",
|
|
64235
|
+
/** 生产日期 */
|
|
64236
|
+
productionDate: "production_date_",
|
|
64237
|
+
/** 物料批号 */
|
|
64238
|
+
materialContainerNo: "material_container_no_",
|
|
64239
|
+
/** 物料批号 ID(companion) */
|
|
64240
|
+
materialContainerNoId: "material_container_no__id_"
|
|
64241
|
+
};
|
|
64242
|
+
const DISABLED_INPUT_FIELDS = [F.productName, F.productCode, F.productSpec];
|
|
64243
|
+
const DESIGN_DISABLED_SELECT_FIELDS = [F.product, F.mfgOrderCode];
|
|
64244
|
+
const CLEAR_ON_MFG_ORDER_EMPTY = [
|
|
64245
|
+
F.mfgOrderCode,
|
|
64246
|
+
F.product,
|
|
64247
|
+
F.productName,
|
|
64248
|
+
F.productCode,
|
|
64249
|
+
F.productSpec,
|
|
64250
|
+
F.qty,
|
|
64251
|
+
F.productionDate
|
|
64252
|
+
];
|
|
64253
|
+
const CLEAR_ON_PROD_CONTAINER_EMPTY = [
|
|
64254
|
+
F.product,
|
|
64255
|
+
F.productName,
|
|
64256
|
+
F.productCode,
|
|
64257
|
+
F.productSpec,
|
|
64258
|
+
F.qty,
|
|
64259
|
+
F.mfgOrderCode,
|
|
64260
|
+
F.mfgOrder,
|
|
64261
|
+
F.productionDate
|
|
64262
|
+
];
|
|
64263
|
+
const CLEAR_ON_MATERIAL_CONTAINER_EMPTY = [
|
|
64264
|
+
F.product,
|
|
64265
|
+
F.productName,
|
|
64266
|
+
F.productCode,
|
|
64267
|
+
F.productSpec,
|
|
64268
|
+
F.qty,
|
|
64269
|
+
F.mfgOrderCode,
|
|
64270
|
+
F.mfgOrder,
|
|
64271
|
+
F.productionDate,
|
|
64272
|
+
F.materialContainerNoId,
|
|
64273
|
+
F.productionContainer
|
|
64274
|
+
];
|
|
64275
|
+
const CLEAR_ON_MFG_ORDER_SELECT = [
|
|
64276
|
+
F.productionContainer,
|
|
64277
|
+
F.materialContainerNo,
|
|
64278
|
+
F.materialContainerNoId
|
|
64279
|
+
];
|
|
64280
|
+
const CLEAR_ON_PROD_CONTAINER_SELECT = [
|
|
64281
|
+
F.mfgOrder,
|
|
64282
|
+
F.mfgOrderCode,
|
|
64283
|
+
F.materialContainerNo,
|
|
64284
|
+
F.materialContainerNoId
|
|
64285
|
+
];
|
|
64286
|
+
const CLEAR_ON_MATERIAL_CONTAINER_SELECT = [
|
|
64287
|
+
F.productionContainer,
|
|
64288
|
+
F.mfgOrder,
|
|
64289
|
+
F.mfgOrderCode
|
|
64290
|
+
];
|
|
64291
|
+
const CLEAR_ON_PRODUCT_EMPTY = [F.productName, F.productCode, F.productSpec];
|
|
64292
|
+
const FILL_FROM_CONTAINER_OPTION = [
|
|
64293
|
+
{ optionField: F.product, toField: F.product },
|
|
64294
|
+
{ optionField: F.productName, toField: F.productName },
|
|
64295
|
+
{ optionField: F.productCode, toField: F.productCode },
|
|
64296
|
+
{ optionField: F.productSpec, toField: F.productSpec },
|
|
64297
|
+
{ optionField: F.mfgOrder, toField: F.mfgOrder },
|
|
64298
|
+
{ optionField: F.mfgOrderCode, toField: F.mfgOrderCode },
|
|
64299
|
+
{ optionField: "real_start_date_", toField: F.productionDate },
|
|
64300
|
+
{ optionField: F.qty, toField: F.qty }
|
|
64301
|
+
];
|
|
64302
|
+
const FILL_FROM_MFG_ORDER_OPTION = [
|
|
64303
|
+
{ optionField: "id_", toField: F.mfgOrder },
|
|
64304
|
+
{ optionField: "code_", toField: F.mfgOrderCode },
|
|
64305
|
+
{ optionField: F.product, toField: F.product },
|
|
64306
|
+
{ optionField: F.productName, toField: F.productName },
|
|
64307
|
+
{ optionField: F.productCode, toField: F.productCode },
|
|
64308
|
+
{ optionField: F.productSpec, toField: F.productSpec },
|
|
64309
|
+
{ optionField: "real_start_date_", toField: F.productionDate },
|
|
64310
|
+
{ optionField: F.qty, toField: F.qty }
|
|
64311
|
+
];
|
|
64312
|
+
const FILL_FROM_PRODUCT_OPTION = [
|
|
64313
|
+
{ optionField: "name_", toField: F.productName },
|
|
64314
|
+
{ optionField: "code_", toField: F.productCode },
|
|
64315
|
+
{ optionField: "spec_", toField: F.productSpec }
|
|
64316
|
+
];
|
|
64317
|
+
function applyFillFromMapping(A, B, mapping) {
|
|
64318
|
+
const writableA = A;
|
|
64319
|
+
mapping.forEach(({ optionField, toField }) => {
|
|
64320
|
+
if (has(B, optionField)) {
|
|
64321
|
+
writableA[toField] = B[optionField];
|
|
64322
|
+
}
|
|
64323
|
+
});
|
|
64324
|
+
return A;
|
|
64325
|
+
}
|
|
64326
|
+
function applyFillFromOption(A, B) {
|
|
64327
|
+
return applyFillFromMapping(A, B, FILL_FROM_CONTAINER_OPTION);
|
|
64328
|
+
}
|
|
64329
|
+
function applyFillFromProductOption(A, B) {
|
|
64330
|
+
return applyFillFromMapping(A, B, FILL_FROM_PRODUCT_OPTION);
|
|
64331
|
+
}
|
|
64332
|
+
function applyFillFromMfgOrderOption(A, B) {
|
|
64333
|
+
applyFillFromMapping(A, B, FILL_FROM_MFG_ORDER_OPTION);
|
|
64334
|
+
const writableA = A;
|
|
64335
|
+
if (!has(B, "code_") && (B.label != null || B.__LABEL__ != null)) {
|
|
64336
|
+
writableA[F.mfgOrderCode] = B.label ?? B.__LABEL__;
|
|
64337
|
+
}
|
|
64338
|
+
return A;
|
|
64339
|
+
}
|
|
64340
|
+
function isBlank$1(value) {
|
|
64341
|
+
return value === void 0 || value === null || value === "";
|
|
64342
|
+
}
|
|
64343
|
+
function isProductManuallyEditable(rowData) {
|
|
64344
|
+
return !isBlank$1(rowData[F.materialContainerNo]) && isBlank$1(rowData[F.materialContainerNoId]);
|
|
64345
|
+
}
|
|
64346
|
+
const fields = [
|
|
64347
|
+
{
|
|
64348
|
+
match: { fieldKey: [...DISABLED_INPUT_FIELDS] },
|
|
64349
|
+
defaultProps: {
|
|
64350
|
+
disabled: true,
|
|
64351
|
+
fieldDisabled: true,
|
|
64352
|
+
required: false
|
|
64353
|
+
}
|
|
64354
|
+
},
|
|
64355
|
+
{
|
|
64356
|
+
// 物料、工单号:设计态默认禁用(物料运行态按批号条件解锁)
|
|
64357
|
+
match: { fieldKey: [...DESIGN_DISABLED_SELECT_FIELDS] },
|
|
64358
|
+
defaultProps: {
|
|
64359
|
+
disabled: true,
|
|
64360
|
+
fieldDisabled: true,
|
|
64361
|
+
required: false
|
|
64362
|
+
}
|
|
64363
|
+
}
|
|
64364
|
+
];
|
|
64365
|
+
const TABLE_TYPE$1 = "pretreatment-list";
|
|
64366
|
+
const profile$1 = {
|
|
64367
|
+
type: TABLE_TYPE$1,
|
|
64368
|
+
label: "预处理表",
|
|
64369
|
+
labelKey: "sys.onlineForm.subTableType.PRETREATMENT_LIST",
|
|
64370
|
+
category: "business",
|
|
64371
|
+
ribbonAction: "pretreatment-list",
|
|
64372
|
+
ribbonGroup: "预处理",
|
|
64373
|
+
icon: "pretreatment-list",
|
|
64374
|
+
enabled: true,
|
|
64375
|
+
seedTableKeyOnCreate: true,
|
|
64376
|
+
match: {
|
|
64377
|
+
fieldType: "master_slave",
|
|
64378
|
+
refModelType: "PRETREATMENT_LIST",
|
|
64379
|
+
tableType: SubTableType.PRETREATMENT_LIST
|
|
64380
|
+
},
|
|
64381
|
+
fields,
|
|
64382
|
+
rowHandlers: [
|
|
64383
|
+
{
|
|
64384
|
+
when: "onFieldChange",
|
|
64385
|
+
watch: [F.productionContainer],
|
|
64386
|
+
handler: "on-production-container-change"
|
|
64387
|
+
},
|
|
64388
|
+
{
|
|
64389
|
+
when: "onFieldChange",
|
|
64390
|
+
watch: [F.mfgOrder],
|
|
64391
|
+
handler: "on-mfg-order-change"
|
|
64392
|
+
},
|
|
64393
|
+
{
|
|
64394
|
+
when: "onFieldChange",
|
|
64395
|
+
watch: [F.materialContainerNo],
|
|
64396
|
+
handler: "on-material-container-no-change"
|
|
64397
|
+
},
|
|
64398
|
+
{
|
|
64399
|
+
when: "onFieldChange",
|
|
64400
|
+
watch: [F.product],
|
|
64401
|
+
handler: "on-product-change"
|
|
64402
|
+
}
|
|
64403
|
+
],
|
|
64404
|
+
runtimeRules: [
|
|
64405
|
+
{
|
|
64406
|
+
fields: [...DISABLED_INPUT_FIELDS],
|
|
64407
|
+
effect: { disabled: true }
|
|
64408
|
+
}
|
|
64409
|
+
],
|
|
64410
|
+
theme: {
|
|
64411
|
+
color: "#2121D5",
|
|
64412
|
+
background: "rgba(33,33,213,0.2)",
|
|
64413
|
+
labelBjColor: "rgba(33,33,213,0.8)"
|
|
64414
|
+
}
|
|
64415
|
+
};
|
|
64416
|
+
function isBlank(value) {
|
|
64417
|
+
return value === void 0 || value === null || value === "";
|
|
64418
|
+
}
|
|
64419
|
+
function clearFields(rowData, keys2) {
|
|
64420
|
+
for (const key of keys2) {
|
|
64421
|
+
rowData[key] = void 0;
|
|
64422
|
+
}
|
|
64423
|
+
}
|
|
64424
|
+
function handleProductionContainerChange(ctx) {
|
|
64425
|
+
const { rowData } = ctx;
|
|
64426
|
+
if (!isBlank(rowData[F.productionContainer])) {
|
|
64427
|
+
clearFields(rowData, CLEAR_ON_PROD_CONTAINER_SELECT);
|
|
64428
|
+
} else {
|
|
64429
|
+
clearFields(rowData, CLEAR_ON_PROD_CONTAINER_EMPTY);
|
|
64430
|
+
}
|
|
64431
|
+
}
|
|
64432
|
+
function handleMfgOrderChange(ctx) {
|
|
64433
|
+
const { rowData } = ctx;
|
|
64434
|
+
if (!isBlank(rowData[F.mfgOrder])) {
|
|
64435
|
+
clearFields(rowData, CLEAR_ON_MFG_ORDER_SELECT);
|
|
64436
|
+
} else {
|
|
64437
|
+
clearFields(rowData, CLEAR_ON_MFG_ORDER_EMPTY);
|
|
64438
|
+
}
|
|
64439
|
+
}
|
|
64440
|
+
function handleMaterialContainerNoChange(ctx) {
|
|
64441
|
+
const { rowData } = ctx;
|
|
64442
|
+
if (!isBlank(rowData[F.materialContainerNo])) {
|
|
64443
|
+
clearFields(rowData, CLEAR_ON_MATERIAL_CONTAINER_SELECT);
|
|
64444
|
+
} else {
|
|
64445
|
+
clearFields(rowData, CLEAR_ON_MATERIAL_CONTAINER_EMPTY);
|
|
64446
|
+
}
|
|
64447
|
+
}
|
|
64448
|
+
function handleProductChange(ctx) {
|
|
64449
|
+
if (!isBlank(ctx.rowData[F.product])) return;
|
|
64450
|
+
clearFields(ctx.rowData, CLEAR_ON_PRODUCT_EMPTY);
|
|
64451
|
+
}
|
|
64452
|
+
registerRowHandler(TABLE_TYPE$1, "on-production-container-change", ({ rowData }) => {
|
|
64453
|
+
handleProductionContainerChange({ rowData });
|
|
64454
|
+
});
|
|
64455
|
+
registerRowHandler(TABLE_TYPE$1, "on-mfg-order-change", ({ rowData }) => {
|
|
64456
|
+
handleMfgOrderChange({ rowData });
|
|
64457
|
+
});
|
|
64458
|
+
registerRowHandler(TABLE_TYPE$1, "on-material-container-no-change", ({ rowData }) => {
|
|
64459
|
+
handleMaterialContainerNoChange({ rowData });
|
|
64460
|
+
});
|
|
64461
|
+
registerRowHandler(TABLE_TYPE$1, "on-product-change", ({ rowData }) => {
|
|
64462
|
+
handleProductChange({ rowData });
|
|
64463
|
+
});
|
|
64464
|
+
const TABLE_TYPE = "check-table";
|
|
64465
|
+
const profile = {
|
|
64466
|
+
type: TABLE_TYPE,
|
|
64467
|
+
label: "检验表",
|
|
64468
|
+
labelKey: "sys.onlineForm.subTableType.CHECK",
|
|
64469
|
+
category: "business",
|
|
64470
|
+
ribbonAction: "check-table",
|
|
64471
|
+
ribbonGroup: "检验",
|
|
64472
|
+
icon: "check-table",
|
|
64473
|
+
enabled: true,
|
|
64474
|
+
seedCheckDataSourceOnCreate: true,
|
|
64475
|
+
assocColField: "optional",
|
|
64476
|
+
/** 检验行列分组引用填充默认开 */
|
|
64477
|
+
defaultWidgetProps: {
|
|
64478
|
+
autoFill: true
|
|
64479
|
+
},
|
|
64480
|
+
match: {
|
|
64481
|
+
fieldType: "master_slave",
|
|
64482
|
+
refModelType: "INSPECTION",
|
|
64483
|
+
tableType: SubTableType.CHECK
|
|
64484
|
+
},
|
|
64485
|
+
theme: {
|
|
64486
|
+
color: "#F7801F",
|
|
64487
|
+
background: "rgba(247,128,31,0.2)",
|
|
64488
|
+
labelBjColor: "rgba(247,128,31,0.8)"
|
|
64489
|
+
}
|
|
64490
|
+
};
|
|
64491
|
+
function isBusinessSubTableProfile(profile2) {
|
|
64492
|
+
return profile2.category === "business";
|
|
64493
|
+
}
|
|
64494
|
+
function isDataTableProfile(profile2) {
|
|
64495
|
+
return profile2.category === "data";
|
|
64496
|
+
}
|
|
64497
|
+
const FIXED_CREATE_TABLE_TYPES = /* @__PURE__ */ new Set([
|
|
64498
|
+
SubTableType.FIXED,
|
|
64499
|
+
SubTableType.CHECK
|
|
64500
|
+
]);
|
|
64501
|
+
function resolveCreateTargetByTableType(tableType) {
|
|
64502
|
+
if (tableType && FIXED_CREATE_TABLE_TYPES.has(tableType)) {
|
|
64503
|
+
return "fixedTables";
|
|
64504
|
+
}
|
|
64505
|
+
return "dynamicTables";
|
|
64506
|
+
}
|
|
64507
|
+
const ALL_TABLE_PROFILES = [
|
|
64508
|
+
profile$g,
|
|
64509
|
+
profile$f,
|
|
64510
|
+
profile$e,
|
|
64511
|
+
profile$a,
|
|
64512
|
+
profile$9,
|
|
64513
|
+
profile$7,
|
|
64514
|
+
profile$6,
|
|
64515
|
+
profile$c,
|
|
64516
|
+
profile$b,
|
|
64517
|
+
profile$d,
|
|
64518
|
+
// 兼容老文档,Ribbon 已隐藏
|
|
64519
|
+
profile$8,
|
|
64520
|
+
profile$5,
|
|
64521
|
+
profile$4,
|
|
64522
|
+
profile$3,
|
|
64523
|
+
profile$2,
|
|
64524
|
+
profile$1,
|
|
64525
|
+
profile
|
|
64526
|
+
];
|
|
64527
|
+
const profileByType = new Map(
|
|
64528
|
+
ALL_TABLE_PROFILES.map((profile2) => [profile2.type, profile2])
|
|
64529
|
+
);
|
|
64530
|
+
const profileByTableType = new Map(
|
|
64531
|
+
ALL_TABLE_PROFILES.map((profile2) => [profile2.match.tableType, profile2])
|
|
64532
|
+
);
|
|
64533
|
+
const allBusinessProfiles = ALL_TABLE_PROFILES.filter(isBusinessSubTableProfile);
|
|
64534
|
+
const allBusinessRefModelTypes = new Set(allBusinessProfiles.map((p2) => p2.match.refModelType));
|
|
64535
|
+
const exclusiveBusinessProfiles = allBusinessProfiles.filter(
|
|
64536
|
+
(p2) => resolveCreateTargetByTableType(p2.match.tableType) === "dynamicTables"
|
|
64537
|
+
);
|
|
64538
|
+
const exclusiveBusinessRefModelTypes = new Set(
|
|
64539
|
+
exclusiveBusinessProfiles.map((p2) => p2.match.refModelType)
|
|
64540
|
+
);
|
|
64541
|
+
const exclusiveBusinessSubTableTypes = new Set(
|
|
64542
|
+
exclusiveBusinessProfiles.map((p2) => p2.match.tableType)
|
|
64543
|
+
);
|
|
64544
|
+
const refModelTypeToSubTableType = new Map(
|
|
64545
|
+
exclusiveBusinessProfiles.map((p2) => [p2.match.refModelType, p2.match.tableType])
|
|
64546
|
+
);
|
|
64547
|
+
function getProfilesByCategory(category) {
|
|
64548
|
+
return ALL_TABLE_PROFILES.filter((profile2) => profile2.category === category);
|
|
64549
|
+
}
|
|
64550
|
+
function getProfile(type4) {
|
|
64551
|
+
return profileByType.get(type4);
|
|
64552
|
+
}
|
|
64553
|
+
function getProfileByTableType(tableType) {
|
|
64554
|
+
if (!tableType) return void 0;
|
|
64555
|
+
return profileByTableType.get(tableType);
|
|
64556
|
+
}
|
|
64557
|
+
function getAllTableProfiles() {
|
|
64558
|
+
return ALL_TABLE_PROFILES.slice();
|
|
64559
|
+
}
|
|
64560
|
+
function getAllDataProfiles() {
|
|
64561
|
+
return getProfilesByCategory("data");
|
|
64562
|
+
}
|
|
64563
|
+
function getAllBusinessRefModelTypes() {
|
|
64564
|
+
return allBusinessRefModelTypes;
|
|
64565
|
+
}
|
|
64566
|
+
function isDynamicCreateTarget(tableType) {
|
|
64567
|
+
return resolveCreateTargetByTableType(tableType) === "dynamicTables";
|
|
64568
|
+
}
|
|
64569
|
+
function isDynamicCellSubTable(table) {
|
|
64570
|
+
if (!table.type) return false;
|
|
64571
|
+
if (isDynamicCreateTarget(table.type)) return true;
|
|
64572
|
+
const profile2 = getProfileByTableType(table.type);
|
|
64573
|
+
return resolveCreateTargetByTableType(table.type) === "fixedTables" && table.indexedTd !== true && profile2?.type === "fixed-table";
|
|
64574
|
+
}
|
|
64575
|
+
function getExclusiveBusinessTypeTokens() {
|
|
64576
|
+
return /* @__PURE__ */ new Set([...exclusiveBusinessSubTableTypes, ...exclusiveBusinessRefModelTypes]);
|
|
64577
|
+
}
|
|
64578
|
+
function getSubTableTypeByRefModelType(refModelType) {
|
|
64579
|
+
if (!refModelType) return void 0;
|
|
64580
|
+
return refModelTypeToSubTableType.get(refModelType);
|
|
64581
|
+
}
|
|
64582
|
+
function getThemeColorByTableType(tableType) {
|
|
64583
|
+
return getProfileByTableType(tableType)?.theme?.color;
|
|
64584
|
+
}
|
|
64585
|
+
const SUB_TABLE_PANEL_TYPE_NAME = {
|
|
64586
|
+
[SubTableType.DEFAULT]: "DynamicTable",
|
|
64587
|
+
[SubTableType._2D]: "_2DTable",
|
|
64588
|
+
[SubTableType.FIXED]: "FixedTable",
|
|
64589
|
+
[SubTableType.CHECK]: "CheckTable",
|
|
64590
|
+
[SubTableType.WAREHOUSE_IN]: "WarehouseInTable",
|
|
64591
|
+
[SubTableType.WAREHOUSE_OUT]: "WarehouseOutTable",
|
|
64592
|
+
[SubTableType.WAREHOUSE_IN_OUT]: "WarehouseInOutTable",
|
|
64593
|
+
[SubTableType.WAREHOUSE_INBOUND]: "WarehouseInboundTable",
|
|
64594
|
+
[SubTableType.WAREHOUSE_OUTBOUND]: "WarehouseOutboundTable",
|
|
64595
|
+
[SubTableType.PART_STOCKTAKE]: "PartStocktakeTable",
|
|
64596
|
+
[SubTableType.DEVICE_PART_CONSUME]: "DevicePartConsumeTable",
|
|
64597
|
+
[SubTableType.MATERIAL_CONSUMPTION]: "MaterialConsumptionTable",
|
|
64598
|
+
[SubTableType.MATERIAL_BALANCE]: "MaterialBalanceTable",
|
|
64599
|
+
[SubTableType.STOCKTAKE]: "MaterialStocktakeTable",
|
|
64600
|
+
[SubTableType.ALLOCATE]: "MaterialAllocateTable",
|
|
64601
|
+
[SubTableType.STERILIZE_BATCH]: "SterilizeBatchTable",
|
|
64602
|
+
[SubTableType.PRETREATMENT_LIST]: "PretreatmentTable"
|
|
64603
|
+
};
|
|
64604
|
+
const ALL_SUB_TABLE_TYPES = Object.values(SubTableType);
|
|
64605
|
+
function collectPanelTypesByCreateTarget(createTarget, PanelTypeEnum) {
|
|
64606
|
+
const set2 = /* @__PURE__ */ new Set();
|
|
64607
|
+
for (const tableType of ALL_SUB_TABLE_TYPES) {
|
|
64608
|
+
if (resolveCreateTargetByTableType(tableType) !== createTarget) continue;
|
|
64609
|
+
const name2 = SUB_TABLE_PANEL_TYPE_NAME[tableType];
|
|
64610
|
+
if (name2 && name2 in PanelTypeEnum) {
|
|
64611
|
+
set2.add(PanelTypeEnum[name2]);
|
|
64612
|
+
}
|
|
64613
|
+
}
|
|
64614
|
+
return set2;
|
|
64615
|
+
}
|
|
64616
|
+
function getDynamicSubTablePanelTypes(PanelTypeEnum) {
|
|
64617
|
+
return collectPanelTypesByCreateTarget("dynamicTables", PanelTypeEnum);
|
|
64618
|
+
}
|
|
64619
|
+
function getFixedSubTablePanelTypes(PanelTypeEnum) {
|
|
64620
|
+
return collectPanelTypesByCreateTarget("fixedTables", PanelTypeEnum);
|
|
64621
|
+
}
|
|
64622
|
+
function isDynamicSubTablePanelType(panelType, PanelTypeEnum) {
|
|
64623
|
+
return getDynamicSubTablePanelTypes(PanelTypeEnum).has(panelType);
|
|
64624
|
+
}
|
|
64625
|
+
function isFixedSubTablePanelType(panelType, PanelTypeEnum) {
|
|
64626
|
+
return getFixedSubTablePanelTypes(PanelTypeEnum).has(panelType);
|
|
64627
|
+
}
|
|
64628
|
+
const NON_REPEATING_DYNAMIC_PANEL_NAMES = /* @__PURE__ */ new Set(["MaterialConsumptionTable"]);
|
|
64629
|
+
function isRepeatingSubTablePanelType(panelType, PanelTypeEnum) {
|
|
64630
|
+
if (!isDynamicSubTablePanelType(panelType, PanelTypeEnum)) return false;
|
|
64631
|
+
for (const name2 of NON_REPEATING_DYNAMIC_PANEL_NAMES) {
|
|
64632
|
+
if (name2 in PanelTypeEnum && PanelTypeEnum[name2] === panelType) return false;
|
|
64633
|
+
}
|
|
64634
|
+
return true;
|
|
64635
|
+
}
|
|
64636
|
+
const CONFIG_HEADER_KEY = {
|
|
64637
|
+
[SubTableType.DEFAULT]: "sys.onlineForm.dynamicTableConfiguration",
|
|
64638
|
+
[SubTableType._2D]: "sys.twoDimensionalTableConfig",
|
|
64639
|
+
[SubTableType.WAREHOUSE_IN]: "sys.warehouseInTableConfig",
|
|
64640
|
+
[SubTableType.WAREHOUSE_OUT]: "sys.warehouseOutTableConfig",
|
|
64641
|
+
[SubTableType.WAREHOUSE_IN_OUT]: "sys.warehouseInOutTableConfig",
|
|
64642
|
+
[SubTableType.WAREHOUSE_INBOUND]: "sys.warehouseInTableConfig",
|
|
64643
|
+
[SubTableType.WAREHOUSE_OUTBOUND]: "sys.warehouseOutTableConfig",
|
|
64644
|
+
[SubTableType.PART_STOCKTAKE]: "sys.edhr.mcTable.stocktakeConfig",
|
|
64645
|
+
[SubTableType.STOCKTAKE]: "sys.edhr.mcTable.stocktakeConfig",
|
|
64646
|
+
[SubTableType.ALLOCATE]: "sys.edhr.mcTable.allocateConfig",
|
|
64647
|
+
[SubTableType.STERILIZE_BATCH]: "sys.sterilizeBatchConfig",
|
|
64648
|
+
[SubTableType.PRETREATMENT_LIST]: "sys.pretreatmentTableConfig"
|
|
64649
|
+
};
|
|
64650
|
+
const NO_CONFIRM_BEFORE_DELETE = /* @__PURE__ */ new Set([SubTableType.MATERIAL_BALANCE]);
|
|
64651
|
+
const SHOW_BARCODE_RULES = /* @__PURE__ */ new Set([SubTableType.STOCKTAKE]);
|
|
64652
|
+
const SHOW_AUTO_LOAD_STOCK = /* @__PURE__ */ new Set([SubTableType.STOCKTAKE]);
|
|
64653
|
+
const BIZ_TABLE_CONFIG_SEED_TYPES = /* @__PURE__ */ new Set([
|
|
64654
|
+
SubTableType.STOCKTAKE,
|
|
64655
|
+
SubTableType.STERILIZE_BATCH,
|
|
64656
|
+
SubTableType.PRETREATMENT_LIST
|
|
64657
|
+
]);
|
|
64658
|
+
function resolveDesignPanelFeatures(tableType) {
|
|
64659
|
+
const type4 = tableType ?? SubTableType.DEFAULT;
|
|
64660
|
+
const configHeaderKey = CONFIG_HEADER_KEY[type4];
|
|
64661
|
+
const showConfirmBeforeDelete = !NO_CONFIRM_BEFORE_DELETE.has(type4);
|
|
64662
|
+
const showBarcodeParsingRules = SHOW_BARCODE_RULES.has(type4);
|
|
64663
|
+
const showAutoLoadStock = SHOW_AUTO_LOAD_STOCK.has(type4);
|
|
64664
|
+
const showQuickFill = type4 === SubTableType.DEFAULT;
|
|
64665
|
+
const showConfigSection = type4 !== SubTableType.MATERIAL_BALANCE && Boolean(configHeaderKey || showConfirmBeforeDelete || showQuickFill || showBarcodeParsingRules);
|
|
64666
|
+
return {
|
|
64667
|
+
showQuickFill,
|
|
64668
|
+
showConfirmBeforeDelete,
|
|
64669
|
+
showBarcodeParsingRules,
|
|
64670
|
+
showAutoLoadStock,
|
|
64671
|
+
showAutoMergeInCells: type4 !== SubTableType._2D,
|
|
64672
|
+
configHeaderKey,
|
|
64673
|
+
showConfigSection
|
|
64674
|
+
};
|
|
64675
|
+
}
|
|
62960
64676
|
const FormChangeRowCellType = {
|
|
62961
64677
|
ADD: "SUBTABLE_ROW_ADD",
|
|
62962
64678
|
DEL: "SUBTABLE_ROW_DEL"
|
|
@@ -64240,27 +65956,27 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
64240
65956
|
case "revo-grid":
|
|
64241
65957
|
return import(
|
|
64242
65958
|
/* webpackMode: "lazy" */
|
|
64243
|
-
"./revo-grid.entry-
|
|
65959
|
+
"./revo-grid.entry-DxhjfysT.js"
|
|
64244
65960
|
).then(processMod, consoleError);
|
|
64245
65961
|
case "revogr-filter-panel":
|
|
64246
65962
|
return import(
|
|
64247
65963
|
/* webpackMode: "lazy" */
|
|
64248
|
-
"./revogr-filter-panel.entry-
|
|
65964
|
+
"./revogr-filter-panel.entry-CkNGH07B.js"
|
|
64249
65965
|
).then(processMod, consoleError);
|
|
64250
65966
|
case "revogr-attribution_7":
|
|
64251
65967
|
return import(
|
|
64252
65968
|
/* webpackMode: "lazy" */
|
|
64253
|
-
"./revogr-attribution_7.entry-
|
|
65969
|
+
"./revogr-attribution_7.entry-ChJzXX9c.js"
|
|
64254
65970
|
).then(processMod, consoleError);
|
|
64255
65971
|
case "revogr-clipboard_3":
|
|
64256
65972
|
return import(
|
|
64257
65973
|
/* webpackMode: "lazy" */
|
|
64258
|
-
"./revogr-clipboard_3.entry-
|
|
65974
|
+
"./revogr-clipboard_3.entry-CTfO-vHs.js"
|
|
64259
65975
|
).then(processMod, consoleError);
|
|
64260
65976
|
case "revogr-data_4":
|
|
64261
65977
|
return import(
|
|
64262
65978
|
/* webpackMode: "lazy" */
|
|
64263
|
-
"./revogr-data_4.entry-
|
|
65979
|
+
"./revogr-data_4.entry-DpsZq5Vu.js"
|
|
64264
65980
|
).then(processMod, consoleError);
|
|
64265
65981
|
}
|
|
64266
65982
|
}
|
|
@@ -74314,13 +76030,13 @@ const QUICK_FILL_ALLOWED_FIELDS = /* @__PURE__ */ new Set([
|
|
|
74314
76030
|
FIELD_TYPE.OPTION,
|
|
74315
76031
|
FIELD_TYPE.OPTION_MULTI,
|
|
74316
76032
|
FIELD_TYPE.MATERIAL_NO,
|
|
74317
|
-
FIELD_TYPE.
|
|
74318
|
-
FIELD_TYPE.
|
|
76033
|
+
FIELD_TYPE.STERILIZATION_CONTAINER,
|
|
76034
|
+
FIELD_TYPE.MATERIAL_CONTAINER,
|
|
74319
76035
|
FIELD_TYPE.RELATED_LOT_NO,
|
|
74320
76036
|
FIELD_TYPE.SCRAP_MATERIAL_NO
|
|
74321
76037
|
]);
|
|
74322
76038
|
function processQuickFillRows(rows = [], columns = []) {
|
|
74323
|
-
const
|
|
76039
|
+
const isBlank2 = (v) => v === null || v === void 0 || typeof v === "string" && v.trim() === "" || Array.isArray(v) && v.length === 0;
|
|
74324
76040
|
const roundToScale = (num, scale) => {
|
|
74325
76041
|
if (scale == null) return num;
|
|
74326
76042
|
const factor = Math.pow(10, scale);
|
|
@@ -74390,32 +76106,32 @@ function processQuickFillRows(rows = [], columns = []) {
|
|
|
74390
76106
|
case FIELD_TYPE.LONG:
|
|
74391
76107
|
{
|
|
74392
76108
|
const n = parseNumber(val, { integer: true });
|
|
74393
|
-
newRow[f2.prop] =
|
|
76109
|
+
newRow[f2.prop] = isBlank2(n) ? void 0 : n;
|
|
74394
76110
|
}
|
|
74395
76111
|
break;
|
|
74396
76112
|
case FIELD_TYPE.DOUBLE:
|
|
74397
76113
|
case FIELD_TYPE.DECIMAL:
|
|
74398
76114
|
{
|
|
74399
76115
|
const n = parseNumber(val, { integer: false, scale: null });
|
|
74400
|
-
newRow[f2.prop] =
|
|
76116
|
+
newRow[f2.prop] = isBlank2(n) ? void 0 : n;
|
|
74401
76117
|
}
|
|
74402
76118
|
break;
|
|
74403
76119
|
case FIELD_TYPE.DATE:
|
|
74404
76120
|
{
|
|
74405
76121
|
const d = parseToDate(val);
|
|
74406
|
-
newRow[f2.prop] = d ? formatDate(d) :
|
|
76122
|
+
newRow[f2.prop] = d ? formatDate(d) : isBlank2(val) ? void 0 : val;
|
|
74407
76123
|
}
|
|
74408
76124
|
break;
|
|
74409
76125
|
case FIELD_TYPE.TIME:
|
|
74410
76126
|
{
|
|
74411
76127
|
const d = parseToDate(val);
|
|
74412
|
-
newRow[f2.prop] = d ? formatTime(d) :
|
|
76128
|
+
newRow[f2.prop] = d ? formatTime(d) : isBlank2(val) ? void 0 : val;
|
|
74413
76129
|
}
|
|
74414
76130
|
break;
|
|
74415
76131
|
case FIELD_TYPE.DATE_TIME:
|
|
74416
76132
|
{
|
|
74417
76133
|
const d = parseToDate(val);
|
|
74418
|
-
newRow[f2.prop] = d ? formatDateTime(d) :
|
|
76134
|
+
newRow[f2.prop] = d ? formatDateTime(d) : isBlank2(val) ? void 0 : val;
|
|
74419
76135
|
}
|
|
74420
76136
|
break;
|
|
74421
76137
|
case FIELD_TYPE.OPTION_MULTI:
|
|
@@ -74426,14 +76142,14 @@ function processQuickFillRows(rows = [], columns = []) {
|
|
|
74426
76142
|
const arr = tokens.map((t) => lookup.get(t)).filter((v) => v !== void 0);
|
|
74427
76143
|
newRow[f2.prop] = arr.length ? arr.join(",") : void 0;
|
|
74428
76144
|
} else {
|
|
74429
|
-
newRow[f2.prop] =
|
|
76145
|
+
newRow[f2.prop] = isBlank2(val) ? void 0 : val;
|
|
74430
76146
|
}
|
|
74431
76147
|
}
|
|
74432
76148
|
break;
|
|
74433
76149
|
case FIELD_TYPE.OPTION:
|
|
74434
76150
|
{
|
|
74435
76151
|
const lookup = buildOptionLookup(f2.newOptions);
|
|
74436
|
-
if (
|
|
76152
|
+
if (isBlank2(val)) {
|
|
74437
76153
|
newRow[f2.prop] = void 0;
|
|
74438
76154
|
} else {
|
|
74439
76155
|
const tokens = val.split(/[;,]/).map((s) => s.trim()).filter((s) => s !== "");
|
|
@@ -74443,7 +76159,7 @@ function processQuickFillRows(rows = [], columns = []) {
|
|
|
74443
76159
|
}
|
|
74444
76160
|
break;
|
|
74445
76161
|
default:
|
|
74446
|
-
newRow[f2.prop] =
|
|
76162
|
+
newRow[f2.prop] = isBlank2(val) ? void 0 : val;
|
|
74447
76163
|
}
|
|
74448
76164
|
}
|
|
74449
76165
|
return newRow;
|
|
@@ -74451,7 +76167,7 @@ function processQuickFillRows(rows = [], columns = []) {
|
|
|
74451
76167
|
return columns.some((f2) => {
|
|
74452
76168
|
const v = row[f2.prop];
|
|
74453
76169
|
if (v === 0 || v === false) return true;
|
|
74454
|
-
return !
|
|
76170
|
+
return !isBlank2(v);
|
|
74455
76171
|
});
|
|
74456
76172
|
});
|
|
74457
76173
|
return out;
|
|
@@ -74496,295 +76212,334 @@ function groupFixedTableRows(rows, options) {
|
|
|
74496
76212
|
return result;
|
|
74497
76213
|
}
|
|
74498
76214
|
export {
|
|
74499
|
-
|
|
74500
|
-
|
|
76215
|
+
FieldIconMap as $,
|
|
76216
|
+
commonjsGlobal as A,
|
|
74501
76217
|
BwipCodeType as B,
|
|
74502
76218
|
CreateType as C,
|
|
74503
|
-
|
|
74504
|
-
|
|
76219
|
+
getDefaultExportFromCjs as D,
|
|
76220
|
+
uuid2 as E,
|
|
74505
76221
|
FIELD_TYPE as F,
|
|
74506
|
-
|
|
74507
|
-
|
|
74508
|
-
|
|
74509
|
-
|
|
74510
|
-
|
|
76222
|
+
PaperWidgeValueType as G,
|
|
76223
|
+
useCalculateFormula as H,
|
|
76224
|
+
onlineFormMasterModelTypeEnum as I,
|
|
76225
|
+
FIELD_TYPE_WAREHOUSE as J,
|
|
76226
|
+
FieldDefaultValueTypeEnum as K,
|
|
74511
76227
|
LineType as L,
|
|
74512
|
-
|
|
74513
|
-
|
|
76228
|
+
FormTypeEnum as M,
|
|
76229
|
+
mitt as N,
|
|
74514
76230
|
Orientation as O,
|
|
74515
76231
|
PaginationFormat as P,
|
|
74516
|
-
|
|
74517
|
-
|
|
74518
|
-
|
|
74519
|
-
|
|
76232
|
+
LabelPosition as Q,
|
|
76233
|
+
BooleanShowMode as R,
|
|
76234
|
+
SUB_TABLE_PANEL_TYPE_NAME as S,
|
|
76235
|
+
SignatureNumberTypeEnum as T,
|
|
74520
76236
|
UniqueConstraintType as U,
|
|
74521
|
-
|
|
74522
|
-
|
|
74523
|
-
|
|
74524
|
-
|
|
74525
|
-
|
|
76237
|
+
SignatureTimeTypeEnum as V,
|
|
76238
|
+
SignShowTypeEnum as W,
|
|
76239
|
+
SignatureTypeEnum as X,
|
|
76240
|
+
PlatformEnum as Y,
|
|
76241
|
+
buildUUID as Z,
|
|
74526
76242
|
_export_sfc as _,
|
|
74527
|
-
|
|
74528
|
-
|
|
74529
|
-
|
|
74530
|
-
|
|
74531
|
-
|
|
74532
|
-
|
|
74533
|
-
|
|
74534
|
-
|
|
74535
|
-
|
|
74536
|
-
|
|
74537
|
-
|
|
74538
|
-
|
|
74539
|
-
|
|
74540
|
-
|
|
74541
|
-
|
|
74542
|
-
|
|
74543
|
-
|
|
74544
|
-
|
|
74545
|
-
|
|
74546
|
-
|
|
74547
|
-
|
|
74548
|
-
|
|
74549
|
-
|
|
74550
|
-
|
|
74551
|
-
|
|
74552
|
-
|
|
74553
|
-
|
|
74554
|
-
|
|
74555
|
-
|
|
74556
|
-
|
|
74557
|
-
|
|
74558
|
-
|
|
74559
|
-
|
|
74560
|
-
|
|
74561
|
-
|
|
74562
|
-
|
|
74563
|
-
|
|
74564
|
-
|
|
74565
|
-
|
|
74566
|
-
|
|
74567
|
-
|
|
74568
|
-
|
|
74569
|
-
|
|
74570
|
-
|
|
74571
|
-
|
|
74572
|
-
|
|
74573
|
-
|
|
74574
|
-
|
|
74575
|
-
|
|
74576
|
-
|
|
74577
|
-
|
|
74578
|
-
|
|
74579
|
-
|
|
74580
|
-
|
|
74581
|
-
|
|
74582
|
-
|
|
74583
|
-
|
|
74584
|
-
|
|
74585
|
-
|
|
74586
|
-
|
|
74587
|
-
|
|
74588
|
-
|
|
74589
|
-
|
|
74590
|
-
|
|
74591
|
-
|
|
74592
|
-
|
|
74593
|
-
|
|
74594
|
-
|
|
74595
|
-
|
|
74596
|
-
|
|
74597
|
-
|
|
74598
|
-
|
|
74599
|
-
|
|
74600
|
-
|
|
74601
|
-
|
|
74602
|
-
|
|
74603
|
-
|
|
74604
|
-
|
|
74605
|
-
|
|
74606
|
-
|
|
74607
|
-
|
|
74608
|
-
|
|
74609
|
-
|
|
74610
|
-
|
|
74611
|
-
|
|
74612
|
-
|
|
74613
|
-
|
|
74614
|
-
|
|
74615
|
-
|
|
74616
|
-
|
|
74617
|
-
|
|
74618
|
-
|
|
74619
|
-
|
|
74620
|
-
|
|
74621
|
-
|
|
74622
|
-
|
|
74623
|
-
|
|
74624
|
-
|
|
74625
|
-
|
|
74626
|
-
|
|
74627
|
-
|
|
74628
|
-
|
|
74629
|
-
|
|
74630
|
-
|
|
74631
|
-
|
|
74632
|
-
|
|
74633
|
-
|
|
74634
|
-
|
|
74635
|
-
|
|
74636
|
-
|
|
74637
|
-
|
|
74638
|
-
|
|
74639
|
-
|
|
74640
|
-
|
|
74641
|
-
|
|
74642
|
-
|
|
74643
|
-
|
|
74644
|
-
|
|
74645
|
-
|
|
74646
|
-
|
|
74647
|
-
|
|
74648
|
-
|
|
74649
|
-
|
|
74650
|
-
|
|
74651
|
-
|
|
74652
|
-
|
|
74653
|
-
|
|
74654
|
-
|
|
74655
|
-
|
|
74656
|
-
|
|
74657
|
-
|
|
74658
|
-
|
|
74659
|
-
|
|
74660
|
-
|
|
74661
|
-
|
|
74662
|
-
|
|
74663
|
-
|
|
74664
|
-
|
|
74665
|
-
|
|
74666
|
-
|
|
74667
|
-
|
|
74668
|
-
|
|
74669
|
-
|
|
74670
|
-
|
|
74671
|
-
|
|
74672
|
-
|
|
74673
|
-
|
|
74674
|
-
|
|
74675
|
-
|
|
74676
|
-
|
|
74677
|
-
|
|
74678
|
-
|
|
74679
|
-
|
|
74680
|
-
|
|
74681
|
-
|
|
74682
|
-
|
|
74683
|
-
|
|
74684
|
-
|
|
74685
|
-
|
|
74686
|
-
|
|
74687
|
-
|
|
74688
|
-
|
|
74689
|
-
|
|
74690
|
-
|
|
74691
|
-
|
|
74692
|
-
|
|
74693
|
-
|
|
74694
|
-
|
|
74695
|
-
|
|
74696
|
-
|
|
74697
|
-
|
|
74698
|
-
|
|
74699
|
-
|
|
74700
|
-
|
|
74701
|
-
|
|
74702
|
-
|
|
74703
|
-
|
|
74704
|
-
|
|
74705
|
-
|
|
74706
|
-
|
|
74707
|
-
|
|
74708
|
-
|
|
74709
|
-
|
|
74710
|
-
|
|
74711
|
-
|
|
74712
|
-
|
|
74713
|
-
|
|
74714
|
-
|
|
74715
|
-
|
|
74716
|
-
|
|
74717
|
-
|
|
74718
|
-
|
|
74719
|
-
|
|
74720
|
-
|
|
74721
|
-
|
|
74722
|
-
|
|
74723
|
-
|
|
74724
|
-
|
|
74725
|
-
|
|
74726
|
-
|
|
74727
|
-
|
|
74728
|
-
|
|
74729
|
-
|
|
74730
|
-
|
|
74731
|
-
|
|
74732
|
-
|
|
74733
|
-
|
|
74734
|
-
|
|
74735
|
-
|
|
74736
|
-
|
|
74737
|
-
|
|
74738
|
-
|
|
74739
|
-
|
|
74740
|
-
|
|
74741
|
-
|
|
74742
|
-
|
|
74743
|
-
|
|
74744
|
-
|
|
74745
|
-
|
|
74746
|
-
|
|
74747
|
-
|
|
74748
|
-
|
|
74749
|
-
|
|
74750
|
-
|
|
74751
|
-
|
|
74752
|
-
|
|
74753
|
-
|
|
74754
|
-
|
|
74755
|
-
|
|
74756
|
-
|
|
74757
|
-
|
|
74758
|
-
|
|
74759
|
-
|
|
74760
|
-
|
|
74761
|
-
|
|
74762
|
-
|
|
74763
|
-
|
|
74764
|
-
|
|
74765
|
-
|
|
74766
|
-
|
|
74767
|
-
|
|
74768
|
-
|
|
74769
|
-
|
|
74770
|
-
|
|
74771
|
-
|
|
74772
|
-
|
|
74773
|
-
|
|
74774
|
-
|
|
74775
|
-
|
|
74776
|
-
|
|
74777
|
-
|
|
74778
|
-
|
|
76243
|
+
getProfile as a,
|
|
76244
|
+
F$4 as a$,
|
|
76245
|
+
CellWidgetViewState as a0,
|
|
76246
|
+
DiagonalDirection as a1,
|
|
76247
|
+
WidgetImageSizeMode as a2,
|
|
76248
|
+
LineDirection as a3,
|
|
76249
|
+
TimeDiffFormat as a4,
|
|
76250
|
+
DiagonalVertex as a5,
|
|
76251
|
+
resolveDiagonalVertex as a6,
|
|
76252
|
+
getThemeColorByTableType as a7,
|
|
76253
|
+
ViewTypeEnum as a8,
|
|
76254
|
+
useThrottleFn as a9,
|
|
76255
|
+
DateFormat as aA,
|
|
76256
|
+
renderUtils as aB,
|
|
76257
|
+
BindCmpStyleEnum as aC,
|
|
76258
|
+
DecimalDisplayMode as aD,
|
|
76259
|
+
NCB_PROVIDE as aE,
|
|
76260
|
+
normalizeRefLoaderResult as aF,
|
|
76261
|
+
refUtils as aG,
|
|
76262
|
+
getParseRuleInfo as aH,
|
|
76263
|
+
getParseRuleValue as aI,
|
|
76264
|
+
useCurrentPageFormState as aJ,
|
|
76265
|
+
getLotLockedReason as aK,
|
|
76266
|
+
RangeValidateMode as aL,
|
|
76267
|
+
RenderModeEnum as aM,
|
|
76268
|
+
useDependency as aN,
|
|
76269
|
+
EFieldBizTypeEnum as aO,
|
|
76270
|
+
FormulaRuleFieldKeyEnum as aP,
|
|
76271
|
+
formulaRuleFieldDict as aQ,
|
|
76272
|
+
resolveDesignPanelFeatures as aR,
|
|
76273
|
+
BIZ_TABLE_CONFIG_SEED_TYPES as aS,
|
|
76274
|
+
getAllTableProfiles as aT,
|
|
76275
|
+
isRepeatingSubTablePanelType as aU,
|
|
76276
|
+
useNocodeEmitter as aV,
|
|
76277
|
+
fetchHistoryConsume as aW,
|
|
76278
|
+
isBomGranted as aX,
|
|
76279
|
+
runRowHandler as aY,
|
|
76280
|
+
F$7 as aZ,
|
|
76281
|
+
FILL_FROM_INVENTORY_OPTION$2 as a_,
|
|
76282
|
+
noop as aa,
|
|
76283
|
+
isIOS as ab,
|
|
76284
|
+
isDynamicSubTablePanelType as ac,
|
|
76285
|
+
isFixedSubTablePanelType as ad,
|
|
76286
|
+
EmptySymbol as ae,
|
|
76287
|
+
ASSIGNMENTSTRATEGY_ENUM as af,
|
|
76288
|
+
Dependency_ENUM as ag,
|
|
76289
|
+
ExpressionModeEnum as ah,
|
|
76290
|
+
ExpressionTabEnum as ai,
|
|
76291
|
+
ReturnTypeEnum as aj,
|
|
76292
|
+
ImageDisplayModeEnum as ak,
|
|
76293
|
+
PaperSizeMap as al,
|
|
76294
|
+
EntityModelCategoryEnum as am,
|
|
76295
|
+
CheckDsTypeEnum as an,
|
|
76296
|
+
DeviceLink as ao,
|
|
76297
|
+
DeviceParamsTypeTitle as ap,
|
|
76298
|
+
AITooltips as aq,
|
|
76299
|
+
DenoiseMethodOptions as ar,
|
|
76300
|
+
BinarizeMethodOptions as as,
|
|
76301
|
+
ParamModelTypeEnum as at,
|
|
76302
|
+
JoinModelTypeEum as au,
|
|
76303
|
+
sqlUtils as av,
|
|
76304
|
+
useWidgetStaticAttrs as aw,
|
|
76305
|
+
setSelectValidatorId as ax,
|
|
76306
|
+
setSelectAnnotationId as ay,
|
|
76307
|
+
useNocodeFormWidget as az,
|
|
76308
|
+
isBusinessSubTableProfile as b,
|
|
76309
|
+
getParseRuleConfig as b$,
|
|
76310
|
+
INVENTORY_BASE_FIELDS as b0,
|
|
76311
|
+
WAREHOUSE_IDENTITY_GROUP_KEYS as b1,
|
|
76312
|
+
SCAN_MERGE_GROUP_KEYS as b2,
|
|
76313
|
+
AUTO_LOAD_READONLY_SELECT_FIELDS as b3,
|
|
76314
|
+
FILL_FROM_INVENTORY_OPTION$1 as b4,
|
|
76315
|
+
F$1 as b5,
|
|
76316
|
+
FILL_FROM_INVENTORY_OPTION as b6,
|
|
76317
|
+
calcFillData as b7,
|
|
76318
|
+
extractKeywordFromQueryData as b8,
|
|
76319
|
+
F as b9,
|
|
76320
|
+
nextFormChangeRowViewHistoryId as bA,
|
|
76321
|
+
BpmnSignatureTypeEnum as bB,
|
|
76322
|
+
ButtonTypeEnum as bC,
|
|
76323
|
+
CHECK_TABLE_MEDPRO_PROTOCOL_KEY as bD,
|
|
76324
|
+
CodeRunner as bE,
|
|
76325
|
+
Config_Fields as bF,
|
|
76326
|
+
ControlStatusEnum as bG,
|
|
76327
|
+
EBR_PROVIDE_ENUM as bH,
|
|
76328
|
+
FieldSysVarDefaultValueEnum as bI,
|
|
76329
|
+
MobileFillTypeEnum as bJ,
|
|
76330
|
+
OfficeTypeEnum as bK,
|
|
76331
|
+
PosEnum as bL,
|
|
76332
|
+
RangeCompareOp as bM,
|
|
76333
|
+
SummaryApproveHisTypeEnum as bN,
|
|
76334
|
+
applyCheckDsDataToRuntime as bO,
|
|
76335
|
+
applyMedProCheckDsDataToRuntime as bP,
|
|
76336
|
+
buildFormChangeDisplayRows as bQ,
|
|
76337
|
+
buildStableFieldLocation as bR,
|
|
76338
|
+
deleteSubtableRow as bS,
|
|
76339
|
+
detailsHaveFormChangeRowOps as bT,
|
|
76340
|
+
extractFormChangeRowDetails as bU,
|
|
76341
|
+
fetchCheckDsDataForTable as bV,
|
|
76342
|
+
fetchCustomCheckDsData as bW,
|
|
76343
|
+
fetchMedProCheckDsData as bX,
|
|
76344
|
+
getCheckTableSnapshotKey as bY,
|
|
76345
|
+
getFormChangeRowKey as bZ,
|
|
76346
|
+
getFormChangeRowOp as b_,
|
|
76347
|
+
isProductManuallyEditable as ba,
|
|
76348
|
+
applyFillFromMfgOrderOption as bb,
|
|
76349
|
+
applyFillFromOption as bc,
|
|
76350
|
+
applyFillFromProductOption as bd,
|
|
76351
|
+
CLEAR_ON_MATERIAL_CONTAINER_SELECT as be,
|
|
76352
|
+
transformUtils as bf,
|
|
76353
|
+
settleAndValidateDisplay as bg,
|
|
76354
|
+
unregisterValidationContext as bh,
|
|
76355
|
+
clearFormRules as bi,
|
|
76356
|
+
registerValidationContext as bj,
|
|
76357
|
+
requestFullValidation as bk,
|
|
76358
|
+
requestDisplayValidation as bl,
|
|
76359
|
+
closeValidatorPopovers as bm,
|
|
76360
|
+
baseDataUtils as bn,
|
|
76361
|
+
getRawFormRuleMeta as bo,
|
|
76362
|
+
enrichFormChangeRowDetails as bp,
|
|
76363
|
+
settleAfterModeSwitch as bq,
|
|
76364
|
+
calcUtils as br,
|
|
76365
|
+
uuid2$1 as bs,
|
|
76366
|
+
normalizeToArray as bt,
|
|
76367
|
+
safeParseArray as bu,
|
|
76368
|
+
BpmnNodeTypeEnum as bv,
|
|
76369
|
+
mergeByMultiKey as bw,
|
|
76370
|
+
commonUtils as bx,
|
|
76371
|
+
getRowId as by,
|
|
76372
|
+
collectFormChangeFieldLocations as bz,
|
|
76373
|
+
getProfileByTableType as c,
|
|
76374
|
+
getColumnByProp as c$,
|
|
76375
|
+
getSubTableQuickFillInfo as c0,
|
|
76376
|
+
handleOldConfig as c1,
|
|
76377
|
+
hasAnyCheckTableSnapshot as c2,
|
|
76378
|
+
hasByTableCheckTableSnapshot as c3,
|
|
76379
|
+
hasSharedCheckTableSnapshot as c4,
|
|
76380
|
+
insertSubtableRows as c5,
|
|
76381
|
+
isAnnLocationSelected as c6,
|
|
76382
|
+
isFormChangeGhostRow as c7,
|
|
76383
|
+
isMedProSuite as c8,
|
|
76384
|
+
isRowAddedInCurrentFormChange as c9,
|
|
76385
|
+
QUICK_FILL_ALLOWED_FIELDS as cA,
|
|
76386
|
+
processQuickFillRows as cB,
|
|
76387
|
+
getIsGroupEmpty as cC,
|
|
76388
|
+
tryOnScopeDispose as cD,
|
|
76389
|
+
isClient as cE,
|
|
76390
|
+
tryOnMounted as cF,
|
|
76391
|
+
resolveUnref as cG,
|
|
76392
|
+
isString as cH,
|
|
76393
|
+
identity$1 as cI,
|
|
76394
|
+
getAugmentedNamespace as cJ,
|
|
76395
|
+
watchDebounced as cK,
|
|
76396
|
+
CardControlEnum as cL,
|
|
76397
|
+
EntityModelTypeEnum as cM,
|
|
76398
|
+
FIELD_TYPE_BASIC as cN,
|
|
76399
|
+
FIELD_TYPE_INSPECTION as cO,
|
|
76400
|
+
FIELD_TYPE_LOGIC as cP,
|
|
76401
|
+
FIELD_TYPE_MATERIAL as cQ,
|
|
76402
|
+
FIELD_TYPE_PRETREATMENT as cR,
|
|
76403
|
+
FIELD_TYPE_PRODUCE as cS,
|
|
76404
|
+
FIELD_TYPE_STERILIZATION as cT,
|
|
76405
|
+
FormDesignEnum as cU,
|
|
76406
|
+
RecordNoGenerateEnum as cV,
|
|
76407
|
+
TagTypeEnum as cW,
|
|
76408
|
+
getSubTableTypeByRefModelType as cX,
|
|
76409
|
+
getExclusiveBusinessTypeTokens as cY,
|
|
76410
|
+
registerInstance as cZ,
|
|
76411
|
+
createEvent as c_,
|
|
76412
|
+
jsonSchemaUtils as ca,
|
|
76413
|
+
judgeUnique as cb,
|
|
76414
|
+
materialCheck as cc,
|
|
76415
|
+
migrateDiagonalDirectionToVertex as cd,
|
|
76416
|
+
parseFrontConfig as ce,
|
|
76417
|
+
recordSubtableRowAdd as cf,
|
|
76418
|
+
recordSubtableRowDelete as cg,
|
|
76419
|
+
relocateDeletedRowsToEnd as ch,
|
|
76420
|
+
requestMedProCheckDsData as ci,
|
|
76421
|
+
requestNonMedProCheckDsData as cj,
|
|
76422
|
+
resolveAnnotationFieldLocation as ck,
|
|
76423
|
+
resolveFormChangeRowUi as cl,
|
|
76424
|
+
resolveRowFormChangeMark as cm,
|
|
76425
|
+
setSelectMobileTdId as cn,
|
|
76426
|
+
stockCheck as co,
|
|
76427
|
+
useOnlineFormActionButton as cp,
|
|
76428
|
+
assembleRules as cq,
|
|
76429
|
+
deleteFormRule as cr,
|
|
76430
|
+
setFormRule as cs,
|
|
76431
|
+
isReferenceOptionActive as ct,
|
|
76432
|
+
validateAllFields as cu,
|
|
76433
|
+
runValidation as cv,
|
|
76434
|
+
ensureFrontRowKey as cw,
|
|
76435
|
+
FRONT_ROW_KEY as cx,
|
|
76436
|
+
q as cy,
|
|
76437
|
+
groupFixedTableRows as cz,
|
|
76438
|
+
SubTableType as d,
|
|
76439
|
+
GROUP_EXPAND_BTN as d$,
|
|
76440
|
+
timeout as d0,
|
|
76441
|
+
getVisibleSourceItem as d1,
|
|
76442
|
+
getColumns as d2,
|
|
76443
|
+
rowTypes as d3,
|
|
76444
|
+
GroupingRowPlugin as d4,
|
|
76445
|
+
StretchColumn as d5,
|
|
76446
|
+
isStretchPlugin as d6,
|
|
76447
|
+
AutoSizeColumnPlugin as d7,
|
|
76448
|
+
FilterPlugin as d8,
|
|
76449
|
+
ExportFilePlugin as d9,
|
|
76450
|
+
ViewportStore as dA,
|
|
76451
|
+
AndOrButton as dB,
|
|
76452
|
+
ReorderButton as dC,
|
|
76453
|
+
TrashButton as dD,
|
|
76454
|
+
isFilterBtn as dE,
|
|
76455
|
+
ColumnService as dF,
|
|
76456
|
+
MOBILE_CLASS as dG,
|
|
76457
|
+
SELECTION_BORDER_CLASS as dH,
|
|
76458
|
+
getCellData as dI,
|
|
76459
|
+
getCellEditor as dJ,
|
|
76460
|
+
getRange as dK,
|
|
76461
|
+
isRangeSingleCell as dL,
|
|
76462
|
+
codesLetter as dM,
|
|
76463
|
+
calculateRowHeaderSize as dN,
|
|
76464
|
+
ROW_HEADER_TYPE as dO,
|
|
76465
|
+
getScrollbarSize as dP,
|
|
76466
|
+
FOCUS_CLASS as dQ,
|
|
76467
|
+
CELL_HANDLER_CLASS as dR,
|
|
76468
|
+
TMP_SELECTION_BG_CLASS as dS,
|
|
76469
|
+
getItemByPosition as dT,
|
|
76470
|
+
EDIT_INPUT_WR as dU,
|
|
76471
|
+
keyValues as dV,
|
|
76472
|
+
isObject as dW,
|
|
76473
|
+
DRAGG_TEXT as dX,
|
|
76474
|
+
PSEUDO_GROUP_ITEM as dY,
|
|
76475
|
+
GROUP_EXPANDED as dZ,
|
|
76476
|
+
GROUP_DEPTH as d_,
|
|
76477
|
+
SortingPlugin as da,
|
|
76478
|
+
ColumnMovePlugin as db,
|
|
76479
|
+
ThemeService as dc,
|
|
76480
|
+
h as dd,
|
|
76481
|
+
Host as de,
|
|
76482
|
+
getElement as df,
|
|
76483
|
+
BasePlugin as dg,
|
|
76484
|
+
reduce as dh,
|
|
76485
|
+
columnTypes as di,
|
|
76486
|
+
debounce$1 as dj,
|
|
76487
|
+
RESIZE_INTERVAL as dk,
|
|
76488
|
+
DimensionStore as dl,
|
|
76489
|
+
gatherTrimmedItems as dm,
|
|
76490
|
+
getColumnSizes as dn,
|
|
76491
|
+
getItemByIndex as dp,
|
|
76492
|
+
DataStore as dq,
|
|
76493
|
+
getSourceItem as dr,
|
|
76494
|
+
getSourceItemVirtualIndexByProp as ds,
|
|
76495
|
+
getColumnType as dt,
|
|
76496
|
+
setSourceByPhysicalIndex as du,
|
|
76497
|
+
setSourceByVirtualIndex as dv,
|
|
76498
|
+
SelectionStore as dw,
|
|
76499
|
+
cropCellToMax as dx,
|
|
76500
|
+
nextCell as dy,
|
|
76501
|
+
isRowType as dz,
|
|
76502
|
+
expandAutofillTemplates as e,
|
|
76503
|
+
DATA_ROW as e0,
|
|
76504
|
+
isGroupingColumn as e1,
|
|
76505
|
+
GROUP_COLUMN_PROP as e2,
|
|
76506
|
+
getCellRaw as e3,
|
|
76507
|
+
DATA_COL as e4,
|
|
76508
|
+
CELL_CLASS as e5,
|
|
76509
|
+
Build as e6,
|
|
76510
|
+
isRowDragService as e7,
|
|
76511
|
+
DRAG_ICON_CLASS as e8,
|
|
76512
|
+
DRAGGABLE_CLASS as e9,
|
|
76513
|
+
getCellDataParsed as ea,
|
|
76514
|
+
GROUP_EXPAND_EVENT as eb,
|
|
76515
|
+
isGrouping as ec,
|
|
76516
|
+
HEADER_ROW_CLASS as ed,
|
|
76517
|
+
HEADER_ACTUAL_ROW_CLASS as ee,
|
|
76518
|
+
ROW_FOCUSED_CLASS as ef,
|
|
76519
|
+
HEADER_SORTABLE_CLASS as eg,
|
|
76520
|
+
MIN_COL_SIZE as eh,
|
|
76521
|
+
FilterButton as ei,
|
|
76522
|
+
HeaderCellRenderer as ej,
|
|
76523
|
+
HEADER_CLASS as ek,
|
|
76524
|
+
getAllBusinessRefModelTypes as f,
|
|
76525
|
+
getAllDataProfiles as g,
|
|
76526
|
+
PaperWidgeType as h,
|
|
76527
|
+
isDataTableProfile as i,
|
|
76528
|
+
PageSizeEnum as j,
|
|
76529
|
+
FIELD_TYPE_TRACE as k,
|
|
76530
|
+
FIELD_TYPE_BUSINESS as l,
|
|
76531
|
+
ComponentTypeEnum as m,
|
|
76532
|
+
estraverse as n,
|
|
76533
|
+
Syntax as o,
|
|
74779
76534
|
parse as p,
|
|
74780
|
-
|
|
74781
|
-
|
|
76535
|
+
isDynamicCreateTarget as q,
|
|
76536
|
+
resolveCreateTargetByTableType as r,
|
|
74782
76537
|
src as s,
|
|
74783
|
-
|
|
76538
|
+
CellType as t,
|
|
74784
76539
|
useOnlineFormTransformField2Component as u,
|
|
74785
|
-
|
|
74786
|
-
|
|
74787
|
-
|
|
74788
|
-
|
|
74789
|
-
|
|
76540
|
+
isDynamicCellSubTable as v,
|
|
76541
|
+
api as w,
|
|
76542
|
+
FieldTypeToJs as x,
|
|
76543
|
+
useModal as y,
|
|
76544
|
+
requireEstraverse as z
|
|
74790
76545
|
};
|