pdap-design-system 3.1.0-beta.16 → 3.1.0-beta.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +1 -1
- package/dist/index.js +169 -176
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as E, openBlock as y, createBlock as F, Transition as
|
1
|
+
import { defineComponent as E, openBlock as y, createBlock as F, Transition as ut, withCtx as R, createElementBlock as w, createElementVNode as N, toDisplayString as D, createCommentVNode as k, reactive as Je, normalizeClass as X, resolveDynamicComponent as ea, normalizeProps as ta, guardReactiveProps as ar, ref as S, onErrorCaptured as rr, renderSlot as Y, createTextVNode as P, inject as ie, resolveComponent as na, Fragment as $e, renderList as qe, unref as L, getCurrentInstance as sr, onBeforeMount as aa, watch as ee, isRef as It, onBeforeUnmount as Xt, computed as x, isReactive as or, isReadonly as ir, provide as Tt, nextTick as We, mergeProps as J, h as ra, createVNode as le, watchEffect as _t, withModifiers as Oe, useSlots as et, withDirectives as Ge, withKeys as ct, vShow as Zt, pushScopeId as lr, popScopeId as ur, onMounted as sa, toHandlers as cr, TransitionGroup as fr } from "vue";
|
2
2
|
import { RouterLink as ft, useRouter as dr, useRoute as pr } from "vue-router";
|
3
3
|
const mr = {
|
4
4
|
key: 0,
|
@@ -24,8 +24,8 @@ const Lr = {
|
|
24
24
|
show: { type: Boolean, default: !1 }
|
25
25
|
},
|
26
26
|
setup(e) {
|
27
|
-
return (t, n) => (y(), F(
|
28
|
-
default:
|
27
|
+
return (t, n) => (y(), F(ut, { appear: "" }, {
|
28
|
+
default: R(() => [
|
29
29
|
t.show ? (y(), w("div", mr, [
|
30
30
|
(y(), w("svg", {
|
31
31
|
"aria-label": "loading",
|
@@ -47,12 +47,12 @@ const Lr = {
|
|
47
47
|
fill: t.color
|
48
48
|
}, null, 8, yr)
|
49
49
|
], 8, gr)),
|
50
|
-
(y(), F(
|
50
|
+
(y(), F(ut, {
|
51
51
|
key: t.text,
|
52
52
|
appear: "",
|
53
53
|
mode: "out-in"
|
54
54
|
}, {
|
55
|
-
default:
|
55
|
+
default: R(() => [
|
56
56
|
t.text && t.show ? (y(), w("p", vr, D(t.text), 1)) : k("", !0)
|
57
57
|
]),
|
58
58
|
_: 1
|
@@ -63,12 +63,12 @@ const Lr = {
|
|
63
63
|
}));
|
64
64
|
}
|
65
65
|
});
|
66
|
-
const
|
66
|
+
const tt = (e, t) => {
|
67
67
|
const n = e.__vccOpts || e;
|
68
68
|
for (const [a, r] of t)
|
69
69
|
n[a] = r;
|
70
70
|
return n;
|
71
|
-
}, br = /* @__PURE__ */
|
71
|
+
}, br = /* @__PURE__ */ tt(Mr, [["__scopeId", "data-v-16618cf4"]]), wr = {
|
72
72
|
name: "PdapButton"
|
73
73
|
}, jr = /* @__PURE__ */ E({
|
74
74
|
...wr,
|
@@ -79,7 +79,7 @@ const nt = (e, t) => {
|
|
79
79
|
setup(e) {
|
80
80
|
const t = e, n = {
|
81
81
|
show: t.isLoading
|
82
|
-
}, a =
|
82
|
+
}, a = Je({
|
83
83
|
"pdap-button": !0,
|
84
84
|
[`pdap-button-${t.intent}`]: !!t.intent,
|
85
85
|
"pdap-button-loading": t.isLoading
|
@@ -87,24 +87,17 @@ const nt = (e, t) => {
|
|
87
87
|
return (r, s) => (y(), w("button", {
|
88
88
|
class: X(a)
|
89
89
|
}, [
|
90
|
-
|
91
|
-
default: P(() => [
|
92
|
-
(y(), F(ea(
|
93
|
-
r.isLoading && r.$slots.loading ? r.$slots.loading : r.isLoading ? L(br) : r.$slots.default
|
94
|
-
), ta(ar(r.isLoading ? n : void 0)), null, 16))
|
95
|
-
]),
|
96
|
-
_: 1
|
97
|
-
})
|
90
|
+
(y(), F(ea(r.isLoading ? br : r.$slots.default), ta(ar(r.isLoading ? n : void 0)), null, 16))
|
98
91
|
], 2));
|
99
92
|
}
|
100
93
|
});
|
101
|
-
const oa = /* @__PURE__ */
|
94
|
+
const oa = /* @__PURE__ */ tt(jr, [["__scopeId", "data-v-163027c8"]]), xr = /* @__PURE__ */ N("h1", null, "Oops, something went wrong!", -1), Nr = /* @__PURE__ */ N("p", {
|
102
95
|
class: "max-w-full",
|
103
96
|
"data-test": "error-boundary-message"
|
104
97
|
}, [
|
105
|
-
/* @__PURE__ */
|
98
|
+
/* @__PURE__ */ P(" If you keep seeing this message, please email "),
|
106
99
|
/* @__PURE__ */ N("a", { href: "mailto:contact@pdap.io" }, "contact@pdap.io"),
|
107
|
-
/* @__PURE__ */
|
100
|
+
/* @__PURE__ */ P(" for assistance. ")
|
108
101
|
], -1), $r = {
|
109
102
|
name: "ErrorBoundary"
|
110
103
|
}, Au = /* @__PURE__ */ E({
|
@@ -128,7 +121,7 @@ const oa = /* @__PURE__ */ nt(jr, [["__scopeId", "data-v-bbbf5b8e"]]), xr = /* @
|
|
128
121
|
class: "pdap-flex-container-center h-[full]",
|
129
122
|
"v-bind": i.params
|
130
123
|
}, {
|
131
|
-
default:
|
124
|
+
default: R(() => [
|
132
125
|
xr,
|
133
126
|
Nr
|
134
127
|
]),
|
@@ -136,14 +129,14 @@ const oa = /* @__PURE__ */ nt(jr, [["__scopeId", "data-v-bbbf5b8e"]]), xr = /* @
|
|
136
129
|
}, 8, ["v-bind"])) : Y(i.$slots, "default", { key: 0 });
|
137
130
|
}
|
138
131
|
}), Cr = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0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jLTAuMi0wLjctMC41LTEuNi0wLjUtMS44CgljMCwwLjEtMC4yLDEtMC41LDEuOGwtMS43LDUuNmg0LjRMODQsNjQuNnoiLz4KPHBhdGggZD0iTTEwNC43LDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzEwOS44LDcxLjEsMTA0LjcsNzEuMXogTTEwNC43LDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzEwNi45LDYxLjUsMTA0LjcsNjEuNXoiLz4KPC9zdmc+Cg==", Sr = { class: "pdap-footer" }, Ir = { class: "pdap-flex-container-center" }, Tr = { class: "pdap-footer-social-links" }, _r = ["href"], Dr = { class: "pdap-footer-copyright" }, Or = /* @__PURE__ */ N("br", null, null, -1), Er = /* @__PURE__ */ N("p", { class: "pdap-footer-copyright" }, [
|
139
|
-
/* @__PURE__ */
|
132
|
+
/* @__PURE__ */ P(" PDAP is a non-profit. EIN: 85-4207132. "),
|
140
133
|
/* @__PURE__ */ N("a", {
|
141
134
|
href: "https://docs.pdap.io/meta/policy/pdap-privacy-policy",
|
142
135
|
alt: "Privacy Policy",
|
143
136
|
target: "_blank"
|
144
137
|
}, [
|
145
138
|
/* @__PURE__ */ N("br"),
|
146
|
-
/* @__PURE__ */
|
139
|
+
/* @__PURE__ */ P(" Privacy Policy "),
|
147
140
|
/* @__PURE__ */ N("i", { class: "fa fa-external-link" })
|
148
141
|
]),
|
149
142
|
/* @__PURE__ */ N("br"),
|
@@ -165,7 +158,7 @@ const oa = /* @__PURE__ */ nt(jr, [["__scopeId", "data-v-bbbf5b8e"]]), xr = /* @
|
|
165
158
|
logoImageAnchorPath: { default: "/" }
|
166
159
|
},
|
167
160
|
setup(e) {
|
168
|
-
const t = e, n =
|
161
|
+
const t = e, n = ie("footerLinks", [
|
169
162
|
{
|
170
163
|
href: "https://github.com/orgs/Police-Data-Accessibility-Project",
|
171
164
|
text: "Github"
|
@@ -188,7 +181,7 @@ const oa = /* @__PURE__ */ nt(jr, [["__scopeId", "data-v-bbbf5b8e"]]), xr = /* @
|
|
188
181
|
return y(), w("footer", Sr, [
|
189
182
|
N("div", Ir, [
|
190
183
|
N("ul", Tr, [
|
191
|
-
(y(!0), w($e, null,
|
184
|
+
(y(!0), w($e, null, qe(L(n), (i) => (y(), w("li", {
|
192
185
|
key: i.text,
|
193
186
|
class: "pdap-footer-link-container"
|
194
187
|
}, [
|
@@ -206,15 +199,15 @@ const oa = /* @__PURE__ */ nt(jr, [["__scopeId", "data-v-bbbf5b8e"]]), xr = /* @
|
|
206
199
|
class: "pdap-footer-social-link",
|
207
200
|
to: i.path
|
208
201
|
}, {
|
209
|
-
default:
|
210
|
-
|
202
|
+
default: R(() => [
|
203
|
+
P(D(i.text), 1)
|
211
204
|
]),
|
212
205
|
_: 2
|
213
206
|
}, 1032, ["to"])) : k("", !0)
|
214
207
|
]))), 128))
|
215
208
|
]),
|
216
209
|
N("p", Dr, [
|
217
|
-
|
210
|
+
P(" © " + D((/* @__PURE__ */ new Date()).getFullYear()) + " Police Data Accessibility Project", 1),
|
218
211
|
Or
|
219
212
|
]),
|
220
213
|
Er,
|
@@ -225,7 +218,7 @@ const oa = /* @__PURE__ */ nt(jr, [["__scopeId", "data-v-bbbf5b8e"]]), xr = /* @
|
|
225
218
|
to: r.logoImageAnchorPath,
|
226
219
|
class: "pdap-footer-logo"
|
227
220
|
}, {
|
228
|
-
default:
|
221
|
+
default: R(() => [
|
229
222
|
N("img", {
|
230
223
|
src: r.logoImageSrc,
|
231
224
|
loading: "lazy",
|
@@ -468,7 +461,7 @@ function Hr(e, t, n, a, r, s, o, i, u) {
|
|
468
461
|
return m.value = g, !!f.$externalResults.value.length || g;
|
469
462
|
}), f.$pending = x(() => l.some((g) => L(f[g].$pending))), f.$error = x(() => f.$dirty.value ? f.$pending.value || f.$invalid.value : !1), f.$silentErrors = x(() => l.filter((g) => L(f[g].$invalid)).map((g) => {
|
470
463
|
const h = f[g];
|
471
|
-
return
|
464
|
+
return Je({
|
472
465
|
$propertyPath: r,
|
473
466
|
$property: n,
|
474
467
|
$validator: g,
|
@@ -578,7 +571,7 @@ function Dt(e) {
|
|
578
571
|
$anyDirty: H,
|
579
572
|
$error: q,
|
580
573
|
$pending: Te,
|
581
|
-
$touch:
|
574
|
+
$touch: re,
|
582
575
|
$reset: Ka,
|
583
576
|
$silentErrors: Ja,
|
584
577
|
$commit: mn
|
@@ -591,14 +584,14 @@ function Dt(e) {
|
|
591
584
|
}
|
592
585
|
}) : null;
|
593
586
|
a && g.$autoDirty && ee(h, () => {
|
594
|
-
j.value ||
|
587
|
+
j.value || re();
|
595
588
|
const A = L(l);
|
596
589
|
A && (A[a] = p[a]);
|
597
590
|
}, {
|
598
591
|
flush: "sync"
|
599
592
|
});
|
600
593
|
async function er() {
|
601
|
-
return
|
594
|
+
return re(), g.$rewardEarly && (mn(), await We()), await We(), new Promise((A) => {
|
602
595
|
if (!Te.value)
|
603
596
|
return A(!Q.value);
|
604
597
|
const be = ee(Te, () => {
|
@@ -614,7 +607,7 @@ function Dt(e) {
|
|
614
607
|
delete l[A];
|
615
608
|
}) : Object.assign(l, p);
|
616
609
|
}
|
617
|
-
return
|
610
|
+
return Je(me(me(me({}, $), {}, {
|
618
611
|
$model: qa,
|
619
612
|
$dirty: j,
|
620
613
|
$error: q,
|
@@ -622,7 +615,7 @@ function Dt(e) {
|
|
622
615
|
$invalid: Q,
|
623
616
|
$anyDirty: H,
|
624
617
|
$pending: Te,
|
625
|
-
$touch:
|
618
|
+
$touch: re,
|
626
619
|
$reset: Ka,
|
627
620
|
$path: c || Gr,
|
628
621
|
$silentErrors: Ja,
|
@@ -663,7 +656,7 @@ class Kr {
|
|
663
656
|
};
|
664
657
|
}
|
665
658
|
}
|
666
|
-
const
|
659
|
+
const st = {
|
667
660
|
COLLECT_ALL: !0,
|
668
661
|
COLLECT_NONE: !1
|
669
662
|
}, vn = Symbol("vuelidate#injectChildResults"), Ln = Symbol("vuelidate#removeChildResults");
|
@@ -679,16 +672,16 @@ function Jr(e) {
|
|
679
672
|
$scope: v,
|
680
673
|
$stopPropagation: f
|
681
674
|
} = d;
|
682
|
-
f || t ===
|
675
|
+
f || t === st.COLLECT_NONE || v === st.COLLECT_NONE || t !== st.COLLECT_ALL && t !== v || (a[m] = c, r.value.push(m));
|
683
676
|
}
|
684
677
|
n.__vuelidateInjectInstances = [].concat(n.__vuelidateInjectInstances || [], o);
|
685
678
|
function i(c) {
|
686
679
|
r.value = r.value.filter((d) => d !== c), delete a[c];
|
687
680
|
}
|
688
681
|
n.__vuelidateRemoveInstances = [].concat(n.__vuelidateRemoveInstances || [], i);
|
689
|
-
const u =
|
682
|
+
const u = ie(vn, []);
|
690
683
|
Tt(vn, n.__vuelidateInjectInstances);
|
691
|
-
const l =
|
684
|
+
const l = ie(Ln, []);
|
692
685
|
return Tt(Ln, n.__vuelidateRemoveInstances), {
|
693
686
|
childResults: s,
|
694
687
|
sendValidationResultsToParent: u,
|
@@ -709,7 +702,7 @@ function fa(e, t) {
|
|
709
702
|
arguments.length === 1 && (a = e, e = void 0, t = void 0);
|
710
703
|
let {
|
711
704
|
$registerAs: r,
|
712
|
-
$scope: s =
|
705
|
+
$scope: s = st.COLLECT_ALL,
|
713
706
|
$stopPropagation: o,
|
714
707
|
$externalResults: i,
|
715
708
|
currentVueInstance: u
|
@@ -744,7 +737,7 @@ function fa(e, t) {
|
|
744
737
|
});
|
745
738
|
}), a = c.validationsConfig || a;
|
746
739
|
} else {
|
747
|
-
const h = It(e) || Ur(e) ? e :
|
740
|
+
const h = It(e) || Ur(e) ? e : Je(e || {});
|
748
741
|
ee(h, (p) => {
|
749
742
|
d.value = Dt({
|
750
743
|
validations: p,
|
@@ -765,7 +758,7 @@ function fa(e, t) {
|
|
765
758
|
$stopPropagation: o
|
766
759
|
})), Xt(() => g.forEach((h) => h(r)))), x(() => me(me({}, L(d.value)), v.value));
|
767
760
|
}
|
768
|
-
var
|
761
|
+
var oe = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.TEXT = "text", e.PASSWORD = "password", e))(oe || {});
|
769
762
|
const qr = ["id", "type", "name", "placeholder", "value"], es = /* @__PURE__ */ E({
|
770
763
|
__name: "InputText",
|
771
764
|
props: {
|
@@ -828,7 +821,7 @@ try {
|
|
828
821
|
}
|
829
822
|
const {
|
830
823
|
userAgent: wn = ""
|
831
|
-
} = Kt.navigator || {}, he = Kt, T = da, jn = pa,
|
824
|
+
} = Kt.navigator || {}, he = Kt, T = da, jn = pa, rt = ma;
|
832
825
|
he.document;
|
833
826
|
const fe = !!T.documentElement && !!T.head && typeof T.addEventListener == "function" && typeof T.createElement == "function", ga = ~wn.indexOf("MSIE") || ~wn.indexOf("Trident/");
|
834
827
|
var O = "classic", ha = "duotone", V = "sharp", B = "sharp-duotone", as = [O, ha, V, B], rs = {
|
@@ -1037,7 +1030,7 @@ const ue = "___FONT_AWESOME___", Ot = 16, La = "fa", Ma = "svg-inline--fa", Ce =
|
|
1037
1030
|
return !1;
|
1038
1031
|
}
|
1039
1032
|
})(), wa = [O, V, B];
|
1040
|
-
function
|
1033
|
+
function nt(e) {
|
1041
1034
|
return new Proxy(e, {
|
1042
1035
|
get(t, n) {
|
1043
1036
|
return n in t ? t[n] : t[O];
|
@@ -1052,7 +1045,7 @@ ja[O] = {
|
|
1052
1045
|
...xn.kit,
|
1053
1046
|
...xn["kit-duotone"]
|
1054
1047
|
};
|
1055
|
-
const xe =
|
1048
|
+
const xe = nt(ja), At = {
|
1056
1049
|
...ps
|
1057
1050
|
};
|
1058
1051
|
At[O] = {
|
@@ -1060,28 +1053,28 @@ At[O] = {
|
|
1060
1053
|
...Nn.kit,
|
1061
1054
|
...Nn["kit-duotone"]
|
1062
1055
|
};
|
1063
|
-
const
|
1056
|
+
const He = nt(At), kt = {
|
1064
1057
|
...ds
|
1065
1058
|
};
|
1066
1059
|
kt[O] = {
|
1067
1060
|
...kt[O],
|
1068
1061
|
...Ls.kit
|
1069
1062
|
};
|
1070
|
-
const Ne =
|
1063
|
+
const Ne = nt(kt), zt = {
|
1071
1064
|
...cs
|
1072
1065
|
};
|
1073
1066
|
zt[O] = {
|
1074
1067
|
...zt[O],
|
1075
1068
|
...vs.kit
|
1076
1069
|
};
|
1077
|
-
const js =
|
1070
|
+
const js = nt(zt), xs = os, xa = "fa-layers-text", Ns = is, $s = {
|
1078
1071
|
...rs
|
1079
1072
|
};
|
1080
|
-
|
1073
|
+
nt($s);
|
1081
1074
|
const Cs = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], xt = Fe, Ee = /* @__PURE__ */ new Set();
|
1082
|
-
Object.keys(
|
1083
|
-
Object.keys(
|
1084
|
-
Object.keys(
|
1075
|
+
Object.keys(He[O]).map(Ee.add.bind(Ee));
|
1076
|
+
Object.keys(He[V]).map(Ee.add.bind(Ee));
|
1077
|
+
Object.keys(He[B]).map(Ee.add.bind(Ee));
|
1085
1078
|
const Ss = [...ss, ...hs], Qe = he.FontAwesomeConfig || {};
|
1086
1079
|
function Is(e) {
|
1087
1080
|
var t = T.querySelector("script[" + e + "]");
|
@@ -1167,7 +1160,7 @@ function Ds(e) {
|
|
1167
1160
|
return T.head.insertBefore(t, a), e;
|
1168
1161
|
}
|
1169
1162
|
const Os = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
1170
|
-
function
|
1163
|
+
function Xe() {
|
1171
1164
|
let e = 12, t = "";
|
1172
1165
|
for (; e-- > 0; )
|
1173
1166
|
t += Os[Math.random() * 62 | 0];
|
@@ -1822,13 +1815,13 @@ fe && (pt = (T.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(T
|
|
1822
1815
|
function Rs(e) {
|
1823
1816
|
fe && (pt ? setTimeout(e, 0) : Sa.push(e));
|
1824
1817
|
}
|
1825
|
-
function
|
1818
|
+
function at(e) {
|
1826
1819
|
const {
|
1827
1820
|
tag: t,
|
1828
1821
|
attributes: n = {},
|
1829
1822
|
children: a = []
|
1830
1823
|
} = e;
|
1831
|
-
return typeof e == "string" ? $a(e) : "<".concat(t, " ").concat(Es(n), ">").concat(a.map(
|
1824
|
+
return typeof e == "string" ? $a(e) : "<".concat(t, " ").concat(Es(n), ">").concat(a.map(at).join(""), "</").concat(t, ">");
|
1832
1825
|
}
|
1833
1826
|
function Sn(e, t, n) {
|
1834
1827
|
if (e && e[t] && e[t][n])
|
@@ -1982,7 +1975,7 @@ function Lt(e) {
|
|
1982
1975
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1983
1976
|
const {
|
1984
1977
|
family: n = O
|
1985
|
-
} = t, a = xe[n][e], r =
|
1978
|
+
} = t, a = xe[n][e], r = He[n][e] || He[n][a], s = e in ne.styles ? e : null;
|
1986
1979
|
return r || s || null;
|
1987
1980
|
}
|
1988
1981
|
const Zs = {
|
@@ -2160,7 +2153,7 @@ const za = new Ks(), eo = () => {
|
|
2160
2153
|
parse: no,
|
2161
2154
|
library: za,
|
2162
2155
|
findIconDefinition: Ft,
|
2163
|
-
toHtml:
|
2156
|
+
toHtml: at
|
2164
2157
|
}, ao = function() {
|
2165
2158
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2166
2159
|
const {
|
@@ -2175,7 +2168,7 @@ function bt(e, t) {
|
|
2175
2168
|
get: t
|
2176
2169
|
}), Object.defineProperty(e, "html", {
|
2177
2170
|
get: function() {
|
2178
|
-
return e.abstract.map((n) =>
|
2171
|
+
return e.abstract.map((n) => at(n));
|
2179
2172
|
}
|
2180
2173
|
}), Object.defineProperty(e, "node", {
|
2181
2174
|
get: function() {
|
@@ -2275,7 +2268,7 @@ function sn(e) {
|
|
2275
2268
|
d && (h.attributes[Ce] = ""), i && (h.children.push({
|
2276
2269
|
tag: "title",
|
2277
2270
|
attributes: {
|
2278
|
-
id: h.attributes["aria-labelledby"] || "title-".concat(l ||
|
2271
|
+
id: h.attributes["aria-labelledby"] || "title-".concat(l || Xe())
|
2279
2272
|
},
|
2280
2273
|
children: [i]
|
2281
2274
|
}), delete h.attributes.title);
|
@@ -2436,7 +2429,7 @@ function Qt(e, t) {
|
|
2436
2429
|
});
|
2437
2430
|
}
|
2438
2431
|
const Dn = () => {
|
2439
|
-
}, Vt = b.measurePerformance &&
|
2432
|
+
}, Vt = b.measurePerformance && rt && rt.mark && rt.measure ? rt : {
|
2440
2433
|
mark: Dn,
|
2441
2434
|
measure: Dn
|
2442
2435
|
}, Ue = 'FA "6.6.0"', uo = (e) => (Vt.mark("".concat(Ue, " ").concat(e, " begins")), () => Pa(e)), Pa = (e) => {
|
@@ -2446,7 +2439,7 @@ var on = {
|
|
2446
2439
|
begin: uo,
|
2447
2440
|
end: Pa
|
2448
2441
|
};
|
2449
|
-
const
|
2442
|
+
const ot = () => {
|
2450
2443
|
};
|
2451
2444
|
function On(e) {
|
2452
2445
|
return typeof (e.getAttribute ? e.getAttribute(Ce) : null) == "string";
|
@@ -2459,7 +2452,7 @@ function fo(e) {
|
|
2459
2452
|
return e && e.classList && e.classList.contains && e.classList.contains(b.replacementClass);
|
2460
2453
|
}
|
2461
2454
|
function po() {
|
2462
|
-
return b.autoReplaceSvg === !0 ?
|
2455
|
+
return b.autoReplaceSvg === !0 ? it.replace : it[b.autoReplaceSvg] || it.replace;
|
2463
2456
|
}
|
2464
2457
|
function mo(e) {
|
2465
2458
|
return T.createElementNS("http://www.w3.org/2000/svg", e);
|
@@ -2487,7 +2480,7 @@ function ho(e) {
|
|
2487
2480
|
let t = " ".concat(e.outerHTML, " ");
|
2488
2481
|
return t = "".concat(t, "Font Awesome fontawesome.com "), t;
|
2489
2482
|
}
|
2490
|
-
const
|
2483
|
+
const it = {
|
2491
2484
|
replace: function(e) {
|
2492
2485
|
const t = e[0];
|
2493
2486
|
if (t.parentNode)
|
@@ -2502,7 +2495,7 @@ const lt = {
|
|
2502
2495
|
nest: function(e) {
|
2503
2496
|
const t = e[0], n = e[1];
|
2504
2497
|
if (~en(t).indexOf(b.replacementClass))
|
2505
|
-
return
|
2498
|
+
return it.replace(e);
|
2506
2499
|
const a = new RegExp("".concat(b.cssPrefix, "-.*"));
|
2507
2500
|
if (delete n[0].attributes.id, n[0].attributes.class) {
|
2508
2501
|
const s = n[0].attributes.class.split(" ").reduce((o, i) => (i === b.replacementClass || i.match(a) ? o.toSvg.push(i) : o.toNode.push(i), o), {
|
@@ -2511,7 +2504,7 @@ const lt = {
|
|
2511
2504
|
});
|
2512
2505
|
n[0].attributes.class = s.toSvg.join(" "), s.toNode.length === 0 ? t.removeAttribute("class") : t.setAttribute("class", s.toNode.join(" "));
|
2513
2506
|
}
|
2514
|
-
const r = n.map((s) =>
|
2507
|
+
const r = n.map((s) => at(s)).join(`
|
2515
2508
|
`);
|
2516
2509
|
t.setAttribute(Ce, ""), t.innerHTML = r;
|
2517
2510
|
}
|
@@ -2520,7 +2513,7 @@ function En(e) {
|
|
2520
2513
|
e();
|
2521
2514
|
}
|
2522
2515
|
function Ya(e, t) {
|
2523
|
-
const n = typeof t == "function" ? t :
|
2516
|
+
const n = typeof t == "function" ? t : ot;
|
2524
2517
|
if (e.length === 0)
|
2525
2518
|
n();
|
2526
2519
|
else {
|
@@ -2543,9 +2536,9 @@ function An(e) {
|
|
2543
2536
|
if (!jn || !b.observeMutations)
|
2544
2537
|
return;
|
2545
2538
|
const {
|
2546
|
-
treeCallback: t =
|
2547
|
-
nodeCallback: n =
|
2548
|
-
pseudoElementsCallback: a =
|
2539
|
+
treeCallback: t = ot,
|
2540
|
+
nodeCallback: n = ot,
|
2541
|
+
pseudoElementsCallback: a = ot,
|
2549
2542
|
observeMutationsRoot: r = T
|
2550
2543
|
} = e;
|
2551
2544
|
mt = new jn((s) => {
|
@@ -2588,7 +2581,7 @@ function Lo(e) {
|
|
2588
2581
|
}
|
2589
2582
|
function Mo(e) {
|
2590
2583
|
const t = ze(e.attributes).reduce((r, s) => (r.name !== "class" && r.name !== "style" && (r[s.name] = s.value), r), {}), n = e.getAttribute("title"), a = e.getAttribute("data-fa-title-id");
|
2591
|
-
return b.autoA11y && (n ? t["aria-labelledby"] = "".concat(b.replacementClass, "-title-").concat(a ||
|
2584
|
+
return b.autoA11y && (n ? t["aria-labelledby"] = "".concat(b.replacementClass, "-title-").concat(a || Xe()) : (t["aria-hidden"] = "true", t.focusable = "false")), t;
|
2592
2585
|
}
|
2593
2586
|
function bo() {
|
2594
2587
|
return {
|
@@ -2651,19 +2644,19 @@ function Ua(e) {
|
|
2651
2644
|
}) : kn(e);
|
2652
2645
|
return ~t.extra.classes.indexOf(xa) ? ve("generateLayersText", e, t) : ve("generateSvgReplacementMutation", e, t);
|
2653
2646
|
}
|
2654
|
-
let
|
2647
|
+
let ae = /* @__PURE__ */ new Set();
|
2655
2648
|
wa.map((e) => {
|
2656
|
-
|
2649
|
+
ae.add("fa-".concat(e));
|
2657
2650
|
});
|
2658
|
-
Object.keys(xe[O]).map(
|
2659
|
-
Object.keys(xe[V]).map(
|
2660
|
-
Object.keys(xe[B]).map(
|
2661
|
-
|
2651
|
+
Object.keys(xe[O]).map(ae.add.bind(ae));
|
2652
|
+
Object.keys(xe[V]).map(ae.add.bind(ae));
|
2653
|
+
Object.keys(xe[B]).map(ae.add.bind(ae));
|
2654
|
+
ae = [...ae];
|
2662
2655
|
function zn(e) {
|
2663
2656
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
2664
2657
|
if (!fe)
|
2665
2658
|
return Promise.resolve();
|
2666
|
-
const n = T.documentElement.classList, a = (c) => n.add("".concat($n, "-").concat(c)), r = (c) => n.remove("".concat($n, "-").concat(c)), s = b.autoFetchSvg ?
|
2659
|
+
const n = T.documentElement.classList, a = (c) => n.add("".concat($n, "-").concat(c)), r = (c) => n.remove("".concat($n, "-").concat(c)), s = b.autoFetchSvg ? ae : wa.map((c) => "fa-".concat(c)).concat(Object.keys(wo));
|
2667
2660
|
s.includes("fa") || s.push("fa");
|
2668
2661
|
const o = [".".concat(xa, ":not([").concat(Ce, "])")].concat(s.map((c) => ".".concat(c, ":not([").concat(Ce, "])"))).join(", ");
|
2669
2662
|
if (o.length === 0)
|
@@ -2741,7 +2734,7 @@ const No = function(e) {
|
|
2741
2734
|
}, () => (Se("beforeDOMElementCreation", {
|
2742
2735
|
iconDefinition: e,
|
2743
2736
|
params: t
|
2744
|
-
}), b.autoA11y && (o ? l["aria-labelledby"] = "".concat(b.replacementClass, "-title-").concat(i ||
|
2737
|
+
}), b.autoA11y && (o ? l["aria-labelledby"] = "".concat(b.replacementClass, "-title-").concat(i || Xe()) : (l["aria-hidden"] = "true", l.focusable = "false")), sn({
|
2745
2738
|
icons: {
|
2746
2739
|
main: Ut(v),
|
2747
2740
|
mask: r ? Ut(r.icon) : {
|
@@ -3026,7 +3019,7 @@ function Yn(e, t) {
|
|
3026
3019
|
extra: C,
|
3027
3020
|
watchable: !0
|
3028
3021
|
}), I = T.createElementNS("http://www.w3.org/2000/svg", "svg");
|
3029
|
-
t === "::before" ? e.insertBefore(I, e.firstChild) : e.appendChild(I), I.outerHTML = j.map((Q) =>
|
3022
|
+
t === "::before" ? e.insertBefore(I, e.firstChild) : e.appendChild(I), I.outerHTML = j.map((Q) => at(Q)).join(`
|
3030
3023
|
`), e.removeAttribute(n), a();
|
3031
3024
|
}).catch(r);
|
3032
3025
|
} else
|
@@ -3270,7 +3263,7 @@ var Yo = {
|
|
3270
3263
|
...m.outer
|
3271
3264
|
},
|
3272
3265
|
children: [g]
|
3273
|
-
}, p = "mask-".concat(o ||
|
3266
|
+
}, p = "mask-".concat(o || Xe()), M = "clip-".concat(o || Xe()), $ = {
|
3274
3267
|
tag: "mask",
|
3275
3268
|
attributes: {
|
3276
3269
|
...St,
|
@@ -3905,7 +3898,7 @@ const ii = {
|
|
3905
3898
|
prefix: "fas",
|
3906
3899
|
iconName: "person-military-to-person",
|
3907
3900
|
icon: [512, 512, [], "e54c", "M71 12.5c-8.6 1-15 8.2-15 16.8c0 9.3 7.5 16.8 16.7 16.9l111.4 0c8.8-.1 15.9-7.2 15.9-16L200 16c0-9.5-8.3-17-17.8-15.9L71 12.5zM189.5 78.1l-122.9 0C64.9 83.8 64 89.8 64 96c0 35.3 28.7 64 64 64s64-28.7 64-64c0-6.2-.9-12.2-2.5-17.9zM32 256l0 32c0 17.7 14.3 32 32 32l128 0c1.8 0 3.5-.1 5.2-.4L53 208.6C40.1 220.3 32 237.2 32 256zm190.2 42.5c1.1-3.3 1.8-6.8 1.8-10.5l0-32c0-35.3-28.7-64-64-64l-64 0c-3.7 0-7.4 .3-10.9 .9L222.2 298.5zM384 160a64 64 0 1 0 0-128 64 64 0 1 0 0 128zm-32 32c-35.3 0-64 28.7-64 64l0 32c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-32c0-35.3-28.7-64-64-64l-64 0zM215.8 450.1c5.2-4.6 8.2-11.1 8.2-18.1s-3-13.5-8.2-18.1l-64-56c-7.1-6.2-17.1-7.7-25.7-3.8S112 366.6 112 376l0 32-88 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l88 0 0 32c0 9.4 5.5 18 14.1 21.9s18.6 2.4 25.7-3.8l64-56zM288 431.9c0 6.9 2.9 13.5 8.1 18.1l64 56.4c7.1 6.2 17.1 7.8 25.7 3.9s14.1-12.4 14.1-21.9l0-32.4 88 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-88 0 0-32c0-9.4-5.5-18-14.1-21.9s-18.6-2.4-25.7 3.8l-64 56c-5.2 4.5-8.2 11.1-8.2 18z"]
|
3908
|
-
},
|
3901
|
+
}, se = {
|
3909
3902
|
prefix: "fas",
|
3910
3903
|
iconName: "file-shield",
|
3911
3904
|
icon: [576, 512, [], "e4f0", "M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 47-92.8 37.1c-21.3 8.5-35.2 29.1-35.2 52c0 56.6 18.9 148 94.2 208.3c-9 4.8-19.3 7.6-30.2 7.6L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zm39.1 97.7c5.7-2.3 12.1-2.3 17.8 0l120 48C570 277.4 576 286.2 576 296c0 63.3-25.9 168.8-134.8 214.2c-5.9 2.5-12.6 2.5-18.5 0C313.9 464.8 288 359.3 288 296c0-9.8 6-18.6 15.1-22.3l120-48zM527.4 312L432 273.8l0 187.8c68.2-33 91.5-99 95.4-149.7z"]
|
@@ -3980,16 +3973,16 @@ const ii = {
|
|
3980
3973
|
/***************************************************
|
3981
3974
|
********* Agency-published resources ************
|
3982
3975
|
**************************************************/
|
3983
|
-
["Agency-published resources",
|
3976
|
+
["Agency-published resources", se],
|
3984
3977
|
// Top level
|
3985
|
-
["Crime Maps & Reports",
|
3986
|
-
["Crime Maps and Reports",
|
3987
|
-
["Crime Statistics",
|
3988
|
-
["Media Bulletins",
|
3989
|
-
["Records Request Info",
|
3990
|
-
["Resources",
|
3991
|
-
["Sex Offender Registry",
|
3992
|
-
["Wanted Persons",
|
3978
|
+
["Crime Maps & Reports", se],
|
3979
|
+
["Crime Maps and Reports", se],
|
3980
|
+
["Crime Statistics", se],
|
3981
|
+
["Media Bulletins", se],
|
3982
|
+
["Records Request Info", se],
|
3983
|
+
["Resources", se],
|
3984
|
+
["Sex Offender Registry", se],
|
3985
|
+
["Wanted Persons", se],
|
3993
3986
|
/***************************************************
|
3994
3987
|
*********** Jails & Courts specific *************
|
3995
3988
|
**************************************************/
|
@@ -4030,11 +4023,11 @@ const ii = {
|
|
4030
4023
|
class: X({
|
4031
4024
|
"pdap-input": !0,
|
4032
4025
|
[`pdap-input-${a.type}`]: !0,
|
4033
|
-
[`pdap-input-${a.type}-checked`]: a.type === L(
|
4026
|
+
[`pdap-input-${a.type}-checked`]: a.type === L(oe).CHECKBOX && a.value === "true",
|
4034
4027
|
"pdap-input-error": Number((s = a.error) == null ? void 0 : s.length) >= 1
|
4035
4028
|
})
|
4036
4029
|
}, [
|
4037
|
-
a.type === L(
|
4030
|
+
a.type === L(oe).CHECKBOX ? (y(), F(ns, J({
|
4038
4031
|
key: 0,
|
4039
4032
|
class: "pdap-input-checkbox"
|
4040
4033
|
}, { ...a.$attrs, ...t }), null, 16)) : (y(), F(es, ta(J({ key: 1 }, { ...a.$attrs, ...a.$props })), null, 16)),
|
@@ -4047,14 +4040,14 @@ const ii = {
|
|
4047
4040
|
class: "pdap-input-label",
|
4048
4041
|
for: a.id
|
4049
4042
|
}, [
|
4050
|
-
|
4051
|
-
|
4043
|
+
P(D(a.label) + " ", 1),
|
4044
|
+
le(ui, { "record-type": a.label }, null, 8, ["record-type"])
|
4052
4045
|
], 8, fi)
|
4053
4046
|
], 2);
|
4054
4047
|
};
|
4055
4048
|
}
|
4056
4049
|
});
|
4057
|
-
const pi = /* @__PURE__ */
|
4050
|
+
const pi = /* @__PURE__ */ tt(di, [["__scopeId", "data-v-82c4c076"]]);
|
4058
4051
|
function Gn(e, t) {
|
4059
4052
|
var n = Object.keys(e);
|
4060
4053
|
if (Object.getOwnPropertySymbols) {
|
@@ -4084,19 +4077,19 @@ function mi(e, t, n) {
|
|
4084
4077
|
writable: !0
|
4085
4078
|
}) : e[t] = n, e;
|
4086
4079
|
}
|
4087
|
-
function
|
4080
|
+
function Ze(e) {
|
4088
4081
|
return typeof e == "function";
|
4089
4082
|
}
|
4090
4083
|
function yt(e) {
|
4091
4084
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
4092
4085
|
}
|
4093
4086
|
function wt(e) {
|
4094
|
-
return
|
4087
|
+
return Ze(e.$validator) ? ke({}, e) : {
|
4095
4088
|
$validator: e
|
4096
4089
|
};
|
4097
4090
|
}
|
4098
4091
|
function gi(e) {
|
4099
|
-
return yt(e) &&
|
4092
|
+
return yt(e) && Ze(e.then);
|
4100
4093
|
}
|
4101
4094
|
function Le(e) {
|
4102
4095
|
return typeof e == "object" ? e.$valid : e;
|
@@ -4107,15 +4100,15 @@ function Ie(e) {
|
|
4107
4100
|
function cn(e, t) {
|
4108
4101
|
if (!yt(e))
|
4109
4102
|
throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);
|
4110
|
-
if (!yt(t) && !
|
4103
|
+
if (!yt(t) && !Ze(t))
|
4111
4104
|
throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
|
4112
4105
|
const n = wt(t);
|
4113
4106
|
return n.$params = ke(ke({}, n.$params || {}), e), n;
|
4114
4107
|
}
|
4115
|
-
function
|
4116
|
-
if (!
|
4108
|
+
function Ke(e, t) {
|
4109
|
+
if (!Ze(e) && typeof L(e) != "string")
|
4117
4110
|
throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);
|
4118
|
-
if (!yt(t) && !
|
4111
|
+
if (!yt(t) && !Ze(t))
|
4119
4112
|
throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
|
4120
4113
|
const n = wt(t);
|
4121
4114
|
return n.$message = e, n;
|
@@ -4229,7 +4222,7 @@ var Pe = /* @__PURE__ */ Object.freeze({
|
|
4229
4222
|
unwrapNormalizedValidator: Ie,
|
4230
4223
|
unwrapValidatorResponse: Le,
|
4231
4224
|
withAsync: hi,
|
4232
|
-
withMessage:
|
4225
|
+
withMessage: Ke,
|
4233
4226
|
withParams: cn
|
4234
4227
|
}), vi = Me(/^[a-zA-Z]*$/), Li = {
|
4235
4228
|
$validator: vi,
|
@@ -4457,7 +4450,7 @@ function Zi() {
|
|
4457
4450
|
function Ki() {
|
4458
4451
|
return cn({
|
4459
4452
|
type: "or"
|
4460
|
-
},
|
4453
|
+
}, Ke("The value does not match any of the provided validators", Zi(...arguments)));
|
4461
4454
|
}
|
4462
4455
|
function Ji(e) {
|
4463
4456
|
return function() {
|
@@ -4490,7 +4483,7 @@ function el() {
|
|
4490
4483
|
function tl() {
|
4491
4484
|
return cn({
|
4492
4485
|
type: "and"
|
4493
|
-
},
|
4486
|
+
}, Ke("The value does not match all of the provided validators", el(...arguments)));
|
4494
4487
|
}
|
4495
4488
|
function nl(e) {
|
4496
4489
|
return function(t, n) {
|
@@ -4584,8 +4577,8 @@ function dl(e) {
|
|
4584
4577
|
}, c.$params)));
|
4585
4578
|
}
|
4586
4579
|
return o && typeof s == "function" ? function() {
|
4587
|
-
return
|
4588
|
-
} :
|
4580
|
+
return Ke(l, s(...arguments));
|
4581
|
+
} : Ke(l, s);
|
4589
4582
|
};
|
4590
4583
|
}
|
4591
4584
|
const Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
@@ -4713,10 +4706,10 @@ const bl = ["id", "name", "onSubmit"], wl = {
|
|
4713
4706
|
), o = S(
|
4714
4707
|
s.value.reduce((f, g) => {
|
4715
4708
|
switch (g.type) {
|
4716
|
-
case
|
4709
|
+
case oe.CHECKBOX:
|
4717
4710
|
return { ...f, [g.name]: String(g.defaultChecked) };
|
4718
|
-
case
|
4719
|
-
case
|
4711
|
+
case oe.TEXT:
|
4712
|
+
case oe.PASSWORD:
|
4720
4713
|
default:
|
4721
4714
|
return { ...f, [g.name]: g.value };
|
4722
4715
|
}
|
@@ -4744,7 +4737,7 @@ const bl = ["id", "name", "onSubmit"], wl = {
|
|
4744
4737
|
function c(f, g) {
|
4745
4738
|
const h = g.target, p = (() => {
|
4746
4739
|
switch (f.type) {
|
4747
|
-
case
|
4740
|
+
case oe.CHECKBOX:
|
4748
4741
|
return h.checked ? "true" : "false";
|
4749
4742
|
default:
|
4750
4743
|
return h.value;
|
@@ -4768,7 +4761,7 @@ const bl = ["id", "name", "onSubmit"], wl = {
|
|
4768
4761
|
onSubmit: Oe(v, ["prevent"])
|
4769
4762
|
}, [
|
4770
4763
|
typeof l.value == "string" ? (y(), w("div", wl, D(l.value), 1)) : k("", !0),
|
4771
|
-
(y(!0), w($e, null,
|
4764
|
+
(y(!0), w($e, null, qe(s.value, (h) => {
|
4772
4765
|
var p, M, $, C;
|
4773
4766
|
return y(), F(pi, J(h, {
|
4774
4767
|
key: h.name,
|
@@ -4865,11 +4858,11 @@ const Sl = {
|
|
4865
4858
|
},
|
4866
4859
|
setup(e) {
|
4867
4860
|
const { label: t, name: n } = e;
|
4868
|
-
if (!
|
4861
|
+
if (!et().label && !t)
|
4869
4862
|
throw new Error(
|
4870
4863
|
"All form inputs must have a label, passed as a slot or a prop"
|
4871
4864
|
);
|
4872
|
-
const { values: r, setValues: s, v$: o } =
|
4865
|
+
const { values: r, setValues: s, v$: o } = ie(Re), i = x(() => {
|
4873
4866
|
var l, c, d, m;
|
4874
4867
|
return (l = o.value[n]) != null && l.$error ? (m = (d = (c = o.value[n]) == null ? void 0 : c.$errors) == null ? void 0 : d[0]) == null ? void 0 : m.$message : "";
|
4875
4868
|
});
|
@@ -4921,11 +4914,11 @@ const Sl = {
|
|
4921
4914
|
},
|
4922
4915
|
setup(e) {
|
4923
4916
|
const { label: t, name: n } = e;
|
4924
|
-
if (!
|
4917
|
+
if (!et().label && !t)
|
4925
4918
|
throw new Error(
|
4926
4919
|
"All form inputs must have a label, passed as a slot or a prop"
|
4927
4920
|
);
|
4928
|
-
const { values: r, setValues: s, v$: o } =
|
4921
|
+
const { values: r, setValues: s, v$: o } = ie(Re), i = x(() => {
|
4929
4922
|
var d, m, v, f;
|
4930
4923
|
return (d = o.value[n]) != null && d.$error ? (f = (v = (m = o.value[n]) == null ? void 0 : m.$errors) == null ? void 0 : v[0]) == null ? void 0 : f.$message : "";
|
4931
4924
|
}), u = S(!0);
|
@@ -4968,7 +4961,7 @@ const Sl = {
|
|
4968
4961
|
"aria-label": u.value ? "Show text" : "Hide text",
|
4969
4962
|
onClick: c
|
4970
4963
|
}, [
|
4971
|
-
|
4964
|
+
le(L(Wa), {
|
4972
4965
|
icon: u.value ? L(li) : L(ii)
|
4973
4966
|
}, null, 8, ["icon"])
|
4974
4967
|
], 8, Rl)
|
@@ -4993,11 +4986,11 @@ const Yl = ["for"], Fl = ["for"], Ul = {
|
|
4993
4986
|
},
|
4994
4987
|
setup(e) {
|
4995
4988
|
const { label: t, name: n } = e;
|
4996
|
-
if (!
|
4989
|
+
if (!et().label && !t)
|
4997
4990
|
throw new Error(
|
4998
4991
|
"All form inputs must have a label, passed as a slot or a prop"
|
4999
4992
|
);
|
5000
|
-
const { values: r, setValues: s, v$: o } =
|
4993
|
+
const { values: r, setValues: s, v$: o } = ie(Re), i = x(() => {
|
5001
4994
|
var l, c, d, m;
|
5002
4995
|
return (l = o.value[n]) != null && l.$error ? (m = (d = (c = o.value[n]) == null ? void 0 : c.$errors) == null ? void 0 : d[0]) == null ? void 0 : m.$message : "";
|
5003
4996
|
});
|
@@ -5060,11 +5053,11 @@ const Yl = ["for"], Fl = ["for"], Ul = {
|
|
5060
5053
|
},
|
5061
5054
|
setup(e) {
|
5062
5055
|
const { name: t, options: n, id: a, label: r } = e;
|
5063
|
-
if (!
|
5056
|
+
if (!et().label && !r)
|
5064
5057
|
throw new Error(
|
5065
5058
|
"All form inputs must have a label, passed as a slot or a prop"
|
5066
5059
|
);
|
5067
|
-
const { setValues: o, values: i, v$: u } =
|
5060
|
+
const { setValues: o, values: i, v$: u } = ie(Re), l = S(!1), c = S(null), d = S(-1), m = S(/* @__PURE__ */ new Map()), v = S(), f = x(() => new Map(
|
5068
5061
|
n.map(({ value: j }, I) => [I, `${t}-option-${j}`])
|
5069
5062
|
)), g = x(() => {
|
5070
5063
|
var j, I, Q, H;
|
@@ -5084,7 +5077,7 @@ const Yl = ["for"], Fl = ["for"], Ul = {
|
|
5084
5077
|
}
|
5085
5078
|
function C(j) {
|
5086
5079
|
const I = m.value.get(j);
|
5087
|
-
I &&
|
5080
|
+
I && We(() => {
|
5088
5081
|
I.focus();
|
5089
5082
|
});
|
5090
5083
|
}
|
@@ -5180,7 +5173,7 @@ const Yl = ["for"], Fl = ["for"], Ul = {
|
|
5180
5173
|
j.$slots.error && g.value ? (y(), w("div", Gl, [
|
5181
5174
|
Y(j.$slots, "error")
|
5182
5175
|
])) : g.value ? (y(), w("div", Hl, D(g.value), 1)) : k("", !0),
|
5183
|
-
|
5176
|
+
Ge((y(), w("div", J({
|
5184
5177
|
id: a,
|
5185
5178
|
ref_key: "selectRef",
|
5186
5179
|
ref: v,
|
@@ -5200,28 +5193,28 @@ const Yl = ["for"], Fl = ["for"], Ul = {
|
|
5200
5193
|
N("div", {
|
5201
5194
|
class: X(["arrow", { open: l.value }])
|
5202
5195
|
}, null, 2),
|
5203
|
-
|
5196
|
+
Ge(N("ul", {
|
5204
5197
|
ref: "listRef",
|
5205
5198
|
class: "pdap-custom-select-options",
|
5206
5199
|
role: "listbox",
|
5207
5200
|
tabindex: -1,
|
5208
5201
|
"aria-activedescendant": f.value.get(d.value) ?? ((Q = c.value) == null ? void 0 : Q.label)
|
5209
5202
|
}, [
|
5210
|
-
(y(), w($e, null,
|
5203
|
+
(y(), w($e, null, qe(n, (H, q) => {
|
5211
5204
|
var Te;
|
5212
5205
|
return N("li", {
|
5213
5206
|
id: f.value.get(q),
|
5214
5207
|
key: H.value + "_select-option",
|
5215
5208
|
ref_for: !0,
|
5216
|
-
ref: (
|
5209
|
+
ref: (re) => $(re, q),
|
5217
5210
|
class: X(["pdap-custom-select-option", { selected: d.value === q }]),
|
5218
5211
|
role: "option",
|
5219
5212
|
"aria-selected": H.value === ((Te = c.value) == null ? void 0 : Te.value),
|
5220
5213
|
tabindex: "0",
|
5221
|
-
onClick: Oe((
|
5222
|
-
onKeydown: ct(Oe((
|
5223
|
-
onFocus: (
|
5224
|
-
onMouseenter: (
|
5214
|
+
onClick: Oe((re) => M(H), ["stop"]),
|
5215
|
+
onKeydown: ct(Oe((re) => M(H), ["stop"]), ["enter"]),
|
5216
|
+
onFocus: (re) => d.value = q,
|
5217
|
+
onMouseenter: (re) => d.value = q,
|
5225
5218
|
onMouseleave: void 0,
|
5226
5219
|
onBlur: void 0
|
5227
5220
|
}, D(H.label), 43, Kl);
|
@@ -5252,11 +5245,11 @@ const Jl = ["for"], ql = ["for"], eu = {
|
|
5252
5245
|
},
|
5253
5246
|
setup(e) {
|
5254
5247
|
const { label: t, name: n } = e;
|
5255
|
-
if (!
|
5248
|
+
if (!et().label && !t)
|
5256
5249
|
throw new Error(
|
5257
5250
|
"All form inputs must have a label, passed as a slot or a prop"
|
5258
5251
|
);
|
5259
|
-
const { values: r, setValues: s, v$: o } =
|
5252
|
+
const { values: r, setValues: s, v$: o } = ie(Re), i = x(() => {
|
5260
5253
|
var c, d, m, v;
|
5261
5254
|
return (c = o.value[n]) != null && c.$error ? (v = (m = (d = o.value[n]) == null ? void 0 : d.$errors) == null ? void 0 : m[0]) == null ? void 0 : v.$message : "";
|
5262
5255
|
}), u = x(() => r.value[n] ?? "");
|
@@ -5302,13 +5295,13 @@ const Jl = ["for"], ql = ["for"], eu = {
|
|
5302
5295
|
}, cu = /* @__PURE__ */ E({
|
5303
5296
|
...uu,
|
5304
5297
|
setup(e) {
|
5305
|
-
let t =
|
5298
|
+
let t = ie("navLinks");
|
5306
5299
|
typeof t > "u" && (t = [], console.error(
|
5307
5300
|
`Hey, PDAP developer
|
5308
5301
|
`,
|
5309
5302
|
"Did you forget to inject some linkData for the Nav component?"
|
5310
5303
|
));
|
5311
|
-
const n =
|
5304
|
+
const n = Je({
|
5312
5305
|
isExpanded: !1,
|
5313
5306
|
isMobile: !0
|
5314
5307
|
});
|
@@ -5318,12 +5311,12 @@ const Jl = ["for"], ql = ["for"], eu = {
|
|
5318
5311
|
window.removeEventListener("resize", a);
|
5319
5312
|
});
|
5320
5313
|
async function a() {
|
5321
|
-
window.innerWidth <= 1024 ? n.isMobile = !0 : n.isMobile = !1, await
|
5314
|
+
window.innerWidth <= 1024 ? n.isMobile = !0 : n.isMobile = !1, await We();
|
5322
5315
|
}
|
5323
5316
|
async function r() {
|
5324
5317
|
var o, i;
|
5325
5318
|
const s = document.querySelector("body");
|
5326
|
-
!n.isExpanded && n.isMobile ? (n.isExpanded = !0, s != null && s.classList.contains("lock-scroll") || (o = document.querySelector("body")) == null || o.classList.add("lock-scroll")) : n.isExpanded && n.isMobile && (n.isExpanded = !1, (i = document.querySelector("body")) == null || i.classList.remove("lock-scroll")), await
|
5319
|
+
!n.isExpanded && n.isMobile ? (n.isExpanded = !0, s != null && s.classList.contains("lock-scroll") || (o = document.querySelector("body")) == null || o.classList.add("lock-scroll")) : n.isExpanded && n.isMobile && (n.isExpanded = !1, (i = document.querySelector("body")) == null || i.classList.remove("lock-scroll")), await We();
|
5327
5320
|
}
|
5328
5321
|
return (s, o) => (y(), w($e, null, [
|
5329
5322
|
N("div", {
|
@@ -5336,14 +5329,14 @@ const Jl = ["for"], ql = ["for"], eu = {
|
|
5336
5329
|
onClick: r,
|
5337
5330
|
onKeyup: ct(r, ["enter"])
|
5338
5331
|
}, ou, 40, ru),
|
5339
|
-
|
5340
|
-
default:
|
5341
|
-
|
5332
|
+
le(ut, null, {
|
5333
|
+
default: R(() => [
|
5334
|
+
Ge(N("nav", {
|
5342
5335
|
id: "nav",
|
5343
5336
|
"aria-hidden": !(n.isMobile && n.isExpanded),
|
5344
5337
|
class: "pdap-nav"
|
5345
5338
|
}, [
|
5346
|
-
(y(!0), w($e, null,
|
5339
|
+
(y(!0), w($e, null, qe(L(t), (i) => (y(), w("li", {
|
5347
5340
|
key: i.text,
|
5348
5341
|
class: "pdap-nav-link-container"
|
5349
5342
|
}, [
|
@@ -5363,8 +5356,8 @@ const Jl = ["for"], ql = ["for"], eu = {
|
|
5363
5356
|
to: i.path,
|
5364
5357
|
onClick: r
|
5365
5358
|
}, {
|
5366
|
-
default:
|
5367
|
-
|
5359
|
+
default: R(() => [
|
5360
|
+
P(D(i.text), 1)
|
5368
5361
|
]),
|
5369
5362
|
_: 2
|
5370
5363
|
}, 1032, ["to"])) : k("", !0)
|
@@ -5378,7 +5371,7 @@ const Jl = ["for"], ql = ["for"], eu = {
|
|
5378
5371
|
], 64));
|
5379
5372
|
}
|
5380
5373
|
});
|
5381
|
-
const fu = /* @__PURE__ */
|
5374
|
+
const fu = /* @__PURE__ */ tt(cu, [["__scopeId", "data-v-3158c5fc"]]), du = "data:image/svg+xml;base64,PD94bW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|
5383
5376
|
}, Qu = /* @__PURE__ */ E({
|
5384
5377
|
...hu,
|
@@ -5410,7 +5403,7 @@ const fu = /* @__PURE__ */ nt(cu, [["__scopeId", "data-v-3158c5fc"]]), du = "dat
|
|
5410
5403
|
to: s.logoImageAnchorPath,
|
5411
5404
|
class: "logo"
|
5412
5405
|
}, {
|
5413
|
-
default:
|
5406
|
+
default: R(() => [
|
5414
5407
|
N("img", {
|
5415
5408
|
src: s.logoImageSrc,
|
5416
5409
|
loading: "lazy",
|
@@ -5431,14 +5424,14 @@ const fu = /* @__PURE__ */ nt(cu, [["__scopeId", "data-v-3158c5fc"]]), du = "dat
|
|
5431
5424
|
alt: "Police Data Accessibility Project Logo"
|
5432
5425
|
}, null, 8, mu)
|
5433
5426
|
], 8, pu)),
|
5434
|
-
|
5427
|
+
le(fu)
|
5435
5428
|
], 512));
|
5436
5429
|
}
|
5437
5430
|
});
|
5438
5431
|
const yu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
|
5439
5432
|
/* @__PURE__ */ N("h2", { class: "mt-0" }, "Search our database"),
|
5440
5433
|
/* @__PURE__ */ N("p", { class: "pb-4 md:pb-8" }, [
|
5441
|
-
/* @__PURE__ */
|
5434
|
+
/* @__PURE__ */ P(" If you are looking for something specific, we may already be tracking it. "),
|
5442
5435
|
/* @__PURE__ */ N("a", { href: "https://pdap.io/data" }, "Learn more about the data here.")
|
5443
5436
|
])
|
5444
5437
|
], -1), vu = { class: "pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0" }, Lu = { class: "max-w-[unset] text-med" }, Mu = ["href"], bu = ["href"], wu = {
|
@@ -5454,7 +5447,7 @@ const yu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
|
|
5454
5447
|
id: "search-term",
|
5455
5448
|
name: "searchTerm",
|
5456
5449
|
label: "What are you looking for?",
|
5457
|
-
type:
|
5450
|
+
type: oe.TEXT,
|
5458
5451
|
placeholder: "Enter a keyword, or 'all'",
|
5459
5452
|
value: ""
|
5460
5453
|
},
|
@@ -5462,7 +5455,7 @@ const yu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
|
|
5462
5455
|
id: "location",
|
5463
5456
|
name: "location",
|
5464
5457
|
label: "From where?",
|
5465
|
-
type:
|
5458
|
+
type: oe.TEXT,
|
5466
5459
|
placeholder: "Enter a place, or 'all'",
|
5467
5460
|
value: ""
|
5468
5461
|
}
|
@@ -5483,7 +5476,7 @@ const yu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
|
|
5483
5476
|
return (u, l) => (y(), w($e, null, [
|
5484
5477
|
yu,
|
5485
5478
|
N("div", vu, [
|
5486
|
-
|
5479
|
+
le(xl, {
|
5487
5480
|
id: "quick-search-form",
|
5488
5481
|
class: "flex flex-wrap gap-x-4",
|
5489
5482
|
error: r.value,
|
@@ -5492,13 +5485,13 @@ const yu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
|
|
5492
5485
|
onChange: o,
|
5493
5486
|
onSubmit: i
|
5494
5487
|
}, {
|
5495
|
-
default:
|
5496
|
-
|
5488
|
+
default: R(() => [
|
5489
|
+
le(oa, {
|
5497
5490
|
type: "submit",
|
5498
5491
|
class: "flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"
|
5499
5492
|
}, {
|
5500
|
-
default:
|
5501
|
-
|
5493
|
+
default: R(() => [
|
5494
|
+
P("Search Data Sources")
|
5502
5495
|
]),
|
5503
5496
|
_: 1
|
5504
5497
|
})
|
@@ -5506,13 +5499,13 @@ const yu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
|
|
5506
5499
|
_: 1
|
5507
5500
|
}, 8, ["error"]),
|
5508
5501
|
N("p", Lu, [
|
5509
|
-
|
5502
|
+
P(" For example, you could search for "),
|
5510
5503
|
L(s) ? (y(), F(L(ft), {
|
5511
5504
|
key: 0,
|
5512
5505
|
to: "/search/stops/pittsburgh"
|
5513
5506
|
}, {
|
5514
|
-
default:
|
5515
|
-
|
5507
|
+
default: R(() => [
|
5508
|
+
P(" stops in Pittsburgh ")
|
5516
5509
|
]),
|
5517
5510
|
_: 1
|
5518
5511
|
})) : (y(), w("a", {
|
@@ -5521,13 +5514,13 @@ const yu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
|
|
5521
5514
|
rel: "noreferrer",
|
5522
5515
|
href: `${n.baseUrlForRedirect}/search/stops/pittsburgh`
|
5523
5516
|
}, " stops in Pittsburgh ", 8, Mu)),
|
5524
|
-
|
5517
|
+
P(" or "),
|
5525
5518
|
L(s) ? (y(), F(L(ft), {
|
5526
5519
|
key: 2,
|
5527
5520
|
to: "/search/complaints/all"
|
5528
5521
|
}, {
|
5529
|
-
default:
|
5530
|
-
|
5522
|
+
default: R(() => [
|
5523
|
+
P(" complaints everywhere ")
|
5531
5524
|
]),
|
5532
5525
|
_: 1
|
5533
5526
|
})) : (y(), w("a", {
|
@@ -5536,7 +5529,7 @@ const yu = /* @__PURE__ */ N("div", { class: "pdap-flex-container" }, [
|
|
5536
5529
|
rel: "noreferrer",
|
5537
5530
|
href: `${n.baseUrlForRedirect}/search/complaints/all`
|
5538
5531
|
}, " complaints everywhere ", 8, bu)),
|
5539
|
-
|
5532
|
+
P(" . ")
|
5540
5533
|
])
|
5541
5534
|
])
|
5542
5535
|
], 64));
|
@@ -5558,7 +5551,7 @@ const ju = ["alt", "src"], xu = {
|
|
5558
5551
|
}, null, 8, ju));
|
5559
5552
|
}
|
5560
5553
|
});
|
5561
|
-
var
|
5554
|
+
var lt = /* @__PURE__ */ ((e) => (e.PRESS = "press", e.HOVER = "hover", e))(lt || {});
|
5562
5555
|
const Nu = ["onKeydown"], $u = ["id", "aria-hidden"], Cu = {
|
5563
5556
|
name: "PdapButton"
|
5564
5557
|
}, Wu = /* @__PURE__ */ E({
|
@@ -5567,15 +5560,15 @@ const Nu = ["onKeydown"], $u = ["id", "aria-hidden"], Cu = {
|
|
5567
5560
|
defaultOpen: { type: Boolean, default: !1 },
|
5568
5561
|
disabled: { type: Boolean, default: !1 },
|
5569
5562
|
dropdownId: {},
|
5570
|
-
triggerOn: { default:
|
5563
|
+
triggerOn: { default: lt.PRESS }
|
5571
5564
|
},
|
5572
5565
|
emits: ["update:open", "press"],
|
5573
5566
|
setup(e, { emit: t }) {
|
5574
5567
|
const n = e, a = t, r = S(null), s = S(null), o = S(n.defaultOpen), i = x(
|
5575
|
-
() => n.triggerOn ===
|
5568
|
+
() => n.triggerOn === lt.HOVER
|
5576
5569
|
);
|
5577
5570
|
function u(f) {
|
5578
|
-
a("press", f), n.triggerOn ===
|
5571
|
+
a("press", f), n.triggerOn === lt.PRESS && l();
|
5579
5572
|
}
|
5580
5573
|
const l = () => {
|
5581
5574
|
n.disabled || (o.value = !o.value, a("update:open", o.value));
|
@@ -5608,14 +5601,14 @@ const Nu = ["onKeydown"], $u = ["id", "aria-hidden"], Cu = {
|
|
5608
5601
|
};
|
5609
5602
|
return sa(() => {
|
5610
5603
|
m();
|
5611
|
-
}), (f, g) =>
|
5604
|
+
}), (f, g) => Ge((y(), w("div", J({
|
5612
5605
|
ref_key: "dropdownRef",
|
5613
5606
|
ref: s,
|
5614
5607
|
class: "pdap-dropdown",
|
5615
5608
|
role: "presentation",
|
5616
5609
|
onKeydown: ct(d, ["escape"])
|
5617
5610
|
}, cr(v, !0)), [
|
5618
|
-
|
5611
|
+
le(L(oa), {
|
5619
5612
|
"aria-controls": f.dropdownId,
|
5620
5613
|
"aria-expanded": o.value,
|
5621
5614
|
disabled: f.disabled,
|
@@ -5630,17 +5623,17 @@ const Nu = ["onKeydown"], $u = ["id", "aria-hidden"], Cu = {
|
|
5630
5623
|
onClick: Oe(u, ["prevent", "stop"]),
|
5631
5624
|
onKeydown: ct(Oe(u, ["prevent", "stop"]), ["enter", "space"])
|
5632
5625
|
}, {
|
5633
|
-
default:
|
5626
|
+
default: R(() => [
|
5634
5627
|
Y(f.$slots, "trigger")
|
5635
5628
|
]),
|
5636
5629
|
_: 3
|
5637
5630
|
}, 8, ["aria-controls", "aria-expanded", "disabled", "class", "onClick", "onKeydown"]),
|
5638
|
-
|
5631
|
+
le(ut, {
|
5639
5632
|
name: "dropdown",
|
5640
5633
|
appear: ""
|
5641
5634
|
}, {
|
5642
|
-
default:
|
5643
|
-
|
5635
|
+
default: R(() => [
|
5636
|
+
Ge(N("div", {
|
5644
5637
|
id: f.dropdownId,
|
5645
5638
|
ref_key: "contentRef",
|
5646
5639
|
ref: r,
|
@@ -5682,12 +5675,12 @@ const Iu = { "aria-label": "Breadcrumb" }, Tu = { key: 1 }, _u = {
|
|
5682
5675
|
return (a, r) => {
|
5683
5676
|
const s = na("router-link");
|
5684
5677
|
return y(), w("nav", Iu, [
|
5685
|
-
|
5678
|
+
le(fr, {
|
5686
5679
|
class: "pdap-breadcrumbs",
|
5687
5680
|
tag: "ul"
|
5688
5681
|
}, {
|
5689
|
-
default:
|
5690
|
-
(y(!0), w($e, null,
|
5682
|
+
default: R(() => [
|
5683
|
+
(y(!0), w($e, null, qe(n.value, (o) => (y(), w("li", {
|
5691
5684
|
key: o.text,
|
5692
5685
|
class: X({ "is-active": o.active })
|
5693
5686
|
}, [
|
@@ -5695,8 +5688,8 @@ const Iu = { "aria-label": "Breadcrumb" }, Tu = { key: 1 }, _u = {
|
|
5695
5688
|
key: 0,
|
5696
5689
|
to: o.path
|
5697
5690
|
}, {
|
5698
|
-
default:
|
5699
|
-
|
5691
|
+
default: R(() => [
|
5692
|
+
P(D(o.text), 1)
|
5700
5693
|
]),
|
5701
5694
|
_: 2
|
5702
5695
|
}, 1032, ["to"]))
|
@@ -5708,7 +5701,7 @@ const Iu = { "aria-label": "Breadcrumb" }, Tu = { key: 1 }, _u = {
|
|
5708
5701
|
};
|
5709
5702
|
}
|
5710
5703
|
});
|
5711
|
-
const Gu = /* @__PURE__ */
|
5704
|
+
const Gu = /* @__PURE__ */ tt(Du, [["__scopeId", "data-v-e8d76c0f"]]);
|
5712
5705
|
const Hu = {
|
5713
5706
|
content: ["./src/**/*.vue", "./src/**/*.css"],
|
5714
5707
|
theme: {
|
@@ -5892,7 +5885,7 @@ export {
|
|
5892
5885
|
Yu as InputText,
|
5893
5886
|
Uu as InputTextArea,
|
5894
5887
|
fu as Nav,
|
5895
|
-
|
5888
|
+
lt as PdapDropdownTriggerType,
|
5896
5889
|
Vu as QuickSearchForm,
|
5897
5890
|
ui as RecordTypeIcon,
|
5898
5891
|
br as Spinner,
|