@namelivia/vue-components 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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$r = defineComponent({
3
+ var script$s = 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$n = { class: "text-center text-6xl leading-relaxed" };
13
+ const _hoisted_1$o = { class: "text-center text-6xl leading-relaxed" };
14
14
 
15
- function render$r(_ctx, _cache) {
16
- return (openBlock(), createElementBlock("h1", _hoisted_1$n, toDisplayString(_ctx.text), 1 /* TEXT */))
15
+ function render$s(_ctx, _cache) {
16
+ return (openBlock(), createElementBlock("h1", _hoisted_1$o, toDisplayString(_ctx.text), 1 /* TEXT */))
17
17
  }
18
18
 
19
- script$r.render = render$r;
20
- script$r.__file = "src/SectionTitle.vue";
19
+ script$s.render = render$s;
20
+ script$s.__file = "src/SectionTitle.vue";
21
21
 
22
- var script$q = defineComponent({
22
+ var script$r = defineComponent({
23
23
  name: "Loading",
24
24
  props: {
25
25
  text: String,
26
26
  },
27
27
  });
28
28
 
29
- const _hoisted_1$m = /*#__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);
29
+ const _hoisted_1$n = /*#__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
30
  const _hoisted_3$9 = [
31
- _hoisted_1$m
31
+ _hoisted_1$n
32
32
  ];
33
33
 
34
- function render$q(_ctx, _cache) {
34
+ function render$r(_ctx, _cache) {
35
35
  return (openBlock(), createElementBlock("div", null, _hoisted_3$9))
36
36
  }
37
37
 
38
- script$q.render = render$q;
39
- script$q.__file = "src/Loading.vue";
38
+ script$r.render = render$r;
39
+ script$r.__file = "src/Loading.vue";
40
40
 
41
- var script$p = defineComponent({
41
+ var script$q = defineComponent({
42
42
  name: "ResetButton",
43
43
  props: {
44
44
  text: String,
45
45
  },
46
46
  });
47
47
 
48
- const _hoisted_1$l = {
48
+ const _hoisted_1$m = {
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$p(_ctx, _cache) {
54
- return (openBlock(), createElementBlock("button", _hoisted_1$l, toDisplayString(_ctx.text), 1 /* TEXT */))
53
+ function render$q(_ctx, _cache) {
54
+ return (openBlock(), createElementBlock("button", _hoisted_1$m, toDisplayString(_ctx.text), 1 /* TEXT */))
55
55
  }
56
56
 
57
- script$p.render = render$p;
58
- script$p.__file = "src/ResetButton.vue";
57
+ script$q.render = render$q;
58
+ script$q.__file = "src/ResetButton.vue";
59
59
 
60
- var script$o = defineComponent({
60
+ var script$p = defineComponent({
61
61
  name: "SubmitButton",
62
62
  props: {
63
63
  text: String,
64
64
  },
65
65
  });
66
66
 
67
- const _hoisted_1$k = {
67
+ const _hoisted_1$l = {
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$o(_ctx, _cache) {
73
- return (openBlock(), createElementBlock("button", _hoisted_1$k, toDisplayString(_ctx.text), 1 /* TEXT */))
72
+ function render$p(_ctx, _cache) {
73
+ return (openBlock(), createElementBlock("button", _hoisted_1$l, toDisplayString(_ctx.text), 1 /* TEXT */))
74
74
  }
75
75
 
76
- script$o.render = render$o;
77
- script$o.__file = "src/SubmitButton.vue";
76
+ script$p.render = render$p;
77
+ script$p.__file = "src/SubmitButton.vue";
78
78
 
79
- var script$n = defineComponent({
79
+ var script$o = 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$n(_ctx, _cache) {
92
+ function render$o(_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$n.render = render$n;
100
- script$n.__file = "src/RegularButton.vue";
99
+ script$o.render = render$o;
100
+ script$o.__file = "src/RegularButton.vue";
101
101
 
102
- var script$m = defineComponent({
102
+ var script$n = 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$m(_ctx, _cache) {
115
+ function render$n(_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$m.render = render$m;
123
- script$m.__file = "src/SecondaryButton.vue";
122
+ script$n.render = render$n;
123
+ script$n.__file = "src/SecondaryButton.vue";
124
124
 
125
- var script$l = defineComponent({
125
+ var script$m = 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$l(_ctx, _cache) {
138
+ function render$m(_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$l.render = render$l;
146
- script$l.__file = "src/DangerButton.vue";
145
+ script$m.render = render$m;
146
+ script$m.__file = "src/DangerButton.vue";
147
147
 
148
- var script$k = defineComponent({
148
+ var script$l = defineComponent({
149
149
  name: "Card"
150
150
  });
151
151
 
152
- const _hoisted_1$j = { class: "m-8" };
152
+ const _hoisted_1$k = { class: "m-8" };
153
153
  const _hoisted_2$d = { class: "max-w-sm rounded overflow-hidden shadow-lg" };
154
154
 
155
- function render$k(_ctx, _cache) {
156
- return (openBlock(), createElementBlock("div", _hoisted_1$j, [
155
+ function render$l(_ctx, _cache) {
156
+ return (openBlock(), createElementBlock("div", _hoisted_1$k, [
157
157
  createElementVNode("div", _hoisted_2$d, [
158
158
  renderSlot(_ctx.$slots, "default")
159
159
  ])
160
160
  ]))
161
161
  }
162
162
 
163
- script$k.render = render$k;
164
- script$k.__file = "src/Card.vue";
163
+ script$l.render = render$l;
164
+ script$l.__file = "src/Card.vue";
165
165
 
166
- var script$j = defineComponent({
166
+ var script$k = defineComponent({
167
167
  name: "CardImage",
168
168
  props: {
169
169
  src: String,
@@ -185,33 +185,33 @@ var script$j = defineComponent({
185
185
  },
186
186
  });
187
187
 
188
- const _hoisted_1$i = ["src", "alt"];
188
+ const _hoisted_1$j = ["src", "alt"];
189
189
 
190
- function render$j(_ctx, _cache) {
190
+ function render$k(_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$i))
196
+ }, null, 8 /* PROPS */, _hoisted_1$j))
197
197
  }
198
198
 
199
- script$j.render = render$j;
200
- script$j.__file = "src/CardImage.vue";
199
+ script$k.render = render$k;
200
+ script$k.__file = "src/CardImage.vue";
201
201
 
202
- var script$i = defineComponent({
202
+ var script$j = defineComponent({
203
203
  name: "CardBody",
204
204
  props: {
205
205
  title: String,
206
206
  },
207
207
  });
208
208
 
209
- const _hoisted_1$h = { class: "px-6 py-4" };
209
+ const _hoisted_1$i = { class: "px-6 py-4" };
210
210
  const _hoisted_2$c = { class: "font-bold text-xl mb-2" };
211
211
  const _hoisted_3$8 = { class: "text-gray-700 text-base" };
212
212
 
213
- function render$i(_ctx, _cache) {
214
- return (openBlock(), createElementBlock("div", _hoisted_1$h, [
213
+ function render$j(_ctx, _cache) {
214
+ return (openBlock(), createElementBlock("div", _hoisted_1$i, [
215
215
  createElementVNode("div", _hoisted_2$c, toDisplayString(_ctx.title), 1 /* TEXT */),
216
216
  createElementVNode("p", _hoisted_3$8, [
217
217
  renderSlot(_ctx.$slots, "default")
@@ -219,10 +219,10 @@ function render$i(_ctx, _cache) {
219
219
  ]))
220
220
  }
221
221
 
222
- script$i.render = render$i;
223
- script$i.__file = "src/CardBody.vue";
222
+ script$j.render = render$j;
223
+ script$j.__file = "src/CardBody.vue";
224
224
 
225
- var script$h = defineComponent({
225
+ var script$i = 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$g = { class: "mb-4" };
264
+ const _hoisted_1$h = { class: "mb-4" };
265
265
  const _hoisted_2$b = ["for"];
266
266
  const _hoisted_3$7 = { class: "relative" };
267
- const _hoisted_4$2 = ["id"];
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,8 +276,8 @@ const _hoisted_6 = /*#__PURE__*/createElementVNode("div", { class: "pointer-even
276
276
  ])
277
277
  ], -1 /* HOISTED */);
278
278
 
279
- function render$h(_ctx, _cache) {
280
- return (openBlock(), createElementBlock("div", _hoisted_1$g, [
279
+ function render$i(_ctx, _cache) {
280
+ return (openBlock(), createElementBlock("div", _hoisted_1$h, [
281
281
  createElementVNode("label", {
282
282
  class: "block text-gray-700 text-sm font-bold mb-2",
283
283
  for: _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$2), [
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$h.render = render$h;
308
- script$h.__file = "src/Selector.vue";
307
+ script$i.render = render$i;
308
+ script$i.__file = "src/Selector.vue";
309
309
 
310
- var script$g = defineComponent({
310
+ var script$h = defineComponent({
311
311
  name: "TextInput",
312
312
  props: {
313
313
  id: {
@@ -335,12 +335,12 @@ var script$g = defineComponent({
335
335
 
336
336
  });
337
337
 
338
- const _hoisted_1$f = { class: "mb-4" };
338
+ const _hoisted_1$g = { class: "mb-4" };
339
339
  const _hoisted_2$a = ["for"];
340
340
  const _hoisted_3$6 = ["id", "name", "required", "placeholder", "value"];
341
341
 
342
- function render$g(_ctx, _cache) {
343
- return (openBlock(), createElementBlock("div", _hoisted_1$f, [
342
+ function render$h(_ctx, _cache) {
343
+ return (openBlock(), createElementBlock("div", _hoisted_1$g, [
344
344
  createElementVNode("label", {
345
345
  class: "block text-gray-700 text-sm font-bold mb-2",
346
346
  for: _ctx.id
@@ -358,10 +358,10 @@ function render$g(_ctx, _cache) {
358
358
  ]))
359
359
  }
360
360
 
361
- script$g.render = render$g;
362
- script$g.__file = "src/TextInput.vue";
361
+ script$h.render = render$h;
362
+ script$h.__file = "src/TextInput.vue";
363
363
 
364
- var script$f = defineComponent({
364
+ var script$g = 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$e = { class: "mb-4" };
391
+ const _hoisted_1$f = { class: "mb-4" };
392
392
  const _hoisted_2$9 = ["id", "name", "required", "value"];
393
393
 
394
- function render$f(_ctx, _cache) {
395
- return (openBlock(), createElementBlock("div", _hoisted_1$e, [
394
+ function render$g(_ctx, _cache) {
395
+ return (openBlock(), createElementBlock("div", _hoisted_1$f, [
396
396
  createElementVNode("input", {
397
397
  id: _ctx.id,
398
398
  name: _ctx.id,
@@ -407,10 +407,10 @@ function render$f(_ctx, _cache) {
407
407
  ]))
408
408
  }
409
409
 
410
- script$f.render = render$f;
411
- script$f.__file = "src/CheckBoxInput.vue";
410
+ script$g.render = render$g;
411
+ script$g.__file = "src/CheckBoxInput.vue";
412
412
 
413
- var script$e = defineComponent({
413
+ var script$f = defineComponent({
414
414
  name: "NumberInput",
415
415
  props: {
416
416
  id: {
@@ -444,12 +444,12 @@ var script$e = defineComponent({
444
444
 
445
445
  });
446
446
 
447
- const _hoisted_1$d = { class: "mb-4" };
447
+ const _hoisted_1$e = { class: "mb-4" };
448
448
  const _hoisted_2$8 = ["for"];
449
449
  const _hoisted_3$5 = ["id", "name", "required", "placeholder", "value", "min", "step"];
450
450
 
451
- function render$e(_ctx, _cache) {
452
- return (openBlock(), createElementBlock("div", _hoisted_1$d, [
451
+ function render$f(_ctx, _cache) {
452
+ return (openBlock(), createElementBlock("div", _hoisted_1$e, [
453
453
  createElementVNode("label", {
454
454
  class: "block text-gray-700 text-sm font-bold mb-2",
455
455
  for: _ctx.id
@@ -469,10 +469,10 @@ function render$e(_ctx, _cache) {
469
469
  ]))
470
470
  }
471
471
 
472
- script$e.render = render$e;
473
- script$e.__file = "src/NumberInput.vue";
472
+ script$f.render = render$f;
473
+ script$f.__file = "src/NumberInput.vue";
474
474
 
475
- var script$d = defineComponent({
475
+ var script$e = defineComponent({
476
476
  name: "ImageInput",
477
477
  props: {
478
478
  id: {
@@ -502,12 +502,12 @@ var script$d = defineComponent({
502
502
  },
503
503
  });
504
504
 
505
- const _hoisted_1$c = { class: "mb-4" };
505
+ const _hoisted_1$d = { class: "mb-4" };
506
506
  const _hoisted_2$7 = ["for"];
507
507
  const _hoisted_3$4 = ["id", "name", "required", "placeholder", "value", "drop-placeholder"];
508
508
 
509
- function render$d(_ctx, _cache, $props, $setup, $data, $options) {
510
- return (openBlock(), createElementBlock("div", _hoisted_1$c, [
509
+ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
510
+ return (openBlock(), createElementBlock("div", _hoisted_1$d, [
511
511
  createElementVNode("label", {
512
512
  class: "block text-gray-700 text-sm font-bold mb-2",
513
513
  for: _ctx.id
@@ -527,40 +527,40 @@ function render$d(_ctx, _cache, $props, $setup, $data, $options) {
527
527
  ]))
528
528
  }
529
529
 
530
- script$d.render = render$d;
531
- script$d.__file = "src/ImageInput.vue";
530
+ script$e.render = render$e;
531
+ script$e.__file = "src/ImageInput.vue";
532
532
 
533
- var script$c = defineComponent({
533
+ var script$d = defineComponent({
534
534
  name: "CardGrid"
535
535
  });
536
536
 
537
- const _hoisted_1$b = { class: "flex flex-wrap lg:justify-between justify-center align-content:center" };
537
+ const _hoisted_1$c = { class: "flex flex-wrap lg:justify-between justify-center align-content:center" };
538
538
 
539
- function render$c(_ctx, _cache) {
540
- return (openBlock(), createElementBlock("div", _hoisted_1$b, [
539
+ function render$d(_ctx, _cache) {
540
+ return (openBlock(), createElementBlock("div", _hoisted_1$c, [
541
541
  renderSlot(_ctx.$slots, "default")
542
542
  ]))
543
543
  }
544
544
 
545
- script$c.render = render$c;
546
- script$c.__file = "src/CardGrid.vue";
545
+ script$d.render = render$d;
546
+ script$d.__file = "src/CardGrid.vue";
547
547
 
548
- var script$b = defineComponent({
548
+ var script$c = defineComponent({
549
549
  name: "Container"
550
550
  });
551
551
 
552
- const _hoisted_1$a = { class: "container mx-auto" };
552
+ const _hoisted_1$b = { class: "container mx-auto" };
553
553
 
554
- function render$b(_ctx, _cache) {
555
- return (openBlock(), createElementBlock("div", _hoisted_1$a, [
554
+ function render$c(_ctx, _cache) {
555
+ return (openBlock(), createElementBlock("div", _hoisted_1$b, [
556
556
  renderSlot(_ctx.$slots, "default")
557
557
  ]))
558
558
  }
559
559
 
560
- script$b.render = render$b;
561
- script$b.__file = "src/Container.vue";
560
+ script$c.render = render$c;
561
+ script$c.__file = "src/Container.vue";
562
562
 
563
- var script$a = defineComponent({
563
+ var script$b = 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$9 = ["href"];
586
+ const _hoisted_1$a = ["href"];
587
587
 
588
- function render$a(_ctx, _cache) {
588
+ function render$b(_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$9))
593
+ }, toDisplayString(_ctx.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$a))
594
594
  }
595
595
 
596
- script$a.render = render$a;
597
- script$a.__file = "src/MobileNavigationLink.vue";
596
+ script$b.render = render$b;
597
+ script$b.__file = "src/MobileNavigationLink.vue";
598
598
 
599
- var script$9 = defineComponent({
599
+ var script$a = defineComponent({
600
600
  name: "MobileNavigationLinks",
601
601
  components: {
602
- MobileNavigationLink: script$a,
602
+ MobileNavigationLink: script$b,
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$8 = {
615
+ const _hoisted_1$9 = {
616
616
  key: 0,
617
617
  class: "sm:hidden",
618
618
  id: "mobile-menu"
619
619
  };
620
620
  const _hoisted_2$6 = { class: "px-2 pt-2 pb-3 space-y-1" };
621
621
 
622
- function render$9(_ctx, _cache) {
622
+ function render$a(_ctx, _cache) {
623
623
  const _component_mobile_navigation_link = resolveComponent("mobile-navigation-link");
624
624
 
625
625
  return (openBlock(), createBlock(Transition, {
@@ -632,7 +632,7 @@ function render$9(_ctx, _cache) {
632
632
  }, {
633
633
  default: withCtx(() => [
634
634
  (_ctx.open)
635
- ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
635
+ ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
636
636
  createElementVNode("div", _hoisted_2$6, [
637
637
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.links, (link) => {
638
638
  return (openBlock(), createBlock(_component_mobile_navigation_link, {
@@ -649,10 +649,10 @@ function render$9(_ctx, _cache) {
649
649
  }))
650
650
  }
651
651
 
652
- script$9.render = render$9;
653
- script$9.__file = "src/MobileNavigationLinks.vue";
652
+ script$a.render = render$a;
653
+ script$a.__file = "src/MobileNavigationLinks.vue";
654
654
 
655
- var script$8 = defineComponent({
655
+ var script$9 = 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$7 = ["href"];
678
+ const _hoisted_1$8 = ["href"];
679
679
 
680
- function render$8(_ctx, _cache) {
680
+ function render$9(_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$7))
685
+ }, toDisplayString(_ctx.text), 11 /* TEXT, CLASS, PROPS */, _hoisted_1$8))
686
686
  }
687
687
 
688
- script$8.render = render$8;
689
- script$8.__file = "src/NavigationLink.vue";
688
+ script$9.render = render$9;
689
+ script$9.__file = "src/NavigationLink.vue";
690
690
 
691
- var script$7 = defineComponent({
691
+ var script$8 = defineComponent({
692
692
  name: "NavigationLinks",
693
693
  components: {
694
- NavigationLink: script$8,
694
+ NavigationLink: script$9,
695
695
  },
696
696
  props: {
697
697
  links: {
@@ -700,13 +700,13 @@ var script$7 = defineComponent({
700
700
  },
701
701
  });
702
702
 
703
- const _hoisted_1$6 = { class: "hidden sm:block sm:ml-6" };
703
+ const _hoisted_1$7 = { class: "hidden sm:block sm:ml-6" };
704
704
  const _hoisted_2$5 = { class: "flex space-x-4" };
705
705
 
706
- function render$7(_ctx, _cache) {
706
+ function render$8(_ctx, _cache) {
707
707
  const _component_navigation_link = resolveComponent("navigation-link");
708
708
 
709
- return (openBlock(), createElementBlock("div", _hoisted_1$6, [
709
+ return (openBlock(), createElementBlock("div", _hoisted_1$7, [
710
710
  createElementVNode("div", _hoisted_2$5, [
711
711
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.links, (link) => {
712
712
  return (openBlock(), createBlock(_component_navigation_link, {
@@ -719,37 +719,53 @@ function render$7(_ctx, _cache) {
719
719
  ]))
720
720
  }
721
721
 
722
- script$7.render = render$7;
723
- script$7.__file = "src/NavigationLinks.vue";
722
+ script$8.render = render$8;
723
+ script$8.__file = "src/NavigationLinks.vue";
724
724
 
725
- var script$6 = defineComponent({
726
- name: "NavbarTitle"
725
+ var script$7 = defineComponent({
726
+ name: "NavbarTitle",
727
+ props: {
728
+ href: {
729
+ type: String,
730
+ },
731
+ title: {
732
+ type: String,
733
+ },
734
+ imageBig: {
735
+ type: String,
736
+ },
737
+ imageSmall: {
738
+ type: String,
739
+ },
740
+ }
727
741
  });
728
742
 
729
- const _hoisted_1$5 = { class: "flex-shrink-0 flex items-center" };
730
- const _hoisted_2$4 = /*#__PURE__*/createElementVNode("img", {
731
- class: "block lg:hidden h-8 w-auto",
732
- src: "https://tailwindui.com/img/logos/workflow-mark-indigo-500.svg",
733
- alt: "Workflow"
734
- }, null, -1 /* HOISTED */);
735
- const _hoisted_3$3 = /*#__PURE__*/createElementVNode("img", {
736
- class: "hidden lg:block h-8 w-auto",
737
- src: "https://tailwindui.com/img/logos/workflow-logo-indigo-500-mark-white-text.svg",
738
- alt: "Workflow"
739
- }, null, -1 /* HOISTED */);
740
- const _hoisted_4$1 = [
741
- _hoisted_2$4,
742
- _hoisted_3$3
743
- ];
743
+ const _hoisted_1$6 = ["href"];
744
+ const _hoisted_2$4 = ["src", "alt"];
745
+ const _hoisted_3$3 = ["src", "alt"];
744
746
 
745
- function render$6(_ctx, _cache) {
746
- return (openBlock(), createElementBlock("div", _hoisted_1$5, _hoisted_4$1))
747
+ function render$7(_ctx, _cache) {
748
+ return (openBlock(), createElementBlock("a", {
749
+ class: "flex-shrink-0 flex items-center",
750
+ href: _ctx.href
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$4),
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$3)
762
+ ], 8 /* PROPS */, _hoisted_1$6))
747
763
  }
748
764
 
749
- script$6.render = render$6;
750
- script$6.__file = "src/NavbarTitle.vue";
765
+ script$7.render = render$7;
766
+ script$7.__file = "src/NavbarTitle.vue";
751
767
 
752
- var script$5 = defineComponent({
768
+ var script$6 = defineComponent({
753
769
  name: "RightContent",
754
770
  props: {
755
771
  locale: {
@@ -761,21 +777,21 @@ var script$5 = defineComponent({
761
777
  },
762
778
  });
763
779
 
764
- const _hoisted_1$4 = { class: "absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0" };
780
+ const _hoisted_1$5 = { class: "absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0" };
765
781
  const _hoisted_2$3 = { class: "bg-gray-800 p-1 text-gray-400" };
766
782
  const _hoisted_3$2 = { class: "bg-gray-800 p-1 text-gray-400" };
767
783
 
768
- function render$5(_ctx, _cache) {
769
- return (openBlock(), createElementBlock("div", _hoisted_1$4, [
784
+ function render$6(_ctx, _cache) {
785
+ return (openBlock(), createElementBlock("div", _hoisted_1$5, [
770
786
  createElementVNode("span", _hoisted_2$3, toDisplayString(_ctx.$i18n.locale), 1 /* TEXT */),
771
787
  createElementVNode("span", _hoisted_3$2, toDisplayString(_ctx.currentUserEmail), 1 /* TEXT */)
772
788
  ]))
773
789
  }
774
790
 
775
- script$5.render = render$5;
776
- script$5.__file = "src/RightContent.vue";
791
+ script$6.render = render$6;
792
+ script$6.__file = "src/RightContent.vue";
777
793
 
778
- var script$4 = defineComponent({
794
+ var script$5 = defineComponent({
779
795
  name: "MobileMenuButton",
780
796
  props: {
781
797
  open: {
@@ -791,7 +807,7 @@ var script$4 = defineComponent({
791
807
  }
792
808
  });
793
809
 
794
- const _hoisted_1$3 = /*#__PURE__*/createElementVNode("svg", {
810
+ const _hoisted_1$4 = /*#__PURE__*/createElementVNode("svg", {
795
811
  class: "block h-6 w-6",
796
812
  xmlns: "http://www.w3.org/2000/svg",
797
813
  fill: "none",
@@ -806,10 +822,10 @@ const _hoisted_1$3 = /*#__PURE__*/createElementVNode("svg", {
806
822
  })
807
823
  ], -1 /* HOISTED */);
808
824
  const _hoisted_2$2 = [
809
- _hoisted_1$3
825
+ _hoisted_1$4
810
826
  ];
811
827
 
812
- function render$4(_ctx, _cache) {
828
+ function render$5(_ctx, _cache) {
813
829
  return (openBlock(), createElementBlock("button", {
814
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",
815
831
  type: "button",
@@ -817,17 +833,17 @@ function render$4(_ctx, _cache) {
817
833
  }, _hoisted_2$2))
818
834
  }
819
835
 
820
- script$4.render = render$4;
821
- script$4.__file = "src/MobileMenuButton.vue";
836
+ script$5.render = render$5;
837
+ script$5.__file = "src/MobileMenuButton.vue";
822
838
 
823
- var script$3 = defineComponent({
839
+ var script$4 = defineComponent({
824
840
  name: "Navbar",
825
841
  components: {
826
- NavbarTitle: script$6,
827
- NavigationLinks: script$7,
828
- MobileNavigationLinks: script$9,
829
- RightContent: script$5,
830
- MobileMenuButton: script$4,
842
+ NavbarTitle: script$7,
843
+ NavigationLinks: script$8,
844
+ MobileNavigationLinks: script$a,
845
+ RightContent: script$6,
846
+ MobileMenuButton: script$5,
831
847
  },
832
848
  data() {
833
849
  return {
@@ -844,6 +860,15 @@ var script$3 = defineComponent({
844
860
  currentUserEmail: {
845
861
  type: String,
846
862
  },
863
+ title: {
864
+ type: String,
865
+ },
866
+ imageBig: {
867
+ type: String,
868
+ },
869
+ imageSmall: {
870
+ type: String,
871
+ },
847
872
  },
848
873
  methods: {
849
874
  onMobileMenuClick() {
@@ -852,20 +877,20 @@ var script$3 = defineComponent({
852
877
  }
853
878
  });
854
879
 
855
- const _hoisted_1$2 = { class: "bg-gray-800" };
880
+ const _hoisted_1$3 = { class: "bg-gray-800" };
856
881
  const _hoisted_2$1 = { class: "max-w-7xl mx-auto px-2 sm:px-6 lg:px-8" };
857
882
  const _hoisted_3$1 = { class: "relative flex items-center justify-between h-16" };
858
883
  const _hoisted_4 = { class: "absolute inset-y-0 left-0 flex items-center sm:hidden" };
859
884
  const _hoisted_5 = { class: "flex-1 flex items-center justify-center sm:items-stretch sm:justify-start" };
860
885
 
861
- function render$3(_ctx, _cache) {
886
+ function render$4(_ctx, _cache) {
862
887
  const _component_mobile_menu_button = resolveComponent("mobile-menu-button");
863
888
  const _component_navbar_title = resolveComponent("navbar-title");
864
889
  const _component_navigation_links = resolveComponent("navigation-links");
865
890
  const _component_right_content = resolveComponent("right-content");
866
891
  const _component_mobile_navigation_links = resolveComponent("mobile-navigation-links");
867
892
 
868
- return (openBlock(), createElementBlock("nav", _hoisted_1$2, [
893
+ return (openBlock(), createElementBlock("nav", _hoisted_1$3, [
869
894
  createElementVNode("div", _hoisted_2$1, [
870
895
  createElementVNode("div", _hoisted_3$1, [
871
896
  createElementVNode("div", _hoisted_4, [
@@ -875,7 +900,12 @@ function render$3(_ctx, _cache) {
875
900
  }, null, 8 /* PROPS */, ["onClick", "open"])
876
901
  ]),
877
902
  createElementVNode("div", _hoisted_5, [
878
- 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"]),
879
909
  createVNode(_component_navigation_links, { links: _ctx.links }, null, 8 /* PROPS */, ["links"])
880
910
  ]),
881
911
  createVNode(_component_right_content, {
@@ -891,25 +921,25 @@ function render$3(_ctx, _cache) {
891
921
  ]))
892
922
  }
893
923
 
894
- script$3.render = render$3;
895
- script$3.__file = "src/Navbar.vue";
924
+ script$4.render = render$4;
925
+ script$4.__file = "src/Navbar.vue";
896
926
 
897
- var script$2 = defineComponent({
927
+ var script$3 = defineComponent({
898
928
  name: "StyledTable"
899
929
  });
900
930
 
901
- const _hoisted_1$1 = { class: "w-full border-collapse" };
931
+ const _hoisted_1$2 = { class: "w-full border-collapse" };
902
932
 
903
- function render$2(_ctx, _cache) {
904
- return (openBlock(), createElementBlock("table", _hoisted_1$1, [
933
+ function render$3(_ctx, _cache) {
934
+ return (openBlock(), createElementBlock("table", _hoisted_1$2, [
905
935
  renderSlot(_ctx.$slots, "default")
906
936
  ]))
907
937
  }
908
938
 
909
- script$2.render = render$2;
910
- script$2.__file = "src/StyledTable.vue";
939
+ script$3.render = render$3;
940
+ script$3.__file = "src/StyledTable.vue";
911
941
 
912
- var script$1 = defineComponent({
942
+ var script$2 = defineComponent({
913
943
  name: "Pagination",
914
944
  props: {
915
945
  previousLabel: String,
@@ -919,18 +949,18 @@ var script$1 = defineComponent({
919
949
  nextLink: String,
920
950
  },
921
951
  components: {
922
- RegularButton: script$n
952
+ RegularButton: script$o
923
953
  }
924
954
  });
925
955
 
926
- const _hoisted_1 = { class: "flex justify-between mt-4" };
956
+ const _hoisted_1$1 = { class: "flex justify-between mt-4" };
927
957
  const _hoisted_2 = ["href"];
928
958
  const _hoisted_3 = ["href"];
929
959
 
930
- function render$1(_ctx, _cache) {
960
+ function render$2(_ctx, _cache) {
931
961
  const _component_regular_button = resolveComponent("regular-button");
932
962
 
933
- return (openBlock(), createElementBlock("div", _hoisted_1, [
963
+ return (openBlock(), createElementBlock("div", _hoisted_1$1, [
934
964
  (_ctx.showPrevious)
935
965
  ? (openBlock(), createElementBlock("a", {
936
966
  key: 0,
@@ -945,8 +975,8 @@ function render$1(_ctx, _cache) {
945
975
  ]))
946
976
  }
947
977
 
948
- script$1.render = render$1;
949
- script$1.__file = "src/Pagination.vue";
978
+ script$2.render = render$2;
979
+ script$2.__file = "src/Pagination.vue";
950
980
 
951
981
  /*! image-blob-reduce 4.1.0 https://github.com/nodeca/image-blob-reduce @license MIT */
952
982
  function commonjsRequire (path) {
@@ -4543,7 +4573,7 @@ ImageBlobReduce.pica = pica;
4543
4573
 
4544
4574
  var imageBlobReduce = ImageBlobReduce;
4545
4575
 
4546
- var script = defineComponent({
4576
+ var script$1 = defineComponent({
4547
4577
  name: "ResizeImageUpload",
4548
4578
  props: {
4549
4579
  id: {
@@ -4589,7 +4619,7 @@ var script = defineComponent({
4589
4619
  },
4590
4620
  });
4591
4621
 
4592
- function render(_ctx, _cache, $props, $setup, $data, $options) {
4622
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
4593
4623
  const _component_image_input = resolveComponent("image-input");
4594
4624
 
4595
4625
  return (openBlock(), createBlock(_component_image_input, {
@@ -4603,8 +4633,24 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
4603
4633
  }, null, 8 /* PROPS */, ["id", "name", "required", "placeholder", "drop-placeholder", "label", "onUpdate"]))
4604
4634
  }
4605
4635
 
4636
+ script$1.render = render$1;
4637
+ script$1.__file = "src/ResizeImageUpload.vue";
4638
+
4639
+ var script = defineComponent({
4640
+ name: "Badge",
4641
+ props: {
4642
+ text: String,
4643
+ },
4644
+ });
4645
+
4646
+ const _hoisted_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" };
4647
+
4648
+ function render(_ctx, _cache) {
4649
+ return (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.text), 1 /* TEXT */))
4650
+ }
4651
+
4606
4652
  script.render = render;
4607
- script.__file = "src/ResizeImageUpload.vue";
4653
+ script.__file = "src/Badge.vue";
4608
4654
 
4609
- export { script$k as Card, script$i as CardBody, script$c as CardGrid, script$j as CardImage, script$f as CheckBoxInput, script$b as Container, script$l as DangerButton, script$d as ImageInput, script$q as Loading, script$3 as Navbar, script$e as NumberInput, script$1 as Pagination, script$n as RegularButton, script$p as ResetButton, script as ResizeImageUpload, script$m as SecondaryButton, script$r as SectionTitle, script$h as Selector, script$2 as StyledTable, script$o as SubmitButton, script$g as TextInput };
4655
+ export { script as Badge, script$l as Card, script$j as CardBody, script$d as CardGrid, script$k as CardImage, script$g as CheckBoxInput, script$c as Container, script$m as DangerButton, script$e as ImageInput, script$r as Loading, script$4 as Navbar, script$f as NumberInput, script$2 as Pagination, script$o as RegularButton, script$q as ResetButton, script$1 as ResizeImageUpload, script$n as SecondaryButton, script$s as SectionTitle, script$i as Selector, script$3 as StyledTable, script$p as SubmitButton, script$h as TextInput };
4610
4656
  //# sourceMappingURL=index.esm.js.map