@refinedev/devtools 1.2.1 → 1.2.3
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/components/devtools-pin.d.cts +1 -1
- package/dist/components/devtools-pin.d.cts.map +1 -1
- package/dist/components/devtools-pin.d.mts +1 -1
- package/dist/components/devtools-pin.d.mts.map +1 -1
- package/dist/components/devtools-pin.d.ts +1 -1
- package/dist/components/devtools-pin.d.ts.map +1 -1
- package/dist/components/devtools-selector.d.cts +1 -1
- package/dist/components/devtools-selector.d.cts.map +1 -1
- package/dist/components/devtools-selector.d.mts +1 -1
- package/dist/components/devtools-selector.d.mts.map +1 -1
- package/dist/components/devtools-selector.d.ts +1 -1
- package/dist/components/devtools-selector.d.ts.map +1 -1
- package/dist/components/icons/arrow-union-icon.d.cts +3 -2
- package/dist/components/icons/arrow-union-icon.d.cts.map +1 -1
- package/dist/components/icons/arrow-union-icon.d.mts +3 -2
- package/dist/components/icons/arrow-union-icon.d.mts.map +1 -1
- package/dist/components/icons/arrow-union-icon.d.ts +3 -2
- package/dist/components/icons/arrow-union-icon.d.ts.map +1 -1
- package/dist/components/icons/devtools-icon.d.cts +3 -2
- package/dist/components/icons/devtools-icon.d.cts.map +1 -1
- package/dist/components/icons/devtools-icon.d.mts +3 -2
- package/dist/components/icons/devtools-icon.d.mts.map +1 -1
- package/dist/components/icons/devtools-icon.d.ts +3 -2
- package/dist/components/icons/devtools-icon.d.ts.map +1 -1
- package/dist/components/icons/resize-handle-icon.d.cts +1 -1
- package/dist/components/icons/resize-handle-icon.d.cts.map +1 -1
- package/dist/components/icons/resize-handle-icon.d.mts +1 -1
- package/dist/components/icons/resize-handle-icon.d.mts.map +1 -1
- package/dist/components/icons/resize-handle-icon.d.ts +1 -1
- package/dist/components/icons/resize-handle-icon.d.ts.map +1 -1
- package/dist/components/icons/selector-button.d.cts +2 -2
- package/dist/components/icons/selector-button.d.cts.map +1 -1
- package/dist/components/icons/selector-button.d.mts +2 -2
- package/dist/components/icons/selector-button.d.mts.map +1 -1
- package/dist/components/icons/selector-button.d.ts +2 -2
- package/dist/components/icons/selector-button.d.ts.map +1 -1
- package/dist/components/resizable-pane.d.cts +2 -2
- package/dist/components/resizable-pane.d.cts.map +1 -1
- package/dist/components/resizable-pane.d.mts +2 -2
- package/dist/components/resizable-pane.d.mts.map +1 -1
- package/dist/components/resizable-pane.d.ts +2 -2
- package/dist/components/resizable-pane.d.ts.map +1 -1
- package/dist/components/selectable-elements.d.cts +2 -1
- package/dist/components/selectable-elements.d.cts.map +1 -1
- package/dist/components/selectable-elements.d.mts +2 -1
- package/dist/components/selectable-elements.d.mts.map +1 -1
- package/dist/components/selectable-elements.d.ts +2 -1
- package/dist/components/selectable-elements.d.ts.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/panel.d.cts +2 -1
- package/dist/panel.d.cts.map +1 -1
- package/dist/panel.d.mts +2 -1
- package/dist/panel.d.mts.map +1 -1
- package/dist/panel.d.ts +2 -1
- package/dist/panel.d.ts.map +1 -1
- package/dist/utilities/index.d.cts +2 -2
- package/dist/utilities/index.d.cts.map +1 -1
- package/dist/utilities/index.d.mts +2 -2
- package/dist/utilities/index.d.mts.map +1 -1
- package/dist/utilities/index.d.ts +2 -2
- package/dist/utilities/index.d.ts.map +1 -1
- package/package.json +17 -16
- package/src/components/devtools-pin.tsx +0 -1
- package/src/components/devtools-selector.tsx +0 -1
- package/src/components/icons/arrow-union-icon.tsx +1 -1
- package/src/components/icons/devtools-icon.tsx +1 -1
- package/src/components/resizable-pane.tsx +1 -1
- package/src/panel.tsx +1 -1
- package/src/utilities/index.ts +1 -1
|
@@ -6,6 +6,6 @@ type Props = {
|
|
|
6
6
|
selectorActive: boolean;
|
|
7
7
|
setSelectorActive: React.Dispatch<React.SetStateAction<boolean>>;
|
|
8
8
|
};
|
|
9
|
-
export declare const DevtoolsPin: ({ onClick, onSelectorHighlight, selectorActive, setSelectorActive, }: Props) => JSX.Element;
|
|
9
|
+
export declare const DevtoolsPin: ({ onClick, onSelectorHighlight, selectorActive, setSelectorActive, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=devtools-pin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-pin.d.ts","sourceRoot":"","sources":["../../src/components/devtools-pin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,WAAW,yEAKrB,KAAK,
|
|
1
|
+
{"version":3,"file":"devtools-pin.d.ts","sourceRoot":"","sources":["../../src/components/devtools-pin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,WAAW,yEAKrB,KAAK,sBAqDP,CAAC"}
|
|
@@ -6,6 +6,6 @@ type Props = {
|
|
|
6
6
|
selectorActive: boolean;
|
|
7
7
|
setSelectorActive: React.Dispatch<React.SetStateAction<boolean>>;
|
|
8
8
|
};
|
|
9
|
-
export declare const DevtoolsPin: ({ onClick, onSelectorHighlight, selectorActive, setSelectorActive, }: Props) => JSX.Element;
|
|
9
|
+
export declare const DevtoolsPin: ({ onClick, onSelectorHighlight, selectorActive, setSelectorActive, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=devtools-pin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-pin.d.ts","sourceRoot":"","sources":["../../src/components/devtools-pin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,WAAW,yEAKrB,KAAK,
|
|
1
|
+
{"version":3,"file":"devtools-pin.d.ts","sourceRoot":"","sources":["../../src/components/devtools-pin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,WAAW,yEAKrB,KAAK,sBAqDP,CAAC"}
|
|
@@ -6,6 +6,6 @@ type Props = {
|
|
|
6
6
|
selectorActive: boolean;
|
|
7
7
|
setSelectorActive: React.Dispatch<React.SetStateAction<boolean>>;
|
|
8
8
|
};
|
|
9
|
-
export declare const DevtoolsPin: ({ onClick, onSelectorHighlight, selectorActive, setSelectorActive, }: Props) => JSX.Element;
|
|
9
|
+
export declare const DevtoolsPin: ({ onClick, onSelectorHighlight, selectorActive, setSelectorActive, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=devtools-pin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-pin.d.ts","sourceRoot":"","sources":["../../src/components/devtools-pin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,WAAW,yEAKrB,KAAK,
|
|
1
|
+
{"version":3,"file":"devtools-pin.d.ts","sourceRoot":"","sources":["../../src/components/devtools-pin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,EAAE,OAAO,CAAC;IACxB,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,WAAW,yEAKrB,KAAK,sBAqDP,CAAC"}
|
|
@@ -6,6 +6,6 @@ type Props = {
|
|
|
6
6
|
icon?: React.ReactNode;
|
|
7
7
|
style?: React.CSSProperties;
|
|
8
8
|
};
|
|
9
|
-
export declare const DevtoolsSelector: ({ active, setActive, onHighlight, icon, style, }: Props) => JSX.Element;
|
|
9
|
+
export declare const DevtoolsSelector: ({ active, setActive, onHighlight, icon, style, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=devtools-selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-selector.d.ts","sourceRoot":"","sources":["../../src/components/devtools-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACzD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qDAM1B,KAAK,
|
|
1
|
+
{"version":3,"file":"devtools-selector.d.ts","sourceRoot":"","sources":["../../src/components/devtools-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACzD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qDAM1B,KAAK,sBA8CP,CAAC"}
|
|
@@ -6,6 +6,6 @@ type Props = {
|
|
|
6
6
|
icon?: React.ReactNode;
|
|
7
7
|
style?: React.CSSProperties;
|
|
8
8
|
};
|
|
9
|
-
export declare const DevtoolsSelector: ({ active, setActive, onHighlight, icon, style, }: Props) => JSX.Element;
|
|
9
|
+
export declare const DevtoolsSelector: ({ active, setActive, onHighlight, icon, style, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=devtools-selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-selector.d.ts","sourceRoot":"","sources":["../../src/components/devtools-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACzD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qDAM1B,KAAK,
|
|
1
|
+
{"version":3,"file":"devtools-selector.d.ts","sourceRoot":"","sources":["../../src/components/devtools-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACzD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qDAM1B,KAAK,sBA8CP,CAAC"}
|
|
@@ -6,6 +6,6 @@ type Props = {
|
|
|
6
6
|
icon?: React.ReactNode;
|
|
7
7
|
style?: React.CSSProperties;
|
|
8
8
|
};
|
|
9
|
-
export declare const DevtoolsSelector: ({ active, setActive, onHighlight, icon, style, }: Props) => JSX.Element;
|
|
9
|
+
export declare const DevtoolsSelector: ({ active, setActive, onHighlight, icon, style, }: Props) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=devtools-selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-selector.d.ts","sourceRoot":"","sources":["../../src/components/devtools-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACzD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qDAM1B,KAAK,
|
|
1
|
+
{"version":3,"file":"devtools-selector.d.ts","sourceRoot":"","sources":["../../src/components/devtools-selector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACzD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qDAM1B,KAAK,sBA8CP,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
export declare const ArrowUnionIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=arrow-union-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-union-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/arrow-union-icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"arrow-union-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/arrow-union-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,cAAc,UAAW,SAAS,aAAa,CAAC,sBA6B5D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
export declare const ArrowUnionIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=arrow-union-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-union-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/arrow-union-icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"arrow-union-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/arrow-union-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,cAAc,UAAW,SAAS,aAAa,CAAC,sBA6B5D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
export declare const ArrowUnionIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=arrow-union-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-union-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/arrow-union-icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"arrow-union-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/arrow-union-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,cAAc,UAAW,SAAS,aAAa,CAAC,sBA6B5D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
export declare const DevtoolsIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=devtools-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/devtools-icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"devtools-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/devtools-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,YAAY,UAAW,SAAS,aAAa,CAAC,sBA+B1D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
export declare const DevtoolsIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=devtools-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/devtools-icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"devtools-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/devtools-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,YAAY,UAAW,SAAS,aAAa,CAAC,sBA+B1D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
export declare const DevtoolsIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=devtools-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/devtools-icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"devtools-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/devtools-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,YAAY,UAAW,SAAS,aAAa,CAAC,sBA+B1D,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const ResizeHandleIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2
|
+
export declare const ResizeHandleIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
3
|
//# sourceMappingURL=resize-handle-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resize-handle-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/resize-handle-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"resize-handle-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/resize-handle-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAwBpE,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const ResizeHandleIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2
|
+
export declare const ResizeHandleIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
3
|
//# sourceMappingURL=resize-handle-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resize-handle-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/resize-handle-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"resize-handle-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/resize-handle-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAwBpE,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const ResizeHandleIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2
|
+
export declare const ResizeHandleIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
3
|
//# sourceMappingURL=resize-handle-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resize-handle-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/resize-handle-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"resize-handle-icon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/resize-handle-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAwBpE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const SelectorButtonIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
3
|
-
export declare const SelectorIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2
|
+
export declare const SelectorButtonIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
|
+
export declare const SelectorIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=selector-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-button.d.ts","sourceRoot":"","sources":["../../../src/components/icons/selector-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,kBAAkB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"selector-button.d.ts","sourceRoot":"","sources":["../../../src/components/icons/selector-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,kBAAkB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAgBtE,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAgBhE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const SelectorButtonIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
3
|
-
export declare const SelectorIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2
|
+
export declare const SelectorButtonIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
|
+
export declare const SelectorIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=selector-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-button.d.ts","sourceRoot":"","sources":["../../../src/components/icons/selector-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,kBAAkB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"selector-button.d.ts","sourceRoot":"","sources":["../../../src/components/icons/selector-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,kBAAkB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAgBtE,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAgBhE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare const SelectorButtonIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
3
|
-
export declare const SelectorIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
2
|
+
export declare const SelectorButtonIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
3
|
+
export declare const SelectorIcon: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=selector-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selector-button.d.ts","sourceRoot":"","sources":["../../../src/components/icons/selector-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,kBAAkB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"selector-button.d.ts","sourceRoot":"","sources":["../../../src/components/icons/selector-button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,kBAAkB,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAgBtE,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,CAAC,aAAa,CAAC,sBAgBhE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Placement } from "src/interfaces/placement";
|
|
2
|
+
import type { Placement } from "src/interfaces/placement";
|
|
3
3
|
type Props = {
|
|
4
4
|
placement: Placement;
|
|
5
5
|
defaultWidth?: number;
|
|
@@ -14,6 +14,6 @@ type Props = {
|
|
|
14
14
|
onResize?: (width: number, height: number) => void;
|
|
15
15
|
visible?: boolean;
|
|
16
16
|
};
|
|
17
|
-
export declare const ResizablePane: ({ placement, visible, children }: Props) => JSX.Element;
|
|
17
|
+
export declare const ResizablePane: ({ placement, visible, children }: Props) => React.JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=resizable-pane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable-pane.d.ts","sourceRoot":"","sources":["../../src/components/resizable-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"resizable-pane.d.ts","sourceRoot":"","sources":["../../src/components/resizable-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAa1D,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACzE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,qCAAsC,KAAK,sBA+PpE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Placement } from "src/interfaces/placement";
|
|
2
|
+
import type { Placement } from "src/interfaces/placement";
|
|
3
3
|
type Props = {
|
|
4
4
|
placement: Placement;
|
|
5
5
|
defaultWidth?: number;
|
|
@@ -14,6 +14,6 @@ type Props = {
|
|
|
14
14
|
onResize?: (width: number, height: number) => void;
|
|
15
15
|
visible?: boolean;
|
|
16
16
|
};
|
|
17
|
-
export declare const ResizablePane: ({ placement, visible, children }: Props) => JSX.Element;
|
|
17
|
+
export declare const ResizablePane: ({ placement, visible, children }: Props) => React.JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=resizable-pane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable-pane.d.ts","sourceRoot":"","sources":["../../src/components/resizable-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"resizable-pane.d.ts","sourceRoot":"","sources":["../../src/components/resizable-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAa1D,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACzE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,qCAAsC,KAAK,sBA+PpE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Placement } from "src/interfaces/placement";
|
|
2
|
+
import type { Placement } from "src/interfaces/placement";
|
|
3
3
|
type Props = {
|
|
4
4
|
placement: Placement;
|
|
5
5
|
defaultWidth?: number;
|
|
@@ -14,6 +14,6 @@ type Props = {
|
|
|
14
14
|
onResize?: (width: number, height: number) => void;
|
|
15
15
|
visible?: boolean;
|
|
16
16
|
};
|
|
17
|
-
export declare const ResizablePane: ({ placement, visible, children }: Props) => JSX.Element;
|
|
17
|
+
export declare const ResizablePane: ({ placement, visible, children }: Props) => React.JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=resizable-pane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable-pane.d.ts","sourceRoot":"","sources":["../../src/components/resizable-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"resizable-pane.d.ts","sourceRoot":"","sources":["../../src/components/resizable-pane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAa1D,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACzE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,qCAAsC,KAAK,sBA+PpE,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export declare const SelectableElements: ({ elements, onSelect, }: {
|
|
2
3
|
elements: Array<{
|
|
3
4
|
element: HTMLElement;
|
|
4
5
|
name: string;
|
|
5
6
|
}>;
|
|
6
7
|
onSelect: (name: string) => void;
|
|
7
|
-
}) => JSX.Element | null;
|
|
8
|
+
}) => React.JSX.Element | null;
|
|
8
9
|
//# sourceMappingURL=selectable-elements.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectable-elements.d.ts","sourceRoot":"","sources":["../../src/components/selectable-elements.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selectable-elements.d.ts","sourceRoot":"","sources":["../../src/components/selectable-elements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqJ1B,eAAO,MAAM,kBAAkB,4BAG5B;IACD,QAAQ,EAAE,MAAM;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,6BAmGA,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export declare const SelectableElements: ({ elements, onSelect, }: {
|
|
2
3
|
elements: Array<{
|
|
3
4
|
element: HTMLElement;
|
|
4
5
|
name: string;
|
|
5
6
|
}>;
|
|
6
7
|
onSelect: (name: string) => void;
|
|
7
|
-
}) => JSX.Element | null;
|
|
8
|
+
}) => React.JSX.Element | null;
|
|
8
9
|
//# sourceMappingURL=selectable-elements.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectable-elements.d.ts","sourceRoot":"","sources":["../../src/components/selectable-elements.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selectable-elements.d.ts","sourceRoot":"","sources":["../../src/components/selectable-elements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqJ1B,eAAO,MAAM,kBAAkB,4BAG5B;IACD,QAAQ,EAAE,MAAM;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,6BAmGA,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
export declare const SelectableElements: ({ elements, onSelect, }: {
|
|
2
3
|
elements: Array<{
|
|
3
4
|
element: HTMLElement;
|
|
4
5
|
name: string;
|
|
5
6
|
}>;
|
|
6
7
|
onSelect: (name: string) => void;
|
|
7
|
-
}) => JSX.Element | null;
|
|
8
|
+
}) => React.JSX.Element | null;
|
|
8
9
|
//# sourceMappingURL=selectable-elements.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectable-elements.d.ts","sourceRoot":"","sources":["../../src/components/selectable-elements.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selectable-elements.d.ts","sourceRoot":"","sources":["../../src/components/selectable-elements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqJ1B,eAAO,MAAM,kBAAkB,4BAG5B;IACD,QAAQ,EAAE,MAAM;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,6BAmGA,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
var
|
|
2
|
+
var ie=Object.create;var A=Object.defineProperty;var se=Object.getOwnPropertyDescriptor;var le=Object.getOwnPropertyNames;var ae=Object.getPrototypeOf,ce=Object.prototype.hasOwnProperty;var de=(e,n)=>{for(var d in n)A(e,d,{get:n[d],enumerable:!0})},k=(e,n,d,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of le(n))!ce.call(e,s)&&s!==d&&A(e,s,{get:()=>n[s],enumerable:!(o=se(n,s))||o.enumerable});return e};var y=(e,n,d)=>(d=e!=null?ie(ae(e)):{},k(n||!e||!e.__esModule?A(d,"default",{value:e,enumerable:!0}):d,e)),pe=e=>k(A({},"__esModule",{value:!0}),e);var ve={};de(ve,{DevtoolsPanel:()=>te,DevtoolsProvider:()=>re});module.exports=pe(ve);var g=y(require("react"));var H=y(require("react"));var T=y(require("react"));var b=y(require("react")),v=require("@aliemir/dom-to-fiber-utils"),U=require("@refinedev/devtools-shared"),$=e=>{let{devtoolsUrl:n}=b.default.useContext(U.DevToolsContext),[d,o]=b.default.useState([]),s=b.default.useCallback(async()=>(await(await fetch(`${n??"http://localhost:5001"}/api/unique-trace-items`)).json()).data,[n]),r=b.default.useCallback((i,h)=>{let t=i,u,l,x=!1;for(;!x&&t;)u=(0,v.getFirstFiberHasName)(t),l=(0,v.getFirstStateNodeFiber)(u),x=h.includes((0,v.getNameFromFiber)(u)??""),x||(t=(0,v.getParentOfFiber)(t));return l&&u?{stateNode:l,nameFiber:u}:{stateNode:null,nameFiber:null}},[]),a=b.default.useCallback(i=>{let h=[];return i.forEach(t=>{h.find(l=>l.element===t.element)||h.push(t)}),h},[]),p=b.default.useCallback((i,h)=>{var x;if(!i)return[];let t=[],u=(0,v.getFiberFromElement)(i),l=r(u,h);if(l.nameFiber&&l.stateNode){let w=(0,v.getElementFromFiber)(l.stateNode),M=(0,v.getNameFromFiber)(l.nameFiber);w&&M&&t.push({element:w,name:M})}for(let w=0;w<((x=i==null?void 0:i.children)==null?void 0:x.length);w++)t.push(...p(i.children[w],h));return t},[r]),c=b.default.useCallback(async()=>{let i=await s(),h=p(document.body,i),t=a(h);o(t)},[s,p,a]);return b.default.useEffect(()=>{e&&c()},[e,c]),{selectableElements:d}};var G=y(require("react")),F=({children:e})=>(G.default.useEffect(()=>{let n=document.createElement("style");return n.innerHTML=e,document.head.appendChild(n),()=>{document.head.removeChild(n)}},[e]),null);var f=y(require("react")),N=y(require("lodash/debounce")),O=require("react-dom");var C=y(require("react")),X=e=>C.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none",...e},C.default.createElement("path",{fill:"#0FBDBD",fillRule:"evenodd",d:"M9 1a1 1 0 0 0-2 0v2.1A5.006 5.006 0 0 0 3.1 7H1a1 1 0 0 0 0 2h2.1A5.006 5.006 0 0 0 7 12.9V15a1 1 0 1 0 2 0v-2.1A5.006 5.006 0 0 0 12.9 9H15a1 1 0 1 0 0-2h-2.1A5.006 5.006 0 0 0 9 3.1V1Zm2 7a3 3 0 1 0-6 0 3 3 0 0 0 6 0Z",clipRule:"evenodd"})),Y=e=>C.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"none",...e},C.default.createElement("path",{fill:"#14141F",fillRule:"evenodd",d:"M9 1a1 1 0 0 0-2 0v2.1A5.006 5.006 0 0 0 3.1 7H1a1 1 0 0 0 0 2h2.1A5.006 5.006 0 0 0 7 12.9V15a1 1 0 1 0 2 0v-2.1A5.006 5.006 0 0 0 12.9 9H15a1 1 0 1 0 0-2h-2.1A5.006 5.006 0 0 0 9 3.1V1Zm2 7a3 3 0 1 0-6 0 3 3 0 0 0 6 0Z",clipRule:"evenodd"}));var he=({element:e,name:n,onSelect:d})=>{let[o]=f.default.useState(()=>{let{top:a,left:p,width:c,height:i}=e.getBoundingClientRect(),{scrollLeft:h,scrollTop:t}=document.documentElement,u=p+h,l=a+t;return{left:u,top:l,width:c,height:i}}),s=f.default.useRef(null);f.default.useEffect(()=>{let a=(0,N.default)(()=>{var M,V,z,_,W;let{top:c,left:i,width:h,height:t}=e.getBoundingClientRect(),{scrollLeft:u,scrollTop:l}=document.documentElement,x=i+u,w=c+l;(M=s.current)==null||M.style.setProperty("left",`${x}px`),(V=s.current)==null||V.style.setProperty("top",`${w}px`),(z=s.current)==null||z.style.setProperty("width",`${h}px`),(_=s.current)==null||_.style.setProperty("height",`${t}px`),(W=s.current)==null||W.style.setProperty("opacity","1")},200,{leading:!1,trailing:!0}),p=(0,N.default)(()=>{var c;(c=s.current)==null||c.style.setProperty("opacity","0")},200,{leading:!0,trailing:!1});return document.addEventListener("scroll",a),document.addEventListener("scroll",p),()=>{document.removeEventListener("scroll",a),document.removeEventListener("scroll",p)}},[e]);let r=f.default.useMemo(()=>{let a={width:22,height:22},p=n.length*7.5,c={width:a.width+p,height:a.height},i=4;return o.top-c.height>0&&o.left+c.width<window.innerWidth&&o.width>c.width?{left:i/2,top:c.height*-1-i}:o.height>=c.height*1.5&&o.width>=c.width*1.5?{left:0+i,top:0+i}:o.left-c.width>0?{right:o.width+i,top:0-1}:o.left+o.width+c.width<window.innerWidth?{left:o.width+i,top:0-1}:o.top+o.height+c.height<document.documentElement.scrollHeight?{left:0-1,top:o.height+i}:{left:0,top:0}},[o,n.length]);return f.default.createElement("button",{type:"button",className:"selector-xray-box",onClick:a=>{a==null||a.preventDefault(),a==null||a.stopPropagation(),d(n)},ref:s,style:{position:"absolute",...o}},f.default.createElement("div",{style:{position:"absolute",...r},className:"selector-xray-info"},f.default.createElement("span",{className:"selector-xray-info-icon"},f.default.createElement(Y,{width:12,height:12,style:{pointerEvents:"none"}})),f.default.createElement("span",{className:"selector-xray-info-title"},` ${n}`)))},j=({elements:e,onSelect:n})=>{let[d,o]=f.default.useState(null);return f.default.useEffect(()=>{if(!d){let s=document.createElement("div");return s.id="selector-box-root",document.body.appendChild(s),o(s),()=>{document.body.removeChild(s),o(null)}}return()=>0},[]),d?f.default.createElement(f.default.Fragment,null,(0,O.createPortal)(e.map((s,r)=>f.default.createElement(he,{key:`selector-element-${r}-${s.name}`,...s,onSelect:n})),d),f.default.createElement(F,null,`
|
|
3
3
|
.selector-xray-box {
|
|
4
4
|
display: flex;
|
|
5
5
|
margin: 0;
|
|
@@ -55,7 +55,7 @@ var ce=Object.create;var I=Object.defineProperty;var de=Object.getOwnPropertyDes
|
|
|
55
55
|
max-width: 200px;
|
|
56
56
|
padding-right: 8px;
|
|
57
57
|
}
|
|
58
|
-
`)):null};var
|
|
58
|
+
`)):null};var q=({active:e,setActive:n,onHighlight:d,icon:o,style:s})=>{let{selectableElements:r}=$(e);return T.default.createElement("div",{style:s},T.default.createElement("div",{role:"button",title:"Element Selector",className:"refine-devtools-selector-button",onClick:p=>{var c;p.preventDefault(),p.stopPropagation(),(c=document==null?void 0:document.activeElement)==null||c.blur(),n(i=>!i)}},o),e&&T.default.createElement(j,{elements:r,onSelect:p=>{d(p),n(!1)}}),T.default.createElement(F,null,`
|
|
59
59
|
.refine-devtools-selector-button {
|
|
60
60
|
padding: 0;
|
|
61
61
|
margin: 0;
|
|
@@ -68,7 +68,7 @@ var ce=Object.create;var I=Object.defineProperty;var de=Object.getOwnPropertyDes
|
|
|
68
68
|
.refine-devtools-selector-button:hover {
|
|
69
69
|
transform: rotate(180deg);
|
|
70
70
|
}
|
|
71
|
-
`))};var
|
|
71
|
+
`))};var E=y(require("react")),J=e=>E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:157,height:25,viewBox:"0 0 157 25",fill:"none",...e},E.createElement("g",null,E.createElement("path",{fill:"#1D1E30",d:"M17 1h123v24H17z"}),E.createElement("path",{fill:"#1D1E30",d:"M6.265 9.205A12 12 0 0 1 17.649 1H25v24H1L6.265 9.205ZM150.735 9.205A12 12 0 0 0 139.351 1H132v24h24l-5.265-15.795Z"}),E.createElement("path",{fill:"currentColor",d:"M25 14.333A1.333 1.333 0 1 1 25 17a1.333 1.333 0 0 1 0-2.667Z"}),E.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M23.211 20.578a4 4 0 0 0 3.578 0l4-2A4 4 0 0 0 33 15v-4a4 4 0 0 0-2.211-3.578l-4-2a4 4 0 0 0-3.578 0l-4 2A4 4 0 0 0 17 11v4a4 4 0 0 0 2.211 3.578l4 2Zm-.878-4.911a2.667 2.667 0 0 0 5.334 0v-5.334a2.667 2.667 0 0 0-5.334 0v5.334Z",clipRule:"evenodd"}),E.createElement("path",{fill:"#CFD7E2",d:"M42.152 17a.287.287 0 0 1-.192-.072.287.287 0 0 1-.072-.192V9.032c0-.072.024-.132.072-.18a.264.264 0 0 1 .192-.084h4.2c.288 0 .56.056.816.168a2.135 2.135 0 0 1 1.14 1.128c.112.256.168.532.168.828v3.984c0 .296-.056.572-.168.828a2.135 2.135 0 0 1-1.14 1.128 2.014 2.014 0 0 1-.816.168h-4.2Zm1.38-1.644h2.82a.455.455 0 0 0 .336-.132.497.497 0 0 0 .132-.348v-3.984a.455.455 0 0 0-.132-.336.436.436 0 0 0-.336-.144h-2.82v4.944Zm13.18-5.196a.244.244 0 0 1-.253.252h-4.44v1.656h4.02c.072 0 .132.024.18.072a.227.227 0 0 1 .084.18v1.128a.264.264 0 0 1-.084.192.244.244 0 0 1-.18.072h-4.02v1.644h4.44c.072 0 .132.028.18.084a.244.244 0 0 1 .072.18v1.116a.287.287 0 0 1-.072.192.244.244 0 0 1-.18.072h-5.832a.244.244 0 0 1-.18-.072.287.287 0 0 1-.072-.192V9.032c0-.072.024-.132.072-.18a.227.227 0 0 1 .18-.084h5.832c.072 0 .132.028.18.084a.244.244 0 0 1 .072.18v1.128ZM63.014 17h-2.232a.387.387 0 0 1-.216-.072.356.356 0 0 1-.144-.168l-1.716-4.296a.853.853 0 0 1-.072-.24 1.783 1.783 0 0 1-.024-.264V9.032c0-.072.024-.132.072-.18a.227.227 0 0 1 .18-.084h1.128c.072 0 .132.028.18.084a.227.227 0 0 1 .084.18v2.616c0 .072.008.156.024.252s.04.176.072.24l1.284 3.216h.528l1.284-3.216a.853.853 0 0 0 .072-.24c.016-.096.024-.18.024-.252V9.032c0-.072.024-.132.072-.18a.264.264 0 0 1 .192-.084h1.128c.072 0 .132.028.18.084a.244.244 0 0 1 .072.18v2.928c0 .072-.008.16-.024.264a.853.853 0 0 1-.072.24l-1.716 4.296a.356.356 0 0 1-.144.168.387.387 0 0 1-.216.072ZM73.29 8.768c.072 0 .132.028.18.084a.227.227 0 0 1 .084.18v1.128a.227.227 0 0 1-.084.18.244.244 0 0 1-.18.072h-2.208v6.324a.264.264 0 0 1-.084.192.244.244 0 0 1-.18.072H69.69a.244.244 0 0 1-.18-.072.287.287 0 0 1-.072-.192v-6.324H67.23a.287.287 0 0 1-.192-.072.244.244 0 0 1-.072-.18V9.032c0-.072.024-.132.072-.18a.264.264 0 0 1 .192-.084h6.06Zm6.507.012c.296 0 .572.056.828.168a2.171 2.171 0 0 1 1.128 1.128c.112.256.168.528.168.816v3.996c0 .288-.056.56-.168.816a2.171 2.171 0 0 1-1.128 1.128 2.043 2.043 0 0 1-.828.168h-2.34c-.296 0-.572-.056-.828-.168a2.171 2.171 0 0 1-1.128-1.128 2.014 2.014 0 0 1-.168-.816v-3.996c0-.288.056-.56.168-.816a2.171 2.171 0 0 1 1.128-1.128c.256-.112.532-.168.828-.168h2.34Zm.48 2.112a.436.436 0 0 0-.144-.336.455.455 0 0 0-.336-.132h-2.34a.497.497 0 0 0-.348.132.455.455 0 0 0-.132.336v3.996c0 .136.044.248.132.336a.497.497 0 0 0 .348.132h2.34a.455.455 0 0 0 .336-.132.436.436 0 0 0 .144-.336v-3.996Zm7.888-2.112c.295 0 .572.056.828.168a2.171 2.171 0 0 1 1.128 1.128c.112.256.168.528.168.816v3.996c0 .288-.056.56-.168.816a2.171 2.171 0 0 1-1.128 1.128 2.043 2.043 0 0 1-.828.168h-2.34c-.297 0-.573-.056-.829-.168a2.171 2.171 0 0 1-1.127-1.128 2.014 2.014 0 0 1-.168-.816v-3.996c0-.288.056-.56.168-.816a2.171 2.171 0 0 1 1.127-1.128c.257-.112.532-.168.829-.168h2.34Zm.48 2.112a.436.436 0 0 0-.144-.336.455.455 0 0 0-.337-.132h-2.34a.497.497 0 0 0-.347.132.455.455 0 0 0-.133.336v3.996c0 .136.044.248.133.336a.497.497 0 0 0 .347.132h2.34a.455.455 0 0 0 .337-.132.436.436 0 0 0 .143-.336v-3.996ZM98.294 17H92.68a.287.287 0 0 1-.192-.072.287.287 0 0 1-.072-.192V9.032c0-.072.024-.132.072-.18a.264.264 0 0 1 .192-.084h1.116c.072 0 .132.028.18.084a.227.227 0 0 1 .084.18v6.324h4.236c.072 0 .132.028.18.084a.244.244 0 0 1 .072.18v1.116a.287.287 0 0 1-.072.192.244.244 0 0 1-.18.072Zm7.336-5.76a.287.287 0 0 1-.192-.072.287.287 0 0 1-.072-.192v-.084a.455.455 0 0 0-.132-.336.436.436 0 0 0-.336-.144h-2.352a.46.46 0 0 0-.336.144.455.455 0 0 0-.132.336v.696c0 .136.044.252.132.348a.482.482 0 0 0 .336.132h2.352c.288 0 .56.056.816.168a2.171 2.171 0 0 1 1.128 1.128c.112.256.168.528.168.816v.696c0 .296-.056.572-.168.828a2.171 2.171 0 0 1-1.128 1.128 2.014 2.014 0 0 1-.816.168h-2.352c-.288 0-.56-.056-.816-.168a2.171 2.171 0 0 1-1.128-1.128 2.043 2.043 0 0 1-.168-.828v-.084c0-.072.024-.132.072-.18a.264.264 0 0 1 .192-.084h1.116c.072 0 .132.028.18.084a.227.227 0 0 1 .084.18v.084c0 .136.044.252.132.348a.482.482 0 0 0 .336.132h2.352a.455.455 0 0 0 .336-.132.497.497 0 0 0 .132-.348v-.696a.455.455 0 0 0-.132-.336.455.455 0 0 0-.336-.132h-2.352c-.288 0-.56-.056-.816-.168a2.171 2.171 0 0 1-1.128-1.128 2.099 2.099 0 0 1-.168-.828v-.696c0-.296.056-.572.168-.828a2.171 2.171 0 0 1 1.128-1.128c.256-.112.528-.168.816-.168h2.352c.288 0 .56.056.816.168a2.171 2.171 0 0 1 1.128 1.128c.112.256.168.532.168.828v.084a.287.287 0 0 1-.072.192.244.244 0 0 1-.18.072h-1.128Z"})));var K=({onClick:e,onSelectorHighlight:n,selectorActive:d,setSelectorActive:o})=>H.default.createElement("div",{role:"button",className:"devtools-selector-pin-box",onClick:e},H.default.createElement(J,null),H.default.createElement(q,{style:{position:"absolute",top:5,right:18,width:"16px",height:"16px"},icon:H.default.createElement(X,{width:16,height:16,style:{pointerEvents:"none"}}),onHighlight:n,active:d,setActive:o}),H.default.createElement(F,null,`
|
|
72
72
|
.devtools-selector-pin-box {
|
|
73
73
|
z-index: 9999;
|
|
74
74
|
position: relative;
|
|
@@ -91,11 +91,11 @@ var ce=Object.create;var I=Object.defineProperty;var de=Object.getOwnPropertyDes
|
|
|
91
91
|
.devtools-selector-pin-box:hover {
|
|
92
92
|
color: #0FBDBD;
|
|
93
93
|
}
|
|
94
|
-
`));var m=y(require("react"));var
|
|
94
|
+
`));var m=y(require("react"));var Q=e=>e?"scaleX(1) translateY(0)":"scaleX(0) translateY(25vw)";var ue=()=>typeof window<"u"?window.innerWidth*.7:1007.9999999999999,me=()=>typeof window<"u"?window.innerHeight*.7:630;var I=e=>{switch(e){case"left":return{left:"calc(50px + 10px)",top:"50%",transform:"translateY(-50%)"};case"right":return{right:"calc(50px + 10px)",top:"50%",transform:"translateY(-50%)"};case"top":return{left:"50%",top:"calc(50px + 10px)",transform:"translateX(-50%)"};case"bottom":return{left:"50%",bottom:"calc(50px + 10px)",transform:"translateX(-50%)"}}},L=e=>{switch(e){case"left":case"right":return-70+(typeof window<"u"?window.innerWidth:1440)-10;case"top":case"bottom":return-10+(typeof window<"u"?window.innerWidth:1440)-10}},R=e=>{switch(e){case"left":case"right":return-10+(typeof window<"u"?window.innerHeight:900)-10;case"top":case"bottom":return-70+(typeof window<"u"?window.innerHeight:900)-10}},Z=(e,n)=>{let d={width:ue(),height:me()},o=L(e),s=R(e),r=Math.min(o,(n??d).width),a=Math.min(s,(n??d).height);return{width:r,height:a}},S=e=>{let n=Math.round(e);return n%2===0?n:n+1};var P=y(require("react")),B=e=>P.default.createElement("svg",{width:10,height:26,viewBox:"0 0 10 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.default.createElement("rect",{x:.5,y:.5,width:9,height:25,rx:4.5,fill:"#1D1E30"}),P.default.createElement("path",{d:"M7 5C7 6.10457 6.10457 7 5 7C3.89543 7 3 6.10457 3 5C3 3.89543 3.89543 3 5 3C6.10457 3 7 3.89543 7 5Z",fill:"#303450"}),P.default.createElement("path",{d:"M7 13C7 14.1046 6.10457 15 5 15C3.89543 15 3 14.1046 3 13C3 11.8954 3.89543 11 5 11C6.10457 11 7 11.8954 7 13Z",fill:"#303450"}),P.default.createElement("path",{d:"M7 21C7 22.1046 6.10457 23 5 23C3.89543 23 3 22.1046 3 21C3 19.8954 3.89543 19 5 19C6.10457 19 7 19.8954 7 21Z",fill:"#303450"}),P.default.createElement("rect",{x:.5,y:.5,width:9,height:25,rx:4.5,stroke:"#303450"}));var ee=({placement:e,visible:n,children:d})=>{let[o,s]=m.default.useState(!1),[r,a]=m.default.useState(null),[p,c]=m.default.useState(null),[i,h]=m.default.useState(()=>{let t=Z(e);return{width:S(t.width),height:S(t.height)}});return m.default.useEffect(()=>{let t=()=>{h(u=>{let l=Z(e,u);return{width:S(l.width),height:S(l.height)}})};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),m.default.useEffect(()=>{let t=()=>{a(null)};if(r!==null)return window.addEventListener("mouseup",t),()=>{window.removeEventListener("mouseup",t)}},[r]),m.default.useEffect(()=>{let t=document.body.style.cursor;return r!=null&&r.includes("x")?document.body.style.cursor="col-resize":r!=null&&r.includes("y")&&(document.body.style.cursor="row-resize"),()=>{document.body.style.cursor=t}},[r]),m.default.useEffect(()=>{let t=u=>{if((r==null?void 0:r[1])==="x"){let l=u.clientX-((p==null?void 0:p.x)??u.clientX),x=i.width+(r==="lx"?-l:l)*2;h(w=>({...w,width:S(Math.min(L(e),Math.max(640,x)))}))}else if((r==null?void 0:r[1])==="y"){let l=u.clientY-((p==null?void 0:p.y)??u.clientY),x=i.height+(r==="ty"?-l:l)*1;h(w=>({...w,height:S(Math.min(R(e),Math.max(360,x)))}))}};if(r!==null)return window.addEventListener("mousemove",t),()=>{window.removeEventListener("mousemove",t)}},[r,e]),m.default.createElement("div",{style:{position:"absolute",borderRadius:"8px",boxShadow:"0 0 10px rgba(0, 0, 0, 0.5)",border:"1px solid rgba(0, 0, 0, 0.5)",transitionProperty:"transform, opacity",transitionTimingFunction:"ease-in-out",transitionDuration:"0.2s",...I(e),opacity:n?1:0,transform:`${I(e).transform} ${Q(n??!1)}`,...i},onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)}},d({resizing:r}),m.default.createElement(m.default.Fragment,null,m.default.createElement("div",{style:{position:"absolute",left:0,top:"50%",width:"10px",height:"26px",transform:"translateY(-13px) translateX(-5px)",cursor:"col-resize",transition:"opacity ease-in-out 0.2s",pointerEvents:o||r?"auto":"none",opacity:o||r?1:0},onMouseDown:t=>{a("lx"),c({x:t.clientX,y:t.clientY}),t.preventDefault()}},m.default.createElement(B,null)),m.default.createElement("div",{style:{position:"absolute",right:0,top:"50%",width:"10px",height:"26px",transform:"translateY(-13px) translateX(5px)",cursor:"col-resize",transition:"opacity ease-in-out 0.2s",pointerEvents:o||r?"auto":"none",opacity:o||r?1:0},onMouseDown:t=>{a("rx"),c({x:t.clientX,y:t.clientY}),t.preventDefault()}},m.default.createElement(B,null)),m.default.createElement("div",{style:{position:"absolute",left:"50%",top:0,width:"26px",height:"10px",transform:"translateY(-5px) translateX(-13px)",cursor:"row-resize",transition:"opacity ease-in-out 0.2s",pointerEvents:o||r?"auto":"none",opacity:o||r?1:0},onMouseDown:t=>{a("ty"),c({x:t.clientX,y:t.clientY}),t.preventDefault()}},m.default.createElement(B,{style:{transform:"rotate(90deg)",transformOrigin:"13px 13px"}})),m.default.createElement("div",{style:{position:"absolute",left:"50%",bottom:0,width:"26px",height:"10px",transform:"translateY(5px) translateX(-13px)",cursor:"row-resize",transition:"opacity ease-in-out 0.2s",pointerEvents:o||r?"auto":"none",opacity:o||r?1:0},onMouseDown:t=>{a("by"),c({x:t.clientX,y:t.clientY}),t.preventDefault()}},m.default.createElement(B,{style:{transform:"rotate(90deg)",transformOrigin:"13px 13px"}}))))};var D=require("@refinedev/devtools-shared"),te=process.env.NODE_ENV!=="development"?()=>null:()=>{let[e,n]=g.default.useState(!1),[d,o]=g.default.useState(!1),[s]=g.default.useState("bottom"),{devtoolsUrl:r,ws:a}=g.default.useContext(D.DevToolsContext),[p,c]=g.default.useState(0),[i,h]=g.default.useState(!1),t=g.default.useCallback(l=>{a&&(0,D.send)(a,D.DevtoolsEvent.DEVTOOLS_HIGHLIGHT_IN_MONITOR,{name:l}),o(!0)},[a]),u=g.default.useCallback(()=>{o(!1)},[]);return g.default.useEffect(()=>{i&&o(!1)},[i]),g.default.useEffect(()=>{typeof window<"u"&&n(!0)},[]),g.default.useEffect(()=>{if(e){c(window.innerWidth);let l=()=>{c(window.innerWidth)};return window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}}return()=>{}},[e]),e?g.default.createElement("div",{style:{position:"fixed",left:`${Math.round(p/2)}px`,transform:"translateX(-50%)",bottom:0,zIndex:99999}},g.default.createElement(K,{onClick:()=>{o(l=>!l),h(!1)},onSelectorHighlight:t,selectorActive:i,setSelectorActive:h}),g.default.createElement(ee,{visible:d,placement:s},({resizing:l})=>g.default.createElement("iframe",{allow:"clipboard-write;",src:r,srcDoc:r?void 0:`
|
|
95
95
|
<html style="height:100%;padding:0;margin:0;">
|
|
96
96
|
<body style="display:flex;justify-content:center;height:100%;padding:24px;margin:0;align-items:center;box-sizing:border-box;">
|
|
97
97
|
<h1 style="font-family:ui-monospace,monospace;color:#CFD7E2;text-align:center;">Could not connect to the devtools server</h1>
|
|
98
98
|
</body>
|
|
99
99
|
</html>
|
|
100
|
-
`,style:{width:"100%",height:"100%",border:"none",borderRadius:"7px",pointerEvents:l?"none":"auto",background:"#14141F"}}))):null};var
|
|
100
|
+
`,style:{width:"100%",height:"100%",border:"none",borderRadius:"7px",pointerEvents:l?"none":"auto",background:"#14141F"}}))):null};var oe=y(require("react")),ne=require("@refinedev/devtools-shared"),re=process.env.NODE_ENV!=="development"?({children:e})=>e:({children:e})=>oe.default.createElement(ne.DevToolsContextProvider,null,e);
|
|
101
101
|
//# sourceMappingURL=index.cjs.map
|