@namelivia/vue-components 1.1.3 → 1.3.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 +315 -229
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +338 -250
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Badge.vue +13 -0
- package/src/Modal.vue +26 -0
- package/src/Navbar.vue +10 -1
- package/src/NavbarTitle.vue +13 -4
- package/src/index.js +2 -0
package/dist/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, toDisplayString, createStaticVNode, createElementVNode, renderSlot, withDirectives, Fragment, renderList, vModelSelect, createCommentVNode, normalizeClass, resolveComponent, createBlock, Transition, withCtx, createVNode } from 'vue';
|
|
2
2
|
|
|
3
|
-
var script$
|
|
3
|
+
var script$t = defineComponent({
|
|
4
4
|
name: 'SectionTitle',
|
|
5
5
|
props: {
|
|
6
6
|
text: {
|
|
@@ -10,73 +10,73 @@ var script$r = defineComponent({
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
|
|
13
|
-
const _hoisted_1$
|
|
13
|
+
const _hoisted_1$p = { class: "text-center text-6xl leading-relaxed" };
|
|
14
14
|
|
|
15
|
-
function render$
|
|
16
|
-
return (openBlock(), createElementBlock("h1", _hoisted_1$
|
|
15
|
+
function render$t(_ctx, _cache) {
|
|
16
|
+
return (openBlock(), createElementBlock("h1", _hoisted_1$p, toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
script$
|
|
20
|
-
script$
|
|
19
|
+
script$t.render = render$t;
|
|
20
|
+
script$t.__file = "src/SectionTitle.vue";
|
|
21
21
|
|
|
22
|
-
var script$
|
|
22
|
+
var script$s = defineComponent({
|
|
23
23
|
name: "Loading",
|
|
24
24
|
props: {
|
|
25
25
|
text: String,
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
|
|
29
|
-
const _hoisted_1$
|
|
30
|
-
const _hoisted_3$
|
|
31
|
-
_hoisted_1$
|
|
29
|
+
const _hoisted_1$o = /*#__PURE__*/createStaticVNode("<h1 class=\"text-center.text-1xl.leading-relaxed\">Loading...</h1><div class=\"flex items-center justify-center space-x-2 animate-bounce\"><div class=\"w-8 h-8 bg-blue-400 rounded-full\"></div><div class=\"w-8 h-8 bg-green-400 rounded-full\"></div><div class=\"w-8 h-8 bg-red-400 rounded-full\"></div></div>", 2);
|
|
30
|
+
const _hoisted_3$a = [
|
|
31
|
+
_hoisted_1$o
|
|
32
32
|
];
|
|
33
33
|
|
|
34
|
-
function render$
|
|
35
|
-
return (openBlock(), createElementBlock("div", null, _hoisted_3$
|
|
34
|
+
function render$s(_ctx, _cache) {
|
|
35
|
+
return (openBlock(), createElementBlock("div", null, _hoisted_3$a))
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
script$
|
|
39
|
-
script$
|
|
38
|
+
script$s.render = render$s;
|
|
39
|
+
script$s.__file = "src/Loading.vue";
|
|
40
40
|
|
|
41
|
-
var script$
|
|
41
|
+
var script$r = defineComponent({
|
|
42
42
|
name: "ResetButton",
|
|
43
43
|
props: {
|
|
44
44
|
text: String,
|
|
45
45
|
},
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
const _hoisted_1$
|
|
48
|
+
const _hoisted_1$n = {
|
|
49
49
|
class: "bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",
|
|
50
50
|
type: "reset"
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
function render$
|
|
54
|
-
return (openBlock(), createElementBlock("button", _hoisted_1$
|
|
53
|
+
function render$r(_ctx, _cache) {
|
|
54
|
+
return (openBlock(), createElementBlock("button", _hoisted_1$n, toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
script$
|
|
58
|
-
script$
|
|
57
|
+
script$r.render = render$r;
|
|
58
|
+
script$r.__file = "src/ResetButton.vue";
|
|
59
59
|
|
|
60
|
-
var script$
|
|
60
|
+
var script$q = defineComponent({
|
|
61
61
|
name: "SubmitButton",
|
|
62
62
|
props: {
|
|
63
63
|
text: String,
|
|
64
64
|
},
|
|
65
65
|
});
|
|
66
66
|
|
|
67
|
-
const _hoisted_1$
|
|
67
|
+
const _hoisted_1$m = {
|
|
68
68
|
class: "bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded",
|
|
69
69
|
type: "submit"
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
function render$
|
|
73
|
-
return (openBlock(), createElementBlock("button", _hoisted_1$
|
|
72
|
+
function render$q(_ctx, _cache) {
|
|
73
|
+
return (openBlock(), createElementBlock("button", _hoisted_1$m, toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
script$
|
|
77
|
-
script$
|
|
76
|
+
script$q.render = render$q;
|
|
77
|
+
script$q.__file = "src/SubmitButton.vue";
|
|
78
78
|
|
|
79
|
-
var script$
|
|
79
|
+
var script$p = defineComponent({
|
|
80
80
|
name: "RegularButton",
|
|
81
81
|
props: {
|
|
82
82
|
text: String,
|
|
@@ -89,17 +89,17 @@ var script$n = defineComponent({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
function render$
|
|
92
|
+
function render$p(_ctx, _cache) {
|
|
93
93
|
return (openBlock(), createElementBlock("button", {
|
|
94
94
|
class: "bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded",
|
|
95
95
|
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.onClick && _ctx.onClick(...args)))
|
|
96
96
|
}, toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
script$
|
|
100
|
-
script$
|
|
99
|
+
script$p.render = render$p;
|
|
100
|
+
script$p.__file = "src/RegularButton.vue";
|
|
101
101
|
|
|
102
|
-
var script$
|
|
102
|
+
var script$o = defineComponent({
|
|
103
103
|
name: "SecondaryButton",
|
|
104
104
|
props: {
|
|
105
105
|
text: String,
|
|
@@ -112,17 +112,17 @@ var script$m = defineComponent({
|
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
|
|
115
|
-
function render$
|
|
115
|
+
function render$o(_ctx, _cache) {
|
|
116
116
|
return (openBlock(), createElementBlock("button", {
|
|
117
117
|
class: "bg-gray-500 hover:bg-gray-700 text-white font-bold py-2 px-4 rounded",
|
|
118
118
|
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.onClick && _ctx.onClick(...args)))
|
|
119
119
|
}, toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
script$
|
|
123
|
-
script$
|
|
122
|
+
script$o.render = render$o;
|
|
123
|
+
script$o.__file = "src/SecondaryButton.vue";
|
|
124
124
|
|
|
125
|
-
var script$
|
|
125
|
+
var script$n = defineComponent({
|
|
126
126
|
name: "DangerButton",
|
|
127
127
|
props: {
|
|
128
128
|
text: String,
|
|
@@ -135,35 +135,35 @@ var script$l = defineComponent({
|
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
137
|
|
|
138
|
-
function render$
|
|
138
|
+
function render$n(_ctx, _cache) {
|
|
139
139
|
return (openBlock(), createElementBlock("button", {
|
|
140
140
|
class: "bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded",
|
|
141
141
|
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.onClick && _ctx.onClick(...args)))
|
|
142
142
|
}, toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
script$
|
|
146
|
-
script$
|
|
145
|
+
script$n.render = render$n;
|
|
146
|
+
script$n.__file = "src/DangerButton.vue";
|
|
147
147
|
|
|
148
|
-
var script$
|
|
148
|
+
var script$m = defineComponent({
|
|
149
149
|
name: "Card"
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
const _hoisted_1$
|
|
153
|
-
const _hoisted_2$
|
|
152
|
+
const _hoisted_1$l = { class: "m-8" };
|
|
153
|
+
const _hoisted_2$e = { class: "max-w-sm rounded overflow-hidden shadow-lg" };
|
|
154
154
|
|
|
155
|
-
function render$
|
|
156
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
157
|
-
createElementVNode("div", _hoisted_2$
|
|
155
|
+
function render$m(_ctx, _cache) {
|
|
156
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
157
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
158
158
|
renderSlot(_ctx.$slots, "default")
|
|
159
159
|
])
|
|
160
160
|
]))
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
script$
|
|
164
|
-
script$
|
|
163
|
+
script$m.render = render$m;
|
|
164
|
+
script$m.__file = "src/Card.vue";
|
|
165
165
|
|
|
166
|
-
var script$
|
|
166
|
+
var script$l = defineComponent({
|
|
167
167
|
name: "CardImage",
|
|
168
168
|
props: {
|
|
169
169
|
src: String,
|
|
@@ -185,44 +185,44 @@ var script$j = defineComponent({
|
|
|
185
185
|
},
|
|
186
186
|
});
|
|
187
187
|
|
|
188
|
-
const _hoisted_1$
|
|
188
|
+
const _hoisted_1$k = ["src", "alt"];
|
|
189
189
|
|
|
190
|
-
function render$
|
|
190
|
+
function render$l(_ctx, _cache) {
|
|
191
191
|
return (openBlock(), createElementBlock("img", {
|
|
192
192
|
class: "w-full",
|
|
193
193
|
src: _ctx.src,
|
|
194
194
|
alt: _ctx.alt,
|
|
195
195
|
ref: "image"
|
|
196
|
-
}, null, 8 /* PROPS */, _hoisted_1$
|
|
196
|
+
}, null, 8 /* PROPS */, _hoisted_1$k))
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
script$
|
|
200
|
-
script$
|
|
199
|
+
script$l.render = render$l;
|
|
200
|
+
script$l.__file = "src/CardImage.vue";
|
|
201
201
|
|
|
202
|
-
var script$
|
|
202
|
+
var script$k = defineComponent({
|
|
203
203
|
name: "CardBody",
|
|
204
204
|
props: {
|
|
205
205
|
title: String,
|
|
206
206
|
},
|
|
207
207
|
});
|
|
208
208
|
|
|
209
|
-
const _hoisted_1$
|
|
210
|
-
const _hoisted_2$
|
|
211
|
-
const _hoisted_3$
|
|
209
|
+
const _hoisted_1$j = { class: "px-6 py-4" };
|
|
210
|
+
const _hoisted_2$d = { class: "font-bold text-xl mb-2" };
|
|
211
|
+
const _hoisted_3$9 = { class: "text-gray-700 text-base" };
|
|
212
212
|
|
|
213
|
-
function render$
|
|
214
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
215
|
-
createElementVNode("div", _hoisted_2$
|
|
216
|
-
createElementVNode("p", _hoisted_3$
|
|
213
|
+
function render$k(_ctx, _cache) {
|
|
214
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
215
|
+
createElementVNode("div", _hoisted_2$d, toDisplayString(_ctx.title), 1 /* TEXT */),
|
|
216
|
+
createElementVNode("p", _hoisted_3$9, [
|
|
217
217
|
renderSlot(_ctx.$slots, "default")
|
|
218
218
|
])
|
|
219
219
|
]))
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
script$
|
|
223
|
-
script$
|
|
222
|
+
script$k.render = render$k;
|
|
223
|
+
script$k.__file = "src/CardBody.vue";
|
|
224
224
|
|
|
225
|
-
var script$
|
|
225
|
+
var script$j = defineComponent({
|
|
226
226
|
name: "Selector",
|
|
227
227
|
props: {
|
|
228
228
|
id: {
|
|
@@ -261,10 +261,10 @@ var script$h = defineComponent({
|
|
|
261
261
|
},
|
|
262
262
|
});
|
|
263
263
|
|
|
264
|
-
const _hoisted_1$
|
|
265
|
-
const _hoisted_2$
|
|
266
|
-
const _hoisted_3$
|
|
267
|
-
const _hoisted_4$
|
|
264
|
+
const _hoisted_1$i = { class: "mb-4" };
|
|
265
|
+
const _hoisted_2$c = ["for"];
|
|
266
|
+
const _hoisted_3$8 = { class: "relative" };
|
|
267
|
+
const _hoisted_4$1 = ["id"];
|
|
268
268
|
const _hoisted_5$1 = ["value", "disabled"];
|
|
269
269
|
const _hoisted_6 = /*#__PURE__*/createElementVNode("div", { class: "pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700" }, [
|
|
270
270
|
/*#__PURE__*/createElementVNode("svg", {
|
|
@@ -276,13 +276,13 @@ const _hoisted_6 = /*#__PURE__*/createElementVNode("div", { class: "pointer-even
|
|
|
276
276
|
])
|
|
277
277
|
], -1 /* HOISTED */);
|
|
278
278
|
|
|
279
|
-
function render$
|
|
280
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
279
|
+
function render$j(_ctx, _cache) {
|
|
280
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
281
281
|
createElementVNode("label", {
|
|
282
282
|
class: "block text-gray-700 text-sm font-bold mb-2",
|
|
283
283
|
for: _ctx.id
|
|
284
|
-
}, toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$
|
|
285
|
-
createElementVNode("div", _hoisted_3$
|
|
284
|
+
}, toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$c),
|
|
285
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
286
286
|
withDirectives(createElementVNode("select", {
|
|
287
287
|
class: "block appearance-none w-full bg-gray-200 border border-gray-200 text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500",
|
|
288
288
|
id: _ctx.id,
|
|
@@ -296,7 +296,7 @@ function render$h(_ctx, _cache) {
|
|
|
296
296
|
disabled: option.disabled
|
|
297
297
|
}, toDisplayString(option.text), 9 /* TEXT, PROPS */, _hoisted_5$1))
|
|
298
298
|
}), 128 /* KEYED_FRAGMENT */))
|
|
299
|
-
], 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_4$
|
|
299
|
+
], 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_4$1), [
|
|
300
300
|
[vModelSelect, _ctx.selected]
|
|
301
301
|
]),
|
|
302
302
|
_hoisted_6
|
|
@@ -304,10 +304,10 @@ function render$h(_ctx, _cache) {
|
|
|
304
304
|
]))
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
script$
|
|
308
|
-
script$
|
|
307
|
+
script$j.render = render$j;
|
|
308
|
+
script$j.__file = "src/Selector.vue";
|
|
309
309
|
|
|
310
|
-
var script$
|
|
310
|
+
var script$i = defineComponent({
|
|
311
311
|
name: "TextInput",
|
|
312
312
|
props: {
|
|
313
313
|
id: {
|
|
@@ -335,16 +335,16 @@ var script$g = defineComponent({
|
|
|
335
335
|
|
|
336
336
|
});
|
|
337
337
|
|
|
338
|
-
const _hoisted_1$
|
|
339
|
-
const _hoisted_2$
|
|
340
|
-
const _hoisted_3$
|
|
338
|
+
const _hoisted_1$h = { class: "mb-4" };
|
|
339
|
+
const _hoisted_2$b = ["for"];
|
|
340
|
+
const _hoisted_3$7 = ["id", "name", "required", "placeholder", "value"];
|
|
341
341
|
|
|
342
|
-
function render$
|
|
343
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
342
|
+
function render$i(_ctx, _cache) {
|
|
343
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
344
344
|
createElementVNode("label", {
|
|
345
345
|
class: "block text-gray-700 text-sm font-bold mb-2",
|
|
346
346
|
for: _ctx.id
|
|
347
|
-
}, toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$
|
|
347
|
+
}, toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$b),
|
|
348
348
|
createElementVNode("input", {
|
|
349
349
|
class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",
|
|
350
350
|
id: _ctx.id,
|
|
@@ -354,14 +354,14 @@ function render$g(_ctx, _cache) {
|
|
|
354
354
|
value: _ctx.text,
|
|
355
355
|
onInput: _cache[0] || (_cache[0] = (...args) => (_ctx.onInput && _ctx.onInput(...args))),
|
|
356
356
|
type: "text"
|
|
357
|
-
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_3$
|
|
357
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_3$7)
|
|
358
358
|
]))
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
script$
|
|
362
|
-
script$
|
|
361
|
+
script$i.render = render$i;
|
|
362
|
+
script$i.__file = "src/TextInput.vue";
|
|
363
363
|
|
|
364
|
-
var script$
|
|
364
|
+
var script$h = defineComponent({
|
|
365
365
|
name: "CheckBoxInput",
|
|
366
366
|
props: {
|
|
367
367
|
id: {
|
|
@@ -388,11 +388,11 @@ var script$f = defineComponent({
|
|
|
388
388
|
},
|
|
389
389
|
});
|
|
390
390
|
|
|
391
|
-
const _hoisted_1$
|
|
392
|
-
const _hoisted_2$
|
|
391
|
+
const _hoisted_1$g = { class: "mb-4" };
|
|
392
|
+
const _hoisted_2$a = ["id", "name", "required", "value"];
|
|
393
393
|
|
|
394
|
-
function render$
|
|
395
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
394
|
+
function render$h(_ctx, _cache) {
|
|
395
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
396
396
|
createElementVNode("input", {
|
|
397
397
|
id: _ctx.id,
|
|
398
398
|
name: _ctx.id,
|
|
@@ -401,16 +401,16 @@ function render$f(_ctx, _cache) {
|
|
|
401
401
|
onInput: _cache[0] || (_cache[0] = (...args) => (_ctx.onInput && _ctx.onInput(...args))),
|
|
402
402
|
type: "checkbox",
|
|
403
403
|
"unchecked-value": "false"
|
|
404
|
-
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_2$
|
|
404
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_2$a),
|
|
405
405
|
createCommentVNode("TODO: This seems not to work"),
|
|
406
406
|
createCommentVNode("label(class=\"block text-gray-700 text-sm font-bold\" :for=\"id\") {{ label }}")
|
|
407
407
|
]))
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
script$
|
|
411
|
-
script$
|
|
410
|
+
script$h.render = render$h;
|
|
411
|
+
script$h.__file = "src/CheckBoxInput.vue";
|
|
412
412
|
|
|
413
|
-
var script$
|
|
413
|
+
var script$g = defineComponent({
|
|
414
414
|
name: "NumberInput",
|
|
415
415
|
props: {
|
|
416
416
|
id: {
|
|
@@ -444,16 +444,16 @@ var script$e = defineComponent({
|
|
|
444
444
|
|
|
445
445
|
});
|
|
446
446
|
|
|
447
|
-
const _hoisted_1$
|
|
448
|
-
const _hoisted_2$
|
|
449
|
-
const _hoisted_3$
|
|
447
|
+
const _hoisted_1$f = { class: "mb-4" };
|
|
448
|
+
const _hoisted_2$9 = ["for"];
|
|
449
|
+
const _hoisted_3$6 = ["id", "name", "required", "placeholder", "value", "min", "step"];
|
|
450
450
|
|
|
451
|
-
function render$
|
|
452
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
451
|
+
function render$g(_ctx, _cache) {
|
|
452
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
453
453
|
createElementVNode("label", {
|
|
454
454
|
class: "block text-gray-700 text-sm font-bold mb-2",
|
|
455
455
|
for: _ctx.id
|
|
456
|
-
}, toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$
|
|
456
|
+
}, toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$9),
|
|
457
457
|
createElementVNode("input", {
|
|
458
458
|
class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",
|
|
459
459
|
id: _ctx.id,
|
|
@@ -465,14 +465,14 @@ function render$e(_ctx, _cache) {
|
|
|
465
465
|
step: _ctx.step,
|
|
466
466
|
onInput: _cache[0] || (_cache[0] = (...args) => (_ctx.onInput && _ctx.onInput(...args))),
|
|
467
467
|
type: "number"
|
|
468
|
-
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_3$
|
|
468
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_3$6)
|
|
469
469
|
]))
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
-
script$
|
|
473
|
-
script$
|
|
472
|
+
script$g.render = render$g;
|
|
473
|
+
script$g.__file = "src/NumberInput.vue";
|
|
474
474
|
|
|
475
|
-
var script$
|
|
475
|
+
var script$f = defineComponent({
|
|
476
476
|
name: "ImageInput",
|
|
477
477
|
props: {
|
|
478
478
|
id: {
|
|
@@ -502,16 +502,16 @@ var script$d = defineComponent({
|
|
|
502
502
|
},
|
|
503
503
|
});
|
|
504
504
|
|
|
505
|
-
const _hoisted_1$
|
|
506
|
-
const _hoisted_2$
|
|
507
|
-
const _hoisted_3$
|
|
505
|
+
const _hoisted_1$e = { class: "mb-4" };
|
|
506
|
+
const _hoisted_2$8 = ["for"];
|
|
507
|
+
const _hoisted_3$5 = ["id", "name", "required", "placeholder", "value", "drop-placeholder"];
|
|
508
508
|
|
|
509
|
-
function render$
|
|
510
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
509
|
+
function render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
510
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
511
511
|
createElementVNode("label", {
|
|
512
512
|
class: "block text-gray-700 text-sm font-bold mb-2",
|
|
513
513
|
for: _ctx.id
|
|
514
|
-
}, toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$
|
|
514
|
+
}, toDisplayString(_ctx.label), 9 /* TEXT, PROPS */, _hoisted_2$8),
|
|
515
515
|
createElementVNode("input", {
|
|
516
516
|
class: "shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",
|
|
517
517
|
id: _ctx.id,
|
|
@@ -523,44 +523,44 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
523
523
|
onInput: _cache[0] || (_cache[0] = (...args) => (_ctx.onInput && _ctx.onInput(...args))),
|
|
524
524
|
type: "file",
|
|
525
525
|
accept: "image/*"
|
|
526
|
-
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_3$
|
|
526
|
+
}, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_3$5)
|
|
527
527
|
]))
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
-
script$
|
|
531
|
-
script$
|
|
530
|
+
script$f.render = render$f;
|
|
531
|
+
script$f.__file = "src/ImageInput.vue";
|
|
532
532
|
|
|
533
|
-
var script$
|
|
533
|
+
var script$e = defineComponent({
|
|
534
534
|
name: "CardGrid"
|
|
535
535
|
});
|
|
536
536
|
|
|
537
|
-
const _hoisted_1$
|
|
537
|
+
const _hoisted_1$d = { class: "flex flex-wrap lg:justify-between justify-center align-content:center" };
|
|
538
538
|
|
|
539
|
-
function render$
|
|
540
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
539
|
+
function render$e(_ctx, _cache) {
|
|
540
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
541
541
|
renderSlot(_ctx.$slots, "default")
|
|
542
542
|
]))
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
script$
|
|
546
|
-
script$
|
|
545
|
+
script$e.render = render$e;
|
|
546
|
+
script$e.__file = "src/CardGrid.vue";
|
|
547
547
|
|
|
548
|
-
var script$
|
|
548
|
+
var script$d = defineComponent({
|
|
549
549
|
name: "Container"
|
|
550
550
|
});
|
|
551
551
|
|
|
552
|
-
const _hoisted_1$
|
|
552
|
+
const _hoisted_1$c = { class: "container mx-auto" };
|
|
553
553
|
|
|
554
|
-
function render$
|
|
555
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
554
|
+
function render$d(_ctx, _cache) {
|
|
555
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
556
556
|
renderSlot(_ctx.$slots, "default")
|
|
557
557
|
]))
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
-
script$
|
|
561
|
-
script$
|
|
560
|
+
script$d.render = render$d;
|
|
561
|
+
script$d.__file = "src/Container.vue";
|
|
562
562
|
|
|
563
|
-
var script$
|
|
563
|
+
var script$c = defineComponent({
|
|
564
564
|
name: "MobileNavigationLink",
|
|
565
565
|
props: {
|
|
566
566
|
text: {
|
|
@@ -583,23 +583,23 @@ var script$a = defineComponent({
|
|
|
583
583
|
},
|
|
584
584
|
});
|
|
585
585
|
|
|
586
|
-
const _hoisted_1$
|
|
586
|
+
const _hoisted_1$b = ["href"];
|
|
587
587
|
|
|
588
|
-
function render$
|
|
588
|
+
function render$c(_ctx, _cache) {
|
|
589
589
|
return (openBlock(), createElementBlock("a", {
|
|
590
590
|
href: _ctx.href,
|
|
591
591
|
class: normalizeClass(_ctx.linkClass),
|
|
592
592
|
"aria-current": "page"
|
|
593
|
-
}, toDisplayString(_ctx.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$
|
|
593
|
+
}, toDisplayString(_ctx.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$b))
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
-
script$
|
|
597
|
-
script$
|
|
596
|
+
script$c.render = render$c;
|
|
597
|
+
script$c.__file = "src/MobileNavigationLink.vue";
|
|
598
598
|
|
|
599
|
-
var script$
|
|
599
|
+
var script$b = defineComponent({
|
|
600
600
|
name: "MobileNavigationLinks",
|
|
601
601
|
components: {
|
|
602
|
-
MobileNavigationLink: script$
|
|
602
|
+
MobileNavigationLink: script$c,
|
|
603
603
|
},
|
|
604
604
|
props: {
|
|
605
605
|
links: {
|
|
@@ -612,14 +612,14 @@ var script$9 = defineComponent({
|
|
|
612
612
|
},
|
|
613
613
|
});
|
|
614
614
|
|
|
615
|
-
const _hoisted_1$
|
|
615
|
+
const _hoisted_1$a = {
|
|
616
616
|
key: 0,
|
|
617
617
|
class: "sm:hidden",
|
|
618
618
|
id: "mobile-menu"
|
|
619
619
|
};
|
|
620
|
-
const _hoisted_2$
|
|
620
|
+
const _hoisted_2$7 = { class: "px-2 pt-2 pb-3 space-y-1" };
|
|
621
621
|
|
|
622
|
-
function render$
|
|
622
|
+
function render$b(_ctx, _cache) {
|
|
623
623
|
const _component_mobile_navigation_link = resolveComponent("mobile-navigation-link");
|
|
624
624
|
|
|
625
625
|
return (openBlock(), createBlock(Transition, {
|
|
@@ -632,8 +632,8 @@ function render$9(_ctx, _cache) {
|
|
|
632
632
|
}, {
|
|
633
633
|
default: withCtx(() => [
|
|
634
634
|
(_ctx.open)
|
|
635
|
-
? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
636
|
-
createElementVNode("div", _hoisted_2$
|
|
635
|
+
? (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
636
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
637
637
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.links, (link) => {
|
|
638
638
|
return (openBlock(), createBlock(_component_mobile_navigation_link, {
|
|
639
639
|
key: link.id,
|
|
@@ -649,10 +649,10 @@ function render$9(_ctx, _cache) {
|
|
|
649
649
|
}))
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
script$
|
|
653
|
-
script$
|
|
652
|
+
script$b.render = render$b;
|
|
653
|
+
script$b.__file = "src/MobileNavigationLinks.vue";
|
|
654
654
|
|
|
655
|
-
var script$
|
|
655
|
+
var script$a = defineComponent({
|
|
656
656
|
name: "NavigationLink",
|
|
657
657
|
props: {
|
|
658
658
|
text: {
|
|
@@ -675,23 +675,23 @@ var script$8 = defineComponent({
|
|
|
675
675
|
},
|
|
676
676
|
});
|
|
677
677
|
|
|
678
|
-
const _hoisted_1$
|
|
678
|
+
const _hoisted_1$9 = ["href"];
|
|
679
679
|
|
|
680
|
-
function render$
|
|
680
|
+
function render$a(_ctx, _cache) {
|
|
681
681
|
return (openBlock(), createElementBlock("a", {
|
|
682
682
|
href: _ctx.href,
|
|
683
683
|
class: normalizeClass(_ctx.linkClass),
|
|
684
684
|
"aria-current": "page"
|
|
685
|
-
}, toDisplayString(_ctx.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$
|
|
685
|
+
}, toDisplayString(_ctx.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$9))
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
-
script$
|
|
689
|
-
script$
|
|
688
|
+
script$a.render = render$a;
|
|
689
|
+
script$a.__file = "src/NavigationLink.vue";
|
|
690
690
|
|
|
691
|
-
var script$
|
|
691
|
+
var script$9 = defineComponent({
|
|
692
692
|
name: "NavigationLinks",
|
|
693
693
|
components: {
|
|
694
|
-
NavigationLink: script$
|
|
694
|
+
NavigationLink: script$a,
|
|
695
695
|
},
|
|
696
696
|
props: {
|
|
697
697
|
links: {
|
|
@@ -700,14 +700,14 @@ var script$7 = defineComponent({
|
|
|
700
700
|
},
|
|
701
701
|
});
|
|
702
702
|
|
|
703
|
-
const _hoisted_1$
|
|
704
|
-
const _hoisted_2$
|
|
703
|
+
const _hoisted_1$8 = { class: "hidden sm:block sm:ml-6" };
|
|
704
|
+
const _hoisted_2$6 = { class: "flex space-x-4" };
|
|
705
705
|
|
|
706
|
-
function render$
|
|
706
|
+
function render$9(_ctx, _cache) {
|
|
707
707
|
const _component_navigation_link = resolveComponent("navigation-link");
|
|
708
708
|
|
|
709
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
710
|
-
createElementVNode("div", _hoisted_2$
|
|
709
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
710
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
711
711
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.links, (link) => {
|
|
712
712
|
return (openBlock(), createBlock(_component_navigation_link, {
|
|
713
713
|
key: link.id,
|
|
@@ -719,45 +719,53 @@ function render$7(_ctx, _cache) {
|
|
|
719
719
|
]))
|
|
720
720
|
}
|
|
721
721
|
|
|
722
|
-
script$
|
|
723
|
-
script$
|
|
722
|
+
script$9.render = render$9;
|
|
723
|
+
script$9.__file = "src/NavigationLinks.vue";
|
|
724
724
|
|
|
725
|
-
var script$
|
|
725
|
+
var script$8 = defineComponent({
|
|
726
726
|
name: "NavbarTitle",
|
|
727
727
|
props: {
|
|
728
728
|
href: {
|
|
729
729
|
type: String,
|
|
730
730
|
},
|
|
731
|
+
title: {
|
|
732
|
+
type: String,
|
|
733
|
+
},
|
|
734
|
+
imageBig: {
|
|
735
|
+
type: String,
|
|
736
|
+
},
|
|
737
|
+
imageSmall: {
|
|
738
|
+
type: String,
|
|
739
|
+
},
|
|
731
740
|
}
|
|
732
741
|
});
|
|
733
742
|
|
|
734
|
-
const _hoisted_1$
|
|
735
|
-
const _hoisted_2$
|
|
736
|
-
|
|
737
|
-
src: "https://tailwindui.com/img/logos/workflow-mark-indigo-500.svg",
|
|
738
|
-
alt: "Workflow"
|
|
739
|
-
}, null, -1 /* HOISTED */);
|
|
740
|
-
const _hoisted_3$3 = /*#__PURE__*/createElementVNode("img", {
|
|
741
|
-
class: "hidden lg:block h-8 w-auto",
|
|
742
|
-
src: "https://tailwindui.com/img/logos/workflow-logo-indigo-500-mark-white-text.svg",
|
|
743
|
-
alt: "Workflow"
|
|
744
|
-
}, null, -1 /* HOISTED */);
|
|
745
|
-
const _hoisted_4$1 = [
|
|
746
|
-
_hoisted_2$4,
|
|
747
|
-
_hoisted_3$3
|
|
748
|
-
];
|
|
743
|
+
const _hoisted_1$7 = ["href"];
|
|
744
|
+
const _hoisted_2$5 = ["src", "alt"];
|
|
745
|
+
const _hoisted_3$4 = ["src", "alt"];
|
|
749
746
|
|
|
750
|
-
function render$
|
|
747
|
+
function render$8(_ctx, _cache) {
|
|
751
748
|
return (openBlock(), createElementBlock("a", {
|
|
752
749
|
class: "flex-shrink-0 flex items-center",
|
|
753
750
|
href: _ctx.href
|
|
754
|
-
},
|
|
751
|
+
}, [
|
|
752
|
+
createElementVNode("img", {
|
|
753
|
+
class: "block lg:hidden h-8 w-auto",
|
|
754
|
+
src: _ctx.imageSmall,
|
|
755
|
+
alt: _ctx.title
|
|
756
|
+
}, null, 8 /* PROPS */, _hoisted_2$5),
|
|
757
|
+
createElementVNode("img", {
|
|
758
|
+
class: "hidden lg:block h-8 w-auto",
|
|
759
|
+
src: _ctx.imageBig,
|
|
760
|
+
alt: _ctx.title
|
|
761
|
+
}, null, 8 /* PROPS */, _hoisted_3$4)
|
|
762
|
+
], 8 /* PROPS */, _hoisted_1$7))
|
|
755
763
|
}
|
|
756
764
|
|
|
757
|
-
script$
|
|
758
|
-
script$
|
|
765
|
+
script$8.render = render$8;
|
|
766
|
+
script$8.__file = "src/NavbarTitle.vue";
|
|
759
767
|
|
|
760
|
-
var script$
|
|
768
|
+
var script$7 = defineComponent({
|
|
761
769
|
name: "RightContent",
|
|
762
770
|
props: {
|
|
763
771
|
locale: {
|
|
@@ -769,21 +777,21 @@ var script$5 = defineComponent({
|
|
|
769
777
|
},
|
|
770
778
|
});
|
|
771
779
|
|
|
772
|
-
const _hoisted_1$
|
|
773
|
-
const _hoisted_2$
|
|
774
|
-
const _hoisted_3$
|
|
780
|
+
const _hoisted_1$6 = { class: "absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0" };
|
|
781
|
+
const _hoisted_2$4 = { class: "bg-gray-800 p-1 text-gray-400" };
|
|
782
|
+
const _hoisted_3$3 = { class: "bg-gray-800 p-1 text-gray-400" };
|
|
775
783
|
|
|
776
|
-
function render$
|
|
777
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$
|
|
778
|
-
createElementVNode("span", _hoisted_2$
|
|
779
|
-
createElementVNode("span", _hoisted_3$
|
|
784
|
+
function render$7(_ctx, _cache) {
|
|
785
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
786
|
+
createElementVNode("span", _hoisted_2$4, toDisplayString(_ctx.$i18n.locale), 1 /* TEXT */),
|
|
787
|
+
createElementVNode("span", _hoisted_3$3, toDisplayString(_ctx.currentUserEmail), 1 /* TEXT */)
|
|
780
788
|
]))
|
|
781
789
|
}
|
|
782
790
|
|
|
783
|
-
script$
|
|
784
|
-
script$
|
|
791
|
+
script$7.render = render$7;
|
|
792
|
+
script$7.__file = "src/RightContent.vue";
|
|
785
793
|
|
|
786
|
-
var script$
|
|
794
|
+
var script$6 = defineComponent({
|
|
787
795
|
name: "MobileMenuButton",
|
|
788
796
|
props: {
|
|
789
797
|
open: {
|
|
@@ -799,7 +807,7 @@ var script$4 = defineComponent({
|
|
|
799
807
|
}
|
|
800
808
|
});
|
|
801
809
|
|
|
802
|
-
const _hoisted_1$
|
|
810
|
+
const _hoisted_1$5 = /*#__PURE__*/createElementVNode("svg", {
|
|
803
811
|
class: "block h-6 w-6",
|
|
804
812
|
xmlns: "http://www.w3.org/2000/svg",
|
|
805
813
|
fill: "none",
|
|
@@ -813,29 +821,29 @@ const _hoisted_1$3 = /*#__PURE__*/createElementVNode("svg", {
|
|
|
813
821
|
d: "M4 6h16M4 12h16M4 18h16"
|
|
814
822
|
})
|
|
815
823
|
], -1 /* HOISTED */);
|
|
816
|
-
const _hoisted_2$
|
|
817
|
-
_hoisted_1$
|
|
824
|
+
const _hoisted_2$3 = [
|
|
825
|
+
_hoisted_1$5
|
|
818
826
|
];
|
|
819
827
|
|
|
820
|
-
function render$
|
|
828
|
+
function render$6(_ctx, _cache) {
|
|
821
829
|
return (openBlock(), createElementBlock("button", {
|
|
822
830
|
class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",
|
|
823
831
|
type: "button",
|
|
824
832
|
onClick: _cache[0] || (_cache[0] = (...args) => (_ctx.onClick && _ctx.onClick(...args)))
|
|
825
|
-
}, _hoisted_2$
|
|
833
|
+
}, _hoisted_2$3))
|
|
826
834
|
}
|
|
827
835
|
|
|
828
|
-
script$
|
|
829
|
-
script$
|
|
836
|
+
script$6.render = render$6;
|
|
837
|
+
script$6.__file = "src/MobileMenuButton.vue";
|
|
830
838
|
|
|
831
|
-
var script$
|
|
839
|
+
var script$5 = defineComponent({
|
|
832
840
|
name: "Navbar",
|
|
833
841
|
components: {
|
|
834
|
-
NavbarTitle: script$
|
|
835
|
-
NavigationLinks: script$
|
|
836
|
-
MobileNavigationLinks: script$
|
|
837
|
-
RightContent: script$
|
|
838
|
-
MobileMenuButton: script$
|
|
842
|
+
NavbarTitle: script$8,
|
|
843
|
+
NavigationLinks: script$9,
|
|
844
|
+
MobileNavigationLinks: script$b,
|
|
845
|
+
RightContent: script$7,
|
|
846
|
+
MobileMenuButton: script$6,
|
|
839
847
|
},
|
|
840
848
|
data() {
|
|
841
849
|
return {
|
|
@@ -852,6 +860,15 @@ var script$3 = defineComponent({
|
|
|
852
860
|
currentUserEmail: {
|
|
853
861
|
type: String,
|
|
854
862
|
},
|
|
863
|
+
title: {
|
|
864
|
+
type: String,
|
|
865
|
+
},
|
|
866
|
+
imageBig: {
|
|
867
|
+
type: String,
|
|
868
|
+
},
|
|
869
|
+
imageSmall: {
|
|
870
|
+
type: String,
|
|
871
|
+
},
|
|
855
872
|
},
|
|
856
873
|
methods: {
|
|
857
874
|
onMobileMenuClick() {
|
|
@@ -860,22 +877,22 @@ var script$3 = defineComponent({
|
|
|
860
877
|
}
|
|
861
878
|
});
|
|
862
879
|
|
|
863
|
-
const _hoisted_1$
|
|
864
|
-
const _hoisted_2$
|
|
865
|
-
const _hoisted_3$
|
|
880
|
+
const _hoisted_1$4 = { class: "bg-gray-800" };
|
|
881
|
+
const _hoisted_2$2 = { class: "max-w-7xl mx-auto px-2 sm:px-6 lg:px-8" };
|
|
882
|
+
const _hoisted_3$2 = { class: "relative flex items-center justify-between h-16" };
|
|
866
883
|
const _hoisted_4 = { class: "absolute inset-y-0 left-0 flex items-center sm:hidden" };
|
|
867
884
|
const _hoisted_5 = { class: "flex-1 flex items-center justify-center sm:items-stretch sm:justify-start" };
|
|
868
885
|
|
|
869
|
-
function render$
|
|
886
|
+
function render$5(_ctx, _cache) {
|
|
870
887
|
const _component_mobile_menu_button = resolveComponent("mobile-menu-button");
|
|
871
888
|
const _component_navbar_title = resolveComponent("navbar-title");
|
|
872
889
|
const _component_navigation_links = resolveComponent("navigation-links");
|
|
873
890
|
const _component_right_content = resolveComponent("right-content");
|
|
874
891
|
const _component_mobile_navigation_links = resolveComponent("mobile-navigation-links");
|
|
875
892
|
|
|
876
|
-
return (openBlock(), createElementBlock("nav", _hoisted_1$
|
|
877
|
-
createElementVNode("div", _hoisted_2$
|
|
878
|
-
createElementVNode("div", _hoisted_3$
|
|
893
|
+
return (openBlock(), createElementBlock("nav", _hoisted_1$4, [
|
|
894
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
895
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
879
896
|
createElementVNode("div", _hoisted_4, [
|
|
880
897
|
createVNode(_component_mobile_menu_button, {
|
|
881
898
|
onClick: _ctx.onMobileMenuClick,
|
|
@@ -883,7 +900,12 @@ function render$3(_ctx, _cache) {
|
|
|
883
900
|
}, null, 8 /* PROPS */, ["onClick", "open"])
|
|
884
901
|
]),
|
|
885
902
|
createElementVNode("div", _hoisted_5, [
|
|
886
|
-
createVNode(_component_navbar_title, {
|
|
903
|
+
createVNode(_component_navbar_title, {
|
|
904
|
+
href: "/",
|
|
905
|
+
title: _ctx.title,
|
|
906
|
+
imageBig: _ctx.imageBig,
|
|
907
|
+
imageSmall: _ctx.imageSmall
|
|
908
|
+
}, null, 8 /* PROPS */, ["title", "imageBig", "imageSmall"]),
|
|
887
909
|
createVNode(_component_navigation_links, { links: _ctx.links }, null, 8 /* PROPS */, ["links"])
|
|
888
910
|
]),
|
|
889
911
|
createVNode(_component_right_content, {
|
|
@@ -899,25 +921,25 @@ function render$3(_ctx, _cache) {
|
|
|
899
921
|
]))
|
|
900
922
|
}
|
|
901
923
|
|
|
902
|
-
script$
|
|
903
|
-
script$
|
|
924
|
+
script$5.render = render$5;
|
|
925
|
+
script$5.__file = "src/Navbar.vue";
|
|
904
926
|
|
|
905
|
-
var script$
|
|
927
|
+
var script$4 = defineComponent({
|
|
906
928
|
name: "StyledTable"
|
|
907
929
|
});
|
|
908
930
|
|
|
909
|
-
const _hoisted_1$
|
|
931
|
+
const _hoisted_1$3 = { class: "w-full border-collapse" };
|
|
910
932
|
|
|
911
|
-
function render$
|
|
912
|
-
return (openBlock(), createElementBlock("table", _hoisted_1$
|
|
933
|
+
function render$4(_ctx, _cache) {
|
|
934
|
+
return (openBlock(), createElementBlock("table", _hoisted_1$3, [
|
|
913
935
|
renderSlot(_ctx.$slots, "default")
|
|
914
936
|
]))
|
|
915
937
|
}
|
|
916
938
|
|
|
917
|
-
script$
|
|
918
|
-
script$
|
|
939
|
+
script$4.render = render$4;
|
|
940
|
+
script$4.__file = "src/StyledTable.vue";
|
|
919
941
|
|
|
920
|
-
var script$
|
|
942
|
+
var script$3 = defineComponent({
|
|
921
943
|
name: "Pagination",
|
|
922
944
|
props: {
|
|
923
945
|
previousLabel: String,
|
|
@@ -927,34 +949,34 @@ var script$1 = defineComponent({
|
|
|
927
949
|
nextLink: String,
|
|
928
950
|
},
|
|
929
951
|
components: {
|
|
930
|
-
RegularButton: script$
|
|
952
|
+
RegularButton: script$p
|
|
931
953
|
}
|
|
932
954
|
});
|
|
933
955
|
|
|
934
|
-
const _hoisted_1 = { class: "flex justify-between mt-4" };
|
|
935
|
-
const _hoisted_2 = ["href"];
|
|
936
|
-
const _hoisted_3 = ["href"];
|
|
956
|
+
const _hoisted_1$2 = { class: "flex justify-between mt-4" };
|
|
957
|
+
const _hoisted_2$1 = ["href"];
|
|
958
|
+
const _hoisted_3$1 = ["href"];
|
|
937
959
|
|
|
938
|
-
function render$
|
|
960
|
+
function render$3(_ctx, _cache) {
|
|
939
961
|
const _component_regular_button = resolveComponent("regular-button");
|
|
940
962
|
|
|
941
|
-
return (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
963
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
942
964
|
(_ctx.showPrevious)
|
|
943
965
|
? (openBlock(), createElementBlock("a", {
|
|
944
966
|
key: 0,
|
|
945
967
|
href: _ctx.previousLink
|
|
946
968
|
}, [
|
|
947
969
|
createVNode(_component_regular_button, { text: _ctx.previousLabel }, null, 8 /* PROPS */, ["text"])
|
|
948
|
-
], 8 /* PROPS */, _hoisted_2))
|
|
970
|
+
], 8 /* PROPS */, _hoisted_2$1))
|
|
949
971
|
: createCommentVNode("v-if", true),
|
|
950
972
|
createElementVNode("a", { href: _ctx.nextLink }, [
|
|
951
973
|
createVNode(_component_regular_button, { text: _ctx.nextLabel }, null, 8 /* PROPS */, ["text"])
|
|
952
|
-
], 8 /* PROPS */, _hoisted_3)
|
|
974
|
+
], 8 /* PROPS */, _hoisted_3$1)
|
|
953
975
|
]))
|
|
954
976
|
}
|
|
955
977
|
|
|
956
|
-
script$
|
|
957
|
-
script$
|
|
978
|
+
script$3.render = render$3;
|
|
979
|
+
script$3.__file = "src/Pagination.vue";
|
|
958
980
|
|
|
959
981
|
/*! image-blob-reduce 4.1.0 https://github.com/nodeca/image-blob-reduce @license MIT */
|
|
960
982
|
function commonjsRequire (path) {
|
|
@@ -4551,7 +4573,7 @@ ImageBlobReduce.pica = pica;
|
|
|
4551
4573
|
|
|
4552
4574
|
var imageBlobReduce = ImageBlobReduce;
|
|
4553
4575
|
|
|
4554
|
-
var script = defineComponent({
|
|
4576
|
+
var script$2 = defineComponent({
|
|
4555
4577
|
name: "ResizeImageUpload",
|
|
4556
4578
|
props: {
|
|
4557
4579
|
id: {
|
|
@@ -4597,7 +4619,7 @@ var script = defineComponent({
|
|
|
4597
4619
|
},
|
|
4598
4620
|
});
|
|
4599
4621
|
|
|
4600
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4622
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4601
4623
|
const _component_image_input = resolveComponent("image-input");
|
|
4602
4624
|
|
|
4603
4625
|
return (openBlock(), createBlock(_component_image_input, {
|
|
@@ -4611,8 +4633,72 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4611
4633
|
}, null, 8 /* PROPS */, ["id", "name", "required", "placeholder", "drop-placeholder", "label", "onUpdate"]))
|
|
4612
4634
|
}
|
|
4613
4635
|
|
|
4636
|
+
script$2.render = render$2;
|
|
4637
|
+
script$2.__file = "src/ResizeImageUpload.vue";
|
|
4638
|
+
|
|
4639
|
+
var script$1 = defineComponent({
|
|
4640
|
+
name: "Badge",
|
|
4641
|
+
props: {
|
|
4642
|
+
text: String,
|
|
4643
|
+
},
|
|
4644
|
+
});
|
|
4645
|
+
|
|
4646
|
+
const _hoisted_1$1 = { class: "bg-blue-100 text-blue-800 text-xs font-semibold mr-2 px-2.5 py-0.5 rounded dark:bg-blue-200 dark:text-blue-800 inline-block" };
|
|
4647
|
+
|
|
4648
|
+
function render$1(_ctx, _cache) {
|
|
4649
|
+
return (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(_ctx.text), 1 /* TEXT */))
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4652
|
+
script$1.render = render$1;
|
|
4653
|
+
script$1.__file = "src/Badge.vue";
|
|
4654
|
+
|
|
4655
|
+
var script = defineComponent({
|
|
4656
|
+
name: "Modal",
|
|
4657
|
+
emits: ['cancel', 'confirm'],
|
|
4658
|
+
props: {
|
|
4659
|
+
open: Boolean,
|
|
4660
|
+
},
|
|
4661
|
+
methods: {
|
|
4662
|
+
onCancel(evt) {
|
|
4663
|
+
this.$emit('cancel', evt);
|
|
4664
|
+
},
|
|
4665
|
+
onConfirm(evt) {
|
|
4666
|
+
this.$emit('confirm', evt);
|
|
4667
|
+
},
|
|
4668
|
+
}
|
|
4669
|
+
});
|
|
4670
|
+
|
|
4671
|
+
const _hoisted_1 = {
|
|
4672
|
+
key: 0,
|
|
4673
|
+
class: "bg-slate-800 bg-opacity-50 flex justify-center items-center absolute top-0 right-0 bottom-0 left-0"
|
|
4674
|
+
};
|
|
4675
|
+
const _hoisted_2 = { class: "bg-white px-16 py-14 rounded-md text-center" };
|
|
4676
|
+
const _hoisted_3 = /*#__PURE__*/createElementVNode("h1", { class: "text-xl mb-4 font-bold text-slate-500" }, "Are you sure?", -1 /* HOISTED */);
|
|
4677
|
+
|
|
4678
|
+
function render(_ctx, _cache) {
|
|
4679
|
+
const _component_secondary_button = resolveComponent("secondary-button");
|
|
4680
|
+
const _component_danger_button = resolveComponent("danger-button");
|
|
4681
|
+
|
|
4682
|
+
return (_ctx.open)
|
|
4683
|
+
? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
4684
|
+
createElementVNode("div", _hoisted_2, [
|
|
4685
|
+
_hoisted_3,
|
|
4686
|
+
createVNode(_component_secondary_button, {
|
|
4687
|
+
onClick: _ctx.onCancel,
|
|
4688
|
+
text: "No"
|
|
4689
|
+
}, null, 8 /* PROPS */, ["onClick"]),
|
|
4690
|
+
createVNode(_component_danger_button, {
|
|
4691
|
+
class: "ml-2",
|
|
4692
|
+
onClick: _ctx.onConfirm,
|
|
4693
|
+
text: "Yes"
|
|
4694
|
+
}, null, 8 /* PROPS */, ["onClick"])
|
|
4695
|
+
])
|
|
4696
|
+
]))
|
|
4697
|
+
: createCommentVNode("v-if", true)
|
|
4698
|
+
}
|
|
4699
|
+
|
|
4614
4700
|
script.render = render;
|
|
4615
|
-
script.__file = "src/
|
|
4701
|
+
script.__file = "src/Modal.vue";
|
|
4616
4702
|
|
|
4617
|
-
export { script$
|
|
4703
|
+
export { script$1 as Badge, script$m as Card, script$k as CardBody, script$e as CardGrid, script$l as CardImage, script$h as CheckBoxInput, script$d as Container, script$n as DangerButton, script$f as ImageInput, script$s as Loading, script as Modal, script$5 as Navbar, script$g as NumberInput, script$3 as Pagination, script$p as RegularButton, script$r as ResetButton, script$2 as ResizeImageUpload, script$o as SecondaryButton, script$t as SectionTitle, script$j as Selector, script$4 as StyledTable, script$q as SubmitButton, script$i as TextInput };
|
|
4618
4704
|
//# sourceMappingURL=index.esm.js.map
|