uomtiles 0.1.0 → 0.1.2
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{BQlj8Xoe.js → 0hm88Oke.js} +1 -1
- package/.output/public/_nuxt/BNfSclJ4.js +1 -0
- package/.output/public/_nuxt/BYzlinOr2.js +1 -0
- package/.output/public/_nuxt/{BiWblTbb2.js → Bd1EvHmY.js} +1 -1
- package/.output/public/_nuxt/Be4dNlar.js +1 -0
- package/.output/public/_nuxt/{C4qlzA4o.js → C7fHMLd7.js} +1 -1
- package/.output/public/_nuxt/CQ8inUdm.js +1 -0
- package/.output/public/_nuxt/{C_0VY3Cv2.js → CU486JdV2.js} +2 -2
- package/.output/public/_nuxt/Cc_JfSB1.js +1 -0
- package/.output/public/_nuxt/CgcnoKpi.js +1 -0
- package/.output/public/_nuxt/{CgdzV712.js → CovBj6WN.js} +1 -1
- package/.output/public/_nuxt/CyZDc0eO2.js +1 -0
- package/.output/public/_nuxt/{DtFVCXI9.js → CzFefJH0.js} +1 -1
- package/.output/public/_nuxt/{DL1MZZLI.js → D-t0hXHB.js} +1 -1
- package/.output/public/_nuxt/D3Pl7yw22.js +1 -0
- package/.output/public/_nuxt/D4gbGuiW.js +1 -0
- package/.output/public/_nuxt/{DkcySee1.js → DDp9lK3g.js} +1 -1
- package/.output/public/_nuxt/DIIXHC50.js +1 -0
- package/.output/public/_nuxt/DWFUvzz0.js +1 -0
- package/.output/public/_nuxt/D_VoD6-f.js +1 -0
- package/.output/public/_nuxt/{q7DkoVkj.js → DaQqwE3R.js} +6 -6
- package/.output/public/_nuxt/DfXX-x_z.js +1 -0
- package/.output/public/_nuxt/Dgyf2aNY.js +1 -0
- package/.output/public/_nuxt/DpIPeY5m.js +1 -0
- package/.output/public/_nuxt/GM5myUL22.js +1 -0
- package/.output/public/_nuxt/IC4wc76W.js +1 -0
- package/.output/public/_nuxt/IfL46N3Z.js +1 -0
- package/.output/public/_nuxt/{Oxy7pKSk.js → KEU2l6zJ.js} +1 -1
- package/.output/public/_nuxt/{DC3bhq63.js → Q79ec-Ro.js} +1 -1
- package/.output/public/_nuxt/SEETjfdJ.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/2c4adba2-91b5-44e4-91d3-50a61695207b.json +1 -0
- package/.output/public/_nuxt/entry.CZ_dkjcs.css +1 -0
- package/.output/public/_nuxt/{ByRlKR9F.js → nGp0t_eD.js} +1 -1
- package/.output/server/chunks/_/config.mjs +58 -6
- package/.output/server/chunks/_/config.mjs.map +1 -1
- package/.output/server/chunks/_/export.mjs +7 -0
- package/.output/server/chunks/_/export.mjs.map +1 -0
- package/.output/server/chunks/_/file-workspace.mjs +153 -58
- package/.output/server/chunks/_/file-workspace.mjs.map +1 -1
- package/.output/server/chunks/_/map-service.mjs +7 -7
- package/.output/server/chunks/_/map-service.mjs.map +1 -1
- package/.output/server/chunks/_/pixel-diff.mjs +1 -1
- package/.output/server/chunks/_/uom-auth.mjs +7 -7
- package/.output/server/chunks/_/uom-auth.mjs.map +1 -1
- package/.output/server/chunks/_/uom-map.mjs +6 -6
- package/.output/server/chunks/_/uom-map.mjs.map +1 -1
- package/.output/server/chunks/build/Alert-DHVVSgdD.mjs +1074 -0
- package/.output/server/chunks/build/Alert-DHVVSgdD.mjs.map +1 -0
- package/.output/server/chunks/build/{Alert-0ngTJXxP.mjs → CompletedTaskSelect-CKTpyHS3.mjs} +31 -725
- package/.output/server/chunks/build/CompletedTaskSelect-CKTpyHS3.mjs.map +1 -0
- package/.output/server/chunks/build/{PopperArrow-Bqfdf2Et.mjs → DashboardSidebarToggle-CUI9NSow.mjs} +567 -5
- package/.output/server/chunks/build/DashboardSidebarToggle-CUI9NSow.mjs.map +1 -0
- package/.output/server/chunks/build/{Empty-CkW3mADt.mjs → Empty-BGIn09cL.mjs} +2 -2
- package/.output/server/chunks/build/{Empty-CkW3mADt.mjs.map → Empty-BGIn09cL.mjs.map} +1 -1
- package/.output/server/chunks/build/{FocusScope-Cf0lg0zt.mjs → FocusScope-DNZVMnza.mjs} +2 -2
- package/.output/server/chunks/build/{FocusScope-Cf0lg0zt.mjs.map → FocusScope-DNZVMnza.mjs.map} +1 -1
- package/.output/server/chunks/build/{FormField-CEUZHcv7.mjs → FormField-DnJWfrKE.mjs} +2 -2
- package/.output/server/chunks/build/{FormField-CEUZHcv7.mjs.map → FormField-DnJWfrKE.mjs.map} +1 -1
- package/.output/server/chunks/build/{Input-BeNavYXb.mjs → Input-AdlINKtJ.mjs} +1 -1
- package/.output/server/chunks/build/{Input-BeNavYXb.mjs.map → Input-AdlINKtJ.mjs.map} +1 -1
- package/.output/server/chunks/build/{MapBaseLayerTabs-4445J6yh.mjs → MapBaseLayerTabs-CRl5Zwlr.mjs} +15 -9
- package/.output/server/chunks/build/{MapBaseLayerTabs-4445J6yh.mjs.map → MapBaseLayerTabs-CRl5Zwlr.mjs.map} +1 -1
- package/.output/server/chunks/build/{Modal-DNZtVxca.mjs → Modal-CozaqIp1.mjs} +13 -5
- package/.output/server/chunks/build/{Modal-DNZtVxca.mjs.map → Modal-CozaqIp1.mjs.map} +1 -1
- package/.output/server/chunks/build/{OnlineMap-CKwiuqUY.mjs → OnlineMap-cFSicmkV.mjs} +1 -1
- package/.output/server/chunks/build/{OnlineMap-CKwiuqUY.mjs.map → OnlineMap-cFSicmkV.mjs.map} +1 -1
- package/.output/server/chunks/build/{Pagination-CDHx4HTZ.mjs → Pagination-GvNCxmOW.mjs} +1 -1
- package/.output/server/chunks/build/{Pagination-CDHx4HTZ.mjs.map → Pagination-GvNCxmOW.mjs.map} +1 -1
- package/.output/server/chunks/build/{Slider-D-n8Y0CX.mjs → Slider-zQx1c7hB.mjs} +10 -25
- package/.output/server/chunks/build/Slider-zQx1c7hB.mjs.map +1 -0
- package/.output/server/chunks/build/{Tooltip-CkpSktvJ.mjs → Tooltip-DNUdH4oF.mjs} +3 -4
- package/.output/server/chunks/build/{Tooltip-CkpSktvJ.mjs.map → Tooltip-DNUdH4oF.mjs.map} +1 -1
- package/.output/server/chunks/build/{advanced-D1onodoF.mjs → advanced-5ZGMUBqC.mjs} +17 -18
- package/.output/server/chunks/build/advanced-5ZGMUBqC.mjs.map +1 -0
- package/.output/server/chunks/build/clamp-CdZXprXk.mjs +65 -0
- package/.output/server/chunks/build/clamp-CdZXprXk.mjs.map +1 -0
- package/.output/server/chunks/build/{compare-DmSAW8oA.mjs → compare-CtgF4Anj.mjs} +17 -17
- package/.output/server/chunks/build/{compare-DmSAW8oA.mjs.map → compare-CtgF4Anj.mjs.map} +1 -1
- package/.output/server/chunks/build/{dashboard-BJxrZ19n.mjs → dashboard-GneN-WPG.mjs} +25 -10
- package/.output/server/chunks/build/{dashboard-BJxrZ19n.mjs.map → dashboard-GneN-WPG.mjs.map} +1 -1
- package/.output/server/chunks/build/{details-CBMqXYyo.mjs → details-CgufnL1d.mjs} +4 -4
- package/.output/server/chunks/build/{details-CBMqXYyo.mjs.map → details-CgufnL1d.mjs.map} +1 -1
- package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +1 -1
- package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +1 -1
- package/.output/server/chunks/build/{interval-BxUMpo78.mjs → interval-9B2MrM2e.mjs} +2 -2
- package/.output/server/chunks/build/{interval-BxUMpo78.mjs.map → interval-9B2MrM2e.mjs.map} +1 -1
- package/.output/server/chunks/build/{login-lbtjN0MV.mjs → login-Cf5EiCE4.mjs} +8 -8
- package/.output/server/chunks/build/{login-lbtjN0MV.mjs.map → login-Cf5EiCE4.mjs.map} +1 -1
- package/.output/server/chunks/build/{pages-Ba0Eixbd.mjs → pages-0c5sp_lv.mjs} +8 -9
- package/.output/server/chunks/build/pages-0c5sp_lv.mjs.map +1 -0
- package/.output/server/chunks/build/{services-DuJwjAB8.mjs → services-BB49kSpd.mjs} +16 -16
- package/.output/server/chunks/build/{services-DuJwjAB8.mjs.map → services-BB49kSpd.mjs.map} +1 -1
- package/.output/server/chunks/build/{tasks-D_Q5EDnn.mjs → tasks-Aa8PwjVL.mjs} +5 -5
- package/.output/server/chunks/build/{tasks-D_Q5EDnn.mjs.map → tasks-Aa8PwjVL.mjs.map} +1 -1
- package/.output/server/chunks/build/tasks-BRcMLuRW.mjs +6121 -0
- package/.output/server/chunks/build/tasks-BRcMLuRW.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +254 -257
- package/.output/server/chunks/routes/api/auth/login.post.mjs +1 -1
- package/.output/server/chunks/routes/api/auth/login.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs +2 -2
- package/.output/server/chunks/routes/api/auth/send-sms.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/map/base/_baseLayer/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/base/status.get.mjs +24 -0
- package/.output/server/chunks/routes/api/map/base/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/map/live/status.get.mjs +1 -1
- package/.output/server/chunks/routes/api/map/live/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +3 -3
- package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +3 -3
- package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/config.post.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/config.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/file.post.mjs +4 -3
- package/.output/server/chunks/routes/api/map-service/file.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/source.post.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/source.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/map-service/status.get.mjs +1 -0
- package/.output/server/chunks/routes/api/map-service/status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +4 -3
- package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +11 -4
- package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +39 -0
- package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +3 -2
- package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/compare.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/fetch.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/files.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workspace/files.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/files.post.mjs +4 -3
- package/.output/server/chunks/routes/api/workspace/files.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workspace/tasks.post.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/routes/services/wms.get.mjs +3 -2
- package/.output/server/chunks/routes/services/wms.get.mjs.map +1 -1
- package/.output/server/chunks/routes/services/wmts.get.mjs +3 -2
- package/.output/server/chunks/routes/services/wmts.get.mjs.map +1 -1
- package/.output/server/chunks/virtual/entry.mjs +149 -149
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/chunks/virtual/styles.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/README.md +7 -1
- package/dist/package.json +68 -0
- package/dist/shared/export.js +4 -0
- package/dist/shared/types/export.js +1 -0
- package/dist/src/cli.js +20 -3
- package/dist/src/config.js +2 -0
- package/dist/src/core/grid-renderer.js +29 -15
- package/dist/src/core/png.js +59 -6
- package/dist/src/core/shell.js +37 -0
- package/dist/src/core/uomtiles.js +98 -14
- package/package.json +1 -1
- package/.output/public/_nuxt/1d1PDhA4.js +0 -1
- package/.output/public/_nuxt/981KwFWf.js +0 -1
- package/.output/public/_nuxt/B30dSvM4.js +0 -1
- package/.output/public/_nuxt/BRkljK8J.js +0 -1
- package/.output/public/_nuxt/B_MqTg2k2.js +0 -1
- package/.output/public/_nuxt/BrPwntMr.js +0 -1
- package/.output/public/_nuxt/BskybydR.js +0 -1
- package/.output/public/_nuxt/C7HxHbxA.js +0 -1
- package/.output/public/_nuxt/CPuhwLY1.js +0 -1
- package/.output/public/_nuxt/Ce26t8_Y.js +0 -1
- package/.output/public/_nuxt/CfW544W5.js +0 -1
- package/.output/public/_nuxt/D1wVNWS0.js +0 -1
- package/.output/public/_nuxt/Dz7VMlHR.js +0 -1
- package/.output/public/_nuxt/NL65vbjG2.js +0 -1
- package/.output/public/_nuxt/Pik8or8N2.js +0 -1
- package/.output/public/_nuxt/XZ59tThl.js +0 -1
- package/.output/public/_nuxt/ZpWjFsgV.js +0 -1
- package/.output/public/_nuxt/builds/meta/9f85104e-738d-4a74-8daa-40b136ce17d5.json +0 -1
- package/.output/public/_nuxt/dXz6dFgW2.js +0 -1
- package/.output/public/_nuxt/entry.P6tFNE31.css +0 -1
- package/.output/public/_nuxt/j0MRD-c3.js +0 -1
- package/.output/public/_nuxt/zZ1EGR7Y.js +0 -1
- package/.output/server/chunks/build/Alert-0ngTJXxP.mjs.map +0 -1
- package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs +0 -569
- package/.output/server/chunks/build/DashboardSidebarToggle-pncTaIJq.mjs.map +0 -1
- package/.output/server/chunks/build/PopperArrow-Bqfdf2Et.mjs.map +0 -1
- package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs +0 -379
- package/.output/server/chunks/build/ScrollArea-BQK3em8b.mjs.map +0 -1
- package/.output/server/chunks/build/Slider-D-n8Y0CX.mjs.map +0 -1
- package/.output/server/chunks/build/advanced-D1onodoF.mjs.map +0 -1
- package/.output/server/chunks/build/pages-Ba0Eixbd.mjs.map +0 -1
- package/.output/server/chunks/build/tasks-CyN9x492.mjs +0 -915
- package/.output/server/chunks/build/tasks-CyN9x492.mjs.map +0 -1
|
@@ -1,569 +0,0 @@
|
|
|
1
|
-
import { A as createContext, e as useLocale, S as useCookie, U as useStorage, d as useComponentProps, g as useForwardProps, W as reactiveOmit, f as useAppConfig, t as tv, b as _sfc_main$2, P as Primitive, X as injectConfigProviderContext, v as useForwardExpose, Y as onKeyStroke, Z as isNullish } from '../virtual/entry.mjs';
|
|
2
|
-
import * as vue from 'vue';
|
|
3
|
-
import { ref, computed, isRef, unref, watch, mergeProps, withCtx, renderSlot, defineComponent, watchEffect, openBlock, createBlock, normalizeStyle, reactive, toValue, nextTick, useSSRContext } from 'vue';
|
|
4
|
-
import { ssrRenderComponent, ssrRenderSlot } from 'vue/server-renderer';
|
|
5
|
-
|
|
6
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js
|
|
7
|
-
function handleAndDispatchCustomEvent(name, handler, detail) {
|
|
8
|
-
const target = detail.originalEvent.target;
|
|
9
|
-
const event = new CustomEvent(name, {
|
|
10
|
-
bubbles: false,
|
|
11
|
-
cancelable: true,
|
|
12
|
-
detail
|
|
13
|
-
});
|
|
14
|
-
if (handler) target.addEventListener(name, handler, { once: true });
|
|
15
|
-
target.dispatchEvent(event);
|
|
16
|
-
}
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useDirection.js
|
|
19
|
-
/**
|
|
20
|
-
* The `useDirection` function provides a way to access the current direction in your application.
|
|
21
|
-
* @param {Ref<Direction | undefined>} [dir] - An optional ref containing the direction (ltr or rtl).
|
|
22
|
-
* @returns computed value that combines with the resolved direction.
|
|
23
|
-
*/
|
|
24
|
-
function useDirection(dir) {
|
|
25
|
-
const context = injectConfigProviderContext({ dir: ref("ltr") });
|
|
26
|
-
return computed(() => dir?.value || context.dir?.value || "ltr");
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useId.js
|
|
30
|
-
var count = 0;
|
|
31
|
-
/**
|
|
32
|
-
* The `useId` function generates a unique identifier using a provided deterministic ID,
|
|
33
|
-
* a configured `<ConfigProvider>` ID source, Vue's native `useId`, or a fallback counter.
|
|
34
|
-
* @param {string | null | undefined} [deterministicId] - The `useId` function you provided takes an
|
|
35
|
-
* optional parameter `deterministicId`, which can be a string, null, or undefined. If
|
|
36
|
-
* `deterministicId` is provided, the function will return it. Otherwise, it will generate an id using
|
|
37
|
-
* the configured ID source.
|
|
38
|
-
*/
|
|
39
|
-
function useId$1(deterministicId, prefix = "reka") {
|
|
40
|
-
let id;
|
|
41
|
-
const configProviderContext = injectConfigProviderContext({ useId: void 0 });
|
|
42
|
-
if (configProviderContext.useId) id = configProviderContext.useId();
|
|
43
|
-
else if ("useId" in vue) id = vue.useId?.();
|
|
44
|
-
else id = `${++count}`;
|
|
45
|
-
return prefix ? `${prefix}-${id}` : id;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Listens for `pointerdown` outside a DOM subtree. We use `pointerdown` rather than `pointerup`
|
|
49
|
-
* to mimic layer dismissing behaviour present in OS.
|
|
50
|
-
* Returns props to pass to the node we want to check for outside events.
|
|
51
|
-
*/
|
|
52
|
-
function usePointerDownOutside(onPointerDownOutside, element, enabled = true) {
|
|
53
|
-
element?.value?.ownerDocument ?? globalThis?.document;
|
|
54
|
-
const isPointerInsideDOMTree = ref(false);
|
|
55
|
-
ref(() => {});
|
|
56
|
-
watchEffect((cleanupFn) => {});
|
|
57
|
-
return { onPointerDownCapture: () => {
|
|
58
|
-
if (!toValue(enabled)) return;
|
|
59
|
-
isPointerInsideDOMTree.value = true;
|
|
60
|
-
} };
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Listens for when focus happens outside a DOM subtree.
|
|
64
|
-
* Returns props to pass to the root (node) of the subtree we want to check.
|
|
65
|
-
*/
|
|
66
|
-
function useFocusOutside(onFocusOutside, element, enabled = true) {
|
|
67
|
-
element?.value?.ownerDocument ?? globalThis?.document;
|
|
68
|
-
const isFocusInsideDOMTree = ref(false);
|
|
69
|
-
watchEffect((cleanupFn) => {});
|
|
70
|
-
return {
|
|
71
|
-
onFocusCapture: () => {
|
|
72
|
-
if (!toValue(enabled)) return;
|
|
73
|
-
isFocusInsideDOMTree.value = true;
|
|
74
|
-
},
|
|
75
|
-
onBlurCapture: () => {
|
|
76
|
-
if (!toValue(enabled)) return;
|
|
77
|
-
isFocusInsideDOMTree.value = false;
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
//#endregion
|
|
82
|
-
//#region node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js
|
|
83
|
-
var context = /*#__PURE__*/ reactive({
|
|
84
|
-
layersRoot: /* @__PURE__ */ new Set(),
|
|
85
|
-
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
86
|
-
originalBodyPointerEvents: void 0,
|
|
87
|
-
branches: /* @__PURE__ */ new Set()
|
|
88
|
-
});
|
|
89
|
-
var DismissableLayer_default = /* @__PURE__ */ defineComponent({
|
|
90
|
-
__name: "DismissableLayer",
|
|
91
|
-
props: {
|
|
92
|
-
disableOutsidePointerEvents: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
required: false,
|
|
95
|
-
default: false
|
|
96
|
-
},
|
|
97
|
-
asChild: {
|
|
98
|
-
type: Boolean,
|
|
99
|
-
required: false
|
|
100
|
-
},
|
|
101
|
-
as: {
|
|
102
|
-
type: null,
|
|
103
|
-
required: false
|
|
104
|
-
},
|
|
105
|
-
present: {
|
|
106
|
-
type: Boolean,
|
|
107
|
-
required: false,
|
|
108
|
-
default: true
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
emits: [
|
|
112
|
-
"escapeKeyDown",
|
|
113
|
-
"pointerDownOutside",
|
|
114
|
-
"focusOutside",
|
|
115
|
-
"interactOutside",
|
|
116
|
-
"dismiss"
|
|
117
|
-
],
|
|
118
|
-
setup(__props, { emit: __emit }) {
|
|
119
|
-
const props = __props;
|
|
120
|
-
const emits = __emit;
|
|
121
|
-
const { forwardRef, currentElement: layerElement } = useForwardExpose();
|
|
122
|
-
const ownerDocument = computed(() => layerElement.value?.ownerDocument ?? globalThis.document);
|
|
123
|
-
const layers = computed(() => context.layersRoot);
|
|
124
|
-
const index = computed(() => {
|
|
125
|
-
return layerElement.value ? Array.from(layers.value).indexOf(layerElement.value) : -1;
|
|
126
|
-
});
|
|
127
|
-
const isBodyPointerEventsDisabled = computed(() => {
|
|
128
|
-
return context.layersWithOutsidePointerEventsDisabled.size > 0;
|
|
129
|
-
});
|
|
130
|
-
const isPointerEventsEnabled = computed(() => {
|
|
131
|
-
const localLayers = Array.from(layers.value);
|
|
132
|
-
const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
|
|
133
|
-
const highestLayerWithOutsidePointerEventsDisabledIndex = localLayers.indexOf(highestLayerWithOutsidePointerEventsDisabled);
|
|
134
|
-
return index.value >= highestLayerWithOutsidePointerEventsDisabledIndex;
|
|
135
|
-
});
|
|
136
|
-
const pointerDownOutside = usePointerDownOutside(async (event) => {
|
|
137
|
-
const isPointerDownOnBranch = [...context.branches].some((branch) => branch?.contains(event.target));
|
|
138
|
-
if (!props.present || !isPointerEventsEnabled.value || isPointerDownOnBranch) return;
|
|
139
|
-
emits("pointerDownOutside", event);
|
|
140
|
-
emits("interactOutside", event);
|
|
141
|
-
await nextTick();
|
|
142
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
143
|
-
}, layerElement);
|
|
144
|
-
const focusOutside = useFocusOutside((event) => {
|
|
145
|
-
const isFocusInBranch = [...context.branches].some((branch) => branch?.contains(event.target));
|
|
146
|
-
if (!props.present || isFocusInBranch) return;
|
|
147
|
-
emits("focusOutside", event);
|
|
148
|
-
emits("interactOutside", event);
|
|
149
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
150
|
-
}, layerElement);
|
|
151
|
-
onKeyStroke("Escape", (event) => {
|
|
152
|
-
if (!props.present) return;
|
|
153
|
-
if (!(index.value === layers.value.size - 1)) return;
|
|
154
|
-
emits("escapeKeyDown", event);
|
|
155
|
-
if (!event.defaultPrevented) emits("dismiss");
|
|
156
|
-
});
|
|
157
|
-
watch([
|
|
158
|
-
layerElement,
|
|
159
|
-
() => props.disableOutsidePointerEvents,
|
|
160
|
-
() => props.present
|
|
161
|
-
], ([element, disableOutsidePointerEvents, present], _, onCleanup) => {
|
|
162
|
-
if (!element || !present) return;
|
|
163
|
-
if (disableOutsidePointerEvents) {
|
|
164
|
-
if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
|
|
165
|
-
context.originalBodyPointerEvents = ownerDocument.value.body.style.pointerEvents;
|
|
166
|
-
ownerDocument.value.body.style.pointerEvents = "none";
|
|
167
|
-
}
|
|
168
|
-
context.layersWithOutsidePointerEventsDisabled.add(element);
|
|
169
|
-
onCleanup(() => {
|
|
170
|
-
context.layersWithOutsidePointerEventsDisabled.delete(element);
|
|
171
|
-
if (context.layersWithOutsidePointerEventsDisabled.size === 0 && !isNullish(context.originalBodyPointerEvents)) ownerDocument.value.body.style.pointerEvents = context.originalBodyPointerEvents;
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
}, { immediate: true });
|
|
175
|
-
watch([layerElement, () => props.present], ([element, present], _, onCleanup) => {
|
|
176
|
-
if (!element || !present) return;
|
|
177
|
-
layers.value.add(element);
|
|
178
|
-
onCleanup(() => {
|
|
179
|
-
layers.value.delete(element);
|
|
180
|
-
});
|
|
181
|
-
}, { immediate: true });
|
|
182
|
-
watchEffect((cleanupFn) => {
|
|
183
|
-
cleanupFn(() => {
|
|
184
|
-
if (!layerElement.value) return;
|
|
185
|
-
layers.value.delete(layerElement.value);
|
|
186
|
-
context.layersWithOutsidePointerEventsDisabled.delete(layerElement.value);
|
|
187
|
-
});
|
|
188
|
-
});
|
|
189
|
-
return (_ctx, _cache) => {
|
|
190
|
-
return openBlock(), createBlock(unref(Primitive), {
|
|
191
|
-
ref: unref(forwardRef),
|
|
192
|
-
"as-child": _ctx.asChild,
|
|
193
|
-
as: _ctx.as,
|
|
194
|
-
"data-dismissable-layer": "",
|
|
195
|
-
style: normalizeStyle({ pointerEvents: isBodyPointerEventsDisabled.value ? isPointerEventsEnabled.value ? "auto" : "none" : void 0 }),
|
|
196
|
-
onFocusCapture: unref(focusOutside).onFocusCapture,
|
|
197
|
-
onBlurCapture: unref(focusOutside).onBlurCapture,
|
|
198
|
-
onPointerdownCapture: unref(pointerDownOutside).onPointerDownCapture
|
|
199
|
-
}, {
|
|
200
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
201
|
-
_: 3
|
|
202
|
-
}, 8, [
|
|
203
|
-
"as-child",
|
|
204
|
-
"as",
|
|
205
|
-
"style",
|
|
206
|
-
"onFocusCapture",
|
|
207
|
-
"onBlurCapture",
|
|
208
|
-
"onPointerdownCapture"
|
|
209
|
-
]);
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
});
|
|
213
|
-
//#endregion
|
|
214
|
-
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/utils/dashboard.js
|
|
215
|
-
var [useDashboard, provideDashboardContext] = createContext("DashboardGroup");
|
|
216
|
-
//#endregion
|
|
217
|
-
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/composables/useResizable.js
|
|
218
|
-
function useResizable(key, options = {}, { collapsed = ref(false) } = {}) {
|
|
219
|
-
const el = ref(null);
|
|
220
|
-
const opts = computed(() => ({
|
|
221
|
-
side: "left",
|
|
222
|
-
minSize: 0,
|
|
223
|
-
maxSize: 100,
|
|
224
|
-
defaultSize: 0,
|
|
225
|
-
storage: "cookie",
|
|
226
|
-
persistent: true,
|
|
227
|
-
collapsible: false,
|
|
228
|
-
collapsedSize: 0,
|
|
229
|
-
resizable: true,
|
|
230
|
-
unit: "%",
|
|
231
|
-
...isRef(options) ? options.value : options
|
|
232
|
-
}));
|
|
233
|
-
const { dir } = useLocale();
|
|
234
|
-
const defaultStorageValue = {
|
|
235
|
-
size: opts.value.defaultSize,
|
|
236
|
-
collapsed: unref(collapsed) ?? false
|
|
237
|
-
};
|
|
238
|
-
const storageData = opts.value.persistent && (opts.value.resizable || opts.value.collapsible) ? opts.value.storage === "cookie" ? useCookie(key, {
|
|
239
|
-
...opts.value.storageOptions,
|
|
240
|
-
default: () => defaultStorageValue
|
|
241
|
-
}) : useStorage(key, defaultStorageValue, void 0, opts.value.storageOptions) : ref(defaultStorageValue);
|
|
242
|
-
const writeStorage = (patch) => {
|
|
243
|
-
if (storageData.value) Object.assign(storageData.value, patch);
|
|
244
|
-
else storageData.value = {
|
|
245
|
-
...defaultStorageValue,
|
|
246
|
-
...patch
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
const isCollapsed = computed({
|
|
250
|
-
get: () => storageData.value?.collapsed ?? defaultStorageValue.collapsed,
|
|
251
|
-
set: (value) => {
|
|
252
|
-
if (!opts.value.collapsible) return;
|
|
253
|
-
if (isRef(collapsed)) collapsed.value = value;
|
|
254
|
-
writeStorage({ collapsed: value });
|
|
255
|
-
}
|
|
256
|
-
});
|
|
257
|
-
const previousSize = ref(opts.value.defaultSize);
|
|
258
|
-
const size = computed({
|
|
259
|
-
get: () => storageData.value?.size ?? opts.value.defaultSize,
|
|
260
|
-
set: (value) => {
|
|
261
|
-
writeStorage({ size: value });
|
|
262
|
-
}
|
|
263
|
-
});
|
|
264
|
-
const currentSize = computed(() => isCollapsed.value ? opts.value.collapsedSize : size.value);
|
|
265
|
-
const isDragging = ref(false);
|
|
266
|
-
const getRootFontSize = () => opts.value.unit === "rem" ? Number.parseFloat(getComputedStyle((void 0).documentElement).fontSize) : 1;
|
|
267
|
-
const resize = (clientX, initialPos, initialSize, rootFontSize) => {
|
|
268
|
-
if (!el.value || !opts.value.resizable) return;
|
|
269
|
-
const parentSize = el.value.parentElement?.offsetWidth || 1;
|
|
270
|
-
const isRtl = dir.value === "rtl";
|
|
271
|
-
let delta;
|
|
272
|
-
if (isRtl) delta = opts.value.side === "left" ? initialPos - clientX : clientX - initialPos;
|
|
273
|
-
else delta = opts.value.side === "left" ? clientX - initialPos : initialPos - clientX;
|
|
274
|
-
const newSize = initialSize + delta;
|
|
275
|
-
let newValue;
|
|
276
|
-
if (opts.value.unit === "rem") newValue = newSize / rootFontSize;
|
|
277
|
-
else if (opts.value.unit === "px") newValue = newSize;
|
|
278
|
-
else newValue = newSize / parentSize * 100;
|
|
279
|
-
if (opts.value.collapsible && newValue < opts.value.collapsedSize + 4) {
|
|
280
|
-
collapse(true);
|
|
281
|
-
return;
|
|
282
|
-
} else if (isCollapsed.value) collapse(false);
|
|
283
|
-
size.value = Math.min(opts.value.maxSize, Math.max(opts.value.minSize, newValue));
|
|
284
|
-
};
|
|
285
|
-
const onMouseDown = (e) => {
|
|
286
|
-
if (!el.value || !opts.value.resizable) return;
|
|
287
|
-
e.preventDefault();
|
|
288
|
-
e.stopPropagation();
|
|
289
|
-
const elWidth = el.value.getBoundingClientRect().width;
|
|
290
|
-
if (!elWidth) return;
|
|
291
|
-
const initialX = e.clientX;
|
|
292
|
-
const initialWidth = elWidth;
|
|
293
|
-
const rootFontSize = getRootFontSize();
|
|
294
|
-
isDragging.value = true;
|
|
295
|
-
const handleMouseMove = (e2) => {
|
|
296
|
-
resize(e2.clientX, initialX, initialWidth, rootFontSize);
|
|
297
|
-
};
|
|
298
|
-
const handleMouseUp = () => {
|
|
299
|
-
isDragging.value = false;
|
|
300
|
-
(void 0).removeEventListener("mousemove", handleMouseMove);
|
|
301
|
-
(void 0).removeEventListener("mouseup", handleMouseUp);
|
|
302
|
-
};
|
|
303
|
-
(void 0).addEventListener("mousemove", handleMouseMove);
|
|
304
|
-
(void 0).addEventListener("mouseup", handleMouseUp);
|
|
305
|
-
};
|
|
306
|
-
const onTouchStart = (e) => {
|
|
307
|
-
if (!el.value || !opts.value.resizable || !e.touches[0]) return;
|
|
308
|
-
e.preventDefault();
|
|
309
|
-
e.stopPropagation();
|
|
310
|
-
const elWidth = el.value.getBoundingClientRect().width;
|
|
311
|
-
if (!elWidth) return;
|
|
312
|
-
const initialX = e.touches[0].clientX;
|
|
313
|
-
const initialWidth = elWidth;
|
|
314
|
-
const rootFontSize = getRootFontSize();
|
|
315
|
-
isDragging.value = true;
|
|
316
|
-
const handleTouchMove = (e2) => {
|
|
317
|
-
if (e2.touches[0]) resize(e2.touches[0].clientX, initialX, initialWidth, rootFontSize);
|
|
318
|
-
};
|
|
319
|
-
const handleTouchEnd = () => {
|
|
320
|
-
isDragging.value = false;
|
|
321
|
-
(void 0).removeEventListener("touchmove", handleTouchMove);
|
|
322
|
-
(void 0).removeEventListener("touchend", handleTouchEnd);
|
|
323
|
-
(void 0).removeEventListener("touchcancel", handleTouchEnd);
|
|
324
|
-
};
|
|
325
|
-
(void 0).addEventListener("touchmove", handleTouchMove, { passive: false });
|
|
326
|
-
(void 0).addEventListener("touchend", handleTouchEnd);
|
|
327
|
-
(void 0).addEventListener("touchcancel", handleTouchEnd);
|
|
328
|
-
};
|
|
329
|
-
const onDoubleClick = (e) => {
|
|
330
|
-
if (!el.value || !opts.value.resizable) return;
|
|
331
|
-
e.preventDefault();
|
|
332
|
-
e.stopPropagation();
|
|
333
|
-
if (isCollapsed.value) collapse(false);
|
|
334
|
-
size.value = opts.value.defaultSize;
|
|
335
|
-
};
|
|
336
|
-
const collapse = (value) => {
|
|
337
|
-
if (!opts.value.collapsible) return;
|
|
338
|
-
const newCollapsed = value ?? !isCollapsed.value;
|
|
339
|
-
if (newCollapsed && !isCollapsed.value) previousSize.value = size.value;
|
|
340
|
-
else if (!newCollapsed && isCollapsed.value) size.value = previousSize.value;
|
|
341
|
-
isCollapsed.value = newCollapsed;
|
|
342
|
-
};
|
|
343
|
-
if (isRef(collapsed) && storageData.value?.collapsed) collapsed.value = storageData.value.collapsed;
|
|
344
|
-
if (isRef(collapsed)) watch(collapsed, (value) => {
|
|
345
|
-
if (!opts.value.collapsible) return;
|
|
346
|
-
if (storageData.value?.collapsed !== value) isCollapsed.value = value;
|
|
347
|
-
});
|
|
348
|
-
return {
|
|
349
|
-
el,
|
|
350
|
-
size: currentSize,
|
|
351
|
-
isDragging,
|
|
352
|
-
isCollapsed,
|
|
353
|
-
onMouseDown,
|
|
354
|
-
onTouchStart,
|
|
355
|
-
onDoubleClick,
|
|
356
|
-
collapse
|
|
357
|
-
};
|
|
358
|
-
}
|
|
359
|
-
//#endregion
|
|
360
|
-
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-resize-handle.ts
|
|
361
|
-
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_resize_handle_default = { "base": "hidden lg:block touch-none select-none cursor-ew-resize relative before:absolute before:inset-y-0 before:-left-1.5 before:-right-1.5 before:z-1" };
|
|
362
|
-
//#endregion
|
|
363
|
-
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardResizeHandle.vue
|
|
364
|
-
var _sfc_main$1 = {
|
|
365
|
-
__name: "UDashboardResizeHandle",
|
|
366
|
-
__ssrInlineRender: true,
|
|
367
|
-
props: {
|
|
368
|
-
as: {
|
|
369
|
-
type: null,
|
|
370
|
-
required: false
|
|
371
|
-
},
|
|
372
|
-
class: {
|
|
373
|
-
type: null,
|
|
374
|
-
required: false
|
|
375
|
-
},
|
|
376
|
-
ui: {
|
|
377
|
-
type: Object,
|
|
378
|
-
required: false
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
setup(__props) {
|
|
382
|
-
const props = useComponentProps("dashboardResizeHandle", __props);
|
|
383
|
-
const appConfig = useAppConfig();
|
|
384
|
-
const ui = computed(() => tv({
|
|
385
|
-
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_resize_handle_default,
|
|
386
|
-
...appConfig.ui?.dashboardResizeHandle || {}
|
|
387
|
-
}));
|
|
388
|
-
return (_ctx, _push, _parent, _attrs) => {
|
|
389
|
-
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
390
|
-
as: unref(props).as,
|
|
391
|
-
role: "separator",
|
|
392
|
-
class: ui.value({ class: [unref(props).ui?.base, unref(props).class] })
|
|
393
|
-
}, _attrs), {
|
|
394
|
-
default: withCtx((_, _push, _parent, _scopeId) => {
|
|
395
|
-
if (_push) ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent, _scopeId);
|
|
396
|
-
else return [renderSlot(_ctx.$slots, "default")];
|
|
397
|
-
}),
|
|
398
|
-
_: 3
|
|
399
|
-
}, _parent));
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
};
|
|
403
|
-
var _sfc_setup$1 = _sfc_main$1.setup;
|
|
404
|
-
_sfc_main$1.setup = (props, ctx) => {
|
|
405
|
-
const ssrContext = useSSRContext();
|
|
406
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardResizeHandle.vue");
|
|
407
|
-
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
408
|
-
};
|
|
409
|
-
//#endregion
|
|
410
|
-
//#region virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-sidebar-toggle.ts
|
|
411
|
-
var virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_sidebar_toggle_default = {
|
|
412
|
-
"base": "lg:hidden",
|
|
413
|
-
"variants": { "side": {
|
|
414
|
-
"left": "",
|
|
415
|
-
"right": ""
|
|
416
|
-
} }
|
|
417
|
-
};
|
|
418
|
-
//#endregion
|
|
419
|
-
//#region node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardSidebarToggle.vue
|
|
420
|
-
var _sfc_main = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
|
|
421
|
-
__name: "UDashboardSidebarToggle",
|
|
422
|
-
__ssrInlineRender: true,
|
|
423
|
-
props: {
|
|
424
|
-
color: {
|
|
425
|
-
type: null,
|
|
426
|
-
required: false,
|
|
427
|
-
default: "neutral"
|
|
428
|
-
},
|
|
429
|
-
variant: {
|
|
430
|
-
type: null,
|
|
431
|
-
required: false,
|
|
432
|
-
default: "ghost"
|
|
433
|
-
},
|
|
434
|
-
side: {
|
|
435
|
-
type: String,
|
|
436
|
-
required: false,
|
|
437
|
-
default: "left"
|
|
438
|
-
},
|
|
439
|
-
ui: {
|
|
440
|
-
type: Object,
|
|
441
|
-
required: false
|
|
442
|
-
},
|
|
443
|
-
label: {
|
|
444
|
-
type: String,
|
|
445
|
-
required: false
|
|
446
|
-
},
|
|
447
|
-
activeColor: {
|
|
448
|
-
type: null,
|
|
449
|
-
required: false
|
|
450
|
-
},
|
|
451
|
-
activeVariant: {
|
|
452
|
-
type: null,
|
|
453
|
-
required: false
|
|
454
|
-
},
|
|
455
|
-
size: {
|
|
456
|
-
type: null,
|
|
457
|
-
required: false
|
|
458
|
-
},
|
|
459
|
-
square: {
|
|
460
|
-
type: Boolean,
|
|
461
|
-
required: false
|
|
462
|
-
},
|
|
463
|
-
block: {
|
|
464
|
-
type: Boolean,
|
|
465
|
-
required: false
|
|
466
|
-
},
|
|
467
|
-
loadingAuto: {
|
|
468
|
-
type: Boolean,
|
|
469
|
-
required: false
|
|
470
|
-
},
|
|
471
|
-
onClick: {
|
|
472
|
-
type: [Function, Array],
|
|
473
|
-
required: false
|
|
474
|
-
},
|
|
475
|
-
class: {
|
|
476
|
-
type: null,
|
|
477
|
-
required: false
|
|
478
|
-
},
|
|
479
|
-
icon: {
|
|
480
|
-
type: null,
|
|
481
|
-
required: false
|
|
482
|
-
},
|
|
483
|
-
avatar: {
|
|
484
|
-
type: Object,
|
|
485
|
-
required: false
|
|
486
|
-
},
|
|
487
|
-
leading: {
|
|
488
|
-
type: Boolean,
|
|
489
|
-
required: false
|
|
490
|
-
},
|
|
491
|
-
leadingIcon: {
|
|
492
|
-
type: null,
|
|
493
|
-
required: false
|
|
494
|
-
},
|
|
495
|
-
trailing: {
|
|
496
|
-
type: Boolean,
|
|
497
|
-
required: false
|
|
498
|
-
},
|
|
499
|
-
trailingIcon: {
|
|
500
|
-
type: null,
|
|
501
|
-
required: false
|
|
502
|
-
},
|
|
503
|
-
loading: {
|
|
504
|
-
type: Boolean,
|
|
505
|
-
required: false
|
|
506
|
-
},
|
|
507
|
-
loadingIcon: {
|
|
508
|
-
type: null,
|
|
509
|
-
required: false
|
|
510
|
-
},
|
|
511
|
-
as: {
|
|
512
|
-
type: null,
|
|
513
|
-
required: false
|
|
514
|
-
},
|
|
515
|
-
type: {
|
|
516
|
-
type: null,
|
|
517
|
-
required: false
|
|
518
|
-
},
|
|
519
|
-
disabled: {
|
|
520
|
-
type: Boolean,
|
|
521
|
-
required: false
|
|
522
|
-
},
|
|
523
|
-
exactActiveClass: {
|
|
524
|
-
type: String,
|
|
525
|
-
required: false
|
|
526
|
-
},
|
|
527
|
-
viewTransition: {
|
|
528
|
-
type: Boolean,
|
|
529
|
-
required: false
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
setup(__props) {
|
|
533
|
-
const props = useComponentProps("dashboardSidebarToggle", __props);
|
|
534
|
-
const buttonProps = useForwardProps(reactiveOmit(props, "icon", "side", "class"));
|
|
535
|
-
const { t } = useLocale();
|
|
536
|
-
const appConfig = useAppConfig();
|
|
537
|
-
const { sidebarOpen, toggleSidebar } = useDashboard({
|
|
538
|
-
sidebarOpen: ref(false),
|
|
539
|
-
toggleSidebar: () => {}
|
|
540
|
-
});
|
|
541
|
-
const ui = computed(() => tv({
|
|
542
|
-
extend: virtual_nuxt_node_modules_2F_cache_2Fnuxt_2F_nuxt_2Fui_2Fdashboard_sidebar_toggle_default,
|
|
543
|
-
...appConfig.ui?.dashboardSidebarToggle || {}
|
|
544
|
-
}));
|
|
545
|
-
return (_ctx, _push, _parent, _attrs) => {
|
|
546
|
-
_push(ssrRenderComponent(_sfc_main$2, mergeProps({
|
|
547
|
-
...unref(buttonProps),
|
|
548
|
-
"icon": unref(props).icon || (unref(sidebarOpen) ? unref(appConfig).ui.icons.close : unref(appConfig).ui.icons.menu),
|
|
549
|
-
"aria-label": unref(sidebarOpen) ? unref(t)("dashboardSidebarToggle.close") : unref(t)("dashboardSidebarToggle.open"),
|
|
550
|
-
..._ctx.$attrs
|
|
551
|
-
}, {
|
|
552
|
-
class: ui.value({
|
|
553
|
-
class: [unref(props).ui?.base, unref(props).class],
|
|
554
|
-
side: unref(props).side
|
|
555
|
-
}),
|
|
556
|
-
onClick: unref(toggleSidebar)
|
|
557
|
-
}, _attrs), null, _parent));
|
|
558
|
-
};
|
|
559
|
-
}
|
|
560
|
-
});
|
|
561
|
-
var _sfc_setup = _sfc_main.setup;
|
|
562
|
-
_sfc_main.setup = (props, ctx) => {
|
|
563
|
-
const ssrContext = useSSRContext();
|
|
564
|
-
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardSidebarToggle.vue");
|
|
565
|
-
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
566
|
-
};
|
|
567
|
-
|
|
568
|
-
export { DismissableLayer_default as D, _sfc_main$1 as _, useDirection as a, useDashboard as b, useResizable as c, _sfc_main as d, handleAndDispatchCustomEvent as h, provideDashboardContext as p, useId$1 as u };
|
|
569
|
-
//# sourceMappingURL=DashboardSidebarToggle-pncTaIJq.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardSidebarToggle-pncTaIJq.mjs","sources":["../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useDirection.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useId.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DismissableLayer/utils.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/utils/dashboard.js","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/composables/useResizable.js","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-resize-handle.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardResizeHandle.vue","../../../../virtual:nuxt:node_modules%2F.cache%2Fnuxt%2F.nuxt%2Fui%2Fdashboard-sidebar-toggle.ts","../../../../node_modules/.pnpm/@nuxt+ui@4.10.0_e299f0a9b209424c2a6c150f5a1a8167/node_modules/@nuxt/ui/dist/runtime/components/DashboardSidebarToggle.vue"],"names":["useId","$attrs"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopperArrow-Bqfdf2Et.mjs","sources":["../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useForwardPropsEmits.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/shared/useSize.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperRoot.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperAnchor.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/component/Arrow.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/utils.js","../../../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","../../../../node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs","../../../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs","../../../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","../../../../node_modules/.pnpm/nuxt@4.5.2_@babel+plugin-syntax-jsx@7.29.7_@babel+core@7.29.7__@babel+plugin-syntax-typ_e8b326918adce583caf1abc0a3047151/node_modules/nuxt/dist/app/compat/capi.js","../../../../node_modules/.pnpm/@floating-ui+vue@1.1.11_vue@3.5.41_typescript@6.0.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperContent.js","../../../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.41_typescript@6.0.3_/node_modules/reka-ui/dist/Popper/PopperArrow.js"],"names":["useForwardProps","_hoisted_1","computePosition","arrow","flip","hide","offset","shift","limitShift","size","getComputedStyle","unwrapElement","arrow$1","toValue","unref","computed","ref","shallowRef","getCurrentScope","shallowReadonly"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13]}
|