@shrfe/assets 1.0.64 → 1.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/css/sfe-styles.css +11 -10
  2. package/js/shrfe-core-umd.js +4 -4
  3. package/package.json +1 -1
  4. package/wc-lib/{p-3cc512be.entry.js → p-0b72ab12.entry.js} +1 -1
  5. package/wc-lib/{p-97aa8a56.entry.js → p-0cc19352.entry.js} +1 -1
  6. package/wc-lib/{p-84c4efae.entry.js → p-10c23c12.entry.js} +1 -1
  7. package/wc-lib/{p-99044e0f.entry.js → p-11d9c6ab.entry.js} +1 -1
  8. package/wc-lib/{p-35cafa93.entry.js → p-2eac5d59.entry.js} +1 -1
  9. package/wc-lib/{p-e725f44b.entry.js → p-372a4b08.entry.js} +1 -1
  10. package/wc-lib/{p-93a58264.entry.js → p-3b9cba49.entry.js} +1 -1
  11. package/wc-lib/p-434962b3.entry.js +1 -0
  12. package/wc-lib/{p-89af7770.entry.js → p-4b90088d.entry.js} +1 -1
  13. package/wc-lib/{p-04d897fe.entry.js → p-5a39bffb.entry.js} +1 -1
  14. package/wc-lib/{p-da22638b.entry.js → p-5ec334e6.entry.js} +2 -2
  15. package/wc-lib/{p-da60a5f2.entry.js → p-6e7ee60b.entry.js} +1 -1
  16. package/wc-lib/{p-12553973.entry.js → p-7799bd4f.entry.js} +1 -1
  17. package/wc-lib/{p-60b26a9b.entry.js → p-9af28040.entry.js} +1 -1
  18. package/wc-lib/{p-055adad5.entry.js → p-9c20ecd6.entry.js} +1 -1
  19. package/wc-lib/p-9oFec6fH.js +3 -0
  20. package/wc-lib/{p-325cda6a.entry.js → p-abd9b780.entry.js} +1 -1
  21. package/wc-lib/{p-1a22c124.entry.js → p-c117222e.entry.js} +1 -1
  22. package/wc-lib/{p-b3062a6b.js → p-cc5249f0.js} +1 -1
  23. package/wc-lib/{p-5e246cb4.entry.js → p-dcca5e23.entry.js} +1 -1
  24. package/wc-lib/{p-4e6e0f67.entry.js → p-e96984e8.entry.js} +1 -1
  25. package/wc-lib/wc-lib.esm.js +1 -1
  26. package/wc-lib/p-0039b730.entry.js +0 -1
  27. package/wc-lib/p-DdKztCEo.js +0 -3
@@ -48,7 +48,7 @@ body {
48
48
  line-height: 1.5;
49
49
  color: #212529;
50
50
  background-color: #fff;
51
- -webkit-text-size-adjust: 100%;
51
+ text-size-adjust: 100%;
52
52
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
53
53
  }
54
54
 
@@ -98,7 +98,7 @@ h6 {
98
98
  font-size: 1rem;
99
99
  }
100
100
 
101
- @media (min-width: 1200px) {
101
+ @media (width >= 1200px) {
102
102
  h2 {
103
103
  font-size: 2rem;
104
104
  }
@@ -199,8 +199,8 @@ a:hover {
199
199
  color: #0a58ca;
200
200
  }
201
201
 
202
- a:not([href]):not([class]),
203
- a:not([href]):not([class]):hover {
202
+ a:not([href], [class]),
203
+ a:not([href], [class]):hover {
204
204
  color: inherit;
205
205
  text-decoration: none;
206
206
  }
@@ -331,7 +331,6 @@ button,
331
331
  [type=button],
332
332
  [type=reset],
333
333
  [type=submit] {
334
- -webkit-appearance: button;
335
334
  appearance: button;
336
335
  }
337
336
 
@@ -399,7 +398,7 @@ legend {
399
398
  white-space: normal;
400
399
  }
401
400
 
402
- @media (min-width: 1200px) {
401
+ @media (width >= 1200px) {
403
402
  legend {
404
403
  font-size: 1.5rem;
405
404
  }
@@ -423,18 +422,20 @@ legend + * {
423
422
  }
424
423
 
425
424
  [type=search] {
426
- -webkit-appearance: textfield;
427
425
  appearance: textfield;
428
426
  outline-offset: -2px;
429
427
  }
430
428
 
431
429
  [type=search]::-webkit-search-cancel-button,
432
430
  [type=search]::-webkit-search-decoration {
433
- -webkit-appearance: none;
434
431
  appearance: none;
435
432
  }
436
433
 
437
- [list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
434
+ [list]:not([type=date],
435
+ [type=datetime-local],
436
+ [type=month],
437
+ [type=week],
438
+ [type=time])::-webkit-calendar-picker-indicator {
438
439
  display: none !important;
439
440
  }
440
441
 
@@ -444,7 +445,7 @@ legend + * {
444
445
 
445
446
  ::file-selector-button {
446
447
  font: inherit;
447
- -webkit-appearance: button;
448
+ appearance: button;
448
449
  }
449
450
 
450
451
  output {
@@ -9612,12 +9612,12 @@ module.exports = __nested_rspack_require_16377_16396__(207)["default"];
9612
9612
  /***/ },
9613
9613
 
9614
9614
  /***/ 207
9615
- (__unused_webpack_module, __nested_rspack_exports__, __nested_rspack_require_16590_16609__) {
9615
+ (__unused_webpack_module, __webpack_exports__, __nested_rspack_require_16590_16609__) {
9616
9616
 
9617
9617
  "use strict";
9618
9618
 
9619
9619
  // EXPORTS
9620
- __nested_rspack_require_16590_16609__.d(__nested_rspack_exports__, {
9620
+ __nested_rspack_require_16590_16609__.d(__webpack_exports__, {
9621
9621
  "default": () => (/* binding */ pusher)
9622
9622
  });
9623
9623
 
@@ -13722,9 +13722,9 @@ runtime.setup(Pusher);
13722
13722
  /******/ // startup
13723
13723
  /******/ // Load entry module and return exports
13724
13724
  /******/ // This entry module used 'module' so it can't be inlined
13725
- /******/ var __nested_rspack_exports__ = __nested_rspack_require_142595__(721);
13725
+ /******/ var __webpack_exports__ = __nested_rspack_require_142595__(721);
13726
13726
  /******/
13727
- /******/ return __nested_rspack_exports__;
13727
+ /******/ return __webpack_exports__;
13728
13728
  /******/ })()
13729
13729
  ;
13730
13730
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shrfe/assets",
3
- "version": "1.0.64",
3
+ "version": "1.0.65",
4
4
  "description": "The assets used in SeamlessHR products",
5
5
  "author": "SeamlessHR LTD <oludayo@seamlesshr.com>",
6
6
  "license": "ISC",
@@ -1 +1 @@
1
- import{r as e,e as t,h as s}from"./p-DdKztCEo.js";const i=class{constructor(t){e(this,t)}get hostElement(){return t(this)}index;isLastItem=!1;activeIndex;orientation;withCheckmark;lineSize;idProp;testId="";computedStatus;computeStatus(){return this.index<this.activeIndex?"completed":this.index===this.activeIndex?"active":"incomplete"}componentWillLoad(){this.computedStatus=this.computeStatus()}render(){return s("div",{key:"71059cffe2002337956a0a3b2e7dc9250715205d","aria-current":this.activeIndex===this.index?"step":void 0,class:`stepper-item stepper-item--${this.computedStatus} stepper-item--${this.orientation} ${this.isLastItem?"last-item":""}`,style:{"--line-size":this.lineSize,"--thumb-size":this.withCheckmark?"20px":"12px"},"data-testid":`swc-stepper-item-${this.testId}`},s("div",{key:"6043ef50d832aaacc83c69b8830fd45d6d46d9c0",class:"stepper-item__thumb-wrapper"},s("div",{key:"b9cfab6eef4eb86b7e189c20c9f85eea95e15c2e",class:"stepper-item__thumb"},this.withCheckmark&&"completed"===this.computedStatus&&s("swc-svg-icon",{key:"538f1685e05d730018b4e910a1636b70abfb6e96",color:"#ffffff",size:"12",name:"Checkmark"}))),s("div",{key:"cbe60ef30439943bcf0627943f82a3c357d36460",class:"stepper-item__content"},s("slot",{key:"d2269ded76ae64ec85f9851b161a06d9fa861bfb",name:"content"})))}};i.style='.stepper-item.sc-swc-stepper-item{--item-size:calc(max(120px, var(--line-size)));display:flex;flex-direction:column;align-items:center}.stepper-item.stepper-item--horizontal.sc-swc-stepper-item{width:var(--item-size)}.stepper-item__thumb.sc-swc-stepper-item{width:var(--thumb-size);height:var(--thumb-size);border-radius:50%;position:relative;display:grid;place-content:center}.stepper-item__thumb.sc-swc-stepper-item::after{position:absolute;content:"";top:50%;left:100%;transform:translateY(-50%);width:var(--item-size);height:2px;background-color:#ccc}.stepper-item--incomplete.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{background-color:#fff;border:1px solid var(--sfe-color-icon-default-muted)}.stepper-item--active.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{background-color:var(--sfe-color-fill-brand-on-subtle)}.stepper-item--completed.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item,.stepper-item--completed.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{background-color:var(--sfe-color-icon-default-brand)}.stepper-item--horizontal.sc-swc-stepper-item .stepper-item__thumb-wrapper.sc-swc-stepper-item{margin-block-end:16px}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb-wrapper.sc-swc-stepper-item{margin-inline-end:16px}.stepper-item--vertical.sc-swc-stepper-item{flex-direction:row;height:var(--item-size)}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{margin-inline-end:10px}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{position:absolute;content:"";top:100%;left:50%;transform:translateX(-50%);width:2px;height:var(--item-size)}.last-item.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{width:0;height:0}.stepper-item--horizontal.sc-swc-stepper-item .stepper-item__content.sc-swc-stepper-item{text-align:center}';export{i as swc_stepper_item}
1
+ import{r as e,e as t,h as s}from"./p-9oFec6fH.js";const i=class{constructor(t){e(this,t)}get hostElement(){return t(this)}index;isLastItem=!1;activeIndex;orientation;withCheckmark;lineSize;idProp;testId="";computedStatus;computeStatus(){return this.index<this.activeIndex?"completed":this.index===this.activeIndex?"active":"incomplete"}componentWillLoad(){this.computedStatus=this.computeStatus()}render(){return s("div",{key:"71059cffe2002337956a0a3b2e7dc9250715205d","aria-current":this.activeIndex===this.index?"step":void 0,class:`stepper-item stepper-item--${this.computedStatus} stepper-item--${this.orientation} ${this.isLastItem?"last-item":""}`,style:{"--line-size":this.lineSize,"--thumb-size":this.withCheckmark?"20px":"12px"},"data-testid":`swc-stepper-item-${this.testId}`},s("div",{key:"6043ef50d832aaacc83c69b8830fd45d6d46d9c0",class:"stepper-item__thumb-wrapper"},s("div",{key:"b9cfab6eef4eb86b7e189c20c9f85eea95e15c2e",class:"stepper-item__thumb"},this.withCheckmark&&"completed"===this.computedStatus&&s("swc-svg-icon",{key:"538f1685e05d730018b4e910a1636b70abfb6e96",color:"#ffffff",size:"12",name:"Checkmark"}))),s("div",{key:"cbe60ef30439943bcf0627943f82a3c357d36460",class:"stepper-item__content"},s("slot",{key:"d2269ded76ae64ec85f9851b161a06d9fa861bfb",name:"content"})))}};i.style='.stepper-item.sc-swc-stepper-item{--item-size:calc(max(120px, var(--line-size)));display:flex;flex-direction:column;align-items:center}.stepper-item.stepper-item--horizontal.sc-swc-stepper-item{width:var(--item-size)}.stepper-item__thumb.sc-swc-stepper-item{width:var(--thumb-size);height:var(--thumb-size);border-radius:50%;position:relative;display:grid;place-content:center}.stepper-item__thumb.sc-swc-stepper-item::after{position:absolute;content:"";top:50%;left:100%;transform:translateY(-50%);width:var(--item-size);height:2px;background-color:#ccc}.stepper-item--incomplete.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{background-color:#fff;border:1px solid var(--sfe-color-icon-default-muted)}.stepper-item--active.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{background-color:var(--sfe-color-fill-brand-on-subtle)}.stepper-item--completed.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item,.stepper-item--completed.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{background-color:var(--sfe-color-icon-default-brand)}.stepper-item--horizontal.sc-swc-stepper-item .stepper-item__thumb-wrapper.sc-swc-stepper-item{margin-block-end:16px}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb-wrapper.sc-swc-stepper-item{margin-inline-end:16px}.stepper-item--vertical.sc-swc-stepper-item{flex-direction:row;height:var(--item-size)}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item{margin-inline-end:10px}.stepper-item--vertical.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{position:absolute;content:"";top:100%;left:50%;transform:translateX(-50%);width:2px;height:var(--item-size)}.last-item.sc-swc-stepper-item .stepper-item__thumb.sc-swc-stepper-item::after{width:0;height:0}.stepper-item--horizontal.sc-swc-stepper-item .stepper-item__content.sc-swc-stepper-item{text-align:center}';export{i as swc_stepper_item}
@@ -1 +1 @@
1
- import{r as t,d as e,e as o,h as i}from"./p-DdKztCEo.js";import{t as r}from"./p-DQNvkMYd.js";const a=class{constructor(o){t(this,o),this.viewPrevious=e(this,"viewPrevious",7),this.viewNext=e(this,"viewNext",7),this.dismissTour=e(this,"dismissTour",7),this.endTour=e(this,"endTour",7)}get hostElement(){return o(this)}startTour=!1;dismissible=!0;useModalOverlay=!0;useHighlightSteps=!0;showArrow=!0;variant="light";steps=[];testId="";viewPrevious;viewNext;dismissTour;endTour;instance;currentIndex=0;activeNode;contentRef;get currentStep(){return this.steps[this.currentIndex]}get hasPrevious(){return this.steps.length>1&&this.currentIndex>0}get hasNext(){return this.steps.length>1&&this.currentIndex<this.steps.length-1}viewPreviousStep=()=>{this.currentIndex-=1,this.viewPrevious.emit(),this.removeHighlight(),this.reInitialize()};viewNextStep=()=>{this.currentIndex+=1,this.viewNext.emit(),this.removeHighlight(),this.reInitialize()};handleDismissTour=()=>{this.dismissTour.emit()};handleEndTour=()=>{this.endTour.emit()};hideTour=()=>{this.instance[0].hide(),this.instance[0].unmount(),this.currentIndex=0,this.removeHighlight()};getAllParentElements=()=>{if(!this.activeNode)return[];let t=this.activeNode;const e=[];for(;t.parentNode;)t=t.parentNode,1===t.nodeType&&e.push(t);return e};reInitialize=()=>{this.instance[0].hide(),this.init(),this.instance[0].show(),this.activeNode=document.querySelector(`${this.currentStep.cssSelector}`),this.activeNode&&this.activeNode.scrollIntoView({behavior:"smooth",block:"center"}),this.useHighlightSteps&&this.highlightStep()};highlightStep=()=>{if(!this.activeNode)return;this.activeNode.style.position||(this.activeNode.style.position="relative"),this.activeNode.style.backgroundColor||this.activeNode.classList.add("sfe-active-tour-step-bg"),this.activeNode.classList.add("sfe-active-tour-step");const t=this.getAllParentElements();if(t&&t.length>0)for(const e of t)e.classList.add("sfe-no-z-index")};removeHighlight=()=>{if(this.activeNode&&this.useHighlightSteps){this.activeNode.classList.remove("sfe-active-tour-step"),this.activeNode.classList.remove("sfe-active-tour-step-bg");const t=this.getAllParentElements();if(t&&t.length>0)for(const e of t)e.classList.remove("sfe-no-z-index")}};startTourHandler(t){t?this.reInitialize():this.hideTour()}init=()=>{this.instance=r(this.hostElement.querySelector(`${this.currentStep.cssSelector}`),{theme:this.variant,content:this.contentRef,animation:"shift-toward",placement:this.currentStep.position||"bottom",allowHTML:!0,trigger:"manual",hideOnClick:!1,arrow:this.showArrow,interactive:!0,role:"dialog",maxWidth:"none",appendTo:document.body,duration:[300,0],zIndex:100099})};componentDidLoad(){this.init()}disconnectedCallback(){this.instance[0].unmount()}render(){return i("div",{key:"13a3c8f38daba693bbed23a541a3dd1d6761455c",class:"tour-guide-item-backdrop","data-show":this.useModalOverlay&&this.startTour?"true":"false","data-testid":`swc-tour-guide-${this.testId}`},i("div",{key:"01973e84c02ace13fc10e5736b653b741d360ef4",ref:t=>this.contentRef=t,"aria-live":"polite"},i("swc-tour-guide-step",{key:"25b865ad9fca4a687fe7cedd38f6a2a207021002",heading:this.currentStep.title,content:this.currentStep.content,hasPrevious:this.hasPrevious,hasNext:this.hasNext,isLastStep:this.currentIndex===this.steps.length-1,currentIndex:this.currentIndex,numberOfSteps:this.steps.length,variant:this.variant,startTour:this.startTour,dismissible:this.dismissible,onViewPrevious:this.viewPreviousStep,onViewNext:this.viewNextStep,onDismissTour:this.handleDismissTour,onEndTour:this.handleEndTour})))}static get watchers(){return{startTour:[{startTourHandler:0}]}}};a.style='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box{border:1px transparent}.tippy-box[data-placement^=top]>.tippy-arrow:after{border-top-color:inherit;border-width:8px 8px 0;bottom:-8px;left:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:inherit;border-width:0 8px 8px;top:-8px;left:0}.tippy-box[data-placement^=left]>.tippy-arrow:after{border-left-color:inherit;border-width:8px 0 8px 8px;right:-8px;top:0}.tippy-box[data-placement^=right]>.tippy-arrow:after{border-width:8px 8px 8px 0;left:-8px;top:0;border-right-color:inherit}.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg:first-child:not(:last-child){top:17px}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg:first-child:not(:last-child){bottom:17px}.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg:first-child:not(:last-child){left:12px}.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg:first-child:not(:last-child){right:12px}.tippy-arrow{border-color:inherit}.tippy-arrow:after{content:"";z-index:-1;position:absolute;border-color:transparent;border-style:solid}.tippy-box[data-animation=shift-toward][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top]{transform:translateY(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom]{transform:translateY(10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left]{transform:translateX(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right]{transform:translateX(10px)}.tour-guide-item-backdrop[data-show=true]{position:fixed;min-height:100vh;width:100%;background:rgba(4, 22, 40, 0.25);top:-20px;bottom:0;left:0;z-index:var(--sfe-stack-level-modals, 99999)}.tippy-box[data-theme~=light]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip, #fff);color:rgba(0, 0, 0, 0.8);border:1px solid var(--sfe-banner-color-border-tooltip, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:white}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:white}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:white}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:white}.tippy-box[data-theme~=brand]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95));border:1px solid var(--sfe-banner-color-border-tooltip-dark, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=brand][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.sfe-active-tour-step{z-index:var(--sfe-stack-level-modals, 99999);padding-block:10px;padding-inline:15px;border-radius:10px;pointer-events:none}.sfe-active-tour-step-bg{background-color:#fff}.sfe-no-z-index{z-index:auto !important}';export{a as swc_tour_guide}
1
+ import{r as t,d as e,e as o,h as i}from"./p-9oFec6fH.js";import{t as r}from"./p-DQNvkMYd.js";const a=class{constructor(o){t(this,o),this.viewPrevious=e(this,"viewPrevious",7),this.viewNext=e(this,"viewNext",7),this.dismissTour=e(this,"dismissTour",7),this.endTour=e(this,"endTour",7)}get hostElement(){return o(this)}startTour=!1;dismissible=!0;useModalOverlay=!0;useHighlightSteps=!0;showArrow=!0;variant="light";steps=[];testId="";viewPrevious;viewNext;dismissTour;endTour;instance;currentIndex=0;activeNode;contentRef;get currentStep(){return this.steps[this.currentIndex]}get hasPrevious(){return this.steps.length>1&&this.currentIndex>0}get hasNext(){return this.steps.length>1&&this.currentIndex<this.steps.length-1}viewPreviousStep=()=>{this.currentIndex-=1,this.viewPrevious.emit(),this.removeHighlight(),this.reInitialize()};viewNextStep=()=>{this.currentIndex+=1,this.viewNext.emit(),this.removeHighlight(),this.reInitialize()};handleDismissTour=()=>{this.dismissTour.emit()};handleEndTour=()=>{this.endTour.emit()};hideTour=()=>{this.instance[0].hide(),this.instance[0].unmount(),this.currentIndex=0,this.removeHighlight()};getAllParentElements=()=>{if(!this.activeNode)return[];let t=this.activeNode;const e=[];for(;t.parentNode;)t=t.parentNode,1===t.nodeType&&e.push(t);return e};reInitialize=()=>{this.instance[0].hide(),this.init(),this.instance[0].show(),this.activeNode=document.querySelector(`${this.currentStep.cssSelector}`),this.activeNode&&this.activeNode.scrollIntoView({behavior:"smooth",block:"center"}),this.useHighlightSteps&&this.highlightStep()};highlightStep=()=>{if(!this.activeNode)return;this.activeNode.style.position||(this.activeNode.style.position="relative"),this.activeNode.style.backgroundColor||this.activeNode.classList.add("sfe-active-tour-step-bg"),this.activeNode.classList.add("sfe-active-tour-step");const t=this.getAllParentElements();if(t&&t.length>0)for(const e of t)e.classList.add("sfe-no-z-index")};removeHighlight=()=>{if(this.activeNode&&this.useHighlightSteps){this.activeNode.classList.remove("sfe-active-tour-step"),this.activeNode.classList.remove("sfe-active-tour-step-bg");const t=this.getAllParentElements();if(t&&t.length>0)for(const e of t)e.classList.remove("sfe-no-z-index")}};startTourHandler(t){t?this.reInitialize():this.hideTour()}init=()=>{this.instance=r(this.hostElement.querySelector(`${this.currentStep.cssSelector}`),{theme:this.variant,content:this.contentRef,animation:"shift-toward",placement:this.currentStep.position||"bottom",allowHTML:!0,trigger:"manual",hideOnClick:!1,arrow:this.showArrow,interactive:!0,role:"dialog",maxWidth:"none",appendTo:document.body,duration:[300,0],zIndex:100099})};componentDidLoad(){this.init()}disconnectedCallback(){this.instance[0].unmount()}render(){return i("div",{key:"13a3c8f38daba693bbed23a541a3dd1d6761455c",class:"tour-guide-item-backdrop","data-show":this.useModalOverlay&&this.startTour?"true":"false","data-testid":`swc-tour-guide-${this.testId}`},i("div",{key:"01973e84c02ace13fc10e5736b653b741d360ef4",ref:t=>this.contentRef=t,"aria-live":"polite"},i("swc-tour-guide-step",{key:"25b865ad9fca4a687fe7cedd38f6a2a207021002",heading:this.currentStep.title,content:this.currentStep.content,hasPrevious:this.hasPrevious,hasNext:this.hasNext,isLastStep:this.currentIndex===this.steps.length-1,currentIndex:this.currentIndex,numberOfSteps:this.steps.length,variant:this.variant,startTour:this.startTour,dismissible:this.dismissible,onViewPrevious:this.viewPreviousStep,onViewNext:this.viewNextStep,onDismissTour:this.handleDismissTour,onEndTour:this.handleEndTour})))}static get watchers(){return{startTour:[{startTourHandler:0}]}}};a.style='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box{border:1px transparent}.tippy-box[data-placement^=top]>.tippy-arrow:after{border-top-color:inherit;border-width:8px 8px 0;bottom:-8px;left:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:inherit;border-width:0 8px 8px;top:-8px;left:0}.tippy-box[data-placement^=left]>.tippy-arrow:after{border-left-color:inherit;border-width:8px 0 8px 8px;right:-8px;top:0}.tippy-box[data-placement^=right]>.tippy-arrow:after{border-width:8px 8px 8px 0;left:-8px;top:0;border-right-color:inherit}.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg:first-child:not(:last-child){top:17px}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg:first-child:not(:last-child){bottom:17px}.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg:first-child:not(:last-child){left:12px}.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg:first-child:not(:last-child){right:12px}.tippy-arrow{border-color:inherit}.tippy-arrow:after{content:"";z-index:-1;position:absolute;border-color:transparent;border-style:solid}.tippy-box[data-animation=shift-toward][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top]{transform:translateY(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom]{transform:translateY(10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left]{transform:translateX(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right]{transform:translateX(10px)}.tour-guide-item-backdrop[data-show=true]{position:fixed;min-height:100vh;width:100%;background:rgba(4, 22, 40, 0.25);top:-20px;bottom:0;left:0;z-index:var(--sfe-stack-level-modals, 99999)}.tippy-box[data-theme~=light]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip, #fff);color:rgba(0, 0, 0, 0.8);border:1px solid var(--sfe-banner-color-border-tooltip, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:white}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:white}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:white}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:white}.tippy-box[data-theme~=brand]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95));border:1px solid var(--sfe-banner-color-border-tooltip-dark, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=brand][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.sfe-active-tour-step{z-index:var(--sfe-stack-level-modals, 99999);padding-block:10px;padding-inline:15px;border-radius:10px;pointer-events:none}.sfe-active-tour-step-bg{background-color:#fff}.sfe-no-z-index{z-index:auto !important}';export{a as swc_tour_guide}
@@ -1 +1 @@
1
- import{r as s,d as t,h as a,H as e}from"./p-DdKztCEo.js";import{u as i}from"./p-DAupwlOU.js";const c=class{constructor(a){s(this,a),this.dismiss=t(this,"dismiss",7)}instanceId=void 0;dismissible=!1;testId="";dismiss;defaultId=i().generate();get computedComponentId(){return this.instanceId?this.instanceId:this.defaultId}dismissTag=()=>{this.dismissible&&this.dismiss.emit(this.instanceId)};render(){return a(e,{key:"a324dccde5d25e9639eb754ae2e7049c66c7a20b"},a("span",{key:"81565a39ded24f8dc6664c61ff78f5f0cb52eb6a",id:`${this.computedComponentId}`,class:"sfe-tag "+(this.dismissible?"sfe-tag--dismissible":""),"data-testid":`swc-tag-${this.testId}`},a("div",{key:"c30407916adb0c144e7cf660e2cf2b9fd531f5f7",class:"label-text"},a("slot",{key:"820227ef8e35be71906a7df0183d3cb3b909051e"})),this.dismissible&&a("span",{key:"6f5965158a7eacd26ec630329c5ea942341628b0",role:"button",tabindex:"0",class:"dismiss-icon",onClick:this.dismissTag},a("svg",{key:"9faabcdc80595be745cfb9a0b6fbac368f804d3d",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{key:"c3c41d6aac7f25432cc437808c81c989fb291474",d:"M2.08859 2.21569L2.14645 2.14645C2.32001 1.97288 2.58944 1.9536 2.78431 2.08859L2.85355 2.14645L6 5.293L9.14645 2.14645C9.34171 1.95118 9.65829 1.95118 9.85355 2.14645C10.0488 2.34171 10.0488 2.65829 9.85355 2.85355L6.707 6L9.85355 9.14645C10.0271 9.32001 10.0464 9.58944 9.91141 9.78431L9.85355 9.85355C9.67999 10.0271 9.41056 10.0464 9.21569 9.91141L9.14645 9.85355L6 6.707L2.85355 9.85355C2.65829 10.0488 2.34171 10.0488 2.14645 9.85355C1.95118 9.65829 1.95118 9.34171 2.14645 9.14645L5.293 6L2.14645 2.85355C1.97288 2.67999 1.9536 2.41056 2.08859 2.21569L2.14645 2.14645L2.08859 2.21569Z",fill:"black","fill-opacity":"0.9"})))))}};c.style='.sc-swc-tag-h .sfe-tag.sc-swc-tag{display:inline-flex;align-items:center;justify-content:center;position:relative;padding-inline:8px;padding-block:7px;flex-shrink:var(--sfe-sizing-gap-null);border-radius:var(--sfe-sizing-radius-small);background:var(--sfe-color-fill-neutral-light);color:var(--sfe-color-non-semantic-content-grey-strong, "Sora");font-family:var(--sfe-typography-font-sans-font, Matter);font-size:var(--sfe-typography-font-size-body-default);font-weight:400;line-height:var(--sfe-typography-line-height-body-small)}.sc-swc-tag-h .sfe-tag.sc-swc-tag .dismiss-icon.sc-swc-tag{display:flex;align-items:center;margin-left:var(--sfe-sizing-gap-small);cursor:pointer;margin-top:var(--sfe-sizing-gap-xsmall)}.sc-swc-tag-h .sfe-tag.sc-swc-tag:hover,.sc-swc-tag-h .sfe-tag.sc-swc-tag:focus{transition:opacity 0.7s;background:var(--sfe-color-fill-neutral-subtle)}';export{c as swc_tag}
1
+ import{r as s,d as t,h as a,H as e}from"./p-9oFec6fH.js";import{u as i}from"./p-DAupwlOU.js";const c=class{constructor(a){s(this,a),this.dismiss=t(this,"dismiss",7)}instanceId=void 0;dismissible=!1;testId="";dismiss;defaultId=i().generate();get computedComponentId(){return this.instanceId?this.instanceId:this.defaultId}dismissTag=()=>{this.dismissible&&this.dismiss.emit(this.instanceId)};render(){return a(e,{key:"a324dccde5d25e9639eb754ae2e7049c66c7a20b"},a("span",{key:"81565a39ded24f8dc6664c61ff78f5f0cb52eb6a",id:`${this.computedComponentId}`,class:"sfe-tag "+(this.dismissible?"sfe-tag--dismissible":""),"data-testid":`swc-tag-${this.testId}`},a("div",{key:"c30407916adb0c144e7cf660e2cf2b9fd531f5f7",class:"label-text"},a("slot",{key:"820227ef8e35be71906a7df0183d3cb3b909051e"})),this.dismissible&&a("span",{key:"6f5965158a7eacd26ec630329c5ea942341628b0",role:"button",tabindex:"0",class:"dismiss-icon",onClick:this.dismissTag},a("svg",{key:"9faabcdc80595be745cfb9a0b6fbac368f804d3d",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("path",{key:"c3c41d6aac7f25432cc437808c81c989fb291474",d:"M2.08859 2.21569L2.14645 2.14645C2.32001 1.97288 2.58944 1.9536 2.78431 2.08859L2.85355 2.14645L6 5.293L9.14645 2.14645C9.34171 1.95118 9.65829 1.95118 9.85355 2.14645C10.0488 2.34171 10.0488 2.65829 9.85355 2.85355L6.707 6L9.85355 9.14645C10.0271 9.32001 10.0464 9.58944 9.91141 9.78431L9.85355 9.85355C9.67999 10.0271 9.41056 10.0464 9.21569 9.91141L9.14645 9.85355L6 6.707L2.85355 9.85355C2.65829 10.0488 2.34171 10.0488 2.14645 9.85355C1.95118 9.65829 1.95118 9.34171 2.14645 9.14645L5.293 6L2.14645 2.85355C1.97288 2.67999 1.9536 2.41056 2.08859 2.21569L2.14645 2.14645L2.08859 2.21569Z",fill:"black","fill-opacity":"0.9"})))))}};c.style='.sc-swc-tag-h .sfe-tag.sc-swc-tag{display:inline-flex;align-items:center;justify-content:center;position:relative;padding-inline:8px;padding-block:7px;flex-shrink:var(--sfe-sizing-gap-null);border-radius:var(--sfe-sizing-radius-small);background:var(--sfe-color-fill-neutral-light);color:var(--sfe-color-non-semantic-content-grey-strong, "Sora");font-family:var(--sfe-typography-font-sans-font, Matter);font-size:var(--sfe-typography-font-size-body-default);font-weight:400;line-height:var(--sfe-typography-line-height-body-small)}.sc-swc-tag-h .sfe-tag.sc-swc-tag .dismiss-icon.sc-swc-tag{display:flex;align-items:center;margin-left:var(--sfe-sizing-gap-small);cursor:pointer;margin-top:var(--sfe-sizing-gap-xsmall)}.sc-swc-tag-h .sfe-tag.sc-swc-tag:hover,.sc-swc-tag-h .sfe-tag.sc-swc-tag:focus{transition:opacity 0.7s;background:var(--sfe-color-fill-neutral-subtle)}';export{c as swc_tag}
@@ -1 +1 @@
1
- import{r,d as o,e as s,h as i,H as a}from"./p-DdKztCEo.js";import{u as e}from"./p-DAupwlOU.js";const t=class{constructor(s){r(this,s),this.changeRadio=o(this,"changeRadio",7)}value;selectedValue;disabled=!1;error=!1;checked=!1;label;testId="";changeRadio;get hostEl(){return s(this)}radioId=e().generate("swc-radio-");handleRadioChange=r=>{r.preventDefault(),this.changeRadio.emit(r.target.value)};render(){const r=Array.from(this.hostEl.attributes).reduce(((r,o)=>(r[o.name]=o.value,r)),{});return i(a,null,i("span",{class:"swc-radio-wrapper","data-testid":`swc-radio-input-${this.testId}`},i("input",{...r,type:"radio",id:this.radioId,value:this.value,checked:this.checked||this.value.toLowerCase()===this.selectedValue.toLowerCase(),disabled:this.disabled,class:{"sfe-radio":!0,"sfe-radio--error":this.error},onChange:this.handleRadioChange}),this.label&&i("label",{htmlFor:this.radioId,class:"ms-2 "+(this.disabled?"cursor-not-allowed":"cursor-pointer")},this.label)))}};t.style='.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input{appearance:none;width:16px;height:16px;border:2px solid var(--sfe-color-interaction-neutral-faded-subtle);border-radius:100px;position:relative;cursor:pointer;transition:border-color 0.3s ease, background-color 0.3s ease;background-color:white}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:focus-visible{outline:2px solid #9747ff;outline-offset:1px}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked{border:5px solid var(--sfe-color-interaction-brand-solid-weak) !important}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:hover{border:2px solid var(--sfe-color-interaction-neutral-faded-strong)}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:disabled{border-color:var(--sfe-color-interaction-disabled-strong);background-color:#f0f0f0;cursor:not-allowed;opacity:0.5}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:hover:checked{border:2px solid var(--sfe-color-interaction-brand-solid-subtle)}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input::before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:50%;height:50%;background-color:transparent;border-radius:50%;transition:background-color 0.3s ease}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked::before{background-color:transparent}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked:disabled{border:5px solid var(--sfe-color-interaction-disabled-strong) !important}.sc-swc-radio-input-h .sfe-radio--error.sc-swc-radio-input{border:2px solid var(--sfe-color-interaction-critical-solid-weak) !important}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked.sfe-radio--error{border:5px solid var(--sfe-color-interaction-brand-solid-weak) !important}.sc-swc-radio-input-h .cursor-pointer.sc-swc-radio-input{cursor:pointer}.sc-swc-radio-input-h .cursor-not-allowed.sc-swc-radio-input{cursor:not-allowed}.sc-swc-radio-input-h .swc-radio-wrapper.sc-swc-radio-input{display:inline-flex;align-items:center}';export{t as swc_radio_input}
1
+ import{r,d as o,e as s,h as i,H as a}from"./p-9oFec6fH.js";import{u as e}from"./p-DAupwlOU.js";const t=class{constructor(s){r(this,s),this.changeRadio=o(this,"changeRadio",7)}value;selectedValue;disabled=!1;error=!1;checked=!1;label;testId="";changeRadio;get hostEl(){return s(this)}radioId=e().generate("swc-radio-");handleRadioChange=r=>{r.preventDefault(),this.changeRadio.emit(r.target.value)};render(){const r=Array.from(this.hostEl.attributes).reduce(((r,o)=>(r[o.name]=o.value,r)),{});return i(a,null,i("span",{class:"swc-radio-wrapper","data-testid":`swc-radio-input-${this.testId}`},i("input",{...r,type:"radio",id:this.radioId,value:this.value,checked:this.checked||this.value.toLowerCase()===this.selectedValue.toLowerCase(),disabled:this.disabled,class:{"sfe-radio":!0,"sfe-radio--error":this.error},onChange:this.handleRadioChange}),this.label&&i("label",{htmlFor:this.radioId,class:"ms-2 "+(this.disabled?"cursor-not-allowed":"cursor-pointer")},this.label)))}};t.style='.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input{appearance:none;width:16px;height:16px;border:2px solid var(--sfe-color-interaction-neutral-faded-subtle);border-radius:100px;position:relative;cursor:pointer;transition:border-color 0.3s ease, background-color 0.3s ease;background-color:white}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:focus-visible{outline:2px solid #9747ff;outline-offset:1px}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked{border:5px solid var(--sfe-color-interaction-brand-solid-weak) !important}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:hover{border:2px solid var(--sfe-color-interaction-neutral-faded-strong)}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:disabled{border-color:var(--sfe-color-interaction-disabled-strong);background-color:#f0f0f0;cursor:not-allowed;opacity:0.5}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:hover:checked{border:2px solid var(--sfe-color-interaction-brand-solid-subtle)}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input::before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:50%;height:50%;background-color:transparent;border-radius:50%;transition:background-color 0.3s ease}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked::before{background-color:transparent}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked:disabled{border:5px solid var(--sfe-color-interaction-disabled-strong) !important}.sc-swc-radio-input-h .sfe-radio--error.sc-swc-radio-input{border:2px solid var(--sfe-color-interaction-critical-solid-weak) !important}.sc-swc-radio-input-h .sfe-radio.sc-swc-radio-input:checked.sfe-radio--error{border:5px solid var(--sfe-color-interaction-brand-solid-weak) !important}.sc-swc-radio-input-h .cursor-pointer.sc-swc-radio-input{cursor:pointer}.sc-swc-radio-input-h .cursor-not-allowed.sc-swc-radio-input{cursor:not-allowed}.sc-swc-radio-input-h .swc-radio-wrapper.sc-swc-radio-input{display:inline-flex;align-items:center}';export{t as swc_radio_input}
@@ -1 +1 @@
1
- import{r as e,d as s,h as t}from"./p-DdKztCEo.js";const i=class{constructor(t){e(this,t),this.viewPrevious=s(this,"viewPrevious",7),this.viewNext=s(this,"viewNext",7),this.dismissTour=s(this,"dismissTour",7),this.endTour=s(this,"endTour",7)}heading;content;dismissible=!1;hasPrevious=!1;hasNext=!1;isLastStep=!1;currentIndex=0;numberOfSteps=1;startTour=!1;variant;testId="";viewPrevious;viewNext;dismissTour;endTour;handleDismissTour=()=>{this.dismissTour.emit()};handleNext=()=>{this.viewNext.emit()};handlePrevious=()=>{this.viewPrevious.emit()};handleEndTour=()=>{this.endTour.emit()};render(){return this.startTour&&t("div",{key:"6d8cd085e97bbf303401df0f43523f63d78b5269",class:{[`sfe-tour-guide-step sfe-tour-guide-step--${this.variant}`]:!0},"data-testid":`swc-tour-guide-step-${this.testId}`},t("div",{key:"db20537dc35c9c40bf186c4575f45f3269072df4",class:"flex-wrapper"},t("p",{key:"9048744c55ef9f15df9cfd295d7aeb3095bb9500",class:"sfe-tour-guide-step__title m-0",innerHTML:this.heading}),t("swc-icon-button",{key:"e720f9ea0695fdbaac7b2836eb41d079730cad92","v-if":"dismissible","aria-label":"dismiss tour",intent:"light"===this.variant?"neutral":"inverse",variant:"bare",size:"sm",round:!0,onClick:this.handleDismissTour},t("swc-svg-icon",{key:"4760d1705b6b020769d756e13c1128b7e83ebd3e",name:"Dismiss",color:"currentColor",size:"12"}))),t("div",{key:"81b415310065691afba62d0213dbdc6bdb535bde",class:"sfe-tour-guide-step__content",innerHTML:this.content}),t("div",{key:"1298834f131da4f6f4463346f6cc7c0888dc893a",class:"flex-wrapper col-gap-10"},t("p",{key:"d148742982d23ae0efda292d8734b13e8187904c",class:"sfe-tour-guide-step__steps-info m-0"},this.currentIndex+1," of ",this.numberOfSteps),t("div",{key:"de7ae99f9e7a8af8caedf0a9a9f8844158282fdd"},this.hasPrevious&&t("swc-button",{key:"0e17f91544862643fe78b3604d05e4dd1fc107e1",intent:"light"===this.variant?"brand":"inverse",variant:"bare",size:"xs",class:"sfe-tour-guide-step__back-btn",onClick:this.handlePrevious},"Back"),this.hasNext&&t("swc-button",{key:"df7b4eb01ed188de3b30631fca5afd5749ff6973",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleNext},"Next"),this.isLastStep&&t("swc-button",{key:"854e4f0374b1a678fd21d171874ca5ce21d64df5",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleEndTour},"Done"))))}};i.style=".sc-swc-tour-guide-step-h .sfe-tour-guide-step__title.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-sans-font, Matter);font-size:14px;font-style:normal;font-weight:500;line-height:16px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__content.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-sans-font, Matter);font-size:12px;font-style:normal;font-weight:400;line-height:16px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__back-btn.sc-swc-tour-guide-step{margin-inline-end:4px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-small, 12px);font-style:normal;font-weight:400;line-height:14px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__title.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__content.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-muted, rgba(0, 0, 0, 0.5))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__title.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__content.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{color:var(--color-text-inverted-weakest, rgba(255, 255, 255, 0.5))}.sc-swc-tour-guide-step-h .flex-wrapper.sc-swc-tour-guide-step{width:100%;display:flex;justify-content:space-between;align-items:center}.sc-swc-tour-guide-step-h .col-gap-10.sc-swc-tour-guide-step{column-gap:10px}.sc-swc-tour-guide-step-h .m-0.sc-swc-tour-guide-step{margin:0}";export{i as swc_tour_guide_step}
1
+ import{r as e,d as s,h as t}from"./p-9oFec6fH.js";const i=class{constructor(t){e(this,t),this.viewPrevious=s(this,"viewPrevious",7),this.viewNext=s(this,"viewNext",7),this.dismissTour=s(this,"dismissTour",7),this.endTour=s(this,"endTour",7)}heading;content;dismissible=!1;hasPrevious=!1;hasNext=!1;isLastStep=!1;currentIndex=0;numberOfSteps=1;startTour=!1;variant;testId="";viewPrevious;viewNext;dismissTour;endTour;handleDismissTour=()=>{this.dismissTour.emit()};handleNext=()=>{this.viewNext.emit()};handlePrevious=()=>{this.viewPrevious.emit()};handleEndTour=()=>{this.endTour.emit()};render(){return this.startTour&&t("div",{key:"6d8cd085e97bbf303401df0f43523f63d78b5269",class:{[`sfe-tour-guide-step sfe-tour-guide-step--${this.variant}`]:!0},"data-testid":`swc-tour-guide-step-${this.testId}`},t("div",{key:"db20537dc35c9c40bf186c4575f45f3269072df4",class:"flex-wrapper"},t("p",{key:"9048744c55ef9f15df9cfd295d7aeb3095bb9500",class:"sfe-tour-guide-step__title m-0",innerHTML:this.heading}),t("swc-icon-button",{key:"e720f9ea0695fdbaac7b2836eb41d079730cad92","v-if":"dismissible","aria-label":"dismiss tour",intent:"light"===this.variant?"neutral":"inverse",variant:"bare",size:"sm",round:!0,onClick:this.handleDismissTour},t("swc-svg-icon",{key:"4760d1705b6b020769d756e13c1128b7e83ebd3e",name:"Dismiss",color:"currentColor",size:"12"}))),t("div",{key:"81b415310065691afba62d0213dbdc6bdb535bde",class:"sfe-tour-guide-step__content",innerHTML:this.content}),t("div",{key:"1298834f131da4f6f4463346f6cc7c0888dc893a",class:"flex-wrapper col-gap-10"},t("p",{key:"d148742982d23ae0efda292d8734b13e8187904c",class:"sfe-tour-guide-step__steps-info m-0"},this.currentIndex+1," of ",this.numberOfSteps),t("div",{key:"de7ae99f9e7a8af8caedf0a9a9f8844158282fdd"},this.hasPrevious&&t("swc-button",{key:"0e17f91544862643fe78b3604d05e4dd1fc107e1",intent:"light"===this.variant?"brand":"inverse",variant:"bare",size:"xs",class:"sfe-tour-guide-step__back-btn",onClick:this.handlePrevious},"Back"),this.hasNext&&t("swc-button",{key:"df7b4eb01ed188de3b30631fca5afd5749ff6973",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleNext},"Next"),this.isLastStep&&t("swc-button",{key:"854e4f0374b1a678fd21d171874ca5ce21d64df5",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleEndTour},"Done"))))}};i.style=".sc-swc-tour-guide-step-h .sfe-tour-guide-step__title.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-sans-font, Matter);font-size:14px;font-style:normal;font-weight:500;line-height:16px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__content.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-sans-font, Matter);font-size:12px;font-style:normal;font-weight:400;line-height:16px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__back-btn.sc-swc-tour-guide-step{margin-inline-end:4px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-small, 12px);font-style:normal;font-weight:400;line-height:14px}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__title.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__content.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--light.sc-swc-tour-guide-step .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-muted, rgba(0, 0, 0, 0.5))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__title.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__content.sc-swc-tour-guide-step{color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95))}.sc-swc-tour-guide-step-h .sfe-tour-guide-step--brand.sc-swc-tour-guide-step .sfe-tour-guide-step__steps-info.sc-swc-tour-guide-step{color:var(--color-text-inverted-weakest, rgba(255, 255, 255, 0.5))}.sc-swc-tour-guide-step-h .flex-wrapper.sc-swc-tour-guide-step{width:100%;display:flex;justify-content:space-between;align-items:center}.sc-swc-tour-guide-step-h .col-gap-10.sc-swc-tour-guide-step{column-gap:10px}.sc-swc-tour-guide-step-h .m-0.sc-swc-tour-guide-step{margin:0}";export{i as swc_tour_guide_step}
@@ -1 +1 @@
1
- import{r as e,d as s,h as i,H as l}from"./p-DdKztCEo.js";import{u as t}from"./p-DAupwlOU.js";const c=e=>e&&e.length>0?e.map(((e,s)=>{const i=e.name;return{id:s,name:i.substring(0,i.lastIndexOf("."))||i,size:`${(e.size/1024/1024).toFixed(2)} MB`}})):[],a=e=>0===Object.keys(e).length&&e.constructor===Object,n=class{constructor(i){e(this,i),this.updateRemove=s(this,"updateRemove",7),this.updateReplace=s(this,"updateReplace",7),this.uploadRetry=s(this,"uploadRetry",7)}fileInfo=[];inverted=!1;hasError=!1;progress=0;uniqueId=`multiple-file-${t().generate()}`;updateRemove;updateReplace;uploadRetry;get fileDetails(){return c(this.fileInfo)}handleUpdateReplace=(e,s)=>{e.preventDefault(),this.updateReplace.emit(s)};handleUpdateRemove=(e,s)=>{e.preventDefault(),this.updateRemove.emit(s)};handleUploadRetry=e=>{e.preventDefault(),this.uploadRetry.emit(null)};render(){return i(l,{key:"f730b8b42b8d652c3dd4209d939f3ec720a57f72"},i("section",{key:"a74683c967a070b6b89805335eb7e3e85fb9021b",class:{"multiple-file-choosen":!0,inverted:this.inverted,uploaded:100===this.progress,"has-error":this.hasError}},this.fileDetails.map(((e,s)=>i("div",{class:"multiple-file-choosen__wrapper",key:s},i("div",{class:"multiple-file-choosen__name"},e.name),i("div",{class:"multiple-file-choosen__size"},e.size),i("div",{class:"d-flex align-items-center justify-content-end"},i("swc-button",{size:"lg",intent:"brand",variant:"bare","aria-label":"replace",class:"mr-1",onClick:s=>this.handleUpdateReplace(s,e.id)},i("span",null,"Replace")),i("swc-icon-button",{intent:"neutral",variant:"bare",size:"lg","aria-label":"dismiss",onClick:s=>this.handleUpdateRemove(s,e.id)},i("swc-svg-icon",{name:"Dismiss",size:"16"})))))),this.progress>0&&100!==this.progress&&this.fileDetails.length>0&&!this.hasError&&i("swc-progress",{key:"f8d640f37cf76f0ebdfeb4de6d7310a36e729b0e",value:this.progress,max:100,class:"mt-2"}),!this.hasError&&this.fileDetails.length>0&&100===this.progress&&i("div",{key:"9d6bf5ff30fc0e08b69f4843c935b3cc15ae6db5",class:"d-flex align-items-center mt-2"},i("div",{key:"f57d8d06bd7bc8197f45c0d774cbb11f3c292722",class:"completed"},"Upload completed")),this.hasError&&i("div",{key:"9c31049ce562124a4d3cc1338c64189ae1cb035f",class:"d-flex justify-content-between align-items-center mt-2"},i("div",{key:"9a57868b0661d437699daab73ad4063ac1f32931",class:"has-error"},i("swc-svg-icon",{key:"4b3a05a6b5588b515655fad3d1c97350be3bbfa7",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"})),i("swc-button",{key:"71e606a05fd167801b016114144809480154d94e",size:"lg",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.handleUploadRetry},i("span",{key:"e342644e6c50581d3cbc401d2bff782d98045e93"},"Retry")))))}};n.style=".sc-swc-multiple-file-h .me-2.sc-swc-multiple-file{margin-right:8px}.sc-swc-multiple-file-h .me-1.sc-swc-multiple-file{margin-right:4px}.sc-swc-multiple-file-h .mt-2.sc-swc-multiple-file{margin-top:8px}.sc-swc-multiple-file-h .d-flex.sc-swc-multiple-file{display:flex}.sc-swc-multiple-file-h .align-items-center.sc-swc-multiple-file{align-items:center}.sc-swc-multiple-file-h .justify-content-end.sc-swc-multiple-file{justify-content:flex-end}.sc-swc-multiple-file-h .justify-content-between.sc-swc-multiple-file{justify-content:space-between}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file{border-radius:var(--sfe-sizing-radius-default, 8px);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9);padding:var(--sfe-sizing-gap-small, 8px) var(--sfe-sizing-gap-large, 16px) !important;margin-top:8px}.sc-swc-multiple-file-h .multiple-file-choosen.uploaded.sc-swc-multiple-file{background:var(--sfe-color-fill-brand-light, #e4edfc) !important}.sc-swc-multiple-file-h .multiple-file-choosen.inverted.sc-swc-multiple-file{border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-multiple-file-h .multiple-file-choosen.has-error.sc-swc-multiple-file{background:var(--sfe-color-fill-critical-light, #f8e0e0)}.sc-swc-multiple-file-h .multiple-file-choosen.has-error.inverted.sc-swc-multiple-file{border:1px solid var(--sfe-color-border-critical-solid, #a22827);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-multiple-file-h .multiple-file-choosen__wrapper.sc-swc-multiple-file{display:grid;align-items:center;grid-template-columns:2fr 1fr 3fr;gap:22px}.sc-swc-multiple-file-h .multiple-file-choosen__name.sc-swc-multiple-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:3rem}.sc-swc-multiple-file-h .multiple-file-choosen__size.sc-swc-multiple-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file div.sc-swc-multiple-file div.completed.sc-swc-multiple-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-small, 0.75rem);font-style:normal;font-weight:400;line-height:14px}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file button.sc-swc-multiple-file span.sc-swc-multiple-file{color:var(--sfe-btn-color-content-bare-brand, #004ca6);font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:400;line-height:16px}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file button.has-error.sc-swc-multiple-file span.sc-swc-multiple-file{color:var(--sfe-btn-color-content-bare-critical, #a22827)}";const f=class{constructor(i){e(this,i),this.updateRemove=s(this,"updateRemove",7),this.updateReplace=s(this,"updateReplace",7),this.uploadRetry=s(this,"uploadRetry",7)}fileInfo=[];extended=!1;thumbnail="file";inverted=!1;hasError=!1;progress=0;uniqueId=`single-file-${t().generate()}`;updateRemove;updateReplace;uploadRetry;get getFileExtension(){if(this.fileInfo.length>0){const e=this.fileInfo[0].name;return e.split(".").pop()?.toUpperCase()||""}return""}get fileExtensionColour(){return"var(--sfe-color-non-semantic-content-violet-subtle, #4E38BC)"}get fileFontSize(){return this.getFileExtension.length<=3?"13px":"10px"}get shouldShowFile(){return"file"===this.thumbnail||"photo"===this.thumbnail&&this.fileInfo.length>0&&!["PNG","JPEG","JPG"].includes(this.getFileExtension)}get createImageUrl(){return this.fileInfo.length>0?URL.createObjectURL(this.fileInfo[0]):""}get fileDetails(){return c(this.fileInfo)[0]}retryUpload=e=>{e.preventDefault(),this.uploadRetry.emit(null)};replaceFile=e=>{e.preventDefault(),this.updateReplace.emit(null)};removeFile=e=>{this.updateRemove.emit(e)};render(){return i(l,{key:"4687da5aba5b19e48de6e8f25c8e096d21925cb3"},i("section",{key:"e3f66edb9efa7e2da077907f5c68ab9ff8e228bd",class:{"single-file-choosen":!0,inverted:this.inverted,uploaded:100===this.progress,"has-error":this.hasError,extended:this.extended}},!this.extended&&i("div",{key:"416f3bac71a667f558478ffc38ba01c9d88551cf",class:"single-file-choosen__wrapper"},i("div",{key:"8f37c4bfa6cfda1cf7b31ef6360709d2bcf59903",class:"single-file-choosen__wrapper__name"},this.hasError&&i("swc-svg-icon",{key:"e9f599b74784dc7e9f9ae62c9dd339f4af512081",class:"me-2",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"}),this.fileDetails.name),i("div",{key:"846edf2d0b0d0af1339ba43948a93cbc9f1fe49a",class:"single-file-choosen__wrapper__size"},this.fileDetails.size),i("div",{key:"a70ac4edf0a89ce0b9021147cc60c89209178b64"},this.progress>0&&100!==this.progress&&!a(this.fileDetails)&&!this.extended&&!this.hasError&&i("swc-progress",{key:"977d717f4c15145b2d223e2d11ecaf01ecccbf68",value:this.progress,max:100})),i("div",{key:"89de8efcd02bbdafe3e4dbf03b02460331ef9a72",class:"d-flex align-items-center justify-content-end"},this.hasError&&!a(this.fileDetails)&&i("swc-button",{key:"7f39b9b5e86cfac05d2859a0913e8740dbed79e5",size:"lg",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.retryUpload},i("span",{key:"2353aef5d81951d7d9e902f44c6dcdc5469822e4",class:"btn-span"},"Retry")),!this.hasError&&!a(this.fileDetails)&&(0===this.progress||100===this.progress)&&i("swc-button",{key:"65c25c49aedb3ea537c672fd3aa3d9cff3574090",size:"lg",intent:"brand",variant:"bare","aria-label":"replace",class:"me-1",onClick:this.replaceFile},i("span",{key:"de0ff7f676d358d3de08e1d02e9406d64ccf44fb",class:"btn-span"},"Replace")),i("swc-icon-button",{key:"caa3dbce714920afcc0078b98bc99075f99e2b9b",intent:"neutral",variant:"bare",size:"lg","aria-label":"dismiss",onClick:()=>this.removeFile(this.fileDetails.id)},i("swc-svg-icon",{key:"33828e34830f2572bc2b7e499008f660fd464961",name:"Dismiss",size:"16"})))),this.extended&&i("div",{key:"0d157ee7271370de829155b4613d91aaba06c46d",class:{"single-file-choosen__extended-wrapper":!0,"no-thumbnail":"none"===this.thumbnail}},"none"!==this.thumbnail&&i("div",{key:"84e39bf62489b5667f235ab577db3d95d99b34dc",class:"file__extension"},this.shouldShowFile&&i("div",{key:"01443e4796c215cada636811c892ace861bb8a40"},i("svg",{key:"5f5cd60d68ccc81b2847167164480aef29c9ef37",width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{key:"be55ffa8bcb7dc70b1efa7a907dde6c9279eb343",d:"M1 6C1 3.5 3.5 1 6 1H21.1071C21.9328 1 22.1149 1.10983 22.6954 1.70367C25.2864 4.35425 28.1524 7.58204 30.3895 9.88063C30.9814 10.4888 31 10.6512 31 11.5V33.5C31 36.5 29.5 39 26 39H6C2.5 39 1 36 1 33.5V6Z",fill:"white",stroke:this.fileExtensionColour,"stroke-width":"1.5"})),i("div",{key:"48344047e977e8376a735f29e327d48ad6a288ec",class:"file-type",style:{color:this.fileExtensionColour,fontSize:this.fileFontSize}},this.getFileExtension)),"photo"===this.thumbnail&&["PNG","JPEG","JPG"].includes(this.getFileExtension)&&!a(this.fileDetails)&&i("div",{key:"28e403f7f20af282549297044827735c71ef477c",class:"file-img"},i("img",{key:"257d489cf9cb3ee354d8317e445c17c9da35cccd",src:this.createImageUrl,alt:this.fileDetails.name}))),i("div",{key:"e6db136fd05da084baec94f6bf85205d01f3b9b6",class:{file:!0,"ms-3":"none"!==this.thumbnail}},i("div",{key:"528175e2170a2d90553f04870154cdf35b257aab",class:"file__identifier"},i("div",{key:"0f6ee85dff00c3a525dc8433fc7a9e8f5f73794e",class:"file__identifier__name"},this.fileDetails.name),i("div",{key:"02b651d19a675a8e20dbc8985c4e9e50608d8f72",class:"d-flex align-items-center justify-content-end"},this.hasError&&!a(this.fileDetails)&&i("swc-button",{key:"556a254c24fc6e7201f3f6780c9d5fc14c983ecf",size:"md",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.retryUpload},i("span",{key:"7f67dd11ff201a8cdc2d88db871af01e50fe02a2",class:"btn-span"},"Retry")),!this.hasError&&!a(this.fileDetails)&&(0===this.progress||100===this.progress)&&i("swc-button",{key:"84c01f9542425bd1b3c7db7d913c523cd02e633b",size:"md",intent:"brand",variant:"bare","aria-label":"replace",class:"me-1",onClick:this.replaceFile},i("span",{key:"ce4b80ea691f40725f54c22908219e403704ebee",class:"btn-span"},"Replace")),i("swc-icon-button",{key:"c57c5ad99f8e185d89fc546526a18ca2b2d4c0ba",intent:"neutral",variant:"bare",size:"md","aria-label":"dismiss",onClick:()=>this.removeFile(this.fileDetails.id)},i("swc-svg-icon",{key:"8e46c69a7412d71cdeeb56aed7fecdb7a3980760",name:"Dismiss",size:"16"})))),i("div",{key:"e958e554a161e04134dcba4dbcd7a8ad0854c012",class:"file__identifier__size mt-3 d-flex align-items-center"},this.hasError&&i("div",{key:"b84d6bf0728907e45e3e399fd129aac92b2a971e"},i("swc-svg-icon",{key:"dae63385dbe6d4990145d1fd34979744c0222925","v-if":"hasError",class:"me-2",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"})),i("span",{key:"dd2dbba91306d5814b1aafd40a85152d2509b831"},this.fileDetails.size)))),this.progress>0&&100!==this.progress&&this.extended&&!a(this.fileDetails)&&!this.hasError&&i("swc-progress",{key:"e5b2abd97b022dfff0df51640e9e951a8806524d",value:this.progress,max:100})))}};f.style=".sc-swc-single-file-h .single-file-choosen.sc-swc-single-file{border-radius:var(--sfe-sizing-radius-default, 8px);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9);padding:0 var(--sfe-sizing-gap-large, 16px)}.sc-swc-single-file-h .single-file-choosen.uploaded.sc-swc-single-file{background:var(--sfe-color-fill-brand-light, #e4edfc) !important}.sc-swc-single-file-h .single-file-choosen.inverted.sc-swc-single-file{border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-single-file-h .single-file-choosen.has-error.sc-swc-single-file{background:var(--sfe-color-fill-critical-light, #f8e0e0)}.sc-swc-single-file-h .single-file-choosen.has-error.inverted.sc-swc-single-file{border:1px solid var(--sfe-color-border-critical-solid, #a22827);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-single-file-h .single-file-choosen.extended.sc-swc-single-file{padding:var(--sfe-sizing-gap-large, 16px) !important}.sc-swc-single-file-h .single-file-choosen.sc-swc-single-file .btn-span.sc-swc-single-file{color:var(--sfe-btn-color-content-bare-brand, #004ca6);font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:400;line-height:16px}.sc-swc-single-file-h .single-file-choosen__wrapper.sc-swc-single-file{display:grid;align-items:center;grid-template-columns:2fr 1fr 3fr 1fr;gap:10px}.sc-swc-single-file-h .single-file-choosen__wrapper__name.sc-swc-single-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:4.5rem}.sc-swc-single-file-h .single-file-choosen__wrapper__size.sc-swc-single-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file{display:grid;align-items:center;grid-template-columns:1fr 24fr}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.no-thumbnail.sc-swc-single-file{grid-template-columns:1fr}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file{position:relative;width:32px;height:40px}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file .file-type.sc-swc-single-file{position:absolute;transform:translate(-50%, -50%);top:65%;left:50%}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file .file-img.sc-swc-single-file img.sc-swc-single-file{width:32px;height:32px;border-radius:4px}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file:empty{display:none}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier.sc-swc-single-file{display:grid;grid-template-columns:3fr 1fr;align-items:center}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier__name.sc-swc-single-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;min-width:3.4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier__size.sc-swc-single-file span.sc-swc-single-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-single-file-h .single-file-choosen.sc-swc-single-file button.has-error.sc-swc-single-file span.sc-swc-single-file{color:var(--sfe-btn-color-content-bare-critical, #a22827)}.sc-swc-single-file-h .me-2.sc-swc-single-file{margin-right:8px}.sc-swc-single-file-h .me-1.sc-swc-single-file{margin-right:4px}.sc-swc-single-file-h .mt-2.sc-swc-single-file{margin-top:8px}.sc-swc-single-file-h .ms-3.sc-swc-single-file{margin-left:16px}.sc-swc-single-file-h .d-flex.sc-swc-single-file{display:flex}.sc-swc-single-file-h .align-items-center.sc-swc-single-file{align-items:center}.sc-swc-single-file-h .justify-content-end.sc-swc-single-file{justify-content:flex-end}.sc-swc-single-file-h .justify-content-between.sc-swc-single-file{justify-content:space-between}";export{n as swc_multiple_file,f as swc_single_file}
1
+ import{r as e,d as s,h as i,H as l}from"./p-9oFec6fH.js";import{u as t}from"./p-DAupwlOU.js";const c=e=>e&&e.length>0?e.map(((e,s)=>{const i=e.name;return{id:s,name:i.substring(0,i.lastIndexOf("."))||i,size:`${(e.size/1024/1024).toFixed(2)} MB`}})):[],a=e=>0===Object.keys(e).length&&e.constructor===Object,n=class{constructor(i){e(this,i),this.updateRemove=s(this,"updateRemove",7),this.updateReplace=s(this,"updateReplace",7),this.uploadRetry=s(this,"uploadRetry",7)}fileInfo=[];inverted=!1;hasError=!1;progress=0;uniqueId=`multiple-file-${t().generate()}`;updateRemove;updateReplace;uploadRetry;get fileDetails(){return c(this.fileInfo)}handleUpdateReplace=(e,s)=>{e.preventDefault(),this.updateReplace.emit(s)};handleUpdateRemove=(e,s)=>{e.preventDefault(),this.updateRemove.emit(s)};handleUploadRetry=e=>{e.preventDefault(),this.uploadRetry.emit(null)};render(){return i(l,{key:"f730b8b42b8d652c3dd4209d939f3ec720a57f72"},i("section",{key:"a74683c967a070b6b89805335eb7e3e85fb9021b",class:{"multiple-file-choosen":!0,inverted:this.inverted,uploaded:100===this.progress,"has-error":this.hasError}},this.fileDetails.map(((e,s)=>i("div",{class:"multiple-file-choosen__wrapper",key:s},i("div",{class:"multiple-file-choosen__name"},e.name),i("div",{class:"multiple-file-choosen__size"},e.size),i("div",{class:"d-flex align-items-center justify-content-end"},i("swc-button",{size:"lg",intent:"brand",variant:"bare","aria-label":"replace",class:"mr-1",onClick:s=>this.handleUpdateReplace(s,e.id)},i("span",null,"Replace")),i("swc-icon-button",{intent:"neutral",variant:"bare",size:"lg","aria-label":"dismiss",onClick:s=>this.handleUpdateRemove(s,e.id)},i("swc-svg-icon",{name:"Dismiss",size:"16"})))))),this.progress>0&&100!==this.progress&&this.fileDetails.length>0&&!this.hasError&&i("swc-progress",{key:"f8d640f37cf76f0ebdfeb4de6d7310a36e729b0e",value:this.progress,max:100,class:"mt-2"}),!this.hasError&&this.fileDetails.length>0&&100===this.progress&&i("div",{key:"9d6bf5ff30fc0e08b69f4843c935b3cc15ae6db5",class:"d-flex align-items-center mt-2"},i("div",{key:"f57d8d06bd7bc8197f45c0d774cbb11f3c292722",class:"completed"},"Upload completed")),this.hasError&&i("div",{key:"9c31049ce562124a4d3cc1338c64189ae1cb035f",class:"d-flex justify-content-between align-items-center mt-2"},i("div",{key:"9a57868b0661d437699daab73ad4063ac1f32931",class:"has-error"},i("swc-svg-icon",{key:"4b3a05a6b5588b515655fad3d1c97350be3bbfa7",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"})),i("swc-button",{key:"71e606a05fd167801b016114144809480154d94e",size:"lg",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.handleUploadRetry},i("span",{key:"e342644e6c50581d3cbc401d2bff782d98045e93"},"Retry")))))}};n.style=".sc-swc-multiple-file-h .me-2.sc-swc-multiple-file{margin-right:8px}.sc-swc-multiple-file-h .me-1.sc-swc-multiple-file{margin-right:4px}.sc-swc-multiple-file-h .mt-2.sc-swc-multiple-file{margin-top:8px}.sc-swc-multiple-file-h .d-flex.sc-swc-multiple-file{display:flex}.sc-swc-multiple-file-h .align-items-center.sc-swc-multiple-file{align-items:center}.sc-swc-multiple-file-h .justify-content-end.sc-swc-multiple-file{justify-content:flex-end}.sc-swc-multiple-file-h .justify-content-between.sc-swc-multiple-file{justify-content:space-between}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file{border-radius:var(--sfe-sizing-radius-default, 8px);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9);padding:var(--sfe-sizing-gap-small, 8px) var(--sfe-sizing-gap-large, 16px) !important;margin-top:8px}.sc-swc-multiple-file-h .multiple-file-choosen.uploaded.sc-swc-multiple-file{background:var(--sfe-color-fill-brand-light, #e4edfc) !important}.sc-swc-multiple-file-h .multiple-file-choosen.inverted.sc-swc-multiple-file{border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-multiple-file-h .multiple-file-choosen.has-error.sc-swc-multiple-file{background:var(--sfe-color-fill-critical-light, #f8e0e0)}.sc-swc-multiple-file-h .multiple-file-choosen.has-error.inverted.sc-swc-multiple-file{border:1px solid var(--sfe-color-border-critical-solid, #a22827);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-multiple-file-h .multiple-file-choosen__wrapper.sc-swc-multiple-file{display:grid;align-items:center;grid-template-columns:2fr 1fr 3fr;gap:22px}.sc-swc-multiple-file-h .multiple-file-choosen__name.sc-swc-multiple-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:3rem}.sc-swc-multiple-file-h .multiple-file-choosen__size.sc-swc-multiple-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file div.sc-swc-multiple-file div.completed.sc-swc-multiple-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-small, 0.75rem);font-style:normal;font-weight:400;line-height:14px}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file button.sc-swc-multiple-file span.sc-swc-multiple-file{color:var(--sfe-btn-color-content-bare-brand, #004ca6);font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:400;line-height:16px}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file button.has-error.sc-swc-multiple-file span.sc-swc-multiple-file{color:var(--sfe-btn-color-content-bare-critical, #a22827)}";const f=class{constructor(i){e(this,i),this.updateRemove=s(this,"updateRemove",7),this.updateReplace=s(this,"updateReplace",7),this.uploadRetry=s(this,"uploadRetry",7)}fileInfo=[];extended=!1;thumbnail="file";inverted=!1;hasError=!1;progress=0;uniqueId=`single-file-${t().generate()}`;updateRemove;updateReplace;uploadRetry;get getFileExtension(){if(this.fileInfo.length>0){const e=this.fileInfo[0].name;return e.split(".").pop()?.toUpperCase()||""}return""}get fileExtensionColour(){return"var(--sfe-color-non-semantic-content-violet-subtle, #4E38BC)"}get fileFontSize(){return this.getFileExtension.length<=3?"13px":"10px"}get shouldShowFile(){return"file"===this.thumbnail||"photo"===this.thumbnail&&this.fileInfo.length>0&&!["PNG","JPEG","JPG"].includes(this.getFileExtension)}get createImageUrl(){return this.fileInfo.length>0?URL.createObjectURL(this.fileInfo[0]):""}get fileDetails(){return c(this.fileInfo)[0]}retryUpload=e=>{e.preventDefault(),this.uploadRetry.emit(null)};replaceFile=e=>{e.preventDefault(),this.updateReplace.emit(null)};removeFile=e=>{this.updateRemove.emit(e)};render(){return i(l,{key:"4687da5aba5b19e48de6e8f25c8e096d21925cb3"},i("section",{key:"e3f66edb9efa7e2da077907f5c68ab9ff8e228bd",class:{"single-file-choosen":!0,inverted:this.inverted,uploaded:100===this.progress,"has-error":this.hasError,extended:this.extended}},!this.extended&&i("div",{key:"416f3bac71a667f558478ffc38ba01c9d88551cf",class:"single-file-choosen__wrapper"},i("div",{key:"8f37c4bfa6cfda1cf7b31ef6360709d2bcf59903",class:"single-file-choosen__wrapper__name"},this.hasError&&i("swc-svg-icon",{key:"e9f599b74784dc7e9f9ae62c9dd339f4af512081",class:"me-2",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"}),this.fileDetails.name),i("div",{key:"846edf2d0b0d0af1339ba43948a93cbc9f1fe49a",class:"single-file-choosen__wrapper__size"},this.fileDetails.size),i("div",{key:"a70ac4edf0a89ce0b9021147cc60c89209178b64"},this.progress>0&&100!==this.progress&&!a(this.fileDetails)&&!this.extended&&!this.hasError&&i("swc-progress",{key:"977d717f4c15145b2d223e2d11ecaf01ecccbf68",value:this.progress,max:100})),i("div",{key:"89de8efcd02bbdafe3e4dbf03b02460331ef9a72",class:"d-flex align-items-center justify-content-end"},this.hasError&&!a(this.fileDetails)&&i("swc-button",{key:"7f39b9b5e86cfac05d2859a0913e8740dbed79e5",size:"lg",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.retryUpload},i("span",{key:"2353aef5d81951d7d9e902f44c6dcdc5469822e4",class:"btn-span"},"Retry")),!this.hasError&&!a(this.fileDetails)&&(0===this.progress||100===this.progress)&&i("swc-button",{key:"65c25c49aedb3ea537c672fd3aa3d9cff3574090",size:"lg",intent:"brand",variant:"bare","aria-label":"replace",class:"me-1",onClick:this.replaceFile},i("span",{key:"de0ff7f676d358d3de08e1d02e9406d64ccf44fb",class:"btn-span"},"Replace")),i("swc-icon-button",{key:"caa3dbce714920afcc0078b98bc99075f99e2b9b",intent:"neutral",variant:"bare",size:"lg","aria-label":"dismiss",onClick:()=>this.removeFile(this.fileDetails.id)},i("swc-svg-icon",{key:"33828e34830f2572bc2b7e499008f660fd464961",name:"Dismiss",size:"16"})))),this.extended&&i("div",{key:"0d157ee7271370de829155b4613d91aaba06c46d",class:{"single-file-choosen__extended-wrapper":!0,"no-thumbnail":"none"===this.thumbnail}},"none"!==this.thumbnail&&i("div",{key:"84e39bf62489b5667f235ab577db3d95d99b34dc",class:"file__extension"},this.shouldShowFile&&i("div",{key:"01443e4796c215cada636811c892ace861bb8a40"},i("svg",{key:"5f5cd60d68ccc81b2847167164480aef29c9ef37",width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{key:"be55ffa8bcb7dc70b1efa7a907dde6c9279eb343",d:"M1 6C1 3.5 3.5 1 6 1H21.1071C21.9328 1 22.1149 1.10983 22.6954 1.70367C25.2864 4.35425 28.1524 7.58204 30.3895 9.88063C30.9814 10.4888 31 10.6512 31 11.5V33.5C31 36.5 29.5 39 26 39H6C2.5 39 1 36 1 33.5V6Z",fill:"white",stroke:this.fileExtensionColour,"stroke-width":"1.5"})),i("div",{key:"48344047e977e8376a735f29e327d48ad6a288ec",class:"file-type",style:{color:this.fileExtensionColour,fontSize:this.fileFontSize}},this.getFileExtension)),"photo"===this.thumbnail&&["PNG","JPEG","JPG"].includes(this.getFileExtension)&&!a(this.fileDetails)&&i("div",{key:"28e403f7f20af282549297044827735c71ef477c",class:"file-img"},i("img",{key:"257d489cf9cb3ee354d8317e445c17c9da35cccd",src:this.createImageUrl,alt:this.fileDetails.name}))),i("div",{key:"e6db136fd05da084baec94f6bf85205d01f3b9b6",class:{file:!0,"ms-3":"none"!==this.thumbnail}},i("div",{key:"528175e2170a2d90553f04870154cdf35b257aab",class:"file__identifier"},i("div",{key:"0f6ee85dff00c3a525dc8433fc7a9e8f5f73794e",class:"file__identifier__name"},this.fileDetails.name),i("div",{key:"02b651d19a675a8e20dbc8985c4e9e50608d8f72",class:"d-flex align-items-center justify-content-end"},this.hasError&&!a(this.fileDetails)&&i("swc-button",{key:"556a254c24fc6e7201f3f6780c9d5fc14c983ecf",size:"md",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.retryUpload},i("span",{key:"7f67dd11ff201a8cdc2d88db871af01e50fe02a2",class:"btn-span"},"Retry")),!this.hasError&&!a(this.fileDetails)&&(0===this.progress||100===this.progress)&&i("swc-button",{key:"84c01f9542425bd1b3c7db7d913c523cd02e633b",size:"md",intent:"brand",variant:"bare","aria-label":"replace",class:"me-1",onClick:this.replaceFile},i("span",{key:"ce4b80ea691f40725f54c22908219e403704ebee",class:"btn-span"},"Replace")),i("swc-icon-button",{key:"c57c5ad99f8e185d89fc546526a18ca2b2d4c0ba",intent:"neutral",variant:"bare",size:"md","aria-label":"dismiss",onClick:()=>this.removeFile(this.fileDetails.id)},i("swc-svg-icon",{key:"8e46c69a7412d71cdeeb56aed7fecdb7a3980760",name:"Dismiss",size:"16"})))),i("div",{key:"e958e554a161e04134dcba4dbcd7a8ad0854c012",class:"file__identifier__size mt-3 d-flex align-items-center"},this.hasError&&i("div",{key:"b84d6bf0728907e45e3e399fd129aac92b2a971e"},i("swc-svg-icon",{key:"dae63385dbe6d4990145d1fd34979744c0222925","v-if":"hasError",class:"me-2",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"})),i("span",{key:"dd2dbba91306d5814b1aafd40a85152d2509b831"},this.fileDetails.size)))),this.progress>0&&100!==this.progress&&this.extended&&!a(this.fileDetails)&&!this.hasError&&i("swc-progress",{key:"e5b2abd97b022dfff0df51640e9e951a8806524d",value:this.progress,max:100})))}};f.style=".sc-swc-single-file-h .single-file-choosen.sc-swc-single-file{border-radius:var(--sfe-sizing-radius-default, 8px);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9);padding:0 var(--sfe-sizing-gap-large, 16px)}.sc-swc-single-file-h .single-file-choosen.uploaded.sc-swc-single-file{background:var(--sfe-color-fill-brand-light, #e4edfc) !important}.sc-swc-single-file-h .single-file-choosen.inverted.sc-swc-single-file{border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-single-file-h .single-file-choosen.has-error.sc-swc-single-file{background:var(--sfe-color-fill-critical-light, #f8e0e0)}.sc-swc-single-file-h .single-file-choosen.has-error.inverted.sc-swc-single-file{border:1px solid var(--sfe-color-border-critical-solid, #a22827);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-single-file-h .single-file-choosen.extended.sc-swc-single-file{padding:var(--sfe-sizing-gap-large, 16px) !important}.sc-swc-single-file-h .single-file-choosen.sc-swc-single-file .btn-span.sc-swc-single-file{color:var(--sfe-btn-color-content-bare-brand, #004ca6);font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:400;line-height:16px}.sc-swc-single-file-h .single-file-choosen__wrapper.sc-swc-single-file{display:grid;align-items:center;grid-template-columns:2fr 1fr 3fr 1fr;gap:10px}.sc-swc-single-file-h .single-file-choosen__wrapper__name.sc-swc-single-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:4.5rem}.sc-swc-single-file-h .single-file-choosen__wrapper__size.sc-swc-single-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file{display:grid;align-items:center;grid-template-columns:1fr 24fr}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.no-thumbnail.sc-swc-single-file{grid-template-columns:1fr}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file{position:relative;width:32px;height:40px}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file .file-type.sc-swc-single-file{position:absolute;transform:translate(-50%, -50%);top:65%;left:50%}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file .file-img.sc-swc-single-file img.sc-swc-single-file{width:32px;height:32px;border-radius:4px}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file:empty{display:none}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier.sc-swc-single-file{display:grid;grid-template-columns:3fr 1fr;align-items:center}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier__name.sc-swc-single-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;min-width:3.4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier__size.sc-swc-single-file span.sc-swc-single-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-single-file-h .single-file-choosen.sc-swc-single-file button.has-error.sc-swc-single-file span.sc-swc-single-file{color:var(--sfe-btn-color-content-bare-critical, #a22827)}.sc-swc-single-file-h .me-2.sc-swc-single-file{margin-right:8px}.sc-swc-single-file-h .me-1.sc-swc-single-file{margin-right:4px}.sc-swc-single-file-h .mt-2.sc-swc-single-file{margin-top:8px}.sc-swc-single-file-h .ms-3.sc-swc-single-file{margin-left:16px}.sc-swc-single-file-h .d-flex.sc-swc-single-file{display:flex}.sc-swc-single-file-h .align-items-center.sc-swc-single-file{align-items:center}.sc-swc-single-file-h .justify-content-end.sc-swc-single-file{justify-content:flex-end}.sc-swc-single-file-h .justify-content-between.sc-swc-single-file{justify-content:space-between}";export{n as swc_multiple_file,f as swc_single_file}
@@ -1 +1 @@
1
- import{r as a,d as e,h as t}from"./p-DdKztCEo.js";const i=class{constructor(t){a(this,t),this.searchInput=e(this,"searchInput",7),this.toggleSearchInput=e(this,"toggleSearchInput",7),this.showNotification=e(this,"showNotification",7)}maxWidth="100%";roleWrapperWidth=152;hasNotifications=!0;hasReadNotifications=!1;hasUserRoleDropdown=!0;hasSearch=!0;testId="";areLinksVisible=!0;isSearchVisible=!1;searchQuery="";searchInput;toggleSearchInput;showNotification;get roleMenuStyleObj(){return{minWidth:"152px",width:`${this.roleWrapperWidth}px`}}handleInputEventChange(a){const e=a.detail.value;this.searchQuery=e,this.searchInput.emit(e)}toggleSearch=async()=>{this.areLinksVisible?(this.areLinksVisible=!1,setTimeout((()=>{this.isSearchVisible=!0}),400)):(this.isSearchVisible=!1,setTimeout((()=>{this.areLinksVisible=!0}),400))};handleInputChange=a=>{this.searchQuery=a,this.searchInput.emit(a)};handleStopPropagation=a=>{a.stopPropagation()};handleShowNotification=()=>{this.showNotification.emit(!0)};searchVisibleChangeHandler(a){this.toggleSearchInput.emit(a)}render(){return t("header",{key:"a88ad014d303c8a739dc89ec2fbd535cb088418d",class:"topnav","data-testid":`swc-top-nav-${this.testId}`,style:{"--max-width":this.maxWidth}},t("div",{key:"c7342203c491b25c6b152a7b2733cf2aafa2bafc",class:"topnav__content"},t("div",{key:"b1937836282fbff9093079da0d9e409aa643aac6",class:"topnav__left"},t("div",{key:"9a8caeb97a198045e8134ca12ee94be2ca0d7c29",class:"topnav__brand"},t("slot",{key:"fe6f3f77f12cfd1711a2586771d9e2b6d72537ed",name:"companyLogo"},"Logo")),t("div",{key:"e3a44341d609c7652036fb94000114f4ca606650",class:{topnav__links:!0,"fade-enter":this.areLinksVisible,"fade-leave-to":!this.areLinksVisible}},t("slot",{key:"82518710ac09146fa904f564c0c90b2ce84440e2",name:"navLinks"}))),t("div",{key:"2426805082a888b37f9440cef6545011101e1c46",class:{"topnav__search-container":!0,"slide-fade-enter-from":this.isSearchVisible,"slide-fade-leave-to":!this.isSearchVisible},onClick:this.handleStopPropagation},t("swc-input",{key:"1a6010fba249a7174e57b153e0f663d16d1dfed7",value:this.searchQuery,type:"search",placeholder:"Search hint",variant:"faded",containerClass:"w-40 search-transition","arial-expanded":!0,"arial-label":!0,handleInputChange:this.handleInputChange},t("span",{key:"80a586761e2d56b748cfda0cd9e66b47750b4910",slot:"leftAddon"},t("svg",{key:"a8a96895d4299ad94a68bc1943ed97100c592883",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},t("path",{key:"ae69215c7c140c767884b068d2f1bfc54856421d",d:"M8.19009 14.0467C4.68621 14.0467 1.8335 11.194 1.8335 7.69009C1.8335 4.18621 4.68621 1.3335 8.19009 1.3335C11.694 1.3335 14.5467 4.18621 14.5467 7.69009C14.5467 11.194 11.694 14.0467 8.19009 14.0467ZM8.19009 2.26373C5.19474 2.26373 2.76373 4.70094 2.76373 7.69009C2.76373 10.6792 5.19474 13.1164 8.19009 13.1164C11.1854 13.1164 13.6164 10.6792 13.6164 7.69009C13.6164 4.70094 11.1854 2.26373 8.19009 2.26373Z",fill:"black","fill-opacity":"0.7"}),t("path",{key:"cabb590d090a8aefad92369fe448936c7ef63654",d:"M14.7017 14.6668C14.5839 14.6668 14.4661 14.6234 14.373 14.5304L13.1327 13.2901C12.9529 13.1102 12.9529 12.8126 13.1327 12.6327C13.3126 12.4529 13.6102 12.4529 13.7901 12.6327L15.0304 13.873C15.2102 14.0529 15.2102 14.3506 15.0304 14.5304C14.9374 14.6234 14.8195 14.6668 14.7017 14.6668Z",fill:"black","fill-opacity":"0.7"})))),t("div",{key:"44164efad1552ed010d880fecd6dfe3ddaeb96f2",class:"search-list"},this.isSearchVisible&&t("slot",{key:"50fc6ffdac91effba3496f3b4e44679852fc50ee",name:"searchList"}))),t("div",{key:"51526957f10654c54cd6b6c5e20a0d1588e70fbd",class:"topnav__right"},this.hasSearch&&t("swc-icon-button",{key:"59f6f5bb0596e940d9493998ee646d5091c4b347",intent:"neutral",variant:"bare",size:"lg","aria-label":"Search",class:"topnav__search-icon",round:!0,onClick:this.toggleSearch},this.isSearchVisible?t("swc-svg-icon",{name:"Dismiss",size:"16"}):t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{d:"M7.69009 14.0467C4.18621 14.0467 1.3335 11.194 1.3335 7.69009C1.3335 4.18621 4.18621 1.3335 7.69009 1.3335C11.194 1.3335 14.0467 4.18621 14.0467 7.69009C14.0467 11.194 11.194 14.0467 7.69009 14.0467ZM7.69009 2.26373C4.69474 2.26373 2.26373 4.70094 2.26373 7.69009C2.26373 10.6792 4.69474 13.1164 7.69009 13.1164C10.6854 13.1164 13.1164 10.6792 13.1164 7.69009C13.1164 4.70094 10.6854 2.26373 7.69009 2.26373Z",fill:"black","fill-opacity":"0.7"}),t("path",{d:"M14.2017 14.6668C14.0839 14.6668 13.9661 14.6234 13.873 14.5304L12.6327 13.2901C12.4529 13.1102 12.4529 12.8126 12.6327 12.6327C12.8126 12.4529 13.1102 12.4529 13.2901 12.6327L14.5304 13.873C14.7102 14.0529 14.7102 14.3506 14.5304 14.5304C14.4374 14.6234 14.3195 14.6668 14.2017 14.6668Z",fill:"black","fill-opacity":"0.7"}))),this.hasUserRoleDropdown&&t("swc-dropdown",{key:"5b4ad4941219b6e21bf3c44ac121fbcd7f343b04",class:"topnav__role-switch"},t("span",{key:"1117237c0c0c531e0f671aea473b88aa9cfc3aea",slot:"trigger"},t("swc-dropdown-trigger",{key:"ac2797a8c41baa83c889a701fafe519ebe26a4d3",size:"md",style:this.roleMenuStyleObj},t("div",{key:"cae9afd5e65423b98b6663071f0de390b127108f",class:"topnav__role-liner"},t("swc-svg-icon",{key:"10196cd77c9d956a93ad1a5b605032bdef4c25f3",name:"Person",variant:"filled",size:"20"}),"  ",t("slot",{key:"5a14395ea2a0aa1917168e684d7b326a293b1967",name:"roleSelected"})))),t("span",{key:"002a05dbc7b44c5984b274d24292f7c59857617d",slot:"list"},t("slot",{key:"1a27e3f95325157339bfd73746b6f2a4494775ff",name:"userRolesList"},"User Role Dropdown Menu"))),this.hasNotifications&&t("div",{key:"298fc63aa8f4c4593e2b44c5962f793778826f41",class:"topnav__notification"},t("swc-dropdown",{key:"a891390d15ab896319604a1d9010e6fe2c24830e"},t("span",{key:"9f01362f044fc1c9a850fbc5f67b8b5d5d8296f3",slot:"trigger"},t("swc-icon-button",{key:"8bcd6e861f4490df9c4ca52d49f9916b9d8ca8ff",intent:"brand",variant:"ghost",size:"lg","aria-label":"Alert",class:"alert-btn",round:!0,onClick:this.handleShowNotification},t("svg",{key:"1a9a0c0e0f9461a5f03ff8974087784bb6bf82e5",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{key:"dbb75ba281b6853ffaf1cc5d4982eb554db10831",d:"M7.9979 0C11.1469 0 13.7418 2.33488 13.9824 5.3554L13.9958 5.57762L14.0003 5.80214L13.9993 9.398L14.9247 11.6202C14.9472 11.6743 14.9649 11.7302 14.9776 11.7871L14.9929 11.8733L15.0015 12.0046C15.0015 12.4526 14.705 12.8387 14.2524 12.9677L14.136 12.9945L14.0015 13.0046L10.4999 13.004L10.4949 13.1653C10.4098 14.469 9.32542 15.5 8.00026 15.5C6.67478 15.5 5.59022 14.4685 5.50558 13.1644L5.49986 13.004L1.99915 13.0046C1.9112 13.0046 1.82383 12.993 1.73927 12.9702L1.61481 12.9277C1.20403 12.7567 0.962056 12.3392 1.01246 11.8757L1.03354 11.7483L1.07596 11.6202L1.99926 9.401L2.00035 5.79281L2.00465 5.56824C2.12726 2.45115 4.77129 0 7.9979 0ZM9.49986 13.004H6.49986L6.50722 13.1454C6.57576 13.8581 7.143 14.425 7.8558 14.4931L8.00026 14.5C8.77996 14.5 9.42071 13.9051 9.49339 13.1445L9.49986 13.004ZM7.9979 1C5.37535 1 3.22741 2.92372 3.0174 5.38498L3.00417 5.59723L3.00026 5.80214V9.5L2.96185 9.69217L1.99914 12.0046L13.9569 12.0066L14.0021 12.0045L13.0387 9.6922L13.0003 9.5L13.0004 5.81241L12.9963 5.60831C12.8911 3.0349 10.6949 1 7.9979 1Z",fill:"#004CA6"})),!this.hasReadNotifications&&t("div",{key:"7626f1368b6caf70b2300d8a6ee8b98112155345",class:"notify"},t("svg",{key:"e8d6802acc9c140f4e1f8fd3523350ea564e61df",xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none"},t("circle",{key:"195da3d35f48586f38f7a775977039b8c94d4847",cx:"2",cy:"2",r:"2",fill:"var(--sfe-color-non-semantic-fill-red-strong)"}))))),t("span",{key:"f1d7ccdbade10df51d0ad2c61b391ad6a31a7c59",slot:"list"},t("slot",{key:"c0651aeac06b5146ab2323ffac1e34b1976abb22",name:"notificationsList"})))),t("div",{key:"442fa65819d84a5c69e35a7431e180394dd30845",class:"topnav__avatar"},t("slot",{key:"c14d312ef15d075d4ca4fedb206c37b9972610ae",name:"userAvatar"})))))}static get watchers(){return{isSearchVisible:[{searchVisibleChangeHandler:0}]}}};i.style=".topnav{position:fixed;top:0;left:0;width:100%;z-index:var(--sfe-stack-level-navs);background:var(--sfe-color-fill-surface)}.topnav__content{border-bottom:0.8px solid var(--sfe-color-border-neutral-light);display:flex;padding:var(--sfe-sizing-gap-mid) var(--sfe-sizing-padding-large);justify-content:space-between;align-items:center;margin-inline:auto;height:var(--sfe-sizing-size-640, 64px);max-width:var(--max-width)}.topnav__links{transition:opacity 0.3s ease}.topnav__role-liner{display:flex;align-items:center}.topnav__left,.topnav__search-container,.topnav__right{display:flex;align-items:center}.topnav__left .topnav__brand{max-height:40px;overflow:hidden;width:auto;display:inline-block}.topnav__left .topnav__brand svg{width:auto;height:100%}.topnav__left .topnav__links{display:flex;margin-left:26px}.topnav__search-container{transition:opacity 0.3s ease, transform 0.3s ease;position:relative;justify-content:center;width:40%}.topnav__search-container .search-list{position:relative}.topnav__right{padding:0 24px 0 8px;justify-content:center;align-items:center}.topnav__right .topnav__search-icon,.topnav__right .topnav__role-switch,.topnav__right .topnav__notification,.topnav__right .topnav__avatar{margin:0 12px}.topnav__right .topnav__notification{position:relative}.topnav__right .topnav__notification .alert-btn .notify{position:absolute;right:13px;top:3px}.topnav__right .topnav__notification .topnav__notification-list{position:relative}.topnav__right .topnav__avatar{align-items:center}.w-40{width:36vw}.fade-leave-to{opacity:0}.fade-enter{opacity:1}.slide-fade-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-enter-from{transform:translateY(0);opacity:1}";export{i as swc_top_nav}
1
+ import{r as a,d as e,h as t}from"./p-9oFec6fH.js";const i=class{constructor(t){a(this,t),this.searchInput=e(this,"searchInput",7),this.toggleSearchInput=e(this,"toggleSearchInput",7),this.showNotification=e(this,"showNotification",7)}maxWidth="100%";roleWrapperWidth=152;hasNotifications=!0;hasReadNotifications=!1;hasUserRoleDropdown=!0;hasSearch=!0;testId="";areLinksVisible=!0;isSearchVisible=!1;searchQuery="";searchInput;toggleSearchInput;showNotification;get roleMenuStyleObj(){return{minWidth:"152px",width:`${this.roleWrapperWidth}px`}}handleInputEventChange(a){const e=a.detail.value;this.searchQuery=e,this.searchInput.emit(e)}toggleSearch=async()=>{this.areLinksVisible?(this.areLinksVisible=!1,setTimeout((()=>{this.isSearchVisible=!0}),400)):(this.isSearchVisible=!1,setTimeout((()=>{this.areLinksVisible=!0}),400))};handleInputChange=a=>{this.searchQuery=a,this.searchInput.emit(a)};handleStopPropagation=a=>{a.stopPropagation()};handleShowNotification=()=>{this.showNotification.emit(!0)};searchVisibleChangeHandler(a){this.toggleSearchInput.emit(a)}render(){return t("header",{key:"a88ad014d303c8a739dc89ec2fbd535cb088418d",class:"topnav","data-testid":`swc-top-nav-${this.testId}`,style:{"--max-width":this.maxWidth}},t("div",{key:"c7342203c491b25c6b152a7b2733cf2aafa2bafc",class:"topnav__content"},t("div",{key:"b1937836282fbff9093079da0d9e409aa643aac6",class:"topnav__left"},t("div",{key:"9a8caeb97a198045e8134ca12ee94be2ca0d7c29",class:"topnav__brand"},t("slot",{key:"fe6f3f77f12cfd1711a2586771d9e2b6d72537ed",name:"companyLogo"},"Logo")),t("div",{key:"e3a44341d609c7652036fb94000114f4ca606650",class:{topnav__links:!0,"fade-enter":this.areLinksVisible,"fade-leave-to":!this.areLinksVisible}},t("slot",{key:"82518710ac09146fa904f564c0c90b2ce84440e2",name:"navLinks"}))),t("div",{key:"2426805082a888b37f9440cef6545011101e1c46",class:{"topnav__search-container":!0,"slide-fade-enter-from":this.isSearchVisible,"slide-fade-leave-to":!this.isSearchVisible},onClick:this.handleStopPropagation},t("swc-input",{key:"1a6010fba249a7174e57b153e0f663d16d1dfed7",value:this.searchQuery,type:"search",placeholder:"Search hint",variant:"faded",containerClass:"w-40 search-transition","arial-expanded":!0,"arial-label":!0,handleInputChange:this.handleInputChange},t("span",{key:"80a586761e2d56b748cfda0cd9e66b47750b4910",slot:"leftAddon"},t("svg",{key:"a8a96895d4299ad94a68bc1943ed97100c592883",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},t("path",{key:"ae69215c7c140c767884b068d2f1bfc54856421d",d:"M8.19009 14.0467C4.68621 14.0467 1.8335 11.194 1.8335 7.69009C1.8335 4.18621 4.68621 1.3335 8.19009 1.3335C11.694 1.3335 14.5467 4.18621 14.5467 7.69009C14.5467 11.194 11.694 14.0467 8.19009 14.0467ZM8.19009 2.26373C5.19474 2.26373 2.76373 4.70094 2.76373 7.69009C2.76373 10.6792 5.19474 13.1164 8.19009 13.1164C11.1854 13.1164 13.6164 10.6792 13.6164 7.69009C13.6164 4.70094 11.1854 2.26373 8.19009 2.26373Z",fill:"black","fill-opacity":"0.7"}),t("path",{key:"cabb590d090a8aefad92369fe448936c7ef63654",d:"M14.7017 14.6668C14.5839 14.6668 14.4661 14.6234 14.373 14.5304L13.1327 13.2901C12.9529 13.1102 12.9529 12.8126 13.1327 12.6327C13.3126 12.4529 13.6102 12.4529 13.7901 12.6327L15.0304 13.873C15.2102 14.0529 15.2102 14.3506 15.0304 14.5304C14.9374 14.6234 14.8195 14.6668 14.7017 14.6668Z",fill:"black","fill-opacity":"0.7"})))),t("div",{key:"44164efad1552ed010d880fecd6dfe3ddaeb96f2",class:"search-list"},this.isSearchVisible&&t("slot",{key:"50fc6ffdac91effba3496f3b4e44679852fc50ee",name:"searchList"}))),t("div",{key:"51526957f10654c54cd6b6c5e20a0d1588e70fbd",class:"topnav__right"},this.hasSearch&&t("swc-icon-button",{key:"59f6f5bb0596e940d9493998ee646d5091c4b347",intent:"neutral",variant:"bare",size:"lg","aria-label":"Search",class:"topnav__search-icon",round:!0,onClick:this.toggleSearch},this.isSearchVisible?t("swc-svg-icon",{name:"Dismiss",size:"16"}):t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{d:"M7.69009 14.0467C4.18621 14.0467 1.3335 11.194 1.3335 7.69009C1.3335 4.18621 4.18621 1.3335 7.69009 1.3335C11.194 1.3335 14.0467 4.18621 14.0467 7.69009C14.0467 11.194 11.194 14.0467 7.69009 14.0467ZM7.69009 2.26373C4.69474 2.26373 2.26373 4.70094 2.26373 7.69009C2.26373 10.6792 4.69474 13.1164 7.69009 13.1164C10.6854 13.1164 13.1164 10.6792 13.1164 7.69009C13.1164 4.70094 10.6854 2.26373 7.69009 2.26373Z",fill:"black","fill-opacity":"0.7"}),t("path",{d:"M14.2017 14.6668C14.0839 14.6668 13.9661 14.6234 13.873 14.5304L12.6327 13.2901C12.4529 13.1102 12.4529 12.8126 12.6327 12.6327C12.8126 12.4529 13.1102 12.4529 13.2901 12.6327L14.5304 13.873C14.7102 14.0529 14.7102 14.3506 14.5304 14.5304C14.4374 14.6234 14.3195 14.6668 14.2017 14.6668Z",fill:"black","fill-opacity":"0.7"}))),this.hasUserRoleDropdown&&t("swc-dropdown",{key:"5b4ad4941219b6e21bf3c44ac121fbcd7f343b04",class:"topnav__role-switch"},t("span",{key:"1117237c0c0c531e0f671aea473b88aa9cfc3aea",slot:"trigger"},t("swc-dropdown-trigger",{key:"ac2797a8c41baa83c889a701fafe519ebe26a4d3",size:"md",style:this.roleMenuStyleObj},t("div",{key:"cae9afd5e65423b98b6663071f0de390b127108f",class:"topnav__role-liner"},t("swc-svg-icon",{key:"10196cd77c9d956a93ad1a5b605032bdef4c25f3",name:"Person",variant:"filled",size:"20"}),"  ",t("slot",{key:"5a14395ea2a0aa1917168e684d7b326a293b1967",name:"roleSelected"})))),t("span",{key:"002a05dbc7b44c5984b274d24292f7c59857617d",slot:"list"},t("slot",{key:"1a27e3f95325157339bfd73746b6f2a4494775ff",name:"userRolesList"},"User Role Dropdown Menu"))),this.hasNotifications&&t("div",{key:"298fc63aa8f4c4593e2b44c5962f793778826f41",class:"topnav__notification"},t("swc-dropdown",{key:"a891390d15ab896319604a1d9010e6fe2c24830e"},t("span",{key:"9f01362f044fc1c9a850fbc5f67b8b5d5d8296f3",slot:"trigger"},t("swc-icon-button",{key:"8bcd6e861f4490df9c4ca52d49f9916b9d8ca8ff",intent:"brand",variant:"ghost",size:"lg","aria-label":"Alert",class:"alert-btn",round:!0,onClick:this.handleShowNotification},t("svg",{key:"1a9a0c0e0f9461a5f03ff8974087784bb6bf82e5",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{key:"dbb75ba281b6853ffaf1cc5d4982eb554db10831",d:"M7.9979 0C11.1469 0 13.7418 2.33488 13.9824 5.3554L13.9958 5.57762L14.0003 5.80214L13.9993 9.398L14.9247 11.6202C14.9472 11.6743 14.9649 11.7302 14.9776 11.7871L14.9929 11.8733L15.0015 12.0046C15.0015 12.4526 14.705 12.8387 14.2524 12.9677L14.136 12.9945L14.0015 13.0046L10.4999 13.004L10.4949 13.1653C10.4098 14.469 9.32542 15.5 8.00026 15.5C6.67478 15.5 5.59022 14.4685 5.50558 13.1644L5.49986 13.004L1.99915 13.0046C1.9112 13.0046 1.82383 12.993 1.73927 12.9702L1.61481 12.9277C1.20403 12.7567 0.962056 12.3392 1.01246 11.8757L1.03354 11.7483L1.07596 11.6202L1.99926 9.401L2.00035 5.79281L2.00465 5.56824C2.12726 2.45115 4.77129 0 7.9979 0ZM9.49986 13.004H6.49986L6.50722 13.1454C6.57576 13.8581 7.143 14.425 7.8558 14.4931L8.00026 14.5C8.77996 14.5 9.42071 13.9051 9.49339 13.1445L9.49986 13.004ZM7.9979 1C5.37535 1 3.22741 2.92372 3.0174 5.38498L3.00417 5.59723L3.00026 5.80214V9.5L2.96185 9.69217L1.99914 12.0046L13.9569 12.0066L14.0021 12.0045L13.0387 9.6922L13.0003 9.5L13.0004 5.81241L12.9963 5.60831C12.8911 3.0349 10.6949 1 7.9979 1Z",fill:"#004CA6"})),!this.hasReadNotifications&&t("div",{key:"7626f1368b6caf70b2300d8a6ee8b98112155345",class:"notify"},t("svg",{key:"e8d6802acc9c140f4e1f8fd3523350ea564e61df",xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none"},t("circle",{key:"195da3d35f48586f38f7a775977039b8c94d4847",cx:"2",cy:"2",r:"2",fill:"var(--sfe-color-non-semantic-fill-red-strong)"}))))),t("span",{key:"f1d7ccdbade10df51d0ad2c61b391ad6a31a7c59",slot:"list"},t("slot",{key:"c0651aeac06b5146ab2323ffac1e34b1976abb22",name:"notificationsList"})))),t("div",{key:"442fa65819d84a5c69e35a7431e180394dd30845",class:"topnav__avatar"},t("slot",{key:"c14d312ef15d075d4ca4fedb206c37b9972610ae",name:"userAvatar"})))))}static get watchers(){return{isSearchVisible:[{searchVisibleChangeHandler:0}]}}};i.style=".topnav{position:fixed;top:0;left:0;width:100%;z-index:var(--sfe-stack-level-navs);background:var(--sfe-color-fill-surface)}.topnav__content{border-bottom:0.8px solid var(--sfe-color-border-neutral-light);display:flex;padding:var(--sfe-sizing-gap-mid) var(--sfe-sizing-padding-large);justify-content:space-between;align-items:center;margin-inline:auto;height:var(--sfe-sizing-size-640, 64px);max-width:var(--max-width)}.topnav__links{transition:opacity 0.3s ease}.topnav__role-liner{display:flex;align-items:center}.topnav__left,.topnav__search-container,.topnav__right{display:flex;align-items:center}.topnav__left .topnav__brand{max-height:40px;overflow:hidden;width:auto;display:inline-block}.topnav__left .topnav__brand svg{width:auto;height:100%}.topnav__left .topnav__links{display:flex;margin-left:26px}.topnav__search-container{transition:opacity 0.3s ease, transform 0.3s ease;position:relative;justify-content:center;width:40%}.topnav__search-container .search-list{position:relative}.topnav__right{padding:0 24px 0 8px;justify-content:center;align-items:center}.topnav__right .topnav__search-icon,.topnav__right .topnav__role-switch,.topnav__right .topnav__notification,.topnav__right .topnav__avatar{margin:0 12px}.topnav__right .topnav__notification{position:relative}.topnav__right .topnav__notification .alert-btn .notify{position:absolute;right:13px;top:3px}.topnav__right .topnav__notification .topnav__notification-list{position:relative}.topnav__right .topnav__avatar{align-items:center}.w-40{width:36vw}.fade-leave-to{opacity:0}.fade-enter{opacity:1}.slide-fade-leave-to{transform:translateY(-10px);opacity:0}.slide-fade-enter-from{transform:translateY(0);opacity:1}";export{i as swc_top_nav}
@@ -0,0 +1 @@
1
+ import{r as e,d as s,e as t,h as i}from"./p-9oFec6fH.js";import{u as r}from"./p-DAupwlOU.js";const p=class{constructor(t){e(this,t),this.stepChanged=s(this,"stepChanged",7)}get hostElement(){return t(this)}orientation="horizontal";activeIndex=0;withCheckmark=!0;lineSize="150px";testId="";stepChanged;stepItemIds=[];provide=()=>{const e=this.hostElement.querySelectorAll("swc-stepper-item");e.forEach(((s,t)=>{s.activeIndex=this.activeIndex,s.orientation=this.orientation,s.withCheckmark=this.withCheckmark,s.lineSize=this.lineSize,s.index=t,s.isLastItem=t===e.length-1,s.idProp=r().generate(`sfe-stepper-item-${t}`),this.stepItemIds.push(s.idProp)}))};render(){return this.provide(),i("div",{key:"b7f4b3d9c2e411423737a85b09ec0cc0824ad496","aria-orientation":this.orientation,class:`sfe-stepper ${this.orientation}`,"data-testid":`swc-stepper-${this.testId}`},i("slot",{key:"563ddc3ec305a2577fae6821da8644a9bcad8b86"}))}};p.style=".sfe-stepper.sc-swc-stepper{display:inline-flex;position:relative}.sfe-stepper.vertical.sc-swc-stepper{flex-direction:column}";export{p as swc_stepper}
@@ -1 +1 @@
1
- import{r as e,d as s,h as a}from"./p-DdKztCEo.js";const i=class{constructor(a){e(this,a),this.closeModal=s(this,"closeModal",7)}isModalOpen=!1;closeOnEsc=!0;closeOnOverlayClick=!0;size="sm";position="right";testId="";closeModal;closeDialog=()=>{this.closeModal.emit()};render(){return a("swc-modal-root",{key:"3a1f3d73d56cc9db2c65a52ebebf8609eeb74bd4",isModalOpen:this.isModalOpen,closeOnEsc:this.closeOnEsc,closeOnOverlayClick:this.closeOnOverlayClick,onCloseModal:this.closeDialog,"data-testid":`swc-side-panel-${this.testId}`},a("div",{key:"bc3be859ae32a03bdd099b42f59b2040948ccef0",class:`sfe-side-panel sfe-side-panel--${this.position} sfe-side-panel--${this.size}`},a("header",{key:"d113abc839637e8af8fccf93dbd19cff73c7dfad",class:"sfe-side-panel__header"},a("div",{key:"9d421ad03a748a1cb36f980f70252d492cbe6d2e"},a("h3",{key:"919e38e7eeb1df1a88c09c60ba2289570690525d",class:"sfe-side-panel__title"},a("slot",{key:"20f4e4aa8aa67c41594445cb25e73aea588b293f",name:"title"})),a("p",{key:"157e2ea1fb26a2d5181ffe0b9ed2bd50c366993c",class:"sfe-side-panel__description"},a("slot",{key:"0189ad6bf75a0f909f7709b02cf99cce42ee6e16",name:"description"}))),a("swc-button",{key:"f8ca33792f585981ee9de5692209ab9e0506a105",round:!0,intent:"neutral",variant:"bare",size:"md","aria-label":"Close",onClick:this.closeDialog},"×")),a("section",{key:"d0556d1e3cf7f34bd810cdb28c6517bff1890f89",class:"sfe-side-panel__body"},a("slot",{key:"afb501b9269dc0696258d87a85c586a9e279040a",name:"body"})),a("footer",{key:"f7046cac630ba038d684868e930d5acc9dc3e01e",class:"sfe-side-panel__footer"},a("slot",{key:"95f82de14cd87f0eae207a857c3045ac0626bca5",name:"footer"}))))}};i.style=".sfe-side-panel.sc-swc-side-panel{display:flex;flex-direction:column;height:100vh;background-color:white;position:fixed;top:0;bottom:0}.sfe-side-panel--right.sc-swc-side-panel{right:0;animation:slide-left 0.3s ease}.sfe-side-panel--left.sc-swc-side-panel{left:0;animation:slide-right 0.3s ease}.sfe-side-panel--sm.sc-swc-side-panel{width:360px}.sfe-side-panel--md.sc-swc-side-panel{width:480px}.sfe-side-panel--lg.sc-swc-side-panel{width:640px}.sfe-side-panel__header.sc-swc-side-panel{display:flex;justify-content:space-between;align-items:center;padding:1em;border-bottom:1px solid #ccc}.sfe-side-panel__title.sc-swc-side-panel{font-size:1rem;font-weight:500;margin:0}.sfe-side-panel__description.sc-swc-side-panel{font-size:0.875rem;color:gray;margin:0}.sfe-side-panel__body.sc-swc-side-panel{padding:1em;overflow-y:auto}.sfe-side-panel__footer.sc-swc-side-panel{padding:1em;margin:auto auto 2em 0;text-align:right}@keyframes slide-left{from{opacity:0;transform:translateX(50%)}}@keyframes slide-right{from{opacity:0;transform:translateX(-50%)}}";export{i as swc_side_panel}
1
+ import{r as e,d as s,h as a}from"./p-9oFec6fH.js";const i=class{constructor(a){e(this,a),this.closeModal=s(this,"closeModal",7)}isModalOpen=!1;closeOnEsc=!0;closeOnOverlayClick=!0;size="sm";position="right";testId="";closeModal;closeDialog=()=>{this.closeModal.emit()};render(){return a("swc-modal-root",{key:"3a1f3d73d56cc9db2c65a52ebebf8609eeb74bd4",isModalOpen:this.isModalOpen,closeOnEsc:this.closeOnEsc,closeOnOverlayClick:this.closeOnOverlayClick,onCloseModal:this.closeDialog,"data-testid":`swc-side-panel-${this.testId}`},a("div",{key:"bc3be859ae32a03bdd099b42f59b2040948ccef0",class:`sfe-side-panel sfe-side-panel--${this.position} sfe-side-panel--${this.size}`},a("header",{key:"d113abc839637e8af8fccf93dbd19cff73c7dfad",class:"sfe-side-panel__header"},a("div",{key:"9d421ad03a748a1cb36f980f70252d492cbe6d2e"},a("h3",{key:"919e38e7eeb1df1a88c09c60ba2289570690525d",class:"sfe-side-panel__title"},a("slot",{key:"20f4e4aa8aa67c41594445cb25e73aea588b293f",name:"title"})),a("p",{key:"157e2ea1fb26a2d5181ffe0b9ed2bd50c366993c",class:"sfe-side-panel__description"},a("slot",{key:"0189ad6bf75a0f909f7709b02cf99cce42ee6e16",name:"description"}))),a("swc-button",{key:"f8ca33792f585981ee9de5692209ab9e0506a105",round:!0,intent:"neutral",variant:"bare",size:"md","aria-label":"Close",onClick:this.closeDialog},"×")),a("section",{key:"d0556d1e3cf7f34bd810cdb28c6517bff1890f89",class:"sfe-side-panel__body"},a("slot",{key:"afb501b9269dc0696258d87a85c586a9e279040a",name:"body"})),a("footer",{key:"f7046cac630ba038d684868e930d5acc9dc3e01e",class:"sfe-side-panel__footer"},a("slot",{key:"95f82de14cd87f0eae207a857c3045ac0626bca5",name:"footer"}))))}};i.style=".sfe-side-panel.sc-swc-side-panel{display:flex;flex-direction:column;height:100vh;background-color:white;position:fixed;top:0;bottom:0}.sfe-side-panel--right.sc-swc-side-panel{right:0;animation:slide-left 0.3s ease}.sfe-side-panel--left.sc-swc-side-panel{left:0;animation:slide-right 0.3s ease}.sfe-side-panel--sm.sc-swc-side-panel{width:360px}.sfe-side-panel--md.sc-swc-side-panel{width:480px}.sfe-side-panel--lg.sc-swc-side-panel{width:640px}.sfe-side-panel__header.sc-swc-side-panel{display:flex;justify-content:space-between;align-items:center;padding:1em;border-bottom:1px solid #ccc}.sfe-side-panel__title.sc-swc-side-panel{font-size:1rem;font-weight:500;margin:0}.sfe-side-panel__description.sc-swc-side-panel{font-size:0.875rem;color:gray;margin:0}.sfe-side-panel__body.sc-swc-side-panel{padding:1em;overflow-y:auto}.sfe-side-panel__footer.sc-swc-side-panel{padding:1em;margin:auto auto 2em 0;text-align:right}@keyframes slide-left{from{opacity:0;transform:translateX(50%)}}@keyframes slide-right{from{opacity:0;transform:translateX(-50%)}}";export{i as swc_side_panel}
@@ -1 +1 @@
1
- import{r as e,d as c,e as s,h as t,H as h}from"./p-DdKztCEo.js";import{h as r,u as o}from"./p-DAupwlOU.js";const a=class{constructor(s){e(this,s),this.changeGroupCheckbox=c(this,"changeGroupCheckbox",7)}options;direction="row";value=[];testId="";changeGroupCheckbox;checkboxChangeHandler(e){const{value:c,checked:s}=e.detail;switch(s){case!0:if(this.value.includes(c)){const e=[...this.value,c],s=new Set(e);this.value=Array.from(s)}else this.value=[...this.value,c];break;case!1:this.value.includes(c)&&(this.value=this.value.filter((e=>e!==c)))}s&&!this.value.includes(c)&&(this.value=[...this.value,c]),!s&&this.value.includes(c)&&(this.value=this.value.filter((e=>e!==c)))}get hostEl(){return s(this)}valueChangeHandler(e){this.changeGroupCheckbox.emit(e)}render(){const e=r(this.hostEl,"content");return t(h,{key:"eab0f0ce8d7e173620fbe5d895c63178fa68bb05"},t("div",{key:"0c224d5a018fbc8e789012440cc296a41ce0cf29",class:`sfe-checkbox-grp-wrapper sfe-checkbox-grp-wrapper--${this.direction}`,id:o().generate("swc-grp-checkbox"),"data-testid":`swc-grp-checkbox-${this.testId}`},!e&&this.options?.length>0&&this.options.map((e=>t("swc-checkbox",{key:e.value,value:e.value,label:e.label,checked:this.value.includes(e.value)}))),t("slot",{key:"c443149020b8533f38ff79c9bcb8526b6561e8d2",name:"content"})))}static get watchers(){return{value:[{valueChangeHandler:0}]}}};a.style=".sc-swc-checkbox-group-h .sfe-checkbox-grp-wrapper.sc-swc-checkbox-group{display:flex}.sc-swc-checkbox-group-h .sfe-checkbox-grp-wrapper--row.sc-swc-checkbox-group{flex-direction:row;align-items:center;gap:12px}.sc-swc-checkbox-group-h .sfe-checkbox-grp-wrapper--column.sc-swc-checkbox-group{flex-direction:column;gap:12px;justify-content:center}";export{a as swc_checkbox_group}
1
+ import{r as e,d as c,e as s,h as t,H as h}from"./p-9oFec6fH.js";import{h as r,u as o}from"./p-DAupwlOU.js";const a=class{constructor(s){e(this,s),this.changeGroupCheckbox=c(this,"changeGroupCheckbox",7)}options;direction="row";value=[];testId="";changeGroupCheckbox;checkboxChangeHandler(e){const{value:c,checked:s}=e.detail;switch(s){case!0:if(this.value.includes(c)){const e=[...this.value,c],s=new Set(e);this.value=Array.from(s)}else this.value=[...this.value,c];break;case!1:this.value.includes(c)&&(this.value=this.value.filter((e=>e!==c)))}s&&!this.value.includes(c)&&(this.value=[...this.value,c]),!s&&this.value.includes(c)&&(this.value=this.value.filter((e=>e!==c)))}get hostEl(){return s(this)}valueChangeHandler(e){this.changeGroupCheckbox.emit(e)}render(){const e=r(this.hostEl,"content");return t(h,{key:"eab0f0ce8d7e173620fbe5d895c63178fa68bb05"},t("div",{key:"0c224d5a018fbc8e789012440cc296a41ce0cf29",class:`sfe-checkbox-grp-wrapper sfe-checkbox-grp-wrapper--${this.direction}`,id:o().generate("swc-grp-checkbox"),"data-testid":`swc-grp-checkbox-${this.testId}`},!e&&this.options?.length>0&&this.options.map((e=>t("swc-checkbox",{key:e.value,value:e.value,label:e.label,checked:this.value.includes(e.value)}))),t("slot",{key:"c443149020b8533f38ff79c9bcb8526b6561e8d2",name:"content"})))}static get watchers(){return{value:[{valueChangeHandler:0}]}}};a.style=".sc-swc-checkbox-group-h .sfe-checkbox-grp-wrapper.sc-swc-checkbox-group{display:flex}.sc-swc-checkbox-group-h .sfe-checkbox-grp-wrapper--row.sc-swc-checkbox-group{flex-direction:row;align-items:center;gap:12px}.sc-swc-checkbox-group-h .sfe-checkbox-grp-wrapper--column.sc-swc-checkbox-group{flex-direction:column;gap:12px;justify-content:center}";export{a as swc_checkbox_group}