@namelivia/vue-components 4.5.1 → 4.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/dist/index.esm.js +860 -931
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +865 -936
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Badge/Badge.vue +3 -7
- package/src/Buttons/DangerButton/DangerButton.vue +5 -13
- package/src/Buttons/RegularButton/RegularButton.vue +24 -28
- package/src/Buttons/ResetButton/ResetButton.vue +3 -7
- package/src/Buttons/SecondaryButton/SecondaryButton.vue +5 -13
- package/src/Buttons/SubmitButton/SubmitButton.vue +4 -12
- package/src/Card/Card.vue +13 -19
- package/src/Card/CardBody.vue +4 -9
- package/src/Card/CardImage.vue +17 -24
- package/src/CardGrid/CardGrid.vue +2 -5
- package/src/Container/Container.vue +2 -5
- package/src/Icons/CalendarIcon/CalendarIcon.vue +10 -13
- package/src/Icons/CreateIcon/CreateIcon.vue +10 -13
- package/src/Icons/DropIcon/DropIcon.vue +10 -13
- package/src/Icons/SaveIcon/SaveIcon.vue +10 -13
- package/src/Icons/SkullIcon/SkullIcon.vue +10 -13
- package/src/Inputs/CheckBoxInput/CheckBoxInput.vue +9 -27
- package/src/Inputs/ImageInput/ImageInput.vue +10 -30
- package/src/Inputs/NumberInput/NumberInput.vue +12 -37
- package/src/Inputs/ResizeImageUpload/ResizeImageUpload.vue +28 -50
- package/src/Inputs/Selector/Selector.vue +27 -52
- package/src/Inputs/TextInput/TextInput.vue +10 -31
- package/src/Loading/Loading.vue +3 -7
- package/src/Modal/Modal.vue +9 -16
- package/src/Navbar/MobileMenuButton.vue +5 -17
- package/src/Navbar/MobileNavigationLink.vue +9 -27
- package/src/Navbar/MobileNavigationLinks.vue +6 -19
- package/src/Navbar/Navbar.vue +22 -53
- package/src/Navbar/NavbarTitle.vue +7 -19
- package/src/Navbar/NavigationLink.vue +9 -27
- package/src/Navbar/NavigationLinks.vue +5 -15
- package/src/Navbar/RightContent.vue +9 -24
- package/src/Pagination/Pagination.vue +8 -14
- package/src/RangeView/RangeView.vue +3 -7
- package/src/SectionTitle/SectionTitle.vue +5 -9
- package/src/Spinner/Spinner.vue +2 -5
- package/src/StyledTable/StyledTable.vue +2 -5
- package/src/Temperature/Temperature.vue +11 -22
package/dist/index.js
CHANGED
|
@@ -2,22 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
const _hoisted_1$x = { class: "section-title" };
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var script$B = {
|
|
9
|
+
__name: 'SectionTitle',
|
|
7
10
|
props: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
11
|
+
text: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: ''
|
|
12
14
|
}
|
|
13
|
-
}
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
14
17
|
|
|
15
|
-
const _hoisted_1$x = { class: "section-title" };
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return (vue.openBlock(), vue.createElementBlock("h1", _hoisted_1$x, vue.toDisplayString(__props.text), 1 /* TEXT */))
|
|
22
|
+
}
|
|
19
23
|
}
|
|
20
24
|
|
|
25
|
+
};
|
|
26
|
+
|
|
21
27
|
function styleInject(css, ref) {
|
|
22
28
|
if ( ref === void 0 ) ref = {};
|
|
23
29
|
var insertAt = ref.insertAt;
|
|
@@ -48,132 +54,140 @@ function styleInject(css, ref) {
|
|
|
48
54
|
var css_248z$w = "\n.section-title[data-v-0375af86] {\n text-align: center;\n font-size: var(--font-size-xlarge);\n line-height: 1.5;\n}\n";
|
|
49
55
|
styleInject(css_248z$w);
|
|
50
56
|
|
|
51
|
-
script$B.render = render$B;
|
|
52
57
|
script$B.__scopeId = "data-v-0375af86";
|
|
53
58
|
script$B.__file = "src/SectionTitle/SectionTitle.vue";
|
|
54
59
|
|
|
55
|
-
var script$A =
|
|
56
|
-
|
|
60
|
+
var script$A = {
|
|
61
|
+
__name: 'Loading',
|
|
57
62
|
props: {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
text: String,
|
|
64
|
+
},
|
|
65
|
+
setup(__props) {
|
|
61
66
|
|
|
62
|
-
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
return (_ctx, _cache) => {
|
|
63
70
|
return (vue.openBlock(), vue.createElementBlock("div", null, _cache[0] || (_cache[0] = [
|
|
64
71
|
vue.createStaticVNode("<h1 class=\"loading-text\" data-v-7a9a3040>Loading...</h1><div class=\"loading-balls-container\" data-v-7a9a3040><div class=\"loading-ball blue\" data-v-7a9a3040></div><div class=\"loading-ball green\" data-v-7a9a3040></div><div class=\"loading-ball red\" data-v-7a9a3040></div></div>", 2)
|
|
65
72
|
])))
|
|
66
73
|
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
};
|
|
67
77
|
|
|
68
78
|
var css_248z$v = "\n.loading-text[data-v-7a9a3040] {\n text-align: center;\n font-size: var(--font-size-large);\n line-height: 1.75rem;\n}\n.loading-balls-container[data-v-7a9a3040] {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n animation: bounce-7a9a3040 1.5s infinite ease-in-out;\n}\n.loading-ball[data-v-7a9a3040] {\n width: 2rem;\n height: 2rem;\n border-radius: var(--border-radius-round);\n}\n.loading-ball.blue[data-v-7a9a3040] {\n background-color: var(--color-loading-ball-blue);\n}\n.loading-ball.green[data-v-7a9a3040] {\n background-color: var(--color-loading-ball-green);\n}\n.loading-ball.red[data-v-7a9a3040] {\n background-color: var(--color-loading-ball-red);\n}\n@keyframes bounce-7a9a3040 {\n0%, 100% {\n transform: translateY(0);\n}\n50% {\n transform: translateY(-1rem);\n}\n}\n";
|
|
69
79
|
styleInject(css_248z$v);
|
|
70
80
|
|
|
71
|
-
script$A.render = render$A;
|
|
72
81
|
script$A.__scopeId = "data-v-7a9a3040";
|
|
73
82
|
script$A.__file = "src/Loading/Loading.vue";
|
|
74
83
|
|
|
75
|
-
|
|
76
|
-
|
|
84
|
+
const _hoisted_1$w = ["src", "alt"];
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
var script$z = {
|
|
88
|
+
__name: 'CardImage',
|
|
77
89
|
props: {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
data: function () {
|
|
82
|
-
return {
|
|
83
|
-
imageWidth: 0,
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
methods: {
|
|
87
|
-
calculateWidth() {
|
|
88
|
-
return this.$refs.image.clientWidth
|
|
89
|
-
},
|
|
90
|
-
},
|
|
90
|
+
src: String,
|
|
91
|
+
alt: String,
|
|
92
|
+
},
|
|
91
93
|
emits: ['width'],
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
});
|
|
94
|
+
setup(__props, { emit: __emit }) {
|
|
95
|
+
|
|
96
96
|
|
|
97
|
-
const _hoisted_1$w = ["src", "alt"];
|
|
98
97
|
|
|
99
|
-
|
|
98
|
+
const emit = __emit;
|
|
99
|
+
const image = vue.ref(null);
|
|
100
|
+
|
|
101
|
+
const calculateWidth = () => image.value.clientWidth;
|
|
102
|
+
|
|
103
|
+
vue.onMounted(() => {
|
|
104
|
+
emit('width', calculateWidth());
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
return (_ctx, _cache) => {
|
|
100
108
|
return (vue.openBlock(), vue.createElementBlock("img", {
|
|
101
|
-
src:
|
|
102
|
-
alt:
|
|
103
|
-
|
|
109
|
+
src: __props.src,
|
|
110
|
+
alt: __props.alt,
|
|
111
|
+
ref_key: "image",
|
|
112
|
+
ref: image
|
|
104
113
|
}, null, 8 /* PROPS */, _hoisted_1$w))
|
|
105
114
|
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
};
|
|
106
118
|
|
|
107
119
|
var css_248z$u = "\nimg[data-v-5fa6a3f6] {\n width: 100%;\n}\n";
|
|
108
120
|
styleInject(css_248z$u);
|
|
109
121
|
|
|
110
|
-
script$z.render = render$z;
|
|
111
122
|
script$z.__scopeId = "data-v-5fa6a3f6";
|
|
112
123
|
script$z.__file = "src/Card/CardImage.vue";
|
|
113
124
|
|
|
114
|
-
var script$y = vue.defineComponent({
|
|
115
|
-
name: "CardBody",
|
|
116
|
-
props: {
|
|
117
|
-
title: String,
|
|
118
|
-
},
|
|
119
|
-
});
|
|
120
|
-
|
|
121
125
|
const _hoisted_1$v = { class: "card-body" };
|
|
122
126
|
const _hoisted_2$g = { class: "card-title" };
|
|
123
127
|
const _hoisted_3$a = { class: "card-text" };
|
|
124
128
|
|
|
125
|
-
|
|
129
|
+
|
|
130
|
+
var script$y = {
|
|
131
|
+
__name: 'CardBody',
|
|
132
|
+
props: {
|
|
133
|
+
title: String,
|
|
134
|
+
},
|
|
135
|
+
setup(__props) {
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
return (_ctx, _cache) => {
|
|
126
140
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
127
|
-
vue.createElementVNode("div", _hoisted_2$g, vue.toDisplayString(
|
|
141
|
+
vue.createElementVNode("div", _hoisted_2$g, vue.toDisplayString(__props.title), 1 /* TEXT */),
|
|
128
142
|
vue.createElementVNode("p", _hoisted_3$a, [
|
|
129
143
|
vue.renderSlot(_ctx.$slots, "default")
|
|
130
144
|
])
|
|
131
145
|
]))
|
|
132
146
|
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
};
|
|
133
150
|
|
|
134
151
|
var css_248z$t = "\n.card-body[data-v-c140cd30] {\n padding: var(--card-body-padding);\n}\n.card-title[data-v-c140cd30] {\n font-weight: var(--font-weight-bold);\n font-size: var(--font-size-large);\n margin-bottom: var(--card-title-margin-bottom);\n}\n.card-text[data-v-c140cd30] {\n color: var(--color-card-text);\n font-size: var(--font-size-base);\n}\n";
|
|
135
152
|
styleInject(css_248z$t);
|
|
136
153
|
|
|
137
|
-
script$y.render = render$y;
|
|
138
154
|
script$y.__scopeId = "data-v-c140cd30";
|
|
139
155
|
script$y.__file = "src/Card/CardBody.vue";
|
|
140
156
|
|
|
141
|
-
var script$x = vue.defineComponent({
|
|
142
|
-
name: "Card",
|
|
143
|
-
props: {
|
|
144
|
-
image: String,
|
|
145
|
-
title: String,
|
|
146
|
-
dismissed: {
|
|
147
|
-
type: Boolean,
|
|
148
|
-
default: false,
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
components: {
|
|
152
|
-
CardImage: script$z,
|
|
153
|
-
CardBody: script$y,
|
|
154
|
-
},
|
|
155
|
-
emits: ['width']
|
|
156
|
-
});
|
|
157
|
-
|
|
158
157
|
const _hoisted_1$u = {
|
|
159
158
|
key: 0,
|
|
160
159
|
class: "card-container"
|
|
161
160
|
};
|
|
162
161
|
const _hoisted_2$f = { class: "card" };
|
|
163
162
|
|
|
164
|
-
function render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
165
|
-
const _component_card_image = vue.resolveComponent("card-image");
|
|
166
|
-
const _component_card_body = vue.resolveComponent("card-body");
|
|
167
163
|
|
|
168
|
-
|
|
164
|
+
var script$x = {
|
|
165
|
+
__name: 'Card',
|
|
166
|
+
props: {
|
|
167
|
+
image: String,
|
|
168
|
+
title: String,
|
|
169
|
+
dismissed: {
|
|
170
|
+
type: Boolean,
|
|
171
|
+
default: false,
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
emits: ['width'],
|
|
175
|
+
setup(__props) {
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
return (_ctx, _cache) => {
|
|
182
|
+
return (!__props.dismissed)
|
|
169
183
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
170
184
|
vue.createElementVNode("div", _hoisted_2$f, [
|
|
171
|
-
vue.createVNode(
|
|
172
|
-
src:
|
|
173
|
-
alt:
|
|
185
|
+
vue.createVNode(script$z, {
|
|
186
|
+
src: __props.image,
|
|
187
|
+
alt: __props.title,
|
|
174
188
|
onWidth: _cache[0] || (_cache[0] = $event => (_ctx.$emit('width', $event)))
|
|
175
189
|
}, null, 8 /* PROPS */, ["src", "alt"]),
|
|
176
|
-
vue.createVNode(
|
|
190
|
+
vue.createVNode(script$y, { title: __props.title }, {
|
|
177
191
|
default: vue.withCtx(() => [
|
|
178
192
|
vue.renderSlot(_ctx.$slots, "default")
|
|
179
193
|
]),
|
|
@@ -183,120 +197,113 @@ function render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
183
197
|
]))
|
|
184
198
|
: vue.createCommentVNode("v-if", true)
|
|
185
199
|
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
};
|
|
186
203
|
|
|
187
204
|
var css_248z$s = "\n.card-container[data-v-da3858b4] {\n margin: var(--card-margin);\n}\n.card[data-v-da3858b4] {\n max-width: var(--card-max-width);\n border-radius: var(--border-radius-big);\n overflow: hidden;\n box-shadow: var(--card-shadow);\n}\n";
|
|
188
205
|
styleInject(css_248z$s);
|
|
189
206
|
|
|
190
|
-
script$x.render = render$x;
|
|
191
207
|
script$x.__scopeId = "data-v-da3858b4";
|
|
192
208
|
script$x.__file = "src/Card/Card.vue";
|
|
193
209
|
|
|
194
|
-
var script$w = vue.defineComponent({
|
|
195
|
-
name: "CardGrid"
|
|
196
|
-
});
|
|
197
|
-
|
|
198
210
|
const _hoisted_1$t = { class: "card-grid" };
|
|
199
211
|
|
|
200
|
-
|
|
212
|
+
|
|
213
|
+
var script$w = {
|
|
214
|
+
__name: 'CardGrid',
|
|
215
|
+
setup(__props) {
|
|
216
|
+
|
|
217
|
+
// No logic needed
|
|
218
|
+
|
|
219
|
+
return (_ctx, _cache) => {
|
|
201
220
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
|
|
202
221
|
vue.renderSlot(_ctx.$slots, "default")
|
|
203
222
|
]))
|
|
204
223
|
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
};
|
|
205
227
|
|
|
206
228
|
var css_248z$r = "\n.card-grid[data-v-ad060034] {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-content: center;\n}\n@media (min-width: 1024px) {\n.card-grid[data-v-ad060034] {\n justify-content: space-between;\n}\n}\n";
|
|
207
229
|
styleInject(css_248z$r);
|
|
208
230
|
|
|
209
|
-
script$w.render = render$w;
|
|
210
231
|
script$w.__scopeId = "data-v-ad060034";
|
|
211
232
|
script$w.__file = "src/CardGrid/CardGrid.vue";
|
|
212
233
|
|
|
213
|
-
var script$v = vue.defineComponent({
|
|
214
|
-
name: "Container"
|
|
215
|
-
});
|
|
216
|
-
|
|
217
234
|
const _hoisted_1$s = { class: "container" };
|
|
218
235
|
|
|
219
|
-
|
|
236
|
+
|
|
237
|
+
var script$v = {
|
|
238
|
+
__name: 'Container',
|
|
239
|
+
setup(__props) {
|
|
240
|
+
|
|
241
|
+
// No logic needed
|
|
242
|
+
|
|
243
|
+
return (_ctx, _cache) => {
|
|
220
244
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
221
245
|
vue.renderSlot(_ctx.$slots, "default")
|
|
222
246
|
]))
|
|
223
247
|
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
};
|
|
224
251
|
|
|
225
252
|
var css_248z$q = "\n.container[data-v-7cccf06a] {\n max-width: var(--container-max-width);\n margin: var(--container-margin);\n}\n";
|
|
226
253
|
styleInject(css_248z$q);
|
|
227
254
|
|
|
228
|
-
script$v.render = render$v;
|
|
229
255
|
script$v.__scopeId = "data-v-7cccf06a";
|
|
230
256
|
script$v.__file = "src/Container/Container.vue";
|
|
231
257
|
|
|
232
|
-
|
|
233
|
-
|
|
258
|
+
const _hoisted_1$r = ["href"];
|
|
259
|
+
|
|
260
|
+
var script$u = {
|
|
261
|
+
__name: 'MobileNavigationLink',
|
|
234
262
|
props: {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
},
|
|
241
|
-
current: {
|
|
242
|
-
type: Boolean,
|
|
243
|
-
},
|
|
244
|
-
},
|
|
245
|
-
computed: {
|
|
246
|
-
linkClass: function () {
|
|
247
|
-
if (this.current) {
|
|
248
|
-
return 'current-link'
|
|
249
|
-
}
|
|
250
|
-
return 'regular-link'
|
|
251
|
-
},
|
|
252
|
-
linkDestination: function () {
|
|
253
|
-
return this.current ? '#' : this.href
|
|
254
|
-
},
|
|
255
|
-
},
|
|
256
|
-
});
|
|
263
|
+
text: String,
|
|
264
|
+
href: String,
|
|
265
|
+
current: Boolean,
|
|
266
|
+
},
|
|
267
|
+
setup(__props) {
|
|
257
268
|
|
|
258
|
-
const
|
|
269
|
+
const props = __props;
|
|
270
|
+
const linkClass = vue.computed(() => props.current ? 'current-link' : 'regular-link');
|
|
271
|
+
const linkDestination = vue.computed(() => props.current ? '#' : props.href);
|
|
259
272
|
|
|
260
|
-
|
|
273
|
+
return (_ctx, _cache) => {
|
|
261
274
|
return (vue.openBlock(), vue.createElementBlock("a", {
|
|
262
|
-
href:
|
|
263
|
-
class: vue.normalizeClass(
|
|
275
|
+
href: linkDestination.value,
|
|
276
|
+
class: vue.normalizeClass(linkClass.value),
|
|
264
277
|
"aria-current": "page"
|
|
265
|
-
}, vue.toDisplayString(
|
|
278
|
+
}, vue.toDisplayString(__props.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$r))
|
|
279
|
+
}
|
|
266
280
|
}
|
|
267
281
|
|
|
282
|
+
};
|
|
283
|
+
|
|
268
284
|
var css_248z$p = "\n.current-link[data-v-3e279546] {\n background-color: var(--color-navbar-current-background);\n color: var(--color-navbar-text);\n display: block;\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n border-radius: 0.375rem;\n font-size: var(--font-size-navbar);\n text-decoration: none;\n cursor: default;\n}\n.regular-link[data-v-3e279546] {\n color: var(--color-navbar-text);\n display: block;\n padding: 0.5rem 0.75rem;\n border-radius: 0.375rem;\n font-size: var(--font-size-navbar);\n transition: background-color 0.2s ease, color 0.2s ease;\n text-decoration: none;\n}\n.regular-link[data-v-3e279546]:hover {\n background-color: var(--color-navbar-link-background);\n}\n";
|
|
269
285
|
styleInject(css_248z$p);
|
|
270
286
|
|
|
271
|
-
script$u.render = render$u;
|
|
272
287
|
script$u.__scopeId = "data-v-3e279546";
|
|
273
288
|
script$u.__file = "src/Navbar/MobileNavigationLink.vue";
|
|
274
289
|
|
|
275
|
-
var script$t = vue.defineComponent({
|
|
276
|
-
name: "MobileNavigationLinks",
|
|
277
|
-
components: {
|
|
278
|
-
MobileNavigationLink: script$u,
|
|
279
|
-
},
|
|
280
|
-
props: {
|
|
281
|
-
links: {
|
|
282
|
-
type: Array,
|
|
283
|
-
},
|
|
284
|
-
open: {
|
|
285
|
-
type: Boolean,
|
|
286
|
-
default: false,
|
|
287
|
-
},
|
|
288
|
-
},
|
|
289
|
-
});
|
|
290
|
-
|
|
291
290
|
const _hoisted_1$q = {
|
|
292
291
|
key: 0,
|
|
293
292
|
id: "mobile-menu"
|
|
294
293
|
};
|
|
295
294
|
const _hoisted_2$e = { class: "menu-panel" };
|
|
296
295
|
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
var script$t = {
|
|
297
|
+
__name: 'MobileNavigationLinks',
|
|
298
|
+
props: {
|
|
299
|
+
links: Array,
|
|
300
|
+
open: { type: Boolean, default: false },
|
|
301
|
+
},
|
|
302
|
+
setup(__props) {
|
|
303
|
+
|
|
299
304
|
|
|
305
|
+
|
|
306
|
+
return (_ctx, _cache) => {
|
|
300
307
|
return (vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
301
308
|
"enter-active-class": "fade-scale-enter-active",
|
|
302
309
|
"leave-active-class": "fade-scale-leave-active",
|
|
@@ -306,11 +313,11 @@ function render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
306
313
|
"leave-to-class": "fade-scale-leave-to"
|
|
307
314
|
}, {
|
|
308
315
|
default: vue.withCtx(() => [
|
|
309
|
-
(
|
|
316
|
+
(__props.open)
|
|
310
317
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
|
|
311
318
|
vue.createElementVNode("div", _hoisted_2$e, [
|
|
312
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
313
|
-
return (vue.openBlock(), vue.createBlock(
|
|
319
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.links, (link) => {
|
|
320
|
+
return (vue.openBlock(), vue.createBlock(script$u, {
|
|
314
321
|
key: link.id,
|
|
315
322
|
href: link.href,
|
|
316
323
|
text: link.text,
|
|
@@ -324,79 +331,65 @@ function render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
324
331
|
_: 1 /* STABLE */
|
|
325
332
|
}))
|
|
326
333
|
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
};
|
|
327
337
|
|
|
328
338
|
var css_248z$o = "\n.fade-scale-enter-active[data-v-eb1296c6],\n.fade-scale-leave-active[data-v-eb1296c6] {\n transition: all 200ms ease;\n}\n.fade-scale-enter-from[data-v-eb1296c6],\n.fade-scale-leave-to[data-v-eb1296c6] {\n transform: scaleY(0);\n transform-origin: top;\n}\n.fade-scale-enter-to[data-v-eb1296c6],\n.fade-scale-leave-from[data-v-eb1296c6] {\n transform: scaleY(1);\n transform-origin: top;\n}\n#mobile-menu[data-v-eb1296c6] {\n display: block;\n}\n.menu-panel[data-v-eb1296c6] {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n padding-top: 0.5rem;\n padding-bottom: 0.75rem;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n background-color: var(--color-navbar-background);\n}\n@media (min-width: 640px) {\n#mobile-menu[data-v-eb1296c6] {\n display: none;\n}\n}\n";
|
|
329
339
|
styleInject(css_248z$o);
|
|
330
340
|
|
|
331
|
-
script$t.render = render$t;
|
|
332
341
|
script$t.__scopeId = "data-v-eb1296c6";
|
|
333
342
|
script$t.__file = "src/Navbar/MobileNavigationLinks.vue";
|
|
334
343
|
|
|
335
|
-
|
|
336
|
-
|
|
344
|
+
const _hoisted_1$p = ["href"];
|
|
345
|
+
|
|
346
|
+
var script$s = {
|
|
347
|
+
__name: 'NavigationLink',
|
|
337
348
|
props: {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
},
|
|
344
|
-
current: {
|
|
345
|
-
type: Boolean,
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
|
-
computed: {
|
|
349
|
-
linkClass: function () {
|
|
350
|
-
if (this.current) {
|
|
351
|
-
return 'current-link'
|
|
352
|
-
}
|
|
353
|
-
return 'regular-link'
|
|
354
|
-
},
|
|
355
|
-
linkDestination: function () {
|
|
356
|
-
return this.current ? '#' : this.href
|
|
357
|
-
},
|
|
358
|
-
},
|
|
359
|
-
});
|
|
349
|
+
text: String,
|
|
350
|
+
href: String,
|
|
351
|
+
current: Boolean,
|
|
352
|
+
},
|
|
353
|
+
setup(__props) {
|
|
360
354
|
|
|
361
|
-
const
|
|
355
|
+
const props = __props;
|
|
356
|
+
const linkClass = vue.computed(() => props.current ? 'current-link' : 'regular-link');
|
|
357
|
+
const linkDestination = vue.computed(() => props.current ? '#' : props.href);
|
|
362
358
|
|
|
363
|
-
|
|
359
|
+
return (_ctx, _cache) => {
|
|
364
360
|
return (vue.openBlock(), vue.createElementBlock("a", {
|
|
365
|
-
href:
|
|
366
|
-
class: vue.normalizeClass(
|
|
361
|
+
href: linkDestination.value,
|
|
362
|
+
class: vue.normalizeClass(linkClass.value),
|
|
367
363
|
"aria-current": "page"
|
|
368
|
-
}, vue.toDisplayString(
|
|
364
|
+
}, vue.toDisplayString(__props.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$p))
|
|
369
365
|
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
};
|
|
370
369
|
|
|
371
370
|
var css_248z$n = "\n.current-link[data-v-4989b384] {\n background-color: var(--color-navbar-current-background);\n color: var(--color-navbar-text);\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n border-radius: 0.375rem;\n font-size: var(--font-size-navbar);\n text-decoration: none;\n cursor: default;\n}\n.regular-link[data-v-4989b384] {\n color: var(--color-navbar-text);\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n border-radius: 0.375rem;\n font-size: var(--font-size-navbar);\n transition: background-color 0.2s ease, color 0.2s ease;\n text-decoration: none;\n}\n.regular-link[data-v-4989b384]:hover {\n background-color: var(--color-navbar-link-background);\n}\n";
|
|
372
371
|
styleInject(css_248z$n);
|
|
373
372
|
|
|
374
|
-
script$s.render = render$s;
|
|
375
373
|
script$s.__scopeId = "data-v-4989b384";
|
|
376
374
|
script$s.__file = "src/Navbar/NavigationLink.vue";
|
|
377
375
|
|
|
378
|
-
var script$r = vue.defineComponent({
|
|
379
|
-
name: "NavigationLinks",
|
|
380
|
-
components: {
|
|
381
|
-
NavigationLink: script$s,
|
|
382
|
-
},
|
|
383
|
-
props: {
|
|
384
|
-
links: {
|
|
385
|
-
type: Array,
|
|
386
|
-
},
|
|
387
|
-
},
|
|
388
|
-
});
|
|
389
|
-
|
|
390
376
|
const _hoisted_1$o = { class: "links-container" };
|
|
391
377
|
const _hoisted_2$d = { class: "links-wrapper" };
|
|
392
378
|
|
|
393
|
-
|
|
394
|
-
|
|
379
|
+
var script$r = {
|
|
380
|
+
__name: 'NavigationLinks',
|
|
381
|
+
props: {
|
|
382
|
+
links: Array,
|
|
383
|
+
},
|
|
384
|
+
setup(__props) {
|
|
385
|
+
|
|
395
386
|
|
|
387
|
+
|
|
388
|
+
return (_ctx, _cache) => {
|
|
396
389
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
|
|
397
390
|
vue.createElementVNode("div", _hoisted_2$d, [
|
|
398
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
399
|
-
return (vue.openBlock(), vue.createBlock(
|
|
391
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.links, (link) => {
|
|
392
|
+
return (vue.openBlock(), vue.createBlock(script$s, {
|
|
400
393
|
key: link.id,
|
|
401
394
|
href: link.href,
|
|
402
395
|
text: link.text,
|
|
@@ -406,126 +399,113 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
406
399
|
])
|
|
407
400
|
]))
|
|
408
401
|
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
};
|
|
409
405
|
|
|
410
406
|
var css_248z$m = "\n.links-container[data-v-294f43c2] {\n display: none;\n}\n.links-wrapper[data-v-294f43c2] {\n display: flex;\n gap: 1rem;\n}\n@media (min-width: 640px) {\n.links-container[data-v-294f43c2] {\n display: block;\n margin-left: 1.5rem;\n}\n}\n";
|
|
411
407
|
styleInject(css_248z$m);
|
|
412
408
|
|
|
413
|
-
script$r.render = render$r;
|
|
414
409
|
script$r.__scopeId = "data-v-294f43c2";
|
|
415
410
|
script$r.__file = "src/Navbar/NavigationLinks.vue";
|
|
416
411
|
|
|
417
|
-
var script$q = vue.defineComponent({
|
|
418
|
-
name: "NavbarTitle",
|
|
419
|
-
props: {
|
|
420
|
-
href: {
|
|
421
|
-
type: String,
|
|
422
|
-
},
|
|
423
|
-
title: {
|
|
424
|
-
type: String,
|
|
425
|
-
},
|
|
426
|
-
imageBig: {
|
|
427
|
-
type: String,
|
|
428
|
-
},
|
|
429
|
-
imageSmall: {
|
|
430
|
-
type: String,
|
|
431
|
-
},
|
|
432
|
-
}
|
|
433
|
-
});
|
|
434
|
-
|
|
435
412
|
const _hoisted_1$n = ["href"];
|
|
436
413
|
const _hoisted_2$c = ["src", "alt"];
|
|
437
414
|
const _hoisted_3$9 = ["src", "alt"];
|
|
438
415
|
|
|
439
|
-
|
|
416
|
+
|
|
417
|
+
var script$q = {
|
|
418
|
+
__name: 'NavbarTitle',
|
|
419
|
+
props: {
|
|
420
|
+
href: String,
|
|
421
|
+
title: String,
|
|
422
|
+
imageBig: String,
|
|
423
|
+
imageSmall: String,
|
|
424
|
+
},
|
|
425
|
+
setup(__props) {
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
return (_ctx, _cache) => {
|
|
440
430
|
return (vue.openBlock(), vue.createElementBlock("a", {
|
|
441
431
|
class: "title-container",
|
|
442
|
-
href:
|
|
432
|
+
href: __props.href
|
|
443
433
|
}, [
|
|
444
434
|
vue.createElementVNode("img", {
|
|
445
435
|
class: "logo-small",
|
|
446
|
-
src:
|
|
447
|
-
alt:
|
|
436
|
+
src: __props.imageSmall,
|
|
437
|
+
alt: __props.title
|
|
448
438
|
}, null, 8 /* PROPS */, _hoisted_2$c),
|
|
449
439
|
vue.createElementVNode("img", {
|
|
450
440
|
class: "logo-big",
|
|
451
|
-
src:
|
|
452
|
-
alt:
|
|
441
|
+
src: __props.imageBig,
|
|
442
|
+
alt: __props.title
|
|
453
443
|
}, null, 8 /* PROPS */, _hoisted_3$9)
|
|
454
444
|
], 8 /* PROPS */, _hoisted_1$n))
|
|
455
445
|
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
};
|
|
456
449
|
|
|
457
450
|
var css_248z$l = "\n.title-container[data-v-661ef87c] {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n}\n.logo-small[data-v-661ef87c] {\n display: block;\n height: 2rem;\n width: auto;\n}\n.logo-big[data-v-661ef87c] {\n display: none;\n height: 2rem;\n width: auto;\n}\n@media (min-width: 1024px) {\n.logo-small[data-v-661ef87c] {\n display: none;\n}\n.logo-big[data-v-661ef87c] {\n display: block;\n}\n}\n\n\n";
|
|
458
451
|
styleInject(css_248z$l);
|
|
459
452
|
|
|
460
|
-
script$q.render = render$q;
|
|
461
453
|
script$q.__scopeId = "data-v-661ef87c";
|
|
462
454
|
script$q.__file = "src/Navbar/NavbarTitle.vue";
|
|
463
455
|
|
|
464
|
-
var script$p = vue.defineComponent({
|
|
465
|
-
name: "RightContent",
|
|
466
|
-
props: {
|
|
467
|
-
locale: {
|
|
468
|
-
type: String,
|
|
469
|
-
},
|
|
470
|
-
currentUserEmail: {
|
|
471
|
-
type: String,
|
|
472
|
-
},
|
|
473
|
-
currentUserName: {
|
|
474
|
-
type: String,
|
|
475
|
-
},
|
|
476
|
-
currentUserPicture: {
|
|
477
|
-
type: String,
|
|
478
|
-
},
|
|
479
|
-
},
|
|
480
|
-
computed: {
|
|
481
|
-
avatarAlt: function () {
|
|
482
|
-
return this.currentUserName + ` (${this.currentUserEmail})`
|
|
483
|
-
},
|
|
484
|
-
},
|
|
485
|
-
});
|
|
486
|
-
|
|
487
456
|
const _hoisted_1$m = { class: "action-container" };
|
|
488
457
|
const _hoisted_2$b = ["src", "alt"];
|
|
489
458
|
|
|
490
|
-
|
|
459
|
+
var script$p = {
|
|
460
|
+
__name: 'RightContent',
|
|
461
|
+
props: {
|
|
462
|
+
locale: String,
|
|
463
|
+
currentUserEmail: String,
|
|
464
|
+
currentUserName: String,
|
|
465
|
+
currentUserPicture: String,
|
|
466
|
+
},
|
|
467
|
+
setup(__props) {
|
|
468
|
+
|
|
469
|
+
const props = __props;
|
|
470
|
+
const avatarAlt = vue.computed(() => `${props.currentUserName} (${props.currentUserEmail})`);
|
|
471
|
+
|
|
472
|
+
return (_ctx, _cache) => {
|
|
491
473
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
492
474
|
vue.createElementVNode("img", {
|
|
493
475
|
class: "circle-image",
|
|
494
|
-
src:
|
|
495
|
-
alt:
|
|
476
|
+
src: __props.currentUserPicture,
|
|
477
|
+
alt: avatarAlt.value
|
|
496
478
|
}, null, 8 /* PROPS */, _hoisted_2$b)
|
|
497
479
|
]))
|
|
498
480
|
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
};
|
|
499
484
|
|
|
500
485
|
var css_248z$k = "\n.action-container[data-v-07675a13] {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n display: flex;\n align-items: center;\n padding-right: 0.5rem;\n color: var(--color-navbar-text);\n font-size: var(--font-size-navbar);\n}\n.circle-image[data-v-07675a13] {\n border-radius: 9999px;\n padding: 0.25rem;\n height: 50px;\n width: 50px;\n}\n@media (min-width: 640px) {\n.action-container[data-v-07675a13] {\n position: static;\n top: auto;\n bottom: auto;\n right: auto;\n margin-left: 1.5rem;\n padding-right: 0;\n}\n}\n\n";
|
|
501
486
|
styleInject(css_248z$k);
|
|
502
487
|
|
|
503
|
-
script$p.render = render$p;
|
|
504
488
|
script$p.__scopeId = "data-v-07675a13";
|
|
505
489
|
script$p.__file = "src/Navbar/RightContent.vue";
|
|
506
490
|
|
|
507
|
-
var script$o =
|
|
508
|
-
|
|
491
|
+
var script$o = {
|
|
492
|
+
__name: 'MobileMenuButton',
|
|
509
493
|
props: {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
default: false,
|
|
513
|
-
},
|
|
514
|
-
},
|
|
494
|
+
open: { type: Boolean, default: false },
|
|
495
|
+
},
|
|
515
496
|
emits: ['click'],
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
this.$emit('click', evt);
|
|
519
|
-
},
|
|
520
|
-
},
|
|
521
|
-
});
|
|
497
|
+
setup(__props, { emit: __emit }) {
|
|
498
|
+
|
|
522
499
|
|
|
523
|
-
|
|
500
|
+
const emit = __emit;
|
|
501
|
+
const onClick = (evt) => emit('click', evt);
|
|
502
|
+
|
|
503
|
+
return (_ctx, _cache) => {
|
|
524
504
|
return (vue.openBlock(), vue.createElementBlock("button", {
|
|
525
505
|
class: "menu-button",
|
|
526
506
|
type: "button",
|
|
527
|
-
onClick:
|
|
528
|
-
}, _cache[
|
|
507
|
+
onClick: onClick
|
|
508
|
+
}, _cache[0] || (_cache[0] = [
|
|
529
509
|
vue.createElementVNode("svg", {
|
|
530
510
|
class: "menu-icon",
|
|
531
511
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -542,263 +522,230 @@ function render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
542
522
|
], -1 /* HOISTED */)
|
|
543
523
|
])))
|
|
544
524
|
}
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
};
|
|
545
528
|
|
|
546
529
|
var css_248z$j = "\n.menu-button[data-v-397545ee] {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0.5rem;\n border-radius: var(--border-radius-big);\n color: var(--color-navbar-text);\n background-color: transparent;\n transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;\n border: none;\n cursor: pointer;\n}\n.menu-icon[data-v-397545ee] {\n display: block;\n height: 1.5rem;\n width: 1.5rem;\n}\n";
|
|
547
530
|
styleInject(css_248z$j);
|
|
548
531
|
|
|
549
|
-
script$o.render = render$o;
|
|
550
532
|
script$o.__scopeId = "data-v-397545ee";
|
|
551
533
|
script$o.__file = "src/Navbar/MobileMenuButton.vue";
|
|
552
534
|
|
|
553
|
-
var script$n = vue.defineComponent({
|
|
554
|
-
name: "Navbar",
|
|
555
|
-
components: {
|
|
556
|
-
NavbarTitle: script$q,
|
|
557
|
-
NavigationLinks: script$r,
|
|
558
|
-
MobileNavigationLinks: script$t,
|
|
559
|
-
RightContent: script$p,
|
|
560
|
-
MobileMenuButton: script$o,
|
|
561
|
-
},
|
|
562
|
-
data() {
|
|
563
|
-
return {
|
|
564
|
-
mobileMenuOpen: false,
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
props: {
|
|
568
|
-
links: {
|
|
569
|
-
type: Array,
|
|
570
|
-
},
|
|
571
|
-
locale: {
|
|
572
|
-
type: String,
|
|
573
|
-
},
|
|
574
|
-
currentUserEmail: {
|
|
575
|
-
type: String,
|
|
576
|
-
},
|
|
577
|
-
currentUserName: {
|
|
578
|
-
type: String,
|
|
579
|
-
},
|
|
580
|
-
currentUserPicture: {
|
|
581
|
-
type: String,
|
|
582
|
-
},
|
|
583
|
-
title: {
|
|
584
|
-
type: String,
|
|
585
|
-
},
|
|
586
|
-
imageBig: {
|
|
587
|
-
type: String,
|
|
588
|
-
},
|
|
589
|
-
imageSmall: {
|
|
590
|
-
type: String,
|
|
591
|
-
},
|
|
592
|
-
},
|
|
593
|
-
methods: {
|
|
594
|
-
onMobileMenuClick() {
|
|
595
|
-
this.mobileMenuOpen = !this.mobileMenuOpen;
|
|
596
|
-
},
|
|
597
|
-
}
|
|
598
|
-
});
|
|
599
|
-
|
|
600
535
|
const _hoisted_1$l = { class: "navbar" };
|
|
601
536
|
const _hoisted_2$a = { class: "navbar-container" };
|
|
602
537
|
const _hoisted_3$8 = { class: "flex-header" };
|
|
603
538
|
const _hoisted_4$3 = { class: "menu-toggle" };
|
|
604
539
|
const _hoisted_5$2 = { class: "title-container" };
|
|
605
540
|
|
|
606
|
-
function render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
607
|
-
const _component_mobile_menu_button = vue.resolveComponent("mobile-menu-button");
|
|
608
|
-
const _component_navbar_title = vue.resolveComponent("navbar-title");
|
|
609
|
-
const _component_navigation_links = vue.resolveComponent("navigation-links");
|
|
610
|
-
const _component_right_content = vue.resolveComponent("right-content");
|
|
611
|
-
const _component_mobile_navigation_links = vue.resolveComponent("mobile-navigation-links");
|
|
612
541
|
|
|
542
|
+
var script$n = {
|
|
543
|
+
__name: 'Navbar',
|
|
544
|
+
props: {
|
|
545
|
+
links: Array,
|
|
546
|
+
locale: String,
|
|
547
|
+
currentUserEmail: String,
|
|
548
|
+
currentUserName: String,
|
|
549
|
+
currentUserPicture: String,
|
|
550
|
+
title: String,
|
|
551
|
+
imageBig: String,
|
|
552
|
+
imageSmall: String,
|
|
553
|
+
},
|
|
554
|
+
setup(__props) {
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
const mobileMenuOpen = vue.ref(false);
|
|
559
|
+
const onMobileMenuClick = () => {
|
|
560
|
+
mobileMenuOpen.value = !mobileMenuOpen.value;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
return (_ctx, _cache) => {
|
|
613
564
|
return (vue.openBlock(), vue.createElementBlock("nav", _hoisted_1$l, [
|
|
614
565
|
vue.createElementVNode("div", _hoisted_2$a, [
|
|
615
566
|
vue.createElementVNode("div", _hoisted_3$8, [
|
|
616
567
|
vue.createElementVNode("div", _hoisted_4$3, [
|
|
617
|
-
vue.createVNode(
|
|
618
|
-
onClick:
|
|
619
|
-
open:
|
|
620
|
-
}, null, 8 /* PROPS */, ["
|
|
568
|
+
vue.createVNode(script$o, {
|
|
569
|
+
onClick: onMobileMenuClick,
|
|
570
|
+
open: mobileMenuOpen.value
|
|
571
|
+
}, null, 8 /* PROPS */, ["open"])
|
|
621
572
|
]),
|
|
622
573
|
vue.createElementVNode("div", _hoisted_5$2, [
|
|
623
|
-
vue.createVNode(
|
|
574
|
+
vue.createVNode(script$q, {
|
|
624
575
|
href: "/",
|
|
625
|
-
title:
|
|
626
|
-
imageBig:
|
|
627
|
-
imageSmall:
|
|
576
|
+
title: __props.title,
|
|
577
|
+
imageBig: __props.imageBig,
|
|
578
|
+
imageSmall: __props.imageSmall
|
|
628
579
|
}, null, 8 /* PROPS */, ["title", "imageBig", "imageSmall"]),
|
|
629
|
-
vue.createVNode(
|
|
580
|
+
vue.createVNode(script$r, { links: __props.links }, null, 8 /* PROPS */, ["links"])
|
|
630
581
|
]),
|
|
631
|
-
vue.createVNode(
|
|
632
|
-
locale:
|
|
633
|
-
"current-user-email":
|
|
634
|
-
"current-user-name":
|
|
635
|
-
"current-user-picture":
|
|
582
|
+
vue.createVNode(script$p, {
|
|
583
|
+
locale: __props.locale,
|
|
584
|
+
"current-user-email": __props.currentUserEmail,
|
|
585
|
+
"current-user-name": __props.currentUserName,
|
|
586
|
+
"current-user-picture": __props.currentUserPicture
|
|
636
587
|
}, null, 8 /* PROPS */, ["locale", "current-user-email", "current-user-name", "current-user-picture"])
|
|
637
588
|
])
|
|
638
589
|
]),
|
|
639
|
-
vue.createVNode(
|
|
640
|
-
links:
|
|
641
|
-
open:
|
|
590
|
+
vue.createVNode(script$t, {
|
|
591
|
+
links: __props.links,
|
|
592
|
+
open: mobileMenuOpen.value
|
|
642
593
|
}, null, 8 /* PROPS */, ["links", "open"])
|
|
643
594
|
]))
|
|
644
595
|
}
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
};
|
|
645
599
|
|
|
646
600
|
var css_248z$i = "\n.navbar[data-v-1b5caf34] {\n background-color: var(--color-navbar-background);\n}\n.navbar-container[data-v-1b5caf34] {\n max-width: 80rem;\n margin-left: auto;\n margin-right: auto;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.flex-header[data-v-1b5caf34] {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 4rem;\n}\n.menu-toggle[data-v-1b5caf34] {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n display: flex;\n align-items: center;\n}\n.title-container[data-v-1b5caf34] {\n flex: 1 1 0%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n@media (min-width: 640px) {\n.navbar-container[data-v-1b5caf34] {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n.menu-toggle[data-v-1b5caf34] {\n display: none;\n}\n.title-container[data-v-1b5caf34] {\n align-items: stretch;\n justify-content: flex-start;\n}\n}\n@media (min-width: 1024px) {\n.navbar-container[data-v-1b5caf34] {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n}\n";
|
|
647
601
|
styleInject(css_248z$i);
|
|
648
602
|
|
|
649
|
-
script$n.render = render$n;
|
|
650
603
|
script$n.__scopeId = "data-v-1b5caf34";
|
|
651
604
|
script$n.__file = "src/Navbar/Navbar.vue";
|
|
652
605
|
|
|
653
|
-
var script$m = vue.defineComponent({
|
|
654
|
-
name: "StyledTable",
|
|
655
|
-
});
|
|
656
|
-
|
|
657
606
|
const _hoisted_1$k = { class: "styled-table" };
|
|
658
607
|
|
|
659
|
-
|
|
608
|
+
|
|
609
|
+
var script$m = {
|
|
610
|
+
__name: 'StyledTable',
|
|
611
|
+
setup(__props) {
|
|
612
|
+
|
|
613
|
+
// No logic needed
|
|
614
|
+
|
|
615
|
+
return (_ctx, _cache) => {
|
|
660
616
|
return (vue.openBlock(), vue.createElementBlock("table", _hoisted_1$k, [
|
|
661
617
|
vue.renderSlot(_ctx.$slots, "default")
|
|
662
618
|
]))
|
|
663
619
|
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
};
|
|
664
623
|
|
|
665
624
|
var css_248z$h = "\n.styled-table[data-v-8e6b2044] {\n width: 100%;\n border-collapse: collapse;\n}\n";
|
|
666
625
|
styleInject(css_248z$h);
|
|
667
626
|
|
|
668
|
-
script$m.render = render$m;
|
|
669
627
|
script$m.__scopeId = "data-v-8e6b2044";
|
|
670
628
|
script$m.__file = "src/StyledTable/StyledTable.vue";
|
|
671
629
|
|
|
672
|
-
|
|
673
|
-
|
|
630
|
+
const _hoisted_1$j = ["disabled"];
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
var script$l = {
|
|
634
|
+
__name: 'RegularButton',
|
|
674
635
|
props: {
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
},
|
|
680
|
-
textWhileLoading: {
|
|
681
|
-
type: String,
|
|
682
|
-
default: '...',
|
|
683
|
-
},
|
|
636
|
+
text: String,
|
|
637
|
+
loading: {
|
|
638
|
+
type: Boolean,
|
|
639
|
+
default: false,
|
|
684
640
|
},
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
if (this.loading) {
|
|
689
|
-
return 'regular-button loading';
|
|
690
|
-
}
|
|
691
|
-
return 'regular-button'
|
|
692
|
-
},
|
|
693
|
-
},
|
|
694
|
-
methods: {
|
|
695
|
-
onClick(evt) {
|
|
696
|
-
this.$emit('click', evt);
|
|
697
|
-
},
|
|
641
|
+
textWhileLoading: {
|
|
642
|
+
type: String,
|
|
643
|
+
default: '...',
|
|
698
644
|
},
|
|
645
|
+
},
|
|
646
|
+
emits: ['click'],
|
|
647
|
+
setup(__props, { emit: __emit }) {
|
|
648
|
+
|
|
649
|
+
const props = __props;
|
|
650
|
+
|
|
651
|
+
const emit = __emit;
|
|
652
|
+
|
|
653
|
+
const cssClass = vue.computed(() => {
|
|
654
|
+
if (props.loading) {
|
|
655
|
+
return 'regular-button loading';
|
|
656
|
+
}
|
|
657
|
+
return 'regular-button';
|
|
699
658
|
});
|
|
700
659
|
|
|
701
|
-
const
|
|
660
|
+
const onClick = (evt) => {
|
|
661
|
+
emit('click', evt);
|
|
662
|
+
};
|
|
702
663
|
|
|
703
|
-
|
|
664
|
+
return (_ctx, _cache) => {
|
|
704
665
|
return (vue.openBlock(), vue.createElementBlock("button", {
|
|
705
|
-
onClick:
|
|
706
|
-
class: vue.normalizeClass(
|
|
707
|
-
disabled:
|
|
708
|
-
}, vue.toDisplayString(
|
|
666
|
+
onClick: onClick,
|
|
667
|
+
class: vue.normalizeClass(cssClass.value),
|
|
668
|
+
disabled: __props.loading
|
|
669
|
+
}, vue.toDisplayString(__props.loading ? __props.textWhileLoading : __props.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$j))
|
|
670
|
+
}
|
|
709
671
|
}
|
|
710
672
|
|
|
673
|
+
};
|
|
674
|
+
|
|
711
675
|
var css_248z$g = "\n.regular-button[data-v-7c962c54] {\n background-color: var(--color-regular);\n color: var(--color-regular-text);\n font-weight: var(--font-weight-bold);\n padding: var(--button-padding);\n border-radius: var(--border-radius-base);\n border: var(--button-border);\n cursor: pointer;\n transition: var(--button-transition);\n}\n.regular-button[data-v-7c962c54]:hover {\n background-color: var(--color-regular-hover);\n}\n\n/* Loading state */\n.loading[data-v-7c962c54] {\n background-color: var(--color-regular-disabled);\n cursor: wait;\n}\n.loading[data-v-7c962c54]:hover {\n background-color: var(--color-regular-disabled);\n}\n";
|
|
712
676
|
styleInject(css_248z$g);
|
|
713
677
|
|
|
714
|
-
script$l.render = render$l;
|
|
715
678
|
script$l.__scopeId = "data-v-7c962c54";
|
|
716
679
|
script$l.__file = "src/Buttons/RegularButton/RegularButton.vue";
|
|
717
680
|
|
|
718
|
-
var script$k = vue.defineComponent({
|
|
719
|
-
name: "Pagination",
|
|
720
|
-
props: {
|
|
721
|
-
previousLabel: String,
|
|
722
|
-
nextLabel: String,
|
|
723
|
-
showPrevious: Boolean,
|
|
724
|
-
previousLink: String,
|
|
725
|
-
nextLink: String,
|
|
726
|
-
},
|
|
727
|
-
components: {
|
|
728
|
-
RegularButton: script$l,
|
|
729
|
-
},
|
|
730
|
-
});
|
|
731
|
-
|
|
732
681
|
const _hoisted_1$i = { class: "pagination-container" };
|
|
733
682
|
const _hoisted_2$9 = ["href"];
|
|
734
683
|
const _hoisted_3$7 = ["href"];
|
|
735
684
|
|
|
736
|
-
function render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
737
|
-
const _component_regular_button = vue.resolveComponent("regular-button");
|
|
738
685
|
|
|
686
|
+
var script$k = {
|
|
687
|
+
__name: 'Pagination',
|
|
688
|
+
props: {
|
|
689
|
+
previousLabel: String,
|
|
690
|
+
nextLabel: String,
|
|
691
|
+
showPrevious: Boolean,
|
|
692
|
+
previousLink: String,
|
|
693
|
+
nextLink: String,
|
|
694
|
+
},
|
|
695
|
+
setup(__props) {
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
return (_ctx, _cache) => {
|
|
739
700
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
|
|
740
|
-
(
|
|
701
|
+
(__props.showPrevious)
|
|
741
702
|
? (vue.openBlock(), vue.createElementBlock("a", {
|
|
742
703
|
key: 0,
|
|
743
|
-
href:
|
|
704
|
+
href: __props.previousLink
|
|
744
705
|
}, [
|
|
745
|
-
vue.createVNode(
|
|
706
|
+
vue.createVNode(script$l, { text: __props.previousLabel }, null, 8 /* PROPS */, ["text"])
|
|
746
707
|
], 8 /* PROPS */, _hoisted_2$9))
|
|
747
708
|
: vue.createCommentVNode("v-if", true),
|
|
748
|
-
vue.createElementVNode("a", { href:
|
|
749
|
-
vue.createVNode(
|
|
709
|
+
vue.createElementVNode("a", { href: __props.nextLink }, [
|
|
710
|
+
vue.createVNode(script$l, { text: __props.nextLabel }, null, 8 /* PROPS */, ["text"])
|
|
750
711
|
], 8 /* PROPS */, _hoisted_3$7)
|
|
751
712
|
]))
|
|
752
713
|
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
};
|
|
753
717
|
|
|
754
718
|
var css_248z$f = "\n.pagination-container[data-v-265c87a6] {\n display: flex;\n justify-content: space-between;\n margin-top: 1rem;\n}\na[data-v-265c87a6] {\n text-decoration: none;\n}\n";
|
|
755
719
|
styleInject(css_248z$f);
|
|
756
720
|
|
|
757
|
-
script$k.render = render$k;
|
|
758
721
|
script$k.__scopeId = "data-v-265c87a6";
|
|
759
722
|
script$k.__file = "src/Pagination/Pagination.vue";
|
|
760
723
|
|
|
761
|
-
|
|
762
|
-
|
|
724
|
+
const _hoisted_1$h = { class: "badge" };
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
var script$j = {
|
|
728
|
+
__name: 'Badge',
|
|
763
729
|
props: {
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
730
|
+
text: String,
|
|
731
|
+
},
|
|
732
|
+
setup(__props) {
|
|
733
|
+
|
|
767
734
|
|
|
768
|
-
const _hoisted_1$h = { class: "badge" };
|
|
769
735
|
|
|
770
|
-
|
|
771
|
-
return (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$h, vue.toDisplayString(
|
|
736
|
+
return (_ctx, _cache) => {
|
|
737
|
+
return (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$h, vue.toDisplayString(__props.text), 1 /* TEXT */))
|
|
772
738
|
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
};
|
|
773
742
|
|
|
774
743
|
var css_248z$e = "\n.badge[data-v-187659a4] {\n background-color: var(--color-badge);\n color: var(--color-badge-text);\n font-size: var(--font-size-small);\n font-weight: var(--font-weight-bold);\n margin-right: var(--badge-margin-right);\n padding: var(--badge-padding);\n border-radius: var(--badge-border-radius);\n display: inline-block;\n}\n.dark .badge[data-v-187659a4] {\n background-color: var(--color-badge-dark);\n color: var(--color-badge-dark-text);\n}\n";
|
|
775
744
|
styleInject(css_248z$e);
|
|
776
745
|
|
|
777
|
-
script$j.render = render$j;
|
|
778
746
|
script$j.__scopeId = "data-v-187659a4";
|
|
779
747
|
script$j.__file = "src/Badge/Badge.vue";
|
|
780
748
|
|
|
781
|
-
var script$i = vue.defineComponent({
|
|
782
|
-
name: "Temperature",
|
|
783
|
-
props: {
|
|
784
|
-
title: String,
|
|
785
|
-
min: Number,
|
|
786
|
-
max: Number,
|
|
787
|
-
avg: Number
|
|
788
|
-
},
|
|
789
|
-
computed: {
|
|
790
|
-
minFormatted() {
|
|
791
|
-
return this.min.toFixed(2);
|
|
792
|
-
},
|
|
793
|
-
avgFormatted() {
|
|
794
|
-
return this.avg.toFixed(2);
|
|
795
|
-
},
|
|
796
|
-
maxFormatted() {
|
|
797
|
-
return this.max.toFixed(2);
|
|
798
|
-
},
|
|
799
|
-
},
|
|
800
|
-
});
|
|
801
|
-
|
|
802
749
|
const _hoisted_1$g = { class: "wrapper" };
|
|
803
750
|
const _hoisted_2$8 = { class: "title" };
|
|
804
751
|
const _hoisted_3$6 = { class: "avg" };
|
|
@@ -806,40 +753,97 @@ const _hoisted_4$2 = { class: "minmax" };
|
|
|
806
753
|
const _hoisted_5$1 = { class: "min" };
|
|
807
754
|
const _hoisted_6 = { class: "max" };
|
|
808
755
|
|
|
809
|
-
|
|
756
|
+
var script$i = {
|
|
757
|
+
__name: 'Temperature',
|
|
758
|
+
props: {
|
|
759
|
+
title: String,
|
|
760
|
+
min: Number,
|
|
761
|
+
max: Number,
|
|
762
|
+
avg: Number
|
|
763
|
+
},
|
|
764
|
+
setup(__props) {
|
|
765
|
+
|
|
766
|
+
const props = __props;
|
|
767
|
+
const minFormatted = vue.computed(() => props.min.toFixed(2));
|
|
768
|
+
const avgFormatted = vue.computed(() => props.avg.toFixed(2));
|
|
769
|
+
const maxFormatted = vue.computed(() => props.max.toFixed(2));
|
|
770
|
+
|
|
771
|
+
return (_ctx, _cache) => {
|
|
810
772
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
|
|
811
|
-
vue.createElementVNode("div", _hoisted_2$8, vue.toDisplayString(
|
|
812
|
-
vue.createElementVNode("div", _hoisted_3$6, vue.toDisplayString(
|
|
773
|
+
vue.createElementVNode("div", _hoisted_2$8, vue.toDisplayString(__props.title), 1 /* TEXT */),
|
|
774
|
+
vue.createElementVNode("div", _hoisted_3$6, vue.toDisplayString(avgFormatted.value) + " ℃", 1 /* TEXT */),
|
|
813
775
|
vue.createElementVNode("div", _hoisted_4$2, [
|
|
814
|
-
vue.createElementVNode("div", _hoisted_5$1, vue.toDisplayString(
|
|
776
|
+
vue.createElementVNode("div", _hoisted_5$1, vue.toDisplayString(minFormatted.value) + " ℃", 1 /* TEXT */),
|
|
815
777
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "separator" }, "—", -1 /* HOISTED */)),
|
|
816
|
-
vue.createElementVNode("div", _hoisted_6, vue.toDisplayString(
|
|
778
|
+
vue.createElementVNode("div", _hoisted_6, vue.toDisplayString(maxFormatted.value) + " ℃", 1 /* TEXT */)
|
|
817
779
|
])
|
|
818
780
|
]))
|
|
819
781
|
}
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
};
|
|
820
785
|
|
|
821
786
|
var css_248z$d = "\n.wrapper[data-v-4250e6d0] {\n flex-direction: column;\n display: inline-flex;\n}\n.avg[data-v-4250e6d0] {\n display: flex;\n font-size: var(--font-size-xlarge);\n justify-content: center;\n}\n.title[data-v-4250e6d0] {\n display: flex;\n font-size: var(--font-size-base);\n justify-content: center;\n}\n.minmax[data-v-4250e6d0] {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n font-size: var(--font-size-base);\n}\n";
|
|
822
787
|
styleInject(css_248z$d);
|
|
823
788
|
|
|
824
|
-
script$i.render = render$i;
|
|
825
789
|
script$i.__scopeId = "data-v-4250e6d0";
|
|
826
790
|
script$i.__file = "src/Temperature/Temperature.vue";
|
|
827
791
|
|
|
828
|
-
var script$h =
|
|
829
|
-
|
|
830
|
-
emits: ['cancel', 'confirm'],
|
|
792
|
+
var script$h = {
|
|
793
|
+
__name: 'SecondaryButton',
|
|
831
794
|
props: {
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
795
|
+
text: String,
|
|
796
|
+
},
|
|
797
|
+
emits: ['click'],
|
|
798
|
+
setup(__props, { emit: __emit }) {
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
const emit = __emit;
|
|
802
|
+
const onClick = (evt) => emit('click', evt);
|
|
803
|
+
|
|
804
|
+
return (_ctx, _cache) => {
|
|
805
|
+
return (vue.openBlock(), vue.createElementBlock("button", {
|
|
806
|
+
class: "secondary-button",
|
|
807
|
+
onClick: onClick
|
|
808
|
+
}, vue.toDisplayString(__props.text), 1 /* TEXT */))
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
var css_248z$c = "\n.secondary-button[data-v-5bb3ed46] {\n background-color: var(--color-secondary);\n color: var(--color-secondary-text);\n font-weight: var(--font-weight-bold);\n padding: var(--button-padding);\n border-radius: var(--border-radius-base);\n border: var(--button-border);\n cursor: pointer;\n transition: var(--button-transition);\n}\n.secondary-button[data-v-5bb3ed46]:hover {\n background-color: var(--color-secondary-hover);\n}\n";
|
|
815
|
+
styleInject(css_248z$c);
|
|
816
|
+
|
|
817
|
+
script$h.__scopeId = "data-v-5bb3ed46";
|
|
818
|
+
script$h.__file = "src/Buttons/SecondaryButton/SecondaryButton.vue";
|
|
819
|
+
|
|
820
|
+
var script$g = {
|
|
821
|
+
__name: 'DangerButton',
|
|
822
|
+
props: {
|
|
823
|
+
text: String,
|
|
824
|
+
},
|
|
825
|
+
emits: ['click'],
|
|
826
|
+
setup(__props, { emit: __emit }) {
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
const emit = __emit;
|
|
830
|
+
const onClick = (evt) => emit('click', evt);
|
|
831
|
+
|
|
832
|
+
return (_ctx, _cache) => {
|
|
833
|
+
return (vue.openBlock(), vue.createElementBlock("button", {
|
|
834
|
+
class: "danger-button",
|
|
835
|
+
onClick: onClick
|
|
836
|
+
}, vue.toDisplayString(__props.text), 1 /* TEXT */))
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
var css_248z$b = "\n.danger-button[data-v-5e080598] {\n background-color: var(--color-danger);\n color: var(--color-danger-text);\n font-weight: var(--font-weight-bold);\n padding: var(--button-padding);\n border-radius: var(--border-radius-base);\n border: var(--button-border);\n cursor: pointer;\n transition: var(--button-transition);\n}\n.danger-button[data-v-5e080598]:hover {\n background-color: var(--color-danger-hover);\n}\n";
|
|
843
|
+
styleInject(css_248z$b);
|
|
844
|
+
|
|
845
|
+
script$g.__scopeId = "data-v-5e080598";
|
|
846
|
+
script$g.__file = "src/Buttons/DangerButton/DangerButton.vue";
|
|
843
847
|
|
|
844
848
|
const _hoisted_1$f = {
|
|
845
849
|
key: 0,
|
|
@@ -847,78 +851,99 @@ const _hoisted_1$f = {
|
|
|
847
851
|
};
|
|
848
852
|
const _hoisted_2$7 = { class: "modal-container" };
|
|
849
853
|
|
|
850
|
-
function render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
851
|
-
const _component_secondary_button = vue.resolveComponent("secondary-button");
|
|
852
|
-
const _component_danger_button = vue.resolveComponent("danger-button");
|
|
853
854
|
|
|
854
|
-
|
|
855
|
+
var script$f = {
|
|
856
|
+
__name: 'Modal',
|
|
857
|
+
props: {
|
|
858
|
+
open: Boolean,
|
|
859
|
+
},
|
|
860
|
+
emits: ['cancel', 'confirm'],
|
|
861
|
+
setup(__props, { emit: __emit }) {
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
const emit = __emit;
|
|
865
|
+
const onCancel = (evt) => emit('cancel', evt);
|
|
866
|
+
const onConfirm = (evt) => emit('confirm', evt);
|
|
867
|
+
|
|
868
|
+
return (_ctx, _cache) => {
|
|
869
|
+
return (__props.open)
|
|
855
870
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
|
|
856
871
|
vue.createElementVNode("div", _hoisted_2$7, [
|
|
857
872
|
_cache[0] || (_cache[0] = vue.createElementVNode("h1", { class: "modal-title" }, "Are you sure?", -1 /* HOISTED */)),
|
|
858
|
-
vue.createVNode(
|
|
859
|
-
onClick:
|
|
873
|
+
vue.createVNode(script$h, {
|
|
874
|
+
onClick: onCancel,
|
|
860
875
|
text: "No"
|
|
861
|
-
}
|
|
862
|
-
vue.createVNode(
|
|
876
|
+
}),
|
|
877
|
+
vue.createVNode(script$g, {
|
|
863
878
|
class: "ml-2",
|
|
864
|
-
onClick:
|
|
879
|
+
onClick: onConfirm,
|
|
865
880
|
text: "Yes"
|
|
866
|
-
}
|
|
881
|
+
})
|
|
867
882
|
])
|
|
868
883
|
]))
|
|
869
884
|
: vue.createCommentVNode("v-if", true)
|
|
870
885
|
}
|
|
886
|
+
}
|
|
871
887
|
|
|
872
|
-
|
|
873
|
-
styleInject(css_248z$c);
|
|
888
|
+
};
|
|
874
889
|
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
script$h.__file = "src/Modal/Modal.vue";
|
|
890
|
+
var css_248z$a = "\n.modal-overlay[data-v-11d137c2] {\n background-color: var(--color-modal-overlay);\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.modal-container[data-v-11d137c2] {\n background-color: var(--color-modal-background);\n padding: 3.5rem 4rem;\n border-radius: var(--border-radius-big);\n text-align: center;\n}\n.modal-title[data-v-11d137c2] {\n font-size: var(--font-size-large);\n margin-bottom: 1rem;\n font-weight: var(--font-weight-bold);\n color: var(--color-modal-title);\n}\n";
|
|
891
|
+
styleInject(css_248z$a);
|
|
878
892
|
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
});
|
|
893
|
+
script$f.__scopeId = "data-v-11d137c2";
|
|
894
|
+
script$f.__file = "src/Modal/Modal.vue";
|
|
882
895
|
|
|
883
896
|
const _hoisted_1$e = {
|
|
884
897
|
class: "spinner",
|
|
885
898
|
role: "status"
|
|
886
899
|
};
|
|
887
900
|
|
|
888
|
-
|
|
901
|
+
|
|
902
|
+
var script$e = {
|
|
903
|
+
__name: 'Spinner',
|
|
904
|
+
setup(__props) {
|
|
905
|
+
|
|
906
|
+
// No logic needed
|
|
907
|
+
|
|
908
|
+
return (_ctx, _cache) => {
|
|
889
909
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, _cache[0] || (_cache[0] = [
|
|
890
910
|
vue.createElementVNode("span", { class: "sr-only-text" }, "Please wait...", -1 /* HOISTED */)
|
|
891
911
|
])))
|
|
892
912
|
}
|
|
913
|
+
}
|
|
893
914
|
|
|
894
|
-
|
|
895
|
-
styleInject(css_248z$b);
|
|
915
|
+
};
|
|
896
916
|
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
script$g.__file = "src/Spinner/Spinner.vue";
|
|
917
|
+
var css_248z$9 = "\n.spinner[data-v-3d456f9a] {\n display: inline-block;\n height: 2rem;\n width: 2rem;\n border: 4px solid currentColor;\n border-right-color: transparent;\n border-radius: var(--border-radius-round);\n animation: spin-3d456f9a 1.5s linear infinite;\n}\n.sr-only-text[data-v-3d456f9a] {\n position: absolute;\n margin: -1px;\n height: 1px;\n width: 1px;\n overflow: hidden;\n white-space: nowrap;\n border: 0;\n padding: 0;\n clip: rect(0, 0, 0, 0);\n}\n@keyframes spin-3d456f9a {\nfrom {\n transform: rotate(0deg);\n}\nto {\n transform: rotate(360deg);\n}\n}\n";
|
|
918
|
+
styleInject(css_248z$9);
|
|
900
919
|
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
props: {
|
|
904
|
-
ranges: Array,
|
|
905
|
-
},
|
|
906
|
-
});
|
|
920
|
+
script$e.__scopeId = "data-v-3d456f9a";
|
|
921
|
+
script$e.__file = "src/Spinner/Spinner.vue";
|
|
907
922
|
|
|
908
923
|
const _hoisted_1$d = { class: "ranges-editor" };
|
|
909
924
|
const _hoisted_2$6 = { class: "labels" };
|
|
910
925
|
const _hoisted_3$5 = { class: "label" };
|
|
911
926
|
const _hoisted_4$1 = { class: "label" };
|
|
912
927
|
|
|
913
|
-
|
|
928
|
+
|
|
929
|
+
var script$d = {
|
|
930
|
+
__name: 'RangeView',
|
|
931
|
+
props: {
|
|
932
|
+
ranges: Array,
|
|
933
|
+
},
|
|
934
|
+
setup(__props) {
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
return (_ctx, _cache) => {
|
|
914
939
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
915
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
940
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.ranges, (range, index) => {
|
|
916
941
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
917
942
|
class: "range",
|
|
918
943
|
key: range.id
|
|
919
944
|
}, [
|
|
920
945
|
vue.createElementVNode("div", _hoisted_2$6, [
|
|
921
|
-
vue.createElementVNode("span", _hoisted_3$5, vue.toDisplayString(index <
|
|
946
|
+
vue.createElementVNode("span", _hoisted_3$5, vue.toDisplayString(index < __props.ranges.length - 1 ? range.max : ' '), 1 /* TEXT */)
|
|
922
947
|
]),
|
|
923
948
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "gap" }, null, -1 /* HOISTED */)),
|
|
924
949
|
vue.createElementVNode("span", _hoisted_4$1, vue.toDisplayString(range.label), 1 /* TEXT */)
|
|
@@ -926,365 +951,277 @@ function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
926
951
|
}), 128 /* KEYED_FRAGMENT */))
|
|
927
952
|
]))
|
|
928
953
|
}
|
|
954
|
+
}
|
|
929
955
|
|
|
930
|
-
|
|
931
|
-
styleInject(css_248z$a);
|
|
956
|
+
};
|
|
932
957
|
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
script$f.__file = "src/RangeView/RangeView.vue";
|
|
958
|
+
var css_248z$8 = "\n.ranges-editor[data-v-3e589c2c] {\n display: flex;\n flex-direction: row;\n cursor: pointer;\n}\n.range[data-v-3e589c2c] {\n min-width: 50px;\n text-align: center;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n}\n.labels[data-v-3e589c2c] {\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n}\n.gap[data-v-3e589c2c] {\n height: 10px;\n width: auto;\n background-color: red;\n border: 1px solid black;\n}\n.label[data-v-3e589c2c] {\n margin-top: 5px;\n}\n";
|
|
959
|
+
styleInject(css_248z$8);
|
|
936
960
|
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
props: {
|
|
940
|
-
text: String,
|
|
941
|
-
},
|
|
942
|
-
});
|
|
961
|
+
script$d.__scopeId = "data-v-3e589c2c";
|
|
962
|
+
script$d.__file = "src/RangeView/RangeView.vue";
|
|
943
963
|
|
|
944
964
|
const _hoisted_1$c = {
|
|
945
965
|
class: "reset-button",
|
|
946
966
|
type: "reset"
|
|
947
967
|
};
|
|
948
968
|
|
|
949
|
-
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
950
|
-
return (vue.openBlock(), vue.createElementBlock("button", _hoisted_1$c, vue.toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
var css_248z$9 = "\n.reset-button[data-v-70384d7c] {\n background-color: var(--color-reset);\n color: var(--color-reset-text);\n font-weight: var(--font-weight-bold);\n padding: var(--button-padding);\n border-radius: var(--border-radius-base);\n border: var(--button-border);\n cursor: pointer;\n transition: var(--button-transition);\n}\n.reset-button[data-v-70384d7c]:hover {\n background-color: var(--color-reset-hover);\n}\n";
|
|
954
|
-
styleInject(css_248z$9);
|
|
955
|
-
|
|
956
|
-
script$e.render = render$e;
|
|
957
|
-
script$e.__scopeId = "data-v-70384d7c";
|
|
958
|
-
script$e.__file = "src/Buttons/ResetButton/ResetButton.vue";
|
|
959
969
|
|
|
960
|
-
var script$
|
|
961
|
-
|
|
970
|
+
var script$c = {
|
|
971
|
+
__name: 'ResetButton',
|
|
962
972
|
props: {
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
disabled: {
|
|
967
|
-
type: Boolean,
|
|
968
|
-
},
|
|
969
|
-
},
|
|
970
|
-
});
|
|
973
|
+
text: String,
|
|
974
|
+
},
|
|
975
|
+
setup(__props) {
|
|
971
976
|
|
|
972
|
-
const _hoisted_1$b = ["disabled"];
|
|
973
977
|
|
|
974
|
-
function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
975
|
-
return (vue.openBlock(), vue.createElementBlock("button", {
|
|
976
|
-
class: "submit-button",
|
|
977
|
-
type: "submit",
|
|
978
|
-
disabled: _ctx.disabled
|
|
979
|
-
}, vue.toDisplayString(_ctx.text), 9 /* TEXT, PROPS */, _hoisted_1$b))
|
|
980
|
-
}
|
|
981
978
|
|
|
982
|
-
|
|
983
|
-
|
|
979
|
+
return (_ctx, _cache) => {
|
|
980
|
+
return (vue.openBlock(), vue.createElementBlock("button", _hoisted_1$c, vue.toDisplayString(__props.text), 1 /* TEXT */))
|
|
981
|
+
}
|
|
982
|
+
}
|
|
984
983
|
|
|
985
|
-
|
|
986
|
-
script$d.__scopeId = "data-v-f7f11890";
|
|
987
|
-
script$d.__file = "src/Buttons/SubmitButton/SubmitButton.vue";
|
|
984
|
+
};
|
|
988
985
|
|
|
989
|
-
var
|
|
990
|
-
|
|
991
|
-
props: {
|
|
992
|
-
text: String,
|
|
993
|
-
},
|
|
994
|
-
emits: ['click'],
|
|
995
|
-
methods: {
|
|
996
|
-
onClick(evt) {
|
|
997
|
-
this.$emit('click', evt);
|
|
998
|
-
},
|
|
999
|
-
},
|
|
1000
|
-
});
|
|
986
|
+
var css_248z$7 = "\n.reset-button[data-v-70384d7c] {\n background-color: var(--color-reset);\n color: var(--color-reset-text);\n font-weight: var(--font-weight-bold);\n padding: var(--button-padding);\n border-radius: var(--border-radius-base);\n border: var(--button-border);\n cursor: pointer;\n transition: var(--button-transition);\n}\n.reset-button[data-v-70384d7c]:hover {\n background-color: var(--color-reset-hover);\n}\n";
|
|
987
|
+
styleInject(css_248z$7);
|
|
1001
988
|
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
class: "secondary-button",
|
|
1005
|
-
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.onClick && _ctx.onClick(...args)))
|
|
1006
|
-
}, vue.toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
1007
|
-
}
|
|
989
|
+
script$c.__scopeId = "data-v-70384d7c";
|
|
990
|
+
script$c.__file = "src/Buttons/ResetButton/ResetButton.vue";
|
|
1008
991
|
|
|
1009
|
-
|
|
1010
|
-
styleInject(css_248z$7);
|
|
992
|
+
const _hoisted_1$b = ["disabled"];
|
|
1011
993
|
|
|
1012
|
-
script$c.render = render$c;
|
|
1013
|
-
script$c.__scopeId = "data-v-5bb3ed46";
|
|
1014
|
-
script$c.__file = "src/Buttons/SecondaryButton/SecondaryButton.vue";
|
|
1015
994
|
|
|
1016
|
-
var script$b =
|
|
1017
|
-
|
|
995
|
+
var script$b = {
|
|
996
|
+
__name: 'SubmitButton',
|
|
1018
997
|
props: {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
onClick(evt) {
|
|
1024
|
-
this.$emit('click', evt);
|
|
1025
|
-
},
|
|
1026
|
-
},
|
|
1027
|
-
});
|
|
998
|
+
text: String,
|
|
999
|
+
disabled: Boolean,
|
|
1000
|
+
},
|
|
1001
|
+
setup(__props) {
|
|
1028
1002
|
|
|
1029
|
-
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
return (_ctx, _cache) => {
|
|
1030
1006
|
return (vue.openBlock(), vue.createElementBlock("button", {
|
|
1031
|
-
class: "
|
|
1032
|
-
|
|
1033
|
-
|
|
1007
|
+
class: "submit-button",
|
|
1008
|
+
type: "submit",
|
|
1009
|
+
disabled: __props.disabled
|
|
1010
|
+
}, vue.toDisplayString(__props.text), 9 /* TEXT, PROPS */, _hoisted_1$b))
|
|
1034
1011
|
}
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
};
|
|
1035
1015
|
|
|
1036
|
-
var css_248z$6 = "\n.
|
|
1016
|
+
var css_248z$6 = "\n.submit-button[data-v-f7f11890] {\n background-color: var(--color-submit);\n color: var(--color-submit-text);\n font-weight: var(--font-weight-bold);\n padding: var(--button-padding);\n border-radius: var(--border-radius-base);\n border: var(--button-border);\n cursor: pointer;\n transition: var(--button-transition);\n}\n.submit-button[data-v-f7f11890]:hover {\n background-color: var(--color-submit-hover);\n}\n.submit-button[data-v-f7f11890]:disabled {\n background-color: var(--color-submit-disabled);\n cursor: not-allowed;\n}\n";
|
|
1037
1017
|
styleInject(css_248z$6);
|
|
1038
1018
|
|
|
1039
|
-
script$b.
|
|
1040
|
-
script$b.
|
|
1041
|
-
script$b.__file = "src/Buttons/DangerButton/DangerButton.vue";
|
|
1042
|
-
|
|
1043
|
-
var script$a = vue.defineComponent({
|
|
1044
|
-
name: "TextInput",
|
|
1045
|
-
props: {
|
|
1046
|
-
id: {
|
|
1047
|
-
type: String,
|
|
1048
|
-
},
|
|
1049
|
-
required: {
|
|
1050
|
-
type: Boolean,
|
|
1051
|
-
},
|
|
1052
|
-
disabled: {
|
|
1053
|
-
type: Boolean,
|
|
1054
|
-
},
|
|
1055
|
-
placeholder: {
|
|
1056
|
-
type: String,
|
|
1057
|
-
},
|
|
1058
|
-
label: {
|
|
1059
|
-
type: String,
|
|
1060
|
-
},
|
|
1061
|
-
text: {
|
|
1062
|
-
type: String,
|
|
1063
|
-
},
|
|
1064
|
-
},
|
|
1065
|
-
emits: ['update'],
|
|
1066
|
-
methods: {
|
|
1067
|
-
onInput(event) {
|
|
1068
|
-
this.$emit('update', event.target.value);
|
|
1069
|
-
},
|
|
1070
|
-
},
|
|
1071
|
-
});
|
|
1019
|
+
script$b.__scopeId = "data-v-f7f11890";
|
|
1020
|
+
script$b.__file = "src/Buttons/SubmitButton/SubmitButton.vue";
|
|
1072
1021
|
|
|
1073
1022
|
const _hoisted_1$a = { class: "text-input-container" };
|
|
1074
1023
|
const _hoisted_2$5 = ["for"];
|
|
1075
1024
|
const _hoisted_3$4 = ["id", "name", "required", "disabled", "placeholder", "value"];
|
|
1076
1025
|
|
|
1077
|
-
|
|
1026
|
+
|
|
1027
|
+
var script$a = {
|
|
1028
|
+
__name: 'TextInput',
|
|
1029
|
+
props: {
|
|
1030
|
+
id: String,
|
|
1031
|
+
required: Boolean,
|
|
1032
|
+
disabled: Boolean,
|
|
1033
|
+
placeholder: String,
|
|
1034
|
+
label: String,
|
|
1035
|
+
text: String,
|
|
1036
|
+
},
|
|
1037
|
+
emits: ['update'],
|
|
1038
|
+
setup(__props, { emit: __emit }) {
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
const emit = __emit;
|
|
1042
|
+
const onInput = (event) => emit('update', event.target.value);
|
|
1043
|
+
|
|
1044
|
+
return (_ctx, _cache) => {
|
|
1078
1045
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
1079
1046
|
vue.createElementVNode("label", {
|
|
1080
1047
|
class: "text-input-label",
|
|
1081
|
-
for:
|
|
1082
|
-
}, vue.toDisplayString(
|
|
1048
|
+
for: __props.id
|
|
1049
|
+
}, vue.toDisplayString(__props.label), 9 /* TEXT, PROPS */, _hoisted_2$5),
|
|
1083
1050
|
vue.createElementVNode("input", {
|
|
1084
1051
|
class: "text-input-field",
|
|
1085
|
-
id:
|
|
1086
|
-
name:
|
|
1087
|
-
required:
|
|
1088
|
-
disabled:
|
|
1089
|
-
placeholder:
|
|
1090
|
-
value:
|
|
1091
|
-
onInput:
|
|
1052
|
+
id: __props.id,
|
|
1053
|
+
name: __props.id,
|
|
1054
|
+
required: __props.required,
|
|
1055
|
+
disabled: __props.disabled,
|
|
1056
|
+
placeholder: __props.placeholder,
|
|
1057
|
+
value: __props.text,
|
|
1058
|
+
onInput: onInput,
|
|
1092
1059
|
type: "text"
|
|
1093
1060
|
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_3$4)
|
|
1094
1061
|
]))
|
|
1095
1062
|
}
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
};
|
|
1096
1066
|
|
|
1097
1067
|
var css_248z$5 = "\n.text-input-container[data-v-6df3547e] {\n margin-bottom: 1rem;\n}\n.text-input-label[data-v-6df3547e] {\n display: block;\n color: var(--color-text-input-label);\n font-size: var(--font-size-small);\n font-weight: var(--font-weight-bold);\n margin-bottom: 0.5rem;\n}\n.text-input-field[data-v-6df3547e] {\n box-shadow: 0 1px 3px var(--color-text-input-shadow);\n appearance: none;\n border: 1px solid var(--color-text-input-border);\n border-radius: var(--border-radius--base);\n width: 100%;\n padding: 0.5rem 0.75rem;\n color: var(--color-text-input);\n line-height: 1.25;\n transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;\n}\n.text-input-field[data-v-6df3547e]:focus {\n outline: none;\n box-shadow: 0 0 0 3px var(--color-text-input-shadow);\n border-color: var(--color-text-input-border-focus);\n}\n.text-input-field[data-v-6df3547e]:disabled {\n background-color: var(--color-input-disabled);\n cursor: not-allowed;\n}\n";
|
|
1098
1068
|
styleInject(css_248z$5);
|
|
1099
1069
|
|
|
1100
|
-
script$a.render = render$a;
|
|
1101
1070
|
script$a.__scopeId = "data-v-6df3547e";
|
|
1102
1071
|
script$a.__file = "src/Inputs/TextInput/TextInput.vue";
|
|
1103
1072
|
|
|
1104
|
-
var script$9 = vue.defineComponent({
|
|
1105
|
-
name: "CheckBoxInput",
|
|
1106
|
-
props: {
|
|
1107
|
-
id: {
|
|
1108
|
-
type: String,
|
|
1109
|
-
},
|
|
1110
|
-
required: {
|
|
1111
|
-
type: Boolean,
|
|
1112
|
-
},
|
|
1113
|
-
placeholder: {
|
|
1114
|
-
type: String,
|
|
1115
|
-
},
|
|
1116
|
-
label: {
|
|
1117
|
-
type: String,
|
|
1118
|
-
},
|
|
1119
|
-
checked: {
|
|
1120
|
-
type: Boolean,
|
|
1121
|
-
},
|
|
1122
|
-
},
|
|
1123
|
-
emits: ['update'],
|
|
1124
|
-
methods: {
|
|
1125
|
-
onInput(event) {
|
|
1126
|
-
this.$emit('update', event.target.value);
|
|
1127
|
-
},
|
|
1128
|
-
},
|
|
1129
|
-
});
|
|
1130
|
-
|
|
1131
1073
|
const _hoisted_1$9 = { class: "checkbox-container" };
|
|
1132
1074
|
const _hoisted_2$4 = ["id", "name", "required", "value"];
|
|
1133
1075
|
const _hoisted_3$3 = ["for"];
|
|
1134
1076
|
|
|
1135
|
-
|
|
1077
|
+
|
|
1078
|
+
var script$9 = {
|
|
1079
|
+
__name: 'CheckBoxInput',
|
|
1080
|
+
props: {
|
|
1081
|
+
id: String,
|
|
1082
|
+
required: Boolean,
|
|
1083
|
+
placeholder: String,
|
|
1084
|
+
label: String,
|
|
1085
|
+
checked: Boolean,
|
|
1086
|
+
},
|
|
1087
|
+
emits: ['update'],
|
|
1088
|
+
setup(__props, { emit: __emit }) {
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
const emit = __emit;
|
|
1092
|
+
const onInput = (event) => emit('update', event.target.value);
|
|
1093
|
+
|
|
1094
|
+
return (_ctx, _cache) => {
|
|
1136
1095
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
|
|
1137
1096
|
vue.createElementVNode("input", {
|
|
1138
|
-
id:
|
|
1139
|
-
name:
|
|
1140
|
-
required:
|
|
1141
|
-
value:
|
|
1142
|
-
onInput:
|
|
1097
|
+
id: __props.id,
|
|
1098
|
+
name: __props.id,
|
|
1099
|
+
required: __props.required,
|
|
1100
|
+
value: __props.checked,
|
|
1101
|
+
onInput: onInput,
|
|
1143
1102
|
type: "checkbox",
|
|
1144
1103
|
"unchecked-value": "false"
|
|
1145
1104
|
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_2$4),
|
|
1146
1105
|
vue.createElementVNode("label", {
|
|
1147
1106
|
class: "checkbox-label",
|
|
1148
|
-
for:
|
|
1149
|
-
}, vue.toDisplayString(
|
|
1107
|
+
for: __props.id
|
|
1108
|
+
}, vue.toDisplayString(__props.label), 9 /* TEXT, PROPS */, _hoisted_3$3)
|
|
1150
1109
|
]))
|
|
1151
1110
|
}
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
};
|
|
1152
1114
|
|
|
1153
1115
|
var css_248z$4 = "\n.checkbox-container[data-v-4612e592] {\n margin-bottom: 1rem;\n}\ninput[type=\"checkbox\"][data-v-4612e592] {\n margin-right: 0.5rem;\n}\n.checkbox-label[data-v-4612e592] {\n display: block;\n color: var(--color-checkbox-label);\n font-size: var(--font-size-small);\n font-weight: var(--font-weight-bold);\n}\n";
|
|
1154
1116
|
styleInject(css_248z$4);
|
|
1155
1117
|
|
|
1156
|
-
script$9.render = render$9;
|
|
1157
1118
|
script$9.__scopeId = "data-v-4612e592";
|
|
1158
1119
|
script$9.__file = "src/Inputs/CheckBoxInput/CheckBoxInput.vue";
|
|
1159
1120
|
|
|
1160
|
-
var script$8 = vue.defineComponent({
|
|
1161
|
-
name: "NumberInput",
|
|
1162
|
-
props: {
|
|
1163
|
-
id: {
|
|
1164
|
-
type: String,
|
|
1165
|
-
},
|
|
1166
|
-
required: {
|
|
1167
|
-
type: Boolean,
|
|
1168
|
-
},
|
|
1169
|
-
disabled: {
|
|
1170
|
-
type: Boolean,
|
|
1171
|
-
},
|
|
1172
|
-
placeholder: {
|
|
1173
|
-
type: String,
|
|
1174
|
-
},
|
|
1175
|
-
label: {
|
|
1176
|
-
type: String,
|
|
1177
|
-
},
|
|
1178
|
-
amount: {
|
|
1179
|
-
type: Number,
|
|
1180
|
-
},
|
|
1181
|
-
min: {
|
|
1182
|
-
type: String,
|
|
1183
|
-
},
|
|
1184
|
-
step: {
|
|
1185
|
-
type: String,
|
|
1186
|
-
},
|
|
1187
|
-
},
|
|
1188
|
-
emits: ['update'],
|
|
1189
|
-
methods: {
|
|
1190
|
-
onInput(event) {
|
|
1191
|
-
this.$emit('update', event.target.value);
|
|
1192
|
-
},
|
|
1193
|
-
},
|
|
1194
|
-
});
|
|
1195
|
-
|
|
1196
1121
|
const _hoisted_1$8 = { class: "number-input-container" };
|
|
1197
1122
|
const _hoisted_2$3 = ["for"];
|
|
1198
1123
|
const _hoisted_3$2 = ["id", "name", "required", "placeholder", "disabled", "value", "min", "step"];
|
|
1199
1124
|
|
|
1200
|
-
|
|
1125
|
+
|
|
1126
|
+
var script$8 = {
|
|
1127
|
+
__name: 'NumberInput',
|
|
1128
|
+
props: {
|
|
1129
|
+
id: String,
|
|
1130
|
+
required: Boolean,
|
|
1131
|
+
disabled: Boolean,
|
|
1132
|
+
placeholder: String,
|
|
1133
|
+
label: String,
|
|
1134
|
+
amount: Number,
|
|
1135
|
+
min: String,
|
|
1136
|
+
step: String,
|
|
1137
|
+
},
|
|
1138
|
+
emits: ['update'],
|
|
1139
|
+
setup(__props, { emit: __emit }) {
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
const emit = __emit;
|
|
1143
|
+
const onInput = (event) => emit('update', event.target.value);
|
|
1144
|
+
|
|
1145
|
+
return (_ctx, _cache) => {
|
|
1201
1146
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
|
|
1202
1147
|
vue.createElementVNode("label", {
|
|
1203
1148
|
class: "number-input-label",
|
|
1204
|
-
for:
|
|
1205
|
-
}, vue.toDisplayString(
|
|
1149
|
+
for: __props.id
|
|
1150
|
+
}, vue.toDisplayString(__props.label), 9 /* TEXT, PROPS */, _hoisted_2$3),
|
|
1206
1151
|
vue.createElementVNode("input", {
|
|
1207
1152
|
class: "number-input-field",
|
|
1208
|
-
id:
|
|
1209
|
-
name:
|
|
1210
|
-
required:
|
|
1211
|
-
placeholder:
|
|
1212
|
-
disabled:
|
|
1213
|
-
value:
|
|
1214
|
-
min:
|
|
1215
|
-
step:
|
|
1216
|
-
onInput:
|
|
1153
|
+
id: __props.id,
|
|
1154
|
+
name: __props.id,
|
|
1155
|
+
required: __props.required,
|
|
1156
|
+
placeholder: __props.placeholder,
|
|
1157
|
+
disabled: __props.disabled,
|
|
1158
|
+
value: __props.amount,
|
|
1159
|
+
min: __props.min,
|
|
1160
|
+
step: __props.step,
|
|
1161
|
+
onInput: onInput,
|
|
1217
1162
|
type: "number"
|
|
1218
1163
|
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_3$2)
|
|
1219
1164
|
]))
|
|
1220
1165
|
}
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
};
|
|
1221
1169
|
|
|
1222
1170
|
var css_248z$3 = "\n.number-input-container[data-v-26abc846] {\n margin-bottom: 1rem;\n}\n.number-input-label[data-v-26abc846] {\n display: block;\n color: var(--color-number-input-label);\n font-size: var(--font-size-small);\n font-weight: var(--font-weight-bold);\n margin-bottom: 0.5rem;\n}\n.number-input-field[data-v-26abc846] {\n box-shadow: 0 1px 3px var(--color-input-shadow);\n appearance: none;\n border: 1px solid var(--color-number-input-border);\n border-radius: var(--border-radius--base);\n width: 100%;\n padding: 0.5rem 0.75rem;\n color: var(--color-number-input);\n line-height: 1.25;\n transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;\n}\n.number-input-field[data-v-26abc846]:focus {\n outline: none;\n box-shadow: 0 0 0 3px var(--color-input-shadow-focus);\n border-color: var(--color-number-input-border-focus);\n}\n.number-input-field[data-v-26abc846]:disabled {\n background-color: var(--color-input-disabled);\n cursor: not-allowed;\n}\n";
|
|
1223
1171
|
styleInject(css_248z$3);
|
|
1224
1172
|
|
|
1225
|
-
script$8.render = render$8;
|
|
1226
1173
|
script$8.__scopeId = "data-v-26abc846";
|
|
1227
1174
|
script$8.__file = "src/Inputs/NumberInput/NumberInput.vue";
|
|
1228
1175
|
|
|
1229
|
-
var script$7 = vue.defineComponent({
|
|
1230
|
-
name: "ImageInput",
|
|
1231
|
-
props: {
|
|
1232
|
-
id: {
|
|
1233
|
-
type: String,
|
|
1234
|
-
},
|
|
1235
|
-
required: {
|
|
1236
|
-
type: Boolean,
|
|
1237
|
-
},
|
|
1238
|
-
placeholder: {
|
|
1239
|
-
type: String,
|
|
1240
|
-
},
|
|
1241
|
-
dropPlaceholder: {
|
|
1242
|
-
type: String,
|
|
1243
|
-
},
|
|
1244
|
-
label: {
|
|
1245
|
-
type: String,
|
|
1246
|
-
},
|
|
1247
|
-
file: {
|
|
1248
|
-
type: Object,
|
|
1249
|
-
},
|
|
1250
|
-
},
|
|
1251
|
-
emits: ['update'],
|
|
1252
|
-
methods: {
|
|
1253
|
-
onInput(event) {
|
|
1254
|
-
this.$emit('update', event.target.files[0]);
|
|
1255
|
-
},
|
|
1256
|
-
},
|
|
1257
|
-
});
|
|
1258
|
-
|
|
1259
1176
|
const _hoisted_1$7 = { class: "image-input-container" };
|
|
1260
1177
|
const _hoisted_2$2 = ["for"];
|
|
1261
1178
|
const _hoisted_3$1 = ["id", "name", "required", "placeholder", "value", "drop-placeholder"];
|
|
1262
1179
|
|
|
1263
|
-
|
|
1180
|
+
|
|
1181
|
+
var script$7 = {
|
|
1182
|
+
__name: 'ImageInput',
|
|
1183
|
+
props: {
|
|
1184
|
+
id: String,
|
|
1185
|
+
required: Boolean,
|
|
1186
|
+
placeholder: String,
|
|
1187
|
+
dropPlaceholder: String,
|
|
1188
|
+
label: String,
|
|
1189
|
+
file: Object,
|
|
1190
|
+
},
|
|
1191
|
+
emits: ['update'],
|
|
1192
|
+
setup(__props, { emit: __emit }) {
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
const emit = __emit;
|
|
1196
|
+
const onInput = (event) => emit('update', event.target.files[0]);
|
|
1197
|
+
|
|
1198
|
+
return (_ctx, _cache) => {
|
|
1264
1199
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
|
|
1265
1200
|
vue.createElementVNode("label", {
|
|
1266
1201
|
class: "image-input-label",
|
|
1267
|
-
for:
|
|
1268
|
-
}, vue.toDisplayString(
|
|
1202
|
+
for: __props.id
|
|
1203
|
+
}, vue.toDisplayString(__props.label), 9 /* TEXT, PROPS */, _hoisted_2$2),
|
|
1269
1204
|
vue.createElementVNode("input", {
|
|
1270
1205
|
class: "image-input-field",
|
|
1271
|
-
id:
|
|
1272
|
-
name:
|
|
1273
|
-
required:
|
|
1274
|
-
placeholder:
|
|
1275
|
-
value:
|
|
1276
|
-
"drop-placeholder":
|
|
1277
|
-
onInput:
|
|
1206
|
+
id: __props.id,
|
|
1207
|
+
name: __props.id,
|
|
1208
|
+
required: __props.required,
|
|
1209
|
+
placeholder: __props.placeholder,
|
|
1210
|
+
value: __props.file,
|
|
1211
|
+
"drop-placeholder": __props.dropPlaceholder,
|
|
1212
|
+
onInput: onInput,
|
|
1278
1213
|
type: "file",
|
|
1279
1214
|
accept: "image/*"
|
|
1280
1215
|
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_3$1)
|
|
1281
1216
|
]))
|
|
1282
1217
|
}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
};
|
|
1283
1221
|
|
|
1284
1222
|
var css_248z$2 = "\n.image-input-container[data-v-d90b5f3c] {\n margin-bottom: 1rem;\n}\n.image-input-label[data-v-d90b5f3c] {\n display: block;\n color: var(--color-image-input);\n font-size: var(--font-size-small);\n font-weight: var(--font-weight-bold);\n margin-bottom: 0.5rem;\n}\n.image-input-field[data-v-d90b5f3c] {\n box-shadow: 0 1px 3px var(--color-input-shadow);\n appearance: none;\n border: 1px solid var(--color-image-input-border);\n border-radius: var(--border-radius--base);\n width: 100%;\n padding: 0.5rem 0.75rem;\n color: var(--color-image-input);\n line-height: 1.25;\n transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;\n}\n.image-input-field[data-v-d90b5f3c]:focus {\n outline: none;\n box-shadow: 0 0 0 3px var(--color-image-input-shadow);\n border-color: var(--color-image-input-border-focus);\n}\n";
|
|
1285
1223
|
styleInject(css_248z$2);
|
|
1286
1224
|
|
|
1287
|
-
script$7.render = render$7;
|
|
1288
1225
|
script$7.__scopeId = "data-v-d90b5f3c";
|
|
1289
1226
|
script$7.__file = "src/Inputs/ImageInput/ImageInput.vue";
|
|
1290
1227
|
|
|
@@ -4883,157 +4820,122 @@ ImageBlobReduce.pica = pica;
|
|
|
4883
4820
|
|
|
4884
4821
|
var imageBlobReduce = ImageBlobReduce;
|
|
4885
4822
|
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4823
|
+
const _hoisted_1$6 = { class: "image-input-container" };
|
|
4824
|
+
const _hoisted_2$1 = { key: 0 };
|
|
4825
|
+
|
|
4826
|
+
|
|
4827
|
+
var script$6 = {
|
|
4828
|
+
__name: 'ResizeImageUpload',
|
|
4891
4829
|
props: {
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
type: String,
|
|
4900
|
-
},
|
|
4901
|
-
dropPlaceholder: {
|
|
4902
|
-
type: String,
|
|
4903
|
-
},
|
|
4904
|
-
label: {
|
|
4905
|
-
type: String,
|
|
4906
|
-
},
|
|
4907
|
-
file: {
|
|
4908
|
-
type: Object,
|
|
4909
|
-
},
|
|
4910
|
-
},
|
|
4911
|
-
data() {
|
|
4912
|
-
return {
|
|
4913
|
-
rawImage: null,
|
|
4914
|
-
resizing: false,
|
|
4915
|
-
};
|
|
4916
|
-
},
|
|
4830
|
+
id: String,
|
|
4831
|
+
required: Boolean,
|
|
4832
|
+
placeholder: String,
|
|
4833
|
+
dropPlaceholder: String,
|
|
4834
|
+
label: String,
|
|
4835
|
+
file: Object,
|
|
4836
|
+
},
|
|
4917
4837
|
emits: ['loaded', 'error'],
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
try {
|
|
4921
|
-
this.resizing = true;
|
|
4922
|
-
const reduce = new imageBlobReduce();
|
|
4923
|
-
const blob = await reduce.toBlob(file, { max: 1024 });
|
|
4924
|
-
const newFile = new File([blob], file.name, { type: file.type });
|
|
4925
|
-
this.$emit('loaded', newFile);
|
|
4926
|
-
} catch (err) {
|
|
4927
|
-
this.$emit('error');
|
|
4928
|
-
} finally {
|
|
4929
|
-
this.resizing = false;
|
|
4930
|
-
}
|
|
4931
|
-
},
|
|
4932
|
-
},
|
|
4933
|
-
});
|
|
4838
|
+
setup(__props, { emit: __emit }) {
|
|
4839
|
+
|
|
4934
4840
|
|
|
4935
|
-
const _hoisted_1$6 = { class: "image-input-container" };
|
|
4936
|
-
const _hoisted_2$1 = { key: 0 };
|
|
4937
4841
|
|
|
4938
|
-
|
|
4939
|
-
|
|
4842
|
+
const emit = __emit;
|
|
4843
|
+
const resizing = vue.ref(false);
|
|
4844
|
+
|
|
4845
|
+
const onInput = async (file) => {
|
|
4846
|
+
try {
|
|
4847
|
+
resizing.value = true;
|
|
4848
|
+
const reduce = new imageBlobReduce();
|
|
4849
|
+
const blob = await reduce.toBlob(file, { max: 1024 });
|
|
4850
|
+
const newFile = new File([blob], file.name, { type: file.type });
|
|
4851
|
+
emit('loaded', newFile);
|
|
4852
|
+
} catch (err) {
|
|
4853
|
+
emit('error');
|
|
4854
|
+
} finally {
|
|
4855
|
+
resizing.value = false;
|
|
4856
|
+
}
|
|
4857
|
+
};
|
|
4940
4858
|
|
|
4859
|
+
return (_ctx, _cache) => {
|
|
4941
4860
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
|
|
4942
|
-
vue.createVNode(
|
|
4943
|
-
id:
|
|
4944
|
-
name:
|
|
4945
|
-
required:
|
|
4946
|
-
placeholder:
|
|
4947
|
-
"drop-placeholder":
|
|
4948
|
-
label:
|
|
4949
|
-
onUpdate:
|
|
4950
|
-
}, null, 8 /* PROPS */, ["id", "name", "required", "placeholder", "drop-placeholder", "label"
|
|
4951
|
-
(
|
|
4861
|
+
vue.createVNode(script$7, {
|
|
4862
|
+
id: __props.id,
|
|
4863
|
+
name: __props.id,
|
|
4864
|
+
required: __props.required,
|
|
4865
|
+
placeholder: __props.placeholder,
|
|
4866
|
+
"drop-placeholder": __props.dropPlaceholder,
|
|
4867
|
+
label: __props.label,
|
|
4868
|
+
onUpdate: onInput
|
|
4869
|
+
}, null, 8 /* PROPS */, ["id", "name", "required", "placeholder", "drop-placeholder", "label"]),
|
|
4870
|
+
(resizing.value)
|
|
4952
4871
|
? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$1, "Resizing..."))
|
|
4953
4872
|
: vue.createCommentVNode("v-if", true)
|
|
4954
4873
|
]))
|
|
4955
4874
|
}
|
|
4875
|
+
}
|
|
4876
|
+
|
|
4877
|
+
};
|
|
4956
4878
|
|
|
4957
4879
|
var css_248z$1 = "\nimage-input[data-v-3fb95754] {\n display: block;\n margin-bottom: 1rem;\n}\nimage-input label[data-v-3fb95754] {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: var(--font-weight-bold);\n font-size: var(--font-size-small);\n color: var(--color-image-input);\n}\nimage-input input[type=\"file\"][data-v-3fb95754] {\n display: block;\n width: 100%;\n padding: 0.5rem;\n border: 1px solid var(--color-image-input-border);\n border-radius: var(--border-radius--base);\n color: var(--color-image-input);\n background-color: var(--color-image-input-background);\n cursor: pointer;\n}\nimage-input input[type=\"file\"][data-v-3fb95754]:focus {\n outline: none;\n border-color: var(--color-image-input-border-focus);\n box-shadow: 0 0 0 3px var(--color-image-input-shadow);\n}\nimage-input input[type=\"file\"][data-v-3fb95754]:disabled {\n background-color: var(--color-input-disabled);\n cursor: not-allowed;\n}\n";
|
|
4958
4880
|
styleInject(css_248z$1);
|
|
4959
4881
|
|
|
4960
|
-
script$6.render = render$6;
|
|
4961
4882
|
script$6.__scopeId = "data-v-3fb95754";
|
|
4962
4883
|
script$6.__file = "src/Inputs/ResizeImageUpload/ResizeImageUpload.vue";
|
|
4963
4884
|
|
|
4964
|
-
var script$5 = vue.defineComponent({
|
|
4965
|
-
name: "Selector",
|
|
4966
|
-
props: {
|
|
4967
|
-
id: {
|
|
4968
|
-
type: String,
|
|
4969
|
-
},
|
|
4970
|
-
disabled: {
|
|
4971
|
-
type: Boolean,
|
|
4972
|
-
},
|
|
4973
|
-
label: {
|
|
4974
|
-
type: String,
|
|
4975
|
-
},
|
|
4976
|
-
initialValue: {
|
|
4977
|
-
type: String,
|
|
4978
|
-
},
|
|
4979
|
-
options: {
|
|
4980
|
-
type: Array,
|
|
4981
|
-
},
|
|
4982
|
-
},
|
|
4983
|
-
data() {
|
|
4984
|
-
return {
|
|
4985
|
-
selected: '',
|
|
4986
|
-
};
|
|
4987
|
-
},
|
|
4988
|
-
watch: {
|
|
4989
|
-
initialValue: {
|
|
4990
|
-
immediate: true,
|
|
4991
|
-
handler: function (newSelectedValue) {
|
|
4992
|
-
if (newSelectedValue !== "" && newSelectedValue !== undefined) {
|
|
4993
|
-
this.selected = newSelectedValue;
|
|
4994
|
-
}
|
|
4995
|
-
},
|
|
4996
|
-
},
|
|
4997
|
-
options: {
|
|
4998
|
-
immediate: true,
|
|
4999
|
-
handler: function (newOptions) {
|
|
5000
|
-
const enabledOptions = newOptions.filter((option) => !option.disabled);
|
|
5001
|
-
if (enabledOptions.length === 1) {
|
|
5002
|
-
this.selected = enabledOptions[0].value;
|
|
5003
|
-
this.$emit('selected', this.selected);
|
|
5004
|
-
}
|
|
5005
|
-
},
|
|
5006
|
-
},
|
|
5007
|
-
},
|
|
5008
|
-
emits: ['selected'],
|
|
5009
|
-
methods: {
|
|
5010
|
-
onChange() {
|
|
5011
|
-
this.$emit('selected', this.selected);
|
|
5012
|
-
},
|
|
5013
|
-
},
|
|
5014
|
-
});
|
|
5015
|
-
|
|
5016
4885
|
const _hoisted_1$5 = { class: "selector-container" };
|
|
5017
4886
|
const _hoisted_2 = ["for"];
|
|
5018
4887
|
const _hoisted_3 = { class: "selector-relative-container" };
|
|
5019
4888
|
const _hoisted_4 = ["id", "disabled"];
|
|
5020
4889
|
const _hoisted_5 = ["value", "disabled"];
|
|
5021
4890
|
|
|
5022
|
-
|
|
4891
|
+
|
|
4892
|
+
var script$5 = {
|
|
4893
|
+
__name: 'Selector',
|
|
4894
|
+
props: {
|
|
4895
|
+
id: String,
|
|
4896
|
+
disabled: Boolean,
|
|
4897
|
+
label: String,
|
|
4898
|
+
initialValue: String,
|
|
4899
|
+
options: Array,
|
|
4900
|
+
},
|
|
4901
|
+
emits: ['selected'],
|
|
4902
|
+
setup(__props, { emit: __emit }) {
|
|
4903
|
+
|
|
4904
|
+
const props = __props;
|
|
4905
|
+
|
|
4906
|
+
const emit = __emit;
|
|
4907
|
+
const selected = vue.ref('');
|
|
4908
|
+
|
|
4909
|
+
vue.watch(() => props.initialValue, (newVal) => {
|
|
4910
|
+
if (newVal !== "" && newVal !== undefined) selected.value = newVal;
|
|
4911
|
+
}, { immediate: true });
|
|
4912
|
+
|
|
4913
|
+
vue.watch(() => props.options, (newOptions) => {
|
|
4914
|
+
if (!newOptions) return;
|
|
4915
|
+
const enabledOptions = newOptions.filter((o) => !o.disabled);
|
|
4916
|
+
if (enabledOptions.length === 1) {
|
|
4917
|
+
selected.value = enabledOptions[0].value;
|
|
4918
|
+
emit('selected', selected.value);
|
|
4919
|
+
}
|
|
4920
|
+
}, { immediate: true });
|
|
4921
|
+
|
|
4922
|
+
const onChange = () => emit('selected', selected.value);
|
|
4923
|
+
|
|
4924
|
+
return (_ctx, _cache) => {
|
|
5023
4925
|
return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
|
|
5024
4926
|
vue.createElementVNode("label", {
|
|
5025
4927
|
class: "selector-label",
|
|
5026
|
-
for:
|
|
5027
|
-
}, vue.toDisplayString(
|
|
4928
|
+
for: __props.id
|
|
4929
|
+
}, vue.toDisplayString(__props.label), 9 /* TEXT, PROPS */, _hoisted_2),
|
|
5028
4930
|
vue.createElementVNode("div", _hoisted_3, [
|
|
5029
4931
|
vue.withDirectives(vue.createElementVNode("select", {
|
|
5030
4932
|
class: "selector-field",
|
|
5031
|
-
id:
|
|
5032
|
-
disabled:
|
|
5033
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((
|
|
5034
|
-
onChange:
|
|
4933
|
+
id: __props.id,
|
|
4934
|
+
disabled: __props.disabled,
|
|
4935
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((selected).value = $event)),
|
|
4936
|
+
onChange: onChange
|
|
5035
4937
|
}, [
|
|
5036
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(
|
|
4938
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (option) => {
|
|
5037
4939
|
return (vue.openBlock(), vue.createElementBlock("option", {
|
|
5038
4940
|
key: option.value,
|
|
5039
4941
|
value: option.value,
|
|
@@ -5041,9 +4943,9 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5041
4943
|
}, vue.toDisplayString(option.text), 9 /* TEXT, PROPS */, _hoisted_5))
|
|
5042
4944
|
}), 128 /* KEYED_FRAGMENT */))
|
|
5043
4945
|
], 40 /* PROPS, NEED_HYDRATION */, _hoisted_4), [
|
|
5044
|
-
[vue.vModelSelect,
|
|
4946
|
+
[vue.vModelSelect, selected.value]
|
|
5045
4947
|
]),
|
|
5046
|
-
_cache[
|
|
4948
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("div", { class: "selector-icon-container" }, [
|
|
5047
4949
|
vue.createElementVNode("svg", {
|
|
5048
4950
|
class: "selector-icon",
|
|
5049
4951
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5055,38 +4957,43 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5055
4957
|
])
|
|
5056
4958
|
]))
|
|
5057
4959
|
}
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4962
|
+
};
|
|
5058
4963
|
|
|
5059
4964
|
var css_248z = "\n.selector-container[data-v-008e1be2] {\n margin-bottom: 1rem;\n}\n.selector-label[data-v-008e1be2] {\n display: block;\n color: var(--color-selector-label);\n font-size: var(--font-size-small);\n font-weight: var(--font-weight-bold);\n margin-bottom: 0.5rem;\n}\n.selector-relative-container[data-v-008e1be2] {\n position: relative;\n}\n.selector-field[data-v-008e1be2] {\n appearance: none;\n width: 100%;\n background-color: var(--color-selector-background);\n border: 1px solid var(--color-selector-border);\n color: var(--color-selector-text);\n padding: 0.75rem 1rem 0.75rem 0.75rem;\n padding-right: 2rem;\n border-radius: var(--border-radius--base);\n line-height: 1.25;\n transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;\n}\n.selector-field[data-v-008e1be2]:focus {\n outline: none;\n background-color: var(--color-selector-background-focused);\n border-color: var(--color-selector-border-focused);\n}\n.selector-icon-container[data-v-008e1be2] {\n pointer-events: none;\n position: absolute;\n inset: 0 auto;\n right: 0;\n display: flex;\n align-items: center;\n padding: 0 0.5rem;\n color: var(--color-selector-icon-container);\n}\n.selector-icon[data-v-008e1be2] {\n fill: currentColor;\n height: 1rem;\n width: 1rem;\n}\n";
|
|
5060
4965
|
styleInject(css_248z);
|
|
5061
4966
|
|
|
5062
|
-
script$5.render = render$5;
|
|
5063
4967
|
script$5.__scopeId = "data-v-008e1be2";
|
|
5064
4968
|
script$5.__file = "src/Inputs/Selector/Selector.vue";
|
|
5065
4969
|
|
|
4970
|
+
const _hoisted_1$4 = ["width", "height", "stroke"];
|
|
4971
|
+
|
|
4972
|
+
|
|
5066
4973
|
var script$4 = {
|
|
5067
|
-
|
|
4974
|
+
__name: 'DropIcon',
|
|
5068
4975
|
props: {
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
}
|
|
4976
|
+
size: {
|
|
4977
|
+
type: [Number, String],
|
|
4978
|
+
default: 24
|
|
4979
|
+
},
|
|
4980
|
+
color: {
|
|
4981
|
+
type: String,
|
|
4982
|
+
default: 'currentColor'
|
|
5077
4983
|
}
|
|
5078
|
-
}
|
|
4984
|
+
},
|
|
4985
|
+
setup(__props) {
|
|
5079
4986
|
|
|
5080
|
-
const _hoisted_1$4 = ["width", "height", "stroke"];
|
|
5081
4987
|
|
|
5082
|
-
|
|
4988
|
+
|
|
4989
|
+
return (_ctx, _cache) => {
|
|
5083
4990
|
return (vue.openBlock(), vue.createElementBlock("svg", {
|
|
5084
4991
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5085
|
-
width:
|
|
5086
|
-
height:
|
|
4992
|
+
width: __props.size,
|
|
4993
|
+
height: __props.size,
|
|
5087
4994
|
viewBox: "0 0 24 24",
|
|
5088
4995
|
fill: "none",
|
|
5089
|
-
stroke:
|
|
4996
|
+
stroke: __props.color,
|
|
5090
4997
|
"stroke-width": "2",
|
|
5091
4998
|
"stroke-linecap": "round",
|
|
5092
4999
|
"stroke-linejoin": "round",
|
|
@@ -5096,34 +5003,39 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5096
5003
|
vue.createElementVNode("path", { d: "M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97" }, null, -1 /* HOISTED */)
|
|
5097
5004
|
]), 8 /* PROPS */, _hoisted_1$4))
|
|
5098
5005
|
}
|
|
5006
|
+
}
|
|
5007
|
+
|
|
5008
|
+
};
|
|
5099
5009
|
|
|
5100
|
-
script$4.render = render$4;
|
|
5101
5010
|
script$4.__file = "src/Icons/DropIcon/DropIcon.vue";
|
|
5102
5011
|
|
|
5012
|
+
const _hoisted_1$3 = ["width", "height", "stroke"];
|
|
5013
|
+
|
|
5014
|
+
|
|
5103
5015
|
var script$3 = {
|
|
5104
|
-
|
|
5016
|
+
__name: 'SkullIcon',
|
|
5105
5017
|
props: {
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
}
|
|
5018
|
+
size: {
|
|
5019
|
+
type: [Number, String],
|
|
5020
|
+
default: 24
|
|
5021
|
+
},
|
|
5022
|
+
color: {
|
|
5023
|
+
type: String,
|
|
5024
|
+
default: 'currentColor'
|
|
5114
5025
|
}
|
|
5115
|
-
}
|
|
5026
|
+
},
|
|
5027
|
+
setup(__props) {
|
|
5116
5028
|
|
|
5117
|
-
const _hoisted_1$3 = ["width", "height", "stroke"];
|
|
5118
5029
|
|
|
5119
|
-
|
|
5030
|
+
|
|
5031
|
+
return (_ctx, _cache) => {
|
|
5120
5032
|
return (vue.openBlock(), vue.createElementBlock("svg", {
|
|
5121
5033
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5122
|
-
width:
|
|
5123
|
-
height:
|
|
5034
|
+
width: __props.size,
|
|
5035
|
+
height: __props.size,
|
|
5124
5036
|
viewBox: "0 0 24 24",
|
|
5125
5037
|
fill: "none",
|
|
5126
|
-
stroke:
|
|
5038
|
+
stroke: __props.color,
|
|
5127
5039
|
"stroke-width": "2",
|
|
5128
5040
|
"stroke-linecap": "round",
|
|
5129
5041
|
"stroke-linejoin": "round",
|
|
@@ -5143,34 +5055,39 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5143
5055
|
}, null, -1 /* HOISTED */)
|
|
5144
5056
|
]), 8 /* PROPS */, _hoisted_1$3))
|
|
5145
5057
|
}
|
|
5058
|
+
}
|
|
5059
|
+
|
|
5060
|
+
};
|
|
5146
5061
|
|
|
5147
|
-
script$3.render = render$3;
|
|
5148
5062
|
script$3.__file = "src/Icons/SkullIcon/SkullIcon.vue";
|
|
5149
5063
|
|
|
5064
|
+
const _hoisted_1$2 = ["width", "height", "stroke"];
|
|
5065
|
+
|
|
5066
|
+
|
|
5150
5067
|
var script$2 = {
|
|
5151
|
-
|
|
5068
|
+
__name: 'CalendarIcon',
|
|
5152
5069
|
props: {
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
}
|
|
5070
|
+
size: {
|
|
5071
|
+
type: [Number, String],
|
|
5072
|
+
default: 24
|
|
5073
|
+
},
|
|
5074
|
+
color: {
|
|
5075
|
+
type: String,
|
|
5076
|
+
default: 'currentColor'
|
|
5161
5077
|
}
|
|
5162
|
-
}
|
|
5078
|
+
},
|
|
5079
|
+
setup(__props) {
|
|
5163
5080
|
|
|
5164
|
-
const _hoisted_1$2 = ["width", "height", "stroke"];
|
|
5165
5081
|
|
|
5166
|
-
|
|
5082
|
+
|
|
5083
|
+
return (_ctx, _cache) => {
|
|
5167
5084
|
return (vue.openBlock(), vue.createElementBlock("svg", {
|
|
5168
5085
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5169
|
-
width:
|
|
5170
|
-
height:
|
|
5086
|
+
width: __props.size,
|
|
5087
|
+
height: __props.size,
|
|
5171
5088
|
viewBox: "0 0 24 24",
|
|
5172
5089
|
fill: "none",
|
|
5173
|
-
stroke:
|
|
5090
|
+
stroke: __props.color,
|
|
5174
5091
|
"stroke-width": "2",
|
|
5175
5092
|
"stroke-linecap": "round",
|
|
5176
5093
|
"stroke-linejoin": "round",
|
|
@@ -5188,34 +5105,39 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5188
5105
|
vue.createElementVNode("path", { d: "M3 10h18" }, null, -1 /* HOISTED */)
|
|
5189
5106
|
]), 8 /* PROPS */, _hoisted_1$2))
|
|
5190
5107
|
}
|
|
5108
|
+
}
|
|
5109
|
+
|
|
5110
|
+
};
|
|
5191
5111
|
|
|
5192
|
-
script$2.render = render$2;
|
|
5193
5112
|
script$2.__file = "src/Icons/CalendarIcon/CalendarIcon.vue";
|
|
5194
5113
|
|
|
5114
|
+
const _hoisted_1$1 = ["width", "height", "stroke"];
|
|
5115
|
+
|
|
5116
|
+
|
|
5195
5117
|
var script$1 = {
|
|
5196
|
-
|
|
5118
|
+
__name: 'SaveIcon',
|
|
5197
5119
|
props: {
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
}
|
|
5120
|
+
size: {
|
|
5121
|
+
type: [Number, String],
|
|
5122
|
+
default: 24
|
|
5123
|
+
},
|
|
5124
|
+
color: {
|
|
5125
|
+
type: String,
|
|
5126
|
+
default: 'currentColor'
|
|
5206
5127
|
}
|
|
5207
|
-
}
|
|
5128
|
+
},
|
|
5129
|
+
setup(__props) {
|
|
5208
5130
|
|
|
5209
|
-
const _hoisted_1$1 = ["width", "height", "stroke"];
|
|
5210
5131
|
|
|
5211
|
-
|
|
5132
|
+
|
|
5133
|
+
return (_ctx, _cache) => {
|
|
5212
5134
|
return (vue.openBlock(), vue.createElementBlock("svg", {
|
|
5213
5135
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5214
|
-
width:
|
|
5215
|
-
height:
|
|
5136
|
+
width: __props.size,
|
|
5137
|
+
height: __props.size,
|
|
5216
5138
|
viewBox: "0 0 24 24",
|
|
5217
5139
|
fill: "none",
|
|
5218
|
-
stroke:
|
|
5140
|
+
stroke: __props.color,
|
|
5219
5141
|
"stroke-width": "2",
|
|
5220
5142
|
"stroke-linecap": "round",
|
|
5221
5143
|
"stroke-linejoin": "round",
|
|
@@ -5226,34 +5148,39 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5226
5148
|
vue.createElementVNode("path", { d: "M7 3v4a1 1 0 0 0 1 1h7" }, null, -1 /* HOISTED */)
|
|
5227
5149
|
]), 8 /* PROPS */, _hoisted_1$1))
|
|
5228
5150
|
}
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
};
|
|
5229
5154
|
|
|
5230
|
-
script$1.render = render$1;
|
|
5231
5155
|
script$1.__file = "src/Icons/SaveIcon/SaveIcon.vue";
|
|
5232
5156
|
|
|
5157
|
+
const _hoisted_1 = ["width", "height", "stroke"];
|
|
5158
|
+
|
|
5159
|
+
|
|
5233
5160
|
var script = {
|
|
5234
|
-
|
|
5161
|
+
__name: 'CreateIcon',
|
|
5235
5162
|
props: {
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
}
|
|
5163
|
+
size: {
|
|
5164
|
+
type: [Number, String],
|
|
5165
|
+
default: 24
|
|
5166
|
+
},
|
|
5167
|
+
color: {
|
|
5168
|
+
type: String,
|
|
5169
|
+
default: 'currentColor'
|
|
5244
5170
|
}
|
|
5245
|
-
}
|
|
5171
|
+
},
|
|
5172
|
+
setup(__props) {
|
|
5173
|
+
|
|
5246
5174
|
|
|
5247
|
-
const _hoisted_1 = ["width", "height", "stroke"];
|
|
5248
5175
|
|
|
5249
|
-
|
|
5176
|
+
return (_ctx, _cache) => {
|
|
5250
5177
|
return (vue.openBlock(), vue.createElementBlock("svg", {
|
|
5251
5178
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5252
|
-
width:
|
|
5253
|
-
height:
|
|
5179
|
+
width: __props.size,
|
|
5180
|
+
height: __props.size,
|
|
5254
5181
|
viewBox: "0 0 24 24",
|
|
5255
5182
|
fill: "none",
|
|
5256
|
-
stroke:
|
|
5183
|
+
stroke: __props.color,
|
|
5257
5184
|
"stroke-width": "2",
|
|
5258
5185
|
"stroke-linecap": "round",
|
|
5259
5186
|
"stroke-linejoin": "round",
|
|
@@ -5274,8 +5201,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5274
5201
|
}, null, -1 /* HOISTED */)
|
|
5275
5202
|
]), 8 /* PROPS */, _hoisted_1))
|
|
5276
5203
|
}
|
|
5204
|
+
}
|
|
5205
|
+
|
|
5206
|
+
};
|
|
5277
5207
|
|
|
5278
|
-
script.render = render;
|
|
5279
5208
|
script.__file = "src/Icons/CreateIcon/CreateIcon.vue";
|
|
5280
5209
|
|
|
5281
5210
|
exports.Badge = script$j;
|
|
@@ -5285,26 +5214,26 @@ exports.CardGrid = script$w;
|
|
|
5285
5214
|
exports.CheckBoxInput = script$9;
|
|
5286
5215
|
exports.Container = script$v;
|
|
5287
5216
|
exports.CreateIcon = script;
|
|
5288
|
-
exports.DangerButton = script$
|
|
5217
|
+
exports.DangerButton = script$g;
|
|
5289
5218
|
exports.DropIcon = script$4;
|
|
5290
5219
|
exports.ImageInput = script$7;
|
|
5291
5220
|
exports.Loading = script$A;
|
|
5292
|
-
exports.Modal = script$
|
|
5221
|
+
exports.Modal = script$f;
|
|
5293
5222
|
exports.Navbar = script$n;
|
|
5294
5223
|
exports.NumberInput = script$8;
|
|
5295
5224
|
exports.Pagination = script$k;
|
|
5296
|
-
exports.RangeView = script$
|
|
5225
|
+
exports.RangeView = script$d;
|
|
5297
5226
|
exports.RegularButton = script$l;
|
|
5298
|
-
exports.ResetButton = script$
|
|
5227
|
+
exports.ResetButton = script$c;
|
|
5299
5228
|
exports.ResizeImageUpload = script$6;
|
|
5300
5229
|
exports.SaveIcon = script$1;
|
|
5301
|
-
exports.SecondaryButton = script$
|
|
5230
|
+
exports.SecondaryButton = script$h;
|
|
5302
5231
|
exports.SectionTitle = script$B;
|
|
5303
5232
|
exports.Selector = script$5;
|
|
5304
5233
|
exports.SkullIcon = script$3;
|
|
5305
|
-
exports.Spinner = script$
|
|
5234
|
+
exports.Spinner = script$e;
|
|
5306
5235
|
exports.StyledTable = script$m;
|
|
5307
|
-
exports.SubmitButton = script$
|
|
5236
|
+
exports.SubmitButton = script$b;
|
|
5308
5237
|
exports.Temperature = script$i;
|
|
5309
5238
|
exports.TextInput = script$a;
|
|
5310
5239
|
//# sourceMappingURL=index.js.map
|