shared-ritm 1.2.123 → 1.2.125
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/README.md +103 -103
- package/dist/index.css +1 -1
- package/dist/shared-ritm.es.js +4780 -4767
- package/dist/shared-ritm.umd.js +110 -110
- package/dist/types/api/services/ControlsService.d.ts +3 -2
- package/dist/types/api/services/PhotoService.d.ts +40 -0
- package/dist/types/api/services/RepairsService.d.ts +1 -0
- package/dist/types/api/types/Api_Controls.d.ts +13 -0
- package/package.json +64 -64
- package/src/App.vue +2461 -2461
- package/src/api/services/AuthService.ts +53 -53
- package/src/api/services/BrigadesService.ts +32 -32
- package/src/api/services/CommentsService.ts +24 -24
- package/src/api/services/ControlsService.ts +73 -69
- package/src/api/services/EquipmentService.ts +29 -29
- package/src/api/services/FileService.ts +17 -17
- package/src/api/services/GanttService.ts +17 -17
- package/src/api/services/InstrumentsService.ts +63 -63
- package/src/api/services/MetricsService.ts +110 -110
- package/src/api/services/ModulesService.ts +27 -27
- package/src/api/services/ProjectsService.ts +79 -79
- package/src/api/services/RepairsService.ts +123 -119
- package/src/api/services/SearchService.ts +22 -22
- package/src/api/services/TasksService.ts +145 -145
- package/src/api/services/UserService.ts +101 -101
- package/src/api/services/VideoService.ts +71 -71
- package/src/api/settings/ApiService.ts +124 -124
- package/src/api/types/Api_Auth.ts +86 -86
- package/src/api/types/Api_Brigades.ts +36 -36
- package/src/api/types/Api_Comment.ts +40 -40
- package/src/api/types/Api_Controls.ts +93 -79
- package/src/api/types/Api_Equipment.ts +3 -3
- package/src/api/types/Api_Files.ts +7 -7
- package/src/api/types/Api_Instruments.ts +136 -136
- package/src/api/types/Api_Modules.ts +21 -21
- package/src/api/types/Api_Projects.ts +60 -60
- package/src/api/types/Api_Repairs.ts +117 -117
- package/src/api/types/Api_Search.ts +77 -77
- package/src/api/types/Api_Service.ts +9 -9
- package/src/api/types/Api_Tasks.ts +319 -319
- package/src/api/types/Api_User.ts +117 -117
- package/src/api/types/Api_Video.ts +140 -140
- package/src/common/app-button/AppButton.vue +173 -173
- package/src/common/app-checkbox/AppCheckbox.vue +26 -26
- package/src/common/app-date-picker/AppDatePicker.vue +81 -81
- package/src/common/app-datepicker/AppDatepicker.vue +165 -165
- package/src/common/app-dialogs/AppConfirmDialog.vue +99 -99
- package/src/common/app-dropdown/AppDropdown.vue +37 -31
- package/src/common/app-icon/AppIcon.vue +108 -108
- package/src/common/app-input/AppInput.vue +148 -148
- package/src/common/app-input-new/AppInputNew.vue +175 -175
- package/src/common/app-input-search/AppInputSearch.vue +174 -174
- package/src/common/app-layout/AppLayout.vue +84 -84
- package/src/common/app-layout/components/AppLayoutHeader.vue +273 -273
- package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
- package/src/common/app-loader/index.vue +43 -43
- package/src/common/app-page-layout/AppPageLayout.vue +122 -122
- package/src/common/app-select/AppSelect.vue +157 -157
- package/src/common/app-sheet/AppSheet.vue +120 -120
- package/src/common/app-sheet-new/AppSheetNew.vue +246 -246
- package/src/common/app-sidebar/AppSidebar.vue +168 -168
- package/src/common/app-sidebar/components/SidebarMenu.vue +37 -37
- package/src/common/app-sidebar/components/SidebarMenuItem.vue +148 -148
- package/src/common/app-table/AppTable.vue +308 -314
- package/src/common/app-table/AppTableLayout.vue +137 -137
- package/src/common/app-table/components/ModalSelect.vue +281 -270
- package/src/common/app-table/components/TableModal.vue +356 -356
- package/src/common/app-table/components/TablePagination.vue +152 -152
- package/src/common/app-table/controllers/useBaseTable.ts +45 -45
- package/src/common/app-table/controllers/useColumnSelector.ts +38 -38
- package/src/common/app-table/controllers/useTableModel.ts +102 -93
- package/src/common/app-toggle/AppToggle.vue +24 -24
- package/src/common/app-wrapper/AppWrapper.vue +28 -28
- package/src/global.d.ts +1 -1
- package/src/icons/components/arrow-down-icon.vue +25 -25
- package/src/icons/components/arrow-frame-icon.vue +19 -19
- package/src/icons/components/arrow-square.vue +22 -22
- package/src/icons/components/table-filter-icon.vue +30 -30
- package/src/icons/dialogs/RemoveIcon.vue +12 -12
- package/src/icons/dialogs/SafetyIcon.vue +12 -12
- package/src/icons/header/NotificationIcon.vue +18 -18
- package/src/icons/header/PersonIcon.vue +11 -11
- package/src/icons/header/SettingIcon.vue +14 -14
- package/src/icons/header/flashIcon.vue +24 -24
- package/src/icons/header/searchStatusIcon.vue +24 -24
- package/src/icons/header/smallCapsIcon.vue +34 -34
- package/src/icons/sidebar/assign-module-icon.vue +36 -36
- package/src/icons/sidebar/instrument-history-icon.vue +32 -32
- package/src/icons/sidebar/instrument-order-icon.vue +38 -38
- package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
- package/src/icons/sidebar/instruments-icon.vue +45 -45
- package/src/icons/sidebar/logo-icon.vue +15 -15
- package/src/icons/sidebar/logout-icon.vue +13 -13
- package/src/icons/sidebar/modules-icon.vue +16 -16
- package/src/icons/sidebar/notifications-icon.vue +24 -24
- package/src/icons/sidebar/order-icon.vue +44 -44
- package/src/icons/sidebar/pass-icon.vue +38 -38
- package/src/icons/sidebar/positions-icon.vue +42 -42
- package/src/icons/sidebar/preorder-icon.vue +19 -19
- package/src/icons/sidebar/projects-icon.vue +31 -31
- package/src/icons/sidebar/repair-object-icon.vue +18 -18
- package/src/icons/sidebar/repairs-icon.vue +20 -20
- package/src/icons/sidebar/roles-icon.vue +26 -26
- package/src/icons/sidebar/status-history-icon.vue +24 -24
- package/src/icons/sidebar/tasks-icon.vue +28 -28
- package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
- package/src/icons/sidebar/tasks_today-icon.vue +27 -27
- package/src/icons/sidebar/teams-icon.vue +32 -32
- package/src/icons/sidebar/user-icon.vue +18 -18
- package/src/icons/sidebar/users-icon.vue +46 -46
- package/src/icons/sidebar/videosources-icon.vue +19 -19
- package/src/icons/sidebar/videowall-icon.vue +13 -13
- package/src/icons/sidebar/videozones-icon.vue +21 -21
- package/src/icons/sidebar/warehouses-icon.vue +43 -43
- package/src/icons/sidebar/workshop-icon.vue +100 -100
- package/src/icons/sidebar/workzones-icon.vue +22 -22
- package/src/icons/task/attention-icon.vue +13 -13
- package/src/icons/task/clock-icon.vue +10 -10
- package/src/icons/task/delete-icon.vue +10 -10
- package/src/icons/task/fire-icon.vue +16 -16
- package/src/index.ts +123 -123
- package/src/main.ts +28 -28
- package/src/quasar-user-options.ts +17 -17
- package/src/router/index.ts +10 -10
- package/src/shared/styles/general.css +124 -124
- package/src/shims-vue.d.ts +5 -5
- package/src/styles/variables.sass +12 -12
- package/src/utils/confirm.ts +12 -12
- package/src/utils/faceApiHelper.ts +132 -132
- package/src/utils/helpers.ts +59 -59
- package/src/utils/notification.ts +9 -9
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { Api_Warehouse_Search } from '@/api/types/Api_Instruments'
|
|
2
|
-
|
|
3
|
-
export type Api_Search_User_Passes = {
|
|
4
|
-
id: string
|
|
5
|
-
type: string
|
|
6
|
-
uuid: string
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export type Api_Search_User_Positions = {
|
|
10
|
-
id: string
|
|
11
|
-
name: string
|
|
12
|
-
display_name: string
|
|
13
|
-
description: string
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type Api_Search_User_Roles = {
|
|
17
|
-
id: string
|
|
18
|
-
name: string
|
|
19
|
-
display_name: string
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export type Api_Search_User_Teams = {
|
|
23
|
-
id: string
|
|
24
|
-
name: string
|
|
25
|
-
display_name: string
|
|
26
|
-
roles: Api_Search_User_Roles[]
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type Api_Search_User_Photos = {
|
|
30
|
-
id: string
|
|
31
|
-
name: string
|
|
32
|
-
path: string
|
|
33
|
-
type: string
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type Api_Search_User = {
|
|
37
|
-
id: string
|
|
38
|
-
full_name: string
|
|
39
|
-
last_name: string
|
|
40
|
-
first_name: string
|
|
41
|
-
patronymic: string
|
|
42
|
-
email: string
|
|
43
|
-
phone: string
|
|
44
|
-
divisions: string
|
|
45
|
-
personnel_number: string
|
|
46
|
-
passes: Api_Search_User_Passes[]
|
|
47
|
-
positions: Api_Search_User_Positions[]
|
|
48
|
-
teams: Api_Search_User_Teams[]
|
|
49
|
-
photos: Api_Search_User_Photos[]
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type Api_Search_Instruments = {
|
|
53
|
-
id: string
|
|
54
|
-
full_name: string
|
|
55
|
-
last_name: string
|
|
56
|
-
first_name: string
|
|
57
|
-
patronymic: string
|
|
58
|
-
divisions: string
|
|
59
|
-
personnel_number: string
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export type Api_Search_Module_User = Pick<Api_Search_User, 'id' | 'full_name' | 'email'> & {
|
|
63
|
-
teams: Omit<Api_Search_User_Teams, 'roles'>[]
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type Api_Search_Module = {
|
|
67
|
-
id: string
|
|
68
|
-
RFID: string
|
|
69
|
-
inventory_number: string
|
|
70
|
-
title: string
|
|
71
|
-
type: string
|
|
72
|
-
mac: unknown
|
|
73
|
-
wlan: unknown
|
|
74
|
-
warehouses: Api_Warehouse_Search[]
|
|
75
|
-
user: Api_Search_Module_User
|
|
76
|
-
teams: Omit<Api_Search_User_Teams, 'roles'>[]
|
|
77
|
-
}
|
|
1
|
+
import { Api_Warehouse_Search } from '@/api/types/Api_Instruments'
|
|
2
|
+
|
|
3
|
+
export type Api_Search_User_Passes = {
|
|
4
|
+
id: string
|
|
5
|
+
type: string
|
|
6
|
+
uuid: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type Api_Search_User_Positions = {
|
|
10
|
+
id: string
|
|
11
|
+
name: string
|
|
12
|
+
display_name: string
|
|
13
|
+
description: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type Api_Search_User_Roles = {
|
|
17
|
+
id: string
|
|
18
|
+
name: string
|
|
19
|
+
display_name: string
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type Api_Search_User_Teams = {
|
|
23
|
+
id: string
|
|
24
|
+
name: string
|
|
25
|
+
display_name: string
|
|
26
|
+
roles: Api_Search_User_Roles[]
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type Api_Search_User_Photos = {
|
|
30
|
+
id: string
|
|
31
|
+
name: string
|
|
32
|
+
path: string
|
|
33
|
+
type: string
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type Api_Search_User = {
|
|
37
|
+
id: string
|
|
38
|
+
full_name: string
|
|
39
|
+
last_name: string
|
|
40
|
+
first_name: string
|
|
41
|
+
patronymic: string
|
|
42
|
+
email: string
|
|
43
|
+
phone: string
|
|
44
|
+
divisions: string
|
|
45
|
+
personnel_number: string
|
|
46
|
+
passes: Api_Search_User_Passes[]
|
|
47
|
+
positions: Api_Search_User_Positions[]
|
|
48
|
+
teams: Api_Search_User_Teams[]
|
|
49
|
+
photos: Api_Search_User_Photos[]
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type Api_Search_Instruments = {
|
|
53
|
+
id: string
|
|
54
|
+
full_name: string
|
|
55
|
+
last_name: string
|
|
56
|
+
first_name: string
|
|
57
|
+
patronymic: string
|
|
58
|
+
divisions: string
|
|
59
|
+
personnel_number: string
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type Api_Search_Module_User = Pick<Api_Search_User, 'id' | 'full_name' | 'email'> & {
|
|
63
|
+
teams: Omit<Api_Search_User_Teams, 'roles'>[]
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type Api_Search_Module = {
|
|
67
|
+
id: string
|
|
68
|
+
RFID: string
|
|
69
|
+
inventory_number: string
|
|
70
|
+
title: string
|
|
71
|
+
type: string
|
|
72
|
+
mac: unknown
|
|
73
|
+
wlan: unknown
|
|
74
|
+
warehouses: Api_Warehouse_Search[]
|
|
75
|
+
user: Api_Search_Module_User
|
|
76
|
+
teams: Omit<Api_Search_User_Teams, 'roles'>[]
|
|
77
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export type ResponseApi<T> = {
|
|
2
|
-
count: number
|
|
3
|
-
current_page: number
|
|
4
|
-
data: T
|
|
5
|
-
per_page: number
|
|
6
|
-
total: number
|
|
7
|
-
total_pages: number
|
|
8
|
-
filter_value?: Record<string, any[]>
|
|
9
|
-
}
|
|
1
|
+
export type ResponseApi<T> = {
|
|
2
|
+
count: number
|
|
3
|
+
current_page: number
|
|
4
|
+
data: T
|
|
5
|
+
per_page: number
|
|
6
|
+
total: number
|
|
7
|
+
total_pages: number
|
|
8
|
+
filter_value?: Record<string, any[]>
|
|
9
|
+
}
|