@vanillabp/bc-shared 0.0.21 → 0.1.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.
|
@@ -55,7 +55,7 @@ const SseProvider = (_a) => {
|
|
|
55
55
|
url,
|
|
56
56
|
__spreadValues({
|
|
57
57
|
// since we use locking fetch-api the server has to sent an
|
|
58
|
-
// ping-message
|
|
58
|
+
// ping-message immediately, to make the client release the lock
|
|
59
59
|
fetch: buildFetchApi(),
|
|
60
60
|
headers: {
|
|
61
61
|
"cache-control": "no-cache"
|
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export { i18n } from './utils/i18n.js';
|
|
|
22
22
|
export { theme } from './theme/index.js';
|
|
23
23
|
export { UserTaskForm } from './types/UserTaskForm.js';
|
|
24
24
|
export { ColumnsOfUserTaskFunction, UserTaskListCell } from './types/UserTaskListCell.js';
|
|
25
|
-
export { Column,
|
|
25
|
+
export { Column, ListItem, ListItemStatus, Person } from './types/ListCell.js';
|
|
26
26
|
export { WorkflowPage } from './types/WorkflowPage.js';
|
|
27
27
|
export { ColumnsOfWorkflowFunction, WorkflowListCell } from './types/WorkflowListCell.js';
|
|
28
28
|
export { BcWorkflow, GetUserTasksFunction, NavigateToWorkflowFunction } from './types/BcWorkflow.js';
|
package/dist/types/ListCell.d.ts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
interface Title {
|
|
2
2
|
[key: string]: string;
|
|
3
3
|
}
|
|
4
|
-
declare type ColumnType = 'value' | 'i18n' | 'person' | 'date' | 'date-time' | 'time';
|
|
5
4
|
interface Column {
|
|
6
5
|
title: Title;
|
|
7
6
|
path: string;
|
|
8
|
-
type?:
|
|
7
|
+
type?: 'value' | 'i18n' | 'person' | 'date' | 'date-time' | 'time';
|
|
9
8
|
priority: number;
|
|
10
9
|
width: string;
|
|
11
10
|
show: boolean;
|
|
12
11
|
sortable: boolean;
|
|
13
12
|
filterable: boolean;
|
|
14
13
|
resizeable: boolean;
|
|
15
|
-
exportable?: boolean;
|
|
16
14
|
}
|
|
17
15
|
interface Person {
|
|
18
16
|
id: string;
|
|
@@ -40,4 +38,4 @@ interface ListItem<D> {
|
|
|
40
38
|
read?: Date;
|
|
41
39
|
}
|
|
42
40
|
|
|
43
|
-
export { Column,
|
|
41
|
+
export { Column, ListItem, ListItemStatus, Person };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { UserTaskForm } from './UserTaskForm.js';
|
|
2
2
|
export { ColumnsOfUserTaskFunction, UserTaskListCell } from './UserTaskListCell.js';
|
|
3
|
-
export { Column,
|
|
3
|
+
export { Column, ListItem, ListItemStatus, Person } from './ListCell.js';
|
|
4
4
|
export { WorkflowPage } from './WorkflowPage.js';
|
|
5
5
|
export { ColumnsOfWorkflowFunction, WorkflowListCell } from './WorkflowListCell.js';
|
|
6
6
|
export { BcWorkflow, GetUserTasksFunction, NavigateToWorkflowFunction } from './BcWorkflow.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vanillabp/bc-shared",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/vanillabp/business-cockpit.git"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@microsoft/fetch-event-source": "2.0.1",
|
|
20
|
-
"@vanillabp/bc-official-gui-client": "0.0
|
|
20
|
+
"@vanillabp/bc-official-gui-client": "0.1.0",
|
|
21
21
|
"react-cookie": "4.1.1",
|
|
22
22
|
"usehooks-ts": "2.7.1"
|
|
23
23
|
},
|