jamespot-front-business 1.1.26 → 1.1.27

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 CHANGED
@@ -67,7 +67,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
67
67
  });
68
68
  }
69
69
 
70
- const initialState$e = {
70
+ const initialState$f = {
71
71
  entities: [],
72
72
  loading: 'idle',
73
73
  nbResults: 0,
@@ -78,7 +78,7 @@ const fetchBookableAsset = toolkit.createAsyncThunk('BookableAsset/fetchBookable
78
78
  }));
79
79
  const BookableAssetSlice = toolkit.createSlice({
80
80
  name: 'bookableAsset',
81
- initialState: initialState$e,
81
+ initialState: initialState$f,
82
82
  reducers: {},
83
83
  extraReducers: (builder) => {
84
84
  builder
@@ -99,7 +99,7 @@ const BookableAssetSlice = toolkit.createSlice({
99
99
  const fetchConfiguration = toolkit.createAsyncThunk('AssetReservation/configuration', (_, { extra }) => __awaiter(void 0, void 0, void 0, function* () {
100
100
  return yield extra.jApi.assetReservation.configuration();
101
101
  }));
102
- const initialState$d = {
102
+ const initialState$e = {
103
103
  description: '',
104
104
  right: {
105
105
  manage: false,
@@ -113,7 +113,7 @@ const initialState$d = {
113
113
  };
114
114
  const AssetReservationConfigurationSlice = toolkit.createSlice({
115
115
  name: 'configuration',
116
- initialState: initialState$d,
116
+ initialState: initialState$e,
117
117
  reducers: {},
118
118
  extraReducers: (builder) => {
119
119
  builder
@@ -134,7 +134,7 @@ const initForm = {
134
134
  hourStart: '',
135
135
  hourEnd: '',
136
136
  };
137
- const initialState$c = {
137
+ const initialState$d = {
138
138
  entities: [],
139
139
  loading: 'idle',
140
140
  nbResults: 0,
@@ -146,7 +146,7 @@ const fetchReservation = toolkit.createAsyncThunk('Reservation/fetchReservation'
146
146
  }));
147
147
  const ReservationSlice = toolkit.createSlice({
148
148
  name: 'reservation',
149
- initialState: initialState$c,
149
+ initialState: initialState$d,
150
150
  reducers: {
151
151
  setForm: (state, action) => {
152
152
  state.form = action.payload;
@@ -239,7 +239,7 @@ const Toast = {
239
239
  selectors: selectors$1,
240
240
  };
241
241
 
242
- const initialState$b = {
242
+ const initialState$c = {
243
243
  bookmarks: [],
244
244
  loading: 'idle',
245
245
  status: undefined,
@@ -302,7 +302,7 @@ const deleteBookmark = toolkit.createAsyncThunk('bookmarkList/deleteBookmark', (
302
302
  }));
303
303
  const BookmarkListSlice = toolkit.createSlice({
304
304
  name: 'bookmarkList',
305
- initialState: initialState$b,
305
+ initialState: initialState$c,
306
306
  reducers: {
307
307
  resetAddBookmarkStatus: (state, action) => {
308
308
  if (state.add[action.payload]) {
@@ -465,7 +465,7 @@ const getRTHandlers = function (dispatch) {
465
465
  ];
466
466
  };
467
467
 
468
- const initialState$a = {
468
+ const initialState$b = {
469
469
  bookmark: undefined,
470
470
  status: undefined,
471
471
  loading: 'idle',
@@ -487,7 +487,7 @@ const editBookmark = toolkit.createAsyncThunk('bookmarkEdit/editBookmark', (book
487
487
  }));
488
488
  const BookmarkEditSlice = toolkit.createSlice({
489
489
  name: 'bookmarkEdit',
490
- initialState: initialState$a,
490
+ initialState: initialState$b,
491
491
  reducers: {
492
492
  setEditBookmark: (state, action) => {
493
493
  state.bookmark = Object.assign({}, action.payload);
@@ -540,7 +540,7 @@ const Bookmark = {
540
540
  getRTHandlers: getRTHandlers,
541
541
  };
542
542
 
543
- const initialState$9 = {
543
+ const initialState$a = {
544
544
  loading: 'idle',
545
545
  access: { createCategory: false },
546
546
  };
@@ -568,7 +568,7 @@ const fetchFaqConfig = toolkit.createAsyncThunk('faqConfig/fetch', () => __await
568
568
  }));
569
569
  const FaqConfigSlice = toolkit.createSlice({
570
570
  name: 'config',
571
- initialState: initialState$9,
571
+ initialState: initialState$a,
572
572
  reducers: {},
573
573
  extraReducers: (builder) => {
574
574
  builder
@@ -600,7 +600,7 @@ const FaqConfigSlice = toolkit.createSlice({
600
600
  },
601
601
  });
602
602
 
603
- const initialState$8 = {
603
+ const initialState$9 = {
604
604
  loading: 'idle',
605
605
  categories: null,
606
606
  };
@@ -612,7 +612,7 @@ const fetchFaqCategories = toolkit.createAsyncThunk('faqCategories/fetch', () =>
612
612
  }));
613
613
  const FaqCategoriesSlice = toolkit.createSlice({
614
614
  name: 'categories',
615
- initialState: initialState$8,
615
+ initialState: initialState$9,
616
616
  reducers: {},
617
617
  extraReducers: (builder) => {
618
618
  builder
@@ -633,13 +633,13 @@ const FaqCategoriesSlice = toolkit.createSlice({
633
633
  },
634
634
  });
635
635
 
636
- const joinedReducers$3 = toolkit.combineReducers({
636
+ const joinedReducers$4 = toolkit.combineReducers({
637
637
  [FaqConfigSlice.name]: FaqConfigSlice.reducer,
638
638
  [FaqCategoriesSlice.name]: FaqCategoriesSlice.reducer,
639
639
  });
640
640
  const FaqSlice = {
641
641
  name: 'faq',
642
- reducer: joinedReducers$3,
642
+ reducer: joinedReducers$4,
643
643
  };
644
644
  const selectFaqConfig = (state) => {
645
645
  return state.faq.config;
@@ -894,7 +894,7 @@ const initialMap = {
894
894
  illustration: '',
895
895
  assignLicense: false,
896
896
  };
897
- const initialState$7 = {
897
+ const initialState$8 = {
898
898
  map: Object.assign({}, initialMap),
899
899
  loading: 'idle',
900
900
  status: undefined,
@@ -938,13 +938,13 @@ const createMap = toolkit.createAsyncThunk('mapCreate/create', ({ map, jlandUrlB
938
938
  }));
939
939
  const MapCreateSlice = toolkit.createSlice({
940
940
  name: 'mapCreate',
941
- initialState: initialState$7,
941
+ initialState: initialState$8,
942
942
  reducers: {
943
943
  setMap: (state, action) => {
944
944
  state.map = action.payload;
945
945
  },
946
946
  resetCreateMapState: () => {
947
- return initialState$7;
947
+ return initialState$8;
948
948
  },
949
949
  },
950
950
  extraReducers: (builder) => {
@@ -974,13 +974,13 @@ const selectJLandAvailableLicenses = function selectJLandAvailableLicenses(state
974
974
  const selectMapCreate = function selectMapCreate(state) {
975
975
  return state.jland.mapCreate;
976
976
  };
977
- const joinedReducers$2 = toolkit.combineReducers({
977
+ const joinedReducers$3 = toolkit.combineReducers({
978
978
  [JLandMapListSlice.name]: JLandMapListSlice.reducer,
979
979
  [MapCreateSlice.name]: MapCreateSlice.reducer,
980
980
  });
981
981
  const jlandSlice = {
982
982
  name: 'jland',
983
- reducer: joinedReducers$2,
983
+ reducer: joinedReducers$3,
984
984
  };
985
985
  const jland = {
986
986
  slice: jlandSlice,
@@ -1031,10 +1031,10 @@ const Model = {
1031
1031
  selectors: Object.assign(Object.assign({}, selectors), { selectByIds }),
1032
1032
  };
1033
1033
 
1034
- const initialState$6 = {};
1034
+ const initialState$7 = {};
1035
1035
  const NetworkStaticsSlice = toolkit.createSlice({
1036
1036
  name: 'statics',
1037
- initialState: initialState$6,
1037
+ initialState: initialState$7,
1038
1038
  reducers: {
1039
1039
  initNetworkStatics: (_, { payload }) => {
1040
1040
  return payload;
@@ -1042,12 +1042,12 @@ const NetworkStaticsSlice = toolkit.createSlice({
1042
1042
  },
1043
1043
  });
1044
1044
 
1045
- const joinedReducers$1 = toolkit.combineReducers({
1045
+ const joinedReducers$2 = toolkit.combineReducers({
1046
1046
  [NetworkStaticsSlice.name]: NetworkStaticsSlice.reducer,
1047
1047
  });
1048
1048
  const NetworkSlice = {
1049
1049
  name: 'network',
1050
- reducer: joinedReducers$1,
1050
+ reducer: joinedReducers$2,
1051
1051
  };
1052
1052
  const selectNetworkStatics = (state) => {
1053
1053
  return state.network.statics;
@@ -1090,7 +1090,7 @@ const fetchRecentFiles = toolkit.createAsyncThunk('/fetchRecentFiles', (_, { ext
1090
1090
  return yield jApi.wedoc.getFiles(Object.assign(Object.assign({}, initialQuery), { filters, limit: 4 }));
1091
1091
  }));
1092
1092
 
1093
- const initialState$5 = {
1093
+ const initialState$6 = {
1094
1094
  entities: [],
1095
1095
  nbEntities: 0,
1096
1096
  entitiesRecent: [],
@@ -1102,7 +1102,7 @@ const initialState$5 = {
1102
1102
  };
1103
1103
  const WedocAppSlice = toolkit.createSlice({
1104
1104
  name: 'wedoc',
1105
- initialState: initialState$5,
1105
+ initialState: initialState$6,
1106
1106
  reducers: {
1107
1107
  update: (state, action) => {
1108
1108
  state.entities = [
@@ -1175,14 +1175,14 @@ const fetchRequest = toolkit.createAsyncThunk('/fetchRequest', ({ uri, idUser },
1175
1175
  return yield jApi.wedoc.getAccessRequest(uri, idUser);
1176
1176
  }));
1177
1177
 
1178
- const initialState$4 = {
1178
+ const initialState$5 = {
1179
1179
  entities: [],
1180
1180
  nbEntities: 0,
1181
1181
  loading: 'idle',
1182
1182
  };
1183
1183
  const ShareSlice = toolkit.createSlice({
1184
1184
  name: 'share',
1185
- initialState: initialState$4,
1185
+ initialState: initialState$5,
1186
1186
  reducers: {
1187
1187
  remove: (state, action) => {
1188
1188
  state.entities = [
@@ -1220,7 +1220,7 @@ const Share = {
1220
1220
  },
1221
1221
  };
1222
1222
 
1223
- const initialState$3 = {
1223
+ const initialState$4 = {
1224
1224
  channels: undefined,
1225
1225
  loading: 'idle',
1226
1226
  loadingChannelDeletion: 'idle',
@@ -1263,7 +1263,7 @@ const deleteChannel = toolkit.createAsyncThunk('/deleteChannel', ({ channel }, {
1263
1263
  }));
1264
1264
  const ChannelsListSlice = toolkit.createSlice({
1265
1265
  name: 'channelsList',
1266
- initialState: Object.assign({}, initialState$3),
1266
+ initialState: Object.assign({}, initialState$4),
1267
1267
  reducers: {},
1268
1268
  extraReducers: (builder) => {
1269
1269
  builder
@@ -1308,12 +1308,12 @@ function isChannelConfigured(channel) {
1308
1308
  }
1309
1309
  }
1310
1310
 
1311
- const joinedReducers = toolkit.combineReducers({
1311
+ const joinedReducers$1 = toolkit.combineReducers({
1312
1312
  [ChannelsListSlice.name]: ChannelsListSlice.reducer,
1313
1313
  });
1314
1314
  const TVDisplaySlice = {
1315
1315
  name: 'tvDisplay',
1316
- reducer: joinedReducers,
1316
+ reducer: joinedReducers$1,
1317
1317
  };
1318
1318
  const selectChannelsList = function selectChannelsList(state) {
1319
1319
  return state.tvDisplay.channelsList;
@@ -1332,6 +1332,35 @@ const TVDisplay = {
1332
1332
  },
1333
1333
  };
1334
1334
 
1335
+ const initialState$3 = {};
1336
+ const TinyMCEOptionsSlice = toolkit.createSlice({
1337
+ name: 'options',
1338
+ initialState: initialState$3,
1339
+ reducers: {
1340
+ initOptions: (_, { payload }) => {
1341
+ return { common: payload };
1342
+ },
1343
+ },
1344
+ });
1345
+
1346
+ const joinedReducers = toolkit.combineReducers({
1347
+ [TinyMCEOptionsSlice.name]: TinyMCEOptionsSlice.reducer,
1348
+ });
1349
+ const TinyMCESlice = {
1350
+ name: 'tinymce',
1351
+ reducer: joinedReducers,
1352
+ };
1353
+ const selectTinyMCECommonOptions = (state) => {
1354
+ return state.tinymce.options.common;
1355
+ };
1356
+ const TinyMCE = {
1357
+ slice: TinyMCESlice,
1358
+ actions: Object.assign({}, TinyMCEOptionsSlice.actions),
1359
+ selectors: {
1360
+ selectTinyMCECommonOptions,
1361
+ },
1362
+ };
1363
+
1335
1364
  const initialState$2 = {
1336
1365
  id: 0,
1337
1366
  mainType: 'user',
@@ -1783,6 +1812,7 @@ exports.Model = Model;
1783
1812
  exports.Network = Network;
1784
1813
  exports.Share = Share;
1785
1814
  exports.TVDisplay = TVDisplay;
1815
+ exports.TinyMCE = TinyMCE;
1786
1816
  exports.Toast = Toast;
1787
1817
  exports.UserCurrent = UserCurrent;
1788
1818
  exports.WedocApp = WedocApp;