jamespot-front-business 1.1.64 → 1.1.65
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 +7 -2
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +7 -2
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +154 -2
- package/package.json +2 -2
package/dist/cjs.js
CHANGED
|
@@ -2296,7 +2296,7 @@ const widgetDatasourceTableDefinition = {
|
|
|
2296
2296
|
img: '/img/fast-intranet/widget-datasource-table.png',
|
|
2297
2297
|
available: true,
|
|
2298
2298
|
panel: {
|
|
2299
|
-
useWrapper:
|
|
2299
|
+
useWrapper: true,
|
|
2300
2300
|
useEditor: true,
|
|
2301
2301
|
useWidgets: false,
|
|
2302
2302
|
},
|
|
@@ -2317,7 +2317,7 @@ const widgetExcelDatasourceTableDefinition = {
|
|
|
2317
2317
|
img: '/img/fast-intranet/widget-excel-datasource-table.png',
|
|
2318
2318
|
available: true,
|
|
2319
2319
|
panel: {
|
|
2320
|
-
useWrapper:
|
|
2320
|
+
useWrapper: true,
|
|
2321
2321
|
useEditor: true,
|
|
2322
2322
|
useWidgets: false,
|
|
2323
2323
|
},
|
|
@@ -2477,6 +2477,7 @@ const widgetsSlice = toolkit.createSlice({
|
|
|
2477
2477
|
mounted: false,
|
|
2478
2478
|
hover: false,
|
|
2479
2479
|
empty: IS_EMPTY.includes(widget.widget.name),
|
|
2480
|
+
locked: false,
|
|
2480
2481
|
};
|
|
2481
2482
|
},
|
|
2482
2483
|
registerWidgetObject: (state, action) => {
|
|
@@ -2494,6 +2495,10 @@ const widgetsSlice = toolkit.createSlice({
|
|
|
2494
2495
|
updateWidget: (state, action) => {
|
|
2495
2496
|
const { uniqid } = action.payload;
|
|
2496
2497
|
const wrapper = Object.assign({}, state.ids[uniqid]);
|
|
2498
|
+
const states = state.states[uniqid];
|
|
2499
|
+
if (states === null || states === void 0 ? void 0 : states.locked) {
|
|
2500
|
+
return;
|
|
2501
|
+
}
|
|
2497
2502
|
if (state.ids[uniqid] && wrapper && wrapper.widget) {
|
|
2498
2503
|
state.ids[uniqid] = Object.assign(Object.assign(Object.assign({}, state.ids[uniqid]), { widget: Object.assign(Object.assign({}, wrapper.widget), { content: action.payload.override
|
|
2499
2504
|
? action.payload.content
|