pns-component-library 1.0.0 → 1.2.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
CHANGED
|
@@ -1,3 +1,71 @@
|
|
|
1
1
|
# PNS Component Library Vue 3 + Vite
|
|
2
2
|
|
|
3
3
|
This library provides some ready-to-use responsive components with Vue 3. Developers can directly use the components without setting the non-web UI and UX (all included in the library).
|
|
4
|
+
|
|
5
|
+
## How to Set Up
|
|
6
|
+
You have already created a vue project.
|
|
7
|
+
### Step 1:
|
|
8
|
+
```
|
|
9
|
+
npm install pns-component-library
|
|
10
|
+
```
|
|
11
|
+
### Step 2:
|
|
12
|
+
In your main.js, import the library and use it for your app instance.
|
|
13
|
+
```vue
|
|
14
|
+
import { createApp } from 'vue';
|
|
15
|
+
import PNSComponentLibray from "pns-component-library";
|
|
16
|
+
|
|
17
|
+
const app = createApp(App);
|
|
18
|
+
app.use(PNSComponentLibray);
|
|
19
|
+
```
|
|
20
|
+
### Step 3
|
|
21
|
+
Now you should be able to access the components, directives and icons in the library.
|
|
22
|
+
|
|
23
|
+
## Components:
|
|
24
|
+
- SimplifiedNotification
|
|
25
|
+
- InputBox
|
|
26
|
+
- SingleSelector
|
|
27
|
+
- ResponsiveButton
|
|
28
|
+
|
|
29
|
+
## Directives:
|
|
30
|
+
- component-loading
|
|
31
|
+
|
|
32
|
+
## Icons:
|
|
33
|
+
If `npm install pns-component-library`, and want to use any following icons: <br>
|
|
34
|
+
<pre>import { iconsMap } from "pns-component-library</pre>
|
|
35
|
+
iconsMap.[iconName] is the URL or Data URI (Uniform Resource Identifier) of the corresponding svg icon.
|
|
36
|
+
Eg.
|
|
37
|
+
```vue
|
|
38
|
+
<template>
|
|
39
|
+
<img :src = "iconsMap['eye_icon']" />
|
|
40
|
+
</template>
|
|
41
|
+
<script>
|
|
42
|
+
import { iconsMap } from "pns-component-library
|
|
43
|
+
export default{
|
|
44
|
+
data(){
|
|
45
|
+
return{
|
|
46
|
+
iconsMap,
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
</script>
|
|
51
|
+
```
|
|
52
|
+
### All icons' names
|
|
53
|
+
- black_arrow_down
|
|
54
|
+
- black_arrow_to_right
|
|
55
|
+
- black_calendar_icon
|
|
56
|
+
- black_magnifying_glass_icon
|
|
57
|
+
- cyan_arrow_down
|
|
58
|
+
- dark_blue_arrow_down
|
|
59
|
+
- dark_gray_arrow_down
|
|
60
|
+
- eye_icon
|
|
61
|
+
- eye_with_cross_icon
|
|
62
|
+
- green_notification_icon
|
|
63
|
+
- grey_arrow_down
|
|
64
|
+
- grey_arrow_to_right
|
|
65
|
+
- info_blue_icon
|
|
66
|
+
- input_clear_icon
|
|
67
|
+
- notification_cross_icon
|
|
68
|
+
- red_notification_icon
|
|
69
|
+
- white_arrow_down
|
|
70
|
+
- yellow_notification_icon
|
|
71
|
+
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.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-2eec1ba2]{animation:fadeOut-2eec1ba2 var(--fade-out-duration-ms, 3s) forwards}@keyframes fadeOut-2eec1ba2{0%{opacity:1}90%{opacity:.8}to{opacity:0}}.simplified-notification[data-v-2eec1ba2]{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-2eec1ba2]{background:#e8f4fd}.simplified-notification.red[data-v-2eec1ba2]{background:#faeaea}.simplified-notification.yellow[data-v-2eec1ba2]{background:#fff7df}.simplified-notification.green[data-v-2eec1ba2]{background:#ebf4ec}.prefix_icon[data-v-2eec1ba2]{width:24px;height:24px}.prefix-icon-container[data-v-2eec1ba2]{display:flex;align-items:center}.close-btn-container[data-v-2eec1ba2]{display:flex;flex-direction:column}.close-btn[data-v-2eec1ba2]{cursor:pointer}.notifiction-text[data-v-2eec1ba2]{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-2eec1ba2]{width:100%}.title[data-v-2eec1ba2]{color:#000;font-family:Roboto;font-size:14px;font-weight:600;line-height:16px;margin-bottom:4px}.content-details[data-v-2eec1ba2]{min-height:24px;display:flex;align-items:center}@media only screen and (max-width:767px){.simplified-notification[data-v-2eec1ba2]{padding:8px 12px;gap:8px}}.responsive-button-wrapper[data-v-dbbab9e8]{position:relative}.responsive-button-wrapper.fill-whole[data-v-dbbab9e8]{width:100%;height:fit-content}.responsive-button-wrapper.fit-content[data-v-dbbab9e8]{width:fit-content;height:fit-content}.responsive-button-wrapper[data-v-dbbab9e8] .component-loading-spinner{border-radius:4px}.responsive-button-wrapper[data-v-dbbab9e8] .component-loading-spinner:after{height:25px;width:25px}.responsive-button[data-v-dbbab9e8]{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-dbbab9e8]{min-width:90px}.responsive-button.no-display-name[data-v-dbbab9e8]{min-width:0px!important}.button-content[data-v-dbbab9e8]{display:flex;column-gap:8px;align-items:center}.prefix-wrapper[data-v-dbbab9e8],.suffix-wrapper[data-v-dbbab9e8]{width:20px;height:20px;flex-shrink:0}.rotate-0[data-v-dbbab9e8]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-dbbab9e8]{transform:rotate(180deg)}.responsive-button.xsmall[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.xsmall[data-v-dbbab9e8]{width:fit-content;padding:7px 23px}.responsive-button.no-display-name.fit-content.xsmall[data-v-dbbab9e8]{width:fit-content;padding:7px!important}.responsive-button.fit-content.xsmall.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.xsmall.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.xsmall.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.xsmall[data-v-dbbab9e8]{width:100%;padding:7px}.responsive-button.small[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:9px 23px}.responsive-button.no-display-name.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:9px!important}.responsive-button.fit-content.small.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.small.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.small[data-v-dbbab9e8]{width:100%;padding:9px 7px}.responsive-button.medium[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:10px 23px}.responsive-button.no-display-name.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:10px!important}.responsive-button.fit-content.medium.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.medium[data-v-dbbab9e8]{width:100%;padding:10px 7px}.responsive-button.large[data-v-dbbab9e8]{font-size:16px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:11px 23px}.responsive-button.no-display-name.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:11px!important}.responsive-button.fit-content.large.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:11px 23px 11px 15px}.responsive-button.fit-content.large.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:11px 15px 11px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:11px 15px}.responsive-button.fill-whole.large[data-v-dbbab9e8]{width:100%;padding:11px 7px}.disabled[data-v-dbbab9e8]{cursor:not-allowed}.outlined-primary[data-v-dbbab9e8]{border:1px solid #1E4670;background:#fff;color:#1e4670}.outlined-primary[data-v-dbbab9e8]:hover{background:#ecf2f8}.outlined-primary.focused[data-v-dbbab9e8],.outlined-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.outlined-primary.disabled[data-v-dbbab9e8],.outlined-primary.disabled[data-v-dbbab9e8]:hover,.outlined-primary.disabled.focused[data-v-dbbab9e8],.outlined-primary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-primary[data-v-dbbab9e8]{border:1px solid #1E4670;background:#1e4670;color:#fff}.filled-primary[data-v-dbbab9e8]:hover{background:#022a53}.filled-primary.focused[data-v-dbbab9e8],.filled-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#022a53}.filled-primary.disabled[data-v-dbbab9e8],.filled-primary.disabled[data-v-dbbab9e8]:hover,.filled-primary.disabled.focused .filled-primary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#979797}.text-primary[data-v-dbbab9e8]{border:1px solid transparent;background:#fff;color:#1e4670}.text-primary[data-v-dbbab9e8]:hover{background:#ecf2f8}.text-primary.focused[data-v-dbbab9e8],.text-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.text-primary.disabled[data-v-dbbab9e8],.text-primary.disabled[data-v-dbbab9e8]:hover,.text-primary.disabled.focused[data-v-dbbab9e8],.text-primary.disabled[data-v-dbbab9e8]:active{color:#979797}.outlined-secondary[data-v-dbbab9e8]{border:1px solid #20A8C3;background:#fff;color:#20a8c3}.outlined-secondary[data-v-dbbab9e8]:hover{background:#e8f0f4}.outlined-secondary.focused[data-v-dbbab9e8],.outlined-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.outlined-secondary.disabled[data-v-dbbab9e8],.outlined-secondary.disabled[data-v-dbbab9e8]:hover,.outlined-secondary.disabled.focused[data-v-dbbab9e8],.outlined-secondary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-secondary[data-v-dbbab9e8]{border:1px solid #20A8C3;background:#20a8c3;color:#fff}.filled-secondary[data-v-dbbab9e8]:hover{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#20a8c3;box-shadow:0 1px 2px #0000004d,0 1px 3px 1px #00000026}.filled-secondary.focused[data-v-dbbab9e8],.filled-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#20a8c3}.filled-secondary.disabled[data-v-dbbab9e8],.filled-secondary.disabled[data-v-dbbab9e8]:hover,.filled-secondary.disabled.focused[data-v-dbbab9e8],.filled-secondary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#979797}.text-secondary[data-v-dbbab9e8]{border:1px solid transparent;background:#fff;color:#20a8c3}.text-secondary[data-v-dbbab9e8]:hover{background:#e8f0f4}.text-secondary.focused[data-v-dbbab9e8],.text-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.text-secondary.disabled[data-v-dbbab9e8],.text-secondary.disabled[data-v-dbbab9e8]:hover,.text-secondary.disabled.focused[data-v-dbbab9e8],.text-secondary.disabled[data-v-dbbab9e8]:active{color:#979797}.responsive-button-dropdown[data-v-dbbab9e8]{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-dbbab9e8]{width:100%}.fit-content .responsive-button-dropdown[data-v-dbbab9e8]{width:fit-content}.responsive-button-dropdown.sub-dropdown[data-v-dbbab9e8]{width:fit-content!important}.responsive-button-dropdown-option[data-v-dbbab9e8]{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-dbbab9e8]{border-radius:4px!important;background:#faebe6!important}.responsive-button-dropdown-option.disabled[data-v-dbbab9e8],.responsive-button-dropdown-option.disabled.hovered[data-v-dbbab9e8]{color:#979797!important;cursor:not-allowed!important}.responsive-button-dropdown-option .button-name[data-v-dbbab9e8]{text-align:left}.non-web-responsive-button-nested-dropdown-button[data-v-dbbab9e8]{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-dbbab9e8],.fit-content .non-web-responsive-button-dropdown-option[data-v-dbbab9e8]{width:100%}.non-web-responsive-button-dropdown-option[data-v-dbbab9e8]{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-dbbab9e8]:active{border-radius:4px!important;background:#faebe6!important}.non-web-responsive-button-dropdown-option.disabled[data-v-dbbab9e8],.non-web-responsive-button-dropdown-option.disabled[data-v-dbbab9e8]:active{color:#979797!important;cursor:not-allowed!important}@media only screen and (max-width:767px){.simplified-notification[data-v-dbbab9e8]{padding:8px 12px;gap:8px}.responsive-button.small[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:7px 23px}.responsive-button.fit-content.small.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.small.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.small[data-v-dbbab9e8]{width:100%;padding:7px}.responsive-button.medium[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:9px 23px}.responsive-button.fit-content.medium.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.medium[data-v-dbbab9e8]{width:100%;padding:9px 7px}.responsive-button.large[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:10px 23px}.responsive-button.fit-content.large.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.large.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.large[data-v-dbbab9e8]{width:100%;padding:10px 7px}.responsive-button-dropdown-option[data-v-dbbab9e8]{font-size:14px!important;font-weight:400!important;line-height:20px!important;letter-spacing:.25px!important}.responsive-button-dropdown[data-v-dbbab9e8]{min-width:267px}}.input-box-unit-wrapper[data-v-8f8a50f7]{width:100%;display:flex;flex-direction:column;row-gap:8px}.input-box-unit[data-v-8f8a50f7]{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-8f8a50f7]:hover{border:1px solid #DEE6ED}.input-box-unit.is-focus[data-v-8f8a50f7]{border:1px solid #9BB2CA}.input-box-unit.has-prefix[data-v-8f8a50f7],.input-box-unit.has-prefix.has-suffix[data-v-8f8a50f7]{padding:8px 11px}.input-box-unit.has-suffix[data-v-8f8a50f7]{padding-left:15px}.input-box-unit.error[data-v-8f8a50f7]{border:1px solid #DE583F}.input-box-unit.alert[data-v-8f8a50f7]{border:1px solid #E0961E}.input-box-unit.disabled[data-v-8f8a50f7]{background:#f2f2f2;cursor:not-allowed}.input-box-unit.disabled[data-v-8f8a50f7]:hover{border:1px solid #BCCCDC}.input-box[data-v-8f8a50f7]{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-8f8a50f7]::placeholder{color:#979797;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.input-box[data-v-8f8a50f7]::-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-8f8a50f7],.suffix-wrapper[data-v-8f8a50f7]{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-8f8a50f7]{min-width:20px}.suffix-wrapper.with-date-icon[data-v-8f8a50f7]{position:absolute;right:40px}.clear-icon[data-v-8f8a50f7]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-8f8a50f7]:hover{opacity:1}.hide[data-v-8f8a50f7]{display:none}.message-container[data-v-8f8a50f7]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-8f8a50f7]{color:#de583f}.message-container.alert[data-v-8f8a50f7]{color:#e0961e}@media only screen and (max-width:767px){.input-box-unit-wrapper[data-v-8f8a50f7]{row-gap:4px}.input-box-unit[data-v-8f8a50f7]{padding:7px 11px;column-gap:8px}.input-box-unit.has-prefix[data-v-8f8a50f7],.input-box-unit.has-prefix.has-suffix[data-v-8f8a50f7]{padding:7px 11px}.input-box-unit.has-suffix[data-v-8f8a50f7]{padding-left:13px}.input-box[data-v-8f8a50f7]{font-size:14px;line-height:20px;letter-spacing:.25px;height:20px}.input-box[data-v-8f8a50f7]::placeholder{font-size:14px;line-height:20px;letter-spacing:.25px}.input-box[data-v-8f8a50f7]::-webkit-calendar-picker-indicator{height:20px}.prefix-wrapper[data-v-8f8a50f7]{min-width:20px;height:20px}.suffix-wrapper[data-v-8f8a50f7]{min-width:20px;height:20px;column-gap:0px}.suffix-wrapper.with-date-icon[data-v-8f8a50f7]{right:32px}.clear-icon[data-v-8f8a50f7]{width:36px;height:36px;box-sizing:border-box;padding:10px}.message-container[data-v-8f8a50f7]{font-size:14px;line-height:16px}}.single-selector-unit-wrapper[data-v-6da857c3]{width:100%;display:flex;flex-direction:column;row-gap:8px}.single-selector[data-v-6da857c3]{height:fit-content;width:100%;box-sizing:border-box;padding:9px 12px 9px 16px;display:flex;align-items:center;justify-content:space-between;column-gap:12px;border-radius:4px;box-shadow:inset 0 0 0 1px #bcccdc;background:#fff;cursor:pointer;position:relative}.single-selector[data-v-6da857c3]:hover{box-shadow:inset 0 0 0 1px #dee6ed}.single-selector.has-prefix[data-v-6da857c3]{padding-left:12px}.single-selector.is-focus[data-v-6da857c3]{box-shadow:inset 0 0 0 1px #9bb2ca}.single-selector.error[data-v-6da857c3]{box-shadow:inset 0 0 0 1px #de583f}.single-selector.alert[data-v-6da857c3]{box-shadow:inset 0 0 0 1px #e0961e}.single-selector.disabled[data-v-6da857c3]{background:#f2f2f2;cursor:not-allowed}.single-selector.disabled[data-v-6da857c3]:hover{box-shadow:inset 0 0 0 1px #bcccdc}.selected-content[data-v-6da857c3]{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-6da857c3]{display:none}.content-text[data-v-6da857c3]{color:#1c1b1f}.placeholder[data-v-6da857c3]{color:#979797}.single-selector.disabled .content-text[data-v-6da857c3],.single-selector.disabled .placeholder[data-v-6da857c3]{color:#555}.filter-input[data-v-6da857c3]{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-6da857c3]{width:100%;height:100%}.prefix-wrapper[data-v-6da857c3],.suffix-wrapper[data-v-6da857c3]{display:flex;align-items:center;column-gap:4px;flex-shrink:0;min-width:24px;width:fit-content;height:24px}.rotate-0[data-v-6da857c3]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-6da857c3]{transform:rotate(180deg)}.clear-icon[data-v-6da857c3]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-6da857c3]:hover{opacity:1}.single-selector-dropdown[data-v-6da857c3]{width:inherit;height:fit-content;max-height:233px;padding:8px 11px;box-sizing:border-box;border-radius:4px;border:1px solid #BCCCDC;background:#fff;overflow:auto;position:absolute;z-index:1000;top:50px;left:0}.no-data-notes[data-v-6da857c3]{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-6da857c3]{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-6da857c3]:hover{background:#faebe6}.dropdown-item.selected[data-v-6da857c3]{font-weight:600}.message-container[data-v-6da857c3]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-6da857c3]{color:#de583f}.message-container.alert[data-v-6da857c3]{color:#e0961e}@media only screen and (max-width:767px){.single-selector-unit-wrapper[data-v-6da857c3]{row-gap:4px}.single-selector[data-v-6da857c3]{column-gap:8px;padding:8px 12px 8px 14px}.selected-content[data-v-6da857c3]{font-size:14px;line-height:20px;letter-spacing:.25px}.filter-input[data-v-6da857c3]{font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;height:20px}.prefix-wrapper[data-v-6da857c3],.suffix-wrapper[data-v-6da857c3]{min-width:20px;height:20px;display:flex;align-items:center;column-gap:0px;flex-shrink:0}.clear-icon[data-v-6da857c3]{width:36px;height:36px;right:32px;box-sizing:border-box;padding:10px}.single-selector-dropdown[data-v-6da857c3]{max-height:176px;padding:7px;top:40px}.no-data-notes[data-v-6da857c3]{font-size:14px;line-height:20px;letter-spacing:.25px}.dropdown-item[data-v-6da857c3]{padding:6px 4px;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.message-container[data-v-6da857c3]{font-size:14px;line-height:16px}}.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}@keyframes spin{to{transform:rotate(360deg)}}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.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-9757f7de]{animation:fadeOut-9757f7de var(--fade-out-duration-ms, 3s) forwards}@keyframes fadeOut-9757f7de{0%{opacity:1}90%{opacity:.8}to{opacity:0}}.simplified-notification[data-v-9757f7de]{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-9757f7de]{background:#e8f4fd}.simplified-notification.red[data-v-9757f7de]{background:#faeaea}.simplified-notification.yellow[data-v-9757f7de]{background:#fff7df}.simplified-notification.green[data-v-9757f7de]{background:#ebf4ec}.prefix_icon[data-v-9757f7de]{width:24px;height:24px}.prefix-icon-container[data-v-9757f7de]{display:flex;align-items:center}.close-btn-container[data-v-9757f7de]{display:flex;flex-direction:column}.close-btn[data-v-9757f7de]{cursor:pointer}.notifiction-text[data-v-9757f7de]{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-9757f7de]{width:100%}.title[data-v-9757f7de]{color:#000;font-family:Roboto;font-size:14px;font-weight:600;line-height:16px;margin-bottom:4px}.content-details[data-v-9757f7de]{min-height:24px;display:flex;align-items:center}@media only screen and (max-width:767px){.simplified-notification[data-v-9757f7de]{padding:8px 12px;gap:8px}}.responsive-button-wrapper[data-v-dbbab9e8]{position:relative}.responsive-button-wrapper.fill-whole[data-v-dbbab9e8]{width:100%;height:fit-content}.responsive-button-wrapper.fit-content[data-v-dbbab9e8]{width:fit-content;height:fit-content}.responsive-button-wrapper[data-v-dbbab9e8] .component-loading-spinner{border-radius:4px}.responsive-button-wrapper[data-v-dbbab9e8] .component-loading-spinner:after{height:25px;width:25px}.responsive-button[data-v-dbbab9e8]{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-dbbab9e8]{min-width:90px}.responsive-button.no-display-name[data-v-dbbab9e8]{min-width:0px!important}.button-content[data-v-dbbab9e8]{display:flex;column-gap:8px;align-items:center}.prefix-wrapper[data-v-dbbab9e8],.suffix-wrapper[data-v-dbbab9e8]{width:20px;height:20px;flex-shrink:0}.rotate-0[data-v-dbbab9e8]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-dbbab9e8]{transform:rotate(180deg)}.responsive-button.xsmall[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.xsmall[data-v-dbbab9e8]{width:fit-content;padding:7px 23px}.responsive-button.no-display-name.fit-content.xsmall[data-v-dbbab9e8]{width:fit-content;padding:7px!important}.responsive-button.fit-content.xsmall.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.xsmall.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.xsmall.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.xsmall[data-v-dbbab9e8]{width:100%;padding:7px}.responsive-button.small[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:9px 23px}.responsive-button.no-display-name.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:9px!important}.responsive-button.fit-content.small.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.small.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.small[data-v-dbbab9e8]{width:100%;padding:9px 7px}.responsive-button.medium[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:10px 23px}.responsive-button.no-display-name.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:10px!important}.responsive-button.fit-content.medium.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.medium[data-v-dbbab9e8]{width:100%;padding:10px 7px}.responsive-button.large[data-v-dbbab9e8]{font-size:16px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:11px 23px}.responsive-button.no-display-name.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:11px!important}.responsive-button.fit-content.large.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:11px 23px 11px 15px}.responsive-button.fit-content.large.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:11px 15px 11px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:11px 15px}.responsive-button.fill-whole.large[data-v-dbbab9e8]{width:100%;padding:11px 7px}.disabled[data-v-dbbab9e8]{cursor:not-allowed}.outlined-primary[data-v-dbbab9e8]{border:1px solid #1E4670;background:#fff;color:#1e4670}.outlined-primary[data-v-dbbab9e8]:hover{background:#ecf2f8}.outlined-primary.focused[data-v-dbbab9e8],.outlined-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.outlined-primary.disabled[data-v-dbbab9e8],.outlined-primary.disabled[data-v-dbbab9e8]:hover,.outlined-primary.disabled.focused[data-v-dbbab9e8],.outlined-primary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-primary[data-v-dbbab9e8]{border:1px solid #1E4670;background:#1e4670;color:#fff}.filled-primary[data-v-dbbab9e8]:hover{background:#022a53}.filled-primary.focused[data-v-dbbab9e8],.filled-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#022a53}.filled-primary.disabled[data-v-dbbab9e8],.filled-primary.disabled[data-v-dbbab9e8]:hover,.filled-primary.disabled.focused .filled-primary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#979797}.text-primary[data-v-dbbab9e8]{border:1px solid transparent;background:#fff;color:#1e4670}.text-primary[data-v-dbbab9e8]:hover{background:#ecf2f8}.text-primary.focused[data-v-dbbab9e8],.text-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.text-primary.disabled[data-v-dbbab9e8],.text-primary.disabled[data-v-dbbab9e8]:hover,.text-primary.disabled.focused[data-v-dbbab9e8],.text-primary.disabled[data-v-dbbab9e8]:active{color:#979797}.outlined-secondary[data-v-dbbab9e8]{border:1px solid #20A8C3;background:#fff;color:#20a8c3}.outlined-secondary[data-v-dbbab9e8]:hover{background:#e8f0f4}.outlined-secondary.focused[data-v-dbbab9e8],.outlined-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.outlined-secondary.disabled[data-v-dbbab9e8],.outlined-secondary.disabled[data-v-dbbab9e8]:hover,.outlined-secondary.disabled.focused[data-v-dbbab9e8],.outlined-secondary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-secondary[data-v-dbbab9e8]{border:1px solid #20A8C3;background:#20a8c3;color:#fff}.filled-secondary[data-v-dbbab9e8]:hover{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#20a8c3;box-shadow:0 1px 2px #0000004d,0 1px 3px 1px #00000026}.filled-secondary.focused[data-v-dbbab9e8],.filled-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#20a8c3}.filled-secondary.disabled[data-v-dbbab9e8],.filled-secondary.disabled[data-v-dbbab9e8]:hover,.filled-secondary.disabled.focused[data-v-dbbab9e8],.filled-secondary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#979797}.text-secondary[data-v-dbbab9e8]{border:1px solid transparent;background:#fff;color:#20a8c3}.text-secondary[data-v-dbbab9e8]:hover{background:#e8f0f4}.text-secondary.focused[data-v-dbbab9e8],.text-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.text-secondary.disabled[data-v-dbbab9e8],.text-secondary.disabled[data-v-dbbab9e8]:hover,.text-secondary.disabled.focused[data-v-dbbab9e8],.text-secondary.disabled[data-v-dbbab9e8]:active{color:#979797}.responsive-button-dropdown[data-v-dbbab9e8]{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-dbbab9e8]{width:100%}.fit-content .responsive-button-dropdown[data-v-dbbab9e8]{width:fit-content}.responsive-button-dropdown.sub-dropdown[data-v-dbbab9e8]{width:fit-content!important}.responsive-button-dropdown-option[data-v-dbbab9e8]{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-dbbab9e8]{border-radius:4px!important;background:#faebe6!important}.responsive-button-dropdown-option.disabled[data-v-dbbab9e8],.responsive-button-dropdown-option.disabled.hovered[data-v-dbbab9e8]{color:#979797!important;cursor:not-allowed!important}.responsive-button-dropdown-option .button-name[data-v-dbbab9e8]{text-align:left}.non-web-responsive-button-nested-dropdown-button[data-v-dbbab9e8]{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-dbbab9e8],.fit-content .non-web-responsive-button-dropdown-option[data-v-dbbab9e8]{width:100%}.non-web-responsive-button-dropdown-option[data-v-dbbab9e8]{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-dbbab9e8]:active{border-radius:4px!important;background:#faebe6!important}.non-web-responsive-button-dropdown-option.disabled[data-v-dbbab9e8],.non-web-responsive-button-dropdown-option.disabled[data-v-dbbab9e8]:active{color:#979797!important;cursor:not-allowed!important}@media only screen and (max-width:767px){.simplified-notification[data-v-dbbab9e8]{padding:8px 12px;gap:8px}.responsive-button.small[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:7px 23px}.responsive-button.fit-content.small.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.small.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.small[data-v-dbbab9e8]{width:100%;padding:7px}.responsive-button.medium[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:9px 23px}.responsive-button.fit-content.medium.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.medium[data-v-dbbab9e8]{width:100%;padding:9px 7px}.responsive-button.large[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:10px 23px}.responsive-button.fit-content.large.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.large.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.large[data-v-dbbab9e8]{width:100%;padding:10px 7px}.responsive-button-dropdown-option[data-v-dbbab9e8]{font-size:14px!important;font-weight:400!important;line-height:20px!important;letter-spacing:.25px!important}.responsive-button-dropdown[data-v-dbbab9e8]{min-width:267px}}.input-box-unit-wrapper[data-v-87ad92c9]{width:100%;display:flex;flex-direction:column;row-gap:8px}.input-box-unit[data-v-87ad92c9]{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-87ad92c9]:hover{border:1px solid #DEE6ED}.input-box-unit.is-focus[data-v-87ad92c9]{border:1px solid #9BB2CA}.input-box-unit.has-prefix[data-v-87ad92c9],.input-box-unit.has-prefix.has-suffix[data-v-87ad92c9]{padding:8px 11px}.input-box-unit.has-suffix[data-v-87ad92c9]{padding-left:15px}.input-box-unit.error[data-v-87ad92c9]{border:1px solid #DE583F}.input-box-unit.alert[data-v-87ad92c9]{border:1px solid #E0961E}.input-box-unit.disabled[data-v-87ad92c9]{background:#f2f2f2;cursor:not-allowed}.input-box-unit.disabled[data-v-87ad92c9]:hover{border:1px solid #BCCCDC}.input-box[data-v-87ad92c9]{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-87ad92c9]::placeholder{color:#979797;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.input-box[data-v-87ad92c9]::-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-87ad92c9],.suffix-wrapper[data-v-87ad92c9]{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-87ad92c9]{min-width:20px}.suffix-wrapper.with-date-icon[data-v-87ad92c9]{position:absolute;right:40px}.clear-icon[data-v-87ad92c9]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-87ad92c9]:hover{opacity:1}.hide[data-v-87ad92c9]{display:none}.message-container[data-v-87ad92c9]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-87ad92c9]{color:#de583f}.message-container.alert[data-v-87ad92c9]{color:#e0961e}@media only screen and (max-width:767px){.input-box-unit-wrapper[data-v-87ad92c9]{row-gap:4px}.input-box-unit[data-v-87ad92c9]{padding:7px 11px;column-gap:8px}.input-box-unit.has-prefix[data-v-87ad92c9],.input-box-unit.has-prefix.has-suffix[data-v-87ad92c9]{padding:7px 11px}.input-box-unit.has-suffix[data-v-87ad92c9]{padding-left:13px}.input-box[data-v-87ad92c9]{font-size:14px;line-height:20px;letter-spacing:.25px;height:20px}.input-box[data-v-87ad92c9]::placeholder{font-size:14px;line-height:20px;letter-spacing:.25px}.input-box[data-v-87ad92c9]::-webkit-calendar-picker-indicator{height:20px}.prefix-wrapper[data-v-87ad92c9]{min-width:20px;height:20px}.suffix-wrapper[data-v-87ad92c9]{min-width:20px;height:20px;column-gap:0px}.suffix-wrapper.with-date-icon[data-v-87ad92c9]{right:32px}.clear-icon[data-v-87ad92c9]{width:36px;height:36px;box-sizing:border-box;padding:10px}.message-container[data-v-87ad92c9]{font-size:14px;line-height:16px}}.single-selector-unit-wrapper[data-v-4d75a70b]{width:100%;display:flex;flex-direction:column;row-gap:8px}.single-selector[data-v-4d75a70b]{height:fit-content;width:100%;box-sizing:border-box;padding:9px 12px 9px 16px;display:flex;align-items:center;justify-content:space-between;column-gap:12px;border-radius:4px;box-shadow:inset 0 0 0 1px #bcccdc;background:#fff;cursor:pointer;position:relative}.single-selector[data-v-4d75a70b]:hover{box-shadow:inset 0 0 0 1px #dee6ed}.single-selector.has-prefix[data-v-4d75a70b]{padding-left:12px}.single-selector.is-focus[data-v-4d75a70b]{box-shadow:inset 0 0 0 1px #9bb2ca}.single-selector.error[data-v-4d75a70b]{box-shadow:inset 0 0 0 1px #de583f}.single-selector.alert[data-v-4d75a70b]{box-shadow:inset 0 0 0 1px #e0961e}.single-selector.disabled[data-v-4d75a70b]{background:#f2f2f2;cursor:not-allowed}.single-selector.disabled[data-v-4d75a70b]:hover{box-shadow:inset 0 0 0 1px #bcccdc}.selected-content[data-v-4d75a70b]{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-4d75a70b]{display:none}.content-text[data-v-4d75a70b]{color:#1c1b1f}.placeholder[data-v-4d75a70b]{color:#979797}.single-selector.disabled .content-text[data-v-4d75a70b],.single-selector.disabled .placeholder[data-v-4d75a70b]{color:#555}.filter-input[data-v-4d75a70b]{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-4d75a70b]{width:100%;height:100%}.prefix-wrapper[data-v-4d75a70b],.suffix-wrapper[data-v-4d75a70b]{display:flex;align-items:center;column-gap:4px;flex-shrink:0;min-width:24px;width:fit-content;height:24px}.rotate-0[data-v-4d75a70b]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-4d75a70b]{transform:rotate(180deg)}.clear-icon[data-v-4d75a70b]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-4d75a70b]:hover{opacity:1}.single-selector-dropdown[data-v-4d75a70b]{width:inherit;height:fit-content;max-height:233px;padding:8px 11px;box-sizing:border-box;border-radius:4px;border:1px solid #BCCCDC;background:#fff;overflow:auto;position:absolute;z-index:1000;top:50px;left:0}.no-data-notes[data-v-4d75a70b]{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-4d75a70b]{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-4d75a70b]:hover{background:#faebe6}.dropdown-item.selected[data-v-4d75a70b]{font-weight:600}.message-container[data-v-4d75a70b]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-4d75a70b]{color:#de583f}.message-container.alert[data-v-4d75a70b]{color:#e0961e}@media only screen and (max-width:767px){.single-selector-unit-wrapper[data-v-4d75a70b]{row-gap:4px}.single-selector[data-v-4d75a70b]{column-gap:8px;padding:8px 12px 8px 14px}.selected-content[data-v-4d75a70b]{font-size:14px;line-height:20px;letter-spacing:.25px}.filter-input[data-v-4d75a70b]{font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;height:20px}.prefix-wrapper[data-v-4d75a70b],.suffix-wrapper[data-v-4d75a70b]{min-width:20px;height:20px;display:flex;align-items:center;column-gap:0px;flex-shrink:0}.clear-icon[data-v-4d75a70b]{width:36px;height:36px;right:32px;box-sizing:border-box;padding:10px}.single-selector-dropdown[data-v-4d75a70b]{max-height:176px;padding:7px;top:40px}.no-data-notes[data-v-4d75a70b]{font-size:14px;line-height:20px;letter-spacing:.25px}.dropdown-item[data-v-4d75a70b]{padding:6px 4px;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.message-container[data-v-4d75a70b]{font-size:14px;line-height:16px}}.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}@keyframes spin{to{transform:rotate(360deg)}}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import { openBlock as n, createElementBlock as r, normalizeClass as _, createElementVNode as d, toDisplayString as p, createCommentVNode as a, renderSlot as f, ref as B, onMounted as I, onUnmounted as R, resolveComponent as J, resolveDirective as $, withDirectives as C, normalizeStyle as V, Fragment as v, renderList as y, createBlock as F, mergeProps as K, vModelDynamic as q, vModelText as G } from "vue";
|
|
3
3
|
const P = "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", Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
5
|
default: P
|
|
6
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6
|
+
}, Symbol.toStringTag, { value: "Module" })), m = "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", X = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
7
|
__proto__: null,
|
|
8
|
-
default:
|
|
8
|
+
default: m
|
|
9
9
|
}, Symbol.toStringTag, { value: "Module" })), Y = "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", ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
10
|
__proto__: null,
|
|
11
11
|
default: Y
|
|
12
12
|
}, 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%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", se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13
13
|
__proto__: null,
|
|
14
14
|
default: te
|
|
15
|
-
}, Symbol.toStringTag, { value: "Module" })), Z = "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",
|
|
15
|
+
}, Symbol.toStringTag, { value: "Module" })), Z = "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", ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16
16
|
__proto__: null,
|
|
17
17
|
default: Z
|
|
18
|
-
}, Symbol.toStringTag, { value: "Module" })), z = "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",
|
|
18
|
+
}, Symbol.toStringTag, { value: "Module" })), z = "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", oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19
19
|
__proto__: null,
|
|
20
20
|
default: z
|
|
21
21
|
}, Symbol.toStringTag, { value: "Module" })), E = "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", ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -48,16 +48,16 @@ const P = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200
|
|
|
48
48
|
}, Symbol.toStringTag, { value: "Module" })), N = "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", we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
49
49
|
__proto__: null,
|
|
50
50
|
default: N
|
|
51
|
-
}, Symbol.toStringTag, { value: "Module" })), W = "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",
|
|
51
|
+
}, Symbol.toStringTag, { value: "Module" })), W = "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", me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
52
52
|
__proto__: null,
|
|
53
53
|
default: W
|
|
54
|
-
}, Symbol.toStringTag, { value: "Module" })), A = "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",
|
|
54
|
+
}, Symbol.toStringTag, { value: "Module" })), A = "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", ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
55
55
|
__proto__: null,
|
|
56
56
|
default: A
|
|
57
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
57
|
+
}, Symbol.toStringTag, { value: "Module" })), g = (e, t) => {
|
|
58
58
|
const s = e.__vccOpts || e;
|
|
59
|
-
for (const [h,
|
|
60
|
-
s[h] =
|
|
59
|
+
for (const [h, o] of t)
|
|
60
|
+
s[h] = o;
|
|
61
61
|
return s;
|
|
62
62
|
}, ve = {
|
|
63
63
|
props: {
|
|
@@ -93,7 +93,7 @@ const P = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
mounted() {
|
|
96
|
-
|
|
96
|
+
this.hide_after && typeof this.hide_after == "number" && this.autoClose();
|
|
97
97
|
},
|
|
98
98
|
computed: {
|
|
99
99
|
alert_icon_src() {
|
|
@@ -129,17 +129,17 @@ const P = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200
|
|
|
129
129
|
key: 0,
|
|
130
130
|
class: "content-details"
|
|
131
131
|
}, Se = ["innerHTML"], Oe = { class: "close-btn-container" };
|
|
132
|
-
function Me(e, t, s, h,
|
|
132
|
+
function Me(e, t, s, h, o, i) {
|
|
133
133
|
return n(), r("div", {
|
|
134
134
|
class: _([
|
|
135
135
|
"simplified-notification",
|
|
136
|
-
|
|
136
|
+
i.theme_class,
|
|
137
137
|
s.customized_class
|
|
138
138
|
])
|
|
139
139
|
}, [
|
|
140
140
|
d("div", ye, [
|
|
141
141
|
d("img", {
|
|
142
|
-
src:
|
|
142
|
+
src: i.alert_icon_src,
|
|
143
143
|
class: "prefix_icon"
|
|
144
144
|
}, null, 8, be)
|
|
145
145
|
]),
|
|
@@ -158,12 +158,12 @@ function Me(e, t, s, h, i, o) {
|
|
|
158
158
|
key: 0,
|
|
159
159
|
src: U,
|
|
160
160
|
class: "close-btn",
|
|
161
|
-
onClick: t[0] || (t[0] = (...l) =>
|
|
161
|
+
onClick: t[0] || (t[0] = (...l) => i.manuallyClose && i.manuallyClose(...l))
|
|
162
162
|
})) : a("", !0)
|
|
163
163
|
])
|
|
164
164
|
], 2);
|
|
165
165
|
}
|
|
166
|
-
const De = /* @__PURE__ */
|
|
166
|
+
const De = /* @__PURE__ */ g(ve, [["render", Me], ["__scopeId", "data-v-9757f7de"]]);
|
|
167
167
|
function Be() {
|
|
168
168
|
const e = B(0), t = B(0), s = () => {
|
|
169
169
|
e.value = window.innerWidth, t.value = window.innerHeight;
|
|
@@ -360,8 +360,8 @@ const Ve = {
|
|
|
360
360
|
calculateDropdownPosition() {
|
|
361
361
|
const e = {}, t = this.$refs["responsive-button"], s = this.$refs["responsive-button-dropdown"];
|
|
362
362
|
if (t && s) {
|
|
363
|
-
const h = window.innerWidth,
|
|
364
|
-
this.is_dropdown_option ? (
|
|
363
|
+
const h = window.innerWidth, o = window.innerHeight, i = t.getBoundingClientRect(), l = i.right, w = i.bottom, c = i.left, u = i.width, S = i.height, O = s.getBoundingClientRect(), M = O.height, D = O.width;
|
|
364
|
+
this.is_dropdown_option ? (o - w > M + (this.mobile_version ? 4 : 8) ? e.top = "0px" : e.bottom = "0px", h - l > D + (this.mobile_version ? 4 : 8) ? e.left = u + 12 + 8 + "px" : e.right = u + 12 + 8 + "px") : (o - w > M + (this.mobile_version ? 4 : 8) ? e.top = S + (this.mobile_version ? 4 : 8) + "px" : e.bottom = S + (this.mobile_version ? 4 : 8) + "px", h - c > D + (this.mobile_version ? 4 : 8) ? e.left = "0px" : e.right = "0px");
|
|
365
365
|
}
|
|
366
366
|
this.dropdown_position_data = e;
|
|
367
367
|
},
|
|
@@ -388,7 +388,7 @@ const Ve = {
|
|
|
388
388
|
class: "nested-dropdown-default-suffix suffix-wrapper"
|
|
389
389
|
}, Ue = {
|
|
390
390
|
key: 0,
|
|
391
|
-
src:
|
|
391
|
+
src: m
|
|
392
392
|
}, Ne = {
|
|
393
393
|
key: 1,
|
|
394
394
|
src: x
|
|
@@ -397,12 +397,12 @@ const Ve = {
|
|
|
397
397
|
class: "non-web-responsive-nested-dropdown-option-default-suffix suffix-wrapper"
|
|
398
398
|
}, Re = {
|
|
399
399
|
key: 0,
|
|
400
|
-
src:
|
|
400
|
+
src: m
|
|
401
401
|
}, Je = {
|
|
402
402
|
key: 1,
|
|
403
403
|
src: x
|
|
404
404
|
};
|
|
405
|
-
function $e(e, t, s, h,
|
|
405
|
+
function $e(e, t, s, h, o, i) {
|
|
406
406
|
const l = J("ResponsiveButton", !0), w = $("component-loading");
|
|
407
407
|
return C((n(), r("div", {
|
|
408
408
|
class: _(["responsive-button-wrapper", s.width_type]),
|
|
@@ -415,17 +415,17 @@ function $e(e, t, s, h, i, o) {
|
|
|
415
415
|
s.width_type,
|
|
416
416
|
{ disabled: s.disabled },
|
|
417
417
|
{ "no-display-name": !s.display_name },
|
|
418
|
-
{ "has-prefix":
|
|
419
|
-
{ "has-suffix":
|
|
418
|
+
{ "has-prefix": i.has_prefix },
|
|
419
|
+
{ "has-suffix": i.has_suffix },
|
|
420
420
|
s.build_in_theme,
|
|
421
421
|
s.customized_class,
|
|
422
422
|
// only works when this button has dropdown
|
|
423
|
-
{ hovered:
|
|
424
|
-
{ focused:
|
|
423
|
+
{ hovered: i.is_dropdown_option_hovered },
|
|
424
|
+
{ focused: i.show_dropdown }
|
|
425
425
|
]),
|
|
426
426
|
ref: "responsive-button",
|
|
427
|
-
onClick: t[0] || (t[0] = (c) =>
|
|
428
|
-
onMouseenter: t[1] || (t[1] = (c) =>
|
|
427
|
+
onClick: t[0] || (t[0] = (c) => i.handleClick()),
|
|
428
|
+
onMouseenter: t[1] || (t[1] = (c) => i.handleMouseEnterButton())
|
|
429
429
|
}, [
|
|
430
430
|
d("div", je, [
|
|
431
431
|
e.$slots.prefix ? (n(), r("div", He, [
|
|
@@ -435,28 +435,28 @@ function $e(e, t, s, h, i, o) {
|
|
|
435
435
|
e.$slots.suffix ? (n(), r("div", Ze, [
|
|
436
436
|
f(e.$slots, "suffix", {}, void 0, !0)
|
|
437
437
|
])) : a("", !0),
|
|
438
|
-
!s.is_dropdown_option &&
|
|
438
|
+
!s.is_dropdown_option && i.has_dropdown ? (n(), r("div", ze, [
|
|
439
439
|
d("img", {
|
|
440
|
-
src:
|
|
440
|
+
src: i.dynamicDefaultDropdownDownArrow,
|
|
441
441
|
class: _([
|
|
442
442
|
"rotate-0",
|
|
443
|
-
{ "rotate-180":
|
|
443
|
+
{ "rotate-180": i.show_dropdown }
|
|
444
444
|
])
|
|
445
445
|
}, null, 10, Ee)
|
|
446
446
|
])) : a("", !0)
|
|
447
447
|
]),
|
|
448
|
-
s.is_dropdown_option &&
|
|
448
|
+
s.is_dropdown_option && i.has_dropdown ? (n(), r("div", Te, [
|
|
449
449
|
s.disabled ? (n(), r("img", Ne)) : (n(), r("img", Ue))
|
|
450
450
|
])) : a("", !0)
|
|
451
451
|
], 34),
|
|
452
|
-
|
|
452
|
+
i.web_version && i.show_dropdown ? (n(), r("div", {
|
|
453
453
|
key: 0,
|
|
454
454
|
ref: "responsive-button-dropdown",
|
|
455
455
|
class: _([
|
|
456
456
|
"responsive-button-dropdown",
|
|
457
457
|
{ "sub-dropdown": s.is_dropdown_option }
|
|
458
458
|
]),
|
|
459
|
-
style: V(
|
|
459
|
+
style: V(o.dropdown_position_data)
|
|
460
460
|
}, [
|
|
461
461
|
(n(!0), r(v, null, y(s.dropdown_options, (c) => (n(), F(l, K({
|
|
462
462
|
key: `${s.display_name.replaceAll(" ", "-")}-dropdown-item-${c.display_name.replaceAll(" ", "-")}`,
|
|
@@ -465,42 +465,42 @@ function $e(e, t, s, h, i, o) {
|
|
|
465
465
|
customized_class: "responsive-button-dropdown-option",
|
|
466
466
|
width_type: "fill-whole",
|
|
467
467
|
is_dropdown_option: !0,
|
|
468
|
-
nested_dropdown_option_button_history_stack: s.is_dropdown_option ? e.$attrs.nested_dropdown_option_button_history_stack :
|
|
469
|
-
currently_hovered_dropdown_option_display_name:
|
|
470
|
-
onUpdateCurrentlyHoveredDropdownOption: t[2] || (t[2] = (u) =>
|
|
471
|
-
onClick: t[3] || (t[3] = (u) =>
|
|
472
|
-
onAddNestedDropdownHistoryStack: t[4] || (t[4] = (u) =>
|
|
473
|
-
onRemoveNestedDropdownHistoryStack: t[5] || (t[5] = (u) =>
|
|
468
|
+
nested_dropdown_option_button_history_stack: s.is_dropdown_option ? e.$attrs.nested_dropdown_option_button_history_stack : o.nested_dropdown_option_button_history_stack,
|
|
469
|
+
currently_hovered_dropdown_option_display_name: o.currently_hovered_dropdown_option_display_name,
|
|
470
|
+
onUpdateCurrentlyHoveredDropdownOption: t[2] || (t[2] = (u) => i.updateCurrentlyHoveredDropdownOption(u)),
|
|
471
|
+
onClick: t[3] || (t[3] = (u) => i.clickWebDropdownOption(u)),
|
|
472
|
+
onAddNestedDropdownHistoryStack: t[4] || (t[4] = (u) => i.updateNestedDropdownHistoryStack(u)),
|
|
473
|
+
onRemoveNestedDropdownHistoryStack: t[5] || (t[5] = (u) => i.removeNestedDropdownHistoryStack(u))
|
|
474
474
|
}), null, 16, ["nested_dropdown_option_button_history_stack", "currently_hovered_dropdown_option_display_name"]))), 128))
|
|
475
|
-
], 6)) : !
|
|
475
|
+
], 6)) : !i.web_version && i.show_dropdown ? (n(), r("div", {
|
|
476
476
|
key: 1,
|
|
477
477
|
ref: "responsive-button-dropdown",
|
|
478
478
|
class: _([
|
|
479
479
|
"responsive-button-dropdown",
|
|
480
480
|
{ "sub-dropdown": s.is_dropdown_option }
|
|
481
481
|
]),
|
|
482
|
-
style: V(
|
|
482
|
+
style: V(o.dropdown_position_data)
|
|
483
483
|
}, [
|
|
484
|
-
|
|
484
|
+
i.non_web_version_nested_dropdown_option_shown ? (n(), r("div", {
|
|
485
485
|
key: 0,
|
|
486
486
|
class: "non-web-responsive-button-nested-dropdown-button",
|
|
487
|
-
onClick: t[6] || (t[6] = (c) =>
|
|
488
|
-
display_name:
|
|
489
|
-
dropdown_options:
|
|
487
|
+
onClick: t[6] || (t[6] = (c) => i.nonWebRemoveNestedDropdownHistoryStack({
|
|
488
|
+
display_name: i.non_web_version_nested_dropdown_option_shown,
|
|
489
|
+
dropdown_options: i.non_web_version_dropdown_options
|
|
490
490
|
}))
|
|
491
491
|
}, [
|
|
492
492
|
t[7] || (t[7] = d("div", { class: "non-web-responsive-nested-dropdown-button-default-prefeix prefix-wrapper" }, [
|
|
493
493
|
d("img", {
|
|
494
|
-
src:
|
|
494
|
+
src: m,
|
|
495
495
|
class: "rotate-180"
|
|
496
496
|
})
|
|
497
497
|
], -1)),
|
|
498
|
-
d("div", null, p(
|
|
498
|
+
d("div", null, p(i.non_web_version_nested_dropdown_option_shown), 1)
|
|
499
499
|
])) : a("", !0),
|
|
500
|
-
(n(!0), r(v, null, y(
|
|
500
|
+
(n(!0), r(v, null, y(i.non_web_version_dropdown_options, (c) => (n(), r("div", {
|
|
501
501
|
key: `${s.display_name.replaceAll(" ", "-")}-dropdown-item-${c.display_name.replaceAll(" ", "-")}`,
|
|
502
502
|
class: _(["non-web-responsive-button-dropdown-option", { disabled: c.disabled }]),
|
|
503
|
-
onClick: (u) =>
|
|
503
|
+
onClick: (u) => i.clickNonWebDropdownOption(c)
|
|
504
504
|
}, [
|
|
505
505
|
d("div", Ae, p(c.display_name), 1),
|
|
506
506
|
c.dropdown_options ? (n(), r("div", Ie, [
|
|
@@ -509,10 +509,10 @@ function $e(e, t, s, h, i, o) {
|
|
|
509
509
|
], 10, We))), 128))
|
|
510
510
|
], 6)) : a("", !0)
|
|
511
511
|
], 2)), [
|
|
512
|
-
[w,
|
|
512
|
+
[w, o.loading]
|
|
513
513
|
]);
|
|
514
514
|
}
|
|
515
|
-
const Fe = /* @__PURE__ */
|
|
515
|
+
const Fe = /* @__PURE__ */ g(Ve, [["render", $e], ["__scopeId", "data-v-dbbab9e8"]]), Ke = {
|
|
516
516
|
props: {
|
|
517
517
|
modelValue: {
|
|
518
518
|
type: String,
|
|
@@ -575,10 +575,10 @@ const Fe = /* @__PURE__ */ m(Ve, [["render", $e], ["__scopeId", "data-v-dbbab9e8
|
|
|
575
575
|
this.value = e;
|
|
576
576
|
},
|
|
577
577
|
value(e) {
|
|
578
|
-
|
|
578
|
+
this.$emit("update:modelValue", e), this.$emit("input", e);
|
|
579
579
|
},
|
|
580
580
|
is_focus(e) {
|
|
581
|
-
e ? (this.$refs["input-box"].focus(),
|
|
581
|
+
e ? (this.$refs["input-box"].focus(), this.$emit("focus")) : (this.$refs["input-box"].blur(), this.$emit("blur"));
|
|
582
582
|
}
|
|
583
583
|
},
|
|
584
584
|
methods: {
|
|
@@ -616,28 +616,28 @@ const Fe = /* @__PURE__ */ m(Ve, [["render", $e], ["__scopeId", "data-v-dbbab9e8
|
|
|
616
616
|
key: 0,
|
|
617
617
|
class: "prefix-wrapper"
|
|
618
618
|
}, Qe = ["disabled", "type", "placeholder"];
|
|
619
|
-
function Xe(e, t, s, h,
|
|
619
|
+
function Xe(e, t, s, h, o, i) {
|
|
620
620
|
return n(), r("div", qe, [
|
|
621
621
|
d("div", {
|
|
622
622
|
class: _([
|
|
623
623
|
"input-box-unit",
|
|
624
|
-
{ "is-focus":
|
|
624
|
+
{ "is-focus": o.is_focus },
|
|
625
625
|
{ "has-prefix": e.$slots.prefix },
|
|
626
626
|
{ "has-suffix": e.$slots.suffix },
|
|
627
627
|
{ disabled: s.disabled },
|
|
628
|
-
{ error:
|
|
629
|
-
{ alert:
|
|
628
|
+
{ error: o.show_error },
|
|
629
|
+
{ alert: o.show_alert }
|
|
630
630
|
]),
|
|
631
631
|
ref: "input-box-unit",
|
|
632
|
-
onMouseenter: t[3] || (t[3] = (l) =>
|
|
633
|
-
onMouseleave: t[4] || (t[4] = (l) =>
|
|
634
|
-
onClick: t[5] || (t[5] = (l) =>
|
|
632
|
+
onMouseenter: t[3] || (t[3] = (l) => o.hovered = !0),
|
|
633
|
+
onMouseleave: t[4] || (t[4] = (l) => o.hovered = !1),
|
|
634
|
+
onClick: t[5] || (t[5] = (l) => i.handleClickInputBoxUnit(l))
|
|
635
635
|
}, [
|
|
636
636
|
e.$slots.prefix ? (n(), r("div", Ge, [
|
|
637
637
|
f(e.$slots, "prefix", {}, void 0, !0)
|
|
638
638
|
])) : a("", !0),
|
|
639
639
|
C(d("input", {
|
|
640
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) =>
|
|
640
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => o.value = l),
|
|
641
641
|
class: _([
|
|
642
642
|
"input-box"
|
|
643
643
|
]),
|
|
@@ -645,15 +645,15 @@ function Xe(e, t, s, h, i, o) {
|
|
|
645
645
|
disabled: s.disabled,
|
|
646
646
|
type: s.type,
|
|
647
647
|
placeholder: s.placeholder,
|
|
648
|
-
onKeydown: t[1] || (t[1] = (l) =>
|
|
648
|
+
onKeydown: t[1] || (t[1] = (l) => i.handleKeydown(l))
|
|
649
649
|
}, null, 40, Qe), [
|
|
650
|
-
[q,
|
|
650
|
+
[q, o.value]
|
|
651
651
|
]),
|
|
652
|
-
e.$slots.suffix ||
|
|
652
|
+
e.$slots.suffix || i.show_clear_icon ? (n(), r("div", {
|
|
653
653
|
key: 1,
|
|
654
654
|
class: _([
|
|
655
655
|
"suffix-wrapper",
|
|
656
|
-
{ "only-clear-icon":
|
|
656
|
+
{ "only-clear-icon": i.show_clear_icon && !e.$slots.suffix },
|
|
657
657
|
{ "with-date-icon": s.type == "date" }
|
|
658
658
|
])
|
|
659
659
|
}, [
|
|
@@ -661,24 +661,24 @@ function Xe(e, t, s, h, i, o) {
|
|
|
661
661
|
src: L,
|
|
662
662
|
class: _([
|
|
663
663
|
"clear-icon",
|
|
664
|
-
{ hide: !
|
|
664
|
+
{ hide: !i.show_clear_icon }
|
|
665
665
|
]),
|
|
666
|
-
onClick: t[2] || (t[2] = (...l) =>
|
|
666
|
+
onClick: t[2] || (t[2] = (...l) => i.handleClearValue && i.handleClearValue(...l))
|
|
667
667
|
}, null, 2),
|
|
668
668
|
f(e.$slots, "suffix", {}, void 0, !0)
|
|
669
669
|
], 2)) : a("", !0)
|
|
670
670
|
], 34),
|
|
671
|
-
(
|
|
671
|
+
(o.show_alert || o.show_error) && o.message_notification_text ? (n(), r("div", {
|
|
672
672
|
key: 0,
|
|
673
673
|
class: _([
|
|
674
674
|
"message-container",
|
|
675
|
-
{ error:
|
|
676
|
-
{ alert:
|
|
675
|
+
{ error: o.show_error },
|
|
676
|
+
{ alert: o.show_alert }
|
|
677
677
|
])
|
|
678
|
-
}, p(
|
|
678
|
+
}, p(o.message_notification_text), 3)) : a("", !0)
|
|
679
679
|
]);
|
|
680
680
|
}
|
|
681
|
-
const Ye = /* @__PURE__ */
|
|
681
|
+
const Ye = /* @__PURE__ */ g(Ke, [["render", Xe], ["__scopeId", "data-v-87ad92c9"]]), et = {
|
|
682
682
|
props: {
|
|
683
683
|
modelValue: {
|
|
684
684
|
type: String,
|
|
@@ -772,7 +772,7 @@ const Ye = /* @__PURE__ */ m(Ke, [["render", Xe], ["__scopeId", "data-v-8f8a50f7
|
|
|
772
772
|
this.$emit("filter-change", e), this.remote_search && this.$emit("remote-search", e);
|
|
773
773
|
},
|
|
774
774
|
is_focus(e) {
|
|
775
|
-
|
|
775
|
+
this.$emit("visible-change", e), e ? (this.$emit("focus"), this.filterable && this.$nextTick(() => {
|
|
776
776
|
var t;
|
|
777
777
|
(t = this.$refs["filter-input"]) == null || t.focus();
|
|
778
778
|
})) : this.$emit("blur");
|
|
@@ -789,7 +789,7 @@ const Ye = /* @__PURE__ */ m(Ke, [["render", Xe], ["__scopeId", "data-v-8f8a50f7
|
|
|
789
789
|
return t;
|
|
790
790
|
},
|
|
791
791
|
handleClickSingleSelector() {
|
|
792
|
-
|
|
792
|
+
this.disabled || (this.is_focus = !this.is_focus);
|
|
793
793
|
},
|
|
794
794
|
handleSelectOption(e) {
|
|
795
795
|
this.selected_item = e.value, this.selected_item_label = e.label, this.is_focus = !1;
|
|
@@ -830,11 +830,11 @@ const Ye = /* @__PURE__ */ m(Ke, [["render", Xe], ["__scopeId", "data-v-8f8a50f7
|
|
|
830
830
|
}, tt = { class: "single-selector-unit-wrapper" }, st = {
|
|
831
831
|
key: 0,
|
|
832
832
|
class: "prefix-wrapper"
|
|
833
|
-
},
|
|
833
|
+
}, it = {
|
|
834
834
|
class: /* @__PURE__ */ _([
|
|
835
835
|
"suffix-wrapper"
|
|
836
836
|
])
|
|
837
|
-
},
|
|
837
|
+
}, ot = ["src"], nt = {
|
|
838
838
|
key: 1,
|
|
839
839
|
class: "single-selector-dropdown"
|
|
840
840
|
}, rt = {
|
|
@@ -844,22 +844,22 @@ const Ye = /* @__PURE__ */ m(Ke, [["render", Xe], ["__scopeId", "data-v-8f8a50f7
|
|
|
844
844
|
key: 1,
|
|
845
845
|
class: "no-data-notes"
|
|
846
846
|
};
|
|
847
|
-
function _t(e, t, s, h,
|
|
847
|
+
function _t(e, t, s, h, o, i) {
|
|
848
848
|
return n(), r("div", tt, [
|
|
849
849
|
d("div", {
|
|
850
850
|
ref: "single-selector",
|
|
851
851
|
class: _([
|
|
852
852
|
"single-selector",
|
|
853
|
-
{ error:
|
|
854
|
-
{ alert:
|
|
853
|
+
{ error: o.show_error },
|
|
854
|
+
{ alert: o.show_alert },
|
|
855
855
|
{ disabled: s.disabled },
|
|
856
|
-
{ "is-focus":
|
|
856
|
+
{ "is-focus": o.is_focus },
|
|
857
857
|
{ "has-prefix": e.$slots.prefix },
|
|
858
|
-
{ "show-clear-icon":
|
|
858
|
+
{ "show-clear-icon": i.show_clear_icon }
|
|
859
859
|
]),
|
|
860
|
-
onClick: t[2] || (t[2] = (...l) =>
|
|
861
|
-
onMouseenter: t[3] || (t[3] = (l) =>
|
|
862
|
-
onMouseleave: t[4] || (t[4] = (l) =>
|
|
860
|
+
onClick: t[2] || (t[2] = (...l) => i.handleClickSingleSelector && i.handleClickSingleSelector(...l)),
|
|
861
|
+
onMouseenter: t[3] || (t[3] = (l) => o.hovered = !0),
|
|
862
|
+
onMouseleave: t[4] || (t[4] = (l) => o.hovered = !1)
|
|
863
863
|
}, [
|
|
864
864
|
e.$slots.prefix ? (n(), r("div", st, [
|
|
865
865
|
f(e.$slots, "prefix", {}, void 0, !0)
|
|
@@ -867,64 +867,64 @@ function _t(e, t, s, h, i, o) {
|
|
|
867
867
|
d("div", {
|
|
868
868
|
class: _([
|
|
869
869
|
"selected-content",
|
|
870
|
-
|
|
870
|
+
o.selected_item ? "content-text" : "placeholder"
|
|
871
871
|
])
|
|
872
872
|
}, [
|
|
873
873
|
d("span", {
|
|
874
|
-
class: _([{ hide:
|
|
875
|
-
}, p(
|
|
874
|
+
class: _([{ hide: o.is_focus && s.filterable }])
|
|
875
|
+
}, p(o.selected_item ? o.selected_item_label : s.placeholder), 3),
|
|
876
876
|
C(d("input", {
|
|
877
|
-
class: _(["filter-input", { hide: !(
|
|
877
|
+
class: _(["filter-input", { hide: !(o.is_focus && s.filterable) }]),
|
|
878
878
|
ref: "filter-input",
|
|
879
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) =>
|
|
879
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => o.filter_keyword = l)
|
|
880
880
|
}, null, 2), [
|
|
881
|
-
[G,
|
|
881
|
+
[G, o.filter_keyword]
|
|
882
882
|
])
|
|
883
883
|
], 2),
|
|
884
|
-
d("div",
|
|
884
|
+
d("div", it, [
|
|
885
885
|
d("img", {
|
|
886
886
|
src: L,
|
|
887
887
|
class: _([
|
|
888
888
|
"clear-icon",
|
|
889
|
-
{ hide: !
|
|
889
|
+
{ hide: !i.show_clear_icon }
|
|
890
890
|
]),
|
|
891
|
-
onClick: t[1] || (t[1] = (...l) =>
|
|
891
|
+
onClick: t[1] || (t[1] = (...l) => i.handleClearValue && i.handleClearValue(...l))
|
|
892
892
|
}, null, 2),
|
|
893
893
|
f(e.$slots, "suffix", {}, () => [
|
|
894
894
|
d("img", {
|
|
895
|
-
src:
|
|
895
|
+
src: i.default_dropdown_arrow_src,
|
|
896
896
|
class: _([
|
|
897
897
|
"default-suffix-pic",
|
|
898
898
|
"rotate-0",
|
|
899
|
-
{ "rotate-180":
|
|
899
|
+
{ "rotate-180": o.is_focus && !s.disabled }
|
|
900
900
|
])
|
|
901
|
-
}, null, 10,
|
|
901
|
+
}, null, 10, ot)
|
|
902
902
|
], !0)
|
|
903
903
|
]),
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
(n(!0), r(v, null, y(
|
|
904
|
+
o.is_focus ? (n(), r("div", nt, [
|
|
905
|
+
i.options_shown && i.options_shown.length > 0 ? (n(), r("div", rt, [
|
|
906
|
+
(n(!0), r(v, null, y(i.options_shown, (l) => (n(), r("div", {
|
|
907
907
|
key: l.value,
|
|
908
908
|
class: _([
|
|
909
909
|
"dropdown-item",
|
|
910
|
-
{ selected:
|
|
910
|
+
{ selected: i.checkWhetherIsSelected(l) }
|
|
911
911
|
]),
|
|
912
|
-
onClick: (w) =>
|
|
912
|
+
onClick: (w) => i.handleSelectOption(l)
|
|
913
913
|
}, p(l.label), 11, lt))), 128))
|
|
914
|
-
])) : (n(), r("div", dt, p(
|
|
914
|
+
])) : (n(), r("div", dt, p(o.is_loading ? s.loading_text : s.no_data_text), 1))
|
|
915
915
|
])) : a("", !0)
|
|
916
916
|
], 34),
|
|
917
|
-
(
|
|
917
|
+
(o.show_alert || o.show_error) && o.message_notification_text ? (n(), r("div", {
|
|
918
918
|
key: 0,
|
|
919
919
|
class: _([
|
|
920
920
|
"message-container",
|
|
921
|
-
{ error:
|
|
922
|
-
{ alert:
|
|
921
|
+
{ error: o.show_error },
|
|
922
|
+
{ alert: o.show_alert }
|
|
923
923
|
])
|
|
924
|
-
}, p(
|
|
924
|
+
}, p(o.message_notification_text), 3)) : a("", !0)
|
|
925
925
|
]);
|
|
926
926
|
}
|
|
927
|
-
const at = /* @__PURE__ */
|
|
927
|
+
const at = /* @__PURE__ */ g(et, [["render", _t], ["__scopeId", "data-v-4d75a70b"]]), ct = {
|
|
928
928
|
mounted(e, t) {
|
|
929
929
|
const s = document.createElement("div");
|
|
930
930
|
s.classList.add("component-loading-spinner"), s.style.display = "none", e._spinner = s, e.style.position = "relative", e.appendChild(s), t.value && (s.style.display = "flex");
|
|
@@ -939,7 +939,7 @@ const at = /* @__PURE__ */ m(et, [["render", _t], ["__scopeId", "data-v-6da857c3
|
|
|
939
939
|
Object.keys(j).forEach((t) => {
|
|
940
940
|
e.component(t, j[t]);
|
|
941
941
|
}), e.directive("component-loading", ct);
|
|
942
|
-
}, ft = { install: ht }, H = /* @__PURE__ */ Object.assign({ "./assets/icons/black_arrow_down.svg": Q, "./assets/icons/black_arrow_to_right.svg": X, "./assets/icons/black_calendar_icon.svg": ee, "./assets/icons/black_magnifying_glass_icon.svg": se, "./assets/icons/cyan_arrow_down.svg":
|
|
942
|
+
}, ft = { install: ht }, H = /* @__PURE__ */ Object.assign({ "./assets/icons/black_arrow_down.svg": Q, "./assets/icons/black_arrow_to_right.svg": X, "./assets/icons/black_calendar_icon.svg": ee, "./assets/icons/black_magnifying_glass_icon.svg": se, "./assets/icons/cyan_arrow_down.svg": ie, "./assets/icons/dark_blue_arrow_down.svg": oe, "./assets/icons/dark_gray_arrow_down.svg": ne, "./assets/icons/eye_icon.svg": le, "./assets/icons/eye_with_cross_icon.svg": _e, "./assets/icons/green_notification_icon.svg": ae, "./assets/icons/grey_arrow_down.svg": ce, "./assets/icons/grey_arrow_to_right.svg": he, "./assets/icons/info_blue_icon.svg": ue, "./assets/icons/input_clear_icon.svg": pe, "./assets/icons/notification_cross_icon.svg": fe, "./assets/icons/red_notification_icon.svg": we, "./assets/icons/white_arrow_down.svg": me, "./assets/icons/yellow_notification_icon.svg": ge });
|
|
943
943
|
var ut = {};
|
|
944
944
|
for (const e in H) {
|
|
945
945
|
const t = e.split("/").pop().replace(".svg", "");
|
|
@@ -953,5 +953,6 @@ export {
|
|
|
953
953
|
ct as component_loading,
|
|
954
954
|
ft as default,
|
|
955
955
|
H as icons,
|
|
956
|
-
ut as iconsMap
|
|
956
|
+
ut as iconsMap,
|
|
957
|
+
Be as useWindowSize
|
|
957
958
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.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-2eec1ba2]{animation:fadeOut-2eec1ba2 var(--fade-out-duration-ms, 3s) forwards}@keyframes fadeOut-2eec1ba2{0%{opacity:1}90%{opacity:.8}to{opacity:0}}.simplified-notification[data-v-2eec1ba2]{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-2eec1ba2]{background:#e8f4fd}.simplified-notification.red[data-v-2eec1ba2]{background:#faeaea}.simplified-notification.yellow[data-v-2eec1ba2]{background:#fff7df}.simplified-notification.green[data-v-2eec1ba2]{background:#ebf4ec}.prefix_icon[data-v-2eec1ba2]{width:24px;height:24px}.prefix-icon-container[data-v-2eec1ba2]{display:flex;align-items:center}.close-btn-container[data-v-2eec1ba2]{display:flex;flex-direction:column}.close-btn[data-v-2eec1ba2]{cursor:pointer}.notifiction-text[data-v-2eec1ba2]{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-2eec1ba2]{width:100%}.title[data-v-2eec1ba2]{color:#000;font-family:Roboto;font-size:14px;font-weight:600;line-height:16px;margin-bottom:4px}.content-details[data-v-2eec1ba2]{min-height:24px;display:flex;align-items:center}@media only screen and (max-width:767px){.simplified-notification[data-v-2eec1ba2]{padding:8px 12px;gap:8px}}.responsive-button-wrapper[data-v-dbbab9e8]{position:relative}.responsive-button-wrapper.fill-whole[data-v-dbbab9e8]{width:100%;height:fit-content}.responsive-button-wrapper.fit-content[data-v-dbbab9e8]{width:fit-content;height:fit-content}.responsive-button-wrapper[data-v-dbbab9e8] .component-loading-spinner{border-radius:4px}.responsive-button-wrapper[data-v-dbbab9e8] .component-loading-spinner:after{height:25px;width:25px}.responsive-button[data-v-dbbab9e8]{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-dbbab9e8]{min-width:90px}.responsive-button.no-display-name[data-v-dbbab9e8]{min-width:0px!important}.button-content[data-v-dbbab9e8]{display:flex;column-gap:8px;align-items:center}.prefix-wrapper[data-v-dbbab9e8],.suffix-wrapper[data-v-dbbab9e8]{width:20px;height:20px;flex-shrink:0}.rotate-0[data-v-dbbab9e8]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-dbbab9e8]{transform:rotate(180deg)}.responsive-button.xsmall[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.xsmall[data-v-dbbab9e8]{width:fit-content;padding:7px 23px}.responsive-button.no-display-name.fit-content.xsmall[data-v-dbbab9e8]{width:fit-content;padding:7px!important}.responsive-button.fit-content.xsmall.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.xsmall.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.xsmall.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.xsmall[data-v-dbbab9e8]{width:100%;padding:7px}.responsive-button.small[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:9px 23px}.responsive-button.no-display-name.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:9px!important}.responsive-button.fit-content.small.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.small.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.small[data-v-dbbab9e8]{width:100%;padding:9px 7px}.responsive-button.medium[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:10px 23px}.responsive-button.no-display-name.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:10px!important}.responsive-button.fit-content.medium.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.medium[data-v-dbbab9e8]{width:100%;padding:10px 7px}.responsive-button.large[data-v-dbbab9e8]{font-size:16px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:11px 23px}.responsive-button.no-display-name.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:11px!important}.responsive-button.fit-content.large.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:11px 23px 11px 15px}.responsive-button.fit-content.large.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:11px 15px 11px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:11px 15px}.responsive-button.fill-whole.large[data-v-dbbab9e8]{width:100%;padding:11px 7px}.disabled[data-v-dbbab9e8]{cursor:not-allowed}.outlined-primary[data-v-dbbab9e8]{border:1px solid #1E4670;background:#fff;color:#1e4670}.outlined-primary[data-v-dbbab9e8]:hover{background:#ecf2f8}.outlined-primary.focused[data-v-dbbab9e8],.outlined-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.outlined-primary.disabled[data-v-dbbab9e8],.outlined-primary.disabled[data-v-dbbab9e8]:hover,.outlined-primary.disabled.focused[data-v-dbbab9e8],.outlined-primary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-primary[data-v-dbbab9e8]{border:1px solid #1E4670;background:#1e4670;color:#fff}.filled-primary[data-v-dbbab9e8]:hover{background:#022a53}.filled-primary.focused[data-v-dbbab9e8],.filled-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#022a53}.filled-primary.disabled[data-v-dbbab9e8],.filled-primary.disabled[data-v-dbbab9e8]:hover,.filled-primary.disabled.focused .filled-primary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#979797}.text-primary[data-v-dbbab9e8]{border:1px solid transparent;background:#fff;color:#1e4670}.text-primary[data-v-dbbab9e8]:hover{background:#ecf2f8}.text-primary.focused[data-v-dbbab9e8],.text-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.text-primary.disabled[data-v-dbbab9e8],.text-primary.disabled[data-v-dbbab9e8]:hover,.text-primary.disabled.focused[data-v-dbbab9e8],.text-primary.disabled[data-v-dbbab9e8]:active{color:#979797}.outlined-secondary[data-v-dbbab9e8]{border:1px solid #20A8C3;background:#fff;color:#20a8c3}.outlined-secondary[data-v-dbbab9e8]:hover{background:#e8f0f4}.outlined-secondary.focused[data-v-dbbab9e8],.outlined-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.outlined-secondary.disabled[data-v-dbbab9e8],.outlined-secondary.disabled[data-v-dbbab9e8]:hover,.outlined-secondary.disabled.focused[data-v-dbbab9e8],.outlined-secondary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-secondary[data-v-dbbab9e8]{border:1px solid #20A8C3;background:#20a8c3;color:#fff}.filled-secondary[data-v-dbbab9e8]:hover{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#20a8c3;box-shadow:0 1px 2px #0000004d,0 1px 3px 1px #00000026}.filled-secondary.focused[data-v-dbbab9e8],.filled-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#20a8c3}.filled-secondary.disabled[data-v-dbbab9e8],.filled-secondary.disabled[data-v-dbbab9e8]:hover,.filled-secondary.disabled.focused[data-v-dbbab9e8],.filled-secondary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#979797}.text-secondary[data-v-dbbab9e8]{border:1px solid transparent;background:#fff;color:#20a8c3}.text-secondary[data-v-dbbab9e8]:hover{background:#e8f0f4}.text-secondary.focused[data-v-dbbab9e8],.text-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.text-secondary.disabled[data-v-dbbab9e8],.text-secondary.disabled[data-v-dbbab9e8]:hover,.text-secondary.disabled.focused[data-v-dbbab9e8],.text-secondary.disabled[data-v-dbbab9e8]:active{color:#979797}.responsive-button-dropdown[data-v-dbbab9e8]{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-dbbab9e8]{width:100%}.fit-content .responsive-button-dropdown[data-v-dbbab9e8]{width:fit-content}.responsive-button-dropdown.sub-dropdown[data-v-dbbab9e8]{width:fit-content!important}.responsive-button-dropdown-option[data-v-dbbab9e8]{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-dbbab9e8]{border-radius:4px!important;background:#faebe6!important}.responsive-button-dropdown-option.disabled[data-v-dbbab9e8],.responsive-button-dropdown-option.disabled.hovered[data-v-dbbab9e8]{color:#979797!important;cursor:not-allowed!important}.responsive-button-dropdown-option .button-name[data-v-dbbab9e8]{text-align:left}.non-web-responsive-button-nested-dropdown-button[data-v-dbbab9e8]{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-dbbab9e8],.fit-content .non-web-responsive-button-dropdown-option[data-v-dbbab9e8]{width:100%}.non-web-responsive-button-dropdown-option[data-v-dbbab9e8]{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-dbbab9e8]:active{border-radius:4px!important;background:#faebe6!important}.non-web-responsive-button-dropdown-option.disabled[data-v-dbbab9e8],.non-web-responsive-button-dropdown-option.disabled[data-v-dbbab9e8]:active{color:#979797!important;cursor:not-allowed!important}@media only screen and (max-width:767px){.simplified-notification[data-v-dbbab9e8]{padding:8px 12px;gap:8px}.responsive-button.small[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:7px 23px}.responsive-button.fit-content.small.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.small.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.small[data-v-dbbab9e8]{width:100%;padding:7px}.responsive-button.medium[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:9px 23px}.responsive-button.fit-content.medium.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.medium[data-v-dbbab9e8]{width:100%;padding:9px 7px}.responsive-button.large[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:10px 23px}.responsive-button.fit-content.large.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.large.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.large[data-v-dbbab9e8]{width:100%;padding:10px 7px}.responsive-button-dropdown-option[data-v-dbbab9e8]{font-size:14px!important;font-weight:400!important;line-height:20px!important;letter-spacing:.25px!important}.responsive-button-dropdown[data-v-dbbab9e8]{min-width:267px}}.input-box-unit-wrapper[data-v-8f8a50f7]{width:100%;display:flex;flex-direction:column;row-gap:8px}.input-box-unit[data-v-8f8a50f7]{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-8f8a50f7]:hover{border:1px solid #DEE6ED}.input-box-unit.is-focus[data-v-8f8a50f7]{border:1px solid #9BB2CA}.input-box-unit.has-prefix[data-v-8f8a50f7],.input-box-unit.has-prefix.has-suffix[data-v-8f8a50f7]{padding:8px 11px}.input-box-unit.has-suffix[data-v-8f8a50f7]{padding-left:15px}.input-box-unit.error[data-v-8f8a50f7]{border:1px solid #DE583F}.input-box-unit.alert[data-v-8f8a50f7]{border:1px solid #E0961E}.input-box-unit.disabled[data-v-8f8a50f7]{background:#f2f2f2;cursor:not-allowed}.input-box-unit.disabled[data-v-8f8a50f7]:hover{border:1px solid #BCCCDC}.input-box[data-v-8f8a50f7]{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-8f8a50f7]::placeholder{color:#979797;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.input-box[data-v-8f8a50f7]::-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-8f8a50f7],.suffix-wrapper[data-v-8f8a50f7]{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-8f8a50f7]{min-width:20px}.suffix-wrapper.with-date-icon[data-v-8f8a50f7]{position:absolute;right:40px}.clear-icon[data-v-8f8a50f7]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-8f8a50f7]:hover{opacity:1}.hide[data-v-8f8a50f7]{display:none}.message-container[data-v-8f8a50f7]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-8f8a50f7]{color:#de583f}.message-container.alert[data-v-8f8a50f7]{color:#e0961e}@media only screen and (max-width:767px){.input-box-unit-wrapper[data-v-8f8a50f7]{row-gap:4px}.input-box-unit[data-v-8f8a50f7]{padding:7px 11px;column-gap:8px}.input-box-unit.has-prefix[data-v-8f8a50f7],.input-box-unit.has-prefix.has-suffix[data-v-8f8a50f7]{padding:7px 11px}.input-box-unit.has-suffix[data-v-8f8a50f7]{padding-left:13px}.input-box[data-v-8f8a50f7]{font-size:14px;line-height:20px;letter-spacing:.25px;height:20px}.input-box[data-v-8f8a50f7]::placeholder{font-size:14px;line-height:20px;letter-spacing:.25px}.input-box[data-v-8f8a50f7]::-webkit-calendar-picker-indicator{height:20px}.prefix-wrapper[data-v-8f8a50f7]{min-width:20px;height:20px}.suffix-wrapper[data-v-8f8a50f7]{min-width:20px;height:20px;column-gap:0px}.suffix-wrapper.with-date-icon[data-v-8f8a50f7]{right:32px}.clear-icon[data-v-8f8a50f7]{width:36px;height:36px;box-sizing:border-box;padding:10px}.message-container[data-v-8f8a50f7]{font-size:14px;line-height:16px}}.single-selector-unit-wrapper[data-v-6da857c3]{width:100%;display:flex;flex-direction:column;row-gap:8px}.single-selector[data-v-6da857c3]{height:fit-content;width:100%;box-sizing:border-box;padding:9px 12px 9px 16px;display:flex;align-items:center;justify-content:space-between;column-gap:12px;border-radius:4px;box-shadow:inset 0 0 0 1px #bcccdc;background:#fff;cursor:pointer;position:relative}.single-selector[data-v-6da857c3]:hover{box-shadow:inset 0 0 0 1px #dee6ed}.single-selector.has-prefix[data-v-6da857c3]{padding-left:12px}.single-selector.is-focus[data-v-6da857c3]{box-shadow:inset 0 0 0 1px #9bb2ca}.single-selector.error[data-v-6da857c3]{box-shadow:inset 0 0 0 1px #de583f}.single-selector.alert[data-v-6da857c3]{box-shadow:inset 0 0 0 1px #e0961e}.single-selector.disabled[data-v-6da857c3]{background:#f2f2f2;cursor:not-allowed}.single-selector.disabled[data-v-6da857c3]:hover{box-shadow:inset 0 0 0 1px #bcccdc}.selected-content[data-v-6da857c3]{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-6da857c3]{display:none}.content-text[data-v-6da857c3]{color:#1c1b1f}.placeholder[data-v-6da857c3]{color:#979797}.single-selector.disabled .content-text[data-v-6da857c3],.single-selector.disabled .placeholder[data-v-6da857c3]{color:#555}.filter-input[data-v-6da857c3]{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-6da857c3]{width:100%;height:100%}.prefix-wrapper[data-v-6da857c3],.suffix-wrapper[data-v-6da857c3]{display:flex;align-items:center;column-gap:4px;flex-shrink:0;min-width:24px;width:fit-content;height:24px}.rotate-0[data-v-6da857c3]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-6da857c3]{transform:rotate(180deg)}.clear-icon[data-v-6da857c3]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-6da857c3]:hover{opacity:1}.single-selector-dropdown[data-v-6da857c3]{width:inherit;height:fit-content;max-height:233px;padding:8px 11px;box-sizing:border-box;border-radius:4px;border:1px solid #BCCCDC;background:#fff;overflow:auto;position:absolute;z-index:1000;top:50px;left:0}.no-data-notes[data-v-6da857c3]{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-6da857c3]{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-6da857c3]:hover{background:#faebe6}.dropdown-item.selected[data-v-6da857c3]{font-weight:600}.message-container[data-v-6da857c3]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-6da857c3]{color:#de583f}.message-container.alert[data-v-6da857c3]{color:#e0961e}@media only screen and (max-width:767px){.single-selector-unit-wrapper[data-v-6da857c3]{row-gap:4px}.single-selector[data-v-6da857c3]{column-gap:8px;padding:8px 12px 8px 14px}.selected-content[data-v-6da857c3]{font-size:14px;line-height:20px;letter-spacing:.25px}.filter-input[data-v-6da857c3]{font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;height:20px}.prefix-wrapper[data-v-6da857c3],.suffix-wrapper[data-v-6da857c3]{min-width:20px;height:20px;display:flex;align-items:center;column-gap:0px;flex-shrink:0}.clear-icon[data-v-6da857c3]{width:36px;height:36px;right:32px;box-sizing:border-box;padding:10px}.single-selector-dropdown[data-v-6da857c3]{max-height:176px;padding:7px;top:40px}.no-data-notes[data-v-6da857c3]{font-size:14px;line-height:20px;letter-spacing:.25px}.dropdown-item[data-v-6da857c3]{padding:6px 4px;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.message-container[data-v-6da857c3]{font-size:14px;line-height:16px}}.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}@keyframes spin{to{transform:rotate(360deg)}}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
(function(r,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(r=typeof globalThis<"u"?globalThis:r||self,e(r.PNSComponentLibrary={},r.Vue))})(this,function(r,e){"use strict";const y="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",T=Object.freeze(Object.defineProperty({__proto__:null,default:y},Symbol.toStringTag,{value:"Module"})),h="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",U=Object.freeze(Object.defineProperty({__proto__:null,default:h},Symbol.toStringTag,{value:"Module"})),W=Object.freeze(Object.defineProperty({__proto__:null,default:"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"},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,default:"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"},Symbol.toStringTag,{value:"Module"})),b="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",I=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"})),k="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",R=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"})),C="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",F=Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"})),J=Object.freeze(Object.defineProperty({__proto__:null,default:"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"},Symbol.toStringTag,{value:"Module"})),$=Object.freeze(Object.defineProperty({__proto__:null,default:"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"},Symbol.toStringTag,{value:"Module"})),v="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",K=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"})),f="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",q=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"})),m="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",G=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"})),w="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",Q=Object.freeze(Object.defineProperty({__proto__:null,default:w},Symbol.toStringTag,{value:"Module"})),u="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",X=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),x="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",Y=Object.freeze(Object.defineProperty({__proto__:null,default:x},Symbol.toStringTag,{value:"Module"})),L="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",ee=Object.freeze(Object.defineProperty({__proto__:null,default:L},Symbol.toStringTag,{value:"Module"})),S="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",te=Object.freeze(Object.defineProperty({__proto__:null,default:S},Symbol.toStringTag,{value:"Module"})),B="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",oe=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"})),p=(t,o)=>{const i=t.__vccOpts||t;for(const[a,n]of o)i[a]=n;return i},ie={props:{content:String,build_in_theme:{type:String,default:"blue"},title:{type:String,default:""},customized_alert_icon_src:{type:String,default:""},customized_class:{type:String,default:""},with_close_btn:{type:Boolean,default:!0},mounted_programmatically:{type:Boolean,default:!1},hide_after:{type:Number,default:0}},mounted(){console.log("auto hide",!this.hide_after,typeof this.hide_after),this.hide_after&&typeof this.hide_after=="number"&&this.autoClose()},computed:{alert_icon_src(){return this.customized_alert_icon_src?this.customized_alert_icon_src:this.build_in_theme=="blue"?w:this.build_in_theme=="yellow"?B:this.build_in_theme=="red"?L:this.build_in_theme=="green"?v:w},theme_class(){return this.build_in_theme}},emits:["close"],methods:{autoClose(){setTimeout(()=>{this.manuallyClose()},this.hide_after),this.hide_after&&(this.$el.classList.add("fade-out"),this.$el.style.setProperty("--fade-out-duration-ms",`${this.hide_after}ms`))},manuallyClose(){if(this.mounted_programmatically){const o=this.$el?this.$el.parentElement:null;if(o){o.remove();var t=this.$attrs.notification_instances_collection[this.$attrs.id];t.unmount(),t._container=null,t=null,delete this.$attrs.notification_instances_collection[this.$attrs.id]}}else this.$emit("close",this.$el)}}},se={class:"prefix-icon-container"},ne=["src"],le={class:"notifiction-text"},re={class:"content-wrapper"},de={key:0,class:"title"},ae={key:0,class:"content-details"},ce=["innerHTML"],_e={class:"close-btn-container"};function he(t,o,i,a,n,s){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["simplified-notification",s.theme_class,i.customized_class])},[e.createElementVNode("div",se,[e.createElementVNode("img",{src:s.alert_icon_src,class:"prefix_icon"},null,8,ne)]),e.createElementVNode("div",le,[e.createElementVNode("div",re,[i.title?(e.openBlock(),e.createElementBlock("div",de,e.toDisplayString(i.title),1)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"content",{},()=>[i.content?(e.openBlock(),e.createElementBlock("div",ae,[e.createElementVNode("div",{innerHTML:i.content},null,8,ce)])):e.createCommentVNode("",!0)],!0)])]),e.createElementVNode("div",_e,[i.with_close_btn?(e.openBlock(),e.createElementBlock("img",{key:0,src:x,class:"close-btn",onClick:o[0]||(o[0]=(...l)=>s.manuallyClose&&s.manuallyClose(...l))})):e.createCommentVNode("",!0)])],2)}const E=p(ie,[["render",he],["__scopeId","data-v-2eec1ba2"]]);function pe(){const t=e.ref(0),o=e.ref(0),i=()=>{t.value=window.innerWidth,o.value=window.innerHeight};return e.onMounted(()=>{i(),window.addEventListener("resize",i)}),e.onUnmounted(()=>{window.removeEventListener("resize",i)}),{width:t,height:o}}const fe={name:"ResponsiveButton",inheritAttrs:!1,props:{display_name:{type:String,default:"button"},size:{type:String,default:"small"},width_type:{type:String,default:"fit-content"},build_in_theme:{type:String,default:"outlined-primary"},customized_class:{type:String,default:""},disabled:{type:Boolean,default:!1},dropdown_options:{type:Array,default:()=>[]},is_dropdown_option:{type:Boolean,default:!1}},mounted(){!this.is_dropdown_option&&this.has_dropdown&&(document.addEventListener("click",t=>this.closeWhenClickOutsideDropdownButton(t)),this.nested_dropdown_option_button_history_stack=[]),this.is_dropdown_option_hovered&&this.has_dropdown&&(this.is_dropdown_visibile=!0)},unmounted(){!this.is_dropdown_option&&this.has_dropdown&&document.removeEventListener("click",t=>this.closeWhenClickOutsideDropdownButton(t))},setup(){const{width:t}=pe();return{width:t}},data(){return{is_dropdown_visibile:!1,currently_hovered_dropdown_option_display_name:"",dropdown_position_data:{},nested_dropdown_option_button_history_stack:null,loading:!1}},emits:["click","update-currently-hovered-dropdown-option","add-nested-dropdown-history-stack","remove-nested-dropdown-history-stack"],computed:{has_prefix(){return this.$slots.prefix},has_suffix(){return this.$slots.suffix},has_dropdown(){return this.dropdown_options&&Array.isArray(this.dropdown_options)&&this.dropdown_options.length>0},dynamicDefaultDropdownDownArrow(){return this.build_in_theme=="filled-primary"||this.build_in_theme=="filled-secondary"?S:this.build_in_theme=="outlined-secondary"||this.build_in_theme=="text-secondary"?this.disabled?f:b:this.disabled?f:k},web_version(){return this.width>1024},mobile_version(){return this.width<=767},is_dropdown_option_hovered(){if(this.is_dropdown_option&&this.has_dropdown&&!this.$attrs.currently_hovered_dropdown_option_display_name&&this.$attrs.nested_dropdown_option_button_history_stack&&this.$attrs.nested_dropdown_option_button_history_stack.length>0){for(const t of this.$attrs.nested_dropdown_option_button_history_stack)if(t.display_name==this.display_name&&JSON.stringify(t.dropdown_options)==JSON.stringify(this.dropdown_options))return this.$emit("update-currently-hovered-dropdown-option",this.display_name),this.is_dropdown_visibile=!0,setTimeout(()=>{this.calculateDropdownPosition()},100),!0}return this.is_dropdown_option&&this.$attrs.currently_hovered_dropdown_option_display_name==this.display_name},show_dropdown(){return this.is_dropdown_visibile&&this.has_dropdown},non_web_version_nested_dropdown_option_shown(){return this.nested_dropdown_option_button_history_stack&&this.nested_dropdown_option_button_history_stack.length>0?this.nested_dropdown_option_button_history_stack[this.nested_dropdown_option_button_history_stack.length-1].display_name:null},non_web_version_dropdown_options(){return this.nested_dropdown_option_button_history_stack&&this.nested_dropdown_option_button_history_stack.length>0?this.nested_dropdown_option_button_history_stack[this.nested_dropdown_option_button_history_stack.length-1].dropdown_options:this.dropdown_options}},watch:{is_dropdown_option_hovered(t){this.has_dropdown&&!this.disabled&&(this.is_dropdown_visibile=t,t?this.$emit("add-nested-dropdown-history-stack",{display_name:this.display_name,dropdown_options:this.dropdown_options}):this.$emit("remove-nested-dropdown-history-stack",{display_name:this.display_name,dropdown_options:this.dropdown_options}))},show_dropdown(t){t?this.$nextTick(()=>{this.calculateDropdownPosition()}):(this.dropdown_position_data={},this.currently_hovered_dropdown_option_display_name="",this.is_dropdown_option||(this.nested_dropdown_option_button_history_stack=[]))}},methods:{closeWhenClickOutsideDropdownButton(t){this.show_dropdown&&this.$refs["responsive-button"]&&!this.$refs["responsive-button"].contains(t.target)&&this.$refs["responsive-button-dropdown"]&&!this.$refs["responsive-button-dropdown"].contains(t.target)&&(this.is_dropdown_visibile=!1)},handleClick(){this.disabled||(this.has_dropdown?this.is_dropdown_option||(this.is_dropdown_visibile=!this.is_dropdown_visibile):this.$emit("click",this.display_name))},handleMouseEnterButton(){this.is_dropdown_option&&this.$emit("update-currently-hovered-dropdown-option",this.display_name)},updateCurrentlyHoveredDropdownOption(t){this.currently_hovered_dropdown_option_display_name=t},updateNestedDropdownHistoryStack(t){this.is_dropdown_option?this.$emit("add-nested-dropdown-history-stack",t):this.nested_dropdown_option_button_history_stack.push(t)},removeNestedDropdownHistoryStack(t){if(this.is_dropdown_option)this.$emit("remove-nested-dropdown-history-stack",t);else for(let o=this.nested_dropdown_option_button_history_stack.length-1;o>=0;o--){const i=this.nested_dropdown_option_button_history_stack[o];if(i.display_name==t.display_name&&JSON.stringify(i.dropdown_options)==JSON.stringify(t.dropdown_options)){this.nested_dropdown_option_button_history_stack.splice(o);break}}},nonWebRemoveNestedDropdownHistoryStack(t){setTimeout(()=>{this.removeNestedDropdownHistoryStack(t)},50)},clickWebDropdownOption(t){this.$emit("click",t),this.is_dropdown_option||(this.is_dropdown_visibile=!1)},clickNonWebDropdownOption(t){t.disabled||(t.dropdown_options?setTimeout(()=>{var o;for(let i=this.nested_dropdown_option_button_history_stack.length-1;i>=0;i--){const a=this.nested_dropdown_option_button_history_stack[i];if(a.display_name==t.display_name&&JSON.stringify(a.dropdown_options)==JSON.stringify(t.dropdown_options)){o=!0,this.nested_dropdown_option_button_history_stack.splice(i);break}}o||this.nested_dropdown_option_button_history_stack.push({display_name:t.display_name,dropdown_options:t.dropdown_options})},50):(this.$emit("click",t.display_name),this.is_dropdown_visibile=!1))},calculateDropdownPosition(){const t={},o=this.$refs["responsive-button"],i=this.$refs["responsive-button-dropdown"];if(o&&i){const a=window.innerWidth,n=window.innerHeight,s=o.getBoundingClientRect(),l=s.right,_=s.bottom,d=s.left,c=s.width,j=s.height,P=i.getBoundingClientRect(),H=P.height,Z=P.width;this.is_dropdown_option?(n-_>H+(this.mobile_version?4:8)?t.top="0px":t.bottom="0px",a-l>Z+(this.mobile_version?4:8)?t.left=c+12+8+"px":t.right=c+12+8+"px"):(n-_>H+(this.mobile_version?4:8)?t.top=j+(this.mobile_version?4:8)+"px":t.bottom=j+(this.mobile_version?4:8)+"px",a-d>Z+(this.mobile_version?4:8)?t.left="0px":t.right="0px")}this.dropdown_position_data=t},setLoading(t){this.loading=t}},expose:["setLoading"]},me={class:"button-content"},we={key:0,class:"prefix-wrapper"},ue={key:1,class:"button-name"},ge={key:2,class:"suffix-wrapper"},ye={key:3,class:"outest-responsive-dropdown-button-default-suffix suffix-wrapper"},be=["src"],ke={key:0,class:"nested-dropdown-default-suffix suffix-wrapper"},Ce={key:0,src:h},ve={key:1,src:m},xe=["onClick"],Le={class:"non-web-dropdown-option-display-name"},Se={key:0,class:"non-web-responsive-nested-dropdown-option-default-suffix suffix-wrapper"},Be={key:0,src:h},Ee={key:1,src:m};function Oe(t,o,i,a,n,s){const l=e.resolveComponent("ResponsiveButton",!0),_=e.resolveDirective("component-loading");return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["responsive-button-wrapper",i.width_type]),ref:"responsive-button-wrapper"},[e.createElementVNode("div",{class:e.normalizeClass(["responsive-button",i.size,i.width_type,{disabled:i.disabled},{"no-display-name":!i.display_name},{"has-prefix":s.has_prefix},{"has-suffix":s.has_suffix},i.build_in_theme,i.customized_class,{hovered:s.is_dropdown_option_hovered},{focused:s.show_dropdown}]),ref:"responsive-button",onClick:o[0]||(o[0]=d=>s.handleClick()),onMouseenter:o[1]||(o[1]=d=>s.handleMouseEnterButton())},[e.createElementVNode("div",me,[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",we,[e.renderSlot(t.$slots,"prefix",{},void 0,!0)])):e.createCommentVNode("",!0),i.display_name?(e.openBlock(),e.createElementBlock("div",ue,e.toDisplayString(i.display_name),1)):e.createCommentVNode("",!0),t.$slots.suffix?(e.openBlock(),e.createElementBlock("div",ge,[e.renderSlot(t.$slots,"suffix",{},void 0,!0)])):e.createCommentVNode("",!0),!i.is_dropdown_option&&s.has_dropdown?(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("img",{src:s.dynamicDefaultDropdownDownArrow,class:e.normalizeClass(["rotate-0",{"rotate-180":s.show_dropdown}])},null,10,be)])):e.createCommentVNode("",!0)]),i.is_dropdown_option&&s.has_dropdown?(e.openBlock(),e.createElementBlock("div",ke,[i.disabled?(e.openBlock(),e.createElementBlock("img",ve)):(e.openBlock(),e.createElementBlock("img",Ce))])):e.createCommentVNode("",!0)],34),s.web_version&&s.show_dropdown?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"responsive-button-dropdown",class:e.normalizeClass(["responsive-button-dropdown",{"sub-dropdown":i.is_dropdown_option}]),style:e.normalizeStyle(n.dropdown_position_data)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.dropdown_options,d=>(e.openBlock(),e.createBlock(l,e.mergeProps({key:`${i.display_name.replaceAll(" ","-")}-dropdown-item-${d.display_name.replaceAll(" ","-")}`,ref_for:!0},d,{customized_class:"responsive-button-dropdown-option",width_type:"fill-whole",is_dropdown_option:!0,nested_dropdown_option_button_history_stack:i.is_dropdown_option?t.$attrs.nested_dropdown_option_button_history_stack:n.nested_dropdown_option_button_history_stack,currently_hovered_dropdown_option_display_name:n.currently_hovered_dropdown_option_display_name,onUpdateCurrentlyHoveredDropdownOption:o[2]||(o[2]=c=>s.updateCurrentlyHoveredDropdownOption(c)),onClick:o[3]||(o[3]=c=>s.clickWebDropdownOption(c)),onAddNestedDropdownHistoryStack:o[4]||(o[4]=c=>s.updateNestedDropdownHistoryStack(c)),onRemoveNestedDropdownHistoryStack:o[5]||(o[5]=c=>s.removeNestedDropdownHistoryStack(c))}),null,16,["nested_dropdown_option_button_history_stack","currently_hovered_dropdown_option_display_name"]))),128))],6)):!s.web_version&&s.show_dropdown?(e.openBlock(),e.createElementBlock("div",{key:1,ref:"responsive-button-dropdown",class:e.normalizeClass(["responsive-button-dropdown",{"sub-dropdown":i.is_dropdown_option}]),style:e.normalizeStyle(n.dropdown_position_data)},[s.non_web_version_nested_dropdown_option_shown?(e.openBlock(),e.createElementBlock("div",{key:0,class:"non-web-responsive-button-nested-dropdown-button",onClick:o[6]||(o[6]=d=>s.nonWebRemoveNestedDropdownHistoryStack({display_name:s.non_web_version_nested_dropdown_option_shown,dropdown_options:s.non_web_version_dropdown_options}))},[o[7]||(o[7]=e.createElementVNode("div",{class:"non-web-responsive-nested-dropdown-button-default-prefeix prefix-wrapper"},[e.createElementVNode("img",{src:h,class:"rotate-180"})],-1)),e.createElementVNode("div",null,e.toDisplayString(s.non_web_version_nested_dropdown_option_shown),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.non_web_version_dropdown_options,d=>(e.openBlock(),e.createElementBlock("div",{key:`${i.display_name.replaceAll(" ","-")}-dropdown-item-${d.display_name.replaceAll(" ","-")}`,class:e.normalizeClass(["non-web-responsive-button-dropdown-option",{disabled:d.disabled}]),onClick:c=>s.clickNonWebDropdownOption(d)},[e.createElementVNode("div",Le,e.toDisplayString(d.display_name),1),d.dropdown_options?(e.openBlock(),e.createElementBlock("div",Se,[d.disabled?(e.openBlock(),e.createElementBlock("img",Ee)):(e.openBlock(),e.createElementBlock("img",Be))])):e.createCommentVNode("",!0)],10,xe))),128))],6)):e.createCommentVNode("",!0)],2)),[[_,n.loading]])}const O=p(fe,[["render",Oe],["__scopeId","data-v-dbbab9e8"]]),Ve={props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},placeholder:{type:String,default:"Enter"},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},mounted(){document.addEventListener("click",t=>this.blurWhenClickOutside(t))},unmounted(){document.removeEventListener("click",t=>this.blurWhenClickOutside(t))},data(){return{value:this.modelValue,hovered:!1,is_focus:!1,show_alert:!1,show_error:!1,message_notification_text:""}},computed:{show_clear_icon(){return this.clearable&&this.value&&!this.disabled&&(this.hovered||this.is_focus)}},emits:["update:modelValue","input","change","focus","blur","clear"],watch:{modelValue(t){this.value=t},value(t){console.log("value: ",this.clearable&&t&&!this.disabled),this.$emit("update:modelValue",t),this.$emit("input",t)},is_focus(t){t?(this.$refs["input-box"].focus(),console.log("focus"),this.$emit("focus")):(this.$refs["input-box"].blur(),console.log("blur"),this.$emit("blur"))}},methods:{handleClickInputBoxUnit(t){this.is_focus=!0,document.activeElement!=this.$refs["input-box"]&&this.$refs["input-box"].focus()},blurWhenClickOutside(t){this.is_focus&&!this.$refs["input-box-unit"].contains(t.target)&&(this.is_focus=!1)},handleKeydown(t){t.key==="Enter"&&this.$emit("change",this.value)},handleClearValue(){this.value="",this.$emit("clear")},focus(){this.is_focus=!0},blur(){this.is_focus=!1},alert(t){this.show_alert=!0,this.show_error=!1,this.message_notification_text=t},error(t){this.show_error=!0,this.show_alert=!1,this.message_notification_text=t},removeAlertOrErrorEffect(){this.show_alert=!1,this.show_error=!1,this.message_notification_text=""}},expose:["focus","blur","alert","error","removeAlertOrErrorEffect"]},De={class:"input-box-unit-wrapper"},Me={key:0,class:"prefix-wrapper"},Ne=["disabled","type","placeholder"];function ze(t,o,i,a,n,s){return e.openBlock(),e.createElementBlock("div",De,[e.createElementVNode("div",{class:e.normalizeClass(["input-box-unit",{"is-focus":n.is_focus},{"has-prefix":t.$slots.prefix},{"has-suffix":t.$slots.suffix},{disabled:i.disabled},{error:n.show_error},{alert:n.show_alert}]),ref:"input-box-unit",onMouseenter:o[3]||(o[3]=l=>n.hovered=!0),onMouseleave:o[4]||(o[4]=l=>n.hovered=!1),onClick:o[5]||(o[5]=l=>s.handleClickInputBoxUnit(l))},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",Me,[e.renderSlot(t.$slots,"prefix",{},void 0,!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":o[0]||(o[0]=l=>n.value=l),class:e.normalizeClass(["input-box"]),ref:"input-box",disabled:i.disabled,type:i.type,placeholder:i.placeholder,onKeydown:o[1]||(o[1]=l=>s.handleKeydown(l))},null,40,Ne),[[e.vModelDynamic,n.value]]),t.$slots.suffix||s.show_clear_icon?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["suffix-wrapper",{"only-clear-icon":s.show_clear_icon&&!t.$slots.suffix},{"with-date-icon":i.type=="date"}])},[e.createElementVNode("img",{src:u,class:e.normalizeClass(["clear-icon",{hide:!s.show_clear_icon}]),onClick:o[2]||(o[2]=(...l)=>s.handleClearValue&&s.handleClearValue(...l))},null,2),e.renderSlot(t.$slots,"suffix",{},void 0,!0)],2)):e.createCommentVNode("",!0)],34),(n.show_alert||n.show_error)&&n.message_notification_text?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["message-container",{error:n.show_error},{alert:n.show_alert}])},e.toDisplayString(n.message_notification_text),3)):e.createCommentVNode("",!0)])}const V=p(Ve,[["render",ze],["__scopeId","data-v-8f8a50f7"]]),je={props:{modelValue:{type:String,default:""},options:{type:Array,default:()=>[]},filterable:{type:Boolean,default:!1},remote_search:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Select"},clearable:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loading_text:{type:String,default:"Loading"},no_data_text:{type:String,default:"No data"}},mounted(){document.addEventListener("click",t=>this.closeWhenClickOutsideSelector(t))},unmounted(){document.removeEventListener("click",t=>this.closeWhenClickOutsideSelector(t))},data(){return{selected_item:this.modelValue,selected_item_label:this.findCorrespondingLabelViaValue(this.modelValue),filter_keyword:"",is_focus:!1,hovered:!1,show_error:!1,show_alert:!1,message_notification_text:"",is_loading:this.loading}},computed:{default_dropdown_arrow_src(){return this.disabled?C:y},options_shown(){return this.remote_search?this.options:this.filter_keyword?this.options.filter(t=>JSON.stringify(t.value).toLowerCase().includes(this.filter_keyword.toLowerCase())||JSON.stringify(t.label).toLowerCase().includes(this.filter_keyword.toLowerCase())):this.options},show_clear_icon(){return this.clearable&&this.selected_item&&!this.disabled&&(this.hovered||this.is_focus)}},emits:["update:modelValue","change","remote-search","filter-change","visible-change","focus","blur","clear"],watch:{modelValue(t){this.selected_item=t},selected_item(t){this.$emit("update:modelValue",t),this.$emit("change",t),this.selected_item_label=this.findCorrespondingLabelViaValue(t),this.filter_keyword=""},filter_keyword(t){this.$emit("filter-change",t),this.remote_search&&this.$emit("remote-search",t)},is_focus(t){console.log("is_focus change",t),this.$emit("visible-change",t),t?(this.$emit("focus"),this.filterable&&this.$nextTick(()=>{var o;(o=this.$refs["filter-input"])==null||o.focus()})):this.$emit("blur")},loading(t){this.is_loading=t}},methods:{findCorrespondingLabelViaValue(t){var o=t;for(const i of this.options)i.value==t&&(o=i.label);return o},handleClickSingleSelector(){console.log("handleClickSingleSelector("),this.disabled||(this.is_focus=!this.is_focus)},handleSelectOption(t){this.selected_item=t.value,this.selected_item_label=t.label,this.is_focus=!1},closeWhenClickOutsideSelector(t){this.is_focus&&!this.$refs["single-selector"].contains(t.target)&&(this.is_focus=!1)},checkWhetherIsSelected(t){if(t.value==this.selected_item)return!0},handleClearValue(t){t.stopPropagation(),this.selected_item="",this.$emit("clear")},focus(){var t;this.disabled||(this.filterable&&((t=this.$refs["filter-input"])==null||t.focus()),this.is_focus=!0)},blur(){var t;this.filterable&&((t=this.$refs["filter-input"])==null||t.blur()),this.is_focus=!1},alert(t){this.show_error=!1,this.show_alert=!0,this.message_notification_text=t},error(t){this.show_alert=!1,this.show_error=!0,this.message_notification_text=t},removeAlertOrErrorEffect(){this.show_alert=!1,this.show_error=!1,this.message_notification_text=""},setDropdownContentLoading(t){this.is_loading=t}},expose:["focus","blur","alert","error","removeAlertOrErrorEffect","setDropdownContentLoading"]},Pe={class:"single-selector-unit-wrapper"},He={key:0,class:"prefix-wrapper"},Ze={class:e.normalizeClass(["suffix-wrapper"])},Te=["src"],Ue={key:1,class:"single-selector-dropdown"},We={key:0,class:"options-list"},Ae=["onClick"],Ie={key:1,class:"no-data-notes"};function Re(t,o,i,a,n,s){return e.openBlock(),e.createElementBlock("div",Pe,[e.createElementVNode("div",{ref:"single-selector",class:e.normalizeClass(["single-selector",{error:n.show_error},{alert:n.show_alert},{disabled:i.disabled},{"is-focus":n.is_focus},{"has-prefix":t.$slots.prefix},{"show-clear-icon":s.show_clear_icon}]),onClick:o[2]||(o[2]=(...l)=>s.handleClickSingleSelector&&s.handleClickSingleSelector(...l)),onMouseenter:o[3]||(o[3]=l=>n.hovered=!0),onMouseleave:o[4]||(o[4]=l=>n.hovered=!1)},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",He,[e.renderSlot(t.$slots,"prefix",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["selected-content",n.selected_item?"content-text":"placeholder"])},[e.createElementVNode("span",{class:e.normalizeClass([{hide:n.is_focus&&i.filterable}])},e.toDisplayString(n.selected_item?n.selected_item_label:i.placeholder),3),e.withDirectives(e.createElementVNode("input",{class:e.normalizeClass(["filter-input",{hide:!(n.is_focus&&i.filterable)}]),ref:"filter-input","onUpdate:modelValue":o[0]||(o[0]=l=>n.filter_keyword=l)},null,2),[[e.vModelText,n.filter_keyword]])],2),e.createElementVNode("div",Ze,[e.createElementVNode("img",{src:u,class:e.normalizeClass(["clear-icon",{hide:!s.show_clear_icon}]),onClick:o[1]||(o[1]=(...l)=>s.handleClearValue&&s.handleClearValue(...l))},null,2),e.renderSlot(t.$slots,"suffix",{},()=>[e.createElementVNode("img",{src:s.default_dropdown_arrow_src,class:e.normalizeClass(["default-suffix-pic","rotate-0",{"rotate-180":n.is_focus&&!i.disabled}])},null,10,Te)],!0)]),n.is_focus?(e.openBlock(),e.createElementBlock("div",Ue,[s.options_shown&&s.options_shown.length>0?(e.openBlock(),e.createElementBlock("div",We,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.options_shown,l=>(e.openBlock(),e.createElementBlock("div",{key:l.value,class:e.normalizeClass(["dropdown-item",{selected:s.checkWhetherIsSelected(l)}]),onClick:_=>s.handleSelectOption(l)},e.toDisplayString(l.label),11,Ae))),128))])):(e.openBlock(),e.createElementBlock("div",Ie,e.toDisplayString(n.is_loading?i.loading_text:i.no_data_text),1))])):e.createCommentVNode("",!0)],34),(n.show_alert||n.show_error)&&n.message_notification_text?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["message-container",{error:n.show_error},{alert:n.show_alert}])},e.toDisplayString(n.message_notification_text),3)):e.createCommentVNode("",!0)])}const D=p(je,[["render",Re],["__scopeId","data-v-6da857c3"]]),M={mounted(t,o){const i=document.createElement("div");i.classList.add("component-loading-spinner"),i.style.display="none",t._spinner=i,t.style.position="relative",t.appendChild(i),o.value&&(i.style.display="flex")},updated(t,o){o.value?t._spinner.style.display="flex":t._spinner.style.display="none"},unmounted(t){t.removeChild(t._spinner)}},N={SimplifiedNotification:E,ResponsiveButton:O,InputBox:V,SingleSelector:D},Fe={install:t=>{Object.keys(N).forEach(o=>{t.component(o,N[o])}),t.directive("component-loading",M)}},g=Object.assign({"./assets/icons/black_arrow_down.svg":T,"./assets/icons/black_arrow_to_right.svg":U,"./assets/icons/black_calendar_icon.svg":W,"./assets/icons/black_magnifying_glass_icon.svg":A,"./assets/icons/cyan_arrow_down.svg":I,"./assets/icons/dark_blue_arrow_down.svg":R,"./assets/icons/dark_gray_arrow_down.svg":F,"./assets/icons/eye_icon.svg":J,"./assets/icons/eye_with_cross_icon.svg":$,"./assets/icons/green_notification_icon.svg":K,"./assets/icons/grey_arrow_down.svg":q,"./assets/icons/grey_arrow_to_right.svg":G,"./assets/icons/info_blue_icon.svg":Q,"./assets/icons/input_clear_icon.svg":X,"./assets/icons/notification_cross_icon.svg":Y,"./assets/icons/red_notification_icon.svg":ee,"./assets/icons/white_arrow_down.svg":te,"./assets/icons/yellow_notification_icon.svg":oe});var z={};for(const t in g){const o=t.split("/").pop().replace(".svg","");z[o]=g[t].default}r.InputBox=V,r.ResponsiveButton=O,r.SimplifiedNotification=E,r.SingleSelector=D,r.component_loading=M,r.default=Fe,r.icons=g,r.iconsMap=z,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.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-9757f7de]{animation:fadeOut-9757f7de var(--fade-out-duration-ms, 3s) forwards}@keyframes fadeOut-9757f7de{0%{opacity:1}90%{opacity:.8}to{opacity:0}}.simplified-notification[data-v-9757f7de]{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-9757f7de]{background:#e8f4fd}.simplified-notification.red[data-v-9757f7de]{background:#faeaea}.simplified-notification.yellow[data-v-9757f7de]{background:#fff7df}.simplified-notification.green[data-v-9757f7de]{background:#ebf4ec}.prefix_icon[data-v-9757f7de]{width:24px;height:24px}.prefix-icon-container[data-v-9757f7de]{display:flex;align-items:center}.close-btn-container[data-v-9757f7de]{display:flex;flex-direction:column}.close-btn[data-v-9757f7de]{cursor:pointer}.notifiction-text[data-v-9757f7de]{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-9757f7de]{width:100%}.title[data-v-9757f7de]{color:#000;font-family:Roboto;font-size:14px;font-weight:600;line-height:16px;margin-bottom:4px}.content-details[data-v-9757f7de]{min-height:24px;display:flex;align-items:center}@media only screen and (max-width:767px){.simplified-notification[data-v-9757f7de]{padding:8px 12px;gap:8px}}.responsive-button-wrapper[data-v-dbbab9e8]{position:relative}.responsive-button-wrapper.fill-whole[data-v-dbbab9e8]{width:100%;height:fit-content}.responsive-button-wrapper.fit-content[data-v-dbbab9e8]{width:fit-content;height:fit-content}.responsive-button-wrapper[data-v-dbbab9e8] .component-loading-spinner{border-radius:4px}.responsive-button-wrapper[data-v-dbbab9e8] .component-loading-spinner:after{height:25px;width:25px}.responsive-button[data-v-dbbab9e8]{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-dbbab9e8]{min-width:90px}.responsive-button.no-display-name[data-v-dbbab9e8]{min-width:0px!important}.button-content[data-v-dbbab9e8]{display:flex;column-gap:8px;align-items:center}.prefix-wrapper[data-v-dbbab9e8],.suffix-wrapper[data-v-dbbab9e8]{width:20px;height:20px;flex-shrink:0}.rotate-0[data-v-dbbab9e8]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-dbbab9e8]{transform:rotate(180deg)}.responsive-button.xsmall[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.xsmall[data-v-dbbab9e8]{width:fit-content;padding:7px 23px}.responsive-button.no-display-name.fit-content.xsmall[data-v-dbbab9e8]{width:fit-content;padding:7px!important}.responsive-button.fit-content.xsmall.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.xsmall.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.xsmall.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.xsmall[data-v-dbbab9e8]{width:100%;padding:7px}.responsive-button.small[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:9px 23px}.responsive-button.no-display-name.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:9px!important}.responsive-button.fit-content.small.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.small.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.small[data-v-dbbab9e8]{width:100%;padding:9px 7px}.responsive-button.medium[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:10px 23px}.responsive-button.no-display-name.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:10px!important}.responsive-button.fit-content.medium.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.medium[data-v-dbbab9e8]{width:100%;padding:10px 7px}.responsive-button.large[data-v-dbbab9e8]{font-size:16px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:11px 23px}.responsive-button.no-display-name.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:11px!important}.responsive-button.fit-content.large.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:11px 23px 11px 15px}.responsive-button.fit-content.large.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:11px 15px 11px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:11px 15px}.responsive-button.fill-whole.large[data-v-dbbab9e8]{width:100%;padding:11px 7px}.disabled[data-v-dbbab9e8]{cursor:not-allowed}.outlined-primary[data-v-dbbab9e8]{border:1px solid #1E4670;background:#fff;color:#1e4670}.outlined-primary[data-v-dbbab9e8]:hover{background:#ecf2f8}.outlined-primary.focused[data-v-dbbab9e8],.outlined-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.outlined-primary.disabled[data-v-dbbab9e8],.outlined-primary.disabled[data-v-dbbab9e8]:hover,.outlined-primary.disabled.focused[data-v-dbbab9e8],.outlined-primary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-primary[data-v-dbbab9e8]{border:1px solid #1E4670;background:#1e4670;color:#fff}.filled-primary[data-v-dbbab9e8]:hover{background:#022a53}.filled-primary.focused[data-v-dbbab9e8],.filled-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#022a53}.filled-primary.disabled[data-v-dbbab9e8],.filled-primary.disabled[data-v-dbbab9e8]:hover,.filled-primary.disabled.focused .filled-primary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#979797}.text-primary[data-v-dbbab9e8]{border:1px solid transparent;background:#fff;color:#1e4670}.text-primary[data-v-dbbab9e8]:hover{background:#ecf2f8}.text-primary.focused[data-v-dbbab9e8],.text-primary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#ecf2f8}.text-primary.disabled[data-v-dbbab9e8],.text-primary.disabled[data-v-dbbab9e8]:hover,.text-primary.disabled.focused[data-v-dbbab9e8],.text-primary.disabled[data-v-dbbab9e8]:active{color:#979797}.outlined-secondary[data-v-dbbab9e8]{border:1px solid #20A8C3;background:#fff;color:#20a8c3}.outlined-secondary[data-v-dbbab9e8]:hover{background:#e8f0f4}.outlined-secondary.focused[data-v-dbbab9e8],.outlined-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.outlined-secondary.disabled[data-v-dbbab9e8],.outlined-secondary.disabled[data-v-dbbab9e8]:hover,.outlined-secondary.disabled.focused[data-v-dbbab9e8],.outlined-secondary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#f2f2f2;color:#979797}.filled-secondary[data-v-dbbab9e8]{border:1px solid #20A8C3;background:#20a8c3;color:#fff}.filled-secondary[data-v-dbbab9e8]:hover{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#20a8c3;box-shadow:0 1px 2px #0000004d,0 1px 3px 1px #00000026}.filled-secondary.focused[data-v-dbbab9e8],.filled-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#ffffff14,#ffffff14),#20a8c3}.filled-secondary.disabled[data-v-dbbab9e8],.filled-secondary.disabled[data-v-dbbab9e8]:hover,.filled-secondary.disabled.focused[data-v-dbbab9e8],.filled-secondary.disabled[data-v-dbbab9e8]:active{border:1px solid #979797;background:#979797}.text-secondary[data-v-dbbab9e8]{border:1px solid transparent;background:#fff;color:#20a8c3}.text-secondary[data-v-dbbab9e8]:hover{background:#e8f0f4}.text-secondary.focused[data-v-dbbab9e8],.text-secondary[data-v-dbbab9e8]:active{background:linear-gradient(0deg,#1c1b1f14,#1c1b1f14),#e8f0f4}.text-secondary.disabled[data-v-dbbab9e8],.text-secondary.disabled[data-v-dbbab9e8]:hover,.text-secondary.disabled.focused[data-v-dbbab9e8],.text-secondary.disabled[data-v-dbbab9e8]:active{color:#979797}.responsive-button-dropdown[data-v-dbbab9e8]{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-dbbab9e8]{width:100%}.fit-content .responsive-button-dropdown[data-v-dbbab9e8]{width:fit-content}.responsive-button-dropdown.sub-dropdown[data-v-dbbab9e8]{width:fit-content!important}.responsive-button-dropdown-option[data-v-dbbab9e8]{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-dbbab9e8]{border-radius:4px!important;background:#faebe6!important}.responsive-button-dropdown-option.disabled[data-v-dbbab9e8],.responsive-button-dropdown-option.disabled.hovered[data-v-dbbab9e8]{color:#979797!important;cursor:not-allowed!important}.responsive-button-dropdown-option .button-name[data-v-dbbab9e8]{text-align:left}.non-web-responsive-button-nested-dropdown-button[data-v-dbbab9e8]{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-dbbab9e8],.fit-content .non-web-responsive-button-dropdown-option[data-v-dbbab9e8]{width:100%}.non-web-responsive-button-dropdown-option[data-v-dbbab9e8]{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-dbbab9e8]:active{border-radius:4px!important;background:#faebe6!important}.non-web-responsive-button-dropdown-option.disabled[data-v-dbbab9e8],.non-web-responsive-button-dropdown-option.disabled[data-v-dbbab9e8]:active{color:#979797!important;cursor:not-allowed!important}@media only screen and (max-width:767px){.simplified-notification[data-v-dbbab9e8]{padding:8px 12px;gap:8px}.responsive-button.small[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.small[data-v-dbbab9e8]{width:fit-content;padding:7px 23px}.responsive-button.fit-content.small.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:7px 23px 7px 15px}.responsive-button.fit-content.small.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px 7px 23px}.responsive-button.fit-content.small.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:7px 15px}.responsive-button.fill-whole.small[data-v-dbbab9e8]{width:100%;padding:7px}.responsive-button.medium[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.medium[data-v-dbbab9e8]{width:fit-content;padding:9px 23px}.responsive-button.fit-content.medium.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:9px 23px 9px 15px}.responsive-button.fit-content.medium.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px 9px 23px}.responsive-button.fit-content.medium.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:9px 15px}.responsive-button.fill-whole.medium[data-v-dbbab9e8]{width:100%;padding:9px 7px}.responsive-button.large[data-v-dbbab9e8]{font-size:14px;font-weight:500;line-height:20px;letter-spacing:.1px}.responsive-button.fit-content.large[data-v-dbbab9e8]{width:fit-content;padding:10px 23px}.responsive-button.fit-content.large.has-prefix[data-v-dbbab9e8]{width:fit-content;padding:10px 23px 10px 15px}.responsive-button.fit-content.large.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px 10px 23px}.responsive-button.fit-content.large.has-prefix.has-suffix[data-v-dbbab9e8]{width:fit-content;padding:10px 15px}.responsive-button.fill-whole.large[data-v-dbbab9e8]{width:100%;padding:10px 7px}.responsive-button-dropdown-option[data-v-dbbab9e8]{font-size:14px!important;font-weight:400!important;line-height:20px!important;letter-spacing:.25px!important}.responsive-button-dropdown[data-v-dbbab9e8]{min-width:267px}}.input-box-unit-wrapper[data-v-87ad92c9]{width:100%;display:flex;flex-direction:column;row-gap:8px}.input-box-unit[data-v-87ad92c9]{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-87ad92c9]:hover{border:1px solid #DEE6ED}.input-box-unit.is-focus[data-v-87ad92c9]{border:1px solid #9BB2CA}.input-box-unit.has-prefix[data-v-87ad92c9],.input-box-unit.has-prefix.has-suffix[data-v-87ad92c9]{padding:8px 11px}.input-box-unit.has-suffix[data-v-87ad92c9]{padding-left:15px}.input-box-unit.error[data-v-87ad92c9]{border:1px solid #DE583F}.input-box-unit.alert[data-v-87ad92c9]{border:1px solid #E0961E}.input-box-unit.disabled[data-v-87ad92c9]{background:#f2f2f2;cursor:not-allowed}.input-box-unit.disabled[data-v-87ad92c9]:hover{border:1px solid #BCCCDC}.input-box[data-v-87ad92c9]{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-87ad92c9]::placeholder{color:#979797;font-family:Roboto;font-size:16px;font-weight:400;line-height:24px;letter-spacing:.5px}.input-box[data-v-87ad92c9]::-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-87ad92c9],.suffix-wrapper[data-v-87ad92c9]{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-87ad92c9]{min-width:20px}.suffix-wrapper.with-date-icon[data-v-87ad92c9]{position:absolute;right:40px}.clear-icon[data-v-87ad92c9]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-87ad92c9]:hover{opacity:1}.hide[data-v-87ad92c9]{display:none}.message-container[data-v-87ad92c9]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-87ad92c9]{color:#de583f}.message-container.alert[data-v-87ad92c9]{color:#e0961e}@media only screen and (max-width:767px){.input-box-unit-wrapper[data-v-87ad92c9]{row-gap:4px}.input-box-unit[data-v-87ad92c9]{padding:7px 11px;column-gap:8px}.input-box-unit.has-prefix[data-v-87ad92c9],.input-box-unit.has-prefix.has-suffix[data-v-87ad92c9]{padding:7px 11px}.input-box-unit.has-suffix[data-v-87ad92c9]{padding-left:13px}.input-box[data-v-87ad92c9]{font-size:14px;line-height:20px;letter-spacing:.25px;height:20px}.input-box[data-v-87ad92c9]::placeholder{font-size:14px;line-height:20px;letter-spacing:.25px}.input-box[data-v-87ad92c9]::-webkit-calendar-picker-indicator{height:20px}.prefix-wrapper[data-v-87ad92c9]{min-width:20px;height:20px}.suffix-wrapper[data-v-87ad92c9]{min-width:20px;height:20px;column-gap:0px}.suffix-wrapper.with-date-icon[data-v-87ad92c9]{right:32px}.clear-icon[data-v-87ad92c9]{width:36px;height:36px;box-sizing:border-box;padding:10px}.message-container[data-v-87ad92c9]{font-size:14px;line-height:16px}}.single-selector-unit-wrapper[data-v-4d75a70b]{width:100%;display:flex;flex-direction:column;row-gap:8px}.single-selector[data-v-4d75a70b]{height:fit-content;width:100%;box-sizing:border-box;padding:9px 12px 9px 16px;display:flex;align-items:center;justify-content:space-between;column-gap:12px;border-radius:4px;box-shadow:inset 0 0 0 1px #bcccdc;background:#fff;cursor:pointer;position:relative}.single-selector[data-v-4d75a70b]:hover{box-shadow:inset 0 0 0 1px #dee6ed}.single-selector.has-prefix[data-v-4d75a70b]{padding-left:12px}.single-selector.is-focus[data-v-4d75a70b]{box-shadow:inset 0 0 0 1px #9bb2ca}.single-selector.error[data-v-4d75a70b]{box-shadow:inset 0 0 0 1px #de583f}.single-selector.alert[data-v-4d75a70b]{box-shadow:inset 0 0 0 1px #e0961e}.single-selector.disabled[data-v-4d75a70b]{background:#f2f2f2;cursor:not-allowed}.single-selector.disabled[data-v-4d75a70b]:hover{box-shadow:inset 0 0 0 1px #bcccdc}.selected-content[data-v-4d75a70b]{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-4d75a70b]{display:none}.content-text[data-v-4d75a70b]{color:#1c1b1f}.placeholder[data-v-4d75a70b]{color:#979797}.single-selector.disabled .content-text[data-v-4d75a70b],.single-selector.disabled .placeholder[data-v-4d75a70b]{color:#555}.filter-input[data-v-4d75a70b]{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-4d75a70b]{width:100%;height:100%}.prefix-wrapper[data-v-4d75a70b],.suffix-wrapper[data-v-4d75a70b]{display:flex;align-items:center;column-gap:4px;flex-shrink:0;min-width:24px;width:fit-content;height:24px}.rotate-0[data-v-4d75a70b]{transform:rotate(0);transition:all .3s}.rotate-180[data-v-4d75a70b]{transform:rotate(180deg)}.clear-icon[data-v-4d75a70b]{width:20px;height:20px;opacity:.7;cursor:pointer}.clear-icon[data-v-4d75a70b]:hover{opacity:1}.single-selector-dropdown[data-v-4d75a70b]{width:inherit;height:fit-content;max-height:233px;padding:8px 11px;box-sizing:border-box;border-radius:4px;border:1px solid #BCCCDC;background:#fff;overflow:auto;position:absolute;z-index:1000;top:50px;left:0}.no-data-notes[data-v-4d75a70b]{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-4d75a70b]{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-4d75a70b]:hover{background:#faebe6}.dropdown-item.selected[data-v-4d75a70b]{font-weight:600}.message-container[data-v-4d75a70b]{width:100%;box-sizing:border-box;font-family:Roboto;font-size:16px;font-weight:400;line-height:19px}.message-container.error[data-v-4d75a70b]{color:#de583f}.message-container.alert[data-v-4d75a70b]{color:#e0961e}@media only screen and (max-width:767px){.single-selector-unit-wrapper[data-v-4d75a70b]{row-gap:4px}.single-selector[data-v-4d75a70b]{column-gap:8px;padding:8px 12px 8px 14px}.selected-content[data-v-4d75a70b]{font-size:14px;line-height:20px;letter-spacing:.25px}.filter-input[data-v-4d75a70b]{font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px;height:20px}.prefix-wrapper[data-v-4d75a70b],.suffix-wrapper[data-v-4d75a70b]{min-width:20px;height:20px;display:flex;align-items:center;column-gap:0px;flex-shrink:0}.clear-icon[data-v-4d75a70b]{width:36px;height:36px;right:32px;box-sizing:border-box;padding:10px}.single-selector-dropdown[data-v-4d75a70b]{max-height:176px;padding:7px;top:40px}.no-data-notes[data-v-4d75a70b]{font-size:14px;line-height:20px;letter-spacing:.25px}.dropdown-item[data-v-4d75a70b]{padding:6px 4px;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.25px}.message-container[data-v-4d75a70b]{font-size:14px;line-height:16px}}.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}@keyframes spin{to{transform:rotate(360deg)}}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
(function(r,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(r=typeof globalThis<"u"?globalThis:r||self,e(r.PNSComponentLibrary={},r.Vue))})(this,function(r,e){"use strict";const y="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",U=Object.freeze(Object.defineProperty({__proto__:null,default:y},Symbol.toStringTag,{value:"Module"})),h="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",W=Object.freeze(Object.defineProperty({__proto__:null,default:h},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,default:"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"},Symbol.toStringTag,{value:"Module"})),I=Object.freeze(Object.defineProperty({__proto__:null,default:"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"},Symbol.toStringTag,{value:"Module"})),b="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",R=Object.freeze(Object.defineProperty({__proto__:null,default:b},Symbol.toStringTag,{value:"Module"})),k="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",F=Object.freeze(Object.defineProperty({__proto__:null,default:k},Symbol.toStringTag,{value:"Module"})),C="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",J=Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"})),$=Object.freeze(Object.defineProperty({__proto__:null,default:"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"},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null,default:"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"},Symbol.toStringTag,{value:"Module"})),v="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",q=Object.freeze(Object.defineProperty({__proto__:null,default:v},Symbol.toStringTag,{value:"Module"})),f="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",G=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"})),m="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",Q=Object.freeze(Object.defineProperty({__proto__:null,default:m},Symbol.toStringTag,{value:"Module"})),w="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",X=Object.freeze(Object.defineProperty({__proto__:null,default:w},Symbol.toStringTag,{value:"Module"})),u="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",Y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),x="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",ee=Object.freeze(Object.defineProperty({__proto__:null,default:x},Symbol.toStringTag,{value:"Module"})),L="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",te=Object.freeze(Object.defineProperty({__proto__:null,default:L},Symbol.toStringTag,{value:"Module"})),S="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",oe=Object.freeze(Object.defineProperty({__proto__:null,default:S},Symbol.toStringTag,{value:"Module"})),B="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",ie=Object.freeze(Object.defineProperty({__proto__:null,default:B},Symbol.toStringTag,{value:"Module"})),p=(t,o)=>{const i=t.__vccOpts||t;for(const[a,n]of o)i[a]=n;return i},se={props:{content:String,build_in_theme:{type:String,default:"blue"},title:{type:String,default:""},customized_alert_icon_src:{type:String,default:""},customized_class:{type:String,default:""},with_close_btn:{type:Boolean,default:!0},mounted_programmatically:{type:Boolean,default:!1},hide_after:{type:Number,default:0}},mounted(){this.hide_after&&typeof this.hide_after=="number"&&this.autoClose()},computed:{alert_icon_src(){return this.customized_alert_icon_src?this.customized_alert_icon_src:this.build_in_theme=="blue"?w:this.build_in_theme=="yellow"?B:this.build_in_theme=="red"?L:this.build_in_theme=="green"?v:w},theme_class(){return this.build_in_theme}},emits:["close"],methods:{autoClose(){setTimeout(()=>{this.manuallyClose()},this.hide_after),this.hide_after&&(this.$el.classList.add("fade-out"),this.$el.style.setProperty("--fade-out-duration-ms",`${this.hide_after}ms`))},manuallyClose(){if(this.mounted_programmatically){const o=this.$el?this.$el.parentElement:null;if(o){o.remove();var t=this.$attrs.notification_instances_collection[this.$attrs.id];t.unmount(),t._container=null,t=null,delete this.$attrs.notification_instances_collection[this.$attrs.id]}}else this.$emit("close",this.$el)}}},ne={class:"prefix-icon-container"},le=["src"],re={class:"notifiction-text"},de={class:"content-wrapper"},ae={key:0,class:"title"},ce={key:0,class:"content-details"},_e=["innerHTML"],he={class:"close-btn-container"};function pe(t,o,i,a,n,s){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["simplified-notification",s.theme_class,i.customized_class])},[e.createElementVNode("div",ne,[e.createElementVNode("img",{src:s.alert_icon_src,class:"prefix_icon"},null,8,le)]),e.createElementVNode("div",re,[e.createElementVNode("div",de,[i.title?(e.openBlock(),e.createElementBlock("div",ae,e.toDisplayString(i.title),1)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"content",{},()=>[i.content?(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",{innerHTML:i.content},null,8,_e)])):e.createCommentVNode("",!0)],!0)])]),e.createElementVNode("div",he,[i.with_close_btn?(e.openBlock(),e.createElementBlock("img",{key:0,src:x,class:"close-btn",onClick:o[0]||(o[0]=(...l)=>s.manuallyClose&&s.manuallyClose(...l))})):e.createCommentVNode("",!0)])],2)}const E=p(se,[["render",pe],["__scopeId","data-v-9757f7de"]]);function O(){const t=e.ref(0),o=e.ref(0),i=()=>{t.value=window.innerWidth,o.value=window.innerHeight};return e.onMounted(()=>{i(),window.addEventListener("resize",i)}),e.onUnmounted(()=>{window.removeEventListener("resize",i)}),{width:t,height:o}}const fe={name:"ResponsiveButton",inheritAttrs:!1,props:{display_name:{type:String,default:"button"},size:{type:String,default:"small"},width_type:{type:String,default:"fit-content"},build_in_theme:{type:String,default:"outlined-primary"},customized_class:{type:String,default:""},disabled:{type:Boolean,default:!1},dropdown_options:{type:Array,default:()=>[]},is_dropdown_option:{type:Boolean,default:!1}},mounted(){!this.is_dropdown_option&&this.has_dropdown&&(document.addEventListener("click",t=>this.closeWhenClickOutsideDropdownButton(t)),this.nested_dropdown_option_button_history_stack=[]),this.is_dropdown_option_hovered&&this.has_dropdown&&(this.is_dropdown_visibile=!0)},unmounted(){!this.is_dropdown_option&&this.has_dropdown&&document.removeEventListener("click",t=>this.closeWhenClickOutsideDropdownButton(t))},setup(){const{width:t}=O();return{width:t}},data(){return{is_dropdown_visibile:!1,currently_hovered_dropdown_option_display_name:"",dropdown_position_data:{},nested_dropdown_option_button_history_stack:null,loading:!1}},emits:["click","update-currently-hovered-dropdown-option","add-nested-dropdown-history-stack","remove-nested-dropdown-history-stack"],computed:{has_prefix(){return this.$slots.prefix},has_suffix(){return this.$slots.suffix},has_dropdown(){return this.dropdown_options&&Array.isArray(this.dropdown_options)&&this.dropdown_options.length>0},dynamicDefaultDropdownDownArrow(){return this.build_in_theme=="filled-primary"||this.build_in_theme=="filled-secondary"?S:this.build_in_theme=="outlined-secondary"||this.build_in_theme=="text-secondary"?this.disabled?f:b:this.disabled?f:k},web_version(){return this.width>1024},mobile_version(){return this.width<=767},is_dropdown_option_hovered(){if(this.is_dropdown_option&&this.has_dropdown&&!this.$attrs.currently_hovered_dropdown_option_display_name&&this.$attrs.nested_dropdown_option_button_history_stack&&this.$attrs.nested_dropdown_option_button_history_stack.length>0){for(const t of this.$attrs.nested_dropdown_option_button_history_stack)if(t.display_name==this.display_name&&JSON.stringify(t.dropdown_options)==JSON.stringify(this.dropdown_options))return this.$emit("update-currently-hovered-dropdown-option",this.display_name),this.is_dropdown_visibile=!0,setTimeout(()=>{this.calculateDropdownPosition()},100),!0}return this.is_dropdown_option&&this.$attrs.currently_hovered_dropdown_option_display_name==this.display_name},show_dropdown(){return this.is_dropdown_visibile&&this.has_dropdown},non_web_version_nested_dropdown_option_shown(){return this.nested_dropdown_option_button_history_stack&&this.nested_dropdown_option_button_history_stack.length>0?this.nested_dropdown_option_button_history_stack[this.nested_dropdown_option_button_history_stack.length-1].display_name:null},non_web_version_dropdown_options(){return this.nested_dropdown_option_button_history_stack&&this.nested_dropdown_option_button_history_stack.length>0?this.nested_dropdown_option_button_history_stack[this.nested_dropdown_option_button_history_stack.length-1].dropdown_options:this.dropdown_options}},watch:{is_dropdown_option_hovered(t){this.has_dropdown&&!this.disabled&&(this.is_dropdown_visibile=t,t?this.$emit("add-nested-dropdown-history-stack",{display_name:this.display_name,dropdown_options:this.dropdown_options}):this.$emit("remove-nested-dropdown-history-stack",{display_name:this.display_name,dropdown_options:this.dropdown_options}))},show_dropdown(t){t?this.$nextTick(()=>{this.calculateDropdownPosition()}):(this.dropdown_position_data={},this.currently_hovered_dropdown_option_display_name="",this.is_dropdown_option||(this.nested_dropdown_option_button_history_stack=[]))}},methods:{closeWhenClickOutsideDropdownButton(t){this.show_dropdown&&this.$refs["responsive-button"]&&!this.$refs["responsive-button"].contains(t.target)&&this.$refs["responsive-button-dropdown"]&&!this.$refs["responsive-button-dropdown"].contains(t.target)&&(this.is_dropdown_visibile=!1)},handleClick(){this.disabled||(this.has_dropdown?this.is_dropdown_option||(this.is_dropdown_visibile=!this.is_dropdown_visibile):this.$emit("click",this.display_name))},handleMouseEnterButton(){this.is_dropdown_option&&this.$emit("update-currently-hovered-dropdown-option",this.display_name)},updateCurrentlyHoveredDropdownOption(t){this.currently_hovered_dropdown_option_display_name=t},updateNestedDropdownHistoryStack(t){this.is_dropdown_option?this.$emit("add-nested-dropdown-history-stack",t):this.nested_dropdown_option_button_history_stack.push(t)},removeNestedDropdownHistoryStack(t){if(this.is_dropdown_option)this.$emit("remove-nested-dropdown-history-stack",t);else for(let o=this.nested_dropdown_option_button_history_stack.length-1;o>=0;o--){const i=this.nested_dropdown_option_button_history_stack[o];if(i.display_name==t.display_name&&JSON.stringify(i.dropdown_options)==JSON.stringify(t.dropdown_options)){this.nested_dropdown_option_button_history_stack.splice(o);break}}},nonWebRemoveNestedDropdownHistoryStack(t){setTimeout(()=>{this.removeNestedDropdownHistoryStack(t)},50)},clickWebDropdownOption(t){this.$emit("click",t),this.is_dropdown_option||(this.is_dropdown_visibile=!1)},clickNonWebDropdownOption(t){t.disabled||(t.dropdown_options?setTimeout(()=>{var o;for(let i=this.nested_dropdown_option_button_history_stack.length-1;i>=0;i--){const a=this.nested_dropdown_option_button_history_stack[i];if(a.display_name==t.display_name&&JSON.stringify(a.dropdown_options)==JSON.stringify(t.dropdown_options)){o=!0,this.nested_dropdown_option_button_history_stack.splice(i);break}}o||this.nested_dropdown_option_button_history_stack.push({display_name:t.display_name,dropdown_options:t.dropdown_options})},50):(this.$emit("click",t.display_name),this.is_dropdown_visibile=!1))},calculateDropdownPosition(){const t={},o=this.$refs["responsive-button"],i=this.$refs["responsive-button-dropdown"];if(o&&i){const a=window.innerWidth,n=window.innerHeight,s=o.getBoundingClientRect(),l=s.right,_=s.bottom,d=s.left,c=s.width,P=s.height,H=i.getBoundingClientRect(),Z=H.height,T=H.width;this.is_dropdown_option?(n-_>Z+(this.mobile_version?4:8)?t.top="0px":t.bottom="0px",a-l>T+(this.mobile_version?4:8)?t.left=c+12+8+"px":t.right=c+12+8+"px"):(n-_>Z+(this.mobile_version?4:8)?t.top=P+(this.mobile_version?4:8)+"px":t.bottom=P+(this.mobile_version?4:8)+"px",a-d>T+(this.mobile_version?4:8)?t.left="0px":t.right="0px")}this.dropdown_position_data=t},setLoading(t){this.loading=t}},expose:["setLoading"]},me={class:"button-content"},we={key:0,class:"prefix-wrapper"},ue={key:1,class:"button-name"},ge={key:2,class:"suffix-wrapper"},ye={key:3,class:"outest-responsive-dropdown-button-default-suffix suffix-wrapper"},be=["src"],ke={key:0,class:"nested-dropdown-default-suffix suffix-wrapper"},Ce={key:0,src:h},ve={key:1,src:m},xe=["onClick"],Le={class:"non-web-dropdown-option-display-name"},Se={key:0,class:"non-web-responsive-nested-dropdown-option-default-suffix suffix-wrapper"},Be={key:0,src:h},Ee={key:1,src:m};function Oe(t,o,i,a,n,s){const l=e.resolveComponent("ResponsiveButton",!0),_=e.resolveDirective("component-loading");return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["responsive-button-wrapper",i.width_type]),ref:"responsive-button-wrapper"},[e.createElementVNode("div",{class:e.normalizeClass(["responsive-button",i.size,i.width_type,{disabled:i.disabled},{"no-display-name":!i.display_name},{"has-prefix":s.has_prefix},{"has-suffix":s.has_suffix},i.build_in_theme,i.customized_class,{hovered:s.is_dropdown_option_hovered},{focused:s.show_dropdown}]),ref:"responsive-button",onClick:o[0]||(o[0]=d=>s.handleClick()),onMouseenter:o[1]||(o[1]=d=>s.handleMouseEnterButton())},[e.createElementVNode("div",me,[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",we,[e.renderSlot(t.$slots,"prefix",{},void 0,!0)])):e.createCommentVNode("",!0),i.display_name?(e.openBlock(),e.createElementBlock("div",ue,e.toDisplayString(i.display_name),1)):e.createCommentVNode("",!0),t.$slots.suffix?(e.openBlock(),e.createElementBlock("div",ge,[e.renderSlot(t.$slots,"suffix",{},void 0,!0)])):e.createCommentVNode("",!0),!i.is_dropdown_option&&s.has_dropdown?(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("img",{src:s.dynamicDefaultDropdownDownArrow,class:e.normalizeClass(["rotate-0",{"rotate-180":s.show_dropdown}])},null,10,be)])):e.createCommentVNode("",!0)]),i.is_dropdown_option&&s.has_dropdown?(e.openBlock(),e.createElementBlock("div",ke,[i.disabled?(e.openBlock(),e.createElementBlock("img",ve)):(e.openBlock(),e.createElementBlock("img",Ce))])):e.createCommentVNode("",!0)],34),s.web_version&&s.show_dropdown?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"responsive-button-dropdown",class:e.normalizeClass(["responsive-button-dropdown",{"sub-dropdown":i.is_dropdown_option}]),style:e.normalizeStyle(n.dropdown_position_data)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.dropdown_options,d=>(e.openBlock(),e.createBlock(l,e.mergeProps({key:`${i.display_name.replaceAll(" ","-")}-dropdown-item-${d.display_name.replaceAll(" ","-")}`,ref_for:!0},d,{customized_class:"responsive-button-dropdown-option",width_type:"fill-whole",is_dropdown_option:!0,nested_dropdown_option_button_history_stack:i.is_dropdown_option?t.$attrs.nested_dropdown_option_button_history_stack:n.nested_dropdown_option_button_history_stack,currently_hovered_dropdown_option_display_name:n.currently_hovered_dropdown_option_display_name,onUpdateCurrentlyHoveredDropdownOption:o[2]||(o[2]=c=>s.updateCurrentlyHoveredDropdownOption(c)),onClick:o[3]||(o[3]=c=>s.clickWebDropdownOption(c)),onAddNestedDropdownHistoryStack:o[4]||(o[4]=c=>s.updateNestedDropdownHistoryStack(c)),onRemoveNestedDropdownHistoryStack:o[5]||(o[5]=c=>s.removeNestedDropdownHistoryStack(c))}),null,16,["nested_dropdown_option_button_history_stack","currently_hovered_dropdown_option_display_name"]))),128))],6)):!s.web_version&&s.show_dropdown?(e.openBlock(),e.createElementBlock("div",{key:1,ref:"responsive-button-dropdown",class:e.normalizeClass(["responsive-button-dropdown",{"sub-dropdown":i.is_dropdown_option}]),style:e.normalizeStyle(n.dropdown_position_data)},[s.non_web_version_nested_dropdown_option_shown?(e.openBlock(),e.createElementBlock("div",{key:0,class:"non-web-responsive-button-nested-dropdown-button",onClick:o[6]||(o[6]=d=>s.nonWebRemoveNestedDropdownHistoryStack({display_name:s.non_web_version_nested_dropdown_option_shown,dropdown_options:s.non_web_version_dropdown_options}))},[o[7]||(o[7]=e.createElementVNode("div",{class:"non-web-responsive-nested-dropdown-button-default-prefeix prefix-wrapper"},[e.createElementVNode("img",{src:h,class:"rotate-180"})],-1)),e.createElementVNode("div",null,e.toDisplayString(s.non_web_version_nested_dropdown_option_shown),1)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.non_web_version_dropdown_options,d=>(e.openBlock(),e.createElementBlock("div",{key:`${i.display_name.replaceAll(" ","-")}-dropdown-item-${d.display_name.replaceAll(" ","-")}`,class:e.normalizeClass(["non-web-responsive-button-dropdown-option",{disabled:d.disabled}]),onClick:c=>s.clickNonWebDropdownOption(d)},[e.createElementVNode("div",Le,e.toDisplayString(d.display_name),1),d.dropdown_options?(e.openBlock(),e.createElementBlock("div",Se,[d.disabled?(e.openBlock(),e.createElementBlock("img",Ee)):(e.openBlock(),e.createElementBlock("img",Be))])):e.createCommentVNode("",!0)],10,xe))),128))],6)):e.createCommentVNode("",!0)],2)),[[_,n.loading]])}const V=p(fe,[["render",Oe],["__scopeId","data-v-dbbab9e8"]]),Ve={props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},placeholder:{type:String,default:"Enter"},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},mounted(){document.addEventListener("click",t=>this.blurWhenClickOutside(t))},unmounted(){document.removeEventListener("click",t=>this.blurWhenClickOutside(t))},data(){return{value:this.modelValue,hovered:!1,is_focus:!1,show_alert:!1,show_error:!1,message_notification_text:""}},computed:{show_clear_icon(){return this.clearable&&this.value&&!this.disabled&&(this.hovered||this.is_focus)}},emits:["update:modelValue","input","change","focus","blur","clear"],watch:{modelValue(t){this.value=t},value(t){this.$emit("update:modelValue",t),this.$emit("input",t)},is_focus(t){t?(this.$refs["input-box"].focus(),this.$emit("focus")):(this.$refs["input-box"].blur(),this.$emit("blur"))}},methods:{handleClickInputBoxUnit(t){this.is_focus=!0,document.activeElement!=this.$refs["input-box"]&&this.$refs["input-box"].focus()},blurWhenClickOutside(t){this.is_focus&&!this.$refs["input-box-unit"].contains(t.target)&&(this.is_focus=!1)},handleKeydown(t){t.key==="Enter"&&this.$emit("change",this.value)},handleClearValue(){this.value="",this.$emit("clear")},focus(){this.is_focus=!0},blur(){this.is_focus=!1},alert(t){this.show_alert=!0,this.show_error=!1,this.message_notification_text=t},error(t){this.show_error=!0,this.show_alert=!1,this.message_notification_text=t},removeAlertOrErrorEffect(){this.show_alert=!1,this.show_error=!1,this.message_notification_text=""}},expose:["focus","blur","alert","error","removeAlertOrErrorEffect"]},De={class:"input-box-unit-wrapper"},Me={key:0,class:"prefix-wrapper"},Ne=["disabled","type","placeholder"];function ze(t,o,i,a,n,s){return e.openBlock(),e.createElementBlock("div",De,[e.createElementVNode("div",{class:e.normalizeClass(["input-box-unit",{"is-focus":n.is_focus},{"has-prefix":t.$slots.prefix},{"has-suffix":t.$slots.suffix},{disabled:i.disabled},{error:n.show_error},{alert:n.show_alert}]),ref:"input-box-unit",onMouseenter:o[3]||(o[3]=l=>n.hovered=!0),onMouseleave:o[4]||(o[4]=l=>n.hovered=!1),onClick:o[5]||(o[5]=l=>s.handleClickInputBoxUnit(l))},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",Me,[e.renderSlot(t.$slots,"prefix",{},void 0,!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":o[0]||(o[0]=l=>n.value=l),class:e.normalizeClass(["input-box"]),ref:"input-box",disabled:i.disabled,type:i.type,placeholder:i.placeholder,onKeydown:o[1]||(o[1]=l=>s.handleKeydown(l))},null,40,Ne),[[e.vModelDynamic,n.value]]),t.$slots.suffix||s.show_clear_icon?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["suffix-wrapper",{"only-clear-icon":s.show_clear_icon&&!t.$slots.suffix},{"with-date-icon":i.type=="date"}])},[e.createElementVNode("img",{src:u,class:e.normalizeClass(["clear-icon",{hide:!s.show_clear_icon}]),onClick:o[2]||(o[2]=(...l)=>s.handleClearValue&&s.handleClearValue(...l))},null,2),e.renderSlot(t.$slots,"suffix",{},void 0,!0)],2)):e.createCommentVNode("",!0)],34),(n.show_alert||n.show_error)&&n.message_notification_text?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["message-container",{error:n.show_error},{alert:n.show_alert}])},e.toDisplayString(n.message_notification_text),3)):e.createCommentVNode("",!0)])}const D=p(Ve,[["render",ze],["__scopeId","data-v-87ad92c9"]]),je={props:{modelValue:{type:String,default:""},options:{type:Array,default:()=>[]},filterable:{type:Boolean,default:!1},remote_search:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Select"},clearable:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loading_text:{type:String,default:"Loading"},no_data_text:{type:String,default:"No data"}},mounted(){document.addEventListener("click",t=>this.closeWhenClickOutsideSelector(t))},unmounted(){document.removeEventListener("click",t=>this.closeWhenClickOutsideSelector(t))},data(){return{selected_item:this.modelValue,selected_item_label:this.findCorrespondingLabelViaValue(this.modelValue),filter_keyword:"",is_focus:!1,hovered:!1,show_error:!1,show_alert:!1,message_notification_text:"",is_loading:this.loading}},computed:{default_dropdown_arrow_src(){return this.disabled?C:y},options_shown(){return this.remote_search?this.options:this.filter_keyword?this.options.filter(t=>JSON.stringify(t.value).toLowerCase().includes(this.filter_keyword.toLowerCase())||JSON.stringify(t.label).toLowerCase().includes(this.filter_keyword.toLowerCase())):this.options},show_clear_icon(){return this.clearable&&this.selected_item&&!this.disabled&&(this.hovered||this.is_focus)}},emits:["update:modelValue","change","remote-search","filter-change","visible-change","focus","blur","clear"],watch:{modelValue(t){this.selected_item=t},selected_item(t){this.$emit("update:modelValue",t),this.$emit("change",t),this.selected_item_label=this.findCorrespondingLabelViaValue(t),this.filter_keyword=""},filter_keyword(t){this.$emit("filter-change",t),this.remote_search&&this.$emit("remote-search",t)},is_focus(t){this.$emit("visible-change",t),t?(this.$emit("focus"),this.filterable&&this.$nextTick(()=>{var o;(o=this.$refs["filter-input"])==null||o.focus()})):this.$emit("blur")},loading(t){this.is_loading=t}},methods:{findCorrespondingLabelViaValue(t){var o=t;for(const i of this.options)i.value==t&&(o=i.label);return o},handleClickSingleSelector(){this.disabled||(this.is_focus=!this.is_focus)},handleSelectOption(t){this.selected_item=t.value,this.selected_item_label=t.label,this.is_focus=!1},closeWhenClickOutsideSelector(t){this.is_focus&&!this.$refs["single-selector"].contains(t.target)&&(this.is_focus=!1)},checkWhetherIsSelected(t){if(t.value==this.selected_item)return!0},handleClearValue(t){t.stopPropagation(),this.selected_item="",this.$emit("clear")},focus(){var t;this.disabled||(this.filterable&&((t=this.$refs["filter-input"])==null||t.focus()),this.is_focus=!0)},blur(){var t;this.filterable&&((t=this.$refs["filter-input"])==null||t.blur()),this.is_focus=!1},alert(t){this.show_error=!1,this.show_alert=!0,this.message_notification_text=t},error(t){this.show_alert=!1,this.show_error=!0,this.message_notification_text=t},removeAlertOrErrorEffect(){this.show_alert=!1,this.show_error=!1,this.message_notification_text=""},setDropdownContentLoading(t){this.is_loading=t}},expose:["focus","blur","alert","error","removeAlertOrErrorEffect","setDropdownContentLoading"]},Pe={class:"single-selector-unit-wrapper"},He={key:0,class:"prefix-wrapper"},Ze={class:e.normalizeClass(["suffix-wrapper"])},Te=["src"],Ue={key:1,class:"single-selector-dropdown"},We={key:0,class:"options-list"},Ae=["onClick"],Ie={key:1,class:"no-data-notes"};function Re(t,o,i,a,n,s){return e.openBlock(),e.createElementBlock("div",Pe,[e.createElementVNode("div",{ref:"single-selector",class:e.normalizeClass(["single-selector",{error:n.show_error},{alert:n.show_alert},{disabled:i.disabled},{"is-focus":n.is_focus},{"has-prefix":t.$slots.prefix},{"show-clear-icon":s.show_clear_icon}]),onClick:o[2]||(o[2]=(...l)=>s.handleClickSingleSelector&&s.handleClickSingleSelector(...l)),onMouseenter:o[3]||(o[3]=l=>n.hovered=!0),onMouseleave:o[4]||(o[4]=l=>n.hovered=!1)},[t.$slots.prefix?(e.openBlock(),e.createElementBlock("div",He,[e.renderSlot(t.$slots,"prefix",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["selected-content",n.selected_item?"content-text":"placeholder"])},[e.createElementVNode("span",{class:e.normalizeClass([{hide:n.is_focus&&i.filterable}])},e.toDisplayString(n.selected_item?n.selected_item_label:i.placeholder),3),e.withDirectives(e.createElementVNode("input",{class:e.normalizeClass(["filter-input",{hide:!(n.is_focus&&i.filterable)}]),ref:"filter-input","onUpdate:modelValue":o[0]||(o[0]=l=>n.filter_keyword=l)},null,2),[[e.vModelText,n.filter_keyword]])],2),e.createElementVNode("div",Ze,[e.createElementVNode("img",{src:u,class:e.normalizeClass(["clear-icon",{hide:!s.show_clear_icon}]),onClick:o[1]||(o[1]=(...l)=>s.handleClearValue&&s.handleClearValue(...l))},null,2),e.renderSlot(t.$slots,"suffix",{},()=>[e.createElementVNode("img",{src:s.default_dropdown_arrow_src,class:e.normalizeClass(["default-suffix-pic","rotate-0",{"rotate-180":n.is_focus&&!i.disabled}])},null,10,Te)],!0)]),n.is_focus?(e.openBlock(),e.createElementBlock("div",Ue,[s.options_shown&&s.options_shown.length>0?(e.openBlock(),e.createElementBlock("div",We,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.options_shown,l=>(e.openBlock(),e.createElementBlock("div",{key:l.value,class:e.normalizeClass(["dropdown-item",{selected:s.checkWhetherIsSelected(l)}]),onClick:_=>s.handleSelectOption(l)},e.toDisplayString(l.label),11,Ae))),128))])):(e.openBlock(),e.createElementBlock("div",Ie,e.toDisplayString(n.is_loading?i.loading_text:i.no_data_text),1))])):e.createCommentVNode("",!0)],34),(n.show_alert||n.show_error)&&n.message_notification_text?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["message-container",{error:n.show_error},{alert:n.show_alert}])},e.toDisplayString(n.message_notification_text),3)):e.createCommentVNode("",!0)])}const M=p(je,[["render",Re],["__scopeId","data-v-4d75a70b"]]),N={mounted(t,o){const i=document.createElement("div");i.classList.add("component-loading-spinner"),i.style.display="none",t._spinner=i,t.style.position="relative",t.appendChild(i),o.value&&(i.style.display="flex")},updated(t,o){o.value?t._spinner.style.display="flex":t._spinner.style.display="none"},unmounted(t){t.removeChild(t._spinner)}},z={SimplifiedNotification:E,ResponsiveButton:V,InputBox:D,SingleSelector:M},Fe={install:t=>{Object.keys(z).forEach(o=>{t.component(o,z[o])}),t.directive("component-loading",N)}},g=Object.assign({"./assets/icons/black_arrow_down.svg":U,"./assets/icons/black_arrow_to_right.svg":W,"./assets/icons/black_calendar_icon.svg":A,"./assets/icons/black_magnifying_glass_icon.svg":I,"./assets/icons/cyan_arrow_down.svg":R,"./assets/icons/dark_blue_arrow_down.svg":F,"./assets/icons/dark_gray_arrow_down.svg":J,"./assets/icons/eye_icon.svg":$,"./assets/icons/eye_with_cross_icon.svg":K,"./assets/icons/green_notification_icon.svg":q,"./assets/icons/grey_arrow_down.svg":G,"./assets/icons/grey_arrow_to_right.svg":Q,"./assets/icons/info_blue_icon.svg":X,"./assets/icons/input_clear_icon.svg":Y,"./assets/icons/notification_cross_icon.svg":ee,"./assets/icons/red_notification_icon.svg":te,"./assets/icons/white_arrow_down.svg":oe,"./assets/icons/yellow_notification_icon.svg":ie});var j={};for(const t in g){const o=t.split("/").pop().replace(".svg","");j[o]=g[t].default}r.InputBox=D,r.ResponsiveButton=V,r.SimplifiedNotification=E,r.SingleSelector=M,r.component_loading=N,r.default=Fe,r.icons=g,r.iconsMap=j,r.useWindowSize=O,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pns-component-library",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"main": "dist/pns-component-library.umd.js",
|
|
5
5
|
"module": "dist/pns-component-library.es.js",
|
|
6
6
|
"exports": {
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"files": [
|
|
28
28
|
"dist",
|
|
29
29
|
"src/composables",
|
|
30
|
-
"src/directives"
|
|
31
|
-
"README.md"
|
|
30
|
+
"src/directives"
|
|
32
31
|
]
|
|
33
32
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const whole_page_loading = {
|
|
2
|
+
mounted(el, binding) {
|
|
3
|
+
// Create a loading container
|
|
4
|
+
const spinner_mask = document.createElement("div");
|
|
5
|
+
spinner_mask.classList.add("whole-page-loading-mask");
|
|
6
|
+
spinner_mask.style.display = "none"; // Initially hidden
|
|
7
|
+
|
|
8
|
+
//spinner_container contains:
|
|
9
|
+
// 1. spinner_icon_container(hourglass icon and spinning circle)
|
|
10
|
+
// 2. text: Loading...
|
|
11
|
+
// create spinner_container and assign class
|
|
12
|
+
const spinner_container = document.createElement("div");
|
|
13
|
+
spinner_container.classList.add("whole-page-loading-spinner-container");
|
|
14
|
+
// create spinner_icon_container and assign class: this contains hourglass icon and spinning circle
|
|
15
|
+
const spinner_icon_container = document.createElement("div");
|
|
16
|
+
spinner_icon_container.classList.add("whole-page-loading-spinner-icon-container");
|
|
17
|
+
// create hourglass_icon_div, assign class and append it into spinner_icon_container
|
|
18
|
+
const hourglass_icon_div = document.createElement("div");
|
|
19
|
+
hourglass_icon_div.classList.add("whole-page-loading-hourglass-icon-div");
|
|
20
|
+
spinner_icon_container.appendChild(hourglass_icon_div);
|
|
21
|
+
// create loading_circle_div, assign class and append it into spinner_icon_container
|
|
22
|
+
const loading_circle_div = document.createElement("div");
|
|
23
|
+
loading_circle_div.classList.add("whole-page-loading-progress-circle-div");
|
|
24
|
+
spinner_icon_container.appendChild(loading_circle_div);
|
|
25
|
+
// add finished spinner_icon_container into spinner_container
|
|
26
|
+
spinner_container.appendChild(spinner_icon_container);
|
|
27
|
+
// create loading_text_div, assign class, and add it into spinner_container
|
|
28
|
+
const loading_text_div = document.createElement("div");
|
|
29
|
+
loading_text_div.classList.add("whole-page-loading-text-div");
|
|
30
|
+
spinner_container.appendChild(loading_text_div);
|
|
31
|
+
|
|
32
|
+
//add finished spinner_container into spinner_mask
|
|
33
|
+
spinner_mask.appendChild(spinner_container);
|
|
34
|
+
|
|
35
|
+
el._spinnerMask = spinner_mask; // Store reference on the element for future lifecycle usage
|
|
36
|
+
el.style.position = "relative"; // Ensure parent element has positioning
|
|
37
|
+
el.appendChild(spinner_mask);
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
// Show or hide spinner based on binding value
|
|
42
|
+
if (binding.value) {
|
|
43
|
+
el._spinnerMask.style.display = "flex";
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
updated(el, binding) {
|
|
47
|
+
// Toggle loading spinner
|
|
48
|
+
if (binding.value) {
|
|
49
|
+
el._spinnerMask.style.display = "flex";
|
|
50
|
+
} else {
|
|
51
|
+
el._spinnerMask.style.display = "none";
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
unmounted(el) {
|
|
55
|
+
// Cleanup: Remove spinner element
|
|
56
|
+
el.removeChild(el._spinnerMask);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export default whole_page_loading;
|