@visitscotland/component-library 5.83.2 → 5.83.3
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.
|
@@ -8727,7 +8727,7 @@ const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["render", _sfc_
|
|
|
8727
8727
|
return (n - e) * a / (t - e);
|
|
8728
8728
|
}
|
|
8729
8729
|
}
|
|
8730
|
-
}, _hoisted_1$1J = ["width", "height"], _hoisted_2$1d = ["stroke"], _hoisted_3$$ = ["stroke"], _hoisted_4$J = ["stroke"], _hoisted_5$x = ["stroke"], _hoisted_6$l = ["stroke"], _hoisted_7$i = ["stroke"], _hoisted_8$
|
|
8730
|
+
}, _hoisted_1$1J = ["width", "height"], _hoisted_2$1d = ["stroke"], _hoisted_3$$ = ["stroke"], _hoisted_4$J = ["stroke"], _hoisted_5$x = ["stroke"], _hoisted_6$l = ["stroke"], _hoisted_7$i = ["stroke"], _hoisted_8$9 = ["stroke"], _hoisted_9$8 = ["stroke"], _hoisted_10$8 = ["stroke"], _hoisted_11$6 = ["stroke"], _hoisted_12$4 = ["stroke"], _hoisted_13$4 = ["stroke"], _hoisted_14$3 = ["stroke"], _hoisted_15$3 = ["stroke"], _hoisted_16$3 = ["stroke"], _hoisted_17$3 = ["stroke"], _hoisted_18$2 = ["stroke"], _hoisted_19$1 = ["stroke"], _hoisted_20 = ["stroke"], _hoisted_21 = ["stroke"], _hoisted_22 = ["stroke"], _hoisted_23 = ["stroke"], _hoisted_24 = ["stroke"], _hoisted_25 = ["stroke"], _hoisted_26 = ["stroke"], _hoisted_27 = ["stroke"], _hoisted_28 = ["stroke"], _hoisted_29 = ["stroke"], _hoisted_30 = ["stroke"], _hoisted_31 = ["stroke"], _hoisted_32 = ["width", "height"], _hoisted_33 = ["fill", "cx", "cy"];
|
|
8731
8731
|
function _sfc_render$1S(e, t, n, a, o, r) {
|
|
8732
8732
|
return openBlock(), createElementBlock("svg", {
|
|
8733
8733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8814,7 +8814,7 @@ function _sfc_render$1S(e, t, n, a, o, r) {
|
|
|
8814
8814
|
"stroke-linejoin": "round",
|
|
8815
8815
|
"stroke-width": "0.5",
|
|
8816
8816
|
"fill-rule": "evenodd"
|
|
8817
|
-
}, null, 8, _hoisted_8$
|
|
8817
|
+
}, null, 8, _hoisted_8$9),
|
|
8818
8818
|
createElementVNode("path", {
|
|
8819
8819
|
d: "M51.2975,30.9843l.167,1.655,1.169-1.287Z",
|
|
8820
8820
|
transform: "translate(-0.2662 -0.2662)",
|
|
@@ -28304,7 +28304,7 @@ const VsTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_re
|
|
|
28304
28304
|
}, _hoisted_3$o = ["name", "value"], _hoisted_4$i = { key: 0 }, _hoisted_5$g = ["innerHTML"], _hoisted_6$c = {
|
|
28305
28305
|
key: 5,
|
|
28306
28306
|
class: "vs-form__hr"
|
|
28307
|
-
}, _hoisted_7$b = { "aria-live": "assertive" }, _hoisted_8$
|
|
28307
|
+
}, _hoisted_7$b = { "aria-live": "assertive" }, _hoisted_8$8 = {
|
|
28308
28308
|
key: 0,
|
|
28309
28309
|
class: "vs-form__submitting"
|
|
28310
28310
|
}, _hoisted_9$7 = ["innerHTML"], _hoisted_10$7 = {
|
|
@@ -28463,7 +28463,7 @@ function _sfc_render$S(e, t, n, a, o, r) {
|
|
|
28463
28463
|
_: 3
|
|
28464
28464
|
}),
|
|
28465
28465
|
createElementVNode("div", _hoisted_7$b, [
|
|
28466
|
-
o.submitting ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
28466
|
+
o.submitting ? (openBlock(), createElementBlock("div", _hoisted_8$8, [
|
|
28467
28467
|
createVNode(g),
|
|
28468
28468
|
renderSlot(e.$slots, "submitting")
|
|
28469
28469
|
])) : createCommentVNode("", !0),
|
|
@@ -31490,8 +31490,9 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_rend
|
|
|
31490
31490
|
"data-test": "vs-pagination"
|
|
31491
31491
|
}, _hoisted_2$m = {
|
|
31492
31492
|
"aria-live": "polite",
|
|
31493
|
-
class: "
|
|
31494
|
-
|
|
31493
|
+
class: "sr-only",
|
|
31494
|
+
role: "status"
|
|
31495
|
+
}, _hoisted_3$f = { class: "vs-pagination__count" }, _hoisted_4$d = { class: "vs-pagination__controls" }, _hoisted_5$c = { class: "vs-pagination__prev" }, _hoisted_6$b = { class: "vs-pagination__list" }, _hoisted_7$a = { key: 0 }, _hoisted_8$7 = { class: "vs-pagination__next" }, limit = 7, _sfc_main$F = {
|
|
31495
31496
|
__name: "VsPagination",
|
|
31496
31497
|
props: /* @__PURE__ */ mergeModels({
|
|
31497
31498
|
/**
|
|
@@ -31572,11 +31573,12 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_rend
|
|
|
31572
31573
|
return watch(() => n.numberOfPages, () => {
|
|
31573
31574
|
o.value = 1;
|
|
31574
31575
|
}), (c, d) => (openBlock(), createElementBlock("nav", _hoisted_1$u, [
|
|
31575
|
-
createElementVNode("div", _hoisted_2$m,
|
|
31576
|
+
createElementVNode("div", _hoisted_2$m, toDisplayString(r.value), 1),
|
|
31577
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
31576
31578
|
createElementVNode("p", null, toDisplayString(r.value), 1)
|
|
31577
31579
|
]),
|
|
31578
|
-
createElementVNode("div",
|
|
31579
|
-
createElementVNode("div",
|
|
31580
|
+
createElementVNode("div", _hoisted_4$d, [
|
|
31581
|
+
createElementVNode("div", _hoisted_5$c, [
|
|
31580
31582
|
createVNode(VsButton, {
|
|
31581
31583
|
disabled: o.value === 1,
|
|
31582
31584
|
icon: "fa-regular fa-arrow-left",
|
|
@@ -31590,12 +31592,12 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_rend
|
|
|
31590
31592
|
_: 1
|
|
31591
31593
|
}, 8, ["disabled"])
|
|
31592
31594
|
]),
|
|
31593
|
-
createElementVNode("ul",
|
|
31595
|
+
createElementVNode("ul", _hoisted_6$b, [
|
|
31594
31596
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(i.value, (u, f) => (openBlock(), createElementBlock("li", {
|
|
31595
31597
|
class: normalizeClass(s(u)),
|
|
31596
31598
|
key: f
|
|
31597
31599
|
}, [
|
|
31598
|
-
u === "ellipses" ? (openBlock(), createElementBlock("span",
|
|
31600
|
+
u === "ellipses" ? (openBlock(), createElementBlock("span", _hoisted_7$a, "⋯")) : (openBlock(), createBlock(VsButton, {
|
|
31599
31601
|
key: 1,
|
|
31600
31602
|
"aria-current": o.value === u ? "page" : null,
|
|
31601
31603
|
"aria-label": `Page ${u}`,
|
|
@@ -31609,7 +31611,7 @@ const PageIntro = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_rend
|
|
|
31609
31611
|
}, 1032, ["aria-current", "aria-label", "onClick"]))
|
|
31610
31612
|
], 2))), 128))
|
|
31611
31613
|
]),
|
|
31612
|
-
createElementVNode("div",
|
|
31614
|
+
createElementVNode("div", _hoisted_8$7, [
|
|
31613
31615
|
createVNode(VsButton, {
|
|
31614
31616
|
disabled: o.value === n.numberOfPages,
|
|
31615
31617
|
icon: "fa-regular fa-arrow-right",
|
package/package.json
CHANGED