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.
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +27 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +27 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/desktop/index.js +1 -0
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(
|
@@ -43401,6 +43421,7 @@ Middle click: Close`
|
|
43401
43421
|
exports2.ViewerTest = ViewerTest;
|
43402
43422
|
exports2.WaitScreen = WaitScreen;
|
43403
43423
|
exports2.Window = Window;
|
43424
|
+
exports2.WindowInstanceProvider = WindowInstanceProvider;
|
43404
43425
|
exports2.WindowManager = WindowManager;
|
43405
43426
|
exports2.WindowProvider = WindowProvider;
|
43406
43427
|
exports2.Wizard = Wizard;
|
@@ -43414,7 +43435,13 @@ Middle click: Close`
|
|
43414
43435
|
exports2.useCreateWindow = useCreateWindow;
|
43415
43436
|
exports2.useHashPage = useHashPage;
|
43416
43437
|
exports2.useWindow = useWindow;
|
43438
|
+
exports2.useWindowContextMenus = useWindowContextMenus;
|
43439
|
+
exports2.useWindowDialogs = useWindowDialogs;
|
43440
|
+
exports2.useWindowInstance = useWindowInstance;
|
43441
|
+
exports2.useWindowNotifications = useWindowNotifications;
|
43442
|
+
exports2.useWindowOverlays = useWindowOverlays;
|
43417
43443
|
exports2.useWindowStats = useWindowStats;
|
43444
|
+
exports2.useWindowTooltips = useWindowTooltips;
|
43418
43445
|
exports2.useWindows = useWindows;
|
43419
43446
|
exports2.validatePassword = validatePassword;
|
43420
43447
|
Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
|