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/cjs.js
CHANGED
|
@@ -239,7 +239,7 @@ const animationStatsSlice = toolkit.createSlice({
|
|
|
239
239
|
builder.addCase(fetchAnimationStats.rejected, (state) => {
|
|
240
240
|
state.loading = 'idle';
|
|
241
241
|
});
|
|
242
|
-
}
|
|
242
|
+
},
|
|
243
243
|
});
|
|
244
244
|
|
|
245
245
|
const fetchAnimationStatsCurrent = toolkit.createAsyncThunk('animations/fetchAnimationStatsCurrent', (uri, { extra, rejectWithValue, dispatch }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -271,7 +271,7 @@ const animationStatsCurrentSlice = toolkit.createSlice({
|
|
|
271
271
|
builder.addCase(fetchAnimationStatsCurrent.rejected, (state) => {
|
|
272
272
|
state.loading = 'idle';
|
|
273
273
|
});
|
|
274
|
-
}
|
|
274
|
+
},
|
|
275
275
|
});
|
|
276
276
|
|
|
277
277
|
const selectCurrentAnimation = (state) => state.animations.animationsList.animationConfiguration;
|
|
@@ -2081,7 +2081,7 @@ const TinyMCEOptionsSlice = toolkit.createSlice({
|
|
|
2081
2081
|
initialState: initialState$5,
|
|
2082
2082
|
reducers: {
|
|
2083
2083
|
initOptions: (_, { payload }) => {
|
|
2084
|
-
return
|
|
2084
|
+
return payload;
|
|
2085
2085
|
},
|
|
2086
2086
|
},
|
|
2087
2087
|
});
|
|
@@ -2096,11 +2096,15 @@ const TinyMCESlice = {
|
|
|
2096
2096
|
const selectTinyMCECommonOptions = (state) => {
|
|
2097
2097
|
return state.tinymce.options.common;
|
|
2098
2098
|
};
|
|
2099
|
+
const selectTinyMCEExtendedOptions = (state) => {
|
|
2100
|
+
return state.tinymce.options.extended;
|
|
2101
|
+
};
|
|
2099
2102
|
const TinyMCE = {
|
|
2100
2103
|
slice: TinyMCESlice,
|
|
2101
2104
|
actions: Object.assign({}, TinyMCEOptionsSlice.actions),
|
|
2102
2105
|
selectors: {
|
|
2103
2106
|
selectTinyMCECommonOptions,
|
|
2107
|
+
selectTinyMCEExtendedOptions,
|
|
2104
2108
|
},
|
|
2105
2109
|
};
|
|
2106
2110
|
|
|
@@ -2450,28 +2454,6 @@ function content(name) {
|
|
|
2450
2454
|
}
|
|
2451
2455
|
}
|
|
2452
2456
|
|
|
2453
|
-
const getWidgetRTHandlers = function (dispatch, uniqid) {
|
|
2454
|
-
const widgetPresenceResponseHandler = function (message) {
|
|
2455
|
-
if (message.namespace === 'WIDGET' && message.function === 'widget-presence-response') {
|
|
2456
|
-
if (message.data && message.data.uniqid === uniqid) {
|
|
2457
|
-
dispatch(Widget.slice.actions.registerWidgetRTObject({
|
|
2458
|
-
uniqid: message.data.uniqid,
|
|
2459
|
-
object: message.data.object,
|
|
2460
|
-
}));
|
|
2461
|
-
}
|
|
2462
|
-
}
|
|
2463
|
-
};
|
|
2464
|
-
return [
|
|
2465
|
-
{
|
|
2466
|
-
namespace: 'WIDGET',
|
|
2467
|
-
function: 'widget-presence-response',
|
|
2468
|
-
handler: widgetPresenceResponseHandler,
|
|
2469
|
-
},
|
|
2470
|
-
];
|
|
2471
|
-
};
|
|
2472
|
-
|
|
2473
|
-
const MODE_EDIT = 'edit';
|
|
2474
|
-
const MODE_VIEW = 'view';
|
|
2475
2457
|
const initialState$3 = {
|
|
2476
2458
|
token: undefined,
|
|
2477
2459
|
ids: {},
|
|
@@ -2641,6 +2623,27 @@ const widgetsSlice = toolkit.createSlice({
|
|
|
2641
2623
|
},
|
|
2642
2624
|
},
|
|
2643
2625
|
});
|
|
2626
|
+
|
|
2627
|
+
const getWidgetRTHandlers = function (dispatch, uniqid) {
|
|
2628
|
+
const widgetPresenceResponseHandler = function (message) {
|
|
2629
|
+
if (message.namespace === 'WIDGET' && message.function === 'widget-presence-response') {
|
|
2630
|
+
if (message.data && message.data.uniqid === uniqid) {
|
|
2631
|
+
dispatch(widgetsSlice.actions.registerWidgetRTObject({
|
|
2632
|
+
uniqid: message.data.uniqid,
|
|
2633
|
+
object: message.data.object,
|
|
2634
|
+
}));
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
};
|
|
2638
|
+
return [
|
|
2639
|
+
{
|
|
2640
|
+
namespace: 'WIDGET',
|
|
2641
|
+
function: 'widget-presence-response',
|
|
2642
|
+
handler: widgetPresenceResponseHandler,
|
|
2643
|
+
},
|
|
2644
|
+
];
|
|
2645
|
+
};
|
|
2646
|
+
|
|
2644
2647
|
const selectToken = (state) => state.widgets.token;
|
|
2645
2648
|
const selectModal = (state) => state.widgets.modal;
|
|
2646
2649
|
const selectWidgets = (state) => state.widgets.ids;
|
|
@@ -5053,7 +5056,7 @@ const studio = {
|
|
|
5053
5056
|
utils: {
|
|
5054
5057
|
updateViewsFromFields,
|
|
5055
5058
|
generateNewFormField,
|
|
5056
|
-
}
|
|
5059
|
+
},
|
|
5057
5060
|
};
|
|
5058
5061
|
|
|
5059
5062
|
exports.APP_STATUS_TYPE = APP_STATUS_TYPE;
|
|
@@ -5078,8 +5081,6 @@ exports.Comment = Comment;
|
|
|
5078
5081
|
exports.ExtraAppFieldsItemViews = ExtraAppFieldsItemViews;
|
|
5079
5082
|
exports.Faq = Faq;
|
|
5080
5083
|
exports.Hook = Hook;
|
|
5081
|
-
exports.MODE_EDIT = MODE_EDIT;
|
|
5082
|
-
exports.MODE_VIEW = MODE_VIEW;
|
|
5083
5084
|
exports.MagicPad = MagicPad;
|
|
5084
5085
|
exports.MapExtraFieldsWithView = MapExtraFieldsWithView;
|
|
5085
5086
|
exports.MediaLibrary = MediaLibrary;
|