@jant/core 1.0.1 → 1.1.0

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.
Files changed (58) hide show
  1. package/dist/{app-Gt7_skt6.js → app-CKQ9PqAr.js} +791 -89
  2. package/dist/client/.vite/manifest.json +115 -75
  3. package/dist/client/_assets/chunks/{confirm-D7GrwsCN.js → confirm-CMe01lne.js} +1 -1
  4. package/dist/client/_assets/chunks/{create-editor-5Y49x7h5.js → create-editor-BQkrw8Ax.js} +4 -4
  5. package/dist/client/_assets/chunks/footnote-rail-B08scyhW.js +2 -0
  6. package/dist/client/_assets/chunks/{jant-locale-picker-DL6mIOT5.js → jant-locale-picker-2L4rkDaz.js} +1 -1
  7. package/dist/client/_assets/chunks/lit-Bw_voPoW.js +2 -0
  8. package/dist/client/_assets/chunks/preload-helper-Czpn1I53.js +1 -0
  9. package/dist/client/_assets/chunks/runtime-paths-y0_gHowM.js +1 -0
  10. package/dist/client/_assets/chunks/{settings-paths-h6RjIe3C.js → settings-paths-B0bNUaih.js} +1 -1
  11. package/dist/client/_assets/chunks/slug-format-CYmQE5ln.js +1 -0
  12. package/dist/client/_assets/chunks/{sortable-list-DWNKv782.js → sortable-list-t11Ma1Ek.js} +1 -1
  13. package/dist/client/_assets/chunks/{unsafe-html-B5ZEXaxg.js → unsafe-html-CWos3v6N.js} +1 -1
  14. package/dist/client/_assets/chunks/unsafe-svg-DZl-yjas.js +1 -0
  15. package/dist/client/_assets/client-B0-s9sqx.css +2 -0
  16. package/dist/client/_assets/client-Dp46QSht.js +354 -0
  17. package/dist/client/_assets/client-auth-CG55rWb5.js +859 -0
  18. package/dist/client/_assets/{client-compose-oxzPb3SS.js → client-compose-DkUTuavR.js} +261 -261
  19. package/dist/client/_assets/{client-manage-C1eDB1Rc.js → client-manage-DnYdQAhf.js} +176 -176
  20. package/dist/client/_assets/{client-settings-DIM44Zqh.js → client-settings-CHgsIqXJ.js} +166 -166
  21. package/dist/client/_assets/client-share-0DICJjAc.css +1 -0
  22. package/dist/client/_assets/client-share-C59mOLJ1.js +149 -0
  23. package/dist/index.js +1 -1
  24. package/dist/node.js +2 -2
  25. package/package.json +2 -1
  26. package/src/client/components/jant-post-menu.ts +80 -13
  27. package/src/client/components/jant-share-dialog.ts +422 -0
  28. package/src/client/components/jant-share-menu.ts +188 -0
  29. package/src/client/lazy-entries.ts +21 -1
  30. package/src/client/post-menu-shared.ts +100 -0
  31. package/src/client/share-capture.ts +443 -0
  32. package/src/client/share-launch.ts +133 -0
  33. package/src/client-share.ts +8 -0
  34. package/src/client.ts +1 -0
  35. package/src/lib/discover.ts +31 -0
  36. package/src/lib/share-card.ts +653 -0
  37. package/src/lib/version.ts +2 -0
  38. package/src/routes/auth/setup.tsx +37 -1
  39. package/src/routes/pages/partials.tsx +23 -0
  40. package/src/style-share.css +16 -0
  41. package/src/styles/components.css +14 -0
  42. package/src/styles/share.css +1103 -0
  43. package/src/styles/ui.css +6 -0
  44. package/src/ui/layouts/BaseLayout.tsx +7 -0
  45. package/src/ui/layouts/SiteLayout.tsx +1 -0
  46. package/src/ui/share/ShareCard.tsx +298 -0
  47. package/src/ui/shared/Icon.tsx +23 -3
  48. package/src/ui/shared/MediaGallery.tsx +12 -1
  49. package/src/ui/shared/PostFooter.tsx +20 -4
  50. package/src/ui/shared/icon-collector.ts +28 -0
  51. package/src/ui/shared/post-article-attributes.ts +3 -0
  52. package/dist/client/_assets/chunks/footnote-rail-BJwswtVQ.js +0 -1
  53. package/dist/client/_assets/chunks/lit-DW8VmJAT.js +0 -2
  54. package/dist/client/_assets/chunks/slug-format-Dsi0e9Xn.js +0 -1
  55. package/dist/client/_assets/chunks/unsafe-svg-DTZZEvLU.js +0 -2
  56. package/dist/client/_assets/client-BaqmpPQ-.css +0 -2
  57. package/dist/client/_assets/client-C6melOtG.js +0 -296
  58. package/dist/client/_assets/client-auth-Ccq8kSqq.js +0 -828
@@ -129,18 +129,18 @@
129
129
  "src": "../../node_modules/.pnpm/heic-to@1.5.2/node_modules/heic-to/dist/heic-to.js",
130
130
  "isDynamicEntry": true
131
131
  },
132
- "_confirm-D7GrwsCN.js": {
133
- "file": "_assets/chunks/confirm-D7GrwsCN.js",
132
+ "_confirm-CMe01lne.js": {
133
+ "file": "_assets/chunks/confirm-CMe01lne.js",
134
134
  "name": "confirm",
135
135
  "imports": [
136
- "_lit-DW8VmJAT.js"
136
+ "_lit-Bw_voPoW.js"
137
137
  ]
138
138
  },
139
- "_create-editor-5Y49x7h5.js": {
140
- "file": "_assets/chunks/create-editor-5Y49x7h5.js",
139
+ "_create-editor-BQkrw8Ax.js": {
140
+ "file": "_assets/chunks/create-editor-BQkrw8Ax.js",
141
141
  "name": "create-editor",
142
142
  "imports": [
143
- "_lit-DW8VmJAT.js",
143
+ "_runtime-paths-y0_gHowM.js",
144
144
  "_types-D5iF3H1a.js"
145
145
  ]
146
146
  },
@@ -151,19 +151,28 @@
151
151
  "_rolldown-runtime-hePW80VL.js"
152
152
  ]
153
153
  },
154
- "_footnote-rail-BJwswtVQ.js": {
155
- "file": "_assets/chunks/footnote-rail-BJwswtVQ.js",
156
- "name": "footnote-rail"
154
+ "_footnote-rail-B08scyhW.js": {
155
+ "file": "_assets/chunks/footnote-rail-B08scyhW.js",
156
+ "name": "footnote-rail",
157
+ "imports": [
158
+ "_preload-helper-Czpn1I53.js"
159
+ ],
160
+ "dynamicImports": [
161
+ "src/client-compose.ts",
162
+ "src/client-settings.ts",
163
+ "src/client-manage.ts",
164
+ "src/client-share.ts"
165
+ ]
157
166
  },
158
- "_jant-locale-picker-DL6mIOT5.js": {
159
- "file": "_assets/chunks/jant-locale-picker-DL6mIOT5.js",
167
+ "_jant-locale-picker-2L4rkDaz.js": {
168
+ "file": "_assets/chunks/jant-locale-picker-2L4rkDaz.js",
160
169
  "name": "jant-locale-picker",
161
170
  "imports": [
162
- "_lit-DW8VmJAT.js"
171
+ "_lit-Bw_voPoW.js"
163
172
  ]
164
173
  },
165
- "_lit-DW8VmJAT.js": {
166
- "file": "_assets/chunks/lit-DW8VmJAT.js",
174
+ "_lit-Bw_voPoW.js": {
175
+ "file": "_assets/chunks/lit-Bw_voPoW.js",
167
176
  "name": "lit"
168
177
  },
169
178
  "_mediabunny-DRaCQ1r-.js": {
@@ -173,17 +182,27 @@
173
182
  "_rolldown-runtime-hePW80VL.js"
174
183
  ]
175
184
  },
185
+ "_preload-helper-Czpn1I53.js": {
186
+ "file": "_assets/chunks/preload-helper-Czpn1I53.js",
187
+ "name": "preload-helper"
188
+ },
176
189
  "_rolldown-runtime-hePW80VL.js": {
177
190
  "file": "_assets/chunks/rolldown-runtime-hePW80VL.js",
178
191
  "name": "rolldown-runtime"
179
192
  },
180
- "_settings-paths-h6RjIe3C.js": {
181
- "file": "_assets/chunks/settings-paths-h6RjIe3C.js",
193
+ "_runtime-paths-y0_gHowM.js": {
194
+ "file": "_assets/chunks/runtime-paths-y0_gHowM.js",
195
+ "name": "runtime-paths"
196
+ },
197
+ "_settings-paths-B0bNUaih.js": {
198
+ "file": "_assets/chunks/settings-paths-B0bNUaih.js",
182
199
  "name": "settings-paths",
183
200
  "imports": [
184
- "_lit-DW8VmJAT.js",
185
- "_slug-format-Dsi0e9Xn.js",
186
- "_types-D5iF3H1a.js"
201
+ "_runtime-paths-y0_gHowM.js",
202
+ "_lit-Bw_voPoW.js",
203
+ "_preload-helper-Czpn1I53.js",
204
+ "_types-D5iF3H1a.js",
205
+ "_slug-format-CYmQE5ln.js"
187
206
  ],
188
207
  "dynamicImports": [
189
208
  "src/lib/slugify.ts"
@@ -193,81 +212,80 @@
193
212
  "file": "_assets/chunks/site-header-nav-DzXsFk05.js",
194
213
  "name": "site-header-nav"
195
214
  },
196
- "_slug-format-Dsi0e9Xn.js": {
197
- "file": "_assets/chunks/slug-format-Dsi0e9Xn.js",
215
+ "_slug-format-CYmQE5ln.js": {
216
+ "file": "_assets/chunks/slug-format-CYmQE5ln.js",
198
217
  "name": "slug-format",
199
218
  "imports": [
200
- "_lit-DW8VmJAT.js",
201
- "_unsafe-html-B5ZEXaxg.js",
219
+ "_lit-Bw_voPoW.js",
220
+ "_unsafe-html-CWos3v6N.js",
202
221
  "_types-D5iF3H1a.js"
203
222
  ]
204
223
  },
205
- "_sortable-list-DWNKv782.js": {
206
- "file": "_assets/chunks/sortable-list-DWNKv782.js",
224
+ "_sortable-list-t11Ma1Ek.js": {
225
+ "file": "_assets/chunks/sortable-list-t11Ma1Ek.js",
207
226
  "name": "sortable-list",
208
227
  "imports": [
209
- "_lit-DW8VmJAT.js",
210
- "_unsafe-html-B5ZEXaxg.js",
211
- "_create-editor-5Y49x7h5.js"
228
+ "_runtime-paths-y0_gHowM.js",
229
+ "_lit-Bw_voPoW.js",
230
+ "_unsafe-html-CWos3v6N.js",
231
+ "_create-editor-BQkrw8Ax.js"
212
232
  ]
213
233
  },
214
234
  "_types-D5iF3H1a.js": {
215
235
  "file": "_assets/chunks/types-D5iF3H1a.js",
216
236
  "name": "types"
217
237
  },
218
- "_unsafe-html-B5ZEXaxg.js": {
219
- "file": "_assets/chunks/unsafe-html-B5ZEXaxg.js",
238
+ "_unsafe-html-CWos3v6N.js": {
239
+ "file": "_assets/chunks/unsafe-html-CWos3v6N.js",
220
240
  "name": "unsafe-html",
221
241
  "imports": [
222
- "_lit-DW8VmJAT.js"
242
+ "_lit-Bw_voPoW.js"
223
243
  ]
224
244
  },
225
- "_unsafe-svg-DTZZEvLU.js": {
226
- "file": "_assets/chunks/unsafe-svg-DTZZEvLU.js",
245
+ "_unsafe-svg-DZl-yjas.js": {
246
+ "file": "_assets/chunks/unsafe-svg-DZl-yjas.js",
227
247
  "name": "unsafe-svg",
228
248
  "imports": [
229
- "_lit-DW8VmJAT.js",
230
- "_footnote-rail-BJwswtVQ.js",
231
- "_unsafe-html-B5ZEXaxg.js",
232
- "_slug-format-Dsi0e9Xn.js",
249
+ "_footnote-rail-B08scyhW.js",
250
+ "_lit-Bw_voPoW.js",
251
+ "_unsafe-html-CWos3v6N.js",
233
252
  "_types-D5iF3H1a.js"
234
- ],
235
- "dynamicImports": [
236
- "src/client-compose.ts",
237
- "src/client-settings.ts",
238
- "src/client-manage.ts"
239
253
  ]
240
254
  },
241
255
  "src/client-auth.ts": {
242
- "file": "_assets/client-auth-Ccq8kSqq.js",
256
+ "file": "_assets/client-auth-CG55rWb5.js",
243
257
  "name": "client-auth",
244
258
  "src": "src/client-auth.ts",
245
259
  "isEntry": true,
246
260
  "imports": [
247
- "_lit-DW8VmJAT.js",
261
+ "_runtime-paths-y0_gHowM.js",
262
+ "_footnote-rail-B08scyhW.js",
263
+ "_lit-Bw_voPoW.js",
248
264
  "src/client.ts",
249
265
  "src/client.ts",
250
- "_confirm-D7GrwsCN.js",
251
- "_unsafe-svg-DTZZEvLU.js",
252
- "_slug-format-Dsi0e9Xn.js",
266
+ "_confirm-CMe01lne.js",
267
+ "_unsafe-svg-DZl-yjas.js",
253
268
  "_types-D5iF3H1a.js",
254
- "_settings-paths-h6RjIe3C.js"
269
+ "_slug-format-CYmQE5ln.js",
270
+ "_settings-paths-B0bNUaih.js"
255
271
  ]
256
272
  },
257
273
  "src/client-compose.ts": {
258
- "file": "_assets/client-compose-oxzPb3SS.js",
274
+ "file": "_assets/client-compose-DkUTuavR.js",
259
275
  "name": "client-compose",
260
276
  "src": "src/client-compose.ts",
261
277
  "isEntry": true,
262
278
  "imports": [
263
- "_lit-DW8VmJAT.js",
264
- "_footnote-rail-BJwswtVQ.js",
265
- "_unsafe-html-B5ZEXaxg.js",
266
- "_unsafe-svg-DTZZEvLU.js",
267
- "_slug-format-Dsi0e9Xn.js",
279
+ "_runtime-paths-y0_gHowM.js",
280
+ "_footnote-rail-B08scyhW.js",
281
+ "_lit-Bw_voPoW.js",
282
+ "_unsafe-html-CWos3v6N.js",
283
+ "_preload-helper-Czpn1I53.js",
284
+ "_unsafe-svg-DZl-yjas.js",
268
285
  "_types-D5iF3H1a.js",
269
- "_sortable-list-DWNKv782.js",
270
- "_create-editor-5Y49x7h5.js"
286
+ "_slug-format-CYmQE5ln.js",
287
+ "_sortable-list-t11Ma1Ek.js",
288
+ "_create-editor-BQkrw8Ax.js"
271
289
  ],
272
290
  "dynamicImports": [
273
291
  "_emoji-mart-C4RpRKcU.js",
@@ -276,45 +294,58 @@
276
294
  ]
277
295
  },
278
296
  "src/client-manage.ts": {
279
- "file": "_assets/client-manage-C1eDB1Rc.js",
297
+ "file": "_assets/client-manage-DnYdQAhf.js",
280
298
  "name": "client-manage",
281
299
  "src": "src/client-manage.ts",
282
300
  "isEntry": true,
283
301
  "imports": [
284
- "_lit-DW8VmJAT.js",
285
- "_unsafe-html-B5ZEXaxg.js",
302
+ "_runtime-paths-y0_gHowM.js",
303
+ "_lit-Bw_voPoW.js",
304
+ "_unsafe-html-CWos3v6N.js",
286
305
  "_site-header-nav-DzXsFk05.js",
287
- "_confirm-D7GrwsCN.js",
288
- "_slug-format-Dsi0e9Xn.js",
306
+ "_confirm-CMe01lne.js",
289
307
  "_types-D5iF3H1a.js",
290
- "_settings-paths-h6RjIe3C.js",
291
- "_sortable-list-DWNKv782.js",
292
- "_create-editor-5Y49x7h5.js"
308
+ "_slug-format-CYmQE5ln.js",
309
+ "_settings-paths-B0bNUaih.js",
310
+ "_sortable-list-t11Ma1Ek.js",
311
+ "_create-editor-BQkrw8Ax.js"
293
312
  ]
294
313
  },
295
314
  "src/client-settings.ts": {
296
- "file": "_assets/client-settings-DIM44Zqh.js",
315
+ "file": "_assets/client-settings-CHgsIqXJ.js",
297
316
  "name": "client-settings",
298
317
  "src": "src/client-settings.ts",
299
318
  "isEntry": true,
300
319
  "imports": [
301
- "_lit-DW8VmJAT.js",
302
- "_jant-locale-picker-DL6mIOT5.js",
303
- "_confirm-D7GrwsCN.js",
320
+ "_runtime-paths-y0_gHowM.js",
321
+ "_jant-locale-picker-2L4rkDaz.js",
322
+ "_lit-Bw_voPoW.js",
323
+ "_confirm-CMe01lne.js",
304
324
  "_types-D5iF3H1a.js",
305
- "_create-editor-5Y49x7h5.js"
325
+ "_create-editor-BQkrw8Ax.js"
326
+ ]
327
+ },
328
+ "src/client-share.ts": {
329
+ "file": "_assets/client-share-C59mOLJ1.js",
330
+ "name": "client-share",
331
+ "src": "src/client-share.ts",
332
+ "isEntry": true,
333
+ "imports": [
334
+ "_lit-Bw_voPoW.js",
335
+ "_unsafe-html-CWos3v6N.js"
306
336
  ]
307
337
  },
308
338
  "src/client.ts": {
309
- "file": "_assets/client-C6melOtG.js",
339
+ "file": "_assets/client-Dp46QSht.js",
310
340
  "name": "client",
311
341
  "src": "src/client.ts",
312
342
  "isEntry": true,
313
343
  "imports": [
314
- "_lit-DW8VmJAT.js",
315
- "_footnote-rail-BJwswtVQ.js",
316
- "_jant-locale-picker-DL6mIOT5.js",
317
- "_unsafe-html-B5ZEXaxg.js",
344
+ "_runtime-paths-y0_gHowM.js",
345
+ "_footnote-rail-B08scyhW.js",
346
+ "_jant-locale-picker-2L4rkDaz.js",
347
+ "_lit-Bw_voPoW.js",
348
+ "_unsafe-html-CWos3v6N.js",
318
349
  "_site-header-nav-DzXsFk05.js"
319
350
  ]
320
351
  },
@@ -1022,8 +1053,17 @@
1022
1053
  "_assets/chunks/3179006d1c7ebfa50d27482a2859d9a0-e7PNUH9y.woff2"
1023
1054
  ]
1024
1055
  },
1056
+ "src/style-share.css": {
1057
+ "file": "_assets/client-share-0DICJjAc.css",
1058
+ "name": "style-share",
1059
+ "names": [
1060
+ "style-share.css"
1061
+ ],
1062
+ "src": "src/style-share.css",
1063
+ "isEntry": true
1064
+ },
1025
1065
  "src/style.css": {
1026
- "file": "_assets/client-BaqmpPQ-.css",
1066
+ "file": "_assets/client-B0-s9sqx.css",
1027
1067
  "name": "style",
1028
1068
  "names": [
1029
1069
  "style.css"
@@ -1,4 +1,4 @@
1
- import{i as e,n as t,t as n}from"./lit-DW8VmJAT.js";var r=`default`,i=class extends n{static properties={_open:{state:!0},_title:{state:!0},_message:{state:!0},_confirmLabel:{state:!0},_cancelLabel:{state:!0},_tone:{state:!0}};#e=[];#t=null;createRenderRoot(){return this.innerHTML=``,this}constructor(){super(),this._open=!1,this._title=``,this._message=``,this._confirmLabel=``,this._cancelLabel=``,this._tone=r}disconnectedCallback(){super.disconnectedCallback();let e=this.#t;this.#t=null,e?.resolve(!1);for(let e of this.#e.splice(0))e.resolve(!1)}async confirm(e){return await new Promise(t=>{this.#e.push({...e,tone:e.tone??r,resolve:t}),this.#t||this.#n()})}async#n(){if(this.#t||this.#e.length===0)return;let e=this.#e.shift();if(!e)return;this.#t=e,this._title=e.title??``,this._message=e.message,this._confirmLabel=e.confirmLabel,this._cancelLabel=e.cancelLabel,this._tone=e.tone??r,this._open=!0,await this.updateComplete;let t=this.querySelector(`.confirm-dialog`);t&&(t.open||t.showModal(),t.querySelector(`.confirm-dialog-panel`)?.focus())}#r(e){let t=this.#t;if(!t)return;this.#t=null;let n=this.querySelector(`.confirm-dialog`);n?.open&&n.close(),this._open=!1,this._title=``,this._message=``,this._confirmLabel=``,this._cancelLabel=``,this._tone=r,t.resolve(e),queueMicrotask(()=>void this.#n())}#i=e=>{e.preventDefault(),this.#r(!1)};#a=e=>{e.target===e.currentTarget&&this.#r(!1)};#o=e=>{if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),this.#r(!1);return}let t=e.target,n=t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLAnchorElement;e.key===`Enter`&&!e.defaultPrevented&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&!e.shiftKey&&!n&&(e.preventDefault(),this.#r(!0))};#s(){if(this._title)return{title:this._title,message:this._message};let e=this._message.match(/^(.+?[??])\s+(.+)$/u);return e?{title:e[1],message:e[2]}:{title:this._message,message:``}}render(){if(!this._open)return t;let{title:n,message:r}=this.#s(),i=this._tone===`danger`?`btn-destructive`:`btn`;return e`
1
+ import{i as e,n as t,t as n}from"./lit-Bw_voPoW.js";var r=`default`,i=class extends n{static properties={_open:{state:!0},_title:{state:!0},_message:{state:!0},_confirmLabel:{state:!0},_cancelLabel:{state:!0},_tone:{state:!0}};#e=[];#t=null;createRenderRoot(){return this.innerHTML=``,this}constructor(){super(),this._open=!1,this._title=``,this._message=``,this._confirmLabel=``,this._cancelLabel=``,this._tone=r}disconnectedCallback(){super.disconnectedCallback();let e=this.#t;this.#t=null,e?.resolve(!1);for(let e of this.#e.splice(0))e.resolve(!1)}async confirm(e){return await new Promise(t=>{this.#e.push({...e,tone:e.tone??r,resolve:t}),this.#t||this.#n()})}async#n(){if(this.#t||this.#e.length===0)return;let e=this.#e.shift();if(!e)return;this.#t=e,this._title=e.title??``,this._message=e.message,this._confirmLabel=e.confirmLabel,this._cancelLabel=e.cancelLabel,this._tone=e.tone??r,this._open=!0,await this.updateComplete;let t=this.querySelector(`.confirm-dialog`);t&&(t.open||t.showModal(),t.querySelector(`.confirm-dialog-panel`)?.focus())}#r(e){let t=this.#t;if(!t)return;this.#t=null;let n=this.querySelector(`.confirm-dialog`);n?.open&&n.close(),this._open=!1,this._title=``,this._message=``,this._confirmLabel=``,this._cancelLabel=``,this._tone=r,t.resolve(e),queueMicrotask(()=>void this.#n())}#i=e=>{e.preventDefault(),this.#r(!1)};#a=e=>{e.target===e.currentTarget&&this.#r(!1)};#o=e=>{if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),this.#r(!1);return}let t=e.target,n=t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLAnchorElement;e.key===`Enter`&&!e.defaultPrevented&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&!e.shiftKey&&!n&&(e.preventDefault(),this.#r(!0))};#s(){if(this._title)return{title:this._title,message:this._message};let e=this._message.match(/^(.+?[??])\s+(.+)$/u);return e?{title:e[1],message:e[2]}:{title:this._message,message:``}}render(){if(!this._open)return t;let{title:n,message:r}=this.#s(),i=this._tone===`danger`?`btn-destructive`:`btn`;return e`
2
2
  <dialog
3
3
  class="dialog confirm-dialog"
4
4
  @cancel=${this.#i}