@nmorph/nmorph-ui-kit 0.2.110 → 0.2.111
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/index.es.js
CHANGED
|
@@ -3835,7 +3835,7 @@ const Nd = /* @__PURE__ */ D({
|
|
|
3835
3835
|
disabled: { type: Boolean, default: !1 },
|
|
3836
3836
|
hideOnSinglePage: { type: Boolean, default: !0 },
|
|
3837
3837
|
maxVisiblePages: { default: 9 },
|
|
3838
|
-
|
|
3838
|
+
fastForwardStep: { default: 5 }
|
|
3839
3839
|
},
|
|
3840
3840
|
emits: ["update:model-value"],
|
|
3841
3841
|
setup(t, { emit: e }) {
|
|
@@ -3870,7 +3870,7 @@ const Nd = /* @__PURE__ */ D({
|
|
|
3870
3870
|
];
|
|
3871
3871
|
}), f = (g) => {
|
|
3872
3872
|
const b = Number(u.value);
|
|
3873
|
-
let _ = g === "prev" ? b - l.
|
|
3873
|
+
let _ = g === "prev" ? b - l.fastForwardStep : b + l.fastForwardStep;
|
|
3874
3874
|
_ <= 0 && (_ = 1), _ >= v.value.length && (_ = v.value.length), u.value = String(_);
|
|
3875
3875
|
};
|
|
3876
3876
|
return (g, b) => m.value ? (a(), o("div", {
|
|
@@ -3905,11 +3905,15 @@ const Nd = /* @__PURE__ */ D({
|
|
|
3905
3905
|
key: 0,
|
|
3906
3906
|
class: B(`nmorph-pagination__page-btn nmorph-pagination__${_.value}`),
|
|
3907
3907
|
text: _.label,
|
|
3908
|
+
disabled: l.disabled,
|
|
3908
3909
|
onClick: (z) => f(_.value)
|
|
3909
|
-
}, null, 8, ["class", "text", "onClick"])) : (a(), E(p(We), de({
|
|
3910
|
+
}, null, 8, ["class", "text", "disabled", "onClick"])) : (a(), E(p(We), de({
|
|
3910
3911
|
key: 1,
|
|
3911
3912
|
ref_for: !0
|
|
3912
|
-
}, _, {
|
|
3913
|
+
}, _, {
|
|
3914
|
+
class: "nmorph-pagination__page-btn",
|
|
3915
|
+
disabled: l.disabled
|
|
3916
|
+
}), null, 16, ["disabled"]))
|
|
3913
3917
|
]))), 128))
|
|
3914
3918
|
]),
|
|
3915
3919
|
_: 1
|
|
@@ -4614,7 +4618,7 @@ const Je = (t) => {
|
|
|
4614
4618
|
};
|
|
4615
4619
|
return { placement: c, placementCoords: u };
|
|
4616
4620
|
}, V9 = () => {
|
|
4617
|
-
}, Wu = "@nmorph/nmorph-ui-kit", Lu = "module", Uu = "0.2.
|
|
4621
|
+
}, Wu = "@nmorph/nmorph-ui-kit", Lu = "module", Uu = "0.2.111", Yu = "MIT", Gu = {
|
|
4618
4622
|
node: "18.13.0",
|
|
4619
4623
|
npm: "8.19.3"
|
|
4620
4624
|
}, Qu = "./dist/index.d.ts", Ku = "./dist/index.umd.js", Zu = "./dist/index.es.js", Xu = "./dist/style.css", Ju = [
|