shared-ritm 1.2.35 → 1.2.37

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 (46) hide show
  1. package/README.md +103 -103
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +1468 -1446
  4. package/dist/shared-ritm.umd.js +7 -7
  5. package/dist/types/api/services/ControlsService.d.ts +11 -0
  6. package/dist/types/api/types/Api_Controls.d.ts +12 -0
  7. package/dist/types/index.d.ts +2 -1
  8. package/package.json +1 -1
  9. package/src/App.vue +2461 -2461
  10. package/src/api/services/AuthService.ts +58 -58
  11. package/src/api/services/ControlsService.ts +32 -0
  12. package/src/api/services/GanttService.ts +17 -17
  13. package/src/api/services/MetricsService.ts +101 -101
  14. package/src/api/services/TasksService.ts +137 -137
  15. package/src/api/settings/ApiService.ts +126 -126
  16. package/src/api/types/Api_Controls.ts +12 -0
  17. package/src/api/types/Api_Files.ts +1 -1
  18. package/src/api/types/Api_Projects.ts +55 -55
  19. package/src/api/types/Api_Repairs.ts +93 -93
  20. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  21. package/src/common/app-date-picker/AppDatePicker.vue +81 -81
  22. package/src/common/app-dialogs/AppConfirmDialog.vue +100 -100
  23. package/src/common/app-dropdown/AppDropdown.vue +31 -31
  24. package/src/common/app-icon/AppIcon.vue +108 -108
  25. package/src/common/app-input-search/AppInputSearch.vue +174 -174
  26. package/src/common/app-layout/AppLayout.vue +84 -84
  27. package/src/common/app-layout/components/AppLayoutHeader.vue +246 -246
  28. package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
  29. package/src/common/app-select/AppSelect.vue +157 -157
  30. package/src/common/app-sidebar/components/SidebarMenuItem.vue +146 -146
  31. package/src/common/app-toggle/AppToggle.vue +23 -23
  32. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  33. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  34. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  35. package/src/icons/header/NotificationIcon.vue +18 -18
  36. package/src/icons/header/PersonIcon.vue +11 -11
  37. package/src/icons/header/SettingIcon.vue +14 -14
  38. package/src/icons/task/attention-icon.vue +13 -13
  39. package/src/icons/task/clock-icon.vue +10 -10
  40. package/src/icons/task/delete-icon.vue +10 -10
  41. package/src/icons/task/fire-icon.vue +16 -16
  42. package/src/index.ts +66 -64
  43. package/src/main.ts +28 -28
  44. package/src/shared/styles/general.css +96 -96
  45. package/src/utils/confirm.ts +12 -12
  46. package/src/utils/notification.ts +9 -9
@@ -0,0 +1,11 @@
1
+ import ApiService, { ResponseApi } from '@/api/settings/ApiService';
2
+ import { Api_ControlZones_Dto } from '@/api/types/Api_Controls';
3
+ declare class ControlsService extends ApiService {
4
+ fetchProjectById(id: string): Promise<ResponseApi<Api_ControlZones_Dto>>;
5
+ createProject(params: any): Promise<ResponseApi<any>>;
6
+ editProject(id: string, params: any): Promise<ResponseApi<any>>;
7
+ fetchProjects(params: any): Promise<ResponseApi<Api_ControlZones_Dto[]>>;
8
+ deleteProject(id: string): Promise<any>;
9
+ }
10
+ export default function useControlsService(): ControlsService;
11
+ export {};
@@ -0,0 +1,12 @@
1
+ export type Api_Controllers_Dto = {
2
+ id: string;
3
+ full_name: string;
4
+ };
5
+ export type Api_ControlZones_Dto = {
6
+ id: string;
7
+ name: string;
8
+ inventory_number: string;
9
+ uuid: string;
10
+ controller_zone: string;
11
+ users?: Api_Controllers_Dto[];
12
+ };
@@ -23,8 +23,9 @@ import useTasksService from '@/api/services/TasksService';
23
23
  import useAuthService from '@/api/services/AuthService';
24
24
  import useFileService from '@/api/services/FileService';
25
25
  import ApiService from '@/api/settings/ApiService';
26
+ import useControlsService from '@/api/services/ControlsService';
26
27
  export { AppButton, AppCheckbox, AppDatePicker, AppInput, AppInputSearch, AppLayout, AppLayoutHeader, AppLayoutPage, AppLoader, AppSelect, AppSheet, AppSidebar, AppToggle, AppWrapper, AppConfirmDialog, AppDropdown, };
27
- export { ApiService, useAuthService, useGanttService, useMetricsService, useProjectsService, useRepairsService, useTasksService, useFileService, };
28
+ export { ApiService, useAuthService, useGanttService, useMetricsService, useProjectsService, useRepairsService, useTasksService, useFileService, useControlsService, };
28
29
  export type { NotificationType } from './utils/notification';
29
30
  export { notificationSettings } from './utils/notification';
30
31
  export * from './api/types/Api_Tasks';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.2.35",
3
+ "version": "1.2.37",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",