seat-editor 3.2.15 → 3.2.16

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.
@@ -12,7 +12,6 @@ const Layers = ({ components, selectedTable, iconTags, eventMatchTable, onHighli
12
12
  const renderTags = (data) => {
13
13
  const tags = data !== null && data !== void 0 ? data : tagsDummy("tes");
14
14
  const privileged = !isEmpty(privilegedTags) ? privilegedTags : isShowTagType === "type-1" ? PRIVILEGED_TAGS["CURRENT_TIME"] : isShowTagType === "type-2" ? PRIVILEGED_TAGS["NEXT_3_RESERVATION"] : undefined;
15
- console.log({ privileged, privilegedTags });
16
15
  if (tags && (tags === null || tags === void 0 ? void 0 : tags.length) > 0) {
17
16
  const gapBetweenTags = Number(gapTags || 20);
18
17
  const defaultFontSize = Number(fontSize || 12);
@@ -61,7 +61,7 @@ const LayerView = (props) => {
61
61
  });
62
62
  }
63
63
  setTimeout(() => {
64
- dispatch({ type: "panel/setLoading", payload: false });
64
+ dispatch({ type: "panel/setLoading", payload: true });
65
65
  }, 1000);
66
66
  }, [componentProps, extraComponentProps, defaultBackground]);
67
67
  useEffect(() => {
@@ -525,7 +525,7 @@ const LayerView = (props) => {
525
525
  filter: disabled ? "grayscale(100%)" : "none",
526
526
  pointerEvents: disabled ? "none" : "auto",
527
527
  }} {...props.containerProps}>
528
- {loading && (<div className="absolute z-50 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-opacity-50 bg-white w-full h-full flex items-center justify-center">
528
+ {loading && (<div className="absolute z-10 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-opacity-50 bg-white w-full h-full flex items-center justify-center">
529
529
  {loadingComponent || <Spin />}
530
530
  </div>)}
531
531
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seat-editor",
3
- "version": "3.2.15",
3
+ "version": "3.2.16",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",