lizaui 9.0.62 → 9.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../src/hooks/use-modal.ts","../src/hooks/use-confirmation.ts","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useEffectEvent.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/domHelpers.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/platform.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs","../node_modules/.pnpm/@react-aria+interactions@3.25.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/interactions/dist/textSelection.mjs","../node_modules/.pnpm/@react-aria+interactions@3.25.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/interactions/dist/useMove.mjs","../src/hooks/use-draggable.ts"],"sourcesContent":["import { useCallback, useId, useState, useRef } from \"react\";\n\nexport type SizeModalInterface = \"smaller\" | \"small\" | \"medium\" | \"large\" | \"x-large\" | \"full\";\n\nexport interface UseModalType<T = any> {\n\tmodalId: string;\n\tisOpen: boolean;\n\tisVisibleModal: boolean;\n\tparamBody: T | null;\n\tshowModal: (params?: T, content?: React.ReactNode) => void;\n\tcloseModal: () => void;\n\tvisibleModal: () => void;\n\thiddenModal: () => void;\n\tupdateParamBody: (params: T) => void;\n\ttoggleModal: () => void;\n}\n\nexport function useModalHooks<T = any>(modalIdRef?: string): UseModalType<T> {\n\tconst [isOpen, setIsOpen] = useState(false);\n\tconst [isVisibleModal, setIsVisibleModal] = useState(false);\n\tconst [paramBody, setParamBody] = useState<T | null>(null);\n\n\tconst onOpenRef = useRef(() => {});\n\tconst onCloseRef = useRef(() => {});\n\tconst modalIdGenerated = useId();\n\tconst modalId = modalIdRef || `modal-${modalIdGenerated}`;\n\n\tconst showModal = useCallback((params?: T) => {\n\t\tif (params !== undefined) {\n\t\t\tsetParamBody(params);\n\t\t}\n\t\tsetIsOpen(true);\n\t\tsetIsVisibleModal(true);\n\t\tonOpenRef.current?.();\n\t}, []);\n\n\tconst closeModal = useCallback(() => {\n\t\tsetIsOpen(false);\n\t\tsetIsVisibleModal(false);\n\t\tonCloseRef.current?.();\n\t}, []);\n\n\tconst visibleModal = () => setIsVisibleModal(true);\n\tconst hiddenModal = () => setIsVisibleModal(false);\n\n\tconst updateParamBody = (params: T) => {\n\t\tsetParamBody(params);\n\t};\n\n\tconst toggleModal = () => {\n\t\tsetIsOpen((prev) => {\n\t\t\tconst next = !prev;\n\t\t\tif (next) onOpenRef.current?.();\n\t\t\telse onCloseRef.current?.();\n\t\t\treturn next;\n\t\t});\n\t};\n\n\treturn {\n\t\tmodalId,\n\t\tisOpen,\n\t\tisVisibleModal,\n\t\tparamBody,\n\t\tshowModal,\n\t\tcloseModal,\n\t\tvisibleModal,\n\t\thiddenModal,\n\t\tupdateParamBody,\n\t\ttoggleModal,\n\t};\n}\n","import { useState } from \"react\";\n\nexport interface ConfirmationAlertProps {\n\ttitle?: React.ReactNode;\n\tdescription?: React.ReactNode;\n\tbody?: React.ReactNode;\n\tisOpen: boolean;\n\tloading?: boolean;\n\tparams?: unknown;\n}\n\nconst defaultAlertState: ConfirmationAlertProps = {\n\ttitle: \"\",\n\tdescription: \"\",\n\tbody: null,\n\tisOpen: false,\n\tloading: false,\n\tparams: null,\n};\n\ntype ModalMap = Record<string, ConfirmationAlertProps>;\n\nexport const useConfirmationAlert = () => {\n\tconst [alert, setAlert] = useState<ConfirmationAlertProps>(defaultAlertState);\n\tconst [alerts, setAlerts] = useState<ModalMap>({});\n\n\tconst showAlert = (options: Partial<ConfirmationAlertProps>) => {\n\t\tsetAlert({\n\t\t\t...defaultAlertState,\n\t\t\t...options,\n\t\t\tisOpen: true,\n\t\t});\n\t};\n\n\tconst setAlertLoading = () => setAlert((prev) => ({ ...prev, loading: true }));\n\tconst hideAlert = () => setAlert(defaultAlertState);\n\n\tconst showModalByKey = (key: string, options: Partial<ConfirmationAlertProps>) => {\n\t\tsetAlerts((prev) => ({\n\t\t\t...prev,\n\t\t\t[key]: {\n\t\t\t\t...defaultAlertState,\n\t\t\t\t...options,\n\t\t\t\tisOpen: true,\n\t\t\t},\n\t\t}));\n\t};\n\n\tconst setModalLoadingByKey = (key: string) => {\n\t\tsetAlerts((prev) => ({\n\t\t\t...prev,\n\t\t\t[key]: { ...prev[key], loading: true },\n\t\t}));\n\t};\n\n\tconst hideModalByKey = (key: string) => {\n\t\tsetAlerts((prev) => ({\n\t\t\t...prev,\n\t\t\t[key]: defaultAlertState,\n\t\t}));\n\t};\n\n\treturn {\n\t\talert,\n\t\tshowAlert,\n\t\tsetAlertLoading,\n\t\thideAlert,\n\t\talerts,\n\t\tshowModalByKey,\n\t\tsetModalLoadingByKey,\n\t\thideModalByKey,\n\t};\n};\n","import $HgANd$react from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $HgANd$react).useLayoutEffect : ()=>{};\n\n\nexport {$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n","const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{\n var _el_ownerDocument;\n return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;\n};\nconst $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.\n */ function $431fbd86ca7dc216$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {\n return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $431fbd86ca7dc216$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $c87311424ea30a05$var$testUserAgent(re) {\n var _window_navigator_userAgentData;\n if (typeof window === 'undefined' || window.navigator == null) return false;\n let brands = (_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands;\n return Array.isArray(brands) && brands.some((brand)=>re.test(brand.brand)) || re.test(window.navigator.userAgent);\n}\nfunction $c87311424ea30a05$var$testPlatform(re) {\n var _window_navigator_userAgentData;\n return typeof window !== 'undefined' && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;\n}\nfunction $c87311424ea30a05$var$cached(fn) {\n if (process.env.NODE_ENV === 'test') return fn;\n let res = null;\n return ()=>{\n if (res == null) res = fn();\n return res;\n };\n}\nconst $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^Mac/i);\n});\nconst $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPhone/i);\n});\nconst $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;\n});\nconst $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();\n});\nconst $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();\n});\nconst $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();\n});\nconst $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Chrome/i);\n});\nconst $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Android/i);\n});\nconst $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Firefox/i);\n});\n\n\nexport {$c87311424ea30a05$export$9ac100e40613ea10 as isMac, $c87311424ea30a05$export$186c6964ca17d99 as isIPhone, $c87311424ea30a05$export$7bef049ce92e4224 as isIPad, $c87311424ea30a05$export$fedb369cb70207f1 as isIOS, $c87311424ea30a05$export$e1865c3bedcd822b as isAppleDevice, $c87311424ea30a05$export$78551043582a6a98 as isWebKit, $c87311424ea30a05$export$6446a186d09e379e as isChrome, $c87311424ea30a05$export$a11b0059900ceec8 as isAndroid, $c87311424ea30a05$export$b7d78993b74f766d as isFirefox};\n//# sourceMappingURL=platform.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {useRef as $lPAwt$useRef, useCallback as $lPAwt$useCallback, useEffect as $lPAwt$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $03deb23ff14920c4$export$4eaf04e54aa8eed6() {\n let globalListeners = (0, $lPAwt$useRef)(new Map());\n let addGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n // Make sure we remove the listener after it is called with the `once` option.\n let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args)=>{\n globalListeners.current.delete(listener);\n listener(...args);\n } : listener;\n globalListeners.current.set(listener, {\n type: type,\n eventTarget: eventTarget,\n fn: fn,\n options: options\n });\n eventTarget.addEventListener(type, fn, options);\n }, []);\n let removeGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n var _globalListeners_current_get;\n let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;\n eventTarget.removeEventListener(type, fn, options);\n globalListeners.current.delete(listener);\n }, []);\n let removeAllGlobalListeners = (0, $lPAwt$useCallback)(()=>{\n globalListeners.current.forEach((value, key)=>{\n removeGlobalListener(value.eventTarget, value.type, key, value.options);\n });\n }, [\n removeGlobalListener\n ]);\n (0, $lPAwt$useEffect)(()=>{\n return removeAllGlobalListeners;\n }, [\n removeAllGlobalListeners\n ]);\n return {\n addGlobalListener: addGlobalListener,\n removeGlobalListener: removeGlobalListener,\n removeAllGlobalListeners: removeAllGlobalListeners\n };\n}\n\n\nexport {$03deb23ff14920c4$export$4eaf04e54aa8eed6 as useGlobalListeners};\n//# sourceMappingURL=useGlobalListeners.module.js.map\n","import {isIOS as $7R18e$isIOS, getOwnerDocument as $7R18e$getOwnerDocument, runAfterTransition as $7R18e$runAfterTransition} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n// Note that state only matters here for iOS. Non-iOS gets user-select: none applied to the target element\n// rather than at the document level so we just need to apply/remove user-select: none for each pressed element individually\nlet $14c0b72509d70225$var$state = 'default';\nlet $14c0b72509d70225$var$savedUserSelect = '';\nlet $14c0b72509d70225$var$modifiedElementMap = new WeakMap();\nfunction $14c0b72509d70225$export$16a4697467175487(target) {\n if ((0, $7R18e$isIOS)()) {\n if ($14c0b72509d70225$var$state === 'default') {\n const documentObject = (0, $7R18e$getOwnerDocument)(target);\n $14c0b72509d70225$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;\n documentObject.documentElement.style.webkitUserSelect = 'none';\n }\n $14c0b72509d70225$var$state = 'disabled';\n } else if (target instanceof HTMLElement || target instanceof SVGElement) {\n // If not iOS, store the target's original user-select and change to user-select: none\n // Ignore state since it doesn't apply for non iOS\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n $14c0b72509d70225$var$modifiedElementMap.set(target, target.style[property]);\n target.style[property] = 'none';\n }\n}\nfunction $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {\n if ((0, $7R18e$isIOS)()) {\n // If the state is already default, there's nothing to do.\n // If it is restoring, then there's no need to queue a second restore.\n if ($14c0b72509d70225$var$state !== 'disabled') return;\n $14c0b72509d70225$var$state = 'restoring';\n // There appears to be a delay on iOS where selection still might occur\n // after pointer up, so wait a bit before removing user-select.\n setTimeout(()=>{\n // Wait for any CSS transitions to complete so we don't recompute style\n // for the whole page in the middle of the animation and cause jank.\n (0, $7R18e$runAfterTransition)(()=>{\n // Avoid race conditions\n if ($14c0b72509d70225$var$state === 'restoring') {\n const documentObject = (0, $7R18e$getOwnerDocument)(target);\n if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || '';\n $14c0b72509d70225$var$savedUserSelect = '';\n $14c0b72509d70225$var$state = 'default';\n }\n });\n }, 300);\n } else if (target instanceof HTMLElement || target instanceof SVGElement) // If not iOS, restore the target's original user-select if any\n // Ignore state since it doesn't apply for non iOS\n {\n if (target && $14c0b72509d70225$var$modifiedElementMap.has(target)) {\n let targetOldUserSelect = $14c0b72509d70225$var$modifiedElementMap.get(target);\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n if (target.style[property] === 'none') target.style[property] = targetOldUserSelect;\n if (target.getAttribute('style') === '') target.removeAttribute('style');\n $14c0b72509d70225$var$modifiedElementMap.delete(target);\n }\n }\n}\n\n\nexport {$14c0b72509d70225$export$16a4697467175487 as disableTextSelection, $14c0b72509d70225$export$b0d6fa1ab32e3295 as restoreTextSelection};\n//# sourceMappingURL=textSelection.module.js.map\n","import {disableTextSelection as $14c0b72509d70225$export$16a4697467175487, restoreTextSelection as $14c0b72509d70225$export$b0d6fa1ab32e3295} from \"./textSelection.mjs\";\nimport {useRef as $5GN7j$useRef, useMemo as $5GN7j$useMemo} from \"react\";\nimport {useGlobalListeners as $5GN7j$useGlobalListeners, useEffectEvent as $5GN7j$useEffectEvent} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $e8a7022cf87cba2a$export$36da96379f79f245(props) {\n let { onMoveStart: onMoveStart, onMove: onMove, onMoveEnd: onMoveEnd } = props;\n let state = (0, $5GN7j$useRef)({\n didMove: false,\n lastPosition: null,\n id: null\n });\n let { addGlobalListener: addGlobalListener, removeGlobalListener: removeGlobalListener } = (0, $5GN7j$useGlobalListeners)();\n let move = (0, $5GN7j$useEffectEvent)((originalEvent, pointerType, deltaX, deltaY)=>{\n if (deltaX === 0 && deltaY === 0) return;\n if (!state.current.didMove) {\n state.current.didMove = true;\n onMoveStart === null || onMoveStart === void 0 ? void 0 : onMoveStart({\n type: 'movestart',\n pointerType: pointerType,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n }\n onMove === null || onMove === void 0 ? void 0 : onMove({\n type: 'move',\n pointerType: pointerType,\n deltaX: deltaX,\n deltaY: deltaY,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n });\n let end = (0, $5GN7j$useEffectEvent)((originalEvent, pointerType)=>{\n (0, $14c0b72509d70225$export$b0d6fa1ab32e3295)();\n if (state.current.didMove) onMoveEnd === null || onMoveEnd === void 0 ? void 0 : onMoveEnd({\n type: 'moveend',\n pointerType: pointerType,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n });\n let moveProps = (0, $5GN7j$useMemo)(()=>{\n let moveProps = {};\n let start = ()=>{\n (0, $14c0b72509d70225$export$16a4697467175487)();\n state.current.didMove = false;\n };\n if (typeof PointerEvent === 'undefined' && process.env.NODE_ENV === 'test') {\n let onMouseMove = (e)=>{\n if (e.button === 0) {\n var _state_current_lastPosition, _state_current_lastPosition1;\n var _state_current_lastPosition_pageX, _state_current_lastPosition_pageY;\n move(e, 'mouse', e.pageX - ((_state_current_lastPosition_pageX = (_state_current_lastPosition = state.current.lastPosition) === null || _state_current_lastPosition === void 0 ? void 0 : _state_current_lastPosition.pageX) !== null && _state_current_lastPosition_pageX !== void 0 ? _state_current_lastPosition_pageX : 0), e.pageY - ((_state_current_lastPosition_pageY = (_state_current_lastPosition1 = state.current.lastPosition) === null || _state_current_lastPosition1 === void 0 ? void 0 : _state_current_lastPosition1.pageY) !== null && _state_current_lastPosition_pageY !== void 0 ? _state_current_lastPosition_pageY : 0));\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n }\n };\n let onMouseUp = (e)=>{\n if (e.button === 0) {\n end(e, 'mouse');\n removeGlobalListener(window, 'mousemove', onMouseMove, false);\n removeGlobalListener(window, 'mouseup', onMouseUp, false);\n }\n };\n moveProps.onMouseDown = (e)=>{\n if (e.button === 0) {\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n addGlobalListener(window, 'mousemove', onMouseMove, false);\n addGlobalListener(window, 'mouseup', onMouseUp, false);\n }\n };\n let onTouchMove = (e)=>{\n let touch = [\n ...e.changedTouches\n ].findIndex(({ identifier: identifier })=>identifier === state.current.id);\n if (touch >= 0) {\n var _state_current_lastPosition, _state_current_lastPosition1;\n let { pageX: pageX, pageY: pageY } = e.changedTouches[touch];\n var _state_current_lastPosition_pageX, _state_current_lastPosition_pageY;\n move(e, 'touch', pageX - ((_state_current_lastPosition_pageX = (_state_current_lastPosition = state.current.lastPosition) === null || _state_current_lastPosition === void 0 ? void 0 : _state_current_lastPosition.pageX) !== null && _state_current_lastPosition_pageX !== void 0 ? _state_current_lastPosition_pageX : 0), pageY - ((_state_current_lastPosition_pageY = (_state_current_lastPosition1 = state.current.lastPosition) === null || _state_current_lastPosition1 === void 0 ? void 0 : _state_current_lastPosition1.pageY) !== null && _state_current_lastPosition_pageY !== void 0 ? _state_current_lastPosition_pageY : 0));\n state.current.lastPosition = {\n pageX: pageX,\n pageY: pageY\n };\n }\n };\n let onTouchEnd = (e)=>{\n let touch = [\n ...e.changedTouches\n ].findIndex(({ identifier: identifier })=>identifier === state.current.id);\n if (touch >= 0) {\n end(e, 'touch');\n state.current.id = null;\n removeGlobalListener(window, 'touchmove', onTouchMove);\n removeGlobalListener(window, 'touchend', onTouchEnd);\n removeGlobalListener(window, 'touchcancel', onTouchEnd);\n }\n };\n moveProps.onTouchStart = (e)=>{\n if (e.changedTouches.length === 0 || state.current.id != null) return;\n let { pageX: pageX, pageY: pageY, identifier: identifier } = e.changedTouches[0];\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: pageX,\n pageY: pageY\n };\n state.current.id = identifier;\n addGlobalListener(window, 'touchmove', onTouchMove, false);\n addGlobalListener(window, 'touchend', onTouchEnd, false);\n addGlobalListener(window, 'touchcancel', onTouchEnd, false);\n };\n } else {\n let onPointerMove = (e)=>{\n if (e.pointerId === state.current.id) {\n var _state_current_lastPosition, _state_current_lastPosition1;\n let pointerType = e.pointerType || 'mouse';\n var _state_current_lastPosition_pageX, _state_current_lastPosition_pageY;\n // Problems with PointerEvent#movementX/movementY:\n // 1. it is always 0 on macOS Safari.\n // 2. On Chrome Android, it's scaled by devicePixelRatio, but not on Chrome macOS\n move(e, pointerType, e.pageX - ((_state_current_lastPosition_pageX = (_state_current_lastPosition = state.current.lastPosition) === null || _state_current_lastPosition === void 0 ? void 0 : _state_current_lastPosition.pageX) !== null && _state_current_lastPosition_pageX !== void 0 ? _state_current_lastPosition_pageX : 0), e.pageY - ((_state_current_lastPosition_pageY = (_state_current_lastPosition1 = state.current.lastPosition) === null || _state_current_lastPosition1 === void 0 ? void 0 : _state_current_lastPosition1.pageY) !== null && _state_current_lastPosition_pageY !== void 0 ? _state_current_lastPosition_pageY : 0));\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n }\n };\n let onPointerUp = (e)=>{\n if (e.pointerId === state.current.id) {\n let pointerType = e.pointerType || 'mouse';\n end(e, pointerType);\n state.current.id = null;\n removeGlobalListener(window, 'pointermove', onPointerMove, false);\n removeGlobalListener(window, 'pointerup', onPointerUp, false);\n removeGlobalListener(window, 'pointercancel', onPointerUp, false);\n }\n };\n moveProps.onPointerDown = (e)=>{\n if (e.button === 0 && state.current.id == null) {\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n state.current.id = e.pointerId;\n addGlobalListener(window, 'pointermove', onPointerMove, false);\n addGlobalListener(window, 'pointerup', onPointerUp, false);\n addGlobalListener(window, 'pointercancel', onPointerUp, false);\n }\n };\n }\n let triggerKeyboardMove = (e, deltaX, deltaY)=>{\n start();\n move(e, 'keyboard', deltaX, deltaY);\n end(e, 'keyboard');\n };\n moveProps.onKeyDown = (e)=>{\n switch(e.key){\n case 'Left':\n case 'ArrowLeft':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, -1, 0);\n break;\n case 'Right':\n case 'ArrowRight':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 1, 0);\n break;\n case 'Up':\n case 'ArrowUp':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 0, -1);\n break;\n case 'Down':\n case 'ArrowDown':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 0, 1);\n break;\n }\n };\n return moveProps;\n }, [\n state,\n addGlobalListener,\n removeGlobalListener,\n move,\n end\n ]);\n return {\n moveProps: moveProps\n };\n}\n\n\nexport {$e8a7022cf87cba2a$export$36da96379f79f245 as useMove};\n//# sourceMappingURL=useMove.module.js.map\n","import { useMove } from \"@react-aria/interactions\";\n\nimport type { MoveMoveEvent, MoveResult } from \"@react-aria/interactions\";\n\nimport { useEffect, useRef, useCallback } from \"react\";\n\nexport interface UseDraggableProps {\n\t/**\n\t * Ref to the moving target DOM node.\n\t */\n\ttargetRef?: React.RefObject<HTMLElement> | null;\n\t/**\n\t * Whether to disable the target is draggable.\n\t * @default false\n\t */\n\tisDisabled?: boolean;\n\t/**\n\t * Whether the target can overflow the viewport.\n\t * @default false\n\t */\n\tcanOverflow?: boolean;\n}\n\n/**\n * A hook to make a target draggable.\n * @param props UseDraggableProps\n * @returns MoveResult for the drag DOM node.\n */\nexport function useDraggable(props: UseDraggableProps): MoveResult {\n\tconst { targetRef, isDisabled = false, canOverflow = false } = props;\n\tconst boundary = useRef({ minLeft: 0, minTop: 0, maxLeft: 0, maxTop: 0 });\n\tlet transform = { offsetX: 0, offsetY: 0 };\n\n\tconst onMoveStart = useCallback(() => {\n\t\tconst { offsetX, offsetY } = transform;\n\n\t\tconst targetRect = targetRef?.current?.getBoundingClientRect();\n\t\tconst targetLeft = targetRect?.left ?? 0;\n\t\tconst targetTop = targetRect?.top ?? 0;\n\t\tconst targetWidth = targetRect?.width ?? 0;\n\t\tconst targetHeight = targetRect?.height ?? 0;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tconst minLeft = -targetLeft + offsetX;\n\t\tconst minTop = -targetTop + offsetY;\n\t\tconst maxLeft = clientWidth - targetLeft - targetWidth + offsetX;\n\t\tconst maxTop = clientHeight - targetTop - targetHeight + offsetY;\n\n\t\tboundary.current = {\n\t\t\tminLeft,\n\t\t\tminTop,\n\t\t\tmaxLeft,\n\t\t\tmaxTop,\n\t\t};\n\t}, [transform, targetRef?.current]);\n\n\tconst onMove = useCallback(\n\t\t(e: MoveMoveEvent) => {\n\t\t\tif (isDisabled) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst { offsetX, offsetY } = transform;\n\t\t\tconst { minLeft, minTop, maxLeft, maxTop } = boundary.current;\n\t\t\tlet moveX = offsetX + e.deltaX;\n\t\t\tlet moveY = offsetY + e.deltaY;\n\n\t\t\tif (!canOverflow) {\n\t\t\t\tmoveX = Math.min(Math.max(moveX, minLeft), maxLeft);\n\t\t\t\tmoveY = Math.min(Math.max(moveY, minTop), maxTop);\n\t\t\t}\n\n\t\t\ttransform = {\n\t\t\t\toffsetX: moveX,\n\t\t\t\toffsetY: moveY,\n\t\t\t};\n\n\t\t\tif (targetRef?.current) {\n\t\t\t\ttargetRef.current.style.transform = `translate(${moveX}px, ${moveY}px)`;\n\t\t\t}\n\t\t},\n\t\t[isDisabled, transform, boundary.current, canOverflow, targetRef?.current],\n\t);\n\n\tconst { moveProps } = useMove({\n\t\tonMoveStart,\n\t\tonMove,\n\t});\n\n\tconst preventDefault = useCallback((e: TouchEvent) => {\n\t\te.preventDefault();\n\t}, []);\n\n\t// NOTE: This process is due to the modal being displayed at the bottom instead of the center when opened on mobile sizes.\n\t// It will become unnecessary once the modal is centered properly.\n\tuseEffect(() => {\n\t\tif (!isDisabled) {\n\t\t\t// Prevent body scroll when dragging at mobile.\n\t\t\tdocument.body.addEventListener(\"touchmove\", preventDefault, { passive: false });\n\t\t}\n\n\t\treturn () => {\n\t\t\tdocument.body.removeEventListener(\"touchmove\", preventDefault);\n\t\t};\n\t}, [isDisabled]);\n\n\treturn {\n\t\tmoveProps: {\n\t\t\t...moveProps,\n\t\t\tstyle: { cursor: !isDisabled ? \"move\" : undefined },\n\t\t},\n\t};\n}\n"],"names":["useModalHooks","modalIdRef","$","_c","isOpen","setIsOpen","useState","isVisibleModal","setIsVisibleModal","paramBody","setParamBody","onOpenRef","useRef","_temp","onCloseRef","_temp2","modalIdGenerated","useId","modalId","t0","Symbol","for","params","undefined","current","showModal","t1","closeModal","t2","visibleModal","t3","hiddenModal","t4","params_0","updateParamBody","t5","prev","next","toggleModal","t6","defaultAlertState","title","description","body","loading","useConfirmationAlert","alert","setAlert","alerts","setAlerts","options","showAlert","setAlertLoading","hideAlert","key","options_0","prev_0","showModalByKey","key_0","prev_1","setModalLoadingByKey","key_1","prev_2","hideModalByKey","t7","$HgANd$react","$lmaYr$react","$lmaYr$useRef","$lmaYr$useCallback","$lPAwt$useRef","$lPAwt$useCallback","$lPAwt$useEffect","$7R18e$isIOS","$7R18e$getOwnerDocument","$7R18e$runAfterTransition","$5GN7j$useRef","$5GN7j$useGlobalListeners","$5GN7j$useEffectEvent","$5GN7j$useMemo","moveProps","useDraggable","props","targetRef","isDisabled","canOverflow","boundary","minLeft","minTop","maxLeft","maxTop","transform","offsetX","offsetY","onMoveStart","useCallback","targetRect","getBoundingClientRect","targetLeft","left","targetTop","top","targetWidth","width","targetHeight","height","clientWidth","document","documentElement","clientHeight","onMove","e","moveX","deltaX","moveY","deltaY","Math","min","max","style","useMove","preventDefault","useEffect","addEventListener","passive","removeEventListener","cursor"],"mappings":";;AAiBO,SAAAA,cAAAC,YAAA;AAAA,QAAAC,IAAAC,EAAA,EAAA;AACN,QAAA,CAAAC,QAAAC,SAAA,IAA4BC,SAAS,KAAK;AAC1C,QAAA,CAAAC,gBAAAC,iBAAA,IAA4CF,SAAS,KAAK;AAC1D,QAAA,CAAAG,WAAAC,YAAA,IAAkCJ,SAAmB,IAAI;AAEzD,QAAAK,YAAkBC,OAAOC,OAAQ;AACjC,QAAAC,aAAmBF,OAAOG,MAAQ;AAClC,QAAAC,mBAAyBC,MAAAA;AACzB,QAAAC,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AiB,aAAaF,gBAAgB;AAAA,QAAEG,SAAS;AAAA,MAAA,CAAO;AAAA,IAC/E;AAEA,WAAO,MAAM;AACZjB,eAAS/D,KAAKiF,oBAAoB,aAAaJ,cAAc;AAAA,IAC9D;AAAA,EACD,GAAG,CAACrC,UAAU,CAAC;AAEf,SAAO;AAAA,IACNJ,WAAW;AAAA,MACV,GAAGA;AAAAA,MACHuC,OAAO;AAAA,QAAEO,QAAQ,CAAC1C,aAAa,SAAS5D;AAAAA,MAAAA;AAAAA,IAAU;AAAA,EACnD;AAEF;","x_google_ignoreList":[2,3,4,5,6,7,8,9]}
1
+ {"version":3,"file":"index.es.js","sources":["../src/hooks/use-modal.ts","../src/hooks/use-drawer.ts","../src/hooks/use-confirmation.ts","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useEffectEvent.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/domHelpers.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/platform.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/useGlobalListeners.mjs","../node_modules/.pnpm/@react-aria+interactions@3.25.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/interactions/dist/textSelection.mjs","../node_modules/.pnpm/@react-aria+interactions@3.25.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/interactions/dist/useMove.mjs","../src/hooks/use-draggable.ts"],"sourcesContent":["import { useCallback, useId, useState, useRef } from \"react\";\n\nexport type SizeModalInterface = \"smaller\" | \"small\" | \"medium\" | \"large\" | \"x-large\" | \"full\";\n\nexport interface UseModalType<T = any> {\n\tmodalId: string;\n\tisOpen: boolean;\n\tisVisibleModal: boolean;\n\tparamBody: T | null;\n\tshowModal: (params?: T, content?: React.ReactNode) => void;\n\tcloseModal: () => void;\n\tvisibleModal: () => void;\n\thiddenModal: () => void;\n\tupdateParamBody: (params: T) => void;\n\ttoggleModal: () => void;\n}\n\nexport function useModalHooks<T = any>(modalIdRef?: string): UseModalType<T> {\n\tconst [isOpen, setIsOpen] = useState(false);\n\tconst [isVisibleModal, setIsVisibleModal] = useState(false);\n\tconst [paramBody, setParamBody] = useState<T | null>(null);\n\n\tconst onOpenRef = useRef(() => {});\n\tconst onCloseRef = useRef(() => {});\n\tconst modalIdGenerated = useId();\n\tconst modalId = modalIdRef || `modal-${modalIdGenerated}`;\n\n\tconst showModal = useCallback((params?: T) => {\n\t\tif (params !== undefined) {\n\t\t\tsetParamBody(params);\n\t\t}\n\t\tsetIsOpen(true);\n\t\tsetIsVisibleModal(true);\n\t\tonOpenRef.current?.();\n\t}, []);\n\n\tconst closeModal = useCallback(() => {\n\t\tsetIsOpen(false);\n\t\tsetIsVisibleModal(false);\n\t\tonCloseRef.current?.();\n\t}, []);\n\n\tconst visibleModal = () => setIsVisibleModal(true);\n\tconst hiddenModal = () => setIsVisibleModal(false);\n\n\tconst updateParamBody = (params: T) => {\n\t\tsetParamBody(params);\n\t};\n\n\tconst toggleModal = () => {\n\t\tsetIsOpen((prev) => {\n\t\t\tconst next = !prev;\n\t\t\tif (next) onOpenRef.current?.();\n\t\t\telse onCloseRef.current?.();\n\t\t\treturn next;\n\t\t});\n\t};\n\n\treturn {\n\t\tmodalId,\n\t\tisOpen,\n\t\tisVisibleModal,\n\t\tparamBody,\n\t\tshowModal,\n\t\tcloseModal,\n\t\tvisibleModal,\n\t\thiddenModal,\n\t\tupdateParamBody,\n\t\ttoggleModal,\n\t};\n}\n","import { useState, useCallback } from \"react\";\n\nexport interface UseDrawerInterface<T = any> {\n\tdrawerId: string;\n\tisDrawer: boolean;\n\tisVisibleDrawer: boolean;\n\tdrawerBody: any;\n\tparamBody: T;\n\tshowDrawer: (value?: any) => void;\n\tvisibleDrawer: () => void;\n\thiddenDrawer: () => void;\n\tcloseDrawer: () => void;\n\tupdateParamBody: (value: T) => void;\n}\n\nexport interface UseDrawerProps {\n\tdrawerId?: string;\n\tdefaultOpen?: boolean;\n}\n\nexport function useDrawer<T = any>(props: UseDrawerProps = {}): UseDrawerInterface<T> {\n\tconst { drawerId = \"drawer-default\", defaultOpen = false } = props;\n\n\tconst [isDrawer, setIsDrawer] = useState(defaultOpen);\n\tconst [isVisibleDrawer, setIsVisibleDrawer] = useState(defaultOpen);\n\tconst [drawerBody, setDrawerBody] = useState<any>(null);\n\tconst [paramBody, setParamBody] = useState<T>({} as T);\n\n\tconst showDrawer = useCallback((value?: any) => {\n\t\tsetDrawerBody(value || null);\n\t\tsetIsDrawer(true);\n\t\t// Pequeño delay para la animación\n\t\tsetTimeout(() => setIsVisibleDrawer(true), 10);\n\t}, []);\n\n\tconst visibleDrawer = useCallback(() => {\n\t\tsetIsVisibleDrawer(true);\n\t}, []);\n\n\tconst hiddenDrawer = useCallback(() => {\n\t\tsetIsVisibleDrawer(false);\n\t\t// Esperar a que termine la animación antes de desmontar\n\t\tsetTimeout(() => setIsDrawer(false), 300);\n\t}, []);\n\n\tconst closeDrawer = useCallback(() => {\n\t\tsetIsVisibleDrawer(false);\n\t\tsetTimeout(() => {\n\t\t\tsetIsDrawer(false);\n\t\t\tsetDrawerBody(null);\n\t\t}, 300);\n\t}, []);\n\n\tconst updateParamBody = useCallback((value: T) => {\n\t\tsetParamBody(value);\n\t}, []);\n\n\treturn {\n\t\tdrawerId,\n\t\tisDrawer,\n\t\tisVisibleDrawer,\n\t\tdrawerBody,\n\t\tparamBody,\n\t\tshowDrawer,\n\t\tvisibleDrawer,\n\t\thiddenDrawer,\n\t\tcloseDrawer,\n\t\tupdateParamBody,\n\t};\n}\n","import { useState } from \"react\";\n\nexport interface ConfirmationAlertProps {\n\ttitle?: React.ReactNode;\n\tdescription?: React.ReactNode;\n\tbody?: React.ReactNode;\n\tisOpen: boolean;\n\tloading?: boolean;\n\tparams?: unknown;\n}\n\nconst defaultAlertState: ConfirmationAlertProps = {\n\ttitle: \"\",\n\tdescription: \"\",\n\tbody: null,\n\tisOpen: false,\n\tloading: false,\n\tparams: null,\n};\n\ntype ModalMap = Record<string, ConfirmationAlertProps>;\n\nexport const useConfirmationAlert = () => {\n\tconst [alert, setAlert] = useState<ConfirmationAlertProps>(defaultAlertState);\n\tconst [alerts, setAlerts] = useState<ModalMap>({});\n\n\tconst showAlert = (options: Partial<ConfirmationAlertProps>) => {\n\t\tsetAlert({\n\t\t\t...defaultAlertState,\n\t\t\t...options,\n\t\t\tisOpen: true,\n\t\t});\n\t};\n\n\tconst setAlertLoading = () => setAlert((prev) => ({ ...prev, loading: true }));\n\tconst hideAlert = () => setAlert(defaultAlertState);\n\n\tconst showModalByKey = (key: string, options: Partial<ConfirmationAlertProps>) => {\n\t\tsetAlerts((prev) => ({\n\t\t\t...prev,\n\t\t\t[key]: {\n\t\t\t\t...defaultAlertState,\n\t\t\t\t...options,\n\t\t\t\tisOpen: true,\n\t\t\t},\n\t\t}));\n\t};\n\n\tconst setModalLoadingByKey = (key: string) => {\n\t\tsetAlerts((prev) => ({\n\t\t\t...prev,\n\t\t\t[key]: { ...prev[key], loading: true },\n\t\t}));\n\t};\n\n\tconst hideModalByKey = (key: string) => {\n\t\tsetAlerts((prev) => ({\n\t\t\t...prev,\n\t\t\t[key]: defaultAlertState,\n\t\t}));\n\t};\n\n\treturn {\n\t\talert,\n\t\tshowAlert,\n\t\tsetAlertLoading,\n\t\thideAlert,\n\t\talerts,\n\t\tshowModalByKey,\n\t\tsetModalLoadingByKey,\n\t\thideModalByKey,\n\t};\n};\n","import $HgANd$react from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nconst $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $HgANd$react).useLayoutEffect : ()=>{};\n\n\nexport {$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n","const $431fbd86ca7dc216$export$b204af158042fbac = (el)=>{\n var _el_ownerDocument;\n return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;\n};\nconst $431fbd86ca7dc216$export$f21a1ffae260145a = (el)=>{\n if (el && 'window' in el && el.window === el) return el;\n const doc = $431fbd86ca7dc216$export$b204af158042fbac(el);\n return doc.defaultView || window;\n};\n/**\n * Type guard that checks if a value is a Node. Verifies the presence and type of the nodeType property.\n */ function $431fbd86ca7dc216$var$isNode(value) {\n return value !== null && typeof value === 'object' && 'nodeType' in value && typeof value.nodeType === 'number';\n}\nfunction $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {\n return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'host' in node;\n}\n\n\nexport {$431fbd86ca7dc216$export$b204af158042fbac as getOwnerDocument, $431fbd86ca7dc216$export$f21a1ffae260145a as getOwnerWindow, $431fbd86ca7dc216$export$af51f0f06c0f328a as isShadowRoot};\n//# sourceMappingURL=domHelpers.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $c87311424ea30a05$var$testUserAgent(re) {\n var _window_navigator_userAgentData;\n if (typeof window === 'undefined' || window.navigator == null) return false;\n let brands = (_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.brands;\n return Array.isArray(brands) && brands.some((brand)=>re.test(brand.brand)) || re.test(window.navigator.userAgent);\n}\nfunction $c87311424ea30a05$var$testPlatform(re) {\n var _window_navigator_userAgentData;\n return typeof window !== 'undefined' && window.navigator != null ? re.test(((_window_navigator_userAgentData = window.navigator['userAgentData']) === null || _window_navigator_userAgentData === void 0 ? void 0 : _window_navigator_userAgentData.platform) || window.navigator.platform) : false;\n}\nfunction $c87311424ea30a05$var$cached(fn) {\n if (process.env.NODE_ENV === 'test') return fn;\n let res = null;\n return ()=>{\n if (res == null) res = fn();\n return res;\n };\n}\nconst $c87311424ea30a05$export$9ac100e40613ea10 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^Mac/i);\n});\nconst $c87311424ea30a05$export$186c6964ca17d99 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPhone/i);\n});\nconst $c87311424ea30a05$export$7bef049ce92e4224 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testPlatform(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n $c87311424ea30a05$export$9ac100e40613ea10() && navigator.maxTouchPoints > 1;\n});\nconst $c87311424ea30a05$export$fedb369cb70207f1 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$186c6964ca17d99() || $c87311424ea30a05$export$7bef049ce92e4224();\n});\nconst $c87311424ea30a05$export$e1865c3bedcd822b = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$export$9ac100e40613ea10() || $c87311424ea30a05$export$fedb369cb70207f1();\n});\nconst $c87311424ea30a05$export$78551043582a6a98 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/AppleWebKit/i) && !$c87311424ea30a05$export$6446a186d09e379e();\n});\nconst $c87311424ea30a05$export$6446a186d09e379e = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Chrome/i);\n});\nconst $c87311424ea30a05$export$a11b0059900ceec8 = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Android/i);\n});\nconst $c87311424ea30a05$export$b7d78993b74f766d = $c87311424ea30a05$var$cached(function() {\n return $c87311424ea30a05$var$testUserAgent(/Firefox/i);\n});\n\n\nexport {$c87311424ea30a05$export$9ac100e40613ea10 as isMac, $c87311424ea30a05$export$186c6964ca17d99 as isIPhone, $c87311424ea30a05$export$7bef049ce92e4224 as isIPad, $c87311424ea30a05$export$fedb369cb70207f1 as isIOS, $c87311424ea30a05$export$e1865c3bedcd822b as isAppleDevice, $c87311424ea30a05$export$78551043582a6a98 as isWebKit, $c87311424ea30a05$export$6446a186d09e379e as isChrome, $c87311424ea30a05$export$a11b0059900ceec8 as isAndroid, $c87311424ea30a05$export$b7d78993b74f766d as isFirefox};\n//# sourceMappingURL=platform.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {useRef as $lPAwt$useRef, useCallback as $lPAwt$useCallback, useEffect as $lPAwt$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $03deb23ff14920c4$export$4eaf04e54aa8eed6() {\n let globalListeners = (0, $lPAwt$useRef)(new Map());\n let addGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n // Make sure we remove the listener after it is called with the `once` option.\n let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args)=>{\n globalListeners.current.delete(listener);\n listener(...args);\n } : listener;\n globalListeners.current.set(listener, {\n type: type,\n eventTarget: eventTarget,\n fn: fn,\n options: options\n });\n eventTarget.addEventListener(type, fn, options);\n }, []);\n let removeGlobalListener = (0, $lPAwt$useCallback)((eventTarget, type, listener, options)=>{\n var _globalListeners_current_get;\n let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;\n eventTarget.removeEventListener(type, fn, options);\n globalListeners.current.delete(listener);\n }, []);\n let removeAllGlobalListeners = (0, $lPAwt$useCallback)(()=>{\n globalListeners.current.forEach((value, key)=>{\n removeGlobalListener(value.eventTarget, value.type, key, value.options);\n });\n }, [\n removeGlobalListener\n ]);\n (0, $lPAwt$useEffect)(()=>{\n return removeAllGlobalListeners;\n }, [\n removeAllGlobalListeners\n ]);\n return {\n addGlobalListener: addGlobalListener,\n removeGlobalListener: removeGlobalListener,\n removeAllGlobalListeners: removeAllGlobalListeners\n };\n}\n\n\nexport {$03deb23ff14920c4$export$4eaf04e54aa8eed6 as useGlobalListeners};\n//# sourceMappingURL=useGlobalListeners.module.js.map\n","import {isIOS as $7R18e$isIOS, getOwnerDocument as $7R18e$getOwnerDocument, runAfterTransition as $7R18e$runAfterTransition} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n// Note that state only matters here for iOS. Non-iOS gets user-select: none applied to the target element\n// rather than at the document level so we just need to apply/remove user-select: none for each pressed element individually\nlet $14c0b72509d70225$var$state = 'default';\nlet $14c0b72509d70225$var$savedUserSelect = '';\nlet $14c0b72509d70225$var$modifiedElementMap = new WeakMap();\nfunction $14c0b72509d70225$export$16a4697467175487(target) {\n if ((0, $7R18e$isIOS)()) {\n if ($14c0b72509d70225$var$state === 'default') {\n const documentObject = (0, $7R18e$getOwnerDocument)(target);\n $14c0b72509d70225$var$savedUserSelect = documentObject.documentElement.style.webkitUserSelect;\n documentObject.documentElement.style.webkitUserSelect = 'none';\n }\n $14c0b72509d70225$var$state = 'disabled';\n } else if (target instanceof HTMLElement || target instanceof SVGElement) {\n // If not iOS, store the target's original user-select and change to user-select: none\n // Ignore state since it doesn't apply for non iOS\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n $14c0b72509d70225$var$modifiedElementMap.set(target, target.style[property]);\n target.style[property] = 'none';\n }\n}\nfunction $14c0b72509d70225$export$b0d6fa1ab32e3295(target) {\n if ((0, $7R18e$isIOS)()) {\n // If the state is already default, there's nothing to do.\n // If it is restoring, then there's no need to queue a second restore.\n if ($14c0b72509d70225$var$state !== 'disabled') return;\n $14c0b72509d70225$var$state = 'restoring';\n // There appears to be a delay on iOS where selection still might occur\n // after pointer up, so wait a bit before removing user-select.\n setTimeout(()=>{\n // Wait for any CSS transitions to complete so we don't recompute style\n // for the whole page in the middle of the animation and cause jank.\n (0, $7R18e$runAfterTransition)(()=>{\n // Avoid race conditions\n if ($14c0b72509d70225$var$state === 'restoring') {\n const documentObject = (0, $7R18e$getOwnerDocument)(target);\n if (documentObject.documentElement.style.webkitUserSelect === 'none') documentObject.documentElement.style.webkitUserSelect = $14c0b72509d70225$var$savedUserSelect || '';\n $14c0b72509d70225$var$savedUserSelect = '';\n $14c0b72509d70225$var$state = 'default';\n }\n });\n }, 300);\n } else if (target instanceof HTMLElement || target instanceof SVGElement) // If not iOS, restore the target's original user-select if any\n // Ignore state since it doesn't apply for non iOS\n {\n if (target && $14c0b72509d70225$var$modifiedElementMap.has(target)) {\n let targetOldUserSelect = $14c0b72509d70225$var$modifiedElementMap.get(target);\n let property = 'userSelect' in target.style ? 'userSelect' : 'webkitUserSelect';\n if (target.style[property] === 'none') target.style[property] = targetOldUserSelect;\n if (target.getAttribute('style') === '') target.removeAttribute('style');\n $14c0b72509d70225$var$modifiedElementMap.delete(target);\n }\n }\n}\n\n\nexport {$14c0b72509d70225$export$16a4697467175487 as disableTextSelection, $14c0b72509d70225$export$b0d6fa1ab32e3295 as restoreTextSelection};\n//# sourceMappingURL=textSelection.module.js.map\n","import {disableTextSelection as $14c0b72509d70225$export$16a4697467175487, restoreTextSelection as $14c0b72509d70225$export$b0d6fa1ab32e3295} from \"./textSelection.mjs\";\nimport {useRef as $5GN7j$useRef, useMemo as $5GN7j$useMemo} from \"react\";\nimport {useGlobalListeners as $5GN7j$useGlobalListeners, useEffectEvent as $5GN7j$useEffectEvent} from \"@react-aria/utils\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $e8a7022cf87cba2a$export$36da96379f79f245(props) {\n let { onMoveStart: onMoveStart, onMove: onMove, onMoveEnd: onMoveEnd } = props;\n let state = (0, $5GN7j$useRef)({\n didMove: false,\n lastPosition: null,\n id: null\n });\n let { addGlobalListener: addGlobalListener, removeGlobalListener: removeGlobalListener } = (0, $5GN7j$useGlobalListeners)();\n let move = (0, $5GN7j$useEffectEvent)((originalEvent, pointerType, deltaX, deltaY)=>{\n if (deltaX === 0 && deltaY === 0) return;\n if (!state.current.didMove) {\n state.current.didMove = true;\n onMoveStart === null || onMoveStart === void 0 ? void 0 : onMoveStart({\n type: 'movestart',\n pointerType: pointerType,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n }\n onMove === null || onMove === void 0 ? void 0 : onMove({\n type: 'move',\n pointerType: pointerType,\n deltaX: deltaX,\n deltaY: deltaY,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n });\n let end = (0, $5GN7j$useEffectEvent)((originalEvent, pointerType)=>{\n (0, $14c0b72509d70225$export$b0d6fa1ab32e3295)();\n if (state.current.didMove) onMoveEnd === null || onMoveEnd === void 0 ? void 0 : onMoveEnd({\n type: 'moveend',\n pointerType: pointerType,\n shiftKey: originalEvent.shiftKey,\n metaKey: originalEvent.metaKey,\n ctrlKey: originalEvent.ctrlKey,\n altKey: originalEvent.altKey\n });\n });\n let moveProps = (0, $5GN7j$useMemo)(()=>{\n let moveProps = {};\n let start = ()=>{\n (0, $14c0b72509d70225$export$16a4697467175487)();\n state.current.didMove = false;\n };\n if (typeof PointerEvent === 'undefined' && process.env.NODE_ENV === 'test') {\n let onMouseMove = (e)=>{\n if (e.button === 0) {\n var _state_current_lastPosition, _state_current_lastPosition1;\n var _state_current_lastPosition_pageX, _state_current_lastPosition_pageY;\n move(e, 'mouse', e.pageX - ((_state_current_lastPosition_pageX = (_state_current_lastPosition = state.current.lastPosition) === null || _state_current_lastPosition === void 0 ? void 0 : _state_current_lastPosition.pageX) !== null && _state_current_lastPosition_pageX !== void 0 ? _state_current_lastPosition_pageX : 0), e.pageY - ((_state_current_lastPosition_pageY = (_state_current_lastPosition1 = state.current.lastPosition) === null || _state_current_lastPosition1 === void 0 ? void 0 : _state_current_lastPosition1.pageY) !== null && _state_current_lastPosition_pageY !== void 0 ? _state_current_lastPosition_pageY : 0));\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n }\n };\n let onMouseUp = (e)=>{\n if (e.button === 0) {\n end(e, 'mouse');\n removeGlobalListener(window, 'mousemove', onMouseMove, false);\n removeGlobalListener(window, 'mouseup', onMouseUp, false);\n }\n };\n moveProps.onMouseDown = (e)=>{\n if (e.button === 0) {\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n addGlobalListener(window, 'mousemove', onMouseMove, false);\n addGlobalListener(window, 'mouseup', onMouseUp, false);\n }\n };\n let onTouchMove = (e)=>{\n let touch = [\n ...e.changedTouches\n ].findIndex(({ identifier: identifier })=>identifier === state.current.id);\n if (touch >= 0) {\n var _state_current_lastPosition, _state_current_lastPosition1;\n let { pageX: pageX, pageY: pageY } = e.changedTouches[touch];\n var _state_current_lastPosition_pageX, _state_current_lastPosition_pageY;\n move(e, 'touch', pageX - ((_state_current_lastPosition_pageX = (_state_current_lastPosition = state.current.lastPosition) === null || _state_current_lastPosition === void 0 ? void 0 : _state_current_lastPosition.pageX) !== null && _state_current_lastPosition_pageX !== void 0 ? _state_current_lastPosition_pageX : 0), pageY - ((_state_current_lastPosition_pageY = (_state_current_lastPosition1 = state.current.lastPosition) === null || _state_current_lastPosition1 === void 0 ? void 0 : _state_current_lastPosition1.pageY) !== null && _state_current_lastPosition_pageY !== void 0 ? _state_current_lastPosition_pageY : 0));\n state.current.lastPosition = {\n pageX: pageX,\n pageY: pageY\n };\n }\n };\n let onTouchEnd = (e)=>{\n let touch = [\n ...e.changedTouches\n ].findIndex(({ identifier: identifier })=>identifier === state.current.id);\n if (touch >= 0) {\n end(e, 'touch');\n state.current.id = null;\n removeGlobalListener(window, 'touchmove', onTouchMove);\n removeGlobalListener(window, 'touchend', onTouchEnd);\n removeGlobalListener(window, 'touchcancel', onTouchEnd);\n }\n };\n moveProps.onTouchStart = (e)=>{\n if (e.changedTouches.length === 0 || state.current.id != null) return;\n let { pageX: pageX, pageY: pageY, identifier: identifier } = e.changedTouches[0];\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: pageX,\n pageY: pageY\n };\n state.current.id = identifier;\n addGlobalListener(window, 'touchmove', onTouchMove, false);\n addGlobalListener(window, 'touchend', onTouchEnd, false);\n addGlobalListener(window, 'touchcancel', onTouchEnd, false);\n };\n } else {\n let onPointerMove = (e)=>{\n if (e.pointerId === state.current.id) {\n var _state_current_lastPosition, _state_current_lastPosition1;\n let pointerType = e.pointerType || 'mouse';\n var _state_current_lastPosition_pageX, _state_current_lastPosition_pageY;\n // Problems with PointerEvent#movementX/movementY:\n // 1. it is always 0 on macOS Safari.\n // 2. On Chrome Android, it's scaled by devicePixelRatio, but not on Chrome macOS\n move(e, pointerType, e.pageX - ((_state_current_lastPosition_pageX = (_state_current_lastPosition = state.current.lastPosition) === null || _state_current_lastPosition === void 0 ? void 0 : _state_current_lastPosition.pageX) !== null && _state_current_lastPosition_pageX !== void 0 ? _state_current_lastPosition_pageX : 0), e.pageY - ((_state_current_lastPosition_pageY = (_state_current_lastPosition1 = state.current.lastPosition) === null || _state_current_lastPosition1 === void 0 ? void 0 : _state_current_lastPosition1.pageY) !== null && _state_current_lastPosition_pageY !== void 0 ? _state_current_lastPosition_pageY : 0));\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n }\n };\n let onPointerUp = (e)=>{\n if (e.pointerId === state.current.id) {\n let pointerType = e.pointerType || 'mouse';\n end(e, pointerType);\n state.current.id = null;\n removeGlobalListener(window, 'pointermove', onPointerMove, false);\n removeGlobalListener(window, 'pointerup', onPointerUp, false);\n removeGlobalListener(window, 'pointercancel', onPointerUp, false);\n }\n };\n moveProps.onPointerDown = (e)=>{\n if (e.button === 0 && state.current.id == null) {\n start();\n e.stopPropagation();\n e.preventDefault();\n state.current.lastPosition = {\n pageX: e.pageX,\n pageY: e.pageY\n };\n state.current.id = e.pointerId;\n addGlobalListener(window, 'pointermove', onPointerMove, false);\n addGlobalListener(window, 'pointerup', onPointerUp, false);\n addGlobalListener(window, 'pointercancel', onPointerUp, false);\n }\n };\n }\n let triggerKeyboardMove = (e, deltaX, deltaY)=>{\n start();\n move(e, 'keyboard', deltaX, deltaY);\n end(e, 'keyboard');\n };\n moveProps.onKeyDown = (e)=>{\n switch(e.key){\n case 'Left':\n case 'ArrowLeft':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, -1, 0);\n break;\n case 'Right':\n case 'ArrowRight':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 1, 0);\n break;\n case 'Up':\n case 'ArrowUp':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 0, -1);\n break;\n case 'Down':\n case 'ArrowDown':\n e.preventDefault();\n e.stopPropagation();\n triggerKeyboardMove(e, 0, 1);\n break;\n }\n };\n return moveProps;\n }, [\n state,\n addGlobalListener,\n removeGlobalListener,\n move,\n end\n ]);\n return {\n moveProps: moveProps\n };\n}\n\n\nexport {$e8a7022cf87cba2a$export$36da96379f79f245 as useMove};\n//# sourceMappingURL=useMove.module.js.map\n","import { useMove } from \"@react-aria/interactions\";\n\nimport type { MoveMoveEvent, MoveResult } from \"@react-aria/interactions\";\n\nimport { useEffect, useRef, useCallback } from \"react\";\n\nexport interface UseDraggableProps {\n\t/**\n\t * Ref to the moving target DOM node.\n\t */\n\ttargetRef?: React.RefObject<HTMLElement> | null;\n\t/**\n\t * Whether to disable the target is draggable.\n\t * @default false\n\t */\n\tisDisabled?: boolean;\n\t/**\n\t * Whether the target can overflow the viewport.\n\t * @default false\n\t */\n\tcanOverflow?: boolean;\n}\n\n/**\n * A hook to make a target draggable.\n * @param props UseDraggableProps\n * @returns MoveResult for the drag DOM node.\n */\nexport function useDraggable(props: UseDraggableProps): MoveResult {\n\tconst { targetRef, isDisabled = false, canOverflow = false } = props;\n\tconst boundary = useRef({ minLeft: 0, minTop: 0, maxLeft: 0, maxTop: 0 });\n\tlet transform = { offsetX: 0, offsetY: 0 };\n\n\tconst onMoveStart = useCallback(() => {\n\t\tconst { offsetX, offsetY } = transform;\n\n\t\tconst targetRect = targetRef?.current?.getBoundingClientRect();\n\t\tconst targetLeft = targetRect?.left ?? 0;\n\t\tconst targetTop = targetRect?.top ?? 0;\n\t\tconst targetWidth = targetRect?.width ?? 0;\n\t\tconst targetHeight = targetRect?.height ?? 0;\n\n\t\tconst clientWidth = document.documentElement.clientWidth;\n\t\tconst clientHeight = document.documentElement.clientHeight;\n\n\t\tconst minLeft = -targetLeft + offsetX;\n\t\tconst minTop = -targetTop + offsetY;\n\t\tconst maxLeft = clientWidth - targetLeft - targetWidth + offsetX;\n\t\tconst maxTop = clientHeight - targetTop - targetHeight + offsetY;\n\n\t\tboundary.current = {\n\t\t\tminLeft,\n\t\t\tminTop,\n\t\t\tmaxLeft,\n\t\t\tmaxTop,\n\t\t};\n\t}, [transform, targetRef?.current]);\n\n\tconst onMove = useCallback(\n\t\t(e: MoveMoveEvent) => {\n\t\t\tif (isDisabled) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst { offsetX, offsetY } = transform;\n\t\t\tconst { minLeft, minTop, maxLeft, maxTop } = boundary.current;\n\t\t\tlet moveX = offsetX + e.deltaX;\n\t\t\tlet moveY = offsetY + e.deltaY;\n\n\t\t\tif (!canOverflow) {\n\t\t\t\tmoveX = Math.min(Math.max(moveX, minLeft), maxLeft);\n\t\t\t\tmoveY = Math.min(Math.max(moveY, minTop), maxTop);\n\t\t\t}\n\n\t\t\ttransform = {\n\t\t\t\toffsetX: moveX,\n\t\t\t\toffsetY: moveY,\n\t\t\t};\n\n\t\t\tif (targetRef?.current) {\n\t\t\t\ttargetRef.current.style.transform = `translate(${moveX}px, ${moveY}px)`;\n\t\t\t}\n\t\t},\n\t\t[isDisabled, transform, boundary.current, canOverflow, targetRef?.current],\n\t);\n\n\tconst { moveProps } = useMove({\n\t\tonMoveStart,\n\t\tonMove,\n\t});\n\n\tconst preventDefault = useCallback((e: TouchEvent) => {\n\t\te.preventDefault();\n\t}, []);\n\n\t// NOTE: This process is due to the modal being displayed at the bottom instead of the center when opened on mobile sizes.\n\t// It will become unnecessary once the modal is centered properly.\n\tuseEffect(() => {\n\t\tif (!isDisabled) {\n\t\t\t// Prevent body scroll when dragging at mobile.\n\t\t\tdocument.body.addEventListener(\"touchmove\", preventDefault, { passive: false });\n\t\t}\n\n\t\treturn () => {\n\t\t\tdocument.body.removeEventListener(\"touchmove\", preventDefault);\n\t\t};\n\t}, [isDisabled]);\n\n\treturn {\n\t\tmoveProps: {\n\t\t\t...moveProps,\n\t\t\tstyle: { cursor: !isDisabled ? \"move\" : undefined },\n\t\t},\n\t};\n}\n"],"names":["useModalHooks","modalIdRef","$","_c","isOpen","setIsOpen","useState","isVisibleModal","setIsVisibleModal","paramBody","setParamBody","onOpenRef","useRef","_temp","onCloseRef","_temp2","modalIdGenerated","useId","modalId","t0","Symbol","for","params","undefined","current","showModal","t1","closeModal","t2","visibleModal","t3","hiddenModal","t4","params_0","updateParamBody","t5","prev","next","toggleModal","t6","useDrawer","props","drawerId","defaultOpen","isDrawer","setIsDrawer","isVisibleDrawer","setIsVisibleDrawer","drawerBody","setDrawerBody","value","setTimeout","showDrawer","visibleDrawer","t7","hiddenDrawer","t8","closeDrawer","t9","value_0","t10","defaultAlertState","title","description","body","loading","useConfirmationAlert","alert","setAlert","alerts","setAlerts","options","showAlert","setAlertLoading","hideAlert","key","options_0","prev_0","showModalByKey","key_0","prev_1","setModalLoadingByKey","key_1","prev_2","hideModalByKey","$HgANd$react","$lmaYr$react","$lmaYr$useRef","$lmaYr$useCallback","$lPAwt$useRef","$lPAwt$useCallback","$lPAwt$useEffect","$7R18e$isIOS","$7R18e$getOwnerDocument","$7R18e$runAfterTransition","$5GN7j$useRef","$5GN7j$useGlobalListeners","$5GN7j$useEffectEvent","$5GN7j$useMemo","moveProps","useDraggable","targetRef","isDisabled","canOverflow","boundary","minLeft","minTop","maxLeft","maxTop","transform","offsetX","offsetY","onMoveStart","useCallback","targetRect","getBoundingClientRect","targetLeft","left","targetTop","top","targetWidth","width","targetHeight","height","clientWidth","document","documentElement","clientHeight","onMove","e","moveX","deltaX","moveY","deltaY","Math","min","max","style","useMove","preventDefault","useEffect","addEventListener","passive","removeEventListener","cursor"],"mappings":";;AAiBO,SAAAA,cAAAC,YAAA;AAAA,QAAAC,IAAAC,EAAA,EAAA;AACN,QAAA,CAAAC,QAAAC,SAAA,IAA4BC,SAAS,KAAK;AAC1C,QAAA,CAAAC,gBAAAC,iBAAA,IAA4CF,SAAS,KAAK;AAC1D,QAAA,CAAAG,WAAAC,YAAA,IAAkCJ,SAAmB,IAAI;AAEzD,QAAAK,YAAkBC,OAAOC,OAAQ;AACjC,QAAAC,aAAmBF,OAAOG,MAAQ;AAClC,QAAAC,mBAAyBC,MAAAA;AACzB,QAAAC,UAAgBjB,cAAA,SAAuBe,gBAAgB;AAAG,MAAAG;AAAA,MAAAjB,EAAA,CAAA,MAAAkB,OAAAC,IAAA,2BAAA,GAAA;AAE5BF,SAAAG,CAAAA,WAAA;AAC7B,UAAIA,WAAWC,QAAS;AACvBb,qBAAaY,MAAM;AAAA,MAAC;AAErBjB,gBAAU,IAAI;AACdG,wBAAkB,IAAI;AACtBG,gBAASa,UAAAA;AAAAA,IAAY;AACrBtB,WAAAiB;AAAAA,EAAA,OAAA;AAAAA,SAAAjB,EAAA,CAAA;AAAA,EAAA;AAPD,QAAAuB,YAAkBN;AAOX,MAAAO;AAAA,MAAAxB,EAAA,CAAA,MAAAkB,OAAAC,IAAA,2BAAA,GAAA;AAEwBK,SAAAA,MAAA;AAC9BrB,gBAAU,KAAK;AACfG,wBAAkB,KAAK;AACvBM,iBAAUU,UAAAA;AAAAA,IAAY;AACtBtB,WAAAwB;AAAAA,EAAA,OAAA;AAAAA,SAAAxB,EAAA,CAAA;AAAA,EAAA;AAJD,QAAAyB,aAAmBD;AAIZ,MAAAE;AAAA,MAAA1B,EAAA,CAAA,MAAAkB,OAAAC,IAAA,2BAAA,GAAA;AAEcO,SAAAA,MAAMpB,kBAAkB,IAAI;AAACN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Aa;AACjB2B,cAAQI,KAAKC,IAAID,KAAKE,IAAIN,OAAOzB,SAAO,GAAGE,SAAO;AAClDyB,cAAQE,KAAKC,IAAID,KAAKE,IAAIJ,OAAO1B,QAAM,GAAGE,QAAM;AAAA,IACjD;AAEAC,gBAAY;AAAA,MACXC,SAASoB;AAAAA,MACTnB,SAASqB;AAAAA,IAAAA;AAGV,QAAI/B,WAAW7E,SAAS;AACvB6E,gBAAU7E,QAAQiH,MAAM5B,YAAY,aAAaqB,KAAK,OAAOE,KAAK;AAAA,IACnE;AAAA,EACD,GACA,CAAC9B,YAAYO,WAAWL,SAAShF,SAAS+E,aAAaF,WAAW7E,OAAO,CAC1E;AAEA,QAAM;AAAA,IAAE2E;AAAAA,EAAAA,IAAcuC,0CAAQ;AAAA,IAC7B1B;AAAAA,IACAgB;AAAAA,EAAAA,CACA;AAED,QAAMW,iBAAiB1B,YAAY,CAACgB,QAAkB;AACrDA,QAAEU,eAAAA;AAAAA,EACH,GAAG,CAAA,CAAE;AAILC,YAAU,MAAM;AACf,QAAI,CAACtC,YAAY;AAEhBuB,eAAS7D,KAAK6E,iBAAiB,aAAaF,gBAAgB;AAAA,QAAEG,SAAS;AAAA,MAAA,CAAO;AAAA,IAC/E;AAEA,WAAO,MAAM;AACZjB,eAAS7D,KAAK+E,oBAAoB,aAAaJ,cAAc;AAAA,IAC9D;AAAA,EACD,GAAG,CAACrC,UAAU,CAAC;AAEf,SAAO;AAAA,IACNH,WAAW;AAAA,MACV,GAAGA;AAAAA,MACHsC,OAAO;AAAA,QAAEO,QAAQ,CAAC1C,aAAa,SAAS/E;AAAAA,MAAAA;AAAAA,IAAU;AAAA,EACnD;AAEF;","x_google_ignoreList":[3,4,5,6,7,8,9,10]}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "lizaui",
3
3
  "private": false,
4
4
  "license": "ISC",
5
- "version": "9.0.62",
5
+ "version": "9.0.63",
6
6
  "type": "module",
7
7
  "main": "dist/index.cjs.js",
8
8
  "module": "dist/index.es.js",
@@ -38,6 +38,11 @@
38
38
  "import": "./dist/divider/index.es.js",
39
39
  "require": "./dist/divider/index.cjs.js"
40
40
  },
41
+ "./drawer": {
42
+ "types": "./dist/drawer.d.ts",
43
+ "import": "./dist/drawer/index.es.js",
44
+ "require": "./dist/drawer/index.cjs.js"
45
+ },
41
46
  "./form-tabs": {
42
47
  "types": "./dist/form-tabs.d.ts",
43
48
  "import": "./dist/form-tabs/index.es.js",
@@ -156,7 +161,7 @@
156
161
  "formik": "^2.4.9",
157
162
  "framer-motion": "^12.23.24",
158
163
  "input-otp": "^1.4.2",
159
- "libphonenumber-js": "^1.12.28",
164
+ "libphonenumber-js": "^1.12.29",
160
165
  "lucide-react": "^0.554.0",
161
166
  "motion": "^12.23.24",
162
167
  "react": "^19.2.0",
@@ -171,7 +176,7 @@
171
176
  "react-tiny-popover": "^8.1.6",
172
177
  "styled-components": "^6.1.19",
173
178
  "tailwind-merge": "^3.4.0",
174
- "tailwind-variants": "^3.1.1",
179
+ "tailwind-variants": "^3.2.2",
175
180
  "tailwindcss": "^4.1.17",
176
181
  "usehooks-ts": "^3.1.1",
177
182
  "uuid": "^13.0.0",
@@ -196,4 +201,4 @@
196
201
  "typescript-eslint": "^8.47.0",
197
202
  "vite": "^7.2.4"
198
203
  }
199
- }
204
+ }