@motiadev/plugin-endpoint 0.9.4-beta.151-307192 → 0.9.4-beta.151-182295
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.cjs +1 -6
- package/dist/index.js +33 -48
- package/dist/play/trigger-button.d.ts.map +1 -1
- package/dist/plugin-endpoint.css +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -129,9 +129,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
129
129
|
*
|
|
130
130
|
* This source code is licensed under the ISC license.
|
|
131
131
|
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
-
*/const F_=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],U_=ne("loader-circle",F_)
|
|
133
|
-
* @license lucide-react v0.545.0 - ISC
|
|
134
|
-
*
|
|
135
|
-
* This source code is licensed under the ISC license.
|
|
136
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
137
|
-
*/const P_=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],B_=ne("play",P_),q_=w.memo(({method:e,path:t})=>{const{setResponse:r}=K(),n=K(ie(Ss)),a=K(ie(Sf)),i=Pf(t),[o,s]=w.useState(!1),l=async()=>{try{s(!0);const c=Object.values(n).filter(g=>g.active&&g.name!==""&&g.value!=="").reduce((g,h)=>(g[h.name.toLowerCase()]=h.value,g),{}),u=Date.now(),p=await fetch(i,{method:e,headers:c,body:["GET","DELETE","HEAD","OPTIONS"].includes(e)?null:a});r(p,u)}catch(c){console.error("Error triggering endpoint:",c)}finally{s(!1)}};return d.jsx(U.Button,{variant:"ghost",size:"icon",onClick:l,disabled:o,"data-testid":"endpoint-play-button",children:o?d.jsx(U_,{className:"animate-spin"}):d.jsx(B_,{className:"h-4 w-4"})})}),j_=e=>Object.keys(Ss(e)).length,G_=e=>vf(e)!==void 0,$_=e=>Object.keys(vs(e)).length,H_=w.memo(({endpoint:e,onClose:t})=>{const r=e.method==="GET"||e.method==="DELETE",[n,a]=w.useState(r?"params":"body"),[i,o]=w.useState(!1),s=K(ie(j_)),l=K(ie(G_)),c=Af(e.path).length,p=K(ie($_))+c;return d.jsxs("div",{className:"isolate grid grid-cols-1 overflow-y-auto min-w-0 grid-rows-[auto_1fr] border-l border-border","data-testid":"endpoint-details-panel",children:[d.jsx(U.BackgroundEffect,{}),d.jsxs("div",{className:"grid grid-cols-[1fr_1fr_auto] items-start gap-4 px-5 py-4 border-b bg-card w-full",children:[d.jsxs("div",{className:"grid grid-rows-2 gap-2",children:[d.jsx(ys,{method:e.method,path:e.path}),e.description&&d.jsx("p",{className:"text-sm text-muted-foreground",children:e.description})]}),d.jsx("div",{className:"flex items-end justify-end",children:d.jsx(U.Button,{variant:"icon",size:"icon",onClick:()=>o(!i),"data-testid":"endpoint-spec-button",children:d.jsx(jm,{})})}),d.jsx(U.Button,{variant:"icon",size:"icon",onClick:t,children:d.jsx(et,{})})]}),d.jsxs("div",{className:U.cn("grid grid-cols-[minmax(350px,1fr)_minmax(auto,1fr)]",!l&&"grid-cols-1"),children:[d.jsxs(U.Tabs,{value:n,onValueChange:g=>a(g),children:[d.jsxs("div",{className:"grid grid-cols-[1fr_auto] items-center h-10 border-b px-5 bg-card",children:[d.jsxs(U.TabsList,{children:[d.jsxs(U.TabsTrigger,{value:"params",className:"grid grid-cols-[auto_auto] gap-2 items-center cursor-pointer","data-testid":"endpoint-params-tab",children:["Params",d.jsx(U.Badge,{variant:"outline",className:"h-4 px-1.5 text-xs",children:p})]}),d.jsx(U.TabsTrigger,{value:"body",className:"cursor-pointer","data-testid":"endpoint-body-tab",children:"Body"}),d.jsxs(U.TabsTrigger,{value:"headers",className:"grid grid-cols-[auto_auto] gap-2 items-center cursor-pointer","data-testid":"endpoint-headers-tab",children:["Headers",d.jsx(U.Badge,{variant:"outline",className:"h-4 px-1.5 text-xs",children:s})]})]}),d.jsx(q_,{method:e.method,path:e.path.toString()})]}),d.jsx(U.TabsContent,{value:"params",children:d.jsx(Bh,{path:e.path})}),d.jsx(U.TabsContent,{value:"body",children:d.jsx(Ih,{schema:e.bodySchema})}),d.jsx(U.TabsContent,{value:"headers",children:d.jsx(Dh,{})})]}),d.jsx(M_,{})]}),i&&d.jsx(bb,{endpoint:e,onClose:()=>o(!1)})]})}),z_=()=>{const{endpoints:e,groupedEndpoints:t}=Bm(),{selectedEndpointId:r,setSelectedEndpointId:n,toggleFlowGroupStatus:a,flowGroupStatus:i}=K(),o=w.useMemo(()=>e.find(p=>p.id===r),[e,r]),s=w.useCallback(()=>{n("")},[n]),[l,c]=w.useState(""),u=w.useMemo(()=>Object.entries(t).filter(([p,g])=>g.some(h=>h.method?.toLowerCase().includes(l.toLowerCase())||h.path?.toLowerCase().includes(l.toLowerCase()))),[t,l]);return d.jsxs("div",{className:U.cn("grid h-full max-h-full",o?"grid-cols-[300px_1fr] ":"grid-cols-1"),"data-testid":"endpoints-list",children:[d.jsxs("div",{className:"grid grid-rows-[auto_1fr] h-full overflow-auto min-w-0",children:[d.jsx(ym,{value:l,onChange:c,onClear:()=>c("")}),d.jsx("div",{className:"grid grid-cols-1 auto-rows-max overflow-auto min-w-0",children:u.map(([p,g])=>{const h=g.some(b=>b.id===r),v=!i[p]||h||l!=="";return d.jsx(_m,{flow:p,endpoints:g,isOpen:v,isSelected:h,onToggle:a,onClearSelection:()=>n(""),selectedEndpointId:r,onSelectEndpoint:n},p)})})]}),o&&d.jsx(H_,{endpoint:o,onClose:s})]})};exports.EndpointsPage=z_;
|
|
132
|
+
*/const F_=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],U_=ne("loader-circle",F_),P_=w.memo(({method:e,path:t})=>{const{setResponse:r}=K(),n=K(ie(Ss)),a=K(ie(Sf)),i=Pf(t),[o,s]=w.useState(!1),l=async()=>{try{s(!0);const c=Object.values(n).filter(g=>g.active&&g.name!==""&&g.value!=="").reduce((g,h)=>(g[h.name.toLowerCase()]=h.value,g),{}),u=Date.now(),p=await fetch(i,{method:e,headers:c,body:["GET","DELETE","HEAD","OPTIONS"].includes(e)?null:a});r(p,u)}catch(c){console.error("Error triggering endpoint:",c)}finally{s(!1)}};return d.jsx(U.Button,{variant:"accent",size:"sm",onClick:l,disabled:o,"data-testid":"endpoint-play-button",children:o?d.jsx(U_,{className:"animate-spin"}):"Send"})}),B_=e=>Object.keys(Ss(e)).length,q_=e=>vf(e)!==void 0,j_=e=>Object.keys(vs(e)).length,G_=w.memo(({endpoint:e,onClose:t})=>{const r=e.method==="GET"||e.method==="DELETE",[n,a]=w.useState(r?"params":"body"),[i,o]=w.useState(!1),s=K(ie(B_)),l=K(ie(q_)),c=Af(e.path).length,p=K(ie(j_))+c;return d.jsxs("div",{className:"isolate grid grid-cols-1 overflow-y-auto min-w-0 grid-rows-[auto_1fr] border-l border-border","data-testid":"endpoint-details-panel",children:[d.jsx(U.BackgroundEffect,{}),d.jsxs("div",{className:"grid grid-cols-[1fr_1fr_auto] items-start gap-4 px-5 py-4 border-b bg-card w-full",children:[d.jsxs("div",{className:"grid grid-rows-2 gap-2",children:[d.jsx(ys,{method:e.method,path:e.path}),e.description&&d.jsx("p",{className:"text-sm text-muted-foreground",children:e.description})]}),d.jsx("div",{className:"flex items-end justify-end",children:d.jsx(U.Button,{variant:"icon",size:"icon",onClick:()=>o(!i),"data-testid":"endpoint-spec-button",children:d.jsx(jm,{})})}),d.jsx(U.Button,{variant:"icon",size:"icon",onClick:t,children:d.jsx(et,{})})]}),d.jsxs("div",{className:U.cn("grid grid-cols-[minmax(380px,1fr)_minmax(auto,1fr)]",!l&&"grid-cols-1"),children:[d.jsxs(U.Tabs,{value:n,onValueChange:g=>a(g),children:[d.jsxs("div",{className:"grid grid-cols-[1fr_auto] items-center h-10 border-b px-5 bg-card",children:[d.jsxs(U.TabsList,{children:[d.jsxs(U.TabsTrigger,{value:"params",className:"grid grid-cols-[auto_auto] gap-2 items-center cursor-pointer","data-testid":"endpoint-params-tab",children:["Params",d.jsx(U.Badge,{variant:"outline",className:"h-4 px-1.5 text-xs",children:p})]}),d.jsx(U.TabsTrigger,{value:"body",className:"cursor-pointer","data-testid":"endpoint-body-tab",children:"Body"}),d.jsxs(U.TabsTrigger,{value:"headers",className:"grid grid-cols-[auto_auto] gap-2 items-center cursor-pointer","data-testid":"endpoint-headers-tab",children:["Headers",d.jsx(U.Badge,{variant:"outline",className:"h-4 px-1.5 text-xs",children:s})]})]}),d.jsx(P_,{method:e.method,path:e.path.toString()})]}),d.jsx(U.TabsContent,{value:"params",children:d.jsx(Bh,{path:e.path})}),d.jsx(U.TabsContent,{value:"body",children:d.jsx(Ih,{schema:e.bodySchema})}),d.jsx(U.TabsContent,{value:"headers",children:d.jsx(Dh,{})})]}),d.jsx(M_,{})]}),i&&d.jsx(bb,{endpoint:e,onClose:()=>o(!1)})]})}),$_=()=>{const{endpoints:e,groupedEndpoints:t}=Bm(),{selectedEndpointId:r,setSelectedEndpointId:n,toggleFlowGroupStatus:a,flowGroupStatus:i}=K(),o=w.useMemo(()=>e.find(p=>p.id===r),[e,r]),s=w.useCallback(()=>{n("")},[n]),[l,c]=w.useState(""),u=w.useMemo(()=>Object.entries(t).filter(([p,g])=>g.some(h=>h.method?.toLowerCase().includes(l.toLowerCase())||h.path?.toLowerCase().includes(l.toLowerCase()))),[t,l]);return d.jsxs("div",{className:U.cn("grid h-full max-h-full",o?"grid-cols-[300px_1fr] ":"grid-cols-1"),"data-testid":"endpoints-list",children:[d.jsxs("div",{className:"grid grid-rows-[auto_1fr] h-full overflow-auto min-w-0",children:[d.jsx(ym,{value:l,onChange:c,onClear:()=>c("")}),d.jsx("div",{className:"grid grid-cols-1 auto-rows-max overflow-auto min-w-0",children:u.map(([p,g])=>{const h=g.some(b=>b.id===r),v=!i[p]||h||l!=="";return d.jsx(_m,{flow:p,endpoints:g,isOpen:v,isSelected:h,onToggle:a,onClearSelection:()=>n(""),selectedEndpointId:r,onSelectEndpoint:n},p)})})]}),o&&d.jsx(G_,{endpoint:o,onClose:s})]})};exports.EndpointsPage=$_;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "react";
|
|
2
2
|
import W, { forwardRef as Df, createElement as gs, memo as he, useMemo as me, useState as $, useEffect as ee, useCallback as te, createContext as Am, useContext as Ce, isValidElement as Rm, useRef as V, Fragment as _m } from "react";
|
|
3
|
-
import { Input as fs, cn as
|
|
3
|
+
import { Input as fs, cn as oe, Panel as Os, Tabs as xs, TabsList as Ls, TabsTrigger as Me, useThemeStore as Ds, TabsContent as Fe, Sidebar as wm, Checkbox as Im, Button as be, BackgroundEffect as Nm, Badge as ll } from "@motiadev/ui";
|
|
4
4
|
import { useStreamGroup as km, useStreamItem as Cm } from "@motiadev/stream-client-react";
|
|
5
5
|
var st = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
6
|
function Om(e) {
|
|
@@ -361,7 +361,7 @@ const Bm = Df(
|
|
|
361
361
|
* This source code is licensed under the ISC license.
|
|
362
362
|
* See the LICENSE file in the root directory of this source tree.
|
|
363
363
|
*/
|
|
364
|
-
const
|
|
364
|
+
const se = (e, t) => {
|
|
365
365
|
const r = Df(
|
|
366
366
|
({ className: n, ...a }, i) => gs(Bm, {
|
|
367
367
|
ref: i,
|
|
@@ -385,7 +385,7 @@ const oe = (e, t) => {
|
|
|
385
385
|
const qm = [
|
|
386
386
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
387
387
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
388
|
-
], jm =
|
|
388
|
+
], jm = se("search", qm);
|
|
389
389
|
/**
|
|
390
390
|
* @license lucide-react v0.545.0 - ISC
|
|
391
391
|
*
|
|
@@ -395,7 +395,7 @@ const qm = [
|
|
|
395
395
|
const Gm = [
|
|
396
396
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
397
397
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
398
|
-
], ct =
|
|
398
|
+
], ct = se("x", Gm), $m = ({ value: e, onChange: t, onClear: r }) => /* @__PURE__ */ d.jsx("div", { className: "p-2 border-b gap-4", "data-testid": "endpoints-search-container", children: /* @__PURE__ */ d.jsxs("div", { className: "relative", children: [
|
|
399
399
|
/* @__PURE__ */ d.jsx(jm, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground/50" }),
|
|
400
400
|
/* @__PURE__ */ d.jsx(
|
|
401
401
|
fs,
|
|
@@ -410,7 +410,7 @@ const Gm = [
|
|
|
410
410
|
/* @__PURE__ */ d.jsx(
|
|
411
411
|
ct,
|
|
412
412
|
{
|
|
413
|
-
className:
|
|
413
|
+
className: oe(
|
|
414
414
|
"cursor-pointer absolute right-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground/50 hover:text-muted-foreground",
|
|
415
415
|
{
|
|
416
416
|
visible: e !== "",
|
|
@@ -427,7 +427,7 @@ const Gm = [
|
|
|
427
427
|
* This source code is licensed under the ISC license.
|
|
428
428
|
* See the LICENSE file in the root directory of this source tree.
|
|
429
429
|
*/
|
|
430
|
-
const Hm = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], zm =
|
|
430
|
+
const Hm = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], zm = se("chevron-down", Hm), Vm = (e) => {
|
|
431
431
|
switch (e.toUpperCase()) {
|
|
432
432
|
case "POST":
|
|
433
433
|
return "bg-[#258DC3]/15 text-[#258DC3]";
|
|
@@ -448,7 +448,7 @@ const Hm = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], zm = oe("chevron-do
|
|
|
448
448
|
}
|
|
449
449
|
}, Wm = he(({ className: e, variant: t, ...r }) => {
|
|
450
450
|
const n = "rounded-lg px-2 py-0.5 text-xs font-mono font-bold transition-colors", a = Vm(t);
|
|
451
|
-
return /* @__PURE__ */ d.jsx("div", { className:
|
|
451
|
+
return /* @__PURE__ */ d.jsx("div", { className: oe(n, a, e), ...r });
|
|
452
452
|
}), gl = () => /* @__PURE__ */ d.jsx("div", { className: "text-muted-foreground", children: "/" }), Ms = ({ method: e, path: t }) => {
|
|
453
453
|
const r = me(() => {
|
|
454
454
|
const n = t.split("/").filter(Boolean), a = n.length - 1;
|
|
@@ -479,7 +479,7 @@ const Hm = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], zm = oe("chevron-do
|
|
|
479
479
|
{
|
|
480
480
|
"data-testid": `endpoint-${e.method}-${e.path}`,
|
|
481
481
|
onClick: () => n(e.id),
|
|
482
|
-
className:
|
|
482
|
+
className: oe(
|
|
483
483
|
"grid grid-cols-[auto_1fr] items-center justify-center px-[17px] select-none hover:bg-muted-foreground/10 cursor-pointer",
|
|
484
484
|
t && "bg-muted-foreground/10"
|
|
485
485
|
),
|
|
@@ -526,7 +526,7 @@ const Hm = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], zm = oe("chevron-do
|
|
|
526
526
|
/* @__PURE__ */ d.jsx(
|
|
527
527
|
zm,
|
|
528
528
|
{
|
|
529
|
-
className:
|
|
529
|
+
className: oe("w-4 h-4 transition-transform duration-300 text-[#555]", { "rotate-180 mt-2.5": r }),
|
|
530
530
|
strokeWidth: 1.5
|
|
531
531
|
}
|
|
532
532
|
),
|
|
@@ -538,7 +538,7 @@ const Hm = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], zm = oe("chevron-do
|
|
|
538
538
|
height: "10",
|
|
539
539
|
viewBox: "0 0 2 10",
|
|
540
540
|
fill: "none",
|
|
541
|
-
className:
|
|
541
|
+
className: oe("ml-[7px]", { hidden: !r }),
|
|
542
542
|
children: /* @__PURE__ */ d.jsx(
|
|
543
543
|
"path",
|
|
544
544
|
{
|
|
@@ -553,7 +553,7 @@ const Hm = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], zm = oe("chevron-do
|
|
|
553
553
|
]
|
|
554
554
|
}
|
|
555
555
|
),
|
|
556
|
-
/* @__PURE__ */ d.jsx("div", { className:
|
|
556
|
+
/* @__PURE__ */ d.jsx("div", { className: oe("grid grid-cols-1 items-center justify-center", { hidden: !r }), children: t.map((l, c) => /* @__PURE__ */ d.jsx(
|
|
557
557
|
Ym,
|
|
558
558
|
{
|
|
559
559
|
endpoint: l,
|
|
@@ -1022,7 +1022,7 @@ const cb = [
|
|
|
1022
1022
|
key: "k3hazp"
|
|
1023
1023
|
}
|
|
1024
1024
|
]
|
|
1025
|
-
], db =
|
|
1025
|
+
], db = se("book", cb), bl = (e) => Symbol.iterator in e, hl = (e) => (
|
|
1026
1026
|
// HACK: avoid checking entries type
|
|
1027
1027
|
"entries" in e
|
|
1028
1028
|
), El = (e, t) => {
|
|
@@ -1892,7 +1892,7 @@ const jb = [
|
|
|
1892
1892
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
1893
1893
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
1894
1894
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
1895
|
-
], Gb =
|
|
1895
|
+
], Gb = se("circle-x", jb);
|
|
1896
1896
|
function $b(e, t, r) {
|
|
1897
1897
|
return t in e ? Object.defineProperty(e, t, {
|
|
1898
1898
|
value: r,
|
|
@@ -2552,7 +2552,7 @@ const Zh = ({
|
|
|
2552
2552
|
const Jh = [
|
|
2553
2553
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
2554
2554
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
2555
|
-
], Qf =
|
|
2555
|
+
], Qf = se("plus", Jh);
|
|
2556
2556
|
/**
|
|
2557
2557
|
* @license lucide-react v0.545.0 - ISC
|
|
2558
2558
|
*
|
|
@@ -2563,14 +2563,14 @@ const Qh = [
|
|
|
2563
2563
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
2564
2564
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
2565
2565
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
2566
|
-
], eE =
|
|
2566
|
+
], eE = se("circle-alert", Qh);
|
|
2567
2567
|
/**
|
|
2568
2568
|
* @license lucide-react v0.545.0 - ISC
|
|
2569
2569
|
*
|
|
2570
2570
|
* This source code is licensed under the ISC license.
|
|
2571
2571
|
* See the LICENSE file in the root directory of this source tree.
|
|
2572
2572
|
*/
|
|
2573
|
-
const tE = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], em =
|
|
2573
|
+
const tE = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], em = se("check", tE);
|
|
2574
2574
|
/**
|
|
2575
2575
|
* @license lucide-react v0.545.0 - ISC
|
|
2576
2576
|
*
|
|
@@ -2583,7 +2583,7 @@ const rE = [
|
|
|
2583
2583
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
2584
2584
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
2585
2585
|
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
|
|
2586
|
-
], nE =
|
|
2586
|
+
], nE = se("trash-2", rE), Is = he(
|
|
2587
2587
|
({ value: e, id: t, onUpdate: r, onRemove: n, required: a = !1 }) => {
|
|
2588
2588
|
const [i, o] = $(null), [s, l] = $(null), c = V(void 0), u = i === t, p = te(
|
|
2589
2589
|
(v) => {
|
|
@@ -2600,7 +2600,7 @@ const rE = [
|
|
|
2600
2600
|
return /* @__PURE__ */ d.jsxs(
|
|
2601
2601
|
"div",
|
|
2602
2602
|
{
|
|
2603
|
-
className:
|
|
2603
|
+
className: oe(
|
|
2604
2604
|
"grid grid-cols-[auto_1fr_auto] items-center py-2 px-4 bg-muted/30 rounded-lg gap-2",
|
|
2605
2605
|
u && "bg-card"
|
|
2606
2606
|
),
|
|
@@ -2651,7 +2651,7 @@ const rE = [
|
|
|
2651
2651
|
onClick: () => {
|
|
2652
2652
|
s === t ? n?.(t) : p(t);
|
|
2653
2653
|
},
|
|
2654
|
-
className:
|
|
2654
|
+
className: oe("h-6 w-6 opacity-0 transition-opacity duration-200", u && "opacity-100"),
|
|
2655
2655
|
title: s === t && u ? "Click again to remove" : "Remove",
|
|
2656
2656
|
children: s === t ? /* @__PURE__ */ d.jsx(eE, { className: "h-3 w-3 text-destructive" }) : /* @__PURE__ */ d.jsx(nE, { className: "h-3 w-3" })
|
|
2657
2657
|
}
|
|
@@ -2694,7 +2694,7 @@ const rE = [
|
|
|
2694
2694
|
const iE = [
|
|
2695
2695
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
2696
2696
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
2697
|
-
], oE =
|
|
2697
|
+
], oE = se("copy", iE), sE = (e) => Object.values(Us(e)).filter(
|
|
2698
2698
|
(t) => t.active && t.value !== "" && t.name !== ""
|
|
2699
2699
|
), tm = (e) => {
|
|
2700
2700
|
const t = Z(ue(Bf)), r = Z(ue(sE));
|
|
@@ -2715,7 +2715,7 @@ const iE = [
|
|
|
2715
2715
|
be,
|
|
2716
2716
|
{
|
|
2717
2717
|
onClick: o,
|
|
2718
|
-
className:
|
|
2718
|
+
className: oe(
|
|
2719
2719
|
"w-3 h-3 grid place-items-center transition-colors cursor-pointer",
|
|
2720
2720
|
a ? "text-green-400" : "text-muted-foreground"
|
|
2721
2721
|
),
|
|
@@ -2866,7 +2866,7 @@ const iE = [
|
|
|
2866
2866
|
return /* @__PURE__ */ d.jsxs(
|
|
2867
2867
|
"div",
|
|
2868
2868
|
{
|
|
2869
|
-
className:
|
|
2869
|
+
className: oe(
|
|
2870
2870
|
"px-2 py-1 rounded-sm flex items-center gap-1",
|
|
2871
2871
|
n && "dark:bg-[#EAB71F]/20 dark:text-[#EAB71F] bg-[#EAB71F] text-white",
|
|
2872
2872
|
a && "dark:bg-[#F8367D]/20 dark:text-[#F8367D] bg-[#F8367D] text-white",
|
|
@@ -2890,7 +2890,7 @@ const fE = [
|
|
|
2890
2890
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
2891
2891
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
2892
2892
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
2893
|
-
], mE =
|
|
2893
|
+
], mE = se("download", fE);
|
|
2894
2894
|
function bE(e, t) {
|
|
2895
2895
|
if (e == null) return {};
|
|
2896
2896
|
var r = {};
|
|
@@ -25539,22 +25539,7 @@ const Q_ = {
|
|
|
25539
25539
|
* This source code is licensed under the ISC license.
|
|
25540
25540
|
* See the LICENSE file in the root directory of this source tree.
|
|
25541
25541
|
*/
|
|
25542
|
-
const ow = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], sw =
|
|
25543
|
-
/**
|
|
25544
|
-
* @license lucide-react v0.545.0 - ISC
|
|
25545
|
-
*
|
|
25546
|
-
* This source code is licensed under the ISC license.
|
|
25547
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
25548
|
-
*/
|
|
25549
|
-
const lw = [
|
|
25550
|
-
[
|
|
25551
|
-
"path",
|
|
25552
|
-
{
|
|
25553
|
-
d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
|
|
25554
|
-
key: "10ikf1"
|
|
25555
|
-
}
|
|
25556
|
-
]
|
|
25557
|
-
], uw = oe("play", lw), cw = he(({ method: e, path: t }) => {
|
|
25542
|
+
const ow = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], sw = se("loader-circle", ow), lw = he(({ method: e, path: t }) => {
|
|
25558
25543
|
const { setResponse: r } = Z(), n = Z(ue(Fs)), a = Z(ue(Uf)), i = tm(t), [o, s] = $(!1), l = async () => {
|
|
25559
25544
|
try {
|
|
25560
25545
|
s(!0);
|
|
@@ -25573,9 +25558,9 @@ const lw = [
|
|
|
25573
25558
|
s(!1);
|
|
25574
25559
|
}
|
|
25575
25560
|
};
|
|
25576
|
-
return /* @__PURE__ */ d.jsx(be, { variant: "
|
|
25577
|
-
}),
|
|
25578
|
-
const r = e.method === "GET" || e.method === "DELETE", [n, a] = $(r ? "params" : "body"), [i, o] = $(!1), s = Z(ue(
|
|
25561
|
+
return /* @__PURE__ */ d.jsx(be, { variant: "accent", size: "sm", onClick: l, disabled: o, "data-testid": "endpoint-play-button", children: o ? /* @__PURE__ */ d.jsx(sw, { className: "animate-spin" }) : "Send" });
|
|
25562
|
+
}), uw = (e) => Object.keys(Fs(e)).length, cw = (e) => Pf(e) !== void 0, dw = (e) => Object.keys(Us(e)).length, pw = he(({ endpoint: e, onClose: t }) => {
|
|
25563
|
+
const r = e.method === "GET" || e.method === "DELETE", [n, a] = $(r ? "params" : "body"), [i, o] = $(!1), s = Z(ue(uw)), l = Z(ue(cw)), c = qf(e.path).length, p = Z(ue(dw)) + c;
|
|
25579
25564
|
return /* @__PURE__ */ d.jsxs(
|
|
25580
25565
|
"div",
|
|
25581
25566
|
{
|
|
@@ -25600,7 +25585,7 @@ const lw = [
|
|
|
25600
25585
|
) }),
|
|
25601
25586
|
/* @__PURE__ */ d.jsx(be, { variant: "icon", size: "icon", onClick: t, children: /* @__PURE__ */ d.jsx(ct, {}) })
|
|
25602
25587
|
] }),
|
|
25603
|
-
/* @__PURE__ */ d.jsxs("div", { className:
|
|
25588
|
+
/* @__PURE__ */ d.jsxs("div", { className: oe("grid grid-cols-[minmax(380px,1fr)_minmax(auto,1fr)]", !l && "grid-cols-1"), children: [
|
|
25604
25589
|
/* @__PURE__ */ d.jsxs(xs, { value: n, onValueChange: (g) => a(g), children: [
|
|
25605
25590
|
/* @__PURE__ */ d.jsxs("div", { className: "grid grid-cols-[1fr_auto] items-center h-10 border-b px-5 bg-card", children: [
|
|
25606
25591
|
/* @__PURE__ */ d.jsxs(Ls, { children: [
|
|
@@ -25630,7 +25615,7 @@ const lw = [
|
|
|
25630
25615
|
}
|
|
25631
25616
|
)
|
|
25632
25617
|
] }),
|
|
25633
|
-
/* @__PURE__ */ d.jsx(
|
|
25618
|
+
/* @__PURE__ */ d.jsx(lw, { method: e.method, path: e.path.toString() })
|
|
25634
25619
|
] }),
|
|
25635
25620
|
/* @__PURE__ */ d.jsx(Fe, { value: "params", children: /* @__PURE__ */ d.jsx(uE, { path: e.path }) }),
|
|
25636
25621
|
/* @__PURE__ */ d.jsx(Fe, { value: "body", children: /* @__PURE__ */ d.jsx(Xh, { schema: e.bodySchema }) }),
|
|
@@ -25642,7 +25627,7 @@ const lw = [
|
|
|
25642
25627
|
]
|
|
25643
25628
|
}
|
|
25644
25629
|
);
|
|
25645
|
-
}),
|
|
25630
|
+
}), bw = () => {
|
|
25646
25631
|
const { endpoints: e, groupedEndpoints: t } = ub(), { selectedEndpointId: r, setSelectedEndpointId: n, toggleFlowGroupStatus: a, flowGroupStatus: i } = Z(), o = me(
|
|
25647
25632
|
() => e.find((p) => p.id === r),
|
|
25648
25633
|
[e, r]
|
|
@@ -25654,7 +25639,7 @@ const lw = [
|
|
|
25654
25639
|
return /* @__PURE__ */ d.jsxs(
|
|
25655
25640
|
"div",
|
|
25656
25641
|
{
|
|
25657
|
-
className:
|
|
25642
|
+
className: oe("grid h-full max-h-full", o ? "grid-cols-[300px_1fr] " : "grid-cols-1"),
|
|
25658
25643
|
"data-testid": "endpoints-list",
|
|
25659
25644
|
children: [
|
|
25660
25645
|
/* @__PURE__ */ d.jsxs("div", { className: "grid grid-rows-[auto_1fr] h-full overflow-auto min-w-0", children: [
|
|
@@ -25677,11 +25662,11 @@ const lw = [
|
|
|
25677
25662
|
);
|
|
25678
25663
|
}) })
|
|
25679
25664
|
] }),
|
|
25680
|
-
o && /* @__PURE__ */ d.jsx(
|
|
25665
|
+
o && /* @__PURE__ */ d.jsx(pw, { endpoint: o, onClose: s })
|
|
25681
25666
|
]
|
|
25682
25667
|
}
|
|
25683
25668
|
);
|
|
25684
25669
|
};
|
|
25685
25670
|
export {
|
|
25686
|
-
|
|
25671
|
+
bw as EndpointsPage
|
|
25687
25672
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-button.d.ts","sourceRoot":"","sources":["../../src/play/trigger-button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trigger-button.d.ts","sourceRoot":"","sources":["../../src/play/trigger-button.tsx"],"names":[],"mappings":"AAOA,KAAK,kBAAkB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,aAAa,yDAA2B,kBAAkB,6CA0CrE,CAAA"}
|
package/dist/plugin-endpoint.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-outline-style:solid;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-700:oklch(55.4% .135 66.442);--color-green-400:oklch(79.2% .209 151.711);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-weight-500:var(--font-weight-500);--font-weight-600:var(--font-weight-600);--font-weight-700:var(--font-weight-700)}}@layer base{*{border-color:var(--border)}body{background-color:var(--background);color:var(--foreground)}*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-1\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-3{right:calc(var(--spacing)*3)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.isolate{isolation:isolate}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-2\.5{margin-top:calc(var(--spacing)*2.5)}.ml-\[7px\]{margin-left:7px}.box-border{box-sizing:border-box}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-8\.5{min-height:calc(var(--spacing)*8.5)}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-full{width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-180{rotate:180deg}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.auto-rows-max{grid-auto-rows:max-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[1fr_1fr_auto\]{grid-template-columns:1fr 1fr auto}.grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.grid-cols-\[300px_1fr\]{grid-template-columns:300px 1fr}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[auto_1fr_auto\]{grid-template-columns:auto 1fr auto}.grid-cols-\[auto_auto\]{grid-template-columns:auto auto}.grid-cols-\[auto_minmax\(0\,1fr\)\]{grid-template-columns:auto minmax(0,1fr)}.grid-cols-\[minmax\(350px\,1fr\)_minmax\(auto\,1fr\)\]{grid-template-columns:minmax(350px,1fr) minmax(auto,1fr)}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.grid-rows-\[1fr_1fr\]{grid-template-rows:1fr 1fr}.grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.grid-rows-\[auto_auto_1fr\]{grid-template-rows:auto auto 1fr}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-lg{border-radius:var(--radius-lg)}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-border{border-color:var(--border)}.bg-\[\#258DC3\]\/15{background-color:#258dc326}.bg-\[\#709A2D\]\/15{background-color:#709a2d26}.bg-\[\#2862FE\]\/20{background-color:#2862fe33}.bg-\[\#B9922D\]\/15{background-color:#b9922d26}.bg-\[\#DE2134\]\/15{background-color:#de213426}.bg-\[\#E221DF\]\/15{background-color:#e221df26}.bg-\[\#EAB71F\]{background-color:#eab71f}.bg-\[\#F8367D\]{background-color:#f8367d}.bg-accent{background-color:var(--accent)}.bg-card{background-color:var(--card)}.bg-muted-foreground\/10{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\/10{background-color:color-mix(in oklab,var(--muted-foreground)10%,transparent)}}.bg-muted\/30{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/30{background-color:color-mix(in oklab,var(--muted)30%,transparent)}}.bg-transparent{background-color:#0000}.fill-\[\#555\]{fill:#555}.p-0{padding:calc(var(--spacing)*0)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-9{padding-inline:calc(var(--spacing)*9)}.px-\[17px\]{padding-inline:17px}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-2{padding-top:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-\[36px\]{--tw-leading:36px;line-height:36px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#258DC3\]{color:#258dc3}.text-\[\#555\]{color:#555}.text-\[\#709A2D\]{color:#709a2d}.text-\[\#2862FE\]{color:#2862fe}.text-\[\#B9922D\]{color:#b9922d}.text-\[\#DE2134\]{color:#de2134}.text-\[\#E221DF\]{color:#e221df}.text-destructive{color:var(--destructive)}.text-green-400{color:var(--color-green-400)}.text-muted-foreground,.text-muted-foreground\/50{color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\/50{color:color-mix(in oklab,var(--muted-foreground)50%,transparent)}}.text-white{color:var(--color-white)}.text-yellow-700{color:var(--color-yellow-700)}.opacity-0{opacity:0}.opacity-100{opacity:1}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:bg-muted-foreground\/10:hover{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted-foreground\/10:hover{background-color:color-mix(in oklab,var(--muted-foreground)10%,transparent)}}.hover\:bg-muted\/40:hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/40:hover{background-color:color-mix(in oklab,var(--muted)40%,transparent)}}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}}.dark\:bg-\[\#EAB71F\]\/20:is(.dark *){background-color:#eab71f33}.dark\:bg-\[\#F8367D\]\/20:is(.dark *){background-color:#f8367d33}.dark\:bg-accent-200:is(.dark *){background-color:var(--accent-200)}.dark\:text-\[\#EAB71F\]:is(.dark *){color:#eab71f}.dark\:text-\[\#F8367D\]:is(.dark *){color:#f8367d}.dark\:text-primary:is(.dark *){color:var(--primary)}.dark\:text-yellow-500:is(.dark *){color:var(--color-yellow-500)}}:root{--default-font-family:"DM Sans",ui-sans-serif,sans-serif;--font-dm-mono:"DM Mono",ui-monospace,monospace;color-scheme:light dark;font-size:16px;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"),serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--accent-1000:#2862fe;--accent-970:#2862fef7;--accent-950:#2862fef2;--accent-900:#2862fee5;--accent-800:#2862fecc;--accent-700:#2862feb2;--accent-600:#2862fe99;--accent-500:#2862fe80;--accent-400:#2862fe66;--accent-300:#2862fe4d;--accent-200:#2862fe33;--accent-100:#2862fe1a;--accent-50:#2862fe0d;--accent-30:#2862fe08;--dark-1000:#0a0a0a;--dark-970:#0a0a0af7;--dark-950:#0a0a0af2;--dark-900:#0a0a0ae5;--dark-800:#0a0a0acc;--dark-700:#0a0a0ab2;--dark-600:#0a0a0a99;--dark-500:#0a0a0a80;--dark-400:#0a0a0a66;--dark-300:#0a0a0a4d;--dark-200:#0a0a0a33;--dark-100:#0a0a0a1a;--dark-50:#0a0a0a0d;--dark-30:#0a0a0a08;--light-1000:#fff;--light-970:#fffffff7;--light-950:#fffffff2;--light-900:#ffffffe5;--light-800:#fffc;--light-700:#ffffffb2;--light-600:#fff9;--light-500:#ffffff80;--light-400:#fff6;--light-300:#ffffff4d;--light-200:#fff3;--light-100:#ffffff1a;--light-50:#ffffff0d;--light-30:#ffffff08;--error:#d61355;--canvas-background:#ebebeb;--background:var(--light-1000);--foreground:var(--dark-1000);--surface-content:var(--dark-30);--surface-component:var(--dark-50);--surface-light-100:var(--dark-100);--surface-light-200:var(--dark-200);--border:var(--dark-100);--border-accent:var(--accent-1000);--states-hover:var(--dark-30);--states-selected:var(--dark-100);--states-active:var(--accent-1000);--text-header:var(--dark-1000);--text-body:var(--dark-600);--text-placeholder:var(--dark-400);--text-accent:var(--accent-1000);--text-error:var(--error);--icon-active:var(--dark-1000);--icon-light:var(--dark-600);--icon-component:var(--dark-400);--icon-accent:var(--accent-1000);--primary:var(--accent-1000);--primary-foreground:var(--light-1000);--secondary:var(--surface-component);--secondary-foreground:var(--text-body);--muted:var(--surface-light-100);--muted-foreground:var(--text-body);--accent:var(--accent-1000);--accent-foreground:var(--light-1000);--destructive:var(--error);--destructive-foreground:var(--light-1000);--card:var(--surface-content);--card-foreground:var(--foreground);--popover:var(--surface-content);--popover-foreground:var(--foreground);--input:var(--states-hover);--ring:var(--border-accent);--chart-1:var(--accent-1000);--chart-2:var(--accent-800);--chart-3:var(--accent-600);--chart-4:var(--accent-400);--chart-5:var(--accent-200);--header:var(--background);--header-foreground:var(--text-header);--header-primary:var(--primary);--header-primary-foreground:var(--primary-foreground);--header-accent:var(--surface-component);--header-accent-foreground:var(--text-body);--header-border:var(--border);--header-ring:var(--ring);--sidebar:var(--background);--sidebar-foreground:var(--text-header);--sidebar-primary:var(--primary);--sidebar-primary-foreground:var(--primary-foreground);--sidebar-accent:var(--surface-component);--sidebar-accent-foreground:var(--text-body);--sidebar-border:var(--border);--sidebar-ring:var(--ring);width:100%}.dark{--canvas-background:#030303;--background:var(--dark-1000);--foreground:var(--light-1000);--surface-content:var(--light-30);--surface-component:var(--light-50);--surface-light-100:var(--light-100);--surface-light-200:var(--light-200);--border:var(--light-100);--states-hover:var(--light-30);--states-selected:var(--light-100);--text-header:var(--light-1000);--text-body:var(--light-600);--text-placeholder:var(--light-400);--icon-active:var(--light-1000);--icon-light:var(--light-600);--icon-component:var(--light-400);--secondary-foreground:var(--light-600);--muted-foreground:var(--light-600);--card:var(--surface-content);--card-foreground:var(--foreground);--popover:var(--surface-content);--popover-foreground:var(--foreground);--input:var(--states-hover);--ring:var(--border-accent);--chart-1:var(--accent-1000);--chart-2:var(--accent-800);--chart-3:var(--accent-600);--chart-4:var(--accent-400);--chart-5:var(--accent-200);--header:var(--background);--header-foreground:var(--text-header);--header-primary:var(--primary);--header-primary-foreground:var(--primary-foreground);--header-accent:var(--surface-component);--header-accent-foreground:var(--text-body);--header-border:var(--border);--header-ring:var(--ring);--sidebar:var(--background);--sidebar-foreground:var(--text-header);--sidebar-primary:var(--primary);--sidebar-primary-foreground:var(--primary-foreground);--sidebar-accent:var(--surface-component);--sidebar-accent-foreground:var(--text-body);--sidebar-border:var(--border);--sidebar-ring:var(--ring)}.json-view{background-color:#0000!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}:is(.dark .json-view,.dark.json-view){color:#d1d1d1;--json-property: #009033;--json-index: #5d75f2;--json-number: #5d75f2;--json-string: #c57e29;--json-boolean: #e4407b;--json-null: #e4407b}:is(.dark .json-view_a11y,.dark.json-view_a11y){color:#d1d1d1;--json-property: #ffd700;--json-index: #00e0e0;--json-number: #00e0e0;--json-string: #abe338;--json-boolean: #ffa07a;--json-null: #ffa07a}:is(.dark .json-view_github,.dark.json-view_github){color:#79b8ff;--json-property: #79b8ff;--json-index: #79b8ff;--json-number: #79b8ff;--json-string: #9ecbff;--json-boolean: #79b8ff;--json-null: #79b8ff}:is(.dark .json-view_vscode,.dark.json-view_vscode){color:orchid;--json-property: #9cdcfe;--json-index: #b5cea8;--json-number: #b5cea8;--json-string: #ce9178;--json-boolean: #569cd6;--json-null: #569cd6}:is(.dark .json-view_atom,.dark.json-view_atom){color:#abb2bf;--json-property: #e06c75;--json-index: #d19a66;--json-number: #d19a66;--json-string: #98c379;--json-boolean: #56b6c2;--json-null: #56b6c2}:is(.dark .json-view_winter-is-coming,.dark.json-view_winter-is-coming){color:#a7dbf7;--json-property: #91dacd;--json-index: #8dec95;--json-number: #8dec95;--json-string: #e0aff5;--json-boolean: #f29fd8;--json-null: #f29fd8}.json-view{display:block;color:#4d4d4d;text-align:left;--json-property: #009033;--json-index: #676dff;--json-number: #676dff;--json-string: #b2762e;--json-boolean: #dc155e;--json-null: #dc155e}.json-view .json-view--property{color:var(--json-property)}.json-view .json-view--index{color:var(--json-index)}.json-view .json-view--number{color:var(--json-number)}.json-view .json-view--string{color:var(--json-string)}.json-view .json-view--boolean{color:var(--json-boolean)}.json-view .json-view--null{color:var(--json-null)}.json-view .jv-indent{padding-left:1em}.json-view .jv-chevron{display:inline-block;vertical-align:-20%;cursor:pointer;opacity:.4;width:1em;height:1em}:is(.json-view .jv-chevron:hover,.json-view .jv-size:hover+.jv-chevron){opacity:.8}.json-view .jv-size{cursor:pointer;opacity:.4;font-size:.875em;font-style:italic;margin-left:.5em;vertical-align:-5%;line-height:1}.json-view :is(.json-view--copy,.json-view--edit),.json-view .json-view--link svg{display:none;width:1em;height:1em;margin-left:.25em;cursor:pointer}.json-view .json-view--input{width:120px;margin-left:.25em;border-radius:4px;border:1px solid currentColor;padding:0 4px;font-size:87.5%;line-height:1.25;background:transparent}.json-view .json-view--deleting{outline:1px solid #da0000;background-color:#da000011;text-decoration-line:line-through}:is(.json-view:hover,.json-view--pair:hover)>:is(.json-view--copy,.json-view--edit),:is(.json-view:hover,.json-view--pair:hover)>.json-view--link svg{display:inline-block}.json-view .jv-button{background:transparent;outline:none;border:none;cursor:pointer;color:inherit}.json-view .cursor-pointer{cursor:pointer}.json-view svg{vertical-align:-10%}.jv-size-chevron~svg{vertical-align:-16%}.json-view_a11y{color:#545454;--json-property: #aa5d00;--json-index: #007299;--json-number: #007299;--json-string: #008000;--json-boolean: #d91e18;--json-null: #d91e18}.json-view_github{color:#005cc5;--json-property: #005cc5;--json-index: #005cc5;--json-number: #005cc5;--json-string: #032f62;--json-boolean: #005cc5;--json-null: #005cc5}.json-view_vscode{color:#005cc5;--json-property: #0451a5;--json-index: #0000ff;--json-number: #0000ff;--json-string: #a31515;--json-boolean: #0000ff;--json-null: #0000ff}.json-view_atom{color:#383a42;--json-property: #e45649;--json-index: #986801;--json-number: #986801;--json-string: #50a14f;--json-boolean: #0184bc;--json-null: #0184bc}.json-view_winter-is-coming{color:#0431fa;--json-property: #3a9685;--json-index: #ae408b;--json-number: #ae408b;--json-string: #8123a9;--json-boolean: #0184bc;--json-null: #0184bc}
|
|
1
|
+
/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-outline-style:solid;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-700:oklch(55.4% .135 66.442);--color-green-400:oklch(79.2% .209 151.711);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-weight-500:var(--font-weight-500);--font-weight-600:var(--font-weight-600);--font-weight-700:var(--font-weight-700)}}@layer base{*{border-color:var(--border)}body{background-color:var(--background);color:var(--foreground)}*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-1\/2{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-3{right:calc(var(--spacing)*3)}.bottom-0{bottom:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.isolate{isolation:isolate}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-2\.5{margin-top:calc(var(--spacing)*2.5)}.ml-\[7px\]{margin-left:7px}.box-border{box-sizing:border-box}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-8\.5{min-height:calc(var(--spacing)*8.5)}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-6{width:calc(var(--spacing)*6)}.w-full{width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-180{rotate:180deg}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.auto-rows-max{grid-auto-rows:max-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[1fr_1fr_auto\]{grid-template-columns:1fr 1fr auto}.grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.grid-cols-\[300px_1fr\]{grid-template-columns:300px 1fr}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[auto_1fr_auto\]{grid-template-columns:auto 1fr auto}.grid-cols-\[auto_auto\]{grid-template-columns:auto auto}.grid-cols-\[auto_minmax\(0\,1fr\)\]{grid-template-columns:auto minmax(0,1fr)}.grid-cols-\[minmax\(380px\,1fr\)_minmax\(auto\,1fr\)\]{grid-template-columns:minmax(380px,1fr) minmax(auto,1fr)}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.grid-rows-\[1fr_1fr\]{grid-template-rows:1fr 1fr}.grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.grid-rows-\[auto_auto_1fr\]{grid-template-rows:auto auto 1fr}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-lg{border-radius:var(--radius-lg)}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-border{border-color:var(--border)}.bg-\[\#258DC3\]\/15{background-color:#258dc326}.bg-\[\#709A2D\]\/15{background-color:#709a2d26}.bg-\[\#2862FE\]\/20{background-color:#2862fe33}.bg-\[\#B9922D\]\/15{background-color:#b9922d26}.bg-\[\#DE2134\]\/15{background-color:#de213426}.bg-\[\#E221DF\]\/15{background-color:#e221df26}.bg-\[\#EAB71F\]{background-color:#eab71f}.bg-\[\#F8367D\]{background-color:#f8367d}.bg-accent{background-color:var(--accent)}.bg-card{background-color:var(--card)}.bg-muted-foreground\/10{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.bg-muted-foreground\/10{background-color:color-mix(in oklab,var(--muted-foreground)10%,transparent)}}.bg-muted\/30{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/30{background-color:color-mix(in oklab,var(--muted)30%,transparent)}}.bg-transparent{background-color:#0000}.fill-\[\#555\]{fill:#555}.p-0{padding:calc(var(--spacing)*0)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-9{padding-inline:calc(var(--spacing)*9)}.px-\[17px\]{padding-inline:17px}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-2{padding-top:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-\[36px\]{--tw-leading:36px;line-height:36px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#258DC3\]{color:#258dc3}.text-\[\#555\]{color:#555}.text-\[\#709A2D\]{color:#709a2d}.text-\[\#2862FE\]{color:#2862fe}.text-\[\#B9922D\]{color:#b9922d}.text-\[\#DE2134\]{color:#de2134}.text-\[\#E221DF\]{color:#e221df}.text-destructive{color:var(--destructive)}.text-green-400{color:var(--color-green-400)}.text-muted-foreground,.text-muted-foreground\/50{color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\/50{color:color-mix(in oklab,var(--muted-foreground)50%,transparent)}}.text-white{color:var(--color-white)}.text-yellow-700{color:var(--color-yellow-700)}.opacity-0{opacity:0}.opacity-100{opacity:1}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:bg-muted-foreground\/10:hover{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted-foreground\/10:hover{background-color:color-mix(in oklab,var(--muted-foreground)10%,transparent)}}.hover\:bg-muted\/40:hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/40:hover{background-color:color-mix(in oklab,var(--muted)40%,transparent)}}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}}.dark\:bg-\[\#EAB71F\]\/20:is(.dark *){background-color:#eab71f33}.dark\:bg-\[\#F8367D\]\/20:is(.dark *){background-color:#f8367d33}.dark\:bg-accent-200:is(.dark *){background-color:var(--accent-200)}.dark\:text-\[\#EAB71F\]:is(.dark *){color:#eab71f}.dark\:text-\[\#F8367D\]:is(.dark *){color:#f8367d}.dark\:text-primary:is(.dark *){color:var(--primary)}.dark\:text-yellow-500:is(.dark *){color:var(--color-yellow-500)}}:root{--default-font-family:"DM Sans",ui-sans-serif,sans-serif;--font-dm-mono:"DM Mono",ui-monospace,monospace;color-scheme:light dark;font-size:16px;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"),serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--accent-1000:#2862fe;--accent-970:#2862fef7;--accent-950:#2862fef2;--accent-900:#2862fee5;--accent-800:#2862fecc;--accent-700:#2862feb2;--accent-600:#2862fe99;--accent-500:#2862fe80;--accent-400:#2862fe66;--accent-300:#2862fe4d;--accent-200:#2862fe33;--accent-100:#2862fe1a;--accent-50:#2862fe0d;--accent-30:#2862fe08;--dark-1000:#0a0a0a;--dark-970:#0a0a0af7;--dark-950:#0a0a0af2;--dark-900:#0a0a0ae5;--dark-800:#0a0a0acc;--dark-700:#0a0a0ab2;--dark-600:#0a0a0a99;--dark-500:#0a0a0a80;--dark-400:#0a0a0a66;--dark-300:#0a0a0a4d;--dark-200:#0a0a0a33;--dark-100:#0a0a0a1a;--dark-50:#0a0a0a0d;--dark-30:#0a0a0a08;--light-1000:#fff;--light-970:#fffffff7;--light-950:#fffffff2;--light-900:#ffffffe5;--light-800:#fffc;--light-700:#ffffffb2;--light-600:#fff9;--light-500:#ffffff80;--light-400:#fff6;--light-300:#ffffff4d;--light-200:#fff3;--light-100:#ffffff1a;--light-50:#ffffff0d;--light-30:#ffffff08;--error:#d61355;--canvas-background:#ebebeb;--background:var(--light-1000);--foreground:var(--dark-1000);--surface-content:var(--dark-30);--surface-component:var(--dark-50);--surface-light-100:var(--dark-100);--surface-light-200:var(--dark-200);--border:var(--dark-100);--border-accent:var(--accent-1000);--states-hover:var(--dark-30);--states-selected:var(--dark-100);--states-active:var(--accent-1000);--text-header:var(--dark-1000);--text-body:var(--dark-600);--text-placeholder:var(--dark-400);--text-accent:var(--accent-1000);--text-error:var(--error);--icon-active:var(--dark-1000);--icon-light:var(--dark-600);--icon-component:var(--dark-400);--icon-accent:var(--accent-1000);--primary:var(--accent-1000);--primary-foreground:var(--light-1000);--secondary:var(--surface-component);--secondary-foreground:var(--text-body);--muted:var(--surface-light-100);--muted-foreground:var(--text-body);--accent:var(--accent-1000);--accent-foreground:var(--light-1000);--destructive:var(--error);--destructive-foreground:var(--light-1000);--card:var(--surface-content);--card-foreground:var(--foreground);--popover:var(--surface-content);--popover-foreground:var(--foreground);--input:var(--states-hover);--ring:var(--border-accent);--chart-1:var(--accent-1000);--chart-2:var(--accent-800);--chart-3:var(--accent-600);--chart-4:var(--accent-400);--chart-5:var(--accent-200);--header:var(--background);--header-foreground:var(--text-header);--header-primary:var(--primary);--header-primary-foreground:var(--primary-foreground);--header-accent:var(--surface-component);--header-accent-foreground:var(--text-body);--header-border:var(--border);--header-ring:var(--ring);--sidebar:var(--background);--sidebar-foreground:var(--text-header);--sidebar-primary:var(--primary);--sidebar-primary-foreground:var(--primary-foreground);--sidebar-accent:var(--surface-component);--sidebar-accent-foreground:var(--text-body);--sidebar-border:var(--border);--sidebar-ring:var(--ring);width:100%}.dark{--canvas-background:#030303;--background:var(--dark-1000);--foreground:var(--light-1000);--surface-content:var(--light-30);--surface-component:var(--light-50);--surface-light-100:var(--light-100);--surface-light-200:var(--light-200);--border:var(--light-100);--states-hover:var(--light-30);--states-selected:var(--light-100);--text-header:var(--light-1000);--text-body:var(--light-600);--text-placeholder:var(--light-400);--icon-active:var(--light-1000);--icon-light:var(--light-600);--icon-component:var(--light-400);--secondary-foreground:var(--light-600);--muted-foreground:var(--light-600);--card:var(--surface-content);--card-foreground:var(--foreground);--popover:var(--surface-content);--popover-foreground:var(--foreground);--input:var(--states-hover);--ring:var(--border-accent);--chart-1:var(--accent-1000);--chart-2:var(--accent-800);--chart-3:var(--accent-600);--chart-4:var(--accent-400);--chart-5:var(--accent-200);--header:var(--background);--header-foreground:var(--text-header);--header-primary:var(--primary);--header-primary-foreground:var(--primary-foreground);--header-accent:var(--surface-component);--header-accent-foreground:var(--text-body);--header-border:var(--border);--header-ring:var(--ring);--sidebar:var(--background);--sidebar-foreground:var(--text-header);--sidebar-primary:var(--primary);--sidebar-primary-foreground:var(--primary-foreground);--sidebar-accent:var(--surface-component);--sidebar-accent-foreground:var(--text-body);--sidebar-border:var(--border);--sidebar-ring:var(--ring)}.json-view{background-color:#0000!important}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}:is(.dark .json-view,.dark.json-view){color:#d1d1d1;--json-property: #009033;--json-index: #5d75f2;--json-number: #5d75f2;--json-string: #c57e29;--json-boolean: #e4407b;--json-null: #e4407b}:is(.dark .json-view_a11y,.dark.json-view_a11y){color:#d1d1d1;--json-property: #ffd700;--json-index: #00e0e0;--json-number: #00e0e0;--json-string: #abe338;--json-boolean: #ffa07a;--json-null: #ffa07a}:is(.dark .json-view_github,.dark.json-view_github){color:#79b8ff;--json-property: #79b8ff;--json-index: #79b8ff;--json-number: #79b8ff;--json-string: #9ecbff;--json-boolean: #79b8ff;--json-null: #79b8ff}:is(.dark .json-view_vscode,.dark.json-view_vscode){color:orchid;--json-property: #9cdcfe;--json-index: #b5cea8;--json-number: #b5cea8;--json-string: #ce9178;--json-boolean: #569cd6;--json-null: #569cd6}:is(.dark .json-view_atom,.dark.json-view_atom){color:#abb2bf;--json-property: #e06c75;--json-index: #d19a66;--json-number: #d19a66;--json-string: #98c379;--json-boolean: #56b6c2;--json-null: #56b6c2}:is(.dark .json-view_winter-is-coming,.dark.json-view_winter-is-coming){color:#a7dbf7;--json-property: #91dacd;--json-index: #8dec95;--json-number: #8dec95;--json-string: #e0aff5;--json-boolean: #f29fd8;--json-null: #f29fd8}.json-view{display:block;color:#4d4d4d;text-align:left;--json-property: #009033;--json-index: #676dff;--json-number: #676dff;--json-string: #b2762e;--json-boolean: #dc155e;--json-null: #dc155e}.json-view .json-view--property{color:var(--json-property)}.json-view .json-view--index{color:var(--json-index)}.json-view .json-view--number{color:var(--json-number)}.json-view .json-view--string{color:var(--json-string)}.json-view .json-view--boolean{color:var(--json-boolean)}.json-view .json-view--null{color:var(--json-null)}.json-view .jv-indent{padding-left:1em}.json-view .jv-chevron{display:inline-block;vertical-align:-20%;cursor:pointer;opacity:.4;width:1em;height:1em}:is(.json-view .jv-chevron:hover,.json-view .jv-size:hover+.jv-chevron){opacity:.8}.json-view .jv-size{cursor:pointer;opacity:.4;font-size:.875em;font-style:italic;margin-left:.5em;vertical-align:-5%;line-height:1}.json-view :is(.json-view--copy,.json-view--edit),.json-view .json-view--link svg{display:none;width:1em;height:1em;margin-left:.25em;cursor:pointer}.json-view .json-view--input{width:120px;margin-left:.25em;border-radius:4px;border:1px solid currentColor;padding:0 4px;font-size:87.5%;line-height:1.25;background:transparent}.json-view .json-view--deleting{outline:1px solid #da0000;background-color:#da000011;text-decoration-line:line-through}:is(.json-view:hover,.json-view--pair:hover)>:is(.json-view--copy,.json-view--edit),:is(.json-view:hover,.json-view--pair:hover)>.json-view--link svg{display:inline-block}.json-view .jv-button{background:transparent;outline:none;border:none;cursor:pointer;color:inherit}.json-view .cursor-pointer{cursor:pointer}.json-view svg{vertical-align:-10%}.jv-size-chevron~svg{vertical-align:-16%}.json-view_a11y{color:#545454;--json-property: #aa5d00;--json-index: #007299;--json-number: #007299;--json-string: #008000;--json-boolean: #d91e18;--json-null: #d91e18}.json-view_github{color:#005cc5;--json-property: #005cc5;--json-index: #005cc5;--json-number: #005cc5;--json-string: #032f62;--json-boolean: #005cc5;--json-null: #005cc5}.json-view_vscode{color:#005cc5;--json-property: #0451a5;--json-index: #0000ff;--json-number: #0000ff;--json-string: #a31515;--json-boolean: #0000ff;--json-null: #0000ff}.json-view_atom{color:#383a42;--json-property: #e45649;--json-index: #986801;--json-number: #986801;--json-string: #50a14f;--json-boolean: #0184bc;--json-null: #0184bc}.json-view_winter-is-coming{color:#0431fa;--json-property: #3a9685;--json-index: #ae408b;--json-number: #ae408b;--json-string: #8123a9;--json-boolean: #0184bc;--json-null: #0184bc}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@motiadev/plugin-endpoint",
|
|
3
|
-
"version": "0.9.4-beta.151-
|
|
3
|
+
"version": "0.9.4-beta.151-182295",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"zustand": "^5.0.8"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@motiadev/
|
|
35
|
-
"@motiadev/
|
|
36
|
-
"@motiadev/
|
|
34
|
+
"@motiadev/core": "0.9.4-beta.151-182295",
|
|
35
|
+
"@motiadev/ui": "0.9.4-beta.151-182295",
|
|
36
|
+
"@motiadev/stream-client-react": "0.9.4-beta.151-182295"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@tailwindcss/vite": "^4.1.14",
|