@point-hub/papp 0.0.117 → 0.0.118
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/base-pagination.vue.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +21 -17
- package/dist/index.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3372,10 +3372,10 @@ const Pd = { class: "dropdown-trigger-button" }, Dd = /* @__PURE__ */ M({
|
|
|
3372
3372
|
}, 8, ["show"]);
|
|
3373
3373
|
};
|
|
3374
3374
|
}
|
|
3375
|
-
}), Ud = {
|
|
3375
|
+
}), Ud = { class: "flex w-full items-center justify-between" }, zd = { class: "text-sm text-slate-600 dark:text-slate-400" }, Yd = {
|
|
3376
3376
|
key: 0,
|
|
3377
|
-
class: "flex
|
|
3378
|
-
},
|
|
3377
|
+
class: "flex"
|
|
3378
|
+
}, Xd = /* @__PURE__ */ M({
|
|
3379
3379
|
__name: "base-pagination",
|
|
3380
3380
|
props: {
|
|
3381
3381
|
modelValue: {},
|
|
@@ -3410,13 +3410,14 @@ const Pd = { class: "dropdown-trigger-button" }, Dd = /* @__PURE__ */ M({
|
|
|
3410
3410
|
};
|
|
3411
3411
|
return (c, h) => {
|
|
3412
3412
|
const g = G("base-icon"), v = G("base-button");
|
|
3413
|
-
return
|
|
3413
|
+
return S(), P("div", Ud, [
|
|
3414
3414
|
C("div", null, [
|
|
3415
3415
|
C("p", zd, " Showing " + q(1 + (a.value - 1) * c.pageSize) + " to " + q(a.value * c.pageSize > c.totalDocument ? c.totalDocument : a.value * c.pageSize) + " of " + q(c.totalDocument) + " entries ", 1)
|
|
3416
3416
|
]),
|
|
3417
|
-
|
|
3418
|
-
|
|
3417
|
+
i.value > 1 ? (S(), P("div", Yd, [
|
|
3418
|
+
i.value > 5 ? (S(), Y(v, {
|
|
3419
3419
|
key: 0,
|
|
3420
|
+
disabled: a.value === 1,
|
|
3420
3421
|
variant: "text",
|
|
3421
3422
|
size: "xs",
|
|
3422
3423
|
onClick: h[0] || (h[0] = (m) => l())
|
|
@@ -3425,9 +3426,10 @@ const Pd = { class: "dropdown-trigger-button" }, Dd = /* @__PURE__ */ M({
|
|
|
3425
3426
|
j(g, { icon: "i-fas-angles-left" })
|
|
3426
3427
|
]),
|
|
3427
3428
|
_: 1
|
|
3428
|
-
})) : W("", !0),
|
|
3429
|
-
|
|
3429
|
+
}, 8, ["disabled"])) : W("", !0),
|
|
3430
|
+
i.value > 5 ? (S(), Y(v, {
|
|
3430
3431
|
key: 1,
|
|
3432
|
+
disabled: a.value === 1,
|
|
3431
3433
|
variant: "text",
|
|
3432
3434
|
size: "xs",
|
|
3433
3435
|
onClick: h[1] || (h[1] = (m) => s())
|
|
@@ -3436,7 +3438,7 @@ const Pd = { class: "dropdown-trigger-button" }, Dd = /* @__PURE__ */ M({
|
|
|
3436
3438
|
j(g, { icon: "i-fas-angle-left" })
|
|
3437
3439
|
]),
|
|
3438
3440
|
_: 1
|
|
3439
|
-
})) : W("", !0),
|
|
3441
|
+
}, 8, ["disabled"])) : W("", !0),
|
|
3440
3442
|
(S(!0), P(fe, null, _e(i.value, (m) => (S(), P(fe, { key: m }, [
|
|
3441
3443
|
f(m) ? (S(), Y(v, {
|
|
3442
3444
|
key: 0,
|
|
@@ -3454,8 +3456,9 @@ const Pd = { class: "dropdown-trigger-button" }, Dd = /* @__PURE__ */ M({
|
|
|
3454
3456
|
_: 2
|
|
3455
3457
|
}, 1032, ["onClick", "class"])) : W("", !0)
|
|
3456
3458
|
], 64))), 128)),
|
|
3457
|
-
|
|
3459
|
+
i.value > 5 ? (S(), Y(v, {
|
|
3458
3460
|
key: 2,
|
|
3461
|
+
disabled: a.value === i.value,
|
|
3459
3462
|
variant: "text",
|
|
3460
3463
|
size: "xs",
|
|
3461
3464
|
onClick: h[2] || (h[2] = (m) => d())
|
|
@@ -3464,9 +3467,10 @@ const Pd = { class: "dropdown-trigger-button" }, Dd = /* @__PURE__ */ M({
|
|
|
3464
3467
|
j(g, { icon: "i-fas-angle-right flex items-center justify-center self-center" })
|
|
3465
3468
|
]),
|
|
3466
3469
|
_: 1
|
|
3467
|
-
})) : W("", !0),
|
|
3468
|
-
|
|
3470
|
+
}, 8, ["disabled"])) : W("", !0),
|
|
3471
|
+
i.value > 5 ? (S(), Y(v, {
|
|
3469
3472
|
key: 3,
|
|
3473
|
+
disabled: a.value === i.value,
|
|
3470
3474
|
variant: "text",
|
|
3471
3475
|
size: "xs",
|
|
3472
3476
|
onClick: h[3] || (h[3] = (m) => u())
|
|
@@ -3475,9 +3479,9 @@ const Pd = { class: "dropdown-trigger-button" }, Dd = /* @__PURE__ */ M({
|
|
|
3475
3479
|
j(g, { icon: "i-fas-angles-right" })
|
|
3476
3480
|
]),
|
|
3477
3481
|
_: 1
|
|
3478
|
-
})) : W("", !0)
|
|
3479
|
-
])
|
|
3480
|
-
])
|
|
3482
|
+
}, 8, ["disabled"])) : W("", !0)
|
|
3483
|
+
])) : W("", !0)
|
|
3484
|
+
]);
|
|
3481
3485
|
};
|
|
3482
3486
|
}
|
|
3483
3487
|
});
|
|
@@ -7748,7 +7752,7 @@ const cm = /* @__PURE__ */ M({
|
|
|
7748
7752
|
C("label", {
|
|
7749
7753
|
for: n.id,
|
|
7750
7754
|
class: U(["font-bold flex", {
|
|
7751
|
-
"lg:flex-col lg:w-20% xl:w-17% 2xl:w-15%": t.layout === "horizontal",
|
|
7755
|
+
"lg:flex-col lg:w-20% xl:w-17% 2xl:w-15% items-center lg:items-start gap-1": t.layout === "horizontal",
|
|
7752
7756
|
"text-sm items-center gap-1": t.layout === "vertical"
|
|
7753
7757
|
}])
|
|
7754
7758
|
}, [
|
|
@@ -7788,7 +7792,7 @@ const cm = /* @__PURE__ */ M({
|
|
|
7788
7792
|
], 2);
|
|
7789
7793
|
};
|
|
7790
7794
|
}
|
|
7791
|
-
}), Bm = /* @__PURE__ */ ie(Dm, [["__scopeId", "data-v-
|
|
7795
|
+
}), Bm = /* @__PURE__ */ ie(Dm, [["__scopeId", "data-v-cc26de8d"]]), Im = { class: "relative w-full" }, _m = { class: "relative" }, Mm = {
|
|
7792
7796
|
key: 0,
|
|
7793
7797
|
class: "relative cursor-default select-none px-4 py-2 text-gray-700"
|
|
7794
7798
|
}, $m = {
|