profile-pane 3.2.3-0 → 3.2.3-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/profile-pane.js +756 -747
- package/lib/profile-pane.js.map +1 -1
- package/lib/profile-pane.min.js +284 -695
- package/lib/profile-pane.min.js.map +1 -1
- package/package.json +16 -14
package/lib/profile-pane.js
CHANGED
|
@@ -18138,6 +18138,38 @@ exports.qrToImageData = function qrToImageData (imgData, qr, opts) {
|
|
|
18138
18138
|
}
|
|
18139
18139
|
|
|
18140
18140
|
|
|
18141
|
+
/***/ },
|
|
18142
|
+
|
|
18143
|
+
/***/ 8206
|
|
18144
|
+
() {
|
|
18145
|
+
|
|
18146
|
+
//#region ~icons/lucide/chevron-down
|
|
18147
|
+
var e = class extends HTMLElement {
|
|
18148
|
+
constructor() {
|
|
18149
|
+
super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"/></svg>";
|
|
18150
|
+
}
|
|
18151
|
+
};
|
|
18152
|
+
customElements.get("icon-lucide-chevron-down") || customElements.define("icon-lucide-chevron-down", e);
|
|
18153
|
+
//#endregion
|
|
18154
|
+
|
|
18155
|
+
//# sourceMappingURL=chevron-down.esm.js.map
|
|
18156
|
+
|
|
18157
|
+
/***/ },
|
|
18158
|
+
|
|
18159
|
+
/***/ 5609
|
|
18160
|
+
() {
|
|
18161
|
+
|
|
18162
|
+
//#region ~icons/svg-spinners/180-ring
|
|
18163
|
+
var e = class extends HTMLElement {
|
|
18164
|
+
constructor() {
|
|
18165
|
+
super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"currentColor\" d=\"M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z\"><animateTransform attributeName=\"transform\" dur=\"0.75s\" repeatCount=\"indefinite\" type=\"rotate\" values=\"0 12 12;360 12 12\"/></path></svg>";
|
|
18166
|
+
}
|
|
18167
|
+
};
|
|
18168
|
+
customElements.get("icon-svg-spinners-180-ring") || customElements.define("icon-svg-spinners-180-ring", e);
|
|
18169
|
+
//#endregion
|
|
18170
|
+
|
|
18171
|
+
//# sourceMappingURL=180-ring.esm.js.map
|
|
18172
|
+
|
|
18141
18173
|
/***/ },
|
|
18142
18174
|
|
|
18143
18175
|
/***/ 5072
|
|
@@ -20583,6 +20615,24 @@ async function presentProfileViewModel(subject, store) {
|
|
|
20583
20615
|
};
|
|
20584
20616
|
}
|
|
20585
20617
|
|
|
20618
|
+
;// ./node_modules/solid-ui/dist/lib/components/decorators.esm.js
|
|
20619
|
+
//#region src/lib/components/decorators.ts
|
|
20620
|
+
function decorators_esm_e(e, t) {
|
|
20621
|
+
customElements.get(e) || customElements.define(e, t);
|
|
20622
|
+
}
|
|
20623
|
+
function decorators_esm_t(t) {
|
|
20624
|
+
return (n, r) => {
|
|
20625
|
+
if (r) {
|
|
20626
|
+
r.addInitializer(() => decorators_esm_e(t, n));
|
|
20627
|
+
return;
|
|
20628
|
+
}
|
|
20629
|
+
decorators_esm_e(t, n);
|
|
20630
|
+
};
|
|
20631
|
+
}
|
|
20632
|
+
//#endregion
|
|
20633
|
+
|
|
20634
|
+
|
|
20635
|
+
//# sourceMappingURL=decorators.esm.js.map
|
|
20586
20636
|
;// ./node_modules/@lit/reactive-element/css-tag.js
|
|
20587
20637
|
/**
|
|
20588
20638
|
* @license
|
|
@@ -20614,367 +20664,401 @@ const css_tag_t=globalThis,css_tag_e=css_tag_t.ShadowRoot&&(void 0===css_tag_t.S
|
|
|
20614
20664
|
|
|
20615
20665
|
//# sourceMappingURL=index.js.map
|
|
20616
20666
|
|
|
20617
|
-
;// ./node_modules/solid-ui/dist/
|
|
20667
|
+
;// ./node_modules/solid-ui/dist/lib/components/web-component/WebComponent.styles.esm.js
|
|
20618
20668
|
|
|
20619
|
-
//#region src/
|
|
20620
|
-
var
|
|
20621
|
-
|
|
20622
|
-
label: {
|
|
20623
|
-
type: String,
|
|
20624
|
-
reflect: !0
|
|
20625
|
-
},
|
|
20626
|
-
type: {
|
|
20627
|
-
type: String,
|
|
20628
|
-
reflect: !0
|
|
20629
|
-
},
|
|
20630
|
-
disabled: {
|
|
20631
|
-
type: Boolean,
|
|
20632
|
-
reflect: !0
|
|
20633
|
-
},
|
|
20634
|
-
selected: {
|
|
20635
|
-
type: Boolean,
|
|
20636
|
-
reflect: !0
|
|
20637
|
-
},
|
|
20638
|
-
ariaLabel: {
|
|
20639
|
-
type: String,
|
|
20640
|
-
attribute: "aria-label"
|
|
20641
|
-
},
|
|
20642
|
-
name: {
|
|
20643
|
-
type: String,
|
|
20644
|
-
reflect: !0
|
|
20645
|
-
},
|
|
20646
|
-
value: {
|
|
20647
|
-
type: String,
|
|
20648
|
-
reflect: !0
|
|
20649
|
-
},
|
|
20650
|
-
variant: {
|
|
20651
|
-
type: String,
|
|
20652
|
-
reflect: !0
|
|
20653
|
-
},
|
|
20654
|
-
size: {
|
|
20655
|
-
type: String,
|
|
20656
|
-
reflect: !0
|
|
20657
|
-
},
|
|
20658
|
-
theme: {
|
|
20659
|
-
type: String,
|
|
20660
|
-
reflect: !0
|
|
20661
|
-
},
|
|
20662
|
-
fullWidth: {
|
|
20663
|
-
type: Boolean,
|
|
20664
|
-
attribute: "full-width",
|
|
20665
|
-
reflect: !0
|
|
20666
|
-
},
|
|
20667
|
-
icon: {
|
|
20668
|
-
type: String,
|
|
20669
|
-
reflect: !0
|
|
20670
|
-
},
|
|
20671
|
-
iconPosition: {
|
|
20672
|
-
type: String,
|
|
20673
|
-
attribute: "icon-position",
|
|
20674
|
-
reflect: !0
|
|
20675
|
-
},
|
|
20676
|
-
contentAlign: {
|
|
20677
|
-
type: String,
|
|
20678
|
-
attribute: "content-align",
|
|
20679
|
-
reflect: !0
|
|
20680
|
-
},
|
|
20681
|
-
handleClick: { attribute: !1 },
|
|
20682
|
-
_hasSlottedIcon: { state: !0 }
|
|
20683
|
-
};
|
|
20684
|
-
static styles = css_tag_i`
|
|
20685
|
-
:host {
|
|
20686
|
-
display: inline-flex;
|
|
20687
|
-
align-items: center;
|
|
20688
|
-
justify-content: center;
|
|
20689
|
-
--button-background: var(--color-background, #f8f9fb);
|
|
20690
|
-
--button-text: var(--color-text-subheading, #101828);
|
|
20691
|
-
--button-border: var(--color-border-button, var(--gray-300, #D1D5DC));
|
|
20692
|
-
--button-hover-background: var(--color-surface-subtle, rgba(15, 23, 43, 0.04));
|
|
20693
|
-
--button-hover-border: var(--color-border-button-hover, var(--gray-400, #99A1AF));
|
|
20694
|
-
--button-hover-text: var(--color-text-subheading, #101828);
|
|
20695
|
-
--button-selected-background: var(--color-surface-selected, var(--color-surface-action, var(--color-primary, #7C4DFF)));
|
|
20696
|
-
--button-selected-text: var(--color-text-selected, var(--color-text-on-action, var(--white, #FFF)));
|
|
20697
|
-
--button-selected-border: var(--color-border-selected, var(--color-border-action, var(--color-primary, #7C4DFF)));
|
|
20698
|
-
--button-icon-color: currentColor;
|
|
20699
|
-
--button-focus-ring: var(--color-focus-ring, var(--color-primary, #7C4DFF));
|
|
20700
|
-
--button-height-sm: 1.875rem;
|
|
20701
|
-
--button-height-md: var(--min-touch-target, 44px);
|
|
20702
|
-
--button-height-lg: calc(var(--min-touch-target, 44px) + 0.5rem);
|
|
20703
|
-
--button-padding-x-sm: var(--spacing-xs, 0.75rem);
|
|
20704
|
-
--button-padding-x-md: var(--spacing-sm, 0.9375rem);
|
|
20705
|
-
--button-padding-x-lg: var(--spacing-md, 1.25rem);
|
|
20706
|
-
--button-font-size-sm: var(--font-size-sm, 0.875rem);
|
|
20707
|
-
--button-font-size-md: var(--font-size-md, 1rem);
|
|
20708
|
-
--button-font-size-lg: var(--font-size-lg, 1.125rem);
|
|
20709
|
-
--button-icon-size-sm: var(--icon-xxxs, 0.75rem);
|
|
20710
|
-
--button-icon-size-md: var(--icon-xxs, 1rem);
|
|
20711
|
-
--button-icon-size-lg: var(--icon-xxs, 1rem);
|
|
20712
|
-
--button-padding-sm: 0 var(--button-padding-x-sm);
|
|
20713
|
-
--button-padding-md: 0 var(--button-padding-x-md);
|
|
20714
|
-
--button-padding-lg: 0 var(--button-padding-x-lg);
|
|
20715
|
-
--button-border-width: 1px;
|
|
20716
|
-
--button-border-radius: var(--border-radius-base, 0.3125rem);
|
|
20717
|
-
--button-font-weight: var(--font-weight-bold, 600);
|
|
20718
|
-
--button-line-height: 1;
|
|
20719
|
-
--button-justify-content: center;
|
|
20720
|
-
--button-content-justify-content: var(--button-justify-content);
|
|
20721
|
-
--button-label-text-align: center;
|
|
20722
|
-
--button-box-shadow: none;
|
|
20723
|
-
--button-hover-box-shadow: var(--button-box-shadow);
|
|
20724
|
-
--button-active-box-shadow: var(--button-hover-box-shadow);
|
|
20725
|
-
--button-active-transform: translateY(1px);
|
|
20726
|
-
--button-focus-outline: 2px solid var(--button-focus-ring);
|
|
20727
|
-
--button-focus-outline-offset: 2px;
|
|
20728
|
-
--button-focus-box-shadow: none;
|
|
20729
|
-
--button-transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
|
|
20730
|
-
}
|
|
20731
|
-
|
|
20732
|
-
:host([hidden]) {
|
|
20733
|
-
display: none;
|
|
20734
|
-
}
|
|
20669
|
+
//#region src/lib/components/web-component/WebComponent.styles.css
|
|
20670
|
+
var WebComponent_styles_esm_t = css_tag_i`/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid}::file-selector-button{box-sizing:border-box;border:0 solid}a,abbr,address,area,article,aside,audio,b,base,bdi,bdo,blockquote,body,br,button,canvas,caption,cite,code,col,colgroup,data,datalist,dd,del,details,dfn,dialog,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,i,iframe,img,input,ins,kbd,label,legend,li,link,main,map,mark,menu,meta,meter,nav,noscript,object,ol,optgroup,option,output,p,picture,pre,progress,q,rp,rt,ruby,s,samp,script,search,section,select,slot,small,source,span,strong,style,sub,summary,sup,table,tbody,td,template,textarea,tfoot,th,thead,time,title,tr,track,u,ul,var,video,wbr,:after,:before,::backdrop{margin:0;padding:0}::file-selector-button{margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}`;
|
|
20671
|
+
//#endregion
|
|
20735
20672
|
|
|
20736
|
-
:host([theme='dark']) {
|
|
20737
|
-
--button-background: var(--color-background, #242a31);
|
|
20738
|
-
--button-text: var(--color-text-subheading, #f8f9fb);
|
|
20739
|
-
--button-border: var(--color-border, #46515b);
|
|
20740
|
-
--button-hover-background: var(--color-surface-subtle, rgba(15, 23, 43, 0.04));
|
|
20741
|
-
--button-hover-border: var(--color-border, #46515b);
|
|
20742
|
-
--button-hover-text: var(--color-text-subheading, #f8f9fb);
|
|
20743
|
-
}
|
|
20744
20673
|
|
|
20745
|
-
|
|
20746
|
-
|
|
20747
|
-
--button-text: var(--color-text-on-action, var(--white, #FFF));
|
|
20748
|
-
--button-border: var(--color-border-action, var(--color-primary, #7C4DFF));
|
|
20749
|
-
--button-hover-background: var(--color-surface-action-hover, #6d3cf2);
|
|
20750
|
-
--button-hover-border: var(--color-border-action, var(--color-primary, #7C4DFF));
|
|
20751
|
-
--button-hover-text: var(--color-text-on-action, var(--white, #FFF));
|
|
20752
|
-
}
|
|
20674
|
+
//# sourceMappingURL=WebComponent.styles.esm.js.map
|
|
20675
|
+
;// ./node_modules/solid-ui/dist/lib/components/web-component/WebComponent.esm.js
|
|
20753
20676
|
|
|
20754
|
-
:host([variant='icon']) {
|
|
20755
|
-
--button-padding-x-sm: var(--spacing-xxs, 0.3125rem);
|
|
20756
|
-
--button-padding-x-md: var(--spacing-base, 0.5rem);
|
|
20757
|
-
--button-padding-x-lg: var(--spacing-2xs, 0.625rem);
|
|
20758
|
-
}
|
|
20759
20677
|
|
|
20760
|
-
|
|
20761
|
-
|
|
20762
|
-
|
|
20678
|
+
//#region src/lib/components/web-component/WebComponent.ts
|
|
20679
|
+
var WebComponent_esm_r = class extends lit_element_i {
|
|
20680
|
+
static states;
|
|
20681
|
+
static finalizeStyles(t) {
|
|
20682
|
+
return [WebComponent_styles_esm_t, ...super.finalizeStyles(t)];
|
|
20683
|
+
}
|
|
20684
|
+
internals;
|
|
20685
|
+
globalListeners = [];
|
|
20686
|
+
disconnectedCallback() {
|
|
20687
|
+
super.disconnectedCallback();
|
|
20688
|
+
for (let [e, t] of this.globalListeners) window.removeEventListener(e, t);
|
|
20689
|
+
this.globalListeners = [];
|
|
20690
|
+
}
|
|
20691
|
+
willUpdate(e) {
|
|
20692
|
+
super.willUpdate(e);
|
|
20693
|
+
let t = this.static().states;
|
|
20694
|
+
if (!t) return;
|
|
20695
|
+
let n = this.getInternals();
|
|
20696
|
+
for (let [e, r] of Object.entries(t)) {
|
|
20697
|
+
let t = r(this);
|
|
20698
|
+
t && !n.states.has(e) ? n.states.add(e) : !t && n.states.has(e) && n.states.delete(e);
|
|
20699
|
+
}
|
|
20700
|
+
}
|
|
20701
|
+
addGlobalEventListener(e, t) {
|
|
20702
|
+
this.globalListeners.push([e, t]), window.addEventListener(e, t);
|
|
20703
|
+
}
|
|
20704
|
+
render() {
|
|
20705
|
+
return b`<slot></slot>`;
|
|
20706
|
+
}
|
|
20707
|
+
getInternals() {
|
|
20708
|
+
return this.internals ??= this.attachInternals(), this.internals;
|
|
20709
|
+
}
|
|
20710
|
+
static() {
|
|
20711
|
+
return this.constructor;
|
|
20712
|
+
}
|
|
20713
|
+
};
|
|
20714
|
+
//#endregion
|
|
20763
20715
|
|
|
20764
|
-
:host([content-align='start']) {
|
|
20765
|
-
--button-justify-content: flex-start;
|
|
20766
|
-
--button-content-justify-content: flex-start;
|
|
20767
|
-
--button-label-text-align: left;
|
|
20768
|
-
}
|
|
20769
20716
|
|
|
20770
|
-
|
|
20771
|
-
|
|
20772
|
-
--button-content-justify-content: flex-end;
|
|
20773
|
-
--button-label-text-align: right;
|
|
20774
|
-
}
|
|
20717
|
+
//# sourceMappingURL=WebComponent.esm.js.map
|
|
20718
|
+
;// ./node_modules/solid-ui/dist/lib/components/web-component/index.esm.js
|
|
20775
20719
|
|
|
20776
|
-
:host([selected]) {
|
|
20777
|
-
--button-background: var(--button-selected-background);
|
|
20778
|
-
--button-text: var(--button-selected-text);
|
|
20779
|
-
--button-border: var(--button-selected-border);
|
|
20780
|
-
}
|
|
20781
20720
|
|
|
20782
|
-
|
|
20783
|
-
display: inline-flex;
|
|
20784
|
-
width: 100%;
|
|
20785
|
-
min-height: var(--button-height-md);
|
|
20786
|
-
padding: var(--button-padding-md);
|
|
20787
|
-
align-items: center;
|
|
20788
|
-
justify-content: var(--button-justify-content);
|
|
20789
|
-
gap: var(--spacing-xxs, 0.375rem);
|
|
20790
|
-
border-radius: var(--button-border-radius);
|
|
20791
|
-
background: var(--button-background);
|
|
20792
|
-
border: var(--button-border-width) solid var(--button-border);
|
|
20793
|
-
box-shadow: var(--button-box-shadow);
|
|
20794
|
-
color: var(--button-text);
|
|
20795
|
-
cursor: pointer;
|
|
20796
|
-
font: inherit;
|
|
20797
|
-
font-size: var(--button-font-size-md);
|
|
20798
|
-
font-weight: var(--button-font-weight);
|
|
20799
|
-
line-height: var(--button-line-height);
|
|
20800
|
-
white-space: nowrap;
|
|
20801
|
-
text-decoration: none;
|
|
20802
|
-
box-sizing: border-box;
|
|
20803
|
-
transition: var(--button-transition);
|
|
20804
|
-
}
|
|
20721
|
+
;// ./node_modules/solid-ui/dist/lib/components/index.esm.js
|
|
20805
20722
|
|
|
20806
|
-
:host([size='sm']) .button {
|
|
20807
|
-
min-height: var(--button-height-sm);
|
|
20808
|
-
padding: var(--button-padding-sm);
|
|
20809
|
-
font-size: var(--button-font-size-sm);
|
|
20810
|
-
}
|
|
20811
20723
|
|
|
20812
|
-
:host([size='lg']) .button {
|
|
20813
|
-
min-height: var(--button-height-lg);
|
|
20814
|
-
padding: var(--button-padding-lg);
|
|
20815
|
-
font-size: var(--button-font-size-lg);
|
|
20816
|
-
}
|
|
20817
20724
|
|
|
20818
|
-
.button:hover:not(:disabled) {
|
|
20819
|
-
background: var(--button-hover-background);
|
|
20820
|
-
border-color: var(--button-hover-border, var(--button-border));
|
|
20821
|
-
box-shadow: var(--button-hover-box-shadow, var(--button-box-shadow));
|
|
20822
|
-
color: var(--button-hover-text);
|
|
20823
|
-
}
|
|
20824
20725
|
|
|
20825
|
-
:host([selected]) .button:hover:not(:disabled) {
|
|
20826
|
-
background: var(--button-hover-background);
|
|
20827
|
-
border-color: var(--button-selected-border);
|
|
20828
|
-
color: var(--button-selected-text);
|
|
20829
|
-
}
|
|
20830
|
-
|
|
20831
|
-
.button:focus-visible {
|
|
20832
|
-
outline: var(--button-focus-outline);
|
|
20833
|
-
outline-offset: var(--button-focus-outline-offset);
|
|
20834
|
-
box-shadow: var(--button-focus-box-shadow);
|
|
20835
|
-
}
|
|
20836
20726
|
|
|
20837
|
-
|
|
20838
|
-
|
|
20839
|
-
|
|
20840
|
-
transform: none;
|
|
20841
|
-
}
|
|
20727
|
+
// EXTERNAL MODULE: ./node_modules/solid-ui/dist/_virtual/~icons/svg-spinners/180-ring.esm.js
|
|
20728
|
+
var _180_ring_esm = __webpack_require__(5609);
|
|
20729
|
+
;// ./node_modules/solid-ui/dist/components/button/Button.styles.esm.js
|
|
20842
20730
|
|
|
20843
|
-
|
|
20844
|
-
|
|
20845
|
-
|
|
20846
|
-
justify-content: var(--button-content-justify-content);
|
|
20847
|
-
gap: inherit;
|
|
20848
|
-
width: 100%;
|
|
20849
|
-
}
|
|
20731
|
+
//#region src/components/button/Button.styles.css
|
|
20732
|
+
var Button_styles_esm_t = css_tag_i`:host{--text-color:var(--solid-ui-color-white);--border-color:var(--solid-ui-color-primary);--background-color:var(--solid-ui-color-primary);--hover-text-color:var(--text-color);--hover-border-color:var(--solid-ui-color-tertiary);--hover-background-color:var(--solid-ui-color-tertiary);display:inline-flex}:host button{font-size:var(--solid-ui-font-size-md);color:var(--text-color);background:var(--background-color);border:1px solid var(--border-color);border-radius:5px;flex:1;justify-content:center;align-items:center;gap:5px;padding:7px 12px;font-weight:600;display:flex;position:relative}:host button:disabled{opacity:.5;cursor:not-allowed}:host button:hover:not(:disabled){color:var(--hover-text-color);background:var(--hover-background-color);border-color:var(--hover-border-color)}:host button icon-svg-spinners-180-ring,:host button ::slotted([slot=left-icon]),:host button ::slotted([slot=right-icon]){width:var(--solid-ui-font-size-md);height:var(--solid-ui-font-size-md)}:host button:after{content:\"\";width:var(--solid-ui-clickable-area);height:var(--solid-ui-clickable-area);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}:host(:has([slot=icon])) button{padding:4px}:host(:has([slot=icon])) button ::slotted([slot=icon]){width:var(--solid-ui-font-size-2xl);height:var(--solid-ui-font-size-2xl)}:host([variant=secondary]) button{--text-color:var(--solid-ui-color-gray-800);--border-color:var(--solid-ui-color-slate-400);--background-color:var(--solid-ui-color-white);--hover-text-color:var(--solid-ui-color-white);--hover-background-color:var(--solid-ui-color-tertiary);--hover-border-color:var(--solid-ui-color-tertiary)}:host([variant=tertiary]) button{--text-color:var(--solid-ui-color-primary);--border-color:transparent;--background-color:transparent;--hover-text-color:var(--solid-ui-color-tertiary);--hover-border-color:var(--solid-ui-color-tertiary);--hover-background-color:transparent;border-width:0 0 1px;border-radius:0;padding:0}:host([variant=outline]) button{--text-color:currentColor;--border-color:currentColor;--background-color:transparent;--hover-text-color:currentColor;--hover-border-color:currentColor;--hover-background-color:color-mix(in srgb, currentColor 25%, transparent)}:host([variant=ghost]) button{--text-color:currentColor;--border-color:transparent;--background-color:transparent;--hover-text-color:currentColor;--hover-border-color:transparent;--hover-background-color:color-mix(in srgb, currentColor 25%, transparent)}`;
|
|
20733
|
+
//#endregion
|
|
20850
20734
|
|
|
20851
|
-
:host([icon-position='end']) .button__content {
|
|
20852
|
-
flex-direction: row-reverse;
|
|
20853
|
-
}
|
|
20854
20735
|
|
|
20855
|
-
|
|
20856
|
-
|
|
20857
|
-
height: var(--button-icon-size-md);
|
|
20858
|
-
display: inline-flex;
|
|
20859
|
-
align-items: center;
|
|
20860
|
-
justify-content: center;
|
|
20861
|
-
color: var(--button-icon-color);
|
|
20862
|
-
flex-shrink: 0;
|
|
20863
|
-
}
|
|
20736
|
+
//# sourceMappingURL=Button.styles.esm.js.map
|
|
20737
|
+
;// ./node_modules/@lit/reactive-element/decorators/property.js
|
|
20864
20738
|
|
|
20865
|
-
|
|
20866
|
-
|
|
20867
|
-
|
|
20868
|
-
|
|
20739
|
+
/**
|
|
20740
|
+
* @license
|
|
20741
|
+
* Copyright 2017 Google LLC
|
|
20742
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20743
|
+
*/const property_o={attribute:!0,type:String,converter:reactive_element_u,reflect:!1,hasChanged:reactive_element_f},property_r=(t=property_o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),"setter"===n&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),"accessor"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t,!0,r)},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t,!0,r)}}throw Error("Unsupported decorator location: "+n)};function property_n(t){return(e,o)=>"object"==typeof o?property_r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
|
|
20744
|
+
//# sourceMappingURL=property.js.map
|
|
20869
20745
|
|
|
20870
|
-
|
|
20871
|
-
width: var(--button-icon-size-lg);
|
|
20872
|
-
height: var(--button-icon-size-lg);
|
|
20873
|
-
}
|
|
20746
|
+
;// ./node_modules/@lit/reactive-element/decorators/state.js
|
|
20874
20747
|
|
|
20875
|
-
|
|
20876
|
-
|
|
20877
|
-
|
|
20878
|
-
|
|
20879
|
-
|
|
20748
|
+
/**
|
|
20749
|
+
* @license
|
|
20750
|
+
* Copyright 2017 Google LLC
|
|
20751
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20752
|
+
*/function state_r(r){return property_n({...r,state:!0,attribute:!1})}
|
|
20753
|
+
//# sourceMappingURL=state.js.map
|
|
20880
20754
|
|
|
20881
|
-
|
|
20882
|
-
|
|
20883
|
-
|
|
20884
|
-
|
|
20885
|
-
|
|
20755
|
+
;// ./node_modules/@lit/reactive-element/decorators/base.js
|
|
20756
|
+
/**
|
|
20757
|
+
* @license
|
|
20758
|
+
* Copyright 2017 Google LLC
|
|
20759
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20760
|
+
*/
|
|
20761
|
+
const base_e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,c),c);
|
|
20762
|
+
//# sourceMappingURL=base.js.map
|
|
20886
20763
|
|
|
20887
|
-
|
|
20888
|
-
display: inline-flex;
|
|
20889
|
-
align-items: center;
|
|
20890
|
-
justify-content: var(--button-content-justify-content);
|
|
20891
|
-
min-width: 0;
|
|
20892
|
-
width: 100%;
|
|
20893
|
-
text-align: var(--button-label-text-align);
|
|
20894
|
-
}
|
|
20764
|
+
;// ./node_modules/@lit/reactive-element/decorators/query.js
|
|
20895
20765
|
|
|
20896
|
-
|
|
20897
|
-
|
|
20898
|
-
|
|
20766
|
+
/**
|
|
20767
|
+
* @license
|
|
20768
|
+
* Copyright 2017 Google LLC
|
|
20769
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20770
|
+
*/function query_e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}="object"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return base_e(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return base_e(n,s,{get(){return o(this)}})}}
|
|
20771
|
+
//# sourceMappingURL=query.js.map
|
|
20899
20772
|
|
|
20900
|
-
|
|
20901
|
-
|
|
20902
|
-
|
|
20903
|
-
|
|
20904
|
-
|
|
20905
|
-
|
|
20906
|
-
|
|
20907
|
-
|
|
20773
|
+
;// ./node_modules/lit/decorators.js
|
|
20774
|
+
|
|
20775
|
+
//# sourceMappingURL=decorators.js.map
|
|
20776
|
+
|
|
20777
|
+
;// ./node_modules/solid-ui/dist/components/button/Button.esm.js
|
|
20778
|
+
|
|
20779
|
+
|
|
20780
|
+
|
|
20781
|
+
|
|
20782
|
+
|
|
20783
|
+
|
|
20784
|
+
|
|
20785
|
+
//#region src/components/button/Button.ts
|
|
20786
|
+
var Button_esm_o, Button_esm_s, Button_esm_c, Button_esm_l, Button_esm_u, Button_esm_d, Button_esm_f, Button_esm_p, Button_esm_m, Button_esm_h, Button_esm_g, Button_esm_, Button_esm_v, Button_esm_y, Button_esm_b, Button_esm_x, Button_esm_S, Button_esm_C, Button_esm_w;
|
|
20787
|
+
function Button_esm_T(e, t, n) {
|
|
20788
|
+
Button_esm_E(e, t), t.set(e, n);
|
|
20789
|
+
}
|
|
20790
|
+
function Button_esm_E(e, t) {
|
|
20791
|
+
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
20792
|
+
}
|
|
20793
|
+
function Button_esm_D(e, t, n) {
|
|
20794
|
+
return e.set(Button_esm_k(e, t), n), n;
|
|
20795
|
+
}
|
|
20796
|
+
function O(e, t) {
|
|
20797
|
+
return e.get(Button_esm_k(e, t));
|
|
20798
|
+
}
|
|
20799
|
+
function Button_esm_k(e, t, n) {
|
|
20800
|
+
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
20801
|
+
throw TypeError("Private element is not present on this object");
|
|
20802
|
+
}
|
|
20803
|
+
function Button_esm_A(e, t, n) {
|
|
20804
|
+
return (t = Button_esm_M(t)) in e ? Object.defineProperty(e, t, {
|
|
20805
|
+
value: n,
|
|
20806
|
+
enumerable: !0,
|
|
20807
|
+
configurable: !0,
|
|
20808
|
+
writable: !0
|
|
20809
|
+
}) : e[t] = n, e;
|
|
20810
|
+
}
|
|
20811
|
+
function Button_esm_j(e, t, n, r, i, a) {
|
|
20812
|
+
function o(e, t, n) {
|
|
20813
|
+
return function(r, i) {
|
|
20814
|
+
return n && n(r), e[t].call(r, i);
|
|
20815
|
+
};
|
|
20908
20816
|
}
|
|
20909
|
-
|
|
20910
|
-
|
|
20911
|
-
|
|
20912
|
-
|
|
20913
|
-
|
|
20914
|
-
|
|
20915
|
-
|
|
20817
|
+
function s(e, t) {
|
|
20818
|
+
for (var n = 0; n < e.length; n++) e[n].call(t);
|
|
20819
|
+
return t;
|
|
20820
|
+
}
|
|
20821
|
+
function c(e, t, n, r) {
|
|
20822
|
+
if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
|
|
20823
|
+
return e;
|
|
20824
|
+
}
|
|
20825
|
+
function l(e, t, n, r, i, a, s, l, u, d, f, p, m) {
|
|
20826
|
+
function h(e) {
|
|
20827
|
+
if (!m(e)) throw TypeError("Attempted to access private element on non-instance");
|
|
20828
|
+
}
|
|
20829
|
+
var g, _ = t[0], v = t[3], y = !l;
|
|
20830
|
+
if (!y) {
|
|
20831
|
+
n || Array.isArray(_) || (_ = [_]);
|
|
20832
|
+
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
20833
|
+
d ? (f || p ? b = {
|
|
20834
|
+
get: Button_esm_P(function() {
|
|
20835
|
+
return v(this);
|
|
20836
|
+
}, r, "get"),
|
|
20837
|
+
set: function(e) {
|
|
20838
|
+
t[4](this, e);
|
|
20839
|
+
}
|
|
20840
|
+
} : b[S] = v, f || Button_esm_P(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
20841
|
+
}
|
|
20842
|
+
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
20843
|
+
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
20844
|
+
kind: [
|
|
20845
|
+
"field",
|
|
20846
|
+
"accessor",
|
|
20847
|
+
"method",
|
|
20848
|
+
"getter",
|
|
20849
|
+
"setter",
|
|
20850
|
+
"class"
|
|
20851
|
+
][i],
|
|
20852
|
+
name: r,
|
|
20853
|
+
metadata: a,
|
|
20854
|
+
addInitializer: function(e, t) {
|
|
20855
|
+
if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
|
|
20856
|
+
c(t, "An initializer", "be", !0), s.push(t);
|
|
20857
|
+
}.bind(null, D)
|
|
20858
|
+
};
|
|
20859
|
+
try {
|
|
20860
|
+
if (y) (g = c(T.call(E, C, O), "class decorators", "return")) && (C = g);
|
|
20861
|
+
else {
|
|
20862
|
+
var k, A;
|
|
20863
|
+
O.static = u, O.private = d, d ? i === 2 ? k = function(e) {
|
|
20864
|
+
return h(e), b.value;
|
|
20865
|
+
} : (i < 4 && (k = o(b, "get", h)), i !== 3 && (A = o(b, "set", h))) : (k = function(e) {
|
|
20866
|
+
return e[r];
|
|
20867
|
+
}, (i < 2 || i === 4) && (A = function(e, t) {
|
|
20868
|
+
e[r] = t;
|
|
20869
|
+
}));
|
|
20870
|
+
var j = O.access = { has: d ? m.bind() : function(e) {
|
|
20871
|
+
return r in e;
|
|
20872
|
+
} };
|
|
20873
|
+
if (k && (j.get = k), A && (j.set = A), C = T.call(E, p ? {
|
|
20874
|
+
get: b.get,
|
|
20875
|
+
set: b.set
|
|
20876
|
+
} : b[S], O), p) {
|
|
20877
|
+
if (typeof C == "object" && C) (g = c(C.get, "accessor.get")) && (b.get = g), (g = c(C.set, "accessor.set")) && (b.set = g), (g = c(C.init, "accessor.init")) && x.push(g);
|
|
20878
|
+
else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
20879
|
+
} else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
|
|
20880
|
+
}
|
|
20881
|
+
} finally {
|
|
20882
|
+
D.v = !0;
|
|
20883
|
+
}
|
|
20884
|
+
}
|
|
20885
|
+
return (f || p) && l.push(function(e, t) {
|
|
20886
|
+
for (var n = x.length - 1; n >= 0; n--) t = x[n].call(e, t);
|
|
20887
|
+
return t;
|
|
20888
|
+
}), f || y || (d ? p ? l.push(o(b, "get"), o(b, "set")) : l.push(i === 2 ? b[S] : o.call.bind(b[S])) : Object.defineProperty(e, r, b)), C;
|
|
20889
|
+
}
|
|
20890
|
+
function u(e, t) {
|
|
20891
|
+
return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
|
|
20892
|
+
configurable: !0,
|
|
20893
|
+
enumerable: !0,
|
|
20894
|
+
value: t
|
|
20916
20895
|
});
|
|
20917
20896
|
}
|
|
20918
|
-
|
|
20919
|
-
|
|
20897
|
+
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
20898
|
+
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
20899
|
+
var i, a, o = [], c = function(t) {
|
|
20900
|
+
return F(t) === e;
|
|
20901
|
+
}, u = /* @__PURE__ */ new Map();
|
|
20902
|
+
function d(e) {
|
|
20903
|
+
e && o.push(s.bind(null, e));
|
|
20904
|
+
}
|
|
20905
|
+
for (var f = 0; f < t.length; f++) {
|
|
20906
|
+
var p = t[f];
|
|
20907
|
+
if (Array.isArray(p)) {
|
|
20908
|
+
var m = p[1], h = p[2], g = p.length > 3, _ = 16 & m, v = !!(8 & m), y = (m &= 7) == 0, b = h + "/" + v;
|
|
20909
|
+
if (!y && !g) {
|
|
20910
|
+
var x = u.get(b);
|
|
20911
|
+
if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
|
|
20912
|
+
u.set(b, !(m > 2) || m);
|
|
20913
|
+
}
|
|
20914
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : Button_esm_M(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
20915
|
+
}
|
|
20916
|
+
}
|
|
20917
|
+
return d(i), d(a), o;
|
|
20918
|
+
}(e, t, i, f);
|
|
20919
|
+
return n.length || u(e, f), {
|
|
20920
|
+
e: p,
|
|
20921
|
+
get c() {
|
|
20922
|
+
var t = [];
|
|
20923
|
+
return n.length && [u(l(e, [n], r, e.name, 5, f, t), f), s.bind(null, t, e)];
|
|
20924
|
+
}
|
|
20925
|
+
};
|
|
20926
|
+
}
|
|
20927
|
+
function Button_esm_M(e) {
|
|
20928
|
+
var t = Button_esm_N(e, "string");
|
|
20929
|
+
return typeof t == "symbol" ? t : t + "";
|
|
20930
|
+
}
|
|
20931
|
+
function Button_esm_N(e, t) {
|
|
20932
|
+
if (typeof e != "object" || !e) return e;
|
|
20933
|
+
var n = e[Symbol.toPrimitive];
|
|
20934
|
+
if (n !== void 0) {
|
|
20935
|
+
var r = n.call(e, t || "default");
|
|
20936
|
+
if (typeof r != "object") return r;
|
|
20937
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
20920
20938
|
}
|
|
20921
|
-
|
|
20922
|
-
|
|
20939
|
+
return (t === "string" ? String : Number)(e);
|
|
20940
|
+
}
|
|
20941
|
+
function Button_esm_P(e, t, n) {
|
|
20942
|
+
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
20943
|
+
try {
|
|
20944
|
+
Object.defineProperty(e, "name", {
|
|
20945
|
+
configurable: !0,
|
|
20946
|
+
value: n ? n + " " + t : t
|
|
20947
|
+
});
|
|
20948
|
+
} catch {}
|
|
20949
|
+
return e;
|
|
20950
|
+
}
|
|
20951
|
+
function F(e) {
|
|
20952
|
+
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
20953
|
+
return e;
|
|
20954
|
+
}
|
|
20955
|
+
function Button_esm_I(e) {
|
|
20956
|
+
return e;
|
|
20957
|
+
}
|
|
20958
|
+
var Button_esm_L = (/* unused pure expression or super */ null && ([
|
|
20959
|
+
"primary",
|
|
20960
|
+
"secondary",
|
|
20961
|
+
"tertiary",
|
|
20962
|
+
"outline",
|
|
20963
|
+
"ghost"
|
|
20964
|
+
]));
|
|
20965
|
+
Button_esm_m = [decorators_esm_t("solid-ui-button")];
|
|
20966
|
+
var Button_esm_R;
|
|
20967
|
+
new (Button_esm_C = (Button_esm_c = /*#__PURE__*/ new WeakMap(), Button_esm_l = /*#__PURE__*/ new WeakMap(), Button_esm_u = /*#__PURE__*/ new WeakMap(), Button_esm_d = /*#__PURE__*/ new WeakMap(), Button_esm_w = (Button_esm_h = property_n({
|
|
20968
|
+
type: String,
|
|
20969
|
+
reflect: !0
|
|
20970
|
+
}), Button_esm_ = property_n({
|
|
20971
|
+
type: String,
|
|
20972
|
+
reflect: !0
|
|
20973
|
+
}), Button_esm_y = property_n({ type: Boolean }), Button_esm_x = property_n({ type: Boolean }), "variant"), Button_esm_s = class extends WebComponent_esm_r {
|
|
20974
|
+
constructor(...e) {
|
|
20975
|
+
super(...e), Button_esm_T(this, Button_esm_c, (Button_esm_f(this), Button_esm_g(this, "primary"))), Button_esm_T(this, Button_esm_l, Button_esm_v(this, "button")), Button_esm_T(this, Button_esm_u, Button_esm_b(this, void 0)), Button_esm_T(this, Button_esm_d, Button_esm_S(this, !1));
|
|
20923
20976
|
}
|
|
20924
|
-
|
|
20925
|
-
|
|
20926
|
-
this._hasSlottedIcon = t.assignedNodes({ flatten: !0 }).length > 0;
|
|
20977
|
+
get [Button_esm_w]() {
|
|
20978
|
+
return O(Button_esm_c, this);
|
|
20927
20979
|
}
|
|
20928
|
-
|
|
20929
|
-
this
|
|
20980
|
+
set variant(e) {
|
|
20981
|
+
Button_esm_D(Button_esm_c, this, e);
|
|
20930
20982
|
}
|
|
20931
|
-
|
|
20932
|
-
return
|
|
20933
|
-
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
|
|
20983
|
+
get type() {
|
|
20984
|
+
return O(Button_esm_l, this);
|
|
20985
|
+
}
|
|
20986
|
+
set type(e) {
|
|
20987
|
+
Button_esm_D(Button_esm_l, this, e);
|
|
20988
|
+
}
|
|
20989
|
+
get disabled() {
|
|
20990
|
+
return O(Button_esm_u, this);
|
|
20991
|
+
}
|
|
20992
|
+
set disabled(e) {
|
|
20993
|
+
Button_esm_D(Button_esm_u, this, e);
|
|
20994
|
+
}
|
|
20995
|
+
get loading() {
|
|
20996
|
+
return O(Button_esm_d, this);
|
|
20997
|
+
}
|
|
20998
|
+
set loading(e) {
|
|
20999
|
+
Button_esm_D(Button_esm_d, this, e);
|
|
20938
21000
|
}
|
|
20939
21001
|
render() {
|
|
21002
|
+
let e = this.disabled ?? this.loading;
|
|
20940
21003
|
return b`
|
|
20941
|
-
|
|
20942
|
-
|
|
20943
|
-
|
|
20944
|
-
|
|
20945
|
-
|
|
20946
|
-
|
|
20947
|
-
|
|
20948
|
-
part="button"
|
|
20949
|
-
@click=${this._handleButtonClick}
|
|
20950
|
-
>
|
|
20951
|
-
<span class="button__content">
|
|
20952
|
-
${this._renderIcon()}
|
|
20953
|
-
<span class="button__label" part="label">
|
|
20954
|
-
<slot>${this.label}</slot>
|
|
20955
|
-
</span>
|
|
20956
|
-
</span>
|
|
20957
|
-
</button>
|
|
21004
|
+
<button type=${this.type} ?disabled=${e} @click=${this.onClick}>
|
|
21005
|
+
${this.loading ? b`<icon-svg-spinners-180-ring></icon-svg-spinners-180-ring>` : A}
|
|
21006
|
+
<slot name="left-icon"></slot>
|
|
21007
|
+
<slot name="icon"></slot>
|
|
21008
|
+
<slot></slot>
|
|
21009
|
+
<slot name="right-icon"></slot>
|
|
21010
|
+
</button>
|
|
20958
21011
|
`;
|
|
20959
21012
|
}
|
|
20960
|
-
|
|
21013
|
+
onClick() {
|
|
21014
|
+
switch (this.type) {
|
|
21015
|
+
case "submit":
|
|
21016
|
+
this.getInternals().form?.requestSubmit();
|
|
21017
|
+
break;
|
|
21018
|
+
case "reset":
|
|
21019
|
+
this.getInternals().form?.reset();
|
|
21020
|
+
break;
|
|
21021
|
+
}
|
|
21022
|
+
}
|
|
21023
|
+
}, {e: [Button_esm_g, Button_esm_v, Button_esm_b, Button_esm_S, Button_esm_f], c: [Button_esm_R, Button_esm_p]} = Button_esm_j(Button_esm_s, [
|
|
21024
|
+
[
|
|
21025
|
+
Button_esm_h,
|
|
21026
|
+
1,
|
|
21027
|
+
"variant"
|
|
21028
|
+
],
|
|
21029
|
+
[
|
|
21030
|
+
Button_esm_,
|
|
21031
|
+
1,
|
|
21032
|
+
"type"
|
|
21033
|
+
],
|
|
21034
|
+
[
|
|
21035
|
+
Button_esm_y,
|
|
21036
|
+
1,
|
|
21037
|
+
"disabled"
|
|
21038
|
+
],
|
|
21039
|
+
[
|
|
21040
|
+
Button_esm_x,
|
|
21041
|
+
1,
|
|
21042
|
+
"loading"
|
|
21043
|
+
]
|
|
21044
|
+
], Button_esm_m, 0, void 0, WebComponent_esm_r), Button_esm_s), Button_esm_o = class extends Button_esm_I {
|
|
21045
|
+
constructor() {
|
|
21046
|
+
super(Button_esm_R), Button_esm_A(this, "styles", Button_styles_esm_t), Button_esm_A(this, "formAssociated", !0), Button_esm_p();
|
|
21047
|
+
}
|
|
21048
|
+
}, Button_esm_A(Button_esm_o, Button_esm_C, void 0), Button_esm_o)();
|
|
20961
21049
|
//#endregion
|
|
20962
21050
|
|
|
20963
21051
|
|
|
20964
21052
|
//# sourceMappingURL=Button.esm.js.map
|
|
20965
|
-
;// ./node_modules/solid-ui/dist/v2/components/actions/button/index.esm.js
|
|
20966
|
-
|
|
20967
|
-
//#region src/v2/components/actions/button/index.ts
|
|
20968
|
-
var index_esm_t = "solid-ui-button";
|
|
20969
|
-
customElements.get(index_esm_t) || customElements.define(index_esm_t, Button_esm_i);
|
|
20970
|
-
//#endregion
|
|
20971
|
-
|
|
20972
|
-
//# sourceMappingURL=index.esm.js.map
|
|
20973
21053
|
;// ./node_modules/solid-ui/dist/components/button/index.esm.js
|
|
21054
|
+
/* unused harmony import specifier */ var index_esm_t;
|
|
20974
21055
|
|
|
21056
|
+
//#region src/components/button/index.ts
|
|
21057
|
+
var index_esm_n = (/* unused pure expression or super */ null && (index_esm_t));
|
|
21058
|
+
//#endregion
|
|
20975
21059
|
|
|
20976
21060
|
|
|
20977
|
-
|
|
21061
|
+
//# sourceMappingURL=index.esm.js.map
|
|
20978
21062
|
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./src/ui/dialog.css
|
|
20979
21063
|
var dialog = __webpack_require__(5250);
|
|
20980
21064
|
;// ./src/ui/dialog.css
|
|
@@ -21528,38 +21612,76 @@ var downArrow_esm_t = b`
|
|
|
21528
21612
|
|
|
21529
21613
|
|
|
21530
21614
|
//# sourceMappingURL=downArrow.esm.js.map
|
|
21531
|
-
;// ./node_modules/solid-ui/dist/v2/components/forms/shared/
|
|
21532
|
-
|
|
21533
|
-
//#region src/v2/components/forms/shared/listboxStyles.ts
|
|
21534
|
-
var listboxStyles_esm_t = css_tag_i`
|
|
21535
|
-
:host { /* default theme */
|
|
21536
|
-
--input-background: var(--color-background, #F8F9FB);
|
|
21537
|
-
--item-text: var(--color-text-heading, #000000);
|
|
21538
|
-
--item-selected-text: var(--color-primary, #7c4dff);
|
|
21539
|
-
--item-hover-background: var(--color-header-menu-item-hover, #e6dcff);
|
|
21540
|
-
--item-selected-background: var(--color-header-menu-item-selected, #cbb9ff);
|
|
21541
|
-
--listbox-z-index: 1;
|
|
21542
|
-
}
|
|
21543
|
-
|
|
21544
|
-
:host([theme='dark']) {
|
|
21545
|
-
--input-background: var(--color-background, #1A1A1A);
|
|
21546
|
-
--item-text: var(--color-text-heading, #F8F9FB);
|
|
21547
|
-
--item-selected-text: var(--color-primary, #7c4dff);
|
|
21548
|
-
--item-hover-background: var(--color-header-menu-item-hover, #e6dcff);
|
|
21549
|
-
--item-selected-background: var(--color-header-menu-item-selected, #cbb9ff);
|
|
21550
|
-
--listbox-z-index: 1;
|
|
21551
|
-
}
|
|
21615
|
+
;// ./node_modules/solid-ui/dist/v2/components/forms/shared/listboxTemplate.esm.js
|
|
21552
21616
|
|
|
21553
|
-
|
|
21554
|
-
|
|
21555
|
-
|
|
21556
|
-
|
|
21557
|
-
|
|
21558
|
-
|
|
21559
|
-
|
|
21560
|
-
|
|
21561
|
-
|
|
21562
|
-
|
|
21617
|
+
//#region src/v2/components/forms/shared/listboxTemplate.ts
|
|
21618
|
+
function listboxTemplate_esm_t(t) {
|
|
21619
|
+
let { options: n, selectedOption: r, activeOption: i, listboxId: a, getOptionId: o, onOptionSelect: s } = t;
|
|
21620
|
+
return b`
|
|
21621
|
+
<ul
|
|
21622
|
+
class="listbox"
|
|
21623
|
+
id="${a ?? ""}"
|
|
21624
|
+
part="listbox"
|
|
21625
|
+
role="listbox"
|
|
21626
|
+
aria-orientation="vertical"
|
|
21627
|
+
>
|
|
21628
|
+
${n.map((t, n) => {
|
|
21629
|
+
let a = t.value === r?.value, c = t.value === i?.value;
|
|
21630
|
+
return b`
|
|
21631
|
+
<li
|
|
21632
|
+
id="${o?.(t, n) ?? ""}"
|
|
21633
|
+
class="listbox-item${a ? " listbox-item-selected" : ""}${c ? " listbox-item-active" : ""}${t.disabled ? " listbox-item-disabled" : ""}"
|
|
21634
|
+
part="option${a ? " selected-option" : ""}${c ? " active-option" : ""}${t.disabled ? " disabled-option" : ""}"
|
|
21635
|
+
role="option"
|
|
21636
|
+
aria-selected="${a}"
|
|
21637
|
+
aria-disabled="${t.disabled ? "true" : "false"}"
|
|
21638
|
+
@click="${() => {
|
|
21639
|
+
t.disabled || s(t);
|
|
21640
|
+
}}"
|
|
21641
|
+
>
|
|
21642
|
+
${t.label}
|
|
21643
|
+
</li>
|
|
21644
|
+
`;
|
|
21645
|
+
})}
|
|
21646
|
+
</ul>
|
|
21647
|
+
`;
|
|
21648
|
+
}
|
|
21649
|
+
//#endregion
|
|
21650
|
+
|
|
21651
|
+
|
|
21652
|
+
//# sourceMappingURL=listboxTemplate.esm.js.map
|
|
21653
|
+
;// ./node_modules/solid-ui/dist/v2/components/forms/shared/listboxStyles.esm.js
|
|
21654
|
+
|
|
21655
|
+
//#region src/v2/components/forms/shared/listboxStyles.ts
|
|
21656
|
+
var listboxStyles_esm_t = css_tag_i`
|
|
21657
|
+
:host { /* default theme */
|
|
21658
|
+
--input-background: var(--color-background, #F8F9FB);
|
|
21659
|
+
--item-text: var(--color-text-heading, #000000);
|
|
21660
|
+
--item-selected-text: var(--color-primary, #7c4dff);
|
|
21661
|
+
--item-hover-background: var(--color-header-menu-item-hover, #e6dcff);
|
|
21662
|
+
--item-selected-background: var(--color-header-menu-item-selected, #cbb9ff);
|
|
21663
|
+
--listbox-z-index: 1;
|
|
21664
|
+
}
|
|
21665
|
+
|
|
21666
|
+
:host([theme='dark']) {
|
|
21667
|
+
--input-background: var(--color-background, #1A1A1A);
|
|
21668
|
+
--item-text: var(--color-text-heading, #F8F9FB);
|
|
21669
|
+
--item-selected-text: var(--color-primary, #7c4dff);
|
|
21670
|
+
--item-hover-background: var(--color-header-menu-item-hover, #e6dcff);
|
|
21671
|
+
--item-selected-background: var(--color-header-menu-item-selected, #cbb9ff);
|
|
21672
|
+
--listbox-z-index: 1;
|
|
21673
|
+
}
|
|
21674
|
+
|
|
21675
|
+
.listbox {
|
|
21676
|
+
position: relative;
|
|
21677
|
+
top: 0;
|
|
21678
|
+
left: 0;
|
|
21679
|
+
right: 0;
|
|
21680
|
+
display: flex;
|
|
21681
|
+
flex-direction: column;
|
|
21682
|
+
gap: 0.0625rem;
|
|
21683
|
+
margin: 0;
|
|
21684
|
+
padding: 0;
|
|
21563
21685
|
list-style: none;
|
|
21564
21686
|
border: none;
|
|
21565
21687
|
border-radius: inherit;
|
|
@@ -21664,44 +21786,6 @@ function keyboard_esm_i(e) {
|
|
|
21664
21786
|
|
|
21665
21787
|
|
|
21666
21788
|
//# sourceMappingURL=keyboard.esm.js.map
|
|
21667
|
-
;// ./node_modules/solid-ui/dist/v2/components/forms/shared/listboxTemplate.esm.js
|
|
21668
|
-
|
|
21669
|
-
//#region src/v2/components/forms/shared/listboxTemplate.ts
|
|
21670
|
-
function listboxTemplate_esm_t(t) {
|
|
21671
|
-
let { options: n, selectedOption: r, activeOption: i, listboxId: a, getOptionId: o, onOptionSelect: s } = t;
|
|
21672
|
-
return b`
|
|
21673
|
-
<ul
|
|
21674
|
-
class="listbox"
|
|
21675
|
-
id="${a ?? ""}"
|
|
21676
|
-
part="listbox"
|
|
21677
|
-
role="listbox"
|
|
21678
|
-
aria-orientation="vertical"
|
|
21679
|
-
>
|
|
21680
|
-
${n.map((t, n) => {
|
|
21681
|
-
let a = t.value === r?.value, c = t.value === i?.value;
|
|
21682
|
-
return b`
|
|
21683
|
-
<li
|
|
21684
|
-
id="${o?.(t, n) ?? ""}"
|
|
21685
|
-
class="listbox-item${a ? " listbox-item-selected" : ""}${c ? " listbox-item-active" : ""}${t.disabled ? " listbox-item-disabled" : ""}"
|
|
21686
|
-
part="option${a ? " selected-option" : ""}${c ? " active-option" : ""}${t.disabled ? " disabled-option" : ""}"
|
|
21687
|
-
role="option"
|
|
21688
|
-
aria-selected="${a}"
|
|
21689
|
-
aria-disabled="${t.disabled ? "true" : "false"}"
|
|
21690
|
-
@click="${() => {
|
|
21691
|
-
t.disabled || s(t);
|
|
21692
|
-
}}"
|
|
21693
|
-
>
|
|
21694
|
-
${t.label}
|
|
21695
|
-
</li>
|
|
21696
|
-
`;
|
|
21697
|
-
})}
|
|
21698
|
-
</ul>
|
|
21699
|
-
`;
|
|
21700
|
-
}
|
|
21701
|
-
//#endregion
|
|
21702
|
-
|
|
21703
|
-
|
|
21704
|
-
//# sourceMappingURL=listboxTemplate.esm.js.map
|
|
21705
21789
|
;// ./node_modules/lit/html.js
|
|
21706
21790
|
|
|
21707
21791
|
//# sourceMappingURL=html.js.map
|
|
@@ -24551,414 +24635,339 @@ var LanguageSection_update = injectStylesIntoStyleTag_default()(LanguageSection/
|
|
|
24551
24635
|
|
|
24552
24636
|
/* harmony default export */ const languages_LanguageSection = (LanguageSection/* default */.A && LanguageSection/* default */.A.locals ? LanguageSection/* default */.A.locals : undefined);
|
|
24553
24637
|
|
|
24554
|
-
;// ./node_modules/solid-ui/dist/
|
|
24555
|
-
|
|
24556
|
-
|
|
24557
|
-
|
|
24558
|
-
|
|
24559
|
-
|
|
24560
|
-
|
|
24561
|
-
//#region src/v2/components/forms/combobox/Combobox.ts
|
|
24562
|
-
var Combobox_esm_p = class p extends lit_element_i {
|
|
24563
|
-
static _nextId = 0;
|
|
24564
|
-
_popupPortalHost = null;
|
|
24565
|
-
_popupPortalRoot = null;
|
|
24566
|
-
_popupPortalContainer = null;
|
|
24567
|
-
_handleDocumentPointerDown = (e) => {
|
|
24568
|
-
let t = e.target;
|
|
24569
|
-
if (!this._popupOpen || !(t instanceof Node)) return;
|
|
24570
|
-
let n = "composedPath" in e ? e.composedPath() : [];
|
|
24571
|
-
n.includes(this) || this._popupPortalHost && n.includes(this._popupPortalHost) || this._popupPortalRoot && n.includes(this._popupPortalRoot) || this.contains(t) || this._closePopup();
|
|
24572
|
-
};
|
|
24573
|
-
_handleViewportChange = () => {
|
|
24574
|
-
this._popupOpen && this._updatePopupPosition();
|
|
24575
|
-
};
|
|
24576
|
-
suggestionProvider;
|
|
24577
|
-
static properties = {
|
|
24578
|
-
label: {
|
|
24579
|
-
type: String,
|
|
24580
|
-
reflect: !0
|
|
24581
|
-
},
|
|
24582
|
-
placeholder: {
|
|
24583
|
-
type: String,
|
|
24584
|
-
reflect: !0
|
|
24585
|
-
},
|
|
24586
|
-
theme: {
|
|
24587
|
-
type: String,
|
|
24588
|
-
reflect: !0
|
|
24589
|
-
},
|
|
24590
|
-
layout: {
|
|
24591
|
-
type: String,
|
|
24592
|
-
reflect: !0
|
|
24593
|
-
},
|
|
24594
|
-
value: {
|
|
24595
|
-
type: String,
|
|
24596
|
-
reflect: !0
|
|
24597
|
-
},
|
|
24598
|
-
inputValue: { type: String },
|
|
24599
|
-
options: {
|
|
24600
|
-
type: Array,
|
|
24601
|
-
attribute: !1
|
|
24602
|
-
},
|
|
24603
|
-
_popupOpen: { state: !0 },
|
|
24604
|
-
_activeIndex: { state: !0 }
|
|
24605
|
-
};
|
|
24606
|
-
static styles = [listboxStyles_esm_t, css_tag_i`
|
|
24607
|
-
:host {
|
|
24608
|
-
/* default theme */
|
|
24609
|
-
display: block;
|
|
24610
|
-
width: 100%;
|
|
24611
|
-
min-width: 0;
|
|
24612
|
-
max-width: 100%;
|
|
24613
|
-
position: relative;
|
|
24614
|
-
box-sizing: border-box;
|
|
24615
|
-
--popup-background: var(--color-background, #F8F9FB);
|
|
24616
|
-
--popup-text: var(--color-text, #1A1A1A);
|
|
24617
|
-
--popup-border: var(--color-border, #E5E7EB);
|
|
24618
|
-
--popup-shadow: var(--box-shadow-sm, 0 1px 4px rgba(124,77,255,0.12));
|
|
24619
|
-
--input-background: var(--color-background, #F8F9FB);
|
|
24620
|
-
--input-text: var(--color-text, #1A1A1A);
|
|
24621
|
-
--input-border: var(--color-border-button-hover, var(--gray-400, #99A1AF));
|
|
24622
|
-
--label-color: var(--grey-purple-700, #1A1A1A);
|
|
24623
|
-
--placeholder-color: var(--grey-purple-700, #5e546d);
|
|
24624
|
-
--combobox-input-height: var(--select-trigger-height, var(--min-touch-target, 44px));
|
|
24625
|
-
--combobox-input-inline-padding: var(--select-trigger-inline-padding, var(--spacing-2xs, 0.625rem));
|
|
24626
|
-
--combobox-input-block-padding: var(--spacing-xxs, 0.3125rem);
|
|
24627
|
-
}
|
|
24628
|
-
|
|
24629
|
-
:host([theme='dark']) {
|
|
24630
|
-
display: block;
|
|
24631
|
-
width: 100%;
|
|
24632
|
-
min-width: 0;
|
|
24633
|
-
max-width: 100%;
|
|
24634
|
-
position: relative;
|
|
24635
|
-
box-sizing: border-box;
|
|
24636
|
-
--popup-background: var(--color-background, #F8F9FB);
|
|
24637
|
-
--popup-text: var(--color-text, #1A1A1A);
|
|
24638
|
-
--popup-border: var(--color-border, #E5E7EB);
|
|
24639
|
-
--popup-shadow: var(--box-shadow-sm, 0 1px 4px rgba(124,77,255,0.12));
|
|
24640
|
-
--input-background: var(--color-background, #F8F9FB);
|
|
24641
|
-
--input-text: var(--color-text, #1A1A1A);
|
|
24642
|
-
--input-border: var(--color-border-button-hover, var(--gray-400, #99A1AF));
|
|
24643
|
-
--label-color: var(--grey-purple-700, #1A1A1A);
|
|
24644
|
-
--placeholder-color: var(--grey-purple-700, #5e546d);
|
|
24645
|
-
--combobox-input-height: var(--select-trigger-height, var(--min-touch-target, 44px));
|
|
24646
|
-
--combobox-input-inline-padding: var(--select-trigger-inline-padding, var(--spacing-2xs, 0.625rem));
|
|
24647
|
-
--combobox-input-block-padding: var(--spacing-xxs, 0.3125rem);
|
|
24648
|
-
}
|
|
24638
|
+
;// ./node_modules/solid-ui/dist/lib/components/ids.esm.js
|
|
24639
|
+
//#region src/lib/components/ids.ts
|
|
24640
|
+
function ids_esm_e() {
|
|
24641
|
+
return Math.random().toString(36).substring(2, 15);
|
|
24642
|
+
}
|
|
24643
|
+
//#endregion
|
|
24649
24644
|
|
|
24650
|
-
.popup-box {
|
|
24651
|
-
position: absolute;
|
|
24652
|
-
top: 0;
|
|
24653
|
-
left: 0;
|
|
24654
|
-
width: 100%;
|
|
24655
|
-
background: var(--popup-background);
|
|
24656
|
-
color: var(--popup-text);
|
|
24657
|
-
box-shadow: var(--popup-shadow);
|
|
24658
|
-
border: 1px solid var(--popup-border);
|
|
24659
|
-
border-radius: var(--border-radius-md, 0.5rem);
|
|
24660
|
-
min-width: 100%;
|
|
24661
|
-
overflow: hidden;
|
|
24662
|
-
box-sizing: border-box;
|
|
24663
|
-
isolation: isolate;
|
|
24664
|
-
}
|
|
24665
24645
|
|
|
24666
|
-
|
|
24667
|
-
|
|
24668
|
-
|
|
24669
|
-
|
|
24670
|
-
isolation: isolate;
|
|
24671
|
-
}
|
|
24646
|
+
//# sourceMappingURL=ids.esm.js.map
|
|
24647
|
+
// EXTERNAL MODULE: ./node_modules/solid-ui/dist/_virtual/~icons/lucide/chevron-down.esm.js
|
|
24648
|
+
var chevron_down_esm = __webpack_require__(8206);
|
|
24649
|
+
;// ./node_modules/solid-ui/dist/components/combobox/Combobox.styles.esm.js
|
|
24672
24650
|
|
|
24673
|
-
|
|
24674
|
-
|
|
24675
|
-
|
|
24676
|
-
gap: 6px;
|
|
24677
|
-
}
|
|
24651
|
+
//#region src/components/combobox/Combobox.styles.css
|
|
24652
|
+
var Combobox_styles_esm_t = css_tag_i`:host{flex-direction:column;align-items:flex-start;gap:5px;display:inline-flex}:host label{color:var(--solid-ui-color-gray-600);font-size:var(--solid-ui-font-size-sm);font-weight:400}:host .input-wrapper{anchor-name:--combobox-anchor;width:100%;position:relative}:host .input-wrapper input{border:1px solid var(--solid-ui-color-gray-400);border-radius:5px;width:100%;padding:10px 40px 10px 10px}:host .input-wrapper icon-lucide-chevron-down{color:var(--solid-ui-color-gray-500);width:var(--solid-ui-font-size-lg);height:var(--solid-ui-font-size-lg);pointer-events:none;position:absolute;top:50%;right:15px;transform:translateY(-50%)}:host [popover]:popover-open{top:calc(anchor(bottom) + 5px);left:anchor(left);min-width:anchor-size(width);position-try-fallbacks:flip-block, flip-inline;position-anchor:--combobox-anchor;border:1px solid var(--solid-ui-color-gray-100);background:#fff;border-radius:5px;flex-direction:column;display:flex;position:fixed;bottom:auto;right:auto;overflow:visible;box-shadow:0 4px 16px #00000059}:host [popover]:popover-open [role=option]{color:var(--solid-ui-color-gray-700);border-bottom:1px solid var(--solid-ui-color-gray-100);padding:12px 8px}:host [popover]:popover-open [role=option]:hover{background:#0000000d}`;
|
|
24653
|
+
//#endregion
|
|
24678
24654
|
|
|
24679
|
-
.text-label {
|
|
24680
|
-
color: var(--label-color);
|
|
24681
|
-
margin-bottom: 6px;
|
|
24682
|
-
}
|
|
24683
24655
|
|
|
24684
|
-
|
|
24685
|
-
|
|
24686
|
-
flex-direction: row;
|
|
24687
|
-
position: relative;
|
|
24688
|
-
width: 100%;
|
|
24689
|
-
min-width: 0;
|
|
24690
|
-
}
|
|
24656
|
+
//# sourceMappingURL=Combobox.styles.esm.js.map
|
|
24657
|
+
;// ./node_modules/solid-ui/dist/components/combobox/Combobox.esm.js
|
|
24691
24658
|
|
|
24692
|
-
.text-input {
|
|
24693
|
-
display: block;
|
|
24694
|
-
flex: 1;
|
|
24695
|
-
width: 100%;
|
|
24696
|
-
min-width: 0;
|
|
24697
|
-
min-height: var(--combobox-input-height);
|
|
24698
|
-
height: var(--combobox-input-height);
|
|
24699
|
-
padding: var(--combobox-input-block-padding) calc(26px + (var(--combobox-input-inline-padding) * 2) + 6px) var(--combobox-input-block-padding) var(--combobox-input-inline-padding);
|
|
24700
|
-
border: 1px solid var(--input-border);
|
|
24701
|
-
border-radius: var(--border-radius-base, 0.3125rem);
|
|
24702
|
-
background: var(--input-background);
|
|
24703
|
-
color: var(--input-text);
|
|
24704
|
-
font: inherit;
|
|
24705
|
-
font-size: var(--font-size-sm, 0.875rem);
|
|
24706
|
-
font-weight: var(--font-weight-md, 500);
|
|
24707
|
-
line-height: normal;
|
|
24708
|
-
appearance: none;
|
|
24709
|
-
-webkit-appearance: none;
|
|
24710
|
-
box-sizing: border-box;
|
|
24711
|
-
}
|
|
24712
24659
|
|
|
24713
|
-
.text-input::placeholder {
|
|
24714
|
-
color: var(--placeholder-color);
|
|
24715
|
-
}
|
|
24716
24660
|
|
|
24717
|
-
.text-input:focus-visible {
|
|
24718
|
-
outline: 2px solid var(--color-focus-ring, var(--color-primary, #7C4DFF));
|
|
24719
|
-
outline-offset: 2px;
|
|
24720
|
-
}
|
|
24721
24661
|
|
|
24722
|
-
.dropdown-toggle {
|
|
24723
|
-
position: absolute;
|
|
24724
|
-
right: 6px;
|
|
24725
|
-
top: 50%;
|
|
24726
|
-
transform: translateY(-50%);
|
|
24727
|
-
width: 26px;
|
|
24728
|
-
height: 26px;
|
|
24729
|
-
padding: 0;
|
|
24730
|
-
border: none;
|
|
24731
|
-
background: transparent;
|
|
24732
|
-
cursor: pointer;
|
|
24733
|
-
display: flex;
|
|
24734
|
-
align-items: center;
|
|
24735
|
-
justify-content: center;
|
|
24736
|
-
flex-shrink: 0;
|
|
24737
|
-
border-radius: var(--border-radius-base, 0.3125rem);
|
|
24738
|
-
}
|
|
24739
24662
|
|
|
24740
|
-
.dropdown-toggle:hover {
|
|
24741
|
-
background: var(--color-header-menu-item-hover, #e6dcff);
|
|
24742
|
-
}
|
|
24743
24663
|
|
|
24744
|
-
.input-field-row:focus-within .dropdown-toggle {
|
|
24745
|
-
background: var(--color-header-menu-item-hover, #e6dcff);
|
|
24746
|
-
}
|
|
24747
24664
|
|
|
24748
|
-
.dropdown-toggle:focus-visible {
|
|
24749
|
-
outline: 2px solid var(--color-focus-ring, var(--color-primary, #7C4DFF));
|
|
24750
|
-
outline-offset: 2px;
|
|
24751
|
-
background: var(--color-header-menu-item-hover, #e6dcff);
|
|
24752
|
-
}
|
|
24753
24665
|
|
|
24754
|
-
|
|
24755
|
-
|
|
24756
|
-
|
|
24757
|
-
|
|
24758
|
-
|
|
24759
|
-
|
|
24760
|
-
|
|
24761
|
-
|
|
24762
|
-
|
|
24763
|
-
|
|
24764
|
-
|
|
24765
|
-
|
|
24666
|
+
//#region src/components/combobox/Combobox.ts
|
|
24667
|
+
var Combobox_esm_c, Combobox_esm_l, Combobox_esm_u, Combobox_esm_d, Combobox_esm_f, Combobox_esm_p, Combobox_esm_m, Combobox_esm_h, Combobox_esm_g, Combobox_esm_, Combobox_esm_v, Combobox_esm_y, Combobox_esm_b, Combobox_esm_x, Combobox_esm_S, Combobox_esm_C, Combobox_esm_w, Combobox_esm_T, Combobox_esm_E, Combobox_esm_D, Combobox_esm_O, Combobox_esm_k;
|
|
24668
|
+
function Combobox_esm_A(e, t, n) {
|
|
24669
|
+
Combobox_esm_j(e, t), t.set(e, n);
|
|
24670
|
+
}
|
|
24671
|
+
function Combobox_esm_j(e, t) {
|
|
24672
|
+
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
24673
|
+
}
|
|
24674
|
+
function Combobox_esm_M(e, t, n) {
|
|
24675
|
+
return e.set(Combobox_esm_P(e, t), n), n;
|
|
24676
|
+
}
|
|
24677
|
+
function Combobox_esm_N(e, t) {
|
|
24678
|
+
return e.get(Combobox_esm_P(e, t));
|
|
24679
|
+
}
|
|
24680
|
+
function Combobox_esm_P(e, t, n) {
|
|
24681
|
+
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
24682
|
+
throw TypeError("Private element is not present on this object");
|
|
24683
|
+
}
|
|
24684
|
+
function Combobox_esm_F(e, t, n) {
|
|
24685
|
+
return (t = Combobox_esm_L(t)) in e ? Object.defineProperty(e, t, {
|
|
24686
|
+
value: n,
|
|
24687
|
+
enumerable: !0,
|
|
24688
|
+
configurable: !0,
|
|
24689
|
+
writable: !0
|
|
24690
|
+
}) : e[t] = n, e;
|
|
24691
|
+
}
|
|
24692
|
+
function Combobox_esm_I(e, t, n, r, i, a) {
|
|
24693
|
+
function o(e, t, n) {
|
|
24694
|
+
return function(r, i) {
|
|
24695
|
+
return n && n(r), e[t].call(r, i);
|
|
24696
|
+
};
|
|
24766
24697
|
}
|
|
24767
|
-
|
|
24768
|
-
|
|
24698
|
+
function s(e, t) {
|
|
24699
|
+
for (var n = 0; n < e.length; n++) e[n].call(t);
|
|
24700
|
+
return t;
|
|
24769
24701
|
}
|
|
24770
|
-
|
|
24771
|
-
|
|
24702
|
+
function c(e, t, n, r) {
|
|
24703
|
+
if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
|
|
24704
|
+
return e;
|
|
24772
24705
|
}
|
|
24773
|
-
|
|
24774
|
-
|
|
24706
|
+
function l(e, t, n, r, i, a, s, l, u, d, f, p, m) {
|
|
24707
|
+
function h(e) {
|
|
24708
|
+
if (!m(e)) throw TypeError("Attempted to access private element on non-instance");
|
|
24709
|
+
}
|
|
24710
|
+
var g, _ = t[0], v = t[3], y = !l;
|
|
24711
|
+
if (!y) {
|
|
24712
|
+
n || Array.isArray(_) || (_ = [_]);
|
|
24713
|
+
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
24714
|
+
d ? (f || p ? b = {
|
|
24715
|
+
get: Combobox_esm_z(function() {
|
|
24716
|
+
return v(this);
|
|
24717
|
+
}, r, "get"),
|
|
24718
|
+
set: function(e) {
|
|
24719
|
+
t[4](this, e);
|
|
24720
|
+
}
|
|
24721
|
+
} : b[S] = v, f || Combobox_esm_z(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
24722
|
+
}
|
|
24723
|
+
for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
|
|
24724
|
+
var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
|
|
24725
|
+
kind: [
|
|
24726
|
+
"field",
|
|
24727
|
+
"accessor",
|
|
24728
|
+
"method",
|
|
24729
|
+
"getter",
|
|
24730
|
+
"setter",
|
|
24731
|
+
"class"
|
|
24732
|
+
][i],
|
|
24733
|
+
name: r,
|
|
24734
|
+
metadata: a,
|
|
24735
|
+
addInitializer: function(e, t) {
|
|
24736
|
+
if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
|
|
24737
|
+
c(t, "An initializer", "be", !0), s.push(t);
|
|
24738
|
+
}.bind(null, D)
|
|
24739
|
+
};
|
|
24740
|
+
try {
|
|
24741
|
+
if (y) (g = c(T.call(E, C, O), "class decorators", "return")) && (C = g);
|
|
24742
|
+
else {
|
|
24743
|
+
var k, A;
|
|
24744
|
+
O.static = u, O.private = d, d ? i === 2 ? k = function(e) {
|
|
24745
|
+
return h(e), b.value;
|
|
24746
|
+
} : (i < 4 && (k = o(b, "get", h)), i !== 3 && (A = o(b, "set", h))) : (k = function(e) {
|
|
24747
|
+
return e[r];
|
|
24748
|
+
}, (i < 2 || i === 4) && (A = function(e, t) {
|
|
24749
|
+
e[r] = t;
|
|
24750
|
+
}));
|
|
24751
|
+
var j = O.access = { has: d ? m.bind() : function(e) {
|
|
24752
|
+
return r in e;
|
|
24753
|
+
} };
|
|
24754
|
+
if (k && (j.get = k), A && (j.set = A), C = T.call(E, p ? {
|
|
24755
|
+
get: b.get,
|
|
24756
|
+
set: b.set
|
|
24757
|
+
} : b[S], O), p) {
|
|
24758
|
+
if (typeof C == "object" && C) (g = c(C.get, "accessor.get")) && (b.get = g), (g = c(C.set, "accessor.set")) && (b.set = g), (g = c(C.init, "accessor.init")) && x.push(g);
|
|
24759
|
+
else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
24760
|
+
} else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
|
|
24761
|
+
}
|
|
24762
|
+
} finally {
|
|
24763
|
+
D.v = !0;
|
|
24764
|
+
}
|
|
24765
|
+
}
|
|
24766
|
+
return (f || p) && l.push(function(e, t) {
|
|
24767
|
+
for (var n = x.length - 1; n >= 0; n--) t = x[n].call(e, t);
|
|
24768
|
+
return t;
|
|
24769
|
+
}), f || y || (d ? p ? l.push(o(b, "get"), o(b, "set")) : l.push(i === 2 ? b[S] : o.call.bind(b[S])) : Object.defineProperty(e, r, b)), C;
|
|
24775
24770
|
}
|
|
24776
|
-
|
|
24777
|
-
|
|
24778
|
-
|
|
24779
|
-
|
|
24780
|
-
|
|
24781
|
-
|
|
24771
|
+
function u(e, t) {
|
|
24772
|
+
return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
|
|
24773
|
+
configurable: !0,
|
|
24774
|
+
enumerable: !0,
|
|
24775
|
+
value: t
|
|
24776
|
+
});
|
|
24782
24777
|
}
|
|
24783
|
-
|
|
24784
|
-
|
|
24778
|
+
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
24779
|
+
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
24780
|
+
var i, a, o = [], c = function(t) {
|
|
24781
|
+
return Combobox_esm_B(t) === e;
|
|
24782
|
+
}, u = /* @__PURE__ */ new Map();
|
|
24783
|
+
function d(e) {
|
|
24784
|
+
e && o.push(s.bind(null, e));
|
|
24785
|
+
}
|
|
24786
|
+
for (var f = 0; f < t.length; f++) {
|
|
24787
|
+
var p = t[f];
|
|
24788
|
+
if (Array.isArray(p)) {
|
|
24789
|
+
var m = p[1], h = p[2], g = p.length > 3, _ = 16 & m, v = !!(8 & m), y = (m &= 7) == 0, b = h + "/" + v;
|
|
24790
|
+
if (!y && !g) {
|
|
24791
|
+
var x = u.get(b);
|
|
24792
|
+
if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
|
|
24793
|
+
u.set(b, !(m > 2) || m);
|
|
24794
|
+
}
|
|
24795
|
+
l(v ? e : e.prototype, p, _, g ? "#" + h : Combobox_esm_L(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
24796
|
+
}
|
|
24797
|
+
}
|
|
24798
|
+
return d(i), d(a), o;
|
|
24799
|
+
}(e, t, i, f);
|
|
24800
|
+
return n.length || u(e, f), {
|
|
24801
|
+
e: p,
|
|
24802
|
+
get c() {
|
|
24803
|
+
var t = [];
|
|
24804
|
+
return n.length && [u(l(e, [n], r, e.name, 5, f, t), f), s.bind(null, t, e)];
|
|
24805
|
+
}
|
|
24806
|
+
};
|
|
24807
|
+
}
|
|
24808
|
+
function Combobox_esm_L(e) {
|
|
24809
|
+
var t = Combobox_esm_R(e, "string");
|
|
24810
|
+
return typeof t == "symbol" ? t : t + "";
|
|
24811
|
+
}
|
|
24812
|
+
function Combobox_esm_R(e, t) {
|
|
24813
|
+
if (typeof e != "object" || !e) return e;
|
|
24814
|
+
var n = e[Symbol.toPrimitive];
|
|
24815
|
+
if (n !== void 0) {
|
|
24816
|
+
var r = n.call(e, t || "default");
|
|
24817
|
+
if (typeof r != "object") return r;
|
|
24818
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
24785
24819
|
}
|
|
24786
|
-
|
|
24787
|
-
|
|
24788
|
-
|
|
24789
|
-
|
|
24820
|
+
return (t === "string" ? String : Number)(e);
|
|
24821
|
+
}
|
|
24822
|
+
function Combobox_esm_z(e, t, n) {
|
|
24823
|
+
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
24824
|
+
try {
|
|
24825
|
+
Object.defineProperty(e, "name", {
|
|
24826
|
+
configurable: !0,
|
|
24827
|
+
value: n ? n + " " + t : t
|
|
24828
|
+
});
|
|
24829
|
+
} catch {}
|
|
24830
|
+
return e;
|
|
24831
|
+
}
|
|
24832
|
+
function Combobox_esm_B(e) {
|
|
24833
|
+
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
24834
|
+
return e;
|
|
24835
|
+
}
|
|
24836
|
+
function Combobox_esm_V(e) {
|
|
24837
|
+
return e;
|
|
24838
|
+
}
|
|
24839
|
+
Combobox_esm_ = [decorators_esm_t("solid-ui-combobox")];
|
|
24840
|
+
var Combobox_esm_H;
|
|
24841
|
+
new (Combobox_esm_O = (Combobox_esm_u = /*#__PURE__*/ new WeakMap(), Combobox_esm_d = /*#__PURE__*/ new WeakMap(), Combobox_esm_f = /*#__PURE__*/ new WeakMap(), Combobox_esm_p = /*#__PURE__*/ new WeakMap(), Combobox_esm_m = /*#__PURE__*/ new WeakMap(), Combobox_esm_k = (Combobox_esm_v = property_n({
|
|
24842
|
+
type: String,
|
|
24843
|
+
reflect: !0
|
|
24844
|
+
}), Combobox_esm_b = property_n({ type: String }), Combobox_esm_S = query_e("[popover]"), Combobox_esm_w = query_e("input"), Combobox_esm_E = state_r(), "label"), Combobox_esm_l = class extends WebComponent_esm_r {
|
|
24845
|
+
constructor(...e) {
|
|
24846
|
+
super(...e), Combobox_esm_A(this, Combobox_esm_u, (Combobox_esm_h(this), Combobox_esm_y(this, ""))), Combobox_esm_A(this, Combobox_esm_d, Combobox_esm_x(this, "")), Combobox_esm_A(this, Combobox_esm_f, Combobox_esm_C(this, null)), Combobox_esm_A(this, Combobox_esm_p, Combobox_esm_T(this, null)), Combobox_esm_A(this, Combobox_esm_m, Combobox_esm_D(this, "")), Combobox_esm_F(this, "inputId", `combobox-${ids_esm_e()}`);
|
|
24790
24847
|
}
|
|
24791
|
-
|
|
24792
|
-
|
|
24793
|
-
this._popupOpen = !0, this._updatePopupPosition(), this._activeIndex = keyboard_esm_r(e, this.value), this._activeIndex < 0 && (this._activeIndex = keyboard_esm_t(e));
|
|
24848
|
+
get [Combobox_esm_k]() {
|
|
24849
|
+
return Combobox_esm_N(Combobox_esm_u, this);
|
|
24794
24850
|
}
|
|
24795
|
-
|
|
24796
|
-
|
|
24851
|
+
set label(e) {
|
|
24852
|
+
Combobox_esm_M(Combobox_esm_u, this, e);
|
|
24797
24853
|
}
|
|
24798
|
-
|
|
24799
|
-
|
|
24800
|
-
let e = this.options.find((e) => e.value === this.value);
|
|
24801
|
-
e && this.inputValue !== e.label && (this.inputValue = e.label);
|
|
24802
|
-
}
|
|
24854
|
+
get value() {
|
|
24855
|
+
return Combobox_esm_N(Combobox_esm_d, this);
|
|
24803
24856
|
}
|
|
24804
|
-
|
|
24805
|
-
|
|
24857
|
+
set value(e) {
|
|
24858
|
+
Combobox_esm_M(Combobox_esm_d, this, e);
|
|
24806
24859
|
}
|
|
24807
|
-
|
|
24808
|
-
|
|
24809
|
-
return e >= 0 ? this.options[e] : this.options[0];
|
|
24860
|
+
get popoverElement() {
|
|
24861
|
+
return Combobox_esm_N(Combobox_esm_f, this);
|
|
24810
24862
|
}
|
|
24811
|
-
|
|
24812
|
-
|
|
24813
|
-
return e ? [e, ...this.options.filter((t) => t.value !== e.value)] : this.options;
|
|
24863
|
+
set popoverElement(e) {
|
|
24864
|
+
Combobox_esm_M(Combobox_esm_f, this, e);
|
|
24814
24865
|
}
|
|
24815
|
-
|
|
24816
|
-
|
|
24817
|
-
if (!(this._activeIndex < 0)) return e[this._activeIndex];
|
|
24866
|
+
get inputElement() {
|
|
24867
|
+
return Combobox_esm_N(Combobox_esm_p, this);
|
|
24818
24868
|
}
|
|
24819
|
-
|
|
24820
|
-
|
|
24821
|
-
|
|
24822
|
-
|
|
24823
|
-
|
|
24824
|
-
|
|
24825
|
-
|
|
24869
|
+
set inputElement(e) {
|
|
24870
|
+
Combobox_esm_M(Combobox_esm_p, this, e);
|
|
24871
|
+
}
|
|
24872
|
+
get filter() {
|
|
24873
|
+
return Combobox_esm_N(Combobox_esm_m, this);
|
|
24874
|
+
}
|
|
24875
|
+
set filter(e) {
|
|
24876
|
+
Combobox_esm_M(Combobox_esm_m, this, e);
|
|
24877
|
+
}
|
|
24878
|
+
render() {
|
|
24879
|
+
let e = this.getOptions().filter((e) => e.toLowerCase().includes(this.filter));
|
|
24880
|
+
return b`
|
|
24881
|
+
${this.label ? b`<label for="${this.inputId}">${this.label}</label>` : ""}
|
|
24882
|
+
<div class="input-wrapper">
|
|
24883
|
+
<input
|
|
24884
|
+
id="${this.inputId}"
|
|
24885
|
+
.value=${this.value}
|
|
24886
|
+
type="text"
|
|
24887
|
+
@keydown=${this.onInputKeyDown}
|
|
24888
|
+
@click=${this.onInputClick}
|
|
24889
|
+
@input=${this.onInputChange}
|
|
24890
|
+
/>
|
|
24891
|
+
<icon-lucide-chevron-down></icon-lucide-chevron-down>
|
|
24892
|
+
</div>
|
|
24893
|
+
<div role="listbox" aria-labelledby="${this.inputId}" popover>
|
|
24894
|
+
${e.map((e) => b`<div role="option" aria-selected="false" @click=${() => this.onOptionClick(e)}>${e}</div>`)}
|
|
24895
|
+
</div>
|
|
24896
|
+
`;
|
|
24897
|
+
}
|
|
24898
|
+
getOptions() {
|
|
24899
|
+
let e = this.querySelectorAll("solid-ui-combobox-option");
|
|
24900
|
+
return Array.from(e).map((e) => e.value);
|
|
24826
24901
|
}
|
|
24827
|
-
|
|
24828
|
-
|
|
24829
|
-
this.inputValue = t, this.value = "", this.dispatchEvent(new CustomEvent("input", {
|
|
24830
|
-
detail: { value: t },
|
|
24902
|
+
setValue(e) {
|
|
24903
|
+
this.filter = e.toLowerCase(), this.value = e, this.getInternals().setFormValue(e), this.dispatchEvent(new InputEvent("input", {
|
|
24831
24904
|
bubbles: !0,
|
|
24832
24905
|
composed: !0
|
|
24833
|
-
}))
|
|
24906
|
+
}));
|
|
24834
24907
|
}
|
|
24835
|
-
|
|
24836
|
-
|
|
24837
|
-
|
|
24838
|
-
|
|
24839
|
-
case "close":
|
|
24840
|
-
this._closePopup();
|
|
24908
|
+
onInputKeyDown(e) {
|
|
24909
|
+
switch (e.key) {
|
|
24910
|
+
case "ArrowDown":
|
|
24911
|
+
e.preventDefault(), this.popoverElement?.showPopover();
|
|
24841
24912
|
break;
|
|
24842
|
-
case "
|
|
24843
|
-
this.
|
|
24913
|
+
case "Enter":
|
|
24914
|
+
this.popoverElement?.matches(":popover-open") || (e.preventDefault(), this.getInternals().form?.requestSubmit());
|
|
24844
24915
|
break;
|
|
24845
|
-
case "last":
|
|
24846
|
-
this._popupOpen || this._openPopup(), this._activeIndex = keyboard_esm_n(t);
|
|
24847
|
-
break;
|
|
24848
|
-
case "next":
|
|
24849
|
-
if (!this._popupOpen) {
|
|
24850
|
-
this._openPopup();
|
|
24851
|
-
break;
|
|
24852
|
-
}
|
|
24853
|
-
this._activeIndex = keyboard_esm_e(this._activeIndex, t, 1);
|
|
24854
|
-
break;
|
|
24855
|
-
case "previous":
|
|
24856
|
-
if (!this._popupOpen) {
|
|
24857
|
-
this._openPopup();
|
|
24858
|
-
break;
|
|
24859
|
-
}
|
|
24860
|
-
this._activeIndex = keyboard_esm_e(this._activeIndex, t, -1);
|
|
24861
|
-
break;
|
|
24862
|
-
case "select":
|
|
24863
|
-
if (!this._popupOpen) {
|
|
24864
|
-
this._openPopup();
|
|
24865
|
-
break;
|
|
24866
|
-
}
|
|
24867
|
-
this._selectActiveOption();
|
|
24868
|
-
break;
|
|
24869
|
-
default: break;
|
|
24870
24916
|
}
|
|
24871
24917
|
}
|
|
24872
|
-
|
|
24873
|
-
|
|
24874
|
-
}
|
|
24875
|
-
_selectValueFromDropdown(e) {
|
|
24876
|
-
let t = this.options.find((t) => t.value === e);
|
|
24877
|
-
this.value = e, this.inputValue = t?.label ?? e, this.dispatchEvent(new CustomEvent("change", {
|
|
24878
|
-
detail: {
|
|
24879
|
-
value: e,
|
|
24880
|
-
label: this.inputValue,
|
|
24881
|
-
option: t
|
|
24882
|
-
},
|
|
24883
|
-
bubbles: !0,
|
|
24884
|
-
composed: !0
|
|
24885
|
-
})), this._closePopup();
|
|
24918
|
+
onInputClick(e) {
|
|
24919
|
+
e.preventDefault(), this.popoverElement?.showPopover();
|
|
24886
24920
|
}
|
|
24887
|
-
|
|
24888
|
-
|
|
24889
|
-
e && !e.disabled && this._selectValueFromDropdown(e.value);
|
|
24921
|
+
onInputChange() {
|
|
24922
|
+
this.setValue(this.inputElement?.value ?? "");
|
|
24890
24923
|
}
|
|
24891
|
-
|
|
24892
|
-
|
|
24893
|
-
return b`
|
|
24894
|
-
<div class="popup-box" style="pointer-events: auto; max-height: inherit; overflow: auto;">
|
|
24895
|
-
<div class="select-options-section">
|
|
24896
|
-
${listboxTemplate_esm_t({
|
|
24897
|
-
selectedOption: this._getSelectedOption(),
|
|
24898
|
-
activeOption: this._activeIndex >= 0 ? e[this._activeIndex] : void 0,
|
|
24899
|
-
options: e,
|
|
24900
|
-
listboxId: this._listboxId,
|
|
24901
|
-
getOptionId: (e, t) => this._getOptionId(e, t),
|
|
24902
|
-
onOptionSelect: (e) => this._selectValueFromDropdown(e.value)
|
|
24903
|
-
})}
|
|
24904
|
-
</div>
|
|
24905
|
-
</div>
|
|
24906
|
-
`;
|
|
24924
|
+
onOptionClick(e) {
|
|
24925
|
+
this.setValue(e), this.popoverElement?.hidePopover();
|
|
24907
24926
|
}
|
|
24908
|
-
|
|
24909
|
-
|
|
24910
|
-
|
|
24911
|
-
|
|
24912
|
-
|
|
24913
|
-
|
|
24914
|
-
|
|
24915
|
-
|
|
24916
|
-
|
|
24917
|
-
|
|
24918
|
-
|
|
24919
|
-
|
|
24920
|
-
|
|
24921
|
-
|
|
24922
|
-
|
|
24923
|
-
|
|
24924
|
-
|
|
24925
|
-
|
|
24926
|
-
|
|
24927
|
-
|
|
24928
|
-
|
|
24929
|
-
|
|
24930
|
-
|
|
24931
|
-
|
|
24932
|
-
|
|
24933
|
-
|
|
24934
|
-
|
|
24935
|
-
|
|
24936
|
-
|
|
24937
|
-
>
|
|
24938
|
-
${downArrow_esm_t}
|
|
24939
|
-
</button>
|
|
24940
|
-
</div>
|
|
24941
|
-
</div>
|
|
24942
|
-
`;
|
|
24927
|
+
}, {e: [Combobox_esm_y, Combobox_esm_x, Combobox_esm_C, Combobox_esm_T, Combobox_esm_D, Combobox_esm_h], c: [Combobox_esm_H, Combobox_esm_g]} = Combobox_esm_I(Combobox_esm_l, [
|
|
24928
|
+
[
|
|
24929
|
+
Combobox_esm_v,
|
|
24930
|
+
1,
|
|
24931
|
+
"label"
|
|
24932
|
+
],
|
|
24933
|
+
[
|
|
24934
|
+
Combobox_esm_b,
|
|
24935
|
+
1,
|
|
24936
|
+
"value"
|
|
24937
|
+
],
|
|
24938
|
+
[
|
|
24939
|
+
Combobox_esm_S,
|
|
24940
|
+
1,
|
|
24941
|
+
"popoverElement"
|
|
24942
|
+
],
|
|
24943
|
+
[
|
|
24944
|
+
Combobox_esm_w,
|
|
24945
|
+
1,
|
|
24946
|
+
"inputElement"
|
|
24947
|
+
],
|
|
24948
|
+
[
|
|
24949
|
+
Combobox_esm_E,
|
|
24950
|
+
1,
|
|
24951
|
+
"filter"
|
|
24952
|
+
]
|
|
24953
|
+
], Combobox_esm_, 0, void 0, WebComponent_esm_r), Combobox_esm_l), Combobox_esm_c = class extends Combobox_esm_V {
|
|
24954
|
+
constructor() {
|
|
24955
|
+
super(Combobox_esm_H), Combobox_esm_F(this, "styles", Combobox_styles_esm_t), Combobox_esm_F(this, "formAssociated", !0), Combobox_esm_g();
|
|
24943
24956
|
}
|
|
24944
|
-
};
|
|
24957
|
+
}, Combobox_esm_F(Combobox_esm_c, Combobox_esm_O, void 0), Combobox_esm_c)();
|
|
24945
24958
|
//#endregion
|
|
24946
24959
|
|
|
24947
24960
|
|
|
24948
24961
|
//# sourceMappingURL=Combobox.esm.js.map
|
|
24949
|
-
;// ./node_modules/solid-ui/dist/v2/components/forms/combobox/index.esm.js
|
|
24950
|
-
|
|
24951
|
-
//#region src/v2/components/forms/combobox/index.ts
|
|
24952
|
-
var combobox_index_esm_t = "solid-ui-combobox";
|
|
24953
|
-
customElements.get(combobox_index_esm_t) || customElements.define(combobox_index_esm_t, Combobox_esm_p);
|
|
24954
|
-
//#endregion
|
|
24955
|
-
|
|
24956
|
-
//# sourceMappingURL=index.esm.js.map
|
|
24957
24962
|
;// ./node_modules/solid-ui/dist/components/combobox/index.esm.js
|
|
24963
|
+
/* unused harmony import specifier */ var index_esm_e;
|
|
24958
24964
|
|
|
24965
|
+
//#region src/components/combobox/index.ts
|
|
24966
|
+
var combobox_index_esm_t = (/* unused pure expression or super */ null && (index_esm_e));
|
|
24967
|
+
//#endregion
|
|
24959
24968
|
|
|
24960
24969
|
|
|
24961
|
-
|
|
24970
|
+
//# sourceMappingURL=index.esm.js.map
|
|
24962
24971
|
;// ./src/sections/languages/mutations.ts
|
|
24963
24972
|
|
|
24964
24973
|
|