seat-editor 3.0.2 → 3.0.4

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.
@@ -1,4 +1,4 @@
1
- import { Position, Shape, TagType } from "@/dto/table";
1
+ import { Position, Shape, TagType } from "../dto/table";
2
2
  export declare const constantData: {
3
3
  properties: {
4
4
  id: number;
@@ -1,6 +1,6 @@
1
- import { EventHandleType } from "@/dto/event-handler";
1
+ import { EventHandleType } from "../../dto/event-handler";
2
2
  import { PropertiesProps } from "@/dto/table";
3
- import { TableMatchEvent } from "@/features/view-only-3";
3
+ import { TableMatchEvent } from "../../features/view-only-3";
4
4
  interface LayersProps {
5
5
  components?: PropertiesProps[];
6
6
  selectedComponent?: PropertiesProps;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { isEmpty, omit } from "lodash";
3
- import { TABLE_KEYS } from "@/utils/constant";
3
+ import { TABLE_KEYS } from "../../utils/constant";
4
4
  import { distributeWithSpacing } from "../layer-v3";
5
5
  const Layers = ({ components, selectedTable, iconTags, eventMatchTable, onHighlightGroup, onForceRestoreGroup, selectedTableColor, }) => {
6
6
  const renderShape = (item) => {
@@ -1,7 +1,7 @@
1
1
  import React, { CSSProperties, SVGAttributes } from "react";
2
2
  import { ReactZoomPanPinchRef, ReactZoomPanPinchProps, ReactZoomPanPinchContentRef } from "react-zoom-pan-pinch";
3
- import { PropertiesProps } from "@/dto/table";
4
- import { EventHandleType } from "@/dto/event-handler";
3
+ import { PropertiesProps } from "../../dto/table";
4
+ import { EventHandleType } from "../../dto/event-handler";
5
5
  export type TableGhost = {
6
6
  table: PropertiesProps;
7
7
  event: EventHandleType;
@@ -477,11 +477,7 @@ const LayerView = (props) => {
477
477
  handlePan(0, -speedPanning);
478
478
  }
479
479
  };
480
- return (<div className="relative w-full h-full flex-1" ref={containerRef} style={{
481
- height: "100vh",
482
- overflow: "auto",
483
- WebkitOverflowScrolling: "touch",
484
- }} {...props.containerProps}>
480
+ return (<div className="relative w-full h-full flex-1" ref={containerRef} {...props.containerProps}>
485
481
  {/* {isDragging?.current && (
486
482
  <div className="absolute bottom-1/2 left-1 flex gap-4 z-[10]">
487
483
  <button className="p-4 bg-gray-400">+</button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seat-editor",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",