blip-ds 1.180.0 → 1.183.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/dist/blip-ds/bds-upload.entry.js +12 -7
- package/dist/blip-ds/bds-upload.system.entry.js +1 -1
- package/dist/blip-ds/p-4778a268.entry.js +1 -0
- package/dist/blip-ds/p-53ca3b00.system.js +1 -1
- package/dist/blip-ds/p-b76f3c49.system.entry.js +1 -0
- package/dist/cjs/bds-upload.cjs.entry.js +12 -7
- package/dist/collection/assets/svg/thumbnail-github.svg +49 -0
- package/dist/collection/components/upload/bds-upload.css +12 -4
- package/dist/collection/components/upload/bds-upload.js +11 -9
- package/dist/collection/components/upload/languages/en_US.js +1 -1
- package/dist/collection/components/upload/languages/es_ES.js +1 -1
- package/dist/collection/components/upload/languages/pt_BR.js +1 -1
- package/dist/esm/bds-upload.entry.js +12 -7
- package/dist/esm-es5/bds-upload.entry.js +1 -1
- package/package.json +1 -1
- package/readme.md +3 -280
- package/dist/blip-ds/p-0b790f00.entry.js +0 -1
- package/dist/blip-ds/p-3ff16de8.system.entry.js +0 -1
|
@@ -2,7 +2,7 @@ import { r as registerInstance, e as createEvent, h, g as getElement } from './i
|
|
|
2
2
|
|
|
3
3
|
const ptTerms = [
|
|
4
4
|
{
|
|
5
|
-
uploaded: '
|
|
5
|
+
uploaded: 'Arquivos enviados',
|
|
6
6
|
dropHere: 'Solte aqui para anexar o arquivo',
|
|
7
7
|
dropOrClick: 'Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo',
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@ const ptTerms = [
|
|
|
10
10
|
|
|
11
11
|
const esTerms = [
|
|
12
12
|
{
|
|
13
|
-
uploaded: '
|
|
13
|
+
uploaded: 'Archivos subidos',
|
|
14
14
|
dropHere: 'Soltar aquí para adjuntar archivo',
|
|
15
15
|
dropOrClick: 'Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo',
|
|
16
16
|
},
|
|
@@ -18,7 +18,7 @@ const esTerms = [
|
|
|
18
18
|
|
|
19
19
|
const enTerms = [
|
|
20
20
|
{
|
|
21
|
-
uploaded: '
|
|
21
|
+
uploaded: 'Files uploaded',
|
|
22
22
|
dropHere: 'Drop here to attach file',
|
|
23
23
|
dropOrClick: 'Drag and drop your files here or click to upload file',
|
|
24
24
|
},
|
|
@@ -44,7 +44,7 @@ const termTranslate = (lang, string) => {
|
|
|
44
44
|
|
|
45
45
|
const patternSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=';
|
|
46
46
|
|
|
47
|
-
const bdsUploadCss = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap\"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100
|
|
47
|
+
const bdsUploadCss = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap\"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #3f7de8;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3;max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:\"Nunito Sans\";font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}";
|
|
48
48
|
|
|
49
49
|
const BdsUpload = class {
|
|
50
50
|
constructor(hostRef) {
|
|
@@ -76,7 +76,7 @@ const BdsUpload = class {
|
|
|
76
76
|
this.files = [files[0]];
|
|
77
77
|
}
|
|
78
78
|
else {
|
|
79
|
-
this.files = [...files];
|
|
79
|
+
this.files = [...this.files, ...files];
|
|
80
80
|
}
|
|
81
81
|
this.bdsUploadChange.emit();
|
|
82
82
|
};
|
|
@@ -114,7 +114,12 @@ const BdsUpload = class {
|
|
|
114
114
|
*/
|
|
115
115
|
onUploadClick(files) {
|
|
116
116
|
if (files.length > 0) {
|
|
117
|
-
this.
|
|
117
|
+
if (!this.multiple) {
|
|
118
|
+
this.files = [files[0]];
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
this.files = [...this.files, ...files];
|
|
122
|
+
}
|
|
118
123
|
this.haveFiles = true;
|
|
119
124
|
this.getSize();
|
|
120
125
|
}
|
|
@@ -147,7 +152,7 @@ const BdsUpload = class {
|
|
|
147
152
|
this.bdsUploadDelete.emit();
|
|
148
153
|
}
|
|
149
154
|
render() {
|
|
150
|
-
return (h("div", { class: "upload" }, h("div", { class: "upload-header" }, h("bds-icon", { size: "xxx-large", name: "upload" }), h("div", { class: "upload-header_text" }, h("bds-typo", { variant: "fs-16", bold: "bold" }, this.titleName), h("bds-typo", { variant: "fs-14", bold: "regular" }, this.subtitle))), this.error ? (h("bds-banner", { context: "inside", variant: "error" }, this.error)) : (''), this.haveFiles ? (h("div", null, h("div", { class: "list-preview" }, this.files.map((names, index) => (h("div", { class: "upload__preview", key: index, id: "drop-area" }, h("div", { class: "preview", id: "preview" }, h("bds-icon", { size: "x-small", name: "attach" }), h("
|
|
155
|
+
return (h("div", { class: "upload" }, h("div", { class: "upload-header" }, h("bds-icon", { size: "xxx-large", name: "upload" }), h("div", { class: "upload-header_text" }, h("bds-typo", { variant: "fs-16", bold: "bold" }, this.titleName), h("bds-typo", { variant: "fs-14", bold: "regular" }, this.subtitle))), this.error ? (h("bds-banner", { context: "inside", variant: "error" }, this.error)) : (''), this.haveFiles ? (h("div", null, h("div", { class: "list-preview" }, this.files.map((names, index) => (h("div", { class: "upload__preview", key: index, id: "drop-area" }, h("div", { class: "preview", id: "preview" }, h("bds-icon", { size: "x-small", name: "attach" }), h("p", { class: "preview-text", id: "preview-text" }, names.name), h("bds-button-icon", { class: "preview-icon", size: "short", icon: "trash", variant: "secondary", onClick: () => this.deleteFile(index) })))))), this.multiple ? (h("bds-typo", { variant: "fs-14", italic: true, class: "preview-length" }, this.files.length > 1 ? `${this.files.length} ${termTranslate(this.language, 'uploaded')}` : '')) : (''))) : (''), h("div", { class: { upload__edit: true } }, h("label", { class: { 'upload__edit--label': true, 'upload__edit--hover': this.hover }, id: "file-label", htmlFor: "file" }, h("div", { class: { 'text-box': true, 'text-box--hover': this.hover }, id: "file-text_box" }, this.hover ? (h("bds-typo", { class: "text", variant: "fs-14", bold: "regular" }, termTranslate(this.language, 'dropHere'))) : (h("bds-typo", { class: "text", variant: "fs-14", bold: "regular" }, termTranslate(this.language, 'dropOrClick')))), h("img", { class: { 'upload__img--invisible': true, 'upload__img--visible': this.hover }, src: patternSvg })), h("input", { type: "file", name: "files[]", id: "file", class: "upload__input", multiple: this.multiple, accept: this.accept, onChange: ($event) => this.onUploadClick($event.target.files) }))));
|
|
151
156
|
}
|
|
152
157
|
get dropArea() { return getElement(this); }
|
|
153
158
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,i,t){if(t||arguments.length===2)for(var a=0,r=i.length,o;a<r;a++){if(o||!(a in i)){if(!o)o=Array.prototype.slice.call(i,0,a);o[a]=i[a]}}return e.concat(o||Array.prototype.slice.call(i))};System.register(["./index-4705f39a.system.js"],(function(e){"use strict";var i,t,a,r;return{setters:[function(e){i=e.r;t=e.e;a=e.h;r=e.g}],execute:function(){var o=[{uploaded:"
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,i,t){if(t||arguments.length===2)for(var a=0,r=i.length,o;a<r;a++){if(o||!(a in i)){if(!o)o=Array.prototype.slice.call(i,0,a);o[a]=i[a]}}return e.concat(o||Array.prototype.slice.call(i))};System.register(["./index-4705f39a.system.js"],(function(e){"use strict";var i,t,a,r;return{setters:[function(e){i=e.r;t=e.e;a=e.h;r=e.g}],execute:function(){var o=[{uploaded:"Arquivos enviados",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo"}];var l=[{uploaded:"Archivos subidos",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo"}];var s=[{uploaded:"Files uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file"}];var d=function(e,i){var t;switch(e){case"pt_BR":t=o.map((function(e){return e[i]}));break;case"es_ES":t=l.map((function(e){return e[i]}));break;case"en_US":t=s.map((function(e){return e[i]}));break;default:t=o.map((function(e){return e[i]}))}return t};var n="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=";var p='@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #3f7de8;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3;max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:"Nunito Sans";font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';var u=e("bds_upload",function(){function e(e){var a=this;i(this,e);this.bdsUploadDelete=t(this,"bdsUploadDelete",7);this.bdsUploadChange=t(this,"bdsUploadChange",7);this.files=[];this.haveFiles=false;this.hover=false;this.size=[];this.language="pt_BR";this.handleDrop=function(e){a.haveFiles=true;var i=e.dataTransfer;var t=i.files;a.handleFiles(t)};this.handleFiles=function(e){if(!a.multiple){a.files=[e[0]]}else{a.files=__spreadArray(__spreadArray([],a.files,true),e,true)}a.bdsUploadChange.emit()}}e.prototype.componentDidLoad=function(){var e=this;["dragenter","dragover","dragleave","drop"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,e.preventDefaults,false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(true)}),false)}));["dragenter","dragover"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(true)}),false)}));["dragleave","drop"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(false)}),false)}));this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,false)};e.prototype.preventDefaults=function(e){e.preventDefault();e.stopPropagation()};e.prototype.hoverFile=function(e){this.hover=e};e.prototype.onUploadClick=function(e){if(e.length>0){if(!this.multiple){this.files=[e[0]]}else{this.files=__spreadArray(__spreadArray([],this.files,true),e,true)}this.haveFiles=true;this.getSize()}else{return false}this.bdsUploadChange.emit()};e.prototype.getSize=function(){var e=this;this.files.map((function(i){var t=i.size;e.size.push(t)}))};e.prototype.deleteFile=function(e){this.files.splice(e,1);this.files=__spreadArray([],this.files,true);if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadDelete.emit()};e.prototype.render=function(){var e=this;return a("div",{class:"upload"},a("div",{class:"upload-header"},a("bds-icon",{size:"xxx-large",name:"upload"}),a("div",{class:"upload-header_text"},a("bds-typo",{variant:"fs-16",bold:"bold"},this.titleName),a("bds-typo",{variant:"fs-14",bold:"regular"},this.subtitle))),this.error?a("bds-banner",{context:"inside",variant:"error"},this.error):"",this.haveFiles?a("div",null,a("div",{class:"list-preview"},this.files.map((function(i,t){return a("div",{class:"upload__preview",key:t,id:"drop-area"},a("div",{class:"preview",id:"preview"},a("bds-icon",{size:"x-small",name:"attach"}),a("p",{class:"preview-text",id:"preview-text"},i.name),a("bds-button-icon",{class:"preview-icon",size:"short",icon:"trash",variant:"secondary",onClick:function(){return e.deleteFile(t)}})))}))),this.multiple?a("bds-typo",{variant:"fs-14",italic:true,class:"preview-length"},this.files.length>1?"".concat(this.files.length," ").concat(d(this.language,"uploaded")):""):""):"",a("div",{class:{upload__edit:true}},a("label",{class:{"upload__edit--label":true,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file"},a("div",{class:{"text-box":true,"text-box--hover":this.hover},id:"file-text_box"},this.hover?a("bds-typo",{class:"text",variant:"fs-14",bold:"regular"},d(this.language,"dropHere")):a("bds-typo",{class:"text",variant:"fs-14",bold:"regular"},d(this.language,"dropOrClick"))),a("img",{class:{"upload__img--invisible":true,"upload__img--visible":this.hover},src:n})),a("input",{type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.accept,onChange:function(i){return e.onUploadClick(i.target.files)}})))};Object.defineProperty(e.prototype,"dropArea",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());u.style=p}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as e,h as t,g as a}from"./p-153dcf8b.js";const o=[{uploaded:"Arquivos enviados",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo"}],s=[{uploaded:"Archivos subidos",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo"}],l=[{uploaded:"Files uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file"}],r=(i,e)=>{let t;switch(i){case"pt_BR":t=o.map((i=>i[e]));break;case"es_ES":t=s.map((i=>i[e]));break;case"en_US":t=l.map((i=>i[e]));break;default:t=o.map((i=>i[e]))}return t},d=class{constructor(t){i(this,t),this.bdsUploadDelete=e(this,"bdsUploadDelete",7),this.bdsUploadChange=e(this,"bdsUploadChange",7),this.files=[],this.haveFiles=!1,this.hover=!1,this.size=[],this.language="pt_BR",this.handleDrop=i=>{this.haveFiles=!0,this.handleFiles(i.dataTransfer.files)},this.handleFiles=i=>{this.files=this.multiple?[...this.files,...i]:[i[0]],this.bdsUploadChange.emit()}}componentDidLoad(){["dragenter","dragover","dragleave","drop"].forEach((i=>{this.dropArea.shadowRoot.addEventListener(i,this.preventDefaults,!1),this.dropArea.shadowRoot.addEventListener(i,(()=>this.hoverFile(!0)),!1)})),["dragenter","dragover"].forEach((i=>{this.dropArea.shadowRoot.addEventListener(i,(()=>this.preventDefaults),!1),this.dropArea.shadowRoot.addEventListener(i,(()=>this.hoverFile(!0)),!1)})),["dragleave","drop"].forEach((i=>{this.dropArea.shadowRoot.addEventListener(i,(()=>this.preventDefaults),!1),this.dropArea.shadowRoot.addEventListener(i,(()=>this.hoverFile(!1)),!1)})),this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,!1)}preventDefaults(i){i.preventDefault(),i.stopPropagation()}hoverFile(i){this.hover=i}onUploadClick(i){if(!(i.length>0))return!1;this.files=this.multiple?[...this.files,...i]:[i[0]],this.haveFiles=!0,this.getSize(),this.bdsUploadChange.emit()}getSize(){this.files.map((i=>{this.size.push(i.size)}))}deleteFile(i){this.files.splice(i,1),this.files=[...this.files],this.haveFiles=0!==this.files.length,this.bdsUploadDelete.emit()}render(){return t("div",{class:"upload"},t("div",{class:"upload-header"},t("bds-icon",{size:"xxx-large",name:"upload"}),t("div",{class:"upload-header_text"},t("bds-typo",{variant:"fs-16",bold:"bold"},this.titleName),t("bds-typo",{variant:"fs-14",bold:"regular"},this.subtitle))),this.error?t("bds-banner",{context:"inside",variant:"error"},this.error):"",this.haveFiles?t("div",null,t("div",{class:"list-preview"},this.files.map(((i,e)=>t("div",{class:"upload__preview",key:e,id:"drop-area"},t("div",{class:"preview",id:"preview"},t("bds-icon",{size:"x-small",name:"attach"}),t("p",{class:"preview-text",id:"preview-text"},i.name),t("bds-button-icon",{class:"preview-icon",size:"short",icon:"trash",variant:"secondary",onClick:()=>this.deleteFile(e)})))))),this.multiple?t("bds-typo",{variant:"fs-14",italic:!0,class:"preview-length"},this.files.length>1?`${this.files.length} ${r(this.language,"uploaded")}`:""):""):"",t("div",{class:{upload__edit:!0}},t("label",{class:{"upload__edit--label":!0,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file"},t("div",{class:{"text-box":!0,"text-box--hover":this.hover},id:"file-text_box"},t("bds-typo",{class:"text",variant:"fs-14",bold:"regular"},r(this.language,this.hover?"dropHere":"dropOrClick"))),t("img",{class:{"upload__img--invisible":!0,"upload__img--visible":this.hover},src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="})),t("input",{type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.accept,onChange:i=>this.onUploadClick(i.target.files)})))}get dropArea(){return a(this)}};d.style='@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #3f7de8;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3;max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:"Nunito Sans";font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';export{d as bds_upload}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-0a46d49e.system.js"],(function(e,t){"use strict";var a,s,n,i,o,r;return{setters:[function(e){a=e.p;s=e.w;n=e.d;i=e.N;o=e.a;r=e.b}],execute:function(){var e=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var d=function(){{a.$cssShim$=s.__cssshim}var e=Array.from(n.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===i}));var r=e["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{r.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,s.location.href)).href;{l(r.resourcesUrl,e)}if(!s.customElements){return t.import("./p-c143febf.system.js").then((function(){return r}))}}return o(r)};var l=function(t,a){var o=e(i);try{s[o]=new Function("w","return import(w);//".concat(Math.random()))}catch(d){var r=new Map;s[o]=function(e){var i=new URL(e,t).href;var d=r.get(i);if(!d){var l=n.createElement("script");l.type="module";l.crossOrigin=a.crossOrigin;l.src=URL.createObjectURL(new Blob(["import * as m from '".concat(i,"'; window.").concat(o,".m = m;")],{type:"application/javascript"}));d=new Promise((function(e){l.onload=function(){e(s[o].m);l.remove()}}));r.set(i,d);n.head.appendChild(l)}return d}}};d().then((function(e){return r(JSON.parse('[["p-95a4efe2.system",[[1,"bds-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"theme":[513],"type":[1],"dataTest":[1,"data-test"],"svgContent":[32],"isVisible":[32]}],[1,"bds-typo",{"variant":[1],"lineHeight":[1,"line-height"],"bold":[1],"italic":[4],"noWrap":[4,"no-wrap"],"paragraph":[4],"margin":[4],"tag":[1],"dataTest":[1,"data-test"]}]]],["p-adda5b65.system",[[0,"bds-datepicker",{"typeOfDate":[1,"type-of-date"],"startDateLimit":[1537,"start-date-limit"],"endDateLimit":[1537,"end-date-limit"],"message":[1],"language":[1],"endDateLimitDaysList":[32],"open":[32],"dateSelected":[32],"endDateSelected":[32],"valueDateSelected":[32],"valueEndDateSelected":[32],"errorMsgDate":[32],"errorMsgEndDate":[32]}]]],["p-d606e407.system",[[6,"bds-select-chips",{"options":[1025],"chips":[1025],"newPrefix":[513,"new-prefix"],"value":[1025],"danger":[1540],"maxlength":[2],"errorMessage":[1025,"error-message"],"disabled":[516],"dataTest":[1,"data-test"],"label":[1],"icon":[513],"duplicated":[4],"canAddNew":[4,"can-add-new"],"notFoundMessage":[1,"not-found-message"],"internalOptions":[32],"isOpen":[32],"isValid":[64],"getChips":[64]},[[9,"mousedown","handleWindow"]]]]],["p-26caa697.system",[[1,"bds-toast",{"icon":[513],"actionType":[1,"action-type"],"variant":[1],"toastTitle":[1,"toast-title"],"toastText":[1,"toast-text"],"buttonText":[1,"button-text"],"duration":[2],"buttonAction":[1,"button-action"],"show":[4],"hide":[4],"position":[1],"create":[64],"close":[64]}]]],["p-68384abd.system",[[1,"bds-autocomplete",{"options":[1],"value":[1025],"selected":[1040],"danger":[516],"disabled":[516],"searchOnlyTitle":[516,"search-only-title"],"label":[1],"icon":[513],"placeholder":[1],"optionsPosition":[1,"options-position"],"clearIconOnFocus":[4,"clear-icon-on-focus"],"dataTest":[1,"data-test"],"isOpen":[32],"text":[32],"internalOptions":[32],"isFocused":[32]},[[9,"mousedown","handleWindow"]]]]],["p-83c14c81.system",[[2,"bds-input-phone-number",{"options":[16],"text":[1],"value":[1032],"danger":[516],"disabled":[516],"required":[4],"requiredErrorMessage":[1,"required-error-message"],"numberErrorMessage":[1,"number-error-message"],"dataTest":[1,"data-test"],"label":[1],"icon":[513],"isOpen":[32],"selectedCountry":[32],"isPressed":[32]},[[9,"mousedown","handleWindow"]]]]],["p-8b8dba77.system",[[1,"bds-select",{"options":[1],"value":[1032],"danger":[516],"disabled":[516],"label":[1],"icon":[513],"placeholder":[1],"optionsPosition":[1,"options-position"],"dataTest":[1,"data-test"],"isOpen":[32],"text":[32],"internalOptions":[32]},[[9,"mousedown","handleWindow"]]]]],["p-4dcfd440.system",[[1,"bds-input-editable",{"size":[1],"expand":[4],"dataTest":[1,"data-test"],"inputName":[1,"input-name"],"value":[1537],"requiredErrorMessage":[1,"required-error-message"],"minlength":[2],"minlengthErrorMessage":[1,"minlength-error-message"],"maxlength":[2],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"danger":[1540],"isEditing":[32],"isValid":[32]}]]],["p-21a6fff7.system",[[2,"bds-input-password",{"openEyes":[4,"open-eyes"],"value":[1537],"label":[1],"inputName":[1,"input-name"],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"readonly":[4],"helperMessage":[1,"helper-message"],"errorMessage":[1,"error-message"],"danger":[516],"icon":[513],"disabled":[4],"autoCapitalize":[1,"auto-capitalize"],"autoComplete":[1,"auto-complete"],"placeholder":[1],"dataTest":[1,"data-test"]}]]],["p-3ff16de8.system",[[1,"bds-upload",{"language":[1],"titleName":[1,"title-name"],"subtitle":[1],"error":[1],"multiple":[4],"accept":[1],"files":[32],"haveFiles":[32],"hover":[32],"background":[32],"size":[32]}]]],["p-5afd516a.system",[[1,"bds-accordion-header",{"accordionTitle":[1,"accordion-title"],"icon":[1],"avatarName":[1,"avatar-name"],"avatarThumb":[1,"avatar-thumb"],"isOpen":[32],"btToggleIsfocus":[32],"numberElement":[32],"toggle":[64],"close":[64]}]]],["p-c8d5b795.system",[[4,"bds-avatar-group",{"size":[1],"users":[1],"internalUsers":[32],"leftoversUsers":[32]}]]],["p-120356e5.system",[[1,"bds-chip-clickable",{"icon":[1],"avatar":[1],"color":[1],"size":[1],"clickable":[4],"close":[4],"disabled":[4],"dataTest":[1,"data-test"],"visible":[32]}]]],["p-adb4c89c.system",[[1,"bds-menu-exibition",{"avatarName":[1,"avatar-name"],"avatarThumbnail":[1,"avatar-thumbnail"],"avatarSize":[1,"avatar-size"],"value":[1],"subtitle":[1]}]]],["p-f2e31b0b.system",[[1,"bds-alert-header",{"variant":[1],"icon":[513]}]]],["p-1e0e7b7c.system",[[1,"bds-checkbox",{"refer":[1],"label":[1],"name":[1],"checked":[1540],"disabled":[4],"checkBoxId":[32],"getInputElement":[64],"getValue":[64]}]]],["p-73d5497b.system",[[1,"bds-chip-selected",{"icon":[1],"color":[1],"size":[1],"selected":[4],"disabled":[4],"dataTest":[1,"data-test"],"isSelected":[32]},[[2,"click","handleClick"]]]]],["p-90dc57b4.system",[[1,"bds-chip-tag",{"icon":[1],"color":[1]}]]],["p-4f7ba3e9.system",[[1,"bds-menu-action",{"buttonText":[1,"button-text"],"subMenu":[4,"sub-menu"],"iconLeft":[1,"icon-left"],"lipstick":[4],"openSubMenu":[32],"stateSubMenu":[32],"delaySubMenu":[32],"zIndex":[32],"delay":[32]}]]],["p-b66d401a.system",[[1,"bds-menu-list-item",{"color":[1],"icon":[513]}]]],["p-31ed857f.system",[[1,"bds-step",{"last":[4],"completed":[4],"active":[4],"disabled":[4],"index":[2],"pointer":[4]}]]],["p-446d968f.system",[[4,"bds-tabs",{"align":[1]},[[0,"scrollButtonClick","onScrollButtonClick"],[0,"bdsSelect","onSelectedTab"]]]]],["p-54d53d9d.system",[[1,"bds-warning"]]],["p-fb5f3431.system",[[1,"bds-alert-body"]]],["p-2e10825c.system",[[1,"bds-card-color",{"name":[1],"hex":[1],"gradient":[4],"variable":[1],"lightText":[4,"light-text"]}]]],["p-f89806a0.system",[[1,"bds-expansion-panel-header",{"text":[1]}]]],["p-e8296f40.system",[[1,"bds-menu-separation",{"value":[1],"size":[1]}]]],["p-19f75925.system",[[1,"bds-modal",{"open":[1540],"closeButton":[1540,"close-button"],"toggle":[64]}]]],["p-77769853.system",[[1,"bds-modal-close-button",{"active":[1540]}]]],["p-e35d83e2.system",[[1,"bds-progress-bar",{"percent":[2],"text":[1]}]]],["p-0f204706.system",[[1,"bds-radio",{"refer":[1],"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"dataTest":[1,"data-test"],"radioId":[32],"getInputElement":[64],"getValue":[64]}]]],["p-2475b179.system",[[0,"bds-tab",{"group":[1],"label":[1],"active":[4],"getChild":[64]}]]],["p-a7bcb130.system",[[4,"bds-tab-panel",{"group":[1],"active":[4],"getChild":[64]}]]],["p-d778795f.system",[[1,"bds-tooltip",{"tooltipText":[1,"tooltip-text"],"disabled":[516],"position":[1],"dataTest":[1,"data-test"],"isMouseOver":[32]}]]],["p-20663da6.system",[[1,"bds-accordion",{"isOpen":[32],"numberElement":[32],"toggle":[64],"close":[64],"reciveNumber":[64]}]]],["p-e085a87a.system",[[1,"bds-accordion-body",{"isOpen":[32],"heightContainer":[32],"numberElement":[32],"toggle":[64],"close":[64]}]]],["p-1b5f3f18.system",[[1,"bds-accordion-group",{"collapse":[1],"closeAll":[64]}]]],["p-5eab3a39.system",[[1,"bds-alert",{"open":[1540],"toggle":[64]}]]],["p-a81f7a50.system",[[1,"bds-alert-actions"]]],["p-387f7360.system",[[1,"bds-banner-link",{"link":[1]}]]],["p-8734c5ef.system",[[1,"bds-expansion-panel"]]],["p-80143d40.system",[[1,"bds-expansion-panel-body",{"open":[4],"text":[1]}]]],["p-be084347.system",[[1,"bds-illustration",{"type":[1],"name":[1],"dataTest":[1,"data-test"],"IllustrationContent":[32]}]]],["p-1eae3c9f.system",[[1,"bds-loading",{"type":[1],"size":[1],"color":[1],"svgContent":[32]}]]],["p-33a2676a.system",[[1,"bds-menu",{"menu":[1],"position":[1],"open":[1540],"menuPositionTopToBottom":[32],"menuPositionLeftToBottom":[32],"menuPositionTopToRight":[32],"menuPositionLeftToRight":[32],"toggle":[64]}]]],["p-53f6d580.system",[[1,"bds-menu-list"]]],["p-50490550.system",[[1,"bds-modal-action"]]],["p-4c502158.system",[[1,"bds-paper",{"elevation":[1],"dataTest":[1,"data-test"]}]]],["p-31b544a5.system",[[6,"bds-radio-group",{"value":[1]}]]],["p-8c059bee.system",[[4,"bds-stepper",{"setActiveStep":[64],"setCompletedStep":[64],"getActiveStep":[64],"resetActiveSteps":[64],"resetCompletedSteps":[64]}]]],["p-bbdfe1aa.system",[[1,"bds-switch",{"refer":[1],"size":[1],"name":[1],"checked":[1540],"disabled":[4],"dataTest":[1,"data-test"],"switchId":[32],"getInputElement":[64],"getValue":[64]}]]],["p-ff05dbb2.system",[[6,"bds-input-chips",{"chips":[1025],"type":[1],"label":[1],"maxlength":[2],"icon":[513],"delimiters":[16],"errorMessage":[1025,"error-message"],"danger":[1540],"value":[1537],"duplicated":[4],"disableSubmit":[4,"disable-submit"],"disabled":[516],"helperMessage":[1,"helper-message"],"inputName":[1,"input-name"],"placeholder":[1],"dataTest":[1,"data-test"],"internalChips":[32],"isValid":[64],"get":[64],"clear":[64],"add":[64],"setFocus":[64],"removeFocus":[64]}]]],["p-b4c69f1c.system",[[1,"bds-banner",{"bannerAlign":[1,"banner-align"],"buttonClose":[1,"button-close"],"context":[1],"variant":[1],"visible":[32],"toggle":[64]}]]],["p-0fe236a5.system",[[6,"bds-toast-container"]]],["p-6ce24588.system",[[1,"bds-datepicker-period",{"startDate":[16],"endDate":[16],"startDateSelect":[1040],"endDateSelect":[1040],"language":[1],"week":[32],"months":[32],"years":[32],"monthActivated":[32],"yearActivated":[32],"animatePrev":[32],"animateNext":[32],"activeSelectYear":[32],"openSelectMonth":[32],"openSelectYear":[32],"monthsSlide":[32],"loadingSlide":[32],"clear":[64]}],[1,"bds-datepicker-single",{"endDate":[16],"startDate":[16],"dateSelect":[1040],"language":[1],"week":[32],"months":[32],"years":[32],"monthActivated":[32],"yearActivated":[32],"animatePrev":[32],"animateNext":[32],"openSelectMonth":[32],"openSelectYear":[32],"monthsSlide":[32],"loadingSlide":[32],"clear":[64]}]]],["p-f715391a.system",[[1,"bds-chip",{"icon":[1],"size":[1],"variant":[1],"danger":[516],"filter":[4],"clickable":[4],"deletable":[4],"disabled":[4]}]]],["p-88b060ff.system",[[0,"bds-avatar",{"name":[1],"thumbnail":[1],"size":[1],"upload":[4],"ellipsis":[2],"dataTest":[1,"data-test"]}]]],["p-2abd9ed3.system",[[1,"bds-button-icon",{"disabled":[4],"size":[1],"variant":[1],"icon":[513]}]]],["p-9c2ef009.system",[[1,"bds-button",{"disabled":[4],"size":[1],"variant":[1],"icon":[513],"arrow":[4],"type":[1],"typeIcon":[513,"type-icon"],"bdsLoading":[4,"bds-loading"],"bdsLoadingVariant":[1,"bds-loading-variant"],"dataTest":[1,"data-test"]}],[0,"bds-loading-spinner",{"variant":[1]}]]],["p-034ffa39.system",[[6,"bds-select-option",{"value":[8],"selected":[4],"disabled":[4],"invisible":[1540],"danger":[1540],"bulkOption":[1,"bulk-option"],"slotAlign":[1,"slot-align"],"titleText":[1,"title-text"],"status":[1],"dataTest":[1,"data-test"]}]]],["p-8bbebf77.system",[[1,"bds-input",{"inputName":[1,"input-name"],"type":[513],"label":[1],"placeholder":[1],"autoCapitalize":[1,"auto-capitalize"],"autoComplete":[1,"auto-complete"],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"readonly":[4],"required":[4],"pattern":[1],"helperMessage":[1,"helper-message"],"errorMessage":[1025,"error-message"],"icon":[513],"disabled":[1540],"danger":[1540],"value":[1025],"counterLength":[4,"counter-length"],"counterLengthRule":[16],"isSubmit":[4,"is-submit"],"isTextarea":[4,"is-textarea"],"rows":[2],"cols":[2],"requiredErrorMessage":[1,"required-error-message"],"minlengthErrorMessage":[1,"minlength-error-message"],"minErrorMessage":[1,"min-error-message"],"maxErrorMessage":[1,"max-error-message"],"emailErrorMessage":[1,"email-error-message"],"numberErrorMessage":[1,"number-error-message"],"chips":[4],"dataTest":[1,"data-test"],"isPressed":[32],"isPassword":[32],"validationMesage":[32],"validationDanger":[32],"setFocus":[64],"removeFocus":[64],"getInputElement":[64],"isValid":[64],"clear":[64]}],[0,"bds-counter-text",{"length":[1026],"max":[2],"active":[1028],"warning":[1040],"delete":[1040]}]]]]'),e)}))}}}));
|
|
1
|
+
System.register(["./p-0a46d49e.system.js"],(function(e,t){"use strict";var a,s,n,i,o,r;return{setters:[function(e){a=e.p;s=e.w;n=e.d;i=e.N;o=e.a;r=e.b}],execute:function(){var e=function(e){return"__sc_import_".concat(e.replace(/\s|-/g,"_"))};var d=function(){{a.$cssShim$=s.__cssshim}var e=Array.from(n.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(i,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===i}));var r=e["data-opts"]||{};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{r.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,s.location.href)).href;{l(r.resourcesUrl,e)}if(!s.customElements){return t.import("./p-c143febf.system.js").then((function(){return r}))}}return o(r)};var l=function(t,a){var o=e(i);try{s[o]=new Function("w","return import(w);//".concat(Math.random()))}catch(d){var r=new Map;s[o]=function(e){var i=new URL(e,t).href;var d=r.get(i);if(!d){var l=n.createElement("script");l.type="module";l.crossOrigin=a.crossOrigin;l.src=URL.createObjectURL(new Blob(["import * as m from '".concat(i,"'; window.").concat(o,".m = m;")],{type:"application/javascript"}));d=new Promise((function(e){l.onload=function(){e(s[o].m);l.remove()}}));r.set(i,d);n.head.appendChild(l)}return d}}};d().then((function(e){return r(JSON.parse('[["p-95a4efe2.system",[[1,"bds-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"theme":[513],"type":[1],"dataTest":[1,"data-test"],"svgContent":[32],"isVisible":[32]}],[1,"bds-typo",{"variant":[1],"lineHeight":[1,"line-height"],"bold":[1],"italic":[4],"noWrap":[4,"no-wrap"],"paragraph":[4],"margin":[4],"tag":[1],"dataTest":[1,"data-test"]}]]],["p-adda5b65.system",[[0,"bds-datepicker",{"typeOfDate":[1,"type-of-date"],"startDateLimit":[1537,"start-date-limit"],"endDateLimit":[1537,"end-date-limit"],"message":[1],"language":[1],"endDateLimitDaysList":[32],"open":[32],"dateSelected":[32],"endDateSelected":[32],"valueDateSelected":[32],"valueEndDateSelected":[32],"errorMsgDate":[32],"errorMsgEndDate":[32]}]]],["p-d606e407.system",[[6,"bds-select-chips",{"options":[1025],"chips":[1025],"newPrefix":[513,"new-prefix"],"value":[1025],"danger":[1540],"maxlength":[2],"errorMessage":[1025,"error-message"],"disabled":[516],"dataTest":[1,"data-test"],"label":[1],"icon":[513],"duplicated":[4],"canAddNew":[4,"can-add-new"],"notFoundMessage":[1,"not-found-message"],"internalOptions":[32],"isOpen":[32],"isValid":[64],"getChips":[64]},[[9,"mousedown","handleWindow"]]]]],["p-26caa697.system",[[1,"bds-toast",{"icon":[513],"actionType":[1,"action-type"],"variant":[1],"toastTitle":[1,"toast-title"],"toastText":[1,"toast-text"],"buttonText":[1,"button-text"],"duration":[2],"buttonAction":[1,"button-action"],"show":[4],"hide":[4],"position":[1],"create":[64],"close":[64]}]]],["p-68384abd.system",[[1,"bds-autocomplete",{"options":[1],"value":[1025],"selected":[1040],"danger":[516],"disabled":[516],"searchOnlyTitle":[516,"search-only-title"],"label":[1],"icon":[513],"placeholder":[1],"optionsPosition":[1,"options-position"],"clearIconOnFocus":[4,"clear-icon-on-focus"],"dataTest":[1,"data-test"],"isOpen":[32],"text":[32],"internalOptions":[32],"isFocused":[32]},[[9,"mousedown","handleWindow"]]]]],["p-83c14c81.system",[[2,"bds-input-phone-number",{"options":[16],"text":[1],"value":[1032],"danger":[516],"disabled":[516],"required":[4],"requiredErrorMessage":[1,"required-error-message"],"numberErrorMessage":[1,"number-error-message"],"dataTest":[1,"data-test"],"label":[1],"icon":[513],"isOpen":[32],"selectedCountry":[32],"isPressed":[32]},[[9,"mousedown","handleWindow"]]]]],["p-8b8dba77.system",[[1,"bds-select",{"options":[1],"value":[1032],"danger":[516],"disabled":[516],"label":[1],"icon":[513],"placeholder":[1],"optionsPosition":[1,"options-position"],"dataTest":[1,"data-test"],"isOpen":[32],"text":[32],"internalOptions":[32]},[[9,"mousedown","handleWindow"]]]]],["p-4dcfd440.system",[[1,"bds-input-editable",{"size":[1],"expand":[4],"dataTest":[1,"data-test"],"inputName":[1,"input-name"],"value":[1537],"requiredErrorMessage":[1,"required-error-message"],"minlength":[2],"minlengthErrorMessage":[1,"minlength-error-message"],"maxlength":[2],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"danger":[1540],"isEditing":[32],"isValid":[32]}]]],["p-21a6fff7.system",[[2,"bds-input-password",{"openEyes":[4,"open-eyes"],"value":[1537],"label":[1],"inputName":[1,"input-name"],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"readonly":[4],"helperMessage":[1,"helper-message"],"errorMessage":[1,"error-message"],"danger":[516],"icon":[513],"disabled":[4],"autoCapitalize":[1,"auto-capitalize"],"autoComplete":[1,"auto-complete"],"placeholder":[1],"dataTest":[1,"data-test"]}]]],["p-b76f3c49.system",[[1,"bds-upload",{"language":[1],"titleName":[1,"title-name"],"subtitle":[1],"error":[1],"multiple":[4],"accept":[1],"files":[32],"haveFiles":[32],"hover":[32],"background":[32],"size":[32]}]]],["p-5afd516a.system",[[1,"bds-accordion-header",{"accordionTitle":[1,"accordion-title"],"icon":[1],"avatarName":[1,"avatar-name"],"avatarThumb":[1,"avatar-thumb"],"isOpen":[32],"btToggleIsfocus":[32],"numberElement":[32],"toggle":[64],"close":[64]}]]],["p-c8d5b795.system",[[4,"bds-avatar-group",{"size":[1],"users":[1],"internalUsers":[32],"leftoversUsers":[32]}]]],["p-120356e5.system",[[1,"bds-chip-clickable",{"icon":[1],"avatar":[1],"color":[1],"size":[1],"clickable":[4],"close":[4],"disabled":[4],"dataTest":[1,"data-test"],"visible":[32]}]]],["p-adb4c89c.system",[[1,"bds-menu-exibition",{"avatarName":[1,"avatar-name"],"avatarThumbnail":[1,"avatar-thumbnail"],"avatarSize":[1,"avatar-size"],"value":[1],"subtitle":[1]}]]],["p-f2e31b0b.system",[[1,"bds-alert-header",{"variant":[1],"icon":[513]}]]],["p-1e0e7b7c.system",[[1,"bds-checkbox",{"refer":[1],"label":[1],"name":[1],"checked":[1540],"disabled":[4],"checkBoxId":[32],"getInputElement":[64],"getValue":[64]}]]],["p-73d5497b.system",[[1,"bds-chip-selected",{"icon":[1],"color":[1],"size":[1],"selected":[4],"disabled":[4],"dataTest":[1,"data-test"],"isSelected":[32]},[[2,"click","handleClick"]]]]],["p-90dc57b4.system",[[1,"bds-chip-tag",{"icon":[1],"color":[1]}]]],["p-4f7ba3e9.system",[[1,"bds-menu-action",{"buttonText":[1,"button-text"],"subMenu":[4,"sub-menu"],"iconLeft":[1,"icon-left"],"lipstick":[4],"openSubMenu":[32],"stateSubMenu":[32],"delaySubMenu":[32],"zIndex":[32],"delay":[32]}]]],["p-b66d401a.system",[[1,"bds-menu-list-item",{"color":[1],"icon":[513]}]]],["p-31ed857f.system",[[1,"bds-step",{"last":[4],"completed":[4],"active":[4],"disabled":[4],"index":[2],"pointer":[4]}]]],["p-446d968f.system",[[4,"bds-tabs",{"align":[1]},[[0,"scrollButtonClick","onScrollButtonClick"],[0,"bdsSelect","onSelectedTab"]]]]],["p-54d53d9d.system",[[1,"bds-warning"]]],["p-fb5f3431.system",[[1,"bds-alert-body"]]],["p-2e10825c.system",[[1,"bds-card-color",{"name":[1],"hex":[1],"gradient":[4],"variable":[1],"lightText":[4,"light-text"]}]]],["p-f89806a0.system",[[1,"bds-expansion-panel-header",{"text":[1]}]]],["p-e8296f40.system",[[1,"bds-menu-separation",{"value":[1],"size":[1]}]]],["p-19f75925.system",[[1,"bds-modal",{"open":[1540],"closeButton":[1540,"close-button"],"toggle":[64]}]]],["p-77769853.system",[[1,"bds-modal-close-button",{"active":[1540]}]]],["p-e35d83e2.system",[[1,"bds-progress-bar",{"percent":[2],"text":[1]}]]],["p-0f204706.system",[[1,"bds-radio",{"refer":[1],"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"dataTest":[1,"data-test"],"radioId":[32],"getInputElement":[64],"getValue":[64]}]]],["p-2475b179.system",[[0,"bds-tab",{"group":[1],"label":[1],"active":[4],"getChild":[64]}]]],["p-a7bcb130.system",[[4,"bds-tab-panel",{"group":[1],"active":[4],"getChild":[64]}]]],["p-d778795f.system",[[1,"bds-tooltip",{"tooltipText":[1,"tooltip-text"],"disabled":[516],"position":[1],"dataTest":[1,"data-test"],"isMouseOver":[32]}]]],["p-20663da6.system",[[1,"bds-accordion",{"isOpen":[32],"numberElement":[32],"toggle":[64],"close":[64],"reciveNumber":[64]}]]],["p-e085a87a.system",[[1,"bds-accordion-body",{"isOpen":[32],"heightContainer":[32],"numberElement":[32],"toggle":[64],"close":[64]}]]],["p-1b5f3f18.system",[[1,"bds-accordion-group",{"collapse":[1],"closeAll":[64]}]]],["p-5eab3a39.system",[[1,"bds-alert",{"open":[1540],"toggle":[64]}]]],["p-a81f7a50.system",[[1,"bds-alert-actions"]]],["p-387f7360.system",[[1,"bds-banner-link",{"link":[1]}]]],["p-8734c5ef.system",[[1,"bds-expansion-panel"]]],["p-80143d40.system",[[1,"bds-expansion-panel-body",{"open":[4],"text":[1]}]]],["p-be084347.system",[[1,"bds-illustration",{"type":[1],"name":[1],"dataTest":[1,"data-test"],"IllustrationContent":[32]}]]],["p-1eae3c9f.system",[[1,"bds-loading",{"type":[1],"size":[1],"color":[1],"svgContent":[32]}]]],["p-33a2676a.system",[[1,"bds-menu",{"menu":[1],"position":[1],"open":[1540],"menuPositionTopToBottom":[32],"menuPositionLeftToBottom":[32],"menuPositionTopToRight":[32],"menuPositionLeftToRight":[32],"toggle":[64]}]]],["p-53f6d580.system",[[1,"bds-menu-list"]]],["p-50490550.system",[[1,"bds-modal-action"]]],["p-4c502158.system",[[1,"bds-paper",{"elevation":[1],"dataTest":[1,"data-test"]}]]],["p-31b544a5.system",[[6,"bds-radio-group",{"value":[1]}]]],["p-8c059bee.system",[[4,"bds-stepper",{"setActiveStep":[64],"setCompletedStep":[64],"getActiveStep":[64],"resetActiveSteps":[64],"resetCompletedSteps":[64]}]]],["p-bbdfe1aa.system",[[1,"bds-switch",{"refer":[1],"size":[1],"name":[1],"checked":[1540],"disabled":[4],"dataTest":[1,"data-test"],"switchId":[32],"getInputElement":[64],"getValue":[64]}]]],["p-ff05dbb2.system",[[6,"bds-input-chips",{"chips":[1025],"type":[1],"label":[1],"maxlength":[2],"icon":[513],"delimiters":[16],"errorMessage":[1025,"error-message"],"danger":[1540],"value":[1537],"duplicated":[4],"disableSubmit":[4,"disable-submit"],"disabled":[516],"helperMessage":[1,"helper-message"],"inputName":[1,"input-name"],"placeholder":[1],"dataTest":[1,"data-test"],"internalChips":[32],"isValid":[64],"get":[64],"clear":[64],"add":[64],"setFocus":[64],"removeFocus":[64]}]]],["p-b4c69f1c.system",[[1,"bds-banner",{"bannerAlign":[1,"banner-align"],"buttonClose":[1,"button-close"],"context":[1],"variant":[1],"visible":[32],"toggle":[64]}]]],["p-0fe236a5.system",[[6,"bds-toast-container"]]],["p-6ce24588.system",[[1,"bds-datepicker-period",{"startDate":[16],"endDate":[16],"startDateSelect":[1040],"endDateSelect":[1040],"language":[1],"week":[32],"months":[32],"years":[32],"monthActivated":[32],"yearActivated":[32],"animatePrev":[32],"animateNext":[32],"activeSelectYear":[32],"openSelectMonth":[32],"openSelectYear":[32],"monthsSlide":[32],"loadingSlide":[32],"clear":[64]}],[1,"bds-datepicker-single",{"endDate":[16],"startDate":[16],"dateSelect":[1040],"language":[1],"week":[32],"months":[32],"years":[32],"monthActivated":[32],"yearActivated":[32],"animatePrev":[32],"animateNext":[32],"openSelectMonth":[32],"openSelectYear":[32],"monthsSlide":[32],"loadingSlide":[32],"clear":[64]}]]],["p-f715391a.system",[[1,"bds-chip",{"icon":[1],"size":[1],"variant":[1],"danger":[516],"filter":[4],"clickable":[4],"deletable":[4],"disabled":[4]}]]],["p-88b060ff.system",[[0,"bds-avatar",{"name":[1],"thumbnail":[1],"size":[1],"upload":[4],"ellipsis":[2],"dataTest":[1,"data-test"]}]]],["p-2abd9ed3.system",[[1,"bds-button-icon",{"disabled":[4],"size":[1],"variant":[1],"icon":[513]}]]],["p-9c2ef009.system",[[1,"bds-button",{"disabled":[4],"size":[1],"variant":[1],"icon":[513],"arrow":[4],"type":[1],"typeIcon":[513,"type-icon"],"bdsLoading":[4,"bds-loading"],"bdsLoadingVariant":[1,"bds-loading-variant"],"dataTest":[1,"data-test"]}],[0,"bds-loading-spinner",{"variant":[1]}]]],["p-034ffa39.system",[[6,"bds-select-option",{"value":[8],"selected":[4],"disabled":[4],"invisible":[1540],"danger":[1540],"bulkOption":[1,"bulk-option"],"slotAlign":[1,"slot-align"],"titleText":[1,"title-text"],"status":[1],"dataTest":[1,"data-test"]}]]],["p-8bbebf77.system",[[1,"bds-input",{"inputName":[1,"input-name"],"type":[513],"label":[1],"placeholder":[1],"autoCapitalize":[1,"auto-capitalize"],"autoComplete":[1,"auto-complete"],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"readonly":[4],"required":[4],"pattern":[1],"helperMessage":[1,"helper-message"],"errorMessage":[1025,"error-message"],"icon":[513],"disabled":[1540],"danger":[1540],"value":[1025],"counterLength":[4,"counter-length"],"counterLengthRule":[16],"isSubmit":[4,"is-submit"],"isTextarea":[4,"is-textarea"],"rows":[2],"cols":[2],"requiredErrorMessage":[1,"required-error-message"],"minlengthErrorMessage":[1,"minlength-error-message"],"minErrorMessage":[1,"min-error-message"],"maxErrorMessage":[1,"max-error-message"],"emailErrorMessage":[1,"email-error-message"],"numberErrorMessage":[1,"number-error-message"],"chips":[4],"dataTest":[1,"data-test"],"isPressed":[32],"isPassword":[32],"validationMesage":[32],"validationDanger":[32],"setFocus":[64],"removeFocus":[64],"getInputElement":[64],"isValid":[64],"clear":[64]}],[0,"bds-counter-text",{"length":[1026],"max":[2],"active":[1028],"warning":[1040],"delete":[1040]}]]]]'),e)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,i,t){if(t||arguments.length===2)for(var a=0,r=i.length,o;a<r;a++){if(o||!(a in i)){if(!o)o=Array.prototype.slice.call(i,0,a);o[a]=i[a]}}return e.concat(o||Array.prototype.slice.call(i))};System.register(["./p-0a46d49e.system.js"],(function(e){"use strict";var i,t,a,r;return{setters:[function(e){i=e.r;t=e.c;a=e.h;r=e.g}],execute:function(){var o=[{uploaded:"Arquivos enviados",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo"}];var l=[{uploaded:"Archivos subidos",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo"}];var s=[{uploaded:"Files uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file"}];var d=function(e,i){var t;switch(e){case"pt_BR":t=o.map((function(e){return e[i]}));break;case"es_ES":t=l.map((function(e){return e[i]}));break;case"en_US":t=s.map((function(e){return e[i]}));break;default:t=o.map((function(e){return e[i]}))}return t};var n="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=";var p='@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #3f7de8;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3;max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:"Nunito Sans";font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';var u=e("bds_upload",function(){function e(e){var a=this;i(this,e);this.bdsUploadDelete=t(this,"bdsUploadDelete",7);this.bdsUploadChange=t(this,"bdsUploadChange",7);this.files=[];this.haveFiles=false;this.hover=false;this.size=[];this.language="pt_BR";this.handleDrop=function(e){a.haveFiles=true;var i=e.dataTransfer;var t=i.files;a.handleFiles(t)};this.handleFiles=function(e){if(!a.multiple){a.files=[e[0]]}else{a.files=__spreadArray(__spreadArray([],a.files,true),e,true)}a.bdsUploadChange.emit()}}e.prototype.componentDidLoad=function(){var e=this;["dragenter","dragover","dragleave","drop"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,e.preventDefaults,false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(true)}),false)}));["dragenter","dragover"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(true)}),false)}));["dragleave","drop"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(false)}),false)}));this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,false)};e.prototype.preventDefaults=function(e){e.preventDefault();e.stopPropagation()};e.prototype.hoverFile=function(e){this.hover=e};e.prototype.onUploadClick=function(e){if(e.length>0){if(!this.multiple){this.files=[e[0]]}else{this.files=__spreadArray(__spreadArray([],this.files,true),e,true)}this.haveFiles=true;this.getSize()}else{return false}this.bdsUploadChange.emit()};e.prototype.getSize=function(){var e=this;this.files.map((function(i){var t=i.size;e.size.push(t)}))};e.prototype.deleteFile=function(e){this.files.splice(e,1);this.files=__spreadArray([],this.files,true);if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadDelete.emit()};e.prototype.render=function(){var e=this;return a("div",{class:"upload"},a("div",{class:"upload-header"},a("bds-icon",{size:"xxx-large",name:"upload"}),a("div",{class:"upload-header_text"},a("bds-typo",{variant:"fs-16",bold:"bold"},this.titleName),a("bds-typo",{variant:"fs-14",bold:"regular"},this.subtitle))),this.error?a("bds-banner",{context:"inside",variant:"error"},this.error):"",this.haveFiles?a("div",null,a("div",{class:"list-preview"},this.files.map((function(i,t){return a("div",{class:"upload__preview",key:t,id:"drop-area"},a("div",{class:"preview",id:"preview"},a("bds-icon",{size:"x-small",name:"attach"}),a("p",{class:"preview-text",id:"preview-text"},i.name),a("bds-button-icon",{class:"preview-icon",size:"short",icon:"trash",variant:"secondary",onClick:function(){return e.deleteFile(t)}})))}))),this.multiple?a("bds-typo",{variant:"fs-14",italic:true,class:"preview-length"},this.files.length>1?"".concat(this.files.length," ").concat(d(this.language,"uploaded")):""):""):"",a("div",{class:{upload__edit:true}},a("label",{class:{"upload__edit--label":true,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file"},a("div",{class:{"text-box":true,"text-box--hover":this.hover},id:"file-text_box"},this.hover?a("bds-typo",{class:"text",variant:"fs-14",bold:"regular"},d(this.language,"dropHere")):a("bds-typo",{class:"text",variant:"fs-14",bold:"regular"},d(this.language,"dropOrClick"))),a("img",{class:{"upload__img--invisible":true,"upload__img--visible":this.hover},src:n})),a("input",{type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.accept,onChange:function(i){return e.onUploadClick(i.target.files)}})))};Object.defineProperty(e.prototype,"dropArea",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());u.style=p}}}));
|
|
@@ -6,7 +6,7 @@ const index = require('./index-948505ef.js');
|
|
|
6
6
|
|
|
7
7
|
const ptTerms = [
|
|
8
8
|
{
|
|
9
|
-
uploaded: '
|
|
9
|
+
uploaded: 'Arquivos enviados',
|
|
10
10
|
dropHere: 'Solte aqui para anexar o arquivo',
|
|
11
11
|
dropOrClick: 'Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo',
|
|
12
12
|
},
|
|
@@ -14,7 +14,7 @@ const ptTerms = [
|
|
|
14
14
|
|
|
15
15
|
const esTerms = [
|
|
16
16
|
{
|
|
17
|
-
uploaded: '
|
|
17
|
+
uploaded: 'Archivos subidos',
|
|
18
18
|
dropHere: 'Soltar aquí para adjuntar archivo',
|
|
19
19
|
dropOrClick: 'Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo',
|
|
20
20
|
},
|
|
@@ -22,7 +22,7 @@ const esTerms = [
|
|
|
22
22
|
|
|
23
23
|
const enTerms = [
|
|
24
24
|
{
|
|
25
|
-
uploaded: '
|
|
25
|
+
uploaded: 'Files uploaded',
|
|
26
26
|
dropHere: 'Drop here to attach file',
|
|
27
27
|
dropOrClick: 'Drag and drop your files here or click to upload file',
|
|
28
28
|
},
|
|
@@ -48,7 +48,7 @@ const termTranslate = (lang, string) => {
|
|
|
48
48
|
|
|
49
49
|
const patternSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=';
|
|
50
50
|
|
|
51
|
-
const bdsUploadCss = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap\"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100
|
|
51
|
+
const bdsUploadCss = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap\"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #3f7de8;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3;max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:\"Nunito Sans\";font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}";
|
|
52
52
|
|
|
53
53
|
const BdsUpload = class {
|
|
54
54
|
constructor(hostRef) {
|
|
@@ -80,7 +80,7 @@ const BdsUpload = class {
|
|
|
80
80
|
this.files = [files[0]];
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
83
|
-
this.files = [...files];
|
|
83
|
+
this.files = [...this.files, ...files];
|
|
84
84
|
}
|
|
85
85
|
this.bdsUploadChange.emit();
|
|
86
86
|
};
|
|
@@ -118,7 +118,12 @@ const BdsUpload = class {
|
|
|
118
118
|
*/
|
|
119
119
|
onUploadClick(files) {
|
|
120
120
|
if (files.length > 0) {
|
|
121
|
-
this.
|
|
121
|
+
if (!this.multiple) {
|
|
122
|
+
this.files = [files[0]];
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
this.files = [...this.files, ...files];
|
|
126
|
+
}
|
|
122
127
|
this.haveFiles = true;
|
|
123
128
|
this.getSize();
|
|
124
129
|
}
|
|
@@ -151,7 +156,7 @@ const BdsUpload = class {
|
|
|
151
156
|
this.bdsUploadDelete.emit();
|
|
152
157
|
}
|
|
153
158
|
render() {
|
|
154
|
-
return (index.h("div", { class: "upload" }, index.h("div", { class: "upload-header" }, index.h("bds-icon", { size: "xxx-large", name: "upload" }), index.h("div", { class: "upload-header_text" }, index.h("bds-typo", { variant: "fs-16", bold: "bold" }, this.titleName), index.h("bds-typo", { variant: "fs-14", bold: "regular" }, this.subtitle))), this.error ? (index.h("bds-banner", { context: "inside", variant: "error" }, this.error)) : (''), this.haveFiles ? (index.h("div", null, index.h("div", { class: "list-preview" }, this.files.map((names, index$1) => (index.h("div", { class: "upload__preview", key: index$1, id: "drop-area" }, index.h("div", { class: "preview", id: "preview" }, index.h("bds-icon", { size: "x-small", name: "attach" }), index.h("
|
|
159
|
+
return (index.h("div", { class: "upload" }, index.h("div", { class: "upload-header" }, index.h("bds-icon", { size: "xxx-large", name: "upload" }), index.h("div", { class: "upload-header_text" }, index.h("bds-typo", { variant: "fs-16", bold: "bold" }, this.titleName), index.h("bds-typo", { variant: "fs-14", bold: "regular" }, this.subtitle))), this.error ? (index.h("bds-banner", { context: "inside", variant: "error" }, this.error)) : (''), this.haveFiles ? (index.h("div", null, index.h("div", { class: "list-preview" }, this.files.map((names, index$1) => (index.h("div", { class: "upload__preview", key: index$1, id: "drop-area" }, index.h("div", { class: "preview", id: "preview" }, index.h("bds-icon", { size: "x-small", name: "attach" }), index.h("p", { class: "preview-text", id: "preview-text" }, names.name), index.h("bds-button-icon", { class: "preview-icon", size: "short", icon: "trash", variant: "secondary", onClick: () => this.deleteFile(index$1) })))))), this.multiple ? (index.h("bds-typo", { variant: "fs-14", italic: true, class: "preview-length" }, this.files.length > 1 ? `${this.files.length} ${termTranslate(this.language, 'uploaded')}` : '')) : (''))) : (''), index.h("div", { class: { upload__edit: true } }, index.h("label", { class: { 'upload__edit--label': true, 'upload__edit--hover': this.hover }, id: "file-label", htmlFor: "file" }, index.h("div", { class: { 'text-box': true, 'text-box--hover': this.hover }, id: "file-text_box" }, this.hover ? (index.h("bds-typo", { class: "text", variant: "fs-14", bold: "regular" }, termTranslate(this.language, 'dropHere'))) : (index.h("bds-typo", { class: "text", variant: "fs-14", bold: "regular" }, termTranslate(this.language, 'dropOrClick')))), index.h("img", { class: { 'upload__img--invisible': true, 'upload__img--visible': this.hover }, src: patternSvg })), index.h("input", { type: "file", name: "files[]", id: "file", class: "upload__input", multiple: this.multiple, accept: this.accept, onChange: ($event) => this.onUploadClick($event.target.files) }))));
|
|
155
160
|
}
|
|
156
161
|
get dropArea() { return index.getElement(this); }
|
|
157
162
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<svg width="1366" height="768" viewBox="0 0 1366 768" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_2444_183924)">
|
|
3
|
+
<rect width="1366" height="768" fill="#00C6D7"/>
|
|
4
|
+
<g style="mix-blend-mode:soft-light">
|
|
5
|
+
<path d="M1214 64C1214 520.74 843.74 891 387 891C-69.7395 891 -440 520.74 -440 64C-440 -392.74 -69.7395 -763 387 -763C843.74 -763 1214 -392.74 1214 64ZM-26.5 64C-26.5 292.37 158.63 477.5 387 477.5C615.37 477.5 800.5 292.37 800.5 64C800.5 -164.37 615.37 -349.5 387 -349.5C158.63 -349.5 -26.5 -164.37 -26.5 64Z" fill="url(#paint0_radial_2444_183924)"/>
|
|
6
|
+
</g>
|
|
7
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M81.7423 306.177C78.8581 304.25 75.4671 303.221 71.9983 303.221C67.3467 303.221 62.8856 305.069 59.5965 308.358C56.3073 311.648 54.4595 316.109 54.4595 320.76C54.4595 324.229 55.4881 327.62 57.4153 330.504C59.3425 333.388 62.0817 335.636 65.2865 336.964C68.4913 338.291 72.0177 338.639 75.4199 337.962C78.8221 337.285 81.9473 335.615 84.4001 333.162C86.853 330.709 88.5234 327.584 89.2001 324.182C89.8769 320.78 89.5295 317.253 88.2021 314.048C86.8746 310.844 84.6266 308.104 81.7423 306.177ZM57.6867 299.341C61.923 296.511 66.9034 295 71.9983 295C78.8303 295 85.3825 297.714 90.2135 302.545C95.0444 307.376 97.7585 313.928 97.7585 320.76C97.7585 325.855 96.2477 330.836 93.4171 335.072C90.5865 339.308 86.5633 342.61 81.8563 344.559C77.1492 346.509 71.9697 347.019 66.9727 346.025C61.9758 345.031 57.3857 342.578 53.7831 338.975C50.1805 335.373 47.7271 330.783 46.7331 325.786C45.7391 320.789 46.2493 315.609 48.199 310.902C50.1487 306.195 53.4505 302.172 57.6867 299.341ZM46.5687 405H97.4313C99.4343 405.007 101.419 404.618 103.271 403.855C105.123 403.092 106.805 401.97 108.222 400.553C109.638 399.137 110.76 397.454 111.523 395.602C112.286 393.751 112.675 391.766 112.668 389.763C112.654 380.086 108.803 370.81 101.961 363.968C95.1183 357.125 85.8421 353.275 76.1655 353.26H67.8345C58.1579 353.275 48.8817 357.125 42.0392 363.968C35.1968 370.81 31.3463 380.086 31.3318 389.763C31.3246 391.766 31.7137 393.751 32.4769 395.602C33.2401 397.454 34.3621 399.137 35.7784 400.553C37.1948 401.97 38.8773 403.092 40.7292 403.855C42.5811 404.618 44.5657 405.007 46.5687 405ZM47.8526 369.781C53.1532 364.48 60.3383 361.496 67.8345 361.482H76.1655C83.6617 361.496 90.8468 364.48 96.1474 369.781C101.448 375.082 104.432 382.267 104.447 389.763C104.447 391.624 103.708 393.408 102.392 394.724C101.076 396.039 99.2919 396.778 97.4313 396.778H46.5687C44.7081 396.778 42.9236 396.039 41.608 394.724C40.2923 393.408 39.5532 391.624 39.5532 389.763C39.5676 382.267 42.5519 375.082 47.8526 369.781Z" fill="#82FFFF"/>
|
|
8
|
+
<rect x="-27" y="251" width="198" height="198" rx="99" stroke="#82FFFF" stroke-width="2"/>
|
|
9
|
+
<rect x="697" y="174" width="213" height="222" rx="23" stroke="#82FFFF" stroke-width="2"/>
|
|
10
|
+
<rect x="426" y="535" width="484" height="327" rx="23" stroke="#82FFFF" stroke-width="2"/>
|
|
11
|
+
<path d="M302.251 391.04C304.731 391.8 306.631 393.08 307.951 394.88C309.271 396.64 309.931 398.82 309.931 401.42C309.931 403.74 309.311 405.78 308.071 407.54C306.871 409.26 305.131 410.6 302.851 411.56C300.611 412.52 297.971 413 294.931 413H273.871V370.7H294.331C298.771 370.7 302.291 371.7 304.891 373.7C307.531 375.66 308.851 378.32 308.851 381.68C308.851 383.84 308.271 385.76 307.111 387.44C305.951 389.08 304.331 390.28 302.251 391.04ZM284.611 387.32H292.471C294.551 387.32 296.071 387 297.031 386.36C297.991 385.72 298.471 384.7 298.471 383.3C298.471 381.82 297.991 380.74 297.031 380.06C296.071 379.38 294.551 379.04 292.471 379.04H284.611V387.32ZM293.551 404.66C295.751 404.66 297.311 404.32 298.231 403.64C299.191 402.92 299.671 401.76 299.671 400.16C299.671 398.56 299.191 397.42 298.231 396.74C297.311 396.02 295.751 395.66 293.551 395.66H284.611V404.66H293.551ZM314.87 370.7H325.55V413H314.87V370.7ZM331.745 383.48H342.425V413H331.745V383.48ZM342.665 368.72V378.38H331.505V368.72H342.665ZM368.18 382.76C370.7 382.76 372.94 383.42 374.9 384.74C376.9 386.02 378.44 387.84 379.52 390.2C380.64 392.56 381.2 395.26 381.2 398.3C381.2 401.34 380.64 404.02 379.52 406.34C378.44 408.62 376.92 410.38 374.96 411.62C373 412.86 370.74 413.48 368.18 413.48C366.3 413.48 364.56 413.1 362.96 412.34C361.4 411.58 360.18 410.56 359.3 409.28V423.8H348.62V383.48H359.12V387.26C359.96 385.86 361.18 384.76 362.78 383.96C364.42 383.16 366.22 382.76 368.18 382.76ZM364.94 405.5C366.78 405.5 368.18 404.88 369.14 403.64C370.14 402.4 370.64 400.62 370.64 398.3C370.64 395.86 370.14 394 369.14 392.72C368.14 391.4 366.72 390.74 364.88 390.74C363.04 390.74 361.62 391.38 360.62 392.66C359.62 393.94 359.12 395.78 359.12 398.18C359.12 400.54 359.62 402.36 360.62 403.64C361.62 404.88 363.06 405.5 364.94 405.5ZM187.973 430.7H205.193C209.873 430.7 213.893 431.54 217.253 433.22C220.653 434.9 223.253 437.34 225.053 440.54C226.853 443.7 227.753 447.46 227.753 451.82C227.753 456.22 226.853 460.02 225.053 463.22C223.293 466.38 220.713 468.8 217.313 470.48C213.953 472.16 209.913 473 205.193 473H187.973V430.7ZM204.413 464.12C208.573 464.12 211.673 463.1 213.713 461.06C215.753 459.02 216.773 455.94 216.773 451.82C216.773 447.7 215.753 444.64 213.713 442.64C211.673 440.6 208.573 439.58 204.413 439.58H199.013V464.12H204.413ZM260.899 460.28H242.659C242.979 462.2 243.679 463.58 244.759 464.42C245.839 465.26 247.379 465.68 249.379 465.68C250.819 465.68 252.279 465.44 253.759 464.96C255.239 464.48 256.559 463.82 257.719 462.98L260.419 470C258.939 471.08 257.159 471.94 255.079 472.58C252.999 473.18 250.919 473.48 248.839 473.48C245.439 473.48 242.499 472.86 240.019 471.62C237.539 470.38 235.619 468.6 234.259 466.28C232.939 463.96 232.279 461.24 232.279 458.12C232.279 455.16 232.899 452.52 234.139 450.2C235.419 447.84 237.179 446.02 239.419 444.74C241.699 443.42 244.259 442.76 247.099 442.76C251.339 442.76 254.699 444.12 257.179 446.84C259.659 449.52 260.899 453.2 260.899 457.88V460.28ZM247.399 449.96C244.559 449.96 242.939 451.72 242.539 455.24H251.959C251.719 451.72 250.199 449.96 247.399 449.96ZM277.648 473.48C274.808 473.48 272.188 473.18 269.788 472.58C267.388 471.98 265.368 471.1 263.728 469.94L266.428 462.68C268.028 463.72 269.848 464.56 271.888 465.2C273.928 465.8 275.888 466.1 277.768 466.1C278.928 466.1 279.828 465.94 280.468 465.62C281.108 465.26 281.428 464.78 281.428 464.18C281.428 463.66 281.188 463.26 280.708 462.98C280.268 462.7 279.348 462.4 277.948 462.08L273.208 461C270.208 460.32 268.048 459.32 266.728 458C265.408 456.68 264.748 454.8 264.748 452.36C264.748 450.48 265.308 448.82 266.428 447.38C267.548 445.9 269.108 444.76 271.108 443.96C273.148 443.16 275.448 442.76 278.008 442.76C280.128 442.76 282.228 443.08 284.308 443.72C286.428 444.32 288.348 445.18 290.068 446.3L287.308 453.26C285.708 452.26 284.088 451.5 282.448 450.98C280.848 450.42 279.328 450.14 277.888 450.14C276.728 450.14 275.828 450.32 275.188 450.68C274.548 451.04 274.228 451.56 274.228 452.24C274.228 452.64 274.428 452.98 274.828 453.26C275.228 453.5 275.928 453.74 276.928 453.98L281.908 455.12C285.028 455.8 287.288 456.86 288.688 458.3C290.088 459.7 290.788 461.62 290.788 464.06C290.788 466.98 289.608 469.28 287.248 470.96C284.928 472.64 281.728 473.48 277.648 473.48ZM295.183 443.48H305.863V473H295.183V443.48ZM306.103 428.72V438.38H294.943V428.72H306.103ZM343.558 443.48V469.4C343.558 474.28 342.098 477.98 339.178 480.5C336.298 483.02 332.018 484.28 326.338 484.28C323.658 484.28 321.058 483.96 318.538 483.32C316.018 482.72 313.838 481.86 311.998 480.74L314.698 473.48C316.538 474.44 318.438 475.18 320.398 475.7C322.398 476.22 324.278 476.48 326.038 476.48C328.398 476.48 330.138 475.96 331.258 474.92C332.418 473.92 332.998 472.32 332.998 470.12V467.84C332.118 469.16 330.858 470.22 329.218 471.02C327.578 471.78 325.798 472.16 323.878 472.16C321.318 472.16 319.038 471.56 317.038 470.36C315.038 469.16 313.478 467.46 312.358 465.26C311.238 463.02 310.678 460.44 310.678 457.52C310.678 454.6 311.238 452.02 312.358 449.78C313.478 447.54 315.038 445.82 317.038 444.62C319.038 443.38 321.318 442.76 323.878 442.76C325.838 442.76 327.638 443.16 329.278 443.96C330.918 444.76 332.178 445.86 333.058 447.26V443.48H343.558ZM327.118 464.18C328.998 464.18 330.458 463.6 331.498 462.44C332.538 461.24 333.058 459.6 333.058 457.52C333.058 455.4 332.538 453.74 331.498 452.54C330.458 451.34 328.998 450.74 327.118 450.74C325.278 450.74 323.838 451.34 322.798 452.54C321.758 453.7 321.238 455.36 321.238 457.52C321.238 459.6 321.758 461.24 322.798 462.44C323.878 463.6 325.318 464.18 327.118 464.18ZM369.652 442.76C373.172 442.76 375.792 443.82 377.512 445.94C379.232 448.02 380.092 451.2 380.092 455.48V473H369.412V455.96C369.412 454.2 369.092 452.92 368.452 452.12C367.852 451.32 366.932 450.92 365.692 450.92C364.092 450.92 362.812 451.44 361.852 452.48C360.932 453.48 360.472 454.84 360.472 456.56V473H349.792V443.48H360.172V447.44C361.212 445.92 362.552 444.76 364.192 443.96C365.832 443.16 367.652 442.76 369.652 442.76ZM191.32 533.54C188.16 533.54 185.04 533.12 181.96 532.28C178.88 531.44 176.38 530.32 174.46 528.92L177.88 521.12C179.92 522.4 182.1 523.38 184.42 524.06C186.74 524.74 189.08 525.08 191.44 525.08C193.84 525.08 195.66 524.76 196.9 524.12C198.18 523.44 198.82 522.5 198.82 521.3C198.82 520.22 198.24 519.34 197.08 518.66C195.96 517.98 193.8 517.3 190.6 516.62C186.64 515.78 183.54 514.78 181.3 513.62C179.06 512.46 177.48 511.1 176.56 509.54C175.68 507.98 175.24 506.06 175.24 503.78C175.24 501.18 175.96 498.86 177.4 496.82C178.88 494.74 180.94 493.12 183.58 491.96C186.26 490.76 189.32 490.16 192.76 490.16C195.8 490.16 198.74 490.6 201.58 491.48C204.46 492.32 206.7 493.42 208.3 494.78L204.94 502.58C201.1 499.94 197.06 498.62 192.82 498.62C190.78 498.62 189.14 499.02 187.9 499.82C186.66 500.58 186.04 501.6 186.04 502.88C186.04 503.64 186.26 504.26 186.7 504.74C187.14 505.22 187.96 505.7 189.16 506.18C190.36 506.62 192.14 507.08 194.5 507.56C198.34 508.4 201.36 509.42 203.56 510.62C205.76 511.78 207.32 513.14 208.24 514.7C209.16 516.26 209.62 518.12 209.62 520.28C209.62 524.44 208.02 527.7 204.82 530.06C201.62 532.38 197.12 533.54 191.32 533.54ZM245.099 503.54L227.099 543.8H216.299L222.239 530.96L210.179 503.54H221.339L227.819 520.16L234.659 503.54H245.099ZM258.605 533.48C255.765 533.48 253.145 533.18 250.745 532.58C248.345 531.98 246.325 531.1 244.685 529.94L247.385 522.68C248.985 523.72 250.805 524.56 252.845 525.2C254.885 525.8 256.845 526.1 258.725 526.1C259.885 526.1 260.785 525.94 261.425 525.62C262.065 525.26 262.385 524.78 262.385 524.18C262.385 523.66 262.145 523.26 261.665 522.98C261.225 522.7 260.305 522.4 258.905 522.08L254.165 521C251.165 520.32 249.005 519.32 247.685 518C246.365 516.68 245.705 514.8 245.705 512.36C245.705 510.48 246.265 508.82 247.385 507.38C248.505 505.9 250.065 504.76 252.065 503.96C254.105 503.16 256.405 502.76 258.965 502.76C261.085 502.76 263.185 503.08 265.265 503.72C267.385 504.32 269.305 505.18 271.025 506.3L268.265 513.26C266.665 512.26 265.045 511.5 263.405 510.98C261.805 510.42 260.285 510.14 258.845 510.14C257.685 510.14 256.785 510.32 256.145 510.68C255.505 511.04 255.185 511.56 255.185 512.24C255.185 512.64 255.385 512.98 255.785 513.26C256.185 513.5 256.885 513.74 257.885 513.98L262.865 515.12C265.985 515.8 268.245 516.86 269.645 518.3C271.045 519.7 271.745 521.62 271.745 524.06C271.745 526.98 270.565 529.28 268.205 530.96C265.885 532.64 262.685 533.48 258.605 533.48ZM293.487 525.8C294.367 525.8 295.347 525.74 296.427 525.62L295.887 533.24C294.607 533.4 293.367 533.48 292.167 533.48C287.367 533.48 283.867 532.48 281.667 530.48C279.507 528.44 278.427 525.3 278.427 521.06V511.34H272.907V503.48H278.427V494.9H289.107V503.48H296.187V511.34H289.107V521.12C289.107 524.24 290.567 525.8 293.487 525.8ZM327.403 520.28H309.163C309.483 522.2 310.183 523.58 311.263 524.42C312.343 525.26 313.883 525.68 315.883 525.68C317.323 525.68 318.783 525.44 320.263 524.96C321.743 524.48 323.063 523.82 324.223 522.98L326.923 530C325.443 531.08 323.663 531.94 321.583 532.58C319.503 533.18 317.423 533.48 315.343 533.48C311.943 533.48 309.003 532.86 306.523 531.62C304.043 530.38 302.123 528.6 300.763 526.28C299.443 523.96 298.783 521.24 298.783 518.12C298.783 515.16 299.403 512.52 300.643 510.2C301.923 507.84 303.683 506.02 305.923 504.74C308.203 503.42 310.763 502.76 313.603 502.76C317.843 502.76 321.203 504.12 323.683 506.84C326.163 509.52 327.403 513.2 327.403 517.88V520.28ZM313.903 509.96C311.063 509.96 309.443 511.72 309.043 515.24H318.463C318.223 511.72 316.703 509.96 313.903 509.96ZM369.952 502.76C373.392 502.76 375.932 503.8 377.572 505.88C379.252 507.96 380.092 511.16 380.092 515.48V533H369.412V515.78C369.412 514.06 369.152 512.82 368.632 512.06C368.112 511.3 367.252 510.92 366.052 510.92C364.572 510.92 363.432 511.44 362.632 512.48C361.872 513.52 361.492 515 361.492 516.92V533H350.812V515.78C350.812 514.06 350.552 512.82 350.032 512.06C349.512 511.3 348.652 510.92 347.452 510.92C345.972 510.92 344.852 511.44 344.092 512.48C343.332 513.52 342.952 515 342.952 516.92V533H332.272V503.48H342.652V507.2C344.612 504.24 347.612 502.76 351.652 502.76C355.892 502.76 358.752 504.5 360.232 507.98C361.272 506.34 362.632 505.06 364.312 504.14C366.032 503.22 367.912 502.76 369.952 502.76Z" fill="#82FFFF"/>
|
|
12
|
+
<line x1="1" y1="656" x2="135" y2="656" stroke="#82FFFF" stroke-width="2" stroke-linecap="round"/>
|
|
13
|
+
<path d="M85.2859 43.2451L85.2856 43.2358C82.0696 -47.2253 105.42 -144.413 184.316 -194.141C233.023 -224.357 304.323 -235.893 373.519 -235.893C420.149 -235.893 465.959 -230.958 503.698 -222.744L503.705 -222.743C591.654 -203.933 654.694 -144.317 672.269 -53.6193L674.232 -53.9998L672.269 -53.6192C690.751 41.7273 681.85 155.748 626.626 236.794L626.62 236.803L626.614 236.812C605.381 268.71 575.362 296.666 546.368 323.668C540.357 329.265 534.39 334.822 528.555 340.364C493.103 373.33 456.036 406.299 419.758 438.459L419.705 438.506L419.655 438.557C418.255 439.989 416.32 441.254 413.829 441.254H413.824H413.82H413.815H413.81H413.806H413.801H413.797H413.792H413.787H413.783H413.778H413.774H413.769H413.765H413.76H413.756H413.751H413.747H413.743H413.738H413.734H413.73H413.725H413.721H413.717H413.712H413.708H413.704H413.7H413.695H413.691H413.687H413.683H413.679H413.675H413.671H413.666H413.662H413.658H413.654H413.65H413.646H413.642H413.638H413.634H413.63H413.626H413.622H413.618H413.615H413.611H413.607H413.603H413.599H413.595H413.591H413.588H413.584H413.58H413.576H413.573H413.569H413.565H413.561H413.558H413.554H413.55H413.547H413.543H413.54H413.536H413.532H413.529H413.525H413.522H413.518H413.515H413.511H413.508H413.504H413.501H413.497H413.494H413.49H413.487H413.484H413.48H413.477H413.473H413.47H413.467H413.463H413.46H413.457H413.453H413.45H413.447H413.444H413.44H413.437H413.434H413.431H413.427H413.424H413.421H413.418H413.415H413.411H413.408H413.405H413.402H413.399H413.396H413.393H413.39H413.387H413.384H413.38H413.377H413.374H413.371H413.368H413.365H413.362H413.359H413.356H413.353H413.351H413.348H413.345H413.342H413.339H413.336H413.333H413.33H413.327H413.324H413.321H413.319H413.316H413.313H413.31H413.307H413.304H413.302H413.299H413.296H413.293H413.29H413.288H413.285H413.282H413.279H413.277H413.274H413.271H413.268H413.266H413.263H413.26H413.258H413.255H413.252H413.25H413.247H413.244H413.242H413.239H413.236H413.234H413.231H413.229H413.226H413.223H413.221H413.218H413.216H413.213H413.21H413.208H413.205H413.203H413.2H413.198H413.195H413.192H413.19H413.187H413.185H413.182H413.18H413.177H413.175H413.172H413.17H413.167H413.165H413.162H413.16H413.157H413.155H413.152H413.15H413.148H413.145H413.143H413.14H413.138H413.135H413.133H413.13H413.128H413.126H413.123H413.121H413.118H413.116H413.113H413.111H413.109H413.106H413.104H413.101H413.099H413.097H413.094H413.092H413.089H413.087H413.085H413.082H413.08H413.078H413.075H413.073H413.07H413.068H413.066H413.063H413.061H413.059H413.056H413.054H413.051H413.049H413.047H413.044H413.042H413.04H413.037H413.035H413.033H413.03H413.028H413.025H413.023H413.021H413.018H413.016H413.014H413.011H413.009H413.007H413.004H413.002H412.999H412.997H412.995H412.992H412.99H412.988H412.985H412.983H412.98H412.978H412.976H412.973H412.971H412.969H412.966H412.964H412.961H412.959H412.957H412.954H412.952H412.949H412.947H412.945H412.942H412.94H412.937H412.935H412.933H412.93H412.928H412.925H412.923H412.921H412.918H412.916H412.913H412.911H412.908H412.906H412.903H412.901H412.899H412.896H412.894H412.891H412.889H412.886H412.884H412.881H412.879H412.876H412.874H412.871H412.869H412.866H412.864H412.861H412.859H412.856H412.854H412.851H412.849H412.846H412.843H412.841H412.838H412.836H412.833H412.831H412.828H412.825H412.823H412.82H412.818H412.815H412.812H412.81H412.807H412.804H412.802H412.799H412.796H412.794H412.791H412.788H412.786H412.783H412.78H412.778H412.775H412.772H412.769H412.767H412.764H412.761H412.758H412.756H412.753H412.75H412.747H412.744H412.742H412.739H412.736H412.733H412.73H412.728H412.725H412.722H412.719H412.716H412.713H412.71H412.707H412.704H412.701H412.699H412.696H412.693H412.69H412.687H412.684H412.681H412.678H412.675H412.672H412.669H412.666H412.663H412.659H412.656H412.653H412.65H412.647H412.644H412.641H412.638H412.635H412.631H412.628H412.625H412.622H412.619H412.615H412.612H412.609H412.606H412.603H412.599H412.596H412.593H412.589H412.586H412.583H412.579H412.576H412.573H412.569H412.566H412.563H412.559H412.556H412.552H412.549H412.545H412.542H412.538H412.535H412.531H412.528H412.524H412.521H412.517H412.514H412.51H412.507H412.503H412.499H412.496H412.492H412.488H412.485H412.481H412.477H412.473H412.47H412.466H412.462H412.458H412.455H412.451H412.447H412.443H412.439H412.435H412.432H412.428H412.424H412.42H412.416H412.412H412.408H412.404H412.4H412.396H412.392H412.388H412.384H412.38H412.376H412.371H412.367H412.363H412.359H412.355H412.351H412.346H412.342H412.338H412.334H412.329H412.325H412.321H412.316H412.312H412.308H412.303H412.299H412.295H412.29H412.286H412.281H412.277H412.272H412.268H412.263H412.259H412.254H412.25H412.245H412.24H412.236H412.231H412.226H412.222H412.217C405.377 441.254 400.511 435.673 400.511 429.235V350.07C400.511 344.723 396.268 341.473 392.062 341.473C355.579 341.473 310.833 335.318 268.801 322.287C226.739 309.246 187.607 289.385 162.144 262.119L162.138 262.113L162.132 262.106C107.797 204.895 87.6976 121.363 85.2859 43.2451Z" stroke="#82FFFF" stroke-width="4"/>
|
|
14
|
+
<circle cx="664" cy="154" r="17" stroke="#82FFFF" stroke-width="4"/>
|
|
15
|
+
<circle cx="664" cy="154" r="7" fill="#82FFFF" stroke="#82FFFF" stroke-width="4"/>
|
|
16
|
+
<circle cx="1272" cy="657" r="38" stroke="#82FFFF" stroke-width="4"/>
|
|
17
|
+
<rect x="1153" y="610" width="166" height="94" rx="47" stroke="#82FFFF" stroke-width="2"/>
|
|
18
|
+
<path d="M752.261 68.8H763.421C766.381 68.8 768.675 69.52 770.301 70.96C771.955 72.4 772.781 74.44 772.781 77.08C772.781 79.72 771.955 81.7733 770.301 83.24C768.648 84.7067 766.355 85.44 763.421 85.44H755.541V97H752.261V68.8ZM763.101 82.72C767.395 82.72 769.541 80.84 769.541 77.08C769.541 73.3733 767.395 71.52 763.101 71.52H755.541V82.72H763.101ZM777.563 68.8H780.803V97H777.563V68.8ZM794.779 77.04C797.259 77.04 799.099 77.68 800.299 78.96C801.526 80.2133 802.139 82.1333 802.139 84.72V97H798.979V93.68C798.473 94.8267 797.699 95.72 796.659 96.36C795.619 96.9733 794.419 97.28 793.059 97.28C791.806 97.28 790.646 97.0267 789.579 96.52C788.539 96.0133 787.713 95.3067 787.099 94.4C786.486 93.4933 786.179 92.4933 786.179 91.4C786.179 89.9333 786.553 88.8 787.299 88C788.046 87.1733 789.273 86.5867 790.979 86.24C792.686 85.8667 795.059 85.68 798.099 85.68H798.979V84.36C798.979 82.7333 798.646 81.56 797.979 80.84C797.313 80.0933 796.233 79.72 794.739 79.72C792.499 79.72 790.273 80.4133 788.059 81.8L786.979 79.44C787.993 78.72 789.206 78.1467 790.619 77.72C792.059 77.2667 793.446 77.04 794.779 77.04ZM793.499 94.72C795.099 94.72 796.406 94.1867 797.419 93.12C798.459 92.0267 798.979 90.6267 798.979 88.92V87.76H798.259C795.913 87.76 794.126 87.8667 792.899 88.08C791.673 88.2667 790.793 88.6 790.259 89.08C789.753 89.5333 789.499 90.2133 789.499 91.12C789.499 92.16 789.873 93.0267 790.619 93.72C791.393 94.3867 792.353 94.72 793.499 94.72ZM816.31 97.28C814.39 97.28 812.724 96.8667 811.31 96.04C809.897 95.2133 808.804 94.0533 808.03 92.56C807.284 91.04 806.91 89.2667 806.91 87.24C806.91 85.2133 807.297 83.44 808.07 81.92C808.87 80.3733 809.977 79.1733 811.39 78.32C812.83 77.4667 814.51 77.04 816.43 77.04C817.737 77.04 819.017 77.28 820.27 77.76C821.524 78.2133 822.537 78.8267 823.31 79.6L822.23 82C820.39 80.5067 818.524 79.76 816.63 79.76C814.63 79.76 813.07 80.4133 811.95 81.72C810.83 83.0267 810.27 84.8667 810.27 87.24C810.27 89.5867 810.83 91.4 811.95 92.68C813.07 93.96 814.63 94.6 816.63 94.6C818.524 94.6 820.39 93.8533 822.23 92.36L823.31 94.76C822.484 95.5333 821.444 96.1467 820.19 96.6C818.937 97.0533 817.644 97.28 816.31 97.28ZM843.531 87.76H829.291C829.398 90.0267 830.011 91.7467 831.131 92.92C832.251 94.0667 833.838 94.64 835.891 94.64C838.158 94.64 840.238 93.8667 842.131 92.32L843.211 94.68C842.358 95.48 841.264 96.12 839.931 96.6C838.598 97.0533 837.238 97.28 835.851 97.28C832.811 97.28 830.411 96.3867 828.651 94.6C826.918 92.8133 826.051 90.3467 826.051 87.2C826.051 85.2 826.438 83.44 827.211 81.92C827.984 80.3733 829.064 79.1733 830.451 78.32C831.864 77.4667 833.464 77.04 835.251 77.04C837.838 77.04 839.864 77.8933 841.331 79.6C842.798 81.28 843.531 83.6 843.531 86.56V87.76ZM835.291 79.56C833.584 79.56 832.211 80.0933 831.171 81.16C830.158 82.2267 829.558 83.7333 829.371 85.68H840.691C840.638 83.7067 840.144 82.2 839.211 81.16C838.278 80.0933 836.971 79.56 835.291 79.56ZM858.105 77.04C862.771 77.04 865.105 79.6133 865.105 84.76V97H861.865V84.96C861.865 83.1467 861.505 81.8267 860.785 81C860.091 80.1733 858.971 79.76 857.425 79.76C855.638 79.76 854.211 80.3067 853.145 81.4C852.078 82.4933 851.545 83.9733 851.545 85.84V97H848.305V68.8H851.545V80.64C852.185 79.4667 853.065 78.5733 854.185 77.96C855.331 77.3467 856.638 77.04 858.105 77.04ZM879.119 97.28C877.279 97.28 875.652 96.8667 874.239 96.04C872.852 95.2133 871.772 94.04 870.999 92.52C870.252 90.9733 869.879 89.1867 869.879 87.16C869.879 85.1333 870.252 83.36 870.999 81.84C871.772 80.2933 872.852 79.1067 874.239 78.28C875.652 77.4533 877.279 77.04 879.119 77.04C880.959 77.04 882.586 77.4533 883.999 78.28C885.412 79.1067 886.492 80.2933 887.239 81.84C888.012 83.36 888.399 85.1333 888.399 87.16C888.399 89.1867 888.012 90.9733 887.239 92.52C886.492 94.04 885.412 95.2133 883.999 96.04C882.586 96.8667 880.959 97.28 879.119 97.28ZM879.119 94.6C881.039 94.6 882.506 93.9733 883.519 92.72C884.559 91.44 885.079 89.5867 885.079 87.16C885.079 84.7867 884.559 82.96 883.519 81.68C882.479 80.3733 881.012 79.72 879.119 79.72C877.226 79.72 875.759 80.3733 874.719 81.68C873.679 82.96 873.159 84.7867 873.159 87.16C873.159 89.56 873.666 91.4 874.679 92.68C875.719 93.96 877.199 94.6 879.119 94.6ZM893.227 68.8H896.467V97H893.227V68.8ZM919.803 68.8V97H916.563V93.44C915.977 94.6667 915.11 95.6133 913.963 96.28C912.843 96.9467 911.523 97.28 910.003 97.28C908.297 97.28 906.79 96.8533 905.483 96C904.177 95.1467 903.163 93.96 902.443 92.44C901.723 90.8933 901.363 89.1067 901.363 87.08C901.363 85.08 901.723 83.32 902.443 81.8C903.163 80.28 904.177 79.1067 905.483 78.28C906.79 77.4533 908.297 77.04 910.003 77.04C911.523 77.04 912.843 77.3733 913.963 78.04C915.11 78.7067 915.977 79.6533 916.563 80.88V68.8H919.803ZM910.643 94.6C912.537 94.6 913.99 93.96 915.003 92.68C916.043 91.3733 916.563 89.5333 916.563 87.16C916.563 84.7867 916.043 82.96 915.003 81.68C913.99 80.4 912.537 79.76 910.643 79.76C908.75 79.76 907.27 80.4 906.203 81.68C905.163 82.96 904.643 84.76 904.643 87.08C904.643 89.4533 905.163 91.3067 906.203 92.64C907.27 93.9467 908.75 94.6 910.643 94.6ZM942.125 87.76H927.885C927.991 90.0267 928.605 91.7467 929.725 92.92C930.845 94.0667 932.431 94.64 934.485 94.64C936.751 94.64 938.831 93.8667 940.725 92.32L941.805 94.68C940.951 95.48 939.858 96.12 938.525 96.6C937.191 97.0533 935.831 97.28 934.445 97.28C931.405 97.28 929.005 96.3867 927.245 94.6C925.511 92.8133 924.645 90.3467 924.645 87.2C924.645 85.2 925.031 83.44 925.805 81.92C926.578 80.3733 927.658 79.1733 929.045 78.32C930.458 77.4667 932.058 77.04 933.845 77.04C936.431 77.04 938.458 77.8933 939.925 79.6C941.391 81.28 942.125 83.6 942.125 86.56V87.76ZM933.885 79.56C932.178 79.56 930.805 80.0933 929.765 81.16C928.751 82.2267 928.151 83.7333 927.965 85.68H939.285C939.231 83.7067 938.738 82.2 937.805 81.16C936.871 80.0933 935.565 79.56 933.885 79.56ZM957.938 79.84L955.818 80.04C953.818 80.2267 952.365 80.8533 951.458 81.92C950.578 82.9867 950.138 84.3067 950.138 85.88V97H946.898V77.52H950.058V80.92C951.152 78.6533 953.298 77.3867 956.498 77.12L957.658 77.04L957.938 79.84Z" fill="#82FFFF"/>
|
|
19
|
+
<path d="M1005.67 78L993.833 90L982 78" stroke="#82FFFF" stroke-width="4" stroke-linecap="round"/>
|
|
20
|
+
<rect x="725" y="37" width="303.667" height="94" rx="15" stroke="#82FFFF" stroke-width="2"/>
|
|
21
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M227.311 642.158C226.609 641.747 225.813 641.527 225 641.52C224.187 641.527 223.39 641.747 222.688 642.158C221.986 642.568 221.404 643.155 221 643.86L214.8 654.52L208.7 665.18C208.291 665.888 208.075 666.69 208.073 667.507C208.07 668.324 208.282 669.127 208.686 669.837C209.091 670.547 209.674 671.139 210.378 671.553C211.082 671.968 211.883 672.191 212.7 672.2H237.3C238.117 672.191 238.917 671.968 239.621 671.553C240.325 671.139 240.909 670.547 241.313 669.837C241.718 669.127 241.929 668.324 241.927 667.507C241.924 666.69 241.708 665.888 241.3 665.18L235.14 654.52L229 643.86C228.595 643.155 228.013 642.568 227.311 642.158ZM221.151 639.541C222.321 638.867 223.649 638.514 225 638.52C226.35 638.514 227.678 638.867 228.848 639.541C230.018 640.216 230.988 641.189 231.66 642.36L237.8 653L243.96 663.68C244.634 664.848 244.989 666.173 244.989 667.522C244.988 668.871 244.633 670.196 243.957 671.364C243.282 672.532 242.312 673.501 241.143 674.175C239.974 674.848 238.649 675.202 237.3 675.2H212.7C211.351 675.202 210.025 674.848 208.857 674.175C207.688 673.501 206.717 672.532 206.042 671.364C205.367 670.196 205.011 668.871 205.011 667.522C205.01 666.173 205.365 664.848 206.04 663.68L212.2 653L218.34 642.36C219.011 641.189 219.982 640.216 221.151 639.541ZM226.46 651.48C226.041 651.159 225.528 650.985 225 650.985C224.472 650.985 223.959 651.159 223.54 651.48C223.339 651.675 223.186 651.913 223.092 652.177C222.999 652.441 222.967 652.722 223 653L223.78 661.24C223.803 661.578 223.945 661.896 224.18 662.14C224.42 662.361 224.734 662.483 225.06 662.483C225.386 662.483 225.7 662.361 225.94 662.14C226.178 661.89 226.319 661.564 226.34 661.22L227.1 653.22V652.88C227.105 652.614 227.05 652.35 226.939 652.107C226.828 651.865 226.665 651.651 226.46 651.48ZM223.52 664.32C223.146 664.714 222.938 665.236 222.938 665.78C222.938 666.323 223.146 666.846 223.52 667.24C223.911 667.613 224.43 667.821 224.97 667.821C225.51 667.821 226.03 667.613 226.42 667.24C226.795 666.846 227.003 666.323 227.003 665.78C227.003 665.236 226.795 664.714 226.42 664.32C226.234 664.123 226.009 663.966 225.759 663.859C225.51 663.752 225.242 663.697 224.97 663.697C224.699 663.697 224.431 663.752 224.181 663.859C223.932 663.966 223.707 664.123 223.52 664.32Z" fill="#82FFFF"/>
|
|
22
|
+
<path d="M269.064 670.28C267.224 670.28 265.598 669.867 264.184 669.04C262.798 668.213 261.718 667.04 260.944 665.52C260.198 663.973 259.824 662.187 259.824 660.16C259.824 658.133 260.198 656.36 260.944 654.84C261.718 653.293 262.798 652.107 264.184 651.28C265.598 650.453 267.224 650.04 269.064 650.04C270.904 650.04 272.531 650.453 273.944 651.28C275.358 652.107 276.438 653.293 277.184 654.84C277.958 656.36 278.344 658.133 278.344 660.16C278.344 662.187 277.958 663.973 277.184 665.52C276.438 667.04 275.358 668.213 273.944 669.04C272.531 669.867 270.904 670.28 269.064 670.28ZM269.064 667.6C270.984 667.6 272.451 666.973 273.464 665.72C274.504 664.44 275.024 662.587 275.024 660.16C275.024 657.787 274.504 655.96 273.464 654.68C272.424 653.373 270.958 652.72 269.064 652.72C267.171 652.72 265.704 653.373 264.664 654.68C263.624 655.96 263.104 657.787 263.104 660.16C263.104 662.56 263.611 664.4 264.624 665.68C265.664 666.96 267.144 667.6 269.064 667.6ZM291.252 670.28C289.412 670.28 287.785 669.867 286.372 669.04C284.985 668.213 283.905 667.04 283.132 665.52C282.385 663.973 282.012 662.187 282.012 660.16C282.012 658.133 282.385 656.36 283.132 654.84C283.905 653.293 284.985 652.107 286.372 651.28C287.785 650.453 289.412 650.04 291.252 650.04C293.092 650.04 294.719 650.453 296.132 651.28C297.545 652.107 298.625 653.293 299.372 654.84C300.145 656.36 300.532 658.133 300.532 660.16C300.532 662.187 300.145 663.973 299.372 665.52C298.625 667.04 297.545 668.213 296.132 669.04C294.719 669.867 293.092 670.28 291.252 670.28ZM291.252 667.6C293.172 667.6 294.639 666.973 295.652 665.72C296.692 664.44 297.212 662.587 297.212 660.16C297.212 657.787 296.692 655.96 295.652 654.68C294.612 653.373 293.145 652.72 291.252 652.72C289.359 652.72 287.892 653.373 286.852 654.68C285.812 655.96 285.292 657.787 285.292 660.16C285.292 662.56 285.799 664.4 286.812 665.68C287.852 666.96 289.332 667.6 291.252 667.6ZM315.159 650.04C316.866 650.04 318.373 650.467 319.679 651.32C320.986 652.173 321.999 653.373 322.719 654.92C323.439 656.44 323.799 658.213 323.799 660.24C323.799 662.267 323.439 664.04 322.719 665.56C321.999 667.053 320.986 668.213 319.679 669.04C318.399 669.867 316.893 670.28 315.159 670.28C313.639 670.28 312.306 669.947 311.159 669.28C310.039 668.613 309.186 667.667 308.599 666.44V677.2H305.359V650.52H308.599V653.88C309.186 652.653 310.039 651.707 311.159 651.04C312.306 650.373 313.639 650.04 315.159 650.04ZM314.519 667.6C316.413 667.6 317.879 666.96 318.919 665.68C319.959 664.4 320.479 662.587 320.479 660.24C320.479 657.893 319.959 656.067 318.919 654.76C317.879 653.427 316.413 652.76 314.519 652.76C312.626 652.76 311.159 653.4 310.119 654.68C309.106 655.96 308.599 657.787 308.599 660.16C308.599 662.533 309.106 664.373 310.119 665.68C311.159 666.96 312.626 667.6 314.519 667.6ZM335.241 670.28C331.961 670.28 329.361 669.44 327.441 667.76L328.521 665.36C329.561 666.187 330.614 666.787 331.681 667.16C332.774 667.507 334.001 667.68 335.361 667.68C336.801 667.68 337.894 667.44 338.641 666.96C339.414 666.453 339.801 665.733 339.801 664.8C339.801 664.027 339.547 663.413 339.041 662.96C338.534 662.507 337.694 662.147 336.521 661.88L333.241 661.12C331.587 660.747 330.321 660.107 329.441 659.2C328.561 658.293 328.121 657.173 328.121 655.84C328.121 654.107 328.801 652.707 330.161 651.64C331.521 650.573 333.334 650.04 335.601 650.04C336.961 650.04 338.254 650.267 339.481 650.72C340.707 651.147 341.734 651.773 342.561 652.6L341.481 654.96C339.694 653.44 337.734 652.68 335.601 652.68C334.241 652.68 333.174 652.947 332.401 653.48C331.654 653.987 331.281 654.707 331.281 655.64C331.281 656.413 331.507 657.04 331.961 657.52C332.441 657.973 333.201 658.32 334.241 658.56L337.561 659.36C339.374 659.787 340.721 660.44 341.601 661.32C342.481 662.173 342.921 663.293 342.921 664.68C342.921 666.387 342.227 667.747 340.841 668.76C339.481 669.773 337.614 670.28 335.241 670.28ZM347.419 641.8H351.459L350.419 662.6H348.419L347.419 641.8ZM351.459 665.92V670H347.379V665.92H351.459Z" fill="#82FFFF"/>
|
|
23
|
+
<rect x="162" y="610" width="231" height="94" rx="15" stroke="#82FFFF" stroke-width="2"/>
|
|
24
|
+
<path d="M977.244 629V607.85H991.074V610.91H981.084V616.88H990.444V619.94H981.084V629H977.244ZM993.489 611.18V607.52H997.689V611.18H993.489ZM993.729 629V614.33H997.479V629H993.729ZM1006.48 629.3C1004.74 629.3 1003.45 628.83 1002.61 627.89C1001.79 626.93 1001.38 625.53 1001.38 623.69V607.85H1005.13V623.51C1005.13 625.31 1005.89 626.21 1007.41 626.21C1007.63 626.21 1007.85 626.2 1008.07 626.18C1008.29 626.16 1008.5 626.12 1008.7 626.06L1008.64 629.03C1007.92 629.21 1007.2 629.3 1006.48 629.3ZM1017.3 629.3C1013.42 629.3 1011.48 627.38 1011.48 623.54V617.15H1008.66V614.33H1011.48V609.95H1015.23V614.33H1019.67V617.15H1015.23V623.33C1015.23 624.29 1015.44 625.01 1015.86 625.49C1016.28 625.97 1016.96 626.21 1017.9 626.21C1018.18 626.21 1018.47 626.18 1018.77 626.12C1019.07 626.04 1019.38 625.96 1019.7 625.88L1020.27 628.64C1019.91 628.84 1019.45 629 1018.89 629.12C1018.35 629.24 1017.82 629.3 1017.3 629.3ZM1029.17 629.3C1027.51 629.3 1026.08 628.99 1024.88 628.37C1023.68 627.75 1022.75 626.87 1022.09 625.73C1021.45 624.59 1021.13 623.24 1021.13 621.68C1021.13 620.16 1021.44 618.83 1022.06 617.69C1022.7 616.55 1023.57 615.66 1024.67 615.02C1025.79 614.36 1027.06 614.03 1028.48 614.03C1030.56 614.03 1032.2 614.69 1033.4 616.01C1034.62 617.33 1035.23 619.13 1035.23 621.41V622.52H1024.73C1025.01 625.14 1026.51 626.45 1029.23 626.45C1030.05 626.45 1030.87 626.33 1031.69 626.09C1032.51 625.83 1033.26 625.43 1033.94 624.89L1034.99 627.41C1034.29 627.99 1033.41 628.45 1032.35 628.79C1031.29 629.13 1030.23 629.3 1029.17 629.3ZM1028.63 616.58C1027.53 616.58 1026.64 616.92 1025.96 617.6C1025.28 618.28 1024.87 619.2 1024.73 620.36H1032.11C1032.03 619.14 1031.69 618.21 1031.09 617.57C1030.51 616.91 1029.69 616.58 1028.63 616.58ZM1038.2 629V614.33H1041.86V616.91C1042.58 615.17 1044.12 614.21 1046.48 614.03L1047.62 613.94L1047.86 617.12L1045.7 617.33C1043.24 617.57 1042.01 618.83 1042.01 621.11V629H1038.2Z" fill="#82FFFF"/>
|
|
25
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1078.08 608.399C1075.99 606.998 1073.52 606.25 1071 606.25C1067.62 606.254 1064.38 607.599 1061.99 609.989C1059.6 612.379 1058.25 615.62 1058.25 619C1058.25 621.522 1059 623.987 1060.4 626.084C1061.8 628.18 1063.79 629.814 1066.12 630.779C1068.45 631.744 1071.01 631.997 1073.49 631.505C1075.96 631.013 1078.23 629.799 1080.02 628.016C1081.8 626.232 1083.01 623.961 1083.51 621.487C1084 619.014 1083.74 616.451 1082.78 614.121C1081.81 611.791 1080.18 609.8 1078.08 608.399ZM1062.67 606.528C1065.13 604.88 1068.03 604 1071 604C1074.98 604 1078.79 605.58 1081.61 608.393C1084.42 611.206 1086 615.022 1086 619C1086 621.967 1085.12 624.867 1083.47 627.334C1081.82 629.8 1079.48 631.723 1076.74 632.858C1074 633.994 1070.98 634.291 1068.07 633.712C1065.16 633.133 1062.49 631.704 1060.39 629.607C1058.3 627.509 1056.87 624.836 1056.29 621.926C1055.71 619.017 1056.01 616.001 1057.14 613.26C1058.28 610.519 1060.2 608.176 1062.67 606.528ZM1076.29 615.295L1072.59 619L1076.29 622.705C1076.51 622.916 1076.62 623.202 1076.62 623.5C1076.62 623.798 1076.51 624.084 1076.29 624.295C1076.08 624.506 1075.8 624.624 1075.5 624.624C1075.2 624.624 1074.92 624.506 1074.7 624.295L1071 620.59L1067.29 624.295C1067.08 624.506 1066.8 624.624 1066.5 624.624C1066.2 624.624 1065.92 624.506 1065.7 624.295C1065.49 624.084 1065.38 623.798 1065.38 623.5C1065.38 623.202 1065.49 622.916 1065.7 622.705L1069.41 619L1065.7 615.295C1065.51 615.082 1065.4 614.8 1065.4 614.508C1065.41 614.217 1065.53 613.939 1065.73 613.733C1065.94 613.527 1066.22 613.409 1066.51 613.403C1066.8 613.398 1067.08 613.506 1067.29 613.705L1071 617.41L1074.7 613.705C1074.92 613.506 1075.2 613.398 1075.49 613.403C1075.78 613.409 1076.06 613.527 1076.27 613.733C1076.47 613.939 1076.59 614.217 1076.6 614.508C1076.6 614.8 1076.49 615.082 1076.29 615.295Z" fill="#82FFFF"/>
|
|
26
|
+
<rect x="959" y="592" width="142" height="54" rx="27" stroke="#82FFFF" stroke-width="2"/>
|
|
27
|
+
<path d="M984.315 213.44H993.243C995.611 213.44 997.446 214.016 998.747 215.168C1000.07 216.32 1000.73 217.952 1000.73 220.064C1000.73 222.176 1000.07 223.819 998.747 224.992C997.425 226.165 995.59 226.752 993.243 226.752H986.939V236H984.315V213.44ZM992.987 224.576C996.422 224.576 998.139 223.072 998.139 220.064C998.139 217.099 996.422 215.616 992.987 215.616H986.939V224.576H992.987ZM1013.08 222.272L1011.38 222.432C1009.78 222.581 1008.62 223.083 1007.89 223.936C1007.19 224.789 1006.84 225.845 1006.84 227.104V236H1004.24V220.416H1006.77V223.136C1007.65 221.323 1009.36 220.309 1011.92 220.096L1012.85 220.032L1013.08 222.272ZM1015.53 220.416H1018.12V236H1015.53V220.416ZM1018.41 213.664V216.576H1015.27V213.664H1018.41ZM1040.31 220.032C1043.76 220.032 1045.49 222.091 1045.49 226.208V236H1042.9V226.336C1042.9 224.907 1042.64 223.861 1042.13 223.2C1041.64 222.539 1040.84 222.208 1039.73 222.208C1038.43 222.208 1037.41 222.645 1036.66 223.52C1035.91 224.395 1035.54 225.589 1035.54 227.104V236H1032.95V226.336C1032.95 224.885 1032.69 223.84 1032.18 223.2C1031.67 222.539 1030.86 222.208 1029.75 222.208C1028.45 222.208 1027.42 222.645 1026.67 223.52C1025.93 224.395 1025.55 225.589 1025.55 227.104V236H1022.96V220.416H1025.52V222.88C1025.99 221.963 1026.64 221.259 1027.47 220.768C1028.31 220.277 1029.27 220.032 1030.35 220.032C1032.77 220.032 1034.35 221.056 1035.12 223.104C1035.57 222.144 1036.25 221.397 1037.17 220.864C1038.09 220.309 1039.13 220.032 1040.31 220.032ZM1056.55 220.032C1058.53 220.032 1060 220.544 1060.96 221.568C1061.95 222.571 1062.44 224.107 1062.44 226.176V236H1059.91V233.344C1059.5 234.261 1058.88 234.976 1058.05 235.488C1057.22 235.979 1056.26 236.224 1055.17 236.224C1054.17 236.224 1053.24 236.021 1052.39 235.616C1051.56 235.211 1050.9 234.645 1050.4 233.92C1049.91 233.195 1049.67 232.395 1049.67 231.52C1049.67 230.347 1049.97 229.44 1050.56 228.8C1051.16 228.139 1052.14 227.669 1053.51 227.392C1054.87 227.093 1056.77 226.944 1059.2 226.944H1059.91V225.888C1059.91 224.587 1059.64 223.648 1059.11 223.072C1058.58 222.475 1057.71 222.176 1056.52 222.176C1054.72 222.176 1052.94 222.731 1051.17 223.84L1050.31 221.952C1051.12 221.376 1052.09 220.917 1053.22 220.576C1054.37 220.213 1055.48 220.032 1056.55 220.032ZM1055.52 234.176C1056.8 234.176 1057.85 233.749 1058.66 232.896C1059.49 232.021 1059.91 230.901 1059.91 229.536V228.608H1059.33C1057.46 228.608 1056.03 228.693 1055.04 228.864C1054.06 229.013 1053.36 229.28 1052.93 229.664C1052.53 230.027 1052.32 230.571 1052.32 231.296C1052.32 232.128 1052.62 232.821 1053.22 233.376C1053.84 233.909 1054.61 234.176 1055.52 234.176ZM1076.01 222.272L1074.32 222.432C1072.72 222.581 1071.55 223.083 1070.83 223.936C1070.13 224.789 1069.77 225.845 1069.77 227.104V236H1067.18V220.416H1069.71V223.136C1070.58 221.323 1072.3 220.309 1074.86 220.096L1075.79 220.032L1076.01 222.272ZM1093.19 220.448L1083.98 241.76H1081.32L1083.94 235.808L1077.35 220.448H1080.1L1085.32 233.184L1090.6 220.448H1093.19ZM1117.3 224.416C1118.6 224.757 1119.61 225.397 1120.31 226.336C1121.04 227.275 1121.4 228.448 1121.4 229.856C1121.4 231.84 1120.75 233.365 1119.45 234.432C1118.15 235.477 1116.3 236 1113.91 236H1104.5V213.44H1113.56C1115.88 213.44 1117.69 213.952 1118.97 214.976C1120.25 216 1120.89 217.451 1120.89 219.328C1120.89 220.544 1120.57 221.589 1119.93 222.464C1119.31 223.339 1118.43 223.989 1117.3 224.416ZM1107.09 223.456H1113.17C1114.86 223.456 1116.13 223.115 1116.98 222.432C1117.86 221.749 1118.29 220.757 1118.29 219.456C1118.29 216.896 1116.59 215.616 1113.17 215.616H1107.09V223.456ZM1113.65 233.824C1115.43 233.824 1116.73 233.504 1117.56 232.864C1118.41 232.203 1118.84 231.179 1118.84 229.792C1118.84 227.019 1117.11 225.632 1113.65 225.632H1107.09V233.824H1113.65ZM1138.8 220.416V236H1136.27V233.344C1135.78 234.283 1135.09 234.997 1134.19 235.488C1133.32 235.979 1132.33 236.224 1131.22 236.224C1129.36 236.224 1127.96 235.712 1127.03 234.688C1126.09 233.643 1125.62 232.107 1125.62 230.08V220.416H1128.21V230.016C1128.21 231.403 1128.49 232.427 1129.04 233.088C1129.6 233.728 1130.47 234.048 1131.67 234.048C1133.03 234.048 1134.13 233.611 1134.96 232.736C1135.79 231.84 1136.21 230.667 1136.21 229.216V220.416H1138.8ZM1150.47 234.144C1150.94 234.144 1151.41 234.112 1151.87 234.048L1151.75 236.096C1151.26 236.181 1150.72 236.224 1150.15 236.224C1148.27 236.224 1146.85 235.733 1145.89 234.752C1144.95 233.771 1144.48 232.405 1144.48 230.656V222.464H1141.44V220.416H1144.48V215.68H1147.07V220.416H1151.49V222.464H1147.07V230.464C1147.07 232.917 1148.21 234.144 1150.47 234.144ZM1161.44 234.144C1161.9 234.144 1162.37 234.112 1162.84 234.048L1162.72 236.096C1162.22 236.181 1161.69 236.224 1161.12 236.224C1159.24 236.224 1157.82 235.733 1156.86 234.752C1155.92 233.771 1155.45 232.405 1155.45 230.656V222.464H1152.41V220.416H1155.45V215.68H1158.04V220.416H1162.46V222.464H1158.04V230.464C1158.04 232.917 1159.17 234.144 1161.44 234.144ZM1171.93 236.224C1170.45 236.224 1169.15 235.893 1168.02 235.232C1166.91 234.571 1166.05 233.632 1165.43 232.416C1164.83 231.179 1164.53 229.749 1164.53 228.128C1164.53 226.507 1164.83 225.088 1165.43 223.872C1166.05 222.635 1166.91 221.685 1168.02 221.024C1169.15 220.363 1170.45 220.032 1171.93 220.032C1173.4 220.032 1174.7 220.363 1175.83 221.024C1176.96 221.685 1177.83 222.635 1178.42 223.872C1179.04 225.088 1179.35 226.507 1179.35 228.128C1179.35 229.749 1179.04 231.179 1178.42 232.416C1177.83 233.632 1176.96 234.571 1175.83 235.232C1174.7 235.893 1173.4 236.224 1171.93 236.224ZM1171.93 234.08C1173.46 234.08 1174.64 233.579 1175.45 232.576C1176.28 231.552 1176.69 230.069 1176.69 228.128C1176.69 226.229 1176.28 224.768 1175.45 223.744C1174.61 222.699 1173.44 222.176 1171.93 222.176C1170.41 222.176 1169.24 222.699 1168.41 223.744C1167.57 224.768 1167.16 226.229 1167.16 228.128C1167.16 230.048 1167.56 231.52 1168.37 232.544C1169.21 233.568 1170.39 234.08 1171.93 234.08ZM1191.05 220.032C1194.79 220.032 1196.65 222.091 1196.65 226.208V236H1194.06V226.368C1194.06 224.917 1193.77 223.861 1193.2 223.2C1192.64 222.539 1191.75 222.208 1190.51 222.208C1189.08 222.208 1187.94 222.645 1187.08 223.52C1186.23 224.395 1185.8 225.579 1185.8 227.072V236H1183.21V220.416H1185.77V222.976C1186.28 222.016 1187 221.291 1187.92 220.8C1188.83 220.288 1189.88 220.032 1191.05 220.032Z" fill="#82FFFF"/>
|
|
28
|
+
<rect x="942" y="182" width="296" height="86" rx="43" stroke="#82FFFF" stroke-width="2"/>
|
|
29
|
+
<rect x="1071" y="-139" width="328" height="284" rx="23" stroke="#82FFFF" stroke-width="2"/>
|
|
30
|
+
<path d="M1295.49 237.385V237.385L1295.5 237.385C1296.25 237.381 1296.98 237.097 1297.53 236.588L1297.53 236.588L1297.54 236.579L1313.92 221.139L1313.93 221.129L1313.94 221.118C1314.5 220.556 1314.81 219.793 1314.81 218.998C1314.81 218.203 1314.5 217.441 1313.94 216.878L1313.94 216.877C1313.37 216.316 1312.61 216 1311.82 216C1311.03 216 1310.27 216.311 1309.71 216.866L1295.46 230.27L1289.48 224.719L1289.43 224.67L1289.37 224.629C1288.77 224.216 1288.05 224.034 1287.32 224.117C1286.6 224.2 1285.94 224.542 1285.45 225.08C1284.96 225.617 1284.68 226.314 1284.67 227.04C1284.65 227.766 1284.9 228.473 1285.37 229.029L1285.41 229.075L1285.45 229.116L1293.45 236.583L1293.45 236.583L1293.46 236.588C1294.01 237.097 1294.74 237.381 1295.49 237.385Z" fill="#82FFFF" stroke="#82FFFF" stroke-width="2"/>
|
|
31
|
+
<rect x="1267" y="193" width="64" height="64" rx="9" stroke="#82FFFF" stroke-width="2"/>
|
|
32
|
+
<path d="M711.675 655.993C709.99 654.005 707.893 652.409 705.531 651.315C703.168 650.221 700.596 649.656 697.994 649.658H690.398C693.984 636.185 693.936 627.345 690.398 622.664C689.353 621.364 687.995 620.352 686.451 619.724C684.908 619.095 683.23 618.871 681.576 619.071C679.166 619.135 676.865 620.095 675.122 621.764C673.378 623.432 672.316 625.691 672.141 628.101C669.735 640.496 663.899 651.964 655.299 661.193C653.578 657.451 650.628 654.413 646.941 652.587C643.255 650.76 639.055 650.256 635.043 651.157C631.03 652.059 627.447 654.312 624.892 657.541C622.337 660.77 620.964 664.779 621.002 668.899V695.846C620.97 698.227 621.413 700.59 622.303 702.797C623.193 705.005 624.514 707.012 626.187 708.702C627.861 710.393 629.854 711.732 632.049 712.641C634.245 713.551 636.6 714.013 638.976 714H639.212C642.739 713.989 646.184 712.933 649.114 710.964C652.044 708.996 654.327 706.203 655.676 702.937L658.365 704.545C662.993 707.293 668.272 708.746 673.651 708.752H694.267C698.532 708.772 702.665 707.263 705.918 704.498C709.171 701.732 711.33 697.892 712.005 693.671L715.732 670.79C716.188 668.177 716.061 665.494 715.359 662.936C714.658 660.377 713.4 658.006 711.675 655.993ZM649.968 695.846C649.968 698.709 648.836 701.456 646.82 703.485C644.805 705.514 642.069 706.66 639.212 706.672H638.976C636.114 706.66 633.374 705.515 631.35 703.488C629.327 701.46 628.185 698.714 628.172 695.846V668.899C628.172 666.003 629.321 663.225 631.364 661.177C633.408 659.129 636.18 657.979 639.07 657.979C641.96 657.979 644.732 659.129 646.776 661.177C648.82 663.225 649.968 666.003 649.968 668.899V695.846ZM708.75 669.419L705.023 692.253C704.627 694.821 703.322 697.16 701.347 698.844C699.373 700.528 696.859 701.444 694.267 701.425H673.651C669.547 701.433 665.519 700.322 661.998 698.21L657.28 695.279V668.805C661.196 666.205 673.462 654.339 679.265 629.425C679.287 629.22 679.287 629.014 679.265 628.81C679.264 628.454 679.336 628.102 679.474 627.775C679.613 627.447 679.816 627.151 680.071 626.904C680.327 626.657 680.629 626.464 680.961 626.336C681.292 626.209 681.646 626.15 682.001 626.163C683.982 626.163 684.595 626.777 684.831 627.061C685.681 628.196 688.134 633.254 682.661 651.597C682.374 652.132 682.231 652.734 682.247 653.342C682.263 653.95 682.436 654.543 682.751 655.063C683.065 655.584 683.509 656.013 684.04 656.309C684.57 656.604 685.168 656.756 685.775 656.75H698.135C699.714 656.75 701.274 657.094 702.707 657.757C704.14 658.421 705.412 659.389 706.435 660.594C707.458 661.799 708.207 663.212 708.631 664.736C709.055 666.26 709.144 667.858 708.891 669.419H708.75Z" fill="#82FFFF"/>
|
|
33
|
+
<circle cx="1034" cy="844" r="164.5" stroke="#82FFFF" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="10 10"/>
|
|
34
|
+
<path d="M1366.5 292L398.404 292H382.349C373.871 292 369.239 301.888 374.666 308.401L413.5 355.009V544C413.5 557.255 424.245 568 437.5 568H1366.5L1366.5 292Z" fill="#202C44"/>
|
|
35
|
+
<path d="M518.469 476.116C509.376 476.116 501.44 474.256 494.661 470.536C487.965 466.816 482.798 461.567 479.161 454.788C475.606 448.009 473.829 440.156 473.829 431.228C473.829 422.3 475.606 414.488 479.161 407.792C482.798 401.013 487.965 395.764 494.661 392.044C501.44 388.324 509.376 386.464 518.469 386.464C524.173 386.464 529.67 387.332 534.961 389.068C540.334 390.804 544.716 393.119 548.105 396.012L541.037 412.132C533.845 407.089 526.488 404.568 518.965 404.568C511.856 404.568 506.4 406.8 502.597 411.264C498.877 415.728 497.017 422.383 497.017 431.228C497.017 440.073 498.877 446.769 502.597 451.316C506.4 455.78 511.856 458.012 518.965 458.012C526.488 458.012 533.845 455.491 541.037 450.448L548.105 466.568C544.716 469.461 540.334 471.776 534.961 473.512C529.67 475.248 524.173 476.116 518.469 476.116ZM588.153 475.992C581.457 475.992 575.546 474.711 570.421 472.148C565.378 469.503 561.452 465.783 558.641 460.988C555.913 456.193 554.549 450.572 554.549 444.124C554.549 437.676 555.913 432.096 558.641 427.384C561.452 422.589 565.378 418.911 570.421 416.348C575.464 413.785 581.374 412.504 588.153 412.504C594.932 412.504 600.842 413.785 605.885 416.348C610.928 418.911 614.813 422.589 617.541 427.384C620.352 432.096 621.757 437.676 621.757 444.124C621.757 450.572 620.352 456.193 617.541 460.988C614.813 465.783 610.928 469.503 605.885 472.148C600.842 474.711 594.932 475.992 588.153 475.992ZM588.153 459.5C596.006 459.5 599.933 454.375 599.933 444.124C599.933 433.873 596.006 428.748 588.153 428.748C580.3 428.748 576.373 433.873 576.373 444.124C576.373 454.375 580.3 459.5 588.153 459.5ZM709.625 412.504C716.734 412.504 721.983 414.653 725.373 418.952C728.845 423.251 730.581 429.864 730.581 438.792V475H708.509V439.412C708.509 435.857 707.971 433.295 706.897 431.724C705.822 430.153 704.045 429.368 701.565 429.368C698.506 429.368 696.15 430.443 694.497 432.592C692.926 434.741 692.141 437.8 692.141 441.768V475H670.069V439.412C670.069 435.857 669.531 433.295 668.457 431.724C667.382 430.153 665.605 429.368 663.125 429.368C660.066 429.368 657.751 430.443 656.181 432.592C654.61 434.741 653.825 437.8 653.825 441.768V475H631.753V413.992H653.205V421.68C657.255 415.563 663.455 412.504 671.805 412.504C680.567 412.504 686.478 416.1 689.537 423.292C691.686 419.903 694.497 417.257 697.969 415.356C701.523 413.455 705.409 412.504 709.625 412.504ZM783.462 412.504C788.67 412.504 793.299 413.868 797.35 416.596C801.483 419.241 804.666 423.003 806.898 427.88C809.213 432.757 810.37 438.337 810.37 444.62C810.37 450.903 809.213 456.441 806.898 461.236C804.666 465.948 801.525 469.585 797.474 472.148C793.423 474.711 788.753 475.992 783.462 475.992C779.577 475.992 775.981 475.207 772.674 473.636C769.45 472.065 766.929 469.957 765.11 467.312V497.32H743.038V413.992H764.738V421.804C766.474 418.911 768.995 416.637 772.302 414.984C775.691 413.331 779.411 412.504 783.462 412.504ZM776.766 459.5C780.569 459.5 783.462 458.219 785.446 455.656C787.513 453.093 788.546 449.415 788.546 444.62C788.546 439.577 787.513 435.733 785.446 433.088C783.379 430.36 780.445 428.996 776.642 428.996C772.839 428.996 769.905 430.319 767.838 432.964C765.771 435.609 764.738 439.412 764.738 444.372C764.738 449.249 765.771 453.011 767.838 455.656C769.905 458.219 772.881 459.5 776.766 459.5ZM851.29 475.992C844.594 475.992 838.683 474.711 833.558 472.148C828.515 469.503 824.589 465.783 821.778 460.988C819.05 456.193 817.686 450.572 817.686 444.124C817.686 437.676 819.05 432.096 821.778 427.384C824.589 422.589 828.515 418.911 833.558 416.348C838.601 413.785 844.511 412.504 851.29 412.504C858.069 412.504 863.979 413.785 869.022 416.348C874.065 418.911 877.95 422.589 880.678 427.384C883.489 432.096 884.894 437.676 884.894 444.124C884.894 450.572 883.489 456.193 880.678 460.988C877.95 465.783 874.065 469.503 869.022 472.148C863.979 474.711 858.069 475.992 851.29 475.992ZM851.29 459.5C859.143 459.5 863.07 454.375 863.07 444.124C863.07 433.873 859.143 428.748 851.29 428.748C843.437 428.748 839.51 433.873 839.51 444.124C839.51 454.375 843.437 459.5 851.29 459.5ZM935.933 412.504C943.208 412.504 948.623 414.695 952.177 419.076C955.732 423.375 957.509 429.947 957.509 438.792V475H935.437V439.784C935.437 436.147 934.776 433.501 933.453 431.848C932.213 430.195 930.312 429.368 927.749 429.368C924.443 429.368 921.797 430.443 919.813 432.592C917.912 434.659 916.961 437.469 916.961 441.024V475H894.889V413.992H916.341V422.176C918.491 419.035 921.26 416.637 924.649 414.984C928.039 413.331 931.8 412.504 935.933 412.504ZM1026.26 448.712H988.568C989.229 452.68 990.676 455.532 992.908 457.268C995.14 459.004 998.322 459.872 1002.46 459.872C1005.43 459.872 1008.45 459.376 1011.51 458.384C1014.57 457.392 1017.29 456.028 1019.69 454.292L1025.27 468.8C1022.21 471.032 1018.53 472.809 1014.24 474.132C1009.94 475.372 1005.64 475.992 1001.34 475.992C994.313 475.992 988.237 474.711 983.112 472.148C977.986 469.585 974.018 465.907 971.208 461.112C968.48 456.317 967.116 450.696 967.116 444.248C967.116 438.131 968.397 432.675 970.96 427.88C973.605 423.003 977.242 419.241 981.872 416.596C986.584 413.868 991.874 412.504 997.744 412.504C1006.51 412.504 1013.45 415.315 1018.58 420.936C1023.7 426.475 1026.26 434.08 1026.26 443.752V448.712ZM998.364 427.384C992.494 427.384 989.146 431.021 988.32 438.296H1007.79C1007.29 431.021 1004.15 427.384 998.364 427.384ZM1077.37 412.504C1084.65 412.504 1090.06 414.695 1093.61 419.076C1097.17 423.375 1098.95 429.947 1098.95 438.792V475H1076.87V439.784C1076.87 436.147 1076.21 433.501 1074.89 431.848C1073.65 430.195 1071.75 429.368 1069.19 429.368C1065.88 429.368 1063.23 430.443 1061.25 432.592C1059.35 434.659 1058.4 437.469 1058.4 441.024V475H1036.33V413.992H1057.78V422.176C1059.93 419.035 1062.7 416.637 1066.09 414.984C1069.48 413.331 1073.24 412.504 1077.37 412.504ZM1147.86 460.12C1149.68 460.12 1151.71 459.996 1153.94 459.748L1152.82 475.496C1150.18 475.827 1147.61 475.992 1145.13 475.992C1135.21 475.992 1127.98 473.925 1123.43 469.792C1118.97 465.576 1116.74 459.087 1116.74 450.324V430.236H1105.33V413.992H1116.74V396.26H1138.81V413.992H1153.44V430.236H1138.81V450.448C1138.81 456.896 1141.83 460.12 1147.86 460.12ZM1186.21 475.992C1180.34 475.992 1174.93 475.372 1169.97 474.132C1165.01 472.892 1160.83 471.073 1157.44 468.676L1163.02 453.672C1166.33 455.821 1170.09 457.557 1174.31 458.88C1178.52 460.12 1182.57 460.74 1186.46 460.74C1188.86 460.74 1190.72 460.409 1192.04 459.748C1193.36 459.004 1194.02 458.012 1194.02 456.772C1194.02 455.697 1193.53 454.871 1192.53 454.292C1191.63 453.713 1189.72 453.093 1186.83 452.432L1177.03 450.2C1170.83 448.795 1166.37 446.728 1163.64 444C1160.91 441.272 1159.55 437.387 1159.55 432.344C1159.55 428.459 1160.71 425.028 1163.02 422.052C1165.34 418.993 1168.56 416.637 1172.69 414.984C1176.91 413.331 1181.66 412.504 1186.95 412.504C1191.34 412.504 1195.68 413.165 1199.97 414.488C1204.36 415.728 1208.32 417.505 1211.88 419.82L1206.17 434.204C1202.87 432.137 1199.52 430.567 1196.13 429.492C1192.82 428.335 1189.68 427.756 1186.71 427.756C1184.31 427.756 1182.45 428.128 1181.13 428.872C1179.8 429.616 1179.14 430.691 1179.14 432.096C1179.14 432.923 1179.56 433.625 1180.38 434.204C1181.21 434.7 1182.66 435.196 1184.72 435.692L1195.01 438.048C1201.46 439.453 1206.13 441.644 1209.03 444.62C1211.92 447.513 1213.37 451.481 1213.37 456.524C1213.37 462.559 1210.93 467.312 1206.05 470.784C1201.26 474.256 1194.64 475.992 1186.21 475.992Z" fill="white"/>
|
|
36
|
+
<path d="M1216.53 336.427C1216.26 335.18 1217.21 334 1218.48 334H1230.52C1231.79 334 1232.74 335.18 1232.47 336.427L1226.32 364.535C1226.13 365.39 1225.38 366 1224.5 366C1223.62 366 1222.87 365.39 1222.68 364.535L1216.53 336.427Z" fill="#00C6D7"/>
|
|
37
|
+
<path d="M1256.29 345.092C1256.98 344.017 1258.48 343.854 1259.38 344.757L1267.89 353.264C1268.79 354.167 1268.63 355.673 1267.56 356.362L1243.33 371.889C1242.6 372.362 1241.63 372.257 1241.01 371.638C1240.39 371.019 1240.29 370.052 1240.76 369.314L1256.29 345.092Z" fill="#00C6D7"/>
|
|
38
|
+
<path d="M1276.57 380.531C1277.82 380.258 1279 381.208 1279 382.485L1279 394.515C1279 395.792 1277.82 396.742 1276.57 396.469L1248.47 390.321C1247.61 390.133 1247 389.376 1247 388.5C1247 387.624 1247.61 386.867 1248.47 386.679L1276.57 380.531Z" fill="#00C6D7"/>
|
|
39
|
+
</g>
|
|
40
|
+
<defs>
|
|
41
|
+
<radialGradient id="paint0_radial_2444_183924" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(387 64) rotate(90) scale(827)">
|
|
42
|
+
<stop stop-color="white" stop-opacity="0.8"/>
|
|
43
|
+
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
|
44
|
+
</radialGradient>
|
|
45
|
+
<clipPath id="clip0_2444_183924">
|
|
46
|
+
<rect width="1366" height="768" fill="white"/>
|
|
47
|
+
</clipPath>
|
|
48
|
+
</defs>
|
|
49
|
+
</svg>
|
|
@@ -65,7 +65,6 @@
|
|
|
65
65
|
}
|
|
66
66
|
.upload__edit--label .text-box .text {
|
|
67
67
|
width: 100%;
|
|
68
|
-
height: 24px;
|
|
69
68
|
flex-wrap: wrap;
|
|
70
69
|
}
|
|
71
70
|
.upload__edit--label .text-box--hover {
|
|
@@ -73,7 +72,7 @@
|
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
.upload__edit--label:hover {
|
|
76
|
-
border: 2px solid #
|
|
75
|
+
border: 2px solid #3f7de8;
|
|
77
76
|
box-sizing: border-box;
|
|
78
77
|
padding: 22px 16px;
|
|
79
78
|
cursor: pointer;
|
|
@@ -96,6 +95,8 @@
|
|
|
96
95
|
.list-preview {
|
|
97
96
|
border-top: 1px solid #b9cbd3;
|
|
98
97
|
border-bottom: 1px solid #b9cbd3;
|
|
98
|
+
max-height: 200px;
|
|
99
|
+
overflow-y: auto;
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
.upload__preview {
|
|
@@ -111,14 +112,21 @@
|
|
|
111
112
|
justify-content: center;
|
|
112
113
|
flex-direction: row;
|
|
113
114
|
flex-wrap: nowrap;
|
|
114
|
-
gap:
|
|
115
|
+
gap: 8px;
|
|
115
116
|
}
|
|
116
|
-
.upload__preview .preview
|
|
117
|
+
.upload__preview .preview-text {
|
|
118
|
+
font-family: "Nunito Sans";
|
|
119
|
+
font-size: 0.875rem;
|
|
120
|
+
font-weight: 700;
|
|
121
|
+
margin: 0;
|
|
117
122
|
text-overflow: ellipsis;
|
|
118
123
|
white-space: nowrap;
|
|
119
124
|
overflow: hidden;
|
|
120
125
|
width: 100%;
|
|
121
126
|
}
|
|
127
|
+
.upload__preview .preview-icon:hover {
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
}
|
|
122
130
|
|
|
123
131
|
.preview-length {
|
|
124
132
|
display: flex;
|
|
@@ -28,7 +28,7 @@ export class BdsUpload {
|
|
|
28
28
|
this.files = [files[0]];
|
|
29
29
|
}
|
|
30
30
|
else {
|
|
31
|
-
this.files = [...files];
|
|
31
|
+
this.files = [...this.files, ...files];
|
|
32
32
|
}
|
|
33
33
|
this.bdsUploadChange.emit();
|
|
34
34
|
};
|
|
@@ -66,7 +66,12 @@ export class BdsUpload {
|
|
|
66
66
|
*/
|
|
67
67
|
onUploadClick(files) {
|
|
68
68
|
if (files.length > 0) {
|
|
69
|
-
this.
|
|
69
|
+
if (!this.multiple) {
|
|
70
|
+
this.files = [files[0]];
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.files = [...this.files, ...files];
|
|
74
|
+
}
|
|
70
75
|
this.haveFiles = true;
|
|
71
76
|
this.getSize();
|
|
72
77
|
}
|
|
@@ -110,15 +115,12 @@ export class BdsUpload {
|
|
|
110
115
|
h("div", { class: "list-preview" }, this.files.map((names, index) => (h("div", { class: "upload__preview", key: index, id: "drop-area" },
|
|
111
116
|
h("div", { class: "preview", id: "preview" },
|
|
112
117
|
h("bds-icon", { size: "x-small", name: "attach" }),
|
|
113
|
-
h("
|
|
114
|
-
h("bds-icon", {
|
|
115
|
-
this.multiple ? (h("bds-typo", { variant: "fs-14", italic: true, class: "preview-length" },
|
|
116
|
-
this.files.length,
|
|
117
|
-
" ",
|
|
118
|
-
termTranslate(this.language, 'uploaded'))) : (''))) : (''),
|
|
118
|
+
h("p", { class: "preview-text", id: "preview-text" }, names.name),
|
|
119
|
+
h("bds-button-icon", { class: "preview-icon", size: "short", icon: "trash", variant: "secondary", onClick: () => this.deleteFile(index) })))))),
|
|
120
|
+
this.multiple ? (h("bds-typo", { variant: "fs-14", italic: true, class: "preview-length" }, this.files.length > 1 ? `${this.files.length} ${termTranslate(this.language, 'uploaded')}` : '')) : (''))) : (''),
|
|
119
121
|
h("div", { class: { upload__edit: true } },
|
|
120
122
|
h("label", { class: { 'upload__edit--label': true, 'upload__edit--hover': this.hover }, id: "file-label", htmlFor: "file" },
|
|
121
|
-
h("div", { class: { 'text-box': true, 'text-box--hover': this.hover }, id: "file-text_box" }, this.hover ? (h("bds-typo", { class: "text", variant: "fs-14", bold: "
|
|
123
|
+
h("div", { class: { 'text-box': true, 'text-box--hover': this.hover }, id: "file-text_box" }, this.hover ? (h("bds-typo", { class: "text", variant: "fs-14", bold: "regular" }, termTranslate(this.language, 'dropHere'))) : (h("bds-typo", { class: "text", variant: "fs-14", bold: "regular" }, termTranslate(this.language, 'dropOrClick')))),
|
|
122
124
|
h("img", { class: { 'upload__img--invisible': true, 'upload__img--visible': this.hover }, src: background })),
|
|
123
125
|
h("input", { type: "file", name: "files[]", id: "file", class: "upload__input", multiple: this.multiple, accept: this.accept, onChange: ($event) => this.onUploadClick($event.target.files) }))));
|
|
124
126
|
}
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, e as createEvent, h, g as getElement } from './i
|
|
|
2
2
|
|
|
3
3
|
const ptTerms = [
|
|
4
4
|
{
|
|
5
|
-
uploaded: '
|
|
5
|
+
uploaded: 'Arquivos enviados',
|
|
6
6
|
dropHere: 'Solte aqui para anexar o arquivo',
|
|
7
7
|
dropOrClick: 'Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo',
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@ const ptTerms = [
|
|
|
10
10
|
|
|
11
11
|
const esTerms = [
|
|
12
12
|
{
|
|
13
|
-
uploaded: '
|
|
13
|
+
uploaded: 'Archivos subidos',
|
|
14
14
|
dropHere: 'Soltar aquí para adjuntar archivo',
|
|
15
15
|
dropOrClick: 'Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo',
|
|
16
16
|
},
|
|
@@ -18,7 +18,7 @@ const esTerms = [
|
|
|
18
18
|
|
|
19
19
|
const enTerms = [
|
|
20
20
|
{
|
|
21
|
-
uploaded: '
|
|
21
|
+
uploaded: 'Files uploaded',
|
|
22
22
|
dropHere: 'Drop here to attach file',
|
|
23
23
|
dropOrClick: 'Drag and drop your files here or click to upload file',
|
|
24
24
|
},
|
|
@@ -44,7 +44,7 @@ const termTranslate = (lang, string) => {
|
|
|
44
44
|
|
|
45
45
|
const patternSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=';
|
|
46
46
|
|
|
47
|
-
const bdsUploadCss = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap\"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100
|
|
47
|
+
const bdsUploadCss = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap\"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #3f7de8;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3;max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:\"Nunito Sans\";font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}";
|
|
48
48
|
|
|
49
49
|
const BdsUpload = class {
|
|
50
50
|
constructor(hostRef) {
|
|
@@ -76,7 +76,7 @@ const BdsUpload = class {
|
|
|
76
76
|
this.files = [files[0]];
|
|
77
77
|
}
|
|
78
78
|
else {
|
|
79
|
-
this.files = [...files];
|
|
79
|
+
this.files = [...this.files, ...files];
|
|
80
80
|
}
|
|
81
81
|
this.bdsUploadChange.emit();
|
|
82
82
|
};
|
|
@@ -114,7 +114,12 @@ const BdsUpload = class {
|
|
|
114
114
|
*/
|
|
115
115
|
onUploadClick(files) {
|
|
116
116
|
if (files.length > 0) {
|
|
117
|
-
this.
|
|
117
|
+
if (!this.multiple) {
|
|
118
|
+
this.files = [files[0]];
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
this.files = [...this.files, ...files];
|
|
122
|
+
}
|
|
118
123
|
this.haveFiles = true;
|
|
119
124
|
this.getSize();
|
|
120
125
|
}
|
|
@@ -147,7 +152,7 @@ const BdsUpload = class {
|
|
|
147
152
|
this.bdsUploadDelete.emit();
|
|
148
153
|
}
|
|
149
154
|
render() {
|
|
150
|
-
return (h("div", { class: "upload" }, h("div", { class: "upload-header" }, h("bds-icon", { size: "xxx-large", name: "upload" }), h("div", { class: "upload-header_text" }, h("bds-typo", { variant: "fs-16", bold: "bold" }, this.titleName), h("bds-typo", { variant: "fs-14", bold: "regular" }, this.subtitle))), this.error ? (h("bds-banner", { context: "inside", variant: "error" }, this.error)) : (''), this.haveFiles ? (h("div", null, h("div", { class: "list-preview" }, this.files.map((names, index) => (h("div", { class: "upload__preview", key: index, id: "drop-area" }, h("div", { class: "preview", id: "preview" }, h("bds-icon", { size: "x-small", name: "attach" }), h("
|
|
155
|
+
return (h("div", { class: "upload" }, h("div", { class: "upload-header" }, h("bds-icon", { size: "xxx-large", name: "upload" }), h("div", { class: "upload-header_text" }, h("bds-typo", { variant: "fs-16", bold: "bold" }, this.titleName), h("bds-typo", { variant: "fs-14", bold: "regular" }, this.subtitle))), this.error ? (h("bds-banner", { context: "inside", variant: "error" }, this.error)) : (''), this.haveFiles ? (h("div", null, h("div", { class: "list-preview" }, this.files.map((names, index) => (h("div", { class: "upload__preview", key: index, id: "drop-area" }, h("div", { class: "preview", id: "preview" }, h("bds-icon", { size: "x-small", name: "attach" }), h("p", { class: "preview-text", id: "preview-text" }, names.name), h("bds-button-icon", { class: "preview-icon", size: "short", icon: "trash", variant: "secondary", onClick: () => this.deleteFile(index) })))))), this.multiple ? (h("bds-typo", { variant: "fs-14", italic: true, class: "preview-length" }, this.files.length > 1 ? `${this.files.length} ${termTranslate(this.language, 'uploaded')}` : '')) : (''))) : (''), h("div", { class: { upload__edit: true } }, h("label", { class: { 'upload__edit--label': true, 'upload__edit--hover': this.hover }, id: "file-label", htmlFor: "file" }, h("div", { class: { 'text-box': true, 'text-box--hover': this.hover }, id: "file-text_box" }, this.hover ? (h("bds-typo", { class: "text", variant: "fs-14", bold: "regular" }, termTranslate(this.language, 'dropHere'))) : (h("bds-typo", { class: "text", variant: "fs-14", bold: "regular" }, termTranslate(this.language, 'dropOrClick')))), h("img", { class: { 'upload__img--invisible': true, 'upload__img--visible': this.hover }, src: patternSvg })), h("input", { type: "file", name: "files[]", id: "file", class: "upload__input", multiple: this.multiple, accept: this.accept, onChange: ($event) => this.onUploadClick($event.target.files) }))));
|
|
151
156
|
}
|
|
152
157
|
get dropArea() { return getElement(this); }
|
|
153
158
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,i,t){if(t||arguments.length===2)for(var a=0,r=i.length,o;a<r;a++){if(o||!(a in i)){if(!o)o=Array.prototype.slice.call(i,0,a);o[a]=i[a]}}return e.concat(o||Array.prototype.slice.call(i))};import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-00ad30ef.js";var ptTerms=[{uploaded:"
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,i,t){if(t||arguments.length===2)for(var a=0,r=i.length,o;a<r;a++){if(o||!(a in i)){if(!o)o=Array.prototype.slice.call(i,0,a);o[a]=i[a]}}return e.concat(o||Array.prototype.slice.call(i))};import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-00ad30ef.js";var ptTerms=[{uploaded:"Arquivos enviados",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo"}];var esTerms=[{uploaded:"Archivos subidos",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo"}];var enTerms=[{uploaded:"Files uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file"}];var termTranslate=function(e,i){var t;switch(e){case"pt_BR":t=ptTerms.map((function(e){return e[i]}));break;case"es_ES":t=esTerms.map((function(e){return e[i]}));break;case"en_US":t=enTerms.map((function(e){return e[i]}));break;default:t=ptTerms.map((function(e){return e[i]}))}return t};var patternSvg="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=";var bdsUploadCss='@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #3f7de8;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3;max-height:200px;overflow-y:auto}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:8px}.upload__preview .preview-text{font-family:"Nunito Sans";font-size:0.875rem;font-weight:700;margin:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.upload__preview .preview-icon:hover{cursor:pointer}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';var BdsUpload=function(){function e(e){var i=this;registerInstance(this,e);this.bdsUploadDelete=createEvent(this,"bdsUploadDelete",7);this.bdsUploadChange=createEvent(this,"bdsUploadChange",7);this.files=[];this.haveFiles=false;this.hover=false;this.size=[];this.language="pt_BR";this.handleDrop=function(e){i.haveFiles=true;var t=e.dataTransfer;var a=t.files;i.handleFiles(a)};this.handleFiles=function(e){if(!i.multiple){i.files=[e[0]]}else{i.files=__spreadArray(__spreadArray([],i.files,true),e,true)}i.bdsUploadChange.emit()}}e.prototype.componentDidLoad=function(){var e=this;["dragenter","dragover","dragleave","drop"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,e.preventDefaults,false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(true)}),false)}));["dragenter","dragover"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(true)}),false)}));["dragleave","drop"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(false)}),false)}));this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,false)};e.prototype.preventDefaults=function(e){e.preventDefault();e.stopPropagation()};e.prototype.hoverFile=function(e){this.hover=e};e.prototype.onUploadClick=function(e){if(e.length>0){if(!this.multiple){this.files=[e[0]]}else{this.files=__spreadArray(__spreadArray([],this.files,true),e,true)}this.haveFiles=true;this.getSize()}else{return false}this.bdsUploadChange.emit()};e.prototype.getSize=function(){var e=this;this.files.map((function(i){var t=i.size;e.size.push(t)}))};e.prototype.deleteFile=function(e){this.files.splice(e,1);this.files=__spreadArray([],this.files,true);if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadDelete.emit()};e.prototype.render=function(){var e=this;return h("div",{class:"upload"},h("div",{class:"upload-header"},h("bds-icon",{size:"xxx-large",name:"upload"}),h("div",{class:"upload-header_text"},h("bds-typo",{variant:"fs-16",bold:"bold"},this.titleName),h("bds-typo",{variant:"fs-14",bold:"regular"},this.subtitle))),this.error?h("bds-banner",{context:"inside",variant:"error"},this.error):"",this.haveFiles?h("div",null,h("div",{class:"list-preview"},this.files.map((function(i,t){return h("div",{class:"upload__preview",key:t,id:"drop-area"},h("div",{class:"preview",id:"preview"},h("bds-icon",{size:"x-small",name:"attach"}),h("p",{class:"preview-text",id:"preview-text"},i.name),h("bds-button-icon",{class:"preview-icon",size:"short",icon:"trash",variant:"secondary",onClick:function(){return e.deleteFile(t)}})))}))),this.multiple?h("bds-typo",{variant:"fs-14",italic:true,class:"preview-length"},this.files.length>1?"".concat(this.files.length," ").concat(termTranslate(this.language,"uploaded")):""):""):"",h("div",{class:{upload__edit:true}},h("label",{class:{"upload__edit--label":true,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file"},h("div",{class:{"text-box":true,"text-box--hover":this.hover},id:"file-text_box"},this.hover?h("bds-typo",{class:"text",variant:"fs-14",bold:"regular"},termTranslate(this.language,"dropHere")):h("bds-typo",{class:"text",variant:"fs-14",bold:"regular"},termTranslate(this.language,"dropOrClick"))),h("img",{class:{"upload__img--invisible":true,"upload__img--visible":this.hover},src:patternSvg})),h("input",{type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.accept,onChange:function(i){return e.onUploadClick(i.target.files)}})))};Object.defineProperty(e.prototype,"dropArea",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();BdsUpload.style=bdsUploadCss;export{BdsUpload as bds_upload};
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -4,291 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
This project was born based on the need to create a Design System to be used within Take. The components are written in Web Components using the StencilJS library created by the Ionic team.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Components. Guides. Brands. It's all here, no riddles. The Blip-DS is all yours. [Blip-DS](https://design.take.net/240287753/p/9953dc-take-blip-ds-elementar).
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Stencil is a compiler for building fast web apps using Web Components.
|
|
12
|
-
|
|
13
|
-
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
|
|
14
|
-
|
|
15
|
-
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
|
|
9
|
+
.
|
|
16
10
|
|
|
17
11
|
## Installation
|
|
18
12
|
|
|
19
|
-
Blip-DS is available
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
npm i blip-ds
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Style Tokens
|
|
26
|
-
|
|
27
|
-
Some SCSS Tokens have been defined within the Design System. Currently we have: colors, fonts and zindex.
|
|
28
|
-
|
|
29
|
-
To make these scss files available, the outputTargets.copy property was configured inside stencil.config.ts, in which after build it is exported to the dist / collection / styles destination.
|
|
30
|
-
|
|
31
|
-
#### How to use
|
|
32
|
-
|
|
33
|
-
```css
|
|
34
|
-
@import "~blip-ds/dist/collection/styles/_colors.scss";
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Style Guide
|
|
38
|
-
|
|
39
|
-
It is recommended that you use the Style Guide defined by the Stenciljs team.
|
|
40
|
-
[https://stenciljs.com/docs/style-guide](https://stenciljs.com/docs/style-guide)
|
|
41
|
-
|
|
42
|
-
## Framework Integrations
|
|
43
|
-
|
|
44
|
-
There is not much secret, if you need something more detailed I recommend reading the [documentação do StencilJS](https://stenciljs.com/docs/overview).
|
|
45
|
-
|
|
46
|
-
#### AngularJs (1.5.x)
|
|
47
|
-
The current version of AngularJS we use is ** 1.5.8 **, so we don't have native Framerwork support for using Custom Events, despite on the latest version of AngularJs is available with native support with the [ngOn](https://docs.angularjs.org/api/ng/directive/ngOn) directive.
|
|
48
|
-
|
|
49
|
-
To solve this problem we created the custom-events directive! How does it work?
|
|
50
|
-
|
|
51
|
-
The directive expects an array of the object ```[{event: string, cb: function}]``` to add the event to the element, which the directive is being used.
|
|
52
|
-
|
|
53
|
-
**Exemple**
|
|
54
|
-
|
|
55
|
-
File: app.js (or your entry point file)
|
|
56
|
-
```js
|
|
57
|
-
import { applyPolyfills, defineCustomElements } from 'blip-ds/loader';
|
|
58
|
-
|
|
59
|
-
// applying blip-ds custom elements
|
|
60
|
-
applyPolyfills().then(() => {
|
|
61
|
-
defineCustomElements(window);
|
|
62
|
-
});
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Using components
|
|
66
|
-
```html
|
|
67
|
-
<bds-input
|
|
68
|
-
value="{{ $ctrl.typedTenantName }}"
|
|
69
|
-
custom-events="[{ event:'bdsChange', cb: $ctrl.onInputChangeCustom }]">
|
|
70
|
-
</bds-input>
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
#### Angular (> 2.x)
|
|
74
|
-
|
|
75
|
-
File: main.ts
|
|
76
|
-
```typescript
|
|
77
|
-
import { enableProdMode } from '@angular/core';
|
|
78
|
-
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
79
|
-
|
|
80
|
-
// Note: loader import location set using "esmLoaderPath" within the output target confg
|
|
81
|
-
import { applyPolyfills, defineCustomElements } from 'blip-ds/loader';
|
|
82
|
-
|
|
83
|
-
import { AppModule } from './app/app.module';
|
|
84
|
-
import { environment } from './environments/environment';
|
|
85
|
-
|
|
86
|
-
if (environment.production) {
|
|
87
|
-
enableProdMode();
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
platformBrowserDynamic().bootstrapModule(AppModule)
|
|
91
|
-
.catch(err => console.error(err));
|
|
92
|
-
applyPolyfills().then(() => {
|
|
93
|
-
defineCustomElements(window)
|
|
94
|
-
})
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
File: app.module.ts
|
|
99
|
-
```typescript
|
|
100
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
101
|
-
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
|
102
|
-
|
|
103
|
-
import { AppComponent } from './app.component';
|
|
104
|
-
|
|
105
|
-
@NgModule({
|
|
106
|
-
declarations: [
|
|
107
|
-
AppComponent
|
|
108
|
-
],
|
|
109
|
-
imports: [
|
|
110
|
-
BrowserModule
|
|
111
|
-
],
|
|
112
|
-
providers: [],
|
|
113
|
-
bootstrap: [AppComponent],
|
|
114
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
115
|
-
})
|
|
116
|
-
export class AppModule { }
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
**Examples**
|
|
120
|
-
|
|
121
|
-
File: app.component.html
|
|
122
|
-
```html
|
|
123
|
-
<div>
|
|
124
|
-
<div class="container-count">
|
|
125
|
-
<bds-typo variant="fs-16">{{ count }}</bds-typo>
|
|
126
|
-
<bds-button (click)="addCount()">+</bds-button>
|
|
127
|
-
<bds-button (click)="subCount()">-</bds-button>
|
|
128
|
-
<bds-input value={{count}} (bdsChange)="onChange($event)"></bds-input>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
File: app.component.ts
|
|
134
|
-
```typescript
|
|
135
|
-
import { Component } from '@angular/core';
|
|
136
|
-
|
|
137
|
-
@Component({
|
|
138
|
-
selector: 'app-root',
|
|
139
|
-
templateUrl: './app.component.html',
|
|
140
|
-
styleUrls: ['./app.component.css']
|
|
141
|
-
})
|
|
142
|
-
export class AppComponent {
|
|
143
|
-
count = 0;
|
|
144
|
-
|
|
145
|
-
addCount() {
|
|
146
|
-
this.count++;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
subCount() {
|
|
150
|
-
this.count--;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
onChange(event) {
|
|
154
|
-
this.count = event.target.value;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
#### React
|
|
161
|
-
|
|
162
|
-
```jsx
|
|
163
|
-
import React from 'react';
|
|
164
|
-
import ReactDOM from 'react-dom';
|
|
165
|
-
import './index.css';
|
|
166
|
-
import App from './App';
|
|
167
|
-
|
|
168
|
-
import { applyPolyfills, defineCustomElements } from 'blip-ds/loader';
|
|
169
|
-
|
|
170
|
-
ReactDOM.render(<App />, document.getElementById('root'));
|
|
171
|
-
|
|
172
|
-
applyPolyfills().then(() => {
|
|
173
|
-
defineCustomElements(window);
|
|
174
|
-
});
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
**Examples**
|
|
178
|
-
|
|
179
|
-
To use blip-ds components on React, you just need to import component from 'blip-ds/dist/blip-ds-react'.
|
|
180
|
-
|
|
181
|
-
```jsx
|
|
182
|
-
|
|
183
|
-
import { BdsButton } from 'blip-ds/dist/blip-ds-react';
|
|
184
|
-
|
|
185
|
-
const Example = () => {
|
|
186
|
-
return <BdsButton>Button</BdsButton>
|
|
187
|
-
}
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
#### Vue
|
|
191
|
-
|
|
192
|
-
```javascript
|
|
193
|
-
import Vue from 'vue'
|
|
194
|
-
import { applyPolyfills, defineCustomElements } from 'blip-ds/loader';
|
|
195
|
-
|
|
196
|
-
import App from './App.vue'
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
Vue.config.productionTip = false
|
|
200
|
-
|
|
201
|
-
Vue.config.ignoredElements = [/bds-\w*/];
|
|
202
|
-
|
|
203
|
-
applyPolyfills().then(() => {
|
|
204
|
-
defineCustomElements(window);
|
|
205
|
-
});
|
|
206
|
-
|
|
207
|
-
new Vue({
|
|
208
|
-
render: h => h(App),
|
|
209
|
-
}).$mount('#app')
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
The components should then be available in any of the Vue components
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
**Examples**
|
|
216
|
-
|
|
217
|
-
```vue
|
|
218
|
-
<template>
|
|
219
|
-
<div id="app">
|
|
220
|
-
{{ count }}
|
|
221
|
-
<bds-button v-on:click="count++">+</bds-button>
|
|
222
|
-
<bds-button v-on:click="count--">-</bds-button>
|
|
223
|
-
<bds-input v-bind:value="count" v-on:bdsChange="change"></bds-input>
|
|
224
|
-
</div>
|
|
225
|
-
</template>
|
|
226
|
-
|
|
227
|
-
<script>
|
|
228
|
-
export default {
|
|
229
|
-
name: "app",
|
|
230
|
-
components: {},
|
|
231
|
-
data: function() {
|
|
232
|
-
return {
|
|
233
|
-
count: 0
|
|
234
|
-
};
|
|
235
|
-
},
|
|
236
|
-
methods: {
|
|
237
|
-
change(event) {
|
|
238
|
-
this.count = event.target.value;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
</script>
|
|
243
|
-
|
|
244
|
-
<style>
|
|
245
|
-
#app {
|
|
246
|
-
display: flex;
|
|
247
|
-
justify-content: space-around;
|
|
248
|
-
align-items: center;
|
|
249
|
-
}
|
|
250
|
-
</style>
|
|
251
|
-
|
|
252
|
-
}
|
|
253
|
-
```
|
|
254
|
-
|
|
255
|
-
## Building
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
#### Getting Started
|
|
259
|
-
|
|
260
|
-
To start building a new web component:
|
|
261
|
-
|
|
262
|
-
Run:
|
|
263
|
-
|
|
264
|
-
```bash
|
|
265
|
-
npm install
|
|
266
|
-
npm start
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
Run with Storybook
|
|
270
|
-
|
|
271
|
-
```bash
|
|
272
|
-
npm story
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
To build the component for production, run:
|
|
276
|
-
|
|
277
|
-
```bash
|
|
278
|
-
npm run build
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
To run the unit tests for the components, run:
|
|
282
|
-
|
|
283
|
-
```bash
|
|
284
|
-
npm test
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
Create component:
|
|
13
|
+
Blip-DS installation is available in [Blip-DS](https://design.take.net/240287753/p/216ef2-instalao/b/8176c4).
|
|
288
14
|
|
|
289
|
-
```bash
|
|
290
|
-
npm run generate
|
|
291
|
-
```
|
|
292
15
|
|
|
293
16
|
## License
|
|
294
17
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as e,h as t,g as a}from"./p-153dcf8b.js";const l=[{uploaded:"Arquivo enviado",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo"}],o=[{uploaded:"Archivo subido",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo"}],s=[{uploaded:"File uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file"}],d=(i,e)=>{let t;switch(i){case"pt_BR":t=l.map((i=>i[e]));break;case"es_ES":t=o.map((i=>i[e]));break;case"en_US":t=s.map((i=>i[e]));break;default:t=l.map((i=>i[e]))}return t},r=class{constructor(t){i(this,t),this.bdsUploadDelete=e(this,"bdsUploadDelete",7),this.bdsUploadChange=e(this,"bdsUploadChange",7),this.files=[],this.haveFiles=!1,this.hover=!1,this.size=[],this.language="pt_BR",this.handleDrop=i=>{this.haveFiles=!0,this.handleFiles(i.dataTransfer.files)},this.handleFiles=i=>{this.files=this.multiple?[...i]:[i[0]],this.bdsUploadChange.emit()}}componentDidLoad(){["dragenter","dragover","dragleave","drop"].forEach((i=>{this.dropArea.shadowRoot.addEventListener(i,this.preventDefaults,!1),this.dropArea.shadowRoot.addEventListener(i,(()=>this.hoverFile(!0)),!1)})),["dragenter","dragover"].forEach((i=>{this.dropArea.shadowRoot.addEventListener(i,(()=>this.preventDefaults),!1),this.dropArea.shadowRoot.addEventListener(i,(()=>this.hoverFile(!0)),!1)})),["dragleave","drop"].forEach((i=>{this.dropArea.shadowRoot.addEventListener(i,(()=>this.preventDefaults),!1),this.dropArea.shadowRoot.addEventListener(i,(()=>this.hoverFile(!1)),!1)})),this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,!1)}preventDefaults(i){i.preventDefault(),i.stopPropagation()}hoverFile(i){this.hover=i}onUploadClick(i){if(!(i.length>0))return!1;this.files=[...i],this.haveFiles=!0,this.getSize(),this.bdsUploadChange.emit()}getSize(){this.files.map((i=>{this.size.push(i.size)}))}deleteFile(i){this.files.splice(i,1),this.files=[...this.files],this.haveFiles=0!==this.files.length,this.bdsUploadDelete.emit()}render(){return t("div",{class:"upload"},t("div",{class:"upload-header"},t("bds-icon",{size:"xxx-large",name:"upload"}),t("div",{class:"upload-header_text"},t("bds-typo",{variant:"fs-16",bold:"bold"},this.titleName),t("bds-typo",{variant:"fs-14",bold:"regular"},this.subtitle))),this.error?t("bds-banner",{context:"inside",variant:"error"},this.error):"",this.haveFiles?t("div",null,t("div",{class:"list-preview"},this.files.map(((i,e)=>t("div",{class:"upload__preview",key:e,id:"drop-area"},t("div",{class:"preview",id:"preview"},t("bds-icon",{size:"x-small",name:"attach"}),t("bds-typo",{variant:"fs-14",bold:"bold",class:"preview-text",id:"preview-text"},i.name),t("bds-icon",{size:"x-small",name:"trash",onClick:()=>this.deleteFile(e)})))))),this.multiple?t("bds-typo",{variant:"fs-14",italic:!0,class:"preview-length"},this.files.length," ",d(this.language,"uploaded")):""):"",t("div",{class:{upload__edit:!0}},t("label",{class:{"upload__edit--label":!0,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file"},t("div",{class:{"text-box":!0,"text-box--hover":this.hover},id:"file-text_box"},t("bds-typo",{class:"text",variant:"fs-14",bold:"bold"},d(this.language,this.hover?"dropHere":"dropOrClick"))),t("img",{class:{"upload__img--invisible":!0,"upload__img--visible":this.hover},src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="})),t("input",{type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.accept,onChange:i=>this.onUploadClick(i.target.files)})))}get dropArea(){return a(this)}};r.style='@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;height:24px;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #125ad5;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:16px}.upload__preview .preview .preview-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';export{r as bds_upload}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,i,t){if(t||arguments.length===2)for(var a=0,r=i.length,o;a<r;a++){if(o||!(a in i)){if(!o)o=Array.prototype.slice.call(i,0,a);o[a]=i[a]}}return e.concat(o||Array.prototype.slice.call(i))};System.register(["./p-0a46d49e.system.js"],(function(e){"use strict";var i,t,a,r;return{setters:[function(e){i=e.r;t=e.c;a=e.h;r=e.g}],execute:function(){var o=[{uploaded:"Arquivo enviado",dropHere:"Solte aqui para anexar o arquivo",dropOrClick:"Arraste e solte seus arquivos aqui ou clique para fazer upload do arquivo"}];var l=[{uploaded:"Archivo subido",dropHere:"Soltar aquí para adjuntar archivo",dropOrClick:"Arrastre y suelte sus archivos aquí o haga clic para cargar el archivo"}];var s=[{uploaded:"File uploaded",dropHere:"Drop here to attach file",dropOrClick:"Drag and drop your files here or click to upload file"}];var d=function(e,i){var t;switch(e){case"pt_BR":t=o.map((function(e){return e[i]}));break;case"es_ES":t=l.map((function(e){return e[i]}));break;case"en_US":t=s.map((function(e){return e[i]}));break;default:t=o.map((function(e){return e[i]}))}return t};var n="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiB2aWV3Qm94PSIwIDAgMzg0IDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzc4OF8yMTU2NDApIj4KPGxpbmUgeDE9Ii0xMC45NzY3IiB5MT0iNzQuMzg0MyIgeDI9IjIyLjc3NzgiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjIyLjc3NzciIHkxPSI3NC4zODQzIiB4Mj0iNTYuNTMyMiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iNTYuNTMyIiB5MT0iNzQuMzg0MyIgeDI9IjkwLjI4NjYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjkwLjI4NjkiIHkxPSI3NC4zODQzIiB4Mj0iMTI0LjA0MiIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMTI0LjA0MSIgeTE9Ijc0LjM4NDMiIHgyPSIxNTcuNzk2IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIxNTcuNzk2IiB5MT0iNzQuMzg0MyIgeDI9IjE5MS41NTEiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjE5MS41NTEiIHkxPSI3NC4zODQzIiB4Mj0iMjI1LjMwNSIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMjI1LjMwNSIgeTE9Ijc0LjM4NDMiIHgyPSIyNTkuMDYiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjI1OS4wNiIgeTE9Ijc0LjM4NDMiIHgyPSIyOTIuODE0IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjxsaW5lIHgxPSIyOTIuODE0IiB5MT0iNzQuMzg0MyIgeDI9IjMyNi41NjkiIHkyPSI1LjE3NzE5IiBzdHJva2U9IiNFN0VERjQiLz4KPGxpbmUgeDE9IjMyNi41NjkiIHkxPSI3NC4zODQzIiB4Mj0iMzYwLjMyMyIgeTI9IjUuMTc3MTkiIHN0cm9rZT0iI0U3RURGNCIvPgo8bGluZSB4MT0iMzYwLjMyNCIgeTE9Ijc0LjM4NDMiIHgyPSIzOTQuMDc4IiB5Mj0iNS4xNzcxOSIgc3Ryb2tlPSIjRTdFREY0Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzc4OF8yMTU2NDAiPgo8cmVjdCB3aWR0aD0iMzg0IiBoZWlnaHQ9IjgwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=";var p='@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap"); .upload{min-width:400px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:16px}.upload .upload-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;gap:8px}.upload .upload-header_text{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.upload__edit--label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:1px solid #b9cbd3;border-radius:8px;cursor:pointer;font-weight:normal;-webkit-box-sizing:border-box;box-sizing:border-box;padding:23px 16px;position:relative}.upload__edit--label .upload__img--visible{display:-ms-flexbox;display:flex;width:100%;height:100%;border-radius:8px;position:absolute;background-color:#f8fbfb;z-index:1}.upload__edit--label .text-box{display:-ms-flexbox;display:flex;padding:8px;width:100%;text-align:center;z-index:2}.upload__edit--label .text-box .text{width:100%;height:24px;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload__edit--label .text-box--hover{background-color:#f8fbfb}.upload__edit--label:hover{border:2px solid #125ad5;-webkit-box-sizing:border-box;box-sizing:border-box;padding:22px 16px;cursor:pointer;-webkit-text-decoration:underline #125ad5;text-decoration:underline #125ad5;color:#125ad5}.upload__edit--hover{background-size:cover;border:1px dashed #b9cbd3;color:#125ad5;font-weight:bold;border-radius:8px}.upload__img--invisible{display:none}.list-preview{border-top:1px solid #b9cbd3;border-bottom:1px solid #b9cbd3}.upload__preview{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:16px 0}.upload__preview .preview{display:-ms-flexbox;display:flex;padding:0 16px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;gap:16px}.upload__preview .preview .preview-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:100%}.preview-length{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;padding-top:16px;text-align:end}.upload__edit input{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;width:0;height:100%}';var u=e("bds_upload",function(){function e(e){var a=this;i(this,e);this.bdsUploadDelete=t(this,"bdsUploadDelete",7);this.bdsUploadChange=t(this,"bdsUploadChange",7);this.files=[];this.haveFiles=false;this.hover=false;this.size=[];this.language="pt_BR";this.handleDrop=function(e){a.haveFiles=true;var i=e.dataTransfer;var t=i.files;a.handleFiles(t)};this.handleFiles=function(e){if(!a.multiple){a.files=[e[0]]}else{a.files=__spreadArray([],e,true)}a.bdsUploadChange.emit()}}e.prototype.componentDidLoad=function(){var e=this;["dragenter","dragover","dragleave","drop"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,e.preventDefaults,false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(true)}),false)}));["dragenter","dragover"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(true)}),false)}));["dragleave","drop"].forEach((function(i){e.dropArea.shadowRoot.addEventListener(i,(function(){return e.preventDefaults}),false);e.dropArea.shadowRoot.addEventListener(i,(function(){return e.hoverFile(false)}),false)}));this.dropArea.shadowRoot.addEventListener("drop",this.handleDrop,false)};e.prototype.preventDefaults=function(e){e.preventDefault();e.stopPropagation()};e.prototype.hoverFile=function(e){this.hover=e};e.prototype.onUploadClick=function(e){if(e.length>0){this.files=__spreadArray([],e,true);this.haveFiles=true;this.getSize()}else{return false}this.bdsUploadChange.emit()};e.prototype.getSize=function(){var e=this;this.files.map((function(i){var t=i.size;e.size.push(t)}))};e.prototype.deleteFile=function(e){this.files.splice(e,1);this.files=__spreadArray([],this.files,true);if(this.files.length===0){this.haveFiles=false}else{this.haveFiles=true}this.bdsUploadDelete.emit()};e.prototype.render=function(){var e=this;return a("div",{class:"upload"},a("div",{class:"upload-header"},a("bds-icon",{size:"xxx-large",name:"upload"}),a("div",{class:"upload-header_text"},a("bds-typo",{variant:"fs-16",bold:"bold"},this.titleName),a("bds-typo",{variant:"fs-14",bold:"regular"},this.subtitle))),this.error?a("bds-banner",{context:"inside",variant:"error"},this.error):"",this.haveFiles?a("div",null,a("div",{class:"list-preview"},this.files.map((function(i,t){return a("div",{class:"upload__preview",key:t,id:"drop-area"},a("div",{class:"preview",id:"preview"},a("bds-icon",{size:"x-small",name:"attach"}),a("bds-typo",{variant:"fs-14",bold:"bold",class:"preview-text",id:"preview-text"},i.name),a("bds-icon",{size:"x-small",name:"trash",onClick:function(){return e.deleteFile(t)}})))}))),this.multiple?a("bds-typo",{variant:"fs-14",italic:true,class:"preview-length"},this.files.length," ",d(this.language,"uploaded")):""):"",a("div",{class:{upload__edit:true}},a("label",{class:{"upload__edit--label":true,"upload__edit--hover":this.hover},id:"file-label",htmlFor:"file"},a("div",{class:{"text-box":true,"text-box--hover":this.hover},id:"file-text_box"},this.hover?a("bds-typo",{class:"text",variant:"fs-14",bold:"bold"},d(this.language,"dropHere")):a("bds-typo",{class:"text",variant:"fs-14",bold:"bold"},d(this.language,"dropOrClick"))),a("img",{class:{"upload__img--invisible":true,"upload__img--visible":this.hover},src:n})),a("input",{type:"file",name:"files[]",id:"file",class:"upload__input",multiple:this.multiple,accept:this.accept,onChange:function(i){return e.onUploadClick(i.target.files)}})))};Object.defineProperty(e.prototype,"dropArea",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());u.style=p}}}));
|