@evoke-platform/context 1.0.0-dev.1 → 1.0.0-dev.100
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/README.md +116 -3
- package/dist/api/ApiBaseUrlProvider.js +1 -2
- package/dist/api/apiServices.js +10 -9
- package/dist/api/callback.js +0 -1
- package/dist/api/index.js +0 -1
- package/dist/app/AppProvider.d.ts +2 -0
- package/dist/app/AppProvider.js +1 -2
- package/dist/app/index.js +0 -1
- package/dist/authentication/AuthenticationContextProvider.js +1 -2
- package/dist/authentication/index.js +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/notification/NotificationProvider.d.ts +33 -0
- package/dist/notification/NotificationProvider.js +134 -0
- package/dist/notification/index.d.ts +2 -0
- package/dist/notification/index.js +2 -0
- package/dist/objects/filters.js +0 -1
- package/dist/objects/index.js +0 -1
- package/dist/objects/objects.d.ts +242 -14
- package/dist/objects/objects.js +2 -3
- package/dist/router/index.js +0 -1
- package/dist/router/navigation.js +0 -1
- package/dist/router/routeParams.js +0 -1
- package/dist/signalr/SignalRConnectionProvider.js +2 -3
- package/dist/signalr/index.js +0 -1
- package/package.json +19 -17
- package/dist/api/ApiBaseUrlProvider.js.map +0 -1
- package/dist/api/apiServices.js.map +0 -1
- package/dist/api/callback.js.map +0 -1
- package/dist/api/index.js.map +0 -1
- package/dist/app/AppProvider.js.map +0 -1
- package/dist/app/index.js.map +0 -1
- package/dist/authentication/AuthenticationContextProvider.js.map +0 -1
- package/dist/authentication/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/objects/filters.js.map +0 -1
- package/dist/objects/index.js.map +0 -1
- package/dist/objects/objects.js.map +0 -1
- package/dist/router/index.js.map +0 -1
- package/dist/router/navigation.js.map +0 -1
- package/dist/router/routeParams.js.map +0 -1
- package/dist/signalr/SignalRConnectionProvider.js.map +0 -1
- package/dist/signalr/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -68,7 +68,8 @@ const results = await applications.findInstances();
|
|
|
68
68
|
|
|
69
69
|
##### `get(options)`
|
|
70
70
|
|
|
71
|
-
Get the object definition for this store's object.
|
|
71
|
+
Get the object definition for this store's object. The returned object includes inherited properties and actions if
|
|
72
|
+
this object is derived from another object.
|
|
72
73
|
|
|
73
74
|
- `options` _[object]_ - _optional_
|
|
74
75
|
- `sanitized` _[boolean]_
|
|
@@ -198,9 +199,11 @@ absolute URL.
|
|
|
198
199
|
|
|
199
200
|
### SignalR Connection
|
|
200
201
|
|
|
202
|
+
Deprecated
|
|
203
|
+
|
|
201
204
|
- [useSignalRConnection](#usesignalrconnection)
|
|
202
|
-
- [documentChanges](#
|
|
203
|
-
- [instanceChanges](#
|
|
205
|
+
- [documentChanges](#documentchangessubscribeobjectidinstanceid-data-documentchange)
|
|
206
|
+
- [instanceChanges](#instancechangessubscribeobjectid-instanceids-instancechange)
|
|
204
207
|
|
|
205
208
|
#### `useSignalRConnection()`
|
|
206
209
|
|
|
@@ -218,6 +221,18 @@ documentChanges.subscribe('myObjectId/myInstanceId', (data) => {
|
|
|
218
221
|
});
|
|
219
222
|
```
|
|
220
223
|
|
|
224
|
+
The data provided to the callback will be an array of `DocumentChange` which contains the
|
|
225
|
+
following data:
|
|
226
|
+
|
|
227
|
+
- `objectId`
|
|
228
|
+
- Object describing the instance associated with the updated document.
|
|
229
|
+
- `instanceId`
|
|
230
|
+
- Instance that the updated document is associated with.
|
|
231
|
+
- `documentId`
|
|
232
|
+
- Document that was updated.
|
|
233
|
+
- `type`
|
|
234
|
+
- The type of update. Possible values are `BlobCreated`, `BlobDeleted`, and `BlobMetadataUpdated`.
|
|
235
|
+
|
|
221
236
|
##### `documentChanges.unsubscribe('{objectId}/{instanceId}', (data: DocumentChange[]) => {})`
|
|
222
237
|
|
|
223
238
|
Unsubscribe to the specified object instance document changes.
|
|
@@ -250,6 +265,8 @@ instanceChanges.subscribe('myObjectId', (instanceIds) => {
|
|
|
250
265
|
});
|
|
251
266
|
```
|
|
252
267
|
|
|
268
|
+
The data provided to the callback will be an array of instance IDs that were updated.
|
|
269
|
+
|
|
253
270
|
##### `instanceChanges.unsubscribe('{objectId}', (instanceIds: InstanceChange[]) => {})`
|
|
254
271
|
|
|
255
272
|
Unsubscribe to the specified object instance changes.
|
|
@@ -270,6 +287,102 @@ instanceChanges.subscribe('myObjectId', callback);
|
|
|
270
287
|
instanceChanges.unsubscribe('myObjectId', callback);
|
|
271
288
|
```
|
|
272
289
|
|
|
290
|
+
### Notification
|
|
291
|
+
|
|
292
|
+
- [useNofitication](#usenotification)
|
|
293
|
+
- [documentChanges](#documentchangessubscribeobjectidinstanceid-data-documentchange)
|
|
294
|
+
- [instanceChanges](#instancechangessubscribeobjectid-instanceids-instancechange)
|
|
295
|
+
|
|
296
|
+
#### `useNofitication()`
|
|
297
|
+
|
|
298
|
+
Hook used to obtain an instanceChanges instance and a documentChanges instance.
|
|
299
|
+
|
|
300
|
+
##### `documentChanges.subscribe(objectId, instanceId, (data: DocumentChange[]]) => {})`
|
|
301
|
+
|
|
302
|
+
Subscribe to the specified object instance changes.
|
|
303
|
+
|
|
304
|
+
```javascript
|
|
305
|
+
const { documentChanges } = useNotification();
|
|
306
|
+
|
|
307
|
+
documentChanges.subscribe('myObjectId', 'myInstanceId', (data) => {
|
|
308
|
+
console.log(data);
|
|
309
|
+
});
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
The data provided to the callback will be an array of `DocumentChange` which contains the
|
|
313
|
+
following data:
|
|
314
|
+
|
|
315
|
+
- `objectId`
|
|
316
|
+
- Object describing the instance associated with the updated document.
|
|
317
|
+
- `instanceId`
|
|
318
|
+
- Instance that the updated document is associated with.
|
|
319
|
+
- `documentId`
|
|
320
|
+
- Document that was updated.
|
|
321
|
+
- `type`
|
|
322
|
+
- The type of update. Possible values are `BlobCreated`, `BlobDeleted`, and `BlobMetadataUpdated`.
|
|
323
|
+
|
|
324
|
+
##### `documentChanges.unsubscribe(objectId, instanceId, (changes: DocumentChange[]) => {})`
|
|
325
|
+
|
|
326
|
+
Unsubscribe to the specified object instance changes.
|
|
327
|
+
|
|
328
|
+
Callback function is optional.
|
|
329
|
+
If callback function is not defined, all subscriptions will be removed.
|
|
330
|
+
If callback function is defined, you must pass the exact same Function instance as was previously passed to `documentChanges.subscribe`.
|
|
331
|
+
Passing a different instance (even if the function body is the same) will not remove the subscription.
|
|
332
|
+
|
|
333
|
+
```javascript
|
|
334
|
+
const { documentChanges } = useNotification();
|
|
335
|
+
|
|
336
|
+
const callback = (changes: DocumentChange[]) => {
|
|
337
|
+
console.log(changes);
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
documentChanges.subscribe('myObjectId', 'myInstanceId', callback);
|
|
341
|
+
|
|
342
|
+
documentChanges.unsubscribe('myObjectId', 'myInstanceId', callback);
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
##### `instanceChanges.subscribe(objectId, (changes: InstanceChange[]) => {})`
|
|
346
|
+
|
|
347
|
+
Subscribe to the specified object changes.
|
|
348
|
+
|
|
349
|
+
```javascript
|
|
350
|
+
const { instanceChanges } = useNotification();
|
|
351
|
+
|
|
352
|
+
instanceChanges.subscribe('myObjectId', (changes) => {
|
|
353
|
+
console.log(changes);
|
|
354
|
+
});
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
The data provided to the callback will be an array of `InstanceChange` which contains the
|
|
358
|
+
following data:
|
|
359
|
+
|
|
360
|
+
- `objectId`
|
|
361
|
+
- Object describing the instance associated with the updated document.
|
|
362
|
+
- `instanceId`
|
|
363
|
+
- Instance that the updated document is associated with.
|
|
364
|
+
|
|
365
|
+
##### `instanceChanges.unsubscribe(objectId, (changes: InstanceChange[]) => {})`
|
|
366
|
+
|
|
367
|
+
Unsubscribe to the specified object changes.
|
|
368
|
+
|
|
369
|
+
Callback function is optional.
|
|
370
|
+
If callback function is not defined, all subscriptions will be removed.
|
|
371
|
+
If callback function is defined, you must pass the exact same Function instance as was previously passed to `instanceChanges.subscribe`.
|
|
372
|
+
Passing a different instance (even if the function body is the same) will not remove the subscription.
|
|
373
|
+
|
|
374
|
+
```javascript
|
|
375
|
+
const { instanceChanges } = useNotification();
|
|
376
|
+
|
|
377
|
+
const callback = (changes: InstanceChange[]) => {
|
|
378
|
+
console.log(changes);
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
instanceChanges.subscribe('myObjectId', callback);
|
|
382
|
+
|
|
383
|
+
instanceChanges.unsubscribe('myObjectId', callback);
|
|
384
|
+
```
|
|
385
|
+
|
|
273
386
|
## License
|
|
274
387
|
|
|
275
388
|
[MIT](https://github.com/Evoke-Platform/evoke-sdk/blob/main/LICENSE)
|
|
@@ -7,10 +7,9 @@ const ApiBaseUrlContext = createContext(`${(_a = globalThis.location) === null |
|
|
|
7
7
|
ApiBaseUrlContext.displayName = 'ApiBaseUrlContext';
|
|
8
8
|
function ApiBaseUrlProvider(props) {
|
|
9
9
|
const { url, children } = props;
|
|
10
|
-
return _jsx(ApiBaseUrlContext.Provider,
|
|
10
|
+
return _jsx(ApiBaseUrlContext.Provider, { value: url, children: children });
|
|
11
11
|
}
|
|
12
12
|
export function useApiBaseUrl() {
|
|
13
13
|
return useContext(ApiBaseUrlContext);
|
|
14
14
|
}
|
|
15
15
|
export default ApiBaseUrlProvider;
|
|
16
|
-
//# sourceMappingURL=ApiBaseUrlProvider.js.map
|
package/dist/api/apiServices.js
CHANGED
|
@@ -13,18 +13,20 @@ import axios from 'axios';
|
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
14
|
import { useAuthenticationContext } from '../authentication/AuthenticationContextProvider.js';
|
|
15
15
|
import { useApiBaseUrl } from './ApiBaseUrlProvider.js';
|
|
16
|
+
import { v4 as uuidv4 } from 'uuid';
|
|
17
|
+
const sessionId = uuidv4();
|
|
16
18
|
export class ApiServices {
|
|
17
19
|
constructor(api, authContext) {
|
|
18
20
|
this.api = api;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
this.api.interceptors.request.use((config) => __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
const headers = { 'X-Session-Id': sessionId };
|
|
23
|
+
if (authContext) {
|
|
21
24
|
const token = yield authContext.getAccessToken();
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
25
|
+
headers['Authorization'] = `Bearer ${token}`;
|
|
26
|
+
}
|
|
27
|
+
config.headers = Object.assign({}, config.headers, headers);
|
|
28
|
+
return config;
|
|
29
|
+
}));
|
|
28
30
|
}
|
|
29
31
|
promiseOrCallback(promise, cb) {
|
|
30
32
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -144,4 +146,3 @@ export function useApiServices() {
|
|
|
144
146
|
const apiServices = useMemo(() => new ApiServices(axios.create({ baseURL }), authContext), [authContext, baseURL]);
|
|
145
147
|
return apiServices;
|
|
146
148
|
}
|
|
147
|
-
//# sourceMappingURL=apiServices.js.map
|
package/dist/api/callback.js
CHANGED
package/dist/api/index.js
CHANGED
|
@@ -10,10 +10,12 @@ export type App = {
|
|
|
10
10
|
iconColor?: string;
|
|
11
11
|
pages?: Page[];
|
|
12
12
|
navigation?: NavigationMenu;
|
|
13
|
+
defaultPages?: Record<string, string>;
|
|
13
14
|
};
|
|
14
15
|
export type Page = {
|
|
15
16
|
id: string;
|
|
16
17
|
name: string;
|
|
18
|
+
slug?: string;
|
|
17
19
|
children?: PageElement[];
|
|
18
20
|
};
|
|
19
21
|
export type PageElement = Container | Widget;
|
package/dist/app/AppProvider.js
CHANGED
|
@@ -7,10 +7,9 @@ const AppContext = createContext(defaultApp);
|
|
|
7
7
|
AppContext.displayName = 'AppContext';
|
|
8
8
|
function AppProvider(props) {
|
|
9
9
|
const { app, children } = props;
|
|
10
|
-
return _jsx(AppContext.Provider,
|
|
10
|
+
return _jsx(AppContext.Provider, { value: app, children: children });
|
|
11
11
|
}
|
|
12
12
|
export function useApp() {
|
|
13
13
|
return useContext(AppContext);
|
|
14
14
|
}
|
|
15
15
|
export default AppProvider;
|
|
16
|
-
//# sourceMappingURL=AppProvider.js.map
|
package/dist/app/index.js
CHANGED
|
@@ -36,10 +36,9 @@ function AuthenticationContextProvider(props) {
|
|
|
36
36
|
getAccessToken,
|
|
37
37
|
}
|
|
38
38
|
: undefined, [account, msal, getAccessToken]);
|
|
39
|
-
return _jsx(Context.Provider,
|
|
39
|
+
return _jsx(Context.Provider, { value: context, children: children });
|
|
40
40
|
}
|
|
41
41
|
export function useAuthenticationContext() {
|
|
42
42
|
return useContext(Context);
|
|
43
43
|
}
|
|
44
44
|
export default AuthenticationContextProvider;
|
|
45
|
-
//# sourceMappingURL=AuthenticationContextProvider.js.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export * from './api/index.js';
|
|
4
4
|
export * from './app/index.js';
|
|
5
5
|
export * from './authentication/index.js';
|
|
6
|
+
export * from './notification/index.js';
|
|
6
7
|
export * from './objects/index.js';
|
|
7
8
|
export * from './router/index.js';
|
|
8
9
|
export * from './signalr/index.js';
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type NotificationConnectionInfo = {
|
|
3
|
+
url: string;
|
|
4
|
+
accessToken: string;
|
|
5
|
+
};
|
|
6
|
+
export type InstanceSubscription = {
|
|
7
|
+
subscribe: (objectId: string, callback: (...args: NotificationInstanceChange[]) => void) => void;
|
|
8
|
+
unsubscribe: (objectId: string, callback?: (...args: NotificationInstanceChange[]) => void) => void;
|
|
9
|
+
};
|
|
10
|
+
export type DocumentSubscription = {
|
|
11
|
+
subscribe: (objectId: string, instanceId: string | undefined, callback: (...args: NotificationDocumentChange[]) => void) => void;
|
|
12
|
+
unsubscribe: (objectId: string, instanceId: string | undefined, callback?: (...args: NotificationDocumentChange[]) => void) => void;
|
|
13
|
+
};
|
|
14
|
+
export type NotificationDocumentChange = {
|
|
15
|
+
objectId: string;
|
|
16
|
+
instanceId: string;
|
|
17
|
+
documentId: string;
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
export type NotificationInstanceChange = {
|
|
21
|
+
objectId: string;
|
|
22
|
+
instanceId: string;
|
|
23
|
+
};
|
|
24
|
+
export type NotificationContextType = {
|
|
25
|
+
documentChanges?: DocumentSubscription;
|
|
26
|
+
instanceChanges?: InstanceSubscription;
|
|
27
|
+
};
|
|
28
|
+
export declare const NotificationContext: React.Context<NotificationContextType>;
|
|
29
|
+
declare function NotificationProvider({ children }: {
|
|
30
|
+
children: React.ReactNode;
|
|
31
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function useNotification(): NotificationContextType;
|
|
33
|
+
export default NotificationProvider;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
import { HubConnectionBuilder, LogLevel, } from '@microsoft/signalr/dist/esm/index.js';
|
|
12
|
+
import { createContext, useContext, useEffect, useState } from 'react';
|
|
13
|
+
import { useApiServices } from '../api/index.js';
|
|
14
|
+
export const NotificationContext = createContext({});
|
|
15
|
+
NotificationContext.displayName = 'NotificationContext';
|
|
16
|
+
function NotificationProvider({ children }) {
|
|
17
|
+
const [instancesNotification, setInstancesNotification] = useState();
|
|
18
|
+
const [documentsNotification, setDocumentsNotification] = useState();
|
|
19
|
+
const api = useApiServices();
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
const getConnectionInfo = (hubName) => {
|
|
22
|
+
return api.post(`/notification/hubs/${hubName}/negotiate`);
|
|
23
|
+
};
|
|
24
|
+
const getConnection = () => __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
try {
|
|
26
|
+
const instancesConnectionInfo = yield getConnectionInfo('instanceChanges');
|
|
27
|
+
const documentsConnectionInfo = yield getConnectionInfo('documentChanges');
|
|
28
|
+
if (instancesConnectionInfo) {
|
|
29
|
+
const options = {
|
|
30
|
+
accessTokenFactory: () => {
|
|
31
|
+
var _a;
|
|
32
|
+
return (_a = instancesConnectionInfo.accessToken) !== null && _a !== void 0 ? _a : '';
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
const connection = new HubConnectionBuilder()
|
|
36
|
+
.withUrl(instancesConnectionInfo.url, options)
|
|
37
|
+
.configureLogging(LogLevel.Error)
|
|
38
|
+
.withAutomaticReconnect()
|
|
39
|
+
.build();
|
|
40
|
+
setInstancesNotification(connection);
|
|
41
|
+
}
|
|
42
|
+
if (documentsConnectionInfo) {
|
|
43
|
+
const options = {
|
|
44
|
+
accessTokenFactory: () => {
|
|
45
|
+
var _a;
|
|
46
|
+
return (_a = documentsConnectionInfo.accessToken) !== null && _a !== void 0 ? _a : '';
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
const connection = new HubConnectionBuilder()
|
|
50
|
+
.withUrl(documentsConnectionInfo.url, options)
|
|
51
|
+
.configureLogging(LogLevel.Error)
|
|
52
|
+
.withAutomaticReconnect()
|
|
53
|
+
.build();
|
|
54
|
+
setDocumentsNotification(connection);
|
|
55
|
+
}
|
|
56
|
+
// eslint-disable-next-line no-empty
|
|
57
|
+
}
|
|
58
|
+
catch (err) {
|
|
59
|
+
console.log(err);
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
getConnection();
|
|
63
|
+
}, []);
|
|
64
|
+
useEffect(() => {
|
|
65
|
+
let documentsConnectionStopped = false;
|
|
66
|
+
const startConnection = (connection, numOfAttempts) => __awaiter(this, void 0, void 0, function* () {
|
|
67
|
+
yield connection.start().catch((error) => {
|
|
68
|
+
if (numOfAttempts < 4 && !documentsConnectionStopped) {
|
|
69
|
+
setTimeout(() => {
|
|
70
|
+
if (!documentsConnectionStopped) {
|
|
71
|
+
startConnection(connection, numOfAttempts + 1);
|
|
72
|
+
}
|
|
73
|
+
}, 2000);
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
console.warn(`Cannot start connection to Notification Service due to error "${error}"`);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
if (documentsNotification) {
|
|
81
|
+
startConnection(documentsNotification, 0);
|
|
82
|
+
}
|
|
83
|
+
return () => {
|
|
84
|
+
documentsNotification === null || documentsNotification === void 0 ? void 0 : documentsNotification.stop();
|
|
85
|
+
documentsConnectionStopped = true;
|
|
86
|
+
};
|
|
87
|
+
}, [documentsNotification]);
|
|
88
|
+
useEffect(() => {
|
|
89
|
+
let instancesConnectionStopped = false;
|
|
90
|
+
const startConnection = (connection, numOfAttempts) => __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
yield connection.start().catch((error) => {
|
|
92
|
+
if (numOfAttempts < 4 && !instancesConnectionStopped) {
|
|
93
|
+
setTimeout(() => {
|
|
94
|
+
if (!instancesConnectionStopped) {
|
|
95
|
+
startConnection(connection, numOfAttempts + 1);
|
|
96
|
+
}
|
|
97
|
+
}, 2000);
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
console.warn(`Cannot start connection to Notification Service due to error "${error}"`);
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
if (instancesNotification) {
|
|
105
|
+
startConnection(instancesNotification, 0);
|
|
106
|
+
}
|
|
107
|
+
return () => {
|
|
108
|
+
instancesNotification === null || instancesNotification === void 0 ? void 0 : instancesNotification.stop();
|
|
109
|
+
instancesConnectionStopped = true;
|
|
110
|
+
};
|
|
111
|
+
}, [instancesNotification]);
|
|
112
|
+
return (_jsx(NotificationContext.Provider, { value: {
|
|
113
|
+
documentChanges: documentsNotification
|
|
114
|
+
? {
|
|
115
|
+
subscribe: (objectId, instanceId, callback) => documentsNotification.on(`${objectId}/${instanceId}`, callback),
|
|
116
|
+
unsubscribe: (objectId, instanceId, callback) => callback
|
|
117
|
+
? documentsNotification.off(`${objectId}/${instanceId}`, callback)
|
|
118
|
+
: documentsNotification.off(`${objectId}/${instanceId}`),
|
|
119
|
+
}
|
|
120
|
+
: undefined,
|
|
121
|
+
instanceChanges: instancesNotification
|
|
122
|
+
? {
|
|
123
|
+
subscribe: (objectId, callback) => instancesNotification.on(objectId, callback),
|
|
124
|
+
unsubscribe: (objectId, callback) => callback
|
|
125
|
+
? instancesNotification.off(objectId, callback)
|
|
126
|
+
: instancesNotification.off(objectId),
|
|
127
|
+
}
|
|
128
|
+
: undefined,
|
|
129
|
+
}, children: children }));
|
|
130
|
+
}
|
|
131
|
+
export function useNotification() {
|
|
132
|
+
return useContext(NotificationContext);
|
|
133
|
+
}
|
|
134
|
+
export default NotificationProvider;
|
package/dist/objects/filters.js
CHANGED
package/dist/objects/index.js
CHANGED
|
@@ -1,29 +1,105 @@
|
|
|
1
1
|
import { ApiServices, Callback } from '../api/index.js';
|
|
2
2
|
import { Filter } from './filters.js';
|
|
3
|
+
export type BaseObjReference = {
|
|
4
|
+
objectId: string;
|
|
5
|
+
discriminatorValue: unknown;
|
|
6
|
+
};
|
|
7
|
+
export type ViewLayout = {
|
|
8
|
+
table?: TableViewLayout;
|
|
9
|
+
dropdown?: DropdownViewLayout;
|
|
10
|
+
};
|
|
11
|
+
export type DropdownViewLayout = {
|
|
12
|
+
secondaryTextExpression: string;
|
|
13
|
+
};
|
|
14
|
+
export type TableViewLayout = {
|
|
15
|
+
properties: PropertyReference[];
|
|
16
|
+
sort?: Sort;
|
|
17
|
+
};
|
|
18
|
+
export type PropertyReference = {
|
|
19
|
+
id: string;
|
|
20
|
+
format?: string;
|
|
21
|
+
};
|
|
22
|
+
export type Sort = {
|
|
23
|
+
colId: string;
|
|
24
|
+
sort?: 'asc' | 'desc';
|
|
25
|
+
};
|
|
3
26
|
export type Obj = {
|
|
4
27
|
id: string;
|
|
5
28
|
name: string;
|
|
29
|
+
typeDiscriminatorProperty?: string;
|
|
30
|
+
viewLayout?: ViewLayout;
|
|
31
|
+
baseObject?: BaseObjReference;
|
|
6
32
|
properties?: Property[];
|
|
7
33
|
actions?: Action[];
|
|
8
34
|
};
|
|
9
|
-
export type
|
|
35
|
+
export type ObjWithRoot = Obj & {
|
|
36
|
+
rootObjectId: string;
|
|
37
|
+
};
|
|
38
|
+
export type PropertyType = 'address' | 'array' | 'boolean' | 'collection' | 'date' | 'date-time' | 'image' | 'integer' | 'number' | 'object' | 'richText' | 'string' | 'time' | 'user';
|
|
39
|
+
export type NumericValidation = {
|
|
40
|
+
errorMessage?: string;
|
|
41
|
+
minimum?: number;
|
|
42
|
+
maximum?: number;
|
|
43
|
+
};
|
|
44
|
+
export type DateValidation = {
|
|
45
|
+
errorMessage?: string;
|
|
46
|
+
to?: string;
|
|
47
|
+
from?: string;
|
|
48
|
+
};
|
|
49
|
+
export type CriteriaValidation = {
|
|
50
|
+
criteria?: Record<string, unknown>;
|
|
51
|
+
};
|
|
52
|
+
export type StringValidation = {
|
|
53
|
+
operator: 'any' | 'all';
|
|
54
|
+
rules?: {
|
|
55
|
+
regex: string;
|
|
56
|
+
errorMessage?: string;
|
|
57
|
+
}[];
|
|
58
|
+
};
|
|
59
|
+
export type PropertyValidation = StringValidation | NumericValidation | DateValidation | CriteriaValidation;
|
|
10
60
|
export type Property = {
|
|
11
61
|
id: string;
|
|
12
62
|
name: string;
|
|
13
63
|
type: PropertyType;
|
|
14
64
|
enum?: string[];
|
|
15
65
|
objectId?: string;
|
|
66
|
+
relatedPropertyId?: string;
|
|
16
67
|
required?: boolean;
|
|
17
68
|
searchable?: boolean;
|
|
18
69
|
formula?: string;
|
|
70
|
+
formulaType?: 'aggregate' | 'custom' | 'arithmetic';
|
|
71
|
+
mask?: string;
|
|
72
|
+
validation?: PropertyValidation;
|
|
73
|
+
manyToManyPropertyId?: string;
|
|
74
|
+
textTransform?: 'titleCase' | 'upperCase' | 'lowerCase' | 'sentenceCase';
|
|
19
75
|
};
|
|
20
76
|
export type ActionType = 'create' | 'update' | 'delete';
|
|
77
|
+
export type InputStringValidation = StringValidation & {
|
|
78
|
+
minLength?: number;
|
|
79
|
+
maxLength?: number;
|
|
80
|
+
mask?: string;
|
|
81
|
+
};
|
|
82
|
+
export type InputParameter = {
|
|
83
|
+
id: string;
|
|
84
|
+
name?: string;
|
|
85
|
+
type: PropertyType;
|
|
86
|
+
required?: boolean;
|
|
87
|
+
enum?: string[];
|
|
88
|
+
validation?: PropertyValidation | InputStringValidation;
|
|
89
|
+
objectId?: string;
|
|
90
|
+
relatedPropertyId?: string;
|
|
91
|
+
manyToManyPropertyId?: string;
|
|
92
|
+
};
|
|
21
93
|
export type Action = {
|
|
22
94
|
id: string;
|
|
23
95
|
name: string;
|
|
24
96
|
type: ActionType;
|
|
25
97
|
outputEvent: string;
|
|
26
|
-
inputProperties?:
|
|
98
|
+
inputProperties?: ActionInput[];
|
|
99
|
+
parameters?: InputParameter[];
|
|
100
|
+
form?: Form;
|
|
101
|
+
customCode?: string;
|
|
102
|
+
preconditions?: object;
|
|
27
103
|
};
|
|
28
104
|
export type ObjectInstance = {
|
|
29
105
|
id: string;
|
|
@@ -31,6 +107,158 @@ export type ObjectInstance = {
|
|
|
31
107
|
name: string;
|
|
32
108
|
[key: string]: unknown;
|
|
33
109
|
};
|
|
110
|
+
export type RegexValidation = {
|
|
111
|
+
regex: string;
|
|
112
|
+
errorMessage: string;
|
|
113
|
+
};
|
|
114
|
+
export type SelectOption = {
|
|
115
|
+
label: string;
|
|
116
|
+
value: string;
|
|
117
|
+
};
|
|
118
|
+
export type VisibilityConfiguration = {
|
|
119
|
+
operator?: 'any' | 'all';
|
|
120
|
+
conditions?: {
|
|
121
|
+
property: string;
|
|
122
|
+
operator: 'eq' | 'neq';
|
|
123
|
+
value: string | number | boolean;
|
|
124
|
+
}[];
|
|
125
|
+
};
|
|
126
|
+
export type RelatedObjectDefaultValue = {
|
|
127
|
+
criteria: Record<string, unknown>;
|
|
128
|
+
sortBy?: string;
|
|
129
|
+
orderBy?: 'asc' | 'desc' | 'ASC' | 'DESC';
|
|
130
|
+
};
|
|
131
|
+
export type DisplayConfiguration = {
|
|
132
|
+
label?: string;
|
|
133
|
+
placeholder?: string;
|
|
134
|
+
required?: boolean;
|
|
135
|
+
description?: string;
|
|
136
|
+
defaultValue?: string | number | string[] | RelatedObjectDefaultValue;
|
|
137
|
+
readOnly?: boolean;
|
|
138
|
+
tooltip?: string;
|
|
139
|
+
prefix?: string;
|
|
140
|
+
suffix?: string;
|
|
141
|
+
placeholderChar?: string;
|
|
142
|
+
rowCount?: number;
|
|
143
|
+
charCount?: boolean;
|
|
144
|
+
mode?: 'default' | 'existingOnly';
|
|
145
|
+
relatedObjectDisplay?: 'dropdown' | 'dialogBox';
|
|
146
|
+
visibility?: VisibilityConfiguration | string;
|
|
147
|
+
};
|
|
148
|
+
export type InputParameterReference = {
|
|
149
|
+
type: 'input';
|
|
150
|
+
parameterId: string;
|
|
151
|
+
display?: DisplayConfiguration;
|
|
152
|
+
enumWithLabels?: SelectOption[];
|
|
153
|
+
};
|
|
154
|
+
export type Content = {
|
|
155
|
+
type: 'content';
|
|
156
|
+
html: string;
|
|
157
|
+
visibility?: VisibilityConfiguration | string;
|
|
158
|
+
};
|
|
159
|
+
export type Column = {
|
|
160
|
+
width: number;
|
|
161
|
+
entries?: FormEntry[];
|
|
162
|
+
};
|
|
163
|
+
export type Columns = {
|
|
164
|
+
type: 'columns';
|
|
165
|
+
columns: Column[];
|
|
166
|
+
visibility?: VisibilityConfiguration | string;
|
|
167
|
+
};
|
|
168
|
+
export type Section = {
|
|
169
|
+
label: string;
|
|
170
|
+
entries?: FormEntry[];
|
|
171
|
+
};
|
|
172
|
+
export type Sections = {
|
|
173
|
+
type: 'sections';
|
|
174
|
+
sections: Section[];
|
|
175
|
+
visibility?: VisibilityConfiguration | string;
|
|
176
|
+
};
|
|
177
|
+
export type FormEntry = InputParameterReference | Columns | Sections | Content;
|
|
178
|
+
export type Form = {
|
|
179
|
+
entries?: FormEntry[];
|
|
180
|
+
};
|
|
181
|
+
export type ActionInputType = 'button' | 'Section' | 'Columns' | 'Content' | 'Select' | 'TextField' | 'DateTime' | 'RepeatableField' | 'MultiSelect' | 'Decimal' | 'RichText' | 'Date' | 'Integer' | 'Image' | 'Object' | 'Time' | 'User';
|
|
182
|
+
/**
|
|
183
|
+
* Represents an object action inputProperty object.
|
|
184
|
+
*/
|
|
185
|
+
export type ActionInput = {
|
|
186
|
+
id?: string;
|
|
187
|
+
label?: string;
|
|
188
|
+
type?: ActionInputType;
|
|
189
|
+
key?: string;
|
|
190
|
+
initialValue?: string | number | SelectOption[] | SelectOption;
|
|
191
|
+
defaultToCurrentDate?: boolean;
|
|
192
|
+
defaultToCurrentTime?: boolean;
|
|
193
|
+
defaultValueCriteria?: object;
|
|
194
|
+
sortBy?: string;
|
|
195
|
+
orderBy?: 'asc' | 'desc' | 'ASC' | 'DESC';
|
|
196
|
+
html?: string;
|
|
197
|
+
labelPosition?: string;
|
|
198
|
+
placeholder?: string;
|
|
199
|
+
description?: string;
|
|
200
|
+
tooltip?: string;
|
|
201
|
+
prefix?: string;
|
|
202
|
+
suffix?: string;
|
|
203
|
+
data?: {
|
|
204
|
+
/**
|
|
205
|
+
* An array of values required for select options.
|
|
206
|
+
*/
|
|
207
|
+
values?: SelectOption[];
|
|
208
|
+
};
|
|
209
|
+
inputMask?: string;
|
|
210
|
+
inputMaskPlaceholderChar?: string;
|
|
211
|
+
tableView?: boolean;
|
|
212
|
+
mode?: 'default' | 'existingOnly';
|
|
213
|
+
displayOption?: 'dropdown' | 'dialogBox';
|
|
214
|
+
rows?: number;
|
|
215
|
+
showCharCount?: boolean;
|
|
216
|
+
readOnly?: boolean;
|
|
217
|
+
isMultiLineText?: boolean;
|
|
218
|
+
verticalLayout?: boolean;
|
|
219
|
+
input?: boolean;
|
|
220
|
+
widget?: string;
|
|
221
|
+
conditional?: {
|
|
222
|
+
json?: string;
|
|
223
|
+
show?: boolean;
|
|
224
|
+
when?: string;
|
|
225
|
+
eq?: string | number | boolean;
|
|
226
|
+
};
|
|
227
|
+
property?: {
|
|
228
|
+
id: string;
|
|
229
|
+
};
|
|
230
|
+
validate?: {
|
|
231
|
+
required?: boolean;
|
|
232
|
+
criteria?: object;
|
|
233
|
+
operator?: 'any' | 'all';
|
|
234
|
+
regexes?: RegexValidation[];
|
|
235
|
+
minLength?: number;
|
|
236
|
+
maxLength?: number;
|
|
237
|
+
minDate?: string;
|
|
238
|
+
maxDate?: string;
|
|
239
|
+
minTime?: string;
|
|
240
|
+
maxTime?: string;
|
|
241
|
+
min?: number;
|
|
242
|
+
max?: number;
|
|
243
|
+
customMessage?: string;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* An array of sub-components to be rendered inside sections.
|
|
247
|
+
*/
|
|
248
|
+
components?: {
|
|
249
|
+
key: string;
|
|
250
|
+
label?: string;
|
|
251
|
+
components: ActionInput[];
|
|
252
|
+
}[];
|
|
253
|
+
/**
|
|
254
|
+
* An array of sub-components to be rendered inside columns.
|
|
255
|
+
*/
|
|
256
|
+
columns?: {
|
|
257
|
+
width: number;
|
|
258
|
+
currentWidth?: number;
|
|
259
|
+
components: ActionInput[];
|
|
260
|
+
}[];
|
|
261
|
+
};
|
|
34
262
|
export type ActionRequest = {
|
|
35
263
|
actionId: string;
|
|
36
264
|
input?: Record<string, unknown>;
|
|
@@ -62,19 +290,19 @@ export declare class ObjectStore {
|
|
|
62
290
|
private services;
|
|
63
291
|
private objectId;
|
|
64
292
|
constructor(services: ApiServices, objectId: string);
|
|
65
|
-
get(options?: ObjectOptions): Promise<
|
|
66
|
-
get(cb?: Callback<
|
|
67
|
-
get(options: ObjectOptions, cb?: Callback<
|
|
68
|
-
findInstances(filter?: Filter): Promise<
|
|
69
|
-
findInstances(cb: Callback<
|
|
70
|
-
findInstances(filter: Filter, cb: Callback<
|
|
71
|
-
getInstance(id: string): Promise<
|
|
72
|
-
getInstance(id: string, cb: Callback<
|
|
293
|
+
get(options?: ObjectOptions): Promise<ObjWithRoot>;
|
|
294
|
+
get(cb?: Callback<ObjWithRoot>): void;
|
|
295
|
+
get(options: ObjectOptions, cb?: Callback<ObjWithRoot>): void;
|
|
296
|
+
findInstances<T extends ObjectInstance = ObjectInstance>(filter?: Filter): Promise<T[]>;
|
|
297
|
+
findInstances<T extends ObjectInstance = ObjectInstance>(cb: Callback<T[]>): void;
|
|
298
|
+
findInstances<T extends ObjectInstance = ObjectInstance>(filter: Filter, cb: Callback<T[]>): void;
|
|
299
|
+
getInstance<T extends ObjectInstance = ObjectInstance>(id: string): Promise<T>;
|
|
300
|
+
getInstance<T extends ObjectInstance = ObjectInstance>(id: string, cb: Callback<T>): void;
|
|
73
301
|
getInstanceHistory(id: string): Promise<History[]>;
|
|
74
302
|
getInstanceHistory(id: string, cb: Callback<History[]>): void;
|
|
75
|
-
newInstance(input: ActionRequest): Promise<
|
|
76
|
-
newInstance(input: ActionRequest, cb: Callback<
|
|
77
|
-
instanceAction(id: string, input: ActionRequest): Promise<
|
|
78
|
-
instanceAction(id: string, input: ActionRequest, cb: Callback<
|
|
303
|
+
newInstance<T extends ObjectInstance = ObjectInstance>(input: ActionRequest): Promise<T>;
|
|
304
|
+
newInstance<T extends ObjectInstance = ObjectInstance>(input: ActionRequest, cb: Callback<T>): void;
|
|
305
|
+
instanceAction<T extends ObjectInstance = ObjectInstance>(id: string, input: ActionRequest): Promise<T>;
|
|
306
|
+
instanceAction<T extends ObjectInstance = ObjectInstance>(id: string, input: ActionRequest, cb: Callback<T>): void;
|
|
79
307
|
}
|
|
80
308
|
export declare function useObject(objectId: string): ObjectStore;
|
package/dist/objects/objects.js
CHANGED
|
@@ -24,9 +24,9 @@ export class ObjectStore {
|
|
|
24
24
|
},
|
|
25
25
|
};
|
|
26
26
|
if (!cb) {
|
|
27
|
-
return this.services.get(`data/objects/${this.objectId}`, config);
|
|
27
|
+
return this.services.get(`data/objects/${this.objectId}/effective`, config);
|
|
28
28
|
}
|
|
29
|
-
this.services.get(`data/objects/${this.objectId}`, config, cb);
|
|
29
|
+
this.services.get(`data/objects/${this.objectId}/effective`, config, cb);
|
|
30
30
|
}
|
|
31
31
|
findInstances(filterOrCallback, cb) {
|
|
32
32
|
let filter;
|
|
@@ -78,4 +78,3 @@ export function useObject(objectId) {
|
|
|
78
78
|
const services = useApiServices();
|
|
79
79
|
return useMemo(() => new ObjectStore(services, objectId), [services, objectId]);
|
|
80
80
|
}
|
|
81
|
-
//# sourceMappingURL=objects.js.map
|
package/dist/router/index.js
CHANGED
|
@@ -117,7 +117,7 @@ function SignalRConnectionProvider({ children }) {
|
|
|
117
117
|
instancesConnectionStopped = true;
|
|
118
118
|
};
|
|
119
119
|
}, [instancesSignalRConnection]);
|
|
120
|
-
return (_jsx(SignalRConnectionContext.Provider,
|
|
120
|
+
return (_jsx(SignalRConnectionContext.Provider, { value: {
|
|
121
121
|
documentChanges: documentsSignalRConnection
|
|
122
122
|
? {
|
|
123
123
|
subscribe: (topicName, callback) => documentsSignalRConnection.on(topicName, callback),
|
|
@@ -134,10 +134,9 @@ function SignalRConnectionProvider({ children }) {
|
|
|
134
134
|
: instancesSignalRConnection.off(topicName),
|
|
135
135
|
}
|
|
136
136
|
: undefined,
|
|
137
|
-
}
|
|
137
|
+
}, children: children }));
|
|
138
138
|
}
|
|
139
139
|
export function useSignalRConnection() {
|
|
140
140
|
return useContext(SignalRConnectionContext);
|
|
141
141
|
}
|
|
142
142
|
export default SignalRConnectionProvider;
|
|
143
|
-
//# sourceMappingURL=SignalRConnectionProvider.js.map
|
package/dist/signalr/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evoke-platform/context",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.100",
|
|
4
4
|
"description": "Utilities that provide context to Evoke platform widgets",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,24 +35,25 @@
|
|
|
35
35
|
"!dist/tests"
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@azure/msal-browser": "^2.
|
|
39
|
-
"@azure/msal-react": "^1.5.
|
|
40
|
-
"@types/chai": "^4.3.
|
|
41
|
-
"@types/dirty-chai": "^2.0.
|
|
42
|
-
"@types/mocha": "^10.0.
|
|
38
|
+
"@azure/msal-browser": "^2.38.2",
|
|
39
|
+
"@azure/msal-react": "^1.5.9",
|
|
40
|
+
"@types/chai": "^4.3.11",
|
|
41
|
+
"@types/dirty-chai": "^2.0.4",
|
|
42
|
+
"@types/mocha": "^10.0.6",
|
|
43
43
|
"@types/node": "^18.15.7",
|
|
44
|
-
"@types/react": "^18.
|
|
45
|
-
"@types/
|
|
46
|
-
"
|
|
47
|
-
"
|
|
44
|
+
"@types/react": "^18.2.28",
|
|
45
|
+
"@types/uuid": "^9.0.8",
|
|
46
|
+
"@types/sinon": "^17.0.3",
|
|
47
|
+
"chai": "^4.4.1",
|
|
48
|
+
"commit-and-tag-version": "^12.1.0",
|
|
48
49
|
"dirty-chai": "^2.0.1",
|
|
49
|
-
"eslint-plugin-react": "^7.
|
|
50
|
+
"eslint-plugin-react": "^7.33.2",
|
|
50
51
|
"mocha": "^10.2.0",
|
|
51
|
-
"msw": "^1.
|
|
52
|
+
"msw": "^1.3.1",
|
|
52
53
|
"react": "^18.2.0",
|
|
53
|
-
"react-router-dom": "^6.
|
|
54
|
-
"sinon": "^
|
|
55
|
-
"typescript": "^5.
|
|
54
|
+
"react-router-dom": "^6.16.0",
|
|
55
|
+
"sinon": "^17.0.1",
|
|
56
|
+
"typescript": "^5.3.3"
|
|
56
57
|
},
|
|
57
58
|
"peerDependencies": {
|
|
58
59
|
"@azure/msal-browser": ">=2",
|
|
@@ -61,7 +62,8 @@
|
|
|
61
62
|
"react-router-dom": ">=6"
|
|
62
63
|
},
|
|
63
64
|
"dependencies": {
|
|
64
|
-
"@microsoft/signalr": "^7.0.
|
|
65
|
-
"axios": "^1.
|
|
65
|
+
"@microsoft/signalr": "^7.0.12",
|
|
66
|
+
"axios": "^1.6.7",
|
|
67
|
+
"uuid": "^9.0.1"
|
|
66
68
|
}
|
|
67
69
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiBaseUrlProvider.js","sourceRoot":"","sources":["../../src/api/ApiBaseUrlProvider.tsx"],"names":[],"mappings":";;AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,OAAO,EAAE,aAAa,EAAa,UAAU,EAAE,MAAM,OAAO,CAAC;AAE7D,MAAM,iBAAiB,GAAG,aAAa,CAAC,GAAG,MAAA,UAAU,CAAC,QAAQ,0CAAE,MAAM,MAAM,CAAC,CAAC;AAE9E,iBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAC;AAOpD,SAAS,kBAAkB,CAAC,KAA8B;IACtD,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEhC,OAAO,KAAC,iBAAiB,CAAC,QAAQ,kBAAC,KAAK,EAAE,GAAG,gBAAG,QAAQ,IAA8B,CAAC;AAC3F,CAAC;AAED,MAAM,UAAU,aAAa;IACzB,OAAO,UAAU,CAAC,iBAAiB,CAAC,CAAC;AACzC,CAAC;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apiServices.js","sourceRoot":"","sources":["../../src/api/apiServices.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;;;;;;;;;;AAE/C,OAAO,KAA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AAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAyB,GAAG,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;QAC5F,CAAC;KAAA;CACJ;AAED,MAAM,UAAU,cAAc;IAC1B,MAAM,WAAW,GAAG,wBAAwB,EAAE,CAAC;IAC/C,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;IAEhC,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC;IAEnH,OAAO,WAAW,CAAC;AACvB,CAAC"}
|
package/dist/api/callback.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"callback.js","sourceRoot":"","sources":["../../src/api/callback.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAI/C,MAAM,UAAU,QAAQ,CAAI,SAA+B,EAAE,OAA8B;IACvF,OAAO,CAAC,GAAkB,EAAE,MAAU,EAAE,EAAE;QACtC,IAAI,GAAG,EAAE;YACL,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,GAAG,CAAC,CAAC;SAClB;aAAM;YACH,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAG,MAAW,CAAC,CAAC;SAC5B;IACL,CAAC,CAAC;AACN,CAAC"}
|
package/dist/api/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACxE,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppProvider.js","sourceRoot":"","sources":["../../src/app/AppProvider.tsx"],"names":[],"mappings":";AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,OAAO,EAAE,aAAa,EAAa,UAAU,EAAE,MAAM,OAAO,CAAC;AA+C7D,MAAM,UAAU,GAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;AACjF,MAAM,UAAU,GAAG,aAAa,CAAM,UAAU,CAAC,CAAC;AAElD,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AAOtC,SAAS,WAAW,CAAC,KAAuB;IACxC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEhC,OAAO,KAAC,UAAU,CAAC,QAAQ,kBAAC,KAAK,EAAE,GAAG,gBAAG,QAAQ,IAAuB,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,MAAM;IAClB,OAAO,UAAU,CAAC,UAAU,CAAC,CAAC;AAClC,CAAC;AAED,eAAe,WAAW,CAAC"}
|
package/dist/app/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationContextProvider.js","sourceRoot":"","sources":["../../src/authentication/AuthenticationContextProvider.tsx"],"names":[],"mappings":";;;;;;;;;;AAKA,OAAO,EAAa,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAanF,MAAM,OAAO,GAAG,aAAa,CAAoC,SAAS,CAAC,CAAC;AAE5E,OAAO,CAAC,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C,CAAC;AAC/B,CAAC;AAED,eAAe,6BAA6B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/authentication/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,cAAc,oCAAoC,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filters.js","sourceRoot":"","sources":["../../src/objects/filters.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/objects/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"objects.js","sourceRoot":"","sources":["../../src/objects/objects.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAG/C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAyB,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAyExE,MAAM,OAAO,WAAW;IACpB,YAAoB,QAAqB,EAAU,QAAgB;QAA/C,aAAQ,GAAR,QAAQ,CAAa;QAAU,aAAQ,GAAR,Q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AQ,cAAc,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;IAC3F,CAAC;CACJ;AAED,MAAM,UAAU,SAAS,CAAC,QAAgB;IACtC,MAAM,QAAQ,GAAG,cAAc,EAAE,CAAC;IAElC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,WAAW,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;AACpF,CAAC"}
|
package/dist/router/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/router/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.js","sourceRoot":"","sources":["../../src/router/navigation.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAIlF,MAAM,UAAU,WAAW;IACvB,MAAM,QAAQ,GAAG,iBAAiB,EAAE,CAAC;IAErC,OAAO,WAAW,CACd,CAAC,IAAY,EAAE,MAA+B,EAAE,EAAE;QAC9C,QAAQ,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IACzC,CAAC,EACD,CAAC,QAAQ,CAAC,CACb,CAAC;AACN,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routeParams.js","sourceRoot":"","sources":["../../src/router/routeParams.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,+CAA+C;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,UAAU,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