@byteluck-fe/runtime-engine 1.2.4 → 1.3.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/packages/runtime-engine/src/index.d.ts +1 -1
- package/dist/packages/runtime-engine/src/runtimeEngine.d.ts +30 -30
- package/dist/runtime-engine.js +847 -845
- package/dist/src/components/Loading/index.d.ts +4 -4
- package/dist/src/components/Loading/src/createLoading.d.ts +13 -13
- package/dist/src/components/Loading/src/typing.d.ts +9 -9
- package/dist/src/components/Loading/src/useLoading.d.ts +11 -11
- package/dist/src/components/controls/index.d.ts +5 -5
- package/dist/src/components/controls/rok-custom-column/index.d.ts +2 -2
- package/dist/src/components/controls/rok-vue-form-item/index.d.ts +2 -2
- package/dist/src/components/meKeepAlive/core/Suspense.d.ts +3 -3
- package/dist/src/components/meKeepAlive/core/apiAsyncComponent.d.ts +2 -2
- package/dist/src/components/meKeepAlive/core/component.d.ts +2 -2
- package/dist/src/components/meKeepAlive/core/componentPublicInstance.d.ts +5 -5
- package/dist/src/components/meKeepAlive/core/devtools.d.ts +2 -2
- package/dist/src/components/meKeepAlive/core/errorHandling.d.ts +17 -17
- package/dist/src/components/meKeepAlive/core/renderer.d.ts +32 -32
- package/dist/src/components/meKeepAlive/core/shapeFlags.d.ts +13 -13
- package/dist/src/components/meKeepAlive/core/vnode.d.ts +6 -6
- package/dist/src/components/meKeepAlive/index.d.ts +23 -23
- package/dist/src/components/update-log/utils.d.ts +110 -110
- package/dist/src/constant/controls/index.d.ts +2 -2
- package/dist/src/constant/controls/simple-search.d.ts +18 -18
- package/dist/src/constant/controls/table-import.d.ts +5 -5
- package/dist/src/constant/enums/ButtonGroupsType.d.ts +26 -26
- package/dist/src/constant/enums/MsgRelationType.d.ts +12 -12
- package/dist/src/constant/enums/behavior.d.ts +9 -9
- package/dist/src/constant/enums/dateType.d.ts +8 -8
- package/dist/src/constant/enums/formType.d.ts +6 -6
- package/dist/src/constant/enums/index.d.ts +7 -7
- package/dist/src/constant/enums/processStatus.d.ts +22 -22
- package/dist/src/constant/enums/sizeEnum.d.ts +11 -11
- package/dist/src/constant/enums/status.d.ts +22 -22
- package/dist/src/constant/global.d.ts +3 -3
- package/dist/src/constant/index.d.ts +4 -4
- package/dist/src/constant/page/BindService.d.ts +9 -9
- package/dist/src/constant/page/address.d.ts +25 -25
- package/dist/src/constant/page/approvalNeedValidateBtns.d.ts +1 -1
- package/dist/src/constant/page/controlDepend.d.ts +1 -1
- package/dist/src/constant/page/httpCode.d.ts +12 -12
- package/dist/src/constant/page/index.d.ts +2 -2
- package/dist/src/constant/page/table/column.d.ts +7 -7
- package/dist/src/constant/page/table/index.d.ts +2 -2
- package/dist/src/constant/page/table/toolBar.d.ts +8 -8
- package/dist/src/constant/symbol.d.ts +2 -2
- package/dist/src/directives/clickOutside.d.ts +3 -3
- package/dist/src/directives/index.d.ts +2 -2
- package/dist/src/directives/loading.d.ts +4 -4
- package/dist/src/directives/tooltip.d.ts +4 -4
- package/dist/src/entry_desktop/components/EllipsisTooltip/EllipsisTooltip.d.ts +38 -39
- package/dist/src/entry_desktop/components/EllipsisTooltip/index.d.ts +2 -2
- package/dist/src/entry_desktop/components/FormEngineModal/index.d.ts +2 -2
- package/dist/src/entry_desktop/components/ListEngineModal/index.d.ts +2 -2
- package/dist/src/entry_desktop/components/MenuItem/index.d.ts +2 -2
- package/dist/src/entry_desktop/components/configProviderMerged.d.ts +13 -13
- package/dist/src/entry_desktop/components/globalComponents.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/ag-grid/hooks/useAgGrid.d.ts +19 -19
- package/dist/src/entry_desktop/controls/components/ag-grid/hooks/useModel.d.ts +12 -12
- package/dist/src/entry_desktop/controls/components/ag-grid/hooks/useOperate.d.ts +11 -11
- package/dist/src/entry_desktop/controls/components/ag-grid/hooks/useTableHeight.d.ts +6 -6
- package/dist/src/entry_desktop/controls/components/ag-grid/index.d.ts +3 -3
- package/dist/src/entry_desktop/controls/components/ag-grid/props.d.ts +19 -19
- package/dist/src/entry_desktop/controls/components/base-table/components/editable/CellComponent.d.ts +4 -4
- package/dist/src/entry_desktop/controls/components/base-table/components/editable/componentMap.d.ts +6 -6
- package/dist/src/entry_desktop/controls/components/base-table/components/editable/index.d.ts +4 -4
- package/dist/src/entry_desktop/controls/components/base-table/constant.d.ts +5 -5
- package/dist/src/entry_desktop/controls/components/base-table/hooks/useDataSource.d.ts +6 -6
- package/dist/src/entry_desktop/controls/components/base-table/hooks/useModel.d.ts +1 -1
- package/dist/src/entry_desktop/controls/components/base-table/hooks/useTableContext.d.ts +11 -11
- package/dist/src/entry_desktop/controls/components/base-table/hooks/useTablePagination.d.ts +8 -8
- package/dist/src/entry_desktop/controls/components/base-table/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/base-table/types/index.d.ts +1 -1
- package/dist/src/entry_desktop/controls/components/base-table/types/table.d.ts +77 -77
- package/dist/src/entry_desktop/controls/components/footer-bar/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/input-number/hook.d.ts +10 -10
- package/dist/src/entry_desktop/controls/components/input-number/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/mask/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/ocr/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/EmployeeDepartmentModalInitLogic.d.ts +10 -10
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/useAgGrid.d.ts +76 -76
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/useModel.d.ts +12 -12
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/useWCModalComponentChangeValue.d.ts +17 -17
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/index.d.ts +3 -3
- package/dist/src/entry_desktop/controls/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-address/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-amount/hook.d.ts +22 -22
- package/dist/src/entry_desktop/controls/rok-amount/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-array-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-attachment/hook-file-base.d.ts +3 -3
- package/dist/src/entry_desktop/controls/rok-attachment/hook.d.ts +26 -26
- package/dist/src/entry_desktop/controls/rok-attachment/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-auto-number/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-auto-number-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-auto-wrap/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-button/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-calc/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-card-group/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-checkbox/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-dashboard/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-data-view/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-date-picker/hook.d.ts +21 -21
- package/dist/src/entry_desktop/controls/rok-date-picker/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-date-range/hook.d.ts +19 -19
- package/dist/src/entry_desktop/controls/rok-date-range/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-decimal-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-department/hook.d.ts +13 -13
- package/dist/src/entry_desktop/controls/rok-department/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-department-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-department2/hook.d.ts +13 -13
- package/dist/src/entry_desktop/controls/rok-department2/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-divider/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-electronic-signature/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-employee/hook.d.ts +17 -17
- package/dist/src/entry_desktop/controls/rok-employee/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-employee-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-employee2/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-file-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-form-item/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-form-select-button/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-row/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/BatchDelete.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/BatchPrint.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/BatchPrintRecord.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/BatchSubmission.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/CreateForm.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/ExportList.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/ExportRecord.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/ImportRecord.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/SubmissionRecord.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/components/index.d.ts +3 -3
- package/dist/src/entry_desktop/controls/rok-grid-table/components/interface/constant.d.ts +4 -4
- package/dist/src/entry_desktop/controls/rok-grid-table/components/models/import.d.ts +19 -19
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/index.d.ts +6 -6
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useColumns.d.ts +11 -11
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useContext.d.ts +16 -16
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useIframe.d.ts +4 -4
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useOperate.d.ts +33 -33
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useTableState.d.ts +34 -34
- package/dist/src/entry_desktop/controls/rok-grid-table/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-grid-table/utils/cellRenderColumn.d.ts +5 -5
- package/dist/src/entry_desktop/controls/rok-image/hook.d.ts +22 -22
- package/dist/src/entry_desktop/controls/rok-image/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-image-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-input/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-invoice-check-button/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-link/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-list-select-button/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-list-view/hooks/useContext.d.ts +14 -14
- package/dist/src/entry_desktop/controls/rok-list-view/hooks/useListTree.d.ts +19 -19
- package/dist/src/entry_desktop/controls/rok-list-view/hooks/useOperate.d.ts +8 -8
- package/dist/src/entry_desktop/controls/rok-list-view/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-list-view-select/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-location-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-number/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-operation-column/hooks/useOperate.d.ts +14 -14
- package/dist/src/entry_desktop/controls/rok-operation-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-organization-selection/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-people-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-radio/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-rich-text/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-row/index.d.ts +3 -3
- package/dist/src/entry_desktop/controls/rok-score/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-score/score-type.utils.d.ts +7 -7
- package/dist/src/entry_desktop/controls/rok-search-date-range/hook.d.ts +20 -20
- package/dist/src/entry_desktop/controls/rok-search-date-range/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-search-input/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-search-number-range/hook.d.ts +9 -9
- package/dist/src/entry_desktop/controls/rok-search-number-range/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-search-select-multiple/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-select/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-select-multiple/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-select-relation/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-simple-search/hooks.d.ts +9 -9
- package/dist/src/entry_desktop/controls/rok-simple-search/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-sublist/hooks/useAuthority.d.ts +5 -5
- package/dist/src/entry_desktop/controls/rok-sublist/hooks/useModel.d.ts +13 -13
- package/dist/src/entry_desktop/controls/rok-sublist/hooks/useOperate.d.ts +4 -4
- package/dist/src/entry_desktop/controls/rok-sublist/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-subtable/components/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-subtable/hooks/index.d.ts +3 -3
- package/dist/src/entry_desktop/controls/rok-subtable/hooks/useImport.d.ts +20 -20
- package/dist/src/entry_desktop/controls/rok-subtable/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-subtable/utils/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-subtable/utils/subtableOperation.d.ts +36 -36
- package/dist/src/entry_desktop/controls/rok-tab/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-tab-pane/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-text/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-text-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-text-ocr-button/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-textarea/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-timestamp-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-title/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-title/useBatchPrint.d.ts +17 -17
- package/dist/src/entry_desktop/controls/rok-tree/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-varchar-column/index.d.ts +2 -2
- package/dist/src/entry_desktop/controls/rok-wps/index.d.ts +3 -3
- package/dist/src/entry_desktop/hooks/useCancel.d.ts +4 -4
- package/dist/src/entry_desktop/hooks/useFileValidate.d.ts +7 -7
- package/dist/src/entry_desktop/hooks/useFocus.d.ts +2 -2
- package/dist/src/entry_desktop/hooks/useInitPage.d.ts +10 -10
- package/dist/src/entry_desktop/hooks/useLoading.d.ts +5 -5
- package/dist/src/entry_desktop/hooks/useMaxTagCount.d.ts +14 -14
- package/dist/src/entry_desktop/hooks/useOpenUrl.d.ts +3 -3
- package/dist/src/entry_desktop/main.d.ts +10 -15
- package/dist/src/entry_desktop/platform/pages/abcdefg/events.d.ts +21 -21
- package/dist/src/entry_desktop/platform/pages/abcdefg/model.d.ts +1706 -1706
- package/dist/src/entry_desktop/router/index.d.ts +4 -4
- package/dist/src/entry_desktop/router/routers.d.ts +3 -3
- package/dist/src/entry_mobile/components/DontSupportPreview/index.d.ts +2 -2
- package/dist/src/entry_mobile/components/FormEngineModal/index.d.ts +2 -2
- package/dist/src/entry_mobile/components/ListEngineModal/index.d.ts +2 -2
- package/dist/src/entry_mobile/components/VanSuperForm/VanFormItem.d.ts +61 -62
- package/dist/src/entry_mobile/components/VanSuperForm/VanSuperForm.d.ts +32 -32
- package/dist/src/entry_mobile/components/VanSuperForm/hooks/useFormContext.d.ts +3 -3
- package/dist/src/entry_mobile/components/VanSuperForm/index.d.ts +70 -70
- package/dist/src/entry_mobile/components/VanSuperForm/utils/utils.d.ts +21 -21
- package/dist/src/entry_mobile/components/VanSuperForm/utils/validateUtils.d.ts +18 -18
- package/dist/src/entry_mobile/components/globalComponents.d.ts +2 -2
- package/dist/src/entry_mobile/controls/components/ocr/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/components/table/hooks/hook.d.ts +12 -12
- package/dist/src/entry_mobile/controls/components/table/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/components/table/types/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/components/table/types/pagination.d.ts +22 -22
- package/dist/src/entry_mobile/controls/components/table/types/table.d.ts +54 -54
- package/dist/src/entry_mobile/controls/components/tree/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-address/hooks/useOperate.d.ts +7 -7
- package/dist/src/entry_mobile/controls/rok-address/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-amount/hook.d.ts +32 -32
- package/dist/src/entry_mobile/controls/rok-amount/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-array-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-attachment/ajax.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-attachment/hook-file-base.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-attachment/hook.d.ts +3 -3
- package/dist/src/entry_mobile/controls/rok-attachment/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-attachment/upload.type.d.ts +71 -71
- package/dist/src/entry_mobile/controls/rok-attachment/utils.d.ts +9 -9
- package/dist/src/entry_mobile/controls/rok-auto-number/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-auto-number-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-button/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-calc/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-card-group/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-checkbox/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-dashboard/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-data-view/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-date-picker/hook.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-date-picker/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-date-range/hook.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-date-range/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-decimal-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-department/dep-hook.d.ts +10 -10
- package/dist/src/entry_mobile/controls/rok-department/hook.d.ts +1 -1
- package/dist/src/entry_mobile/controls/rok-department/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-department/utils/isIphoneX.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-department-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-department2/dep-hook.d.ts +11 -11
- package/dist/src/entry_mobile/controls/rok-department2/hook.d.ts +4 -4
- package/dist/src/entry_mobile/controls/rok-department2/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-department2/utils/isIphoneX.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-divider/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-electronic-signature/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-employee/hook.d.ts +1 -1
- package/dist/src/entry_mobile/controls/rok-employee/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-employee/src/constant/index.d.ts +9 -9
- package/dist/src/entry_mobile/controls/rok-employee/src/utils/isIphoneX.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-employee/src/utils/searchUserInfo.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-employee-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-employee2/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-employee2/src/constant/index.d.ts +9 -9
- package/dist/src/entry_mobile/controls/rok-file-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-form-item/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-form-select-button/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-grid/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-grid-row/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-grid-table/hooks/useModel.d.ts +5 -5
- package/dist/src/entry_mobile/controls/rok-grid-table/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-image/hook.d.ts +3 -3
- package/dist/src/entry_mobile/controls/rok-image/image.type.d.ts +23 -23
- package/dist/src/entry_mobile/controls/rok-image/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-image/utils.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-image-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-input/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-invoice-check-button/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-link/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-list-page-btn-batch-delete/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-list-page-btn-create-form/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-list-select-button/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-list-view/hook.d.ts +17 -17
- package/dist/src/entry_mobile/controls/rok-list-view/hooks/useContext.d.ts +9 -9
- package/dist/src/entry_mobile/controls/rok-list-view/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-list-view-select/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-location-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-number/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-organization-selection/dep-hook.d.ts +11 -11
- package/dist/src/entry_mobile/controls/rok-organization-selection/hook.d.ts +4 -4
- package/dist/src/entry_mobile/controls/rok-organization-selection/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-organization-selection/utils/isIphoneX.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-people-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-radio/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-rich-text/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-row/index.d.ts +3 -3
- package/dist/src/entry_mobile/controls/rok-score/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-score/score-type.utils.d.ts +7 -7
- package/dist/src/entry_mobile/controls/rok-search-date-range/hook.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-search-date-range/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-search-input/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-search-number-range/hook.d.ts +10 -10
- package/dist/src/entry_mobile/controls/rok-search-number-range/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-search-select-multiple/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-select/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-select-multiple/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-select-relation/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-simple-search/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-subtable/components/AgGrid/hooks/useAgGrid.d.ts +18 -18
- package/dist/src/entry_mobile/controls/rok-subtable/components/AgGrid/hooks/useModel.d.ts +12 -12
- package/dist/src/entry_mobile/controls/rok-subtable/components/AgGrid/index.d.ts +3 -3
- package/dist/src/entry_mobile/controls/rok-subtable/components/AgGrid/props.d.ts +17 -17
- package/dist/src/entry_mobile/controls/rok-subtable/hooks/useFormSubtable.d.ts +12 -12
- package/dist/src/entry_mobile/controls/rok-subtable/hooks/useFull.d.ts +18 -18
- package/dist/src/entry_mobile/controls/rok-subtable/hooks/useSubtableList.d.ts +57 -57
- package/dist/src/entry_mobile/controls/rok-subtable/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-subtable/utils/vs-full.d.ts +33 -33
- package/dist/src/entry_mobile/controls/rok-subtable-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-subtable-row/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-tab/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-tab-pane/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-text/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-text-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-text-ocr-button/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-textarea/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-timestamp-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-title/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-tree/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-varchar-column/index.d.ts +2 -2
- package/dist/src/entry_mobile/controls/rok-wps/index.d.ts +3 -3
- package/dist/src/entry_mobile/hooks/index.d.ts +1 -1
- package/dist/src/entry_mobile/hooks/useActiveElementBlur.d.ts +1 -1
- package/dist/src/entry_mobile/hooks/useEngine.d.ts +1 -1
- package/dist/src/entry_mobile/hooks/useHistory.d.ts +3 -3
- package/dist/src/entry_mobile/main.d.ts +6 -11
- package/dist/src/entry_mobile/router/index.d.ts +2 -2
- package/dist/src/entry_mobile/router/routers.d.ts +3 -3
- package/dist/src/entry_mobile/views/page-render/process-form/hooks.d.ts +34 -34
- package/dist/src/entry_mobile/views/page-render/useCancel.d.ts +3 -3
- package/dist/src/hooks/atomic/index.d.ts +9 -9
- package/dist/src/hooks/atomic/useAppStore.d.ts +3 -3
- package/dist/src/hooks/atomic/useContext.d.ts +11 -11
- package/dist/src/hooks/atomic/useDataPagination.d.ts +7 -7
- package/dist/src/hooks/atomic/useElementSize.d.ts +8 -8
- package/dist/src/hooks/atomic/useEventListener.d.ts +14 -14
- package/dist/src/hooks/atomic/useForceJump.d.ts +1 -1
- package/dist/src/hooks/atomic/useRefs.d.ts +5 -5
- package/dist/src/hooks/atomic/useSetTitle.d.ts +4 -4
- package/dist/src/hooks/atomic/useTitle.d.ts +4 -4
- package/dist/src/hooks/components/formEngineModal/index.d.ts +3 -3
- package/dist/src/hooks/components/formEngineModal/useFormEngineContext.d.ts +11 -11
- package/dist/src/hooks/components/formEngineModal/useFormEngineModal.d.ts +36 -36
- package/dist/src/hooks/components/formEngineModal/useFormState.d.ts +20 -20
- package/dist/src/hooks/components/index.d.ts +14 -14
- package/dist/src/hooks/components/listEngineModal/index.d.ts +5 -5
- package/dist/src/hooks/components/listEngineModal/mergeListFilterAndOrders.d.ts +4 -4
- package/dist/src/hooks/components/listEngineModal/useFullScreen.d.ts +10 -10
- package/dist/src/hooks/components/listEngineModal/useListEngineContext.d.ts +15 -15
- package/dist/src/hooks/components/listEngineModal/useListEngineModal.d.ts +50 -50
- package/dist/src/hooks/components/listEngineModal/useListSelection.d.ts +17 -17
- package/dist/src/hooks/components/listEngineModal/useListState.d.ts +18 -18
- package/dist/src/hooks/components/table/index.d.ts +1 -1
- package/dist/src/hooks/components/table/useTableLayout.d.ts +1 -1
- package/dist/src/hooks/components/useChannel.d.ts +4 -4
- package/dist/src/hooks/components/useInstanceProps.d.ts +5 -5
- package/dist/src/hooks/components/useLayout.d.ts +16 -16
- package/dist/src/hooks/components/useLayoutChildren.d.ts +6 -6
- package/dist/src/hooks/components/useMenu.d.ts +18 -18
- package/dist/src/hooks/components/useOcr.d.ts +8 -8
- package/dist/src/hooks/components/usePageStatus.d.ts +6 -6
- package/dist/src/hooks/components/usePreviewMode.d.ts +10 -10
- package/dist/src/hooks/components/usePrint.d.ts +10 -10
- package/dist/src/hooks/components/useWidgets.d.ts +5 -5
- package/dist/src/hooks/context/index.d.ts +5 -5
- package/dist/src/hooks/context/useEngineContext.d.ts +9 -9
- package/dist/src/hooks/context/useGlobalEngineContext.d.ts +7 -7
- package/dist/src/hooks/context/useListMasterContext.d.ts +12 -12
- package/dist/src/hooks/context/useMenuContext.d.ts +8 -8
- package/dist/src/hooks/context/useMultipleContext.d.ts +2 -2
- package/dist/src/hooks/context/useRowSelectionContext.d.ts +27 -27
- package/dist/src/hooks/controls/ElectronicSignature/index.d.ts +1 -1
- package/dist/src/hooks/controls/ElectronicSignature/useElectronicSignature.d.ts +24 -24
- package/dist/src/hooks/controls/address/index.d.ts +1 -1
- package/dist/src/hooks/controls/address/useAddress.d.ts +3 -3
- package/dist/src/hooks/controls/amount/index.d.ts +1 -1
- package/dist/src/hooks/controls/amount/useAmount.d.ts +34 -34
- package/dist/src/hooks/controls/button/index.d.ts +1 -1
- package/dist/src/hooks/controls/calc/index.d.ts +1 -1
- package/dist/src/hooks/controls/cardGroup/index.d.ts +1 -1
- package/dist/src/hooks/controls/cardGroup/useCardGroup.d.ts +4 -4
- package/dist/src/hooks/controls/dashboard/useDashboard.d.ts +29 -29
- package/dist/src/hooks/controls/dataView/index.d.ts +1 -1
- package/dist/src/hooks/controls/decimalColumn/index.d.ts +1 -1
- package/dist/src/hooks/controls/decimalColumn/useDecimalColumn.d.ts +10 -10
- package/dist/src/hooks/controls/department2/useDepartmentDatasource.d.ts +33 -33
- package/dist/src/hooks/controls/employee/index.d.ts +1 -1
- package/dist/src/hooks/controls/employee/useEmployeeDatasource.d.ts +32 -32
- package/dist/src/hooks/controls/formSelectButton/index.d.ts +1 -1
- package/dist/src/hooks/controls/formSelectButton/useFormSelectButton.d.ts +17 -17
- package/dist/src/hooks/controls/index.d.ts +25 -25
- package/dist/src/hooks/controls/input/index.d.ts +1 -1
- package/dist/src/hooks/controls/listMaster/index.d.ts +1 -1
- package/dist/src/hooks/controls/listMaster/useListMaster.d.ts +6 -6
- package/dist/src/hooks/controls/listMaster/useModel.d.ts +12 -12
- package/dist/src/hooks/controls/listOrganizationSelection/index.d.ts +1 -1
- package/dist/src/hooks/controls/listOrganizationSelection/useOrganizationSelection.d.ts +36 -36
- package/dist/src/hooks/controls/listSelectButton/index.d.ts +2 -2
- package/dist/src/hooks/controls/listSelectButton/useEngineFillState.d.ts +13 -13
- package/dist/src/hooks/controls/listSelectButton/useListSelectButton.d.ts +18 -18
- package/dist/src/hooks/controls/listView/index.d.ts +1 -1
- package/dist/src/hooks/controls/listView/useListActionsEvent.d.ts +7 -7
- package/dist/src/hooks/controls/listView/useModel.d.ts +39 -39
- package/dist/src/hooks/controls/listView/useQuerySelectedRows.d.ts +18 -18
- package/dist/src/hooks/controls/listViewSelect/index.d.ts +1 -1
- package/dist/src/hooks/controls/listViewSelect/useListViewSelect.d.ts +13 -13
- package/dist/src/hooks/controls/number/index.d.ts +1 -1
- package/dist/src/hooks/controls/number/useNumber.d.ts +31 -31
- package/dist/src/hooks/controls/selecRelation/selectRelation.d.ts +19 -19
- package/dist/src/hooks/controls/selecRelation/tools.d.ts +4 -4
- package/dist/src/hooks/controls/selecRelation/useSelectRelationEngineInit.d.ts +8 -8
- package/dist/src/hooks/controls/selecRelation/useViewLink.d.ts +11 -11
- package/dist/src/hooks/controls/simpleSearch/index.d.ts +1 -1
- package/dist/src/hooks/controls/simpleSearch/useSimpleSearch.d.ts +13 -13
- package/dist/src/hooks/controls/subtable/index.d.ts +1 -1
- package/dist/src/hooks/controls/subtable/useSubtableDelete.d.ts +2 -2
- package/dist/src/hooks/controls/subtable/useSubtableFormEngineModal.d.ts +19 -19
- package/dist/src/hooks/controls/tab/index.d.ts +1 -1
- package/dist/src/hooks/controls/title/index.d.ts +1 -1
- package/dist/src/hooks/controls/title/useTitleCopyDocument.d.ts +6 -6
- package/dist/src/hooks/controls/tree/index.d.ts +1 -1
- package/dist/src/hooks/controls/tree/useTreeInit.d.ts +32 -32
- package/dist/src/hooks/controls/useAttachmentPreview.d.ts +7 -7
- package/dist/src/hooks/controls/useForceUpdate.d.ts +3 -3
- package/dist/src/hooks/controls/useInstanceId.d.ts +1 -1
- package/dist/src/hooks/controls/useRangePlaceholder.d.ts +2 -2
- package/dist/src/hooks/controls/wps/index.d.ts +1 -1
- package/dist/src/hooks/controls/wps/useWpsPage.d.ts +3 -3
- package/dist/src/hooks/form/index.d.ts +12 -12
- package/dist/src/hooks/form/onEngineEvent.d.ts +1 -1
- package/dist/src/hooks/form/useAutoFocus.d.ts +5 -5
- package/dist/src/hooks/form/useBatchPrint.d.ts +21 -21
- package/dist/src/hooks/form/useChangeLog.d.ts +91 -91
- package/dist/src/hooks/form/useCopyDocument.d.ts +4 -4
- package/dist/src/hooks/form/useDisplay.d.ts +16 -16
- package/dist/src/hooks/form/useEngineMounted.d.ts +1 -1
- package/dist/src/hooks/form/useFormEvents.d.ts +12 -12
- package/dist/src/hooks/form/useOptions.d.ts +18 -18
- package/dist/src/hooks/form/useSubmitStatus.d.ts +6 -6
- package/dist/src/hooks/form/useUserValue.d.ts +8 -8
- package/dist/src/hooks/index.d.ts +7 -7
- package/dist/src/hooks/model/index.d.ts +1 -1
- package/dist/src/hooks/model/useDashboardState.d.ts +23 -23
- package/dist/src/hooks/useAgreement.d.ts +12 -12
- package/dist/src/hooks/views/index.d.ts +9 -9
- package/dist/src/hooks/views/useApprovalForm.d.ts +45 -45
- package/dist/src/hooks/views/useExternalFormData.d.ts +18 -18
- package/dist/src/hooks/views/useFormRenderByApprovalProcess.d.ts +41 -41
- package/dist/src/hooks/views/useFormRenderByFormKeyAndUid.d.ts +30 -30
- package/dist/src/hooks/views/usePageForm.d.ts +21 -21
- package/dist/src/hooks/views/usePrintForm.d.ts +15 -15
- package/dist/src/hooks/views/useProcessForm.d.ts +32 -32
- package/dist/src/hooks/views/useProcessFormRenderByFormKeyAndUid.d.ts +31 -31
- package/dist/src/hooks/views/useStateIsBindProcess.d.ts +2 -2
- package/dist/src/hooks/views/useStateIsFreePage.d.ts +3 -3
- package/dist/src/hooks/views/useStateIsSupportMobile.d.ts +2 -2
- package/dist/src/hooks/views/useStateIsVuePage.d.ts +3 -3
- package/dist/src/locales/index.d.ts +15 -15
- package/dist/src/locales/vue-i18n.d.ts +11 -11
- package/dist/src/plugins/customTemplate.d.ts +5 -5
- package/dist/src/plugins/engine/ActionUtilsPlugin.d.ts +56 -56
- package/dist/src/plugins/engine/ApprovalPlugin.d.ts +16 -16
- package/dist/src/plugins/engine/CustomVueControlPlugin.d.ts +23 -23
- package/dist/src/plugins/engine/DataFilterPlugin.d.ts +14 -14
- package/dist/src/plugins/engine/DataSourceManagePlugin.d.ts +25 -25
- package/dist/src/plugins/engine/DataViewPlugin.d.ts +42 -42
- package/dist/src/plugins/engine/DatasourceSearchPlugin.d.ts +42 -42
- package/dist/src/plugins/engine/DisplayPlugin.d.ts +71 -71
- package/dist/src/plugins/engine/EventListenerPlugin/JsMethodHandler.d.ts +9 -9
- package/dist/src/plugins/engine/EventListenerPlugin/OpenLinkHandler.d.ts +10 -10
- package/dist/src/plugins/engine/EventListenerPlugin/QuerySvcHandler.d.ts +23 -23
- package/dist/src/plugins/engine/EventListenerPlugin/SetInstanceHandler.d.ts +3 -3
- package/dist/src/plugins/engine/EventListenerPlugin/index.d.ts +14 -14
- package/dist/src/plugins/engine/EventListenerPlugin/type.d.ts +102 -102
- package/dist/src/plugins/engine/ExpressionBasePlugin.d.ts +23 -23
- package/dist/src/plugins/engine/ExpressionPlugin.d.ts +47 -47
- package/dist/src/plugins/engine/FormRelationFieldPlugin.d.ts +6 -6
- package/dist/src/plugins/engine/FormStateChangePlugin.d.ts +13 -13
- package/dist/src/plugins/engine/JurisdictionPlugin.d.ts +16 -16
- package/dist/src/plugins/engine/MultistageFillingPlugin.d.ts +19 -19
- package/dist/src/plugins/engine/ReferenceAndCalcFieldPlugin.d.ts +7 -7
- package/dist/src/plugins/engine/SubtableChangePlugin.d.ts +9 -9
- package/dist/src/plugins/engine/TitlePlugin.d.ts +18 -18
- package/dist/src/plugins/engine/TitleSettingPlugin.d.ts +33 -33
- package/dist/src/plugins/engine/constant.d.ts +24 -24
- package/dist/src/plugins/engine/index.d.ts +19 -19
- package/dist/src/plugins/okwcuiConfig.d.ts +2 -2
- package/dist/src/plugins/setTenant.d.ts +6 -6
- package/dist/src/plugins/utils/EventContorlExpressionValue.d.ts +26 -26
- package/dist/src/plugins/utils/eventListenerLogic.d.ts +1 -1
- package/dist/src/plugins/utils/index.d.ts +2 -2
- package/dist/src/plugins/wfcComponents.d.ts +1 -1
- package/dist/src/services/api.d.ts +26 -26
- package/dist/src/services/baseAuto.d.ts +39 -39
- package/dist/src/services/index.d.ts +2 -2
- package/dist/src/services/infoAuto.d.ts +16 -16
- package/dist/src/services/portal/services.auto.d.ts +2108 -2108
- package/dist/src/services/services.auto.d.ts +3024 -3024
- package/dist/src/services/widgets.d.ts +15 -15
- package/dist/src/store/index.d.ts +28 -28
- package/dist/src/types/PageContext.d.ts +6 -6
- package/dist/src/types/PaginationProps.d.ts +22 -22
- package/dist/src/types/approval-submit.d.ts +7 -7
- package/dist/src/types/type.d.ts +26 -26
- package/dist/src/types/vue-type.d.ts +102 -102
- package/dist/src/types/vuedraggable.d.ts +36 -36
- package/dist/src/utils/controls/activeElementBlur.d.ts +1 -1
- package/dist/src/utils/controls/amountUtils.d.ts +4 -4
- package/dist/src/utils/controls/attachmentUtils.d.ts +7 -7
- package/dist/src/utils/controls/customVueRegister.d.ts +2 -2
- package/dist/src/utils/controls/dateUtils.d.ts +6 -6
- package/dist/src/utils/controls/dealTableColumn.d.ts +20 -20
- package/dist/src/utils/controls/findInstance.d.ts +2 -2
- package/dist/src/utils/controls/formCopy.d.ts +9 -9
- package/dist/src/utils/controls/getSubtables.d.ts +1 -1
- package/dist/src/utils/controls/imageUtils.d.ts +8 -8
- package/dist/src/utils/controls/index.d.ts +14 -14
- package/dist/src/utils/controls/notAccess.d.ts +5 -5
- package/dist/src/utils/controls/notFound.d.ts +5 -5
- package/dist/src/utils/controls/notSupportMobile.d.ts +1 -1
- package/dist/src/utils/controls/preview.d.ts +1 -1
- package/dist/src/utils/controls/submitFormData.d.ts +14 -14
- package/dist/src/utils/controls/subtable.d.ts +3 -3
- package/dist/src/utils/controls/table.d.ts +10 -10
- package/dist/src/utils/core/buildFiltersToDataSetValues.d.ts +9 -9
- package/dist/src/utils/core/cacheRequest.d.ts +10 -10
- package/dist/src/utils/core/crossMessageProcessor.d.ts +10 -10
- package/dist/src/utils/core/expressionTools.d.ts +22 -22
- package/dist/src/utils/core/index.d.ts +10 -10
- package/dist/src/utils/core/math.d.ts +6 -7
- package/dist/src/utils/core/onlineDebugger.d.ts +2 -2
- package/dist/src/utils/core/proxy.d.ts +3 -3
- package/dist/src/utils/core/registerControl.d.ts +10 -10
- package/dist/src/utils/core/sensorsData.d.ts +1 -1
- package/dist/src/utils/core/setFormData.d.ts +21 -21
- package/dist/src/utils/core/setSubtableData.d.ts +8 -8
- package/dist/src/utils/core/tinyMitt.d.ts +42 -42
- package/dist/src/utils/core/vueApp.d.ts +5 -5
- package/dist/src/utils/index.d.ts +4 -4
- package/dist/src/utils/model/index.d.ts +3 -3
- package/dist/src/utils/model/operateCache.d.ts +6 -6
- package/dist/src/utils/model/primaryKey.d.ts +4 -4
- package/dist/src/utils/model/subtable.d.ts +20 -20
- package/dist/src/utils/platform/beforeCreateInstance.d.ts +9 -9
- package/dist/src/utils/platform/engine.d.ts +2 -2
- package/dist/src/utils/platform/vueApp.d.ts +5 -5
- package/dist/src/utils/polyfill/at.d.ts +1 -1
- package/dist/src/utils/tools/assist.d.ts +9 -9
- package/dist/src/utils/tools/asyncInterval.d.ts +5 -5
- package/dist/src/utils/tools/asyncLoadControl.d.ts +13 -13
- package/dist/src/utils/tools/beforeCreateInstance.d.ts +9 -9
- package/dist/src/utils/tools/browserType.d.ts +4 -4
- package/dist/src/utils/tools/common.d.ts +18 -18
- package/dist/src/utils/tools/dataFormat.d.ts +1 -1
- package/dist/src/utils/tools/dataType.d.ts +1 -1
- package/dist/src/utils/tools/dateUtils.d.ts +13 -13
- package/dist/src/utils/tools/domUtils.d.ts +23 -23
- package/dist/src/utils/tools/event.d.ts +1 -1
- package/dist/src/utils/tools/filterSystemTime.d.ts +1 -1
- package/dist/src/utils/tools/getCachedApplyRender.d.ts +9 -9
- package/dist/src/utils/tools/getCachedCurrentUser.d.ts +1 -1
- package/dist/src/utils/tools/globalModules.d.ts +34 -34
- package/dist/src/utils/tools/iconfontCompatible.d.ts +1 -1
- package/dist/src/utils/tools/index.d.ts +15 -15
- package/dist/src/utils/tools/queryInfoUtils.d.ts +15 -15
- package/dist/src/utils/tools/subtableAgGridUtils.d.ts +1 -1
- package/dist/src/utils/tools/titleFormat.d.ts +2 -2
- package/dist/src/utils/tools/userAgent.d.ts +3 -3
- package/dist/src/utils/tools/wps/web-office-sdk-v1.1.19.es.d.ts +57 -57
- package/package.json +1 -1
package/dist/runtime-engine.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as Mr from "vue";
|
|
2
|
-
import { ref as Z, provide as pa, inject as Ys, unref as M, onUnmounted as xr, onBeforeUnmount as Zs, shallowRef as ei, toRaw as qa, computed as
|
|
2
|
+
import { ref as Z, provide as pa, inject as Ys, unref as M, onUnmounted as xr, onBeforeUnmount as Zs, shallowRef as ei, toRaw as qa, computed as U, isRef as ti, watch as Me, nextTick as Ae, getCurrentInstance as Br, defineAsyncComponent as Oa, h as Gt, createVNode as Ue, reactive as Fr, shallowReactive as ai } from "vue";
|
|
3
3
|
import * as ri from "ant-design-vue";
|
|
4
4
|
import si, { Modal as ii, message as $t } from "ant-design-vue";
|
|
5
5
|
import { useRoute as Lr, useRouter as ni } from "vue-router";
|
|
6
6
|
import * as jt from "@byteluck-fe/global-shared";
|
|
7
|
-
import { getCustomRequestHeader as oi, getFetch as de, CacheManager as li, path as ui, client as K, isArray as it, isString as
|
|
8
|
-
import yi, { get as
|
|
7
|
+
import { getCustomRequestHeader as oi, getFetch as de, CacheManager as li, path as ui, client as K, isArray as it, isString as ne, isDef as pi, cacheManager as tt, formatDisplayData as di, isObject as Nr, isEmpty as ci } from "@byteluck-fe/global-shared";
|
|
8
|
+
import yi, { get as Ge, debounce as hi, isEqual as Ur, cloneDeep as fi, isArray as ue, mapValues as vi, keyBy as mi } from "lodash";
|
|
9
9
|
import Gr from "moment";
|
|
10
10
|
import * as wa from "@byteluck-fe/model-driven-core-all";
|
|
11
|
-
import { loadRemoteControl as Pi, loadRemoteControls as gi, loadScriptFromFetch as Si, loadScriptFromTag as bi, nativeFetch as $r, debounce as Ti, CONTROL_TYPE as g, OptionSetting as qi, DataBind as Oi, ObjectDataBind as wi, PAGE_STATUS as Qe, isDataBind as
|
|
11
|
+
import { loadRemoteControl as Pi, loadRemoteControls as gi, loadScriptFromFetch as Si, loadScriptFromTag as bi, nativeFetch as $r, debounce as Ti, CONTROL_TYPE as g, OptionSetting as qi, DataBind as Oi, ObjectDataBind as wi, PAGE_STATUS as Qe, isDataBind as Fe, JSONCopy as te, FieldTypes as ie, decamelizeKeys as $, CONTROL_BASE_TYPE as da, isPlainObject as jr, MultistageFillingItem as Ai, DisplayBoListItem as _i, TitleConfigEnum as ve, camelizeKeys as Je, DepartmentType as Ii, DataSourceParamItem as Ci, DataSourceOrderItem as Vi, logerror as Ei, EventLogic as Di, baseControls as ki, formControls as Ri, layoutControls as Mi, listControls as xi, columnControls as Bi, searchControls as Fi, registerCustomControls as Aa, registerByteluckControls as Li, VersionBuilder as Ni, upgradeCustomControlSchema as Ui } from "@byteluck-fe/model-driven-core-all";
|
|
12
12
|
import * as _a from "@byteluck-fe/model-driven-engine";
|
|
13
13
|
import { loopDataViewControl as ca, parseModule as Ia, Engine as at, ES6ModulePlugin as Gi, LifecycleEventPlugin as $i, ControlsEventPlugin as ji, CalcPlugin as Hi, StylePlugin as zi } from "@byteluck-fe/model-driven-engine";
|
|
14
14
|
import { defineInstance as Ki, createBaseFields as Wi, createFormBaseFields as Qi } from "@byteluck-fe/model-driven-settings";
|
|
15
|
-
import
|
|
15
|
+
import _e from "decimal.js";
|
|
16
16
|
import Ji, { Toast as Ht } from "vant";
|
|
17
17
|
import { useStore as Xi } from "vuex";
|
|
18
18
|
function Yi(s, e) {
|
|
@@ -39,21 +39,21 @@ function Zi() {
|
|
|
39
39
|
setPrintUrlList: (r) => {
|
|
40
40
|
if (s === "Print" || s === "Preview" || !r.uId || r.data.form_process_param?.draft)
|
|
41
41
|
return;
|
|
42
|
-
const n = (r.data?.content?.button_groups ?? []).filter((
|
|
42
|
+
const n = (r.data?.content?.button_groups ?? []).filter((m) => m.type === ya.PRINT)[0], o = r?.uId || r.data?.process_param.biz_key;
|
|
43
43
|
if (!n?.props.value || !o)
|
|
44
44
|
return;
|
|
45
|
-
const l = r.data.process_param || {}, { notice_id: u, process_instance_id: p, task_instance_id: d } = l,
|
|
45
|
+
const l = r.data.process_param || {}, { notice_id: u, process_instance_id: p, task_instance_id: d } = l, y = n.props.formKey && !n.props.formKeyList?.length ? [
|
|
46
46
|
{
|
|
47
47
|
formKey: n.props.formKey,
|
|
48
48
|
formKeyName: "系统模版"
|
|
49
49
|
}
|
|
50
50
|
] : n.props.formKeyList ?? [];
|
|
51
|
-
Object.keys(l).length ?
|
|
52
|
-
(
|
|
53
|
-
const
|
|
54
|
-
formKey:
|
|
51
|
+
Object.keys(l).length ? y?.forEach(
|
|
52
|
+
(m) => {
|
|
53
|
+
const c = {
|
|
54
|
+
formKey: m.formKey,
|
|
55
55
|
printUrl: e({
|
|
56
|
-
path: `/print/${r.data.app_id}/${
|
|
56
|
+
path: `/print/${r.data.app_id}/${m.formKey}`,
|
|
57
57
|
query: {
|
|
58
58
|
notice_id: u,
|
|
59
59
|
process_instance_id: p,
|
|
@@ -63,20 +63,20 @@ function Zi() {
|
|
|
63
63
|
}
|
|
64
64
|
}).href
|
|
65
65
|
};
|
|
66
|
-
t.value.push(
|
|
66
|
+
t.value.push(c);
|
|
67
67
|
}
|
|
68
|
-
) :
|
|
69
|
-
(
|
|
70
|
-
const
|
|
71
|
-
formKey:
|
|
68
|
+
) : y?.forEach(
|
|
69
|
+
(m) => {
|
|
70
|
+
const c = {
|
|
71
|
+
formKey: m.formKey,
|
|
72
72
|
printUrl: e({
|
|
73
|
-
path: `/print/${r.data.app_id}/${
|
|
73
|
+
path: `/print/${r.data.app_id}/${m.formKey}`,
|
|
74
74
|
query: {
|
|
75
75
|
uId: o
|
|
76
76
|
}
|
|
77
77
|
}).href
|
|
78
78
|
};
|
|
79
|
-
t.value.push(
|
|
79
|
+
t.value.push(c);
|
|
80
80
|
}
|
|
81
81
|
);
|
|
82
82
|
}
|
|
@@ -10342,18 +10342,18 @@ const on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10342
10342
|
function un(s) {
|
|
10343
10343
|
pa(ln, s);
|
|
10344
10344
|
}
|
|
10345
|
-
function
|
|
10345
|
+
function Ie() {
|
|
10346
10346
|
return Ys("context");
|
|
10347
10347
|
}
|
|
10348
10348
|
function nt(s, e) {
|
|
10349
|
-
const t =
|
|
10349
|
+
const t = Ie(), a = M(t);
|
|
10350
10350
|
!a || (a?.on(s, e), console.log("ceshi"), xr(() => {
|
|
10351
10351
|
a?.off(s, e);
|
|
10352
10352
|
}));
|
|
10353
10353
|
}
|
|
10354
10354
|
function Kr(s) {
|
|
10355
10355
|
var e;
|
|
10356
|
-
const t =
|
|
10356
|
+
const t = Ie();
|
|
10357
10357
|
(e = M(t)) == null || e.on("schema-change", s), Zs(() => {
|
|
10358
10358
|
var a;
|
|
10359
10359
|
(a = M(t)) == null || a.off("schema-change", s);
|
|
@@ -10376,37 +10376,37 @@ function Qr() {
|
|
|
10376
10376
|
};
|
|
10377
10377
|
}
|
|
10378
10378
|
function Jr(s, e, t) {
|
|
10379
|
-
const a =
|
|
10379
|
+
const a = Ie(), r = U(() => {
|
|
10380
10380
|
var f;
|
|
10381
10381
|
return (f = M(a)) == null ? void 0 : f.getAction().actionUtils;
|
|
10382
10382
|
}), i = Wr(s), { formItemRef: n, formItemValidate: o } = Qr();
|
|
10383
10383
|
nt("validateInstance", (f) => {
|
|
10384
10384
|
f.instance.id === s.id && e === f.rowIndex && o();
|
|
10385
|
-
}), ti(t) &&
|
|
10385
|
+
}), ti(t) && Me(t, (f, v) => {
|
|
10386
10386
|
!(a != null && a.value.isMounted) || Array.isArray(f) && Array.isArray(v) && f.length === v.length || o();
|
|
10387
10387
|
});
|
|
10388
|
-
const l =
|
|
10388
|
+
const l = U(() => i.value.defaultState === "readonly"), u = U(() => i.value.placeholder), p = U(() => s?.pageStatus), d = U(() => [1, 3, 5].includes(p.value)), y = U(() => p.value === 2), m = U(() => p.value === 2 && !l.value), c = U(() => p.value == 5), T = U(() => e !== void 0), q = (f) => {
|
|
10389
10389
|
var v;
|
|
10390
10390
|
const O = (v = M(a)) == null ? void 0 : v.getState(s.id, e);
|
|
10391
10391
|
Ur(O, f) || a == null || a.value.setState(s.id, f, e);
|
|
10392
|
-
},
|
|
10393
|
-
var f, v, O,
|
|
10394
|
-
const
|
|
10395
|
-
if (
|
|
10396
|
-
if (
|
|
10397
|
-
const { dataCode: P, fieldCode:
|
|
10398
|
-
e === void 0 ? (O =
|
|
10392
|
+
}, _ = () => {
|
|
10393
|
+
var f, v, O, D, h;
|
|
10394
|
+
const b = (f = M(a)) == null ? void 0 : f.getState("DISPLAY"), w = (v = M(s).props) != null ? v : {};
|
|
10395
|
+
if (w.dataBind !== void 0)
|
|
10396
|
+
if (w.dataBind instanceof Oi) {
|
|
10397
|
+
const { dataCode: P, fieldCode: A } = w.dataBind;
|
|
10398
|
+
e === void 0 ? (O = b[P]) != null && O[A] && (b[P][A] = void 0) : (h = (D = b[P]) == null ? void 0 : D[e]) != null && h[A] && (b[P][e][A] = void 0);
|
|
10399
10399
|
} else
|
|
10400
|
-
|
|
10401
|
-
var
|
|
10402
|
-
const I =
|
|
10403
|
-
(
|
|
10404
|
-
}) : Object.keys(
|
|
10405
|
-
var
|
|
10406
|
-
const C =
|
|
10407
|
-
(I = (
|
|
10400
|
+
w.dataBind instanceof wi && (e === void 0 ? Object.keys(w.dataBind).map((P) => {
|
|
10401
|
+
var A;
|
|
10402
|
+
const I = w.dataBind[P], { dataCode: C, fieldCode: R } = I;
|
|
10403
|
+
(A = b[C]) != null && A[R] && (b[C][R] = void 0);
|
|
10404
|
+
}) : Object.keys(w.dataBind).map((P) => {
|
|
10405
|
+
var A, I;
|
|
10406
|
+
const C = w.dataBind[P], { dataCode: R, fieldCode: V } = C;
|
|
10407
|
+
(I = (A = b[R]) == null ? void 0 : A[e]) != null && I[V] && (b[R][e][V] = void 0);
|
|
10408
10408
|
}));
|
|
10409
|
-
},
|
|
10409
|
+
}, S = U(
|
|
10410
10410
|
() => s.rules
|
|
10411
10411
|
);
|
|
10412
10412
|
return {
|
|
@@ -10414,22 +10414,22 @@ function Jr(s, e, t) {
|
|
|
10414
10414
|
utils: r,
|
|
10415
10415
|
isDisabled: l,
|
|
10416
10416
|
placeholder: u,
|
|
10417
|
-
updateValue:
|
|
10418
|
-
clearDisplay:
|
|
10417
|
+
updateValue: q,
|
|
10418
|
+
clearDisplay: _,
|
|
10419
10419
|
pageStatus: p,
|
|
10420
10420
|
isReadonly: d,
|
|
10421
|
-
isEditable:
|
|
10422
|
-
rules:
|
|
10421
|
+
isEditable: y,
|
|
10422
|
+
rules: S,
|
|
10423
10423
|
formItemRef: n,
|
|
10424
10424
|
formItemValidate: o,
|
|
10425
|
-
isPrint:
|
|
10426
|
-
isSubtable:
|
|
10427
|
-
isMobileEditable:
|
|
10425
|
+
isPrint: c,
|
|
10426
|
+
isSubtable: T,
|
|
10427
|
+
isMobileEditable: m,
|
|
10428
10428
|
props: i
|
|
10429
10429
|
};
|
|
10430
10430
|
}
|
|
10431
10431
|
function Xr(s) {
|
|
10432
|
-
const e = M(
|
|
10432
|
+
const e = M(Ie());
|
|
10433
10433
|
e != null && e.isMounted ? s() : nt("engine-mounted", s);
|
|
10434
10434
|
}
|
|
10435
10435
|
function Yr(s, e) {
|
|
@@ -10438,11 +10438,11 @@ function Yr(s, e) {
|
|
|
10438
10438
|
});
|
|
10439
10439
|
}
|
|
10440
10440
|
function pn(s) {
|
|
10441
|
-
const e =
|
|
10441
|
+
const e = Ie(), t = Z(!1);
|
|
10442
10442
|
return {
|
|
10443
10443
|
isFocusing: t,
|
|
10444
10444
|
onBlur: (a, r) => {
|
|
10445
|
-
|
|
10445
|
+
Ae(() => {
|
|
10446
10446
|
t.value = !1;
|
|
10447
10447
|
}), e?.value.emit("blur", {
|
|
10448
10448
|
instance: s.instance,
|
|
@@ -10479,52 +10479,52 @@ function pn(s) {
|
|
|
10479
10479
|
}
|
|
10480
10480
|
function dn(s) {
|
|
10481
10481
|
const e = Z("zh");
|
|
10482
|
-
return { $t: (t, a) =>
|
|
10482
|
+
return { $t: (t, a) => Ge(s, [M(e), t], a), locale: e };
|
|
10483
10483
|
}
|
|
10484
10484
|
var Kt = /* @__PURE__ */ ((s) => (s.DRAFT = "DRAFT", s.COMPLETE = "COMPLETE", s.TERMINATION = "TERMINATION", s.RUNNING = "RUNNING", s))(Kt || {});
|
|
10485
10485
|
function cn(s) {
|
|
10486
10486
|
const e = Z([]), { updateValue: t, isEditable: a, props: r, isSubtable: i, context: n } = Jr(
|
|
10487
10487
|
s.instance,
|
|
10488
10488
|
s.rowIndex
|
|
10489
|
-
), o = Z(!1), l = Z(), u =
|
|
10489
|
+
), o = Z(!1), l = Z(), u = U(
|
|
10490
10490
|
() => s.instance.type === "select-multiple" || s.instance.type === "checkbox"
|
|
10491
|
-
), p =
|
|
10491
|
+
), p = U(
|
|
10492
10492
|
() => s.instance.type === "select-multiple" || s.instance.type === "select"
|
|
10493
|
-
), d =
|
|
10493
|
+
), d = U(() => r.value.optionConfig === "custom");
|
|
10494
10494
|
if (d.value) {
|
|
10495
10495
|
const h = r.value.options;
|
|
10496
10496
|
if (e.value = h, s.instance.parent) {
|
|
10497
|
-
const
|
|
10497
|
+
const b = n?.value.assertInstance(
|
|
10498
10498
|
s.instance.parent,
|
|
10499
10499
|
g.SIMPLE_SEARCH
|
|
10500
|
-
),
|
|
10501
|
-
(
|
|
10500
|
+
), w = s.instance.props.dataBind.fieldCode === "process_status", P = !(n != null && n.value.externalParams.data.data_model.data_field_list.some(
|
|
10501
|
+
(A) => A.field_code === "process_instance_id"
|
|
10502
10502
|
));
|
|
10503
|
-
|
|
10504
|
-
(
|
|
10505
|
-
|
|
10503
|
+
b && w && P && (e.value = h.filter(
|
|
10504
|
+
(A) => [Kt.DRAFT, Kt.COMPLETE].includes(
|
|
10505
|
+
A.value
|
|
10506
10506
|
)
|
|
10507
10507
|
));
|
|
10508
10508
|
}
|
|
10509
10509
|
}
|
|
10510
|
-
const
|
|
10511
|
-
d.value || ((s.instance.type === "select" || s.instance.type === "select-multiple") && !h && !r.value.defaultShowOptions ? e.value = [] : (
|
|
10510
|
+
const y = Z(!1), m = hi(async (h) => {
|
|
10511
|
+
d.value || ((s.instance.type === "select" || s.instance.type === "select-multiple") && !h && !r.value.defaultShowOptions ? e.value = [] : (y.value = !0, await n?.value.emit("search", {
|
|
10512
10512
|
instance: s.instance,
|
|
10513
10513
|
value: h,
|
|
10514
10514
|
rowIndex: s.rowIndex,
|
|
10515
10515
|
options: {
|
|
10516
|
-
displayOptions:
|
|
10516
|
+
displayOptions: _.value
|
|
10517
10517
|
}
|
|
10518
|
-
}), await
|
|
10519
|
-
}, 400),
|
|
10518
|
+
}), await Ae(), y.value = !1));
|
|
10519
|
+
}, 400), c = () => Array.isArray(s.value) ? s.value.every(
|
|
10520
10520
|
(h) => {
|
|
10521
|
-
var
|
|
10522
|
-
return (
|
|
10521
|
+
var b;
|
|
10522
|
+
return (b = s.instance.props.options) == null ? void 0 : b.find((w) => w.value === h);
|
|
10523
10523
|
}
|
|
10524
10524
|
) : s.instance.props.options.some(
|
|
10525
10525
|
(h) => h.value === s.value
|
|
10526
|
-
),
|
|
10527
|
-
if (
|
|
10526
|
+
), T = async (h, b = !1) => {
|
|
10527
|
+
if (c() && !b) {
|
|
10528
10528
|
e.value = s.instance.props.options;
|
|
10529
10529
|
return;
|
|
10530
10530
|
}
|
|
@@ -10539,101 +10539,101 @@ function cn(s) {
|
|
|
10539
10539
|
}
|
|
10540
10540
|
}
|
|
10541
10541
|
});
|
|
10542
|
-
},
|
|
10543
|
-
o.value = !0, t(h),
|
|
10542
|
+
}, q = (h) => {
|
|
10543
|
+
o.value = !0, t(h), Ae(() => {
|
|
10544
10544
|
o.value = !1;
|
|
10545
10545
|
});
|
|
10546
10546
|
};
|
|
10547
|
-
|
|
10547
|
+
Me(
|
|
10548
10548
|
() => r.value.options,
|
|
10549
10549
|
(h) => {
|
|
10550
10550
|
e.value = h;
|
|
10551
10551
|
}
|
|
10552
10552
|
);
|
|
10553
|
-
const
|
|
10553
|
+
const _ = U(() => {
|
|
10554
10554
|
var h;
|
|
10555
|
-
const
|
|
10555
|
+
const b = [];
|
|
10556
10556
|
if (s.value && ((h = e.value) != null && h.length))
|
|
10557
|
-
for (const
|
|
10558
|
-
Array.isArray(s.value) ? s.value.includes(
|
|
10559
|
-
return
|
|
10560
|
-
}),
|
|
10561
|
-
|
|
10557
|
+
for (const w of e.value)
|
|
10558
|
+
Array.isArray(s.value) ? s.value.includes(w.id) && b.push(w) : w.id === s.value && b.push(w);
|
|
10559
|
+
return b;
|
|
10560
|
+
}), S = (h, b) => b && (Array.isArray(h) ? h.includes(b) : h === b), f = Z([]);
|
|
10561
|
+
Me(
|
|
10562
10562
|
[e, () => s.value],
|
|
10563
10563
|
() => {
|
|
10564
|
-
var h,
|
|
10564
|
+
var h, b, w, P;
|
|
10565
10565
|
if (s.instance.type === "amount")
|
|
10566
|
-
f.value = (
|
|
10566
|
+
f.value = (b = (h = M(e)) == null ? void 0 : h.filter((A) => {
|
|
10567
10567
|
var I;
|
|
10568
|
-
return
|
|
10569
|
-
})) != null ?
|
|
10568
|
+
return S((I = s.value) == null ? void 0 : I.currency, A.value);
|
|
10569
|
+
})) != null ? b : [];
|
|
10570
10570
|
else {
|
|
10571
10571
|
if (!s.value) {
|
|
10572
10572
|
f.value = [];
|
|
10573
10573
|
return;
|
|
10574
10574
|
}
|
|
10575
|
-
f.value = (P = (
|
|
10576
|
-
const
|
|
10575
|
+
f.value = (P = (w = M(e)) == null ? void 0 : w.filter((R) => S(s.value, R.value))) != null ? P : [];
|
|
10576
|
+
const A = Array.isArray(s.value) ? s.value : [s.value], I = f.value.map(
|
|
10577
10577
|
(R) => R.value
|
|
10578
10578
|
);
|
|
10579
10579
|
let C = 0;
|
|
10580
|
-
for (; C <
|
|
10581
|
-
I.includes(
|
|
10580
|
+
for (; C < A.length; )
|
|
10581
|
+
I.includes(A[C]) || (f.value.splice(
|
|
10582
10582
|
C,
|
|
10583
10583
|
0,
|
|
10584
|
-
new qi({ label:
|
|
10584
|
+
new qi({ label: A[C], value: A[C] })
|
|
10585
10585
|
), C < f.value.length - 1 && C++), C++;
|
|
10586
10586
|
}
|
|
10587
10587
|
},
|
|
10588
10588
|
{ immediate: !0 }
|
|
10589
|
-
),
|
|
10589
|
+
), Me(
|
|
10590
10590
|
() => s.value,
|
|
10591
10591
|
(h) => {
|
|
10592
|
-
var
|
|
10592
|
+
var b;
|
|
10593
10593
|
if (!o.value && s.instance.type !== "amount") {
|
|
10594
10594
|
if (K.isPc() && (s.instance.type === "radio" || s.instance.type === "checkbox") && !s.rowIndex && s.rowIndex !== 0)
|
|
10595
10595
|
return;
|
|
10596
|
-
s.value &&
|
|
10597
|
-
u.value ? (
|
|
10596
|
+
s.value && T(
|
|
10597
|
+
u.value ? (b = s.value) == null ? void 0 : b.join(",") : s.value
|
|
10598
10598
|
);
|
|
10599
10599
|
}
|
|
10600
|
-
|
|
10600
|
+
D(), l.value = M(f).map((w) => w.label);
|
|
10601
10601
|
}
|
|
10602
10602
|
);
|
|
10603
10603
|
const v = () => {
|
|
10604
10604
|
var h;
|
|
10605
|
-
p.value &&
|
|
10605
|
+
p.value && T(
|
|
10606
10606
|
u.value ? (h = s.value) == null ? void 0 : h.join(",") : s.value,
|
|
10607
10607
|
!0
|
|
10608
10608
|
);
|
|
10609
10609
|
};
|
|
10610
|
-
Yr(s.instance, v),
|
|
10610
|
+
Yr(s.instance, v), Me(
|
|
10611
10611
|
f,
|
|
10612
10612
|
() => {
|
|
10613
10613
|
l.value = M(f).map((h) => h.label);
|
|
10614
10614
|
},
|
|
10615
10615
|
{ deep: !0, immediate: !0 }
|
|
10616
10616
|
), Xr(() => {
|
|
10617
|
-
var h,
|
|
10618
|
-
(Array.isArray(s.value) ? s.value.length : s.value && s.instance.type !== "amount") && ((!a.value || s.rowIndex !== void 0) && (Array.isArray(s.display) ? s.display.length : s.display) ? s.instance.props.optionConfig !== "custom" && (l.value = Array.isArray(s.display) ? s.display : [s.display]) :
|
|
10617
|
+
var h, b;
|
|
10618
|
+
(Array.isArray(s.value) ? s.value.length : s.value && s.instance.type !== "amount") && ((!a.value || s.rowIndex !== void 0) && (Array.isArray(s.display) ? s.display.length : s.display) ? s.instance.props.optionConfig !== "custom" && (l.value = Array.isArray(s.display) ? s.display : [s.display]) : T(
|
|
10619
10619
|
Array.isArray(s.value) ? s.value.join(",") : s.value
|
|
10620
|
-
)), a.value && ((
|
|
10620
|
+
)), a.value && ((b = (h = s.instance) == null ? void 0 : h.props) != null && b.defaultShowOptions) && ((Array.isArray(s.value) ? s.value.length : s.value) && p.value ? T(
|
|
10621
10621
|
Array.isArray(s.value) ? s.value.join(",") : s.value
|
|
10622
|
-
) :
|
|
10622
|
+
) : m(""));
|
|
10623
10623
|
});
|
|
10624
10624
|
const O = (h) => {
|
|
10625
|
-
h && !d.value &&
|
|
10626
|
-
},
|
|
10625
|
+
h && !d.value && m("");
|
|
10626
|
+
}, D = () => {
|
|
10627
10627
|
var h;
|
|
10628
10628
|
if (!(d.value || n?.value.isMounted) && (s.instance.type === "select" || s.instance.type === "select-multiple") && s.value && s.display) {
|
|
10629
10629
|
if (Array.isArray(s.value)) {
|
|
10630
|
-
const
|
|
10631
|
-
for (let
|
|
10632
|
-
s.display[
|
|
10633
|
-
label: (h = s.display) == null ? void 0 : h[
|
|
10634
|
-
value: s.value[
|
|
10630
|
+
const b = [];
|
|
10631
|
+
for (let w = 0; w < s.value.length; w++)
|
|
10632
|
+
s.display[w] && b.push({
|
|
10633
|
+
label: (h = s.display) == null ? void 0 : h[w],
|
|
10634
|
+
value: s.value[w]
|
|
10635
10635
|
});
|
|
10636
|
-
e.value =
|
|
10636
|
+
e.value = b;
|
|
10637
10637
|
} else
|
|
10638
10638
|
e.value = [
|
|
10639
10639
|
{
|
|
@@ -10644,15 +10644,15 @@ function cn(s) {
|
|
|
10644
10644
|
l.value = Array.isArray(s.display) ? s.display : [s.display];
|
|
10645
10645
|
}
|
|
10646
10646
|
};
|
|
10647
|
-
return i.value &&
|
|
10647
|
+
return i.value && D(), {
|
|
10648
10648
|
options: e,
|
|
10649
|
-
searchHandle:
|
|
10650
|
-
searchLoading:
|
|
10649
|
+
searchHandle: m,
|
|
10650
|
+
searchLoading: y,
|
|
10651
10651
|
readerValue: l,
|
|
10652
10652
|
readOnlyOptions: f,
|
|
10653
10653
|
filterOption: d,
|
|
10654
|
-
getDisplay:
|
|
10655
|
-
updateValueChange:
|
|
10654
|
+
getDisplay: T,
|
|
10655
|
+
updateValueChange: q,
|
|
10656
10656
|
isChange: o,
|
|
10657
10657
|
dropdownVisibleChange: O
|
|
10658
10658
|
};
|
|
@@ -10666,7 +10666,7 @@ const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10666
10666
|
getHttp: yn,
|
|
10667
10667
|
onEngineEvent: nt,
|
|
10668
10668
|
useBaseForm: Jr,
|
|
10669
|
-
useEngine:
|
|
10669
|
+
useEngine: Ie,
|
|
10670
10670
|
useEngineMounted: Xr,
|
|
10671
10671
|
useEngineProvider: un,
|
|
10672
10672
|
useForceUpdate: Yr,
|
|
@@ -10686,9 +10686,9 @@ var ha = { exports: {} }, Zr = function(e, t) {
|
|
|
10686
10686
|
r[i] = arguments[i];
|
|
10687
10687
|
return e.apply(t, r);
|
|
10688
10688
|
};
|
|
10689
|
-
}, vn = Zr,
|
|
10689
|
+
}, vn = Zr, Ce = Object.prototype.toString;
|
|
10690
10690
|
function es(s) {
|
|
10691
|
-
return
|
|
10691
|
+
return Ce.call(s) === "[object Array]";
|
|
10692
10692
|
}
|
|
10693
10693
|
function Wt(s) {
|
|
10694
10694
|
return typeof s > "u";
|
|
@@ -10697,7 +10697,7 @@ function mn(s) {
|
|
|
10697
10697
|
return s !== null && !Wt(s) && s.constructor !== null && !Wt(s.constructor) && typeof s.constructor.isBuffer == "function" && s.constructor.isBuffer(s);
|
|
10698
10698
|
}
|
|
10699
10699
|
function Pn(s) {
|
|
10700
|
-
return
|
|
10700
|
+
return Ce.call(s) === "[object ArrayBuffer]";
|
|
10701
10701
|
}
|
|
10702
10702
|
function gn(s) {
|
|
10703
10703
|
return typeof FormData < "u" && s instanceof FormData;
|
|
@@ -10716,16 +10716,16 @@ function ts(s) {
|
|
|
10716
10716
|
return s !== null && typeof s == "object";
|
|
10717
10717
|
}
|
|
10718
10718
|
function qn(s) {
|
|
10719
|
-
return
|
|
10719
|
+
return Ce.call(s) === "[object Date]";
|
|
10720
10720
|
}
|
|
10721
10721
|
function On(s) {
|
|
10722
|
-
return
|
|
10722
|
+
return Ce.call(s) === "[object File]";
|
|
10723
10723
|
}
|
|
10724
10724
|
function wn(s) {
|
|
10725
|
-
return
|
|
10725
|
+
return Ce.call(s) === "[object Blob]";
|
|
10726
10726
|
}
|
|
10727
10727
|
function as(s) {
|
|
10728
|
-
return
|
|
10728
|
+
return Ce.call(s) === "[object Function]";
|
|
10729
10729
|
}
|
|
10730
10730
|
function An(s) {
|
|
10731
10731
|
return ts(s) && as(s.pipe);
|
|
@@ -10793,7 +10793,7 @@ var ee = {
|
|
|
10793
10793
|
deepMerge: Qt,
|
|
10794
10794
|
extend: Vn,
|
|
10795
10795
|
trim: In
|
|
10796
|
-
},
|
|
10796
|
+
}, be = ee;
|
|
10797
10797
|
function Va(s) {
|
|
10798
10798
|
return encodeURIComponent(s).replace(/%40/gi, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
10799
10799
|
}
|
|
@@ -10803,13 +10803,13 @@ var ss = function(e, t, a) {
|
|
|
10803
10803
|
var r;
|
|
10804
10804
|
if (a)
|
|
10805
10805
|
r = a(t);
|
|
10806
|
-
else if (
|
|
10806
|
+
else if (be.isURLSearchParams(t))
|
|
10807
10807
|
r = t.toString();
|
|
10808
10808
|
else {
|
|
10809
10809
|
var i = [];
|
|
10810
|
-
|
|
10811
|
-
l === null || typeof l > "u" || (
|
|
10812
|
-
|
|
10810
|
+
be.forEach(t, function(l, u) {
|
|
10811
|
+
l === null || typeof l > "u" || (be.isArray(l) ? u = u + "[]" : l = [l], be.forEach(l, function(d) {
|
|
10812
|
+
be.isDate(d) ? d = d.toISOString() : be.isObject(d) && (d = JSON.stringify(d)), i.push(Va(u) + "=" + Va(d));
|
|
10813
10813
|
}));
|
|
10814
10814
|
}), r = i.join("&");
|
|
10815
10815
|
}
|
|
@@ -11043,54 +11043,54 @@ function Ga() {
|
|
|
11043
11043
|
var s = ee, e = Fn(), t = ss, a = Un(), r = Gn(), i = $n(), n = ns();
|
|
11044
11044
|
return Tt = function(l) {
|
|
11045
11045
|
return new Promise(function(p, d) {
|
|
11046
|
-
var
|
|
11047
|
-
s.isFormData(
|
|
11048
|
-
var
|
|
11046
|
+
var y = l.data, m = l.headers;
|
|
11047
|
+
s.isFormData(y) && delete m["Content-Type"];
|
|
11048
|
+
var c = new XMLHttpRequest();
|
|
11049
11049
|
if (l.auth) {
|
|
11050
|
-
var
|
|
11051
|
-
|
|
11050
|
+
var T = l.auth.username || "", q = l.auth.password || "";
|
|
11051
|
+
m.Authorization = "Basic " + btoa(T + ":" + q);
|
|
11052
11052
|
}
|
|
11053
|
-
var
|
|
11054
|
-
if (
|
|
11055
|
-
if (!(!
|
|
11056
|
-
var O = "getAllResponseHeaders" in
|
|
11057
|
-
data:
|
|
11058
|
-
status:
|
|
11059
|
-
statusText:
|
|
11053
|
+
var _ = a(l.baseURL, l.url);
|
|
11054
|
+
if (c.open(l.method.toUpperCase(), t(_, l.params, l.paramsSerializer), !0), c.timeout = l.timeout, c.onreadystatechange = function() {
|
|
11055
|
+
if (!(!c || c.readyState !== 4) && !(c.status === 0 && !(c.responseURL && c.responseURL.indexOf("file:") === 0))) {
|
|
11056
|
+
var O = "getAllResponseHeaders" in c ? r(c.getAllResponseHeaders()) : null, D = !l.responseType || l.responseType === "text" ? c.responseText : c.response, h = {
|
|
11057
|
+
data: D,
|
|
11058
|
+
status: c.status,
|
|
11059
|
+
statusText: c.statusText,
|
|
11060
11060
|
headers: O,
|
|
11061
11061
|
config: l,
|
|
11062
|
-
request:
|
|
11062
|
+
request: c
|
|
11063
11063
|
};
|
|
11064
|
-
e(p, d, h),
|
|
11064
|
+
e(p, d, h), c = null;
|
|
11065
11065
|
}
|
|
11066
|
-
},
|
|
11067
|
-
|
|
11068
|
-
},
|
|
11069
|
-
d(n("Network Error", l, null,
|
|
11070
|
-
},
|
|
11066
|
+
}, c.onabort = function() {
|
|
11067
|
+
c && (d(n("Request aborted", l, "ECONNABORTED", c)), c = null);
|
|
11068
|
+
}, c.onerror = function() {
|
|
11069
|
+
d(n("Network Error", l, null, c)), c = null;
|
|
11070
|
+
}, c.ontimeout = function() {
|
|
11071
11071
|
var O = "timeout of " + l.timeout + "ms exceeded";
|
|
11072
11072
|
l.timeoutErrorMessage && (O = l.timeoutErrorMessage), d(n(
|
|
11073
11073
|
O,
|
|
11074
11074
|
l,
|
|
11075
11075
|
"ECONNABORTED",
|
|
11076
|
-
|
|
11077
|
-
)),
|
|
11076
|
+
c
|
|
11077
|
+
)), c = null;
|
|
11078
11078
|
}, s.isStandardBrowserEnv()) {
|
|
11079
|
-
var
|
|
11080
|
-
f && (
|
|
11079
|
+
var S = jn(), f = (l.withCredentials || i(_)) && l.xsrfCookieName ? S.read(l.xsrfCookieName) : void 0;
|
|
11080
|
+
f && (m[l.xsrfHeaderName] = f);
|
|
11081
11081
|
}
|
|
11082
|
-
if ("setRequestHeader" in
|
|
11083
|
-
typeof
|
|
11084
|
-
}), s.isUndefined(l.withCredentials) || (
|
|
11082
|
+
if ("setRequestHeader" in c && s.forEach(m, function(O, D) {
|
|
11083
|
+
typeof y > "u" && D.toLowerCase() === "content-type" ? delete m[D] : c.setRequestHeader(D, O);
|
|
11084
|
+
}), s.isUndefined(l.withCredentials) || (c.withCredentials = !!l.withCredentials), l.responseType)
|
|
11085
11085
|
try {
|
|
11086
|
-
|
|
11086
|
+
c.responseType = l.responseType;
|
|
11087
11087
|
} catch (v) {
|
|
11088
11088
|
if (l.responseType !== "json")
|
|
11089
11089
|
throw v;
|
|
11090
11090
|
}
|
|
11091
|
-
typeof l.onDownloadProgress == "function" &&
|
|
11092
|
-
|
|
11093
|
-
}),
|
|
11091
|
+
typeof l.onDownloadProgress == "function" && c.addEventListener("progress", l.onDownloadProgress), typeof l.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", l.onUploadProgress), l.cancelToken && l.cancelToken.promise.then(function(O) {
|
|
11092
|
+
c && (c.abort(), d(O), c = null);
|
|
11093
|
+
}), y === void 0 && (y = null), c.send(y);
|
|
11094
11094
|
});
|
|
11095
11095
|
}, Tt;
|
|
11096
11096
|
}
|
|
@@ -11211,13 +11211,13 @@ var Qn = function(e) {
|
|
|
11211
11211
|
typeof t[p] < "u" ? a[p] = t[p] : typeof e[p] < "u" && (a[p] = e[p]);
|
|
11212
11212
|
}), a;
|
|
11213
11213
|
}, rt = ee, Jn = ss, za = Dn, Xn = Qn, us = ls;
|
|
11214
|
-
function
|
|
11214
|
+
function $e(s) {
|
|
11215
11215
|
this.defaults = s, this.interceptors = {
|
|
11216
11216
|
request: new za(),
|
|
11217
11217
|
response: new za()
|
|
11218
11218
|
};
|
|
11219
11219
|
}
|
|
11220
|
-
|
|
11220
|
+
$e.prototype.request = function(e) {
|
|
11221
11221
|
typeof e == "string" ? (e = arguments[1] || {}, e.url = arguments[0]) : e = e || {}, e = us(this.defaults, e), e.method ? e.method = e.method.toLowerCase() : this.defaults.method ? e.method = this.defaults.method.toLowerCase() : e.method = "get";
|
|
11222
11222
|
var t = [Xn, void 0], a = Promise.resolve(e);
|
|
11223
11223
|
for (this.interceptors.request.forEach(function(i) {
|
|
@@ -11228,11 +11228,11 @@ Ue.prototype.request = function(e) {
|
|
|
11228
11228
|
a = a.then(t.shift(), t.shift());
|
|
11229
11229
|
return a;
|
|
11230
11230
|
};
|
|
11231
|
-
|
|
11231
|
+
$e.prototype.getUri = function(e) {
|
|
11232
11232
|
return e = us(this.defaults, e), Jn(e.url, e.params, e.paramsSerializer).replace(/^\?/, "");
|
|
11233
11233
|
};
|
|
11234
11234
|
rt.forEach(["delete", "get", "head", "options"], function(e) {
|
|
11235
|
-
|
|
11235
|
+
$e.prototype[e] = function(t, a) {
|
|
11236
11236
|
return this.request(rt.merge(a || {}, {
|
|
11237
11237
|
method: e,
|
|
11238
11238
|
url: t
|
|
@@ -11240,7 +11240,7 @@ rt.forEach(["delete", "get", "head", "options"], function(e) {
|
|
|
11240
11240
|
};
|
|
11241
11241
|
});
|
|
11242
11242
|
rt.forEach(["post", "put", "patch"], function(e) {
|
|
11243
|
-
|
|
11243
|
+
$e.prototype[e] = function(t, a, r) {
|
|
11244
11244
|
return this.request(rt.merge(r || {}, {
|
|
11245
11245
|
method: e,
|
|
11246
11246
|
url: t,
|
|
@@ -11248,7 +11248,7 @@ rt.forEach(["post", "put", "patch"], function(e) {
|
|
|
11248
11248
|
}));
|
|
11249
11249
|
};
|
|
11250
11250
|
});
|
|
11251
|
-
var Yn =
|
|
11251
|
+
var Yn = $e, wt, Ka;
|
|
11252
11252
|
function ps() {
|
|
11253
11253
|
if (Ka)
|
|
11254
11254
|
return wt;
|
|
@@ -11304,23 +11304,23 @@ function ds(s) {
|
|
|
11304
11304
|
var e = new Xe(s), t = to(Xe.prototype.request, e);
|
|
11305
11305
|
return Ja.extend(t, Xe.prototype, e), Ja.extend(t, e), t;
|
|
11306
11306
|
}
|
|
11307
|
-
var
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
return ds(ao(
|
|
11307
|
+
var le = ds(ro);
|
|
11308
|
+
le.Axios = Xe;
|
|
11309
|
+
le.create = function(e) {
|
|
11310
|
+
return ds(ao(le.defaults, e));
|
|
11311
11311
|
};
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11312
|
+
le.Cancel = ps();
|
|
11313
|
+
le.CancelToken = Zn();
|
|
11314
|
+
le.isCancel = is();
|
|
11315
|
+
le.all = function(e) {
|
|
11316
11316
|
return Promise.all(e);
|
|
11317
11317
|
};
|
|
11318
|
-
|
|
11319
|
-
ha.exports =
|
|
11320
|
-
ha.exports.default =
|
|
11318
|
+
le.spread = eo();
|
|
11319
|
+
ha.exports = le;
|
|
11320
|
+
ha.exports.default = le;
|
|
11321
11321
|
var so = ha.exports, io = so;
|
|
11322
11322
|
const no = /* @__PURE__ */ fn(io);
|
|
11323
|
-
function
|
|
11323
|
+
function we(s) {
|
|
11324
11324
|
return Object.assign(
|
|
11325
11325
|
{
|
|
11326
11326
|
vue: Mr,
|
|
@@ -11331,7 +11331,7 @@ function qe(s) {
|
|
|
11331
11331
|
moment: Gr,
|
|
11332
11332
|
lodash: yi,
|
|
11333
11333
|
axios: no,
|
|
11334
|
-
decimal:
|
|
11334
|
+
decimal: _e,
|
|
11335
11335
|
"@byteluck-fe/custom-control-sdk/main": on,
|
|
11336
11336
|
"@byteluck-fe/custom-control-sdk/runtime": hn,
|
|
11337
11337
|
"@byteluck-fe/global-shared": jt,
|
|
@@ -11419,16 +11419,16 @@ const Ya = [
|
|
|
11419
11419
|
Ya.concat(
|
|
11420
11420
|
Ya.map((s) => s.toLocaleUpperCase())
|
|
11421
11421
|
);
|
|
11422
|
-
let
|
|
11422
|
+
let Te = null;
|
|
11423
11423
|
async function cs() {
|
|
11424
|
-
|
|
11424
|
+
Te || (Te = document.createElement("input"), Te.style.display = "none", document.body.appendChild(Te)), document.activeElement?.blur?.(), window.tinyMCE?.activeEditor && window.tinyMCE?.activeEditor.save?.(), document.body.click(), Te.focus(), Te.blur(), await Hr();
|
|
11425
11425
|
}
|
|
11426
11426
|
var z = /* @__PURE__ */ ((s) => (s[s.NONE = 0] = "NONE", s[s.HIDDEN = 1] = "HIDDEN", s[s.READONLY = 2] = "READONLY", s[s.EDIT = 6] = "EDIT", s[s.READONLY_NOT_REQUIRED = 8] = "READONLY_NOT_REQUIRED", s[s.EDIT_NOT_REQUIRED = 24] = "EDIT_NOT_REQUIRED", s[s.EDIT_REQUIRE = 56] = "EDIT_REQUIRE", s))(z || {});
|
|
11427
11427
|
function Za(s, e) {
|
|
11428
11428
|
return e?.length ? e.find((t) => t.ctrl_id === s)?.ctrl_behavior !== z.HIDDEN : !0;
|
|
11429
11429
|
}
|
|
11430
11430
|
function er(s, e, t, a) {
|
|
11431
|
-
return s.assertInstance(t, g.SCORE) && e === t.props.defaultValue ? !0 : s.assertInstance(t, g.CALC) ? a === "unit" || a === "result" && e === 0 : s.assertInstance(t, g.AMOUNT) && a === "currency" ? !0 : it(e) ||
|
|
11431
|
+
return s.assertInstance(t, g.SCORE) && e === t.props.defaultValue ? !0 : s.assertInstance(t, g.CALC) ? a === "unit" || a === "result" && e === 0 : s.assertInstance(t, g.AMOUNT) && a === "currency" ? !0 : it(e) || ne(e) ? e.length === 0 : !1;
|
|
11432
11432
|
}
|
|
11433
11433
|
function oo(s) {
|
|
11434
11434
|
return s.city === "" && s.district === "" && s.province === "";
|
|
@@ -11436,10 +11436,10 @@ function oo(s) {
|
|
|
11436
11436
|
function je(s, e) {
|
|
11437
11437
|
let t = s;
|
|
11438
11438
|
switch (e) {
|
|
11439
|
-
case
|
|
11440
|
-
t = s === void 0 || oo(s) ? "" :
|
|
11439
|
+
case ie.ADDRESS:
|
|
11440
|
+
t = s === void 0 || oo(s) ? "" : $(s);
|
|
11441
11441
|
break;
|
|
11442
|
-
case
|
|
11442
|
+
case ie.BIGINT:
|
|
11443
11443
|
t = s || s === 0 || s === "0" ? Number(s) : null;
|
|
11444
11444
|
break;
|
|
11445
11445
|
}
|
|
@@ -11448,90 +11448,90 @@ function je(s, e) {
|
|
|
11448
11448
|
function ys(s, e, t, a) {
|
|
11449
11449
|
const r = bs(s), i = [], n = [];
|
|
11450
11450
|
Object.keys(s.getControlIdMapping()).map((d) => {
|
|
11451
|
-
const
|
|
11452
|
-
if (
|
|
11453
|
-
const
|
|
11451
|
+
const y = s.getControlIdMapping()[d], m = s.getInstance(d);
|
|
11452
|
+
if (y.children === void 0) {
|
|
11453
|
+
const c = s.getState(e);
|
|
11454
11454
|
if (!Za(d, a))
|
|
11455
11455
|
return;
|
|
11456
|
-
if (
|
|
11457
|
-
const
|
|
11458
|
-
code:
|
|
11456
|
+
if (Fe(y.dataBind)) {
|
|
11457
|
+
const q = y.dataBind.fieldCode, _ = y.dataBind.fieldType, S = {
|
|
11458
|
+
code: q,
|
|
11459
11459
|
field_type: "",
|
|
11460
11460
|
value: je(
|
|
11461
|
-
|
|
11462
|
-
|
|
11461
|
+
c[d],
|
|
11462
|
+
_ || m.fieldType
|
|
11463
11463
|
)
|
|
11464
11464
|
};
|
|
11465
|
-
i.push(
|
|
11465
|
+
i.push(S);
|
|
11466
11466
|
} else
|
|
11467
|
-
Object.keys(
|
|
11468
|
-
const
|
|
11467
|
+
Object.keys(y.dataBind).map((q) => {
|
|
11468
|
+
const _ = y.dataBind[q], S = _.fieldCode, f = _.fieldType;
|
|
11469
11469
|
let v;
|
|
11470
|
-
const O =
|
|
11470
|
+
const O = c[d];
|
|
11471
11471
|
try {
|
|
11472
11472
|
v = je(
|
|
11473
|
-
O[
|
|
11474
|
-
f ||
|
|
11473
|
+
O[q],
|
|
11474
|
+
f || m.fieldType
|
|
11475
11475
|
);
|
|
11476
11476
|
} catch {
|
|
11477
11477
|
debugger;
|
|
11478
11478
|
}
|
|
11479
|
-
const
|
|
11480
|
-
code:
|
|
11479
|
+
const D = {
|
|
11480
|
+
code: S,
|
|
11481
11481
|
field_type: "",
|
|
11482
11482
|
value: v
|
|
11483
11483
|
};
|
|
11484
|
-
i.push(
|
|
11484
|
+
i.push(D);
|
|
11485
11485
|
});
|
|
11486
11486
|
} else {
|
|
11487
|
-
const
|
|
11488
|
-
data_code:
|
|
11489
|
-
delete_ids:
|
|
11487
|
+
const c = !!s?.externalParams?.uId && K.isPc(), T = s.rawStore.DELETE_IDS, q = s.rawStore.UPDATE_IDS, _ = {
|
|
11488
|
+
data_code: y.dataBind.dataCode.toString(),
|
|
11489
|
+
delete_ids: T[d] ?? [],
|
|
11490
11490
|
values: []
|
|
11491
11491
|
};
|
|
11492
|
-
let
|
|
11493
|
-
|
|
11492
|
+
let S = s.getState(d);
|
|
11493
|
+
c && (S = S.filter((f) => {
|
|
11494
11494
|
const v = String(f.uid ?? "");
|
|
11495
|
-
return (
|
|
11496
|
-
})),
|
|
11495
|
+
return (q[d] ?? []).includes(v) || v.startsWith("new:uid");
|
|
11496
|
+
})), S.map((f) => {
|
|
11497
11497
|
let v = String(f.uid ?? "");
|
|
11498
11498
|
v.startsWith("new:uid") && (v = "");
|
|
11499
11499
|
const O = {
|
|
11500
11500
|
row_data: [],
|
|
11501
11501
|
uid: v,
|
|
11502
11502
|
subtable_data_set: []
|
|
11503
|
-
},
|
|
11504
|
-
Object.keys(
|
|
11505
|
-
const
|
|
11503
|
+
}, D = [];
|
|
11504
|
+
Object.keys(y.children ?? {}).map((h) => {
|
|
11505
|
+
const b = s.getInstance(h), w = f[h], P = y.children[h].dataBind;
|
|
11506
11506
|
if (Za(h, a))
|
|
11507
|
-
if (
|
|
11508
|
-
const I = P.fieldCode, C = P.fieldType ||
|
|
11507
|
+
if (Fe(P)) {
|
|
11508
|
+
const I = P.fieldCode, C = P.fieldType || b.fieldType, R = {
|
|
11509
11509
|
code: I,
|
|
11510
11510
|
value: je(
|
|
11511
|
-
|
|
11512
|
-
C ||
|
|
11511
|
+
w,
|
|
11512
|
+
C || b.fieldType
|
|
11513
11513
|
)
|
|
11514
11514
|
};
|
|
11515
|
-
er(s, R.value,
|
|
11515
|
+
er(s, R.value, b) && D.push(I), O.row_data.push(R);
|
|
11516
11516
|
} else
|
|
11517
|
-
|
|
11518
|
-
const C = P[I].fieldCode, R = P[I].fieldType ||
|
|
11517
|
+
Fe(P) || Object.keys(P).map((I) => {
|
|
11518
|
+
const C = P[I].fieldCode, R = P[I].fieldType || b.fieldType, V = {
|
|
11519
11519
|
code: C,
|
|
11520
11520
|
value: je(
|
|
11521
|
-
|
|
11522
|
-
R ||
|
|
11521
|
+
w[I],
|
|
11522
|
+
R || b.fieldType
|
|
11523
11523
|
)
|
|
11524
11524
|
};
|
|
11525
|
-
er(s, V.value,
|
|
11525
|
+
er(s, V.value, b, I) && D.push(C), O.row_data.push(V);
|
|
11526
11526
|
});
|
|
11527
|
-
}), !(!O.uid &&
|
|
11527
|
+
}), !(!O.uid && D.length === O.row_data.length) && (f.virtualStore && (f.virtualStore.data_set.values.map(
|
|
11528
11528
|
(h) => {
|
|
11529
11529
|
O.row_data.find(
|
|
11530
|
-
(
|
|
11530
|
+
(w) => w.code === h.code
|
|
11531
11531
|
) === void 0 && O.row_data.push(h);
|
|
11532
11532
|
}
|
|
11533
|
-
), O.subtable_data_set = f.virtualStore.subtable_data_set),
|
|
11534
|
-
}), n.push(
|
|
11533
|
+
), O.subtable_data_set = f.virtualStore.subtable_data_set), _.values?.push(O));
|
|
11534
|
+
}), n.push(_);
|
|
11535
11535
|
}
|
|
11536
11536
|
});
|
|
11537
11537
|
const o = s?.externalParams?.data;
|
|
@@ -11541,7 +11541,7 @@ function ys(s, e, t, a) {
|
|
|
11541
11541
|
});
|
|
11542
11542
|
const l = s?.externalParams?.url;
|
|
11543
11543
|
l?.dataOrigin === "sublist" && i.find(
|
|
11544
|
-
(
|
|
11544
|
+
(y) => y.code === l?.relation_key
|
|
11545
11545
|
) === void 0 && i.push({
|
|
11546
11546
|
code: l?.relation_key,
|
|
11547
11547
|
value: l?.relation_uid
|
|
@@ -11632,8 +11632,8 @@ const st = {
|
|
|
11632
11632
|
});
|
|
11633
11633
|
}
|
|
11634
11634
|
};
|
|
11635
|
-
var
|
|
11636
|
-
function
|
|
11635
|
+
var F = /* @__PURE__ */ ((s) => (s.SUCCESS = "000000", s.NO_AUTH = "1202106", s.NOT_AUTH = "617000", s.NOT_AUTH_EXTERNAL = "617033", s.NOT_FOUND = "617001", s.FORM_NOT_FOUND = "617011", s.FORM_NOT_ENABLE = "617035", s.FORM_NOT_IN_TIME = "617037", s.TABLE_NO_DELETE = "617039", s.LIGHT_APP_STOPPED = "501", s))(F || {});
|
|
11636
|
+
function L() {
|
|
11637
11637
|
return window.VUE_APP;
|
|
11638
11638
|
}
|
|
11639
11639
|
const lo = {
|
|
@@ -11678,15 +11678,15 @@ class pt {
|
|
|
11678
11678
|
const l = await e.call(this.service, {
|
|
11679
11679
|
payload: t
|
|
11680
11680
|
});
|
|
11681
|
-
if (l.code ===
|
|
11681
|
+
if (l.code === F.SUCCESS) {
|
|
11682
11682
|
const u = a?.(l) ?? l;
|
|
11683
11683
|
return r && (n?.(u), this.cacheResult[i] = u), u;
|
|
11684
11684
|
} else
|
|
11685
|
-
l.code === "1201702" && JSON.parse(sessionStorage.getItem("flag") || "true") && (sessionStorage.setItem("flag", "false"), K.isPc() ? (
|
|
11685
|
+
l.code === "1201702" && JSON.parse(sessionStorage.getItem("flag") || "true") && (sessionStorage.setItem("flag", "false"), K.isPc() ? (L().config.globalProperties.$message.error({
|
|
11686
11686
|
content: l.message
|
|
11687
11687
|
}), setTimeout(() => {
|
|
11688
11688
|
sessionStorage.setItem("flag", "true");
|
|
11689
|
-
}, 3e3)) :
|
|
11689
|
+
}, 3e3)) : L().config.globalProperties.$toast({ message: l.message })), o?.(l);
|
|
11690
11690
|
}
|
|
11691
11691
|
}
|
|
11692
11692
|
async function hs({
|
|
@@ -11699,57 +11699,57 @@ async function hs({
|
|
|
11699
11699
|
}) {
|
|
11700
11700
|
const n = he(), o = {}, l = {}, u = {}, p = {}, d = te(t);
|
|
11701
11701
|
return delete d.process_param, await Promise.all(
|
|
11702
|
-
Object.keys(s.getControlIdMapping()).map(async (
|
|
11703
|
-
if (s.getControlIdMapping()[
|
|
11704
|
-
let
|
|
11705
|
-
const
|
|
11706
|
-
instance: s.getInstances(
|
|
11707
|
-
value:
|
|
11702
|
+
Object.keys(s.getControlIdMapping()).map(async (y) => {
|
|
11703
|
+
if (s.getControlIdMapping()[y].children !== void 0 && (!i || s.getControlIdMapping()[y]?.dataBind?.dataCode === i)) {
|
|
11704
|
+
let m = JSON.parse(JSON.stringify(d.query_conditions));
|
|
11705
|
+
const c = await s.emit("list-search", {
|
|
11706
|
+
instance: s.getInstances(y)[0],
|
|
11707
|
+
value: m
|
|
11708
11708
|
});
|
|
11709
|
-
if (
|
|
11710
|
-
const O =
|
|
11711
|
-
O[0] !== void 0 && (
|
|
11709
|
+
if (c.length > 0 && c[0].length > 0) {
|
|
11710
|
+
const O = c[0];
|
|
11711
|
+
O[0] !== void 0 && (m = O[0]);
|
|
11712
11712
|
}
|
|
11713
|
-
const
|
|
11714
|
-
d.sub_data_code =
|
|
11715
|
-
const
|
|
11716
|
-
orders:
|
|
11717
|
-
|
|
11713
|
+
const T = s.getInstance(y)?.props, q = T.datasourceBind.dataCode;
|
|
11714
|
+
d.sub_data_code = q, d.main_uid = e;
|
|
11715
|
+
const S = {
|
|
11716
|
+
orders: $(
|
|
11717
|
+
T.datasourceBind.orders
|
|
11718
11718
|
),
|
|
11719
11719
|
query: {
|
|
11720
11720
|
...d,
|
|
11721
|
-
query_conditions:
|
|
11721
|
+
query_conditions: m
|
|
11722
11722
|
},
|
|
11723
11723
|
page: {
|
|
11724
11724
|
page_index: a?.page_index ?? 1,
|
|
11725
|
-
page_size: a?.page_size ?? (
|
|
11725
|
+
page_size: a?.page_size ?? (T?.serverPagination ? 10 : 2e3)
|
|
11726
11726
|
}
|
|
11727
11727
|
}, f = await n.default.ListDataSubtablePagePrivateV1ApiAppsPOST({
|
|
11728
|
-
payload:
|
|
11728
|
+
payload: S
|
|
11729
11729
|
});
|
|
11730
|
-
o[
|
|
11731
|
-
const
|
|
11732
|
-
|
|
11733
|
-
h[
|
|
11734
|
-
}), o[
|
|
11735
|
-
}), p[
|
|
11730
|
+
o[q] = [], l[q] = [], f.data?.rows?.map((O) => {
|
|
11731
|
+
const D = O.row_data, h = {}, b = {};
|
|
11732
|
+
D?.map((w) => {
|
|
11733
|
+
h[w.code ?? "unknown"] = w.value, b[w.code ?? "unknown"] = w.display;
|
|
11734
|
+
}), o[q].push(h), l[q].push(b);
|
|
11735
|
+
}), p[y] = f.data?.rows;
|
|
11736
11736
|
const v = await s.emit("list-mounted", {
|
|
11737
|
-
instance: s.getInstances(
|
|
11738
|
-
value: o[
|
|
11737
|
+
instance: s.getInstances(y)[0],
|
|
11738
|
+
value: o[q]
|
|
11739
11739
|
});
|
|
11740
11740
|
if (v.length > 0 && v[0].length > 0) {
|
|
11741
11741
|
const O = v[0];
|
|
11742
11742
|
if (O[0] !== void 0) {
|
|
11743
|
-
o[
|
|
11744
|
-
const
|
|
11745
|
-
l[
|
|
11746
|
-
(h) =>
|
|
11747
|
-
), p[
|
|
11748
|
-
(h) =>
|
|
11743
|
+
o[q] = O[0];
|
|
11744
|
+
const D = o[q].map((h) => h.uid);
|
|
11745
|
+
l[q] = l[q].filter(
|
|
11746
|
+
(h) => D.includes(h.uid)
|
|
11747
|
+
), p[y] = p[y].filter(
|
|
11748
|
+
(h) => D.includes(h.uid)
|
|
11749
11749
|
);
|
|
11750
11750
|
}
|
|
11751
11751
|
}
|
|
11752
|
-
u.pagination = { [
|
|
11752
|
+
u.pagination = { [y]: f.data?.page };
|
|
11753
11753
|
}
|
|
11754
11754
|
})
|
|
11755
11755
|
), { subDataSet: o, orginData: p, subDataDisplay: l, subDataPagination: u };
|
|
@@ -11812,8 +11812,8 @@ async function uo(s) {
|
|
|
11812
11812
|
r.orginData
|
|
11813
11813
|
);
|
|
11814
11814
|
for (let d = 0; d < u.length; d++)
|
|
11815
|
-
for (const
|
|
11816
|
-
tt.handleAllDisplayData(
|
|
11815
|
+
for (const y of p[d])
|
|
11816
|
+
tt.handleAllDisplayData(y.row_data, u[d]);
|
|
11817
11817
|
}
|
|
11818
11818
|
const i = a ?? {
|
|
11819
11819
|
data_set: {}
|
|
@@ -11826,8 +11826,8 @@ async function uo(s) {
|
|
|
11826
11826
|
if (r) {
|
|
11827
11827
|
const u = r;
|
|
11828
11828
|
Object.entries(u.subDataSet).forEach(([p, d]) => {
|
|
11829
|
-
const
|
|
11830
|
-
u.subDataSet[p] =
|
|
11829
|
+
const y = d;
|
|
11830
|
+
u.subDataSet[p] = y;
|
|
11831
11831
|
}), Object.assign(o.dataSet, u.subDataSet), Object.assign(
|
|
11832
11832
|
l,
|
|
11833
11833
|
u.subDataDisplay,
|
|
@@ -11838,7 +11838,7 @@ async function uo(s) {
|
|
|
11838
11838
|
});
|
|
11839
11839
|
}
|
|
11840
11840
|
s.isCopyPage && (st.resetDataSet(o.dataSet), st.resetDataSet(l)), await M(e)?.emit("custom:setSearchCache", { value: !0 }), M(e).setData(o.dataSet), setTimeout(() => {
|
|
11841
|
-
|
|
11841
|
+
Ae(() => {
|
|
11842
11842
|
M(e)?.emit("custom:setSearchCache", { value: !1 });
|
|
11843
11843
|
});
|
|
11844
11844
|
}, 1e3), vs(e, i.data_set.values, n), s.setLoading && setTimeout(() => s.setLoading(!1), 300), await M(e)?.emit("custom:beforeEngineMounted", {
|
|
@@ -11877,7 +11877,7 @@ async function co(s) {
|
|
|
11877
11877
|
}), t = a.orginData;
|
|
11878
11878
|
const r = s.context?.getState("DISPLAY"), i = Object.assign({}, { ...r }, a.subDataDisplay);
|
|
11879
11879
|
s.context?.setState("DISPLAY", Object.freeze(i)), await s.context?.emit("custom:setSearchCache", { value: !0 }), s.context?.setData(a.subDataSet), setTimeout(() => {
|
|
11880
|
-
|
|
11880
|
+
Ae(() => {
|
|
11881
11881
|
s.context?.emit("custom:setSearchCache", { value: !1 });
|
|
11882
11882
|
});
|
|
11883
11883
|
}, 1e3), po(s.context, t), s.setLoading && setTimeout(() => s.setLoading(!1), 300);
|
|
@@ -11888,11 +11888,11 @@ function yo(s) {
|
|
|
11888
11888
|
s.type === "conditions"
|
|
11889
11889
|
);
|
|
11890
11890
|
}
|
|
11891
|
-
function
|
|
11891
|
+
function ge(s, e, t, a, r) {
|
|
11892
11892
|
const i = a ?? [], n = [];
|
|
11893
11893
|
return e.forEach((o) => {
|
|
11894
11894
|
if (yo(o))
|
|
11895
|
-
|
|
11895
|
+
ge(
|
|
11896
11896
|
s,
|
|
11897
11897
|
o.children,
|
|
11898
11898
|
t,
|
|
@@ -11908,18 +11908,18 @@ function Pe(s, e, t, a, r) {
|
|
|
11908
11908
|
const d = s.getDataBind(p);
|
|
11909
11909
|
if (!d)
|
|
11910
11910
|
return;
|
|
11911
|
-
let
|
|
11912
|
-
if (s.getInstance(p)?.parent?.type === "subtable-column" ?
|
|
11911
|
+
let y;
|
|
11912
|
+
if (s.getInstance(p)?.parent?.type === "subtable-column" ? y = s.getState(p, t) : y = s.getState(p), Fe(d)) {
|
|
11913
11913
|
if (n.includes(d.fieldCode))
|
|
11914
11914
|
return;
|
|
11915
|
-
i.push({ code: d.fieldCode, value:
|
|
11915
|
+
i.push({ code: d.fieldCode, value: y }), n.push(d.fieldCode);
|
|
11916
11916
|
} else
|
|
11917
|
-
Object.keys(d).map((
|
|
11918
|
-
const
|
|
11919
|
-
n.includes(
|
|
11920
|
-
code:
|
|
11921
|
-
value: c
|
|
11922
|
-
}), n.push(
|
|
11917
|
+
Object.keys(d).map((c) => {
|
|
11918
|
+
const T = d[c];
|
|
11919
|
+
n.includes(T.fieldCode) || (i.push({
|
|
11920
|
+
code: T.fieldCode,
|
|
11921
|
+
value: y[c]
|
|
11922
|
+
}), n.push(T.fieldCode));
|
|
11923
11923
|
});
|
|
11924
11924
|
});
|
|
11925
11925
|
}
|
|
@@ -11946,15 +11946,15 @@ Number.prototype.toFixed = function(s = 0) {
|
|
|
11946
11946
|
return s > 0 ? `${a}.${fo(r, s)}` : a;
|
|
11947
11947
|
};
|
|
11948
11948
|
const vo = function(s, e) {
|
|
11949
|
-
return new
|
|
11949
|
+
return new _e(s).plus(e).valueOf();
|
|
11950
11950
|
}, mo = function(s, e) {
|
|
11951
|
-
return new
|
|
11951
|
+
return new _e(s).minus(e).valueOf();
|
|
11952
11952
|
}, Po = function(s, e) {
|
|
11953
|
-
return new
|
|
11953
|
+
return new _e(s).times(e).valueOf();
|
|
11954
11954
|
}, go = function(s, e) {
|
|
11955
|
-
return new
|
|
11955
|
+
return new _e(s).div(e).valueOf();
|
|
11956
11956
|
}, So = function(s, e) {
|
|
11957
|
-
return new
|
|
11957
|
+
return new _e(s).toFixed(e);
|
|
11958
11958
|
};
|
|
11959
11959
|
function bo() {
|
|
11960
11960
|
const { proxy: s } = Br();
|
|
@@ -12192,7 +12192,7 @@ function Eo(s, e) {
|
|
|
12192
12192
|
};
|
|
12193
12193
|
}
|
|
12194
12194
|
}
|
|
12195
|
-
var ms = "FunctionExpression",
|
|
12195
|
+
var ms = "FunctionExpression", me = /* @__PURE__ */ function() {
|
|
12196
12196
|
function s(e, t) {
|
|
12197
12197
|
Co(this, s), Ye(this, "name", void 0), Ye(this, "type", void 0), Ye(this, "arguments", void 0), this.name = e, this.type = ms, this.arguments = t;
|
|
12198
12198
|
}
|
|
@@ -12237,7 +12237,7 @@ var ms = "FunctionExpression", ve = /* @__PURE__ */ function() {
|
|
|
12237
12237
|
}
|
|
12238
12238
|
]), s;
|
|
12239
12239
|
}();
|
|
12240
|
-
Ye(
|
|
12240
|
+
Ye(me, "HandlerMap", /* @__PURE__ */ new Map());
|
|
12241
12241
|
function Do(s) {
|
|
12242
12242
|
return s.type === ms;
|
|
12243
12243
|
}
|
|
@@ -12301,7 +12301,7 @@ function lr(s, e) {
|
|
|
12301
12301
|
function xo(s, e, t) {
|
|
12302
12302
|
return e && lr(s.prototype, e), t && lr(s, t), s;
|
|
12303
12303
|
}
|
|
12304
|
-
function
|
|
12304
|
+
function xe(s, e, t) {
|
|
12305
12305
|
return e in s ? Object.defineProperty(s, e, {
|
|
12306
12306
|
value: t,
|
|
12307
12307
|
enumerable: !0,
|
|
@@ -12309,9 +12309,9 @@ function Re(s, e, t) {
|
|
|
12309
12309
|
writable: !0
|
|
12310
12310
|
}) : s[e] = t, s;
|
|
12311
12311
|
}
|
|
12312
|
-
var gs = "VariableExpression",
|
|
12312
|
+
var gs = "VariableExpression", Le = /* @__PURE__ */ function() {
|
|
12313
12313
|
function s(e) {
|
|
12314
|
-
Mo(this, s),
|
|
12314
|
+
Mo(this, s), xe(this, "name", void 0), xe(this, "type", void 0), xe(this, "variableName", void 0), xe(this, "keys", void 0), this.name = e, this.type = gs;
|
|
12315
12315
|
var t = e.split(".");
|
|
12316
12316
|
this.variableName = t.shift(), this.keys = t;
|
|
12317
12317
|
}
|
|
@@ -12337,7 +12337,7 @@ var gs = "VariableExpression", Be = /* @__PURE__ */ function() {
|
|
|
12337
12337
|
}
|
|
12338
12338
|
]), s;
|
|
12339
12339
|
}();
|
|
12340
|
-
|
|
12340
|
+
xe(Le, "HandlerMap", /* @__PURE__ */ new Map());
|
|
12341
12341
|
function Bo(s) {
|
|
12342
12342
|
return s.type === gs;
|
|
12343
12343
|
}
|
|
@@ -12540,11 +12540,11 @@ var Ss = "Expressions", va = /* @__PURE__ */ function() {
|
|
|
12540
12540
|
new Function("return ".concat(o.join(""))).apply(this, He(u))
|
|
12541
12541
|
];
|
|
12542
12542
|
} catch {
|
|
12543
|
-
return o.forEach(function(
|
|
12543
|
+
return o.forEach(function(y) {
|
|
12544
12544
|
try {
|
|
12545
|
-
n += new Function("return ".concat(
|
|
12546
|
-
} catch (
|
|
12547
|
-
throw new Error('Error evaluating expressions "'.concat(
|
|
12545
|
+
n += new Function("return ".concat(y)).apply(i, He(u));
|
|
12546
|
+
} catch (m) {
|
|
12547
|
+
throw new Error('Error evaluating expressions "'.concat(y, '" error: ').concat(m.message));
|
|
12548
12548
|
}
|
|
12549
12549
|
}), [
|
|
12550
12550
|
2,
|
|
@@ -12672,43 +12672,43 @@ function Yo(s, e) {
|
|
|
12672
12672
|
var Zo = /^\$\{([_a-zA-Z][_a-zA-Z.\d]+)}/, el = /\n+\s*/g, yr = /^\".*?\"/;
|
|
12673
12673
|
function ma(s) {
|
|
12674
12674
|
for (var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = function() {
|
|
12675
|
-
|
|
12675
|
+
m && (y.push(new nr(m)), m = "");
|
|
12676
12676
|
}, a = (
|
|
12677
12677
|
// STRING_REGEXP
|
|
12678
|
-
function(
|
|
12678
|
+
function(S) {
|
|
12679
12679
|
t();
|
|
12680
|
-
var f = It(Array.from(
|
|
12681
|
-
|
|
12680
|
+
var f = It(Array.from(S.match(yr)), 1), v = f[0];
|
|
12681
|
+
y.push(new nr(v)), d += v.length;
|
|
12682
12682
|
}
|
|
12683
|
-
), r = function(
|
|
12683
|
+
), r = function(S) {
|
|
12684
12684
|
t();
|
|
12685
|
-
var f = It(Array.from(
|
|
12686
|
-
|
|
12687
|
-
}, i = function(
|
|
12688
|
-
var f = It(Array.from(
|
|
12685
|
+
var f = It(Array.from(S.match(u)), 2), v = f[0], O = f[1];
|
|
12686
|
+
y.push(new Le(O)), d += v.length;
|
|
12687
|
+
}, i = function(S) {
|
|
12688
|
+
var f = It(Array.from(S.match(p)), 2), v = f[1];
|
|
12689
12689
|
t();
|
|
12690
|
-
var O = Wo(
|
|
12691
|
-
var P = ma(
|
|
12690
|
+
var O = Wo(S.slice(v.length)), D = O.argsExpression, h = O.end, b = D.map(function(w) {
|
|
12691
|
+
var P = ma(w, e);
|
|
12692
12692
|
return new va(P);
|
|
12693
12693
|
});
|
|
12694
|
-
|
|
12695
|
-
}, n = e.functionKeywords, o = n === void 0 ? [] : n, l = e.variableRegexp, u = l === void 0 ? Zo : l, p = new RegExp("^(".concat(o.join("|"), ")\\s*\\(.*?\\)")), d = 0,
|
|
12696
|
-
var
|
|
12697
|
-
if (yr.test(
|
|
12698
|
-
a(
|
|
12694
|
+
y.push(new me(v, b)), d += v.length + h + 1;
|
|
12695
|
+
}, n = e.functionKeywords, o = n === void 0 ? [] : n, l = e.variableRegexp, u = l === void 0 ? Zo : l, p = new RegExp("^(".concat(o.join("|"), ")\\s*\\(.*?\\)")), d = 0, y = [], m = "", c = s.replaceAll(el, " "); d < c.length; ) {
|
|
12696
|
+
var T = c.charAt(d), q = c.substring(d);
|
|
12697
|
+
if (yr.test(q)) {
|
|
12698
|
+
a(q);
|
|
12699
12699
|
continue;
|
|
12700
12700
|
}
|
|
12701
|
-
if (u.test(
|
|
12702
|
-
r(
|
|
12701
|
+
if (u.test(q)) {
|
|
12702
|
+
r(q);
|
|
12703
12703
|
continue;
|
|
12704
12704
|
}
|
|
12705
|
-
if (o.length && p.test(
|
|
12706
|
-
i(
|
|
12705
|
+
if (o.length && p.test(q)) {
|
|
12706
|
+
i(q);
|
|
12707
12707
|
continue;
|
|
12708
12708
|
}
|
|
12709
|
-
|
|
12709
|
+
m += T, d++;
|
|
12710
12710
|
}
|
|
12711
|
-
return t(),
|
|
12711
|
+
return t(), y;
|
|
12712
12712
|
}
|
|
12713
12713
|
function hr(s, e, t, a, r, i, n) {
|
|
12714
12714
|
try {
|
|
@@ -12931,7 +12931,7 @@ var k = /* @__PURE__ */ function() {
|
|
|
12931
12931
|
{
|
|
12932
12932
|
key: "parser",
|
|
12933
12933
|
value: function(t) {
|
|
12934
|
-
var a = _o(
|
|
12934
|
+
var a = _o(me.HandlerMap, this.handlers.FunctionExpression);
|
|
12935
12935
|
return ma(t, {
|
|
12936
12936
|
functionKeywords: a
|
|
12937
12937
|
});
|
|
@@ -13001,43 +13001,43 @@ var k = /* @__PURE__ */ function() {
|
|
|
13001
13001
|
{
|
|
13002
13002
|
key: "addVariable",
|
|
13003
13003
|
value: function(t, a) {
|
|
13004
|
-
|
|
13004
|
+
Le.HandlerMap.set(t, a);
|
|
13005
13005
|
}
|
|
13006
13006
|
},
|
|
13007
13007
|
{
|
|
13008
13008
|
key: "deleteVariable",
|
|
13009
13009
|
value: function(t) {
|
|
13010
|
-
|
|
13010
|
+
Le.HandlerMap.delete(t);
|
|
13011
13011
|
}
|
|
13012
13012
|
},
|
|
13013
13013
|
{
|
|
13014
13014
|
key: "clearVariables",
|
|
13015
13015
|
value: function() {
|
|
13016
|
-
|
|
13016
|
+
Le.HandlerMap.clear();
|
|
13017
13017
|
}
|
|
13018
13018
|
},
|
|
13019
13019
|
{
|
|
13020
13020
|
key: "addFunction",
|
|
13021
13021
|
value: function(t, a) {
|
|
13022
|
-
|
|
13022
|
+
me.HandlerMap.set(t, a);
|
|
13023
13023
|
}
|
|
13024
13024
|
},
|
|
13025
13025
|
{
|
|
13026
13026
|
key: "deleteFunction",
|
|
13027
13027
|
value: function(t) {
|
|
13028
|
-
|
|
13028
|
+
me.HandlerMap.delete(t);
|
|
13029
13029
|
}
|
|
13030
13030
|
},
|
|
13031
13031
|
{
|
|
13032
13032
|
key: "clearFunctions",
|
|
13033
13033
|
value: function() {
|
|
13034
|
-
|
|
13034
|
+
me.HandlerMap.clear();
|
|
13035
13035
|
}
|
|
13036
13036
|
}
|
|
13037
13037
|
]), s;
|
|
13038
13038
|
}();
|
|
13039
13039
|
Pa(k, "parser", function(s) {
|
|
13040
|
-
var e = ul(
|
|
13040
|
+
var e = ul(me.HandlerMap.keys());
|
|
13041
13041
|
return ma(s, {
|
|
13042
13042
|
functionKeywords: e
|
|
13043
13043
|
});
|
|
@@ -13300,7 +13300,7 @@ const Np = /* @__PURE__ */ Yi({
|
|
|
13300
13300
|
ExpressionTools: Wl,
|
|
13301
13301
|
Mitt: To,
|
|
13302
13302
|
add: vo,
|
|
13303
|
-
buildFiltersToDataSetValues:
|
|
13303
|
+
buildFiltersToDataSetValues: ge,
|
|
13304
13304
|
divide: go,
|
|
13305
13305
|
getCurrentProxy: bo,
|
|
13306
13306
|
getFormDataUID: fs,
|
|
@@ -13319,7 +13319,7 @@ function bs(s) {
|
|
|
13319
13319
|
)?.field_code ?? "uid";
|
|
13320
13320
|
}
|
|
13321
13321
|
let Ct, Vt, Et, Dt, kt;
|
|
13322
|
-
class
|
|
13322
|
+
class Pe {
|
|
13323
13323
|
static _running = /* @__PURE__ */ new Set();
|
|
13324
13324
|
static getIsRunning() {
|
|
13325
13325
|
return this._running.size !== 0;
|
|
@@ -13332,51 +13332,51 @@ class me {
|
|
|
13332
13332
|
}
|
|
13333
13333
|
static request = {
|
|
13334
13334
|
onFulfilled(e, t) {
|
|
13335
|
-
return
|
|
13335
|
+
return Pe.addRunning(t), e;
|
|
13336
13336
|
},
|
|
13337
13337
|
onRejected(e, t) {
|
|
13338
|
-
|
|
13338
|
+
Pe.removeRunning(t);
|
|
13339
13339
|
}
|
|
13340
13340
|
};
|
|
13341
13341
|
static response = {
|
|
13342
13342
|
onFulfilled(e, t) {
|
|
13343
|
-
return
|
|
13343
|
+
return Pe.removeRunning(t), e;
|
|
13344
13344
|
},
|
|
13345
13345
|
onRejected(e, t) {
|
|
13346
|
-
|
|
13346
|
+
Pe.removeRunning(t);
|
|
13347
13347
|
}
|
|
13348
13348
|
};
|
|
13349
13349
|
}
|
|
13350
|
-
function
|
|
13351
|
-
return s.requestFilters.push(
|
|
13350
|
+
function De(s) {
|
|
13351
|
+
return s.requestFilters.push(Pe.request), s.responseFilters.push(Pe.response), s;
|
|
13352
13352
|
}
|
|
13353
13353
|
function he() {
|
|
13354
13354
|
if (Ct === void 0) {
|
|
13355
|
-
const s =
|
|
13355
|
+
const s = De(
|
|
13356
13356
|
de(process.env.VUE_APP_BASE_PATH ?? "/")
|
|
13357
13357
|
);
|
|
13358
13358
|
Ct = new en(s);
|
|
13359
13359
|
}
|
|
13360
13360
|
if (Vt === void 0) {
|
|
13361
|
-
const s =
|
|
13361
|
+
const s = De(
|
|
13362
13362
|
de(process.env.VUE_APP_API_PORTAL ?? "")
|
|
13363
13363
|
);
|
|
13364
13364
|
Vt = new tn(s);
|
|
13365
13365
|
}
|
|
13366
13366
|
if (Et === void 0) {
|
|
13367
|
-
const s =
|
|
13367
|
+
const s = De(
|
|
13368
13368
|
de(process.env.VUE_APP_API_BASE ?? "")
|
|
13369
13369
|
);
|
|
13370
13370
|
Et = new Ca(s);
|
|
13371
13371
|
}
|
|
13372
13372
|
if (kt === void 0) {
|
|
13373
|
-
const s =
|
|
13373
|
+
const s = De(
|
|
13374
13374
|
de(process.env.VUE_APP_API_INFO ?? "")
|
|
13375
13375
|
);
|
|
13376
13376
|
kt = new Ca(s);
|
|
13377
13377
|
}
|
|
13378
13378
|
if (Dt === void 0) {
|
|
13379
|
-
const s =
|
|
13379
|
+
const s = De(
|
|
13380
13380
|
de(process.env.VUE_APP_WIDGETS_API_PATH ?? "")
|
|
13381
13381
|
);
|
|
13382
13382
|
Dt = new an(s);
|
|
@@ -13484,7 +13484,7 @@ function tu(s) {
|
|
|
13484
13484
|
}
|
|
13485
13485
|
};
|
|
13486
13486
|
}
|
|
13487
|
-
const qs = localStorage.getItem("locale") || "zh-CN",
|
|
13487
|
+
const qs = localStorage.getItem("locale") || "zh-CN", oe = tu({
|
|
13488
13488
|
// zh en ja
|
|
13489
13489
|
locale: qs
|
|
13490
13490
|
// messages: {
|
|
@@ -13494,45 +13494,45 @@ const qs = localStorage.getItem("locale") || "zh-CN", ne = tu({
|
|
|
13494
13494
|
});
|
|
13495
13495
|
function mr(s = "page") {
|
|
13496
13496
|
const e = eu(), t = (r) => {
|
|
13497
|
-
|
|
13497
|
+
L().config.globalProperties.$warning !== void 0 ? L().config.globalProperties.$warning({ content: r }) : L().config.globalProperties.$toast(r);
|
|
13498
13498
|
}, a = he().default;
|
|
13499
13499
|
a.ExportRecordsPageOprPrivateV1ApiAppsPOST = function(r) {
|
|
13500
13500
|
return {
|
|
13501
|
-
code:
|
|
13501
|
+
code: F.SUCCESS
|
|
13502
13502
|
};
|
|
13503
13503
|
}, a.ExportPageOprPrivateV1ApiAppsPOST = function(r) {
|
|
13504
13504
|
return {
|
|
13505
|
-
code:
|
|
13505
|
+
code: F.SUCCESS
|
|
13506
13506
|
};
|
|
13507
13507
|
}, a.TemplateExportDataPrivateV1ApiAppsGET = function(r) {
|
|
13508
13508
|
return {
|
|
13509
|
-
code:
|
|
13509
|
+
code: F.SUCCESS
|
|
13510
13510
|
};
|
|
13511
13511
|
}, a.DataImportDataPrivateV1ApiAppsPOST = function(r) {
|
|
13512
13512
|
return {
|
|
13513
|
-
code:
|
|
13513
|
+
code: F.SUCCESS
|
|
13514
13514
|
};
|
|
13515
13515
|
}, a.BatchSubmitPageOprPrivateV1ApiAppsPOST = function(r) {
|
|
13516
13516
|
return {
|
|
13517
|
-
code:
|
|
13517
|
+
code: F.SUCCESS
|
|
13518
13518
|
};
|
|
13519
13519
|
}, a.ProcessRecordsPageOprPrivateV1ApiAppsPOST = function(r) {
|
|
13520
13520
|
return {
|
|
13521
|
-
code:
|
|
13521
|
+
code: F.SUCCESS
|
|
13522
13522
|
};
|
|
13523
13523
|
}, s === "page" && (a.ListDataPagePrivateV1ApiAppsPOST = function(r) {
|
|
13524
13524
|
return new Promise((i, n) => {
|
|
13525
13525
|
i({
|
|
13526
|
-
code:
|
|
13526
|
+
code: F.SUCCESS
|
|
13527
13527
|
});
|
|
13528
13528
|
});
|
|
13529
13529
|
}), a.GetViewConfigPageOprPrivateV1ApiAppsPOST = function(r) {
|
|
13530
13530
|
return {
|
|
13531
|
-
code:
|
|
13531
|
+
code: F.SUCCESS
|
|
13532
13532
|
};
|
|
13533
13533
|
}, a.SaveViewConfigPageOprPrivateV1ApiAppsPOST = function(r) {
|
|
13534
13534
|
return {
|
|
13535
|
-
code:
|
|
13535
|
+
code: F.SUCCESS
|
|
13536
13536
|
};
|
|
13537
13537
|
}, a.ApplySubmitPagePrivateV1ApiAppsPOST = function(r) {
|
|
13538
13538
|
return new Promise((i, n) => {
|
|
@@ -13640,7 +13640,7 @@ function ou(s, e) {
|
|
|
13640
13640
|
}
|
|
13641
13641
|
function ra(s, e, t) {
|
|
13642
13642
|
if (s !== void 0) {
|
|
13643
|
-
if (
|
|
13643
|
+
if (ne(t) && ne(s[e]) && t !== "") {
|
|
13644
13644
|
s[e] = t;
|
|
13645
13645
|
return;
|
|
13646
13646
|
}
|
|
@@ -13661,13 +13661,13 @@ function uu(s, e, t = null) {
|
|
|
13661
13661
|
);
|
|
13662
13662
|
}
|
|
13663
13663
|
function pu(s, e, t = []) {
|
|
13664
|
-
if (s.controlType !== "form" || !s.props.dataBind || s.props.dataBind.fieldType !==
|
|
13664
|
+
if (s.controlType !== "form" || !s.props.dataBind || s.props.dataBind.fieldType !== ie.RELATION_FIELD || !s.props.multistageFilling)
|
|
13665
13665
|
return;
|
|
13666
13666
|
const a = lu(e, s.props.dataBind.dataCode);
|
|
13667
13667
|
if (!a)
|
|
13668
13668
|
return;
|
|
13669
13669
|
const r = a.data_field_list?.filter(
|
|
13670
|
-
(l) => l.field_type ===
|
|
13670
|
+
(l) => l.field_type === ie.REFERENCE_FIELD && l.props.reference_relation_field_code === s.props.dataBind.fieldCode
|
|
13671
13671
|
) ?? [], i = t.find(
|
|
13672
13672
|
(l) => l.controlId === s.id
|
|
13673
13673
|
)?.parentId, n = r.map((l) => {
|
|
@@ -13731,7 +13731,7 @@ class yu {
|
|
|
13731
13731
|
const u = Ia(
|
|
13732
13732
|
l.custom,
|
|
13733
13733
|
t,
|
|
13734
|
-
|
|
13734
|
+
we(K.isPc())
|
|
13735
13735
|
);
|
|
13736
13736
|
l.style;
|
|
13737
13737
|
{
|
|
@@ -13756,7 +13756,7 @@ class yu {
|
|
|
13756
13756
|
vueComRegister(e, t) {
|
|
13757
13757
|
const a = t.externalParams?.data?.rel_form_keys ?? [];
|
|
13758
13758
|
this.loadDependencyComponent(a, t);
|
|
13759
|
-
const r = Object.assign(
|
|
13759
|
+
const r = Object.assign(we(K.isPc()), {
|
|
13760
13760
|
byteluckVuePages: this.byteluckVuePages
|
|
13761
13761
|
}), i = Ia(e, t, r);
|
|
13762
13762
|
if (!i)
|
|
@@ -13768,7 +13768,7 @@ class yu {
|
|
|
13768
13768
|
u(i.variables[o.name]);
|
|
13769
13769
|
})
|
|
13770
13770
|
);
|
|
13771
|
-
|
|
13771
|
+
L().component("custom-vue-" + o.id, l), n["custom-vue-" + o.id] = l;
|
|
13772
13772
|
}), this.engine.getAction().sources = n;
|
|
13773
13773
|
}
|
|
13774
13774
|
}
|
|
@@ -13890,7 +13890,7 @@ class As {
|
|
|
13890
13890
|
}).forEach((i) => this.applyDisplay(i, e)), await Promise.resolve();
|
|
13891
13891
|
}
|
|
13892
13892
|
handlerCacheInstanceIdDefaultIsHide(e) {
|
|
13893
|
-
const t =
|
|
13893
|
+
const t = ne(e) ? this.getInstances(e) : [e];
|
|
13894
13894
|
t.map((a) => {
|
|
13895
13895
|
if (!this.cacheDefaultIsHide.has(a)) {
|
|
13896
13896
|
const r = this.engine.getInstanceRowIndex(a);
|
|
@@ -14137,7 +14137,7 @@ class _s {
|
|
|
14137
14137
|
return this.displayConfigControlIds.includes(e.id);
|
|
14138
14138
|
}
|
|
14139
14139
|
}
|
|
14140
|
-
const Pr = (s) =>
|
|
14140
|
+
const Pr = (s) => ne(s) || it(s) ? s.length === 0 : !1;
|
|
14141
14141
|
let hu = 0;
|
|
14142
14142
|
class Is {
|
|
14143
14143
|
pluginName = "MultistageFillingPlugin";
|
|
@@ -14214,7 +14214,7 @@ class Is {
|
|
|
14214
14214
|
}
|
|
14215
14215
|
);
|
|
14216
14216
|
else if (this.engine.assertInstance(e.instance, g.EMPLOYEE2)) {
|
|
14217
|
-
const
|
|
14217
|
+
const y = await this.engine.emit("search", {
|
|
14218
14218
|
instance: e.instance,
|
|
14219
14219
|
value: l.join(","),
|
|
14220
14220
|
rowIndex: e.rowIndex,
|
|
@@ -14228,8 +14228,8 @@ class Is {
|
|
|
14228
14228
|
}
|
|
14229
14229
|
});
|
|
14230
14230
|
u = {
|
|
14231
|
-
code:
|
|
14232
|
-
data:
|
|
14231
|
+
code: F.SUCCESS,
|
|
14232
|
+
data: y[0]
|
|
14233
14233
|
};
|
|
14234
14234
|
} else if (this.engine.assertInstance(e.instance, g.DEPARTMENT))
|
|
14235
14235
|
u = await this.cacheRequest.request(
|
|
@@ -14243,7 +14243,7 @@ class Is {
|
|
|
14243
14243
|
e.instance,
|
|
14244
14244
|
g.DEPARTMENT2
|
|
14245
14245
|
)) {
|
|
14246
|
-
const
|
|
14246
|
+
const y = await this.engine.emit("search", {
|
|
14247
14247
|
instance: e.instance,
|
|
14248
14248
|
value: l?.join(","),
|
|
14249
14249
|
rowIndex: e.rowIndex,
|
|
@@ -14258,44 +14258,44 @@ class Is {
|
|
|
14258
14258
|
}
|
|
14259
14259
|
});
|
|
14260
14260
|
u = {
|
|
14261
|
-
code:
|
|
14262
|
-
data:
|
|
14261
|
+
code: F.SUCCESS,
|
|
14262
|
+
data: y[0]
|
|
14263
14263
|
};
|
|
14264
14264
|
}
|
|
14265
14265
|
}
|
|
14266
14266
|
if (this.weakMap.get(e.instance) !== o)
|
|
14267
14267
|
return;
|
|
14268
14268
|
if (e.rowIndex !== void 0) {
|
|
14269
|
-
const
|
|
14270
|
-
if (!(
|
|
14269
|
+
const y = e.instance.parent?.parent;
|
|
14270
|
+
if (!(y?.parent).children.find((c) => c === y)) {
|
|
14271
14271
|
this.weakMap.delete(e.instance);
|
|
14272
14272
|
return;
|
|
14273
14273
|
}
|
|
14274
14274
|
}
|
|
14275
14275
|
this.weakMap.delete(e.instance);
|
|
14276
|
-
const p = this.engine.getInstanceRowIndex(e.instance), d = e.instance.props.multistageFilling.map((
|
|
14277
|
-
const
|
|
14276
|
+
const p = this.engine.getInstanceRowIndex(e.instance), d = e.instance.props.multistageFilling.map((y) => {
|
|
14277
|
+
const m = this.checkFill(
|
|
14278
14278
|
n,
|
|
14279
|
-
|
|
14279
|
+
y.controlId,
|
|
14280
14280
|
p
|
|
14281
|
-
),
|
|
14282
|
-
...
|
|
14281
|
+
), c = {
|
|
14282
|
+
...y,
|
|
14283
14283
|
display: "",
|
|
14284
14284
|
field_value: null,
|
|
14285
|
-
controlId:
|
|
14285
|
+
controlId: m
|
|
14286
14286
|
};
|
|
14287
|
-
if (u && u.code ===
|
|
14288
|
-
const
|
|
14289
|
-
|
|
14287
|
+
if (u && u.code === F.SUCCESS) {
|
|
14288
|
+
const T = u.data?.[0];
|
|
14289
|
+
T && (c.display = T?.fieldValue ? T?.fieldValue[y.fieldCode] : T[y.fieldCode], c.field_value = T?.fieldValue ? T?.fieldValue[y.fieldCode] : T[y.fieldCode]);
|
|
14290
14290
|
} else
|
|
14291
|
-
|
|
14292
|
-
return
|
|
14291
|
+
c.display = null, c.field_value = null;
|
|
14292
|
+
return c;
|
|
14293
14293
|
});
|
|
14294
14294
|
this.updateStore(d, p);
|
|
14295
14295
|
} else {
|
|
14296
|
-
t = e.instance.props.multistageFilling.map((
|
|
14297
|
-
const
|
|
14298
|
-
return (e.instance?.props).dataBind?.fieldType === "relation-field" &&
|
|
14296
|
+
t = e.instance.props.multistageFilling.map((T) => {
|
|
14297
|
+
const q = this.engine.getInstance(T.controlId);
|
|
14298
|
+
return (e.instance?.props).dataBind?.fieldType === "relation-field" && q && q.props?.dataBind?.fieldType === "reference-field" ? `${T.controlId}&${q.props?.dataBind?.fieldCode}` : T.fieldCode;
|
|
14299
14299
|
});
|
|
14300
14300
|
const l = e.instance.props.datasourceBind;
|
|
14301
14301
|
let u = this.engine.getInstanceRowIndex(e.instance);
|
|
@@ -14303,7 +14303,7 @@ class Is {
|
|
|
14303
14303
|
let p = "";
|
|
14304
14304
|
const d = this.engine?.externalParams.data?.content?.model_bind_info_list;
|
|
14305
14305
|
d && (p = JSON.stringify(d));
|
|
14306
|
-
const
|
|
14306
|
+
const y = {
|
|
14307
14307
|
app_id: l.appId,
|
|
14308
14308
|
data_code: l.dataCode,
|
|
14309
14309
|
svc_code: l.svcCode,
|
|
@@ -14312,7 +14312,7 @@ class Is {
|
|
|
14312
14312
|
data_set: {
|
|
14313
14313
|
data_code: l.dataCode,
|
|
14314
14314
|
// 有数据过滤的话,需要把数据过滤的值都拿到
|
|
14315
|
-
values: l.filters ?
|
|
14315
|
+
values: l.filters ? ge(this.engine, l.filters, u) : []
|
|
14316
14316
|
},
|
|
14317
14317
|
// model_bind_info_list_str: modelBindInfoListStr,
|
|
14318
14318
|
element_id: e.instance?.id,
|
|
@@ -14321,31 +14321,31 @@ class Is {
|
|
|
14321
14321
|
},
|
|
14322
14322
|
fields: [...t]
|
|
14323
14323
|
};
|
|
14324
|
-
this.config.isPreviewMode ?
|
|
14325
|
-
let
|
|
14326
|
-
if (
|
|
14324
|
+
this.config.isPreviewMode ? y.model_bind_info_list_str = p : y?.model_bind_info_list_str && delete y.model_bind_info_list_str;
|
|
14325
|
+
let c = e?.options?.multistageFilledCacheData;
|
|
14326
|
+
if (c || (c = await this.cacheRequest.request(
|
|
14327
14327
|
this.service.default.GetFieldsValueBizModelPrivateV1ApiAppsPOST,
|
|
14328
|
-
|
|
14328
|
+
y
|
|
14329
14329
|
)), this.weakMap.get(e.instance) !== o)
|
|
14330
14330
|
return;
|
|
14331
|
-
if (this.weakMap.delete(e.instance),
|
|
14332
|
-
const
|
|
14331
|
+
if (this.weakMap.delete(e.instance), c && c.code === F.SUCCESS) {
|
|
14332
|
+
const T = this.engine.getInstanceRowIndex(
|
|
14333
14333
|
e.instance
|
|
14334
|
-
),
|
|
14334
|
+
), _ = c.data.field_value_list, S = e.instance.props.multistageFilling.map((f) => {
|
|
14335
14335
|
let v = {};
|
|
14336
14336
|
const O = this.engine.getInstance(f.controlId);
|
|
14337
|
-
(e.instance?.props).dataBind?.fieldType === "relation-field" && O && O.props?.dataBind?.fieldType === "reference-field" ? v =
|
|
14338
|
-
const
|
|
14337
|
+
(e.instance?.props).dataBind?.fieldType === "relation-field" && O && O.props?.dataBind?.fieldType === "reference-field" ? v = _.find((h) => h.field_code === `${f.controlId}&${O.props?.dataBind?.fieldCode}`) : v = _.find((h) => h.field_code === f.fieldCode);
|
|
14338
|
+
const D = this.checkFill(
|
|
14339
14339
|
n,
|
|
14340
14340
|
f.controlId,
|
|
14341
|
-
|
|
14341
|
+
T
|
|
14342
14342
|
);
|
|
14343
14343
|
return !e.value && v && (v.field_value = null), {
|
|
14344
14344
|
...v,
|
|
14345
|
-
controlId:
|
|
14345
|
+
controlId: D
|
|
14346
14346
|
};
|
|
14347
14347
|
});
|
|
14348
|
-
this.updateStore(
|
|
14348
|
+
this.updateStore(S, T);
|
|
14349
14349
|
}
|
|
14350
14350
|
}
|
|
14351
14351
|
}
|
|
@@ -14355,9 +14355,9 @@ class Is {
|
|
|
14355
14355
|
const { controlId: r, field_value: i } = a;
|
|
14356
14356
|
let n = i;
|
|
14357
14357
|
const o = this.engine.getInstance(r, t);
|
|
14358
|
-
if ((o?.fieldType ===
|
|
14358
|
+
if ((o?.fieldType === ie.EMPLOYEES || o?.fieldType === ie.DEPARTMENTS) && i === "" && (n = void 0), it(n)) {
|
|
14359
14359
|
const l = this.engine.getInstance(r, t);
|
|
14360
|
-
(l?.fieldType ===
|
|
14360
|
+
(l?.fieldType === ie.EMPLOYEES || l?.fieldType === ie.DEPARTMENTS) && (n = l.props.multiple ? i : i.slice(0, 1));
|
|
14361
14361
|
}
|
|
14362
14362
|
this.engine.setState(
|
|
14363
14363
|
a.controlId,
|
|
@@ -14410,13 +14410,13 @@ class Cs {
|
|
|
14410
14410
|
n && (this.headerData.bizKey = n.value);
|
|
14411
14411
|
}
|
|
14412
14412
|
const r = this.engine?.externalParams?.data;
|
|
14413
|
-
this.showDescript ? this.headerData.descript = r?.descript ?? "" : this.headerData.descript = "", r?.process_param?.process_instance_id || (e.props.config.indexOf(
|
|
14414
|
-
|
|
14415
|
-
|
|
14413
|
+
this.showDescript ? this.headerData.descript = r?.descript ?? "" : this.headerData.descript = "", r?.process_param?.process_instance_id || (e.props.config.indexOf(ve.ShowBizKey) > -1 ? e.props.config.indexOf(ve.ShowTitle) > -1 ? this.engine.setInstance(e, "config", [
|
|
14414
|
+
ve.ShowBizKey,
|
|
14415
|
+
ve.ShowTitle
|
|
14416
14416
|
]) : this.engine.setInstance(e, "config", [
|
|
14417
|
-
|
|
14418
|
-
]) : e.props.config.indexOf(
|
|
14419
|
-
|
|
14417
|
+
ve.ShowBizKey
|
|
14418
|
+
]) : e.props.config.indexOf(ve.ShowTitle) > -1 ? this.engine.setInstance(e, "config", [
|
|
14419
|
+
ve.ShowTitle
|
|
14420
14420
|
]) : this.engine.setInstance(e, "config", [])), this.engine.setState(t, this.headerData);
|
|
14421
14421
|
}
|
|
14422
14422
|
}
|
|
@@ -14651,7 +14651,7 @@ var Sr = {
|
|
|
14651
14651
|
yellow: "#ffff00",
|
|
14652
14652
|
yellowgreen: "#9acd32"
|
|
14653
14653
|
};
|
|
14654
|
-
function
|
|
14654
|
+
function ke(s) {
|
|
14655
14655
|
var e = { r: 0, g: 0, b: 0 }, t = 1, a = null, r = null, i = null, n = !1, o = !1;
|
|
14656
14656
|
return typeof s == "string" && (s = wu(s)), typeof s == "object" && (pe(s.r) && pe(s.g) && pe(s.b) ? (e = Pu(s.r, s.g, s.b), n = !0, o = String(s.r).substr(-1) === "%" ? "prgb" : "rgb") : pe(s.h) && pe(s.s) && pe(s.v) ? (a = ze(s.s), r = ze(s.v), e = bu(s.h, a, r), n = !0, o = "hsv") : pe(s.h) && pe(s.s) && pe(s.l) && (a = ze(s.s), i = ze(s.l), e = gu(s.h, a, i), n = !0, o = "hsl"), Object.prototype.hasOwnProperty.call(s, "a") && (t = s.a)), t = mu(t), {
|
|
14657
14657
|
ok: n,
|
|
@@ -14662,7 +14662,7 @@ function Ee(s) {
|
|
|
14662
14662
|
a: t
|
|
14663
14663
|
};
|
|
14664
14664
|
}
|
|
14665
|
-
var qu = "[-\\+]?\\d+%?", Ou = "[-\\+]?\\d*\\.\\d+%?", ye = "(?:".concat(Ou, ")|(?:").concat(qu, ")"), xt = "[\\s|\\(]+(".concat(ye, ")[,|\\s]+(").concat(ye, ")[,|\\s]+(").concat(ye, ")\\s*\\)?"), Bt = "[\\s|\\(]+(".concat(ye, ")[,|\\s]+(").concat(ye, ")[,|\\s]+(").concat(ye, ")[,|\\s]+(").concat(ye, ")\\s*\\)?"),
|
|
14665
|
+
var qu = "[-\\+]?\\d+%?", Ou = "[-\\+]?\\d*\\.\\d+%?", ye = "(?:".concat(Ou, ")|(?:").concat(qu, ")"), xt = "[\\s|\\(]+(".concat(ye, ")[,|\\s]+(").concat(ye, ")[,|\\s]+(").concat(ye, ")\\s*\\)?"), Bt = "[\\s|\\(]+(".concat(ye, ")[,|\\s]+(").concat(ye, ")[,|\\s]+(").concat(ye, ")[,|\\s]+(").concat(ye, ")\\s*\\)?"), se = {
|
|
14666
14666
|
CSS_UNIT: new RegExp(ye),
|
|
14667
14667
|
rgb: new RegExp("rgb" + xt),
|
|
14668
14668
|
rgba: new RegExp("rgba" + Bt),
|
|
@@ -14683,25 +14683,25 @@ function wu(s) {
|
|
|
14683
14683
|
s = Sr[s], e = !0;
|
|
14684
14684
|
else if (s === "transparent")
|
|
14685
14685
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
14686
|
-
var t =
|
|
14687
|
-
return t ? { r: t[1], g: t[2], b: t[3] } : (t =
|
|
14686
|
+
var t = se.rgb.exec(s);
|
|
14687
|
+
return t ? { r: t[1], g: t[2], b: t[3] } : (t = se.rgba.exec(s), t ? { r: t[1], g: t[2], b: t[3], a: t[4] } : (t = se.hsl.exec(s), t ? { h: t[1], s: t[2], l: t[3] } : (t = se.hsla.exec(s), t ? { h: t[1], s: t[2], l: t[3], a: t[4] } : (t = se.hsv.exec(s), t ? { h: t[1], s: t[2], v: t[3] } : (t = se.hsva.exec(s), t ? { h: t[1], s: t[2], v: t[3], a: t[4] } : (t = se.hex8.exec(s), t ? {
|
|
14688
14688
|
r: X(t[1]),
|
|
14689
14689
|
g: X(t[2]),
|
|
14690
14690
|
b: X(t[3]),
|
|
14691
14691
|
a: gr(t[4]),
|
|
14692
14692
|
format: e ? "name" : "hex8"
|
|
14693
|
-
} : (t =
|
|
14693
|
+
} : (t = se.hex6.exec(s), t ? {
|
|
14694
14694
|
r: X(t[1]),
|
|
14695
14695
|
g: X(t[2]),
|
|
14696
14696
|
b: X(t[3]),
|
|
14697
14697
|
format: e ? "name" : "hex"
|
|
14698
|
-
} : (t =
|
|
14698
|
+
} : (t = se.hex4.exec(s), t ? {
|
|
14699
14699
|
r: X(t[1] + t[1]),
|
|
14700
14700
|
g: X(t[2] + t[2]),
|
|
14701
14701
|
b: X(t[3] + t[3]),
|
|
14702
14702
|
a: gr(t[4] + t[4]),
|
|
14703
14703
|
format: e ? "name" : "hex8"
|
|
14704
|
-
} : (t =
|
|
14704
|
+
} : (t = se.hex3.exec(s), t ? {
|
|
14705
14705
|
r: X(t[1] + t[1]),
|
|
14706
14706
|
g: X(t[2] + t[2]),
|
|
14707
14707
|
b: X(t[3] + t[3]),
|
|
@@ -14709,7 +14709,7 @@ function wu(s) {
|
|
|
14709
14709
|
} : !1)))))))));
|
|
14710
14710
|
}
|
|
14711
14711
|
function pe(s) {
|
|
14712
|
-
return !!
|
|
14712
|
+
return !!se.CSS_UNIT.exec(String(s));
|
|
14713
14713
|
}
|
|
14714
14714
|
var Ke = 2, br = 0.16, Au = 0.05, _u = 0.05, Iu = 0.15, Vs = 5, Es = 4, Cu = [{
|
|
14715
14715
|
index: 7,
|
|
@@ -14777,8 +14777,8 @@ function wr(s, e, t) {
|
|
|
14777
14777
|
return t ? a = s.v + _u * e : a = s.v - Iu * e, a > 1 && (a = 1), Number(a.toFixed(2));
|
|
14778
14778
|
}
|
|
14779
14779
|
function sa(s) {
|
|
14780
|
-
for (var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], a =
|
|
14781
|
-
var i = Tr(a), n = We(
|
|
14780
|
+
for (var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], a = ke(s), r = Vs; r > 0; r -= 1) {
|
|
14781
|
+
var i = Tr(a), n = We(ke({
|
|
14782
14782
|
h: qr(i, r, !0),
|
|
14783
14783
|
s: Or(i, r, !0),
|
|
14784
14784
|
v: wr(i, r, !0)
|
|
@@ -14787,7 +14787,7 @@ function sa(s) {
|
|
|
14787
14787
|
}
|
|
14788
14788
|
t.push(We(a));
|
|
14789
14789
|
for (var o = 1; o <= Es; o += 1) {
|
|
14790
|
-
var l = Tr(a), u = We(
|
|
14790
|
+
var l = Tr(a), u = We(ke({
|
|
14791
14791
|
h: qr(l, o),
|
|
14792
14792
|
s: Or(l, o),
|
|
14793
14793
|
v: wr(l, o)
|
|
@@ -14795,8 +14795,8 @@ function sa(s) {
|
|
|
14795
14795
|
t.push(u);
|
|
14796
14796
|
}
|
|
14797
14797
|
return e.theme === "dark" ? Cu.map(function(p) {
|
|
14798
|
-
var d = p.index,
|
|
14799
|
-
return
|
|
14798
|
+
var d = p.index, y = p.opacity, m = We(Vu(ke(e.backgroundColor || "#141414"), ke(t[d]), y * 100));
|
|
14799
|
+
return m;
|
|
14800
14800
|
}) : t;
|
|
14801
14801
|
}
|
|
14802
14802
|
var Ft = {
|
|
@@ -14820,7 +14820,7 @@ Object.keys(Ft).forEach(function(s) {
|
|
|
14820
14820
|
backgroundColor: "#141414"
|
|
14821
14821
|
}), Nt[s].primary = Nt[s][5];
|
|
14822
14822
|
});
|
|
14823
|
-
var Ar = [],
|
|
14823
|
+
var Ar = [], Re = [], Eu = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
|
|
14824
14824
|
function Du() {
|
|
14825
14825
|
var s = document.createElement("style");
|
|
14826
14826
|
return s.setAttribute("type", "text/css"), s;
|
|
@@ -14829,9 +14829,9 @@ function ku(s, e) {
|
|
|
14829
14829
|
if (e = e || {}, s === void 0)
|
|
14830
14830
|
throw new Error(Eu);
|
|
14831
14831
|
var t = e.prepend === !0 ? "prepend" : "append", a = e.container !== void 0 ? e.container : document.querySelector("head"), r = Ar.indexOf(a);
|
|
14832
|
-
r === -1 && (r = Ar.push(a) - 1,
|
|
14832
|
+
r === -1 && (r = Ar.push(a) - 1, Re[r] = {});
|
|
14833
14833
|
var i;
|
|
14834
|
-
return
|
|
14834
|
+
return Re[r] !== void 0 && Re[r][t] !== void 0 ? i = Re[r][t] : (i = Re[r][t] = Du(), t === "prepend" ? a.insertBefore(i, a.childNodes[0]) : a.appendChild(i)), s.charCodeAt(0) === 65279 && (s = s.substr(1, s.length)), i.styleSheet ? i.styleSheet.cssText += s : i.textContent += s, i;
|
|
14835
14835
|
}
|
|
14836
14836
|
function _r(s) {
|
|
14837
14837
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -14929,7 +14929,7 @@ var Bu = `
|
|
|
14929
14929
|
}
|
|
14930
14930
|
`, Cr = !1, Fu = function() {
|
|
14931
14931
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Bu;
|
|
14932
|
-
|
|
14932
|
+
Ae(function() {
|
|
14933
14933
|
Cr || (typeof window < "u" && window.document && window.document.documentElement && ku(e, {
|
|
14934
14934
|
prepend: !0
|
|
14935
14935
|
}), Cr = !0);
|
|
@@ -14968,20 +14968,20 @@ function Ze(s) {
|
|
|
14968
14968
|
function Gu(s, e, t) {
|
|
14969
14969
|
return e in s ? Object.defineProperty(s, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : s[e] = t, s;
|
|
14970
14970
|
}
|
|
14971
|
-
var
|
|
14971
|
+
var Ne = {
|
|
14972
14972
|
primaryColor: "#333",
|
|
14973
14973
|
secondaryColor: "#E6E6E6",
|
|
14974
14974
|
calculated: !1
|
|
14975
14975
|
};
|
|
14976
14976
|
function $u(s) {
|
|
14977
14977
|
var e = s.primaryColor, t = s.secondaryColor;
|
|
14978
|
-
|
|
14978
|
+
Ne.primaryColor = e, Ne.secondaryColor = t || Ds(e), Ne.calculated = !!t;
|
|
14979
14979
|
}
|
|
14980
14980
|
function ju() {
|
|
14981
|
-
return Ze({},
|
|
14981
|
+
return Ze({}, Ne);
|
|
14982
14982
|
}
|
|
14983
|
-
var
|
|
14984
|
-
var a = Ze({}, e, t.attrs), r = a.icon, i = a.primaryColor, n = a.secondaryColor, o = Nu(a, Lu), l =
|
|
14983
|
+
var Ve = function(e, t) {
|
|
14984
|
+
var a = Ze({}, e, t.attrs), r = a.icon, i = a.primaryColor, n = a.secondaryColor, o = Nu(a, Lu), l = Ne;
|
|
14985
14985
|
if (i && (l = {
|
|
14986
14986
|
primaryColor: i,
|
|
14987
14987
|
secondaryColor: n || Ds(i)
|
|
@@ -14998,17 +14998,17 @@ var Ie = function(e, t) {
|
|
|
14998
14998
|
"aria-hidden": "true"
|
|
14999
14999
|
}));
|
|
15000
15000
|
};
|
|
15001
|
-
|
|
15001
|
+
Ve.props = {
|
|
15002
15002
|
icon: Object,
|
|
15003
15003
|
primaryColor: String,
|
|
15004
15004
|
secondaryColor: String,
|
|
15005
15005
|
focusable: String
|
|
15006
15006
|
};
|
|
15007
|
-
|
|
15008
|
-
|
|
15009
|
-
|
|
15010
|
-
|
|
15011
|
-
const ga =
|
|
15007
|
+
Ve.inheritAttrs = !1;
|
|
15008
|
+
Ve.displayName = "IconBase";
|
|
15009
|
+
Ve.getTwoToneColors = ju;
|
|
15010
|
+
Ve.setTwoToneColors = $u;
|
|
15011
|
+
const ga = Ve;
|
|
15012
15012
|
function Hu(s, e) {
|
|
15013
15013
|
return Qu(s) || Wu(s, e) || Ku(s, e) || zu();
|
|
15014
15014
|
}
|
|
@@ -15151,40 +15151,40 @@ function sp(s, e) {
|
|
|
15151
15151
|
return t;
|
|
15152
15152
|
}
|
|
15153
15153
|
Rs("#1890ff");
|
|
15154
|
-
var
|
|
15155
|
-
var a, r = Dr({}, e, t.attrs), i = r.class, n = r.icon, o = r.spin, l = r.rotate, u = r.tabindex, p = r.twoToneColor, d = r.onClick,
|
|
15154
|
+
var Ee = function(e, t) {
|
|
15155
|
+
var a, r = Dr({}, e, t.attrs), i = r.class, n = r.icon, o = r.spin, l = r.rotate, u = r.tabindex, p = r.twoToneColor, d = r.onClick, y = rp(r, Xu), m = (a = {
|
|
15156
15156
|
anticon: !0
|
|
15157
|
-
}, na(a, "anticon-".concat(n.name), !!n.name), na(a, i, i), a),
|
|
15158
|
-
|
|
15159
|
-
var
|
|
15157
|
+
}, na(a, "anticon-".concat(n.name), !!n.name), na(a, i, i), a), c = o === "" || o || n.name === "loading" ? "anticon-spin" : "", T = u;
|
|
15158
|
+
T === void 0 && d && (T = -1, y.tabindex = T);
|
|
15159
|
+
var q = l ? {
|
|
15160
15160
|
msTransform: "rotate(".concat(l, "deg)"),
|
|
15161
15161
|
transform: "rotate(".concat(l, "deg)")
|
|
15162
|
-
} : void 0,
|
|
15163
|
-
return
|
|
15162
|
+
} : void 0, _ = ks(p), S = Yu(_, 2), f = S[0], v = S[1];
|
|
15163
|
+
return Ue("span", Dr({
|
|
15164
15164
|
role: "img",
|
|
15165
15165
|
"aria-label": n.name
|
|
15166
|
-
},
|
|
15166
|
+
}, y, {
|
|
15167
15167
|
onClick: d,
|
|
15168
|
-
class:
|
|
15169
|
-
}), [
|
|
15170
|
-
class:
|
|
15168
|
+
class: m
|
|
15169
|
+
}), [Ue(ga, {
|
|
15170
|
+
class: c,
|
|
15171
15171
|
icon: n,
|
|
15172
15172
|
primaryColor: f,
|
|
15173
15173
|
secondaryColor: v,
|
|
15174
|
-
style:
|
|
15174
|
+
style: q
|
|
15175
15175
|
}, null)]);
|
|
15176
15176
|
};
|
|
15177
|
-
|
|
15177
|
+
Ee.props = {
|
|
15178
15178
|
spin: Boolean,
|
|
15179
15179
|
rotate: Number,
|
|
15180
15180
|
icon: Object,
|
|
15181
15181
|
twoToneColor: String
|
|
15182
15182
|
};
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
const Ms =
|
|
15183
|
+
Ee.displayName = "AntdIcon";
|
|
15184
|
+
Ee.inheritAttrs = !1;
|
|
15185
|
+
Ee.getTwoToneColor = Ju;
|
|
15186
|
+
Ee.setTwoToneColor = Rs;
|
|
15187
|
+
const Ms = Ee;
|
|
15188
15188
|
var ip = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, name: "exclamation-circle", theme: "outlined" };
|
|
15189
15189
|
const np = ip;
|
|
15190
15190
|
function kr(s) {
|
|
@@ -15203,7 +15203,7 @@ function op(s, e, t) {
|
|
|
15203
15203
|
}
|
|
15204
15204
|
var Sa = function(e, t) {
|
|
15205
15205
|
var a = kr({}, e, t.attrs);
|
|
15206
|
-
return
|
|
15206
|
+
return Ue(Ms, kr({}, a, {
|
|
15207
15207
|
icon: np
|
|
15208
15208
|
}), null);
|
|
15209
15209
|
};
|
|
@@ -15228,7 +15228,7 @@ function dp(s, e, t) {
|
|
|
15228
15228
|
}
|
|
15229
15229
|
var ba = function(e, t) {
|
|
15230
15230
|
var a = Rr({}, e, t.attrs);
|
|
15231
|
-
return
|
|
15231
|
+
return Ue(Ms, Rr({}, a, {
|
|
15232
15232
|
icon: pp
|
|
15233
15233
|
}), null);
|
|
15234
15234
|
};
|
|
@@ -15265,7 +15265,7 @@ class xs {
|
|
|
15265
15265
|
getRouter: this.getRouter.bind(this),
|
|
15266
15266
|
validateInstance: this.validateInstance.bind(this),
|
|
15267
15267
|
camelizeKeys: Je.bind(this),
|
|
15268
|
-
decamelizeKeys:
|
|
15268
|
+
decamelizeKeys: $.bind(this)
|
|
15269
15269
|
};
|
|
15270
15270
|
this.engine.getAction().actionUtils = e;
|
|
15271
15271
|
}
|
|
@@ -15285,39 +15285,39 @@ class xs {
|
|
|
15285
15285
|
return this.config.language;
|
|
15286
15286
|
}
|
|
15287
15287
|
toast(e, t) {
|
|
15288
|
-
const a =
|
|
15288
|
+
const a = ne(t) ? t : t?.type;
|
|
15289
15289
|
let r, i = 2e3;
|
|
15290
|
-
t && !
|
|
15290
|
+
t && !ne(t) && (r = t.onClose, i = t.duration ?? 2e3);
|
|
15291
15291
|
const n = r;
|
|
15292
15292
|
if (r = function() {
|
|
15293
15293
|
n?.(), setTimeout(() => {
|
|
15294
15294
|
document.body.style.overflow = "";
|
|
15295
15295
|
}, 500);
|
|
15296
|
-
}, console.log(
|
|
15296
|
+
}, console.log(L().config.globalProperties), this.getDevice() === "desktop") {
|
|
15297
15297
|
switch (a) {
|
|
15298
15298
|
case "success":
|
|
15299
|
-
|
|
15299
|
+
L().config.globalProperties.$success({
|
|
15300
15300
|
class: "bl-modal-content-pre bl-clear-active",
|
|
15301
15301
|
content: e,
|
|
15302
15302
|
onOk: r
|
|
15303
15303
|
});
|
|
15304
15304
|
break;
|
|
15305
15305
|
case "error":
|
|
15306
|
-
|
|
15306
|
+
L().config.globalProperties.$error({
|
|
15307
15307
|
class: "bl-modal-content-pre bl-clear-active",
|
|
15308
15308
|
content: e,
|
|
15309
15309
|
onOk: r
|
|
15310
15310
|
});
|
|
15311
15311
|
break;
|
|
15312
15312
|
case "warning":
|
|
15313
|
-
|
|
15313
|
+
L().config.globalProperties.$warning({
|
|
15314
15314
|
class: "bl-modal-content-pre bl-clear-active",
|
|
15315
15315
|
content: e,
|
|
15316
15316
|
onOk: r
|
|
15317
15317
|
});
|
|
15318
15318
|
break;
|
|
15319
15319
|
default:
|
|
15320
|
-
|
|
15320
|
+
L().config.globalProperties.$info({
|
|
15321
15321
|
class: "bl-modal-content-pre bl-clear-active",
|
|
15322
15322
|
content: e,
|
|
15323
15323
|
onOk: r
|
|
@@ -15345,24 +15345,24 @@ class xs {
|
|
|
15345
15345
|
o = { type: "loading", ...o };
|
|
15346
15346
|
break;
|
|
15347
15347
|
}
|
|
15348
|
-
|
|
15348
|
+
L().config.globalProperties.$toast(o);
|
|
15349
15349
|
}
|
|
15350
15350
|
}
|
|
15351
15351
|
confirm(e, t) {
|
|
15352
15352
|
return new Promise((a) => {
|
|
15353
|
-
this.getDevice() === "desktop" ?
|
|
15353
|
+
this.getDevice() === "desktop" ? L().config.globalProperties.$confirm({
|
|
15354
15354
|
title: e,
|
|
15355
15355
|
content: t,
|
|
15356
15356
|
icon: () => Gt(lp),
|
|
15357
|
-
okText:
|
|
15358
|
-
cancelText:
|
|
15357
|
+
okText: oe.$t("common.confirm", "确定"),
|
|
15358
|
+
cancelText: oe.$t("common.cancel", "取消"),
|
|
15359
15359
|
onOk() {
|
|
15360
15360
|
a(!0);
|
|
15361
15361
|
},
|
|
15362
15362
|
onCancel() {
|
|
15363
15363
|
a(!1);
|
|
15364
15364
|
}
|
|
15365
|
-
}) :
|
|
15365
|
+
}) : L().config.globalProperties.$dialog.confirm({
|
|
15366
15366
|
title: e,
|
|
15367
15367
|
message: t
|
|
15368
15368
|
}).then(() => {
|
|
@@ -15418,7 +15418,7 @@ class xs {
|
|
|
15418
15418
|
}
|
|
15419
15419
|
});
|
|
15420
15420
|
o = {
|
|
15421
|
-
code:
|
|
15421
|
+
code: F.SUCCESS,
|
|
15422
15422
|
data: l[0]
|
|
15423
15423
|
};
|
|
15424
15424
|
}
|
|
@@ -15440,26 +15440,26 @@ class xs {
|
|
|
15440
15440
|
let l = "";
|
|
15441
15441
|
const u = this.engine?.externalParams.data?.content?.model_bind_info_list;
|
|
15442
15442
|
u && (l = JSON.stringify(u));
|
|
15443
|
-
const { datasourceBind: p, dataBind: d, optionConfig:
|
|
15444
|
-
if (
|
|
15443
|
+
const { datasourceBind: p, dataBind: d, optionConfig: y, options: m } = e.props;
|
|
15444
|
+
if (y === "custom")
|
|
15445
15445
|
o = {
|
|
15446
15446
|
// 从options中取出来符合值的每一项
|
|
15447
|
-
data:
|
|
15448
|
-
(
|
|
15447
|
+
data: m.filter(
|
|
15448
|
+
(c) => Array.isArray(t) ? t.includes(c.value) : c.value === t
|
|
15449
15449
|
)
|
|
15450
15450
|
};
|
|
15451
|
-
else if (
|
|
15452
|
-
let
|
|
15453
|
-
this.engine.assertInstance(e, g.AMOUNT) ?
|
|
15454
|
-
const
|
|
15451
|
+
else if (y === "datasource") {
|
|
15452
|
+
let c = d.fieldCode;
|
|
15453
|
+
this.engine.assertInstance(e, g.AMOUNT) ? c = d.currency.fieldCode : this.engine.assertInstance(e, g.SELECT_RELATION) && (c = p.valueFieldCode);
|
|
15454
|
+
const T = {
|
|
15455
15455
|
app_id: p.appId || this.engine?.externalParams?.data?.app_id,
|
|
15456
15456
|
data_code: p.dataCode,
|
|
15457
15457
|
svc_code: p.svcCode,
|
|
15458
|
-
field_code:
|
|
15458
|
+
field_code: c,
|
|
15459
15459
|
data_set: {
|
|
15460
15460
|
data_code: p.dataCode,
|
|
15461
15461
|
// 有数据过滤的话,需要把数据过滤的值都拿到
|
|
15462
|
-
values: p.filters ?
|
|
15462
|
+
values: p.filters ? ge(
|
|
15463
15463
|
this.engine,
|
|
15464
15464
|
p.filters,
|
|
15465
15465
|
a
|
|
@@ -15470,32 +15470,32 @@ class xs {
|
|
|
15470
15470
|
filters: [
|
|
15471
15471
|
{
|
|
15472
15472
|
ctrl_value: n,
|
|
15473
|
-
display_bo_list:
|
|
15473
|
+
display_bo_list: $(p.displayBoList),
|
|
15474
15474
|
query_type: "IN"
|
|
15475
15475
|
}
|
|
15476
15476
|
],
|
|
15477
15477
|
model: "",
|
|
15478
15478
|
model_version: this.engine?.externalParams?.data?.content.schema_version,
|
|
15479
15479
|
// model_bind_info_list_str: modelBindInfoListStr,
|
|
15480
|
-
orders:
|
|
15481
|
-
response_display_bo_list:
|
|
15480
|
+
orders: $(p.orders ?? []),
|
|
15481
|
+
response_display_bo_list: $(
|
|
15482
15482
|
p.displayBoList
|
|
15483
15483
|
),
|
|
15484
15484
|
form_key: (this.engine?.externalParams).data.form_key,
|
|
15485
15485
|
limit: 100,
|
|
15486
15486
|
query_mode: "VALUE"
|
|
15487
15487
|
};
|
|
15488
|
-
this.config.isPreview ?
|
|
15488
|
+
this.config.isPreview ? T.model_bind_info_list_str = l : T?.model_bind_info_list_str && delete T.model_bind_info_list_str, o = await this.getHttp().post(
|
|
15489
15489
|
"/v1/private/bizModel/getFieldsValueWithFilter",
|
|
15490
|
-
|
|
15490
|
+
T
|
|
15491
15491
|
);
|
|
15492
15492
|
}
|
|
15493
15493
|
}
|
|
15494
|
-
if (o && o.code ===
|
|
15494
|
+
if (o && o.code === F.SUCCESS)
|
|
15495
15495
|
return o.data;
|
|
15496
15496
|
{
|
|
15497
15497
|
const l = this.getDevice() === "desktop";
|
|
15498
|
-
o?.code == "1201702" && (l ?
|
|
15498
|
+
o?.code == "1201702" && (l ? L().config.globalProperties.$message.error(o?.message) : L().config.globalProperties.$toast.fail(o?.message));
|
|
15499
15499
|
}
|
|
15500
15500
|
return null;
|
|
15501
15501
|
}
|
|
@@ -15508,7 +15508,7 @@ class xs {
|
|
|
15508
15508
|
a !== -1 ? a : void 0
|
|
15509
15509
|
);
|
|
15510
15510
|
let i;
|
|
15511
|
-
const n =
|
|
15511
|
+
const n = U(
|
|
15512
15512
|
() => tt.getCacheDisplay(e.props?.dataBind, r)
|
|
15513
15513
|
);
|
|
15514
15514
|
if (n.value.length > 0)
|
|
@@ -15541,7 +15541,7 @@ class xs {
|
|
|
15541
15541
|
), JSON.parse(JSON.stringify(this.engine.externalParams?.url || {}));
|
|
15542
15542
|
}
|
|
15543
15543
|
getRouter() {
|
|
15544
|
-
const e =
|
|
15544
|
+
const e = L().config.globalProperties.$router;
|
|
15545
15545
|
return {
|
|
15546
15546
|
push: e.push,
|
|
15547
15547
|
replace: e.replace,
|
|
@@ -15552,7 +15552,7 @@ class xs {
|
|
|
15552
15552
|
}
|
|
15553
15553
|
async validateInstance(e, t) {
|
|
15554
15554
|
return await Hr(), !(await this.engine.emit("validateInstance", {
|
|
15555
|
-
instance:
|
|
15555
|
+
instance: ne(e) ? this.engine.getInstance(e, t) : e,
|
|
15556
15556
|
rowIndex: t
|
|
15557
15557
|
})).includes(!1);
|
|
15558
15558
|
}
|
|
@@ -15647,16 +15647,16 @@ class Bs {
|
|
|
15647
15647
|
o
|
|
15648
15648
|
) ?? n;
|
|
15649
15649
|
if (p === !1)
|
|
15650
|
-
e.options?.fail(
|
|
15650
|
+
e.options?.fail(oe.$t("common.cancel", "操作取消")), e.options?.changeSubmitStatus("reset");
|
|
15651
15651
|
else {
|
|
15652
|
-
const d = he(),
|
|
15652
|
+
const d = he(), y = await rn.awaitWraper(
|
|
15653
15653
|
i && !r && !a ? d.default.UpdateDataPagePrivateV1ApiAppsPOST({
|
|
15654
15654
|
payload: p
|
|
15655
15655
|
}) : d.default.ApplySubmitPagePrivateV1ApiAppsPOST({
|
|
15656
15656
|
payload: p
|
|
15657
15657
|
})
|
|
15658
15658
|
);
|
|
15659
|
-
|
|
15659
|
+
y && y.code === F.SUCCESS ? await this.onAfterSubmit(p, y, o) ? await e.options?.success() : e.options?.changeSubmitStatus("reset") : (await e.options?.fail(y.message), e.options?.changeSubmitStatus("reset"));
|
|
15660
15660
|
}
|
|
15661
15661
|
}
|
|
15662
15662
|
async onBeforeSubmit(e, t = {}) {
|
|
@@ -15747,9 +15747,9 @@ class Fs {
|
|
|
15747
15747
|
const t = e.options.runTask.command_type, a = e.options.hiddenModal;
|
|
15748
15748
|
t !== "rejectAndTerminate" && K.isPc() && !e.options.isNewApproval && !a ? ii.confirm({
|
|
15749
15749
|
content: e.options.runTask.sureMessage,
|
|
15750
|
-
icon:
|
|
15751
|
-
okText:
|
|
15752
|
-
cancelText:
|
|
15750
|
+
icon: Ue(cp),
|
|
15751
|
+
okText: oe.$t("common.confirm", "确定"),
|
|
15752
|
+
cancelText: oe.$t("common.cancel", "取消"),
|
|
15753
15753
|
okButtonProps: this.okButtonProps,
|
|
15754
15754
|
onOk: () => (Ut(e, "ApprovalPlugin.ts, onOk, ~777~"), new Promise((r, i) => {
|
|
15755
15755
|
this.okButtonProps.loading = !0, this.submitData(e, r, i);
|
|
@@ -15760,10 +15760,10 @@ class Fs {
|
|
|
15760
15760
|
async submitData(e, t, a) {
|
|
15761
15761
|
Ut(e, "ApprovalPlugin.ts, submitData, ~777~");
|
|
15762
15762
|
const r = he(), i = await this.genApprovalSubmitPayload(e);
|
|
15763
|
-
i === !1 ? (this.okButtonProps.loading = !1, a && a(), e.options.fail(
|
|
15763
|
+
i === !1 ? (this.okButtonProps.loading = !1, a && a(), e.options.fail(oe.$t("common.cancel", "操作取消"))) : r.default.ApprovalSubmitPagePrivateV1ApiAppsPOST({
|
|
15764
15764
|
payload: i
|
|
15765
15765
|
}).then((n) => {
|
|
15766
|
-
n.code ===
|
|
15766
|
+
n.code === F.SUCCESS ? this.engine?.emit("engine-submitted", {
|
|
15767
15767
|
value: n.data,
|
|
15768
15768
|
options: {
|
|
15769
15769
|
payload: i
|
|
@@ -15810,7 +15810,7 @@ class Ls {
|
|
|
15810
15810
|
if (t?.dataOrigin === "sublist") {
|
|
15811
15811
|
const r = e.getControlIdMapping();
|
|
15812
15812
|
Object.keys(r).map((i) => {
|
|
15813
|
-
if (
|
|
15813
|
+
if (Fe(r[i].dataBind) && r[i].dataBind.fieldCode === t?.relation_key && t?.relation_key) {
|
|
15814
15814
|
const n = e.getInstance(i);
|
|
15815
15815
|
n !== void 0 && n.controlType !== "list" && (e.setFields(a, {
|
|
15816
15816
|
[t.relation_key]: t.relation_uid
|
|
@@ -15913,20 +15913,20 @@ class Ns {
|
|
|
15913
15913
|
const l = e.instance, u = l.props?.datasourceBind;
|
|
15914
15914
|
if (!u)
|
|
15915
15915
|
return [];
|
|
15916
|
-
const p = u.filters ?? [], d = Array.isArray(r) ? r : [r ?? {}],
|
|
15916
|
+
const p = u.filters ?? [], d = Array.isArray(r) ? r : [r ?? {}], m = l.props?.dataBind?.fieldCode, c = e.value, T = ge(
|
|
15917
15917
|
this.engine,
|
|
15918
15918
|
p,
|
|
15919
15919
|
e.rowIndex,
|
|
15920
15920
|
d[0]?.isFilter ? void 0 : [
|
|
15921
15921
|
{
|
|
15922
|
-
code:
|
|
15923
|
-
value:
|
|
15922
|
+
code: m,
|
|
15923
|
+
value: c
|
|
15924
15924
|
}
|
|
15925
15925
|
],
|
|
15926
15926
|
l?.props
|
|
15927
15927
|
);
|
|
15928
|
-
u.displayBoList, "attributes" in u && u.attributes !== null && u.attributes[0].value, r?.isFilter || (Array.isArray(
|
|
15929
|
-
const
|
|
15928
|
+
u.displayBoList, "attributes" in u && u.attributes !== null && u.attributes[0].value, r?.isFilter || (Array.isArray(c) ? c.map((_) => _.trim()).join(",") : ne(c) && c.trim());
|
|
15929
|
+
const q = {
|
|
15930
15930
|
app_id: u.appId || this.engine?.externalParams?.data?.app_id,
|
|
15931
15931
|
key_word: i,
|
|
15932
15932
|
org_schema_id: e.options?.organizationView || l?.props?.organizationView || "6",
|
|
@@ -15935,17 +15935,17 @@ class Ns {
|
|
|
15935
15935
|
org_unit_ids: n,
|
|
15936
15936
|
data_set: {
|
|
15937
15937
|
data_code: u.dataCode,
|
|
15938
|
-
values:
|
|
15938
|
+
values: T
|
|
15939
15939
|
},
|
|
15940
15940
|
relation_form_key: u.formCode,
|
|
15941
15941
|
save_form_key: this.engine?.externalParams?.data?.form_key,
|
|
15942
|
-
filters:
|
|
15943
|
-
orders:
|
|
15942
|
+
filters: $(p),
|
|
15943
|
+
orders: $(u.orders ?? [])
|
|
15944
15944
|
};
|
|
15945
15945
|
return await this.cacheRequest.request(
|
|
15946
15946
|
this.service.default.SelectBizOrgUnitListFilterDeptPrivateV1ApiAppsPOST,
|
|
15947
|
-
|
|
15948
|
-
(
|
|
15947
|
+
q,
|
|
15948
|
+
(_) => (_?.data?.map((v) => ({
|
|
15949
15949
|
label: v.org_unit_name,
|
|
15950
15950
|
value: v.org_unit_id,
|
|
15951
15951
|
...v
|
|
@@ -15973,7 +15973,7 @@ class Ns {
|
|
|
15973
15973
|
...t,
|
|
15974
15974
|
query_criteria: [],
|
|
15975
15975
|
sort_criteria: o,
|
|
15976
|
-
data_filters:
|
|
15976
|
+
data_filters: $(i.filters)
|
|
15977
15977
|
},
|
|
15978
15978
|
save_datas: {},
|
|
15979
15979
|
response_display_bo_list: l[0]?.value ?? [],
|
|
@@ -16007,11 +16007,11 @@ class Ns {
|
|
|
16007
16007
|
const p = u.filters ?? [];
|
|
16008
16008
|
let d = "";
|
|
16009
16009
|
this.engine.assertInstance(a, g.AMOUNT) ? d = a.props.dataBind.currency.fieldCode : d = a.props?.dataBind?.fieldCode;
|
|
16010
|
-
const
|
|
16010
|
+
const y = Array.isArray(i) ? i : [i ?? {}], m = ge(
|
|
16011
16011
|
this.engine,
|
|
16012
16012
|
p,
|
|
16013
16013
|
e.rowIndex,
|
|
16014
|
-
|
|
16014
|
+
y[0]?.isFilter ? void 0 : [
|
|
16015
16015
|
{
|
|
16016
16016
|
code: d,
|
|
16017
16017
|
value: o
|
|
@@ -16019,23 +16019,23 @@ class Ns {
|
|
|
16019
16019
|
],
|
|
16020
16020
|
a?.props
|
|
16021
16021
|
);
|
|
16022
|
-
let
|
|
16023
|
-
const
|
|
16024
|
-
|
|
16025
|
-
let
|
|
16026
|
-
"attributes" in u && u.attributes !== null && (
|
|
16027
|
-
let
|
|
16028
|
-
i?.isFilter ?
|
|
16029
|
-
let
|
|
16022
|
+
let c;
|
|
16023
|
+
const T = this.engine?.externalParams?.data?.content?.model_bind_info_list;
|
|
16024
|
+
T && this.config.isPreviewMode && (c = JSON.stringify(T));
|
|
16025
|
+
let q = u.displayBoList;
|
|
16026
|
+
"attributes" in u && u.attributes !== null && (q = u.attributes[0].value);
|
|
16027
|
+
let _ = "";
|
|
16028
|
+
i?.isFilter ? _ = "" : Array.isArray(o) ? _ = o.map((h) => h.trim()).join(",") : ne(o) ? _ = o.trim() : _ = o;
|
|
16029
|
+
let S = [];
|
|
16030
16030
|
const f = u?.keywordMapping;
|
|
16031
|
-
f !== void 0 && f !== "" ?
|
|
16031
|
+
f !== void 0 && f !== "" ? S = [
|
|
16032
16032
|
{
|
|
16033
|
-
ctrl_value:
|
|
16033
|
+
ctrl_value: _,
|
|
16034
16034
|
field_code: f
|
|
16035
16035
|
}
|
|
16036
|
-
] :
|
|
16037
|
-
ctrl_value: "value" in h ? h.value :
|
|
16038
|
-
display_bo_list: h?.displayBoList ||
|
|
16036
|
+
] : S = y.map((h) => ({
|
|
16037
|
+
ctrl_value: "value" in h ? h.value : _,
|
|
16038
|
+
display_bo_list: h?.displayBoList || $(q),
|
|
16039
16039
|
query_type: h?.queryType || "LIKE",
|
|
16040
16040
|
field_code: h?.fieldCode
|
|
16041
16041
|
// 人员
|
|
@@ -16047,21 +16047,21 @@ class Ns {
|
|
|
16047
16047
|
field_code: d,
|
|
16048
16048
|
data_set: {
|
|
16049
16049
|
data_code: u.dataCode,
|
|
16050
|
-
values:
|
|
16050
|
+
values: m
|
|
16051
16051
|
},
|
|
16052
16052
|
element_id: l,
|
|
16053
16053
|
value_field_code: i?.valueFieldCode ?? u.valueFieldCode,
|
|
16054
|
-
filters:
|
|
16054
|
+
filters: S,
|
|
16055
16055
|
model: "",
|
|
16056
16056
|
model_version: this.engine?.externalParams?.data?.content.schema_version,
|
|
16057
|
-
orders:
|
|
16058
|
-
response_display_bo_list:
|
|
16057
|
+
orders: $(u.orders ?? []),
|
|
16058
|
+
response_display_bo_list: $(q),
|
|
16059
16059
|
form_key: this.engine?.externalParams?.data.form_key,
|
|
16060
16060
|
...t,
|
|
16061
16061
|
// limit: limit,
|
|
16062
|
-
query_mode:
|
|
16062
|
+
query_mode: y[0]?.queryMode || "LABEL"
|
|
16063
16063
|
};
|
|
16064
|
-
this.config.isPreviewMode && (v.model_bind_info_list_str =
|
|
16064
|
+
this.config.isPreviewMode && (v.model_bind_info_list_str = c);
|
|
16065
16065
|
const O = await this.engine.emit("onSearch", {
|
|
16066
16066
|
value: {
|
|
16067
16067
|
filters: v.filters,
|
|
@@ -16069,18 +16069,18 @@ class Ns {
|
|
|
16069
16069
|
orders: v.orders,
|
|
16070
16070
|
query_mode: v.query_mode
|
|
16071
16071
|
}
|
|
16072
|
-
}),
|
|
16072
|
+
}), D = this.engine.assertInstance(a, [
|
|
16073
16073
|
g.DEPARTMENT2,
|
|
16074
16074
|
g.DEPARTMENT_COLUMN
|
|
16075
16075
|
]) ? "GetDeptTreeWithFilterBizModelPrivateV1ApiAppsPOST" : "GetFieldsValueWithFilterBizModelPrivateV1ApiAppsPOST";
|
|
16076
16076
|
return await this.cacheRequest.request(
|
|
16077
|
-
this.service.default[
|
|
16077
|
+
this.service.default[D],
|
|
16078
16078
|
{
|
|
16079
16079
|
...v,
|
|
16080
16080
|
...O[0]?.value
|
|
16081
16081
|
},
|
|
16082
16082
|
(h) => {
|
|
16083
|
-
const
|
|
16083
|
+
const b = h?.data?.field_value_list?.map((P) => ({
|
|
16084
16084
|
label: P.text,
|
|
16085
16085
|
value: P.value,
|
|
16086
16086
|
id: P.data_id,
|
|
@@ -16089,7 +16089,7 @@ class Ns {
|
|
|
16089
16089
|
return this.engine.assertInstance(a, [
|
|
16090
16090
|
g.DEPARTMENT2,
|
|
16091
16091
|
g.DEPARTMENT_COLUMN
|
|
16092
|
-
]) ?
|
|
16092
|
+
]) ? b : b.filter((P) => P.label);
|
|
16093
16093
|
}
|
|
16094
16094
|
);
|
|
16095
16095
|
}
|
|
@@ -16106,7 +16106,7 @@ class Ns {
|
|
|
16106
16106
|
const p = u.filters ?? [];
|
|
16107
16107
|
let d = "";
|
|
16108
16108
|
d = (t.props?.dataBind).fieldCode;
|
|
16109
|
-
const
|
|
16109
|
+
const m = ge(
|
|
16110
16110
|
this.engine,
|
|
16111
16111
|
p,
|
|
16112
16112
|
e.rowIndex,
|
|
@@ -16118,24 +16118,24 @@ class Ns {
|
|
|
16118
16118
|
],
|
|
16119
16119
|
t?.props
|
|
16120
16120
|
);
|
|
16121
|
-
let
|
|
16122
|
-
const
|
|
16123
|
-
|
|
16124
|
-
const
|
|
16121
|
+
let c;
|
|
16122
|
+
const T = this.engine?.externalParams?.data?.content?.model_bind_info_list;
|
|
16123
|
+
T && this.config.isPreviewMode && (c = JSON.stringify(T));
|
|
16124
|
+
const q = u.attributes[0].value, _ = () => {
|
|
16125
16125
|
const P = {
|
|
16126
16126
|
user_name: "employee_name",
|
|
16127
16127
|
current_user_id: "employee_id",
|
|
16128
16128
|
email: "email",
|
|
16129
16129
|
phone: "phone",
|
|
16130
16130
|
department_id: "department_id"
|
|
16131
|
-
},
|
|
16132
|
-
let I =
|
|
16133
|
-
if (
|
|
16131
|
+
}, A = u.rootNode;
|
|
16132
|
+
let I = A.value[0];
|
|
16133
|
+
if (A.type === "system") {
|
|
16134
16134
|
const C = P[I];
|
|
16135
16135
|
I = this.config.userInfo[C];
|
|
16136
16136
|
}
|
|
16137
16137
|
return I;
|
|
16138
|
-
},
|
|
16138
|
+
}, S = u?.attributes[1]?.value[0]?.value, f = r?.defaultCollapse === "specified" ? r.defaultCollapseLevel ?? 1 : 1, v = r?.defaultCollapse === "all" ? 1 : 0;
|
|
16139
16139
|
let O = [];
|
|
16140
16140
|
n && (O = [
|
|
16141
16141
|
{
|
|
@@ -16145,21 +16145,21 @@ class Ns {
|
|
|
16145
16145
|
value: [n]
|
|
16146
16146
|
}
|
|
16147
16147
|
]);
|
|
16148
|
-
let
|
|
16148
|
+
let D = [];
|
|
16149
16149
|
const h = u?.keywordMapping;
|
|
16150
|
-
h !== void 0 && h !== "" ?
|
|
16150
|
+
h !== void 0 && h !== "" ? D = [
|
|
16151
16151
|
{
|
|
16152
16152
|
ctrl_value: i?.isFilter ? "" : o,
|
|
16153
16153
|
field_code: u.keywordMapping
|
|
16154
16154
|
}
|
|
16155
|
-
] :
|
|
16155
|
+
] : D = [
|
|
16156
16156
|
{
|
|
16157
16157
|
ctrl_value: i?.isFilter ? "" : o,
|
|
16158
|
-
display_bo_list:
|
|
16158
|
+
display_bo_list: $(q),
|
|
16159
16159
|
query_type: i?.queryType || "LIKE"
|
|
16160
16160
|
}
|
|
16161
16161
|
];
|
|
16162
|
-
const
|
|
16162
|
+
const b = {
|
|
16163
16163
|
app_id: this.engine?.externalParams?.data?.app_id,
|
|
16164
16164
|
data_code: u.dataCode,
|
|
16165
16165
|
svc_code: u.svcCode,
|
|
@@ -16167,43 +16167,43 @@ class Ns {
|
|
|
16167
16167
|
custom_data: O,
|
|
16168
16168
|
data_set: {
|
|
16169
16169
|
data_code: u.dataCode,
|
|
16170
|
-
values:
|
|
16170
|
+
values: m
|
|
16171
16171
|
},
|
|
16172
16172
|
element_id: l,
|
|
16173
16173
|
value_field_code: u.valueFieldCode,
|
|
16174
|
-
filters:
|
|
16174
|
+
filters: D,
|
|
16175
16175
|
model: "",
|
|
16176
16176
|
model_version: this.engine?.externalParams?.data?.content.schema_version,
|
|
16177
|
-
model_bind_info_list_str:
|
|
16178
|
-
orders:
|
|
16179
|
-
response_display_bo_list:
|
|
16177
|
+
model_bind_info_list_str: c,
|
|
16178
|
+
orders: $(u.orders ?? []),
|
|
16179
|
+
response_display_bo_list: $(q),
|
|
16180
16180
|
form_key: this.engine?.externalParams?.data.form_key,
|
|
16181
16181
|
query_mode: i?.queryMode || "LABLE",
|
|
16182
|
-
root_field_values: i.rootFieldValues ??
|
|
16182
|
+
root_field_values: i.rootFieldValues ?? _(),
|
|
16183
16183
|
// 根节点Id
|
|
16184
|
-
parent_field_code:
|
|
16184
|
+
parent_field_code: S,
|
|
16185
16185
|
unfold_grade: i?.unfoldGrade ?? f,
|
|
16186
16186
|
// 展开层级
|
|
16187
16187
|
query_all_node: i.queryAllNode ?? v,
|
|
16188
16188
|
// 是否展示全部
|
|
16189
16189
|
contain_cur_node: i.containCurNode ?? 0
|
|
16190
16190
|
// 是否包含当前
|
|
16191
|
-
},
|
|
16191
|
+
}, w = await this.engine.emit("onSearch", {
|
|
16192
16192
|
instance: t,
|
|
16193
16193
|
rowIndex: e.rowIndex,
|
|
16194
16194
|
options: e.options,
|
|
16195
16195
|
value: {
|
|
16196
|
-
filters:
|
|
16197
|
-
data_set:
|
|
16198
|
-
orders:
|
|
16199
|
-
query_mode:
|
|
16196
|
+
filters: b.filters,
|
|
16197
|
+
data_set: b.data_set,
|
|
16198
|
+
orders: b.orders,
|
|
16199
|
+
query_mode: b.query_mode
|
|
16200
16200
|
}
|
|
16201
16201
|
});
|
|
16202
16202
|
return await this.cacheRequest.request(
|
|
16203
16203
|
this.service.default.TreeListDataPagePrivateV1ApiAppsPOST,
|
|
16204
16204
|
{
|
|
16205
|
-
...
|
|
16206
|
-
...
|
|
16205
|
+
...b,
|
|
16206
|
+
...w[0]?.value
|
|
16207
16207
|
},
|
|
16208
16208
|
(P) => (this.formaResult(P?.data?.field_value_list || []), (P?.data?.field_value_list ?? []).filter((C) => C?.label))
|
|
16209
16209
|
);
|
|
@@ -16320,8 +16320,8 @@ class Us {
|
|
|
16320
16320
|
if (this.engine.assertInstance(e, g.TREE) && t[0].length && i.length) {
|
|
16321
16321
|
r = [];
|
|
16322
16322
|
const o = Array.isArray(i) ? i : [i], l = (u, p, d) => {
|
|
16323
|
-
if (u.forEach((
|
|
16324
|
-
p.includes(
|
|
16323
|
+
if (u.forEach((y) => {
|
|
16324
|
+
p.includes(y.value) ? d.push(y.value) : y.children.length && l(y.children, p, d);
|
|
16325
16325
|
}), d.length === p.length || d === p)
|
|
16326
16326
|
return d;
|
|
16327
16327
|
};
|
|
@@ -16371,7 +16371,7 @@ class Gs {
|
|
|
16371
16371
|
if (e.props !== "defaultState" || e.value === "readonly")
|
|
16372
16372
|
return;
|
|
16373
16373
|
const t = e.instance.props.dataBind;
|
|
16374
|
-
!t || ![
|
|
16374
|
+
!t || ![ie.REFERENCE_FIELD, ie.CALC_FIELD].includes(
|
|
16375
16375
|
t.fieldType
|
|
16376
16376
|
) || this.engine.setInstance(e.instance, "defaultState", "readonly");
|
|
16377
16377
|
});
|
|
@@ -16555,7 +16555,7 @@ class Ta {
|
|
|
16555
16555
|
getDatasourceValue(e, t) {
|
|
16556
16556
|
const a = e.shift(), r = this.engine.getDataManager()?.get(a) ?? [];
|
|
16557
16557
|
let i = [];
|
|
16558
|
-
return Array.isArray(r) ? i = r.map((n) => e.length ?
|
|
16558
|
+
return Array.isArray(r) ? i = r.map((n) => e.length ? Ge(n, e) : n) : e.length ? i = [Ge(r, e)] : i = Object.values(r), t ? i : i.filter(Boolean).join(",");
|
|
16559
16559
|
}
|
|
16560
16560
|
getFormVariables(e) {
|
|
16561
16561
|
const a = this.engine.getAction().actionUtils.getPageStatus(), r = e[0];
|
|
@@ -16721,7 +16721,7 @@ class Hs extends Ta {
|
|
|
16721
16721
|
getDatasourceValue(e, t) {
|
|
16722
16722
|
const a = e.shift(), r = this.engine.getDataManager()?.get(a) ?? [];
|
|
16723
16723
|
let i = [];
|
|
16724
|
-
return Array.isArray(r) ? i = r.map((n) => e.length ?
|
|
16724
|
+
return Array.isArray(r) ? i = r.map((n) => e.length ? Ge(n, e) : n) : e.length ? i = [Ge(r, e)] : i = Object.values(r), t ? i : i.filter(Boolean).join(",");
|
|
16725
16725
|
}
|
|
16726
16726
|
}
|
|
16727
16727
|
class vp {
|
|
@@ -16764,43 +16764,43 @@ class zs extends Ta {
|
|
|
16764
16764
|
default:
|
|
16765
16765
|
n = i;
|
|
16766
16766
|
}
|
|
16767
|
-
const o = r.getTenant(), l = t.find((
|
|
16767
|
+
const o = r.getTenant(), l = t.find((q) => q.type === n);
|
|
16768
16768
|
if (!l)
|
|
16769
16769
|
return;
|
|
16770
16770
|
let u = "";
|
|
16771
16771
|
const {
|
|
16772
|
-
props: { value: p, i18n: d, fx:
|
|
16772
|
+
props: { value: p, i18n: d, fx: y }
|
|
16773
16773
|
} = l;
|
|
16774
16774
|
if (!p)
|
|
16775
16775
|
return;
|
|
16776
|
-
let { data:
|
|
16777
|
-
const
|
|
16776
|
+
let { data: m, url: c } = this.engine.externalParams;
|
|
16777
|
+
const T = qs.split("-")[0];
|
|
16778
16778
|
if (d && Object.keys(d).length) {
|
|
16779
|
-
u = d[
|
|
16780
|
-
const
|
|
16781
|
-
|
|
16782
|
-
if (
|
|
16783
|
-
let
|
|
16784
|
-
(f) => f.type ===
|
|
16779
|
+
u = d[T] || d.zh;
|
|
16780
|
+
const q = a.state.multipleTabs;
|
|
16781
|
+
q[c.sappId]?.panesList?.forEach((_) => {
|
|
16782
|
+
if (_.formKey === c.formId || _.formKey === c.processInstanceId) {
|
|
16783
|
+
let S = m.content.title_setting.filter(
|
|
16784
|
+
(f) => f.type === _.type
|
|
16785
16785
|
);
|
|
16786
|
-
|
|
16786
|
+
_.title = S[0]?.props?.i18n[T] || d[T] || d.zh;
|
|
16787
16787
|
}
|
|
16788
|
-
}), a.commit("setMultipleTabs",
|
|
16788
|
+
}), a.commit("setMultipleTabs", q), setTimeout(() => {
|
|
16789
16789
|
String(o.value).trim() !== "" ? document.title = u + "|" + o.value : document.title = u;
|
|
16790
16790
|
}, 1e3);
|
|
16791
16791
|
return;
|
|
16792
16792
|
}
|
|
16793
|
-
if (
|
|
16794
|
-
const
|
|
16795
|
-
(f || f === 0) && (u = f), a.state.multipleTabs[
|
|
16796
|
-
(O.formKey ===
|
|
16793
|
+
if (y && Object.keys(y).length) {
|
|
16794
|
+
const q = (S, f) => {
|
|
16795
|
+
(f || f === 0) && (u = f), a.state.multipleTabs[c.sappId]?.panesList?.forEach((O) => {
|
|
16796
|
+
(O.formKey === c.formId || O.formKey === c.processInstanceId) && (O.title = u);
|
|
16797
16797
|
}), setTimeout(() => {
|
|
16798
16798
|
String(o.value).trim() !== "" ? document.title = u + "|" + o.value : document.title = u;
|
|
16799
16799
|
}, 1e3);
|
|
16800
|
-
},
|
|
16801
|
-
(
|
|
16800
|
+
}, _ = [...this.nonDatasourceDependencyGraph].find(
|
|
16801
|
+
(S) => S.type === n
|
|
16802
16802
|
);
|
|
16803
|
-
|
|
16803
|
+
_ && this.runnerExpressionAndUpdate(_, q);
|
|
16804
16804
|
}
|
|
16805
16805
|
});
|
|
16806
16806
|
}
|
|
@@ -16819,7 +16819,7 @@ class zs extends Ta {
|
|
|
16819
16819
|
});
|
|
16820
16820
|
}
|
|
16821
16821
|
}
|
|
16822
|
-
var
|
|
16822
|
+
var qe = /* @__PURE__ */ ((s) => (s.openLink = "openLink", s.setInstance = "setInstance", s.setInstances = "setInstances", s.setState = "setState", s.triggerEvent = "triggerEvent", s.querySvc = "querySvc", s.unknown = "unknown", s.jsMethod = "jsMethod", s))(qe || {}), et = /* @__PURE__ */ ((s) => (s.batch_save = "batch_save", s.batch_modify = "batch_modify", s.batch_remove = "batch_remove", s.insert = "insert", s.update = "update", s.delete = "delete", s.selectOne = "selectOne", s.selectMore = "selectMore", s.count = "count", s.other = "other", s))(et || {}), Be = /* @__PURE__ */ ((s) => (s.custom = "custom", s.form = "form", s.system = "system", s.fx = "fx", s))(Be || {}), oa = /* @__PURE__ */ ((s) => (s.newTab = "newTab", s.currentTab = "currentTab", s))(oa || {});
|
|
16823
16823
|
const mp = {
|
|
16824
16824
|
user_name: "employee_name",
|
|
16825
16825
|
current_user_id: "employee_id",
|
|
@@ -16934,93 +16934,93 @@ async function Tp({
|
|
|
16934
16934
|
input_param: u,
|
|
16935
16935
|
orders: p,
|
|
16936
16936
|
filters: d,
|
|
16937
|
-
return_type: { return_name:
|
|
16938
|
-
fillBack:
|
|
16939
|
-
page_type:
|
|
16940
|
-
} = s.params,
|
|
16937
|
+
return_type: { return_name: y, return_num: m },
|
|
16938
|
+
fillBack: c,
|
|
16939
|
+
page_type: T
|
|
16940
|
+
} = s.params, q = {
|
|
16941
16941
|
app_id: t
|
|
16942
|
-
},
|
|
16943
|
-
selectedRows:
|
|
16942
|
+
}, _ = new Ws({
|
|
16943
|
+
selectedRows: T === "list" ? a?.getState(Js(e))?.selectedRows ?? [] : [],
|
|
16944
16944
|
engine: a
|
|
16945
16945
|
});
|
|
16946
16946
|
if (l !== et.selectMore) {
|
|
16947
16947
|
const P = {};
|
|
16948
16948
|
await Promise.all(
|
|
16949
|
-
u.map(async (
|
|
16949
|
+
u.map(async (A) => {
|
|
16950
16950
|
let I = "";
|
|
16951
|
-
const C =
|
|
16952
|
-
switch (
|
|
16953
|
-
case
|
|
16951
|
+
const C = A.rightVariableBo.value;
|
|
16952
|
+
switch (A.rightVariableBo.type) {
|
|
16953
|
+
case Be.custom:
|
|
16954
16954
|
I = C?.length > 1 ? C : C[0];
|
|
16955
16955
|
break;
|
|
16956
|
-
case
|
|
16956
|
+
case Be.form:
|
|
16957
16957
|
I = C.length ? M(a.getState(C[0], i)) : "";
|
|
16958
16958
|
break;
|
|
16959
|
-
case
|
|
16959
|
+
case Be.system:
|
|
16960
16960
|
const R = C.length ? mp[C[0]] : "";
|
|
16961
16961
|
I = r[R];
|
|
16962
16962
|
break;
|
|
16963
|
-
case
|
|
16964
|
-
I = await
|
|
16963
|
+
case Be.fx:
|
|
16964
|
+
I = await _?.parserFXConfig(C[0]);
|
|
16965
16965
|
break;
|
|
16966
16966
|
}
|
|
16967
16967
|
Object.assign(P, {
|
|
16968
|
-
[
|
|
16968
|
+
[A.id]: I
|
|
16969
16969
|
});
|
|
16970
16970
|
})
|
|
16971
|
-
), Object.assign(
|
|
16971
|
+
), Object.assign(q, {
|
|
16972
16972
|
svc_code: o,
|
|
16973
16973
|
save_datas: P
|
|
16974
16974
|
});
|
|
16975
16975
|
}
|
|
16976
|
-
const
|
|
16976
|
+
const S = {};
|
|
16977
16977
|
p?.forEach((P) => {
|
|
16978
|
-
Object.assign(
|
|
16978
|
+
Object.assign(S, {
|
|
16979
16979
|
[P.columnName]: P.desc ? "desc" : "asc"
|
|
16980
16980
|
});
|
|
16981
16981
|
});
|
|
16982
|
-
const f = (P) => P.map((
|
|
16983
|
-
if ("children" in
|
|
16982
|
+
const f = (P) => P.map((A) => {
|
|
16983
|
+
if ("children" in A)
|
|
16984
16984
|
return {
|
|
16985
|
-
...
|
|
16986
|
-
children: f(
|
|
16985
|
+
...A,
|
|
16986
|
+
children: f(A.children || [])
|
|
16987
16987
|
};
|
|
16988
|
-
const { type: I, value: C, ...R } =
|
|
16988
|
+
const { type: I, value: C, ...R } = A.right_variable_bo;
|
|
16989
16989
|
return {
|
|
16990
|
-
...
|
|
16990
|
+
...A,
|
|
16991
16991
|
right_variable_bo: {
|
|
16992
16992
|
type: I === "form" ? "custom" : I,
|
|
16993
16993
|
value: I === "form" ? [a.getState(C[0], i)] : C,
|
|
16994
16994
|
...R
|
|
16995
16995
|
}
|
|
16996
16996
|
};
|
|
16997
|
-
}), v = f(
|
|
16998
|
-
Object.assign(
|
|
16997
|
+
}), v = f($(d || []));
|
|
16998
|
+
Object.assign(q, {
|
|
16999
16999
|
svc_code: o,
|
|
17000
17000
|
query: {
|
|
17001
|
-
sort_criteria:
|
|
17001
|
+
sort_criteria: S,
|
|
17002
17002
|
data_filters: v
|
|
17003
17003
|
}
|
|
17004
17004
|
});
|
|
17005
|
-
const { mode: O, multiple:
|
|
17005
|
+
const { mode: O, multiple: D, fillList: h } = c;
|
|
17006
17006
|
if (l == et.selectMore || l == et.selectOne) {
|
|
17007
|
-
const P =
|
|
17008
|
-
Object.assign(
|
|
17007
|
+
const P = y === "all" ? 999 : y === "num" ? m : 1;
|
|
17008
|
+
Object.assign(q?.query, {
|
|
17009
17009
|
page_size: P,
|
|
17010
17010
|
page_index: 1
|
|
17011
17011
|
});
|
|
17012
17012
|
}
|
|
17013
|
-
const
|
|
17013
|
+
const b = (P, A) => {
|
|
17014
17014
|
let I = [];
|
|
17015
17015
|
if (P in M(ua))
|
|
17016
17016
|
I = M(ua)[P];
|
|
17017
17017
|
else if ((a?.getInstance(
|
|
17018
17018
|
P,
|
|
17019
|
-
|
|
17019
|
+
A
|
|
17020
17020
|
)).props.optionConfig === "custom") {
|
|
17021
17021
|
const R = a?.getInstance(
|
|
17022
17022
|
P,
|
|
17023
|
-
|
|
17023
|
+
A
|
|
17024
17024
|
)?.props?.options;
|
|
17025
17025
|
R && R.length && (I = R?.map((V) => V.value) ?? [], I.length && Sp(P, I));
|
|
17026
17026
|
}
|
|
@@ -17028,58 +17028,58 @@ async function Tp({
|
|
|
17028
17028
|
options: I,
|
|
17029
17029
|
isOptions: !!I.length
|
|
17030
17030
|
};
|
|
17031
|
-
},
|
|
17031
|
+
}, w = (P, A, I, C, R, V) => ue(a.getState(P, V)) && !ue(C[I][A]) ? R === "relation-field" ? [C[I][A]?.value || ""] : C[I][A] ? C[I][A]?.split(",") : [] : R === "relation-field" ? C[I][A]?.value || "" : C[I][A];
|
|
17032
17032
|
try {
|
|
17033
17033
|
const P = await n().post(
|
|
17034
17034
|
"/v1/private/dataSvc/handleDataBySvcCode?",
|
|
17035
|
-
|
|
17035
|
+
q
|
|
17036
17036
|
);
|
|
17037
17037
|
if (P.data && P.data?.value) {
|
|
17038
|
-
const
|
|
17039
|
-
if (
|
|
17040
|
-
const I = (V,
|
|
17041
|
-
const
|
|
17042
|
-
if (
|
|
17043
|
-
const W =
|
|
17044
|
-
(
|
|
17045
|
-
),
|
|
17046
|
-
const
|
|
17038
|
+
const A = ue(P.data?.value) ? P.data?.value : [P.data?.value];
|
|
17039
|
+
if (A.length) {
|
|
17040
|
+
const I = (V, x, j, B) => {
|
|
17041
|
+
const N = A.slice(0, 50);
|
|
17042
|
+
if (N.length > 1 && D) {
|
|
17043
|
+
const W = N.filter(
|
|
17044
|
+
(Q, E) => E == 0
|
|
17045
|
+
), H = W.map((Q) => {
|
|
17046
|
+
const E = {}, re = Object.keys(Q).includes(x);
|
|
17047
17047
|
return ue(
|
|
17048
|
-
|
|
17048
|
+
w(
|
|
17049
17049
|
V,
|
|
17050
|
-
|
|
17050
|
+
x,
|
|
17051
17051
|
0,
|
|
17052
17052
|
W,
|
|
17053
|
-
|
|
17053
|
+
j,
|
|
17054
17054
|
B
|
|
17055
17055
|
)
|
|
17056
|
-
) &&
|
|
17057
|
-
[
|
|
17056
|
+
) && re && Object.assign(E, {
|
|
17057
|
+
[x]: N.map((Se, dt) => w(
|
|
17058
17058
|
V,
|
|
17059
|
-
|
|
17059
|
+
x,
|
|
17060
17060
|
dt,
|
|
17061
|
-
|
|
17062
|
-
|
|
17061
|
+
N,
|
|
17062
|
+
j,
|
|
17063
17063
|
B
|
|
17064
|
-
)).reduce((
|
|
17065
|
-
}), { ...
|
|
17066
|
-
}),
|
|
17064
|
+
)).reduce((Se = [], dt = []) => Se?.concat(dt), [])
|
|
17065
|
+
}), { ...Q, ...E };
|
|
17066
|
+
}), G = w(
|
|
17067
17067
|
V,
|
|
17068
|
-
|
|
17068
|
+
x,
|
|
17069
17069
|
0,
|
|
17070
|
-
|
|
17070
|
+
H,
|
|
17071
17071
|
void 0,
|
|
17072
17072
|
// 需要为空 因为altogether已经处理
|
|
17073
17073
|
B
|
|
17074
17074
|
);
|
|
17075
|
-
return ue(
|
|
17075
|
+
return ue(G) ? Array.from(new Set(G)) : G;
|
|
17076
17076
|
}
|
|
17077
|
-
return
|
|
17077
|
+
return w(
|
|
17078
17078
|
V,
|
|
17079
|
-
|
|
17079
|
+
x,
|
|
17080
17080
|
0,
|
|
17081
|
-
|
|
17082
|
-
|
|
17081
|
+
N,
|
|
17082
|
+
j,
|
|
17083
17083
|
B
|
|
17084
17084
|
);
|
|
17085
17085
|
}, C = (V) => typeof a.getInstance(V) > "u" ? !0 : typeof a.getInstanceRowIndex(
|
|
@@ -17087,96 +17087,96 @@ async function Tp({
|
|
|
17087
17087
|
) == "number", R = h.filter(
|
|
17088
17088
|
(V) => V.fieldCode
|
|
17089
17089
|
);
|
|
17090
|
-
if (
|
|
17090
|
+
if (T === "page")
|
|
17091
17091
|
if (C(R[0]?.controlId))
|
|
17092
17092
|
if (i !== void 0)
|
|
17093
17093
|
R.forEach((V) => {
|
|
17094
|
-
const
|
|
17094
|
+
const x = a.getField(c.dataCode)[i], { isOptions: j, options: B } = b(
|
|
17095
17095
|
V.controlId,
|
|
17096
17096
|
i
|
|
17097
|
-
),
|
|
17097
|
+
), N = I(
|
|
17098
17098
|
V.controlId,
|
|
17099
17099
|
V.fieldCode,
|
|
17100
17100
|
V?.fieldType,
|
|
17101
17101
|
i
|
|
17102
|
-
), W = ue(
|
|
17103
|
-
(
|
|
17104
|
-
) :
|
|
17105
|
-
|
|
17102
|
+
), W = ue(N) && j ? N.filter(
|
|
17103
|
+
(H) => B.includes(H)
|
|
17104
|
+
) : N;
|
|
17105
|
+
x[V.controlId] = W;
|
|
17106
17106
|
});
|
|
17107
17107
|
else {
|
|
17108
17108
|
const V = te(
|
|
17109
|
-
a.getField(
|
|
17110
|
-
),
|
|
17111
|
-
|
|
17109
|
+
a.getField(c.dataCode)
|
|
17110
|
+
), x = V?.length ?? 0, j = A.slice(0, 200);
|
|
17111
|
+
j?.forEach(() => V.push({}));
|
|
17112
17112
|
const B = {};
|
|
17113
17113
|
R.map((W) => {
|
|
17114
17114
|
Object.assign(B, {
|
|
17115
|
-
[W.controlId]:
|
|
17115
|
+
[W.controlId]: b(W?.controlId, -1)
|
|
17116
17116
|
});
|
|
17117
|
-
}), new Array(V?.length ?? 0).fill(1).forEach((W,
|
|
17118
|
-
|
|
17117
|
+
}), new Array(V?.length ?? 0).fill(1).forEach((W, H) => {
|
|
17118
|
+
x <= H && j.forEach(() => {
|
|
17119
17119
|
R.forEach(
|
|
17120
|
-
(
|
|
17121
|
-
const
|
|
17122
|
-
H
|
|
17123
|
-
],
|
|
17124
|
-
|
|
17125
|
-
|
|
17120
|
+
(G) => {
|
|
17121
|
+
const Q = [
|
|
17122
|
+
j[H - x]
|
|
17123
|
+
], E = w(
|
|
17124
|
+
G.controlId,
|
|
17125
|
+
G.fieldCode,
|
|
17126
17126
|
0,
|
|
17127
|
-
|
|
17128
|
-
|
|
17129
|
-
|
|
17130
|
-
),
|
|
17131
|
-
(
|
|
17132
|
-
) ?
|
|
17133
|
-
V[
|
|
17127
|
+
Q,
|
|
17128
|
+
G.fieldType,
|
|
17129
|
+
H
|
|
17130
|
+
), re = ue(E) ? E : [E], fe = B[G.controlId].isOptions ? re?.filter(
|
|
17131
|
+
(Se) => B[G.controlId].options?.includes(Se)
|
|
17132
|
+
) ? re : void 0 : E;
|
|
17133
|
+
V[H][G.controlId] = fe;
|
|
17134
17134
|
}
|
|
17135
17135
|
);
|
|
17136
17136
|
});
|
|
17137
17137
|
});
|
|
17138
|
-
const
|
|
17138
|
+
const N = a.getInstance(
|
|
17139
17139
|
R[0]?.controlId,
|
|
17140
17140
|
-1
|
|
17141
17141
|
)?.parent?.parent?.id;
|
|
17142
|
-
a.setState(
|
|
17142
|
+
a.setState(N, V, void 0, {
|
|
17143
17143
|
disableMultistageFillingPluginListChange: !0,
|
|
17144
17144
|
disableMultistageFillingPluginChange: !1
|
|
17145
17145
|
});
|
|
17146
17146
|
}
|
|
17147
17147
|
else
|
|
17148
17148
|
O === Ks.current && R.forEach((V) => {
|
|
17149
|
-
let
|
|
17150
|
-
const
|
|
17149
|
+
let x;
|
|
17150
|
+
const j = a.getInstance(V.controlId), B = I(
|
|
17151
17151
|
V.controlId,
|
|
17152
17152
|
V.fieldCode,
|
|
17153
17153
|
V?.fieldType
|
|
17154
|
-
), { isOptions:
|
|
17154
|
+
), { isOptions: N, options: W } = b(V.controlId);
|
|
17155
17155
|
if (ue(a.getState(V.controlId)))
|
|
17156
|
-
|
|
17157
|
-
(
|
|
17156
|
+
j?.props?.optionConfig === "datasource" ? x = B : x = N ? B.filter(
|
|
17157
|
+
(H) => W.includes(H)
|
|
17158
17158
|
) : B;
|
|
17159
17159
|
else {
|
|
17160
|
-
const
|
|
17161
|
-
|
|
17160
|
+
const H = ["radio", "select", "select-relation"], G = ue(B) ? B[0] : B;
|
|
17161
|
+
H.includes(j?.type || "") ? j?.props?.optionConfig === "datasource" ? x = G : x = W.includes(G) ? G : "" : x = B;
|
|
17162
17162
|
}
|
|
17163
17163
|
a.setState(
|
|
17164
17164
|
V.controlId,
|
|
17165
17165
|
//处理控件值为数组类型时 拼接每一项 处理单选多选的情况
|
|
17166
|
-
|
|
17166
|
+
x || void 0
|
|
17167
17167
|
);
|
|
17168
17168
|
});
|
|
17169
17169
|
}
|
|
17170
17170
|
}
|
|
17171
17171
|
if (P.code == "000000")
|
|
17172
17172
|
return {
|
|
17173
|
-
input:
|
|
17173
|
+
input: q,
|
|
17174
17174
|
output: P.data
|
|
17175
17175
|
};
|
|
17176
17176
|
{
|
|
17177
|
-
const
|
|
17178
|
-
return bp ? $t.error(
|
|
17179
|
-
input:
|
|
17177
|
+
const A = P.message || oe.$t("message.calledServiceFail", "调用服务失败");
|
|
17178
|
+
return bp ? $t.error(A) : Ht.fail(A), {
|
|
17179
|
+
input: q,
|
|
17180
17180
|
output: P.data,
|
|
17181
17181
|
error: P
|
|
17182
17182
|
};
|
|
@@ -17201,14 +17201,14 @@ async function qp(s) {
|
|
|
17201
17201
|
s.params?.error
|
|
17202
17202
|
);
|
|
17203
17203
|
else {
|
|
17204
|
-
const i =
|
|
17204
|
+
const i = oe.$t(
|
|
17205
17205
|
"message.callJsFailed",
|
|
17206
17206
|
"调用JS方法失败" + a.method + "方法不存在"
|
|
17207
17207
|
);
|
|
17208
17208
|
K.isPc() ? $t.error(i) : Ht.fail(i);
|
|
17209
17209
|
}
|
|
17210
17210
|
} catch (i) {
|
|
17211
|
-
const n =
|
|
17211
|
+
const n = oe.$t(
|
|
17212
17212
|
"message.callJsFailed",
|
|
17213
17213
|
"调用JS方法失败" + a.method + "方法 " + i
|
|
17214
17214
|
);
|
|
@@ -17261,15 +17261,15 @@ class Xs {
|
|
|
17261
17261
|
for (let i = 0; i < a.cases[0].handlers.length; i++) {
|
|
17262
17262
|
const n = a.cases[0].handlers, o = n[i];
|
|
17263
17263
|
let l;
|
|
17264
|
-
if (o.method ===
|
|
17264
|
+
if (o.method === qe.openLink)
|
|
17265
17265
|
await Pp({
|
|
17266
17266
|
engine: this.engine,
|
|
17267
17267
|
handler: o,
|
|
17268
17268
|
instance: t?.instance
|
|
17269
17269
|
}), e === "on_focus" && o.params.openMode === "newTab" && cs(), r = l;
|
|
17270
|
-
else if (o.method ===
|
|
17270
|
+
else if (o.method === qe.setInstance)
|
|
17271
17271
|
await gp(o, this.engine);
|
|
17272
|
-
else if (o.method ===
|
|
17272
|
+
else if (o.method === qe.querySvc) {
|
|
17273
17273
|
const u = await Tp(
|
|
17274
17274
|
{ handler: o, instance: t?.instance },
|
|
17275
17275
|
this.app_id,
|
|
@@ -17279,12 +17279,12 @@ class Xs {
|
|
|
17279
17279
|
);
|
|
17280
17280
|
u?.error && (l = !1), r = u;
|
|
17281
17281
|
} else
|
|
17282
|
-
o.method ===
|
|
17282
|
+
o.method === qe.jsMethod && (l = await qp({
|
|
17283
17283
|
handler: o,
|
|
17284
17284
|
engine: this.engine,
|
|
17285
17285
|
params: r
|
|
17286
17286
|
}), r = void 0);
|
|
17287
|
-
if (l === !1 && n?.[i + 1]?.method !==
|
|
17287
|
+
if (l === !1 && n?.[i + 1]?.method !== qe.jsMethod)
|
|
17288
17288
|
break;
|
|
17289
17289
|
}
|
|
17290
17290
|
}
|
|
@@ -17352,7 +17352,7 @@ const Op = (s, e = "date") => {
|
|
|
17352
17352
|
const e = Op((/* @__PURE__ */ new Date()).valueOf(), s);
|
|
17353
17353
|
return Number(e[0]);
|
|
17354
17354
|
};
|
|
17355
|
-
let
|
|
17355
|
+
let Oe;
|
|
17356
17356
|
const Ap = [
|
|
17357
17357
|
ki,
|
|
17358
17358
|
Ri,
|
|
@@ -17362,257 +17362,259 @@ const Ap = [
|
|
|
17362
17362
|
Fi
|
|
17363
17363
|
].reduce((s, e) => (Object.keys(e).forEach((t) => s.push(e[t])), s), []);
|
|
17364
17364
|
Ap.map((s) => at.register(s));
|
|
17365
|
-
function _p(s, e, t = {}, a) {
|
|
17365
|
+
function _p(s, e, t = {}, a, r) {
|
|
17366
17366
|
const {
|
|
17367
|
-
state:
|
|
17368
|
-
pageStatus:
|
|
17369
|
-
descript:
|
|
17370
|
-
device:
|
|
17371
|
-
engineOptionsBuilder:
|
|
17372
|
-
parentEngine:
|
|
17373
|
-
locale:
|
|
17367
|
+
state: i,
|
|
17368
|
+
pageStatus: n,
|
|
17369
|
+
descript: o,
|
|
17370
|
+
device: l,
|
|
17371
|
+
engineOptionsBuilder: u,
|
|
17372
|
+
parentEngine: p,
|
|
17373
|
+
locale: d = oe.global.locale
|
|
17374
17374
|
} = s, {
|
|
17375
|
-
route:
|
|
17376
|
-
store:
|
|
17377
|
-
isPreview:
|
|
17378
|
-
registeredConfigs:
|
|
17375
|
+
route: y = {},
|
|
17376
|
+
store: m = {},
|
|
17377
|
+
isPreview: c = !1,
|
|
17378
|
+
registeredConfigs: T
|
|
17379
17379
|
} = t, {
|
|
17380
|
-
query: { enginedebug:
|
|
17381
|
-
} =
|
|
17382
|
-
|
|
17383
|
-
),
|
|
17384
|
-
let
|
|
17385
|
-
|
|
17386
|
-
let
|
|
17387
|
-
|
|
17388
|
-
const
|
|
17389
|
-
let
|
|
17390
|
-
displayBoList:
|
|
17391
|
-
dataCode:
|
|
17392
|
-
behaviors:
|
|
17393
|
-
control_events:
|
|
17394
|
-
events:
|
|
17380
|
+
query: { enginedebug: q = !1, chn: _ }
|
|
17381
|
+
} = y, S = M(c), f = JSON.parse(i?.data.content?.model || "[]"), v = new Ni(
|
|
17382
|
+
i?.data?.content?.schema_version
|
|
17383
|
+
), O = i?.data.content?.events;
|
|
17384
|
+
let D = i?.data.content?.control_events;
|
|
17385
|
+
D || (D = {});
|
|
17386
|
+
let h = i?.data.content?.listeners;
|
|
17387
|
+
h || (h = {});
|
|
17388
|
+
const b = JSON.parse(i?.data.display_conf ?? "[]"), w = i?.data?.content?.permission_maps?.behaviors ?? [], P = i?.data?.data_code;
|
|
17389
|
+
let A = v.dataCleaner(f, {
|
|
17390
|
+
displayBoList: b,
|
|
17391
|
+
dataCode: P,
|
|
17392
|
+
behaviors: w,
|
|
17393
|
+
control_events: D,
|
|
17394
|
+
events: O
|
|
17395
17395
|
});
|
|
17396
|
-
|
|
17397
|
-
const
|
|
17398
|
-
|
|
17399
|
-
),
|
|
17400
|
-
|
|
17401
|
-
...
|
|
17402
|
-
],
|
|
17403
|
-
() =>
|
|
17404
|
-
),
|
|
17405
|
-
|
|
17406
|
-
|
|
17407
|
-
|
|
17408
|
-
|
|
17396
|
+
A = Je(A);
|
|
17397
|
+
const I = Je(
|
|
17398
|
+
i?.data?.content?.model_bind_info_list ?? []
|
|
17399
|
+
), C = [
|
|
17400
|
+
i.data.data_model,
|
|
17401
|
+
...i.data.sub_data_model_list ?? []
|
|
17402
|
+
], R = i?.data?.content?.i18n, V = (E, re, fe = "zh") => re?.[fe]?.[E.id], x = U(
|
|
17403
|
+
() => m.state.tenant?.tenant_auth?.virtual_org || m.state.tenant?.tenant_auth?.virtual_org?.external_org
|
|
17404
|
+
), j = (E) => {
|
|
17405
|
+
E = Ui(
|
|
17406
|
+
E,
|
|
17407
|
+
Oe,
|
|
17408
|
+
i.content?.refer_component_id_list,
|
|
17409
17409
|
{
|
|
17410
|
-
displayBoList:
|
|
17411
|
-
dataCode:
|
|
17412
|
-
behaviors:
|
|
17413
|
-
control_events:
|
|
17414
|
-
events:
|
|
17410
|
+
displayBoList: b,
|
|
17411
|
+
dataCode: P,
|
|
17412
|
+
behaviors: w,
|
|
17413
|
+
control_events: D,
|
|
17414
|
+
events: O
|
|
17415
17415
|
}
|
|
17416
|
-
), st.isCopy(
|
|
17417
|
-
const
|
|
17418
|
-
switch (
|
|
17419
|
-
|
|
17420
|
-
|
|
17421
|
-
|
|
17422
|
-
),
|
|
17416
|
+
), st.isCopy(i.url.type) && st.setClearValueFieldCode(E), E.pageStatus = n;
|
|
17417
|
+
const re = iu(E, I), fe = V(E, R, d.split("-")[0]);
|
|
17418
|
+
switch (re && nu(E, re), fe && ou(E, fe), pu(
|
|
17419
|
+
E,
|
|
17420
|
+
C,
|
|
17421
|
+
I
|
|
17422
|
+
), E.type) {
|
|
17423
17423
|
case "employee":
|
|
17424
17424
|
case "employee2":
|
|
17425
|
-
|
|
17425
|
+
E.props.defaultValueType === "current" && (E.props.defaultValue = [m.state.userInfo.employee_id]);
|
|
17426
17426
|
break;
|
|
17427
17427
|
case "department":
|
|
17428
17428
|
case "department2":
|
|
17429
|
-
|
|
17429
|
+
E.props.defaultValueType === "current" ? E.props.defaultValue = [m.state.userInfo.department_id] : E.props.defaultValueType === "current_dept_id" && (E.props.defaultValue = x.value && m.state.userInfo.current_dept_id ? [m.state.userInfo.current_dept_id] : [m.state.userInfo.department_id]);
|
|
17430
17430
|
break;
|
|
17431
17431
|
case "organization-selection":
|
|
17432
|
-
|
|
17432
|
+
E.props.defaultValueType === "current" ? E.props.defaultValue = m.state.userInfo.department_id : E.props.defaultValueType === "current_dept_id" && (E.props.defaultValue = m.state.userInfo.current_dept_id);
|
|
17433
17433
|
break;
|
|
17434
17434
|
case "date-picker":
|
|
17435
|
-
if (
|
|
17436
|
-
const
|
|
17437
|
-
|
|
17435
|
+
if (E.props.setValueType === "now") {
|
|
17436
|
+
const Se = wp(E.props.dateType);
|
|
17437
|
+
E.props.defaultValue = new Date(Se).valueOf();
|
|
17438
17438
|
}
|
|
17439
17439
|
break;
|
|
17440
17440
|
}
|
|
17441
|
-
},
|
|
17442
|
-
|
|
17443
|
-
),
|
|
17441
|
+
}, B = te(
|
|
17442
|
+
i.data?.content?.button_groups ?? i.data?.button_group ?? []
|
|
17443
|
+
), N = [
|
|
17444
17444
|
new xs({
|
|
17445
17445
|
// env: '',
|
|
17446
|
-
userInfo:
|
|
17447
|
-
tenant:
|
|
17448
|
-
device:
|
|
17449
|
-
language:
|
|
17450
|
-
pageStatus:
|
|
17451
|
-
isPreview:
|
|
17446
|
+
userInfo: m.state.userInfo,
|
|
17447
|
+
tenant: m.state.tenant,
|
|
17448
|
+
device: l,
|
|
17449
|
+
language: d,
|
|
17450
|
+
pageStatus: n,
|
|
17451
|
+
isPreview: S
|
|
17452
17452
|
}),
|
|
17453
17453
|
new Bs({
|
|
17454
|
-
buttonGroups:
|
|
17455
|
-
behaviors:
|
|
17454
|
+
buttonGroups: i.data?.content?.button_groups,
|
|
17455
|
+
behaviors: w,
|
|
17456
17456
|
showDataViewOperationBtn: s.showDataViewOperationBtn,
|
|
17457
|
-
channelParamId:
|
|
17457
|
+
channelParamId: _
|
|
17458
17458
|
}),
|
|
17459
17459
|
new Gs(),
|
|
17460
|
-
new _s(
|
|
17461
|
-
new As(
|
|
17460
|
+
new _s(w, b),
|
|
17461
|
+
new As(b, w),
|
|
17462
17462
|
new Ns({
|
|
17463
|
-
userInfo:
|
|
17464
|
-
isPreviewMode:
|
|
17463
|
+
userInfo: m.state.userInfo,
|
|
17464
|
+
isPreviewMode: S
|
|
17465
17465
|
}),
|
|
17466
17466
|
new Us(),
|
|
17467
17467
|
new Cs({
|
|
17468
|
-
descript:
|
|
17468
|
+
descript: o,
|
|
17469
17469
|
printUrlList: e,
|
|
17470
|
-
buttonGroups:
|
|
17470
|
+
buttonGroups: B
|
|
17471
17471
|
}),
|
|
17472
17472
|
new Is({
|
|
17473
|
-
isPreviewMode:
|
|
17473
|
+
isPreviewMode: S
|
|
17474
17474
|
}),
|
|
17475
17475
|
new Gi(
|
|
17476
|
-
|
|
17477
|
-
|
|
17476
|
+
i?.data?.content?.action ?? {},
|
|
17477
|
+
we(K.isPc()),
|
|
17478
|
+
r
|
|
17478
17479
|
),
|
|
17479
|
-
new $i(
|
|
17480
|
-
new ji(
|
|
17480
|
+
new $i(O ?? {}),
|
|
17481
|
+
new ji(D ?? {}),
|
|
17481
17482
|
new Xs(
|
|
17482
|
-
|
|
17483
|
+
h ?? {},
|
|
17483
17484
|
s?.state?.data?.app_id || "",
|
|
17484
|
-
|
|
17485
|
+
m.state.userInfo || {}
|
|
17485
17486
|
),
|
|
17486
17487
|
new Hi({
|
|
17487
|
-
displayBoList:
|
|
17488
|
-
behavior: Je(
|
|
17488
|
+
displayBoList: b,
|
|
17489
|
+
behavior: Je(w)
|
|
17489
17490
|
}),
|
|
17490
|
-
new zi(
|
|
17491
|
-
new Fs({ behaviors:
|
|
17491
|
+
new zi(i?.data?.content?.style ?? {}),
|
|
17492
|
+
new Fs({ behaviors: w }),
|
|
17492
17493
|
new Ls(),
|
|
17493
17494
|
new $s(),
|
|
17494
|
-
new js(
|
|
17495
|
+
new js(i?.data?.content, S),
|
|
17495
17496
|
new Hs({
|
|
17496
|
-
config:
|
|
17497
|
-
datasources:
|
|
17497
|
+
config: i?.data?.content?.fx ?? {},
|
|
17498
|
+
datasources: i?.data?.content?.datasources ?? {}
|
|
17498
17499
|
}),
|
|
17499
17500
|
new zs({
|
|
17500
|
-
config:
|
|
17501
|
-
store:
|
|
17501
|
+
config: i?.data?.content?.title_setting ?? [],
|
|
17502
|
+
store: m
|
|
17502
17503
|
})
|
|
17503
17504
|
];
|
|
17504
17505
|
if (console.log(a, "isStatic"), !a) {
|
|
17505
|
-
let
|
|
17506
|
-
|
|
17506
|
+
let E = new yu(i?.data?.content?.custom ?? {});
|
|
17507
|
+
N.push(E);
|
|
17507
17508
|
}
|
|
17508
|
-
const
|
|
17509
|
-
schema:
|
|
17510
|
-
beforeCreateInstance:
|
|
17511
|
-
language:
|
|
17509
|
+
const W = {
|
|
17510
|
+
schema: A,
|
|
17511
|
+
beforeCreateInstance: j,
|
|
17512
|
+
language: d,
|
|
17512
17513
|
// 操作schema和操作data
|
|
17513
|
-
plugins:
|
|
17514
|
+
plugins: N,
|
|
17514
17515
|
// 取消自动挂载,如果自动挂载的话,这里存在一个问题,由于reactive前后是两个对象,只不过是通过Proxy造成引用,所以不能在reactive之前初始化插件
|
|
17515
17516
|
autoMount: !1,
|
|
17516
17517
|
// 是否开启engine调试,
|
|
17517
|
-
debug: !!
|
|
17518
|
-
externalParams:
|
|
17518
|
+
debug: !!q,
|
|
17519
|
+
externalParams: i
|
|
17519
17520
|
};
|
|
17520
|
-
let
|
|
17521
|
-
if (typeof
|
|
17522
|
-
const
|
|
17523
|
-
|
|
17521
|
+
let H = W;
|
|
17522
|
+
if (typeof u == "function") {
|
|
17523
|
+
const E = u(W);
|
|
17524
|
+
E && (H = E);
|
|
17524
17525
|
}
|
|
17525
|
-
const
|
|
17526
|
-
return
|
|
17527
|
-
|
|
17528
|
-
}),
|
|
17526
|
+
const G = new at(H), Q = ai(G);
|
|
17527
|
+
return p && (Q.parent = p), T && T.forEach((E, re) => {
|
|
17528
|
+
Q.setControlConfig(re, E);
|
|
17529
|
+
}), Q.rawStore.DELETE_IDS = {}, Q.rawStore.UPDATE_IDS = {}, Q.mount(), Q.store = Fr(Q.store), Q;
|
|
17529
17530
|
}
|
|
17530
|
-
function Gp(s, e, t, a) {
|
|
17531
|
+
function Gp(s, e, t, a, r) {
|
|
17531
17532
|
process.env.NODE_ENV !== "production" && (window.Vue = Mr, window.antd = ri), window.byteluckVuePages || (window.byteluckVuePages = {});
|
|
17532
|
-
const
|
|
17533
|
-
pa("context",
|
|
17534
|
-
const { printUrlList:
|
|
17535
|
-
const
|
|
17536
|
-
(
|
|
17533
|
+
const i = ru(), { title: n, updateTitle: o } = su(s.isWatchTitle), l = Z({});
|
|
17534
|
+
pa("context", l);
|
|
17535
|
+
const { printUrlList: u, setPrintUrlList: p } = Zi(), d = () => {
|
|
17536
|
+
const f = l.value.runtime.flatInstances.find(
|
|
17537
|
+
(v) => v.type === g.TITLE
|
|
17537
17538
|
)?.props?.caption || s.state.data.name;
|
|
17538
|
-
return s.isWatchTitle ?
|
|
17539
|
-
},
|
|
17540
|
-
function
|
|
17541
|
-
at.register(
|
|
17542
|
-
const
|
|
17543
|
-
|
|
17544
|
-
`rok-${
|
|
17545
|
-
K.isPc() ?
|
|
17539
|
+
return s.isWatchTitle ? f : document.title;
|
|
17540
|
+
}, y = /* @__PURE__ */ new Map();
|
|
17541
|
+
function m(S) {
|
|
17542
|
+
at.register(S.control);
|
|
17543
|
+
const f = S.props?.config;
|
|
17544
|
+
f && y.set(S.control.Runtime.controlType, f), L().component(
|
|
17545
|
+
`rok-${S.control.Runtime.controlType}`,
|
|
17546
|
+
K.isPc() ? S.control?.Views?.Desktop : S.control?.Views?.Mobile
|
|
17546
17547
|
);
|
|
17547
17548
|
}
|
|
17548
|
-
const
|
|
17549
|
-
|
|
17550
|
-
},
|
|
17549
|
+
const c = () => {
|
|
17550
|
+
l.value instanceof at && (cu(l.value.id, e.path), l.value.destroy());
|
|
17551
|
+
}, T = async () => {
|
|
17551
17552
|
if (s?.state?.data?.app_id) {
|
|
17552
|
-
if (
|
|
17553
|
+
if (c(), p(s.state), Oe = await Aa(
|
|
17553
17554
|
s.state.data.content.refer_component_id_list,
|
|
17554
17555
|
s.state.data.content.refer_component_prop_list,
|
|
17555
|
-
|
|
17556
|
+
we(K.isPc()),
|
|
17556
17557
|
{
|
|
17557
17558
|
tipMessage: "控件加载异常,请联系管理员",
|
|
17558
17559
|
type: "runtime"
|
|
17559
17560
|
}
|
|
17560
17561
|
), s.state.data.form_type === 5) {
|
|
17561
|
-
const
|
|
17562
|
+
const S = await Li(
|
|
17562
17563
|
process.env.VUE_APP_BYTELUCK_CONTROLS,
|
|
17563
17564
|
{
|
|
17564
17565
|
type: "runtime",
|
|
17565
17566
|
version: process.env.VUE_APP_BYTELUCK_CONTROLS_VERSION,
|
|
17566
|
-
globalModules:
|
|
17567
|
+
globalModules: we(K.isPc())
|
|
17567
17568
|
}
|
|
17568
17569
|
);
|
|
17569
|
-
|
|
17570
|
-
Array.from(
|
|
17571
|
-
}),
|
|
17570
|
+
Oe.forEach((f, v) => {
|
|
17571
|
+
Array.from(S.keys()).includes(v) && Oe.delete(v);
|
|
17572
|
+
}), S.forEach(m);
|
|
17572
17573
|
}
|
|
17573
17574
|
if (e.query.debug_port) {
|
|
17574
|
-
const
|
|
17575
|
+
const S = await $r(
|
|
17575
17576
|
"http://localhost:" + e.query.debug_port
|
|
17576
|
-
),
|
|
17577
|
-
[
|
|
17578
|
-
[
|
|
17579
|
-
|
|
17577
|
+
), f = JSON.parse(S), v = await Aa(
|
|
17578
|
+
[f.component_bo_list[0].component_props.id],
|
|
17579
|
+
[f.component_bo_list[0].component_props],
|
|
17580
|
+
we(K.isPc()),
|
|
17580
17581
|
{
|
|
17581
17582
|
tipMessage: "控件加载异常,请联系管理员",
|
|
17582
17583
|
type: "runtime"
|
|
17583
17584
|
}
|
|
17584
|
-
),
|
|
17585
|
-
|
|
17585
|
+
), O = [...v.keys()][0];
|
|
17586
|
+
Oe.set(O, v.get(O));
|
|
17586
17587
|
}
|
|
17587
|
-
return
|
|
17588
|
+
return Oe?.forEach(m), l.value = _p(
|
|
17588
17589
|
s,
|
|
17589
|
-
|
|
17590
|
+
u.value,
|
|
17590
17591
|
{
|
|
17591
17592
|
store: t,
|
|
17592
17593
|
route: e,
|
|
17593
|
-
isPreview: M(
|
|
17594
|
-
registeredConfigs:
|
|
17594
|
+
isPreview: M(i),
|
|
17595
|
+
registeredConfigs: y
|
|
17595
17596
|
},
|
|
17596
|
-
a
|
|
17597
|
-
|
|
17598
|
-
|
|
17599
|
-
|
|
17597
|
+
a,
|
|
17598
|
+
r
|
|
17599
|
+
), du(l.value, e.path), o(d()), {
|
|
17600
|
+
title: n,
|
|
17601
|
+
context: l
|
|
17600
17602
|
};
|
|
17601
17603
|
}
|
|
17602
17604
|
};
|
|
17603
17605
|
xr(() => {
|
|
17604
|
-
|
|
17606
|
+
c();
|
|
17605
17607
|
});
|
|
17606
|
-
const
|
|
17607
|
-
const
|
|
17608
|
-
return
|
|
17608
|
+
const q = (S) => l?.value?.getState?.(S) ?? "", _ = U(() => {
|
|
17609
|
+
const S = l?.value?.runtime?.instance;
|
|
17610
|
+
return l.value ? Array.isArray(S) ? S : S ? [S] : [] : [];
|
|
17609
17611
|
});
|
|
17610
17612
|
return {
|
|
17611
|
-
context:
|
|
17612
|
-
runtimeInstances:
|
|
17613
|
-
title:
|
|
17614
|
-
getState:
|
|
17615
|
-
createEngine:
|
|
17613
|
+
context: l,
|
|
17614
|
+
runtimeInstances: _,
|
|
17615
|
+
title: n,
|
|
17616
|
+
getState: q,
|
|
17617
|
+
createEngine: T,
|
|
17616
17618
|
ActionUtilsPlugin: xs,
|
|
17617
17619
|
ApprovalPlugin: Fs,
|
|
17618
17620
|
DataFilterPlugin: Us,
|