ywana-core8 0.2.18 → 0.2.20

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.umd.js CHANGED
@@ -32662,6 +32662,26 @@ const rows = [
32662
32662
  }
32663
32663
  return context;
32664
32664
  };
32665
+ const useWindowDialogs = () => {
32666
+ const { dialogs, showDialog, hideDialog, hideAllDialogs } = useWindowInstance();
32667
+ return { dialogs, showDialog, hideDialog, hideAllDialogs };
32668
+ };
32669
+ const useWindowNotifications = () => {
32670
+ const { notifications, showNotification, hideNotification, hideAllNotifications } = useWindowInstance();
32671
+ return { notifications, showNotification, hideNotification, hideAllNotifications };
32672
+ };
32673
+ const useWindowTooltips = () => {
32674
+ const { tooltips, showTooltip, hideTooltip, hideAllTooltips } = useWindowInstance();
32675
+ return { tooltips, showTooltip, hideTooltip, hideAllTooltips };
32676
+ };
32677
+ const useWindowContextMenus = () => {
32678
+ const { contextMenus, showContextMenu, hideContextMenu, hideAllContextMenus } = useWindowInstance();
32679
+ return { contextMenus, showContextMenu, hideContextMenu, hideAllContextMenus };
32680
+ };
32681
+ const useWindowOverlays = () => {
32682
+ const { overlays, showOverlay, hideOverlay, hideAllOverlays } = useWindowInstance();
32683
+ return { overlays, showOverlay, hideOverlay, hideAllOverlays };
32684
+ };
32665
32685
  const FloatingElementsRenderer = () => {
32666
32686
  const { dialogs, notifications, tooltips, contextMenus, overlays } = useWindowInstance();
32667
32687
  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(
@@ -32737,7 +32757,6 @@ const rows = [
32737
32757
  )));
32738
32758
  };
32739
32759
  const ApplicationMenu = ({ isOpen, onClose }) => {
32740
- console.log("ApplicationMenu render - isOpen:", isOpen, "onClose:", onClose);
32741
32760
  const appManager = useAppManager();
32742
32761
  const [searchTerm, setSearchTerm] = React.useState("");
32743
32762
  const [selectedCategory, setSelectedCategory] = React.useState("all");
@@ -43401,6 +43420,7 @@ Middle click: Close`
43401
43420
  exports2.ViewerTest = ViewerTest;
43402
43421
  exports2.WaitScreen = WaitScreen;
43403
43422
  exports2.Window = Window;
43423
+ exports2.WindowInstanceProvider = WindowInstanceProvider;
43404
43424
  exports2.WindowManager = WindowManager;
43405
43425
  exports2.WindowProvider = WindowProvider;
43406
43426
  exports2.Wizard = Wizard;
@@ -43414,7 +43434,13 @@ Middle click: Close`
43414
43434
  exports2.useCreateWindow = useCreateWindow;
43415
43435
  exports2.useHashPage = useHashPage;
43416
43436
  exports2.useWindow = useWindow;
43437
+ exports2.useWindowContextMenus = useWindowContextMenus;
43438
+ exports2.useWindowDialogs = useWindowDialogs;
43439
+ exports2.useWindowInstance = useWindowInstance;
43440
+ exports2.useWindowNotifications = useWindowNotifications;
43441
+ exports2.useWindowOverlays = useWindowOverlays;
43417
43442
  exports2.useWindowStats = useWindowStats;
43443
+ exports2.useWindowTooltips = useWindowTooltips;
43418
43444
  exports2.useWindows = useWindows;
43419
43445
  exports2.validatePassword = validatePassword;
43420
43446
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });