@vehiclehistory/property-lib 0.0.85 → 0.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +2 -1
- package/dist/components/ui/Toggle/Toggle.d.ts +6 -0
- package/dist/main.es.js +157 -132
- package/dist/main.umd.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as c, jsxs as M, Fragment as
|
|
1
|
+
import { jsx as c, jsxs as M, Fragment as S } from "react/jsx-runtime";
|
|
2
2
|
import m from "classnames";
|
|
3
3
|
import { memo as b, useState as Z, useEffect as N } from "react";
|
|
4
4
|
const W = {
|
|
@@ -544,7 +544,7 @@ const W = {
|
|
|
544
544
|
},
|
|
545
545
|
e
|
|
546
546
|
),
|
|
547
|
-
children: /* @__PURE__ */ M(
|
|
547
|
+
children: /* @__PURE__ */ M(S, { children: [
|
|
548
548
|
/* @__PURE__ */ M(
|
|
549
549
|
"button",
|
|
550
550
|
{
|
|
@@ -593,7 +593,7 @@ const W = {
|
|
|
593
593
|
] })
|
|
594
594
|
}
|
|
595
595
|
);
|
|
596
|
-
},
|
|
596
|
+
}, T1 = b(J), _ = ({
|
|
597
597
|
children: d,
|
|
598
598
|
className: e,
|
|
599
599
|
messages: t = [],
|
|
@@ -663,7 +663,7 @@ const W = {
|
|
|
663
663
|
] })
|
|
664
664
|
}
|
|
665
665
|
);
|
|
666
|
-
},
|
|
666
|
+
}, D1 = b(_), O1 = ({
|
|
667
667
|
autoFocus: d = !1,
|
|
668
668
|
className: e,
|
|
669
669
|
dataSearch: t = "container",
|
|
@@ -679,12 +679,12 @@ const W = {
|
|
|
679
679
|
placeholder: V = "",
|
|
680
680
|
props: C = {},
|
|
681
681
|
rightIcon: f = "",
|
|
682
|
-
required:
|
|
682
|
+
required: A = !1,
|
|
683
683
|
showSearchIcon: x = !0,
|
|
684
684
|
showRightIcon: u = !1,
|
|
685
|
-
size:
|
|
685
|
+
size: g = "medium",
|
|
686
686
|
styles: w = null,
|
|
687
|
-
title:
|
|
687
|
+
title: v = "",
|
|
688
688
|
type: E,
|
|
689
689
|
useGoogle: j = !1,
|
|
690
690
|
useReact: P = !1
|
|
@@ -716,7 +716,7 @@ const W = {
|
|
|
716
716
|
{
|
|
717
717
|
className: "home-search select-none text-gray-500",
|
|
718
718
|
name: i,
|
|
719
|
-
size:
|
|
719
|
+
size: g === "xLarge" ? "small" : "xSmall",
|
|
720
720
|
viewBox: "0 0 24 24"
|
|
721
721
|
}
|
|
722
722
|
),
|
|
@@ -725,7 +725,7 @@ const W = {
|
|
|
725
725
|
{
|
|
726
726
|
className: "arrow-left select-none text-gray-500 hidden",
|
|
727
727
|
name: "arrowLeft",
|
|
728
|
-
size:
|
|
728
|
+
size: g === "xLarge" ? "small" : "xSmall",
|
|
729
729
|
viewBox: "0 0 24 24"
|
|
730
730
|
}
|
|
731
731
|
)
|
|
@@ -741,14 +741,14 @@ const W = {
|
|
|
741
741
|
"w-full bg-white placeholder:bg-white rounded border border-gray-300 py-2 pr-8 shadow-sm focus:outline-none sm-max:text-sm placeholder:text-gray-500 sm-max:placeholder:text-sm placeholder-shown:text-ellipsis truncate",
|
|
742
742
|
{
|
|
743
743
|
"pl-8": x === !0,
|
|
744
|
-
"px-3 h-10":
|
|
745
|
-
"px-4 h-12":
|
|
746
|
-
"px-5 h-[60px] sm:!text-base":
|
|
744
|
+
"px-3 h-10": g === "medium",
|
|
745
|
+
"px-4 h-12": g === "large",
|
|
746
|
+
"px-5 h-[60px] sm:!text-base": g === "xLarge",
|
|
747
747
|
peer: n
|
|
748
748
|
},
|
|
749
749
|
l
|
|
750
750
|
),
|
|
751
|
-
required:
|
|
751
|
+
required: A,
|
|
752
752
|
autoComplete: "off",
|
|
753
753
|
placeholder: !V && n ? " " : V,
|
|
754
754
|
type: "search",
|
|
@@ -765,9 +765,9 @@ const W = {
|
|
|
765
765
|
"floating-label absolute text-sm !normal-case text-gray-500 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-focus:text-[#222] peer-focus:px-2 peer-focus:bg-white peer-placeholder-shown:bg-white peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 pointer-events-none",
|
|
766
766
|
{
|
|
767
767
|
"!left-7": x === !0,
|
|
768
|
-
"left-2":
|
|
769
|
-
"left-3":
|
|
770
|
-
"left-4":
|
|
768
|
+
"left-2": g === "medium",
|
|
769
|
+
"left-3": g === "large",
|
|
770
|
+
"left-4": g === "xLarge"
|
|
771
771
|
}
|
|
772
772
|
),
|
|
773
773
|
children: n
|
|
@@ -825,10 +825,10 @@ const W = {
|
|
|
825
825
|
{
|
|
826
826
|
"data-id": "search-dropdown-body",
|
|
827
827
|
role: "listbox",
|
|
828
|
-
"data-title":
|
|
828
|
+
"data-title": v,
|
|
829
829
|
"aria-labelledby": "Label",
|
|
830
830
|
"aria-activedescendant": "search-item-0",
|
|
831
|
-
children: h.length > 0 ? h.map((
|
|
831
|
+
children: h.length > 0 ? h.map((k, z) => /* @__PURE__ */ c(
|
|
832
832
|
"li",
|
|
833
833
|
{
|
|
834
834
|
id: `search-item-${z}`,
|
|
@@ -836,7 +836,7 @@ const W = {
|
|
|
836
836
|
className: "dropdown-item text-gray-900 cursor-default select-none py-2 pl-3 pr-4 truncate hover:bg-gray-50 font-normal focus:bg-gray-50 focus:text-green-400 focus-visible:outline-0",
|
|
837
837
|
"aria-selected": z === 0,
|
|
838
838
|
role: "option",
|
|
839
|
-
children: (
|
|
839
|
+
children: (k == null ? void 0 : k.name) || k
|
|
840
840
|
},
|
|
841
841
|
`search-item-${z}`
|
|
842
842
|
)) : ""
|
|
@@ -848,7 +848,7 @@ const W = {
|
|
|
848
848
|
]
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
|
-
},
|
|
851
|
+
}, B1 = ({
|
|
852
852
|
children: d,
|
|
853
853
|
className: e,
|
|
854
854
|
size: t = "sm",
|
|
@@ -884,11 +884,11 @@ const W = {
|
|
|
884
884
|
uppercase: C = !1,
|
|
885
885
|
variation: f = "primary"
|
|
886
886
|
}) => {
|
|
887
|
-
const
|
|
887
|
+
const A = l ? "a" : "button";
|
|
888
888
|
return /* @__PURE__ */ M(
|
|
889
|
-
|
|
889
|
+
A,
|
|
890
890
|
{
|
|
891
|
-
type:
|
|
891
|
+
type: A !== "a" ? V : null,
|
|
892
892
|
className: m(
|
|
893
893
|
"button",
|
|
894
894
|
{
|
|
@@ -970,7 +970,7 @@ const W = {
|
|
|
970
970
|
]
|
|
971
971
|
}
|
|
972
972
|
);
|
|
973
|
-
},
|
|
973
|
+
}, I1 = b(K), X = ({
|
|
974
974
|
activator: d,
|
|
975
975
|
id: e = "",
|
|
976
976
|
children: t,
|
|
@@ -986,11 +986,11 @@ const W = {
|
|
|
986
986
|
preventPageScroll: V = !0,
|
|
987
987
|
stickyHeader: C = !1,
|
|
988
988
|
title: f = "",
|
|
989
|
-
titleClass:
|
|
989
|
+
titleClass: A,
|
|
990
990
|
useFormMethod: x = !0
|
|
991
991
|
}) => {
|
|
992
992
|
const u = x ? "form" : "div";
|
|
993
|
-
return /* @__PURE__ */ M(
|
|
993
|
+
return /* @__PURE__ */ M(S, { children: [
|
|
994
994
|
d && /* @__PURE__ */ c("span", { id: `${e}-dialog-activator`, children: d }),
|
|
995
995
|
/* @__PURE__ */ c(
|
|
996
996
|
"dialog",
|
|
@@ -1025,7 +1025,7 @@ const W = {
|
|
|
1025
1025
|
o
|
|
1026
1026
|
),
|
|
1027
1027
|
children: [
|
|
1028
|
-
f && /* @__PURE__ */ c("h3", { id: `${e}-dialog-title`, className:
|
|
1028
|
+
f && /* @__PURE__ */ c("h3", { id: `${e}-dialog-title`, className: A, children: f }),
|
|
1029
1029
|
!h && /* @__PURE__ */ c(
|
|
1030
1030
|
"button",
|
|
1031
1031
|
{
|
|
@@ -1068,7 +1068,7 @@ const W = {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
)
|
|
1070
1070
|
] });
|
|
1071
|
-
},
|
|
1071
|
+
}, $1 = b(X), q1 = ({ className: d }) => /* @__PURE__ */ M("div", { className: m("Dots mx-auto", d), children: [
|
|
1072
1072
|
/* @__PURE__ */ c("span", { style: { animationDelay: "0.1s" } }),
|
|
1073
1073
|
/* @__PURE__ */ c("span", { style: { animationDelay: "0.2s" } }),
|
|
1074
1074
|
/* @__PURE__ */ c("span", { style: { animationDelay: "0.3s" } }),
|
|
@@ -1093,8 +1093,8 @@ const W = {
|
|
|
1093
1093
|
o === void 0 && (o = C);
|
|
1094
1094
|
const f = C - o;
|
|
1095
1095
|
if (h !== C) {
|
|
1096
|
-
const
|
|
1097
|
-
r.style.width = `${
|
|
1096
|
+
const A = f / n * 101;
|
|
1097
|
+
r.style.width = `${A}%`, e && e({ elapsed: f, percentage: A }), A >= 101 && (i && i(), p = !0, window.cancelAnimationFrame(C));
|
|
1098
1098
|
}
|
|
1099
1099
|
f < n && (h = C, p || window.requestAnimationFrame(V));
|
|
1100
1100
|
}
|
|
@@ -1119,7 +1119,7 @@ const W = {
|
|
|
1119
1119
|
children: /* @__PURE__ */ c("div", { className: "loading-bar__inner", "data-size": "100" })
|
|
1120
1120
|
}
|
|
1121
1121
|
);
|
|
1122
|
-
},
|
|
1122
|
+
}, j1 = b(e1), t1 = ({ className: d }) => /* @__PURE__ */ c("div", { className: m("processing-spinner", d) }), P1 = b(t1), R1 = ({
|
|
1123
1123
|
activator: d,
|
|
1124
1124
|
activatorClass: e = "",
|
|
1125
1125
|
attrs: t = {},
|
|
@@ -1129,7 +1129,7 @@ const W = {
|
|
|
1129
1129
|
disabled: l = !1,
|
|
1130
1130
|
options: i = {},
|
|
1131
1131
|
trigger: r = "click"
|
|
1132
|
-
}) => /* @__PURE__ */ M(
|
|
1132
|
+
}) => /* @__PURE__ */ M(S, { children: [
|
|
1133
1133
|
/* @__PURE__ */ c(
|
|
1134
1134
|
"div",
|
|
1135
1135
|
{
|
|
@@ -1225,7 +1225,7 @@ const W = {
|
|
|
1225
1225
|
)
|
|
1226
1226
|
}
|
|
1227
1227
|
);
|
|
1228
|
-
},
|
|
1228
|
+
}, W1 = b(a1), n1 = ({
|
|
1229
1229
|
checked: d = !1,
|
|
1230
1230
|
children: e,
|
|
1231
1231
|
className: t,
|
|
@@ -1266,7 +1266,7 @@ const W = {
|
|
|
1266
1266
|
]
|
|
1267
1267
|
}
|
|
1268
1268
|
);
|
|
1269
|
-
},
|
|
1269
|
+
}, U1 = b(n1), s1 = ({
|
|
1270
1270
|
className: d = "",
|
|
1271
1271
|
error: e = !1,
|
|
1272
1272
|
errorMessage: t = "",
|
|
@@ -1321,7 +1321,7 @@ const W = {
|
|
|
1321
1321
|
]
|
|
1322
1322
|
}
|
|
1323
1323
|
);
|
|
1324
|
-
},
|
|
1324
|
+
}, G1 = b(s1), r1 = ({ className: d }) => /* @__PURE__ */ M(
|
|
1325
1325
|
"div",
|
|
1326
1326
|
{
|
|
1327
1327
|
className: m(
|
|
@@ -1333,7 +1333,7 @@ const W = {
|
|
|
1333
1333
|
/* @__PURE__ */ c("span", { className: "sr-only", children: "Loading..." })
|
|
1334
1334
|
]
|
|
1335
1335
|
}
|
|
1336
|
-
),
|
|
1336
|
+
), Q1 = b(r1), l1 = ({
|
|
1337
1337
|
placeholderClass: d = "",
|
|
1338
1338
|
children: e,
|
|
1339
1339
|
className: t,
|
|
@@ -1368,7 +1368,7 @@ const W = {
|
|
|
1368
1368
|
children: /* @__PURE__ */ c(y, { name: "chevronRight" })
|
|
1369
1369
|
}
|
|
1370
1370
|
)
|
|
1371
|
-
] }),
|
|
1371
|
+
] }), J1 = b(l1), i1 = {
|
|
1372
1372
|
name: "spinnerDark",
|
|
1373
1373
|
color: "text-teal-700",
|
|
1374
1374
|
viewBox: "0 0 24 24"
|
|
@@ -1379,7 +1379,7 @@ const W = {
|
|
|
1379
1379
|
size: "xSmall",
|
|
1380
1380
|
...i1
|
|
1381
1381
|
}
|
|
1382
|
-
) }),
|
|
1382
|
+
) }), _1 = b(o1), Y1 = ({
|
|
1383
1383
|
className: d,
|
|
1384
1384
|
value: e
|
|
1385
1385
|
}) => {
|
|
@@ -1513,7 +1513,29 @@ const W = {
|
|
|
1513
1513
|
a && /* @__PURE__ */ c("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
|
|
1514
1514
|
]
|
|
1515
1515
|
}
|
|
1516
|
-
), T = b(h1), u1 = ({
|
|
1516
|
+
), T = b(h1), u1 = ({ checked: d = !1, props: e = {} }) => /* @__PURE__ */ c(S, { children: /* @__PURE__ */ c("label", { className: "flex cursor-pointer select-none items-center", children: /* @__PURE__ */ M("div", { className: "relative", children: [
|
|
1517
|
+
/* @__PURE__ */ c(
|
|
1518
|
+
"input",
|
|
1519
|
+
{
|
|
1520
|
+
type: "checkbox",
|
|
1521
|
+
checked: d,
|
|
1522
|
+
className: "sr-only",
|
|
1523
|
+
...e
|
|
1524
|
+
}
|
|
1525
|
+
),
|
|
1526
|
+
/* @__PURE__ */ c(
|
|
1527
|
+
"div",
|
|
1528
|
+
{
|
|
1529
|
+
className: `box block h-8 w-14 rounded-full ${d ? "bg-[#365487]" : "bg-black-250"}`
|
|
1530
|
+
}
|
|
1531
|
+
),
|
|
1532
|
+
/* @__PURE__ */ c(
|
|
1533
|
+
"div",
|
|
1534
|
+
{
|
|
1535
|
+
className: `absolute left-1 top-1 flex h-6 w-6 items-center justify-center rounded-full bg-white transition ${d ? "translate-x-full" : ""}`
|
|
1536
|
+
}
|
|
1537
|
+
)
|
|
1538
|
+
] }) }) }), K1 = b(u1), p1 = ({
|
|
1517
1539
|
btnClass: d,
|
|
1518
1540
|
className: e = "",
|
|
1519
1541
|
containerClass: t,
|
|
@@ -1522,7 +1544,7 @@ const W = {
|
|
|
1522
1544
|
titleClass: s,
|
|
1523
1545
|
uppercase: l = !0
|
|
1524
1546
|
}) => {
|
|
1525
|
-
const i = a || /* @__PURE__ */ M(
|
|
1547
|
+
const i = a || /* @__PURE__ */ M(S, { children: [
|
|
1526
1548
|
"Typical email response time is 2-3 hours. If you require immediate assistance you may use our",
|
|
1527
1549
|
" ",
|
|
1528
1550
|
/* @__PURE__ */ c(
|
|
@@ -1611,7 +1633,7 @@ const W = {
|
|
|
1611
1633
|
]
|
|
1612
1634
|
}
|
|
1613
1635
|
);
|
|
1614
|
-
},
|
|
1636
|
+
}, X1 = b(p1), m1 = ({
|
|
1615
1637
|
block: d = !1,
|
|
1616
1638
|
children: e,
|
|
1617
1639
|
className: t,
|
|
@@ -1649,7 +1671,7 @@ const W = {
|
|
|
1649
1671
|
]
|
|
1650
1672
|
}
|
|
1651
1673
|
);
|
|
1652
|
-
},
|
|
1674
|
+
}, e2 = b(m1), f1 = ({
|
|
1653
1675
|
children: d,
|
|
1654
1676
|
className: e,
|
|
1655
1677
|
colGap: t = 2,
|
|
@@ -1684,7 +1706,7 @@ const W = {
|
|
|
1684
1706
|
d
|
|
1685
1707
|
]
|
|
1686
1708
|
}
|
|
1687
|
-
),
|
|
1709
|
+
), t2 = b(f1), a2 = ({
|
|
1688
1710
|
breakPage: d = !1,
|
|
1689
1711
|
children: e,
|
|
1690
1712
|
className: t,
|
|
@@ -1710,7 +1732,7 @@ const W = {
|
|
|
1710
1732
|
e
|
|
1711
1733
|
]
|
|
1712
1734
|
}
|
|
1713
|
-
),
|
|
1735
|
+
), n2 = ({ children: d, className: e, list: t = !0 }) => /* @__PURE__ */ c(t ? "li" : "div", { className: m("stacked-list", e), children: d }), V1 = ({ align: d = "center", children: e, className: t, tag: a = "h1", title: n }) => /* @__PURE__ */ c(
|
|
1714
1736
|
a,
|
|
1715
1737
|
{
|
|
1716
1738
|
className: m(
|
|
@@ -1724,7 +1746,7 @@ const W = {
|
|
|
1724
1746
|
),
|
|
1725
1747
|
children: n || e
|
|
1726
1748
|
}
|
|
1727
|
-
),
|
|
1749
|
+
), s2 = b(V1), H1 = {
|
|
1728
1750
|
circular: "circular 3s linear infinite",
|
|
1729
1751
|
"circular-reverse": "circular 3s linear reverse infinite",
|
|
1730
1752
|
"fade-in": "fade-in 0.2.5s ease-out",
|
|
@@ -1736,17 +1758,17 @@ const W = {
|
|
|
1736
1758
|
"menu-open": "menu-open 0.1s ease-out",
|
|
1737
1759
|
"menu-close": "menu-close 0.1s ease-in-out",
|
|
1738
1760
|
indeterminate_first: "indeterminate_first 1.1s ease-in-out infinite"
|
|
1739
|
-
}, H1 = {
|
|
1740
|
-
map: "var(--map)"
|
|
1741
1761
|
}, C1 = {
|
|
1762
|
+
map: "var(--map)"
|
|
1763
|
+
}, L1 = {
|
|
1742
1764
|
"3xs": "0.5rem",
|
|
1743
1765
|
xxs: "0.625rem",
|
|
1744
1766
|
"2.5xl": "1.625rem",
|
|
1745
1767
|
"2.75xl": "1.75rem",
|
|
1746
1768
|
"3.5xl": "2rem"
|
|
1747
|
-
}, L1 = {
|
|
1748
|
-
17: "repeat(17, minmax(0, 1fr))"
|
|
1749
1769
|
}, M1 = {
|
|
1770
|
+
17: "repeat(17, minmax(0, 1fr))"
|
|
1771
|
+
}, g1 = {
|
|
1750
1772
|
circular: {
|
|
1751
1773
|
"100%": {
|
|
1752
1774
|
transform: "rotate(360deg)"
|
|
@@ -1836,12 +1858,12 @@ const W = {
|
|
|
1836
1858
|
transform: "translateX(100%)"
|
|
1837
1859
|
}
|
|
1838
1860
|
}
|
|
1839
|
-
},
|
|
1861
|
+
}, v1 = {
|
|
1840
1862
|
20: "5rem",
|
|
1841
1863
|
24: "6rem",
|
|
1842
1864
|
28: "7rem",
|
|
1843
1865
|
32: "8rem"
|
|
1844
|
-
},
|
|
1866
|
+
}, b1 = {
|
|
1845
1867
|
aside: "268px",
|
|
1846
1868
|
container: "724px",
|
|
1847
1869
|
page: "1200px"
|
|
@@ -1863,21 +1885,21 @@ const W = {
|
|
|
1863
1885
|
max: "1199px"
|
|
1864
1886
|
},
|
|
1865
1887
|
"lg-up": "1200px"
|
|
1866
|
-
},
|
|
1888
|
+
}, x1 = {
|
|
1867
1889
|
0: "0ms",
|
|
1868
1890
|
50: "50ms"
|
|
1869
1891
|
}, y1 = {
|
|
1870
1892
|
"center-top": "center 30%"
|
|
1871
1893
|
}, O = {
|
|
1872
|
-
animation:
|
|
1873
|
-
backgroundImage:
|
|
1874
|
-
fontSize:
|
|
1875
|
-
gridTemplateColumns:
|
|
1876
|
-
keyframes:
|
|
1877
|
-
margin:
|
|
1878
|
-
maxWidth:
|
|
1894
|
+
animation: H1,
|
|
1895
|
+
backgroundImage: C1,
|
|
1896
|
+
fontSize: L1,
|
|
1897
|
+
gridTemplateColumns: M1,
|
|
1898
|
+
keyframes: g1,
|
|
1899
|
+
margin: v1,
|
|
1900
|
+
maxWidth: b1,
|
|
1879
1901
|
screens: A1,
|
|
1880
|
-
transitionDuration:
|
|
1902
|
+
transitionDuration: x1,
|
|
1881
1903
|
transformOrigin: y1
|
|
1882
1904
|
}, B = {
|
|
1883
1905
|
black: {
|
|
@@ -1986,10 +2008,10 @@ const W = {
|
|
|
1986
2008
|
purple: "hsl(279 85% 57%)",
|
|
1987
2009
|
white: "hsl(0 0% 100%)",
|
|
1988
2010
|
transparent: "hsl(0 0% 100% / 0)"
|
|
1989
|
-
},
|
|
2011
|
+
}, r2 = {
|
|
1990
2012
|
...B,
|
|
1991
2013
|
...I
|
|
1992
|
-
},
|
|
2014
|
+
}, w1 = ({ matchUtilities: d, theme: e }) => d(
|
|
1993
2015
|
{
|
|
1994
2016
|
aspect: (t) => ({
|
|
1995
2017
|
"@supports (aspect-ratio: 1 / 1)": {
|
|
@@ -2010,7 +2032,7 @@ const W = {
|
|
|
2010
2032
|
})
|
|
2011
2033
|
},
|
|
2012
2034
|
{ values: e("aspectRatio") }
|
|
2013
|
-
),
|
|
2035
|
+
), S1 = ({ matchUtilities: d, theme: e }) => d(
|
|
2014
2036
|
{
|
|
2015
2037
|
"animation-delay": (t) => ({
|
|
2016
2038
|
"animation-delay": t
|
|
@@ -2019,11 +2041,11 @@ const W = {
|
|
|
2019
2041
|
{
|
|
2020
2042
|
values: e("transitionDelay")
|
|
2021
2043
|
}
|
|
2022
|
-
),
|
|
2044
|
+
), k1 = ({ matchUtilities: d }) => d({
|
|
2023
2045
|
"max-inline": (e) => ({
|
|
2024
2046
|
"max-inline-size": e
|
|
2025
2047
|
})
|
|
2026
|
-
}),
|
|
2048
|
+
}), z1 = ({ matchUtilities: d }) => d({
|
|
2027
2049
|
"max-block": (e) => ({
|
|
2028
2050
|
"max-block-size": e
|
|
2029
2051
|
})
|
|
@@ -2046,11 +2068,11 @@ const W = {
|
|
|
2046
2068
|
r[V] = {
|
|
2047
2069
|
...p,
|
|
2048
2070
|
...C
|
|
2049
|
-
}, Object.entries(l).forEach(([f,
|
|
2050
|
-
const x = `.${e(`${t}-${o}-${f}`)}`, u = i ? i({ sizeKey: o, sizeValue: h, weightKey: f, weightValue:
|
|
2071
|
+
}, Object.entries(l).forEach(([f, A]) => {
|
|
2072
|
+
const x = `.${e(`${t}-${o}-${f}`)}`, u = i ? i({ sizeKey: o, sizeValue: h, weightKey: f, weightValue: A }) : {};
|
|
2051
2073
|
r[x] = {
|
|
2052
2074
|
...p,
|
|
2053
|
-
"font-weight":
|
|
2075
|
+
"font-weight": A,
|
|
2054
2076
|
...u
|
|
2055
2077
|
};
|
|
2056
2078
|
});
|
|
@@ -2158,16 +2180,16 @@ const W = {
|
|
|
2158
2180
|
classPrefix: "text-body",
|
|
2159
2181
|
sizes: i,
|
|
2160
2182
|
weights: s
|
|
2161
|
-
}),
|
|
2183
|
+
}), w1({ matchUtilities: e, theme: t }), S1({ matchUtilities: e, theme: t }), k1({ matchUtilities: e }), z1({ matchUtilities: e });
|
|
2162
2184
|
}
|
|
2163
|
-
],
|
|
2185
|
+
], l2 = {
|
|
2164
2186
|
theme: {
|
|
2165
2187
|
extend: O,
|
|
2166
2188
|
colors: B
|
|
2167
2189
|
},
|
|
2168
2190
|
plugins: q,
|
|
2169
2191
|
corePlugins: $
|
|
2170
|
-
},
|
|
2192
|
+
}, i2 = {
|
|
2171
2193
|
theme: {
|
|
2172
2194
|
extend: O,
|
|
2173
2195
|
colors: I
|
|
@@ -2175,7 +2197,7 @@ const W = {
|
|
|
2175
2197
|
plugins: q,
|
|
2176
2198
|
corePlugins: $
|
|
2177
2199
|
};
|
|
2178
|
-
function
|
|
2200
|
+
function Z1(d, e = []) {
|
|
2179
2201
|
return new Proxy(d, {
|
|
2180
2202
|
get: function(t, a) {
|
|
2181
2203
|
return t[a];
|
|
@@ -2186,13 +2208,13 @@ function z1(d, e = []) {
|
|
|
2186
2208
|
}
|
|
2187
2209
|
});
|
|
2188
2210
|
}
|
|
2189
|
-
function
|
|
2211
|
+
function o2(d, e = []) {
|
|
2190
2212
|
e.length && (d == null || d.classList.add(...e));
|
|
2191
2213
|
}
|
|
2192
|
-
function
|
|
2214
|
+
function c2(d, e = []) {
|
|
2193
2215
|
e.length && (d == null || d.classList.remove(...e));
|
|
2194
2216
|
}
|
|
2195
|
-
function
|
|
2217
|
+
function d2({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
|
|
2196
2218
|
let s = !0;
|
|
2197
2219
|
for (const [l, i] of t.entries()) {
|
|
2198
2220
|
const r = e.querySelector(`[name="${l}"]`), o = a[l], h = [];
|
|
@@ -2204,21 +2226,21 @@ function o2({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
|
|
|
2204
2226
|
}
|
|
2205
2227
|
return s;
|
|
2206
2228
|
}
|
|
2207
|
-
function
|
|
2229
|
+
function h2(d) {
|
|
2208
2230
|
const e = (
|
|
2209
2231
|
// eslint-disable-next-line
|
|
2210
2232
|
/(?:[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](?:[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])+)\])/
|
|
2211
2233
|
), t = /[^a-zA-Z]+$/;
|
|
2212
2234
|
return e.test(d.toLowerCase()) && !t.test(d);
|
|
2213
2235
|
}
|
|
2214
|
-
class
|
|
2236
|
+
class u2 {
|
|
2215
2237
|
init(e) {
|
|
2216
2238
|
this.handleSliders(e);
|
|
2217
2239
|
}
|
|
2218
2240
|
handleSliders({ items: e, id: t = 1, cb: a }) {
|
|
2219
2241
|
if (!document.getElementById(`slider-container-${t}`))
|
|
2220
2242
|
return;
|
|
2221
|
-
const n =
|
|
2243
|
+
const n = Z1(
|
|
2222
2244
|
{
|
|
2223
2245
|
activeIndex: 0,
|
|
2224
2246
|
computedSlides: [],
|
|
@@ -2751,23 +2773,23 @@ class H {
|
|
|
2751
2773
|
"outside",
|
|
2752
2774
|
"removed"
|
|
2753
2775
|
].reduce(
|
|
2754
|
-
(u,
|
|
2776
|
+
(u, g) => ({
|
|
2755
2777
|
...u,
|
|
2756
|
-
[
|
|
2778
|
+
[g]: new Event(g)
|
|
2757
2779
|
}),
|
|
2758
2780
|
{}
|
|
2759
|
-
), V = new MutationObserver((u,
|
|
2781
|
+
), V = new MutationObserver((u, g) => {
|
|
2760
2782
|
u.forEach(async (w) => {
|
|
2761
2783
|
if (w.attributeName === "open") {
|
|
2762
|
-
const
|
|
2763
|
-
if (!(
|
|
2764
|
-
|
|
2784
|
+
const v = w.target;
|
|
2785
|
+
if (!(v == null ? void 0 : v.hasAttribute("open"))) return;
|
|
2786
|
+
v == null || v.removeAttribute("inert"), v == null || v.dispatchEvent(p.opening), v && await x(v), v == null || v.dispatchEvent(p.opened);
|
|
2765
2787
|
}
|
|
2766
2788
|
});
|
|
2767
|
-
}), C = new MutationObserver((u,
|
|
2789
|
+
}), C = new MutationObserver((u, g) => {
|
|
2768
2790
|
u.forEach((w) => {
|
|
2769
|
-
w.removedNodes.forEach((
|
|
2770
|
-
|
|
2791
|
+
w.removedNodes.forEach((v) => {
|
|
2792
|
+
v.nodeName === "DIALOG" && (v.removeEventListener("click", A), v.removeEventListener("close", f), v.dispatchEvent(p.removed), C == null || C.disconnect(), V == null || V.disconnect());
|
|
2771
2793
|
});
|
|
2772
2794
|
});
|
|
2773
2795
|
});
|
|
@@ -2780,21 +2802,21 @@ class H {
|
|
|
2780
2802
|
}));
|
|
2781
2803
|
const f = async ({ target: u }) => {
|
|
2782
2804
|
u == null || u.classList.add("closing"), u == null || u.setAttribute("inert", ""), u == null || u.dispatchEvent(p.closing), u && await x(u), u == null || u.classList.remove("closing"), u == null || u.dispatchEvent(p.closed);
|
|
2783
|
-
},
|
|
2805
|
+
}, A = async ({ target: u }) => {
|
|
2784
2806
|
(u == null ? void 0 : u.nodeName) === "DIALOG" && (u == null || u.dispatchEvent(p.outside), o == null || o.close("outside"));
|
|
2785
2807
|
}, x = (u) => Promise.allSettled(
|
|
2786
|
-
u == null ? void 0 : u.getAnimations().map((
|
|
2808
|
+
u == null ? void 0 : u.getAnimations().map((g) => g == null ? void 0 : g.finished)
|
|
2787
2809
|
);
|
|
2788
|
-
return !e && (o == null || o.addEventListener("click",
|
|
2810
|
+
return !e && (o == null || o.addEventListener("click", A)), o == null || o.addEventListener("close", async (u) => {
|
|
2789
2811
|
await f({ target: u.target }), a && a(u, o);
|
|
2790
2812
|
}), n && (o == null || o.addEventListener("open", async (u) => {
|
|
2791
2813
|
n(u, o);
|
|
2792
2814
|
})), r == null || r.forEach((u) => {
|
|
2793
|
-
u.addEventListener("click", (
|
|
2794
|
-
o == null || o.showModal(), s && s(
|
|
2815
|
+
u.addEventListener("click", (g) => {
|
|
2816
|
+
o == null || o.showModal(), s && s(g, o);
|
|
2795
2817
|
});
|
|
2796
2818
|
}), h == null || h.forEach((u) => {
|
|
2797
|
-
u.addEventListener("click", async (
|
|
2819
|
+
u.addEventListener("click", async (g) => {
|
|
2798
2820
|
o == null || o.close("close");
|
|
2799
2821
|
});
|
|
2800
2822
|
}), {
|
|
@@ -2956,9 +2978,9 @@ class H {
|
|
|
2956
2978
|
license: p = null,
|
|
2957
2979
|
token: V = null,
|
|
2958
2980
|
phone: C = null
|
|
2959
|
-
} = e || {}, f = t && t !== "",
|
|
2981
|
+
} = e || {}, f = t && t !== "", A = l && l !== "" && l !== "18", x = i && i !== "" && l !== "99";
|
|
2960
2982
|
let u = [];
|
|
2961
|
-
return t && t !== "" && u.push("name=" + t), f || (a && a !== "" && u.push("first=" + a), n && n !== "" && u.push("middle=" + n), s && s !== "" && u.push("last=" + s)),
|
|
2983
|
+
return t && t !== "" && u.push("name=" + t), f || (a && a !== "" && u.push("first=" + a), n && n !== "" && u.push("middle=" + n), s && s !== "" && u.push("last=" + s)), A && x ? parseInt(l) > parseInt(i) ? (u.push("min=" + i), u.push("max=" + l)) : (u.push("min=" + l), u.push("max=" + i)) : (A && u.push("min=" + l), x && u.push("max=" + i)), C && C !== "" && u.push("phone=" + C), r && r !== "" && u.push("city=" + r), p && p !== "" && u.push("license=" + p), h && h !== "" && u.push("vin=" + h), o && o !== "" && u.push("state=" + o), V && V !== "" && u.push("token=" + V), u.join("&");
|
|
2962
2984
|
}
|
|
2963
2985
|
static padTo2Digits(e) {
|
|
2964
2986
|
return e.toString().padStart(2, "0");
|
|
@@ -2977,8 +2999,9 @@ class H {
|
|
|
2977
2999
|
state: r = "",
|
|
2978
3000
|
useGoogle: o = !1,
|
|
2979
3001
|
useGoogleOverride: h = !1,
|
|
2980
|
-
useAmazonOverride: p = !1
|
|
2981
|
-
|
|
3002
|
+
useAmazonOverride: p = !1,
|
|
3003
|
+
isSandboxAccount: V = !1
|
|
3004
|
+
} = t ?? {}, { tolken: C = null, ip: f = null } = await H.getHeaders(), x = [
|
|
2982
3005
|
"query=" + encodeURIComponent(this.cleanupAddress(e)),
|
|
2983
3006
|
"addressesOnly=" + a,
|
|
2984
3007
|
"useSearch=" + l,
|
|
@@ -2987,11 +3010,12 @@ class H {
|
|
|
2987
3010
|
"useLocation=" + i,
|
|
2988
3011
|
"useGoogle=" + o,
|
|
2989
3012
|
"useGoogleOverride=" + h,
|
|
2990
|
-
"useAmazonOverride=" + p
|
|
3013
|
+
"useAmazonOverride=" + p,
|
|
3014
|
+
"isSandboxAccount=" + V
|
|
2991
3015
|
];
|
|
2992
|
-
r && r !== "" && !s &&
|
|
2993
|
-
const
|
|
2994
|
-
return await H.makeSearchFetchCall(
|
|
3016
|
+
r && r !== "" && !s && x.push("state=" + r), C && C !== "" && x.push("tolken=" + C), f && f !== "" && x.push("ip=" + f);
|
|
3017
|
+
const u = x.join("&"), w = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + u;
|
|
3018
|
+
return await H.makeSearchFetchCall(w);
|
|
2995
3019
|
}
|
|
2996
3020
|
static removeElements(e) {
|
|
2997
3021
|
document.querySelectorAll(e).forEach((t) => t == null ? void 0 : t.remove());
|
|
@@ -3140,43 +3164,44 @@ class H {
|
|
|
3140
3164
|
}
|
|
3141
3165
|
}
|
|
3142
3166
|
export {
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3167
|
+
T1 as Accordion,
|
|
3168
|
+
D1 as Alert,
|
|
3169
|
+
O1 as Autocomplete,
|
|
3170
|
+
B1 as Badge,
|
|
3147
3171
|
F as Button,
|
|
3148
|
-
|
|
3149
|
-
|
|
3172
|
+
u2 as CardSlider,
|
|
3173
|
+
I1 as Checkbox,
|
|
3150
3174
|
H as Common,
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3175
|
+
X1 as ContactForm,
|
|
3176
|
+
e2 as ContentCard,
|
|
3177
|
+
$1 as Dialog,
|
|
3178
|
+
q1 as Dots,
|
|
3179
|
+
t2 as FlexItem,
|
|
3180
|
+
s2 as FunnelHeader,
|
|
3157
3181
|
y as Icon,
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3182
|
+
j1 as LoadingBar,
|
|
3183
|
+
R1 as Popover,
|
|
3184
|
+
P1 as ProcessingSpinner,
|
|
3185
|
+
W1 as ProgressBar,
|
|
3186
|
+
U1 as Radio,
|
|
3187
|
+
G1 as Select,
|
|
3188
|
+
Q1 as Skeleton,
|
|
3189
|
+
J1 as Slider,
|
|
3190
|
+
a2 as Spacer,
|
|
3191
|
+
_1 as Spinner,
|
|
3192
|
+
n2 as StackedListItem,
|
|
3193
|
+
Y1 as Stars,
|
|
3170
3194
|
d1 as TextArea,
|
|
3171
3195
|
T as Textbox,
|
|
3172
|
-
|
|
3173
|
-
|
|
3196
|
+
K1 as Toggle,
|
|
3197
|
+
o2 as addClass,
|
|
3198
|
+
r2 as colors,
|
|
3174
3199
|
$ as corePlugins,
|
|
3175
|
-
|
|
3200
|
+
i2 as elerisPreset,
|
|
3176
3201
|
O as extensions,
|
|
3177
3202
|
q as plugins,
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3203
|
+
l2 as propertyPreset,
|
|
3204
|
+
c2 as removeClass,
|
|
3205
|
+
h2 as validateEmail,
|
|
3206
|
+
d2 as validateForm
|
|
3182
3207
|
};
|