andoncloud-workplaces-state-timelines-widget 1.1.9 → 1.2.0
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/components/SettingsFormContent/index.d.ts +5 -5
- package/dist/components/Timeline/index.d.ts +10 -10
- package/dist/components/Timeline/styled.d.ts +10 -11
- package/dist/components/TimelineLoader/index.d.ts +3 -3
- package/dist/components/Widget/index.d.ts +5 -5
- package/dist/components/Widget/utils.d.ts +12 -12
- package/dist/components/WidgetView/index.d.ts +4 -4
- package/dist/helpers.d.ts +3 -3
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/locales/index.d.ts +25 -25
- package/dist/stories/Widget.stories.d.ts +5 -3
- package/dist/types.d.ts +18 -18
- package/dist/version.d.ts +1 -1
- package/package.json +24 -23
package/dist/locales/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
declare const resources: {
|
|
2
|
-
en: {
|
|
3
|
-
translation: {
|
|
4
|
-
Loading: string;
|
|
5
|
-
Workplaces: string;
|
|
6
|
-
"Select and arrange the order": string;
|
|
7
|
-
Cancel: string;
|
|
8
|
-
Save: string;
|
|
9
|
-
"History timeline time info now": string;
|
|
10
|
-
Settings: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
pl: {
|
|
14
|
-
translation: {
|
|
15
|
-
Loading: string;
|
|
16
|
-
Workplaces: string;
|
|
17
|
-
"Select and arrange the order": string;
|
|
18
|
-
Cancel: string;
|
|
19
|
-
Save: string;
|
|
20
|
-
"History timeline time info now": string;
|
|
21
|
-
Settings: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export default resources;
|
|
1
|
+
declare const resources: {
|
|
2
|
+
en: {
|
|
3
|
+
translation: {
|
|
4
|
+
Loading: string;
|
|
5
|
+
Workplaces: string;
|
|
6
|
+
"Select and arrange the order": string;
|
|
7
|
+
Cancel: string;
|
|
8
|
+
Save: string;
|
|
9
|
+
"History timeline time info now": string;
|
|
10
|
+
Settings: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
pl: {
|
|
14
|
+
translation: {
|
|
15
|
+
Loading: string;
|
|
16
|
+
Workplaces: string;
|
|
17
|
+
"Select and arrange the order": string;
|
|
18
|
+
Cancel: string;
|
|
19
|
+
Save: string;
|
|
20
|
+
"History timeline time info now": string;
|
|
21
|
+
Settings: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default resources;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { ComponentMeta } from '@storybook/react';
|
|
2
|
+
import Widget from '../components/Widget';
|
|
3
|
+
declare const _default: ComponentMeta<typeof Widget>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: any;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import type { BaseWidgetData, BaseWidgetSettings,
|
|
2
|
-
import { BaseWidgetViewProps } from 'andoncloud-widget-base';
|
|
3
|
-
interface WidgetViewData {
|
|
4
|
-
shifts: Shift[];
|
|
5
|
-
workplaces:
|
|
6
|
-
statusChanges:
|
|
7
|
-
}
|
|
8
|
-
interface WidgetSettingsData {
|
|
9
|
-
workplaces:
|
|
10
|
-
}
|
|
11
|
-
export interface WidgetData extends BaseWidgetData, WidgetViewData, WidgetSettingsData {
|
|
12
|
-
}
|
|
13
|
-
export interface WidgetSettings extends BaseWidgetSettings {
|
|
14
|
-
workplacesIds: string[];
|
|
15
|
-
}
|
|
16
|
-
export interface WidgetViewProps extends BaseWidgetViewProps<WidgetData, WidgetSettings> {
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
1
|
+
import type { BaseWidgetData, BaseWidgetSettings, ListStatusChanges_StatusChange, ListWorkplaces_Workplace, Shift } from 'andoncloud-dashboard-toolkit';
|
|
2
|
+
import { BaseWidgetViewProps } from 'andoncloud-widget-base';
|
|
3
|
+
interface WidgetViewData {
|
|
4
|
+
shifts: Shift[];
|
|
5
|
+
workplaces: ListWorkplaces_Workplace[];
|
|
6
|
+
statusChanges: ListStatusChanges_StatusChange[];
|
|
7
|
+
}
|
|
8
|
+
interface WidgetSettingsData {
|
|
9
|
+
workplaces: ListWorkplaces_Workplace[];
|
|
10
|
+
}
|
|
11
|
+
export interface WidgetData extends BaseWidgetData, WidgetViewData, WidgetSettingsData {
|
|
12
|
+
}
|
|
13
|
+
export interface WidgetSettings extends BaseWidgetSettings {
|
|
14
|
+
workplacesIds: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface WidgetViewProps extends BaseWidgetViewProps<WidgetData, WidgetSettings> {
|
|
17
|
+
}
|
|
18
|
+
export {};
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.
|
|
1
|
+
export declare const LIBRARY_VERSION = "1.2.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "andoncloud-workplaces-state-timelines-widget",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Made with create-andoncloud-widget",
|
|
5
5
|
"author": "Adrian Olszewski",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"lint:ci": "eslint --ext .ts,.tsx --quiet .",
|
|
20
20
|
"i18n:extract": "i18next src/components/**/*.tsx [-oc]",
|
|
21
21
|
"prepare": "run-s build",
|
|
22
|
-
"update": "ncu -u && npm install --ignore-scripts && cd preview && ncu -u && npm install",
|
|
22
|
+
"update": "ncu --reject graphql-request -u && npm install --ignore-scripts && cd preview && ncu -u && npm install",
|
|
23
23
|
"version:bump": "npm version --no-git-tag-version patch"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -35,35 +35,36 @@
|
|
|
35
35
|
"react-i18next": "^12.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@emotion/react": "^11.
|
|
39
|
-
"@emotion/styled": "^11.
|
|
40
|
-
"@mui/icons-material": "^
|
|
41
|
-
"@mui/lab": "^
|
|
42
|
-
"@mui/material": "^
|
|
43
|
-
"andoncloud-dashboard-toolkit": "^1.
|
|
38
|
+
"@emotion/react": "^11.14.0",
|
|
39
|
+
"@emotion/styled": "^11.14.0",
|
|
40
|
+
"@mui/icons-material": "^6.4.0",
|
|
41
|
+
"@mui/lab": "^6.0.0-beta.23",
|
|
42
|
+
"@mui/material": "^6.4.0",
|
|
43
|
+
"andoncloud-dashboard-toolkit": "^1.3.6",
|
|
44
44
|
"andoncloud-library-scripts": "^1.0.9",
|
|
45
|
-
"andoncloud-sdk": "^1.
|
|
46
|
-
"andoncloud-widget-base": "^1.
|
|
45
|
+
"andoncloud-sdk": "^1.5.2",
|
|
46
|
+
"andoncloud-widget-base": "^1.2.0",
|
|
47
47
|
"eslint-config-andoncloud": "^1.0.0",
|
|
48
48
|
"graphql-request": "^6.1.0",
|
|
49
|
-
"i18next": "^
|
|
50
|
-
"mobx": "^6.
|
|
51
|
-
"mobx-react-lite": "^
|
|
52
|
-
"npm-check-updates": "^
|
|
49
|
+
"i18next": "^24.2.1",
|
|
50
|
+
"mobx": "^6.13.5",
|
|
51
|
+
"mobx-react-lite": "^4.1.0",
|
|
52
|
+
"npm-check-updates": "^17.1.14",
|
|
53
53
|
"npm-run-all": "^4.1.5",
|
|
54
|
-
"postcss": "^8.
|
|
55
|
-
"react": "^
|
|
56
|
-
"react-dom": "^
|
|
57
|
-
"react-i18next": "^
|
|
58
|
-
"react-router-dom": "^
|
|
59
|
-
"react-scripts": "^5.0.1"
|
|
54
|
+
"postcss": "^8.5.1",
|
|
55
|
+
"react": "^19.0.0",
|
|
56
|
+
"react-dom": "^19.0.0",
|
|
57
|
+
"react-i18next": "^15.4.0",
|
|
58
|
+
"react-router-dom": "^7.1.2",
|
|
59
|
+
"react-scripts": "^5.0.1",
|
|
60
|
+
"typescript": "^5.7.3"
|
|
60
61
|
},
|
|
61
62
|
"files": [
|
|
62
63
|
"dist"
|
|
63
64
|
],
|
|
64
65
|
"dependencies": {
|
|
65
|
-
"moment": "^2.
|
|
66
|
-
"react-content-loader": "^
|
|
67
|
-
"yup": "^1.
|
|
66
|
+
"moment": "^2.30.1",
|
|
67
|
+
"react-content-loader": "^7.0.2",
|
|
68
|
+
"yup": "^1.6.1"
|
|
68
69
|
}
|
|
69
70
|
}
|