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.js
CHANGED
@@ -32661,6 +32661,26 @@ const useWindowInstance = () => {
|
|
32661
32661
|
}
|
32662
32662
|
return context;
|
32663
32663
|
};
|
32664
|
+
const useWindowDialogs = () => {
|
32665
|
+
const { dialogs, showDialog, hideDialog, hideAllDialogs } = useWindowInstance();
|
32666
|
+
return { dialogs, showDialog, hideDialog, hideAllDialogs };
|
32667
|
+
};
|
32668
|
+
const useWindowNotifications = () => {
|
32669
|
+
const { notifications, showNotification, hideNotification, hideAllNotifications } = useWindowInstance();
|
32670
|
+
return { notifications, showNotification, hideNotification, hideAllNotifications };
|
32671
|
+
};
|
32672
|
+
const useWindowTooltips = () => {
|
32673
|
+
const { tooltips, showTooltip, hideTooltip, hideAllTooltips } = useWindowInstance();
|
32674
|
+
return { tooltips, showTooltip, hideTooltip, hideAllTooltips };
|
32675
|
+
};
|
32676
|
+
const useWindowContextMenus = () => {
|
32677
|
+
const { contextMenus, showContextMenu, hideContextMenu, hideAllContextMenus } = useWindowInstance();
|
32678
|
+
return { contextMenus, showContextMenu, hideContextMenu, hideAllContextMenus };
|
32679
|
+
};
|
32680
|
+
const useWindowOverlays = () => {
|
32681
|
+
const { overlays, showOverlay, hideOverlay, hideAllOverlays } = useWindowInstance();
|
32682
|
+
return { overlays, showOverlay, hideOverlay, hideAllOverlays };
|
32683
|
+
};
|
32664
32684
|
const FloatingElementsRenderer = () => {
|
32665
32685
|
const { dialogs, notifications, tooltips, contextMenus, overlays } = useWindowInstance();
|
32666
32686
|
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(
|
@@ -43400,6 +43420,7 @@ exports.Viewer = Viewer;
|
|
43400
43420
|
exports.ViewerTest = ViewerTest;
|
43401
43421
|
exports.WaitScreen = WaitScreen;
|
43402
43422
|
exports.Window = Window;
|
43423
|
+
exports.WindowInstanceProvider = WindowInstanceProvider;
|
43403
43424
|
exports.WindowManager = WindowManager;
|
43404
43425
|
exports.WindowProvider = WindowProvider;
|
43405
43426
|
exports.Wizard = Wizard;
|
@@ -43413,7 +43434,13 @@ exports.useApplicationMenu = useApplicationMenu;
|
|
43413
43434
|
exports.useCreateWindow = useCreateWindow;
|
43414
43435
|
exports.useHashPage = useHashPage;
|
43415
43436
|
exports.useWindow = useWindow;
|
43437
|
+
exports.useWindowContextMenus = useWindowContextMenus;
|
43438
|
+
exports.useWindowDialogs = useWindowDialogs;
|
43439
|
+
exports.useWindowInstance = useWindowInstance;
|
43440
|
+
exports.useWindowNotifications = useWindowNotifications;
|
43441
|
+
exports.useWindowOverlays = useWindowOverlays;
|
43416
43442
|
exports.useWindowStats = useWindowStats;
|
43443
|
+
exports.useWindowTooltips = useWindowTooltips;
|
43417
43444
|
exports.useWindows = useWindows;
|
43418
43445
|
exports.validatePassword = validatePassword;
|
43419
43446
|
//# sourceMappingURL=index.js.map
|