shared-ritm 1.2.125 → 1.2.126

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 (131) hide show
  1. package/README.md +103 -103
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +4768 -4778
  4. package/dist/shared-ritm.umd.js +110 -110
  5. package/dist/types/api/services/ControlsService.d.ts +2 -3
  6. package/dist/types/api/services/RepairsService.d.ts +0 -1
  7. package/dist/types/api/types/Api_Controls.d.ts +0 -10
  8. package/package.json +64 -64
  9. package/src/App.vue +2461 -2461
  10. package/src/api/services/AuthService.ts +53 -53
  11. package/src/api/services/BrigadesService.ts +32 -32
  12. package/src/api/services/CommentsService.ts +24 -24
  13. package/src/api/services/ControlsService.ts +69 -73
  14. package/src/api/services/EquipmentService.ts +29 -29
  15. package/src/api/services/FileService.ts +17 -17
  16. package/src/api/services/GanttService.ts +17 -17
  17. package/src/api/services/InstrumentsService.ts +63 -63
  18. package/src/api/services/MetricsService.ts +110 -110
  19. package/src/api/services/ModulesService.ts +27 -27
  20. package/src/api/services/ProjectsService.ts +79 -79
  21. package/src/api/services/RepairsService.ts +119 -123
  22. package/src/api/services/SearchService.ts +22 -22
  23. package/src/api/services/TasksService.ts +145 -145
  24. package/src/api/services/UserService.ts +101 -101
  25. package/src/api/services/VideoService.ts +71 -71
  26. package/src/api/settings/ApiService.ts +124 -124
  27. package/src/api/types/Api_Auth.ts +86 -86
  28. package/src/api/types/Api_Brigades.ts +36 -36
  29. package/src/api/types/Api_Comment.ts +40 -40
  30. package/src/api/types/Api_Controls.ts +82 -93
  31. package/src/api/types/Api_Equipment.ts +3 -3
  32. package/src/api/types/Api_Files.ts +7 -7
  33. package/src/api/types/Api_Instruments.ts +136 -136
  34. package/src/api/types/Api_Modules.ts +21 -21
  35. package/src/api/types/Api_Projects.ts +60 -60
  36. package/src/api/types/Api_Repairs.ts +117 -117
  37. package/src/api/types/Api_Search.ts +77 -77
  38. package/src/api/types/Api_Service.ts +9 -9
  39. package/src/api/types/Api_Tasks.ts +319 -319
  40. package/src/api/types/Api_User.ts +117 -117
  41. package/src/api/types/Api_Video.ts +140 -140
  42. package/src/common/app-button/AppButton.vue +173 -173
  43. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  44. package/src/common/app-date-picker/AppDatePicker.vue +81 -81
  45. package/src/common/app-datepicker/AppDatepicker.vue +165 -165
  46. package/src/common/app-dialogs/AppConfirmDialog.vue +99 -99
  47. package/src/common/app-dropdown/AppDropdown.vue +31 -37
  48. package/src/common/app-icon/AppIcon.vue +108 -108
  49. package/src/common/app-input/AppInput.vue +148 -148
  50. package/src/common/app-input-new/AppInputNew.vue +175 -175
  51. package/src/common/app-input-search/AppInputSearch.vue +174 -174
  52. package/src/common/app-layout/AppLayout.vue +84 -84
  53. package/src/common/app-layout/components/AppLayoutHeader.vue +273 -273
  54. package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
  55. package/src/common/app-loader/index.vue +43 -43
  56. package/src/common/app-page-layout/AppPageLayout.vue +122 -122
  57. package/src/common/app-select/AppSelect.vue +157 -157
  58. package/src/common/app-sheet/AppSheet.vue +120 -120
  59. package/src/common/app-sheet-new/AppSheetNew.vue +246 -246
  60. package/src/common/app-sidebar/AppSidebar.vue +168 -168
  61. package/src/common/app-sidebar/components/SidebarMenu.vue +37 -37
  62. package/src/common/app-sidebar/components/SidebarMenuItem.vue +148 -148
  63. package/src/common/app-table/AppTable.vue +314 -308
  64. package/src/common/app-table/AppTableLayout.vue +137 -137
  65. package/src/common/app-table/components/ModalSelect.vue +270 -281
  66. package/src/common/app-table/components/TableModal.vue +356 -356
  67. package/src/common/app-table/components/TablePagination.vue +152 -152
  68. package/src/common/app-table/controllers/useBaseTable.ts +45 -45
  69. package/src/common/app-table/controllers/useColumnSelector.ts +38 -38
  70. package/src/common/app-table/controllers/useTableModel.ts +102 -102
  71. package/src/common/app-toggle/AppToggle.vue +24 -24
  72. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  73. package/src/global.d.ts +1 -1
  74. package/src/icons/components/arrow-down-icon.vue +25 -25
  75. package/src/icons/components/arrow-frame-icon.vue +19 -19
  76. package/src/icons/components/arrow-square.vue +22 -22
  77. package/src/icons/components/table-filter-icon.vue +30 -30
  78. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  79. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  80. package/src/icons/header/NotificationIcon.vue +18 -18
  81. package/src/icons/header/PersonIcon.vue +11 -11
  82. package/src/icons/header/SettingIcon.vue +14 -14
  83. package/src/icons/header/flashIcon.vue +24 -24
  84. package/src/icons/header/searchStatusIcon.vue +24 -24
  85. package/src/icons/header/smallCapsIcon.vue +34 -34
  86. package/src/icons/sidebar/assign-module-icon.vue +36 -36
  87. package/src/icons/sidebar/instrument-history-icon.vue +32 -32
  88. package/src/icons/sidebar/instrument-order-icon.vue +38 -38
  89. package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
  90. package/src/icons/sidebar/instruments-icon.vue +45 -45
  91. package/src/icons/sidebar/logo-icon.vue +15 -15
  92. package/src/icons/sidebar/logout-icon.vue +13 -13
  93. package/src/icons/sidebar/modules-icon.vue +16 -16
  94. package/src/icons/sidebar/notifications-icon.vue +24 -24
  95. package/src/icons/sidebar/order-icon.vue +44 -44
  96. package/src/icons/sidebar/pass-icon.vue +38 -38
  97. package/src/icons/sidebar/positions-icon.vue +42 -42
  98. package/src/icons/sidebar/preorder-icon.vue +19 -19
  99. package/src/icons/sidebar/projects-icon.vue +31 -31
  100. package/src/icons/sidebar/repair-object-icon.vue +18 -18
  101. package/src/icons/sidebar/repairs-icon.vue +20 -20
  102. package/src/icons/sidebar/roles-icon.vue +26 -26
  103. package/src/icons/sidebar/status-history-icon.vue +24 -24
  104. package/src/icons/sidebar/tasks-icon.vue +28 -28
  105. package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
  106. package/src/icons/sidebar/tasks_today-icon.vue +27 -27
  107. package/src/icons/sidebar/teams-icon.vue +32 -32
  108. package/src/icons/sidebar/user-icon.vue +18 -18
  109. package/src/icons/sidebar/users-icon.vue +46 -46
  110. package/src/icons/sidebar/videosources-icon.vue +19 -19
  111. package/src/icons/sidebar/videowall-icon.vue +13 -13
  112. package/src/icons/sidebar/videozones-icon.vue +21 -21
  113. package/src/icons/sidebar/warehouses-icon.vue +43 -43
  114. package/src/icons/sidebar/workshop-icon.vue +100 -100
  115. package/src/icons/sidebar/workzones-icon.vue +22 -22
  116. package/src/icons/task/attention-icon.vue +13 -13
  117. package/src/icons/task/clock-icon.vue +10 -10
  118. package/src/icons/task/delete-icon.vue +10 -10
  119. package/src/icons/task/fire-icon.vue +16 -16
  120. package/src/index.ts +123 -123
  121. package/src/main.ts +28 -28
  122. package/src/quasar-user-options.ts +17 -17
  123. package/src/router/index.ts +10 -10
  124. package/src/shared/styles/general.css +124 -124
  125. package/src/shims-vue.d.ts +5 -5
  126. package/src/styles/variables.sass +12 -12
  127. package/src/utils/confirm.ts +12 -12
  128. package/src/utils/faceApiHelper.ts +132 -132
  129. package/src/utils/helpers.ts +59 -59
  130. package/src/utils/notification.ts +9 -9
  131. 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>