gitxp 0.0.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/assets/index-BGHvBNtP.js +11 -0
- package/.output/public/assets/routes-DuE8S6pX.js +60 -0
- package/.output/public/assets/styles-D5xbQNYu.css +1 -0
- package/.output/server/_chunks/ssr-renderer.mjs +26 -0
- package/.output/server/_libs/@floating-ui/core+[...].mjs +671 -0
- package/.output/server/_libs/@floating-ui/dom+[...].mjs +649 -0
- package/.output/server/_libs/@floating-ui/react-dom+[...].mjs +856 -0
- package/.output/server/_libs/@radix-ui/react-arrow+[...].mjs +258 -0
- package/.output/server/_libs/@radix-ui/react-dialog+[...].mjs +1862 -0
- package/.output/server/_libs/@radix-ui/react-popper+[...].mjs +320 -0
- package/.output/server/_libs/@radix-ui/react-tooltip+[...].mjs +534 -0
- package/.output/server/_libs/@tanstack/db+[...].mjs +14680 -0
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +14563 -0
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +126 -0
- package/.output/server/_libs/@tanstack/router-core+[...].mjs +3636 -0
- package/.output/server/_libs/class-variance-authority+clsx.mjs +69 -0
- package/.output/server/_libs/cmdk.mjs +504 -0
- package/.output/server/_libs/h3+rou3+srvx.mjs +1361 -0
- package/.output/server/_libs/h3-v2.mjs +285 -0
- package/.output/server/_libs/lucide-react.mjs +158 -0
- package/.output/server/_libs/radix-ui__primitive.mjs +44 -0
- package/.output/server/_libs/radix-ui__react-context.mjs +108 -0
- package/.output/server/_libs/tailwind-merge.mjs +3380 -0
- package/.output/server/_libs/tanstack__history.mjs +384 -0
- package/.output/server/_libs/tanstack__query-core.mjs +2225 -0
- package/.output/server/_libs/tanstack__react-db.mjs +242 -0
- package/.output/server/_libs/tanstack__react-query.mjs +140 -0
- package/.output/server/_libs/ufo.mjs +64 -0
- package/.output/server/_runtime.mjs +35 -0
- package/.output/server/_ssr/empty-plugin-adapters-D9UWiqvJ.mjs +5 -0
- package/.output/server/_ssr/events-BNrmOvgU.mjs +13 -0
- package/.output/server/_ssr/notifications-DUoENv6E.mjs +514 -0
- package/.output/server/_ssr/router-DsUHD4bT.mjs +179 -0
- package/.output/server/_ssr/routes-DIFfr242.mjs +982 -0
- package/.output/server/_ssr/ssr.mjs +1854 -0
- package/.output/server/_ssr/start-5Z2QO8AU.mjs +4 -0
- package/.output/server/_tanstack-start-manifest_v-CrD0YpZr.mjs +20 -0
- package/.output/server/index.mjs +310 -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/LICENSE +21 -0
- package/README.md +325 -0
- package/bin/gitxp.js +85 -0
- package/package.json +92 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { i as __toESM, t as __commonJSMin } from "../../_runtime.mjs";
|
|
2
|
+
import { l as require_react_dom, u as require_react } from "../@floating-ui/react-dom+[...].mjs";
|
|
3
|
+
//#region node_modules/react/cjs/react-jsx-runtime.production.js
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* react-jsx-runtime.production.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
15
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
16
|
+
function jsxProd(type, config, maybeKey) {
|
|
17
|
+
var key = null;
|
|
18
|
+
void 0 !== maybeKey && (key = "" + maybeKey);
|
|
19
|
+
void 0 !== config.key && (key = "" + config.key);
|
|
20
|
+
if ("key" in config) {
|
|
21
|
+
maybeKey = {};
|
|
22
|
+
for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
|
|
23
|
+
} else maybeKey = config;
|
|
24
|
+
config = maybeKey.ref;
|
|
25
|
+
return {
|
|
26
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
27
|
+
type,
|
|
28
|
+
key,
|
|
29
|
+
ref: void 0 !== config ? config : null,
|
|
30
|
+
props: maybeKey
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
34
|
+
exports.jsx = jsxProd;
|
|
35
|
+
exports.jsxs = jsxProd;
|
|
36
|
+
}));
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region node_modules/react/jsx-runtime.js
|
|
39
|
+
var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
40
|
+
module.exports = require_react_jsx_runtime_production();
|
|
41
|
+
}));
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
44
|
+
var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
|
|
45
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
46
|
+
var __defProp$3 = Object.defineProperty;
|
|
47
|
+
var __name$3 = (target, value) => __defProp$3(target, "name", {
|
|
48
|
+
value,
|
|
49
|
+
configurable: true
|
|
50
|
+
});
|
|
51
|
+
function setRef(ref, value) {
|
|
52
|
+
if (typeof ref === "function") return ref(value);
|
|
53
|
+
else if (ref !== null && ref !== void 0) ref.current = value;
|
|
54
|
+
}
|
|
55
|
+
__name$3(setRef, "setRef");
|
|
56
|
+
function composeRefs(...refs) {
|
|
57
|
+
return (node) => {
|
|
58
|
+
let hasCleanup = false;
|
|
59
|
+
const cleanups = refs.map((ref) => {
|
|
60
|
+
const cleanup = setRef(ref, node);
|
|
61
|
+
if (!hasCleanup && typeof cleanup == "function") hasCleanup = true;
|
|
62
|
+
return cleanup;
|
|
63
|
+
});
|
|
64
|
+
if (hasCleanup) return () => {
|
|
65
|
+
for (let i = 0; i < cleanups.length; i++) {
|
|
66
|
+
const cleanup = cleanups[i];
|
|
67
|
+
if (typeof cleanup == "function") cleanup();
|
|
68
|
+
else setRef(refs[i], null);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
__name$3(composeRefs, "composeRefs");
|
|
74
|
+
function useComposedRefs(...refs) {
|
|
75
|
+
return import_react.useCallback(composeRefs(...refs), refs);
|
|
76
|
+
}
|
|
77
|
+
__name$3(useComposedRefs, "useComposedRefs");
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
80
|
+
var __defProp$2 = Object.defineProperty;
|
|
81
|
+
var __name$2 = (target, value) => __defProp$2(target, "name", {
|
|
82
|
+
value,
|
|
83
|
+
configurable: true
|
|
84
|
+
});
|
|
85
|
+
// @__NO_SIDE_EFFECTS__
|
|
86
|
+
function createSlot(ownerName) {
|
|
87
|
+
const Slot2 = import_react.forwardRef((props, forwardedRef) => {
|
|
88
|
+
let { children, ...slotProps } = props;
|
|
89
|
+
let slottableElement = null;
|
|
90
|
+
let hasSlottable = false;
|
|
91
|
+
const newChildren = [];
|
|
92
|
+
if (isLazyComponent(children) && typeof use === "function") children = use(children._payload);
|
|
93
|
+
import_react.Children.forEach(children, (maybeSlottable) => {
|
|
94
|
+
if (isSlottable(maybeSlottable)) {
|
|
95
|
+
hasSlottable = true;
|
|
96
|
+
const slottable = maybeSlottable;
|
|
97
|
+
let child = "child" in slottable.props ? slottable.props.child : slottable.props.children;
|
|
98
|
+
if (isLazyComponent(child) && typeof use === "function") child = use(child._payload);
|
|
99
|
+
slottableElement = getSlottableElementFromSlottable(slottable, child);
|
|
100
|
+
newChildren.push(slottableElement?.props?.children);
|
|
101
|
+
} else newChildren.push(maybeSlottable);
|
|
102
|
+
});
|
|
103
|
+
if (slottableElement) slottableElement = import_react.cloneElement(slottableElement, void 0, newChildren);
|
|
104
|
+
else if (!hasSlottable && import_react.Children.count(children) === 1 && import_react.isValidElement(children)) slottableElement = children;
|
|
105
|
+
const slottableElementRef = slottableElement ? getElementRef(slottableElement) : void 0;
|
|
106
|
+
const composedRef = useComposedRefs(forwardedRef, slottableElementRef);
|
|
107
|
+
if (!slottableElement) {
|
|
108
|
+
if (children || children === 0) throw new Error(hasSlottable ? createSlottableError(ownerName) : createSlotError(ownerName));
|
|
109
|
+
return children;
|
|
110
|
+
}
|
|
111
|
+
const mergedProps = mergeProps(slotProps, slottableElement.props ?? {});
|
|
112
|
+
if (slottableElement.type !== import_react.Fragment) mergedProps.ref = forwardedRef ? composedRef : slottableElementRef;
|
|
113
|
+
return import_react.cloneElement(slottableElement, mergedProps);
|
|
114
|
+
});
|
|
115
|
+
Slot2.displayName = `${ownerName}.Slot`;
|
|
116
|
+
return Slot2;
|
|
117
|
+
}
|
|
118
|
+
__name$2(createSlot, "createSlot");
|
|
119
|
+
var Slot = /* @__PURE__ */ createSlot("Slot");
|
|
120
|
+
var SLOTTABLE_IDENTIFIER = Symbol.for("radix.slottable");
|
|
121
|
+
// @__NO_SIDE_EFFECTS__
|
|
122
|
+
function createSlottable(ownerName) {
|
|
123
|
+
const Slottable2 = /* @__PURE__ */ __name$2((props) => "child" in props ? props.children(props.child) : props.children, "Slottable");
|
|
124
|
+
Slottable2.displayName = `${ownerName}.Slottable`;
|
|
125
|
+
Slottable2.__radixId = SLOTTABLE_IDENTIFIER;
|
|
126
|
+
return Slottable2;
|
|
127
|
+
}
|
|
128
|
+
__name$2(createSlottable, "createSlottable");
|
|
129
|
+
var getSlottableElementFromSlottable = /* @__PURE__ */ __name$2((slottable, child) => {
|
|
130
|
+
if ("child" in slottable.props) {
|
|
131
|
+
const child2 = slottable.props.child;
|
|
132
|
+
if (!import_react.isValidElement(child2)) return null;
|
|
133
|
+
return import_react.cloneElement(child2, void 0, slottable.props.children(child2.props.children));
|
|
134
|
+
}
|
|
135
|
+
return import_react.isValidElement(child) ? child : null;
|
|
136
|
+
}, "getSlottableElementFromSlottable");
|
|
137
|
+
function mergeProps(slotProps, childProps) {
|
|
138
|
+
const overrideProps = { ...childProps };
|
|
139
|
+
for (const propName in childProps) {
|
|
140
|
+
const slotPropValue = slotProps[propName];
|
|
141
|
+
const childPropValue = childProps[propName];
|
|
142
|
+
if (/^on[A-Z]/.test(propName)) {
|
|
143
|
+
if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
|
|
144
|
+
const result = childPropValue(...args);
|
|
145
|
+
slotPropValue(...args);
|
|
146
|
+
return result;
|
|
147
|
+
};
|
|
148
|
+
else if (slotPropValue) overrideProps[propName] = slotPropValue;
|
|
149
|
+
} else if (propName === "style") overrideProps[propName] = {
|
|
150
|
+
...slotPropValue,
|
|
151
|
+
...childPropValue
|
|
152
|
+
};
|
|
153
|
+
else if (propName === "className") overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
...slotProps,
|
|
157
|
+
...overrideProps
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
__name$2(mergeProps, "mergeProps");
|
|
161
|
+
function getElementRef(element) {
|
|
162
|
+
let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
|
|
163
|
+
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
164
|
+
if (mayWarn) return element.ref;
|
|
165
|
+
getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
|
|
166
|
+
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
167
|
+
if (mayWarn) return element.props.ref;
|
|
168
|
+
return element.props.ref || element.ref;
|
|
169
|
+
}
|
|
170
|
+
__name$2(getElementRef, "getElementRef");
|
|
171
|
+
function isSlottable(child) {
|
|
172
|
+
return import_react.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
|
|
173
|
+
}
|
|
174
|
+
__name$2(isSlottable, "isSlottable");
|
|
175
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
176
|
+
function isLazyComponent(element) {
|
|
177
|
+
return element != null && typeof element === "object" && "$$typeof" in element && element.$$typeof === REACT_LAZY_TYPE && "_payload" in element && isPromiseLike(element._payload);
|
|
178
|
+
}
|
|
179
|
+
__name$2(isLazyComponent, "isLazyComponent");
|
|
180
|
+
function isPromiseLike(value) {
|
|
181
|
+
return typeof value === "object" && value !== null && "then" in value;
|
|
182
|
+
}
|
|
183
|
+
__name$2(isPromiseLike, "isPromiseLike");
|
|
184
|
+
var createSlotError = /* @__PURE__ */ __name$2((ownerName) => {
|
|
185
|
+
return `${ownerName} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`;
|
|
186
|
+
}, "createSlotError");
|
|
187
|
+
var createSlottableError = /* @__PURE__ */ __name$2((ownerName) => {
|
|
188
|
+
return `${ownerName} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`;
|
|
189
|
+
}, "createSlottableError");
|
|
190
|
+
var use = import_react[" use ".trim().toString()];
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
193
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
194
|
+
var __defProp$1 = Object.defineProperty;
|
|
195
|
+
var __name$1 = (target, value) => __defProp$1(target, "name", {
|
|
196
|
+
value,
|
|
197
|
+
configurable: true
|
|
198
|
+
});
|
|
199
|
+
var Primitive = [
|
|
200
|
+
"a",
|
|
201
|
+
"button",
|
|
202
|
+
"div",
|
|
203
|
+
"form",
|
|
204
|
+
"h2",
|
|
205
|
+
"h3",
|
|
206
|
+
"img",
|
|
207
|
+
"input",
|
|
208
|
+
"label",
|
|
209
|
+
"li",
|
|
210
|
+
"nav",
|
|
211
|
+
"ol",
|
|
212
|
+
"p",
|
|
213
|
+
"select",
|
|
214
|
+
"span",
|
|
215
|
+
"svg",
|
|
216
|
+
"ul"
|
|
217
|
+
].reduce((primitive, node) => {
|
|
218
|
+
const Slot = /* @__PURE__ */ createSlot(`Primitive.${node}`);
|
|
219
|
+
const Node = import_react.forwardRef((props, forwardedRef) => {
|
|
220
|
+
const { asChild, ...primitiveProps } = props;
|
|
221
|
+
const Comp = asChild ? Slot : node;
|
|
222
|
+
if (typeof window !== "undefined") window[Symbol.for("radix-ui")] = true;
|
|
223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Comp, {
|
|
224
|
+
...primitiveProps,
|
|
225
|
+
ref: forwardedRef
|
|
226
|
+
});
|
|
227
|
+
});
|
|
228
|
+
Node.displayName = `Primitive.${node}`;
|
|
229
|
+
return {
|
|
230
|
+
...primitive,
|
|
231
|
+
[node]: Node
|
|
232
|
+
};
|
|
233
|
+
}, {});
|
|
234
|
+
function dispatchDiscreteCustomEvent(target, event) {
|
|
235
|
+
if (target) import_react_dom.flushSync(() => target.dispatchEvent(event));
|
|
236
|
+
}
|
|
237
|
+
__name$1(dispatchDiscreteCustomEvent, "dispatchDiscreteCustomEvent");
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region node_modules/@radix-ui/react-arrow/dist/index.mjs
|
|
240
|
+
var __defProp = Object.defineProperty;
|
|
241
|
+
var __name = (target, value) => __defProp(target, "name", {
|
|
242
|
+
value,
|
|
243
|
+
configurable: true
|
|
244
|
+
});
|
|
245
|
+
var Root = /* @__PURE__ */ import_react.forwardRef(/* @__PURE__ */ __name(function Arrow2(props, forwardedRef) {
|
|
246
|
+
const { children, width = 10, height = 5, ...arrowProps } = props;
|
|
247
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.svg, {
|
|
248
|
+
...arrowProps,
|
|
249
|
+
ref: forwardedRef,
|
|
250
|
+
width,
|
|
251
|
+
height,
|
|
252
|
+
viewBox: "0 0 30 10",
|
|
253
|
+
preserveAspectRatio: "none",
|
|
254
|
+
children: props.asChild ? children : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
255
|
+
});
|
|
256
|
+
}, "Arrow"));
|
|
257
|
+
//#endregion
|
|
258
|
+
export { createSlot as a, useComposedRefs as c, Slot as i, require_jsx_runtime as l, Primitive as n, createSlottable as o, dispatchDiscreteCustomEvent as r, composeRefs as s, Root as t };
|