shared-ritm 1.1.25 → 1.1.27

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 (87) hide show
  1. package/README.md +93 -0
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +16940 -75617
  4. package/dist/shared-ritm.umd.js +22 -52
  5. package/dist/types/api/services/FileService.d.ts +7 -0
  6. package/dist/types/api/types/Api_Files.d.ts +3 -0
  7. package/dist/types/index.d.ts +2 -1
  8. package/package.json +56 -56
  9. package/src/App.vue +2432 -2432
  10. package/src/api/services/AuthService.ts +41 -41
  11. package/src/api/services/FileService.ts +15 -0
  12. package/src/api/services/GanttService.ts +17 -17
  13. package/src/api/services/MetricsService.ts +101 -101
  14. package/src/api/services/ProjectsService.ts +61 -61
  15. package/src/api/services/RepairsService.ts +82 -82
  16. package/src/api/services/TasksService.ts +39 -39
  17. package/src/api/settings/ApiService.ts +124 -124
  18. package/src/api/types/Api_Files.ts +1 -0
  19. package/src/api/types/Api_Projects.ts +40 -40
  20. package/src/api/types/Api_Repairs.ts +57 -57
  21. package/src/api/types/Api_Tasks.ts +124 -124
  22. package/src/common/app-button/AppButton.vue +173 -173
  23. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  24. package/src/common/app-date-picker/AppDatePicker.vue +66 -66
  25. package/src/common/app-dialogs/AppConfirmDialog.vue +100 -100
  26. package/src/common/app-icon/AppIcon.vue +104 -104
  27. package/src/common/app-input/AppInput.vue +147 -147
  28. package/src/common/app-input-search/AppInputSearch.vue +170 -170
  29. package/src/common/app-layout/AppLayout.vue +62 -62
  30. package/src/common/app-layout/components/AppLayoutHeader.vue +124 -124
  31. package/src/common/app-loader/index.vue +43 -43
  32. package/src/common/app-page-layout/AppPageLayout.vue +122 -122
  33. package/src/common/app-select/AppSelect.vue +157 -157
  34. package/src/common/app-sheet/AppSheet.vue +114 -114
  35. package/src/common/app-sidebar/AppSidebar.vue +167 -167
  36. package/src/common/app-sidebar/components/SidebarMenu.vue +29 -29
  37. package/src/common/app-sidebar/components/SidebarMenuItem.vue +137 -137
  38. package/src/common/app-toggle/AppToggle.vue +23 -23
  39. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  40. package/src/global.d.ts +1 -1
  41. package/src/icons/components/arrow-down-icon.vue +25 -25
  42. package/src/icons/components/arrow-frame-icon.vue +19 -19
  43. package/src/icons/components/arrow-square.vue +22 -22
  44. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  45. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  46. package/src/icons/header/flashIcon.vue +24 -24
  47. package/src/icons/header/notificationIcon.vue +18 -18
  48. package/src/icons/header/searchStatusIcon.vue +24 -24
  49. package/src/icons/header/smallCapsIcon.vue +34 -34
  50. package/src/icons/sidebar/assign-module-icon.vue +36 -36
  51. package/src/icons/sidebar/instrument-history-icon.vue +32 -32
  52. package/src/icons/sidebar/instrument-order-icon.vue +38 -38
  53. package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
  54. package/src/icons/sidebar/instruments-icon.vue +45 -45
  55. package/src/icons/sidebar/logo-icon.vue +15 -15
  56. package/src/icons/sidebar/logout-icon.vue +13 -13
  57. package/src/icons/sidebar/modules-icon.vue +16 -16
  58. package/src/icons/sidebar/notifications-icon.vue +24 -24
  59. package/src/icons/sidebar/order-icon.vue +44 -44
  60. package/src/icons/sidebar/pass-icon.vue +38 -38
  61. package/src/icons/sidebar/positions-icon.vue +42 -42
  62. package/src/icons/sidebar/preorder-icon.vue +19 -19
  63. package/src/icons/sidebar/projects-icon.vue +31 -31
  64. package/src/icons/sidebar/repair-object-icon.vue +18 -18
  65. package/src/icons/sidebar/repairs-icon.vue +20 -20
  66. package/src/icons/sidebar/roles-icon.vue +26 -26
  67. package/src/icons/sidebar/status-history-icon.vue +24 -24
  68. package/src/icons/sidebar/tasks-icon.vue +28 -28
  69. package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
  70. package/src/icons/sidebar/tasks_today-icon.vue +27 -27
  71. package/src/icons/sidebar/teams-icon.vue +32 -32
  72. package/src/icons/sidebar/user-icon.vue +18 -18
  73. package/src/icons/sidebar/users-icon.vue +46 -46
  74. package/src/icons/sidebar/videosources-icon.vue +19 -19
  75. package/src/icons/sidebar/videowall-icon.vue +13 -13
  76. package/src/icons/sidebar/videozones-icon.vue +21 -21
  77. package/src/icons/sidebar/warehouses-icon.vue +43 -43
  78. package/src/icons/sidebar/workshop-icon.vue +100 -100
  79. package/src/icons/sidebar/workzones-icon.vue +22 -22
  80. package/src/index.ts +2 -0
  81. package/src/main.ts +15 -15
  82. package/src/quasar-user-options.ts +17 -17
  83. package/src/shared/styles/general.css +96 -96
  84. package/src/shims-vue.d.ts +5 -5
  85. package/src/utils/confirm.ts +12 -12
  86. package/src/utils/notification.ts +9 -9
  87. package/dist/types/router/index.d.ts +0 -2
@@ -1,100 +1,100 @@
1
- <template>
2
- <svg width="24" height="24" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <g filter="url(#filter0_d_116_6675)">
4
- <path d="M11.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
5
- </g>
6
- <g filter="url(#filter1_d_116_6675)">
7
- <path d="M15.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
8
- </g>
9
- <path
10
- d="M2 22H22"
11
- stroke="currentStroke"
12
- stroke-width="1.5"
13
- stroke-miterlimit="10"
14
- stroke-linecap="round"
15
- stroke-linejoin="round"
16
- />
17
- <path
18
- d="M12 2C13.6 2.64 15.4 2.64 17 2V5C15.4 5.64 13.6 5.64 12 5V2Z"
19
- stroke="currentStroke"
20
- stroke-width="1.5"
21
- stroke-miterlimit="10"
22
- stroke-linecap="round"
23
- stroke-linejoin="round"
24
- />
25
- <path
26
- d="M12 5V8"
27
- stroke="currentStroke"
28
- stroke-width="1.5"
29
- stroke-miterlimit="10"
30
- stroke-linecap="round"
31
- stroke-linejoin="round"
32
- />
33
- <path
34
- d="M17 8H7C5 8 4 9 4 11V22H20V11C20 9 19 8 17 8Z"
35
- stroke="currentStroke"
36
- stroke-width="1.5"
37
- stroke-miterlimit="10"
38
- stroke-linecap="round"
39
- stroke-linejoin="round"
40
- />
41
- <path
42
- d="M4.58008 12H19.4201"
43
- stroke="currentStroke"
44
- stroke-width="1.5"
45
- stroke-miterlimit="10"
46
- stroke-linecap="round"
47
- stroke-linejoin="round"
48
- />
49
- <path d="M7.98999 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
50
- <defs>
51
- <filter
52
- id="filter0_d_116_6675"
53
- x="7.23999"
54
- y="12"
55
- width="9.5"
56
- height="18"
57
- filterUnits="userSpaceOnUse"
58
- color-interpolation-filters="sRGB"
59
- >
60
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
61
- <feColorMatrix
62
- in="SourceAlpha"
63
- type="matrix"
64
- values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
65
- result="hardAlpha"
66
- />
67
- <feOffset dy="4" />
68
- <feGaussianBlur stdDeviation="2" />
69
- <feComposite in2="hardAlpha" operator="out" />
70
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
71
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675" />
72
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape" />
73
- </filter>
74
- <filter
75
- id="filter1_d_116_6675"
76
- x="11.24"
77
- y="12"
78
- width="9.5"
79
- height="18"
80
- filterUnits="userSpaceOnUse"
81
- color-interpolation-filters="sRGB"
82
- >
83
- <feFlood flood-opacity="0" result="BackgroundImageFix" />
84
- <feColorMatrix
85
- in="SourceAlpha"
86
- type="matrix"
87
- values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
88
- result="hardAlpha"
89
- />
90
- <feOffset dy="4" />
91
- <feGaussianBlur stdDeviation="2" />
92
- <feComposite in2="hardAlpha" operator="out" />
93
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
94
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675" />
95
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape" />
96
- </filter>
97
- </defs>
98
- </svg>
99
- </template>
100
- <script setup lang="ts"></script>
1
+ <template>
2
+ <svg width="24" height="24" viewBox="0 0 24 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <g filter="url(#filter0_d_116_6675)">
4
+ <path d="M11.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
5
+ </g>
6
+ <g filter="url(#filter1_d_116_6675)">
7
+ <path d="M15.99 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
8
+ </g>
9
+ <path
10
+ d="M2 22H22"
11
+ stroke="currentStroke"
12
+ stroke-width="1.5"
13
+ stroke-miterlimit="10"
14
+ stroke-linecap="round"
15
+ stroke-linejoin="round"
16
+ />
17
+ <path
18
+ d="M12 2C13.6 2.64 15.4 2.64 17 2V5C15.4 5.64 13.6 5.64 12 5V2Z"
19
+ stroke="currentStroke"
20
+ stroke-width="1.5"
21
+ stroke-miterlimit="10"
22
+ stroke-linecap="round"
23
+ stroke-linejoin="round"
24
+ />
25
+ <path
26
+ d="M12 5V8"
27
+ stroke="currentStroke"
28
+ stroke-width="1.5"
29
+ stroke-miterlimit="10"
30
+ stroke-linecap="round"
31
+ stroke-linejoin="round"
32
+ />
33
+ <path
34
+ d="M17 8H7C5 8 4 9 4 11V22H20V11C20 9 19 8 17 8Z"
35
+ stroke="currentStroke"
36
+ stroke-width="1.5"
37
+ stroke-miterlimit="10"
38
+ stroke-linecap="round"
39
+ stroke-linejoin="round"
40
+ />
41
+ <path
42
+ d="M4.58008 12H19.4201"
43
+ stroke="currentStroke"
44
+ stroke-width="1.5"
45
+ stroke-miterlimit="10"
46
+ stroke-linecap="round"
47
+ stroke-linejoin="round"
48
+ />
49
+ <path d="M7.98999 12V22" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linejoin="round" />
50
+ <defs>
51
+ <filter
52
+ id="filter0_d_116_6675"
53
+ x="7.23999"
54
+ y="12"
55
+ width="9.5"
56
+ height="18"
57
+ filterUnits="userSpaceOnUse"
58
+ color-interpolation-filters="sRGB"
59
+ >
60
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
61
+ <feColorMatrix
62
+ in="SourceAlpha"
63
+ type="matrix"
64
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
65
+ result="hardAlpha"
66
+ />
67
+ <feOffset dy="4" />
68
+ <feGaussianBlur stdDeviation="2" />
69
+ <feComposite in2="hardAlpha" operator="out" />
70
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
71
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675" />
72
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape" />
73
+ </filter>
74
+ <filter
75
+ id="filter1_d_116_6675"
76
+ x="11.24"
77
+ y="12"
78
+ width="9.5"
79
+ height="18"
80
+ filterUnits="userSpaceOnUse"
81
+ color-interpolation-filters="sRGB"
82
+ >
83
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
84
+ <feColorMatrix
85
+ in="SourceAlpha"
86
+ type="matrix"
87
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
88
+ result="hardAlpha"
89
+ />
90
+ <feOffset dy="4" />
91
+ <feGaussianBlur stdDeviation="2" />
92
+ <feComposite in2="hardAlpha" operator="out" />
93
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
94
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_116_6675" />
95
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_116_6675" result="shape" />
96
+ </filter>
97
+ </defs>
98
+ </svg>
99
+ </template>
100
+ <script setup lang="ts"></script>
@@ -1,22 +1,22 @@
1
- <template>
2
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M17 3H21V7" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
4
- <path d="M15 9L21 3" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
5
- <path d="M7 21H3V17" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
6
- <path d="M9 15L3 21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
7
- <path
8
- d="M14.02 2.20001C13.37 2.07001 12.69 2 12 2C6.48 2 2 6.48 2 12C2 12.69 2.07001 13.36 2.20001 14"
9
- stroke="currentStroke"
10
- stroke-width="1.5"
11
- stroke-linecap="round"
12
- stroke-linejoin="round"
13
- />
14
- <path
15
- d="M9.97998 21.8C10.63 21.93 11.31 22 12 22C17.52 22 22 17.52 22 12C22 11.32 21.93 10.65 21.8 10"
16
- stroke="currentStroke"
17
- stroke-width="1.5"
18
- stroke-linecap="round"
19
- stroke-linejoin="round"
20
- />
21
- </svg>
22
- </template>
1
+ <template>
2
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M17 3H21V7" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
4
+ <path d="M15 9L21 3" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
5
+ <path d="M7 21H3V17" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
6
+ <path d="M9 15L3 21" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
7
+ <path
8
+ d="M14.02 2.20001C13.37 2.07001 12.69 2 12 2C6.48 2 2 6.48 2 12C2 12.69 2.07001 13.36 2.20001 14"
9
+ stroke="currentStroke"
10
+ stroke-width="1.5"
11
+ stroke-linecap="round"
12
+ stroke-linejoin="round"
13
+ />
14
+ <path
15
+ d="M9.97998 21.8C10.63 21.93 11.31 22 12 22C17.52 22 22 17.52 22 12C22 11.32 21.93 10.65 21.8 10"
16
+ stroke="currentStroke"
17
+ stroke-width="1.5"
18
+ stroke-linecap="round"
19
+ stroke-linejoin="round"
20
+ />
21
+ </svg>
22
+ </template>
package/src/index.ts CHANGED
@@ -20,6 +20,7 @@ import useProjectsService from '@/api/services/ProjectsService'
20
20
  import useRepairsService from '@/api/services/RepairsService'
21
21
  import useTasksService from '@/api/services/TasksService'
22
22
  import useAuthService from '@/api/services/AuthService'
23
+ import useFileService from '@/api/services/FileService'
23
24
  import ApiService from '@/api/settings/ApiService'
24
25
 
25
26
  export {
@@ -47,6 +48,7 @@ export {
47
48
  useProjectsService,
48
49
  useRepairsService,
49
50
  useTasksService,
51
+ useFileService,
50
52
  }
51
53
 
52
54
  export type { NotificationType } from './utils/notification'
package/src/main.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { createApp } from 'vue'
2
- import { Quasar, quasarUserOptions } from './quasar-user-options'
3
-
4
- import '@quasar/extras/material-icons/material-icons.css'
5
- import 'quasar/src/css/index.sass'
6
-
7
- import '@/shared/styles/general.css'
8
-
9
- import App from './App.vue'
10
-
11
- const app = createApp(App)
12
-
13
- //@ts-ignore
14
- app.use(Quasar, quasarUserOptions)
15
- app.mount('#app')
1
+ import { createApp } from 'vue'
2
+ import { Quasar, quasarUserOptions } from './quasar-user-options'
3
+
4
+ import '@quasar/extras/material-icons/material-icons.css'
5
+ import 'quasar/src/css/index.sass'
6
+
7
+ import '@/shared/styles/general.css'
8
+
9
+ import App from './App.vue'
10
+
11
+ const app = createApp(App)
12
+
13
+ //@ts-ignore
14
+ app.use(Quasar, quasarUserOptions)
15
+ app.mount('#app')
@@ -1,17 +1,17 @@
1
- import { Quasar, Notify, Loading, Dialog } from 'quasar'
2
-
3
- import 'quasar/src/css/index.sass'
4
- import '@quasar/extras/roboto-font/roboto-font.css'
5
- import '@quasar/extras/material-icons/material-icons.css'
6
- import '@quasar/extras/material-icons-outlined/material-icons-outlined.css'
7
- import '@quasar/extras/mdi-v7/mdi-v7.css'
8
-
9
- const quasarUserOptions = {
10
- plugins: {
11
- Notify,
12
- Loading,
13
- Dialog,
14
- },
15
- }
16
-
17
- export { Quasar, quasarUserOptions }
1
+ import { Quasar, Notify, Loading, Dialog } from 'quasar'
2
+
3
+ import 'quasar/src/css/index.sass'
4
+ import '@quasar/extras/roboto-font/roboto-font.css'
5
+ import '@quasar/extras/material-icons/material-icons.css'
6
+ import '@quasar/extras/material-icons-outlined/material-icons-outlined.css'
7
+ import '@quasar/extras/mdi-v7/mdi-v7.css'
8
+
9
+ const quasarUserOptions = {
10
+ plugins: {
11
+ Notify,
12
+ Loading,
13
+ Dialog,
14
+ },
15
+ }
16
+
17
+ export { Quasar, quasarUserOptions }
@@ -1,96 +1,96 @@
1
-
2
- :root {
3
- --main-header-height: 73px;
4
- --main-footer-height: 66px;
5
- --sidebar-width-max: 250px;
6
- --sidebar-width-min: 66px;
7
- }
8
-
9
- /*border-radius*/
10
- :root {
11
- --border-radius-xxs: 4px;
12
- --border-radius-xs: 8px;
13
- --border-radius-s: 12px;
14
- --border-radius-m: 16px;
15
- }
16
-
17
- /*color*/
18
- :root {
19
- --g-blue: #3F8CFF;
20
- --g-blue-light: #E4EFFF;
21
- --g-blue-dark: #1C75FF;
22
- --g-green: #00D097;
23
- --g-green-light: #E0F9F2;
24
- --g-green-dark: #B8F8E7;
25
- --g-red: #FF192D;
26
- --g-red-light: #FDECEE;
27
- --g-red-dark: #ffdcde;
28
- --g-grey-100: #D8E0F0;
29
-
30
- --g-font-color: #0A1629;
31
- --g-font-grey-color: #B9C0C7;
32
- --g-font-secondary-color: #7D8592;
33
-
34
- --g-grey-background: #CED5E0;
35
- --g-grey-hover-background: #9fa5af;
36
- --g-secondary-background: #F4F9FD;
37
- --g-thirty-background: #c8cbcf;
38
-
39
- --g-fire-color-1: #FEE7E7;
40
- --g-fire-color-2: #FED4D5;
41
- --g-fire-color-3: #FCC0C0;
42
- --g-fire-color-4: #F9A2A2;
43
- --g-fire-color-5: #F97D7E;
44
- --g-fire-color-6: #F65160;
45
- --g-fire-color-7: #FF192D;
46
- --g-fire-color-8: #AB0514;
47
- --g-fire-color-9: #6E000A;
48
- }
49
-
50
- * {
51
- margin: 0;
52
- padding: 0;
53
- }
54
-
55
- button:active, button:focus {
56
- outline: none !important;
57
- }
58
-
59
- html {
60
- font-family: 'NunitoSansFont', sans-serif !important;
61
- }
62
-
63
- .ant-dropdown {
64
- z-index: 10000;
65
- .content {
66
- z-index: 10000;
67
- }
68
- }
69
-
70
- @font-face {
71
- font-family: 'NunitoSansFont';
72
- src: local('NunitoSansFont-Regular'), url('../fonts/NunitoSansFont.ttf') format('truetype');
73
- font-weight: 400;
74
- font-style: normal;
75
- }
76
-
77
- @font-face {
78
- font-family: 'NunitoSansFont';
79
- src: local('NunitoSansFont-Bold'), url('../fonts/NunitoSans_7pt-Bold.ttf') format('truetype');
80
- font-weight: 700;
81
- font-style: normal;
82
- }
83
-
84
- @font-face {
85
- font-family: 'Montserrat';
86
- src: local('Montserrat-Regular'), url('../fonts/Montserrat.ttf') format('truetype');
87
- font-weight: 400;
88
- font-style: normal;
89
- }
90
-
91
- @font-face {
92
- font-family: 'Montserrat';
93
- src: local('Montserrat-Bold'), url('../fonts/Montserrat-Bold.ttf') format('truetype');
94
- font-weight: 700;
95
- font-style: normal;
96
- }
1
+
2
+ :root {
3
+ --main-header-height: 73px;
4
+ --main-footer-height: 66px;
5
+ --sidebar-width-max: 250px;
6
+ --sidebar-width-min: 66px;
7
+ }
8
+
9
+ /*border-radius*/
10
+ :root {
11
+ --border-radius-xxs: 4px;
12
+ --border-radius-xs: 8px;
13
+ --border-radius-s: 12px;
14
+ --border-radius-m: 16px;
15
+ }
16
+
17
+ /*color*/
18
+ :root {
19
+ --g-blue: #3F8CFF;
20
+ --g-blue-light: #E4EFFF;
21
+ --g-blue-dark: #1C75FF;
22
+ --g-green: #00D097;
23
+ --g-green-light: #E0F9F2;
24
+ --g-green-dark: #B8F8E7;
25
+ --g-red: #FF192D;
26
+ --g-red-light: #FDECEE;
27
+ --g-red-dark: #ffdcde;
28
+ --g-grey-100: #D8E0F0;
29
+
30
+ --g-font-color: #0A1629;
31
+ --g-font-grey-color: #B9C0C7;
32
+ --g-font-secondary-color: #7D8592;
33
+
34
+ --g-grey-background: #CED5E0;
35
+ --g-grey-hover-background: #9fa5af;
36
+ --g-secondary-background: #F4F9FD;
37
+ --g-thirty-background: #c8cbcf;
38
+
39
+ --g-fire-color-1: #FEE7E7;
40
+ --g-fire-color-2: #FED4D5;
41
+ --g-fire-color-3: #FCC0C0;
42
+ --g-fire-color-4: #F9A2A2;
43
+ --g-fire-color-5: #F97D7E;
44
+ --g-fire-color-6: #F65160;
45
+ --g-fire-color-7: #FF192D;
46
+ --g-fire-color-8: #AB0514;
47
+ --g-fire-color-9: #6E000A;
48
+ }
49
+
50
+ * {
51
+ margin: 0;
52
+ padding: 0;
53
+ }
54
+
55
+ button:active, button:focus {
56
+ outline: none !important;
57
+ }
58
+
59
+ html {
60
+ font-family: 'NunitoSansFont', sans-serif !important;
61
+ }
62
+
63
+ .ant-dropdown {
64
+ z-index: 10000;
65
+ .content {
66
+ z-index: 10000;
67
+ }
68
+ }
69
+
70
+ @font-face {
71
+ font-family: 'NunitoSansFont';
72
+ src: local('NunitoSansFont-Regular'), url('../fonts/NunitoSansFont.ttf') format('truetype');
73
+ font-weight: 400;
74
+ font-style: normal;
75
+ }
76
+
77
+ @font-face {
78
+ font-family: 'NunitoSansFont';
79
+ src: local('NunitoSansFont-Bold'), url('../fonts/NunitoSans_7pt-Bold.ttf') format('truetype');
80
+ font-weight: 700;
81
+ font-style: normal;
82
+ }
83
+
84
+ @font-face {
85
+ font-family: 'Montserrat';
86
+ src: local('Montserrat-Regular'), url('../fonts/Montserrat.ttf') format('truetype');
87
+ font-weight: 400;
88
+ font-style: normal;
89
+ }
90
+
91
+ @font-face {
92
+ font-family: 'Montserrat';
93
+ src: local('Montserrat-Bold'), url('../fonts/Montserrat-Bold.ttf') format('truetype');
94
+ font-weight: 700;
95
+ font-style: normal;
96
+ }
@@ -1,5 +1,5 @@
1
- declare module '*.vue' {
2
- import { DefineComponent } from 'vue'
3
- const component: DefineComponent<{}, {}, any>
4
- export default component
5
- }
1
+ declare module '*.vue' {
2
+ import { DefineComponent } from 'vue'
3
+ const component: DefineComponent<{}, {}, any>
4
+ export default component
5
+ }
@@ -1,12 +1,12 @@
1
- import { defineAsyncComponent } from 'vue'
2
- import { useQuasar } from 'quasar'
3
- const $q = useQuasar()
4
-
5
- const AppConfirmDialog = defineAsyncComponent(() => import('@/common/app-dialogs/AppConfirmDialog.vue'))
6
-
7
- export const appConfirm = (content: string, type: 'delete' | 'edit') => {
8
- return $q.dialog({
9
- component: AppConfirmDialog,
10
- componentProps: { content, type },
11
- })
12
- }
1
+ import { defineAsyncComponent } from 'vue'
2
+ import { useQuasar } from 'quasar'
3
+ const $q = useQuasar()
4
+
5
+ const AppConfirmDialog = defineAsyncComponent(() => import('@/common/app-dialogs/AppConfirmDialog.vue'))
6
+
7
+ export const appConfirm = (content: string, type: 'delete' | 'edit') => {
8
+ return $q.dialog({
9
+ component: AppConfirmDialog,
10
+ componentProps: { content, type },
11
+ })
12
+ }
@@ -1,9 +1,9 @@
1
- import { QNotifyCreateOptions } from 'quasar'
2
-
3
- export type NotificationType = 'danger' | 'success' | 'warning' | 'info' | 'default'
4
-
5
- export const notificationSettings = (type: NotificationType, message: string): QNotifyCreateOptions => ({
6
- message,
7
- color: type === 'danger' ? 'red' : type === 'success' ? 'green' : type === 'warning' ? 'orange' : 'white',
8
- position: 'top-right',
9
- })
1
+ import { QNotifyCreateOptions } from 'quasar'
2
+
3
+ export type NotificationType = 'danger' | 'success' | 'warning' | 'info' | 'default'
4
+
5
+ export const notificationSettings = (type: NotificationType, message: string): QNotifyCreateOptions => ({
6
+ message,
7
+ color: type === 'danger' ? 'red' : type === 'success' ? 'green' : type === 'warning' ? 'orange' : 'white',
8
+ position: 'top-right',
9
+ })
@@ -1,2 +0,0 @@
1
- declare const router: import('vue-router').Router
2
- export default router