jamespot-front-business 1.1.46 → 1.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs.js +209 -82
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +207 -83
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +177 -55
- package/package.json +2 -2
package/dist/cjs.js
CHANGED
|
@@ -125,7 +125,7 @@ const getAnimationsRTHandlers = function (dispatch) {
|
|
|
125
125
|
];
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
const initialState$
|
|
128
|
+
const initialState$m = {
|
|
129
129
|
animationConfiguration: null,
|
|
130
130
|
isActiveForCurrentUser: false,
|
|
131
131
|
isInitialized: false,
|
|
@@ -133,7 +133,7 @@ const initialState$l = {
|
|
|
133
133
|
};
|
|
134
134
|
const animationsSlice = toolkit.createSlice({
|
|
135
135
|
name: 'animations',
|
|
136
|
-
initialState: initialState$
|
|
136
|
+
initialState: initialState$m,
|
|
137
137
|
reducers: {},
|
|
138
138
|
extraReducers: (builder) => {
|
|
139
139
|
builder.addCase(fetchCurrentAnimation.fulfilled, (state, action) => {
|
|
@@ -245,7 +245,7 @@ const Application = {
|
|
|
245
245
|
selectors: selectors$1,
|
|
246
246
|
};
|
|
247
247
|
|
|
248
|
-
const initialState$
|
|
248
|
+
const initialState$l = {
|
|
249
249
|
entities: [],
|
|
250
250
|
loading: 'idle',
|
|
251
251
|
nbResults: 0,
|
|
@@ -256,7 +256,7 @@ const fetchBookableAsset = toolkit.createAsyncThunk('BookableAsset/fetchBookable
|
|
|
256
256
|
}));
|
|
257
257
|
const BookableAssetSlice = toolkit.createSlice({
|
|
258
258
|
name: 'bookableAsset',
|
|
259
|
-
initialState: initialState$
|
|
259
|
+
initialState: initialState$l,
|
|
260
260
|
reducers: {},
|
|
261
261
|
extraReducers: (builder) => {
|
|
262
262
|
builder
|
|
@@ -277,7 +277,7 @@ const BookableAssetSlice = toolkit.createSlice({
|
|
|
277
277
|
const fetchConfiguration = toolkit.createAsyncThunk('AssetReservation/configuration', (_, { extra }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
278
278
|
return yield extra.jApi.assetReservation.configuration();
|
|
279
279
|
}));
|
|
280
|
-
const initialState$
|
|
280
|
+
const initialState$k = {
|
|
281
281
|
description: '',
|
|
282
282
|
right: {
|
|
283
283
|
manage: false,
|
|
@@ -291,7 +291,7 @@ const initialState$j = {
|
|
|
291
291
|
};
|
|
292
292
|
const AssetReservationConfigurationSlice = toolkit.createSlice({
|
|
293
293
|
name: 'configuration',
|
|
294
|
-
initialState: initialState$
|
|
294
|
+
initialState: initialState$k,
|
|
295
295
|
reducers: {},
|
|
296
296
|
extraReducers: (builder) => {
|
|
297
297
|
builder
|
|
@@ -312,7 +312,7 @@ const initForm = {
|
|
|
312
312
|
hourStart: '',
|
|
313
313
|
hourEnd: '',
|
|
314
314
|
};
|
|
315
|
-
const initialState$
|
|
315
|
+
const initialState$j = {
|
|
316
316
|
entities: [],
|
|
317
317
|
loading: 'idle',
|
|
318
318
|
nbResults: 0,
|
|
@@ -324,7 +324,7 @@ const fetchReservation = toolkit.createAsyncThunk('Reservation/fetchReservation'
|
|
|
324
324
|
}));
|
|
325
325
|
const ReservationSlice = toolkit.createSlice({
|
|
326
326
|
name: 'reservation',
|
|
327
|
-
initialState: initialState$
|
|
327
|
+
initialState: initialState$j,
|
|
328
328
|
reducers: {
|
|
329
329
|
setForm: (state, action) => {
|
|
330
330
|
state.form = action.payload;
|
|
@@ -380,7 +380,7 @@ const AssetReservation = {
|
|
|
380
380
|
},
|
|
381
381
|
};
|
|
382
382
|
|
|
383
|
-
const initialState$
|
|
383
|
+
const initialState$i = {
|
|
384
384
|
loading: 'idle',
|
|
385
385
|
comments: [],
|
|
386
386
|
};
|
|
@@ -397,7 +397,7 @@ const fetchComments = toolkit.createAsyncThunk('commentList/fetchCommentList', (
|
|
|
397
397
|
}));
|
|
398
398
|
const CommentListSlice = toolkit.createSlice({
|
|
399
399
|
name: 'commentList',
|
|
400
|
-
initialState: initialState$
|
|
400
|
+
initialState: initialState$i,
|
|
401
401
|
reducers: {
|
|
402
402
|
discardComments: (state, action) => {
|
|
403
403
|
state.comments = state.comments.filter((c) => c.idArticle !== action.payload.idArticle);
|
|
@@ -488,7 +488,7 @@ const Comment = {
|
|
|
488
488
|
getCommentsLikeRTHandlers,
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
-
const initialState$
|
|
491
|
+
const initialState$h = {
|
|
492
492
|
bookmarks: [],
|
|
493
493
|
loading: 'idle',
|
|
494
494
|
status: undefined,
|
|
@@ -551,7 +551,7 @@ const deleteBookmark = toolkit.createAsyncThunk('bookmarkList/deleteBookmark', (
|
|
|
551
551
|
}));
|
|
552
552
|
const BookmarkListSlice = toolkit.createSlice({
|
|
553
553
|
name: 'bookmarkList',
|
|
554
|
-
initialState: initialState$
|
|
554
|
+
initialState: initialState$h,
|
|
555
555
|
reducers: {
|
|
556
556
|
resetAddBookmarkStatus: (state, action) => {
|
|
557
557
|
if (state.add[action.payload]) {
|
|
@@ -714,7 +714,7 @@ const getBookmarkRTHandlers = function (dispatch) {
|
|
|
714
714
|
];
|
|
715
715
|
};
|
|
716
716
|
|
|
717
|
-
const initialState$
|
|
717
|
+
const initialState$g = {
|
|
718
718
|
bookmark: undefined,
|
|
719
719
|
status: undefined,
|
|
720
720
|
loading: 'idle',
|
|
@@ -736,7 +736,7 @@ const editBookmark = toolkit.createAsyncThunk('bookmarkEdit/editBookmark', (book
|
|
|
736
736
|
}));
|
|
737
737
|
const BookmarkEditSlice = toolkit.createSlice({
|
|
738
738
|
name: 'bookmarkEdit',
|
|
739
|
-
initialState: initialState$
|
|
739
|
+
initialState: initialState$g,
|
|
740
740
|
reducers: {
|
|
741
741
|
setEditBookmark: (state, action) => {
|
|
742
742
|
state.bookmark = Object.assign({}, action.payload);
|
|
@@ -789,7 +789,7 @@ const Bookmark = {
|
|
|
789
789
|
getRTHandlers: getBookmarkRTHandlers,
|
|
790
790
|
};
|
|
791
791
|
|
|
792
|
-
const initialState$
|
|
792
|
+
const initialState$f = {
|
|
793
793
|
loading: 'idle',
|
|
794
794
|
access: { createCategory: false },
|
|
795
795
|
};
|
|
@@ -818,7 +818,7 @@ const fetchFaqConfig = toolkit.createAsyncThunk('faqConfig/fetch', () => __await
|
|
|
818
818
|
}));
|
|
819
819
|
const FaqConfigSlice = toolkit.createSlice({
|
|
820
820
|
name: 'config',
|
|
821
|
-
initialState: initialState$
|
|
821
|
+
initialState: initialState$f,
|
|
822
822
|
reducers: {},
|
|
823
823
|
extraReducers: (builder) => {
|
|
824
824
|
builder
|
|
@@ -853,7 +853,7 @@ const FaqConfigSlice = toolkit.createSlice({
|
|
|
853
853
|
},
|
|
854
854
|
});
|
|
855
855
|
|
|
856
|
-
const initialState$
|
|
856
|
+
const initialState$e = {
|
|
857
857
|
loading: 'idle',
|
|
858
858
|
categories: null,
|
|
859
859
|
};
|
|
@@ -865,7 +865,7 @@ const fetchFaqCategories = toolkit.createAsyncThunk('faqCategories/fetch', () =>
|
|
|
865
865
|
}));
|
|
866
866
|
const FaqCategoriesSlice = toolkit.createSlice({
|
|
867
867
|
name: 'categories',
|
|
868
|
-
initialState: initialState$
|
|
868
|
+
initialState: initialState$e,
|
|
869
869
|
reducers: {},
|
|
870
870
|
extraReducers: (builder) => {
|
|
871
871
|
builder
|
|
@@ -1173,7 +1173,7 @@ const initialMap = {
|
|
|
1173
1173
|
illustration: '',
|
|
1174
1174
|
assignLicense: false,
|
|
1175
1175
|
};
|
|
1176
|
-
const initialState$
|
|
1176
|
+
const initialState$d = {
|
|
1177
1177
|
map: Object.assign({}, initialMap),
|
|
1178
1178
|
loading: 'idle',
|
|
1179
1179
|
status: undefined,
|
|
@@ -1217,13 +1217,13 @@ const createMap = toolkit.createAsyncThunk('mapCreate/create', ({ map, jlandUrlB
|
|
|
1217
1217
|
}));
|
|
1218
1218
|
const MapCreateSlice = toolkit.createSlice({
|
|
1219
1219
|
name: 'mapCreate',
|
|
1220
|
-
initialState: initialState$
|
|
1220
|
+
initialState: initialState$d,
|
|
1221
1221
|
reducers: {
|
|
1222
1222
|
setMap: (state, action) => {
|
|
1223
1223
|
state.map = action.payload;
|
|
1224
1224
|
},
|
|
1225
1225
|
resetCreateMapState: () => {
|
|
1226
|
-
return initialState$
|
|
1226
|
+
return initialState$d;
|
|
1227
1227
|
},
|
|
1228
1228
|
},
|
|
1229
1229
|
extraReducers: (builder) => {
|
|
@@ -1277,6 +1277,104 @@ const jland = {
|
|
|
1277
1277
|
utils: { buildUrlToJland },
|
|
1278
1278
|
};
|
|
1279
1279
|
|
|
1280
|
+
const initialState$c = {
|
|
1281
|
+
loading: 'idle',
|
|
1282
|
+
pads: [],
|
|
1283
|
+
query: '',
|
|
1284
|
+
page: 1,
|
|
1285
|
+
tab: 'all-pads',
|
|
1286
|
+
filters: [],
|
|
1287
|
+
orders: [],
|
|
1288
|
+
limit: 10,
|
|
1289
|
+
nbResults: 0,
|
|
1290
|
+
};
|
|
1291
|
+
const magicPadSlice = toolkit.createSlice({
|
|
1292
|
+
name: 'magicPad',
|
|
1293
|
+
initialState: initialState$c,
|
|
1294
|
+
reducers: {
|
|
1295
|
+
setTab: (state, action) => {
|
|
1296
|
+
state.tab = action.payload;
|
|
1297
|
+
state.page = 1;
|
|
1298
|
+
state.orders = [];
|
|
1299
|
+
state.filters = [];
|
|
1300
|
+
},
|
|
1301
|
+
setQuery: (state, action) => {
|
|
1302
|
+
state.query = action.payload;
|
|
1303
|
+
state.page = 1;
|
|
1304
|
+
state.orders = [];
|
|
1305
|
+
state.filters = [];
|
|
1306
|
+
},
|
|
1307
|
+
setPage: (state, action) => {
|
|
1308
|
+
state.page = action.payload;
|
|
1309
|
+
},
|
|
1310
|
+
setFilters: (state, action) => {
|
|
1311
|
+
state.filters = action.payload;
|
|
1312
|
+
},
|
|
1313
|
+
setOrders: (state, action) => {
|
|
1314
|
+
state.orders = action.payload;
|
|
1315
|
+
},
|
|
1316
|
+
},
|
|
1317
|
+
extraReducers: (builder) => {
|
|
1318
|
+
builder
|
|
1319
|
+
.addCase(fetchPads.pending, (state) => {
|
|
1320
|
+
if (state.loading === 'idle')
|
|
1321
|
+
state.loading = 'pending';
|
|
1322
|
+
})
|
|
1323
|
+
.addCase(fetchPads.fulfilled, (state, action) => {
|
|
1324
|
+
if (state.loading == 'pending')
|
|
1325
|
+
state.loading = 'idle';
|
|
1326
|
+
state.pads = action.payload.data;
|
|
1327
|
+
state.nbResults = action.payload.cnt;
|
|
1328
|
+
return state;
|
|
1329
|
+
})
|
|
1330
|
+
.addCase(fetchPads.rejected, (state) => {
|
|
1331
|
+
if (state.loading == 'pending')
|
|
1332
|
+
state.loading = 'idle';
|
|
1333
|
+
});
|
|
1334
|
+
},
|
|
1335
|
+
});
|
|
1336
|
+
const fetchPads = toolkit.createAsyncThunk('magicPad/fetchPads', (params, { extra, rejectWithValue, dispatch, getState }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1337
|
+
var _a;
|
|
1338
|
+
try {
|
|
1339
|
+
const state = getState().magicPad;
|
|
1340
|
+
const page = state.page;
|
|
1341
|
+
const query = state.query;
|
|
1342
|
+
const filters = [
|
|
1343
|
+
...state.filters,
|
|
1344
|
+
...(state.tab === 'my-pads'
|
|
1345
|
+
? [
|
|
1346
|
+
{
|
|
1347
|
+
name: 'idUser',
|
|
1348
|
+
value: params.idUserLogged,
|
|
1349
|
+
},
|
|
1350
|
+
]
|
|
1351
|
+
: []),
|
|
1352
|
+
];
|
|
1353
|
+
const orders = state.orders.length > 0 ? state.orders : [{ name: 'dateCreation', sort: 'DESC' }];
|
|
1354
|
+
return (yield extra.jApi.article.list({
|
|
1355
|
+
type: 'magicpad',
|
|
1356
|
+
limit: state.limit,
|
|
1357
|
+
format: 'raw-list',
|
|
1358
|
+
page,
|
|
1359
|
+
query,
|
|
1360
|
+
orders,
|
|
1361
|
+
filters,
|
|
1362
|
+
})).result;
|
|
1363
|
+
}
|
|
1364
|
+
catch (e) {
|
|
1365
|
+
dispatch(Toast.actions.error({ label: (_a = e.errorMsg) !== null && _a !== void 0 ? _a : 'GLOBAL_Technical_Error' }));
|
|
1366
|
+
return rejectWithValue({ error: 1, errorMsg: 'Cannot fetch pads' });
|
|
1367
|
+
}
|
|
1368
|
+
}));
|
|
1369
|
+
const selectMagicPad = (state) => state.magicPad;
|
|
1370
|
+
const MagicPad = {
|
|
1371
|
+
slice: magicPadSlice,
|
|
1372
|
+
actions: {
|
|
1373
|
+
fetchPads,
|
|
1374
|
+
},
|
|
1375
|
+
selectors: { selectMagicPad },
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1280
1378
|
const MediaLibraryAppConst = {
|
|
1281
1379
|
route: 'media-library',
|
|
1282
1380
|
moduleName: 'MediaLibraryHook',
|
|
@@ -1832,6 +1930,22 @@ const UserCurrent = {
|
|
|
1832
1930
|
utils: { isAdmin, isLogged },
|
|
1833
1931
|
};
|
|
1834
1932
|
|
|
1933
|
+
const widgetApiDefinition = {
|
|
1934
|
+
label: 'WIDGET_Api',
|
|
1935
|
+
description: 'WIDGET_Api_Description',
|
|
1936
|
+
name: 'widget-api',
|
|
1937
|
+
img: '/img/fast-intranet/widget-text.png',
|
|
1938
|
+
available: true,
|
|
1939
|
+
panel: {
|
|
1940
|
+
useWrapper: false,
|
|
1941
|
+
useEditor: true,
|
|
1942
|
+
useWidgets: false,
|
|
1943
|
+
},
|
|
1944
|
+
};
|
|
1945
|
+
const widgetApiContent = {
|
|
1946
|
+
url: '',
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1835
1949
|
const widgetArticleAttachmentDefinition = {
|
|
1836
1950
|
label: 'WIDGET_Article_Attachment',
|
|
1837
1951
|
description: 'WIDGET_Article_Attachment_Description',
|
|
@@ -1848,6 +1962,33 @@ const widgetArticleAttachmentContent = {
|
|
|
1848
1962
|
files: [],
|
|
1849
1963
|
};
|
|
1850
1964
|
|
|
1965
|
+
const widgetArticleButtonDefinition = {
|
|
1966
|
+
label: 'WIDGET_Button',
|
|
1967
|
+
description: 'WIDGET_Button_Description',
|
|
1968
|
+
name: 'widget-article-button',
|
|
1969
|
+
img: '/img/article-widget-thumbnail/widget_thumbnail_button.png',
|
|
1970
|
+
available: true,
|
|
1971
|
+
panel: {
|
|
1972
|
+
useWrapper: false,
|
|
1973
|
+
useEditor: true,
|
|
1974
|
+
useWidgets: false,
|
|
1975
|
+
},
|
|
1976
|
+
};
|
|
1977
|
+
const widgetArticleButtonContent = {
|
|
1978
|
+
text: '',
|
|
1979
|
+
openingType: 'link',
|
|
1980
|
+
openingTypeLink: {
|
|
1981
|
+
url: '',
|
|
1982
|
+
target: '_blank',
|
|
1983
|
+
},
|
|
1984
|
+
variant: 'contained',
|
|
1985
|
+
fontSize: '14',
|
|
1986
|
+
color: '#fff',
|
|
1987
|
+
backgroundColor: '#4dbf96',
|
|
1988
|
+
buttonSize: 'lg',
|
|
1989
|
+
borderRadius: '4',
|
|
1990
|
+
};
|
|
1991
|
+
|
|
1851
1992
|
const widgetArticleGalleryDefinition = {
|
|
1852
1993
|
label: 'WIDGET_Article_Gallery',
|
|
1853
1994
|
description: 'WIDGET_Article_Gallery_Description',
|
|
@@ -1880,11 +2021,11 @@ const widgetArticleImageDefinition = {
|
|
|
1880
2021
|
};
|
|
1881
2022
|
const widgetArticleImageContent = {};
|
|
1882
2023
|
|
|
1883
|
-
const
|
|
1884
|
-
label: '
|
|
1885
|
-
description: '
|
|
1886
|
-
name: 'widget-article-
|
|
1887
|
-
img: '/img/article-widget-thumbnail/
|
|
2024
|
+
const widgetArticleSliderDefinition = {
|
|
2025
|
+
label: 'WIDGET_Slider',
|
|
2026
|
+
description: 'WIDGET_Slider_Description',
|
|
2027
|
+
name: 'widget-article-slider',
|
|
2028
|
+
img: '/img/article-widget-thumbnail/widget_thumbnail_slider.png',
|
|
1888
2029
|
available: true,
|
|
1889
2030
|
panel: {
|
|
1890
2031
|
useWrapper: false,
|
|
@@ -1892,19 +2033,12 @@ const widgetArticleButtonDefinition = {
|
|
|
1892
2033
|
useWidgets: false,
|
|
1893
2034
|
},
|
|
1894
2035
|
};
|
|
1895
|
-
const
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
},
|
|
1902
|
-
variant: 'contained',
|
|
1903
|
-
fontSize: '14',
|
|
1904
|
-
color: '#fff',
|
|
1905
|
-
backgroundColor: '#4dbf96',
|
|
1906
|
-
buttonSize: 'lg',
|
|
1907
|
-
borderRadius: '4',
|
|
2036
|
+
const widgetArticleSliderContent = {
|
|
2037
|
+
slides: [],
|
|
2038
|
+
maxWidth: 800,
|
|
2039
|
+
loop: false,
|
|
2040
|
+
useDots: true,
|
|
2041
|
+
startAt: 0,
|
|
1908
2042
|
};
|
|
1909
2043
|
|
|
1910
2044
|
const widgetArticleTextDefinition = {
|
|
@@ -1943,27 +2077,34 @@ const widgetArticleTitleContent = {
|
|
|
1943
2077
|
backgroundColor: 'transparent',
|
|
1944
2078
|
};
|
|
1945
2079
|
|
|
1946
|
-
const
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
useWidgets: false,
|
|
1956
|
-
},
|
|
1957
|
-
};
|
|
1958
|
-
const widgetApiContent = {
|
|
1959
|
-
url: '',
|
|
1960
|
-
};
|
|
2080
|
+
const WIDGET_ARTICLE_TITLE = 'widget-article-title';
|
|
2081
|
+
const WIDGET_ARTICLE_TEXT = 'widget-article-text';
|
|
2082
|
+
const WIDGET_ARTICLE_IMAGE = 'widget-article-image';
|
|
2083
|
+
const WIDGET_ARTICLE_BUTTON = 'widget-article-button';
|
|
2084
|
+
const WIDGET_ARTICLE_GALLERY = 'widget-article-gallery';
|
|
2085
|
+
const WIDGET_ARTICLE_ATTACHMENT = 'widget-article-attachment';
|
|
2086
|
+
const WIDGET_CHECK_LIST = 'widget-check-list';
|
|
2087
|
+
const WIDGET_CHECK_LIST_LABEL = 'WIDGET_Check_List';
|
|
2088
|
+
const WIDGET_CHECK_LIST_DESCRIPTION = 'WIDGET_Check_List_Description';
|
|
1961
2089
|
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
2090
|
+
var WIDGETS = /*#__PURE__*/Object.freeze({
|
|
2091
|
+
__proto__: null,
|
|
2092
|
+
WIDGET_ARTICLE_TITLE: WIDGET_ARTICLE_TITLE,
|
|
2093
|
+
WIDGET_ARTICLE_TEXT: WIDGET_ARTICLE_TEXT,
|
|
2094
|
+
WIDGET_ARTICLE_IMAGE: WIDGET_ARTICLE_IMAGE,
|
|
2095
|
+
WIDGET_ARTICLE_BUTTON: WIDGET_ARTICLE_BUTTON,
|
|
2096
|
+
WIDGET_ARTICLE_GALLERY: WIDGET_ARTICLE_GALLERY,
|
|
2097
|
+
WIDGET_ARTICLE_ATTACHMENT: WIDGET_ARTICLE_ATTACHMENT,
|
|
2098
|
+
WIDGET_CHECK_LIST: WIDGET_CHECK_LIST,
|
|
2099
|
+
WIDGET_CHECK_LIST_LABEL: WIDGET_CHECK_LIST_LABEL,
|
|
2100
|
+
WIDGET_CHECK_LIST_DESCRIPTION: WIDGET_CHECK_LIST_DESCRIPTION
|
|
2101
|
+
});
|
|
2102
|
+
|
|
2103
|
+
const widgetCheckListDefinition = {
|
|
2104
|
+
label: WIDGET_CHECK_LIST_LABEL,
|
|
2105
|
+
description: WIDGET_CHECK_LIST_DESCRIPTION,
|
|
2106
|
+
name: WIDGET_CHECK_LIST,
|
|
2107
|
+
img: '/img/fast-intranet/widget-check-list.png',
|
|
1967
2108
|
available: true,
|
|
1968
2109
|
panel: {
|
|
1969
2110
|
useWrapper: false,
|
|
@@ -1971,12 +2112,8 @@ const widgetArticleSliderDefinition = {
|
|
|
1971
2112
|
useWidgets: false,
|
|
1972
2113
|
},
|
|
1973
2114
|
};
|
|
1974
|
-
const
|
|
1975
|
-
|
|
1976
|
-
maxWidth: 800,
|
|
1977
|
-
loop: false,
|
|
1978
|
-
useDots: true,
|
|
1979
|
-
startAt: 0,
|
|
2115
|
+
const widgetCheckListContent = {
|
|
2116
|
+
arr: [],
|
|
1980
2117
|
};
|
|
1981
2118
|
|
|
1982
2119
|
function uniqid() {
|
|
@@ -2019,26 +2156,11 @@ function content(name) {
|
|
|
2019
2156
|
return Object.assign({}, widgetArticleImageContent);
|
|
2020
2157
|
case 'widget-article-text':
|
|
2021
2158
|
return Object.assign({}, widgetArticleTextContent);
|
|
2159
|
+
case 'widget-check-list':
|
|
2160
|
+
return Object.assign({}, widgetCheckListContent);
|
|
2022
2161
|
}
|
|
2023
2162
|
}
|
|
2024
2163
|
|
|
2025
|
-
const WIDGET_ARTICLE_TITLE = 'widget-article-title';
|
|
2026
|
-
const WIDGET_ARTICLE_TEXT = 'widget-article-text';
|
|
2027
|
-
const WIDGET_ARTICLE_IMAGE = 'widget-article-image';
|
|
2028
|
-
const WIDGET_ARTICLE_BUTTON = 'widget-article-button';
|
|
2029
|
-
const WIDGET_ARTICLE_GALLERY = 'widget-article-gallery';
|
|
2030
|
-
const WIDGET_ARTICLE_ATTACHMENT = 'widget-article-attachment';
|
|
2031
|
-
|
|
2032
|
-
var WIDGETS = /*#__PURE__*/Object.freeze({
|
|
2033
|
-
__proto__: null,
|
|
2034
|
-
WIDGET_ARTICLE_TITLE: WIDGET_ARTICLE_TITLE,
|
|
2035
|
-
WIDGET_ARTICLE_TEXT: WIDGET_ARTICLE_TEXT,
|
|
2036
|
-
WIDGET_ARTICLE_IMAGE: WIDGET_ARTICLE_IMAGE,
|
|
2037
|
-
WIDGET_ARTICLE_BUTTON: WIDGET_ARTICLE_BUTTON,
|
|
2038
|
-
WIDGET_ARTICLE_GALLERY: WIDGET_ARTICLE_GALLERY,
|
|
2039
|
-
WIDGET_ARTICLE_ATTACHMENT: WIDGET_ARTICLE_ATTACHMENT
|
|
2040
|
-
});
|
|
2041
|
-
|
|
2042
2164
|
function widgetDefinition(name) {
|
|
2043
2165
|
switch (name) {
|
|
2044
2166
|
default:
|
|
@@ -2059,6 +2181,8 @@ function widgetDefinition(name) {
|
|
|
2059
2181
|
return widgetApiDefinition;
|
|
2060
2182
|
case 'widget-article-button':
|
|
2061
2183
|
return widgetArticleButtonDefinition;
|
|
2184
|
+
case 'widget-check-list':
|
|
2185
|
+
return widgetCheckListDefinition;
|
|
2062
2186
|
}
|
|
2063
2187
|
}
|
|
2064
2188
|
|
|
@@ -3685,6 +3809,7 @@ exports.Faq = Faq;
|
|
|
3685
3809
|
exports.Hook = Hook;
|
|
3686
3810
|
exports.MODE_EDIT = MODE_EDIT;
|
|
3687
3811
|
exports.MODE_VIEW = MODE_VIEW;
|
|
3812
|
+
exports.MagicPad = MagicPad;
|
|
3688
3813
|
exports.MapExtraFieldsWithView = MapExtraFieldsWithView;
|
|
3689
3814
|
exports.MediaLibrary = MediaLibrary;
|
|
3690
3815
|
exports.Model = Model;
|
|
@@ -3708,7 +3833,9 @@ exports.fetchCurrentAnimationApp = fetchCurrentAnimationApp;
|
|
|
3708
3833
|
exports.fetchMediaLibraryConfig = fetchMediaLibraryConfig;
|
|
3709
3834
|
exports.fetchMediaLibraryFolders = fetchMediaLibraryFolders;
|
|
3710
3835
|
exports.fetchMediaLibraryUnclassifiedFiles = fetchMediaLibraryUnclassifiedFiles;
|
|
3836
|
+
exports.fetchPads = fetchPads;
|
|
3711
3837
|
exports.jland = jland;
|
|
3838
|
+
exports.magicPadSlice = magicPadSlice;
|
|
3712
3839
|
exports.mediaLibraryReducer = mediaLibraryReducer;
|
|
3713
3840
|
exports.mediaLibrarySlice = mediaLibrarySlice;
|
|
3714
3841
|
exports.saveCurrentAnimation = saveCurrentAnimation;
|