shared-ritm 1.0.11 → 1.0.13
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.
- package/dist/shared-ritm.es.js +6288 -850
- package/dist/shared-ritm.umd.js +6 -1
- package/dist/style.css +1 -1
- package/dist/types/{Api → api/services}/GanttService.d.ts +1 -1
- package/dist/types/{Api → api/services}/MetricsService.d.ts +1 -1
- package/dist/types/{Api → api/services}/ProjectsService.d.ts +2 -2
- package/dist/types/{Api → api/services}/RepairsService.d.ts +7 -3
- package/dist/types/{Api → api/services}/TasksService.d.ts +2 -2
- package/dist/types/api/services/index.d.ts +3 -0
- package/dist/types/index.d.ts +12 -3
- package/package.json +52 -53
- /package/dist/types/{Api → api/settings}/ApiService.d.ts +0 -0
- /package/dist/types/{Api → api}/types/Api_Metrics.d.ts +0 -0
- /package/dist/types/{Api → api}/types/Api_Repairs.d.ts +0 -0
- /package/dist/types/{Api → api}/types/Api_Tasks.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ApiService, { ResponseApi } from '@/
|
|
1
|
+
import ApiService, { ResponseApi } from '@/api/settings/ApiService';
|
|
2
2
|
declare class MetricsService extends ApiService {
|
|
3
3
|
fetchPieProjects(queryString: string): Promise<ResponseApi<any>>;
|
|
4
4
|
fetchPieTasks(queryString: string): Promise<ResponseApi<any>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import ApiService, { ResponseApi } from '@/
|
|
2
|
-
import { Api_Tasks_Task_Dto } from '@/
|
|
1
|
+
import ApiService, { ResponseApi } from '@/api/settings/ApiService';
|
|
2
|
+
import { Api_Tasks_Task_Dto } from '@/api/types/Api_Tasks';
|
|
3
3
|
declare class ProjectsService extends ApiService {
|
|
4
4
|
fetchProjectById(id: string): Promise<ResponseApi<Api_Tasks_Task_Dto>>;
|
|
5
5
|
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import ApiService, { ResponseApi } from '@/
|
|
2
|
-
import { Api_Create_Repair_With_Equipments, Api_Equipment_Full_Dto, Api_Repair_Dto, Api_Update_Repair, OptionFilters } from '@/
|
|
1
|
+
import ApiService, { ResponseApi } from '@/api/settings/ApiService';
|
|
2
|
+
import { Api_Create_Repair_With_Equipments, Api_Equipment_Full_Dto, Api_Repair_Dto, Api_Update_Repair, OptionFilters } from '@/api/types/Api_Repairs';
|
|
3
3
|
declare class RepairsService extends ApiService {
|
|
4
4
|
fetchFilters(fullParams: string): Promise<OptionFilters>;
|
|
5
|
-
fetchRepairs(isQuery: boolean, queries?: string, hasTeams?: boolean | string, teamsFilter?: string): Promise<ResponseApi<Api_Repair_Dto[]>>;
|
|
5
|
+
fetchRepairs(isQuery: boolean, queries?: string, hasTeams?: boolean | string, teamsFilter?: string, typeFilter?: string): Promise<ResponseApi<Api_Repair_Dto[]>>;
|
|
6
6
|
fetchEquipment(): Promise<ResponseApi<Api_Equipment_Full_Dto[]>>;
|
|
7
7
|
createRepair(payload: Api_Create_Repair_With_Equipments): Promise<any>;
|
|
8
8
|
startRepair(id: string): Promise<void>;
|
|
9
9
|
finishRepair(id: string): Promise<void>;
|
|
10
10
|
finishPreparationProject(id: string): Promise<void>;
|
|
11
|
+
moveRepairToCurrent(id: string): Promise<void>;
|
|
12
|
+
moveArchiveToCurrent(id: string): Promise<void>;
|
|
13
|
+
moveRepairToApr(id: string): Promise<void>;
|
|
14
|
+
moveRepairToArchive(id: string): Promise<void>;
|
|
11
15
|
updateRepair(payload: Api_Update_Repair, id: string): Promise<void>;
|
|
12
16
|
deleteRepair(id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import ApiService, { ResponseApi } from '@/
|
|
2
|
-
import { Api_Tasks_Task_Dto } from '@/
|
|
1
|
+
import ApiService, { ResponseApi } from '@/api/settings/ApiService';
|
|
2
|
+
import { Api_Tasks_Task_Dto } from '@/api/types/Api_Tasks';
|
|
3
3
|
declare class TasksService extends ApiService {
|
|
4
4
|
fetchTaskById(id: string): Promise<ResponseApi<Api_Tasks_Task_Dto>>;
|
|
5
5
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import AppButton from '@/common/app-button/AppButton.vue';
|
|
2
|
+
import AppInput from '@/common/app-input/AppInput.vue';
|
|
3
|
+
import AppLayout from '@/common/app-layout/AppLayout.vue';
|
|
4
|
+
import AppSelect from '@/common/app-select/AppSelect.vue';
|
|
5
|
+
import useGanttService from '@/api/services/GanttService';
|
|
6
|
+
import useMetricsService from '@/api/services/MetricsService';
|
|
7
|
+
import AppWrapper from '@/common/app-wrapper/AppWrapper.vue';
|
|
8
|
+
export { AppButton, AppInput, AppLayout, AppSelect, AppWrapper };
|
|
9
|
+
export declare const api: {
|
|
10
|
+
useGanttService: typeof useGanttService;
|
|
11
|
+
useMetricsService: typeof useMetricsService;
|
|
12
|
+
};
|
package/package.json
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "shared-ritm",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"main": "dist/shared-ritm.umd.js",
|
|
9
|
-
"type": "module",
|
|
10
|
-
"module": "./dist/shared-ritm.es.js",
|
|
11
|
-
"types": "./dist/types/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"import": "./dist/shared-ritm.es.js",
|
|
15
|
-
"require": "./dist/shared-ritm.umd.js"
|
|
16
|
-
},
|
|
17
|
-
"./styles.css": "./dist/styles.css",
|
|
18
|
-
"./styles.scss": "./dist/styles.scss"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"dev": "vite",
|
|
22
|
-
"build": "vite build && tsc --emitDeclarationOnly",
|
|
23
|
-
"typecheck": "vue-tsc --noEmit",
|
|
24
|
-
"lint": "eslint
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"@
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@typescript-eslint/
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"eslint-config-prettier": "^
|
|
43
|
-
"eslint-
|
|
44
|
-
"eslint
|
|
45
|
-
"prettier": "^
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "shared-ritm",
|
|
3
|
+
"version": "1.0.13",
|
|
4
|
+
"private": false,
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "dist/shared-ritm.umd.js",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"module": "./dist/shared-ritm.es.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./dist/shared-ritm.es.js",
|
|
15
|
+
"require": "./dist/shared-ritm.umd.js"
|
|
16
|
+
},
|
|
17
|
+
"./styles.css": "./dist/styles.css",
|
|
18
|
+
"./styles.scss": "./dist/styles.scss"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "vite",
|
|
22
|
+
"build": "vite build && tsc --emitDeclarationOnly",
|
|
23
|
+
"typecheck": "vue-tsc --noEmit",
|
|
24
|
+
"lint": "eslint --fix",
|
|
25
|
+
"format": "prettier -w -u ."
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@quasar/extras": "^1.16.12",
|
|
29
|
+
"@vueuse/core": "^10.1.2",
|
|
30
|
+
"axios": "^1.7.7",
|
|
31
|
+
"quasar": "^2.17.1",
|
|
32
|
+
"vue": "^3.5.12"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@quasar/vite-plugin": "^1.8.0",
|
|
36
|
+
"@types/node": "^22.7.9",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
|
38
|
+
"@typescript-eslint/parser": "^4.25.0",
|
|
39
|
+
"@vitejs/plugin-vue": "^5.1.4",
|
|
40
|
+
"sass": "^1.80.4",
|
|
41
|
+
"@vue/compiler-sfc": "^3.0.5",
|
|
42
|
+
"@vue/eslint-config-prettier": "^6.0.0",
|
|
43
|
+
"@vue/eslint-config-typescript": "^7.0.0",
|
|
44
|
+
"eslint": "^7.27.0",
|
|
45
|
+
"eslint-plugin-prettier": "^3.4.0",
|
|
46
|
+
"eslint-plugin-vue": "^7.10.0",
|
|
47
|
+
"prettier": "^2.3.0",
|
|
48
|
+
"typescript": "^5.6.3",
|
|
49
|
+
"vite": "^5.4.9",
|
|
50
|
+
"vue-tsc": "^2.1.6"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|