pdap-design-system 3.0.0-beta.1 → 3.0.0-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Form/PdapForm.vue.d.ts +3 -0
- package/dist/components/Form/types.d.ts +1 -0
- package/dist/components/Input/Checkbox/InputCheckbox.vue.d.ts +2 -2
- package/dist/components/Input/Text/InputText.vue.d.ts +0 -2
- package/dist/demo/pages/SignupFormDemo.vue.d.ts +2 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +146 -146
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { RouterLink as oe, useRouter as
|
1
|
+
import { defineComponent as C, reactive as q, openBlock as j, createElementBlock as h, normalizeClass as le, renderSlot as H, ref as N, onErrorCaptured as it, createBlock as E, resolveDynamicComponent as lt, withCtx as D, createElementVNode as f, createTextVNode as T, inject as ne, resolveComponent as Ve, Fragment as B, renderList as ce, unref as L, toDisplayString as O, createCommentVNode as k, getCurrentInstance as ct, onBeforeMount as Be, watch as J, isRef as ye, onBeforeUnmount as he, computed as v, isReactive as dt, isReadonly as Lt, provide as xe, nextTick as ae, mergeProps as F, normalizeProps as Mt, watchEffect as Ie, withModifiers as me, withKeys as je, createVNode as P, Transition as se, withDirectives as fe, vShow as Fe, pushScopeId as gt, popScopeId as pt, onMounted as We, toHandlers as yt, TransitionGroup as mt } from "vue";
|
2
|
+
import { RouterLink as oe, useRouter as jt, useRoute as ft } from "vue-router";
|
3
3
|
const wt = {
|
4
4
|
name: "PdapButton"
|
5
|
-
}, Ge = /* @__PURE__ */
|
5
|
+
}, Ge = /* @__PURE__ */ C({
|
6
6
|
...wt,
|
7
7
|
props: {
|
8
8
|
intent: { default: "primary" },
|
@@ -25,12 +25,12 @@ const ht = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), vt
|
|
25
25
|
class: "max-w-full",
|
26
26
|
"data-test": "error-boundary-message"
|
27
27
|
}, [
|
28
|
-
/* @__PURE__ */
|
28
|
+
/* @__PURE__ */ T(" If you keep seeing this message, please email "),
|
29
29
|
/* @__PURE__ */ f("a", { href: "mailto:contact@pdap.io" }, "contact@pdap.io"),
|
30
|
-
/* @__PURE__ */
|
30
|
+
/* @__PURE__ */ T(" for assistance. ")
|
31
31
|
], -1), $t = {
|
32
32
|
name: "ErrorBoundary"
|
33
|
-
}, na = /* @__PURE__ */
|
33
|
+
}, na = /* @__PURE__ */ C({
|
34
34
|
...$t,
|
35
35
|
props: {
|
36
36
|
component: { default: "div" },
|
@@ -58,20 +58,20 @@ const ht = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), vt
|
|
58
58
|
_: 1
|
59
59
|
}, 8, ["v-bind"])) : H(u.$slots, "default", { key: 0 });
|
60
60
|
}
|
61
|
-
}), Nt = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMTMuOCA4Ni4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTMuOCA4Ni4xOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGQ9Ik0wLDgwLjlMMjEuNSwyLjZoNS4xTDUuMSw4MC45SDB6Ii8+Cjxwb2x5Z29uIHBvaW50cz0iNzguOCwyMC40IDYxLjgsMjAuNCA3NSw3LjIgNzEuMSw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Q3LjMsNzEuMSw0Mi4xLDcxLjF6IE00Mi4xLDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzQ0LjMsNjEuNSw0Mi4xLDYxLjV6Ii8+CjxwYXRoIGQ9Ik02MC41LDgwLjFoLTYuOVY1Ny4zaDYuOWM2LjUsMCwxMS45LDQsMTEuOSwxMS40QzcyLjQsNzYuMiw2Ni42LDgwLjEsNjAuNSw4MC4xeiBNNjAuNSw2MS41aC0xLjl2MTQuNGgxLjkKCWM0LjMsMCw2LjctMy40LDYuNy03LjJTNjQuNSw2MS41LDYwLjUsNjEuNXoiLz4KPHBhdGggZD0iTTg4LjcsODAuMUw4Nyw3NC40aC03bC0xLjgsNS44aC01LjNsOC4yLTIyLjloNC44bDguMywyMi45aC01LjVWODAuMXogTTg0LDY0LjZjLTAuMi0wLjctMC41LTEuNi0wLjUtMS44CgljMCwwLjEtMC4yLDEtMC41LDEuOGwtMS43LDUuNmg0LjRMODQsNjQuNnoiLz4KPHBhdGggZD0iTTEwNC43LDcxLjFoLTIuNnY5LjFoLTVWNTcuM2g3LjZjNS4xLDAsOC40LDIuNCw4LjQsNi43UzEwOS44LDcxLjEsMTA0LjcsNzEuMXogTTEwNC43LDYxLjVoLTIuNnY1LjNoMi42CgljMi4zLDAsMy4zLTAuOSwzLjMtMi43UzEwNi45LDYxLjUsMTA0LjcsNjEuNXoiLz4KPC9zdmc+Cg==", Dt = { class: "pdap-footer" }, Tt = { class: "pdap-flex-container-center" }, Ct = { class: "pdap-footer-social-links" }, xt = ["href"], It = { class: "pdap-footer-copyright" }, St = /* @__PURE__ */ f("br", null, null, -1), Et = /* @__PURE__ */ f("p", { class: "pdap-footer-copyright" }, [
|
62
|
+
/* @__PURE__ */ T(" PDAP is a non-profit. EIN: 85-4207132. "),
|
63
63
|
/* @__PURE__ */ f("a", {
|
64
64
|
href: "https://docs.pdap.io/meta/policy/pdap-privacy-policy",
|
65
65
|
alt: "Privacy Policy",
|
66
66
|
target: "_blank"
|
67
67
|
}, [
|
68
68
|
/* @__PURE__ */ f("br"),
|
69
|
-
/* @__PURE__ */
|
69
|
+
/* @__PURE__ */ T(" Privacy Policy "),
|
70
70
|
/* @__PURE__ */ f("i", { class: "fa fa-external-link" })
|
71
71
|
]),
|
72
72
|
/* @__PURE__ */ f("br"),
|
73
73
|
/* @__PURE__ */ f("a", { href: "mailto:contact@pdap.io" }, "contact@pdap.io")
|
74
|
-
], -1),
|
74
|
+
], -1), Ot = { class: "pdap-footer-widget-links" }, zt = /* @__PURE__ */ f("a", {
|
75
75
|
href: "https://www.guidestar.org/profile/85-4207132",
|
76
76
|
target: "_blank"
|
77
77
|
}, [
|
@@ -81,7 +81,7 @@ const ht = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), vt
|
|
81
81
|
})
|
82
82
|
], -1), _t = ["href"], bt = ["src"], At = ["src"], kt = {
|
83
83
|
name: "PdapFooter"
|
84
|
-
}, aa = /* @__PURE__ */
|
84
|
+
}, aa = /* @__PURE__ */ C({
|
85
85
|
...kt,
|
86
86
|
props: {
|
87
87
|
logoImageSrc: { default: Nt },
|
@@ -109,8 +109,8 @@ const ht = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), vt
|
|
109
109
|
return (a, s) => {
|
110
110
|
const i = Ve("router-link");
|
111
111
|
return j(), h("footer", Dt, [
|
112
|
-
f("div",
|
113
|
-
f("ul",
|
112
|
+
f("div", Tt, [
|
113
|
+
f("ul", Ct, [
|
114
114
|
(j(!0), h(B, null, ce(L(r), (u) => (j(), h("li", {
|
115
115
|
key: u.text,
|
116
116
|
class: "pdap-footer-link-container"
|
@@ -121,7 +121,7 @@ const ht = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), vt
|
|
121
121
|
href: u.href,
|
122
122
|
target: "_blank",
|
123
123
|
referrerpolicy: "no-referrer"
|
124
|
-
},
|
124
|
+
}, O(u.text), 9, xt)) : k("", !0),
|
125
125
|
u.path ? (j(), E(i, {
|
126
126
|
key: 1,
|
127
127
|
"active-class": "pdap-footer-social-link-current",
|
@@ -130,19 +130,19 @@ const ht = /* @__PURE__ */ f("h1", null, "Oops, something went wrong!", -1), vt
|
|
130
130
|
to: u.path
|
131
131
|
}, {
|
132
132
|
default: D(() => [
|
133
|
-
|
133
|
+
T(O(u.text), 1)
|
134
134
|
]),
|
135
135
|
_: 2
|
136
136
|
}, 1032, ["to"])) : k("", !0)
|
137
137
|
]))), 128))
|
138
138
|
]),
|
139
139
|
f("p", It, [
|
140
|
-
|
140
|
+
T(" © " + O((/* @__PURE__ */ new Date()).getFullYear()) + " Police Data Accessibility Project", 1),
|
141
141
|
St
|
142
142
|
]),
|
143
143
|
Et,
|
144
|
-
f("div",
|
145
|
-
|
144
|
+
f("div", Ot, [
|
145
|
+
zt,
|
146
146
|
L(n) ? (j(), E(i, {
|
147
147
|
key: 1,
|
148
148
|
to: a.logoImageAnchorPath,
|
@@ -229,7 +229,7 @@ function pe(e, t, r) {
|
|
229
229
|
[r]: !1
|
230
230
|
})[r]));
|
231
231
|
}
|
232
|
-
function
|
232
|
+
function Oe(e, t, r) {
|
233
233
|
return v(() => e.reduce((n, a) => {
|
234
234
|
const s = Ze(t, a, {
|
235
235
|
[r]: !1
|
@@ -356,7 +356,7 @@ function Vt() {
|
|
356
356
|
};
|
357
357
|
}
|
358
358
|
const Bt = "__root";
|
359
|
-
function
|
359
|
+
function Ft(e, t, r, n, a, s, i, u, c) {
|
360
360
|
const l = Object.keys(e), M = n.get(a, e), y = N(!1), m = N(!1), p = N(0);
|
361
361
|
if (M) {
|
362
362
|
if (!M.$partial)
|
@@ -407,7 +407,7 @@ function Wt(e, t, r, n, a, s, i, u, c) {
|
|
407
407
|
m.value = !0, p.value = Date.now();
|
408
408
|
}, n.set(a, e, o), o) : (M && n.set(a, e, o), o);
|
409
409
|
}
|
410
|
-
function
|
410
|
+
function Wt(e, t, r, n, a, s, i) {
|
411
411
|
const u = Object.keys(e);
|
412
412
|
return u.length ? u.reduce((c, l) => (c[l] = we({
|
413
413
|
validations: e[l],
|
@@ -483,15 +483,15 @@ function we(e) {
|
|
483
483
|
}) : r, w = A({}, L(l) || {}), I = v(() => {
|
484
484
|
const $ = L(l);
|
485
485
|
return n ? $ ? L($[n]) : void 0 : $;
|
486
|
-
}), Z =
|
486
|
+
}), Z = Ft(y, g, n, i, M, d, c, I, r), S = Wt(m, g, M, i, d, c, I), R = {};
|
487
487
|
o && Object.entries(o).forEach(($) => {
|
488
488
|
let [U, b] = $;
|
489
489
|
R[U] = {
|
490
490
|
$invalid: pe(b, S, "$invalid"),
|
491
491
|
$error: pe(b, S, "$error"),
|
492
492
|
$pending: pe(b, S, "$pending"),
|
493
|
-
$errors:
|
494
|
-
$silentErrors:
|
493
|
+
$errors: Oe(b, S, "$errors"),
|
494
|
+
$silentErrors: Oe(b, S, "$silentErrors")
|
495
495
|
};
|
496
496
|
});
|
497
497
|
const {
|
@@ -504,7 +504,7 @@ function we(e) {
|
|
504
504
|
$touch: ge,
|
505
505
|
$reset: rt,
|
506
506
|
$silentErrors: nt,
|
507
|
-
$commit:
|
507
|
+
$commit: Ce
|
508
508
|
} = Gt(Z, S, s), at = n ? v({
|
509
509
|
get: () => L(g),
|
510
510
|
set: ($) => {
|
@@ -521,7 +521,7 @@ function we(e) {
|
|
521
521
|
flush: "sync"
|
522
522
|
});
|
523
523
|
async function st() {
|
524
|
-
return ge(), d.$rewardEarly && (
|
524
|
+
return ge(), d.$rewardEarly && (Ce(), await ae()), await ae(), new Promise(($) => {
|
525
525
|
if (!Me.value)
|
526
526
|
return $(!Le.value);
|
527
527
|
const U = J(Me, () => {
|
@@ -550,7 +550,7 @@ function we(e) {
|
|
550
550
|
$path: M || Bt,
|
551
551
|
$silentErrors: nt,
|
552
552
|
$validate: st,
|
553
|
-
$commit:
|
553
|
+
$commit: Ce
|
554
554
|
}, s && {
|
555
555
|
$getResultsForChild: ot,
|
556
556
|
$clearExternalResults: ut,
|
@@ -589,7 +589,7 @@ class Zt {
|
|
589
589
|
const te = {
|
590
590
|
COLLECT_ALL: !0,
|
591
591
|
COLLECT_NONE: !1
|
592
|
-
},
|
592
|
+
}, ze = Symbol("vuelidate#injectChildResults"), _e = Symbol("vuelidate#removeChildResults");
|
593
593
|
function Ht(e) {
|
594
594
|
let {
|
595
595
|
$scope: t,
|
@@ -609,8 +609,8 @@ function Ht(e) {
|
|
609
609
|
a.value = a.value.filter((y) => y !== M), delete n[M];
|
610
610
|
}
|
611
611
|
r.__vuelidateRemoveInstances = [].concat(r.__vuelidateRemoveInstances || [], u);
|
612
|
-
const c = ne(
|
613
|
-
xe(
|
612
|
+
const c = ne(ze, []);
|
613
|
+
xe(ze, r.__vuelidateInjectInstances);
|
614
614
|
const l = ne(_e, []);
|
615
615
|
return xe(_e, r.__vuelidateRemoveInstances), {
|
616
616
|
childResults: s,
|
@@ -688,8 +688,8 @@ function Jt(e, t) {
|
|
688
688
|
$stopPropagation: i
|
689
689
|
})), he(() => d.forEach((g) => g(a)))), v(() => A(A({}, L(y.value)), p.value));
|
690
690
|
}
|
691
|
-
var
|
692
|
-
const Xt = ["id", "type", "name", "placeholder", "value"], Kt = /* @__PURE__ */
|
691
|
+
var z = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.TEXT = "text", e.PASSWORD = "password", e))(z || {});
|
692
|
+
const Xt = ["id", "type", "name", "placeholder", "value"], Kt = /* @__PURE__ */ C({
|
693
693
|
__name: "InputText",
|
694
694
|
props: {
|
695
695
|
type: {},
|
@@ -700,25 +700,20 @@ const Xt = ["id", "type", "name", "placeholder", "value"], Kt = /* @__PURE__ */
|
|
700
700
|
placeholder: {},
|
701
701
|
value: {}
|
702
702
|
},
|
703
|
-
emits: ["
|
703
|
+
emits: ["input"],
|
704
704
|
setup(e, { emit: t }) {
|
705
|
-
const r = t, n = (
|
706
|
-
r("
|
707
|
-
}, a = (s) => {
|
708
|
-
r("input", s);
|
705
|
+
const r = t, n = (a) => {
|
706
|
+
r("input", a);
|
709
707
|
};
|
710
|
-
return (
|
711
|
-
id:
|
712
|
-
type:
|
713
|
-
name:
|
714
|
-
placeholder:
|
715
|
-
value:
|
716
|
-
},
|
717
|
-
onChange: n,
|
718
|
-
onInput: a
|
719
|
-
}), null, 16, Xt));
|
708
|
+
return (a, s) => (j(), h("input", F({
|
709
|
+
id: a.id,
|
710
|
+
type: a.type,
|
711
|
+
name: a.name,
|
712
|
+
placeholder: a.placeholder,
|
713
|
+
value: a.value
|
714
|
+
}, a.$attrs, { onInput: n }), null, 16, Xt));
|
720
715
|
}
|
721
|
-
}), qt = ["id", "name", "checked", "value"], er = /* @__PURE__ */
|
716
|
+
}), qt = ["id", "name", "checked", "value"], er = /* @__PURE__ */ C({
|
722
717
|
__name: "InputCheckbox",
|
723
718
|
props: {
|
724
719
|
defaultChecked: { type: Boolean },
|
@@ -730,21 +725,21 @@ const Xt = ["id", "type", "name", "placeholder", "value"], Kt = /* @__PURE__ */
|
|
730
725
|
placeholder: {},
|
731
726
|
value: {}
|
732
727
|
},
|
733
|
-
emits: ["
|
728
|
+
emits: ["input"],
|
734
729
|
setup(e, { emit: t }) {
|
735
730
|
const r = t, n = (a) => {
|
736
|
-
r("
|
731
|
+
r("input", a);
|
737
732
|
};
|
738
|
-
return (a, s) => (j(), h("input",
|
733
|
+
return (a, s) => (j(), h("input", F({
|
739
734
|
id: a.id,
|
740
735
|
name: a.name,
|
741
736
|
checked: a.value === "true",
|
742
737
|
value: a.value,
|
743
738
|
class: "pdap-input-checkbox",
|
744
739
|
type: "checkbox"
|
745
|
-
}, a.$attrs, {
|
740
|
+
}, a.$attrs, { onInput: n }), null, 16, qt));
|
746
741
|
}
|
747
|
-
}), tr = ["id"], rr = ["for"], nr = /* @__PURE__ */
|
742
|
+
}), tr = ["id"], rr = ["for"], nr = /* @__PURE__ */ C({
|
748
743
|
__name: "PdapInput",
|
749
744
|
props: {
|
750
745
|
type: {},
|
@@ -764,23 +759,23 @@ const Xt = ["id", "type", "name", "placeholder", "value"], Kt = /* @__PURE__ */
|
|
764
759
|
class: le({
|
765
760
|
"pdap-input": !0,
|
766
761
|
[`pdap-input-${n.type}`]: !0,
|
767
|
-
[`pdap-input-${n.type}-checked`]: n.type === L(
|
762
|
+
[`pdap-input-${n.type}-checked`]: n.type === L(z).CHECKBOX && n.value === "true",
|
768
763
|
"pdap-input-error": Number((s = n.error) == null ? void 0 : s.length) >= 1
|
769
764
|
})
|
770
765
|
}, [
|
771
|
-
n.type === L(
|
766
|
+
n.type === L(z).CHECKBOX ? (j(), E(er, F({
|
772
767
|
key: 0,
|
773
768
|
class: "pdap-input-checkbox"
|
774
|
-
}, { ...n.$attrs, ...t }), null, 16)) : (j(), E(Kt, Mt(
|
769
|
+
}, { ...n.$attrs, ...t }), null, 16)) : (j(), E(Kt, Mt(F({ key: 1 }, { ...n.$attrs, ...n.$props })), null, 16)),
|
775
770
|
n.error ? (j(), h("div", {
|
776
771
|
key: 2,
|
777
772
|
id: r.value,
|
778
773
|
class: "pdap-input-error-message"
|
779
|
-
},
|
774
|
+
}, O(n.error), 9, tr)) : k("", !0),
|
780
775
|
f("label", {
|
781
776
|
class: "pdap-input-label",
|
782
777
|
for: n.id
|
783
|
-
},
|
778
|
+
}, O(n.label), 9, rr)
|
784
779
|
], 2);
|
785
780
|
};
|
786
781
|
}
|
@@ -795,7 +790,7 @@ function Ae(e, t) {
|
|
795
790
|
}
|
796
791
|
return r;
|
797
792
|
}
|
798
|
-
function
|
793
|
+
function W(e) {
|
799
794
|
for (var t = 1; t < arguments.length; t++) {
|
800
795
|
var r = arguments[t] != null ? arguments[t] : {};
|
801
796
|
t % 2 ? Ae(Object(r), !0).forEach(function(n) {
|
@@ -821,7 +816,7 @@ function ie(e) {
|
|
821
816
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
822
817
|
}
|
823
818
|
function de(e) {
|
824
|
-
return X(e.$validator) ?
|
819
|
+
return X(e.$validator) ? W({}, e) : {
|
825
820
|
$validator: e
|
826
821
|
};
|
827
822
|
}
|
@@ -840,7 +835,7 @@ function ve(e, t) {
|
|
840
835
|
if (!ie(t) && !X(t))
|
841
836
|
throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");
|
842
837
|
const r = de(t);
|
843
|
-
return r.$params =
|
838
|
+
return r.$params = W(W({}, r.$params || {}), e), r;
|
844
839
|
}
|
845
840
|
function K(e, t) {
|
846
841
|
if (!X(e) && typeof L(e) != "string")
|
@@ -853,7 +848,7 @@ function K(e, t) {
|
|
853
848
|
function or(e) {
|
854
849
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
855
850
|
const r = de(e);
|
856
|
-
return
|
851
|
+
return W(W({}, r), {}, {
|
857
852
|
$async: !0,
|
858
853
|
$watchTargets: t
|
859
854
|
});
|
@@ -1000,14 +995,14 @@ function pr(e, t) {
|
|
1000
995
|
};
|
1001
996
|
}
|
1002
997
|
const yr = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
|
1003
|
-
var
|
1004
|
-
$validator:
|
998
|
+
var mr = Q(yr), Ne = {
|
999
|
+
$validator: mr,
|
1005
1000
|
$message: "Value is not a valid email address",
|
1006
1001
|
$params: {
|
1007
1002
|
type: "email"
|
1008
1003
|
}
|
1009
1004
|
};
|
1010
|
-
function
|
1005
|
+
function jr(e) {
|
1011
1006
|
if (!x(e))
|
1012
1007
|
return !0;
|
1013
1008
|
if (typeof e != "string")
|
@@ -1022,7 +1017,7 @@ const fr = (e) => {
|
|
1022
1017
|
return t >= 0 && t <= 255;
|
1023
1018
|
};
|
1024
1019
|
var wr = {
|
1025
|
-
$validator:
|
1020
|
+
$validator: jr,
|
1026
1021
|
$message: "The value is not a valid IP address",
|
1027
1022
|
$params: {
|
1028
1023
|
type: "ipAddress"
|
@@ -1067,12 +1062,12 @@ function Dr(e) {
|
|
1067
1062
|
}
|
1068
1063
|
};
|
1069
1064
|
}
|
1070
|
-
function
|
1065
|
+
function Tr(e) {
|
1071
1066
|
return (t) => !x(t) || $e(t) >= L(e);
|
1072
1067
|
}
|
1073
|
-
function
|
1068
|
+
function Cr(e) {
|
1074
1069
|
return {
|
1075
|
-
$validator:
|
1070
|
+
$validator: Tr(e),
|
1076
1071
|
$message: (t) => {
|
1077
1072
|
let {
|
1078
1073
|
$params: r
|
@@ -1123,7 +1118,7 @@ function Er(e) {
|
|
1123
1118
|
return Pe(n, t);
|
1124
1119
|
};
|
1125
1120
|
}
|
1126
|
-
function
|
1121
|
+
function Or(e) {
|
1127
1122
|
return {
|
1128
1123
|
$validator: Er(e),
|
1129
1124
|
$message: "The value is required",
|
@@ -1133,13 +1128,13 @@ function zr(e) {
|
|
1133
1128
|
}
|
1134
1129
|
};
|
1135
1130
|
}
|
1136
|
-
function
|
1131
|
+
function zr(e) {
|
1137
1132
|
return (t) => L(t) === L(e);
|
1138
1133
|
}
|
1139
1134
|
function _r(e) {
|
1140
1135
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "other";
|
1141
1136
|
return {
|
1142
|
-
$validator:
|
1137
|
+
$validator: zr(e),
|
1143
1138
|
$message: (r) => `The value must be equal to the ${t} value`,
|
1144
1139
|
$params: {
|
1145
1140
|
equalTo: e,
|
@@ -1217,12 +1212,12 @@ function Br() {
|
|
1217
1212
|
$watchTargets: a
|
1218
1213
|
};
|
1219
1214
|
}
|
1220
|
-
function
|
1215
|
+
function Fr() {
|
1221
1216
|
return ve({
|
1222
1217
|
type: "and"
|
1223
1218
|
}, K("The value does not match all of the provided validators", Br(...arguments)));
|
1224
1219
|
}
|
1225
|
-
function
|
1220
|
+
function Wr(e) {
|
1226
1221
|
return function(t, r) {
|
1227
1222
|
if (!x(t))
|
1228
1223
|
return !0;
|
@@ -1232,7 +1227,7 @@ function Fr(e) {
|
|
1232
1227
|
}
|
1233
1228
|
function Gr(e) {
|
1234
1229
|
return {
|
1235
|
-
$validator:
|
1230
|
+
$validator: Wr(e),
|
1236
1231
|
$message: "The value does not match the provided validator",
|
1237
1232
|
$params: {
|
1238
1233
|
type: "not"
|
@@ -1303,7 +1298,7 @@ function rn(e) {
|
|
1303
1298
|
messageParams: c = n
|
1304
1299
|
} = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1305
1300
|
function l(M) {
|
1306
|
-
return t(u(M), c(
|
1301
|
+
return t(u(M), c(W({
|
1307
1302
|
model: M.$model,
|
1308
1303
|
property: M.$property,
|
1309
1304
|
pending: M.$pending,
|
@@ -1322,7 +1317,7 @@ const Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1322
1317
|
__proto__: null,
|
1323
1318
|
alpha: lr,
|
1324
1319
|
alphaNum: dr,
|
1325
|
-
and:
|
1320
|
+
and: Fr,
|
1326
1321
|
between: pr,
|
1327
1322
|
createI18nMessage: rn,
|
1328
1323
|
decimal: tn,
|
@@ -1333,14 +1328,14 @@ const Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1333
1328
|
macAddress: $r,
|
1334
1329
|
maxLength: Dr,
|
1335
1330
|
maxValue: Xr,
|
1336
|
-
minLength:
|
1331
|
+
minLength: Cr,
|
1337
1332
|
minValue: Hr,
|
1338
1333
|
not: Gr,
|
1339
1334
|
numeric: Mr,
|
1340
1335
|
or: Rr,
|
1341
1336
|
required: De,
|
1342
1337
|
requiredIf: Sr,
|
1343
|
-
requiredUnless:
|
1338
|
+
requiredUnless: Or,
|
1344
1339
|
sameAs: _r,
|
1345
1340
|
url: kr
|
1346
1341
|
}, Symbol.toStringTag, { value: "Module" })), qe = G.regex(
|
@@ -1415,18 +1410,19 @@ function Ln(e, t) {
|
|
1415
1410
|
return sn();
|
1416
1411
|
throw new Error("No valid rule detected");
|
1417
1412
|
}
|
1418
|
-
const Mn = ["id", "name"], gn = {
|
1413
|
+
const Mn = ["id", "name", "onSubmit"], gn = {
|
1419
1414
|
key: 0,
|
1420
1415
|
class: "pdap-form-error-message"
|
1421
1416
|
}, pn = {
|
1422
1417
|
name: "PdapForm"
|
1423
|
-
}, yn = /* @__PURE__ */
|
1418
|
+
}, yn = /* @__PURE__ */ C({
|
1424
1419
|
...pn,
|
1425
1420
|
props: {
|
1426
1421
|
error: { default: null },
|
1427
1422
|
id: {},
|
1428
1423
|
name: {},
|
1429
|
-
schema: {}
|
1424
|
+
schema: {},
|
1425
|
+
resetOn: { type: [String, Boolean], default: "submit" }
|
1430
1426
|
},
|
1431
1427
|
emits: ["submit", "change"],
|
1432
1428
|
setup(e, { emit: t }) {
|
@@ -1438,10 +1434,10 @@ const Mn = ["id", "name"], gn = {
|
|
1438
1434
|
), s = N(
|
1439
1435
|
a.value.reduce((m, p) => {
|
1440
1436
|
switch (p.type) {
|
1441
|
-
case
|
1437
|
+
case z.CHECKBOX:
|
1442
1438
|
return { ...m, [p.name]: String(p.defaultChecked) };
|
1443
|
-
case
|
1444
|
-
case
|
1439
|
+
case z.TEXT:
|
1440
|
+
case z.PASSWORD:
|
1445
1441
|
default:
|
1446
1442
|
return { ...m, [p.name]: p.value };
|
1447
1443
|
}
|
@@ -1462,44 +1458,48 @@ const Mn = ["id", "name"], gn = {
|
|
1462
1458
|
};
|
1463
1459
|
}, {}), u = Jt(i, s, { $autoDirty: !1, $lazy: !0 }), c = N(r.error);
|
1464
1460
|
function l(m, p) {
|
1465
|
-
const o = p.target, d =
|
1466
|
-
|
1461
|
+
const o = p.target, d = (() => {
|
1462
|
+
switch (m.type) {
|
1463
|
+
case z.CHECKBOX:
|
1464
|
+
return o.checked ? "true" : "false";
|
1465
|
+
default:
|
1466
|
+
return o.value;
|
1467
|
+
}
|
1468
|
+
})();
|
1469
|
+
s.value[m.name] = d, n("change", s.value);
|
1467
1470
|
}
|
1468
1471
|
Ie(() => {
|
1469
1472
|
r.error ? c.value = r.error : c.value && u.value.$errors.length === 0 ? c.value = null : !c.value && u.value.$errors.length > 0 && (c.value = "Please update this form to correct the errors");
|
1470
1473
|
}), Ie(() => {
|
1474
|
+
r.resetOn && r.resetOn !== "submit" && M();
|
1471
1475
|
});
|
1472
1476
|
function M() {
|
1473
|
-
|
1477
|
+
u.value.$reset(), s.value = Object.entries(s).reduce((m, [p]) => ({ ...m, [p]: "" }), {});
|
1474
1478
|
}
|
1475
|
-
async function y(
|
1476
|
-
|
1477
|
-
n("submit", { ...s.value }), u.value.$reset(), m.target.reset(), s.value = Object.entries(s).reduce((d, [g]) => ({ ...d, [g]: "" }), {});
|
1478
|
-
return;
|
1479
|
-
}
|
1479
|
+
async function y() {
|
1480
|
+
await u.value.$validate() && (n("submit", { ...s.value }), r.resetOn === "submit" && M());
|
1480
1481
|
}
|
1481
1482
|
return (m, p) => (j(), h("form", {
|
1482
1483
|
id: m.id,
|
1483
1484
|
name: m.name,
|
1484
1485
|
class: "pdap-form",
|
1485
|
-
|
1486
|
-
onSubmit: p[0] || (p[0] = je((o) => y(o), ["prevent"]))
|
1486
|
+
onSubmit: me(y, ["prevent"])
|
1487
1487
|
}, [
|
1488
|
-
typeof c.value == "string" ? (j(), h("div", gn,
|
1488
|
+
typeof c.value == "string" ? (j(), h("div", gn, O(c.value), 1)) : k("", !0),
|
1489
1489
|
(j(!0), h(B, null, ce(a.value, (o) => {
|
1490
1490
|
var d, g, w, I;
|
1491
|
-
return j(), E(nr,
|
1491
|
+
return j(), E(nr, F(o, {
|
1492
1492
|
key: o.name,
|
1493
1493
|
error: (d = L(u)[o.name]) != null && d.$error ? (I = (w = (g = L(u)[o.name]) == null ? void 0 : g.$errors) == null ? void 0 : w[0]) == null ? void 0 : I.$message : "",
|
1494
1494
|
value: s.value[o.name],
|
1495
|
-
|
1496
|
-
}), null, 16, ["error", "value", "
|
1495
|
+
onInput: (Z) => l(o, Z)
|
1496
|
+
}), null, 16, ["error", "value", "onInput"]);
|
1497
1497
|
}), 128)),
|
1498
1498
|
H(m.$slots, "default")
|
1499
1499
|
], 40, Mn));
|
1500
1500
|
}
|
1501
1501
|
});
|
1502
|
-
const
|
1502
|
+
const mn = (e) => (gt("data-v-3158c5fc"), e = e(), pt(), e), jn = ["aria-label", "aria-expanded", "onKeyup"], fn = /* @__PURE__ */ mn(() => /* @__PURE__ */ f("svg", {
|
1503
1503
|
"aria-label": "Menu",
|
1504
1504
|
xmlns: "http://www.w3.org/2000/svg",
|
1505
1505
|
viewBox: "0 0 448 512"
|
@@ -1509,7 +1509,7 @@ const jn = (e) => (gt("data-v-3158c5fc"), e = e(), pt(), e), mn = ["aria-label",
|
|
1509
1509
|
fn
|
1510
1510
|
], hn = ["aria-hidden"], vn = ["href"], $n = {
|
1511
1511
|
name: "PdapHeader"
|
1512
|
-
}, Nn = /* @__PURE__ */
|
1512
|
+
}, Nn = /* @__PURE__ */ C({
|
1513
1513
|
...$n,
|
1514
1514
|
setup(e) {
|
1515
1515
|
let t = ne("navLinks");
|
@@ -1544,8 +1544,8 @@ const jn = (e) => (gt("data-v-3158c5fc"), e = e(), pt(), e), mn = ["aria-label",
|
|
1544
1544
|
role: "button",
|
1545
1545
|
tabindex: 0,
|
1546
1546
|
onClick: a,
|
1547
|
-
onKeyup:
|
1548
|
-
}, wn, 40,
|
1547
|
+
onKeyup: je(a, ["enter"])
|
1548
|
+
}, wn, 40, jn),
|
1549
1549
|
P(se, null, {
|
1550
1550
|
default: D(() => [
|
1551
1551
|
fe(f("nav", {
|
@@ -1564,7 +1564,7 @@ const jn = (e) => (gt("data-v-3158c5fc"), e = e(), pt(), e), mn = ["aria-label",
|
|
1564
1564
|
target: "_blank",
|
1565
1565
|
referrerpolicy: "no-referrer",
|
1566
1566
|
onClick: a
|
1567
|
-
},
|
1567
|
+
}, O(u.text), 9, vn)) : k("", !0),
|
1568
1568
|
u.path ? (j(), E(L(oe), {
|
1569
1569
|
key: 1,
|
1570
1570
|
"active-class": "pdap-nav-link-current",
|
@@ -1574,13 +1574,13 @@ const jn = (e) => (gt("data-v-3158c5fc"), e = e(), pt(), e), mn = ["aria-label",
|
|
1574
1574
|
onClick: a
|
1575
1575
|
}, {
|
1576
1576
|
default: D(() => [
|
1577
|
-
|
1577
|
+
T(O(u.text), 1)
|
1578
1578
|
]),
|
1579
1579
|
_: 2
|
1580
1580
|
}, 1032, ["to"])) : k("", !0)
|
1581
1581
|
]))), 128))
|
1582
1582
|
], 8, hn), [
|
1583
|
-
[
|
1583
|
+
[Fe, r.isMobile && r.isExpanded || !r.isMobile]
|
1584
1584
|
])
|
1585
1585
|
]),
|
1586
1586
|
_: 1
|
@@ -1588,23 +1588,23 @@ const jn = (e) => (gt("data-v-3158c5fc"), e = e(), pt(), e), mn = ["aria-label",
|
|
1588
1588
|
], 64));
|
1589
1589
|
}
|
1590
1590
|
});
|
1591
|
-
const
|
1591
|
+
const Te = (e, t) => {
|
1592
1592
|
const r = e.__vccOpts || e;
|
1593
1593
|
for (const [n, a] of t)
|
1594
1594
|
r[n] = a;
|
1595
1595
|
return r;
|
1596
|
-
}, Dn = /* @__PURE__ */
|
1596
|
+
}, Dn = /* @__PURE__ */ Te(Nn, [["__scopeId", "data-v-3158c5fc"]]), Tn = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1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jEKCUM0NTYuOSw4Mi44LDQ1NS4zLDgxLjIsNDUzLDgxLjJ6Ii8+CjxwYXRoIGQ9Ik00ODEuNiwxMDEuNWMtNy44LDAtMTMuNS01LjYtMTMuNS0xMi45YzAtNy4xLDUuNy0xMy4xLDEzLjUtMTMuMWMzLjktMC4yLDcuNiwxLjUsMTAsNC42bC01LjEsNC43Yy0xLjItMS40LTMtMi4zLTQuOS0yLjMKCWMtMy4xLDAtNS4zLDIuNi01LjMsNi4xYzAsMywyLjEsNS45LDUuMyw1LjljMi4zLDAsMy41LTAuOSw0LjktMi41bDUuOSw0LjJDNDg5LjQsOTkuOSw0ODYuNCwxMDEuNSw0ODEuNiwxMDEuNXoiLz4KPHBhdGggZD0iTTUwMy45LDEwMC44Yy01LDAtOC4yLTMuOC04LjItOXYtOWgtMy4xdi02LjZoMy4xVjY1LjloOC45djEwLjJoNC4ydjYuNmgtNC4ydjcuNGMwLDEuOSwxLDMuMiwyLjcsMy4yaDIuMnY3LjRoLTUuNlYxMDAuOHoKCSIvPgo8cG9seWdvbiBwb2ludHM9IjkxLjcsMjAuMiA3Ni4yLDIwLjIgODguNCw4IDgzLjEsMi43IDcxLjUsMTQuMyA3MS41LDAgNjQsMCA2NCwxNC4zIDUyLjMsMi43IDQ3LDggNTkuMiwyMC4yIDQzLjcsMjAuMiA0My43LDI3LjggCgk1OC4xLDI3LjggNDcsMzguOCA1Mi4zLDQ0LjEgNjQsMzIuNSA2NCw0OCA3MS41LDQ4IDcxLjUsMzIuNSA4My4xLDQ0LjEgODguNCwzOC44IDc3LjQsMjcuOCA5MS43LDI3LjggIi8+Cjwvc3ZnPgo=", Cn = ["href"], xn = ["src"], In = ["src"], Sn = {
|
1597
1597
|
name: "PdapHeader"
|
1598
|
-
}, sa = /* @__PURE__ */
|
1598
|
+
}, sa = /* @__PURE__ */ C({
|
1599
1599
|
...Sn,
|
1600
1600
|
props: {
|
1601
|
-
logoImageSrc: { default:
|
1601
|
+
logoImageSrc: { default: Tn },
|
1602
1602
|
logoImageAnchorPath: { default: "/" }
|
1603
1603
|
},
|
1604
1604
|
setup(e) {
|
1605
1605
|
const t = e, r = N(null), n = t.logoImageAnchorPath.startsWith("/");
|
1606
|
-
|
1607
|
-
|
1606
|
+
We(() => {
|
1607
|
+
a(), window.addEventListener("resize", a);
|
1608
1608
|
}), he(() => {
|
1609
1609
|
window.removeEventListener("resize", a);
|
1610
1610
|
});
|
@@ -1645,7 +1645,7 @@ const Ce = (e, t) => {
|
|
1645
1645
|
width: "250",
|
1646
1646
|
alt: "Police Data Accessibility Project Logo"
|
1647
1647
|
}, null, 8, xn)
|
1648
|
-
], 8,
|
1648
|
+
], 8, Cn)),
|
1649
1649
|
P(Dn)
|
1650
1650
|
], 512));
|
1651
1651
|
}
|
@@ -1653,23 +1653,23 @@ const Ce = (e, t) => {
|
|
1653
1653
|
const En = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
|
1654
1654
|
/* @__PURE__ */ f("h2", { class: "mt-0" }, "Search our database"),
|
1655
1655
|
/* @__PURE__ */ f("p", { class: "pb-4 md:pb-8" }, [
|
1656
|
-
/* @__PURE__ */
|
1656
|
+
/* @__PURE__ */ T(" If you are looking for something specific, we may already be tracking it. "),
|
1657
1657
|
/* @__PURE__ */ f("a", { href: "https://pdap.io/data" }, "Learn more about the data here.")
|
1658
1658
|
])
|
1659
|
-
], -1),
|
1659
|
+
], -1), On = { class: "pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0" }, zn = { class: "max-w-[unset] text-med" }, _n = ["href"], bn = ["href"], An = {
|
1660
1660
|
name: "QuickSearchForm"
|
1661
|
-
}, oa = /* @__PURE__ */
|
1661
|
+
}, oa = /* @__PURE__ */ C({
|
1662
1662
|
...An,
|
1663
1663
|
props: {
|
1664
1664
|
baseUrlForRedirect: { default: "https://data-sources.pdap.io" }
|
1665
1665
|
},
|
1666
1666
|
setup(e) {
|
1667
|
-
const t =
|
1667
|
+
const t = jt(), r = e, n = [
|
1668
1668
|
{
|
1669
1669
|
id: "search-term",
|
1670
1670
|
name: "searchTerm",
|
1671
1671
|
label: "What are you looking for?",
|
1672
|
-
type:
|
1672
|
+
type: z.TEXT,
|
1673
1673
|
placeholder: "Enter a keyword, or 'all'",
|
1674
1674
|
value: ""
|
1675
1675
|
},
|
@@ -1677,7 +1677,7 @@ const En = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
|
|
1677
1677
|
id: "location",
|
1678
1678
|
name: "location",
|
1679
1679
|
label: "From where?",
|
1680
|
-
type:
|
1680
|
+
type: z.TEXT,
|
1681
1681
|
placeholder: "Enter a place, or 'all'",
|
1682
1682
|
value: ""
|
1683
1683
|
}
|
@@ -1697,7 +1697,7 @@ const En = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
|
|
1697
1697
|
}
|
1698
1698
|
return (c, l) => (j(), h(B, null, [
|
1699
1699
|
En,
|
1700
|
-
f("div",
|
1700
|
+
f("div", On, [
|
1701
1701
|
P(yn, {
|
1702
1702
|
id: "quick-search-form",
|
1703
1703
|
class: "flex flex-wrap gap-x-4",
|
@@ -1713,21 +1713,21 @@ const En = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
|
|
1713
1713
|
class: "flex-grow-0 flex-shrink-0 basis-full max-w-[unset] mt-4"
|
1714
1714
|
}, {
|
1715
1715
|
default: D(() => [
|
1716
|
-
|
1716
|
+
T("Search Data Sources")
|
1717
1717
|
]),
|
1718
1718
|
_: 1
|
1719
1719
|
})
|
1720
1720
|
]),
|
1721
1721
|
_: 1
|
1722
1722
|
}, 8, ["error"]),
|
1723
|
-
f("p",
|
1724
|
-
|
1723
|
+
f("p", zn, [
|
1724
|
+
T(" For example, you could search for "),
|
1725
1725
|
L(s) ? (j(), E(L(oe), {
|
1726
1726
|
key: 0,
|
1727
1727
|
to: "/search/stops/pittsburgh"
|
1728
1728
|
}, {
|
1729
1729
|
default: D(() => [
|
1730
|
-
|
1730
|
+
T(" stops in Pittsburgh ")
|
1731
1731
|
]),
|
1732
1732
|
_: 1
|
1733
1733
|
})) : (j(), h("a", {
|
@@ -1736,13 +1736,13 @@ const En = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
|
|
1736
1736
|
rel: "noreferrer",
|
1737
1737
|
href: `${r.baseUrlForRedirect}/search/stops/pittsburgh`
|
1738
1738
|
}, " stops in Pittsburgh ", 8, _n)),
|
1739
|
-
|
1739
|
+
T(" or "),
|
1740
1740
|
L(s) ? (j(), E(L(oe), {
|
1741
1741
|
key: 2,
|
1742
1742
|
to: "/search/complaints/all"
|
1743
1743
|
}, {
|
1744
1744
|
default: D(() => [
|
1745
|
-
|
1745
|
+
T(" complaints everywhere ")
|
1746
1746
|
]),
|
1747
1747
|
_: 1
|
1748
1748
|
})) : (j(), h("a", {
|
@@ -1751,7 +1751,7 @@ const En = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
|
|
1751
1751
|
rel: "noreferrer",
|
1752
1752
|
href: `${r.baseUrlForRedirect}/search/complaints/all`
|
1753
1753
|
}, " complaints everywhere ", 8, bn)),
|
1754
|
-
|
1754
|
+
T(" . ")
|
1755
1755
|
])
|
1756
1756
|
])
|
1757
1757
|
], 64));
|
@@ -1759,7 +1759,7 @@ const En = /* @__PURE__ */ f("div", { class: "pdap-flex-container" }, [
|
|
1759
1759
|
});
|
1760
1760
|
const kn = ["alt", "src"], Pn = {
|
1761
1761
|
name: "TileIcon"
|
1762
|
-
}, ua = /* @__PURE__ */
|
1762
|
+
}, ua = /* @__PURE__ */ C({
|
1763
1763
|
...Pn,
|
1764
1764
|
props: {
|
1765
1765
|
imgAltText: {},
|
@@ -1786,7 +1786,7 @@ const Yn = {
|
|
1786
1786
|
}
|
1787
1787
|
}, Qn = ["onKeydown"], Rn = ["id", "aria-hidden"], Un = {
|
1788
1788
|
name: "PdapButton"
|
1789
|
-
}, ia = /* @__PURE__ */
|
1789
|
+
}, ia = /* @__PURE__ */ C({
|
1790
1790
|
...Un,
|
1791
1791
|
props: {
|
1792
1792
|
defaultOpen: { type: Boolean, default: !1 },
|
@@ -1831,14 +1831,14 @@ const Yn = {
|
|
1831
1831
|
mouseleave: u.value ? y : void 0,
|
1832
1832
|
blur: u.value ? y : void 0
|
1833
1833
|
};
|
1834
|
-
return
|
1834
|
+
return We(() => {
|
1835
1835
|
m();
|
1836
|
-
}), (o, d) => fe((j(), h("div",
|
1836
|
+
}), (o, d) => fe((j(), h("div", F({
|
1837
1837
|
ref_key: "dropdownRef",
|
1838
1838
|
ref: s,
|
1839
1839
|
class: "pdap-dropdown",
|
1840
1840
|
role: "presentation",
|
1841
|
-
onKeydown:
|
1841
|
+
onKeydown: je(y, ["escape"])
|
1842
1842
|
}, yt(p, !0)), [
|
1843
1843
|
P(L(Ge), {
|
1844
1844
|
"aria-controls": o.dropdownId,
|
@@ -1852,8 +1852,8 @@ const Yn = {
|
|
1852
1852
|
"cursor-not-allowed": o.disabled
|
1853
1853
|
}),
|
1854
1854
|
"data-test": "dropdown-trigger",
|
1855
|
-
onClick:
|
1856
|
-
onKeydown: me(
|
1855
|
+
onClick: me(c, ["prevent", "stop"]),
|
1856
|
+
onKeydown: je(me(c, ["prevent", "stop"]), ["enter", "space"])
|
1857
1857
|
}, {
|
1858
1858
|
default: D(() => [
|
1859
1859
|
H(o.$slots, "trigger")
|
@@ -1876,7 +1876,7 @@ const Yn = {
|
|
1876
1876
|
}, [
|
1877
1877
|
H(o.$slots, "content")
|
1878
1878
|
], 8, Rn), [
|
1879
|
-
[
|
1879
|
+
[Fe, i.value]
|
1880
1880
|
])
|
1881
1881
|
]),
|
1882
1882
|
_: 3
|
@@ -1898,16 +1898,16 @@ function Vn(e) {
|
|
1898
1898
|
}
|
1899
1899
|
return t.length > 0 && (t[t.length - 1].active = !0), t;
|
1900
1900
|
}
|
1901
|
-
const Bn = { "aria-label": "Breadcrumb" },
|
1901
|
+
const Bn = { "aria-label": "Breadcrumb" }, Fn = { key: 1 }, Wn = {
|
1902
1902
|
name: "PdapBreadcrumbs"
|
1903
|
-
}, Gn = /* @__PURE__ */
|
1904
|
-
...
|
1903
|
+
}, Gn = /* @__PURE__ */ C({
|
1904
|
+
...Wn,
|
1905
1905
|
setup(e) {
|
1906
1906
|
const t = ft(), r = v(() => Vn(t));
|
1907
1907
|
return (n, a) => {
|
1908
1908
|
const s = Ve("router-link");
|
1909
1909
|
return j(), h("nav", Bn, [
|
1910
|
-
P(
|
1910
|
+
P(mt, {
|
1911
1911
|
class: "pdap-breadcrumbs",
|
1912
1912
|
tag: "ul"
|
1913
1913
|
}, {
|
@@ -1916,12 +1916,12 @@ const Bn = { "aria-label": "Breadcrumb" }, Wn = { key: 1 }, Fn = {
|
|
1916
1916
|
key: i.text,
|
1917
1917
|
class: le({ "is-active": i.active })
|
1918
1918
|
}, [
|
1919
|
-
i.active ? (j(), h("span",
|
1919
|
+
i.active ? (j(), h("span", Fn, O(i.text), 1)) : (j(), E(s, {
|
1920
1920
|
key: 0,
|
1921
1921
|
to: i.path
|
1922
1922
|
}, {
|
1923
1923
|
default: D(() => [
|
1924
|
-
|
1924
|
+
T(O(i.text), 1)
|
1925
1925
|
]),
|
1926
1926
|
_: 2
|
1927
1927
|
}, 1032, ["to"]))
|
@@ -1933,7 +1933,7 @@ const Bn = { "aria-label": "Breadcrumb" }, Wn = { key: 1 }, Fn = {
|
|
1933
1933
|
};
|
1934
1934
|
}
|
1935
1935
|
});
|
1936
|
-
const la = /* @__PURE__ */
|
1936
|
+
const la = /* @__PURE__ */ Te(Gn, [["__scopeId", "data-v-e8d76c0f"]]), Zn = { class: "pdap-spinner" }, Hn = ["width", "height"], Jn = ["stroke", "fill"], Xn = ["stroke", "fill"], Kn = {
|
1937
1937
|
key: 0,
|
1938
1938
|
"aria-live": "polite"
|
1939
1939
|
};
|
@@ -1945,7 +1945,7 @@ const la = /* @__PURE__ */ Ce(Gn, [["__scopeId", "data-v-e8d76c0f"]]), Zn = { cl
|
|
1945
1945
|
*/
|
1946
1946
|
const qn = {
|
1947
1947
|
name: "PdapSpinner"
|
1948
|
-
}, ea = /* @__PURE__ */
|
1948
|
+
}, ea = /* @__PURE__ */ C({
|
1949
1949
|
...qn,
|
1950
1950
|
props: {
|
1951
1951
|
color: { default: "currentColor" },
|
@@ -1987,14 +1987,14 @@ const qn = {
|
|
1987
1987
|
mode: "out-in"
|
1988
1988
|
}, {
|
1989
1989
|
default: D(() => [
|
1990
|
-
t.text && t.show ? (j(), h("p", Kn,
|
1990
|
+
t.text && t.show ? (j(), h("p", Kn, O(t.text), 1)) : k("", !0)
|
1991
1991
|
]),
|
1992
1992
|
_: 1
|
1993
1993
|
}))
|
1994
1994
|
]));
|
1995
1995
|
}
|
1996
1996
|
});
|
1997
|
-
const ca = /* @__PURE__ */
|
1997
|
+
const ca = /* @__PURE__ */ Te(ea, [["__scopeId", "data-v-079c81b7"]]);
|
1998
1998
|
const da = {
|
1999
1999
|
content: ["./src/**/*.vue", "./src/**/*.css"],
|
2000
2000
|
theme: {
|
@@ -2120,7 +2120,7 @@ export {
|
|
2120
2120
|
nr as Input,
|
2121
2121
|
Dn as Nav,
|
2122
2122
|
re as PdapDropdownTriggerType,
|
2123
|
-
|
2123
|
+
z as PdapInputTypes,
|
2124
2124
|
oa as QuickSearchForm,
|
2125
2125
|
ca as Spinner,
|
2126
2126
|
ua as TileIcon,
|