pns-component-library 1.5.13 → 1.6.0
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/README.md +535 -96
- package/dist/pns-component-library.es.js +2230 -640
- package/dist/pns-component-library.umd.js +2 -2
- package/package.json +1 -1
- package/src/composables/useWindowSize.js +2 -2
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";.fade-out[data-v-b9afac50]{animation:fadeOut-b9afac50 var(--fade-out-duration-ms, 3s) forwards}@keyframes fadeOut-b9afac50{0%{opacity:1}90%{opacity:.8}to{opacity:0}}.simplified-notification[data-v-b9afac50]{width:100%;padding:12px 16px;border-radius:8px;display:flex;gap:12px;align-items:stretch;box-sizing:border-box;position:relative}.simplified-notification.blue[data-v-b9afac50]{background:#e8f4fd}.simplified-notification.red[data-v-b9afac50]{background:#faeaea}.simplified-notification.yellow[data-v-b9afac50]{background:#fff7df}.simplified-notification.green[data-v-b9afac50]{background:#ebf4ec}.prefix_icon[data-v-b9afac50]{width:24px;height:24px}.prefix-icon-container[data-v-b9afac50]{display:flex;align-items:flex-start}.close-btn-container[data-v-b9afac50]{display:flex;flex-direction:column}.close-btn[data-v-b9afac50]{cursor:pointer}.notifiction-text[data-v-b9afac50]{width:100%;color:#000;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;white-space:normal;word-break:break-word}.content-wrapper[data-v-b9afac50]{width:100%}.title[data-v-b9afac50]{color:#000;font-family:Roboto;font-size:14px;font-weight:600;line-height:16px;margin-bottom:4px}.content-details[data-v-b9afac50]{min-height:24px;display:flex;align-items:center}@media only screen and (max-width:767px){.simplified-notification[data-v-b9afac50]{padding:8px 12px;gap:8px}}.responsive-button-wrapper[data-v-a52df3f1]{position:relative}.responsive-button-wrapper.fill-whole[data-v-a52df3f1]{width:100%;height:fit-content}.responsive-button-wrapper.fit-content[data-v-a52df3f1]{width:fit-content;height:fit-content}.responsive-button-wrapper[data-v-a52df3f1] .component-loading-spinner{border-radius:4px}.responsive-button-wrapper[data-v-a52df3f1] .component-loading-spinner:after{height:25px;width:25px}.responsive-button[data-v-a52df3f1]{height:fit-content;box-sizing:border-box;border-radius:4px;text-align:center;display:flex;flex-direction:column;align-items:center;font-family:Roboto;cursor:pointer}.responsive-button.fit-content[data-v-a52df3f1]{min-width:90px}.responsive-button.no-display-name[data-v-a52df3f1]{min-width:0px!important}.button-content[data-v-a52df3f1]{display:flex;column-gap:8px;align-items:center}.prefix-wrapper[data-v-a52df3f1],.suffix-wrapper[data-v-a52df3f1]{width:20px;height:20px;flex-shrink:0}.rotate-0[data-v-a52df3f1]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-a52df3f1]{transform:rotate(180deg)}.responsive-button.xsmall[data-v-a52df3f1]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.xsmall[data-v-a52df3f1]{width:fit-content;padding:7px 23px}.responsive-button.no-display-name.fit-content.xsmall[data-v-a52df3f1]{width:fit-content;padding:7px!important}.responsive-button.fit-content.xsmall.has-prefix[data-v-a52df3f1]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.xsmall.has-suffix[data-v-a52df3f1]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.xsmall.has-prefix.has-suffix[data-v-a52df3f1]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.xsmall[data-v-a52df3f1]{width:100%;padding:7px}.responsive-button.small[data-v-a52df3f1]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-a52df3f1]{width:fit-content;padding:9px 23px}.responsive-button.no-display-name.fit-content.small[data-v-a52df3f1]{width:fit-content;padding:9px!important}.responsive-button.fit-content.small.has-prefix[data-v-a52df3f1]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.small.has-suffix[data-v-a52df3f1]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-a52df3f1]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.small[data-v-a52df3f1]{width:100%;padding:9px 7px}.responsive-button.medium[data-v-a52df3f1]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-a52df3f1]{width:fit-content;padding:10px 23px}.responsive-button.no-display-name.fit-content.medium[data-v-a52df3f1]{width:fit-content;padding:10px!important}.responsive-button.fit-content.medium.has-prefix[data-v-a52df3f1]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-a52df3f1]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-a52df3f1]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.medium[data-v-a52df3f1]{width:100%;padding:10px 7px}.responsive-button.large[data-v-a52df3f1]{font-size:16px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-a52df3f1]{width:fit-content;padding:11px 23px}.responsive-button.no-display-name.fit-content.large[data-v-a52df3f1]{width:fit-content;padding:11px!important}.responsive-button.fit-content.large.has-prefix[data-v-a52df3f1]{width:fit-content;padding:11px 23px 11px 15px}.responsive-button.fit-content.large.has-suffix[data-v-a52df3f1]{width:fit-content;padding:11px 15px 11px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-a52df3f1]{width:fit-content;padding:11px 15px}.responsive-button.fill-whole.large[data-v-a52df3f1]{width:100%;padding:11px 7px}.disabled[data-v-a52df3f1]{cursor:not-allowed}.outlined-primary[data-v-a52df3f1]{border:1px solid #1E4670;background:#fff;color:#1e4670}.outlined-primary.held[data-v-a52df3f1]:hover,.outlined-primary[data-v-a52df3f1]:hover{background:#ecf2f8}.outlined-primary.held[data-v-a52df3f1],.outlined-primary.held[data-v-a52df3f1]:active,.outlined-primary.focused[data-v-a52df3f1],.outlined-primary[data-v-a52df3f1]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.outlined-primary.held.disabled[data-v-a52df3f1],.outlined-primary.disabled[data-v-a52df3f1],.outlined-primary.disabled[data-v-a52df3f1]:hover,.outlined-primary.disabled.focused[data-v-a52df3f1],.outlined-primary.disabled[data-v-a52df3f1]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-primary[data-v-a52df3f1]{border:1px solid #1E4670;background:#1e4670;color:#fff}.filled-primary.held[data-v-a52df3f1]:hover,.filled-primary[data-v-a52df3f1]:hover{background:#022a53}.filled-primary.held[data-v-a52df3f1],.filled-primary.held[data-v-a52df3f1]:active,.filled-primary.focused[data-v-a52df3f1],.filled-primary[data-v-a52df3f1]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#022a53}.filled-primary.held.disabled[data-v-a52df3f1],.filled-primary.disabled[data-v-a52df3f1],.filled-primary.disabled[data-v-a52df3f1]:hover,.filled-primary.disabled.focused .filled-primary.disabled[data-v-a52df3f1]:active{border:1px solid #979797;background:#979797}.text-primary[data-v-a52df3f1]{border:1px solid transparent;background:#fff;color:#1e4670}.text-primary.held[data-v-a52df3f1]:hover,.text-primary[data-v-a52df3f1]:hover{background:#ecf2f8}.text-primary.held[data-v-a52df3f1],.text-primary.held[data-v-a52df3f1]:active,.text-primary.focused[data-v-a52df3f1],.text-primary[data-v-a52df3f1]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.text-primary.held.disabled[data-v-a52df3f1],.text-primary.disabled[data-v-a52df3f1],.text-primary.disabled[data-v-a52df3f1]:hover,.text-primary.disabled.focused[data-v-a52df3f1],.text-primary.disabled[data-v-a52df3f1]:active{color:#979797}.outlined-secondary[data-v-a52df3f1]{border:1px solid #20A8C3;background:#fff;color:#20a8c3}.outlined-secondary.held[data-v-a52df3f1]:hover,.outlined-secondary[data-v-a52df3f1]:hover{background:#e8f0f4}.outlined-secondary.held[data-v-a52df3f1],.outlined-secondary.held[data-v-a52df3f1]:active,.outlined-secondary.focused[data-v-a52df3f1],.outlined-secondary[data-v-a52df3f1]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.outlined-secondary.held.disabled[data-v-a52df3f1],.outlined-secondary.disabled[data-v-a52df3f1],.outlined-secondary.disabled[data-v-a52df3f1]:hover,.outlined-secondary.disabled.focused[data-v-a52df3f1],.outlined-secondary.disabled[data-v-a52df3f1]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-secondary[data-v-a52df3f1]{border:1px solid #20A8C3;background:#20a8c3;color:#fff}.filled-secondary.held[data-v-a52df3f1]:hover,.filled-secondary[data-v-a52df3f1]:hover{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#20a8c3;box-shadow:0 1px 2px #0000004d,0 1px 3px 1px #00000026}.filled-secondary.held[data-v-a52df3f1],.filled-secondary.held[data-v-a52df3f1]:active,.filled-secondary.focused[data-v-a52df3f1],.filled-secondary[data-v-a52df3f1]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#20a8c3}.filled-secondary.held.disabled[data-v-a52df3f1],.filled-secondary.disabled[data-v-a52df3f1],.filled-secondary.disabled[data-v-a52df3f1]:hover,.filled-secondary.disabled.focused[data-v-a52df3f1],.filled-secondary.disabled[data-v-a52df3f1]:active{border:1px solid #979797;background:#979797}.text-secondary[data-v-a52df3f1]{border:1px solid transparent;background:#fff;color:#20a8c3}.text-secondary.held[data-v-a52df3f1]:hover,.text-secondary[data-v-a52df3f1]:hover{background:#e8f0f4}.text-secondary.held[data-v-a52df3f1],.text-secondary.held[data-v-a52df3f1]:active,.text-secondary.focused[data-v-a52df3f1],.text-secondary[data-v-a52df3f1]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.text-secondary.held.disabled[data-v-a52df3f1],.text-secondary.disabled[data-v-a52df3f1],.text-secondary.disabled[data-v-a52df3f1]:hover,.text-secondary.disabled.focused[data-v-a52df3f1],.text-secondary.disabled[data-v-a52df3f1]:active{color:#979797}.responsive-button-dropdown[data-v-a52df3f1]{min-width:300px;padding:9px 12px;box-sizing:border-box;border-radius:4px;background:#fff;box-shadow:0 4px 8px #00000026,0 1px 3px #0000004d;position:absolute;z-index:1000}.fill-whole .responsive-button-dropdown[data-v-a52df3f1]{width:100%}.fit-content .responsive-button-dropdown[data-v-a52df3f1]{width:fit-content}.responsive-button-dropdown.sub-dropdown[data-v-a52df3f1]{width:fit-content!important}.responsive-button-dropdown-option[data-v-a52df3f1]{width:100%!important;padding:12px 8px!important;border:none!important;flex-direction:row;align-items:flex-start!important;justify-content:space-between;column-gap:12px;background:#fff!important;color:#1c1b1f!important;font-family:Roboto!important;font-size:16px!important;font-weight:400!important;line-height:19px!important;cursor:pointer}.responsive-button-dropdown-option.hovered[data-v-a52df3f1]{border-radius:4px!important;background:#faebe6!important}.responsive-button-dropdown-option.disabled[data-v-a52df3f1],.responsive-button-dropdown-option.disabled.hovered[data-v-a52df3f1]{color:#979797!important;cursor:not-allowed!important}.responsive-button-dropdown-option .button-name[data-v-a52df3f1]{text-align:left}.non-web-responsive-button-nested-dropdown-button[data-v-a52df3f1]{width:100%!important;box-sizing:border-box;padding:12px 8px;border-bottom:1px solid #BCCCDC;display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;column-gap:12px;background:#fff;color:#1c1b1f;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;cursor:pointer}.fill-whole .non-web-responsive-button-dropdown-option[data-v-a52df3f1],.fit-content .non-web-responsive-button-dropdown-option[data-v-a52df3f1]{width:100%}.non-web-responsive-button-dropdown-option[data-v-a52df3f1]{box-sizing:border-box;padding:12px 8px;display:flex;flex-direction:row;align-items:flex-start!important;justify-content:space-between;column-gap:12px;background:#fff;color:#1c1b1f;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;cursor:pointer}.non-web-responsive-button-dropdown-option[data-v-a52df3f1]:active{border-radius:4px!important;background:#faebe6!important}.non-web-responsive-button-dropdown-option.disabled[data-v-a52df3f1],.non-web-responsive-button-dropdown-option.disabled[data-v-a52df3f1]:active{color:#979797!important;cursor:not-allowed!important}@media only screen and (max-width:767px){.simplified-notification[data-v-a52df3f1]{padding:8px 12px;gap:8px}.responsive-button.small[data-v-a52df3f1]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-a52df3f1]{width:fit-content;padding:7px 23px}.responsive-button.fit-content.small.has-prefix[data-v-a52df3f1]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.small.has-suffix[data-v-a52df3f1]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-a52df3f1]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.small[data-v-a52df3f1]{width:100%;padding:7px}.responsive-button.medium[data-v-a52df3f1]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-a52df3f1]{width:fit-content;padding:9px 23px}.responsive-button.fit-content.medium.has-prefix[data-v-a52df3f1]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-a52df3f1]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-a52df3f1]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.medium[data-v-a52df3f1]{width:100%;padding:9px 7px}.responsive-button.large[data-v-a52df3f1]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-a52df3f1]{width:fit-content;padding:10px 23px}.responsive-button.fit-content.large.has-prefix[data-v-a52df3f1]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.large.has-suffix[data-v-a52df3f1]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-a52df3f1]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.large[data-v-a52df3f1]{width:100%;padding:10px 7px}.responsive-button-dropdown-option[data-v-a52df3f1]{font-size:14px!important;font-weight:400!important;line-height:20px!important;letter-spacing:.25px!important}.responsive-button-dropdown[data-v-a52df3f1]{min-width:267px}}.input-box-unit-wrapper[data-v-9cf7bf2f]{width:100%;display:flex;flex-direction:column;row-gap:8px}.input-box-unit[data-v-9cf7bf2f]{height:fit-content;width:100%;box-sizing:border-box;padding:8px 11px;display:flex;align-items:center;column-gap:12px;border-radius:4px;border:1px solid #BCCCDC;background:#fff;cursor:pointer;position:relative}.input-box-unit[data-v-9cf7bf2f]:hover{border:1px solid #DEE6ED}.input-box-unit.is-focus[data-v-9cf7bf2f]{border:1px solid #9BB2CA}.input-box-unit.has-prefix[data-v-9cf7bf2f],.input-box-unit.has-prefix.has-suffix[data-v-9cf7bf2f]{padding:8px 11px}.input-box-unit.has-suffix[data-v-9cf7bf2f]{padding-left:15px}.input-box-unit.error[data-v-9cf7bf2f]{border:1px solid #DE583F}.input-box-unit.alert[data-v-9cf7bf2f]{border:1px solid #E0961E}.input-box-unit.disabled[data-v-9cf7bf2f]{background:#f2f2f2;cursor:not-allowed}.input-box-unit.disabled[data-v-9cf7bf2f]:hover{border:1px solid #BCCCDC}.input-box[data-v-9cf7bf2f]{flex:1;width:100%;padding:0;background-color:transparent;border:none;outline:none;color:#1c1b1f;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px;height:24px}.input-box[data-v-9cf7bf2f]::placeholder{color:#979797;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.input-box[data-v-9cf7bf2f]::-webkit-calendar-picker-indicator{background:url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4698_42665)'%3e%3cpath%20d='M15.8333%203.33464H15V1.66797H13.3333V3.33464H6.66667V1.66797H5V3.33464H4.16667C3.24167%203.33464%202.50833%204.08464%202.50833%205.0013L2.5%2016.668C2.5%2017.5846%203.24167%2018.3346%204.16667%2018.3346H15.8333C16.75%2018.3346%2017.5%2017.5846%2017.5%2016.668V5.0013C17.5%204.08464%2016.75%203.33464%2015.8333%203.33464ZM15.8333%2016.668H4.16667V8.33464H15.8333V16.668ZM15.8333%206.66797H4.16667V5.0013H15.8333V6.66797ZM10%2010.8346H14.1667V15.0013H10V10.8346Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4698_42665'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e") no-repeat center;height:24px}.prefix-wrapper[data-v-9cf7bf2f],.suffix-wrapper[data-v-9cf7bf2f]{flex-shrink:0;display:flex;align-items:center;column-gap:8px;min-width:24px;width:fit-content;height:24px}.suffix-wrapper.only-clear-icon[data-v-9cf7bf2f]{min-width:20px}.suffix-wrapper.with-date-icon[data-v-9cf7bf2f]{position:absolute;right:40px}.clear-icon[data-v-9cf7bf2f]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-9cf7bf2f]:hover{opacity:1}.hide[data-v-9cf7bf2f]{display:none}.message-container[data-v-9cf7bf2f]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-9cf7bf2f]{color:#de583f}.message-container.alert[data-v-9cf7bf2f]{color:#e0961e}@media only screen and (max-width:767px){.input-box-unit-wrapper[data-v-9cf7bf2f]{row-gap:4px}.input-box-unit[data-v-9cf7bf2f]{padding:7px 11px;column-gap:8px}.input-box-unit.has-prefix[data-v-9cf7bf2f],.input-box-unit.has-prefix.has-suffix[data-v-9cf7bf2f]{padding:7px 11px}.input-box-unit.has-suffix[data-v-9cf7bf2f]{padding-left:13px}.input-box[data-v-9cf7bf2f]{font-size:14px;line-height:20px;letter-spacing:.25px;height:20px}.input-box[data-v-9cf7bf2f]::placeholder{font-size:14px;line-height:20px;letter-spacing:.25px}.input-box[data-v-9cf7bf2f]::-webkit-calendar-picker-indicator{height:20px}.prefix-wrapper[data-v-9cf7bf2f]{min-width:20px;height:20px}.suffix-wrapper[data-v-9cf7bf2f]{min-width:20px;height:20px;column-gap:0px}.suffix-wrapper.with-date-icon[data-v-9cf7bf2f]{right:32px}.clear-icon[data-v-9cf7bf2f]{width:36px;height:36px;box-sizing:border-box;padding:10px}.message-container[data-v-9cf7bf2f]{font-size:14px;line-height:16px}}.single-selector-unit-wrapper[data-v-590c092f]{width:100%;display:flex;flex-direction:column;row-gap:8px;position:relative}.single-selector[data-v-590c092f]{height:fit-content;width:100%;box-sizing:border-box;padding:8px 11px 8px 15px;display:flex;align-items:center;justify-content:space-between;column-gap:12px;border-radius:4px;border:1px solid #BCCCDC;background:#fff;cursor:pointer}.single-selector[data-v-590c092f]:hover{border:1px solid #DEE6ED}.single-selector.has-prefix[data-v-590c092f]{padding-left:11px}.single-selector.is-focus[data-v-590c092f]{border:1px solid #9BB2CA}.single-selector.error[data-v-590c092f]{border:1px solid #DE583F}.single-selector.alert[data-v-590c092f]{border:1px solid #E0961E}.single-selector.disabled[data-v-590c092f]{background:#f2f2f2;cursor:not-allowed}.single-selector.disabled[data-v-590c092f]:hover{border:1px solid #BCCCDC}.selected-content[data-v-590c092f]{flex:1;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hide[data-v-590c092f]{display:none}.content-text[data-v-590c092f]{color:#1c1b1f}.placeholder[data-v-590c092f]{color:#979797}.single-selector.disabled .content-text[data-v-590c092f],.single-selector.disabled .placeholder[data-v-590c092f]{color:#555}.filter-input[data-v-590c092f]{width:100%;border:none;outline:none;color:#1c1b1f;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px;height:24px;padding:0}.default-suffix-pic[data-v-590c092f]{width:100%;height:100%}.prefix-wrapper[data-v-590c092f],.suffix-wrapper[data-v-590c092f]{display:flex;align-items:center;column-gap:4px;flex-shrink:0;min-width:24px;width:fit-content;height:24px}.rotate-0[data-v-590c092f]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-590c092f]{transform:rotate(180deg)}.clear-icon[data-v-590c092f]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-590c092f]:hover{opacity:1}.single-selector-dropdown[data-v-590c092f]{width:inherit;height:fit-content;max-height:233px;padding:8px;box-sizing:border-box;border-radius:4px;border:1px solid #BCCCDC;background:#fff;overflow:auto;position:absolute;z-index:1000;top:50px;left:0}.single-selector-dropdown[data-v-590c092f]::-webkit-scrollbar{width:8px}.single-selector-dropdown[data-v-590c092f]::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.single-selector-dropdown[data-v-590c092f]::-webkit-scrollbar-thumb{background-color:transparent}.single-selector-dropdown[data-v-590c092f]:hover::-webkit-scrollbar-thumb{border-radius:10px;border:2px solid #FFFFFF;background-color:#c4c4c4}.single-selector-dropdown[data-v-590c092f]:hover::-webkit-scrollbar-thumb:hover{border-radius:10px;border:2px solid #FFFFFF;background-color:#a8a8a8}.no-data-notes[data-v-590c092f]{width:100%;box-sizing:border-box;padding:12px 8px;border-radius:4px;color:#979797;font-family:Roboto;font-size:16px;font-weight:500;line-height:19px;text-align:center}.dropdown-item[data-v-590c092f]{width:100%;box-sizing:border-box;padding:12px 8px;border-radius:4px;color:#1c1b1f;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.dropdown-item[data-v-590c092f]:hover{background:#faebe6}.dropdown-item.selected[data-v-590c092f]{font-weight:600}.message-container[data-v-590c092f]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-590c092f]{color:#de583f}.message-container.alert[data-v-590c092f]{color:#e0961e}@media only screen and (max-width:1024px){.single-selector-dropdown[data-v-590c092f]::-webkit-scrollbar-thumb{border-radius:10px;border:2px solid #FFFFFF;background-color:#c4c4c4}}@media only screen and (max-width:767px){.single-selector-unit-wrapper[data-v-590c092f]{row-gap:4px}.single-selector[data-v-590c092f]{column-gap:8px;padding:7px 11px 7px 13px}.selected-content[data-v-590c092f]{font-size:14px;line-height:20px;letter-spacing:.25px}.filter-input[data-v-590c092f]{font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;height:20px}.prefix-wrapper[data-v-590c092f],.suffix-wrapper[data-v-590c092f]{min-width:20px;height:20px;display:flex;align-items:center;column-gap:0px;flex-shrink:0}.clear-icon[data-v-590c092f]{width:36px;height:36px;right:32px;box-sizing:border-box;padding:10px}.single-selector-dropdown[data-v-590c092f]{max-height:176px;padding:7px;top:40px}.no-data-notes[data-v-590c092f]{font-size:14px;line-height:20px;letter-spacing:.25px}.dropdown-item[data-v-590c092f]{padding:6px 4px;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.message-container[data-v-590c092f]{font-size:14px;line-height:16px}}.checkbox-container[data-v-30aa797a]{display:flex;cursor:pointer;width:fit-content;padding:8px 0}.checkbox-container.disabled[data-v-30aa797a]{cursor:not-allowed}.checkbox-container.small[data-v-30aa797a]{column-gap:10px}.checkbox-container.medium[data-v-30aa797a]{column-gap:11px}.checkbox-input[data-v-30aa797a]{display:flex;align-items:center}.small .checkbox-input[data-v-30aa797a]{height:20px}.medium .checkbox-input[data-v-30aa797a]{height:24px}.checkbox-input-original[data-v-30aa797a]{opacity:0;position:absolute}.checkbox-input-shown[data-v-30aa797a]{box-sizing:border-box;border-radius:2px;position:relative}.small .checkbox-input-shown[data-v-30aa797a]{width:20px;height:20px;padding:2px}.medium .checkbox-input-shown[data-v-30aa797a]{width:24px;height:24px;padding:3px}.checkbox-input-shown[data-v-30aa797a]:hover:before{content:"";display:block;border-radius:100%;width:32px;height:32px;background-color:#ededed;position:absolute}.red .checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#f8ded9}.checked .checkbox-input-shown[data-v-30aa797a]:hover:before{content:"";display:block;border-radius:100%;width:32px;height:32px;position:absolute}.small .checkbox-input-shown[data-v-30aa797a]:hover:before{top:-6px;left:-6px}.medium .checkbox-input-shown[data-v-30aa797a]:hover:before{top:-4px;left:-4px}.disabled .checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:transparent!important}.green .indeterminate .checkbox-input-shown[data-v-30aa797a]:hover:before,.green .checked .checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#e6f2d8}.primary-blue .indeterminate .checkbox-input-shown[data-v-30aa797a]:hover:before,.primary-blue .checked .checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#d2dae2}.secondary-blue .indeterminate .checkbox-input-shown[data-v-30aa797a]:hover:before,.secondary-blue .checked .checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#d2eef3}.red .indeterminate .checkbox-input-shown[data-v-30aa797a]:hover:before,.red .checked .checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#f8ded9}.disabled .indeterminate .checkbox-input-shown[data-v-30aa797a]:hover:before,.disabled .checked .checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:transparent!important}.green .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:#d0dbc2}.primary-blue .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:#bbc3cd}.secondary-blue .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:#bcd7dd}.red .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:#f5cdc6}.disabled .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:transparent!important}.green .indeterminate .checkbox-input-shown[data-v-30aa797a]:active:before,.green .checked .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:#c6cbbf}.primary-blue .indeterminate .checkbox-input-shown[data-v-30aa797a]:active:before,.primary-blue .checked .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:#bcbfc4}.secondary-blue .indeterminate .checkbox-input-shown[data-v-30aa797a]:active:before,.secondary-blue .checked .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:#bcc8cc}.red .indeterminate .checkbox-input-shown[data-v-30aa797a]:active:before,.red .checked .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:#f5cdc6}.disabled .indeterminate .checkbox-input-shown[data-v-30aa797a]:active:before,.disabled .checked .checkbox-input-shown[data-v-30aa797a]:active:before{background-color:transparent!important}.checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{content:"";display:block;border-radius:100%;width:32px;height:32px;background-color:#e4e4e4;position:absolute}.small .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{top:-6px;left:-6px}.medium .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{top:-4px;left:-4px}.red .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{background-color:#f4cac2}.green .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before,.green .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{background-color:#d8eac0}.primary-blue .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before,.primary-blue .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{background-color:#b7c4d1}.secondary-blue .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before,.secondary-blue .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{background-color:#b8e3ec}.red .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before,.red .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{background-color:#f4cac2}.disabled .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before,.disabled .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:before{background-color:transparent!important}.checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#ededed}.green .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before,.green .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#e6f2d8}.primary-blue .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before,.primary-blue .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#d2dae2}.secondary-blue .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before,.secondary-blue .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#d2eef3}.red .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before,.red .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:#f8ded9}.disabled .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before,.disabled .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-30aa797a]:hover:before{background-color:transparent!important}.checkbox-input-shown-checkbox[data-v-30aa797a]{width:100%;height:100%;border-radius:2px;box-sizing:border-box;position:relative}.checkbox-input-shown-checkbox[data-v-30aa797a]:after{content:"";display:block;width:100%;height:100%;border-radius:2px;box-sizing:border-box;border:2px solid #49454F;background-color:#fff}.checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.checkbox-input-shown:hover .checkbox-input-shown-checkbox[data-v-30aa797a]:after{background-color:transparent}.red .checkbox-input-shown-checkbox[data-v-30aa797a]:after{border-color:#de583f;background-color:#fff}.disabled .checkbox-input-shown-checkbox[data-v-30aa797a]:after{border-color:#979797!important;background-color:#fff!important}.disabled .indeterminate .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.disabled .checked .checkbox-input-shown-checkbox[data-v-30aa797a]:after{border-color:#979797!important;background:#979797!important}.green .checked .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.green .indeterminate .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.green .indeterminate .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.green .checked .checkbox-input-shown-checkbox[data-v-30aa797a]:after{border-color:#84bc3b;background:#84bc3b}.primary-blue .checked .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.primary-blue .indeterminate .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.primary-blue .indeterminate .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.primary-blue .checked .checkbox-input-shown-checkbox[data-v-30aa797a]:after{border-color:#1e4670;background:#1e4670}.secondary-blue .checked .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.secondary-blue .indeterminate .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.secondary-blue .indeterminate .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.secondary-blue .checked .checkbox-input-shown-checkbox[data-v-30aa797a]:after{border-color:#20a8c3;background:#20a8c3}.red .checked .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.red .indeterminate .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.red .indeterminate .checkbox-input-shown-checkbox[data-v-30aa797a]:after,.red .checked .checkbox-input-shown-checkbox[data-v-30aa797a]:after{border-color:#de583f;background:#de583f}.indeterminate-mark[data-v-30aa797a]:after{content:"";position:absolute;z-index:1;width:10px;height:2px;background-color:#fff}.small .indeterminate-mark[data-v-30aa797a]:after{top:9px;left:5px}.medium .indeterminate-mark[data-v-30aa797a]:after{top:11px;left:7px}.checkmark[data-v-30aa797a]:after{content:"";position:absolute;left:50%;top:50%;z-index:1;width:3.5px;height:9px;border:solid #FFFFFF;border-width:0 2px 2px 0;transform:translate(-45%,-65%) rotate(45deg)}.small .checkbox-container-label-wrapper[data-v-30aa797a]{color:#1c1b1f;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.medium .checkbox-container-label-wrapper[data-v-30aa797a]{color:#1c1b1f;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.disabled .checkbox-container-label-wrapper[data-v-30aa797a]{color:#979797}.message-container[data-v-30aa797a]{width:var(--message-container-width--, 100%);font-family:Roboto;font-weight:400}.message-container.has-message-min-width[data-v-30aa797a]{min-width:109px}.message-container.error[data-v-30aa797a]{color:#de583f}.small+.message-container[data-v-30aa797a]{font-size:14px;line-height:20px;letter-spacing:.25px}.medium+.message-container[data-v-30aa797a]{font-size:16px;line-height:24px;letter-spacing:.5px}@media only screen and (max-width:767px){.checkbox-container.medium[data-v-30aa797a]{column-gap:10px}.medium .checkbox-input[data-v-30aa797a]{height:20px}.medium .checkbox-input-shown[data-v-30aa797a]{width:20px;height:20px;padding:2px}.medium .checkbox-input-shown[data-v-30aa797a]:hover:before{top:-6px;left:-6px}.medium .indeterminate-mark[data-v-30aa797a]:after{top:9px;left:5px}.medium .checkbox-container-label-wrapper[data-v-30aa797a]{color:#1c1b1f;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.medium+.message-container[data-v-30aa797a]{font-size:14px;line-height:20px;letter-spacing:.25px}}.radio-container[data-v-643668bf]{width:fit-content;padding:8px 0;display:flex;column-gap:8px;cursor:pointer}.disabled.radio-container[data-v-643668bf]{cursor:not-allowed}.radio-input[data-v-643668bf]{position:relative}.radio-input-original[data-v-643668bf]{opacity:0;position:absolute}.radio-input-shown[data-v-643668bf]{padding:2px;box-sizing:border-box;position:relative}.small .radio-input-shown[data-v-643668bf]{width:20px;height:20px}.medium .radio-input-shown[data-v-643668bf]{width:24px;height:24px}.radio-input-shown[data-v-643668bf]:hover:before{content:"";display:block;border-radius:100%;background-color:#ededed;position:absolute;top:-4px;left:-4px;z-index:0}.small .radio-input-shown[data-v-643668bf]:hover:before{width:28px;height:28px}.medium .radio-input-shown[data-v-643668bf]:hover:before{width:32px;height:32px}.disabled .radio-input-shown[data-v-643668bf]:hover:before{background-color:transparent!important}.red .radio-input-shown[data-v-643668bf]:hover:before{background-color:#f8ded9}.primary-blue .checked .radio-input-shown[data-v-643668bf]:hover:before{background-color:#d2dae2}.secondary-blue .checked .radio-input-shown[data-v-643668bf]:hover:before{background-color:#d2eef3}.red .radio-input-shown[data-v-643668bf]:active:before{background-color:#f5cdc6}.primary-blue .radio-input-shown[data-v-643668bf]:active:before{background-color:#bbc3cd}.secondary-blue .radio-input-shown[data-v-643668bf]:active:before{background-color:#bcd7dd}.primary-blue .checked .radio-input-shown[data-v-643668bf]:active:before{background-color:#bcbfc4}.secondary-blue .checked .radio-input-shown[data-v-643668bf]:active:before{background-color:#bcc8cc}.radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{content:"";display:block;border-radius:100%;background-color:#e4e4e4;position:absolute;top:-4px;left:-4px;z-index:0}.small .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{width:28px;height:28px}.medium .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{width:32px;height:32px}.red .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{background-color:#f4cac2}.primary-blue .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{background-color:#b7c4d1}.secondary-blue .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{background-color:#b8e3ec}.disabled .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before,.disabled .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{background-color:transparent!important}.radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#ededed}.red .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#f8ded9}.primary-blue .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#d2dae2}.secondary-blue .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#d2eef3}.red .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#f8ded9}.disabled .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:transparent!important}.radio-input-checkmark[data-v-643668bf]{width:100%;height:100%;padding:7px;box-sizing:border-box;position:absolute;top:0;left:0;z-index:1}.radio-input-checkmark[data-v-643668bf]:after{content:"";display:block;width:100%;height:100%;box-sizing:border-box;border-radius:100%}.red .radio-input-checkmark[data-v-643668bf]:after{background-color:#de583f!important}.primary-blue .radio-input-checkmark[data-v-643668bf]:after{background-color:#1e4670}.secondary-blue .radio-input-checkmark[data-v-643668bf]:after{background-color:#20a8c3}.disabled .radio-input-checkmark[data-v-643668bf]:after{background-color:#979797!important}.radio-input-shown-checkbox[data-v-643668bf]{width:100%;height:100%;border:2px solid #49454F;background-color:#fff;border-radius:100%;box-sizing:border-box;position:relative}.radio-input-original:focus+.radio-input-shown .radio-input-shown-checkbox[data-v-643668bf],.radio-input-shown:hover .radio-input-shown-checkbox[data-v-643668bf]{background-color:transparent}.disabled .radio-input-shown:hover .radio-input-shown-checkbox[data-v-643668bf],.disabled .radio-input-shown-checkbox[data-v-643668bf]{border-color:#979797!important;background-color:#fff}.red .radio-input-shown-checkbox[data-v-643668bf]{border-color:#de583f}.primary-blue .checked .radio-input-shown-checkbox[data-v-643668bf]{border-color:#1e4670}.secondary-blue .checked .radio-input-shown-checkbox[data-v-643668bf]{border-color:#20a8c3}.radio-container-label-wrapper[data-v-643668bf]{color:#1c1b1f;font-family:Roboto;font-weight:400}.small .radio-container-label-wrapper[data-v-643668bf]{font-size:14px;line-height:20px;letter-spacing:.25px}.medium .radio-container-label-wrapper[data-v-643668bf]{font-size:16px;line-height:24px;letter-spacing:.5px}.disabled .radio-container-label-wrapper[data-v-643668bf]{color:#979797}.message-container[data-v-643668bf]{width:var(--message-container-width--, 100%);font-family:Roboto;font-weight:400}.message-container.has-message-min-width[data-v-643668bf]{min-width:109px}.message-container.error[data-v-643668bf]{color:#de583f}.small+.message-container[data-v-643668bf]{font-size:14px;line-height:20px;letter-spacing:.25px}.medium+.message-container[data-v-643668bf]{font-size:16px;line-height:24px;letter-spacing:.5px}@media only screen and (max-width:767px){.medium .radio-input-shown[data-v-643668bf]{width:20px;height:20px}.medium .radio-input-shown[data-v-643668bf]:hover:before{width:28px;height:28px}.medium .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{width:28px;height:28px}.medium .radio-container-label-wrapper[data-v-643668bf]{font-size:14px;line-height:20px;letter-spacing:.25px}.medium+.message-container[data-v-643668bf]{font-size:14px;line-height:20px;letter-spacing:.25px}}.whole-page-error-popup-container.whole-page-error-mask[data-v-623b4a2e]{height:100vh;width:100%;position:fixed;top:0;left:0;z-index:1000;background-color:#1c1b1f4d;display:flex;flex-direction:column;align-items:center}.whole-page-error-popup-window[data-v-623b4a2e]{width:38%;min-width:552px;height:fit-content;margin-top:94px;background-color:#fff;border-radius:10px}.error-popup-header[data-v-623b4a2e]{display:flex;flex-direction:column;align-items:center;padding:12px 16px;row-gap:20px}.error-popup-title-icon[data-v-623b4a2e]{width:100px;height:100px}.error-popup-title-text[data-v-623b4a2e]{color:#de583f;font-family:Roboto;font-size:24px;font-weight:500;line-height:28px;letter-spacing:.458px}.error-popup-body[data-v-623b4a2e]{width:100%;box-sizing:border-box;padding:12px 16px 0;color:#1c1b1f;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.error-popup-footer[data-v-623b4a2e]{width:100%;box-sizing:border-box;padding:24px}.retry-button[data-v-623b4a2e]{text-align:center;width:100%;box-sizing:border-box;padding:10px 24px;border-radius:4px;background:#de583f;color:#fff;font-family:Roboto;font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px;cursor:pointer}@media only screen and (max-width:1024px){.whole-page-error-popup-window[data-v-623b4a2e]{max-width:552px;margin-top:64px;width:54%;min-width:0}}@media only screen and (max-width:767px){.whole-page-error-popup-container.whole-page-error-mask[data-v-623b4a2e]{padding:0 16px;box-sizing:border-box}.whole-page-error-popup-window[data-v-623b4a2e]{max-width:none;width:100%;margin-top:12px;min-width:0}.error-popup-header[data-v-623b4a2e]{display:flex;flex-direction:column;align-items:center;padding:12px;row-gap:16px}.error-popup-title-icon[data-v-623b4a2e]{width:64px;height:64px}.error-popup-title-text[data-v-623b4a2e]{font-size:22px;line-height:26px}.error-popup-body[data-v-623b4a2e]{padding:12px 12px 0}.error-popup-footer[data-v-623b4a2e]{width:100%;box-sizing:border-box;padding:16px 12px}}.area-code-phone-input-unit-wrapper[data-v-be9e3902]{display:flex;flex-direction:column;row-gap:8px}.area-code-phone-input[data-v-be9e3902]{padding:1px 11px 1px 1px;display:flex;align-items:center;box-shadow:inset 0 0 0 1px #bcccdc;border-radius:4px;position:relative}.area-code-phone-input[data-v-be9e3902]:hover{box-shadow:inset 0 0 0 1px #dee6ed}.area-code-phone-input.is-focus[data-v-be9e3902]{box-shadow:inset 0 0 0 1px #9bb2ca}.area-code-phone-input.error[data-v-be9e3902]:hover,.area-code-phone-input.error.is-focus[data-v-be9e3902],.area-code-phone-input.error[data-v-be9e3902]{box-shadow:inset 0 0 0 1px #de583f}.area-code-phone-input.alert[data-v-be9e3902]:hover,.area-code-phone-input.alert.is-focus[data-v-be9e3902],.area-code-phone-input.alert[data-v-be9e3902]{box-shadow:inset 0 0 0 1px #e0961e}.area-code-phone-input.disabled[data-v-be9e3902]:hover,.area-code-phone-input.disabled.is-focus[data-v-be9e3902],.area-code-phone-input.disabled[data-v-be9e3902]{box-shadow:inset 0 0 0 1px #bcccdc!important;background:#f2f2f2;cursor:not-allowed}.country-area-code-selector-wrapper[data-v-be9e3902]{max-width:114px}.phone-number-input-wrapper[data-v-be9e3902]{flex:1}[data-v-be9e3902] .single-selector.disabled:hover,[data-v-be9e3902] .single-selector.has-prefix,[data-v-be9e3902] .single-selector:hover,[data-v-be9e3902] .single-selector.is-focus,[data-v-be9e3902] .single-selector{border:none;column-gap:4px}[data-v-be9e3902] .single-selector-unit-wrapper{position:static}[data-v-be9e3902] .single-selector.has-prefix .selected-content.content-text{display:none}[data-v-be9e3902] .single-selector.has-prefix.is-focus .selected-content.content-text{display:block}[data-v-be9e3902] .single-selector.has-prefix.is-focus .prefix-wrapper{display:none}[data-v-be9e3902] .single-selector .selected-content{letter-spacing:.25px}.country-selector-prefix[data-v-be9e3902]{width:100%;height:100%}.area-code-container[data-v-be9e3902]{height:26px;width:fit-content;padding-left:11px;display:flex;align-items:center;border-left:1px solid #BCCCDC;color:#1c1b1f;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.area-code-container.not-selected[data-v-be9e3902]{color:#979797}[data-v-be9e3902] .input-box-unit.disabled:hover,[data-v-be9e3902] .input-box-unit:hover,[data-v-be9e3902] .input-box-unit.is-focus,[data-v-be9e3902] .input-box-unit{border:none}.suffix-wrapper[data-v-be9e3902]{display:flex;align-items:center;column-gap:4px;flex-shrink:0;height:24px}.clear-icon[data-v-be9e3902]{flex-shrink:0;width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-be9e3902]:hover{opacity:1}.hide[data-v-be9e3902]{display:none}.message-container[data-v-be9e3902]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-be9e3902]{color:#de583f}.message-container.alert[data-v-be9e3902]{color:#e0961e}@media only screen and (max-width: 767px){.area-code-phone-input-unit-wrapper[data-v-be9e3902]{row-gap:4px}.country-area-code-selector-wrapper[data-v-be9e3902]{max-width:89px}[data-v-be9e3902] .single-selector.disabled:hover,[data-v-be9e3902] .single-selector.has-prefix,[data-v-be9e3902] .single-selector:hover,[data-v-be9e3902] .single-selector.is-focus,[data-v-be9e3902] .single-selector{box-shadow:none;column-gap:2px}.suffix-wrapper[data-v-be9e3902]{height:20px;column-gap:0px}.clear-icon[data-v-be9e3902]{width:36px;height:36px;box-sizing:border-box;padding:10px}.message-container[data-v-be9e3902]{font-size:14px;line-height:16px}}.group-checkbox-container[data-v-3a91062e]{width:fit-content}.component-loading-spinner{position:absolute;top:0;left:0;width:100%;height:100%;background:#fffc;display:flex;justify-content:center;align-items:center;z-index:1000}.component-loading-spinner:after{content:"";width:30px;height:30px;border:3px solid #ccc;border-top-color:#20a8c3;border-radius:100%;animation:spin 2s linear infinite}.whole-page-loading-mask{position:fixed;top:0;left:0;width:100%;height:100vh;background:#fffc;display:flex;justify-content:center;align-items:center;z-index:1000}.whole-page-loading-spinner-container{width:123px;display:flex;flex-direction:column;align-items:center;row-gap:20px}.whole-page-loading-spinner-icon-container{width:60px;height:60px;display:flex;flex-direction:column;align-items:center;position:relative}.whole-page-loading-progress-circle-div{content:"";width:100%;height:100%;box-sizing:border-box;border:5px solid #ccc;border-top-color:#20a8c3;border-radius:100%;animation:spin 2s linear infinite}.whole-page-loading-hourglass-icon-div{content:url("data:image/svg+xml,%3csvg%20width='25'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4775_81901'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='25'%20height='24'%3e%3crect%20x='0.5'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4775_81901)'%3e%3cpath%20d='M8.5%2020H16.5V17C16.5%2015.9%2016.1083%2014.9583%2015.325%2014.175C14.5417%2013.3917%2013.6%2013%2012.5%2013C11.4%2013%2010.4583%2013.3917%209.675%2014.175C8.89167%2014.9583%208.5%2015.9%208.5%2017V20ZM4.5%2022V20H6.5V17C6.5%2015.9833%206.7375%2015.0292%207.2125%2014.1375C7.6875%2013.2458%208.35%2012.5333%209.2%2012C8.35%2011.4667%207.6875%2010.7542%207.2125%209.8625C6.7375%208.97083%206.5%208.01667%206.5%207V4H4.5V2H20.5V4H18.5V7C18.5%208.01667%2018.2625%208.97083%2017.7875%209.8625C17.3125%2010.7542%2016.65%2011.4667%2015.8%2012C16.65%2012.5333%2017.3125%2013.2458%2017.7875%2014.1375C18.2625%2015.0292%2018.5%2015.9833%2018.5%2017V20H20.5V22H4.5Z'%20fill='%2320A8C3'/%3e%3c/g%3e%3c/svg%3e");height:24px;width:24px;animation:flip 5s infinite;position:absolute;top:18px;left:18px}.whole-page-loading-text-div:after{content:"Loading";color:#20a8c3;font-family:Roboto;font-size:28px;font-weight:400;line-height:36px;animation:loading_dots 3s steps(1) infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes flip{0%{transform:rotate(0)}20%{transform:rotate(180deg)}50%{transform:rotate(180deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}@keyframes loading_dots{0%{content:"Loading"}25%{content:"Loading."}50%{content:"Loading.."}75%{content:"Loading..."}}#floating-notifications-container{display:flex;flex-direction:column;row-gap:16px;align-items:flex-end;height:fit-content;width:32%;min-width:360px;padding:94px 60px 94px 0;position:fixed;z-index:999;top:0;right:0}@media only screen and (max-width:1024px){#floating-notifications-container{padding:24px 16px 24px 0}}@media only screen and (max-width:767px){#floating-notifications-container{width:100vw;box-sizing:border-box;row-gap:12px;align-items:center;padding:12px 16px}}`)),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { openBlock as
|
|
3
|
-
const
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";.fade-out[data-v-b9afac50]{animation:fadeOut-b9afac50 var(--fade-out-duration-ms, 3s) forwards}@keyframes fadeOut-b9afac50{0%{opacity:1}90%{opacity:.8}to{opacity:0}}.simplified-notification[data-v-b9afac50]{width:100%;padding:12px 16px;border-radius:8px;display:flex;gap:12px;align-items:stretch;box-sizing:border-box;position:relative}.simplified-notification.blue[data-v-b9afac50]{background:#e8f4fd}.simplified-notification.red[data-v-b9afac50]{background:#faeaea}.simplified-notification.yellow[data-v-b9afac50]{background:#fff7df}.simplified-notification.green[data-v-b9afac50]{background:#ebf4ec}.prefix_icon[data-v-b9afac50]{width:24px;height:24px}.prefix-icon-container[data-v-b9afac50]{display:flex;align-items:flex-start}.close-btn-container[data-v-b9afac50]{display:flex;flex-direction:column}.close-btn[data-v-b9afac50]{cursor:pointer}.notifiction-text[data-v-b9afac50]{width:100%;color:#000;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;white-space:normal;word-break:break-word}.content-wrapper[data-v-b9afac50]{width:100%}.title[data-v-b9afac50]{color:#000;font-family:Roboto;font-size:14px;font-weight:600;line-height:16px;margin-bottom:4px}.content-details[data-v-b9afac50]{min-height:24px;display:flex;align-items:center}@media only screen and (max-width:767px){.simplified-notification[data-v-b9afac50]{padding:8px 12px;gap:8px}}.responsive-button-wrapper[data-v-b993e836]{position:relative}.responsive-button-wrapper.fill-whole[data-v-b993e836]{width:100%;height:fit-content}.responsive-button-wrapper.fit-content[data-v-b993e836]{width:fit-content;height:fit-content}.responsive-button-wrapper[data-v-b993e836] .component-loading-spinner{border-radius:4px}.responsive-button-wrapper[data-v-b993e836] .component-loading-spinner:after{height:25px;width:25px}.responsive-button[data-v-b993e836]{height:fit-content;box-sizing:border-box;border-radius:4px;text-align:center;display:flex;flex-direction:column;align-items:center;font-family:Roboto;cursor:pointer}.responsive-button.fit-content[data-v-b993e836]{min-width:90px}.responsive-button.no-display-name[data-v-b993e836]{min-width:0px!important}.button-content[data-v-b993e836]{display:flex;column-gap:8px;align-items:center}.prefix-wrapper[data-v-b993e836],.suffix-wrapper[data-v-b993e836]{width:20px;height:20px;flex-shrink:0}.rotate-0[data-v-b993e836]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-b993e836]{transform:rotate(180deg)}.responsive-button.xsmall[data-v-b993e836]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.xsmall[data-v-b993e836]{width:fit-content;padding:7px 23px}.responsive-button.no-display-name.fit-content.xsmall[data-v-b993e836]{width:fit-content;padding:7px!important}.responsive-button.fit-content.xsmall.has-prefix[data-v-b993e836]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.xsmall.has-suffix[data-v-b993e836]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.xsmall.has-prefix.has-suffix[data-v-b993e836]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.xsmall[data-v-b993e836]{width:100%;padding:7px}.responsive-button.small[data-v-b993e836]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-b993e836]{width:fit-content;padding:9px 23px}.responsive-button.no-display-name.fit-content.small[data-v-b993e836]{width:fit-content;padding:9px!important}.responsive-button.fit-content.small.has-prefix[data-v-b993e836]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.small.has-suffix[data-v-b993e836]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-b993e836]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.small[data-v-b993e836]{width:100%;padding:9px 7px}.responsive-button.medium[data-v-b993e836]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-b993e836]{width:fit-content;padding:10px 23px}.responsive-button.no-display-name.fit-content.medium[data-v-b993e836]{width:fit-content;padding:10px!important}.responsive-button.fit-content.medium.has-prefix[data-v-b993e836]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-b993e836]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-b993e836]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.medium[data-v-b993e836]{width:100%;padding:10px 7px}.responsive-button.large[data-v-b993e836]{font-size:16px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-b993e836]{width:fit-content;padding:11px 23px}.responsive-button.no-display-name.fit-content.large[data-v-b993e836]{width:fit-content;padding:11px!important}.responsive-button.fit-content.large.has-prefix[data-v-b993e836]{width:fit-content;padding:11px 23px 11px 15px}.responsive-button.fit-content.large.has-suffix[data-v-b993e836]{width:fit-content;padding:11px 15px 11px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-b993e836]{width:fit-content;padding:11px 15px}.responsive-button.fill-whole.large[data-v-b993e836]{width:100%;padding:11px 7px}.disabled[data-v-b993e836]{cursor:not-allowed}.outlined-primary[data-v-b993e836]{border:1px solid #1E4670;background:#fff;color:#1e4670}.outlined-primary.held[data-v-b993e836]:hover,.outlined-primary[data-v-b993e836]:hover{background:#ecf2f8}.outlined-primary.held[data-v-b993e836],.outlined-primary.held[data-v-b993e836]:active,.outlined-primary.focused[data-v-b993e836],.outlined-primary[data-v-b993e836]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.outlined-primary.held.disabled[data-v-b993e836],.outlined-primary.disabled[data-v-b993e836],.outlined-primary.disabled[data-v-b993e836]:hover,.outlined-primary.disabled.focused[data-v-b993e836],.outlined-primary.disabled[data-v-b993e836]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-primary[data-v-b993e836]{border:1px solid #1E4670;background:#1e4670;color:#fff}.filled-primary.held[data-v-b993e836]:hover,.filled-primary[data-v-b993e836]:hover{background:#022a53}.filled-primary.held[data-v-b993e836],.filled-primary.held[data-v-b993e836]:active,.filled-primary.focused[data-v-b993e836],.filled-primary[data-v-b993e836]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#022a53}.filled-primary.held.disabled[data-v-b993e836],.filled-primary.disabled[data-v-b993e836],.filled-primary.disabled[data-v-b993e836]:hover,.filled-primary.disabled.focused .filled-primary.disabled[data-v-b993e836]:active{border:1px solid #979797;background:#979797}.text-primary[data-v-b993e836]{border:1px solid transparent;background:#fff;color:#1e4670}.text-primary.held[data-v-b993e836]:hover,.text-primary[data-v-b993e836]:hover{background:#ecf2f8}.text-primary.held[data-v-b993e836],.text-primary.held[data-v-b993e836]:active,.text-primary.focused[data-v-b993e836],.text-primary[data-v-b993e836]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.text-primary.held.disabled[data-v-b993e836],.text-primary.disabled[data-v-b993e836],.text-primary.disabled[data-v-b993e836]:hover,.text-primary.disabled.focused[data-v-b993e836],.text-primary.disabled[data-v-b993e836]:active{color:#979797}.outlined-secondary[data-v-b993e836]{border:1px solid #20A8C3;background:#fff;color:#20a8c3}.outlined-secondary.held[data-v-b993e836]:hover,.outlined-secondary[data-v-b993e836]:hover{background:#e8f0f4}.outlined-secondary.held[data-v-b993e836],.outlined-secondary.held[data-v-b993e836]:active,.outlined-secondary.focused[data-v-b993e836],.outlined-secondary[data-v-b993e836]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.outlined-secondary.held.disabled[data-v-b993e836],.outlined-secondary.disabled[data-v-b993e836],.outlined-secondary.disabled[data-v-b993e836]:hover,.outlined-secondary.disabled.focused[data-v-b993e836],.outlined-secondary.disabled[data-v-b993e836]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-secondary[data-v-b993e836]{border:1px solid #20A8C3;background:#20a8c3;color:#fff}.filled-secondary.held[data-v-b993e836]:hover,.filled-secondary[data-v-b993e836]:hover{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#20a8c3;box-shadow:0 1px 2px #0000004d,0 1px 3px 1px #00000026}.filled-secondary.held[data-v-b993e836],.filled-secondary.held[data-v-b993e836]:active,.filled-secondary.focused[data-v-b993e836],.filled-secondary[data-v-b993e836]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#20a8c3}.filled-secondary.held.disabled[data-v-b993e836],.filled-secondary.disabled[data-v-b993e836],.filled-secondary.disabled[data-v-b993e836]:hover,.filled-secondary.disabled.focused[data-v-b993e836],.filled-secondary.disabled[data-v-b993e836]:active{border:1px solid #979797;background:#979797}.text-secondary[data-v-b993e836]{border:1px solid transparent;background:#fff;color:#20a8c3}.text-secondary.held[data-v-b993e836]:hover,.text-secondary[data-v-b993e836]:hover{background:#e8f0f4}.text-secondary.held[data-v-b993e836],.text-secondary.held[data-v-b993e836]:active,.text-secondary.focused[data-v-b993e836],.text-secondary[data-v-b993e836]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.text-secondary.held.disabled[data-v-b993e836],.text-secondary.disabled[data-v-b993e836],.text-secondary.disabled[data-v-b993e836]:hover,.text-secondary.disabled.focused[data-v-b993e836],.text-secondary.disabled[data-v-b993e836]:active{color:#979797}.responsive-button-dropdown[data-v-b993e836]{min-width:300px;padding:9px 12px;box-sizing:border-box;border-radius:4px;background:#fff;box-shadow:0 4px 8px #00000026,0 1px 3px #0000004d;position:absolute;z-index:1000}.fill-whole .responsive-button-dropdown[data-v-b993e836]{width:100%}.fit-content .responsive-button-dropdown[data-v-b993e836]{width:fit-content}.responsive-button-dropdown.sub-dropdown[data-v-b993e836]{width:fit-content!important}.responsive-button-dropdown-option[data-v-b993e836]{width:100%!important;padding:12px 8px!important;border:none!important;flex-direction:row;align-items:flex-start!important;justify-content:space-between;column-gap:12px;background:#fff!important;color:#1c1b1f!important;font-family:Roboto!important;font-size:16px!important;font-weight:400!important;line-height:19px!important;cursor:pointer}.responsive-button-dropdown-option.hovered[data-v-b993e836]{border-radius:4px!important;background:#faebe6!important}.responsive-button-dropdown-option.disabled[data-v-b993e836],.responsive-button-dropdown-option.disabled.hovered[data-v-b993e836]{color:#979797!important;cursor:not-allowed!important}.responsive-button-dropdown-option .button-name[data-v-b993e836]{text-align:left}.non-web-responsive-button-nested-dropdown-button[data-v-b993e836]{width:100%!important;box-sizing:border-box;padding:12px 8px;border-bottom:1px solid #BCCCDC;display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;column-gap:12px;background:#fff;color:#1c1b1f;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;cursor:pointer}.fill-whole .non-web-responsive-button-dropdown-option[data-v-b993e836],.fit-content .non-web-responsive-button-dropdown-option[data-v-b993e836]{width:100%}.non-web-responsive-button-dropdown-option[data-v-b993e836]{box-sizing:border-box;padding:12px 8px;display:flex;flex-direction:row;align-items:flex-start!important;justify-content:space-between;column-gap:12px;background:#fff;color:#1c1b1f;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;cursor:pointer}.non-web-responsive-button-dropdown-option[data-v-b993e836]:active{border-radius:4px!important;background:#faebe6!important}.non-web-responsive-button-dropdown-option.disabled[data-v-b993e836],.non-web-responsive-button-dropdown-option.disabled[data-v-b993e836]:active{color:#979797!important;cursor:not-allowed!important}@media only screen and (max-width:767px){.simplified-notification[data-v-b993e836]{padding:8px 12px;gap:8px}.responsive-button.small[data-v-b993e836]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-b993e836]{width:fit-content;padding:7px 23px}.responsive-button.fit-content.small.has-prefix[data-v-b993e836]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.small.has-suffix[data-v-b993e836]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-b993e836]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.small[data-v-b993e836]{width:100%;padding:7px}.responsive-button.medium[data-v-b993e836]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-b993e836]{width:fit-content;padding:9px 23px}.responsive-button.fit-content.medium.has-prefix[data-v-b993e836]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-b993e836]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-b993e836]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.medium[data-v-b993e836]{width:100%;padding:9px 7px}.responsive-button.large[data-v-b993e836]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-b993e836]{width:fit-content;padding:10px 23px}.responsive-button.fit-content.large.has-prefix[data-v-b993e836]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.large.has-suffix[data-v-b993e836]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-b993e836]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.large[data-v-b993e836]{width:100%;padding:10px 7px}.responsive-button-dropdown-option[data-v-b993e836]{font-size:14px!important;font-weight:400!important;line-height:20px!important;letter-spacing:.25px!important}.responsive-button-dropdown[data-v-b993e836]{min-width:267px}}.dynamic-color-responsive-button-container.fit-content[data-v-41cc1a6c]{width:fit-content}.dynamic-color-responsive-button-container.fill-whole[data-v-41cc1a6c]{width:100%}.dynamic-color-responsive-button-container.icon-button[data-v-41cc1a6c]{width:fit-content;min-width:48px}.fill-whole .dynamic-color-responsive-button[data-v-41cc1a6c],.icon-button .dynamic-color-responsive-button[data-v-41cc1a6c]{width:100%}.fit-content .dynamic-color-responsive-button[data-v-41cc1a6c]{width:fit-content}.dynamic-color-responsive-button[data-v-41cc1a6c]{box-sizing:border-box;height:fit-content;display:flex;align-items:center;justify-content:center;cursor:pointer}.disabled .dynamic-color-responsive-button[data-v-41cc1a6c]{cursor:not-allowed}.small .dynamic-color-responsive-button[data-v-41cc1a6c]{min-height:48px;padding:4px 0}.medium .dynamic-color-responsive-button[data-v-41cc1a6c]{min-height:56px}.large .dynamic-color-responsive-button[data-v-41cc1a6c]{min-height:96px}.xlarge .dynamic-color-responsive-button[data-v-41cc1a6c]{min-height:136px}.fit-content .dynamic-color-responsive-button-content[data-v-41cc1a6c],.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{width:fit-content}.fill-whole .dynamic-color-responsive-button-content[data-v-41cc1a6c]{width:100%}.dynamic-color-responsive-button-content[data-v-41cc1a6c]{display:flex;align-items:center;justify-content:center;background:var(--button-background-color--);color:var(--button-text-color--);border-radius:var(--button-border-radius--);border-style:solid;border-color:var(--button-border-color--);transition:all .2s ease-in-out}.elevated .dynamic-color-responsive-button-content[data-v-41cc1a6c]{box-shadow:0 4px 8px 3px #00000026,0 1px 3px #0000004d}.disabled .dynamic-color-responsive-button-content[data-v-41cc1a6c],.disabled .dynamic-color-responsive-button:hover .dynamic-color-responsive-button-content[data-v-41cc1a6c],.disabled .dynamic-color-responsive-button.focus .dynamic-color-responsive-button-content[data-v-41cc1a6c],.disabled .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c]{background:var(--button-background-color--)!important;border-radius:var(--button-border-radius--)!important}.has-interaction-effect .dynamic-color-responsive-button:hover .dynamic-color-responsive-button-content[data-v-41cc1a6c]{background:color-mix(in srgb,var(--button-background-color--),var(--button-text-color--) 8%)}.has-interaction-effect .dynamic-color-responsive-button.focus .dynamic-color-responsive-button-content[data-v-41cc1a6c]{background:color-mix(in srgb,var(--button-background-color--),var(--button-text-color--) 10%)}.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c]{background:color-mix(in srgb,var(--button-background-color--),var(--button-text-color--) 16%)}.small.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-radius:8px}.medium.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-radius:12px}.large.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c],.xlarge.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-radius:16px}.small .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-width:1px;padding:9px 15px;column-gap:8px}.medium .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-width:1px;padding:15px 23px;column-gap:8px}.large .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-width:2px;padding:30px 46px;column-gap:12px}.xlarge .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-width:2px;padding:46px 62px;column-gap:16px}.small.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding:7px}.medium.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding:15px}.large.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding:30px}.xlarge.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding:46px}.small.icon-button.narrow .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:3px;padding-right:3px}.medium.icon-button.narrow .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:11px;padding-right:11px}.large.icon-button.narrow .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:14px;padding-right:14px}.xlarge.icon-button.narrow .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:30px;padding-right:30px}.small.icon-button.wide .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:13px;padding-right:13px}.medium.icon-button.wide .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:23px;padding-right:23px}.large.icon-button.wide .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:46px;padding-right:46px}.xlarge.icon-button.wide .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:70px;padding-right:70px}.prefix-raw-html-slot[data-v-41cc1a6c],.suffix-raw-html-slot[data-v-41cc1a6c]{width:100%;height:100%}[data-v-41cc1a6c] .prefix-wrapper>svg,[data-v-41cc1a6c] .suffix-wrapper>svg,[data-v-41cc1a6c] .prefix-raw-html-slot>svg,[data-v-41cc1a6c] .suffix-raw-html-slot>svg,[data-v-41cc1a6c] .prefix-wrapper>img,[data-v-41cc1a6c] .suffix-wrapper>img,[data-v-41cc1a6c] .prefix-raw-html-slot>img,[data-v-41cc1a6c] .suffix-raw-html-slot>img{width:100%;height:100%}.small .prefix-wrapper[data-v-41cc1a6c],.small .suffix-wrapper[data-v-41cc1a6c]{width:20px;height:20px;padding:1.67px;box-sizing:border-box}.small.icon-button .prefix-wrapper[data-v-41cc1a6c],.small.icon-button .suffix-wrapper[data-v-41cc1a6c],.medium .prefix-wrapper[data-v-41cc1a6c],.medium .suffix-wrapper[data-v-41cc1a6c]{width:24px;height:24px;padding:2px;box-sizing:border-box}.large .prefix-wrapper[data-v-41cc1a6c],.large .suffix-wrapper[data-v-41cc1a6c]{width:32px;height:32px;padding:2.67px;box-sizing:border-box}.xlarge .prefix-wrapper[data-v-41cc1a6c],.xlarge .suffix-wrapper[data-v-41cc1a6c]{width:40px;height:40px;padding:3.33px;box-sizing:border-box}.button-name-wrapper[data-v-41cc1a6c]{color:var(--button-text-color--);font-family:Roboto;font-style:normal}.medium .button-name-wrapper[data-v-41cc1a6c]{font-size:16px;font-weight:500;line-height:24px;letter-spacing:.15px}.large .button-name-wrapper[data-v-41cc1a6c]{font-size:24px;font-weight:400;line-height:32px;letter-spacing:0}.xlarge .button-name-wrapper[data-v-41cc1a6c]{font-size:32px;font-weight:400;line-height:40px;letter-spacing:0}.fit-content .dynamic-color-responsive-button-content .button-name-wrapper[data-v-41cc1a6c]{white-space:nowrap}.fill-whole .dynamic-color-responsive-button-content .button-name-wrapper[data-v-41cc1a6c]{white-space:wrap}@media only screen and (max-width: 767px){.small.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c],.medium.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-radius:8px}.large.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-radius:12px}.xlarge.has-interaction-effect .dynamic-color-responsive-button:active .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-radius:16px}.small .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-width:1px;padding:5px 11px;column-gap:4cqb}.medium .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-width:1px;padding:9px 15px;column-gap:8px}.large .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-width:1px;padding:15px 23px;column-gap:8px}.xlarge .dynamic-color-responsive-button-content[data-v-41cc1a6c]{border-width:2px;padding:30px 46px;column-gap:12px}.small.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding:5px}.medium.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding:7px}.large.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding:15px}.xlarge.icon-button .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding:30px}.small.icon-button.narrow .dynamic-color-responsive-button-content[data-v-41cc1a6c],.medium.icon-button.narrow .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:3px;padding-right:3px}.large.icon-button.narrow .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:11px;padding-right:11px}.xlarge.icon-button.narrow .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:14px;padding-right:14px}.small.icon-button.wide .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:9px;padding-right:9px}.medium.icon-button.wide .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:13px;padding-right:13px}.large.icon-button.wide .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:23px;padding-right:23px}.xlarge.icon-button.wide .dynamic-color-responsive-button-content[data-v-41cc1a6c]{padding-left:46px;padding-right:46px}.small.icon-button .prefix-wrapper[data-v-41cc1a6c],.small.icon-button .suffix-wrapper[data-v-41cc1a6c],.medium .prefix-wrapper[data-v-41cc1a6c],.medium .suffix-wrapper[data-v-41cc1a6c]{width:20px;height:20px;padding:1.67px;box-sizing:border-box}.medium.icon-button .prefix-wrapper[data-v-41cc1a6c],.medium.icon-button .suffix-wrapper[data-v-41cc1a6c],.large .prefix-wrapper[data-v-41cc1a6c],.large .suffix-wrapper[data-v-41cc1a6c]{width:24px;height:24px;padding:2px;box-sizing:border-box}.xlarge .prefix-wrapper[data-v-41cc1a6c],.xlarge .suffix-wrapper[data-v-41cc1a6c]{width:32px;height:32px;padding:2.67px;box-sizing:border-box}.small .button-name-wrapper[data-v-41cc1a6c],.medium .button-name-wrapper[data-v-41cc1a6c]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.large .button-name-wrapper[data-v-41cc1a6c]{font-size:16px;font-weight:500;line-height:24px;letter-spacing:.15px}.xlarge .button-name-wrapper[data-v-41cc1a6c]{font-size:24px;font-weight:400;line-height:32px;letter-spacing:0}}.input-box-unit-wrapper[data-v-3e172ef2]{width:100%;display:flex;flex-direction:column;row-gap:4px;position:relative}.label-outside[data-v-3e172ef2]{width:100%}.label-outside .label-text[data-v-3e172ef2]{color:#434956;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px}.label-outside .required-icon[data-v-3e172ef2]{color:var(--semantic-error-color--);font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px}.input-box-unit[data-v-3e172ef2]{height:48px;width:100%;box-sizing:border-box;padding:0 16px;display:flex;align-items:center;column-gap:4px;cursor:pointer;position:relative}.input-box-unit.has-prefix[data-v-3e172ef2]{padding-left:0}.input-box-unit.has-suffix[data-v-3e172ef2]{padding-right:0}.filled .input-box-unit[data-v-3e172ef2]{background:var(--input-box-background-color--);border-radius:4px 4px 0 0;box-shadow:inset 0 var(--input-box-border-width--) 0 var(--input-box-border-color--)}.outlined .input-box-unit[data-v-3e172ef2]{border-radius:4px;box-shadow:inset 0 0 0 var(--input-box-border-width--) var(--input-box-border-color--)}.input-box-unit.disabled[data-v-3e172ef2]{cursor:not-allowed}.filled .input-box-unit.disabled[data-v-3e172ef2]{background:var(--disabled-button-background-color--)}.input-box-wrapper[data-v-3e172ef2]{flex:1;padding:4px 0}.label-inside[data-v-3e172ef2]{width:fit-content}.outlined .label-inside[data-v-3e172ef2]{padding:0 4px;background:#f9f9fa;position:absolute;top:-8px;left:16px;z-index:1}.label-inside .label-text[data-v-3e172ef2]{color:var(--inside-label-color--);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.4px}.label-inside .required-icon[data-v-3e172ef2]{color:var(--semantic-error-color--);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.4px}.disabled .label-inside .required-icon[data-v-3e172ef2]{color:var(--disabled-color--)}.input-box[data-v-3e172ef2]{width:100%;padding:0;background-color:transparent;border:none;outline:none;color:#17181c;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px;height:24px}.disabled .input-box[data-v-3e172ef2]{color:var(--disabled-color--)}.input-box[data-v-3e172ef2]::placeholder{color:var(--disabled-color--);font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.input-box[data-v-3e172ef2]::-webkit-calendar-picker-indicator{background:url("data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4698_42665)'%3e%3cpath%20d='M15.8333%203.33464H15V1.66797H13.3333V3.33464H6.66667V1.66797H5V3.33464H4.16667C3.24167%203.33464%202.50833%204.08464%202.50833%205.0013L2.5%2016.668C2.5%2017.5846%203.24167%2018.3346%204.16667%2018.3346H15.8333C16.75%2018.3346%2017.5%2017.5846%2017.5%2016.668V5.0013C17.5%204.08464%2016.75%203.33464%2015.8333%203.33464ZM15.8333%2016.668H4.16667V8.33464H15.8333V16.668ZM15.8333%206.66797H4.16667V5.0013H15.8333V6.66797ZM10%2010.8346H14.1667V15.0013H10V10.8346Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4698_42665'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e") no-repeat center;height:24px}.prefix-wrapper[data-v-3e172ef2],.suffix-wrapper[data-v-3e172ef2]{flex-shrink:0;display:flex;align-items:center;width:fit-content;height:fit-content}.message-container[data-v-3e172ef2]{width:100%;box-sizing:border-box;padding:0 16px;font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.4px}.disabled .message-container[data-v-3e172ef2]{color:var(--disabled-color--)!important}.message-container .customized-supporting-text[data-v-3e172ef2]{color:#434956}.message-container .error[data-v-3e172ef2]{color:var(--semantic-error-color--)}.message-container .alert[data-v-3e172ef2]{color:var(--semantic-alert-color--)}@media only screen and (max-width:767px){.input-box-unit[data-v-3e172ef2]{height:48px}}.dropdown-menu-item-wrapper[data-v-be13e5b7]{position:relative}.dropdown-menu-item[data-v-be13e5b7]{height:fit-content;display:flex;align-items:center;column-gap:12px;justify-content:space-between;background:transparent;color:#17181c;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;cursor:pointer}.dropdown-menu-item.selected[data-v-be13e5b7]{color:#2e466b;font-weight:500}.small .dropdown-menu-item[data-v-be13e5b7]{min-height:40px;height:fit-content;padding:8px 12px}.medium .dropdown-menu-item[data-v-be13e5b7]{min-height:48px;height:fit-content;padding:12px}.large .dropdown-menu-item[data-v-be13e5b7]{min-height:56px;height:fit-content;padding:16px 12px}.dropdown-menu-item[data-v-be13e5b7]:hover{background:var(--State-Layers-On-Surface-Opacity-08, rgba(23, 24, 28, .08));color:#2e466b}.dropdown-menu-item.focus[data-v-be13e5b7]{background:var(--State-Layers-On-Surface-Opacity-10, rgba(23, 24, 28, .1));color:#2e466b}.dropdown-menu-item[data-v-be13e5b7]:active{background:var(--Schemes-Secondary-Container, #DBE3F0);color:#2e466b}.dropdown-menu-item.disabled[data-v-be13e5b7],.dropdown-menu-item.disabled[data-v-be13e5b7]:hover{color:var(--disabled-color--)!important;cursor:not-allowed!important}.dropdown-menu-item-content[data-v-be13e5b7]{display:flex;align-items:center;column-gap:12px;white-space:nowrap}.prefix-wrapper[data-v-be13e5b7]{color:#434956;width:24px;height:24px}.disabled .prefix-wrapper[data-v-be13e5b7]{color:var(--disabled-color--)!important}.suffix-wrapper[data-v-be13e5b7]{color:#434956;width:24px;height:24px}.disabled .suffix-wrapper[data-v-be13e5b7]{color:var(--disabled-color--)!important}.prefix-raw-html-slot[data-v-be13e5b7],.suffix-raw-html-slot[data-v-be13e5b7]{width:100%;height:100%}[data-v-be13e5b7] .prefix-wrapper>svg,[data-v-be13e5b7] .suffix-wrapper>svg,[data-v-be13e5b7] .prefix-raw-html-slot>svg,[data-v-be13e5b7] .suffix-raw-html-slot>svg,[data-v-be13e5b7] .prefix-wrapper>img,[data-v-be13e5b7] .suffix-wrapper>img,[data-v-be13e5b7] .prefix-raw-html-slot>img,[data-v-be13e5b7] .suffix-raw-html-slot>img{width:100%;height:100%}.dropdown-icon[data-v-be13e5b7]{width:100%;height:100%;transform:rotate(0);transition:all .3s}.rotate-180[data-v-be13e5b7]{transform:rotate(180deg)}.dropdown-menu-item-dropdown-wrapper[data-v-be13e5b7]{min-width:90px}.dropdown-menu-item-dropdown-wrapper.web-version[data-v-be13e5b7]{position:absolute;z-index:999}.dropdown-menu-item-divider[data-v-be13e5b7]{padding:8px 0;box-sizing:border-box}.dropdown-menu-item-divider[data-v-be13e5b7]:after{content:"";display:block;width:100%;height:1px;background:var(--Schemes-Outline-Variant, #C6CAD2)}.text[data-v-be13e5b7]{white-space:nowrap}.text.wrap-text[data-v-be13e5b7]{white-space:normal;word-break:break-all}.dropdown-menu.with-box-shadow[data-v-79082aa2]{box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.dropdown-menu.fill-whole[data-v-79082aa2]{width:100%}.dropdown-menu.fit-content[data-v-79082aa2]{width:fit-content}.dropdown-menu[data-v-79082aa2]{padding:8px 0;border-radius:4px;background:#eeeff1;min-width:90px}.no-data-notes[data-v-79082aa2]{width:100%;box-sizing:border-box;padding:12px 8px;border-radius:4px;color:#17181c;font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.5px;text-align:center}.dropdown[data-v-0e002b66]{position:absolute;top:100%;left:0;z-index:999}.single-selector-unit-wrapper[data-v-0e002b66]{width:100%;display:flex;flex-direction:column;row-gap:4px;position:relative}.label-outside[data-v-0e002b66]{width:100%}.label-outside .label-text[data-v-0e002b66]{color:#434956;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px}.label-outside .required-icon[data-v-0e002b66]{color:var(--semantic-error-color--);font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px}.single-selector[data-v-0e002b66]{height:48px;width:100%;box-sizing:border-box;padding:0 16px;display:flex;align-items:center;justify-content:space-between;column-gap:4px;cursor:pointer}.single-selector.has-prefix[data-v-0e002b66]{padding-left:0}.single-selector.has-suffix[data-v-0e002b66]{padding-right:0}.filled .single-selector[data-v-0e002b66]{background:var(--input-box-background-color--);border-radius:4px 4px 0 0;box-shadow:inset 0 var(--input-box-border-width--) 0 var(--input-box-border-color--)}.outlined .single-selector[data-v-0e002b66]{border-radius:4px;box-shadow:inset 0 0 0 var(--input-box-border-width--) var(--input-box-border-color--)}.single-selector.disabled[data-v-0e002b66]{cursor:not-allowed}.filled .single-selector.disabled[data-v-0e002b66]{background:var(--disabled-button-background-color--)}.selected-content-wrapper[data-v-0e002b66]{flex:1;padding:4px 0}.label-inside[data-v-0e002b66]{width:fit-content}.outlined .label-inside[data-v-0e002b66]{padding:0 4px;background:#f9f9fa;position:absolute;top:-8px;left:16px;z-index:1}.label-inside .label-text[data-v-0e002b66]{color:var(--inside-label-color--);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.4px}.label-inside .required-icon[data-v-0e002b66]{color:var(--semantic-error-color--);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.4px}.disabled .label-inside .required-icon[data-v-0e002b66]{color:var(--disabled-color--)}.selected-content[data-v-0e002b66]{width:100%;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hide[data-v-0e002b66]{display:none}.selected-content.content-text[data-v-0e002b66]{color:#17181c}.disabled .selected-content.content-text[data-v-0e002b66],.selected-content.placeholder[data-v-0e002b66]{color:var(--disabled-color--)}.filter-input[data-v-0e002b66]{width:100%;background:transparent;border:none;outline:none;color:#17181c;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px;height:24px;padding:0}.prefix-wrapper[data-v-0e002b66],.suffix-wrapper[data-v-0e002b66]{flex-shrink:0;display:flex;align-items:center;width:fit-content;height:fit-content}.rotate-0[data-v-0e002b66]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-0e002b66]{transform:rotate(180deg)}.single-selector-dropdown[data-v-0e002b66]{width:100%;height:fit-content;box-sizing:border-box;position:absolute;z-index:1000;top:100%;left:0}.single-selector-dropdown.no-data[data-v-0e002b66]{padding:8px 12px;border-radius:4px;background:#eeeff1;min-width:90px;box-shadow:0 1px 2px #0000004d,0 2px 6px 2px #00000026}.message-container[data-v-0e002b66]{width:100%;box-sizing:border-box;padding:0 16px;font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.4px}.disabled .message-container[data-v-0e002b66]{color:var(--disabled-color--)!important}.message-container .customized-supporting-text[data-v-0e002b66]{color:#434956}.message-container .error[data-v-0e002b66]{color:var(--semantic-error-color--)}.message-container .alert[data-v-0e002b66]{color:var(--semantic-alert-color--)}@media only screen and (max-width:767px){.single-selector[data-v-0e002b66]{height:48px}}.checkbox-container[data-v-5344ab55]{display:flex;cursor:pointer;width:fit-content;padding:8px 0}.checkbox-container.disabled[data-v-5344ab55]{cursor:not-allowed}.checkbox-container.small[data-v-5344ab55]{column-gap:10px}.checkbox-container.medium[data-v-5344ab55]{column-gap:11px}.checkbox-input[data-v-5344ab55]{display:flex;align-items:center}.small .checkbox-input[data-v-5344ab55]{height:20px}.medium .checkbox-input[data-v-5344ab55]{height:24px}.checkbox-input-original[data-v-5344ab55]{opacity:0;position:absolute}.checkbox-input-shown[data-v-5344ab55]{box-sizing:border-box;border-radius:2px;position:relative}.small .checkbox-input-shown[data-v-5344ab55]{width:20px;height:20px;padding:2px}.medium .checkbox-input-shown[data-v-5344ab55]{width:24px;height:24px;padding:3px}.checkbox-input-shown[data-v-5344ab55]:hover:before{content:"";display:block;border-radius:100%;width:32px;height:32px;background-color:var(--checkbox-theme-color--);opacity:8%;position:absolute}.small .checkbox-input-shown[data-v-5344ab55]:hover:before{top:-6px;left:-6px}.medium .checkbox-input-shown[data-v-5344ab55]:hover:before{top:-4px;left:-4px}.disabled .checkbox-input-shown[data-v-5344ab55]:hover:before{background-color:transparent!important}.checkbox-input-shown[data-v-5344ab55]:active:before{background-color:var(--checkbox-theme-color--);opacity:16%}.disabled .checkbox-input-shown[data-v-5344ab55]:active:before{background-color:transparent!important}.checkbox-input-original:focus+.checkbox-input-shown[data-v-5344ab55]:before{content:"";display:block;border-radius:100%;width:32px;height:32px;background-color:var(--checkbox-theme-color--);opacity:10%;position:absolute}.small .checkbox-input-original:focus+.checkbox-input-shown[data-v-5344ab55]:before{top:-6px;left:-6px}.medium .checkbox-input-original:focus+.checkbox-input-shown[data-v-5344ab55]:before{top:-4px;left:-4px}.disabled .indeterminate .checkbox-input-original:focus+.checkbox-input-shown[data-v-5344ab55]:before,.disabled .checked .checkbox-input-original:focus+.checkbox-input-shown[data-v-5344ab55]:before{background-color:transparent!important}.checkbox-input-original:focus+.checkbox-input-shown[data-v-5344ab55]:hover:before{background-color:var(--checkbox-theme-color--);opacity:8%}.checkbox-input-shown-checkbox[data-v-5344ab55]{width:100%;height:100%;border-radius:2px;box-sizing:border-box;position:relative}.checkbox-input-shown-checkbox[data-v-5344ab55]:after{content:"";display:block;width:100%;height:100%;border-radius:2px;box-sizing:border-box;border:2px solid hsl(226,8%,10%)}.checked .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-5344ab55]:after,.checked .checkbox-input-shown:hover .checkbox-input-shown-checkbox[data-v-5344ab55]:after{background-color:var(--checkbox-theme-color--)}.indeterminate .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-5344ab55]:after,.indeterminate .checkbox-input-shown:hover .checkbox-input-shown-checkbox[data-v-5344ab55]:after{background-color:var(--checkbox-theme-color--)}.checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-5344ab55]:after,.checkbox-input-shown:hover .checkbox-input-shown-checkbox[data-v-5344ab55]:after{background-color:transparent}.error .checkbox-input-shown-checkbox[data-v-5344ab55]:after{border-color:var(--checkbox-theme-color--)}.disabled .checkbox-input-shown-checkbox[data-v-5344ab55]:after{border-color:var(--disabled-color--)!important}.disabled .indeterminate .checkbox-input-shown-checkbox[data-v-5344ab55]:after,.disabled .checked .checkbox-input-shown-checkbox[data-v-5344ab55]:after{border-color:var(--disabled-color--)!important;background:var(--disabled-color--)!important}.checked .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-5344ab55]:after,.indeterminate .checkbox-input-original:focus+.checkbox-input-shown .checkbox-input-shown-checkbox[data-v-5344ab55]:after,.indeterminate .checkbox-input-shown-checkbox[data-v-5344ab55]:after,.checked .checkbox-input-shown-checkbox[data-v-5344ab55]:after{border-color:var(--checkbox-theme-color--);background:var(--checkbox-theme-color--)}.indeterminate-mark[data-v-5344ab55]:after{content:"";position:absolute;z-index:1;width:10px;height:2px;background-color:#fff}.small .indeterminate-mark[data-v-5344ab55]:after{top:9px;left:5px}.medium .indeterminate-mark[data-v-5344ab55]:after{top:11px;left:7px}.checkmark[data-v-5344ab55]:after{content:"";position:absolute;left:50%;top:50%;z-index:1;width:3.5px;height:9px;border:solid #FFFFFF;border-width:0 2px 2px 0;transform:translate(-45%,-65%) rotate(45deg)}.small .checkbox-container-label-wrapper[data-v-5344ab55]{color:#17181c;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.medium .checkbox-container-label-wrapper[data-v-5344ab55]{color:#17181c;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.disabled .checkbox-container-label-wrapper[data-v-5344ab55]{color:var(--disabled-color--)}.message-container[data-v-5344ab55]{width:var(--message-container-width--, 100%);font-family:Roboto;font-weight:400}.message-container.has-message-min-width[data-v-5344ab55]{min-width:109px}.message-container.error[data-v-5344ab55]{color:var(--checkbox-theme-color--)}.small+.message-container[data-v-5344ab55]{font-size:14px;line-height:20px;letter-spacing:.25px}.medium+.message-container[data-v-5344ab55]{font-size:16px;line-height:24px;letter-spacing:.5px}@media only screen and (max-width:767px){.checkbox-container.medium[data-v-5344ab55]{column-gap:10px}.medium .checkbox-input[data-v-5344ab55]{height:20px}.medium .checkbox-input-shown[data-v-5344ab55]{width:20px;height:20px;padding:2px}.medium .checkbox-input-shown[data-v-5344ab55]:hover:before{top:-6px;left:-6px}.medium .indeterminate-mark[data-v-5344ab55]:after{top:9px;left:5px}.medium .checkbox-container-label-wrapper[data-v-5344ab55]{color:#17181c;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.medium+.message-container[data-v-5344ab55]{font-size:14px;line-height:20px;letter-spacing:.25px}}.radio-container[data-v-643668bf]{width:fit-content;padding:8px 0;display:flex;column-gap:8px;cursor:pointer}.disabled.radio-container[data-v-643668bf]{cursor:not-allowed}.radio-input[data-v-643668bf]{position:relative}.radio-input-original[data-v-643668bf]{opacity:0;position:absolute}.radio-input-shown[data-v-643668bf]{padding:2px;box-sizing:border-box;position:relative}.small .radio-input-shown[data-v-643668bf]{width:20px;height:20px}.medium .radio-input-shown[data-v-643668bf]{width:24px;height:24px}.radio-input-shown[data-v-643668bf]:hover:before{content:"";display:block;border-radius:100%;background-color:#ededed;position:absolute;top:-4px;left:-4px;z-index:0}.small .radio-input-shown[data-v-643668bf]:hover:before{width:28px;height:28px}.medium .radio-input-shown[data-v-643668bf]:hover:before{width:32px;height:32px}.disabled .radio-input-shown[data-v-643668bf]:hover:before{background-color:transparent!important}.red .radio-input-shown[data-v-643668bf]:hover:before{background-color:#f8ded9}.primary-blue .checked .radio-input-shown[data-v-643668bf]:hover:before{background-color:#d2dae2}.secondary-blue .checked .radio-input-shown[data-v-643668bf]:hover:before{background-color:#d2eef3}.red .radio-input-shown[data-v-643668bf]:active:before{background-color:#f5cdc6}.primary-blue .radio-input-shown[data-v-643668bf]:active:before{background-color:#bbc3cd}.secondary-blue .radio-input-shown[data-v-643668bf]:active:before{background-color:#bcd7dd}.primary-blue .checked .radio-input-shown[data-v-643668bf]:active:before{background-color:#bcbfc4}.secondary-blue .checked .radio-input-shown[data-v-643668bf]:active:before{background-color:#bcc8cc}.radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{content:"";display:block;border-radius:100%;background-color:#e4e4e4;position:absolute;top:-4px;left:-4px;z-index:0}.small .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{width:28px;height:28px}.medium .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{width:32px;height:32px}.red .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{background-color:#f4cac2}.primary-blue .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{background-color:#b7c4d1}.secondary-blue .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{background-color:#b8e3ec}.disabled .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before,.disabled .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{background-color:transparent!important}.radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#ededed}.red .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#f8ded9}.primary-blue .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#d2dae2}.secondary-blue .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#d2eef3}.red .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:#f8ded9}.disabled .checked .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:hover:before{background-color:transparent!important}.radio-input-checkmark[data-v-643668bf]{width:100%;height:100%;padding:7px;box-sizing:border-box;position:absolute;top:0;left:0;z-index:1}.radio-input-checkmark[data-v-643668bf]:after{content:"";display:block;width:100%;height:100%;box-sizing:border-box;border-radius:100%}.red .radio-input-checkmark[data-v-643668bf]:after{background-color:#de583f!important}.primary-blue .radio-input-checkmark[data-v-643668bf]:after{background-color:#1e4670}.secondary-blue .radio-input-checkmark[data-v-643668bf]:after{background-color:#20a8c3}.disabled .radio-input-checkmark[data-v-643668bf]:after{background-color:#979797!important}.radio-input-shown-checkbox[data-v-643668bf]{width:100%;height:100%;border:2px solid #49454F;background-color:#fff;border-radius:100%;box-sizing:border-box;position:relative}.radio-input-original:focus+.radio-input-shown .radio-input-shown-checkbox[data-v-643668bf],.radio-input-shown:hover .radio-input-shown-checkbox[data-v-643668bf]{background-color:transparent}.disabled .radio-input-shown:hover .radio-input-shown-checkbox[data-v-643668bf],.disabled .radio-input-shown-checkbox[data-v-643668bf]{border-color:#979797!important;background-color:#fff}.red .radio-input-shown-checkbox[data-v-643668bf]{border-color:#de583f}.primary-blue .checked .radio-input-shown-checkbox[data-v-643668bf]{border-color:#1e4670}.secondary-blue .checked .radio-input-shown-checkbox[data-v-643668bf]{border-color:#20a8c3}.radio-container-label-wrapper[data-v-643668bf]{color:#1c1b1f;font-family:Roboto;font-weight:400}.small .radio-container-label-wrapper[data-v-643668bf]{font-size:14px;line-height:20px;letter-spacing:.25px}.medium .radio-container-label-wrapper[data-v-643668bf]{font-size:16px;line-height:24px;letter-spacing:.5px}.disabled .radio-container-label-wrapper[data-v-643668bf]{color:#979797}.message-container[data-v-643668bf]{width:var(--message-container-width--, 100%);font-family:Roboto;font-weight:400}.message-container.has-message-min-width[data-v-643668bf]{min-width:109px}.message-container.error[data-v-643668bf]{color:#de583f}.small+.message-container[data-v-643668bf]{font-size:14px;line-height:20px;letter-spacing:.25px}.medium+.message-container[data-v-643668bf]{font-size:16px;line-height:24px;letter-spacing:.5px}@media only screen and (max-width:767px){.medium .radio-input-shown[data-v-643668bf]{width:20px;height:20px}.medium .radio-input-shown[data-v-643668bf]:hover:before{width:28px;height:28px}.medium .radio-input-original:focus+.radio-input-shown[data-v-643668bf]:before{width:28px;height:28px}.medium .radio-container-label-wrapper[data-v-643668bf]{font-size:14px;line-height:20px;letter-spacing:.25px}.medium+.message-container[data-v-643668bf]{font-size:14px;line-height:20px;letter-spacing:.25px}}.whole-page-error-popup-container.whole-page-error-mask[data-v-623b4a2e]{height:100vh;width:100%;position:fixed;top:0;left:0;z-index:1000;background-color:#1c1b1f4d;display:flex;flex-direction:column;align-items:center}.whole-page-error-popup-window[data-v-623b4a2e]{width:38%;min-width:552px;height:fit-content;margin-top:94px;background-color:#fff;border-radius:10px}.error-popup-header[data-v-623b4a2e]{display:flex;flex-direction:column;align-items:center;padding:12px 16px;row-gap:20px}.error-popup-title-icon[data-v-623b4a2e]{width:100px;height:100px}.error-popup-title-text[data-v-623b4a2e]{color:#de583f;font-family:Roboto;font-size:24px;font-weight:500;line-height:28px;letter-spacing:.458px}.error-popup-body[data-v-623b4a2e]{width:100%;box-sizing:border-box;padding:12px 16px 0;color:#1c1b1f;font-family:Roboto;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.error-popup-footer[data-v-623b4a2e]{width:100%;box-sizing:border-box;padding:24px}.retry-button[data-v-623b4a2e]{text-align:center;width:100%;box-sizing:border-box;padding:10px 24px;border-radius:4px;background:#de583f;color:#fff;font-family:Roboto;font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px;cursor:pointer}@media only screen and (max-width:1024px){.whole-page-error-popup-window[data-v-623b4a2e]{max-width:552px;margin-top:64px;width:54%;min-width:0}}@media only screen and (max-width:767px){.whole-page-error-popup-container.whole-page-error-mask[data-v-623b4a2e]{padding:0 16px;box-sizing:border-box}.whole-page-error-popup-window[data-v-623b4a2e]{max-width:none;width:100%;margin-top:12px;min-width:0}.error-popup-header[data-v-623b4a2e]{display:flex;flex-direction:column;align-items:center;padding:12px;row-gap:16px}.error-popup-title-icon[data-v-623b4a2e]{width:64px;height:64px}.error-popup-title-text[data-v-623b4a2e]{font-size:22px;line-height:26px}.error-popup-body[data-v-623b4a2e]{padding:12px 12px 0}.error-popup-footer[data-v-623b4a2e]{width:100%;box-sizing:border-box;padding:16px 12px}}.area-code-phone-input-unit-wrapper[data-v-c8a902b3]{display:flex;flex-direction:column;row-gap:8px}.area-code-phone-input[data-v-c8a902b3]{display:flex;align-items:center;box-shadow:inset 0 0 0 1px #bcccdc;border-radius:4px;position:relative}.area-code-phone-input[data-v-c8a902b3]:hover{box-shadow:inset 0 0 0 1px #dee6ed}.area-code-phone-input.is-focus[data-v-c8a902b3]{box-shadow:inset 0 0 0 1px #9bb2ca}.area-code-phone-input.error[data-v-c8a902b3]:hover,.area-code-phone-input.error.is-focus[data-v-c8a902b3],.area-code-phone-input.error[data-v-c8a902b3]{box-shadow:inset 0 0 0 1px #de583f}.area-code-phone-input.alert[data-v-c8a902b3]:hover,.area-code-phone-input.alert.is-focus[data-v-c8a902b3],.area-code-phone-input.alert[data-v-c8a902b3]{box-shadow:inset 0 0 0 1px #e0961e}.area-code-phone-input.disabled[data-v-c8a902b3]:hover,.area-code-phone-input.disabled.is-focus[data-v-c8a902b3],.area-code-phone-input.disabled[data-v-c8a902b3]{box-shadow:inset 0 0 0 1px #bcccdc!important;background:#f2f2f2;cursor:not-allowed}.country-area-code-selector-wrapper[data-v-c8a902b3]{max-width:120px}.phone-number-input-wrapper[data-v-c8a902b3]{flex:1}[data-v-c8a902b3] .single-selector-unit-wrapper{--input-box-border-color--: transparent !important}[data-v-c8a902b3] .single-selector.disabled:hover,[data-v-c8a902b3] .single-selector.has-prefix,[data-v-c8a902b3] .single-selector:hover,[data-v-c8a902b3] .single-selector.is-focus,[data-v-c8a902b3] .single-selector{border:none;column-gap:4px}[data-v-c8a902b3] .single-selector-unit-wrapper{position:static}[data-v-c8a902b3] .single-selector.has-prefix .selected-content.content-text{display:none}[data-v-c8a902b3] .single-selector.has-prefix.is-focus .selected-content.content-text{display:block}[data-v-c8a902b3] .single-selector.has-prefix.is-focus .prefix-wrapper{display:none}[data-v-c8a902b3] .single-selector .selected-content{letter-spacing:.25px}.country-selector-prefix[data-v-c8a902b3]{width:100%;height:100%}.area-code-container[data-v-c8a902b3]{height:26px;width:fit-content;padding-left:11px;display:flex;align-items:center;border-left:1px solid #BCCCDC;color:#1c1b1f;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.area-code-container.not-selected[data-v-c8a902b3]{color:#979797}[data-v-c8a902b3] .input-box-unit{--input-box-border-color--: transparent !important}[data-v-c8a902b3] .input-box-unit.disabled:hover,[data-v-c8a902b3] .input-box-unit:hover,[data-v-c8a902b3] .input-box-unit.is-focus,[data-v-c8a902b3] .input-box-unit{border:none}.suffix-wrapper[data-v-c8a902b3]{display:flex;align-items:center;column-gap:4px;flex-shrink:0;height:24px}.clear-icon[data-v-c8a902b3]{flex-shrink:0;width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-c8a902b3]:hover{opacity:1}.hide[data-v-c8a902b3]{display:none}.message-container[data-v-c8a902b3]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-c8a902b3]{color:#de583f}.message-container.alert[data-v-c8a902b3]{color:#e0961e}@media only screen and (max-width: 767px){.area-code-phone-input-unit-wrapper[data-v-c8a902b3]{row-gap:4px}.country-area-code-selector-wrapper[data-v-c8a902b3]{max-width:120px}[data-v-c8a902b3] .single-selector.disabled:hover,[data-v-c8a902b3] .single-selector.has-prefix,[data-v-c8a902b3] .single-selector:hover,[data-v-c8a902b3] .single-selector.is-focus,[data-v-c8a902b3] .single-selector{box-shadow:none;column-gap:2px}.suffix-wrapper[data-v-c8a902b3]{height:20px;column-gap:0px}.clear-icon[data-v-c8a902b3]{width:36px;height:36px;box-sizing:border-box;padding:10px}.message-container[data-v-c8a902b3]{font-size:14px;line-height:16px}}.group-checkbox-container[data-v-3a91062e]{width:fit-content}.badge-wrapper[data-v-8de2e220]{display:inline-flex;width:fit-content;height:fit-content}.badge-wrapper.top-right[data-v-8de2e220]{position:relative}.badge-wrapper.center-right[data-v-8de2e220]{display:inline-flex;align-items:center;column-gap:4px}.badge[data-v-8de2e220]{display:flex;align-items:center;justify-content:center;border-radius:100%;box-sizing:border-box;color:#fff;font-family:Roboto;font-weight:500;line-height:1}.badge.top-right[data-v-8de2e220]{position:absolute}.badge.center-right[data-v-8de2e220]{position:static}.badge.small[data-v-8de2e220]{width:6px;height:6px;min-width:6px}.badge.medium[data-v-8de2e220]{width:8px;height:8px;min-width:8px}.badge.large[data-v-8de2e220]{width:16px;height:16px;min-width:16px}.badge.has-content[data-v-8de2e220]{width:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;font-size:12px;line-height:16px;letter-spacing:.4px}.badge.top-right[data-v-8de2e220]{top:0;right:0}.badge.primary[data-v-8de2e220]{background-color:#af251d;color:#fff}.badge.secondary[data-v-8de2e220]{background-color:#cfe0fc;color:#083d91}.badge[style*=--badge-theme-color--][data-v-8de2e220]{background-color:var(--badge-theme-color--)!important;color:var(--badge-text-color--, #FFFFFF)!important}@media only screen and (max-width: 767px){.badge.small[data-v-8de2e220],.badge.medium[data-v-8de2e220]{width:6px;height:6px;min-width:6px}.badge.large[data-v-8de2e220]{width:16px;height:16px;min-width:16px}.badge.has-content[data-v-8de2e220]{width:auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;font-size:12px;line-height:16px;letter-spacing:.4px}}.floating-action-button-container[data-v-e8e0f96e]{position:fixed;right:16px;bottom:16px;z-index:999}.floating-action-button[data-v-e8e0f96e]{border-radius:var(--Corner-Large-increased, 20px);background:var(--fab-button-background-color--);box-shadow:0 4px 8px 3px #00000026,0 1px 3px #0000004d;box-sizing:border-box;display:flex;justify-content:center;align-items:center;color:var(--fab-button-text-color--);font-family:var(--Static-Title-Medium-Font, Roboto);font-style:normal;cursor:pointer}.floating-action-button[data-v-e8e0f96e]:hover{background:color-mix(in srgb,var(--fab-button-background-color--),var(--fab-button-text-color--) 8%)}.floating-action-button[data-v-e8e0f96e]:active{background:color-mix(in srgb,var(--fab-button-background-color--),var(--fab-button-text-color--) 16%)}.small .floating-action-button[data-v-e8e0f96e]{height:56px;padding:16px;column-gap:8px;font-size:var(--Static-Title-Medium-Size, 16px);font-weight:500;line-height:var(--Static-Title-Medium-Line-Height, 24px);letter-spacing:var(--Static-Title-Medium-Tracking, .15px)}.medium .floating-action-button[data-v-e8e0f96e]{height:80px;padding:26px;column-gap:12px;font-size:var(--Static-Title-Large-Size, 22px);font-weight:400;line-height:var(--Static-Title-Large-Line-Height, 28px);letter-spacing:var(--Static-Title-Large-Tracking, 0)}.large .floating-action-button[data-v-e8e0f96e]{height:96px;padding:30px;column-gap:16px;font-size:var(--Static-Headline-Small-Size, 24px);font-weight:400;line-height:var(--Static-Headline-Small-Line-Height, 32px);letter-spacing:var(--Static-Headline-Small-Tracking, 0)}.floating-action-button .prefix[data-v-e8e0f96e],.floating-action-button .suffix[data-v-e8e0f96e]{box-sizing:border-box}[data-v-e8e0f96e] .prefix>svg,[data-v-e8e0f96e] .suffix>svg{width:100%;height:100%}[data-v-e8e0f96e] .prefix>img,[data-v-e8e0f96e] .suffix>img{width:100%;height:100%}.small .floating-action-button .prefix[data-v-e8e0f96e],.small .floating-action-button .suffix[data-v-e8e0f96e]{width:24px;height:24px;padding:2px}.medium .floating-action-button .prefix[data-v-e8e0f96e],.medium .floating-action-button .suffix[data-v-e8e0f96e]{width:28px;height:28px;padding:2.33px}.large .floating-action-button .prefix[data-v-e8e0f96e],.large .floating-action-button .suffix[data-v-e8e0f96e]{width:36px;height:36px;padding:3px}.floating-action-button-menu[data-v-e8e0f96e]{display:flex;flex-direction:column;align-items:flex-end;row-gap:4px}.floating-action-button-menu-item[data-v-e8e0f96e]{height:56px;padding:16px 24px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;column-gap:8px;background:var(--fab-menu-child-button-background-color--);border-radius:var(--Corner-Extra-large, 28px);color:var(--fab-menu-child-button-text-color--);font-family:var(--Static-Title-Medium-Font, Roboto);font-size:var(--Static-Title-Medium-Size, 16px);font-style:normal;font-weight:500;line-height:var(--Static-Title-Medium-Line-Height, 24px);letter-spacing:var(--Static-Title-Medium-Tracking, .15px);cursor:pointer}.floating-action-button-menu-item[data-v-e8e0f96e]:hover{background:color-mix(in srgb,var(--fab-menu-child-button-background-color--),var(--fab-menu-child-button-text-color--) 8%)}.floating-action-button-menu-item[data-v-e8e0f96e]:active{background:color-mix(in srgb,var(--fab-menu-child-button-background-color--),var(--fab-menu-child-button-text-color--) 16%)}.floating-action-button-menu-item-prefix[data-v-e8e0f96e],.floating-action-button-menu-item-suffix[data-v-e8e0f96e]{width:24px;height:24px;padding:2px;box-sizing:border-box}.menu-cross-button[data-v-e8e0f96e]{width:56px;height:56px;padding:16px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;margin-top:4px;border-radius:var(--Corner-Extra-large, 28px);background:var(--fab-menu-cross-button-background-color--);box-shadow:0 4px 8px 3px #00000026,0 1px 3px #0000004d;cursor:pointer}.menu-cross-button>svg[data-v-e8e0f96e]{color:var(--fab-menu-cross-button-text-color--)}:root{--Schemes-primary: hsl(217, 90%, 40%);--Schemes-Secondary: hsl(217, 40%, 40%);--Schemes-Tertiary: hsl(307, 50%, 40%);--Schemes-Primary-Container: hsl(217, 90%, 90%);--Schemes-Secondary-Container: hsl(217, 40%, 90%);--Schemes-Tertiary-Container: hsl(307, 50%, 90%);--semantic-success-color--: hsl(86, 52%, 48%);--semantic-error-color--: hsl(3, 71%, 40%);--semantic-alert-color--: hsla(38, 100%, 40%);--disabled-color--: hsl(226, 8%, 60%);--disabled-button-background-color--: hsl(226, 8%, 92%);--Schemes-Outline-Variant:hsl(220, 12%, 80%)}.component-loading-spinner{position:absolute;top:0;left:0;width:100%;height:100%;background:#fffc;display:flex;justify-content:center;align-items:center;z-index:1000}.component-loading-spinner:after{content:"";width:30px;height:30px;border:3px solid #ccc;border-top-color:#20a8c3;border-radius:100%;animation:spin 2s linear infinite}.whole-page-loading-mask{position:fixed;top:0;left:0;width:100%;height:100vh;background:#fffc;display:flex;justify-content:center;align-items:center;z-index:1000}.whole-page-loading-spinner-container{width:123px;display:flex;flex-direction:column;align-items:center;row-gap:20px}.whole-page-loading-spinner-icon-container{width:60px;height:60px;display:flex;flex-direction:column;align-items:center;position:relative}.whole-page-loading-progress-circle-div{content:"";width:100%;height:100%;box-sizing:border-box;border:5px solid #ccc;border-top-color:#20a8c3;border-radius:100%;animation:spin 2s linear infinite}.whole-page-loading-hourglass-icon-div{content:url("data:image/svg+xml,%3csvg%20width='25'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4775_81901'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='25'%20height='24'%3e%3crect%20x='0.5'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4775_81901)'%3e%3cpath%20d='M8.5%2020H16.5V17C16.5%2015.9%2016.1083%2014.9583%2015.325%2014.175C14.5417%2013.3917%2013.6%2013%2012.5%2013C11.4%2013%2010.4583%2013.3917%209.675%2014.175C8.89167%2014.9583%208.5%2015.9%208.5%2017V20ZM4.5%2022V20H6.5V17C6.5%2015.9833%206.7375%2015.0292%207.2125%2014.1375C7.6875%2013.2458%208.35%2012.5333%209.2%2012C8.35%2011.4667%207.6875%2010.7542%207.2125%209.8625C6.7375%208.97083%206.5%208.01667%206.5%207V4H4.5V2H20.5V4H18.5V7C18.5%208.01667%2018.2625%208.97083%2017.7875%209.8625C17.3125%2010.7542%2016.65%2011.4667%2015.8%2012C16.65%2012.5333%2017.3125%2013.2458%2017.7875%2014.1375C18.2625%2015.0292%2018.5%2015.9833%2018.5%2017V20H20.5V22H4.5Z'%20fill='%2320A8C3'/%3e%3c/g%3e%3c/svg%3e");height:24px;width:24px;animation:flip 5s infinite;position:absolute;top:18px;left:18px}.whole-page-loading-text-div:after{content:"Loading";color:#20a8c3;font-family:Roboto;font-size:28px;font-weight:400;line-height:36px;animation:loading_dots 3s steps(1) infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes flip{0%{transform:rotate(0)}20%{transform:rotate(180deg)}50%{transform:rotate(180deg)}70%{transform:rotate(0)}to{transform:rotate(0)}}@keyframes loading_dots{0%{content:"Loading"}25%{content:"Loading."}50%{content:"Loading.."}75%{content:"Loading..."}}#floating-notifications-container{display:flex;flex-direction:column;row-gap:16px;align-items:flex-end;height:fit-content;width:32%;min-width:360px;padding:94px 60px 94px 0;position:fixed;z-index:999;top:0;right:0}@media only screen and (max-width:1024px){#floating-notifications-container{padding:24px 16px 24px 0}}@media only screen and (max-width:767px){#floating-notifications-container{width:100vw;box-sizing:border-box;row-gap:12px;align-items:center;padding:12px 16px}}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { openBlock as a, createElementBlock as l, normalizeClass as h, createElementVNode as u, toDisplayString as L, createCommentVNode as m, renderSlot as D, ref as x, onMounted as _e, onUnmounted as ke, resolveComponent as re, resolveDirective as Pe, withDirectives as Q, normalizeStyle as G, Fragment as ie, renderList as se, createBlock as P, mergeProps as de, computed as I, unref as U, createTextVNode as X, createVNode as K, withCtx as V, vModelDynamic as Ve, useAttrs as Be, vModelText as Ze, vModelCheckbox as Ge, vModelRadio as pe, watch as Y, createSlots as Re, provide as fe, createApp as Ue, h as Fe } from "vue";
|
|
3
|
+
const je = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.11973%209.29055L11.9997%2013.1705L15.8797%209.29055C16.2697%208.90055%2016.8997%208.90055%2017.2897%209.29055C17.6797%209.68055%2017.6797%2010.3105%2017.2897%2010.7005L12.6997%2015.2905C12.3097%2015.6805%2011.6797%2015.6805%2011.2897%2015.2905L6.69973%2010.7005C6.30973%2010.3105%206.30973%209.68055%206.69973%209.29055C7.08973%208.91055%207.72973%208.90055%208.11973%209.29055Z'%20fill='black'/%3e%3c/svg%3e", $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
|
-
default:
|
|
6
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5
|
+
default: je
|
|
6
|
+
}, Symbol.toStringTag, { value: "Module" })), ae = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4130_71343'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20y='20'%20width='20'%20height='20'%20transform='rotate(-90%200%2020)'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4130_71343)'%3e%3cpath%20d='M12.8112%2010L7.8112%2015L6.64453%2013.8333L10.4779%2010L6.64453%206.16667L7.8112%205L12.8112%2010Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/svg%3e", We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
7
|
__proto__: null,
|
|
8
|
-
default:
|
|
9
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8
|
+
default: ae
|
|
9
|
+
}, Symbol.toStringTag, { value: "Module" })), Ke = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4698_42665)'%3e%3cpath%20d='M15.8333%203.33464H15V1.66797H13.3333V3.33464H6.66667V1.66797H5V3.33464H4.16667C3.24167%203.33464%202.50833%204.08464%202.50833%205.0013L2.5%2016.668C2.5%2017.5846%203.24167%2018.3346%204.16667%2018.3346H15.8333C16.75%2018.3346%2017.5%2017.5846%2017.5%2016.668V5.0013C17.5%204.08464%2016.75%203.33464%2015.8333%203.33464ZM15.8333%2016.668H4.16667V8.33464H15.8333V16.668ZM15.8333%206.66797H4.16667V5.0013H15.8333V6.66797ZM10%2010.8346H14.1667V15.0013H10V10.8346Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4698_42665'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
10
|
__proto__: null,
|
|
11
|
-
default:
|
|
12
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11
|
+
default: Ke
|
|
12
|
+
}, Symbol.toStringTag, { value: "Module" })), Ye = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4655_62118)'%3e%3cpath%20d='M12.9167%2011.6667H12.2583L12.025%2011.4417C12.8417%2010.4917%2013.3333%209.25833%2013.3333%207.91667C13.3333%204.925%2010.9083%202.5%207.91667%202.5C4.925%202.5%202.5%204.925%202.5%207.91667C2.5%2010.9083%204.925%2013.3333%207.91667%2013.3333C9.25833%2013.3333%2010.4917%2012.8417%2011.4417%2012.025L11.6667%2012.2583V12.9167L15.8333%2017.075L17.075%2015.8333L12.9167%2011.6667ZM7.91667%2011.6667C5.84167%2011.6667%204.16667%209.99167%204.16667%207.91667C4.16667%205.84167%205.84167%204.16667%207.91667%204.16667C9.99167%204.16667%2011.6667%205.84167%2011.6667%207.91667C11.6667%209.99167%209.99167%2011.6667%207.91667%2011.6667Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4655_62118'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13
13
|
__proto__: null,
|
|
14
|
-
default:
|
|
15
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
14
|
+
default: Ye
|
|
15
|
+
}, Symbol.toStringTag, { value: "Module" })), xe = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4479_76910'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4479_76910)'%3e%3cpath%20d='M10%2012.8151L5%207.8151L6.16667%206.64844L10%2010.4818L13.8333%206.64844L15%207.8151L10%2012.8151Z'%20fill='%2320A8C3'/%3e%3c/g%3e%3c/svg%3e", Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16
16
|
__proto__: null,
|
|
17
|
-
default:
|
|
18
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17
|
+
default: xe
|
|
18
|
+
}, Symbol.toStringTag, { value: "Module" })), Xe = "data:image/svg+xml,%3csvg%20width='25'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4775_81901'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='25'%20height='24'%3e%3crect%20x='0.5'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4775_81901)'%3e%3cpath%20d='M8.5%2020H16.5V17C16.5%2015.9%2016.1083%2014.9583%2015.325%2014.175C14.5417%2013.3917%2013.6%2013%2012.5%2013C11.4%2013%2010.4583%2013.3917%209.675%2014.175C8.89167%2014.9583%208.5%2015.9%208.5%2017V20ZM4.5%2022V20H6.5V17C6.5%2015.9833%206.7375%2015.0292%207.2125%2014.1375C7.6875%2013.2458%208.35%2012.5333%209.2%2012C8.35%2011.4667%207.6875%2010.7542%207.2125%209.8625C6.7375%208.97083%206.5%208.01667%206.5%207V4H4.5V2H20.5V4H18.5V7C18.5%208.01667%2018.2625%208.97083%2017.7875%209.8625C17.3125%2010.7542%2016.65%2011.4667%2015.8%2012C16.65%2012.5333%2017.3125%2013.2458%2017.7875%2014.1375C18.2625%2015.0292%2018.5%2015.9833%2018.5%2017V20H20.5V22H4.5Z'%20fill='%2320A8C3'/%3e%3c/g%3e%3c/svg%3e", et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
19
|
__proto__: null,
|
|
20
|
-
default:
|
|
21
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
20
|
+
default: Xe
|
|
21
|
+
}, Symbol.toStringTag, { value: "Module" })), Te = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4276_5653'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4276_5653)'%3e%3cpath%20d='M10%2012.8151L5%207.8151L6.16667%206.64844L10%2010.4818L13.8333%206.64844L15%207.8151L10%2012.8151Z'%20fill='%231E4670'/%3e%3c/g%3e%3c/svg%3e", tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
22
22
|
__proto__: null,
|
|
23
|
-
default:
|
|
24
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
23
|
+
default: Te
|
|
24
|
+
}, Symbol.toStringTag, { value: "Module" })), ot = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_2631_18409'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_2631_18409)'%3e%3cpath%20d='M12%2015.3766L6%209.37656L7.4%207.97656L12%2012.5766L16.6%207.97656L18%209.37656L12%2015.3766Z'%20fill='%23555555'/%3e%3c/g%3e%3c/svg%3e", nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
25
|
__proto__: null,
|
|
26
|
-
default:
|
|
27
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
26
|
+
default: ot
|
|
27
|
+
}, Symbol.toStringTag, { value: "Module" })), rt = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4705_71801'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4705_71801)'%3e%3cpath%20d='M10.0026%2013.3359C11.0443%2013.3359%2011.9298%2012.9715%2012.6593%2012.2426C13.3882%2011.5132%2013.7526%2010.6276%2013.7526%209.58594C13.7526%208.54427%2013.3882%207.65872%2012.6593%206.92927C11.9298%206.20038%2011.0443%205.83594%2010.0026%205.83594C8.96094%205.83594%208.07538%206.20038%207.34594%206.92927C6.61705%207.65872%206.2526%208.54427%206.2526%209.58594C6.2526%2010.6276%206.61705%2011.5132%207.34594%2012.2426C8.07538%2012.9715%208.96094%2013.3359%2010.0026%2013.3359ZM10.0026%2011.8359C9.3776%2011.8359%208.84649%2011.617%208.40927%2011.1793C7.97149%2010.742%207.7526%2010.2109%207.7526%209.58594C7.7526%208.96094%207.97149%208.42955%208.40927%207.99177C8.84649%207.55455%209.3776%207.33594%2010.0026%207.33594C10.6276%207.33594%2011.159%207.55455%2011.5968%207.99177C12.034%208.42955%2012.2526%208.96094%2012.2526%209.58594C12.2526%2010.2109%2012.034%2010.742%2011.5968%2011.1793C11.159%2011.617%2010.6276%2011.8359%2010.0026%2011.8359ZM10.0026%2015.8359C7.97483%2015.8359%206.1276%2015.2698%204.46094%2014.1376C2.79427%2013.0059%201.58594%2011.4887%200.835938%209.58594C1.58594%207.68316%202.79427%206.16566%204.46094%205.03344C6.1276%203.90177%207.97483%203.33594%2010.0026%203.33594C12.0304%203.33594%2013.8776%203.90177%2015.5443%205.03344C17.2109%206.16566%2018.4193%207.68316%2019.1693%209.58594C18.4193%2011.4887%2017.2109%2013.0059%2015.5443%2014.1376C13.8776%2015.2698%2012.0304%2015.8359%2010.0026%2015.8359ZM10.0026%2014.1693C11.572%2014.1693%2013.0132%2013.7559%2014.3259%2012.9293C15.6382%2012.1032%2016.6415%2010.9887%2017.3359%209.58594C16.6415%208.18316%2015.6382%207.06844%2014.3259%206.24177C13.0132%205.41566%2011.572%205.0026%2010.0026%205.0026C8.43316%205.0026%206.99205%205.41566%205.67927%206.24177C4.36705%207.06844%203.36372%208.18316%202.66927%209.58594C3.36372%2010.9887%204.36705%2012.1032%205.67927%2012.9293C6.99205%2013.7559%208.43316%2014.1693%2010.0026%2014.1693Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/svg%3e", it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28
28
|
__proto__: null,
|
|
29
|
-
default:
|
|
30
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
29
|
+
default: rt
|
|
30
|
+
}, Symbol.toStringTag, { value: "Module" })), st = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4705_71805'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4705_71805)'%3e%3cpath%20d='M13.4193%2011.0859L12.2109%209.8776C12.3359%209.22483%2012.1484%208.61372%2011.6484%208.04427C11.1484%207.47483%2010.5026%207.2526%209.71094%207.3776L8.5026%206.16927C8.73872%206.05816%208.9783%205.97483%209.22135%205.91927C9.46441%205.86372%209.72483%205.83594%2010.0026%205.83594C11.0443%205.83594%2011.9297%206.20052%2012.6589%206.92969C13.388%207.65885%2013.7526%208.54427%2013.7526%209.58594C13.7526%209.86372%2013.7248%2010.1241%2013.6693%2010.3672C13.6137%2010.6102%2013.5304%2010.8498%2013.4193%2011.0859ZM16.0859%2013.7109L14.8776%2012.5443C15.4054%2012.1415%2015.8741%2011.7005%2016.2839%2011.2214C16.6936%2010.7422%2017.0443%2010.197%2017.3359%209.58594C16.6415%208.18316%2015.645%207.06858%2014.3464%206.24219C13.0477%205.4158%2011.5998%205.0026%2010.0026%205.0026C9.59983%205.0026%209.20399%205.03038%208.8151%205.08594C8.42622%205.14149%208.04427%205.22483%207.66927%205.33594L6.3776%204.04427C6.94705%203.80816%207.53038%203.63108%208.1276%203.51302C8.72483%203.39497%209.34983%203.33594%2010.0026%203.33594C12.0998%203.33594%2013.9679%203.9158%2015.6068%205.07552C17.2457%206.23524%2018.4332%207.73872%2019.1693%209.58594C18.8498%2010.4054%2018.4297%2011.1658%2017.9089%2011.8672C17.388%2012.5686%2016.7804%2013.1832%2016.0859%2013.7109ZM16.5026%2018.8359L13.0026%2015.3776C12.5165%2015.5304%2012.0269%2015.645%2011.5339%2015.7214C11.0408%2015.7977%2010.5304%2015.8359%2010.0026%2015.8359C7.90538%2015.8359%206.03733%2015.2561%204.39844%2014.0964C2.75955%2012.9366%201.57205%2011.4332%200.835938%209.58594C1.1276%208.84983%201.49566%208.1658%201.9401%207.53385C2.38455%206.90191%202.89149%206.33594%203.46094%205.83594L1.16927%203.5026L2.33594%202.33594L17.6693%2017.6693L16.5026%2018.8359ZM4.6276%207.0026C4.22483%207.36372%203.85677%207.75955%203.52344%208.1901C3.1901%208.62066%202.90538%209.08594%202.66927%209.58594C3.36372%2010.9887%204.36024%2012.1033%205.65885%2012.9297C6.95747%2013.7561%208.40538%2014.1693%2010.0026%2014.1693C10.2804%2014.1693%2010.5512%2014.1519%2010.8151%2014.1172C11.079%2014.0825%2011.3498%2014.0443%2011.6276%2014.0026L10.8776%2013.2109C10.7248%2013.2526%2010.579%2013.2839%2010.4401%2013.3047C10.3012%2013.3255%2010.1554%2013.3359%2010.0026%2013.3359C8.96094%2013.3359%208.07552%2012.9714%207.34635%2012.2422C6.61719%2011.513%206.2526%2010.6276%206.2526%209.58594C6.2526%209.43316%206.26302%209.28733%206.28385%209.14844C6.30469%209.00955%206.33594%208.86372%206.3776%208.71094L4.6276%207.0026Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/svg%3e", at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31
31
|
__proto__: null,
|
|
32
|
-
default:
|
|
33
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
32
|
+
default: st
|
|
33
|
+
}, Symbol.toStringTag, { value: "Module" })), Se = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2451_26188)'%3e%3cpath%20d='M12%202C6.48%202%202%206.48%202%2012C2%2017.52%206.48%2022%2012%2022C17.52%2022%2022%2017.52%2022%2012C22%206.48%2017.52%202%2012%202ZM10%2017L5%2012L6.41%2010.59L10%2014.17L17.59%206.58L19%208L10%2017Z'%20fill='%2384BC3B'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2451_26188'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34
34
|
__proto__: null,
|
|
35
|
-
default:
|
|
36
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
35
|
+
default: Se
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), ue = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4568_73894'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4568_73894)'%3e%3cpath%20d='M10%2012.8151L5%207.8151L6.16667%206.64844L10%2010.4818L13.8333%206.64844L15%207.8151L10%2012.8151Z'%20fill='%23979797'/%3e%3c/g%3e%3c/svg%3e", dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37
37
|
__proto__: null,
|
|
38
|
-
default:
|
|
39
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
38
|
+
default: ue
|
|
39
|
+
}, Symbol.toStringTag, { value: "Module" })), ye = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4130_71343'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20y='20'%20width='20'%20height='20'%20transform='rotate(-90%200%2020)'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4130_71343)'%3e%3cpath%20d='M12.8112%2010L7.8112%2015L6.64453%2013.8333L10.4779%2010L6.64453%206.16667L7.8112%205L12.8112%2010Z'%20fill='%23979797'/%3e%3c/g%3e%3c/svg%3e", ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
40
40
|
__proto__: null,
|
|
41
|
-
default:
|
|
42
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
41
|
+
default: ye
|
|
42
|
+
}, Symbol.toStringTag, { value: "Module" })), ce = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2451_26209)'%3e%3cpath%20d='M12%202C6.48%202%202%206.48%202%2012C2%2017.52%206.48%2022%2012%2022C17.52%2022%2022%2017.52%2022%2012C22%206.48%2017.52%202%2012%202ZM13%2017H11V11H13V17ZM13%209H11V7H13V9Z'%20fill='%233498DB'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2451_26209'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
43
43
|
__proto__: null,
|
|
44
|
-
default:
|
|
45
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
44
|
+
default: ce
|
|
45
|
+
}, Symbol.toStringTag, { value: "Module" })), Ie = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4655_66375'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='16'%20height='16'%3e%3crect%20width='16'%20height='16'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4655_66375)'%3e%3cpath%20d='M5.5987%2011.3359L7.9987%208.93594L10.3987%2011.3359L11.332%2010.4026L8.93203%208.0026L11.332%205.6026L10.3987%204.66927L7.9987%207.06927L5.5987%204.66927L4.66536%205.6026L7.06536%208.0026L4.66536%2010.4026L5.5987%2011.3359ZM7.9987%2014.6693C7.07648%2014.6693%206.20981%2014.4943%205.3987%2014.1443C4.58759%2013.7943%203.88203%2013.3193%203.28203%2012.7193C2.68203%2012.1193%202.20703%2011.4137%201.85703%2010.6026C1.50703%209.79149%201.33203%208.92483%201.33203%208.0026C1.33203%207.08038%201.50703%206.21372%201.85703%205.4026C2.20703%204.59149%202.68203%203.88594%203.28203%203.28594C3.88203%202.68594%204.58759%202.21094%205.3987%201.86094C6.20981%201.51094%207.07648%201.33594%207.9987%201.33594C8.92092%201.33594%209.78759%201.51094%2010.5987%201.86094C11.4098%202.21094%2012.1154%202.68594%2012.7154%203.28594C13.3154%203.88594%2013.7904%204.59149%2014.1404%205.4026C14.4904%206.21372%2014.6654%207.08038%2014.6654%208.0026C14.6654%208.92483%2014.4904%209.79149%2014.1404%2010.6026C13.7904%2011.4137%2013.3154%2012.1193%2012.7154%2012.7193C12.1154%2013.3193%2011.4098%2013.7943%2010.5987%2014.1443C9.78759%2014.4943%208.92092%2014.6693%207.9987%2014.6693ZM7.9987%2013.3359C9.48759%2013.3359%2010.7487%2012.8193%2011.782%2011.7859C12.8154%2010.7526%2013.332%209.49149%2013.332%208.0026C13.332%206.51372%2012.8154%205.2526%2011.782%204.21927C10.7487%203.18594%209.48759%202.66927%207.9987%202.66927C6.50981%202.66927%205.2487%203.18594%204.21536%204.21927C3.18203%205.2526%202.66536%206.51372%202.66536%208.0026C2.66536%209.49149%203.18203%2010.7526%204.21536%2011.7859C5.2487%2012.8193%206.50981%2013.3359%207.9987%2013.3359Z'%20fill='%23555555'/%3e%3c/g%3e%3c/svg%3e", _t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
46
46
|
__proto__: null,
|
|
47
|
-
default:
|
|
48
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
47
|
+
default: Ie
|
|
48
|
+
}, Symbol.toStringTag, { value: "Module" })), Le = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2557_13935)'%3e%3cpath%20d='M15.8332%205.33906L14.6582%204.16406L9.99984%208.8224L5.3415%204.16406L4.1665%205.33906L8.82484%209.9974L4.1665%2014.6557L5.3415%2015.8307L9.99984%2011.1724L14.6582%2015.8307L15.8332%2014.6557L11.1748%209.9974L15.8332%205.33906Z'%20fill='%23292929'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2557_13935'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
49
49
|
__proto__: null,
|
|
50
|
-
default:
|
|
51
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
50
|
+
default: Le
|
|
51
|
+
}, Symbol.toStringTag, { value: "Module" })), Me = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2451_26202)'%3e%3cpath%20d='M12%202C6.47%202%202%206.47%202%2012C2%2017.53%206.47%2022%2012%2022C17.53%2022%2022%2017.53%2022%2012C22%206.47%2017.53%202%2012%202ZM17%2015.59L15.59%2017L12%2013.41L8.41%2017L7%2015.59L10.59%2012L7%208.41L8.41%207L12%2010.59L15.59%207L17%208.41L13.41%2012L17%2015.59Z'%20fill='%23DE583F'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2451_26202'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
52
52
|
__proto__: null,
|
|
53
|
-
default:
|
|
54
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
53
|
+
default: Me
|
|
54
|
+
}, Symbol.toStringTag, { value: "Module" })), De = "data:image/svg+xml,%3csvg%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='50'%20cy='50'%20r='47'%20stroke='%23DE583F'%20stroke-width='6'/%3e%3cmask%20id='path-2-inside-1_7096_72851'%20fill='white'%3e%3cpath%20d='M67.6%2070C68.9255%2070%2070.0149%2068.9217%2069.8562%2067.6057C69.6386%2065.8017%2069.1758%2064.032%2068.4776%2062.3463C67.4725%2059.9198%2065.9993%2057.715%2064.1421%2055.8579C62.285%2054.0007%2060.0802%2052.5275%2057.6537%2051.5224C55.2272%2050.5173%2052.6264%2050%2050%2050C47.3736%2050%2044.7728%2050.5173%2042.3463%2051.5224C39.9198%2052.5275%2037.715%2054.0007%2035.8579%2055.8579C34.0007%2057.715%2032.5275%2059.9198%2031.5224%2062.3463C30.8242%2064.032%2030.3614%2065.8017%2030.1438%2067.6057C29.9851%2068.9217%2031.0745%2070%2032.4%2070C33.7255%2070%2034.7807%2068.9189%2034.9891%2067.6099C35.1759%2066.4364%2035.5002%2065.2861%2035.957%2064.1832C36.7209%2062.3391%2037.8405%2060.6634%2039.252%2059.252C40.6634%2057.8405%2042.3391%2056.7209%2044.1832%2055.957C46.0274%2055.1932%2048.0039%2054.8%2050%2054.8C51.9961%2054.8%2053.9726%2055.1932%2055.8168%2055.957C57.6609%2056.7209%2059.3366%2057.8405%2060.748%2059.252C62.1595%2060.6634%2063.2791%2062.3391%2064.043%2064.1832C64.4998%2065.2861%2064.8241%2066.4364%2065.0109%2067.6099C65.2193%2068.9189%2066.2745%2070%2067.6%2070Z'/%3e%3c/mask%3e%3cpath%20d='M67.6%2070C68.9255%2070%2070.0149%2068.9217%2069.8562%2067.6057C69.6386%2065.8017%2069.1758%2064.032%2068.4776%2062.3463C67.4725%2059.9198%2065.9993%2057.715%2064.1421%2055.8579C62.285%2054.0007%2060.0802%2052.5275%2057.6537%2051.5224C55.2272%2050.5173%2052.6264%2050%2050%2050C47.3736%2050%2044.7728%2050.5173%2042.3463%2051.5224C39.9198%2052.5275%2037.715%2054.0007%2035.8579%2055.8579C34.0007%2057.715%2032.5275%2059.9198%2031.5224%2062.3463C30.8242%2064.032%2030.3614%2065.8017%2030.1438%2067.6057C29.9851%2068.9217%2031.0745%2070%2032.4%2070C33.7255%2070%2034.7807%2068.9189%2034.9891%2067.6099C35.1759%2066.4364%2035.5002%2065.2861%2035.957%2064.1832C36.7209%2062.3391%2037.8405%2060.6634%2039.252%2059.252C40.6634%2057.8405%2042.3391%2056.7209%2044.1832%2055.957C46.0274%2055.1932%2048.0039%2054.8%2050%2054.8C51.9961%2054.8%2053.9726%2055.1932%2055.8168%2055.957C57.6609%2056.7209%2059.3366%2057.8405%2060.748%2059.252C62.1595%2060.6634%2063.2791%2062.3391%2064.043%2064.1832C64.4998%2065.2861%2064.8241%2066.4364%2065.0109%2067.6099C65.2193%2068.9189%2066.2745%2070%2067.6%2070Z'%20stroke='%23DE583F'%20stroke-width='24'%20mask='url(%23path-2-inside-1_7096_72851)'/%3e%3ccircle%20cx='27'%20cy='35'%20r='7'%20fill='%23DE583F'/%3e%3ccircle%20cx='73'%20cy='35'%20r='7'%20fill='%23DE583F'/%3e%3c/svg%3e", mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
55
55
|
__proto__: null,
|
|
56
|
-
default:
|
|
57
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
56
|
+
default: De
|
|
57
|
+
}, Symbol.toStringTag, { value: "Module" })), Oe = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4479_76907'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3crect%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4479_76907)'%3e%3cpath%20d='M10%2012.8151L5%207.8151L6.16667%206.64844L10%2010.4818L13.8333%206.64844L15%207.8151L10%2012.8151Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
58
58
|
__proto__: null,
|
|
59
|
-
default:
|
|
60
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
59
|
+
default: Oe
|
|
60
|
+
}, Symbol.toStringTag, { value: "Module" })), Ee = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1771_11330)'%3e%3cpath%20d='M1%2021H23L12%202L1%2021ZM13%2018H11V16H13V18ZM13%2014H11V10H13V14Z'%20fill='%23E0961E'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1771_11330'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
61
61
|
__proto__: null,
|
|
62
|
-
default:
|
|
63
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
64
|
-
const
|
|
65
|
-
for (const [
|
|
66
|
-
|
|
67
|
-
return
|
|
68
|
-
},
|
|
62
|
+
default: Ee
|
|
63
|
+
}, Symbol.toStringTag, { value: "Module" })), A = (e, o) => {
|
|
64
|
+
const t = e.__vccOpts || e;
|
|
65
|
+
for (const [i, r] of o)
|
|
66
|
+
t[i] = r;
|
|
67
|
+
return t;
|
|
68
|
+
}, wt = {
|
|
69
69
|
props: {
|
|
70
70
|
content: String,
|
|
71
71
|
build_in_theme: {
|
|
@@ -103,7 +103,7 @@ const q = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200
|
|
|
103
103
|
},
|
|
104
104
|
computed: {
|
|
105
105
|
alert_icon_src() {
|
|
106
|
-
return this.customized_alert_icon_src ? this.customized_alert_icon_src : this.build_in_theme == "blue" ?
|
|
106
|
+
return this.customized_alert_icon_src ? this.customized_alert_icon_src : this.build_in_theme == "blue" ? ce : this.build_in_theme == "yellow" ? Ee : this.build_in_theme == "red" ? Me : this.build_in_theme == "green" ? Se : ce;
|
|
107
107
|
},
|
|
108
108
|
theme_class() {
|
|
109
109
|
return this.build_in_theme;
|
|
@@ -118,70 +118,70 @@ const q = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200
|
|
|
118
118
|
},
|
|
119
119
|
manuallyClose() {
|
|
120
120
|
if (this.$emit("close", this.$el), this.mounted_programmatically) {
|
|
121
|
-
const
|
|
122
|
-
if (
|
|
123
|
-
|
|
121
|
+
const o = this.$el ? this.$el.parentElement : null;
|
|
122
|
+
if (o) {
|
|
123
|
+
o.remove();
|
|
124
124
|
var e = this.$attrs.notification_instances_collection[this.$attrs.id];
|
|
125
125
|
e.unmount(), e._container = null, e = null, delete this.$attrs.notification_instances_collection[this.$attrs.id];
|
|
126
126
|
}
|
|
127
|
-
const
|
|
128
|
-
|
|
127
|
+
const t = document.getElementById("floating-notifications-container");
|
|
128
|
+
t && t.children.length === 0 && t.remove();
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
},
|
|
132
|
+
}, vt = { class: "prefix-icon-container" }, bt = ["src"], gt = { class: "notifiction-text" }, Ct = { class: "content-wrapper" }, Nt = {
|
|
133
133
|
key: 0,
|
|
134
134
|
class: "title"
|
|
135
|
-
},
|
|
135
|
+
}, kt = {
|
|
136
136
|
key: 0,
|
|
137
137
|
class: "content-details"
|
|
138
|
-
},
|
|
139
|
-
function
|
|
140
|
-
return
|
|
141
|
-
class:
|
|
138
|
+
}, Bt = ["innerHTML"], xt = { class: "close-btn-container" };
|
|
139
|
+
function Tt(e, o, t, i, r, n) {
|
|
140
|
+
return a(), l("div", {
|
|
141
|
+
class: h([
|
|
142
142
|
"simplified-notification",
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
n.theme_class,
|
|
144
|
+
t.customized_class
|
|
145
145
|
])
|
|
146
146
|
}, [
|
|
147
|
-
u("div",
|
|
147
|
+
u("div", vt, [
|
|
148
148
|
u("img", {
|
|
149
|
-
src:
|
|
149
|
+
src: n.alert_icon_src,
|
|
150
150
|
class: "prefix_icon"
|
|
151
|
-
}, null, 8,
|
|
151
|
+
}, null, 8, bt)
|
|
152
152
|
]),
|
|
153
|
-
u("div",
|
|
154
|
-
u("div",
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
u("div", { innerHTML:
|
|
159
|
-
])) :
|
|
153
|
+
u("div", gt, [
|
|
154
|
+
u("div", Ct, [
|
|
155
|
+
t.title ? (a(), l("div", Nt, L(t.title), 1)) : m("", !0),
|
|
156
|
+
D(e.$slots, "content", {}, () => [
|
|
157
|
+
t.content ? (a(), l("div", kt, [
|
|
158
|
+
u("div", { innerHTML: t.content }, null, 8, Bt)
|
|
159
|
+
])) : m("", !0)
|
|
160
160
|
], !0)
|
|
161
161
|
])
|
|
162
162
|
]),
|
|
163
|
-
u("div",
|
|
164
|
-
|
|
163
|
+
u("div", xt, [
|
|
164
|
+
t.with_close_btn ? (a(), l("img", {
|
|
165
165
|
key: 0,
|
|
166
|
-
src:
|
|
166
|
+
src: Le,
|
|
167
167
|
class: "close-btn",
|
|
168
|
-
onClick:
|
|
169
|
-
})) :
|
|
168
|
+
onClick: o[0] || (o[0] = (...d) => n.manuallyClose && n.manuallyClose(...d))
|
|
169
|
+
})) : m("", !0)
|
|
170
170
|
])
|
|
171
171
|
], 2);
|
|
172
172
|
}
|
|
173
|
-
const
|
|
174
|
-
function
|
|
175
|
-
const e =
|
|
176
|
-
e.value = window.innerWidth,
|
|
173
|
+
const ze = /* @__PURE__ */ A(wt, [["render", Tt], ["__scopeId", "data-v-b9afac50"]]);
|
|
174
|
+
function le() {
|
|
175
|
+
const e = x(typeof window < "u" ? window.innerWidth : 0), o = x(typeof window < "u" ? window.innerHeight : 0), t = () => {
|
|
176
|
+
e.value = window.innerWidth, o.value = window.innerHeight;
|
|
177
177
|
};
|
|
178
|
-
return
|
|
179
|
-
|
|
180
|
-
}),
|
|
181
|
-
window.removeEventListener("resize",
|
|
182
|
-
}), { width: e, height:
|
|
178
|
+
return _e(() => {
|
|
179
|
+
t(), window.addEventListener("resize", t);
|
|
180
|
+
}), ke(() => {
|
|
181
|
+
window.removeEventListener("resize", t);
|
|
182
|
+
}), { width: e, height: o };
|
|
183
183
|
}
|
|
184
|
-
const
|
|
184
|
+
const St = {
|
|
185
185
|
name: "ResponsiveButton",
|
|
186
186
|
// for recognizing itself when it calls itself inside the component
|
|
187
187
|
inheritAttrs: !1,
|
|
@@ -235,7 +235,7 @@ const mt = {
|
|
|
235
235
|
!this.is_dropdown_option && this.has_dropdown && document.removeEventListener("click", (e) => this.closeWhenClickOutsideDropdownButton(e));
|
|
236
236
|
},
|
|
237
237
|
setup() {
|
|
238
|
-
const { width: e } =
|
|
238
|
+
const { width: e } = le();
|
|
239
239
|
return {
|
|
240
240
|
width: e
|
|
241
241
|
};
|
|
@@ -267,7 +267,7 @@ const mt = {
|
|
|
267
267
|
return this.dropdown_options && Array.isArray(this.dropdown_options) && this.dropdown_options.length > 0;
|
|
268
268
|
},
|
|
269
269
|
dynamicDefaultDropdownDownArrow() {
|
|
270
|
-
return this.build_in_theme == "filled-primary" || this.build_in_theme == "filled-secondary" ?
|
|
270
|
+
return this.build_in_theme == "filled-primary" || this.build_in_theme == "filled-secondary" ? Oe : this.build_in_theme == "outlined-secondary" || this.build_in_theme == "text-secondary" ? this.disabled ? ue : xe : this.disabled ? ue : Te;
|
|
271
271
|
},
|
|
272
272
|
web_version() {
|
|
273
273
|
return this.width > 1024;
|
|
@@ -340,10 +340,10 @@ const mt = {
|
|
|
340
340
|
if (this.is_dropdown_option)
|
|
341
341
|
this.$emit("remove-nested-dropdown-history-stack", e);
|
|
342
342
|
else
|
|
343
|
-
for (let
|
|
344
|
-
const
|
|
345
|
-
if (
|
|
346
|
-
this.nested_dropdown_option_button_history_stack.splice(
|
|
343
|
+
for (let o = this.nested_dropdown_option_button_history_stack.length - 1; o >= 0; o--) {
|
|
344
|
+
const t = this.nested_dropdown_option_button_history_stack[o];
|
|
345
|
+
if (t.display_name == e.display_name && JSON.stringify(t.dropdown_options) == JSON.stringify(e.dropdown_options)) {
|
|
346
|
+
this.nested_dropdown_option_button_history_stack.splice(o);
|
|
347
347
|
break;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
@@ -358,25 +358,25 @@ const mt = {
|
|
|
358
358
|
},
|
|
359
359
|
clickNonWebDropdownOption(e) {
|
|
360
360
|
e.disabled || (e.dropdown_options ? setTimeout(() => {
|
|
361
|
-
var
|
|
362
|
-
for (let
|
|
363
|
-
const
|
|
364
|
-
if (
|
|
365
|
-
|
|
361
|
+
var o;
|
|
362
|
+
for (let t = this.nested_dropdown_option_button_history_stack.length - 1; t >= 0; t--) {
|
|
363
|
+
const i = this.nested_dropdown_option_button_history_stack[t];
|
|
364
|
+
if (i.display_name == e.display_name && JSON.stringify(i.dropdown_options) == JSON.stringify(e.dropdown_options)) {
|
|
365
|
+
o = !0, this.nested_dropdown_option_button_history_stack.splice(t);
|
|
366
366
|
break;
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
|
|
369
|
+
o || this.nested_dropdown_option_button_history_stack.push({
|
|
370
370
|
display_name: e.display_name,
|
|
371
371
|
dropdown_options: e.dropdown_options
|
|
372
372
|
});
|
|
373
373
|
}, 50) : (this.$emit("click", e.display_name), this.is_dropdown_visibile = !1));
|
|
374
374
|
},
|
|
375
375
|
calculateDropdownPosition() {
|
|
376
|
-
const e = {},
|
|
377
|
-
if (
|
|
378
|
-
const
|
|
379
|
-
this.is_dropdown_option ? (
|
|
376
|
+
const e = {}, o = this.$refs["responsive-button"], t = this.$refs["responsive-button-dropdown"];
|
|
377
|
+
if (o && t) {
|
|
378
|
+
const i = window.innerWidth, r = window.innerHeight, n = o.getBoundingClientRect(), d = n.right, s = n.bottom, c = n.left, _ = n.width, p = n.height, w = t.getBoundingClientRect(), S = w.height, k = w.width;
|
|
379
|
+
this.is_dropdown_option ? (r - s > S + (this.mobile_version ? 4 : 8) ? e.top = "0px" : e.bottom = "0px", i - d > k + (this.mobile_version ? 4 : 8) ? e.left = _ + 12 + 8 + "px" : e.right = _ + 12 + 8 + "px") : (r - s > S + (this.mobile_version ? 4 : 8) ? e.top = p + (this.mobile_version ? 4 : 8) + "px" : e.bottom = p + (this.mobile_version ? 4 : 8) + "px", i - c > k + (this.mobile_version ? 4 : 8) ? e.left = "0px" : e.right = "0px");
|
|
380
380
|
}
|
|
381
381
|
this.dropdown_position_data = e;
|
|
382
382
|
},
|
|
@@ -389,154 +389,627 @@ const mt = {
|
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
391
|
expose: ["setLoading", "setHold"]
|
|
392
|
-
},
|
|
392
|
+
}, It = { class: "button-content" }, Lt = {
|
|
393
393
|
key: 0,
|
|
394
394
|
class: "prefix-wrapper"
|
|
395
|
-
},
|
|
395
|
+
}, Mt = {
|
|
396
396
|
key: 1,
|
|
397
397
|
class: "button-name"
|
|
398
|
-
},
|
|
398
|
+
}, Dt = {
|
|
399
399
|
key: 2,
|
|
400
400
|
class: "suffix-wrapper"
|
|
401
|
-
},
|
|
401
|
+
}, Ot = {
|
|
402
402
|
key: 3,
|
|
403
403
|
class: "outest-responsive-dropdown-button-default-suffix suffix-wrapper"
|
|
404
|
-
},
|
|
404
|
+
}, Et = ["src"], zt = {
|
|
405
405
|
key: 0,
|
|
406
406
|
class: "nested-dropdown-default-suffix suffix-wrapper"
|
|
407
|
-
},
|
|
407
|
+
}, At = {
|
|
408
408
|
key: 0,
|
|
409
|
-
src:
|
|
410
|
-
},
|
|
409
|
+
src: ae
|
|
410
|
+
}, Ht = {
|
|
411
411
|
key: 1,
|
|
412
|
-
src:
|
|
413
|
-
},
|
|
412
|
+
src: ye
|
|
413
|
+
}, Pt = ["onClick"], Vt = { class: "non-web-dropdown-option-display-name" }, Zt = {
|
|
414
414
|
key: 0,
|
|
415
415
|
class: "non-web-responsive-nested-dropdown-option-default-suffix suffix-wrapper"
|
|
416
|
-
},
|
|
416
|
+
}, Gt = {
|
|
417
417
|
key: 0,
|
|
418
|
-
src:
|
|
419
|
-
},
|
|
418
|
+
src: ae
|
|
419
|
+
}, Rt = {
|
|
420
420
|
key: 1,
|
|
421
|
-
src:
|
|
421
|
+
src: ye
|
|
422
422
|
};
|
|
423
|
-
function
|
|
424
|
-
const
|
|
425
|
-
return
|
|
426
|
-
class:
|
|
423
|
+
function Ut(e, o, t, i, r, n) {
|
|
424
|
+
const d = re("ResponsiveButton", !0), s = Pe("component-loading");
|
|
425
|
+
return Q((a(), l("div", {
|
|
426
|
+
class: h(["responsive-button-wrapper", t.width_type]),
|
|
427
427
|
ref: "responsive-button-wrapper"
|
|
428
428
|
}, [
|
|
429
429
|
u("div", {
|
|
430
|
-
class:
|
|
430
|
+
class: h([
|
|
431
431
|
"responsive-button",
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
{ disabled:
|
|
435
|
-
{ "no-display-name": !
|
|
436
|
-
{ "has-prefix":
|
|
437
|
-
{ "has-suffix":
|
|
438
|
-
{ held:
|
|
439
|
-
|
|
440
|
-
|
|
432
|
+
t.size,
|
|
433
|
+
t.width_type,
|
|
434
|
+
{ disabled: t.disabled },
|
|
435
|
+
{ "no-display-name": !t.display_name },
|
|
436
|
+
{ "has-prefix": n.has_prefix },
|
|
437
|
+
{ "has-suffix": n.has_suffix },
|
|
438
|
+
{ held: r.is_button_held },
|
|
439
|
+
t.build_in_theme,
|
|
440
|
+
t.customized_class,
|
|
441
441
|
// only works when this button has dropdown
|
|
442
|
-
{ hovered:
|
|
443
|
-
{ focused:
|
|
442
|
+
{ hovered: n.is_dropdown_option_hovered },
|
|
443
|
+
{ focused: n.show_dropdown }
|
|
444
444
|
]),
|
|
445
445
|
ref: "responsive-button",
|
|
446
|
-
onClick:
|
|
447
|
-
onMouseenter:
|
|
446
|
+
onClick: o[0] || (o[0] = (c) => n.handleClick()),
|
|
447
|
+
onMouseenter: o[1] || (o[1] = (c) => n.handleMouseEnterButton())
|
|
448
448
|
}, [
|
|
449
|
-
u("div",
|
|
450
|
-
e.$slots.prefix ? (
|
|
451
|
-
|
|
452
|
-
])) :
|
|
453
|
-
|
|
454
|
-
e.$slots.suffix ? (
|
|
455
|
-
|
|
456
|
-
])) :
|
|
457
|
-
!
|
|
449
|
+
u("div", It, [
|
|
450
|
+
e.$slots.prefix ? (a(), l("div", Lt, [
|
|
451
|
+
D(e.$slots, "prefix", {}, void 0, !0)
|
|
452
|
+
])) : m("", !0),
|
|
453
|
+
t.display_name ? (a(), l("div", Mt, L(t.display_name), 1)) : m("", !0),
|
|
454
|
+
e.$slots.suffix ? (a(), l("div", Dt, [
|
|
455
|
+
D(e.$slots, "suffix", {}, void 0, !0)
|
|
456
|
+
])) : m("", !0),
|
|
457
|
+
!t.is_dropdown_option && n.has_dropdown ? (a(), l("div", Ot, [
|
|
458
458
|
u("img", {
|
|
459
|
-
src:
|
|
460
|
-
class:
|
|
459
|
+
src: n.dynamicDefaultDropdownDownArrow,
|
|
460
|
+
class: h([
|
|
461
461
|
"rotate-0",
|
|
462
|
-
{ "rotate-180":
|
|
462
|
+
{ "rotate-180": n.show_dropdown }
|
|
463
463
|
])
|
|
464
|
-
}, null, 10,
|
|
465
|
-
])) :
|
|
464
|
+
}, null, 10, Et)
|
|
465
|
+
])) : m("", !0)
|
|
466
466
|
]),
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
])) :
|
|
467
|
+
t.is_dropdown_option && n.has_dropdown ? (a(), l("div", zt, [
|
|
468
|
+
t.disabled ? (a(), l("img", Ht)) : (a(), l("img", At))
|
|
469
|
+
])) : m("", !0)
|
|
470
470
|
], 34),
|
|
471
|
-
|
|
471
|
+
n.web_version && n.show_dropdown ? (a(), l("div", {
|
|
472
472
|
key: 0,
|
|
473
473
|
ref: "responsive-button-dropdown",
|
|
474
|
-
class:
|
|
474
|
+
class: h([
|
|
475
475
|
"responsive-button-dropdown",
|
|
476
|
-
{ "sub-dropdown":
|
|
476
|
+
{ "sub-dropdown": t.is_dropdown_option }
|
|
477
477
|
]),
|
|
478
|
-
style:
|
|
478
|
+
style: G(r.dropdown_position_data)
|
|
479
479
|
}, [
|
|
480
|
-
(
|
|
481
|
-
key: `${
|
|
480
|
+
(a(!0), l(ie, null, se(t.dropdown_options, (c) => (a(), P(d, de({
|
|
481
|
+
key: `${t.display_name.replaceAll(" ", "-")}-dropdown-item-${c.display_name.replaceAll(" ", "-")}`,
|
|
482
482
|
ref_for: !0
|
|
483
|
-
},
|
|
483
|
+
}, c, {
|
|
484
484
|
customized_class: "responsive-button-dropdown-option",
|
|
485
485
|
width_type: "fill-whole",
|
|
486
486
|
is_dropdown_option: !0,
|
|
487
|
-
nested_dropdown_option_button_history_stack:
|
|
488
|
-
currently_hovered_dropdown_option_display_name:
|
|
489
|
-
onUpdateCurrentlyHoveredDropdownOption:
|
|
490
|
-
onClick:
|
|
491
|
-
onAddNestedDropdownHistoryStack:
|
|
492
|
-
onRemoveNestedDropdownHistoryStack:
|
|
487
|
+
nested_dropdown_option_button_history_stack: t.is_dropdown_option ? e.$attrs.nested_dropdown_option_button_history_stack : r.nested_dropdown_option_button_history_stack,
|
|
488
|
+
currently_hovered_dropdown_option_display_name: r.currently_hovered_dropdown_option_display_name,
|
|
489
|
+
onUpdateCurrentlyHoveredDropdownOption: o[2] || (o[2] = (_) => n.updateCurrentlyHoveredDropdownOption(_)),
|
|
490
|
+
onClick: o[3] || (o[3] = (_) => n.clickWebDropdownOption(_)),
|
|
491
|
+
onAddNestedDropdownHistoryStack: o[4] || (o[4] = (_) => n.updateNestedDropdownHistoryStack(_)),
|
|
492
|
+
onRemoveNestedDropdownHistoryStack: o[5] || (o[5] = (_) => n.removeNestedDropdownHistoryStack(_))
|
|
493
493
|
}), null, 16, ["nested_dropdown_option_button_history_stack", "currently_hovered_dropdown_option_display_name"]))), 128))
|
|
494
|
-
], 6)) : !
|
|
494
|
+
], 6)) : !n.web_version && n.show_dropdown ? (a(), l("div", {
|
|
495
495
|
key: 1,
|
|
496
496
|
ref: "responsive-button-dropdown",
|
|
497
|
-
class:
|
|
497
|
+
class: h([
|
|
498
498
|
"responsive-button-dropdown",
|
|
499
|
-
{ "sub-dropdown":
|
|
499
|
+
{ "sub-dropdown": t.is_dropdown_option }
|
|
500
500
|
]),
|
|
501
|
-
style:
|
|
501
|
+
style: G(r.dropdown_position_data)
|
|
502
502
|
}, [
|
|
503
|
-
|
|
503
|
+
n.non_web_version_nested_dropdown_option_shown ? (a(), l("div", {
|
|
504
504
|
key: 0,
|
|
505
505
|
class: "non-web-responsive-button-nested-dropdown-button",
|
|
506
|
-
onClick:
|
|
507
|
-
display_name:
|
|
508
|
-
dropdown_options:
|
|
506
|
+
onClick: o[6] || (o[6] = (c) => n.nonWebRemoveNestedDropdownHistoryStack({
|
|
507
|
+
display_name: n.non_web_version_nested_dropdown_option_shown,
|
|
508
|
+
dropdown_options: n.non_web_version_dropdown_options
|
|
509
509
|
}))
|
|
510
510
|
}, [
|
|
511
|
-
|
|
511
|
+
o[7] || (o[7] = u("div", { class: "non-web-responsive-nested-dropdown-button-default-prefeix prefix-wrapper" }, [
|
|
512
512
|
u("img", {
|
|
513
|
-
src:
|
|
513
|
+
src: ae,
|
|
514
514
|
class: "rotate-180"
|
|
515
515
|
})
|
|
516
516
|
], -1)),
|
|
517
|
-
u("div", null,
|
|
518
|
-
])) :
|
|
519
|
-
(
|
|
520
|
-
key: `${
|
|
521
|
-
class:
|
|
522
|
-
onClick: (
|
|
517
|
+
u("div", null, L(n.non_web_version_nested_dropdown_option_shown), 1)
|
|
518
|
+
])) : m("", !0),
|
|
519
|
+
(a(!0), l(ie, null, se(n.non_web_version_dropdown_options, (c) => (a(), l("div", {
|
|
520
|
+
key: `${t.display_name.replaceAll(" ", "-")}-dropdown-item-${c.display_name.replaceAll(" ", "-")}`,
|
|
521
|
+
class: h(["non-web-responsive-button-dropdown-option", { disabled: c.disabled }]),
|
|
522
|
+
onClick: (_) => n.clickNonWebDropdownOption(c)
|
|
523
523
|
}, [
|
|
524
|
-
u("div",
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
])) :
|
|
528
|
-
], 10,
|
|
529
|
-
], 6)) :
|
|
524
|
+
u("div", Vt, L(c.display_name), 1),
|
|
525
|
+
c.dropdown_options ? (a(), l("div", Zt, [
|
|
526
|
+
c.disabled ? (a(), l("img", Rt)) : (a(), l("img", Gt))
|
|
527
|
+
])) : m("", !0)
|
|
528
|
+
], 10, Pt))), 128))
|
|
529
|
+
], 6)) : m("", !0)
|
|
530
530
|
], 2)), [
|
|
531
|
-
[
|
|
531
|
+
[s, r.loading]
|
|
532
532
|
]);
|
|
533
533
|
}
|
|
534
|
-
const
|
|
534
|
+
const Ft = /* @__PURE__ */ A(St, [["render", Ut], ["__scopeId", "data-v-b993e836"]]);
|
|
535
|
+
function Z(e, o, t) {
|
|
536
|
+
return Math.min(Math.max(e, o), t);
|
|
537
|
+
}
|
|
538
|
+
function q(e, o = 2) {
|
|
539
|
+
const t = Math.pow(10, o);
|
|
540
|
+
return Math.round(e * t) / t;
|
|
541
|
+
}
|
|
542
|
+
function jt(e) {
|
|
543
|
+
let o = e.replace(/^#/, "").trim();
|
|
544
|
+
if (![3, 4, 6, 8].includes(o.length)) return null;
|
|
545
|
+
(o.length === 3 || o.length === 4) && (o = o.split("").map((s) => s + s).join(""));
|
|
546
|
+
const t = o.length === 8, i = parseInt(o.slice(0, 2), 16), r = parseInt(o.slice(2, 4), 16), n = parseInt(o.slice(4, 6), 16), d = t ? parseInt(o.slice(6, 8), 16) / 255 : 1;
|
|
547
|
+
return { r: i, g: r, b: n, a: d };
|
|
548
|
+
}
|
|
549
|
+
function we(e) {
|
|
550
|
+
const t = e.replace(/\s+/g, "").match(/^rgba?\(([^)]+)\)$/i);
|
|
551
|
+
if (!t) return null;
|
|
552
|
+
const i = t[1].split(",");
|
|
553
|
+
if (i.length < 3) return null;
|
|
554
|
+
const r = (_) => _.endsWith("%") ? Z(parseFloat(_) / 100 * 255, 0, 255) : Z(parseFloat(_), 0, 255), n = r(i[0]), d = r(i[1]), s = r(i[2]);
|
|
555
|
+
let c = 1;
|
|
556
|
+
if (i[3] != null) {
|
|
557
|
+
const _ = i[3];
|
|
558
|
+
c = _.endsWith("%") ? Z(parseFloat(_) / 100, 0, 1) : Z(parseFloat(_), 0, 1);
|
|
559
|
+
}
|
|
560
|
+
return [n, d, s].some((_) => Number.isNaN(_)) ? null : { r: n, g: d, b: s, a: c };
|
|
561
|
+
}
|
|
562
|
+
function $t(e) {
|
|
563
|
+
const t = e.replace(/\s+/g, "").match(/^hsla?\(([^)]+)\)$/i);
|
|
564
|
+
if (!t) return null;
|
|
565
|
+
const i = t[1].split(",");
|
|
566
|
+
if (i.length < 3) return null;
|
|
567
|
+
const r = parseFloat(i[0]), n = parseFloat(i[1]), d = parseFloat(i[2]);
|
|
568
|
+
let s = 1;
|
|
569
|
+
if (i[3] != null) {
|
|
570
|
+
const c = i[3];
|
|
571
|
+
s = c.endsWith("%") ? Z(parseFloat(c) / 100, 0, 1) : Z(parseFloat(c), 0, 1);
|
|
572
|
+
}
|
|
573
|
+
return [r, n, d].some((c) => Number.isNaN(c)) ? null : Wt({ h: r, s: n, l: d, a: s });
|
|
574
|
+
}
|
|
575
|
+
function ne({ r: e, g: o, b: t, a: i = 1 }) {
|
|
576
|
+
const r = e / 255, n = o / 255, d = t / 255, s = Math.max(r, n, d), c = Math.min(r, n, d);
|
|
577
|
+
let _ = 0, p = 0;
|
|
578
|
+
const w = (s + c) / 2;
|
|
579
|
+
if (s !== c) {
|
|
580
|
+
const S = s - c;
|
|
581
|
+
switch (p = w > 0.5 ? S / (2 - s - c) : S / (s + c), s) {
|
|
582
|
+
case r:
|
|
583
|
+
_ = (n - d) / S + (n < d ? 6 : 0);
|
|
584
|
+
break;
|
|
585
|
+
case n:
|
|
586
|
+
_ = (d - r) / S + 2;
|
|
587
|
+
break;
|
|
588
|
+
case d:
|
|
589
|
+
_ = (r - n) / S + 4;
|
|
590
|
+
break;
|
|
591
|
+
}
|
|
592
|
+
_ /= 6;
|
|
593
|
+
}
|
|
594
|
+
return { h: q(_ * 360, 2), s: q(p * 100, 2), l: q(w * 100, 2), a: q(i, 3) };
|
|
595
|
+
}
|
|
596
|
+
function Wt({ h: e, s: o, l: t, a: i = 1 }) {
|
|
597
|
+
const r = (e % 360 + 360) % 360 / 360, n = Z(o / 100, 0, 1), d = Z(t / 100, 0, 1);
|
|
598
|
+
if (n === 0) {
|
|
599
|
+
const k = Math.round(d * 255);
|
|
600
|
+
return { r: k, g: k, b: k, a: i };
|
|
601
|
+
}
|
|
602
|
+
const s = d < 0.5 ? d * (1 + n) : d + n - d * n, c = 2 * d - s, _ = (k, M, v) => (v < 0 && (v += 1), v > 1 && (v -= 1), v < 1 / 6 ? k + (M - k) * 6 * v : v < 1 / 2 ? M : v < 2 / 3 ? k + (M - k) * (2 / 3 - v) * 6 : k), p = Math.round(_(c, s, r + 1 / 3) * 255), w = Math.round(_(c, s, r) * 255), S = Math.round(_(c, s, r - 1 / 3) * 255);
|
|
603
|
+
return { r: p, g: w, b: S, a: i };
|
|
604
|
+
}
|
|
605
|
+
function Kt(e) {
|
|
606
|
+
if (typeof document > "u") return null;
|
|
607
|
+
const o = document.createElement("span");
|
|
608
|
+
o.style.color = e, o.style.position = "fixed", o.style.left = "-9999px", o.style.top = "-9999px", document.body.appendChild(o);
|
|
609
|
+
const t = getComputedStyle(o).color;
|
|
610
|
+
return document.body.removeChild(o), t;
|
|
611
|
+
}
|
|
612
|
+
function B(e) {
|
|
613
|
+
if (!e || typeof e != "string")
|
|
614
|
+
throw new Error("parseColorToHsl(color): color must be a non-empty string");
|
|
615
|
+
const o = e.trim();
|
|
616
|
+
if (o.startsWith("#")) {
|
|
617
|
+
const i = jt(o);
|
|
618
|
+
if (i) return ne(i);
|
|
619
|
+
}
|
|
620
|
+
if (/^rgba?\(/i.test(o)) {
|
|
621
|
+
const i = we(o);
|
|
622
|
+
if (i) return ne(i);
|
|
623
|
+
}
|
|
624
|
+
if (/^hsla?\(/i.test(o)) {
|
|
625
|
+
const i = $t(o);
|
|
626
|
+
if (i) return ne(i);
|
|
627
|
+
}
|
|
628
|
+
const t = Kt(o);
|
|
629
|
+
if (t) {
|
|
630
|
+
const i = we(t);
|
|
631
|
+
if (i) return ne(i);
|
|
632
|
+
}
|
|
633
|
+
throw new Error(`parseColorToHsl: Unable to parse color "${e}"`);
|
|
634
|
+
}
|
|
635
|
+
function F(e, o = {}) {
|
|
636
|
+
const { h: t, s: i, l: r } = e, n = e.a == null ? 1 : e.a, d = o.modern === !0, s = Math.round((t % 360 + 360) % 360), c = Math.round(Z(i, 0, 100)), _ = Math.round(Z(r, 0, 100)), p = Z(n, 0, 1);
|
|
637
|
+
return d ? p < 1 ? `hsl(${s} ${c}% ${_}% / ${q(p, 3)})` : `hsl(${s} ${c}% ${_}%)` : p < 1 ? `hsla(${s}, ${c}%, ${_}%, ${q(p, 3)})` : `hsl(${s}, ${c}%, ${_}%)`;
|
|
638
|
+
}
|
|
639
|
+
function Jn(e, o) {
|
|
640
|
+
if (typeof e == "string")
|
|
641
|
+
return B(e);
|
|
642
|
+
if (typeof e == "object" && e && "h" in e && "s" in e && "l" in e)
|
|
643
|
+
return e;
|
|
644
|
+
throw new Error("toHsl: invalid input. Provide a CSS color string or an HSL object.");
|
|
645
|
+
}
|
|
646
|
+
const Jt = { class: "dynamic-color-responsive-button-content" }, Yt = ["innerHTML"], qt = ["src"], Qt = { key: 0 }, Xt = ["innerHTML"], eo = ["src"], to = {
|
|
647
|
+
__name: "DynamicColorResponsiveButton",
|
|
648
|
+
props: {
|
|
649
|
+
has_interaction_effect: {
|
|
650
|
+
type: Boolean,
|
|
651
|
+
default: !0
|
|
652
|
+
},
|
|
653
|
+
button_type: {
|
|
654
|
+
type: String,
|
|
655
|
+
// ENUM: filled, outlined, text, elevated
|
|
656
|
+
// 1. filled:
|
|
657
|
+
// Dynamic Color Rules:
|
|
658
|
+
// Theme Color is used as the background color of the button.
|
|
659
|
+
// If the background color in HSL format has a third percentage<=50%(eg. HSL((217, 90%, 30%)), the color of the label, the icon, and the mask of the interaction effect will be HSL(217, 90%, 30%+60%)=>HSL(217, 90%, 90%)
|
|
660
|
+
// If the background color in HSL format has a third percentage> 50%(eg. HSL((217, 90%, 70%)), the color of the label, the icon, and the mask of the interaction effect will be HSL(217, 90%, 70%-60%)=>HSL(217, 90%, 10%)
|
|
661
|
+
// If the calculated HSL's third percentage >= 100%: directly use HSL(0, 0%, 100%)
|
|
662
|
+
// If the calculated HSL's third percentage >= 0%: directly use HSL(0, 0%, 0%)
|
|
663
|
+
// The mask's opacity will be 8%-hover, 10%-focus, 16%-pressed.
|
|
664
|
+
// 2. outlined:
|
|
665
|
+
// Dynamic Color Rules:
|
|
666
|
+
// Theme color is the text/label/icon color of the button.
|
|
667
|
+
// If the theme color, eg. HSL((217, 90%, 30%), the color of the border and the mask of the interaction effect will be HSL(217, 90%, 30%+50%)=>HSL(217, 90%, 80%).
|
|
668
|
+
// If the calculated HSL's third percentage >= 100%: directly use HSL(0, 0%, 100%)
|
|
669
|
+
// The mask's opacity will be 8%-hover, 10%-focus, 16%-pressed.
|
|
670
|
+
// 3. text:
|
|
671
|
+
// Dynamic Color Rules:
|
|
672
|
+
// Theme color is the color of the text/label/icon and the mask of the interaction effect of the button.
|
|
673
|
+
// The background and the border is the transparent.
|
|
674
|
+
// The mask's opacity will be 8%-hover, 10%-focus, 16%-pressed.
|
|
675
|
+
// 4. elevated:
|
|
676
|
+
// NO Dynamic Color Rules. Hardcode as design
|
|
677
|
+
default: "filled"
|
|
678
|
+
},
|
|
679
|
+
button_border_radius: {
|
|
680
|
+
type: String,
|
|
681
|
+
// any valid css border-radius value
|
|
682
|
+
default: "100px"
|
|
683
|
+
},
|
|
684
|
+
built_in_theme: {
|
|
685
|
+
type: String,
|
|
686
|
+
// ENUM: primary, secondary, tertiary, primary-container, secondary-container, tertiary-container
|
|
687
|
+
default: "primary"
|
|
688
|
+
},
|
|
689
|
+
customized_theme_color: {
|
|
690
|
+
type: String,
|
|
691
|
+
default: ""
|
|
692
|
+
},
|
|
693
|
+
customized_class: {
|
|
694
|
+
type: String,
|
|
695
|
+
default: ""
|
|
696
|
+
},
|
|
697
|
+
width_type: {
|
|
698
|
+
type: String,
|
|
699
|
+
// ENUM: fill-whole, fit-content, narrow, wide
|
|
700
|
+
// NOTES:
|
|
701
|
+
// 1. fill-whole: the width of the button will be the width of the parent container
|
|
702
|
+
// 2. fit-content: the width of the button will be the width of the content
|
|
703
|
+
// 3. narrow: ONLY for icon button, the width of the button will be the narrowest possible
|
|
704
|
+
// 4. wide: ONLY for icon button, the width of the button will be the widest possible
|
|
705
|
+
// ICON BUTTON is the button that only has one icon (either prefix or suffix) and no text
|
|
706
|
+
default: "fit-content"
|
|
707
|
+
},
|
|
708
|
+
button_id: {
|
|
709
|
+
type: String,
|
|
710
|
+
// If no button_id is provided, consider display_name as the button_id
|
|
711
|
+
default: ""
|
|
712
|
+
},
|
|
713
|
+
display_name: {
|
|
714
|
+
type: String,
|
|
715
|
+
default: ""
|
|
716
|
+
},
|
|
717
|
+
prefix: {
|
|
718
|
+
type: String,
|
|
719
|
+
default: ""
|
|
720
|
+
},
|
|
721
|
+
suffix: {
|
|
722
|
+
type: String,
|
|
723
|
+
default: ""
|
|
724
|
+
},
|
|
725
|
+
prefix_slot_raw_html_content: {
|
|
726
|
+
type: String,
|
|
727
|
+
default: ""
|
|
728
|
+
},
|
|
729
|
+
suffix_slot_raw_html_content: {
|
|
730
|
+
type: String,
|
|
731
|
+
default: ""
|
|
732
|
+
},
|
|
733
|
+
disabled: {
|
|
734
|
+
type: Boolean,
|
|
735
|
+
default: !1
|
|
736
|
+
},
|
|
737
|
+
size: {
|
|
738
|
+
type: String,
|
|
739
|
+
// ENUM: small, medium, large, xlarge
|
|
740
|
+
// NOTES: the ENUM is the size of the button in web version, we apply responsive rules to make it automatically adapt to mobile version
|
|
741
|
+
// Responsive Rules:
|
|
742
|
+
// Web small (figma size) -> Mobile xsmall (figma size)
|
|
743
|
+
// Web medium (figma size) -> Mobile small (figma size)
|
|
744
|
+
// Web large (figma size) -> Mobile medium (figma size)
|
|
745
|
+
// Web xlarge (figma size) -> Mobile large (figma size)
|
|
746
|
+
default: "small"
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
emits: ["click-button"],
|
|
750
|
+
setup(e, { expose: o, emit: t }) {
|
|
751
|
+
const i = e, r = t, n = x(null), d = x(null), s = x(null), c = x(!1), _ = I(() => !d.value && (n.value && !s.value || !n.value && s.value)), p = I(() => {
|
|
752
|
+
if (i.disabled)
|
|
753
|
+
return _.value ? {
|
|
754
|
+
h: 0,
|
|
755
|
+
s: 0,
|
|
756
|
+
l: 0,
|
|
757
|
+
a: 0
|
|
758
|
+
} : B("var(--disabled-button-background-color--)");
|
|
759
|
+
if (i.button_type === "elevated")
|
|
760
|
+
return {
|
|
761
|
+
h: 226,
|
|
762
|
+
s: 8,
|
|
763
|
+
l: 96,
|
|
764
|
+
a: 100
|
|
765
|
+
};
|
|
766
|
+
if (i.button_type === "text" || i.button_type === "outlined")
|
|
767
|
+
return {
|
|
768
|
+
h: 0,
|
|
769
|
+
s: 0,
|
|
770
|
+
l: 0,
|
|
771
|
+
a: 0
|
|
772
|
+
};
|
|
773
|
+
if (i.customized_theme_color)
|
|
774
|
+
try {
|
|
775
|
+
return B(i.customized_theme_color);
|
|
776
|
+
} catch (y) {
|
|
777
|
+
console.warn((y == null ? void 0 : y.message) ?? "customized theme color is invalid");
|
|
778
|
+
}
|
|
779
|
+
switch (i.built_in_theme) {
|
|
780
|
+
case "primary":
|
|
781
|
+
return B("var(--Schemes-primary)");
|
|
782
|
+
case "secondary":
|
|
783
|
+
return B("var(--Schemes-Secondary)");
|
|
784
|
+
case "tertiary":
|
|
785
|
+
return B("var(--Schemes-Tertiary)");
|
|
786
|
+
case "primary-container":
|
|
787
|
+
return B("var(--Schemes-Primary-Container)");
|
|
788
|
+
case "secondary-container":
|
|
789
|
+
return B("var(--Schemes-Secondary-Container)");
|
|
790
|
+
case "tertiary-container":
|
|
791
|
+
return B("var(--Schemes-Tertiary-Container)");
|
|
792
|
+
default:
|
|
793
|
+
return B("var(--Schemes-primary)");
|
|
794
|
+
}
|
|
795
|
+
}), w = I(() => {
|
|
796
|
+
if (i.disabled)
|
|
797
|
+
return B("var(--disabled-color--)");
|
|
798
|
+
if (i.button_type === "elevated")
|
|
799
|
+
return B("var(--Schemes-primary)");
|
|
800
|
+
if (i.button_type === "text" || i.button_type === "outlined") {
|
|
801
|
+
if (i.customized_theme_color)
|
|
802
|
+
try {
|
|
803
|
+
return B(i.customized_theme_color);
|
|
804
|
+
} catch (y) {
|
|
805
|
+
console.warn((y == null ? void 0 : y.message) ?? "customized theme color is invalid");
|
|
806
|
+
}
|
|
807
|
+
switch (i.built_in_theme) {
|
|
808
|
+
case "primary":
|
|
809
|
+
return B("var(--Schemes-primary)");
|
|
810
|
+
case "secondary":
|
|
811
|
+
return B("var(--Schemes-Secondary)");
|
|
812
|
+
case "tertiary":
|
|
813
|
+
return B("var(--Schemes-Tertiary)");
|
|
814
|
+
case "primary-container":
|
|
815
|
+
return B("var(--Schemes-Primary-Container)");
|
|
816
|
+
case "secondary-container":
|
|
817
|
+
return B("var(--Schemes-Secondary-Container)");
|
|
818
|
+
case "tertiary-container":
|
|
819
|
+
return B("var(--Schemes-Tertiary-Container)");
|
|
820
|
+
default:
|
|
821
|
+
return B("var(--Schemes-primary)");
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
if (p.value.l > 50) {
|
|
825
|
+
const y = p.value.l - 60;
|
|
826
|
+
return y <= 0 ? {
|
|
827
|
+
h: 0,
|
|
828
|
+
s: 0,
|
|
829
|
+
l: 0,
|
|
830
|
+
a: p.value.a
|
|
831
|
+
} : {
|
|
832
|
+
h: p.value.h,
|
|
833
|
+
s: p.value.s,
|
|
834
|
+
l: y,
|
|
835
|
+
a: p.value.a
|
|
836
|
+
};
|
|
837
|
+
} else {
|
|
838
|
+
const y = p.value.l + 60;
|
|
839
|
+
return y >= 100 ? {
|
|
840
|
+
h: 0,
|
|
841
|
+
s: 0,
|
|
842
|
+
l: 100,
|
|
843
|
+
a: p.value.a
|
|
844
|
+
} : {
|
|
845
|
+
h: p.value.h,
|
|
846
|
+
s: p.value.s,
|
|
847
|
+
l: y,
|
|
848
|
+
a: p.value.a
|
|
849
|
+
};
|
|
850
|
+
}
|
|
851
|
+
}), S = I(() => {
|
|
852
|
+
if (i.button_type == "outlined") {
|
|
853
|
+
if (i.disabled)
|
|
854
|
+
return {
|
|
855
|
+
h: 220,
|
|
856
|
+
s: 12,
|
|
857
|
+
l: 80,
|
|
858
|
+
a: 1
|
|
859
|
+
};
|
|
860
|
+
if (w.value.l > 50) {
|
|
861
|
+
const y = w.value.l - 50;
|
|
862
|
+
return y <= 0 ? {
|
|
863
|
+
h: 0,
|
|
864
|
+
s: 0,
|
|
865
|
+
l: 0,
|
|
866
|
+
a: w.value.a
|
|
867
|
+
} : {
|
|
868
|
+
h: w.value.h,
|
|
869
|
+
s: w.value.s,
|
|
870
|
+
l: y,
|
|
871
|
+
a: w.value.a
|
|
872
|
+
};
|
|
873
|
+
} else {
|
|
874
|
+
const y = w.value.l + 50;
|
|
875
|
+
return y >= 100 ? {
|
|
876
|
+
h: 0,
|
|
877
|
+
s: 0,
|
|
878
|
+
l: 100,
|
|
879
|
+
a: w.value.a
|
|
880
|
+
} : {
|
|
881
|
+
h: w.value.h,
|
|
882
|
+
s: w.value.s,
|
|
883
|
+
l: y,
|
|
884
|
+
a: w.value.a
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
return i.button_type == "elevated" ? {
|
|
889
|
+
h: 0,
|
|
890
|
+
s: 0,
|
|
891
|
+
l: 0,
|
|
892
|
+
a: 0
|
|
893
|
+
} : p.value;
|
|
894
|
+
}), k = () => {
|
|
895
|
+
i.disabled || r("click-button", i.button_id ? i.button_id : i.display_name, i.display_name);
|
|
896
|
+
};
|
|
897
|
+
return o({
|
|
898
|
+
handleFocusButton: () => {
|
|
899
|
+
c.value = !0;
|
|
900
|
+
},
|
|
901
|
+
handleBlurButton: () => {
|
|
902
|
+
c.value = !1;
|
|
903
|
+
}
|
|
904
|
+
}), (y, g) => (a(), l("div", {
|
|
905
|
+
class: h([
|
|
906
|
+
"dynamic-color-responsive-button-container",
|
|
907
|
+
{ "has-interaction-effect": e.has_interaction_effect },
|
|
908
|
+
e.size,
|
|
909
|
+
{ disabled: e.disabled },
|
|
910
|
+
e.button_type,
|
|
911
|
+
e.customized_class,
|
|
912
|
+
_.value ? "icon-button" : e.width_type,
|
|
913
|
+
{ narrow: _.value && e.width_type === "narrow" },
|
|
914
|
+
{ wide: _.value && e.width_type === "wide" }
|
|
915
|
+
]),
|
|
916
|
+
style: G({
|
|
917
|
+
"--button-background-color--": U(F)(p.value),
|
|
918
|
+
"--button-text-color--": U(F)(w.value),
|
|
919
|
+
"--button-border-color--": U(F)(S.value, { modern: !0 }),
|
|
920
|
+
"--button-border-radius--": e.button_border_radius
|
|
921
|
+
})
|
|
922
|
+
}, [
|
|
923
|
+
u("div", {
|
|
924
|
+
class: h(["dynamic-color-responsive-button", { focus: c.value }]),
|
|
925
|
+
onClick: k
|
|
926
|
+
}, [
|
|
927
|
+
u("div", Jt, [
|
|
928
|
+
y.$slots.prefix || e.prefix || e.prefix_slot_raw_html_content ? (a(), l("div", {
|
|
929
|
+
key: 0,
|
|
930
|
+
class: "prefix-wrapper",
|
|
931
|
+
ref_key: "prefix_wrapper",
|
|
932
|
+
ref: n
|
|
933
|
+
}, [
|
|
934
|
+
D(y.$slots, "prefix", {}, () => [
|
|
935
|
+
e.prefix_slot_raw_html_content ? (a(), l("div", {
|
|
936
|
+
key: 0,
|
|
937
|
+
class: "prefix-raw-html-slot",
|
|
938
|
+
innerHTML: e.prefix_slot_raw_html_content
|
|
939
|
+
}, null, 8, Yt)) : (a(), l("img", {
|
|
940
|
+
key: 1,
|
|
941
|
+
src: e.prefix
|
|
942
|
+
}, null, 8, qt))
|
|
943
|
+
], !0)
|
|
944
|
+
], 512)) : m("", !0),
|
|
945
|
+
y.$slots.default || e.display_name ? (a(), l("div", {
|
|
946
|
+
key: 1,
|
|
947
|
+
class: "button-name-wrapper",
|
|
948
|
+
ref_key: "button_name_wrapper",
|
|
949
|
+
ref: d
|
|
950
|
+
}, [
|
|
951
|
+
D(y.$slots, "default", {}, () => [
|
|
952
|
+
e.display_name ? (a(), l("div", Qt, L(e.display_name), 1)) : m("", !0)
|
|
953
|
+
], !0)
|
|
954
|
+
], 512)) : m("", !0),
|
|
955
|
+
y.$slots.suffix || e.suffix || e.suffix_slot_raw_html_content ? (a(), l("div", {
|
|
956
|
+
key: 2,
|
|
957
|
+
class: "suffix-wrapper",
|
|
958
|
+
ref_key: "suffix_wrapper",
|
|
959
|
+
ref: s
|
|
960
|
+
}, [
|
|
961
|
+
D(y.$slots, "suffix", {}, () => [
|
|
962
|
+
e.suffix_slot_raw_html_content ? (a(), l("div", {
|
|
963
|
+
key: 0,
|
|
964
|
+
class: "suffix-raw-html-slot",
|
|
965
|
+
innerHTML: e.suffix_slot_raw_html_content
|
|
966
|
+
}, null, 8, Xt)) : (a(), l("img", {
|
|
967
|
+
key: 1,
|
|
968
|
+
src: e.suffix
|
|
969
|
+
}, null, 8, eo))
|
|
970
|
+
], !0)
|
|
971
|
+
], 512)) : m("", !0)
|
|
972
|
+
])
|
|
973
|
+
], 2)
|
|
974
|
+
], 6));
|
|
975
|
+
}
|
|
976
|
+
}, he = /* @__PURE__ */ A(to, [["__scopeId", "data-v-41cc1a6c"]]), oo = {
|
|
977
|
+
components: {
|
|
978
|
+
DynamicColorResponsiveButton: he
|
|
979
|
+
},
|
|
980
|
+
setup() {
|
|
981
|
+
const e = x(null), o = x(null);
|
|
982
|
+
return {
|
|
983
|
+
prefix_wrapper: e,
|
|
984
|
+
suffix_wrapper: o
|
|
985
|
+
};
|
|
986
|
+
},
|
|
535
987
|
props: {
|
|
536
988
|
modelValue: {
|
|
537
989
|
type: [String, Number],
|
|
538
990
|
default: ""
|
|
539
991
|
},
|
|
992
|
+
label: {
|
|
993
|
+
type: String,
|
|
994
|
+
default: ""
|
|
995
|
+
},
|
|
996
|
+
label_type: {
|
|
997
|
+
type: String,
|
|
998
|
+
// ENUM: inside, outside
|
|
999
|
+
// NOTES:
|
|
1000
|
+
// 1. inside: the label will be inside the input box
|
|
1001
|
+
// 2. outside: the label will be outside the input box
|
|
1002
|
+
default: "outside"
|
|
1003
|
+
},
|
|
1004
|
+
theme_type: {
|
|
1005
|
+
type: String,
|
|
1006
|
+
// ENUM: filled, outlined
|
|
1007
|
+
default: "outlined"
|
|
1008
|
+
},
|
|
1009
|
+
customized_theme_color: {
|
|
1010
|
+
type: String,
|
|
1011
|
+
default: ""
|
|
1012
|
+
},
|
|
540
1013
|
type: {
|
|
541
1014
|
//ENUM: all type values of the raw input tag work
|
|
542
1015
|
// some of the values works without using <form></form> and <button type = "submit"></button> are:
|
|
@@ -549,6 +1022,10 @@ const Lt = /* @__PURE__ */ B(mt, [["render", St], ["__scopeId", "data-v-a52df3f1
|
|
|
549
1022
|
type: String,
|
|
550
1023
|
default: "Enter"
|
|
551
1024
|
},
|
|
1025
|
+
required: {
|
|
1026
|
+
type: Boolean,
|
|
1027
|
+
default: !1
|
|
1028
|
+
},
|
|
552
1029
|
clearable: {
|
|
553
1030
|
type: Boolean,
|
|
554
1031
|
default: !1
|
|
@@ -582,6 +1059,27 @@ const Lt = /* @__PURE__ */ B(mt, [["render", St], ["__scopeId", "data-v-a52df3f1
|
|
|
582
1059
|
computed: {
|
|
583
1060
|
show_clear_icon() {
|
|
584
1061
|
return this.clearable && this.value && !this.disabled && (this.hovered || this.is_focus);
|
|
1062
|
+
},
|
|
1063
|
+
has_prefix() {
|
|
1064
|
+
return this.prefix_wrapper;
|
|
1065
|
+
},
|
|
1066
|
+
has_suffix() {
|
|
1067
|
+
return this.suffix_wrapper;
|
|
1068
|
+
},
|
|
1069
|
+
regular_inline_svg_icon_color() {
|
|
1070
|
+
return this.disabled ? "var(--disabled-color--)" : "#434956";
|
|
1071
|
+
},
|
|
1072
|
+
regular_border_color() {
|
|
1073
|
+
return this.disabled ? "var(--disabled-color--)" : this.show_error ? "var(--semantic-error-color--)" : this.show_alert ? "var(--semantic-alert-color--)" : this.is_focus ? this.customized_theme_color || "var(--Schemes-primary)" : this.hovered ? "#17181C" : "#434956";
|
|
1074
|
+
},
|
|
1075
|
+
border_width_in_box_shadow() {
|
|
1076
|
+
return this.is_focus ? this.theme_type == "filled" ? "-3px" : "3px" : this.theme_type == "filled" ? "-1px" : "1px";
|
|
1077
|
+
},
|
|
1078
|
+
background_color() {
|
|
1079
|
+
return this.theme_type == "outlined" ? "transparent" : this.disabled ? "var(--disabled-button-background-color--)" : this.is_focus ? "color-mix(in srgb, #EEEFF1, rgb(23, 24, 28) 10%)" : this.hovered ? "color-mix(in srgb, #EEEFF1, rgb(23, 24, 28) 8%)" : "#EEEFF1";
|
|
1080
|
+
},
|
|
1081
|
+
inside_label_color() {
|
|
1082
|
+
return this.disabled ? "var(--disabled-color--)" : this.show_error ? "var(--semantic-error-color--)" : this.show_alert ? "var(--semantic-alert-color--)" : this.is_focus ? this.customized_theme_color || "var(--Schemes-primary)" : "#434956";
|
|
585
1083
|
}
|
|
586
1084
|
},
|
|
587
1085
|
emits: [
|
|
@@ -636,80 +1134,646 @@ const Lt = /* @__PURE__ */ B(mt, [["render", St], ["__scopeId", "data-v-a52df3f1
|
|
|
636
1134
|
}
|
|
637
1135
|
},
|
|
638
1136
|
expose: ["focus", "blur", "alert", "error", "removeAlertOrErrorEffect"]
|
|
639
|
-
},
|
|
1137
|
+
}, no = {
|
|
640
1138
|
key: 0,
|
|
641
|
-
class: "
|
|
642
|
-
},
|
|
643
|
-
|
|
644
|
-
|
|
1139
|
+
class: "label-outside"
|
|
1140
|
+
}, ro = { class: "label-text" }, io = {
|
|
1141
|
+
key: 0,
|
|
1142
|
+
class: "required-icon"
|
|
1143
|
+
}, so = {
|
|
1144
|
+
key: 0,
|
|
1145
|
+
class: "prefix-wrapper",
|
|
1146
|
+
ref: "prefix_wrapper"
|
|
1147
|
+
}, ao = { class: "input-box-wrapper" }, lo = {
|
|
1148
|
+
key: 0,
|
|
1149
|
+
class: "label-inside"
|
|
1150
|
+
}, uo = { class: "label-text" }, co = {
|
|
1151
|
+
key: 0,
|
|
1152
|
+
class: "required-icon"
|
|
1153
|
+
}, _o = ["disabled", "type", "placeholder", "autocomplete"], yo = {
|
|
1154
|
+
key: 1,
|
|
1155
|
+
class: /* @__PURE__ */ h([
|
|
1156
|
+
"message-container"
|
|
1157
|
+
])
|
|
1158
|
+
}, ho = {
|
|
1159
|
+
key: 0,
|
|
1160
|
+
class: "customized-supporting-text"
|
|
1161
|
+
};
|
|
1162
|
+
function mo(e, o, t, i, r, n) {
|
|
1163
|
+
const d = re("DynamicColorResponsiveButton");
|
|
1164
|
+
return a(), l("div", {
|
|
1165
|
+
class: h([
|
|
1166
|
+
"input-box-unit-wrapper",
|
|
1167
|
+
t.theme_type,
|
|
1168
|
+
t.label_type,
|
|
1169
|
+
{ disabled: t.disabled }
|
|
1170
|
+
]),
|
|
1171
|
+
style: G({
|
|
1172
|
+
"--input-box-border-color--": n.regular_border_color,
|
|
1173
|
+
"--input-box-border-width--": n.border_width_in_box_shadow,
|
|
1174
|
+
"--input-box-background-color--": n.background_color,
|
|
1175
|
+
"--inside-label-color--": n.inside_label_color
|
|
1176
|
+
})
|
|
1177
|
+
}, [
|
|
1178
|
+
t.label && t.label_type == "outside" ? (a(), l("div", no, [
|
|
1179
|
+
u("span", ro, L(t.label), 1),
|
|
1180
|
+
o[5] || (o[5] = X()),
|
|
1181
|
+
t.required ? (a(), l("span", io, "*")) : m("", !0)
|
|
1182
|
+
])) : m("", !0),
|
|
645
1183
|
u("div", {
|
|
646
|
-
class:
|
|
1184
|
+
class: h([
|
|
647
1185
|
"input-box-unit",
|
|
648
|
-
{ "is-focus":
|
|
649
|
-
{ "has-prefix":
|
|
650
|
-
{ "has-suffix":
|
|
651
|
-
{ disabled:
|
|
652
|
-
{ error:
|
|
653
|
-
{ alert:
|
|
1186
|
+
{ "is-focus": r.is_focus },
|
|
1187
|
+
{ "has-prefix": n.has_prefix },
|
|
1188
|
+
{ "has-suffix": n.has_suffix },
|
|
1189
|
+
{ disabled: t.disabled },
|
|
1190
|
+
{ error: r.show_error },
|
|
1191
|
+
{ alert: r.show_alert }
|
|
654
1192
|
]),
|
|
655
1193
|
ref: "input-box-unit",
|
|
656
|
-
onMouseenter:
|
|
657
|
-
onMouseleave:
|
|
658
|
-
onClick:
|
|
1194
|
+
onMouseenter: o[2] || (o[2] = (s) => r.hovered = !0),
|
|
1195
|
+
onMouseleave: o[3] || (o[3] = (s) => r.hovered = !1),
|
|
1196
|
+
onClick: o[4] || (o[4] = (s) => n.handleClickInputBoxUnit(s))
|
|
659
1197
|
}, [
|
|
660
|
-
e.$slots.prefix ? (
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
1198
|
+
e.$slots.prefix ? (a(), l("div", so, [
|
|
1199
|
+
K(d, {
|
|
1200
|
+
has_interaction_effect: !1,
|
|
1201
|
+
button_type: "text",
|
|
1202
|
+
customized_theme_color: n.regular_inline_svg_icon_color,
|
|
1203
|
+
width_type: "fit-content",
|
|
1204
|
+
disabled: t.disabled
|
|
1205
|
+
}, {
|
|
1206
|
+
prefix: V(() => [
|
|
1207
|
+
D(e.$slots, "prefix", {}, void 0, !0)
|
|
1208
|
+
]),
|
|
1209
|
+
_: 3
|
|
1210
|
+
}, 8, ["customized_theme_color", "disabled"])
|
|
1211
|
+
], 512)) : m("", !0),
|
|
1212
|
+
u("div", ao, [
|
|
1213
|
+
t.label && t.label_type == "inside" ? (a(), l("div", lo, [
|
|
1214
|
+
u("span", uo, L(t.label), 1),
|
|
1215
|
+
o[6] || (o[6] = X()),
|
|
1216
|
+
t.required ? (a(), l("span", co, "*")) : m("", !0)
|
|
1217
|
+
])) : m("", !0),
|
|
1218
|
+
Q(u("input", {
|
|
1219
|
+
"onUpdate:modelValue": o[0] || (o[0] = (s) => r.value = s),
|
|
1220
|
+
class: h([
|
|
1221
|
+
"input-box"
|
|
1222
|
+
]),
|
|
1223
|
+
ref: "input-box",
|
|
1224
|
+
disabled: t.disabled,
|
|
1225
|
+
type: t.type,
|
|
1226
|
+
placeholder: t.placeholder,
|
|
1227
|
+
autocomplete: t.autocomplete,
|
|
1228
|
+
onKeydown: o[1] || (o[1] = (s) => n.handleKeydown(s))
|
|
1229
|
+
}, null, 40, _o), [
|
|
1230
|
+
[Ve, r.value]
|
|
1231
|
+
])
|
|
676
1232
|
]),
|
|
677
|
-
e.$slots.suffix ||
|
|
1233
|
+
e.$slots.suffix || n.show_clear_icon || r.show_alert || r.show_error ? (a(), l("div", {
|
|
678
1234
|
key: 1,
|
|
679
|
-
|
|
1235
|
+
ref: "suffix_wrapper",
|
|
1236
|
+
class: h([
|
|
680
1237
|
"suffix-wrapper",
|
|
681
|
-
{ "only-clear-icon":
|
|
682
|
-
{ "with-date-icon":
|
|
1238
|
+
{ "only-clear-icon": n.show_clear_icon && !e.$slots.suffix },
|
|
1239
|
+
{ "with-date-icon": t.type == "date" }
|
|
683
1240
|
])
|
|
684
1241
|
}, [
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
1242
|
+
n.show_clear_icon ? (a(), P(d, {
|
|
1243
|
+
key: 0,
|
|
1244
|
+
button_type: "text",
|
|
1245
|
+
customized_theme_color: n.regular_inline_svg_icon_color,
|
|
1246
|
+
width_type: "fit-content",
|
|
1247
|
+
disabled: t.disabled,
|
|
1248
|
+
onClick: n.handleClearValue
|
|
1249
|
+
}, {
|
|
1250
|
+
prefix: V(() => o[7] || (o[7] = [
|
|
1251
|
+
u("svg", {
|
|
1252
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1253
|
+
width: "17",
|
|
1254
|
+
height: "17",
|
|
1255
|
+
viewBox: "0 0 17 17",
|
|
1256
|
+
fill: "none"
|
|
1257
|
+
}, [
|
|
1258
|
+
u("path", {
|
|
1259
|
+
d: "M5.33333 12.5L8.33333 9.5L11.3333 12.5L12.5 11.3333L9.5 8.33333L12.5 5.33333L11.3333 4.16667L8.33333 7.16667L5.33333 4.16667L4.16667 5.33333L7.16667 8.33333L4.16667 11.3333L5.33333 12.5ZM8.33333 16.6667C7.18056 16.6667 6.09722 16.4479 5.08333 16.0104C4.06944 15.5729 3.1875 14.9792 2.4375 14.2292C1.6875 13.4792 1.09375 12.5972 0.65625 11.5833C0.21875 10.5694 0 9.48611 0 8.33333C0 7.18056 0.21875 6.09722 0.65625 5.08333C1.09375 4.06944 1.6875 3.1875 2.4375 2.4375C3.1875 1.6875 4.06944 1.09375 5.08333 0.65625C6.09722 0.21875 7.18056 0 8.33333 0C9.48611 0 10.5694 0.21875 11.5833 0.65625C12.5972 1.09375 13.4792 1.6875 14.2292 2.4375C14.9792 3.1875 15.5729 4.06944 16.0104 5.08333C16.4479 6.09722 16.6667 7.18056 16.6667 8.33333C16.6667 9.48611 16.4479 10.5694 16.0104 11.5833C15.5729 12.5972 14.9792 13.4792 14.2292 14.2292C13.4792 14.9792 12.5972 15.5729 11.5833 16.0104C10.5694 16.4479 9.48611 16.6667 8.33333 16.6667ZM8.33333 15C10.1944 15 11.7708 14.3542 13.0625 13.0625C14.3542 11.7708 15 10.1944 15 8.33333C15 6.47222 14.3542 4.89583 13.0625 3.60417C11.7708 2.3125 10.1944 1.66667 8.33333 1.66667C6.47222 1.66667 4.89583 2.3125 3.60417 3.60417C2.3125 4.89583 1.66667 6.47222 1.66667 8.33333C1.66667 10.1944 2.3125 11.7708 3.60417 13.0625C4.89583 14.3542 6.47222 15 8.33333 15Z",
|
|
1260
|
+
fill: "currentColor"
|
|
1261
|
+
})
|
|
1262
|
+
], -1)
|
|
1263
|
+
])),
|
|
1264
|
+
_: 1
|
|
1265
|
+
}, 8, ["customized_theme_color", "disabled", "onClick"])) : r.show_error ? (a(), P(d, {
|
|
1266
|
+
key: 1,
|
|
1267
|
+
has_interaction_effect: !1,
|
|
1268
|
+
button_type: "text",
|
|
1269
|
+
customized_theme_color: "var(--semantic-error-color--)",
|
|
1270
|
+
width_type: "fit-content",
|
|
1271
|
+
disabled: t.disabled
|
|
1272
|
+
}, {
|
|
1273
|
+
prefix: V(() => o[8] || (o[8] = [
|
|
1274
|
+
u("svg", {
|
|
1275
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1276
|
+
width: "17",
|
|
1277
|
+
height: "17",
|
|
1278
|
+
viewBox: "0 0 17 17",
|
|
1279
|
+
fill: "none"
|
|
1280
|
+
}, [
|
|
1281
|
+
u("path", {
|
|
1282
|
+
d: "M8.33333 12.5C8.56944 12.5 8.76736 12.4201 8.92708 12.2604C9.08681 12.1007 9.16667 11.9028 9.16667 11.6667C9.16667 11.4306 9.08681 11.2326 8.92708 11.0729C8.76736 10.9132 8.56944 10.8333 8.33333 10.8333C8.09722 10.8333 7.89931 10.9132 7.73958 11.0729C7.57986 11.2326 7.5 11.4306 7.5 11.6667C7.5 11.9028 7.57986 12.1007 7.73958 12.2604C7.89931 12.4201 8.09722 12.5 8.33333 12.5ZM7.5 9.16667H9.16667V4.16667H7.5V9.16667ZM8.33333 16.6667C7.18056 16.6667 6.09722 16.4479 5.08333 16.0104C4.06944 15.5729 3.1875 14.9792 2.4375 14.2292C1.6875 13.4792 1.09375 12.5972 0.65625 11.5833C0.21875 10.5694 0 9.48611 0 8.33333C0 7.18056 0.21875 6.09722 0.65625 5.08333C1.09375 4.06944 1.6875 3.1875 2.4375 2.4375C3.1875 1.6875 4.06944 1.09375 5.08333 0.65625C6.09722 0.21875 7.18056 0 8.33333 0C9.48611 0 10.5694 0.21875 11.5833 0.65625C12.5972 1.09375 13.4792 1.6875 14.2292 2.4375C14.9792 3.1875 15.5729 4.06944 16.0104 5.08333C16.4479 6.09722 16.6667 7.18056 16.6667 8.33333C16.6667 9.48611 16.4479 10.5694 16.0104 11.5833C15.5729 12.5972 14.9792 13.4792 14.2292 14.2292C13.4792 14.9792 12.5972 15.5729 11.5833 16.0104C10.5694 16.4479 9.48611 16.6667 8.33333 16.6667Z",
|
|
1283
|
+
fill: "currentColor"
|
|
1284
|
+
})
|
|
1285
|
+
], -1)
|
|
1286
|
+
])),
|
|
1287
|
+
_: 1
|
|
1288
|
+
}, 8, ["disabled"])) : r.show_alert ? (a(), P(d, {
|
|
1289
|
+
key: 2,
|
|
1290
|
+
has_interaction_effect: !1,
|
|
1291
|
+
button_type: "text",
|
|
1292
|
+
customized_theme_color: "var(--semantic-alert-color--)",
|
|
1293
|
+
width_type: "fit-content",
|
|
1294
|
+
disabled: t.disabled
|
|
1295
|
+
}, {
|
|
1296
|
+
prefix: V(() => o[9] || (o[9] = [
|
|
1297
|
+
u("svg", {
|
|
1298
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1299
|
+
width: "22",
|
|
1300
|
+
height: "19",
|
|
1301
|
+
viewBox: "0 0 22 19",
|
|
1302
|
+
fill: "none"
|
|
1303
|
+
}, [
|
|
1304
|
+
u("path", {
|
|
1305
|
+
d: "M0 19L11 0L22 19H0ZM3.45 17H18.55L11 4L3.45 17ZM11 16C11.2833 16 11.5208 15.9042 11.7125 15.7125C11.9042 15.5208 12 15.2833 12 15C12 14.7167 11.9042 14.4792 11.7125 14.2875C11.5208 14.0958 11.2833 14 11 14C10.7167 14 10.4792 14.0958 10.2875 14.2875C10.0958 14.4792 10 14.7167 10 15C10 15.2833 10.0958 15.5208 10.2875 15.7125C10.4792 15.9042 10.7167 16 11 16ZM10 13H12V8H10V13Z",
|
|
1306
|
+
fill: "currentColor"
|
|
1307
|
+
})
|
|
1308
|
+
], -1)
|
|
1309
|
+
])),
|
|
1310
|
+
_: 1
|
|
1311
|
+
}, 8, ["disabled"])) : m("", !0),
|
|
1312
|
+
e.$slots.suffix ? (a(), P(d, {
|
|
1313
|
+
key: 3,
|
|
1314
|
+
has_interaction_effect: !1,
|
|
1315
|
+
button_type: "text",
|
|
1316
|
+
customized_theme_color: n.regular_inline_svg_icon_color,
|
|
1317
|
+
width_type: "fit-content",
|
|
1318
|
+
disabled: t.disabled
|
|
1319
|
+
}, {
|
|
1320
|
+
prefix: V(() => [
|
|
1321
|
+
D(e.$slots, "suffix", {}, void 0, !0)
|
|
690
1322
|
]),
|
|
691
|
-
|
|
692
|
-
},
|
|
693
|
-
|
|
694
|
-
], 2)) : p("", !0)
|
|
1323
|
+
_: 3
|
|
1324
|
+
}, 8, ["customized_theme_color", "disabled"])) : m("", !0)
|
|
1325
|
+
], 2)) : m("", !0)
|
|
695
1326
|
], 34),
|
|
696
|
-
(
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
1327
|
+
e.$slots.supportingText || (r.show_alert || r.show_error) && r.message_notification_text ? (a(), l("div", yo, [
|
|
1328
|
+
e.$slots.supportingText ? (a(), l("div", ho, [
|
|
1329
|
+
D(e.$slots, "supportingText", {}, void 0, !0)
|
|
1330
|
+
])) : m("", !0),
|
|
1331
|
+
u("div", {
|
|
1332
|
+
class: h([
|
|
1333
|
+
{ error: r.show_error },
|
|
1334
|
+
{ alert: r.show_alert }
|
|
1335
|
+
])
|
|
1336
|
+
}, L(r.message_notification_text), 3)
|
|
1337
|
+
])) : m("", !0)
|
|
1338
|
+
], 6);
|
|
705
1339
|
}
|
|
706
|
-
const
|
|
1340
|
+
const Ae = /* @__PURE__ */ A(oo, [["render", mo], ["__scopeId", "data-v-3e172ef2"]]), po = { class: "dropdown-menu-item-content" }, fo = {
|
|
1341
|
+
key: 0,
|
|
1342
|
+
class: /* @__PURE__ */ h(["prefix-wrapper"])
|
|
1343
|
+
}, wo = {
|
|
1344
|
+
key: 1,
|
|
1345
|
+
class: /* @__PURE__ */ h(["prefix-wrapper"])
|
|
1346
|
+
}, vo = ["innerHTML"], bo = ["src"], go = {
|
|
1347
|
+
key: 0,
|
|
1348
|
+
class: /* @__PURE__ */ h(["suffix-wrapper"])
|
|
1349
|
+
}, Co = ["innerHTML"], No = ["src"], ko = {
|
|
1350
|
+
key: 2,
|
|
1351
|
+
class: /* @__PURE__ */ h(["dropdown-icon"]),
|
|
1352
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1353
|
+
width: "24",
|
|
1354
|
+
height: "24",
|
|
1355
|
+
viewBox: "0 0 24 24",
|
|
1356
|
+
fill: "none"
|
|
1357
|
+
}, Bo = {
|
|
1358
|
+
key: 1,
|
|
1359
|
+
class: /* @__PURE__ */ h(["dropdown-menu-item-divider"])
|
|
1360
|
+
}, xo = {
|
|
1361
|
+
__name: "DropdownMenuItem",
|
|
1362
|
+
props: {
|
|
1363
|
+
has_divider: {
|
|
1364
|
+
type: Boolean,
|
|
1365
|
+
default: !1
|
|
1366
|
+
},
|
|
1367
|
+
is_selected: {
|
|
1368
|
+
// ?: Optional
|
|
1369
|
+
type: Boolean,
|
|
1370
|
+
default: !1
|
|
1371
|
+
},
|
|
1372
|
+
prefix: {
|
|
1373
|
+
type: String,
|
|
1374
|
+
default: ""
|
|
1375
|
+
},
|
|
1376
|
+
suffix: {
|
|
1377
|
+
type: String,
|
|
1378
|
+
default: ""
|
|
1379
|
+
},
|
|
1380
|
+
prefix_slot_raw_html_content: {
|
|
1381
|
+
// ?: Optional
|
|
1382
|
+
// Priority: prefix slot > prefix slot raw html content prop > prefix prop
|
|
1383
|
+
type: String,
|
|
1384
|
+
default: ""
|
|
1385
|
+
},
|
|
1386
|
+
suffix_slot_raw_html_content: {
|
|
1387
|
+
// ?: Optional
|
|
1388
|
+
// Priority: suffix slot > suffix slot raw html content prop > suffix prop > default dropdown icon
|
|
1389
|
+
type: String,
|
|
1390
|
+
default: ""
|
|
1391
|
+
},
|
|
1392
|
+
value: {
|
|
1393
|
+
type: [String, Number, Boolean, Object],
|
|
1394
|
+
default: ""
|
|
1395
|
+
},
|
|
1396
|
+
label: {
|
|
1397
|
+
type: String,
|
|
1398
|
+
default: ""
|
|
1399
|
+
},
|
|
1400
|
+
in_dropdown_level: {
|
|
1401
|
+
type: Number,
|
|
1402
|
+
default: 0
|
|
1403
|
+
},
|
|
1404
|
+
size: {
|
|
1405
|
+
type: String,
|
|
1406
|
+
default: "small"
|
|
1407
|
+
},
|
|
1408
|
+
disabled: {
|
|
1409
|
+
type: Boolean,
|
|
1410
|
+
default: !1
|
|
1411
|
+
},
|
|
1412
|
+
options: {
|
|
1413
|
+
// ?: Optional
|
|
1414
|
+
// Options structure:
|
|
1415
|
+
// [
|
|
1416
|
+
// {
|
|
1417
|
+
// value: String,
|
|
1418
|
+
// label: String,
|
|
1419
|
+
// prefix?: String,
|
|
1420
|
+
// suffix?: String,
|
|
1421
|
+
// prefix_slot_raw_html_content?: String, -> To auto adapt the color change due to interaction state, recommended: inline svg content with currentColor
|
|
1422
|
+
// suffix_slot_raw_html_content?: String, -> To auto adapt the color change due to interaction state, recommended: inline svg content with currentColor
|
|
1423
|
+
// options?: Array<Option>
|
|
1424
|
+
// is_selected?: Boolean,
|
|
1425
|
+
// has_divider?: Boolean,
|
|
1426
|
+
// disabled?: Boolean
|
|
1427
|
+
// }
|
|
1428
|
+
// ]
|
|
1429
|
+
// where Option:
|
|
1430
|
+
// {
|
|
1431
|
+
// value: String,
|
|
1432
|
+
// label: String,
|
|
1433
|
+
// prefix?: String,
|
|
1434
|
+
// suffix?: String,
|
|
1435
|
+
// prefix_slot_raw_html_content?: String,
|
|
1436
|
+
// suffix_slot_raw_html_content?: String,
|
|
1437
|
+
// options?: Array<Option>
|
|
1438
|
+
// is_selected?: Boolean,
|
|
1439
|
+
// has_divider?: Boolean,
|
|
1440
|
+
// disabled?: Boolean
|
|
1441
|
+
// }
|
|
1442
|
+
type: Array,
|
|
1443
|
+
default: () => []
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
emits: [
|
|
1447
|
+
"select-dropdown-option",
|
|
1448
|
+
"add-new-shown-nested-dropdown",
|
|
1449
|
+
"remove-shown-nested-dropdown",
|
|
1450
|
+
"update-shown-nested-dropdown"
|
|
1451
|
+
],
|
|
1452
|
+
setup(e, { emit: o }) {
|
|
1453
|
+
const t = e, i = o, r = x(null), n = x(null), d = x("fit-content"), s = Be(), { width: c } = le(), _ = I(() => c.value > 1024), p = I(() => {
|
|
1454
|
+
var b;
|
|
1455
|
+
return ((b = t.options) == null ? void 0 : b.length) > 0;
|
|
1456
|
+
}), w = I(() => s.nested_dropdown_history_stack || []), S = I(() => s.parent_dropdown_menu_with_type == "fill-whole"), k = I(() => {
|
|
1457
|
+
if (_.value)
|
|
1458
|
+
return !0;
|
|
1459
|
+
if (w.value.length == 0 || w.value.length == t.in_dropdown_level)
|
|
1460
|
+
return !0;
|
|
1461
|
+
{
|
|
1462
|
+
const b = w.value[w.value.length - 1];
|
|
1463
|
+
return b.in_dropdown_level == t.in_dropdown_level && b.value == t.value && JSON.stringify(b.options) == JSON.stringify(t.options);
|
|
1464
|
+
}
|
|
1465
|
+
}), M = I(() => {
|
|
1466
|
+
if (!p.value || t.disabled || w.value.length == 0 || w.value.length <= t.in_dropdown_level)
|
|
1467
|
+
return !1;
|
|
1468
|
+
if (w.value.length > t.in_dropdown_level) {
|
|
1469
|
+
const b = w.value[t.in_dropdown_level];
|
|
1470
|
+
return b.in_dropdown_level == t.in_dropdown_level && b.value == t.value && JSON.stringify(b.options) == JSON.stringify(t.options);
|
|
1471
|
+
}
|
|
1472
|
+
return !1;
|
|
1473
|
+
}), v = I(() => t.has_divider && k.value || !_.value && M.value), y = () => {
|
|
1474
|
+
t.disabled || (p.value ? _.value ? i("add-new-shown-nested-dropdown", t, "click") : M.value ? i("remove-shown-nested-dropdown", t) : i("add-new-shown-nested-dropdown", t, "click") : i("select-dropdown-option", t.value, t.label, t.in_dropdown_level));
|
|
1475
|
+
}, g = () => {
|
|
1476
|
+
t.disabled || _.value && (p.value && !M.value ? i("add-new-shown-nested-dropdown", t, "hover") : p.value || i("update-shown-nested-dropdown", t));
|
|
1477
|
+
}, O = () => {
|
|
1478
|
+
var b = {};
|
|
1479
|
+
if (_.value) {
|
|
1480
|
+
if (r.value && n.value) {
|
|
1481
|
+
const T = window.innerWidth - r.value.getBoundingClientRect().right, z = r.value.getBoundingClientRect().left, E = n.value.offsetWidth;
|
|
1482
|
+
if (T > E + 4)
|
|
1483
|
+
console.log("Show at right", T, E), b.left = "calc(100% + 4px)", b.width = "fit-content", d.value = "fit-content";
|
|
1484
|
+
else if (z > E + 4)
|
|
1485
|
+
console.log("Show at left", z, E), b.right = "calc(100% + 4px)", b.width = "fit-content", d.value = "fit-content";
|
|
1486
|
+
else {
|
|
1487
|
+
const f = Math.max(T, z);
|
|
1488
|
+
f === T ? b.left = "calc(100% + 4px)" : b.right = "calc(100% + 4px)", b.width = f - 15 + "px", d.value = "fill-whole";
|
|
1489
|
+
}
|
|
1490
|
+
const W = window.innerHeight - r.value.getBoundingClientRect().top, te = r.value.getBoundingClientRect().bottom, J = n.value.offsetHeight;
|
|
1491
|
+
W > J ? b.top = "0px" : te > J ? b.bottom = v.value ? "17px" : "0px" : Math.max(W, te) === W ? b.top = "0px" : b.bottom = v.value ? "17px" : "0px";
|
|
1492
|
+
}
|
|
1493
|
+
} else
|
|
1494
|
+
b.width = "100%", d.value = "fill-whole";
|
|
1495
|
+
return console.log(b), b;
|
|
1496
|
+
}, R = (b, T, z) => {
|
|
1497
|
+
i("select-dropdown-option", b, T, z);
|
|
1498
|
+
}, H = (b, T) => {
|
|
1499
|
+
i("add-new-shown-nested-dropdown", b, T);
|
|
1500
|
+
}, j = (b) => {
|
|
1501
|
+
i("remove-shown-nested-dropdown", b);
|
|
1502
|
+
}, ee = (b) => {
|
|
1503
|
+
i("update-shown-nested-dropdown", b);
|
|
1504
|
+
};
|
|
1505
|
+
return (b, T) => (a(), l("div", {
|
|
1506
|
+
class: h(["dropdown-menu-item-wrapper", e.size])
|
|
1507
|
+
}, [
|
|
1508
|
+
k.value ? (a(), l("div", {
|
|
1509
|
+
key: 0,
|
|
1510
|
+
class: h([
|
|
1511
|
+
"dropdown-menu-item",
|
|
1512
|
+
{ disabled: e.disabled },
|
|
1513
|
+
{ focus: M.value && _.value },
|
|
1514
|
+
{ selected: e.is_selected }
|
|
1515
|
+
]),
|
|
1516
|
+
onClick: T[0] || (T[0] = (z) => y()),
|
|
1517
|
+
onMouseenter: T[1] || (T[1] = (z) => g()),
|
|
1518
|
+
ref_key: "dropdown_menu_item",
|
|
1519
|
+
ref: r
|
|
1520
|
+
}, [
|
|
1521
|
+
u("div", po, [
|
|
1522
|
+
!_.value && p.value && M.value ? (a(), l("div", fo, T[6] || (T[6] = [
|
|
1523
|
+
u("svg", {
|
|
1524
|
+
class: "rotate-180",
|
|
1525
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1526
|
+
width: "24",
|
|
1527
|
+
height: "24",
|
|
1528
|
+
viewBox: "0 0 24 24",
|
|
1529
|
+
fill: "none"
|
|
1530
|
+
}, [
|
|
1531
|
+
u("path", {
|
|
1532
|
+
d: "M10 17V7L15 12L10 17Z",
|
|
1533
|
+
fill: "currentColor"
|
|
1534
|
+
})
|
|
1535
|
+
], -1)
|
|
1536
|
+
]))) : b.$slots.prefix || e.prefix_slot_raw_html_content || e.prefix ? (a(), l("div", wo, [
|
|
1537
|
+
D(b.$slots, "prefix", {}, () => [
|
|
1538
|
+
e.prefix_slot_raw_html_content ? (a(), l("div", {
|
|
1539
|
+
key: 0,
|
|
1540
|
+
class: "prefix-raw-html-slot",
|
|
1541
|
+
innerHTML: e.prefix_slot_raw_html_content
|
|
1542
|
+
}, null, 8, vo)) : (a(), l("img", {
|
|
1543
|
+
key: 1,
|
|
1544
|
+
src: e.prefix
|
|
1545
|
+
}, null, 8, bo))
|
|
1546
|
+
], !0)
|
|
1547
|
+
])) : m("", !0),
|
|
1548
|
+
u("div", {
|
|
1549
|
+
class: h(["text", { "wrap-text": S.value }])
|
|
1550
|
+
}, L(e.label), 3)
|
|
1551
|
+
]),
|
|
1552
|
+
b.$slots.suffix || e.suffix_slot_raw_html_content || e.suffix || p.value ? (a(), l("div", go, [
|
|
1553
|
+
D(b.$slots, "suffix", {}, () => [
|
|
1554
|
+
e.suffix_slot_raw_html_content ? (a(), l("div", {
|
|
1555
|
+
key: 0,
|
|
1556
|
+
class: "suffix-raw-html-slot",
|
|
1557
|
+
innerHTML: e.suffix_slot_raw_html_content
|
|
1558
|
+
}, null, 8, Co)) : e.suffix ? (a(), l("img", {
|
|
1559
|
+
key: 1,
|
|
1560
|
+
src: e.suffix
|
|
1561
|
+
}, null, 8, No)) : p.value && (_.value || !_.value && !M.value) ? (a(), l("svg", ko, T[7] || (T[7] = [
|
|
1562
|
+
u("path", {
|
|
1563
|
+
d: "M10 17V7L15 12L10 17Z",
|
|
1564
|
+
fill: "#434956"
|
|
1565
|
+
}, null, -1)
|
|
1566
|
+
]))) : m("", !0)
|
|
1567
|
+
], !0)
|
|
1568
|
+
])) : m("", !0)
|
|
1569
|
+
], 34)) : m("", !0),
|
|
1570
|
+
v.value ? (a(), l("div", Bo)) : m("", !0),
|
|
1571
|
+
M.value ? (a(), l("div", {
|
|
1572
|
+
key: 2,
|
|
1573
|
+
class: h([
|
|
1574
|
+
"dropdown-menu-item-dropdown-wrapper",
|
|
1575
|
+
{ "web-version": _.value },
|
|
1576
|
+
{ "non-web-version": !_.value }
|
|
1577
|
+
]),
|
|
1578
|
+
ref_key: "dropdown_menu_item_dropdown_wrapper",
|
|
1579
|
+
ref: n,
|
|
1580
|
+
style: G(O())
|
|
1581
|
+
}, [
|
|
1582
|
+
K(me, {
|
|
1583
|
+
width_type: d.value,
|
|
1584
|
+
options: e.options,
|
|
1585
|
+
with_box_shadow: _.value ? b.$attrs.with_box_shadow : !1,
|
|
1586
|
+
size: e.size,
|
|
1587
|
+
dropdown_level: e.in_dropdown_level + 1,
|
|
1588
|
+
outest_nested_dropdown_history_stack: U(s).nested_dropdown_history_stack,
|
|
1589
|
+
onSelectDropdownOption: T[2] || (T[2] = (z, E, W) => R(z, E, W)),
|
|
1590
|
+
onAddNewShownNestedDropdown: T[3] || (T[3] = (z, E) => H(z, E)),
|
|
1591
|
+
onRemoveShownNestedDropdown: T[4] || (T[4] = (z) => j(z)),
|
|
1592
|
+
onUpdateShownNestedDropdown: T[5] || (T[5] = (z) => ee(z))
|
|
1593
|
+
}, null, 8, ["width_type", "options", "with_box_shadow", "size", "dropdown_level", "outest_nested_dropdown_history_stack"])
|
|
1594
|
+
], 6)) : m("", !0)
|
|
1595
|
+
], 2));
|
|
1596
|
+
}
|
|
1597
|
+
}, ve = /* @__PURE__ */ A(xo, [["__scopeId", "data-v-be13e5b7"]]), To = {
|
|
1598
|
+
key: 0,
|
|
1599
|
+
class: "no-data-notes"
|
|
1600
|
+
}, So = { key: 1 }, Io = { key: 2 }, Lo = {
|
|
1601
|
+
__name: "DropdownMenu",
|
|
1602
|
+
props: {
|
|
1603
|
+
width_type: {
|
|
1604
|
+
type: String,
|
|
1605
|
+
// ENUM: fill-whole, fit-content
|
|
1606
|
+
default: "fill-whole"
|
|
1607
|
+
},
|
|
1608
|
+
options: {
|
|
1609
|
+
// ?: Optional
|
|
1610
|
+
// Options structure: see README DropdownMenu for full schema
|
|
1611
|
+
// [
|
|
1612
|
+
// {
|
|
1613
|
+
// value: [String, Number, Boolean, Object],
|
|
1614
|
+
// label: String,
|
|
1615
|
+
// prefix?: String,
|
|
1616
|
+
// suffix?: String,
|
|
1617
|
+
// prefix_slot_raw_html_content?: String,
|
|
1618
|
+
// suffix_slot_raw_html_content?: String,
|
|
1619
|
+
// options?: Array<Option>,
|
|
1620
|
+
// has_divider?: Boolean
|
|
1621
|
+
// disabled?: Boolean
|
|
1622
|
+
// is_selected?: Boolean
|
|
1623
|
+
// }
|
|
1624
|
+
// ]
|
|
1625
|
+
// where Option: (DropdownMenuItem.vue props)
|
|
1626
|
+
// {
|
|
1627
|
+
// value: [String, Number, Boolean, Object],
|
|
1628
|
+
// label: String,
|
|
1629
|
+
// prefix?: String,
|
|
1630
|
+
// suffix?: String,
|
|
1631
|
+
// prefix_slot_raw_html_content?: String,
|
|
1632
|
+
// suffix_slot_raw_html_content?: String,
|
|
1633
|
+
// options?: Array<Option>,
|
|
1634
|
+
// has_divider?: Boolean
|
|
1635
|
+
// disabled?: Boolean
|
|
1636
|
+
// is_selected?: Boolean
|
|
1637
|
+
// }
|
|
1638
|
+
type: Array,
|
|
1639
|
+
default: () => []
|
|
1640
|
+
},
|
|
1641
|
+
size: {
|
|
1642
|
+
type: String,
|
|
1643
|
+
// ENUM: small, medium, large
|
|
1644
|
+
default: "small"
|
|
1645
|
+
},
|
|
1646
|
+
dropdown_level: {
|
|
1647
|
+
// ?: Optional
|
|
1648
|
+
// The level of the dropdown menu
|
|
1649
|
+
// 0: root dropdown menu
|
|
1650
|
+
// 1: first nested dropdown menu
|
|
1651
|
+
// 2: second nested dropdown menu
|
|
1652
|
+
// ...
|
|
1653
|
+
type: Number,
|
|
1654
|
+
default: 0
|
|
1655
|
+
},
|
|
1656
|
+
with_box_shadow: {
|
|
1657
|
+
type: Boolean,
|
|
1658
|
+
default: !0
|
|
1659
|
+
},
|
|
1660
|
+
is_loading: {
|
|
1661
|
+
type: Boolean,
|
|
1662
|
+
default: !1
|
|
1663
|
+
},
|
|
1664
|
+
loading_text: {
|
|
1665
|
+
type: String,
|
|
1666
|
+
default: "Loading..."
|
|
1667
|
+
},
|
|
1668
|
+
no_data_text: {
|
|
1669
|
+
type: String,
|
|
1670
|
+
default: "No data"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
emits: [
|
|
1674
|
+
"select-dropdown-option",
|
|
1675
|
+
"add-new-shown-nested-dropdown",
|
|
1676
|
+
"remove-shown-nested-dropdown",
|
|
1677
|
+
"update-shown-nested-dropdown",
|
|
1678
|
+
"click-outside-dropdown-menu"
|
|
1679
|
+
],
|
|
1680
|
+
setup(e, { emit: o }) {
|
|
1681
|
+
const t = e, i = o, r = Be(), { width: n } = le(), d = x(null), s = x([]), c = I(() => r.outest_nested_dropdown_history_stack), _ = I(() => n.value > 1024), p = I(() => t.dropdown_level != 0 ? c.value.length > 0 ? c.value[c.value.length - 1] : null : s.value.length > 0 ? s.value[s.value.length - 1] : null), w = (y, g, O) => {
|
|
1682
|
+
i("select-dropdown-option", y, g, O);
|
|
1683
|
+
}, S = (y, g) => {
|
|
1684
|
+
t.dropdown_level == 0 ? (s.value.splice(y.in_dropdown_level), s.value.push(y)) : i("add-new-shown-nested-dropdown", y, g);
|
|
1685
|
+
}, k = (y) => {
|
|
1686
|
+
t.dropdown_level == 0 ? s.value.pop() : i("remove-shown-nested-dropdown", y);
|
|
1687
|
+
}, M = (y) => {
|
|
1688
|
+
t.dropdown_level == 0 ? s.value.splice(y.in_dropdown_level) : i("update-shown-nested-dropdown", y);
|
|
1689
|
+
}, v = (y) => {
|
|
1690
|
+
d.value && !d.value.contains(y.target) && i("click-outside-dropdown-menu", y);
|
|
1691
|
+
};
|
|
1692
|
+
return _e(() => {
|
|
1693
|
+
t.dropdown_level == 0 && document.addEventListener("click", (y) => v(y), !0);
|
|
1694
|
+
}), ke(() => {
|
|
1695
|
+
t.dropdown_level == 0 && document.removeEventListener("click", (y) => v(y), !0);
|
|
1696
|
+
}), (y, g) => (a(), l("div", {
|
|
1697
|
+
class: h(["dropdown-menu", e.size, { "with-box-shadow": e.with_box_shadow }, e.width_type]),
|
|
1698
|
+
ref_key: "dropdown_menu",
|
|
1699
|
+
ref: d
|
|
1700
|
+
}, [
|
|
1701
|
+
!e.options || e.options.length == 0 ? (a(), l("div", To, L(e.is_loading ? e.loading_text : e.no_data_text), 1)) : _.value || s.value.length == 0 ? (a(), l("div", So, [
|
|
1702
|
+
(a(!0), l(ie, null, se(e.options, (O, R) => (a(), P(ve, de({
|
|
1703
|
+
key: `${JSON.stringify(O.value)}-${R}-${O.label}`,
|
|
1704
|
+
ref_for: !0
|
|
1705
|
+
}, O, {
|
|
1706
|
+
has_divider: R == e.options.length - 1 ? !1 : O.has_divider,
|
|
1707
|
+
size: e.size,
|
|
1708
|
+
in_dropdown_level: e.dropdown_level,
|
|
1709
|
+
nested_dropdown_history_stack: e.dropdown_level == 0 ? s.value : y.$attrs.outest_nested_dropdown_history_stack,
|
|
1710
|
+
with_box_shadow: e.with_box_shadow,
|
|
1711
|
+
parent_dropdown_menu_with_type: e.width_type,
|
|
1712
|
+
onSelectDropdownOption: g[0] || (g[0] = (H, j, ee) => w(H, j, ee)),
|
|
1713
|
+
onAddNewShownNestedDropdown: g[1] || (g[1] = (H, j) => S(H, j)),
|
|
1714
|
+
onRemoveShownNestedDropdown: g[2] || (g[2] = (H) => k(H)),
|
|
1715
|
+
onUpdateShownNestedDropdown: g[3] || (g[3] = (H) => M(H))
|
|
1716
|
+
}), null, 16, ["has_divider", "size", "in_dropdown_level", "nested_dropdown_history_stack", "with_box_shadow", "parent_dropdown_menu_with_type"]))), 128))
|
|
1717
|
+
])) : (a(), l("div", Io, [
|
|
1718
|
+
K(ve, de(p.value, {
|
|
1719
|
+
size: e.size,
|
|
1720
|
+
nested_dropdown_history_stack: e.dropdown_level == 0 ? s.value : y.$attrs.outest_nested_dropdown_history_stack,
|
|
1721
|
+
with_box_shadow: e.with_box_shadow,
|
|
1722
|
+
parent_dropdown_menu_with_type: e.width_type,
|
|
1723
|
+
onSelectDropdownOption: g[4] || (g[4] = (O, R, H) => w(O, R, H)),
|
|
1724
|
+
onAddNewShownNestedDropdown: g[5] || (g[5] = (O, R) => S(O, R)),
|
|
1725
|
+
onRemoveShownNestedDropdown: g[6] || (g[6] = (O) => k(O)),
|
|
1726
|
+
onUpdateShownNestedDropdown: g[7] || (g[7] = (O) => M(O))
|
|
1727
|
+
}), null, 16, ["size", "nested_dropdown_history_stack", "with_box_shadow", "parent_dropdown_menu_with_type"])
|
|
1728
|
+
]))
|
|
1729
|
+
], 2));
|
|
1730
|
+
}
|
|
1731
|
+
}, me = /* @__PURE__ */ A(Lo, [["__scopeId", "data-v-79082aa2"]]), Mo = {
|
|
1732
|
+
components: {
|
|
1733
|
+
DynamicColorResponsiveButton: he,
|
|
1734
|
+
DropdownMenu: me
|
|
1735
|
+
},
|
|
1736
|
+
setup() {
|
|
1737
|
+
const e = x(null), o = x(null), t = x(null), i = x(null);
|
|
1738
|
+
return {
|
|
1739
|
+
prefix_wrapper: e,
|
|
1740
|
+
suffix_wrapper: o,
|
|
1741
|
+
filter_input: t,
|
|
1742
|
+
single_selector: i
|
|
1743
|
+
};
|
|
1744
|
+
},
|
|
707
1745
|
props: {
|
|
708
1746
|
modelValue: {
|
|
709
1747
|
type: [String, Number, Boolean, Object, Array],
|
|
710
1748
|
default: ""
|
|
711
1749
|
},
|
|
1750
|
+
label: {
|
|
1751
|
+
type: String,
|
|
1752
|
+
default: ""
|
|
1753
|
+
},
|
|
1754
|
+
label_type: {
|
|
1755
|
+
type: String,
|
|
1756
|
+
// ENUM: inside, outside
|
|
1757
|
+
// NOTES:
|
|
1758
|
+
// 1. inside: the label will be inside the input box
|
|
1759
|
+
// 2. outside: the label will be outside the input box
|
|
1760
|
+
default: "outside"
|
|
1761
|
+
},
|
|
1762
|
+
theme_type: {
|
|
1763
|
+
type: String,
|
|
1764
|
+
// ENUM: filled, outlined
|
|
1765
|
+
default: "outlined"
|
|
1766
|
+
},
|
|
1767
|
+
customized_theme_color: {
|
|
1768
|
+
type: String,
|
|
1769
|
+
default: ""
|
|
1770
|
+
},
|
|
1771
|
+
required: {
|
|
1772
|
+
type: Boolean,
|
|
1773
|
+
default: !1
|
|
1774
|
+
},
|
|
712
1775
|
options: {
|
|
1776
|
+
// structure: [{value: string | number | boolean | object, label: string}]
|
|
713
1777
|
type: Array,
|
|
714
1778
|
default: () => []
|
|
715
1779
|
},
|
|
@@ -756,12 +1820,12 @@ const ce = /* @__PURE__ */ B(Mt, [["render", At], ["__scopeId", "data-v-9cf7bf2f
|
|
|
756
1820
|
default: !1
|
|
757
1821
|
}
|
|
758
1822
|
},
|
|
759
|
-
mounted()
|
|
760
|
-
|
|
761
|
-
},
|
|
762
|
-
unmounted()
|
|
763
|
-
|
|
764
|
-
},
|
|
1823
|
+
// mounted(){
|
|
1824
|
+
// document.addEventListener('click', (e)=>this.closeWhenClickOutsideSelector(e));
|
|
1825
|
+
// },
|
|
1826
|
+
// unmounted(){
|
|
1827
|
+
// document.removeEventListener('click', (e)=>this.closeWhenClickOutsideSelector(e));
|
|
1828
|
+
// },
|
|
765
1829
|
data() {
|
|
766
1830
|
return {
|
|
767
1831
|
selected_item: this.modelValue,
|
|
@@ -776,18 +1840,36 @@ const ce = /* @__PURE__ */ B(Mt, [["render", At], ["__scopeId", "data-v-9cf7bf2f
|
|
|
776
1840
|
};
|
|
777
1841
|
},
|
|
778
1842
|
computed: {
|
|
779
|
-
|
|
780
|
-
return this.disabled ?
|
|
1843
|
+
regular_inline_svg_icon_color() {
|
|
1844
|
+
return this.disabled ? "var(--disabled-color--)" : "#434956";
|
|
1845
|
+
},
|
|
1846
|
+
regular_border_color() {
|
|
1847
|
+
return this.disabled ? "var(--disabled-color--)" : this.show_error ? "var(--semantic-error-color--)" : this.show_alert ? "var(--semantic-alert-color--)" : this.is_focus ? this.customized_theme_color || "var(--Schemes-primary)" : this.hovered ? "#17181C" : "#434956";
|
|
1848
|
+
},
|
|
1849
|
+
border_width_in_box_shadow() {
|
|
1850
|
+
return this.is_focus ? this.theme_type == "filled" ? "-3px" : "3px" : this.theme_type == "filled" ? "-1px" : "1px";
|
|
1851
|
+
},
|
|
1852
|
+
background_color() {
|
|
1853
|
+
return this.theme_type == "outlined" ? "transparent" : this.disabled ? "var(--disabled-button-background-color--)" : this.is_focus ? "color-mix(in srgb, #EEEFF1, rgb(23, 24, 28) 10%)" : this.hovered ? "color-mix(in srgb, #EEEFF1, rgb(23, 24, 28) 8%)" : "#EEEFF1";
|
|
1854
|
+
},
|
|
1855
|
+
inside_label_color() {
|
|
1856
|
+
return this.disabled ? "var(--disabled-color--)" : this.show_error ? "var(--semantic-error-color--)" : this.show_alert ? "var(--semantic-alert-color--)" : this.is_focus ? this.customized_theme_color || "var(--Schemes-primary)" : "#434956";
|
|
1857
|
+
},
|
|
1858
|
+
has_prefix() {
|
|
1859
|
+
return this.prefix_wrapper;
|
|
1860
|
+
},
|
|
1861
|
+
has_suffix() {
|
|
1862
|
+
return this.suffix_wrapper;
|
|
781
1863
|
},
|
|
782
1864
|
options_shown() {
|
|
783
1865
|
if (this.remote_search)
|
|
784
|
-
return this.options;
|
|
1866
|
+
return this.options.map((e) => (e.value == this.selected_item && e.label == this.selected_item_label ? e.is_selected = !0 : delete e.is_selected, e));
|
|
785
1867
|
if (this.filter_keyword) {
|
|
786
1868
|
this.is_loading = !0;
|
|
787
|
-
const e = this.options.filter((
|
|
1869
|
+
const e = this.options.filter((o) => (o.value == this.selected_item && o.label == this.selected_item_label ? o.is_selected = !0 : delete o.is_selected, this.filter_only_among_options_value ? JSON.stringify(o.value).toLowerCase().includes(this.filter_keyword.toLowerCase()) : this.filter_only_among_options_label ? JSON.stringify(o.label).toLowerCase().includes(this.filter_keyword.toLowerCase()) : JSON.stringify(o.value).toLowerCase().includes(this.filter_keyword.toLowerCase()) || JSON.stringify(o.label).toLowerCase().includes(this.filter_keyword.toLowerCase())));
|
|
788
1870
|
return this.is_loading = !1, e;
|
|
789
1871
|
} else
|
|
790
|
-
return this.options;
|
|
1872
|
+
return this.options.map((e) => (e.value == this.selected_item && e.label == this.selected_item_label ? e.is_selected = !0 : delete e.is_selected, e));
|
|
791
1873
|
},
|
|
792
1874
|
show_clear_icon() {
|
|
793
1875
|
return this.clearable && this.selected_item && !this.disabled && (this.hovered || this.is_focus);
|
|
@@ -815,10 +1897,8 @@ const ce = /* @__PURE__ */ B(Mt, [["render", At], ["__scopeId", "data-v-9cf7bf2f
|
|
|
815
1897
|
},
|
|
816
1898
|
is_focus(e) {
|
|
817
1899
|
this.$emit("visible-change", e), e ? (this.$emit("focus"), this.filterable && this.$nextTick(() => {
|
|
818
|
-
var
|
|
819
|
-
(
|
|
820
|
-
}), this.$nextTick(() => {
|
|
821
|
-
this.checkWhetherDropdownIsOverflow();
|
|
1900
|
+
var o;
|
|
1901
|
+
(o = this.filter_input) == null || o.focus();
|
|
822
1902
|
})) : (this.filter_keyword = "", this.$emit("blur"));
|
|
823
1903
|
},
|
|
824
1904
|
loading(e) {
|
|
@@ -826,26 +1906,42 @@ const ce = /* @__PURE__ */ B(Mt, [["render", At], ["__scopeId", "data-v-9cf7bf2f
|
|
|
826
1906
|
}
|
|
827
1907
|
},
|
|
828
1908
|
methods: {
|
|
829
|
-
|
|
830
|
-
this
|
|
1909
|
+
handleClickOutsideDropdownMenu(e) {
|
|
1910
|
+
this.single_selector && !this.single_selector.contains(e.target) && (e.stopPropagation(), this.is_focus = !1);
|
|
831
1911
|
},
|
|
1912
|
+
handleSelectDropdownOption(e, o, t) {
|
|
1913
|
+
this.selected_item = e, this.selected_item_label = o, this.$nextTick(() => {
|
|
1914
|
+
this.is_focus = !1;
|
|
1915
|
+
});
|
|
1916
|
+
},
|
|
1917
|
+
// checkWhetherDropdownIsOverflow(){
|
|
1918
|
+
// // if(this.$refs['single-selector-dropdown'].scrollHeight > this.$refs['single-selector-dropdown'].clientHeight){
|
|
1919
|
+
// // this.$refs['single-selector-dropdown'].style.padding = "8px 1px 8px 8px";
|
|
1920
|
+
// // }else{
|
|
1921
|
+
// // this.$refs['single-selector-dropdown'].style.padding = "8px";
|
|
1922
|
+
// // }
|
|
1923
|
+
// },
|
|
832
1924
|
findCorrespondingLabelViaValue(e) {
|
|
833
|
-
var
|
|
834
|
-
for (const
|
|
835
|
-
JSON.stringify(
|
|
836
|
-
return
|
|
1925
|
+
var o = e;
|
|
1926
|
+
for (const t of this.options)
|
|
1927
|
+
JSON.stringify(t.value) == JSON.stringify(e) && (o = t.label);
|
|
1928
|
+
return o;
|
|
837
1929
|
},
|
|
838
1930
|
handleClickSingleSelector() {
|
|
839
1931
|
this.disabled || (this.is_focus = !this.is_focus);
|
|
840
1932
|
},
|
|
841
|
-
handleSelectOption(e,
|
|
842
|
-
e.stopPropagation(), this.selected_item =
|
|
1933
|
+
handleSelectOption(e, o) {
|
|
1934
|
+
e.stopPropagation(), this.selected_item = o.value, this.selected_item_label = o.label, this.$nextTick(() => {
|
|
843
1935
|
this.is_focus = !1;
|
|
844
1936
|
});
|
|
845
1937
|
},
|
|
846
|
-
closeWhenClickOutsideSelector(e)
|
|
847
|
-
|
|
848
|
-
|
|
1938
|
+
// closeWhenClickOutsideSelector(e){
|
|
1939
|
+
// // console.log('closeWhenClickOutsideSelector', e.target,this.$refs['single-selector'].contains(e.target));
|
|
1940
|
+
// // const normalizedTarget = e.target.nodeType === Node.TEXT_NODE ? e.target.parentElement : e.target;
|
|
1941
|
+
// if(this.is_focus && this.$refs['single-selector'] && !this.$refs['single-selector'].contains(e.target)) {
|
|
1942
|
+
// this.is_focus = false;
|
|
1943
|
+
// }
|
|
1944
|
+
// },
|
|
849
1945
|
checkWhetherIsSelected(e) {
|
|
850
1946
|
if (e.value == this.selected_item)
|
|
851
1947
|
return !0;
|
|
@@ -855,12 +1951,11 @@ const ce = /* @__PURE__ */ B(Mt, [["render", At], ["__scopeId", "data-v-9cf7bf2f
|
|
|
855
1951
|
},
|
|
856
1952
|
// Define a method you want to expose
|
|
857
1953
|
focus() {
|
|
858
|
-
|
|
859
|
-
this.disabled || (this.filterable && ((e = this.$refs["filter-input"]) == null || e.focus()), this.is_focus = !0);
|
|
1954
|
+
this.disabled || (this.is_focus = !0);
|
|
860
1955
|
},
|
|
861
1956
|
blur() {
|
|
862
1957
|
var e;
|
|
863
|
-
this.filterable && ((e = this
|
|
1958
|
+
this.filterable && ((e = this.filter_input) == null || e.blur()), this.is_focus = !1;
|
|
864
1959
|
},
|
|
865
1960
|
alert(e) {
|
|
866
1961
|
this.show_error = !1, this.show_alert = !0, this.message_notification_text = e;
|
|
@@ -876,105 +1971,249 @@ const ce = /* @__PURE__ */ B(Mt, [["render", At], ["__scopeId", "data-v-9cf7bf2f
|
|
|
876
1971
|
}
|
|
877
1972
|
},
|
|
878
1973
|
expose: ["focus", "blur", "alert", "error", "removeAlertOrErrorEffect", "setDropdownContentLoading"]
|
|
879
|
-
},
|
|
1974
|
+
}, Do = {
|
|
880
1975
|
key: 0,
|
|
881
|
-
class: "
|
|
882
|
-
},
|
|
883
|
-
|
|
1976
|
+
class: "label-outside"
|
|
1977
|
+
}, Oo = { class: "label-text" }, Eo = {
|
|
1978
|
+
key: 0,
|
|
1979
|
+
class: "required-icon"
|
|
1980
|
+
}, zo = {
|
|
1981
|
+
key: 0,
|
|
1982
|
+
class: "prefix-wrapper",
|
|
1983
|
+
ref: "prefix_wrapper"
|
|
1984
|
+
}, Ao = { class: "selected-content-wrapper" }, Ho = {
|
|
1985
|
+
key: 0,
|
|
1986
|
+
class: "label-inside"
|
|
1987
|
+
}, Po = { class: "label-text" }, Vo = {
|
|
1988
|
+
key: 0,
|
|
1989
|
+
class: "required-icon"
|
|
1990
|
+
}, Zo = {
|
|
1991
|
+
class: /* @__PURE__ */ h([
|
|
884
1992
|
"suffix-wrapper"
|
|
1993
|
+
]),
|
|
1994
|
+
ref: "suffix_wrapper"
|
|
1995
|
+
}, Go = {
|
|
1996
|
+
key: 3,
|
|
1997
|
+
class: /* @__PURE__ */ h([
|
|
1998
|
+
"message-container"
|
|
885
1999
|
])
|
|
886
|
-
},
|
|
887
|
-
key: 0,
|
|
888
|
-
class: "single-selector-dropdown",
|
|
889
|
-
ref: "single-selector-dropdown"
|
|
890
|
-
}, Zt = {
|
|
2000
|
+
}, Ro = {
|
|
891
2001
|
key: 0,
|
|
892
|
-
class: "
|
|
893
|
-
}, zt = ["onClick"], Wt = {
|
|
894
|
-
key: 1,
|
|
895
|
-
class: "no-data-notes"
|
|
2002
|
+
class: "customized-supporting-text"
|
|
896
2003
|
};
|
|
897
|
-
function
|
|
898
|
-
|
|
2004
|
+
function Uo(e, o, t, i, r, n) {
|
|
2005
|
+
const d = re("DynamicColorResponsiveButton"), s = re("DropdownMenu");
|
|
2006
|
+
return a(), l("div", {
|
|
2007
|
+
class: h([
|
|
2008
|
+
"single-selector-unit-wrapper",
|
|
2009
|
+
t.theme_type,
|
|
2010
|
+
t.label_type,
|
|
2011
|
+
{ disabled: t.disabled }
|
|
2012
|
+
]),
|
|
2013
|
+
style: G({
|
|
2014
|
+
"--input-box-border-color--": n.regular_border_color,
|
|
2015
|
+
"--input-box-border-width--": n.border_width_in_box_shadow,
|
|
2016
|
+
"--input-box-background-color--": n.background_color,
|
|
2017
|
+
"--inside-label-color--": n.inside_label_color
|
|
2018
|
+
})
|
|
2019
|
+
}, [
|
|
2020
|
+
t.label && t.label_type == "outside" ? (a(), l("div", Do, [
|
|
2021
|
+
u("span", Oo, L(t.label), 1),
|
|
2022
|
+
o[6] || (o[6] = X()),
|
|
2023
|
+
t.required ? (a(), l("span", Eo, "*")) : m("", !0)
|
|
2024
|
+
])) : m("", !0),
|
|
899
2025
|
u("div", {
|
|
900
|
-
ref: "
|
|
901
|
-
class:
|
|
2026
|
+
ref: "single_selector",
|
|
2027
|
+
class: h([
|
|
902
2028
|
"single-selector",
|
|
903
|
-
{ error:
|
|
904
|
-
{ alert:
|
|
905
|
-
{ disabled:
|
|
906
|
-
{ "is-focus":
|
|
907
|
-
{ "has-prefix":
|
|
908
|
-
{ "
|
|
2029
|
+
{ error: r.show_error },
|
|
2030
|
+
{ alert: r.show_alert },
|
|
2031
|
+
{ disabled: t.disabled },
|
|
2032
|
+
{ "is-focus": r.is_focus },
|
|
2033
|
+
{ "has-prefix": n.has_prefix },
|
|
2034
|
+
{ "has-suffix": n.has_suffix },
|
|
2035
|
+
{ "show-clear-icon": n.show_clear_icon }
|
|
909
2036
|
]),
|
|
910
|
-
onClick:
|
|
911
|
-
onMouseenter:
|
|
912
|
-
onMouseleave:
|
|
2037
|
+
onClick: o[1] || (o[1] = (...c) => n.handleClickSingleSelector && n.handleClickSingleSelector(...c)),
|
|
2038
|
+
onMouseenter: o[2] || (o[2] = (c) => r.hovered = !0),
|
|
2039
|
+
onMouseleave: o[3] || (o[3] = (c) => r.hovered = !1)
|
|
913
2040
|
}, [
|
|
914
|
-
e.$slots.prefix ? (
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
"
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
class: _([{ hide: n.is_focus && o.filterable }])
|
|
925
|
-
}, v(n.selected_item ? n.selected_item_label : o.placeholder), 3),
|
|
926
|
-
S(u("input", {
|
|
927
|
-
class: _(["filter-input", { hide: !(n.is_focus && o.filterable) }]),
|
|
928
|
-
ref: "filter-input",
|
|
929
|
-
"onUpdate:modelValue": t[0] || (t[0] = (i) => n.filter_keyword = i)
|
|
930
|
-
}, null, 2), [
|
|
931
|
-
[ke, n.filter_keyword]
|
|
932
|
-
])
|
|
933
|
-
], 2),
|
|
934
|
-
u("div", Ht, [
|
|
935
|
-
u("img", {
|
|
936
|
-
src: A,
|
|
937
|
-
class: _([
|
|
938
|
-
"clear-icon",
|
|
939
|
-
{ hide: !r.show_clear_icon }
|
|
2041
|
+
e.$slots.prefix ? (a(), l("div", zo, [
|
|
2042
|
+
K(d, {
|
|
2043
|
+
has_interaction_effect: !1,
|
|
2044
|
+
button_type: "text",
|
|
2045
|
+
customized_theme_color: n.regular_inline_svg_icon_color,
|
|
2046
|
+
width_type: "fit-content",
|
|
2047
|
+
disabled: t.disabled
|
|
2048
|
+
}, {
|
|
2049
|
+
prefix: V(() => [
|
|
2050
|
+
D(e.$slots, "prefix", {}, void 0, !0)
|
|
940
2051
|
]),
|
|
941
|
-
|
|
942
|
-
},
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
"
|
|
961
|
-
|
|
2052
|
+
_: 3
|
|
2053
|
+
}, 8, ["customized_theme_color", "disabled"])
|
|
2054
|
+
], 512)) : m("", !0),
|
|
2055
|
+
u("div", Ao, [
|
|
2056
|
+
t.label && t.label_type == "inside" ? (a(), l("div", Ho, [
|
|
2057
|
+
u("span", Po, L(t.label), 1),
|
|
2058
|
+
o[7] || (o[7] = X()),
|
|
2059
|
+
t.required ? (a(), l("span", Vo, "*")) : m("", !0)
|
|
2060
|
+
])) : m("", !0),
|
|
2061
|
+
u("div", {
|
|
2062
|
+
class: h([
|
|
2063
|
+
"selected-content",
|
|
2064
|
+
r.selected_item ? "content-text" : "placeholder"
|
|
2065
|
+
])
|
|
2066
|
+
}, [
|
|
2067
|
+
u("span", {
|
|
2068
|
+
class: h([{ hide: r.is_focus && t.filterable }])
|
|
2069
|
+
}, L(r.selected_item ? r.selected_item_label : t.placeholder), 3),
|
|
2070
|
+
Q(u("input", {
|
|
2071
|
+
class: h(["filter-input", { hide: !(r.is_focus && t.filterable) }]),
|
|
2072
|
+
ref: "filter_input",
|
|
2073
|
+
"onUpdate:modelValue": o[0] || (o[0] = (c) => r.filter_keyword = c)
|
|
2074
|
+
}, null, 2), [
|
|
2075
|
+
[Ze, r.filter_keyword]
|
|
2076
|
+
])
|
|
2077
|
+
], 2)
|
|
2078
|
+
]),
|
|
2079
|
+
u("div", Zo, [
|
|
2080
|
+
n.show_clear_icon ? (a(), P(d, {
|
|
2081
|
+
key: 0,
|
|
2082
|
+
button_type: "text",
|
|
2083
|
+
customized_theme_color: n.regular_inline_svg_icon_color,
|
|
2084
|
+
width_type: "fit-content",
|
|
2085
|
+
disabled: t.disabled,
|
|
2086
|
+
onClick: n.handleClearValue
|
|
2087
|
+
}, {
|
|
2088
|
+
prefix: V(() => o[8] || (o[8] = [
|
|
2089
|
+
u("svg", {
|
|
2090
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2091
|
+
width: "17",
|
|
2092
|
+
height: "17",
|
|
2093
|
+
viewBox: "0 0 17 17",
|
|
2094
|
+
fill: "none"
|
|
2095
|
+
}, [
|
|
2096
|
+
u("path", {
|
|
2097
|
+
d: "M5.33333 12.5L8.33333 9.5L11.3333 12.5L12.5 11.3333L9.5 8.33333L12.5 5.33333L11.3333 4.16667L8.33333 7.16667L5.33333 4.16667L4.16667 5.33333L7.16667 8.33333L4.16667 11.3333L5.33333 12.5ZM8.33333 16.6667C7.18056 16.6667 6.09722 16.4479 5.08333 16.0104C4.06944 15.5729 3.1875 14.9792 2.4375 14.2292C1.6875 13.4792 1.09375 12.5972 0.65625 11.5833C0.21875 10.5694 0 9.48611 0 8.33333C0 7.18056 0.21875 6.09722 0.65625 5.08333C1.09375 4.06944 1.6875 3.1875 2.4375 2.4375C3.1875 1.6875 4.06944 1.09375 5.08333 0.65625C6.09722 0.21875 7.18056 0 8.33333 0C9.48611 0 10.5694 0.21875 11.5833 0.65625C12.5972 1.09375 13.4792 1.6875 14.2292 2.4375C14.9792 3.1875 15.5729 4.06944 16.0104 5.08333C16.4479 6.09722 16.6667 7.18056 16.6667 8.33333C16.6667 9.48611 16.4479 10.5694 16.0104 11.5833C15.5729 12.5972 14.9792 13.4792 14.2292 14.2292C13.4792 14.9792 12.5972 15.5729 11.5833 16.0104C10.5694 16.4479 9.48611 16.6667 8.33333 16.6667ZM8.33333 15C10.1944 15 11.7708 14.3542 13.0625 13.0625C14.3542 11.7708 15 10.1944 15 8.33333C15 6.47222 14.3542 4.89583 13.0625 3.60417C11.7708 2.3125 10.1944 1.66667 8.33333 1.66667C6.47222 1.66667 4.89583 2.3125 3.60417 3.60417C2.3125 4.89583 1.66667 6.47222 1.66667 8.33333C1.66667 10.1944 2.3125 11.7708 3.60417 13.0625C4.89583 14.3542 6.47222 15 8.33333 15Z",
|
|
2098
|
+
fill: "currentColor"
|
|
2099
|
+
})
|
|
2100
|
+
], -1)
|
|
2101
|
+
])),
|
|
2102
|
+
_: 1
|
|
2103
|
+
}, 8, ["customized_theme_color", "disabled", "onClick"])) : r.show_error ? (a(), P(d, {
|
|
2104
|
+
key: 1,
|
|
2105
|
+
has_interaction_effect: !1,
|
|
2106
|
+
button_type: "text",
|
|
2107
|
+
customized_theme_color: "var(--semantic-error-color--)",
|
|
2108
|
+
width_type: "fit-content",
|
|
2109
|
+
disabled: t.disabled
|
|
2110
|
+
}, {
|
|
2111
|
+
prefix: V(() => o[9] || (o[9] = [
|
|
2112
|
+
u("svg", {
|
|
2113
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2114
|
+
width: "17",
|
|
2115
|
+
height: "17",
|
|
2116
|
+
viewBox: "0 0 17 17",
|
|
2117
|
+
fill: "none"
|
|
2118
|
+
}, [
|
|
2119
|
+
u("path", {
|
|
2120
|
+
d: "M8.33333 12.5C8.56944 12.5 8.76736 12.4201 8.92708 12.2604C9.08681 12.1007 9.16667 11.9028 9.16667 11.6667C9.16667 11.4306 9.08681 11.2326 8.92708 11.0729C8.76736 10.9132 8.56944 10.8333 8.33333 10.8333C8.09722 10.8333 7.89931 10.9132 7.73958 11.0729C7.57986 11.2326 7.5 11.4306 7.5 11.6667C7.5 11.9028 7.57986 12.1007 7.73958 12.2604C7.89931 12.4201 8.09722 12.5 8.33333 12.5ZM7.5 9.16667H9.16667V4.16667H7.5V9.16667ZM8.33333 16.6667C7.18056 16.6667 6.09722 16.4479 5.08333 16.0104C4.06944 15.5729 3.1875 14.9792 2.4375 14.2292C1.6875 13.4792 1.09375 12.5972 0.65625 11.5833C0.21875 10.5694 0 9.48611 0 8.33333C0 7.18056 0.21875 6.09722 0.65625 5.08333C1.09375 4.06944 1.6875 3.1875 2.4375 2.4375C3.1875 1.6875 4.06944 1.09375 5.08333 0.65625C6.09722 0.21875 7.18056 0 8.33333 0C9.48611 0 10.5694 0.21875 11.5833 0.65625C12.5972 1.09375 13.4792 1.6875 14.2292 2.4375C14.9792 3.1875 15.5729 4.06944 16.0104 5.08333C16.4479 6.09722 16.6667 7.18056 16.6667 8.33333C16.6667 9.48611 16.4479 10.5694 16.0104 11.5833C15.5729 12.5972 14.9792 13.4792 14.2292 14.2292C13.4792 14.9792 12.5972 15.5729 11.5833 16.0104C10.5694 16.4479 9.48611 16.6667 8.33333 16.6667Z",
|
|
2121
|
+
fill: "currentColor"
|
|
2122
|
+
})
|
|
2123
|
+
], -1)
|
|
2124
|
+
])),
|
|
2125
|
+
_: 1
|
|
2126
|
+
}, 8, ["disabled"])) : r.show_alert ? (a(), P(d, {
|
|
2127
|
+
key: 2,
|
|
2128
|
+
has_interaction_effect: !1,
|
|
2129
|
+
button_type: "text",
|
|
2130
|
+
customized_theme_color: "var(--semantic-alert-color--)",
|
|
2131
|
+
width_type: "fit-content",
|
|
2132
|
+
disabled: t.disabled
|
|
2133
|
+
}, {
|
|
2134
|
+
prefix: V(() => o[10] || (o[10] = [
|
|
2135
|
+
u("svg", {
|
|
2136
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2137
|
+
width: "22",
|
|
2138
|
+
height: "19",
|
|
2139
|
+
viewBox: "0 0 22 19",
|
|
2140
|
+
fill: "none"
|
|
2141
|
+
}, [
|
|
2142
|
+
u("path", {
|
|
2143
|
+
d: "M0 19L11 0L22 19H0ZM3.45 17H18.55L11 4L3.45 17ZM11 16C11.2833 16 11.5208 15.9042 11.7125 15.7125C11.9042 15.5208 12 15.2833 12 15C12 14.7167 11.9042 14.4792 11.7125 14.2875C11.5208 14.0958 11.2833 14 11 14C10.7167 14 10.4792 14.0958 10.2875 14.2875C10.0958 14.4792 10 14.7167 10 15C10 15.2833 10.0958 15.5208 10.2875 15.7125C10.4792 15.9042 10.7167 16 11 16ZM10 13H12V8H10V13Z",
|
|
2144
|
+
fill: "currentColor"
|
|
2145
|
+
})
|
|
2146
|
+
], -1)
|
|
2147
|
+
])),
|
|
2148
|
+
_: 1
|
|
2149
|
+
}, 8, ["disabled"])) : m("", !0),
|
|
2150
|
+
K(d, {
|
|
2151
|
+
has_interaction_effect: !1,
|
|
2152
|
+
button_type: "text",
|
|
2153
|
+
customized_theme_color: n.regular_inline_svg_icon_color,
|
|
2154
|
+
width_type: "fit-content",
|
|
2155
|
+
disabled: t.disabled
|
|
2156
|
+
}, {
|
|
2157
|
+
prefix: V(() => [
|
|
2158
|
+
D(e.$slots, "suffix", {}, () => [
|
|
2159
|
+
(a(), l("svg", {
|
|
2160
|
+
class: h(["rotate-0", { "rotate-180": r.is_focus && !t.disabled }]),
|
|
2161
|
+
width: "20",
|
|
2162
|
+
height: "20",
|
|
2163
|
+
viewBox: "0 0 20 20",
|
|
2164
|
+
fill: "none",
|
|
2165
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
2166
|
+
}, o[11] || (o[11] = [
|
|
2167
|
+
u("path", {
|
|
2168
|
+
d: "M10 11.2L14.6 6.6L16 8L10 14L4 8L5.4 6.6L10 11.2Z",
|
|
2169
|
+
fill: "currentColor"
|
|
2170
|
+
}, null, -1)
|
|
2171
|
+
]), 2))
|
|
2172
|
+
], !0)
|
|
962
2173
|
]),
|
|
963
|
-
|
|
964
|
-
},
|
|
965
|
-
]
|
|
966
|
-
],
|
|
967
|
-
|
|
2174
|
+
_: 3
|
|
2175
|
+
}, 8, ["customized_theme_color", "disabled"])
|
|
2176
|
+
], 512)
|
|
2177
|
+
], 34),
|
|
2178
|
+
r.is_focus && n.options_shown && n.options_shown.length > 0 ? (a(), P(s, {
|
|
968
2179
|
key: 1,
|
|
969
|
-
class:
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
2180
|
+
class: "single-selector-dropdown",
|
|
2181
|
+
is_loading: r.is_loading,
|
|
2182
|
+
loading_text: t.loading_text,
|
|
2183
|
+
no_data_text: t.no_data_text,
|
|
2184
|
+
options: n.options_shown,
|
|
2185
|
+
size: "medium",
|
|
2186
|
+
with_box_shadow: !0,
|
|
2187
|
+
width_type: "fill-whole",
|
|
2188
|
+
onClickOutsideDropdownMenu: n.handleClickOutsideDropdownMenu,
|
|
2189
|
+
onSelectDropdownOption: o[4] || (o[4] = (c, _, p) => n.handleSelectDropdownOption(c, _, p))
|
|
2190
|
+
}, null, 8, ["is_loading", "loading_text", "no_data_text", "options", "onClickOutsideDropdownMenu"])) : r.is_focus ? (a(), P(s, {
|
|
2191
|
+
key: 2,
|
|
2192
|
+
class: "single-selector-dropdown",
|
|
2193
|
+
is_loading: r.is_loading,
|
|
2194
|
+
loading_text: t.loading_text,
|
|
2195
|
+
no_data_text: t.no_data_text,
|
|
2196
|
+
options: n.options_shown,
|
|
2197
|
+
size: "medium",
|
|
2198
|
+
with_box_shadow: !0,
|
|
2199
|
+
width_type: "fill-whole",
|
|
2200
|
+
onClickOutsideDropdownMenu: n.handleClickOutsideDropdownMenu,
|
|
2201
|
+
onSelectDropdownOption: o[5] || (o[5] = (c, _, p) => n.handleSelectDropdownOption(c, _, p))
|
|
2202
|
+
}, null, 8, ["is_loading", "loading_text", "no_data_text", "options", "onClickOutsideDropdownMenu"])) : m("", !0),
|
|
2203
|
+
e.$slots.supportingText || (r.show_alert || r.show_error) && r.message_notification_text ? (a(), l("div", Go, [
|
|
2204
|
+
e.$slots.supportingText ? (a(), l("div", Ro, [
|
|
2205
|
+
D(e.$slots, "supportingText", {}, void 0, !0)
|
|
2206
|
+
])) : m("", !0),
|
|
2207
|
+
u("div", {
|
|
2208
|
+
class: h([
|
|
2209
|
+
{ error: r.show_error },
|
|
2210
|
+
{ alert: r.show_alert }
|
|
2211
|
+
])
|
|
2212
|
+
}, L(r.message_notification_text), 3)
|
|
2213
|
+
])) : m("", !0)
|
|
2214
|
+
], 6);
|
|
976
2215
|
}
|
|
977
|
-
const
|
|
2216
|
+
const He = /* @__PURE__ */ A(Mo, [["render", Uo], ["__scopeId", "data-v-0e002b66"]]), Fo = {
|
|
978
2217
|
props: {
|
|
979
2218
|
modelValue: {
|
|
980
2219
|
type: Boolean,
|
|
@@ -991,11 +2230,21 @@ const de = /* @__PURE__ */ B(Pt, [["render", Ft], ["__scopeId", "data-v-590c092f
|
|
|
991
2230
|
default: "medium"
|
|
992
2231
|
},
|
|
993
2232
|
built_in_theme: {
|
|
994
|
-
// ENUM: green, primary-blue, secondary-blue
|
|
2233
|
+
// ENUM: green, primary-blue, secondary-blue
|
|
995
2234
|
type: String,
|
|
996
2235
|
default: "green"
|
|
997
2236
|
},
|
|
2237
|
+
customized_theme_color: {
|
|
2238
|
+
// OPTIONAL when built_in_theme is used
|
|
2239
|
+
// NOTES: Can be any valid CSS color value
|
|
2240
|
+
// NOTES: When both built_in_theme and customized_theme_color are used, customized_theme_color will override the built_in_theme
|
|
2241
|
+
// NOTES: The theme color is the color used for the checkbox background when it is checked or indeterminate and the interaction effects
|
|
2242
|
+
// NOTES: When the theme color is used, the unchecked checkbox's border color is always hsl(226, 8%, 10%).
|
|
2243
|
+
type: String,
|
|
2244
|
+
default: ""
|
|
2245
|
+
},
|
|
998
2246
|
customized_class: {
|
|
2247
|
+
// Used if user don't want to obey our dynamic color rules, and want to define their own rules of color and interaction effects.
|
|
999
2248
|
type: String,
|
|
1000
2249
|
default: ""
|
|
1001
2250
|
},
|
|
@@ -1054,16 +2303,16 @@ const de = /* @__PURE__ */ B(Pt, [["render", Ft], ["__scopeId", "data-v-590c092f
|
|
|
1054
2303
|
this.checked = e;
|
|
1055
2304
|
},
|
|
1056
2305
|
checked(e) {
|
|
1057
|
-
var
|
|
1058
|
-
this.$emit("update:modelValue", e), this.$emit("change", e), (
|
|
2306
|
+
var o;
|
|
2307
|
+
this.$emit("update:modelValue", e), this.$emit("change", e), (o = this.$refs["checkbox-input-original"]) == null || o.blur(), this.groupCheckboxContext && this.toggleCheckbox(this.label, e);
|
|
1059
2308
|
},
|
|
1060
2309
|
indeterminate(e) {
|
|
1061
2310
|
e && (this.checked = !1);
|
|
1062
2311
|
},
|
|
1063
2312
|
show_error(e) {
|
|
1064
2313
|
if (e) {
|
|
1065
|
-
const
|
|
1066
|
-
this.checkbox_container_width =
|
|
2314
|
+
const o = this.getCheckboxContainerWidth();
|
|
2315
|
+
this.checkbox_container_width = o ? `${o}px` : "100%";
|
|
1067
2316
|
}
|
|
1068
2317
|
},
|
|
1069
2318
|
whether_checked_in_group_checkbox(e) {
|
|
@@ -1071,6 +2320,22 @@ const de = /* @__PURE__ */ B(Pt, [["render", Ft], ["__scopeId", "data-v-590c092f
|
|
|
1071
2320
|
}
|
|
1072
2321
|
},
|
|
1073
2322
|
methods: {
|
|
2323
|
+
getCheckboxThemeColor() {
|
|
2324
|
+
if (this.show_error)
|
|
2325
|
+
return "var(--semantic-error-color--)";
|
|
2326
|
+
if (this.customized_theme_color)
|
|
2327
|
+
return this.customized_theme_color;
|
|
2328
|
+
switch (this.built_in_theme) {
|
|
2329
|
+
case "green":
|
|
2330
|
+
return "var(--semantic-success-color--)";
|
|
2331
|
+
case "primary-blue":
|
|
2332
|
+
return "var(--Schemes-primary)";
|
|
2333
|
+
case "secondary-blue":
|
|
2334
|
+
return "var(--Schemes-Secondary)";
|
|
2335
|
+
default:
|
|
2336
|
+
return "var(--semantic-success-color--)";
|
|
2337
|
+
}
|
|
2338
|
+
},
|
|
1074
2339
|
getCheckboxContainerWidth() {
|
|
1075
2340
|
var e;
|
|
1076
2341
|
return ((e = this.$refs["checkbox-container"]) == null ? void 0 : e.offsetWidth) ?? 0;
|
|
@@ -1082,77 +2347,80 @@ const de = /* @__PURE__ */ B(Pt, [["render", Ft], ["__scopeId", "data-v-590c092f
|
|
|
1082
2347
|
blur() {
|
|
1083
2348
|
this.$refs["checkbox-input-original"].blur();
|
|
1084
2349
|
},
|
|
1085
|
-
|
|
2350
|
+
error(e) {
|
|
1086
2351
|
this.show_error = !0, this.message_notification_text = e;
|
|
1087
2352
|
},
|
|
1088
2353
|
removeAlertOrErrorEffect() {
|
|
1089
2354
|
this.show_error = !1, this.message_notification_text = "";
|
|
1090
2355
|
}
|
|
1091
2356
|
},
|
|
1092
|
-
expose: ["focus", "blur", "
|
|
1093
|
-
},
|
|
2357
|
+
expose: ["focus", "blur", "error", "removeAlertOrErrorEffect"]
|
|
2358
|
+
}, jo = ["disabled", "autofocus"], $o = { class: "checkbox-input-shown" }, Wo = {
|
|
1094
2359
|
key: 0,
|
|
1095
2360
|
class: "indeterminate-mark"
|
|
1096
|
-
},
|
|
2361
|
+
}, Ko = {
|
|
1097
2362
|
key: 1,
|
|
1098
2363
|
class: "checkmark"
|
|
1099
|
-
},
|
|
2364
|
+
}, Jo = {
|
|
1100
2365
|
key: 0,
|
|
1101
2366
|
class: "checkbox-container-label-wrapper"
|
|
1102
2367
|
};
|
|
1103
|
-
function
|
|
1104
|
-
return
|
|
2368
|
+
function Yo(e, o, t, i, r, n) {
|
|
2369
|
+
return a(), l("div", {
|
|
2370
|
+
class: "checkbox-unit-wrapper",
|
|
2371
|
+
style: G({ "--checkbox-theme-color--": n.getCheckboxThemeColor() })
|
|
2372
|
+
}, [
|
|
1105
2373
|
u("label", {
|
|
1106
|
-
class:
|
|
2374
|
+
class: h([
|
|
1107
2375
|
"checkbox-container",
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
{ disabled:
|
|
2376
|
+
t.size,
|
|
2377
|
+
{ error: r.show_error },
|
|
2378
|
+
t.customized_class,
|
|
2379
|
+
{ disabled: t.disabled }
|
|
1112
2380
|
]),
|
|
1113
2381
|
ref: "checkbox-container"
|
|
1114
2382
|
}, [
|
|
1115
2383
|
u("div", {
|
|
1116
|
-
class:
|
|
2384
|
+
class: h([
|
|
1117
2385
|
"checkbox-input",
|
|
1118
|
-
{ checked:
|
|
1119
|
-
{ indeterminate:
|
|
2386
|
+
{ checked: r.checked },
|
|
2387
|
+
{ indeterminate: t.indeterminate }
|
|
1120
2388
|
])
|
|
1121
2389
|
}, [
|
|
1122
|
-
|
|
2390
|
+
Q(u("input", {
|
|
1123
2391
|
type: "checkbox",
|
|
1124
|
-
"onUpdate:modelValue":
|
|
2392
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => r.checked = d),
|
|
1125
2393
|
class: "checkbox-input-original",
|
|
1126
2394
|
ref: "checkbox-input-original",
|
|
1127
|
-
disabled:
|
|
1128
|
-
autofocus:
|
|
1129
|
-
}, null, 8,
|
|
1130
|
-
[
|
|
2395
|
+
disabled: t.disabled,
|
|
2396
|
+
autofocus: t.autofocus
|
|
2397
|
+
}, null, 8, jo), [
|
|
2398
|
+
[Ge, r.checked]
|
|
1131
2399
|
]),
|
|
1132
|
-
u("div",
|
|
1133
|
-
|
|
1134
|
-
|
|
2400
|
+
u("div", $o, [
|
|
2401
|
+
t.indeterminate ? (a(), l("div", Wo)) : r.checked ? (a(), l("div", Ko)) : m("", !0),
|
|
2402
|
+
o[1] || (o[1] = u("div", { class: "checkbox-input-shown-checkbox" }, null, -1))
|
|
1135
2403
|
])
|
|
1136
2404
|
], 2),
|
|
1137
|
-
e.$slots.default ||
|
|
1138
|
-
|
|
1139
|
-
X(
|
|
2405
|
+
e.$slots.default || t.label ? (a(), l("div", Jo, [
|
|
2406
|
+
D(e.$slots, "default", {}, () => [
|
|
2407
|
+
X(L(t.label), 1)
|
|
1140
2408
|
], !0)
|
|
1141
|
-
])) :
|
|
2409
|
+
])) : m("", !0)
|
|
1142
2410
|
], 2),
|
|
1143
|
-
|
|
2411
|
+
r.show_error && r.message_notification_text ? (a(), l("div", {
|
|
1144
2412
|
key: 0,
|
|
1145
2413
|
ref: "message-container",
|
|
1146
|
-
class:
|
|
2414
|
+
class: h([
|
|
1147
2415
|
"message-container",
|
|
1148
|
-
{ "has-message-min-width": !e.$slots.default && !
|
|
1149
|
-
{ error:
|
|
2416
|
+
{ "has-message-min-width": !e.$slots.default && !t.label },
|
|
2417
|
+
{ error: r.show_error }
|
|
1150
2418
|
]),
|
|
1151
|
-
style:
|
|
1152
|
-
},
|
|
1153
|
-
]);
|
|
2419
|
+
style: G({ "--message-container-width--": r.checkbox_container_width })
|
|
2420
|
+
}, L(r.message_notification_text), 7)) : m("", !0)
|
|
2421
|
+
], 4);
|
|
1154
2422
|
}
|
|
1155
|
-
const
|
|
2423
|
+
const qo = /* @__PURE__ */ A(Fo, [["render", Yo], ["__scopeId", "data-v-5344ab55"]]), Qo = {
|
|
1156
2424
|
props: {
|
|
1157
2425
|
modelValue: {
|
|
1158
2426
|
type: String,
|
|
@@ -1226,15 +2494,15 @@ const eo = /* @__PURE__ */ B(Kt, [["render", qt], ["__scopeId", "data-v-30aa797a
|
|
|
1226
2494
|
},
|
|
1227
2495
|
show_error(e) {
|
|
1228
2496
|
if (e) {
|
|
1229
|
-
const
|
|
1230
|
-
this.radio_container_width =
|
|
2497
|
+
const o = this.getCheckboxContainerWidth();
|
|
2498
|
+
this.radio_container_width = o ? `${o}px` : "100%";
|
|
1231
2499
|
}
|
|
1232
2500
|
}
|
|
1233
2501
|
},
|
|
1234
2502
|
methods: {
|
|
1235
2503
|
handleClickRadio(e) {
|
|
1236
|
-
var
|
|
1237
|
-
e.target.value == this.selectedOption && (this.selectedOption = ""), (
|
|
2504
|
+
var o;
|
|
2505
|
+
e.target.value == this.selectedOption && (this.selectedOption = ""), (o = this.$refs["radio-input-original"]) == null || o.blur();
|
|
1238
2506
|
},
|
|
1239
2507
|
getCheckboxContainerWidth() {
|
|
1240
2508
|
var e;
|
|
@@ -1255,81 +2523,81 @@ const eo = /* @__PURE__ */ B(Kt, [["render", qt], ["__scopeId", "data-v-30aa797a
|
|
|
1255
2523
|
}
|
|
1256
2524
|
},
|
|
1257
2525
|
expose: ["focus", "blur", "alert", "removeAlertOrErrorEffect"]
|
|
1258
|
-
},
|
|
2526
|
+
}, Xo = { class: "radio-unit-wrapper" }, en = ["value", "name", "disabled", "autofocus"], tn = ["value", "disabled", "autofocus"], on = { class: "radio-input-shown" }, nn = {
|
|
1259
2527
|
key: 0,
|
|
1260
2528
|
class: "radio-input-checkmark"
|
|
1261
|
-
},
|
|
2529
|
+
}, rn = {
|
|
1262
2530
|
key: 0,
|
|
1263
2531
|
class: "radio-container-label-wrapper"
|
|
1264
2532
|
};
|
|
1265
|
-
function
|
|
1266
|
-
return
|
|
2533
|
+
function sn(e, o, t, i, r, n) {
|
|
2534
|
+
return a(), l("div", Xo, [
|
|
1267
2535
|
u("label", {
|
|
1268
|
-
class:
|
|
2536
|
+
class: h([
|
|
1269
2537
|
"radio-container",
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
{ disabled:
|
|
2538
|
+
t.size,
|
|
2539
|
+
r.show_error ? "red" : t.built_in_theme,
|
|
2540
|
+
t.customized_class,
|
|
2541
|
+
{ disabled: t.disabled }
|
|
1274
2542
|
]),
|
|
1275
2543
|
ref: "radio-container"
|
|
1276
2544
|
}, [
|
|
1277
2545
|
u("div", {
|
|
1278
|
-
class:
|
|
2546
|
+
class: h([
|
|
1279
2547
|
"radio-input",
|
|
1280
|
-
{ checked:
|
|
2548
|
+
{ checked: n.checked }
|
|
1281
2549
|
])
|
|
1282
2550
|
}, [
|
|
1283
|
-
|
|
2551
|
+
t.name ? Q((a(), l("input", {
|
|
1284
2552
|
key: 0,
|
|
1285
2553
|
class: "radio-input-original",
|
|
1286
2554
|
ref: "radio-input-original",
|
|
1287
2555
|
type: "radio",
|
|
1288
|
-
"onUpdate:modelValue":
|
|
1289
|
-
value:
|
|
1290
|
-
name:
|
|
1291
|
-
disabled:
|
|
1292
|
-
autofocus:
|
|
1293
|
-
onClick:
|
|
1294
|
-
}, null, 8,
|
|
1295
|
-
[
|
|
1296
|
-
]) :
|
|
2556
|
+
"onUpdate:modelValue": o[0] || (o[0] = (d) => r.selectedOption = d),
|
|
2557
|
+
value: t.value,
|
|
2558
|
+
name: t.name,
|
|
2559
|
+
disabled: t.disabled,
|
|
2560
|
+
autofocus: t.autofocus,
|
|
2561
|
+
onClick: o[1] || (o[1] = (d) => n.handleClickRadio(d))
|
|
2562
|
+
}, null, 8, en)), [
|
|
2563
|
+
[pe, r.selectedOption]
|
|
2564
|
+
]) : Q((a(), l("input", {
|
|
1297
2565
|
key: 1,
|
|
1298
2566
|
type: "radio",
|
|
1299
2567
|
class: "radio-input-original",
|
|
1300
2568
|
ref: "radio-input-original",
|
|
1301
|
-
"onUpdate:modelValue":
|
|
1302
|
-
value:
|
|
1303
|
-
disabled:
|
|
1304
|
-
autofocus:
|
|
1305
|
-
onClick:
|
|
1306
|
-
}, null, 8,
|
|
1307
|
-
[
|
|
2569
|
+
"onUpdate:modelValue": o[2] || (o[2] = (d) => r.selectedOption = d),
|
|
2570
|
+
value: t.value,
|
|
2571
|
+
disabled: t.disabled,
|
|
2572
|
+
autofocus: t.autofocus,
|
|
2573
|
+
onClick: o[3] || (o[3] = (d) => n.handleClickRadio(d))
|
|
2574
|
+
}, null, 8, tn)), [
|
|
2575
|
+
[pe, r.selectedOption]
|
|
1308
2576
|
]),
|
|
1309
|
-
u("div",
|
|
1310
|
-
|
|
1311
|
-
|
|
2577
|
+
u("div", on, [
|
|
2578
|
+
n.checked ? (a(), l("div", nn)) : m("", !0),
|
|
2579
|
+
o[4] || (o[4] = u("div", { class: "radio-input-shown-checkbox" }, null, -1))
|
|
1312
2580
|
])
|
|
1313
2581
|
], 2),
|
|
1314
|
-
e.$slots.default ||
|
|
1315
|
-
|
|
1316
|
-
X(
|
|
2582
|
+
e.$slots.default || t.label ? (a(), l("div", rn, [
|
|
2583
|
+
D(e.$slots, "default", {}, () => [
|
|
2584
|
+
X(L(t.label), 1)
|
|
1317
2585
|
], !0)
|
|
1318
|
-
])) :
|
|
2586
|
+
])) : m("", !0)
|
|
1319
2587
|
], 2),
|
|
1320
|
-
|
|
2588
|
+
r.show_error && r.message_notification_text ? (a(), l("div", {
|
|
1321
2589
|
key: 0,
|
|
1322
2590
|
ref: "message-container",
|
|
1323
|
-
class:
|
|
2591
|
+
class: h([
|
|
1324
2592
|
"message-container",
|
|
1325
|
-
{ "has-message-min-width": !e.$slots.default && !
|
|
1326
|
-
{ error:
|
|
2593
|
+
{ "has-message-min-width": !e.$slots.default && !t.label },
|
|
2594
|
+
{ error: r.show_error }
|
|
1327
2595
|
]),
|
|
1328
|
-
style:
|
|
1329
|
-
},
|
|
2596
|
+
style: G({ "--message-container-width--": r.radio_container_width })
|
|
2597
|
+
}, L(r.message_notification_text), 7)) : m("", !0)
|
|
1330
2598
|
]);
|
|
1331
2599
|
}
|
|
1332
|
-
const
|
|
2600
|
+
const an = /* @__PURE__ */ A(Qo, [["render", sn], ["__scopeId", "data-v-643668bf"]]), ln = {
|
|
1333
2601
|
props: {
|
|
1334
2602
|
title: {
|
|
1335
2603
|
type: String,
|
|
@@ -1346,37 +2614,37 @@ const lo = /* @__PURE__ */ B(to, [["render", uo], ["__scopeId", "data-v-643668bf
|
|
|
1346
2614
|
this.$emit("retry");
|
|
1347
2615
|
}
|
|
1348
2616
|
}
|
|
1349
|
-
},
|
|
2617
|
+
}, dn = { class: "whole-page-error-popup-container whole-page-error-mask" }, un = { class: "whole-page-error-popup-window" }, cn = { class: "error-popup-header" }, _n = { class: "error-popup-title-text" }, yn = { class: "error-popup-body" }, hn = {
|
|
1350
2618
|
key: 0,
|
|
1351
2619
|
class: "popup-body-content-details"
|
|
1352
|
-
},
|
|
1353
|
-
function
|
|
1354
|
-
return
|
|
1355
|
-
u("div",
|
|
1356
|
-
u("div",
|
|
1357
|
-
|
|
1358
|
-
src:
|
|
2620
|
+
}, mn = ["innerHTML"], pn = { class: "error-popup-footer" };
|
|
2621
|
+
function fn(e, o, t, i, r, n) {
|
|
2622
|
+
return a(), l("div", dn, [
|
|
2623
|
+
u("div", un, [
|
|
2624
|
+
u("div", cn, [
|
|
2625
|
+
o[1] || (o[1] = u("img", {
|
|
2626
|
+
src: De,
|
|
1359
2627
|
class: "error-popup-title-icon"
|
|
1360
2628
|
}, null, -1)),
|
|
1361
|
-
u("div",
|
|
2629
|
+
u("div", _n, L(t.title), 1)
|
|
1362
2630
|
]),
|
|
1363
|
-
u("div",
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
u("div", { innerHTML:
|
|
1367
|
-
])) :
|
|
2631
|
+
u("div", yn, [
|
|
2632
|
+
D(e.$slots, "content", {}, () => [
|
|
2633
|
+
t.content ? (a(), l("div", hn, [
|
|
2634
|
+
u("div", { innerHTML: t.content }, null, 8, mn)
|
|
2635
|
+
])) : m("", !0)
|
|
1368
2636
|
], !0)
|
|
1369
2637
|
]),
|
|
1370
|
-
u("div",
|
|
2638
|
+
u("div", pn, [
|
|
1371
2639
|
u("div", {
|
|
1372
2640
|
class: "retry-button",
|
|
1373
|
-
onClick:
|
|
2641
|
+
onClick: o[0] || (o[0] = (...d) => n.retry && n.retry(...d))
|
|
1374
2642
|
}, " Retry ")
|
|
1375
2643
|
])
|
|
1376
2644
|
])
|
|
1377
2645
|
]);
|
|
1378
2646
|
}
|
|
1379
|
-
const
|
|
2647
|
+
const wn = /* @__PURE__ */ A(ln, [["render", fn], ["__scopeId", "data-v-623b4a2e"]]), $ = {
|
|
1380
2648
|
AF: "93",
|
|
1381
2649
|
AL: "355",
|
|
1382
2650
|
DZ: "213",
|
|
@@ -1629,7 +2897,7 @@ const Co = /* @__PURE__ */ B(co, [["render", bo], ["__scopeId", "data-v-623b4a2e
|
|
|
1629
2897
|
SX: "721",
|
|
1630
2898
|
MF: "590",
|
|
1631
2899
|
SJ: "47"
|
|
1632
|
-
},
|
|
2900
|
+
}, vn = [
|
|
1633
2901
|
{
|
|
1634
2902
|
vibrantCountryId: 1,
|
|
1635
2903
|
countryName: "Afghanistan",
|
|
@@ -2875,11 +4143,11 @@ const Co = /* @__PURE__ */ B(co, [["render", bo], ["__scopeId", "data-v-623b4a2e
|
|
|
2875
4143
|
countryName: "Zimbabwe",
|
|
2876
4144
|
countryNameTwoBytes: "ZW"
|
|
2877
4145
|
}
|
|
2878
|
-
],
|
|
2879
|
-
class: /* @__PURE__ */
|
|
4146
|
+
], bn = { class: "area-code-phone-input-unit-wrapper" }, gn = { class: "country-area-code-selector-wrapper" }, Cn = ["src"], Nn = { class: "phone-number-input-wrapper" }, kn = {
|
|
4147
|
+
class: /* @__PURE__ */ h([
|
|
2880
4148
|
"suffix-wrapper"
|
|
2881
4149
|
])
|
|
2882
|
-
},
|
|
4150
|
+
}, Bn = {
|
|
2883
4151
|
__name: "AreaCodePhoneInput",
|
|
2884
4152
|
props: {
|
|
2885
4153
|
modelValue: {
|
|
@@ -2908,141 +4176,150 @@ const Co = /* @__PURE__ */ B(co, [["render", bo], ["__scopeId", "data-v-623b4a2e
|
|
|
2908
4176
|
}
|
|
2909
4177
|
},
|
|
2910
4178
|
emits: ["update:modelValue", "change", "focus", "blur", "clear"],
|
|
2911
|
-
setup(e, { expose:
|
|
2912
|
-
const
|
|
2913
|
-
var
|
|
2914
|
-
if (!
|
|
2915
|
-
const
|
|
2916
|
-
return
|
|
2917
|
-
},
|
|
2918
|
-
|
|
2919
|
-
},
|
|
2920
|
-
var
|
|
2921
|
-
|
|
2922
|
-
},
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
},
|
|
2928
|
-
var
|
|
2929
|
-
(
|
|
2930
|
-
},
|
|
2931
|
-
|
|
4179
|
+
setup(e, { expose: o, emit: t }) {
|
|
4180
|
+
const i = e, r = x(null), n = x(null), d = x(""), s = x(""), c = x(!1), _ = x(!1), p = x(!1), w = x(!1), S = x(!1), k = x(""), M = t, v = (f) => {
|
|
4181
|
+
var N;
|
|
4182
|
+
if (!f) return "";
|
|
4183
|
+
const C = f == "1" ? "US" : (N = Object.entries($).find((oe) => oe[1] == f)) == null ? void 0 : N[0];
|
|
4184
|
+
return C || "";
|
|
4185
|
+
}, y = (f) => {
|
|
4186
|
+
d.value = v((f == null ? void 0 : f.area_code) ?? ""), s.value = (f == null ? void 0 : f.phone_number) ?? "";
|
|
4187
|
+
}, g = () => {
|
|
4188
|
+
var f;
|
|
4189
|
+
d.value && !s.value && ((f = n == null ? void 0 : n.value) == null || f.focus());
|
|
4190
|
+
}, O = () => {
|
|
4191
|
+
i.disabled || (j(), M("clear", {
|
|
4192
|
+
area_code: E.value,
|
|
4193
|
+
phone_number: s.value
|
|
4194
|
+
}));
|
|
4195
|
+
}, R = () => {
|
|
4196
|
+
var f, C;
|
|
4197
|
+
d.value ? (C = n == null ? void 0 : n.value) == null || C.focus() : (f = r == null ? void 0 : r.value) == null || f.focus();
|
|
4198
|
+
}, H = () => {
|
|
4199
|
+
var f, C;
|
|
4200
|
+
(f = r == null ? void 0 : r.value) == null || f.blur(), (C = n == null ? void 0 : n.value) == null || C.blur();
|
|
4201
|
+
}, j = () => {
|
|
4202
|
+
d.value = "", s.value = "", k.value = "", w.value = !1, S.value = !1;
|
|
2932
4203
|
};
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
}, error: (
|
|
2936
|
-
|
|
4204
|
+
o({ focus: R, blur: H, clear: j, alert: (f) => {
|
|
4205
|
+
w.value = !0, k.value = f;
|
|
4206
|
+
}, error: (f) => {
|
|
4207
|
+
S.value = !0, k.value = f;
|
|
2937
4208
|
}, removeAlertOrErrorEffect: () => {
|
|
2938
|
-
|
|
4209
|
+
w.value = !1, S.value = !1, k.value = "";
|
|
2939
4210
|
} });
|
|
2940
|
-
const
|
|
2941
|
-
var
|
|
2942
|
-
return ((
|
|
2943
|
-
var
|
|
2944
|
-
return
|
|
2945
|
-
}).map((
|
|
2946
|
-
label: `${
|
|
2947
|
-
value:
|
|
2948
|
-
})) :
|
|
2949
|
-
label: `${
|
|
2950
|
-
value:
|
|
4211
|
+
const z = I(() => {
|
|
4212
|
+
var C;
|
|
4213
|
+
return ((C = i.country_options) == null ? void 0 : C.length) > 0 ? i.country_options.filter((N) => {
|
|
4214
|
+
var oe;
|
|
4215
|
+
return $[(oe = N == null ? void 0 : N.country_code) == null ? void 0 : oe.toUpperCase()];
|
|
4216
|
+
}).map((N) => ({
|
|
4217
|
+
label: `${N.country_name} (${N.country_code.toUpperCase()}) +${$[N.country_code.toUpperCase()]}`,
|
|
4218
|
+
value: N.country_code.toUpperCase()
|
|
4219
|
+
})) : i.enable_backup_country_options ? vn.filter((N) => $[N == null ? void 0 : N.countryNameTwoBytes]).map((N) => ({
|
|
4220
|
+
label: `${N.countryName} (${N.countryNameTwoBytes}) +${$[N.countryNameTwoBytes]}`,
|
|
4221
|
+
value: N.countryNameTwoBytes
|
|
2951
4222
|
})) : [];
|
|
2952
|
-
}),
|
|
2953
|
-
return
|
|
2954
|
-
|
|
2955
|
-
}),
|
|
2956
|
-
((
|
|
2957
|
-
}),
|
|
2958
|
-
var
|
|
2959
|
-
(((
|
|
2960
|
-
area_code:
|
|
2961
|
-
phone_number:
|
|
2962
|
-
}),
|
|
2963
|
-
area_code:
|
|
2964
|
-
phone_number:
|
|
4223
|
+
}), E = I(() => ($ == null ? void 0 : $[d.value]) ?? ""), W = I(() => `${E.value}-${s.value}`), te = I(() => (d.value || s.value) && !i.disabled && (c.value || J.value)), J = I(() => _.value || p.value);
|
|
4224
|
+
return _e(() => {
|
|
4225
|
+
y(i.modelValue);
|
|
4226
|
+
}), Y(() => i.modelValue, (f) => {
|
|
4227
|
+
((f == null ? void 0 : f.area_code) != E.value || (f == null ? void 0 : f.phone_number) != s.value) && y(f);
|
|
4228
|
+
}), Y(W, () => {
|
|
4229
|
+
var f, C;
|
|
4230
|
+
(((f = i.modelValue) == null ? void 0 : f.area_code) != E.value || ((C = i.modelValue) == null ? void 0 : C.phone_number) != s.value) && (M("update:modelValue", {
|
|
4231
|
+
area_code: E.value,
|
|
4232
|
+
phone_number: s.value
|
|
4233
|
+
}), M("change", {
|
|
4234
|
+
area_code: E.value,
|
|
4235
|
+
phone_number: s.value
|
|
2965
4236
|
}));
|
|
2966
|
-
}),
|
|
2967
|
-
var
|
|
2968
|
-
|
|
2969
|
-
}),
|
|
2970
|
-
|
|
2971
|
-
|
|
4237
|
+
}), Y(p, (f) => {
|
|
4238
|
+
var C;
|
|
4239
|
+
f || !d.value && s.value && ((C = r == null ? void 0 : r.value) == null || C.focus());
|
|
4240
|
+
}), Y(J, (f) => {
|
|
4241
|
+
f ? M("focus", {
|
|
4242
|
+
area_code: E.value,
|
|
4243
|
+
phone_number: s.value
|
|
4244
|
+
}) : M("blur", {
|
|
4245
|
+
area_code: E.value,
|
|
4246
|
+
phone_number: s.value
|
|
4247
|
+
});
|
|
4248
|
+
}), (f, C) => (a(), l("div", bn, [
|
|
2972
4249
|
u("div", {
|
|
2973
|
-
class:
|
|
4250
|
+
class: h([
|
|
2974
4251
|
"area-code-phone-input",
|
|
2975
|
-
{ "is-focus":
|
|
4252
|
+
{ "is-focus": J.value },
|
|
2976
4253
|
{ disabled: e.disabled },
|
|
2977
|
-
{ error:
|
|
2978
|
-
{ alert:
|
|
4254
|
+
{ error: S.value },
|
|
4255
|
+
{ alert: w.value }
|
|
2979
4256
|
]),
|
|
2980
|
-
onMouseenter:
|
|
2981
|
-
onMouseleave:
|
|
4257
|
+
onMouseenter: C[6] || (C[6] = (N) => c.value = !0),
|
|
4258
|
+
onMouseleave: C[7] || (C[7] = (N) => c.value = !1)
|
|
2982
4259
|
}, [
|
|
2983
|
-
u("div",
|
|
2984
|
-
|
|
4260
|
+
u("div", gn, [
|
|
4261
|
+
K(He, {
|
|
2985
4262
|
ref_key: "countryAreaCodeSelector",
|
|
2986
|
-
ref:
|
|
2987
|
-
modelValue:
|
|
2988
|
-
"onUpdate:modelValue":
|
|
2989
|
-
options:
|
|
4263
|
+
ref: r,
|
|
4264
|
+
modelValue: d.value,
|
|
4265
|
+
"onUpdate:modelValue": C[0] || (C[0] = (N) => d.value = N),
|
|
4266
|
+
options: z.value,
|
|
2990
4267
|
placeholder: "Country",
|
|
2991
4268
|
disabled: e.disabled,
|
|
2992
4269
|
filterable: e.country_filterable,
|
|
2993
|
-
onChange:
|
|
2994
|
-
onFocus:
|
|
2995
|
-
onBlur:
|
|
2996
|
-
},
|
|
2997
|
-
|
|
4270
|
+
onChange: g,
|
|
4271
|
+
onFocus: C[1] || (C[1] = (N) => _.value = !0),
|
|
4272
|
+
onBlur: C[2] || (C[2] = (N) => _.value = !1)
|
|
4273
|
+
}, Re({ _: 2 }, [
|
|
4274
|
+
d.value ? {
|
|
2998
4275
|
name: "prefix",
|
|
2999
|
-
fn:
|
|
4276
|
+
fn: V(() => [
|
|
3000
4277
|
u("img", {
|
|
3001
|
-
src: `https://hatscripts.github.io/circle-flags/flags/${
|
|
4278
|
+
src: `https://hatscripts.github.io/circle-flags/flags/${d.value.toLowerCase()}.svg`,
|
|
3002
4279
|
class: "country-selector-prefix"
|
|
3003
|
-
}, null, 8,
|
|
4280
|
+
}, null, 8, Cn)
|
|
3004
4281
|
]),
|
|
3005
4282
|
key: "0"
|
|
3006
4283
|
} : void 0
|
|
3007
4284
|
]), 1032, ["modelValue", "options", "disabled", "filterable"])
|
|
3008
4285
|
]),
|
|
3009
4286
|
u("div", {
|
|
3010
|
-
class:
|
|
3011
|
-
}, " +" +
|
|
3012
|
-
u("div",
|
|
3013
|
-
|
|
4287
|
+
class: h(["area-code-container", { "not-selected": !E.value }])
|
|
4288
|
+
}, " +" + L(d.value ? `${E.value}` : "__"), 3),
|
|
4289
|
+
u("div", Nn, [
|
|
4290
|
+
K(Ae, {
|
|
3014
4291
|
ref_key: "phoneNumberInput",
|
|
3015
|
-
ref:
|
|
3016
|
-
modelValue:
|
|
3017
|
-
"onUpdate:modelValue":
|
|
4292
|
+
ref: n,
|
|
4293
|
+
modelValue: s.value,
|
|
4294
|
+
"onUpdate:modelValue": C[3] || (C[3] = (N) => s.value = N),
|
|
3018
4295
|
placeholder: "Phone Number",
|
|
3019
4296
|
disabled: e.disabled,
|
|
3020
|
-
onFocus:
|
|
3021
|
-
onBlur:
|
|
4297
|
+
onFocus: C[4] || (C[4] = (N) => p.value = !0),
|
|
4298
|
+
onBlur: C[5] || (C[5] = (N) => p.value = !1)
|
|
3022
4299
|
}, null, 8, ["modelValue", "disabled"])
|
|
3023
4300
|
]),
|
|
3024
|
-
u("div",
|
|
4301
|
+
u("div", kn, [
|
|
3025
4302
|
u("img", {
|
|
3026
|
-
src:
|
|
3027
|
-
class:
|
|
4303
|
+
src: Ie,
|
|
4304
|
+
class: h([
|
|
3028
4305
|
"clear-icon",
|
|
3029
|
-
{ hide: !
|
|
4306
|
+
{ hide: !te.value }
|
|
3030
4307
|
]),
|
|
3031
|
-
onClick:
|
|
4308
|
+
onClick: O
|
|
3032
4309
|
}, null, 2)
|
|
3033
4310
|
])
|
|
3034
4311
|
], 34),
|
|
3035
|
-
(
|
|
4312
|
+
(w.value || S.value) && k.value ? (a(), l("div", {
|
|
3036
4313
|
key: 0,
|
|
3037
|
-
class:
|
|
4314
|
+
class: h([
|
|
3038
4315
|
"message-container",
|
|
3039
|
-
{ error:
|
|
3040
|
-
{ alert:
|
|
4316
|
+
{ error: S.value },
|
|
4317
|
+
{ alert: w.value }
|
|
3041
4318
|
])
|
|
3042
|
-
},
|
|
4319
|
+
}, L(k.value), 3)) : m("", !0)
|
|
3043
4320
|
]));
|
|
3044
4321
|
}
|
|
3045
|
-
},
|
|
4322
|
+
}, xn = /* @__PURE__ */ A(Bn, [["__scopeId", "data-v-c8a902b3"]]), Tn = { class: "group-checkbox-container" }, Sn = {
|
|
3046
4323
|
__name: "GroupCheckbox",
|
|
3047
4324
|
props: {
|
|
3048
4325
|
modelValue: {
|
|
@@ -3051,108 +4328,421 @@ const Co = /* @__PURE__ */ B(co, [["render", bo], ["__scopeId", "data-v-623b4a2e
|
|
|
3051
4328
|
}
|
|
3052
4329
|
},
|
|
3053
4330
|
emits: ["update:modelValue", "change"],
|
|
3054
|
-
setup(e, { emit:
|
|
3055
|
-
const
|
|
3056
|
-
const
|
|
3057
|
-
return
|
|
3058
|
-
|
|
3059
|
-
}),
|
|
4331
|
+
setup(e, { emit: o }) {
|
|
4332
|
+
const t = e, i = o, r = x({}), n = (s) => {
|
|
4333
|
+
const c = {};
|
|
4334
|
+
return s.forEach((_) => {
|
|
4335
|
+
c[_] = !0;
|
|
4336
|
+
}), c;
|
|
3060
4337
|
};
|
|
3061
|
-
|
|
3062
|
-
const
|
|
3063
|
-
|
|
4338
|
+
r.value = n(t.modelValue);
|
|
4339
|
+
const d = (s, c) => {
|
|
4340
|
+
c ? r.value[s] = c : delete r.value[s];
|
|
3064
4341
|
};
|
|
3065
|
-
return
|
|
3066
|
-
|
|
3067
|
-
}, { deep: !0 }),
|
|
3068
|
-
const
|
|
3069
|
-
(
|
|
3070
|
-
}, { deep: !0 }),
|
|
3071
|
-
|
|
4342
|
+
return Y(() => t.modelValue, (s) => {
|
|
4343
|
+
s.length === Object.keys(r.value).length && !s.some((c) => r.value[c] !== !0) || (r.value = n(s));
|
|
4344
|
+
}, { deep: !0 }), Y(() => r.value, (s) => {
|
|
4345
|
+
const c = Object.keys(s);
|
|
4346
|
+
(t.modelValue.length != c.length || t.modelValue.some((_) => r.value[_] !== !0)) && (i("change", c), i("update:modelValue", c));
|
|
4347
|
+
}, { deep: !0 }), fe("toggleCheckbox", d), fe("groupCheckboxContext", r), (s, c) => (a(), l("div", Tn, [
|
|
4348
|
+
D(s.$slots, "default", {}, void 0, !0)
|
|
3072
4349
|
]));
|
|
3073
4350
|
}
|
|
3074
|
-
},
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
4351
|
+
}, In = /* @__PURE__ */ A(Sn, [["__scopeId", "data-v-3a91062e"]]), Ln = {
|
|
4352
|
+
props: {
|
|
4353
|
+
content: {
|
|
4354
|
+
// The content to display in the badge (number or text)
|
|
4355
|
+
type: [String, Number],
|
|
4356
|
+
default: ""
|
|
4357
|
+
},
|
|
4358
|
+
size: {
|
|
4359
|
+
// ENUM: small, medium, large
|
|
4360
|
+
// Web to mobile: small->small, medium->small, large->large
|
|
4361
|
+
// When badge has content, size must be large
|
|
4362
|
+
type: String,
|
|
4363
|
+
default: "small"
|
|
4364
|
+
},
|
|
4365
|
+
position_type: {
|
|
4366
|
+
// ENUM: top-right, center-right
|
|
4367
|
+
// top-right: positioned at top right corner (0, 0)
|
|
4368
|
+
// center-right: center-aligned at the right side
|
|
4369
|
+
type: String,
|
|
4370
|
+
default: "top-right"
|
|
4371
|
+
},
|
|
4372
|
+
built_in_theme: {
|
|
4373
|
+
// ENUM: primary, secondary
|
|
4374
|
+
// primary: red/error color
|
|
4375
|
+
// secondary: blue color
|
|
4376
|
+
type: String,
|
|
4377
|
+
default: "primary"
|
|
4378
|
+
},
|
|
4379
|
+
customized_theme_color: {
|
|
4380
|
+
// OPTIONAL when built_in_theme is used
|
|
4381
|
+
// NOTES: Can be any valid CSS color value
|
|
4382
|
+
// NOTES: When both built_in_theme and customized_theme_color are used, customized_theme_color will override the built_in_theme
|
|
4383
|
+
type: String,
|
|
4384
|
+
default: ""
|
|
4385
|
+
},
|
|
4386
|
+
customized_class: {
|
|
4387
|
+
// Used if user wants to define their own custom styles
|
|
4388
|
+
type: String,
|
|
4389
|
+
default: ""
|
|
4390
|
+
}
|
|
4391
|
+
},
|
|
4392
|
+
computed: {
|
|
4393
|
+
hasContent() {
|
|
4394
|
+
return !!this.content;
|
|
4395
|
+
}
|
|
4396
|
+
},
|
|
4397
|
+
methods: {
|
|
4398
|
+
getBadgeThemeStyle() {
|
|
4399
|
+
if (this.customized_theme_color)
|
|
4400
|
+
try {
|
|
4401
|
+
const e = B(this.customized_theme_color);
|
|
4402
|
+
let o;
|
|
4403
|
+
if (e.l > 50) {
|
|
4404
|
+
const i = e.l - 60;
|
|
4405
|
+
o = i <= 0 ? {
|
|
4406
|
+
h: 0,
|
|
4407
|
+
s: 0,
|
|
4408
|
+
l: 0,
|
|
4409
|
+
a: e.a
|
|
4410
|
+
} : {
|
|
4411
|
+
h: e.h,
|
|
4412
|
+
s: e.s,
|
|
4413
|
+
l: i,
|
|
4414
|
+
a: e.a
|
|
4415
|
+
};
|
|
4416
|
+
} else {
|
|
4417
|
+
const i = e.l + 60;
|
|
4418
|
+
o = i >= 100 ? {
|
|
4419
|
+
h: 0,
|
|
4420
|
+
s: 0,
|
|
4421
|
+
l: 100,
|
|
4422
|
+
a: e.a
|
|
4423
|
+
} : {
|
|
4424
|
+
h: e.h,
|
|
4425
|
+
s: e.s,
|
|
4426
|
+
l: i,
|
|
4427
|
+
a: e.a
|
|
4428
|
+
};
|
|
4429
|
+
}
|
|
4430
|
+
const t = `hsl(${o.h}, ${o.s}%, ${o.l}%)`;
|
|
4431
|
+
return {
|
|
4432
|
+
"--badge-theme-color--": this.customized_theme_color,
|
|
4433
|
+
"--badge-text-color--": t
|
|
4434
|
+
};
|
|
4435
|
+
} catch (e) {
|
|
4436
|
+
return console.warn("Failed to parse customized_theme_color:", e), {
|
|
4437
|
+
"--badge-theme-color--": this.customized_theme_color
|
|
4438
|
+
};
|
|
4439
|
+
}
|
|
4440
|
+
return {};
|
|
4441
|
+
}
|
|
4442
|
+
}
|
|
4443
|
+
};
|
|
4444
|
+
function Mn(e, o, t, i, r, n) {
|
|
4445
|
+
return a(), l("div", {
|
|
4446
|
+
class: h(["badge-wrapper", t.position_type])
|
|
4447
|
+
}, [
|
|
4448
|
+
D(e.$slots, "default", {}, void 0, !0),
|
|
4449
|
+
u("span", {
|
|
4450
|
+
class: h([
|
|
4451
|
+
"badge",
|
|
4452
|
+
t.size,
|
|
4453
|
+
t.position_type,
|
|
4454
|
+
t.built_in_theme,
|
|
4455
|
+
t.customized_class,
|
|
4456
|
+
{ "has-content": n.hasContent }
|
|
4457
|
+
]),
|
|
4458
|
+
style: G(n.getBadgeThemeStyle())
|
|
4459
|
+
}, L(t.content), 7)
|
|
4460
|
+
], 2);
|
|
4461
|
+
}
|
|
4462
|
+
const Dn = /* @__PURE__ */ A(Ln, [["render", Mn], ["__scopeId", "data-v-8de2e220"]]), On = {
|
|
4463
|
+
key: 0,
|
|
4464
|
+
class: /* @__PURE__ */ h(["prefix"])
|
|
4465
|
+
}, En = {
|
|
4466
|
+
key: 1,
|
|
4467
|
+
class: /* @__PURE__ */ h(["suffix"])
|
|
4468
|
+
}, zn = {
|
|
4469
|
+
key: 1,
|
|
4470
|
+
class: /* @__PURE__ */ h(["floating-action-button-menu"])
|
|
4471
|
+
}, An = ["onClick"], Hn = {
|
|
4472
|
+
key: 0,
|
|
4473
|
+
class: /* @__PURE__ */ h(["floating-action-button-menu-item-prefix"])
|
|
4474
|
+
}, Pn = ["src"], Vn = {
|
|
4475
|
+
class: /* @__PURE__ */ h(["floating-action-button-menu-item-label"])
|
|
4476
|
+
}, Zn = {
|
|
4477
|
+
key: 1,
|
|
4478
|
+
class: /* @__PURE__ */ h(["floating-action-button-menu-item-suffix"])
|
|
4479
|
+
}, Gn = ["src"], Rn = {
|
|
4480
|
+
__name: "FloatingActionButton",
|
|
4481
|
+
props: {
|
|
4482
|
+
display_name: {
|
|
4483
|
+
type: String,
|
|
4484
|
+
default: "button"
|
|
4485
|
+
},
|
|
4486
|
+
size: {
|
|
4487
|
+
type: String,
|
|
4488
|
+
// ENUM: small, medium, large
|
|
4489
|
+
default: "small"
|
|
4490
|
+
},
|
|
4491
|
+
build_in_theme: {
|
|
4492
|
+
type: String,
|
|
4493
|
+
// ENUM: primary, secondary, tertiary, primary-container, secondary-container, tertiary-container
|
|
4494
|
+
default: "primary"
|
|
4495
|
+
},
|
|
4496
|
+
customized_theme_color: {
|
|
4497
|
+
// custom theme color, will override build_in_theme
|
|
4498
|
+
// Any valid CSS color value is accepted
|
|
4499
|
+
// e.g. 'hsl(217, 40%, 40%)', '#ff0000', 'rgb(255, 0, 0)', 'rgba(255, 0, 0, 0.5)', 'hsla(217, 40%, 40%, 0.5)'
|
|
4500
|
+
// If customized_theme_color is not provided, build_in_theme will be used
|
|
4501
|
+
// We use dynamic color calculation to calculate the color of the floating action button and all the other parts based on the customized_theme_color
|
|
4502
|
+
// If use customized_theme_color, the color will be directly used as the background color of the floating action button
|
|
4503
|
+
// and for the mask of the interaction effects and all the other part's color, e.g. text color, inline svg color, menu cross button color, menu child button color, etc., the color will be calculated based on the customized_theme_color
|
|
4504
|
+
type: String,
|
|
4505
|
+
default: ""
|
|
4506
|
+
},
|
|
4507
|
+
customized_class: {
|
|
4508
|
+
type: String,
|
|
4509
|
+
default: ""
|
|
4510
|
+
},
|
|
4511
|
+
options: {
|
|
4512
|
+
// options: [{
|
|
4513
|
+
// value: string,
|
|
4514
|
+
// label: string,
|
|
4515
|
+
// prefix?: string,
|
|
4516
|
+
// suffix?: string
|
|
4517
|
+
// }]
|
|
4518
|
+
// NOTES: ONLY support one level options, NOT support nested options
|
|
4519
|
+
type: Array,
|
|
4520
|
+
default: () => []
|
|
4521
|
+
}
|
|
4522
|
+
},
|
|
4523
|
+
emits: ["option-click", "floating-action-button-click"],
|
|
4524
|
+
setup(e, { emit: o }) {
|
|
4525
|
+
const t = e, i = o, { width: r } = le(), n = x(!1), d = I(() => r.value > 1024), s = I(() => {
|
|
4526
|
+
if (t.customized_theme_color)
|
|
4527
|
+
try {
|
|
4528
|
+
return B(t.customized_theme_color);
|
|
4529
|
+
} catch (v) {
|
|
4530
|
+
console.warn((v == null ? void 0 : v.message) ?? "customized theme color is invalid");
|
|
4531
|
+
}
|
|
4532
|
+
switch (t.build_in_theme) {
|
|
4533
|
+
case "primary":
|
|
4534
|
+
return B("var(--Schemes-primary)");
|
|
4535
|
+
case "secondary":
|
|
4536
|
+
return B("var(--Schemes-Secondary)");
|
|
4537
|
+
case "tertiary":
|
|
4538
|
+
return B("var(--Schemes-Tertiary)");
|
|
4539
|
+
case "primary-container":
|
|
4540
|
+
return B("var(--Schemes-Primary-Container)");
|
|
4541
|
+
case "secondary-container":
|
|
4542
|
+
return B("var(--Schemes-Secondary-Container)");
|
|
4543
|
+
case "tertiary-container":
|
|
4544
|
+
return B("var(--Schemes-Tertiary-Container)");
|
|
4545
|
+
default:
|
|
4546
|
+
return B("var(--Schemes-primary)");
|
|
4547
|
+
}
|
|
4548
|
+
}), c = I(() => {
|
|
4549
|
+
if (s.value.l > 50) {
|
|
4550
|
+
const v = s.value.l - 60;
|
|
4551
|
+
return v <= 0 ? {
|
|
4552
|
+
h: 0,
|
|
4553
|
+
s: 0,
|
|
4554
|
+
l: 0,
|
|
4555
|
+
a: s.value.a
|
|
4556
|
+
} : {
|
|
4557
|
+
h: s.value.h,
|
|
4558
|
+
s: s.value.s,
|
|
4559
|
+
l: v,
|
|
4560
|
+
a: s.value.a
|
|
4561
|
+
};
|
|
4562
|
+
} else {
|
|
4563
|
+
const v = s.value.l + 60;
|
|
4564
|
+
return v >= 100 ? {
|
|
4565
|
+
h: 0,
|
|
4566
|
+
s: 0,
|
|
4567
|
+
l: 100,
|
|
4568
|
+
a: s.value.a
|
|
4569
|
+
} : {
|
|
4570
|
+
h: s.value.h,
|
|
4571
|
+
s: s.value.s,
|
|
4572
|
+
l: v,
|
|
4573
|
+
a: s.value.a
|
|
4574
|
+
};
|
|
4575
|
+
}
|
|
4576
|
+
}), _ = I(() => s.value.l > 50 ? c.value : s.value), p = I(() => s.value.l > 50 ? s.value : c.value), w = I(() => ({
|
|
4577
|
+
h: s.value.h,
|
|
4578
|
+
s: s.value.s,
|
|
4579
|
+
l: 90,
|
|
4580
|
+
a: s.value.a
|
|
4581
|
+
})), S = I(() => ({
|
|
4582
|
+
h: s.value.h,
|
|
4583
|
+
s: s.value.s,
|
|
4584
|
+
l: 30,
|
|
4585
|
+
a: s.value.a
|
|
4586
|
+
})), k = (v) => {
|
|
4587
|
+
i("option-click", v);
|
|
4588
|
+
}, M = () => {
|
|
4589
|
+
var v;
|
|
4590
|
+
((v = t.options) == null ? void 0 : v.length) > 0 && (n.value = !n.value), i("floating-action-button-click");
|
|
4591
|
+
};
|
|
4592
|
+
return (v, y) => d.value ? m("", !0) : (a(), l("div", {
|
|
4593
|
+
key: 0,
|
|
4594
|
+
style: G({
|
|
4595
|
+
"--fab-button-background-color--": U(F)(s.value),
|
|
4596
|
+
"--fab-button-text-color--": U(F)(c.value),
|
|
4597
|
+
"--fab-menu-cross-button-background-color--": U(F)(_.value),
|
|
4598
|
+
"--fab-menu-cross-button-text-color--": U(F)(p.value),
|
|
4599
|
+
"--fab-menu-child-button-background-color--": U(F)(w.value),
|
|
4600
|
+
"--fab-menu-child-button-text-color--": U(F)(S.value)
|
|
4601
|
+
}),
|
|
4602
|
+
class: h(["floating-action-button-container", e.size, e.customized_class])
|
|
4603
|
+
}, [
|
|
4604
|
+
n.value ? m("", !0) : (a(), l("div", {
|
|
4605
|
+
key: 0,
|
|
4606
|
+
class: h(["floating-action-button"]),
|
|
4607
|
+
onClick: M
|
|
4608
|
+
}, [
|
|
4609
|
+
v.$slots.prefix ? (a(), l("div", On, [
|
|
4610
|
+
D(v.$slots, "prefix", {}, void 0, !0)
|
|
4611
|
+
])) : m("", !0),
|
|
4612
|
+
D(v.$slots, "default", {}, () => [
|
|
4613
|
+
u("div", null, L(e.display_name), 1)
|
|
4614
|
+
], !0),
|
|
4615
|
+
v.$slots.suffix ? (a(), l("div", En, [
|
|
4616
|
+
D(v.$slots, "suffix", {}, void 0, !0)
|
|
4617
|
+
])) : m("", !0)
|
|
4618
|
+
])),
|
|
4619
|
+
n.value ? (a(), l("div", zn, [
|
|
4620
|
+
(a(!0), l(ie, null, se(e.options, (g) => (a(), l("div", {
|
|
4621
|
+
key: g.value,
|
|
4622
|
+
class: h(["floating-action-button-menu-item"]),
|
|
4623
|
+
onClick: (O) => k(g.value)
|
|
4624
|
+
}, [
|
|
4625
|
+
g.prefix ? (a(), l("div", Hn, [
|
|
4626
|
+
u("img", {
|
|
4627
|
+
src: g.prefix
|
|
4628
|
+
}, null, 8, Pn)
|
|
4629
|
+
])) : m("", !0),
|
|
4630
|
+
u("div", Vn, L(g.label), 1),
|
|
4631
|
+
g.suffix ? (a(), l("div", Zn, [
|
|
4632
|
+
u("img", {
|
|
4633
|
+
src: g.suffix
|
|
4634
|
+
}, null, 8, Gn)
|
|
4635
|
+
])) : m("", !0)
|
|
4636
|
+
], 8, An))), 128)),
|
|
4637
|
+
u("div", {
|
|
4638
|
+
class: h(["menu-cross-button"]),
|
|
4639
|
+
onClick: y[0] || (y[0] = (g) => n.value = !1)
|
|
4640
|
+
}, y[1] || (y[1] = [
|
|
4641
|
+
u("svg", {
|
|
4642
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4643
|
+
width: "20",
|
|
4644
|
+
height: "20",
|
|
4645
|
+
viewBox: "0 0 20 20",
|
|
4646
|
+
fill: "none"
|
|
4647
|
+
}, [
|
|
4648
|
+
u("path", {
|
|
4649
|
+
d: "M5.33073 15.8307L4.16406 14.6641L8.83073 9.9974L4.16406 5.33073L5.33073 4.16406L9.9974 8.83073L14.6641 4.16406L15.8307 5.33073L11.1641 9.9974L15.8307 14.6641L14.6641 15.8307L9.9974 11.1641L5.33073 15.8307Z",
|
|
4650
|
+
fill: "currentColor"
|
|
4651
|
+
})
|
|
4652
|
+
], -1)
|
|
4653
|
+
]))
|
|
4654
|
+
])) : m("", !0)
|
|
4655
|
+
], 6));
|
|
4656
|
+
}
|
|
4657
|
+
}, Un = /* @__PURE__ */ A(Rn, [["__scopeId", "data-v-e8e0f96e"]]), Fn = {
|
|
4658
|
+
mounted(e, o) {
|
|
4659
|
+
const t = document.createElement("div");
|
|
4660
|
+
t.classList.add("component-loading-spinner"), t.style.display = "none", e._spinner = t, e.style.position = "relative", e.appendChild(t), o.value && (t.style.display = "flex");
|
|
3078
4661
|
},
|
|
3079
|
-
updated(e,
|
|
3080
|
-
|
|
4662
|
+
updated(e, o) {
|
|
4663
|
+
o.value ? e._spinner.style.display = "flex" : e._spinner.style.display = "none";
|
|
3081
4664
|
},
|
|
3082
4665
|
unmounted(e) {
|
|
3083
4666
|
e.removeChild(e._spinner);
|
|
3084
4667
|
}
|
|
3085
|
-
},
|
|
3086
|
-
mounted(e,
|
|
3087
|
-
const
|
|
3088
|
-
|
|
3089
|
-
const c = document.createElement("div");
|
|
3090
|
-
c.classList.add("whole-page-loading-spinner-container");
|
|
3091
|
-
const n = document.createElement("div");
|
|
3092
|
-
n.classList.add("whole-page-loading-spinner-icon-container");
|
|
3093
|
-
const r = document.createElement("div");
|
|
3094
|
-
r.classList.add("whole-page-loading-hourglass-icon-div"), n.appendChild(r);
|
|
4668
|
+
}, jn = {
|
|
4669
|
+
mounted(e, o) {
|
|
4670
|
+
const t = document.createElement("div");
|
|
4671
|
+
t.classList.add("whole-page-loading-mask"), t.style.display = "none";
|
|
3095
4672
|
const i = document.createElement("div");
|
|
3096
|
-
i.classList.add("whole-page-loading-
|
|
4673
|
+
i.classList.add("whole-page-loading-spinner-container");
|
|
4674
|
+
const r = document.createElement("div");
|
|
4675
|
+
r.classList.add("whole-page-loading-spinner-icon-container");
|
|
4676
|
+
const n = document.createElement("div");
|
|
4677
|
+
n.classList.add("whole-page-loading-hourglass-icon-div"), r.appendChild(n);
|
|
3097
4678
|
const d = document.createElement("div");
|
|
3098
|
-
d.classList.add("whole-page-loading-
|
|
4679
|
+
d.classList.add("whole-page-loading-progress-circle-div"), r.appendChild(d), i.appendChild(r);
|
|
4680
|
+
const s = document.createElement("div");
|
|
4681
|
+
s.classList.add("whole-page-loading-text-div"), i.appendChild(s), t.appendChild(i), e._spinnerMask = t, e.style.position = "relative", e.appendChild(t), o.value && (e._spinnerMask.style.display = "flex");
|
|
3099
4682
|
},
|
|
3100
|
-
updated(e,
|
|
3101
|
-
|
|
4683
|
+
updated(e, o) {
|
|
4684
|
+
o.value ? e._spinnerMask.style.display = "flex" : e._spinnerMask.style.display = "none";
|
|
3102
4685
|
},
|
|
3103
4686
|
unmounted(e) {
|
|
3104
4687
|
e.removeChild(e._spinnerMask);
|
|
3105
4688
|
}
|
|
3106
|
-
},
|
|
3107
|
-
function
|
|
3108
|
-
var
|
|
3109
|
-
|
|
3110
|
-
const
|
|
3111
|
-
render: () =>
|
|
3112
|
-
|
|
4689
|
+
}, be = {};
|
|
4690
|
+
function Yn(e, o) {
|
|
4691
|
+
var t = document.getElementById("floating-notifications-container");
|
|
4692
|
+
t || (t = document.createElement("div"), t.id = "floating-notifications-container", document.body.appendChild(t));
|
|
4693
|
+
const i = Date.now(), r = Ue({
|
|
4694
|
+
render: () => Fe(
|
|
4695
|
+
ze,
|
|
3113
4696
|
{
|
|
3114
4697
|
...e,
|
|
3115
|
-
id:
|
|
3116
|
-
notification_instances_collection:
|
|
4698
|
+
id: i,
|
|
4699
|
+
notification_instances_collection: be,
|
|
3117
4700
|
mounted_programmatically: !0
|
|
3118
4701
|
},
|
|
3119
|
-
|
|
4702
|
+
o
|
|
3120
4703
|
)
|
|
3121
4704
|
});
|
|
3122
|
-
|
|
3123
|
-
const
|
|
3124
|
-
|
|
4705
|
+
be[i] = r;
|
|
4706
|
+
const n = document.createElement("div");
|
|
4707
|
+
n.style.transition = "all 0.5s ease-out", t.prepend(n), r.mount(n);
|
|
3125
4708
|
}
|
|
3126
|
-
const
|
|
3127
|
-
"component-loading":
|
|
3128
|
-
"whole-page-loading":
|
|
3129
|
-
},
|
|
3130
|
-
Object.keys(
|
|
3131
|
-
e.component(
|
|
3132
|
-
}), Object.keys(
|
|
3133
|
-
e.directive(
|
|
4709
|
+
const ge = { SimplifiedNotification: ze, ResponsiveButton: Ft, InputBox: Ae, SingleSelector: He, Checkbox: qo, Radio: an, WholePageErrorPopup: wn, AreaCodePhoneInput: xn, GroupCheckbox: In, DropdownMenu: me, Badge: Dn, FloatingActionButton: Un, DynamicColorResponsiveButton: he }, Ce = {
|
|
4710
|
+
"component-loading": Fn,
|
|
4711
|
+
"whole-page-loading": jn
|
|
4712
|
+
}, $n = (e) => {
|
|
4713
|
+
Object.keys(ge).forEach((o) => {
|
|
4714
|
+
e.component(o, ge[o]);
|
|
4715
|
+
}), Object.keys(Ce).forEach((o) => {
|
|
4716
|
+
e.directive(o, Ce[o]);
|
|
3134
4717
|
});
|
|
3135
|
-
},
|
|
3136
|
-
var
|
|
3137
|
-
for (const e in
|
|
3138
|
-
const
|
|
3139
|
-
|
|
4718
|
+
}, qn = { install: $n }, Ne = /* @__PURE__ */ Object.assign({ "./assets/icons/black_arrow_down.svg": $e, "./assets/icons/black_arrow_to_right.svg": We, "./assets/icons/black_calendar_icon.svg": Je, "./assets/icons/black_magnifying_glass_icon.svg": qe, "./assets/icons/cyan_arrow_down.svg": Qe, "./assets/icons/cyan_hourglass_icon.svg": et, "./assets/icons/dark_blue_arrow_down.svg": tt, "./assets/icons/dark_gray_arrow_down.svg": nt, "./assets/icons/eye_icon.svg": it, "./assets/icons/eye_with_cross_icon.svg": at, "./assets/icons/green_notification_icon.svg": lt, "./assets/icons/grey_arrow_down.svg": dt, "./assets/icons/grey_arrow_to_right.svg": ut, "./assets/icons/info_blue_icon.svg": ct, "./assets/icons/input_clear_icon.svg": _t, "./assets/icons/notification_cross_icon.svg": yt, "./assets/icons/red_notification_icon.svg": ht, "./assets/icons/red_sad_face.svg": mt, "./assets/icons/white_arrow_down.svg": pt, "./assets/icons/yellow_notification_icon.svg": ft });
|
|
4719
|
+
var Wn = {};
|
|
4720
|
+
for (const e in Ne) {
|
|
4721
|
+
const o = e.split("/").pop().replace(".svg", "");
|
|
4722
|
+
Wn[o] = Ne[e].default;
|
|
3140
4723
|
}
|
|
3141
4724
|
export {
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
4725
|
+
xn as AreaCodePhoneInput,
|
|
4726
|
+
Dn as Badge,
|
|
4727
|
+
qo as Checkbox,
|
|
4728
|
+
me as DropdownMenu,
|
|
4729
|
+
he as DynamicColorResponsiveButton,
|
|
4730
|
+
Un as FloatingActionButton,
|
|
4731
|
+
Yn as FloatingNotification,
|
|
4732
|
+
In as GroupCheckbox,
|
|
4733
|
+
Ae as InputBox,
|
|
4734
|
+
an as Radio,
|
|
4735
|
+
Ft as ResponsiveButton,
|
|
4736
|
+
ze as SimplifiedNotification,
|
|
4737
|
+
He as SingleSelector,
|
|
4738
|
+
wn as WholePageErrorPopup,
|
|
4739
|
+
Fn as component_loading,
|
|
4740
|
+
qn as default,
|
|
4741
|
+
Ne as icons,
|
|
4742
|
+
Wn as iconsMap,
|
|
4743
|
+
B as parseColorToHsl,
|
|
4744
|
+
Jn as toHsl,
|
|
4745
|
+
F as toHslString,
|
|
4746
|
+
le as useWindowSize,
|
|
4747
|
+
jn as whole_page_loading
|
|
3158
4748
|
};
|