wcz-test 6.24.0 → 6.24.2
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/ApprovalStatus-BtAVFn5p.js +8 -0
- package/dist/ApprovalStatus-BtAVFn5p.js.map +1 -0
- package/dist/{node_modules/react/cjs/react-jsx-runtime.development.js → DialogsContext-BKtkEAfL.js} +48 -4
- package/dist/DialogsContext-BKtkEAfL.js.map +1 -0
- package/dist/{hooks/DialogsHooks.js → DialogsHooks-BQVpqCq9.js} +4 -7
- package/dist/DialogsHooks-BQVpqCq9.js.map +1 -0
- package/dist/FileHooks-Cg9ver7z.js +3478 -0
- package/dist/FileHooks-Cg9ver7z.js.map +1 -0
- package/dist/{models/file/FileMeta.js → FileMeta-G1oT3mYK.js} +2 -2
- package/dist/FileMeta-G1oT3mYK.js.map +1 -0
- package/dist/{components/router/RouterListItemButton.js → RouterListItemButton-IUVgwnz3.js} +4 -4
- package/dist/RouterListItemButton-IUVgwnz3.js.map +1 -0
- package/dist/client.js +4 -4
- package/dist/compiler-runtime-BGHur82y.js +46 -0
- package/dist/compiler-runtime-BGHur82y.js.map +1 -0
- package/dist/components.js +1486 -15
- package/dist/components.js.map +1 -1
- package/dist/{env.js → env-gsqZ6zZD.js} +3 -3
- package/dist/env-gsqZ6zZD.js.map +1 -0
- package/dist/exports/client.d.ts +17 -4
- package/dist/exports/components.d.ts +44 -14
- package/dist/exports/hooks.d.ts +23 -4
- package/dist/exports/index.d.ts +17 -4
- package/dist/exports/models.d.ts +107 -25
- package/dist/exports/queries.d.ts +95 -4
- package/dist/exports/server.d.ts +14 -4
- package/dist/exports/utils.d.ts +11 -3
- package/dist/exports/vite.d.ts +5 -1
- package/dist/hooks.js +1000 -3
- package/dist/hooks.js.map +1 -1
- package/dist/index.js +1752 -4
- package/dist/index.js.map +1 -1
- package/dist/models.js +159 -10
- package/dist/models.js.map +1 -1
- package/dist/queries.js +935 -14
- package/dist/queries.js.map +1 -1
- package/dist/{lib/queryClient.js → queryClient-CNvC95mU.js} +2 -2
- package/dist/queryClient-CNvC95mU.js.map +1 -0
- package/dist/server.js +84 -1
- package/dist/server.js.map +1 -1
- package/dist/{lib/auth/session.js → session-vW7WZadj.js} +24 -9
- package/dist/session-vW7WZadj.js.map +1 -0
- package/dist/{lib/utils.js → utils-MD9YwOtu.js} +9 -9
- package/dist/utils-MD9YwOtu.js.map +1 -0
- package/dist/utils.js +2 -2
- package/dist/vite.js +61 -1
- package/dist/vite.js.map +1 -1
- package/package.json +1 -1
- package/dist/_virtual/___vite-browser-external.js +0 -7
- package/dist/_virtual/___vite-browser-external.js.map +0 -1
- package/dist/_virtual/__vite-browser-external.js +0 -5
- package/dist/_virtual/__vite-browser-external.js.map +0 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -37
- package/dist/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/_virtual/compiler-runtime.js +0 -6
- package/dist/_virtual/compiler-runtime.js.map +0 -1
- package/dist/_virtual/compiler-runtime2.js +0 -5
- package/dist/_virtual/compiler-runtime2.js.map +0 -1
- package/dist/_virtual/index.js +0 -8
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/index2.js +0 -5
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/index3.js +0 -5
- package/dist/_virtual/index3.js.map +0 -1
- package/dist/_virtual/index4.js +0 -5
- package/dist/_virtual/index4.js.map +0 -1
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index5.js.map +0 -1
- package/dist/_virtual/index6.js +0 -5
- package/dist/_virtual/index6.js.map +0 -1
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime.js.map +0 -1
- package/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/_virtual/jsx-runtime2.js.map +0 -1
- package/dist/_virtual/re.js +0 -5
- package/dist/_virtual/re.js.map +0 -1
- package/dist/_virtual/react-compiler-runtime.development.js +0 -5
- package/dist/_virtual/react-compiler-runtime.development.js.map +0 -1
- package/dist/_virtual/react-compiler-runtime.production.js +0 -5
- package/dist/_virtual/react-compiler-runtime.production.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.js.map +0 -1
- package/dist/components/core/AppTitle.d.ts +0 -2
- package/dist/components/core/AppTitle.js +0 -23
- package/dist/components/core/AppTitle.js.map +0 -1
- package/dist/components/core/Fullscreen.d.ts +0 -3
- package/dist/components/core/Fullscreen.js +0 -104
- package/dist/components/core/Fullscreen.js.map +0 -1
- package/dist/components/core/Layout.d.ts +0 -8
- package/dist/components/core/Layout.js +0 -214
- package/dist/components/core/Layout.js.map +0 -1
- package/dist/components/core/ToolbarAccount.d.ts +0 -2
- package/dist/components/core/ToolbarAccount.js +0 -582
- package/dist/components/core/ToolbarAccount.js.map +0 -1
- package/dist/components/core/TypographyWithIcon.d.ts +0 -7
- package/dist/components/core/TypographyWithIcon.js +0 -117
- package/dist/components/core/TypographyWithIcon.js.map +0 -1
- package/dist/components/core/navigation/NavigationList.d.ts +0 -22
- package/dist/components/core/navigation/NavigationList.js +0 -166
- package/dist/components/core/navigation/NavigationList.js.map +0 -1
- package/dist/components/core/navigation/NavigationListItem.d.ts +0 -16
- package/dist/components/core/navigation/NavigationListItem.js +0 -467
- package/dist/components/core/navigation/NavigationListItem.js.map +0 -1
- package/dist/components/core/navigation/NavigationRail.d.ts +0 -12
- package/dist/components/core/navigation/NavigationRail.js +0 -141
- package/dist/components/core/navigation/NavigationRail.js.map +0 -1
- package/dist/components/data-grid/ChipInputCell.d.ts +0 -9
- package/dist/components/data-grid/ChipInputCell.js +0 -95
- package/dist/components/data-grid/ChipInputCell.js.map +0 -1
- package/dist/components/data-grid/EditableColumnHeader.d.ts +0 -2
- package/dist/components/data-grid/EditableColumnHeader.js +0 -30
- package/dist/components/data-grid/EditableColumnHeader.js.map +0 -1
- package/dist/components/file/Dropzone.d.ts +0 -8
- package/dist/components/file/Dropzone.js +0 -151
- package/dist/components/file/Dropzone.js.map +0 -1
- package/dist/components/file/FileViewer.d.ts +0 -20
- package/dist/components/file/FileViewer.js +0 -127
- package/dist/components/file/FileViewer.js.map +0 -1
- package/dist/components/file/fileViewer/FileViewerGrid.d.ts +0 -17
- package/dist/components/file/fileViewer/FileViewerGrid.js +0 -282
- package/dist/components/file/fileViewer/FileViewerGrid.js.map +0 -1
- package/dist/components/file/fileViewer/FileViewerList.d.ts +0 -12
- package/dist/components/file/fileViewer/FileViewerList.js +0 -191
- package/dist/components/file/fileViewer/FileViewerList.js.map +0 -1
- package/dist/components/file/fileViewer/ImageViewer.d.ts +0 -6
- package/dist/components/file/fileViewer/ImageViewer.js +0 -75
- package/dist/components/file/fileViewer/ImageViewer.js.map +0 -1
- package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +0 -15
- package/dist/components/file/fileViewer/common/ActionsMenu.js +0 -159
- package/dist/components/file/fileViewer/common/ActionsMenu.js.map +0 -1
- package/dist/components/form/FormAutocomplete.d.ts +0 -7
- package/dist/components/form/FormAutocomplete.js +0 -80
- package/dist/components/form/FormAutocomplete.js.map +0 -1
- package/dist/components/form/FormCheckbox.d.ts +0 -7
- package/dist/components/form/FormCheckbox.js +0 -81
- package/dist/components/form/FormCheckbox.js.map +0 -1
- package/dist/components/form/FormDatePicker.d.ts +0 -8
- package/dist/components/form/FormDatePicker.js +0 -77
- package/dist/components/form/FormDatePicker.js.map +0 -1
- package/dist/components/form/FormDateRangePicker.d.ts +0 -8
- package/dist/components/form/FormDateRangePicker.js +0 -77
- package/dist/components/form/FormDateRangePicker.js.map +0 -1
- package/dist/components/form/FormDateTimePicker.d.ts +0 -8
- package/dist/components/form/FormDateTimePicker.js +0 -77
- package/dist/components/form/FormDateTimePicker.js.map +0 -1
- package/dist/components/form/FormDateTimeRangePicker.d.ts +0 -8
- package/dist/components/form/FormDateTimeRangePicker.js +0 -77
- package/dist/components/form/FormDateTimeRangePicker.js.map +0 -1
- package/dist/components/form/FormNumberField.d.ts +0 -9
- package/dist/components/form/FormNumberField.js +0 -73
- package/dist/components/form/FormNumberField.js.map +0 -1
- package/dist/components/form/FormRadioGroup.d.ts +0 -13
- package/dist/components/form/FormRadioGroup.js +0 -113
- package/dist/components/form/FormRadioGroup.js.map +0 -1
- package/dist/components/form/FormSlider.d.ts +0 -7
- package/dist/components/form/FormSlider.js +0 -94
- package/dist/components/form/FormSlider.js.map +0 -1
- package/dist/components/form/FormSubmitButton.d.ts +0 -4
- package/dist/components/form/FormSubmitButton.js +0 -50
- package/dist/components/form/FormSubmitButton.js.map +0 -1
- package/dist/components/form/FormSwitch.d.ts +0 -7
- package/dist/components/form/FormSwitch.js +0 -81
- package/dist/components/form/FormSwitch.js.map +0 -1
- package/dist/components/form/FormTextField.d.ts +0 -7
- package/dist/components/form/FormTextField.js +0 -52
- package/dist/components/form/FormTextField.js.map +0 -1
- package/dist/components/form/FormTimePicker.d.ts +0 -8
- package/dist/components/form/FormTimePicker.js +0 -77
- package/dist/components/form/FormTimePicker.js.map +0 -1
- package/dist/components/form/FormTimeRangePicker.d.ts +0 -8
- package/dist/components/form/FormTimeRangePicker.js +0 -77
- package/dist/components/form/FormTimeRangePicker.js.map +0 -1
- package/dist/components/router/RouterButton.d.ts +0 -6
- package/dist/components/router/RouterButton.js +0 -35
- package/dist/components/router/RouterButton.js.map +0 -1
- package/dist/components/router/RouterError.d.ts +0 -7
- package/dist/components/router/RouterError.js +0 -62
- package/dist/components/router/RouterError.js.map +0 -1
- package/dist/components/router/RouterGridActionsCellItem.d.ts +0 -6
- package/dist/components/router/RouterGridActionsCellItem.js +0 -35
- package/dist/components/router/RouterGridActionsCellItem.js.map +0 -1
- package/dist/components/router/RouterIconButton.d.ts +0 -6
- package/dist/components/router/RouterIconButton.js +0 -35
- package/dist/components/router/RouterIconButton.js.map +0 -1
- package/dist/components/router/RouterLink.d.ts +0 -6
- package/dist/components/router/RouterLink.js +0 -35
- package/dist/components/router/RouterLink.js.map +0 -1
- package/dist/components/router/RouterListItemButton.d.ts +0 -6
- package/dist/components/router/RouterListItemButton.js.map +0 -1
- package/dist/components/router/RouterNotFound.d.ts +0 -1
- package/dist/components/router/RouterNotFound.js +0 -53
- package/dist/components/router/RouterNotFound.js.map +0 -1
- package/dist/components/router/RouterTab.d.ts +0 -6
- package/dist/components/router/RouterTab.js +0 -35
- package/dist/components/router/RouterTab.js.map +0 -1
- package/dist/contexts/DialogsContext.d.ts +0 -6
- package/dist/contexts/DialogsContext.js +0 -6
- package/dist/contexts/DialogsContext.js.map +0 -1
- package/dist/contexts/FileContext.d.ts +0 -13
- package/dist/contexts/FileContext.js +0 -14
- package/dist/contexts/FileContext.js.map +0 -1
- package/dist/env.d.ts +0 -13
- package/dist/env.js.map +0 -1
- package/dist/hooks/DialogsHooks.d.ts +0 -42
- package/dist/hooks/DialogsHooks.js.map +0 -1
- package/dist/hooks/FormHooks.d.ts +0 -52
- package/dist/hooks/FormHooks.js +0 -55
- package/dist/hooks/FormHooks.js.map +0 -1
- package/dist/lib/auth/api.d.ts +0 -3
- package/dist/lib/auth/api.js +0 -97
- package/dist/lib/auth/api.js.map +0 -1
- package/dist/lib/auth/entra.d.ts +0 -2
- package/dist/lib/auth/entra.js +0 -13
- package/dist/lib/auth/entra.js.map +0 -1
- package/dist/lib/auth/graph.d.ts +0 -17
- package/dist/lib/auth/graph.js +0 -72
- package/dist/lib/auth/graph.js.map +0 -1
- package/dist/lib/auth/session.d.ts +0 -24
- package/dist/lib/auth/session.js.map +0 -1
- package/dist/lib/queryClient.d.ts +0 -2
- package/dist/lib/queryClient.js.map +0 -1
- package/dist/lib/utils.d.ts +0 -52
- package/dist/lib/utils.js.map +0 -1
- package/dist/lib/vite-plugin.d.ts +0 -2
- package/dist/lib/vite-plugin.js +0 -65
- package/dist/lib/vite-plugin.js.map +0 -1
- package/dist/middleware/auth.d.ts +0 -22
- package/dist/models/Navigation.d.ts +0 -18
- package/dist/models/User.d.ts +0 -16
- package/dist/models/User.js +0 -18
- package/dist/models/User.js.map +0 -1
- package/dist/models/approval/Approval.d.ts +0 -177
- package/dist/models/approval/Approval.js +0 -81
- package/dist/models/approval/Approval.js.map +0 -1
- package/dist/models/approval/ApprovalEmployee.d.ts +0 -7
- package/dist/models/approval/ApprovalEmployee.js +0 -10
- package/dist/models/approval/ApprovalEmployee.js.map +0 -1
- package/dist/models/approval/ApprovalFlow.d.ts +0 -49
- package/dist/models/approval/ApprovalFlow.js +0 -15
- package/dist/models/approval/ApprovalFlow.js.map +0 -1
- package/dist/models/approval/ApprovalFlowStep.d.ts +0 -29
- package/dist/models/approval/ApprovalFlowStep.js +0 -17
- package/dist/models/approval/ApprovalFlowStep.js.map +0 -1
- package/dist/models/approval/ApprovalRequestType.d.ts +0 -5
- package/dist/models/approval/ApprovalRequestType.js +0 -6
- package/dist/models/approval/ApprovalRequestType.js.map +0 -1
- package/dist/models/approval/ApprovalStatus.d.ts +0 -9
- package/dist/models/approval/ApprovalStatus.js +0 -6
- package/dist/models/approval/ApprovalStatus.js.map +0 -1
- package/dist/models/approval/ApprovalStepResult.d.ts +0 -11
- package/dist/models/approval/ApprovalStepResult.js +0 -6
- package/dist/models/approval/ApprovalStepResult.js.map +0 -1
- package/dist/models/approval/StepApprovalOrder.d.ts +0 -6
- package/dist/models/approval/StepApprovalOrder.js +0 -6
- package/dist/models/approval/StepApprovalOrder.js.map +0 -1
- package/dist/models/email/Email.d.ts +0 -13
- package/dist/models/email/Email.js +0 -14
- package/dist/models/email/Email.js.map +0 -1
- package/dist/models/email/EmailAttachment.d.ts +0 -6
- package/dist/models/email/EmailAttachment.js +0 -9
- package/dist/models/email/EmailAttachment.js.map +0 -1
- package/dist/models/file/FileActions.d.ts +0 -6
- package/dist/models/file/FileMeta.d.ts +0 -15
- package/dist/models/file/FileMeta.js.map +0 -1
- package/dist/models/peoplesoft/Department.d.ts +0 -58
- package/dist/models/peoplesoft/Department.js +0 -19
- package/dist/models/peoplesoft/Department.js.map +0 -1
- package/dist/models/peoplesoft/Employee.d.ts +0 -46
- package/dist/models/peoplesoft/Employee.js +0 -43
- package/dist/models/peoplesoft/Employee.js.map +0 -1
- package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +0 -6
- package/dist/models/peoplesoft/EmployeeCategoryGroup.js +0 -6
- package/dist/models/peoplesoft/EmployeeCategoryGroup.js.map +0 -1
- package/dist/models/peoplesoft/EmployeeStatus.d.ts +0 -6
- package/dist/models/peoplesoft/EmployeeStatus.js +0 -6
- package/dist/models/peoplesoft/EmployeeStatus.js.map +0 -1
- package/dist/node_modules/@oslojs/binary/dist/bits.js +0 -7
- package/dist/node_modules/@oslojs/binary/dist/bits.js.map +0 -1
- package/dist/node_modules/@oslojs/binary/dist/uint.js +0 -80
- package/dist/node_modules/@oslojs/binary/dist/uint.js.map +0 -1
- package/dist/node_modules/@oslojs/crypto/dist/sha2/sha256.js +0 -182
- package/dist/node_modules/@oslojs/crypto/dist/sha2/sha256.js.map +0 -1
- package/dist/node_modules/@oslojs/crypto/dist/sha2/sha512.js +0 -83
- package/dist/node_modules/@oslojs/crypto/dist/sha2/sha512.js.map +0 -1
- package/dist/node_modules/@oslojs/encoding/dist/base32.js +0 -11
- package/dist/node_modules/@oslojs/encoding/dist/base32.js.map +0 -1
- package/dist/node_modules/@oslojs/encoding/dist/base64.js +0 -46
- package/dist/node_modules/@oslojs/encoding/dist/base64.js.map +0 -1
- package/dist/node_modules/@oslojs/jwt/dist/index.js +0 -28
- package/dist/node_modules/@oslojs/jwt/dist/index.js.map +0 -1
- package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base32.js +0 -11
- package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base32.js.map +0 -1
- package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base64.js +0 -126
- package/dist/node_modules/@oslojs/jwt/node_modules/@oslojs/encoding/dist/base64.js.map +0 -1
- package/dist/node_modules/arctic/dist/client.js +0 -12
- package/dist/node_modules/arctic/dist/client.js.map +0 -1
- package/dist/node_modules/arctic/dist/oauth2.js +0 -76
- package/dist/node_modules/arctic/dist/oauth2.js.map +0 -1
- package/dist/node_modules/arctic/dist/oidc.js +0 -14
- package/dist/node_modules/arctic/dist/oidc.js.map +0 -1
- package/dist/node_modules/arctic/dist/providers/microsoft-entra-id.js +0 -73
- package/dist/node_modules/arctic/dist/providers/microsoft-entra-id.js.map +0 -1
- package/dist/node_modules/arctic/dist/request.js +0 -149
- package/dist/node_modules/arctic/dist/request.js.map +0 -1
- package/dist/node_modules/arctic/dist/utils.js +0 -25
- package/dist/node_modules/arctic/dist/utils.js.map +0 -1
- package/dist/node_modules/base64-js/index.js +0 -103
- package/dist/node_modules/base64-js/index.js.map +0 -1
- package/dist/node_modules/buffer/index.js +0 -1598
- package/dist/node_modules/buffer/index.js.map +0 -1
- package/dist/node_modules/buffer-equal-constant-time/index.js +0 -39
- package/dist/node_modules/buffer-equal-constant-time/index.js.map +0 -1
- package/dist/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +0 -140
- package/dist/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js.map +0 -1
- package/dist/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +0 -28
- package/dist/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js.map +0 -1
- package/dist/node_modules/ieee754/index.js +0 -88
- package/dist/node_modules/ieee754/index.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/decode.js +0 -38
- package/dist/node_modules/jsonwebtoken/decode.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/index.js +0 -25
- package/dist/node_modules/jsonwebtoken/index.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/JsonWebTokenError.js +0 -23
- package/dist/node_modules/jsonwebtoken/lib/JsonWebTokenError.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/NotBeforeError.js +0 -21
- package/dist/node_modules/jsonwebtoken/lib/NotBeforeError.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/TokenExpiredError.js +0 -21
- package/dist/node_modules/jsonwebtoken/lib/TokenExpiredError.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js +0 -14
- package/dist/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/psSupported.js +0 -14
- package/dist/node_modules/jsonwebtoken/lib/psSupported.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js +0 -14
- package/dist/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/timespan.js +0 -27
- package/dist/node_modules/jsonwebtoken/lib/timespan.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js +0 -60
- package/dist/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/comparator.js +0 -123
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/comparator.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/range.js +0 -388
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/range.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/semver.js +0 -288
- package/dist/node_modules/jsonwebtoken/node_modules/semver/classes/semver.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/clean.js +0 -18
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/clean.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/cmp.js +0 -60
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/cmp.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/coerce.js +0 -53
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/coerce.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-build.js +0 -19
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-build.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-loose.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare-loose.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/compare.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/diff.js +0 -49
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/diff.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/eq.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/eq.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gt.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gt.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gte.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/gte.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/inc.js +0 -29
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/inc.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lt.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lt.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lte.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/lte.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/major.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/major.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/minor.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/minor.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/neq.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/neq.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/parse.js +0 -27
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/parse.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/patch.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/patch.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/prerelease.js +0 -18
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/prerelease.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rcompare.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rcompare.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rsort.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/rsort.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/satisfies.js +0 -22
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/satisfies.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/sort.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/sort.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/valid.js +0 -18
- package/dist/node_modules/jsonwebtoken/node_modules/semver/functions/valid.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/index.js +0 -140
- package/dist/node_modules/jsonwebtoken/node_modules/semver/index.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/constants.js +0 -36
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/constants.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/debug.js +0 -14
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/debug.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/identifiers.js +0 -29
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/identifiers.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/lrucache.js +0 -42
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/lrucache.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/parse-options.js +0 -23
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/parse-options.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/re.js +0 -96
- package/dist/node_modules/jsonwebtoken/node_modules/semver/internal/re.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/gtr.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/gtr.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/intersects.js +0 -19
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/intersects.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/ltr.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/ltr.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/max-satisfying.js +0 -35
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/max-satisfying.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-satisfying.js +0 -35
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-satisfying.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-version.js +0 -66
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/min-version.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/outside.js +0 -81
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/outside.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/simplify.js +0 -56
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/simplify.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/subset.js +0 -170
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/subset.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/to-comparators.js +0 -15
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/to-comparators.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/valid.js +0 -21
- package/dist/node_modules/jsonwebtoken/node_modules/semver/ranges/valid.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/sign.js +0 -242
- package/dist/node_modules/jsonwebtoken/sign.js.map +0 -1
- package/dist/node_modules/jsonwebtoken/verify.js +0 -229
- package/dist/node_modules/jsonwebtoken/verify.js.map +0 -1
- package/dist/node_modules/jwa/index.js +0 -233
- package/dist/node_modules/jwa/index.js.map +0 -1
- package/dist/node_modules/jws/index.js +0 -40
- package/dist/node_modules/jws/index.js.map +0 -1
- package/dist/node_modules/jws/lib/data-stream.js +0 -55
- package/dist/node_modules/jws/lib/data-stream.js.map +0 -1
- package/dist/node_modules/jws/lib/sign-stream.js +0 -85
- package/dist/node_modules/jws/lib/sign-stream.js.map +0 -1
- package/dist/node_modules/jws/lib/tostring.js +0 -20
- package/dist/node_modules/jws/lib/tostring.js.map +0 -1
- package/dist/node_modules/jws/lib/verify-stream.js +0 -125
- package/dist/node_modules/jws/lib/verify-stream.js.map +0 -1
- package/dist/node_modules/lodash.includes/index.js +0 -181
- package/dist/node_modules/lodash.includes/index.js.map +0 -1
- package/dist/node_modules/lodash.isboolean/index.js +0 -21
- package/dist/node_modules/lodash.isboolean/index.js.map +0 -1
- package/dist/node_modules/lodash.isinteger/index.js +0 -67
- package/dist/node_modules/lodash.isinteger/index.js.map +0 -1
- package/dist/node_modules/lodash.isnumber/index.js +0 -21
- package/dist/node_modules/lodash.isnumber/index.js.map +0 -1
- package/dist/node_modules/lodash.isplainobject/index.js +0 -48
- package/dist/node_modules/lodash.isplainobject/index.js.map +0 -1
- package/dist/node_modules/lodash.isstring/index.js +0 -22
- package/dist/node_modules/lodash.isstring/index.js.map +0 -1
- package/dist/node_modules/lodash.once/index.js +0 -84
- package/dist/node_modules/lodash.once/index.js.map +0 -1
- package/dist/node_modules/ms/index.js +0 -121
- package/dist/node_modules/ms/index.js.map +0 -1
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js +0 -22
- package/dist/node_modules/react/cjs/react-compiler-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +0 -16
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -33
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/node_modules/react/compiler-runtime.js +0 -18
- package/dist/node_modules/react/compiler-runtime.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -18
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/node_modules/safe-buffer/index.js +0 -66
- package/dist/node_modules/safe-buffer/index.js.map +0 -1
- package/dist/providers/DialogsProvider.d.ts +0 -5
- package/dist/providers/DialogsProvider.js +0 -79
- package/dist/providers/DialogsProvider.js.map +0 -1
- package/dist/providers/LayoutProvider.d.ts +0 -11
- package/dist/providers/LayoutProvider.js +0 -94
- package/dist/providers/LayoutProvider.js.map +0 -1
- package/dist/queries/ApprovalHooks.d.ts +0 -338
- package/dist/queries/ApprovalHooks.js +0 -326
- package/dist/queries/ApprovalHooks.js.map +0 -1
- package/dist/queries/FileHooks.d.ts +0 -151
- package/dist/queries/FileHooks.js +0 -493
- package/dist/queries/FileHooks.js.map +0 -1
- package/dist/queries/PeopleSoftHooks.d.ts +0 -537
- package/dist/queries/PeopleSoftHooks.js +0 -628
- package/dist/queries/PeopleSoftHooks.js.map +0 -1
package/dist/queries.js
CHANGED
|
@@ -1,20 +1,941 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { q } from "./queryClient-CNvC95mU.js";
|
|
2
|
+
import { f, g, c, b, u, a, d, e, h } from "./FileHooks-Cg9ver7z.js";
|
|
3
|
+
import { c as compilerRuntimeExports } from "./compiler-runtime-BGHur82y.js";
|
|
4
|
+
import { useQuery, useQueryClient, useMutation } from "@tanstack/react-query";
|
|
5
|
+
import { h as httpClient, t as toKebabCase } from "./utils-MD9YwOtu.js";
|
|
6
|
+
import z__default from "zod";
|
|
7
|
+
import { c as clientEnv } from "./env-gsqZ6zZD.js";
|
|
8
|
+
import { A as ApprovalStepResult, a as ApprovalStatus } from "./ApprovalStatus-BtAVFn5p.js";
|
|
9
|
+
const QUERY_KEY = "ps";
|
|
10
|
+
const DAY = 1e3 * 60 * 60 * 24;
|
|
11
|
+
const useGetPeopleSoftEmployeesSearch = (searchTerm, options) => {
|
|
12
|
+
const $ = compilerRuntimeExports.c(7);
|
|
13
|
+
let t0;
|
|
14
|
+
let t1;
|
|
15
|
+
if ($[0] !== searchTerm) {
|
|
16
|
+
t0 = [QUERY_KEY, "employee", "search", searchTerm];
|
|
17
|
+
t1 = (t22) => {
|
|
18
|
+
const {
|
|
19
|
+
signal
|
|
20
|
+
} = t22;
|
|
21
|
+
return httpClient.request({
|
|
22
|
+
url: `/${QUERY_KEY}/v1/employee?search=${searchTerm}`,
|
|
23
|
+
method: "GET",
|
|
24
|
+
signal
|
|
25
|
+
}).then(_temp$1);
|
|
26
|
+
};
|
|
27
|
+
$[0] = searchTerm;
|
|
28
|
+
$[1] = t0;
|
|
29
|
+
$[2] = t1;
|
|
30
|
+
} else {
|
|
31
|
+
t0 = $[1];
|
|
32
|
+
t1 = $[2];
|
|
33
|
+
}
|
|
34
|
+
let t2;
|
|
35
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
36
|
+
t2 = {
|
|
37
|
+
...options,
|
|
38
|
+
queryKey: t0,
|
|
39
|
+
queryFn: t1,
|
|
40
|
+
staleTime: DAY,
|
|
41
|
+
gcTime: DAY,
|
|
42
|
+
refetchOnWindowFocus: false
|
|
43
|
+
};
|
|
44
|
+
$[3] = options;
|
|
45
|
+
$[4] = t0;
|
|
46
|
+
$[5] = t1;
|
|
47
|
+
$[6] = t2;
|
|
48
|
+
} else {
|
|
49
|
+
t2 = $[6];
|
|
50
|
+
}
|
|
51
|
+
return useQuery(t2);
|
|
52
|
+
};
|
|
53
|
+
const useGetPeopleSoftEmployees = (options) => {
|
|
54
|
+
const $ = compilerRuntimeExports.c(3);
|
|
55
|
+
let t0;
|
|
56
|
+
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
57
|
+
t0 = [QUERY_KEY, "employee"];
|
|
58
|
+
$[0] = t0;
|
|
59
|
+
} else {
|
|
60
|
+
t0 = $[0];
|
|
61
|
+
}
|
|
62
|
+
let t1;
|
|
63
|
+
if ($[1] !== options) {
|
|
64
|
+
t1 = {
|
|
65
|
+
...options,
|
|
66
|
+
queryKey: t0,
|
|
67
|
+
queryFn: _temp3$1,
|
|
68
|
+
staleTime: DAY,
|
|
69
|
+
gcTime: DAY,
|
|
70
|
+
refetchOnWindowFocus: false
|
|
71
|
+
};
|
|
72
|
+
$[1] = options;
|
|
73
|
+
$[2] = t1;
|
|
74
|
+
} else {
|
|
75
|
+
t1 = $[2];
|
|
76
|
+
}
|
|
77
|
+
return useQuery(t1);
|
|
78
|
+
};
|
|
79
|
+
const useGetPeopleSoftActiveEmployees = (options) => {
|
|
80
|
+
const $ = compilerRuntimeExports.c(3);
|
|
81
|
+
let t0;
|
|
82
|
+
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
83
|
+
t0 = [QUERY_KEY, "employee", "active"];
|
|
84
|
+
$[0] = t0;
|
|
85
|
+
} else {
|
|
86
|
+
t0 = $[0];
|
|
87
|
+
}
|
|
88
|
+
let t1;
|
|
89
|
+
if ($[1] !== options) {
|
|
90
|
+
t1 = {
|
|
91
|
+
...options,
|
|
92
|
+
queryKey: t0,
|
|
93
|
+
queryFn: _temp5$1,
|
|
94
|
+
staleTime: DAY,
|
|
95
|
+
gcTime: DAY,
|
|
96
|
+
refetchOnWindowFocus: false
|
|
97
|
+
};
|
|
98
|
+
$[1] = options;
|
|
99
|
+
$[2] = t1;
|
|
100
|
+
} else {
|
|
101
|
+
t1 = $[2];
|
|
102
|
+
}
|
|
103
|
+
return useQuery(t1);
|
|
104
|
+
};
|
|
105
|
+
const useGetPeopleSoftEmployeeById = (employeeId, options) => {
|
|
106
|
+
const $ = compilerRuntimeExports.c(7);
|
|
107
|
+
let t0;
|
|
108
|
+
let t1;
|
|
109
|
+
if ($[0] !== employeeId) {
|
|
110
|
+
t0 = [QUERY_KEY, "employee", employeeId];
|
|
111
|
+
t1 = (t22) => {
|
|
112
|
+
const {
|
|
113
|
+
signal
|
|
114
|
+
} = t22;
|
|
115
|
+
return httpClient.request({
|
|
116
|
+
url: `/${QUERY_KEY}/v1/employee/${employeeId}`,
|
|
117
|
+
method: "GET",
|
|
118
|
+
signal
|
|
119
|
+
}).then(_temp6$1);
|
|
120
|
+
};
|
|
121
|
+
$[0] = employeeId;
|
|
122
|
+
$[1] = t0;
|
|
123
|
+
$[2] = t1;
|
|
124
|
+
} else {
|
|
125
|
+
t0 = $[1];
|
|
126
|
+
t1 = $[2];
|
|
127
|
+
}
|
|
128
|
+
let t2;
|
|
129
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
130
|
+
t2 = {
|
|
131
|
+
...options,
|
|
132
|
+
queryKey: t0,
|
|
133
|
+
queryFn: t1,
|
|
134
|
+
staleTime: DAY,
|
|
135
|
+
gcTime: DAY,
|
|
136
|
+
refetchOnWindowFocus: false
|
|
137
|
+
};
|
|
138
|
+
$[3] = options;
|
|
139
|
+
$[4] = t0;
|
|
140
|
+
$[5] = t1;
|
|
141
|
+
$[6] = t2;
|
|
142
|
+
} else {
|
|
143
|
+
t2 = $[6];
|
|
144
|
+
}
|
|
145
|
+
return useQuery(t2);
|
|
146
|
+
};
|
|
147
|
+
const useGetPeopleSoftPreviousEmployeeIds = (options) => {
|
|
148
|
+
const $ = compilerRuntimeExports.c(3);
|
|
149
|
+
let t0;
|
|
150
|
+
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
151
|
+
t0 = [QUERY_KEY, "employee", "previousIds"];
|
|
152
|
+
$[0] = t0;
|
|
153
|
+
} else {
|
|
154
|
+
t0 = $[0];
|
|
155
|
+
}
|
|
156
|
+
let t1;
|
|
157
|
+
if ($[1] !== options) {
|
|
158
|
+
t1 = {
|
|
159
|
+
...options,
|
|
160
|
+
queryKey: t0,
|
|
161
|
+
queryFn: _temp8$1,
|
|
162
|
+
staleTime: DAY,
|
|
163
|
+
gcTime: DAY,
|
|
164
|
+
refetchOnWindowFocus: false
|
|
165
|
+
};
|
|
166
|
+
$[1] = options;
|
|
167
|
+
$[2] = t1;
|
|
168
|
+
} else {
|
|
169
|
+
t1 = $[2];
|
|
170
|
+
}
|
|
171
|
+
return useQuery(t1);
|
|
172
|
+
};
|
|
173
|
+
const useGetPeopleSoftEmployeeSupervisor = (employeeId, options) => {
|
|
174
|
+
const $ = compilerRuntimeExports.c(7);
|
|
175
|
+
let t0;
|
|
176
|
+
let t1;
|
|
177
|
+
if ($[0] !== employeeId) {
|
|
178
|
+
t0 = [QUERY_KEY, "employee", employeeId, "supervisor"];
|
|
179
|
+
t1 = (t22) => {
|
|
180
|
+
const {
|
|
181
|
+
signal
|
|
182
|
+
} = t22;
|
|
183
|
+
return httpClient.request({
|
|
184
|
+
url: `/${QUERY_KEY}/v1/employee/${employeeId}/supervisor`,
|
|
185
|
+
method: "GET",
|
|
186
|
+
signal
|
|
187
|
+
}).then(_temp9$1);
|
|
188
|
+
};
|
|
189
|
+
$[0] = employeeId;
|
|
190
|
+
$[1] = t0;
|
|
191
|
+
$[2] = t1;
|
|
192
|
+
} else {
|
|
193
|
+
t0 = $[1];
|
|
194
|
+
t1 = $[2];
|
|
195
|
+
}
|
|
196
|
+
let t2;
|
|
197
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
198
|
+
t2 = {
|
|
199
|
+
...options,
|
|
200
|
+
queryKey: t0,
|
|
201
|
+
queryFn: t1,
|
|
202
|
+
staleTime: DAY,
|
|
203
|
+
gcTime: DAY,
|
|
204
|
+
refetchOnWindowFocus: false
|
|
205
|
+
};
|
|
206
|
+
$[3] = options;
|
|
207
|
+
$[4] = t0;
|
|
208
|
+
$[5] = t1;
|
|
209
|
+
$[6] = t2;
|
|
210
|
+
} else {
|
|
211
|
+
t2 = $[6];
|
|
212
|
+
}
|
|
213
|
+
return useQuery(t2);
|
|
214
|
+
};
|
|
215
|
+
const useGetPeopleSoftEmployeeSubordinates = (employeeId, options) => {
|
|
216
|
+
const $ = compilerRuntimeExports.c(7);
|
|
217
|
+
let t0;
|
|
218
|
+
let t1;
|
|
219
|
+
if ($[0] !== employeeId) {
|
|
220
|
+
t0 = [QUERY_KEY, "employee", employeeId, "subordinates"];
|
|
221
|
+
t1 = (t22) => {
|
|
222
|
+
const {
|
|
223
|
+
signal
|
|
224
|
+
} = t22;
|
|
225
|
+
return httpClient.request({
|
|
226
|
+
url: `/${QUERY_KEY}/v1/employee/${employeeId}/subordinates`,
|
|
227
|
+
method: "GET",
|
|
228
|
+
signal
|
|
229
|
+
}).then(_temp0$1);
|
|
230
|
+
};
|
|
231
|
+
$[0] = employeeId;
|
|
232
|
+
$[1] = t0;
|
|
233
|
+
$[2] = t1;
|
|
234
|
+
} else {
|
|
235
|
+
t0 = $[1];
|
|
236
|
+
t1 = $[2];
|
|
237
|
+
}
|
|
238
|
+
let t2;
|
|
239
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
240
|
+
t2 = {
|
|
241
|
+
...options,
|
|
242
|
+
queryKey: t0,
|
|
243
|
+
queryFn: t1,
|
|
244
|
+
staleTime: DAY,
|
|
245
|
+
gcTime: DAY,
|
|
246
|
+
refetchOnWindowFocus: false
|
|
247
|
+
};
|
|
248
|
+
$[3] = options;
|
|
249
|
+
$[4] = t0;
|
|
250
|
+
$[5] = t1;
|
|
251
|
+
$[6] = t2;
|
|
252
|
+
} else {
|
|
253
|
+
t2 = $[6];
|
|
254
|
+
}
|
|
255
|
+
return useQuery(t2);
|
|
256
|
+
};
|
|
257
|
+
const useGetPeopleSoftEmployeeManager = (employeeId, options) => {
|
|
258
|
+
const $ = compilerRuntimeExports.c(7);
|
|
259
|
+
let t0;
|
|
260
|
+
let t1;
|
|
261
|
+
if ($[0] !== employeeId) {
|
|
262
|
+
t0 = [QUERY_KEY, "employee", employeeId, "manager"];
|
|
263
|
+
t1 = (t22) => {
|
|
264
|
+
const {
|
|
265
|
+
signal
|
|
266
|
+
} = t22;
|
|
267
|
+
return httpClient.request({
|
|
268
|
+
url: `/${QUERY_KEY}/v1/employee/${employeeId}/manager`,
|
|
269
|
+
method: "GET",
|
|
270
|
+
signal
|
|
271
|
+
}).then(_temp1$1);
|
|
272
|
+
};
|
|
273
|
+
$[0] = employeeId;
|
|
274
|
+
$[1] = t0;
|
|
275
|
+
$[2] = t1;
|
|
276
|
+
} else {
|
|
277
|
+
t0 = $[1];
|
|
278
|
+
t1 = $[2];
|
|
279
|
+
}
|
|
280
|
+
let t2;
|
|
281
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
282
|
+
t2 = {
|
|
283
|
+
...options,
|
|
284
|
+
queryKey: t0,
|
|
285
|
+
queryFn: t1,
|
|
286
|
+
staleTime: DAY,
|
|
287
|
+
gcTime: DAY,
|
|
288
|
+
refetchOnWindowFocus: false
|
|
289
|
+
};
|
|
290
|
+
$[3] = options;
|
|
291
|
+
$[4] = t0;
|
|
292
|
+
$[5] = t1;
|
|
293
|
+
$[6] = t2;
|
|
294
|
+
} else {
|
|
295
|
+
t2 = $[6];
|
|
296
|
+
}
|
|
297
|
+
return useQuery(t2);
|
|
298
|
+
};
|
|
299
|
+
const useGetPeopleSoftEmployeeGeneralManager = (employeeId, options) => {
|
|
300
|
+
const $ = compilerRuntimeExports.c(7);
|
|
301
|
+
let t0;
|
|
302
|
+
let t1;
|
|
303
|
+
if ($[0] !== employeeId) {
|
|
304
|
+
t0 = [QUERY_KEY, "employee", employeeId, "generalManager"];
|
|
305
|
+
t1 = (t22) => {
|
|
306
|
+
const {
|
|
307
|
+
signal
|
|
308
|
+
} = t22;
|
|
309
|
+
return httpClient.request({
|
|
310
|
+
url: `/${QUERY_KEY}/v1/employee/${employeeId}/generalManager`,
|
|
311
|
+
method: "GET",
|
|
312
|
+
signal
|
|
313
|
+
}).then(_temp10$1);
|
|
314
|
+
};
|
|
315
|
+
$[0] = employeeId;
|
|
316
|
+
$[1] = t0;
|
|
317
|
+
$[2] = t1;
|
|
318
|
+
} else {
|
|
319
|
+
t0 = $[1];
|
|
320
|
+
t1 = $[2];
|
|
321
|
+
}
|
|
322
|
+
let t2;
|
|
323
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
324
|
+
t2 = {
|
|
325
|
+
...options,
|
|
326
|
+
queryKey: t0,
|
|
327
|
+
queryFn: t1,
|
|
328
|
+
staleTime: DAY,
|
|
329
|
+
gcTime: DAY,
|
|
330
|
+
refetchOnWindowFocus: false
|
|
331
|
+
};
|
|
332
|
+
$[3] = options;
|
|
333
|
+
$[4] = t0;
|
|
334
|
+
$[5] = t1;
|
|
335
|
+
$[6] = t2;
|
|
336
|
+
} else {
|
|
337
|
+
t2 = $[6];
|
|
338
|
+
}
|
|
339
|
+
return useQuery(t2);
|
|
340
|
+
};
|
|
341
|
+
const useGetPeopleSoftDepartments = (options) => {
|
|
342
|
+
const $ = compilerRuntimeExports.c(3);
|
|
343
|
+
let t0;
|
|
344
|
+
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
345
|
+
t0 = [QUERY_KEY, "department"];
|
|
346
|
+
$[0] = t0;
|
|
347
|
+
} else {
|
|
348
|
+
t0 = $[0];
|
|
349
|
+
}
|
|
350
|
+
let t1;
|
|
351
|
+
if ($[1] !== options) {
|
|
352
|
+
t1 = {
|
|
353
|
+
...options,
|
|
354
|
+
queryKey: t0,
|
|
355
|
+
queryFn: _temp12,
|
|
356
|
+
staleTime: DAY,
|
|
357
|
+
gcTime: DAY,
|
|
358
|
+
refetchOnWindowFocus: false
|
|
359
|
+
};
|
|
360
|
+
$[1] = options;
|
|
361
|
+
$[2] = t1;
|
|
362
|
+
} else {
|
|
363
|
+
t1 = $[2];
|
|
364
|
+
}
|
|
365
|
+
return useQuery(t1);
|
|
366
|
+
};
|
|
367
|
+
const useGetPeopleSoftDepartmentById = (departmentId, options) => {
|
|
368
|
+
const $ = compilerRuntimeExports.c(7);
|
|
369
|
+
let t0;
|
|
370
|
+
let t1;
|
|
371
|
+
if ($[0] !== departmentId) {
|
|
372
|
+
t0 = [QUERY_KEY, "department", departmentId];
|
|
373
|
+
t1 = (t22) => {
|
|
374
|
+
const {
|
|
375
|
+
signal
|
|
376
|
+
} = t22;
|
|
377
|
+
return httpClient.request({
|
|
378
|
+
url: `/${QUERY_KEY}/v1/department/${departmentId}`,
|
|
379
|
+
method: "GET",
|
|
380
|
+
signal
|
|
381
|
+
}).then(_temp13);
|
|
382
|
+
};
|
|
383
|
+
$[0] = departmentId;
|
|
384
|
+
$[1] = t0;
|
|
385
|
+
$[2] = t1;
|
|
386
|
+
} else {
|
|
387
|
+
t0 = $[1];
|
|
388
|
+
t1 = $[2];
|
|
389
|
+
}
|
|
390
|
+
let t2;
|
|
391
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
392
|
+
t2 = {
|
|
393
|
+
...options,
|
|
394
|
+
queryKey: t0,
|
|
395
|
+
queryFn: t1,
|
|
396
|
+
staleTime: DAY,
|
|
397
|
+
gcTime: DAY,
|
|
398
|
+
refetchOnWindowFocus: false
|
|
399
|
+
};
|
|
400
|
+
$[3] = options;
|
|
401
|
+
$[4] = t0;
|
|
402
|
+
$[5] = t1;
|
|
403
|
+
$[6] = t2;
|
|
404
|
+
} else {
|
|
405
|
+
t2 = $[6];
|
|
406
|
+
}
|
|
407
|
+
return useQuery(t2);
|
|
408
|
+
};
|
|
409
|
+
const useGetPeopleSoftDepartmentManager = (departmentId, options) => {
|
|
410
|
+
const $ = compilerRuntimeExports.c(7);
|
|
411
|
+
let t0;
|
|
412
|
+
let t1;
|
|
413
|
+
if ($[0] !== departmentId) {
|
|
414
|
+
t0 = [QUERY_KEY, "department", departmentId, "manager"];
|
|
415
|
+
t1 = (t22) => {
|
|
416
|
+
const {
|
|
417
|
+
signal
|
|
418
|
+
} = t22;
|
|
419
|
+
return httpClient.request({
|
|
420
|
+
url: `/${QUERY_KEY}/v1/department/${departmentId}/manager`,
|
|
421
|
+
method: "GET",
|
|
422
|
+
signal
|
|
423
|
+
}).then(_temp14);
|
|
424
|
+
};
|
|
425
|
+
$[0] = departmentId;
|
|
426
|
+
$[1] = t0;
|
|
427
|
+
$[2] = t1;
|
|
428
|
+
} else {
|
|
429
|
+
t0 = $[1];
|
|
430
|
+
t1 = $[2];
|
|
431
|
+
}
|
|
432
|
+
let t2;
|
|
433
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
434
|
+
t2 = {
|
|
435
|
+
...options,
|
|
436
|
+
queryKey: t0,
|
|
437
|
+
queryFn: t1,
|
|
438
|
+
staleTime: DAY,
|
|
439
|
+
gcTime: DAY,
|
|
440
|
+
refetchOnWindowFocus: false
|
|
441
|
+
};
|
|
442
|
+
$[3] = options;
|
|
443
|
+
$[4] = t0;
|
|
444
|
+
$[5] = t1;
|
|
445
|
+
$[6] = t2;
|
|
446
|
+
} else {
|
|
447
|
+
t2 = $[6];
|
|
448
|
+
}
|
|
449
|
+
return useQuery(t2);
|
|
450
|
+
};
|
|
451
|
+
const useGetPeopleSoftDepartmentEmployees = (departmentId, options) => {
|
|
452
|
+
const $ = compilerRuntimeExports.c(7);
|
|
453
|
+
let t0;
|
|
454
|
+
let t1;
|
|
455
|
+
if ($[0] !== departmentId) {
|
|
456
|
+
t0 = [QUERY_KEY, "department", departmentId, "employees"];
|
|
457
|
+
t1 = (t22) => {
|
|
458
|
+
const {
|
|
459
|
+
signal
|
|
460
|
+
} = t22;
|
|
461
|
+
return httpClient.request({
|
|
462
|
+
url: `/${QUERY_KEY}/v1/department/${departmentId}/employees`,
|
|
463
|
+
method: "GET",
|
|
464
|
+
signal
|
|
465
|
+
}).then(_temp15);
|
|
466
|
+
};
|
|
467
|
+
$[0] = departmentId;
|
|
468
|
+
$[1] = t0;
|
|
469
|
+
$[2] = t1;
|
|
470
|
+
} else {
|
|
471
|
+
t0 = $[1];
|
|
472
|
+
t1 = $[2];
|
|
473
|
+
}
|
|
474
|
+
let t2;
|
|
475
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
476
|
+
t2 = {
|
|
477
|
+
...options,
|
|
478
|
+
queryKey: t0,
|
|
479
|
+
queryFn: t1,
|
|
480
|
+
staleTime: DAY,
|
|
481
|
+
gcTime: DAY,
|
|
482
|
+
refetchOnWindowFocus: false
|
|
483
|
+
};
|
|
484
|
+
$[3] = options;
|
|
485
|
+
$[4] = t0;
|
|
486
|
+
$[5] = t1;
|
|
487
|
+
$[6] = t2;
|
|
488
|
+
} else {
|
|
489
|
+
t2 = $[6];
|
|
490
|
+
}
|
|
491
|
+
return useQuery(t2);
|
|
492
|
+
};
|
|
493
|
+
const useGetPeopleSoftCompanyGeneralManager = (companyCode, options) => {
|
|
494
|
+
const $ = compilerRuntimeExports.c(7);
|
|
495
|
+
let t0;
|
|
496
|
+
let t1;
|
|
497
|
+
if ($[0] !== companyCode) {
|
|
498
|
+
t0 = [QUERY_KEY, "company", companyCode, "generalManager"];
|
|
499
|
+
t1 = (t22) => {
|
|
500
|
+
const {
|
|
501
|
+
signal
|
|
502
|
+
} = t22;
|
|
503
|
+
return httpClient.request({
|
|
504
|
+
url: `/${QUERY_KEY}/v1/company/${companyCode}/generalManager`,
|
|
505
|
+
method: "GET",
|
|
506
|
+
signal
|
|
507
|
+
}).then(_temp16);
|
|
508
|
+
};
|
|
509
|
+
$[0] = companyCode;
|
|
510
|
+
$[1] = t0;
|
|
511
|
+
$[2] = t1;
|
|
512
|
+
} else {
|
|
513
|
+
t0 = $[1];
|
|
514
|
+
t1 = $[2];
|
|
515
|
+
}
|
|
516
|
+
let t2;
|
|
517
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
518
|
+
t2 = {
|
|
519
|
+
...options,
|
|
520
|
+
queryKey: t0,
|
|
521
|
+
queryFn: t1,
|
|
522
|
+
staleTime: DAY,
|
|
523
|
+
gcTime: DAY,
|
|
524
|
+
refetchOnWindowFocus: false
|
|
525
|
+
};
|
|
526
|
+
$[3] = options;
|
|
527
|
+
$[4] = t0;
|
|
528
|
+
$[5] = t1;
|
|
529
|
+
$[6] = t2;
|
|
530
|
+
} else {
|
|
531
|
+
t2 = $[6];
|
|
532
|
+
}
|
|
533
|
+
return useQuery(t2);
|
|
534
|
+
};
|
|
535
|
+
function _temp$1(request) {
|
|
536
|
+
return request.data;
|
|
537
|
+
}
|
|
538
|
+
function _temp2$1(request) {
|
|
539
|
+
return request.data;
|
|
540
|
+
}
|
|
541
|
+
function _temp3$1(t0) {
|
|
542
|
+
const {
|
|
543
|
+
signal
|
|
544
|
+
} = t0;
|
|
545
|
+
return httpClient.request({
|
|
546
|
+
url: `/${QUERY_KEY}/v1/employee/all`,
|
|
547
|
+
method: "GET",
|
|
548
|
+
signal
|
|
549
|
+
}).then(_temp2$1);
|
|
550
|
+
}
|
|
551
|
+
function _temp4$1(request) {
|
|
552
|
+
return request.data;
|
|
553
|
+
}
|
|
554
|
+
function _temp5$1(t0) {
|
|
555
|
+
const {
|
|
556
|
+
signal
|
|
557
|
+
} = t0;
|
|
558
|
+
return httpClient.request({
|
|
559
|
+
url: `/${QUERY_KEY}/v1/employee/active`,
|
|
560
|
+
method: "GET",
|
|
561
|
+
signal
|
|
562
|
+
}).then(_temp4$1);
|
|
563
|
+
}
|
|
564
|
+
function _temp6$1(request) {
|
|
565
|
+
return request.data;
|
|
566
|
+
}
|
|
567
|
+
function _temp7$1(request) {
|
|
568
|
+
return request.data;
|
|
569
|
+
}
|
|
570
|
+
function _temp8$1(t0) {
|
|
571
|
+
const {
|
|
572
|
+
signal
|
|
573
|
+
} = t0;
|
|
574
|
+
return httpClient.request({
|
|
575
|
+
url: `/${QUERY_KEY}/v1/employee/previousIds`,
|
|
576
|
+
method: "GET",
|
|
577
|
+
signal
|
|
578
|
+
}).then(_temp7$1);
|
|
579
|
+
}
|
|
580
|
+
function _temp9$1(request) {
|
|
581
|
+
return request.data;
|
|
582
|
+
}
|
|
583
|
+
function _temp0$1(request) {
|
|
584
|
+
return request.data;
|
|
585
|
+
}
|
|
586
|
+
function _temp1$1(request) {
|
|
587
|
+
return request.data;
|
|
588
|
+
}
|
|
589
|
+
function _temp10$1(request) {
|
|
590
|
+
return request.data;
|
|
591
|
+
}
|
|
592
|
+
function _temp11(request) {
|
|
593
|
+
return request.data;
|
|
594
|
+
}
|
|
595
|
+
function _temp12(t0) {
|
|
596
|
+
const {
|
|
597
|
+
signal
|
|
598
|
+
} = t0;
|
|
599
|
+
return httpClient.request({
|
|
600
|
+
url: `/${QUERY_KEY}/v1/department/all`,
|
|
601
|
+
method: "GET",
|
|
602
|
+
signal
|
|
603
|
+
}).then(_temp11);
|
|
604
|
+
}
|
|
605
|
+
function _temp13(request) {
|
|
606
|
+
return request.data;
|
|
607
|
+
}
|
|
608
|
+
function _temp14(request) {
|
|
609
|
+
return request.data;
|
|
610
|
+
}
|
|
611
|
+
function _temp15(request) {
|
|
612
|
+
return request.data;
|
|
613
|
+
}
|
|
614
|
+
function _temp16(request) {
|
|
615
|
+
return request.data;
|
|
616
|
+
}
|
|
617
|
+
const ROUTE = "approval";
|
|
618
|
+
const APP_NAME = toKebabCase(clientEnv.VITE_APP_TITLE);
|
|
619
|
+
z__default.object({
|
|
620
|
+
appName: z__default.string().min(1).max(255).default(APP_NAME).optional(),
|
|
621
|
+
status: ApprovalStatus.optional(),
|
|
622
|
+
approverEmployeeId: z__default.string().min(1).max(20).optional(),
|
|
623
|
+
stepResult: ApprovalStepResult.optional()
|
|
624
|
+
});
|
|
625
|
+
const useGetApprovals = (params, options) => {
|
|
626
|
+
const $ = compilerRuntimeExports.c(10);
|
|
627
|
+
let queryParams;
|
|
628
|
+
if ($[0] !== params) {
|
|
629
|
+
queryParams = new URLSearchParams();
|
|
630
|
+
queryParams.append("applicationName", params?.appName ?? APP_NAME);
|
|
631
|
+
if (params?.status) {
|
|
632
|
+
queryParams.append("status", params.status.toString());
|
|
633
|
+
}
|
|
634
|
+
if (params?.approverEmployeeId) {
|
|
635
|
+
queryParams.append("approverEmployeeId", params.approverEmployeeId);
|
|
636
|
+
}
|
|
637
|
+
if (params?.stepResult) {
|
|
638
|
+
queryParams.append("stepResult", params.stepResult.toString());
|
|
639
|
+
}
|
|
640
|
+
$[0] = params;
|
|
641
|
+
$[1] = queryParams;
|
|
642
|
+
} else {
|
|
643
|
+
queryParams = $[1];
|
|
644
|
+
}
|
|
645
|
+
let t0;
|
|
646
|
+
if ($[2] !== params) {
|
|
647
|
+
t0 = [ROUTE, params];
|
|
648
|
+
$[2] = params;
|
|
649
|
+
$[3] = t0;
|
|
650
|
+
} else {
|
|
651
|
+
t0 = $[3];
|
|
652
|
+
}
|
|
653
|
+
let t1;
|
|
654
|
+
if ($[4] !== queryParams) {
|
|
655
|
+
t1 = (t22) => {
|
|
656
|
+
const {
|
|
657
|
+
signal
|
|
658
|
+
} = t22;
|
|
659
|
+
return httpClient.request({
|
|
660
|
+
url: `/${ROUTE}/Requests/Requests?${queryParams.toString()}`,
|
|
661
|
+
method: "GET",
|
|
662
|
+
signal
|
|
663
|
+
}).then(_temp);
|
|
664
|
+
};
|
|
665
|
+
$[4] = queryParams;
|
|
666
|
+
$[5] = t1;
|
|
667
|
+
} else {
|
|
668
|
+
t1 = $[5];
|
|
669
|
+
}
|
|
670
|
+
let t2;
|
|
671
|
+
if ($[6] !== options || $[7] !== t0 || $[8] !== t1) {
|
|
672
|
+
t2 = {
|
|
673
|
+
...options,
|
|
674
|
+
queryKey: t0,
|
|
675
|
+
queryFn: t1
|
|
676
|
+
};
|
|
677
|
+
$[6] = options;
|
|
678
|
+
$[7] = t0;
|
|
679
|
+
$[8] = t1;
|
|
680
|
+
$[9] = t2;
|
|
681
|
+
} else {
|
|
682
|
+
t2 = $[9];
|
|
683
|
+
}
|
|
684
|
+
return useQuery(t2);
|
|
685
|
+
};
|
|
686
|
+
const useGetApproval = (id, options) => {
|
|
687
|
+
const $ = compilerRuntimeExports.c(7);
|
|
688
|
+
let t0;
|
|
689
|
+
let t1;
|
|
690
|
+
if ($[0] !== id) {
|
|
691
|
+
t0 = [ROUTE, id];
|
|
692
|
+
t1 = (t22) => {
|
|
693
|
+
const {
|
|
694
|
+
signal
|
|
695
|
+
} = t22;
|
|
696
|
+
return httpClient.request({
|
|
697
|
+
url: `/${ROUTE}/Requests/${id}`,
|
|
698
|
+
method: "GET",
|
|
699
|
+
signal
|
|
700
|
+
}).then(_temp2);
|
|
701
|
+
};
|
|
702
|
+
$[0] = id;
|
|
703
|
+
$[1] = t0;
|
|
704
|
+
$[2] = t1;
|
|
705
|
+
} else {
|
|
706
|
+
t0 = $[1];
|
|
707
|
+
t1 = $[2];
|
|
708
|
+
}
|
|
709
|
+
let t2;
|
|
710
|
+
if ($[3] !== options || $[4] !== t0 || $[5] !== t1) {
|
|
711
|
+
t2 = {
|
|
712
|
+
...options,
|
|
713
|
+
queryKey: t0,
|
|
714
|
+
queryFn: t1
|
|
715
|
+
};
|
|
716
|
+
$[3] = options;
|
|
717
|
+
$[4] = t0;
|
|
718
|
+
$[5] = t1;
|
|
719
|
+
$[6] = t2;
|
|
720
|
+
} else {
|
|
721
|
+
t2 = $[6];
|
|
722
|
+
}
|
|
723
|
+
return useQuery(t2);
|
|
724
|
+
};
|
|
725
|
+
const useCreateApproval = (options) => {
|
|
726
|
+
const $ = compilerRuntimeExports.c(5);
|
|
727
|
+
const queryClient = useQueryClient();
|
|
728
|
+
let t0;
|
|
729
|
+
if ($[0] !== queryClient) {
|
|
730
|
+
t0 = () => queryClient.invalidateQueries({
|
|
731
|
+
queryKey: [ROUTE],
|
|
732
|
+
exact: false
|
|
733
|
+
});
|
|
734
|
+
$[0] = queryClient;
|
|
735
|
+
$[1] = t0;
|
|
736
|
+
} else {
|
|
737
|
+
t0 = $[1];
|
|
738
|
+
}
|
|
739
|
+
let t1;
|
|
740
|
+
if ($[2] !== options || $[3] !== t0) {
|
|
741
|
+
t1 = {
|
|
742
|
+
...options,
|
|
743
|
+
mutationFn: _temp4,
|
|
744
|
+
onSettled: t0
|
|
745
|
+
};
|
|
746
|
+
$[2] = options;
|
|
747
|
+
$[3] = t0;
|
|
748
|
+
$[4] = t1;
|
|
749
|
+
} else {
|
|
750
|
+
t1 = $[4];
|
|
751
|
+
}
|
|
752
|
+
return useMutation(t1);
|
|
753
|
+
};
|
|
754
|
+
const useApproveApproval = (options) => {
|
|
755
|
+
const $ = compilerRuntimeExports.c(5);
|
|
756
|
+
const queryClient = useQueryClient();
|
|
757
|
+
let t0;
|
|
758
|
+
if ($[0] !== queryClient) {
|
|
759
|
+
t0 = () => queryClient.invalidateQueries({
|
|
760
|
+
queryKey: [ROUTE],
|
|
761
|
+
exact: false
|
|
762
|
+
});
|
|
763
|
+
$[0] = queryClient;
|
|
764
|
+
$[1] = t0;
|
|
765
|
+
} else {
|
|
766
|
+
t0 = $[1];
|
|
767
|
+
}
|
|
768
|
+
let t1;
|
|
769
|
+
if ($[2] !== options || $[3] !== t0) {
|
|
770
|
+
t1 = {
|
|
771
|
+
...options,
|
|
772
|
+
mutationFn: _temp6,
|
|
773
|
+
onSettled: t0
|
|
774
|
+
};
|
|
775
|
+
$[2] = options;
|
|
776
|
+
$[3] = t0;
|
|
777
|
+
$[4] = t1;
|
|
778
|
+
} else {
|
|
779
|
+
t1 = $[4];
|
|
780
|
+
}
|
|
781
|
+
return useMutation(t1);
|
|
782
|
+
};
|
|
783
|
+
const useResubmitApproval = (options) => {
|
|
784
|
+
const $ = compilerRuntimeExports.c(5);
|
|
785
|
+
const queryClient = useQueryClient();
|
|
786
|
+
let t0;
|
|
787
|
+
if ($[0] !== queryClient) {
|
|
788
|
+
t0 = () => queryClient.invalidateQueries({
|
|
789
|
+
queryKey: [ROUTE],
|
|
790
|
+
exact: false
|
|
791
|
+
});
|
|
792
|
+
$[0] = queryClient;
|
|
793
|
+
$[1] = t0;
|
|
794
|
+
} else {
|
|
795
|
+
t0 = $[1];
|
|
796
|
+
}
|
|
797
|
+
let t1;
|
|
798
|
+
if ($[2] !== options || $[3] !== t0) {
|
|
799
|
+
t1 = {
|
|
800
|
+
...options,
|
|
801
|
+
mutationFn: _temp8,
|
|
802
|
+
onSettled: t0
|
|
803
|
+
};
|
|
804
|
+
$[2] = options;
|
|
805
|
+
$[3] = t0;
|
|
806
|
+
$[4] = t1;
|
|
807
|
+
} else {
|
|
808
|
+
t1 = $[4];
|
|
809
|
+
}
|
|
810
|
+
return useMutation(t1);
|
|
811
|
+
};
|
|
812
|
+
const useWithdrawApproval = (options) => {
|
|
813
|
+
const $ = compilerRuntimeExports.c(5);
|
|
814
|
+
const queryClient = useQueryClient();
|
|
815
|
+
let t0;
|
|
816
|
+
if ($[0] !== queryClient) {
|
|
817
|
+
t0 = () => queryClient.invalidateQueries({
|
|
818
|
+
queryKey: [ROUTE],
|
|
819
|
+
exact: false
|
|
820
|
+
});
|
|
821
|
+
$[0] = queryClient;
|
|
822
|
+
$[1] = t0;
|
|
823
|
+
} else {
|
|
824
|
+
t0 = $[1];
|
|
825
|
+
}
|
|
826
|
+
let t1;
|
|
827
|
+
if ($[2] !== options || $[3] !== t0) {
|
|
828
|
+
t1 = {
|
|
829
|
+
...options,
|
|
830
|
+
mutationFn: _temp0,
|
|
831
|
+
onSettled: t0
|
|
832
|
+
};
|
|
833
|
+
$[2] = options;
|
|
834
|
+
$[3] = t0;
|
|
835
|
+
$[4] = t1;
|
|
836
|
+
} else {
|
|
837
|
+
t1 = $[4];
|
|
838
|
+
}
|
|
839
|
+
return useMutation(t1);
|
|
840
|
+
};
|
|
841
|
+
const useCancelApproval = (options) => {
|
|
842
|
+
const $ = compilerRuntimeExports.c(5);
|
|
843
|
+
const queryClient = useQueryClient();
|
|
844
|
+
let t0;
|
|
845
|
+
if ($[0] !== queryClient) {
|
|
846
|
+
t0 = () => queryClient.invalidateQueries({
|
|
847
|
+
queryKey: [ROUTE],
|
|
848
|
+
exact: false
|
|
849
|
+
});
|
|
850
|
+
$[0] = queryClient;
|
|
851
|
+
$[1] = t0;
|
|
852
|
+
} else {
|
|
853
|
+
t0 = $[1];
|
|
854
|
+
}
|
|
855
|
+
let t1;
|
|
856
|
+
if ($[2] !== options || $[3] !== t0) {
|
|
857
|
+
t1 = {
|
|
858
|
+
...options,
|
|
859
|
+
mutationFn: _temp10,
|
|
860
|
+
onSettled: t0
|
|
861
|
+
};
|
|
862
|
+
$[2] = options;
|
|
863
|
+
$[3] = t0;
|
|
864
|
+
$[4] = t1;
|
|
865
|
+
} else {
|
|
866
|
+
t1 = $[4];
|
|
867
|
+
}
|
|
868
|
+
return useMutation(t1);
|
|
869
|
+
};
|
|
870
|
+
function _temp(request) {
|
|
871
|
+
return request.data;
|
|
872
|
+
}
|
|
873
|
+
function _temp2(request) {
|
|
874
|
+
return request.data;
|
|
875
|
+
}
|
|
876
|
+
function _temp3(request) {
|
|
877
|
+
return request.data;
|
|
878
|
+
}
|
|
879
|
+
function _temp4(data) {
|
|
880
|
+
return httpClient.request({
|
|
881
|
+
url: `/${ROUTE}/Requests`,
|
|
882
|
+
method: "POST",
|
|
883
|
+
data
|
|
884
|
+
}).then(_temp3);
|
|
885
|
+
}
|
|
886
|
+
function _temp5(request) {
|
|
887
|
+
return request.data;
|
|
888
|
+
}
|
|
889
|
+
function _temp6(data) {
|
|
890
|
+
return httpClient.request({
|
|
891
|
+
url: `/${ROUTE}/Requests/${data.id}/single-approval`,
|
|
892
|
+
method: "POST",
|
|
893
|
+
data
|
|
894
|
+
}).then(_temp5);
|
|
895
|
+
}
|
|
896
|
+
function _temp7(request) {
|
|
897
|
+
return request.data;
|
|
898
|
+
}
|
|
899
|
+
function _temp8(data) {
|
|
900
|
+
return httpClient.request({
|
|
901
|
+
url: `/${ROUTE}/Requests/${data.id}/resubmit`,
|
|
902
|
+
method: "POST",
|
|
903
|
+
data
|
|
904
|
+
}).then(_temp7);
|
|
905
|
+
}
|
|
906
|
+
function _temp9(request) {
|
|
907
|
+
return request.data;
|
|
908
|
+
}
|
|
909
|
+
function _temp0(data) {
|
|
910
|
+
return httpClient.request({
|
|
911
|
+
url: `/${ROUTE}/Requests/${data.id}/withdraw`,
|
|
912
|
+
method: "POST",
|
|
913
|
+
data
|
|
914
|
+
}).then(_temp9);
|
|
915
|
+
}
|
|
916
|
+
function _temp1(request) {
|
|
917
|
+
return request.data;
|
|
918
|
+
}
|
|
919
|
+
function _temp10(data) {
|
|
920
|
+
return httpClient.request({
|
|
921
|
+
url: `/${ROUTE}/Requests/${data.id}/cancel`,
|
|
922
|
+
method: "POST",
|
|
923
|
+
data
|
|
924
|
+
}).then(_temp1);
|
|
925
|
+
}
|
|
5
926
|
export {
|
|
6
|
-
queryClient,
|
|
927
|
+
q as queryClient,
|
|
7
928
|
useApproveApproval,
|
|
8
929
|
useCancelApproval,
|
|
9
930
|
useCreateApproval,
|
|
10
|
-
useDeleteFile,
|
|
11
|
-
useDeleteFiles,
|
|
12
|
-
useDownloadFile,
|
|
931
|
+
f as useDeleteFile,
|
|
932
|
+
g as useDeleteFiles,
|
|
933
|
+
c as useDownloadFile,
|
|
13
934
|
useGetApproval,
|
|
14
935
|
useGetApprovals,
|
|
15
|
-
useGetFile,
|
|
16
|
-
useGetFileMetas,
|
|
17
|
-
useGetFileThumbnail,
|
|
936
|
+
b as useGetFile,
|
|
937
|
+
u as useGetFileMetas,
|
|
938
|
+
a as useGetFileThumbnail,
|
|
18
939
|
useGetPeopleSoftActiveEmployees,
|
|
19
940
|
useGetPeopleSoftCompanyGeneralManager,
|
|
20
941
|
useGetPeopleSoftDepartmentById,
|
|
@@ -29,10 +950,10 @@ export {
|
|
|
29
950
|
useGetPeopleSoftEmployees,
|
|
30
951
|
useGetPeopleSoftEmployeesSearch,
|
|
31
952
|
useGetPeopleSoftPreviousEmployeeIds,
|
|
32
|
-
useOpenFile,
|
|
953
|
+
d as useOpenFile,
|
|
33
954
|
useResubmitApproval,
|
|
34
|
-
useUpdateFileMeta,
|
|
35
|
-
useUploadFile,
|
|
955
|
+
e as useUpdateFileMeta,
|
|
956
|
+
h as useUploadFile,
|
|
36
957
|
useWithdrawApproval
|
|
37
958
|
};
|
|
38
959
|
//# sourceMappingURL=queries.js.map
|