jamespot-front-business 1.1.69 → 1.1.70
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 +29 -28
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +30 -27
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +720 -352
- package/package.json +4 -2
package/dist/esm.js
CHANGED
|
@@ -231,7 +231,7 @@ const animationStatsSlice = createSlice({
|
|
|
231
231
|
builder.addCase(fetchAnimationStats.rejected, (state) => {
|
|
232
232
|
state.loading = 'idle';
|
|
233
233
|
});
|
|
234
|
-
}
|
|
234
|
+
},
|
|
235
235
|
});
|
|
236
236
|
|
|
237
237
|
const fetchAnimationStatsCurrent = createAsyncThunk('animations/fetchAnimationStatsCurrent', (uri, { extra, rejectWithValue, dispatch }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -263,7 +263,7 @@ const animationStatsCurrentSlice = createSlice({
|
|
|
263
263
|
builder.addCase(fetchAnimationStatsCurrent.rejected, (state) => {
|
|
264
264
|
state.loading = 'idle';
|
|
265
265
|
});
|
|
266
|
-
}
|
|
266
|
+
},
|
|
267
267
|
});
|
|
268
268
|
|
|
269
269
|
const selectCurrentAnimation = (state) => state.animations.animationsList.animationConfiguration;
|
|
@@ -2073,7 +2073,7 @@ const TinyMCEOptionsSlice = createSlice({
|
|
|
2073
2073
|
initialState: initialState$5,
|
|
2074
2074
|
reducers: {
|
|
2075
2075
|
initOptions: (_, { payload }) => {
|
|
2076
|
-
return
|
|
2076
|
+
return payload;
|
|
2077
2077
|
},
|
|
2078
2078
|
},
|
|
2079
2079
|
});
|
|
@@ -2088,11 +2088,15 @@ const TinyMCESlice = {
|
|
|
2088
2088
|
const selectTinyMCECommonOptions = (state) => {
|
|
2089
2089
|
return state.tinymce.options.common;
|
|
2090
2090
|
};
|
|
2091
|
+
const selectTinyMCEExtendedOptions = (state) => {
|
|
2092
|
+
return state.tinymce.options.extended;
|
|
2093
|
+
};
|
|
2091
2094
|
const TinyMCE = {
|
|
2092
2095
|
slice: TinyMCESlice,
|
|
2093
2096
|
actions: Object.assign({}, TinyMCEOptionsSlice.actions),
|
|
2094
2097
|
selectors: {
|
|
2095
2098
|
selectTinyMCECommonOptions,
|
|
2099
|
+
selectTinyMCEExtendedOptions,
|
|
2096
2100
|
},
|
|
2097
2101
|
};
|
|
2098
2102
|
|
|
@@ -2442,28 +2446,6 @@ function content(name) {
|
|
|
2442
2446
|
}
|
|
2443
2447
|
}
|
|
2444
2448
|
|
|
2445
|
-
const getWidgetRTHandlers = function (dispatch, uniqid) {
|
|
2446
|
-
const widgetPresenceResponseHandler = function (message) {
|
|
2447
|
-
if (message.namespace === 'WIDGET' && message.function === 'widget-presence-response') {
|
|
2448
|
-
if (message.data && message.data.uniqid === uniqid) {
|
|
2449
|
-
dispatch(Widget.slice.actions.registerWidgetRTObject({
|
|
2450
|
-
uniqid: message.data.uniqid,
|
|
2451
|
-
object: message.data.object,
|
|
2452
|
-
}));
|
|
2453
|
-
}
|
|
2454
|
-
}
|
|
2455
|
-
};
|
|
2456
|
-
return [
|
|
2457
|
-
{
|
|
2458
|
-
namespace: 'WIDGET',
|
|
2459
|
-
function: 'widget-presence-response',
|
|
2460
|
-
handler: widgetPresenceResponseHandler,
|
|
2461
|
-
},
|
|
2462
|
-
];
|
|
2463
|
-
};
|
|
2464
|
-
|
|
2465
|
-
const MODE_EDIT = 'edit';
|
|
2466
|
-
const MODE_VIEW = 'view';
|
|
2467
2449
|
const initialState$3 = {
|
|
2468
2450
|
token: undefined,
|
|
2469
2451
|
ids: {},
|
|
@@ -2633,6 +2615,27 @@ const widgetsSlice = createSlice({
|
|
|
2633
2615
|
},
|
|
2634
2616
|
},
|
|
2635
2617
|
});
|
|
2618
|
+
|
|
2619
|
+
const getWidgetRTHandlers = function (dispatch, uniqid) {
|
|
2620
|
+
const widgetPresenceResponseHandler = function (message) {
|
|
2621
|
+
if (message.namespace === 'WIDGET' && message.function === 'widget-presence-response') {
|
|
2622
|
+
if (message.data && message.data.uniqid === uniqid) {
|
|
2623
|
+
dispatch(widgetsSlice.actions.registerWidgetRTObject({
|
|
2624
|
+
uniqid: message.data.uniqid,
|
|
2625
|
+
object: message.data.object,
|
|
2626
|
+
}));
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
};
|
|
2630
|
+
return [
|
|
2631
|
+
{
|
|
2632
|
+
namespace: 'WIDGET',
|
|
2633
|
+
function: 'widget-presence-response',
|
|
2634
|
+
handler: widgetPresenceResponseHandler,
|
|
2635
|
+
},
|
|
2636
|
+
];
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2636
2639
|
const selectToken = (state) => state.widgets.token;
|
|
2637
2640
|
const selectModal = (state) => state.widgets.modal;
|
|
2638
2641
|
const selectWidgets = (state) => state.widgets.ids;
|
|
@@ -5045,8 +5048,8 @@ const studio = {
|
|
|
5045
5048
|
utils: {
|
|
5046
5049
|
updateViewsFromFields,
|
|
5047
5050
|
generateNewFormField,
|
|
5048
|
-
}
|
|
5051
|
+
},
|
|
5049
5052
|
};
|
|
5050
5053
|
|
|
5051
|
-
export { APP_STATUS_TYPE, AUDIENCE, Animations, AppColumnsDefaultTypes, AppFieldFormPropertyTypes, AppFormBannedFromViews$1 as AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList$1 as AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormPrimaryListValues, AppFormUniqueList, AppFormUniqueListCheck, Application, AssetReservation, Bookmark, Comment, Description, Element, ExtraAppFieldsItemViews, Faq, Hook,
|
|
5054
|
+
export { APP_STATUS_TYPE, AUDIENCE, Animations, AppColumnsDefaultTypes, AppFieldFormPropertyTypes, AppFormBannedFromViews$1 as AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList$1 as AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormPrimaryListValues, AppFormUniqueList, AppFormUniqueListCheck, Application, AssetReservation, Bookmark, Comment, Description, Element, ExtraAppFieldsItemViews, Faq, Hook, MagicPad, MapExtraFieldsWithView, MediaLibrary, Model, Network, Platform, STUDIO_VIEW, Share, SocialActions, StatusType$1 as StatusType, TVDisplay, TinyMCE, Toast, UserCurrent, WedocApp, Widget, WidgetEditor, actions, animationsReducer, animationsSlice, fetchMediaLibraryConfig, fetchMediaLibraryFilesStats, fetchMediaLibraryFolders, fetchMediaLibraryFoldersStats, fetchMediaLibraryStats, fetchMediaLibraryUnclassifiedFiles, fetchPads, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, slice$1 as slice, studio, updateWidgetContent, viewsList };
|
|
5052
5055
|
//# sourceMappingURL=esm.js.map
|