@usecapsule/core-components 3.4.0-dev.0 → 3.4.0-dev.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/p-9e64a60e.entry.js +2 -0
- package/dist/capsule/p-9e64a60e.entry.js.map +1 -0
- package/dist/capsule/p-afbb1e6f.entry.js +20 -0
- package/dist/capsule/p-afbb1e6f.entry.js.map +1 -0
- package/dist/capsule/{p-32cdf894.entry.js → p-b96e357a.entry.js} +2 -2
- package/dist/capsule/p-b96e357a.entry.js.map +1 -0
- package/dist/capsule/p-cfc382c0.entry.js +2 -0
- package/dist/capsule/{p-de2a16e4.entry.js → p-d165df27.entry.js} +2 -2
- package/dist/capsule/{p-41bc3c58.entry.js → p-f0cd0482.entry.js} +2 -2
- package/dist/cjs/capsule.cjs.js +1 -1
- package/dist/cjs/cpsl-alert_34.cjs.entry.js +72 -63
- package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-col.cjs.entry.js +1 -1
- package/dist/cjs/cpsl-grid.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-hero.cjs.entry.js +4 -3
- package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-nav-button.cjs.entry.js +40 -0
- package/dist/cjs/cpsl-nav-button.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
- package/dist/cjs/index-65f57499.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/icons/folder.svg +5 -0
- package/dist/collection/assets/icons/hero-plus-circle-capsule.svg +14 -0
- package/dist/collection/assets/icons/hero-plus-circle.svg +7 -0
- package/dist/collection/assets/icons/index.js +4 -1
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/plus-circle.svg +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +1 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.js +44 -104
- package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +3 -3
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.js +2 -2
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
- package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +2 -2
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +1 -1
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-hero/cpsl-hero.css +29 -2
- package/dist/collection/components/cpsl-hero/cpsl-hero.js +6 -5
- package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.js +1 -1
- package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.css +107 -0
- package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js +175 -0
- package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js.map +1 -0
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.css +0 -42
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +2 -50
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +2 -2
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
- package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.js +2 -2
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.js +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/esm/capsule.js +1 -1
- package/dist/esm/cpsl-alert_34.entry.js +72 -63
- package/dist/esm/cpsl-alert_34.entry.js.map +1 -1
- package/dist/esm/cpsl-col.entry.js +1 -1
- package/dist/esm/cpsl-grid.entry.js +2 -2
- package/dist/esm/cpsl-hero.entry.js +4 -3
- package/dist/esm/cpsl-hero.entry.js.map +1 -1
- package/dist/esm/cpsl-nav-button.entry.js +36 -0
- package/dist/esm/cpsl-nav-button.entry.js.map +1 -0
- package/dist/esm/cpsl-row.entry.js +1 -1
- package/dist/esm/index-91db3414.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/assets/icons/index.d.ts +3 -0
- package/dist/types/components/cpsl-animation/cpsl-animation.d.ts +0 -15
- package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +2 -2
- package/dist/types/components/cpsl-nav-button/cpsl-nav-button.d.ts +43 -0
- package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +0 -6
- package/dist/types/components.d.ts +85 -33
- package/package.json +1 -1
- package/dist/capsule/p-0e558c7f.entry.js +0 -10
- package/dist/capsule/p-0e558c7f.entry.js.map +0 -1
- package/dist/capsule/p-0e6007ae.entry.js +0 -20
- package/dist/capsule/p-0e6007ae.entry.js.map +0 -1
- package/dist/capsule/p-32cdf894.entry.js.map +0 -1
- package/dist/capsule/p-3b042fd1.entry.js +0 -2
- package/dist/cjs/cpsl-animation.cjs.entry.js +0 -20133
- package/dist/cjs/cpsl-animation.cjs.entry.js.map +0 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.css +0 -17
- package/dist/esm/cpsl-animation.entry.js +0 -20129
- package/dist/esm/cpsl-animation.entry.js.map +0 -1
- /package/dist/capsule/{p-3b042fd1.entry.js.map → p-cfc382c0.entry.js.map} +0 -0
- /package/dist/capsule/{p-de2a16e4.entry.js.map → p-d165df27.entry.js.map} +0 -0
- /package/dist/capsule/{p-41bc3c58.entry.js.map → p-f0cd0482.entry.js.map} +0 -0
package/dist/cjs/capsule.cjs.js
CHANGED
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
19
19
|
|
20
20
|
patchBrowser().then(async (options) => {
|
21
21
|
await appGlobals.globalScripts();
|
22
|
-
return index.bootstrapLazy([["cpsl-hero.cjs",[[1,"cpsl-hero",{"height":[2],"hideFadeOut":[4,"hide-fade-out"],"variant":[513],"title":[513],"subtitle":[513],"withDefaultTheme":[4,"with-default-theme"]}]]],["cpsl-modal-v2.cjs",[[1,"cpsl-modal-v2",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"elevated":[4],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}]]],["cpsl-
|
22
|
+
return index.bootstrapLazy([["cpsl-hero.cjs",[[1,"cpsl-hero",{"height":[2],"hideFadeOut":[4,"hide-fade-out"],"variant":[513],"title":[513],"subtitle":[513],"withDefaultTheme":[4,"with-default-theme"]}]]],["cpsl-modal-v2.cjs",[[1,"cpsl-modal-v2",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"elevated":[4],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}]]],["cpsl-nav-button.cjs",[[1,"cpsl-nav-button",{"disabled":[516],"exactMainRouteMatch":[4,"exact-main-route-match"],"exactSubRouteMatch":[4,"exact-sub-route-match"],"route":[1],"subRoutes":[16],"path":[1]}]]],["cpsl-col.cjs",[[1,"cpsl-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]]]],["cpsl-grid.cjs",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-identicon.cjs",[[1,"cpsl-identicon",{"hash":[1],"size":[2]}]]],["cpsl-info-box.cjs",[[1,"cpsl-info-box"]]],["cpsl-row.cjs",[[1,"cpsl-row"]]],["cpsl-alert_34.cjs",[[1,"cpsl-pagination",{"initialPage":[2,"initial-page"],"totalPages":[2,"total-pages"],"visiblePages":[1026,"visible-pages"],"currentPage":[32]},null,{"currentPage":["watchChange"]}],[1,"cpsl-select",{"anchorElId":[1,"anchor-el-id"],"autoWidth":[4,"auto-width"],"disabled":[4],"dropdownMaxHeight":[2,"dropdown-max-height"],"errorText":[1,"error-text"],"formatValue":[16],"helperText":[1,"helper-text"],"id":[1],"label":[1],"placeholder":[1],"required":[4],"selectedValue":[1,"selected-value"],"showFormattedSelectedItem":[4,"show-formatted-selected-item"],"showOptionalLabel":[4,"show-optional-label"],"showSearch":[4,"show-search"],"searchPlaceholder":[1,"search-placeholder"],"anchorEl":[32],"hasFocus":[32],"popoverOpen":[32],"hasSelectedItem":[32]},[[0,"cpslSelectItemClick","selectItemClickHandler"],[0,"cpslOpen","onPopoverOpen"],[0,"cpslClose","onPopoverClose"]],{"selectedValue":["onValueChange","handleValueChange"]}],[1,"cpsl-file-upload",{"errorText":[1,"error-text"],"externalFilename":[1,"external-filename"],"externalSrc":[1,"external-src"],"fileTypes":[16],"helperText":[1,"helper-text"],"label":[1],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"uploadFile":[16],"file":[32],"dragOver":[32],"dragError":[32],"isUploading":[32],"uploadError":[32]}],[1,"cpsl-auth-modal",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"noOverlay":[4,"no-overlay"],"open":[4],"zIndexOverride":[2,"z-index-override"],"hasFooter":[32],"isMobile":[32]},null,{"open":["toggleModal"]}],[1,"cpsl-alert",{"icon":[1],"variant":[1]}],[1,"cpsl-checkbox",{"checked":[4]}],[1,"cpsl-code-input",{"code":[1025],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"length":[2],"type":[1]}],[1,"cpsl-drawer",{"anchor":[1],"anchorPosition":[2,"anchor-position"],"noOverlay":[4,"no-overlay"],"open":[4],"size":[8],"transitionDuration":[2,"transition-duration"],"transitionFunction":[1,"transition-function"],"variant":[1],"zIndexOverride":[2,"z-index-override"],"closedAnchorPosition":[32],"showTransition":[32]}],[1,"cpsl-icon-group",{"expandFrom":[1,"expand-from"],"disabled":[4],"icons":[16],"isHovered":[32]}],[1,"cpsl-slide-button",{"disabled":[4],"endIcon":[1,"end-icon"],"endText":[1,"end-text"],"startIcon":[1,"start-icon"],"startText":[1,"start-text"]}],[1,"cpsl-table",{"hasHorizontalScroll":[32],"hasVerticalScroll":[32]}],[1,"cpsl-tile-button",{"src":[1],"icon":[1]}],[1,"cpsl-app-bar",{"height":[2],"position":[1],"zIndexOverride":[2,"z-index-override"]}],[1,"cpsl-avatar",{"alt":[1],"src":[1],"variant":[1]}],[1,"cpsl-divider"],[1,"cpsl-dropdown",{"width":[1],"hasCpslSearch":[4,"has-cpsl-search"],"items":[16],"selectedItem":[1040],"isOpen":[32],"searchQuery":[32],"filteredItems":[32]},[[9,"resize","handleResize"]],{"selectedItem":["handleSelectedItemChange"],"isOpen":["handleOpenChange"]}],[1,"cpsl-nav-button-group"],[1,"cpsl-pill",{"text":[1]}],[1,"cpsl-progress-indicator",{"totalSteps":[2,"total-steps"],"step":[2]}],[1,"cpsl-qr-code",{"url":[1],"imageSrc":[1,"image-src"],"size":[2]}],[1,"cpsl-radio",{"checked":[4]}],[1,"cpsl-select-item",{"selected":[4],"value":[1]}],[1,"cpsl-switch",{"checked":[4]}],[1,"cpsl-tab",{"selected":[4],"tab":[1]},[[8,"cpslTabsChanged","onTabsChanged"],[8,"cpslTabsInit","onTabsInit"]]],[1,"cpsl-tabs",{"fullWidth":[4,"full-width"],"selectedTab":[1,"selected-tab"],"selectedTabRect":[32],"loaded":[32]},null,{"fullWidth":["updateSlider"],"selectedTab":["updateTab"]}],[1,"cpsl-button-group",{"selectedId":[1,"selected-id"]},null,{"selectedId":["selectItem"]}],[1,"cpsl-input",{"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"noAutoDisable":[4,"no-auto-disable"],"autofocus":[4],"disabled":[4],"contrastText":[4,"contrast-text"],"enterkeyhint":[1],"errorText":[1,"error-text"],"mask":[1],"helperText":[1,"helper-text"],"inputmode":[1],"label":[1],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"showOptionalLabel":[4,"show-optional-label"],"spellcheck":[4],"startIconSrc":[1,"start-icon-src"],"startIcon":[1,"start-icon"],"step":[1],"type":[1],"value":[1025],"hasFocus":[32],"maskedInput":[32]},null,{"disabled":["handleDisable"],"mask":["handleSetupMask"],"value":["handleValueChange"]}],[1,"cpsl-popover",{"anchorEl":[16],"anchorOriginHorizontal":[1,"anchor-origin-horizontal"],"anchorOriginVertical":[1,"anchor-origin-vertical"],"autoWidth":[4,"auto-width"],"disabled":[4],"preventBlur":[4,"prevent-blur"],"transformOriginHorizontal":[1,"transform-origin-horizontal"],"transformOriginVertical":[1,"transform-origin-vertical"],"triggerAction":[1,"trigger-action"],"trigger":[1],"windowPadding":[2,"window-padding"],"open":[32],"positionX":[32],"positionY":[32],"closePopover":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"preventBlur":["onTriggerChange"],"anchorOriginHorizontal":["onAnchorChange"],"anchorOriginVertical":["onAnchorChange"],"open":["onOpenChange"]}],[1,"cpsl-spinner",{"size":[2],"speed":[2]}],[1,"cpsl-button",{"as":[1],"disabled":[516],"fullWidth":[4,"full-width"],"href":[1],"size":[1],"target":[1],"variant":[513]}],[1,"cpsl-card"],[1,"cpsl-overlay",{"enterTransitionDuration":[2,"enter-transition-duration"],"exitTransitionDuration":[2,"exit-transition-duration"],"open":[4],"zIndexOverride":[2,"z-index-override"]},null,{"open":["toggleHeight"]}],[1,"cpsl-text",{"color":[1],"variant":[1],"weight":[1]}],[1,"cpsl-icon",{"src":[1],"icon":[1]}]]]], options);
|
23
23
|
});
|
24
24
|
|
25
25
|
exports.setNonce = index.setNonce;
|
@@ -48,13 +48,13 @@ const CpslAppBar = class {
|
|
48
48
|
this.zIndexOverride = undefined;
|
49
49
|
}
|
50
50
|
render() {
|
51
|
-
return (index.h(index.Host, { key: '
|
51
|
+
return (index.h(index.Host, { key: '83a5677faca53632275d65da790b0d2fcffcb6d7', style: Object.assign({
|
52
52
|
// position: this.position,
|
53
53
|
height: `${this.height}px`
|
54
|
-
}, (this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {})) }, index.h("div", { key: '
|
54
|
+
}, (this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {})) }, index.h("div", { key: '6c84c5f229abbb608009feb4af18462bb0713ee3', class: "container", part: "container", style: {
|
55
55
|
position: this.position,
|
56
56
|
height: `${this.height}px`,
|
57
|
-
} }, index.h("slot", { key: '
|
57
|
+
} }, index.h("slot", { key: '9f80782cbbe90f0ec27f9185abacddf4de994609' })), this.position === 'fixed' && (index.h("div", { key: '2ceae0a6a31428ec19310a6bd77573c1577832da', style: {
|
58
58
|
height: `${this.height}px`,
|
59
59
|
} }))));
|
60
60
|
}
|
@@ -6262,7 +6262,7 @@ const CpslAvatar = class {
|
|
6262
6262
|
}
|
6263
6263
|
render() {
|
6264
6264
|
var _a;
|
6265
|
-
return (index.h(index.Host, { key: '
|
6265
|
+
return (index.h(index.Host, { key: 'c148e7d268c681fa6a7273c109b9ab418f433c24' }, index.h("span", { key: 'd1f977ab0c5d6f6758f84fb33ed9e72d9a1270c9', class: { round: this.variant === 'round' } }, index.h("img", { key: '3a13f96266ee6476df2154a09b433dcf7ba44daf', src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : 'avatar' }))));
|
6266
6266
|
}
|
6267
6267
|
};
|
6268
6268
|
CpslAvatar.style = CpslAvatarStyle0;
|
@@ -6282,7 +6282,7 @@ const CpslButton = class {
|
|
6282
6282
|
this.variant = 'primary';
|
6283
6283
|
}
|
6284
6284
|
render() {
|
6285
|
-
return (index.h(index.Host, { key: '
|
6285
|
+
return (index.h(index.Host, { key: '7e2466e0d35b2b63bb487ff71412c48cafd57245', class: {
|
6286
6286
|
// VARIANTS
|
6287
6287
|
'primary': this.variant === 'primary',
|
6288
6288
|
'secondary': this.variant === 'secondary',
|
@@ -6295,7 +6295,7 @@ const CpslButton = class {
|
|
6295
6295
|
// SIZES
|
6296
6296
|
'small': this.size === 'small',
|
6297
6297
|
'medium': this.size === 'medium',
|
6298
|
-
} }, index.h(this.as, { key: '
|
6298
|
+
} }, index.h(this.as, { key: 'a514f7924302ed63f1a74299b637e177f796c009', href: this.href, target: this.target, part: "button-native", class: "button-native" }, index.h("slot", { key: '995350d0172d2335cfc40884b9940d49227c9ef3', name: "start" }), index.h("slot", { key: '495e18db74d18ffc746509ec63abc0a5f4240928' }), index.h("slot", { key: '4abf7e19b89214abe3198fcf28126aff695d5b7d', name: "end" }))));
|
6299
6299
|
}
|
6300
6300
|
};
|
6301
6301
|
CpslButton.style = CpslButtonStyle0;
|
@@ -6337,7 +6337,7 @@ const CpslButtonGroup = class {
|
|
6337
6337
|
return this.el.querySelectorAll('&> *:not(cpsl-button)');
|
6338
6338
|
}
|
6339
6339
|
render() {
|
6340
|
-
return (index.h(index.Host, { key: '
|
6340
|
+
return (index.h(index.Host, { key: '4989ccaf19a47fe6e2847d102380a9deac394c0b' }, index.h("slot", { key: '06c97fd600969c0b136a5a56a2894f40d58119ef' })));
|
6341
6341
|
}
|
6342
6342
|
get el() { return index.getElement(this); }
|
6343
6343
|
static get watchers() { return {
|
@@ -6354,7 +6354,7 @@ const CpslCard = class {
|
|
6354
6354
|
index.registerInstance(this, hostRef);
|
6355
6355
|
}
|
6356
6356
|
render() {
|
6357
|
-
return (index.h(index.Host, { key: '
|
6357
|
+
return (index.h(index.Host, { key: '8633aeaedaaf81af67835ee3ffc8964ec28ced92' }, index.h("div", { key: '432fabd329701f8ef51fc43ba0ca8af3d5182a47', class: { card: true }, part: "card-container" }, index.h("slot", { key: 'a23d1063d0a1c74ebc076fc67b63c4023f7f8565' }))));
|
6358
6358
|
}
|
6359
6359
|
};
|
6360
6360
|
CpslCard.style = CpslCardStyle0;
|
@@ -6372,7 +6372,7 @@ const CpslCheckbox = class {
|
|
6372
6372
|
this.checked = undefined;
|
6373
6373
|
}
|
6374
6374
|
render() {
|
6375
|
-
return (index.h(index.Host, { key: '
|
6375
|
+
return (index.h(index.Host, { key: 'b5d7963285854a20983f8655c8a9545b8d0735e9' }, index.h("input", { key: 'b822a505e826f06d47f1da51fff0c7f310d9c9ce', type: "checkbox", checked: this.checked }), index.h("span", { key: '3747cf548b8d88ceee19eae5c1df78cdc5f9c87e', onClick: this.handleCheckboxClick, class: { container: true, checked: this.checked } }, index.h("cpsl-icon", { key: '9d5d0cdba4b22bc2167aed23e7748201320a6553', icon: "check" }))));
|
6376
6376
|
}
|
6377
6377
|
};
|
6378
6378
|
CpslCheckbox.style = CpslCheckboxStyle0;
|
@@ -6473,10 +6473,10 @@ const CpslCodeInput = class {
|
|
6473
6473
|
}
|
6474
6474
|
render() {
|
6475
6475
|
var _a;
|
6476
|
-
return (index.h(index.Host, { key: '
|
6476
|
+
return (index.h(index.Host, { key: '3891d4e998fa56683fc45b4611c68689f2142e52' }, index.h("div", { key: '2180ef9e96ce1367998cd085219e0cc7fd09a753', class: "code-container" }, new Array(this.length).fill(0).map((_, i) => {
|
6477
6477
|
var _a, _b;
|
6478
6478
|
return (index.h("input", { class: { 'code-input': true, 'error': Boolean(this.errorText), 'has-value': ((_a = this.code) === null || _a === void 0 ? void 0 : _a[i]) !== undefined }, id: `code-input-${i}`, onKeyDown: ev => this.handleKeyDown(i, ev), onInput: ev => this.handleInput(i, ev), onFocus: () => this.handleFocus(i), onPaste: this.handlePaste, min: 0, max: 9, value: (_b = this.code) === null || _b === void 0 ? void 0 : _b[i], inputMode: this.type === 'number' ? 'numeric' : 'text' }));
|
6479
|
-
})), (this.errorText || this.helperText) && (index.h("div", { key: '
|
6479
|
+
})), (this.errorText || this.helperText) && (index.h("div", { key: '9aa97b8ecdc5c7a53aea740146aa6bd526a7f636', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, index.h("cpsl-icon", { key: '02bd4abe94e8e79efd9b3179d6b4513d1aad877b', icon: this.errorText ? 'alertCircle' : 'infoCircle' }), index.h("span", { key: '34f4b082e07315f6fdfad340cf69dbaa6d183339' }, (_a = this.errorText) !== null && _a !== void 0 ? _a : this.helperText)))));
|
6480
6480
|
}
|
6481
6481
|
get el() { return index.getElement(this); }
|
6482
6482
|
};
|
@@ -6490,7 +6490,7 @@ const CpslDivider = class {
|
|
6490
6490
|
index.registerInstance(this, hostRef);
|
6491
6491
|
}
|
6492
6492
|
render() {
|
6493
|
-
return (index.h(index.Host, { key: '
|
6493
|
+
return (index.h(index.Host, { key: 'a6b948fec22a99aa7f247a405f770addccd5ef7c' }, index.h("div", { key: '2c1090ed0e114b90331fc227fe6c2cafee5a9b31' }), index.h("slot", { key: '60c4412abf216c23c3649f16792afe63e84387f3' }), index.h("div", { key: 'aa6fdddc51a03a6e36b262402fcb059a7e35ba57' })));
|
6494
6494
|
}
|
6495
6495
|
};
|
6496
6496
|
CpslDivider.style = CpslDividerStyle0;
|
@@ -6532,12 +6532,12 @@ const CpslDrawer = class {
|
|
6532
6532
|
const setHeight = this.anchor === 'top' || this.anchor === 'bottom';
|
6533
6533
|
const startingAnchor = (_a = `${this.anchorPosition}px`) !== null && _a !== void 0 ? _a : '0px';
|
6534
6534
|
const size = this.size === 'auto' ? 'auto' : `${this.size}px`;
|
6535
|
-
return (index.h(index.Host, { key: '
|
6535
|
+
return (index.h(index.Host, { key: 'ef38766c4e22cdb6496bf62611215ce7fbc8abc1', style: Object.assign({ width: setHeight ? '100vw' : size, height: setHeight ? size : '100vh', transitionDuration: `${this.showTransition ? this.transitionDuration : 0}s`, transitionTimingFunction: `${this.transitionFunction}`, [this.anchor]: this.open || this.variant === 'permanent' ? startingAnchor : this.closedAnchorPosition, opacity: this.closedAnchorPosition === undefined ? '0' : '1' }, (this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {})), class: {
|
6536
6536
|
top: this.anchor === 'top',
|
6537
6537
|
bottom: this.anchor === 'bottom',
|
6538
6538
|
left: this.anchor === 'left',
|
6539
6539
|
right: this.anchor === 'right',
|
6540
|
-
} }, this.variant === 'temporary' && !this.noOverlay && index.h("cpsl-overlay", { key: '
|
6540
|
+
} }, this.variant === 'temporary' && !this.noOverlay && index.h("cpsl-overlay", { key: '7aa68b6104536d6fb29164c396179aa4f287ce97', open: this.open, zIndexOverride: constants.DEFAULT_Z_INDICES.modal + 1 }), index.h("div", { key: '5049fe95873339bb4877728c49e0eda4d3158397', id: "container", class: "container", part: "container" }, index.h("slot", { key: 'c6d76fa8b8e47828c472ed9b876faf49c68a8a29' }))));
|
6541
6541
|
}
|
6542
6542
|
get el() { return index.getElement(this); }
|
6543
6543
|
};
|
@@ -6891,6 +6891,13 @@ const File = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke
|
|
6891
6891
|
</svg>
|
6892
6892
|
`;
|
6893
6893
|
|
6894
|
+
const Folder = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6895
|
+
<g id="folder">
|
6896
|
+
<path id="Icon" d="M13 7L11.8845 4.76892C11.5634 4.1268 11.4029 3.80573 11.1634 3.57116C10.9516 3.36373 10.6963 3.20597 10.4161 3.10931C10.0992 3 9.74021 3 9.02229 3H5.2C4.0799 3 3.51984 3 3.09202 3.21799C2.71569 3.40973 2.40973 3.71569 2.21799 4.09202C2 4.51984 2 5.0799 2 6.2V7M2 7H17.2C18.8802 7 19.7202 7 20.362 7.32698C20.9265 7.6146 21.3854 8.07354 21.673 8.63803C22 9.27976 22 10.1198 22 11.8V16.2C22 17.8802 22 18.7202 21.673 19.362C21.3854 19.9265 20.9265 20.3854 20.362 20.673C19.7202 21 18.8802 21 17.2 21H6.8C5.11984 21 4.27976 21 3.63803 20.673C3.07354 20.3854 2.6146 19.9265 2.32698 19.362C2 18.7202 2 17.8802 2 16.2V7Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
6897
|
+
</g>
|
6898
|
+
</svg>
|
6899
|
+
`;
|
6900
|
+
|
6894
6901
|
const GithubBrand = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6895
6902
|
<g clip-path="url(#clip0_106_21439)">
|
6896
6903
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C5.3724 0 0 5.3808 0 12.0204C0 17.3304 3.438 21.8364 8.2068 23.4252C8.8068 23.5356 9.0252 23.1648 9.0252 22.8456C9.0252 22.5612 9.0156 21.804 9.0096 20.802C5.6712 21.528 4.9668 19.1904 4.9668 19.1904C4.422 17.8008 3.6348 17.4312 3.6348 17.4312C2.5452 16.6872 3.7176 16.7016 3.7176 16.7016C4.9212 16.7856 5.5548 17.94 5.5548 17.94C6.6252 19.776 8.364 19.2456 9.0468 18.9384C9.1572 18.162 9.4668 17.6328 9.81 17.3328C7.146 17.0292 4.344 15.9972 4.344 11.3916C4.344 10.08 4.812 9.006 5.5788 8.166C5.4552 7.8624 5.0436 6.6396 5.6964 4.986C5.6964 4.986 6.7044 4.662 8.9964 6.2172C9.97532 5.95022 10.9853 5.81423 12 5.8128C13.02 5.8176 14.046 5.9508 15.0048 6.2172C17.2956 4.662 18.3012 4.9848 18.3012 4.9848C18.9564 6.6396 18.5436 7.8624 18.4212 8.166C19.1892 9.006 19.6548 10.08 19.6548 11.3916C19.6548 16.0092 16.848 17.0256 14.1756 17.3232C14.6064 17.694 14.9892 18.4272 14.9892 19.5492C14.9892 21.1548 14.9748 22.452 14.9748 22.8456C14.9748 23.1672 15.1908 23.5416 15.8004 23.424C18.19 22.6225 20.2672 21.0904 21.7386 19.0441C23.2099 16.9977 24.001 14.5408 24 12.0204C24 5.3808 18.6264 0 12 0Z" fill="black"/>
|
@@ -7081,6 +7088,31 @@ const HeroPhone = `<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64
|
|
7081
7088
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.4926 43.1833C20.5226 45.1038 20.5531 47.0627 21.7452 48.2548C22.9262 49.4358 24.8301 49.4619 26.7257 49.4878C28.0958 49.5065 29.4616 49.5252 30.5471 49.9798C31.6354 50.4356 32.6376 51.3961 33.6394 52.356C35.0193 53.6785 36.3983 55 38 55C39.6123 55 41.029 53.6459 42.4256 52.311C43.4236 51.3571 44.4114 50.413 45.4529 49.9798C46.4877 49.5494 47.8259 49.5285 49.1833 49.5074C51.1038 49.4774 53.0627 49.4469 54.2548 48.2548C55.4358 47.0738 55.4619 45.1699 55.4878 43.2743C55.5065 41.9042 55.5252 40.5384 55.9798 39.4529C56.4356 38.3646 57.3961 37.3624 58.356 36.3606C59.6785 34.9807 61 33.6017 61 32C61 30.3877 59.6459 28.971 58.311 27.5744C57.3571 26.5764 56.413 25.5886 55.9798 24.5471C55.5494 23.5123 55.5285 22.1741 55.5074 20.8167C55.4774 18.8962 55.4469 16.9373 54.2548 15.7452C53.0738 14.5642 51.1699 14.5381 49.2743 14.5122C47.9042 14.4935 46.5384 14.4748 45.4529 14.0202C44.3646 13.5644 43.3624 12.6039 42.3606 11.644C40.9807 10.3215 39.6017 9 38 9C36.3877 9 34.971 10.3541 33.5744 11.689C32.5764 12.6429 31.5886 13.587 30.5471 14.0202C29.5123 14.4506 28.1741 14.4715 26.8167 14.4926C24.8962 14.5226 22.9373 14.5531 21.7452 15.7452C20.5642 16.9262 20.5381 18.8301 20.5122 20.7257C20.4935 22.0958 20.4748 23.4616 20.0202 24.5471C19.5644 25.6354 18.6039 26.6376 17.644 27.6394C16.3215 29.0193 15 30.3983 15 32C15 33.6123 16.3541 35.029 17.689 36.4256C18.6429 37.4236 19.587 38.4114 20.0202 39.4529C20.4506 40.4877 20.4715 41.8259 20.4926 43.1833ZM49.4549 28.4995C50.453 27.5473 50.4902 25.9663 49.538 24.9682C48.5858 23.9701 47.0048 23.9329 46.0067 24.8851L34.7505 35.6235L29.9949 31.0788C28.9976 30.1258 27.4165 30.1617 26.4635 31.159C25.5104 32.1563 25.5463 33.7373 26.5436 34.6904L33.0234 40.8827C33.9882 41.8047 35.5075 41.8054 36.4732 40.8842L49.4549 28.4995Z" class="foreground-0" opacity="0.95"/>
|
7082
7089
|
</svg>`;
|
7083
7090
|
|
7091
|
+
const HeroPlusCircleCapsule = `<svg width="40" height="41" viewBox="0 0 40 41" fill="none" xmlns="http://www.w3.org/2000/svg">
|
7092
|
+
<g id="plus-circle">
|
7093
|
+
<g id="Icon">
|
7094
|
+
<path d="M19.9999 13.7988V26.9798M13.4095 20.3893H26.5904M36.4761 20.3893C36.4761 29.4888 29.0995 36.8655 19.9999 36.8655C10.9004 36.8655 3.52374 29.4888 3.52374 20.3893C3.52374 11.2897 10.9004 3.9131 19.9999 3.9131C29.0995 3.9131 36.4761 11.2897 36.4761 20.3893Z" stroke="url(#paint0_linear_1604_26695)" stroke-width="2.24" stroke-linecap="round" stroke-linejoin="round"/>
|
7095
|
+
</g>
|
7096
|
+
</g>
|
7097
|
+
<defs>
|
7098
|
+
<linearGradient id="paint0_linear_1604_26695" x1="36.4761" y1="20.3893" x2="3.52374" y2="20.3893" gradientUnits="userSpaceOnUse">
|
7099
|
+
<stop stop-color="#BC82F3"/>
|
7100
|
+
<stop offset="0.485" stop-color="#FF6778"/>
|
7101
|
+
<stop offset="1" stop-color="#FFBA71"/>
|
7102
|
+
</linearGradient>
|
7103
|
+
</defs>
|
7104
|
+
</svg>
|
7105
|
+
`;
|
7106
|
+
|
7107
|
+
const HeroPlusCircle = `<svg width="40" height="41" viewBox="0 0 40 41" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7108
|
+
<g id="plus-circle">
|
7109
|
+
<g id="Icon">
|
7110
|
+
<path d="M19.9999 13.7988V26.9798M13.4095 20.3893H26.5904M36.4761 20.3893C36.4761 29.4888 29.0995 36.8655 19.9999 36.8655C10.9004 36.8655 3.52374 29.4888 3.52374 20.3893C3.52374 11.2897 10.9004 3.9131 19.9999 3.9131C29.0995 3.9131 36.4761 11.2897 36.4761 20.3893Z" stroke-width="2.24" stroke-linecap="round" stroke-linejoin="round"/>
|
7111
|
+
</g>
|
7112
|
+
</g>
|
7113
|
+
</svg>
|
7114
|
+
`;
|
7115
|
+
|
7084
7116
|
const HeroWallet = `<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" fill="none">
|
7085
7117
|
<path opacity="0.95" fill-rule="evenodd" clip-rule="evenodd" d="M10 17C7.79086 17 6 18.7909 6 21V54C6 56.2091 7.79086 58 10 58H59C61.2091 58 63 56.2091 63 54V45H49C47.8954 45 47 44.1046 47 43V33C47 31.8954 47.8954 31 49 31H63V21C63 18.7909 61.2091 17 59 17H10Z" class="background-16"/>
|
7086
7118
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M50 33C49.4477 33 49 33.4477 49 34V42C49 42.5523 49.4477 43 50 43H63C63.5523 43 64 42.5523 64 42V34C64 33.4477 63.5523 33 63 33H50ZM57 40.625C58.4497 40.625 59.625 39.4497 59.625 38C59.625 36.5503 58.4497 35.375 57 35.375C55.5503 35.375 54.375 36.5503 54.375 38C54.375 39.4497 55.5503 40.625 57 40.625Z" class="background-16"/>
|
@@ -7250,8 +7282,7 @@ const PlusCircle = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
7250
7282
|
<g id="plus-circle">
|
7251
7283
|
<path id="Icon" d="M12 8V16M8 12H16M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
7252
7284
|
</g>
|
7253
|
-
</svg
|
7254
|
-
`;
|
7285
|
+
</svg>`;
|
7255
7286
|
|
7256
7287
|
const PuzzlePiece = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7257
7288
|
<path d="M7.5 4.5C7.5 3.11929 8.61929 2 10 2C11.3807 2 12.5 3.11929 12.5 4.5V6H13.5C14.8978 6 15.5967 6 16.1481 6.22836C16.8831 6.53284 17.4672 7.11687 17.7716 7.85195C18 8.40326 18 9.10218 18 10.5H19.5C20.8807 10.5 22 11.6193 22 13C22 14.3807 20.8807 15.5 19.5 15.5H18V17.2C18 18.8802 18 19.7202 17.673 20.362C17.3854 20.9265 16.9265 21.3854 16.362 21.673C15.7202 22 14.8802 22 13.2 22H12.5V20.25C12.5 19.0074 11.4926 18 10.25 18C9.00736 18 8 19.0074 8 20.25V22H6.8C5.11984 22 4.27976 22 3.63803 21.673C3.07354 21.3854 2.6146 20.9265 2.32698 20.362C2 19.7202 2 18.8802 2 17.2V15.5H3.5C4.88071 15.5 6 14.3807 6 13C6 11.6193 4.88071 10.5 3.5 10.5H2C2 9.10218 2 8.40326 2.22836 7.85195C2.53284 7.11687 3.11687 6.53284 3.85195 6.22836C4.40326 6 5.10218 6 6.5 6H7.5V4.5Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
@@ -11425,7 +11456,7 @@ const ZW = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
11425
11456
|
</svg>
|
11426
11457
|
`;
|
11427
11458
|
|
11428
|
-
const Icons = { alertCircle: AlertCircle, angelListBrand: AngelListBrand, angelList: AngelList, appleBrand: AppleBrand, apple: Apple, arrowCircleBrokenDownLeft: ArrowCircleBrokenDownLeft, arrowNarrow: ArrowNarrow, arrow: Arrow, backupKit: BackupKit, bank: Bank, brush: Brush, capsuleLogo: CapsuleLogo, capsuleRingsDark: CapsuleRingsDark, capsuleRings: CapsuleRings, capsule: Capsule, checkCircle: CheckCircle, check: Check, chevronUp: ChevronUp, clock: Clock, close: Close, clubhouseBrand: ClubhouseBrand, clubhouse: Clubhouse, copy: Copy, creditCard: CreditCard, cube: Cube, decentBrand: DecentBrand, decent: Decent, discordBrand: DiscordBrand, discord: Discord, dot: Dot, downloadCloud: DownloadCloud, download: Download, dribbbleBrand: DribbbleBrand, dribbble: Dribbble, earth: Earth, eyeOff: EyeOff, eye: Eye, facebookBrand: FacebookBrand, facebook: Facebook, farcasterBrand: FarcasterBrand, farcaster: Farcaster, figmaBrand: FigmaBrand, figma: Figma, file: File, githubBrand: GithubBrand, github: Github, globe: Globe, googleBrand: GoogleBrand, google: Google, helpCircle: HelpCircle, heroAlertCircle: HeroAlertCircle, heroCheckmarkCapsule: HeroCheckmarkCapsule, heroCheckmark: HeroCheckmark, heroEmail: HeroEmail, heroExternalConnection: HeroExternalConnection, heroLock: HeroLock, heroPasskey: HeroPasskey, heroPhone: HeroPhone, heroWallet: HeroWallet, home: Home, image: Image$1, infoCircle: InfoCircle, instagramBrand: InstagramBrand, instagram: Instagram, key: Key, lightning01: Lightning01, lightning: Lightning, linkExternal: LinkExternal, linkedinBrand: LinkedinBrand, linkedin: Linkedin, logOut: LogOut, mail: Mail, menu: Menu, moonpayBrand: MoonpayBrand, moreLoginOptions: MoreLoginOptions, phone: Phone, pintrestBrand: PintrestBrand, pintrest: Pintrest, plusCircle: PlusCircle, puzzlePiece: PuzzlePiece, qrCode02: QrCode02, qrCode: QrCode, rampNetworkBrand: RampNetworkBrand, rampNetwork: RampNetwork, redditBrand: RedditBrand, reddit: Reddit, refresh: Refresh, search: Search, send: Send, settings: Settings, shield: Shield, signalBrand: SignalBrand, signal: Signal, snapchatBrand: SnapchatBrand, snapchat: Snapchat, stars: Stars, stripeBrand: StripeBrand, telegramBrand: TelegramBrand, telegram: Telegram, tikTokBrand: TikTokBrand, tikTok: TikTok, tumblrBrand: TumblrBrand, tumblr: Tumblr, twitterBrand: TwitterBrand, twitter: Twitter, wallet: Wallet, x: X, youtubeBrand: YoutubeBrand, youtube: Youtube, AD: AD, AE: AE, AF: AF, AG: AG, AI: AI, AL: AL, AM: AM, AO: AO, AR: AR, AS: AS, AT: AT, AU: AU, AW: AW, AX: AX, AZ: AZ, BA: BA, BB: BB, BD: BD, BE: BE, BF: BF, BG: BG, BH: BH, BI: BI, BJ: BJ, BL: BL, BM: BM, BN: BN, BO: BO, BQ: BQ, BQ2: BQ2, BQ3: BQ3, BR: BR, BS: BS, BT: BT, BW: BW, BY: BY, BZ: BZ, CA: CA, CC: CC, CD: CD, CD2: CD2, CF: CF, CH: CH, CK: CK, CL: CL, CM: CM, CN: CN, CO: CO, CR: CR, CU: CU, CW: CW, CX: CX, CY: CY, CZ: CZ, DE: DE, DJ: DJ, DK: DK, DM: DM, DO: DO, DS: DS, DZ: DZ, EC: EC, EE: EE, EG: EG, EH: EH, ER: ER, ES: ES, ET: ET, FI: FI, FJ: FJ, FK: FK, FM: FM, FO: FO, FR: FR, GA: GA, GB2: GB2, GB: GB, GD: GD, GE: GE, GG: GG, GH: GH, GI: GI, GL: GL, GM: GM, GN: GN, GQ: GQ, GR: GR, GT: GT, GU: GU, GW: GW, GY: GY, HK: HK, HN: HN, HR: HR, HT: HT, HU: HU, ID: ID, IE: IE, IL: IL, IM: IM, IN: IN, IO: IO, IQ: IQ, IR: IR, IS: IS, IT: IT, JE: JE, JM: JM, JO: JO, JP: JP, KE: KE, KG: KG, KH: KH, KI: KI, KM: KM, KN: KN, KP: KP, KR: KR, KW: KW, KY: KY, KZ: KZ, LA: LA, LB: LB, LC: LC, LI: LI, LK: LK, LR: LR, LS: LS, LT: LT, LU: LU, LV: LV, LY: LY, MA: MA, MC: MC, MD: MD, ME: ME, MG: MG, MH: MH, MK: MK, ML: ML, MM: MM, MN: MN, MO: MO, MP: MP, MQ: MQ, MR: MR, MS: MS, MT: MT, MU: MU, MV: MV, MW: MW, MX: MX, MY: MY, MZ: MZ, NA: NA, NE: NE, NF: NF, NG: NG, NI: NI, NL: NL, NO: NO, NP: NP, NR: NR, NU: NU, NZ: NZ, OM: OM, PA: PA, PE: PE, PF: PF, PG: PG, PH: PH, PK: PK, PL: PL, PN: PN, PR: PR, PS: PS, PT: PT, PW: PW, PY: PY, QA: QA, RO: RO, RS: RS, RU: RU, RW: RW, SA: SA, SB: SB, SC: SC, SE: SE, SG: SG, SI: SI, SK: SK, SL: SL, SM: SM, SN: SN, SO: SO, SR: SR, SS: SS, ST: ST, SV: SV, SX: SX, SY: SY, SZ: SZ, TC: TC, TD: TD, TG: TG, TH: TH, TJ: TJ, TK: TK, TL: TL, TM: TM, TN: TN, TO: TO, TR: TR, TT: TT, TV: TV, TW: TW, TZ: TZ, UA: UA, UG: UG, US: US, UY: UY, UZ: UZ, VC: VC, VE: VE, VG: VG, VI: VI, VN: VN, VU: VU, WS: WS, YE: YE, ZA: ZA, ZM: ZM, ZW: ZW, };
|
11459
|
+
const Icons = { alertCircle: AlertCircle, angelListBrand: AngelListBrand, angelList: AngelList, appleBrand: AppleBrand, apple: Apple, arrowCircleBrokenDownLeft: ArrowCircleBrokenDownLeft, arrowNarrow: ArrowNarrow, arrow: Arrow, backupKit: BackupKit, bank: Bank, brush: Brush, capsuleLogo: CapsuleLogo, capsuleRingsDark: CapsuleRingsDark, capsuleRings: CapsuleRings, capsule: Capsule, checkCircle: CheckCircle, check: Check, chevronUp: ChevronUp, clock: Clock, close: Close, clubhouseBrand: ClubhouseBrand, clubhouse: Clubhouse, copy: Copy, creditCard: CreditCard, cube: Cube, decentBrand: DecentBrand, decent: Decent, discordBrand: DiscordBrand, discord: Discord, dot: Dot, downloadCloud: DownloadCloud, download: Download, dribbbleBrand: DribbbleBrand, dribbble: Dribbble, earth: Earth, eyeOff: EyeOff, eye: Eye, facebookBrand: FacebookBrand, facebook: Facebook, farcasterBrand: FarcasterBrand, farcaster: Farcaster, figmaBrand: FigmaBrand, figma: Figma, file: File, folder: Folder, githubBrand: GithubBrand, github: Github, globe: Globe, googleBrand: GoogleBrand, google: Google, helpCircle: HelpCircle, heroAlertCircle: HeroAlertCircle, heroCheckmarkCapsule: HeroCheckmarkCapsule, heroCheckmark: HeroCheckmark, heroEmail: HeroEmail, heroExternalConnection: HeroExternalConnection, heroLock: HeroLock, heroPasskey: HeroPasskey, heroPhone: HeroPhone, heroPlusCircleCapsule: HeroPlusCircleCapsule, heroPlusCircle: HeroPlusCircle, heroWallet: HeroWallet, home: Home, image: Image$1, infoCircle: InfoCircle, instagramBrand: InstagramBrand, instagram: Instagram, key: Key, lightning01: Lightning01, lightning: Lightning, linkExternal: LinkExternal, linkedinBrand: LinkedinBrand, linkedin: Linkedin, logOut: LogOut, mail: Mail, menu: Menu, moonpayBrand: MoonpayBrand, moreLoginOptions: MoreLoginOptions, phone: Phone, pintrestBrand: PintrestBrand, pintrest: Pintrest, plusCircle: PlusCircle, puzzlePiece: PuzzlePiece, qrCode02: QrCode02, qrCode: QrCode, rampNetworkBrand: RampNetworkBrand, rampNetwork: RampNetwork, redditBrand: RedditBrand, reddit: Reddit, refresh: Refresh, search: Search, send: Send, settings: Settings, shield: Shield, signalBrand: SignalBrand, signal: Signal, snapchatBrand: SnapchatBrand, snapchat: Snapchat, stars: Stars, stripeBrand: StripeBrand, telegramBrand: TelegramBrand, telegram: Telegram, tikTokBrand: TikTokBrand, tikTok: TikTok, tumblrBrand: TumblrBrand, tumblr: Tumblr, twitterBrand: TwitterBrand, twitter: Twitter, wallet: Wallet, x: X, youtubeBrand: YoutubeBrand, youtube: Youtube, AD: AD, AE: AE, AF: AF, AG: AG, AI: AI, AL: AL, AM: AM, AO: AO, AR: AR, AS: AS, AT: AT, AU: AU, AW: AW, AX: AX, AZ: AZ, BA: BA, BB: BB, BD: BD, BE: BE, BF: BF, BG: BG, BH: BH, BI: BI, BJ: BJ, BL: BL, BM: BM, BN: BN, BO: BO, BQ: BQ, BQ2: BQ2, BQ3: BQ3, BR: BR, BS: BS, BT: BT, BW: BW, BY: BY, BZ: BZ, CA: CA, CC: CC, CD: CD, CD2: CD2, CF: CF, CH: CH, CK: CK, CL: CL, CM: CM, CN: CN, CO: CO, CR: CR, CU: CU, CW: CW, CX: CX, CY: CY, CZ: CZ, DE: DE, DJ: DJ, DK: DK, DM: DM, DO: DO, DS: DS, DZ: DZ, EC: EC, EE: EE, EG: EG, EH: EH, ER: ER, ES: ES, ET: ET, FI: FI, FJ: FJ, FK: FK, FM: FM, FO: FO, FR: FR, GA: GA, GB2: GB2, GB: GB, GD: GD, GE: GE, GG: GG, GH: GH, GI: GI, GL: GL, GM: GM, GN: GN, GQ: GQ, GR: GR, GT: GT, GU: GU, GW: GW, GY: GY, HK: HK, HN: HN, HR: HR, HT: HT, HU: HU, ID: ID, IE: IE, IL: IL, IM: IM, IN: IN, IO: IO, IQ: IQ, IR: IR, IS: IS, IT: IT, JE: JE, JM: JM, JO: JO, JP: JP, KE: KE, KG: KG, KH: KH, KI: KI, KM: KM, KN: KN, KP: KP, KR: KR, KW: KW, KY: KY, KZ: KZ, LA: LA, LB: LB, LC: LC, LI: LI, LK: LK, LR: LR, LS: LS, LT: LT, LU: LU, LV: LV, LY: LY, MA: MA, MC: MC, MD: MD, ME: ME, MG: MG, MH: MH, MK: MK, ML: ML, MM: MM, MN: MN, MO: MO, MP: MP, MQ: MQ, MR: MR, MS: MS, MT: MT, MU: MU, MV: MV, MW: MW, MX: MX, MY: MY, MZ: MZ, NA: NA, NE: NE, NF: NF, NG: NG, NI: NI, NL: NL, NO: NO, NP: NP, NR: NR, NU: NU, NZ: NZ, OM: OM, PA: PA, PE: PE, PF: PF, PG: PG, PH: PH, PK: PK, PL: PL, PN: PN, PR: PR, PS: PS, PT: PT, PW: PW, PY: PY, QA: QA, RO: RO, RS: RS, RU: RU, RW: RW, SA: SA, SB: SB, SC: SC, SE: SE, SG: SG, SI: SI, SK: SK, SL: SL, SM: SM, SN: SN, SO: SO, SR: SR, SS: SS, ST: ST, SV: SV, SX: SX, SY: SY, SZ: SZ, TC: TC, TD: TD, TG: TG, TH: TH, TJ: TJ, TK: TK, TL: TL, TM: TM, TN: TN, TO: TO, TR: TR, TT: TT, TV: TV, TW: TW, TZ: TZ, UA: UA, UG: UG, US: US, UY: UY, UZ: UZ, VC: VC, VE: VE, VG: VG, VI: VI, VN: VN, VU: VU, WS: WS, YE: YE, ZA: ZA, ZM: ZM, ZW: ZW, };
|
11429
11460
|
|
11430
11461
|
const cpslDropdownCss = ":host{display:block;position:relative;font-family:Arial, sans-serif;--input-color:var(--cpsl-color-text-primary);--container-background-color:var(--cpsl-color-input-surface-default);--container-border-color:var(--cpsl-color-input-border-active);--scrollbar-color:var(--cpsl-color-text-subtle);--divider-color:var(--cpsl-color-divider);--input-placeholder-color:var(--cpsl-color-text-secondary);--input-font-size:var(--cpsl-font-size-body-m);--button-hover-color:var(--cpsl-color-tile-button-surface-hover);font-family:var(--cpsl-font-family, inherit)}.input-container{position:relative;width:100%}::slotted(cpsl-dropdown){position:absolute;width:100%;top:100%;left:0;z-index:2}.dropdown-button{display:flex;width:100%;padding:0 4px;background:none;border:none;align-items:center;justify-content:space-between;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--input-color)}.dropdown-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}.dropdown-button div{margin-left:8px;display:flex;align-items:center}.dropdown-options{display:none;position:fixed;list-style:none;padding:0;margin-top:4px;border:1px solid var(--container-border-color);border-radius:8px;z-index:999999999999;overflow-y:auto;max-height:300px;box-sizing:border-box;background-color:var(--container-background-color);}.dropdown-options.open{display:block}.dropdown-options li{padding:8px;cursor:pointer;display:flex;align-items:center;border-bottom:1px solid var(--cpsl-color-divider);color:var(--input-color);background:var(--container-background-color);font-size:var(--input-font-size)}.dropdown-options li:hover{background-color:var(--button-hover-color)}.dropdown-options li svg{width:24px;height:24px;margin-right:8px;padding:0 8px;vertical-align:middle;}.dropdown-options::-webkit-scrollbar{width:8px;height:8px;background-color:transparent;}.dropdown-options::-webkit-scrollbar-thumb{background-color:var(--scrollbar-color);border-radius:10px;border:2px solid transparent;background-clip:content-box;height:8px}.dropdown-options::-webkit-scrollbar-track{background:transparent;}.dropdown-value{margin-left:8px;color:var(--cpsl-color-text-secondary)}.dropdown-button .chevron{transition:transform 0.3s ease}.dropdown-button .chevron.closed{transform:rotate(180deg)}.search-bar{padding:0;border-bottom:1px solid var(--cpsl-color-divider);position:sticky;top:0;background:var(--container-background-color);z-index:1;}.search-bar input{width:100%;padding:8px;border:none;box-sizing:border-box;font-size:var(--input-font-size);color:var(--input-color);background-color:var(--container-background-color);border-radius:0;}.search-bar input::placeholder{color:var(--input-placeholder-color)}.search-bar input:focus{outline:none;border-color:transparent;}";
|
11431
11462
|
const CpslDropdownStyle0 = cpslDropdownCss;
|
@@ -11526,7 +11557,7 @@ const CpslDropdown = class {
|
|
11526
11557
|
}
|
11527
11558
|
render() {
|
11528
11559
|
var _a, _b, _c;
|
11529
|
-
return (index.h(index.Host, { key: '
|
11560
|
+
return (index.h(index.Host, { key: '351276cd3f2f3170a074810279edefb3880b1e3e' }, index.h("button", { key: 'c73281596b3cb5ea374721b474357cba751eb112', class: "dropdown-button", onClick: this.toggleDropdown }, `${((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.selectedLabel) || ((_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.label)} ${(_c = this.selectedItem) === null || _c === void 0 ? void 0 : _c.value}`, index.h("div", { key: 'af68dc8729ed048ee14b49ba756b115e414feb3e', class: `chevron ${this.isOpen ? '' : 'closed'}`, innerHTML: Icons['chevronUp'] })), index.h("ul", { key: 'dc2f7f50a072af503d81ca77e543571871647b5d', class: { 'dropdown-options': true, 'open': this.isOpen }, style: { width: this.width } }, this.hasCpslSearch && (index.h("li", { key: '7e2e9270927bcdac083849389e9423d502fec40b', class: "search-bar" }, index.h("input", { key: '003e9aae15f7c9e5b11fa2aa3f9aeb93c1492a04', type: "text", placeholder: "Search...", value: this.searchQuery, onInput: this.handleSearchQueryChange }))), this.filteredItems.map(item => (index.h("li", { onClick: this.handleItemSelect(item) }, index.h("span", { innerHTML: Icons[item.icon] }), item.label, " ", index.h("span", { class: "dropdown-value" }, item.value)))))));
|
11530
11561
|
}
|
11531
11562
|
get el() { return index.getElement(this); }
|
11532
11563
|
static get watchers() { return {
|
@@ -11661,7 +11692,7 @@ const CpslFileUpload = class {
|
|
11661
11692
|
}
|
11662
11693
|
render() {
|
11663
11694
|
var _a, _b, _c;
|
11664
|
-
return (index.h(index.Host, { key: '
|
11695
|
+
return (index.h(index.Host, { key: '18e0096b27a8b805ee94f525ace13457349f16f3' }, this.label && (index.h("label", { key: '22a099ae4179b2cead6c9835123bcf4e365833e9', class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? index.h("span", { class: "optional-label" }, "(optional)") : '')), index.h("slot", { key: 'fc02c2a0aa82d896d50045cfc10f45cf3d86e321', name: "label" }), index.h("div", { key: '31e50d9d7249f4700d33a9164b39050d8909efba', class: { 'container': true, 'error': Boolean(this.errorText), 'drag': this.dragOver, 'drag-error': this.dragError } }, index.h("div", { key: '9546b0675d270df3a24fa3cd6ee88fd4871b55de', class: { 'label-container': true } }, index.h("slot", { key: 'd9c1581dbad76b3ef0b1b90b8b455d0c0691ed89', name: "left-content" })), index.h("div", { key: 'f97421c4e415b1b5e634d494eebf964d12ee206c', class: { 'file-container': true } }, this.FileContent), index.h("input", { key: '5e84df74b088c43b5734118eae1de926f5c3cc70', id: this.inputId, type: "file", accept: (_b = (_a = this.fileTypes) === null || _a === void 0 ? void 0 : _a.join(', ')) !== null && _b !== void 0 ? _b : '*', files: this.file ? [this.file] : undefined, onDrop: this.handleDrop, onDragEnter: this.handleDragEnter, onDragLeave: this.handleDragLeave, onChange: this.handleInputChange })), (this.errorText || this.helperText) && (index.h("div", { key: '146a25dc2a19ed98649e7af450b700c4009975c9', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, index.h("span", { key: '83df60cdc393902f62e9766dc06ea0065aca11fe' }, (_c = this.errorText) !== null && _c !== void 0 ? _c : this.helperText)))));
|
11665
11696
|
}
|
11666
11697
|
get el() { return index.getElement(this); }
|
11667
11698
|
};
|
@@ -14391,49 +14422,27 @@ const CpslInput = class {
|
|
14391
14422
|
let inputIds$1 = 0;
|
14392
14423
|
CpslInput.style = CpslInputStyle0;
|
14393
14424
|
|
14394
|
-
const cpslNavButtonGroupCss = ":host{display:flex;flex-direction:column;gap:8px;padding:0px 16px;box-sizing:border-box;width:100%}
|
14425
|
+
const cpslNavButtonGroupCss = ":host{display:flex;flex-direction:column;gap:8px;padding:0px 16px;box-sizing:border-box;width:100%}";
|
14395
14426
|
const CpslNavButtonGroupStyle0 = cpslNavButtonGroupCss;
|
14396
14427
|
|
14397
14428
|
const CpslNavButtonGroup = class {
|
14398
14429
|
constructor(hostRef) {
|
14399
14430
|
index.registerInstance(this, hostRef);
|
14400
|
-
this.selectedId = undefined;
|
14401
|
-
}
|
14402
|
-
selectItem() {
|
14403
|
-
this.buttonSlots.forEach(item => {
|
14404
|
-
if (item.id === this.selectedId) {
|
14405
|
-
item.classList.add('selected');
|
14406
|
-
}
|
14407
|
-
else {
|
14408
|
-
item.classList.remove('selected');
|
14409
|
-
}
|
14410
|
-
});
|
14411
14431
|
}
|
14412
14432
|
componentWillRender() {
|
14413
14433
|
var _a;
|
14414
|
-
this.buttonSlots.forEach(item => {
|
14415
|
-
item.setAttribute('variant', 'primary');
|
14416
|
-
item.setAttribute('full-width', 'true');
|
14417
|
-
this.selectItem();
|
14418
|
-
});
|
14419
14434
|
if ((_a = this.otherSlots) === null || _a === void 0 ? void 0 : _a.length) {
|
14420
14435
|
console.error('cpsl-button is the only valid child of cpsl-nav-button-group');
|
14421
14436
|
this.otherSlots.forEach(item => item.remove());
|
14422
14437
|
}
|
14423
14438
|
}
|
14424
|
-
get buttonSlots() {
|
14425
|
-
return this.el.querySelectorAll('cpsl-button');
|
14426
|
-
}
|
14427
14439
|
get otherSlots() {
|
14428
|
-
return this.el.querySelectorAll('&> *:not(cpsl-button)');
|
14440
|
+
return this.el.querySelectorAll('&> *:not(cpsl-nav-button)');
|
14429
14441
|
}
|
14430
14442
|
render() {
|
14431
|
-
return (index.h(index.Host, { key: '
|
14443
|
+
return (index.h(index.Host, { key: '4aa96990f1b24508533fc512cc06f5ff0911baf9' }, index.h("slot", { key: '3f4a145df12c37a350c2593534b7cbf3cdae6d51' })));
|
14432
14444
|
}
|
14433
14445
|
get el() { return index.getElement(this); }
|
14434
|
-
static get watchers() { return {
|
14435
|
-
"selectedId": ["selectItem"]
|
14436
|
-
}; }
|
14437
14446
|
};
|
14438
14447
|
CpslNavButtonGroup.style = CpslNavButtonGroupStyle0;
|
14439
14448
|
|
@@ -14469,7 +14478,7 @@ const CpslOverlay = class {
|
|
14469
14478
|
}
|
14470
14479
|
}
|
14471
14480
|
render() {
|
14472
|
-
return (index.h(index.Host, { key: '
|
14481
|
+
return (index.h(index.Host, { key: 'b961b8fa9583a3d0855fff965610bdb30a6a9231', style: this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {} }, index.h("slot", { key: '0e5a866a9ef2ac37eddc6cd943ab408e482e3dbf' })));
|
14473
14482
|
}
|
14474
14483
|
get el() { return index.getElement(this); }
|
14475
14484
|
static get watchers() { return {
|
@@ -14555,7 +14564,7 @@ const CpslPagination = class {
|
|
14555
14564
|
filteredPages.push(this.totalPages - 1);
|
14556
14565
|
}
|
14557
14566
|
}
|
14558
|
-
return (index.h(index.Host, { key: '
|
14567
|
+
return (index.h(index.Host, { key: '24a1919b5a936df86951901cef42104107c7f16b' }, index.h("cpsl-button-group", { key: 'cd9846ba915b7e4e685497d5fd93d5052d7ddda5', selectedId: `${this.currentPage}` }, index.h("cpsl-button", { key: '59c1c038b27f92e72cc6836ede8f7728ff69964c', class: "arrow-button", onClick: this.handlePrevClick }, index.h("cpsl-icon", { key: 'fc53e604c8a468a4910696679d6a26dee92d8ec3', class: { 'icon': true, 'start-icon': true }, icon: "arrowNarrow" })), filteredPages.map(page => (index.h("cpsl-button", { key: page, variant: "secondary", fullWidth: true, id: `${page}`, onClick: this.handlePageClick(page) }, index.h("cpsl-text", { variant: "bodyS" }, page + 1)))), index.h("cpsl-button", { key: '42db7906c429f9cb29570899d65391524a95de92', class: "arrow-button", onClick: this.handleNextClick }, index.h("cpsl-icon", { key: 'e7d4750e2116a7658bb60a3dd31567b581249637', class: "icon", icon: "arrowNarrow" })))));
|
14559
14568
|
}
|
14560
14569
|
static get watchers() { return {
|
14561
14570
|
"currentPage": ["watchChange"]
|
@@ -14572,7 +14581,7 @@ const CpslPill = class {
|
|
14572
14581
|
this.text = undefined;
|
14573
14582
|
}
|
14574
14583
|
render() {
|
14575
|
-
return (index.h(index.Host, { key: '
|
14584
|
+
return (index.h(index.Host, { key: '7c548025bd8f95e1bc362d48b8b18bde61bf599f' }, index.h("div", { key: '9d0fc1ea1f56147a153a20539f0b47cdd1b27ac7', class: "pill-container" }, index.h("span", { key: 'ded742a126bbd0199358ee0780edbcb543e33a3d' }, this.text))));
|
14576
14585
|
}
|
14577
14586
|
};
|
14578
14587
|
CpslPill.style = CpslPillStyle0;
|
@@ -14795,7 +14804,7 @@ const CpslPopover = class {
|
|
14795
14804
|
}
|
14796
14805
|
render() {
|
14797
14806
|
var _a;
|
14798
|
-
return (index.h(index.Host, { key: '
|
14807
|
+
return (index.h(index.Host, { key: '4dacecdf53095dc60e8c0b554f383b185f268488', class: {
|
14799
14808
|
'open': this.open,
|
14800
14809
|
'transform-h-left': this.transformOriginHorizontal === 'left',
|
14801
14810
|
'transform-h-center': this.transformOriginHorizontal === 'center',
|
@@ -14803,7 +14812,7 @@ const CpslPopover = class {
|
|
14803
14812
|
'transform-v-top': this.transformOriginVertical === 'top',
|
14804
14813
|
'transform-v-center': this.transformOriginVertical === 'center',
|
14805
14814
|
'transform-v-bottom': this.transformOriginVertical === 'bottom',
|
14806
|
-
}, style: { top: `${this.positionY}px`, left: `${this.positionX}px`, width: !this.open ? '0px' : this.autoWidth ? 'auto' : `${(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.clientWidth}px` } }, index.h("div", { key: '
|
14815
|
+
}, style: { top: `${this.positionY}px`, left: `${this.positionX}px`, width: !this.open ? '0px' : this.autoWidth ? 'auto' : `${(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.clientWidth}px` } }, index.h("div", { key: '0182e8d56731f9c1d321805afdec731db869f8fb', id: "container", class: { container: true, open: this.open } }, index.h("slot", { key: 'bb77f0561fa9e3749a9867a6959330efe6fa47f9' }))));
|
14807
14816
|
}
|
14808
14817
|
get el() { return index.getElement(this); }
|
14809
14818
|
static get watchers() { return {
|
@@ -18949,7 +18958,7 @@ const CpslQrCode = class {
|
|
18949
18958
|
return this.el.shadowRoot.getElementById('qr-code');
|
18950
18959
|
}
|
18951
18960
|
render() {
|
18952
|
-
return (index.h(index.Host, { key: '
|
18961
|
+
return (index.h(index.Host, { key: '96d7c968c8a48732a6f39dd447f542aeabda0895' }, index.h("div", { key: '94309968063a64eb0d7fb8f1882d02b45e6f3c4a', id: "qr-container", class: "qr-container", style: { width: `${this.size}px`, height: `${this.size}px` } }, index.h("img", { key: 'fa2da4ea3b1c4538c93b69f4180f5fa10b32b9b4', id: "qr-code", class: "qr-code" }))));
|
18953
18962
|
}
|
18954
18963
|
get el() { return index.getElement(this); }
|
18955
18964
|
};
|
@@ -18970,7 +18979,7 @@ const CpslRadio = class {
|
|
18970
18979
|
this.checked = undefined;
|
18971
18980
|
}
|
18972
18981
|
render() {
|
18973
|
-
return (index.h(index.Host, { key: '
|
18982
|
+
return (index.h(index.Host, { key: '4d81b183fd96250737983514d7f1bebc6fcad8cd' }, index.h("input", { key: '406a10e3632ad5d63ba5bc7eeee8ee6872850e27', type: "radio", checked: this.checked }), index.h("span", { key: '9adf7dfc9d57b9cbfd66be28e2153b9cf2ba527d', onClick: this.handleRadioClick, class: { container: true, checked: this.checked } })));
|
18974
18983
|
}
|
18975
18984
|
};
|
18976
18985
|
CpslRadio.style = CpslRadioStyle0;
|
@@ -19071,10 +19080,10 @@ const CpslSelect = class {
|
|
19071
19080
|
}
|
19072
19081
|
render() {
|
19073
19082
|
var _a, _b, _c, _d, _e;
|
19074
|
-
return (index.h(index.Host, { key: '
|
19083
|
+
return (index.h(index.Host, { key: '6a81638f5f4fc6a4904bfb01474124b5534e7515', id: this.id, class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.selectedValue) } }, this.label && (index.h("label", { key: '1b1e485332bedaf9d63131a61ecedde9cc510b96', class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? index.h("span", { class: "optional-label" }, "(optional)") : '')), index.h("div", { key: '2d67247a261f54a307f740623892087ddf8df59e', id: "select-container", class: { 'select-container': true, 'error-container': Boolean(this.errorText) }, onMouseDown: this.handleClick }, this.hasSelectedItem && this.showFormattedSelectedItem && index.h("slot", { key: '6b4ac55de19f37c930990f434c6c75375942b5ce', name: "selected-item" }), index.h("div", { key: 'd55ee9754b382167d1dda4c4f6b6b9440331e723', class: { 'selected-container-content': true, 'hidden': this.hasSelectedItem && this.showFormattedSelectedItem }, id: "selected-container-content", style: {} }, (!this.hasSelectedItem || !this.showFormattedSelectedItem) && (index.h("cpsl-text", { key: '45836ee164ea1a35e669f3953b6f413fcef138aa', class: { 'selected-text': true, 'placeholder': !this.selectedValue } }, !this.selectedValue ? ((_a = this.placeholder) !== null && _a !== void 0 ? _a : 'Select') : ((_c = (_b = this.formatValue) === null || _b === void 0 ? void 0 : _b.call(this, this.selectedValue)) !== null && _c !== void 0 ? _c : this.selectedValue)))), index.h("cpsl-icon", { key: 'cd12c1f52e9db3451bcc2bdc332763ab31b589f2', class: { 'chevron': true, 'open': this.popoverOpen, 'has-value': Boolean(this.selectedValue) }, icon: "chevronUp" }), index.h("input", { key: 'db9e60e27e935e941c9e18496fb6081c13d9ac93', id: this.inputId, disabled: this.disabled, class: { disabled: this.disabled }, value: this.selectedValue, onFocus: this.onFocus, onBlur: this.onBlur, onKeyPress: this.handleEnterPress, inputmode: "none" })), (this.errorText || this.helperText) && (index.h("div", { key: '6322d6bbcd082a80deb2addcb5a490b2540749a4', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, index.h("span", { key: 'd84673209ebace8a213866b5ba8f8ded5122fbd9' }, (_d = this.errorText) !== null && _d !== void 0 ? _d : this.helperText))), index.h("cpsl-popover", { key: 'ae8543628b0426d66f2c74b8c05d7fa108495c14', part: "popover", autoWidth: this.autoWidth, trigger: this.id, preventBlur: this.hasFocus, disabled: this.disabled, anchorEl: this.anchorEl }, index.h("div", { key: '793a2efe39d096a6b60cabab4918faf275eff398', part: "dropdown", class: "dropdown" }, this.showSearch && (index.h("div", { key: 'd4d1249ee84a5cad5555c1bb48b699a8c78bcebe', class: "search-container" }, index.h("cpsl-input", { key: '03fa4e3e71014bdd6247634eff47620a89fc1346', onClick: e => e.stopPropagation(), placeholder: (_e = this.searchPlaceholder) !== null && _e !== void 0 ? _e : 'Search', value: "", onCpslInput: e => {
|
19075
19084
|
e.stopPropagation();
|
19076
19085
|
this.cpslSearchChange.emit(e.detail.value);
|
19077
|
-
} }))), index.h("div", { key: '
|
19086
|
+
} }))), index.h("div", { key: '703ef09d6b630caac1573c16bbdca7d52a2e8277', class: "dropdown-inner", style: { maxHeight: `${this.dropdownMaxHeight}px` } }, index.h("slot", { key: 'd4ae08aeadc9057ec4b3c40454bf3b619b0f4e6b', name: "items" }))))));
|
19078
19087
|
}
|
19079
19088
|
get el() { return index.getElement(this); }
|
19080
19089
|
static get watchers() { return {
|
@@ -19098,7 +19107,7 @@ const CpslSelectItem = class {
|
|
19098
19107
|
this.value = undefined;
|
19099
19108
|
}
|
19100
19109
|
render() {
|
19101
|
-
return (index.h(index.Host, { key: '
|
19110
|
+
return (index.h(index.Host, { key: '118f17cd1cf7f23d9d9bb8d1fd6b882f7d4b31d9' }, index.h("div", { key: '77735d41c9506decec079d229890f9bb40400fe3', part: "outer-container", class: "outer-container", onClick: this.handleItemClick }, index.h("div", { key: 'fe1d074764d4ac9e819bbc13071cd15475942580', part: "inner-container", class: { 'inner-container': true, 'selected': this.selected } }, index.h("slot", { key: '168bc2ed66c9afb18f1355a52d164776e6833453' })))));
|
19102
19111
|
}
|
19103
19112
|
};
|
19104
19113
|
CpslSelectItem.style = CpslSelectItemStyle0;
|
@@ -19234,7 +19243,7 @@ const CpslSlideButton = class {
|
|
19234
19243
|
return this.el.shadowRoot.getElementById('end-icon');
|
19235
19244
|
}
|
19236
19245
|
render() {
|
19237
|
-
return (index.h(index.Host, { key: '
|
19246
|
+
return (index.h(index.Host, { key: 'd113db26952e865b214817123a2c5311ea40c7f2' }, index.h("div", { key: '5009f80827f116a04a2c764164bc8e6ab53f7b09', id: "slider-container", class: "slider-container" }, index.h("div", { key: '498c19112ce88898e382af17b1a3b726bf6bab37', id: "start-slider-container-background", class: { 'start-slider-container-background': true, 'slider-container-background': true } }), index.h("div", { key: '387a3b044c0e9425426a96c5485b43c3dc17732a', id: "end-slider-container-background", class: { 'end-slider-container-background': true, 'slider-container-background': true } }), index.h("div", { key: '2c7fcbb1ff171096e46520b7877b90eaad97f6dc', id: "slider", class: { slider: true, disabled: this.disabled } }, index.h("cpsl-icon", { key: '209bfe654df6c612b1d2e55245f89e921192a0a4', id: "start-icon", class: { 'start-icon': true, 'icon': true }, icon: this.startIcon }), index.h("cpsl-icon", { key: 'cf1fb641be67535769983285d42f78dac09b5c04', id: "end-icon", class: { 'end-icon': true, 'icon': true }, icon: this.endIcon })), index.h("span", { key: '929a0f8a60dcb0b7348854a851ff124416dcae89', id: "start-text", class: { 'start-text': true, 'disabled': this.disabled } }, this.startText), index.h("span", { key: '88f760b8b01b79507cdd9802b3bd895b51cd4c9a', id: "end-text", class: "end-text" }, this.endText))));
|
19238
19247
|
}
|
19239
19248
|
get el() { return index.getElement(this); }
|
19240
19249
|
};
|
@@ -19250,11 +19259,11 @@ const CpslSpinner = class {
|
|
19250
19259
|
this.speed = 1;
|
19251
19260
|
}
|
19252
19261
|
render() {
|
19253
|
-
return (index.h(index.Host, { key: '
|
19262
|
+
return (index.h(index.Host, { key: '3c1bd9555de17d17db2b967bec28640b92c84e0b', style: {
|
19254
19263
|
height: `${this.size}px`,
|
19255
19264
|
width: `${this.size}px`,
|
19256
19265
|
['--bar-width']: `${this.size * 0.12}px`,
|
19257
|
-
} }, index.h("div", { key: '
|
19266
|
+
} }, index.h("div", { key: 'ce908c40d3c48e4c2817baa930708c7ef5bca104', class: "loader" })));
|
19258
19267
|
}
|
19259
19268
|
};
|
19260
19269
|
CpslSpinner.style = CpslSpinnerStyle0;
|
@@ -19272,7 +19281,7 @@ const CpslSwitch = class {
|
|
19272
19281
|
this.checked = undefined;
|
19273
19282
|
}
|
19274
19283
|
render() {
|
19275
|
-
return (index.h(index.Host, { key: '
|
19284
|
+
return (index.h(index.Host, { key: '9f3df7dc3a9fdee1f7ad04dfafa41ee64310d4e5' }, index.h("input", { key: 'f63bc6b3feda7d6c043b5c5763c6c49b98445b76', type: "checkbox", checked: this.checked }), index.h("span", { key: 'f31f4df2854847231b18d9528c383e1d582aac32', onClick: this.handleSwitchClick, class: { container: true, checked: this.checked } }, index.h("span", { key: 'b77e55f0a52c64cf69a966d7617baf638d307509', class: { thumb: true, checked: this.checked } }))));
|
19276
19285
|
}
|
19277
19286
|
};
|
19278
19287
|
CpslSwitch.style = CpslSwitchStyle0;
|
@@ -19304,7 +19313,7 @@ const CpslTab = class {
|
|
19304
19313
|
}
|
19305
19314
|
}
|
19306
19315
|
render() {
|
19307
|
-
return (index.h(index.Host, { key: '
|
19316
|
+
return (index.h(index.Host, { key: '8e328273952683b951987862e3bc150b9f0e458a', class: { selected: this.selected }, onClick: this.onTabClicked }, index.h("div", { key: '67e757f56830cc045365fb83720c348bc2615600', class: { 'tab-container': true } }, index.h("slot", { key: '577c4dc8bed2463c5704e93b2150f7b3fbacf99d', name: "start" }), index.h("div", { key: 'c0491aa4088daa2b93d586a51035c8df343d4080', class: "content" }, index.h("slot", { key: 'bf626d99110505a46005c4aca78c78132c9c4c7a' })), index.h("slot", { key: 'a0caabcef60786ec094e240c671e18256385ceed', name: "end" }))));
|
19308
19317
|
}
|
19309
19318
|
get el() { return index.getElement(this); }
|
19310
19319
|
};
|
@@ -19362,7 +19371,7 @@ const CpslTable = class {
|
|
19362
19371
|
return this.el.shadowRoot.getElementById('footer-container');
|
19363
19372
|
}
|
19364
19373
|
render() {
|
19365
|
-
return (index.h(index.Host, { key: '
|
19374
|
+
return (index.h(index.Host, { key: '7e73151d02a5fefb247f46cb8432dd444aa51f64' }, index.h("cpsl-card", { key: 'a56fc2c5af882cf639678aff59f48bc5b214cb20', part: "table-container", style: { position: 'relative' } }, index.h("div", { key: '2c3b2adbc4f9e53b0f5bb6f54fd57274a3c65ad8', id: "header-container", class: { 'container-header': true, 'shown': Boolean(this.containerHeaderEl) } }, index.h("slot", { key: '081d09a72e3466abddc1044a55efb673f3f31d65', name: "header" })), index.h("div", { key: 'f1eb55896339f7cf76118674ef4bb5eeecc361de', id: "content-container", class: { 'content': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll }, part: "content" }, index.h("slot", { key: 'a97dbb166f96995cb427b389d11099e0142df7c6', name: "content" })), this.headerEl && this.contentContainerEl && this.footerEl && (index.h("div", { key: '2af7ffba6f244e6fde703815931f0eba2c8913bf', style: { top: `${this.headerEl.clientHeight + 2}px`, height: `${this.contentContainerEl.clientHeight}px` }, class: { 'overlay': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll } })), index.h("div", { key: '83a7124205502fbcf9dcabbf898b3b713f544b2a', id: "footer-container", class: { 'container-footer': true, 'shown': Boolean(this.containerFooterEl) } }, index.h("slot", { key: '8b2e34e79eb1f5b90a2ddabcc280f7f3e14f7fc7', name: "footer" })))));
|
19366
19375
|
}
|
19367
19376
|
get el() { return index.getElement(this); }
|
19368
19377
|
};
|
@@ -19424,7 +19433,7 @@ const CpslTabs = class {
|
|
19424
19433
|
// Get border width as a number
|
19425
19434
|
const tabsBorderWidth = +getComputedStyle(this.el).getPropertyValue('--tabs-border-width').slice(0, -2);
|
19426
19435
|
const selectedTabRect = this.selectedTabRect;
|
19427
|
-
return (index.h(index.Host, { key: '
|
19436
|
+
return (index.h(index.Host, { key: '417538a8b708500bb349f92dbd6d32c96c3b2aa4', class: { 'full-width': this.fullWidth }, onCpslTabButtonClick: this.onTabClicked }, index.h("div", { key: '5603d8c21be4f81c4e8130c57b74dfb33735fe00', class: "tabs-container" }, index.h("slot", { key: 'e432e3e83b888cfe46b3405f3a6e30dcdf599f5e' }), index.h("div", { key: '2596ad8129152f52e2e81418b41715460035cca0', class: { slider: true, loaded: this.loaded }, style: { width: `${selectedTabRect.width - 8}px`, left: `${selectedTabRect.x - tabsPosition.x - tabsBorderWidth}px` } }))));
|
19428
19437
|
}
|
19429
19438
|
get el() { return index.getElement(this); }
|
19430
19439
|
static get watchers() { return {
|
@@ -19474,7 +19483,7 @@ const CpslText = class {
|
|
19474
19483
|
}
|
19475
19484
|
}
|
19476
19485
|
render() {
|
19477
|
-
return (index.h(index.Host, { key: '
|
19486
|
+
return (index.h(index.Host, { key: '51c48bf366ab1bc846c81c605abdca047b586abf', class: {
|
19478
19487
|
// COLORS
|
19479
19488
|
'primary': this.color === 'primary',
|
19480
19489
|
'secondary': this.color === 'secondary',
|
@@ -19515,7 +19524,7 @@ const CpslTileButton = class {
|
|
19515
19524
|
this.icon = undefined;
|
19516
19525
|
}
|
19517
19526
|
render() {
|
19518
|
-
return (index.h(index.Host, { key: '
|
19527
|
+
return (index.h(index.Host, { key: '9b7604660ea591bc8d71208e94e0a40f9b48788a' }, index.h("button", { key: 'b90ac28749497785e2248900961b743681ac4540', class: "button-native" }, index.h("cpsl-icon", { key: 'ae19d819c00852f4b46da2d5bec2d26bd6327854', exportparts: "icon", src: this.src, icon: this.icon }), index.h("slot", { key: '346b407b513dd42fdf09d5361e79e071a289c4d3' }))));
|
19519
19528
|
}
|
19520
19529
|
};
|
19521
19530
|
CpslTileButton.style = CpslTileButtonStyle0;
|