@ctrliq/quantic-components 1.81.0 → 1.83.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.
- package/dist/astro.d.ts +3 -1
- package/dist/astro.js +3 -1
- package/dist/astro.js.map +1 -1
- package/dist/button/index.js +1 -1
- package/dist/button-bar/button-bar-item.d.ts +11 -0
- package/dist/button-bar/button-bar-item.js +191 -0
- package/dist/button-bar/button-bar.d.ts +11 -0
- package/dist/button-bar/button-bar.js +76 -0
- package/dist/button-bar/index.constants.d.ts +6 -0
- package/dist/button-bar/index.constants.js +5 -0
- package/dist/button-bar/index.context.d.ts +4 -0
- package/dist/button-bar/index.context.js +2 -0
- package/dist/button-bar/index.d.ts +3 -0
- package/dist/button-bar/index.js +3 -0
- package/dist/{types/button-group → button-bar}/index.stories.d.ts +2 -2
- package/dist/button-bar/index.stories.js +107 -0
- package/dist/button-group/button-group-item.d.ts +6 -8
- package/dist/button-group/button-group-item.js +11 -167
- package/dist/button-group/button-group.d.ts +9 -7
- package/dist/button-group/button-group.js +17 -58
- package/dist/button-group/index.constants.d.ts +4 -1
- package/dist/button-group/index.constants.js +3 -5
- package/dist/card/index.d.ts +1 -1
- package/dist/card/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/meta/constants-barrel.test.d.ts +1 -0
- package/dist/meta/constants-barrel.test.js +74 -0
- package/dist/meta/index.js +4 -0
- package/dist/meta/index.js.map +1 -1
- package/dist/meta/serialize.js +1 -0
- package/dist/meta.json +92 -22
- package/dist/pagination/pagination.component.js +15 -15
- package/dist/quantic-components.js +137 -78
- package/dist/quantic-components.js.map +1 -1
- package/dist/quantic-components.min.js +149 -143
- package/dist/quantic-components.min.js.map +1 -1
- package/dist/register.js.map +1 -1
- package/dist/shared/meta.types.d.ts +4 -0
- package/dist/tabs/index.stories.js +1 -1
- package/dist/tooltip/index.d.ts +1 -0
- package/dist/tooltip/index.js +1 -0
- package/dist/types/astro.d.ts +3 -1
- package/dist/types/button-bar/button-bar-item.d.ts +11 -0
- package/dist/types/button-bar/button-bar.d.ts +11 -0
- package/dist/types/button-bar/index.constants.d.ts +6 -0
- package/dist/types/button-bar/index.context.d.ts +4 -0
- package/dist/types/button-bar/index.d.ts +3 -0
- package/dist/{button-group → types/button-bar}/index.stories.d.ts +2 -2
- package/dist/types/button-group/button-group-item.d.ts +6 -8
- package/dist/types/button-group/button-group.d.ts +9 -7
- package/dist/types/button-group/index.constants.d.ts +4 -1
- package/dist/types/card/index.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/meta/constants-barrel.test.d.ts +1 -0
- package/dist/types/shared/meta.types.d.ts +4 -0
- package/dist/types/tooltip/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/button-group/index.context.d.ts +0 -4
- package/dist/button-group/index.context.js +0 -2
- package/dist/button-group/index.stories.js +0 -107
- package/dist/types/button-group/index.context.d.ts +0 -4
|
@@ -79,7 +79,7 @@ const ve={attribute:!0,type:String,converter:f,reflect:!1,hasChanged:C},we=(e=ve
|
|
|
79
79
|
download=${We(this.download)}
|
|
80
80
|
>
|
|
81
81
|
<slot data-description="Button label or icon content."></slot>
|
|
82
|
-
</${e}>`}},e.Button.meta={tag:"quantic-button",description:"Clickable action trigger for form submission, primary CTAs, and secondary actions. Supports icon-only mode and polymorphic rendering as an <a> or <span>. Prefer over quantic-icon-label when the element needs to be interactive.",category:"action",relatedTo:["quantic-button-
|
|
82
|
+
</${e}>`}},e.Button.meta={tag:"quantic-button",description:"Clickable action trigger for form submission, primary CTAs, and secondary actions. Supports icon-only mode and polymorphic rendering as an <a> or <span>. Prefer over quantic-icon-label when the element needs to be interactive.",category:"action",relatedTo:["quantic-button-bar","quantic-icon-label"]},e.Button.formAssociated=!0,e.Button.styles=d`
|
|
83
83
|
:host {
|
|
84
84
|
display: inline-flex;
|
|
85
85
|
}
|
|
@@ -1228,27 +1228,23 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1228
1228
|
* @license
|
|
1229
1229
|
* Copyright 2022 Google LLC
|
|
1230
1230
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1231
|
-
*/function an({context:e,subscribe:t}){return(i,n)=>{"object"==typeof n?n.addInitializer(function(){new nn(this,{context:e,callback:e=>{i.set.call(this,e)},subscribe:t})}):i.constructor.addInitializer(i=>{new nn(i,{context:e,callback:e=>{i[n]=e},subscribe:t})})}}const ln={Small:"sm",Medium:"md",Large:"lg"},dn="button-
|
|
1231
|
+
*/function an({context:e,subscribe:t}){return(i,n)=>{"object"==typeof n?n.addInitializer(function(){new nn(this,{context:e,callback:e=>{i.set.call(this,e)},subscribe:t})}):i.constructor.addInitializer(i=>{new nn(i,{context:e,callback:e=>{i[n]=e},subscribe:t})})}}const ln={Small:"sm",Medium:"md",Large:"lg"},dn="button-bar.size";e.ButtonBar=class extends qe{constructor(){super(...arguments),this.size=ln.Medium,this.ariaLabel=null,this.defaultLabel="Button bar"}render(){return W`
|
|
1232
1232
|
<div
|
|
1233
1233
|
class="container"
|
|
1234
1234
|
role="toolbar"
|
|
1235
|
-
aria-label=${this.ariaLabel||
|
|
1235
|
+
aria-label=${this.ariaLabel||this.defaultLabel}
|
|
1236
1236
|
>
|
|
1237
1237
|
<slot></slot>
|
|
1238
1238
|
</div>
|
|
1239
|
-
`}},e.
|
|
1239
|
+
`}},e.ButtonBar.meta={tag:"quantic-button-bar",description:"Toolbar of related buttons joined into one cohesive control, with shared sizing. Use for switching between views or modes, and for a compact run of icon actions. Items carry aria-pressed via active, so a set can behave as exclusive options or as independent toggles. Prefer quantic-button for a standalone action, and quantic-tabs when each segment reveals a panel.",category:"action",slots:{"":{description:"One or more quantic-button-bar-item elements."}},subComponents:["quantic-button-bar-item"],relatedTo:["quantic-button"]},e.ButtonBar.styles=d`
|
|
1240
1240
|
:host {
|
|
1241
|
-
--quantic-
|
|
1242
|
-
--quantic-
|
|
1243
|
-
--quantic-
|
|
1244
|
-
|
|
1245
|
-
);
|
|
1246
|
-
--quantic-component-button-
|
|
1247
|
-
|
|
1248
|
-
);
|
|
1249
|
-
--quantic-component-button-group-item-max-width: var(--quantic-width-xxs);
|
|
1250
|
-
--quantic-component-button-group-border-radius: var(--quantic-radius-md);
|
|
1251
|
-
--quantic-component-button-group-border-color: var(
|
|
1241
|
+
--quantic-internal-button-bar-item-padding-block: var(--quantic-spacing-2);
|
|
1242
|
+
--quantic-internal-button-bar-item-padding-inline: var(--quantic-spacing-3);
|
|
1243
|
+
--quantic-internal-button-bar-item-font-size: var(--quantic-font-size-body-sm);
|
|
1244
|
+
--quantic-internal-button-bar-item-line-height: var(--quantic-line-height-body-sm);
|
|
1245
|
+
--quantic-component-button-bar-item-max-width: var(--quantic-width-xxs);
|
|
1246
|
+
--quantic-component-button-bar-border-radius: var(--quantic-radius-md);
|
|
1247
|
+
--quantic-component-button-bar-border-color: var(
|
|
1252
1248
|
--quantic-border-primary
|
|
1253
1249
|
);
|
|
1254
1250
|
|
|
@@ -1259,11 +1255,12 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1259
1255
|
|
|
1260
1256
|
.container {
|
|
1261
1257
|
display: inline-flex;
|
|
1262
|
-
border: 1px solid var(--quantic-component-button-
|
|
1263
|
-
border-radius: var(--quantic-component-button-
|
|
1258
|
+
border: 1px solid var(--quantic-component-button-bar-border-color);
|
|
1259
|
+
border-radius: var(--quantic-component-button-bar-border-radius);
|
|
1264
1260
|
}
|
|
1265
|
-
`,t([rn({context:dn}),fe({type:"
|
|
1261
|
+
`,t([rn({context:dn}),fe({type:"ButtonBarSize",options:Object.values(ln),default:ln.Medium,description:"Size applied to all child items via context."})],e.ButtonBar.prototype,"size",void 0),t([fe({type:"string",attribute:"aria-label",description:"Accessible label for the group."})],e.ButtonBar.prototype,"ariaLabel",void 0),e.ButtonBar=t([Se("quantic-button-bar")],e.ButtonBar),e.ButtonGroup=class extends e.ButtonBar{constructor(){super(...arguments),this.defaultLabel="Button group"}},e.ButtonGroup.meta={...e.ButtonBar.meta,tag:"quantic-button-group",description:"Deprecated alias of quantic-button-bar. This element never grouped buttons: it joins borders and gives its items a pressed state. Use quantic-button-bar.",deprecated:{use:"quantic-button-bar",reason:"The name describes a row of buttons, which this is not. Use quantic-action-group for that."},slots:{"":{description:"One or more quantic-button-group-item elements."}},subComponents:["quantic-button-group-item"]},e.ButtonGroup=t([Se("quantic-button-group")],e.ButtonGroup),e.ButtonBarItem=class extends qe{constructor(){super(...arguments),this.disabled=!1,this.active=!1}render(){const e=Ne({main:!0,[`size--${this.size}`]:!!this.size,"is-active":this.active});return W`
|
|
1266
1262
|
<button
|
|
1263
|
+
type="button"
|
|
1267
1264
|
class=${e}
|
|
1268
1265
|
tabindex=${this.disabled?-1:0}
|
|
1269
1266
|
?disabled=${this.disabled}
|
|
@@ -1273,7 +1270,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1273
1270
|
<slot></slot>
|
|
1274
1271
|
</div>
|
|
1275
1272
|
</button>
|
|
1276
|
-
`}},e.
|
|
1273
|
+
`}},e.ButtonBarItem.meta={tag:"quantic-button-bar-item",description:"Single segment within a quantic-button-bar. Renders as a native button with shared sizing from the parent context and a pressed state via active.",category:"action",slots:{"":{description:"Button label or icon content."}},relatedTo:["quantic-button-bar","quantic-button"]},e.ButtonBarItem.styles=d`
|
|
1277
1274
|
:host {
|
|
1278
1275
|
display: inline-flex;
|
|
1279
1276
|
}
|
|
@@ -1295,18 +1292,27 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1295
1292
|
text-decoration: none;
|
|
1296
1293
|
text-align: center;
|
|
1297
1294
|
display: block;
|
|
1298
|
-
align-items: center;
|
|
1299
|
-
justify-content: center;
|
|
1300
|
-
gap: var(--quantic-spacing-2);
|
|
1301
1295
|
width: 100%;
|
|
1302
1296
|
color: var(--quantic-text-primary);
|
|
1303
1297
|
cursor: pointer;
|
|
1304
1298
|
outline: none;
|
|
1305
1299
|
box-sizing: border-box;
|
|
1306
|
-
padding: var(
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1300
|
+
padding: var(
|
|
1301
|
+
--quantic-component-button-bar-padding-block,
|
|
1302
|
+
var(--quantic-internal-button-bar-item-padding-block)
|
|
1303
|
+
)
|
|
1304
|
+
var(
|
|
1305
|
+
--quantic-component-button-bar-padding-inline,
|
|
1306
|
+
var(--quantic-internal-button-bar-item-padding-inline)
|
|
1307
|
+
);
|
|
1308
|
+
font-size: var(
|
|
1309
|
+
--quantic-component-button-bar-font-size,
|
|
1310
|
+
var(--quantic-internal-button-bar-item-font-size)
|
|
1311
|
+
);
|
|
1312
|
+
line-height: var(
|
|
1313
|
+
--quantic-component-button-bar-line-height,
|
|
1314
|
+
var(--quantic-internal-button-bar-item-line-height)
|
|
1315
|
+
);
|
|
1310
1316
|
transition:
|
|
1311
1317
|
background-color 0.2s ease-in-out,
|
|
1312
1318
|
color 0.2s ease-in-out;
|
|
@@ -1340,7 +1346,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1340
1346
|
display: block;
|
|
1341
1347
|
overflow: hidden;
|
|
1342
1348
|
text-overflow: ellipsis;
|
|
1343
|
-
max-width: var(--quantic-component-button-
|
|
1349
|
+
max-width: var(--quantic-component-button-bar-item-max-width);
|
|
1344
1350
|
}
|
|
1345
1351
|
|
|
1346
1352
|
.is-active {
|
|
@@ -1348,34 +1354,34 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1348
1354
|
}
|
|
1349
1355
|
|
|
1350
1356
|
.size--sm {
|
|
1351
|
-
--quantic-
|
|
1352
|
-
--quantic-
|
|
1353
|
-
--quantic-
|
|
1357
|
+
--quantic-internal-button-bar-item-padding-block: var(--quantic-spacing-1);
|
|
1358
|
+
--quantic-internal-button-bar-item-padding-inline: var(--quantic-spacing-2);
|
|
1359
|
+
--quantic-internal-button-bar-item-font-size: var(
|
|
1354
1360
|
--quantic-font-size-body-xs
|
|
1355
1361
|
);
|
|
1356
|
-
--quantic-
|
|
1362
|
+
--quantic-internal-button-bar-item-line-height: var(
|
|
1357
1363
|
--quantic-line-height-body-xs
|
|
1358
1364
|
);
|
|
1359
1365
|
}
|
|
1360
1366
|
|
|
1361
1367
|
.size--md {
|
|
1362
|
-
--quantic-
|
|
1363
|
-
--quantic-
|
|
1364
|
-
--quantic-
|
|
1368
|
+
--quantic-internal-button-bar-item-padding-block: var(--quantic-spacing-2);
|
|
1369
|
+
--quantic-internal-button-bar-item-padding-inline: var(--quantic-spacing-3);
|
|
1370
|
+
--quantic-internal-button-bar-item-font-size: var(
|
|
1365
1371
|
--quantic-font-size-body-sm
|
|
1366
1372
|
);
|
|
1367
|
-
--quantic-
|
|
1373
|
+
--quantic-internal-button-bar-item-line-height: var(
|
|
1368
1374
|
--quantic-line-height-body-sm
|
|
1369
1375
|
);
|
|
1370
1376
|
}
|
|
1371
1377
|
|
|
1372
1378
|
.size--lg {
|
|
1373
|
-
--quantic-
|
|
1374
|
-
--quantic-
|
|
1375
|
-
--quantic-
|
|
1379
|
+
--quantic-internal-button-bar-item-padding-block: 10px;
|
|
1380
|
+
--quantic-internal-button-bar-item-padding-inline: var(--quantic-spacing-3);
|
|
1381
|
+
--quantic-internal-button-bar-item-font-size: var(
|
|
1376
1382
|
--quantic-font-size-body-md
|
|
1377
1383
|
);
|
|
1378
|
-
--quantic-
|
|
1384
|
+
--quantic-internal-button-bar-item-line-height: var(
|
|
1379
1385
|
--quantic-line-height-body-md
|
|
1380
1386
|
);
|
|
1381
1387
|
}
|
|
@@ -1384,7 +1390,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
1384
1390
|
display: flex;
|
|
1385
1391
|
align-items: center;
|
|
1386
1392
|
}
|
|
1387
|
-
`,t([an({context:dn,subscribe:!0})],e.
|
|
1393
|
+
`,t([an({context:dn,subscribe:!0})],e.ButtonBarItem.prototype,"size",void 0),t([fe({type:"boolean",default:"false",description:"Prevents interaction and reduces opacity.",reflect:!0})],e.ButtonBarItem.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",description:"Marks this item as the currently selected/active option.",reflect:!0})],e.ButtonBarItem.prototype,"active",void 0),e.ButtonBarItem=t([Se("quantic-button-bar-item")],e.ButtonBarItem),e.ButtonGroupItem=class extends e.ButtonBarItem{},e.ButtonGroupItem.meta={...e.ButtonBarItem.meta,tag:"quantic-button-group-item",description:"Deprecated alias of quantic-button-bar-item. Use quantic-button-bar-item.",deprecated:{use:"quantic-button-bar-item"},relatedTo:["quantic-button-group"]},e.ButtonGroupItem=t([Se("quantic-button-group-item")],e.ButtonGroupItem);const un=ln;var hn,pn,gn,vn;e.GridDensity=void 0,(hn=e.GridDensity||(e.GridDensity={})).Dense="dense",hn.Compact="compact",hn.Comfortable="comfortable",hn.Sparse="sparse",hn.Custom="custom",e.CardVariant=void 0,(pn=e.CardVariant||(e.CardVariant={})).Solid="solid",pn.Outline="outline",e.CardSize=void 0,(gn=e.CardSize||(e.CardSize={})).ExtraSmall="xs",gn.Small="sm",gn.Medium="md",gn.Large="lg",e.CardTitleVariant=void 0,(vn=e.CardTitleVariant||(e.CardTitleVariant={})).Primary="primary",vn.Secondary="secondary";const wn=e.GridDensity;e.Card=class extends(ze(qe,["header","footer","action-icon"])){constructor(){super(...arguments),this.as="div",this.variant=e.CardVariant.Outline,this.size=e.CardSize.Medium,this.type="button",this.disabled=!1}render(){const e=Ne({main:!0,[`variant--${this.variant}`]:!0,[`size--${this.size}`]:!0,"is-interactive":"button"===this.as||"a"===this.as,"is-disabled":this.disabled}),t=Re`
|
|
1388
1394
|
<slot
|
|
1389
1395
|
name="header"
|
|
1390
1396
|
class="header"
|
|
@@ -2134,7 +2140,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2134
2140
|
right: var(--quantic-component-card-padding, var(--quantic-spacing-5));
|
|
2135
2141
|
z-index: 1;
|
|
2136
2142
|
}
|
|
2137
|
-
`,e.CardMeta=t([Se("quantic-card-meta")],e.CardMeta),e.CardTitle=class extends(ze(qe,["pretitle","subtitle"])){constructor(){super(...arguments),this.variant=
|
|
2143
|
+
`,e.CardMeta=t([Se("quantic-card-meta")],e.CardMeta),e.CardTitle=class extends(ze(qe,["pretitle","subtitle"])){constructor(){super(...arguments),this.variant=e.CardTitleVariant.Primary}render(){return Re`
|
|
2138
2144
|
<hgroup>
|
|
2139
2145
|
<slot name="pretitle" class="pretitle"></slot>
|
|
2140
2146
|
<slot class="title"></slot>
|
|
@@ -2189,7 +2195,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2189
2195
|
[hidden] {
|
|
2190
2196
|
display: none;
|
|
2191
2197
|
}
|
|
2192
|
-
`,t([fe({type:"CardTitleVariant",options:Object.values(
|
|
2198
|
+
`,t([fe({type:"CardTitleVariant",options:Object.values(e.CardTitleVariant),default:e.CardTitleVariant.Primary,description:"Visual variant of the title."})],e.CardTitle.prototype,"variant",void 0),e.CardTitle=t([Se("quantic-card-title")],e.CardTitle);const mn={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.CodeInput=class extends(Xi(qe)){constructor(){super(),this.value="",this.rows=4,this.name="",this.placeholder="",this.size=mn.Medium,this.disabled=!1,this.readOnly=!1,this.required=!1,this.invalid=!1,this.lineNumbers=!1,this.stretch=!1,this.tabIndent=!1,this.lineCount=1,this.handleKeydown=e=>{!this.tabIndent||"Tab"!==e.key||this.disabled||this.readOnly||(e.preventDefault(),document.execCommand("insertText",!1,"\t")),this.forwardNative(e)},this.internals=this.attachInternals()}updated(e){e.has("value")&&(this.internals.setFormValue(this.value),this.updateValidity(),this.lineCount=Math.max(1,this.value.split("\n").length)),at(this,e,this.value)}handleInput(e){this.value=e.target.value}forwardNative(e){const t={bubbles:!0,cancelable:e.cancelable,composed:!0};e instanceof KeyboardEvent?this.dispatchEvent(new KeyboardEvent(e.type,{...t,key:e.key,code:e.code,location:e.location,repeat:e.repeat,isComposing:e.isComposing,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey})):e instanceof FocusEvent?this.dispatchEvent(new FocusEvent(e.type,{...t,relatedTarget:e.relatedTarget})):this.dispatchEvent(new Event(e.type,t))}handleScroll(e){const t=e.target;this.lineNumbersEl&&(this.lineNumbersEl.scrollTop=t.scrollTop)}formResetCallback(){this.value="",this.internals.setFormValue(""),this.lineCount=1}formStateRestoreCallback(e){this.value=e,this.internals.setFormValue(e),this.lineCount=Math.max(1,e.split("\n").length)}formDisabledCallback(e){this.disabled=e}updateValidity(){const e=this.shadowRoot?.querySelector("textarea");e&&this.internals.setValidity(e.validity,e.validationMessage,e)}renderLineNumbers(){const e=Math.max(2,String(this.lineCount).length);return Array.from({length:this.lineCount},(t,i)=>W`<span>${String(i+1).padStart(e,"0")}</span>`)}render(){const e=this.getA11yAttributes({invalid:this.invalid}),t=Ne({main:!0,[`size--${this.size}`]:!0,"has-line-numbers":this.lineNumbers,stretch:this.stretch});return W`
|
|
2193
2199
|
<div class=${t}>
|
|
2194
2200
|
${this.lineNumbers?W`<div class="line-numbers" aria-hidden="true">
|
|
2195
2201
|
${this.renderLineNumbers()}
|
|
@@ -2417,8 +2423,8 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2417
2423
|
.textarea:read-only {
|
|
2418
2424
|
cursor: default;
|
|
2419
2425
|
}
|
|
2420
|
-
`,t([fe({type:"string",default:"''",description:"Current value of the editor."})],e.CodeInput.prototype,"value",void 0),t([fe({type:"number",default:"4",description:"Number of visible text rows in the textarea."})],e.CodeInput.prototype,"rows",void 0),t([fe({type:"string",default:"''",description:"Name submitted with form data."})],e.CodeInput.prototype,"name",void 0),t([fe({type:"string",default:"''",description:"Placeholder text shown when the editor is empty."})],e.CodeInput.prototype,"placeholder",void 0),t([fe({type:"CodeInputSize",options:Object.values(
|
|
2421
|
-
class=${Ne({group:!0,"group--inline":this.variant===
|
|
2426
|
+
`,t([fe({type:"string",default:"''",description:"Current value of the editor."})],e.CodeInput.prototype,"value",void 0),t([fe({type:"number",default:"4",description:"Number of visible text rows in the textarea."})],e.CodeInput.prototype,"rows",void 0),t([fe({type:"string",default:"''",description:"Name submitted with form data."})],e.CodeInput.prototype,"name",void 0),t([fe({type:"string",default:"''",description:"Placeholder text shown when the editor is empty."})],e.CodeInput.prototype,"placeholder",void 0),t([fe({type:"CodeInputSize",options:Object.values(mn),default:mn.Medium,description:"Controls font size and padding."})],e.CodeInput.prototype,"size",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction and applies disabled styling."})],e.CodeInput.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Allows text to be read but not edited."})],e.CodeInput.prototype,"readOnly",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.CodeInput.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling when the field fails validation."})],e.CodeInput.prototype,"invalid",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Shows a line-number gutter on the left side of the editor.",attribute:"line-numbers"})],e.CodeInput.prototype,"lineNumbers",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Makes the editor fill the height of its container. Overrides rows."})],e.CodeInput.prototype,"stretch",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Inserts a tab character when pressing Tab instead of moving focus. Disabled by default to preserve keyboard navigation.",attribute:"tab-indent"})],e.CodeInput.prototype,"tabIndent",void 0),t([xe(".line-numbers")],e.CodeInput.prototype,"lineNumbersEl",void 0),t([ke()],e.CodeInput.prototype,"lineCount",void 0),e.CodeInput=t([Ce("value-changed",{description:"Fired whenever the value changes, from user input or a programmatic update. Not fired on initial render.",detail:"{ value: string }"}),Ce("change",{forwarded:!0}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Ce("keydown",{forwarded:!0}),Ce("keyup",{forwarded:!0}),Ce("keypress",{forwarded:!0}),Se("quantic-code-input")],e.CodeInput);const kn={Small:"sm",Medium:"md",Large:"lg"},yn={Small:"sm",Medium:"md",Large:"lg"},xn={Default:"default",Inline:"inline"};var Ln,In,fn;e.CheckboxGroup=class extends(Xi(qe)){constructor(){super(...arguments),this.disabled=!1,this.required=!1,this.invalid=!1,this.variant=xn.Default,this.gap=yn.Large}updated(e){super.updated(e),(e.has("disabled")||e.has("required"))&&this.syncCheckboxProperties()}syncCheckboxProperties(){this.querySelectorAll("quantic-checkbox").forEach(e=>{e.disabled=this.disabled,e.required=this.required})}firstUpdated(){this.syncCheckboxProperties()}render(){const e=this.getA11yAttributes({invalid:this.invalid});return W`<div
|
|
2427
|
+
class=${Ne({group:!0,"group--inline":this.variant===xn.Inline,[`gap--${this.gap}`]:!0})}
|
|
2422
2428
|
role="group"
|
|
2423
2429
|
aria-label=${e.label}
|
|
2424
2430
|
aria-description=${e.description}
|
|
@@ -2451,7 +2457,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2451
2457
|
.gap--lg {
|
|
2452
2458
|
gap: var(--quantic-spacing-4);
|
|
2453
2459
|
}
|
|
2454
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction. Propagated to all child checkboxes."})],e.CheckboxGroup.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks child checkboxes as required. Propagated to all children."})],e.CheckboxGroup.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling to the group. Set alongside an error message in the parent quantic-field."})],e.CheckboxGroup.prototype,"invalid",void 0),t([fe({type:"CheckboxGroupVariant",options:Object.values(
|
|
2460
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction. Propagated to all child checkboxes."})],e.CheckboxGroup.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks child checkboxes as required. Propagated to all children."})],e.CheckboxGroup.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling to the group. Set alongside an error message in the parent quantic-field."})],e.CheckboxGroup.prototype,"invalid",void 0),t([fe({type:"CheckboxGroupVariant",options:Object.values(xn),reflect:!0,description:"Layout variant for the group."})],e.CheckboxGroup.prototype,"variant",void 0),t([fe({type:"CheckboxGroupGap",options:Object.values(yn),default:yn.Large,reflect:!0,description:"Spacing between checkboxes."})],e.CheckboxGroup.prototype,"gap",void 0),e.CheckboxGroup=t([Se("quantic-checkbox-group")],e.CheckboxGroup),e.Checkbox=class extends(Xi(qe)){constructor(){super(),this.checked=!1,this.required=!1,this.disabled=!1,this.invalid=!1,this.indeterminate=!1,this.label="",this.name="",this.size=kn.Medium,this.defaultChecked=!1,this.defaultIndeterminate=!1,this.internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.defaultChecked=this.hasAttribute("checked"),this.defaultIndeterminate=this.hasAttribute("indeterminate")}forwardNative(e){const t=e.target;this.checked=t.checked,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}updated(e){super.updated(e);const t=this.renderRoot.querySelector("input");t&&(t.indeterminate=this.indeterminate,e.has("checked")&&(t.checked=this.checked)),e.has("checked")&&this.internals.setFormValue(this.checked?"on":null)}dispatchValueChanged(e){this.dispatchEvent(new CustomEvent("value-changed",{detail:{checked:this.checked,indeterminate:this.indeterminate},bubbles:!0,composed:!0}))}formResetCallback(){const e=this.renderRoot.querySelector("input");this.checked=this.defaultChecked,this.indeterminate=this.defaultIndeterminate,this.internals.setFormValue(this.defaultChecked?"on":null),e&&(e.checked=this.defaultChecked,e.indeterminate=this.defaultIndeterminate)}formStateRestoreCallback(e){this.checked="on"===e,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}get computedLabel(){return this.ariaLabel||this.label}render(){const e=Ne({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({label:this.computedLabel,invalid:this.invalid});return W`
|
|
2455
2461
|
<label class=${e}>
|
|
2456
2462
|
<input
|
|
2457
2463
|
type="checkbox"
|
|
@@ -2634,7 +2640,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2634
2640
|
input:disabled + .box .dashmark {
|
|
2635
2641
|
color: var(--quantic-fg-disabled-subtle);
|
|
2636
2642
|
}
|
|
2637
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the checkbox is checked."})],e.Checkbox.prototype,"checked",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the checkbox as required for form validation."})],e.Checkbox.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction and applies disabled styling."})],e.Checkbox.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling when the field fails validation."})],e.Checkbox.prototype,"invalid",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Shows an indeterminate (partial-selection) state."})],e.Checkbox.prototype,"indeterminate",void 0),t([fe({type:"string",default:"''",description:"Visible label text. Overridden by slotted content."})],e.Checkbox.prototype,"label",void 0),t([fe({type:"string",default:"''",description:"Name submitted with form data."})],e.Checkbox.prototype,"name",void 0),t([fe({type:"CheckboxSize",options:Object.values(
|
|
2643
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the checkbox is checked."})],e.Checkbox.prototype,"checked",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the checkbox as required for form validation."})],e.Checkbox.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction and applies disabled styling."})],e.Checkbox.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling when the field fails validation."})],e.Checkbox.prototype,"invalid",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Shows an indeterminate (partial-selection) state."})],e.Checkbox.prototype,"indeterminate",void 0),t([fe({type:"string",default:"''",description:"Visible label text. Overridden by slotted content."})],e.Checkbox.prototype,"label",void 0),t([fe({type:"string",default:"''",description:"Name submitted with form data."})],e.Checkbox.prototype,"name",void 0),t([fe({type:"CheckboxSize",options:Object.values(kn),default:kn.Medium,description:"Controls the size of the checkbox box and label text."})],e.Checkbox.prototype,"size",void 0),e.Checkbox=t([Ce("value-changed",{description:"Fired whenever the input's value is updated (on input & change).",detail:"{ checked: boolean, indeterminate: boolean }"}),Ce("input",{forwarded:!0}),Ce("change",{forwarded:!0}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Ce("keydown",{forwarded:!0}),Ce("keyup",{forwarded:!0}),Se("quantic-checkbox")],e.Checkbox),e.ClusterAxis=void 0,(Ln=e.ClusterAxis||(e.ClusterAxis={})).Horizontal="horizontal",Ln.Vertical="vertical",e.ClusterGap=void 0,(In=e.ClusterGap||(e.ClusterGap={})).None="none",In.ExtraSmall="xs",In.Small="sm",In.Medium="md",In.Large="lg",In.ExtraLarge="xl",e.ClusterAlign=void 0,(fn=e.ClusterAlign||(e.ClusterAlign={})).Start="start",fn.Center="center",fn.End="end",fn.Stretch="stretch",e.Cluster=class extends qe{constructor(){super(...arguments),this.axis=e.ClusterAxis.Horizontal,this.gap=e.ClusterGap.Medium,this.align=e.ClusterAlign.Start,this.wrap=!0}render(){const t=Ne({cluster:!0,[`axis--${this.axis}`]:!0,[`gap--${this.gap}`]:!0,[`align--${this.align}`]:!0,nowrap:!this.wrap&&this.axis===e.ClusterAxis.Horizontal});return Re`
|
|
2638
2644
|
<div class=${t}>
|
|
2639
2645
|
<slot></slot>
|
|
2640
2646
|
</div>
|
|
@@ -2696,7 +2702,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2696
2702
|
.align--stretch {
|
|
2697
2703
|
align-items: stretch;
|
|
2698
2704
|
}
|
|
2699
|
-
`,t([fe({type:"ClusterAxis",options:Object.values(e.ClusterAxis),default:e.ClusterAxis.Horizontal,description:"Layout direction."})],e.Cluster.prototype,"axis",void 0),t([fe({type:"ClusterGap",options:Object.values(e.ClusterGap),default:e.ClusterGap.Medium,description:"Spacing between items."})],e.Cluster.prototype,"gap",void 0),t([fe({type:"ClusterAlign",options:Object.values(e.ClusterAlign),default:e.ClusterAlign.Start,description:"Cross-axis alignment."})],e.Cluster.prototype,"align",void 0),t([fe({type:"boolean",default:"true",description:"Whether items wrap to the next line (horizontal axis only)."})],e.Cluster.prototype,"wrap",void 0),e.Cluster=t([Se("quantic-cluster")],e.Cluster);const
|
|
2705
|
+
`,t([fe({type:"ClusterAxis",options:Object.values(e.ClusterAxis),default:e.ClusterAxis.Horizontal,description:"Layout direction."})],e.Cluster.prototype,"axis",void 0),t([fe({type:"ClusterGap",options:Object.values(e.ClusterGap),default:e.ClusterGap.Medium,description:"Spacing between items."})],e.Cluster.prototype,"gap",void 0),t([fe({type:"ClusterAlign",options:Object.values(e.ClusterAlign),default:e.ClusterAlign.Start,description:"Cross-axis alignment."})],e.Cluster.prototype,"align",void 0),t([fe({type:"boolean",default:"true",description:"Whether items wrap to the next line (horizontal axis only)."})],e.Cluster.prototype,"wrap",void 0),e.Cluster=t([Se("quantic-cluster")],e.Cluster);const Cn={Small:"sm",Medium:"md",Large:"lg",XLarge:"xl"},bn={None:"none",Subtle:"subtle",Opaque:"opaque"},Mn={Dialog:"dialog",AlertDialog:"alertdialog"};e.DialogBackdropElement=class extends qe{constructor(){super(...arguments),this.visible=!1,this.variant=bn.Opaque}render(){return W`<div class="backdrop backdrop--${this.variant}"></div>`}},e.DialogBackdropElement.meta={tag:"quantic-dialog-backdrop",description:"Semi-transparent overlay rendered behind quantic-dialog. Internal sub-component — do not use directly.",category:"feedback",relatedTo:["quantic-dialog"]},e.DialogBackdropElement.styles=d`
|
|
2700
2706
|
:host {
|
|
2701
2707
|
position: fixed;
|
|
2702
2708
|
inset: 0;
|
|
@@ -2734,7 +2740,7 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2734
2740
|
background-color: transparent;
|
|
2735
2741
|
pointer-events: none;
|
|
2736
2742
|
}
|
|
2737
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the backdrop is visible."})],e.DialogBackdropElement.prototype,"visible",void 0),t([fe({type:"DialogBackdrop",options:Object.values(
|
|
2743
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the backdrop is visible."})],e.DialogBackdropElement.prototype,"visible",void 0),t([fe({type:"DialogBackdrop",options:Object.values(bn),default:bn.Opaque,description:"Visual style of the backdrop overlay."})],e.DialogBackdropElement.prototype,"variant",void 0),e.DialogBackdropElement=t([Se("quantic-dialog-backdrop")],e.DialogBackdropElement),e.DialogTitle=class extends(ze(qe,["pretitle","subtitle"])){constructor(){super(...arguments),this.level="2"}render(){return W`
|
|
2738
2744
|
<div class="main">
|
|
2739
2745
|
<hgroup>
|
|
2740
2746
|
<slot name="pretitle" class="pretitle"></slot>
|
|
@@ -2806,12 +2812,12 @@ function rn({context:e}){return(t,i)=>{const n=new WeakMap;if("object"==typeof i
|
|
|
2806
2812
|
* tabbable 6.5.0
|
|
2807
2813
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
2808
2814
|
*/
|
|
2809
|
-
var
|
|
2815
|
+
var qn=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],Sn=qn.join(","),Bn="undefined"==typeof Element,An=Bn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Pn=!Bn&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},jn=function(e,t){var i;void 0===t&&(t=!0);var n=null==e||null===(i=e.getAttribute)||void 0===i?void 0:i.call(e,"inert");return""===n||"true"===n||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):jn(e.parentNode))},zn=function(e,t,i){if(jn(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Sn));return t&&An.call(e,Sn)&&n.unshift(e),n=n.filter(i)},Hn=function(e,t,i){for(var n=[],o=Array.from(e);o.length;){var s=o.shift();if(!jn(s,!1))if("SLOT"===s.tagName){var c=s.assignedElements(),r=c.length?c:s.children,a=Hn(r,!0,i);i.flatten?n.push.apply(n,a):n.push({scopeParent:s,candidates:a})}else{An.call(s,Sn)&&i.filter(s)&&(t||!e.includes(s))&&n.push(s);var l=s.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(s),d=!jn(l,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(s));if(l&&d){var u=Hn(!0===l?s.children:l.children,!0,i);i.flatten?n.push.apply(n,u):n.push({scopeParent:s,candidates:u})}else o.unshift.apply(o,s.children)}}return n},Tn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Dn=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,i=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===i||"true"===i}(e))&&!Tn(e)?0:e.tabIndex},Vn=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Fn=function(e){return"INPUT"===e.tagName},Rn=function(e){return function(e){return Fn(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,i=e.form||Pn(e),n=function(e){return i.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var i=0;i<e.length;i++)if(e[i].checked&&e[i].form===t)return e[i]}(t,e.form);return!o||o===e}(e)},On=function(e){var t=e.getBoundingClientRect(),i=t.width,n=t.height;return 0===i&&0===n},$n=function(e,t){var i=t.displayCheck,n=t.getShadowRoot;if("full-native"===i&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var o=getComputedStyle(e).visibility;if("hidden"===o||"collapse"===o)return!0;var s=An.call(e,"details>summary:first-of-type")?e.parentElement:e;if(An.call(s,"details:not([open]) *"))return!0;if(i&&"full"!==i&&"full-native"!==i&&"legacy-full"!==i){if("non-zero-area"===i)return On(e)}else{if("function"==typeof n){for(var c=e;e;){var r=e.parentElement,a=Pn(e);if(r&&!r.shadowRoot&&!0===n(r))return On(e);e=e.assignedSlot?e.assignedSlot:r||a===e.ownerDocument?r:a.host}e=c}if(function(e){var t,i,n,o,s=e&&Pn(e),c=null===(t=s)||void 0===t?void 0:t.host,r=!1;if(s&&s!==e)for(r=!!(null!==(i=c)&&void 0!==i&&null!==(n=i.ownerDocument)&&void 0!==n&&n.contains(c)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!r&&c;){var a,l,d;r=!(null===(l=c=null===(a=s=Pn(c))||void 0===a?void 0:a.host)||void 0===l||null===(d=l.ownerDocument)||void 0===d||!d.contains(c))}return r}(e))return!e.getClientRects().length;if("legacy-full"!==i)return!0}return!1},_n=function(e,t){return!(t.disabled||function(e){return Fn(e)&&"hidden"===e.type}(t)||$n(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var i=0;i<t.children.length;i++){var n=t.children.item(i);if("LEGEND"===n.tagName)return!!An.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},En=function(e,t){return!(Rn(t)||Dn(t)<0||!_n(e,t))},Un=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Gn=function(e){var t=[],i=[];return e.forEach(function(e,n){var o=!!e.scopeParent,s=o?e.scopeParent:e,c=function(e,t){var i=Dn(e);return i<0&&t&&!Tn(e)?0:i}(s,o),r=o?Gn(e.candidates):s;0===c?o?t.push.apply(t,r):t.push(s):i.push({documentOrder:n,tabIndex:c,item:e,isScope:o,content:r})}),i.sort(Vn).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},Zn=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==An.call(e,Sn)&&En(t,e)},Nn=qn.concat("iframe:not([inert]):not([inert] *)").join(","),Wn=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==An.call(e,Nn)&&_n(t,e)};
|
|
2810
2816
|
/*!
|
|
2811
2817
|
* focus-trap 7.8.0
|
|
2812
2818
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
2813
2819
|
*/
|
|
2814
|
-
function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function Xn(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=eo(e))||t){i&&(e=i);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,r=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return c=e.done,e},e:function(e){r=!0,s=e},f:function(){try{c||null==i.return||i.return()}finally{if(r)throw s}}}}function Kn(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Jn(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function Qn(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(i),!0).forEach(function(t){Kn(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Jn(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function Yn(e){return function(e){if(Array.isArray(e))return Wn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||eo(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eo(e,t){if(e){if("string"==typeof e)return Wn(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Wn(e,t):void 0}}var to={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==to.getActiveTrap(e)&&to.pauseTrap(e);var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var i=e.indexOf(t);-1!==i&&e.splice(i,1),to.unpauseTrap(e)},pauseTrap:function(e){var t=to.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=to.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},io=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},no=function(e){return io(e)&&!e.shiftKey},oo=function(e){return io(e)&&e.shiftKey},so=function(e){return setTimeout(e,0)},co=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,i):e},ro=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},ao=[],lo=function(e,t){var i,n=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||ao,s=Qn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:no,isKeyBackward:oo},t),c={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},r=function(e,t,i){return e&&void 0!==e[t]?e[t]:s[i||t]},a=function(e,t){var i="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return c.containerGroups.findIndex(function(t){var n=t.container,o=t.tabbableNodes;return n.contains(e)||(null==i?void 0:i.includes(n))||o.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.hasFallback,o=void 0!==i&&i,c=t.params,r=void 0===c?[]:c,a=s[e];if("function"==typeof a&&(a=a.apply(void 0,Yn(r))),!0===a&&(a=void 0),!a){if(void 0===a||!1===a)return a;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=a;if("string"==typeof a){try{l=n.querySelector(a)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!l&&!o)throw new Error("`".concat(e,"` as selector refers to no known node"))}return l},d=function(){var e=l("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!Nn(e,s.tabbableOptions))if(a(n.activeElement)>=0)e=n.activeElement;else{var t=c.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}else null===e&&(e=l("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(c.containerGroups=c.containers.map(function(e){var t=function(e,t){var i;return i=(t=t||{}).getShadowRoot?zn([e],t.includeContainer,{filter:_n.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:En}):jn(e,t.includeContainer,_n.bind(null,t)),Un(i)}(e,s.tabbableOptions),i=function(e,t){return(t=t||{}).getShadowRoot?zn([e],t.includeContainer,{filter:$n.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):jn(e,t.includeContainer,$n.bind(null,t))}(e,s.tabbableOptions),n=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,c=i.find(function(e){return Gn(e)}),r=i.slice().reverse().find(function(e){return Gn(e)}),a=!!t.find(function(e){return Tn(e)>0});return{container:e,tabbableNodes:t,focusableNodes:i,posTabIndexesFound:a,firstTabbableNode:n,lastTabbableNode:o,firstDomTabbableNode:c,lastDomTabbableNode:r,nextTabbableNode:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?n?i.slice(i.indexOf(e)+1).find(function(e){return Gn(e)}):i.slice(0,i.indexOf(e)).reverse().find(function(e){return Gn(e)}):t[o+(n?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(e){return e.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?h(t.shadowRoot):t},p=function(e){!1!==e&&e!==h(document)&&(e&&e.focus?(e.focus({preventScroll:!!s.preventScroll}),c.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):p(d()))},g=function(e){var t=l("setReturnFocus",{params:[e]});return t||!1!==t&&e},v=function(e){var t=e.target,i=e.event,n=e.isBackward,o=void 0!==n&&n;t=t||ro(i),u();var r=null;if(c.tabbableGroups.length>0){var d=a(t,i),h=d>=0?c.containerGroups[d]:void 0;if(d<0)r=o?c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:c.tabbableGroups[0].firstTabbableNode;else if(o){var p=c.tabbableGroups.findIndex(function(e){var i=e.firstTabbableNode;return t===i});if(p<0&&(h.container===t||Nn(t,s.tabbableOptions)&&!Gn(t,s.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=d),p>=0){var g=0===p?c.tabbableGroups.length-1:p-1,v=c.tabbableGroups[g];r=Tn(t)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else io(i)||(r=h.nextTabbableNode(t,!1))}else{var w=c.tabbableGroups.findIndex(function(e){var i=e.lastTabbableNode;return t===i});if(w<0&&(h.container===t||Nn(t,s.tabbableOptions)&&!Gn(t,s.tabbableOptions)&&!h.nextTabbableNode(t))&&(w=d),w>=0){var m=w===c.tabbableGroups.length-1?0:w+1,k=c.tabbableGroups[m];r=Tn(t)>=0?k.firstTabbableNode:k.firstDomTabbableNode}else io(i)||(r=h.nextTabbableNode(t))}}else r=l("fallbackFocus");return r},w=function(e){var t=ro(e);a(t,e)>=0||(co(s.clickOutsideDeactivates,e)?i.deactivate({returnFocus:s.returnFocusOnDeactivate}):co(s.allowOutsideClick,e)||e.preventDefault())},m=function(e){var t=ro(e),i=a(t,e)>=0;if(i||t instanceof Document)i&&(c.mostRecentlyFocusedNode=t);else{var n;e.stopImmediatePropagation();var o=!0;if(c.mostRecentlyFocusedNode)if(Tn(c.mostRecentlyFocusedNode)>0){var r=a(c.mostRecentlyFocusedNode),l=c.containerGroups[r].tabbableNodes;if(l.length>0){var u=l.findIndex(function(e){return e===c.mostRecentlyFocusedNode});u>=0&&(s.isKeyForward(c.recentNavEvent)?u+1<l.length&&(n=l[u+1],o=!1):u-1>=0&&(n=l[u-1],o=!1))}}else c.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return Tn(e)>0})})||(o=!1);else o=!1;o&&(n=v({target:c.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(c.recentNavEvent)})),p(n||(c.mostRecentlyFocusedNode||d()))}c.recentNavEvent=void 0},k=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c.recentNavEvent=e;var i=v({event:e,isBackward:t});i&&(io(e)&&e.preventDefault(),p(i))}(e,s.isKeyBackward(e))},y=function(e){(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)})(e)&&!1!==co(s.escapeDeactivates,e)&&(e.preventDefault(),i.deactivate())},x=function(e){var t=ro(e);a(t,e)>=0||co(s.clickOutsideDeactivates,e)||co(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},L=function(){if(c.active)return to.activateTrap(o,i),c.delayInitialFocusTimer=s.delayInitialFocus?so(function(){p(d())}):p(d()),n.addEventListener("focusin",m,!0),n.addEventListener("mousedown",w,{capture:!0,passive:!1}),n.addEventListener("touchstart",w,{capture:!0,passive:!1}),n.addEventListener("click",x,{capture:!0,passive:!1}),n.addEventListener("keydown",k,{capture:!0,passive:!1}),n.addEventListener("keydown",y),i},I=function(){if(c.active)return n.removeEventListener("focusin",m,!0),n.removeEventListener("mousedown",w,!0),n.removeEventListener("touchstart",w,!0),n.removeEventListener("click",x,!0),n.removeEventListener("keydown",k,!0),n.removeEventListener("keydown",y),i},f="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===c.mostRecentlyFocusedNode})})&&p(d())}):void 0,C=function(){f&&(f.disconnect(),c.active&&!c.paused&&c.containers.map(function(e){f.observe(e,{subtree:!0,childList:!0})}))};return i={get active(){return c.active},get paused(){return c.paused},activate:function(e){if(c.active)return this;var t,a=r(e,"onActivate"),l=r(e,"onPostActivate"),d=r(e,"checkCanFocusTrap"),p=to.getActiveTrap(o),g=!1;p&&!p.paused&&(null===(t=p._setSubtreeIsolation)||void 0===t||t.call(p,!1),g=!0);try{d||u(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=h(n),null==a||a();var v=function(){d&&u(),L(),C(),s.isolateSubtrees&&i._setSubtreeIsolation(!0),null==l||l()};if(d)return d(c.containers.concat()).then(v,v),this;v()}catch(e){var w;if(p===to.getActiveTrap(o)&&g)null===(w=p._setSubtreeIsolation)||void 0===w||w.call(p,!0);throw e}return this},deactivate:function(e){if(!c.active)return this;var t=Qn({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,c.paused||i._setSubtreeIsolation(!1),c.alreadySilent.clear(),I(),c.active=!1,c.paused=!1,C(),to.deactivateTrap(o,i);var n=r(t,"onDeactivate"),a=r(t,"onPostDeactivate"),l=r(t,"checkCanReturnFocus"),d=r(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var u=function(){so(function(){d&&p(g(c.nodeFocusedBeforeActivation)),null==a||a()})};return d&&l?(l(g(c.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){return c.active?(c.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return c.active?(c.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return c.containers=t.map(function(e){return"string"==typeof e?n.querySelector(e):e}),s.isolateSubtrees&&function(e){c.active&&!c.paused&&i._setSubtreeIsolation(!1),c.adjacentElements.clear(),c.alreadySilent.clear();var t,n=new Set,o=new Set,s=Xn(e);try{for(s.s();!(t=s.n()).done;){var r=t.value;n.add(r);for(var a="undefined"!=typeof ShadowRoot&&r.getRootNode()instanceof ShadowRoot,l=r;l;){n.add(l);var d=l.parentElement,u=[];d?u=d.children:!d&&a&&(u=l.getRootNode().children,d=l.getRootNode().host,a="undefined"!=typeof ShadowRoot&&d.getRootNode()instanceof ShadowRoot);var h,p=Xn(u);try{for(p.s();!(h=p.n()).done;){var g=h.value;o.add(g)}}catch(e){p.e(e)}finally{p.f()}l=d}}}catch(e){s.e(e)}finally{s.f()}n.forEach(function(e){o.delete(e)}),c.adjacentElements=o}(c.containers),c.active&&(u(),s.isolateSubtrees&&!c.paused&&i._setSubtreeIsolation(!0)),C(),this}},Object.defineProperties(i,{_isManuallyPaused:{value:function(){return c.manuallyPaused}},_setPausedState:{value:function(e,t){if(c.paused===e)return this;if(c.paused=e,e){var n=r(t,"onPause"),o=r(t,"onPostPause");null==n||n(),I(),C(),i._setSubtreeIsolation(!1),null==o||o()}else{var s=r(t,"onUnpause"),a=r(t,"onPostUnpause");null==s||s(),i._setSubtreeIsolation(!0),u(),L(),C(),null==a||a()}return this}},_setSubtreeIsolation:{value:function(e){s.isolateSubtrees&&c.adjacentElements.forEach(function(t){var i;if(e)if("aria-hidden"===s.isolateSubtrees)"true"!==t.ariaHidden&&"true"!==(null===(i=t.getAttribute("aria-hidden"))||void 0===i?void 0:i.toLowerCase())||c.alreadySilent.add(t),t.setAttribute("aria-hidden","true");else(t.inert||t.hasAttribute("inert"))&&c.alreadySilent.add(t),t.setAttribute("inert",!0);else if(c.alreadySilent.has(t));else if("aria-hidden"===s.isolateSubtrees)t.removeAttribute("aria-hidden");else t.removeAttribute("inert")})}}}),i.updateContainerElements(e),i};e.DialogBackdropElement.ensureDefined(),e.Button.ensureDefined(),e.LucideIconX.ensureDefined(),e.Dialog=class extends(ze(qe,["header","footer"])){constructor(){super(...arguments),this.open=!1,this.size=fn.Medium,this.showCloseButton=!0,this.backdrop=Cn.Opaque,this.persistent=!1,this.role=bn.Dialog,this.ariaLabel=null,this.dialogId=rt("dialog"),this.headerId=rt("dialog-title"),this.originalOverflow="",this.originalPaddingRight="",this.handleTriggerClick=()=>{this.show()},this.handleEscape=e=>{"Escape"===e.key&&this.open&&(e.stopPropagation(),this.persistent||this.hide())},this.handleBackdropClick=e=>{this.persistent||e.target===this.wrapperElement&&this.hide()},this.hide=async()=>{if(!this.open||this.persistent)return;const e=new Event("before-close",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)}}connectedCallback(){super.connectedCallback(),this.addEventListener("dialog-close",this.hide),this.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){if(super.disconnectedCallback(),this.removeEventListener("dialog-close",this.hide),this.removeEventListener("keydown",this.handleEscape),this.unlockBodyScroll(),this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}}updated(e){super.updated(e),e.has("open")&&(this.open?this._activate():e.get("open")&&this._deactivate())}get triggerElement(){return this.triggerSlot?.assignedElements({flatten:!0})[0]}get hasHeaderContent(){return this.headerSlot?.assignedNodes({flatten:!0}).some(e=>e.nodeType!==Node.TEXT_NODE||e.textContent?.trim())??!1}handleSlotChange(){const e=this.triggerElement;e&&(e.setAttribute("aria-controls",this.dialogId),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",this.open?"true":"false"))}lockBodyScroll(){if("undefined"==typeof document)return;const e=window.innerWidth-document.documentElement.clientWidth;this.originalOverflow=document.body.style.overflow,this.originalPaddingRight=document.body.style.paddingRight,document.body.style.overflow="hidden",e>0&&(document.body.style.paddingRight=`${e}px`)}unlockBodyScroll(){"undefined"!=typeof document&&(document.body.style.overflow=this.originalOverflow,document.body.style.paddingRight=this.originalPaddingRight)}updateTriggerAria(){const e=this.triggerElement;e&&e.setAttribute("aria-expanded",this.open?"true":"false")}async waitForDialogRender(){await this.updateComplete,await new Promise(e=>{const t=()=>{this.wrapperElement?.removeEventListener("transitionend",t),e()};this.wrapperElement?.addEventListener("transitionend",t),setTimeout(t,500)})}async show(){if(this.open)return;const e=new Event("before-open",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!0)}async toggle(){this.open?await this.hide():await this.show()}async _activate(){if(this.updateTriggerAria(),this.lockBodyScroll(),this.backdropElement&&(await this.backdropElement.updateComplete,this.backdropElement.visible=!0),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!0},bubbles:!0,composed:!0})),await this.updateComplete,this.mainElement)try{this.focusTrap=lo(this.mainElement,{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,returnFocusOnDeactivate:!0,fallbackFocus:this.mainElement,tabbableOptions:{getShadowRoot:!0}}),this.focusTrap.activate()}catch(e){console.error("Failed to activate focus trap:",e),this.focusTrap=null}await this.waitForDialogRender(),this.dispatchEvent(new Event("after-open",{bubbles:!0,composed:!0}))}async _deactivate(){if(this.updateTriggerAria(),this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}this.backdropElement&&(this.backdropElement.visible=!1),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!1},bubbles:!0,composed:!0})),await this.waitForDialogRender(),this.unlockBodyScroll(),this.dispatchEvent(new Event("after-close",{bubbles:!0,composed:!0}))}render(){return W`
|
|
2820
|
+
function Xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function Kn(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=to(e))||t){i&&(e=i);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,c=!0,r=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return c=e.done,e},e:function(e){r=!0,s=e},f:function(){try{c||null==i.return||i.return()}finally{if(r)throw s}}}}function Jn(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Qn(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function Yn(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(i),!0).forEach(function(t){Jn(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Qn(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function eo(e){return function(e){if(Array.isArray(e))return Xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||to(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function to(e,t){if(e){if("string"==typeof e)return Xn(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Xn(e,t):void 0}}var io={getActiveTrap:function(e){return(null==e?void 0:e.length)>0?e[e.length-1]:null},activateTrap:function(e,t){t!==io.getActiveTrap(e)&&io.pauseTrap(e);var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var i=e.indexOf(t);-1!==i&&e.splice(i,1),io.unpauseTrap(e)},pauseTrap:function(e){var t=io.getActiveTrap(e);null==t||t._setPausedState(!0)},unpauseTrap:function(e){var t=io.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},no=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},oo=function(e){return no(e)&&!e.shiftKey},so=function(e){return no(e)&&e.shiftKey},co=function(e){return setTimeout(e,0)},ro=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,i):e},ao=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},lo=[],uo=function(e,t){var i,n=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||lo,s=Yn({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:oo,isKeyBackward:so},t),c={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},r=function(e,t,i){return e&&void 0!==e[t]?e[t]:s[i||t]},a=function(e,t){var i="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return c.containerGroups.findIndex(function(t){var n=t.container,o=t.tabbableNodes;return n.contains(e)||(null==i?void 0:i.includes(n))||o.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.hasFallback,o=void 0!==i&&i,c=t.params,r=void 0===c?[]:c,a=s[e];if("function"==typeof a&&(a=a.apply(void 0,eo(r))),!0===a&&(a=void 0),!a){if(void 0===a||!1===a)return a;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=a;if("string"==typeof a){try{l=n.querySelector(a)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!l&&!o)throw new Error("`".concat(e,"` as selector refers to no known node"))}return l},d=function(){var e=l("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!Wn(e,s.tabbableOptions))if(a(n.activeElement)>=0)e=n.activeElement;else{var t=c.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}else null===e&&(e=l("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(c.containerGroups=c.containers.map(function(e){var t=function(e,t){var i;return i=(t=t||{}).getShadowRoot?Hn([e],t.includeContainer,{filter:En.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Un}):zn(e,t.includeContainer,En.bind(null,t)),Gn(i)}(e,s.tabbableOptions),i=function(e,t){return(t=t||{}).getShadowRoot?Hn([e],t.includeContainer,{filter:_n.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):zn(e,t.includeContainer,_n.bind(null,t))}(e,s.tabbableOptions),n=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,c=i.find(function(e){return Zn(e)}),r=i.slice().reverse().find(function(e){return Zn(e)}),a=!!t.find(function(e){return Dn(e)>0});return{container:e,tabbableNodes:t,focusableNodes:i,posTabIndexesFound:a,firstTabbableNode:n,lastTabbableNode:o,firstDomTabbableNode:c,lastDomTabbableNode:r,nextTabbableNode:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?n?i.slice(i.indexOf(e)+1).find(function(e){return Zn(e)}):i.slice(0,i.indexOf(e)).reverse().find(function(e){return Zn(e)}):t[o+(n?1:-1)]}}}),c.tabbableGroups=c.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),c.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(c.containerGroups.find(function(e){return e.posTabIndexesFound})&&c.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?h(t.shadowRoot):t},p=function(e){!1!==e&&e!==h(document)&&(e&&e.focus?(e.focus({preventScroll:!!s.preventScroll}),c.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):p(d()))},g=function(e){var t=l("setReturnFocus",{params:[e]});return t||!1!==t&&e},v=function(e){var t=e.target,i=e.event,n=e.isBackward,o=void 0!==n&&n;t=t||ao(i),u();var r=null;if(c.tabbableGroups.length>0){var d=a(t,i),h=d>=0?c.containerGroups[d]:void 0;if(d<0)r=o?c.tabbableGroups[c.tabbableGroups.length-1].lastTabbableNode:c.tabbableGroups[0].firstTabbableNode;else if(o){var p=c.tabbableGroups.findIndex(function(e){var i=e.firstTabbableNode;return t===i});if(p<0&&(h.container===t||Wn(t,s.tabbableOptions)&&!Zn(t,s.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=d),p>=0){var g=0===p?c.tabbableGroups.length-1:p-1,v=c.tabbableGroups[g];r=Dn(t)>=0?v.lastTabbableNode:v.lastDomTabbableNode}else no(i)||(r=h.nextTabbableNode(t,!1))}else{var w=c.tabbableGroups.findIndex(function(e){var i=e.lastTabbableNode;return t===i});if(w<0&&(h.container===t||Wn(t,s.tabbableOptions)&&!Zn(t,s.tabbableOptions)&&!h.nextTabbableNode(t))&&(w=d),w>=0){var m=w===c.tabbableGroups.length-1?0:w+1,k=c.tabbableGroups[m];r=Dn(t)>=0?k.firstTabbableNode:k.firstDomTabbableNode}else no(i)||(r=h.nextTabbableNode(t))}}else r=l("fallbackFocus");return r},w=function(e){var t=ao(e);a(t,e)>=0||(ro(s.clickOutsideDeactivates,e)?i.deactivate({returnFocus:s.returnFocusOnDeactivate}):ro(s.allowOutsideClick,e)||e.preventDefault())},m=function(e){var t=ao(e),i=a(t,e)>=0;if(i||t instanceof Document)i&&(c.mostRecentlyFocusedNode=t);else{var n;e.stopImmediatePropagation();var o=!0;if(c.mostRecentlyFocusedNode)if(Dn(c.mostRecentlyFocusedNode)>0){var r=a(c.mostRecentlyFocusedNode),l=c.containerGroups[r].tabbableNodes;if(l.length>0){var u=l.findIndex(function(e){return e===c.mostRecentlyFocusedNode});u>=0&&(s.isKeyForward(c.recentNavEvent)?u+1<l.length&&(n=l[u+1],o=!1):u-1>=0&&(n=l[u-1],o=!1))}}else c.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return Dn(e)>0})})||(o=!1);else o=!1;o&&(n=v({target:c.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(c.recentNavEvent)})),p(n||(c.mostRecentlyFocusedNode||d()))}c.recentNavEvent=void 0},k=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c.recentNavEvent=e;var i=v({event:e,isBackward:t});i&&(no(e)&&e.preventDefault(),p(i))}(e,s.isKeyBackward(e))},y=function(e){(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)})(e)&&!1!==ro(s.escapeDeactivates,e)&&(e.preventDefault(),i.deactivate())},x=function(e){var t=ao(e);a(t,e)>=0||ro(s.clickOutsideDeactivates,e)||ro(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},L=function(){if(c.active)return io.activateTrap(o,i),c.delayInitialFocusTimer=s.delayInitialFocus?co(function(){p(d())}):p(d()),n.addEventListener("focusin",m,!0),n.addEventListener("mousedown",w,{capture:!0,passive:!1}),n.addEventListener("touchstart",w,{capture:!0,passive:!1}),n.addEventListener("click",x,{capture:!0,passive:!1}),n.addEventListener("keydown",k,{capture:!0,passive:!1}),n.addEventListener("keydown",y),i},I=function(){if(c.active)return n.removeEventListener("focusin",m,!0),n.removeEventListener("mousedown",w,!0),n.removeEventListener("touchstart",w,!0),n.removeEventListener("click",x,!0),n.removeEventListener("keydown",k,!0),n.removeEventListener("keydown",y),i},f="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===c.mostRecentlyFocusedNode})})&&p(d())}):void 0,C=function(){f&&(f.disconnect(),c.active&&!c.paused&&c.containers.map(function(e){f.observe(e,{subtree:!0,childList:!0})}))};return i={get active(){return c.active},get paused(){return c.paused},activate:function(e){if(c.active)return this;var t,a=r(e,"onActivate"),l=r(e,"onPostActivate"),d=r(e,"checkCanFocusTrap"),p=io.getActiveTrap(o),g=!1;p&&!p.paused&&(null===(t=p._setSubtreeIsolation)||void 0===t||t.call(p,!1),g=!0);try{d||u(),c.active=!0,c.paused=!1,c.nodeFocusedBeforeActivation=h(n),null==a||a();var v=function(){d&&u(),L(),C(),s.isolateSubtrees&&i._setSubtreeIsolation(!0),null==l||l()};if(d)return d(c.containers.concat()).then(v,v),this;v()}catch(e){var w;if(p===io.getActiveTrap(o)&&g)null===(w=p._setSubtreeIsolation)||void 0===w||w.call(p,!0);throw e}return this},deactivate:function(e){if(!c.active)return this;var t=Yn({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(c.delayInitialFocusTimer),c.delayInitialFocusTimer=void 0,c.paused||i._setSubtreeIsolation(!1),c.alreadySilent.clear(),I(),c.active=!1,c.paused=!1,C(),io.deactivateTrap(o,i);var n=r(t,"onDeactivate"),a=r(t,"onPostDeactivate"),l=r(t,"checkCanReturnFocus"),d=r(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var u=function(){co(function(){d&&p(g(c.nodeFocusedBeforeActivation)),null==a||a()})};return d&&l?(l(g(c.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){return c.active?(c.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return c.active?(c.manuallyPaused=!1,o[o.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return c.containers=t.map(function(e){return"string"==typeof e?n.querySelector(e):e}),s.isolateSubtrees&&function(e){c.active&&!c.paused&&i._setSubtreeIsolation(!1),c.adjacentElements.clear(),c.alreadySilent.clear();var t,n=new Set,o=new Set,s=Kn(e);try{for(s.s();!(t=s.n()).done;){var r=t.value;n.add(r);for(var a="undefined"!=typeof ShadowRoot&&r.getRootNode()instanceof ShadowRoot,l=r;l;){n.add(l);var d=l.parentElement,u=[];d?u=d.children:!d&&a&&(u=l.getRootNode().children,d=l.getRootNode().host,a="undefined"!=typeof ShadowRoot&&d.getRootNode()instanceof ShadowRoot);var h,p=Kn(u);try{for(p.s();!(h=p.n()).done;){var g=h.value;o.add(g)}}catch(e){p.e(e)}finally{p.f()}l=d}}}catch(e){s.e(e)}finally{s.f()}n.forEach(function(e){o.delete(e)}),c.adjacentElements=o}(c.containers),c.active&&(u(),s.isolateSubtrees&&!c.paused&&i._setSubtreeIsolation(!0)),C(),this}},Object.defineProperties(i,{_isManuallyPaused:{value:function(){return c.manuallyPaused}},_setPausedState:{value:function(e,t){if(c.paused===e)return this;if(c.paused=e,e){var n=r(t,"onPause"),o=r(t,"onPostPause");null==n||n(),I(),C(),i._setSubtreeIsolation(!1),null==o||o()}else{var s=r(t,"onUnpause"),a=r(t,"onPostUnpause");null==s||s(),i._setSubtreeIsolation(!0),u(),L(),C(),null==a||a()}return this}},_setSubtreeIsolation:{value:function(e){s.isolateSubtrees&&c.adjacentElements.forEach(function(t){var i;if(e)if("aria-hidden"===s.isolateSubtrees)"true"!==t.ariaHidden&&"true"!==(null===(i=t.getAttribute("aria-hidden"))||void 0===i?void 0:i.toLowerCase())||c.alreadySilent.add(t),t.setAttribute("aria-hidden","true");else(t.inert||t.hasAttribute("inert"))&&c.alreadySilent.add(t),t.setAttribute("inert",!0);else if(c.alreadySilent.has(t));else if("aria-hidden"===s.isolateSubtrees)t.removeAttribute("aria-hidden");else t.removeAttribute("inert")})}}}),i.updateContainerElements(e),i};e.DialogBackdropElement.ensureDefined(),e.Button.ensureDefined(),e.LucideIconX.ensureDefined(),e.Dialog=class extends(ze(qe,["header","footer"])){constructor(){super(...arguments),this.open=!1,this.size=Cn.Medium,this.showCloseButton=!0,this.backdrop=bn.Opaque,this.persistent=!1,this.role=Mn.Dialog,this.ariaLabel=null,this.dialogId=rt("dialog"),this.headerId=rt("dialog-title"),this.originalOverflow="",this.originalPaddingRight="",this.handleTriggerClick=()=>{this.show()},this.handleEscape=e=>{"Escape"===e.key&&this.open&&(e.stopPropagation(),this.persistent||this.hide())},this.handleBackdropClick=e=>{this.persistent||e.target===this.wrapperElement&&this.hide()},this.hide=async()=>{if(!this.open||this.persistent)return;const e=new Event("before-close",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)}}connectedCallback(){super.connectedCallback(),this.addEventListener("dialog-close",this.hide),this.addEventListener("keydown",this.handleEscape)}disconnectedCallback(){if(super.disconnectedCallback(),this.removeEventListener("dialog-close",this.hide),this.removeEventListener("keydown",this.handleEscape),this.unlockBodyScroll(),this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}}updated(e){super.updated(e),e.has("open")&&(this.open?this._activate():e.get("open")&&this._deactivate())}get triggerElement(){return this.triggerSlot?.assignedElements({flatten:!0})[0]}get hasHeaderContent(){return this.headerSlot?.assignedNodes({flatten:!0}).some(e=>e.nodeType!==Node.TEXT_NODE||e.textContent?.trim())??!1}handleSlotChange(){const e=this.triggerElement;e&&(e.setAttribute("aria-controls",this.dialogId),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",this.open?"true":"false"))}lockBodyScroll(){if("undefined"==typeof document)return;const e=window.innerWidth-document.documentElement.clientWidth;this.originalOverflow=document.body.style.overflow,this.originalPaddingRight=document.body.style.paddingRight,document.body.style.overflow="hidden",e>0&&(document.body.style.paddingRight=`${e}px`)}unlockBodyScroll(){"undefined"!=typeof document&&(document.body.style.overflow=this.originalOverflow,document.body.style.paddingRight=this.originalPaddingRight)}updateTriggerAria(){const e=this.triggerElement;e&&e.setAttribute("aria-expanded",this.open?"true":"false")}async waitForDialogRender(){await this.updateComplete,await new Promise(e=>{const t=()=>{this.wrapperElement?.removeEventListener("transitionend",t),e()};this.wrapperElement?.addEventListener("transitionend",t),setTimeout(t,500)})}async show(){if(this.open)return;const e=new Event("before-open",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!0)}async toggle(){this.open?await this.hide():await this.show()}async _activate(){if(this.updateTriggerAria(),this.lockBodyScroll(),this.backdropElement&&(await this.backdropElement.updateComplete,this.backdropElement.visible=!0),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!0},bubbles:!0,composed:!0})),await this.updateComplete,this.mainElement)try{this.focusTrap=uo(this.mainElement,{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,returnFocusOnDeactivate:!0,fallbackFocus:this.mainElement,tabbableOptions:{getShadowRoot:!0}}),this.focusTrap.activate()}catch(e){console.error("Failed to activate focus trap:",e),this.focusTrap=null}await this.waitForDialogRender(),this.dispatchEvent(new Event("after-open",{bubbles:!0,composed:!0}))}async _deactivate(){if(this.updateTriggerAria(),this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}this.backdropElement&&(this.backdropElement.visible=!1),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!1},bubbles:!0,composed:!0})),await this.waitForDialogRender(),this.unlockBodyScroll(),this.dispatchEvent(new Event("after-close",{bubbles:!0,composed:!0}))}render(){return W`
|
|
2815
2821
|
<div class="trigger" @click=${this.handleTriggerClick}>
|
|
2816
2822
|
<slot name="trigger" @slotchange=${this.handleSlotChange}></slot>
|
|
2817
2823
|
</div>
|
|
@@ -2988,10 +2994,10 @@ function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;
|
|
|
2988
2994
|
.trigger {
|
|
2989
2995
|
display: contents;
|
|
2990
2996
|
}
|
|
2991
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the dialog is visible."})],e.Dialog.prototype,"open",void 0),t([fe({type:"DialogSize",options:Object.values(
|
|
2997
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the dialog is visible."})],e.Dialog.prototype,"open",void 0),t([fe({type:"DialogSize",options:Object.values(Cn),default:Cn.Medium,description:"Maximum width of the dialog panel."})],e.Dialog.prototype,"size",void 0),t([fe({type:"boolean",default:"true",description:"Shows a built-in close button in the top-right corner."})],e.Dialog.prototype,"showCloseButton",void 0),t([fe({type:"DialogBackdrop",options:Object.values(bn),default:bn.Opaque,description:"Style of the backdrop overlay."})],e.Dialog.prototype,"backdrop",void 0),t([fe({type:"boolean",default:"false",description:"Prevents the dialog from being closed via Escape or backdrop click."})],e.Dialog.prototype,"persistent",void 0),t([fe({type:"DialogRole",options:Object.values(Mn),default:Mn.Dialog,description:'ARIA role for the dialog element. Use "alertdialog" for confirmation dialogs.'})],e.Dialog.prototype,"role",void 0),t([fe({type:"string",attribute:"aria-label",description:"Accessible label when the dialog has no visible heading."})],e.Dialog.prototype,"ariaLabel",void 0),t([xe("quantic-dialog-backdrop")],e.Dialog.prototype,"backdropElement",void 0),t([xe(".wrapper")],e.Dialog.prototype,"wrapperElement",void 0),t([xe(".main")],e.Dialog.prototype,"mainElement",void 0),t([xe('slot[name="trigger"]')],e.Dialog.prototype,"triggerSlot",void 0),t([xe('slot[name="header"]')],e.Dialog.prototype,"headerSlot",void 0),e.Dialog=t([Ce("open-changed",{description:"Fired when the dialog open state changes.",detail:"{ open: boolean }"}),Ce("before-open",{description:"Fired before the dialog opens."}),Ce("after-open",{description:"Fired after the dialog opens and animations complete."}),Ce("before-close",{description:"Fired before the dialog closes."}),Ce("after-close",{description:"Fired after the dialog closes and animations complete."}),Se("quantic-dialog")],e.Dialog),e.ConfirmDialog=class extends qe{constructor(){super(...arguments),this.open=!1,this.heading="",this.message="",this.confirmText="Confirm",this.cancelText="Cancel",this.destructive=!1,this.loading=!1,this.persistent=!1,this.showCloseButton=!0,this.size=Cn.Small,this.handleConfirmClick=()=>{if(this.loading)return;const e=new Event("confirm",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1)},this.handleCancelClick=()=>{this.loading||(this.dispatchEvent(new Event("cancel",{bubbles:!0,composed:!0})),this.open=!1)},this.handleInnerBeforeClose=()=>{this.dispatchEvent(new Event("cancel",{bubbles:!0,composed:!0}))},this.handleInnerOpenChanged=e=>{const t=e.detail;this.open!==t.open&&(this.open=t.open)}}updated(e){super.updated(e),e.has("open")&&this.innerDialog&&(this.innerDialog.open=this.open)}get buttonSize(){return this.size===Cn.Large||this.size===Cn.XLarge?$e.Medium:$e.Small}render(){return W`
|
|
2992
2998
|
<quantic-dialog
|
|
2993
2999
|
.size=${this.size}
|
|
2994
|
-
.role=${
|
|
3000
|
+
.role=${Mn.AlertDialog}
|
|
2995
3001
|
?persistent=${this.persistent||this.loading}
|
|
2996
3002
|
?show-close-button=${this.showCloseButton&&!this.loading}
|
|
2997
3003
|
@before-close=${this.handleInnerBeforeClose}
|
|
@@ -3054,7 +3060,7 @@ function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;
|
|
|
3054
3060
|
[hidden] {
|
|
3055
3061
|
display: none;
|
|
3056
3062
|
}
|
|
3057
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the dialog is visible."})],e.ConfirmDialog.prototype,"open",void 0),t([fe({type:"string",description:"Heading shown in the dialog header."})],e.ConfirmDialog.prototype,"heading",void 0),t([fe({type:"string",description:"Body message. Ignored if default slot has content. Use the slot for rich content."})],e.ConfirmDialog.prototype,"message",void 0),t([fe({type:"string",attribute:"confirm-text",default:'"Confirm"',description:"Label for the confirm action button."})],e.ConfirmDialog.prototype,"confirmText",void 0),t([fe({type:"string",attribute:"cancel-text",default:'"Cancel"',description:"Label for the cancel action button."})],e.ConfirmDialog.prototype,"cancelText",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Renders the confirm button in error/danger colors. Use for irreversible actions such as delete or remove."})],e.ConfirmDialog.prototype,"destructive",void 0),t([fe({type:"boolean",default:"false",description:"Disables both action buttons. Set while performing an async action after a confirm event."})],e.ConfirmDialog.prototype,"loading",void 0),t([fe({type:"boolean",default:"false",description:"Prevents the dialog from being closed via Escape, backdrop, or the close button."})],e.ConfirmDialog.prototype,"persistent",void 0),t([fe({type:"boolean",attribute:"show-close-button",default:"true",description:"Shows the close (X) button in the top-right corner."})],e.ConfirmDialog.prototype,"showCloseButton",void 0),t([fe({type:"DialogSize",options:Object.values(
|
|
3063
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the dialog is visible."})],e.ConfirmDialog.prototype,"open",void 0),t([fe({type:"string",description:"Heading shown in the dialog header."})],e.ConfirmDialog.prototype,"heading",void 0),t([fe({type:"string",description:"Body message. Ignored if default slot has content. Use the slot for rich content."})],e.ConfirmDialog.prototype,"message",void 0),t([fe({type:"string",attribute:"confirm-text",default:'"Confirm"',description:"Label for the confirm action button."})],e.ConfirmDialog.prototype,"confirmText",void 0),t([fe({type:"string",attribute:"cancel-text",default:'"Cancel"',description:"Label for the cancel action button."})],e.ConfirmDialog.prototype,"cancelText",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Renders the confirm button in error/danger colors. Use for irreversible actions such as delete or remove."})],e.ConfirmDialog.prototype,"destructive",void 0),t([fe({type:"boolean",default:"false",description:"Disables both action buttons. Set while performing an async action after a confirm event."})],e.ConfirmDialog.prototype,"loading",void 0),t([fe({type:"boolean",default:"false",description:"Prevents the dialog from being closed via Escape, backdrop, or the close button."})],e.ConfirmDialog.prototype,"persistent",void 0),t([fe({type:"boolean",attribute:"show-close-button",default:"true",description:"Shows the close (X) button in the top-right corner."})],e.ConfirmDialog.prototype,"showCloseButton",void 0),t([fe({type:"DialogSize",options:Object.values(Cn),default:Cn.Small,description:"Maximum width of the dialog panel."})],e.ConfirmDialog.prototype,"size",void 0),t([xe("quantic-dialog")],e.ConfirmDialog.prototype,"innerDialog",void 0),e.ConfirmDialog=t([Ce("confirm",{description:"Fired when the confirm button is clicked. Cancellable — call preventDefault() to keep the dialog open (e.g. while performing an async action with `loading`)."}),Ce("cancel",{description:"Fired when the dialog is dismissed via the cancel button, close button, Escape, or backdrop click."}),Se("quantic-confirm-dialog")],e.ConfirmDialog);const ho={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg",ExtraLarge:"xl"},po="dropdown-menu.size",go={Top:"top",TopStart:"top-start",TopEnd:"top-end",Bottom:"bottom",BottomStart:"bottom-start",BottomEnd:"bottom-end",Left:"left",LeftStart:"left-start",LeftEnd:"left-end",Right:"right",RightStart:"right-start",RightEnd:"right-end"},vo={Click:"click",Hover:"hover",Focus:"focus",Manual:"manual"};e.PopoverPopup=class extends(ze(qe,["header","footer"])){constructor(){super(...arguments),this.visible=!1}render(){return W`
|
|
3058
3064
|
<div class="main">
|
|
3059
3065
|
<slot name="header"></slot>
|
|
3060
3066
|
<slot></slot>
|
|
@@ -3152,7 +3158,7 @@ function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;
|
|
|
3152
3158
|
* Copyright 2018 Google LLC
|
|
3153
3159
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3154
3160
|
*/
|
|
3155
|
-
const
|
|
3161
|
+
const wo="important",mo=" !"+wo,ko=Ge(class extends Ze{constructor(e){if(super(e),e.type!==Ee||"style"!==e.name||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,i)=>{const n=e[i];return null==n?t:t+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){const{style:i}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(t)),this.render(t);for(const e of this.ft)null==t[e]&&(this.ft.delete(e),e.includes("-")?i.removeProperty(e):i[e]=null);for(const e in t){const n=t[e];if(null!=n){this.ft.add(e);const t="string"==typeof n&&n.endsWith(mo);e.includes("-")||t?i.setProperty(e,t?n.slice(0,-11):n,t?wo:""):i[e]=n}}return K}});e.PopoverPopup.ensureDefined(),e.Button.ensureDefined(),e.LucideIconX.ensureDefined(),e.Popover=class extends qe{constructor(){super(...arguments),this.placement=go.Bottom,this.trigger=vo.Click,this.open=!1,this.offset=8,this.disabled=!1,this.closeable=!1,this.popoverId=rt("popover"),this.handleTriggerClick=e=>{this.disabled||this.trigger!==vo.Click||(e.stopPropagation(),this.toggle())},this.handleTriggerMouseEnter=()=>{this.disabled||this.trigger!==vo.Hover||(this.clearTimeouts(),this.showTimeout=window.setTimeout(()=>this.show(),150))},this.handleTriggerMouseLeave=()=>{this.disabled||this.trigger!==vo.Hover||(this.clearTimeouts(),this.hideTimeout=window.setTimeout(()=>this.hide(),150))},this.handleTriggerFocus=()=>{this.disabled||this.trigger!==vo.Focus||this.show()},this.handleTriggerBlur=()=>{this.disabled||this.trigger!==vo.Focus||this.hide()},this.handlePopupMouseEnter=()=>{this.trigger===vo.Hover&&this.clearTimeouts()},this.handlePopupMouseLeave=()=>{this.trigger===vo.Hover&&(this.clearTimeouts(),this.hideTimeout=window.setTimeout(()=>this.hide(),150))},this.handleEscape=e=>{"Escape"===e.key&&this.open&&this.hide()},this.handleClickOutside=e=>{const t=e.composedPath(),i=t.includes(this)||this.popup&&t.includes(this.popup);this.open&&!i&&this.hide()},this.hide=async()=>{if(!this.open)return;const e=new Event("before-close",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!1,this.updateTriggerAria(),this.popup&&(this.cleanup?.(),this.popup.visible=!1,this.removeClickOutsideListener(),document.removeEventListener("keydown",this.handleEscape),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!1},bubbles:!0,composed:!0})),this.dispatchEvent(new Event("after-close",{bubbles:!0,composed:!0}))))}}connectedCallback(){super.connectedCallback(),this.addEventListener("popover-close",this.hide)}firstUpdated(){this.open&&this.show()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeouts(),this.cleanup?.(),this.removeClickOutsideListener(),document.removeEventListener("keydown",this.handleEscape),this.removeEventListener("popover-close",this.hide)}get triggerElement(){return this.triggerSlot?.assignedElements({flatten:!0})[0]}handleSlotChange(){const e=this.triggerElement;e&&(e.setAttribute("aria-controls",this.popoverId),e.setAttribute("aria-expanded",this.open?"true":"false"))}clearTimeouts(){this.showTimeout&&clearTimeout(this.showTimeout),this.hideTimeout&&clearTimeout(this.hideTimeout),this.showTimeout=void 0,this.hideTimeout=void 0}addClickOutsideListener(){document.addEventListener("click",this.handleClickOutside,!0)}removeClickOutsideListener(){document.removeEventListener("click",this.handleClickOutside,!0)}async toggle(){this.open?await this.hide():await this.show()}async show(){if(this.disabled||this.open)return;const e=new Event("before-open",{cancelable:!0,bubbles:!0,composed:!0});this.dispatchEvent(e),e.defaultPrevented||(this.open=!0,this.updateTriggerAria(),this.popup&&this.triggerElement&&(await this.popup.updateComplete,this.popup.visible=!0,this.popup.id=this.popoverId,this.popup.setAttribute("role","dialog"),this.popup.setAttribute("aria-modal","true"),this.updatePosition(),this.removeClickOutsideListener(),this.addClickOutsideListener(),document.removeEventListener("keydown",this.handleEscape),document.addEventListener("keydown",this.handleEscape),this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:!0},bubbles:!0,composed:!0})),this.dispatchEvent(new Event("after-open",{bubbles:!0,composed:!0}))))}updateTriggerAria(){const e=this.triggerElement;e&&e.setAttribute("aria-expanded",this.open?"true":"false")}updatePosition(){if(this.triggerElement&&this.popup){const e=[Ui(this.offset),Zi(),Gi({padding:8})];this.cleanup=Ei(this.triggerElement,this.popup,async()=>{if(!this.triggerElement||!this.popup)return;const{x:t,y:i}=await Wi(this.triggerElement,this.popup,{placement:this.placement,middleware:e,strategy:"fixed"});Object.assign(this.popup.style,{left:`${t}px`,top:`${i}px`})})}}isLeftAligned(){return this.placement===go.Left||this.placement===go.LeftStart||this.placement===go.LeftEnd}isRightAligned(){return this.placement===go.Right||this.placement===go.RightStart||this.placement===go.RightEnd}isTopAligned(){return this.placement===go.Top||this.placement===go.TopStart||this.placement===go.TopEnd}isBottomAligned(){return this.placement===go.Bottom||this.placement===go.BottomStart||this.placement===go.BottomEnd}get originY(){return this.isTopAligned()?1:this.isBottomAligned()?-1:0}get originX(){return this.isLeftAligned()?1:this.isRightAligned()?-1:0}render(){return W`
|
|
3156
3162
|
<div
|
|
3157
3163
|
class="trigger"
|
|
3158
3164
|
@click=${this.handleTriggerClick}
|
|
@@ -3164,7 +3170,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3164
3170
|
<slot name="trigger" @slotchange=${this.handleSlotChange}></slot>
|
|
3165
3171
|
</div>
|
|
3166
3172
|
<quantic-popover-popup
|
|
3167
|
-
style=${
|
|
3173
|
+
style=${ko({"--origin-y":this.originY,"--origin-x":this.originX})}
|
|
3168
3174
|
@slotchange=${this.handleSlotChange}
|
|
3169
3175
|
@mouseenter=${this.handlePopupMouseEnter}
|
|
3170
3176
|
@mouseleave=${this.handlePopupMouseLeave}
|
|
@@ -3209,7 +3215,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3209
3215
|
top: var(--quantic-spacing-2);
|
|
3210
3216
|
right: var(--quantic-spacing-2);
|
|
3211
3217
|
}
|
|
3212
|
-
`,t([fe({type:"PopoverPlacement",options:Object.values(
|
|
3218
|
+
`,t([fe({type:"PopoverPlacement",options:Object.values(go),default:go.Bottom,description:"Preferred placement of the popup relative to the trigger."})],e.Popover.prototype,"placement",void 0),t([fe({type:"PopoverTrigger",options:Object.values(vo),default:vo.Click,description:'Interaction that opens the popover: "click", "hover", "focus", or "manual".'})],e.Popover.prototype,"trigger",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the popover is currently open."})],e.Popover.prototype,"open",void 0),t([fe({type:"number",default:"8",description:"Distance in pixels between the trigger and the popup."})],e.Popover.prototype,"offset",void 0),t([fe({type:"boolean",default:"false",description:"Prevents the popover from opening."})],e.Popover.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",description:"Shows a close button inside the popup."})],e.Popover.prototype,"closeable",void 0),t([xe('slot[name="trigger"]')],e.Popover.prototype,"triggerSlot",void 0),t([xe("quantic-popover-popup")],e.Popover.prototype,"popup",void 0),e.Popover=t([Ce("open-changed",{description:"Fired when the popover open state changes.",detail:"{ open: boolean }"}),Ce("before-open",{description:"Fired before the popover opens."}),Ce("after-open",{description:"Fired after the popover opens and animations complete."}),Ce("before-close",{description:"Fired before the popover closes."}),Ce("after-close",{description:"Fired after the popover closes and animations complete."}),Se("quantic-popover")],e.Popover),e.Popover.ensureDefined(),e.DropdownMenu=class extends qe{constructor(){super(...arguments),this.size=ho.Medium,this.placement=go.BottomStart,this.open=!1,this.persistent=!1,this.disabled=!1,this.offset=4,this.focusedIndex=0,this.keyHandlers={ArrowDown:()=>this.focusItemAtIndex(this.focusedIndex+1),ArrowUp:()=>this.focusItemAtIndex(this.focusedIndex-1),Home:()=>this.focusItemAtIndex(0),End:()=>{const e=this.getMenuItems();this.focusItemAtIndex(e.length-1)},Escape:()=>this.close(),Tab:()=>this.close()}}connectedCallback(){super.connectedCallback(),this.addEventListener("item-selected",this.handleItemSelected)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("item-selected",this.handleItemSelected)}getMenuItems(){return this.menuItems.filter(e=>"quantic-dropdown-menu-item"===e.tagName.toLowerCase()&&!e.hasAttribute("disabled"))}focusItemAtIndex(e){const t=this.getMenuItems();0!==t.length&&(this.focusedIndex=st(e,0,t.length-1),t[this.focusedIndex].focus())}handleKeyDown(e){if(!this.open)return;if(0===this.getMenuItems().length)return;const t=this.keyHandlers[e.key];t&&(e.preventDefault(),e.stopPropagation(),t())}handleItemSelected(e){e.target!==this&&(e.stopPropagation(),this.dispatchEvent(new CustomEvent("item-selected",{detail:e.detail,bubbles:!0,composed:!0})),this.persistent||this.close())}handleOpenChanged(e){this.open=e.detail.open,this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:this.open},bubbles:!0,composed:!0}))}handleAfterOpen(){this.updateComplete.then(()=>{this.focusedIndex=0,this.focusItemAtIndex(0)})}async toggle(){await(this.popoverElement?.toggle())}async show(){await(this.popoverElement?.show())}async close(){this.focusedIndex=0,await(this.popoverElement?.hide())}render(){return W`
|
|
3213
3219
|
<quantic-popover
|
|
3214
3220
|
placement=${this.placement}
|
|
3215
3221
|
trigger="click"
|
|
@@ -3272,7 +3278,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3272
3278
|
overflow-y: auto;
|
|
3273
3279
|
padding: var(--quantic-component-dropdown-menu-padding);
|
|
3274
3280
|
}
|
|
3275
|
-
`,t([rn({context:
|
|
3281
|
+
`,t([rn({context:po}),fe({type:"DropdownMenuSize",options:Object.values(ho),default:ho.Medium,description:"Size passed down to all child menu items."})],e.DropdownMenu.prototype,"size",void 0),t([fe({type:"PopoverPlacement",options:Object.values(go),default:go.BottomStart,description:"Preferred placement of the floating menu relative to the trigger."})],e.DropdownMenu.prototype,"placement",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the menu is currently open."})],e.DropdownMenu.prototype,"open",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"When true, the menu stays open after an item is selected."})],e.DropdownMenu.prototype,"persistent",void 0),t([fe({type:"boolean",default:"false",description:"Prevents the trigger from opening the menu."})],e.DropdownMenu.prototype,"disabled",void 0),t([fe({type:"number",default:"4",description:"Distance in pixels between the trigger and the floating menu."})],e.DropdownMenu.prototype,"offset",void 0),t([xe("quantic-popover")],e.DropdownMenu.prototype,"popoverElement",void 0),t([xe(".menu-content")],e.DropdownMenu.prototype,"menuContent",void 0),t([function(e){return(t,i)=>{const{slot:n,selector:o}=e??{},s="slot"+(n?`[name=${n}]`:":not([name])");return ye(t,i,{get(){const t=this.renderRoot?.querySelector(s),i=t?.assignedElements(e)??[];return void 0===o?i:i.filter(e=>e.matches(o))}})}}({flatten:!0})],e.DropdownMenu.prototype,"menuItems",void 0),e.DropdownMenu=t([Ce("open-changed",{description:"Fired when the dropdown menu open state changes.",detail:"{ open: boolean }"}),Ce("item-selected",{description:"Fired when a menu item is selected.",detail:"{ value: string }"}),Se("quantic-dropdown-menu")],e.DropdownMenu),e.DropdownMenuItem=class extends qe{constructor(){super(...arguments),this.as="button",this.disabled=!1,this.selected=!1,this.value="",this.destructive=!1,this.label=""}focus(e){this.mainEl?.focus(e)}handleClick(e){if(this.disabled)return e.preventDefault(),void e.stopPropagation();this.dispatchEvent(new CustomEvent("item-selected",{detail:{value:this.value},bubbles:!0,composed:!0,cancelable:!1}))}render(){const e=Ne({main:!0,[`size--${this.size}`]:!!this.size,"is-selected":this.selected,"is-destructive":this.destructive}),t=this.rel??("_blank"===this.target?"noopener noreferrer":void 0);return"a"===this.as?W`<a
|
|
3276
3282
|
class=${e}
|
|
3277
3283
|
role="menuitem"
|
|
3278
3284
|
tabindex="-1"
|
|
@@ -3462,7 +3468,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3462
3468
|
overflow: visible;
|
|
3463
3469
|
display: flex;
|
|
3464
3470
|
}
|
|
3465
|
-
`,t([an({context:
|
|
3471
|
+
`,t([an({context:po,subscribe:!0})],e.DropdownMenuItem.prototype,"size",void 0),t([xe(".main")],e.DropdownMenuItem.prototype,"mainEl",void 0),t([fe({type:'"button" | "a"',default:"button",description:'Underlying HTML element. Use "a" for navigation items.'})],e.DropdownMenuItem.prototype,"as",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction and reduces opacity."})],e.DropdownMenuItem.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the item as the currently active selection."})],e.DropdownMenuItem.prototype,"selected",void 0),t([fe({type:"string",default:"",description:"Value emitted in the item-selected event detail."})],e.DropdownMenuItem.prototype,"value",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Renders in error/danger colors for destructive actions."})],e.DropdownMenuItem.prototype,"destructive",void 0),t([fe({type:"string",default:"",description:"Accessible label used as the element title attribute."})],e.DropdownMenuItem.prototype,"label",void 0),t([fe({type:"string",description:'URL for link items (as="a" only).'})],e.DropdownMenuItem.prototype,"href",void 0),t([fe({type:"string",description:'Link target (as="a" only).'})],e.DropdownMenuItem.prototype,"target",void 0),t([fe({type:"string",description:'Download filename (as="a" only).'})],e.DropdownMenuItem.prototype,"download",void 0),t([fe({type:"string",description:'Link rel attribute (as="a" only). Defaults to "noopener noreferrer" when target="_blank".'})],e.DropdownMenuItem.prototype,"rel",void 0),e.DropdownMenuItem=t([Ce("item-selected",{description:"Fired when the item is selected.",detail:"{ value: string }"}),Se("quantic-dropdown-menu-item")],e.DropdownMenuItem),e.DropdownMenuGroup=class extends(ze(qe,["label"])){constructor(){super(...arguments),this.label=""}render(){const e=!!this.label;return W`
|
|
3466
3472
|
<div class="label" id="group-label" ?hidden=${!e}>
|
|
3467
3473
|
<slot name="label">${this.label}</slot>
|
|
3468
3474
|
</div>
|
|
@@ -3511,7 +3517,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3511
3517
|
.label {
|
|
3512
3518
|
display: block;
|
|
3513
3519
|
}
|
|
3514
|
-
`)],t([fe({type:"string",default:"",description:"Section heading displayed above the group items."})],e.DropdownMenuGroup.prototype,"label",void 0),e.DropdownMenuGroup=t([Se("quantic-dropdown-menu-group")],e.DropdownMenuGroup);const
|
|
3520
|
+
`)],t([fe({type:"string",default:"",description:"Section heading displayed above the group items."})],e.DropdownMenuGroup.prototype,"label",void 0),e.DropdownMenuGroup=t([Se("quantic-dropdown-menu-group")],e.DropdownMenuGroup);const yo={Error:"error",Success:"success",Warning:"warning"},xo={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},Lo={Default:"default",Grid:"grid"},Io={Above:"above",Below:"below"},fo={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};function Co(e,i,n){let o=class extends i{constructor(){super(...arguments),this.label="",this.hint="",this.message="",this.required=!1,this.fieldId=rt("field"),this.labelSlotText="",this.hintSlotText="",this.messageSlotText=""}get computedLabel(){return this.labelSlotText||this.label}get computedHint(){return this.hintSlotText||this.hint}get computedMessage(){return this.messageSlotText||this.message}getFieldA11yContext(){const e=(t=[this.computedHint,this.computedMessage],t.filter(e=>null!=e&&""!==e)).join(". ");var t;return{fieldId:this.fieldId,description:e,label:this.computedLabel,isInvalid:this.status===yo.Error,status:this.status}}render(){const e=this.getFieldA11yContext();return W`
|
|
3515
3521
|
<quantic-field
|
|
3516
3522
|
fieldId=${this.fieldId}
|
|
3517
3523
|
?required=${this.required}
|
|
@@ -3523,7 +3529,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3523
3529
|
${n.call(this,e)}
|
|
3524
3530
|
<slot name="message" slot="message" @slotchange=${Ae(e=>this.messageSlotText=e)}>${this.message}</slot>
|
|
3525
3531
|
</quantic-field>
|
|
3526
|
-
`}};return t([fe({type:"string",default:"''",description:"Field label text. Prefer the label slot for rich content."})],o.prototype,"label",void 0),t([fe({type:"string",default:"''",description:"Helper text. Prefer the hint slot for rich content."})],o.prototype,"hint",void 0),t([fe({type:"string",default:"''",description:"Validation message text. Prefer the message slot for rich content."})],o.prototype,"message",void 0),t([fe({type:"boolean",default:"false",description:"Marks the field as required."})],o.prototype,"required",void 0),t([fe({type:"FieldValidationStatus",options:Object.values(
|
|
3532
|
+
`}};return t([fe({type:"string",default:"''",description:"Field label text. Prefer the label slot for rich content."})],o.prototype,"label",void 0),t([fe({type:"string",default:"''",description:"Helper text. Prefer the hint slot for rich content."})],o.prototype,"hint",void 0),t([fe({type:"string",default:"''",description:"Validation message text. Prefer the message slot for rich content."})],o.prototype,"message",void 0),t([fe({type:"boolean",default:"false",description:"Marks the field as required."})],o.prototype,"required",void 0),t([fe({type:"FieldValidationStatus",options:Object.values(yo),description:"Validation state controlling message color."})],o.prototype,"status",void 0),t([ke()],o.prototype,"labelSlotText",void 0),t([ke()],o.prototype,"hintSlotText",void 0),t([ke()],o.prototype,"messageSlotText",void 0),o=t([Se(`quantic-${e}-field`)],o),o}e.Field=class extends qe{constructor(){super(...arguments),this.fieldId="",this.label="",this.hint="",this.message="",this.required=!1,this.size=fo.Medium,this.hintPosition=Io.Below}render(){const e=!!this.label,t=!!this.hint,i=!!this.message,n=W`
|
|
3527
3533
|
<div
|
|
3528
3534
|
id="hint-${this.fieldId}"
|
|
3529
3535
|
class=${Ne({hint:!0,"is-empty":!t})}
|
|
@@ -3702,7 +3708,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3702
3708
|
.message.is-empty {
|
|
3703
3709
|
display: revert;
|
|
3704
3710
|
}
|
|
3705
|
-
`)],t([fe({type:"string",default:"''",description:"ID linking the label and hint/message elements to the control for accessibility."})],e.Field.prototype,"fieldId",void 0),t([fe({type:"string",default:"",description:"Label text. Prefer the label slot for rich content."})],e.Field.prototype,"label",void 0),t([fe({type:"string",default:"",description:"Helper text displayed near the control. Prefer the hint slot for rich content."})],e.Field.prototype,"hint",void 0),t([fe({type:"string",default:"",description:"Validation message text. Prefer the message slot for rich content."})],e.Field.prototype,"message",void 0),t([fe({type:"boolean",default:"false",description:"Appends a required indicator (*) to the label."})],e.Field.prototype,"required",void 0),t([fe({type:"FieldValidationStatus",options:Object.values(
|
|
3711
|
+
`)],t([fe({type:"string",default:"''",description:"ID linking the label and hint/message elements to the control for accessibility."})],e.Field.prototype,"fieldId",void 0),t([fe({type:"string",default:"",description:"Label text. Prefer the label slot for rich content."})],e.Field.prototype,"label",void 0),t([fe({type:"string",default:"",description:"Helper text displayed near the control. Prefer the hint slot for rich content."})],e.Field.prototype,"hint",void 0),t([fe({type:"string",default:"",description:"Validation message text. Prefer the message slot for rich content."})],e.Field.prototype,"message",void 0),t([fe({type:"boolean",default:"false",description:"Appends a required indicator (*) to the label."})],e.Field.prototype,"required",void 0),t([fe({type:"FieldValidationStatus",options:Object.values(yo),description:"Validation state that controls message text color."})],e.Field.prototype,"status",void 0),t([fe({type:"FieldSize",options:Object.values(fo),default:fo.Medium,description:"Controls font size of label and hint text."})],e.Field.prototype,"size",void 0),t([fe({type:"FieldHintPosition",options:Object.values(Io),default:Io.Below,attribute:"hint-position",description:"Position of the hint relative to the control."})],e.Field.prototype,"hintPosition",void 0),e.Field=t([Se("quantic-field")],e.Field),e.FieldGroup=class extends qe{constructor(){super(...arguments),this.size=xo.Medium,this.layout=Lo.Default}get pinnedColumns(){return this.columns&&this.columns>0?this.columns:void 0}render(){const e=this.pinnedColumns,t=Ne({"field-group":!0,[`size--${this.size}`]:!0,[`layout--${this.layout}`]:!0,"fixed-columns":void 0!==e});return W`
|
|
3706
3712
|
<div
|
|
3707
3713
|
class=${t}
|
|
3708
3714
|
style=${e?`--quantic-component-field-group-columns: ${e}`:J}
|
|
@@ -3765,7 +3771,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3765
3771
|
.layout--grid ::slotted(*) {
|
|
3766
3772
|
min-width: 0;
|
|
3767
3773
|
}
|
|
3768
|
-
`,t([fe({type:"FieldGroupSize",options:Object.values(
|
|
3774
|
+
`,t([fe({type:"FieldGroupSize",options:Object.values(xo),default:xo.Medium,description:'Controls spacing between child fields, and the minimum column width when layout="grid".'})],e.FieldGroup.prototype,"size",void 0),t([fe({type:"FieldGroupLayout",options:Object.values(Lo),default:Lo.Default,description:'Layout mode. "grid" arranges fields in responsive columns.'})],e.FieldGroup.prototype,"layout",void 0),t([fe({type:"number",description:'When layout is "grid", pin this many equal columns instead of auto-fit wrapping. Unset keeps the size-based wrap. Also settable via --quantic-component-field-group-columns.'})],e.FieldGroup.prototype,"columns",void 0),e.FieldGroup=t([Se("quantic-field-group")],e.FieldGroup),e.Field.ensureDefined(),e.Checkbox.ensureDefined(),Co("checkbox",e.Checkbox,function(e){return W`
|
|
3769
3775
|
<quantic-checkbox
|
|
3770
3776
|
.checked=${this.checked}
|
|
3771
3777
|
.indeterminate=${this.indeterminate}
|
|
@@ -3781,7 +3787,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3781
3787
|
>
|
|
3782
3788
|
<slot></slot>
|
|
3783
3789
|
</quantic-checkbox>
|
|
3784
|
-
`}),
|
|
3790
|
+
`}),Co("combobox",e.Combobox,function(e){return W`
|
|
3785
3791
|
<quantic-combobox
|
|
3786
3792
|
.value=${this.value}
|
|
3787
3793
|
.name=${this.name}
|
|
@@ -3838,7 +3844,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
3838
3844
|
<path d="m2 2 20 20" />
|
|
3839
3845
|
</svg>
|
|
3840
3846
|
|
|
3841
|
-
`}},e.LucideIconEyeOff.styles=dt.styles,e.LucideIconEyeOff=t([Se("quantic-icon-lucide-eye-off")],e.LucideIconEyeOff);const
|
|
3847
|
+
`}},e.LucideIconEyeOff.styles=dt.styles,e.LucideIconEyeOff=t([Se("quantic-icon-lucide-eye-off")],e.LucideIconEyeOff);const bo={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.LucideIconCircleAlert.ensureDefined(),e.LucideIconEye.ensureDefined(),e.LucideIconEyeOff.ensureDefined(),e.Button.ensureDefined(),e.TextInput=class extends(Xi(qe)){constructor(){super(),this.value="",this.type="text",this.name="",this.placeholder="",this.size=bo.Medium,this.disabled=!1,this.required=!1,this.readOnly=!1,this.invalid=!1,this.autoComplete="off",this.showPassword=!1,this.internals=this.attachInternals()}togglePassword(){this.showPassword=!this.showPassword}get iconSize(){return{[bo.ExtraSmall]:Xe.ExtraSmall,[bo.Small]:Xe.ExtraSmall,[bo.Medium]:Xe.Small,[bo.Large]:Xe.Medium}[this.size]}updated(e){e.has("value")&&(this.internals.setFormValue(this.value),this.updateValidity()),at(this,e,this.value)}forwardNative(e){const t=e.target;this.value=t.value,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}handleKeyDown(e){this.forwardNative(e),"Enter"===e.key&&this.internals.form?.requestSubmit()}dispatchValueChanged(e){this.value=e.target.value}formResetCallback(){this.value="",this.internals.setFormValue("")}formStateRestoreCallback(e){this.value=e,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}updateValidity(){const e=this.shadowRoot?.querySelector("input");e&&this.internals.setValidity(e.validity,e.validationMessage,e)}render(){const e=Ne({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({invalid:this.invalid});return W`
|
|
3842
3848
|
<div class=${e}>
|
|
3843
3849
|
<slot
|
|
3844
3850
|
name="prefix"
|
|
@@ -4020,7 +4026,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4020
4026
|
.password-toggle {
|
|
4021
4027
|
margin-inline-start: var(--quantic-spacing-2);
|
|
4022
4028
|
}
|
|
4023
|
-
`,t([fe({type:"string",default:"",description:"Current value of the input."})],e.TextInput.prototype,"value",void 0),t([fe({type:"string",default:"text",description:"Native input type."})],e.TextInput.prototype,"type",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.TextInput.prototype,"name",void 0),t([fe({type:"string",description:"Placeholder text shown when the field is empty."})],e.TextInput.prototype,"placeholder",void 0),t([fe({type:"TextInputSize",options:Object.values(
|
|
4029
|
+
`,t([fe({type:"string",default:"",description:"Current value of the input."})],e.TextInput.prototype,"value",void 0),t([fe({type:"string",default:"text",description:"Native input type."})],e.TextInput.prototype,"type",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.TextInput.prototype,"name",void 0),t([fe({type:"string",description:"Placeholder text shown when the field is empty."})],e.TextInput.prototype,"placeholder",void 0),t([fe({type:"TextInputSize",options:Object.values(bo),default:bo.Medium,description:"Controls padding and font size."})],e.TextInput.prototype,"size",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.TextInput.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.TextInput.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Makes the field non-editable but still focusable and selectable."})],e.TextInput.prototype,"readOnly",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.TextInput.prototype,"invalid",void 0),t([fe({type:"string",default:"off",reflect:!0,description:"Native autocomplete attribute passed to the inner <input>."})],e.TextInput.prototype,"autoComplete",void 0),t([ke()],e.TextInput.prototype,"showPassword",void 0),e.TextInput=t([Ce("value-changed",{description:"Fired whenever the value changes, from user input or a programmatic update. Not fired on initial render.",detail:"{ value: string }"}),Ce("input",{forwarded:!0}),Ce("change",{forwarded:!0}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Ce("keydown",{forwarded:!0}),Ce("keyup",{forwarded:!0}),Ce("keypress",{forwarded:!0}),Se("quantic-text-input")],e.TextInput),e.TextInput.ensureDefined(),Co("text",e.TextInput,function(e){return W`
|
|
4024
4030
|
<quantic-text-input
|
|
4025
4031
|
.value=${this.value}
|
|
4026
4032
|
.type=${this.type}
|
|
@@ -4041,7 +4047,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4041
4047
|
<slot name="prefix" slot="prefix"></slot>
|
|
4042
4048
|
<slot name="suffix" slot="suffix"></slot>
|
|
4043
4049
|
</quantic-text-input>
|
|
4044
|
-
`});const
|
|
4050
|
+
`});const Mo={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.LucideIconCircleAlert.ensureDefined(),e.LucideIconChevronDown.ensureDefined(),e.Select=class extends(Xi(qe)){constructor(){super(...arguments),this.options=[],this.value="",this.name="",this.placeholder="",this.size=Mo.Medium,this.disabled=!1,this.required=!1,this.invalid=!1,this._selectRef=St(),this._slottedOptions=[]}dispatchValueChanged(e){this.value=e.target.value}openDropdown(e){if(!this.disabled){e.stopPropagation();const t=this._selectRef.value;t?.showPicker(),t?.click(),t?.focus()}}updated(e){if(e.has("value")){const e=this._selectRef.value,t=this.options.find(([,e])=>e===this.value);e&&t&&(e.value=t[1])}at(this,e,this.value)}forwardNative(e){this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}handleSlotChange(e){const t=e.target.assignedElements({flatten:!0});this._slottedOptions=t.filter(e=>"OPTION"===e.tagName),this.requestUpdate()}render(){const e=Ne({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({invalid:this.invalid});return W`
|
|
4045
4051
|
<slot @slotchange=${this.handleSlotChange} style="display: none"></slot>
|
|
4046
4052
|
<div class="${e}">
|
|
4047
4053
|
<slot name="prefix"></slot>
|
|
@@ -4065,11 +4071,11 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4065
4071
|
</option>`):W`<option value="" disabled>No options available</option>`)()}
|
|
4066
4072
|
</select>
|
|
4067
4073
|
${this.invalid?W`<quantic-icon-lucide-circle-alert
|
|
4068
|
-
size=${this.size===
|
|
4074
|
+
size=${this.size===Mo.ExtraSmall?Xe.ExtraSmall:Xe.Small}
|
|
4069
4075
|
class="error-icon"
|
|
4070
4076
|
></quantic-icon-lucide-circle-alert>`:W`<slot name="suffix">
|
|
4071
4077
|
<quantic-icon-lucide-chevron-down
|
|
4072
|
-
size=${this.size===
|
|
4078
|
+
size=${this.size===Mo.ExtraSmall?Xe.ExtraSmall:Xe.Small}
|
|
4073
4079
|
class="suffix-icon"
|
|
4074
4080
|
@click=${this.openDropdown}
|
|
4075
4081
|
></quantic-icon-lucide-chevron-down>
|
|
@@ -4204,7 +4210,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4204
4210
|
.error-icon {
|
|
4205
4211
|
color: var(--quantic-border-error);
|
|
4206
4212
|
}
|
|
4207
|
-
`,t([fe({type:"Option<T>[]",default:"[]",description:"Array of [label, value] tuples. Alternatively, slot native <option> elements."})],e.Select.prototype,"options",void 0),t([fe({type:"string",default:"",reflect:!0,description:"Currently selected value."})],e.Select.prototype,"value",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.Select.prototype,"name",void 0),t([fe({type:"string",description:"Placeholder option shown when no value is selected."})],e.Select.prototype,"placeholder",void 0),t([fe({type:"SelectSize",options:Object.values(
|
|
4213
|
+
`,t([fe({type:"Option<T>[]",default:"[]",description:"Array of [label, value] tuples. Alternatively, slot native <option> elements."})],e.Select.prototype,"options",void 0),t([fe({type:"string",default:"",reflect:!0,description:"Currently selected value."})],e.Select.prototype,"value",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.Select.prototype,"name",void 0),t([fe({type:"string",description:"Placeholder option shown when no value is selected."})],e.Select.prototype,"placeholder",void 0),t([fe({type:"SelectSize",options:Object.values(Mo),default:Mo.Medium,description:"Controls padding and font size."})],e.Select.prototype,"size",void 0),t([fe({type:"boolean",default:"false",description:"Prevents interaction."})],e.Select.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",description:"Marks the field as required for form validation."})],e.Select.prototype,"required",void 0),t([fe({type:"boolean",default:"false",description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.Select.prototype,"invalid",void 0),e.Select=t([Ce("value-changed",{description:"Fired whenever the value changes, from user selection or a programmatic update. Not fired on initial render.",detail:"{ value: string }"}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Se("quantic-select")],e.Select),Co("select",e.Select,function(e){return W`
|
|
4208
4214
|
<quantic-select
|
|
4209
4215
|
.value=${this.value}
|
|
4210
4216
|
.name=${this.name}
|
|
@@ -4222,7 +4228,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4222
4228
|
<slot name="prefix" slot="prefix"></slot>
|
|
4223
4229
|
<slot></slot>
|
|
4224
4230
|
</quantic-select>
|
|
4225
|
-
`});const
|
|
4231
|
+
`});const qo={XSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},So={Small:"sm",Medium:"md",Large:"lg"},Bo={Default:"default",Inline:"inline",Segmented:"segmented"},Ao="radio-group.variant";e.Radio=class extends qe{constructor(){super(),this.checked=!1,this.required=!1,this.disabled=!1,this.invalid=!1,this.label="",this.name="",this.value="",this.size=qo.Medium,this.defaultChecked=!1,this.internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.defaultChecked=this.hasAttribute("checked")}forwardNative(e){const t=e.target;this.checked=t.checked,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}updated(e){if(super.updated(e),e.has("checked")){this.internals.setFormValue(this.checked?this.value:null);const e=this.renderRoot.querySelector("input");e&&(e.checked=this.checked)}}dispatchValueChanged(e){this.dispatchEvent(new CustomEvent("value-changed",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}formResetCallback(){const e=this.renderRoot.querySelector("input");this.checked=this.defaultChecked,this.internals.setFormValue(this.defaultChecked?this.value:null),e&&(e.checked=this.defaultChecked)}formStateRestoreCallback(e){this.checked=e===this.value,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}render(){const e=Ne({main:!0,[`size--${this.size}`]:!0,[`variant--${this.groupVariant}`]:!!this.groupVariant,checked:this.checked});return W`
|
|
4226
4232
|
<label class=${e}>
|
|
4227
4233
|
<input
|
|
4228
4234
|
type="radio"
|
|
@@ -4449,8 +4455,8 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4449
4455
|
input:disabled + .circle .dot {
|
|
4450
4456
|
background-color: var(--quantic-fg-disabled-subtle);
|
|
4451
4457
|
}
|
|
4452
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether this radio is selected."})],e.Radio.prototype,"checked",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the radio as required for form validation."})],e.Radio.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Radio.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling."})],e.Radio.prototype,"invalid",void 0),t([fe({type:"string",default:"",description:"Visible label text. If omitted, the default slot is used instead."})],e.Radio.prototype,"label",void 0),t([fe({type:"string",description:"Shared radio group name for form submission."})],e.Radio.prototype,"name",void 0),t([fe({type:"string",description:"Value submitted with the form when this radio is checked."})],e.Radio.prototype,"value",void 0),t([fe({type:"RadioSize",options:Object.values(
|
|
4453
|
-
class=${Ne({group:!0,"group--inline":this.variant===
|
|
4458
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether this radio is selected."})],e.Radio.prototype,"checked",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the radio as required for form validation."})],e.Radio.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Radio.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling."})],e.Radio.prototype,"invalid",void 0),t([fe({type:"string",default:"",description:"Visible label text. If omitted, the default slot is used instead."})],e.Radio.prototype,"label",void 0),t([fe({type:"string",description:"Shared radio group name for form submission."})],e.Radio.prototype,"name",void 0),t([fe({type:"string",description:"Value submitted with the form when this radio is checked."})],e.Radio.prototype,"value",void 0),t([fe({type:"RadioSize",options:Object.values(qo),default:qo.Medium,description:"Controls the size of the radio control and label."})],e.Radio.prototype,"size",void 0),t([an({context:Ao,subscribe:!0})],e.Radio.prototype,"groupVariant",void 0),e.Radio=t([Ce("value-changed",{description:"Fired whenever the input's value is updated (on input & change).",detail:"{ checked: boolean }"}),Ce("input",{forwarded:!0}),Ce("change",{forwarded:!0}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Ce("keydown",{forwarded:!0}),Ce("keyup",{forwarded:!0}),Se("quantic-radio")],e.Radio),e.RadioGroup=class extends(Xi(qe)){constructor(){super(),this.name="",this.value="",this.disabled=!1,this.required=!1,this.invalid=!1,this.variant=Bo.Default,this.gap=So.Large,this.internals=this.attachInternals(),this.handleValueChanged=this.handleValueChanged.bind(this)}connectedCallback(){super.connectedCallback(),this.addEventListener("value-changed",this.handleValueChanged)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("value-changed",this.handleValueChanged)}handleValueChanged(e){const t=e,i=t.target;i&&"quantic-radio"===i.tagName.toLowerCase()&&(e.stopImmediatePropagation(),t.detail?.checked&&(this.value=i.value,this.uncheckOthers(i),this.internals.setFormValue(this.value||null),this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:this.value},bubbles:!0,composed:!0}))))}uncheckOthers(e){this.querySelectorAll("quantic-radio").forEach(t=>{t!==e&&t.checked&&(t.checked=!1)})}updated(e){super.updated(e),(e.has("name")||e.has("disabled")||e.has("required"))&&this.syncRadioProperties(),e.has("value")&&(this.syncSelection(),this.internals.setFormValue(this.value||null))}syncRadioProperties(){this.querySelectorAll("quantic-radio").forEach(e=>{e.name=this.name,e.disabled=this.disabled,e.required=this.required})}syncSelection(){this.querySelectorAll("quantic-radio").forEach(e=>{e.checked=e.value===this.value})}firstUpdated(){this.syncRadioProperties(),this.syncSelection()}formResetCallback(){this.value="",this.internals.setFormValue(null),this.syncSelection()}formStateRestoreCallback(e){this.value=e||"",this.internals.setFormValue(e),this.syncSelection()}formDisabledCallback(e){this.disabled=e}render(){const e=this.getA11yAttributes({invalid:this.invalid}),t=this.variant===Bo.Segmented;return W`<div
|
|
4459
|
+
class=${Ne({group:!0,"group--inline":this.variant===Bo.Inline,"group--segmented":t,[`gap--${this.gap}`]:!t})}
|
|
4454
4460
|
role="radiogroup"
|
|
4455
4461
|
aria-label=${e.label}
|
|
4456
4462
|
aria-description=${e.description}
|
|
@@ -4509,7 +4515,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4509
4515
|
border: 1px solid var(--quantic-border-primary);
|
|
4510
4516
|
background: var(--quantic-bg-primary);
|
|
4511
4517
|
}
|
|
4512
|
-
`,t([fe({type:"string",description:"Name submitted with form data. Propagated to all child quantic-radio elements."})],e.RadioGroup.prototype,"name",void 0),t([fe({type:"string",description:"Currently selected radio value."})],e.RadioGroup.prototype,"value",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction. Propagated to all child radios."})],e.RadioGroup.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the group as required. Propagated to all child radios."})],e.RadioGroup.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.RadioGroup.prototype,"invalid",void 0),t([rn({context:
|
|
4518
|
+
`,t([fe({type:"string",description:"Name submitted with form data. Propagated to all child quantic-radio elements."})],e.RadioGroup.prototype,"name",void 0),t([fe({type:"string",description:"Currently selected radio value."})],e.RadioGroup.prototype,"value",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction. Propagated to all child radios."})],e.RadioGroup.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the group as required. Propagated to all child radios."})],e.RadioGroup.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.RadioGroup.prototype,"invalid",void 0),t([rn({context:Ao}),fe({type:"RadioGroupVariant",options:Object.values(Bo),reflect:!0,description:"Visual variant propagated to all child radios via context."})],e.RadioGroup.prototype,"variant",void 0),t([fe({type:"RadioGroupGap",options:Object.values(So),default:So.Large,reflect:!0,description:"Spacing between radios. Ignored when variant is segmented."})],e.RadioGroup.prototype,"gap",void 0),e.RadioGroup=t([Ce("value-changed",{description:"Fired whenever the selected radio changes.",detail:"{ value: string }"}),Se("quantic-radio-group")],e.RadioGroup),e.RadioGroup.ensureDefined(),Co("radio-group",e.RadioGroup,function(e){return W`
|
|
4513
4519
|
<quantic-radio-group
|
|
4514
4520
|
.value=${this.value}
|
|
4515
4521
|
.name=${this.name}
|
|
@@ -4525,7 +4531,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4525
4531
|
>
|
|
4526
4532
|
<slot></slot>
|
|
4527
4533
|
</quantic-radio-group>
|
|
4528
|
-
`});const
|
|
4534
|
+
`});const Po={Small:"sm",Medium:"md",Large:"lg"};e.Toggle=class extends(Xi(qe)){constructor(){super(),this.checked=!1,this.required=!1,this.disabled=!1,this.invalid=!1,this.label="",this.name="",this.size=Po.Medium,this.defaultChecked=!1,this.internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.defaultChecked=this.hasAttribute("checked")}updated(e){super.updated(e),e.has("checked")&&this.internals.setFormValue(this.checked?"on":null)}forwardNative(e){const t=e.target;this.checked=t.checked,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}dispatchValueChanged(e){this.dispatchEvent(new CustomEvent("value-changed",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}formResetCallback(){this.checked=this.defaultChecked,this.internals.setFormValue(this.defaultChecked?"on":null);const e=this.renderRoot.querySelector("input");e&&(e.checked=this.defaultChecked)}formStateRestoreCallback(e){this.checked="on"===e,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}get computedLabel(){return this.ariaLabel||this.label}render(){const e=Ne({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({label:this.computedLabel,invalid:this.invalid}),i=W`
|
|
4529
4535
|
<input
|
|
4530
4536
|
type="checkbox"
|
|
4531
4537
|
name=${this.name}
|
|
@@ -4692,7 +4698,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4692
4698
|
input:disabled + .track .thumb {
|
|
4693
4699
|
background-color: var(--quantic-fg-disabled-subtle);
|
|
4694
4700
|
}
|
|
4695
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the toggle is on."})],e.Toggle.prototype,"checked",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.Toggle.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Toggle.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.Toggle.prototype,"invalid",void 0),t([fe({type:"string",default:"",description:"Visible label text rendered next to the toggle."})],e.Toggle.prototype,"label",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.Toggle.prototype,"name",void 0),t([fe({type:"ToggleSize",options:Object.values(
|
|
4701
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the toggle is on."})],e.Toggle.prototype,"checked",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.Toggle.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Toggle.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.Toggle.prototype,"invalid",void 0),t([fe({type:"string",default:"",description:"Visible label text rendered next to the toggle."})],e.Toggle.prototype,"label",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.Toggle.prototype,"name",void 0),t([fe({type:"ToggleSize",options:Object.values(Po),default:Po.Medium,description:"Controls the size of the toggle track and thumb."})],e.Toggle.prototype,"size",void 0),e.Toggle=t([Ce("value-changed",{description:"Fired whenever the input's value is updated (on input & change).",detail:"{ checked: boolean }"}),Ce("input",{forwarded:!0}),Ce("change",{forwarded:!0}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Ce("keydown",{forwarded:!0}),Ce("keyup",{forwarded:!0}),Se("quantic-toggle")],e.Toggle),e.Toggle.ensureDefined(),Co("toggle",e.Toggle,function(e){return W`
|
|
4696
4702
|
<quantic-toggle
|
|
4697
4703
|
.checked=${this.checked}
|
|
4698
4704
|
.name=${this.name}
|
|
@@ -4707,7 +4713,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4707
4713
|
>
|
|
4708
4714
|
<slot></slot>
|
|
4709
4715
|
</quantic-toggle>
|
|
4710
|
-
`});const
|
|
4716
|
+
`});const jo={Small:"sm",Medium:"md",Large:"lg"},zo={Default:"default",Bare:"bare"};e.Fieldset=class extends qe{constructor(){super(...arguments),this.legend="",this.description="",this.size=jo.Medium,this.variant=zo.Default}render(){const e=Ne({fieldset:!0,[`size--${this.size}`]:!0,[`variant--${this.variant}`]:!0});return W`
|
|
4711
4717
|
<fieldset class=${e}>
|
|
4712
4718
|
${this.legend||this.description?W`
|
|
4713
4719
|
<div class="header">
|
|
@@ -4819,7 +4825,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
4819
4825
|
flex-direction: column;
|
|
4820
4826
|
gap: var(--quantic-spacing-4);
|
|
4821
4827
|
}
|
|
4822
|
-
`,t([fe({type:"string",default:"",description:"Section heading displayed as the fieldset legend."})],e.Fieldset.prototype,"legend",void 0),t([fe({type:"string",default:"",description:"Optional description text shown below the legend."})],e.Fieldset.prototype,"description",void 0),t([fe({type:"FieldsetSize",options:Object.values(
|
|
4828
|
+
`,t([fe({type:"string",default:"",description:"Section heading displayed as the fieldset legend."})],e.Fieldset.prototype,"legend",void 0),t([fe({type:"string",default:"",description:"Optional description text shown below the legend."})],e.Fieldset.prototype,"description",void 0),t([fe({type:"FieldsetSize",options:Object.values(jo),default:jo.Medium,description:"Controls padding and spacing between fields."})],e.Fieldset.prototype,"size",void 0),t([fe({type:"FieldsetVariant",options:Object.values(zo),default:zo.Default,description:'Visual style. "bare" removes border and padding for inline use.'})],e.Fieldset.prototype,"variant",void 0),e.Fieldset=t([Se("quantic-fieldset")],e.Fieldset),e.BrandIconApptainerOutline=class extends dt{render(){return X`
|
|
4823
4829
|
<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4824
4830
|
<path d="M24.3701 0.620117C37.6001 0.620117 48.3701 11.3901 48.3701 24.6201C48.3701 37.8501 37.6001 48.6201 24.3701 48.6201C11.1402 48.6201 0.370183 37.8501 0.370117 24.6201C0.370117 11.3901 11.1401 0.620117 24.3701 0.620117ZM24.3701 3.37012C12.6501 3.37012 3.12012 12.9001 3.12012 24.6201C3.12018 36.3401 12.6502 45.8701 24.3701 45.8701C36.0901 45.8701 45.6201 36.3401 45.6201 24.6201C45.6201 12.9001 36.0901 3.37012 24.3701 3.37012ZM32.0078 32.9951C32.0754 33.0597 32.1383 33.1318 32.1934 33.2119C32.2903 33.3533 32.3562 33.5068 32.3945 33.6641L35.4707 38.9922L35.5352 39.1172C35.8209 39.7527 35.584 40.514 34.9678 40.8701C34.3513 41.2261 33.5737 41.0505 33.166 40.4854L33.0898 40.3672L30.5186 35.9141C28.6877 36.8711 26.6489 37.3769 24.5703 37.374H24.5684L24.5674 37.375C22.2699 37.3745 20.111 36.7669 18.2393 35.7061L15.6406 40.207C15.2609 40.8646 14.4203 41.0896 13.7627 40.71C13.1052 40.3301 12.88 39.4896 13.2598 38.832L24.3203 19.6797L32.0078 32.9951ZM19.6143 33.3252C21.0818 34.1527 22.7704 34.625 24.5703 34.625H24.5723L24.9531 34.6182C26.4139 34.5649 27.8417 34.191 29.1416 33.5303L24.3193 25.1777L19.6143 33.3252ZM35.8066 21.1729C36.5568 21.0555 37.2604 21.5682 37.3779 22.3184C37.4811 22.9776 37.5254 23.6489 37.5254 24.3174C37.5253 26.7288 36.8738 28.9981 35.7373 30.9395L35.6602 31.0576C35.2491 31.6202 34.4698 31.7912 33.8555 31.4316C33.2003 31.048 32.9798 30.2051 33.3633 29.5498L33.5273 29.2607C34.3219 27.7966 34.7753 26.11 34.7754 24.3174C34.7754 23.7682 34.739 23.2407 34.6611 22.7432C34.544 21.9931 35.0566 21.2903 35.8066 21.1729ZM13.293 21.4336C14.0447 21.54 14.5681 22.2356 14.4619 22.9873C14.402 23.4102 14.375 23.8529 14.375 24.3174V24.3193C14.3724 26.0448 14.8013 27.7409 15.6182 29.251L15.7861 29.5508L15.8516 29.6758C16.1405 30.3097 15.9082 31.0722 15.2939 31.4316C14.6795 31.791 13.9011 31.6194 13.4902 31.0566L13.4131 30.9395L13.1992 30.5596C12.1641 28.646 11.6218 26.4986 11.625 24.3154C11.6251 23.7455 11.6584 23.1724 11.7393 22.6016C11.846 21.8502 12.5415 21.3274 13.293 21.4336ZM26.126 12.6582C26.3031 11.9689 26.9723 11.5357 27.6611 11.6396L27.7998 11.668L28.376 11.8311C31.231 12.7099 33.6556 14.56 35.2959 16.9785C35.7219 17.6069 35.558 18.4625 34.9297 18.8887C34.3013 19.3145 33.4457 19.1506 33.0195 18.5225C31.717 16.602 29.8018 15.1471 27.5664 14.459L27.1152 14.332L26.9814 14.29C26.3273 14.0495 25.9491 13.3477 26.126 12.6582ZM21.3506 11.668C22.086 11.4792 22.8354 11.9229 23.0244 12.6582C23.213 13.3936 22.7695 14.1432 22.0342 14.332C19.6056 14.9558 17.5207 16.4736 16.1426 18.5186L16.0576 18.6309C15.6118 19.1664 14.8237 19.2883 14.2334 18.8906C13.6039 18.4662 13.4382 17.6111 13.8623 16.9814L14.1982 16.5049C15.9343 14.1612 18.4402 12.4154 21.3506 11.668Z" fill="currentColor"/>
|
|
4825
4831
|
</svg>
|
|
@@ -36554,7 +36560,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
36554
36560
|
<line x1="8" x2="14" y1="11" y2="11" />
|
|
36555
36561
|
</svg>
|
|
36556
36562
|
|
|
36557
|
-
`}},e.LucideIconZoomOut.styles=dt.styles,e.LucideIconZoomOut=t([Se("quantic-icon-lucide-zoom-out")],e.LucideIconZoomOut);const
|
|
36563
|
+
`}},e.LucideIconZoomOut.styles=dt.styles,e.LucideIconZoomOut=t([Se("quantic-icon-lucide-zoom-out")],e.LucideIconZoomOut);const Ho={ExtraSmall:"xs",Small:"sm",Medium:"md"};e.IconLabel=class extends qe{constructor(){super(...arguments),this.size=Ho.Medium,this.syncIconSizes=()=>{this.shadowRoot?.querySelector('slot[name="icon"]')?.assignedElements().forEach(e=>e.size=this.size)}}updated(e){e.has("size")&&this.syncIconSizes()}render(){return Re`
|
|
36558
36564
|
<div class=${Ne({main:!0,[`size--${this.size}`]:!0})}>
|
|
36559
36565
|
<slot name="icon" @slotchange=${this.syncIconSizes}></slot>
|
|
36560
36566
|
<slot></slot>
|
|
@@ -36588,7 +36594,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
36588
36594
|
display: flex;
|
|
36589
36595
|
align-items: center;
|
|
36590
36596
|
}
|
|
36591
|
-
`,t([fe({type:"IconLabelSize",options:Object.values(
|
|
36597
|
+
`,t([fe({type:"IconLabelSize",options:Object.values(Ho),default:Ho.Medium,description:"Controls font size and icon gap."})],e.IconLabel.prototype,"size",void 0),e.IconLabel=t([Se("quantic-icon-label")],e.IconLabel),e.LucideIconPencil.ensureDefined(),e.InlineEdit=class extends qe{constructor(){super(...arguments),this.label="",this.active=!1,this.invalid=!1,this.handleActivateClick=()=>{this.active||this.activate()},this.handleTriggerKey=e=>{this.active||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.stopPropagation(),this.activate())},this.handleKeyDown=e=>{this.active&&"Escape"===e.key&&(this.deactivate(!0),this.dispatchEvent(new CustomEvent("cancel",{bubbles:!0,composed:!0})))},this.handleFocusOut=e=>{if(!this.active||this.invalid)return;this.contains(e.relatedTarget)||this.shadowRoot?.contains(e.relatedTarget)||this.deactivate()}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("focusout",this.handleFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("focusout",this.handleFocusOut)}activate(){this.active=!0,this.updateComplete.then(()=>{const e=this.renderRoot.querySelector('slot[name="editor"]'),t=e?.assignedElements()[0],i=t?.shadowRoot?.querySelector('input, textarea, select, [tabindex]:not([tabindex="-1"])')??t;i?.focus()})}deactivate(e=!1){this.active=!1,e&&this.updateComplete.then(()=>{this.renderRoot.querySelector(".row")?.focus()})}render(){const e=!!this.label;return W`
|
|
36592
36598
|
<div
|
|
36593
36599
|
class="${Ne({row:!0,"is-active":this.active})}"
|
|
36594
36600
|
role="${this.active?"group":"button"}"
|
|
@@ -36730,7 +36736,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
36730
36736
|
.label.is-empty {
|
|
36731
36737
|
display: revert;
|
|
36732
36738
|
}
|
|
36733
|
-
`)],t([fe({type:"string",default:"",description:"Fallback label text when no label slot content is provided."})],e.InlineEdit.prototype,"label",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"When true, the editor slot is visible and the display is hidden."})],e.InlineEdit.prototype,"active",void 0),t([fe({type:"boolean",default:"false",description:"When true, focusout does not close the editor. The editor stays open until the value is valid or the user cancels."})],e.InlineEdit.prototype,"invalid",void 0),e.InlineEdit=t([Ce("cancel",{description:"Fired on Escape. Consumer should revert optimistic state."}),Se("quantic-inline-edit")],e.InlineEdit);const
|
|
36739
|
+
`)],t([fe({type:"string",default:"",description:"Fallback label text when no label slot content is provided."})],e.InlineEdit.prototype,"label",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"When true, the editor slot is visible and the display is hidden."})],e.InlineEdit.prototype,"active",void 0),t([fe({type:"boolean",default:"false",description:"When true, focusout does not close the editor. The editor stays open until the value is valid or the user cancels."})],e.InlineEdit.prototype,"invalid",void 0),e.InlineEdit=t([Ce("cancel",{description:"Fired on Escape. Consumer should revert optimistic state."}),Se("quantic-inline-edit")],e.InlineEdit);const To={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"};e.LucideIconChevronUp.ensureDefined(),e.LucideIconChevronDown.ensureDefined(),e.LucideIconCircleAlert.ensureDefined(),e.NumberInput=class extends(Xi(qe)){get value(){return this._value}set value(e){const t=this._value;this._value=e,this.requestUpdate("value",t),this.internals.setFormValue(null!==e?String(e):"")}constructor(){super(),this.inputRef=St(),this._value=null,this.min=void 0,this.max=void 0,this.step=1,this.name="",this.placeholder="",this.size=To.Medium,this.disabled=!1,this.required=!1,this.invalid=!1,this.internals=this.attachInternals()}updated(e){e.has("value")&&this.updateValidity(),at(this,e,this.value)}stepUp(){this.inputRef.value?.stepUp(),this.syncValue()}stepDown(){this.inputRef.value?.stepDown(),this.syncValue()}syncValue(){const e=this.inputRef.value?.valueAsNumber;this.value=void 0===e||isNaN(e)?null:e}updateValidity(){const e=this.inputRef.value;e&&this.internals.setValidity(e.validity,e.validationMessage,e)}forwardNative(e){e instanceof KeyboardEvent?this.dispatchEvent(new KeyboardEvent(e.type,{bubbles:!0,composed:!0,key:e.key,code:e.code,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey,repeat:e.repeat})):e instanceof FocusEvent?this.dispatchEvent(new FocusEvent(e.type,{bubbles:!0,composed:!0,relatedTarget:e.relatedTarget})):this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}handleKeyDown(e){this.forwardNative(e),"Enter"===e.key&&this.internals.form?.requestSubmit()}formResetCallback(){this.value=null}formStateRestoreCallback(e){const t=parseFloat(e);this.value=isNaN(t)?null:t}formDisabledCallback(e){this.disabled=e}render(){const e=Ne({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({invalid:this.invalid});return W`
|
|
36734
36740
|
<div class=${e}>
|
|
36735
36741
|
<slot name="prefix"></slot>
|
|
36736
36742
|
<input
|
|
@@ -36981,9 +36987,9 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
36981
36987
|
.error-icon {
|
|
36982
36988
|
color: var(--quantic-border-error);
|
|
36983
36989
|
}
|
|
36984
|
-
`,t([fe({type:"number",default:"null",reflect:!0,description:"Current numeric value. null when the field is empty."})],e.NumberInput.prototype,"value",null),t([fe({type:"number",description:"Minimum allowed value."})],e.NumberInput.prototype,"min",void 0),t([fe({type:"number",description:"Maximum allowed value."})],e.NumberInput.prototype,"max",void 0),t([fe({type:"number",default:"1",description:"Step increment for stepper buttons and keyboard arrow keys."})],e.NumberInput.prototype,"step",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.NumberInput.prototype,"name",void 0),t([fe({type:"string",description:"Placeholder text shown when the field is empty."})],e.NumberInput.prototype,"placeholder",void 0),t([fe({type:"NumberInputSize",options:Object.values(
|
|
36990
|
+
`,t([fe({type:"number",default:"null",reflect:!0,description:"Current numeric value. null when the field is empty."})],e.NumberInput.prototype,"value",null),t([fe({type:"number",description:"Minimum allowed value."})],e.NumberInput.prototype,"min",void 0),t([fe({type:"number",description:"Maximum allowed value."})],e.NumberInput.prototype,"max",void 0),t([fe({type:"number",default:"1",description:"Step increment for stepper buttons and keyboard arrow keys."})],e.NumberInput.prototype,"step",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.NumberInput.prototype,"name",void 0),t([fe({type:"string",description:"Placeholder text shown when the field is empty."})],e.NumberInput.prototype,"placeholder",void 0),t([fe({type:"NumberInputSize",options:Object.values(To),default:To.Medium,description:"Controls padding and font size."})],e.NumberInput.prototype,"size",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.NumberInput.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.NumberInput.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.NumberInput.prototype,"invalid",void 0),e.NumberInput=t([Ce("value-changed",{description:"Fired whenever the value changes, from user input, stepper click, or a programmatic update. Not fired on initial render.",detail:"{ value: number | null }"}),Ce("input",{forwarded:!0}),Ce("change",{forwarded:!0}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Ce("keydown",{forwarded:!0}),Ce("keyup",{forwarded:!0}),Ce("keypress",{forwarded:!0}),Se("quantic-number-input")],e.NumberInput);const Do={MAX_LINES:1e4,FOLLOW_SCROLL_THRESHOLD:50},Vo=["log-black","log-danger","log-success","log-warning","log-blue","log-magenta","log-info","log-white","log-gray","log-danger","log-success","log-warning","log-blue","log-magenta","log-info","log-white"],Fo=["#1c1c1c","#8b0000","#006400","#808000","#00008b","#800080","#008b8b","#a9a9a9","#404040","#ff4444","#44ff44","#ffff44","#4444ff","#ff44ff","#44ffff","#ffffff"];function Ro(e){if(e<232){const t=e-16,i=Math.floor(t/36),n=Math.floor(t%36/6),o=t%6,s=e=>0===e?0:55+40*e;return`rgb(${s(i)},${s(n)},${s(o)})`}const t=8+10*(e-232);return`rgb(${t},${t},${t})`}function Oo(){return{fgClass:null,fgRgb:null,bgColor:null,bold:!1,dim:!1,italic:!1,underline:!1}}function $o(e,t){const i=""===t?[0]:t.split(";").map(Number),n={...e};let o=0;for(;o<i.length;){const e=i[o];if(0===e)Object.assign(n,Oo());else if(1===e)n.bold=!0;else if(2===e)n.dim=!0;else if(3===e)n.italic=!0;else if(4===e)n.underline=!0;else if(22===e)n.bold=!1,n.dim=!1;else if(23===e)n.italic=!1;else if(24===e)n.underline=!1;else if(e>=30&&e<=37)n.fgClass=Vo[e-30],n.fgRgb=null;else if(38===e){const e=i[o+1];if(5===e&&o+2<i.length){const e=i[o+2];e<16?(n.fgClass=Vo[e],n.fgRgb=null):(n.fgClass=null,n.fgRgb=Ro(e)),o+=2}else 2===e&&o+4<i.length&&(n.fgClass=null,n.fgRgb=`rgb(${i[o+2]},${i[o+3]},${i[o+4]})`,o+=4)}else if(39===e)n.fgClass=null,n.fgRgb=null;else if(e>=40&&e<=47)n.bgColor=Fo[e-40];else if(48===e){const e=i[o+1];if(5===e&&o+2<i.length){const e=i[o+2];n.bgColor=e<16?Fo[e]:Ro(e),o+=2}else 2===e&&o+4<i.length&&(n.bgColor=`rgb(${i[o+2]},${i[o+3]},${i[o+4]})`,o+=4)}else 49===e?n.bgColor=null:e>=90&&e<=97?(n.fgClass=Vo[e-90+8],n.fgRgb=null):e>=100&&e<=107&&(n.bgColor=Fo[e-100+8]);o++}return n}function _o(e){const t=[];let i={fgClass:null,fgRgb:null,bgColor:null,bold:!1,dim:!1,italic:!1,underline:!1},n=0;for(const o of e.matchAll(/\x1b\[([0-9;]*)m/g)){const s=e.slice(n,o.index);s&&t.push({text:s,state:i}),i=$o(i,o[1]),n=o.index+o[0].length}const o=e.slice(n);return o&&t.push({text:o,state:i}),t}e.Checkbox.ensureDefined(),e.LogOutput=class extends qe{constructor(){super(...arguments),this.follow=!0,this.followLabel="Follow",this.lineNumbers=!1,this.maxLines=Do.MAX_LINES,this.lineBuffer=[],this.resizeObserver=null,this.handleScroll=()=>{const{scrollTop:e,scrollHeight:t,clientHeight:i}=this.outputEl,n=t-e-i;this.follow=!(n>Do.FOLLOW_SCROLL_THRESHOLD)}}get lines(){return this.lineBuffer.map(e=>e.raw)}set lines(e){this.lineBuffer=this.clampToMax(e.map(e=>({raw:e,parsed:_o(e)})))}firstUpdated(){this.outputEl.addEventListener("scroll",this.handleScroll),this.resizeObserver=new ResizeObserver(()=>{this.follow&&this.scrollToBottom()}),this.resizeObserver.observe(this.outputEl)}updated(e){e.has("maxLines")&&(this.lineBuffer=this.clampToMax(this.lineBuffer)),this.follow&&this.scrollToBottom()}disconnectedCallback(){super.disconnectedCallback(),this.outputEl?.removeEventListener("scroll",this.handleScroll),this.resizeObserver?.disconnect(),this.resizeObserver=null}appendLine(e){this.lineBuffer=this.clampToMax([...this.lineBuffer,{raw:e,parsed:_o(e)}])}clampToMax(e){return e.length>this.maxLines?e.slice(-this.maxLines):e}renderSegment({text:e,state:t}){if(function(e){return!(null!==e.fgClass||null!==e.fgRgb||null!==e.bgColor||e.bold||e.dim||e.italic||e.underline)}(t))return e;const i={"log-bold":t.bold,"log-dim":t.dim,"log-italic":t.italic,"log-underline":t.underline};return t.fgClass&&(i[t.fgClass]=!0),W`<span
|
|
36985
36991
|
class=${Ne(i)}
|
|
36986
|
-
style=${
|
|
36992
|
+
style=${ko({color:t.fgRgb,background:t.bgColor})}
|
|
36987
36993
|
>${e}</span
|
|
36988
36994
|
>`}scrollToBottom(){this.outputEl.scrollTop=this.outputEl.scrollHeight}handleFollowChange(e){this.follow=e.detail.checked,this.follow&&this.scrollToBottom()}render(){return W`
|
|
36989
36995
|
<div class="toolbar">
|
|
@@ -37152,7 +37158,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37152
37158
|
.output::-webkit-scrollbar-thumb:hover {
|
|
37153
37159
|
background: rgba(var(--quantic-fg-white-rgb), 0.2);
|
|
37154
37160
|
}
|
|
37155
|
-
`,t([fe({type:"boolean",default:"true",reflect:!0,description:"When true, the output automatically scrolls to the latest line."})],e.LogOutput.prototype,"follow",void 0),t([fe({type:"string",default:"Follow",attribute:"follow-label",description:"Label text for the follow toggle checkbox."})],e.LogOutput.prototype,"followLabel",void 0),t([fe({type:"boolean",default:"false",reflect:!0,attribute:"line-numbers",description:"When true, prepends line numbers to each row."})],e.LogOutput.prototype,"lineNumbers",void 0),t([fe({type:"number",default:String(
|
|
37161
|
+
`,t([fe({type:"boolean",default:"true",reflect:!0,description:"When true, the output automatically scrolls to the latest line."})],e.LogOutput.prototype,"follow",void 0),t([fe({type:"string",default:"Follow",attribute:"follow-label",description:"Label text for the follow toggle checkbox."})],e.LogOutput.prototype,"followLabel",void 0),t([fe({type:"boolean",default:"false",reflect:!0,attribute:"line-numbers",description:"When true, prepends line numbers to each row."})],e.LogOutput.prototype,"lineNumbers",void 0),t([fe({type:"number",default:String(Do.MAX_LINES),attribute:"max-lines",description:"Maximum number of lines retained in the buffer. Older lines are dropped when the limit is exceeded."})],e.LogOutput.prototype,"maxLines",void 0),t([ke()],e.LogOutput.prototype,"lineBuffer",void 0),t([xe(".output")],e.LogOutput.prototype,"outputEl",void 0),e.LogOutput=t([Se("quantic-log-output")],e.LogOutput);const Eo={Primary:"primary",Secondary:"secondary"},Uo={Default:"default",Focused:"focused"};e.Navbar=class extends qe{constructor(){super(...arguments),this.ariaLabel="Navbar navigation"}render(){return Re`
|
|
37156
37162
|
<nav class="main" role="navigation" aria-label=${this.ariaLabel}>
|
|
37157
37163
|
<slot></slot>
|
|
37158
37164
|
</nav>
|
|
@@ -37241,7 +37247,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37241
37247
|
flex-shrink: 0;
|
|
37242
37248
|
display: flex;
|
|
37243
37249
|
}
|
|
37244
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Highlights the item as the currently active route."})],e.NavbarMenuItem.prototype,"selected",void 0),t([fe({type:"string",default:"",description:"URL to navigate to. When set the element renders as an <a> tag."})],e.NavbarMenuItem.prototype,"href",void 0),t([fe({type:"string",default:"",attribute:"aria-label",description:"Accessible label for the nav item (required for icon-only items)."})],e.NavbarMenuItem.prototype,"ariaLabel",void 0),e.NavbarMenuItem=t([Se("quantic-navbar-menu-item")],e.NavbarMenuItem);class
|
|
37250
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Highlights the item as the currently active route."})],e.NavbarMenuItem.prototype,"selected",void 0),t([fe({type:"string",default:"",description:"URL to navigate to. When set the element renders as an <a> tag."})],e.NavbarMenuItem.prototype,"href",void 0),t([fe({type:"string",default:"",attribute:"aria-label",description:"Accessible label for the nav item (required for icon-only items)."})],e.NavbarMenuItem.prototype,"ariaLabel",void 0),e.NavbarMenuItem=t([Se("quantic-navbar-menu-item")],e.NavbarMenuItem);class Go{constructor(e,t,i=!1){this.host=e,this.query=t,this.ssrDefault=i,this.matchesValue=!1,this.handleChange=e=>{this.matchesValue=e.matches,this.host.requestUpdate()};"undefined"!=typeof window&&!!window.matchMedia&&(this.mediaQuery=window.matchMedia(t),this.matchesValue=this.mediaQuery.matches),this.host.addController(this)}hostConnected(){!this.mediaQuery&&"undefined"!=typeof window&&window.matchMedia&&(this.mediaQuery=window.matchMedia(this.query),this.matchesValue=this.mediaQuery.matches,this.host.requestUpdate()),this.mediaQuery?.addEventListener("change",this.handleChange)}hostDisconnected(){this.mediaQuery?.removeEventListener("change",this.handleChange)}get matches(){return this.mediaQuery?this.matchesValue:this.ssrDefault}}class Zo{static below(e){return`(max-width: ${e-1}px)`}static above(e){return`(min-width: ${e}px)`}static between(e,t){return`(min-width: ${e}px) and (max-width: ${t-1}px)`}}function No(e,t=!1){return function(i,n){const o=Symbol(n);Object.defineProperty(i,n,{get(){return this[o]||(this[o]=new Go(this,e,t)),this[o].matches},enumerable:!0,configurable:!0})}}const Wo="aside.expanded";e.Button.ensureDefined(),e.LucideIconMenu.ensureDefined(),e.Layout=class extends(ze(qe,["logo","titlebar","toolbar","navbar","sidebar"])){constructor(){super(...arguments),this.variant=Uo.Default,this._initializedInBrowser=!1,this._asideStateInitialized=!1,this.ssrHasSidebar=!1,this.hasSidebarSlot=!1,this.hasTitlebarSlot=!1,this._isAsideExpanded=!1,this.handleAsideExpand=e=>{this.isAsideExpanded=e.detail.expanded},this.handleKeydown=e=>{"Escape"===e.key&&this.isAsideExpanded&&(this.isAsideExpanded=!1)}}get isAsideExpanded(){return this._isAsideExpanded}set isAsideExpanded(e){const t=this._isAsideExpanded;this._isAsideExpanded=e,t!==e&&(this.requestUpdate("isAsideExpanded",t),e?this.activateFocusTrap():this.deactivateFocusTrap())}toggleAsideExpanded(){this.isAsideExpanded=!this.isAsideExpanded}async activateFocusTrap(){if(this.isSmallViewport&&this.asideElement){await this.updateComplete;try{this.focusTrap=uo(this.asideElement,{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,initialFocus:!1,returnFocusOnDeactivate:!0,setReturnFocus:()=>this.toggleButtonElement||document.body,tabbableOptions:{getShadowRoot:!0}}),this.focusTrap.activate()}catch(e){console.error("Failed to activate focus trap:",e),this.focusTrap=null}}}deactivateFocusTrap(){if(this.focusTrap)try{this.focusTrap.deactivate()}catch(e){console.error("Failed to deactivate focus trap:",e)}finally{this.focusTrap=null}}connectedCallback(){super.connectedCallback(),this.hasAttribute("ssr-has-sidebar")&&(this.hasSidebarSlot=!0,this.removeAttribute("ssr-has-sidebar")),document.addEventListener("keydown",this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleKeydown),this.deactivateFocusTrap()}willUpdate(e){const t=void 0===this.previousIsSmallViewport,i=!this._initializedInBrowser&&"undefined"!=typeof window;t&&(this.previousIsSmallViewport=this.isSmallViewport),i&&(this._initializedInBrowser=!0)}updated(e){super.updated(e),this._initializedInBrowser&&!this._asideStateInitialized?(this._asideStateInitialized=!0,this.isAsideExpanded=!this.isSmallViewport):this._initializedInBrowser&&this.previousIsSmallViewport!==this.isSmallViewport&&(this.isAsideExpanded=!this.isSmallViewport),this.previousIsSmallViewport=this.isSmallViewport}static finalizeStyles(e){return[...super.finalizeStyles(e)??[],l("@layer quantic-header-visibility {\n .header { display: none; }\n @media (max-width: 1023px) { .has-sidebar .header { display: revert-layer; } }\n }"),Pe("navbar",d`
|
|
37245
37251
|
@layer quantic-header-visibility {
|
|
37246
37252
|
.header {
|
|
37247
37253
|
display: revert-layer;
|
|
@@ -37592,7 +37598,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37592
37598
|
min-width: var(--quantic-spacing-80);
|
|
37593
37599
|
max-width: var(--quantic-spacing-160);
|
|
37594
37600
|
}
|
|
37595
|
-
`,t([fe({type:"LayoutVariant",options:Object.values(
|
|
37601
|
+
`,t([fe({type:"LayoutVariant",options:Object.values(Uo),default:Uo.Default,reflect:!0,description:'Layout mode. "default" uses full-bleed content; "focused" centres content with a max-width cap.'})],e.Layout.prototype,"variant",void 0),t([No(Zo.below(1024))],e.Layout.prototype,"isSmallViewport",void 0),t([me({type:Boolean,attribute:"ssr-has-sidebar"})],e.Layout.prototype,"ssrHasSidebar",void 0),t([ke()],e.Layout.prototype,"hasSidebarSlot",void 0),t([ke()],e.Layout.prototype,"hasTitlebarSlot",void 0),t([xe(".aside")],e.Layout.prototype,"asideElement",void 0),t([xe(".toggle-button")],e.Layout.prototype,"toggleButtonElement",void 0),t([rn({context:Wo})],e.Layout.prototype,"_isAsideExpanded",void 0),e.Layout=t([Se("quantic-layout")],e.Layout),e.LayoutLogo=class extends qe{constructor(){super(...arguments),this.expanded=!0}render(){return W`
|
|
37596
37602
|
<slot name="expanded" ?hidden=${!0!==this.expanded}></slot>
|
|
37597
37603
|
<slot name="collapsed" ?hidden=${!0===this.expanded}></slot>
|
|
37598
37604
|
`}},e.LayoutLogo.meta={tag:"quantic-layout-logo",description:"Logo area that lives inside the quantic-layout header or sidebar. Automatically switches between expanded and collapsed slots based on the sidebar state consumed from context.",category:"layout",slots:{expanded:{description:"Logo shown when the sidebar is expanded (full wordmark)."},collapsed:{description:"Logo shown when the sidebar is collapsed (icon only)."}}},e.LayoutLogo.styles=d`
|
|
@@ -37602,7 +37608,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37602
37608
|
[hidden] {
|
|
37603
37609
|
display: none;
|
|
37604
37610
|
}
|
|
37605
|
-
`,t([an({context:
|
|
37611
|
+
`,t([an({context:Wo,subscribe:!0})],e.LayoutLogo.prototype,"expanded",void 0),e.LayoutLogo=t([Se("quantic-layout-logo")],e.LayoutLogo),e.Page=class extends qe{constructor(){super(...arguments),this.fill=!1,this.bleeds=!1,this.contained=!1}render(){return Re`
|
|
37606
37612
|
<main class="main">
|
|
37607
37613
|
<slot></slot>
|
|
37608
37614
|
</main>
|
|
@@ -37647,7 +37653,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37647
37653
|
padding-inline: var(--quantic-component-page-contained-padding-inline);
|
|
37648
37654
|
}
|
|
37649
37655
|
}
|
|
37650
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Constrain the page to the available height and clip overflow, so internal regions own their own scrolling (e.g. splitter panes, full-height grids, maps). Without this, the page grows with its content and the layout body slot scrolls."})],e.Page.prototype,"fill",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Remove the default padding so content extends edge-to-edge. Useful for full-bleed layouts such as maps, images, or custom-padded regions."})],e.Page.prototype,"bleeds",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Constrain the page content to a maximum width and center it horizontally on viewports wider than the md breakpoint. Override the width via --quantic-component-page-max-width and inline padding via --quantic-component-page-contained-padding-inline."})],e.Page.prototype,"contained",void 0),e.Page=t([Se("quantic-page")],e.Page);const
|
|
37656
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Constrain the page to the available height and clip overflow, so internal regions own their own scrolling (e.g. splitter panes, full-height grids, maps). Without this, the page grows with its content and the layout body slot scrolls."})],e.Page.prototype,"fill",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Remove the default padding so content extends edge-to-edge. Useful for full-bleed layouts such as maps, images, or custom-padded regions."})],e.Page.prototype,"bleeds",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Constrain the page content to a maximum width and center it horizontally on viewports wider than the md breakpoint. Override the width via --quantic-component-page-max-width and inline padding via --quantic-component-page-contained-padding-inline."})],e.Page.prototype,"contained",void 0),e.Page=t([Se("quantic-page")],e.Page);const Xo={Top:"top",TopStart:"top-start",TopEnd:"top-end",Bottom:"bottom",BottomStart:"bottom-start",BottomEnd:"bottom-end",Left:"left",LeftStart:"left-start",LeftEnd:"left-end",Right:"right",RightStart:"right-start",RightEnd:"right-end"},Ko={Small:"sm",Medium:"md",Large:"lg"};var Jo,Qo,Yo;e.TooltipPopup=class extends qe{constructor(){super(...arguments),this.visible=!1}render(){return W`
|
|
37651
37657
|
<div class="content"><slot></slot></div>
|
|
37652
37658
|
<div class="arrow"></div>
|
|
37653
37659
|
`}},e.TooltipPopup.meta={tag:"quantic-tooltip-popup",description:"Internal floating content container for quantic-tooltip. Positioned absolutely relative to the trigger via @floating-ui/dom. Not intended for direct use — use quantic-tooltip instead.",category:"feedback",slots:{"":{description:"Tooltip content (managed by quantic-tooltip)."}},relatedTo:["quantic-tooltip"]},e.TooltipPopup.styles=d`
|
|
@@ -37700,7 +37706,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37700
37706
|
background-color: var(--quantic-component-tooltip-background);
|
|
37701
37707
|
transform: rotate(45deg);
|
|
37702
37708
|
}
|
|
37703
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Controls visibility — toggled by the parent quantic-tooltip."})],e.TooltipPopup.prototype,"visible",void 0),t([xe(".arrow")],e.TooltipPopup.prototype,"arrowElement",void 0),e.TooltipPopup=t([Se("quantic-tooltip-popup")],e.TooltipPopup),e.TooltipPopup.ensureDefined(),e.Tooltip=class extends qe{constructor(){super(...arguments),this.placement=
|
|
37709
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Controls visibility — toggled by the parent quantic-tooltip."})],e.TooltipPopup.prototype,"visible",void 0),t([xe(".arrow")],e.TooltipPopup.prototype,"arrowElement",void 0),e.TooltipPopup=t([Se("quantic-tooltip-popup")],e.TooltipPopup),e.TooltipPopup.ensureDefined(),e.Tooltip=class extends qe{constructor(){super(...arguments),this.placement=Xo.Top,this.size=Ko.Medium,this.showDelay=250,this.hideDelay=0,this.disabled=!1,this.offset=8,this.open=!1,this.tooltipId=rt("tooltip"),this.contentElements=[],this.handleMouseEnter=()=>{this.disabled||this.open||(this.clearTimeouts(),this.showTimeout=window.setTimeout(()=>this.show(),this.showDelay))},this.handleMouseLeave=()=>{this.disabled||this.open||(this.clearTimeouts(),this.hideTimeout=window.setTimeout(()=>this.hide(),this.hideDelay))},this.handleFocus=()=>{this.disabled||this.open||(this.clearTimeouts(),this.show())},this.handleBlur=()=>{this.disabled||this.open||(this.clearTimeouts(),this.hide())},this.handleEscape=e=>{"Escape"!==e.key||this.open||this.hide()}}firstUpdated(){this.isConnected&&this.initPopup()}connectedCallback(){super.connectedCallback(),this.hasUpdated&&!this.popup&&this.initPopup()}initPopup(){this.popup=document.createElement("quantic-tooltip-popup"),this.movePopupToContainer(),this.open&&this.show()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeouts(),this.cleanup?.(),this.restorePopup()}restorePopup(){this.contentElements.forEach(e=>{e.setAttribute("slot","content"),this.appendChild(e)}),this.contentElements=[],this.popup?.remove(),this.popup=void 0}get triggerElement(){return this.triggerSlot?.assignedElements({flatten:!0})[0]}handleSlotChange(){const e=this.triggerElement;e&&e.setAttribute("aria-describedby",this.tooltipId)}clearTimeouts(){this.showTimeout&&clearTimeout(this.showTimeout),this.hideTimeout&&clearTimeout(this.hideTimeout),this.showTimeout=void 0,this.hideTimeout=void 0}async show(){this.popup&&this.triggerElement&&(await this.popup.updateComplete,this.popup.visible=!0,this.popup.id=this.tooltipId,this.popup.setAttribute("role","tooltip"),this.popup.setAttribute("aria-hidden","false"),this.updatePosition(),document.addEventListener("keydown",this.handleEscape))}hide(){this.popup&&(this.cleanup?.(),this.popup.visible=!1,this.popup.setAttribute("aria-hidden","true"),document.removeEventListener("keydown",this.handleEscape))}movePopupToContainer(){if(!this.popup)return;this.copyCustomPropertiesToPopup(),this.contentElements=Array.from(this.children).filter(e=>"content"===e.getAttribute("slot")),this.contentElements.forEach(e=>{e.removeAttribute("slot"),this.popup.appendChild(e)});let e=this.container?document.querySelector(this.container):document.body;e||(console.warn(`Tooltip container "${this.container}" not found, using body`),e=document.body),e.appendChild(this.popup)}copyCustomPropertiesToPopup(){if(!this.popup)return;const e=getComputedStyle(this);for(const t of Array.from(e)){if(!t.startsWith("--quantic"))continue;const i=e.getPropertyValue(t).trim();i&&this.popup.style.setProperty(t,i)}}updatePosition(){if(this.triggerElement&&this.popup&&this.popup.arrowElement){const{arrowElement:e}=this.popup,t=[Ui(this.offset),Zi(),Gi({padding:8}),Ni({element:e})];this.cleanup=Ei(this.triggerElement,this.popup,async()=>{if(!this.triggerElement||!this.popup||!e)return;const{x:i,y:n,placement:o,middlewareData:s}=await Wi(this.triggerElement,this.popup,{placement:this.placement,middleware:t,strategy:"fixed"});if(Object.assign(this.popup.style,{left:`${i}px`,top:`${n}px`}),s.arrow){const{x:t,y:i}=s.arrow,n={top:"bottom",right:"left",bottom:"top",left:"right"}[o.split("-")[0]];Object.assign(e.style,{left:null!=t?`${t}px`:"",top:null!=i?`${i}px`:"",right:"",bottom:"",[n]:"calc(var(--quantic-component-tooltip-arrow-size) / -2)"})}})}}render(){return W`
|
|
37704
37710
|
<div
|
|
37705
37711
|
class="trigger"
|
|
37706
37712
|
@mouseenter=${this.handleMouseEnter}
|
|
@@ -37744,7 +37750,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37744
37750
|
.trigger {
|
|
37745
37751
|
display: contents;
|
|
37746
37752
|
}
|
|
37747
|
-
`,t([fe({type:"TooltipPlacement",options:Object.values(
|
|
37753
|
+
`,t([fe({type:"TooltipPlacement",options:Object.values(Xo),default:Xo.Top,description:"Preferred placement of the tooltip relative to the trigger."})],e.Tooltip.prototype,"placement",void 0),t([fe({type:"TooltipSize",options:Object.values(Ko),default:Ko.Medium,reflect:!0,description:"Controls max-width, padding, and font size of the tooltip popup."})],e.Tooltip.prototype,"size",void 0),t([fe({type:"number",attribute:"show-delay",default:"250",description:"Delay in milliseconds before the tooltip appears."})],e.Tooltip.prototype,"showDelay",void 0),t([fe({type:"number",attribute:"hide-delay",default:"0",description:"Delay in milliseconds before the tooltip hides."})],e.Tooltip.prototype,"hideDelay",void 0),t([fe({type:"boolean",default:"false",description:"Prevents the tooltip from showing."})],e.Tooltip.prototype,"disabled",void 0),t([fe({type:"number",default:"8",description:"Distance in pixels between the trigger and the tooltip popup."})],e.Tooltip.prototype,"offset",void 0),t([fe({type:"boolean",default:"false",description:"Controls tooltip visibility programmatically."})],e.Tooltip.prototype,"open",void 0),t([fe({type:"string",description:"CSS selector of the DOM element to teleport the popup into. Defaults to document.body."})],e.Tooltip.prototype,"container",void 0),t([xe("slot:not([name])")],e.Tooltip.prototype,"triggerSlot",void 0),e.Tooltip=t([Se("quantic-tooltip")],e.Tooltip),e.Tooltip.ensureDefined(),e.SidebarMenuItem=class extends qe{constructor(){super(...arguments),this.selected=!1,this.href="",this.label="",this.variant=Eo.Primary}hasIcon(){const e=this.shadowRoot?.querySelector('slot[name="icon"]');return e?.assignedElements().length>0}render(){const e=this.isDesktopViewport&&!1===this.isAsideExpanded,t=Ne({main:!0,"is-selected":this.selected,"is-collapsed":e,[`variant--${this.variant}`]:!0}),i=e?null:W`<span class="label">${this.label||W`<slot></slot>`}</span>
|
|
37748
37754
|
<slot name="after"></slot>`,n=this.label||this.textContent?.trim()||"",o=n.charAt(0).toUpperCase(),s=e&&!this.hasIcon()&&o?W`<span class="icon-fallback">${o}</span>`:W`<slot name="icon"></slot>`,c=W` ${s} ${i} `,r=e&&n?n:void 0,a=this.href?W`<a class=${t} href=${this.href} aria-label=${We(r)}>${c}</a>`:W`<button class=${t} aria-label=${We(r)}>${c}</button>`;return e&&n?W`<quantic-tooltip placement="right">
|
|
37749
37755
|
${a}
|
|
37750
37756
|
<span slot="content">${n}</span>
|
|
@@ -37866,7 +37872,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37866
37872
|
quantic-tooltip {
|
|
37867
37873
|
display: contents;
|
|
37868
37874
|
}
|
|
37869
|
-
`,t([an({context:
|
|
37875
|
+
`,t([an({context:Wo,subscribe:!0})],e.SidebarMenuItem.prototype,"isAsideExpanded",void 0),t([No(Zo.above(1024),!0)],e.SidebarMenuItem.prototype,"isDesktopViewport",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Highlights the item as the currently active route."})],e.SidebarMenuItem.prototype,"selected",void 0),t([fe({type:"string",default:"",description:"URL to navigate to. When set the element renders as an <a> tag."})],e.SidebarMenuItem.prototype,"href",void 0),t([fe({type:"string",default:"",description:"Text label shown next to the icon."})],e.SidebarMenuItem.prototype,"label",void 0),t([fe({type:"SidebarMenuItemVariant",options:Object.values(Eo),default:Eo.Primary,description:'Visual style. "primary" is the default; "secondary" uses smaller font and muted colour.'})],e.SidebarMenuItem.prototype,"variant",void 0),e.SidebarMenuItem=t([Se("quantic-sidebar-menu-item")],e.SidebarMenuItem),e.SidebarMenuItem.ensureDefined(),e.LucideIconPanelLeftClose.ensureDefined(),e.LucideIconPanelLeft.ensureDefined(),e.Sidebar=class extends(ze(qe,["header","footer"])){constructor(){super(...arguments),this.ariaLabel="Sidebar navigation",this.collapsible=!1,this.handleToggle=()=>{this.dispatchEvent(new CustomEvent("expanded-changed",{detail:{expanded:!1===this.isAsideExpanded},bubbles:!0,composed:!0}))}}connectedCallback(){super.connectedCallback();for(const e of this.querySelectorAll("[defer-hydration]"))e.removeAttribute("defer-hydration")}render(){const e=!1!==this.isAsideExpanded,t=e?"Collapse":"Expand sidebar",i=e?"Collapse sidebar":"Expand sidebar";return Re`
|
|
37870
37876
|
<nav
|
|
37871
37877
|
class=${Ne({main:!0,"is-aside-expanded":e})}
|
|
37872
37878
|
role="navigation"
|
|
@@ -37891,7 +37897,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37891
37897
|
@click=${this.handleToggle}
|
|
37892
37898
|
title=${i}
|
|
37893
37899
|
label=${t}
|
|
37894
|
-
variant=${
|
|
37900
|
+
variant=${Eo.Secondary}
|
|
37895
37901
|
>
|
|
37896
37902
|
<quantic-icon-lucide-panel-left-close
|
|
37897
37903
|
slot="icon"
|
|
@@ -37989,7 +37995,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
37989
37995
|
[hidden] {
|
|
37990
37996
|
display: none;
|
|
37991
37997
|
}
|
|
37992
|
-
`,t([an({context:
|
|
37998
|
+
`,t([an({context:Wo,subscribe:!0})],e.Sidebar.prototype,"isAsideExpanded",void 0),t([fe({type:"string",default:"Sidebar navigation",description:"Accessible label for the nav landmark."})],e.Sidebar.prototype,"ariaLabel",void 0),t([fe({type:"boolean",default:"false",attribute:"collapsible",reflect:!0,description:"When true, shows a toggle button at the bottom of the sidebar on desktop viewports."})],e.Sidebar.prototype,"collapsible",void 0),t([No(Zo.above(1024),!0)],e.Sidebar.prototype,"isDesktopViewport",void 0),e.Sidebar=t([Se("quantic-sidebar")],e.Sidebar),e.SidebarMenuItemGroup=class extends qe{constructor(){super(...arguments),this.label=""}render(){const e=this.label&&!1!==this.expanded;return W`
|
|
37993
37999
|
${e?W`<div class="label">${this.label}</div>`:""}
|
|
37994
38000
|
<div class="items">
|
|
37995
38001
|
<slot></slot>
|
|
@@ -38019,7 +38025,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38019
38025
|
flex-direction: column;
|
|
38020
38026
|
gap: var(--quantic-spacing-1);
|
|
38021
38027
|
}
|
|
38022
|
-
`,t([an({context:
|
|
38028
|
+
`,t([an({context:Wo,subscribe:!0})],e.SidebarMenuItemGroup.prototype,"expanded",void 0),t([fe({type:"string",default:"",description:"Section label displayed above the group items."})],e.SidebarMenuItemGroup.prototype,"label",void 0),e.SidebarMenuItemGroup=t([Se("quantic-sidebar-menu-item-group")],e.SidebarMenuItemGroup),e.OptionCardVariant=void 0,(Jo=e.OptionCardVariant||(e.OptionCardVariant={})).Ghost="ghost",Jo.Solid="solid",e.OptionCardType=void 0,(Qo=e.OptionCardType||(e.OptionCardType={})).Single="single",Qo.Multiple="multiple",e.OptionCardSize=void 0,(Yo=e.OptionCardSize||(e.OptionCardSize={})).Small="sm",Yo.Medium="md",Yo.Large="lg";const es="option-card-group.context";e.OptionCard=class extends(ze(qe,["icon","description"])){constructor(){super(),this.checked=!1,this.required=!1,this.disabled=!1,this.invalid=!1,this.name="",this.variant=e.OptionCardVariant.Ghost,this.size=e.OptionCardSize.Medium,this.defaultChecked=!1,this.internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.defaultChecked=this.hasAttribute("checked")}get computedDisabled(){return this.disabled||this.groupContext?.disabled||!1}get computedInvalid(){return this.invalid||this.groupContext?.invalid||!1}get inputType(){return this.groupContext?.type===e.OptionCardType.Multiple?"checkbox":"radio"}forwardNative(e){const t=e.target;this.checked=t.checked,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}updated(e){if(super.updated(e),e.has("checked")&&void 0!==this.value){const e="checkbox"===this.inputType?this.checked?"on":null:this.checked?this.value:null;this.internals.setFormValue(e);const t=this.renderRoot.querySelector("input");t&&(t.checked=this.checked)}e.has("value")&&this.dispatchEvent(new CustomEvent("property-updated",{detail:{value:this.value},bubbles:!0,composed:!0}))}dispatchValueChanged(e){this.dispatchEvent(new CustomEvent("value-changed",{detail:{checked:this.checked,value:this.value},bubbles:!0,composed:!0}))}formResetCallback(){const e=this.renderRoot.querySelector("input");this.checked=this.defaultChecked;const t="checkbox"===this.inputType?this.defaultChecked?"on":null:this.defaultChecked?this.value:null;void 0!==t&&this.internals.setFormValue(t),e&&(e.checked=this.defaultChecked)}formStateRestoreCallback(e){"checkbox"===this.inputType?this.checked="on"===e:this.checked=e===this.value,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}render(){const e=Ne({label:!0,[`size--${this.size}`]:!0,[`variant--${this.variant}`]:!0,checked:this.checked,disabled:this.computedDisabled,invalid:this.computedInvalid}),t="radio"===this.inputType,i="input";return W`
|
|
38023
38029
|
<input
|
|
38024
38030
|
id=${i}
|
|
38025
38031
|
type=${this.inputType}
|
|
@@ -38332,7 +38338,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38332
38338
|
[hidden] {
|
|
38333
38339
|
display: none;
|
|
38334
38340
|
}
|
|
38335
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the card is currently selected."})],e.OptionCard.prototype,"checked",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the card as required for form validation."})],e.OptionCard.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.OptionCard.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling."})],e.OptionCard.prototype,"invalid",void 0),t([fe({type:"string",reflect:!0,description:"Form value submitted when this card is selected."})],e.OptionCard.prototype,"value",void 0),t([fe({type:"string",description:"Name attribute passed to the underlying input for form association."})],e.OptionCard.prototype,"name",void 0),t([fe({type:"OptionCardVariant",options:Object.values(e.OptionCardVariant),default:e.OptionCardVariant.Ghost,description:"Visual style of the card."})],e.OptionCard.prototype,"variant",void 0),t([fe({type:"OptionCardSize",options:Object.values(e.OptionCardSize),default:e.OptionCardSize.Medium,description:"Controls padding and font size."})],e.OptionCard.prototype,"size",void 0),t([an({context:
|
|
38341
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the card is currently selected."})],e.OptionCard.prototype,"checked",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the card as required for form validation."})],e.OptionCard.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.OptionCard.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling."})],e.OptionCard.prototype,"invalid",void 0),t([fe({type:"string",reflect:!0,description:"Form value submitted when this card is selected."})],e.OptionCard.prototype,"value",void 0),t([fe({type:"string",description:"Name attribute passed to the underlying input for form association."})],e.OptionCard.prototype,"name",void 0),t([fe({type:"OptionCardVariant",options:Object.values(e.OptionCardVariant),default:e.OptionCardVariant.Ghost,description:"Visual style of the card."})],e.OptionCard.prototype,"variant",void 0),t([fe({type:"OptionCardSize",options:Object.values(e.OptionCardSize),default:e.OptionCardSize.Medium,description:"Controls padding and font size."})],e.OptionCard.prototype,"size",void 0),t([an({context:es,subscribe:!0})],e.OptionCard.prototype,"groupContext",void 0),e.OptionCard=t([Ce("value-changed",{description:"Fired whenever the card's selection state changes.",detail:"{ checked: boolean, value: string }"}),Ce("input",{forwarded:!0}),Ce("change",{forwarded:!0}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Se("quantic-option-card")],e.OptionCard),e.Grid.ensureDefined(),e.OptionCardGroup=class extends(Xi(qe)){constructor(){super(),this.name="",this.values=[],this.disabled=!1,this.required=!1,this.invalid=!1,this.type=e.OptionCardType.Single,this.density=e.GridDensity.Comfortable,this.size=e.OptionCardSize.Medium,this.groupContext={type:this.type,disabled:this.disabled,invalid:this.invalid},this.internals=this.attachInternals(),this.handleValueChanged=this.handleValueChanged.bind(this),this.handleCardPropertyUpdated=this.handleCardPropertyUpdated.bind(this)}connectedCallback(){super.connectedCallback(),this.addEventListener("value-changed",this.handleValueChanged),this.addEventListener("property-updated",this.handleCardPropertyUpdated)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("value-changed",this.handleValueChanged),this.removeEventListener("property-updated",this.handleCardPropertyUpdated)}handleValueChanged(t){const i=t,n=i.target;if(n&&"quantic-option-card"===n.tagName.toLowerCase())if(t.stopPropagation(),this.type===e.OptionCardType.Single){if(!i.detail?.checked)return;this.value=n.value,this.uncheckOthers(n),this.internals.setFormValue(this.value||null),this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:this.value},bubbles:!0,composed:!0}))}else{const e=i.detail?.checked,t=n.value;e?void 0===t||this.values.includes(t)||(this.values=[...this.values,t]):this.values=this.values.filter(e=>e!==t);const o=this.values.length>0?this.values.join(","):null;this.internals.setFormValue(o),this.dispatchEvent(new CustomEvent("value-changed",{detail:{value:this.values},bubbles:!0,composed:!0}))}}handleCardPropertyUpdated(t){const i=t.target;i&&"quantic-option-card"===i.tagName.toLowerCase()&&(t.stopPropagation(),this.type===e.OptionCardType.Single?this.syncSingleSelection():this.syncMultipleSelection())}uncheckOthers(e){this.querySelectorAll("quantic-option-card").forEach(t=>{t!==e&&t.checked&&(t.checked=!1)})}updated(t){if(super.updated(t),(t.has("type")||t.has("disabled")||t.has("invalid"))&&(this.groupContext={type:this.type,disabled:this.disabled,invalid:this.invalid}),(t.has("name")||t.has("size")||t.has("disabled")||t.has("required"))&&this.syncCardProperties(),t.has("value")&&this.type===e.OptionCardType.Single&&(this.syncSingleSelection(),this.internals.setFormValue(this.value||null)),t.has("values")&&this.type===e.OptionCardType.Multiple){this.syncMultipleSelection();const e=this.values.length>0?this.values.join(","):null;this.internals.setFormValue(e)}}syncCardProperties(){this.querySelectorAll("quantic-option-card").forEach(e=>{e.name=this.name,e.size=this.size,e.disabled=this.disabled,e.required=this.required})}syncSingleSelection(){this.querySelectorAll("quantic-option-card").forEach(e=>{e.checked=void 0!==e.value&&e.value===this.value})}syncMultipleSelection(){this.querySelectorAll("quantic-option-card").forEach(e=>{e.checked=void 0!==e.value&&this.values.includes(e.value)})}firstUpdated(){this.syncCardProperties(),this.type===e.OptionCardType.Single?this.syncSingleSelection():this.syncMultipleSelection()}formResetCallback(){this.type===e.OptionCardType.Single?(this.value=void 0,this.internals.setFormValue(null),this.syncSingleSelection()):(this.values=[],this.internals.setFormValue(null),this.syncMultipleSelection())}formStateRestoreCallback(t){this.type===e.OptionCardType.Single?(this.value=t??void 0,this.internals.setFormValue(t),this.syncSingleSelection()):(this.values=t?t.split(","):[],this.internals.setFormValue(t),this.syncMultipleSelection())}formDisabledCallback(e){this.disabled=e}render(){const t=this.getA11yAttributes({invalid:this.invalid}),i=this.type===e.OptionCardType.Single?"radiogroup":"group";return W`<div
|
|
38336
38342
|
class="option-card-group"
|
|
38337
38343
|
role=${i}
|
|
38338
38344
|
aria-label=${t.label}
|
|
@@ -38350,10 +38356,10 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38350
38356
|
.option-card-group {
|
|
38351
38357
|
display: contents;
|
|
38352
38358
|
}
|
|
38353
|
-
`,t([fe({type:"string",description:"Shared name attribute propagated to all child quantic-option-cards."})],e.OptionCardGroup.prototype,"name",void 0),t([fe({type:"string",reflect:!0,description:"Currently selected value (single-select mode)."})],e.OptionCardGroup.prototype,"value",void 0),t([fe({type:"string[]",default:"[]",description:"Selected values in multiple-select mode."})],e.OptionCardGroup.prototype,"values",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction on all cards."})],e.OptionCardGroup.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the group as required for form validation."})],e.OptionCardGroup.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling to all cards."})],e.OptionCardGroup.prototype,"invalid",void 0),t([fe({type:"OptionCardType",options:Object.values(e.OptionCardType),default:e.OptionCardType.Single,description:'Selection mode: "single" for radio behaviour, "multiple" for checkbox behaviour.'})],e.OptionCardGroup.prototype,"type",void 0),t([fe({type:"GridDensity",description:"Column density of the card grid layout."})],e.OptionCardGroup.prototype,"density",void 0),t([fe({type:"OptionCardSize",options:Object.values(e.OptionCardSize),default:e.OptionCardSize.Medium,description:"Size propagated to all child quantic-option-cards."})],e.OptionCardGroup.prototype,"size",void 0),t([rn({context:
|
|
38359
|
+
`,t([fe({type:"string",description:"Shared name attribute propagated to all child quantic-option-cards."})],e.OptionCardGroup.prototype,"name",void 0),t([fe({type:"string",reflect:!0,description:"Currently selected value (single-select mode)."})],e.OptionCardGroup.prototype,"value",void 0),t([fe({type:"string[]",default:"[]",description:"Selected values in multiple-select mode."})],e.OptionCardGroup.prototype,"values",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction on all cards."})],e.OptionCardGroup.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the group as required for form validation."})],e.OptionCardGroup.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling to all cards."})],e.OptionCardGroup.prototype,"invalid",void 0),t([fe({type:"OptionCardType",options:Object.values(e.OptionCardType),default:e.OptionCardType.Single,description:'Selection mode: "single" for radio behaviour, "multiple" for checkbox behaviour.'})],e.OptionCardGroup.prototype,"type",void 0),t([fe({type:"GridDensity",description:"Column density of the card grid layout."})],e.OptionCardGroup.prototype,"density",void 0),t([fe({type:"OptionCardSize",options:Object.values(e.OptionCardSize),default:e.OptionCardSize.Medium,description:"Size propagated to all child quantic-option-cards."})],e.OptionCardGroup.prototype,"size",void 0),t([rn({context:es})],e.OptionCardGroup.prototype,"groupContext",void 0),e.OptionCardGroup=t([Ce("value-changed",{description:"Fired whenever the selected card(s) change.",detail:"{ value: string | string[] }"}),Se("quantic-option-card-group")],e.OptionCardGroup);const ts={Small:"sm",Medium:"md",Large:"lg"},is=(e,t)=>t>=e?Array.from({length:t-e+1},(t,i)=>e+i):[];var ns,os,ss,cs;e.LucideIconArrowLeft.ensureDefined(),e.LucideIconArrowRight.ensureDefined(),e.ButtonBar.ensureDefined(),e.ButtonBarItem.ensureDefined(),e.Pagination=class extends qe{constructor(){super(...arguments),this.size=ts.Medium,this.currentPage=1,this.totalPages=1,this.maxDisplayedPages=5}_handlePageChange(e){e<1||e>this.totalPages||e===this.currentPage||this.dispatchEvent(new CustomEvent("page-change",{detail:{page:e},bubbles:!0,composed:!0}))}_handlePrevious(){this._handlePageChange(this.currentPage-1)}_handleNext(){this._handlePageChange(this.currentPage+1)}render(){const e=this.currentPage<=1,t=this.currentPage>=this.totalPages,i=((e,t,i)=>{if(t<=i)return is(1,t);const n=i-2,o=Math.max(Math.floor(n/2),0),s=Math.max(e-o,2),c=Math.min(e+o,t-1),r=c-s+1,[a,l]=r>=n?[s,c]:2===s?[s,Math.min(s+n-1,t-1)]:[Math.max(c-n+1,2),c];return[1,...a>2?["ellipsis"]:[],...is(a,l),...l<t-1?["ellipsis"]:[],t]})(this.currentPage,this.totalPages,this.maxDisplayedPages);return W`
|
|
38354
38360
|
<nav role="navigation" aria-label="Pagination">
|
|
38355
|
-
<quantic-button-
|
|
38356
|
-
<quantic-button-
|
|
38361
|
+
<quantic-button-bar size=${this.size}>
|
|
38362
|
+
<quantic-button-bar-item
|
|
38357
38363
|
?disabled=${e}
|
|
38358
38364
|
@click=${this._handlePrevious}
|
|
38359
38365
|
aria-label="Go to previous page"
|
|
@@ -38362,24 +38368,24 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38362
38368
|
size="xs"
|
|
38363
38369
|
class="icon"
|
|
38364
38370
|
></quantic-icon-lucide-arrow-left>
|
|
38365
|
-
</quantic-button-
|
|
38371
|
+
</quantic-button-bar-item>
|
|
38366
38372
|
|
|
38367
38373
|
${i.map(e=>"ellipsis"===e?W`
|
|
38368
|
-
<quantic-button-
|
|
38374
|
+
<quantic-button-bar-item disabled>
|
|
38369
38375
|
...
|
|
38370
|
-
</quantic-button-
|
|
38376
|
+
</quantic-button-bar-item>
|
|
38371
38377
|
`:W`
|
|
38372
|
-
<quantic-button-
|
|
38378
|
+
<quantic-button-bar-item
|
|
38373
38379
|
?active=${e===this.currentPage}
|
|
38374
38380
|
@click=${()=>this._handlePageChange(e)}
|
|
38375
38381
|
aria-label="Go to page ${e}"
|
|
38376
38382
|
aria-current=${e===this.currentPage?"page":"false"}
|
|
38377
38383
|
>
|
|
38378
38384
|
${e}
|
|
38379
|
-
</quantic-button-
|
|
38385
|
+
</quantic-button-bar-item>
|
|
38380
38386
|
`)}
|
|
38381
38387
|
|
|
38382
|
-
<quantic-button-
|
|
38388
|
+
<quantic-button-bar-item
|
|
38383
38389
|
?disabled=${t}
|
|
38384
38390
|
@click=${this._handleNext}
|
|
38385
38391
|
aria-label="Go to next page"
|
|
@@ -38388,14 +38394,14 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38388
38394
|
size="xs"
|
|
38389
38395
|
class="icon"
|
|
38390
38396
|
></quantic-icon-lucide-arrow-right>
|
|
38391
|
-
</quantic-button-
|
|
38392
|
-
</quantic-button-
|
|
38397
|
+
</quantic-button-bar-item>
|
|
38398
|
+
</quantic-button-bar>
|
|
38393
38399
|
</nav>
|
|
38394
|
-
`}},e.Pagination.meta={tag:"quantic-pagination",description:"Page navigation control with previous/next and numbered page buttons. Emits page-change events; the host is responsible for updating currentPage.",category:"navigation",relatedTo:["quantic-button-
|
|
38400
|
+
`}},e.Pagination.meta={tag:"quantic-pagination",description:"Page navigation control with previous/next and numbered page buttons. Emits page-change events; the host is responsible for updating currentPage.",category:"navigation",relatedTo:["quantic-button-bar"]},e.Pagination.styles=d`
|
|
38395
38401
|
.icon {
|
|
38396
38402
|
color: var(--quantic-text-secondary);
|
|
38397
38403
|
}
|
|
38398
|
-
`,t([rn({context:dn}),fe({type:"PaginationSize",options:Object.values(
|
|
38404
|
+
`,t([rn({context:dn}),fe({type:"PaginationSize",options:Object.values(ts),default:ts.Medium,reflect:!0,description:"Controls the size of the pagination buttons."})],e.Pagination.prototype,"size",void 0),t([fe({type:"number",default:"1",reflect:!0,attribute:"current-page",description:"Currently active page (1-indexed)."})],e.Pagination.prototype,"currentPage",void 0),t([fe({type:"number",default:"1",reflect:!0,attribute:"total-pages",description:"Total number of pages."})],e.Pagination.prototype,"totalPages",void 0),t([fe({type:"number",default:"5",reflect:!0,attribute:"max-displayed-pages",description:"Maximum number of page buttons to display before collapsing with ellipsis."})],e.Pagination.prototype,"maxDisplayedPages",void 0),e.Pagination=t([Ce("page-change",{description:"Emitted when the current page changes.",detail:"{ page: number }"}),Se("quantic-pagination")],e.Pagination),e.PanelVariant=void 0,(ns=e.PanelVariant||(e.PanelVariant={})).Solid="solid",ns.Outline="outline",ns.Ghost="ghost",e.PanelGroupGap=void 0,(os=e.PanelGroupGap||(e.PanelGroupGap={})).None="none",os.ExtraSmall="xs",os.Small="sm",os.Medium="md",os.Large="lg",os.ExtraLarge="xl",e.PanelHeaderSize=void 0,(ss=e.PanelHeaderSize||(e.PanelHeaderSize={})).Small="sm",ss.Medium="md",ss.Large="lg",e.PanelHeaderVariant=void 0,(cs=e.PanelHeaderVariant||(e.PanelHeaderVariant={})).Primary="primary",cs.Secondary="secondary",e.Panel=class extends(ze(qe,["header","footer"])){constructor(){super(...arguments),this.variant=e.PanelVariant.Outline,this.highlighted=!1}render(){const e=Ne({main:!0,[`variant--${this.variant}`]:!0,highlighted:this.highlighted});return Re`
|
|
38399
38405
|
<div class=${e}>
|
|
38400
38406
|
<slot name="header" class="header"></slot>
|
|
38401
38407
|
<slot class="body"></slot>
|
|
@@ -38569,7 +38575,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38569
38575
|
.gap--xl {
|
|
38570
38576
|
--quantic-component-panel-group-gap: var(--quantic-spacing-12);
|
|
38571
38577
|
}
|
|
38572
|
-
`,t([fe({type:"PanelGroupGap",options:Object.values(e.PanelGroupGap),default:e.PanelGroupGap.Medium,description:"Spacing between stacked panels."})],e.PanelGroup.prototype,"gap",void 0),e.PanelGroup=t([Se("quantic-panel-group")],e.PanelGroup);const
|
|
38578
|
+
`,t([fe({type:"PanelGroupGap",options:Object.values(e.PanelGroupGap),default:e.PanelGroupGap.Medium,description:"Spacing between stacked panels."})],e.PanelGroup.prototype,"gap",void 0),e.PanelGroup=t([Se("quantic-panel-group")],e.PanelGroup);const rs={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},as=Je;e.Progress=class extends qe{constructor(){super(...arguments),this.size=rs.Small,this.label=!1,this.color=as.Brand,this.ariaLabel=null,this.description=null}get indeterminate(){return void 0===this.value}get clamped(){if(!this.indeterminate)return st(this.value,0,100)}updated(e){super.updated(e),e.has("value")&&!this.indeterminate&&this.style.setProperty("--quantic-component-progress-value",`${this.clamped}%`)}render(){const{clamped:e,indeterminate:t}=this;return W`
|
|
38573
38579
|
<div
|
|
38574
38580
|
class=${Ne({main:!0,[`size--${this.size}`]:!0})}
|
|
38575
38581
|
>
|
|
@@ -38686,7 +38692,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38686
38692
|
width: 100%;
|
|
38687
38693
|
}
|
|
38688
38694
|
}
|
|
38689
|
-
`,t([fe({type:"number",description:"Current progress value (0–100). Omit for indeterminate mode."})],e.Progress.prototype,"value",void 0),t([fe({type:"ProgressSize",options:Object.values(
|
|
38695
|
+
`,t([fe({type:"number",description:"Current progress value (0–100). Omit for indeterminate mode."})],e.Progress.prototype,"value",void 0),t([fe({type:"ProgressSize",options:Object.values(rs),default:rs.Small,description:"Controls the bar height and label font size."})],e.Progress.prototype,"size",void 0),t([fe({type:"boolean",default:"false",description:"Shows a percentage label next to the bar (only in determinate mode)."})],e.Progress.prototype,"label",void 0),t([fe({type:"ProgressColor",options:Object.values(as),default:as.Brand,description:"Fill color of the progress bar."})],e.Progress.prototype,"color",void 0),t([fe({attribute:"aria-label",type:"string",description:"Accessible label for the progressbar role."})],e.Progress.prototype,"ariaLabel",void 0),t([fe({type:"string",description:"Accessible description forwarded to aria-description."})],e.Progress.prototype,"description",void 0),e.Progress=t([Se("quantic-progress")],e.Progress);const ls={Article:"article",Section:"section",Div:"div"};e.Prose=class extends qe{constructor(){super(...arguments),this.as=ls.Article}render(){const e=Ve(this.as);return Re`<${e}><slot></slot></${e}>`}},e.Prose.meta={tag:"quantic-prose",description:"Article context for long-form HTML (markdown, MDX, docs). Typography comes from @ctrliq/quantic-css/prose on the critical path (`@forward` in global.scss) so first paint matches before the custom element upgrades. The host only wraps slotted content in a landmark (`as`) for catalog/Storybook — it does not ship article CSS. Use quantic-text for one-off strings.",category:"display",slots:{"":{description:"Article content (headings, paragraphs, lists, pre, embedded components)."}},relatedTo:["quantic-text","quantic-alert"]},e.Prose.styles=d`
|
|
38690
38696
|
:host {
|
|
38691
38697
|
display: block;
|
|
38692
38698
|
}
|
|
@@ -38735,11 +38741,11 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38735
38741
|
::slotted(p + p) {
|
|
38736
38742
|
margin-block-start: var(--quantic-spacing-1) !important;
|
|
38737
38743
|
}
|
|
38738
|
-
`,t([fe({type:"ProseAs",options:Object.values(
|
|
38744
|
+
`,t([fe({type:"ProseAs",options:Object.values(ls),default:ls.Article,description:"Landmark element wrapping the slot (article, section, or div)."})],e.Prose.prototype,"as",void 0),e.Prose=t([Se("quantic-prose")],e.Prose),e.Skeleton=class extends qe{render(){return W`
|
|
38739
38745
|
<span
|
|
38740
38746
|
class="skeleton"
|
|
38741
38747
|
aria-hidden="true"
|
|
38742
|
-
style=${
|
|
38748
|
+
style=${ko({"--cols":null!=this.cols?String(this.cols):void 0,"--rows":null!=this.rows?String(this.rows):void 0,"animation-delay":null!=this.delay?`${this.delay}s`:void 0})}
|
|
38743
38749
|
></span>
|
|
38744
38750
|
`}},e.Skeleton.meta={tag:"quantic-skeleton",description:"Animated placeholder used while content is loading. Renders a shimmering block sized by column span and line-height units.",category:"feedback"},e.Skeleton.styles=d`
|
|
38745
38751
|
:host {
|
|
@@ -38775,7 +38781,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38775
38781
|
animation: none;
|
|
38776
38782
|
}
|
|
38777
38783
|
}
|
|
38778
|
-
`,t([fe({type:"number",description:"Width as a fraction of 12 columns (1–12). Defaults to 12 (full width)."})],e.Skeleton.prototype,"cols",void 0),t([fe({type:"number",description:"Height as a multiple of 1em. Defaults to 1."})],e.Skeleton.prototype,"rows",void 0),t([fe({type:"number",description:"Animation delay in seconds. Useful for staggering multiple skeletons."})],e.Skeleton.prototype,"delay",void 0),e.Skeleton=t([Se("quantic-skeleton")],e.Skeleton);const
|
|
38784
|
+
`,t([fe({type:"number",description:"Width as a fraction of 12 columns (1–12). Defaults to 12 (full width)."})],e.Skeleton.prototype,"cols",void 0),t([fe({type:"number",description:"Height as a multiple of 1em. Defaults to 1."})],e.Skeleton.prototype,"rows",void 0),t([fe({type:"number",description:"Animation delay in seconds. Useful for staggering multiple skeletons."})],e.Skeleton.prototype,"delay",void 0),e.Skeleton=t([Se("quantic-skeleton")],e.Skeleton);const ds=Je,us={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg",ExtraLarge:"xl"};e.Spinner=class extends qe{constructor(){super(...arguments),this.size=us.Medium,this.label="Loading"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","status")}render(){return W`
|
|
38779
38785
|
<div
|
|
38780
38786
|
class=${Ne({sizer:!0,[`size--${this.size}`]:!0,[`color--${this.color}`]:!!this.color})}
|
|
38781
38787
|
aria-hidden="true"
|
|
@@ -38873,14 +38879,14 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38873
38879
|
transform: rotate(360deg);
|
|
38874
38880
|
}
|
|
38875
38881
|
}
|
|
38876
|
-
`,t([fe({type:"SpinnerSize",options:Object.values(
|
|
38882
|
+
`,t([fe({type:"SpinnerSize",options:Object.values(us),default:us.Medium,description:"Diameter of the spinner ring."})],e.Spinner.prototype,"size",void 0),t([fe({type:"SpinnerColor",options:Object.values(ds),description:"Overrides the ring color. Defaults to currentColor."})],e.Spinner.prototype,"color",void 0),t([fe({type:"string",default:"Loading",description:"Visually hidden text announced by screen readers."})],e.Spinner.prototype,"label",void 0),e.Spinner=t([Se("quantic-spinner")],e.Spinner);const hs={Line:"line",Gradient:"gradient",Filled:"filled"};const ps=Je;function gs(e){const t=Number.isFinite(e.minSize)?e.minSize:0,i=Number.isFinite(e.maxSize)?e.maxSize:100,n=st(t,0,100),o=st(i,0,100);return{min:Math.min(n,o),max:Math.max(n,o)}}function vs(e,t){return t.reduce((t,i,n)=>i.collapsed?t:t+e[n],0)}function ws(e,t,i){const{a:n,b:o,total:s}=i,c=Math.max(n.min,s-o.max),r=Math.min(n.max,s-o.min),a=st(e+t,Math.min(c,r),Math.max(c,r));return[a,s-a]}function ms(e,t){return e*t/100}function ks(e,t){if(e.length!==t.length)return e;const i=vs(e,t);return 0===i?e.map(()=>0):e.map((e,n)=>t[n]?.collapsed?0:e/i*100)}e.Sparkline=class extends qe{constructor(){super(...arguments),this.values=[],this.variant=hs.Line,this.color=ps.Brand}get points(){return function(e,t,i){if(e.length<2)return"";const n=t??Math.min(...e),o=i??Math.max(...e);return e.map((t,i)=>function(e,t,i,n,o){return`${t/(i-1)*100},${n===o?20:40*(1-(e-n)/(o-n))}`}(t,i,e.length,n,o)).join(" ")}(this.values,this.yMin,this.yMax)}render(){const e=this.values.length>=2?this.points:null;return W`
|
|
38877
38883
|
<svg
|
|
38878
38884
|
class=${Ne({[`color--${this.color}`]:!0})}
|
|
38879
38885
|
viewBox="0 0 100 40"
|
|
38880
38886
|
preserveAspectRatio="none"
|
|
38881
38887
|
aria-hidden="true"
|
|
38882
38888
|
>
|
|
38883
|
-
${e?this.variant===
|
|
38889
|
+
${e?this.variant===hs.Gradient?X`
|
|
38884
38890
|
<defs>
|
|
38885
38891
|
<linearGradient id="sg" x1="0" y1="0" x2="0" y2="1.5">
|
|
38886
38892
|
<stop offset="0%"></stop>
|
|
@@ -38888,7 +38894,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38888
38894
|
</linearGradient>
|
|
38889
38895
|
</defs>
|
|
38890
38896
|
<polygon points="${e} 100,40 0,40" fill="url(#sg)"></polygon>
|
|
38891
|
-
`:this.variant===
|
|
38897
|
+
`:this.variant===hs.Filled?X`<polygon class="fill" points="${e} 100,40 0,40"></polygon>`:J:J}
|
|
38892
38898
|
${e?X`<polyline points="${e}"></polyline>`:J}
|
|
38893
38899
|
</svg>
|
|
38894
38900
|
`}},e.Sparkline.meta={tag:"quantic-sparkline",description:"Compact inline chart (line, filled, or gradient) for showing trends without axes or labels. Purely visual — provide an accessible label via the parent context.",category:"display"},e.Sparkline.styles=d`
|
|
@@ -38943,7 +38949,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
38943
38949
|
}
|
|
38944
38950
|
|
|
38945
38951
|
${l(ct(e=>`--quantic-component-sparkline-color: var(--quantic-utility-${e}-500);`))}
|
|
38946
|
-
`,t([fe({type:"number[]",default:"[]",description:"Array of numeric data points to chart."})],e.Sparkline.prototype,"values",void 0),t([fe({type:"SparklineVariant",options:Object.values(
|
|
38952
|
+
`,t([fe({type:"number[]",default:"[]",description:"Array of numeric data points to chart."})],e.Sparkline.prototype,"values",void 0),t([fe({type:"SparklineVariant",options:Object.values(hs),default:hs.Line,description:"Chart style — line, filled area, or gradient fill."})],e.Sparkline.prototype,"variant",void 0),t([fe({type:"SparklineColor",options:Object.values(ps),default:ps.Brand,description:"Stroke and fill color."})],e.Sparkline.prototype,"color",void 0),t([fe({type:"number",description:"Override the minimum Y value used for scaling. Defaults to the data minimum."})],e.Sparkline.prototype,"yMin",void 0),t([fe({type:"number",description:"Override the maximum Y value used for scaling. Defaults to the data maximum."})],e.Sparkline.prototype,"yMax",void 0),e.Sparkline=t([Se("quantic-sparkline")],e.Sparkline);const ys={percent:0,flex:1};function xs(e,t){if(0===t)return[];const i=e.trim().split(/\s+/).filter(Boolean),n=Array.from({length:t},(e,t)=>t<i.length?(e=>{if(e.endsWith("%")){const t=parseFloat(e);return{percent:isNaN(t)||t<0?0:t,flex:0}}const t="*"===e?1:parseFloat(e);return{percent:0,flex:isNaN(t)||t<=0?1:t}})(i[t]):ys),o=n.reduce((e,{percent:t})=>e+t,0),s=n.reduce((e,{flex:t})=>e+t,0),c=Math.max(0,100-o),r=n.map(({percent:e,flex:t})=>0===t?e:s>0?t/s*c:0),a=r.reduce((e,t)=>e+t,0);return a>0?r.map(e=>e/a*100):Array(t).fill(100/t)}var Ls,Is,fs,Cs;e.SplitterGroup=class extends qe{constructor(){super(...arguments),this.direction="horizontal",this.resizable=!1,this.split="",this.collapseBelow="640px",this.panes=[],this.sizes=[],this.mutationObserver=null,this.collapsedObserver=null,this.resizeObserver=null,this.dragInfo=null,this.handlePointerMove=e=>{if(!this.dragInfo)return;const t="vertical"===this.direction?this.wrapper.clientHeight:this.wrapper.clientWidth;if(0===t)return;const{dividerIndex:i,startX:n,startY:o,startLayoutA:s,startLayoutB:c}=this.dragInfo,r=this.panes[i-1],a=this.panes[i],l=("vertical"===this.direction?e.clientY-o:e.clientX-n)/t*100,[d,u]=ws(s,l,{a:gs(r),b:gs(a),total:s+c}),h=[...this.sizes];h[i-1]=ms(d,this.dragInfo.activeSizesSum),h[i]=ms(u,this.dragInfo.activeSizesSum),this.sizes=h,this.applySizes()},this.handlePointerUp=()=>{this.dragInfo&&(this.renderRoot.querySelectorAll(".divider.dragging").forEach(e=>{e.classList.remove("dragging")}),this.removeEventListener("pointermove",this.handlePointerMove),this.removeEventListener("pointerup",this.handlePointerUp),this.removeEventListener("pointercancel",this.handlePointerUp),this.dragInfo=null,this.dispatchEvent(new CustomEvent("resize",{bubbles:!0,composed:!0,detail:{sizes:this.sizes}})))}}connectedCallback(){super.connectedCallback(),this.discoverPanes(),this.mutationObserver=new MutationObserver(()=>this.discoverPanes()),this.mutationObserver.observe(this,{childList:!0})}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.collapsedObserver?.disconnect(),this.resizeObserver?.disconnect(),this.dragInfo&&(this.removeEventListener("pointermove",this.handlePointerMove),this.removeEventListener("pointerup",this.handlePointerUp),this.removeEventListener("pointercancel",this.handlePointerUp),this.dragInfo=null)}firstUpdated(){this.setupResizeObserver()}updated(e){super.updated(e),e.has("split")&&(this.sizes=xs(this.split,this.panes.length),this.applySizes()),e.has("collapseBelow")&&this.checkStacked()}discoverPanes(){const e=Array.from(this.querySelectorAll(":scope > quantic-splitter-pane"));e.forEach((e,t)=>{const i=`pane-${t}`;e.getAttribute("slot")!==i&&e.setAttribute("slot",i)}),this.panes.forEach(t=>{e.includes(t)||(t.removeAttribute("slot"),t.removeAttribute("stacked"))});const t=this.panes.length;this.panes=e,e.length!==t&&(this.sizes=xs(this.split,e.length)),this.setupCollapsedObserver(),this.applySizes()}setupCollapsedObserver(){this.collapsedObserver?.disconnect(),0!==this.panes.length&&(this.collapsedObserver=new MutationObserver(()=>{this.panes=[...this.panes],this.applySizes()}),this.panes.forEach(e=>{this.collapsedObserver.observe(e,{attributes:!0,attributeFilter:["collapsed"]})}))}setupResizeObserver(){this.wrapper&&(this.resizeObserver=new ResizeObserver(e=>{const t=e[0];t&&this.checkStackedForSize(t.contentRect.width)}),this.resizeObserver.observe(this.wrapper))}checkStacked(){this.wrapper&&this.checkStackedForSize(this.wrapper.clientWidth)}checkStackedForSize(e){if("vertical"===this.direction)return;const t=(this.collapseBelow??"").trim();if(!t.endsWith("px"))return;const i=parseFloat(t);if(!Number.isFinite(i))return;const n=e<=i;this.toggleAttribute("stacked",n),this.panes.forEach(e=>e.toggleAttribute("stacked",n))}applySizes(){const e=ks(this.sizes,this.panes);this.panes.forEach((t,i)=>{t.style.setProperty("--quantic-component-splitter-pane-flex-grow",String(e[i]))}),this.renderRoot.querySelectorAll('[part="divider"]').forEach((t,i)=>{t.setAttribute("aria-valuenow",String(Math.round(e[i])))})}dividerEffectiveBounds(e,t){const i=gs(this.panes[e-1]),n=gs(this.panes[e]),o=t[e-1]+t[e];return{min:Math.max(i.min,o-n.max),max:Math.min(i.max,o-n.min)}}isDividerDisabled(e){return!this.resizable||(this.panes[e-1]?.collapsed??!1)||(this.panes[e]?.collapsed??!1)}isDividerHidden(e){return(this.panes[e-1]?.hasAttribute("collapsed")??!1)||(this.panes[e]?.hasAttribute("collapsed")??!1)}handleDividerPointerDown(e,t){e.preventDefault();const i=e.currentTarget;i.setPointerCapture(e.pointerId),i.classList.add("dragging");const n=ks(this.sizes,this.panes),o=vs(this.sizes,this.panes);this.dragInfo={dividerIndex:t,startX:e.clientX,startY:e.clientY,startLayoutA:n[t-1],startLayoutB:n[t],activeSizesSum:o},this.addEventListener("pointermove",this.handlePointerMove),this.addEventListener("pointerup",this.handlePointerUp),this.addEventListener("pointercancel",this.handlePointerUp)}handleDividerKeyDown(e,t){const i=function(e,t){if(t){if("ArrowUp"===e)return-1;if("ArrowDown"===e)return 1}else{if("ArrowLeft"===e)return-1;if("ArrowRight"===e)return 1}return null}(e.key,"vertical"===this.direction);if(null===i)return;e.preventDefault();const n=ks(this.sizes,this.panes),[o,s]=ws(n[t-1],i,{a:gs(this.panes[t-1]),b:gs(this.panes[t]),total:n[t-1]+n[t]}),c=vs(this.sizes,this.panes),r=[...this.sizes];r[t-1]=ms(o,c),r[t]=ms(s,c),this.sizes=r,this.applySizes(),this.dispatchEvent(new CustomEvent("resize",{bubbles:!0,composed:!0,detail:{sizes:this.sizes}}))}render(){const e=ks(this.sizes,this.panes);return W`
|
|
38947
38953
|
<div
|
|
38948
38954
|
class=${Ne({wrapper:!0,"direction--horizontal":"horizontal"===this.direction,"direction--vertical":"vertical"===this.direction})}
|
|
38949
38955
|
>
|
|
@@ -39086,7 +39092,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39086
39092
|
:host([variant='solid']) {
|
|
39087
39093
|
background: var(--quantic-bg-secondary);
|
|
39088
39094
|
}
|
|
39089
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Collapses the pane to zero size, hiding its content."})],e.SplitterPane.prototype,"collapsed",void 0),t([fe({type:"number",default:"10",attribute:"min-size",description:"Minimum size as a percentage of the splitter container."})],e.SplitterPane.prototype,"minSize",void 0),t([fe({type:"number",default:"90",attribute:"max-size",description:"Maximum size as a percentage of the splitter container."})],e.SplitterPane.prototype,"maxSize",void 0),t([fe({type:'"default" | "solid"',default:"default",reflect:!0,description:'Visual style — "solid" applies a secondary background color.'})],e.SplitterPane.prototype,"variant",void 0),e.SplitterPane=t([Se("quantic-splitter-pane")],e.SplitterPane),e.TableVariant=void 0,(
|
|
39095
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Collapses the pane to zero size, hiding its content."})],e.SplitterPane.prototype,"collapsed",void 0),t([fe({type:"number",default:"10",attribute:"min-size",description:"Minimum size as a percentage of the splitter container."})],e.SplitterPane.prototype,"minSize",void 0),t([fe({type:"number",default:"90",attribute:"max-size",description:"Maximum size as a percentage of the splitter container."})],e.SplitterPane.prototype,"maxSize",void 0),t([fe({type:'"default" | "solid"',default:"default",reflect:!0,description:'Visual style — "solid" applies a secondary background color.'})],e.SplitterPane.prototype,"variant",void 0),e.SplitterPane=t([Se("quantic-splitter-pane")],e.SplitterPane),e.TableVariant=void 0,(Ls=e.TableVariant||(e.TableVariant={})).Outline="outline",Ls.Minimal="minimal",Ls.Striped="striped",e.TableSize=void 0,(Is=e.TableSize||(e.TableSize={})).ExtraSmall="xs",Is.Small="sm",Is.Medium="md",Is.Large="lg",e.SortDirection=void 0,(fs=e.SortDirection||(e.SortDirection={})).Ascending="asc",fs.Descending="desc",fs.None="none",e.CellAlign=void 0,(Cs=e.CellAlign||(e.CellAlign={})).Left="left",Cs.Center="center",Cs.Right="right";const bs="table.variant";e.Table=class extends(ze(qe,["toolbar","header","footer","controls"])){constructor(){super(...arguments),this.size=e.TableSize.Medium,this.variant=e.TableVariant.Outline,this.dense=!1,this.ariaLabel=null}render(){return W`
|
|
39090
39096
|
<slot name="toolbar" class="toolbar"></slot>
|
|
39091
39097
|
<div
|
|
39092
39098
|
role="table"
|
|
@@ -39178,7 +39184,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39178
39184
|
[hidden] {
|
|
39179
39185
|
display: none;
|
|
39180
39186
|
}
|
|
39181
|
-
`,t([fe({type:"TableSize",options:Object.values(e.TableSize),default:e.TableSize.Medium,reflect:!0,description:"Controls cell padding and font size."})],e.Table.prototype,"size",void 0),t([rn({context:
|
|
39187
|
+
`,t([fe({type:"TableSize",options:Object.values(e.TableSize),default:e.TableSize.Medium,reflect:!0,description:"Controls cell padding and font size."})],e.Table.prototype,"size",void 0),t([rn({context:bs}),fe({type:"TableVariant",options:Object.values(e.TableVariant),default:e.TableVariant.Outline,reflect:!0,description:'Visual style. "outline" adds row borders; "striped" alternates row backgrounds; "minimal" removes borders.'})],e.Table.prototype,"variant",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Reduces cell padding for compact display."})],e.Table.prototype,"dense",void 0),t([fe({type:"string",attribute:"aria-label",description:"Accessible label for the table."})],e.Table.prototype,"ariaLabel",void 0),t([fe({type:"string",attribute:"aria-labelledby",description:"ID of an element that labels the table."})],e.Table.prototype,"ariaLabelledby",void 0),e.Table=t([Se("quantic-table")],e.Table),e.TableControls=class extends qe{constructor(){super(...arguments),this.ariaLabel=null}render(){return W`
|
|
39182
39188
|
<div class="start">
|
|
39183
39189
|
<slot></slot>
|
|
39184
39190
|
</div>
|
|
@@ -39314,7 +39320,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39314
39320
|
:host(:nth-child(odd).variant--striped) {
|
|
39315
39321
|
background-color: var(--quantic-component-table-row-striped-bg);
|
|
39316
39322
|
}
|
|
39317
|
-
`,t([an({context:
|
|
39323
|
+
`,t([an({context:bs,subscribe:!0})],e.TableRow.prototype,"variant",void 0),t([fe({type:"string",default:"row",reflect:!0,description:"ARIA role for the table row."})],e.TableRow.prototype,"role",void 0),e.TableRow=t([Se("quantic-table-row")],e.TableRow),e.TableCell=class extends qe{constructor(){super(...arguments),this.variant=e.TableVariant.Outline,this.role="cell",this.align=e.CellAlign.Left}willUpdate(){this.classList&&this.style&&(Object.entries({"variant--minimal":this.variant===e.TableVariant.Minimal,"variant--outline":this.variant===e.TableVariant.Outline,"variant--striped":this.variant===e.TableVariant.Striped}).forEach(([e,t])=>{this.classList.toggle(e,t)}),this.width&&(this.style.width=this.width),this.style.setProperty("--cell-align",this.align))}render(){return W`<slot></slot>`}},e.TableCell.meta={tag:"quantic-table-cell",description:"Individual data cell within a quantic-table-row. Receives variant context from the parent quantic-table.",category:"display",slots:{"":{description:"Cell content — text, elements, or other components."}},relatedTo:["quantic-table-row","quantic-table"]},e.TableCell.styles=d`
|
|
39318
39324
|
:host {
|
|
39319
39325
|
display: table-cell;
|
|
39320
39326
|
padding: var(--quantic-component-table-padding);
|
|
@@ -39327,17 +39333,17 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39327
39333
|
:host(.variant--outline) {
|
|
39328
39334
|
border-bottom: 1px solid var(--quantic-component-table-border-color);
|
|
39329
39335
|
}
|
|
39330
|
-
`,t([an({context:
|
|
39336
|
+
`,t([an({context:bs,subscribe:!0})],e.TableCell.prototype,"variant",void 0),t([fe({type:"string",default:"cell",reflect:!0,description:"ARIA role for the table cell."})],e.TableCell.prototype,"role",void 0),t([fe({type:"CellAlign",options:Object.values(e.CellAlign),default:e.CellAlign.Left,reflect:!0,description:"Horizontal text alignment within the cell."})],e.TableCell.prototype,"align",void 0),t([fe({type:"string",description:'Inline width applied to this column (e.g. "200px" or "20%").'})],e.TableCell.prototype,"width",void 0),e.TableCell=t([Se("quantic-table-cell")],e.TableCell),e.TableFooter=class extends qe{constructor(){super(...arguments),this.role="rowgroup"}render(){return W`<slot></slot>`}},e.TableFooter.meta={tag:"quantic-table-footer",description:"The <tfoot> equivalent for quantic-table. Place quantic-table-row elements with summary or footer data as children.",category:"display",slots:{"":{description:"quantic-table-row elements with footer data."}},relatedTo:["quantic-table","quantic-table-row"]},e.TableFooter.styles=d`
|
|
39331
39337
|
:host {
|
|
39332
39338
|
display: table-footer-group;
|
|
39333
39339
|
border-top: 1px solid var(--quantic-component-table-border-color);
|
|
39334
39340
|
}
|
|
39335
|
-
`,t([fe({type:"string",default:"rowgroup",reflect:!0,description:"ARIA role for the footer row group."})],e.TableFooter.prototype,"role",void 0),e.TableFooter=t([Se("quantic-table-footer")],e.TableFooter);const
|
|
39341
|
+
`,t([fe({type:"string",default:"rowgroup",reflect:!0,description:"ARIA role for the footer row group."})],e.TableFooter.prototype,"role",void 0),e.TableFooter=t([Se("quantic-table-footer")],e.TableFooter);const Ms={Horizontal:"horizontal",Vertical:"vertical"},qs={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},Ss="buttons",Bs="panels",As="tabs.id",Ps="tabs.size",js="tabs.orientation",zs="tabs.selectedIndex";e.Tabs=class extends qe{constructor(){super(...arguments),this.size=qs.Medium,this.orientation=Ms.Horizontal,this.selectedIndex=0,this.id="",this.collapseBelow="",this.resizeObserver=null,this._assignSlots=()=>{Array.from(this.children).filter(e=>e instanceof HTMLElement).forEach(e=>{const t=e.tagName.toLowerCase();"quantic-tab-button"===t&&(e.slot=Ss),"quantic-tab-panel"===t&&(e.slot=Bs)})}}connectedCallback(){super.connectedCallback(),this.addEventListener("tab-selected",this._onTabSelect),this.id||(this.id=`tabs-${Math.random().toString(36).substring(2,9)}`)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}firstUpdated(){this._assignSlots(),this.shadowRoot?.querySelectorAll(`slot[name="${Ss}"], slot[name="${Bs}"]`).forEach(e=>e.addEventListener("slotchange",this._assignSlots)),this.setupResizeObserver()}updated(e){super.updated(e),(e.has("collapseBelow")||e.has("orientation"))&&this.checkStacked()}setupResizeObserver(){this.resizeObserver=new ResizeObserver(e=>{const t=e[0];t&&this.checkStackedForSize(t.contentRect.width)}),this.resizeObserver.observe(this)}checkStacked(){this.checkStackedForSize(this.clientWidth)}checkStackedForSize(e){if(e<=0)return;if(this.orientation!==Ms.Vertical)return void this.toggleAttribute("stacked",!1);const t=(this.collapseBelow??"").trim();if(!t.endsWith("px"))return void this.toggleAttribute("stacked",!1);const i=parseFloat(t);Number.isFinite(i)?this.toggleAttribute("stacked",e<=i):this.toggleAttribute("stacked",!1)}_onTabSelect(e){e.target.closest("quantic-tabs")===this&&(e.stopPropagation(),this.selectedIndex=e.detail.index)}render(){const e=Ne({main:!0,[`orientation--${this.orientation}`]:!0});return W`
|
|
39336
39342
|
<div class=${e}>
|
|
39337
39343
|
<div class="buttons" part="nav" role="tablist">
|
|
39338
|
-
<slot name=${
|
|
39344
|
+
<slot name=${Ss}></slot>
|
|
39339
39345
|
</div>
|
|
39340
|
-
<div class="panels" part="panels"><slot name=${
|
|
39346
|
+
<div class="panels" part="panels"><slot name=${Bs}></slot></div>
|
|
39341
39347
|
</div>
|
|
39342
39348
|
`}},e.Tabs.meta={tag:"quantic-tabs",description:"Tab container managing quantic-tab-button triggers and quantic-tab-panel content areas. Place quantic-tab-button and quantic-tab-panel as direct children. Emits tab-selected when the active tab changes.",category:"navigation",slots:{"":{description:"quantic-tab-button and quantic-tab-panel elements as direct children."}},subComponents:["quantic-tab-button","quantic-tab-panel"]},e.Tabs.styles=[d`
|
|
39343
39349
|
:host {
|
|
@@ -39424,19 +39430,19 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39424
39430
|
border-right: none;
|
|
39425
39431
|
border-bottom: 1px solid var(--quantic-border-tertiary);
|
|
39426
39432
|
}
|
|
39427
|
-
`,Pe(
|
|
39433
|
+
`,Pe(Bs,d`
|
|
39428
39434
|
.panels {
|
|
39429
39435
|
display: block;
|
|
39430
39436
|
}
|
|
39431
|
-
`)],t([rn({context:
|
|
39437
|
+
`)],t([rn({context:Ps}),fe({type:"TabsSize",options:Object.values(qs),default:"md",reflect:!0,description:"Controls tab button font size and padding, and the gap between the tab buttons and panels."})],e.Tabs.prototype,"size",void 0),t([rn({context:js}),fe({type:"TabsOrientation",options:Object.values(Ms),default:"horizontal",description:'Layout direction: "horizontal" shows tabs along the top, "vertical" shows them on the left.'})],e.Tabs.prototype,"orientation",void 0),t([rn({context:zs}),fe({type:"number",default:"0",description:"Zero-based index of the currently active tab."})],e.Tabs.prototype,"selectedIndex",void 0),t([rn({context:As}),fe({type:"string",description:"Unique identifier shared via context to link buttons and panels. Auto-generated if not set."})],e.Tabs.prototype,"id",void 0),t([fe({attribute:"collapse-below",type:"string",description:'Pixel breakpoint below which vertical tabs stack (list above panels), matching splitter. Unset by default so vertical tabs stay side-by-side at every width. Example: "640px".'})],e.Tabs.prototype,"collapseBelow",void 0),e.Tabs=t([Ce("tab-selected",{description:"Fired when a tab is selected, providing the index of the selected tab.",detail:"{ index: number }"}),Se("quantic-tabs")],e.Tabs);const Hs=(e,t)=>`tabbutton-${e}-${t}`,Ts=(e,t)=>`tabpanel-${e}-${t}`;function Ds(e,t){e.hasAttribute("slot")||e.setAttribute("slot",t)}e.TabButton=class extends qe{constructor(){super(...arguments),this.defaultSize=qs.Medium,this.size=this.defaultSize,this.defaultOrientation=Ms.Horizontal,this.orientation=this.defaultOrientation,this.defaultSelectedIndex=0,this.selectedIndex=this.defaultSelectedIndex,this.tabsId="",this.disabled=!1,this.buttonRef=St()}willUpdate(){Ds(this,Ss),this.toggleAttribute("selected",this.selectedIndex===this.index)}_onClick(){this.disabled||(this.dispatchEvent(new CustomEvent("tab-selected",{detail:{index:this.index},bubbles:!0,composed:!0})),this.buttonRef.value?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}))}render(){const e=this.selectedIndex===this.index,t=Ne({main:!0,"is-active":e,"is-disabled":this.disabled,[`orientation--${this.orientation}`]:!0,disabled:this.disabled,[`size--${this.size}`]:!0});return W`
|
|
39432
39438
|
<button
|
|
39433
39439
|
${Pt(this.buttonRef)}
|
|
39434
39440
|
class=${t}
|
|
39435
39441
|
part="button"
|
|
39436
|
-
id=${
|
|
39442
|
+
id=${Hs(this.tabsId,this.index)}
|
|
39437
39443
|
role="tab"
|
|
39438
39444
|
aria-selected=${e}
|
|
39439
|
-
aria-controls=${
|
|
39445
|
+
aria-controls=${Ts(this.tabsId,this.index)}
|
|
39440
39446
|
aria-disabled=${this.disabled}
|
|
39441
39447
|
?disabled=${this.disabled}
|
|
39442
39448
|
tabindex=${e&&!this.disabled?0:-1}
|
|
@@ -39628,10 +39634,10 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39628
39634
|
.is-disabled .indicator {
|
|
39629
39635
|
display: none;
|
|
39630
39636
|
}
|
|
39631
|
-
`,t([fe({type:"TabsSize",reflect:!0,description:"SSR fallback for size before context propagates from quantic-tabs."})],e.TabButton.prototype,"defaultSize",void 0),t([an({context:
|
|
39632
|
-
id=${
|
|
39637
|
+
`,t([fe({type:"TabsSize",reflect:!0,description:"SSR fallback for size before context propagates from quantic-tabs."})],e.TabButton.prototype,"defaultSize",void 0),t([an({context:Ps,subscribe:!0})],e.TabButton.prototype,"size",void 0),t([fe({type:"TabsOrientation",reflect:!0,description:"SSR fallback for orientation before context propagates from quantic-tabs."})],e.TabButton.prototype,"defaultOrientation",void 0),t([an({context:js,subscribe:!0})],e.TabButton.prototype,"orientation",void 0),t([fe({type:"number",default:"0",reflect:!0,description:"SSR fallback for selected index before context propagates from quantic-tabs."})],e.TabButton.prototype,"defaultSelectedIndex",void 0),t([an({context:zs,subscribe:!0})],e.TabButton.prototype,"selectedIndex",void 0),t([an({context:As,subscribe:!0})],e.TabButton.prototype,"tabsId",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents this tab from being selected."})],e.TabButton.prototype,"disabled",void 0),t([fe({type:"number",reflect:!0,description:"Zero-based position of this button; must match the index of the corresponding quantic-tab-panel.",required:!0})],e.TabButton.prototype,"index",void 0),e.TabButton=t([Ce("tab-selected",{description:"Fired when a tab is selected, providing the index of the selected tab.",detail:"{ index: number }"}),Se("quantic-tab-button")],e.TabButton),e.TabPanel=class extends qe{constructor(){super(...arguments),this.defaultSelectedIndex=0,this.selectedIndex=this.defaultSelectedIndex,this.tabsId=""}willUpdate(){Ds(this,Bs)}render(){const e=this.selectedIndex===this.index,t=Ne({main:!0,"is-active":e});return W`<div
|
|
39638
|
+
id=${Ts(this.tabsId,this.index)}
|
|
39633
39639
|
class=${t}
|
|
39634
|
-
aria-labelledby=${
|
|
39640
|
+
aria-labelledby=${Hs(this.tabsId,this.index)}
|
|
39635
39641
|
role="tabpanel"
|
|
39636
39642
|
tabindex="0"
|
|
39637
39643
|
>
|
|
@@ -39665,7 +39671,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39665
39671
|
.is-active {
|
|
39666
39672
|
display: block;
|
|
39667
39673
|
}
|
|
39668
|
-
`,t([fe({type:"number",default:"0",reflect:!0,description:"SSR fallback for selected index before context propagates from quantic-tabs."})],e.TabPanel.prototype,"defaultSelectedIndex",void 0),t([an({context:
|
|
39674
|
+
`,t([fe({type:"number",default:"0",reflect:!0,description:"SSR fallback for selected index before context propagates from quantic-tabs."})],e.TabPanel.prototype,"defaultSelectedIndex",void 0),t([an({context:zs,subscribe:!0})],e.TabPanel.prototype,"selectedIndex",void 0),t([an({context:As,subscribe:!0})],e.TabPanel.prototype,"tabsId",void 0),t([fe({type:"number",reflect:!0,description:"Zero-based position of this panel; must match the index of the corresponding quantic-tab-button.",required:!0})],e.TabPanel.prototype,"index",void 0),e.TabPanel=t([Se("quantic-tab-panel")],e.TabPanel);const Vs={Small:"sm",Medium:"md",Large:"lg"};e.Checkbox.ensureDefined(),e.LucideIconX.ensureDefined(),e.Tag=class extends qe{constructor(){super(...arguments),this.size=Vs.Medium,this.selectable=!1,this.dismissible=!1,this.selected=!1}handleClick(){this.selectable&&(this.selected=!this.selected,this.dispatchEvent(new CustomEvent("tag-select",{detail:{selected:this.selected},bubbles:!0,composed:!0})))}handleDismiss(e){e.preventDefault(),e.stopPropagation(),this.dispatchEvent(new CustomEvent("tag-dismiss",{bubbles:!0,composed:!0}))}handleKeyDown(e){!this.selectable||"Enter"!==e.key&&" "!==e.key||e.target.closest(".dismiss-button")||(e.preventDefault(),this.handleClick())}render(){const e=Ne({main:!0,[`size--${this.size}`]:!0,selectable:this.selectable});return Re`
|
|
39669
39675
|
<div
|
|
39670
39676
|
class=${e}
|
|
39671
39677
|
@click=${this.handleClick}
|
|
@@ -39675,7 +39681,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39675
39681
|
aria-checked=${this.selectable?String(this.selected):void 0}
|
|
39676
39682
|
>
|
|
39677
39683
|
${this.selectable?Re`<quantic-checkbox
|
|
39678
|
-
size=${this.size===
|
|
39684
|
+
size=${this.size===Vs.Large?"md":"sm"}
|
|
39679
39685
|
?checked=${this.selected}
|
|
39680
39686
|
></quantic-checkbox>`:null}
|
|
39681
39687
|
<slot name="before"></slot>
|
|
@@ -39802,7 +39808,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39802
39808
|
display: flex;
|
|
39803
39809
|
align-items: center;
|
|
39804
39810
|
}
|
|
39805
|
-
`,t([fe({type:"TagSize",options:Object.values(
|
|
39811
|
+
`,t([fe({type:"TagSize",options:Object.values(Vs),default:Vs.Medium,description:"Controls padding and font size."})],e.Tag.prototype,"size",void 0),t([fe({type:"boolean",default:"false",description:"Renders a checkbox and makes the tag toggleable."})],e.Tag.prototype,"selectable",void 0),t([fe({type:"boolean",default:"false",description:"Shows a dismiss (×) button to remove the tag."})],e.Tag.prototype,"dismissible",void 0),t([fe({type:"boolean",default:"false",description:"Current selected state when selectable is true."})],e.Tag.prototype,"selected",void 0),e.Tag=t([Ce("tag-select",{description:"Fired when a tag's selection state changes (only when selectable is true).",detail:"{ selected: boolean }"}),Ce("tag-dismiss",{description:"Fired when a tag's dismiss button is clicked (only when dismissible is true)."}),Se("quantic-tag")],e.Tag),e.Tag.ensureDefined();const Fs=Je;e.StatusTag=class extends qe{constructor(){super(...arguments),this.size=Vs.Medium,this.color=Fs.Gray,this.selectable=!1,this.dismissible=!1,this.selected=!1}render(){const e=Ne({"status-dot":!0,[`color--${this.color}`]:!0});return Re`
|
|
39806
39812
|
<quantic-tag
|
|
39807
39813
|
size=${this.size}
|
|
39808
39814
|
?selectable=${this.selectable}
|
|
@@ -39825,7 +39831,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39825
39831
|
}
|
|
39826
39832
|
|
|
39827
39833
|
${l(ct(e=>`color: var(--quantic-utility-${e}-700);`))}
|
|
39828
|
-
`,t([fe({type:"TagSize",options:Object.values(
|
|
39834
|
+
`,t([fe({type:"TagSize",options:Object.values(Vs),default:Vs.Medium,description:"Controls padding and font size."})],e.StatusTag.prototype,"size",void 0),t([fe({type:"StatusTagColor",options:Object.values(Fs),default:Fs.Gray,description:"Semantic color applied to the status dot and text."})],e.StatusTag.prototype,"color",void 0),t([fe({type:"boolean",default:"false",description:"Renders a checkbox and makes the tag toggleable."})],e.StatusTag.prototype,"selectable",void 0),t([fe({type:"boolean",default:"false",description:"Shows a dismiss (×) button to remove the tag."})],e.StatusTag.prototype,"dismissible",void 0),t([fe({type:"boolean",default:"false",description:"Current selected state when selectable is true."})],e.StatusTag.prototype,"selected",void 0),e.StatusTag=t([Se("quantic-status-tag")],e.StatusTag),e.Tag.ensureDefined(),e.CountTag=class extends qe{constructor(){super(...arguments),this.size=Vs.Medium,this.selectable=!1,this.dismissible=!1,this.selected=!1,this.count=""}render(){return Re`
|
|
39829
39835
|
<quantic-tag
|
|
39830
39836
|
size=${this.size}
|
|
39831
39837
|
?selectable=${this.selectable}
|
|
@@ -39848,7 +39854,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39848
39854
|
padding: 0 var(--quantic-spacing-1-5);
|
|
39849
39855
|
font-weight: var(--quantic-font-weight-medium);
|
|
39850
39856
|
}
|
|
39851
|
-
`,t([fe({type:"TagSize",options:Object.values(
|
|
39857
|
+
`,t([fe({type:"TagSize",options:Object.values(Vs),default:Vs.Medium,description:"Controls padding and font size."})],e.CountTag.prototype,"size",void 0),t([fe({type:"boolean",default:"false",description:"Renders a checkbox and makes the tag toggleable."})],e.CountTag.prototype,"selectable",void 0),t([fe({type:"boolean",default:"false",description:"Shows a dismiss (×) button to remove the tag."})],e.CountTag.prototype,"dismissible",void 0),t([fe({type:"boolean",default:"false",description:"Current selected state when selectable is true."})],e.CountTag.prototype,"selected",void 0),t([fe({type:"string",default:"",description:"Numeric count displayed in the trailing badge."})],e.CountTag.prototype,"count",void 0),e.CountTag=t([Se("quantic-count-tag")],e.CountTag);const Rs={Body:"body",Display:"display"},Os={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg",ExtraLarge:"xl",TwoExtraLarge:"2xl"},$s=[".main {\n color: var(--quantic-text-primary);\n font-weight: inherit;\n }",...Object.values(Rs).map(e=>`\n.variant--${e} {\n font-family: var(--quantic-font-family-${e});\n}`),...Object.values(Os).flatMap(e=>Object.values(Rs).map(t=>((e,t)=>`\n.size--${t}-${e} {\n font-size: var(--quantic-font-size-${t}-${e});\n line-height: var(--quantic-line-height-${t}-${e});\n}`)(e,t)))].join("\n");e.Text=class extends qe{constructor(){super(...arguments),this.as="span",this.variant=Rs.Body}render(){const e={main:!0,[`variant--${this.variant}`]:!0,[`size--${this.variant}-${this.size}`]:!!this.size},t=Ve(this.as);return Re`<${t} class=${Ne(e)}><slot></slot></${t}>`}},e.Text.meta={tag:"quantic-text",description:"Typography component for rendering text with consistent sizing, weight, and color tokens. Renders any HTML element via the `as` prop for semantic correctness.",category:"display",slots:{"":{description:"Text content to render."}},relatedTo:[]},e.Text.styles=l($s),t([fe({type:"string",default:"span",description:'HTML tag to render (e.g. "p", "h1", "span", "label").'})],e.Text.prototype,"as",void 0),t([fe({type:"TextVariant",options:Object.values(Rs),default:Rs.Body,description:"Font family variant — body or display."})],e.Text.prototype,"variant",void 0),t([fe({type:"TextSize",options:Object.values(Os),description:"Font size and line-height token. Omit to inherit from context."})],e.Text.prototype,"size",void 0),e.Text=t([Se("quantic-text")],e.Text);const _s={ExtraSmall:"xs",Small:"sm",Medium:"md",Large:"lg"},Es={None:"none",Vertical:"vertical",Horizontal:"horizontal",Both:"both"};e.LucideIconCircleAlert.ensureDefined(),e.Textarea=class extends(Xi(qe)){constructor(){super(),this.value="",this.name="",this.placeholder="",this.size=_s.Medium,this.rows=4,this.resize=Es.Vertical,this.disabled=!1,this.required=!1,this.readOnly=!1,this.invalid=!1,this.autoComplete="off",this.internals=this.attachInternals()}updated(e){e.has("value")&&(this.internals.setFormValue(this.value),this.updateValidity()),at(this,e,this.value)}forwardNative(e){const t=e.target;this.value=t.value,this.dispatchEvent(new Event(e.type,{bubbles:!0,composed:!0}))}dispatchValueChanged(e){this.value=e.target.value}formResetCallback(){this.value="",this.internals.setFormValue("")}formStateRestoreCallback(e){this.value=e,this.internals.setFormValue(e)}formDisabledCallback(e){this.disabled=e}updateValidity(){const e=this.shadowRoot?.querySelector("textarea");e&&this.internals.setValidity(e.validity,e.validationMessage,e)}render(){const e=Ne({main:!0,[`size--${this.size}`]:!0}),t=this.getA11yAttributes({invalid:this.invalid});return W`
|
|
39852
39858
|
<div class=${e}>
|
|
39853
39859
|
<textarea
|
|
39854
39860
|
.value=${this.value}
|
|
@@ -39858,7 +39864,7 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39858
39864
|
name=${this.name}
|
|
39859
39865
|
.rows=${this.rows}
|
|
39860
39866
|
part="input"
|
|
39861
|
-
style=${
|
|
39867
|
+
style=${ko({resize:this.resize})}
|
|
39862
39868
|
?readonly=${this.readOnly}
|
|
39863
39869
|
?required=${this.required}
|
|
39864
39870
|
?disabled=${this.disabled}
|
|
@@ -39989,15 +39995,15 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
39989
39995
|
color: var(--quantic-border-error);
|
|
39990
39996
|
pointer-events: none;
|
|
39991
39997
|
}
|
|
39992
|
-
`,t([fe({type:"string",default:"",description:"Current value of the textarea."})],e.Textarea.prototype,"value",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.Textarea.prototype,"name",void 0),t([fe({type:"string",description:"Placeholder text shown when the field is empty."})],e.Textarea.prototype,"placeholder",void 0),t([fe({type:"TextareaSize",options:Object.values(
|
|
39998
|
+
`,t([fe({type:"string",default:"",description:"Current value of the textarea."})],e.Textarea.prototype,"value",void 0),t([fe({type:"string",description:"Name submitted with form data."})],e.Textarea.prototype,"name",void 0),t([fe({type:"string",description:"Placeholder text shown when the field is empty."})],e.Textarea.prototype,"placeholder",void 0),t([fe({type:"TextareaSize",options:Object.values(_s),default:_s.Medium,description:"Controls padding and font size."})],e.Textarea.prototype,"size",void 0),t([fe({type:"number",default:"4",description:"Number of visible text rows."})],e.Textarea.prototype,"rows",void 0),t([fe({type:"TextareaResize",options:Object.values(Es),default:Es.Vertical,description:"Controls the resize handle direction."})],e.Textarea.prototype,"resize",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Prevents interaction."})],e.Textarea.prototype,"disabled",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Marks the field as required for form validation."})],e.Textarea.prototype,"required",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Makes the field non-editable but still focusable and selectable."})],e.Textarea.prototype,"readOnly",void 0),t([fe({type:"boolean",default:"false",reflect:!0,description:"Applies error styling. Set alongside an error message in the parent quantic-field."})],e.Textarea.prototype,"invalid",void 0),t([fe({type:"string",default:"off",reflect:!0,description:"Native autocomplete attribute passed to the inner <textarea>."})],e.Textarea.prototype,"autoComplete",void 0),e.Textarea=t([Ce("value-changed",{description:"Fired whenever the value changes, from user input or a programmatic update. Not fired on initial render.",detail:"{ value: string }"}),Ce("input",{forwarded:!0}),Ce("change",{forwarded:!0}),Ce("focus",{forwarded:!0}),Ce("blur",{forwarded:!0}),Ce("keydown",{forwarded:!0}),Ce("keyup",{forwarded:!0}),Ce("keypress",{forwarded:!0}),Se("quantic-textarea")],e.Textarea);const Us={Success:"success",Error:"error",Warning:"warning",Info:"info"};e.Button.ensureDefined(),e.LucideIconCircleCheck.ensureDefined(),e.LucideIconCircleX.ensureDefined(),e.LucideIconInfo.ensureDefined(),e.LucideIconTriangleAlert.ensureDefined(),e.LucideIconX.ensureDefined(),e.Toast=class extends(ze(qe,["title","","action"])){constructor(){super(...arguments),this.open=!1,this.type=Us.Info,this.showCloseButton=!0,this.ariaLabel=null,this.handleCloseClick=()=>{this.dispatchEvent(new Event("close",{bubbles:!0,composed:!0}))}}updated(e){super.updated(e),e.has("open")&&void 0!==e.get("open")&&this.dispatchEvent(new CustomEvent("open-changed",{detail:{open:this.open},bubbles:!0,composed:!0}))}renderDefaultIcon(){switch(this.type){case Us.Success:return W`<quantic-icon-lucide-circle-check
|
|
39993
39999
|
size="md"
|
|
39994
|
-
></quantic-icon-lucide-circle-check>`;case
|
|
40000
|
+
></quantic-icon-lucide-circle-check>`;case Us.Error:return W`<quantic-icon-lucide-circle-x
|
|
39995
40001
|
size="md"
|
|
39996
|
-
></quantic-icon-lucide-circle-x>`;case
|
|
40002
|
+
></quantic-icon-lucide-circle-x>`;case Us.Warning:return W`<quantic-icon-lucide-triangle-alert
|
|
39997
40003
|
size="md"
|
|
39998
40004
|
></quantic-icon-lucide-triangle-alert>`;default:return W`<quantic-icon-lucide-info
|
|
39999
40005
|
size="md"
|
|
40000
|
-
></quantic-icon-lucide-info>`}}render(){const e=this.type===
|
|
40006
|
+
></quantic-icon-lucide-info>`}}render(){const e=this.type===Us.Error;return W`
|
|
40001
40007
|
<div
|
|
40002
40008
|
class="container"
|
|
40003
40009
|
role=${e?"alert":"status"}
|
|
@@ -40138,10 +40144,10 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
40138
40144
|
[hidden] {
|
|
40139
40145
|
display: none;
|
|
40140
40146
|
}
|
|
40141
|
-
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the toast is visible."})],e.Toast.prototype,"open",void 0),t([fe({type:"ToastType",options:Object.values(
|
|
40147
|
+
`,t([fe({type:"boolean",default:"false",reflect:!0,description:"Whether the toast is visible."})],e.Toast.prototype,"open",void 0),t([fe({type:"ToastType",options:Object.values(Us),default:Us.Info,reflect:!0,description:"Severity. Drives icon and color tokens."})],e.Toast.prototype,"type",void 0),t([fe({type:"boolean",attribute:"show-close-button",default:"true",description:'Shows a built-in close button. Click dispatches a "close" event.'})],e.Toast.prototype,"showCloseButton",void 0),t([fe({type:"string",attribute:"aria-label",description:"Accessible label when no title slot is provided."})],e.Toast.prototype,"ariaLabel",void 0),e.Toast=t([Ce("open-changed",{description:"Fired when the open state changes.",detail:"{ open: boolean }"}),Ce("close",{description:"Fired when the user clicks the close button. The consumer is responsible for setting open=false."}),Se("quantic-toast")],e.Toast),e.Tooltip.ensureDefined(),e.Truncate=class extends qe{constructor(){super(...arguments),this.value="",this.maxLines=1,this.placement=Xo.Top,this.isTruncated=!1}firstUpdated(){this.observer=new ResizeObserver(()=>this.checkTruncation()),this.observer.observe(this),this.checkTruncation()}updated(e){(e.has("maxLines")||e.has("value"))&&this.checkTruncation()}disconnectedCallback(){super.disconnectedCallback(),this.observer?.disconnect()}checkTruncation(){if(!this.textEl)return;const e=this.maxLines>1?this.textEl.scrollHeight>this.textEl.clientHeight:this.textEl.scrollWidth>this.textEl.clientWidth;e!==this.isTruncated&&(this.isTruncated=e)}render(){const e=W`
|
|
40142
40148
|
<div
|
|
40143
40149
|
class=${Ne({text:!0,"text--multiline":this.maxLines>1})}
|
|
40144
|
-
style=${
|
|
40150
|
+
style=${ko({"--truncate-max-lines":String(this.maxLines)})}
|
|
40145
40151
|
tabindex=${this.isTruncated?"0":J}
|
|
40146
40152
|
>
|
|
40147
40153
|
${this.value}
|
|
@@ -40176,5 +40182,5 @@ const vo="important",wo=" !"+vo,mo=Ge(class extends Ze{constructor(e){if(super(e
|
|
|
40176
40182
|
line-clamp: var(--truncate-max-lines);
|
|
40177
40183
|
white-space: normal;
|
|
40178
40184
|
}
|
|
40179
|
-
`,t([fe({type:"string",default:"",description:"Text to display and show in the tooltip when truncated."})],e.Truncate.prototype,"value",void 0),t([fe({type:"number",attribute:"max-lines",default:"1",description:"Maximum number of visible lines before truncating. Defaults to 1 (single-line)."})],e.Truncate.prototype,"maxLines",void 0),t([fe({type:"TooltipPlacement",options:Object.values(Wo),default:Wo.Top,description:"Preferred tooltip placement relative to the text."})],e.Truncate.prototype,"placement",void 0),t([xe(".text")],e.Truncate.prototype,"textEl",void 0),t([ke()],e.Truncate.prototype,"isTruncated",void 0),e.Truncate=t([Se("quantic-truncate")],e.Truncate),e.AlertType=He,e.BadgeColor=Ji,e.BadgeSize=Qi,e.ButtonGroupSize=ln,e.ButtonGrow=_e,e.ButtonSize=$e,e.ButtonVariant=Oe,e.CapacityBarColor=en,e.CapacityBarSize=Yi,e.CardGroupDensity=vn,e.CheckboxGroupGap=kn,e.CheckboxGroupVariant=yn,e.CheckboxSize=mn,e.CodeInputSize=wn,e.ComboboxSize=Ki,e.DialogBackdrop=Cn,e.DialogRole=bn,e.DialogSize=fn,e.DropdownMenuSize=uo,e.FieldGroupLayout=xo,e.FieldGroupSize=yo,e.FieldHintPosition=Lo,e.FieldSize=Io,e.FieldValidationStatus=ko,e.FieldsetSize=Po,e.FieldsetVariant=jo,e.IconBase=dt,e.IconLabelSize=zo,e.IconName=Ke,e.IconSize=Xe,e.LOG_OUTPUT_DEFAULTS=To,e.LayoutVariant=Eo,e.NumberInputSize=Ho,e.PaginationSize=es,e.PopoverPlacement=po,e.PopoverTrigger=go,e.ProgressColor=rs,e.ProgressSize=cs,e.ProseAs=as,e.QuanticElement=qe,e.RadioGroupGap=qo,e.RadioGroupVariant=So,e.RadioSize=Mo,e.SelectSize=bo,e.SidebarMenuItemVariant=_o,e.SparklineColor=hs,e.SparklineVariant=us,e.SpinnerColor=ls,e.SpinnerSize=ds,e.StatusTagColor=Vs,e.TabsOrientation=bs,e.TabsSize=Ms,e.TagSize=Ds,e.TextInputSize=Co,e.TextSize=Rs,e.TextVariant=Fs,e.TextareaResize=_s,e.TextareaSize=$s,e.ToastType=Es,e.ToggleSize=Ao,e.TooltipPlacement=Wo,e.icons={"apptainer.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0.620117C37.6001 0.620117 48.3701 11.3901 48.3701 24.6201C48.3701 37.8501 37.6001 48.6201 24.3701 48.6201C11.1402 48.6201 0.370183 37.8501 0.370117 24.6201C0.370117 11.3901 11.1401 0.620117 24.3701 0.620117ZM24.3701 3.37012C12.6501 3.37012 3.12012 12.9001 3.12012 24.6201C3.12018 36.3401 12.6502 45.8701 24.3701 45.8701C36.0901 45.8701 45.6201 36.3401 45.6201 24.6201C45.6201 12.9001 36.0901 3.37012 24.3701 3.37012ZM32.0078 32.9951C32.0754 33.0597 32.1383 33.1318 32.1934 33.2119C32.2903 33.3533 32.3562 33.5068 32.3945 33.6641L35.4707 38.9922L35.5352 39.1172C35.8209 39.7527 35.584 40.514 34.9678 40.8701C34.3513 41.2261 33.5737 41.0505 33.166 40.4854L33.0898 40.3672L30.5186 35.9141C28.6877 36.8711 26.6489 37.3769 24.5703 37.374H24.5684L24.5674 37.375C22.2699 37.3745 20.111 36.7669 18.2393 35.7061L15.6406 40.207C15.2609 40.8646 14.4203 41.0896 13.7627 40.71C13.1052 40.3301 12.88 39.4896 13.2598 38.832L24.3203 19.6797L32.0078 32.9951ZM19.6143 33.3252C21.0818 34.1527 22.7704 34.625 24.5703 34.625H24.5723L24.9531 34.6182C26.4139 34.5649 27.8417 34.191 29.1416 33.5303L24.3193 25.1777L19.6143 33.3252ZM35.8066 21.1729C36.5568 21.0555 37.2604 21.5682 37.3779 22.3184C37.4811 22.9776 37.5254 23.6489 37.5254 24.3174C37.5253 26.7288 36.8738 28.9981 35.7373 30.9395L35.6602 31.0576C35.2491 31.6202 34.4698 31.7912 33.8555 31.4316C33.2003 31.048 32.9798 30.2051 33.3633 29.5498L33.5273 29.2607C34.3219 27.7966 34.7753 26.11 34.7754 24.3174C34.7754 23.7682 34.739 23.2407 34.6611 22.7432C34.544 21.9931 35.0566 21.2903 35.8066 21.1729ZM13.293 21.4336C14.0447 21.54 14.5681 22.2356 14.4619 22.9873C14.402 23.4102 14.375 23.8529 14.375 24.3174V24.3193C14.3724 26.0448 14.8013 27.7409 15.6182 29.251L15.7861 29.5508L15.8516 29.6758C16.1405 30.3097 15.9082 31.0722 15.2939 31.4316C14.6795 31.791 13.9011 31.6194 13.4902 31.0566L13.4131 30.9395L13.1992 30.5596C12.1641 28.646 11.6218 26.4986 11.625 24.3154C11.6251 23.7455 11.6584 23.1724 11.7393 22.6016C11.846 21.8502 12.5415 21.3274 13.293 21.4336ZM26.126 12.6582C26.3031 11.9689 26.9723 11.5357 27.6611 11.6396L27.7998 11.668L28.376 11.8311C31.231 12.7099 33.6556 14.56 35.2959 16.9785C35.7219 17.6069 35.558 18.4625 34.9297 18.8887C34.3013 19.3145 33.4457 19.1506 33.0195 18.5225C31.717 16.602 29.8018 15.1471 27.5664 14.459L27.1152 14.332L26.9814 14.29C26.3273 14.0495 25.9491 13.3477 26.126 12.6582ZM21.3506 11.668C22.086 11.4792 22.8354 11.9229 23.0244 12.6582C23.213 13.3936 22.7695 14.1432 22.0342 14.332C19.6056 14.9558 17.5207 16.4736 16.1426 18.5186L16.0576 18.6309C15.6118 19.1664 14.8237 19.2883 14.2334 18.8906C13.6039 18.4662 13.4382 17.6111 13.8623 16.9814L14.1982 16.5049C15.9343 14.1612 18.4402 12.4154 21.3506 11.668Z" fill="currentColor"/>\n</svg>\n',"apptainer.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5 0.620117C37.73 0.620117 48.5 11.3901 48.5 24.6201C48.4999 37.8501 37.73 48.6201 24.5 48.6201C11.27 48.6201 0.500066 37.8501 0.5 24.6201C0.5 11.3901 11.27 0.620117 24.5 0.620117ZM13.6055 38.958C13.2952 39.496 13.4798 40.1845 14.0176 40.4951C14.5554 40.8053 15.2439 40.6205 15.5547 40.083L18.167 35.5586C20.0267 36.6374 22.1871 37.2545 24.4883 37.2549V37.2559L24.4893 37.2549L24.4902 37.2559V37.2549C26.6919 37.258 28.8491 36.6812 30.75 35.5928L33.4355 40.2432L33.498 40.3398C33.8316 40.802 34.4684 40.9462 34.9727 40.6553C35.4769 40.3641 35.6699 39.7407 35.4365 39.2207L35.3848 39.1182L24.4502 20.1807L13.6055 38.958ZM29.625 33.6445C28.1777 34.4718 26.5499 34.9387 24.8799 34.999L24.4922 35.0059H24.4902C22.595 35.0059 20.8203 34.4971 19.292 33.6094L24.4492 24.6797L29.625 33.6445ZM13.249 22.0068C12.6341 21.9192 12.0644 22.347 11.9766 22.9619C11.898 23.5124 11.8653 24.0662 11.8652 24.6191C11.8622 26.7335 12.3917 28.813 13.4023 30.665L13.6113 31.0322L13.6748 31.1289C14.0128 31.5875 14.651 31.7254 15.1523 31.4297C15.6535 31.1337 15.8406 30.5088 15.6025 29.9912L15.5488 29.8887L15.3779 29.5869C14.548 28.0661 14.1127 26.3583 14.1152 24.6221V24.6211C14.1152 24.1553 14.143 23.7086 14.2041 23.2803C14.292 22.6653 13.8639 22.0948 13.249 22.0068ZM36.958 22.5723C36.8126 22.0211 36.2696 21.6583 35.6943 21.749C35.1191 21.8401 34.7154 22.3526 34.7471 22.9219L34.7588 23.0361L34.8105 23.4189C34.8543 23.806 34.875 24.2084 34.875 24.6211C34.8748 26.5444 34.3515 28.3479 33.4414 29.8887C33.1259 30.4236 33.3031 31.1138 33.8379 31.4297C34.3726 31.7452 35.0628 31.5675 35.3789 31.0332C36.4885 29.1546 37.1248 26.957 37.125 24.6211C37.125 24.1344 37.1004 23.6465 37.0459 23.165L36.9814 22.6855L36.958 22.5723ZM14.0498 17.5186C13.7011 18.0323 13.8341 18.7319 14.3477 19.0811C14.8612 19.4298 15.5608 19.2964 15.9102 18.7832L14.0498 17.5186ZM27.5244 12.3574C26.9606 12.2736 26.4132 12.629 26.2695 13.1934C26.1264 13.7576 26.4373 14.3317 26.9727 14.5273L27.083 14.5605L27.543 14.6895C29.8208 15.3846 31.769 16.8528 33.0918 18.7861C33.4427 19.2982 34.1428 19.4295 34.6553 19.0791C35.1678 18.7284 35.2986 18.0283 34.9482 17.5156C33.3462 15.1742 30.9808 13.3858 28.1992 12.5371L27.6377 12.3809L27.5244 12.3574ZM22.7207 13.1934C22.5674 12.5913 21.9546 12.2277 21.3525 12.3809C18.3285 13.1507 15.7495 15.0184 14.0498 17.5186L14.9805 18.1504L15.9102 18.7832C17.3104 16.7235 19.4324 15.1908 21.9082 14.5605C22.5096 14.4071 22.8733 13.795 22.7207 13.1934Z" fill="currentColor"/>\n</svg>\n',"ascender.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.410156C38.1001 0.410156 48.8701 11.1802 48.8701 24.4102C48.87 37.6401 38.1001 48.4102 24.8701 48.4102C11.6402 48.4102 0.870217 37.6401 0.870117 24.4102C0.870117 11.1802 11.6401 0.410156 24.8701 0.410156ZM24.8701 3.16016C13.1501 3.16016 3.62012 12.6902 3.62012 24.4102C3.62022 36.1301 13.1502 45.6602 24.8701 45.6602C36.5901 45.6602 46.12 36.1301 46.1201 24.4102C46.1201 12.6902 36.5901 3.16016 24.8701 3.16016ZM31.6807 37.625H16.3301C15.5707 37.625 14.9551 37.0094 14.9551 36.25C14.9551 35.4906 15.5707 34.875 16.3301 34.875H26.8994L19.9141 22.8711L11.9404 36.6777C11.5606 37.3352 10.72 37.5603 10.0625 37.1807C9.40497 36.8009 9.17994 35.9603 9.55957 35.3027L19.9053 17.3887L31.6807 37.625ZM42.209 30.499L42.2734 30.624C42.561 31.2588 42.3263 32.0211 41.7109 32.3789C41.0955 32.7366 40.3175 32.5629 39.9082 31.999L39.8311 31.8809L35.9326 25.1748H27.9805C27.2211 25.1748 26.6055 24.5592 26.6055 23.7998C26.6056 23.0405 27.2211 22.4248 27.9805 22.4248H34.333L28.7031 12.7412L25.5605 18.1777L25.4844 18.2959C25.0765 18.8613 24.2982 19.037 23.6816 18.6807C23.0242 18.3006 22.7996 17.4592 23.1797 16.8018L28.6963 7.25879L42.209 30.499Z" fill="currentColor"/>\n</svg>\n',"ascender.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.2598 0.410156C37.4898 0.410156 48.2598 11.1802 48.2598 24.4102C48.2597 37.6401 37.4897 48.4102 24.2598 48.4102C11.0299 48.41 0.259865 37.64 0.259766 24.4102C0.259766 11.1802 11.0299 0.410289 24.2598 0.410156ZM9.13184 35.7539C8.825 36.2941 9.0145 36.9812 9.55469 37.2881C10.0949 37.5947 10.7821 37.4054 11.0889 36.8652L19.3115 22.3867L26.7246 35.125H15.7305C15.1091 35.125 14.6055 35.6287 14.6055 36.25C14.6055 36.8713 15.1091 37.375 15.7305 37.375H30.6367L19.2881 17.873L9.13184 35.7539ZM22.5957 17.2676C22.2852 17.8057 22.4698 18.4941 23.0078 18.8047C23.5459 19.115 24.2344 18.9306 24.5449 18.3926L28.0938 12.2432L34.1582 22.6748H26.9902C26.369 22.6749 25.8653 23.1786 25.8652 23.7998C25.8652 24.4211 26.369 24.9247 26.9902 24.9248H35.4658L39.4375 31.7559L39.501 31.8516C39.8359 32.313 40.472 32.4549 40.9756 32.1621C41.479 31.8692 41.671 31.2459 41.4355 30.7266L41.3828 30.625L28.0869 7.75586L22.5957 17.2676Z" fill="currentColor"/>\n</svg>\n',"ciq-bridge.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8198 0C25.2497 0 25.6799 0.0102806 26.1099 0.0302734C39.3197 0.730265 49.5 12.0597 48.8003 25.2695C48.1303 38.0195 37.6099 48 24.8599 48C24.4299 48 23.99 47.98 23.5601 47.96C17.1601 47.6199 11.2797 44.81 6.98975 40.04C2.69984 35.2701 0.529633 29.1197 0.869629 22.7197C1.54975 9.97994 12.07 0.00014739 24.8198 0ZM24.8198 2.75C13.53 2.75015 4.21962 11.5902 3.61963 22.8701C3.46548 25.6581 3.86521 28.4492 4.79541 31.082C5.72568 33.7149 7.169 36.1375 9.04053 38.21C12.8305 42.4298 18.0405 44.9197 23.7104 45.2197C24.0903 45.2397 24.48 45.25 24.8599 45.25C36.1499 45.25 45.4601 36.4099 46.0601 25.1299C46.68 13.43 37.6701 3.40034 25.9702 2.78027C25.5902 2.76027 25.2098 2.75 24.8198 2.75ZM28.9907 10.2197L26.9487 12.0615L26.2144 11.2461V22.625H37.5806L36.7876 21.9102L38.6294 19.8682L43.2231 24.0098L38.6294 28.1514L36.7876 26.1094L37.6021 25.375H26.2144V36.75L26.939 35.9473L28.981 37.7891L24.8394 42.3828L20.6968 37.7891L22.7397 35.9473L23.4644 36.75V25.375H12.0981L12.9019 26.0996L11.0601 28.1416L6.46533 24L11.0601 19.8574L12.9019 21.9004L12.0981 22.625H23.4644V11.2676L22.7495 12.0615L20.7075 10.2197L24.8491 5.62598L28.9907 10.2197ZM18.3345 30.6152H20.2397V33.3652H15.5845V28.7207H18.3345V30.6152ZM34.2046 33.2559H29.5601V30.5059H31.4546V28.6104H34.2046V33.2559ZM20.1294 17.4951H18.2349V19.4004H15.4849V14.7451H20.1294V17.4951ZM34.0952 19.29H31.3452V17.3955H29.4497V14.6455H34.0952V19.29Z" fill="currentColor"/>\n</svg>\n',"ciq-bridge.solid":'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.02 48H24.0103C24.0119 48 24.0135 47.999 24.0151 47.999C24.0168 47.999 24.0184 48 24.02 48ZM23.98 0C24.41 0 24.84 0.0102734 25.27 0.0302734C38.4798 0.730272 48.6602 12.0597 47.9604 25.2695C47.2805 38.0078 36.7628 47.9964 24.0151 47.999C23.5868 47.9989 23.1585 47.9898 22.7202 47.96C16.3202 47.62 10.4299 44.81 6.1499 40.04C1.85992 35.27 -0.310214 29.1197 0.0297852 22.7197C0.709913 9.97986 11.2301 1.99937e-05 23.98 0ZM20.0337 10.2109L21.8911 11.8848L22.8745 10.793V22.875H10.7827L11.8745 21.8916L10.2007 20.0342L5.80322 24L10.2007 27.9648L11.8745 26.1084L10.7837 25.125H22.8745V37.2148L21.8911 36.124L20.0337 37.7988L23.9995 42.1963L27.9644 37.7988L26.1079 36.124L25.271 37.0527L25.1245 37.2148V25.125H37.2261L36.1245 26.1182L37.7983 27.9756L38.7261 27.1377L42.1958 24.0098L38.7261 20.8818L37.7983 20.0439L36.1245 21.9014L37.2046 22.875H25.1245V10.7939L26.1079 11.8848L27.9644 10.2109L23.9995 5.81348L20.0337 10.2109ZM14.9946 28.7207V33.1152H19.3892V30.8652H17.2446V28.7207H14.9946ZM30.8647 28.6104V30.7559H28.7095V33.0059H33.1147V28.6104H30.8647ZM14.8843 14.9951V19.4004H17.1343V17.2451H19.2896V14.9951H14.8843ZM28.6089 14.8955V17.1455H30.7544V19.29H33.0044V14.8955H28.6089Z" fill="currentColor"/>\n</svg>\n',"fuzzball.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.035036 23.1954C0.753066 9.70572 12.3046 -0.654732 25.8026 0.0322852C39.2924 0.750967 49.6825 12.3095 48.9647 25.7989C48.2703 38.8474 37.4317 48.9979 24.5145 48.9981C24.0777 48.9981 23.6396 48.9861 23.1981 48.9629C9.70842 48.2445 -0.682501 36.6851 0.035036 23.1954ZM24.4872 2.60064C12.9421 2.60071 3.2556 11.6715 2.63465 23.334C1.9934 35.3896 11.2808 45.7197 23.3368 46.3624C35.3775 47.0012 45.7234 37.7166 46.3651 25.6602C47.0066 13.605 37.7201 3.27476 25.6639 2.63189C25.2705 2.61063 24.8769 2.60064 24.4872 2.60064ZM19.7411 23.7422C19.7397 23.7446 19.7386 23.7477 19.7372 23.7501C16.9166 28.4585 18.3193 34.5379 22.827 37.5616L23.2733 37.8448L21.9354 40.0782C15.8431 36.4292 13.8556 28.5048 17.5038 22.4122C17.5052 22.4098 17.5072 22.4077 17.5087 22.4053L19.7411 23.7422ZM21.4706 28.2491C24.2239 33.2007 30.4921 34.9858 35.4442 32.2344H35.4452L36.7098 34.5098C30.5036 37.9613 22.6464 35.7204 19.1942 29.5147C19.1929 29.5123 19.1926 29.5092 19.1913 29.5069L21.4657 28.2422C21.4671 28.2446 21.4692 28.2467 21.4706 28.2491ZM39.2743 18.9297C39.1605 26.0303 33.2917 31.7146 26.1913 31.6016C26.1885 31.6016 26.1852 31.6007 26.1825 31.6006L26.2245 28.9981C26.2271 28.9981 26.2297 28.9981 26.2323 28.9981C31.8973 29.0895 36.5785 24.5532 36.6718 18.8887L39.2743 18.9297ZM22.8095 17.3965C22.8121 17.3966 22.8146 17.3975 22.8173 17.3975L22.7753 20.0001C22.7726 20.0001 22.7701 20.0001 22.7675 20.0001C17.2793 19.9115 12.7149 24.166 12.3505 29.5821L12.329 30.1094L9.72547 30.0684C9.83928 22.9677 15.7089 17.2834 22.8095 17.3965ZM27.0643 8.91998C33.1567 12.5689 35.1451 20.4933 31.497 26.586C31.4955 26.5884 31.4935 26.5905 31.4921 26.5928L29.2587 25.2549C29.26 25.2526 29.2612 25.2504 29.2626 25.2481C32.1742 20.3878 30.5862 14.0665 25.7274 11.1534L27.0643 8.91998ZM12.2899 14.4883C18.4962 11.0365 26.3533 13.2776 29.8055 19.4835C29.8069 19.4858 29.8082 19.4879 29.8095 19.4903L27.535 20.7559C27.5337 20.7536 27.5315 20.7514 27.5302 20.7491C24.8629 15.9521 18.8968 14.1267 14.0243 16.5186L13.5555 16.7637L12.2899 14.4883Z" fill="currentColor"/>\n</svg>\n',"fuzzball.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5 0C38.0309 0.000123698 49 10.9691 49 24.5C48.9998 38.0307 38.0307 48.9999 24.5 49C10.9691 49 0.000197927 38.0308 0 24.5C0 10.969 10.969 0 24.5 0ZM17.5039 22.4111C13.8556 28.5038 15.8431 36.4292 21.9355 40.0781L23.2734 37.8447L22.8271 37.5615C18.3193 34.5379 16.9168 28.4585 19.7373 23.75C19.7387 23.7476 19.7398 23.7446 19.7412 23.7422L17.5078 22.4053C17.5065 22.4073 17.5052 22.4091 17.5039 22.4111ZM19.1914 29.5068C19.1927 29.5092 19.193 29.5122 19.1943 29.5146C22.6467 35.7204 30.5037 37.9606 36.71 34.5088L35.4443 32.2344C30.4923 34.9857 24.2241 33.2004 21.4707 28.249C21.4694 28.2467 21.4672 28.2445 21.4658 28.2422L19.1914 29.5068ZM36.6709 18.8887C36.5774 24.553 31.8973 29.0885 26.2324 28.9971C26.2298 28.9971 26.2272 28.9981 26.2246 28.998L26.1826 31.6006C26.1852 31.6006 26.1878 31.6015 26.1904 31.6016C33.291 31.7147 39.1606 26.0304 39.2744 18.9297L36.6709 18.8887ZM22.8096 17.3955C15.7091 17.2823 9.83951 22.9667 9.72559 30.0674L12.3291 30.1094L12.3506 29.5811C12.7154 24.1653 17.2796 19.9114 22.7676 20C22.7702 20 22.7728 19.999 22.7754 19.999L22.8174 17.3965C22.8148 17.3964 22.8122 17.3956 22.8096 17.3955ZM25.7275 11.1533C30.5861 14.0665 32.1743 20.3878 29.2627 25.248C29.2614 25.2503 29.2601 25.2526 29.2588 25.2549L31.4922 26.5918C31.4936 26.5897 31.4957 26.5882 31.4971 26.5859C35.1454 20.4933 33.157 12.5679 27.0645 8.91895L25.7275 11.1533ZM29.8057 19.4824C26.3533 13.2769 18.4962 11.0366 12.29 14.4883L13.5557 16.7637V16.7627C18.5079 14.0112 24.7769 15.7972 27.5303 20.749C27.5316 20.7513 27.5329 20.7536 27.5342 20.7559L29.8096 19.4902C29.8083 19.4878 29.807 19.4848 29.8057 19.4824Z" fill="currentColor"/>\n</svg>\n',"rlc-hardened.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-hardened.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-plus.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0C37.6001 0 48.3701 10.77 48.3701 24C48.3701 37.23 37.6001 48 24.3701 48C11.1401 48 0.370117 37.23 0.370117 24C0.370117 10.77 11.1301 0 24.3701 0ZM24.3701 2.75C12.6501 2.75 3.12012 12.28 3.12012 24C3.12012 35.72 12.6501 45.25 24.3701 45.25C36.0901 45.25 45.6201 35.72 45.6201 24C45.6201 12.28 36.0901 2.75 24.3701 2.75ZM40.752 30.2881C41.2887 30.8248 41.2885 31.6953 40.752 32.2324C40.2152 32.7689 39.3446 32.7698 38.8076 32.2334L29.3691 22.8047L13.9023 38.2725L13.7979 38.3672C13.2578 38.8074 12.4603 38.7758 11.957 38.2725C11.4205 37.7357 11.4207 36.865 11.957 36.3281L29.3691 18.916L40.752 30.2881Z" fill="currentColor"/>\n</svg>\n',"rlc-plus.solid":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0898 0C37.3298 0 48.0898 10.77 48.0898 24C48.0898 37.23 37.3198 48 24.0898 48C10.86 47.9999 0.0898438 37.2299 0.0898438 24C0.0898438 10.7701 10.85 0.000132404 24.0898 0ZM10.8164 37.3662C10.3284 37.8543 10.3285 38.6457 10.8164 39.1338C11.3046 39.6216 12.0959 39.6218 12.584 39.1338L29.0898 22.627L39.6768 33.2051L39.7715 33.29C40.2625 33.6902 40.9869 33.6617 41.4443 33.2041C41.9017 32.7464 41.9297 32.022 41.5293 31.5312L41.4434 31.4365L29.0898 19.0928L10.8164 37.3662Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-ai.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-ai.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-hardened.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-hardened.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-pro.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rocky-linux.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0C37.6001 0 48.3701 10.77 48.3701 24C48.3701 37.23 37.6001 48 24.3701 48C11.1401 48 0.370117 37.23 0.370117 24C0.370117 10.77 11.1301 0 24.3701 0ZM24.3701 2.75C12.6501 2.75 3.12012 12.28 3.12012 24C3.12012 35.72 12.6501 45.25 24.3701 45.25C36.0901 45.25 45.6201 35.72 45.6201 24C45.6201 12.28 36.0901 2.75 24.3701 2.75ZM40.752 30.2881C41.2887 30.8248 41.2885 31.6953 40.752 32.2324C40.2152 32.7689 39.3446 32.7698 38.8076 32.2334L29.3691 22.8047L13.9023 38.2725L13.7979 38.3672C13.2578 38.8074 12.4603 38.7758 11.957 38.2725C11.4205 37.7357 11.4207 36.865 11.957 36.3281L29.3691 18.916L40.752 30.2881Z" fill="currentColor"/>\n</svg>\n',"rocky-linux.solid":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0898 0C37.3298 0 48.0898 10.77 48.0898 24C48.0898 37.23 37.3198 48 24.0898 48C10.86 47.9999 0.0898438 37.2299 0.0898438 24C0.0898438 10.7701 10.85 0.000132404 24.0898 0ZM10.8164 37.3662C10.3284 37.8543 10.3285 38.6457 10.8164 39.1338C11.3046 39.6216 12.0959 39.6218 12.584 39.1338L29.0898 22.627L39.6768 33.2051L39.7715 33.29C40.2625 33.6902 40.9869 33.6617 41.4443 33.2041C41.9017 32.7464 41.9297 32.022 41.5293 31.5312L41.4434 31.4365L29.0898 19.0928L10.8164 37.3662Z" fill="currentColor"/>\n</svg>\n',"support.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5198 0.570312C24.9496 0.570312 25.3897 0.590359 25.8196 0.610352C32.2196 0.950352 38.0999 3.76027 42.3899 8.53027C46.6798 13.3002 48.8499 19.4498 48.51 25.8496C47.83 38.5896 37.3098 48.5703 24.5598 48.5703C24.1299 48.5703 23.6997 48.56 23.2698 48.54C10.0599 47.8399 -0.119673 36.5097 0.580322 23.2998C1.25039 10.55 11.77 0.570457 24.5198 0.570312ZM24.5198 3.30957C13.23 3.30971 3.91969 12.1499 3.31958 23.4297C3.00958 29.0897 4.94048 34.5298 8.74048 38.7598C12.5405 42.9897 17.7505 45.4803 23.4104 45.7803C23.7802 45.8003 24.17 45.8096 24.5598 45.8096C35.8497 45.8096 45.1598 36.9702 45.76 25.6904C46.06 20.0305 44.1299 14.5803 40.3401 10.3604C36.5501 6.14038 31.3401 3.64963 25.6702 3.34961C25.4751 3.33961 25.2824 3.33215 25.0911 3.32715L24.5198 3.30957ZM11.6946 17.2471C15.4991 10.2812 24.1835 7.56768 31.2883 11.2178C38.5012 14.9237 41.3605 23.7707 37.6526 30.9883C34.0188 38.0606 25.4426 40.9471 18.3059 37.5615L11.9387 38.6846C11.5034 38.7611 11.0571 38.6238 10.7405 38.3154C10.4239 38.0071 10.2751 37.565 10.3401 37.1279L11.3157 30.584C10.443 28.7493 9.96211 26.7525 9.90161 24.7217L9.89478 24.2852C9.89481 21.9537 10.4511 19.6556 11.5168 17.582L11.6946 17.2471ZM30.0315 13.6631C24.2607 10.6984 17.2008 12.9007 14.1067 18.5664L13.9631 18.8389C13.0972 20.5235 12.6448 22.391 12.6448 24.2852L12.6497 24.6406C12.7026 26.4126 13.1513 28.1521 13.9631 29.7314L14.0081 29.8291C14.1048 30.0602 14.137 30.3144 14.0999 30.5635L13.3411 35.6445L18.2708 34.7764L18.3821 34.7617C18.642 34.7375 18.9044 34.7873 19.1379 34.9072C24.9999 37.9189 32.1919 35.5985 35.2063 29.7324C38.2181 23.8701 35.8983 16.6772 30.0315 13.6631ZM25.8801 17.7539C26.1707 17.0526 26.9746 16.7195 27.676 17.0098C28.3775 17.3003 28.7116 18.1051 28.4211 18.8066L28.2385 19.2461C28.8731 19.6865 29.4235 20.2369 29.8645 20.8711L30.304 20.6895C31.0056 20.399 31.8104 20.733 32.1008 21.4346C32.3909 22.1359 32.0578 22.9399 31.3567 23.2305L30.9192 23.4111C30.988 23.7902 31.0253 24.1754 31.0256 24.5625C31.0259 24.9512 30.989 25.3381 30.9202 25.7188L31.3567 25.8994L31.4836 25.96C32.0971 26.2903 32.3731 27.0386 32.1008 27.6963C31.8285 28.3539 31.1042 28.6883 30.4368 28.4883L30.304 28.4404L29.8674 28.2598C29.6481 28.5756 29.4023 28.8733 29.1292 29.1465C28.8543 29.4213 28.5546 29.6684 28.2366 29.8887L28.4211 30.334L28.468 30.4668C28.6681 31.1343 28.3337 31.8585 27.676 32.1309C27.0184 32.403 26.27 32.1271 25.9397 31.5137L25.8801 31.3867L25.6985 30.9482C24.9343 31.0864 24.1511 31.0864 23.387 30.9482L23.2102 31.376L23.1497 31.5039C22.8192 32.117 22.0708 32.3933 21.4133 32.1211C20.7122 31.8305 20.3791 31.0256 20.6692 30.3242L20.8469 29.8936C20.21 29.4503 19.6574 28.8963 19.2161 28.2578L18.7766 28.4404C18.0751 28.7309 17.2703 28.3978 16.9797 27.6963C16.6893 26.9947 17.0224 26.19 17.7239 25.8994L18.1682 25.7158C18.0294 24.9427 18.0356 24.1649 18.1731 23.416L17.7239 23.2305L17.5969 23.1699C16.9836 22.8396 16.7077 22.0921 16.9797 21.4346C17.2521 20.7767 17.9762 20.4423 18.6438 20.6426L18.7766 20.6895L19.2288 20.877C19.6627 20.2518 20.2086 19.698 20.8538 19.251L20.6702 18.8066C20.3797 18.105 20.7127 17.3003 21.4143 17.0098C22.1157 16.7194 22.9196 17.0527 23.2102 17.7539L23.3909 18.1924C24.1537 18.0547 24.9347 18.0553 25.6975 18.1934L25.8801 17.7539ZM25.97 21.1211C25.0907 20.7574 24.1072 20.7439 23.22 21.0801L23.1174 21.1299C21.2761 21.8949 20.3701 23.971 21.0315 25.8242L21.0999 26.0029L21.175 26.1729C21.552 26.9677 22.1994 27.603 23.0012 27.9678C23.0396 27.9798 23.0776 27.9941 23.1155 28.0098C23.1543 28.0258 23.1922 28.0434 23.2288 28.0625C24.0776 28.3828 25.0138 28.383 25.8625 28.0625C25.8988 28.0436 25.9363 28.0257 25.9749 28.0098C26.4272 27.8226 26.8386 27.5483 27.1848 27.2021C27.5246 26.8624 27.7938 26.459 27.9807 26.0166C27.9836 26.0092 27.9864 26.0015 27.9895 25.9941C27.9929 25.986 27.9967 25.9778 28.0002 25.9697C28.1816 25.5235 28.276 25.0463 28.2756 24.5645C28.2753 24.136 28.2013 23.711 28.0569 23.3086L27.9905 23.1377C27.6108 22.2246 26.8837 21.4993 25.97 21.1211Z" fill="currentColor"/>\n</svg>\n',"support.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3704 0.570312C24.8003 0.570316 25.2302 0.580357 25.6702 0.610352C32.0701 0.950364 37.9605 3.76029 42.2405 8.53027C46.5302 13.3001 48.7005 19.4499 48.3606 25.8496C47.6806 38.5895 37.1603 48.5702 24.4104 48.5703H24.3997C23.97 48.5703 23.5403 48.56 23.1106 48.54C9.9006 47.84 -0.279834 36.5098 0.420166 23.2998C1.10024 10.5599 11.6204 0.570312 24.3704 0.570312ZM31.0149 11.4385C24.0314 7.85071 15.4942 10.5188 11.7542 17.3662L11.5803 17.6953C10.5326 19.7334 9.98574 21.9925 9.9856 24.2842L9.99243 24.7139C10.0527 26.7345 10.5374 28.7205 11.4153 30.542L10.428 37.1631C10.3746 37.5208 10.4971 37.8833 10.7561 38.1357C11.0152 38.3878 11.3796 38.5001 11.7356 38.4375L18.1819 37.3008C25.211 40.6821 33.6876 37.8493 37.2717 30.873C40.9156 23.7789 38.1052 15.0813 31.0149 11.4385ZM13.7288 18.4453C16.8878 12.6622 24.0949 10.4136 29.9866 13.4404C35.9753 16.5174 38.3443 23.8604 35.2698 29.8457C32.2407 35.7412 25.0781 38.1288 19.1458 35.2686L18.8645 35.1289C18.7008 35.0448 18.5194 35.0028 18.3372 35.0049L18.1555 35.0215L12.884 35.9502L13.6936 30.5254L13.7053 30.3506C13.7043 30.234 13.6852 30.1176 13.6487 30.0068L13.5813 29.8447C12.7525 28.2321 12.2953 26.4558 12.2415 24.6465L12.2356 24.2842C12.2357 22.3503 12.6972 20.4436 13.5813 18.7236L13.7288 18.4453ZM27.3206 16.9609C26.7468 16.7234 26.0888 16.9958 25.8508 17.5693L25.5901 18.1973C24.7295 18.0126 23.8395 18.0122 22.9788 18.1963L22.72 17.5693L22.6702 17.4658C22.4 16.964 21.7882 16.7385 21.2502 16.9609C20.7122 17.1838 20.4381 17.7762 20.6018 18.3223L20.6409 18.4307L20.9036 19.0645C20.1531 19.5493 19.5312 20.1799 19.0627 20.9023L18.4309 20.6406L18.3225 20.6016C17.7764 20.4377 17.1842 20.712 16.9612 21.25C16.7387 21.7881 16.9641 22.3998 17.4661 22.6699L17.5696 22.7197L18.1985 22.9795C18.0145 23.8246 18.005 24.714 18.1926 25.5918L17.5696 25.8506C16.9959 26.0884 16.7238 26.7465 16.9612 27.3203C17.199 27.894 17.8571 28.1672 18.4309 27.9297L19.052 27.6719C19.5658 28.4678 20.2554 29.1365 21.0676 29.627L20.7415 30.4189C20.5038 30.9929 20.7761 31.6508 21.3499 31.8887C21.888 32.1114 22.5006 31.8859 22.7708 31.3838L22.8196 31.2793L23.1741 30.4219C23.9738 30.5663 24.7951 30.5544 25.5911 30.3838L25.8508 31.0107C26.0887 31.5842 26.7468 31.8566 27.3206 31.6191C27.8942 31.3814 28.1673 30.7233 27.9299 30.1494L27.6663 29.5146C28.035 29.2765 28.3807 29.0013 28.6926 28.6895C29.0035 28.3786 29.2782 28.0344 29.5159 27.667L30.1497 27.9297C30.7235 28.1672 31.3816 27.894 31.6194 27.3203C31.8566 26.7465 31.5845 26.0884 31.011 25.8506L30.3762 25.5869C30.4675 25.1593 30.5162 24.7216 30.5159 24.2822C30.5155 23.8444 30.4666 23.4085 30.3752 22.9824L31.011 22.7197C31.5845 22.482 31.8565 21.8237 31.6194 21.25C31.3965 20.7121 30.8041 20.4379 30.2581 20.6016L30.1497 20.6406L29.5139 20.9033C29.0359 20.1654 28.4072 19.5363 27.6692 19.0586L27.9299 18.4307C28.1672 17.8568 27.8943 17.1986 27.3206 16.9609ZM22.8655 20.5684C23.8137 20.2074 24.8658 20.2213 25.8059 20.6104C26.7807 21.0138 27.556 21.7876 27.9612 22.7617L28.0325 22.9443C28.1864 23.3734 28.2655 23.8273 28.2659 24.2842C28.2662 24.8064 28.1637 25.325 27.9641 25.8076C27.7644 26.2901 27.471 26.7294 27.1018 27.0986C26.7324 27.4679 26.2925 27.7603 25.8098 27.96C25.7726 27.9754 25.7361 27.9929 25.7014 28.0117C24.7541 28.3725 23.7033 28.3603 22.7639 27.9717C21.8028 27.574 21.0362 26.8154 20.6272 25.8604C20.6213 25.8439 20.6164 25.8259 20.6096 25.8096C20.6037 25.7954 20.5955 25.7814 20.5891 25.7676C19.7853 23.7551 20.7511 21.4545 22.762 20.6191C22.7977 20.6043 22.8321 20.5864 22.8655 20.5684Z" fill="currentColor"/>\n</svg>\n',"warewulf.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3101 0.820312C24.7401 0.820312 25.1701 0.829609 25.6001 0.849609C38.8101 1.54961 48.9905 12.8799 48.2905 26.0898C47.6105 38.8398 37.0902 48.8202 24.3403 48.8203C23.9105 48.8203 23.4704 48.8003 23.0405 48.7803C16.6407 48.4403 10.7602 45.6302 6.47021 40.8604C2.18024 36.0904 0.0101229 29.94 0.350098 23.54C1.0301 10.8 11.5503 0.820313 24.3003 0.820312H24.3101ZM24.3003 3.57031C13.0103 3.57031 3.7001 12.4104 3.1001 23.6904C2.946 26.4784 3.34567 29.2696 4.27588 31.9023C5.20615 34.5351 6.64856 36.9579 8.52002 39.0303C12.31 43.2501 17.5201 45.74 23.1899 46.04C23.5799 46.06 23.9603 46.0703 24.3403 46.0703C35.6301 46.0702 44.9404 37.23 45.5405 25.9502C45.8505 20.2902 43.9196 14.8501 40.1196 10.6201C36.3196 6.3902 31.1096 3.89961 25.4497 3.59961C25.0799 3.57963 24.6901 3.57032 24.3003 3.57031ZM22.7729 16.2012L29.7417 16.792L32.562 20.4805L43.394 20.5625L38.8022 29.5781L29.8638 31.6094L18.7085 40.5439C18.1159 41.0178 17.2504 40.9223 16.7759 40.3301C16.3016 39.7376 16.3977 38.8722 16.9897 38.3975L28.3901 29.2676L28.6362 29.0693L28.9448 29L36.9351 27.1826L38.9243 23.2773L31.1958 23.2207L30.7876 22.6855L28.2964 19.4287L21.5649 18.8594L18.2944 15.6914L17.979 21.3779L11.1118 24.9561L15.4185 28.4834L13.9839 32.0928L17.3501 32.7188L17.4868 32.751C18.1559 32.9466 18.5816 33.6212 18.4517 34.3213C18.3215 35.0211 17.6822 35.4988 16.9878 35.4414L16.8481 35.4219L10.1938 34.1875L12.1196 29.3359L6.146 24.4443L15.3198 19.6621L15.8833 9.52832L22.7729 16.2012ZM27.2144 20.8711L29.0786 23.6152L25.3989 23.4658L23.5151 20.7002L27.2144 20.8711Z" fill="currentColor"/>\n</svg>\n',"warewulf.solid":'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0254 48.001H24.0156C24.0173 48.001 24.0189 48 24.0205 48C24.0221 48 24.0238 48.001 24.0254 48.001ZM23.9854 0C24.4153 0 24.8454 0.0102783 25.2754 0.0302734C38.4857 0.730289 48.6657 12.0602 47.9658 25.2705C47.2859 38.0092 36.7686 47.9974 24.0205 48C23.5922 47.9999 23.1639 47.9908 22.7256 47.9609C16.3254 47.6209 10.4354 44.8111 6.15527 40.041C1.86517 35.2709 -0.304834 29.1209 0.0351562 22.7207C0.715171 9.98042 11.2351 9.85227e-05 23.9854 0ZM15.2471 18.998L6.29395 23.6709L12.1152 28.4395L10.2344 33.1777L16.8604 34.4072C17.4709 34.5203 18.0574 34.1164 18.1709 33.5059C18.2839 32.8952 17.8811 32.3087 17.2705 32.1953L13.3359 31.4639L14.8145 27.7412L10.3555 24.0889L17.4229 20.4014L17.7607 14.3115L21.0723 17.5186L21.3604 17.7969L28.1162 18.3691L30.6836 21.7148L31.0186 22.1504L31.5674 22.1553L39.0273 22.2109L36.8027 26.5791L28.6963 28.4238L28.4443 28.4814L16.8418 37.7725C16.3571 38.1609 16.2788 38.8696 16.667 39.3545C17.0311 39.809 17.6765 39.9061 18.1553 39.5967L18.248 39.5293L29.4473 30.5605L38.3291 28.541L42.6846 19.9893L32.1338 19.9092L29.2959 16.2109L22.3486 15.6221L15.7891 9.26855L15.2471 18.998ZM25.2803 22.3086L29.0518 22.6133L27.2998 20.2129L23.5078 19.8887L25.2803 22.3086Z" fill="currentColor"/>\n</svg>\n'},e.quanticElement=Se,e.tableVariantContext=Cs});
|
|
40185
|
+
`,t([fe({type:"string",default:"",description:"Text to display and show in the tooltip when truncated."})],e.Truncate.prototype,"value",void 0),t([fe({type:"number",attribute:"max-lines",default:"1",description:"Maximum number of visible lines before truncating. Defaults to 1 (single-line)."})],e.Truncate.prototype,"maxLines",void 0),t([fe({type:"TooltipPlacement",options:Object.values(Xo),default:Xo.Top,description:"Preferred tooltip placement relative to the text."})],e.Truncate.prototype,"placement",void 0),t([xe(".text")],e.Truncate.prototype,"textEl",void 0),t([ke()],e.Truncate.prototype,"isTruncated",void 0),e.Truncate=t([Se("quantic-truncate")],e.Truncate),e.AlertType=He,e.BadgeColor=Ji,e.BadgeSize=Qi,e.ButtonBarSize=ln,e.ButtonGroupSize=un,e.ButtonGrow=_e,e.ButtonSize=$e,e.ButtonVariant=Oe,e.CapacityBarColor=en,e.CapacityBarSize=Yi,e.CardGroupDensity=wn,e.CheckboxGroupGap=yn,e.CheckboxGroupVariant=xn,e.CheckboxSize=kn,e.CodeInputSize=mn,e.ComboboxSize=Ki,e.DialogBackdrop=bn,e.DialogRole=Mn,e.DialogSize=Cn,e.DropdownMenuSize=ho,e.FieldGroupLayout=Lo,e.FieldGroupSize=xo,e.FieldHintPosition=Io,e.FieldSize=fo,e.FieldValidationStatus=yo,e.FieldsetSize=jo,e.FieldsetVariant=zo,e.IconBase=dt,e.IconLabelSize=Ho,e.IconName=Ke,e.IconSize=Xe,e.LOG_OUTPUT_DEFAULTS=Do,e.LayoutVariant=Uo,e.NumberInputSize=To,e.PaginationSize=ts,e.PopoverPlacement=go,e.PopoverTrigger=vo,e.ProgressColor=as,e.ProgressSize=rs,e.ProseAs=ls,e.QuanticElement=qe,e.RadioGroupGap=So,e.RadioGroupVariant=Bo,e.RadioSize=qo,e.SelectSize=Mo,e.SidebarMenuItemVariant=Eo,e.SparklineColor=ps,e.SparklineVariant=hs,e.SpinnerColor=ds,e.SpinnerSize=us,e.StatusTagColor=Fs,e.TabsOrientation=Ms,e.TabsSize=qs,e.TagSize=Vs,e.TextInputSize=bo,e.TextSize=Os,e.TextVariant=Rs,e.TextareaResize=Es,e.TextareaSize=_s,e.ToastType=Us,e.ToggleSize=Po,e.TooltipPlacement=Xo,e.TooltipSize=Ko,e.icons={"apptainer.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0.620117C37.6001 0.620117 48.3701 11.3901 48.3701 24.6201C48.3701 37.8501 37.6001 48.6201 24.3701 48.6201C11.1402 48.6201 0.370183 37.8501 0.370117 24.6201C0.370117 11.3901 11.1401 0.620117 24.3701 0.620117ZM24.3701 3.37012C12.6501 3.37012 3.12012 12.9001 3.12012 24.6201C3.12018 36.3401 12.6502 45.8701 24.3701 45.8701C36.0901 45.8701 45.6201 36.3401 45.6201 24.6201C45.6201 12.9001 36.0901 3.37012 24.3701 3.37012ZM32.0078 32.9951C32.0754 33.0597 32.1383 33.1318 32.1934 33.2119C32.2903 33.3533 32.3562 33.5068 32.3945 33.6641L35.4707 38.9922L35.5352 39.1172C35.8209 39.7527 35.584 40.514 34.9678 40.8701C34.3513 41.2261 33.5737 41.0505 33.166 40.4854L33.0898 40.3672L30.5186 35.9141C28.6877 36.8711 26.6489 37.3769 24.5703 37.374H24.5684L24.5674 37.375C22.2699 37.3745 20.111 36.7669 18.2393 35.7061L15.6406 40.207C15.2609 40.8646 14.4203 41.0896 13.7627 40.71C13.1052 40.3301 12.88 39.4896 13.2598 38.832L24.3203 19.6797L32.0078 32.9951ZM19.6143 33.3252C21.0818 34.1527 22.7704 34.625 24.5703 34.625H24.5723L24.9531 34.6182C26.4139 34.5649 27.8417 34.191 29.1416 33.5303L24.3193 25.1777L19.6143 33.3252ZM35.8066 21.1729C36.5568 21.0555 37.2604 21.5682 37.3779 22.3184C37.4811 22.9776 37.5254 23.6489 37.5254 24.3174C37.5253 26.7288 36.8738 28.9981 35.7373 30.9395L35.6602 31.0576C35.2491 31.6202 34.4698 31.7912 33.8555 31.4316C33.2003 31.048 32.9798 30.2051 33.3633 29.5498L33.5273 29.2607C34.3219 27.7966 34.7753 26.11 34.7754 24.3174C34.7754 23.7682 34.739 23.2407 34.6611 22.7432C34.544 21.9931 35.0566 21.2903 35.8066 21.1729ZM13.293 21.4336C14.0447 21.54 14.5681 22.2356 14.4619 22.9873C14.402 23.4102 14.375 23.8529 14.375 24.3174V24.3193C14.3724 26.0448 14.8013 27.7409 15.6182 29.251L15.7861 29.5508L15.8516 29.6758C16.1405 30.3097 15.9082 31.0722 15.2939 31.4316C14.6795 31.791 13.9011 31.6194 13.4902 31.0566L13.4131 30.9395L13.1992 30.5596C12.1641 28.646 11.6218 26.4986 11.625 24.3154C11.6251 23.7455 11.6584 23.1724 11.7393 22.6016C11.846 21.8502 12.5415 21.3274 13.293 21.4336ZM26.126 12.6582C26.3031 11.9689 26.9723 11.5357 27.6611 11.6396L27.7998 11.668L28.376 11.8311C31.231 12.7099 33.6556 14.56 35.2959 16.9785C35.7219 17.6069 35.558 18.4625 34.9297 18.8887C34.3013 19.3145 33.4457 19.1506 33.0195 18.5225C31.717 16.602 29.8018 15.1471 27.5664 14.459L27.1152 14.332L26.9814 14.29C26.3273 14.0495 25.9491 13.3477 26.126 12.6582ZM21.3506 11.668C22.086 11.4792 22.8354 11.9229 23.0244 12.6582C23.213 13.3936 22.7695 14.1432 22.0342 14.332C19.6056 14.9558 17.5207 16.4736 16.1426 18.5186L16.0576 18.6309C15.6118 19.1664 14.8237 19.2883 14.2334 18.8906C13.6039 18.4662 13.4382 17.6111 13.8623 16.9814L14.1982 16.5049C15.9343 14.1612 18.4402 12.4154 21.3506 11.668Z" fill="currentColor"/>\n</svg>\n',"apptainer.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5 0.620117C37.73 0.620117 48.5 11.3901 48.5 24.6201C48.4999 37.8501 37.73 48.6201 24.5 48.6201C11.27 48.6201 0.500066 37.8501 0.5 24.6201C0.5 11.3901 11.27 0.620117 24.5 0.620117ZM13.6055 38.958C13.2952 39.496 13.4798 40.1845 14.0176 40.4951C14.5554 40.8053 15.2439 40.6205 15.5547 40.083L18.167 35.5586C20.0267 36.6374 22.1871 37.2545 24.4883 37.2549V37.2559L24.4893 37.2549L24.4902 37.2559V37.2549C26.6919 37.258 28.8491 36.6812 30.75 35.5928L33.4355 40.2432L33.498 40.3398C33.8316 40.802 34.4684 40.9462 34.9727 40.6553C35.4769 40.3641 35.6699 39.7407 35.4365 39.2207L35.3848 39.1182L24.4502 20.1807L13.6055 38.958ZM29.625 33.6445C28.1777 34.4718 26.5499 34.9387 24.8799 34.999L24.4922 35.0059H24.4902C22.595 35.0059 20.8203 34.4971 19.292 33.6094L24.4492 24.6797L29.625 33.6445ZM13.249 22.0068C12.6341 21.9192 12.0644 22.347 11.9766 22.9619C11.898 23.5124 11.8653 24.0662 11.8652 24.6191C11.8622 26.7335 12.3917 28.813 13.4023 30.665L13.6113 31.0322L13.6748 31.1289C14.0128 31.5875 14.651 31.7254 15.1523 31.4297C15.6535 31.1337 15.8406 30.5088 15.6025 29.9912L15.5488 29.8887L15.3779 29.5869C14.548 28.0661 14.1127 26.3583 14.1152 24.6221V24.6211C14.1152 24.1553 14.143 23.7086 14.2041 23.2803C14.292 22.6653 13.8639 22.0948 13.249 22.0068ZM36.958 22.5723C36.8126 22.0211 36.2696 21.6583 35.6943 21.749C35.1191 21.8401 34.7154 22.3526 34.7471 22.9219L34.7588 23.0361L34.8105 23.4189C34.8543 23.806 34.875 24.2084 34.875 24.6211C34.8748 26.5444 34.3515 28.3479 33.4414 29.8887C33.1259 30.4236 33.3031 31.1138 33.8379 31.4297C34.3726 31.7452 35.0628 31.5675 35.3789 31.0332C36.4885 29.1546 37.1248 26.957 37.125 24.6211C37.125 24.1344 37.1004 23.6465 37.0459 23.165L36.9814 22.6855L36.958 22.5723ZM14.0498 17.5186C13.7011 18.0323 13.8341 18.7319 14.3477 19.0811C14.8612 19.4298 15.5608 19.2964 15.9102 18.7832L14.0498 17.5186ZM27.5244 12.3574C26.9606 12.2736 26.4132 12.629 26.2695 13.1934C26.1264 13.7576 26.4373 14.3317 26.9727 14.5273L27.083 14.5605L27.543 14.6895C29.8208 15.3846 31.769 16.8528 33.0918 18.7861C33.4427 19.2982 34.1428 19.4295 34.6553 19.0791C35.1678 18.7284 35.2986 18.0283 34.9482 17.5156C33.3462 15.1742 30.9808 13.3858 28.1992 12.5371L27.6377 12.3809L27.5244 12.3574ZM22.7207 13.1934C22.5674 12.5913 21.9546 12.2277 21.3525 12.3809C18.3285 13.1507 15.7495 15.0184 14.0498 17.5186L14.9805 18.1504L15.9102 18.7832C17.3104 16.7235 19.4324 15.1908 21.9082 14.5605C22.5096 14.4071 22.8733 13.795 22.7207 13.1934Z" fill="currentColor"/>\n</svg>\n',"ascender.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.410156C38.1001 0.410156 48.8701 11.1802 48.8701 24.4102C48.87 37.6401 38.1001 48.4102 24.8701 48.4102C11.6402 48.4102 0.870217 37.6401 0.870117 24.4102C0.870117 11.1802 11.6401 0.410156 24.8701 0.410156ZM24.8701 3.16016C13.1501 3.16016 3.62012 12.6902 3.62012 24.4102C3.62022 36.1301 13.1502 45.6602 24.8701 45.6602C36.5901 45.6602 46.12 36.1301 46.1201 24.4102C46.1201 12.6902 36.5901 3.16016 24.8701 3.16016ZM31.6807 37.625H16.3301C15.5707 37.625 14.9551 37.0094 14.9551 36.25C14.9551 35.4906 15.5707 34.875 16.3301 34.875H26.8994L19.9141 22.8711L11.9404 36.6777C11.5606 37.3352 10.72 37.5603 10.0625 37.1807C9.40497 36.8009 9.17994 35.9603 9.55957 35.3027L19.9053 17.3887L31.6807 37.625ZM42.209 30.499L42.2734 30.624C42.561 31.2588 42.3263 32.0211 41.7109 32.3789C41.0955 32.7366 40.3175 32.5629 39.9082 31.999L39.8311 31.8809L35.9326 25.1748H27.9805C27.2211 25.1748 26.6055 24.5592 26.6055 23.7998C26.6056 23.0405 27.2211 22.4248 27.9805 22.4248H34.333L28.7031 12.7412L25.5605 18.1777L25.4844 18.2959C25.0765 18.8613 24.2982 19.037 23.6816 18.6807C23.0242 18.3006 22.7996 17.4592 23.1797 16.8018L28.6963 7.25879L42.209 30.499Z" fill="currentColor"/>\n</svg>\n',"ascender.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.2598 0.410156C37.4898 0.410156 48.2598 11.1802 48.2598 24.4102C48.2597 37.6401 37.4897 48.4102 24.2598 48.4102C11.0299 48.41 0.259865 37.64 0.259766 24.4102C0.259766 11.1802 11.0299 0.410289 24.2598 0.410156ZM9.13184 35.7539C8.825 36.2941 9.0145 36.9812 9.55469 37.2881C10.0949 37.5947 10.7821 37.4054 11.0889 36.8652L19.3115 22.3867L26.7246 35.125H15.7305C15.1091 35.125 14.6055 35.6287 14.6055 36.25C14.6055 36.8713 15.1091 37.375 15.7305 37.375H30.6367L19.2881 17.873L9.13184 35.7539ZM22.5957 17.2676C22.2852 17.8057 22.4698 18.4941 23.0078 18.8047C23.5459 19.115 24.2344 18.9306 24.5449 18.3926L28.0938 12.2432L34.1582 22.6748H26.9902C26.369 22.6749 25.8653 23.1786 25.8652 23.7998C25.8652 24.4211 26.369 24.9247 26.9902 24.9248H35.4658L39.4375 31.7559L39.501 31.8516C39.8359 32.313 40.472 32.4549 40.9756 32.1621C41.479 31.8692 41.671 31.2459 41.4355 30.7266L41.3828 30.625L28.0869 7.75586L22.5957 17.2676Z" fill="currentColor"/>\n</svg>\n',"ciq-bridge.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8198 0C25.2497 0 25.6799 0.0102806 26.1099 0.0302734C39.3197 0.730265 49.5 12.0597 48.8003 25.2695C48.1303 38.0195 37.6099 48 24.8599 48C24.4299 48 23.99 47.98 23.5601 47.96C17.1601 47.6199 11.2797 44.81 6.98975 40.04C2.69984 35.2701 0.529633 29.1197 0.869629 22.7197C1.54975 9.97994 12.07 0.00014739 24.8198 0ZM24.8198 2.75C13.53 2.75015 4.21962 11.5902 3.61963 22.8701C3.46548 25.6581 3.86521 28.4492 4.79541 31.082C5.72568 33.7149 7.169 36.1375 9.04053 38.21C12.8305 42.4298 18.0405 44.9197 23.7104 45.2197C24.0903 45.2397 24.48 45.25 24.8599 45.25C36.1499 45.25 45.4601 36.4099 46.0601 25.1299C46.68 13.43 37.6701 3.40034 25.9702 2.78027C25.5902 2.76027 25.2098 2.75 24.8198 2.75ZM28.9907 10.2197L26.9487 12.0615L26.2144 11.2461V22.625H37.5806L36.7876 21.9102L38.6294 19.8682L43.2231 24.0098L38.6294 28.1514L36.7876 26.1094L37.6021 25.375H26.2144V36.75L26.939 35.9473L28.981 37.7891L24.8394 42.3828L20.6968 37.7891L22.7397 35.9473L23.4644 36.75V25.375H12.0981L12.9019 26.0996L11.0601 28.1416L6.46533 24L11.0601 19.8574L12.9019 21.9004L12.0981 22.625H23.4644V11.2676L22.7495 12.0615L20.7075 10.2197L24.8491 5.62598L28.9907 10.2197ZM18.3345 30.6152H20.2397V33.3652H15.5845V28.7207H18.3345V30.6152ZM34.2046 33.2559H29.5601V30.5059H31.4546V28.6104H34.2046V33.2559ZM20.1294 17.4951H18.2349V19.4004H15.4849V14.7451H20.1294V17.4951ZM34.0952 19.29H31.3452V17.3955H29.4497V14.6455H34.0952V19.29Z" fill="currentColor"/>\n</svg>\n',"ciq-bridge.solid":'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.02 48H24.0103C24.0119 48 24.0135 47.999 24.0151 47.999C24.0168 47.999 24.0184 48 24.02 48ZM23.98 0C24.41 0 24.84 0.0102734 25.27 0.0302734C38.4798 0.730272 48.6602 12.0597 47.9604 25.2695C47.2805 38.0078 36.7628 47.9964 24.0151 47.999C23.5868 47.9989 23.1585 47.9898 22.7202 47.96C16.3202 47.62 10.4299 44.81 6.1499 40.04C1.85992 35.27 -0.310214 29.1197 0.0297852 22.7197C0.709913 9.97986 11.2301 1.99937e-05 23.98 0ZM20.0337 10.2109L21.8911 11.8848L22.8745 10.793V22.875H10.7827L11.8745 21.8916L10.2007 20.0342L5.80322 24L10.2007 27.9648L11.8745 26.1084L10.7837 25.125H22.8745V37.2148L21.8911 36.124L20.0337 37.7988L23.9995 42.1963L27.9644 37.7988L26.1079 36.124L25.271 37.0527L25.1245 37.2148V25.125H37.2261L36.1245 26.1182L37.7983 27.9756L38.7261 27.1377L42.1958 24.0098L38.7261 20.8818L37.7983 20.0439L36.1245 21.9014L37.2046 22.875H25.1245V10.7939L26.1079 11.8848L27.9644 10.2109L23.9995 5.81348L20.0337 10.2109ZM14.9946 28.7207V33.1152H19.3892V30.8652H17.2446V28.7207H14.9946ZM30.8647 28.6104V30.7559H28.7095V33.0059H33.1147V28.6104H30.8647ZM14.8843 14.9951V19.4004H17.1343V17.2451H19.2896V14.9951H14.8843ZM28.6089 14.8955V17.1455H30.7544V19.29H33.0044V14.8955H28.6089Z" fill="currentColor"/>\n</svg>\n',"fuzzball.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M0.035036 23.1954C0.753066 9.70572 12.3046 -0.654732 25.8026 0.0322852C39.2924 0.750967 49.6825 12.3095 48.9647 25.7989C48.2703 38.8474 37.4317 48.9979 24.5145 48.9981C24.0777 48.9981 23.6396 48.9861 23.1981 48.9629C9.70842 48.2445 -0.682501 36.6851 0.035036 23.1954ZM24.4872 2.60064C12.9421 2.60071 3.2556 11.6715 2.63465 23.334C1.9934 35.3896 11.2808 45.7197 23.3368 46.3624C35.3775 47.0012 45.7234 37.7166 46.3651 25.6602C47.0066 13.605 37.7201 3.27476 25.6639 2.63189C25.2705 2.61063 24.8769 2.60064 24.4872 2.60064ZM19.7411 23.7422C19.7397 23.7446 19.7386 23.7477 19.7372 23.7501C16.9166 28.4585 18.3193 34.5379 22.827 37.5616L23.2733 37.8448L21.9354 40.0782C15.8431 36.4292 13.8556 28.5048 17.5038 22.4122C17.5052 22.4098 17.5072 22.4077 17.5087 22.4053L19.7411 23.7422ZM21.4706 28.2491C24.2239 33.2007 30.4921 34.9858 35.4442 32.2344H35.4452L36.7098 34.5098C30.5036 37.9613 22.6464 35.7204 19.1942 29.5147C19.1929 29.5123 19.1926 29.5092 19.1913 29.5069L21.4657 28.2422C21.4671 28.2446 21.4692 28.2467 21.4706 28.2491ZM39.2743 18.9297C39.1605 26.0303 33.2917 31.7146 26.1913 31.6016C26.1885 31.6016 26.1852 31.6007 26.1825 31.6006L26.2245 28.9981C26.2271 28.9981 26.2297 28.9981 26.2323 28.9981C31.8973 29.0895 36.5785 24.5532 36.6718 18.8887L39.2743 18.9297ZM22.8095 17.3965C22.8121 17.3966 22.8146 17.3975 22.8173 17.3975L22.7753 20.0001C22.7726 20.0001 22.7701 20.0001 22.7675 20.0001C17.2793 19.9115 12.7149 24.166 12.3505 29.5821L12.329 30.1094L9.72547 30.0684C9.83928 22.9677 15.7089 17.2834 22.8095 17.3965ZM27.0643 8.91998C33.1567 12.5689 35.1451 20.4933 31.497 26.586C31.4955 26.5884 31.4935 26.5905 31.4921 26.5928L29.2587 25.2549C29.26 25.2526 29.2612 25.2504 29.2626 25.2481C32.1742 20.3878 30.5862 14.0665 25.7274 11.1534L27.0643 8.91998ZM12.2899 14.4883C18.4962 11.0365 26.3533 13.2776 29.8055 19.4835C29.8069 19.4858 29.8082 19.4879 29.8095 19.4903L27.535 20.7559C27.5337 20.7536 27.5315 20.7514 27.5302 20.7491C24.8629 15.9521 18.8968 14.1267 14.0243 16.5186L13.5555 16.7637L12.2899 14.4883Z" fill="currentColor"/>\n</svg>\n',"fuzzball.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5 0C38.0309 0.000123698 49 10.9691 49 24.5C48.9998 38.0307 38.0307 48.9999 24.5 49C10.9691 49 0.000197927 38.0308 0 24.5C0 10.969 10.969 0 24.5 0ZM17.5039 22.4111C13.8556 28.5038 15.8431 36.4292 21.9355 40.0781L23.2734 37.8447L22.8271 37.5615C18.3193 34.5379 16.9168 28.4585 19.7373 23.75C19.7387 23.7476 19.7398 23.7446 19.7412 23.7422L17.5078 22.4053C17.5065 22.4073 17.5052 22.4091 17.5039 22.4111ZM19.1914 29.5068C19.1927 29.5092 19.193 29.5122 19.1943 29.5146C22.6467 35.7204 30.5037 37.9606 36.71 34.5088L35.4443 32.2344C30.4923 34.9857 24.2241 33.2004 21.4707 28.249C21.4694 28.2467 21.4672 28.2445 21.4658 28.2422L19.1914 29.5068ZM36.6709 18.8887C36.5774 24.553 31.8973 29.0885 26.2324 28.9971C26.2298 28.9971 26.2272 28.9981 26.2246 28.998L26.1826 31.6006C26.1852 31.6006 26.1878 31.6015 26.1904 31.6016C33.291 31.7147 39.1606 26.0304 39.2744 18.9297L36.6709 18.8887ZM22.8096 17.3955C15.7091 17.2823 9.83951 22.9667 9.72559 30.0674L12.3291 30.1094L12.3506 29.5811C12.7154 24.1653 17.2796 19.9114 22.7676 20C22.7702 20 22.7728 19.999 22.7754 19.999L22.8174 17.3965C22.8148 17.3964 22.8122 17.3956 22.8096 17.3955ZM25.7275 11.1533C30.5861 14.0665 32.1743 20.3878 29.2627 25.248C29.2614 25.2503 29.2601 25.2526 29.2588 25.2549L31.4922 26.5918C31.4936 26.5897 31.4957 26.5882 31.4971 26.5859C35.1454 20.4933 33.157 12.5679 27.0645 8.91895L25.7275 11.1533ZM29.8057 19.4824C26.3533 13.2769 18.4962 11.0366 12.29 14.4883L13.5557 16.7637V16.7627C18.5079 14.0112 24.7769 15.7972 27.5303 20.749C27.5316 20.7513 27.5329 20.7536 27.5342 20.7559L29.8096 19.4902C29.8083 19.4878 29.807 19.4848 29.8057 19.4824Z" fill="currentColor"/>\n</svg>\n',"rlc-hardened.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-hardened.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-plus.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0C37.6001 0 48.3701 10.77 48.3701 24C48.3701 37.23 37.6001 48 24.3701 48C11.1401 48 0.370117 37.23 0.370117 24C0.370117 10.77 11.1301 0 24.3701 0ZM24.3701 2.75C12.6501 2.75 3.12012 12.28 3.12012 24C3.12012 35.72 12.6501 45.25 24.3701 45.25C36.0901 45.25 45.6201 35.72 45.6201 24C45.6201 12.28 36.0901 2.75 24.3701 2.75ZM40.752 30.2881C41.2887 30.8248 41.2885 31.6953 40.752 32.2324C40.2152 32.7689 39.3446 32.7698 38.8076 32.2334L29.3691 22.8047L13.9023 38.2725L13.7979 38.3672C13.2578 38.8074 12.4603 38.7758 11.957 38.2725C11.4205 37.7357 11.4207 36.865 11.957 36.3281L29.3691 18.916L40.752 30.2881Z" fill="currentColor"/>\n</svg>\n',"rlc-plus.solid":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0898 0C37.3298 0 48.0898 10.77 48.0898 24C48.0898 37.23 37.3198 48 24.0898 48C10.86 47.9999 0.0898438 37.2299 0.0898438 24C0.0898438 10.7701 10.85 0.000132404 24.0898 0ZM10.8164 37.3662C10.3284 37.8543 10.3285 38.6457 10.8164 39.1338C11.3046 39.6216 12.0959 39.6218 12.584 39.1338L29.0898 22.627L39.6768 33.2051L39.7715 33.29C40.2625 33.6902 40.9869 33.6617 41.4443 33.2041C41.9017 32.7464 41.9297 32.022 41.5293 31.5312L41.4434 31.4365L29.0898 19.0928L10.8164 37.3662Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-ai.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-ai.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-hardened.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro-hardened.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rlc-pro.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.8701 0.209961C38.1001 0.209961 48.8701 10.98 48.8701 24.21C48.8701 37.44 38.1001 48.21 24.8701 48.21C11.6401 48.21 0.870117 37.44 0.870117 24.21C0.87015 10.98 11.6401 0.209961 24.8701 0.209961ZM24.8701 2.95996C13.1501 2.95996 3.62015 12.49 3.62012 24.21C3.62012 35.93 13.1501 45.46 24.8701 45.46C36.5901 45.46 46.1201 35.93 46.1201 24.21C46.1201 12.49 36.5901 2.95996 24.8701 2.95996ZM42.0918 27.9268L42.1865 28.0312C42.6271 28.5712 42.5951 29.3686 42.0918 29.8721C41.5885 30.3752 40.792 30.4069 40.252 29.9668L40.1475 29.8721L33.5273 23.2539L16.6143 40.1719C16.0773 40.7087 15.2069 40.7087 14.6699 40.1719C14.1333 39.6349 14.1332 38.7644 14.6699 38.2275L33.5273 19.3652L42.0918 27.9268ZM22.7676 26.2285C23.3147 26.755 23.3311 27.6257 22.8047 28.1729C22.2781 28.7201 21.4076 28.7365 20.8604 28.21L15.6904 23.2354L8.6123 30.3213C8.0756 30.8585 7.2052 30.8589 6.66797 30.3223C6.13115 29.7855 6.13045 28.915 6.66699 28.3779L15.6533 19.3828L22.7676 26.2285Z" fill="currentColor"/>\n</svg>\n',"rlc-pro.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5898 0.209961C37.8198 0.209961 48.5898 10.98 48.5898 24.21C48.5898 37.44 37.8198 48.21 24.5898 48.21C11.36 48.2098 0.589844 37.4399 0.589844 24.21C0.589877 10.9801 11.36 0.210093 24.5898 0.209961ZM13.5986 39.1953C13.1105 39.6833 13.1108 40.4747 13.5986 40.9629C14.0866 41.451 14.878 41.4517 15.3662 40.9639L33.2568 23.0771L40.7861 30.6133L40.8809 30.6992C41.3715 31.0997 42.0959 31.0714 42.5537 30.6143C43.0111 30.1569 43.0405 29.4324 42.6406 28.9414L42.5547 28.8457L33.2588 19.542L13.5986 39.1953ZM5.59668 29.3359C5.10866 29.824 5.10866 30.6154 5.59668 31.1035C6.08478 31.5915 6.8761 31.5915 7.36426 31.1035L15.4102 23.0586L20.6787 28.1211L20.7754 28.2051C21.2742 28.5954 21.9979 28.5525 22.4463 28.0859C22.8944 27.6191 22.9084 26.8938 22.498 26.4111L22.4111 26.3184L15.376 19.5596L5.59668 29.3359Z" fill="currentColor"/>\n</svg>\n',"rocky-linux.outline":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3701 0C37.6001 0 48.3701 10.77 48.3701 24C48.3701 37.23 37.6001 48 24.3701 48C11.1401 48 0.370117 37.23 0.370117 24C0.370117 10.77 11.1301 0 24.3701 0ZM24.3701 2.75C12.6501 2.75 3.12012 12.28 3.12012 24C3.12012 35.72 12.6501 45.25 24.3701 45.25C36.0901 45.25 45.6201 35.72 45.6201 24C45.6201 12.28 36.0901 2.75 24.3701 2.75ZM40.752 30.2881C41.2887 30.8248 41.2885 31.6953 40.752 32.2324C40.2152 32.7689 39.3446 32.7698 38.8076 32.2334L29.3691 22.8047L13.9023 38.2725L13.7979 38.3672C13.2578 38.8074 12.4603 38.7758 11.957 38.2725C11.4205 37.7357 11.4207 36.865 11.957 36.3281L29.3691 18.916L40.752 30.2881Z" fill="currentColor"/>\n</svg>\n',"rocky-linux.solid":'<svg width="49" height="48" viewBox="0 0 49 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0898 0C37.3298 0 48.0898 10.77 48.0898 24C48.0898 37.23 37.3198 48 24.0898 48C10.86 47.9999 0.0898438 37.2299 0.0898438 24C0.0898438 10.7701 10.85 0.000132404 24.0898 0ZM10.8164 37.3662C10.3284 37.8543 10.3285 38.6457 10.8164 39.1338C11.3046 39.6216 12.0959 39.6218 12.584 39.1338L29.0898 22.627L39.6768 33.2051L39.7715 33.29C40.2625 33.6902 40.9869 33.6617 41.4443 33.2041C41.9017 32.7464 41.9297 32.022 41.5293 31.5312L41.4434 31.4365L29.0898 19.0928L10.8164 37.3662Z" fill="currentColor"/>\n</svg>\n',"support.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.5198 0.570312C24.9496 0.570312 25.3897 0.590359 25.8196 0.610352C32.2196 0.950352 38.0999 3.76027 42.3899 8.53027C46.6798 13.3002 48.8499 19.4498 48.51 25.8496C47.83 38.5896 37.3098 48.5703 24.5598 48.5703C24.1299 48.5703 23.6997 48.56 23.2698 48.54C10.0599 47.8399 -0.119673 36.5097 0.580322 23.2998C1.25039 10.55 11.77 0.570457 24.5198 0.570312ZM24.5198 3.30957C13.23 3.30971 3.91969 12.1499 3.31958 23.4297C3.00958 29.0897 4.94048 34.5298 8.74048 38.7598C12.5405 42.9897 17.7505 45.4803 23.4104 45.7803C23.7802 45.8003 24.17 45.8096 24.5598 45.8096C35.8497 45.8096 45.1598 36.9702 45.76 25.6904C46.06 20.0305 44.1299 14.5803 40.3401 10.3604C36.5501 6.14038 31.3401 3.64963 25.6702 3.34961C25.4751 3.33961 25.2824 3.33215 25.0911 3.32715L24.5198 3.30957ZM11.6946 17.2471C15.4991 10.2812 24.1835 7.56768 31.2883 11.2178C38.5012 14.9237 41.3605 23.7707 37.6526 30.9883C34.0188 38.0606 25.4426 40.9471 18.3059 37.5615L11.9387 38.6846C11.5034 38.7611 11.0571 38.6238 10.7405 38.3154C10.4239 38.0071 10.2751 37.565 10.3401 37.1279L11.3157 30.584C10.443 28.7493 9.96211 26.7525 9.90161 24.7217L9.89478 24.2852C9.89481 21.9537 10.4511 19.6556 11.5168 17.582L11.6946 17.2471ZM30.0315 13.6631C24.2607 10.6984 17.2008 12.9007 14.1067 18.5664L13.9631 18.8389C13.0972 20.5235 12.6448 22.391 12.6448 24.2852L12.6497 24.6406C12.7026 26.4126 13.1513 28.1521 13.9631 29.7314L14.0081 29.8291C14.1048 30.0602 14.137 30.3144 14.0999 30.5635L13.3411 35.6445L18.2708 34.7764L18.3821 34.7617C18.642 34.7375 18.9044 34.7873 19.1379 34.9072C24.9999 37.9189 32.1919 35.5985 35.2063 29.7324C38.2181 23.8701 35.8983 16.6772 30.0315 13.6631ZM25.8801 17.7539C26.1707 17.0526 26.9746 16.7195 27.676 17.0098C28.3775 17.3003 28.7116 18.1051 28.4211 18.8066L28.2385 19.2461C28.8731 19.6865 29.4235 20.2369 29.8645 20.8711L30.304 20.6895C31.0056 20.399 31.8104 20.733 32.1008 21.4346C32.3909 22.1359 32.0578 22.9399 31.3567 23.2305L30.9192 23.4111C30.988 23.7902 31.0253 24.1754 31.0256 24.5625C31.0259 24.9512 30.989 25.3381 30.9202 25.7188L31.3567 25.8994L31.4836 25.96C32.0971 26.2903 32.3731 27.0386 32.1008 27.6963C31.8285 28.3539 31.1042 28.6883 30.4368 28.4883L30.304 28.4404L29.8674 28.2598C29.6481 28.5756 29.4023 28.8733 29.1292 29.1465C28.8543 29.4213 28.5546 29.6684 28.2366 29.8887L28.4211 30.334L28.468 30.4668C28.6681 31.1343 28.3337 31.8585 27.676 32.1309C27.0184 32.403 26.27 32.1271 25.9397 31.5137L25.8801 31.3867L25.6985 30.9482C24.9343 31.0864 24.1511 31.0864 23.387 30.9482L23.2102 31.376L23.1497 31.5039C22.8192 32.117 22.0708 32.3933 21.4133 32.1211C20.7122 31.8305 20.3791 31.0256 20.6692 30.3242L20.8469 29.8936C20.21 29.4503 19.6574 28.8963 19.2161 28.2578L18.7766 28.4404C18.0751 28.7309 17.2703 28.3978 16.9797 27.6963C16.6893 26.9947 17.0224 26.19 17.7239 25.8994L18.1682 25.7158C18.0294 24.9427 18.0356 24.1649 18.1731 23.416L17.7239 23.2305L17.5969 23.1699C16.9836 22.8396 16.7077 22.0921 16.9797 21.4346C17.2521 20.7767 17.9762 20.4423 18.6438 20.6426L18.7766 20.6895L19.2288 20.877C19.6627 20.2518 20.2086 19.698 20.8538 19.251L20.6702 18.8066C20.3797 18.105 20.7127 17.3003 21.4143 17.0098C22.1157 16.7194 22.9196 17.0527 23.2102 17.7539L23.3909 18.1924C24.1537 18.0547 24.9347 18.0553 25.6975 18.1934L25.8801 17.7539ZM25.97 21.1211C25.0907 20.7574 24.1072 20.7439 23.22 21.0801L23.1174 21.1299C21.2761 21.8949 20.3701 23.971 21.0315 25.8242L21.0999 26.0029L21.175 26.1729C21.552 26.9677 22.1994 27.603 23.0012 27.9678C23.0396 27.9798 23.0776 27.9941 23.1155 28.0098C23.1543 28.0258 23.1922 28.0434 23.2288 28.0625C24.0776 28.3828 25.0138 28.383 25.8625 28.0625C25.8988 28.0436 25.9363 28.0257 25.9749 28.0098C26.4272 27.8226 26.8386 27.5483 27.1848 27.2021C27.5246 26.8624 27.7938 26.459 27.9807 26.0166C27.9836 26.0092 27.9864 26.0015 27.9895 25.9941C27.9929 25.986 27.9967 25.9778 28.0002 25.9697C28.1816 25.5235 28.276 25.0463 28.2756 24.5645C28.2753 24.136 28.2013 23.711 28.0569 23.3086L27.9905 23.1377C27.6108 22.2246 26.8837 21.4993 25.97 21.1211Z" fill="currentColor"/>\n</svg>\n',"support.solid":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3704 0.570312C24.8003 0.570316 25.2302 0.580357 25.6702 0.610352C32.0701 0.950364 37.9605 3.76029 42.2405 8.53027C46.5302 13.3001 48.7005 19.4499 48.3606 25.8496C47.6806 38.5895 37.1603 48.5702 24.4104 48.5703H24.3997C23.97 48.5703 23.5403 48.56 23.1106 48.54C9.9006 47.84 -0.279834 36.5098 0.420166 23.2998C1.10024 10.5599 11.6204 0.570312 24.3704 0.570312ZM31.0149 11.4385C24.0314 7.85071 15.4942 10.5188 11.7542 17.3662L11.5803 17.6953C10.5326 19.7334 9.98574 21.9925 9.9856 24.2842L9.99243 24.7139C10.0527 26.7345 10.5374 28.7205 11.4153 30.542L10.428 37.1631C10.3746 37.5208 10.4971 37.8833 10.7561 38.1357C11.0152 38.3878 11.3796 38.5001 11.7356 38.4375L18.1819 37.3008C25.211 40.6821 33.6876 37.8493 37.2717 30.873C40.9156 23.7789 38.1052 15.0813 31.0149 11.4385ZM13.7288 18.4453C16.8878 12.6622 24.0949 10.4136 29.9866 13.4404C35.9753 16.5174 38.3443 23.8604 35.2698 29.8457C32.2407 35.7412 25.0781 38.1288 19.1458 35.2686L18.8645 35.1289C18.7008 35.0448 18.5194 35.0028 18.3372 35.0049L18.1555 35.0215L12.884 35.9502L13.6936 30.5254L13.7053 30.3506C13.7043 30.234 13.6852 30.1176 13.6487 30.0068L13.5813 29.8447C12.7525 28.2321 12.2953 26.4558 12.2415 24.6465L12.2356 24.2842C12.2357 22.3503 12.6972 20.4436 13.5813 18.7236L13.7288 18.4453ZM27.3206 16.9609C26.7468 16.7234 26.0888 16.9958 25.8508 17.5693L25.5901 18.1973C24.7295 18.0126 23.8395 18.0122 22.9788 18.1963L22.72 17.5693L22.6702 17.4658C22.4 16.964 21.7882 16.7385 21.2502 16.9609C20.7122 17.1838 20.4381 17.7762 20.6018 18.3223L20.6409 18.4307L20.9036 19.0645C20.1531 19.5493 19.5312 20.1799 19.0627 20.9023L18.4309 20.6406L18.3225 20.6016C17.7764 20.4377 17.1842 20.712 16.9612 21.25C16.7387 21.7881 16.9641 22.3998 17.4661 22.6699L17.5696 22.7197L18.1985 22.9795C18.0145 23.8246 18.005 24.714 18.1926 25.5918L17.5696 25.8506C16.9959 26.0884 16.7238 26.7465 16.9612 27.3203C17.199 27.894 17.8571 28.1672 18.4309 27.9297L19.052 27.6719C19.5658 28.4678 20.2554 29.1365 21.0676 29.627L20.7415 30.4189C20.5038 30.9929 20.7761 31.6508 21.3499 31.8887C21.888 32.1114 22.5006 31.8859 22.7708 31.3838L22.8196 31.2793L23.1741 30.4219C23.9738 30.5663 24.7951 30.5544 25.5911 30.3838L25.8508 31.0107C26.0887 31.5842 26.7468 31.8566 27.3206 31.6191C27.8942 31.3814 28.1673 30.7233 27.9299 30.1494L27.6663 29.5146C28.035 29.2765 28.3807 29.0013 28.6926 28.6895C29.0035 28.3786 29.2782 28.0344 29.5159 27.667L30.1497 27.9297C30.7235 28.1672 31.3816 27.894 31.6194 27.3203C31.8566 26.7465 31.5845 26.0884 31.011 25.8506L30.3762 25.5869C30.4675 25.1593 30.5162 24.7216 30.5159 24.2822C30.5155 23.8444 30.4666 23.4085 30.3752 22.9824L31.011 22.7197C31.5845 22.482 31.8565 21.8237 31.6194 21.25C31.3965 20.7121 30.8041 20.4379 30.2581 20.6016L30.1497 20.6406L29.5139 20.9033C29.0359 20.1654 28.4072 19.5363 27.6692 19.0586L27.9299 18.4307C28.1672 17.8568 27.8943 17.1986 27.3206 16.9609ZM22.8655 20.5684C23.8137 20.2074 24.8658 20.2213 25.8059 20.6104C26.7807 21.0138 27.556 21.7876 27.9612 22.7617L28.0325 22.9443C28.1864 23.3734 28.2655 23.8273 28.2659 24.2842C28.2662 24.8064 28.1637 25.325 27.9641 25.8076C27.7644 26.2901 27.471 26.7294 27.1018 27.0986C26.7324 27.4679 26.2925 27.7603 25.8098 27.96C25.7726 27.9754 25.7361 27.9929 25.7014 28.0117C24.7541 28.3725 23.7033 28.3603 22.7639 27.9717C21.8028 27.574 21.0362 26.8154 20.6272 25.8604C20.6213 25.8439 20.6164 25.8259 20.6096 25.8096C20.6037 25.7954 20.5955 25.7814 20.5891 25.7676C19.7853 23.7551 20.7511 21.4545 22.762 20.6191C22.7977 20.6043 22.8321 20.5864 22.8655 20.5684Z" fill="currentColor"/>\n</svg>\n',"warewulf.outline":'<svg width="49" height="49" viewBox="0 0 49 49" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.3101 0.820312C24.7401 0.820312 25.1701 0.829609 25.6001 0.849609C38.8101 1.54961 48.9905 12.8799 48.2905 26.0898C47.6105 38.8398 37.0902 48.8202 24.3403 48.8203C23.9105 48.8203 23.4704 48.8003 23.0405 48.7803C16.6407 48.4403 10.7602 45.6302 6.47021 40.8604C2.18024 36.0904 0.0101229 29.94 0.350098 23.54C1.0301 10.8 11.5503 0.820313 24.3003 0.820312H24.3101ZM24.3003 3.57031C13.0103 3.57031 3.7001 12.4104 3.1001 23.6904C2.946 26.4784 3.34567 29.2696 4.27588 31.9023C5.20615 34.5351 6.64856 36.9579 8.52002 39.0303C12.31 43.2501 17.5201 45.74 23.1899 46.04C23.5799 46.06 23.9603 46.0703 24.3403 46.0703C35.6301 46.0702 44.9404 37.23 45.5405 25.9502C45.8505 20.2902 43.9196 14.8501 40.1196 10.6201C36.3196 6.3902 31.1096 3.89961 25.4497 3.59961C25.0799 3.57963 24.6901 3.57032 24.3003 3.57031ZM22.7729 16.2012L29.7417 16.792L32.562 20.4805L43.394 20.5625L38.8022 29.5781L29.8638 31.6094L18.7085 40.5439C18.1159 41.0178 17.2504 40.9223 16.7759 40.3301C16.3016 39.7376 16.3977 38.8722 16.9897 38.3975L28.3901 29.2676L28.6362 29.0693L28.9448 29L36.9351 27.1826L38.9243 23.2773L31.1958 23.2207L30.7876 22.6855L28.2964 19.4287L21.5649 18.8594L18.2944 15.6914L17.979 21.3779L11.1118 24.9561L15.4185 28.4834L13.9839 32.0928L17.3501 32.7188L17.4868 32.751C18.1559 32.9466 18.5816 33.6212 18.4517 34.3213C18.3215 35.0211 17.6822 35.4988 16.9878 35.4414L16.8481 35.4219L10.1938 34.1875L12.1196 29.3359L6.146 24.4443L15.3198 19.6621L15.8833 9.52832L22.7729 16.2012ZM27.2144 20.8711L29.0786 23.6152L25.3989 23.4658L23.5151 20.7002L27.2144 20.8711Z" fill="currentColor"/>\n</svg>\n',"warewulf.solid":'<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M24.0254 48.001H24.0156C24.0173 48.001 24.0189 48 24.0205 48C24.0221 48 24.0238 48.001 24.0254 48.001ZM23.9854 0C24.4153 0 24.8454 0.0102783 25.2754 0.0302734C38.4857 0.730289 48.6657 12.0602 47.9658 25.2705C47.2859 38.0092 36.7686 47.9974 24.0205 48C23.5922 47.9999 23.1639 47.9908 22.7256 47.9609C16.3254 47.6209 10.4354 44.8111 6.15527 40.041C1.86517 35.2709 -0.304834 29.1209 0.0351562 22.7207C0.715171 9.98042 11.2351 9.85227e-05 23.9854 0ZM15.2471 18.998L6.29395 23.6709L12.1152 28.4395L10.2344 33.1777L16.8604 34.4072C17.4709 34.5203 18.0574 34.1164 18.1709 33.5059C18.2839 32.8952 17.8811 32.3087 17.2705 32.1953L13.3359 31.4639L14.8145 27.7412L10.3555 24.0889L17.4229 20.4014L17.7607 14.3115L21.0723 17.5186L21.3604 17.7969L28.1162 18.3691L30.6836 21.7148L31.0186 22.1504L31.5674 22.1553L39.0273 22.2109L36.8027 26.5791L28.6963 28.4238L28.4443 28.4814L16.8418 37.7725C16.3571 38.1609 16.2788 38.8696 16.667 39.3545C17.0311 39.809 17.6765 39.9061 18.1553 39.5967L18.248 39.5293L29.4473 30.5605L38.3291 28.541L42.6846 19.9893L32.1338 19.9092L29.2959 16.2109L22.3486 15.6221L15.7891 9.26855L15.2471 18.998ZM25.2803 22.3086L29.0518 22.6133L27.2998 20.2129L23.5078 19.8887L25.2803 22.3086Z" fill="currentColor"/>\n</svg>\n'},e.quanticElement=Se,e.tableVariantContext=bs});
|
|
40180
40186
|
//# sourceMappingURL=quantic-components.min.js.map
|