@stenajs-webui/modal 20.0.3 → 20.2.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
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode("._overlay_5x3op_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;top:0;left:0;right:0;bottom: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_5x3op_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_5x3op_1{background-color:#fff}}._overlay_5x3op_1 ._modal_5x3op_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_5x3op_1 ._modal_5x3op_31{width:100%}}._overlay_5x3op_1 ._content_5x3op_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_5x3op_1 ._content_5x3op_41{top:0;width:100%;max-width:100%}}._overlay_5x3op_1 ._content_5x3op_41{animation:_appear_5x3op_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_5x3op_1 ._content_5x3op_41{box-shadow:none;top:0}}._overlay_5x3op_1 ._content_5x3op_41 :focus{outline:0}._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle{cursor:move}._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle .draggable-modal-cancel,._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_5x3op_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_5x3op_1{0%{opacity:0}to{opacity:1}}._footer_5x3op_101{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_5x3op_105{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_5x3op_105{position:static;box-shadow:none}}._portal_17ze5_1{--drawer-width: 370px}._portal_17ze5_1 ._overlay_17ze5_4{position:fixed;top:0;right:0;bottom:0;left: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_1rolx_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;top:0;left:0;right:0;bottom: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_1rolx_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1rolx_1{background-color:#fff}}._overlay_1rolx_1 ._modal_1rolx_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_1rolx_1 ._modal_1rolx_31{width:100%}}._overlay_1rolx_1 ._content_1rolx_41{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)}@media (max-width: 768px){._overlay_1rolx_1 ._content_1rolx_41{border-radius:0;width:100%;max-width:100%;height:100vh}}._overlay_1rolx_1 ._content_1rolx_41{animation:_appear_1rolx_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1rolx_1 ._content_1rolx_41{box-shadow:none;top:0}}._overlay_1rolx_1 ._content_1rolx_41 :focus{outline:0}._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle{cursor:move}._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle .draggable-modal-cancel,._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_1rolx_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_1rolx_1{0%{opacity:0}to{opacity:1}}._footer_1rolx_102{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_1rolx_106{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_1rolx_106{position:static;box-shadow:none}}._modal_4fwgb_1{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;background-color:transparent}._overlay_4fwgb_13{position:fixed;top:0;left:0;right:0;bottom: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;top:0;right:0;bottom:0;left: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_3e8xf_1{max-height:100%;max-width:100%;border:0;outline:0;margin:0;padding:0;overscroll-behavior:contain;box-shadow:#0003 0 0 10px 4px;position:fixed}._drawerDialog_3e8xf_1._left_3e8xf_12,._drawerDialog_3e8xf_1._right_3e8xf_13{height:100%;top:0;bottom:0}._drawerDialog_3e8xf_1._left_3e8xf_12 ._contentWrapper_3e8xf_18,._drawerDialog_3e8xf_1._right_3e8xf_13 ._contentWrapper_3e8xf_18{height:100%}@media (max-width: 768px){._drawerDialog_3e8xf_1._left_3e8xf_12,._drawerDialog_3e8xf_1._right_3e8xf_13{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}}._drawerDialog_3e8xf_1._left_3e8xf_12{left:0;right:unset}._drawerDialog_3e8xf_1._left_3e8xf_12[open]{animation:_slideInLeft_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._left_3e8xf_12._closing_3e8xf_35[open]{animation:_slideOutLeft_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._right_3e8xf_13{left:unset;right:0}._drawerDialog_3e8xf_1._right_3e8xf_13[open]{animation:_slideInRight_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._right_3e8xf_13._closing_3e8xf_35[open]{animation:_slideOutRight_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._top_3e8xf_53,._drawerDialog_3e8xf_1._bottom_3e8xf_54{width:100%;left:0;right:0}@media (max-width: 768px){._drawerDialog_3e8xf_1._top_3e8xf_53,._drawerDialog_3e8xf_1._bottom_3e8xf_54{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}._drawerDialog_3e8xf_1._top_3e8xf_53{top:0;bottom:unset}._drawerDialog_3e8xf_1._top_3e8xf_53[open]{animation:_slideInTop_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._top_3e8xf_53._closing_3e8xf_35[open]{animation:_slideOutTop_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._bottom_3e8xf_54{top:unset;bottom:0}._drawerDialog_3e8xf_1._bottom_3e8xf_54[open]{animation:_slideInBottom_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._bottom_3e8xf_54._closing_3e8xf_35[open]{animation:_slideOutBottom_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1[open]{opacity:1;pointer-events:auto}@keyframes _slideInLeft_3e8xf_1{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutLeft_3e8xf_1{0%{transform:translate(0);opacity:0}to{transform:translate(-100%);opacity:1}}@keyframes _slideInTop_3e8xf_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutTop_3e8xf_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(-100%);opacity:1}}@keyframes _slideInRight_3e8xf_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutRight_3e8xf_1{0%{transform:translate(0);opacity:0}to{transform:translate(100%);opacity:1}}@keyframes _slideInBottom_3e8xf_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutBottom_3e8xf_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(100%);opacity:1}}._modalDialog_1czrs_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_1czrs_1{border-radius:var(--swui-border-radius-large)}}._modalDialog_1czrs_1:not([open]){display:none}._modalDialog_1czrs_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_1czrs_1 .25s forwards}._modalDialog_1czrs_1._closing_1czrs_25[open]{animation:_slideOut_1czrs_1 .25s forwards}@media (max-width: 768px){._modalDialog_1czrs_1{margin:0;width:100%;max-width:100%;height:100%;max-height:100%}}._modalDialog_1czrs_1::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0d0e1080;animation:_fadeIn_1czrs_1 .25s forwards}._modalDialog_1czrs_1._closing_1czrs_25::backdrop{animation:_fadeOut_1czrs_1 .25s forwards}@keyframes _fadeIn_1czrs_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1czrs_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_1czrs_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_1czrs_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}._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}}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { jsx as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { exhaustSwitchCase as
|
|
7
|
-
import { Icon as J, FlatButton as
|
|
8
|
-
import { cssColor as
|
|
9
|
-
import { createContext as de, useRef as
|
|
10
|
-
const
|
|
11
|
-
overlay:
|
|
12
|
-
fadeIn:
|
|
13
|
-
modal:
|
|
14
|
-
content:
|
|
15
|
-
appear:
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode("._overlay_5x3op_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;top:0;left:0;right:0;bottom: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_5x3op_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_5x3op_1{background-color:#fff}}._overlay_5x3op_1 ._modal_5x3op_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_5x3op_1 ._modal_5x3op_31{width:100%}}._overlay_5x3op_1 ._content_5x3op_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_5x3op_1 ._content_5x3op_41{top:0;width:100%;max-width:100%}}._overlay_5x3op_1 ._content_5x3op_41{animation:_appear_5x3op_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_5x3op_1 ._content_5x3op_41{box-shadow:none;top:0}}._overlay_5x3op_1 ._content_5x3op_41 :focus{outline:0}._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle{cursor:move}._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle .draggable-modal-cancel,._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_5x3op_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_5x3op_1{0%{opacity:0}to{opacity:1}}._footer_5x3op_101{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_5x3op_105{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_5x3op_105{position:static;box-shadow:none}}._portal_17ze5_1{--drawer-width: 370px}._portal_17ze5_1 ._overlay_17ze5_4{position:fixed;top:0;right:0;bottom:0;left: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_r9tkq_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;top:0;left:0;right:0;bottom: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_r9tkq_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_r9tkq_1{background-color:#fff}}._overlay_r9tkq_1 ._modal_r9tkq_31{max-width:100%;outline:none;pointer-events:none;padding:var(--swui-metrics-space)}._overlay_r9tkq_1 ._content_r9tkq_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_r9tkq_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_r9tkq_1 ._content_r9tkq_38{box-shadow:none;top:0}}._overlay_r9tkq_1 ._content_r9tkq_38 :focus{outline:0}._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle{cursor:move}._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle .draggable-modal-cancel,._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_r9tkq_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_r9tkq_1{0%{opacity:0}to{opacity:1}}._footer_r9tkq_92{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_r9tkq_96{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_r9tkq_96{position:static;box-shadow:none}}._overlay_1rolx_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;top:0;left:0;right:0;bottom: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_1rolx_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1rolx_1{background-color:#fff}}._overlay_1rolx_1 ._modal_1rolx_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_1rolx_1 ._modal_1rolx_31{width:100%}}._overlay_1rolx_1 ._content_1rolx_41{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)}@media (max-width: 768px){._overlay_1rolx_1 ._content_1rolx_41{border-radius:0;width:100%;max-width:100%;height:100vh}}._overlay_1rolx_1 ._content_1rolx_41{animation:_appear_1rolx_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1rolx_1 ._content_1rolx_41{box-shadow:none;top:0}}._overlay_1rolx_1 ._content_1rolx_41 :focus{outline:0}._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle{cursor:move}._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle .draggable-modal-cancel,._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_1rolx_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_1rolx_1{0%{opacity:0}to{opacity:1}}._footer_1rolx_102{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_1rolx_106{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_1rolx_106{position:static;box-shadow:none}}._modal_4fwgb_1{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;background-color:transparent}._overlay_4fwgb_13{position:fixed;top:0;left:0;right:0;bottom: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;top:0;right:0;bottom:0;left: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_3e8xf_1{max-height:100%;max-width:100%;border:0;outline:0;margin:0;padding:0;overscroll-behavior:contain;box-shadow:#0003 0 0 10px 4px;position:fixed}._drawerDialog_3e8xf_1._left_3e8xf_12,._drawerDialog_3e8xf_1._right_3e8xf_13{height:100%;top:0;bottom:0}._drawerDialog_3e8xf_1._left_3e8xf_12 ._contentWrapper_3e8xf_18,._drawerDialog_3e8xf_1._right_3e8xf_13 ._contentWrapper_3e8xf_18{height:100%}@media (max-width: 768px){._drawerDialog_3e8xf_1._left_3e8xf_12,._drawerDialog_3e8xf_1._right_3e8xf_13{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}}._drawerDialog_3e8xf_1._left_3e8xf_12{left:0;right:unset}._drawerDialog_3e8xf_1._left_3e8xf_12[open]{animation:_slideInLeft_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._left_3e8xf_12._closing_3e8xf_35[open]{animation:_slideOutLeft_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._right_3e8xf_13{left:unset;right:0}._drawerDialog_3e8xf_1._right_3e8xf_13[open]{animation:_slideInRight_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._right_3e8xf_13._closing_3e8xf_35[open]{animation:_slideOutRight_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._top_3e8xf_53,._drawerDialog_3e8xf_1._bottom_3e8xf_54{width:100%;left:0;right:0}@media (max-width: 768px){._drawerDialog_3e8xf_1._top_3e8xf_53,._drawerDialog_3e8xf_1._bottom_3e8xf_54{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}._drawerDialog_3e8xf_1._top_3e8xf_53{top:0;bottom:unset}._drawerDialog_3e8xf_1._top_3e8xf_53[open]{animation:_slideInTop_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._top_3e8xf_53._closing_3e8xf_35[open]{animation:_slideOutTop_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._bottom_3e8xf_54{top:unset;bottom:0}._drawerDialog_3e8xf_1._bottom_3e8xf_54[open]{animation:_slideInBottom_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._bottom_3e8xf_54._closing_3e8xf_35[open]{animation:_slideOutBottom_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1[open]{opacity:1;pointer-events:auto}@keyframes _slideInLeft_3e8xf_1{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutLeft_3e8xf_1{0%{transform:translate(0);opacity:0}to{transform:translate(-100%);opacity:1}}@keyframes _slideInTop_3e8xf_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutTop_3e8xf_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(-100%);opacity:1}}@keyframes _slideInRight_3e8xf_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutRight_3e8xf_1{0%{transform:translate(0);opacity:0}to{transform:translate(100%);opacity:1}}@keyframes _slideInBottom_3e8xf_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutBottom_3e8xf_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(100%);opacity:1}}._modalDialog_1czrs_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_1czrs_1{border-radius:var(--swui-border-radius-large)}}._modalDialog_1czrs_1:not([open]){display:none}._modalDialog_1czrs_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_1czrs_1 .25s forwards}._modalDialog_1czrs_1._closing_1czrs_25[open]{animation:_slideOut_1czrs_1 .25s forwards}@media (max-width: 768px){._modalDialog_1czrs_1{margin:0;width:100%;max-width:100%;height:100%;max-height:100%}}._modalDialog_1czrs_1::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0d0e1080;animation:_fadeIn_1czrs_1 .25s forwards}._modalDialog_1czrs_1._closing_1czrs_25::backdrop{animation:_fadeOut_1czrs_1 .25s forwards}@keyframes _fadeIn_1czrs_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1czrs_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_1czrs_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_1czrs_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}._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}}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { jsx as l, jsxs as s, Fragment as F } from "react/jsx-runtime";
|
|
3
|
+
import w from "react-modal";
|
|
4
|
+
import p from "react-draggable";
|
|
5
|
+
import o from "classnames";
|
|
6
|
+
import { exhaustSwitchCase as ee, Spacing as M, Row as C, Space as q, Heading as E, Column as V, Box as x, Indent as te, Txt as le, Text as ae } from "@stenajs-webui/core";
|
|
7
|
+
import { Icon as J, FlatButton as re, stenaTimes as ce, Spinner as ne, CloseButton as K, CircledIcon as se } from "@stenajs-webui/elements";
|
|
8
|
+
import { cssColor as oe } from "@stenajs-webui/theme";
|
|
9
|
+
import { createContext as de, useRef as O, useReducer as _e, useState as H, useCallback as R, useMemo as ie, createElement as P, useContext as me } from "react";
|
|
10
|
+
const ue = "_overlay_5x3op_1", fe = "_fadeIn_5x3op_1", ge = "_modal_5x3op_31", he = "_content_5x3op_41", ye = "_appear_5x3op_1", Ce = "_isDraggable_5x3op_70", ve = "_footer_5x3op_101", Ne = "_stickyFooter_5x3op_105", N = {
|
|
11
|
+
overlay: ue,
|
|
12
|
+
fadeIn: fe,
|
|
13
|
+
modal: ge,
|
|
14
|
+
content: he,
|
|
15
|
+
appear: ye,
|
|
16
16
|
isDraggable: Ce,
|
|
17
|
-
footer:
|
|
18
|
-
stickyFooter:
|
|
19
|
-
}, Q = "draggable-modal-handle", U = "draggable-modal-cancel",
|
|
20
|
-
width:
|
|
17
|
+
footer: ve,
|
|
18
|
+
stickyFooter: Ne
|
|
19
|
+
}, Q = "draggable-modal-handle", U = "draggable-modal-cancel", xe = ({
|
|
20
|
+
width: t,
|
|
21
21
|
maxWidth: e,
|
|
22
22
|
draggable: a = !1,
|
|
23
23
|
children: r,
|
|
24
24
|
...c
|
|
25
|
-
}) => /* @__PURE__ */
|
|
26
|
-
|
|
25
|
+
}) => /* @__PURE__ */ l(
|
|
26
|
+
w,
|
|
27
27
|
{
|
|
28
|
-
overlayClassName:
|
|
29
|
-
className:
|
|
28
|
+
overlayClassName: N.overlay,
|
|
29
|
+
className: N.modal,
|
|
30
30
|
...c,
|
|
31
|
-
children: /* @__PURE__ */
|
|
32
|
-
|
|
31
|
+
children: /* @__PURE__ */ l(
|
|
32
|
+
p,
|
|
33
33
|
{
|
|
34
34
|
handle: `.${Q}`,
|
|
35
35
|
cancel: `.${U}, button, [role="tooltip"]`,
|
|
36
36
|
bounds: ".ReactModal__Overlay",
|
|
37
37
|
disabled: !a,
|
|
38
|
-
children: /* @__PURE__ */
|
|
38
|
+
children: /* @__PURE__ */ l(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
41
41
|
style: {
|
|
42
|
-
"--swui-modal-width":
|
|
42
|
+
"--swui-modal-width": t,
|
|
43
43
|
"--swui-modal-max-width": e
|
|
44
44
|
},
|
|
45
|
-
className:
|
|
46
|
-
[
|
|
45
|
+
className: o(N.content, {
|
|
46
|
+
[N.isDraggable]: a
|
|
47
47
|
}),
|
|
48
48
|
children: r
|
|
49
49
|
}
|
|
@@ -51,29 +51,29 @@ const me = "_overlay_5x3op_1", ue = "_fadeIn_5x3op_1", fe = "_modal_5x3op_31", g
|
|
|
51
51
|
}
|
|
52
52
|
)
|
|
53
53
|
}
|
|
54
|
-
),
|
|
55
|
-
portal:
|
|
56
|
-
overlay:
|
|
54
|
+
), be = "_portal_17ze5_1", Ie = "_overlay_17ze5_4", Oe = "_content_17ze5_9", we = "_floating_17ze5_15", $e = "_slideFromLeft_17ze5_29", De = "_slideFromRight_17ze5_30", ke = "_afterOpen_17ze5_36", Fe = "_beforeClose_17ze5_40", Be = "_slideFromTop_17ze5_45", ze = "_slideFromBottom_17ze5_46", n = {
|
|
55
|
+
portal: be,
|
|
56
|
+
overlay: Ie,
|
|
57
57
|
content: Oe,
|
|
58
|
-
floating:
|
|
59
|
-
slideFromLeft:
|
|
58
|
+
floating: we,
|
|
59
|
+
slideFromLeft: $e,
|
|
60
60
|
slideFromRight: De,
|
|
61
|
-
afterOpen:
|
|
61
|
+
afterOpen: ke,
|
|
62
62
|
beforeClose: Fe,
|
|
63
63
|
slideFromTop: Be,
|
|
64
|
-
slideFromBottom:
|
|
65
|
-
},
|
|
66
|
-
background:
|
|
64
|
+
slideFromBottom: ze
|
|
65
|
+
}, jt = ({
|
|
66
|
+
background: t,
|
|
67
67
|
zIndex: e,
|
|
68
68
|
children: a,
|
|
69
69
|
slideFrom: r = "left",
|
|
70
70
|
portalTarget: c,
|
|
71
71
|
floating: g,
|
|
72
|
-
...
|
|
72
|
+
...d
|
|
73
73
|
}) => {
|
|
74
|
-
const { height: m, width:
|
|
75
|
-
return /* @__PURE__ */
|
|
76
|
-
|
|
74
|
+
const { height: m, width: _ } = d;
|
|
75
|
+
return /* @__PURE__ */ l(
|
|
76
|
+
w,
|
|
77
77
|
{
|
|
78
78
|
closeTimeoutMS: 250,
|
|
79
79
|
portalClassName: n.portal,
|
|
@@ -83,22 +83,22 @@ const me = "_overlay_5x3op_1", ue = "_fadeIn_5x3op_1", fe = "_modal_5x3op_31", g
|
|
|
83
83
|
beforeClose: n.beforeClose
|
|
84
84
|
},
|
|
85
85
|
className: {
|
|
86
|
-
base:
|
|
86
|
+
base: o(
|
|
87
87
|
n.content,
|
|
88
|
-
|
|
88
|
+
Re(r),
|
|
89
89
|
g && n.floating
|
|
90
90
|
),
|
|
91
91
|
afterOpen: n.afterOpen,
|
|
92
92
|
beforeClose: n.beforeClose
|
|
93
93
|
},
|
|
94
|
-
style: { content: { width:
|
|
94
|
+
style: { content: { width: _, height: m, background: t }, overlay: { zIndex: e } },
|
|
95
95
|
parentSelector: c ? () => c : void 0,
|
|
96
|
-
...
|
|
96
|
+
...d,
|
|
97
97
|
children: a
|
|
98
98
|
}
|
|
99
99
|
);
|
|
100
|
-
},
|
|
101
|
-
switch (
|
|
100
|
+
}, Re = (t) => {
|
|
101
|
+
switch (t) {
|
|
102
102
|
case "left":
|
|
103
103
|
return n.slideFromLeft;
|
|
104
104
|
case "right":
|
|
@@ -108,87 +108,115 @@ const me = "_overlay_5x3op_1", ue = "_fadeIn_5x3op_1", fe = "_modal_5x3op_31", g
|
|
|
108
108
|
case "bottom":
|
|
109
109
|
return n.slideFromBottom;
|
|
110
110
|
default:
|
|
111
|
-
return
|
|
111
|
+
return ee(t, n.slideFromLeft);
|
|
112
112
|
}
|
|
113
|
-
},
|
|
114
|
-
header:
|
|
113
|
+
}, qt = ({
|
|
114
|
+
header: t,
|
|
115
115
|
contentRight: e,
|
|
116
116
|
onRequestClose: a,
|
|
117
117
|
icon: r
|
|
118
|
-
}) => /* @__PURE__ */
|
|
119
|
-
|
|
118
|
+
}) => /* @__PURE__ */ l(
|
|
119
|
+
M,
|
|
120
120
|
{
|
|
121
121
|
position: "sticky",
|
|
122
122
|
top: 0,
|
|
123
123
|
zIndex: 100,
|
|
124
|
-
background:
|
|
124
|
+
background: oe("--lhds-color-ui-50"),
|
|
125
125
|
children: /* @__PURE__ */ s(
|
|
126
|
-
|
|
126
|
+
C,
|
|
127
127
|
{
|
|
128
128
|
justifyContent: "space-between",
|
|
129
129
|
alignItems: "center",
|
|
130
130
|
height: "48px",
|
|
131
131
|
children: [
|
|
132
|
-
/* @__PURE__ */ s(
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
r && /* @__PURE__ */
|
|
135
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ s(C, { alignItems: "center", gap: 2, children: [
|
|
133
|
+
/* @__PURE__ */ l(q, { num: 1 }),
|
|
134
|
+
r && /* @__PURE__ */ l(J, { icon: r, size: 24 }),
|
|
135
|
+
/* @__PURE__ */ l(E, { variant: "h4", children: t })
|
|
136
136
|
] }),
|
|
137
|
-
/* @__PURE__ */ s(
|
|
137
|
+
/* @__PURE__ */ s(C, { gap: 1, children: [
|
|
138
138
|
e,
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
|
|
139
|
+
/* @__PURE__ */ l(
|
|
140
|
+
re,
|
|
141
141
|
{
|
|
142
|
-
leftIcon:
|
|
142
|
+
leftIcon: ce,
|
|
143
143
|
onClick: a,
|
|
144
144
|
variant: "danger"
|
|
145
145
|
}
|
|
146
146
|
),
|
|
147
|
-
/* @__PURE__ */
|
|
147
|
+
/* @__PURE__ */ l(q, { num: 0.5 })
|
|
148
148
|
] })
|
|
149
149
|
]
|
|
150
150
|
}
|
|
151
151
|
)
|
|
152
152
|
}
|
|
153
|
-
),
|
|
154
|
-
overlay:
|
|
155
|
-
fadeIn:
|
|
156
|
-
modal:
|
|
157
|
-
content:
|
|
158
|
-
appear:
|
|
159
|
-
isDraggable:
|
|
160
|
-
footer:
|
|
161
|
-
stickyFooter:
|
|
162
|
-
},
|
|
163
|
-
children:
|
|
153
|
+
), Ae = "_overlay_r9tkq_1", Le = "_fadeIn_r9tkq_1", We = "_modal_r9tkq_31", Se = "_content_r9tkq_38", Me = "_appear_r9tkq_1", Ee = "_isDraggable_r9tkq_61", Te = "_footer_r9tkq_92", je = "_stickyFooter_r9tkq_96", A = {
|
|
154
|
+
overlay: Ae,
|
|
155
|
+
fadeIn: Le,
|
|
156
|
+
modal: We,
|
|
157
|
+
content: Se,
|
|
158
|
+
appear: Me,
|
|
159
|
+
isDraggable: Ee,
|
|
160
|
+
footer: Te,
|
|
161
|
+
stickyFooter: je
|
|
162
|
+
}, qe = { overlay: { justifyContent: "center" } }, Ht = ({
|
|
163
|
+
children: t,
|
|
164
164
|
...e
|
|
165
|
-
}) => /* @__PURE__ */
|
|
166
|
-
|
|
165
|
+
}) => /* @__PURE__ */ l(
|
|
166
|
+
w,
|
|
167
167
|
{
|
|
168
168
|
overlayClassName: A.overlay,
|
|
169
169
|
className: A.modal,
|
|
170
|
-
style:
|
|
170
|
+
style: qe,
|
|
171
171
|
...e,
|
|
172
|
-
children: /* @__PURE__ */
|
|
172
|
+
children: /* @__PURE__ */ l(
|
|
173
173
|
"div",
|
|
174
174
|
{
|
|
175
175
|
className: A.content,
|
|
176
176
|
style: { "--swui-modal-width": "fit-content" },
|
|
177
|
-
children:
|
|
177
|
+
children: t
|
|
178
178
|
}
|
|
179
179
|
)
|
|
180
180
|
}
|
|
181
|
-
), He = "
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
181
|
+
), He = "_overlay_1rolx_1", Pe = "_fadeIn_1rolx_1", Ge = "_modal_1rolx_31", Ve = "_content_1rolx_41", Je = "_appear_1rolx_1", Ke = "_isDraggable_1rolx_71", Qe = "_footer_1rolx_102", Ue = "_stickyFooter_1rolx_106", L = {
|
|
182
|
+
overlay: He,
|
|
183
|
+
fadeIn: Pe,
|
|
184
|
+
modal: Ge,
|
|
185
|
+
content: Ve,
|
|
186
|
+
appear: Je,
|
|
187
|
+
isDraggable: Ke,
|
|
188
|
+
footer: Qe,
|
|
189
|
+
stickyFooter: Ue
|
|
190
|
+
}, Xe = { overlay: { justifyContent: "center" } }, Pt = ({
|
|
191
|
+
children: t,
|
|
192
|
+
...e
|
|
193
|
+
}) => /* @__PURE__ */ l(
|
|
194
|
+
w,
|
|
195
|
+
{
|
|
196
|
+
overlayClassName: L.overlay,
|
|
197
|
+
className: L.modal,
|
|
198
|
+
style: Xe,
|
|
199
|
+
...e,
|
|
200
|
+
children: /* @__PURE__ */ l(
|
|
201
|
+
"div",
|
|
202
|
+
{
|
|
203
|
+
className: L.content,
|
|
204
|
+
style: { "--swui-modal-width": "fit-content" },
|
|
205
|
+
children: t
|
|
206
|
+
}
|
|
207
|
+
)
|
|
208
|
+
}
|
|
209
|
+
), Ye = "_modal_4fwgb_1", Ze = "_overlay_4fwgb_13", G = {
|
|
210
|
+
modal: Ye,
|
|
211
|
+
overlay: Ze
|
|
212
|
+
}, Gt = ({
|
|
213
|
+
headerIconLeft: t,
|
|
186
214
|
headerText: e,
|
|
187
215
|
shouldCloseOnOverlayClick: a = !1,
|
|
188
216
|
shouldCloseOnEsc: r = !1,
|
|
189
217
|
...c
|
|
190
|
-
}) => /* @__PURE__ */
|
|
191
|
-
|
|
218
|
+
}) => /* @__PURE__ */ l(
|
|
219
|
+
w,
|
|
192
220
|
{
|
|
193
221
|
...c,
|
|
194
222
|
isOpen: !0,
|
|
@@ -197,8 +225,8 @@ const me = "_overlay_5x3op_1", ue = "_fadeIn_5x3op_1", fe = "_modal_5x3op_31", g
|
|
|
197
225
|
className: G.modal,
|
|
198
226
|
overlayClassName: G.overlay,
|
|
199
227
|
children: /* @__PURE__ */ s(V, { spacing: 2, alignItems: "center", children: [
|
|
200
|
-
/* @__PURE__ */
|
|
201
|
-
|
|
228
|
+
/* @__PURE__ */ l(
|
|
229
|
+
x,
|
|
202
230
|
{
|
|
203
231
|
alignItems: "center",
|
|
204
232
|
justifyContent: "center",
|
|
@@ -207,122 +235,122 @@ const me = "_overlay_5x3op_1", ue = "_fadeIn_5x3op_1", fe = "_modal_5x3op_31", g
|
|
|
207
235
|
borderRadius: "50%",
|
|
208
236
|
background: "white",
|
|
209
237
|
shadow: "modal",
|
|
210
|
-
children: /* @__PURE__ */
|
|
238
|
+
children: /* @__PURE__ */ l(ne, { size: "small" })
|
|
211
239
|
}
|
|
212
240
|
),
|
|
213
|
-
(
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */ s(
|
|
216
|
-
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
/* @__PURE__ */
|
|
241
|
+
(t || e) && /* @__PURE__ */ s(F, { children: [
|
|
242
|
+
/* @__PURE__ */ l(M, {}),
|
|
243
|
+
/* @__PURE__ */ s(C, { indent: 2, children: [
|
|
244
|
+
t && /* @__PURE__ */ s(F, { children: [
|
|
245
|
+
/* @__PURE__ */ l(J, { size: 14, icon: t, color: "white" }),
|
|
246
|
+
/* @__PURE__ */ l(te, {})
|
|
219
247
|
] }),
|
|
220
|
-
e && /* @__PURE__ */
|
|
248
|
+
e && /* @__PURE__ */ l(E, { variant: "h4", color: "white", children: e })
|
|
221
249
|
] })
|
|
222
250
|
] })
|
|
223
251
|
] })
|
|
224
252
|
}
|
|
225
|
-
),
|
|
226
|
-
onRequestClose:
|
|
253
|
+
), pe = ({
|
|
254
|
+
onRequestClose: t,
|
|
227
255
|
header: e,
|
|
228
256
|
headerText: a,
|
|
229
257
|
closeButtonClassName: r
|
|
230
258
|
}) => /* @__PURE__ */ s(
|
|
231
|
-
|
|
259
|
+
C,
|
|
232
260
|
{
|
|
233
261
|
spacing: 2,
|
|
234
262
|
indent: 2,
|
|
235
263
|
borderBottom: "1px solid var(--lhds-color-ui-300)",
|
|
236
264
|
className: Q,
|
|
237
265
|
children: [
|
|
238
|
-
/* @__PURE__ */ s(
|
|
239
|
-
a && /* @__PURE__ */
|
|
266
|
+
/* @__PURE__ */ s(C, { flex: 1, indent: !0, alignItems: "center", children: [
|
|
267
|
+
a && /* @__PURE__ */ l(le, { className: U, size: "large", children: a }),
|
|
240
268
|
e
|
|
241
269
|
] }),
|
|
242
|
-
/* @__PURE__ */
|
|
270
|
+
/* @__PURE__ */ l(x, { alignSelf: "flex-start", children: /* @__PURE__ */ l(
|
|
243
271
|
K,
|
|
244
272
|
{
|
|
245
273
|
className: r,
|
|
246
|
-
onClick:
|
|
274
|
+
onClick: t
|
|
247
275
|
}
|
|
248
276
|
) })
|
|
249
277
|
]
|
|
250
278
|
}
|
|
251
|
-
),
|
|
252
|
-
header:
|
|
279
|
+
), Vt = ({
|
|
280
|
+
header: t,
|
|
253
281
|
headerText: e,
|
|
254
282
|
children: a,
|
|
255
283
|
spacing: r,
|
|
256
284
|
indent: c,
|
|
257
285
|
draggable: g = !1,
|
|
258
|
-
onRequestClose:
|
|
286
|
+
onRequestClose: d,
|
|
259
287
|
closeButtonClassName: m,
|
|
260
|
-
footer:
|
|
261
|
-
disableStickyFooter:
|
|
288
|
+
footer: _,
|
|
289
|
+
disableStickyFooter: v = !1,
|
|
262
290
|
...b
|
|
263
291
|
}) => /* @__PURE__ */ s(
|
|
264
|
-
|
|
292
|
+
xe,
|
|
265
293
|
{
|
|
266
294
|
...b,
|
|
267
|
-
onRequestClose:
|
|
295
|
+
onRequestClose: d,
|
|
268
296
|
draggable: g,
|
|
269
297
|
children: [
|
|
270
|
-
/* @__PURE__ */
|
|
271
|
-
|
|
298
|
+
/* @__PURE__ */ l(
|
|
299
|
+
pe,
|
|
272
300
|
{
|
|
273
|
-
onRequestClose:
|
|
274
|
-
header:
|
|
301
|
+
onRequestClose: d,
|
|
302
|
+
header: t,
|
|
275
303
|
headerText: e,
|
|
276
304
|
closeButtonClassName: m
|
|
277
305
|
}
|
|
278
306
|
),
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
-
|
|
281
|
-
|
|
307
|
+
/* @__PURE__ */ l(x, { spacing: typeof r == "number" ? r : 1, indent: typeof c == "number" ? c : 1, children: a }),
|
|
308
|
+
_ && /* @__PURE__ */ l(
|
|
309
|
+
x,
|
|
282
310
|
{
|
|
283
|
-
className:
|
|
284
|
-
[
|
|
311
|
+
className: o(N.footer, {
|
|
312
|
+
[N.stickyFooter]: !v
|
|
285
313
|
}),
|
|
286
|
-
children:
|
|
314
|
+
children: _
|
|
287
315
|
}
|
|
288
316
|
)
|
|
289
317
|
]
|
|
290
318
|
}
|
|
291
|
-
),
|
|
319
|
+
), Jt = ({ children: t }) => /* @__PURE__ */ l(V, { indent: 2, spacing: 2, children: t }), X = de(
|
|
292
320
|
void 0
|
|
293
321
|
);
|
|
294
|
-
function
|
|
295
|
-
const a =
|
|
296
|
-
(
|
|
322
|
+
function T(t, e) {
|
|
323
|
+
const a = O(null), r = e.ref ?? a, [c, g] = _e((i) => i + 1, 0), d = O(), m = O(), _ = O(), v = O(), [b, $] = H(!1), [B, I] = H(!1), z = t, Z = R(
|
|
324
|
+
(i) => {
|
|
297
325
|
var u, f;
|
|
298
|
-
return
|
|
299
|
-
(h,
|
|
300
|
-
m.current = h,
|
|
326
|
+
return d.current = new Promise(
|
|
327
|
+
(h, y) => {
|
|
328
|
+
m.current = h, v.current = y;
|
|
301
329
|
}
|
|
302
|
-
),
|
|
330
|
+
), I(!1), $(!0), g(), _.current = i, e != null && e.modal ? (u = r.current) == null || u.showModal() : (f = r.current) == null || f.show(), d.current;
|
|
303
331
|
},
|
|
304
332
|
[r, e == null ? void 0 : e.modal]
|
|
305
|
-
),
|
|
306
|
-
(
|
|
333
|
+
), j = R(
|
|
334
|
+
(i) => {
|
|
307
335
|
var u;
|
|
308
|
-
|
|
336
|
+
I(!0), (u = r.current) == null || u.addEventListener(
|
|
309
337
|
"animationend",
|
|
310
338
|
() => {
|
|
311
|
-
var f, h,
|
|
312
|
-
|
|
339
|
+
var f, h, y;
|
|
340
|
+
I(!1), $(!1), (f = r.current) == null || f.close(), (h = m.current) == null || h.call(m, i), _.current = void 0, (y = e == null ? void 0 : e.onResolve) == null || y.call(e);
|
|
313
341
|
},
|
|
314
342
|
{ once: !0 }
|
|
315
343
|
);
|
|
316
344
|
},
|
|
317
345
|
[r, e]
|
|
318
346
|
), D = R(
|
|
319
|
-
(
|
|
347
|
+
(i) => {
|
|
320
348
|
var u;
|
|
321
|
-
|
|
349
|
+
I(!0), (u = r.current) == null || u.addEventListener(
|
|
322
350
|
"animationend",
|
|
323
351
|
() => {
|
|
324
|
-
var f, h,
|
|
325
|
-
|
|
352
|
+
var f, h, y;
|
|
353
|
+
I(!1), $(!1), (f = r.current) == null || f.close(), (h = v.current) == null || h.call(v, i), (y = e == null ? void 0 : e.onReject) == null || y.call(e), _.current = void 0;
|
|
326
354
|
},
|
|
327
355
|
{ once: !0 }
|
|
328
356
|
);
|
|
@@ -330,28 +358,28 @@ function E(l, e) {
|
|
|
330
358
|
[r, e]
|
|
331
359
|
);
|
|
332
360
|
return [ie(
|
|
333
|
-
() => /* @__PURE__ */
|
|
361
|
+
() => /* @__PURE__ */ l(X.Provider, { value: { resolve: j, reject: D }, children: /* @__PURE__ */ l(
|
|
334
362
|
"dialog",
|
|
335
363
|
{
|
|
336
364
|
onClick: e != null && e.disableCloseOnClickOutside ? void 0 : () => D(),
|
|
337
365
|
ref: r,
|
|
338
|
-
className:
|
|
366
|
+
className: o(
|
|
339
367
|
e == null ? void 0 : e.className,
|
|
340
|
-
|
|
368
|
+
B && (e == null ? void 0 : e.closingClassName)
|
|
341
369
|
),
|
|
342
370
|
style: e == null ? void 0 : e.dialogStyle,
|
|
343
|
-
children: e != null && e.disableCloseOnClickOutside ? /* @__PURE__ */
|
|
371
|
+
children: e != null && e.disableCloseOnClickOutside ? /* @__PURE__ */ l(F, { children: b && /* @__PURE__ */ P(z, { ..._.current, key: c }) }) : /* @__PURE__ */ l(
|
|
344
372
|
"div",
|
|
345
373
|
{
|
|
346
374
|
className: e == null ? void 0 : e.contentWrapperClassName,
|
|
347
|
-
onClick: e != null && e.disableCloseOnClickOutside ? void 0 : (
|
|
348
|
-
children: b && /* @__PURE__ */ P(z, { ...
|
|
375
|
+
onClick: e != null && e.disableCloseOnClickOutside ? void 0 : (i) => i.stopPropagation(),
|
|
376
|
+
children: b && /* @__PURE__ */ P(z, { ..._.current, key: c })
|
|
349
377
|
}
|
|
350
378
|
)
|
|
351
379
|
}
|
|
352
380
|
) }),
|
|
353
381
|
[
|
|
354
|
-
|
|
382
|
+
j,
|
|
355
383
|
D,
|
|
356
384
|
e == null ? void 0 : e.disableCloseOnClickOutside,
|
|
357
385
|
e == null ? void 0 : e.className,
|
|
@@ -359,145 +387,146 @@ function E(l, e) {
|
|
|
359
387
|
e == null ? void 0 : e.dialogStyle,
|
|
360
388
|
e == null ? void 0 : e.contentWrapperClassName,
|
|
361
389
|
r,
|
|
362
|
-
|
|
390
|
+
B,
|
|
363
391
|
b,
|
|
364
392
|
z,
|
|
365
393
|
c
|
|
366
394
|
]
|
|
367
395
|
), { show: Z, reject: D }];
|
|
368
396
|
}
|
|
369
|
-
const
|
|
370
|
-
const
|
|
371
|
-
if (
|
|
397
|
+
const Kt = () => {
|
|
398
|
+
const t = me(X);
|
|
399
|
+
if (t == null)
|
|
372
400
|
throw new Error("useDialogPromise is being used outside of dialog.");
|
|
373
|
-
return
|
|
374
|
-
},
|
|
375
|
-
alertDialog:
|
|
376
|
-
slideIn:
|
|
377
|
-
closing:
|
|
378
|
-
slideOut:
|
|
379
|
-
fadeIn:
|
|
380
|
-
fadeOut:
|
|
401
|
+
return t;
|
|
402
|
+
}, et = "_alertDialog_14t8t_1", tt = "_slideIn_14t8t_1", lt = "_closing_14t8t_22", at = "_slideOut_14t8t_1", rt = "_fadeIn_14t8t_1", ct = "_fadeOut_14t8t_1", W = {
|
|
403
|
+
alertDialog: et,
|
|
404
|
+
slideIn: tt,
|
|
405
|
+
closing: lt,
|
|
406
|
+
slideOut: at,
|
|
407
|
+
fadeIn: rt,
|
|
408
|
+
fadeOut: ct
|
|
381
409
|
};
|
|
382
|
-
function
|
|
383
|
-
return
|
|
410
|
+
function Qt(t, e) {
|
|
411
|
+
return T(t, {
|
|
384
412
|
...e,
|
|
385
413
|
modal: !0,
|
|
386
|
-
closingClassName:
|
|
387
|
-
contentWrapperClassName:
|
|
414
|
+
closingClassName: o(e == null ? void 0 : e.closingClassName, W.closing),
|
|
415
|
+
contentWrapperClassName: o(
|
|
388
416
|
e == null ? void 0 : e.contentWrapperClassName,
|
|
389
|
-
|
|
417
|
+
W.contentWrapper
|
|
390
418
|
),
|
|
391
|
-
className:
|
|
419
|
+
className: o(e == null ? void 0 : e.className, W.alertDialog)
|
|
392
420
|
});
|
|
393
421
|
}
|
|
394
|
-
const
|
|
395
|
-
drawerDialog:
|
|
396
|
-
left:
|
|
397
|
-
right:
|
|
398
|
-
contentWrapper:
|
|
399
|
-
slideInLeft:
|
|
400
|
-
closing:
|
|
401
|
-
slideOutLeft:
|
|
402
|
-
slideInRight:
|
|
403
|
-
slideOutRight:
|
|
404
|
-
top:
|
|
405
|
-
bottom:
|
|
406
|
-
slideInTop:
|
|
407
|
-
slideOutTop:
|
|
408
|
-
slideInBottom:
|
|
409
|
-
slideOutBottom:
|
|
422
|
+
const nt = "_drawerDialog_3e8xf_1", st = "_left_3e8xf_12", ot = "_right_3e8xf_13", dt = "_contentWrapper_3e8xf_18", _t = "_slideInLeft_3e8xf_1", it = "_closing_3e8xf_35", mt = "_slideOutLeft_3e8xf_1", ut = "_slideInRight_3e8xf_1", ft = "_slideOutRight_3e8xf_1", gt = "_top_3e8xf_53", ht = "_bottom_3e8xf_54", yt = "_slideInTop_3e8xf_1", Ct = "_slideOutTop_3e8xf_1", vt = "_slideInBottom_3e8xf_1", Nt = "_slideOutBottom_3e8xf_1", k = {
|
|
423
|
+
drawerDialog: nt,
|
|
424
|
+
left: st,
|
|
425
|
+
right: ot,
|
|
426
|
+
contentWrapper: dt,
|
|
427
|
+
slideInLeft: _t,
|
|
428
|
+
closing: it,
|
|
429
|
+
slideOutLeft: mt,
|
|
430
|
+
slideInRight: ut,
|
|
431
|
+
slideOutRight: ft,
|
|
432
|
+
top: gt,
|
|
433
|
+
bottom: ht,
|
|
434
|
+
slideInTop: yt,
|
|
435
|
+
slideOutTop: Ct,
|
|
436
|
+
slideInBottom: vt,
|
|
437
|
+
slideOutBottom: Nt
|
|
410
438
|
};
|
|
411
|
-
function
|
|
412
|
-
return
|
|
439
|
+
function Ut(t, e = "left", a) {
|
|
440
|
+
return T(t, {
|
|
413
441
|
...a,
|
|
414
442
|
disableCloseOnClickOutside: !0,
|
|
415
443
|
modal: !1,
|
|
416
|
-
closingClassName:
|
|
417
|
-
contentWrapperClassName:
|
|
444
|
+
closingClassName: o(a == null ? void 0 : a.closingClassName, k.closing),
|
|
445
|
+
contentWrapperClassName: o(
|
|
418
446
|
a == null ? void 0 : a.contentWrapperClassName,
|
|
419
|
-
|
|
447
|
+
k.contentWrapper
|
|
420
448
|
),
|
|
421
|
-
className:
|
|
449
|
+
className: o(a == null ? void 0 : a.className, k.drawerDialog, k[e])
|
|
422
450
|
});
|
|
423
451
|
}
|
|
424
|
-
const
|
|
425
|
-
modalDialog:
|
|
426
|
-
slideIn:
|
|
427
|
-
closing:
|
|
428
|
-
slideOut:
|
|
429
|
-
fadeIn:
|
|
430
|
-
fadeOut:
|
|
452
|
+
const xt = "_modalDialog_1czrs_1", bt = "_slideIn_1czrs_1", It = "_closing_1czrs_25", Ot = "_slideOut_1czrs_1", wt = "_fadeIn_1czrs_1", $t = "_fadeOut_1czrs_1", S = {
|
|
453
|
+
modalDialog: xt,
|
|
454
|
+
slideIn: bt,
|
|
455
|
+
closing: It,
|
|
456
|
+
slideOut: Ot,
|
|
457
|
+
fadeIn: wt,
|
|
458
|
+
fadeOut: $t
|
|
431
459
|
};
|
|
432
|
-
function
|
|
433
|
-
return
|
|
460
|
+
function Xt(t, e) {
|
|
461
|
+
return T(t, {
|
|
434
462
|
...e,
|
|
435
463
|
modal: !0,
|
|
436
|
-
closingClassName:
|
|
437
|
-
contentWrapperClassName:
|
|
464
|
+
closingClassName: o(e == null ? void 0 : e.closingClassName, S.closing),
|
|
465
|
+
contentWrapperClassName: o(
|
|
438
466
|
e == null ? void 0 : e.contentWrapperClassName,
|
|
439
|
-
|
|
467
|
+
S.contentWrapper
|
|
440
468
|
),
|
|
441
|
-
className:
|
|
469
|
+
className: o(e == null ? void 0 : e.className, S.modalDialog)
|
|
442
470
|
});
|
|
443
471
|
}
|
|
444
|
-
const Y = ({ children:
|
|
445
|
-
modalActionButtons:
|
|
446
|
-
},
|
|
447
|
-
buttons:
|
|
448
|
-
}) => /* @__PURE__ */
|
|
449
|
-
icon:
|
|
472
|
+
const Y = ({ children: t }) => /* @__PURE__ */ l(E, { variant: "h3", as: "h2", children: t }), Dt = "_modalActionButtons_s27nj_1", kt = {
|
|
473
|
+
modalActionButtons: Dt
|
|
474
|
+
}, Ft = ({
|
|
475
|
+
buttons: t
|
|
476
|
+
}) => /* @__PURE__ */ l("div", { className: kt.modalActionButtons, children: t }), Bt = ({ gap: t = 2, ...e }) => /* @__PURE__ */ l(x, { indent: 4, spacing: 4, gap: t, ...e }), Yt = ({
|
|
477
|
+
icon: t,
|
|
450
478
|
buttons: e,
|
|
451
479
|
heading: a,
|
|
452
480
|
text: r,
|
|
453
481
|
children: c,
|
|
454
482
|
maxWidth: g,
|
|
455
|
-
minWidth:
|
|
483
|
+
minWidth: d
|
|
456
484
|
}) => /* @__PURE__ */ s(
|
|
457
|
-
|
|
485
|
+
Bt,
|
|
458
486
|
{
|
|
459
487
|
flexDirection: "column",
|
|
460
488
|
alignItems: "center",
|
|
461
489
|
maxWidth: g,
|
|
462
|
-
minWidth:
|
|
490
|
+
minWidth: d,
|
|
463
491
|
children: [
|
|
464
|
-
|
|
465
|
-
/* @__PURE__ */
|
|
466
|
-
r && /* @__PURE__ */
|
|
492
|
+
t && /* @__PURE__ */ l(se, { icon: t, size: "large" }),
|
|
493
|
+
/* @__PURE__ */ l(Y, { children: a }),
|
|
494
|
+
r && /* @__PURE__ */ l(ae, { textAlign: "center", children: r }),
|
|
467
495
|
c,
|
|
468
|
-
e && /* @__PURE__ */
|
|
469
|
-
/* @__PURE__ */
|
|
470
|
-
/* @__PURE__ */
|
|
496
|
+
e && /* @__PURE__ */ l(F, { children: /* @__PURE__ */ s(x, { width: "100%", children: [
|
|
497
|
+
/* @__PURE__ */ l(M, {}),
|
|
498
|
+
/* @__PURE__ */ l(Ft, { buttons: e })
|
|
471
499
|
] }) })
|
|
472
500
|
]
|
|
473
501
|
}
|
|
474
|
-
),
|
|
475
|
-
heading:
|
|
502
|
+
), Zt = ({
|
|
503
|
+
heading: t,
|
|
476
504
|
onClickClose: e
|
|
477
|
-
}) => /* @__PURE__ */ s(
|
|
478
|
-
|
|
479
|
-
/* @__PURE__ */
|
|
505
|
+
}) => /* @__PURE__ */ s(C, { justifyContent: "space-between", children: [
|
|
506
|
+
t && /* @__PURE__ */ l(Y, { children: t }),
|
|
507
|
+
/* @__PURE__ */ l(K, { onClick: e })
|
|
480
508
|
] });
|
|
481
509
|
export {
|
|
482
|
-
|
|
510
|
+
Ht as Alert,
|
|
511
|
+
xe as BaseWindow,
|
|
483
512
|
U as DRAGGABLE_CANCEL_CLASSNAME,
|
|
484
513
|
Q as DRAGGABLE_HANDLE_CLASSNAME,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
514
|
+
jt as Drawer,
|
|
515
|
+
qt as DrawerHeader,
|
|
516
|
+
Yt as InfoAlert,
|
|
517
|
+
Gt as LoadingModal,
|
|
518
|
+
Pt as Modal,
|
|
519
|
+
Ft as ModalActionButtons,
|
|
520
|
+
Bt as ModalBody,
|
|
521
|
+
Zt as ModalHeader,
|
|
493
522
|
Y as ModalHeading,
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
523
|
+
Vt as Window,
|
|
524
|
+
Jt as WindowFooter,
|
|
525
|
+
pe as WindowHeader,
|
|
526
|
+
Qt as useAlertDialog,
|
|
527
|
+
T as useDialog,
|
|
528
|
+
Kt as useDialogPromise,
|
|
529
|
+
Ut as useDrawerDialog,
|
|
530
|
+
Xt as useModalDialog
|
|
502
531
|
};
|
|
503
532
|
//# sourceMappingURL=index.es.js.map
|