@byeolnaerim/flex-layout 0.0.9 → 0.0.10

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.
Files changed (122) hide show
  1. package/dist/flex-layout/components/FlexLayout.cjs +1 -110
  2. package/dist/flex-layout/components/FlexLayout.js +1 -85
  3. package/dist/flex-layout/components/FlexLayoutContainer.cjs +1 -262
  4. package/dist/flex-layout/components/FlexLayoutContainer.js +1 -232
  5. package/dist/flex-layout/components/FlexLayoutIFramePane.cjs +1 -68
  6. package/dist/flex-layout/components/FlexLayoutIFramePane.js +1 -44
  7. package/dist/flex-layout/components/FlexLayoutResizePanel.cjs +1 -246
  8. package/dist/flex-layout/components/FlexLayoutResizePanel.js +1 -216
  9. package/dist/flex-layout/components/FlexLayoutSplitScreen.cjs +1 -1252
  10. package/dist/flex-layout/components/FlexLayoutSplitScreen.js +1 -1236
  11. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBox.cjs +1 -532
  12. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBox.js +1 -509
  13. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxContainer.cjs +1 -55
  14. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxContainer.js +1 -25
  15. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxItem.cjs +1 -63
  16. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxItem.js +1 -33
  17. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxTitleMore.cjs +1 -53
  18. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxTitleMore.js +1 -23
  19. package/dist/flex-layout/components/FlexLayoutSplitScreenScrollBox.cjs +1 -133
  20. package/dist/flex-layout/components/FlexLayoutSplitScreenScrollBox.js +1 -107
  21. package/dist/flex-layout/components/FlexLayoutStickyBox.cjs +1 -245
  22. package/dist/flex-layout/components/FlexLayoutStickyBox.js +1 -229
  23. package/dist/flex-layout/components/index.cjs +1 -57
  24. package/dist/flex-layout/components/index.js +1 -17
  25. package/dist/flex-layout/hooks/index.cjs +1 -25
  26. package/dist/flex-layout/hooks/index.js +1 -3
  27. package/dist/flex-layout/hooks/useDrag.cjs +1 -289
  28. package/dist/flex-layout/hooks/useDrag.d.ts +15 -0
  29. package/dist/flex-layout/hooks/useDrag.js +1 -258
  30. package/dist/flex-layout/hooks/useFlexLayoutSplitScreen.cjs +1 -139
  31. package/dist/flex-layout/hooks/useFlexLayoutSplitScreen.js +1 -118
  32. package/dist/flex-layout/hooks/useListPaging.cjs +1 -212
  33. package/dist/flex-layout/hooks/useListPaging.js +1 -191
  34. package/dist/flex-layout/hooks/useSizes.cjs +1 -126
  35. package/dist/flex-layout/hooks/useSizes.js +1 -101
  36. package/dist/flex-layout/index.cjs +1 -31
  37. package/dist/flex-layout/index.js +1 -6
  38. package/dist/flex-layout/providers/FlexLayoutContext.cjs +1 -49
  39. package/dist/flex-layout/providers/FlexLayoutContext.js +1 -24
  40. package/dist/flex-layout/providers/FlexLayoutHooks.cjs +1 -276
  41. package/dist/flex-layout/providers/FlexLayoutHooks.d.ts +5 -1
  42. package/dist/flex-layout/providers/FlexLayoutHooks.js +1 -263
  43. package/dist/flex-layout/providers/index.cjs +1 -23
  44. package/dist/flex-layout/providers/index.js +1 -2
  45. package/dist/flex-layout/store/FlexLayoutContainerStore.cjs +1 -257
  46. package/dist/flex-layout/store/FlexLayoutContainerStore.js +1 -206
  47. package/dist/flex-layout/store/index.cjs +1 -23
  48. package/dist/flex-layout/store/index.js +1 -2
  49. package/dist/flex-layout/styles/FlexLayout.module.css +473 -416
  50. package/dist/flex-layout/types/FlexDirectionTypes.cjs +1 -17
  51. package/dist/flex-layout/types/FlexDirectionTypes.js +0 -1
  52. package/dist/flex-layout/types/FlexLayoutTypes.cjs +1 -17
  53. package/dist/flex-layout/types/FlexLayoutTypes.js +0 -1
  54. package/dist/flex-layout/utils/FlexLayoutUtils.cjs +1 -245
  55. package/dist/flex-layout/utils/FlexLayoutUtils.js +1 -211
  56. package/dist/flex-layout/utils/index.cjs +1 -23
  57. package/dist/flex-layout/utils/index.js +1 -2
  58. package/dist/index.cjs +1 -23
  59. package/dist/index.js +1 -2
  60. package/dist/types/css.d.cjs +0 -1
  61. package/dist/types/css.d.js +0 -1
  62. package/package.json +116 -113
  63. package/dist/flex-layout/components/FlexLayout.cjs.map +0 -1
  64. package/dist/flex-layout/components/FlexLayout.js.map +0 -1
  65. package/dist/flex-layout/components/FlexLayoutContainer.cjs.map +0 -1
  66. package/dist/flex-layout/components/FlexLayoutContainer.js.map +0 -1
  67. package/dist/flex-layout/components/FlexLayoutIFramePane.cjs.map +0 -1
  68. package/dist/flex-layout/components/FlexLayoutIFramePane.js.map +0 -1
  69. package/dist/flex-layout/components/FlexLayoutResizePanel.cjs.map +0 -1
  70. package/dist/flex-layout/components/FlexLayoutResizePanel.js.map +0 -1
  71. package/dist/flex-layout/components/FlexLayoutSplitScreen.cjs.map +0 -1
  72. package/dist/flex-layout/components/FlexLayoutSplitScreen.js.map +0 -1
  73. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBox.cjs.map +0 -1
  74. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBox.js.map +0 -1
  75. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxContainer.cjs.map +0 -1
  76. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxContainer.js.map +0 -1
  77. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxItem.cjs.map +0 -1
  78. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxItem.js.map +0 -1
  79. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxTitleMore.cjs.map +0 -1
  80. package/dist/flex-layout/components/FlexLayoutSplitScreenDragBoxTitleMore.js.map +0 -1
  81. package/dist/flex-layout/components/FlexLayoutSplitScreenScrollBox.cjs.map +0 -1
  82. package/dist/flex-layout/components/FlexLayoutSplitScreenScrollBox.js.map +0 -1
  83. package/dist/flex-layout/components/FlexLayoutStickyBox.cjs.map +0 -1
  84. package/dist/flex-layout/components/FlexLayoutStickyBox.js.map +0 -1
  85. package/dist/flex-layout/components/index.cjs.map +0 -1
  86. package/dist/flex-layout/components/index.js.map +0 -1
  87. package/dist/flex-layout/hooks/index.cjs.map +0 -1
  88. package/dist/flex-layout/hooks/index.js.map +0 -1
  89. package/dist/flex-layout/hooks/useDrag.cjs.map +0 -1
  90. package/dist/flex-layout/hooks/useDrag.js.map +0 -1
  91. package/dist/flex-layout/hooks/useFlexLayoutSplitScreen.cjs.map +0 -1
  92. package/dist/flex-layout/hooks/useFlexLayoutSplitScreen.js.map +0 -1
  93. package/dist/flex-layout/hooks/useListPaging.cjs.map +0 -1
  94. package/dist/flex-layout/hooks/useListPaging.js.map +0 -1
  95. package/dist/flex-layout/hooks/useSizes.cjs.map +0 -1
  96. package/dist/flex-layout/hooks/useSizes.js.map +0 -1
  97. package/dist/flex-layout/index.cjs.map +0 -1
  98. package/dist/flex-layout/index.js.map +0 -1
  99. package/dist/flex-layout/providers/FlexLayoutContext.cjs.map +0 -1
  100. package/dist/flex-layout/providers/FlexLayoutContext.js.map +0 -1
  101. package/dist/flex-layout/providers/FlexLayoutHooks.cjs.map +0 -1
  102. package/dist/flex-layout/providers/FlexLayoutHooks.js.map +0 -1
  103. package/dist/flex-layout/providers/index.cjs.map +0 -1
  104. package/dist/flex-layout/providers/index.js.map +0 -1
  105. package/dist/flex-layout/store/FlexLayoutContainerStore.cjs.map +0 -1
  106. package/dist/flex-layout/store/FlexLayoutContainerStore.js.map +0 -1
  107. package/dist/flex-layout/store/index.cjs.map +0 -1
  108. package/dist/flex-layout/store/index.js.map +0 -1
  109. package/dist/flex-layout/types/FlexDirectionTypes.cjs.map +0 -1
  110. package/dist/flex-layout/types/FlexDirectionTypes.js.map +0 -1
  111. package/dist/flex-layout/types/FlexLayoutTypes.cjs.map +0 -1
  112. package/dist/flex-layout/types/FlexLayoutTypes.js.map +0 -1
  113. package/dist/flex-layout/utils/FlexLayoutUtils.cjs.map +0 -1
  114. package/dist/flex-layout/utils/FlexLayoutUtils.js.map +0 -1
  115. package/dist/flex-layout/utils/index.cjs.map +0 -1
  116. package/dist/flex-layout/utils/index.js.map +0 -1
  117. package/dist/index.cjs.map +0 -1
  118. package/dist/index.js.map +0 -1
  119. package/dist/metafile-cjs.json +0 -1
  120. package/dist/metafile-esm.json +0 -1
  121. package/dist/types/css.d.cjs.map +0 -1
  122. package/dist/types/css.d.js.map +0 -1
@@ -1,49 +1 @@
1
- "use strict";
2
- "use client";
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
- var FlexLayoutContext_exports = {};
21
- __export(FlexLayoutContext_exports, {
22
- FlexLayoutProvider: () => FlexLayoutProvider,
23
- useFlexLayoutContext: () => useFlexLayoutContext
24
- });
25
- module.exports = __toCommonJS(FlexLayoutContext_exports);
26
- var import_jsx_runtime = require("react/jsx-runtime");
27
- var import_react = require("react");
28
- const FlexLayoutContext = (0, import_react.createContext)(null);
29
- function useFlexLayoutContext() {
30
- const context = (0, import_react.useContext)(FlexLayoutContext);
31
- if (!context) {
32
- throw new Error(
33
- "useFlexLayoutContext must be used within FlexLayoutContext.Provider"
34
- );
35
- }
36
- return context;
37
- }
38
- function FlexLayoutProvider({
39
- value,
40
- children
41
- }) {
42
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FlexLayoutContext.Provider, { value, children });
43
- }
44
- // Annotate the CommonJS export names for ESM import in node:
45
- 0 && (module.exports = {
46
- FlexLayoutProvider,
47
- useFlexLayoutContext
48
- });
49
- //# sourceMappingURL=FlexLayoutContext.cjs.map
1
+ "use strict";"use client";var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var L=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},c=(e,t,r,x)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of y(t))!F.call(e,o)&&o!==r&&n(e,o,{get:()=>t[o],enumerable:!(x=i(t,o))||x.enumerable});return e};var d=e=>c(n({},"__esModule",{value:!0}),e);var v={};L(v,{FlexLayoutProvider:()=>s,useFlexLayoutContext:()=>C});module.exports=d(v);var a=require("react/jsx-runtime"),u=require("react");const l=(0,u.createContext)(null);function C(){const e=(0,u.useContext)(l);if(!e)throw new Error("useFlexLayoutContext must be used within FlexLayoutContext.Provider");return e}function s({value:e,children:t}){return(0,a.jsx)(l.Provider,{value:e,children:t})}0&&(module.exports={FlexLayoutProvider,useFlexLayoutContext});
@@ -1,24 +1 @@
1
- "use client";
2
- import { jsx } from "react/jsx-runtime";
3
- import { createContext, useContext } from "react";
4
- const FlexLayoutContext = createContext(null);
5
- function useFlexLayoutContext() {
6
- const context = useContext(FlexLayoutContext);
7
- if (!context) {
8
- throw new Error(
9
- "useFlexLayoutContext must be used within FlexLayoutContext.Provider"
10
- );
11
- }
12
- return context;
13
- }
14
- function FlexLayoutProvider({
15
- value,
16
- children
17
- }) {
18
- return /* @__PURE__ */ jsx(FlexLayoutContext.Provider, { value, children });
19
- }
20
- export {
21
- FlexLayoutProvider,
22
- useFlexLayoutContext
23
- };
24
- //# sourceMappingURL=FlexLayoutContext.js.map
1
+ "use client";import{jsx as n}from"react/jsx-runtime";import{createContext as r,useContext as u}from"react";const t=r(null);function y(){const e=u(t);if(!e)throw new Error("useFlexLayoutContext must be used within FlexLayoutContext.Provider");return e}function F({value:e,children:o}){return n(t.Provider,{value:e,children:o})}export{F as FlexLayoutProvider,y as useFlexLayoutContext};
@@ -1,276 +1 @@
1
- "use strict";
2
- "use client";
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
- var FlexLayoutHooks_exports = {};
21
- __export(FlexLayoutHooks_exports, {
22
- ContainerOpenCloseProvider: () => ContainerOpenCloseProvider,
23
- containerOpenCloseSubjectMap: () => containerOpenCloseSubjectMap,
24
- containerSpreadSubjectMap: () => containerSpreadSubjectMap,
25
- useContainerSize: () => useContainerSize,
26
- useContainers: () => useContainers,
27
- useDecompositionLayout: () => useDecompositionLayout,
28
- useDoubleClick: () => useDoubleClick,
29
- useLayoutName: () => useLayoutName
30
- });
31
- module.exports = __toCommonJS(FlexLayoutHooks_exports);
32
- var import_react = require("react");
33
- var import_FlexLayoutContainerStore = require("../store/FlexLayoutContainerStore");
34
- var import_FlexLayoutUtils = require("../utils/FlexLayoutUtils");
35
- var import_rxjs = require("rxjs");
36
- const g = globalThis;
37
- g.__FLEX_SUBJECTS__ ?? (g.__FLEX_SUBJECTS__ = { openClose: {}, spread: {} });
38
- const containerOpenCloseSubjectMap = g.__FLEX_SUBJECTS__.openClose;
39
- const containerSpreadSubjectMap = g.__FLEX_SUBJECTS__.spread;
40
- const ContainerOpenCloseProvider = ({
41
- layoutName,
42
- containerName,
43
- sizeName
44
- }) => {
45
- if (!containerOpenCloseSubjectMap[containerName]) {
46
- containerOpenCloseSubjectMap[containerName] = new import_rxjs.Subject();
47
- }
48
- if (!containerSpreadSubjectMap[containerName]) {
49
- containerSpreadSubjectMap[containerName] = new import_rxjs.Subject();
50
- }
51
- const [containers, setContainers] = (0, import_react.useState)([]);
52
- const [container, setContainer] = (0, import_react.useState)();
53
- (0, import_react.useEffect)(() => {
54
- const subscription = (0, import_FlexLayoutContainerStore.getLayoutInfos)(layoutName).subscribe(
55
- (layout) => {
56
- if (!layout || !layout.container[containerName] || !layout.container[containerName].current)
57
- return;
58
- setContainers(
59
- Object.values(layout.container).filter(
60
- (e) => e.current !== null
61
- ).map((e) => e.current)
62
- );
63
- setContainer(layout.container[containerName].current);
64
- }
65
- );
66
- return () => subscription.unsubscribe();
67
- }, [containerName, layoutName]);
68
- (0, import_react.useEffect)(() => {
69
- const styleName = `${sizeName.charAt(0).toUpperCase() + sizeName.substring(1)}`;
70
- const clientSize = "client" + styleName;
71
- const outerSize = "outer" + styleName;
72
- const maxSize = "max" + styleName;
73
- const subscribe = containerOpenCloseSubjectMap[containerName].subscribe(
74
- ({
75
- mode,
76
- initOpenState: isOpenState,
77
- onClose,
78
- onOpen,
79
- openOption = {},
80
- closeOption = {}
81
- }) => {
82
- if (!container || containers.length === 0) return;
83
- const currentGrow = (0, import_FlexLayoutUtils.getGrow)(container);
84
- const styleMap = window.getComputedStyle(container);
85
- const maxSizeGrow = (0, import_FlexLayoutUtils.mathGrow)(
86
- parseInt(styleMap[maxSize]),
87
- container.parentElement && container.parentElement[clientSize] || window[outerSize],
88
- containers.length
89
- );
90
- const open = () => (0, import_FlexLayoutUtils.openFlex)(container, containers, {
91
- sizeName,
92
- ...isNaN(maxSizeGrow) ? {} : {
93
- openGrowImportant: maxSizeGrow
94
- },
95
- ...openOption
96
- }).then((openTargetGrow) => {
97
- if (onOpen) onOpen();
98
- containerSpreadSubjectMap[containerName].next({
99
- isOpen: true,
100
- grow: openTargetGrow,
101
- targetContainer: container
102
- });
103
- });
104
- const close = () => (0, import_FlexLayoutUtils.closeFlex)(container, containers, {
105
- sizeName,
106
- ...closeOption
107
- }).then(() => {
108
- if (onClose) onClose();
109
- containerSpreadSubjectMap[containerName].next({
110
- isOpen: false,
111
- grow: 0,
112
- targetContainer: container
113
- });
114
- });
115
- if (mode === "toggle") {
116
- if (currentGrow === 0) {
117
- open();
118
- } else {
119
- close();
120
- }
121
- } else if (mode === "open") {
122
- if (currentGrow === 0) {
123
- open();
124
- }
125
- } else if (mode === "close") {
126
- if (currentGrow !== 0) {
127
- close();
128
- }
129
- }
130
- }
131
- );
132
- return () => {
133
- subscribe.unsubscribe();
134
- };
135
- }, [containerName, container, containers, sizeName]);
136
- return null;
137
- };
138
- const useContainers = (layoutName) => {
139
- const [containers, setContainers] = (0, import_react.useState)([]);
140
- (0, import_react.useEffect)(() => {
141
- const subscription = (0, import_FlexLayoutContainerStore.getLayoutInfos)(layoutName).subscribe(
142
- (layout) => {
143
- setContainers(
144
- Object.values(layout.container).filter(
145
- (e) => e.current !== null
146
- ).map((e) => e.current)
147
- );
148
- }
149
- );
150
- return () => subscription.unsubscribe();
151
- }, [layoutName]);
152
- return containers;
153
- };
154
- const useLayoutName = (containerName) => {
155
- const [layoutName, setLayoutName] = (0, import_react.useState)();
156
- (0, import_react.useEffect)(() => {
157
- const subscribe = import_FlexLayoutContainerStore.flexContainerStore.pipe(
158
- (0, import_rxjs.map)(
159
- (layouts) => Object.entries(layouts).filter(([_, v]) => v[containerName]).map(([k]) => k)[0]
160
- // 첫 번째 결과 가져오기
161
- )
162
- ).subscribe(setLayoutName);
163
- return () => subscribe.unsubscribe();
164
- }, [containerName]);
165
- return layoutName;
166
- };
167
- const useDecompositionLayout = ({
168
- layoutName: initialLayoutName,
169
- containerName
170
- }) => {
171
- const derivedLayoutName = useLayoutName(containerName);
172
- const finalLayoutName = initialLayoutName || derivedLayoutName;
173
- const [containers, setContainers] = (0, import_react.useState)([]);
174
- const [container, setContainer] = (0, import_react.useState)();
175
- const [resizePanel, setResizePanel] = (0, import_react.useState)();
176
- (0, import_react.useEffect)(() => {
177
- if (!finalLayoutName) return;
178
- const subscription = (0, import_FlexLayoutContainerStore.getLayoutInfos)(finalLayoutName).subscribe(
179
- (layout) => {
180
- if (!layout) return;
181
- setContainers(
182
- Object.values(layout.container).filter(
183
- (e) => e.current !== null
184
- ).map((e) => e.current)
185
- );
186
- if (containerName && layout.container[containerName] && layout.container[containerName].current) {
187
- setContainer(layout.container[containerName].current);
188
- if (layout.resizePanel[containerName] && layout.resizePanel[containerName].current) {
189
- setResizePanel(
190
- layout.resizePanel[containerName].current
191
- );
192
- }
193
- }
194
- }
195
- );
196
- return () => subscription.unsubscribe();
197
- }, [containerName, finalLayoutName]);
198
- return { layout: containers, container, resizePanel };
199
- };
200
- const useContainerSize = (containerName) => {
201
- const { layout, container, resizePanel } = useDecompositionLayout({
202
- containerName
203
- });
204
- const [size, setSize] = (0, import_react.useState)();
205
- (0, import_react.useEffect)(() => {
206
- if (!container) return;
207
- const observer = new ResizeObserver((entries) => {
208
- for (const entry of entries) {
209
- setSize({
210
- width: entry.contentRect.width,
211
- height: entry.contentRect.height
212
- });
213
- }
214
- });
215
- observer.observe(container);
216
- return () => observer.disconnect();
217
- }, [container]);
218
- return { size };
219
- };
220
- const useDoubleClick = (containerName, opt) => {
221
- const [isOpen, setIsOpen] = (0, import_react.useState)();
222
- const [isDoubleClick, setIsDoubleClick] = (0, import_react.useState)();
223
- (0, import_react.useEffect)(() => {
224
- const resizePanelClickEvent = (0, import_FlexLayoutContainerStore.getResizePanelRef)({
225
- containerName
226
- }).pipe(
227
- (0, import_rxjs.filter)(
228
- (resizePanelref) => resizePanelref != void 0 && resizePanelref.current != void 0
229
- ),
230
- //take(1),
231
- (0, import_rxjs.switchMap)((resizePanelref) => {
232
- if (!resizePanelref || !resizePanelref.current) return import_rxjs.EMPTY;
233
- return (0, import_rxjs.fromEvent)(resizePanelref.current, "click");
234
- })
235
- );
236
- const subscribe = resizePanelClickEvent.pipe(
237
- (0, import_rxjs.buffer)(resizePanelClickEvent.pipe((0, import_rxjs.debounceTime)(500))),
238
- (0, import_rxjs.filter)((clickEventArray) => clickEventArray.length >= 2),
239
- (0, import_rxjs.map)((events) => {
240
- containerOpenCloseSubjectMap[containerName].next({
241
- ...opt,
242
- openOption: {
243
- ...opt.openOption,
244
- isPrevSizeOpen: false
245
- },
246
- onClose: () => {
247
- if (opt.onClose) opt.onClose();
248
- setIsOpen(false);
249
- setIsDoubleClick(true);
250
- },
251
- onOpen: () => {
252
- if (opt.onOpen) opt.onOpen();
253
- setIsOpen(true);
254
- setIsDoubleClick(true);
255
- }
256
- });
257
- })
258
- ).subscribe();
259
- return () => {
260
- subscribe.unsubscribe();
261
- };
262
- }, [containerName]);
263
- return { isOpen, isDoubleClick, setIsDoubleClick };
264
- };
265
- // Annotate the CommonJS export names for ESM import in node:
266
- 0 && (module.exports = {
267
- ContainerOpenCloseProvider,
268
- containerOpenCloseSubjectMap,
269
- containerSpreadSubjectMap,
270
- useContainerSize,
271
- useContainers,
272
- useDecompositionLayout,
273
- useDoubleClick,
274
- useLayoutName
275
- });
276
- //# sourceMappingURL=FlexLayoutHooks.cjs.map
1
+ "use strict";"use client";var m=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var y=(t,e)=>{for(var r in e)m(t,r,{get:e[r],enumerable:!0})},G=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let c of D(e))!I.call(t,c)&&c!==r&&m(t,c,{get:()=>e[c],enumerable:!(s=k(e,c))||s.enumerable});return t};var F=t=>G(m({},"__esModule",{value:!0}),t);var X={};y(X,{ContainerOpenCloseProvider:()=>q,containerOpenCloseSubjectMap:()=>h,containerSpreadSubjectMap:()=>d,useContainerSize:()=>B,useContainers:()=>U,useDecompositionLayout:()=>_,useDoubleClick:()=>W,useDoubleClickToggle:()=>J,useLayoutName:()=>v});module.exports=F(X);var i=require("react"),b=require("../store/FlexLayoutContainerStore"),f=require("../utils/FlexLayoutUtils"),o=require("rxjs");const S=globalThis;S.__FLEX_SUBJECTS__??(S.__FLEX_SUBJECTS__={openClose:{},spread:{}});const h=S.__FLEX_SUBJECTS__.openClose,d=S.__FLEX_SUBJECTS__.spread,q=({layoutName:t,containerName:e,sizeName:r})=>{h[e]||(h[e]=new o.Subject),d[e]||(d[e]=new o.Subject);const[s,c]=(0,i.useState)([]),[n,l]=(0,i.useState)();return(0,i.useEffect)(()=>{const p=(0,b.getLayoutInfos)(t).subscribe(u=>{!u||!u.container[e]||!u.container[e].current||(c(Object.values(u.container).filter(g=>g.current!==null).map(g=>g.current)),l(u.container[e].current))});return()=>p.unsubscribe()},[e,t]),(0,i.useEffect)(()=>{const p=`${r.charAt(0).toUpperCase()+r.substring(1)}`,u="client"+p,g="outer"+p,E="max"+p,a=h[e].subscribe(({mode:C,initOpenState:$,onClose:w,onOpen:x,openOption:R={},closeOption:H={}})=>{if(!n||s.length===0)return;const O=(0,f.getGrow)(n),P=window.getComputedStyle(n),L=(0,f.mathGrow)(parseInt(P[E]),n.parentElement&&n.parentElement[u]||window[g],s.length),T=()=>(0,f.openFlex)(n,s,{sizeName:r,...isNaN(L)?{}:{openGrowImportant:L},...R}).then(j=>{x&&x(),d[e].next({isOpen:!0,grow:j,targetContainer:n})}),M=()=>(0,f.closeFlex)(n,s,{sizeName:r,...H}).then(()=>{w&&w(),d[e].next({isOpen:!1,grow:0,targetContainer:n})});C==="toggle"?O===0?T():M():C==="open"?O===0&&T():C==="close"&&O!==0&&M()});return()=>{a.unsubscribe()}},[e,n,s,r]),null},U=t=>{const[e,r]=(0,i.useState)([]);return(0,i.useEffect)(()=>{const s=(0,b.getLayoutInfos)(t).subscribe(c=>{r(Object.values(c.container).filter(n=>n.current!==null).map(n=>n.current))});return()=>s.unsubscribe()},[t]),e},v=t=>{const[e,r]=(0,i.useState)();return(0,i.useEffect)(()=>{const s=b.flexContainerStore.pipe((0,o.map)(c=>Object.entries(c).filter(([n,l])=>l[t]).map(([n])=>n)[0])).subscribe(r);return()=>s.unsubscribe()},[t]),e},_=({layoutName:t,containerName:e})=>{const r=v(e),s=t||r,[c,n]=(0,i.useState)([]),[l,p]=(0,i.useState)(),[u,g]=(0,i.useState)();return(0,i.useEffect)(()=>{if(!s)return;const E=(0,b.getLayoutInfos)(s).subscribe(a=>{a&&(n(Object.values(a.container).filter(C=>C.current!==null).map(C=>C.current)),e&&a.container[e]&&a.container[e].current&&(p(a.container[e].current),a.resizePanel[e]&&a.resizePanel[e].current&&g(a.resizePanel[e].current)))});return()=>E.unsubscribe()},[e,s]),{layout:c,container:l,resizePanel:u}},B=t=>{const{layout:e,container:r,resizePanel:s}=_({containerName:t}),[c,n]=(0,i.useState)();return(0,i.useEffect)(()=>{if(!r)return;const l=new ResizeObserver(p=>{for(const u of p)n({width:u.contentRect.width,height:u.contentRect.height})});return l.observe(r),()=>l.disconnect()},[r]),{size:c}},z=t=>(0,b.getResizePanelRef)({containerName:t}).pipe((0,o.filter)(e=>e!=null&&e.current!=null),(0,o.switchMap)(e=>!e||!e.current?o.EMPTY:(0,o.fromEvent)(e.current,"click"))),J=(t,e)=>{const[r,s]=(0,i.useState)(),[c,n]=(0,i.useState)();return(0,i.useEffect)(()=>{const l=z(t),p=l.pipe((0,o.buffer)(l.pipe((0,o.debounceTime)(500))),(0,o.filter)(u=>u.length>=2)).subscribe(()=>{h[t].next({...e,openOption:{...e.openOption,isPrevSizeOpen:!1},onClose:()=>{e.onClose&&e.onClose(),s(!1),n(!0)},onOpen:()=>{e.onOpen&&e.onOpen(),s(!0),n(!0)}})});return()=>{p.unsubscribe()}},[t]),{isOpen:r,isDoubleClick:c,setIsDoubleClick:n}},W=t=>{const[e,r]=(0,i.useState)();return(0,i.useEffect)(()=>{const s=z(t),c=s.pipe((0,o.buffer)(s.pipe((0,o.debounceTime)(500))),(0,o.filter)(n=>n.length>=2)).subscribe(()=>{r(!0)});return()=>{c.unsubscribe()}},[t]),{isDoubleClick:e,setIsDoubleClick:r}};0&&(module.exports={ContainerOpenCloseProvider,containerOpenCloseSubjectMap,containerSpreadSubjectMap,useContainerSize,useContainers,useDecompositionLayout,useDoubleClick,useDoubleClickToggle,useLayoutName});
@@ -43,9 +43,13 @@ export declare const useContainerSize: (containerName: string) => {
43
43
  height: number;
44
44
  } | undefined;
45
45
  };
46
- export declare const useDoubleClick: (containerName: string, opt: ContainerStateRequest) => {
46
+ export declare const useDoubleClickToggle: (containerName: string, opt: ContainerStateRequest) => {
47
47
  isOpen: boolean | undefined;
48
48
  isDoubleClick: boolean | undefined;
49
49
  setIsDoubleClick: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
50
50
  };
51
+ export declare const useDoubleClick: (containerName: string) => {
52
+ isDoubleClick: boolean | undefined;
53
+ setIsDoubleClick: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
54
+ };
51
55
  export {};
@@ -1,263 +1 @@
1
- "use client";
2
- import { useEffect, useState } from "react";
3
- import {
4
- flexContainerStore,
5
- getLayoutInfos,
6
- getResizePanelRef
7
- } from "../store/FlexLayoutContainerStore";
8
- import {
9
- closeFlex,
10
- getGrow,
11
- mathGrow,
12
- openFlex
13
- } from "../utils/FlexLayoutUtils";
14
- import {
15
- buffer,
16
- debounceTime,
17
- EMPTY,
18
- filter,
19
- fromEvent,
20
- map,
21
- Subject,
22
- switchMap
23
- } from "rxjs";
24
- const g = globalThis;
25
- g.__FLEX_SUBJECTS__ ?? (g.__FLEX_SUBJECTS__ = { openClose: {}, spread: {} });
26
- const containerOpenCloseSubjectMap = g.__FLEX_SUBJECTS__.openClose;
27
- const containerSpreadSubjectMap = g.__FLEX_SUBJECTS__.spread;
28
- const ContainerOpenCloseProvider = ({
29
- layoutName,
30
- containerName,
31
- sizeName
32
- }) => {
33
- if (!containerOpenCloseSubjectMap[containerName]) {
34
- containerOpenCloseSubjectMap[containerName] = new Subject();
35
- }
36
- if (!containerSpreadSubjectMap[containerName]) {
37
- containerSpreadSubjectMap[containerName] = new Subject();
38
- }
39
- const [containers, setContainers] = useState([]);
40
- const [container, setContainer] = useState();
41
- useEffect(() => {
42
- const subscription = getLayoutInfos(layoutName).subscribe(
43
- (layout) => {
44
- if (!layout || !layout.container[containerName] || !layout.container[containerName].current)
45
- return;
46
- setContainers(
47
- Object.values(layout.container).filter(
48
- (e) => e.current !== null
49
- ).map((e) => e.current)
50
- );
51
- setContainer(layout.container[containerName].current);
52
- }
53
- );
54
- return () => subscription.unsubscribe();
55
- }, [containerName, layoutName]);
56
- useEffect(() => {
57
- const styleName = `${sizeName.charAt(0).toUpperCase() + sizeName.substring(1)}`;
58
- const clientSize = "client" + styleName;
59
- const outerSize = "outer" + styleName;
60
- const maxSize = "max" + styleName;
61
- const subscribe = containerOpenCloseSubjectMap[containerName].subscribe(
62
- ({
63
- mode,
64
- initOpenState: isOpenState,
65
- onClose,
66
- onOpen,
67
- openOption = {},
68
- closeOption = {}
69
- }) => {
70
- if (!container || containers.length === 0) return;
71
- const currentGrow = getGrow(container);
72
- const styleMap = window.getComputedStyle(container);
73
- const maxSizeGrow = mathGrow(
74
- parseInt(styleMap[maxSize]),
75
- container.parentElement && container.parentElement[clientSize] || window[outerSize],
76
- containers.length
77
- );
78
- const open = () => openFlex(container, containers, {
79
- sizeName,
80
- ...isNaN(maxSizeGrow) ? {} : {
81
- openGrowImportant: maxSizeGrow
82
- },
83
- ...openOption
84
- }).then((openTargetGrow) => {
85
- if (onOpen) onOpen();
86
- containerSpreadSubjectMap[containerName].next({
87
- isOpen: true,
88
- grow: openTargetGrow,
89
- targetContainer: container
90
- });
91
- });
92
- const close = () => closeFlex(container, containers, {
93
- sizeName,
94
- ...closeOption
95
- }).then(() => {
96
- if (onClose) onClose();
97
- containerSpreadSubjectMap[containerName].next({
98
- isOpen: false,
99
- grow: 0,
100
- targetContainer: container
101
- });
102
- });
103
- if (mode === "toggle") {
104
- if (currentGrow === 0) {
105
- open();
106
- } else {
107
- close();
108
- }
109
- } else if (mode === "open") {
110
- if (currentGrow === 0) {
111
- open();
112
- }
113
- } else if (mode === "close") {
114
- if (currentGrow !== 0) {
115
- close();
116
- }
117
- }
118
- }
119
- );
120
- return () => {
121
- subscribe.unsubscribe();
122
- };
123
- }, [containerName, container, containers, sizeName]);
124
- return null;
125
- };
126
- const useContainers = (layoutName) => {
127
- const [containers, setContainers] = useState([]);
128
- useEffect(() => {
129
- const subscription = getLayoutInfos(layoutName).subscribe(
130
- (layout) => {
131
- setContainers(
132
- Object.values(layout.container).filter(
133
- (e) => e.current !== null
134
- ).map((e) => e.current)
135
- );
136
- }
137
- );
138
- return () => subscription.unsubscribe();
139
- }, [layoutName]);
140
- return containers;
141
- };
142
- const useLayoutName = (containerName) => {
143
- const [layoutName, setLayoutName] = useState();
144
- useEffect(() => {
145
- const subscribe = flexContainerStore.pipe(
146
- map(
147
- (layouts) => Object.entries(layouts).filter(([_, v]) => v[containerName]).map(([k]) => k)[0]
148
- // 첫 번째 결과 가져오기
149
- )
150
- ).subscribe(setLayoutName);
151
- return () => subscribe.unsubscribe();
152
- }, [containerName]);
153
- return layoutName;
154
- };
155
- const useDecompositionLayout = ({
156
- layoutName: initialLayoutName,
157
- containerName
158
- }) => {
159
- const derivedLayoutName = useLayoutName(containerName);
160
- const finalLayoutName = initialLayoutName || derivedLayoutName;
161
- const [containers, setContainers] = useState([]);
162
- const [container, setContainer] = useState();
163
- const [resizePanel, setResizePanel] = useState();
164
- useEffect(() => {
165
- if (!finalLayoutName) return;
166
- const subscription = getLayoutInfos(finalLayoutName).subscribe(
167
- (layout) => {
168
- if (!layout) return;
169
- setContainers(
170
- Object.values(layout.container).filter(
171
- (e) => e.current !== null
172
- ).map((e) => e.current)
173
- );
174
- if (containerName && layout.container[containerName] && layout.container[containerName].current) {
175
- setContainer(layout.container[containerName].current);
176
- if (layout.resizePanel[containerName] && layout.resizePanel[containerName].current) {
177
- setResizePanel(
178
- layout.resizePanel[containerName].current
179
- );
180
- }
181
- }
182
- }
183
- );
184
- return () => subscription.unsubscribe();
185
- }, [containerName, finalLayoutName]);
186
- return { layout: containers, container, resizePanel };
187
- };
188
- const useContainerSize = (containerName) => {
189
- const { layout, container, resizePanel } = useDecompositionLayout({
190
- containerName
191
- });
192
- const [size, setSize] = useState();
193
- useEffect(() => {
194
- if (!container) return;
195
- const observer = new ResizeObserver((entries) => {
196
- for (const entry of entries) {
197
- setSize({
198
- width: entry.contentRect.width,
199
- height: entry.contentRect.height
200
- });
201
- }
202
- });
203
- observer.observe(container);
204
- return () => observer.disconnect();
205
- }, [container]);
206
- return { size };
207
- };
208
- const useDoubleClick = (containerName, opt) => {
209
- const [isOpen, setIsOpen] = useState();
210
- const [isDoubleClick, setIsDoubleClick] = useState();
211
- useEffect(() => {
212
- const resizePanelClickEvent = getResizePanelRef({
213
- containerName
214
- }).pipe(
215
- filter(
216
- (resizePanelref) => resizePanelref != void 0 && resizePanelref.current != void 0
217
- ),
218
- //take(1),
219
- switchMap((resizePanelref) => {
220
- if (!resizePanelref || !resizePanelref.current) return EMPTY;
221
- return fromEvent(resizePanelref.current, "click");
222
- })
223
- );
224
- const subscribe = resizePanelClickEvent.pipe(
225
- buffer(resizePanelClickEvent.pipe(debounceTime(500))),
226
- filter((clickEventArray) => clickEventArray.length >= 2),
227
- map((events) => {
228
- containerOpenCloseSubjectMap[containerName].next({
229
- ...opt,
230
- openOption: {
231
- ...opt.openOption,
232
- isPrevSizeOpen: false
233
- },
234
- onClose: () => {
235
- if (opt.onClose) opt.onClose();
236
- setIsOpen(false);
237
- setIsDoubleClick(true);
238
- },
239
- onOpen: () => {
240
- if (opt.onOpen) opt.onOpen();
241
- setIsOpen(true);
242
- setIsDoubleClick(true);
243
- }
244
- });
245
- })
246
- ).subscribe();
247
- return () => {
248
- subscribe.unsubscribe();
249
- };
250
- }, [containerName]);
251
- return { isOpen, isDoubleClick, setIsDoubleClick };
252
- };
253
- export {
254
- ContainerOpenCloseProvider,
255
- containerOpenCloseSubjectMap,
256
- containerSpreadSubjectMap,
257
- useContainerSize,
258
- useContainers,
259
- useDecompositionLayout,
260
- useDoubleClick,
261
- useLayoutName
262
- };
263
- //# sourceMappingURL=FlexLayoutHooks.js.map
1
+ "use client";import{useEffect as a,useState as l}from"react";import{flexContainerStore as k,getLayoutInfos as E,getResizePanelRef as D}from"../store/FlexLayoutContainerStore";import{closeFlex as I,getGrow as y,mathGrow as G,openFlex as F}from"../utils/FlexLayoutUtils";import{buffer as M,debounceTime as z,EMPTY as q,filter as O,fromEvent as U,map as B,Subject as v,switchMap as J}from"rxjs";const g=globalThis;g.__FLEX_SUBJECTS__??(g.__FLEX_SUBJECTS__={openClose:{},spread:{}});const C=g.__FLEX_SUBJECTS__.openClose,S=g.__FLEX_SUBJECTS__.spread,V=({layoutName:n,containerName:e,sizeName:r})=>{C[e]||(C[e]=new v),S[e]||(S[e]=new v);const[s,o]=l([]),[t,c]=l();return a(()=>{const u=E(n).subscribe(i=>{!i||!i.container[e]||!i.container[e].current||(o(Object.values(i.container).filter(b=>b.current!==null).map(b=>b.current)),c(i.container[e].current))});return()=>u.unsubscribe()},[e,n]),a(()=>{const u=`${r.charAt(0).toUpperCase()+r.substring(1)}`,i="client"+u,b="outer"+u,h="max"+u,p=C[e].subscribe(({mode:f,initOpenState:$,onClose:m,onOpen:w,openOption:R={},closeOption:H={}})=>{if(!t||s.length===0)return;const d=y(t),P=window.getComputedStyle(t),x=G(parseInt(P[h]),t.parentElement&&t.parentElement[i]||window[b],s.length),L=()=>F(t,s,{sizeName:r,...isNaN(x)?{}:{openGrowImportant:x},...R}).then(j=>{w&&w(),S[e].next({isOpen:!0,grow:j,targetContainer:t})}),T=()=>I(t,s,{sizeName:r,...H}).then(()=>{m&&m(),S[e].next({isOpen:!1,grow:0,targetContainer:t})});f==="toggle"?d===0?L():T():f==="open"?d===0&&L():f==="close"&&d!==0&&T()});return()=>{p.unsubscribe()}},[e,t,s,r]),null},Z=n=>{const[e,r]=l([]);return a(()=>{const s=E(n).subscribe(o=>{r(Object.values(o.container).filter(t=>t.current!==null).map(t=>t.current))});return()=>s.unsubscribe()},[n]),e},W=n=>{const[e,r]=l();return a(()=>{const s=k.pipe(B(o=>Object.entries(o).filter(([t,c])=>c[n]).map(([t])=>t)[0])).subscribe(r);return()=>s.unsubscribe()},[n]),e},X=({layoutName:n,containerName:e})=>{const r=W(e),s=n||r,[o,t]=l([]),[c,u]=l(),[i,b]=l();return a(()=>{if(!s)return;const h=E(s).subscribe(p=>{p&&(t(Object.values(p.container).filter(f=>f.current!==null).map(f=>f.current)),e&&p.container[e]&&p.container[e].current&&(u(p.container[e].current),p.resizePanel[e]&&p.resizePanel[e].current&&b(p.resizePanel[e].current)))});return()=>h.unsubscribe()},[e,s]),{layout:o,container:c,resizePanel:i}},N=n=>{const{layout:e,container:r,resizePanel:s}=X({containerName:n}),[o,t]=l();return a(()=>{if(!r)return;const c=new ResizeObserver(u=>{for(const i of u)t({width:i.contentRect.width,height:i.contentRect.height})});return c.observe(r),()=>c.disconnect()},[r]),{size:o}},_=n=>D({containerName:n}).pipe(O(e=>e!=null&&e.current!=null),J(e=>!e||!e.current?q:U(e.current,"click"))),ee=(n,e)=>{const[r,s]=l(),[o,t]=l();return a(()=>{const c=_(n),u=c.pipe(M(c.pipe(z(500))),O(i=>i.length>=2)).subscribe(()=>{C[n].next({...e,openOption:{...e.openOption,isPrevSizeOpen:!1},onClose:()=>{e.onClose&&e.onClose(),s(!1),t(!0)},onOpen:()=>{e.onOpen&&e.onOpen(),s(!0),t(!0)}})});return()=>{u.unsubscribe()}},[n]),{isOpen:r,isDoubleClick:o,setIsDoubleClick:t}},te=n=>{const[e,r]=l();return a(()=>{const s=_(n),o=s.pipe(M(s.pipe(z(500))),O(t=>t.length>=2)).subscribe(()=>{r(!0)});return()=>{o.unsubscribe()}},[n]),{isDoubleClick:e,setIsDoubleClick:r}};export{V as ContainerOpenCloseProvider,C as containerOpenCloseSubjectMap,S as containerSpreadSubjectMap,N as useContainerSize,Z as useContainers,X as useDecompositionLayout,te as useDoubleClick,ee as useDoubleClickToggle,W as useLayoutName};
@@ -1,23 +1 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
- var providers_exports = {};
17
- module.exports = __toCommonJS(providers_exports);
18
- __reExport(providers_exports, require("./FlexLayoutHooks"), module.exports);
19
- // Annotate the CommonJS export names for ESM import in node:
20
- 0 && (module.exports = {
21
- ...require("./FlexLayoutHooks")
22
- });
23
- //# sourceMappingURL=index.cjs.map
1
+ "use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,o,f,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of c(o))!d.call(r,e)&&e!==f&&a(r,e,{get:()=>o[e],enumerable:!(x=b(o,e))||x.enumerable});return r},t=(r,o,f)=>(p(r,o,"default"),f&&p(f,o,"default"));var g=r=>p(a({},"__esModule",{value:!0}),r);var m={};module.exports=g(m);t(m,require("./FlexLayoutHooks"),module.exports);0&&(module.exports={...require("./FlexLayoutHooks")});
@@ -1,2 +1 @@
1
- export * from "./FlexLayoutHooks";
2
- //# sourceMappingURL=index.js.map
1
+ export*from"./FlexLayoutHooks";