@usecapsule/core-components 3.3.1-dev.0 → 3.4.0-dev.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/dist/capsule/capsule.esm.js +1 -1
  2. package/dist/capsule/capsule.esm.js.map +1 -1
  3. package/dist/capsule/p-9e64a60e.entry.js +2 -0
  4. package/dist/capsule/p-9e64a60e.entry.js.map +1 -0
  5. package/dist/capsule/p-afbb1e6f.entry.js +20 -0
  6. package/dist/capsule/p-afbb1e6f.entry.js.map +1 -0
  7. package/dist/capsule/{p-32cdf894.entry.js → p-b96e357a.entry.js} +2 -2
  8. package/dist/capsule/p-b96e357a.entry.js.map +1 -0
  9. package/dist/capsule/p-cfc382c0.entry.js +2 -0
  10. package/dist/capsule/{p-de2a16e4.entry.js → p-d165df27.entry.js} +2 -2
  11. package/dist/capsule/{p-41bc3c58.entry.js → p-f0cd0482.entry.js} +2 -2
  12. package/dist/cjs/capsule.cjs.js +1 -1
  13. package/dist/cjs/cpsl-alert_34.cjs.entry.js +74 -65
  14. package/dist/cjs/cpsl-alert_34.cjs.entry.js.map +1 -1
  15. package/dist/cjs/cpsl-col.cjs.entry.js +1 -1
  16. package/dist/cjs/cpsl-grid.cjs.entry.js +2 -2
  17. package/dist/cjs/cpsl-hero.cjs.entry.js +4 -3
  18. package/dist/cjs/cpsl-hero.cjs.entry.js.map +1 -1
  19. package/dist/cjs/cpsl-nav-button.cjs.entry.js +40 -0
  20. package/dist/cjs/cpsl-nav-button.cjs.entry.js.map +1 -0
  21. package/dist/cjs/cpsl-row.cjs.entry.js +1 -1
  22. package/dist/cjs/index-65f57499.js +4 -4
  23. package/dist/cjs/loader.cjs.js +1 -1
  24. package/dist/collection/assets/icons/folder.svg +5 -0
  25. package/dist/collection/assets/icons/hero-plus-circle-capsule.svg +14 -0
  26. package/dist/collection/assets/icons/hero-plus-circle.svg +7 -0
  27. package/dist/collection/assets/icons/index.js +4 -1
  28. package/dist/collection/assets/icons/index.js.map +1 -1
  29. package/dist/collection/assets/icons/plus-circle.svg +1 -1
  30. package/dist/collection/collection-manifest.json +1 -1
  31. package/dist/collection/components/cpsl-alert/cpsl-alert.js +1 -1
  32. package/dist/collection/components/cpsl-animation/cpsl-animation.js +44 -104
  33. package/dist/collection/components/cpsl-animation/cpsl-animation.js.map +1 -1
  34. package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +3 -3
  35. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.css +3 -0
  36. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js +1 -1
  37. package/dist/collection/components/cpsl-auth-modal/cpsl-auth-modal.js.map +1 -1
  38. package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
  39. package/dist/collection/components/cpsl-button/cpsl-button.js +2 -2
  40. package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
  41. package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
  42. package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
  43. package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
  44. package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
  45. package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
  46. package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +2 -2
  47. package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
  48. package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +1 -1
  49. package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
  50. package/dist/collection/components/cpsl-hero/cpsl-hero.css +29 -2
  51. package/dist/collection/components/cpsl-hero/cpsl-hero.js +6 -5
  52. package/dist/collection/components/cpsl-hero/cpsl-hero.js.map +1 -1
  53. package/dist/collection/components/cpsl-icon/cpsl-icon.js +1 -1
  54. package/dist/collection/components/cpsl-input/cpsl-input.js +1 -1
  55. package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.css +107 -0
  56. package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js +175 -0
  57. package/dist/collection/components/cpsl-nav-button/cpsl-nav-button.js.map +1 -0
  58. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.css +0 -42
  59. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +2 -50
  60. package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js.map +1 -1
  61. package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
  62. package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
  63. package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
  64. package/dist/collection/components/cpsl-popover/cpsl-popover.js +2 -2
  65. package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
  66. package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
  67. package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
  68. package/dist/collection/components/cpsl-select/cpsl-select.js +2 -2
  69. package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -1
  70. package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +1 -1
  71. package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
  72. package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
  73. package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
  74. package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
  75. package/dist/collection/components/cpsl-table/cpsl-table.js +1 -1
  76. package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
  77. package/dist/collection/components/cpsl-text/cpsl-text.js +1 -1
  78. package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
  79. package/dist/esm/capsule.js +1 -1
  80. package/dist/esm/cpsl-alert_34.entry.js +74 -65
  81. package/dist/esm/cpsl-alert_34.entry.js.map +1 -1
  82. package/dist/esm/cpsl-col.entry.js +1 -1
  83. package/dist/esm/cpsl-grid.entry.js +2 -2
  84. package/dist/esm/cpsl-hero.entry.js +4 -3
  85. package/dist/esm/cpsl-hero.entry.js.map +1 -1
  86. package/dist/esm/cpsl-nav-button.entry.js +36 -0
  87. package/dist/esm/cpsl-nav-button.entry.js.map +1 -0
  88. package/dist/esm/cpsl-row.entry.js +1 -1
  89. package/dist/esm/index-91db3414.js +4 -4
  90. package/dist/esm/loader.js +1 -1
  91. package/dist/types/assets/icons/index.d.ts +3 -0
  92. package/dist/types/components/cpsl-animation/cpsl-animation.d.ts +0 -15
  93. package/dist/types/components/cpsl-hero/cpsl-hero.d.ts +2 -2
  94. package/dist/types/components/cpsl-nav-button/cpsl-nav-button.d.ts +43 -0
  95. package/dist/types/components/cpsl-nav-button-group/cpsl-nav-button-group.d.ts +0 -6
  96. package/dist/types/components.d.ts +85 -33
  97. package/package.json +2 -3
  98. package/dist/capsule/p-0e558c7f.entry.js +0 -10
  99. package/dist/capsule/p-0e558c7f.entry.js.map +0 -1
  100. package/dist/capsule/p-32cdf894.entry.js.map +0 -1
  101. package/dist/capsule/p-3b042fd1.entry.js +0 -2
  102. package/dist/capsule/p-60508b1e.entry.js +0 -20
  103. package/dist/capsule/p-60508b1e.entry.js.map +0 -1
  104. package/dist/cjs/cpsl-animation.cjs.entry.js +0 -20133
  105. package/dist/cjs/cpsl-animation.cjs.entry.js.map +0 -1
  106. package/dist/collection/components/cpsl-animation/cpsl-animation.css +0 -17
  107. package/dist/esm/cpsl-animation.entry.js +0 -20129
  108. package/dist/esm/cpsl-animation.entry.js.map +0 -1
  109. /package/dist/capsule/{p-3b042fd1.entry.js.map → p-cfc382c0.entry.js.map} +0 -0
  110. /package/dist/capsule/{p-de2a16e4.entry.js.map → p-d165df27.entry.js.map} +0 -0
  111. /package/dist/capsule/{p-41bc3c58.entry.js.map → p-f0cd0482.entry.js.map} +0 -0
  112. /package/dist/types/Users/{taylorbosch/Documents/GitHub/Capsule → norwood/capsule-repos}/web-sdk/packages/core-components/.stencil/scripts/buildAssets.d.ts +0 -0
@@ -1,2 +1,2 @@
1
- import{p as e,b as t}from"./p-fa6b7678.js";export{s as setNonce}from"./p-fa6b7678.js";import{g as l}from"./p-e1255160.js";var r=()=>{const t=import.meta.url;const l={};if(t!==""){l.resourcesUrl=new URL(".",t).href}return e(l)};r().then((async e=>{await l();return t([["p-32cdf894",[[1,"cpsl-hero",{height:[2],hideFadeOut:[4,"hide-fade-out"],variant:[513],title:[513],subtitle:[513],withDefaultTheme:[4,"with-default-theme"]}]]],["p-1bd11889",[[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"]}]]],["p-0e558c7f",[[1,"cpsl-animation",{src:[1],replayAnimation:[64]}]]],["p-41bc3c58",[[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"]]]]],["p-de2a16e4",[[1,"cpsl-grid",{fixed:[4]}]]],["p-5d62e610",[[1,"cpsl-identicon",{hash:[1],size:[2]}]]],["p-5965b15e",[[1,"cpsl-info-box"]]],["p-3b042fd1",[[1,"cpsl-row"]]],["p-60508b1e",[[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",{selectedId:[1,"selected-id"]},null,{selectedId:["selectItem"]}],[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",{as:[1],disabled:[516],fullWidth:[4,"full-width"],href:[1],size:[1],target:[1],variant:[513]}],[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-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]}]]]],e)}));
1
+ import{p as e,b as t}from"./p-fa6b7678.js";export{s as setNonce}from"./p-fa6b7678.js";import{g as a}from"./p-e1255160.js";var l=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};l().then((async e=>{await a();return t([["p-b96e357a",[[1,"cpsl-hero",{height:[2],hideFadeOut:[4,"hide-fade-out"],variant:[513],title:[513],subtitle:[513],withDefaultTheme:[4,"with-default-theme"]}]]],["p-1bd11889",[[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"]}]]],["p-9e64a60e",[[1,"cpsl-nav-button",{disabled:[516],exactMainRouteMatch:[4,"exact-main-route-match"],exactSubRouteMatch:[4,"exact-sub-route-match"],route:[1],subRoutes:[16],path:[1]}]]],["p-f0cd0482",[[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"]]]]],["p-d165df27",[[1,"cpsl-grid",{fixed:[4]}]]],["p-5d62e610",[[1,"cpsl-identicon",{hash:[1],size:[2]}]]],["p-5965b15e",[[1,"cpsl-info-box"]]],["p-cfc382c0",[[1,"cpsl-row"]]],["p-afbb1e6f",[[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]}]]]],e)}));
2
2
  //# sourceMappingURL=capsule.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","height","hideFadeOut","variant","title","subtitle","withDefaultTheme","enterTransitionDuration","exitTransitionDuration","elevated","noOverlay","open","zIndexOverride","src","replayAnimation","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","pull","pullXs","pullSm","pullMd","pullLg","pullXl","push","pushXs","pushSm","pushMd","pushLg","pushXl","size","sizeXs","sizeSm","sizeMd","sizeLg","sizeXl","fixed","hash","initialPage","totalPages","visiblePages","currentPage","anchorElId","autoWidth","disabled","dropdownMaxHeight","errorText","formatValue","helperText","id","label","placeholder","required","selectedValue","showFormattedSelectedItem","showOptionalLabel","showSearch","searchPlaceholder","anchorEl","hasFocus","popoverOpen","hasSelectedItem","externalFilename","externalSrc","fileTypes","uploadFile","file","dragOver","dragError","isUploading","uploadError","hasFooter","isMobile","icon","checked","code","length","type","anchor","anchorPosition","transitionDuration","transitionFunction","closedAnchorPosition","showTransition","expandFrom","icons","isHovered","endIcon","endText","startIcon","startText","hasHorizontalScroll","hasVerticalScroll","position","alt","width","hasCpslSearch","items","selectedItem","isOpen","searchQuery","filteredItems","selectedId","text","totalSteps","step","imageSrc","selected","value","tab","fullWidth","selectedTab","selectedTabRect","loaded","as","target","autocapitalize","autocomplete","autocorrect","noAutoDisable","autofocus","contrastText","enterkeyhint","mask","inputmode","max","maxlength","min","minlength","multiple","name","pattern","readonly","spellcheck","startIconSrc","maskedInput","anchorOriginHorizontal","anchorOriginVertical","preventBlur","transformOriginHorizontal","transformOriginVertical","triggerAction","trigger","windowPadding","positionX","positionY","closePopover","speed","color","weight"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAOA,IAAIA,EAAe,KAUjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EClB7BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAc,+BAA8B,CAAAC,OAAS,IAAAC,YAAA,oBAAAC,QAAA,MAAAC,MAAA,MAAAC,SAAA,MAAAC,iBAAA,gEAAAC,wBAAA,gCAAAC,uBAAA,+BAAAC,SAAA,IAAAC,UAAA,iBAAAC,KAAA,IAAAC,eAAA,8BAAAD,KAAA,yDAAAE,IAAA,IAAAC,gBAAA,uCAAAC,OAAA,IAAAC,SAAA,gBAAAC,SAAA,gBAAAC,SAAA,gBAAAC,SAAA,gBAAAC,SAAA,gBAAAC,KAAA,IAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,KAAA,IAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,KAAA,IAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,2EAAAC,MAAA,4CAAAC,KAAA,IAAAP,KAAA,kHAAAQ,YAAA,mBAAAC,WAAA,kBAAAC,aAAA,uBAAAC,YAAA,YAAAA,YAAA,oC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A,oBAAAH,YAAA,oBAAAF,uBAAA,mBAAAC,qBAAA,mBAAAjI,KAAA,sCAAAsB,KAAA,IAAAqH,MAAA,yCAAA/I,wBAAA,gCAAAC,uBAAA,+BAAAG,KAAA,IAAAC,eAAA,8BAAAD,KAAA,mCAAA4I,MAAA,IAAApJ,QAAA,IAAAqJ,OAAA,sBAAA3I,IAAA,IAAA+D,KAAA,SAAA9E,EAAA","ignoreList":[]}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","height","hideFadeOut","variant","title","subtitle","withDefaultTheme","enterTransitionDuration","exitTransitionDuration","elevated","noOverlay","open","zIndexOverride","disabled","exactMainRouteMatch","exactSubRouteMatch","route","subRoutes","path","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","pull","pullXs","pullSm","pullMd","pullLg","pullXl","push","pushXs","pushSm","pushMd","pushLg","pushXl","size","sizeXs","sizeSm","sizeMd","sizeLg","sizeXl","fixed","hash","initialPage","totalPages","visiblePages","currentPage","anchorElId","autoWidth","dropdownMaxHeight","errorText","formatValue","helperText","id","label","placeholder","required","selectedValue","showFormattedSelectedItem","showOptionalLabel","showSearch","searchPlaceholder","anchorEl","hasFocus","popoverOpen","hasSelectedItem","externalFilename","externalSrc","fileTypes","uploadFile","file","dragOver","dragError","isUploading","uploadError","hasFooter","isMobile","icon","checked","code","length","type","anchor","anchorPosition","transitionDuration","transitionFunction","closedAnchorPosition","showTransition","expandFrom","icons","isHovered","endIcon","endText","startIcon","startText","hasHorizontalScroll","hasVerticalScroll","src","position","alt","width","hasCpslSearch","items","selectedItem","isOpen","searchQuery","filteredItems","text","totalSteps","step","imageSrc","selected","value","tab","fullWidth","selectedTab","selectedTabRect","loaded","selectedId","autocapitalize","autocomplete","autocorrect","noAutoDisable","autofocus","contrastText","enterkeyhint","mask","inputmode","max","maxlength","min","minlength","multiple","name","pattern","readonly","spellcheck","startIconSrc","maskedInput","anchorOriginHorizontal","anchorOriginVertical","preventBlur","transformOriginHorizontal","transformOriginVertical","triggerAction","trigger","windowPadding","positionX","positionY","closePopover","speed","as","target","color","weight"],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAOA,IAAIA,EAAe,KAUjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EClB7BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAc,+BAA8B,CAAAC,OAAS,IAAAC,YAAA,oBAAAC,QAAA,MAAAC,MAAA,MAAAC,SAAA,MAAAC,iBAAA,gEAAAC,wBAAA,gCAAAC,uBAAA,+BAAAC,SAAA,IAAAC,UAAA,iBAAAC,KAAA,IAAAC,eAAA,8BAAAD,KAAA,0DAAAE,SAAA,MAAAC,oBAAA,6BAAAC,mBAAA,4BAAAC,MAAA,IAAAC,UAAA,KAAAC,KAAA,sCAAAC,OAAA,IAAAC,SAAA,gBAAAC,SAAA,gBAAAC,SAAA,gBAAAC,SAAA,gBAAAC,SAAA,gBAAAC,KAAA,IAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,KAAA,IAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,KAAA,IAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,cAAAC,OAAA,2EAAAC,MAAA,4CAAAC,KAAA,IAAAP,KAAA,kHAAAQ,YAAA,mBAAAC,WAAA,kBAAAC,aAAA,uBAAAC,YAAA,YAAAA,YAAA,oCAAAC,WAAA,mBAAAC,UAAA,iBAAArC,SAAA,IAAAsC,kBAAA,0BAAAC,UAAA,iBAAAC,YAAA,KAAAC,WAAA,kBAAAC,GAAA,IAAAC,MAAA,IAAAC,YAAA,IAA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gJ,MAAA,IAAAxJ,QAAA,IAAAyJ,OAAA,sBAAAzD,IAAA,IAAApB,KAAA,SAAAjF,EAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r,c as o,h as c,H as a,g as t}from"./p-fa6b7678.js";const l=":host{display:flex;flex-direction:column;gap:8px;padding:0px;box-sizing:border-box;width:100%;background:var(--cpsl-color-background-4);border-radius:var(--cpsl-border-radius-primary-button);overflow:hidden}.sub-route-container{display:flex;flex-direction:column;gap:8px;border-left:1px solid var(--cpsl-color-background-16);padding-left:16px;margin-left:16px;margin-bottom:8px;margin-right:8px;background:var(--cpsl-color-background-4)}.sub-route{--button-padding-start:8px;--button-padding-end:8px;--button-padding-top:8px;--button-padding-bottom:8px;--button-justify-content:start;--button-primary-color:var(--cpsl-color-background-48);--button-primary-background-color:var(--cpsl-color-background-4);--button-primary-border-color:var(--cpsl-color-background-4);--button-primary-icon-color:var(--cpsl-color-text-primary);--button-primary-disabled-color:var(--cpsl-color-text-primary);--button-primary-disabled-background-color:var(--cpsl-color-background-4);--button-primary-disabled-border-color:var(--cpsl-color-background-4);--button-primary-disabled-icon-color:var(--cpsl-color-text-primary);--button-primary-hover-color:var(--cpsl-color-background-48);--button-primary-hover-background-color:var(--cpsl-color-background-0);--button-primary-hover-border-color:var(--cpsl-color-background-4);--button-primary-hover-icon-color:var(--cpsl-color-background-48);--button-primary-active-color:var(--cpsl-color-text-primary);--button-primary-active-background-color:var(--cpsl-color-background-4);--button-primary-active-border-color:var(--cpsl-color-background-4);--button-primary-active-icon-color:var(--cpsl-color-text-primary)}.sub-route.selected{--button-primary-color:var(--cpsl-color-text-primary);--button-primary-background-color:var(--cpsl-color-background-0);--button-primary-border-color:var(--cpsl-color-background-0);--button-primary-icon-color:var(--cpsl-color-background-48);--button-primary-disabled-color:var(--cpsl-color-background-48);--button-primary-disabled-background-color:var(--cpsl-color-background-0);--button-primary-disabled-border-color:var(--cpsl-color-background-0);--button-primary-disabled-icon-color:var(--cpsl-color-background-48);--button-primary-hover-color:var(--cpsl-color-text-primary);--button-primary-hover-background-color:var(--cpsl-color-background-0);--button-primary-hover-border-color:var(--cpsl-color-background-4);--button-primary-hover-icon-color:var(--cpsl-color-background-48);--button-primary-active-color:var(--cpsl-color-background-48);--button-primary-active-background-color:var(--cpsl-color-background-4);--button-primary-active-border-color:var(--cpsl-color-background-4);--button-primary-active-icon-color:var(--cpsl-color-background-48)}.main-route{--button-padding-start:8px;--button-padding-end:8px;--button-padding-top:8px;--button-padding-bottom:8px;--button-justify-content:start;--button-primary-color:var(--cpsl-color-background-48);--button-primary-background-color:var(--cpsl-color-background-0);--button-primary-border-color:var(--cpsl-color-background-0);--button-primary-icon-color:var(--cpsl-color-background-48);--button-primary-disabled-color:var(--cpsl-color-background-48);--button-primary-disabled-background-color:var(--cpsl-color-background-0);--button-primary-disabled-border-color:var(--cpsl-color-background-0);--button-primary-disabled-icon-color:var(--cpsl-color-background-48);--button-primary-hover-color:var(--cpsl-color-background-48);--button-primary-hover-background-color:var(--cpsl-color-background-4);--button-primary-hover-border-color:var(--cpsl-color-background-4);--button-primary-hover-icon-color:var(--cpsl-color-background-48);--button-primary-active-color:var(--cpsl-color-background-48);--button-primary-active-background-color:var(--cpsl-color-background-4);--button-primary-active-border-color:var(--cpsl-color-background-4);--button-primary-active-icon-color:var(--cpsl-color-background-48)}.main-route.selected{--button-primary-color:var(--cpsl-color-text-primary);--button-primary-background-color:var(--cpsl-color-background-4);--button-primary-border-color:var(--cpsl-color-background-4);--button-primary-icon-color:var(--cpsl-color-text-primary);--button-primary-disabled-color:var(--cpsl-color-text-primary);--button-primary-disabled-background-color:var(--cpsl-color-background-4);--button-primary-disabled-border-color:var(--cpsl-color-background-4);--button-primary-disabled-icon-color:var(--cpsl-color-text-primary);--button-primary-hover-color:var(--cpsl-color-text-primary);--button-primary-hover-background-color:var(--cpsl-color-background-4);--button-primary-hover-border-color:var(--cpsl-color-background-4);--button-primary-hover-icon-color:var(--cpsl-color-text-primary);--button-primary-active-color:var(--cpsl-color-text-primary);--button-primary-active-background-color:var(--cpsl-color-background-4);--button-primary-active-border-color:var(--cpsl-color-background-4);--button-primary-active-icon-color:var(--cpsl-color-text-primary)}";const n=l;const i=class{constructor(c){r(this,c);this.cpslNavButtonClick=o(this,"cpslNavButtonClick",7);this.cpslNavButtonSubRouteClick=o(this,"cpslNavButtonSubRouteClick",7);this.handleNavButtonClick=()=>{this.cpslNavButtonClick.emit(this.route)};this.handleSubRouteClick=r=>()=>{this.cpslNavButtonSubRouteClick.emit(r)};this.disabled=false;this.exactMainRouteMatch=undefined;this.exactSubRouteMatch=undefined;this.route=undefined;this.subRoutes=undefined;this.path=undefined}render(){var r,o;const t=(r=this.subRoutes)===null||r===void 0?void 0:r.find((r=>this.exactSubRouteMatch?this.path===`${this.route}/${r.value}`:this.path.includes(`${this.route}/${r.value}`)));const l=this.exactMainRouteMatch?this.path===this.route:this.path.includes(this.route);return c(a,{key:"8f8bd86051b11efc848491e7f5628c331ad2b208"},c("cpsl-button",{key:"1e7a1a43032764760d4240a9af75a80fbf432d7e",id:this.route,class:{"main-route":true,selected:!!t||l},fullWidth:true,variant:"primary",disabled:this.disabled,onClick:this.handleNavButtonClick},c("slot",{key:"3adfced15f2744d0e49e5627e7b3d1ae35fe2e64",name:"start"}),c("slot",{key:"0a0480f72a68d0af0a279ba086a9915138212bd6"}),c("slot",{key:"624cf7807db283f33e7c727f00e32083d2b483b1",name:"end"})),(!!t||l)&&!!((o=this.subRoutes)===null||o===void 0?void 0:o.length)&&c("div",{key:"88039fa248445cc6f0cd641abdfdc2a3a5c45f26",class:"sub-route-container"},this.subRoutes.map((r=>c("cpsl-button",{key:r.value,id:`${this.route}/${r.value}`,class:{"sub-route":true,selected:r.value===(t===null||t===void 0?void 0:t.value)},onClick:this.handleSubRouteClick(`${this.route}/${r.value}`),fullWidth:true,variant:"primary"},r.label)))))}get el(){return t(this)}};i.style=n;export{i as cpsl_nav_button};
2
+ //# sourceMappingURL=p-9e64a60e.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["cpslNavButtonCss","CpslNavButtonStyle0","CpslNavButton","this","handleNavButtonClick","cpslNavButtonClick","emit","route","handleSubRouteClick","cpslNavButtonSubRouteClick","render","selectedSubRoute","_a","subRoutes","find","sr","exactSubRouteMatch","path","value","includes","isMainRouteSelected","exactMainRouteMatch","h","Host","key","id","class","selected","fullWidth","variant","disabled","onClick","name","_b","length","map","label"],"sources":["src/components/cpsl-nav-button/cpsl-nav-button.scss?tag=cpsl-nav-button&encapsulation=shadow","src/components/cpsl-nav-button/cpsl-nav-button.tsx"],"sourcesContent":[":host {\n display: flex;\n flex-direction: column;\n\n gap: 8px;\n padding: 0px;\n box-sizing: border-box;\n width: 100%;\n\n background: var(--cpsl-color-background-4);\n border-radius: var(--cpsl-border-radius-primary-button);\n overflow: hidden;\n}\n\n.sub-route-container {\n display: flex;\n flex-direction: column;\n\n gap: 8px;\n border-left: 1px solid var(--cpsl-color-background-16);\n padding-left: 16px;\n margin-left: 16px;\n margin-bottom: 8px;\n margin-right: 8px;\n background: var(--cpsl-color-background-4);\n}\n\n.sub-route {\n --button-padding-start: 8px;\n --button-padding-end: 8px;\n --button-padding-top: 8px;\n --button-padding-bottom: 8px;\n --button-justify-content: start;\n\n // DEFAULT\n --button-primary-color: var(--cpsl-color-background-48);\n --button-primary-background-color: var(--cpsl-color-background-4);\n --button-primary-border-color: var(--cpsl-color-background-4);\n --button-primary-icon-color: var(--cpsl-color-text-primary);\n // DISABLED\n --button-primary-disabled-color: var(--cpsl-color-text-primary);\n --button-primary-disabled-background-color: var(--cpsl-color-background-4);\n --button-primary-disabled-border-color: var(--cpsl-color-background-4);\n --button-primary-disabled-icon-color: var(--cpsl-color-text-primary);\n // HOVER\n --button-primary-hover-color: var(--cpsl-color-background-48);\n --button-primary-hover-background-color: var(--cpsl-color-background-0);\n --button-primary-hover-border-color: var(--cpsl-color-background-4);\n --button-primary-hover-icon-color: var(--cpsl-color-background-48);\n // ACTIVE\n --button-primary-active-color: var(--cpsl-color-text-primary);\n --button-primary-active-background-color: var(--cpsl-color-background-4);\n --button-primary-active-border-color: var(--cpsl-color-background-4);\n --button-primary-active-icon-color: var(--cpsl-color-text-primary);\n\n &.selected {\n // DEFAULT\n --button-primary-color: var(--cpsl-color-text-primary);\n --button-primary-background-color: var(--cpsl-color-background-0);\n --button-primary-border-color: var(--cpsl-color-background-0);\n --button-primary-icon-color: var(--cpsl-color-background-48);\n // DISABLED\n --button-primary-disabled-color: var(--cpsl-color-background-48);\n --button-primary-disabled-background-color: var(--cpsl-color-background-0);\n --button-primary-disabled-border-color: var(--cpsl-color-background-0);\n --button-primary-disabled-icon-color: var(--cpsl-color-background-48);\n // HOVER\n --button-primary-hover-color: var(--cpsl-color-text-primary);\n --button-primary-hover-background-color: var(--cpsl-color-background-0);\n --button-primary-hover-border-color: var(--cpsl-color-background-4);\n --button-primary-hover-icon-color: var(--cpsl-color-background-48);\n // ACTIVE\n --button-primary-active-color: var(--cpsl-color-background-48);\n --button-primary-active-background-color: var(--cpsl-color-background-4);\n --button-primary-active-border-color: var(--cpsl-color-background-4);\n --button-primary-active-icon-color: var(--cpsl-color-background-48);\n }\n}\n\n.main-route {\n --button-padding-start: 8px;\n --button-padding-end: 8px;\n --button-padding-top: 8px;\n --button-padding-bottom: 8px;\n --button-justify-content: start;\n\n // DEFAULT\n --button-primary-color: var(--cpsl-color-background-48);\n --button-primary-background-color: var(--cpsl-color-background-0);\n --button-primary-border-color: var(--cpsl-color-background-0);\n --button-primary-icon-color: var(--cpsl-color-background-48);\n // DISABLED\n --button-primary-disabled-color: var(--cpsl-color-background-48);\n --button-primary-disabled-background-color: var(--cpsl-color-background-0);\n --button-primary-disabled-border-color: var(--cpsl-color-background-0);\n --button-primary-disabled-icon-color: var(--cpsl-color-background-48);\n // HOVER\n --button-primary-hover-color: var(--cpsl-color-background-48);\n --button-primary-hover-background-color: var(--cpsl-color-background-4);\n --button-primary-hover-border-color: var(--cpsl-color-background-4);\n --button-primary-hover-icon-color: var(--cpsl-color-background-48);\n // ACTIVE\n --button-primary-active-color: var(--cpsl-color-background-48);\n --button-primary-active-background-color: var(--cpsl-color-background-4);\n --button-primary-active-border-color: var(--cpsl-color-background-4);\n --button-primary-active-icon-color: var(--cpsl-color-background-48);\n\n &.selected {\n // DEFAULT\n --button-primary-color: var(--cpsl-color-text-primary);\n --button-primary-background-color: var(--cpsl-color-background-4);\n --button-primary-border-color: var(--cpsl-color-background-4);\n --button-primary-icon-color: var(--cpsl-color-text-primary);\n // DISABLED\n --button-primary-disabled-color: var(--cpsl-color-text-primary);\n --button-primary-disabled-background-color: var(--cpsl-color-background-4);\n --button-primary-disabled-border-color: var(--cpsl-color-background-4);\n --button-primary-disabled-icon-color: var(--cpsl-color-text-primary);\n // HOVER\n --button-primary-hover-color: var(--cpsl-color-text-primary);\n --button-primary-hover-background-color: var(--cpsl-color-background-4);\n --button-primary-hover-border-color: var(--cpsl-color-background-4);\n --button-primary-hover-icon-color: var(--cpsl-color-text-primary);\n // ACTIVE\n --button-primary-active-color: var(--cpsl-color-text-primary);\n --button-primary-active-background-color: var(--cpsl-color-background-4);\n --button-primary-active-border-color: var(--cpsl-color-background-4);\n --button-primary-active-icon-color: var(--cpsl-color-text-primary);\n }\n}\n","import { Component, EventEmitter, Host, Prop, h, Event, Element } from '@stencil/core';\n\n@Component({\n tag: 'cpsl-nav-button',\n styleUrl: 'cpsl-nav-button.scss',\n shadow: true,\n})\nexport class CpslNavButton {\n @Element() el!: HTMLCpslNavButtonElement;\n\n /**\n * If the button is disabled.\n * Default is: false.\n */\n @Prop({ reflect: true }) disabled?: boolean = false;\n\n /**\n * Whether or not to use exact matching for the selected main route.\n */\n @Prop() exactMainRouteMatch?: boolean;\n\n /**\n * Whether or not to use exact matching for the selected sub route.\n */\n @Prop() exactSubRouteMatch?: boolean;\n\n /**\n * The route for the button.\n */\n @Prop() route: string;\n\n /**\n * The id of the selected button.\n */\n @Prop() subRoutes?: { label: string; value: string }[];\n\n /**\n * Path used to determine what button is selected\n */\n @Prop() path?: string;\n\n /**\n * Called when the nav button is clicked.\n */\n @Event() cpslNavButtonClick: EventEmitter<string>;\n\n private handleNavButtonClick = () => {\n this.cpslNavButtonClick.emit(this.route);\n };\n\n /**\n * Called when a nav button sub route is clicked.\n */\n @Event() cpslNavButtonSubRouteClick: EventEmitter<string>;\n\n private handleSubRouteClick = (route: string) => () => {\n this.cpslNavButtonSubRouteClick.emit(route);\n };\n\n render() {\n const selectedSubRoute = this.subRoutes?.find(sr => (this.exactSubRouteMatch ? this.path === `${this.route}/${sr.value}` : this.path.includes(`${this.route}/${sr.value}`)));\n const isMainRouteSelected = this.exactMainRouteMatch ? this.path === this.route : this.path.includes(this.route);\n\n return (\n <Host>\n <cpsl-button\n id={this.route}\n class={{ 'main-route': true, 'selected': !!selectedSubRoute || isMainRouteSelected }}\n fullWidth\n variant=\"primary\"\n disabled={this.disabled}\n onClick={this.handleNavButtonClick}\n >\n <slot name=\"start\"></slot>\n <slot></slot>\n <slot name=\"end\"></slot>\n </cpsl-button>\n {(!!selectedSubRoute || isMainRouteSelected) && !!this.subRoutes?.length && (\n <div class=\"sub-route-container\">\n {this.subRoutes.map(sr => (\n <cpsl-button\n key={sr.value}\n id={`${this.route}/${sr.value}`}\n class={{ 'sub-route': true, 'selected': sr.value === selectedSubRoute?.value }}\n onClick={this.handleSubRouteClick(`${this.route}/${sr.value}`)}\n fullWidth\n variant=\"primary\"\n >\n {sr.label}\n </cpsl-button>\n ))}\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"2DAAA,MAAMA,EAAmB,y2JACzB,MAAAC,EAAeD,E,MCMFE,EAAa,M,uJAuChBC,KAAAC,qBAAuB,KAC7BD,KAAKE,mBAAmBC,KAAKH,KAAKI,MAAM,EAQlCJ,KAAAK,oBAAuBD,GAAkB,KAC/CJ,KAAKM,2BAA2BH,KAAKC,EAAM,E,cA1CC,M,uIA6C9C,MAAAG,G,QACE,MAAMC,GAAmB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