bootstrap-vue-wrapper 3.0.9 → 3.0.10

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-a98ec9aa]{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-4b67cfc2]{cursor:pointer}
@@ -62,6 +62,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
62
62
  type: StringConstructor;
63
63
  default: undefined;
64
64
  };
65
+ sortAscIconClass: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ };
69
+ sortDescIconClass: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
65
73
  }>, {}, {}, {}, {
66
74
  /**
67
75
  * Is order by active by field?
@@ -157,6 +165,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
157
165
  type: StringConstructor;
158
166
  default: undefined;
159
167
  };
168
+ sortAscIconClass: {
169
+ type: StringConstructor;
170
+ default: string;
171
+ };
172
+ sortDescIconClass: {
173
+ type: StringConstructor;
174
+ default: string;
175
+ };
160
176
  }>> & Readonly<{
161
177
  onOrderChanged?: ((...args: any[]) => any) | undefined;
162
178
  onRowClicked?: ((...args: any[]) => any) | undefined;
@@ -168,5 +184,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
168
184
  tdClass: string;
169
185
  rowClickable: boolean;
170
186
  emptyText: string;
187
+ sortAscIconClass: string;
188
+ sortDescIconClass: string;
171
189
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
172
190
  export default _default;
@@ -2,7 +2,7 @@ import h from "./BsTable.vue2.js";
2
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
- 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"];
5
+ const m = { class: "table" }, v = ["onClick"], $ = { key: 0 }, b = ["colspan"], g = { key: 1 }, f = ["colspan"], w = ["textContent"], B = ["data-id", "onClick"], S = { key: 0 }, T = ["colspan"];
6
6
  function _(e, k, D, N, V, A) {
7
7
  return t(), o("table", m, [
8
8
  r("thead", null, [
@@ -46,9 +46,9 @@ function _(e, k, D, N, V, A) {
46
46
  key: 0,
47
47
  class: "text-center text-muted small",
48
48
  textContent: c(e.emptyText)
49
- }, null, 8, f)) : p("", !0)
49
+ }, null, 8, w)) : p("", !0)
50
50
  ], !0)
51
- ], 8, w)
51
+ ], 8, f)
52
52
  ])) : (t(!0), o(a, { key: 2 }, u(e.items, (s, i) => (t(), o(a, { key: i }, [
53
53
  r("tr", {
54
54
  class: d([s.trClass || "", { "cursor-pointer": e.rowClickable }]),
@@ -80,7 +80,7 @@ function _(e, k, D, N, V, A) {
80
80
  ])
81
81
  ]);
82
82
  }
83
- const O = /* @__PURE__ */ C(h, [["render", _], ["__scopeId", "data-v-a98ec9aa"]]);
83
+ const O = /* @__PURE__ */ C(h, [["render", _], ["__scopeId", "data-v-4b67cfc2"]]);
84
84
  export {
85
85
  O as default
86
86
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t } from "vue";
2
- const i = t({
2
+ const s = t({
3
3
  name: "BsTable",
4
4
  props: {
5
5
  /**
@@ -62,6 +62,14 @@ const i = t({
62
62
  emptyText: {
63
63
  type: String,
64
64
  default: void 0
65
+ },
66
+ sortAscIconClass: {
67
+ type: String,
68
+ default: "bi bi-caret-down-fill"
69
+ },
70
+ sortDescIconClass: {
71
+ type: String,
72
+ default: "bi bi-caret-up-fill"
65
73
  }
66
74
  },
67
75
  emits: ["orderChanged", "rowClicked"],
@@ -92,7 +100,7 @@ const i = t({
92
100
  getSortIconClass() {
93
101
  if (this.sortDesc === void 0)
94
102
  throw new Error("Sort desc value is null, cannot calculate the sort icon!");
95
- return this.sortDesc ? "bi bi-caret-up-fill" : "bi bi-caret-down-fill";
103
+ return this.sortDesc ? this.sortDescIconClass : this.sortAscIconClass;
96
104
  },
97
105
  /**
98
106
  * Calcuate sort desc value on click
@@ -116,5 +124,5 @@ const i = t({
116
124
  }
117
125
  });
118
126
  export {
119
- i as default
127
+ s as default
120
128
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-vue-wrapper",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "Bootstrap 5 components in Vue3 wrapper.",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",