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.
@@ -1,4 +1,4 @@
1
- import ApiService, { ResponseApi } from '@/Api/ApiService';
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 '@/Api/ApiService';
2
- import { Api_Tasks_Task_Dto } from '@/Api/types/Api_Tasks';
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 '@/Api/ApiService';
2
- import { Api_Create_Repair_With_Equipments, Api_Equipment_Full_Dto, Api_Repair_Dto, Api_Update_Repair, OptionFilters } from '@/Api/types/Api_Repairs';
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 '@/Api/ApiService';
2
- import { Api_Tasks_Task_Dto } from '@/Api/types/Api_Tasks';
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
  }
@@ -0,0 +1,3 @@
1
+ import useGanttService from '@/api/services/GanttService';
2
+ import useMetricsService from '@/api/services/MetricsService';
3
+ export { useGanttService, useMetricsService };
@@ -1,3 +1,12 @@
1
- declare module 'shared-ritm';
2
- import AppButton from './common/app-button/AppButton.vue';
3
- export { AppButton };
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.11",
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 . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix"
25
- },
26
- "dependencies": {
27
- "@quasar/extras": "^1.16.12",
28
- "@vueuse/core": "^10.1.2",
29
- "axios": "^1.7.7",
30
- "quasar": "^2.17.1",
31
- "vue": "^3.5.12"
32
- },
33
- "devDependencies": {
34
- "@quasar/vite-plugin": "^1.8.0",
35
- "@types/node": "^22.7.9",
36
- "@typescript-eslint/eslint-plugin": "^5.4.0",
37
- "@typescript-eslint/parser": "^5.62.0",
38
- "@vitejs/plugin-vue": "^5.1.4",
39
- "@vue/compiler-sfc": "^3.2.6",
40
- "@vue/eslint-config-typescript": "^11.0.3",
41
- "eslint": "^8.57.0",
42
- "eslint-config-prettier": "^8.3.0",
43
- "eslint-plugin-prettier": "^4.0.0",
44
- "eslint-plugin-vue": "^9.8.0",
45
- "prettier": "^2.8.4",
46
- "sass": "^1.80.4",
47
- "sass-embedded": "^1.80.4",
48
- "tsc-alias": "^1.8.10",
49
- "typescript": "^5.6.3",
50
- "vite": "^5.4.9",
51
- "vue-tsc": "^2.1.6"
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