jamespot-front-business 1.1.64 → 1.1.66

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
@@ -2287,6 +2287,7 @@ const widgetCheckListDefinition = {
2287
2287
  };
2288
2288
  const widgetCheckListContent = {
2289
2289
  arr: [],
2290
+ edit: false,
2290
2291
  };
2291
2292
 
2292
2293
  const widgetDatasourceTableDefinition = {
@@ -2296,7 +2297,7 @@ const widgetDatasourceTableDefinition = {
2296
2297
  img: '/img/fast-intranet/widget-datasource-table.png',
2297
2298
  available: true,
2298
2299
  panel: {
2299
- useWrapper: false,
2300
+ useWrapper: true,
2300
2301
  useEditor: true,
2301
2302
  useWidgets: false,
2302
2303
  },
@@ -2317,7 +2318,7 @@ const widgetExcelDatasourceTableDefinition = {
2317
2318
  img: '/img/fast-intranet/widget-excel-datasource-table.png',
2318
2319
  available: true,
2319
2320
  panel: {
2320
- useWrapper: false,
2321
+ useWrapper: true,
2321
2322
  useEditor: true,
2322
2323
  useWidgets: false,
2323
2324
  },
@@ -2477,6 +2478,7 @@ const widgetsSlice = toolkit.createSlice({
2477
2478
  mounted: false,
2478
2479
  hover: false,
2479
2480
  empty: IS_EMPTY.includes(widget.widget.name),
2481
+ locked: false,
2480
2482
  };
2481
2483
  },
2482
2484
  registerWidgetObject: (state, action) => {
@@ -2494,6 +2496,10 @@ const widgetsSlice = toolkit.createSlice({
2494
2496
  updateWidget: (state, action) => {
2495
2497
  const { uniqid } = action.payload;
2496
2498
  const wrapper = Object.assign({}, state.ids[uniqid]);
2499
+ const states = state.states[uniqid];
2500
+ if (states === null || states === void 0 ? void 0 : states.locked) {
2501
+ return;
2502
+ }
2497
2503
  if (state.ids[uniqid] && wrapper && wrapper.widget) {
2498
2504
  state.ids[uniqid] = Object.assign(Object.assign(Object.assign({}, state.ids[uniqid]), { widget: Object.assign(Object.assign({}, wrapper.widget), { content: action.payload.override
2499
2505
  ? action.payload.content