@fullsession.io/fs-feedback-widget 1.5.10 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -109
- package/dist/bundle.css +329 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/publicextra.css +298 -0
- package/package.json +32 -32
- package/src/App.svelte +233 -233
- package/src/Icons/mainIcon.svelte +25 -25
- package/src/Icons/reactionIcons.svelte +134 -134
- package/src/main.js +56 -56
- package/src/widgetPages/App.css +111 -111
- package/src/widgetPages/reactionPage.svelte +305 -305
- package/src/widgetPages/reactionpage.css +236 -236
package/src/App.svelte
CHANGED
|
@@ -1,233 +1,233 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
import MainIcon from "./Icons/mainIcon.svelte";
|
|
3
|
-
import ReactionPage from "./widgetPages/reactionPage.svelte";
|
|
4
|
-
export let feedback;
|
|
5
|
-
export let widgetPosition;
|
|
6
|
-
import { fly } from "svelte/transition";
|
|
7
|
-
import "../src/widgetPages/App.css";
|
|
8
|
-
$: widgetColor = feedback.wgAccentColor;
|
|
9
|
-
$: document.documentElement.style.setProperty("--widgetColor", widgetColor);
|
|
10
|
-
let widgetTextColor = "";
|
|
11
|
-
let iconColor = "";
|
|
12
|
-
let widgetName = "Feedback";
|
|
13
|
-
if (feedback.wgLanguage == "en") {
|
|
14
|
-
widgetName = " Feedback";
|
|
15
|
-
} else if (feedback.wgLanguage == "ar") {
|
|
16
|
-
widgetName = "رأي";
|
|
17
|
-
} else {
|
|
18
|
-
widgetName = "Rétroaction";
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
if (feedback.wgAlternateColor === true) {
|
|
22
|
-
widgetTextColor = "white";
|
|
23
|
-
iconColor = "white";
|
|
24
|
-
} else {
|
|
25
|
-
widgetTextColor = "black";
|
|
26
|
-
iconColor = "black";
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
$: document.documentElement.style.setProperty(
|
|
30
|
-
"--widgetTextColor",
|
|
31
|
-
widgetTextColor
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
let wgPositionHorizintal = "";
|
|
35
|
-
let wgPositionVertical = "";
|
|
36
|
-
let widgetLeftSideBorder = 0;
|
|
37
|
-
let widgetRightSideBorder = 0;
|
|
38
|
-
let widgetMarginRight = 0;
|
|
39
|
-
let widgetMarginLeft = 0;
|
|
40
|
-
let visible = false;
|
|
41
|
-
let buttonVisible = true;
|
|
42
|
-
let thanksMessageVisible = false;
|
|
43
|
-
let inTransitionX = 0;
|
|
44
|
-
let outTransitionX = 0;
|
|
45
|
-
let positionState= "";
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
if( widgetPosition == 'fixed'){
|
|
49
|
-
positionState = "fixed"
|
|
50
|
-
} else{
|
|
51
|
-
positionState = "absolute"
|
|
52
|
-
}
|
|
53
|
-
$: document.documentElement.style.setProperty(
|
|
54
|
-
"--positionState",
|
|
55
|
-
positionState
|
|
56
|
-
);
|
|
57
|
-
if (Number(feedback.wgPosition) == 0) {
|
|
58
|
-
wgPositionHorizintal = "center";
|
|
59
|
-
wgPositionVertical = "row-reverse";
|
|
60
|
-
widgetLeftSideBorder = 5;
|
|
61
|
-
widgetRightSideBorder = 0;
|
|
62
|
-
widgetMarginRight = 30;
|
|
63
|
-
widgetMarginLeft = 0;
|
|
64
|
-
inTransitionX = -100;
|
|
65
|
-
outTransitionX = 20;
|
|
66
|
-
}
|
|
67
|
-
if (Number(feedback.wgPosition) == 1) {
|
|
68
|
-
wgPositionHorizintal = "center";
|
|
69
|
-
wgPositionVertical = "row";
|
|
70
|
-
widgetLeftSideBorder = 0;
|
|
71
|
-
widgetRightSideBorder = 5;
|
|
72
|
-
widgetMarginRight = 0;
|
|
73
|
-
widgetMarginLeft = 30;
|
|
74
|
-
inTransitionX = 100;
|
|
75
|
-
outTransitionX = -20;
|
|
76
|
-
}
|
|
77
|
-
if (Number(feedback.wgPosition) == 2) {
|
|
78
|
-
wgPositionHorizintal = "flex-end";
|
|
79
|
-
wgPositionVertical = "row-reverse";
|
|
80
|
-
widgetLeftSideBorder = 5;
|
|
81
|
-
widgetMarginRight = 30;
|
|
82
|
-
widgetMarginLeft = 0;
|
|
83
|
-
inTransitionX = -100;
|
|
84
|
-
outTransitionX = 20;
|
|
85
|
-
}
|
|
86
|
-
if (Number(feedback.wgPosition) == 3) {
|
|
87
|
-
wgPositionHorizintal = "flex-end";
|
|
88
|
-
wgPositionVertical = "row";
|
|
89
|
-
widgetLeftSideBorder = 0;
|
|
90
|
-
widgetRightSideBorder = 5;
|
|
91
|
-
widgetMarginRight = 0;
|
|
92
|
-
widgetMarginLeft = 30;
|
|
93
|
-
inTransitionX = 100;
|
|
94
|
-
outTransitionX = -20;
|
|
95
|
-
}
|
|
96
|
-
$: document.documentElement.style.setProperty(
|
|
97
|
-
"--wgPositionHorizintal",
|
|
98
|
-
wgPositionHorizintal
|
|
99
|
-
);
|
|
100
|
-
$: document.documentElement.style.setProperty(
|
|
101
|
-
"--wgPositionVertical",
|
|
102
|
-
wgPositionVertical
|
|
103
|
-
);
|
|
104
|
-
$: document.documentElement.style.setProperty(
|
|
105
|
-
"--widgetLeftSideBorder",
|
|
106
|
-
widgetLeftSideBorder + "px"
|
|
107
|
-
);
|
|
108
|
-
$: document.documentElement.style.setProperty(
|
|
109
|
-
"--widgetRightSideBorder",
|
|
110
|
-
widgetRightSideBorder + "px"
|
|
111
|
-
);
|
|
112
|
-
$: document.documentElement.style.setProperty(
|
|
113
|
-
"--widgetMarginRight",
|
|
114
|
-
widgetMarginRight + "px"
|
|
115
|
-
);
|
|
116
|
-
$: document.documentElement.style.setProperty(
|
|
117
|
-
"--widgetMarginLeft",
|
|
118
|
-
widgetMarginLeft + "px"
|
|
119
|
-
);
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
let userClosedWidget = 0;
|
|
123
|
-
let emailx = "";
|
|
124
|
-
let commentx = "";
|
|
125
|
-
let reactionTypex = "";
|
|
126
|
-
const closeOne = (email, comment, reactionType) => {
|
|
127
|
-
let widgetResponse = {
|
|
128
|
-
email: email,
|
|
129
|
-
comment: comment,
|
|
130
|
-
reaction: Number(reactionType),
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
let event = new CustomEvent("fbEvent", {
|
|
134
|
-
bubbles: false,
|
|
135
|
-
detail: widgetResponse,
|
|
136
|
-
});
|
|
137
|
-
window.dispatchEvent(event);
|
|
138
|
-
openThanksMessage();
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
// const closeBeforeFinsihing = (email, comment, reactionType) => {
|
|
142
|
-
// emailx = email;
|
|
143
|
-
// commentx = comment;
|
|
144
|
-
// reactionTypex = Number(reactionType);
|
|
145
|
-
// let widgetResponse = {
|
|
146
|
-
// email: email,
|
|
147
|
-
// comment: comment,
|
|
148
|
-
// reaction: reactionType,
|
|
149
|
-
// };
|
|
150
|
-
// if (userClosedWidget == 1) {
|
|
151
|
-
// console.log("hi", widgetResponse);
|
|
152
|
-
// let event = new CustomEvent("fbEvent", {
|
|
153
|
-
// bubbles: false,
|
|
154
|
-
// detail: widgetResponse,
|
|
155
|
-
// });
|
|
156
|
-
// window.dispatchEvent(event);
|
|
157
|
-
// console.log(widgetResponse);
|
|
158
|
-
// }
|
|
159
|
-
// };
|
|
160
|
-
|
|
161
|
-
const openThanksMessage = () => {
|
|
162
|
-
visible = !visible;
|
|
163
|
-
thanksMessageVisible = !thanksMessageVisible;
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
const closeThanksMessage = () => {
|
|
167
|
-
thanksMessageVisible = !thanksMessageVisible;
|
|
168
|
-
setTimeout(function () {
|
|
169
|
-
buttonVisible = !buttonVisible;
|
|
170
|
-
}, 350);
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
const openWidget = () => {
|
|
174
|
-
visible = !visible;
|
|
175
|
-
buttonVisible = !buttonVisible;
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
const closeWidget = () => {
|
|
179
|
-
userClosedWidget = 1;
|
|
180
|
-
if (reactionTypex != 0) {
|
|
181
|
-
closeBeforeFinsihing(emailx, commentx, reactionTypex);
|
|
182
|
-
}
|
|
183
|
-
visible = !visible;
|
|
184
|
-
setTimeout(function () {
|
|
185
|
-
buttonVisible = !buttonVisible;
|
|
186
|
-
}, 350);
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
</script>
|
|
190
|
-
<fsContainer style="position: 10px">
|
|
191
|
-
{#if buttonVisible}
|
|
192
|
-
<div class="fsWidget" on:click={openWidget}>
|
|
193
|
-
<div id="fsFeedbackTxt">{widgetName}</div>
|
|
194
|
-
<div id="fsMainIcon">
|
|
195
|
-
<MainIcon bind:fill={iconColor} />
|
|
196
|
-
</div>
|
|
197
|
-
</div>
|
|
198
|
-
{/if}
|
|
199
|
-
|
|
200
|
-
{#if visible}
|
|
201
|
-
<div class="fsCont" in:fly={{ x: inTransitionX, duration: 500 }}>
|
|
202
|
-
<div class="fsCloseCont" on:click={closeWidget}>
|
|
203
|
-
<p id="fsCloseIcon">X</p>
|
|
204
|
-
</div>
|
|
205
|
-
<ReactionPage
|
|
206
|
-
closeHandler={closeOne}
|
|
207
|
-
bind:feedbackData={feedback}
|
|
208
|
-
|
|
209
|
-
/>
|
|
210
|
-
</div>
|
|
211
|
-
{/if}
|
|
212
|
-
{#if thanksMessageVisible}
|
|
213
|
-
<div
|
|
214
|
-
class="fsThanksMessageCont"
|
|
215
|
-
out:fly={{ x: outTransitionX, duration: 300 }}
|
|
216
|
-
>
|
|
217
|
-
<div class="fsCloseCont" on:click={closeThanksMessage}>
|
|
218
|
-
<p id="fsCloseIcon">X</p>
|
|
219
|
-
</div>
|
|
220
|
-
<div
|
|
221
|
-
style=" width: 61%;
|
|
222
|
-
text-align: center;
|
|
223
|
-
margin-top: 7%;
|
|
224
|
-
margin-left: 20%;
|
|
225
|
-
padding-bottom: 8%;"
|
|
226
|
-
>
|
|
227
|
-
{feedback.wgThanksMsg}
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
{/if}
|
|
231
|
-
</fsContainer>
|
|
232
|
-
|
|
233
|
-
|
|
1
|
+
<script>
|
|
2
|
+
import MainIcon from "./Icons/mainIcon.svelte";
|
|
3
|
+
import ReactionPage from "./widgetPages/reactionPage.svelte";
|
|
4
|
+
export let feedback;
|
|
5
|
+
export let widgetPosition;
|
|
6
|
+
import { fly } from "svelte/transition";
|
|
7
|
+
import "../src/widgetPages/App.css";
|
|
8
|
+
$: widgetColor = feedback.wgAccentColor;
|
|
9
|
+
$: document.documentElement.style.setProperty("--widgetColor", widgetColor);
|
|
10
|
+
let widgetTextColor = "";
|
|
11
|
+
let iconColor = "";
|
|
12
|
+
let widgetName = "Feedback";
|
|
13
|
+
if (feedback.wgLanguage == "en") {
|
|
14
|
+
widgetName = " Feedback";
|
|
15
|
+
} else if (feedback.wgLanguage == "ar") {
|
|
16
|
+
widgetName = "رأي";
|
|
17
|
+
} else {
|
|
18
|
+
widgetName = "Rétroaction";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if (feedback.wgAlternateColor === true) {
|
|
22
|
+
widgetTextColor = "white";
|
|
23
|
+
iconColor = "white";
|
|
24
|
+
} else {
|
|
25
|
+
widgetTextColor = "black";
|
|
26
|
+
iconColor = "black";
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
$: document.documentElement.style.setProperty(
|
|
30
|
+
"--widgetTextColor",
|
|
31
|
+
widgetTextColor
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
let wgPositionHorizintal = "";
|
|
35
|
+
let wgPositionVertical = "";
|
|
36
|
+
let widgetLeftSideBorder = 0;
|
|
37
|
+
let widgetRightSideBorder = 0;
|
|
38
|
+
let widgetMarginRight = 0;
|
|
39
|
+
let widgetMarginLeft = 0;
|
|
40
|
+
let visible = false;
|
|
41
|
+
let buttonVisible = true;
|
|
42
|
+
let thanksMessageVisible = false;
|
|
43
|
+
let inTransitionX = 0;
|
|
44
|
+
let outTransitionX = 0;
|
|
45
|
+
let positionState= "";
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
if( widgetPosition == 'fixed'){
|
|
49
|
+
positionState = "fixed"
|
|
50
|
+
} else{
|
|
51
|
+
positionState = "absolute"
|
|
52
|
+
}
|
|
53
|
+
$: document.documentElement.style.setProperty(
|
|
54
|
+
"--positionState",
|
|
55
|
+
positionState
|
|
56
|
+
);
|
|
57
|
+
if (Number(feedback.wgPosition) == 0) {
|
|
58
|
+
wgPositionHorizintal = "center";
|
|
59
|
+
wgPositionVertical = "row-reverse";
|
|
60
|
+
widgetLeftSideBorder = 5;
|
|
61
|
+
widgetRightSideBorder = 0;
|
|
62
|
+
widgetMarginRight = 30;
|
|
63
|
+
widgetMarginLeft = 0;
|
|
64
|
+
inTransitionX = -100;
|
|
65
|
+
outTransitionX = 20;
|
|
66
|
+
}
|
|
67
|
+
if (Number(feedback.wgPosition) == 1) {
|
|
68
|
+
wgPositionHorizintal = "center";
|
|
69
|
+
wgPositionVertical = "row";
|
|
70
|
+
widgetLeftSideBorder = 0;
|
|
71
|
+
widgetRightSideBorder = 5;
|
|
72
|
+
widgetMarginRight = 0;
|
|
73
|
+
widgetMarginLeft = 30;
|
|
74
|
+
inTransitionX = 100;
|
|
75
|
+
outTransitionX = -20;
|
|
76
|
+
}
|
|
77
|
+
if (Number(feedback.wgPosition) == 2) {
|
|
78
|
+
wgPositionHorizintal = "flex-end";
|
|
79
|
+
wgPositionVertical = "row-reverse";
|
|
80
|
+
widgetLeftSideBorder = 5;
|
|
81
|
+
widgetMarginRight = 30;
|
|
82
|
+
widgetMarginLeft = 0;
|
|
83
|
+
inTransitionX = -100;
|
|
84
|
+
outTransitionX = 20;
|
|
85
|
+
}
|
|
86
|
+
if (Number(feedback.wgPosition) == 3) {
|
|
87
|
+
wgPositionHorizintal = "flex-end";
|
|
88
|
+
wgPositionVertical = "row";
|
|
89
|
+
widgetLeftSideBorder = 0;
|
|
90
|
+
widgetRightSideBorder = 5;
|
|
91
|
+
widgetMarginRight = 0;
|
|
92
|
+
widgetMarginLeft = 30;
|
|
93
|
+
inTransitionX = 100;
|
|
94
|
+
outTransitionX = -20;
|
|
95
|
+
}
|
|
96
|
+
$: document.documentElement.style.setProperty(
|
|
97
|
+
"--wgPositionHorizintal",
|
|
98
|
+
wgPositionHorizintal
|
|
99
|
+
);
|
|
100
|
+
$: document.documentElement.style.setProperty(
|
|
101
|
+
"--wgPositionVertical",
|
|
102
|
+
wgPositionVertical
|
|
103
|
+
);
|
|
104
|
+
$: document.documentElement.style.setProperty(
|
|
105
|
+
"--widgetLeftSideBorder",
|
|
106
|
+
widgetLeftSideBorder + "px"
|
|
107
|
+
);
|
|
108
|
+
$: document.documentElement.style.setProperty(
|
|
109
|
+
"--widgetRightSideBorder",
|
|
110
|
+
widgetRightSideBorder + "px"
|
|
111
|
+
);
|
|
112
|
+
$: document.documentElement.style.setProperty(
|
|
113
|
+
"--widgetMarginRight",
|
|
114
|
+
widgetMarginRight + "px"
|
|
115
|
+
);
|
|
116
|
+
$: document.documentElement.style.setProperty(
|
|
117
|
+
"--widgetMarginLeft",
|
|
118
|
+
widgetMarginLeft + "px"
|
|
119
|
+
);
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
let userClosedWidget = 0;
|
|
123
|
+
let emailx = "";
|
|
124
|
+
let commentx = "";
|
|
125
|
+
let reactionTypex = "";
|
|
126
|
+
const closeOne = (email, comment, reactionType) => {
|
|
127
|
+
let widgetResponse = {
|
|
128
|
+
email: email,
|
|
129
|
+
comment: comment,
|
|
130
|
+
reaction: Number(reactionType),
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
let event = new CustomEvent("fbEvent", {
|
|
134
|
+
bubbles: false,
|
|
135
|
+
detail: widgetResponse,
|
|
136
|
+
});
|
|
137
|
+
window.dispatchEvent(event);
|
|
138
|
+
openThanksMessage();
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
// const closeBeforeFinsihing = (email, comment, reactionType) => {
|
|
142
|
+
// emailx = email;
|
|
143
|
+
// commentx = comment;
|
|
144
|
+
// reactionTypex = Number(reactionType);
|
|
145
|
+
// let widgetResponse = {
|
|
146
|
+
// email: email,
|
|
147
|
+
// comment: comment,
|
|
148
|
+
// reaction: reactionType,
|
|
149
|
+
// };
|
|
150
|
+
// if (userClosedWidget == 1) {
|
|
151
|
+
// console.log("hi", widgetResponse);
|
|
152
|
+
// let event = new CustomEvent("fbEvent", {
|
|
153
|
+
// bubbles: false,
|
|
154
|
+
// detail: widgetResponse,
|
|
155
|
+
// });
|
|
156
|
+
// window.dispatchEvent(event);
|
|
157
|
+
// console.log(widgetResponse);
|
|
158
|
+
// }
|
|
159
|
+
// };
|
|
160
|
+
|
|
161
|
+
const openThanksMessage = () => {
|
|
162
|
+
visible = !visible;
|
|
163
|
+
thanksMessageVisible = !thanksMessageVisible;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
const closeThanksMessage = () => {
|
|
167
|
+
thanksMessageVisible = !thanksMessageVisible;
|
|
168
|
+
setTimeout(function () {
|
|
169
|
+
buttonVisible = !buttonVisible;
|
|
170
|
+
}, 350);
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
const openWidget = () => {
|
|
174
|
+
visible = !visible;
|
|
175
|
+
buttonVisible = !buttonVisible;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
const closeWidget = () => {
|
|
179
|
+
userClosedWidget = 1;
|
|
180
|
+
if (reactionTypex != 0) {
|
|
181
|
+
closeBeforeFinsihing(emailx, commentx, reactionTypex);
|
|
182
|
+
}
|
|
183
|
+
visible = !visible;
|
|
184
|
+
setTimeout(function () {
|
|
185
|
+
buttonVisible = !buttonVisible;
|
|
186
|
+
}, 350);
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
</script>
|
|
190
|
+
<fsContainer style="position: 10px">
|
|
191
|
+
{#if buttonVisible}
|
|
192
|
+
<div class="fsWidget" on:click={openWidget}>
|
|
193
|
+
<div id="fsFeedbackTxt">{widgetName}</div>
|
|
194
|
+
<div id="fsMainIcon">
|
|
195
|
+
<MainIcon bind:fill={iconColor} />
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
{/if}
|
|
199
|
+
|
|
200
|
+
{#if visible}
|
|
201
|
+
<div class="fsCont" in:fly={{ x: inTransitionX, duration: 500 }}>
|
|
202
|
+
<div class="fsCloseCont" on:click={closeWidget}>
|
|
203
|
+
<p id="fsCloseIcon">X</p>
|
|
204
|
+
</div>
|
|
205
|
+
<ReactionPage
|
|
206
|
+
closeHandler={closeOne}
|
|
207
|
+
bind:feedbackData={feedback}
|
|
208
|
+
|
|
209
|
+
/>
|
|
210
|
+
</div>
|
|
211
|
+
{/if}
|
|
212
|
+
{#if thanksMessageVisible}
|
|
213
|
+
<div
|
|
214
|
+
class="fsThanksMessageCont"
|
|
215
|
+
out:fly={{ x: outTransitionX, duration: 300 }}
|
|
216
|
+
>
|
|
217
|
+
<div class="fsCloseCont" on:click={closeThanksMessage}>
|
|
218
|
+
<p id="fsCloseIcon">X</p>
|
|
219
|
+
</div>
|
|
220
|
+
<div
|
|
221
|
+
style=" width: 61%;
|
|
222
|
+
text-align: center;
|
|
223
|
+
margin-top: 7%;
|
|
224
|
+
margin-left: 20%;
|
|
225
|
+
padding-bottom: 8%;"
|
|
226
|
+
>
|
|
227
|
+
{feedback.wgThanksMsg}
|
|
228
|
+
</div>
|
|
229
|
+
</div>
|
|
230
|
+
{/if}
|
|
231
|
+
</fsContainer>
|
|
232
|
+
|
|
233
|
+
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
export let fill = "";
|
|
3
|
-
</script>
|
|
4
|
-
<svg
|
|
5
|
-
fill={fill}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
version="1.1"
|
|
9
|
-
id="Layer_1"
|
|
10
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
12
|
-
x="0px"
|
|
13
|
-
y="0px"
|
|
14
|
-
viewBox="0 0 458 458"
|
|
15
|
-
style="enable-background:new 0 0 458 458;"
|
|
16
|
-
xml:space="preserve"
|
|
17
|
-
><g
|
|
18
|
-
><g
|
|
19
|
-
><path
|
|
20
|
-
d="M428,41.534H30c-16.569,0-30,13.431-30,30v252c0,16.568,13.432,30,30,30h132.1l43.942,52.243 c5.7,6.777,14.103,10.69,22.959,10.69c8.856,0,17.258-3.912,22.959-10.69l43.942-52.243H428c16.568,0,30-13.432,30-30v-252 C458,54.965,444.568,41.534,428,41.534z M323.916,281.534H82.854c-8.284,0-15-6.716-15-15s6.716-15,15-15h241.062 c8.284,0,15,6.716,15,15S332.2,281.534,323.916,281.534z M67.854,198.755c0-8.284,6.716-15,15-15h185.103c8.284,0,15,6.716,15,15 s-6.716,15-15,15H82.854C74.57,213.755,67.854,207.039,67.854,198.755z M375.146,145.974H82.854c-8.284,0-15-6.716-15-15 s6.716-15,15-15h292.291c8.284,0,15,6.716,15,15C390.146,139.258,383.43,145.974,375.146,145.974z"
|
|
21
|
-
/></g
|
|
22
|
-
></g
|
|
23
|
-
><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g
|
|
24
|
-
/></svg
|
|
25
|
-
>
|
|
1
|
+
<script>
|
|
2
|
+
export let fill = "";
|
|
3
|
+
</script>
|
|
4
|
+
<svg
|
|
5
|
+
fill={fill}
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="Layer_1"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
12
|
+
x="0px"
|
|
13
|
+
y="0px"
|
|
14
|
+
viewBox="0 0 458 458"
|
|
15
|
+
style="enable-background:new 0 0 458 458;"
|
|
16
|
+
xml:space="preserve"
|
|
17
|
+
><g
|
|
18
|
+
><g
|
|
19
|
+
><path
|
|
20
|
+
d="M428,41.534H30c-16.569,0-30,13.431-30,30v252c0,16.568,13.432,30,30,30h132.1l43.942,52.243 c5.7,6.777,14.103,10.69,22.959,10.69c8.856,0,17.258-3.912,22.959-10.69l43.942-52.243H428c16.568,0,30-13.432,30-30v-252 C458,54.965,444.568,41.534,428,41.534z M323.916,281.534H82.854c-8.284,0-15-6.716-15-15s6.716-15,15-15h241.062 c8.284,0,15,6.716,15,15S332.2,281.534,323.916,281.534z M67.854,198.755c0-8.284,6.716-15,15-15h185.103c8.284,0,15,6.716,15,15 s-6.716,15-15,15H82.854C74.57,213.755,67.854,207.039,67.854,198.755z M375.146,145.974H82.854c-8.284,0-15-6.716-15-15 s6.716-15,15-15h292.291c8.284,0,15,6.716,15,15C390.146,139.258,383.43,145.974,375.146,145.974z"
|
|
21
|
+
/></g
|
|
22
|
+
></g
|
|
23
|
+
><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g /><g
|
|
24
|
+
/></svg
|
|
25
|
+
>
|