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/esm.js CHANGED
@@ -2279,6 +2279,7 @@ const widgetCheckListDefinition = {
2279
2279
  };
2280
2280
  const widgetCheckListContent = {
2281
2281
  arr: [],
2282
+ edit: false,
2282
2283
  };
2283
2284
 
2284
2285
  const widgetDatasourceTableDefinition = {
@@ -2288,7 +2289,7 @@ const widgetDatasourceTableDefinition = {
2288
2289
  img: '/img/fast-intranet/widget-datasource-table.png',
2289
2290
  available: true,
2290
2291
  panel: {
2291
- useWrapper: false,
2292
+ useWrapper: true,
2292
2293
  useEditor: true,
2293
2294
  useWidgets: false,
2294
2295
  },
@@ -2309,7 +2310,7 @@ const widgetExcelDatasourceTableDefinition = {
2309
2310
  img: '/img/fast-intranet/widget-excel-datasource-table.png',
2310
2311
  available: true,
2311
2312
  panel: {
2312
- useWrapper: false,
2313
+ useWrapper: true,
2313
2314
  useEditor: true,
2314
2315
  useWidgets: false,
2315
2316
  },
@@ -2469,6 +2470,7 @@ const widgetsSlice = createSlice({
2469
2470
  mounted: false,
2470
2471
  hover: false,
2471
2472
  empty: IS_EMPTY.includes(widget.widget.name),
2473
+ locked: false,
2472
2474
  };
2473
2475
  },
2474
2476
  registerWidgetObject: (state, action) => {
@@ -2486,6 +2488,10 @@ const widgetsSlice = createSlice({
2486
2488
  updateWidget: (state, action) => {
2487
2489
  const { uniqid } = action.payload;
2488
2490
  const wrapper = Object.assign({}, state.ids[uniqid]);
2491
+ const states = state.states[uniqid];
2492
+ if (states === null || states === void 0 ? void 0 : states.locked) {
2493
+ return;
2494
+ }
2489
2495
  if (state.ids[uniqid] && wrapper && wrapper.widget) {
2490
2496
  state.ids[uniqid] = Object.assign(Object.assign(Object.assign({}, state.ids[uniqid]), { widget: Object.assign(Object.assign({}, wrapper.widget), { content: action.payload.override
2491
2497
  ? action.payload.content