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
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as z } from 'zod';
|
|
2
|
-
export declare const ApprovalStepResult: z.ZodEnum<{
|
|
3
|
-
NotAvailable: "NotAvailable";
|
|
4
|
-
FutureApproval: "FutureApproval";
|
|
5
|
-
WaitingForApproval: "WaitingForApproval";
|
|
6
|
-
Approved: "Approved";
|
|
7
|
-
Rejected: "Rejected";
|
|
8
|
-
Skipped: "Skipped";
|
|
9
|
-
Withdrawn: "Withdrawn";
|
|
10
|
-
Cancelled: "Cancelled";
|
|
11
|
-
}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import z__default from "zod";
|
|
2
|
-
const ApprovalStepResult = z__default.enum(["NotAvailable", "FutureApproval", "WaitingForApproval", "Approved", "Rejected", "Skipped", "Withdrawn", "Cancelled"]);
|
|
3
|
-
export {
|
|
4
|
-
ApprovalStepResult
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=ApprovalStepResult.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApprovalStepResult.js","sources":["../../../src/models/approval/ApprovalStepResult.ts"],"sourcesContent":["import z from \"zod\";\n\nexport const ApprovalStepResult = z.enum([\n \"NotAvailable\",\n \"FutureApproval\",\n \"WaitingForApproval\",\n \"Approved\",\n \"Rejected\",\n \"Skipped\",\n \"Withdrawn\",\n \"Cancelled\"\n]);"],"names":["ApprovalStepResult","z","enum"],"mappings":";AAEO,MAAMA,qBAAqBC,WAAEC,KAAK,CACrC,gBACA,kBACA,sBACA,YACA,YACA,WACA,aACA,WAAW,CACd;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StepApprovalOrder.js","sources":["../../../src/models/approval/StepApprovalOrder.ts"],"sourcesContent":["import z from \"zod\";\n\nexport const StepApprovalOrder = z.enum([\n \"Serial\",\n \"Parallel\",\n \"OneOfThem\"\n]);"],"names":["StepApprovalOrder","z","enum"],"mappings":";AAEO,MAAMA,oBAAoBC,WAAEC,KAAK,CACpC,UACA,YACA,WAAW,CACd;"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as z } from 'zod';
|
|
2
|
-
export declare const EmailSchema: z.ZodObject<{
|
|
3
|
-
subject: z.ZodString;
|
|
4
|
-
body: z.ZodString;
|
|
5
|
-
to: z.ZodArray<z.ZodEmail>;
|
|
6
|
-
bcc: z.ZodOptional<z.ZodArray<z.ZodEmail>>;
|
|
7
|
-
cc: z.ZodOptional<z.ZodArray<z.ZodEmail>>;
|
|
8
|
-
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
-
appName: z.ZodString;
|
|
10
|
-
subId: z.ZodUUID;
|
|
11
|
-
}, z.core.$strip>>>;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export type Email = z.infer<typeof EmailSchema>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import z__default from "zod";
|
|
2
|
-
import { EmailAttachmentSchema } from "./EmailAttachment.js";
|
|
3
|
-
const EmailSchema = z__default.object({
|
|
4
|
-
subject: z__default.string().trim().min(1).max(60),
|
|
5
|
-
body: z__default.string().trim().min(1),
|
|
6
|
-
to: z__default.array(z__default.email()).min(1),
|
|
7
|
-
bcc: z__default.array(z__default.email()).optional(),
|
|
8
|
-
cc: z__default.array(z__default.email()).optional(),
|
|
9
|
-
attachments: z__default.array(EmailAttachmentSchema).optional()
|
|
10
|
-
});
|
|
11
|
-
export {
|
|
12
|
-
EmailSchema
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=Email.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Email.js","sources":["../../../src/models/email/Email.ts"],"sourcesContent":["import z from \"zod\";\nimport { EmailAttachmentSchema } from \"./EmailAttachment\";\n\nexport const EmailSchema = z.object({\n subject: z.string().trim().min(1).max(60),\n body: z.string().trim().min(1),\n to: z.array(z.email()).min(1),\n bcc: z.array(z.email()).optional(),\n cc: z.array(z.email()).optional(),\n attachments: z.array(EmailAttachmentSchema).optional(),\n});\n\nexport type Email = z.infer<typeof EmailSchema>;"],"names":["EmailSchema","z","object","subject","string","trim","min","max","body","to","array","email","bcc","optional","cc","attachments","EmailAttachmentSchema"],"mappings":";;AAGO,MAAMA,cAAcC,WAAEC,OAAO;AAAA,EAChCC,SAASF,WAAEG,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,EAAE;AAAA,EACxCC,MAAMP,WAAEG,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC;AAAA,EAC7BG,IAAIR,WAAES,MAAMT,WAAEU,OAAO,EAAEL,IAAI,CAAC;AAAA,EAC5BM,KAAKX,WAAES,MAAMT,WAAEU,MAAAA,CAAO,EAAEE,SAAAA;AAAAA,EACxBC,IAAIb,WAAES,MAAMT,WAAEU,MAAAA,CAAO,EAAEE,SAAAA;AAAAA,EACvBE,aAAad,WAAES,MAAMM,qBAAqB,EAAEH,SAAAA;AAChD,CAAC;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmailAttachment.js","sources":["../../../src/models/email/EmailAttachment.ts"],"sourcesContent":["import z from \"zod\";\n\nexport const EmailAttachmentSchema = z.object({\n appName: z.string().trim().min(1).max(100),\n subId: z.uuid(),\n});\n\nexport type EmailAttachment = z.infer<typeof EmailAttachmentSchema>;"],"names":["EmailAttachmentSchema","z","object","appName","string","trim","min","max","subId","uuid"],"mappings":";AAEO,MAAMA,wBAAwBC,WAAEC,OAAO;AAAA,EAC1CC,SAASF,WAAEG,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,GAAG;AAAA,EACzCC,OAAOP,WAAEQ,KAAAA;AACb,CAAC;"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
export declare const FileMetaSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodUUID;
|
|
4
|
-
subId: z.ZodUUID;
|
|
5
|
-
appName: z.ZodString;
|
|
6
|
-
fileName: z.ZodString;
|
|
7
|
-
fileExtension: z.ZodString;
|
|
8
|
-
fileSize: z.ZodNumber;
|
|
9
|
-
mediaSubType: z.ZodString;
|
|
10
|
-
mediaType: z.ZodString;
|
|
11
|
-
mimeType: z.ZodString;
|
|
12
|
-
createdBy: z.ZodString;
|
|
13
|
-
createdDate: z.ZodDate;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
export type FileMeta = z.infer<typeof FileMetaSchema>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileMeta.js","sources":["../../../src/models/file/FileMeta.ts"],"sourcesContent":["import * as z from \"zod\";\n\nexport const FileMetaSchema = z.object({\n id: z.uuid(),\n subId: z.uuid(),\n appName: z.string().trim().min(1).max(255),\n fileName: z.string().trim().min(1).max(255),\n fileExtension: z.string().trim().min(1).max(255),\n fileSize: z.number().min(0),\n mediaSubType: z.string().trim().min(1).max(255),\n mediaType: z.string().trim().min(1).max(255),\n mimeType: z.string().trim().min(1).max(255),\n createdBy: z.string().trim().min(1).max(255),\n createdDate: z.date(),\n});\n\nexport type FileMeta = z.infer<typeof FileMetaSchema>;\n"],"names":["FileMetaSchema","z","object","id","uuid","subId","appName","string","trim","min","max","fileName","fileExtension","fileSize","number","mediaSubType","mediaType","mimeType","createdBy","createdDate","date"],"mappings":";AAEO,MAAMA,iBAAiBC,EAAEC,OAAO;AAAA,EACnCC,IAAIF,EAAEG,KAAAA;AAAAA,EACNC,OAAOJ,EAAEG,KAAAA;AAAAA,EACTE,SAASL,EAAEM,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,GAAG;AAAA,EACzCC,UAAUV,EAAEM,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,GAAG;AAAA,EAC1CE,eAAeX,EAAEM,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,GAAG;AAAA,EAC/CG,UAAUZ,EAAEa,SAASL,IAAI,CAAC;AAAA,EAC1BM,cAAcd,EAAEM,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,GAAG;AAAA,EAC9CM,WAAWf,EAAEM,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,GAAG;AAAA,EAC3CO,UAAUhB,EAAEM,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,GAAG;AAAA,EAC1CQ,WAAWjB,EAAEM,OAAAA,EAASC,KAAAA,EAAOC,IAAI,CAAC,EAAEC,IAAI,GAAG;AAAA,EAC3CS,aAAalB,EAAEmB,KAAAA;AACnB,CAAC;"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { default as z } from 'zod';
|
|
2
|
-
export declare const DepartmentSchema: z.ZodObject<{
|
|
3
|
-
departmentId: z.ZodString;
|
|
4
|
-
description: z.ZodString;
|
|
5
|
-
managerId: z.ZodString;
|
|
6
|
-
managerRecordNumber: z.ZodString;
|
|
7
|
-
treeLevel: z.ZodNumber;
|
|
8
|
-
upperDepartmentId: z.ZodString;
|
|
9
|
-
companyCode: z.ZodString;
|
|
10
|
-
location: z.ZodString;
|
|
11
|
-
salLocation: z.ZodString;
|
|
12
|
-
plantId: z.ZodString;
|
|
13
|
-
manager: z.ZodObject<{
|
|
14
|
-
badgeId: z.ZodString;
|
|
15
|
-
category: z.ZodString;
|
|
16
|
-
categoryGroup: z.ZodEnum<{
|
|
17
|
-
IDL: "IDL";
|
|
18
|
-
FD: "FD";
|
|
19
|
-
FI: "FI";
|
|
20
|
-
}>;
|
|
21
|
-
companyCode: z.ZodString;
|
|
22
|
-
contactPhone: z.ZodString;
|
|
23
|
-
departmentId: z.ZodString;
|
|
24
|
-
departmentDescription: z.ZodString;
|
|
25
|
-
emailString: z.ZodString;
|
|
26
|
-
employeeId: z.ZodString;
|
|
27
|
-
extensionNumber: z.ZodString;
|
|
28
|
-
firstName: z.ZodString;
|
|
29
|
-
gender: z.ZodString;
|
|
30
|
-
hiredDate: z.ZodDate;
|
|
31
|
-
lastName: z.ZodString;
|
|
32
|
-
managerId: z.ZodString;
|
|
33
|
-
middleName: z.ZodString;
|
|
34
|
-
name: z.ZodString;
|
|
35
|
-
nameTitleCase: z.ZodString;
|
|
36
|
-
nfcSn: z.ZodString;
|
|
37
|
-
plantId: z.ZodString;
|
|
38
|
-
position: z.ZodString;
|
|
39
|
-
previousEmployeeIds: z.ZodNullable<z.ZodString>;
|
|
40
|
-
reHiredDate: z.ZodNullable<z.ZodDate>;
|
|
41
|
-
recordNumber: z.ZodNumber;
|
|
42
|
-
status: z.ZodEnum<{
|
|
43
|
-
Active: "Active";
|
|
44
|
-
Terminated: "Terminated";
|
|
45
|
-
"Leave of Absence": "Leave of Absence";
|
|
46
|
-
}>;
|
|
47
|
-
supervisorId: z.ZodString;
|
|
48
|
-
terminationDate: z.ZodNullable<z.ZodDate>;
|
|
49
|
-
terminationFutureDate: z.ZodNullable<z.ZodDate>;
|
|
50
|
-
type: z.ZodString;
|
|
51
|
-
upperDepartmentId: z.ZodString;
|
|
52
|
-
jobCode: z.ZodString;
|
|
53
|
-
jobDescription: z.ZodString;
|
|
54
|
-
terminationReason: z.ZodNullable<z.ZodString>;
|
|
55
|
-
supervisorRecordNumber: z.ZodNumber;
|
|
56
|
-
}, z.core.$strip>;
|
|
57
|
-
}, z.core.$strip>;
|
|
58
|
-
export type Department = z.infer<typeof DepartmentSchema>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import z__default from "zod";
|
|
2
|
-
import { EmployeeSchema } from "./Employee.js";
|
|
3
|
-
const DepartmentSchema = z__default.object({
|
|
4
|
-
departmentId: z__default.string().trim(),
|
|
5
|
-
description: z__default.string().trim(),
|
|
6
|
-
managerId: z__default.string().trim(),
|
|
7
|
-
managerRecordNumber: z__default.string().trim(),
|
|
8
|
-
treeLevel: z__default.number(),
|
|
9
|
-
upperDepartmentId: z__default.string().trim(),
|
|
10
|
-
companyCode: z__default.string().trim(),
|
|
11
|
-
location: z__default.string().trim(),
|
|
12
|
-
salLocation: z__default.string().trim(),
|
|
13
|
-
plantId: z__default.string().trim(),
|
|
14
|
-
manager: EmployeeSchema
|
|
15
|
-
});
|
|
16
|
-
export {
|
|
17
|
-
DepartmentSchema
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=Department.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Department.js","sources":["../../../src/models/peoplesoft/Department.ts"],"sourcesContent":["import z from \"zod\";\nimport { EmployeeSchema } from \"./Employee\";\n\nexport const DepartmentSchema = z.object({\n departmentId: z.string().trim(),\n description: z.string().trim(),\n managerId: z.string().trim(),\n managerRecordNumber: z.string().trim(),\n treeLevel: z.number(),\n upperDepartmentId: z.string().trim(),\n companyCode: z.string().trim(),\n location: z.string().trim(),\n salLocation: z.string().trim(),\n plantId: z.string().trim(),\n manager: EmployeeSchema,\n});\n\nexport type Department = z.infer<typeof DepartmentSchema>;\n"],"names":["DepartmentSchema","z","object","departmentId","string","trim","description","managerId","managerRecordNumber","treeLevel","number","upperDepartmentId","companyCode","location","salLocation","plantId","manager","EmployeeSchema"],"mappings":";;AAGO,MAAMA,mBAAmBC,WAAEC,OAAO;AAAA,EACrCC,cAAcF,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACzBC,aAAaL,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACxBE,WAAWN,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACtBG,qBAAqBP,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EAChCI,WAAWR,WAAES,OAAAA;AAAAA,EACbC,mBAAmBV,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EAC9BO,aAAaX,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACxBQ,UAAUZ,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACrBS,aAAab,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACxBU,SAASd,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACpBW,SAASC;AACb,CAAC;"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { default as z } from 'zod';
|
|
2
|
-
export declare const EmployeeSchema: z.ZodObject<{
|
|
3
|
-
badgeId: z.ZodString;
|
|
4
|
-
category: z.ZodString;
|
|
5
|
-
categoryGroup: z.ZodEnum<{
|
|
6
|
-
IDL: "IDL";
|
|
7
|
-
FD: "FD";
|
|
8
|
-
FI: "FI";
|
|
9
|
-
}>;
|
|
10
|
-
companyCode: z.ZodString;
|
|
11
|
-
contactPhone: z.ZodString;
|
|
12
|
-
departmentId: z.ZodString;
|
|
13
|
-
departmentDescription: z.ZodString;
|
|
14
|
-
emailString: z.ZodString;
|
|
15
|
-
employeeId: z.ZodString;
|
|
16
|
-
extensionNumber: z.ZodString;
|
|
17
|
-
firstName: z.ZodString;
|
|
18
|
-
gender: z.ZodString;
|
|
19
|
-
hiredDate: z.ZodDate;
|
|
20
|
-
lastName: z.ZodString;
|
|
21
|
-
managerId: z.ZodString;
|
|
22
|
-
middleName: z.ZodString;
|
|
23
|
-
name: z.ZodString;
|
|
24
|
-
nameTitleCase: z.ZodString;
|
|
25
|
-
nfcSn: z.ZodString;
|
|
26
|
-
plantId: z.ZodString;
|
|
27
|
-
position: z.ZodString;
|
|
28
|
-
previousEmployeeIds: z.ZodNullable<z.ZodString>;
|
|
29
|
-
reHiredDate: z.ZodNullable<z.ZodDate>;
|
|
30
|
-
recordNumber: z.ZodNumber;
|
|
31
|
-
status: z.ZodEnum<{
|
|
32
|
-
Active: "Active";
|
|
33
|
-
Terminated: "Terminated";
|
|
34
|
-
"Leave of Absence": "Leave of Absence";
|
|
35
|
-
}>;
|
|
36
|
-
supervisorId: z.ZodString;
|
|
37
|
-
terminationDate: z.ZodNullable<z.ZodDate>;
|
|
38
|
-
terminationFutureDate: z.ZodNullable<z.ZodDate>;
|
|
39
|
-
type: z.ZodString;
|
|
40
|
-
upperDepartmentId: z.ZodString;
|
|
41
|
-
jobCode: z.ZodString;
|
|
42
|
-
jobDescription: z.ZodString;
|
|
43
|
-
terminationReason: z.ZodNullable<z.ZodString>;
|
|
44
|
-
supervisorRecordNumber: z.ZodNumber;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
export type Employee = z.infer<typeof EmployeeSchema>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import z__default from "zod";
|
|
2
|
-
import { EmployeeCategoryGroup } from "./EmployeeCategoryGroup.js";
|
|
3
|
-
import { EmployeeStatus } from "./EmployeeStatus.js";
|
|
4
|
-
const EmployeeSchema = z__default.object({
|
|
5
|
-
badgeId: z__default.string().trim(),
|
|
6
|
-
category: z__default.string().trim(),
|
|
7
|
-
categoryGroup: EmployeeCategoryGroup,
|
|
8
|
-
companyCode: z__default.string().trim(),
|
|
9
|
-
contactPhone: z__default.string().trim(),
|
|
10
|
-
departmentId: z__default.string().trim(),
|
|
11
|
-
departmentDescription: z__default.string().trim(),
|
|
12
|
-
emailString: z__default.string().trim(),
|
|
13
|
-
employeeId: z__default.string().trim(),
|
|
14
|
-
extensionNumber: z__default.string().trim(),
|
|
15
|
-
firstName: z__default.string().trim(),
|
|
16
|
-
gender: z__default.string().trim(),
|
|
17
|
-
hiredDate: z__default.date(),
|
|
18
|
-
lastName: z__default.string().trim(),
|
|
19
|
-
managerId: z__default.string().trim(),
|
|
20
|
-
middleName: z__default.string().trim(),
|
|
21
|
-
name: z__default.string().trim(),
|
|
22
|
-
nameTitleCase: z__default.string().trim(),
|
|
23
|
-
nfcSn: z__default.string().trim(),
|
|
24
|
-
plantId: z__default.string().trim(),
|
|
25
|
-
position: z__default.string().trim(),
|
|
26
|
-
previousEmployeeIds: z__default.string().trim().nullable(),
|
|
27
|
-
reHiredDate: z__default.date().nullable(),
|
|
28
|
-
recordNumber: z__default.number(),
|
|
29
|
-
status: EmployeeStatus,
|
|
30
|
-
supervisorId: z__default.string().trim(),
|
|
31
|
-
terminationDate: z__default.date().nullable(),
|
|
32
|
-
terminationFutureDate: z__default.date().nullable(),
|
|
33
|
-
type: z__default.string().trim(),
|
|
34
|
-
upperDepartmentId: z__default.string().trim(),
|
|
35
|
-
jobCode: z__default.string().trim(),
|
|
36
|
-
jobDescription: z__default.string().trim(),
|
|
37
|
-
terminationReason: z__default.string().trim().nullable(),
|
|
38
|
-
supervisorRecordNumber: z__default.number()
|
|
39
|
-
});
|
|
40
|
-
export {
|
|
41
|
-
EmployeeSchema
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=Employee.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Employee.js","sources":["../../../src/models/peoplesoft/Employee.ts"],"sourcesContent":["import z from \"zod\";\nimport { EmployeeCategoryGroup } from \"./EmployeeCategoryGroup\";\nimport { EmployeeStatus } from \"./EmployeeStatus\";\n\nexport const EmployeeSchema = z.object({\n badgeId: z.string().trim(),\n category: z.string().trim(),\n categoryGroup: EmployeeCategoryGroup,\n companyCode: z.string().trim(),\n contactPhone: z.string().trim(),\n departmentId: z.string().trim(),\n departmentDescription: z.string().trim(),\n emailString: z.string().trim(),\n employeeId: z.string().trim(),\n extensionNumber: z.string().trim(),\n firstName: z.string().trim(),\n gender: z.string().trim(),\n hiredDate: z.date(),\n lastName: z.string().trim(),\n managerId: z.string().trim(),\n middleName: z.string().trim(),\n name: z.string().trim(),\n nameTitleCase: z.string().trim(),\n nfcSn: z.string().trim(),\n plantId: z.string().trim(),\n position: z.string().trim(),\n previousEmployeeIds: z.string().trim().nullable(),\n reHiredDate: z.date().nullable(),\n recordNumber: z.number(),\n status: EmployeeStatus,\n supervisorId: z.string().trim(),\n terminationDate: z.date().nullable(),\n terminationFutureDate: z.date().nullable(),\n type: z.string().trim(),\n upperDepartmentId: z.string().trim(),\n jobCode: z.string().trim(),\n jobDescription: z.string().trim(),\n terminationReason: z.string().trim().nullable(),\n supervisorRecordNumber: z.number(),\n});\n\nexport type Employee = z.infer<typeof EmployeeSchema>;\n"],"names":["EmployeeSchema","z","object","badgeId","string","trim","category","categoryGroup","EmployeeCategoryGroup","companyCode","contactPhone","departmentId","departmentDescription","emailString","employeeId","extensionNumber","firstName","gender","hiredDate","date","lastName","managerId","middleName","name","nameTitleCase","nfcSn","plantId","position","previousEmployeeIds","nullable","reHiredDate","recordNumber","number","status","EmployeeStatus","supervisorId","terminationDate","terminationFutureDate","type","upperDepartmentId","jobCode","jobDescription","terminationReason","supervisorRecordNumber"],"mappings":";;;AAIO,MAAMA,iBAAiBC,WAAEC,OAAO;AAAA,EACnCC,SAASF,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACpBC,UAAUL,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACrBE,eAAeC;AAAAA,EACfC,aAAaR,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACxBK,cAAcT,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACzBM,cAAcV,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACzBO,uBAAuBX,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EAClCQ,aAAaZ,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACxBS,YAAYb,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACvBU,iBAAiBd,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EAC5BW,WAAWf,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACtBY,QAAQhB,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACnBa,WAAWjB,WAAEkB,KAAAA;AAAAA,EACbC,UAAUnB,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACrBgB,WAAWpB,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACtBiB,YAAYrB,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACvBkB,MAAMtB,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACjBmB,eAAevB,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EAC1BoB,OAAOxB,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EAClBqB,SAASzB,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACpBsB,UAAU1B,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACrBuB,qBAAqB3B,WAAEG,OAAAA,EAASC,KAAAA,EAAOwB,SAAAA;AAAAA,EACvCC,aAAa7B,WAAEkB,KAAAA,EAAOU,SAAAA;AAAAA,EACtBE,cAAc9B,WAAE+B,OAAAA;AAAAA,EAChBC,QAAQC;AAAAA,EACRC,cAAclC,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACzB+B,iBAAiBnC,WAAEkB,KAAAA,EAAOU,SAAAA;AAAAA,EAC1BQ,uBAAuBpC,WAAEkB,KAAAA,EAAOU,SAAAA;AAAAA,EAChCS,MAAMrC,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACjBkC,mBAAmBtC,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EAC9BmC,SAASvC,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EACpBoC,gBAAgBxC,WAAEG,OAAAA,EAASC,KAAAA;AAAAA,EAC3BqC,mBAAmBzC,WAAEG,OAAAA,EAASC,KAAAA,EAAOwB,SAAAA;AAAAA,EACrCc,wBAAwB1C,WAAE+B,OAAAA;AAC9B,CAAC;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmployeeCategoryGroup.js","sources":["../../../src/models/peoplesoft/EmployeeCategoryGroup.ts"],"sourcesContent":["import z from \"zod\";\n\nexport const EmployeeCategoryGroup = z.enum([\n \"IDL\",\n \"FD\",\n \"FI\"\n]);"],"names":["EmployeeCategoryGroup","z","enum"],"mappings":";AAEO,MAAMA,wBAAwBC,WAAEC,KAAK,CACxC,OACA,MACA,IAAI,CACP;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmployeeStatus.js","sources":["../../../src/models/peoplesoft/EmployeeStatus.ts"],"sourcesContent":["import z from \"zod\";\n\nexport const EmployeeStatus = z.enum([\n \"Active\",\n \"Terminated\",\n \"Leave of Absence\"\n]);"],"names":["EmployeeStatus","z","enum"],"mappings":";AAEO,MAAMA,iBAAiBC,WAAEC,KAAK,CACjC,UACA,cACA,kBAAkB,CACrB;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bits.js","sources":["../../../../../node_modules/@oslojs/binary/dist/bits.js"],"sourcesContent":["export function rotl32(x, n) {\n return ((x << n) | (x >>> (32 - n))) >>> 0;\n}\nexport function rotr32(x, n) {\n return ((x << (32 - n)) | (x >>> n)) >>> 0;\n}\nexport function rotr64(x, n) {\n return ((x << BigInt(64 - n)) | (x >> BigInt(n))) & 0xffffffffffffffffn;\n}\nexport function rotl64(x, n) {\n return ((x << BigInt(n)) | (x >> BigInt(64 - n))) & 0xffffffffffffffffn;\n}\n"],"names":[],"mappings":"AAGO,SAAS,OAAO,GAAG,GAAG;AACzB,UAAS,KAAM,KAAK,IAAO,MAAM,OAAQ;AAC7C;","x_google_ignoreList":[0]}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
class BigEndian {
|
|
2
|
-
uint8(data, offset) {
|
|
3
|
-
if (data.byteLength < offset + 1) {
|
|
4
|
-
throw new TypeError("Insufficient bytes");
|
|
5
|
-
}
|
|
6
|
-
return data[offset];
|
|
7
|
-
}
|
|
8
|
-
uint16(data, offset) {
|
|
9
|
-
if (data.byteLength < offset + 2) {
|
|
10
|
-
throw new TypeError("Insufficient bytes");
|
|
11
|
-
}
|
|
12
|
-
return data[offset] << 8 | data[offset + 1];
|
|
13
|
-
}
|
|
14
|
-
uint32(data, offset) {
|
|
15
|
-
if (data.byteLength < offset + 4) {
|
|
16
|
-
throw new TypeError("Insufficient bytes");
|
|
17
|
-
}
|
|
18
|
-
let result = 0;
|
|
19
|
-
for (let i = 0; i < 4; i++) {
|
|
20
|
-
result |= data[offset + i] << 24 - i * 8;
|
|
21
|
-
}
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
uint64(data, offset) {
|
|
25
|
-
if (data.byteLength < offset + 8) {
|
|
26
|
-
throw new TypeError("Insufficient bytes");
|
|
27
|
-
}
|
|
28
|
-
let result = 0n;
|
|
29
|
-
for (let i = 0; i < 8; i++) {
|
|
30
|
-
result |= BigInt(data[offset + i]) << BigInt(56 - i * 8);
|
|
31
|
-
}
|
|
32
|
-
return result;
|
|
33
|
-
}
|
|
34
|
-
putUint8(target, value, offset) {
|
|
35
|
-
if (target.length < offset + 1) {
|
|
36
|
-
throw new TypeError("Not enough space");
|
|
37
|
-
}
|
|
38
|
-
if (value < 0 || value > 255) {
|
|
39
|
-
throw new TypeError("Invalid uint8 value");
|
|
40
|
-
}
|
|
41
|
-
target[offset] = value;
|
|
42
|
-
}
|
|
43
|
-
putUint16(target, value, offset) {
|
|
44
|
-
if (target.length < offset + 2) {
|
|
45
|
-
throw new TypeError("Not enough space");
|
|
46
|
-
}
|
|
47
|
-
if (value < 0 || value > 65535) {
|
|
48
|
-
throw new TypeError("Invalid uint16 value");
|
|
49
|
-
}
|
|
50
|
-
target[offset] = value >> 8;
|
|
51
|
-
target[offset + 1] = value & 255;
|
|
52
|
-
}
|
|
53
|
-
putUint32(target, value, offset) {
|
|
54
|
-
if (target.length < offset + 4) {
|
|
55
|
-
throw new TypeError("Not enough space");
|
|
56
|
-
}
|
|
57
|
-
if (value < 0 || value > 4294967295) {
|
|
58
|
-
throw new TypeError("Invalid uint32 value");
|
|
59
|
-
}
|
|
60
|
-
for (let i = 0; i < 4; i++) {
|
|
61
|
-
target[offset + i] = value >> (3 - i) * 8 & 255;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
putUint64(target, value, offset) {
|
|
65
|
-
if (target.length < offset + 8) {
|
|
66
|
-
throw new TypeError("Not enough space");
|
|
67
|
-
}
|
|
68
|
-
if (value < 0 || value > 18446744073709551615n) {
|
|
69
|
-
throw new TypeError("Invalid uint64 value");
|
|
70
|
-
}
|
|
71
|
-
for (let i = 0; i < 8; i++) {
|
|
72
|
-
target[offset + i] = Number(value >> BigInt((7 - i) * 8) & 0xffn);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
const bigEndian = new BigEndian();
|
|
77
|
-
export {
|
|
78
|
-
bigEndian
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=uint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"uint.js","sources":["../../../../../node_modules/@oslojs/binary/dist/uint.js"],"sourcesContent":["class BigEndian {\n uint8(data, offset) {\n if (data.byteLength < offset + 1) {\n throw new TypeError(\"Insufficient bytes\");\n }\n return data[offset];\n }\n uint16(data, offset) {\n if (data.byteLength < offset + 2) {\n throw new TypeError(\"Insufficient bytes\");\n }\n return (data[offset] << 8) | data[offset + 1];\n }\n uint32(data, offset) {\n if (data.byteLength < offset + 4) {\n throw new TypeError(\"Insufficient bytes\");\n }\n let result = 0;\n for (let i = 0; i < 4; i++) {\n result |= data[offset + i] << (24 - i * 8);\n }\n return result;\n }\n uint64(data, offset) {\n if (data.byteLength < offset + 8) {\n throw new TypeError(\"Insufficient bytes\");\n }\n let result = 0n;\n for (let i = 0; i < 8; i++) {\n result |= BigInt(data[offset + i]) << BigInt(56 - i * 8);\n }\n return result;\n }\n putUint8(target, value, offset) {\n if (target.length < offset + 1) {\n throw new TypeError(\"Not enough space\");\n }\n if (value < 0 || value > 255) {\n throw new TypeError(\"Invalid uint8 value\");\n }\n target[offset] = value;\n }\n putUint16(target, value, offset) {\n if (target.length < offset + 2) {\n throw new TypeError(\"Not enough space\");\n }\n if (value < 0 || value > 65535) {\n throw new TypeError(\"Invalid uint16 value\");\n }\n target[offset] = value >> 8;\n target[offset + 1] = value & 0xff;\n }\n putUint32(target, value, offset) {\n if (target.length < offset + 4) {\n throw new TypeError(\"Not enough space\");\n }\n if (value < 0 || value > 4294967295) {\n throw new TypeError(\"Invalid uint32 value\");\n }\n for (let i = 0; i < 4; i++) {\n target[offset + i] = (value >> ((3 - i) * 8)) & 0xff;\n }\n }\n putUint64(target, value, offset) {\n if (target.length < offset + 8) {\n throw new TypeError(\"Not enough space\");\n }\n if (value < 0 || value > 18446744073709551615n) {\n throw new TypeError(\"Invalid uint64 value\");\n }\n for (let i = 0; i < 8; i++) {\n target[offset + i] = Number((value >> BigInt((7 - i) * 8)) & 0xffn);\n }\n }\n}\nclass LittleEndian {\n uint8(data, offset) {\n if (data.byteLength < offset + 1) {\n throw new TypeError(\"Insufficient bytes\");\n }\n return data[offset];\n }\n uint16(data, offset) {\n if (data.byteLength < offset + 2) {\n throw new TypeError(\"Insufficient bytes\");\n }\n return data[offset] | (data[offset + 1] << 8);\n }\n uint32(data, offset) {\n if (data.byteLength < offset + 4) {\n throw new TypeError(\"Insufficient bytes\");\n }\n let result = 0;\n for (let i = 0; i < 4; i++) {\n result |= data[offset + i] << (i * 8);\n }\n return result;\n }\n uint64(data, offset) {\n if (data.byteLength < offset + 8) {\n throw new TypeError(\"Insufficient bytes\");\n }\n let result = 0n;\n for (let i = 0; i < 8; i++) {\n result |= BigInt(data[offset + i]) << BigInt(i * 8);\n }\n return result;\n }\n putUint8(target, value, offset) {\n if (target.length < 1 + offset) {\n throw new TypeError(\"Insufficient space\");\n }\n if (value < 0 || value > 255) {\n throw new TypeError(\"Invalid uint8 value\");\n }\n target[offset] = value;\n }\n putUint16(target, value, offset) {\n if (target.length < 2 + offset) {\n throw new TypeError(\"Insufficient space\");\n }\n if (value < 0 || value > 65535) {\n throw new TypeError(\"Invalid uint16 value\");\n }\n target[offset + 1] = value >> 8;\n target[offset] = value & 0xff;\n }\n putUint32(target, value, offset) {\n if (target.length < 4 + offset) {\n throw new TypeError(\"Insufficient space\");\n }\n if (value < 0 || value > 4294967295) {\n throw new TypeError(\"Invalid uint32 value\");\n }\n for (let i = 0; i < 4; i++) {\n target[offset + i] = (value >> (i * 8)) & 0xff;\n }\n }\n putUint64(target, value, offset) {\n if (target.length < 8 + offset) {\n throw new TypeError(\"Insufficient space\");\n }\n if (value < 0 || value > 18446744073709551615n) {\n throw new TypeError(\"Invalid uint64 value\");\n }\n for (let i = 0; i < 8; i++) {\n target[offset + i] = Number((value >> BigInt(i * 8)) & 0xffn);\n }\n }\n}\nexport const bigEndian = new BigEndian();\nexport const littleEndian = new LittleEndian();\n"],"names":[],"mappings":"AAAA,MAAM,UAAU;AAAA,EACZ,MAAM,MAAM,QAAQ;AAChB,QAAI,KAAK,aAAa,SAAS,GAAG;AAC9B,YAAM,IAAI,UAAU,oBAAoB;AAAA,IAC5C;AACA,WAAO,KAAK,MAAM;AAAA,EACtB;AAAA,EACA,OAAO,MAAM,QAAQ;AACjB,QAAI,KAAK,aAAa,SAAS,GAAG;AAC9B,YAAM,IAAI,UAAU,oBAAoB;AAAA,IAC5C;AACA,WAAQ,KAAK,MAAM,KAAK,IAAK,KAAK,SAAS,CAAC;AAAA,EAChD;AAAA,EACA,OAAO,MAAM,QAAQ;AACjB,QAAI,KAAK,aAAa,SAAS,GAAG;AAC9B,YAAM,IAAI,UAAU,oBAAoB;AAAA,IAC5C;AACA,QAAI,SAAS;AACb,aAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AACxB,gBAAU,KAAK,SAAS,CAAC,KAAM,KAAK,IAAI;AAAA,IAC5C;AACA,WAAO;AAAA,EACX;AAAA,EACA,OAAO,MAAM,QAAQ;AACjB,QAAI,KAAK,aAAa,SAAS,GAAG;AAC9B,YAAM,IAAI,UAAU,oBAAoB;AAAA,IAC5C;AACA,QAAI,SAAS;AACb,aAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AACxB,gBAAU,OAAO,KAAK,SAAS,CAAC,CAAC,KAAK,OAAO,KAAK,IAAI,CAAC;AAAA,IAC3D;AACA,WAAO;AAAA,EACX;AAAA,EACA,SAAS,QAAQ,OAAO,QAAQ;AAC5B,QAAI,OAAO,SAAS,SAAS,GAAG;AAC5B,YAAM,IAAI,UAAU,kBAAkB;AAAA,IAC1C;AACA,QAAI,QAAQ,KAAK,QAAQ,KAAK;AAC1B,YAAM,IAAI,UAAU,qBAAqB;AAAA,IAC7C;AACA,WAAO,MAAM,IAAI;AAAA,EACrB;AAAA,EACA,UAAU,QAAQ,OAAO,QAAQ;AAC7B,QAAI,OAAO,SAAS,SAAS,GAAG;AAC5B,YAAM,IAAI,UAAU,kBAAkB;AAAA,IAC1C;AACA,QAAI,QAAQ,KAAK,QAAQ,OAAO;AAC5B,YAAM,IAAI,UAAU,sBAAsB;AAAA,IAC9C;AACA,WAAO,MAAM,IAAI,SAAS;AAC1B,WAAO,SAAS,CAAC,IAAI,QAAQ;AAAA,EACjC;AAAA,EACA,UAAU,QAAQ,OAAO,QAAQ;AAC7B,QAAI,OAAO,SAAS,SAAS,GAAG;AAC5B,YAAM,IAAI,UAAU,kBAAkB;AAAA,IAC1C;AACA,QAAI,QAAQ,KAAK,QAAQ,YAAY;AACjC,YAAM,IAAI,UAAU,sBAAsB;AAAA,IAC9C;AACA,aAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AACxB,aAAO,SAAS,CAAC,IAAK,UAAW,IAAI,KAAK,IAAM;AAAA,IACpD;AAAA,EACJ;AAAA,EACA,UAAU,QAAQ,OAAO,QAAQ;AAC7B,QAAI,OAAO,SAAS,SAAS,GAAG;AAC5B,YAAM,IAAI,UAAU,kBAAkB;AAAA,IAC1C;AACA,QAAI,QAAQ,KAAK,QAAQ,uBAAuB;AAC5C,YAAM,IAAI,UAAU,sBAAsB;AAAA,IAC9C;AACA,aAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AACxB,aAAO,SAAS,CAAC,IAAI,OAAQ,SAAS,QAAQ,IAAI,KAAK,CAAC,IAAK,KAAK;AAAA,IACtE;AAAA,EACJ;AACJ;AA4EY,MAAC,YAAY,IAAI,UAAS;","x_google_ignoreList":[0]}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { bigEndian } from "../../../binary/dist/uint.js";
|
|
2
|
-
import { rotr32 } from "../../../binary/dist/bits.js";
|
|
3
|
-
function sha256(data) {
|
|
4
|
-
const hash = new SHA256();
|
|
5
|
-
hash.update(data);
|
|
6
|
-
return hash.digest();
|
|
7
|
-
}
|
|
8
|
-
class SHA256 {
|
|
9
|
-
blockSize = 64;
|
|
10
|
-
size = 32;
|
|
11
|
-
blocks = new Uint8Array(64);
|
|
12
|
-
currentBlockSize = 0;
|
|
13
|
-
H = new Uint32Array([
|
|
14
|
-
1779033703,
|
|
15
|
-
3144134277,
|
|
16
|
-
1013904242,
|
|
17
|
-
2773480762,
|
|
18
|
-
1359893119,
|
|
19
|
-
2600822924,
|
|
20
|
-
528734635,
|
|
21
|
-
1541459225
|
|
22
|
-
]);
|
|
23
|
-
l = 0n;
|
|
24
|
-
w = new Uint32Array(64);
|
|
25
|
-
update(data) {
|
|
26
|
-
this.l += BigInt(data.byteLength) * 8n;
|
|
27
|
-
if (this.currentBlockSize + data.byteLength < 64) {
|
|
28
|
-
this.blocks.set(data, this.currentBlockSize);
|
|
29
|
-
this.currentBlockSize += data.byteLength;
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
let processed = 0;
|
|
33
|
-
if (this.currentBlockSize > 0) {
|
|
34
|
-
const next = data.slice(0, 64 - this.currentBlockSize);
|
|
35
|
-
this.blocks.set(next, this.currentBlockSize);
|
|
36
|
-
this.process();
|
|
37
|
-
processed += next.byteLength;
|
|
38
|
-
this.currentBlockSize = 0;
|
|
39
|
-
}
|
|
40
|
-
while (processed + 64 <= data.byteLength) {
|
|
41
|
-
const next = data.slice(processed, processed + 64);
|
|
42
|
-
this.blocks.set(next);
|
|
43
|
-
this.process();
|
|
44
|
-
processed += 64;
|
|
45
|
-
}
|
|
46
|
-
if (data.byteLength - processed > 0) {
|
|
47
|
-
const remaining = data.slice(processed);
|
|
48
|
-
this.blocks.set(remaining);
|
|
49
|
-
this.currentBlockSize = remaining.byteLength;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
digest() {
|
|
53
|
-
this.blocks[this.currentBlockSize] = 128;
|
|
54
|
-
this.currentBlockSize += 1;
|
|
55
|
-
if (64 - this.currentBlockSize < 8) {
|
|
56
|
-
this.blocks.fill(0, this.currentBlockSize);
|
|
57
|
-
this.process();
|
|
58
|
-
this.currentBlockSize = 0;
|
|
59
|
-
}
|
|
60
|
-
this.blocks.fill(0, this.currentBlockSize);
|
|
61
|
-
bigEndian.putUint64(this.blocks, this.l, this.blockSize - 8);
|
|
62
|
-
this.process();
|
|
63
|
-
const result = new Uint8Array(32);
|
|
64
|
-
for (let i = 0; i < 8; i++) {
|
|
65
|
-
bigEndian.putUint32(result, this.H[i], i * 4);
|
|
66
|
-
}
|
|
67
|
-
return result;
|
|
68
|
-
}
|
|
69
|
-
process() {
|
|
70
|
-
for (let t = 0; t < 16; t++) {
|
|
71
|
-
this.w[t] = (this.blocks[t * 4] << 24 | this.blocks[t * 4 + 1] << 16 | this.blocks[t * 4 + 2] << 8 | this.blocks[t * 4 + 3]) >>> 0;
|
|
72
|
-
}
|
|
73
|
-
for (let t = 16; t < 64; t++) {
|
|
74
|
-
const sigma1 = (rotr32(this.w[t - 2], 17) ^ rotr32(this.w[t - 2], 19) ^ this.w[t - 2] >>> 10) >>> 0;
|
|
75
|
-
const sigma0 = (rotr32(this.w[t - 15], 7) ^ rotr32(this.w[t - 15], 18) ^ this.w[t - 15] >>> 3) >>> 0;
|
|
76
|
-
this.w[t] = sigma1 + this.w[t - 7] + sigma0 + this.w[t - 16] | 0;
|
|
77
|
-
}
|
|
78
|
-
let a = this.H[0];
|
|
79
|
-
let b = this.H[1];
|
|
80
|
-
let c = this.H[2];
|
|
81
|
-
let d = this.H[3];
|
|
82
|
-
let e = this.H[4];
|
|
83
|
-
let f = this.H[5];
|
|
84
|
-
let g = this.H[6];
|
|
85
|
-
let h = this.H[7];
|
|
86
|
-
for (let t = 0; t < 64; t++) {
|
|
87
|
-
const sigma1 = (rotr32(e, 6) ^ rotr32(e, 11) ^ rotr32(e, 25)) >>> 0;
|
|
88
|
-
const ch = (e & f ^ ~e & g) >>> 0;
|
|
89
|
-
const t1 = h + sigma1 + ch + K[t] + this.w[t] | 0;
|
|
90
|
-
const sigma0 = (rotr32(a, 2) ^ rotr32(a, 13) ^ rotr32(a, 22)) >>> 0;
|
|
91
|
-
const maj = (a & b ^ a & c ^ b & c) >>> 0;
|
|
92
|
-
const t2 = sigma0 + maj | 0;
|
|
93
|
-
h = g;
|
|
94
|
-
g = f;
|
|
95
|
-
f = e;
|
|
96
|
-
e = d + t1 | 0;
|
|
97
|
-
d = c;
|
|
98
|
-
c = b;
|
|
99
|
-
b = a;
|
|
100
|
-
a = t1 + t2 | 0;
|
|
101
|
-
}
|
|
102
|
-
this.H[0] = a + this.H[0] | 0;
|
|
103
|
-
this.H[1] = b + this.H[1] | 0;
|
|
104
|
-
this.H[2] = c + this.H[2] | 0;
|
|
105
|
-
this.H[3] = d + this.H[3] | 0;
|
|
106
|
-
this.H[4] = e + this.H[4] | 0;
|
|
107
|
-
this.H[5] = f + this.H[5] | 0;
|
|
108
|
-
this.H[6] = g + this.H[6] | 0;
|
|
109
|
-
this.H[7] = h + this.H[7] | 0;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
const K = new Uint32Array([
|
|
113
|
-
1116352408,
|
|
114
|
-
1899447441,
|
|
115
|
-
3049323471,
|
|
116
|
-
3921009573,
|
|
117
|
-
961987163,
|
|
118
|
-
1508970993,
|
|
119
|
-
2453635748,
|
|
120
|
-
2870763221,
|
|
121
|
-
3624381080,
|
|
122
|
-
310598401,
|
|
123
|
-
607225278,
|
|
124
|
-
1426881987,
|
|
125
|
-
1925078388,
|
|
126
|
-
2162078206,
|
|
127
|
-
2614888103,
|
|
128
|
-
3248222580,
|
|
129
|
-
3835390401,
|
|
130
|
-
4022224774,
|
|
131
|
-
264347078,
|
|
132
|
-
604807628,
|
|
133
|
-
770255983,
|
|
134
|
-
1249150122,
|
|
135
|
-
1555081692,
|
|
136
|
-
1996064986,
|
|
137
|
-
2554220882,
|
|
138
|
-
2821834349,
|
|
139
|
-
2952996808,
|
|
140
|
-
3210313671,
|
|
141
|
-
3336571891,
|
|
142
|
-
3584528711,
|
|
143
|
-
113926993,
|
|
144
|
-
338241895,
|
|
145
|
-
666307205,
|
|
146
|
-
773529912,
|
|
147
|
-
1294757372,
|
|
148
|
-
1396182291,
|
|
149
|
-
1695183700,
|
|
150
|
-
1986661051,
|
|
151
|
-
2177026350,
|
|
152
|
-
2456956037,
|
|
153
|
-
2730485921,
|
|
154
|
-
2820302411,
|
|
155
|
-
3259730800,
|
|
156
|
-
3345764771,
|
|
157
|
-
3516065817,
|
|
158
|
-
3600352804,
|
|
159
|
-
4094571909,
|
|
160
|
-
275423344,
|
|
161
|
-
430227734,
|
|
162
|
-
506948616,
|
|
163
|
-
659060556,
|
|
164
|
-
883997877,
|
|
165
|
-
958139571,
|
|
166
|
-
1322822218,
|
|
167
|
-
1537002063,
|
|
168
|
-
1747873779,
|
|
169
|
-
1955562222,
|
|
170
|
-
2024104815,
|
|
171
|
-
2227730452,
|
|
172
|
-
2361852424,
|
|
173
|
-
2428436474,
|
|
174
|
-
2756734187,
|
|
175
|
-
3204031479,
|
|
176
|
-
3329325298
|
|
177
|
-
]);
|
|
178
|
-
export {
|
|
179
|
-
SHA256,
|
|
180
|
-
sha256
|
|
181
|
-
};
|
|
182
|
-
//# sourceMappingURL=sha256.js.map
|