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

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