jamespot-user-api 1.0.184 → 1.0.185
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/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +14 -14
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBbbApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDatasourceApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +12 -12
- package/documentation/classes/JIAApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JSocialActionApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +7 -7
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JWidgetApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/BookmarkType.html +1 -1
- package/documentation/enums/Format.html +1 -1
- package/documentation/enums/GroupModerateStatus.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/enums/WidgetsName.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WidgetType.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +11 -11
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/datasource/datasource.d.ts +8 -3
- package/lib/src/apis/datasource/datasource.mock.d.ts +2 -0
- package/lib/src/types/hook.d.ts +197 -0
- package/lib/src/types/realtime.d.ts +6 -2
- package/lib/src/types/widgets/default.d.ts +3 -0
- package/lib/src/types/widgets.d.ts +17 -0
- package/package.json +1 -1
- package/phpunitMock/widgetDatasourceCancel-default.json +1 -0
- package/phpunitMock/widgetDatasourceGet-get-calc.json +4 -0
- package/phpunitMock/widgetDatasourceGet-get-doc.json +4 -0
- package/phpunitMock/widgetDatasourceGet-get-studio.json +4 -0
- package/phpunitMock/widgetDatasourceGetExcelDatasource-default.json +3 -2
- package/phpunitMock/widgetDatasourceGetExcelDatasourceHeaders-default.json +7 -0
|
@@ -15,6 +15,10 @@ export type DatasourceResult<T extends {} = {}> = {
|
|
|
15
15
|
model: WidgetTableColumn[];
|
|
16
16
|
sort: DatasourceResultSort;
|
|
17
17
|
data: T[];
|
|
18
|
+
datasource: {
|
|
19
|
+
datasourceType: DatasourceType;
|
|
20
|
+
datasourceIdentifier: string;
|
|
21
|
+
};
|
|
18
22
|
};
|
|
19
23
|
export type DatasourceModel = WidgetTableColumn[];
|
|
20
24
|
export type DatasourceStudioLittle = {
|
|
@@ -34,13 +38,12 @@ export type jDatasourceArticleList = jArticleList & {
|
|
|
34
38
|
datasourceParameters: string | null;
|
|
35
39
|
datasourceModel: string | null;
|
|
36
40
|
};
|
|
37
|
-
export type DatasourceType = 'calc' | 'studio' | 'doc' | 'external-api';
|
|
41
|
+
export type DatasourceType = 'calc' | 'calc-attachment' | 'studio' | 'doc' | 'external-api';
|
|
38
42
|
export type jDatasourceExcel = {
|
|
39
43
|
file: jFileLittle;
|
|
40
44
|
fileUrl?: string;
|
|
41
|
-
spreadsheet: string;
|
|
42
45
|
spreadsheetList: string[];
|
|
43
|
-
|
|
46
|
+
spreadsheetListHeaders: Record<string, string[]>;
|
|
44
47
|
};
|
|
45
48
|
export declare class JDatasourceApi extends JBaseApi {
|
|
46
49
|
get<T extends {}>(uri: string, format: Format): Promise<ApiWrapper<DatasourceResult<T>>>;
|
|
@@ -48,9 +51,11 @@ export declare class JDatasourceApi extends JBaseApi {
|
|
|
48
51
|
type: DatasourceType;
|
|
49
52
|
model: DatasourceModel;
|
|
50
53
|
}>>;
|
|
54
|
+
cancel(uri: string): Promise<ApiWrapper<boolean>>;
|
|
51
55
|
getObject(uri: string): Promise<ApiWrapper<DatasourceArticleLittle | DatasourceStudioLittle>>;
|
|
52
56
|
updateModel(uri: string, model: DatasourceModel): Promise<ApiWrapper<boolean>>;
|
|
53
57
|
getExcelDatasource(uri: string): Promise<ApiWrapper<jDatasourceExcel>>;
|
|
58
|
+
getExcelDatasourceHeaders(uri: string, spreadsheet?: string): Promise<ApiWrapper<string[]>>;
|
|
54
59
|
setExcelDatasource(uri: string, spreadsheet: string): Promise<ApiWrapper<DatasourceModel>>;
|
|
55
60
|
create({ title, datasourceType, datasourceIdentifier, token, }: {
|
|
56
61
|
title: string;
|
|
@@ -26,3 +26,5 @@ export declare const datasourceUpdateInvalidModel: {
|
|
|
26
26
|
};
|
|
27
27
|
export declare const datasourceUpdateValidModel: ApiWrapper<boolean, BaseMessages>;
|
|
28
28
|
export declare const datasourceGetCalc: ApiWrapper<DatasourceResult, BaseMessages>;
|
|
29
|
+
export declare const datasourceCancel: ApiWrapper<boolean, BaseMessages>;
|
|
30
|
+
export declare const datasourceGetExcelDatasourceHeaders: ApiWrapper<string[], BaseMessages>;
|
package/lib/src/types/hook.d.ts
CHANGED
|
@@ -65,6 +65,95 @@ declare const fileBankHookSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
65
65
|
order: "ASC" | "DESC";
|
|
66
66
|
}>>;
|
|
67
67
|
export type FileBankHook = z.infer<typeof fileBankHookSchema>;
|
|
68
|
+
export declare const onlyOfficeTemplateSchema: z.ZodObject<{
|
|
69
|
+
label: z.ZodString;
|
|
70
|
+
description: z.ZodString;
|
|
71
|
+
extension: z.ZodString;
|
|
72
|
+
icon: z.ZodString;
|
|
73
|
+
color: z.ZodString;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
color: string;
|
|
76
|
+
description: string;
|
|
77
|
+
label: string;
|
|
78
|
+
icon: string;
|
|
79
|
+
extension: string;
|
|
80
|
+
}, {
|
|
81
|
+
color: string;
|
|
82
|
+
description: string;
|
|
83
|
+
label: string;
|
|
84
|
+
icon: string;
|
|
85
|
+
extension: string;
|
|
86
|
+
}>;
|
|
87
|
+
declare const onlyOfficeHookSchema: z.ZodIntersection<z.ZodObject<{
|
|
88
|
+
isActive: z.ZodBoolean;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
isActive: boolean;
|
|
91
|
+
}, {
|
|
92
|
+
isActive: boolean;
|
|
93
|
+
}>, z.ZodObject<{
|
|
94
|
+
hasLicense: z.ZodBoolean;
|
|
95
|
+
label: z.ZodString;
|
|
96
|
+
description: z.ZodString;
|
|
97
|
+
color: z.ZodString;
|
|
98
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
99
|
+
label: z.ZodString;
|
|
100
|
+
description: z.ZodString;
|
|
101
|
+
extension: z.ZodString;
|
|
102
|
+
icon: z.ZodString;
|
|
103
|
+
color: z.ZodString;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
color: string;
|
|
106
|
+
description: string;
|
|
107
|
+
label: string;
|
|
108
|
+
icon: string;
|
|
109
|
+
extension: string;
|
|
110
|
+
}, {
|
|
111
|
+
color: string;
|
|
112
|
+
description: string;
|
|
113
|
+
label: string;
|
|
114
|
+
icon: string;
|
|
115
|
+
extension: string;
|
|
116
|
+
}>, "many">;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
color: string;
|
|
119
|
+
description: string;
|
|
120
|
+
label: string;
|
|
121
|
+
hasLicense: boolean;
|
|
122
|
+
templates: {
|
|
123
|
+
color: string;
|
|
124
|
+
description: string;
|
|
125
|
+
label: string;
|
|
126
|
+
icon: string;
|
|
127
|
+
extension: string;
|
|
128
|
+
}[];
|
|
129
|
+
}, {
|
|
130
|
+
color: string;
|
|
131
|
+
description: string;
|
|
132
|
+
label: string;
|
|
133
|
+
hasLicense: boolean;
|
|
134
|
+
templates: {
|
|
135
|
+
color: string;
|
|
136
|
+
description: string;
|
|
137
|
+
label: string;
|
|
138
|
+
icon: string;
|
|
139
|
+
extension: string;
|
|
140
|
+
}[];
|
|
141
|
+
}>>;
|
|
142
|
+
export type OnlyOfficeHook = z.infer<typeof onlyOfficeHookSchema>;
|
|
143
|
+
declare const studioHookSchema: z.ZodIntersection<z.ZodObject<{
|
|
144
|
+
isActive: z.ZodBoolean;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
isActive: boolean;
|
|
147
|
+
}, {
|
|
148
|
+
isActive: boolean;
|
|
149
|
+
}>, z.ZodObject<{
|
|
150
|
+
hasLicense: z.ZodBoolean;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
hasLicense: boolean;
|
|
153
|
+
}, {
|
|
154
|
+
hasLicense: boolean;
|
|
155
|
+
}>>;
|
|
156
|
+
export type StudioHook = z.infer<typeof studioHookSchema>;
|
|
68
157
|
declare const adminAdvancedHookSchema: z.ZodIntersection<z.ZodObject<{
|
|
69
158
|
isActive: z.ZodBoolean;
|
|
70
159
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -200,6 +289,74 @@ export declare const hookListTypeSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
200
289
|
orderBy: string;
|
|
201
290
|
order: "ASC" | "DESC";
|
|
202
291
|
}>>>;
|
|
292
|
+
StudioHook: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
293
|
+
isActive: z.ZodBoolean;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
isActive: boolean;
|
|
296
|
+
}, {
|
|
297
|
+
isActive: boolean;
|
|
298
|
+
}>, z.ZodObject<{
|
|
299
|
+
hasLicense: z.ZodBoolean;
|
|
300
|
+
}, "strip", z.ZodTypeAny, {
|
|
301
|
+
hasLicense: boolean;
|
|
302
|
+
}, {
|
|
303
|
+
hasLicense: boolean;
|
|
304
|
+
}>>>;
|
|
305
|
+
OnlyOfficeHook: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
306
|
+
isActive: z.ZodBoolean;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
isActive: boolean;
|
|
309
|
+
}, {
|
|
310
|
+
isActive: boolean;
|
|
311
|
+
}>, z.ZodObject<{
|
|
312
|
+
hasLicense: z.ZodBoolean;
|
|
313
|
+
label: z.ZodString;
|
|
314
|
+
description: z.ZodString;
|
|
315
|
+
color: z.ZodString;
|
|
316
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
317
|
+
label: z.ZodString;
|
|
318
|
+
description: z.ZodString;
|
|
319
|
+
extension: z.ZodString;
|
|
320
|
+
icon: z.ZodString;
|
|
321
|
+
color: z.ZodString;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
color: string;
|
|
324
|
+
description: string;
|
|
325
|
+
label: string;
|
|
326
|
+
icon: string;
|
|
327
|
+
extension: string;
|
|
328
|
+
}, {
|
|
329
|
+
color: string;
|
|
330
|
+
description: string;
|
|
331
|
+
label: string;
|
|
332
|
+
icon: string;
|
|
333
|
+
extension: string;
|
|
334
|
+
}>, "many">;
|
|
335
|
+
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
color: string;
|
|
337
|
+
description: string;
|
|
338
|
+
label: string;
|
|
339
|
+
hasLicense: boolean;
|
|
340
|
+
templates: {
|
|
341
|
+
color: string;
|
|
342
|
+
description: string;
|
|
343
|
+
label: string;
|
|
344
|
+
icon: string;
|
|
345
|
+
extension: string;
|
|
346
|
+
}[];
|
|
347
|
+
}, {
|
|
348
|
+
color: string;
|
|
349
|
+
description: string;
|
|
350
|
+
label: string;
|
|
351
|
+
hasLicense: boolean;
|
|
352
|
+
templates: {
|
|
353
|
+
color: string;
|
|
354
|
+
description: string;
|
|
355
|
+
label: string;
|
|
356
|
+
icon: string;
|
|
357
|
+
extension: string;
|
|
358
|
+
}[];
|
|
359
|
+
}>>>;
|
|
203
360
|
spotRssFeed: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
204
361
|
isActive: z.ZodBoolean;
|
|
205
362
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -253,6 +410,26 @@ export declare const hookListTypeSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
253
410
|
orderBy: string;
|
|
254
411
|
order: "ASC" | "DESC";
|
|
255
412
|
}) | undefined;
|
|
413
|
+
StudioHook?: ({
|
|
414
|
+
isActive: boolean;
|
|
415
|
+
} & {
|
|
416
|
+
hasLicense: boolean;
|
|
417
|
+
}) | undefined;
|
|
418
|
+
OnlyOfficeHook?: ({
|
|
419
|
+
isActive: boolean;
|
|
420
|
+
} & {
|
|
421
|
+
color: string;
|
|
422
|
+
description: string;
|
|
423
|
+
label: string;
|
|
424
|
+
hasLicense: boolean;
|
|
425
|
+
templates: {
|
|
426
|
+
color: string;
|
|
427
|
+
description: string;
|
|
428
|
+
label: string;
|
|
429
|
+
icon: string;
|
|
430
|
+
extension: string;
|
|
431
|
+
}[];
|
|
432
|
+
}) | undefined;
|
|
256
433
|
spotRssFeed?: ({
|
|
257
434
|
isActive: boolean;
|
|
258
435
|
} & {}) | undefined;
|
|
@@ -284,6 +461,26 @@ export declare const hookListTypeSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
284
461
|
orderBy: string;
|
|
285
462
|
order: "ASC" | "DESC";
|
|
286
463
|
}) | undefined;
|
|
464
|
+
StudioHook?: ({
|
|
465
|
+
isActive: boolean;
|
|
466
|
+
} & {
|
|
467
|
+
hasLicense: boolean;
|
|
468
|
+
}) | undefined;
|
|
469
|
+
OnlyOfficeHook?: ({
|
|
470
|
+
isActive: boolean;
|
|
471
|
+
} & {
|
|
472
|
+
color: string;
|
|
473
|
+
description: string;
|
|
474
|
+
label: string;
|
|
475
|
+
hasLicense: boolean;
|
|
476
|
+
templates: {
|
|
477
|
+
color: string;
|
|
478
|
+
description: string;
|
|
479
|
+
label: string;
|
|
480
|
+
icon: string;
|
|
481
|
+
extension: string;
|
|
482
|
+
}[];
|
|
483
|
+
}) | undefined;
|
|
287
484
|
spotRssFeed?: ({
|
|
288
485
|
isActive: boolean;
|
|
289
486
|
} & {}) | undefined;
|
|
@@ -3,7 +3,7 @@ import { jObjectBase, jObjectLittle } from './objectBase';
|
|
|
3
3
|
type BookmarksFunctions = 'update' | 'add' | 'delete';
|
|
4
4
|
type AnimationsFunctions = 'update' | 'add' | 'delete' | 'toggle' | 'getAnimationActive';
|
|
5
5
|
type CustomActionFunctions = 'update' | 'add' | 'remove';
|
|
6
|
-
type JamespotFunctions = 'comment-create' | 'comment-delete' | 'comment-update';
|
|
6
|
+
type JamespotFunctions = 'comment-create' | 'comment-delete' | 'comment-update' | 'article-create' | 'article-delete' | 'article-update';
|
|
7
7
|
type WSFunctions = 'presence' | 'connection' | 'disconnect';
|
|
8
8
|
type WidgetFunctions = 'widget-presence-response';
|
|
9
9
|
export type Namespaces = {
|
|
@@ -36,6 +36,9 @@ export type AllMessages = {
|
|
|
36
36
|
'comment-create': RTMessageObject<'JAMESPOT', 'comment-create'>;
|
|
37
37
|
'comment-delete': RTMessageObject<'JAMESPOT', 'comment-delete'>;
|
|
38
38
|
'comment-update': RTMessageObject<'JAMESPOT', 'comment-update'>;
|
|
39
|
+
'article-create': RTMessageObject<'JAMESPOT', 'article-create'>;
|
|
40
|
+
'article-delete': RTMessageObject<'JAMESPOT', 'article-delete'>;
|
|
41
|
+
'article-update': RTMessageObject<'JAMESPOT', 'article-update'>;
|
|
39
42
|
};
|
|
40
43
|
WIDGET: {
|
|
41
44
|
'widget-presence-response': RTMessageObject<'WIDGET', 'widget-presence-response', {}, {
|
|
@@ -67,12 +70,13 @@ export type RTMessage<T extends keyof Namespaces, F extends Namespaces[T]> = {
|
|
|
67
70
|
};
|
|
68
71
|
export type RTMessageObject<T extends keyof Namespaces, F extends Namespaces[T], O = {}, D = {}> = RTMessage<T, F> & {
|
|
69
72
|
object: jObjectBase & Partial<O>;
|
|
73
|
+
audience?: string[];
|
|
70
74
|
data?: D;
|
|
71
75
|
};
|
|
72
76
|
export type RTMessageWsPresence = RTMessage<'ws', 'presence'> & {
|
|
73
77
|
idUsers: number[];
|
|
74
78
|
};
|
|
75
|
-
export type AnyRTMessage<T = {}> = RTMessageObject<'BOOKMARKS', 'update', T> | RTMessageObject<'BOOKMARKS', 'add', T> | RTMessageObject<'BOOKMARKS', 'delete'> | RTMessage<'ANIMATIONS', 'update'> | RTMessage<'ANIMATIONS', 'add'> | RTMessage<'ANIMATIONS', 'delete'> | RTMessage<'ANIMATIONS', 'toggle'> | RTMessage<'ANIMATIONS', 'getAnimationActive'> | RTMessageObject<'CUSTOM-ACTION', 'update', T> | RTMessageObject<'CUSTOM-ACTION', 'add', T> | RTMessageObject<'CUSTOM-ACTION', 'remove', T> | RTMessageObject<'JAMESPOT', 'comment-create', T> | RTMessageObject<'JAMESPOT', 'comment-delete', T> | RTMessageObject<'JAMESPOT', 'comment-update', T> | RTMessageWsPresence | RTMessage<'ws', 'connection'> | RTMessage<'ws', 'disconnect'> | RTMessageObject<'WIDGET', 'widget-presence-response', {}, {
|
|
79
|
+
export type AnyRTMessage<T = {}> = RTMessageObject<'BOOKMARKS', 'update', T> | RTMessageObject<'BOOKMARKS', 'add', T> | RTMessageObject<'BOOKMARKS', 'delete'> | RTMessage<'ANIMATIONS', 'update'> | RTMessage<'ANIMATIONS', 'add'> | RTMessage<'ANIMATIONS', 'delete'> | RTMessage<'ANIMATIONS', 'toggle'> | RTMessage<'ANIMATIONS', 'getAnimationActive'> | RTMessageObject<'CUSTOM-ACTION', 'update', T> | RTMessageObject<'CUSTOM-ACTION', 'add', T> | RTMessageObject<'CUSTOM-ACTION', 'remove', T> | RTMessageObject<'JAMESPOT', 'comment-create', T> | RTMessageObject<'JAMESPOT', 'comment-delete', T> | RTMessageObject<'JAMESPOT', 'comment-update', T> | RTMessageObject<'JAMESPOT', 'article-create', T> | RTMessageObject<'JAMESPOT', 'article-delete', T> | RTMessageObject<'JAMESPOT', 'article-update', T> | RTMessageWsPresence | RTMessage<'ws', 'connection'> | RTMessage<'ws', 'disconnect'> | RTMessageObject<'WIDGET', 'widget-presence-response', {}, {
|
|
76
80
|
uniqid: string;
|
|
77
81
|
object: jObjectLittle;
|
|
78
82
|
}>;
|
|
@@ -2027,6 +2027,7 @@ export declare const widgetStatePropsSchema: z.ZodObject<{
|
|
|
2027
2027
|
mounted: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUndefined]>>;
|
|
2028
2028
|
hover: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUndefined]>>;
|
|
2029
2029
|
empty: z.ZodOptional<z.ZodBoolean>;
|
|
2030
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
2030
2031
|
}, "strip", z.ZodTypeAny, {
|
|
2031
2032
|
busy?: boolean | undefined;
|
|
2032
2033
|
loading?: boolean | undefined;
|
|
@@ -2034,6 +2035,7 @@ export declare const widgetStatePropsSchema: z.ZodObject<{
|
|
|
2034
2035
|
mounted?: boolean | undefined;
|
|
2035
2036
|
hover?: boolean | undefined;
|
|
2036
2037
|
empty?: boolean | undefined;
|
|
2038
|
+
locked?: boolean | undefined;
|
|
2037
2039
|
}, {
|
|
2038
2040
|
busy?: boolean | undefined;
|
|
2039
2041
|
loading?: boolean | undefined;
|
|
@@ -2041,6 +2043,7 @@ export declare const widgetStatePropsSchema: z.ZodObject<{
|
|
|
2041
2043
|
mounted?: boolean | undefined;
|
|
2042
2044
|
hover?: boolean | undefined;
|
|
2043
2045
|
empty?: boolean | undefined;
|
|
2046
|
+
locked?: boolean | undefined;
|
|
2044
2047
|
}>;
|
|
2045
2048
|
export type WidgetStateProps = z.infer<typeof widgetStatePropsSchema>;
|
|
2046
2049
|
export type WidgetEditorActions<T = CombinedWidgetContent> = {
|
|
@@ -1281,6 +1281,7 @@ export declare const widgetDefaultProps: z.ZodObject<{
|
|
|
1281
1281
|
mounted: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUndefined]>>;
|
|
1282
1282
|
hover: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUndefined]>>;
|
|
1283
1283
|
empty: z.ZodOptional<z.ZodBoolean>;
|
|
1284
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
1284
1285
|
}, "strip", z.ZodTypeAny, {
|
|
1285
1286
|
busy?: boolean | undefined;
|
|
1286
1287
|
loading?: boolean | undefined;
|
|
@@ -1288,6 +1289,7 @@ export declare const widgetDefaultProps: z.ZodObject<{
|
|
|
1288
1289
|
mounted?: boolean | undefined;
|
|
1289
1290
|
hover?: boolean | undefined;
|
|
1290
1291
|
empty?: boolean | undefined;
|
|
1292
|
+
locked?: boolean | undefined;
|
|
1291
1293
|
}, {
|
|
1292
1294
|
busy?: boolean | undefined;
|
|
1293
1295
|
loading?: boolean | undefined;
|
|
@@ -1295,6 +1297,7 @@ export declare const widgetDefaultProps: z.ZodObject<{
|
|
|
1295
1297
|
mounted?: boolean | undefined;
|
|
1296
1298
|
hover?: boolean | undefined;
|
|
1297
1299
|
empty?: boolean | undefined;
|
|
1300
|
+
locked?: boolean | undefined;
|
|
1298
1301
|
}>], z.ZodUnknown>, z.ZodVoid>;
|
|
1299
1302
|
}, "strip", z.ZodTypeAny, {
|
|
1300
1303
|
mode: "edit" | "view" | "preview";
|
|
@@ -1419,6 +1422,7 @@ export declare const widgetDefaultProps: z.ZodObject<{
|
|
|
1419
1422
|
mounted?: boolean | undefined;
|
|
1420
1423
|
hover?: boolean | undefined;
|
|
1421
1424
|
empty?: boolean | undefined;
|
|
1425
|
+
locked?: boolean | undefined;
|
|
1422
1426
|
}, ...args_1: unknown[]) => void;
|
|
1423
1427
|
width?: number | undefined;
|
|
1424
1428
|
isComponentVisible?: boolean | undefined;
|
|
@@ -1546,6 +1550,7 @@ export declare const widgetDefaultProps: z.ZodObject<{
|
|
|
1546
1550
|
mounted?: boolean | undefined;
|
|
1547
1551
|
hover?: boolean | undefined;
|
|
1548
1552
|
empty?: boolean | undefined;
|
|
1553
|
+
locked?: boolean | undefined;
|
|
1549
1554
|
}, ...args_1: unknown[]) => void;
|
|
1550
1555
|
width?: number | undefined;
|
|
1551
1556
|
isComponentVisible?: boolean | undefined;
|
|
@@ -2367,6 +2372,7 @@ export declare const widgetsStateSchema: z.ZodObject<{
|
|
|
2367
2372
|
mounted: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUndefined]>>;
|
|
2368
2373
|
hover: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUndefined]>>;
|
|
2369
2374
|
empty: z.ZodOptional<z.ZodBoolean>;
|
|
2375
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
2370
2376
|
}, "strip", z.ZodTypeAny, {
|
|
2371
2377
|
busy?: boolean | undefined;
|
|
2372
2378
|
loading?: boolean | undefined;
|
|
@@ -2374,6 +2380,7 @@ export declare const widgetsStateSchema: z.ZodObject<{
|
|
|
2374
2380
|
mounted?: boolean | undefined;
|
|
2375
2381
|
hover?: boolean | undefined;
|
|
2376
2382
|
empty?: boolean | undefined;
|
|
2383
|
+
locked?: boolean | undefined;
|
|
2377
2384
|
}, {
|
|
2378
2385
|
busy?: boolean | undefined;
|
|
2379
2386
|
loading?: boolean | undefined;
|
|
@@ -2381,6 +2388,7 @@ export declare const widgetsStateSchema: z.ZodObject<{
|
|
|
2381
2388
|
mounted?: boolean | undefined;
|
|
2382
2389
|
hover?: boolean | undefined;
|
|
2383
2390
|
empty?: boolean | undefined;
|
|
2391
|
+
locked?: boolean | undefined;
|
|
2384
2392
|
}>>;
|
|
2385
2393
|
modal: z.ZodUnion<[z.ZodObject<{
|
|
2386
2394
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -2624,6 +2632,7 @@ export declare const widgetsStateSchema: z.ZodObject<{
|
|
|
2624
2632
|
mounted?: boolean | undefined;
|
|
2625
2633
|
hover?: boolean | undefined;
|
|
2626
2634
|
empty?: boolean | undefined;
|
|
2635
|
+
locked?: boolean | undefined;
|
|
2627
2636
|
}>;
|
|
2628
2637
|
editableMap: Record<string, {
|
|
2629
2638
|
uniqid: string;
|
|
@@ -2780,6 +2789,7 @@ export declare const widgetsStateSchema: z.ZodObject<{
|
|
|
2780
2789
|
mounted?: boolean | undefined;
|
|
2781
2790
|
hover?: boolean | undefined;
|
|
2782
2791
|
empty?: boolean | undefined;
|
|
2792
|
+
locked?: boolean | undefined;
|
|
2783
2793
|
}>;
|
|
2784
2794
|
editableMap: Record<string, {
|
|
2785
2795
|
uniqid: string;
|
|
@@ -3332,6 +3342,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
|
|
|
3332
3342
|
mounted: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUndefined]>>;
|
|
3333
3343
|
hover: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUndefined]>>;
|
|
3334
3344
|
empty: z.ZodOptional<z.ZodBoolean>;
|
|
3345
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
3335
3346
|
}, "strip", z.ZodTypeAny, {
|
|
3336
3347
|
busy?: boolean | undefined;
|
|
3337
3348
|
loading?: boolean | undefined;
|
|
@@ -3339,6 +3350,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
|
|
|
3339
3350
|
mounted?: boolean | undefined;
|
|
3340
3351
|
hover?: boolean | undefined;
|
|
3341
3352
|
empty?: boolean | undefined;
|
|
3353
|
+
locked?: boolean | undefined;
|
|
3342
3354
|
}, {
|
|
3343
3355
|
busy?: boolean | undefined;
|
|
3344
3356
|
loading?: boolean | undefined;
|
|
@@ -3346,6 +3358,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
|
|
|
3346
3358
|
mounted?: boolean | undefined;
|
|
3347
3359
|
hover?: boolean | undefined;
|
|
3348
3360
|
empty?: boolean | undefined;
|
|
3361
|
+
locked?: boolean | undefined;
|
|
3349
3362
|
}>>;
|
|
3350
3363
|
modal: z.ZodUnion<[z.ZodObject<{
|
|
3351
3364
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -3589,6 +3602,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
|
|
|
3589
3602
|
mounted?: boolean | undefined;
|
|
3590
3603
|
hover?: boolean | undefined;
|
|
3591
3604
|
empty?: boolean | undefined;
|
|
3605
|
+
locked?: boolean | undefined;
|
|
3592
3606
|
}>;
|
|
3593
3607
|
editableMap: Record<string, {
|
|
3594
3608
|
uniqid: string;
|
|
@@ -3745,6 +3759,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
|
|
|
3745
3759
|
mounted?: boolean | undefined;
|
|
3746
3760
|
hover?: boolean | undefined;
|
|
3747
3761
|
empty?: boolean | undefined;
|
|
3762
|
+
locked?: boolean | undefined;
|
|
3748
3763
|
}>;
|
|
3749
3764
|
editableMap: Record<string, {
|
|
3750
3765
|
uniqid: string;
|
|
@@ -3903,6 +3918,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
|
|
|
3903
3918
|
mounted?: boolean | undefined;
|
|
3904
3919
|
hover?: boolean | undefined;
|
|
3905
3920
|
empty?: boolean | undefined;
|
|
3921
|
+
locked?: boolean | undefined;
|
|
3906
3922
|
}>;
|
|
3907
3923
|
editableMap: Record<string, {
|
|
3908
3924
|
uniqid: string;
|
|
@@ -4061,6 +4077,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
|
|
|
4061
4077
|
mounted?: boolean | undefined;
|
|
4062
4078
|
hover?: boolean | undefined;
|
|
4063
4079
|
empty?: boolean | undefined;
|
|
4080
|
+
locked?: boolean | undefined;
|
|
4064
4081
|
}>;
|
|
4065
4082
|
editableMap: Record<string, {
|
|
4066
4083
|
uniqid: string;
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "widget", "f": "datasourceCancel", "error": 0, "messages": [], "result": true }
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
{ "name": "description", "label": "Label", "widget": {}, "type": "text", "sortable": true }
|
|
20
20
|
],
|
|
21
21
|
"sort": { "order": "descending", "name": "title" },
|
|
22
|
+
"datasource": {
|
|
23
|
+
"datasourceIdentifier": "",
|
|
24
|
+
"datasourceType": "studio"
|
|
25
|
+
},
|
|
22
26
|
"data": []
|
|
23
27
|
}
|
|
24
28
|
}
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"fileUrl": "/ng/file/982/12038a97c53add757a188b63bc4213bcc0468f87b7a34605d5127e27c9a99751",
|
|
20
20
|
"spreadsheetList": ["Feuille1"],
|
|
21
|
-
"
|
|
22
|
-
|
|
21
|
+
"spreadsheetListHeaders": {
|
|
22
|
+
"Feuille1": ["fichier", "excel", "test", ""]
|
|
23
|
+
}
|
|
23
24
|
}
|
|
24
25
|
}
|