@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/esm/capsule.js
CHANGED
@@ -16,7 +16,7 @@ var patchBrowser = () => {
|
|
16
16
|
|
17
17
|
patchBrowser().then(async (options) => {
|
18
18
|
await globalScripts();
|
19
|
-
return bootstrapLazy([["cpsl-hero",[[1,"cpsl-hero",{"height":[2],"hideFadeOut":[4,"hide-fade-out"],"variant":[513],"title":[513],"subtitle":[513],"withDefaultTheme":[4,"with-default-theme"]}]]],["cpsl-modal-v2",[[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-
|
19
|
+
return bootstrapLazy([["cpsl-hero",[[1,"cpsl-hero",{"height":[2],"hideFadeOut":[4,"hide-fade-out"],"variant":[513],"title":[513],"subtitle":[513],"withDefaultTheme":[4,"with-default-theme"]}]]],["cpsl-modal-v2",[[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",[[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",[[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",[[1,"cpsl-grid",{"fixed":[4]}]]],["cpsl-identicon",[[1,"cpsl-identicon",{"hash":[1],"size":[2]}]]],["cpsl-info-box",[[1,"cpsl-info-box"]]],["cpsl-row",[[1,"cpsl-row"]]],["cpsl-alert_34",[[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);
|
20
20
|
});
|
21
21
|
|
22
22
|
//# sourceMappingURL=capsule.js.map
|
@@ -44,13 +44,13 @@ const CpslAppBar = class {
|
|
44
44
|
this.zIndexOverride = undefined;
|
45
45
|
}
|
46
46
|
render() {
|
47
|
-
return (h(Host, { key: '
|
47
|
+
return (h(Host, { key: '83a5677faca53632275d65da790b0d2fcffcb6d7', style: Object.assign({
|
48
48
|
// position: this.position,
|
49
49
|
height: `${this.height}px`
|
50
|
-
}, (this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {})) }, h("div", { key: '
|
50
|
+
}, (this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {})) }, h("div", { key: '6c84c5f229abbb608009feb4af18462bb0713ee3', class: "container", part: "container", style: {
|
51
51
|
position: this.position,
|
52
52
|
height: `${this.height}px`,
|
53
|
-
} }, h("slot", { key: '
|
53
|
+
} }, h("slot", { key: '9f80782cbbe90f0ec27f9185abacddf4de994609' })), this.position === 'fixed' && (h("div", { key: '2ceae0a6a31428ec19310a6bd77573c1577832da', style: {
|
54
54
|
height: `${this.height}px`,
|
55
55
|
} }))));
|
56
56
|
}
|
@@ -6258,7 +6258,7 @@ const CpslAvatar = class {
|
|
6258
6258
|
}
|
6259
6259
|
render() {
|
6260
6260
|
var _a;
|
6261
|
-
return (h(Host, { key: '
|
6261
|
+
return (h(Host, { key: 'c148e7d268c681fa6a7273c109b9ab418f433c24' }, h("span", { key: 'd1f977ab0c5d6f6758f84fb33ed9e72d9a1270c9', class: { round: this.variant === 'round' } }, h("img", { key: '3a13f96266ee6476df2154a09b433dcf7ba44daf', src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : 'avatar' }))));
|
6262
6262
|
}
|
6263
6263
|
};
|
6264
6264
|
CpslAvatar.style = CpslAvatarStyle0;
|
@@ -6278,7 +6278,7 @@ const CpslButton = class {
|
|
6278
6278
|
this.variant = 'primary';
|
6279
6279
|
}
|
6280
6280
|
render() {
|
6281
|
-
return (h(Host, { key: '
|
6281
|
+
return (h(Host, { key: '7e2466e0d35b2b63bb487ff71412c48cafd57245', class: {
|
6282
6282
|
// VARIANTS
|
6283
6283
|
'primary': this.variant === 'primary',
|
6284
6284
|
'secondary': this.variant === 'secondary',
|
@@ -6291,7 +6291,7 @@ const CpslButton = class {
|
|
6291
6291
|
// SIZES
|
6292
6292
|
'small': this.size === 'small',
|
6293
6293
|
'medium': this.size === 'medium',
|
6294
|
-
} }, h(this.as, { key: '
|
6294
|
+
} }, h(this.as, { key: 'a514f7924302ed63f1a74299b637e177f796c009', href: this.href, target: this.target, part: "button-native", class: "button-native" }, h("slot", { key: '995350d0172d2335cfc40884b9940d49227c9ef3', name: "start" }), h("slot", { key: '495e18db74d18ffc746509ec63abc0a5f4240928' }), h("slot", { key: '4abf7e19b89214abe3198fcf28126aff695d5b7d', name: "end" }))));
|
6295
6295
|
}
|
6296
6296
|
};
|
6297
6297
|
CpslButton.style = CpslButtonStyle0;
|
@@ -6333,7 +6333,7 @@ const CpslButtonGroup = class {
|
|
6333
6333
|
return this.el.querySelectorAll('&> *:not(cpsl-button)');
|
6334
6334
|
}
|
6335
6335
|
render() {
|
6336
|
-
return (h(Host, { key: '
|
6336
|
+
return (h(Host, { key: '4989ccaf19a47fe6e2847d102380a9deac394c0b' }, h("slot", { key: '06c97fd600969c0b136a5a56a2894f40d58119ef' })));
|
6337
6337
|
}
|
6338
6338
|
get el() { return getElement(this); }
|
6339
6339
|
static get watchers() { return {
|
@@ -6350,7 +6350,7 @@ const CpslCard = class {
|
|
6350
6350
|
registerInstance(this, hostRef);
|
6351
6351
|
}
|
6352
6352
|
render() {
|
6353
|
-
return (h(Host, { key: '
|
6353
|
+
return (h(Host, { key: '8633aeaedaaf81af67835ee3ffc8964ec28ced92' }, h("div", { key: '432fabd329701f8ef51fc43ba0ca8af3d5182a47', class: { card: true }, part: "card-container" }, h("slot", { key: 'a23d1063d0a1c74ebc076fc67b63c4023f7f8565' }))));
|
6354
6354
|
}
|
6355
6355
|
};
|
6356
6356
|
CpslCard.style = CpslCardStyle0;
|
@@ -6368,7 +6368,7 @@ const CpslCheckbox = class {
|
|
6368
6368
|
this.checked = undefined;
|
6369
6369
|
}
|
6370
6370
|
render() {
|
6371
|
-
return (h(Host, { key: '
|
6371
|
+
return (h(Host, { key: 'b5d7963285854a20983f8655c8a9545b8d0735e9' }, h("input", { key: 'b822a505e826f06d47f1da51fff0c7f310d9c9ce', type: "checkbox", checked: this.checked }), h("span", { key: '3747cf548b8d88ceee19eae5c1df78cdc5f9c87e', onClick: this.handleCheckboxClick, class: { container: true, checked: this.checked } }, h("cpsl-icon", { key: '9d5d0cdba4b22bc2167aed23e7748201320a6553', icon: "check" }))));
|
6372
6372
|
}
|
6373
6373
|
};
|
6374
6374
|
CpslCheckbox.style = CpslCheckboxStyle0;
|
@@ -6469,10 +6469,10 @@ const CpslCodeInput = class {
|
|
6469
6469
|
}
|
6470
6470
|
render() {
|
6471
6471
|
var _a;
|
6472
|
-
return (h(Host, { key: '
|
6472
|
+
return (h(Host, { key: '3891d4e998fa56683fc45b4611c68689f2142e52' }, h("div", { key: '2180ef9e96ce1367998cd085219e0cc7fd09a753', class: "code-container" }, new Array(this.length).fill(0).map((_, i) => {
|
6473
6473
|
var _a, _b;
|
6474
6474
|
return (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' }));
|
6475
|
-
})), (this.errorText || this.helperText) && (h("div", { key: '
|
6475
|
+
})), (this.errorText || this.helperText) && (h("div", { key: '9aa97b8ecdc5c7a53aea740146aa6bd526a7f636', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("cpsl-icon", { key: '02bd4abe94e8e79efd9b3179d6b4513d1aad877b', icon: this.errorText ? 'alertCircle' : 'infoCircle' }), h("span", { key: '34f4b082e07315f6fdfad340cf69dbaa6d183339' }, (_a = this.errorText) !== null && _a !== void 0 ? _a : this.helperText)))));
|
6476
6476
|
}
|
6477
6477
|
get el() { return getElement(this); }
|
6478
6478
|
};
|
@@ -6486,7 +6486,7 @@ const CpslDivider = class {
|
|
6486
6486
|
registerInstance(this, hostRef);
|
6487
6487
|
}
|
6488
6488
|
render() {
|
6489
|
-
return (h(Host, { key: '
|
6489
|
+
return (h(Host, { key: 'a6b948fec22a99aa7f247a405f770addccd5ef7c' }, h("div", { key: '2c1090ed0e114b90331fc227fe6c2cafee5a9b31' }), h("slot", { key: '60c4412abf216c23c3649f16792afe63e84387f3' }), h("div", { key: 'aa6fdddc51a03a6e36b262402fcb059a7e35ba57' })));
|
6490
6490
|
}
|
6491
6491
|
};
|
6492
6492
|
CpslDivider.style = CpslDividerStyle0;
|
@@ -6528,12 +6528,12 @@ const CpslDrawer = class {
|
|
6528
6528
|
const setHeight = this.anchor === 'top' || this.anchor === 'bottom';
|
6529
6529
|
const startingAnchor = (_a = `${this.anchorPosition}px`) !== null && _a !== void 0 ? _a : '0px';
|
6530
6530
|
const size = this.size === 'auto' ? 'auto' : `${this.size}px`;
|
6531
|
-
return (h(Host, { key: '
|
6531
|
+
return (h(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: {
|
6532
6532
|
top: this.anchor === 'top',
|
6533
6533
|
bottom: this.anchor === 'bottom',
|
6534
6534
|
left: this.anchor === 'left',
|
6535
6535
|
right: this.anchor === 'right',
|
6536
|
-
} }, this.variant === 'temporary' && !this.noOverlay && h("cpsl-overlay", { key: '
|
6536
|
+
} }, this.variant === 'temporary' && !this.noOverlay && h("cpsl-overlay", { key: '7aa68b6104536d6fb29164c396179aa4f287ce97', open: this.open, zIndexOverride: DEFAULT_Z_INDICES.modal + 1 }), h("div", { key: '5049fe95873339bb4877728c49e0eda4d3158397', id: "container", class: "container", part: "container" }, h("slot", { key: 'c6d76fa8b8e47828c472ed9b876faf49c68a8a29' }))));
|
6537
6537
|
}
|
6538
6538
|
get el() { return getElement(this); }
|
6539
6539
|
};
|
@@ -6887,6 +6887,13 @@ const File = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke
|
|
6887
6887
|
</svg>
|
6888
6888
|
`;
|
6889
6889
|
|
6890
|
+
const Folder = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
6891
|
+
<g id="folder">
|
6892
|
+
<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"/>
|
6893
|
+
</g>
|
6894
|
+
</svg>
|
6895
|
+
`;
|
6896
|
+
|
6890
6897
|
const GithubBrand = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
6891
6898
|
<g clip-path="url(#clip0_106_21439)">
|
6892
6899
|
<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"/>
|
@@ -7077,6 +7084,31 @@ const HeroPhone = `<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64
|
|
7077
7084
|
<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"/>
|
7078
7085
|
</svg>`;
|
7079
7086
|
|
7087
|
+
const HeroPlusCircleCapsule = `<svg width="40" height="41" viewBox="0 0 40 41" fill="none" xmlns="http://www.w3.org/2000/svg">
|
7088
|
+
<g id="plus-circle">
|
7089
|
+
<g id="Icon">
|
7090
|
+
<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"/>
|
7091
|
+
</g>
|
7092
|
+
</g>
|
7093
|
+
<defs>
|
7094
|
+
<linearGradient id="paint0_linear_1604_26695" x1="36.4761" y1="20.3893" x2="3.52374" y2="20.3893" gradientUnits="userSpaceOnUse">
|
7095
|
+
<stop stop-color="#BC82F3"/>
|
7096
|
+
<stop offset="0.485" stop-color="#FF6778"/>
|
7097
|
+
<stop offset="1" stop-color="#FFBA71"/>
|
7098
|
+
</linearGradient>
|
7099
|
+
</defs>
|
7100
|
+
</svg>
|
7101
|
+
`;
|
7102
|
+
|
7103
|
+
const HeroPlusCircle = `<svg width="40" height="41" viewBox="0 0 40 41" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7104
|
+
<g id="plus-circle">
|
7105
|
+
<g id="Icon">
|
7106
|
+
<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"/>
|
7107
|
+
</g>
|
7108
|
+
</g>
|
7109
|
+
</svg>
|
7110
|
+
`;
|
7111
|
+
|
7080
7112
|
const HeroWallet = `<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" fill="none">
|
7081
7113
|
<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"/>
|
7082
7114
|
<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"/>
|
@@ -7246,8 +7278,7 @@ const PlusCircle = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
7246
7278
|
<g id="plus-circle">
|
7247
7279
|
<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"/>
|
7248
7280
|
</g>
|
7249
|
-
</svg
|
7250
|
-
`;
|
7281
|
+
</svg>`;
|
7251
7282
|
|
7252
7283
|
const PuzzlePiece = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
7253
7284
|
<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"/>
|
@@ -11421,7 +11452,7 @@ const ZW = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
|
|
11421
11452
|
</svg>
|
11422
11453
|
`;
|
11423
11454
|
|
11424
|
-
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, };
|
11455
|
+
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, };
|
11425
11456
|
|
11426
11457
|
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;}";
|
11427
11458
|
const CpslDropdownStyle0 = cpslDropdownCss;
|
@@ -11522,7 +11553,7 @@ const CpslDropdown = class {
|
|
11522
11553
|
}
|
11523
11554
|
render() {
|
11524
11555
|
var _a, _b, _c;
|
11525
|
-
return (h(Host, { key: '
|
11556
|
+
return (h(Host, { key: '351276cd3f2f3170a074810279edefb3880b1e3e' }, 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}`, h("div", { key: 'af68dc8729ed048ee14b49ba756b115e414feb3e', class: `chevron ${this.isOpen ? '' : 'closed'}`, innerHTML: Icons['chevronUp'] })), h("ul", { key: 'dc2f7f50a072af503d81ca77e543571871647b5d', class: { 'dropdown-options': true, 'open': this.isOpen }, style: { width: this.width } }, this.hasCpslSearch && (h("li", { key: '7e2e9270927bcdac083849389e9423d502fec40b', class: "search-bar" }, h("input", { key: '003e9aae15f7c9e5b11fa2aa3f9aeb93c1492a04', type: "text", placeholder: "Search...", value: this.searchQuery, onInput: this.handleSearchQueryChange }))), this.filteredItems.map(item => (h("li", { onClick: this.handleItemSelect(item) }, h("span", { innerHTML: Icons[item.icon] }), item.label, " ", h("span", { class: "dropdown-value" }, item.value)))))));
|
11526
11557
|
}
|
11527
11558
|
get el() { return getElement(this); }
|
11528
11559
|
static get watchers() { return {
|
@@ -11657,7 +11688,7 @@ const CpslFileUpload = class {
|
|
11657
11688
|
}
|
11658
11689
|
render() {
|
11659
11690
|
var _a, _b, _c;
|
11660
|
-
return (h(Host, { key: '
|
11691
|
+
return (h(Host, { key: '18e0096b27a8b805ee94f525ace13457349f16f3' }, this.label && (h("label", { key: '22a099ae4179b2cead6c9835123bcf4e365833e9', class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("slot", { key: 'fc02c2a0aa82d896d50045cfc10f45cf3d86e321', name: "label" }), h("div", { key: '31e50d9d7249f4700d33a9164b39050d8909efba', class: { 'container': true, 'error': Boolean(this.errorText), 'drag': this.dragOver, 'drag-error': this.dragError } }, h("div", { key: '9546b0675d270df3a24fa3cd6ee88fd4871b55de', class: { 'label-container': true } }, h("slot", { key: 'd9c1581dbad76b3ef0b1b90b8b455d0c0691ed89', name: "left-content" })), h("div", { key: 'f97421c4e415b1b5e634d494eebf964d12ee206c', class: { 'file-container': true } }, this.FileContent), 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) && (h("div", { key: '146a25dc2a19ed98649e7af450b700c4009975c9', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", { key: '83df60cdc393902f62e9766dc06ea0065aca11fe' }, (_c = this.errorText) !== null && _c !== void 0 ? _c : this.helperText)))));
|
11661
11692
|
}
|
11662
11693
|
get el() { return getElement(this); }
|
11663
11694
|
};
|
@@ -14387,49 +14418,27 @@ const CpslInput = class {
|
|
14387
14418
|
let inputIds$1 = 0;
|
14388
14419
|
CpslInput.style = CpslInputStyle0;
|
14389
14420
|
|
14390
|
-
const cpslNavButtonGroupCss = ":host{display:flex;flex-direction:column;gap:8px;padding:0px 16px;box-sizing:border-box;width:100%}
|
14421
|
+
const cpslNavButtonGroupCss = ":host{display:flex;flex-direction:column;gap:8px;padding:0px 16px;box-sizing:border-box;width:100%}";
|
14391
14422
|
const CpslNavButtonGroupStyle0 = cpslNavButtonGroupCss;
|
14392
14423
|
|
14393
14424
|
const CpslNavButtonGroup = class {
|
14394
14425
|
constructor(hostRef) {
|
14395
14426
|
registerInstance(this, hostRef);
|
14396
|
-
this.selectedId = undefined;
|
14397
|
-
}
|
14398
|
-
selectItem() {
|
14399
|
-
this.buttonSlots.forEach(item => {
|
14400
|
-
if (item.id === this.selectedId) {
|
14401
|
-
item.classList.add('selected');
|
14402
|
-
}
|
14403
|
-
else {
|
14404
|
-
item.classList.remove('selected');
|
14405
|
-
}
|
14406
|
-
});
|
14407
14427
|
}
|
14408
14428
|
componentWillRender() {
|
14409
14429
|
var _a;
|
14410
|
-
this.buttonSlots.forEach(item => {
|
14411
|
-
item.setAttribute('variant', 'primary');
|
14412
|
-
item.setAttribute('full-width', 'true');
|
14413
|
-
this.selectItem();
|
14414
|
-
});
|
14415
14430
|
if ((_a = this.otherSlots) === null || _a === void 0 ? void 0 : _a.length) {
|
14416
14431
|
console.error('cpsl-button is the only valid child of cpsl-nav-button-group');
|
14417
14432
|
this.otherSlots.forEach(item => item.remove());
|
14418
14433
|
}
|
14419
14434
|
}
|
14420
|
-
get buttonSlots() {
|
14421
|
-
return this.el.querySelectorAll('cpsl-button');
|
14422
|
-
}
|
14423
14435
|
get otherSlots() {
|
14424
|
-
return this.el.querySelectorAll('&> *:not(cpsl-button)');
|
14436
|
+
return this.el.querySelectorAll('&> *:not(cpsl-nav-button)');
|
14425
14437
|
}
|
14426
14438
|
render() {
|
14427
|
-
return (h(Host, { key: '
|
14439
|
+
return (h(Host, { key: '4aa96990f1b24508533fc512cc06f5ff0911baf9' }, h("slot", { key: '3f4a145df12c37a350c2593534b7cbf3cdae6d51' })));
|
14428
14440
|
}
|
14429
14441
|
get el() { return getElement(this); }
|
14430
|
-
static get watchers() { return {
|
14431
|
-
"selectedId": ["selectItem"]
|
14432
|
-
}; }
|
14433
14442
|
};
|
14434
14443
|
CpslNavButtonGroup.style = CpslNavButtonGroupStyle0;
|
14435
14444
|
|
@@ -14465,7 +14474,7 @@ const CpslOverlay = class {
|
|
14465
14474
|
}
|
14466
14475
|
}
|
14467
14476
|
render() {
|
14468
|
-
return (h(Host, { key: '
|
14477
|
+
return (h(Host, { key: 'b961b8fa9583a3d0855fff965610bdb30a6a9231', style: this.zIndexOverride ? { zIndex: `${this.zIndexOverride}` } : {} }, h("slot", { key: '0e5a866a9ef2ac37eddc6cd943ab408e482e3dbf' })));
|
14469
14478
|
}
|
14470
14479
|
get el() { return getElement(this); }
|
14471
14480
|
static get watchers() { return {
|
@@ -14551,7 +14560,7 @@ const CpslPagination = class {
|
|
14551
14560
|
filteredPages.push(this.totalPages - 1);
|
14552
14561
|
}
|
14553
14562
|
}
|
14554
|
-
return (h(Host, { key: '
|
14563
|
+
return (h(Host, { key: '24a1919b5a936df86951901cef42104107c7f16b' }, h("cpsl-button-group", { key: 'cd9846ba915b7e4e685497d5fd93d5052d7ddda5', selectedId: `${this.currentPage}` }, h("cpsl-button", { key: '59c1c038b27f92e72cc6836ede8f7728ff69964c', class: "arrow-button", onClick: this.handlePrevClick }, h("cpsl-icon", { key: 'fc53e604c8a468a4910696679d6a26dee92d8ec3', class: { 'icon': true, 'start-icon': true }, icon: "arrowNarrow" })), filteredPages.map(page => (h("cpsl-button", { key: page, variant: "secondary", fullWidth: true, id: `${page}`, onClick: this.handlePageClick(page) }, h("cpsl-text", { variant: "bodyS" }, page + 1)))), h("cpsl-button", { key: '42db7906c429f9cb29570899d65391524a95de92', class: "arrow-button", onClick: this.handleNextClick }, h("cpsl-icon", { key: 'e7d4750e2116a7658bb60a3dd31567b581249637', class: "icon", icon: "arrowNarrow" })))));
|
14555
14564
|
}
|
14556
14565
|
static get watchers() { return {
|
14557
14566
|
"currentPage": ["watchChange"]
|
@@ -14568,7 +14577,7 @@ const CpslPill = class {
|
|
14568
14577
|
this.text = undefined;
|
14569
14578
|
}
|
14570
14579
|
render() {
|
14571
|
-
return (h(Host, { key: '
|
14580
|
+
return (h(Host, { key: '7c548025bd8f95e1bc362d48b8b18bde61bf599f' }, h("div", { key: '9d0fc1ea1f56147a153a20539f0b47cdd1b27ac7', class: "pill-container" }, h("span", { key: 'ded742a126bbd0199358ee0780edbcb543e33a3d' }, this.text))));
|
14572
14581
|
}
|
14573
14582
|
};
|
14574
14583
|
CpslPill.style = CpslPillStyle0;
|
@@ -14791,7 +14800,7 @@ const CpslPopover = class {
|
|
14791
14800
|
}
|
14792
14801
|
render() {
|
14793
14802
|
var _a;
|
14794
|
-
return (h(Host, { key: '
|
14803
|
+
return (h(Host, { key: '4dacecdf53095dc60e8c0b554f383b185f268488', class: {
|
14795
14804
|
'open': this.open,
|
14796
14805
|
'transform-h-left': this.transformOriginHorizontal === 'left',
|
14797
14806
|
'transform-h-center': this.transformOriginHorizontal === 'center',
|
@@ -14799,7 +14808,7 @@ const CpslPopover = class {
|
|
14799
14808
|
'transform-v-top': this.transformOriginVertical === 'top',
|
14800
14809
|
'transform-v-center': this.transformOriginVertical === 'center',
|
14801
14810
|
'transform-v-bottom': this.transformOriginVertical === 'bottom',
|
14802
|
-
}, 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` } }, h("div", { key: '
|
14811
|
+
}, 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` } }, h("div", { key: '0182e8d56731f9c1d321805afdec731db869f8fb', id: "container", class: { container: true, open: this.open } }, h("slot", { key: 'bb77f0561fa9e3749a9867a6959330efe6fa47f9' }))));
|
14803
14812
|
}
|
14804
14813
|
get el() { return getElement(this); }
|
14805
14814
|
static get watchers() { return {
|
@@ -18945,7 +18954,7 @@ const CpslQrCode = class {
|
|
18945
18954
|
return this.el.shadowRoot.getElementById('qr-code');
|
18946
18955
|
}
|
18947
18956
|
render() {
|
18948
|
-
return (h(Host, { key: '
|
18957
|
+
return (h(Host, { key: '96d7c968c8a48732a6f39dd447f542aeabda0895' }, h("div", { key: '94309968063a64eb0d7fb8f1882d02b45e6f3c4a', id: "qr-container", class: "qr-container", style: { width: `${this.size}px`, height: `${this.size}px` } }, h("img", { key: 'fa2da4ea3b1c4538c93b69f4180f5fa10b32b9b4', id: "qr-code", class: "qr-code" }))));
|
18949
18958
|
}
|
18950
18959
|
get el() { return getElement(this); }
|
18951
18960
|
};
|
@@ -18966,7 +18975,7 @@ const CpslRadio = class {
|
|
18966
18975
|
this.checked = undefined;
|
18967
18976
|
}
|
18968
18977
|
render() {
|
18969
|
-
return (h(Host, { key: '
|
18978
|
+
return (h(Host, { key: '4d81b183fd96250737983514d7f1bebc6fcad8cd' }, h("input", { key: '406a10e3632ad5d63ba5bc7eeee8ee6872850e27', type: "radio", checked: this.checked }), h("span", { key: '9adf7dfc9d57b9cbfd66be28e2153b9cf2ba527d', onClick: this.handleRadioClick, class: { container: true, checked: this.checked } })));
|
18970
18979
|
}
|
18971
18980
|
};
|
18972
18981
|
CpslRadio.style = CpslRadioStyle0;
|
@@ -19067,10 +19076,10 @@ const CpslSelect = class {
|
|
19067
19076
|
}
|
19068
19077
|
render() {
|
19069
19078
|
var _a, _b, _c, _d, _e;
|
19070
|
-
return (h(Host, { key: '
|
19079
|
+
return (h(Host, { key: '6a81638f5f4fc6a4904bfb01474124b5534e7515', id: this.id, class: { 'disabled': this.disabled, 'focused': this.hasFocus, 'has-value': Boolean(this.selectedValue) } }, this.label && (h("label", { key: '1b1e485332bedaf9d63131a61ecedde9cc510b96', class: "label", htmlFor: this.inputId }, this.label, this.required ? '*' : ' ', !this.required && this.showOptionalLabel ? h("span", { class: "optional-label" }, "(optional)") : '')), h("div", { key: '2d67247a261f54a307f740623892087ddf8df59e', id: "select-container", class: { 'select-container': true, 'error-container': Boolean(this.errorText) }, onMouseDown: this.handleClick }, this.hasSelectedItem && this.showFormattedSelectedItem && h("slot", { key: '6b4ac55de19f37c930990f434c6c75375942b5ce', name: "selected-item" }), h("div", { key: 'd55ee9754b382167d1dda4c4f6b6b9440331e723', class: { 'selected-container-content': true, 'hidden': this.hasSelectedItem && this.showFormattedSelectedItem }, id: "selected-container-content", style: {} }, (!this.hasSelectedItem || !this.showFormattedSelectedItem) && (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)))), h("cpsl-icon", { key: 'cd12c1f52e9db3451bcc2bdc332763ab31b589f2', class: { 'chevron': true, 'open': this.popoverOpen, 'has-value': Boolean(this.selectedValue) }, icon: "chevronUp" }), 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) && (h("div", { key: '6322d6bbcd082a80deb2addcb5a490b2540749a4', class: { 'helper-text-container': true, 'error-text': Boolean(this.errorText) } }, h("span", { key: 'd84673209ebace8a213866b5ba8f8ded5122fbd9' }, (_d = this.errorText) !== null && _d !== void 0 ? _d : this.helperText))), h("cpsl-popover", { key: 'ae8543628b0426d66f2c74b8c05d7fa108495c14', part: "popover", autoWidth: this.autoWidth, trigger: this.id, preventBlur: this.hasFocus, disabled: this.disabled, anchorEl: this.anchorEl }, h("div", { key: '793a2efe39d096a6b60cabab4918faf275eff398', part: "dropdown", class: "dropdown" }, this.showSearch && (h("div", { key: 'd4d1249ee84a5cad5555c1bb48b699a8c78bcebe', class: "search-container" }, h("cpsl-input", { key: '03fa4e3e71014bdd6247634eff47620a89fc1346', onClick: e => e.stopPropagation(), placeholder: (_e = this.searchPlaceholder) !== null && _e !== void 0 ? _e : 'Search', value: "", onCpslInput: e => {
|
19071
19080
|
e.stopPropagation();
|
19072
19081
|
this.cpslSearchChange.emit(e.detail.value);
|
19073
|
-
} }))), h("div", { key: '
|
19082
|
+
} }))), h("div", { key: '703ef09d6b630caac1573c16bbdca7d52a2e8277', class: "dropdown-inner", style: { maxHeight: `${this.dropdownMaxHeight}px` } }, h("slot", { key: 'd4ae08aeadc9057ec4b3c40454bf3b619b0f4e6b', name: "items" }))))));
|
19074
19083
|
}
|
19075
19084
|
get el() { return getElement(this); }
|
19076
19085
|
static get watchers() { return {
|
@@ -19094,7 +19103,7 @@ const CpslSelectItem = class {
|
|
19094
19103
|
this.value = undefined;
|
19095
19104
|
}
|
19096
19105
|
render() {
|
19097
|
-
return (h(Host, { key: '
|
19106
|
+
return (h(Host, { key: '118f17cd1cf7f23d9d9bb8d1fd6b882f7d4b31d9' }, h("div", { key: '77735d41c9506decec079d229890f9bb40400fe3', part: "outer-container", class: "outer-container", onClick: this.handleItemClick }, h("div", { key: 'fe1d074764d4ac9e819bbc13071cd15475942580', part: "inner-container", class: { 'inner-container': true, 'selected': this.selected } }, h("slot", { key: '168bc2ed66c9afb18f1355a52d164776e6833453' })))));
|
19098
19107
|
}
|
19099
19108
|
};
|
19100
19109
|
CpslSelectItem.style = CpslSelectItemStyle0;
|
@@ -19230,7 +19239,7 @@ const CpslSlideButton = class {
|
|
19230
19239
|
return this.el.shadowRoot.getElementById('end-icon');
|
19231
19240
|
}
|
19232
19241
|
render() {
|
19233
|
-
return (h(Host, { key: '
|
19242
|
+
return (h(Host, { key: 'd113db26952e865b214817123a2c5311ea40c7f2' }, h("div", { key: '5009f80827f116a04a2c764164bc8e6ab53f7b09', id: "slider-container", class: "slider-container" }, h("div", { key: '498c19112ce88898e382af17b1a3b726bf6bab37', id: "start-slider-container-background", class: { 'start-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '387a3b044c0e9425426a96c5485b43c3dc17732a', id: "end-slider-container-background", class: { 'end-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '2c7fcbb1ff171096e46520b7877b90eaad97f6dc', id: "slider", class: { slider: true, disabled: this.disabled } }, h("cpsl-icon", { key: '209bfe654df6c612b1d2e55245f89e921192a0a4', id: "start-icon", class: { 'start-icon': true, 'icon': true }, icon: this.startIcon }), h("cpsl-icon", { key: 'cf1fb641be67535769983285d42f78dac09b5c04', id: "end-icon", class: { 'end-icon': true, 'icon': true }, icon: this.endIcon })), h("span", { key: '929a0f8a60dcb0b7348854a851ff124416dcae89', id: "start-text", class: { 'start-text': true, 'disabled': this.disabled } }, this.startText), h("span", { key: '88f760b8b01b79507cdd9802b3bd895b51cd4c9a', id: "end-text", class: "end-text" }, this.endText))));
|
19234
19243
|
}
|
19235
19244
|
get el() { return getElement(this); }
|
19236
19245
|
};
|
@@ -19246,11 +19255,11 @@ const CpslSpinner = class {
|
|
19246
19255
|
this.speed = 1;
|
19247
19256
|
}
|
19248
19257
|
render() {
|
19249
|
-
return (h(Host, { key: '
|
19258
|
+
return (h(Host, { key: '3c1bd9555de17d17db2b967bec28640b92c84e0b', style: {
|
19250
19259
|
height: `${this.size}px`,
|
19251
19260
|
width: `${this.size}px`,
|
19252
19261
|
['--bar-width']: `${this.size * 0.12}px`,
|
19253
|
-
} }, h("div", { key: '
|
19262
|
+
} }, h("div", { key: 'ce908c40d3c48e4c2817baa930708c7ef5bca104', class: "loader" })));
|
19254
19263
|
}
|
19255
19264
|
};
|
19256
19265
|
CpslSpinner.style = CpslSpinnerStyle0;
|
@@ -19268,7 +19277,7 @@ const CpslSwitch = class {
|
|
19268
19277
|
this.checked = undefined;
|
19269
19278
|
}
|
19270
19279
|
render() {
|
19271
|
-
return (h(Host, { key: '
|
19280
|
+
return (h(Host, { key: '9f3df7dc3a9fdee1f7ad04dfafa41ee64310d4e5' }, h("input", { key: 'f63bc6b3feda7d6c043b5c5763c6c49b98445b76', type: "checkbox", checked: this.checked }), h("span", { key: 'f31f4df2854847231b18d9528c383e1d582aac32', onClick: this.handleSwitchClick, class: { container: true, checked: this.checked } }, h("span", { key: 'b77e55f0a52c64cf69a966d7617baf638d307509', class: { thumb: true, checked: this.checked } }))));
|
19272
19281
|
}
|
19273
19282
|
};
|
19274
19283
|
CpslSwitch.style = CpslSwitchStyle0;
|
@@ -19300,7 +19309,7 @@ const CpslTab = class {
|
|
19300
19309
|
}
|
19301
19310
|
}
|
19302
19311
|
render() {
|
19303
|
-
return (h(Host, { key: '
|
19312
|
+
return (h(Host, { key: '8e328273952683b951987862e3bc150b9f0e458a', class: { selected: this.selected }, onClick: this.onTabClicked }, h("div", { key: '67e757f56830cc045365fb83720c348bc2615600', class: { 'tab-container': true } }, h("slot", { key: '577c4dc8bed2463c5704e93b2150f7b3fbacf99d', name: "start" }), h("div", { key: 'c0491aa4088daa2b93d586a51035c8df343d4080', class: "content" }, h("slot", { key: 'bf626d99110505a46005c4aca78c78132c9c4c7a' })), h("slot", { key: 'a0caabcef60786ec094e240c671e18256385ceed', name: "end" }))));
|
19304
19313
|
}
|
19305
19314
|
get el() { return getElement(this); }
|
19306
19315
|
};
|
@@ -19358,7 +19367,7 @@ const CpslTable = class {
|
|
19358
19367
|
return this.el.shadowRoot.getElementById('footer-container');
|
19359
19368
|
}
|
19360
19369
|
render() {
|
19361
|
-
return (h(Host, { key: '
|
19370
|
+
return (h(Host, { key: '7e73151d02a5fefb247f46cb8432dd444aa51f64' }, h("cpsl-card", { key: 'a56fc2c5af882cf639678aff59f48bc5b214cb20', part: "table-container", style: { position: 'relative' } }, h("div", { key: '2c3b2adbc4f9e53b0f5bb6f54fd57274a3c65ad8', id: "header-container", class: { 'container-header': true, 'shown': Boolean(this.containerHeaderEl) } }, h("slot", { key: '081d09a72e3466abddc1044a55efb673f3f31d65', name: "header" })), h("div", { key: 'f1eb55896339f7cf76118674ef4bb5eeecc361de', id: "content-container", class: { 'content': true, 'horizontal-scroll': this.hasHorizontalScroll, 'vertical-scroll': this.hasVerticalScroll }, part: "content" }, h("slot", { key: 'a97dbb166f96995cb427b389d11099e0142df7c6', name: "content" })), this.headerEl && this.contentContainerEl && this.footerEl && (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 } })), h("div", { key: '83a7124205502fbcf9dcabbf898b3b713f544b2a', id: "footer-container", class: { 'container-footer': true, 'shown': Boolean(this.containerFooterEl) } }, h("slot", { key: '8b2e34e79eb1f5b90a2ddabcc280f7f3e14f7fc7', name: "footer" })))));
|
19362
19371
|
}
|
19363
19372
|
get el() { return getElement(this); }
|
19364
19373
|
};
|
@@ -19420,7 +19429,7 @@ const CpslTabs = class {
|
|
19420
19429
|
// Get border width as a number
|
19421
19430
|
const tabsBorderWidth = +getComputedStyle(this.el).getPropertyValue('--tabs-border-width').slice(0, -2);
|
19422
19431
|
const selectedTabRect = this.selectedTabRect;
|
19423
|
-
return (h(Host, { key: '
|
19432
|
+
return (h(Host, { key: '417538a8b708500bb349f92dbd6d32c96c3b2aa4', class: { 'full-width': this.fullWidth }, onCpslTabButtonClick: this.onTabClicked }, h("div", { key: '5603d8c21be4f81c4e8130c57b74dfb33735fe00', class: "tabs-container" }, h("slot", { key: 'e432e3e83b888cfe46b3405f3a6e30dcdf599f5e' }), h("div", { key: '2596ad8129152f52e2e81418b41715460035cca0', class: { slider: true, loaded: this.loaded }, style: { width: `${selectedTabRect.width - 8}px`, left: `${selectedTabRect.x - tabsPosition.x - tabsBorderWidth}px` } }))));
|
19424
19433
|
}
|
19425
19434
|
get el() { return getElement(this); }
|
19426
19435
|
static get watchers() { return {
|
@@ -19470,7 +19479,7 @@ const CpslText = class {
|
|
19470
19479
|
}
|
19471
19480
|
}
|
19472
19481
|
render() {
|
19473
|
-
return (h(Host, { key: '
|
19482
|
+
return (h(Host, { key: '51c48bf366ab1bc846c81c605abdca047b586abf', class: {
|
19474
19483
|
// COLORS
|
19475
19484
|
'primary': this.color === 'primary',
|
19476
19485
|
'secondary': this.color === 'secondary',
|
@@ -19511,7 +19520,7 @@ const CpslTileButton = class {
|
|
19511
19520
|
this.icon = undefined;
|
19512
19521
|
}
|
19513
19522
|
render() {
|
19514
|
-
return (h(Host, { key: '
|
19523
|
+
return (h(Host, { key: '9b7604660ea591bc8d71208e94e0a40f9b48788a' }, h("button", { key: 'b90ac28749497785e2248900961b743681ac4540', class: "button-native" }, h("cpsl-icon", { key: 'ae19d819c00852f4b46da2d5bec2d26bd6327854', exportparts: "icon", src: this.src, icon: this.icon }), h("slot", { key: '346b407b513dd42fdf09d5361e79e071a289c4d3' }))));
|
19515
19524
|
}
|
19516
19525
|
};
|
19517
19526
|
CpslTileButton.style = CpslTileButtonStyle0;
|