@alwith/module-chat 0.5.25 → 0.5.26
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/assets/catalogs/alwith/models.json +1 -4
- package/assets/catalogs/custom/models.json +16 -61
- package/assets/catalogs/custom/sources.json +16 -74
- package/assets/catalogs/deepseek/models.json +2 -7
- package/assets/catalogs/openrouter/models.json +6 -22
- package/assets/catalogs/qwen/models.json +5 -19
- package/assets/catalogs/xai/models.json +3 -12
- package/dist/approval/choice-elicitation-form.js +1 -1
- package/dist/approval/url-elicitation-card.js +1 -1
- package/dist/chunk-04kcmpnb.js +2 -0
- package/dist/{chunk-0kvfbr22.js → chunk-13yrk1nh.js} +1 -1
- package/dist/{chunk-7e1wvb6e.js → chunk-1dbc0cfj.js} +1 -1
- package/dist/{chunk-0kb39fpp.js → chunk-2qgz3m2a.js} +1 -1
- package/dist/{chunk-pncx4r2c.js → chunk-2x9mxyxr.js} +1 -1
- package/dist/chunk-3f3y9t21.js +2 -0
- package/dist/{chunk-g93wzhsv.js → chunk-3mfdf7f8.js} +1 -1
- package/dist/{chunk-517bhxvr.js → chunk-3xh0e0ya.js} +1 -1
- package/dist/{chunk-9n2vrkkh.js → chunk-6t98jn94.js} +1 -1
- package/dist/{chunk-f50rww1k.js → chunk-708232f3.js} +1 -1
- package/dist/{chunk-2gg3gcmb.js → chunk-730x182s.js} +1 -1
- package/dist/{chunk-pyznxtyg.js → chunk-7appp9ad.js} +1 -1
- package/dist/{chunk-6wmdpam5.js → chunk-81paw5rb.js} +1 -1
- package/dist/{chunk-9183jr6z.js → chunk-9geb2z3g.js} +2 -2
- package/dist/{chunk-8e5ytb0f.js → chunk-a3tbf7mx.js} +1 -1
- package/dist/{chunk-hq06m42h.js → chunk-a90z5e8w.js} +1 -1
- package/dist/{chunk-ps722b9k.js → chunk-ab0err7k.js} +1 -1
- package/dist/{chunk-96tcqne6.js → chunk-b1rvs016.js} +1 -1
- package/dist/{chunk-n7qcezk8.js → chunk-b6nbarjg.js} +1 -1
- package/dist/{chunk-3k33zp9m.js → chunk-b7z51agd.js} +1 -1
- package/dist/{chunk-b12v22de.js → chunk-btdrvsgy.js} +1 -1
- package/dist/{chunk-ewvb59ye.js → chunk-ch5v5zsw.js} +1 -1
- package/dist/{chunk-tdn5g8xd.js → chunk-d3j5904d.js} +1 -1
- package/dist/{chunk-5r081sme.js → chunk-dwn6bx69.js} +1 -1
- package/dist/{chunk-9zth7avc.js → chunk-e7j7mnmz.js} +1 -1
- package/dist/{chunk-3fm507f7.js → chunk-epq42kf9.js} +1 -1
- package/dist/{chunk-e24jv7zb.js → chunk-fbq107z8.js} +1 -1
- package/dist/{chunk-jamq0frz.js → chunk-gjvpthp9.js} +1 -1
- package/dist/{chunk-gnwa39me.js → chunk-h1f8wgyb.js} +1 -1
- package/dist/{chunk-syhh17rh.js → chunk-hf3t1bxh.js} +1 -1
- package/dist/{chunk-rb0cqdjg.js → chunk-hk66xnxp.js} +1 -1
- package/dist/{chunk-p0s2pg33.js → chunk-hsp0skqs.js} +1 -1
- package/dist/{chunk-kbbq3y2j.js → chunk-htzd730z.js} +1 -1
- package/dist/{chunk-3v3bd582.js → chunk-j2y4wx1h.js} +1 -1
- package/dist/{chunk-pf5655kt.js → chunk-jkbss7sb.js} +1 -1
- package/dist/{chunk-dv4d6mrb.js → chunk-jnc6b9r3.js} +1 -1
- package/dist/{chunk-dx745syv.js → chunk-mahpnk66.js} +1 -1
- package/dist/{chunk-4hwtb6yn.js → chunk-mzpdh336.js} +1 -1
- package/dist/{chunk-1fxadr5w.js → chunk-n432m43g.js} +1 -1
- package/dist/{chunk-9jep8zjg.js → chunk-nh0s0y35.js} +1 -1
- package/dist/{chunk-r4vfytjv.js → chunk-nv3z0brr.js} +1 -1
- package/dist/{chunk-1fr9rhkn.js → chunk-pp2qkwk7.js} +1 -1
- package/dist/{chunk-hswtp9wv.js → chunk-pqphdgp6.js} +1 -1
- package/dist/chunk-pzmeeawh.js +2 -0
- package/dist/chunk-rnrs0cqn.js +2 -0
- package/dist/{chunk-r1as1cra.js → chunk-rp39j6ed.js} +1 -1
- package/dist/{chunk-n5dkkw01.js → chunk-rvh3nbvm.js} +1 -1
- package/dist/chunk-sjg8df4m.js +2 -0
- package/dist/{chunk-b9y436vs.js → chunk-t2z4venp.js} +1 -1
- package/dist/{chunk-kwp1fere.js → chunk-tpwdaz8k.js} +1 -1
- package/dist/{chunk-zp8rq8nh.js → chunk-wgta9nfd.js} +1 -1
- package/dist/chunk-x5swmb1j.js +2 -0
- package/dist/chunk-y1mqx60y.js +2 -0
- package/dist/collections/collection-emoji.js +1 -1
- package/dist/collections/collection-menu.js +1 -1
- package/dist/collections/collection-panel.js +1 -1
- package/dist/collections/collections.js +1 -1
- package/dist/collections/host.js +1 -1
- package/dist/composer/menu-radio.js +1 -1
- package/dist/composer/model-select.d.ts +1 -1
- package/dist/composer/model-select.js +1 -1
- package/dist/composer/permission-mode-select.js +1 -1
- package/dist/composer/prompt-input-attachments.js +1 -1
- package/dist/composer/prompt-input.d.ts +1 -1
- package/dist/composer/prompt-input.js +1 -1
- package/dist/conversation/action-card.js +1 -1
- package/dist/conversation/composer/composer.js +1 -1
- package/dist/conversation/composer/mention-chips.js +1 -1
- package/dist/conversation/composer/model-menu.js +1 -1
- package/dist/conversation/composer/pasted-text-attachment.js +1 -1
- package/dist/conversation/composer/permission-mode-menu.js +1 -1
- package/dist/conversation/composer/slash-command-button.js +1 -1
- package/dist/conversation/composer/submit-button.js +1 -1
- package/dist/conversation/conversation-body.js +1 -1
- package/dist/conversation/conversation-search.js +1 -1
- package/dist/conversation/conversation-view.js +1 -1
- package/dist/conversation/conversation.js +1 -1
- package/dist/conversation/session-actions.js +1 -1
- package/dist/conversation/subagent-sessions.js +1 -1
- package/dist/image-preview-dialog.js +1 -1
- package/dist/plugins/catalog-skeleton.js +1 -1
- package/dist/plugins/panel-item.js +1 -1
- package/dist/plugins/plugin-detail-page.js +1 -1
- package/dist/plugins/plugins-page.js +1 -1
- package/dist/plugins/plugins.js +1 -1
- package/dist/plugins/skill-document.js +1 -1
- package/dist/plugins/skills-tab.js +1 -1
- package/dist/search/chat-search.js +1 -1
- package/dist/search/find-bar.js +1 -1
- package/dist/session-list/account-menu.js +1 -1
- package/dist/session-list/activity-list.js +1 -1
- package/dist/session-list/archived-sessions.js +1 -1
- package/dist/session-list/help-menu.js +1 -1
- package/dist/session-list/host.js +1 -1
- package/dist/session-list/navigation-store.js +1 -1
- package/dist/session-list/navigation-tabs.js +1 -1
- package/dist/session-list/row-stop-button.js +1 -1
- package/dist/session-list/session-info-card.js +1 -1
- package/dist/session-list/session-list.js +1 -1
- package/dist/session-list/session-row.js +1 -1
- package/dist/session-list/use-activity-notification.js +1 -1
- package/dist/session-list/use-activity-preview.js +1 -1
- package/dist/session-list/use-project-sessions.js +1 -1
- package/dist/session-timeline/activity-group.js +1 -1
- package/dist/session-timeline/assistant-content.js +1 -1
- package/dist/session-timeline/assistant-turn.js +1 -1
- package/dist/session-timeline/async-questions.js +1 -1
- package/dist/session-timeline/resource-content.js +1 -1
- package/dist/session-timeline/session-timeline.js +1 -1
- package/dist/session-timeline/turn-error.js +1 -1
- package/dist/session-timeline/user-message.js +1 -1
- package/dist/settings/codex-account-card.js +1 -1
- package/dist/settings/login-card.js +1 -1
- package/dist/settings/model-alias-settings.js +1 -1
- package/dist/settings/provider-section.js +1 -1
- package/dist/settings/settings.js +1 -1
- package/package.json +3 -3
- package/rust/permissions/schemas/schema.json +11 -40
- package/dist/chunk-2hzdkgrk.js +0 -2
- package/dist/chunk-33tyec6w.js +0 -2
- package/dist/chunk-e5twctz7.js +0 -2
- package/dist/chunk-k727wnh1.js +0 -2
- package/dist/chunk-pw1pws10.js +0 -2
- package/dist/chunk-qjrgbqhy.js +0 -2
- package/dist/chunk-yyba5e1c.js +0 -2
- /package/dist/{chunk-7p80b5jc.js → chunk-3jwbx8ch.js} +0 -0
- /package/dist/{chunk-kz8zf6y0.js → chunk-a15vdarc.js} +0 -0
- /package/dist/{chunk-z18fvy7d.js → chunk-kpp4v1hs.js} +0 -0
- /package/dist/{chunk-bg0cf6kz.js → chunk-nn72eqzh.js} +0 -0
|
@@ -45,19 +45,13 @@
|
|
|
45
45
|
"properties": {
|
|
46
46
|
"version": {
|
|
47
47
|
"description": "The version of the permission.",
|
|
48
|
-
"type": [
|
|
49
|
-
"integer",
|
|
50
|
-
"null"
|
|
51
|
-
],
|
|
48
|
+
"type": ["integer", "null"],
|
|
52
49
|
"format": "uint64",
|
|
53
50
|
"minimum": 1
|
|
54
51
|
},
|
|
55
52
|
"description": {
|
|
56
53
|
"description": "Human-readable description of what the permission does.\nTauri convention is to use `<h4>` headings in markdown content\nfor Tauri documentation generation purposes.",
|
|
57
|
-
"type": [
|
|
58
|
-
"string",
|
|
59
|
-
"null"
|
|
60
|
-
]
|
|
54
|
+
"type": ["string", "null"]
|
|
61
55
|
},
|
|
62
56
|
"permissions": {
|
|
63
57
|
"description": "All permissions this set contains.",
|
|
@@ -67,9 +61,7 @@
|
|
|
67
61
|
}
|
|
68
62
|
}
|
|
69
63
|
},
|
|
70
|
-
"required": [
|
|
71
|
-
"permissions"
|
|
72
|
-
]
|
|
64
|
+
"required": ["permissions"]
|
|
73
65
|
},
|
|
74
66
|
"PermissionSet": {
|
|
75
67
|
"description": "A set of direct permissions grouped together under a new name.",
|
|
@@ -91,11 +83,7 @@
|
|
|
91
83
|
}
|
|
92
84
|
}
|
|
93
85
|
},
|
|
94
|
-
"required": [
|
|
95
|
-
"identifier",
|
|
96
|
-
"description",
|
|
97
|
-
"permissions"
|
|
98
|
-
]
|
|
86
|
+
"required": ["identifier", "description", "permissions"]
|
|
99
87
|
},
|
|
100
88
|
"Permission": {
|
|
101
89
|
"description": "Descriptions of explicit privileges of commands.\n\nIt can enable commands to be accessible in the frontend of the application.\n\nIf the scope is defined it can be used to fine grain control the access of individual or multiple commands.",
|
|
@@ -103,10 +91,7 @@
|
|
|
103
91
|
"properties": {
|
|
104
92
|
"version": {
|
|
105
93
|
"description": "The version of the permission.",
|
|
106
|
-
"type": [
|
|
107
|
-
"integer",
|
|
108
|
-
"null"
|
|
109
|
-
],
|
|
94
|
+
"type": ["integer", "null"],
|
|
110
95
|
"format": "uint64",
|
|
111
96
|
"minimum": 1
|
|
112
97
|
},
|
|
@@ -116,10 +101,7 @@
|
|
|
116
101
|
},
|
|
117
102
|
"description": {
|
|
118
103
|
"description": "Human-readable description of what the permission does.\nTauri internal convention is to use `<h4>` headings in markdown content\nfor Tauri documentation generation purposes.",
|
|
119
|
-
"type": [
|
|
120
|
-
"string",
|
|
121
|
-
"null"
|
|
122
|
-
]
|
|
104
|
+
"type": ["string", "null"]
|
|
123
105
|
},
|
|
124
106
|
"commands": {
|
|
125
107
|
"description": "Allowed or denied commands when using this permission.",
|
|
@@ -143,18 +125,13 @@
|
|
|
143
125
|
},
|
|
144
126
|
"platforms": {
|
|
145
127
|
"description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
|
|
146
|
-
"type": [
|
|
147
|
-
"array",
|
|
148
|
-
"null"
|
|
149
|
-
],
|
|
128
|
+
"type": ["array", "null"],
|
|
150
129
|
"items": {
|
|
151
130
|
"$ref": "#/definitions/Target"
|
|
152
131
|
}
|
|
153
132
|
}
|
|
154
133
|
},
|
|
155
|
-
"required": [
|
|
156
|
-
"identifier"
|
|
157
|
-
]
|
|
134
|
+
"required": ["identifier"]
|
|
158
135
|
},
|
|
159
136
|
"Commands": {
|
|
160
137
|
"description": "Allowed and denied commands inside a permission.\n\nIf two commands clash inside of `allow` and `deny`, it should be denied by default.",
|
|
@@ -184,20 +161,14 @@
|
|
|
184
161
|
"properties": {
|
|
185
162
|
"allow": {
|
|
186
163
|
"description": "Data that defines what is allowed by the scope.",
|
|
187
|
-
"type": [
|
|
188
|
-
"array",
|
|
189
|
-
"null"
|
|
190
|
-
],
|
|
164
|
+
"type": ["array", "null"],
|
|
191
165
|
"items": {
|
|
192
166
|
"$ref": "#/definitions/Value"
|
|
193
167
|
}
|
|
194
168
|
},
|
|
195
169
|
"deny": {
|
|
196
170
|
"description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
|
|
197
|
-
"type": [
|
|
198
|
-
"array",
|
|
199
|
-
"null"
|
|
200
|
-
],
|
|
171
|
+
"type": ["array", "null"],
|
|
201
172
|
"items": {
|
|
202
173
|
"$ref": "#/definitions/Value"
|
|
203
174
|
}
|
|
@@ -289,4 +260,4 @@
|
|
|
289
260
|
]
|
|
290
261
|
}
|
|
291
262
|
}
|
|
292
|
-
}
|
|
263
|
+
}
|
package/dist/chunk-2hzdkgrk.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{We}from"./chunk-7a668qzy.js";import{ne,To}from"./chunk-5r081sme.js";import{t}from"./chunk-zyvvk8b2.js";import{Kbd as d}from"@nyssance/shadcn/vega/components/ui/kbd";import{Tooltip as b,TooltipContent as f,TooltipTrigger as h}from"@nyssance/shadcn/vega/components/ui/tooltip";import{cn as I}from"cn";import{SquareIcon as T}from"lucide-react";import{jsx as o,jsxs as n,Fragment as P}from"react/jsx-runtime";var v=typeof navigator<"u"&&/Mac|iPhone|iPad/.test(navigator.platform);function bo({active:a,sending:r,ready:p,hasMentions:m=!1,onStop:c}){let{t:e}=t(),s=We(),u=m||s.textInput.value.trim().length>0||s.attachments.files.length>0,l=!p||r||!u,i=a?e("composer.steer"):e("composer.send");return n(P,{children:[a&&o(ne,{"aria-label":e("composer.stop"),title:e("composer.stop"),className:"border-border size-7 rounded-full border",onClick:c,children:o(T,{className:"size-3 fill-current"})}),o("div",{className:I(l&&"cursor-not-allowed"),children:n(b,{children:[o(h,{render:o(To,{"aria-label":i,disabled:l,"aria-busy":r,status:r?"submitted":"ready"})}),n(f,{role:"tooltip",children:[o("span",{className:"min-w-0",children:i}),o(d,{className:"shrink-0",children:v?"↩":"Enter"})]})]})})]})}
|
|
2
|
-
export{bo};
|
package/dist/chunk-33tyec6w.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Button as i}from"@nyssance/shadcn/vega/components/ui/button";import{Input as v}from"@nyssance/shadcn/vega/components/ui/input";import{cn as h}from"cn";import{ChevronDownIcon as g,ChevronUpIcon as b,XIcon as z}from"lucide-react";import{useEffect as B,useImperativeHandle as N,useRef as E}from"react";import{jsx as t,jsxs as k}from"react/jsx-runtime";function Ri({ref:f,value:r,onChange:p,onFind:o,onClose:s,placeholder:d,autoFocusOpen:a=!0,prevTitle:l,nextTitle:c,className:m}){let n=E(null);N(f,()=>{if(n.current===null)throw Error("FindBar input is not mounted");return n.current},[]),B(()=>{if(!a)return;let e=n.current;if(e===null)throw Error("FindBar input is not mounted");e.focus({preventScroll:!0}),e.select()},[a]);let u=!r;return k("div",{className:h("border-border flex h-9 shrink-0 items-center gap-1 border-b px-2",m),children:[t(v,{ref:n,value:r,onChange:(e)=>p(e.target.value),placeholder:d,className:"h-7 text-xs",onKeyDown:(e)=>{if(e.key==="Escape"){e.preventDefault(),s();return}if(e.key==="Enter"){if(e.preventDefault(),r)o(e.shiftKey)}}}),t(i,{size:"icon",variant:"ghost",className:"size-6",disabled:u,onClick:()=>o(!0),title:l?`${l} (⇧↵)`:"⇧↵",children:t(b,{className:"size-3.5"})}),t(i,{size:"icon",variant:"ghost",className:"size-6",disabled:u,onClick:()=>o(!1),title:c?`${c} (↵)`:"↵",children:t(g,{className:"size-3.5"})}),t(i,{size:"icon",variant:"ghost",className:"size-6",onClick:s,title:"Esc",children:t(z,{className:"size-3.5"})})]})}
|
|
2
|
-
export{Ri};
|
package/dist/chunk-e5twctz7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t}from"./chunk-zyvvk8b2.js";import{jt}from"./chunk-04xjj6q3.js";import{Badge as i}from"@nyssance/shadcn/vega/components/ui/badge";import{Button as m}from"@nyssance/shadcn/vega/components/ui/button";import{FileIcon as r,XIcon as l}from"lucide-react";import{jsx as o,jsxs as c}from"react/jsx-runtime";function Fo({mentions:a,onRemove:n}){let{t:s}=t();if(a.length===0)return null;return o("div",{className:"mb-1.5 flex flex-wrap items-center gap-1.5",children:a.map((e)=>c(i,{variant:"secondary",className:"gap-1 pe-0.5",title:e,children:[o(r,{className:"size-3"}),o("span",{className:"max-w-40 truncate",children:jt(e)}),o(m,{type:"button",variant:"ghost",size:"icon-xs",className:"size-4","aria-label":s("composer.removeMention",{name:jt(e)}),onClick:()=>n(e),children:o(l,{className:"size-3"})})]},e))})}
|
|
2
|
-
export{Fo};
|
package/dist/chunk-k727wnh1.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{s}from"./chunk-pw1pws10.js";import{It}from"./chunk-667z0pac.js";import{P}from"./chunk-42atrgm1.js";import{Mt,he}from"./chunk-py0zbgaj.js";import{Input as x}from"@nyssance/shadcn/vega/components/ui/input";import{Separator as H}from"@nyssance/shadcn/vega/components/ui/separator";import{formatDistanceToNowStrict as L}from"date-fns";import{enUS as z,zhCN as E}from"date-fns/locale";import{ClockIcon as A,MessageSquareIcon as D}from"lucide-react";import{useEffect as g,useState as w}from"react";import{jsx as o,jsxs as h,Fragment as M}from"react/jsx-runtime";var S={en:z,"zh-CN":E};function Ve(t,a){let r=a==="zh-CN"?S["zh-CN"]:S.en;return L(new Date(t),{locale:r})}function ue({sessionRow:t,actions:a,shortcut:r,renaming:n=!1,onRename:m}){let{t:i,i18n:C,PathAction:u}=s(),f=he(),y=Mt();g(()=>{f(n)},[n,f]);let[I,p]=w(t.title??"");g(()=>{if(n)p(t.title??"")},[n,t.title]);let d=(e)=>{let c=e.trim();m?.(c!==""&&c!==t.title?c:null)},N=t.archived?i("sessionList.archived"):t.updatedAt!==null?Ve(t.updatedAt,C.language):null,v=[];if(N!==null)v.push({icon:o(A,{className:"size-3.5"}),text:N});let l=u&&o(u,{cwd:t.cwd,onOpened:y});return o(It,{title:n?o(x,{autoFocus:!0,value:I,className:"h-7 text-sm","aria-label":i("sessionList.rename"),onChange:(e)=>p(e.target.value),onKeyDown:(e)=>{if(e.stopPropagation(),e.key==="Enter")d(e.target.value);if(e.key==="Escape")m?.(null)},onBlur:(e)=>d(e.target.value)}):h("span",{className:"flex items-center gap-2",children:[o("span",{className:"min-w-0",children:o(P,{className:"min-w-0 flex-1",children:t.title??i("sessionList.untitled")})}),r]}),titleIcon:o(D,{className:"size-3.5"}),details:v,actions:l||a!==void 0?h(M,{children:[l,l&&a!==void 0&&o(H,{}),a]}):void 0})}
|
|
2
|
-
export{Ve,ue};
|
package/dist/chunk-pw1pws10.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C}from"./chunk-heyqzkxq.js";import{Button as g}from"@nyssance/shadcn/vega/components/ui/button";import{Dialog as D,DialogContent as L,DialogDescription as y,DialogFooter as h,DialogHeader as w,DialogTitle as P}from"@nyssance/shadcn/vega/components/ui/dialog";import{createContext as S,useContext as p,useState as H,useSyncExternalStore as R}from"react";import{jsx as i,jsxs as c}from"react/jsx-runtime";var m=S(null),v=S(null),f=S(null);function xr({host:e,client:t,children:n}){let[l,a]=H(null);C(l!==null);let{t:d}=e;return i(m,{value:e,children:i(v,{value:t,children:c(f,{value:a,children:[n,i(D,{open:l!==null,onOpenChange:(x)=>!x&&a(null),children:c(L,{children:[c(w,{children:[i(P,{children:d("sessionList.deleteTitle")}),i(y,{children:d("sessionList.deleteDescription")})]}),c(h,{children:[i(g,{variant:"outline",onClick:()=>a(null),children:d("sessionList.cancel")}),i(g,{onClick:()=>{if(l)u(e,t.delete(l.sessionId));a(null)},children:d("sessionList.delete")})]})]})})]})})})}function s(){let e=p(m);if(e===null)throw Error("Session list host is missing");return e}function io(){return p(m)}function r(){let e=p(v);if(e===null)throw Error("Session list client is missing");return e}function At(){let e=p(f);if(e===null)throw Error("Session list provider is missing");return e}function o(e){let t=r();return R((n)=>t.store.subscribe(n),()=>e(t.store.getState()),()=>e(t.store.getState()))}function u(e,t){return t.then(()=>{},(n)=>{if(e.reportError)e.reportError(n);else console.error(n)})}
|
|
2
|
-
export{xr,s,io,r,At,o,u};
|
package/dist/chunk-qjrgbqhy.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Button as n}from"@nyssance/shadcn/vega/components/ui/button";import{Card as d,CardContent as c,CardDescription as s,CardFooter as p,CardHeader as C,CardTitle as m}from"@nyssance/shadcn/vega/components/ui/card";import{ExternalLinkIcon as v}from"lucide-react";import{jsx as a,jsxs as e}from"react/jsx-runtime";function Oo({message:r,url:t,t:i,onOpen:l,onRespond:o}){return e(d,{size:"sm",children:[e(C,{children:[a(s,{children:i("approval.needed")}),a(m,{children:r})]}),a(c,{children:e("div",{className:"flex flex-col gap-3",children:[e(n,{variant:"outline",size:"sm",className:"w-fit",onClick:()=>void l(t),children:[a(v,{"data-icon":"inline-start"}),i("approval.openLink")]}),a("p",{className:"text-muted-foreground text-sm",children:i("approval.waitingForLink")})]})}),e(p,{className:"flex flex-wrap gap-2",children:[a(n,{variant:"outline",size:"sm",onClick:()=>o("decline"),children:i("actions.decline")}),a(n,{variant:"ghost",size:"sm",onClick:()=>o("cancel"),children:i("actions.cancel")})]})]})}
|
|
2
|
-
export{Oo};
|
package/dist/chunk-yyba5e1c.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Button as l}from"@nyssance/shadcn/vega/components/ui/button";import{Spinner as u}from"@nyssance/shadcn/vega/components/ui/spinner";import{SquareIcon as c}from"lucide-react";import{useRef as f,useState as p}from"react";import{jsx as r}from"react/jsx-runtime";function ge({title:t,onStop:i}){let[o,a]=p(!1),e=f(!1),s=async()=>{if(e.current)return;e.current=!0,a(!0);try{await i()}finally{e.current=!1,a(!1)}};return r(l,{variant:"ghost",size:"icon",className:"size-5",title:t,"aria-label":t,"aria-busy":o,disabled:o,onKeyDown:(n)=>n.stopPropagation(),onClick:(n)=>{n.stopPropagation(),s()},children:o?r(u,{className:"size-3","aria-label":t}):r(c,{className:"size-3 fill-current"})})}
|
|
2
|
-
export{ge};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|