shared-ritm 1.2.31 → 1.2.32

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 (41) hide show
  1. package/README.md +103 -103
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +3244 -3257
  4. package/dist/shared-ritm.umd.js +6 -6
  5. package/dist/types/api/services/AuthService.d.ts +1 -12
  6. package/package.json +1 -1
  7. package/src/App.vue +2461 -2461
  8. package/src/api/services/AuthService.ts +3 -16
  9. package/src/api/services/GanttService.ts +17 -17
  10. package/src/api/services/MetricsService.ts +101 -101
  11. package/src/api/services/RepairsService.ts +3 -1
  12. package/src/api/settings/ApiService.ts +126 -126
  13. package/src/api/types/Api_Files.ts +1 -1
  14. package/src/api/types/Api_Projects.ts +55 -55
  15. package/src/api/types/Api_Repairs.ts +93 -93
  16. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  17. package/src/common/app-date-picker/AppDatePicker.vue +81 -81
  18. package/src/common/app-dialogs/AppConfirmDialog.vue +100 -100
  19. package/src/common/app-dropdown/AppDropdown.vue +31 -31
  20. package/src/common/app-icon/AppIcon.vue +108 -108
  21. package/src/common/app-input-search/AppInputSearch.vue +174 -174
  22. package/src/common/app-layout/AppLayout.vue +84 -84
  23. package/src/common/app-layout/components/AppLayoutHeader.vue +246 -246
  24. package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
  25. package/src/common/app-select/AppSelect.vue +157 -157
  26. package/src/common/app-sidebar/components/SidebarMenuItem.vue +146 -146
  27. package/src/common/app-toggle/AppToggle.vue +23 -23
  28. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  29. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  30. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  31. package/src/icons/header/NotificationIcon.vue +18 -18
  32. package/src/icons/header/PersonIcon.vue +11 -11
  33. package/src/icons/header/SettingIcon.vue +14 -14
  34. package/src/icons/task/attention-icon.vue +13 -13
  35. package/src/icons/task/clock-icon.vue +10 -10
  36. package/src/icons/task/delete-icon.vue +10 -10
  37. package/src/icons/task/fire-icon.vue +16 -16
  38. package/src/main.ts +28 -28
  39. package/src/shared/styles/general.css +96 -96
  40. package/src/utils/confirm.ts +12 -12
  41. package/src/utils/notification.ts +9 -9
@@ -1,24 +1,13 @@
1
1
  import ApiService from '@/api/settings/ApiService';
2
- export type LoginPayload = {
3
- email: string;
4
- password: string;
5
- };
6
- export type LoginResponse = {
2
+ type LoginResponse = {
7
3
  token: string;
8
4
  user: any;
9
5
  };
10
- export type ChangePasswordPayload = {
11
- password: string;
12
- password_confirmation: string;
13
- };
14
- export type ChangePasswordResponse = any;
15
- export type ConfigResponse = any;
16
6
  declare class AuthService extends ApiService {
17
7
  login(email: string, password: string): Promise<LoginResponse>;
18
8
  logout(): Promise<LoginResponse>;
19
9
  userInfo(): Promise<any>;
20
10
  configs(): Promise<any>;
21
- changePassword(id: string, password: string, password_confirmation: string): Promise<any>;
22
11
  }
23
12
  export default function useAuthService(): AuthService;
24
13
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.2.31",
3
+ "version": "1.2.32",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",