shared-ritm 1.2.125 → 1.2.127

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 (128) hide show
  1. package/README.md +103 -103
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +283 -285
  4. package/dist/shared-ritm.umd.js +8 -8
  5. package/package.json +64 -64
  6. package/src/App.vue +2461 -2461
  7. package/src/api/services/AuthService.ts +53 -53
  8. package/src/api/services/BrigadesService.ts +32 -32
  9. package/src/api/services/CommentsService.ts +24 -24
  10. package/src/api/services/ControlsService.ts +73 -73
  11. package/src/api/services/EquipmentService.ts +29 -29
  12. package/src/api/services/FileService.ts +17 -17
  13. package/src/api/services/GanttService.ts +17 -17
  14. package/src/api/services/InstrumentsService.ts +63 -63
  15. package/src/api/services/MetricsService.ts +110 -110
  16. package/src/api/services/ModulesService.ts +27 -27
  17. package/src/api/services/ProjectsService.ts +79 -79
  18. package/src/api/services/RepairsService.ts +123 -123
  19. package/src/api/services/SearchService.ts +22 -22
  20. package/src/api/services/TasksService.ts +145 -145
  21. package/src/api/services/UserService.ts +101 -101
  22. package/src/api/services/VideoService.ts +71 -71
  23. package/src/api/settings/ApiService.ts +124 -124
  24. package/src/api/types/Api_Auth.ts +86 -86
  25. package/src/api/types/Api_Brigades.ts +36 -36
  26. package/src/api/types/Api_Comment.ts +40 -40
  27. package/src/api/types/Api_Controls.ts +93 -93
  28. package/src/api/types/Api_Equipment.ts +3 -3
  29. package/src/api/types/Api_Files.ts +7 -7
  30. package/src/api/types/Api_Instruments.ts +136 -136
  31. package/src/api/types/Api_Modules.ts +21 -21
  32. package/src/api/types/Api_Projects.ts +60 -60
  33. package/src/api/types/Api_Repairs.ts +117 -117
  34. package/src/api/types/Api_Search.ts +77 -77
  35. package/src/api/types/Api_Service.ts +9 -9
  36. package/src/api/types/Api_Tasks.ts +319 -319
  37. package/src/api/types/Api_User.ts +117 -117
  38. package/src/api/types/Api_Video.ts +140 -140
  39. package/src/common/app-button/AppButton.vue +173 -173
  40. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  41. package/src/common/app-date-picker/AppDatePicker.vue +81 -81
  42. package/src/common/app-datepicker/AppDatepicker.vue +165 -165
  43. package/src/common/app-dialogs/AppConfirmDialog.vue +99 -99
  44. package/src/common/app-dropdown/AppDropdown.vue +37 -37
  45. package/src/common/app-icon/AppIcon.vue +108 -108
  46. package/src/common/app-input/AppInput.vue +148 -148
  47. package/src/common/app-input-new/AppInputNew.vue +175 -175
  48. package/src/common/app-input-search/AppInputSearch.vue +174 -174
  49. package/src/common/app-layout/AppLayout.vue +84 -84
  50. package/src/common/app-layout/components/AppLayoutHeader.vue +273 -273
  51. package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
  52. package/src/common/app-loader/index.vue +43 -43
  53. package/src/common/app-page-layout/AppPageLayout.vue +122 -122
  54. package/src/common/app-select/AppSelect.vue +157 -157
  55. package/src/common/app-sheet/AppSheet.vue +120 -120
  56. package/src/common/app-sheet-new/AppSheetNew.vue +246 -246
  57. package/src/common/app-sidebar/AppSidebar.vue +168 -168
  58. package/src/common/app-sidebar/components/SidebarMenu.vue +37 -37
  59. package/src/common/app-sidebar/components/SidebarMenuItem.vue +148 -148
  60. package/src/common/app-table/AppTable.vue +308 -308
  61. package/src/common/app-table/AppTableLayout.vue +137 -137
  62. package/src/common/app-table/components/ModalSelect.vue +281 -281
  63. package/src/common/app-table/components/TableModal.vue +356 -356
  64. package/src/common/app-table/components/TablePagination.vue +152 -152
  65. package/src/common/app-table/controllers/useBaseTable.ts +45 -45
  66. package/src/common/app-table/controllers/useColumnSelector.ts +38 -38
  67. package/src/common/app-table/controllers/useTableModel.ts +102 -102
  68. package/src/common/app-toggle/AppToggle.vue +24 -24
  69. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  70. package/src/global.d.ts +1 -1
  71. package/src/icons/components/arrow-down-icon.vue +25 -25
  72. package/src/icons/components/arrow-frame-icon.vue +19 -19
  73. package/src/icons/components/arrow-square.vue +22 -22
  74. package/src/icons/components/table-filter-icon.vue +30 -30
  75. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  76. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  77. package/src/icons/header/NotificationIcon.vue +18 -18
  78. package/src/icons/header/PersonIcon.vue +11 -11
  79. package/src/icons/header/SettingIcon.vue +14 -14
  80. package/src/icons/header/flashIcon.vue +24 -24
  81. package/src/icons/header/searchStatusIcon.vue +24 -24
  82. package/src/icons/header/smallCapsIcon.vue +34 -34
  83. package/src/icons/sidebar/assign-module-icon.vue +36 -36
  84. package/src/icons/sidebar/instrument-history-icon.vue +32 -32
  85. package/src/icons/sidebar/instrument-order-icon.vue +38 -38
  86. package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
  87. package/src/icons/sidebar/instruments-icon.vue +45 -45
  88. package/src/icons/sidebar/logo-icon.vue +15 -15
  89. package/src/icons/sidebar/logout-icon.vue +13 -13
  90. package/src/icons/sidebar/modules-icon.vue +16 -16
  91. package/src/icons/sidebar/notifications-icon.vue +24 -24
  92. package/src/icons/sidebar/order-icon.vue +44 -44
  93. package/src/icons/sidebar/pass-icon.vue +38 -38
  94. package/src/icons/sidebar/positions-icon.vue +42 -42
  95. package/src/icons/sidebar/preorder-icon.vue +19 -19
  96. package/src/icons/sidebar/projects-icon.vue +31 -31
  97. package/src/icons/sidebar/repair-object-icon.vue +18 -18
  98. package/src/icons/sidebar/repairs-icon.vue +20 -20
  99. package/src/icons/sidebar/roles-icon.vue +26 -26
  100. package/src/icons/sidebar/status-history-icon.vue +24 -24
  101. package/src/icons/sidebar/tasks-icon.vue +28 -28
  102. package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
  103. package/src/icons/sidebar/tasks_today-icon.vue +27 -27
  104. package/src/icons/sidebar/teams-icon.vue +32 -32
  105. package/src/icons/sidebar/user-icon.vue +18 -18
  106. package/src/icons/sidebar/users-icon.vue +46 -46
  107. package/src/icons/sidebar/videosources-icon.vue +19 -19
  108. package/src/icons/sidebar/videowall-icon.vue +13 -13
  109. package/src/icons/sidebar/videozones-icon.vue +21 -21
  110. package/src/icons/sidebar/warehouses-icon.vue +43 -43
  111. package/src/icons/sidebar/workshop-icon.vue +100 -100
  112. package/src/icons/sidebar/workzones-icon.vue +22 -22
  113. package/src/icons/task/attention-icon.vue +13 -13
  114. package/src/icons/task/clock-icon.vue +10 -10
  115. package/src/icons/task/delete-icon.vue +10 -10
  116. package/src/icons/task/fire-icon.vue +16 -16
  117. package/src/index.ts +123 -123
  118. package/src/main.ts +28 -28
  119. package/src/quasar-user-options.ts +17 -17
  120. package/src/router/index.ts +10 -10
  121. package/src/shared/styles/general.css +124 -124
  122. package/src/shims-vue.d.ts +5 -5
  123. package/src/styles/variables.sass +12 -12
  124. package/src/utils/confirm.ts +12 -12
  125. package/src/utils/faceApiHelper.ts +132 -132
  126. package/src/utils/helpers.ts +59 -59
  127. package/src/utils/notification.ts +9 -9
  128. package/dist/types/api/services/PhotoService.d.ts +0 -40
@@ -1,273 +1,273 @@
1
- <template>
2
- <q-header :class="[$style.header, { [$style[`header-full`]]: fullWidth }]">
3
- <q-toolbar :class="$style.toolbar">
4
- <h1>{{ pageTitle }}</h1>
5
- <div :class="$style['action-buttons']">
6
- <div v-if="settingsMenuItems?.find(x => x.name === 'root-on' && x.isShow)" :class="$style['root-mode']">
7
- <h1>Включен Root-режим</h1>
8
- </div>
9
-
10
- <div :class="$style['person']" @click="clickProfile">
11
- <app-icon name="person-icon" />
12
- <div :class="$style['person__info']">
13
- <p style="font-weight: 700; font-size: 14px">{{ shortName }}</p>
14
- <p style="font-weight: 300; font-size: 12px">{{ positionName }}</p>
15
- </div>
16
- </div>
17
- <div :class="$style['action-wrapper']">
18
- <!-- <q-btn :class="$style['notification']" flat padding="sm" :ripple="false" @click="clickNotification">-->
19
- <!-- <app-icon color="white" size="28px" name="notifications-icon" />-->
20
- <!-- </q-btn>-->
21
- <q-separator color="white" vertical size="1px" />
22
- <q-btn
23
- ref="refMenuSettings"
24
- flat
25
- padding="sm"
26
- :ripple="false"
27
- :class="[$style['settings'], { [$style['settings__open']]: isSettingsOpened }]"
28
- @click="openSettingsMenu"
29
- >
30
- <app-icon size="28px" name="setting-icon" />
31
- <q-menu max-height="160px" :offset="[-18, 4]" :class="$style['settings-menu']">
32
- <q-list v-for="item in settingsMenuItems" :key="item.name" :class="$style['settings-menu__list']">
33
- <q-item
34
- v-show="item.isShow"
35
- v-close-popup
36
- :class="$style['settings-menu__item']"
37
- clickable
38
- @click="clickSettingsMenuItem(item)"
39
- >{{ item.label }}</q-item
40
- >
41
- </q-list>
42
- </q-menu>
43
- </q-btn>
44
- </div>
45
-
46
- <!-- <app-button icon="person" text-color="black" :label="shortName" rounded :class="$style['button-person']" />-->
47
- </div>
48
- </q-toolbar>
49
- </q-header>
50
- </template>
51
-
52
- <script lang="ts" setup>
53
- import { computed, defineProps, ref, withDefaults } from 'vue'
54
- import { onClickOutside } from '@vueuse/core'
55
- import AppIcon from '@/common/app-icon/AppIcon.vue'
56
-
57
- interface Props {
58
- userData: any
59
- fullWidth?: boolean
60
- pageTitle?: string
61
- settingsMenuItems?: { label: string; name: string; isShow: boolean }[]
62
- }
63
-
64
- const emits = defineEmits(['clickSettingsMenuItem', 'clickNotification', 'clickProfile'])
65
-
66
- const props = withDefaults(defineProps<Props>(), {
67
- pageTitle: '',
68
- })
69
-
70
- const refMenuSettings = ref(null)
71
- const isSettingsOpened = ref(false)
72
-
73
- // const settingsMenuItems = ref([
74
- // { label: 'Поиск инструментов', name: 'instrument-search', isShow: true },
75
- // { label: 'Мониторинг оборудования', name: 'equipment-monitoring', isShow: true },
76
- // { label: 'Root-режим выключен', name: 'root-off', isShow: true },
77
- // { label: 'Root-режим включен', name: 'root-on', isShow: false },
78
- // ])
79
-
80
- const shortName = computed(() => {
81
- if (!props.userData?.full_name) return ''
82
-
83
- const [lastName, name, patronymic] = props.userData.full_name.split(' ')
84
-
85
- const mainPart = `${lastName} ${name}`
86
-
87
- if (!patronymic) return mainPart
88
-
89
- return `${mainPart} ${patronymic[0]}.`
90
- })
91
-
92
- const positionName = computed(() => props.userData?.positions?.[0]?.display_name)
93
-
94
- const openSettingsMenu = () => {
95
- return (isSettingsOpened.value = !isSettingsOpened.value)
96
- }
97
-
98
- const clickProfile = () => emits('clickProfile')
99
- const clickSettingsMenuItem = (item: any) => emits('clickSettingsMenuItem', item.name)
100
- const clickNotification = () => emits('clickNotification')
101
-
102
- onClickOutside(refMenuSettings, () => (isSettingsOpened.value = false))
103
- </script>
104
-
105
- <style lang="scss" module>
106
- .header {
107
- height: 100px;
108
- background: transparent;
109
- margin: 0 auto;
110
- max-width: 1300px;
111
- }
112
- .header-full {
113
- max-width: 100%;
114
- padding-right: 30px;
115
- padding-left: 30px;
116
- }
117
- .toolbar {
118
- padding: 0;
119
- min-height: 100%;
120
- h1 {
121
- font-weight: 600;
122
- font-size: 28px;
123
- line-height: 100%;
124
- font-family: Montserrat, sans-serif;
125
- }
126
- }
127
-
128
- .header-search {
129
- width: 412px;
130
- font-size: 16px;
131
- }
132
-
133
- .action-buttons {
134
- flex: 1;
135
- position: relative;
136
- display: flex;
137
- align-items: center;
138
- column-gap: 16px;
139
- justify-content: end;
140
- }
141
-
142
- .button {
143
- padding: 12px;
144
- background: white;
145
- transition: all 0.3s ease, color 0.3s ease;
146
- }
147
-
148
- .button-person {
149
- padding: 10px 14px;
150
- background: white;
151
- }
152
-
153
- .root-mode {
154
- display: flex;
155
- align-items: center;
156
- background-color: red;
157
- padding: 14px;
158
- border-radius: 10px;
159
- box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
160
- cursor: pointer;
161
- user-select: none;
162
- h1 {
163
- font-size: 16px;
164
- font-weight: 600;
165
- font-family: 'Nunito Sans', sans-serif;
166
- }
167
- &:active {
168
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 4px rgba(0, 0, 0, 0.2), 0 6px 2px -5px rgba(0, 0, 0, 0.2);
169
- }
170
- }
171
-
172
- .person {
173
- display: flex;
174
- align-items: center;
175
- gap: 6px;
176
- padding: 20px 12px;
177
- height: 44px;
178
- border-radius: 10px;
179
- cursor: pointer;
180
- background-color: white;
181
- box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
182
- transition: all 0.3s ease;
183
- &__info {
184
- display: flex;
185
- flex-direction: column;
186
- user-select: none;
187
- p {
188
- line-height: 1.2;
189
- margin: 0;
190
- padding: 0;
191
- font-family: 'Nunito Sans', sans-serif;
192
- color: rgb(63, 140, 255);
193
- }
194
- }
195
- &:hover {
196
- background-color: #e1e0e0;
197
- transform: scale(1.01);
198
- }
199
- &:active {
200
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 4px rgba(0, 0, 0, 0.2), 0 6px 2px -5px rgba(0, 0, 0, 0.2);
201
- }
202
- }
203
-
204
- .notification {
205
- cursor: pointer;
206
- transition: transform 0.3s ease;
207
- &:hover {
208
- transform: scale(1.1);
209
- }
210
- :global(.q-focus-helper) {
211
- display: none;
212
- }
213
- }
214
-
215
- .settings {
216
- cursor: pointer;
217
- transition: transform 0.3s ease;
218
- &__open {
219
- transform: rotate(90deg);
220
- }
221
- :global(.q-focus-helper) {
222
- display: none;
223
- }
224
- }
225
-
226
- .settings-menu {
227
- min-width: 210px;
228
- border-radius: 8px;
229
- &__list {
230
- min-width: 210px;
231
- }
232
- &__item {
233
- align-items: center;
234
- font-family: 'Nunito Sans', sans-serif;
235
- color: rgb(63, 140, 255);
236
- }
237
- }
238
-
239
- .action-wrapper {
240
- height: 32px;
241
- justify-content: space-between;
242
- align-items: center;
243
- display: flex;
244
- gap: 12px;
245
- }
246
-
247
- @media (max-width: 1440px) {
248
- .header {
249
- height: 100px;
250
- background: transparent;
251
- margin: 0 auto;
252
- }
253
- .header-search {
254
- width: 343px;
255
- font-size: 16px;
256
- }
257
- .action-buttons {
258
- position: relative;
259
- display: flex;
260
- align-items: center;
261
- column-gap: 8px;
262
- }
263
- .button {
264
- padding: 10px;
265
- background: white;
266
- transition: all 0.3s ease, color 0.3s ease;
267
- }
268
- .button-person {
269
- padding: 8px 10px;
270
- background: white;
271
- }
272
- }
273
- </style>
1
+ <template>
2
+ <q-header :class="[$style.header, { [$style[`header-full`]]: fullWidth }]">
3
+ <q-toolbar :class="$style.toolbar">
4
+ <h1>{{ pageTitle }}</h1>
5
+ <div :class="$style['action-buttons']">
6
+ <div v-if="settingsMenuItems?.find(x => x.name === 'root-on' && x.isShow)" :class="$style['root-mode']">
7
+ <h1>Включен Root-режим</h1>
8
+ </div>
9
+
10
+ <div :class="$style['person']" @click="clickProfile">
11
+ <app-icon name="person-icon" />
12
+ <div :class="$style['person__info']">
13
+ <p style="font-weight: 700; font-size: 14px">{{ shortName }}</p>
14
+ <p style="font-weight: 300; font-size: 12px">{{ positionName }}</p>
15
+ </div>
16
+ </div>
17
+ <div :class="$style['action-wrapper']">
18
+ <!-- <q-btn :class="$style['notification']" flat padding="sm" :ripple="false" @click="clickNotification">-->
19
+ <!-- <app-icon color="white" size="28px" name="notifications-icon" />-->
20
+ <!-- </q-btn>-->
21
+ <q-separator color="white" vertical size="1px" />
22
+ <q-btn
23
+ ref="refMenuSettings"
24
+ flat
25
+ padding="sm"
26
+ :ripple="false"
27
+ :class="[$style['settings'], { [$style['settings__open']]: isSettingsOpened }]"
28
+ @click="openSettingsMenu"
29
+ >
30
+ <app-icon size="28px" name="setting-icon" />
31
+ <q-menu max-height="160px" :offset="[-18, 4]" :class="$style['settings-menu']">
32
+ <q-list v-for="item in settingsMenuItems" :key="item.name" :class="$style['settings-menu__list']">
33
+ <q-item
34
+ v-show="item.isShow"
35
+ v-close-popup
36
+ :class="$style['settings-menu__item']"
37
+ clickable
38
+ @click="clickSettingsMenuItem(item)"
39
+ >{{ item.label }}</q-item
40
+ >
41
+ </q-list>
42
+ </q-menu>
43
+ </q-btn>
44
+ </div>
45
+
46
+ <!-- <app-button icon="person" text-color="black" :label="shortName" rounded :class="$style['button-person']" />-->
47
+ </div>
48
+ </q-toolbar>
49
+ </q-header>
50
+ </template>
51
+
52
+ <script lang="ts" setup>
53
+ import { computed, defineProps, ref, withDefaults } from 'vue'
54
+ import { onClickOutside } from '@vueuse/core'
55
+ import AppIcon from '@/common/app-icon/AppIcon.vue'
56
+
57
+ interface Props {
58
+ userData: any
59
+ fullWidth?: boolean
60
+ pageTitle?: string
61
+ settingsMenuItems?: { label: string; name: string; isShow: boolean }[]
62
+ }
63
+
64
+ const emits = defineEmits(['clickSettingsMenuItem', 'clickNotification', 'clickProfile'])
65
+
66
+ const props = withDefaults(defineProps<Props>(), {
67
+ pageTitle: '',
68
+ })
69
+
70
+ const refMenuSettings = ref(null)
71
+ const isSettingsOpened = ref(false)
72
+
73
+ // const settingsMenuItems = ref([
74
+ // { label: 'Поиск инструментов', name: 'instrument-search', isShow: true },
75
+ // { label: 'Мониторинг оборудования', name: 'equipment-monitoring', isShow: true },
76
+ // { label: 'Root-режим выключен', name: 'root-off', isShow: true },
77
+ // { label: 'Root-режим включен', name: 'root-on', isShow: false },
78
+ // ])
79
+
80
+ const shortName = computed(() => {
81
+ if (!props.userData?.full_name) return ''
82
+
83
+ const [lastName, name, patronymic] = props.userData.full_name.split(' ')
84
+
85
+ const mainPart = `${lastName} ${name}`
86
+
87
+ if (!patronymic) return mainPart
88
+
89
+ return `${mainPart} ${patronymic[0]}.`
90
+ })
91
+
92
+ const positionName = computed(() => props.userData?.positions?.[0]?.display_name)
93
+
94
+ const openSettingsMenu = () => {
95
+ return (isSettingsOpened.value = !isSettingsOpened.value)
96
+ }
97
+
98
+ const clickProfile = () => emits('clickProfile')
99
+ const clickSettingsMenuItem = (item: any) => emits('clickSettingsMenuItem', item.name)
100
+ const clickNotification = () => emits('clickNotification')
101
+
102
+ onClickOutside(refMenuSettings, () => (isSettingsOpened.value = false))
103
+ </script>
104
+
105
+ <style lang="scss" module>
106
+ .header {
107
+ height: 100px;
108
+ background: transparent;
109
+ margin: 0 auto;
110
+ max-width: 1300px;
111
+ }
112
+ .header-full {
113
+ max-width: 100%;
114
+ padding-right: 30px;
115
+ padding-left: 30px;
116
+ }
117
+ .toolbar {
118
+ padding: 0;
119
+ min-height: 100%;
120
+ h1 {
121
+ font-weight: 600;
122
+ font-size: 28px;
123
+ line-height: 100%;
124
+ font-family: Montserrat, sans-serif;
125
+ }
126
+ }
127
+
128
+ .header-search {
129
+ width: 412px;
130
+ font-size: 16px;
131
+ }
132
+
133
+ .action-buttons {
134
+ flex: 1;
135
+ position: relative;
136
+ display: flex;
137
+ align-items: center;
138
+ column-gap: 16px;
139
+ justify-content: end;
140
+ }
141
+
142
+ .button {
143
+ padding: 12px;
144
+ background: white;
145
+ transition: all 0.3s ease, color 0.3s ease;
146
+ }
147
+
148
+ .button-person {
149
+ padding: 10px 14px;
150
+ background: white;
151
+ }
152
+
153
+ .root-mode {
154
+ display: flex;
155
+ align-items: center;
156
+ background-color: red;
157
+ padding: 14px;
158
+ border-radius: 10px;
159
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
160
+ cursor: pointer;
161
+ user-select: none;
162
+ h1 {
163
+ font-size: 16px;
164
+ font-weight: 600;
165
+ font-family: 'Nunito Sans', sans-serif;
166
+ }
167
+ &:active {
168
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 4px rgba(0, 0, 0, 0.2), 0 6px 2px -5px rgba(0, 0, 0, 0.2);
169
+ }
170
+ }
171
+
172
+ .person {
173
+ display: flex;
174
+ align-items: center;
175
+ gap: 6px;
176
+ padding: 20px 12px;
177
+ height: 44px;
178
+ border-radius: 10px;
179
+ cursor: pointer;
180
+ background-color: white;
181
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
182
+ transition: all 0.3s ease;
183
+ &__info {
184
+ display: flex;
185
+ flex-direction: column;
186
+ user-select: none;
187
+ p {
188
+ line-height: 1.2;
189
+ margin: 0;
190
+ padding: 0;
191
+ font-family: 'Nunito Sans', sans-serif;
192
+ color: rgb(63, 140, 255);
193
+ }
194
+ }
195
+ &:hover {
196
+ background-color: #e1e0e0;
197
+ transform: scale(1.01);
198
+ }
199
+ &:active {
200
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 4px rgba(0, 0, 0, 0.2), 0 6px 2px -5px rgba(0, 0, 0, 0.2);
201
+ }
202
+ }
203
+
204
+ .notification {
205
+ cursor: pointer;
206
+ transition: transform 0.3s ease;
207
+ &:hover {
208
+ transform: scale(1.1);
209
+ }
210
+ :global(.q-focus-helper) {
211
+ display: none;
212
+ }
213
+ }
214
+
215
+ .settings {
216
+ cursor: pointer;
217
+ transition: transform 0.3s ease;
218
+ &__open {
219
+ transform: rotate(90deg);
220
+ }
221
+ :global(.q-focus-helper) {
222
+ display: none;
223
+ }
224
+ }
225
+
226
+ .settings-menu {
227
+ min-width: 210px;
228
+ border-radius: 8px;
229
+ &__list {
230
+ min-width: 210px;
231
+ }
232
+ &__item {
233
+ align-items: center;
234
+ font-family: 'Nunito Sans', sans-serif;
235
+ color: rgb(63, 140, 255);
236
+ }
237
+ }
238
+
239
+ .action-wrapper {
240
+ height: 32px;
241
+ justify-content: space-between;
242
+ align-items: center;
243
+ display: flex;
244
+ gap: 12px;
245
+ }
246
+
247
+ @media (max-width: 1440px) {
248
+ .header {
249
+ height: 100px;
250
+ background: transparent;
251
+ margin: 0 auto;
252
+ }
253
+ .header-search {
254
+ width: 343px;
255
+ font-size: 16px;
256
+ }
257
+ .action-buttons {
258
+ position: relative;
259
+ display: flex;
260
+ align-items: center;
261
+ column-gap: 8px;
262
+ }
263
+ .button {
264
+ padding: 10px;
265
+ background: white;
266
+ transition: all 0.3s ease, color 0.3s ease;
267
+ }
268
+ .button-person {
269
+ padding: 8px 10px;
270
+ background: white;
271
+ }
272
+ }
273
+ </style>
@@ -1,16 +1,16 @@
1
- <template>
2
- <q-page class="page-container">
3
- <slot />
4
- </q-page>
5
- </template>
6
-
7
- <script setup lang="ts"></script>
8
-
9
- <style scoped lang="scss">
10
- .page-container {
11
- display: flex;
12
- flex-direction: column;
13
- padding: 0px 30px;
14
- height: 100%;
15
- }
16
- </style>
1
+ <template>
2
+ <q-page class="page-container">
3
+ <slot />
4
+ </q-page>
5
+ </template>
6
+
7
+ <script setup lang="ts"></script>
8
+
9
+ <style scoped lang="scss">
10
+ .page-container {
11
+ display: flex;
12
+ flex-direction: column;
13
+ padding: 0px 30px;
14
+ height: 100%;
15
+ }
16
+ </style>
@@ -1,43 +1,43 @@
1
- <template>
2
- <div :class="{ 'loader-backdrop': backdrop && loading }">
3
- <q-spinner v-if="loading" :size="size" class="loader-spinner" :thickness="thickness" />
4
- </div>
5
- </template>
6
-
7
- <script setup lang="ts">
8
- interface Props {
9
- backdrop: boolean
10
- loading: boolean
11
- thickness: number
12
- size: string
13
- }
14
- const props = withDefaults(defineProps<Props>(), {
15
- backdrop: false,
16
- loading: false,
17
- thickness: 2,
18
- size: 'md',
19
- })
20
-
21
- // <app-loader :loading="logged" :backdrop="true" />
22
- </script>
23
-
24
- <style scoped lang="scss">
25
- .loader {
26
- //&-backdrop {
27
- // top: 0;
28
- // bottom: 0;
29
- // left: 0;
30
- // right: 0;
31
- // background-color: rgba(255, 255, 255, 0.1);
32
- // position: absolute;
33
- // z-index: 9999;
34
- //}
35
- &-spinner {
36
- position: absolute;
37
- color: #1d64ff;
38
- top: 44%;
39
- left: 48%;
40
- z-index: 9999;
41
- }
42
- }
43
- </style>
1
+ <template>
2
+ <div :class="{ 'loader-backdrop': backdrop && loading }">
3
+ <q-spinner v-if="loading" :size="size" class="loader-spinner" :thickness="thickness" />
4
+ </div>
5
+ </template>
6
+
7
+ <script setup lang="ts">
8
+ interface Props {
9
+ backdrop: boolean
10
+ loading: boolean
11
+ thickness: number
12
+ size: string
13
+ }
14
+ const props = withDefaults(defineProps<Props>(), {
15
+ backdrop: false,
16
+ loading: false,
17
+ thickness: 2,
18
+ size: 'md',
19
+ })
20
+
21
+ // <app-loader :loading="logged" :backdrop="true" />
22
+ </script>
23
+
24
+ <style scoped lang="scss">
25
+ .loader {
26
+ //&-backdrop {
27
+ // top: 0;
28
+ // bottom: 0;
29
+ // left: 0;
30
+ // right: 0;
31
+ // background-color: rgba(255, 255, 255, 0.1);
32
+ // position: absolute;
33
+ // z-index: 9999;
34
+ //}
35
+ &-spinner {
36
+ position: absolute;
37
+ color: #1d64ff;
38
+ top: 44%;
39
+ left: 48%;
40
+ z-index: 9999;
41
+ }
42
+ }
43
+ </style>