pdap-design-system 3.1.0-beta.5 → 3.1.0-beta.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/InputCheckbox/PdapInputCheckbox.vue.d.ts +1 -3
- package/dist/components/InputPassword/PdapInputPassword.vue.d.ts +1 -3
- package/dist/components/InputSelect/PdapInputSelect.vue.d.ts +34 -0
- package/dist/components/InputSelect/index.d.ts +1 -0
- package/dist/components/InputSelect/types.d.ts +11 -0
- package/dist/components/InputText/PdapInputText.vue.d.ts +1 -3
- package/dist/index.cjs +7 -7
- package/dist/index.js +224 -218
- package/dist/styles.css +1 -1
- package/docs/components.md +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as O, reactive as Ve, openBlock as
|
1
|
+
import { defineComponent as O, reactive as Ve, openBlock as M, createElementBlock as w, normalizeClass as we, renderSlot as Q, ref as $, onErrorCaptured as er, createBlock as R, resolveDynamicComponent as tr, withCtx as z, createElementVNode as x, createTextVNode as A, inject as Le, resolveComponent as Jn, Fragment as Ce, renderList as lt, unref as y, toDisplayString as E, createCommentVNode as k, getCurrentInstance as nr, onBeforeMount as Kn, watch as Se, isRef as jt, onBeforeUnmount as Bt, computed as j, isReactive as ar, isReadonly as rr, provide as xt, nextTick as Ke, mergeProps as ee, h as qn, normalizeProps as sr, createVNode as te, watchEffect as Nt, withModifiers as qe, useSlots as Wt, withKeys as Ct, Transition as et, withDirectives as St, vShow as ea, pushScopeId as or, popScopeId as ir, onMounted as ta, toHandlers as lr, TransitionGroup as ur } from "vue";
|
2
2
|
import { RouterLink as tt, useRouter as cr, useRoute as fr } from "vue-router";
|
3
3
|
const dr = {
|
4
4
|
name: "PdapButton"
|
@@ -14,7 +14,7 @@ const dr = {
|
|
14
14
|
[`pdap-button-${t.intent}`]: !!t.intent,
|
15
15
|
"pdap-button-loading": t.isLoading
|
16
16
|
});
|
17
|
-
return (a, r) => (
|
17
|
+
return (a, r) => (M(), w("button", {
|
18
18
|
class: we(n)
|
19
19
|
}, [
|
20
20
|
Q(a.$slots, "default")
|
@@ -30,7 +30,7 @@ const mr = /* @__PURE__ */ x("h1", null, "Oops, something went wrong!", -1), pr
|
|
30
30
|
/* @__PURE__ */ A(" for assistance. ")
|
31
31
|
], -1), gr = {
|
32
32
|
name: "ErrorBoundary"
|
33
|
-
},
|
33
|
+
}, Lu = /* @__PURE__ */ O({
|
34
34
|
...gr,
|
35
35
|
props: {
|
36
36
|
component: { default: "div" },
|
@@ -46,7 +46,7 @@ const mr = /* @__PURE__ */ x("h1", null, "Oops, something went wrong!", -1), pr
|
|
46
46
|
}
|
47
47
|
return er((o, u, l) => {
|
48
48
|
i(o, u, l);
|
49
|
-
}), (o, u) => r.value ? (
|
49
|
+
}), (o, u) => r.value ? (M(), R(tr(o.component), {
|
50
50
|
key: 1,
|
51
51
|
class: "pdap-flex-container-center h-[full]",
|
52
52
|
"v-bind": o.params
|
@@ -81,7 +81,7 @@ const mr = /* @__PURE__ */ x("h1", null, "Oops, something went wrong!", -1), pr
|
|
81
81
|
})
|
82
82
|
], -1), Cr = ["href"], Sr = ["src"], $r = ["src"], Tr = {
|
83
83
|
name: "PdapFooter"
|
84
|
-
},
|
84
|
+
}, Mu = /* @__PURE__ */ O({
|
85
85
|
...Tr,
|
86
86
|
props: {
|
87
87
|
logoImageSrc: { default: hr },
|
@@ -108,21 +108,21 @@ const mr = /* @__PURE__ */ x("h1", null, "Oops, something went wrong!", -1), pr
|
|
108
108
|
]), a = t.logoImageAnchorPath.startsWith("/");
|
109
109
|
return (r, s) => {
|
110
110
|
const i = Jn("router-link");
|
111
|
-
return
|
111
|
+
return M(), w("footer", yr, [
|
112
112
|
x("div", vr, [
|
113
113
|
x("ul", Lr, [
|
114
|
-
(
|
114
|
+
(M(!0), w(Ce, null, lt(y(n), (o) => (M(), w("li", {
|
115
115
|
key: o.text,
|
116
116
|
class: "pdap-footer-link-container"
|
117
117
|
}, [
|
118
|
-
o.href ? (
|
118
|
+
o.href ? (M(), w("a", {
|
119
119
|
key: 0,
|
120
120
|
class: "pdap-footer-social-link",
|
121
121
|
href: o.href,
|
122
122
|
target: "_blank",
|
123
123
|
referrerpolicy: "no-referrer"
|
124
124
|
}, E(o.text), 9, Mr)) : k("", !0),
|
125
|
-
o.path ? (
|
125
|
+
o.path ? (M(), R(i, {
|
126
126
|
key: 1,
|
127
127
|
"active-class": "pdap-footer-social-link-current",
|
128
128
|
"exact-active-class": "pdap-footer-social-link-current-exact",
|
@@ -143,7 +143,7 @@ const mr = /* @__PURE__ */ x("h1", null, "Oops, something went wrong!", -1), pr
|
|
143
143
|
jr,
|
144
144
|
x("div", xr, [
|
145
145
|
Nr,
|
146
|
-
y(a) ? (
|
146
|
+
y(a) ? (M(), R(i, {
|
147
147
|
key: 1,
|
148
148
|
to: r.logoImageAnchorPath,
|
149
149
|
class: "pdap-footer-logo"
|
@@ -157,7 +157,7 @@ const mr = /* @__PURE__ */ x("h1", null, "Oops, something went wrong!", -1), pr
|
|
157
157
|
}, null, 8, $r)
|
158
158
|
]),
|
159
159
|
_: 1
|
160
|
-
}, 8, ["to"])) : (
|
160
|
+
}, 8, ["to"])) : (M(), w("a", {
|
161
161
|
key: 0,
|
162
162
|
href: r.logoImageAnchorPath,
|
163
163
|
class: "pdap-footer-logo"
|
@@ -248,7 +248,7 @@ function Dr(e, t, n, a, r, s, i) {
|
|
248
248
|
$lazy: o,
|
249
249
|
$rewardEarly: u
|
250
250
|
} = r, l = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : [], f = arguments.length > 8 ? arguments[8] : void 0, d = arguments.length > 9 ? arguments[9] : void 0, g = arguments.length > 10 ? arguments[10] : void 0;
|
251
|
-
const
|
251
|
+
const b = $(!!a.value), c = $(0);
|
252
252
|
n.value = !1;
|
253
253
|
const m = Se([t, a].concat(l, g), () => {
|
254
254
|
if (o && !a.value || u && !d.value && !n.value)
|
@@ -259,17 +259,17 @@ function Dr(e, t, n, a, r, s, i) {
|
|
259
259
|
} catch (p) {
|
260
260
|
h = Promise.reject(p);
|
261
261
|
}
|
262
|
-
c.value++, n.value = !!c.value,
|
263
|
-
c.value--, n.value = !!c.value, s.value = p,
|
262
|
+
c.value++, n.value = !!c.value, b.value = !1, Promise.resolve(h).then((p) => {
|
263
|
+
c.value--, n.value = !!c.value, s.value = p, b.value = sa(p);
|
264
264
|
}).catch((p) => {
|
265
|
-
c.value--, n.value = !!c.value, s.value = p,
|
265
|
+
c.value--, n.value = !!c.value, s.value = p, b.value = !0;
|
266
266
|
});
|
267
267
|
}, {
|
268
268
|
immediate: !0,
|
269
269
|
deep: typeof t == "object"
|
270
270
|
});
|
271
271
|
return {
|
272
|
-
$invalid:
|
272
|
+
$invalid: b,
|
273
273
|
$unwatch: m
|
274
274
|
};
|
275
275
|
}
|
@@ -283,10 +283,10 @@ function Er(e, t, n, a, r, s, i, o) {
|
|
283
283
|
return !1;
|
284
284
|
let g = !0;
|
285
285
|
try {
|
286
|
-
const
|
287
|
-
r.value =
|
288
|
-
} catch (
|
289
|
-
r.value =
|
286
|
+
const b = ra(e, t, i, s);
|
287
|
+
r.value = b, g = sa(b);
|
288
|
+
} catch (b) {
|
289
|
+
r.value = b;
|
290
290
|
}
|
291
291
|
return g;
|
292
292
|
});
|
@@ -296,15 +296,15 @@ function Er(e, t, n, a, r, s, i, o) {
|
|
296
296
|
};
|
297
297
|
}
|
298
298
|
function _r(e, t, n, a, r, s, i, o, u, l, f) {
|
299
|
-
const d = $(!1), g = e.$params || {},
|
299
|
+
const d = $(!1), g = e.$params || {}, b = $(null);
|
300
300
|
let c, m;
|
301
301
|
e.$async ? {
|
302
302
|
$invalid: c,
|
303
303
|
$unwatch: m
|
304
|
-
} = Dr(e.$validator, t, d, n, a,
|
304
|
+
} = Dr(e.$validator, t, d, n, a, b, r, e.$watchTargets, u, l, f) : {
|
305
305
|
$invalid: c,
|
306
306
|
$unwatch: m
|
307
|
-
} = Er(e.$validator, t, n, a,
|
307
|
+
} = Er(e.$validator, t, n, a, b, r, u, l);
|
308
308
|
const h = e.$message;
|
309
309
|
return {
|
310
310
|
$message: nt(h) ? j(() => h(mn({
|
@@ -312,7 +312,7 @@ function _r(e, t, n, a, r, s, i, o, u, l, f) {
|
|
312
312
|
$invalid: c,
|
313
313
|
$params: mn(g),
|
314
314
|
$model: t,
|
315
|
-
$response:
|
315
|
+
$response: b,
|
316
316
|
$validator: s,
|
317
317
|
$propertyPath: o,
|
318
318
|
$property: i
|
@@ -320,7 +320,7 @@ function _r(e, t, n, a, r, s, i, o, u, l, f) {
|
|
320
320
|
$params: g,
|
321
321
|
$pending: d,
|
322
322
|
$invalid: c,
|
323
|
-
$response:
|
323
|
+
$response: b,
|
324
324
|
$unwatch: m
|
325
325
|
};
|
326
326
|
}
|
@@ -357,7 +357,7 @@ function Ar() {
|
|
357
357
|
}
|
358
358
|
const zr = "__root";
|
359
359
|
function kr(e, t, n, a, r, s, i, o, u) {
|
360
|
-
const l = Object.keys(e), f = a.get(r, e), d = $(!1), g = $(!1),
|
360
|
+
const l = Object.keys(e), f = a.get(r, e), d = $(!1), g = $(!1), b = $(0);
|
361
361
|
if (f) {
|
362
362
|
if (!f.$partial)
|
363
363
|
return f;
|
@@ -376,7 +376,7 @@ function kr(e, t, n, a, r, s, i, o, u) {
|
|
376
376
|
}
|
377
377
|
};
|
378
378
|
return l.length ? (l.forEach((m) => {
|
379
|
-
c[m] = _r(e[m], t, c.$dirty, s, i, m, n, r, u, g,
|
379
|
+
c[m] = _r(e[m], t, c.$dirty, s, i, m, n, r, u, g, b);
|
380
380
|
}), c.$externalResults = j(() => o.value ? [].concat(o.value).map((m, h) => ({
|
381
381
|
$propertyPath: r,
|
382
382
|
$property: n,
|
@@ -404,7 +404,7 @@ function kr(e, t, n, a, r, s, i, o, u) {
|
|
404
404
|
}).concat(c.$externalResults.value)), c.$errors = j(() => c.$dirty.value ? c.$silentErrors.value : []), c.$unwatch = () => l.forEach((m) => {
|
405
405
|
c[m].$unwatch();
|
406
406
|
}), c.$commit = () => {
|
407
|
-
g.value = !0,
|
407
|
+
g.value = !0, b.value = Date.now();
|
408
408
|
}, a.set(r, e, c), c) : (f && a.set(r, e, c), c);
|
409
409
|
}
|
410
410
|
function Pr(e, t, n, a, r, s, i) {
|
@@ -442,7 +442,7 @@ function Rr(e, t, n) {
|
|
442
442
|
e.$commit(), a.value.forEach((c) => {
|
443
443
|
c.$commit();
|
444
444
|
});
|
445
|
-
},
|
445
|
+
}, b = () => {
|
446
446
|
e.$reset(), a.value.forEach((c) => {
|
447
447
|
c.$reset();
|
448
448
|
});
|
@@ -455,7 +455,7 @@ function Rr(e, t, n) {
|
|
455
455
|
$error: f,
|
456
456
|
$pending: u,
|
457
457
|
$touch: d,
|
458
|
-
$reset:
|
458
|
+
$reset: b,
|
459
459
|
$silentErrors: s,
|
460
460
|
$commit: g
|
461
461
|
};
|
@@ -475,9 +475,9 @@ function $t(e) {
|
|
475
475
|
const f = r ? `${r}.${a}` : a, {
|
476
476
|
rules: d,
|
477
477
|
nestedValidators: g,
|
478
|
-
config:
|
478
|
+
config: b,
|
479
479
|
validationGroups: c
|
480
|
-
} = Ar(t), m = ie(ie({}, o),
|
480
|
+
} = Ar(t), m = ie(ie({}, o), b), h = a ? j(() => {
|
481
481
|
const D = y(n);
|
482
482
|
return D ? y(D[a]) : void 0;
|
483
483
|
}) : n, p = ie({}, y(l) || {}), v = j(() => {
|
@@ -599,10 +599,10 @@ function Fr(e) {
|
|
599
599
|
function i(f, d) {
|
600
600
|
let {
|
601
601
|
$registerAs: g,
|
602
|
-
$scope:
|
602
|
+
$scope: b,
|
603
603
|
$stopPropagation: c
|
604
604
|
} = d;
|
605
|
-
c || t === He.COLLECT_NONE ||
|
605
|
+
c || t === He.COLLECT_NONE || b === He.COLLECT_NONE || t !== He.COLLECT_ALL && t !== b || (a[g] = f, r.value.push(g));
|
606
606
|
}
|
607
607
|
n.__vuelidateInjectInstances = [].concat(n.__vuelidateInjectInstances || [], i);
|
608
608
|
function o(f) {
|
@@ -640,7 +640,7 @@ function ia(e, t) {
|
|
640
640
|
const l = u || ((n = nr()) === null || n === void 0 ? void 0 : n.proxy), f = l ? l.$options : {};
|
641
641
|
r || (yn += 1, r = `_vuelidate_${yn}`);
|
642
642
|
const d = $({}), g = new Yr(), {
|
643
|
-
childResults:
|
643
|
+
childResults: b,
|
644
644
|
sendValidationResultsToParent: c,
|
645
645
|
removeValidationResultsFromParent: m
|
646
646
|
} = l ? Fr({
|
@@ -656,7 +656,7 @@ function ia(e, t) {
|
|
656
656
|
d.value = $t({
|
657
657
|
validations: p,
|
658
658
|
state: t,
|
659
|
-
childResults:
|
659
|
+
childResults: b,
|
660
660
|
resultsCache: g,
|
661
661
|
globalConfig: a,
|
662
662
|
instance: l,
|
@@ -672,7 +672,7 @@ function ia(e, t) {
|
|
672
672
|
d.value = $t({
|
673
673
|
validations: p,
|
674
674
|
state: t,
|
675
|
-
childResults:
|
675
|
+
childResults: b,
|
676
676
|
resultsCache: g,
|
677
677
|
globalConfig: a,
|
678
678
|
instance: l ?? {},
|
@@ -686,7 +686,7 @@ function ia(e, t) {
|
|
686
686
|
$registerAs: r,
|
687
687
|
$scope: s,
|
688
688
|
$stopPropagation: i
|
689
|
-
})), Bt(() => m.forEach((h) => h(r)))), j(() => ie(ie({}, y(d.value)),
|
689
|
+
})), Bt(() => m.forEach((h) => h(r)))), j(() => ie(ie({}, y(d.value)), b.value));
|
690
690
|
}
|
691
691
|
var q = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.TEXT = "text", e.PASSWORD = "password", e))(q || {});
|
692
692
|
const Ur = ["id", "type", "name", "placeholder", "value"], Qr = /* @__PURE__ */ O({
|
@@ -705,7 +705,7 @@ const Ur = ["id", "type", "name", "placeholder", "value"], Qr = /* @__PURE__ */
|
|
705
705
|
const n = t, a = (r) => {
|
706
706
|
n("input", r);
|
707
707
|
};
|
708
|
-
return (r, s) => (
|
708
|
+
return (r, s) => (M(), w("input", ee({
|
709
709
|
id: r.id,
|
710
710
|
type: r.type,
|
711
711
|
name: r.name,
|
@@ -730,7 +730,7 @@ const Ur = ["id", "type", "name", "placeholder", "value"], Qr = /* @__PURE__ */
|
|
730
730
|
const n = t, a = (r) => {
|
731
731
|
n("input", r);
|
732
732
|
};
|
733
|
-
return (r, s) => (
|
733
|
+
return (r, s) => (M(), w("input", ee({
|
734
734
|
id: r.id,
|
735
735
|
name: r.name,
|
736
736
|
checked: r.value === "true",
|
@@ -2178,7 +2178,7 @@ function tn(e) {
|
|
2178
2178
|
watchable: d = !1
|
2179
2179
|
} = e, {
|
2180
2180
|
width: g,
|
2181
|
-
height:
|
2181
|
+
height: b
|
2182
2182
|
} = n.found ? n : t, c = a === "fak", m = [L.replacementClass, r ? "".concat(L.cssPrefix, "-").concat(r) : ""].filter((I) => f.classes.indexOf(I) === -1).filter((I) => I !== "" || !!I).concat(f.classes).join(" ");
|
2183
2183
|
let h = {
|
2184
2184
|
children: [],
|
@@ -2189,11 +2189,11 @@ function tn(e) {
|
|
2189
2189
|
class: m,
|
2190
2190
|
role: f.attributes.role || "img",
|
2191
2191
|
xmlns: "http://www.w3.org/2000/svg",
|
2192
|
-
viewBox: "0 0 ".concat(g, " ").concat(
|
2192
|
+
viewBox: "0 0 ".concat(g, " ").concat(b)
|
2193
2193
|
}
|
2194
2194
|
};
|
2195
2195
|
const p = c && !~f.classes.indexOf("fa-fw") ? {
|
2196
|
-
width: "".concat(g /
|
2196
|
+
width: "".concat(g / b * 16 * 0.0625, "em")
|
2197
2197
|
} : {};
|
2198
2198
|
d && (h.attributes[Me] = ""), o && (h.children.push({
|
2199
2199
|
tag: "title",
|
@@ -2656,7 +2656,7 @@ const po = function(e) {
|
|
2656
2656
|
const {
|
2657
2657
|
prefix: d,
|
2658
2658
|
iconName: g,
|
2659
|
-
icon:
|
2659
|
+
icon: b
|
2660
2660
|
} = e;
|
2661
2661
|
return dt({
|
2662
2662
|
type: "icon",
|
@@ -2666,7 +2666,7 @@ const po = function(e) {
|
|
2666
2666
|
params: t
|
2667
2667
|
}), L.autoA11y && (i ? l["aria-labelledby"] = "".concat(L.replacementClass, "-title-").concat(o || Fe()) : (l["aria-hidden"] = "true", l.focusable = "false")), tn({
|
2668
2668
|
icons: {
|
2669
|
-
main: Pt(
|
2669
|
+
main: Pt(b),
|
2670
2670
|
mask: r ? Pt(r.icon) : {
|
2671
2671
|
found: !1,
|
2672
2672
|
width: null,
|
@@ -2724,7 +2724,7 @@ var go = {
|
|
2724
2724
|
maskId: f,
|
2725
2725
|
extra: d
|
2726
2726
|
} = n;
|
2727
|
-
return new Promise((g,
|
2727
|
+
return new Promise((g, b) => {
|
2728
2728
|
Promise.all([Rt(a, i), l.iconName ? Rt(l.iconName, l.prefix) : Promise.resolve({
|
2729
2729
|
found: !1,
|
2730
2730
|
width: 512,
|
@@ -2747,7 +2747,7 @@ var go = {
|
|
2747
2747
|
extra: d,
|
2748
2748
|
watchable: !0
|
2749
2749
|
})]);
|
2750
|
-
}).catch(
|
2750
|
+
}).catch(b);
|
2751
2751
|
});
|
2752
2752
|
}, e.generateAbstractIcon = function(t) {
|
2753
2753
|
let {
|
@@ -2922,29 +2922,29 @@ function kn(e, t) {
|
|
2922
2922
|
return e.removeChild(i), a();
|
2923
2923
|
if (l && d !== "none" && d !== "") {
|
2924
2924
|
const g = o.getPropertyValue("content");
|
2925
|
-
let
|
2925
|
+
let b = wo(u, f);
|
2926
2926
|
const {
|
2927
2927
|
value: c,
|
2928
2928
|
isSecondary: m
|
2929
2929
|
} = bo(g), h = l[0].startsWith("FontAwesome");
|
2930
|
-
let p = qt(
|
2930
|
+
let p = qt(b, c), v = p;
|
2931
2931
|
if (h) {
|
2932
2932
|
const N = Ps(c);
|
2933
|
-
N.iconName && N.prefix && (p = N.iconName,
|
2933
|
+
N.iconName && N.prefix && (p = N.iconName, b = N.prefix);
|
2934
2934
|
}
|
2935
|
-
if (p && !m && (!i || i.getAttribute(Ht) !==
|
2935
|
+
if (p && !m && (!i || i.getAttribute(Ht) !== b || i.getAttribute(Xt) !== v)) {
|
2936
2936
|
e.setAttribute(n, v), i && e.removeChild(i);
|
2937
2937
|
const N = uo(), {
|
2938
2938
|
extra: C
|
2939
2939
|
} = N;
|
2940
|
-
C.attributes[It] = t, Rt(p,
|
2940
|
+
C.attributes[It] = t, Rt(p, b).then((I) => {
|
2941
2941
|
const Y = tn({
|
2942
2942
|
...N,
|
2943
2943
|
icons: {
|
2944
2944
|
main: I,
|
2945
2945
|
mask: en()
|
2946
2946
|
},
|
2947
|
-
prefix:
|
2947
|
+
prefix: b,
|
2948
2948
|
iconName: v,
|
2949
2949
|
extra: C,
|
2950
2950
|
watchable: !0
|
@@ -3166,7 +3166,7 @@ var To = {
|
|
3166
3166
|
transform: o,
|
3167
3167
|
containerWidth: f,
|
3168
3168
|
iconWidth: u
|
3169
|
-
}),
|
3169
|
+
}), b = {
|
3170
3170
|
tag: "rect",
|
3171
3171
|
attributes: {
|
3172
3172
|
...wt,
|
@@ -3201,7 +3201,7 @@ var To = {
|
|
3201
3201
|
maskUnits: "userSpaceOnUse",
|
3202
3202
|
maskContentUnits: "userSpaceOnUse"
|
3203
3203
|
},
|
3204
|
-
children: [
|
3204
|
+
children: [b, h]
|
3205
3205
|
}, C = {
|
3206
3206
|
tag: "defs",
|
3207
3207
|
children: [{
|
@@ -3443,7 +3443,7 @@ var Qo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3443
3443
|
(function(e) {
|
3444
3444
|
(function(t) {
|
3445
3445
|
var n = function(p, v, N) {
|
3446
|
-
if (!l(v) || d(v) || g(v) ||
|
3446
|
+
if (!l(v) || d(v) || g(v) || b(v) || u(v))
|
3447
3447
|
return v;
|
3448
3448
|
var C, I = 0, Y = 0;
|
3449
3449
|
if (f(v))
|
@@ -3478,7 +3478,7 @@ var Qo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
3478
3478
|
return o.call(p) == "[object Date]";
|
3479
3479
|
}, g = function(p) {
|
3480
3480
|
return o.call(p) == "[object RegExp]";
|
3481
|
-
},
|
3481
|
+
}, b = function(p) {
|
3482
3482
|
return o.call(p) == "[object Boolean]";
|
3483
3483
|
}, c = function(p) {
|
3484
3484
|
return p = p - 0, p === p;
|
@@ -3927,7 +3927,7 @@ const Zo = {
|
|
3927
3927
|
);
|
3928
3928
|
return t({
|
3929
3929
|
recordTypesToIcons: n
|
3930
|
-
}), (a, r) => n.value.has(a.recordType) ? (
|
3930
|
+
}), (a, r) => n.value.has(a.recordType) ? (M(), R(y(Ua), {
|
3931
3931
|
key: 0,
|
3932
3932
|
icon: n.value.get(a.recordType) ?? []
|
3933
3933
|
/* Fallback array is a never case, since TS doesn't infer the typeguard from `v-if` */
|
@@ -3949,7 +3949,7 @@ const Zo = {
|
|
3949
3949
|
const t = e, n = j(() => `pdap-${t.name}-input-error`);
|
3950
3950
|
return (a, r) => {
|
3951
3951
|
var s;
|
3952
|
-
return
|
3952
|
+
return M(), w("div", {
|
3953
3953
|
class: we({
|
3954
3954
|
"pdap-input": !0,
|
3955
3955
|
[`pdap-input-${a.type}`]: !0,
|
@@ -3957,11 +3957,11 @@ const Zo = {
|
|
3957
3957
|
"pdap-input-error": Number((s = a.error) == null ? void 0 : s.length) >= 1
|
3958
3958
|
})
|
3959
3959
|
}, [
|
3960
|
-
a.type === y(q).CHECKBOX ? (
|
3960
|
+
a.type === y(q).CHECKBOX ? (M(), R(Br, ee({
|
3961
3961
|
key: 0,
|
3962
3962
|
class: "pdap-input-checkbox"
|
3963
|
-
}, { ...a.$attrs, ...t }), null, 16)) : (
|
3964
|
-
a.error ? (
|
3963
|
+
}, { ...a.$attrs, ...t }), null, 16)) : (M(), R(Qr, sr(ee({ key: 1 }, { ...a.$attrs, ...a.$props })), null, 16)),
|
3964
|
+
a.error ? (M(), w("div", {
|
3965
3965
|
key: 2,
|
3966
3966
|
id: n.value,
|
3967
3967
|
class: "pdap-input-error-message"
|
@@ -4058,7 +4058,7 @@ function si(e) {
|
|
4058
4058
|
return y(t).reduce((s, i, o) => {
|
4059
4059
|
const u = Object.entries(i).reduce((l, f) => {
|
4060
4060
|
let [d, g] = f;
|
4061
|
-
const
|
4061
|
+
const b = e[d] || {}, c = Object.entries(b).reduce((m, h) => {
|
4062
4062
|
let [p, v] = h;
|
4063
4063
|
const C = je(v).call(this, g, i, o, ...a), I = de(C);
|
4064
4064
|
if (m.$data[p] = C, m.$data.$invalid = !I || !!m.$data.$invalid, m.$data.$error = m.$data.$invalid, !I) {
|
@@ -4680,19 +4680,19 @@ const ul = ["id", "name", "onSubmit"], cl = {
|
|
4680
4680
|
function g(c) {
|
4681
4681
|
i.value = c;
|
4682
4682
|
}
|
4683
|
-
async function
|
4683
|
+
async function b(c) {
|
4684
4684
|
await u.value.$validate() && (r("submit", { ...i.value }, c), a.resetOn === "submit" && d());
|
4685
4685
|
}
|
4686
|
-
return (c, m) => (
|
4686
|
+
return (c, m) => (M(), w("form", {
|
4687
4687
|
id: c.id,
|
4688
4688
|
name: c.name,
|
4689
4689
|
class: "pdap-form",
|
4690
|
-
onSubmit: qe(
|
4690
|
+
onSubmit: qe(b, ["prevent"])
|
4691
4691
|
}, [
|
4692
|
-
typeof l.value == "string" ? (
|
4693
|
-
(
|
4692
|
+
typeof l.value == "string" ? (M(), w("div", cl, E(l.value), 1)) : k("", !0),
|
4693
|
+
(M(!0), w(Ce, null, lt(s.value, (h) => {
|
4694
4694
|
var p, v, N, C;
|
4695
|
-
return
|
4695
|
+
return M(), R(ti, ee(h, {
|
4696
4696
|
key: h.name,
|
4697
4697
|
error: (p = y(u)[h.name]) != null && p.$error ? (C = (N = (v = y(u)[h.name]) == null ? void 0 : v.$errors) == null ? void 0 : N[0]) == null ? void 0 : C.$message : "",
|
4698
4698
|
value: i.value[h.name],
|
@@ -4720,7 +4720,7 @@ function ml(e) {
|
|
4720
4720
|
const pt = Symbol(), pl = ["id", "name", "onSubmit"], gl = {
|
4721
4721
|
key: 1,
|
4722
4722
|
class: "pdap-form-error-message"
|
4723
|
-
},
|
4723
|
+
}, bu = /* @__PURE__ */ O({
|
4724
4724
|
__name: "PdapFormV2",
|
4725
4725
|
props: {
|
4726
4726
|
defaultValues: {},
|
@@ -4749,27 +4749,30 @@ const pt = Symbol(), pl = ["id", "name", "onSubmit"], gl = {
|
|
4749
4749
|
[m]: typeof u.value[m] == "string" ? "" : !!(a != null && a[m])
|
4750
4750
|
}), {});
|
4751
4751
|
}
|
4752
|
-
async function
|
4752
|
+
async function b(c) {
|
4753
4753
|
await f.value.$validate() && (i("submit", { ...u.value }, c), g());
|
4754
4754
|
}
|
4755
4755
|
return Nt(() => {
|
4756
4756
|
r ? o.value = r : o.value && f.value.$errors.length === 0 ? o.value = null : !o.value && f.value.$errors.length > 0 && (o.value = "Please update this form to correct the errors");
|
4757
|
-
}), (c, m) => (
|
4757
|
+
}), (c, m) => (M(), w("form", {
|
4758
4758
|
id: c.id,
|
4759
4759
|
name: c.name,
|
4760
4760
|
class: "pdap-form",
|
4761
|
-
onSubmit: qe(
|
4761
|
+
onSubmit: qe(b, ["prevent"]),
|
4762
4762
|
onChange: m[0] || (m[0] = (h) => i("change", u.value, h))
|
4763
4763
|
}, [
|
4764
|
-
c.$slots.error ? Q(c.$slots, "error", { key: 0 }) : typeof o.value == "string" ? (
|
4764
|
+
c.$slots.error ? Q(c.$slots, "error", { key: 0 }) : typeof o.value == "string" ? (M(), w("div", gl, E(o.value), 1)) : k("", !0),
|
4765
4765
|
Q(c.$slots, "default")
|
4766
4766
|
], 40, pl));
|
4767
4767
|
}
|
4768
4768
|
});
|
4769
4769
|
const hl = {
|
4770
|
+
key: 0,
|
4771
|
+
class: "pdap-input-error-message"
|
4772
|
+
}, yl = {
|
4770
4773
|
key: 1,
|
4771
4774
|
class: "pdap-input-error-message"
|
4772
|
-
},
|
4775
|
+
}, vl = ["id", "name", "defaultChecked", "value"], Ll = ["for"], Ml = ["for"], wu = /* @__PURE__ */ O({
|
4773
4776
|
__name: "PdapInputCheckbox",
|
4774
4777
|
props: {
|
4775
4778
|
id: {},
|
@@ -4792,13 +4795,12 @@ const hl = {
|
|
4792
4795
|
}
|
4793
4796
|
return (l, f) => {
|
4794
4797
|
var d;
|
4795
|
-
return
|
4798
|
+
return M(), w("div", {
|
4796
4799
|
class: we(["pdap-input pdap-input-checkbox", { "pdap-input-error": o.value }])
|
4797
4800
|
}, [
|
4798
|
-
l.$slots.error ?
|
4799
|
-
|
4800
|
-
|
4801
|
-
}) : o.value ? (b(), w("div", hl, E(o.value), 1)) : k("", !0),
|
4801
|
+
l.$slots.error && o.value ? (M(), w("div", hl, [
|
4802
|
+
Q(l.$slots, "error")
|
4803
|
+
])) : o.value ? (M(), w("div", yl, E(o.value), 1)) : k("", !0),
|
4802
4804
|
x("input", ee({
|
4803
4805
|
id: l.id,
|
4804
4806
|
name: l.name,
|
@@ -4807,23 +4809,26 @@ const hl = {
|
|
4807
4809
|
}, l.$attrs, {
|
4808
4810
|
type: "checkbox",
|
4809
4811
|
onInput: u
|
4810
|
-
}), null, 16,
|
4811
|
-
l.$slots.label ? (
|
4812
|
+
}), null, 16, vl),
|
4813
|
+
l.$slots.label ? (M(), w("label", {
|
4812
4814
|
key: 2,
|
4813
4815
|
for: l.id
|
4814
4816
|
}, [
|
4815
4817
|
Q(l.$slots, "label")
|
4816
|
-
], 8,
|
4818
|
+
], 8, Ll)) : l.label ? (M(), w("label", {
|
4817
4819
|
key: 3,
|
4818
4820
|
for: l.id
|
4819
|
-
}, E(l.label), 9,
|
4821
|
+
}, E(l.label), 9, Ml)) : k("", !0)
|
4820
4822
|
], 2);
|
4821
4823
|
};
|
4822
4824
|
}
|
4823
|
-
}),
|
4824
|
-
key:
|
4825
|
+
}), bl = ["for"], wl = ["for"], jl = {
|
4826
|
+
key: 2,
|
4827
|
+
class: "pdap-input-error-message"
|
4828
|
+
}, xl = {
|
4829
|
+
key: 3,
|
4825
4830
|
class: "pdap-input-error-message"
|
4826
|
-
},
|
4831
|
+
}, Nl = { class: "pdap-input-password-wrapper" }, Cl = ["id", "name", "placeholder", "value", "type"], Sl = ["aria-label"], ju = /* @__PURE__ */ O({
|
4827
4832
|
__name: "PdapInputPassword",
|
4828
4833
|
props: {
|
4829
4834
|
id: {},
|
@@ -4838,8 +4843,8 @@ const hl = {
|
|
4838
4843
|
"All form inputs must have a label, passed as a slot or a prop"
|
4839
4844
|
);
|
4840
4845
|
const { values: r, setValues: s, v$: i } = Le(pt), o = j(() => {
|
4841
|
-
var d, g,
|
4842
|
-
return (d = i.value[n]) != null && d.$error ? (c = (
|
4846
|
+
var d, g, b, c;
|
4847
|
+
return (d = i.value[n]) != null && d.$error ? (c = (b = (g = i.value[n]) == null ? void 0 : g.$errors) == null ? void 0 : b[0]) == null ? void 0 : c.$message : "";
|
4843
4848
|
}), u = $(!0);
|
4844
4849
|
function l(d) {
|
4845
4850
|
s({ [n]: d.target.value });
|
@@ -4848,24 +4853,32 @@ const hl = {
|
|
4848
4853
|
u.value = !u.value;
|
4849
4854
|
}
|
4850
4855
|
return (d, g) => {
|
4851
|
-
var
|
4852
|
-
return
|
4856
|
+
var b;
|
4857
|
+
return M(), w("div", {
|
4853
4858
|
class: we(["pdap-input pdap-input-password", { "pdap-input-error": o.value }])
|
4854
4859
|
}, [
|
4855
|
-
d.$slots.
|
4860
|
+
d.$slots.label ? (M(), w("label", {
|
4856
4861
|
key: 0,
|
4857
|
-
|
4858
|
-
}
|
4859
|
-
|
4862
|
+
for: d.id
|
4863
|
+
}, [
|
4864
|
+
Q(d.$slots, "label")
|
4865
|
+
], 8, bl)) : d.label ? (M(), w("label", {
|
4866
|
+
key: 1,
|
4867
|
+
for: d.id
|
4868
|
+
}, E(d.label), 9, wl)) : k("", !0),
|
4869
|
+
d.$slots.error && o.value ? (M(), w("div", jl, [
|
4870
|
+
Q(d.$slots, "error")
|
4871
|
+
])) : o.value ? (M(), w("div", xl, E(o.value), 1)) : k("", !0),
|
4872
|
+
x("div", Nl, [
|
4860
4873
|
x("input", ee({
|
4861
4874
|
id: d.id,
|
4862
4875
|
name: d.name,
|
4863
4876
|
placeholder: d.placeholder ?? "Password",
|
4864
|
-
value: (
|
4877
|
+
value: (b = y(r)) == null ? void 0 : b[d.name]
|
4865
4878
|
}, d.$attrs, {
|
4866
4879
|
type: u.value ? "password" : "text",
|
4867
4880
|
onInput: l
|
4868
|
-
}), null, 16,
|
4881
|
+
}), null, 16, Cl),
|
4869
4882
|
x("button", {
|
4870
4883
|
type: "button",
|
4871
4884
|
class: "pdap-input-password-toggle",
|
@@ -4875,25 +4888,19 @@ const hl = {
|
|
4875
4888
|
te(y(Ua), {
|
4876
4889
|
icon: u.value ? y(Jo) : y(Zo)
|
4877
4890
|
}, null, 8, ["icon"])
|
4878
|
-
], 8,
|
4879
|
-
])
|
4880
|
-
d.$slots.label ? (b(), w("label", {
|
4881
|
-
key: 2,
|
4882
|
-
for: d.id
|
4883
|
-
}, [
|
4884
|
-
Q(d.$slots, "label")
|
4885
|
-
], 8, xl)) : d.label ? (b(), w("label", {
|
4886
|
-
key: 3,
|
4887
|
-
for: d.id
|
4888
|
-
}, E(d.label), 9, Nl)) : k("", !0)
|
4891
|
+
], 8, Sl)
|
4892
|
+
])
|
4889
4893
|
], 2);
|
4890
4894
|
};
|
4891
4895
|
}
|
4892
4896
|
});
|
4893
|
-
const
|
4894
|
-
key:
|
4897
|
+
const $l = ["for"], Tl = ["for"], Il = {
|
4898
|
+
key: 2,
|
4895
4899
|
class: "pdap-input-error-message"
|
4896
|
-
},
|
4900
|
+
}, Ol = {
|
4901
|
+
key: 3,
|
4902
|
+
class: "pdap-input-error-message"
|
4903
|
+
}, Dl = ["id", "name", "placeholder", "value"], xu = /* @__PURE__ */ O({
|
4897
4904
|
__name: "PdapInputText",
|
4898
4905
|
props: {
|
4899
4906
|
id: {},
|
@@ -4916,13 +4923,21 @@ const Cl = {
|
|
4916
4923
|
}
|
4917
4924
|
return (l, f) => {
|
4918
4925
|
var d;
|
4919
|
-
return
|
4926
|
+
return M(), w("div", {
|
4920
4927
|
class: we(["pdap-input", { "pdap-input-error": o.value }])
|
4921
4928
|
}, [
|
4922
|
-
l.$slots.
|
4929
|
+
l.$slots.label ? (M(), w("label", {
|
4923
4930
|
key: 0,
|
4924
|
-
|
4925
|
-
}
|
4931
|
+
for: l.id
|
4932
|
+
}, [
|
4933
|
+
Q(l.$slots, "label")
|
4934
|
+
], 8, $l)) : l.label ? (M(), w("label", {
|
4935
|
+
key: 1,
|
4936
|
+
for: l.id
|
4937
|
+
}, E(l.label), 9, Tl)) : k("", !0),
|
4938
|
+
l.$slots.error && o.value ? (M(), w("div", Il, [
|
4939
|
+
Q(l.$slots, "error")
|
4940
|
+
])) : o.value ? (M(), w("div", Ol, E(o.value), 1)) : k("", !0),
|
4926
4941
|
x("input", ee({
|
4927
4942
|
id: l.id,
|
4928
4943
|
name: l.name,
|
@@ -4931,31 +4946,22 @@ const Cl = {
|
|
4931
4946
|
}, l.$attrs, {
|
4932
4947
|
type: "text",
|
4933
4948
|
onInput: u
|
4934
|
-
}), null, 16,
|
4935
|
-
l.$slots.label ? (b(), w("label", {
|
4936
|
-
key: 2,
|
4937
|
-
for: l.id
|
4938
|
-
}, [
|
4939
|
-
Q(l.$slots, "label")
|
4940
|
-
], 8, $l)) : l.label ? (b(), w("label", {
|
4941
|
-
key: 3,
|
4942
|
-
for: l.id
|
4943
|
-
}, E(l.label), 9, Tl)) : k("", !0)
|
4949
|
+
}), null, 16, Dl)
|
4944
4950
|
], 2);
|
4945
4951
|
};
|
4946
4952
|
}
|
4947
|
-
}),
|
4953
|
+
}), El = (e) => (or("data-v-3158c5fc"), e = e(), ir(), e), _l = ["aria-label", "aria-expanded", "onKeyup"], Al = /* @__PURE__ */ El(() => /* @__PURE__ */ x("svg", {
|
4948
4954
|
"aria-label": "Menu",
|
4949
4955
|
xmlns: "http://www.w3.org/2000/svg",
|
4950
4956
|
viewBox: "0 0 448 512"
|
4951
4957
|
}, [
|
4952
4958
|
/* @__PURE__ */ x("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" })
|
4953
|
-
], -1)),
|
4954
|
-
|
4955
|
-
],
|
4959
|
+
], -1)), zl = [
|
4960
|
+
Al
|
4961
|
+
], kl = ["aria-hidden"], Pl = ["href"], Rl = {
|
4956
4962
|
name: "PdapHeader"
|
4957
|
-
},
|
4958
|
-
...
|
4963
|
+
}, Yl = /* @__PURE__ */ O({
|
4964
|
+
...Rl,
|
4959
4965
|
setup(e) {
|
4960
4966
|
let t = Le("navLinks");
|
4961
4967
|
typeof t > "u" && (t = [], console.error(
|
@@ -4980,7 +4986,7 @@ const Cl = {
|
|
4980
4986
|
const s = document.querySelector("body");
|
4981
4987
|
!n.isExpanded && n.isMobile ? (n.isExpanded = !0, s != null && s.classList.contains("lock-scroll") || (i = document.querySelector("body")) == null || i.classList.add("lock-scroll")) : n.isExpanded && n.isMobile && (n.isExpanded = !1, (o = document.querySelector("body")) == null || o.classList.remove("lock-scroll")), await Ke();
|
4982
4988
|
}
|
4983
|
-
return (s, i) => (
|
4989
|
+
return (s, i) => (M(), w(Ce, null, [
|
4984
4990
|
x("div", {
|
4985
4991
|
"aria-label": n.isExpanded ? "close navigation menu" : "open navigation menu",
|
4986
4992
|
"aria-expanded": n.isMobile && n.isExpanded,
|
@@ -4990,7 +4996,7 @@ const Cl = {
|
|
4990
4996
|
tabindex: 0,
|
4991
4997
|
onClick: r,
|
4992
4998
|
onKeyup: Ct(r, ["enter"])
|
4993
|
-
},
|
4999
|
+
}, zl, 40, _l),
|
4994
5000
|
te(et, null, {
|
4995
5001
|
default: z(() => [
|
4996
5002
|
St(x("nav", {
|
@@ -4998,19 +5004,19 @@ const Cl = {
|
|
4998
5004
|
"aria-hidden": !(n.isMobile && n.isExpanded),
|
4999
5005
|
class: "pdap-nav"
|
5000
5006
|
}, [
|
5001
|
-
(
|
5007
|
+
(M(!0), w(Ce, null, lt(y(t), (o) => (M(), w("li", {
|
5002
5008
|
key: o.text,
|
5003
5009
|
class: "pdap-nav-link-container"
|
5004
5010
|
}, [
|
5005
|
-
o.href ? (
|
5011
|
+
o.href ? (M(), w("a", {
|
5006
5012
|
key: 0,
|
5007
5013
|
class: "pdap-nav-link",
|
5008
5014
|
href: o.href,
|
5009
5015
|
target: "_blank",
|
5010
5016
|
referrerpolicy: "no-referrer",
|
5011
5017
|
onClick: r
|
5012
|
-
}, E(o.text), 9,
|
5013
|
-
o.path ? (
|
5018
|
+
}, E(o.text), 9, Pl)) : k("", !0),
|
5019
|
+
o.path ? (M(), R(y(tt), {
|
5014
5020
|
key: 1,
|
5015
5021
|
"active-class": "pdap-nav-link-current",
|
5016
5022
|
"exact-active-class": "pdap-nav-link-current-exact",
|
@@ -5024,7 +5030,7 @@ const Cl = {
|
|
5024
5030
|
_: 2
|
5025
5031
|
}, 1032, ["to"])) : k("", !0)
|
5026
5032
|
]))), 128))
|
5027
|
-
], 8,
|
5033
|
+
], 8, kl), [
|
5028
5034
|
[ea, n.isMobile && n.isExpanded || !n.isMobile]
|
5029
5035
|
])
|
5030
5036
|
]),
|
@@ -5038,12 +5044,12 @@ const cn = (e, t) => {
|
|
5038
5044
|
for (const [a, r] of t)
|
5039
5045
|
n[a] = r;
|
5040
5046
|
return n;
|
5041
|
-
},
|
5047
|
+
}, Fl = /* @__PURE__ */ cn(Yl, [["__scopeId", "data-v-3158c5fc"]]), Ul = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI0LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC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IsNDUzLDgxLjJ6Ii8+CjxwYXRoIGQ9Ik00ODEuNiwxMDEuNWMtNy44LDAtMTMuNS01LjYtMTMuNS0xMi45YzAtNy4xLDUuNy0xMy4xLDEzLjUtMTMuMWMzLjktMC4yLDcuNiwxLjUsMTAsNC42bC01LjEsNC43Yy0xLjItMS40LTMtMi4zLTQuOS0yLjMKCWMtMy4xLDAtNS4zLDIuNi01LjMsNi4xYzAsMywyLjEsNS45LDUuMyw1LjljMi4zLDAsMy41LTAuOSw0LjktMi41bDUuOSw0LjJDNDg5LjQsOTkuOSw0ODYuNCwxMDEuNSw0ODEuNiwxMDEuNXoiLz4KPHBhdGggZD0iTTUwMy45LDEwMC44Yy01LDAtOC4yLTMuOC04LjItOXYtOWgtMy4xdi02LjZoMy4xVjY1LjloOC45djEwLjJoNC4ydjYuNmgtNC4ydjcuNGMwLDEuOSwxLDMuMiwyLjcsMy4yaDIuMnY3LjRoLTUuNlYxMDAuOHoKCSIvPgo8cG9seWdvbiBwb2ludHM9IjkxLjcsMjAuMiA3Ni4yLDIwLjIgODguNCw4IDgzLjEsMi43IDcxLjUsMTQuMyA3MS41LDAgNjQsMCA2NCwxNC4zIDUyLjMsMi43IDQ3LDggNTkuMiwyMC4yIDQzLjcsMjAuMiA0My43LDI3LjggCgk1OC4xLDI3LjggNDcsMzguOCA1Mi4zLDQ0LjEgNjQsMzIuNSA2NCw0OCA3MS41LDQ4IDcxLjUsMzIuNSA4My4xLDQ0LjEgODguNCwzOC44IDc3LjQsMjcuOCA5MS43LDI3LjggIi8+Cjwvc3ZnPgo=", Ql = ["href"], Vl = ["src"], Bl = ["src"], Wl = {
|
5042
5048
|
name: "PdapHeader"
|
5043
|
-
},
|
5044
|
-
...
|
5049
|
+
}, Nu = /* @__PURE__ */ O({
|
5050
|
+
...Wl,
|
5045
5051
|
props: {
|
5046
|
-
logoImageSrc: { default:
|
5052
|
+
logoImageSrc: { default: Ul },
|
5047
5053
|
logoImageAnchorPath: { default: "/" }
|
5048
5054
|
},
|
5049
5055
|
setup(e) {
|
@@ -5060,12 +5066,12 @@ const cn = (e, t) => {
|
|
5060
5066
|
`${n.value.clientHeight}px`
|
5061
5067
|
));
|
5062
5068
|
}
|
5063
|
-
return (s, i) => (
|
5069
|
+
return (s, i) => (M(), w("header", {
|
5064
5070
|
ref_key: "el",
|
5065
5071
|
ref: n,
|
5066
5072
|
class: "pdap-header"
|
5067
5073
|
}, [
|
5068
|
-
y(a) ? (
|
5074
|
+
y(a) ? (M(), R(y(tt), {
|
5069
5075
|
key: 1,
|
5070
5076
|
to: s.logoImageAnchorPath,
|
5071
5077
|
class: "logo"
|
@@ -5076,10 +5082,10 @@ const cn = (e, t) => {
|
|
5076
5082
|
loading: "lazy",
|
5077
5083
|
width: "250",
|
5078
5084
|
alt: "Police Data Accessibility Project Logo"
|
5079
|
-
}, null, 8,
|
5085
|
+
}, null, 8, Bl)
|
5080
5086
|
]),
|
5081
5087
|
_: 1
|
5082
|
-
}, 8, ["to"])) : (
|
5088
|
+
}, 8, ["to"])) : (M(), w("a", {
|
5083
5089
|
key: 0,
|
5084
5090
|
href: s.logoImageAnchorPath,
|
5085
5091
|
class: "logo"
|
@@ -5089,22 +5095,22 @@ const cn = (e, t) => {
|
|
5089
5095
|
loading: "lazy",
|
5090
5096
|
width: "250",
|
5091
5097
|
alt: "Police Data Accessibility Project Logo"
|
5092
|
-
}, null, 8,
|
5093
|
-
], 8,
|
5094
|
-
te(
|
5098
|
+
}, null, 8, Vl)
|
5099
|
+
], 8, Ql)),
|
5100
|
+
te(Fl)
|
5095
5101
|
], 512));
|
5096
5102
|
}
|
5097
5103
|
});
|
5098
|
-
const
|
5104
|
+
const Gl = /* @__PURE__ */ x("div", { class: "pdap-flex-container" }, [
|
5099
5105
|
/* @__PURE__ */ x("h2", { class: "mt-0" }, "Search our database"),
|
5100
5106
|
/* @__PURE__ */ x("p", { class: "pb-4 md:pb-8" }, [
|
5101
5107
|
/* @__PURE__ */ A(" If you are looking for something specific, we may already be tracking it. "),
|
5102
5108
|
/* @__PURE__ */ x("a", { href: "https://pdap.io/data" }, "Learn more about the data here.")
|
5103
5109
|
])
|
5104
|
-
], -1),
|
5110
|
+
], -1), Hl = { class: "pdap-quick-search-form h-full max-h-[75-vh] justify-start p-0" }, Xl = { class: "max-w-[unset] text-med" }, Zl = ["href"], Jl = ["href"], Kl = {
|
5105
5111
|
name: "QuickSearchForm"
|
5106
|
-
},
|
5107
|
-
...
|
5112
|
+
}, Cu = /* @__PURE__ */ O({
|
5113
|
+
...Kl,
|
5108
5114
|
props: {
|
5109
5115
|
baseUrlForRedirect: { default: "https://data-sources.pdap.io" }
|
5110
5116
|
},
|
@@ -5140,9 +5146,9 @@ const Vl = /* @__PURE__ */ x("div", { class: "pdap-flex-container" }, [
|
|
5140
5146
|
`${n.baseUrlForRedirect}/search/${f}/${l}`
|
5141
5147
|
);
|
5142
5148
|
}
|
5143
|
-
return (u, l) => (
|
5144
|
-
|
5145
|
-
x("div",
|
5149
|
+
return (u, l) => (M(), w(Ce, null, [
|
5150
|
+
Gl,
|
5151
|
+
x("div", Hl, [
|
5146
5152
|
te(dl, {
|
5147
5153
|
id: "quick-search-form",
|
5148
5154
|
class: "flex flex-wrap gap-x-4",
|
@@ -5165,9 +5171,9 @@ const Vl = /* @__PURE__ */ x("div", { class: "pdap-flex-container" }, [
|
|
5165
5171
|
]),
|
5166
5172
|
_: 1
|
5167
5173
|
}, 8, ["error"]),
|
5168
|
-
x("p",
|
5174
|
+
x("p", Xl, [
|
5169
5175
|
A(" For example, you could search for "),
|
5170
|
-
y(s) ? (
|
5176
|
+
y(s) ? (M(), R(y(tt), {
|
5171
5177
|
key: 0,
|
5172
5178
|
to: "/search/stops/pittsburgh"
|
5173
5179
|
}, {
|
@@ -5175,14 +5181,14 @@ const Vl = /* @__PURE__ */ x("div", { class: "pdap-flex-container" }, [
|
|
5175
5181
|
A(" stops in Pittsburgh ")
|
5176
5182
|
]),
|
5177
5183
|
_: 1
|
5178
|
-
})) : (
|
5184
|
+
})) : (M(), w("a", {
|
5179
5185
|
key: 1,
|
5180
5186
|
target: "_blank",
|
5181
5187
|
rel: "noreferrer",
|
5182
5188
|
href: `${n.baseUrlForRedirect}/search/stops/pittsburgh`
|
5183
|
-
}, " stops in Pittsburgh ", 8,
|
5189
|
+
}, " stops in Pittsburgh ", 8, Zl)),
|
5184
5190
|
A(" or "),
|
5185
|
-
y(s) ? (
|
5191
|
+
y(s) ? (M(), R(y(tt), {
|
5186
5192
|
key: 2,
|
5187
5193
|
to: "/search/complaints/all"
|
5188
5194
|
}, {
|
@@ -5190,36 +5196,36 @@ const Vl = /* @__PURE__ */ x("div", { class: "pdap-flex-container" }, [
|
|
5190
5196
|
A(" complaints everywhere ")
|
5191
5197
|
]),
|
5192
5198
|
_: 1
|
5193
|
-
})) : (
|
5199
|
+
})) : (M(), w("a", {
|
5194
5200
|
key: 3,
|
5195
5201
|
target: "_blank",
|
5196
5202
|
rel: "noreferrer",
|
5197
5203
|
href: `${n.baseUrlForRedirect}/search/complaints/all`
|
5198
|
-
}, " complaints everywhere ", 8,
|
5204
|
+
}, " complaints everywhere ", 8, Jl)),
|
5199
5205
|
A(" . ")
|
5200
5206
|
])
|
5201
5207
|
])
|
5202
5208
|
], 64));
|
5203
5209
|
}
|
5204
5210
|
});
|
5205
|
-
const
|
5211
|
+
const ql = ["alt", "src"], eu = {
|
5206
5212
|
name: "TileIcon"
|
5207
|
-
},
|
5208
|
-
...
|
5213
|
+
}, Su = /* @__PURE__ */ O({
|
5214
|
+
...eu,
|
5209
5215
|
props: {
|
5210
5216
|
imgAltText: {},
|
5211
5217
|
imgSrc: {}
|
5212
5218
|
},
|
5213
5219
|
setup(e) {
|
5214
|
-
return (t, n) => (
|
5220
|
+
return (t, n) => (M(), w("img", {
|
5215
5221
|
class: "pdap-tile-icon",
|
5216
5222
|
alt: t.imgAltText,
|
5217
5223
|
src: t.imgSrc
|
5218
|
-
}, null, 8,
|
5224
|
+
}, null, 8, ql));
|
5219
5225
|
}
|
5220
5226
|
});
|
5221
5227
|
var Je = /* @__PURE__ */ ((e) => (e.PRESS = "press", e.HOVER = "hover", e))(Je || {});
|
5222
|
-
const
|
5228
|
+
const tu = {
|
5223
5229
|
beforeMount(e, t) {
|
5224
5230
|
const n = e;
|
5225
5231
|
n.clickOutsideEvent = function(r) {
|
@@ -5229,10 +5235,10 @@ const Kl = {
|
|
5229
5235
|
unmounted(e) {
|
5230
5236
|
e.clickOutsideEvent && (document.removeEventListener("click", e.clickOutsideEvent), document.removeEventListener("keyup", e.clickOutsideEvent));
|
5231
5237
|
}
|
5232
|
-
},
|
5238
|
+
}, nu = ["onKeydown"], au = ["id", "aria-hidden"], ru = {
|
5233
5239
|
name: "PdapButton"
|
5234
|
-
},
|
5235
|
-
...
|
5240
|
+
}, $u = /* @__PURE__ */ O({
|
5241
|
+
...ru,
|
5236
5242
|
props: {
|
5237
5243
|
defaultOpen: { type: Boolean, default: !1 },
|
5238
5244
|
disabled: { type: Boolean, default: !1 },
|
@@ -5268,7 +5274,7 @@ const Kl = {
|
|
5268
5274
|
);
|
5269
5275
|
Number((v = h == null ? void 0 : h.match(/\d+/)) == null ? void 0 : v.join("")) >= c || r.value && m && m.style.setProperty("--dropdown-content-max-height", `${c + 16}px`);
|
5270
5276
|
}
|
5271
|
-
const
|
5277
|
+
const b = {
|
5272
5278
|
mouseenter: o.value ? f : void 0,
|
5273
5279
|
focus: o.value ? f : void 0,
|
5274
5280
|
focusin: o.value ? f : void 0,
|
@@ -5278,13 +5284,13 @@ const Kl = {
|
|
5278
5284
|
};
|
5279
5285
|
return ta(() => {
|
5280
5286
|
g();
|
5281
|
-
}), (c, m) => St((
|
5287
|
+
}), (c, m) => St((M(), w("div", ee({
|
5282
5288
|
ref_key: "dropdownRef",
|
5283
5289
|
ref: s,
|
5284
5290
|
class: "pdap-dropdown",
|
5285
5291
|
role: "presentation",
|
5286
5292
|
onKeydown: Ct(d, ["escape"])
|
5287
|
-
}, lr(
|
5293
|
+
}, lr(b, !0)), [
|
5288
5294
|
te(y(na), {
|
5289
5295
|
"aria-controls": c.dropdownId,
|
5290
5296
|
"aria-expanded": i.value,
|
@@ -5320,18 +5326,18 @@ const Kl = {
|
|
5320
5326
|
role: "menu"
|
5321
5327
|
}, [
|
5322
5328
|
Q(c.$slots, "content")
|
5323
|
-
], 8,
|
5329
|
+
], 8, au), [
|
5324
5330
|
[ea, i.value]
|
5325
5331
|
])
|
5326
5332
|
]),
|
5327
5333
|
_: 3
|
5328
5334
|
})
|
5329
|
-
], 16,
|
5330
|
-
[y(
|
5335
|
+
], 16, nu)), [
|
5336
|
+
[y(tu), d]
|
5331
5337
|
]);
|
5332
5338
|
}
|
5333
5339
|
});
|
5334
|
-
function
|
5340
|
+
function su(e) {
|
5335
5341
|
const t = [];
|
5336
5342
|
for (const n of e.matched) {
|
5337
5343
|
const { name: a, path: r, meta: s } = n, i = s.breadcrumbText ?? a;
|
@@ -5343,25 +5349,25 @@ function nu(e) {
|
|
5343
5349
|
}
|
5344
5350
|
return t.length > 0 && (t[t.length - 1].active = !0), t;
|
5345
5351
|
}
|
5346
|
-
const
|
5352
|
+
const ou = { "aria-label": "Breadcrumb" }, iu = { key: 1 }, lu = {
|
5347
5353
|
name: "PdapBreadcrumbs"
|
5348
|
-
},
|
5349
|
-
...
|
5354
|
+
}, uu = /* @__PURE__ */ O({
|
5355
|
+
...lu,
|
5350
5356
|
setup(e) {
|
5351
|
-
const t = fr(), n = j(() =>
|
5357
|
+
const t = fr(), n = j(() => su(t));
|
5352
5358
|
return (a, r) => {
|
5353
5359
|
const s = Jn("router-link");
|
5354
|
-
return
|
5360
|
+
return M(), w("nav", ou, [
|
5355
5361
|
te(ur, {
|
5356
5362
|
class: "pdap-breadcrumbs",
|
5357
5363
|
tag: "ul"
|
5358
5364
|
}, {
|
5359
5365
|
default: z(() => [
|
5360
|
-
(
|
5366
|
+
(M(!0), w(Ce, null, lt(n.value, (i) => (M(), w("li", {
|
5361
5367
|
key: i.text,
|
5362
5368
|
class: we({ "is-active": i.active })
|
5363
5369
|
}, [
|
5364
|
-
i.active ? (
|
5370
|
+
i.active ? (M(), w("span", iu, E(i.text), 1)) : (M(), R(s, {
|
5365
5371
|
key: 0,
|
5366
5372
|
to: i.path
|
5367
5373
|
}, {
|
@@ -5378,10 +5384,10 @@ const au = { "aria-label": "Breadcrumb" }, ru = { key: 1 }, su = {
|
|
5378
5384
|
};
|
5379
5385
|
}
|
5380
5386
|
});
|
5381
|
-
const
|
5387
|
+
const Tu = /* @__PURE__ */ cn(uu, [["__scopeId", "data-v-e8d76c0f"]]), cu = {
|
5382
5388
|
key: 0,
|
5383
5389
|
class: "pdap-spinner"
|
5384
|
-
},
|
5390
|
+
}, fu = ["width", "height"], du = ["stroke", "fill"], mu = ["stroke", "fill"], pu = {
|
5385
5391
|
key: 0,
|
5386
5392
|
"aria-live": "polite"
|
5387
5393
|
};
|
@@ -5391,10 +5397,10 @@ const Cu = /* @__PURE__ */ cn(ou, [["__scopeId", "data-v-e8d76c0f"]]), iu = {
|
|
5391
5397
|
*
|
5392
5398
|
* @preserve
|
5393
5399
|
*/
|
5394
|
-
const
|
5400
|
+
const gu = {
|
5395
5401
|
name: "PdapSpinner"
|
5396
|
-
},
|
5397
|
-
...
|
5402
|
+
}, hu = /* @__PURE__ */ O({
|
5403
|
+
...gu,
|
5398
5404
|
props: {
|
5399
5405
|
color: { default: "currentColor" },
|
5400
5406
|
size: { default: 24 },
|
@@ -5402,10 +5408,10 @@ const du = {
|
|
5402
5408
|
show: { type: Boolean, default: !1 }
|
5403
5409
|
},
|
5404
5410
|
setup(e) {
|
5405
|
-
return (t, n) => (
|
5411
|
+
return (t, n) => (M(), R(et, { appear: "" }, {
|
5406
5412
|
default: z(() => [
|
5407
|
-
t.show ? (
|
5408
|
-
(
|
5413
|
+
t.show ? (M(), w("div", cu, [
|
5414
|
+
(M(), w("svg", {
|
5409
5415
|
"aria-label": "loading",
|
5410
5416
|
width: t.size,
|
5411
5417
|
height: t.size,
|
@@ -5417,21 +5423,21 @@ const du = {
|
|
5417
5423
|
opacity: ".25",
|
5418
5424
|
stroke: t.color,
|
5419
5425
|
fill: t.color
|
5420
|
-
}, null, 8,
|
5426
|
+
}, null, 8, du),
|
5421
5427
|
x("path", {
|
5422
5428
|
d: "M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z",
|
5423
5429
|
class: "pdap-spinner-innards",
|
5424
5430
|
stroke: t.color,
|
5425
5431
|
fill: t.color
|
5426
|
-
}, null, 8,
|
5427
|
-
], 8,
|
5428
|
-
(
|
5432
|
+
}, null, 8, mu)
|
5433
|
+
], 8, fu)),
|
5434
|
+
(M(), R(et, {
|
5429
5435
|
key: t.text,
|
5430
5436
|
appear: "",
|
5431
5437
|
mode: "out-in"
|
5432
5438
|
}, {
|
5433
5439
|
default: z(() => [
|
5434
|
-
t.text && t.show ? (
|
5440
|
+
t.text && t.show ? (M(), w("p", pu, E(t.text), 1)) : k("", !0)
|
5435
5441
|
]),
|
5436
5442
|
_: 1
|
5437
5443
|
}))
|
@@ -5441,8 +5447,8 @@ const du = {
|
|
5441
5447
|
}));
|
5442
5448
|
}
|
5443
5449
|
});
|
5444
|
-
const
|
5445
|
-
const
|
5450
|
+
const Iu = /* @__PURE__ */ cn(hu, [["__scopeId", "data-v-16618cf4"]]);
|
5451
|
+
const Ou = {
|
5446
5452
|
content: ["./src/**/*.vue", "./src/**/*.css"],
|
5447
5453
|
theme: {
|
5448
5454
|
// Nested within "extend" - extends tailwind theme defaults, only overrides properties named here
|
@@ -5572,7 +5578,7 @@ const $u = {
|
|
5572
5578
|
"6xl": "3rem"
|
5573
5579
|
}
|
5574
5580
|
}
|
5575
|
-
},
|
5581
|
+
}, Du = {
|
5576
5582
|
extends: [
|
5577
5583
|
"stylelint-config-standard",
|
5578
5584
|
"@ronilaukkarinen/stylelint-a11y/recommended"
|
@@ -5610,26 +5616,26 @@ const $u = {
|
|
5610
5616
|
]
|
5611
5617
|
};
|
5612
5618
|
export {
|
5613
|
-
|
5619
|
+
Tu as Breadcrumbs,
|
5614
5620
|
na as Button,
|
5615
|
-
|
5616
|
-
|
5617
|
-
|
5621
|
+
$u as Dropdown,
|
5622
|
+
Lu as ErrorBoundary,
|
5623
|
+
Mu as Footer,
|
5618
5624
|
dl as Form,
|
5619
|
-
|
5620
|
-
|
5625
|
+
bu as FormV2,
|
5626
|
+
Nu as Header,
|
5621
5627
|
ti as Input,
|
5622
|
-
|
5623
|
-
|
5624
|
-
|
5625
|
-
|
5628
|
+
wu as InputCheckbox,
|
5629
|
+
ju as InputPassword,
|
5630
|
+
xu as InputText,
|
5631
|
+
Fl as Nav,
|
5626
5632
|
Je as PdapDropdownTriggerType,
|
5627
5633
|
q as PdapInputTypes,
|
5628
|
-
|
5634
|
+
Cu as QuickSearchForm,
|
5629
5635
|
Ko as RecordTypeIcon,
|
5630
|
-
|
5631
|
-
|
5632
|
-
|
5633
|
-
|
5634
|
-
|
5636
|
+
Iu as Spinner,
|
5637
|
+
Su as TileIcon,
|
5638
|
+
Du as stylelintConfig,
|
5639
|
+
Ou as tailwindConfig,
|
5640
|
+
tu as vOnClickOutside
|
5635
5641
|
};
|