@stenajs-webui/modal 23.15.3 → 23.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +282 -267
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/ready-made-modals/InfoAlert.d.ts +10 -2
- package/package.json +5 -5
package/dist/index.es.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode("._overlay_quvmp_1{--swui-modal-animation-time: var(--swui-animation-time-fast);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;inset:0;background-color:var(--swui-modal-overlay-bg-color);overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;animation:_fadeIn_quvmp_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_quvmp_1{background-color:#fff}}._overlay_quvmp_1 ._modal_quvmp_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_quvmp_1 ._modal_quvmp_31{width:100%}}._overlay_quvmp_1 ._content_quvmp_41{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);pointer-events:all;top:calc(var(--swui-metrics-space) * 2);width:var(--swui-modal-width);max-width:var(--swui-modal-max-width)}@media (max-width: 768px){._overlay_quvmp_1 ._content_quvmp_41{top:0;width:100%;max-width:100%}}._overlay_quvmp_1 ._content_quvmp_41{animation:_appear_quvmp_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_quvmp_1 ._content_quvmp_41{box-shadow:none;top:0}}._overlay_quvmp_1 ._content_quvmp_41:focus{outline:0}._overlay_quvmp_1 ._content_quvmp_41._isDraggable_quvmp_70 .draggable-modal-handle{cursor:move}._overlay_quvmp_1 ._content_quvmp_41._isDraggable_quvmp_70 .draggable-modal-handle .draggable-modal-cancel,._overlay_quvmp_1 ._content_quvmp_41._isDraggable_quvmp_70 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_quvmp_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_quvmp_1{0%{opacity:0}to{opacity:1}}._footer_quvmp_101{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_quvmp_105{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_quvmp_105{position:static;box-shadow:none}}._portal_17ze5_1{--drawer-width: 370px}._portal_17ze5_1 ._overlay_17ze5_4{position:fixed;inset:0}._portal_17ze5_1 ._content_17ze5_9{box-shadow:var(--swui-shadow-modal);background:#fff;position:absolute;transition:transform var(--swui-animation-time-medium) ease-in-out}._portal_17ze5_1 ._content_17ze5_9._floating_17ze5_15{margin:var(--swui-metrics-space);border-radius:var(--swui-border-radius)}@media (max-width: 768px){._portal_17ze5_1 ._content_17ze5_9._floating_17ze5_15{margin:0;border-radius:0}}._portal_17ze5_1 ._content_17ze5_9:focus-visible{outline:unset}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30{transform:translate(var(--translate-x-outside-screen, 0));overflow-y:auto;top:0;bottom:0}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29._afterOpen_17ze5_36,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30._afterOpen_17ze5_36{transform:translate(0)}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29._beforeClose_17ze5_40,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30._beforeClose_17ze5_40{transform:translate(var(--translate-x-outside-screen))}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46{transform:translateY(var(--translate-y-outside-screen, 0));overflow-x:auto;left:0;right:0}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45._afterOpen_17ze5_36,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46._afterOpen_17ze5_36{transform:translateY(0)}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45._beforeClose_17ze5_40,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46._beforeClose_17ze5_40{transform:translateY(var(--translate-y-outside-screen))}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29{--translate-x-outside-screen: -100%;width:var(--drawer-width);left:0}._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30{--translate-x-outside-screen: 100%;width:var(--drawer-width);right:0}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45{--translate-y-outside-screen: -100%;height:var(--drawer-width);top:0}._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46{--translate-y-outside-screen: 100%;height:var(--drawer-width);bottom:0}._overlay_1gix5_1{--swui-modal-animation-time: var(--swui-animation-time-fast);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;inset:0;background-color:var(--swui-modal-overlay-bg-color);overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;animation:_fadeIn_1gix5_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1gix5_1{background-color:#fff}}._overlay_1gix5_1 ._modal_1gix5_31{max-width:100%;outline:none;pointer-events:none;padding:var(--swui-metrics-space)}._overlay_1gix5_1 ._content_1gix5_38{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);border-radius:var(--swui-border-radius-large);pointer-events:all;width:var(--swui-modal-width);max-width:var(--swui-modal-max-width);animation:_appear_1gix5_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1gix5_1 ._content_1gix5_38{box-shadow:none;top:0}}._overlay_1gix5_1 ._content_1gix5_38:focus{outline:0}._overlay_1gix5_1 ._content_1gix5_38._isDraggable_1gix5_61 .draggable-modal-handle{cursor:move}._overlay_1gix5_1 ._content_1gix5_38._isDraggable_1gix5_61 .draggable-modal-handle .draggable-modal-cancel,._overlay_1gix5_1 ._content_1gix5_38._isDraggable_1gix5_61 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_1gix5_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_1gix5_1{0%{opacity:0}to{opacity:1}}._footer_1gix5_92{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_1gix5_96{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_1gix5_96{position:static;box-shadow:none}}._overlay_nbrrn_1{--swui-modal-animation-time: var(--swui-animation-time-medium);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;inset:0;background-color:var(--swui-modal-overlay-bg-color);display:flex;flex-direction:column;justify-content:flex-start;align-items:center;opacity:0}._overlay_nbrrn_1._afterOpen_nbrrn_24:not(._beforeClose_nbrrn_24){animation:_fadeIn_nbrrn_1 var(--swui-modal-animation-time) forwards}._overlay_nbrrn_1._beforeClose_nbrrn_24{animation:_fadeOut_nbrrn_1 var(--swui-modal-animation-time) forwards}@media print{._overlay_nbrrn_1{background-color:#fff}}._overlay_nbrrn_1 ._modal_nbrrn_36{max-width:100%;outline:none;pointer-events:none;padding:calc(var(--swui-metrics-space) * 2);box-sizing:border-box;max-height:100%;transform:translateY(-100%)}@media (max-width: 768px){._overlay_nbrrn_1 ._modal_nbrrn_36{padding:0;width:100%}}._overlay_nbrrn_1 ._modal_nbrrn_36._afterOpen_nbrrn_24:not(._beforeClose_nbrrn_24){animation:_slideIn_nbrrn_1 var(--swui-modal-animation-time) forwards}._overlay_nbrrn_1 ._modal_nbrrn_36._beforeClose_nbrrn_24{animation:_slideOut_nbrrn_1 var(--swui-modal-animation-time) forwards}._overlay_nbrrn_1 ._content_nbrrn_59{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);border-radius:var(--swui-border-radius-large);pointer-events:all;width:var(--swui-modal-width);max-width:var(--swui-modal-max-width);height:100%;overflow:hidden;overflow-y:auto}@media (max-width: 768px){._overlay_nbrrn_1 ._content_nbrrn_59{border-radius:0;width:100%;max-width:100%;min-height:100dvh}}@media (min-width: 769px){._overlay_nbrrn_1 ._content_nbrrn_59{border-radius:var(--swui-border-radius-large)}._overlay_nbrrn_1 ._content_nbrrn_59::-webkit-scrollbar-thumb{background-color:var(--lhds-color-ui-400);border:4px solid transparent;border-radius:8px;background-clip:padding-box;min-height:40px}._overlay_nbrrn_1 ._content_nbrrn_59::-webkit-scrollbar{width:16px}}@media print{._overlay_nbrrn_1 ._content_nbrrn_59{box-shadow:none;top:0}}._overlay_nbrrn_1 ._content_nbrrn_59:focus{outline:0}@keyframes _fadeIn_nbrrn_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_nbrrn_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_nbrrn_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_nbrrn_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}._footer_nbrrn_149{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_nbrrn_153{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_nbrrn_153{position:static;box-shadow:none}}._modal_4fwgb_1{display:flex;justify-content:center;align-items:center;position:fixed;inset:0;background-color:transparent}._overlay_4fwgb_13{position:fixed;inset:0;background-color:var(--swui-overlay-bg-color)}._alertDialog_14t8t_1{border:0;outline:0;border-radius:var(--swui-border-radius-large);margin:auto;padding:0;overscroll-behavior:contain;opacity:0;pointer-events:none;box-shadow:#0003 0 0 10px 4px}._alertDialog_14t8t_1:not([open]){display:none}._alertDialog_14t8t_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_14t8t_1 .25s forwards}._alertDialog_14t8t_1._closing_14t8t_22[open]{animation:_slideOut_14t8t_1 .25s forwards}._alertDialog_14t8t_1::backdrop{position:fixed;inset:0;background-color:#0d0e1080;animation:_fadeIn_14t8t_1 .25s forwards}._alertDialog_14t8t_1._closing_14t8t_22::backdrop{animation:_fadeOut_14t8t_1 .25s forwards}@keyframes _fadeIn_14t8t_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_14t8t_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_14t8t_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_14t8t_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}._drawerDialog_11g6r_1{max-height:100%;max-width:100%;border:0;outline:0;margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:#0003 0 0 10px 4px;position:fixed}._drawerDialog_11g6r_1._left_11g6r_13,._drawerDialog_11g6r_1._right_11g6r_14{height:100%;top:0;bottom:0}._drawerDialog_11g6r_1._left_11g6r_13 ._contentWrapper_11g6r_19,._drawerDialog_11g6r_1._right_11g6r_14 ._contentWrapper_11g6r_19{height:100%}@media (max-width: 768px){._drawerDialog_11g6r_1._left_11g6r_13,._drawerDialog_11g6r_1._right_11g6r_14{width:-webkit-fit-content;width:fit-content}}._drawerDialog_11g6r_1._left_11g6r_13{left:0;right:unset}._drawerDialog_11g6r_1._left_11g6r_13[open]{animation:_slideInLeft_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._left_11g6r_13._closing_11g6r_36[open]{animation:_slideOutLeft_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._right_11g6r_14{left:unset;right:0}._drawerDialog_11g6r_1._right_11g6r_14[open]{animation:_slideInRight_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._right_11g6r_14._closing_11g6r_36[open]{animation:_slideOutRight_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._top_11g6r_54,._drawerDialog_11g6r_1._bottom_11g6r_55{width:100%;left:0;right:0}@media (max-width: 768px){._drawerDialog_11g6r_1._top_11g6r_54,._drawerDialog_11g6r_1._bottom_11g6r_55{height:-webkit-fit-content;height:fit-content}}._drawerDialog_11g6r_1._top_11g6r_54{top:0;bottom:unset}._drawerDialog_11g6r_1._top_11g6r_54[open]{animation:_slideInTop_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._top_11g6r_54._closing_11g6r_36[open]{animation:_slideOutTop_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._bottom_11g6r_55{top:unset;bottom:0}._drawerDialog_11g6r_1._bottom_11g6r_55[open]{animation:_slideInBottom_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._bottom_11g6r_55._closing_11g6r_36[open]{animation:_slideOutBottom_11g6r_1 .25s forwards}._drawerDialog_11g6r_1[open]{opacity:1;pointer-events:auto}@keyframes _slideInLeft_11g6r_1{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutLeft_11g6r_1{0%{transform:translate(0);opacity:0}to{transform:translate(-100%);opacity:1}}@keyframes _slideInTop_11g6r_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutTop_11g6r_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(-100%);opacity:1}}@keyframes _slideInRight_11g6r_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutRight_11g6r_1{0%{transform:translate(0);opacity:0}to{transform:translate(100%);opacity:1}}@keyframes _slideInBottom_11g6r_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutBottom_11g6r_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(100%);opacity:1}}._modalDialog_iw29e_1{border:0;outline:0;margin:auto;padding:0;overscroll-behavior:contain;opacity:0;pointer-events:none;box-shadow:#0003 0 0 10px 4px}@media (min-width: 769px){._modalDialog_iw29e_1{border-radius:var(--swui-border-radius-large)}._modalDialog_iw29e_1::-webkit-scrollbar-thumb{background-color:var(--lhds-color-ui-400);border:4px solid transparent;border-radius:8px;background-clip:padding-box;min-height:40px}._modalDialog_iw29e_1::-webkit-scrollbar{width:16px}}._modalDialog_iw29e_1:not([open]){display:none}._modalDialog_iw29e_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_iw29e_1 .25s forwards}._modalDialog_iw29e_1._closing_iw29e_37[open]{animation:_slideOut_iw29e_1 .25s forwards}@media (max-width: 768px){._modalDialog_iw29e_1{margin:0;width:100%;max-width:100%;height:100%;max-height:100%}}._modalDialog_iw29e_1::backdrop{position:fixed;inset:0;background-color:#0d0e1080;animation:_fadeIn_iw29e_1 .25s forwards}._modalDialog_iw29e_1._closing_iw29e_37::backdrop{animation:_fadeOut_iw29e_1 .25s forwards}@keyframes _fadeIn_iw29e_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_iw29e_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_iw29e_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_iw29e_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}@media (max-width: 768px){._contentWrapper_iw29e_101{width:100%;height:100%}}._modalActionButtons_s27nj_1{display:flex;flex-direction:row;gap:16px;justify-content:center}@media (max-width: 768px){._modalActionButtons_s27nj_1{flex-direction:column;justify-content:stretch}}@media (max-width: 768px){._modalBody_ozynq_1._modalBody_ozynq_1{padding:calc(var(--swui-metrics-space) * 2)}}._modalFooter_1ypno_1._modalFooter_1ypno_1{align-items:center;overflow:hidden;background:var(--silver-lighter);border-radius:24px 24px 0 0;padding:calc((var(--swui-metrics-spacing) * 2)) calc((var(--swui-metrics-indent) * 5));flex-shrink:0}._modalFooter_1ypno_1._modalFooter_1ypno_1._sticky_1ypno_10{position:-webkit-sticky;position:sticky;bottom:0}._unreadDot_l8bni_1{position:relative}._unreadDot_l8bni_1 ._dot_l8bni_4{top:1px;right:1px;position:absolute;width:8px;height:8px;border-radius:var(--swui-max-border-radius);background:var(--lhds-color-blue-500)}._notificationHeader_1rl25_1 ._timestamp_1rl25_2{padding-bottom:8px}._notification_tpz0j_1{display:flex;flex-direction:column;width:100%;background:var(--lhds-color-ui-50);padding:calc(var(--swui-metrics-spacing) * 2) calc(var(--swui-metrics-indent) * 2);gap:calc(var(--swui-metrics-space) * 1)}._notification_tpz0j_1 ._body_tpz0j_10{padding-left:48px;padding-right:24px}._notification_tpz0j_1._standard_tpz0j_15._unread_tpz0j_16{background:var(--lhds-color-blue-50)}._notification_tpz0j_1._danger_tpz0j_21{background:var(--lhds-color-red-100)}._notificationList_1rkvu_1{display:flex;flex-direction:column;gap:2px;background:var(--lhds-color-ui-200)}._toast_1ifzt_1 ._body_1ifzt_2{display:flex;padding-left:48px;padding-bottom:8px}._toastBox_1lvsy_1._toastBox_1lvsy_1{display:inline-block;padding:var(--swui-metrics-spacing) calc(var(--swui-metrics-indent) * 2);border-radius:var(--swui-border-radius);background:var(--lhds-color-ui-50);box-shadow:var(--swui-shadow-popover)}._toastBox_1lvsy_1._toastBox_1lvsy_1._clickable_1lvsy_8{border:1px solid transparent;cursor:pointer}._toastBox_1lvsy_1._toastBox_1lvsy_1._clickable_1lvsy_8:hover{border-color:var(--lhds-color-blue-300)}._toastContainer_1rek2_1 .Toastify__toast{align-items:flex-start}")),document.head.appendChild(o)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
import
|
|
3
|
-
import { jsx as t, jsxs as a, Fragment as
|
|
4
|
-
import { useRef as
|
|
2
|
+
import L from "react-modal";
|
|
3
|
+
import { jsx as t, jsxs as a, Fragment as K } from "react/jsx-runtime";
|
|
4
|
+
import { useRef as w, useState as R, useEffect as Oe, createContext as Ie, useReducer as Ae, useCallback as F, useMemo as me, createElement as ue, useContext as Te } from "react";
|
|
5
5
|
import Me from "react-draggable";
|
|
6
|
-
import
|
|
7
|
-
import { exhaustSwitchCase as Re, Spacing as
|
|
8
|
-
import { Icon as be, FlatButton as Ne, stenaTimes as He, Spinner as Se, CloseButton as
|
|
6
|
+
import c from "classnames";
|
|
7
|
+
import { exhaustSwitchCase as Re, Spacing as z, Row as p, Space as Q, Heading as te, useEventCallback as Ee, Column as v, Box as B, Indent as We, Txt as je, Text as Z } from "@stenajs-webui/core";
|
|
8
|
+
import { Icon as be, FlatButton as Ne, stenaTimes as He, Spinner as Se, CloseButton as oe, stenaTimesThick as Pe, CircledIcon as we } from "@stenajs-webui/elements";
|
|
9
9
|
import { cssColor as Be } from "@stenajs-webui/theme";
|
|
10
10
|
import { ToastContainer as qe, toast as Ge } from "react-toastify";
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
}, Ve = "_overlay_quvmp_1", Xe = "_modal_quvmp_31", Ye = "_content_quvmp_41", Ue = "_isDraggable_quvmp_70", Je = "_footer_quvmp_101", Ke = "_stickyFooter_quvmp_105",
|
|
11
|
+
const Lo = (e) => {
|
|
12
|
+
L.setAppElement(e);
|
|
13
|
+
}, Ve = "_overlay_quvmp_1", Xe = "_modal_quvmp_31", Ye = "_content_quvmp_41", Ue = "_isDraggable_quvmp_70", Je = "_footer_quvmp_101", Ke = "_stickyFooter_quvmp_105", k = {
|
|
14
14
|
overlay: Ve,
|
|
15
15
|
modal: Xe,
|
|
16
16
|
content: Ye,
|
|
@@ -24,12 +24,12 @@ const Fo = (e) => {
|
|
|
24
24
|
children: s,
|
|
25
25
|
...r
|
|
26
26
|
}) => {
|
|
27
|
-
const
|
|
27
|
+
const i = w(null);
|
|
28
28
|
return /* @__PURE__ */ t(
|
|
29
|
-
|
|
29
|
+
L,
|
|
30
30
|
{
|
|
31
|
-
overlayClassName:
|
|
32
|
-
className:
|
|
31
|
+
overlayClassName: k.overlay,
|
|
32
|
+
className: k.modal,
|
|
33
33
|
...r,
|
|
34
34
|
children: /* @__PURE__ */ t(
|
|
35
35
|
Me,
|
|
@@ -38,7 +38,7 @@ const Fo = (e) => {
|
|
|
38
38
|
cancel: `.${xe}, button, [role="tooltip"]`,
|
|
39
39
|
bounds: ".ReactModal__Overlay",
|
|
40
40
|
disabled: !n,
|
|
41
|
-
nodeRef:
|
|
41
|
+
nodeRef: i,
|
|
42
42
|
children: /* @__PURE__ */ t(
|
|
43
43
|
"div",
|
|
44
44
|
{
|
|
@@ -46,10 +46,10 @@ const Fo = (e) => {
|
|
|
46
46
|
"--swui-modal-width": e,
|
|
47
47
|
"--swui-modal-max-width": o
|
|
48
48
|
},
|
|
49
|
-
className:
|
|
50
|
-
[
|
|
49
|
+
className: c(k.content, {
|
|
50
|
+
[k.isDraggable]: n
|
|
51
51
|
}),
|
|
52
|
-
ref:
|
|
52
|
+
ref: i,
|
|
53
53
|
children: s
|
|
54
54
|
}
|
|
55
55
|
)
|
|
@@ -68,18 +68,18 @@ const Fo = (e) => {
|
|
|
68
68
|
beforeClose: at,
|
|
69
69
|
slideFromTop: lt,
|
|
70
70
|
slideFromBottom: ct
|
|
71
|
-
},
|
|
71
|
+
}, Fo = ({
|
|
72
72
|
background: e,
|
|
73
73
|
zIndex: o,
|
|
74
74
|
children: n,
|
|
75
75
|
slideFrom: s = "left",
|
|
76
76
|
portalTarget: r,
|
|
77
|
-
floating:
|
|
78
|
-
...
|
|
77
|
+
floating: i,
|
|
78
|
+
...m
|
|
79
79
|
}) => {
|
|
80
|
-
const { height:
|
|
80
|
+
const { height: l, width: h } = m;
|
|
81
81
|
return /* @__PURE__ */ t(
|
|
82
|
-
|
|
82
|
+
L,
|
|
83
83
|
{
|
|
84
84
|
closeTimeoutMS: 250,
|
|
85
85
|
portalClassName: f.portal,
|
|
@@ -89,17 +89,17 @@ const Fo = (e) => {
|
|
|
89
89
|
beforeClose: f.beforeClose
|
|
90
90
|
},
|
|
91
91
|
className: {
|
|
92
|
-
base:
|
|
92
|
+
base: c(
|
|
93
93
|
f.content,
|
|
94
94
|
it(s),
|
|
95
|
-
|
|
95
|
+
i && f.floating
|
|
96
96
|
),
|
|
97
97
|
afterOpen: f.afterOpen,
|
|
98
98
|
beforeClose: f.beforeClose
|
|
99
99
|
},
|
|
100
|
-
style: { content: { width: h, height:
|
|
100
|
+
style: { content: { width: h, height: l, background: e }, overlay: { zIndex: o } },
|
|
101
101
|
parentSelector: r ? () => r : void 0,
|
|
102
|
-
...
|
|
102
|
+
...m,
|
|
103
103
|
children: n
|
|
104
104
|
}
|
|
105
105
|
);
|
|
@@ -116,13 +116,13 @@ const Fo = (e) => {
|
|
|
116
116
|
default:
|
|
117
117
|
return Re(e, f.slideFromLeft);
|
|
118
118
|
}
|
|
119
|
-
},
|
|
119
|
+
}, zo = ({
|
|
120
120
|
header: e,
|
|
121
121
|
contentRight: o,
|
|
122
122
|
onRequestClose: n,
|
|
123
123
|
icon: s
|
|
124
124
|
}) => /* @__PURE__ */ t(
|
|
125
|
-
|
|
125
|
+
z,
|
|
126
126
|
{
|
|
127
127
|
position: "sticky",
|
|
128
128
|
top: 0,
|
|
@@ -136,9 +136,9 @@ const Fo = (e) => {
|
|
|
136
136
|
height: "48px",
|
|
137
137
|
children: [
|
|
138
138
|
/* @__PURE__ */ a(p, { alignItems: "center", gap: 2, children: [
|
|
139
|
-
/* @__PURE__ */ t(
|
|
139
|
+
/* @__PURE__ */ t(Q, { num: 1 }),
|
|
140
140
|
s && /* @__PURE__ */ t(be, { icon: s, size: 24 }),
|
|
141
|
-
/* @__PURE__ */ t(
|
|
141
|
+
/* @__PURE__ */ t(te, { variant: "h4", children: e })
|
|
142
142
|
] }),
|
|
143
143
|
/* @__PURE__ */ a(p, { gap: 1, children: [
|
|
144
144
|
o,
|
|
@@ -150,13 +150,13 @@ const Fo = (e) => {
|
|
|
150
150
|
variant: "danger"
|
|
151
151
|
}
|
|
152
152
|
),
|
|
153
|
-
/* @__PURE__ */ t(
|
|
153
|
+
/* @__PURE__ */ t(Q, { num: 0.5 })
|
|
154
154
|
] })
|
|
155
155
|
]
|
|
156
156
|
}
|
|
157
157
|
)
|
|
158
158
|
}
|
|
159
|
-
), dt = "_overlay_1gix5_1", mt = "_modal_1gix5_31", ut = "_content_1gix5_38",
|
|
159
|
+
), dt = "_overlay_1gix5_1", mt = "_modal_1gix5_31", ut = "_content_1gix5_38", Y = {
|
|
160
160
|
overlay: dt,
|
|
161
161
|
modal: mt,
|
|
162
162
|
content: ut
|
|
@@ -164,16 +164,16 @@ const Fo = (e) => {
|
|
|
164
164
|
children: e,
|
|
165
165
|
...o
|
|
166
166
|
}) => /* @__PURE__ */ t(
|
|
167
|
-
|
|
167
|
+
L,
|
|
168
168
|
{
|
|
169
|
-
overlayClassName:
|
|
170
|
-
className:
|
|
169
|
+
overlayClassName: Y.overlay,
|
|
170
|
+
className: Y.modal,
|
|
171
171
|
style: _t,
|
|
172
172
|
...o,
|
|
173
173
|
children: /* @__PURE__ */ t(
|
|
174
174
|
"div",
|
|
175
175
|
{
|
|
176
|
-
className:
|
|
176
|
+
className: Y.content,
|
|
177
177
|
style: { "--swui-modal-width": "fit-content" },
|
|
178
178
|
children: e
|
|
179
179
|
}
|
|
@@ -185,14 +185,14 @@ const Fo = (e) => {
|
|
|
185
185
|
beforeClose: pt,
|
|
186
186
|
modal: ht,
|
|
187
187
|
content: yt
|
|
188
|
-
}, _e = /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
|
|
188
|
+
}, _e = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), Ct = ({
|
|
189
189
|
children: e,
|
|
190
190
|
background: o,
|
|
191
191
|
className: n,
|
|
192
192
|
overlayClassName: s,
|
|
193
193
|
...r
|
|
194
194
|
}) => {
|
|
195
|
-
const
|
|
195
|
+
const i = w(null), [m, l] = R(_e ? "auto" : void 0), h = {
|
|
196
196
|
overlay: { justifyContent: "center" },
|
|
197
197
|
content: {
|
|
198
198
|
"--swui-modal-content-bg-color": o
|
|
@@ -200,23 +200,23 @@ const Fo = (e) => {
|
|
|
200
200
|
}, u = Ee(() => {
|
|
201
201
|
if (!_e)
|
|
202
202
|
return;
|
|
203
|
-
const y =
|
|
204
|
-
y &&
|
|
203
|
+
const y = i.current;
|
|
204
|
+
y && l(
|
|
205
205
|
y.scrollHeight > y.clientHeight ? "stable" : "auto"
|
|
206
206
|
);
|
|
207
207
|
});
|
|
208
|
-
return
|
|
208
|
+
return Oe(() => (window.addEventListener("resize", u), document.addEventListener("DOMContentLoaded", u), () => {
|
|
209
209
|
window.removeEventListener("resize", u), document.removeEventListener("DOMContentLoaded", u);
|
|
210
210
|
}), [u]), /* @__PURE__ */ t(
|
|
211
|
-
|
|
211
|
+
L,
|
|
212
212
|
{
|
|
213
213
|
overlayClassName: {
|
|
214
|
-
base:
|
|
214
|
+
base: c(s, x.overlay),
|
|
215
215
|
beforeClose: x.beforeClose,
|
|
216
216
|
afterOpen: x.afterOpen
|
|
217
217
|
},
|
|
218
218
|
className: {
|
|
219
|
-
base:
|
|
219
|
+
base: c(n, x.modal),
|
|
220
220
|
beforeClose: x.beforeClose,
|
|
221
221
|
afterOpen: x.afterOpen
|
|
222
222
|
},
|
|
@@ -230,25 +230,25 @@ const Fo = (e) => {
|
|
|
230
230
|
className: x.content,
|
|
231
231
|
style: {
|
|
232
232
|
"--swui-modal-width": "fit-content",
|
|
233
|
-
scrollbarGutter:
|
|
233
|
+
scrollbarGutter: m
|
|
234
234
|
},
|
|
235
|
-
ref:
|
|
235
|
+
ref: i,
|
|
236
236
|
children: e
|
|
237
237
|
}
|
|
238
238
|
)
|
|
239
239
|
}
|
|
240
240
|
);
|
|
241
|
-
},
|
|
242
|
-
modal:
|
|
241
|
+
}, vt = "_modal_4fwgb_1", bt = "_overlay_4fwgb_13", fe = {
|
|
242
|
+
modal: vt,
|
|
243
243
|
overlay: bt
|
|
244
|
-
},
|
|
244
|
+
}, Io = ({
|
|
245
245
|
headerIconLeft: e,
|
|
246
246
|
headerText: o,
|
|
247
247
|
shouldCloseOnOverlayClick: n = !1,
|
|
248
248
|
shouldCloseOnEsc: s = !1,
|
|
249
249
|
...r
|
|
250
250
|
}) => /* @__PURE__ */ t(
|
|
251
|
-
|
|
251
|
+
L,
|
|
252
252
|
{
|
|
253
253
|
...r,
|
|
254
254
|
isOpen: !0,
|
|
@@ -256,7 +256,7 @@ const Fo = (e) => {
|
|
|
256
256
|
shouldCloseOnEsc: s,
|
|
257
257
|
className: fe.modal,
|
|
258
258
|
overlayClassName: fe.overlay,
|
|
259
|
-
children: /* @__PURE__ */ a(
|
|
259
|
+
children: /* @__PURE__ */ a(v, { spacing: 2, alignItems: "center", children: [
|
|
260
260
|
/* @__PURE__ */ t(
|
|
261
261
|
B,
|
|
262
262
|
{
|
|
@@ -270,14 +270,14 @@ const Fo = (e) => {
|
|
|
270
270
|
children: /* @__PURE__ */ t(Se, { size: "small" })
|
|
271
271
|
}
|
|
272
272
|
),
|
|
273
|
-
(e || o) && /* @__PURE__ */ a(
|
|
274
|
-
/* @__PURE__ */ t(
|
|
273
|
+
(e || o) && /* @__PURE__ */ a(K, { children: [
|
|
274
|
+
/* @__PURE__ */ t(z, {}),
|
|
275
275
|
/* @__PURE__ */ a(p, { indent: 2, children: [
|
|
276
|
-
e && /* @__PURE__ */ a(
|
|
276
|
+
e && /* @__PURE__ */ a(K, { children: [
|
|
277
277
|
/* @__PURE__ */ t(be, { size: 14, icon: e, color: "white" }),
|
|
278
278
|
/* @__PURE__ */ t(We, {})
|
|
279
279
|
] }),
|
|
280
|
-
o && /* @__PURE__ */ t(
|
|
280
|
+
o && /* @__PURE__ */ t(te, { variant: "h4", color: "white", children: o })
|
|
281
281
|
] })
|
|
282
282
|
] })
|
|
283
283
|
] })
|
|
@@ -300,7 +300,7 @@ const Fo = (e) => {
|
|
|
300
300
|
o
|
|
301
301
|
] }),
|
|
302
302
|
/* @__PURE__ */ t(B, { alignSelf: "flex-start", children: /* @__PURE__ */ t(
|
|
303
|
-
|
|
303
|
+
oe,
|
|
304
304
|
{
|
|
305
305
|
className: s,
|
|
306
306
|
onClick: e
|
|
@@ -308,15 +308,15 @@ const Fo = (e) => {
|
|
|
308
308
|
) })
|
|
309
309
|
]
|
|
310
310
|
}
|
|
311
|
-
),
|
|
311
|
+
), Ao = ({
|
|
312
312
|
header: e,
|
|
313
313
|
headerText: o,
|
|
314
314
|
children: n,
|
|
315
315
|
spacing: s,
|
|
316
316
|
indent: r,
|
|
317
|
-
draggable:
|
|
318
|
-
onRequestClose:
|
|
319
|
-
closeButtonClassName:
|
|
317
|
+
draggable: i = !1,
|
|
318
|
+
onRequestClose: m,
|
|
319
|
+
closeButtonClassName: l,
|
|
320
320
|
footer: h,
|
|
321
321
|
disableStickyFooter: u = !1,
|
|
322
322
|
...y
|
|
@@ -324,184 +324,184 @@ const Fo = (e) => {
|
|
|
324
324
|
Qe,
|
|
325
325
|
{
|
|
326
326
|
...y,
|
|
327
|
-
onRequestClose:
|
|
328
|
-
draggable:
|
|
327
|
+
onRequestClose: m,
|
|
328
|
+
draggable: i,
|
|
329
329
|
children: [
|
|
330
330
|
/* @__PURE__ */ t(
|
|
331
331
|
Nt,
|
|
332
332
|
{
|
|
333
|
-
onRequestClose:
|
|
333
|
+
onRequestClose: m,
|
|
334
334
|
header: e,
|
|
335
335
|
headerText: o,
|
|
336
|
-
closeButtonClassName:
|
|
336
|
+
closeButtonClassName: l
|
|
337
337
|
}
|
|
338
338
|
),
|
|
339
339
|
/* @__PURE__ */ t(B, { spacing: typeof s == "number" ? s : 1, indent: typeof r == "number" ? r : 1, children: n }),
|
|
340
340
|
h && /* @__PURE__ */ t(
|
|
341
341
|
B,
|
|
342
342
|
{
|
|
343
|
-
className:
|
|
344
|
-
[
|
|
343
|
+
className: c(k.footer, {
|
|
344
|
+
[k.stickyFooter]: !u
|
|
345
345
|
}),
|
|
346
346
|
children: h
|
|
347
347
|
}
|
|
348
348
|
)
|
|
349
349
|
]
|
|
350
350
|
}
|
|
351
|
-
),
|
|
351
|
+
), To = ({ children: e }) => /* @__PURE__ */ t(v, { indent: 2, spacing: 2, children: e }), ee = Ie(
|
|
352
352
|
void 0
|
|
353
353
|
);
|
|
354
|
-
function
|
|
354
|
+
function ne(e, {
|
|
355
355
|
ref: o,
|
|
356
356
|
modal: n,
|
|
357
357
|
contentWrapperClassName: s,
|
|
358
358
|
closingClassName: r,
|
|
359
|
-
contentWrapperStyle:
|
|
360
|
-
dialogStyle:
|
|
361
|
-
divInsteadOfDialog:
|
|
359
|
+
contentWrapperStyle: i,
|
|
360
|
+
dialogStyle: m,
|
|
361
|
+
divInsteadOfDialog: l,
|
|
362
362
|
disableCloseOnClickOutside: h,
|
|
363
363
|
elementId: u,
|
|
364
364
|
onResolve: y,
|
|
365
|
-
onReject:
|
|
366
|
-
className:
|
|
367
|
-
background:
|
|
368
|
-
label:
|
|
369
|
-
labelledby:
|
|
370
|
-
describedby:
|
|
365
|
+
onReject: C,
|
|
366
|
+
className: E,
|
|
367
|
+
background: W,
|
|
368
|
+
label: j,
|
|
369
|
+
labelledby: H,
|
|
370
|
+
describedby: S
|
|
371
371
|
}) {
|
|
372
|
-
const
|
|
373
|
-
(
|
|
374
|
-
(g,
|
|
375
|
-
|
|
372
|
+
const Le = w(null), _ = o ?? Le, [P, Fe] = Ae((d) => d + 1, 0), se = w(null), q = w(null), b = w(void 0), O = w(!1), I = w(null), [re, A] = R(!1), [G, D] = R(!1), [ae, N] = R(!1), V = e, ze = F(
|
|
373
|
+
(d) => (se.current = new Promise(
|
|
374
|
+
(g, de) => {
|
|
375
|
+
q.current = g, I.current = de;
|
|
376
376
|
}
|
|
377
|
-
),
|
|
377
|
+
), N(!1), A(!0), D(!0), Fe(), O.current = !1, b.current = d, n ? _.current?.showModal() : _.current?.show(), se.current),
|
|
378
378
|
[_, n]
|
|
379
|
-
),
|
|
380
|
-
(
|
|
381
|
-
O.current = !0,
|
|
382
|
-
|
|
379
|
+
), le = F(
|
|
380
|
+
(d) => {
|
|
381
|
+
O.current = !0, N(!0), A(!1), l ? setTimeout(() => {
|
|
382
|
+
N(!1), D(!1), q.current?.(d), b.current = void 0, y?.();
|
|
383
383
|
}, 300) : _.current?.addEventListener(
|
|
384
384
|
"animationend",
|
|
385
385
|
(g) => {
|
|
386
|
-
g.stopPropagation(),
|
|
386
|
+
g.stopPropagation(), N(!1), D(!1), _.current?.close(), q.current?.(d), b.current = void 0, y?.();
|
|
387
387
|
},
|
|
388
388
|
{ once: !0 }
|
|
389
389
|
);
|
|
390
390
|
},
|
|
391
|
-
[_, y,
|
|
392
|
-
), $ =
|
|
393
|
-
(
|
|
394
|
-
O.current = !0,
|
|
395
|
-
|
|
391
|
+
[_, y, l]
|
|
392
|
+
), $ = F(
|
|
393
|
+
(d) => {
|
|
394
|
+
O.current = !0, N(!0), A(!1), l ? setTimeout(() => {
|
|
395
|
+
N(!1), D(!1), I.current?.(d), C?.(), b.current = void 0;
|
|
396
396
|
}, 300) : _.current?.addEventListener(
|
|
397
397
|
"animationend",
|
|
398
398
|
(g) => {
|
|
399
|
-
g.stopPropagation(),
|
|
399
|
+
g.stopPropagation(), N(!1), D(!1), _.current?.close(), I.current?.(d), C?.(), b.current = void 0;
|
|
400
400
|
},
|
|
401
401
|
{ once: !0 }
|
|
402
402
|
);
|
|
403
403
|
},
|
|
404
|
-
[_,
|
|
405
|
-
),
|
|
406
|
-
(
|
|
407
|
-
|
|
404
|
+
[_, l, C]
|
|
405
|
+
), ce = F(
|
|
406
|
+
(d) => {
|
|
407
|
+
d.stopPropagation(), O.current || (N(!1), A(!1), D(!1), I.current?.(), C?.(), b.current = void 0);
|
|
408
408
|
},
|
|
409
|
-
[
|
|
410
|
-
),
|
|
411
|
-
(
|
|
412
|
-
if (
|
|
409
|
+
[C]
|
|
410
|
+
), ie = F(
|
|
411
|
+
(d) => {
|
|
412
|
+
if (d.target !== _.current)
|
|
413
413
|
return;
|
|
414
414
|
const g = _.current.getBoundingClientRect();
|
|
415
|
-
g.top <=
|
|
415
|
+
g.top <= d.clientY && d.clientY <= g.top + g.height && g.left <= d.clientX && d.clientX <= g.left + g.width || $();
|
|
416
416
|
},
|
|
417
417
|
[_, $]
|
|
418
|
-
),
|
|
419
|
-
() => ({ resolve:
|
|
420
|
-
[$,
|
|
418
|
+
), X = me(
|
|
419
|
+
() => ({ resolve: le, reject: $ }),
|
|
420
|
+
[$, le]
|
|
421
421
|
);
|
|
422
422
|
return [me(
|
|
423
|
-
() =>
|
|
424
|
-
|
|
423
|
+
() => l ? /* @__PURE__ */ t(
|
|
424
|
+
Ct,
|
|
425
425
|
{
|
|
426
|
-
isOpen:
|
|
426
|
+
isOpen: re,
|
|
427
427
|
onRequestClose: $,
|
|
428
|
-
background:
|
|
429
|
-
contentLabel:
|
|
428
|
+
background: W,
|
|
429
|
+
contentLabel: j,
|
|
430
430
|
id: u,
|
|
431
|
-
aria: { modal: !0, labelledby:
|
|
432
|
-
children: /* @__PURE__ */ t(
|
|
431
|
+
aria: { modal: !0, labelledby: H, describedby: S },
|
|
432
|
+
children: /* @__PURE__ */ t(ee.Provider, { value: X, children: G && /* @__PURE__ */ ue(V, { ...b.current, key: P }) })
|
|
433
433
|
}
|
|
434
434
|
) : /* @__PURE__ */ t(
|
|
435
435
|
"dialog",
|
|
436
436
|
{
|
|
437
|
-
onClick: h ? void 0 :
|
|
438
|
-
onClose:
|
|
437
|
+
onClick: h ? void 0 : ie,
|
|
438
|
+
onClose: ce,
|
|
439
439
|
ref: _,
|
|
440
440
|
id: u,
|
|
441
|
-
className:
|
|
442
|
-
"aria-label":
|
|
443
|
-
"aria-labelledby":
|
|
444
|
-
"aria-describedby":
|
|
445
|
-
style: { background:
|
|
446
|
-
children: /* @__PURE__ */ t("div", { style:
|
|
441
|
+
className: c(E, ae && r),
|
|
442
|
+
"aria-label": j,
|
|
443
|
+
"aria-labelledby": H,
|
|
444
|
+
"aria-describedby": S,
|
|
445
|
+
style: { background: W, ...m },
|
|
446
|
+
children: /* @__PURE__ */ t("div", { style: i, className: s, children: G && /* @__PURE__ */ t(ee.Provider, { value: X, children: /* @__PURE__ */ ue(V, { ...b.current, key: P }) }) })
|
|
447
447
|
}
|
|
448
448
|
),
|
|
449
449
|
[
|
|
450
|
-
|
|
451
|
-
|
|
450
|
+
l,
|
|
451
|
+
re,
|
|
452
452
|
$,
|
|
453
|
-
E,
|
|
454
453
|
W,
|
|
455
|
-
u,
|
|
456
454
|
j,
|
|
455
|
+
u,
|
|
457
456
|
H,
|
|
458
|
-
V,
|
|
459
|
-
q,
|
|
460
|
-
G,
|
|
461
457
|
S,
|
|
458
|
+
X,
|
|
459
|
+
G,
|
|
460
|
+
V,
|
|
461
|
+
P,
|
|
462
462
|
h,
|
|
463
|
+
ie,
|
|
463
464
|
ce,
|
|
464
|
-
le,
|
|
465
465
|
_,
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
E,
|
|
467
|
+
ae,
|
|
468
468
|
r,
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
m,
|
|
470
|
+
i,
|
|
471
471
|
s
|
|
472
472
|
]
|
|
473
|
-
), { show:
|
|
473
|
+
), { show: ze, reject: $ }];
|
|
474
474
|
}
|
|
475
|
-
const
|
|
476
|
-
const e = Te(
|
|
475
|
+
const Mo = () => {
|
|
476
|
+
const e = Te(ee);
|
|
477
477
|
if (e == null)
|
|
478
478
|
throw new Error("useDialogPromise is being used outside of dialog.");
|
|
479
479
|
return e;
|
|
480
|
-
}, wt = "_alertDialog_14t8t_1", Bt = "_closing_14t8t_22",
|
|
480
|
+
}, wt = "_alertDialog_14t8t_1", Bt = "_closing_14t8t_22", U = {
|
|
481
481
|
alertDialog: wt,
|
|
482
482
|
closing: Bt
|
|
483
483
|
};
|
|
484
|
-
function
|
|
485
|
-
return
|
|
484
|
+
function Ro(e, o) {
|
|
485
|
+
return ne(e, {
|
|
486
486
|
...o,
|
|
487
487
|
modal: !0,
|
|
488
|
-
closingClassName:
|
|
489
|
-
contentWrapperClassName:
|
|
488
|
+
closingClassName: c(o?.closingClassName, U.closing),
|
|
489
|
+
contentWrapperClassName: c(
|
|
490
490
|
o?.contentWrapperClassName,
|
|
491
|
-
|
|
491
|
+
U.contentWrapper
|
|
492
492
|
),
|
|
493
|
-
className:
|
|
493
|
+
className: c(o?.className, U.alertDialog)
|
|
494
494
|
});
|
|
495
495
|
}
|
|
496
|
-
const $t = "_drawerDialog_11g6r_1", xt = "_left_11g6r_13", Dt = "_right_11g6r_14",
|
|
496
|
+
const $t = "_drawerDialog_11g6r_1", xt = "_left_11g6r_13", Dt = "_right_11g6r_14", kt = "_contentWrapper_11g6r_19", Lt = "_slideInLeft_11g6r_1", Ft = "_closing_11g6r_36", zt = "_slideOutLeft_11g6r_1", Ot = "_slideInRight_11g6r_1", It = "_slideOutRight_11g6r_1", At = "_top_11g6r_54", Tt = "_bottom_11g6r_55", Mt = "_slideInTop_11g6r_1", Rt = "_slideOutTop_11g6r_1", Et = "_slideInBottom_11g6r_1", Wt = "_slideOutBottom_11g6r_1", T = {
|
|
497
497
|
drawerDialog: $t,
|
|
498
498
|
left: xt,
|
|
499
499
|
right: Dt,
|
|
500
|
-
contentWrapper:
|
|
501
|
-
slideInLeft:
|
|
502
|
-
closing:
|
|
503
|
-
slideOutLeft:
|
|
504
|
-
slideInRight:
|
|
500
|
+
contentWrapper: kt,
|
|
501
|
+
slideInLeft: Lt,
|
|
502
|
+
closing: Ft,
|
|
503
|
+
slideOutLeft: zt,
|
|
504
|
+
slideInRight: Ot,
|
|
505
505
|
slideOutRight: It,
|
|
506
506
|
top: At,
|
|
507
507
|
bottom: Tt,
|
|
@@ -510,46 +510,46 @@ const $t = "_drawerDialog_11g6r_1", xt = "_left_11g6r_13", Dt = "_right_11g6r_14
|
|
|
510
510
|
slideInBottom: Et,
|
|
511
511
|
slideOutBottom: Wt
|
|
512
512
|
};
|
|
513
|
-
function
|
|
514
|
-
return
|
|
513
|
+
function Eo(e, o = "left", n) {
|
|
514
|
+
return ne(e, {
|
|
515
515
|
...n,
|
|
516
516
|
disableCloseOnClickOutside: !0,
|
|
517
517
|
modal: !1,
|
|
518
|
-
closingClassName:
|
|
519
|
-
contentWrapperClassName:
|
|
518
|
+
closingClassName: c(n?.closingClassName, T.closing),
|
|
519
|
+
contentWrapperClassName: c(
|
|
520
520
|
n?.contentWrapperClassName,
|
|
521
|
-
|
|
521
|
+
T.contentWrapper
|
|
522
522
|
),
|
|
523
|
-
className:
|
|
523
|
+
className: c(n?.className, T.drawerDialog, T[o])
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
const jt = "_modalDialog_iw29e_1", Ht = "_closing_iw29e_37", St = "_contentWrapper_iw29e_101",
|
|
526
|
+
const jt = "_modalDialog_iw29e_1", Ht = "_closing_iw29e_37", St = "_contentWrapper_iw29e_101", J = {
|
|
527
527
|
modalDialog: jt,
|
|
528
528
|
closing: Ht,
|
|
529
529
|
contentWrapper: St
|
|
530
530
|
};
|
|
531
|
-
function
|
|
532
|
-
return
|
|
531
|
+
function Wo(e, o) {
|
|
532
|
+
return ne(e, {
|
|
533
533
|
...o,
|
|
534
534
|
modal: !0,
|
|
535
|
-
closingClassName:
|
|
536
|
-
contentWrapperClassName:
|
|
535
|
+
closingClassName: c(o?.closingClassName, J.closing),
|
|
536
|
+
contentWrapperClassName: c(
|
|
537
537
|
o?.contentWrapperClassName,
|
|
538
|
-
|
|
538
|
+
J.contentWrapper
|
|
539
539
|
),
|
|
540
|
-
className:
|
|
540
|
+
className: c(o?.className, J.modalDialog)
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
543
|
const De = ({
|
|
544
544
|
headingLevel: e = "h2",
|
|
545
545
|
size: o = "medium",
|
|
546
546
|
children: n
|
|
547
|
-
}) => /* @__PURE__ */ t(
|
|
547
|
+
}) => /* @__PURE__ */ t(te, { variant: o === "medium" ? "h3" : "h1", as: e, children: n }), Pt = "_modalActionButtons_s27nj_1", qt = {
|
|
548
548
|
modalActionButtons: Pt
|
|
549
549
|
}, Gt = ({
|
|
550
550
|
children: e
|
|
551
551
|
}) => /* @__PURE__ */ a(B, { width: "100%", children: [
|
|
552
|
-
/* @__PURE__ */ t(
|
|
552
|
+
/* @__PURE__ */ t(z, {}),
|
|
553
553
|
/* @__PURE__ */ t("div", { className: qt.modalActionButtons, children: e })
|
|
554
554
|
] }), Vt = "_modalBody_ozynq_1", ge = {
|
|
555
555
|
modalBody: Vt
|
|
@@ -559,9 +559,9 @@ const De = ({
|
|
|
559
559
|
className: n,
|
|
560
560
|
...s
|
|
561
561
|
}) => /* @__PURE__ */ t(
|
|
562
|
-
|
|
562
|
+
v,
|
|
563
563
|
{
|
|
564
|
-
className:
|
|
564
|
+
className: c(ge.modalBody, ge[o], n),
|
|
565
565
|
indent: o === "relaxed" ? 5 : 3,
|
|
566
566
|
spacing: o === "relaxed" ? 5 : 3,
|
|
567
567
|
gap: e,
|
|
@@ -571,7 +571,7 @@ const De = ({
|
|
|
571
571
|
children: e,
|
|
572
572
|
maxWidth: o
|
|
573
573
|
}) => /* @__PURE__ */ t(
|
|
574
|
-
|
|
574
|
+
v,
|
|
575
575
|
{
|
|
576
576
|
flex: 1,
|
|
577
577
|
height: "100%",
|
|
@@ -579,30 +579,7 @@ const De = ({
|
|
|
579
579
|
maxWidth: o,
|
|
580
580
|
children: e
|
|
581
581
|
}
|
|
582
|
-
),
|
|
583
|
-
icon: e,
|
|
584
|
-
buttons: o,
|
|
585
|
-
heading: n,
|
|
586
|
-
text: s,
|
|
587
|
-
children: r,
|
|
588
|
-
maxWidth: c,
|
|
589
|
-
minWidth: d
|
|
590
|
-
}) => /* @__PURE__ */ t(Yt, { children: /* @__PURE__ */ a(
|
|
591
|
-
Xt,
|
|
592
|
-
{
|
|
593
|
-
flexDirection: "column",
|
|
594
|
-
alignItems: "center",
|
|
595
|
-
maxWidth: c,
|
|
596
|
-
minWidth: d,
|
|
597
|
-
children: [
|
|
598
|
-
e && /* @__PURE__ */ t(we, { icon: e, size: "large" }),
|
|
599
|
-
/* @__PURE__ */ t(De, { children: n }),
|
|
600
|
-
s && /* @__PURE__ */ t(K, { textAlign: "center", children: s }),
|
|
601
|
-
r,
|
|
602
|
-
o && /* @__PURE__ */ t(Gt, { children: o })
|
|
603
|
-
]
|
|
604
|
-
}
|
|
605
|
-
) }), Ut = (e) => /* @__PURE__ */ t(
|
|
582
|
+
), Ut = (e) => /* @__PURE__ */ t(
|
|
606
583
|
Ne,
|
|
607
584
|
{
|
|
608
585
|
size: "large",
|
|
@@ -610,13 +587,13 @@ const De = ({
|
|
|
610
587
|
leftIcon: Pe,
|
|
611
588
|
...e
|
|
612
589
|
}
|
|
613
|
-
),
|
|
590
|
+
), Jt = ({
|
|
614
591
|
heading: e,
|
|
615
592
|
headingLevel: o,
|
|
616
593
|
headingSize: n,
|
|
617
594
|
onClickClose: s,
|
|
618
595
|
closeButtonAriaLabel: r
|
|
619
|
-
}) => /* @__PURE__ */ t(
|
|
596
|
+
}) => /* @__PURE__ */ t(v, { children: /* @__PURE__ */ a(p, { justifyContent: "space-between", alignItems: "center", gap: 2, children: [
|
|
620
597
|
e ? /* @__PURE__ */ t(De, { headingLevel: o, size: n, children: e }) : /* @__PURE__ */ t("div", {}),
|
|
621
598
|
s ? /* @__PURE__ */ t(
|
|
622
599
|
Ut,
|
|
@@ -626,9 +603,47 @@ const De = ({
|
|
|
626
603
|
"aria-label": r
|
|
627
604
|
}
|
|
628
605
|
) : null
|
|
629
|
-
] }) }),
|
|
630
|
-
|
|
631
|
-
|
|
606
|
+
] }) }), jo = ({
|
|
607
|
+
icon: e,
|
|
608
|
+
buttons: o,
|
|
609
|
+
heading: n,
|
|
610
|
+
text: s,
|
|
611
|
+
children: r,
|
|
612
|
+
maxWidth: i,
|
|
613
|
+
minWidth: m,
|
|
614
|
+
...l
|
|
615
|
+
}) => /* @__PURE__ */ t(Yt, { children: /* @__PURE__ */ a(Xt, { gap: 0, children: [
|
|
616
|
+
l.onClickClose && /* @__PURE__ */ t(
|
|
617
|
+
Jt,
|
|
618
|
+
{
|
|
619
|
+
onClickClose: l.onClickClose,
|
|
620
|
+
closeButtonAriaLabel: l.closeButtonAriaLabel
|
|
621
|
+
}
|
|
622
|
+
),
|
|
623
|
+
/* @__PURE__ */ a(
|
|
624
|
+
v,
|
|
625
|
+
{
|
|
626
|
+
gap: 2,
|
|
627
|
+
flexDirection: "column",
|
|
628
|
+
alignItems: "center",
|
|
629
|
+
maxWidth: i,
|
|
630
|
+
minWidth: m,
|
|
631
|
+
children: [
|
|
632
|
+
e && /* @__PURE__ */ a(K, { children: [
|
|
633
|
+
!l.onClickClose && /* @__PURE__ */ t(z, {}),
|
|
634
|
+
/* @__PURE__ */ t(we, { icon: e, size: "large" }),
|
|
635
|
+
/* @__PURE__ */ t(z, {})
|
|
636
|
+
] }),
|
|
637
|
+
/* @__PURE__ */ t(De, { children: n }),
|
|
638
|
+
s && /* @__PURE__ */ t(Z, { textAlign: "center", children: s }),
|
|
639
|
+
r,
|
|
640
|
+
o && /* @__PURE__ */ t(Gt, { children: o })
|
|
641
|
+
]
|
|
642
|
+
}
|
|
643
|
+
)
|
|
644
|
+
] }) }), Kt = "_modalFooter_1ypno_1", Qt = "_sticky_1ypno_10", pe = {
|
|
645
|
+
modalFooter: Kt,
|
|
646
|
+
sticky: Qt
|
|
632
647
|
}, Ho = ({
|
|
633
648
|
sticky: e,
|
|
634
649
|
zIndex: o = 4,
|
|
@@ -638,42 +653,42 @@ const De = ({
|
|
|
638
653
|
}) => /* @__PURE__ */ t(
|
|
639
654
|
p,
|
|
640
655
|
{
|
|
641
|
-
className:
|
|
656
|
+
className: c(pe.modalFooter, e && pe.sticky, s),
|
|
642
657
|
shadow: "var(--swui-sticky-footer-shadow)",
|
|
643
658
|
zIndex: o,
|
|
644
659
|
gap: n,
|
|
645
660
|
...r
|
|
646
661
|
}
|
|
647
|
-
),
|
|
648
|
-
unreadDot:
|
|
649
|
-
dot:
|
|
650
|
-
},
|
|
662
|
+
), Zt = "_unreadDot_l8bni_1", eo = "_dot_l8bni_4", he = {
|
|
663
|
+
unreadDot: Zt,
|
|
664
|
+
dot: eo
|
|
665
|
+
}, to = ({ children: e }) => /* @__PURE__ */ a("div", { className: he.unreadDot, children: [
|
|
651
666
|
e,
|
|
652
667
|
/* @__PURE__ */ t("div", { className: he.dot })
|
|
653
|
-
] }),
|
|
654
|
-
notificationHeader:
|
|
655
|
-
timestamp:
|
|
656
|
-
},
|
|
668
|
+
] }), oo = "_notificationHeader_1rl25_1", no = "_timestamp_1rl25_2", ye = {
|
|
669
|
+
notificationHeader: oo,
|
|
670
|
+
timestamp: no
|
|
671
|
+
}, ke = ({
|
|
657
672
|
text: e,
|
|
658
673
|
timestamp: o,
|
|
659
674
|
icon: n,
|
|
660
675
|
iconAriaLabel: s,
|
|
661
676
|
contentLeft: r,
|
|
662
|
-
contentRight:
|
|
663
|
-
onClickClose:
|
|
664
|
-
unread:
|
|
677
|
+
contentRight: i,
|
|
678
|
+
onClickClose: m,
|
|
679
|
+
unread: l = !1,
|
|
665
680
|
variant: h,
|
|
666
681
|
iconBackgroundColor: u,
|
|
667
682
|
forceCloseButtonAlignment: y
|
|
668
683
|
}) => {
|
|
669
|
-
const
|
|
684
|
+
const C = n ? /* @__PURE__ */ t(
|
|
670
685
|
we,
|
|
671
686
|
{
|
|
672
687
|
size: "small",
|
|
673
688
|
icon: n,
|
|
674
689
|
"aria-label": s,
|
|
675
690
|
variant: "whiteBg",
|
|
676
|
-
backgroundColor: u ||
|
|
691
|
+
backgroundColor: u || so(l, h)
|
|
677
692
|
}
|
|
678
693
|
) : void 0;
|
|
679
694
|
return /* @__PURE__ */ a(
|
|
@@ -686,37 +701,37 @@ const De = ({
|
|
|
686
701
|
gap: 2,
|
|
687
702
|
children: [
|
|
688
703
|
/* @__PURE__ */ a(p, { gap: 2, alignItems: "flex-start", children: [
|
|
689
|
-
r && /* @__PURE__ */ t(
|
|
690
|
-
!r &&
|
|
704
|
+
r && /* @__PURE__ */ t(v, { justifyContent: "center", children: r }),
|
|
705
|
+
!r && C && /* @__PURE__ */ t(p, { alignItems: "center", height: "40px", children: l ? /* @__PURE__ */ t(to, { children: C }) : C }),
|
|
691
706
|
/* @__PURE__ */ a(B, { minHeight: 20, justifyContent: "center", flex: 1, gap: 0.5, children: [
|
|
692
|
-
n ||
|
|
693
|
-
/* @__PURE__ */ t(
|
|
707
|
+
n || m || y ? /* @__PURE__ */ t(Q, { num: 0.5 }) : null,
|
|
708
|
+
/* @__PURE__ */ t(Z, { variant: "bold", children: e }),
|
|
694
709
|
o && /* @__PURE__ */ t("div", { className: ye.timestamp, children: /* @__PURE__ */ t(
|
|
695
|
-
|
|
710
|
+
Z,
|
|
696
711
|
{
|
|
697
712
|
size: "small",
|
|
698
713
|
color: Be(
|
|
699
|
-
|
|
714
|
+
l ? "--lhds-color-blue-600" : "--lhds-color-ui-600"
|
|
700
715
|
),
|
|
701
716
|
children: o
|
|
702
717
|
}
|
|
703
718
|
) })
|
|
704
719
|
] })
|
|
705
720
|
] }),
|
|
706
|
-
|
|
707
|
-
|
|
721
|
+
i && /* @__PURE__ */ t(v, { justifyContent: "center", children: i }),
|
|
722
|
+
m && /* @__PURE__ */ t(p, { alignItems: "center", height: "40px", width: "40px", children: /* @__PURE__ */ t(oe, { onClick: m }) })
|
|
708
723
|
]
|
|
709
724
|
}
|
|
710
725
|
);
|
|
711
|
-
},
|
|
726
|
+
}, so = (e, o) => {
|
|
712
727
|
if (!(!e && o === "standard"))
|
|
713
728
|
return "--lhds-color-ui-50";
|
|
714
|
-
},
|
|
715
|
-
notification:
|
|
716
|
-
body:
|
|
717
|
-
standard:
|
|
718
|
-
unread:
|
|
719
|
-
danger:
|
|
729
|
+
}, ro = "_notification_tpz0j_1", ao = "_body_tpz0j_10", lo = "_standard_tpz0j_15", co = "_unread_tpz0j_16", io = "_danger_tpz0j_21", M = {
|
|
730
|
+
notification: ro,
|
|
731
|
+
body: ao,
|
|
732
|
+
standard: lo,
|
|
733
|
+
unread: co,
|
|
734
|
+
danger: io
|
|
720
735
|
}, So = ({
|
|
721
736
|
variant: e = "standard",
|
|
722
737
|
children: o,
|
|
@@ -726,26 +741,26 @@ const De = ({
|
|
|
726
741
|
"div",
|
|
727
742
|
{
|
|
728
743
|
"data-comp": "Notification",
|
|
729
|
-
className:
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
n &&
|
|
744
|
+
className: c(
|
|
745
|
+
M.notification,
|
|
746
|
+
M[e],
|
|
747
|
+
n && M.unread
|
|
733
748
|
),
|
|
734
749
|
children: [
|
|
735
|
-
/* @__PURE__ */ t(
|
|
736
|
-
o && /* @__PURE__ */ t(
|
|
750
|
+
/* @__PURE__ */ t(ke, { ...s, unread: n, variant: e }),
|
|
751
|
+
o && /* @__PURE__ */ t(v, { className: M.body, children: o })
|
|
737
752
|
]
|
|
738
753
|
}
|
|
739
|
-
),
|
|
740
|
-
notificationList:
|
|
754
|
+
), mo = "_notificationList_1rkvu_1", uo = {
|
|
755
|
+
notificationList: mo
|
|
741
756
|
}, Po = ({
|
|
742
757
|
children: e
|
|
743
|
-
}) => /* @__PURE__ */ a("div", { "data-comp": "NotificationList", className:
|
|
758
|
+
}) => /* @__PURE__ */ a("div", { "data-comp": "NotificationList", className: uo.notificationList, children: [
|
|
744
759
|
e,
|
|
745
760
|
/* @__PURE__ */ t("div", {})
|
|
746
|
-
] }),
|
|
747
|
-
toast:
|
|
748
|
-
body:
|
|
761
|
+
] }), _o = "_toast_1ifzt_1", fo = "_body_1ifzt_2", Ce = {
|
|
762
|
+
toast: _o,
|
|
763
|
+
body: fo
|
|
749
764
|
}, qo = ({
|
|
750
765
|
children: e,
|
|
751
766
|
width: o = 364,
|
|
@@ -754,38 +769,38 @@ const De = ({
|
|
|
754
769
|
}) => /* @__PURE__ */ a(
|
|
755
770
|
B,
|
|
756
771
|
{
|
|
757
|
-
className:
|
|
772
|
+
className: Ce.toast,
|
|
758
773
|
"data-comp": "Toast",
|
|
759
774
|
width: o,
|
|
760
775
|
maxWidth: n,
|
|
761
776
|
children: [
|
|
762
|
-
/* @__PURE__ */ t(
|
|
763
|
-
e && /* @__PURE__ */ t("div", { className:
|
|
777
|
+
/* @__PURE__ */ t(ke, { forceCloseButtonAlignment: !0, ...s }),
|
|
778
|
+
e && /* @__PURE__ */ t("div", { className: Ce.body, children: e })
|
|
764
779
|
]
|
|
765
780
|
}
|
|
766
|
-
),
|
|
767
|
-
toastBox:
|
|
768
|
-
clickable:
|
|
781
|
+
), go = "_toastBox_1lvsy_1", po = "_clickable_1lvsy_8", ve = {
|
|
782
|
+
toastBox: go,
|
|
783
|
+
clickable: po
|
|
769
784
|
}, Go = ({ className: e, ...o }) => /* @__PURE__ */ t(
|
|
770
785
|
B,
|
|
771
786
|
{
|
|
772
787
|
as: o.onClick ? "button" : void 0,
|
|
773
|
-
className:
|
|
788
|
+
className: c(
|
|
774
789
|
e,
|
|
775
|
-
|
|
776
|
-
o.onClick &&
|
|
790
|
+
ve.toastBox,
|
|
791
|
+
o.onClick && ve.clickable
|
|
777
792
|
),
|
|
778
793
|
"data-comp": "Toast",
|
|
779
794
|
role: "alert",
|
|
780
795
|
...o
|
|
781
796
|
}
|
|
782
|
-
),
|
|
783
|
-
toastContainer:
|
|
797
|
+
), ho = "_toastContainer_1rek2_1", yo = {
|
|
798
|
+
toastContainer: ho
|
|
784
799
|
}, Vo = ({ ...e }) => /* @__PURE__ */ t(
|
|
785
800
|
qe,
|
|
786
801
|
{
|
|
787
|
-
className:
|
|
788
|
-
closeButton: ({ closeToast: o }) => /* @__PURE__ */ t(
|
|
802
|
+
className: yo.toastContainer,
|
|
803
|
+
closeButton: ({ closeToast: o }) => /* @__PURE__ */ t(oe, { onClick: o }),
|
|
789
804
|
hideProgressBar: !0,
|
|
790
805
|
pauseOnFocusLoss: !1,
|
|
791
806
|
pauseOnHover: !0,
|
|
@@ -798,36 +813,36 @@ export {
|
|
|
798
813
|
Qe as BaseWindow,
|
|
799
814
|
xe as DRAGGABLE_CANCEL_CLASSNAME,
|
|
800
815
|
$e as DRAGGABLE_HANDLE_CLASSNAME,
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
816
|
+
ee as DialogContext,
|
|
817
|
+
Fo as Drawer,
|
|
818
|
+
zo as DrawerHeader,
|
|
819
|
+
jo as InfoAlert,
|
|
820
|
+
Io as LoadingModal,
|
|
821
|
+
Ct as Modal,
|
|
807
822
|
Gt as ModalActionButtons,
|
|
808
823
|
Xt as ModalBody,
|
|
809
824
|
Ut as ModalCloseButton,
|
|
810
825
|
Yt as ModalContainer,
|
|
811
826
|
Ho as ModalFooter,
|
|
812
|
-
|
|
827
|
+
Jt as ModalHeader,
|
|
813
828
|
De as ModalHeading,
|
|
814
829
|
So as Notification,
|
|
815
|
-
|
|
830
|
+
ke as NotificationHeader,
|
|
816
831
|
Po as NotificationList,
|
|
817
832
|
qo as Toast,
|
|
818
833
|
Go as ToastBox,
|
|
819
834
|
Vo as ToastContainer,
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
835
|
+
to as UnreadDot,
|
|
836
|
+
Ao as Window,
|
|
837
|
+
To as WindowFooter,
|
|
823
838
|
Nt as WindowHeader,
|
|
824
|
-
|
|
825
|
-
|
|
839
|
+
so as getIconBgColorFromVariant,
|
|
840
|
+
Lo as setupDeclarativeModals,
|
|
826
841
|
Xo as showToast,
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
842
|
+
Ro as useAlertDialog,
|
|
843
|
+
ne as useDialog,
|
|
844
|
+
Mo as useDialogPromise,
|
|
845
|
+
Eo as useDrawerDialog,
|
|
846
|
+
Wo as useModalDialog
|
|
832
847
|
};
|
|
833
848
|
//# sourceMappingURL=index.es.js.map
|