andoncloud-workplaces-status-widget 1.2.0 → 1.2.2

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,32 +1,28 @@
1
1
  declare const resources: {
2
2
  en: {
3
3
  translation: {
4
- Loading: string;
5
4
  Green: string;
6
5
  Yellow: string;
7
6
  Red: string;
8
7
  Gray: string;
9
8
  Statuses: string;
10
9
  Workplaces: string;
11
- Cancel: string;
12
- Save: string;
13
- "Select and arrange the order": string;
14
- Settings: string;
10
+ "Select and arange the order": string;
11
+ AlternativeOrder: string;
12
+ Order: string;
15
13
  };
16
14
  };
17
15
  pl: {
18
16
  translation: {
19
- Loading: string;
20
17
  Green: string;
21
18
  Yellow: string;
22
19
  Red: string;
23
20
  Gray: string;
24
21
  Statuses: string;
25
22
  Workplaces: string;
26
- Cancel: string;
27
- Save: string;
28
- "Select and arrange the order": string;
29
- Settings: string;
23
+ "Select and arange the order": string;
24
+ AlternativeOrder: string;
25
+ Order: string;
30
26
  };
31
27
  };
32
28
  };
package/dist/types.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import type { BaseWidgetData, BaseWidgetSettings, CompanyConfig, ListStatusChangesQuery, Workplace } from 'andoncloud-dashboard-toolkit';
1
+ import type { BaseWidgetData, BaseWidgetSettings, CompanyConfig, ListStatusChanges_StatusChange, ListWorkplaces_Workplace } from 'andoncloud-dashboard-toolkit';
2
2
  import { BaseWidgetViewProps } from 'andoncloud-widget-base';
3
3
  interface WidgetViewData {
4
4
  companyConfig: CompanyConfig;
5
- workplaces: Workplace[];
6
- statusChanges: ListStatusChangesQuery['statusChanges'];
5
+ workplaces: ListWorkplaces_Workplace[];
6
+ statusChanges: ListStatusChanges_StatusChange[];
7
7
  }
8
8
  interface WidgetSettingsData {
9
- workplaces: Workplace[];
9
+ workplaces: ListWorkplaces_Workplace[];
10
10
  }
11
11
  export interface WidgetData extends BaseWidgetData, WidgetViewData, WidgetSettingsData {
12
12
  }
@@ -22,7 +22,7 @@ export interface StatusOption {
22
22
  }
23
23
  export interface WorkplaceStatusProps {
24
24
  companyConfig: CompanyConfig;
25
- workplace: Workplace;
26
- statusChange?: ListStatusChangesQuery['statusChanges'][0];
25
+ workplace: ListWorkplaces_Workplace;
26
+ statusChange?: ListStatusChanges_StatusChange;
27
27
  }
28
28
  export {};
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const LIBRARY_VERSION = "1.2.0";
1
+ export declare const LIBRARY_VERSION = "1.2.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "andoncloud-workplaces-status-widget",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Made with create-andoncloud-widget",
5
5
  "author": "Adrian Olszewski",
6
6
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  "@mui/material": "^6.4.0",
43
43
  "@types/moment-duration-format": "^2.2.6",
44
44
  "@types/react-text-truncate": "^0.19.0",
45
- "andoncloud-dashboard-toolkit": "^1.3.5",
45
+ "andoncloud-dashboard-toolkit": "^1.3.6",
46
46
  "andoncloud-library-scripts": "^1.0.9",
47
47
  "andoncloud-sdk": "^1.5.2",
48
48
  "andoncloud-widget-base": "^1.2.0",
@@ -51,13 +51,13 @@
51
51
  "i18next": "^24.2.1",
52
52
  "mobx": "^6.13.5",
53
53
  "mobx-react-lite": "^4.1.0",
54
- "npm-check-updates": "^17.1.13",
54
+ "npm-check-updates": "^17.1.14",
55
55
  "npm-run-all": "^4.1.5",
56
56
  "postcss": "^8.5.1",
57
57
  "react": "^19.0.0",
58
58
  "react-dom": "^19.0.0",
59
59
  "react-i18next": "^15.4.0",
60
- "react-router-dom": "^7.1.1",
60
+ "react-router-dom": "^7.1.2",
61
61
  "react-scripts": "^5.0.1",
62
62
  "typescript": "^5.7.3"
63
63
  },