ywana-core8 0.2.18 → 0.2.19

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.
@@ -32659,6 +32659,26 @@ const useWindowInstance = () => {
32659
32659
  }
32660
32660
  return context;
32661
32661
  };
32662
+ const useWindowDialogs = () => {
32663
+ const { dialogs, showDialog, hideDialog, hideAllDialogs } = useWindowInstance();
32664
+ return { dialogs, showDialog, hideDialog, hideAllDialogs };
32665
+ };
32666
+ const useWindowNotifications = () => {
32667
+ const { notifications, showNotification, hideNotification, hideAllNotifications } = useWindowInstance();
32668
+ return { notifications, showNotification, hideNotification, hideAllNotifications };
32669
+ };
32670
+ const useWindowTooltips = () => {
32671
+ const { tooltips, showTooltip, hideTooltip, hideAllTooltips } = useWindowInstance();
32672
+ return { tooltips, showTooltip, hideTooltip, hideAllTooltips };
32673
+ };
32674
+ const useWindowContextMenus = () => {
32675
+ const { contextMenus, showContextMenu, hideContextMenu, hideAllContextMenus } = useWindowInstance();
32676
+ return { contextMenus, showContextMenu, hideContextMenu, hideAllContextMenus };
32677
+ };
32678
+ const useWindowOverlays = () => {
32679
+ const { overlays, showOverlay, hideOverlay, hideAllOverlays } = useWindowInstance();
32680
+ return { overlays, showOverlay, hideOverlay, hideAllOverlays };
32681
+ };
32662
32682
  const FloatingElementsRenderer = () => {
32663
32683
  const { dialogs, notifications, tooltips, contextMenus, overlays } = useWindowInstance();
32664
32684
  return /* @__PURE__ */ React.createElement("div", { className: "window-floating-elements" }, overlays.map((overlay) => /* @__PURE__ */ React.createElement("div", { key: overlay.id, className: "window-overlay" }, /* @__PURE__ */ React.createElement("div", { className: "window-overlay__content" }, overlay.content, overlay.showCloseButton !== false && /* @__PURE__ */ React.createElement(
@@ -43399,6 +43419,7 @@ export {
43399
43419
  ViewerTest,
43400
43420
  WaitScreen,
43401
43421
  Window,
43422
+ WindowInstanceProvider,
43402
43423
  WindowManager,
43403
43424
  WindowProvider,
43404
43425
  Wizard,
@@ -43412,7 +43433,13 @@ export {
43412
43433
  useCreateWindow,
43413
43434
  useHashPage,
43414
43435
  useWindow,
43436
+ useWindowContextMenus,
43437
+ useWindowDialogs,
43438
+ useWindowInstance,
43439
+ useWindowNotifications,
43440
+ useWindowOverlays,
43415
43441
  useWindowStats,
43442
+ useWindowTooltips,
43416
43443
  useWindows,
43417
43444
  validatePassword
43418
43445
  };