@hot-updater/console 0.28.0 → 0.29.1
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 +17 -0
- package/.output/public/apple-touch-icon.png +0 -0
- package/.output/public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/.output/public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/.output/public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/.output/public/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/.output/public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/.output/public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/.output/public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/.output/public/assets/main-Dlx8-qN-.js +61 -0
- package/.output/public/assets/routes-DB0tWmiJ.js +10 -0
- package/.output/public/assets/styles-Bfxg4M1x.css +2 -0
- package/.output/public/favicon-16x16.png +0 -0
- package/.output/public/favicon-32x32.png +0 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/logo.svg +1 -0
- package/.output/public/manifest.json +30 -0
- package/.output/public/robots.txt +3 -0
- package/.output/server/_chunks/ssr-renderer.mjs +15 -0
- package/.output/server/_libs/@floating-ui/core+[...].mjs +698 -0
- package/.output/server/_libs/@floating-ui/dom+[...].mjs +644 -0
- package/.output/server/_libs/@floating-ui/react-dom+[...].mjs +839 -0
- package/.output/server/_libs/@radix-ui/react-alert-dialog+[...].mjs +2093 -0
- package/.output/server/_libs/@radix-ui/react-popper+[...].mjs +287 -0
- package/.output/server/_libs/@radix-ui/react-select+[...].mjs +1003 -0
- package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +196 -0
- package/.output/server/_libs/@tanstack/form-core+[...].mjs +2396 -0
- package/.output/server/_libs/@tanstack/react-form+[...].mjs +298 -0
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +13068 -0
- package/.output/server/_libs/@tanstack/react-table+[...].mjs +2372 -0
- package/.output/server/_libs/chownr.mjs +60 -0
- package/.output/server/_libs/class-variance-authority+clsx.mjs +69 -0
- package/.output/server/_libs/core-util-is.mjs +67 -0
- package/.output/server/_libs/dayjs.mjs +408 -0
- package/.output/server/_libs/h3+rou3+srvx.mjs +1158 -0
- package/.output/server/_libs/hookable.mjs +41 -0
- package/.output/server/_libs/immediate.mjs +57 -0
- package/.output/server/_libs/inherits.mjs +39 -0
- package/.output/server/_libs/isaacs__fs-minipass+minipass.mjs +1120 -0
- package/.output/server/_libs/isarray.mjs +10 -0
- package/.output/server/_libs/jszip+[...].mjs +8311 -0
- package/.output/server/_libs/lucide-react.mjs +371 -0
- package/.output/server/_libs/minizlib.mjs +345 -0
- package/.output/server/_libs/next-themes.mjs +49 -0
- package/.output/server/_libs/radix-ui__number.mjs +6 -0
- package/.output/server/_libs/radix-ui__primitive.mjs +9 -0
- package/.output/server/_libs/radix-ui__react-arrow.mjs +23 -0
- package/.output/server/_libs/radix-ui__react-collection.mjs +78 -0
- package/.output/server/_libs/radix-ui__react-direction.mjs +11 -0
- package/.output/server/_libs/radix-ui__react-label.mjs +22 -0
- package/.output/server/_libs/radix-ui__react-separator.mjs +31 -0
- package/.output/server/_libs/radix-ui__react-slider.mjs +451 -0
- package/.output/server/_libs/radix-ui__react-switch.mjs +118 -0
- package/.output/server/_libs/radix-ui__react-tooltip.mjs +491 -0
- package/.output/server/_libs/semver.mjs +1339 -0
- package/.output/server/_libs/sonner.mjs +908 -0
- package/.output/server/_libs/tailwind-merge.mjs +1962 -0
- package/.output/server/_libs/tanstack__history.mjs +322 -0
- package/.output/server/_libs/tanstack__query-core.mjs +2073 -0
- package/.output/server/_libs/tanstack__react-query.mjs +146 -0
- package/.output/server/_libs/tanstack__router-core.mjs +6 -0
- package/.output/server/_libs/tar.mjs +1996 -0
- package/.output/server/_libs/ufo.mjs +64 -0
- package/.output/server/_runtime.mjs +26 -0
- package/.output/server/_ssr/api-rpc-D3ZehMIN.mjs +217 -0
- package/.output/server/_ssr/config.server-JUYQ7UbI.mjs +26 -0
- package/.output/server/_ssr/deleteBundle-DWUxu9-K.mjs +22 -0
- package/.output/server/_ssr/extract-timestamp-from-uuidv7-B90UBADU.mjs +24 -0
- package/.output/server/_ssr/promoteBundle-DtMHuubR.mjs +1571 -0
- package/.output/server/_ssr/router-pgc7NX76.mjs +250 -0
- package/.output/server/_ssr/routes-PqTTQSoI.mjs +1833 -0
- package/.output/server/_ssr/sidebar-DXng0IOP.mjs +439 -0
- package/.output/server/_ssr/ssr.mjs +5050 -0
- package/.output/server/_ssr/start-DQK0r85G.mjs +4 -0
- package/.output/server/_tanstack-start-manifest_v-DTbQVOpU.mjs +17 -0
- package/.output/server/index.mjs +417 -0
- package/.output/server/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/tslib/tslib.js +484 -0
- package/.output/server/package.json +9 -0
- package/README.md +191 -2
- package/package.json +77 -50
- package/dist/.gitkeep +0 -0
- package/dist/assets/favicon-BkwcEHsj.ico +0 -0
- package/dist/assets/index-DUlKsori.css +0 -1
- package/dist/assets/index-ijmIcyn1.js +0 -27
- package/dist/assets/logo-BYNFyja1.png +0 -0
- package/dist/index.cjs +0 -2129
- package/dist/index.d.cts +0 -218
- package/dist/index.d.ts +0 -218
- package/dist/index.html +0 -14
- package/dist/index.js +0 -2125
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { r as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { u as require_react } from "./@floating-ui/react-dom+[...].mjs";
|
|
3
|
+
//#region ../../node_modules/.pnpm/next-themes@0.4.6_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next-themes/dist/index.mjs
|
|
4
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1), M = (e, i, s, u, m, a, l, h) => {
|
|
5
|
+
let d = document.documentElement, w = ["light", "dark"];
|
|
6
|
+
function p(n) {
|
|
7
|
+
(Array.isArray(e) ? e : [e]).forEach((y) => {
|
|
8
|
+
let k = y === "class", S = k && a ? m.map((f) => a[f] || f) : m;
|
|
9
|
+
k ? (d.classList.remove(...S), d.classList.add(a && a[n] ? a[n] : n)) : d.setAttribute(y, n);
|
|
10
|
+
}), R(n);
|
|
11
|
+
}
|
|
12
|
+
function R(n) {
|
|
13
|
+
h && w.includes(n) && (d.style.colorScheme = n);
|
|
14
|
+
}
|
|
15
|
+
function c() {
|
|
16
|
+
return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
17
|
+
}
|
|
18
|
+
if (u) p(u);
|
|
19
|
+
else try {
|
|
20
|
+
let n = localStorage.getItem(i) || s;
|
|
21
|
+
p(l && n === "system" ? c() : n);
|
|
22
|
+
} catch (n) {}
|
|
23
|
+
}, x = import_react.createContext(void 0), U = {
|
|
24
|
+
setTheme: (e) => {},
|
|
25
|
+
themes: []
|
|
26
|
+
}, z = () => {
|
|
27
|
+
var e;
|
|
28
|
+
return (e = import_react.useContext(x)) != null ? e : U;
|
|
29
|
+
};
|
|
30
|
+
import_react.memo(({ forcedTheme: e, storageKey: i, attribute: s, enableSystem: u, enableColorScheme: m, defaultTheme: a, value: l, themes: h, nonce: d, scriptProps: w }) => {
|
|
31
|
+
let p = JSON.stringify([
|
|
32
|
+
s,
|
|
33
|
+
i,
|
|
34
|
+
a,
|
|
35
|
+
e,
|
|
36
|
+
h,
|
|
37
|
+
l,
|
|
38
|
+
u,
|
|
39
|
+
m
|
|
40
|
+
]).slice(1, -1);
|
|
41
|
+
return import_react.createElement("script", {
|
|
42
|
+
...w,
|
|
43
|
+
suppressHydrationWarning: !0,
|
|
44
|
+
nonce: typeof window == "undefined" ? d : "",
|
|
45
|
+
dangerouslySetInnerHTML: { __html: `(${M.toString()})(${p})` }
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { z as t };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
typeof window !== "undefined" && window.document && window.document.createElement;
|
|
2
|
+
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
3
|
+
return function handleEvent(event) {
|
|
4
|
+
originalEventHandler?.(event);
|
|
5
|
+
if (checkForDefaultPrevented === false || !event.defaultPrevented) return ourEventHandler?.(event);
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { composeEventHandlers as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { r as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { P as require_jsx_runtime, k as Primitive } from "./@radix-ui/react-alert-dialog+[...].mjs";
|
|
3
|
+
import { u as require_react } from "./@floating-ui/react-dom+[...].mjs";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-arrow@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@_e05f2c19a58a99fddf374207b5e3778c/node_modules/@radix-ui/react-arrow/dist/index.mjs
|
|
5
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
6
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
7
|
+
var NAME = "Arrow";
|
|
8
|
+
var Arrow = import_react.forwardRef((props, forwardedRef) => {
|
|
9
|
+
const { children, width = 10, height = 5, ...arrowProps } = props;
|
|
10
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.svg, {
|
|
11
|
+
...arrowProps,
|
|
12
|
+
ref: forwardedRef,
|
|
13
|
+
width,
|
|
14
|
+
height,
|
|
15
|
+
viewBox: "0 0 30 10",
|
|
16
|
+
preserveAspectRatio: "none",
|
|
17
|
+
children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
Arrow.displayName = NAME;
|
|
21
|
+
var Root = Arrow;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Root as t };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { r as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { N as useComposedRefs, O as createContextScope, P as require_jsx_runtime, j as createSlot } from "./@radix-ui/react-alert-dialog+[...].mjs";
|
|
3
|
+
import { u as require_react } from "./@floating-ui/react-dom+[...].mjs";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+r_161926fa2509d0b7370b60b8bb4eb8b0/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
5
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
6
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
7
|
+
function createCollection(name) {
|
|
8
|
+
const PROVIDER_NAME = name + "CollectionProvider";
|
|
9
|
+
const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);
|
|
10
|
+
const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(PROVIDER_NAME, {
|
|
11
|
+
collectionRef: { current: null },
|
|
12
|
+
itemMap: /* @__PURE__ */ new Map()
|
|
13
|
+
});
|
|
14
|
+
const CollectionProvider = (props) => {
|
|
15
|
+
const { scope, children } = props;
|
|
16
|
+
const ref = import_react.useRef(null);
|
|
17
|
+
const itemMap = import_react.useRef(/* @__PURE__ */ new Map()).current;
|
|
18
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CollectionProviderImpl, {
|
|
19
|
+
scope,
|
|
20
|
+
itemMap,
|
|
21
|
+
collectionRef: ref,
|
|
22
|
+
children
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
CollectionProvider.displayName = PROVIDER_NAME;
|
|
26
|
+
const COLLECTION_SLOT_NAME = name + "CollectionSlot";
|
|
27
|
+
const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);
|
|
28
|
+
const CollectionSlot = import_react.forwardRef((props, forwardedRef) => {
|
|
29
|
+
const { scope, children } = props;
|
|
30
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CollectionSlotImpl, {
|
|
31
|
+
ref: useComposedRefs(forwardedRef, useCollectionContext(COLLECTION_SLOT_NAME, scope).collectionRef),
|
|
32
|
+
children
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
CollectionSlot.displayName = COLLECTION_SLOT_NAME;
|
|
36
|
+
const ITEM_SLOT_NAME = name + "CollectionItemSlot";
|
|
37
|
+
const ITEM_DATA_ATTR = "data-radix-collection-item";
|
|
38
|
+
const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);
|
|
39
|
+
const CollectionItemSlot = import_react.forwardRef((props, forwardedRef) => {
|
|
40
|
+
const { scope, children, ...itemData } = props;
|
|
41
|
+
const ref = import_react.useRef(null);
|
|
42
|
+
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
43
|
+
const context = useCollectionContext(ITEM_SLOT_NAME, scope);
|
|
44
|
+
import_react.useEffect(() => {
|
|
45
|
+
context.itemMap.set(ref, {
|
|
46
|
+
ref,
|
|
47
|
+
...itemData
|
|
48
|
+
});
|
|
49
|
+
return () => void context.itemMap.delete(ref);
|
|
50
|
+
});
|
|
51
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CollectionItemSlotImpl, {
|
|
52
|
+
[ITEM_DATA_ATTR]: "",
|
|
53
|
+
ref: composedRefs,
|
|
54
|
+
children
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
CollectionItemSlot.displayName = ITEM_SLOT_NAME;
|
|
58
|
+
function useCollection(scope) {
|
|
59
|
+
const context = useCollectionContext(name + "CollectionConsumer", scope);
|
|
60
|
+
return import_react.useCallback(() => {
|
|
61
|
+
const collectionNode = context.collectionRef.current;
|
|
62
|
+
if (!collectionNode) return [];
|
|
63
|
+
const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
|
|
64
|
+
return Array.from(context.itemMap.values()).sort((a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current));
|
|
65
|
+
}, [context.collectionRef, context.itemMap]);
|
|
66
|
+
}
|
|
67
|
+
return [
|
|
68
|
+
{
|
|
69
|
+
Provider: CollectionProvider,
|
|
70
|
+
Slot: CollectionSlot,
|
|
71
|
+
ItemSlot: CollectionItemSlot
|
|
72
|
+
},
|
|
73
|
+
useCollection,
|
|
74
|
+
createCollectionScope
|
|
75
|
+
];
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
export { createCollection as t };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { r as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { u as require_react } from "./@floating-ui/react-dom+[...].mjs";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.14_react@19.2.4/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
4
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
5
|
+
var DirectionContext = import_react.createContext(void 0);
|
|
6
|
+
function useDirection(localDir) {
|
|
7
|
+
const globalDir = import_react.useContext(DirectionContext);
|
|
8
|
+
return localDir || globalDir || "ltr";
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { useDirection as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { r as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { P as require_jsx_runtime, k as Primitive } from "./@radix-ui/react-alert-dialog+[...].mjs";
|
|
3
|
+
import { u as require_react } from "./@floating-ui/react-dom+[...].mjs";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-label@2.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@_0e34a2d9c9cbbbf963013b9dd979f6f1/node_modules/@radix-ui/react-label/dist/index.mjs
|
|
5
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
6
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
7
|
+
var NAME = "Label";
|
|
8
|
+
var Label = import_react.forwardRef((props, forwardedRef) => {
|
|
9
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.label, {
|
|
10
|
+
...props,
|
|
11
|
+
ref: forwardedRef,
|
|
12
|
+
onMouseDown: (event) => {
|
|
13
|
+
if (event.target.closest("button, input, select, textarea")) return;
|
|
14
|
+
props.onMouseDown?.(event);
|
|
15
|
+
if (!event.defaultPrevented && event.detail > 1) event.preventDefault();
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
Label.displayName = NAME;
|
|
20
|
+
var Root = Label;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Root as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { r as __toESM } from "../_runtime.mjs";
|
|
2
|
+
import { P as require_jsx_runtime, k as Primitive } from "./@radix-ui/react-alert-dialog+[...].mjs";
|
|
3
|
+
import { u as require_react } from "./@floating-ui/react-dom+[...].mjs";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+re_708d1054dbf5e38a292cb79d1c79b4a1/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
5
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
6
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
7
|
+
var NAME = "Separator";
|
|
8
|
+
var DEFAULT_ORIENTATION = "horizontal";
|
|
9
|
+
var ORIENTATIONS = ["horizontal", "vertical"];
|
|
10
|
+
var Separator = import_react.forwardRef((props, forwardedRef) => {
|
|
11
|
+
const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;
|
|
12
|
+
const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;
|
|
13
|
+
const ariaOrientation = orientation === "vertical" ? orientation : void 0;
|
|
14
|
+
const semanticProps = decorative ? { role: "none" } : {
|
|
15
|
+
"aria-orientation": ariaOrientation,
|
|
16
|
+
role: "separator"
|
|
17
|
+
};
|
|
18
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
19
|
+
"data-orientation": orientation,
|
|
20
|
+
...semanticProps,
|
|
21
|
+
...domProps,
|
|
22
|
+
ref: forwardedRef
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
Separator.displayName = NAME;
|
|
26
|
+
function isValidOrientation(orientation) {
|
|
27
|
+
return ORIENTATIONS.includes(orientation);
|
|
28
|
+
}
|
|
29
|
+
var Root = Separator;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { Root as t };
|