shared-ritm 1.2.112 → 1.2.113

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.
Files changed (104) hide show
  1. package/README.md +103 -103
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +22 -21
  4. package/dist/shared-ritm.umd.js +2 -2
  5. package/dist/types/api/services/ComentsServise.d.ts +10 -0
  6. package/dist/types/api/services/PhotoService.d.ts +53 -0
  7. package/dist/types/api/types/Api_Users.d.ts +43 -0
  8. package/package.json +1 -1
  9. package/src/App.vue +2461 -2461
  10. package/src/api/services/AuthService.ts +64 -64
  11. package/src/api/services/CommentsService.ts +24 -24
  12. package/src/api/services/ControlsService.ts +65 -65
  13. package/src/api/services/FileService.ts +17 -17
  14. package/src/api/services/GanttService.ts +17 -17
  15. package/src/api/services/MetricsService.ts +110 -110
  16. package/src/api/services/RepairsService.ts +119 -119
  17. package/src/api/services/TasksService.ts +145 -145
  18. package/src/api/types/Api_Comment.ts +40 -40
  19. package/src/api/types/Api_Controls.ts +72 -72
  20. package/src/api/types/Api_Files.ts +7 -7
  21. package/src/api/types/Api_Projects.ts +55 -55
  22. package/src/api/types/Api_Repairs.ts +115 -115
  23. package/src/api/types/Api_Service.ts +9 -9
  24. package/src/api/types/Api_Tasks.ts +319 -319
  25. package/src/common/app-button/AppButton.vue +173 -173
  26. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  27. package/src/common/app-date-picker/AppDatePicker.vue +81 -81
  28. package/src/common/app-datepicker/AppDatepicker.vue +165 -165
  29. package/src/common/app-dialogs/AppConfirmDialog.vue +99 -99
  30. package/src/common/app-dropdown/AppDropdown.vue +31 -31
  31. package/src/common/app-icon/AppIcon.vue +108 -108
  32. package/src/common/app-input/AppInput.vue +148 -148
  33. package/src/common/app-input-search/AppInputSearch.vue +174 -174
  34. package/src/common/app-layout/AppLayout.vue +84 -84
  35. package/src/common/app-layout/components/AppLayoutHeader.vue +251 -250
  36. package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
  37. package/src/common/app-loader/index.vue +43 -43
  38. package/src/common/app-page-layout/AppPageLayout.vue +122 -122
  39. package/src/common/app-select/AppSelect.vue +157 -157
  40. package/src/common/app-sheet/AppSheet.vue +120 -120
  41. package/src/common/app-sidebar/AppSidebar.vue +168 -168
  42. package/src/common/app-sidebar/components/SidebarMenu.vue +37 -37
  43. package/src/common/app-sidebar/components/SidebarMenuItem.vue +148 -148
  44. package/src/common/app-table/components/TablePagination.vue +152 -152
  45. package/src/common/app-table/controllers/useColumnSelector.ts +38 -38
  46. package/src/common/app-table/controllers/useTableModel.ts +93 -93
  47. package/src/common/app-toggle/AppToggle.vue +24 -24
  48. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  49. package/src/global.d.ts +1 -1
  50. package/src/icons/components/arrow-down-icon.vue +25 -25
  51. package/src/icons/components/arrow-frame-icon.vue +19 -19
  52. package/src/icons/components/arrow-square.vue +22 -22
  53. package/src/icons/components/table-filter-icon.vue +30 -30
  54. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  55. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  56. package/src/icons/header/NotificationIcon.vue +18 -18
  57. package/src/icons/header/PersonIcon.vue +11 -11
  58. package/src/icons/header/SettingIcon.vue +14 -14
  59. package/src/icons/header/flashIcon.vue +24 -24
  60. package/src/icons/header/searchStatusIcon.vue +24 -24
  61. package/src/icons/header/smallCapsIcon.vue +34 -34
  62. package/src/icons/sidebar/assign-module-icon.vue +36 -36
  63. package/src/icons/sidebar/instrument-history-icon.vue +32 -32
  64. package/src/icons/sidebar/instrument-order-icon.vue +38 -38
  65. package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
  66. package/src/icons/sidebar/instruments-icon.vue +45 -45
  67. package/src/icons/sidebar/logo-icon.vue +15 -15
  68. package/src/icons/sidebar/logout-icon.vue +13 -13
  69. package/src/icons/sidebar/modules-icon.vue +16 -16
  70. package/src/icons/sidebar/notifications-icon.vue +24 -24
  71. package/src/icons/sidebar/order-icon.vue +44 -44
  72. package/src/icons/sidebar/pass-icon.vue +38 -38
  73. package/src/icons/sidebar/positions-icon.vue +42 -42
  74. package/src/icons/sidebar/preorder-icon.vue +19 -19
  75. package/src/icons/sidebar/projects-icon.vue +31 -31
  76. package/src/icons/sidebar/repair-object-icon.vue +18 -18
  77. package/src/icons/sidebar/repairs-icon.vue +20 -20
  78. package/src/icons/sidebar/roles-icon.vue +26 -26
  79. package/src/icons/sidebar/status-history-icon.vue +24 -24
  80. package/src/icons/sidebar/tasks-icon.vue +28 -28
  81. package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
  82. package/src/icons/sidebar/tasks_today-icon.vue +27 -27
  83. package/src/icons/sidebar/teams-icon.vue +32 -32
  84. package/src/icons/sidebar/user-icon.vue +18 -18
  85. package/src/icons/sidebar/users-icon.vue +46 -46
  86. package/src/icons/sidebar/videosources-icon.vue +19 -19
  87. package/src/icons/sidebar/videowall-icon.vue +13 -13
  88. package/src/icons/sidebar/videozones-icon.vue +21 -21
  89. package/src/icons/sidebar/warehouses-icon.vue +43 -43
  90. package/src/icons/sidebar/workshop-icon.vue +100 -100
  91. package/src/icons/sidebar/workzones-icon.vue +22 -22
  92. package/src/icons/task/attention-icon.vue +13 -13
  93. package/src/icons/task/clock-icon.vue +10 -10
  94. package/src/icons/task/delete-icon.vue +10 -10
  95. package/src/icons/task/fire-icon.vue +16 -16
  96. package/src/main.ts +28 -28
  97. package/src/quasar-user-options.ts +17 -17
  98. package/src/router/index.ts +10 -10
  99. package/src/shared/styles/general.css +124 -124
  100. package/src/shims-vue.d.ts +5 -5
  101. package/src/utils/confirm.ts +12 -12
  102. package/src/utils/faceApiHelper.ts +137 -137
  103. package/src/utils/helpers.ts +59 -59
  104. package/src/utils/notification.ts +9 -9
@@ -0,0 +1,10 @@
1
+ import ApiService from '@/api/settings/ApiService'
2
+ import { Api_Comment_Request_Dto } from '@/api/types/Api_Comment'
3
+ import { Api_Tasks_Task_Dto } from '@/api/types/Api_Tasks'
4
+ declare class CommentsService extends ApiService {
5
+ uploadComment(payload: Api_Comment_Request_Dto): Promise<Api_Tasks_Task_Dto>
6
+ deleteComment(commentId: string): Promise<unknown>
7
+ editComment(payload: { commentId: string; data: unknown }): Promise<unknown>
8
+ }
9
+ export default function useCommentsService(): CommentsService
10
+ export {}
@@ -0,0 +1,53 @@
1
+ import * as faceapi from 'face-api.js'
2
+ declare class PhotoService {
3
+ getVideoStreamConfig(
4
+ width: number,
5
+ height: number,
6
+ ): {
7
+ audio: boolean
8
+ video: {
9
+ width: {
10
+ min: number
11
+ ideal: number
12
+ }
13
+ height: {
14
+ min: number
15
+ ideal: number
16
+ }
17
+ facingMode: string
18
+ }
19
+ }
20
+ getContourCoordinate(
21
+ width: number,
22
+ height: number,
23
+ ): {
24
+ x: number
25
+ y: number
26
+ width: number
27
+ height: number
28
+ }
29
+ getBoxData(box: any): {
30
+ x: any
31
+ y: any
32
+ width: any
33
+ height: any
34
+ } | null
35
+ setStylesForCanvas(canvasContainer: any): void
36
+ checkFaceInclusion(frame: any, face: any): boolean
37
+ getFaceDetections(videoRef: any): Promise<
38
+ faceapi.WithFaceExpressions<
39
+ faceapi.WithFaceLandmarks<
40
+ {
41
+ detection: faceapi.FaceDetection
42
+ },
43
+ faceapi.FaceLandmarks68
44
+ >
45
+ >[]
46
+ >
47
+ getCanvas(videoRef: any): HTMLCanvasElement
48
+ getResizedAndDetection(canvas: any, detections: any, ctx: any, videoWidth: number, videoHeight: number): void
49
+ getFaceSnapshot(inputImage: any, box: any): Promise<string | null>
50
+ initModels(): Promise<void>
51
+ }
52
+ export default function usePhotoService(): PhotoService
53
+ export {}
@@ -0,0 +1,43 @@
1
+ export type Api_Search_User_Passes = {
2
+ id: string
3
+ type: string
4
+ uuid: string
5
+ }
6
+ export type Api_Search_User_Positions = {
7
+ id: string
8
+ name: string
9
+ display_name: string
10
+ description: string
11
+ }
12
+ export type Api_Search_User_Roles = {
13
+ id: string
14
+ name: string
15
+ display_name: string
16
+ }
17
+ export type Api_Search_User_Teams = {
18
+ id: string
19
+ name: string
20
+ display_name: string
21
+ roles: Api_Search_User_Roles[]
22
+ }
23
+ export type Api_Search_User_Photos = {
24
+ id: string
25
+ name: string
26
+ path: string
27
+ type: string
28
+ }
29
+ export type Api_Search_User = {
30
+ id: string
31
+ full_name: string
32
+ last_name: string
33
+ first_name: string
34
+ patronymic: string
35
+ email: string
36
+ phone: string
37
+ divisions: string
38
+ personnel_number: string
39
+ passes: Api_Search_User_Passes[]
40
+ positions: Api_Search_User_Positions[]
41
+ teams: Api_Search_User_Teams[]
42
+ photos: Api_Search_User_Photos[]
43
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.2.112",
3
+ "version": "1.2.113",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",