@shrfe/assets 1.0.51 → 1.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/sfe-styles.css +2 -1
- package/js/shrfe-core-umd.js +81 -39
- package/package.json +1 -1
- package/wc-lib/{p-cea7b953.js → p-24b2ff34.js} +1 -1
- package/wc-lib/{p-8daec64e.entry.js → p-29d0d97f.entry.js} +1 -1
- package/wc-lib/{p-e4e5446d.entry.js → p-2cf0f722.entry.js} +1 -1
- package/wc-lib/{p-e23bcbf5.entry.js → p-2e3b332a.entry.js} +1 -1
- package/wc-lib/{p-0e84a10c.entry.js → p-3027bf0d.entry.js} +1 -1
- package/wc-lib/{p-da4efbf0.entry.js → p-3e162ead.entry.js} +1 -1
- package/wc-lib/{p-3a4d665c.entry.js → p-3e2e0a67.entry.js} +1 -1
- package/wc-lib/{p-c25495c6.entry.js → p-3f04da21.entry.js} +3 -3
- package/wc-lib/{p-e23122af.entry.js → p-478dccb7.entry.js} +1 -1
- package/wc-lib/{p-477cf8af.entry.js → p-56a35a98.entry.js} +1 -1
- package/wc-lib/{p-b71d6e8a.entry.js → p-6e0bd2ad.entry.js} +1 -1
- package/wc-lib/{p-3ec327f0.entry.js → p-8f3c12cc.entry.js} +1 -1
- package/wc-lib/{p-05245dba.entry.js → p-ac4e29a1.entry.js} +1 -1
- package/wc-lib/{p-4477dcff.entry.js → p-b954e8ac.entry.js} +1 -1
- package/wc-lib/{p-b139f889.entry.js → p-bbca04e1.entry.js} +1 -1
- package/wc-lib/{p-1f557680.entry.js → p-c1f1a36a.entry.js} +1 -1
- package/wc-lib/{p-a7d78db7.entry.js → p-dad2a7ad.entry.js} +1 -1
- package/wc-lib/{p-633ed2be.entry.js → p-dc1d8c5d.entry.js} +1 -1
- package/wc-lib/{p-b6d11b78.entry.js → p-eb400dbb.entry.js} +1 -1
- package/wc-lib/{p-09e03f1a.entry.js → p-f6e8903e.entry.js} +1 -1
- package/wc-lib/wc-lib.esm.js +1 -1
- /package/wc-lib/{p-_XYgBHWR.js → p-sJYf_nlQ.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s}from"./p-
|
|
1
|
+
import{r as t,h as s}from"./p-sJYf_nlQ.js";const o={info:{titleColor:"var(--sfe-color-text-info-strong, #004CA6)",borderLeftColor:"var(--sfe-color-border-info-solid, #004CA6)",subtleBgColor:"var(--sfe-color-fill-info-lightest, #E4EDFC)",icon:"Info",iconColor:"#004CA6"},error:{titleColor:"var(--sfe-color-text-critical-strong, #A22827)",borderLeftColor:"var(--sfe-color-border-critical-solid, #A22827)",subtleBgColor:"var(--sfe-color-fill-critical-lightest, #FCF4F4)",icon:"Warning",iconColor:"#821C1C"},success:{titleColor:"var(--sfe-color-text-positive-strong, #135216)",borderLeftColor:"var(--sfe-color-border-positive-solid, #1D7F22)",subtleBgColor:"var(--sfe-color-fill-positive-lightest, #F4FBF4)",icon:"Checkmark Circle",iconColor:"#135216"},warning:{titleColor:"var(--sfe-color-text-warning-strong, #7A4510)",borderLeftColor:"var(--sfe-color-border-warning-solid, #FEB872)",subtleBgColor:"var(--sfe-color-fill-warning-lightest, #FFF5EB)",icon:"Error Circle",iconColor:"#A05C1C"}},a=class{constructor(s){t(this,s)}type="success";position="top-center";_title;message;timeout=5e3;showTitle=!0;dismissible=!0;isVisible=!1;testId="";timeoutId;transitionDuration=300;get resolvedStyle(){const t=o[this.type];return{config:t,styles:{"background-color":this.showTitle?"#FFF":t.subtleBgColor,"inline-size":this.showTitle?"273px":"332px","padding-inline":this.showTitle?"14px":"12px","border-left-width":this.showTitle?"4px":"2px"}}}async showToast(){this.isVisible=!0,this.timeoutId=setTimeout((()=>{this.hideToast()}),this.timeout)}hideToast(){const t=document.querySelector("swc-toast");t&&(t.isVisible=!1,clearTimeout(t.timeoutId),setTimeout((()=>{t.reset(),t.remove()}),this.transitionDuration))}async reset(){this.type="success",this.position="top-center",this._title="",this.message="",this.timeout=5e3,this.showTitle=!0,this.isVisible=!1,this.dismissible=!0}render(){return s("div",{key:"1dfdd34b8562b61e796951200d2bccdfceb1e37b",role:"alert","aria-live":"assertive","aria-labelledby":"shr-toast-title","aria-describedby":"shr-toast-message","data-testid":`swc-toast-${this.testId}`,"data-state":this.isVisible?"showing":"hidden",class:`shr-toast ${this.position}`,style:{"--transition-duration":`${this.transitionDuration}ms`,"--title-color":this.resolvedStyle.config.titleColor,"--message-color":this.showTitle?"var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.80))":"var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95))","--border-left-color":this.resolvedStyle.config.borderLeftColor,...this.resolvedStyle.styles}},this.showTitle&&s("div",{key:"1c3cc6b6cdd89363b639ca0c1a20893b9171e1ab",class:"shr-toast--with-title"},s("div",{key:"885d6a6816f44e2826e840b3f093d7f205d3fafb",class:"d-flex justify-content-between align-items-center mb-1"},s("div",{key:"990f2ad9e5f47c440305e3c78380583a57d6ca72",class:"d-flex align-items-center mr-3"},s("swc-svg-icon",{key:"75d815cd9e3c2a6f0e3eb9a90a891add1bc234f0",name:this.resolvedStyle.config.icon,variant:"filled",color:this.resolvedStyle.config.iconColor,size:"16"}),s("span",{key:"37adb019730a4b0efa1b388e04ff3f93ff97317f",id:"shr-toast-title",class:"shr-toast__title ml-1"}," ",this._title)),this.dismissible&&s("swc-icon-button",{key:"1dcd74ae411056f6bd1c5a7b5659c5fb5cb4bd88",intent:"neutral",variant:"bare",round:!0,"aria-label":"Close toast",onClick:this.hideToast},s("swc-svg-icon",{key:"61e061d22c228966fded0869a6bae997aa20eaa6",name:"Dismiss",size:"16"}))),s("div",{key:"cb23edde24cc69ccd98353ecd8f64e309db9f801",id:"shr-toast-message",class:"shr-toast__message fs-12"}," ",this.message)),!this.showTitle&&s("div",{key:"c94fc37ef7285f5dbbe05898b1653a75a3526e81",class:"shr-toast--without-title"},s("div",{key:"ee299eb4d1e4a40ca1a7a38ac30fe1de0e02dffc",class:"d-flex justify-content-between align-items-center"},s("div",{key:"1addc71b5b71cea71e4ce8e641e516a25963d10b",class:"d-flex align-items-center mr-3"},s("swc-svg-icon",{key:"6a48bff378168782e7a879e6a94349afccec4535",name:this.resolvedStyle.config.icon,variant:"outline",color:this.resolvedStyle.config.iconColor,size:"16"}),s("p",{key:"02df73d2269978f10e7c7bd4b18159f55497ce35",id:"shr-toast-message",class:"m-0 shr-toast__message fs-14 ml-1"},this.message)),this.dismissible&&s("swc-icon-button",{key:"bffd962dfafe04bd942a308051f1b3e22d35c060",intent:"neutral",variant:"bare",round:!0,"aria-label":"Close toast",onClick:this.hideToast},s("swc-svg-icon",{key:"dc633c4d7e7e8b978b09b2f64172e146c202811b",name:"Dismiss",size:"16"})))))}};a.style=".sc-swc-toast-h .d-flex.sc-swc-toast{display:flex}.sc-swc-toast-h .align-items-center.sc-swc-toast{align-items:center}.sc-swc-toast-h .justify-content-center.sc-swc-toast{justify-content:center}.sc-swc-toast-h .justify-content-between.sc-swc-toast{justify-content:space-between}.sc-swc-toast-h .ml-1.sc-swc-toast{margin-inline-start:4px}.sc-swc-toast-h .mr-3.sc-swc-toast{margin-inline-end:12px}.sc-swc-toast-h .mb-1.sc-swc-toast{margin-block-end:4px}.sc-swc-toast-h .shr-toast.sc-swc-toast{position:fixed;z-index:var(--sfe-stack-level-alert);border-radius:4px;border:1px solid rgba(0, 0, 0, 0.1);border-left-style:solid;border-left-color:var(--border-left-color);padding-block:12px;overflow:hidden}.sc-swc-toast-h .shr-toast__message.sc-swc-toast{font-family:var(--sfe-typography-font-serif-font, Sora);font-weight:400;line-height:16px;color:var(--message-color);word-break:break-word}.sc-swc-toast-h .shr-toast--with-title.sc-swc-toast .shr-toast__message.sc-swc-toast{line-height:1.5}.sc-swc-toast-h .shr-toast--without-title.sc-swc-toast .shr-toast__message.sc-swc-toast{line-height:1.75}.sc-swc-toast-h .shr-toast__title.sc-swc-toast{font-family:var(--sfe-typography-font-serif-font, Sora);font-size:14px;font-weight:500;line-height:16px;color:var(--title-color);word-break:break-word}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast{block-size:25px;inline-size:25px;border-radius:50%;border:none;background-color:transparent;transition:background-color 0.2s ease-out}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast:hover{background-color:#f3f3f3}.sc-swc-toast-h .shr-toast__close-icon-wrapper.sc-swc-toast .close-icon.sc-swc-toast{color:rgba(0, 0, 0, 0.7)}.sc-swc-toast-h .shr-toast.top-right.sc-swc-toast{top:20px;right:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-right[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(20px)}.sc-swc-toast-h .shr-toast.top-right[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.top-left.sc-swc-toast{top:20px;left:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-left[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(-20px)}.sc-swc-toast-h .shr-toast.top-left[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.top-center.sc-swc-toast{top:20px;left:0;right:0;margin-inline:auto;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.top-center[data-state=hidden].sc-swc-toast{opacity:0;transform:translateY(-20px)}.sc-swc-toast-h .shr-toast.top-center[data-state=showing].sc-swc-toast{opacity:1;transform:translateY(0)}.sc-swc-toast-h .shr-toast.bottom-right.sc-swc-toast{bottom:20px;right:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-right[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(20px)}.sc-swc-toast-h .shr-toast.bottom-right[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.bottom-left.sc-swc-toast{bottom:20px;left:20px;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-left[data-state=hidden].sc-swc-toast{opacity:0;transform:translateX(-20px)}.sc-swc-toast-h .shr-toast.bottom-left[data-state=showing].sc-swc-toast{opacity:1;transform:translateX(0)}.sc-swc-toast-h .shr-toast.bottom-center.sc-swc-toast{bottom:20px;left:0;right:0;margin-inline:auto;transition:opacity var(--transition-duration), transform var(--transition-duration)}.sc-swc-toast-h .shr-toast.bottom-center[data-state=hidden].sc-swc-toast{opacity:0;transform:translateY(20px)}.sc-swc-toast-h .shr-toast.bottom-center[data-state=showing].sc-swc-toast{opacity:1;transform:translateY(0)}";export{a as swc_toast}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,d as s,h as a}from"./p-
|
|
1
|
+
import{r as e,d as s,h as a}from"./p-sJYf_nlQ.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:"2109a329ba0c16d3c3670e113991950ed1aca947",isModalOpen:this.isModalOpen,closeOnEsc:this.closeOnEsc,closeOnOverlayClick:this.closeOnOverlayClick,onCloseModal:this.closeDialog,"data-testid":`swc-side-panel-${this.testId}`},a("div",{key:"29ee628803432a2d2b63b03ca20c6dd211153199",class:`sfe-side-panel sfe-side-panel--${this.position} sfe-side-panel--${this.size}`},a("header",{key:"d1397bcabb9ba65e5fcf68f9144d11a6df96a02f",class:"sfe-side-panel__header"},a("div",{key:"b0b772cc8ab15030f1c0f6fb0260c6230d689416"},a("h3",{key:"18d24ba7ab8ff62b372fe968971f17b03548d3c8",class:"sfe-side-panel__title"},a("slot",{key:"577dbc3cd9c873e9b5b052ab5227999f66a01885",name:"title"})),a("p",{key:"0dd48b9a644f6f777167fe35ae26012a6dfc9999",class:"sfe-side-panel__description"},a("slot",{key:"b0cfbbc74b73e1f82f192e7a9ed6627767c7fa23",name:"description"}))),a("swc-button",{key:"0322a40064c54b9d9d331dc85d1f81c17d551563",round:!0,intent:"neutral",variant:"bare",size:"md","aria-label":"Close",onClick:this.closeDialog},"×")),a("section",{key:"6f3695ffa95dc177592d91d3b6071de30755eda4",class:"sfe-side-panel__body"},a("slot",{key:"adb6cf84a662c0719a8564aae686c621c1cf62e9",name:"body"})),a("footer",{key:"6181329d9d70504c0048c6604c320168129607b0",class:"sfe-side-panel__footer"},a("slot",{key:"538c84d304e9675f8281ac2f2646b7d1e16a2d33",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 s,e as r,h as o,H as a}from"./p-
|
|
1
|
+
import{r as e,d as s,e as r,h as o,H as a}from"./p-sJYf_nlQ.js";const t="solid",i={info:{icon:"Error Circle",subtle:{iconColor:"var(--sfe-color-icon-info-secondary)"}},error:{icon:"Warning",subtle:{iconColor:"var(--sfe-color-icon-critical-secondary)"}},success:{icon:"Checkmark Circle",subtle:{iconColor:"var(--sfe-color-icon-positive-secondary)"}},warning:{icon:"Error Circle",subtle:{iconColor:"var(--sfe-color-icon-warning-secondary)"}}},l=class{constructor(r){e(this,r),this.alertDismissed=s(this,"alertDismissed",7)}get hostElement(){return r(this)}message="Display the message here";intent=t;variant="info";position="top";isVisible=!1;iconButtonAriaLabel="Dismiss alert";alertDismissed;alertIcon={};dismissIconColor=this.computeDismissIconColor();handlePropChange(){this.alertIcon=this.computeAlertIcon(),this.dismissIconColor=this.computeDismissIconColor()}async show(){return this.isVisible=!0,Promise.resolve()}async hide(){return this.isVisible=!1,this.alertDismissed.emit(),Promise.resolve()}computeAlertIcon(){return{name:i[this.variant].icon,color:this.intent===t?"var(--sfe-color-icon-default-inverted-secondary)":i[this.variant][this.intent].iconColor,variant:this.intent===t?"outline":"filled"}}computeDismissIconColor(){return this.intent===t?"var(--sfe-color-icon-default-inverted-secondary)":"var(--sfe-color-icon-default-primary)"}dismissAlert=()=>this.hide();componentWillLoad(){this.handlePropChange()}render(){return o(a,{key:"9717a841efbdb59aacfbe6cbae6085852c9212ef"},this.isVisible&&o("div",{key:"5687d5bc302902fb6b5d92b974325e3d5a5dc041",role:"alert",class:`sfe-alert ${this.variant} ${this.intent} ${this.position}`,"aria-labelledby":"sfe-alert__display-text-id","data-testid":"sfe-alert"},o("div",{key:"43fa23b3e41289f02caa35b9ef1c5f02ed21574c",class:"sfe-alert__message-group"},o("swc-svg-icon",{key:"591752876c9245ee8c5f84e4cf62e13c58afc7ad",name:this.alertIcon?.name,variant:"filled",size:"16",color:this.alertIcon?.color}),o("p",{key:"68d578a9277fe5ed22f44737f7aaebaa709b5e4f",class:"sfe-alert__display-text",id:"sfe-alert__display-text-id"},this.message)),o("div",{key:"8489f4215dde7c1ee967d688b6af34e4634633e7",class:"sfe-alert__icon-group",onClick:this.dismissAlert},o("swc-button",{key:"858bd60ef365e44d5a50aa9b65df6a3c93240115",intent:"neutral",variant:"bare","aria-label":this.iconButtonAriaLabel},o("swc-svg-icon",{key:"dee2f2e84fdb4f4d653cfaa4974d703bb36782d1",name:"Dismiss",variant:"filled",size:"16",color:this.dismissIconColor})))))}};l.style='.sc-swc-alert-h{display:block}.sfe-alert.sc-swc-alert{display:flex;position:fixed;z-index:var(--sfe-stack-level-alert);justify-content:space-between;width:100%;border-radius:var(--sfe-sizing-radius-xsmall);padding:var(--sfe-sizing-padding-mid)}.sfe-alert.top.sc-swc-alert{top:0;left:0}.sfe-alert.bottom.sc-swc-alert{bottom:0;left:0}.sfe-alert__icon-group.sc-swc-alert{position:relative;cursor:pointer}.sfe-alert__icon-group.sc-swc-alert:hover::after{content:"";position:absolute;inset:0;border-radius:var(--sfe-sizing-radius-default, 8px);background-color:transparent;z-index:0}.sfe-alert.solid.sc-swc-alert{color:var(--sfe-color-text-default-inverted-primary)}.sfe-alert.solid.info.sc-swc-alert{background-color:var(--sfe-color-fill-info-solid)}.sfe-alert.solid.error.sc-swc-alert{background-color:var(--sfe-color-fill-critical-solid)}.sfe-alert.solid.success.sc-swc-alert{background-color:var(--sfe-color-fill-positive-solid)}.sfe-alert.solid.warning.sc-swc-alert{background-color:var(--sfe-color-fill-warning-solid)}.sfe-alert.subtle.sc-swc-alert{color:var(--sfe-color-text-default-primary)}.sfe-alert.subtle.info.sc-swc-alert{background-color:var(--sfe-color-fill-info-lightest);border-top:2px solid var(--sfe-color-border-info-solid)}.sfe-alert.subtle.error.sc-swc-alert{background-color:var(--sfe-color-fill-critical-lightest);border-top:2px solid var(--sfe-color-border-critical-solid)}.sfe-alert.subtle.success.sc-swc-alert{background-color:var(--sfe-color-fill-positive-lightest);border-top:2px solid var(--sfe-color-border-positive-solid)}.sfe-alert.subtle.warning.sc-swc-alert{background-color:var(--sfe-color-fill-warning-lightest);border-top:2px solid var(--sfe-color-border-warning-solid)}.sfe-alert__display-text.sc-swc-alert{margin:0;margin-left:4px;font-size:14px;font-weight:400}.sfe-alert__message-group.sc-swc-alert{display:flex;align-items:center}.shr-alert-enter-active.sc-swc-alert-h,.shr-alert-leave-active.sc-swc-alert-h{transition:opacity 0.5s ease}.shr-alert-enter.sc-swc-alert-h,.shr-alert-leave-to.sc-swc-alert-h{opacity:0}';export{l as swc_alert}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,d as s,e as t,h as i}from"./p-
|
|
1
|
+
import{r as e,d as s,e as t,h as i}from"./p-sJYf_nlQ.js";import{u as r}from"./p-DOY8Zr-F.js";const a=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:"aef80769eeef48547fe02ba74e3a5ea21bb4c94d","aria-orientation":this.orientation,class:`sfe-stepper ${this.orientation}`,"data-testid":`swc-stepper-${this.testId}`},i("slot",{key:"7caee4a9dbc86646c40dace96ae611a06ed45821"}))}};a.style=".sfe-stepper.sc-swc-stepper{display:inline-flex;position:relative}.sfe-stepper.vertical.sc-swc-stepper{flex-direction:column}";export{a as swc_stepper}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as s}from"./p-
|
|
1
|
+
import{r as e,h as t,H as s}from"./p-sJYf_nlQ.js";const a=class{constructor(t){e(this,t)}testId="";render(){return t(s,{key:"e860ed5f9c44eb666d7c996b106ea2624c847b9c",class:"sfe-table-footer","data-testid":`swc-table-footer-${this.testId}`},t("slot",{key:"f743bab38b277c4713dbe4950ba12fe2c3b706f8"}))}};export{a as swc_table_footer}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,d as t,h as a,H as e}from"./p-
|
|
1
|
+
import{r as s,d as t,h as a,H as e}from"./p-sJYf_nlQ.js";const i=class{constructor(a){s(this,a),this.handleChange=t(this,"handleChange",7)}value=[];max=1/0;placeholder="Add a tag";disabled=!1;hasError=!1;testId="";newTag="";isFocused=!1;focusedTagIndex=null;tags=[...this.value??[]];handleChange;addTag=()=>{const s=this.newTag.trim();s&&this.tags.length<this.max&&(this.tags=[...this.tags,s],this.newTag="")};removeTag=s=>{this.disabled||(this.tags=this.tags.filter(((t,a)=>s!==a)),this.focusedTagIndex=null)};handleBackspace=()=>{this.newTag||(null===this.focusedTagIndex&&this.tags.length>0?this.focusedTagIndex=this.tags.length-1:null!==this.focusedTagIndex&&this.removeTag(this.focusedTagIndex))};handleClickTagRemoval=s=>{this.focusedTagIndex=s,this.removeTag(this.focusedTagIndex)};handleFocus=()=>{this.isFocused=!0,this.focusedTagIndex=null};handleBlur=()=>{this.isFocused=!0,this.focusedTagIndex=null};handleKeyDown=s=>{"backspace"===s.key.toLowerCase()&&this.handleBackspace(),"enter"===s.key.toLowerCase()&&(s.preventDefault(),this.addTag())};handleInputChange=s=>{const t=s.target.value.trim();this.newTag=t};valueChangeHandler(s){Array.isArray(s)&&(this.tags=[...s??[]])}tagsChangeHandler(s){this.handleChange.emit(s)}componentWillLoad(){Array.isArray(this.value)&&(this.tags=[...this.value??[]])}render(){return a(e,{key:"00d18f37b24f2face8e17087d5f45fcca51dd6ce"},a("div",{key:"fa7b870be9190de4bf353a11afe80f062d2baade",class:`sfe-tags-input \n ${this.hasError?"has-error":""} \n ${this.disabled} \n ${this.isFocused?"focused":""}`,"data-testid":`swc-tags-input-${this.testId}`},a("div",{key:"d537c791f89af46e8320bca5bf798932ef92d9ca",class:"tags-wrapper"},this.tags.map(((s,t)=>a("swc-tag",{key:t,instanceId:t,dismissible:!this.disabled,class:this.focusedTagIndex===t?"focused":"","on-dismiss":()=>this.handleClickTagRemoval(t)},s))),a("input",{key:"1f820412feb7020d64b68a88433053927f4f2f80",type:"text",placeholder:this.placeholder,disabled:this.disabled,class:"tag-input",value:this.newTag,onInput:this.handleInputChange,onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyDown:this.handleKeyDown}))))}static get watchers(){return{value:[{valueChangeHandler:0}],tags:[{tagsChangeHandler:0}]}}};i.style=".sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input{display:flex;flex-wrap:wrap;align-items:flex-start;border-radius:var(--sfe-sizing-radius-small, 4px);border:1px solid var(--sfe-form-input-color-border-default, #9ea8b3);padding:10px;transition:border-color 0.2s}.sc-swc-tags-input-h .sfe-tags-input.disabled.sc-swc-tags-input{opacity:0.4;pointer-events:none}.sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input:hover,.sc-swc-tags-input-h .sfe-tags-input.sc-swc-tags-input .focused.sc-swc-tags-input{border:1px solid var(--sfe-form-input-color-border-hover, #4080e0)}.sc-swc-tags-input-h .sfe-tags-input.has-error.sc-swc-tags-input{border:1px solid var(--sfe-form-input-color-border-error, #a22827)}.sc-swc-tags-input-h .tags-wrapper.sc-swc-tags-input{display:flex;flex-wrap:wrap;gap:5px;width:100%}.sc-swc-tags-input-h input[type=text].sc-swc-tags-input{min-width:100px;flex-grow:1;outline:none;border:none;background:transparent}.sc-swc-tags-input-h input[type=text].sc-swc-tags-input:disabled{cursor:not-allowed;background:transparent;opacity:0.4}";export{i as swc_tags_input}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as s,H as t}from"./p-
|
|
1
|
+
import{r as e,h as s,H as t}from"./p-sJYf_nlQ.js";const i=class{constructor(s){e(this,s)}round=!1;size="50px";height="20px";width="100%";borderRadius="var(--sfe-sizing-radius-large, 12px)";testId="";DEFAULT_PROPS_VALUE={size:"50px",height:"20px",width:"100%",borderRadius:"var(--sfe-sizing-radius-large, 12px)"};isValidSize(e){return/^(auto|(\d+(\.\d+)?(px|em|rem|%)))$/.test(e)}get validatedSize(){return this.isValidSize(this.size)?this.size:this.DEFAULT_PROPS_VALUE.size}get validatedWidth(){return this.isValidSize(this.width)?this.width:this.DEFAULT_PROPS_VALUE.width}get validatedHeight(){return this.isValidSize(this.height)?this.height:this.DEFAULT_PROPS_VALUE.height}get validatedBorderRadius(){return this.isValidSize(this.borderRadius)?this.borderRadius:this.DEFAULT_PROPS_VALUE.borderRadius}get shimmerStyleProps(){return{width:this.round?this.validatedSize:this.validatedWidth,height:this.round?this.validatedSize:this.validatedHeight,borderRadius:this.round?"50%":this.validatedBorderRadius}}render(){return s(t,{key:"2f54ffed6da20a90bafefa4e4a15f00d91ddc11a"},s("div",{key:"4ba7b96c27f044fc82e1daa9fdfda1cb89675756",class:"skeleton-loader","data-testid":`swc-skeleton-${this.testId}`},s("div",{key:"e2c5bc95cc247e788b65eb7ea18fda085c7c6929",class:"skeleton-item","aria-hidden":"true",style:{...this.shimmerStyleProps}})))}};i.style=".sc-swc-skeleton-h .skeleton-loader.sc-swc-skeleton{display:flex;gap:10px}.sc-swc-skeleton-h .skeleton-loader.sc-swc-skeleton .skeleton-item.sc-swc-skeleton{background-color:var(--sfe-color-fill-neutral-subtle, #eaedf0);animation:shimmer 2s infinite;transition:opacity 0.3s ease-in-out}@keyframes shimmer{0%{opacity:1}50%{opacity:0.3}100%{opacity:1}}";export{i as swc_skeleton}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,d as e,e as o,h as s,H as r}from"./p-
|
|
1
|
+
import{r as c,d as e,e as o,h as s,H as r}from"./p-sJYf_nlQ.js";import{u as a}from"./p-DOY8Zr-F.js";const t=class{constructor(o){c(this,o),this.checkboxChange=e(this,"checkboxChange",7)}value;checked=!1;error=!1;disabled=!1;falseValue;label;isIndeterminate=!1;testId="";checkboxChange;get checkboxHostElement(){return o(this)}checkboxId=`${a().generate("_checkbox_")}`;handleChange=c=>{const e=c.target.checked;this.checked=e,this.checkboxChange.emit(e?"boolean"==typeof this.value?{value:!0,checked:e}:{value:this.value,checked:e}:"boolean"==typeof this.value?{value:this.falseValue??!1,checked:!1}:{value:this.value,checked:!1})};render(){const c=this.checkboxHostElement.getAttribute("id");return s(r,{key:"c6b85aa3a46b31e2faf94f16d37add26147c486b"},s("div",{key:"eeec5e127a51e84d65f5e3acfc453f8dc2b0b28d",class:"sfe-checkbox-container"},s("input",{key:"b3d1baefd30f854cb5522fba79c166dbcf7a1a82",type:"checkbox",id:c||this.checkboxId,value:this.value,checked:this.checked,"data-testid":`swc-checkbox-${this.testId}`,disabled:this.disabled,class:{"sfe-checkbox":!0,"sfe-checkbox--error":this.error,checked:this.checked},indeterminate:this.isIndeterminate,onChange:this.handleChange}),this.label&&s("swc-label",{key:"c1c57de6b7f88cee7e749f3af1feb6a1ea3d6a57",for:c||this.checkboxId,disabled:this.disabled,size:"md",class:"sfe-checkbox-label","data-for":this.checkboxId||c},this.label)))}};t.style='.sc-swc-checkbox-h .sfe-checkbox-container.sc-swc-checkbox{display:inline-flex;align-items:center}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox{width:16px;height:16px;position:relative;border:2px solid var(--sfe-color-interaction-neutral-faded-subtle);border-radius:var(--sfe-sizing-radius-small);background-color:#fff;cursor:pointer;line-height:0;margin:0 0.2em 0 0;outline:0;padding:0;vertical-align:text-top;appearance:none;transition:border-color 0.3s ease, background-color 0.3s ease}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:hover{opacity:1;border-color:var(--sfe-color-interaction-neutral-faded-strong)}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:checked{border:none;background-color:var(--sfe-color-interaction-brand-solid-weak);opacity:1}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:focus-visible{outline:2px solid #9747ff;outline-offset:1px}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:disabled{border-color:var(--sfe-color-interaction-disabled-strong);opacity:0.5;cursor:not-allowed}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:indeterminate{background-color:var(--sfe-color-interaction-brand-solid-weak);border-color:var(--sfe-color-interaction-brand-solid-weak)}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:indeterminate::before{content:"";position:absolute;right:50%;top:50%;width:10px;height:2px;background-color:#fff;margin:0 -10px 0 -1px;transform:translate(-50%, -50%)}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:checked:hover{border:none;background-color:var(--sfe-color-interaction-brand-solid-subtle);opacity:1}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:checked:disabled{border:none;background-color:var(--sfe-color-interaction-disabled-strong);opacity:0.5}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:indeterminate:disabled{background-color:var(--sfe-color-interaction-disabled-strong);border-color:var(--sfe-color-interaction-disabled-strong);opacity:1}.sc-swc-checkbox-h .sfe-checkbox.checked.sc-swc-checkbox::before{content:"";position:absolute;right:50%;top:50%;width:4px;height:10px;border:solid #fff;border-width:0 2px 2px 0;margin:-1px 0 0 -1px;transform:rotate(45deg) translate(-50%, -50%);z-index:2}.sc-swc-checkbox-h .sfe-checkbox--error.sc-swc-checkbox{border-color:var(--sfe-color-interaction-critical-solid-weak)}.sc-swc-checkbox-h .sfe-checkbox.sc-swc-checkbox:checked.sfe-checkbox--error{border:none;background-color:var(--sfe-color-interaction-brand-solid-weak);opacity:1}.sc-swc-checkbox-h .sfe-checkbox-label.sc-swc-checkbox{margin-top:0;margin-bottom:0;margin-left:8px}';export{t as swc_checkbox}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,d as a,h as t}from"./p-
|
|
1
|
+
import{r as e,d as a,h as t}from"./p-sJYf_nlQ.js";const i=class{constructor(t){e(this,t),this.searchInput=a(this,"searchInput",7),this.toggleSearchInput=a(this,"toggleSearchInput",7),this.showNotification=a(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(e){const a=e.detail.value;this.searchQuery=a,this.searchInput.emit(a)}toggleSearch=async()=>{this.areLinksVisible?(this.areLinksVisible=!1,setTimeout((()=>{this.isSearchVisible=!0}),400)):(this.isSearchVisible=!1,setTimeout((()=>{this.areLinksVisible=!0}),400))};handleInputChange=e=>{this.searchQuery=e,this.searchInput.emit(e)};handleStopPropagation=e=>{e.stopPropagation()};handleShowNotification=()=>{this.showNotification.emit(!0)};searchVisibleChangeHandler(e){this.toggleSearchInput.emit(e)}render(){return t("header",{key:"f0ca5bfe8bcbd155745d730d3b258526ea732706",class:"topnav","data-testid":`swc-top-nav-${this.testId}`,style:{"--max-width":this.maxWidth}},t("div",{key:"b19667e73cab2b9a3f97b9a39d1b177ef8f7b107",class:"topnav__content"},t("div",{key:"028dcfbb71f2fe0cf8d73e5f6a284aebe51e626f",class:"topnav__left"},t("div",{key:"e8b516a9e00ec930f86d9050d20c4c29657f1e8d",class:"topnav__brand"},t("slot",{key:"55f21e006ca3209e45b9da52c2fa561c24fd8db0",name:"companyLogo"},"Logo")),t("div",{key:"352c68bd53412898c668b8827c26e5ec03239a47",class:{topnav__links:!0,"fade-enter":this.areLinksVisible,"fade-leave-to":!this.areLinksVisible}},t("slot",{key:"4a9b739f75ae7838ac28ecd7e18631b3e9f7a9ee",name:"navLinks"}))),t("div",{key:"26131fb249cd5ed54dc04c6a4bf9f5432162e818",class:{"topnav__search-container":!0,"slide-fade-enter-from":this.isSearchVisible,"slide-fade-leave-to":!this.isSearchVisible},onClick:this.handleStopPropagation},t("swc-input",{key:"7f22798d8acc8cd91826e1fbfc610096346ceb12",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:"2d5504e78d11589fed77bd174757a34236477d52",slot:"leftAddon"},t("svg",{key:"7b5284b292c7a7c90bafe341d1ba8543c9f977c1",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},t("path",{key:"1ae20da73ec3568bbda97196c103cef2365b0b9e",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:"bd8d3d2601bad8c954bbbfe76b14fad191277c8b",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:"5f6d97503da64ad654651d3a8566b4c216ce3148",class:"search-list"},this.isSearchVisible&&t("slot",{key:"e890ef95885a30a853c95f25ad74bfcf7ff7fe0b",name:"searchList"}))),t("div",{key:"e1e1e6791bae08993f6555f727b0c9a330a49750",class:"topnav__right"},this.hasSearch&&t("swc-icon-button",{key:"724ee9e0560811a6a20fdd1cccaafd40e7876734",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:"47ade5795dfa636b257dc703cf508c318848e6f3",class:"topnav__role-switch"},t("span",{key:"feba38c19156b55d907e865e1dae92229877f0e7",slot:"trigger"},t("swc-dropdown-trigger",{key:"31ecdfd89c64875a166ed6043509da946b52ba6f",size:"md",style:this.roleMenuStyleObj},t("div",{key:"2d7bd989b36cc6c65ce6fe5095e463a0ac99bd85",class:"topnav__role-liner"},t("swc-svg-icon",{key:"8563abc06836c4093b6cfe1ecf4732283efec7d5",name:"Person",variant:"filled",size:"20"})," ",t("slot",{key:"e0c184a9c3e0d3a3076757b97ae784cf10c37a17",name:"roleSelected"})))),t("span",{key:"ef778743b3214b1118cf4d12a3740bdeb46ce793",slot:"list"},t("slot",{key:"5a825d6c5a4ab39dc62cf5bad5659275a0ca2a02",name:"userRolesList"},"User Role Dropdown Menu"))),this.hasNotifications&&t("div",{key:"98f27746ebfb9249130b513c6cd93d6be6809a34",class:"topnav__notification"},t("swc-dropdown",{key:"5c260978902b533637217a4a7cb541652bf3c48b"},t("span",{key:"a55440317ed5ccd6ad83f6ad27254f3ec5a5ea84",slot:"trigger"},t("swc-icon-button",{key:"33762acb02d1046d5de2052a7bdc96c64ecf3bb5",intent:"brand",variant:"ghost",size:"lg","aria-label":"Alert",class:"alert-btn",round:!0,onClick:this.handleShowNotification},t("svg",{key:"9f7ab0cef593f6a0d87fb02f0df2b8555e3e3c6b",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},t("path",{key:"49baf7836deee9609e83953dfb76ed4fa803cc7c",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:"a3c16749e3fd4f5ca5aa0341f86bac4efdc2a2db",class:"notify"},t("svg",{key:"5043884ee229120414767d8f38cd1774d6144a29",xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none"},t("circle",{key:"b370e07c8c5d0032594bff209c403d17fdbebda7",cx:"2",cy:"2",r:"2",fill:"var(--sfe-color-non-semantic-fill-red-strong)"}))))),t("span",{key:"c70e9efff0a6e5be5af3ebe41638bb4e3b0c454a",slot:"list"},t("slot",{key:"271cfceb6dc63e98325cf108e920d10f1d01ac2b",name:"notificationsList"})))),t("div",{key:"8308d0157ab1068d514dae0a5f28cca2ef78adb3",class:"topnav__avatar"},t("slot",{key:"7b499933bfc8396f11924682266de4fbc2b7de17",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 +1 @@
|
|
|
1
|
-
import{r as s,d as t,h as e,H as a}from"./p-
|
|
1
|
+
import{r as s,d as t,h as e,H as a}from"./p-sJYf_nlQ.js";import{u as i}from"./p-DOY8Zr-F.js";const c=class{constructor(e){s(this,e),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 e(a,{key:"430b40efbe63752c58f376322c55b8f9feda786e"},e("span",{key:"3c0906fecbfa6cae6e7520e55606e423e2cffbfd",id:`${this.computedComponentId}`,class:"sfe-tag "+(this.dismissible?"sfe-tag--dismissible":""),"data-testid":`swc-tag-${this.testId}`},e("div",{key:"769a21bb9064ec7b69dad55c051475ee616c64d2",class:"label-text"},e("slot",{key:"6a9818d56cfe018adda3625bcc14fd00dca69442"})),this.dismissible&&e("span",{key:"6f79abd07b943e8922f3f07506276db3f8e91d0a",role:"button",tabindex:"0",class:"dismiss-icon",onClick:this.dismissTag},e("svg",{key:"386d106cd281ab5db8cc2434264149ac621d4873",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"4c25cb6825ecf59b6e860ea0a1e77971f390669a",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 as e,d as s,h as t}from"./p-
|
|
1
|
+
import{r as e,d as s,h as t}from"./p-sJYf_nlQ.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:"e27322d85134944e25c5d05ab95e2916f1c40399",class:{[`sfe-tour-guide-step sfe-tour-guide-step--${this.variant}`]:!0},"data-testid":`swc-tour-guide-step-${this.testId}`},t("div",{key:"89beda0ce5d470946e1e8719175aded4939108a5",class:"flex-wrapper"},t("p",{key:"8072c923880a0a2047eaff3942fb2bcb143d7b40",class:"sfe-tour-guide-step__title m-0",innerHTML:this.heading}),t("swc-icon-button",{key:"855f0cf8b715efc6e71ff2ee5961568dbf067c71","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:"574481d789df8046da8aa83a517e9a76ed53ab18",name:"Dismiss",color:"currentColor",size:"12"}))),t("div",{key:"194d1a1a05481b12e5950c1b841335c456338204",class:"sfe-tour-guide-step__content",innerHTML:this.content}),t("div",{key:"0cbfb23734e524902650368e2573c5bf8afab5ee",class:"flex-wrapper col-gap-10"},t("p",{key:"d277077e6fe895efdf1567eb57c50dd44bb9e5e1",class:"sfe-tour-guide-step__steps-info m-0"},this.currentIndex+1," of ",this.numberOfSteps),t("div",{key:"5d38c2a465fc472e5fc08b44ca3e42fac257f7ca"},this.hasPrevious&&t("swc-button",{key:"9f20cc678ed3bb5809636b90ca5aa8a7dc8c2d69",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:"460b925732e4b8958b35f85609fd455bb8bdc3e6",intent:"light"===this.variant?"brand":"inverse",size:"xs",onClick:this.handleNext},"Next"),this.isLastStep&&t("swc-button",{key:"dd094e2da9685e5bfc8b614dd4f39e4568ed3013",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 r,H as a}from"./p-
|
|
1
|
+
import{r as e,d as s,h as r,H as a}from"./p-sJYf_nlQ.js";import{s as l}from"./p-DFCAnQFT.js";const i=class{constructor(r){e(this,r),this.uploadStart=s(this,"uploadStart",7),this.uploadRetry=s(this,"uploadRetry",7),this.uploadError=s(this,"uploadError",7),this.fileChange=s(this,"fileChange",7)}disabled=!1;extended=!0;thumbnail="file";inverted=!1;hasError=!1;progress=0;multiple=!1;type="draggable";maxFileSize=.5;accepts=[];testId="";uploadStart;uploadRetry;uploadError;fileChange;fileInputRef;files=[];selectedFileIndex=null;get fileDetails(){return this.files.map((e=>({name:e.name,size:(e.size/1024/1024).toFixed(2)})))}get formattedAcceptedFileTypes(){if(!Array.isArray(this.accepts)||0===this.accepts.length)return"";const e=this.accepts.map((e=>e.replace(".","").toUpperCase())),s=e.pop();return 1===this.accepts.length?`${s}.`:`${e.join(", ")} or ${s}.`}get maxFileSizeInfo(){return this.maxFileSize?`Max size of ${this.maxFileSize} MB`:""}resetInputValueToNull=e=>{e.target.value=""};replaceMultipleFile=e=>{const s=e.target,r=s.files?s.files[0]:null;r&&null!==this.selectedFileIndex&&(this.files=this.files.map(((e,s)=>this.selectedFileIndex==s?r:e)),this.selectedFileIndex=null),this.resetInputValueToNull(e),this.checkMaxFileSize()};onChange=e=>{this.uploadStart.emit();const s=this.fileInputRef?.files,r=s?Array.from(s):[];this.multiple&&null!==this.selectedFileIndex&&r.length>0&&this.replaceMultipleFile(e),!this.multiple&&r.length>1&&(this.uploadError.emit("Only one file can be uploaded when multiple is disabled."),l("error","Error","Only one file can be uploaded when multiple is disabled.")),this.files=this.multiple?[...this.files,...r]:r,this.checkMaxFileSize()};triggerFileInput=e=>{e.preventDefault(),this.fileInputRef.click()};dragOver=e=>{e.preventDefault();const s=e.currentTarget;s.classList.contains("sfe-light-blue")||this.disabled||s.classList.add("sfe-light-blue")};dragLeave=e=>{e.preventDefault(),e.currentTarget.classList.remove("sfe-light-blue")};drop=e=>{e.preventDefault(),!this.disabled&&e.dataTransfer&&(this.fileInputRef.files=e.dataTransfer.files,this.onChange(e),e.currentTarget.classList.remove("sfe-light-blue"))};checkMaxFileSize=()=>{if(this.maxFileSize>0){const e=new Set,s=[];this.files.forEach((r=>{r.size/1024/1024>this.maxFileSize?s.push(r):e.add(r)})),s.length>0&&(this.uploadError.emit(`Some files exceed the size limit of ${this.maxFileSize} MB.`),l("error","Error",`The following files exceed the size limit of ${this.maxFileSize} MB: ${s.map((e=>e.name)).join(", ")}`)),this.files=Array.from(e),this.fileChange.emit(this.files)}};removeFile=e=>{const s=e.detail;s>-1&&s<this.files.length&&(this.files=this.files.filter(((e,r)=>r!==s)),this.fileChange.emit(this.files))};handleFileReplace=e=>{const s=e.target;this.selectedFileIndex=e.detail,s.value="",this.triggerFileInput(e)};render(){return r(a,{key:"2ce62d6d7989e604cdfa3f97dc1f10865ca721f0"},r("div",{key:"40b5a19735826520795906c58654056ec1d76e7e",class:"d-block","data-testid":`swc-file-uploader-${this.testId}`},r("input",{key:"4f3346f4fafa95bbc73e7e867c83741927bc6a68",ref:e=>this.fileInputRef=e,type:"file",multiple:this.multiple,disabled:this.disabled,accept:this.accepts.join(","),style:{display:"none"},onClick:this.resetInputValueToNull,onChange:this.onChange}),(!!this.multiple||0===this.fileDetails.length)&&r("div",{key:"b109f97492ef26c8244ea194c80fc7a19a7f620e"},"basic"===this.type&&r("button",{key:"d93040a27a181c588c3a342df9ae4444bb06666e","aria-label":"choose file",disabled:this.disabled,class:{"basic-uploader":!0,"has-error":this.hasError},onClick:this.triggerFileInput},r("span",{key:"9c14c51af0e37ec2e3ebd4d5ace1d3ceb1cec43e",class:"chooser d-flex align-items-center"},"Choose file...")),"basic"!==this.type&&r("button",{key:"7cce6a9cbabe3a15e8d8e316b296473e04ad8515",class:{"drag-area":!0,disabled:this.disabled,"not-extended":!this.extended,"has-error":this.hasError},disabled:this.disabled,onDragOver:this.dragOver,onDragLeave:this.dragLeave,onDrop:this.drop,onClick:this.triggerFileInput},r("div",{key:"0ebab6507234d8006a3fa4e9f5fa73c789a3eea2"},r("div",{key:"b30e41e5133e17f5f15354ee25ee737f34635150",class:"drag-label"},"Drag & Drop or ",r("span",{key:"5af3db3ffb063dcc8ea484f0d15ba462d8d1aa54",class:"choose-file"},"Choose file")," to upload"),this.extended&&r("small",{key:"c2e23208b30464fc4e1d957b5a9b185a39e86a22",class:"formats"},this.formattedAcceptedFileTypes," ",this.maxFileSizeInfo)))),!this.multiple&&this.fileDetails.length>0&&r("swc-single-file",{key:"fb328c20cb36b40d675d94c3fba025b9c40e88ac",inverted:this.inverted,hasError:this.hasError,fileInfo:this.files,extended:this.extended,thumbnail:this.thumbnail,progress:this.progress,onUpdateRemove:this.removeFile,onUpdateReplace:this.triggerFileInput,onUploadRetry:()=>this.uploadRetry.emit()}),this.multiple&&this.fileDetails.length>0&&r("swc-multiple-file",{key:"76cd2803c1abee64c07c86f291b4789c7bc53f90",inverted:this.inverted,hasError:this.hasError,fileInfo:this.files,progress:this.progress,onUpdateRemove:this.removeFile,onUpdateReplace:this.handleFileReplace,onUploadRetry:()=>this.uploadRetry.emit()})))}};i.style=".sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader{border-radius:var(--sfe-sizing-radius-default, 8px);border:1px dashed var(--sfe-color-border-neutral-subtle, #dee3e7);background-color:var(--sfe-color-fill-backround, #fafbff);color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-style:normal;font-weight:400;display:block;width:100%;height:122px;transition:border-color 0.3s ease}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader:hover{border-color:var(--sfe-btn-color-border-solid-brand-hover, #206edd)}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-btn-color-border-solid-brand-hover, #206edd);outline-offset:1px}.sc-swc-file-uploader-h .drag-area.disabled.sc-swc-file-uploader{opacity:0.5;border:1px dashed var(--sfe-color-border-neutral-subtle, #dee3e7)}.sc-swc-file-uploader-h .drag-area.has-error.sc-swc-file-uploader{border-radius:var(--sfe-sizing-radius-default, 8px);border:1px dashed var(--sfe-color-border-critical-solid, #a22827) !important;background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-file-uploader-h .drag-area.has-error.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-color-non-semantic-content-blue-subtle, #1e50c0);outline-offset:1px}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader{font-size:var(--sfe-typography-font-size-label-default, 0.875rem);line-height:16px;margin-top:16px}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader span.choose-file.sc-swc-file-uploader{color:var(--sfe-color-text-default-brand, #004ca6)}.sc-swc-file-uploader-h .drag-area.sc-swc-file-uploader small.formats.sc-swc-file-uploader{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-size:var(--sfe-typography-font-size-label-small, 0.75rem);line-height:14px}.sc-swc-file-uploader-h .drag-area.not-extended.sc-swc-file-uploader{display:flex;align-items:center;justify-content:center;padding:8px 16px;height:36px}.sc-swc-file-uploader-h .drag-area.not-extended.sc-swc-file-uploader div.drag-label.sc-swc-file-uploader{margin-top:0;margin-left:8px;white-space:nowrap}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader{width:fit-content;height:42px;border-radius:var(--sfe-sizing-radius-default, 8px);border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-surface, #fff);box-shadow:0 1px 2px 0 rgba(27, 36, 44, 0.12);padding:8px var(--sfe-sizing-gap-large, 16px);transition:border-color 0.5s ease}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-btn-color-border-solid-brand-hover, #206edd);outline-offset:1px}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader:hover{border-color:var(--sfe-btn-color-border-solid-brand-hover, #206edd)}.sc-swc-file-uploader-h .basic-uploader.has-error.sc-swc-file-uploader{border:1px solid var(--sfe-color-border-critical-solid, #a22827)}.sc-swc-file-uploader-h .basic-uploader.has-error.sc-swc-file-uploader:focus-visible{outline:2px solid var(--sfe-color-non-semantic-content-blue-subtle, #1e50c0);outline-offset:1px}.sc-swc-file-uploader-h .basic-uploader.sc-swc-file-uploader .chooser.sc-swc-file-uploader{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:450;line-height:24px;letter-spacing:0.28px;color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8))}.sc-swc-file-uploader-h .sfe-light-blue.sc-swc-file-uploader{border:2px solid var(--sfe-color-border-brand-solid, #0064db);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9)}.sc-swc-file-uploader-h .d-block.sc-swc-file-uploader{display:block}.sc-swc-file-uploader-h .d-flex.sc-swc-file-uploader{display:flex}.sc-swc-file-uploader-h .align-items-center.sc-swc-file-uploader{align-items:center}.sc-swc-file-uploader-h .justify-content-end.sc-swc-file-uploader{justify-content:flex-end}.sc-swc-file-uploader-h .justify-content-between.sc-swc-file-uploader{justify-content:space-between}";export{i as swc_file_uploader}
|
package/wc-lib/wc-lib.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,B as t,c as a,w as i,N as o,a as d,g as l,b as n}from"./p-_XYgBHWR.js";export{s as setNonce}from"./p-_XYgBHWR.js";var r=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const s=t.call(this,!1),a=this.childNodes;if(e)for(let e=0;e<a.length;e++)2!==a[e].nodeType&&s.appendChild(a[e].cloneNode(!0));return s}};(()=>{t.isDev&&!t.isTesting&&a("Running in development mode."),t.cloneNodeFix&&r(d.prototype);const s=t.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===o)):null,l=import.meta.url,n=t.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await l(),n(JSON.parse('[["p-09e03f1a",[[514,"swc-file-uploader",{"disabled":[516],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"multiple":[516],"type":[513],"maxFileSize":[2,"max-file-size"],"accepts":[16],"testId":[1,"test-id"],"files":[32],"selectedFileIndex":[32]}]]],["p-a7d78db7",[[772,"swc-top-nav",{"maxWidth":[1,"max-width"],"roleWrapperWidth":[514,"role-wrapper-width"],"hasNotifications":[516,"has-notifications"],"hasReadNotifications":[516,"has-read-notifications"],"hasUserRoleDropdown":[516,"has-user-role-dropdown"],"hasSearch":[516,"has-search"],"testId":[513,"test-id"],"areLinksVisible":[32],"isSearchVisible":[32],"searchQuery":[32]},[[0,"change","handleInputEventChange"]],{"isSearchVisible":[{"searchVisibleChangeHandler":0}]}]]],["p-da4efbf0",[[512,"swc-tour-guide",{"startTour":[4,"start-tour"],"dismissible":[4],"useModalOverlay":[4,"use-modal-overlay"],"useHighlightSteps":[4,"use-highlight-steps"],"showArrow":[4,"show-arrow"],"variant":[1],"steps":[16],"testId":[513,"test-id"],"instance":[32],"currentIndex":[32]},null,{"startTour":[{"startTourHandler":0}]}]]],["p-e23122af",[[514,"swc-toast",{"type":[1025],"position":[1025],"_title":[1025],"message":[1025],"timeout":[1026],"showTitle":[1028,"show-title"],"dismissible":[1028],"isVisible":[1028,"is-visible"],"testId":[513,"test-id"],"timeoutId":[1040],"showToast":[64],"reset":[64]}]]],["p-b71d6e8a",[[514,"swc-alert",{"message":[1],"intent":[1],"variant":[1],"position":[1],"isVisible":[1028,"is-visible"],"iconButtonAriaLabel":[1,"icon-button-aria-label"],"alertIcon":[32],"dismissIconColor":[32],"show":[64],"hide":[64]}]]],["p-3a4d665c",[[774,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040],"testId":[513,"test-id"]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":[{"valueChangeHandler":0}]}]]],["p-477cf8af",[[774,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1],"testId":[1,"test-id"]}]]],["p-0e84a10c",[[774,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"testId":[513,"test-id"],"titleId":[32],"bodyId":[32]}]]],["p-8daec64e",[[774,"swc-stepper-item",{"index":[2],"isLastItem":[4,"is-last-item"],"activeIndex":[2,"active-index"],"orientation":[1],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"idProp":[1,"id-prop"],"testId":[513,"test-id"],"computedStatus":[32]}]]],["p-4477dcff",[[514,"swc-tags-input",{"value":[16],"max":[2],"placeholder":[1],"disabled":[4],"hasError":[4,"has-error"],"testId":[513,"test-id"],"newTag":[32],"isFocused":[32],"focusedTagIndex":[32],"tags":[32]},null,{"value":[{"valueChangeHandler":0}],"tags":[{"tagsChangeHandler":0}]}]]],["p-e23bcbf5",[[514,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1],"testId":[513,"test-id"]}]]],["p-b139f889",[[514,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"testId":[513,"test-id"]}]]],["p-3ec327f0",[[774,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"testId":[513,"test-id"],"stepItemIds":[32]}]]],["p-05245dba",[[772,"swc-table-footer",{"testId":[513,"test-id"]}]]],["p-c25495c6",[[514,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"showPopoverModal":[32],"selectedOption":[32],"startDate":[32],"endDate":[32],"on":[32]}],[512,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[514,"swc-pagination-test",{"meta":[32]}],[774,"swc-select",{"value":[8],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[513],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"derivedOptions":[32],"shouldGroupSelections":[32],"searchQueryVal":[32]},null,{"searchQueryVal":[{"searchQueryHandler":0}]}],[774,"swc-breadcrumb-dropdown",{"testId":[1,"test-id"]}],[772,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"testId":[513,"test-id"],"state":[32]},null,{"isActive":[{"isActiveWatchHandler":0}]}],[774,"swc-dialog",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"initialFocusRef":[16],"size":[1],"width":[1],"hasCloseIcon":[4,"has-close-icon"],"animation":[1],"bgColor":[1,"bg-color"],"testId":[1,"test-id"],"headerId":[32]}],[774,"swc-accordion-item",{"value":[1],"testId":[1,"test-id"],"defaultValue":[1,"default-value"],"AccordionHeaderClass":[513,"accordion-header-class"],"AllowMultiple":[516,"allow-multiple"],"variant":[513],"ActiveIdsProp":[16],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"reloadComp":[32]}],[514,"swc-avatar-group",{"size":[1],"testId":[1,"test-id"],"shape":[1],"avatarGroupItems":[16]}],[514,"swc-date-picker",{"value":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disabled":[4],"mode":[1],"enableTime":[4,"enable-time"],"dateFormat":[1,"date-format"],"testId":[1,"test-id"]},null,{"value":[{"watchValue":0}]}],[772,"swc-navigation-menu-trigger",{"testId":[513,"test-id"],"hover":[32]}],[774,"swc-accordion",{"variant":[513],"testId":[1,"test-id"],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[774,"swc-badge",{"variant":[1],"testId":[513,"test-id"],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":[{"watchProps":0}],"intent":[{"watchProps":0}],"size":[{"watchProps":0}],"isCounter":[{"watchProps":0}]}],[774,"swc-breadcrumb",{"separator":[513],"testId":[1,"test-id"]}],[774,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1],"testId":[1,"test-id"]}],[512,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"testId":[513,"test-id"],"progression":[32]},null,{"value":[{"animateProgression":0}]}],[772,"swc-clickable",{"as":[1],"disabled":[4],"testId":[513,"test-id"]}],[774,"swc-divider",{"orientation":[1],"testId":[513,"test-id"],"hasContent":[32]}],[772,"swc-navigation-menu",{"testId":[513,"test-id"]}],[772,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"],"testId":[513,"test-id"]}],[772,"swc-popover",{"showArrow":[4,"show-arrow"],"showPopoverModal":[4,"show-popover-modal"],"showContent":[4,"show-content"],"position":[1],"width":[1],"testId":[513,"test-id"],"shouldHide":[32]},[[8,"keydown","handleEscape"]],{"showPopoverModal":[{"handleShowPopover":0}]}],[774,"swc-status-badge",{"variant":[1],"intent":[1],"testId":[513,"test-id"]},null,{"variant":[{"validateVariant":0}],"intent":[{"validateIntent":0}]}],[774,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16],"testId":[513,"test-id"]}],[774,"swc-tab-list",{"orientation":[1],"variant":[1],"testId":[513,"test-id"]}],[774,"swc-tab-trigger",{"value":[1],"disabled":[4],"activeTab":[1,"active-tab"],"orientation":[1],"variant":[1],"size":[1],"idProp":[513,"id"],"tabContentIds":[16],"tabClass":[1,"tab-class"],"testId":[513,"test-id"]}],[772,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"testId":[513,"test-id"],"hasStickyHeader":[4,"has-sticky-header"]}],[772,"swc-table-body",{"testId":[513,"test-id"]}],[772,"swc-table-cell",{"testId":[513,"test-id"]}],[772,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"],"testId":[513,"test-id"]}],[772,"swc-table-row",{"testId":[513,"test-id"]}],[774,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"testId":[513,"test-id"],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]],{"defaultTab":[{"handleDefaultTab":0}]}],[514,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16],"testId":[513,"test-id"]}],[514,"swc-pagination",{"meta":[8],"limits":[16],"maxLimit":[2,"max-limit"],"isSolid":[4,"is-solid"],"type":[1],"testId":[1,"test-id"],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]},null,{"meta":[{"handleMetaChange":0}]}],[774,"swc-multi-select",{"selectedOptions":[16],"originalOptions":[16],"filteredOptions":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[513],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"usingFooterSlot":[4,"using-footer-slot"],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"isAllSelected":[32],"shouldGroupSelections":[32],"isOpen":[32]},null,{"isAllSelected":[{"isAllSelectedHandler":0}],"shouldGroupSelections":[{"groupSelectionHandler":0}],"selectedOptions":[{"selectedOptionsHandler":0}]}],[514,"swc-sidebar-header",{"module":[1],"modulesList":[16],"canSwitchModules":[4,"can-switch-modules"],"testId":[1,"test-id"],"isCurrentModule":[64]}],[774,"swc-single-select",{"selectedOption":[16],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[1],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"isOpen":[32]},[[0,"closeDropdown","closeDropdownMenu"]]],[774,"swc-sidebar-footer",{"userDetails":[16],"testId":[1,"test-id"],"viewingMoreOptions":[32]}],[774,"swc-sidebar-option",{"hasSections":[4,"has-sections"],"isSubsection":[4,"is-subsection"],"sidebarTitle":[1,"sidebar-title"],"isActive":[4,"is-active"],"level":[2],"iconName":[1,"icon-name"],"iconVariant":[1,"icon-variant"],"optionId":[1,"option-id"],"showDropdown":[32],"childHeight":[32]},[[0,"storeChange","handleStoreChange"],[4,"sidebar-collapsed","handleSidebarCollapsed"]]],[774,"swc-sidebar",{"top":[1],"testId":[1,"test-id"]},null,{"top":[{"topChanged":0}]}],[774,"swc-sidebar-body",{"testId":[1,"test-id"]}],[514,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[514,"swc-pagination-input",{"value":[1],"dropdownValues":[16]}],[514,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1],"testId":[513,"test-id"]}],[774,"swc-modal-root",{"isModalOpen":[4,"is-modal-open"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEsc":[4,"close-on-esc"],"initialFocusRef":[16]},null,{"isModalOpen":[{"handleOpenChange":0}]}],[772,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"width":[1],"interactive":[4],"variant":[1],"position":[1],"testId":[513,"test-id"],"tooltipId":[32],"visible":[32]}],[514,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16],"testId":[1,"test-id"]}],[514,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[514,"swc-avatar",{"src":[513],"testId":[513,"test-id"],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[514,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"],"testId":[513,"test-id"]},null,{"value":[{"validateValue":0}]}],[774,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"testId":[513,"test-id"],"for":[1]}],[774,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[772,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[520],"flip":[516],"testId":[1,"test-id"],"isExpanded":[32]},null,{"isExpanded":[{"isExpandedHandler":0}]}],[774,"swc-list",{"width":[1],"selection":[16],"options":[16],"searchable":[516],"placeholder":[513],"loading":[516],"maxHeight":[513,"max-height"],"customClass":[513,"custom-class"],"testId":[1,"test-id"],"hoveredItem":[32],"searchQueryValue":[32]},[[0,"change","handleInputEventChange"]]],[514,"swc-loader",{"size":[1],"testId":[513,"test-id"]}],[774,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4],"testId":[1,"test-id"]}],[774,"swc-input",{"variant":[1],"clearable":[4],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleInputChange":[16],"placeholder":[1],"type":[1],"testId":[513,"test-id"]}],[774,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"],"testId":[1,"test-id"]}],[774,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[514,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"testId":[513,"test-id"],"titleProp":[513,"title"]}]]],["p-b6d11b78",[[514,"swc-tour-guide-step",{"heading":[1],"content":[1],"dismissible":[4],"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"],"isLastStep":[4,"is-last-step"],"currentIndex":[2,"current-index"],"numberOfSteps":[2,"number-of-steps"],"startTour":[4,"start-tour"],"variant":[1],"testId":[513,"test-id"]}]]],["p-1f557680",[[514,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"],"testId":[513,"test-id"]}]]],["p-633ed2be",[[774,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4],"testId":[513,"test-id"]}]]],["p-e4e5446d",[[514,"swc-multiple-file",{"fileInfo":[16],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[514,"swc-single-file",{"fileInfo":[16],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}]]]]'),e))));
|
|
1
|
+
import{p as e,B as t,c as a,w as i,N as o,a as d,g as l,b as n}from"./p-sJYf_nlQ.js";export{s as setNonce}from"./p-sJYf_nlQ.js";var r=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const s=t.call(this,!1),a=this.childNodes;if(e)for(let e=0;e<a.length;e++)2!==a[e].nodeType&&s.appendChild(a[e].cloneNode(!0));return s}};(()=>{t.isDev&&!t.isTesting&&a("Running in development mode."),t.cloneNodeFix&&r(d.prototype);const s=t.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===o)):null,l=import.meta.url,n=t.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await l(),n(JSON.parse('[["p-f6e8903e",[[514,"swc-file-uploader",{"disabled":[516],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"multiple":[516],"type":[513],"maxFileSize":[2,"max-file-size"],"accepts":[16],"testId":[1,"test-id"],"files":[32],"selectedFileIndex":[32]}]]],["p-dad2a7ad",[[772,"swc-top-nav",{"maxWidth":[1,"max-width"],"roleWrapperWidth":[514,"role-wrapper-width"],"hasNotifications":[516,"has-notifications"],"hasReadNotifications":[516,"has-read-notifications"],"hasUserRoleDropdown":[516,"has-user-role-dropdown"],"hasSearch":[516,"has-search"],"testId":[513,"test-id"],"areLinksVisible":[32],"isSearchVisible":[32],"searchQuery":[32]},[[0,"change","handleInputEventChange"]],{"isSearchVisible":[{"searchVisibleChangeHandler":0}]}]]],["p-3e162ead",[[512,"swc-tour-guide",{"startTour":[4,"start-tour"],"dismissible":[4],"useModalOverlay":[4,"use-modal-overlay"],"useHighlightSteps":[4,"use-highlight-steps"],"showArrow":[4,"show-arrow"],"variant":[1],"steps":[16],"testId":[513,"test-id"],"instance":[32],"currentIndex":[32]},null,{"startTour":[{"startTourHandler":0}]}]]],["p-478dccb7",[[514,"swc-toast",{"type":[1025],"position":[1025],"_title":[1025],"message":[1025],"timeout":[1026],"showTitle":[1028,"show-title"],"dismissible":[1028],"isVisible":[1028,"is-visible"],"testId":[513,"test-id"],"timeoutId":[1040],"showToast":[64],"reset":[64]}]]],["p-6e0bd2ad",[[514,"swc-alert",{"message":[1],"intent":[1],"variant":[1],"position":[1],"isVisible":[1028,"is-visible"],"iconButtonAriaLabel":[1,"icon-button-aria-label"],"alertIcon":[32],"dismissIconColor":[32],"show":[64],"hide":[64]}]]],["p-3e2e0a67",[[774,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040],"testId":[513,"test-id"]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":[{"valueChangeHandler":0}]}]]],["p-56a35a98",[[774,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1],"testId":[1,"test-id"]}]]],["p-3027bf0d",[[774,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"testId":[513,"test-id"],"titleId":[32],"bodyId":[32]}]]],["p-29d0d97f",[[774,"swc-stepper-item",{"index":[2],"isLastItem":[4,"is-last-item"],"activeIndex":[2,"active-index"],"orientation":[1],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"idProp":[1,"id-prop"],"testId":[513,"test-id"],"computedStatus":[32]}]]],["p-b954e8ac",[[514,"swc-tags-input",{"value":[16],"max":[2],"placeholder":[1],"disabled":[4],"hasError":[4,"has-error"],"testId":[513,"test-id"],"newTag":[32],"isFocused":[32],"focusedTagIndex":[32],"tags":[32]},null,{"value":[{"valueChangeHandler":0}],"tags":[{"tagsChangeHandler":0}]}]]],["p-2e3b332a",[[514,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1],"testId":[513,"test-id"]}]]],["p-bbca04e1",[[514,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"testId":[513,"test-id"]}]]],["p-8f3c12cc",[[774,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"testId":[513,"test-id"],"stepItemIds":[32]}]]],["p-ac4e29a1",[[772,"swc-table-footer",{"testId":[513,"test-id"]}]]],["p-3f04da21",[[514,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"showPopoverModal":[32],"selectedOption":[32],"startDate":[32],"endDate":[32],"on":[32]}],[512,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[514,"swc-pagination-test",{"meta":[32]}],[774,"swc-select",{"value":[8],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[513],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"derivedOptions":[32],"shouldGroupSelections":[32],"searchQueryVal":[32]},null,{"searchQueryVal":[{"searchQueryHandler":0}]}],[774,"swc-breadcrumb-dropdown",{"testId":[1,"test-id"]}],[772,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"testId":[513,"test-id"],"state":[32]},null,{"isActive":[{"isActiveWatchHandler":0}]}],[774,"swc-dialog",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"initialFocusRef":[16],"size":[1],"width":[1],"hasCloseIcon":[4,"has-close-icon"],"animation":[1],"bgColor":[1,"bg-color"],"testId":[1,"test-id"],"headerId":[32]}],[774,"swc-accordion-item",{"value":[1],"testId":[1,"test-id"],"defaultValue":[1,"default-value"],"AccordionHeaderClass":[513,"accordion-header-class"],"AllowMultiple":[516,"allow-multiple"],"variant":[513],"ActiveIdsProp":[16],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"reloadComp":[32]}],[514,"swc-avatar-group",{"size":[1],"testId":[1,"test-id"],"shape":[1],"avatarGroupItems":[16]}],[514,"swc-date-picker",{"value":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disabled":[4],"mode":[1],"enableTime":[4,"enable-time"],"dateFormat":[1,"date-format"],"testId":[1,"test-id"]},null,{"value":[{"watchValue":0}]}],[772,"swc-navigation-menu-trigger",{"testId":[513,"test-id"],"hover":[32]}],[774,"swc-accordion",{"variant":[513],"testId":[1,"test-id"],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[774,"swc-badge",{"variant":[1],"testId":[513,"test-id"],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":[{"watchProps":0}],"intent":[{"watchProps":0}],"size":[{"watchProps":0}],"isCounter":[{"watchProps":0}]}],[774,"swc-breadcrumb",{"separator":[513],"testId":[1,"test-id"]}],[774,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1],"testId":[1,"test-id"]}],[512,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"testId":[513,"test-id"],"progression":[32]},null,{"value":[{"animateProgression":0}]}],[772,"swc-clickable",{"as":[1],"disabled":[4],"testId":[513,"test-id"]}],[774,"swc-divider",{"orientation":[1],"testId":[513,"test-id"],"hasContent":[32]}],[772,"swc-navigation-menu",{"testId":[513,"test-id"]}],[772,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"],"testId":[513,"test-id"]}],[772,"swc-popover",{"showArrow":[4,"show-arrow"],"showPopoverModal":[4,"show-popover-modal"],"showContent":[4,"show-content"],"position":[1],"width":[1],"testId":[513,"test-id"],"shouldHide":[32]},[[8,"keydown","handleEscape"]],{"showPopoverModal":[{"handleShowPopover":0}]}],[774,"swc-status-badge",{"variant":[1],"intent":[1],"testId":[513,"test-id"]},null,{"variant":[{"validateVariant":0}],"intent":[{"validateIntent":0}]}],[774,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16],"testId":[513,"test-id"]}],[774,"swc-tab-list",{"orientation":[1],"variant":[1],"testId":[513,"test-id"]}],[774,"swc-tab-trigger",{"value":[1],"disabled":[4],"activeTab":[1,"active-tab"],"orientation":[1],"variant":[1],"size":[1],"idProp":[513,"id"],"tabContentIds":[16],"tabClass":[1,"tab-class"],"testId":[513,"test-id"]}],[772,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"testId":[513,"test-id"],"hasStickyHeader":[4,"has-sticky-header"]}],[772,"swc-table-body",{"testId":[513,"test-id"]}],[772,"swc-table-cell",{"testId":[513,"test-id"]}],[772,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"],"testId":[513,"test-id"]}],[772,"swc-table-row",{"testId":[513,"test-id"]}],[774,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"testId":[513,"test-id"],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]],{"defaultTab":[{"handleDefaultTab":0}]}],[514,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16],"testId":[513,"test-id"]}],[514,"swc-pagination",{"meta":[8],"limits":[16],"maxLimit":[2,"max-limit"],"isSolid":[4,"is-solid"],"type":[1],"testId":[1,"test-id"],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]},null,{"meta":[{"handleMetaChange":0}]}],[774,"swc-multi-select",{"selectedOptions":[16],"originalOptions":[16],"filteredOptions":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[513],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"usingFooterSlot":[4,"using-footer-slot"],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"isAllSelected":[32],"shouldGroupSelections":[32],"isOpen":[32]},null,{"isAllSelected":[{"isAllSelectedHandler":0}],"shouldGroupSelections":[{"groupSelectionHandler":0}],"selectedOptions":[{"selectedOptionsHandler":0}]}],[514,"swc-sidebar-header",{"module":[1],"modulesList":[16],"canSwitchModules":[4,"can-switch-modules"],"testId":[1,"test-id"],"isCurrentModule":[64]}],[774,"swc-single-select",{"selectedOption":[16],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[1],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"isOpen":[32]},[[0,"closeDropdown","closeDropdownMenu"]]],[774,"swc-sidebar-footer",{"userDetails":[16],"testId":[1,"test-id"],"viewingMoreOptions":[32]}],[774,"swc-sidebar-option",{"hasSections":[4,"has-sections"],"isSubsection":[4,"is-subsection"],"sidebarTitle":[1,"sidebar-title"],"isActive":[4,"is-active"],"level":[2],"iconName":[1,"icon-name"],"iconVariant":[1,"icon-variant"],"optionId":[1,"option-id"],"showDropdown":[32],"childHeight":[32]},[[0,"storeChange","handleStoreChange"],[4,"sidebar-collapsed","handleSidebarCollapsed"]]],[774,"swc-sidebar",{"top":[1],"testId":[1,"test-id"]},null,{"top":[{"topChanged":0}]}],[774,"swc-sidebar-body",{"testId":[1,"test-id"]}],[514,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[514,"swc-pagination-input",{"value":[1],"dropdownValues":[16]}],[514,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1],"testId":[513,"test-id"]}],[774,"swc-modal-root",{"isModalOpen":[4,"is-modal-open"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEsc":[4,"close-on-esc"],"initialFocusRef":[16]},null,{"isModalOpen":[{"handleOpenChange":0}]}],[772,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"width":[1],"interactive":[4],"variant":[1],"position":[1],"testId":[513,"test-id"],"tooltipId":[32],"visible":[32]}],[514,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16],"testId":[1,"test-id"]}],[514,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[514,"swc-avatar",{"src":[513],"testId":[513,"test-id"],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[514,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"],"testId":[513,"test-id"]},null,{"value":[{"validateValue":0}]}],[774,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"testId":[513,"test-id"],"for":[1]}],[774,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[772,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[520],"flip":[516],"testId":[1,"test-id"],"isExpanded":[32]},null,{"isExpanded":[{"isExpandedHandler":0}]}],[774,"swc-list",{"width":[1],"selection":[16],"options":[16],"searchable":[516],"placeholder":[513],"loading":[516],"maxHeight":[513,"max-height"],"customClass":[513,"custom-class"],"testId":[1,"test-id"],"hoveredItem":[32],"searchQueryValue":[32]},[[0,"change","handleInputEventChange"]]],[514,"swc-loader",{"size":[1],"testId":[513,"test-id"]}],[774,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4],"testId":[1,"test-id"]}],[774,"swc-input",{"variant":[1],"clearable":[4],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleInputChange":[16],"placeholder":[1],"type":[1],"testId":[513,"test-id"]}],[774,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"],"testId":[1,"test-id"]}],[774,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[514,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"testId":[513,"test-id"],"titleProp":[513,"title"]}]]],["p-eb400dbb",[[514,"swc-tour-guide-step",{"heading":[1],"content":[1],"dismissible":[4],"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"],"isLastStep":[4,"is-last-step"],"currentIndex":[2,"current-index"],"numberOfSteps":[2,"number-of-steps"],"startTour":[4,"start-tour"],"variant":[1],"testId":[513,"test-id"]}]]],["p-c1f1a36a",[[514,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"],"testId":[513,"test-id"]}]]],["p-dc1d8c5d",[[774,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4],"testId":[513,"test-id"]}]]],["p-2cf0f722",[[514,"swc-multiple-file",{"fileInfo":[16],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[514,"swc-single-file",{"fileInfo":[16],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}]]]]'),e))));
|
|
File without changes
|