pdap-design-system 2.7.0 → 3.0.0-beta.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -1,37 +1,37 @@
1
- import { defineComponent as C, reactive as B, openBlock as y, createElementBlock as h, normalizeClass as ee, renderSlot as J, ref as N, onErrorCaptured as ut, createBlock as E, resolveDynamicComponent as it, withCtx as T, createElementVNode as f, createTextVNode as D, inject as ae, resolveComponent as Ue, Fragment as W, renderList as le, unref as L, toDisplayString as z, createCommentVNode as k, getCurrentInstance as lt, onBeforeMount as Ve, watch as X, isRef as pe, onBeforeUnmount as fe, computed as v, isReactive as ct, isReadonly as dt, provide as De, nextTick as se, mergeProps as F, normalizeProps as Lt, watchEffect as Te, withModifiers as je, normalizeStyle as Mt, onMounted as Be, createVNode as U, withDirectives as Ce, withKeys as xe, toHandlers as gt, Transition as ye, vShow as pt, TransitionGroup as jt } from "vue";
2
- import { RouterLink as oe, useRouter as yt, useRoute as mt } from "vue-router";
3
- const ft = {
1
+ import { defineComponent as C, reactive as q, openBlock as j, createElementBlock as h, normalizeClass as le, renderSlot as H, ref as N, onErrorCaptured as it, createBlock as E, resolveDynamicComponent as lt, withCtx as D, createElementVNode as f, createTextVNode as T, inject as ne, resolveComponent as Ve, Fragment as B, renderList as ce, unref as L, toDisplayString as O, createCommentVNode as k, getCurrentInstance as ct, onBeforeMount as Be, watch as J, isRef as ye, onBeforeUnmount as he, computed as v, isReactive as dt, isReadonly as Lt, provide as xe, nextTick as ae, mergeProps as F, normalizeProps as Mt, watchEffect as Ie, withModifiers as me, withKeys as je, createVNode as P, Transition as se, withDirectives as fe, vShow as Fe, pushScopeId as gt, popScopeId as pt, onMounted as We, toHandlers as yt, TransitionGroup as mt } from "vue";
2
+ import { RouterLink as oe, useRouter as jt, useRoute as ft } from "vue-router";
3
+ const wt = {
4
4
  name: "PdapButton"
5
- }, We = /* @__PURE__ */ C({
6
- ...ft,
5
+ }, Ge = /* @__PURE__ */ C({
6
+ ...wt,
7
7
  props: {
8
8
  intent: { default: "primary" },
9
9
  isLoading: { type: Boolean, default: !1 }
10
10
  },
11
11
  setup(e) {
12
- const t = e, r = B({
12
+ const t = e, r = q({
13
13
  "pdap-button": !0,
14
14
  [`pdap-button-${t.intent}`]: !!t.intent,
15
15
  "pdap-button-loading": t.isLoading
16
16
  });
17
- return (n, a) => (y(), h("button", {
18
- class: ee(r)
17
+ return (n, a) => (j(), h("button", {
18
+ class: le(r)
19
19
  }, [
20
- J(n.$slots, "default")
20
+ H(n.$slots, "default")
21
21
  ], 2));
22
22
  }
23
23
  });
24
- const wt = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), ht = /* @__PURE__ */ f("p", {
24
+ const ht = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), vt = /* @__PURE__ */ f("p", {
25
25
  class: "max-w-full",
26
26
  "data-test": "error-boundary-message"
27
27
  }, [
28
- /* @__PURE__ */ D(" If you keep seeing this message, please email "),
28
+ /* @__PURE__ */ T(" If you keep seeing this message, please email "),
29
29
  /* @__PURE__ */ f("a", { href: "mailto:contact@pdap.io" }, "contact@pdap.io"),
30
- /* @__PURE__ */ D(" for assistance. ")
31
- ], -1), vt = {
30
+ /* @__PURE__ */ T(" for assistance. ")
31
+ ], -1), $t = {
32
32
  name: "ErrorBoundary"
33
- }, qn = /* @__PURE__ */ C({
34
- ...vt,
33
+ }, na = /* @__PURE__ */ C({
34
+ ...$t,
35
35
  props: {
36
36
  component: { default: "div" },
37
37
  onError: { type: Function, default: void 0 },
@@ -40,52 +40,55 @@ const wt = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), ht
40
40
  emits: ["onError"],
41
41
  setup(e, { emit: t }) {
42
42
  const r = e, n = t, a = N(), s = N("");
43
- function i(u, l, c) {
43
+ function i(u, c, l) {
44
44
  var M;
45
- a.value = u, s.value = c, (M = r.onError) == null || M.call(r, u, l, c), n("onError", { error: u, vm: l, info: c });
45
+ a.value = u, s.value = l, (M = r.onError) == null || M.call(r, u, c, l), n("onError", { error: u, vm: c, info: l });
46
46
  }
47
- return ut((u, l, c) => {
48
- i(u, l, c);
49
- }), (u, l) => a.value ? (y(), E(it(u.component), {
47
+ return it((u, c, l) => {
48
+ i(u, c, l);
49
+ }), (u, c) => a.value ? (j(), E(lt(u.component), {
50
50
  key: 1,
51
51
  class: "pdap-flex-container-center h-[full]",
52
52
  "v-bind": u.params
53
53
  }, {
54
- default: T(() => [
55
- wt,
56
- ht
54
+ default: D(() => [
55
+ ht,
56
+ vt
57
57
  ]),
58
58
  _: 1
59
- }, 8, ["v-bind"])) : J(u.$slots, "default", { key: 0 });
59
+ }, 8, ["v-bind"])) : H(u.$slots, "default", { key: 0 });
60
60
  }
61
- }), $t = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMTMuOCA4Ni4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTMuOCA4Ni4xOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0wLDgwLjlMMjEuNSwyLjZoNS4xTDUuMSw4MC45SDB6Ii8+Cjxwb2x5Z29uIHBvaW50cz0iNzguOCwyMC40IDYxLjgsMjAuNCA3NSw3LjIgNzEuMSwzLjIgNTguNCwxNS44IDU4LjQsMCA1Mi44LDAgNTIuOCwxNS44IDQwLjIsMy4y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er" }, Dt = { class: "pdap-flex-container-center" }, Tt = { class: "pdap-footer-social-links" }, Ct = ["href"], xt = { class: "pdap-footer-copyright" }, It = /* @__PURE__ */ f("br", null, null, -1), St = /* @__PURE__ */ f("p", { class: "pdap-footer-copyright" }, [
62
- /* @__PURE__ */ D(" PDAP is a non-profit. EIN: 85-4207132. "),
61
+ }), Nt = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMTMuOCA4Ni4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTMuOCA4Ni4xOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0wLDgwLjlMMjEuNSwyLjZoNS4xTDUuMSw4MC45SDB6Ii8+Cjxwb2x5Z29uIHBvaW50cz0iNzguOCwyMC40IDYxLjgsMjAuNCA3NSw3LjIgNzEuMSwzLjIgNTguNCwxNS44IDU4LjQsMCA1Mi44LDAgNTIuOCwxNS44IDQwLjIsMy4yIDM2LjIsNy4yIDQ5LjUsMjAuNCAzMi41LDIwLjQgCgkzMi41LDI2IDQ4LjMsMjYgMzYuMiwzOCA0MC4yLDQyIDUyLjgsMjkuMyA1Mi44LDQ2LjMgNTguNCw0Ni4zIDU4LjQsMjkuMyA3MS4xLDQyIDc1LDM4IDYzLDI2IDc4LjgsMjYgIi8+CjxwYXRoIGQ9Ik00Mi4xLDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzQ3LjMsNzEuMSw0Mi4xLDcxLjF6IE00Mi4xLDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzQ0LjMsNjEuNSw0Mi4xLDYxLjV6Ii8+CjxwYXRoIGQ9Ik02MC41LDgwLjFoLTYuOVY1Ny4zaDYuOWM2LjUsMCwxMS45LDQsMTEuOSwxMS40QzcyLjQsNzYuMiw2Ni42LDgwLjEsNjAuNSw4MC4xeiBNNjAuNSw2MS41aC0xLjl2MTQuNGgxLjkKCWM0LjMsMCw2LjctMy40LDYuNy03LjJTNjQuNSw2MS41LDYwLjUsNjEuNXoiLz4KPHBhdGggZD0iTTg4LjcsODAuMUw4Nyw3NC40aC03bC0xLjgsNS44aC01LjNsOC4yLTIyLjloNC44bDguMywyMi45aC01LjVWODAuMXogTTg0LDY0LjZjLTAuMi0wLjctMC41LTEuNi0wLjUtMS44CgljMCwwLjEtMC4yLDEtMC41LDEuOGwtMS43LDUuNmg0LjRMODQsNjQuNnoiLz4KPHBhdGggZD0iTTEwNC43LDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzEwOS44LDcxLjEsMTA0LjcsNzEuMXogTTEwNC43LDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzEwNi45LDYxLjUsMTA0LjcsNjEuNXoiLz4KPC9zdmc+Cg==", Dt = { class: "pdap-footer" }, Tt = { class: "pdap-flex-container-center" }, Ct = { class: "pdap-footer-social-links" }, xt = ["href"], It = { class: "pdap-footer-copyright" }, St = /* @__PURE__ */ f("br", null, null, -1), Et = /* @__PURE__ */ f("p", { class: "pdap-footer-copyright" }, [
62
+ /* @__PURE__ */ T(" PDAP is a non-profit. EIN: 85-4207132. "),
63
63
  /* @__PURE__ */ f("a", {
64
64
  href: "https://docs.pdap.io/meta/policy/pdap-privacy-policy",
65
65
  alt: "Privacy Policy",
66
66
  target: "_blank"
67
67
  }, [
68
68
  /* @__PURE__ */ f("br"),
69
- /* @__PURE__ */ D(" Privacy Policy "),
69
+ /* @__PURE__ */ T(" Privacy Policy "),
70
70
  /* @__PURE__ */ f("i", { class: "fa fa-external-link" })
71
71
  ]),
72
72
  /* @__PURE__ */ f("br"),
73
73
  /* @__PURE__ */ f("a", { href: "mailto:contact@pdap.io" }, "contact@pdap.io")
74
- ], -1), Et = { class: "pdap-footer-widget-links" }, zt = /* @__PURE__ */ f("a", {
74
+ ], -1), Ot = { class: "pdap-footer-widget-links" }, zt = /* @__PURE__ */ f("a", {
75
75
  href: "https://www.guidestar.org/profile/85-4207132",
76
76
  target: "_blank"
77
77
  }, [
78
- /* @__PURE__ */ f("img", { src: "https://widgets.guidestar.org/gximage2?o=9973356&l=v4" })
79
- ], -1), Ot = ["href"], _t = ["src"], bt = ["src"], At = {
78
+ /* @__PURE__ */ f("img", {
79
+ alt: "platinum transparency",
80
+ src: "https://widgets.guidestar.org/gximage2?o=9973356&l=v4"
81
+ })
82
+ ], -1), _t = ["href"], bt = ["src"], At = ["src"], kt = {
80
83
  name: "PdapFooter"
81
- }, ea = /* @__PURE__ */ C({
82
- ...At,
84
+ }, aa = /* @__PURE__ */ C({
85
+ ...kt,
83
86
  props: {
84
- logoImageSrc: { default: $t },
87
+ logoImageSrc: { default: Nt },
85
88
  logoImageAnchorPath: { default: "/" }
86
89
  },
87
90
  setup(e) {
88
- const t = e, r = ae("footerLinks", [
91
+ const t = e, r = ne("footerLinks", [
89
92
  {
90
93
  href: "https://github.com/orgs/Police-Data-Accessibility-Project",
91
94
  text: "Github"
@@ -104,57 +107,57 @@ const wt = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), ht
104
107
  }
105
108
  ]), n = t.logoImageAnchorPath.startsWith("/");
106
109
  return (a, s) => {
107
- const i = Ue("router-link");
108
- return y(), h("footer", Nt, [
109
- f("div", Dt, [
110
- f("ul", Tt, [
111
- (y(!0), h(W, null, le(L(r), (u) => (y(), h("li", {
110
+ const i = Ve("router-link");
111
+ return j(), h("footer", Dt, [
112
+ f("div", Tt, [
113
+ f("ul", Ct, [
114
+ (j(!0), h(B, null, ce(L(r), (u) => (j(), h("li", {
112
115
  key: u.text,
113
116
  class: "pdap-footer-link-container"
114
117
  }, [
115
- u.href ? (y(), h("a", {
118
+ u.href ? (j(), h("a", {
116
119
  key: 0,
117
120
  class: "pdap-footer-social-link",
118
121
  href: u.href,
119
122
  target: "_blank",
120
123
  referrerpolicy: "no-referrer"
121
- }, z(u.text), 9, Ct)) : k("", !0),
122
- u.path ? (y(), E(i, {
124
+ }, O(u.text), 9, xt)) : k("", !0),
125
+ u.path ? (j(), E(i, {
123
126
  key: 1,
124
127
  "active-class": "pdap-footer-social-link-current",
125
128
  "exact-active-class": "pdap-footer-social-link-current-exact",
126
129
  class: "pdap-footer-social-link",
127
130
  to: u.path
128
131
  }, {
129
- default: T(() => [
130
- D(z(u.text), 1)
132
+ default: D(() => [
133
+ T(O(u.text), 1)
131
134
  ]),
132
135
  _: 2
133
136
  }, 1032, ["to"])) : k("", !0)
134
137
  ]))), 128))
135
138
  ]),
136
- f("p", xt, [
137
- D(" © " + z((/* @__PURE__ */ new Date()).getFullYear()) + " Police Data Accessibility Project", 1),
138
- It
139
+ f("p", It, [
140
+ T(" © " + O((/* @__PURE__ */ new Date()).getFullYear()) + " Police Data Accessibility Project", 1),
141
+ St
139
142
  ]),
140
- St,
141
- f("div", Et, [
143
+ Et,
144
+ f("div", Ot, [
142
145
  zt,
143
- L(n) ? (y(), E(i, {
146
+ L(n) ? (j(), E(i, {
144
147
  key: 1,
145
148
  to: a.logoImageAnchorPath,
146
149
  class: "pdap-footer-logo"
147
150
  }, {
148
- default: T(() => [
151
+ default: D(() => [
149
152
  f("img", {
150
153
  src: a.logoImageSrc,
151
154
  loading: "lazy",
152
155
  width: "250",
153
156
  alt: "Police Data Accessibility Project Logo"
154
- }, null, 8, bt)
157
+ }, null, 8, At)
155
158
  ]),
156
159
  _: 1
157
- }, 8, ["to"])) : (y(), h("a", {
160
+ }, 8, ["to"])) : (j(), h("a", {
158
161
  key: 0,
159
162
  href: a.logoImageAnchorPath,
160
163
  class: "pdap-footer-logo"
@@ -164,15 +167,15 @@ const wt = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), ht
164
167
  loading: "lazy",
165
168
  width: "250",
166
169
  alt: "Police Data Accessibility Project Logo"
167
- }, null, 8, _t)
168
- ], 8, Ot))
170
+ }, null, 8, bt)
171
+ ], 8, _t))
169
172
  ])
170
173
  ])
171
174
  ]);
172
175
  };
173
176
  }
174
177
  });
175
- function Ie(e, t) {
178
+ function Se(e, t) {
176
179
  var r = Object.keys(e);
177
180
  if (Object.getOwnPropertySymbols) {
178
181
  var n = Object.getOwnPropertySymbols(e);
@@ -185,15 +188,15 @@ function Ie(e, t) {
185
188
  function A(e) {
186
189
  for (var t = 1; t < arguments.length; t++) {
187
190
  var r = arguments[t] != null ? arguments[t] : {};
188
- t % 2 ? Ie(Object(r), !0).forEach(function(n) {
189
- kt(e, n, r[n]);
190
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ie(Object(r)).forEach(function(n) {
191
+ t % 2 ? Se(Object(r), !0).forEach(function(n) {
192
+ Pt(e, n, r[n]);
193
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Se(Object(r)).forEach(function(n) {
191
194
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
192
195
  });
193
196
  }
194
197
  return e;
195
198
  }
196
- function kt(e, t, r) {
199
+ function Pt(e, t, r) {
197
200
  return t in e ? Object.defineProperty(e, t, {
198
201
  value: r,
199
202
  enumerable: !0,
@@ -201,17 +204,17 @@ function kt(e, t, r) {
201
204
  writable: !0
202
205
  }) : e[t] = r, e;
203
206
  }
204
- function Se(e) {
207
+ function Ee(e) {
205
208
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
206
209
  return Object.keys(e).reduce((r, n) => (t.includes(n) || (r[n] = L(e[n])), r), {});
207
210
  }
208
211
  function ue(e) {
209
212
  return typeof e == "function";
210
213
  }
211
- function Pt(e) {
212
- return ct(e) || dt(e);
214
+ function Yt(e) {
215
+ return dt(e) || Lt(e);
213
216
  }
214
- function Fe(e, t, r) {
217
+ function Ze(e, t, r) {
215
218
  let n = e;
216
219
  const a = t.split(".");
217
220
  for (let s = 0; s < a.length; s++) {
@@ -221,43 +224,43 @@ function Fe(e, t, r) {
221
224
  }
222
225
  return n;
223
226
  }
224
- function ge(e, t, r) {
225
- return v(() => e.some((n) => Fe(t, n, {
227
+ function pe(e, t, r) {
228
+ return v(() => e.some((n) => Ze(t, n, {
226
229
  [r]: !1
227
230
  })[r]));
228
231
  }
229
- function Ee(e, t, r) {
232
+ function Oe(e, t, r) {
230
233
  return v(() => e.reduce((n, a) => {
231
- const s = Fe(t, a, {
234
+ const s = Ze(t, a, {
232
235
  [r]: !1
233
236
  })[r] || [];
234
237
  return n.concat(s);
235
238
  }, []));
236
239
  }
237
- function Ge(e, t, r, n) {
240
+ function He(e, t, r, n) {
238
241
  return e.call(n, L(t), L(r), n);
239
242
  }
240
- function Ze(e) {
243
+ function Je(e) {
241
244
  return e.$valid !== void 0 ? !e.$valid : !e;
242
245
  }
243
- function Yt(e, t, r, n, a, s, i) {
246
+ function Qt(e, t, r, n, a, s, i) {
244
247
  let {
245
248
  $lazy: u,
246
- $rewardEarly: l
247
- } = a, c = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], M = arguments.length > 8 ? arguments[8] : void 0, j = arguments.length > 9 ? arguments[9] : void 0, m = arguments.length > 10 ? arguments[10] : void 0;
249
+ $rewardEarly: c
250
+ } = a, l = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], M = arguments.length > 8 ? arguments[8] : void 0, y = arguments.length > 9 ? arguments[9] : void 0, m = arguments.length > 10 ? arguments[10] : void 0;
248
251
  const p = N(!!n.value), o = N(0);
249
252
  r.value = !1;
250
- const d = X([t, n].concat(c, m), () => {
251
- if (u && !n.value || l && !j.value && !r.value)
253
+ const d = J([t, n].concat(l, m), () => {
254
+ if (u && !n.value || c && !y.value && !r.value)
252
255
  return;
253
256
  let g;
254
257
  try {
255
- g = Ge(e, t, M, i);
258
+ g = He(e, t, M, i);
256
259
  } catch (w) {
257
260
  g = Promise.reject(w);
258
261
  }
259
262
  o.value++, r.value = !!o.value, p.value = !1, Promise.resolve(g).then((w) => {
260
- o.value--, r.value = !!o.value, s.value = w, p.value = Ze(w);
263
+ o.value--, r.value = !!o.value, s.value = w, p.value = Je(w);
261
264
  }).catch((w) => {
262
265
  o.value--, r.value = !!o.value, s.value = w, p.value = !0;
263
266
  });
@@ -270,18 +273,18 @@ function Yt(e, t, r, n, a, s, i) {
270
273
  $unwatch: d
271
274
  };
272
275
  }
273
- function Qt(e, t, r, n, a, s, i, u) {
276
+ function Rt(e, t, r, n, a, s, i, u) {
274
277
  let {
275
- $lazy: l,
276
- $rewardEarly: c
278
+ $lazy: c,
279
+ $rewardEarly: l
277
280
  } = n;
278
- const M = () => ({}), j = v(() => {
279
- if (l && !r.value || c && !u.value)
281
+ const M = () => ({}), y = v(() => {
282
+ if (c && !r.value || l && !u.value)
280
283
  return !1;
281
284
  let m = !0;
282
285
  try {
283
- const p = Ge(e, t, i, s);
284
- a.value = p, m = Ze(p);
286
+ const p = He(e, t, i, s);
287
+ a.value = p, m = Je(p);
285
288
  } catch (p) {
286
289
  a.value = p;
287
290
  }
@@ -289,25 +292,25 @@ function Qt(e, t, r, n, a, s, i, u) {
289
292
  });
290
293
  return {
291
294
  $unwatch: M,
292
- $invalid: j
295
+ $invalid: y
293
296
  };
294
297
  }
295
- function Rt(e, t, r, n, a, s, i, u, l, c, M) {
296
- const j = N(!1), m = e.$params || {}, p = N(null);
298
+ function Ut(e, t, r, n, a, s, i, u, c, l, M) {
299
+ const y = N(!1), m = e.$params || {}, p = N(null);
297
300
  let o, d;
298
301
  e.$async ? {
299
302
  $invalid: o,
300
303
  $unwatch: d
301
- } = Yt(e.$validator, t, j, r, n, p, a, e.$watchTargets, l, c, M) : {
304
+ } = Qt(e.$validator, t, y, r, n, p, a, e.$watchTargets, c, l, M) : {
302
305
  $invalid: o,
303
306
  $unwatch: d
304
- } = Qt(e.$validator, t, r, n, p, a, l, c);
307
+ } = Rt(e.$validator, t, r, n, p, a, c, l);
305
308
  const g = e.$message;
306
309
  return {
307
- $message: ue(g) ? v(() => g(Se({
308
- $pending: j,
310
+ $message: ue(g) ? v(() => g(Ee({
311
+ $pending: y,
309
312
  $invalid: o,
310
- $params: Se(m),
313
+ $params: Ee(m),
311
314
  $model: t,
312
315
  $response: p,
313
316
  $validator: s,
@@ -315,35 +318,35 @@ function Rt(e, t, r, n, a, s, i, u, l, c, M) {
315
318
  $property: i
316
319
  }))) : g || "",
317
320
  $params: m,
318
- $pending: j,
321
+ $pending: y,
319
322
  $invalid: o,
320
323
  $response: p,
321
324
  $unwatch: d
322
325
  };
323
326
  }
324
- function Ut() {
327
+ function Vt() {
325
328
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
326
329
  const t = L(e), r = Object.keys(t), n = {}, a = {}, s = {};
327
330
  let i = null;
328
331
  return r.forEach((u) => {
329
- const l = t[u];
332
+ const c = t[u];
330
333
  switch (!0) {
331
- case ue(l.$validator):
332
- n[u] = l;
334
+ case ue(c.$validator):
335
+ n[u] = c;
333
336
  break;
334
- case ue(l):
337
+ case ue(c):
335
338
  n[u] = {
336
- $validator: l
339
+ $validator: c
337
340
  };
338
341
  break;
339
342
  case u === "$validationGroups":
340
- i = l;
343
+ i = c;
341
344
  break;
342
345
  case u.startsWith("$"):
343
- s[u] = l;
346
+ s[u] = c;
344
347
  break;
345
348
  default:
346
- a[u] = l;
349
+ a[u] = c;
347
350
  }
348
351
  }), {
349
352
  rules: n,
@@ -352,28 +355,28 @@ function Ut() {
352
355
  validationGroups: i
353
356
  };
354
357
  }
355
- const Vt = "__root";
356
- function Bt(e, t, r, n, a, s, i, u, l) {
357
- const c = Object.keys(e), M = n.get(a, e), j = N(!1), m = N(!1), p = N(0);
358
+ const Bt = "__root";
359
+ function Ft(e, t, r, n, a, s, i, u, c) {
360
+ const l = Object.keys(e), M = n.get(a, e), y = N(!1), m = N(!1), p = N(0);
358
361
  if (M) {
359
362
  if (!M.$partial)
360
363
  return M;
361
- M.$unwatch(), j.value = M.$dirty.value;
364
+ M.$unwatch(), y.value = M.$dirty.value;
362
365
  }
363
366
  const o = {
364
- $dirty: j,
367
+ $dirty: y,
365
368
  $path: a,
366
369
  $touch: () => {
367
- j.value || (j.value = !0);
370
+ y.value || (y.value = !0);
368
371
  },
369
372
  $reset: () => {
370
- j.value && (j.value = !1);
373
+ y.value && (y.value = !1);
371
374
  },
372
375
  $commit: () => {
373
376
  }
374
377
  };
375
- return c.length ? (c.forEach((d) => {
376
- o[d] = Rt(e[d], t, o.$dirty, s, i, d, r, a, l, m, p);
378
+ return l.length ? (l.forEach((d) => {
379
+ o[d] = Ut(e[d], t, o.$dirty, s, i, d, r, a, c, m, p);
377
380
  }), o.$externalResults = v(() => u.value ? [].concat(u.value).map((d, g) => ({
378
381
  $propertyPath: a,
379
382
  $property: r,
@@ -384,11 +387,11 @@ function Bt(e, t, r, n, a, s, i, u, l) {
384
387
  $response: null,
385
388
  $pending: !1
386
389
  })) : []), o.$invalid = v(() => {
387
- const d = c.some((g) => L(o[g].$invalid));
390
+ const d = l.some((g) => L(o[g].$invalid));
388
391
  return m.value = d, !!o.$externalResults.value.length || d;
389
- }), o.$pending = v(() => c.some((d) => L(o[d].$pending))), o.$error = v(() => o.$dirty.value ? o.$pending.value || o.$invalid.value : !1), o.$silentErrors = v(() => c.filter((d) => L(o[d].$invalid)).map((d) => {
392
+ }), o.$pending = v(() => l.some((d) => L(o[d].$pending))), o.$error = v(() => o.$dirty.value ? o.$pending.value || o.$invalid.value : !1), o.$silentErrors = v(() => l.filter((d) => L(o[d].$invalid)).map((d) => {
390
393
  const g = o[d];
391
- return B({
394
+ return q({
392
395
  $propertyPath: a,
393
396
  $property: r,
394
397
  $validator: d,
@@ -398,7 +401,7 @@ function Bt(e, t, r, n, a, s, i, u, l) {
398
401
  $response: g.$response,
399
402
  $pending: g.$pending
400
403
  });
401
- }).concat(o.$externalResults.value)), o.$errors = v(() => o.$dirty.value ? o.$silentErrors.value : []), o.$unwatch = () => c.forEach((d) => {
404
+ }).concat(o.$externalResults.value)), o.$errors = v(() => o.$dirty.value ? o.$silentErrors.value : []), o.$unwatch = () => l.forEach((d) => {
402
405
  o[d].$unwatch();
403
406
  }), o.$commit = () => {
404
407
  m.value = !0, p.value = Date.now();
@@ -406,18 +409,18 @@ function Bt(e, t, r, n, a, s, i, u, l) {
406
409
  }
407
410
  function Wt(e, t, r, n, a, s, i) {
408
411
  const u = Object.keys(e);
409
- return u.length ? u.reduce((l, c) => (l[c] = me({
410
- validations: e[c],
412
+ return u.length ? u.reduce((c, l) => (c[l] = we({
413
+ validations: e[l],
411
414
  state: t,
412
- key: c,
415
+ key: l,
413
416
  parentKey: r,
414
417
  resultsCache: n,
415
418
  globalConfig: a,
416
419
  instance: s,
417
420
  externalResults: i
418
- }), l), {}) : {};
421
+ }), c), {}) : {};
419
422
  }
420
- function Ft(e, t, r) {
423
+ function Gt(e, t, r) {
421
424
  const n = v(() => [t, r].filter((o) => o).reduce((o, d) => o.concat(Object.values(L(d))), [])), a = v({
422
425
  get() {
423
426
  return e.$dirty.value || (n.value.length ? n.value.every((o) => o.$dirty) : !1);
@@ -431,7 +434,7 @@ function Ft(e, t, r) {
431
434
  }), i = v(() => {
432
435
  const o = L(e.$errors) || [], d = n.value.filter((g) => (L(g).$errors || []).length).reduce((g, w) => g.concat(...w.$errors), []);
433
436
  return o.concat(d);
434
- }), u = v(() => n.value.some((o) => o.$invalid) || L(e.$invalid) || !1), l = v(() => n.value.some((o) => L(o.$pending)) || L(e.$pending) || !1), c = v(() => n.value.some((o) => o.$dirty) || n.value.some((o) => o.$anyDirty) || a.value), M = v(() => a.value ? l.value || u.value : !1), j = () => {
437
+ }), u = v(() => n.value.some((o) => o.$invalid) || L(e.$invalid) || !1), c = v(() => n.value.some((o) => L(o.$pending)) || L(e.$pending) || !1), l = v(() => n.value.some((o) => o.$dirty) || n.value.some((o) => o.$anyDirty) || a.value), M = v(() => a.value ? c.value || u.value : !1), y = () => {
435
438
  e.$touch(), n.value.forEach((o) => {
436
439
  o.$touch();
437
440
  });
@@ -444,20 +447,20 @@ function Ft(e, t, r) {
444
447
  o.$reset();
445
448
  });
446
449
  };
447
- return n.value.length && n.value.every((o) => o.$dirty) && j(), {
450
+ return n.value.length && n.value.every((o) => o.$dirty) && y(), {
448
451
  $dirty: a,
449
452
  $errors: i,
450
453
  $invalid: u,
451
- $anyDirty: c,
454
+ $anyDirty: l,
452
455
  $error: M,
453
- $pending: l,
454
- $touch: j,
456
+ $pending: c,
457
+ $touch: y,
455
458
  $reset: p,
456
459
  $silentErrors: s,
457
460
  $commit: m
458
461
  };
459
462
  }
460
- function me(e) {
463
+ function we(e) {
461
464
  let {
462
465
  validations: t,
463
466
  state: r,
@@ -466,95 +469,95 @@ function me(e) {
466
469
  childResults: s,
467
470
  resultsCache: i,
468
471
  globalConfig: u = {},
469
- instance: l,
470
- externalResults: c
472
+ instance: c,
473
+ externalResults: l
471
474
  } = e;
472
475
  const M = a ? `${a}.${n}` : n, {
473
- rules: j,
476
+ rules: y,
474
477
  nestedValidators: m,
475
478
  config: p,
476
479
  validationGroups: o
477
- } = Ut(t), d = A(A({}, u), p), g = n ? v(() => {
480
+ } = Vt(t), d = A(A({}, u), p), g = n ? v(() => {
478
481
  const $ = L(r);
479
482
  return $ ? L($[n]) : void 0;
480
- }) : r, w = A({}, L(c) || {}), I = v(() => {
481
- const $ = L(c);
483
+ }) : r, w = A({}, L(l) || {}), I = v(() => {
484
+ const $ = L(l);
482
485
  return n ? $ ? L($[n]) : void 0 : $;
483
- }), H = Bt(j, g, n, i, M, d, l, I, r), S = Wt(m, g, M, i, d, l, I), Q = {};
486
+ }), Z = Ft(y, g, n, i, M, d, c, I, r), S = Wt(m, g, M, i, d, c, I), R = {};
484
487
  o && Object.entries(o).forEach(($) => {
485
- let [R, b] = $;
486
- Q[R] = {
487
- $invalid: ge(b, S, "$invalid"),
488
- $error: ge(b, S, "$error"),
489
- $pending: ge(b, S, "$pending"),
490
- $errors: Ee(b, S, "$errors"),
491
- $silentErrors: Ee(b, S, "$silentErrors")
488
+ let [U, b] = $;
489
+ R[U] = {
490
+ $invalid: pe(b, S, "$invalid"),
491
+ $error: pe(b, S, "$error"),
492
+ $pending: pe(b, S, "$pending"),
493
+ $errors: Oe(b, S, "$errors"),
494
+ $silentErrors: Oe(b, S, "$silentErrors")
492
495
  };
493
496
  });
494
497
  const {
495
498
  $dirty: _,
496
- $errors: te,
497
- $invalid: de,
498
- $anyDirty: qe,
499
- $error: et,
500
- $pending: Le,
501
- $touch: Me,
502
- $reset: tt,
503
- $silentErrors: rt,
504
- $commit: Ne
505
- } = Ft(H, S, s), nt = n ? v({
499
+ $errors: ee,
500
+ $invalid: Le,
501
+ $anyDirty: et,
502
+ $error: tt,
503
+ $pending: Me,
504
+ $touch: ge,
505
+ $reset: rt,
506
+ $silentErrors: nt,
507
+ $commit: Ce
508
+ } = Gt(Z, S, s), at = n ? v({
506
509
  get: () => L(g),
507
510
  set: ($) => {
508
511
  _.value = !0;
509
- const R = L(r), b = L(c);
510
- b && (b[n] = w[n]), pe(R[n]) ? R[n].value = $ : R[n] = $;
512
+ const U = L(r), b = L(l);
513
+ b && (b[n] = w[n]), ye(U[n]) ? U[n].value = $ : U[n] = $;
511
514
  }
512
515
  }) : null;
513
- n && d.$autoDirty && X(g, () => {
514
- _.value || Me();
515
- const $ = L(c);
516
+ n && d.$autoDirty && J(g, () => {
517
+ _.value || ge();
518
+ const $ = L(l);
516
519
  $ && ($[n] = w[n]);
517
520
  }, {
518
521
  flush: "sync"
519
522
  });
520
- async function at() {
521
- return Me(), d.$rewardEarly && (Ne(), await se()), await se(), new Promise(($) => {
522
- if (!Le.value)
523
- return $(!de.value);
524
- const R = X(Le, () => {
525
- $(!de.value), R();
523
+ async function st() {
524
+ return ge(), d.$rewardEarly && (Ce(), await ae()), await ae(), new Promise(($) => {
525
+ if (!Me.value)
526
+ return $(!Le.value);
527
+ const U = J(Me, () => {
528
+ $(!Le.value), U();
526
529
  });
527
530
  });
528
531
  }
529
- function st($) {
532
+ function ot($) {
530
533
  return (s.value || {})[$];
531
534
  }
532
- function ot() {
533
- pe(c) ? c.value = w : Object.keys(w).length === 0 ? Object.keys(c).forEach(($) => {
534
- delete c[$];
535
- }) : Object.assign(c, w);
535
+ function ut() {
536
+ ye(l) ? l.value = w : Object.keys(w).length === 0 ? Object.keys(l).forEach(($) => {
537
+ delete l[$];
538
+ }) : Object.assign(l, w);
536
539
  }
537
- return B(A(A(A({}, H), {}, {
538
- $model: nt,
540
+ return q(A(A(A({}, Z), {}, {
541
+ $model: at,
539
542
  $dirty: _,
540
- $error: et,
541
- $errors: te,
542
- $invalid: de,
543
- $anyDirty: qe,
544
- $pending: Le,
545
- $touch: Me,
546
- $reset: tt,
547
- $path: M || Vt,
548
- $silentErrors: rt,
549
- $validate: at,
550
- $commit: Ne
543
+ $error: tt,
544
+ $errors: ee,
545
+ $invalid: Le,
546
+ $anyDirty: et,
547
+ $pending: Me,
548
+ $touch: ge,
549
+ $reset: rt,
550
+ $path: M || Bt,
551
+ $silentErrors: nt,
552
+ $validate: st,
553
+ $commit: Ce
551
554
  }, s && {
552
- $getResultsForChild: st,
553
- $clearExternalResults: ot,
554
- $validationGroups: Q
555
+ $getResultsForChild: ot,
556
+ $clearExternalResults: ut,
557
+ $validationGroups: R
555
558
  }), S));
556
559
  }
557
- class Gt {
560
+ class Zt {
558
561
  constructor() {
559
562
  this.storage = /* @__PURE__ */ new Map();
560
563
  }
@@ -566,7 +569,7 @@ class Gt {
566
569
  }
567
570
  checkRulesValidity(t, r, n) {
568
571
  const a = Object.keys(n), s = Object.keys(r);
569
- return s.length !== a.length || !s.every((u) => a.includes(u)) ? !1 : s.every((u) => r[u].$params ? Object.keys(r[u].$params).every((l) => L(n[u].$params[l]) === L(r[u].$params[l])) : !0);
572
+ return s.length !== a.length || !s.every((u) => a.includes(u)) ? !1 : s.every((u) => r[u].$params ? Object.keys(r[u].$params).every((c) => L(n[u].$params[c]) === L(r[u].$params[c])) : !0);
570
573
  }
571
574
  get(t, r) {
572
575
  const n = this.storage.get(t);
@@ -583,110 +586,110 @@ class Gt {
583
586
  };
584
587
  }
585
588
  }
586
- const re = {
589
+ const te = {
587
590
  COLLECT_ALL: !0,
588
591
  COLLECT_NONE: !1
589
- }, ze = Symbol("vuelidate#injectChildResults"), Oe = Symbol("vuelidate#removeChildResults");
590
- function Zt(e) {
592
+ }, ze = Symbol("vuelidate#injectChildResults"), _e = Symbol("vuelidate#removeChildResults");
593
+ function Ht(e) {
591
594
  let {
592
595
  $scope: t,
593
596
  instance: r
594
597
  } = e;
595
- const n = {}, a = N([]), s = v(() => a.value.reduce((M, j) => (M[j] = L(n[j]), M), {}));
596
- function i(M, j) {
598
+ const n = {}, a = N([]), s = v(() => a.value.reduce((M, y) => (M[y] = L(n[y]), M), {}));
599
+ function i(M, y) {
597
600
  let {
598
601
  $registerAs: m,
599
602
  $scope: p,
600
603
  $stopPropagation: o
601
- } = j;
602
- o || t === re.COLLECT_NONE || p === re.COLLECT_NONE || t !== re.COLLECT_ALL && t !== p || (n[m] = M, a.value.push(m));
604
+ } = y;
605
+ o || t === te.COLLECT_NONE || p === te.COLLECT_NONE || t !== te.COLLECT_ALL && t !== p || (n[m] = M, a.value.push(m));
603
606
  }
604
607
  r.__vuelidateInjectInstances = [].concat(r.__vuelidateInjectInstances || [], i);
605
608
  function u(M) {
606
- a.value = a.value.filter((j) => j !== M), delete n[M];
609
+ a.value = a.value.filter((y) => y !== M), delete n[M];
607
610
  }
608
611
  r.__vuelidateRemoveInstances = [].concat(r.__vuelidateRemoveInstances || [], u);
609
- const l = ae(ze, []);
610
- De(ze, r.__vuelidateInjectInstances);
611
- const c = ae(Oe, []);
612
- return De(Oe, r.__vuelidateRemoveInstances), {
612
+ const c = ne(ze, []);
613
+ xe(ze, r.__vuelidateInjectInstances);
614
+ const l = ne(_e, []);
615
+ return xe(_e, r.__vuelidateRemoveInstances), {
613
616
  childResults: s,
614
- sendValidationResultsToParent: l,
615
- removeValidationResultsFromParent: c
617
+ sendValidationResultsToParent: c,
618
+ removeValidationResultsFromParent: l
616
619
  };
617
620
  }
618
- function He(e) {
621
+ function Xe(e) {
619
622
  return new Proxy(e, {
620
623
  get(t, r) {
621
- return typeof t[r] == "object" ? He(t[r]) : v(() => t[r]);
624
+ return typeof t[r] == "object" ? Xe(t[r]) : v(() => t[r]);
622
625
  }
623
626
  });
624
627
  }
625
- let _e = 0;
626
- function Ht(e, t) {
628
+ let be = 0;
629
+ function Jt(e, t) {
627
630
  var r;
628
631
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
629
632
  arguments.length === 1 && (n = e, e = void 0, t = void 0);
630
633
  let {
631
634
  $registerAs: a,
632
- $scope: s = re.COLLECT_ALL,
635
+ $scope: s = te.COLLECT_ALL,
633
636
  $stopPropagation: i,
634
637
  $externalResults: u,
635
- currentVueInstance: l
638
+ currentVueInstance: c
636
639
  } = n;
637
- const c = l || ((r = lt()) === null || r === void 0 ? void 0 : r.proxy), M = c ? c.$options : {};
638
- a || (_e += 1, a = `_vuelidate_${_e}`);
639
- const j = N({}), m = new Gt(), {
640
+ const l = c || ((r = ct()) === null || r === void 0 ? void 0 : r.proxy), M = l ? l.$options : {};
641
+ a || (be += 1, a = `_vuelidate_${be}`);
642
+ const y = N({}), m = new Zt(), {
640
643
  childResults: p,
641
644
  sendValidationResultsToParent: o,
642
645
  removeValidationResultsFromParent: d
643
- } = c ? Zt({
646
+ } = l ? Ht({
644
647
  $scope: s,
645
- instance: c
648
+ instance: l
646
649
  }) : {
647
650
  childResults: N({})
648
651
  };
649
652
  if (!e && M.validations) {
650
653
  const g = M.validations;
651
- t = N({}), Ve(() => {
652
- t.value = c, X(() => ue(g) ? g.call(t.value, new He(t.value)) : g, (w) => {
653
- j.value = me({
654
+ t = N({}), Be(() => {
655
+ t.value = l, J(() => ue(g) ? g.call(t.value, new Xe(t.value)) : g, (w) => {
656
+ y.value = we({
654
657
  validations: w,
655
658
  state: t,
656
659
  childResults: p,
657
660
  resultsCache: m,
658
661
  globalConfig: n,
659
- instance: c,
660
- externalResults: u || c.vuelidateExternalResults
662
+ instance: l,
663
+ externalResults: u || l.vuelidateExternalResults
661
664
  });
662
665
  }, {
663
666
  immediate: !0
664
667
  });
665
668
  }), n = M.validationsConfig || n;
666
669
  } else {
667
- const g = pe(e) || Pt(e) ? e : B(e || {});
668
- X(g, (w) => {
669
- j.value = me({
670
+ const g = ye(e) || Yt(e) ? e : q(e || {});
671
+ J(g, (w) => {
672
+ y.value = we({
670
673
  validations: w,
671
674
  state: t,
672
675
  childResults: p,
673
676
  resultsCache: m,
674
677
  globalConfig: n,
675
- instance: c ?? {},
678
+ instance: l ?? {},
676
679
  externalResults: u
677
680
  });
678
681
  }, {
679
682
  immediate: !0
680
683
  });
681
684
  }
682
- return c && (o.forEach((g) => g(j, {
685
+ return l && (o.forEach((g) => g(y, {
683
686
  $registerAs: a,
684
687
  $scope: s,
685
688
  $stopPropagation: i
686
- })), fe(() => d.forEach((g) => g(a)))), v(() => A(A({}, L(j.value)), p.value));
689
+ })), he(() => d.forEach((g) => g(a)))), v(() => A(A({}, L(y.value)), p.value));
687
690
  }
688
- var O = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.TEXT = "text", e.PASSWORD = "password", e))(O || {});
689
- const Jt = ["id", "type", "name", "placeholder", "value"], Xt = /* @__PURE__ */ C({
691
+ var z = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.TEXT = "text", e.PASSWORD = "password", e))(z || {});
692
+ const Xt = ["id", "type", "name", "placeholder", "value"], Kt = /* @__PURE__ */ C({
690
693
  __name: "InputText",
691
694
  props: {
692
695
  type: {},
@@ -697,25 +700,20 @@ const Jt = ["id", "type", "name", "placeholder", "value"], Xt = /* @__PURE__ */
697
700
  placeholder: {},
698
701
  value: {}
699
702
  },
700
- emits: ["change", "input"],
703
+ emits: ["input"],
701
704
  setup(e, { emit: t }) {
702
- const r = t, n = (s) => {
703
- r("change", s);
704
- }, a = (s) => {
705
- r("input", s);
705
+ const r = t, n = (a) => {
706
+ r("input", a);
706
707
  };
707
- return (s, i) => (y(), h("input", F({
708
- id: s.id,
709
- type: s.type,
710
- name: s.name,
711
- placeholder: s.placeholder,
712
- value: s.value
713
- }, s.$attrs, {
714
- onChange: n,
715
- onInput: a
716
- }), null, 16, Jt));
708
+ return (a, s) => (j(), h("input", F({
709
+ id: a.id,
710
+ type: a.type,
711
+ name: a.name,
712
+ placeholder: a.placeholder,
713
+ value: a.value
714
+ }, a.$attrs, { onInput: n }), null, 16, Xt));
717
715
  }
718
- }), Kt = ["id", "name", "checked", "value"], qt = /* @__PURE__ */ C({
716
+ }), qt = ["id", "name", "checked", "value"], er = /* @__PURE__ */ C({
719
717
  __name: "InputCheckbox",
720
718
  props: {
721
719
  defaultChecked: { type: Boolean },
@@ -727,21 +725,21 @@ const Jt = ["id", "type", "name", "placeholder", "value"], Xt = /* @__PURE__ */
727
725
  placeholder: {},
728
726
  value: {}
729
727
  },
730
- emits: ["change"],
728
+ emits: ["input"],
731
729
  setup(e, { emit: t }) {
732
730
  const r = t, n = (a) => {
733
- r("change", a);
731
+ r("input", a);
734
732
  };
735
- return (a, s) => (y(), h("input", F({
733
+ return (a, s) => (j(), h("input", F({
736
734
  id: a.id,
737
735
  name: a.name,
738
736
  checked: a.value === "true",
739
737
  value: a.value,
740
738
  class: "pdap-input-checkbox",
741
739
  type: "checkbox"
742
- }, a.$attrs, { onChange: n }), null, 16, Kt));
740
+ }, a.$attrs, { onInput: n }), null, 16, qt));
743
741
  }
744
- }), er = ["id"], tr = ["for"], rr = /* @__PURE__ */ C({
742
+ }), tr = ["id"], rr = ["for"], nr = /* @__PURE__ */ C({
745
743
  __name: "PdapInput",
746
744
  props: {
747
745
  type: {},
@@ -757,32 +755,32 @@ const Jt = ["id", "type", "name", "placeholder", "value"], Xt = /* @__PURE__ */
757
755
  const t = e, r = v(() => `pdap-${t.name}-input-error`);
758
756
  return (n, a) => {
759
757
  var s;
760
- return y(), h("div", {
761
- class: ee({
758
+ return j(), h("div", {
759
+ class: le({
762
760
  "pdap-input": !0,
763
761
  [`pdap-input-${n.type}`]: !0,
764
- [`pdap-input-${n.type}-checked`]: n.type === L(O).CHECKBOX && n.value === "true",
762
+ [`pdap-input-${n.type}-checked`]: n.type === L(z).CHECKBOX && n.value === "true",
765
763
  "pdap-input-error": Number((s = n.error) == null ? void 0 : s.length) >= 1
766
764
  })
767
765
  }, [
768
- n.type === L(O).CHECKBOX ? (y(), E(qt, F({
766
+ n.type === L(z).CHECKBOX ? (j(), E(er, F({
769
767
  key: 0,
770
768
  class: "pdap-input-checkbox"
771
- }, { ...n.$attrs, ...t }), null, 16)) : (y(), E(Xt, Lt(F({ key: 1 }, { ...n.$attrs, ...n.$props })), null, 16)),
772
- n.error ? (y(), h("div", {
769
+ }, { ...n.$attrs, ...t }), null, 16)) : (j(), E(Kt, Mt(F({ key: 1 }, { ...n.$attrs, ...n.$props })), null, 16)),
770
+ n.error ? (j(), h("div", {
773
771
  key: 2,
774
772
  id: r.value,
775
773
  class: "pdap-input-error-message"
776
- }, z(n.error), 9, er)) : k("", !0),
774
+ }, O(n.error), 9, tr)) : k("", !0),
777
775
  f("label", {
778
776
  class: "pdap-input-label",
779
777
  for: n.id
780
- }, z(n.label), 9, tr)
778
+ }, O(n.label), 9, rr)
781
779
  ], 2);
782
780
  };
783
781
  }
784
782
  });
785
- function be(e, t) {
783
+ function Ae(e, t) {
786
784
  var r = Object.keys(e);
787
785
  if (Object.getOwnPropertySymbols) {
788
786
  var n = Object.getOwnPropertySymbols(e);
@@ -792,18 +790,18 @@ function be(e, t) {
792
790
  }
793
791
  return r;
794
792
  }
795
- function G(e) {
793
+ function W(e) {
796
794
  for (var t = 1; t < arguments.length; t++) {
797
795
  var r = arguments[t] != null ? arguments[t] : {};
798
- t % 2 ? be(Object(r), !0).forEach(function(n) {
799
- nr(e, n, r[n]);
800
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : be(Object(r)).forEach(function(n) {
796
+ t % 2 ? Ae(Object(r), !0).forEach(function(n) {
797
+ ar(e, n, r[n]);
798
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ae(Object(r)).forEach(function(n) {
801
799
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
802
800
  });
803
801
  }
804
802
  return e;
805
803
  }
806
- function nr(e, t, r) {
804
+ function ar(e, t, r) {
807
805
  return t in e ? Object.defineProperty(e, t, {
808
806
  value: r,
809
807
  enumerable: !0,
@@ -811,74 +809,74 @@ function nr(e, t, r) {
811
809
  writable: !0
812
810
  }) : e[t] = r, e;
813
811
  }
814
- function K(e) {
812
+ function X(e) {
815
813
  return typeof e == "function";
816
814
  }
817
815
  function ie(e) {
818
816
  return e !== null && typeof e == "object" && !Array.isArray(e);
819
817
  }
820
- function ce(e) {
821
- return K(e.$validator) ? G({}, e) : {
818
+ function de(e) {
819
+ return X(e.$validator) ? W({}, e) : {
822
820
  $validator: e
823
821
  };
824
822
  }
825
- function ar(e) {
826
- return ie(e) && K(e.then);
823
+ function sr(e) {
824
+ return ie(e) && X(e.then);
827
825
  }
828
- function P(e) {
826
+ function Y(e) {
829
827
  return typeof e == "object" ? e.$valid : e;
830
828
  }
831
829
  function V(e) {
832
830
  return e.$validator || e;
833
831
  }
834
- function we(e, t) {
832
+ function ve(e, t) {
835
833
  if (!ie(e))
836
834
  throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);
837
- if (!ie(t) && !K(t))
835
+ if (!ie(t) && !X(t))
838
836
  throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
839
- const r = ce(t);
840
- return r.$params = G(G({}, r.$params || {}), e), r;
837
+ const r = de(t);
838
+ return r.$params = W(W({}, r.$params || {}), e), r;
841
839
  }
842
- function q(e, t) {
843
- if (!K(e) && typeof L(e) != "string")
840
+ function K(e, t) {
841
+ if (!X(e) && typeof L(e) != "string")
844
842
  throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);
845
- if (!ie(t) && !K(t))
843
+ if (!ie(t) && !X(t))
846
844
  throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
847
- const r = ce(t);
845
+ const r = de(t);
848
846
  return r.$message = e, r;
849
847
  }
850
- function sr(e) {
848
+ function or(e) {
851
849
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
852
- const r = ce(e);
853
- return G(G({}, r), {}, {
850
+ const r = de(e);
851
+ return W(W({}, r), {}, {
854
852
  $async: !0,
855
853
  $watchTargets: t
856
854
  });
857
855
  }
858
- function or(e) {
856
+ function ur(e) {
859
857
  return {
860
858
  $validator(t) {
861
859
  for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
862
860
  n[a - 1] = arguments[a];
863
861
  return L(t).reduce((s, i, u) => {
864
- const l = Object.entries(i).reduce((c, M) => {
865
- let [j, m] = M;
866
- const p = e[j] || {}, o = Object.entries(p).reduce((d, g) => {
862
+ const c = Object.entries(i).reduce((l, M) => {
863
+ let [y, m] = M;
864
+ const p = e[y] || {}, o = Object.entries(p).reduce((d, g) => {
867
865
  let [w, I] = g;
868
- const S = V(I).call(this, m, i, u, ...n), Q = P(S);
869
- if (d.$data[w] = S, d.$data.$invalid = !Q || !!d.$data.$invalid, d.$data.$error = d.$data.$invalid, !Q) {
866
+ const S = V(I).call(this, m, i, u, ...n), R = Y(S);
867
+ if (d.$data[w] = S, d.$data.$invalid = !R || !!d.$data.$invalid, d.$data.$error = d.$data.$invalid, !R) {
870
868
  let _ = I.$message || "";
871
- const te = I.$params || {};
869
+ const ee = I.$params || {};
872
870
  typeof _ == "function" && (_ = _({
873
871
  $pending: !1,
874
- $invalid: !Q,
875
- $params: te,
872
+ $invalid: !R,
873
+ $params: ee,
876
874
  $model: m,
877
875
  $response: S
878
876
  })), d.$errors.push({
879
- $property: j,
877
+ $property: y,
880
878
  $message: _,
881
- $params: te,
879
+ $params: ee,
882
880
  $response: S,
883
881
  $model: m,
884
882
  $pending: !1,
@@ -886,7 +884,7 @@ function or(e) {
886
884
  });
887
885
  }
888
886
  return {
889
- $valid: d.$valid && Q,
887
+ $valid: d.$valid && R,
890
888
  $data: d.$data,
891
889
  $errors: d.$errors
892
890
  };
@@ -895,10 +893,10 @@ function or(e) {
895
893
  $data: {},
896
894
  $errors: []
897
895
  });
898
- return c.$data[j] = o.$data, c.$errors[j] = o.$errors, {
899
- $valid: c.$valid && o.$valid,
900
- $data: c.$data,
901
- $errors: c.$errors
896
+ return l.$data[y] = o.$data, l.$errors[y] = o.$errors, {
897
+ $valid: l.$valid && o.$valid,
898
+ $data: l.$data,
899
+ $errors: l.$errors
902
900
  };
903
901
  }, {
904
902
  $valid: !0,
@@ -906,9 +904,9 @@ function or(e) {
906
904
  $errors: {}
907
905
  });
908
906
  return {
909
- $valid: s.$valid && l.$valid,
910
- $data: s.$data.concat(l.$data),
911
- $errors: s.$errors.concat(l.$errors)
907
+ $valid: s.$valid && c.$valid,
908
+ $data: s.$data.concat(c.$data),
909
+ $errors: s.$errors.concat(c.$errors)
912
910
  };
913
911
  }, {
914
912
  $valid: !0,
@@ -939,50 +937,50 @@ const x = (e) => {
939
937
  return !1;
940
938
  }
941
939
  return !!String(e).length;
942
- }, he = (e) => (e = L(e), Array.isArray(e) ? e.length : typeof e == "object" ? Object.keys(e).length : String(e).length);
943
- function Y() {
940
+ }, $e = (e) => (e = L(e), Array.isArray(e) ? e.length : typeof e == "object" ? Object.keys(e).length : String(e).length);
941
+ function Q() {
944
942
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
945
943
  t[r] = arguments[r];
946
944
  return (n) => (n = L(n), !x(n) || t.every((a) => (a.lastIndex = 0, a.test(n))));
947
945
  }
948
- var Z = /* @__PURE__ */ Object.freeze({
946
+ var G = /* @__PURE__ */ Object.freeze({
949
947
  __proto__: null,
950
- forEach: or,
951
- len: he,
952
- normalizeValidatorObject: ce,
953
- regex: Y,
948
+ forEach: ur,
949
+ len: $e,
950
+ normalizeValidatorObject: de,
951
+ regex: Q,
954
952
  req: x,
955
953
  unwrap: L,
956
954
  unwrapNormalizedValidator: V,
957
- unwrapValidatorResponse: P,
958
- withAsync: sr,
959
- withMessage: q,
960
- withParams: we
961
- }), ur = Y(/^[a-zA-Z]*$/), ir = {
962
- $validator: ur,
955
+ unwrapValidatorResponse: Y,
956
+ withAsync: or,
957
+ withMessage: K,
958
+ withParams: ve
959
+ }), ir = Q(/^[a-zA-Z]*$/), lr = {
960
+ $validator: ir,
963
961
  $message: "The value is not alphabetical",
964
962
  $params: {
965
963
  type: "alpha"
966
964
  }
967
- }, lr = Y(/^[a-zA-Z0-9]*$/), cr = {
968
- $validator: lr,
965
+ }, cr = Q(/^[a-zA-Z0-9]*$/), dr = {
966
+ $validator: cr,
969
967
  $message: "The value must be alpha-numeric",
970
968
  $params: {
971
969
  type: "alphaNum"
972
970
  }
973
- }, dr = Y(/^\d*(\.\d+)?$/), Lr = {
974
- $validator: dr,
971
+ }, Lr = Q(/^\d*(\.\d+)?$/), Mr = {
972
+ $validator: Lr,
975
973
  $message: "Value must be numeric",
976
974
  $params: {
977
975
  type: "numeric"
978
976
  }
979
977
  };
980
- function Mr(e, t) {
978
+ function gr(e, t) {
981
979
  return (r) => !x(r) || (!/\s/.test(r) || r instanceof Date) && +L(e) <= +r && +L(t) >= +r;
982
980
  }
983
- function gr(e, t) {
981
+ function pr(e, t) {
984
982
  return {
985
- $validator: Mr(e, t),
983
+ $validator: gr(e, t),
986
984
  $message: (r) => {
987
985
  let {
988
986
  $params: n
@@ -996,36 +994,36 @@ function gr(e, t) {
996
994
  }
997
995
  };
998
996
  }
999
- const pr = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
1000
- var jr = Y(pr), ve = {
1001
- $validator: jr,
997
+ const yr = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
998
+ var mr = Q(yr), Ne = {
999
+ $validator: mr,
1002
1000
  $message: "Value is not a valid email address",
1003
1001
  $params: {
1004
1002
  type: "email"
1005
1003
  }
1006
1004
  };
1007
- function yr(e) {
1005
+ function jr(e) {
1008
1006
  if (!x(e))
1009
1007
  return !0;
1010
1008
  if (typeof e != "string")
1011
1009
  return !1;
1012
1010
  const t = e.split(".");
1013
- return t.length === 4 && t.every(mr);
1011
+ return t.length === 4 && t.every(fr);
1014
1012
  }
1015
- const mr = (e) => {
1013
+ const fr = (e) => {
1016
1014
  if (e.length > 3 || e.length === 0 || e[0] === "0" && e !== "0" || !e.match(/^\d+$/))
1017
1015
  return !1;
1018
1016
  const t = +e | 0;
1019
1017
  return t >= 0 && t <= 255;
1020
1018
  };
1021
- var fr = {
1022
- $validator: yr,
1019
+ var wr = {
1020
+ $validator: jr,
1023
1021
  $message: "The value is not a valid IP address",
1024
1022
  $params: {
1025
1023
  type: "ipAddress"
1026
1024
  }
1027
1025
  };
1028
- function wr() {
1026
+ function hr() {
1029
1027
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ":";
1030
1028
  return (t) => {
1031
1029
  if (e = L(e), !x(t))
@@ -1033,25 +1031,25 @@ function wr() {
1033
1031
  if (typeof t != "string")
1034
1032
  return !1;
1035
1033
  const r = typeof e == "string" && e !== "" ? t.split(e) : t.length === 12 || t.length === 16 ? t.match(/.{2}/g) : null;
1036
- return r !== null && (r.length === 6 || r.length === 8) && r.every(hr);
1034
+ return r !== null && (r.length === 6 || r.length === 8) && r.every(vr);
1037
1035
  };
1038
1036
  }
1039
- const hr = (e) => e.toLowerCase().match(/^[0-9a-f]{2}$/);
1040
- function vr(e) {
1037
+ const vr = (e) => e.toLowerCase().match(/^[0-9a-f]{2}$/);
1038
+ function $r(e) {
1041
1039
  return {
1042
- $validator: wr(e),
1040
+ $validator: hr(e),
1043
1041
  $message: "The value is not a valid MAC Address",
1044
1042
  $params: {
1045
1043
  type: "macAddress"
1046
1044
  }
1047
1045
  };
1048
1046
  }
1049
- function $r(e) {
1050
- return (t) => !x(t) || he(t) <= L(e);
1051
- }
1052
1047
  function Nr(e) {
1048
+ return (t) => !x(t) || $e(t) <= L(e);
1049
+ }
1050
+ function Dr(e) {
1053
1051
  return {
1054
- $validator: $r(e),
1052
+ $validator: Nr(e),
1055
1053
  $message: (t) => {
1056
1054
  let {
1057
1055
  $params: r
@@ -1064,12 +1062,12 @@ function Nr(e) {
1064
1062
  }
1065
1063
  };
1066
1064
  }
1067
- function Dr(e) {
1068
- return (t) => !x(t) || he(t) >= L(e);
1069
- }
1070
1065
  function Tr(e) {
1066
+ return (t) => !x(t) || $e(t) >= L(e);
1067
+ }
1068
+ function Cr(e) {
1071
1069
  return {
1072
- $validator: Dr(e),
1070
+ $validator: Tr(e),
1073
1071
  $message: (t) => {
1074
1072
  let {
1075
1073
  $params: r
@@ -1082,28 +1080,28 @@ function Tr(e) {
1082
1080
  }
1083
1081
  };
1084
1082
  }
1085
- function Cr(e) {
1083
+ function xr(e) {
1086
1084
  return typeof e == "string" && (e = e.trim()), x(e);
1087
1085
  }
1088
- var $e = {
1089
- $validator: Cr,
1086
+ var De = {
1087
+ $validator: xr,
1090
1088
  $message: "Value is required",
1091
1089
  $params: {
1092
1090
  type: "required"
1093
1091
  }
1094
1092
  };
1095
- const Ae = (e, t) => e ? x(typeof t == "string" ? t.trim() : t) : !0;
1096
- function xr(e) {
1093
+ const ke = (e, t) => e ? x(typeof t == "string" ? t.trim() : t) : !0;
1094
+ function Ir(e) {
1097
1095
  return function(t, r) {
1098
1096
  if (typeof e != "function")
1099
- return Ae(L(e), t);
1097
+ return ke(L(e), t);
1100
1098
  const n = e.call(this, t, r);
1101
- return Ae(n, t);
1099
+ return ke(n, t);
1102
1100
  };
1103
1101
  }
1104
- function Ir(e) {
1102
+ function Sr(e) {
1105
1103
  return {
1106
- $validator: xr(e),
1104
+ $validator: Ir(e),
1107
1105
  $message: "The value is required",
1108
1106
  $params: {
1109
1107
  type: "requiredIf",
@@ -1111,18 +1109,18 @@ function Ir(e) {
1111
1109
  }
1112
1110
  };
1113
1111
  }
1114
- const ke = (e, t) => e ? !0 : x(typeof t == "string" ? t.trim() : t);
1115
- function Sr(e) {
1112
+ const Pe = (e, t) => e ? !0 : x(typeof t == "string" ? t.trim() : t);
1113
+ function Er(e) {
1116
1114
  return function(t, r) {
1117
1115
  if (typeof e != "function")
1118
- return ke(L(e), t);
1116
+ return Pe(L(e), t);
1119
1117
  const n = e.call(this, t, r);
1120
- return ke(n, t);
1118
+ return Pe(n, t);
1121
1119
  };
1122
1120
  }
1123
- function Er(e) {
1121
+ function Or(e) {
1124
1122
  return {
1125
- $validator: Sr(e),
1123
+ $validator: Er(e),
1126
1124
  $message: "The value is required",
1127
1125
  $params: {
1128
1126
  type: "requiredUnless",
@@ -1133,7 +1131,7 @@ function Er(e) {
1133
1131
  function zr(e) {
1134
1132
  return (t) => L(t) === L(e);
1135
1133
  }
1136
- function Or(e) {
1134
+ function _r(e) {
1137
1135
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "other";
1138
1136
  return {
1139
1137
  $validator: zr(e),
@@ -1145,89 +1143,89 @@ function Or(e) {
1145
1143
  }
1146
1144
  };
1147
1145
  }
1148
- const _r = /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
1149
- var br = Y(_r), Ar = {
1150
- $validator: br,
1146
+ const br = /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
1147
+ var Ar = Q(br), kr = {
1148
+ $validator: Ar,
1151
1149
  $message: "The value is not a valid URL address",
1152
1150
  $params: {
1153
1151
  type: "url"
1154
1152
  }
1155
1153
  };
1156
- function kr(e) {
1154
+ function Pr(e) {
1157
1155
  return function() {
1158
1156
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
1159
1157
  r[n] = arguments[n];
1160
- return e.reduce((a, s) => P(a) ? a : V(s).apply(this, r), !1);
1158
+ return e.reduce((a, s) => Y(a) ? a : V(s).apply(this, r), !1);
1161
1159
  };
1162
1160
  }
1163
- function Pr(e) {
1161
+ function Yr(e) {
1164
1162
  return function() {
1165
1163
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
1166
1164
  r[n] = arguments[n];
1167
1165
  return e.reduce(async (a, s) => {
1168
1166
  const i = await a;
1169
- return P(i) ? i : V(s).apply(this, r);
1167
+ return Y(i) ? i : V(s).apply(this, r);
1170
1168
  }, Promise.resolve(!1));
1171
1169
  };
1172
1170
  }
1173
- function Yr() {
1171
+ function Qr() {
1174
1172
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
1175
1173
  t[r] = arguments[r];
1176
1174
  const n = t.some((i) => i.$async), a = t.reduce((i, u) => u.$watchTargets ? i.concat(u.$watchTargets) : i, []);
1177
1175
  let s = () => !1;
1178
- return t.length && (s = n ? Pr(t) : kr(t)), {
1176
+ return t.length && (s = n ? Yr(t) : Pr(t)), {
1179
1177
  $async: n,
1180
1178
  $validator: s,
1181
1179
  $watchTargets: a
1182
1180
  };
1183
1181
  }
1184
- function Qr() {
1185
- return we({
1182
+ function Rr() {
1183
+ return ve({
1186
1184
  type: "or"
1187
- }, q("The value does not match any of the provided validators", Yr(...arguments)));
1185
+ }, K("The value does not match any of the provided validators", Qr(...arguments)));
1188
1186
  }
1189
- function Rr(e) {
1187
+ function Ur(e) {
1190
1188
  return function() {
1191
1189
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
1192
1190
  r[n] = arguments[n];
1193
- return e.reduce((a, s) => P(a) ? V(s).apply(this, r) : a, !0);
1191
+ return e.reduce((a, s) => Y(a) ? V(s).apply(this, r) : a, !0);
1194
1192
  };
1195
1193
  }
1196
- function Ur(e) {
1194
+ function Vr(e) {
1197
1195
  return function() {
1198
1196
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
1199
1197
  r[n] = arguments[n];
1200
1198
  return e.reduce(async (a, s) => {
1201
1199
  const i = await a;
1202
- return P(i) ? V(s).apply(this, r) : i;
1200
+ return Y(i) ? V(s).apply(this, r) : i;
1203
1201
  }, Promise.resolve(!0));
1204
1202
  };
1205
1203
  }
1206
- function Vr() {
1204
+ function Br() {
1207
1205
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
1208
1206
  t[r] = arguments[r];
1209
1207
  const n = t.some((i) => i.$async), a = t.reduce((i, u) => u.$watchTargets ? i.concat(u.$watchTargets) : i, []);
1210
1208
  let s = () => !1;
1211
- return t.length && (s = n ? Ur(t) : Rr(t)), {
1209
+ return t.length && (s = n ? Vr(t) : Ur(t)), {
1212
1210
  $async: n,
1213
1211
  $validator: s,
1214
1212
  $watchTargets: a
1215
1213
  };
1216
1214
  }
1217
- function Br() {
1218
- return we({
1215
+ function Fr() {
1216
+ return ve({
1219
1217
  type: "and"
1220
- }, q("The value does not match all of the provided validators", Vr(...arguments)));
1218
+ }, K("The value does not match all of the provided validators", Br(...arguments)));
1221
1219
  }
1222
1220
  function Wr(e) {
1223
1221
  return function(t, r) {
1224
1222
  if (!x(t))
1225
1223
  return !0;
1226
1224
  const n = V(e).call(this, t, r);
1227
- return ar(n) ? n.then((a) => !P(a)) : !P(n);
1225
+ return sr(n) ? n.then((a) => !Y(a)) : !Y(n);
1228
1226
  };
1229
1227
  }
1230
- function Fr(e) {
1228
+ function Gr(e) {
1231
1229
  return {
1232
1230
  $validator: Wr(e),
1233
1231
  $message: "The value does not match the provided validator",
@@ -1236,12 +1234,12 @@ function Fr(e) {
1236
1234
  }
1237
1235
  };
1238
1236
  }
1239
- function Gr(e) {
1237
+ function Zr(e) {
1240
1238
  return (t) => !x(t) || (!/\s/.test(t) || t instanceof Date) && +t >= +L(e);
1241
1239
  }
1242
- function Zr(e) {
1240
+ function Hr(e) {
1243
1241
  return {
1244
- $validator: Gr(e),
1242
+ $validator: Zr(e),
1245
1243
  $message: (t) => {
1246
1244
  let {
1247
1245
  $params: r
@@ -1254,11 +1252,11 @@ function Zr(e) {
1254
1252
  }
1255
1253
  };
1256
1254
  }
1257
- function Hr(e) {
1255
+ function Jr(e) {
1258
1256
  return (t) => !x(t) || (!/\s/.test(t) || t instanceof Date) && +t <= +L(e);
1259
1257
  }
1260
- var Jr = (e) => ({
1261
- $validator: Hr(e),
1258
+ var Xr = (e) => ({
1259
+ $validator: Jr(e),
1262
1260
  $message: (t) => {
1263
1261
  let {
1264
1262
  $params: r
@@ -1269,20 +1267,20 @@ var Jr = (e) => ({
1269
1267
  max: e,
1270
1268
  type: "maxValue"
1271
1269
  }
1272
- }), Xr = Y(/(^[0-9]*$)|(^-[0-9]+$)/), Kr = {
1273
- $validator: Xr,
1270
+ }), Kr = Q(/(^[0-9]*$)|(^-[0-9]+$)/), qr = {
1271
+ $validator: Kr,
1274
1272
  $message: "Value is not an integer",
1275
1273
  $params: {
1276
1274
  type: "integer"
1277
1275
  }
1278
- }, qr = Y(/^[-]?\d*(\.\d+)?$/), en = {
1279
- $validator: qr,
1276
+ }, en = Q(/^[-]?\d*(\.\d+)?$/), tn = {
1277
+ $validator: en,
1280
1278
  $message: "Value must be decimal",
1281
1279
  $params: {
1282
1280
  type: "decimal"
1283
1281
  }
1284
1282
  };
1285
- function tn(e) {
1283
+ function rn(e) {
1286
1284
  let {
1287
1285
  t,
1288
1286
  messagePath: r = (a) => {
@@ -1297,10 +1295,10 @@ function tn(e) {
1297
1295
  let {
1298
1296
  withArguments: i = !1,
1299
1297
  messagePath: u = r,
1300
- messageParams: l = n
1298
+ messageParams: c = n
1301
1299
  } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1302
- function c(M) {
1303
- return t(u(M), l(G({
1300
+ function l(M) {
1301
+ return t(u(M), c(W({
1304
1302
  model: M.$model,
1305
1303
  property: M.$property,
1306
1304
  pending: M.$pending,
@@ -1311,119 +1309,120 @@ function tn(e) {
1311
1309
  }, M.$params)));
1312
1310
  }
1313
1311
  return i && typeof s == "function" ? function() {
1314
- return q(c, s(...arguments));
1315
- } : q(c, s);
1312
+ return K(l, s(...arguments));
1313
+ } : K(l, s);
1316
1314
  };
1317
1315
  }
1318
- const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1316
+ const Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1319
1317
  __proto__: null,
1320
- alpha: ir,
1321
- alphaNum: cr,
1322
- and: Br,
1323
- between: gr,
1324
- createI18nMessage: tn,
1325
- decimal: en,
1326
- email: ve,
1327
- helpers: Z,
1328
- integer: Kr,
1329
- ipAddress: fr,
1330
- macAddress: vr,
1331
- maxLength: Nr,
1332
- maxValue: Jr,
1333
- minLength: Tr,
1334
- minValue: Zr,
1335
- not: Fr,
1336
- numeric: Lr,
1337
- or: Qr,
1338
- required: $e,
1339
- requiredIf: Ir,
1340
- requiredUnless: Er,
1341
- sameAs: Or,
1342
- url: Ar
1343
- }, Symbol.toStringTag, { value: "Module" })), Xe = Z.regex(
1318
+ alpha: lr,
1319
+ alphaNum: dr,
1320
+ and: Fr,
1321
+ between: pr,
1322
+ createI18nMessage: rn,
1323
+ decimal: tn,
1324
+ email: Ne,
1325
+ helpers: G,
1326
+ integer: qr,
1327
+ ipAddress: wr,
1328
+ macAddress: $r,
1329
+ maxLength: Dr,
1330
+ maxValue: Xr,
1331
+ minLength: Cr,
1332
+ minValue: Hr,
1333
+ not: Gr,
1334
+ numeric: Mr,
1335
+ or: Rr,
1336
+ required: De,
1337
+ requiredIf: Sr,
1338
+ requiredUnless: Or,
1339
+ sameAs: _r,
1340
+ url: kr
1341
+ }, Symbol.toStringTag, { value: "Module" })), qe = G.regex(
1344
1342
  /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$ %^&*-]).{8,}$/
1345
1343
  );
1346
- function Pe(e) {
1344
+ function Ye(e) {
1347
1345
  return ["maxLength", "minLength"].includes(e);
1348
1346
  }
1349
- function Ye(e) {
1347
+ function Qe(e) {
1350
1348
  return e === "required";
1351
1349
  }
1352
- function Qe(e) {
1350
+ function Re(e) {
1353
1351
  return e === "email";
1354
1352
  }
1355
- function Re(e) {
1353
+ function Ue(e) {
1356
1354
  return e === "password";
1357
1355
  }
1358
- function rn(e, t) {
1356
+ function nn(e, t) {
1359
1357
  return {
1360
- [e]: Je[e](t)
1358
+ [e]: Ke[e](t)
1361
1359
  };
1362
1360
  }
1363
- function nn(e, t, r) {
1361
+ function an(e, t, r) {
1364
1362
  return {
1365
- [e]: Z.withMessage(r, Je[e](t))
1363
+ [e]: G.withMessage(r, Ke[e](t))
1366
1364
  };
1367
1365
  }
1368
- function an() {
1369
- return { required: $e };
1366
+ function sn() {
1367
+ return { required: De };
1370
1368
  }
1371
- function sn(e) {
1369
+ function on(e) {
1372
1370
  return {
1373
- required: Z.withMessage(e, $e)
1371
+ required: G.withMessage(e, De)
1374
1372
  };
1375
1373
  }
1376
- function on() {
1377
- return { email: ve };
1374
+ function un() {
1375
+ return { email: Ne };
1378
1376
  }
1379
- function un(e) {
1377
+ function ln(e) {
1380
1378
  return {
1381
- email: Z.withMessage(e, ve)
1379
+ email: G.withMessage(e, Ne)
1382
1380
  };
1383
1381
  }
1384
- function ln() {
1385
- return { password: Xe };
1382
+ function cn() {
1383
+ return { password: qe };
1386
1384
  }
1387
- function cn(e) {
1385
+ function dn(e) {
1388
1386
  return {
1389
- password: Z.withMessage(e, Xe)
1387
+ password: G.withMessage(e, qe)
1390
1388
  };
1391
1389
  }
1392
- function dn(e, t) {
1393
- if (Pe(e) && typeof t.message == "string" && typeof t.value == "number")
1394
- return nn(
1390
+ function Ln(e, t) {
1391
+ if (Ye(e) && typeof t.message == "string" && typeof t.value == "number")
1392
+ return an(
1395
1393
  e,
1396
1394
  t.value,
1397
1395
  t.message
1398
1396
  );
1399
- if (Pe(e) && typeof t.message > "u" && typeof t.value == "number")
1400
- return rn(e, t.value);
1401
- if (Qe(e) && typeof t.message == "string")
1402
- return un(t.message);
1403
- if (Qe(e) && typeof t.message > "u")
1404
- return on();
1397
+ if (Ye(e) && typeof t.message > "u" && typeof t.value == "number")
1398
+ return nn(e, t.value);
1405
1399
  if (Re(e) && typeof t.message == "string")
1406
- return cn(t.message);
1400
+ return ln(t.message);
1407
1401
  if (Re(e) && typeof t.message > "u")
1408
- return ln();
1409
- if (Ye(e) && typeof t.message == "string")
1410
- return sn(t.message);
1411
- if (Ye(e) && typeof t.message > "u")
1412
- return an();
1402
+ return un();
1403
+ if (Ue(e) && typeof t.message == "string")
1404
+ return dn(t.message);
1405
+ if (Ue(e) && typeof t.message > "u")
1406
+ return cn();
1407
+ if (Qe(e) && typeof t.message == "string")
1408
+ return on(t.message);
1409
+ if (Qe(e) && typeof t.message > "u")
1410
+ return sn();
1413
1411
  throw new Error("No valid rule detected");
1414
1412
  }
1415
- const Ln = ["id", "name"], Mn = {
1413
+ const Mn = ["id", "name", "onSubmit"], gn = {
1416
1414
  key: 0,
1417
1415
  class: "pdap-form-error-message"
1418
- }, gn = {
1416
+ }, pn = {
1419
1417
  name: "PdapForm"
1420
- }, pn = /* @__PURE__ */ C({
1421
- ...gn,
1418
+ }, yn = /* @__PURE__ */ C({
1419
+ ...pn,
1422
1420
  props: {
1423
1421
  error: { default: null },
1424
1422
  id: {},
1425
1423
  name: {},
1426
- schema: {}
1424
+ schema: {},
1425
+ resetOn: { type: [String, Boolean], default: "submit" }
1427
1426
  },
1428
1427
  emits: ["submit", "change"],
1429
1428
  setup(e, { emit: t }) {
@@ -1435,10 +1434,10 @@ const Ln = ["id", "name"], Mn = {
1435
1434
  ), s = N(
1436
1435
  a.value.reduce((m, p) => {
1437
1436
  switch (p.type) {
1438
- case O.CHECKBOX:
1437
+ case z.CHECKBOX:
1439
1438
  return { ...m, [p.name]: String(p.defaultChecked) };
1440
- case O.TEXT:
1441
- case O.PASSWORD:
1439
+ case z.TEXT:
1440
+ case z.PASSWORD:
1442
1441
  default:
1443
1442
  return { ...m, [p.name]: p.value };
1444
1443
  }
@@ -1447,7 +1446,7 @@ const Ln = ["id", "name"], Mn = {
1447
1446
  const o = Object.entries(p.validators ?? {}).reduce(
1448
1447
  (d, [g, w]) => ({
1449
1448
  ...d,
1450
- ...dn(g, w)
1449
+ ...Ln(g, w)
1451
1450
  }),
1452
1451
  {}
1453
1452
  );
@@ -1457,201 +1456,220 @@ const Ln = ["id", "name"], Mn = {
1457
1456
  ...o
1458
1457
  }
1459
1458
  };
1460
- }, {}), u = Ht(i, s, { $autoDirty: !1, $lazy: !0 }), l = N(r.error);
1461
- function c(m, p) {
1462
- const o = p.target, d = o.type === O.CHECKBOX && typeof o.checked == "boolean" ? o.checked.toString() : o.value;
1463
- s.value[m] = d, M();
1459
+ }, {}), u = Jt(i, s, { $autoDirty: !1, $lazy: !0 }), c = N(r.error);
1460
+ function l(m, p) {
1461
+ const o = p.target, d = (() => {
1462
+ switch (m.type) {
1463
+ case z.CHECKBOX:
1464
+ return o.checked ? "true" : "false";
1465
+ default:
1466
+ return o.value;
1467
+ }
1468
+ })();
1469
+ s.value[m.name] = d, n("change", s.value);
1464
1470
  }
1465
- Te(() => {
1466
- r.error ? l.value = r.error : l.value && u.value.$errors.length === 0 ? l.value = null : !l.value && u.value.$errors.length > 0 && (l.value = "Please update this form to correct the errors");
1467
- }), Te(() => {
1471
+ Ie(() => {
1472
+ r.error ? c.value = r.error : c.value && u.value.$errors.length === 0 ? c.value = null : !c.value && u.value.$errors.length > 0 && (c.value = "Please update this form to correct the errors");
1473
+ }), Ie(() => {
1474
+ r.resetOn && r.resetOn !== "submit" && M();
1468
1475
  });
1469
1476
  function M() {
1470
- n("change", { ...s.value });
1477
+ u.value.$reset(), s.value = Object.entries(s).reduce((m, [p]) => ({ ...m, [p]: "" }), {});
1471
1478
  }
1472
- async function j(m) {
1473
- if (await u.value.$validate()) {
1474
- n("submit", { ...s.value }), u.value.$reset(), m.target.reset(), s.value = Object.entries(s).reduce((d, [g]) => ({ ...d, [g]: "" }), {});
1475
- return;
1476
- }
1479
+ async function y() {
1480
+ await u.value.$validate() && (n("submit", { ...s.value }), r.resetOn === "submit" && M());
1477
1481
  }
1478
- return (m, p) => (y(), h("form", {
1482
+ return (m, p) => (j(), h("form", {
1479
1483
  id: m.id,
1480
1484
  name: m.name,
1481
1485
  class: "pdap-form",
1482
- onChange: M,
1483
- onSubmit: p[0] || (p[0] = je((o) => j(o), ["prevent"]))
1486
+ onSubmit: me(y, ["prevent"])
1484
1487
  }, [
1485
- typeof l.value == "string" ? (y(), h("div", Mn, z(l.value), 1)) : k("", !0),
1486
- (y(!0), h(W, null, le(a.value, (o) => {
1488
+ typeof c.value == "string" ? (j(), h("div", gn, O(c.value), 1)) : k("", !0),
1489
+ (j(!0), h(B, null, ce(a.value, (o) => {
1487
1490
  var d, g, w, I;
1488
- return y(), E(rr, F(o, {
1491
+ return j(), E(nr, F(o, {
1489
1492
  key: o.name,
1490
1493
  error: (d = L(u)[o.name]) != null && d.$error ? (I = (w = (g = L(u)[o.name]) == null ? void 0 : g.$errors) == null ? void 0 : w[0]) == null ? void 0 : I.$message : "",
1491
1494
  value: s.value[o.name],
1492
- onChange: (H) => c(o.name, H)
1493
- }), null, 16, ["error", "value", "onChange"]);
1495
+ onInput: (Z) => l(o, Z)
1496
+ }), null, 16, ["error", "value", "onInput"]);
1494
1497
  }), 128)),
1495
- J(m.$slots, "default")
1496
- ], 40, Ln));
1498
+ H(m.$slots, "default")
1499
+ ], 40, Mn));
1497
1500
  }
1498
1501
  });
1499
- const jn = /* @__PURE__ */ f("svg", {
1502
+ const mn = (e) => (gt("data-v-3158c5fc"), e = e(), pt(), e), jn = ["aria-label", "aria-expanded", "onKeyup"], fn = /* @__PURE__ */ mn(() => /* @__PURE__ */ f("svg", {
1503
+ "aria-label": "Menu",
1500
1504
  xmlns: "http://www.w3.org/2000/svg",
1501
1505
  viewBox: "0 0 448 512"
1502
1506
  }, [
1503
1507
  /* @__PURE__ */ f("path", { d: "M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z" })
1504
- ], -1), yn = [
1505
- jn
1506
- ], mn = ["aria-expanded"], fn = ["href"], wn = {
1508
+ ], -1)), wn = [
1509
+ fn
1510
+ ], hn = ["aria-hidden"], vn = ["href"], $n = {
1507
1511
  name: "PdapHeader"
1508
- }, hn = /* @__PURE__ */ C({
1509
- ...wn,
1510
- props: {
1511
- topPosition: {}
1512
- },
1512
+ }, Nn = /* @__PURE__ */ C({
1513
+ ...$n,
1513
1514
  setup(e) {
1514
- let t = ae("navLinks");
1515
+ let t = ne("navLinks");
1515
1516
  typeof t > "u" && (t = [], console.error(
1516
1517
  `Hey, PDAP developer
1517
1518
  `,
1518
1519
  "Did you forget to inject some linkData for the Nav component?"
1519
1520
  ));
1520
- const r = B({
1521
+ const r = q({
1521
1522
  isExpanded: !1,
1522
1523
  isMobile: !0
1523
- }), n = B({
1524
- "pdap-nav": !0
1525
1524
  });
1526
- Ve(() => {
1527
- a(), window.addEventListener("resize", a);
1528
- }), fe(() => {
1529
- window.removeEventListener("resize", a);
1525
+ Be(() => {
1526
+ n(), window.addEventListener("resize", n);
1527
+ }), he(() => {
1528
+ window.removeEventListener("resize", n);
1530
1529
  });
1531
- async function a() {
1532
- window.innerWidth <= 1024 ? r.isMobile = !0 : r.isMobile = !1, await se();
1530
+ async function n() {
1531
+ window.innerWidth <= 1024 ? r.isMobile = !0 : r.isMobile = !1, await ae();
1533
1532
  }
1534
- async function s() {
1535
- var u, l;
1536
- const i = document.querySelector("body");
1537
- !r.isExpanded && r.isMobile ? (r.isExpanded = !0, i != null && i.classList.contains("lock-scroll") || (u = document.querySelector("body")) == null || u.classList.add("lock-scroll")) : r.isExpanded && r.isMobile && (r.isExpanded = !1, (l = document.querySelector("body")) == null || l.classList.remove("lock-scroll")), await se();
1533
+ async function a() {
1534
+ var i, u;
1535
+ const s = document.querySelector("body");
1536
+ !r.isExpanded && r.isMobile ? (r.isExpanded = !0, s != null && s.classList.contains("lock-scroll") || (i = document.querySelector("body")) == null || i.classList.add("lock-scroll")) : r.isExpanded && r.isMobile && (r.isExpanded = !1, (u = document.querySelector("body")) == null || u.classList.remove("lock-scroll")), await ae();
1538
1537
  }
1539
- return (i, u) => (y(), h(W, null, [
1538
+ return (s, i) => (j(), h(B, null, [
1540
1539
  f("div", {
1540
+ "aria-label": r.isExpanded ? "close navigation menu" : "open navigation menu",
1541
+ "aria-expanded": r.isMobile && r.isExpanded,
1541
1542
  "aria-controls": "nav",
1542
1543
  class: "pdap-nav-open-button",
1543
1544
  role: "button",
1544
- onClick: s
1545
- }, yn),
1546
- f("nav", {
1547
- id: "nav",
1548
- "aria-expanded": r.isMobile && r.isExpanded || !r.isMobile,
1549
- class: ee(n),
1550
- style: Mt(r.isMobile ? { top: `${i.topPosition}px` } : {})
1551
- }, [
1552
- (y(!0), h(W, null, le(L(t), (l) => (y(), h("li", {
1553
- key: l.text,
1554
- class: "pdap-nav-link-container"
1555
- }, [
1556
- l.href ? (y(), h("a", {
1557
- key: 0,
1558
- class: "pdap-nav-link",
1559
- href: l.href,
1560
- target: "_blank",
1561
- referrerpolicy: "no-referrer",
1562
- onClick: s
1563
- }, z(l.text), 9, fn)) : k("", !0),
1564
- l.path ? (y(), E(L(oe), {
1565
- key: 1,
1566
- "active-class": "pdap-nav-link-current",
1567
- "exact-active-class": "pdap-nav-link-current-exact",
1568
- class: "pdap-nav-link",
1569
- to: l.path,
1570
- onClick: s
1571
- }, {
1572
- default: T(() => [
1573
- D(z(l.text), 1)
1574
- ]),
1575
- _: 2
1576
- }, 1032, ["to"])) : k("", !0)
1577
- ]))), 128))
1578
- ], 14, mn)
1545
+ tabindex: 0,
1546
+ onClick: a,
1547
+ onKeyup: je(a, ["enter"])
1548
+ }, wn, 40, jn),
1549
+ P(se, null, {
1550
+ default: D(() => [
1551
+ fe(f("nav", {
1552
+ id: "nav",
1553
+ "aria-hidden": !(r.isMobile && r.isExpanded),
1554
+ class: "pdap-nav"
1555
+ }, [
1556
+ (j(!0), h(B, null, ce(L(t), (u) => (j(), h("li", {
1557
+ key: u.text,
1558
+ class: "pdap-nav-link-container"
1559
+ }, [
1560
+ u.href ? (j(), h("a", {
1561
+ key: 0,
1562
+ class: "pdap-nav-link",
1563
+ href: u.href,
1564
+ target: "_blank",
1565
+ referrerpolicy: "no-referrer",
1566
+ onClick: a
1567
+ }, O(u.text), 9, vn)) : k("", !0),
1568
+ u.path ? (j(), E(L(oe), {
1569
+ key: 1,
1570
+ "active-class": "pdap-nav-link-current",
1571
+ "exact-active-class": "pdap-nav-link-current-exact",
1572
+ class: "pdap-nav-link",
1573
+ to: u.path,
1574
+ onClick: a
1575
+ }, {
1576
+ default: D(() => [
1577
+ T(O(u.text), 1)
1578
+ ]),
1579
+ _: 2
1580
+ }, 1032, ["to"])) : k("", !0)
1581
+ ]))), 128))
1582
+ ], 8, hn), [
1583
+ [Fe, r.isMobile && r.isExpanded || !r.isMobile]
1584
+ ])
1585
+ ]),
1586
+ _: 1
1587
+ })
1579
1588
  ], 64));
1580
1589
  }
1581
1590
  });
1582
- const vn = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MDkuNCAxMTEuNyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTA5LjQgMTExLjc7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTAsMTAwLjhMMjYuOCwzLjJoOS4zTDkuNCwxMDAuOEgweiIvPgo8cGF0aCBkPSJNMTIzLjIsMjdoLTQuN3YxNi42aC05LjFWMS45aDEzLjhjOS4zLDAsMTUuMiw0LjUsMTUuMiwxMi4zUzEzMi43LDI3LDEyMy4yLDI3eiBNMTIzLjIsOS42aC00Ljd2OS43aDQuNwoJYzQuM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G9seWdvbiBwb2ludHM9IjkxLjcsMjAuMiA3Ni4yLDIwLjIgODguNCw4IDgzLjEsMi43IDcxLjUsMTQuMyA3MS41LDAgNjQsMCA2NCwxNC4zIDUyLjMsMi43IDQ3LDggNTkuMiwyMC4yIDQzLjcsMjAuMiA0My43LDI3LjggCgk1OC4xLDI3LjggNDcsMzguOCA1Mi4zLDQ0LjEgNjQsMzIuNSA2NCw0OCA3MS41LDQ4IDcxLjUsMzIuNSA4My4xLDQ0LjEgODguNCwzOC44IDc3LjQsMjcuOCA5MS43LDI3LjggIi8+Cjwvc3ZnPgo=", $n = ["href"], Nn = ["src"], Dn = ["src"], Tn = {
1591
+ const Te = (e, t) => {
1592
+ const r = e.__vccOpts || e;
1593
+ for (const [n, a] of t)
1594
+ r[n] = a;
1595
+ return r;
1596
+ }, Dn = /* @__PURE__ */ Te(Nn, [["__scopeId", "data-v-3158c5fc"]]), Tn = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MDkuNCAxMTEuNyIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTA5LjQgMTExLjc7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZD0iTTAsMTAwLjhMMjYuOCwzLjJoOS4zTDkuNCwxMDAuOEgweiIvPgo8cGF0aCBkPSJNMT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MuOC04LjItOXYtOWgtMy4xdi02LjZoMy4xVjY1LjloOC45djEwLjJoNC4ydjYuNmgtNC4ydjcuNGMwLDEuOSwxLDMuMiwyLjcsMy4yaDIuMnY3LjRoLTUuNlYxMDAuOHoKCSIvPgo8cG9seWdvbiBwb2ludHM9IjkxLjcsMjAuMiA3Ni4yLDIwLjIgODguNCw4IDgzLjEsMi43IDcxLjUsMTQuMyA3MS41LDAgNjQsMCA2NCwxNC4zIDUyLjMsMi43IDQ3LDggNTkuMiwyMC4yIDQzLjcsMjAuMiA0My43LDI3LjggCgk1OC4xLDI3LjggNDcsMzguOCA1Mi4zLDQ0LjEgNjQsMzIuNSA2NCw0OCA3MS41LDQ4IDcxLjUsMzIuNSA4My4xLDQ0LjEgODguNCwzOC44IDc3LjQsMjcuOCA5MS43LDI3LjggIi8+Cjwvc3ZnPgo=", Cn = ["href"], xn = ["src"], In = ["src"], Sn = {
1583
1597
  name: "PdapHeader"
1584
- }, ta = /* @__PURE__ */ C({
1585
- ...Tn,
1598
+ }, sa = /* @__PURE__ */ C({
1599
+ ...Sn,
1586
1600
  props: {
1587
- logoImageSrc: { default: vn },
1601
+ logoImageSrc: { default: Tn },
1588
1602
  logoImageAnchorPath: { default: "/" }
1589
1603
  },
1590
1604
  setup(e) {
1591
- const t = e, r = N(), n = N(null), a = t.logoImageAnchorPath.startsWith("/");
1592
- Be(() => {
1593
- s(), window.addEventListener("resize", s);
1594
- }), fe(() => {
1595
- window.removeEventListener("resize", s);
1605
+ const t = e, r = N(null), n = t.logoImageAnchorPath.startsWith("/");
1606
+ We(() => {
1607
+ a(), window.addEventListener("resize", a);
1608
+ }), he(() => {
1609
+ window.removeEventListener("resize", a);
1596
1610
  });
1597
- function s() {
1598
- n.value && (r.value = n.value.offsetHeight);
1611
+ function a() {
1612
+ var s;
1613
+ r.value && ((s = document.querySelector(":root")) == null || s.style.setProperty(
1614
+ "--header-height",
1615
+ `${r.value.clientHeight}px`
1616
+ ));
1599
1617
  }
1600
- return (i, u) => (y(), h("header", {
1618
+ return (s, i) => (j(), h("header", {
1601
1619
  ref_key: "el",
1602
- ref: n,
1620
+ ref: r,
1603
1621
  class: "pdap-header"
1604
1622
  }, [
1605
- L(a) ? (y(), E(L(oe), {
1623
+ L(n) ? (j(), E(L(oe), {
1606
1624
  key: 1,
1607
- to: i.logoImageAnchorPath,
1625
+ to: s.logoImageAnchorPath,
1608
1626
  class: "logo"
1609
1627
  }, {
1610
- default: T(() => [
1628
+ default: D(() => [
1611
1629
  f("img", {
1612
- src: i.logoImageSrc,
1630
+ src: s.logoImageSrc,
1613
1631
  loading: "lazy",
1614
1632
  width: "250",
1615
1633
  alt: "Police Data Accessibility Project Logo"
1616
- }, null, 8, Dn)
1634
+ }, null, 8, In)
1617
1635
  ]),
1618
1636
  _: 1
1619
- }, 8, ["to"])) : (y(), h("a", {
1637
+ }, 8, ["to"])) : (j(), h("a", {
1620
1638
  key: 0,
1621
- href: i.logoImageAnchorPath,
1639
+ href: s.logoImageAnchorPath,
1622
1640
  class: "logo"
1623
1641
  }, [
1624
1642
  f("img", {
1625
- src: i.logoImageSrc,
1643
+ src: s.logoImageSrc,
1626
1644
  loading: "lazy",
1627
1645
  width: "250",
1628
1646
  alt: "Police Data Accessibility Project Logo"
1629
- }, null, 8, Nn)
1630
- ], 8, $n)),
1631
- U(hn, { "top-position": r.value }, null, 8, ["top-position"])
1647
+ }, null, 8, xn)
1648
+ ], 8, Cn)),
1649
+ P(Dn)
1632
1650
  ], 512));
1633
1651
  }
1634
1652
  });
1635
- const Cn = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
1653
+ const En = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
1636
1654
  /* @__PURE__ */ f("h2", { class: "mt-0" }, "Search our database"),
1637
1655
  /* @__PURE__ */ f("p", { class: "pb-4 md:pb-8" }, [
1638
- /* @__PURE__ */ D(" If you are looking for something specific, we may already be tracking it. "),
1656
+ /* @__PURE__ */ T(" If you are looking for something specific, we may already be tracking it. "),
1639
1657
  /* @__PURE__ */ f("a", { href: "https://pdap.io/data" }, "Learn more about the data here.")
1640
1658
  ])
1641
- ], -1), xn = { class: "pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0" }, In = { class: "max-w-[unset] text-med" }, Sn = ["href"], En = ["href"], zn = {
1659
+ ], -1), On = { class: "pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0" }, zn = { class: "max-w-[unset] text-med" }, _n = ["href"], bn = ["href"], An = {
1642
1660
  name: "QuickSearchForm"
1643
- }, ra = /* @__PURE__ */ C({
1644
- ...zn,
1661
+ }, oa = /* @__PURE__ */ C({
1662
+ ...An,
1645
1663
  props: {
1646
1664
  baseUrlForRedirect: { default: "https://data-sources.pdap.io" }
1647
1665
  },
1648
1666
  setup(e) {
1649
- const t = yt(), r = e, n = [
1667
+ const t = jt(), r = e, n = [
1650
1668
  {
1651
1669
  id: "search-term",
1652
1670
  name: "searchTerm",
1653
1671
  label: "What are you looking for?",
1654
- type: O.TEXT,
1672
+ type: z.TEXT,
1655
1673
  placeholder: "Enter a keyword, or 'all'",
1656
1674
  value: ""
1657
1675
  },
@@ -1659,28 +1677,28 @@ const Cn = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
1659
1677
  id: "location",
1660
1678
  name: "location",
1661
1679
  label: "From where?",
1662
- type: O.TEXT,
1680
+ type: z.TEXT,
1663
1681
  placeholder: "Enter a place, or 'all'",
1664
1682
  value: ""
1665
1683
  }
1666
- ], a = N(void 0), s = t.getRoutes().some((l) => l.path.includes("/search/"));
1667
- function i(l) {
1668
- a.value && Object.values(l).some(Boolean) && (a.value = void 0);
1684
+ ], a = N(void 0), s = t.getRoutes().some((c) => c.path.includes("/search/"));
1685
+ function i(c) {
1686
+ a.value && Object.values(c).some(Boolean) && (a.value = void 0);
1669
1687
  }
1670
- function u(l) {
1671
- if (Object.values(l).every((j) => !j)) {
1688
+ function u(c) {
1689
+ if (Object.values(c).every((y) => !y)) {
1672
1690
  a.value = "Either a search term or a location is required.";
1673
1691
  return;
1674
1692
  }
1675
- let { location: c, searchTerm: M } = l;
1676
- c = c && c.length > 0 ? c : "all", M = M && M.length > 0 ? M : "all", s ? t.push(`/search/${M}/${c}`) : window.location.assign(
1677
- `${r.baseUrlForRedirect}/search/${M}/${c}`
1693
+ let { location: l, searchTerm: M } = c;
1694
+ l = l && l.length > 0 ? l : "all", M = M && M.length > 0 ? M : "all", s ? t.push(`/search/${M}/${l}`) : window.location.assign(
1695
+ `${r.baseUrlForRedirect}/search/${M}/${l}`
1678
1696
  );
1679
1697
  }
1680
- return (l, c) => (y(), h(W, null, [
1681
- Cn,
1682
- f("div", xn, [
1683
- U(pn, {
1698
+ return (c, l) => (j(), h(B, null, [
1699
+ En,
1700
+ f("div", On, [
1701
+ P(yn, {
1684
1702
  id: "quick-search-form",
1685
1703
  class: "flex flex-wrap gap-x-4",
1686
1704
  error: a.value,
@@ -1689,74 +1707,74 @@ const Cn = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
1689
1707
  onChange: i,
1690
1708
  onSubmit: u
1691
1709
  }, {
1692
- default: T(() => [
1693
- U(We, {
1710
+ default: D(() => [
1711
+ P(Ge, {
1694
1712
  type: "submit",
1695
1713
  class: "flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"
1696
1714
  }, {
1697
- default: T(() => [
1698
- D("Search Data Sources")
1715
+ default: D(() => [
1716
+ T("Search Data Sources")
1699
1717
  ]),
1700
1718
  _: 1
1701
1719
  })
1702
1720
  ]),
1703
1721
  _: 1
1704
1722
  }, 8, ["error"]),
1705
- f("p", In, [
1706
- D(" For example, you could search for "),
1707
- L(s) ? (y(), E(L(oe), {
1723
+ f("p", zn, [
1724
+ T(" For example, you could search for "),
1725
+ L(s) ? (j(), E(L(oe), {
1708
1726
  key: 0,
1709
1727
  to: "/search/stops/pittsburgh"
1710
1728
  }, {
1711
- default: T(() => [
1712
- D(" stops in Pittsburgh ")
1729
+ default: D(() => [
1730
+ T(" stops in Pittsburgh ")
1713
1731
  ]),
1714
1732
  _: 1
1715
- })) : (y(), h("a", {
1733
+ })) : (j(), h("a", {
1716
1734
  key: 1,
1717
1735
  target: "_blank",
1718
1736
  rel: "noreferrer",
1719
1737
  href: `${r.baseUrlForRedirect}/search/stops/pittsburgh`
1720
- }, " stops in Pittsburgh ", 8, Sn)),
1721
- D(" or "),
1722
- L(s) ? (y(), E(L(oe), {
1738
+ }, " stops in Pittsburgh ", 8, _n)),
1739
+ T(" or "),
1740
+ L(s) ? (j(), E(L(oe), {
1723
1741
  key: 2,
1724
1742
  to: "/search/complaints/all"
1725
1743
  }, {
1726
- default: T(() => [
1727
- D(" complaints everywhere ")
1744
+ default: D(() => [
1745
+ T(" complaints everywhere ")
1728
1746
  ]),
1729
1747
  _: 1
1730
- })) : (y(), h("a", {
1748
+ })) : (j(), h("a", {
1731
1749
  key: 3,
1732
1750
  target: "_blank",
1733
1751
  rel: "noreferrer",
1734
1752
  href: `${r.baseUrlForRedirect}/search/complaints/all`
1735
- }, " complaints everywhere ", 8, En)),
1736
- D(" . ")
1753
+ }, " complaints everywhere ", 8, bn)),
1754
+ T(" . ")
1737
1755
  ])
1738
1756
  ])
1739
1757
  ], 64));
1740
1758
  }
1741
1759
  });
1742
- const On = ["alt", "src"], _n = {
1760
+ const kn = ["alt", "src"], Pn = {
1743
1761
  name: "TileIcon"
1744
- }, na = /* @__PURE__ */ C({
1745
- ..._n,
1762
+ }, ua = /* @__PURE__ */ C({
1763
+ ...Pn,
1746
1764
  props: {
1747
1765
  imgAltText: {},
1748
1766
  imgSrc: {}
1749
1767
  },
1750
1768
  setup(e) {
1751
- return (t, r) => (y(), h("img", {
1769
+ return (t, r) => (j(), h("img", {
1752
1770
  class: "pdap-tile-icon",
1753
1771
  alt: t.imgAltText,
1754
1772
  src: t.imgSrc
1755
- }, null, 8, On));
1773
+ }, null, 8, kn));
1756
1774
  }
1757
1775
  });
1758
- var ne = /* @__PURE__ */ ((e) => (e.PRESS = "press", e.HOVER = "hover", e))(ne || {});
1759
- const bn = {
1776
+ var re = /* @__PURE__ */ ((e) => (e.PRESS = "press", e.HOVER = "hover", e))(re || {});
1777
+ const Yn = {
1760
1778
  beforeMount(e, t) {
1761
1779
  const r = e;
1762
1780
  r.clickOutsideEvent = function(a) {
@@ -1766,31 +1784,31 @@ const bn = {
1766
1784
  unmounted(e) {
1767
1785
  e.clickOutsideEvent && (document.removeEventListener("click", e.clickOutsideEvent), document.removeEventListener("keyup", e.clickOutsideEvent));
1768
1786
  }
1769
- }, An = ["onKeydown"], kn = ["id", "aria-hidden"], Pn = {
1787
+ }, Qn = ["onKeydown"], Rn = ["id", "aria-hidden"], Un = {
1770
1788
  name: "PdapButton"
1771
- }, aa = /* @__PURE__ */ C({
1772
- ...Pn,
1789
+ }, ia = /* @__PURE__ */ C({
1790
+ ...Un,
1773
1791
  props: {
1774
1792
  defaultOpen: { type: Boolean, default: !1 },
1775
1793
  disabled: { type: Boolean, default: !1 },
1776
1794
  dropdownId: {},
1777
- triggerOn: { default: ne.PRESS }
1795
+ triggerOn: { default: re.PRESS }
1778
1796
  },
1779
1797
  emits: ["update:open", "press"],
1780
1798
  setup(e, { emit: t }) {
1781
1799
  const r = e, n = t, a = N(null), s = N(null), i = N(r.defaultOpen), u = v(
1782
- () => r.triggerOn === ne.HOVER
1800
+ () => r.triggerOn === re.HOVER
1783
1801
  );
1784
- function l(o) {
1785
- n("press", o), r.triggerOn === ne.PRESS && c();
1802
+ function c(o) {
1803
+ n("press", o), r.triggerOn === re.PRESS && l();
1786
1804
  }
1787
- const c = () => {
1805
+ const l = () => {
1788
1806
  r.disabled || (i.value = !i.value, n("update:open", i.value));
1789
1807
  };
1790
1808
  function M() {
1791
1809
  i.value = !0, n("update:open", !0);
1792
1810
  }
1793
- function j() {
1811
+ function y() {
1794
1812
  i.value = !1, n("update:open", !1);
1795
1813
  }
1796
1814
  function m() {
@@ -1809,44 +1827,45 @@ const bn = {
1809
1827
  mouseenter: u.value ? M : void 0,
1810
1828
  focus: u.value ? M : void 0,
1811
1829
  focusin: u.value ? M : void 0,
1812
- focusout: u.value ? j : void 0,
1813
- mouseleave: u.value ? j : void 0,
1814
- blur: u.value ? j : void 0
1830
+ focusout: u.value ? y : void 0,
1831
+ mouseleave: u.value ? y : void 0,
1832
+ blur: u.value ? y : void 0
1815
1833
  };
1816
- return Be(() => {
1834
+ return We(() => {
1817
1835
  m();
1818
- }), (o, d) => Ce((y(), h("div", F({
1836
+ }), (o, d) => fe((j(), h("div", F({
1819
1837
  ref_key: "dropdownRef",
1820
1838
  ref: s,
1821
1839
  class: "pdap-dropdown",
1822
- onKeydown: xe(j, ["escape"])
1823
- }, gt(p, !0)), [
1824
- U(L(We), {
1840
+ role: "presentation",
1841
+ onKeydown: je(y, ["escape"])
1842
+ }, yt(p, !0)), [
1843
+ P(L(Ge), {
1825
1844
  "aria-controls": o.dropdownId,
1826
1845
  "aria-expanded": i.value,
1827
1846
  disabled: o.disabled,
1828
1847
  "aria-haspopup": "true",
1829
1848
  intent: "tertiary",
1830
- class: ee({
1849
+ class: le({
1831
1850
  "pdap-dropdown-trigger": !0,
1832
1851
  "pointer-events-none": o.disabled,
1833
1852
  "cursor-not-allowed": o.disabled
1834
1853
  }),
1835
1854
  "data-test": "dropdown-trigger",
1836
- onClick: je(l, ["prevent", "stop"]),
1837
- onKeydown: xe(je(l, ["prevent", "stop"]), ["enter", "space"])
1855
+ onClick: me(c, ["prevent", "stop"]),
1856
+ onKeydown: je(me(c, ["prevent", "stop"]), ["enter", "space"])
1838
1857
  }, {
1839
- default: T(() => [
1840
- J(o.$slots, "trigger")
1858
+ default: D(() => [
1859
+ H(o.$slots, "trigger")
1841
1860
  ]),
1842
1861
  _: 3
1843
1862
  }, 8, ["aria-controls", "aria-expanded", "disabled", "class", "onClick", "onKeydown"]),
1844
- U(ye, {
1863
+ P(se, {
1845
1864
  name: "dropdown",
1846
1865
  appear: ""
1847
1866
  }, {
1848
- default: T(() => [
1849
- Ce(f("div", {
1867
+ default: D(() => [
1868
+ fe(f("div", {
1850
1869
  id: o.dropdownId,
1851
1870
  ref_key: "contentRef",
1852
1871
  ref: a,
@@ -1855,19 +1874,19 @@ const bn = {
1855
1874
  "data-test": "dropdown-content",
1856
1875
  role: "menu"
1857
1876
  }, [
1858
- J(o.$slots, "content")
1859
- ], 8, kn), [
1860
- [pt, i.value]
1877
+ H(o.$slots, "content")
1878
+ ], 8, Rn), [
1879
+ [Fe, i.value]
1861
1880
  ])
1862
1881
  ]),
1863
1882
  _: 3
1864
1883
  })
1865
- ], 16, An)), [
1866
- [L(bn), j]
1884
+ ], 16, Qn)), [
1885
+ [L(Yn), y]
1867
1886
  ]);
1868
1887
  }
1869
1888
  });
1870
- function Yn(e) {
1889
+ function Vn(e) {
1871
1890
  const t = [];
1872
1891
  for (const r of e.matched) {
1873
1892
  const { name: n, path: a, meta: s } = r, i = s.breadcrumbText ?? n;
@@ -1879,31 +1898,30 @@ function Yn(e) {
1879
1898
  }
1880
1899
  return t.length > 0 && (t[t.length - 1].active = !0), t;
1881
1900
  }
1882
- const Qn = { "aria-label": "Breadcrumb" }, Rn = { key: 1 }, Un = {
1901
+ const Bn = { "aria-label": "Breadcrumb" }, Fn = { key: 1 }, Wn = {
1883
1902
  name: "PdapBreadcrumbs"
1884
- }, Vn = /* @__PURE__ */ C({
1885
- ...Un,
1903
+ }, Gn = /* @__PURE__ */ C({
1904
+ ...Wn,
1886
1905
  setup(e) {
1887
- const t = mt(), r = v(() => Yn(t));
1906
+ const t = ft(), r = v(() => Vn(t));
1888
1907
  return (n, a) => {
1889
- const s = Ue("router-link");
1890
- return y(), h("nav", Qn, [
1891
- U(jt, {
1908
+ const s = Ve("router-link");
1909
+ return j(), h("nav", Bn, [
1910
+ P(mt, {
1892
1911
  class: "pdap-breadcrumbs",
1893
- name: "pdap-breadcrumbs",
1894
1912
  tag: "ul"
1895
1913
  }, {
1896
- default: T(() => [
1897
- (y(!0), h(W, null, le(r.value, (i) => (y(), h("li", {
1914
+ default: D(() => [
1915
+ (j(!0), h(B, null, ce(r.value, (i) => (j(), h("li", {
1898
1916
  key: i.text,
1899
- class: ee({ "is-active": i.active })
1917
+ class: le({ "is-active": i.active })
1900
1918
  }, [
1901
- i.active ? (y(), h("span", Rn, z(i.text), 1)) : (y(), E(s, {
1919
+ i.active ? (j(), h("span", Fn, O(i.text), 1)) : (j(), E(s, {
1902
1920
  key: 0,
1903
1921
  to: i.path
1904
1922
  }, {
1905
- default: T(() => [
1906
- D(z(i.text), 1)
1923
+ default: D(() => [
1924
+ T(O(i.text), 1)
1907
1925
  ]),
1908
1926
  _: 2
1909
1927
  }, 1032, ["to"]))
@@ -1915,12 +1933,7 @@ const Qn = { "aria-label": "Breadcrumb" }, Rn = { key: 1 }, Un = {
1915
1933
  };
1916
1934
  }
1917
1935
  });
1918
- const Ke = (e, t) => {
1919
- const r = e.__vccOpts || e;
1920
- for (const [n, a] of t)
1921
- r[n] = a;
1922
- return r;
1923
- }, sa = /* @__PURE__ */ Ke(Vn, [["__scopeId", "data-v-ee7ae25b"]]), Bn = { class: "pdap-spinner" }, Wn = ["width", "height"], Fn = ["stroke", "fill"], Gn = ["stroke", "fill"], Zn = {
1936
+ const la = /* @__PURE__ */ Te(Gn, [["__scopeId", "data-v-e8d76c0f"]]), Zn = { class: "pdap-spinner" }, Hn = ["width", "height"], Jn = ["stroke", "fill"], Xn = ["stroke", "fill"], Kn = {
1924
1937
  key: 0,
1925
1938
  "aria-live": "polite"
1926
1939
  };
@@ -1930,10 +1943,10 @@ const Ke = (e, t) => {
1930
1943
  *
1931
1944
  * @preserve
1932
1945
  */
1933
- const Hn = {
1946
+ const qn = {
1934
1947
  name: "PdapSpinner"
1935
- }, Jn = /* @__PURE__ */ C({
1936
- ...Hn,
1948
+ }, ea = /* @__PURE__ */ C({
1949
+ ...qn,
1937
1950
  props: {
1938
1951
  color: { default: "currentColor" },
1939
1952
  size: { default: 24 },
@@ -1941,11 +1954,12 @@ const Hn = {
1941
1954
  show: { type: Boolean, default: !1 }
1942
1955
  },
1943
1956
  setup(e) {
1944
- return (t, r) => (y(), h("div", Bn, [
1945
- U(ye, { appear: "" }, {
1946
- default: T(() => [
1947
- t.show ? (y(), h("svg", {
1957
+ return (t, r) => (j(), h("div", Zn, [
1958
+ P(se, { appear: "" }, {
1959
+ default: D(() => [
1960
+ t.show ? (j(), h("svg", {
1948
1961
  key: 0,
1962
+ "aria-label": "loading",
1949
1963
  width: t.size,
1950
1964
  height: t.size,
1951
1965
  viewBox: "0 0 24 24",
@@ -1956,32 +1970,32 @@ const Hn = {
1956
1970
  opacity: ".25",
1957
1971
  stroke: t.color,
1958
1972
  fill: t.color
1959
- }, null, 8, Fn),
1973
+ }, null, 8, Jn),
1960
1974
  f("path", {
1961
1975
  d: "M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z",
1962
1976
  class: "pdap-spinner-innards",
1963
1977
  stroke: t.color,
1964
1978
  fill: t.color
1965
- }, null, 8, Gn)
1966
- ], 8, Wn)) : k("", !0)
1979
+ }, null, 8, Xn)
1980
+ ], 8, Hn)) : k("", !0)
1967
1981
  ]),
1968
1982
  _: 1
1969
1983
  }),
1970
- (y(), E(ye, {
1984
+ (j(), E(se, {
1971
1985
  key: t.text,
1972
1986
  appear: "",
1973
1987
  mode: "out-in"
1974
1988
  }, {
1975
- default: T(() => [
1976
- t.text && t.show ? (y(), h("p", Zn, z(t.text), 1)) : k("", !0)
1989
+ default: D(() => [
1990
+ t.text && t.show ? (j(), h("p", Kn, O(t.text), 1)) : k("", !0)
1977
1991
  ]),
1978
1992
  _: 1
1979
1993
  }))
1980
1994
  ]));
1981
1995
  }
1982
1996
  });
1983
- const oa = /* @__PURE__ */ Ke(Jn, [["__scopeId", "data-v-215ea644"]]);
1984
- const ua = {
1997
+ const ca = /* @__PURE__ */ Te(ea, [["__scopeId", "data-v-079c81b7"]]);
1998
+ const da = {
1985
1999
  content: ["./src/**/*.vue", "./src/**/*.css"],
1986
2000
  theme: {
1987
2001
  // Nested within "extend" - extends tailwind theme defaults, only overrides properties named here
@@ -2058,22 +2072,59 @@ const ua = {
2058
2072
  "6xl": "3rem"
2059
2073
  }
2060
2074
  }
2075
+ }, La = {
2076
+ extends: [
2077
+ "stylelint-config-standard",
2078
+ "@ronilaukkarinen/stylelint-a11y/recommended"
2079
+ ],
2080
+ rules: {
2081
+ "at-rule-no-unknown": [
2082
+ !0,
2083
+ {
2084
+ ignoreAtRules: [
2085
+ "tailwind",
2086
+ "apply",
2087
+ "variants",
2088
+ "responsive",
2089
+ "screen"
2090
+ ]
2091
+ }
2092
+ ],
2093
+ "comment-empty-line-before": null,
2094
+ "declaration-block-trailing-semicolon": null,
2095
+ "no-descending-specificity": null,
2096
+ "a11y/no-text-align-justify": !0,
2097
+ "a11y/font-size-is-readable": !0,
2098
+ "a11y/media-prefers-color-scheme": !0,
2099
+ "a11y/line-height-is-vertical-rhythmed": !0,
2100
+ "a11y/no-display-none": !0,
2101
+ "a11y/no-obsolete-element": !0
2102
+ },
2103
+ overrides: [
2104
+ {
2105
+ files: ["**/*.vue"],
2106
+ extends: [
2107
+ "stylelint-config-standard-vue"
2108
+ ]
2109
+ }
2110
+ ]
2061
2111
  };
2062
2112
  export {
2063
- sa as Breadcrumbs,
2064
- We as Button,
2065
- aa as Dropdown,
2066
- qn as ErrorBoundary,
2067
- ea as Footer,
2068
- pn as Form,
2069
- ta as Header,
2070
- rr as Input,
2071
- hn as Nav,
2072
- ne as PdapDropdownTriggerType,
2073
- O as PdapInputTypes,
2074
- ra as QuickSearchForm,
2075
- oa as Spinner,
2076
- na as TileIcon,
2077
- ua as tailwindConfig,
2078
- bn as vOnClickOutside
2113
+ la as Breadcrumbs,
2114
+ Ge as Button,
2115
+ ia as Dropdown,
2116
+ na as ErrorBoundary,
2117
+ aa as Footer,
2118
+ yn as Form,
2119
+ sa as Header,
2120
+ nr as Input,
2121
+ Dn as Nav,
2122
+ re as PdapDropdownTriggerType,
2123
+ z as PdapInputTypes,
2124
+ oa as QuickSearchForm,
2125
+ ca as Spinner,
2126
+ ua as TileIcon,
2127
+ La as stylelintConfig,
2128
+ da as tailwindConfig,
2129
+ Yn as vOnClickOutside
2079
2130
  };