bootstrap-vue-wrapper 3.0.8 → 3.0.9

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.
@@ -1 +1 @@
1
- .page-link[data-v-f98dc134]{cursor:pointer}.page-item-first[data-v-f98dc134],.page-item-last[data-v-f98dc134],.page-item-number[data-v-f98dc134]:not(.active){display:none}@media(min-width:576px){.page-item-number[data-v-f98dc134]:not(.active){display:block}}@media(min-width:992px){.page-item-first[data-v-f98dc134],.page-item-last[data-v-f98dc134]{display:block}}.cursor-pointer[data-v-b575522d]{cursor:pointer}
1
+ .page-link[data-v-f98dc134]{cursor:pointer}.page-item-first[data-v-f98dc134],.page-item-last[data-v-f98dc134],.page-item-number[data-v-f98dc134]:not(.active){display:none}@media(min-width:576px){.page-item-number[data-v-f98dc134]:not(.active){display:block}}@media(min-width:992px){.page-item-first[data-v-f98dc134],.page-item-last[data-v-f98dc134]{display:block}}.cursor-pointer[data-v-a98ec9aa]{cursor:pointer}
@@ -1,24 +1,24 @@
1
1
  import h from "./BsTable.vue2.js";
2
- import { openBlock as s, createElementBlock as o, createElementVNode as r, Fragment as a, renderList as u, normalizeClass as d, renderSlot as l, createTextVNode as y, toDisplayString as c, createCommentVNode as p } from "vue";
2
+ import { openBlock as t, createElementBlock as o, createElementVNode as r, Fragment as a, renderList as u, normalizeClass as d, renderSlot as l, createTextVNode as y, toDisplayString as c, createCommentVNode as p } from "vue";
3
3
  /* empty css */
4
4
  import C from "../../_virtual/_plugin-vue_export-helper.js";
5
5
  const m = { class: "table" }, v = ["onClick"], $ = { key: 0 }, b = ["colspan"], g = { key: 1 }, w = ["colspan"], f = ["textContent"], B = ["data-id", "onClick"], S = { key: 0 }, T = ["colspan"];
6
6
  function _(e, k, D, N, V, A) {
7
- return s(), o("table", m, [
7
+ return t(), o("table", m, [
8
8
  r("thead", null, [
9
9
  r("tr", null, [
10
- (s(!0), o(a, null, u(e.fields, (t) => (s(), o("th", {
11
- key: t.key,
10
+ (t(!0), o(a, null, u(e.fields, (s) => (t(), o("th", {
11
+ key: s.key,
12
12
  class: d({
13
- "cursor-pointer": e.isSortableField(t),
14
- "text-decoration-underline": e.isActiveOrderBy(t.key),
13
+ "cursor-pointer": e.isSortableField(s),
14
+ "active-order-by": e.isActiveOrderBy(s.key),
15
15
  thClass: e.thClass
16
16
  }),
17
- onClick: (i) => e.onHeadClick(t)
17
+ onClick: (i) => e.onHeadClick(s)
18
18
  }, [
19
19
  l(e.$slots, "tr", {}, () => [
20
- y(c(t.label) + " ", 1),
21
- e.isActiveOrderBy(t.key) && e.sortDesc !== void 0 ? (s(), o("i", {
20
+ y(c(s.label) + " ", 1),
21
+ e.isActiveOrderBy(s.key) && e.sortDesc !== void 0 ? (t(), o("i", {
22
22
  key: 0,
23
23
  class: d(e.getSortIconClass())
24
24
  }, null, 2)) : p("", !0)
@@ -27,7 +27,7 @@ function _(e, k, D, N, V, A) {
27
27
  ])
28
28
  ]),
29
29
  r("tbody", null, [
30
- e.isLoading ? (s(), o("tr", $, [
30
+ e.isLoading ? (t(), o("tr", $, [
31
31
  r("td", {
32
32
  colspan: e.fields.length
33
33
  }, [
@@ -37,50 +37,50 @@ function _(e, k, D, N, V, A) {
37
37
  ], -1))
38
38
  ], !0)
39
39
  ], 8, b)
40
- ])) : e.items.length === 0 ? (s(), o("tr", g, [
40
+ ])) : e.items.length === 0 ? (t(), o("tr", g, [
41
41
  r("td", {
42
42
  colspan: e.fields.length
43
43
  }, [
44
44
  l(e.$slots, "empty", {}, () => [
45
- e.emptyText !== void 0 ? (s(), o("div", {
45
+ e.emptyText !== void 0 ? (t(), o("div", {
46
46
  key: 0,
47
47
  class: "text-center text-muted small",
48
48
  textContent: c(e.emptyText)
49
49
  }, null, 8, f)) : p("", !0)
50
50
  ], !0)
51
51
  ], 8, w)
52
- ])) : (s(!0), o(a, { key: 2 }, u(e.items, (t, i) => (s(), o(a, { key: i }, [
52
+ ])) : (t(!0), o(a, { key: 2 }, u(e.items, (s, i) => (t(), o(a, { key: i }, [
53
53
  r("tr", {
54
- class: d([t.trClass || "", { "cursor-pointer": e.rowClickable }]),
55
- "data-id": t.id,
56
- onClick: (n) => e.$emit("rowClicked", t)
54
+ class: d([s.trClass || "", { "cursor-pointer": e.rowClickable }]),
55
+ "data-id": s.id,
56
+ onClick: (n) => e.$emit("rowClicked", s)
57
57
  }, [
58
- (s(!0), o(a, null, u(e.fields, (n) => (s(), o("td", {
58
+ (t(!0), o(a, null, u(e.fields, (n) => (t(), o("td", {
59
59
  key: n.key,
60
60
  class: d(n.tdClass || e.tdClass)
61
61
  }, [
62
62
  l(e.$slots, "td", {
63
63
  key: i,
64
64
  field: n.key,
65
- row: t,
66
- value: n.key in t ? t[n.key] : null
65
+ row: s,
66
+ value: n.key in s ? s[n.key] : null
67
67
  }, () => [
68
- y(c(t[n.key]), 1)
68
+ y(c(s[n.key]), 1)
69
69
  ], !0)
70
70
  ], 2))), 128))
71
71
  ], 10, B),
72
- t._showRowDetails ? (s(), o("tr", S, [
72
+ s._showRowDetails ? (t(), o("tr", S, [
73
73
  r("td", {
74
74
  colspan: e.fields.length
75
75
  }, [
76
- l(e.$slots, "row-details", { row: t }, void 0, !0)
76
+ l(e.$slots, "row-details", { row: s }, void 0, !0)
77
77
  ], 8, T)
78
78
  ])) : p("", !0)
79
79
  ], 64))), 128))
80
80
  ])
81
81
  ]);
82
82
  }
83
- const O = /* @__PURE__ */ C(h, [["render", _], ["__scopeId", "data-v-b575522d"]]);
83
+ const O = /* @__PURE__ */ C(h, [["render", _], ["__scopeId", "data-v-a98ec9aa"]]);
84
84
  export {
85
85
  O as default
86
86
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-vue-wrapper",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "Bootstrap 5 components in Vue3 wrapper.",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",