jamespot-front-business 1.3.28 → 1.3.30
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,6 +1,6 @@
|
|
|
1
1
|
import { createEntityAdapter as dt, createSlice as T, createAsyncThunk as u, combineReducers as O } from "@reduxjs/toolkit";
|
|
2
|
-
import { jEnsure as pi, Format as gt, formatImgUrl as
|
|
3
|
-
const
|
|
2
|
+
import { jEnsure as pi, Format as gt, formatImgUrl as Yi, UserLevel as Qi, WidgetsName as C, StudioApplicationStatus as ct } from "jamespot-user-api";
|
|
3
|
+
const zi = function(t) {
|
|
4
4
|
return [
|
|
5
5
|
{
|
|
6
6
|
namespace: "JAMESPOT",
|
|
@@ -10,8 +10,8 @@ const Qi = function(t) {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
];
|
|
13
|
-
},
|
|
14
|
-
getArticleRTHandlers:
|
|
13
|
+
}, gl = {
|
|
14
|
+
getArticleRTHandlers: zi
|
|
15
15
|
}, v = (t) => !!t && typeof t == "object" && "aborted" in t && !!t.aborted, E = (t, e) => !t || typeof t != "object" ? e ?? "GLOBAL_Technical_Error" : "errorMsg" in t && typeof t.errorMsg == "string" ? t.errorMsg : "message" in t && typeof t.message == "string" ? t.message : e ?? "GLOBAL_Technical_Error", ne = dt({
|
|
16
16
|
selectId: (t) => t.id
|
|
17
17
|
}), it = T({
|
|
@@ -21,24 +21,24 @@ const Qi = function(t) {
|
|
|
21
21
|
addOne: ne.addOne,
|
|
22
22
|
removeOne: ne.removeOne
|
|
23
23
|
}
|
|
24
|
-
}),
|
|
24
|
+
}), Zi = () => Math.random().toString(16).slice(2), te = ({ id: t = Zi(), ...e }, i = "success", a = 3e3) => (r) => {
|
|
25
25
|
const n = { id: t, ...e, timeout: a, type: i };
|
|
26
26
|
return r(it.actions.addOne(n)), setTimeout(() => {
|
|
27
27
|
r(it.actions.removeOne(t));
|
|
28
28
|
}, a), t;
|
|
29
|
-
},
|
|
29
|
+
}, ea = {
|
|
30
30
|
addMessage: te,
|
|
31
31
|
success: (t, e) => te(t, "success", e),
|
|
32
32
|
warning: (t, e) => te(t, "warning", e),
|
|
33
33
|
error: (t, e) => te(t, "error", e)
|
|
34
|
-
},
|
|
34
|
+
}, ta = ne.getSelectors((t) => t.toasts), f = {
|
|
35
35
|
slice: it,
|
|
36
|
-
actions: { ...
|
|
37
|
-
selectors:
|
|
38
|
-
}, Pt = (t) => t.toISOString().slice(0, 19).replace(/T/g, " "),
|
|
36
|
+
actions: { ...ea, ...it.actions },
|
|
37
|
+
selectors: ta
|
|
38
|
+
}, Pt = (t) => t.toISOString().slice(0, 19).replace(/T/g, " "), ia = () => {
|
|
39
39
|
const t = /* @__PURE__ */ new Date();
|
|
40
40
|
return t.setMonth(t.getMonth() - 1), t;
|
|
41
|
-
},
|
|
41
|
+
}, aa = {
|
|
42
42
|
data: [],
|
|
43
43
|
loading: "idle",
|
|
44
44
|
page: 1,
|
|
@@ -47,7 +47,7 @@ const Qi = function(t) {
|
|
|
47
47
|
name: "dateCreation",
|
|
48
48
|
method: "between",
|
|
49
49
|
value: {
|
|
50
|
-
start: Pt(
|
|
50
|
+
start: Pt(ia()),
|
|
51
51
|
end: Pt(/* @__PURE__ */ new Date())
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -63,7 +63,7 @@ const Qi = function(t) {
|
|
|
63
63
|
}
|
|
64
64
|
}), ft = T({
|
|
65
65
|
name: "logsNavigation",
|
|
66
|
-
initialState:
|
|
66
|
+
initialState: aa,
|
|
67
67
|
reducers: {
|
|
68
68
|
setNavigationOrder: (t, e) => {
|
|
69
69
|
t.orders = [...e.payload], t.page = 1;
|
|
@@ -84,10 +84,10 @@ const Qi = function(t) {
|
|
|
84
84
|
e.loading = "idle";
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
}), Ut = (t) => t.toISOString().slice(0, 19).replace(/T/g, " "),
|
|
87
|
+
}), Ut = (t) => t.toISOString().slice(0, 19).replace(/T/g, " "), ra = () => {
|
|
88
88
|
const t = /* @__PURE__ */ new Date();
|
|
89
89
|
return t.setMonth(t.getMonth() - 1), t;
|
|
90
|
-
},
|
|
90
|
+
}, na = {
|
|
91
91
|
data: [],
|
|
92
92
|
loading: "idle",
|
|
93
93
|
page: 1,
|
|
@@ -96,7 +96,7 @@ const Qi = function(t) {
|
|
|
96
96
|
name: "dateCreation",
|
|
97
97
|
method: "between",
|
|
98
98
|
value: {
|
|
99
|
-
start: Ut(
|
|
99
|
+
start: Ut(ra()),
|
|
100
100
|
end: Ut(/* @__PURE__ */ new Date())
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -112,7 +112,7 @@ const Qi = function(t) {
|
|
|
112
112
|
}
|
|
113
113
|
}), mt = T({
|
|
114
114
|
name: "logsObjects",
|
|
115
|
-
initialState:
|
|
115
|
+
initialState: na,
|
|
116
116
|
reducers: {
|
|
117
117
|
setObjectsOrder: (t, e) => {
|
|
118
118
|
t.orders = [...e.payload], t.page = 1;
|
|
@@ -133,10 +133,10 @@ const Qi = function(t) {
|
|
|
133
133
|
e.loading = "idle";
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
}), Ft = (t) => t.toISOString().slice(0, 19).replace(/T/g, " "),
|
|
136
|
+
}), Ft = (t) => t.toISOString().slice(0, 19).replace(/T/g, " "), sa = () => {
|
|
137
137
|
const t = /* @__PURE__ */ new Date();
|
|
138
138
|
return t.setMonth(t.getMonth() - 1), t;
|
|
139
|
-
},
|
|
139
|
+
}, oa = {
|
|
140
140
|
data: [],
|
|
141
141
|
loading: "idle",
|
|
142
142
|
page: 1,
|
|
@@ -145,7 +145,7 @@ const Qi = function(t) {
|
|
|
145
145
|
name: "dateCreation",
|
|
146
146
|
method: "between",
|
|
147
147
|
value: {
|
|
148
|
-
start: Ft(
|
|
148
|
+
start: Ft(sa()),
|
|
149
149
|
end: Ft(/* @__PURE__ */ new Date())
|
|
150
150
|
}
|
|
151
151
|
}
|
|
@@ -161,7 +161,7 @@ const Qi = function(t) {
|
|
|
161
161
|
}
|
|
162
162
|
}), yt = T({
|
|
163
163
|
name: "logsSearch",
|
|
164
|
-
initialState:
|
|
164
|
+
initialState: oa,
|
|
165
165
|
reducers: {
|
|
166
166
|
setSearchOrder: (t, e) => {
|
|
167
167
|
t.orders = [...e.payload], t.page = 1;
|
|
@@ -182,14 +182,14 @@ const Qi = function(t) {
|
|
|
182
182
|
e.loading = "idle";
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
|
-
}),
|
|
185
|
+
}), la = (t) => t.adminLogs.logsNavigation, da = (t) => t.adminLogs.logsObjects, ca = (t) => t.adminLogs.logsSearch, ua = O({
|
|
186
186
|
[ft.name]: ft.reducer,
|
|
187
187
|
[mt.name]: mt.reducer,
|
|
188
188
|
[yt.name]: yt.reducer
|
|
189
189
|
}), gi = {
|
|
190
190
|
name: "adminLogs",
|
|
191
|
-
reducer:
|
|
192
|
-
},
|
|
191
|
+
reducer: ua
|
|
192
|
+
}, fl = gi.reducer, ml = {
|
|
193
193
|
slice: gi,
|
|
194
194
|
actions: {
|
|
195
195
|
...ft.actions,
|
|
@@ -199,15 +199,15 @@ const Qi = function(t) {
|
|
|
199
199
|
fetchLogsObjects: oe,
|
|
200
200
|
fetchLogsSearch: le
|
|
201
201
|
},
|
|
202
|
-
selectors: { selectAdminLogsNavigation:
|
|
203
|
-
},
|
|
202
|
+
selectors: { selectAdminLogsNavigation: la, selectAdminLogsObjects: da, selectAdminLogsSearch: ca }
|
|
203
|
+
}, pa = {
|
|
204
204
|
animationConfiguration: null,
|
|
205
205
|
isActiveForCurrentUser: !1,
|
|
206
206
|
isInitialized: !1,
|
|
207
207
|
isToggleLoading: !1
|
|
208
208
|
}, Wt = T({
|
|
209
209
|
name: "animationsList",
|
|
210
|
-
initialState:
|
|
210
|
+
initialState: pa,
|
|
211
211
|
reducers: {},
|
|
212
212
|
extraReducers: (t) => {
|
|
213
213
|
t.addCase(X.fulfilled, (e, i) => {
|
|
@@ -235,7 +235,7 @@ const Qi = function(t) {
|
|
|
235
235
|
} catch (r) {
|
|
236
236
|
return a(f.actions.error({ label: E(r) })), i({ error: 1, errorMsg: "Cannot retrieve animation" });
|
|
237
237
|
}
|
|
238
|
-
}),
|
|
238
|
+
}), ga = u(
|
|
239
239
|
"animations/deleteCurrentAnimation",
|
|
240
240
|
async (t, { extra: e, rejectWithValue: i, dispatch: a }) => {
|
|
241
241
|
try {
|
|
@@ -245,7 +245,7 @@ const Qi = function(t) {
|
|
|
245
245
|
return a(f.actions.error({ label: E(r) })), i({ error: 1, errorMsg: "Cannot delete animation" });
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
),
|
|
248
|
+
), fa = u(
|
|
249
249
|
"animations/saveCurrentAnimation",
|
|
250
250
|
async (t, { extra: e, rejectWithValue: i, dispatch: a }) => {
|
|
251
251
|
try {
|
|
@@ -265,7 +265,7 @@ const Qi = function(t) {
|
|
|
265
265
|
return a(f.actions.error({ label: E(r) })), i({ error: 1, errorMsg: "Cannot update animation" });
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
),
|
|
268
|
+
), ma = function(t) {
|
|
269
269
|
return [
|
|
270
270
|
{
|
|
271
271
|
namespace: "ANIMATIONS",
|
|
@@ -295,12 +295,12 @@ const Qi = function(t) {
|
|
|
295
295
|
} catch (r) {
|
|
296
296
|
return a(f.actions.error({ label: E(r) })), i({ error: 1, errorMsg: "Cannot retrieve animation stats" });
|
|
297
297
|
}
|
|
298
|
-
}),
|
|
298
|
+
}), ya = {
|
|
299
299
|
stats: [],
|
|
300
300
|
loading: "idle"
|
|
301
301
|
}, Bt = T({
|
|
302
302
|
name: "animationStats",
|
|
303
|
-
initialState:
|
|
303
|
+
initialState: ya,
|
|
304
304
|
reducers: {},
|
|
305
305
|
extraReducers: (t) => {
|
|
306
306
|
t.addCase(ce.pending, (e) => {
|
|
@@ -317,12 +317,12 @@ const Qi = function(t) {
|
|
|
317
317
|
} catch (r) {
|
|
318
318
|
return a(f.actions.error({ label: E(r) })), i({ error: 1, errorMsg: "Cannot retrieve animation stats current" });
|
|
319
319
|
}
|
|
320
|
-
}),
|
|
320
|
+
}), Aa = {
|
|
321
321
|
stats: null,
|
|
322
322
|
loading: "idle"
|
|
323
323
|
}, qt = T({
|
|
324
324
|
name: "animationStatsCurrent",
|
|
325
|
-
initialState:
|
|
325
|
+
initialState: Aa,
|
|
326
326
|
reducers: {},
|
|
327
327
|
extraReducers: (t) => {
|
|
328
328
|
t.addCase(ue.pending, (e) => {
|
|
@@ -333,26 +333,26 @@ const Qi = function(t) {
|
|
|
333
333
|
e.loading = "idle";
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
}),
|
|
336
|
+
}), Ea = (t) => t.animations.animationsList.animationConfiguration, Sa = (t) => t.animations.animationsList.isActiveForCurrentUser, Ta = (t) => t.animations.animationsList.isToggleLoading, Ca = (t) => t.animations.animationsList.animationConfigurationApp, ba = O({
|
|
337
337
|
[Wt.name]: Wt.reducer,
|
|
338
338
|
[Bt.name]: Bt.reducer,
|
|
339
339
|
[qt.name]: qt.reducer
|
|
340
340
|
}), fi = {
|
|
341
341
|
name: "animations",
|
|
342
|
-
reducer:
|
|
343
|
-
},
|
|
342
|
+
reducer: ba
|
|
343
|
+
}, yl = fi.reducer, Al = {
|
|
344
344
|
slice: fi,
|
|
345
345
|
actions: {
|
|
346
|
-
saveCurrentAnimation:
|
|
346
|
+
saveCurrentAnimation: fa,
|
|
347
347
|
fetchCurrentAnimation: X,
|
|
348
|
-
deleteCurrentAnimation:
|
|
348
|
+
deleteCurrentAnimation: ga,
|
|
349
349
|
toggleAnimationIsActive: de,
|
|
350
350
|
fetchCurrentAnimationApp: at,
|
|
351
351
|
fetchAnimationStats: ce,
|
|
352
352
|
fetchAnimationStatsCurrent: ue
|
|
353
353
|
},
|
|
354
|
-
selectors: { selectCurrentAnimation:
|
|
355
|
-
getAnimationsRTHandlers:
|
|
354
|
+
selectors: { selectCurrentAnimation: Ea, isActiveAnimation: Sa, isToggleLoading: Ta, selectAnimationConfigurationApp: Ca },
|
|
355
|
+
getAnimationsRTHandlers: ma
|
|
356
356
|
}, W = dt({
|
|
357
357
|
selectId: (t) => t.name,
|
|
358
358
|
sortComparer: (t, e) => t.label.localeCompare(e.label)
|
|
@@ -372,11 +372,11 @@ const Qi = function(t) {
|
|
|
372
372
|
W.setAll(e, i.payload.result);
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
|
-
}),
|
|
375
|
+
}), wa = W.getSelectors((t) => t.entities.applications), El = {
|
|
376
376
|
slice: $t,
|
|
377
377
|
actions: { fetchList: mi, ...$t.actions },
|
|
378
|
-
selectors:
|
|
379
|
-
},
|
|
378
|
+
selectors: wa
|
|
379
|
+
}, La = {
|
|
380
380
|
entities: [],
|
|
381
381
|
loading: "idle",
|
|
382
382
|
nbResults: 0
|
|
@@ -394,7 +394,7 @@ const Qi = function(t) {
|
|
|
394
394
|
}
|
|
395
395
|
), Vt = T({
|
|
396
396
|
name: "bookableAsset",
|
|
397
|
-
initialState:
|
|
397
|
+
initialState: La,
|
|
398
398
|
reducers: {},
|
|
399
399
|
extraReducers: (t) => {
|
|
400
400
|
t.addCase(pe.pending, (e) => {
|
|
@@ -408,7 +408,7 @@ const Qi = function(t) {
|
|
|
408
408
|
}), ge = u(
|
|
409
409
|
"AssetReservation/configuration",
|
|
410
410
|
async (t, { extra: e }) => await e.jApi.assetReservation.configuration()
|
|
411
|
-
),
|
|
411
|
+
), Ia = {
|
|
412
412
|
description: "",
|
|
413
413
|
right: {
|
|
414
414
|
manage: !1
|
|
@@ -421,7 +421,7 @@ const Qi = function(t) {
|
|
|
421
421
|
loading: "idle"
|
|
422
422
|
}, Ht = T({
|
|
423
423
|
name: "configuration",
|
|
424
|
-
initialState:
|
|
424
|
+
initialState: Ia,
|
|
425
425
|
reducers: {},
|
|
426
426
|
extraReducers: (t) => {
|
|
427
427
|
t.addCase(ge.pending, (e) => {
|
|
@@ -437,7 +437,7 @@ const Qi = function(t) {
|
|
|
437
437
|
date: "",
|
|
438
438
|
hourStart: "",
|
|
439
439
|
hourEnd: ""
|
|
440
|
-
},
|
|
440
|
+
}, va = {
|
|
441
441
|
entities: [],
|
|
442
442
|
loading: "idle",
|
|
443
443
|
nbResults: 0,
|
|
@@ -451,7 +451,7 @@ const Qi = function(t) {
|
|
|
451
451
|
return await e.jApi.assetReservation.getList(i);
|
|
452
452
|
}), At = T({
|
|
453
453
|
name: "reservation",
|
|
454
|
-
initialState:
|
|
454
|
+
initialState: va,
|
|
455
455
|
reducers: {
|
|
456
456
|
setForm: (t, e) => {
|
|
457
457
|
t.form = e.payload;
|
|
@@ -472,25 +472,25 @@ const Qi = function(t) {
|
|
|
472
472
|
e.loading = "idle";
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
|
-
}),
|
|
475
|
+
}), ha = O({
|
|
476
476
|
[Vt.name]: Vt.reducer,
|
|
477
477
|
[Ht.name]: Ht.reducer,
|
|
478
478
|
[At.name]: At.reducer
|
|
479
|
-
}),
|
|
479
|
+
}), Oa = {
|
|
480
480
|
name: "assetReservation",
|
|
481
|
-
reducer:
|
|
482
|
-
},
|
|
483
|
-
slice:
|
|
481
|
+
reducer: ha
|
|
482
|
+
}, Ra = (t) => t.assetReservation.configuration, ka = (t) => t.assetReservation.bookableAsset.entities, Da = (t) => t.assetReservation.bookableAsset.loading, Ma = (t) => t.assetReservation.reservation.entities, xa = (t) => t.assetReservation.reservation.loading, ja = (t) => t.assetReservation.reservation.form, Sl = {
|
|
483
|
+
slice: Oa,
|
|
484
484
|
actions: { ...At.actions, fetchBookableAsset: pe, fetchConfiguration: ge, fetchReservation: fe },
|
|
485
485
|
selectors: {
|
|
486
|
-
configuration:
|
|
487
|
-
bookableAssetEntities:
|
|
488
|
-
bookableAssetLoading:
|
|
489
|
-
reservationEntities:
|
|
490
|
-
reservationLoading:
|
|
491
|
-
reservationForm:
|
|
492
|
-
}
|
|
493
|
-
},
|
|
486
|
+
configuration: Ra,
|
|
487
|
+
bookableAssetEntities: ka,
|
|
488
|
+
bookableAssetLoading: Da,
|
|
489
|
+
reservationEntities: Ma,
|
|
490
|
+
reservationLoading: xa,
|
|
491
|
+
reservationForm: ja
|
|
492
|
+
}
|
|
493
|
+
}, _a = {
|
|
494
494
|
loading: "idle",
|
|
495
495
|
reports: [],
|
|
496
496
|
page: 1,
|
|
@@ -500,9 +500,9 @@ const Qi = function(t) {
|
|
|
500
500
|
limit: 10,
|
|
501
501
|
nbResults: 0,
|
|
502
502
|
pendingReports: []
|
|
503
|
-
},
|
|
503
|
+
}, Na = T({
|
|
504
504
|
name: "contentReport",
|
|
505
|
-
initialState:
|
|
505
|
+
initialState: _a,
|
|
506
506
|
reducers: {
|
|
507
507
|
setTab: (t, e) => {
|
|
508
508
|
t.tab = e.payload, t.page = 1, t.orders = [], t.filters = [];
|
|
@@ -563,14 +563,14 @@ const Qi = function(t) {
|
|
|
563
563
|
} catch (r) {
|
|
564
564
|
return v(r) || e(f.actions.error({ label: E(r) })), i({ error: 1, errorMsg: "Cannot fetch pads" });
|
|
565
565
|
}
|
|
566
|
-
}),
|
|
567
|
-
slice:
|
|
566
|
+
}), Pa = (t) => t.contentReport, Tl = {
|
|
567
|
+
slice: Na,
|
|
568
568
|
actions: {
|
|
569
569
|
fetchReports: me,
|
|
570
570
|
updateStatus: ye
|
|
571
571
|
},
|
|
572
|
-
selectors: { selectContentReport:
|
|
573
|
-
},
|
|
572
|
+
selectors: { selectContentReport: Pa }
|
|
573
|
+
}, Ai = 999, Ua = {
|
|
574
574
|
bookmarks: [],
|
|
575
575
|
loading: "idle",
|
|
576
576
|
status: void 0,
|
|
@@ -581,9 +581,11 @@ const Qi = function(t) {
|
|
|
581
581
|
loading: "idle",
|
|
582
582
|
status: void 0
|
|
583
583
|
},
|
|
584
|
-
delete: {}
|
|
584
|
+
delete: {},
|
|
585
|
+
perPage: Ai,
|
|
586
|
+
page: 1
|
|
585
587
|
}, $ = u("bookmarkList/fetchbookmarkList", async (t, { extra: e, rejectWithValue: i, dispatch: a }) => {
|
|
586
|
-
const r = { limit:
|
|
588
|
+
const r = { limit: Ai };
|
|
587
589
|
try {
|
|
588
590
|
return await e.jApi.bookmark.getFormattedList(r, "raw-list");
|
|
589
591
|
} catch (n) {
|
|
@@ -619,7 +621,7 @@ const Qi = function(t) {
|
|
|
619
621
|
}
|
|
620
622
|
}), z = T({
|
|
621
623
|
name: "bookmarkList",
|
|
622
|
-
initialState:
|
|
624
|
+
initialState: Ua,
|
|
623
625
|
reducers: {
|
|
624
626
|
resetAddBookmarkStatus: (t, e) => {
|
|
625
627
|
t.add[e.payload] && delete t.add[e.payload];
|
|
@@ -688,7 +690,7 @@ const Qi = function(t) {
|
|
|
688
690
|
});
|
|
689
691
|
});
|
|
690
692
|
}
|
|
691
|
-
}),
|
|
693
|
+
}), Fa = function(t) {
|
|
692
694
|
const e = function(n, s) {
|
|
693
695
|
pi.objectIsType("bookmarkLink", n.object) ? t(s(n.object)) : t($());
|
|
694
696
|
}, i = function() {
|
|
@@ -725,7 +727,7 @@ const Qi = function(t) {
|
|
|
725
727
|
handler: i
|
|
726
728
|
}
|
|
727
729
|
];
|
|
728
|
-
},
|
|
730
|
+
}, Wa = {
|
|
729
731
|
bookmark: void 0,
|
|
730
732
|
status: void 0,
|
|
731
733
|
loading: "idle"
|
|
@@ -743,7 +745,7 @@ const Qi = function(t) {
|
|
|
743
745
|
}
|
|
744
746
|
), Et = T({
|
|
745
747
|
name: "bookmarkEdit",
|
|
746
|
-
initialState:
|
|
748
|
+
initialState: Wa,
|
|
747
749
|
reducers: {
|
|
748
750
|
setEditBookmark: (t, e) => {
|
|
749
751
|
t.bookmark = { ...e.payload };
|
|
@@ -764,14 +766,14 @@ const Qi = function(t) {
|
|
|
764
766
|
e.status = "error", e.loading = "idle";
|
|
765
767
|
});
|
|
766
768
|
}
|
|
767
|
-
}),
|
|
769
|
+
}), Ba = O({
|
|
768
770
|
[z.name]: z.reducer,
|
|
769
771
|
[Et.name]: Et.reducer
|
|
770
|
-
}),
|
|
772
|
+
}), qa = {
|
|
771
773
|
name: "bookmark",
|
|
772
|
-
reducer:
|
|
773
|
-
},
|
|
774
|
-
slice:
|
|
774
|
+
reducer: Ba
|
|
775
|
+
}, $a = (t) => t.bookmark.bookmarkList, Va = (t) => t.bookmark.bookmarkList.isInitialized, Ha = (t) => t.bookmark.bookmarkEdit.bookmark, Ga = (t, e) => t.bookmark.bookmarkList.bookmarks.find((i) => i.targetId === e), Cl = {
|
|
776
|
+
slice: qa,
|
|
775
777
|
actions: {
|
|
776
778
|
fetchBookmark: $,
|
|
777
779
|
addBookmark: Ae,
|
|
@@ -782,12 +784,12 @@ const Qi = function(t) {
|
|
|
782
784
|
...z.actions
|
|
783
785
|
},
|
|
784
786
|
selectors: {
|
|
785
|
-
bookmarkList:
|
|
786
|
-
bookmarkListIsInitialized:
|
|
787
|
-
bookmarkEditBookmark:
|
|
788
|
-
bookmarkByArticleId:
|
|
787
|
+
bookmarkList: $a,
|
|
788
|
+
bookmarkListIsInitialized: Va,
|
|
789
|
+
bookmarkEditBookmark: Ha,
|
|
790
|
+
bookmarkByArticleId: Ga
|
|
789
791
|
},
|
|
790
|
-
getRTHandlers:
|
|
792
|
+
getRTHandlers: Fa
|
|
791
793
|
}, Gt = {
|
|
792
794
|
list: [],
|
|
793
795
|
statuses: ["subscribed", "unanswered"],
|
|
@@ -796,7 +798,7 @@ const Qi = function(t) {
|
|
|
796
798
|
pendingStatusChanges: []
|
|
797
799
|
};
|
|
798
800
|
let ut = null;
|
|
799
|
-
const
|
|
801
|
+
const Ei = (t, e, i = 500) => {
|
|
800
802
|
ut && clearTimeout(ut), ut = setTimeout(() => {
|
|
801
803
|
t(j(e));
|
|
802
804
|
}, i);
|
|
@@ -822,7 +824,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
822
824
|
} catch (d) {
|
|
823
825
|
return v(d) || a(f.actions.error({ label: E(d) })), i({ error: 1, errorMsg: "Cannot retrieve events" });
|
|
824
826
|
}
|
|
825
|
-
}),
|
|
827
|
+
}), Si = u("calendarEvents/setDates", async (t, { dispatch: e }) => (Ei(e, { dates: t }), !0)), Ti = u("calendarEvents/setTypes", async (t, { dispatch: e }) => (Ei(e, { types: t }), !0)), Ce = u("calendarEvents/changeResponse", async (t, { dispatch: e, extra: i, signal: a, rejectWithValue: r }) => {
|
|
826
828
|
try {
|
|
827
829
|
return t.status === "unknown" ? await i.jApi.global.removeAction(
|
|
828
830
|
{
|
|
@@ -891,13 +893,13 @@ const Ai = (t, e, i = 500) => {
|
|
|
891
893
|
(n) => n.requestId !== i.meta.requestId
|
|
892
894
|
);
|
|
893
895
|
}
|
|
894
|
-
}).addCase(Ei.pending, (e, i) => {
|
|
895
|
-
e.dates = { start: i.meta.arg.start, end: i.meta.arg.end }, e.loading = "pending";
|
|
896
896
|
}).addCase(Si.pending, (e, i) => {
|
|
897
|
+
e.dates = { start: i.meta.arg.start, end: i.meta.arg.end }, e.loading = "pending";
|
|
898
|
+
}).addCase(Ti.pending, (e, i) => {
|
|
897
899
|
e.types = i.meta.arg, e.loading = "pending";
|
|
898
900
|
});
|
|
899
901
|
}
|
|
900
|
-
}), ie = (t) => ["socialEvent", "meeting", "animatedMeeting", "recurringEvent", "recurringEventOccurrence"].includes(t),
|
|
902
|
+
}), ie = (t) => ["socialEvent", "meeting", "animatedMeeting", "recurringEvent", "recurringEventOccurrence"].includes(t), Xa = function(t, e) {
|
|
901
903
|
const i = function(s) {
|
|
902
904
|
if (s.namespace === "JAMESPOT" && s.function === "article-create" && ie(s.object.type)) {
|
|
903
905
|
if (s.object.type === "recurringEvent") {
|
|
@@ -973,25 +975,25 @@ const Ai = (t, e, i = 500) => {
|
|
|
973
975
|
handler: n
|
|
974
976
|
}
|
|
975
977
|
];
|
|
976
|
-
},
|
|
978
|
+
}, Ja = O({
|
|
977
979
|
[x.name]: x.reducer
|
|
978
|
-
}),
|
|
980
|
+
}), Ka = {
|
|
979
981
|
name: "calendar",
|
|
980
|
-
reducer:
|
|
981
|
-
},
|
|
982
|
-
slice:
|
|
982
|
+
reducer: Ja
|
|
983
|
+
}, Ya = (t) => t.calendar.events, bl = {
|
|
984
|
+
slice: Ka,
|
|
983
985
|
actions: {
|
|
984
986
|
fetchEvents: j,
|
|
985
|
-
setDates:
|
|
986
|
-
setTypes:
|
|
987
|
+
setDates: Si,
|
|
988
|
+
setTypes: Ti,
|
|
987
989
|
changeResponse: Ce,
|
|
988
990
|
...x.actions
|
|
989
991
|
},
|
|
990
992
|
selectors: {
|
|
991
|
-
selectCalendarEvents:
|
|
993
|
+
selectCalendarEvents: Ya
|
|
992
994
|
},
|
|
993
|
-
getCalendarRTHandlers:
|
|
994
|
-
},
|
|
995
|
+
getCalendarRTHandlers: Xa
|
|
996
|
+
}, Qa = {
|
|
995
997
|
loading: "idle",
|
|
996
998
|
comments: []
|
|
997
999
|
}, P = u(
|
|
@@ -1018,7 +1020,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1018
1020
|
}
|
|
1019
1021
|
), Tt = T({
|
|
1020
1022
|
name: "commentList",
|
|
1021
|
-
initialState:
|
|
1023
|
+
initialState: Qa,
|
|
1022
1024
|
reducers: {
|
|
1023
1025
|
discardComments: (t, e) => {
|
|
1024
1026
|
t.comments = t.comments.filter((i) => i.idArticle !== e.payload.idArticle);
|
|
@@ -1082,7 +1084,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1082
1084
|
});
|
|
1083
1085
|
});
|
|
1084
1086
|
}
|
|
1085
|
-
}),
|
|
1087
|
+
}), za = function(t, e) {
|
|
1086
1088
|
return [
|
|
1087
1089
|
{
|
|
1088
1090
|
namespace: "JAMESPOT",
|
|
@@ -1099,7 +1101,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1099
1101
|
}
|
|
1100
1102
|
}
|
|
1101
1103
|
];
|
|
1102
|
-
},
|
|
1104
|
+
}, Za = function(t, e, i) {
|
|
1103
1105
|
const a = function(r) {
|
|
1104
1106
|
r.namespace === "CUSTOM-ACTION" && (r.function === "add" || r.function === "remove") && r.object.type === "sociallike" && r.object.targetId && e?.includes(r.object.targetId) && t(P({ idArticle: i }));
|
|
1105
1107
|
};
|
|
@@ -1107,29 +1109,29 @@ const Ai = (t, e, i = 500) => {
|
|
|
1107
1109
|
{ namespace: "CUSTOM-ACTION", function: "add", handler: a },
|
|
1108
1110
|
{ namespace: "CUSTOM-ACTION", function: "remove", handler: a }
|
|
1109
1111
|
] : [];
|
|
1110
|
-
},
|
|
1112
|
+
}, er = O({
|
|
1111
1113
|
[Tt.name]: Tt.reducer
|
|
1112
|
-
}),
|
|
1114
|
+
}), tr = {
|
|
1113
1115
|
name: "comment",
|
|
1114
|
-
reducer:
|
|
1115
|
-
},
|
|
1116
|
+
reducer: er
|
|
1117
|
+
}, ir = (t, e, i = 0) => {
|
|
1116
1118
|
const a = t.comment.commentList.comments.find((n) => n.idArticle === e), r = a ? [...a.list].sort((n, s) => n.id - s.id) : [];
|
|
1117
1119
|
return i !== 0 ? r.slice(-i) : r;
|
|
1118
|
-
},
|
|
1119
|
-
slice:
|
|
1120
|
+
}, wl = {
|
|
1121
|
+
slice: tr,
|
|
1120
1122
|
actions: { fetchComments: P, deleteComment: St, ...Tt.actions },
|
|
1121
1123
|
selectors: {
|
|
1122
|
-
commentList:
|
|
1124
|
+
commentList: ir
|
|
1123
1125
|
},
|
|
1124
|
-
getCommentRTHandlers:
|
|
1125
|
-
getCommentsLikeRTHandlers:
|
|
1126
|
+
getCommentRTHandlers: za,
|
|
1127
|
+
getCommentsLikeRTHandlers: Za
|
|
1126
1128
|
}, R = {
|
|
1127
1129
|
route: "extra-bot",
|
|
1128
1130
|
moduleName: "ExtraBotHook",
|
|
1129
1131
|
configurationType: "extraBot",
|
|
1130
1132
|
listLimit: 20,
|
|
1131
1133
|
listDefaultPage: 1
|
|
1132
|
-
},
|
|
1134
|
+
}, ar = {
|
|
1133
1135
|
global: {
|
|
1134
1136
|
loading: "idle"
|
|
1135
1137
|
},
|
|
@@ -1232,12 +1234,12 @@ const Ai = (t, e, i = 500) => {
|
|
|
1232
1234
|
return v(r) || a(f.actions.error({ label: E(r) })), i({ error: 1, errorMsg: "Cannot retrieve extra bot" });
|
|
1233
1235
|
}
|
|
1234
1236
|
}
|
|
1235
|
-
),
|
|
1237
|
+
), rr = (t, e, i, a) => {
|
|
1236
1238
|
const r = t.listAll.data.find((s) => s.uri === e), n = t.listMines.data.find((s) => s.uri === e);
|
|
1237
1239
|
r && (r[i] = a), n && (n[i] = a);
|
|
1238
1240
|
}, Xt = T({
|
|
1239
1241
|
name: "extraBot",
|
|
1240
|
-
initialState:
|
|
1242
|
+
initialState: ar,
|
|
1241
1243
|
reducers: {
|
|
1242
1244
|
setListAllOrder: (t, e) => {
|
|
1243
1245
|
t.listAll.orders = [...e.payload], t.listAll.page = R.listDefaultPage;
|
|
@@ -1282,7 +1284,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1282
1284
|
}).addCase(we.fulfilled, (e, i) => {
|
|
1283
1285
|
e.global.loading = "idle";
|
|
1284
1286
|
const a = i.payload;
|
|
1285
|
-
|
|
1287
|
+
rr(e, a.uri, "enabled", a.enabled);
|
|
1286
1288
|
}).addCase(we.rejected, (e) => {
|
|
1287
1289
|
e.global.loading = "idle";
|
|
1288
1290
|
}).addCase(Le.pending, (e) => {
|
|
@@ -1293,7 +1295,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1293
1295
|
e.global.loading = "idle";
|
|
1294
1296
|
});
|
|
1295
1297
|
}
|
|
1296
|
-
}),
|
|
1298
|
+
}), nr = (t) => t.extraBot.listAll, sr = (t) => t.extraBot.listMines, Ll = {
|
|
1297
1299
|
slice: Xt,
|
|
1298
1300
|
actions: {
|
|
1299
1301
|
fetchExtraBotListAll: J,
|
|
@@ -1302,8 +1304,8 @@ const Ai = (t, e, i = 500) => {
|
|
|
1302
1304
|
saveExtraBot: Le,
|
|
1303
1305
|
...Xt.actions
|
|
1304
1306
|
},
|
|
1305
|
-
selectors: { selectExtraBotListAll:
|
|
1306
|
-
},
|
|
1307
|
+
selectors: { selectExtraBotListAll: nr, selectExtraBotListMines: sr }
|
|
1308
|
+
}, or = {
|
|
1307
1309
|
loading: "idle",
|
|
1308
1310
|
access: { createCategory: !1 }
|
|
1309
1311
|
}, Ie = u(
|
|
@@ -1331,7 +1333,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1331
1333
|
}
|
|
1332
1334
|
), Jt = T({
|
|
1333
1335
|
name: "config",
|
|
1334
|
-
initialState:
|
|
1336
|
+
initialState: or,
|
|
1335
1337
|
reducers: {},
|
|
1336
1338
|
extraReducers: (t) => {
|
|
1337
1339
|
t.addCase(Ie.pending, (e) => {
|
|
@@ -1340,14 +1342,14 @@ const Ai = (t, e, i = 500) => {
|
|
|
1340
1342
|
e.loading == "pending" && (e.loading = "idle");
|
|
1341
1343
|
});
|
|
1342
1344
|
}
|
|
1343
|
-
}),
|
|
1345
|
+
}), lr = {
|
|
1344
1346
|
loading: "idle",
|
|
1345
1347
|
categories: null
|
|
1346
1348
|
}, ve = u("faqCategories/fetch", async (t, { extra: e }) => ({
|
|
1347
1349
|
categories: (await e.jApi.faq.getCategoriesList()).result.data
|
|
1348
1350
|
})), Kt = T({
|
|
1349
1351
|
name: "categories",
|
|
1350
|
-
initialState:
|
|
1352
|
+
initialState: lr,
|
|
1351
1353
|
reducers: {},
|
|
1352
1354
|
extraReducers: (t) => {
|
|
1353
1355
|
t.addCase(ve.pending, (e) => {
|
|
@@ -1356,26 +1358,26 @@ const Ai = (t, e, i = 500) => {
|
|
|
1356
1358
|
e.loading == "pending" && (e.loading = "idle");
|
|
1357
1359
|
});
|
|
1358
1360
|
}
|
|
1359
|
-
}),
|
|
1361
|
+
}), dr = O({
|
|
1360
1362
|
[Jt.name]: Jt.reducer,
|
|
1361
1363
|
[Kt.name]: Kt.reducer
|
|
1362
|
-
}),
|
|
1364
|
+
}), cr = {
|
|
1363
1365
|
name: "faq",
|
|
1364
|
-
reducer:
|
|
1365
|
-
},
|
|
1366
|
-
slice:
|
|
1366
|
+
reducer: dr
|
|
1367
|
+
}, ur = (t) => t.faq.config, pr = (t) => t.faq.categories, Il = {
|
|
1368
|
+
slice: cr,
|
|
1367
1369
|
actions: {
|
|
1368
1370
|
fetchFaqConfig: Ie,
|
|
1369
1371
|
fetchFaqCategories: ve
|
|
1370
1372
|
},
|
|
1371
1373
|
selectors: {
|
|
1372
|
-
selectFaqConfig:
|
|
1373
|
-
selectFaqCategories:
|
|
1374
|
+
selectFaqConfig: ur,
|
|
1375
|
+
selectFaqCategories: pr
|
|
1374
1376
|
}
|
|
1375
1377
|
}, K = {
|
|
1376
1378
|
listLimit: 50,
|
|
1377
1379
|
listDefaultPage: 1
|
|
1378
|
-
},
|
|
1380
|
+
}, gr = {
|
|
1379
1381
|
list: {
|
|
1380
1382
|
loading: "idle",
|
|
1381
1383
|
data: [],
|
|
@@ -1425,7 +1427,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1425
1427
|
}
|
|
1426
1428
|
), Yt = T({
|
|
1427
1429
|
name: "fileIntegrity",
|
|
1428
|
-
initialState:
|
|
1430
|
+
initialState: gr,
|
|
1429
1431
|
reducers: {
|
|
1430
1432
|
setListOrder: (t, e) => {
|
|
1431
1433
|
t.list.orders = [...e.payload], t.list.page = K.listDefaultPage;
|
|
@@ -1458,7 +1460,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1458
1460
|
e.action.loading = "idle";
|
|
1459
1461
|
});
|
|
1460
1462
|
}
|
|
1461
|
-
}),
|
|
1463
|
+
}), fr = (t) => t.fileIntegrity.action, mr = (t) => t.fileIntegrity.list, vl = {
|
|
1462
1464
|
slice: Yt,
|
|
1463
1465
|
actions: {
|
|
1464
1466
|
deleteQuarantine: Re,
|
|
@@ -1466,18 +1468,18 @@ const Ai = (t, e, i = 500) => {
|
|
|
1466
1468
|
releaseQuarantine: Oe,
|
|
1467
1469
|
...Yt.actions
|
|
1468
1470
|
},
|
|
1469
|
-
selectors: { selectFileIntegrityAction:
|
|
1470
|
-
},
|
|
1471
|
+
selectors: { selectFileIntegrityAction: fr, selectFileIntegrityList: mr }
|
|
1472
|
+
}, yr = (t) => t ? Object.keys(t).filter((e) => t[e]) : [], Qt = T({
|
|
1471
1473
|
name: "hooks",
|
|
1472
1474
|
initialState: {},
|
|
1473
1475
|
reducers: {
|
|
1474
1476
|
initHooks: (t, { payload: e }) => e
|
|
1475
1477
|
}
|
|
1476
|
-
}),
|
|
1478
|
+
}), Ar = (t) => t.hooks, Er = (t, e) => t.hooks[e], Sr = (t, e) => !!t.hooks[e]?.hasLicense, hl = {
|
|
1477
1479
|
slice: Qt,
|
|
1478
1480
|
actions: Qt.actions,
|
|
1479
|
-
selectors: { selectHooks:
|
|
1480
|
-
utils: { buildDrivesArrayFromObject:
|
|
1481
|
+
selectors: { selectHooks: Ar, selectHook: Er, hasHookLicense: Sr },
|
|
1482
|
+
utils: { buildDrivesArrayFromObject: yr }
|
|
1481
1483
|
}, kt = (t) => {
|
|
1482
1484
|
const e = t.urlToJland;
|
|
1483
1485
|
if (!e)
|
|
@@ -1609,7 +1611,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1609
1611
|
e.loadingMapDeletion === "pending" && (e.loadingMapDeletion = "idle");
|
|
1610
1612
|
});
|
|
1611
1613
|
}
|
|
1612
|
-
}),
|
|
1614
|
+
}), Tr = {
|
|
1613
1615
|
title: "",
|
|
1614
1616
|
type: "",
|
|
1615
1617
|
flavor: "",
|
|
@@ -1618,7 +1620,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1618
1620
|
illustration: "",
|
|
1619
1621
|
assignLicense: !1
|
|
1620
1622
|
}, Zt = {
|
|
1621
|
-
map: { ...
|
|
1623
|
+
map: { ...Tr },
|
|
1622
1624
|
loading: "idle",
|
|
1623
1625
|
status: void 0,
|
|
1624
1626
|
msg: void 0
|
|
@@ -1666,20 +1668,20 @@ const Ai = (t, e, i = 500) => {
|
|
|
1666
1668
|
e.msg = i.error.message ?? void 0, e.status = "error", e.loading = "idle";
|
|
1667
1669
|
});
|
|
1668
1670
|
}
|
|
1669
|
-
}),
|
|
1671
|
+
}), Cr = function(e) {
|
|
1670
1672
|
return e.jland.jLandMapList.maps;
|
|
1671
|
-
}, Cr = function(e) {
|
|
1672
|
-
return e.jland.jLandMapList.availableLicenses;
|
|
1673
1673
|
}, br = function(e) {
|
|
1674
|
+
return e.jland.jLandMapList.availableLicenses;
|
|
1675
|
+
}, wr = function(e) {
|
|
1674
1676
|
return e.jland.mapCreate;
|
|
1675
|
-
},
|
|
1677
|
+
}, Lr = O({
|
|
1676
1678
|
[zt.name]: zt.reducer,
|
|
1677
1679
|
[Ct.name]: Ct.reducer
|
|
1678
|
-
}),
|
|
1680
|
+
}), Ir = {
|
|
1679
1681
|
name: "jland",
|
|
1680
|
-
reducer:
|
|
1681
|
-
},
|
|
1682
|
-
slice:
|
|
1682
|
+
reducer: Lr
|
|
1683
|
+
}, Ol = {
|
|
1684
|
+
slice: Ir,
|
|
1683
1685
|
actions: {
|
|
1684
1686
|
...Ct.actions,
|
|
1685
1687
|
assignLicense: Y,
|
|
@@ -1690,12 +1692,12 @@ const Ai = (t, e, i = 500) => {
|
|
|
1690
1692
|
createMap: Me
|
|
1691
1693
|
},
|
|
1692
1694
|
selectors: {
|
|
1693
|
-
selectJLandMaps:
|
|
1694
|
-
selectJLandAvailableLicenses:
|
|
1695
|
-
selectMapCreate:
|
|
1695
|
+
selectJLandMaps: Cr,
|
|
1696
|
+
selectJLandAvailableLicenses: br,
|
|
1697
|
+
selectMapCreate: wr
|
|
1696
1698
|
},
|
|
1697
1699
|
utils: { buildUrlToJland: Dt }
|
|
1698
|
-
},
|
|
1700
|
+
}, vr = {
|
|
1699
1701
|
loading: "idle",
|
|
1700
1702
|
pads: [],
|
|
1701
1703
|
query: "",
|
|
@@ -1705,9 +1707,9 @@ const Ai = (t, e, i = 500) => {
|
|
|
1705
1707
|
orders: [],
|
|
1706
1708
|
limit: 10,
|
|
1707
1709
|
nbResults: 0
|
|
1708
|
-
},
|
|
1710
|
+
}, hr = T({
|
|
1709
1711
|
name: "magicPad",
|
|
1710
|
-
initialState:
|
|
1712
|
+
initialState: vr,
|
|
1711
1713
|
reducers: {
|
|
1712
1714
|
setTab: (t, e) => {
|
|
1713
1715
|
t.tab = e.payload, t.page = 1, t.orders = [], t.filters = [];
|
|
@@ -1759,16 +1761,16 @@ const Ai = (t, e, i = 500) => {
|
|
|
1759
1761
|
} catch (n) {
|
|
1760
1762
|
return a(f.actions.error({ label: E(n) })), i({ error: 1, errorMsg: "Cannot fetch pads" });
|
|
1761
1763
|
}
|
|
1762
|
-
}),
|
|
1763
|
-
slice:
|
|
1764
|
+
}), Or = (t) => t.magicPad, Rl = {
|
|
1765
|
+
slice: hr,
|
|
1764
1766
|
actions: {
|
|
1765
1767
|
fetchPads: xe
|
|
1766
1768
|
},
|
|
1767
|
-
selectors: { selectMagicPad:
|
|
1769
|
+
selectors: { selectMagicPad: Or }
|
|
1768
1770
|
}, bt = {
|
|
1769
1771
|
typeMediaLibraryFolder: "mediaLibraryFolder",
|
|
1770
1772
|
typeMediaLibraryFile: "mediaLibraryFile"
|
|
1771
|
-
},
|
|
1773
|
+
}, Rr = 18, kr = 12, Dr = 18, Mr = {
|
|
1772
1774
|
loading: "idle",
|
|
1773
1775
|
nbResults: 0,
|
|
1774
1776
|
query: "",
|
|
@@ -1780,9 +1782,9 @@ const Ai = (t, e, i = 500) => {
|
|
|
1780
1782
|
stats: null,
|
|
1781
1783
|
foldersStats: { loading: !1, pager: null },
|
|
1782
1784
|
filesStats: { loading: !1, pager: null }
|
|
1783
|
-
},
|
|
1785
|
+
}, Ci = T({
|
|
1784
1786
|
name: "mediaLibrary",
|
|
1785
|
-
initialState:
|
|
1787
|
+
initialState: Mr,
|
|
1786
1788
|
reducers: {
|
|
1787
1789
|
removeFileFromFolder(t, e) {
|
|
1788
1790
|
return {
|
|
@@ -1855,7 +1857,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1855
1857
|
page: t,
|
|
1856
1858
|
orders: [{ name: "title", sort: "ASC" }]
|
|
1857
1859
|
};
|
|
1858
|
-
e || (l.limit =
|
|
1860
|
+
e || (l.limit = kr);
|
|
1859
1861
|
try {
|
|
1860
1862
|
const d = s().mediaLibrary;
|
|
1861
1863
|
return l.query = i ?? d.query, await a.jApi.article.list(l, {
|
|
@@ -1870,7 +1872,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1870
1872
|
const n = {
|
|
1871
1873
|
type: bt.typeMediaLibraryFile,
|
|
1872
1874
|
page: e,
|
|
1873
|
-
limit:
|
|
1875
|
+
limit: Dr,
|
|
1874
1876
|
filters: [
|
|
1875
1877
|
{
|
|
1876
1878
|
name: "mediaLibraryFolderOrientedLinks",
|
|
@@ -1891,7 +1893,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
1891
1893
|
const s = n().mediaLibrary, l = e ?? s.query;
|
|
1892
1894
|
return await i.jApi.mediaLibrary.GetUnclassifiedFiles({
|
|
1893
1895
|
page: t,
|
|
1894
|
-
limit:
|
|
1896
|
+
limit: Rr,
|
|
1895
1897
|
query: l
|
|
1896
1898
|
});
|
|
1897
1899
|
} catch (s) {
|
|
@@ -1933,8 +1935,8 @@ const Ai = (t, e, i = 500) => {
|
|
|
1933
1935
|
return a(f.actions.error({ label: E(r) })), i({ error: 1, errorMsg: "Cannot get MediaLibrary stats" });
|
|
1934
1936
|
}
|
|
1935
1937
|
}
|
|
1936
|
-
),
|
|
1937
|
-
slice:
|
|
1938
|
+
), xr = (t) => t.mediaLibrary, jr = (t) => t.mediaLibrary.stats, _r = (t) => t.mediaLibrary.foldersStats, Nr = (t) => t.mediaLibrary.filesStats, Pr = (t) => t.mediaLibrary.folders, Ur = (t) => t.mediaLibrary.foldersAll, Fr = (t) => t.mediaLibrary.folderFiles, Wr = (t) => t.mediaLibrary.unclassifiedFiles, kl = Ci.reducer, Dl = {
|
|
1939
|
+
slice: Ci,
|
|
1938
1940
|
actions: {
|
|
1939
1941
|
fetchMediaLibraryFolders: je,
|
|
1940
1942
|
fetchFolderFiles: _e,
|
|
@@ -1945,26 +1947,26 @@ const Ai = (t, e, i = 500) => {
|
|
|
1945
1947
|
fetchMediaLibraryFoldersStats: Ue
|
|
1946
1948
|
},
|
|
1947
1949
|
selectors: {
|
|
1948
|
-
selectMediaLibrary:
|
|
1949
|
-
selectMediaLibraryStats:
|
|
1950
|
-
selectMediaLibraryFoldersStats:
|
|
1951
|
-
selectMediaLibraryFilesStats:
|
|
1952
|
-
selectFolders:
|
|
1953
|
-
selectFolderAll:
|
|
1954
|
-
selectFolderFiles:
|
|
1955
|
-
selectUnclassifiedFiles:
|
|
1950
|
+
selectMediaLibrary: xr,
|
|
1951
|
+
selectMediaLibraryStats: jr,
|
|
1952
|
+
selectMediaLibraryFoldersStats: _r,
|
|
1953
|
+
selectMediaLibraryFilesStats: Nr,
|
|
1954
|
+
selectFolders: Pr,
|
|
1955
|
+
selectFolderAll: Ur,
|
|
1956
|
+
selectFolderFiles: Fr,
|
|
1957
|
+
selectUnclassifiedFiles: Wr
|
|
1956
1958
|
}
|
|
1957
1959
|
}, H = dt({
|
|
1958
1960
|
selectId: (t) => t.type,
|
|
1959
1961
|
sortComparer: (t, e) => t.label.localeCompare(e.label)
|
|
1960
|
-
}),
|
|
1962
|
+
}), Br = (t, e) => {
|
|
1961
1963
|
const i = {
|
|
1962
1964
|
from: "imagestatic",
|
|
1963
1965
|
size: e ?? "fitx600",
|
|
1964
1966
|
uri: `icons/${t?.icon ?? "article"}-white`
|
|
1965
1967
|
};
|
|
1966
|
-
return
|
|
1967
|
-
},
|
|
1968
|
+
return Yi(i);
|
|
1969
|
+
}, qr = (t) => `icon-${{
|
|
1968
1970
|
actionplan: "fs-actionplan",
|
|
1969
1971
|
animatedMeeting: "fs-animated_meeting",
|
|
1970
1972
|
// Diapazone
|
|
@@ -2018,64 +2020,64 @@ const Ai = (t, e, i = 500) => {
|
|
|
2018
2020
|
addMany: H.addMany,
|
|
2019
2021
|
setAll: H.setAll
|
|
2020
2022
|
}
|
|
2021
|
-
}),
|
|
2022
|
-
getModelIconSrc:
|
|
2023
|
-
getModelFontAwesomeIcon:
|
|
2024
|
-
},
|
|
2023
|
+
}), $r = H.getSelectors((t) => t.entities.models), Vr = {
|
|
2024
|
+
getModelIconSrc: Br,
|
|
2025
|
+
getModelFontAwesomeIcon: qr
|
|
2026
|
+
}, Hr = (t, e) => e.map((i) => t.entities.models.entities[i]).filter((i) => !!i), Gr = {
|
|
2025
2027
|
slice: ei,
|
|
2026
2028
|
actions: { ...ei.actions },
|
|
2027
|
-
utils:
|
|
2029
|
+
utils: Vr,
|
|
2028
2030
|
selectors: {
|
|
2029
|
-
|
|
2030
|
-
selectByIds:
|
|
2031
|
+
...$r,
|
|
2032
|
+
selectByIds: Hr
|
|
2031
2033
|
}
|
|
2032
|
-
},
|
|
2034
|
+
}, Xr = {}, wt = T({
|
|
2033
2035
|
name: "statics",
|
|
2034
|
-
initialState:
|
|
2036
|
+
initialState: Xr,
|
|
2035
2037
|
reducers: {
|
|
2036
2038
|
initNetworkStatics: (t, { payload: e }) => e
|
|
2037
2039
|
}
|
|
2038
|
-
}),
|
|
2040
|
+
}), Jr = O({
|
|
2039
2041
|
[wt.name]: wt.reducer
|
|
2040
|
-
}),
|
|
2042
|
+
}), Kr = {
|
|
2041
2043
|
name: "network",
|
|
2042
|
-
reducer:
|
|
2043
|
-
},
|
|
2044
|
-
slice:
|
|
2044
|
+
reducer: Jr
|
|
2045
|
+
}, Yr = (t) => t.network.statics, Qr = (t) => t.network.statics.networkPublic, zr = (t) => t.network.statics.networkMe, Ml = {
|
|
2046
|
+
slice: Kr,
|
|
2045
2047
|
actions: {
|
|
2046
2048
|
...wt.actions
|
|
2047
2049
|
},
|
|
2048
2050
|
selectors: {
|
|
2049
|
-
selectNetworkStatics:
|
|
2050
|
-
selectNetworkPublic:
|
|
2051
|
-
selectNetworkMe:
|
|
2051
|
+
selectNetworkStatics: Yr,
|
|
2052
|
+
selectNetworkPublic: Qr,
|
|
2053
|
+
selectNetworkMe: zr
|
|
2052
2054
|
}
|
|
2053
|
-
},
|
|
2055
|
+
}, Zr = {
|
|
2054
2056
|
userAccountStatus: 0,
|
|
2055
2057
|
sendAlert: 0
|
|
2056
|
-
},
|
|
2058
|
+
}, bi = T({
|
|
2057
2059
|
name: "config",
|
|
2058
|
-
initialState:
|
|
2060
|
+
initialState: Zr,
|
|
2059
2061
|
reducers: {
|
|
2060
2062
|
initPlatformConfig: (t, { payload: e }) => e
|
|
2061
2063
|
}
|
|
2062
|
-
}),
|
|
2063
|
-
config:
|
|
2064
|
-
}),
|
|
2064
|
+
}), en = O({
|
|
2065
|
+
config: bi.reducer
|
|
2066
|
+
}), tn = {
|
|
2065
2067
|
name: "platform",
|
|
2066
|
-
reducer:
|
|
2067
|
-
},
|
|
2068
|
-
slice:
|
|
2068
|
+
reducer: en
|
|
2069
|
+
}, an = (t) => t.platform.config, rn = (t) => t.platform.config.userHighlightFields, nn = (t) => t.platform.config.userAccountStatus, sn = (t) => t.platform.config.urlBase, xl = {
|
|
2070
|
+
slice: tn,
|
|
2069
2071
|
actions: {
|
|
2070
|
-
...
|
|
2072
|
+
...bi.actions
|
|
2071
2073
|
},
|
|
2072
2074
|
selectors: {
|
|
2073
|
-
selectPlatformConfig:
|
|
2074
|
-
selectUserHighlightFields:
|
|
2075
|
-
selectUserAccountStatus:
|
|
2076
|
-
selectUrlBase:
|
|
2075
|
+
selectPlatformConfig: an,
|
|
2076
|
+
selectUserHighlightFields: rn,
|
|
2077
|
+
selectUserAccountStatus: nn,
|
|
2078
|
+
selectUrlBase: sn
|
|
2077
2079
|
}
|
|
2078
|
-
},
|
|
2080
|
+
}, wi = {
|
|
2079
2081
|
query: "",
|
|
2080
2082
|
filters: [],
|
|
2081
2083
|
limit: 20,
|
|
@@ -2083,14 +2085,14 @@ const Ai = (t, e, i = 500) => {
|
|
|
2083
2085
|
page: 1
|
|
2084
2086
|
}, Be = u("/fetchFiles", async ({ page: t, query: e, sort: i }, { extra: a, getState: r }) => {
|
|
2085
2087
|
const n = a.jApi, s = r(), l = s.wedoc.tab === "my-documents" ? [{ name: "idUser", value: "0" }] : [], d = [{ name: "dateCreation", sort: i }], g = e !== s.wedoc.query ? 1 : t;
|
|
2086
|
-
return await n.wedoc.getFiles({ ...
|
|
2088
|
+
return await n.wedoc.getFiles({ ...wi, filters: l, query: e, orders: d, page: g, limit: 12 });
|
|
2087
2089
|
}), qe = u(
|
|
2088
2090
|
"/fetchRecentFiles",
|
|
2089
2091
|
async (t, { extra: e, getState: i }) => {
|
|
2090
2092
|
const a = e.jApi, n = i().wedoc.tab === "my-documents" ? [{ name: "idUser", value: "0" }] : [];
|
|
2091
|
-
return await a.wedoc.getFiles({ ...
|
|
2093
|
+
return await a.wedoc.getFiles({ ...wi, filters: n, limit: 3 });
|
|
2092
2094
|
}
|
|
2093
|
-
),
|
|
2095
|
+
), on = {
|
|
2094
2096
|
entities: [],
|
|
2095
2097
|
nbEntities: 0,
|
|
2096
2098
|
entitiesRecent: [],
|
|
@@ -2099,9 +2101,9 @@ const Ai = (t, e, i = 500) => {
|
|
|
2099
2101
|
loadingRecent: "idle",
|
|
2100
2102
|
query: "",
|
|
2101
2103
|
page: 1
|
|
2102
|
-
},
|
|
2104
|
+
}, ln = T({
|
|
2103
2105
|
name: "wedoc",
|
|
2104
|
-
initialState:
|
|
2106
|
+
initialState: on,
|
|
2105
2107
|
reducers: {
|
|
2106
2108
|
update: (t, e) => {
|
|
2107
2109
|
t.entities = [
|
|
@@ -2132,8 +2134,8 @@ const Ai = (t, e, i = 500) => {
|
|
|
2132
2134
|
e.loadingRecent = "idle";
|
|
2133
2135
|
});
|
|
2134
2136
|
}
|
|
2135
|
-
}),
|
|
2136
|
-
slice:
|
|
2137
|
+
}), jl = {
|
|
2138
|
+
slice: ln,
|
|
2137
2139
|
selectors: {
|
|
2138
2140
|
getFiles: (t) => ({
|
|
2139
2141
|
entities: t.wedoc.entities,
|
|
@@ -2153,13 +2155,13 @@ const Ai = (t, e, i = 500) => {
|
|
|
2153
2155
|
fetchFiles: Be,
|
|
2154
2156
|
fetchRecentFiles: qe
|
|
2155
2157
|
}
|
|
2156
|
-
}, $e = u("/fetchRequest", async ({ uri: t, idUser: e }, { extra: i }) => await i.jApi.object.getAccessRequest(t, e)),
|
|
2158
|
+
}, $e = u("/fetchRequest", async ({ uri: t, idUser: e }, { extra: i }) => await i.jApi.object.getAccessRequest(t, e)), dn = {
|
|
2157
2159
|
entities: [],
|
|
2158
2160
|
nbEntities: 0,
|
|
2159
2161
|
loading: "idle"
|
|
2160
|
-
},
|
|
2162
|
+
}, cn = T({
|
|
2161
2163
|
name: "share",
|
|
2162
|
-
initialState:
|
|
2164
|
+
initialState: dn,
|
|
2163
2165
|
reducers: {
|
|
2164
2166
|
remove: (t, e) => {
|
|
2165
2167
|
t.entities = [...t.entities.filter((i) => i.id !== e.payload)];
|
|
@@ -2174,8 +2176,8 @@ const Ai = (t, e, i = 500) => {
|
|
|
2174
2176
|
e.loading = "idle";
|
|
2175
2177
|
});
|
|
2176
2178
|
}
|
|
2177
|
-
}),
|
|
2178
|
-
slice:
|
|
2179
|
+
}), _l = {
|
|
2180
|
+
slice: cn,
|
|
2179
2181
|
selectors: {
|
|
2180
2182
|
requests: (t) => ({
|
|
2181
2183
|
loading: t.share.loading,
|
|
@@ -2185,14 +2187,14 @@ const Ai = (t, e, i = 500) => {
|
|
|
2185
2187
|
actions: {
|
|
2186
2188
|
fetchRequest: $e
|
|
2187
2189
|
}
|
|
2188
|
-
},
|
|
2190
|
+
}, un = {
|
|
2189
2191
|
messages: [],
|
|
2190
2192
|
status: "idle",
|
|
2191
2193
|
tasks: void 0,
|
|
2192
2194
|
jobUid: void 0
|
|
2193
2195
|
}, rt = T({
|
|
2194
2196
|
name: "teamWorkAiTasks",
|
|
2195
|
-
initialState:
|
|
2197
|
+
initialState: un,
|
|
2196
2198
|
reducers: {
|
|
2197
2199
|
setMessageAndStatus: (t, e) => {
|
|
2198
2200
|
if (e.payload.jobUid !== t.jobUid)
|
|
@@ -2220,11 +2222,11 @@ const Ai = (t, e, i = 500) => {
|
|
|
2220
2222
|
return v(n) || a(f.actions.error({ label: E(n) })), i({ error: 1, errorMsg: "APP_TEAMWORK_ToDo_Not_Sent" });
|
|
2221
2223
|
}
|
|
2222
2224
|
}
|
|
2223
|
-
),
|
|
2225
|
+
), pn = function(t) {
|
|
2224
2226
|
const e = function(i) {
|
|
2225
2227
|
i.namespace === "TEAMWORK" && i.function === "updateTodo" && (t(
|
|
2226
2228
|
rt.actions.setMessageAndStatus({ status: i.state, messages: i.messages, jobUid: i.jobUid })
|
|
2227
|
-
), i.state === "success" && t(
|
|
2229
|
+
), i.state === "success" && t(mn.actions.setTasks({ tasks: i.tasks, jobUid: i.jobUid })));
|
|
2228
2230
|
};
|
|
2229
2231
|
return [
|
|
2230
2232
|
{
|
|
@@ -2238,20 +2240,20 @@ const Ai = (t, e, i = 500) => {
|
|
|
2238
2240
|
handler: e
|
|
2239
2241
|
}
|
|
2240
2242
|
];
|
|
2241
|
-
},
|
|
2243
|
+
}, gn = (t) => t.teamWork.teamWorkAiTasks, fn = O({
|
|
2242
2244
|
[rt.name]: rt.reducer
|
|
2243
|
-
}),
|
|
2245
|
+
}), Li = {
|
|
2244
2246
|
name: "teamWork",
|
|
2245
|
-
reducer:
|
|
2246
|
-
},
|
|
2247
|
-
slice:
|
|
2247
|
+
reducer: fn
|
|
2248
|
+
}, Nl = Li.reducer, mn = {
|
|
2249
|
+
slice: Li,
|
|
2248
2250
|
actions: {
|
|
2249
2251
|
...rt.actions,
|
|
2250
2252
|
startToDoCreation: Lt
|
|
2251
2253
|
},
|
|
2252
|
-
selectors: { selectToDoState:
|
|
2253
|
-
getTeamWorkRTHandlers:
|
|
2254
|
-
},
|
|
2254
|
+
selectors: { selectToDoState: gn },
|
|
2255
|
+
getTeamWorkRTHandlers: pn
|
|
2256
|
+
}, yn = {
|
|
2255
2257
|
channels: void 0,
|
|
2256
2258
|
loading: "idle",
|
|
2257
2259
|
loadingChannelDeletion: "idle"
|
|
@@ -2285,7 +2287,7 @@ const Ai = (t, e, i = 500) => {
|
|
|
2285
2287
|
});
|
|
2286
2288
|
}), ti = T({
|
|
2287
2289
|
name: "channelsList",
|
|
2288
|
-
initialState: { ...
|
|
2290
|
+
initialState: { ...yn },
|
|
2289
2291
|
reducers: {},
|
|
2290
2292
|
extraReducers: (t) => {
|
|
2291
2293
|
t.addCase(Q.pending, (e) => {
|
|
@@ -2303,49 +2305,49 @@ const Ai = (t, e, i = 500) => {
|
|
|
2303
2305
|
});
|
|
2304
2306
|
}
|
|
2305
2307
|
});
|
|
2306
|
-
function
|
|
2308
|
+
function An(t) {
|
|
2307
2309
|
return t.tvChannelType === "DYNAMIC" ? !!t.tvChannelBackgroundColor && !!t.tvChannelGroupTarget : t.tvChannelNumImages !== 0;
|
|
2308
2310
|
}
|
|
2309
|
-
const
|
|
2311
|
+
const En = O({
|
|
2310
2312
|
[ti.name]: ti.reducer
|
|
2311
|
-
}),
|
|
2313
|
+
}), Sn = {
|
|
2312
2314
|
name: "tvDisplay",
|
|
2313
|
-
reducer:
|
|
2314
|
-
},
|
|
2315
|
+
reducer: En
|
|
2316
|
+
}, Tn = function(e) {
|
|
2315
2317
|
return e.tvDisplay.channelsList;
|
|
2316
|
-
},
|
|
2317
|
-
slice:
|
|
2318
|
+
}, Pl = {
|
|
2319
|
+
slice: Sn,
|
|
2318
2320
|
actions: {
|
|
2319
2321
|
fetchChannels: Q,
|
|
2320
2322
|
deleteChannel: Ve
|
|
2321
2323
|
},
|
|
2322
2324
|
selectors: {
|
|
2323
|
-
selectChannelsList:
|
|
2325
|
+
selectChannelsList: Tn
|
|
2324
2326
|
},
|
|
2325
2327
|
utils: {
|
|
2326
|
-
isChannelConfigured:
|
|
2328
|
+
isChannelConfigured: An
|
|
2327
2329
|
}
|
|
2328
|
-
},
|
|
2330
|
+
}, Cn = {}, It = T({
|
|
2329
2331
|
name: "options",
|
|
2330
|
-
initialState:
|
|
2332
|
+
initialState: Cn,
|
|
2331
2333
|
reducers: {
|
|
2332
2334
|
initOptions: (t, { payload: e }) => e
|
|
2333
2335
|
}
|
|
2334
|
-
}),
|
|
2336
|
+
}), bn = O({
|
|
2335
2337
|
[It.name]: It.reducer
|
|
2336
|
-
}),
|
|
2338
|
+
}), wn = {
|
|
2337
2339
|
name: "tinymce",
|
|
2338
|
-
reducer:
|
|
2339
|
-
},
|
|
2340
|
-
slice:
|
|
2340
|
+
reducer: bn
|
|
2341
|
+
}, Ln = (t) => t.tinymce.options.common, In = (t) => t.tinymce.options.extended, Ul = {
|
|
2342
|
+
slice: wn,
|
|
2341
2343
|
actions: {
|
|
2342
2344
|
...It.actions
|
|
2343
2345
|
},
|
|
2344
2346
|
selectors: {
|
|
2345
|
-
selectTinyMCECommonOptions:
|
|
2346
|
-
selectTinyMCEExtendedOptions:
|
|
2347
|
+
selectTinyMCECommonOptions: Ln,
|
|
2348
|
+
selectTinyMCEExtendedOptions: In
|
|
2347
2349
|
}
|
|
2348
|
-
},
|
|
2350
|
+
}, vn = {
|
|
2349
2351
|
id: 0,
|
|
2350
2352
|
mainType: "user",
|
|
2351
2353
|
type: "user",
|
|
@@ -2358,17 +2360,17 @@ const An = O({
|
|
|
2358
2360
|
active: 1
|
|
2359
2361
|
}, ii = T({
|
|
2360
2362
|
name: "userCurrent",
|
|
2361
|
-
initialState:
|
|
2363
|
+
initialState: vn,
|
|
2362
2364
|
reducers: {
|
|
2363
2365
|
init: (t, { payload: e }) => e
|
|
2364
2366
|
}
|
|
2365
|
-
}),
|
|
2367
|
+
}), hn = (t) => t.userCurrent, On = (t) => t.level === Qi.ADMIN, Rn = (t) => t.id !== 0, Fl = {
|
|
2366
2368
|
slice: ii,
|
|
2367
2369
|
actions: { ...ii.actions },
|
|
2368
2370
|
selectors: {
|
|
2369
|
-
get:
|
|
2371
|
+
get: hn
|
|
2370
2372
|
},
|
|
2371
|
-
utils: { isAdmin:
|
|
2373
|
+
utils: { isAdmin: On, isLogged: Rn }
|
|
2372
2374
|
};
|
|
2373
2375
|
function Mt() {
|
|
2374
2376
|
let t = "";
|
|
@@ -2376,13 +2378,13 @@ function Mt() {
|
|
|
2376
2378
|
t += ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
|
|
2377
2379
|
return t;
|
|
2378
2380
|
}
|
|
2379
|
-
const
|
|
2381
|
+
const Ii = "WIDGET_Check_List", vi = "WIDGET_Check_List_Description", hi = "WIDGET_Quick_Survey", Oi = "WIDGET_Quick_Survey_Text", kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2380
2382
|
__proto__: null,
|
|
2381
|
-
WIDGET_CHECK_LIST_DESCRIPTION:
|
|
2382
|
-
WIDGET_CHECK_LIST_LABEL:
|
|
2383
|
-
WIDGET_QUICK_SURVEY_DESCRIPTION:
|
|
2384
|
-
WIDGET_QUICK_SURVEY_LABEL:
|
|
2385
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2383
|
+
WIDGET_CHECK_LIST_DESCRIPTION: vi,
|
|
2384
|
+
WIDGET_CHECK_LIST_LABEL: Ii,
|
|
2385
|
+
WIDGET_QUICK_SURVEY_DESCRIPTION: Oi,
|
|
2386
|
+
WIDGET_QUICK_SURVEY_LABEL: hi
|
|
2387
|
+
}, Symbol.toStringTag, { value: "Module" })), Dn = {
|
|
2386
2388
|
label: "WIDGET_Article_Attachment",
|
|
2387
2389
|
description: "WIDGET_Article_Attachment_Description",
|
|
2388
2390
|
name: C.ArticleAttachment,
|
|
@@ -2394,9 +2396,9 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2394
2396
|
useSelection: !1,
|
|
2395
2397
|
useWidgets: !1
|
|
2396
2398
|
}
|
|
2397
|
-
}, Dn = {
|
|
2398
|
-
files: []
|
|
2399
2399
|
}, Mn = {
|
|
2400
|
+
files: []
|
|
2401
|
+
}, xn = {
|
|
2400
2402
|
label: "WIDGET_BUTTON",
|
|
2401
2403
|
description: "WIDGET_Button_Description",
|
|
2402
2404
|
name: C.ArticleButton,
|
|
@@ -2408,7 +2410,7 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2408
2410
|
useSelection: !1,
|
|
2409
2411
|
useWidgets: !1
|
|
2410
2412
|
}
|
|
2411
|
-
},
|
|
2413
|
+
}, jn = {
|
|
2412
2414
|
text: "",
|
|
2413
2415
|
openingType: "link",
|
|
2414
2416
|
openingTypeLink: {
|
|
@@ -2433,11 +2435,11 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2433
2435
|
useSelection: !1,
|
|
2434
2436
|
useWidgets: !1
|
|
2435
2437
|
}
|
|
2436
|
-
},
|
|
2438
|
+
}, _n = {
|
|
2437
2439
|
files: [],
|
|
2438
2440
|
gap: "4",
|
|
2439
2441
|
column: "3"
|
|
2440
|
-
},
|
|
2442
|
+
}, Nn = {
|
|
2441
2443
|
label: "WIDGET_Article_Image",
|
|
2442
2444
|
description: "WIDGET_Article_Image_Description",
|
|
2443
2445
|
name: C.ArticleImage,
|
|
@@ -2449,7 +2451,7 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2449
2451
|
useSelection: !1,
|
|
2450
2452
|
useWidgets: !1
|
|
2451
2453
|
}
|
|
2452
|
-
},
|
|
2454
|
+
}, Pn = {}, Un = {
|
|
2453
2455
|
label: "WIDGET_Slider",
|
|
2454
2456
|
description: "WIDGET_Slider_Description",
|
|
2455
2457
|
name: C.ArticleSlider,
|
|
@@ -2461,13 +2463,13 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2461
2463
|
useSelection: !1,
|
|
2462
2464
|
useWidgets: !1
|
|
2463
2465
|
}
|
|
2464
|
-
},
|
|
2466
|
+
}, Fn = {
|
|
2465
2467
|
slides: [],
|
|
2466
2468
|
maxWidth: 800,
|
|
2467
2469
|
loop: !1,
|
|
2468
2470
|
useDots: !0,
|
|
2469
2471
|
startAt: 0
|
|
2470
|
-
},
|
|
2472
|
+
}, Wn = {
|
|
2471
2473
|
label: "WIDGET_Text",
|
|
2472
2474
|
description: "WIDGET_Text_Description",
|
|
2473
2475
|
name: C.ArticleText,
|
|
@@ -2479,9 +2481,9 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2479
2481
|
useSelection: !1,
|
|
2480
2482
|
useWidgets: !1
|
|
2481
2483
|
}
|
|
2482
|
-
}, Wn = {
|
|
2483
|
-
text: ""
|
|
2484
2484
|
}, Bn = {
|
|
2485
|
+
text: ""
|
|
2486
|
+
}, qn = {
|
|
2485
2487
|
label: "WIDGET_Title",
|
|
2486
2488
|
description: "WIDGET_Title_Description",
|
|
2487
2489
|
name: C.ArticleTitle,
|
|
@@ -2493,11 +2495,11 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2493
2495
|
useSelection: !1,
|
|
2494
2496
|
useWidgets: !1
|
|
2495
2497
|
}
|
|
2496
|
-
},
|
|
2498
|
+
}, $n = {
|
|
2497
2499
|
text: "",
|
|
2498
2500
|
heading: "h1",
|
|
2499
2501
|
backgroundColor: "transparent"
|
|
2500
|
-
},
|
|
2502
|
+
}, Vn = {
|
|
2501
2503
|
label: "WIDGET_Calendar_CalDav",
|
|
2502
2504
|
description: "WIDGET_Calendar_CalDav_Text",
|
|
2503
2505
|
name: C.CalendarCalDav,
|
|
@@ -2510,13 +2512,13 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2510
2512
|
useSelection: !0,
|
|
2511
2513
|
useWidgets: !1
|
|
2512
2514
|
}
|
|
2513
|
-
},
|
|
2515
|
+
}, Hn = {
|
|
2514
2516
|
calEventsLimit: !1,
|
|
2515
2517
|
calEventsLimitValue: 10,
|
|
2516
2518
|
calEventsPromptStatus: "shared"
|
|
2517
|
-
},
|
|
2518
|
-
label:
|
|
2519
|
-
description:
|
|
2519
|
+
}, Gn = {
|
|
2520
|
+
label: Ii,
|
|
2521
|
+
description: vi,
|
|
2520
2522
|
name: C.CheckList,
|
|
2521
2523
|
img: "/img/fast-intranet/widget-check-list.png",
|
|
2522
2524
|
available: !0,
|
|
@@ -2526,10 +2528,10 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2526
2528
|
useSelection: !1,
|
|
2527
2529
|
useWidgets: !1
|
|
2528
2530
|
}
|
|
2529
|
-
},
|
|
2531
|
+
}, Xn = {
|
|
2530
2532
|
arr: [],
|
|
2531
2533
|
edit: !1
|
|
2532
|
-
},
|
|
2534
|
+
}, Jn = {
|
|
2533
2535
|
label: "WIDGET_Contact_CardDav",
|
|
2534
2536
|
description: "WIDGET_Contact_CardDav_Text",
|
|
2535
2537
|
name: C.ContactCardDav,
|
|
@@ -2542,11 +2544,11 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2542
2544
|
useSelection: !0,
|
|
2543
2545
|
useWidgets: !1
|
|
2544
2546
|
}
|
|
2545
|
-
},
|
|
2547
|
+
}, Kn = {
|
|
2546
2548
|
contactLimit: !1,
|
|
2547
2549
|
contactLimitValue: 10,
|
|
2548
2550
|
contactPromptStatus: "shared"
|
|
2549
|
-
},
|
|
2551
|
+
}, Yn = {
|
|
2550
2552
|
label: "WIDGET_Datasource_Table",
|
|
2551
2553
|
description: "WIDGET_Datasource_Table_Description",
|
|
2552
2554
|
name: C.DatasourceTable,
|
|
@@ -2558,14 +2560,14 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2558
2560
|
useSelection: !0,
|
|
2559
2561
|
useWidgets: !1
|
|
2560
2562
|
}
|
|
2561
|
-
},
|
|
2563
|
+
}, Qn = {
|
|
2562
2564
|
tableHeadColor: "#f1f1f1",
|
|
2563
2565
|
tableHeadTextColor: "#000",
|
|
2564
2566
|
tableHeadIconColor: "#000",
|
|
2565
2567
|
tableRowColor: "#f5f5f5",
|
|
2566
2568
|
tableRowTextColor: "#000",
|
|
2567
2569
|
limit: 20
|
|
2568
|
-
},
|
|
2570
|
+
}, zn = {
|
|
2569
2571
|
label: "WIDGET_Email_IMAP",
|
|
2570
2572
|
description: "WIDGET_Email_IMAP_Text",
|
|
2571
2573
|
name: C.EmailsImap,
|
|
@@ -2578,11 +2580,11 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2578
2580
|
useSelection: !0,
|
|
2579
2581
|
useWidgets: !1
|
|
2580
2582
|
}
|
|
2581
|
-
},
|
|
2583
|
+
}, Zn = {
|
|
2582
2584
|
emailsLimit: !1,
|
|
2583
2585
|
emailsLimitValue: 10,
|
|
2584
2586
|
emailsPromptStatus: "shared"
|
|
2585
|
-
},
|
|
2587
|
+
}, es = {
|
|
2586
2588
|
label: "WIDGET_Excel_Datasource_Table",
|
|
2587
2589
|
description: "WIDGET_Excel_Datasource_Table_Text",
|
|
2588
2590
|
name: C.ExcelDatasourceTable,
|
|
@@ -2594,14 +2596,14 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2594
2596
|
useSelection: !0,
|
|
2595
2597
|
useWidgets: !1
|
|
2596
2598
|
}
|
|
2597
|
-
},
|
|
2599
|
+
}, ts = {
|
|
2598
2600
|
tableHeadColor: "#f1f1f1",
|
|
2599
2601
|
tableHeadTextColor: "#000",
|
|
2600
2602
|
tableHeadIconColor: "#000",
|
|
2601
2603
|
tableRowColor: "#f5f5f5",
|
|
2602
2604
|
tableRowTextColor: "#000",
|
|
2603
2605
|
limit: 20
|
|
2604
|
-
},
|
|
2606
|
+
}, is = {
|
|
2605
2607
|
label: "WIDGET_Extension",
|
|
2606
2608
|
description: "WIDGET_Extension_Description",
|
|
2607
2609
|
name: C.Extension,
|
|
@@ -2613,9 +2615,9 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2613
2615
|
useSelection: !1,
|
|
2614
2616
|
useWidgets: !1
|
|
2615
2617
|
}
|
|
2616
|
-
}, is = {
|
|
2617
|
-
extensionName: ""
|
|
2618
2618
|
}, as = {
|
|
2619
|
+
extensionName: ""
|
|
2620
|
+
}, rs = {
|
|
2619
2621
|
label: "WIDGET_Lucca_Absence",
|
|
2620
2622
|
description: "WIDGET_Lucca_Absence_Text",
|
|
2621
2623
|
name: C.LuccaAbsence,
|
|
@@ -2627,9 +2629,9 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2627
2629
|
useSelection: !0,
|
|
2628
2630
|
useWidgets: !1
|
|
2629
2631
|
}
|
|
2630
|
-
}, rs = {
|
|
2631
|
-
url: ""
|
|
2632
2632
|
}, ns = {
|
|
2633
|
+
url: ""
|
|
2634
|
+
}, ss = {
|
|
2633
2635
|
label: "WIDGET_Presence",
|
|
2634
2636
|
description: "WIDGET_Presence_Text",
|
|
2635
2637
|
name: C.Presence,
|
|
@@ -2641,13 +2643,13 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2641
2643
|
useSelection: !1,
|
|
2642
2644
|
useWidgets: !1
|
|
2643
2645
|
}
|
|
2644
|
-
},
|
|
2646
|
+
}, os = {
|
|
2645
2647
|
closing: !1,
|
|
2646
2648
|
limit: !1,
|
|
2647
2649
|
limitValue: 100
|
|
2648
|
-
},
|
|
2649
|
-
label:
|
|
2650
|
-
description:
|
|
2650
|
+
}, ls = {
|
|
2651
|
+
label: hi,
|
|
2652
|
+
description: Oi,
|
|
2651
2653
|
name: C.QuickSurvey,
|
|
2652
2654
|
img: "/img/fast-intranet/widget-quick-survey.png",
|
|
2653
2655
|
available: !0,
|
|
@@ -2657,7 +2659,7 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2657
2659
|
useSelection: !1,
|
|
2658
2660
|
useWidgets: !1
|
|
2659
2661
|
}
|
|
2660
|
-
},
|
|
2662
|
+
}, ds = {
|
|
2661
2663
|
arr: [],
|
|
2662
2664
|
open: !1,
|
|
2663
2665
|
multi: !1,
|
|
@@ -2665,7 +2667,7 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2665
2667
|
isClosed: !1,
|
|
2666
2668
|
showResult: !1,
|
|
2667
2669
|
isNotDisabled: !1
|
|
2668
|
-
},
|
|
2670
|
+
}, cs = {
|
|
2669
2671
|
label: "WIDGET_User_Profil",
|
|
2670
2672
|
description: "WIDGET_User_Profil_Text",
|
|
2671
2673
|
name: C.UserProfile,
|
|
@@ -2677,7 +2679,7 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2677
2679
|
useSelection: !0,
|
|
2678
2680
|
useWidgets: !1
|
|
2679
2681
|
}
|
|
2680
|
-
},
|
|
2682
|
+
}, us = {}, ps = {
|
|
2681
2683
|
label: "WIDGET_Color",
|
|
2682
2684
|
description: "WIDGET_Color_Text",
|
|
2683
2685
|
name: C.Color,
|
|
@@ -2689,7 +2691,7 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2689
2691
|
useSelection: !0,
|
|
2690
2692
|
useWidgets: !1
|
|
2691
2693
|
}
|
|
2692
|
-
},
|
|
2694
|
+
}, gs = {}, fs = {
|
|
2693
2695
|
label: "WIDGET_Welcome",
|
|
2694
2696
|
description: "WIDGET_Welcome_Text",
|
|
2695
2697
|
name: C.Welcome,
|
|
@@ -2701,153 +2703,153 @@ const Li = "WIDGET_Check_List", Ii = "WIDGET_Check_List_Description", vi = "WIDG
|
|
|
2701
2703
|
useSelection: !0,
|
|
2702
2704
|
useWidgets: !1
|
|
2703
2705
|
}
|
|
2704
|
-
},
|
|
2705
|
-
function
|
|
2706
|
+
}, ms = {};
|
|
2707
|
+
function ys(t) {
|
|
2706
2708
|
switch (t) {
|
|
2707
2709
|
default:
|
|
2708
2710
|
return ai;
|
|
2709
2711
|
case "widget-article-gallery":
|
|
2710
2712
|
return ai;
|
|
2711
2713
|
case "widget-article-attachment":
|
|
2712
|
-
return
|
|
2714
|
+
return Dn;
|
|
2713
2715
|
case "widget-presence":
|
|
2714
|
-
return
|
|
2716
|
+
return ss;
|
|
2715
2717
|
case "widget-article-slider":
|
|
2716
|
-
return
|
|
2718
|
+
return Un;
|
|
2717
2719
|
case "widget-article-text":
|
|
2718
|
-
return
|
|
2720
|
+
return Wn;
|
|
2719
2721
|
case "widget-article-title":
|
|
2720
|
-
return
|
|
2722
|
+
return qn;
|
|
2721
2723
|
case "widget-article-image":
|
|
2722
|
-
return
|
|
2724
|
+
return Nn;
|
|
2723
2725
|
case "widget-datasource-table":
|
|
2724
|
-
return
|
|
2726
|
+
return Yn;
|
|
2725
2727
|
case "widget-excel-datasource-table":
|
|
2726
|
-
return
|
|
2728
|
+
return es;
|
|
2727
2729
|
case "widget-article-button":
|
|
2728
|
-
return
|
|
2730
|
+
return xn;
|
|
2729
2731
|
case "widget-check-list":
|
|
2730
|
-
return
|
|
2732
|
+
return Gn;
|
|
2731
2733
|
case "widget-quick-survey":
|
|
2732
|
-
return
|
|
2734
|
+
return ls;
|
|
2733
2735
|
case "widget-calendar-calDav":
|
|
2734
|
-
return
|
|
2736
|
+
return Vn;
|
|
2735
2737
|
case "widget-contact-cardDav":
|
|
2736
|
-
return
|
|
2738
|
+
return Jn;
|
|
2737
2739
|
case "widget-lucca-absence":
|
|
2738
|
-
return
|
|
2740
|
+
return rs;
|
|
2739
2741
|
case "widget-emails-imap":
|
|
2740
|
-
return
|
|
2742
|
+
return zn;
|
|
2741
2743
|
case "widget-welcome":
|
|
2742
|
-
return
|
|
2744
|
+
return fs;
|
|
2743
2745
|
case "widget-user-profil":
|
|
2744
|
-
return
|
|
2746
|
+
return cs;
|
|
2745
2747
|
case "widget-extension":
|
|
2746
|
-
return
|
|
2748
|
+
return is;
|
|
2747
2749
|
case "widget-color":
|
|
2748
|
-
return
|
|
2750
|
+
return ps;
|
|
2749
2751
|
}
|
|
2750
2752
|
}
|
|
2751
|
-
function
|
|
2753
|
+
function As(t) {
|
|
2752
2754
|
return {
|
|
2753
2755
|
title: "",
|
|
2754
2756
|
level: 3,
|
|
2755
|
-
widget:
|
|
2757
|
+
widget: Es(t)
|
|
2756
2758
|
};
|
|
2757
2759
|
}
|
|
2758
|
-
function
|
|
2760
|
+
function Es(t) {
|
|
2759
2761
|
return {
|
|
2760
2762
|
uniqid: Mt(),
|
|
2761
2763
|
name: t,
|
|
2762
|
-
content:
|
|
2764
|
+
content: Ss(t)
|
|
2763
2765
|
};
|
|
2764
2766
|
}
|
|
2765
|
-
function
|
|
2767
|
+
function Ss(t) {
|
|
2766
2768
|
switch (t) {
|
|
2767
2769
|
default:
|
|
2768
2770
|
case "widget-lucca-absence":
|
|
2769
2771
|
return {
|
|
2770
|
-
...
|
|
2772
|
+
...ns
|
|
2771
2773
|
};
|
|
2772
2774
|
case "widget-article-attachment":
|
|
2773
2775
|
return {
|
|
2774
|
-
...
|
|
2776
|
+
...Mn
|
|
2775
2777
|
};
|
|
2776
2778
|
case "widget-presence":
|
|
2777
2779
|
return {
|
|
2778
|
-
...
|
|
2780
|
+
...os
|
|
2779
2781
|
};
|
|
2780
2782
|
case "widget-datasource-table":
|
|
2781
2783
|
return {
|
|
2782
|
-
...
|
|
2784
|
+
...Qn
|
|
2783
2785
|
};
|
|
2784
2786
|
case "widget-excel-datasource-table":
|
|
2785
2787
|
return {
|
|
2786
|
-
...
|
|
2788
|
+
...ts
|
|
2787
2789
|
};
|
|
2788
2790
|
case "widget-article-slider":
|
|
2789
2791
|
return {
|
|
2790
|
-
...
|
|
2792
|
+
...Fn
|
|
2791
2793
|
};
|
|
2792
2794
|
case "widget-article-gallery":
|
|
2793
2795
|
return {
|
|
2794
|
-
...
|
|
2796
|
+
..._n
|
|
2795
2797
|
};
|
|
2796
2798
|
case "widget-article-button":
|
|
2797
2799
|
return {
|
|
2798
|
-
...
|
|
2800
|
+
...jn
|
|
2799
2801
|
};
|
|
2800
2802
|
case "widget-article-title":
|
|
2801
2803
|
return {
|
|
2802
|
-
|
|
2804
|
+
...$n
|
|
2803
2805
|
};
|
|
2804
2806
|
case "widget-article-image":
|
|
2805
2807
|
return {
|
|
2806
|
-
...
|
|
2808
|
+
...Pn
|
|
2807
2809
|
};
|
|
2808
2810
|
case "widget-article-text":
|
|
2809
2811
|
return {
|
|
2810
|
-
...
|
|
2812
|
+
...Bn
|
|
2811
2813
|
};
|
|
2812
2814
|
case "widget-check-list":
|
|
2813
2815
|
return {
|
|
2814
|
-
...
|
|
2816
|
+
...Xn
|
|
2815
2817
|
};
|
|
2816
2818
|
case "widget-quick-survey":
|
|
2817
2819
|
return {
|
|
2818
|
-
...
|
|
2820
|
+
...ds
|
|
2819
2821
|
};
|
|
2820
2822
|
case "widget-calendar-calDav":
|
|
2821
2823
|
return {
|
|
2822
|
-
...
|
|
2824
|
+
...Hn
|
|
2823
2825
|
};
|
|
2824
2826
|
case "widget-contact-cardDav":
|
|
2825
2827
|
return {
|
|
2826
|
-
...
|
|
2828
|
+
...Kn
|
|
2827
2829
|
};
|
|
2828
2830
|
case "widget-emails-imap":
|
|
2829
2831
|
return {
|
|
2830
|
-
...
|
|
2832
|
+
...Zn
|
|
2831
2833
|
};
|
|
2832
2834
|
case "widget-welcome":
|
|
2833
2835
|
return {
|
|
2834
|
-
...
|
|
2836
|
+
...ms
|
|
2835
2837
|
};
|
|
2836
2838
|
case "widget-user-profil":
|
|
2837
2839
|
return {
|
|
2838
|
-
...
|
|
2840
|
+
...us
|
|
2839
2841
|
};
|
|
2840
2842
|
case "widget-extension":
|
|
2841
2843
|
return {
|
|
2842
|
-
...
|
|
2844
|
+
...as
|
|
2843
2845
|
};
|
|
2844
2846
|
case "widget-color":
|
|
2845
2847
|
return {
|
|
2846
|
-
...
|
|
2848
|
+
...gs
|
|
2847
2849
|
};
|
|
2848
2850
|
}
|
|
2849
2851
|
}
|
|
2850
|
-
const
|
|
2852
|
+
const Ts = {
|
|
2851
2853
|
token: void 0,
|
|
2852
2854
|
ids: {},
|
|
2853
2855
|
layers: {},
|
|
@@ -2865,7 +2867,7 @@ const Ss = {
|
|
|
2865
2867
|
flushedWidgets: [],
|
|
2866
2868
|
rtObjectStack: [],
|
|
2867
2869
|
widgetContext: {}
|
|
2868
|
-
},
|
|
2870
|
+
}, Cs = [
|
|
2869
2871
|
C.ArticleTitle,
|
|
2870
2872
|
C.ArticleText,
|
|
2871
2873
|
C.ArticleImage,
|
|
@@ -2874,7 +2876,7 @@ const Ss = {
|
|
|
2874
2876
|
C.ArticleAttachment
|
|
2875
2877
|
], G = T({
|
|
2876
2878
|
name: "widgets",
|
|
2877
|
-
initialState:
|
|
2879
|
+
initialState: Ts,
|
|
2878
2880
|
reducers: {
|
|
2879
2881
|
registerWidget: (t, e) => {
|
|
2880
2882
|
const { uniqid: i, widget: a, context: r } = e.payload;
|
|
@@ -2884,7 +2886,7 @@ const Ss = {
|
|
|
2884
2886
|
loading: !1,
|
|
2885
2887
|
mounted: !1,
|
|
2886
2888
|
hover: !1,
|
|
2887
|
-
empty:
|
|
2889
|
+
empty: Cs.includes(a.widget.name),
|
|
2888
2890
|
locked: !1
|
|
2889
2891
|
}, t.widgetContext[i] = r;
|
|
2890
2892
|
},
|
|
@@ -3030,7 +3032,7 @@ const Ss = {
|
|
|
3030
3032
|
t.modal = void 0;
|
|
3031
3033
|
}
|
|
3032
3034
|
}
|
|
3033
|
-
}),
|
|
3035
|
+
}), bs = function(t, e) {
|
|
3034
3036
|
return [
|
|
3035
3037
|
{
|
|
3036
3038
|
namespace: "WIDGET",
|
|
@@ -3085,43 +3087,43 @@ const Ss = {
|
|
|
3085
3087
|
}
|
|
3086
3088
|
}
|
|
3087
3089
|
];
|
|
3088
|
-
},
|
|
3090
|
+
}, ws = (t) => t.widgets.token, Ls = (t) => t.widgets.modal, Is = (t) => t.widgets.ids, vs = (t) => t.widgets.flushedWidgets, hs = (t, e) => t.widgets.states[e] ?? void 0, Os = (t, e) => t.widgets.ids[e] ?? void 0, Rs = (t, e) => t.widgets.ids[e]?.level ?? void 0, ks = (t, e) => t.widgets.widgetObject[e] ?? void 0, Ds = (t, e) => {
|
|
3089
3091
|
const i = t.widgets.widgetObject[e];
|
|
3090
3092
|
if (i && "uri" in i)
|
|
3091
3093
|
return i.uri;
|
|
3092
|
-
},
|
|
3093
|
-
const:
|
|
3094
|
-
factory:
|
|
3095
|
-
definition:
|
|
3094
|
+
}, Ms = (t, e) => t.widgets.widgetObjectRights[e] ?? void 0, xs = (t, e) => t.widgets.widgetContext[e] ?? void 0, js = (t, e) => t.widgets.widgetAuthor[e] ?? void 0, _s = (t, e) => t.widgets.widgetChipCount[e] ?? 0, Ns = (t, e) => t.widgets.widgetWrapperStyle[e] ?? {}, Ps = (t, e) => t.widgets.widgetTitleStyle[e] ?? {}, Us = (t, e) => t.widgets.currentEditableWidgetId === e, Fs = (t, e) => t.widgets.rtObjectStack.filter((i) => i.uniqid === e), Wl = (t, e, i) => Ws.slice.actions.updateWidget({ uniqid: t, content: e, override: i ?? !1 }), Ws = {
|
|
3095
|
+
const: kn,
|
|
3096
|
+
factory: As,
|
|
3097
|
+
definition: ys,
|
|
3096
3098
|
utils: {
|
|
3097
3099
|
uniqid: Mt
|
|
3098
3100
|
},
|
|
3099
3101
|
slice: G,
|
|
3100
|
-
getWidgetRTHandlers:
|
|
3102
|
+
getWidgetRTHandlers: bs,
|
|
3101
3103
|
selectors: {
|
|
3102
|
-
isActive:
|
|
3103
|
-
selectToken:
|
|
3104
|
-
selectWidgets:
|
|
3105
|
-
selectWidget:
|
|
3106
|
-
selectWidgetState:
|
|
3107
|
-
selectModal:
|
|
3108
|
-
selectWidgetObject:
|
|
3109
|
-
selectWidgetObjectUri:
|
|
3110
|
-
selectWidgetAuthor:
|
|
3111
|
-
selectWidgetObjectRights:
|
|
3112
|
-
selectAllWidgetRTObject:
|
|
3113
|
-
selectFlushedWidgets:
|
|
3114
|
-
selectWidgetContext:
|
|
3115
|
-
selectWidgetLevel:
|
|
3116
|
-
selectWidgetWrapperStyle:
|
|
3117
|
-
selectWidgetTitleStyle:
|
|
3118
|
-
selectWidgetChipCount:
|
|
3119
|
-
}
|
|
3120
|
-
},
|
|
3104
|
+
isActive: Us,
|
|
3105
|
+
selectToken: ws,
|
|
3106
|
+
selectWidgets: Is,
|
|
3107
|
+
selectWidget: Os,
|
|
3108
|
+
selectWidgetState: hs,
|
|
3109
|
+
selectModal: Ls,
|
|
3110
|
+
selectWidgetObject: ks,
|
|
3111
|
+
selectWidgetObjectUri: Ds,
|
|
3112
|
+
selectWidgetAuthor: js,
|
|
3113
|
+
selectWidgetObjectRights: Ms,
|
|
3114
|
+
selectAllWidgetRTObject: Fs,
|
|
3115
|
+
selectFlushedWidgets: vs,
|
|
3116
|
+
selectWidgetContext: xs,
|
|
3117
|
+
selectWidgetLevel: Rs,
|
|
3118
|
+
selectWidgetWrapperStyle: Ns,
|
|
3119
|
+
selectWidgetTitleStyle: Ps,
|
|
3120
|
+
selectWidgetChipCount: _s
|
|
3121
|
+
}
|
|
3122
|
+
}, Bs = {
|
|
3121
3123
|
editors: []
|
|
3122
|
-
},
|
|
3124
|
+
}, qs = T({
|
|
3123
3125
|
name: "editors",
|
|
3124
|
-
initialState:
|
|
3126
|
+
initialState: Bs,
|
|
3125
3127
|
reducers: {
|
|
3126
3128
|
registerEditor: (t, e) => {
|
|
3127
3129
|
const { uniqid: i, name: a, onSave: r, mode: n } = e.payload, s = r ? {
|
|
@@ -3171,11 +3173,11 @@ const Ss = {
|
|
|
3171
3173
|
window.dispatchEvent(new Event("WidgetEditorFlushAll")), t.editors.length = 0;
|
|
3172
3174
|
}
|
|
3173
3175
|
}
|
|
3174
|
-
}),
|
|
3175
|
-
slice:
|
|
3176
|
+
}), $s = (t) => t.editors.editors, Vs = (t, e) => t.editors.editors.find((i) => i.uniqid === e), Bl = {
|
|
3177
|
+
slice: qs,
|
|
3176
3178
|
selectors: {
|
|
3177
|
-
selectEditors:
|
|
3178
|
-
selectEditor:
|
|
3179
|
+
selectEditors: $s,
|
|
3180
|
+
selectEditor: Vs
|
|
3179
3181
|
}
|
|
3180
3182
|
}, N = dt({
|
|
3181
3183
|
selectId: (t) => `${t.targetId}-${t.type}`
|
|
@@ -3189,10 +3191,10 @@ const Ss = {
|
|
|
3189
3191
|
clear: N.removeAll,
|
|
3190
3192
|
updateOne: N.updateOne
|
|
3191
3193
|
}
|
|
3192
|
-
}),
|
|
3194
|
+
}), Hs = N.getSelectors((t) => t.entities.socialActions), ql = {
|
|
3193
3195
|
slice: ri,
|
|
3194
3196
|
actions: { ...ri.actions },
|
|
3195
|
-
selectors:
|
|
3197
|
+
selectors: Hs
|
|
3196
3198
|
}, nt = {
|
|
3197
3199
|
ALL: "1",
|
|
3198
3200
|
CUSTOM: "0"
|
|
@@ -3235,7 +3237,7 @@ const Ss = {
|
|
|
3235
3237
|
SENDALERTTOSUBSCRIBERS: "SENDALERTTOSUBSCRIBERS",
|
|
3236
3238
|
RECEIVEACOPY: "RECEIVEACOPY",
|
|
3237
3239
|
CREATIONDATE: "CREATIONDATE"
|
|
3238
|
-
},
|
|
3240
|
+
}, Gs = {
|
|
3239
3241
|
TITLE: "title",
|
|
3240
3242
|
USER: "user",
|
|
3241
3243
|
PUBLISHTO: "publishTo",
|
|
@@ -3250,7 +3252,7 @@ const Ss = {
|
|
|
3250
3252
|
OPTIONS_EDITOR: "options_editor",
|
|
3251
3253
|
TAXONOMY: "taxonomy",
|
|
3252
3254
|
CONTENTTYPE: "contenttype"
|
|
3253
|
-
},
|
|
3255
|
+
}, Xs = [o.DESCRIPTION, o.IMAGE], $l = Xs, jt = /* @__PURE__ */ new Map();
|
|
3254
3256
|
jt.set(o.IMAGE, ["list", "filter", "view"]);
|
|
3255
3257
|
jt.set(o.CODEHTML, ["list", "filter", "view"]);
|
|
3256
3258
|
const q = {
|
|
@@ -3282,47 +3284,47 @@ const q = {
|
|
|
3282
3284
|
fixed: [p.TITLE],
|
|
3283
3285
|
optional: []
|
|
3284
3286
|
}
|
|
3285
|
-
},
|
|
3287
|
+
}, Js = [
|
|
3286
3288
|
p.TITLE,
|
|
3287
3289
|
p.USER,
|
|
3288
3290
|
p.CREATIONDATE,
|
|
3289
3291
|
o.DESCRIPTION
|
|
3290
|
-
],
|
|
3292
|
+
], Ri = [o.DESCRIPTION], ki = Ri, Vl = [
|
|
3291
3293
|
p.TITLE,
|
|
3292
3294
|
p.PUBLISHTO,
|
|
3293
3295
|
p.SENDALERTTOSUBSCRIBERS,
|
|
3294
3296
|
p.RECEIVEACOPY,
|
|
3295
3297
|
p.USER,
|
|
3296
3298
|
p.CREATIONDATE
|
|
3297
|
-
],
|
|
3299
|
+
], Ks = [
|
|
3298
3300
|
p.USER,
|
|
3299
3301
|
p.TITLE
|
|
3300
|
-
],
|
|
3301
|
-
var
|
|
3302
|
+
], Ys = [o.CODEHTML], Qs = Ks.concat(Ys).concat(Ri);
|
|
3303
|
+
var zs = /* @__PURE__ */ ((t) => (t.Attr = "attr", t.PublishTo = "publishTo", t))(zs || {}), Zs = /* @__PURE__ */ ((t) => (t.Empty = "", t.FieldTagDescription = "Field_Tag_Description", t.FieldTitleDescription = "Field_Title_Description", t.WWWDescCOM = "www.desc.com", t))(Zs || {}), I = [];
|
|
3302
3304
|
for (var pt = 0; pt < 256; ++pt)
|
|
3303
3305
|
I.push((pt + 256).toString(16).slice(1));
|
|
3304
|
-
function
|
|
3306
|
+
function eo(t, e = 0) {
|
|
3305
3307
|
return (I[t[e + 0]] + I[t[e + 1]] + I[t[e + 2]] + I[t[e + 3]] + "-" + I[t[e + 4]] + I[t[e + 5]] + "-" + I[t[e + 6]] + I[t[e + 7]] + "-" + I[t[e + 8]] + I[t[e + 9]] + "-" + I[t[e + 10]] + I[t[e + 11]] + I[t[e + 12]] + I[t[e + 13]] + I[t[e + 14]] + I[t[e + 15]]).toLowerCase();
|
|
3306
3308
|
}
|
|
3307
|
-
var ae,
|
|
3308
|
-
function
|
|
3309
|
+
var ae, to = new Uint8Array(16);
|
|
3310
|
+
function io() {
|
|
3309
3311
|
if (!ae && (ae = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ae))
|
|
3310
3312
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
3311
|
-
return ae(
|
|
3313
|
+
return ae(to);
|
|
3312
3314
|
}
|
|
3313
|
-
var
|
|
3315
|
+
var ao = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
3314
3316
|
const ni = {
|
|
3315
|
-
randomUUID:
|
|
3317
|
+
randomUUID: ao
|
|
3316
3318
|
};
|
|
3317
3319
|
function M(t, e, i) {
|
|
3318
3320
|
if (ni.randomUUID && !t)
|
|
3319
3321
|
return ni.randomUUID();
|
|
3320
3322
|
t = t || {};
|
|
3321
|
-
var a = t.random || (t.rng ||
|
|
3322
|
-
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128,
|
|
3323
|
+
var a = t.random || (t.rng || io)();
|
|
3324
|
+
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, eo(a);
|
|
3323
3325
|
}
|
|
3324
3326
|
var B = /* @__PURE__ */ ((t) => (t.TITLE = "TITLE", t.IMAGE = "IMAGE", t.DESCRIPTION = "DESCRIPTION", t.IDUSER = "IDUSER", t.PUBLISHTO = "PUBLISHTO", t.SENDALERTTOSUBSCRIBERS = "SENDALERTTOSUBSCRIBERS", t.RECEIVEACOPY = "RECEIVEACOPY", t.TEXT = "TEXT", t.TEXTAREA = "TEXTAREA", t.TEXTAREAHTML = "TEXTAREAHTML", t.DATE = "DATE", t.DATETIME = "DATETIME", t.RANGE = "RANGE", t.NUMBER = "NUMBER", t.URL = "URL", t.EMAIL = "EMAIL", t.SELECT = "SELECT", t.CHECKBOX = "CHECKBOX", t.TOGGLE = "TOGGLE", t.RADIO = "RADIO", t.TAGS = "TAGS", t.ADDFILEATTACHMENT = "ADDFILEATTACHMENT", t.AUDIENCE = "AUDIENCE", t.CODEHTML = "CODEHTML", t.DATECREATION = "DATECREATION", t.USERLINK = "USERLINK", t.CONTENTLINK = "CONTENTLINK", t))(B || {});
|
|
3325
|
-
function
|
|
3327
|
+
function Di(t) {
|
|
3326
3328
|
const e = t, i = e.manifest, a = n(), r = {
|
|
3327
3329
|
idApp: e.idApp,
|
|
3328
3330
|
status: e.status,
|
|
@@ -3494,7 +3496,7 @@ function Z(t, e = !0) {
|
|
|
3494
3496
|
return {
|
|
3495
3497
|
id: M(),
|
|
3496
3498
|
type: t,
|
|
3497
|
-
properties:
|
|
3499
|
+
properties: so(t),
|
|
3498
3500
|
mandatory: !1,
|
|
3499
3501
|
views: {
|
|
3500
3502
|
create: e,
|
|
@@ -3511,15 +3513,15 @@ function Z(t, e = !0) {
|
|
|
3511
3513
|
isLockedValue: !1
|
|
3512
3514
|
};
|
|
3513
3515
|
}
|
|
3514
|
-
const
|
|
3516
|
+
const ro = {
|
|
3515
3517
|
type: "taxonomyOpen",
|
|
3516
3518
|
id: 1,
|
|
3517
3519
|
title: "Mots-clés"
|
|
3518
|
-
},
|
|
3520
|
+
}, no = {
|
|
3519
3521
|
type: "mpArticle",
|
|
3520
3522
|
label: "Article"
|
|
3521
3523
|
};
|
|
3522
|
-
function
|
|
3524
|
+
function so(t) {
|
|
3523
3525
|
switch (t) {
|
|
3524
3526
|
case o.TEXT:
|
|
3525
3527
|
case o.DESCRIPTION:
|
|
@@ -3579,7 +3581,7 @@ function no(t) {
|
|
|
3579
3581
|
{ propertyType: S.DESCRIPTION, value: "" },
|
|
3580
3582
|
{
|
|
3581
3583
|
propertyType: S.TAXONOMY,
|
|
3582
|
-
value: { ...
|
|
3584
|
+
value: { ...ro }
|
|
3583
3585
|
}
|
|
3584
3586
|
];
|
|
3585
3587
|
case o.CONTENTLINK:
|
|
@@ -3588,7 +3590,7 @@ function no(t) {
|
|
|
3588
3590
|
{ propertyType: S.DESCRIPTION, value: "" },
|
|
3589
3591
|
{
|
|
3590
3592
|
propertyType: S.CONTENTTYPE,
|
|
3591
|
-
value: { ...
|
|
3593
|
+
value: { ...no }
|
|
3592
3594
|
}
|
|
3593
3595
|
];
|
|
3594
3596
|
default:
|
|
@@ -3603,7 +3605,7 @@ function h(t, e) {
|
|
|
3603
3605
|
};
|
|
3604
3606
|
return i.properties[0].value = e.label, i.properties[1].value = e.description, i;
|
|
3605
3607
|
}
|
|
3606
|
-
function
|
|
3608
|
+
function Mi(t) {
|
|
3607
3609
|
const e = [];
|
|
3608
3610
|
return Object.keys(t).forEach((i) => {
|
|
3609
3611
|
e.push({
|
|
@@ -3612,7 +3614,7 @@ function Di(t) {
|
|
|
3612
3614
|
});
|
|
3613
3615
|
}), e;
|
|
3614
3616
|
}
|
|
3615
|
-
function
|
|
3617
|
+
function oo(t) {
|
|
3616
3618
|
const e = {
|
|
3617
3619
|
...Z(o.ADDFILEATTACHMENT, !1),
|
|
3618
3620
|
id: t.name,
|
|
@@ -3620,31 +3622,31 @@ function so(t) {
|
|
|
3620
3622
|
};
|
|
3621
3623
|
return e.properties[0].value = t.label, e;
|
|
3622
3624
|
}
|
|
3623
|
-
function
|
|
3625
|
+
function lo(t) {
|
|
3624
3626
|
const e = {
|
|
3625
3627
|
...Z(o.CODEHTML, !1),
|
|
3626
3628
|
id: t.name
|
|
3627
3629
|
}, i = t.properties.code;
|
|
3628
3630
|
return typeof i == "object" && i?.html && typeof i.html == "string" ? e.properties[0].value = i.html : typeof i == "string" && (e.properties[0].value = i), e;
|
|
3629
3631
|
}
|
|
3630
|
-
function
|
|
3632
|
+
function co() {
|
|
3631
3633
|
return Z(o.IMAGE, !1);
|
|
3632
3634
|
}
|
|
3633
|
-
function
|
|
3635
|
+
function uo(t) {
|
|
3634
3636
|
const e = h(o.NUMBER, t);
|
|
3635
3637
|
return e.properties[2].value = t.widget.params?.step === "0.01", e;
|
|
3636
3638
|
}
|
|
3637
|
-
function
|
|
3639
|
+
function po(t) {
|
|
3638
3640
|
const e = h(o.TAGS, t);
|
|
3639
3641
|
return e.properties[2].value.id = +(t.widget.params?.idTaxonomy ?? 1), e;
|
|
3640
3642
|
}
|
|
3641
|
-
function
|
|
3643
|
+
function go(t) {
|
|
3642
3644
|
const e = h(o.SELECT, t), i = t.widget.params?.defaultValue ? {
|
|
3643
3645
|
title: t.widget.options[t.widget.params?.defaultValue],
|
|
3644
3646
|
value: t.widget.params?.defaultValue
|
|
3645
3647
|
} : void 0, a = {
|
|
3646
3648
|
// TODO : better typing
|
|
3647
|
-
propertyOptions:
|
|
3649
|
+
propertyOptions: Mi(t.widget.options),
|
|
3648
3650
|
canSelectMultiple: t.widget.multiple === "1",
|
|
3649
3651
|
userCanModifiyByComment: t.widget.params?.explain === "1",
|
|
3650
3652
|
defaultSelectOption: !!t.widget.params?.defaultValue,
|
|
@@ -3652,57 +3654,57 @@ function po(t) {
|
|
|
3652
3654
|
};
|
|
3653
3655
|
return e.properties[2].value = a, e;
|
|
3654
3656
|
}
|
|
3655
|
-
function
|
|
3657
|
+
function xi(t) {
|
|
3656
3658
|
const e = h(o.RADIO, t), i = {
|
|
3657
|
-
propertyOptions:
|
|
3659
|
+
propertyOptions: Mi(t.widget.options)
|
|
3658
3660
|
};
|
|
3659
3661
|
return e.properties[2].value = i, e;
|
|
3660
3662
|
}
|
|
3661
|
-
function
|
|
3662
|
-
const e =
|
|
3663
|
+
function fo(t) {
|
|
3664
|
+
const e = xi(t);
|
|
3663
3665
|
return e.type = o.CHECKBOX, e;
|
|
3664
3666
|
}
|
|
3665
|
-
function
|
|
3667
|
+
function mo(t, e) {
|
|
3666
3668
|
const i = h(o.CONTENTLINK, t);
|
|
3667
3669
|
i.properties[2].value.type = t.widget.params.types ?? "mpArticle";
|
|
3668
|
-
const a = e.entities === void 0 ? void 0 : { entities: e.entities }, r = a ?
|
|
3670
|
+
const a = e.entities === void 0 ? void 0 : { entities: e.entities }, r = a ? Gr.selectors.selectById(a, i.properties[2].value.type) : void 0;
|
|
3669
3671
|
return i.properties[2].value.label = r?.label ?? "Article", i;
|
|
3670
3672
|
}
|
|
3671
|
-
function
|
|
3673
|
+
function yo(t) {
|
|
3672
3674
|
return h(o.TEXT, t);
|
|
3673
3675
|
}
|
|
3674
|
-
function
|
|
3676
|
+
function Ao(t) {
|
|
3675
3677
|
return h(o.DESCRIPTION, t);
|
|
3676
3678
|
}
|
|
3677
|
-
function
|
|
3679
|
+
function Eo(t) {
|
|
3678
3680
|
return h(o.TEXTAREAHTML, t);
|
|
3679
3681
|
}
|
|
3680
|
-
function
|
|
3682
|
+
function So(t) {
|
|
3681
3683
|
return h(o.DATE, t);
|
|
3682
3684
|
}
|
|
3683
|
-
function
|
|
3685
|
+
function To(t) {
|
|
3684
3686
|
return h(o.DATETIME, t);
|
|
3685
3687
|
}
|
|
3686
|
-
function
|
|
3688
|
+
function Co(t) {
|
|
3687
3689
|
return h(o.URL, t);
|
|
3688
3690
|
}
|
|
3689
|
-
function
|
|
3691
|
+
function bo(t) {
|
|
3690
3692
|
return h(o.EMAIL, t);
|
|
3691
3693
|
}
|
|
3692
|
-
function
|
|
3694
|
+
function wo(t) {
|
|
3693
3695
|
return h(o.TOGGLE, t);
|
|
3694
3696
|
}
|
|
3695
|
-
function
|
|
3697
|
+
function Lo(t) {
|
|
3696
3698
|
return h(o.USERLINK, t);
|
|
3697
3699
|
}
|
|
3698
|
-
function
|
|
3700
|
+
function Io(t) {
|
|
3699
3701
|
return h(o.TEXTAREA, t);
|
|
3700
3702
|
}
|
|
3701
|
-
function
|
|
3703
|
+
function vo(t) {
|
|
3702
3704
|
const { manifest: e, views: i, audience: a, installFor: r } = t;
|
|
3703
3705
|
return `<?xml version='1.0' encoding='utf-8'?>
|
|
3704
3706
|
<Application>
|
|
3705
|
-
${
|
|
3707
|
+
${ho(e, i, a, r, t.idApp)}
|
|
3706
3708
|
<Types>
|
|
3707
3709
|
<objecttype
|
|
3708
3710
|
label="${e.typeLabel}"
|
|
@@ -3718,14 +3720,14 @@ function Io(t) {
|
|
|
3718
3720
|
searchtablabel="${e.typeLabel}"
|
|
3719
3721
|
buttonlabel="${e.typeLabel}"
|
|
3720
3722
|
extends="article">
|
|
3721
|
-
${ko(t.fields)}
|
|
3722
3723
|
${Do(t.fields)}
|
|
3724
|
+
${Mo(t.fields)}
|
|
3723
3725
|
</objecttype>
|
|
3724
|
-
${
|
|
3726
|
+
${Uo(t)}
|
|
3725
3727
|
</Types>
|
|
3726
3728
|
</Application>`;
|
|
3727
3729
|
}
|
|
3728
|
-
function
|
|
3730
|
+
function ho(t, e, i, a, r) {
|
|
3729
3731
|
return `<Manifest>
|
|
3730
3732
|
<ShowImport>true</ShowImport>
|
|
3731
3733
|
<AppShortName>${r}</AppShortName>
|
|
@@ -3741,13 +3743,13 @@ function vo(t, e, i, a, r) {
|
|
|
3741
3743
|
<Editor>Jamespot</Editor>
|
|
3742
3744
|
<EditorUrl>https://www.fr.jamespot.com/</EditorUrl>
|
|
3743
3745
|
<Type>${r}</Type>
|
|
3744
|
-
${
|
|
3745
|
-
${
|
|
3746
|
-
${
|
|
3746
|
+
${Oo(t.viewSolr, e.list)}
|
|
3747
|
+
${Ro(e.filter)}
|
|
3748
|
+
${ko(i, a)}
|
|
3747
3749
|
<Order>1</Order>
|
|
3748
3750
|
</Manifest>`;
|
|
3749
3751
|
}
|
|
3750
|
-
function
|
|
3752
|
+
function Oo(t, e) {
|
|
3751
3753
|
if (t === st.SOLR) {
|
|
3752
3754
|
let i = "<AppView>solr</AppView>";
|
|
3753
3755
|
const a = [];
|
|
@@ -3757,7 +3759,7 @@ function ho(t, e) {
|
|
|
3757
3759
|
}
|
|
3758
3760
|
return "";
|
|
3759
3761
|
}
|
|
3760
|
-
function
|
|
3762
|
+
function Ro(t) {
|
|
3761
3763
|
const e = [];
|
|
3762
3764
|
return Object.entries(t).sort((i, a) => i[1].pos - a[1].pos).forEach(([i, a]) => {
|
|
3763
3765
|
if (!a.isUsed)
|
|
@@ -3765,25 +3767,25 @@ function Oo(t) {
|
|
|
3765
3767
|
[p.TITLE, o.IMAGE].includes(a.type) || e.push(_t(a, i));
|
|
3766
3768
|
}), `<AttrExposed>${e.join()}</AttrExposed>`;
|
|
3767
3769
|
}
|
|
3768
|
-
function
|
|
3770
|
+
function ji(t) {
|
|
3769
3771
|
return t === p.TITLE ? "title" : t === p.SENDALERTTOSUBSCRIBERS ? "sendAlert" : t === p.RECEIVEACOPY ? "alertAuthor" : t === p.PUBLISHTO ? "publishTo" : t === p.USER ? "idUser" : t === p.CREATIONDATE ? "dateCreation" : t === o.DESCRIPTION ? "description" : t;
|
|
3770
3772
|
}
|
|
3771
3773
|
function _t(t, e) {
|
|
3772
|
-
return
|
|
3774
|
+
return Js.includes(t.type) ? ji(t.type) : Nt(e).toLowerCase();
|
|
3773
3775
|
}
|
|
3774
|
-
function
|
|
3776
|
+
function ko(t, e) {
|
|
3775
3777
|
return t === nt.ALL ? "<checkAccess>false</checkAccess>" : e.length > 0 ? `<checkAccess>true</checkAccess>
|
|
3776
3778
|
<accessRightList>${e.map((i) => i.uri).join()}</accessRightList>` : "";
|
|
3777
3779
|
}
|
|
3778
|
-
function
|
|
3779
|
-
const e = t?.filter((i) =>
|
|
3780
|
+
function Do(t) {
|
|
3781
|
+
const e = t?.filter((i) => ki.includes(i.type));
|
|
3780
3782
|
return e.length === 0 ? "" : `<primaryFields>${e.map((i) => vt(i)).join("")}</primaryFields>`;
|
|
3781
3783
|
}
|
|
3782
|
-
function
|
|
3783
|
-
const i = t?.filter((n) => !
|
|
3784
|
+
function Mo(t) {
|
|
3785
|
+
const i = t?.filter((n) => !ki.includes(n.type))?.filter((n) => n.type !== o.IMAGE);
|
|
3784
3786
|
if (i.length === 0) return "";
|
|
3785
3787
|
const a = i.filter(
|
|
3786
|
-
(n) => n.type !== o.TAGS && !
|
|
3788
|
+
(n) => n.type !== o.TAGS && !Qs.includes(n.type)
|
|
3787
3789
|
), r = i.filter((n) => n.type === o.TAGS);
|
|
3788
3790
|
return `<custom>
|
|
3789
3791
|
${a.length > 0 ? `<articlemstable>
|
|
@@ -3795,13 +3797,13 @@ function Do(t) {
|
|
|
3795
3797
|
}
|
|
3796
3798
|
function vt(t) {
|
|
3797
3799
|
return `<field
|
|
3798
|
-
type="${
|
|
3800
|
+
type="${No(t.type)}"
|
|
3799
3801
|
name="${_t(t, t.id)}"
|
|
3800
|
-
sqlname="${
|
|
3802
|
+
sqlname="${jo(t.type, t.id)}"
|
|
3801
3803
|
${t.properties && si(t.properties, S.LABEL)}
|
|
3802
3804
|
${t.properties && si(t.properties, S.DESCRIPTION)}
|
|
3803
3805
|
mandatory="${t.type === o.TOGGLE ? "false" : t.mandatory}"
|
|
3804
|
-
solr.type="${
|
|
3806
|
+
solr.type="${_o(t.type)}"
|
|
3805
3807
|
solr.used="true"
|
|
3806
3808
|
solr.indexed="true"
|
|
3807
3809
|
solr.stored="true"
|
|
@@ -3810,10 +3812,10 @@ function vt(t) {
|
|
|
3810
3812
|
teaser="true"
|
|
3811
3813
|
display="true"
|
|
3812
3814
|
>
|
|
3813
|
-
${
|
|
3815
|
+
${xo(t.type, t.properties)}
|
|
3814
3816
|
</field>`;
|
|
3815
3817
|
}
|
|
3816
|
-
function
|
|
3818
|
+
function xo(t, e) {
|
|
3817
3819
|
switch (t) {
|
|
3818
3820
|
case o.DESCRIPTION:
|
|
3819
3821
|
return '<widget form="textarea"><params><param key="class" value="mceEditor"></param><param key="mention" value="1"></param></params></widget>';
|
|
@@ -3937,7 +3939,7 @@ function si(t, e) {
|
|
|
3937
3939
|
}
|
|
3938
3940
|
return "";
|
|
3939
3941
|
}
|
|
3940
|
-
function
|
|
3942
|
+
function jo(t, e) {
|
|
3941
3943
|
switch (t) {
|
|
3942
3944
|
case o.DESCRIPTION:
|
|
3943
3945
|
return "Description";
|
|
@@ -3947,7 +3949,7 @@ function xo(t, e) {
|
|
|
3947
3949
|
return Nt(e);
|
|
3948
3950
|
}
|
|
3949
3951
|
}
|
|
3950
|
-
function
|
|
3952
|
+
function _o(t) {
|
|
3951
3953
|
switch (t) {
|
|
3952
3954
|
case o.DESCRIPTION:
|
|
3953
3955
|
case o.TEXT:
|
|
@@ -3975,7 +3977,7 @@ function jo(t) {
|
|
|
3975
3977
|
return "";
|
|
3976
3978
|
}
|
|
3977
3979
|
}
|
|
3978
|
-
function
|
|
3980
|
+
function No(t) {
|
|
3979
3981
|
switch (t) {
|
|
3980
3982
|
default:
|
|
3981
3983
|
case o.DESCRIPTION:
|
|
@@ -4008,10 +4010,10 @@ const Nt = (t) => {
|
|
|
4008
4010
|
let e = "";
|
|
4009
4011
|
for (let i = 0; i < t.length; i++) {
|
|
4010
4012
|
const a = t.charAt(i);
|
|
4011
|
-
a >= "0" && a <= "9" ? e +=
|
|
4013
|
+
a >= "0" && a <= "9" ? e += Po(Number(a)) : a >= "a" && a <= "z" && (e += a);
|
|
4012
4014
|
}
|
|
4013
4015
|
return e;
|
|
4014
|
-
},
|
|
4016
|
+
}, Po = (t) => {
|
|
4015
4017
|
let e = "", i;
|
|
4016
4018
|
for (; t > 0; )
|
|
4017
4019
|
i = (t - 1) % 26, e = String.fromCharCode(97 + i) + e, t = (t - i) / 26 | 0;
|
|
@@ -4022,18 +4024,18 @@ const Nt = (t) => {
|
|
|
4022
4024
|
edit: "edit",
|
|
4023
4025
|
view: "display"
|
|
4024
4026
|
};
|
|
4025
|
-
function
|
|
4027
|
+
function Uo(t) {
|
|
4026
4028
|
let e = "";
|
|
4027
4029
|
return Object.entries(t.views).forEach(([i, a]) => {
|
|
4028
4030
|
if (Object.prototype.hasOwnProperty.call(oi, i)) {
|
|
4029
4031
|
const r = Object.entries(a).filter((n) => n[1].isUsed && (i !== "view" || n[0] !== "title")).sort((n, s) => n[1].pos - s[1].pos);
|
|
4030
4032
|
e += `<display view="${oi[i]}${i === "view" && t.manifest.displayContentLegacyTable ? "Disabled" : ""}" mode="${i === "view" ? "view" : "form"}">
|
|
4031
|
-
${r.map(([n, s]) =>
|
|
4033
|
+
${r.map(([n, s]) => Wo(n, s)).join("")}
|
|
4032
4034
|
</display>`;
|
|
4033
4035
|
}
|
|
4034
4036
|
}), e.length > 0 && (e = `<displays type="${t.idApp}">${e}</displays>`), e;
|
|
4035
4037
|
}
|
|
4036
|
-
function
|
|
4038
|
+
function Fo(t, e) {
|
|
4037
4039
|
switch (e.type) {
|
|
4038
4040
|
case p.TITLE:
|
|
4039
4041
|
return "title";
|
|
@@ -4053,9 +4055,9 @@ function Uo(t, e) {
|
|
|
4053
4055
|
return Nt(t);
|
|
4054
4056
|
}
|
|
4055
4057
|
}
|
|
4056
|
-
function
|
|
4058
|
+
function Wo(t, e) {
|
|
4057
4059
|
let i = "";
|
|
4058
|
-
const a =
|
|
4060
|
+
const a = Fo(t, e);
|
|
4059
4061
|
if (e.isLockedValue) {
|
|
4060
4062
|
const n = {
|
|
4061
4063
|
ref: a,
|
|
@@ -4124,7 +4126,7 @@ function Fo(t, e) {
|
|
|
4124
4126
|
function _(t) {
|
|
4125
4127
|
return t < 10 ? "0" + t : t;
|
|
4126
4128
|
}
|
|
4127
|
-
const
|
|
4129
|
+
const _i = {
|
|
4128
4130
|
"create-popup": "popup",
|
|
4129
4131
|
create: "create",
|
|
4130
4132
|
edit: "edit",
|
|
@@ -4132,8 +4134,8 @@ const ji = {
|
|
|
4132
4134
|
displayDisabled: "view"
|
|
4133
4135
|
// appInstalled.columns => 'list' view,
|
|
4134
4136
|
// appInstalled.attrExposed => 'filter' view,
|
|
4135
|
-
}, li = ["title", "alertAuthor", "sendAlert"],
|
|
4136
|
-
function
|
|
4137
|
+
}, li = ["title", "alertAuthor", "sendAlert"], Bo = ["edito"];
|
|
4138
|
+
function Ni(t, e, i) {
|
|
4137
4139
|
return Object.assign(
|
|
4138
4140
|
{},
|
|
4139
4141
|
...xt.map((a) => {
|
|
@@ -4153,12 +4155,12 @@ function _i(t, e, i) {
|
|
|
4153
4155
|
));
|
|
4154
4156
|
});
|
|
4155
4157
|
const l = new Set(s.concat(n)), d = {
|
|
4156
|
-
[p.CREATIONDATE]: () =>
|
|
4158
|
+
[p.CREATIONDATE]: () => $i(!1),
|
|
4157
4159
|
[p.TITLE]: () => ot({ fixedValue: void 0 }),
|
|
4158
|
-
[p.USER]: () =>
|
|
4159
|
-
[p.RECEIVEACOPY]: () =>
|
|
4160
|
-
[p.SENDALERTTOSUBSCRIBERS]: () =>
|
|
4161
|
-
[p.PUBLISHTO]: () =>
|
|
4160
|
+
[p.USER]: () => qi(!1),
|
|
4161
|
+
[p.RECEIVEACOPY]: () => Fi({ fixedValue: void 0 }),
|
|
4162
|
+
[p.SENDALERTTOSUBSCRIBERS]: () => Wi({ fixedValue: void 0 }),
|
|
4163
|
+
[p.PUBLISHTO]: () => Bi({ fixedValue: void 0 })
|
|
4162
4164
|
};
|
|
4163
4165
|
l.forEach((y) => {
|
|
4164
4166
|
const m = d[y];
|
|
@@ -4186,9 +4188,9 @@ function _i(t, e, i) {
|
|
|
4186
4188
|
);
|
|
4187
4189
|
if (A) {
|
|
4188
4190
|
const k = t[a][y.id], ee = k.properties?.find(
|
|
4189
|
-
(
|
|
4190
|
-
),
|
|
4191
|
-
|
|
4191
|
+
(Ki) => Ki.propertyType === S.OPTIONS_EDITOR
|
|
4192
|
+
), Xi = !!L?.value?.canSelectMultiple, Ji = !!ee?.value?.canSelectMultiple;
|
|
4193
|
+
Xi === Ji && (w = k.value);
|
|
4192
4194
|
} else {
|
|
4193
4195
|
const ee = !!L?.isOptionsEditorEnhanced && L?.value.defaultSelectOption ? L?.value.defaultSelectOptionValue : "";
|
|
4194
4196
|
ee && (w = ee);
|
|
@@ -4224,7 +4226,7 @@ function _i(t, e, i) {
|
|
|
4224
4226
|
const m = r[y.id];
|
|
4225
4227
|
m.pos = y.idx + 1, Object.keys(r).forEach((c) => {
|
|
4226
4228
|
const A = r[c];
|
|
4227
|
-
A && !Object.values(
|
|
4229
|
+
A && !Object.values(Gs).includes(c) && c !== y.id && A.pos >= m.pos && A.pos++;
|
|
4228
4230
|
});
|
|
4229
4231
|
}), {
|
|
4230
4232
|
[a]: r
|
|
@@ -4232,7 +4234,7 @@ function _i(t, e, i) {
|
|
|
4232
4234
|
})
|
|
4233
4235
|
);
|
|
4234
4236
|
}
|
|
4235
|
-
function
|
|
4237
|
+
function qo(t) {
|
|
4236
4238
|
return t.map((e) => ({
|
|
4237
4239
|
id: `${e.type}/${e.id}`,
|
|
4238
4240
|
uri: `${e.type}/${e.id}`,
|
|
@@ -4249,14 +4251,14 @@ function Bo(t) {
|
|
|
4249
4251
|
_url: e._url
|
|
4250
4252
|
}));
|
|
4251
4253
|
}
|
|
4252
|
-
function
|
|
4254
|
+
function $o(t, e, i) {
|
|
4253
4255
|
const a = t.typeModel.tables, r = t.typeModel.displays;
|
|
4254
4256
|
if (!r)
|
|
4255
4257
|
return;
|
|
4256
4258
|
const n = /* @__PURE__ */ new Map();
|
|
4257
4259
|
Object.entries(r).forEach((s) => {
|
|
4258
4260
|
const [l, d] = s;
|
|
4259
|
-
Object.keys(
|
|
4261
|
+
Object.keys(_i).includes(l) && Vo(
|
|
4260
4262
|
e,
|
|
4261
4263
|
n,
|
|
4262
4264
|
l,
|
|
@@ -4264,19 +4266,19 @@ function qo(t, e, i) {
|
|
|
4264
4266
|
a,
|
|
4265
4267
|
i
|
|
4266
4268
|
);
|
|
4267
|
-
}),
|
|
4269
|
+
}), Ho(e, n, t.columns, a, i), Go(e, n, t.attrExposed, a, i);
|
|
4268
4270
|
}
|
|
4269
|
-
function
|
|
4270
|
-
const s =
|
|
4271
|
+
function Vo(t, e, i, a, r, n) {
|
|
4272
|
+
const s = _i[i];
|
|
4271
4273
|
if (t.views[s] = {}, s === "view") {
|
|
4272
4274
|
const [l, d] = ot({ fixedValue: void 0 });
|
|
4273
4275
|
t.views[s][l] = d;
|
|
4274
4276
|
}
|
|
4275
4277
|
a.composants.forEach((l, d) => {
|
|
4276
4278
|
let g;
|
|
4277
|
-
if (l.name &&
|
|
4279
|
+
if (l.name && Bo.includes(l.name))
|
|
4278
4280
|
return;
|
|
4279
|
-
const [y, m] =
|
|
4281
|
+
const [y, m] = Ko(t, e, l, r, n);
|
|
4280
4282
|
if (y === -1 && m)
|
|
4281
4283
|
switch (m.ref) {
|
|
4282
4284
|
case "title": {
|
|
@@ -4287,17 +4289,17 @@ function $o(t, e, i, a, r, n) {
|
|
|
4287
4289
|
break;
|
|
4288
4290
|
}
|
|
4289
4291
|
case "alertAuthor": {
|
|
4290
|
-
const [c, A] =
|
|
4292
|
+
const [c, A] = Fi(m);
|
|
4291
4293
|
t.views[s][c] = A;
|
|
4292
4294
|
break;
|
|
4293
4295
|
}
|
|
4294
4296
|
case "sendAlert": {
|
|
4295
|
-
const [c, A] =
|
|
4297
|
+
const [c, A] = Wi(m);
|
|
4296
4298
|
t.views[s][c] = A;
|
|
4297
4299
|
break;
|
|
4298
4300
|
}
|
|
4299
4301
|
case "publishTo": {
|
|
4300
|
-
const [c, A] =
|
|
4302
|
+
const [c, A] = Bi(m);
|
|
4301
4303
|
t.views[s][c] = A;
|
|
4302
4304
|
break;
|
|
4303
4305
|
}
|
|
@@ -4312,21 +4314,21 @@ function $o(t, e, i, a, r, n) {
|
|
|
4312
4314
|
throw new Error(
|
|
4313
4315
|
`error converting installed app to V2: created field not found in fields array: ${y}, ${m}`
|
|
4314
4316
|
);
|
|
4315
|
-
g.views[s] = !0,
|
|
4317
|
+
g.views[s] = !0, Ui(s, g, t, d, m);
|
|
4316
4318
|
}
|
|
4317
4319
|
});
|
|
4318
4320
|
}
|
|
4319
|
-
function
|
|
4321
|
+
function Ho(t, e, i, a, r) {
|
|
4320
4322
|
i && Object.keys(i).forEach((n, s) => {
|
|
4321
|
-
|
|
4323
|
+
Pi(t, e, a, "list", n, s, r);
|
|
4322
4324
|
});
|
|
4323
4325
|
}
|
|
4324
|
-
function
|
|
4326
|
+
function Go(t, e, i, a, r) {
|
|
4325
4327
|
i.forEach((n, s) => {
|
|
4326
|
-
|
|
4328
|
+
Pi(t, e, a, "filter", n, s, r);
|
|
4327
4329
|
});
|
|
4328
4330
|
}
|
|
4329
|
-
function
|
|
4331
|
+
function Pi(t, e, i, a, r, n, s) {
|
|
4330
4332
|
switch (r) {
|
|
4331
4333
|
case "title": {
|
|
4332
4334
|
const [l, d] = ot({ fixedValue: void 0 });
|
|
@@ -4335,35 +4337,35 @@ function Ni(t, e, i, a, r, n, s) {
|
|
|
4335
4337
|
}
|
|
4336
4338
|
case "iduser":
|
|
4337
4339
|
case "idUser": {
|
|
4338
|
-
const [l, d] =
|
|
4340
|
+
const [l, d] = qi();
|
|
4339
4341
|
t.views[a][l] = d;
|
|
4340
4342
|
break;
|
|
4341
4343
|
}
|
|
4342
4344
|
case "datecreation":
|
|
4343
4345
|
case "dateCreation": {
|
|
4344
|
-
const [l, d] =
|
|
4346
|
+
const [l, d] = $i();
|
|
4345
4347
|
t.views[a][l] = d;
|
|
4346
4348
|
break;
|
|
4347
4349
|
}
|
|
4348
4350
|
default:
|
|
4349
|
-
|
|
4351
|
+
Xo(t, e, i, a, r, n, s);
|
|
4350
4352
|
break;
|
|
4351
4353
|
}
|
|
4352
4354
|
}
|
|
4353
|
-
function
|
|
4354
|
-
const l =
|
|
4355
|
+
function Xo(t, e, i, a, r, n, s) {
|
|
4356
|
+
const l = Jo(t, e, i, r, s), d = t.fields[l];
|
|
4355
4357
|
if (!d?.views)
|
|
4356
4358
|
throw new Error(`error converting installed app to V2: unable to handle ${r} in list view`);
|
|
4357
|
-
d.views[a] = !0,
|
|
4359
|
+
d.views[a] = !0, Ui(a, d, t, n, void 0);
|
|
4358
4360
|
}
|
|
4359
|
-
function
|
|
4361
|
+
function Jo(t, e, i, a, r) {
|
|
4360
4362
|
const n = e.get(a);
|
|
4361
4363
|
if (n !== void 0)
|
|
4362
4364
|
return n;
|
|
4363
4365
|
const [s, l] = ht(t, a, i, r);
|
|
4364
4366
|
return e.set(s, l), l;
|
|
4365
4367
|
}
|
|
4366
|
-
function
|
|
4368
|
+
function Ko(t, e, i, a, r) {
|
|
4367
4369
|
if (i.name !== void 0 && i.element === "attr") {
|
|
4368
4370
|
if (li.includes(i.name))
|
|
4369
4371
|
return [-1, { ref: i.name, fixedValue: void 0 }];
|
|
@@ -4382,7 +4384,7 @@ function Jo(t, e, i, a, r) {
|
|
|
4382
4384
|
const g = JSON.parse(d);
|
|
4383
4385
|
if (g?.ref.toUpperCase() in p) {
|
|
4384
4386
|
const A = g.ref.toUpperCase();
|
|
4385
|
-
return [-1, { ...g, ref:
|
|
4387
|
+
return [-1, { ...g, ref: ji(A) }];
|
|
4386
4388
|
}
|
|
4387
4389
|
if (li.includes(g?.ref))
|
|
4388
4390
|
return [-1, g];
|
|
@@ -4399,7 +4401,7 @@ function Jo(t, e, i, a, r) {
|
|
|
4399
4401
|
const s = n.indexOf("<JAMESPOT.STUDIO.CODEHTML>") + 26, l = n.indexOf("</JAMESPOT.STUDIO.CODEHTML>"), d = n.substring(s, l), g = JSON.parse(d), y = e.get(g?.name);
|
|
4400
4402
|
if (y !== void 0)
|
|
4401
4403
|
return [y, void 0];
|
|
4402
|
-
const m =
|
|
4404
|
+
const m = lo(g), c = t.fields.push(m) - 1;
|
|
4403
4405
|
return e.set(m.id, c), [c, void 0];
|
|
4404
4406
|
} catch {
|
|
4405
4407
|
return console.error("error while parsing studio installed codehtml attr in a view: json parsing failed"), [-1, void 0];
|
|
@@ -4410,53 +4412,53 @@ function Jo(t, e, i, a, r) {
|
|
|
4410
4412
|
const n = e.get("image");
|
|
4411
4413
|
if (n !== void 0)
|
|
4412
4414
|
return [n, void 0];
|
|
4413
|
-
const s =
|
|
4415
|
+
const s = co(), l = t.fields.push(s) - 1;
|
|
4414
4416
|
return e.set("image", l), [l, void 0];
|
|
4415
4417
|
} else return i.element === "publishTo" ? [-1, { ref: "publishTo", fixedValue: void 0 }] : (console.error("error while parsing studio installed attr in a view: unknown attr :O"), [-1, void 0]);
|
|
4416
4418
|
}
|
|
4417
4419
|
function ht(t, e, i, a) {
|
|
4418
|
-
const r =
|
|
4420
|
+
const r = Yo(e, i), n = Qo(r), s = (function() {
|
|
4419
4421
|
switch (n) {
|
|
4420
4422
|
case o.ADDFILEATTACHMENT:
|
|
4421
|
-
return
|
|
4423
|
+
return oo(r);
|
|
4422
4424
|
case o.NUMBER:
|
|
4423
|
-
return co(r);
|
|
4424
|
-
case o.TAGS:
|
|
4425
4425
|
return uo(r);
|
|
4426
|
-
case o.
|
|
4426
|
+
case o.TAGS:
|
|
4427
4427
|
return po(r);
|
|
4428
|
+
case o.SELECT:
|
|
4429
|
+
return go(r);
|
|
4428
4430
|
case o.RADIO:
|
|
4429
|
-
return
|
|
4431
|
+
return xi(r);
|
|
4430
4432
|
case o.CHECKBOX:
|
|
4431
|
-
return
|
|
4433
|
+
return fo(r);
|
|
4432
4434
|
case o.CONTENTLINK:
|
|
4433
|
-
return
|
|
4435
|
+
return mo(r, a);
|
|
4434
4436
|
case o.DESCRIPTION:
|
|
4435
|
-
return yo(r);
|
|
4436
|
-
case o.TEXTAREAHTML:
|
|
4437
4437
|
return Ao(r);
|
|
4438
|
-
case o.
|
|
4438
|
+
case o.TEXTAREAHTML:
|
|
4439
4439
|
return Eo(r);
|
|
4440
|
-
case o.
|
|
4440
|
+
case o.DATE:
|
|
4441
4441
|
return So(r);
|
|
4442
|
-
case o.
|
|
4442
|
+
case o.DATETIME:
|
|
4443
4443
|
return To(r);
|
|
4444
|
-
case o.
|
|
4444
|
+
case o.URL:
|
|
4445
4445
|
return Co(r);
|
|
4446
|
-
case o.
|
|
4446
|
+
case o.EMAIL:
|
|
4447
4447
|
return bo(r);
|
|
4448
|
-
case o.
|
|
4448
|
+
case o.TOGGLE:
|
|
4449
4449
|
return wo(r);
|
|
4450
|
-
case o.
|
|
4450
|
+
case o.USERLINK:
|
|
4451
4451
|
return Lo(r);
|
|
4452
|
+
case o.TEXTAREA:
|
|
4453
|
+
return Io(r);
|
|
4452
4454
|
case o.TEXT:
|
|
4453
4455
|
default:
|
|
4454
|
-
return
|
|
4456
|
+
return yo(r);
|
|
4455
4457
|
}
|
|
4456
4458
|
})(), l = t.fields.push(s) - 1;
|
|
4457
4459
|
return [e, l];
|
|
4458
4460
|
}
|
|
4459
|
-
function
|
|
4461
|
+
function Yo(t, e) {
|
|
4460
4462
|
let i;
|
|
4461
4463
|
for (let a = 0; a < e.length && !i; a++)
|
|
4462
4464
|
i = e[a]?.attributes.find((r) => r.name === t);
|
|
@@ -4464,7 +4466,7 @@ function Ko(t, e) {
|
|
|
4464
4466
|
throw new Error("error converting installed app to V2: installed field not found in tables " + t);
|
|
4465
4467
|
return i;
|
|
4466
4468
|
}
|
|
4467
|
-
function
|
|
4469
|
+
function Ui(t, e, i, a, r) {
|
|
4468
4470
|
e.views && (e.views[t] = !0, i.views[t][e.id] = {
|
|
4469
4471
|
type: e.type,
|
|
4470
4472
|
properties: e.properties ?? [],
|
|
@@ -4476,7 +4478,7 @@ function Pi(t, e, i, a, r) {
|
|
|
4476
4478
|
pos: a
|
|
4477
4479
|
});
|
|
4478
4480
|
}
|
|
4479
|
-
function
|
|
4481
|
+
function Qo(t) {
|
|
4480
4482
|
switch (t.widget.type) {
|
|
4481
4483
|
case "number":
|
|
4482
4484
|
return o.NUMBER;
|
|
@@ -4532,7 +4534,7 @@ function ot(t, e = !0) {
|
|
|
4532
4534
|
}
|
|
4533
4535
|
];
|
|
4534
4536
|
}
|
|
4535
|
-
function
|
|
4537
|
+
function Fi(t, e = !0) {
|
|
4536
4538
|
return [
|
|
4537
4539
|
"alertAuthor",
|
|
4538
4540
|
{
|
|
@@ -4547,7 +4549,7 @@ function Ui(t, e = !0) {
|
|
|
4547
4549
|
}
|
|
4548
4550
|
];
|
|
4549
4551
|
}
|
|
4550
|
-
function
|
|
4552
|
+
function Wi(t, e = !0) {
|
|
4551
4553
|
return [
|
|
4552
4554
|
"sendAlert",
|
|
4553
4555
|
{
|
|
@@ -4562,7 +4564,7 @@ function Fi(t, e = !0) {
|
|
|
4562
4564
|
}
|
|
4563
4565
|
];
|
|
4564
4566
|
}
|
|
4565
|
-
function
|
|
4567
|
+
function Bi(t, e = !0) {
|
|
4566
4568
|
return [
|
|
4567
4569
|
"publishTo",
|
|
4568
4570
|
{
|
|
@@ -4577,7 +4579,7 @@ function Wi(t, e = !0) {
|
|
|
4577
4579
|
}
|
|
4578
4580
|
];
|
|
4579
4581
|
}
|
|
4580
|
-
function
|
|
4582
|
+
function qi(t = !0) {
|
|
4581
4583
|
return [
|
|
4582
4584
|
"user",
|
|
4583
4585
|
{
|
|
@@ -4592,7 +4594,7 @@ function Bi(t = !0) {
|
|
|
4592
4594
|
}
|
|
4593
4595
|
];
|
|
4594
4596
|
}
|
|
4595
|
-
function
|
|
4597
|
+
function $i(t = !0) {
|
|
4596
4598
|
return [
|
|
4597
4599
|
"dateCreation",
|
|
4598
4600
|
{
|
|
@@ -4607,7 +4609,7 @@ function qi(t = !0) {
|
|
|
4607
4609
|
}
|
|
4608
4610
|
];
|
|
4609
4611
|
}
|
|
4610
|
-
function
|
|
4612
|
+
function zo(t, e, i) {
|
|
4611
4613
|
const { version: a, dateCreation: r } = t.manifest, n = t.typeModel, s = Object.assign(
|
|
4612
4614
|
{},
|
|
4613
4615
|
...xt.map((m) => ({
|
|
@@ -4637,16 +4639,16 @@ function Qo(t, e, i) {
|
|
|
4637
4639
|
fields: [],
|
|
4638
4640
|
views: s,
|
|
4639
4641
|
// TODO: weird cast
|
|
4640
|
-
installFor: t.accessRightObjectList ?
|
|
4642
|
+
installFor: t.accessRightObjectList ? qo(t.accessRightObjectList) : [],
|
|
4641
4643
|
audience: t.checkAccess === !1 ? nt.ALL : nt.CUSTOM
|
|
4642
4644
|
};
|
|
4643
|
-
|
|
4644
|
-
const g =
|
|
4645
|
+
$o(t, d, i), d.views = Ni(d.views, d.syncViewFieldOrder, d.fields);
|
|
4646
|
+
const g = Zo(t.idApp, e);
|
|
4645
4647
|
if (!g) return d;
|
|
4646
|
-
const y =
|
|
4648
|
+
const y = Vi(g);
|
|
4647
4649
|
return y && (d.inWorkVersion = y), d;
|
|
4648
4650
|
}
|
|
4649
|
-
function
|
|
4651
|
+
function Vi(t) {
|
|
4650
4652
|
if (!t.value) return;
|
|
4651
4653
|
const e = JSON.parse(t.value);
|
|
4652
4654
|
return e.studioVersion == 2 ? {
|
|
@@ -4659,28 +4661,28 @@ function $i(t) {
|
|
|
4659
4661
|
syncViewFieldOrder: e.syncViewFieldOrder,
|
|
4660
4662
|
audience: e.audience,
|
|
4661
4663
|
installFor: e.installFor
|
|
4662
|
-
} : { ...
|
|
4664
|
+
} : { ...Di(e), status: Ot(t), migratedFrom: 1 };
|
|
4663
4665
|
}
|
|
4664
4666
|
function Ot(t) {
|
|
4665
4667
|
return t.status === ct.installed ? t.suspended ? V.suspended : V.installed : V.draft;
|
|
4666
4668
|
}
|
|
4667
|
-
function
|
|
4669
|
+
function Zo(t, e) {
|
|
4668
4670
|
return e.find((a) => a.idApp === t && a.status === ct.saved);
|
|
4669
4671
|
}
|
|
4670
|
-
function
|
|
4672
|
+
function el(t, e) {
|
|
4671
4673
|
return !!e.find((i) => i.idApp === t && i.status === ct.installed);
|
|
4672
4674
|
}
|
|
4673
|
-
function
|
|
4675
|
+
function Hi(t, e) {
|
|
4674
4676
|
return t.map((a) => {
|
|
4675
4677
|
try {
|
|
4676
|
-
return a.status === ct.installed ?
|
|
4678
|
+
return a.status === ct.installed ? zo(a, t, e) : el(a.idApp, t) ? void 0 : Vi(a);
|
|
4677
4679
|
} catch (r) {
|
|
4678
4680
|
console.error(r);
|
|
4679
4681
|
return;
|
|
4680
4682
|
}
|
|
4681
4683
|
}).filter((a) => a !== void 0);
|
|
4682
4684
|
}
|
|
4683
|
-
const
|
|
4685
|
+
const tl = {
|
|
4684
4686
|
currentStudioApp: null,
|
|
4685
4687
|
fetchCurrentStudioAppStatus: "idle",
|
|
4686
4688
|
saveCurrentStudioAppStatus: "idle",
|
|
@@ -4689,7 +4691,7 @@ const el = {
|
|
|
4689
4691
|
}, He = u("studio/fetchCurrentStudioApp", async ({ idApp: t, status: e }, { extra: i, rejectWithValue: a, getState: r }) => {
|
|
4690
4692
|
const n = i.jApi, s = { error: 1, errorMsg: "Error fetching application" };
|
|
4691
4693
|
try {
|
|
4692
|
-
const l = (await n.application.studioGet(t, e)).result, d =
|
|
4694
|
+
const l = (await n.application.studioGet(t, e)).result, d = Hi([l], r())[0];
|
|
4693
4695
|
return d || a(s);
|
|
4694
4696
|
} catch {
|
|
4695
4697
|
return a(s);
|
|
@@ -4712,7 +4714,7 @@ const el = {
|
|
|
4712
4714
|
const n = e.jApi, s = { error: 1, errorMsg: "Error saving application" }, l = a().studio.currentStudioApp.currentStudioApp;
|
|
4713
4715
|
if (!l)
|
|
4714
4716
|
return i(s);
|
|
4715
|
-
const d =
|
|
4717
|
+
const d = vo(l);
|
|
4716
4718
|
try {
|
|
4717
4719
|
await n.application.studioInstall(d), r(f.actions.success({ label: "APPSTUDIO_AppItem_Installed" })), t && t();
|
|
4718
4720
|
return;
|
|
@@ -4721,7 +4723,7 @@ const el = {
|
|
|
4721
4723
|
}
|
|
4722
4724
|
}), lt = T({
|
|
4723
4725
|
name: "currentStudioApp",
|
|
4724
|
-
initialState:
|
|
4726
|
+
initialState: tl,
|
|
4725
4727
|
reducers: {
|
|
4726
4728
|
setCurrentApp: (t, e) => {
|
|
4727
4729
|
t.currentStudioApp = e.payload;
|
|
@@ -4755,8 +4757,8 @@ const el = {
|
|
|
4755
4757
|
});
|
|
4756
4758
|
}
|
|
4757
4759
|
});
|
|
4758
|
-
function
|
|
4759
|
-
const a = t.studioVersion !== 2 ? JSON.parse(JSON.stringify(
|
|
4760
|
+
function Gi(t, e, i) {
|
|
4761
|
+
const a = t.studioVersion !== 2 ? JSON.parse(JSON.stringify(Di(t))) : JSON.parse(JSON.stringify(t));
|
|
4760
4762
|
if (delete a.inWorkVersion, i)
|
|
4761
4763
|
a.manifest.version = a.manifest.version + 0.1;
|
|
4762
4764
|
else {
|
|
@@ -4773,7 +4775,7 @@ function Hi(t, e, i) {
|
|
|
4773
4775
|
}
|
|
4774
4776
|
return [a, a.idApp];
|
|
4775
4777
|
}
|
|
4776
|
-
function
|
|
4778
|
+
function il({ author: t, appName: e }) {
|
|
4777
4779
|
const i = M(), a = Object.assign(
|
|
4778
4780
|
{},
|
|
4779
4781
|
...xt.map((r) => {
|
|
@@ -4849,7 +4851,7 @@ function tl({ author: t, appName: e }) {
|
|
|
4849
4851
|
function re(t, e) {
|
|
4850
4852
|
return t.manifest.appName > e.manifest.appName ? 1 : -1;
|
|
4851
4853
|
}
|
|
4852
|
-
const
|
|
4854
|
+
const al = {
|
|
4853
4855
|
loadingStudioAppsList: "idle",
|
|
4854
4856
|
deleteStudioAppStatus: "idle",
|
|
4855
4857
|
suspendStudioAppStatus: "idle",
|
|
@@ -4865,7 +4867,7 @@ const il = {
|
|
|
4865
4867
|
const c = (await n.application.studioGet(m.idApp, m.status)).result, A = (await n.article.count(m.idApp)).result;
|
|
4866
4868
|
return { ...c, articlesCount: A };
|
|
4867
4869
|
})
|
|
4868
|
-
)).map((m) => m.status === "fulfilled" ? m.value : null).reduce((m, c) => c !== null ? m.concat([c]) : m, []), y =
|
|
4870
|
+
)).map((m) => m.status === "fulfilled" ? m.value : null).reduce((m, c) => c !== null ? m.concat([c]) : m, []), y = Hi(g, r());
|
|
4869
4871
|
return y.forEach(async (m) => {
|
|
4870
4872
|
m.fields = di(m.fields, l, t), m.inWorkVersion && (m.inWorkVersion.fields = di(m.inWorkVersion.fields, l, t));
|
|
4871
4873
|
}), y;
|
|
@@ -4882,7 +4884,7 @@ function di(t, e, i) {
|
|
|
4882
4884
|
});
|
|
4883
4885
|
}
|
|
4884
4886
|
const Ke = u("studio/createApp", async ({ appName: t, callback: e }, { extra: i, dispatch: a, rejectWithValue: r, getState: n }) => {
|
|
4885
|
-
const s = i.jApi, l = n().userCurrent?.uri, { newAppId: d, newStudioApp: g } =
|
|
4887
|
+
const s = i.jApi, l = n().userCurrent?.uri, { newAppId: d, newStudioApp: g } = il({ appName: t, ...l && { author: l } });
|
|
4886
4888
|
try {
|
|
4887
4889
|
return await s.application.studioSave(d, JSON.stringify(g), "saved"), a(f.actions.success({ label: "APPSTUDIO_StudioApp_Created" })), a(lt.actions.setCurrentApp(g)), e && e(), g;
|
|
4888
4890
|
} catch (y) {
|
|
@@ -4925,7 +4927,7 @@ const Ke = u("studio/createApp", async ({ appName: t, callback: e }, { extra: i,
|
|
|
4925
4927
|
l = l.inWorkVersion;
|
|
4926
4928
|
else
|
|
4927
4929
|
return r({ error: 1, errorMsg: "Error cloning application" });
|
|
4928
|
-
const d = a().userCurrent?.uri, [g, y] =
|
|
4930
|
+
const d = a().userCurrent?.uri, [g, y] = Gi(l, d), m = JSON.stringify(g);
|
|
4929
4931
|
try {
|
|
4930
4932
|
return await s.application.studioSave(y, m, "saved"), n(f.actions.success({ label: "APPSTUDIO_AppItem_Cloned" })), g;
|
|
4931
4933
|
} catch (c) {
|
|
@@ -4935,7 +4937,7 @@ const Ke = u("studio/createApp", async ({ appName: t, callback: e }, { extra: i,
|
|
|
4935
4937
|
const n = e.jApi, s = i().studio.studioAppsList.studioAppsList?.find((m) => m.idApp === t);
|
|
4936
4938
|
if (!s || ![D.INSTALLED, D.SUSPENDED].includes(s.status))
|
|
4937
4939
|
return a({ error: 1, errorMsg: "Error cloning application" });
|
|
4938
|
-
const l = i().userCurrent?.uri, [d, g] =
|
|
4940
|
+
const l = i().userCurrent?.uri, [d, g] = Gi(s, l, !0), y = JSON.stringify(d);
|
|
4939
4941
|
try {
|
|
4940
4942
|
return await n.application.studioSave(g, y, "saved"), r(f.actions.success({ label: "APPSTUDIO_AppItem_CreateInWork" })), d;
|
|
4941
4943
|
} catch (m) {
|
|
@@ -4943,7 +4945,7 @@ const Ke = u("studio/createApp", async ({ appName: t, callback: e }, { extra: i,
|
|
|
4943
4945
|
}
|
|
4944
4946
|
}), Rt = T({
|
|
4945
4947
|
name: "studioAppsList",
|
|
4946
|
-
initialState:
|
|
4948
|
+
initialState: al,
|
|
4947
4949
|
reducers: {
|
|
4948
4950
|
setAppsList: (t, e) => {
|
|
4949
4951
|
t.studioAppsList = [...e.payload].sort(re);
|
|
@@ -5006,21 +5008,21 @@ const Ke = u("studio/createApp", async ({ appName: t, callback: e }, { extra: i,
|
|
|
5006
5008
|
e.createNewStudioAppStatus === "pending" && (e.createNewStudioAppStatus = "idle");
|
|
5007
5009
|
});
|
|
5008
5010
|
}
|
|
5009
|
-
}),
|
|
5011
|
+
}), rl = O({
|
|
5010
5012
|
[Rt.name]: Rt.reducer,
|
|
5011
5013
|
[lt.name]: lt.reducer
|
|
5012
5014
|
});
|
|
5013
|
-
function
|
|
5015
|
+
function nl(t) {
|
|
5014
5016
|
return t.studio.studioAppsList;
|
|
5015
5017
|
}
|
|
5016
|
-
function
|
|
5018
|
+
function sl(t) {
|
|
5017
5019
|
return t.studio.currentStudioApp;
|
|
5018
5020
|
}
|
|
5019
|
-
const
|
|
5021
|
+
const ol = {
|
|
5020
5022
|
name: "studio",
|
|
5021
|
-
reducer:
|
|
5022
|
-
},
|
|
5023
|
-
slice:
|
|
5023
|
+
reducer: rl
|
|
5024
|
+
}, Hl = {
|
|
5025
|
+
slice: ol,
|
|
5024
5026
|
actions: {
|
|
5025
5027
|
...Rt.actions,
|
|
5026
5028
|
...lt.actions,
|
|
@@ -5036,11 +5038,11 @@ const sl = {
|
|
|
5036
5038
|
createInWorkStudioApp: et
|
|
5037
5039
|
},
|
|
5038
5040
|
selectors: {
|
|
5039
|
-
selectStudioAppsList:
|
|
5040
|
-
selectCurrentStudioApp:
|
|
5041
|
+
selectStudioAppsList: nl,
|
|
5042
|
+
selectCurrentStudioApp: sl
|
|
5041
5043
|
},
|
|
5042
5044
|
utils: {
|
|
5043
|
-
updateViewsFromFields:
|
|
5045
|
+
updateViewsFromFields: Ni,
|
|
5044
5046
|
generateNewFormField: Z
|
|
5045
5047
|
}
|
|
5046
5048
|
}, tt = u("wall/fetchWallFilters", async (t, { extra: e, rejectWithValue: i }) => {
|
|
@@ -5074,71 +5076,71 @@ const sl = {
|
|
|
5074
5076
|
e.loading = "idle";
|
|
5075
5077
|
});
|
|
5076
5078
|
}
|
|
5077
|
-
}),
|
|
5079
|
+
}), ll = (t) => t.wall, dl = (t) => t.wall.filters, cl = (t) => t.wall.taxonomies, Gl = {
|
|
5078
5080
|
slice: ui,
|
|
5079
5081
|
actions: { ...ui.actions, fetchWallFilters: tt },
|
|
5080
5082
|
selectors: {
|
|
5081
|
-
selectWall:
|
|
5082
|
-
selectWallFilters:
|
|
5083
|
-
selectWallFiltersTaxonomies:
|
|
5083
|
+
selectWall: ll,
|
|
5084
|
+
selectWallFilters: dl,
|
|
5085
|
+
selectWallFiltersTaxonomies: cl
|
|
5084
5086
|
}
|
|
5085
5087
|
};
|
|
5086
5088
|
export {
|
|
5087
5089
|
D as APP_STATUS_TYPE,
|
|
5088
5090
|
nt as AUDIENCE,
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5091
|
+
ml as AdminLogs,
|
|
5092
|
+
Al as Animations,
|
|
5093
|
+
Js as AppColumnsDefaultTypes,
|
|
5092
5094
|
S as AppFieldFormPropertyTypes,
|
|
5093
5095
|
jt as AppFormBannedFromViews,
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
+
Ys as AppFormFieldOnlyInView,
|
|
5097
|
+
Vl as AppFormFixedList,
|
|
5096
5098
|
o as AppFormItemTypes,
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5099
|
+
Ks as AppFormNoAsFieldList,
|
|
5100
|
+
Qs as AppFormNonPrimaryList,
|
|
5101
|
+
ki as AppFormPrimaryListValues,
|
|
5102
|
+
$l as AppFormUniqueListCheck,
|
|
5103
|
+
El as Application,
|
|
5104
|
+
gl as Article,
|
|
5105
|
+
Sl as AssetReservation,
|
|
5106
|
+
Cl as Bookmark,
|
|
5107
|
+
bl as Calendar,
|
|
5108
|
+
wl as Comment,
|
|
5109
|
+
Tl as ContentReport,
|
|
5110
|
+
Zs as Description,
|
|
5111
|
+
zs as Element,
|
|
5112
|
+
Gs as ExtraAppFieldsItemName,
|
|
5111
5113
|
p as ExtraAppFieldsItemViews,
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5114
|
+
Ll as ExtraBot,
|
|
5115
|
+
Il as Faq,
|
|
5116
|
+
vl as FileIntegrity,
|
|
5115
5117
|
Yt as FileIntegritySlice,
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
+
hl as Hook,
|
|
5119
|
+
Rl as MagicPad,
|
|
5118
5120
|
q as MapExtraFieldsWithView,
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5121
|
+
Dl as MediaLibrary,
|
|
5122
|
+
Gr as Model,
|
|
5123
|
+
Ml as Network,
|
|
5124
|
+
xl as Platform,
|
|
5123
5125
|
st as STUDIO_VIEW,
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
+
_l as Share,
|
|
5127
|
+
ql as SocialActions,
|
|
5126
5128
|
V as StatusType,
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5129
|
+
Pl as TVDisplay,
|
|
5130
|
+
mn as TeamWork,
|
|
5131
|
+
Ul as TinyMCE,
|
|
5130
5132
|
f as Toast,
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5133
|
+
Fl as UserCurrent,
|
|
5134
|
+
Gl as Wall,
|
|
5135
|
+
jl as WedocApp,
|
|
5136
|
+
Ws as Widget,
|
|
5137
|
+
Bl as WidgetEditor,
|
|
5138
|
+
ea as actions,
|
|
5139
|
+
fl as adminLogsReducer,
|
|
5138
5140
|
gi as adminLogsSlice,
|
|
5139
|
-
|
|
5141
|
+
yl as animationsReducer,
|
|
5140
5142
|
fi as animationsSlice,
|
|
5141
|
-
|
|
5143
|
+
Na as contentReportSlice,
|
|
5142
5144
|
Re as deleteQuarantine,
|
|
5143
5145
|
Xt as extraBotSlice,
|
|
5144
5146
|
J as fetchExtraBotListAll,
|
|
@@ -5155,27 +5157,27 @@ export {
|
|
|
5155
5157
|
me as fetchReports,
|
|
5156
5158
|
tt as fetchWallFilters,
|
|
5157
5159
|
ci as initialState,
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5160
|
+
Ol as jland,
|
|
5161
|
+
hr as magicPadSlice,
|
|
5162
|
+
kl as mediaLibraryReducer,
|
|
5163
|
+
Ci as mediaLibrarySlice,
|
|
5162
5164
|
Oe as releaseQuarantine,
|
|
5163
5165
|
Le as saveExtraBot,
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5166
|
+
nr as selectExtraBotListAll,
|
|
5167
|
+
sr as selectExtraBotListMines,
|
|
5168
|
+
fr as selectFileIntegrityAction,
|
|
5169
|
+
mr as selectFileIntegrityList,
|
|
5170
|
+
ll as selectWall,
|
|
5171
|
+
dl as selectWallFilters,
|
|
5172
|
+
cl as selectWallFiltersTaxonomies,
|
|
5171
5173
|
ii as slice,
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5174
|
+
Hl as studio,
|
|
5175
|
+
Li as teamWorkSlice,
|
|
5176
|
+
Nl as teamworkReducer,
|
|
5175
5177
|
we as toggleExtraBotActivation,
|
|
5176
|
-
|
|
5178
|
+
rr as updateListBotProperty,
|
|
5177
5179
|
ye as updateStatus,
|
|
5178
|
-
|
|
5180
|
+
Wl as updateWidgetContent,
|
|
5179
5181
|
xt as viewsList,
|
|
5180
5182
|
ui as wallSlice
|
|
5181
5183
|
};
|