bootstrap-vue-wrapper 2.1.16 → 2.1.18

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,6 +1,6 @@
1
- import { defineComponent as m, resolveComponent as E, openBlock as a, createElementBlock as i, createElementVNode as s, Fragment as b, renderList as y, normalizeClass as h, createBlock as w, withCtx as H, createTextVNode as S, toDisplayString as l, renderSlot as g, ref as C, createCommentVNode as u, mergeProps as k, resolveDirective as M, withDirectives as R, pushScopeId as A, popScopeId as L } from "vue";
1
+ import { defineComponent as m, resolveComponent as w, openBlock as a, createElementBlock as i, createElementVNode as s, Fragment as b, renderList as y, normalizeClass as h, createBlock as E, withCtx as M, createTextVNode as S, toDisplayString as l, renderSlot as g, ref as C, createCommentVNode as u, mergeProps as k, resolveDirective as H, withDirectives as R, pushScopeId as L, popScopeId as A } from "vue";
2
2
  import { useI18n as N } from "vue-i18n";
3
- import { Toast as B, Modal as P, Offcanvas as V } from "bootstrap";
3
+ import { Toast as P, Modal as B, Offcanvas as V } from "bootstrap";
4
4
  const O = m({
5
5
  name: "BsBreadcrumb",
6
6
  props: {
@@ -30,18 +30,18 @@ const O = m({
30
30
  return r;
31
31
  }, _ = { "aria-label": "breadcrumb" }, D = { class: "breadcrumb" }, q = ["textContent"];
32
32
  function T(e, t, r, d, v, f) {
33
- const o = E("router-link");
33
+ const o = w("router-link");
34
34
  return a(), i("nav", _, [
35
35
  s("ol", D, [
36
36
  (a(!0), i(b, null, y(e.items, (n, p) => (a(), i("li", {
37
37
  key: p,
38
38
  class: h(["breadcrumb-item", { active: !e.isRouteAvailable(n) }])
39
39
  }, [
40
- e.isRouteAvailable(n) ? (a(), w(o, {
40
+ e.isRouteAvailable(n) ? (a(), E(o, {
41
41
  key: 0,
42
42
  to: n.route
43
43
  }, {
44
- default: H(() => [
44
+ default: M(() => [
45
45
  S(l(n.title), 1)
46
46
  ]),
47
47
  _: 2
@@ -53,7 +53,7 @@ function T(e, t, r, d, v, f) {
53
53
  ])
54
54
  ]);
55
55
  }
56
- const rt = /* @__PURE__ */ c(O, [["render", T]]), F = m({
56
+ const dt = /* @__PURE__ */ c(O, [["render", T]]), F = m({
57
57
  name: "BsForm",
58
58
  emits: ["submit"],
59
59
  data() {
@@ -83,7 +83,7 @@ function z(e, t, r, d, v, f) {
83
83
  g(e.$slots, "default")
84
84
  ], 34);
85
85
  }
86
- const dt = /* @__PURE__ */ c(F, [["render", z]]);
86
+ const ut = /* @__PURE__ */ c(F, [["render", z]]);
87
87
  function I(e) {
88
88
  const { t } = N(), r = C(null);
89
89
  function d(n) {
@@ -237,7 +237,7 @@ function Q(e, t, r, d, v, f) {
237
237
  }, null, 8, K)) : u("", !0)
238
238
  ], 64);
239
239
  }
240
- const ut = /* @__PURE__ */ c(j, [["render", Q]]), W = m({
240
+ const vt = /* @__PURE__ */ c(j, [["render", Q]]), W = m({
241
241
  name: "BsCheckbox",
242
242
  props: {
243
243
  /**
@@ -371,7 +371,7 @@ function ee(e, t, r, d, v, f) {
371
371
  }, null, 8, x)) : u("", !0)
372
372
  ], 2);
373
373
  }
374
- const vt = /* @__PURE__ */ c(W, [["render", ee]]), te = m({
374
+ const ht = /* @__PURE__ */ c(W, [["render", ee]]), te = m({
375
375
  name: "BsTextarea",
376
376
  props: {
377
377
  /**
@@ -475,7 +475,7 @@ function se(e, t, r, d, v, f) {
475
475
  }, null, 8, oe)) : u("", !0)
476
476
  ], 64);
477
477
  }
478
- const ht = /* @__PURE__ */ c(te, [["render", se]]), le = m({
478
+ const ft = /* @__PURE__ */ c(te, [["render", se]]), le = m({
479
479
  name: "BsPaginator",
480
480
  props: {
481
481
  /**
@@ -639,7 +639,7 @@ function pe(e, t, r, d, v, f) {
639
639
  ])
640
640
  ]);
641
641
  }
642
- const ft = /* @__PURE__ */ c(le, [["render", pe], ["__scopeId", "data-v-ff85ae67"]]), me = m({
642
+ const pt = /* @__PURE__ */ c(le, [["render", pe], ["__scopeId", "data-v-ff85ae67"]]), me = m({
643
643
  name: "BsTable",
644
644
  props: {
645
645
  /**
@@ -690,9 +690,16 @@ const ft = /* @__PURE__ */ c(le, [["render", pe], ["__scopeId", "data-v-ff85ae67
690
690
  tdClass: {
691
691
  type: String,
692
692
  default: void 0
693
+ },
694
+ /**
695
+ * row is clickable
696
+ */
697
+ rowClickable: {
698
+ type: Boolean,
699
+ default: !1
693
700
  }
694
701
  },
695
- emits: ["orderChanged"],
702
+ emits: ["orderChanged", "rowClicked"],
696
703
  methods: {
697
704
  /**
698
705
  * Is order by active by field?
@@ -742,11 +749,11 @@ const ft = /* @__PURE__ */ c(le, [["render", pe], ["__scopeId", "data-v-ff85ae67
742
749
  this.isSortableField(e) && this.$emit("orderChanged", { sortDesc: this.calcSortDesc(e.key), orderBy: e.key });
743
750
  }
744
751
  }
745
- }), ce = (e) => (A("data-v-b32962df"), e = e(), L(), e), ge = { class: "table" }, be = ["onClick"], $e = { key: 0 }, ye = ["colspan"], Ce = /* @__PURE__ */ ce(() => /* @__PURE__ */ s("div", { class: "d-flex justify-content-center p-2" }, [
752
+ }), ce = (e) => (L("data-v-fffb8cf0"), e = e(), A(), e), ge = { class: "table" }, be = ["onClick"], $e = { key: 0 }, ye = ["colspan"], Ce = /* @__PURE__ */ ce(() => /* @__PURE__ */ s("div", { class: "d-flex justify-content-center p-2" }, [
746
753
  /* @__PURE__ */ s("div", { class: "spinner-border spinner-border-sm" })
747
- ], -1)), ke = { key: 1 }, Ie = ["colspan"], Se = { class: "text-center text-muted small" };
754
+ ], -1)), ke = { key: 1 }, Ie = ["colspan"], Se = { class: "text-center text-muted small" }, Pe = ["onClick"];
748
755
  function Be(e, t, r, d, v, f) {
749
- const o = M("t");
756
+ const o = H("t");
750
757
  return a(), i("table", ge, [
751
758
  s("thead", null, [
752
759
  s("tr", null, [
@@ -790,7 +797,8 @@ function Be(e, t, r, d, v, f) {
790
797
  ], 8, Ie)
791
798
  ])) : (a(!0), i(b, { key: 2 }, y(e.items, (n, p) => (a(), i("tr", {
792
799
  key: p,
793
- class: h(n.trClass)
800
+ class: h([n.trClass || "", { "cursor-pointer": e.rowClickable }]),
801
+ onClick: ($) => e.$emit("rowClicked", n)
794
802
  }, [
795
803
  (a(!0), i(b, null, y(e.fields, ($) => (a(), i("td", {
796
804
  key: $.key,
@@ -805,16 +813,16 @@ function Be(e, t, r, d, v, f) {
805
813
  S(l(n[$.key]), 1)
806
814
  ], !0)
807
815
  ], 2))), 128))
808
- ], 2))), 128))
816
+ ], 10, Pe))), 128))
809
817
  ])
810
818
  ]);
811
819
  }
812
- const pt = /* @__PURE__ */ c(me, [["render", Be], ["__scopeId", "data-v-b32962df"]]), Pe = m({
820
+ const mt = /* @__PURE__ */ c(me, [["render", Be], ["__scopeId", "data-v-fffb8cf0"]]), Ve = m({
813
821
  name: "BsToast",
814
822
  emits: ["shown", "hidden"],
815
823
  mounted() {
816
824
  const e = this.$refs.toastRef;
817
- B.getOrCreateInstance(e).show(), e.addEventListener("shown.bs.toast", this.onShown), e.addEventListener("hidden.bs.toast", this.onHidden);
825
+ P.getOrCreateInstance(e).show(), e.addEventListener("shown.bs.toast", this.onShown), e.addEventListener("hidden.bs.toast", this.onHidden);
818
826
  },
819
827
  methods: {
820
828
  /**
@@ -822,7 +830,7 @@ const pt = /* @__PURE__ */ c(me, [["render", Be], ["__scopeId", "data-v-b32962df
822
830
  */
823
831
  hide() {
824
832
  const e = this.$refs.toastRef;
825
- B.getOrCreateInstance(e).hide();
833
+ P.getOrCreateInstance(e).hide();
826
834
  },
827
835
  /**
828
836
  * Hidden event.
@@ -837,7 +845,7 @@ const pt = /* @__PURE__ */ c(me, [["render", Be], ["__scopeId", "data-v-b32962df
837
845
  this.$emit("hidden");
838
846
  }
839
847
  }
840
- }), Ve = {
848
+ }), we = {
841
849
  ref: "toastRef",
842
850
  class: "toast hide",
843
851
  role: "alert",
@@ -845,11 +853,11 @@ const pt = /* @__PURE__ */ c(me, [["render", Be], ["__scopeId", "data-v-b32962df
845
853
  "aria-atomic": "true"
846
854
  };
847
855
  function Ee(e, t, r, d, v, f) {
848
- return a(), i("div", Ve, [
856
+ return a(), i("div", we, [
849
857
  g(e.$slots, "default")
850
858
  ], 512);
851
859
  }
852
- const mt = /* @__PURE__ */ c(Pe, [["render", Ee]]), we = m({
860
+ const ct = /* @__PURE__ */ c(Ve, [["render", Ee]]), Me = m({
853
861
  name: "BsModal",
854
862
  props: {
855
863
  /**
@@ -876,10 +884,10 @@ const mt = /* @__PURE__ */ c(Pe, [["render", Ee]]), we = m({
876
884
  default: !1
877
885
  }
878
886
  },
879
- emits: ["shown", "hidden"],
887
+ emits: ["show", "shown", "hide", "hidden", "hidePrevented"],
880
888
  mounted() {
881
889
  const e = this.$refs.modalRef;
882
- P.getOrCreateInstance(e).show(), e.addEventListener("shown.bs.modal", this.onShown), e.addEventListener("hidden.bs.modal", this.onHidden);
890
+ B.getOrCreateInstance(e).show(), e.addEventListener("show.bs.modal", (t) => this.$emit("show", t)), e.addEventListener("shown.bs.modal", (t) => this.$emit("shown", t)), e.addEventListener("hide.bs.modal", (t) => this.$emit("hide", t)), e.addEventListener("hidden.bs.modal", (t) => this.$emit("hidden", t)), e.addEventListener("hidePrevented.bs.modal", (t) => this.$emit("hidePrevented", t));
883
891
  },
884
892
  methods: {
885
893
  /**
@@ -887,65 +895,53 @@ const mt = /* @__PURE__ */ c(Pe, [["render", Ee]]), we = m({
887
895
  */
888
896
  hide() {
889
897
  const e = this.$refs.modalRef;
890
- P.getOrCreateInstance(e).hide();
891
- },
892
- /**
893
- * Shown event.
894
- */
895
- onShown() {
896
- this.$emit("shown");
897
- },
898
- /**
899
- * Hidden event.
900
- */
901
- onHidden() {
902
- this.$emit("hidden");
898
+ B.getOrCreateInstance(e).hide();
903
899
  }
904
900
  }
905
901
  }), He = {
906
902
  ref: "modalRef",
907
903
  class: "modal fade",
908
904
  tabindex: "-1"
909
- }, Me = { class: "modal-content" }, Re = {
905
+ }, Re = { class: "modal-content" }, Le = {
910
906
  key: 0,
911
907
  class: "modal-header"
912
- }, Ae = ["textContent"], Le = /* @__PURE__ */ s("button", {
908
+ }, Ae = ["textContent"], Ne = /* @__PURE__ */ s("button", {
913
909
  type: "button",
914
910
  class: "btn-close",
915
911
  "data-bs-dismiss": "modal"
916
- }, null, -1), Ne = {
912
+ }, null, -1), Oe = {
917
913
  key: 1,
918
914
  class: "modal-body"
919
- }, Oe = {
915
+ }, _e = {
920
916
  key: 2,
921
917
  class: "modal-footer"
922
918
  };
923
- function _e(e, t, r, d, v, f) {
919
+ function De(e, t, r, d, v, f) {
924
920
  return a(), i("div", He, [
925
921
  s("div", {
926
922
  class: h(["modal-dialog", e.classDialog])
927
923
  }, [
928
- s("div", Me, [
929
- e.hideHeader ? u("", !0) : (a(), i("div", Re, [
924
+ s("div", Re, [
925
+ e.hideHeader ? u("", !0) : (a(), i("div", Le, [
930
926
  g(e.$slots, "header", {}, () => [
931
927
  s("div", {
932
928
  class: "h5 modal-title",
933
929
  textContent: l(e.title)
934
930
  }, null, 8, Ae),
935
- Le
931
+ Ne
936
932
  ])
937
933
  ])),
938
- e.hideBody ? u("", !0) : (a(), i("div", Ne, [
934
+ e.hideBody ? u("", !0) : (a(), i("div", Oe, [
939
935
  g(e.$slots, "body")
940
936
  ])),
941
- e.hideFooter ? u("", !0) : (a(), i("div", Oe, [
937
+ e.hideFooter ? u("", !0) : (a(), i("div", _e, [
942
938
  g(e.$slots, "footer")
943
939
  ]))
944
940
  ])
945
941
  ], 2)
946
942
  ], 512);
947
943
  }
948
- const ct = /* @__PURE__ */ c(we, [["render", _e]]), De = m({
944
+ const gt = /* @__PURE__ */ c(Me, [["render", De]]), qe = m({
949
945
  name: "BsSelect",
950
946
  props: {
951
947
  /**
@@ -1031,20 +1027,20 @@ const ct = /* @__PURE__ */ c(we, [["render", _e]]), De = m({
1031
1027
  this.validatorEnabled && this.validator.onInvalid(e);
1032
1028
  }
1033
1029
  }
1034
- }), qe = ["for", "textContent"], Te = ["id", "value", "aria-labelledby"], Fe = {
1030
+ }), Te = ["for", "textContent"], Fe = ["id", "value", "aria-labelledby"], ze = {
1035
1031
  key: 0,
1036
1032
  value: "",
1037
1033
  disabled: "",
1038
1034
  hidden: ""
1039
- }, ze = ["value", "disabled"], je = ["textContent"], Ue = ["id", "textContent"];
1040
- function Ge(e, t, r, d, v, f) {
1035
+ }, je = ["value", "disabled"], Ue = ["textContent"], Ge = ["id", "textContent"];
1036
+ function Je(e, t, r, d, v, f) {
1041
1037
  return a(), i(b, null, [
1042
1038
  e.label !== void 0 ? (a(), i("label", {
1043
1039
  key: 0,
1044
1040
  for: e.id,
1045
1041
  class: "form-label",
1046
1042
  textContent: l(e.label)
1047
- }, null, 8, qe)) : u("", !0),
1043
+ }, null, 8, Te)) : u("", !0),
1048
1044
  s("select", k({
1049
1045
  id: e.id,
1050
1046
  ref: "inputRef",
@@ -1055,27 +1051,27 @@ function Ge(e, t, r, d, v, f) {
1055
1051
  onInput: t[0] || (t[0] = (...o) => e.onInput && e.onInput(...o)),
1056
1052
  onInvalid: t[1] || (t[1] = (...o) => e.onInvalid && e.onInvalid(...o))
1057
1053
  }), [
1058
- e.placeholder !== void 0 ? (a(), i("option", Fe, l(e.placeholder), 1)) : u("", !0),
1054
+ e.placeholder !== void 0 ? (a(), i("option", ze, l(e.placeholder), 1)) : u("", !0),
1059
1055
  (a(!0), i(b, null, y(e.options, (o, n) => (a(), i("option", {
1060
1056
  key: n,
1061
1057
  value: o.value,
1062
1058
  disabled: o.disabled !== void 0 && o.disabled
1063
- }, l(o.text), 9, ze))), 128))
1064
- ], 16, Te),
1059
+ }, l(o.text), 9, je))), 128))
1060
+ ], 16, Fe),
1065
1061
  e.validatorEnabled && e.validator.getInvalidMessage() !== null ? (a(), i("div", {
1066
1062
  key: 1,
1067
1063
  class: "invalid-feedback",
1068
1064
  textContent: l(e.validator.getInvalidMessage())
1069
- }, null, 8, je)) : u("", !0),
1065
+ }, null, 8, Ue)) : u("", !0),
1070
1066
  e.hint !== void 0 ? (a(), i("div", {
1071
1067
  key: 2,
1072
1068
  id: e.getHintId(),
1073
1069
  class: "form-text",
1074
1070
  textContent: l(e.hint)
1075
- }, null, 8, Ue)) : u("", !0)
1071
+ }, null, 8, Ge)) : u("", !0)
1076
1072
  ], 64);
1077
1073
  }
1078
- const gt = /* @__PURE__ */ c(De, [["render", Ge]]), Je = m({
1074
+ const bt = /* @__PURE__ */ c(qe, [["render", Je]]), Ke = m({
1079
1075
  name: "BsRadio",
1080
1076
  props: {
1081
1077
  /**
@@ -1166,8 +1162,8 @@ const gt = /* @__PURE__ */ c(De, [["render", Ge]]), Je = m({
1166
1162
  this.validatorEnabled && this.validator.onInvalid(e);
1167
1163
  }
1168
1164
  }
1169
- }), Ke = ["id", "value", "checked", "aria-describedby"], Qe = ["for", "textContent"], We = ["textContent"], Xe = ["id", "textContent"];
1170
- function Ye(e, t, r, d, v, f) {
1165
+ }), Qe = ["id", "value", "checked", "aria-describedby"], We = ["for", "textContent"], Xe = ["textContent"], Ye = ["id", "textContent"];
1166
+ function Ze(e, t, r, d, v, f) {
1171
1167
  return a(), i("div", {
1172
1168
  class: h(["form-check", e.classContainer])
1173
1169
  }, [
@@ -1182,27 +1178,27 @@ function Ye(e, t, r, d, v, f) {
1182
1178
  "aria-describedby": e.hint !== void 0 ? e.getHintId() : void 0,
1183
1179
  onInput: t[0] || (t[0] = (...o) => e.onInput && e.onInput(...o)),
1184
1180
  onInvalid: t[1] || (t[1] = (...o) => e.onInvalid && e.onInvalid(...o))
1185
- }), null, 16, Ke),
1181
+ }), null, 16, Qe),
1186
1182
  e.label !== void 0 ? (a(), i("label", {
1187
1183
  key: 0,
1188
1184
  for: e.id,
1189
1185
  class: "form-check-label",
1190
1186
  textContent: l(e.label)
1191
- }, null, 8, Qe)) : u("", !0),
1187
+ }, null, 8, We)) : u("", !0),
1192
1188
  e.validatorEnabled && e.validator.getInvalidMessage() !== null ? (a(), i("div", {
1193
1189
  key: 1,
1194
1190
  class: "invalid-feedback",
1195
1191
  textContent: l(e.validator.getInvalidMessage())
1196
- }, null, 8, We)) : u("", !0),
1192
+ }, null, 8, Xe)) : u("", !0),
1197
1193
  e.hint !== void 0 ? (a(), i("div", {
1198
1194
  key: 2,
1199
1195
  id: e.getHintId(),
1200
1196
  class: "form-text",
1201
1197
  textContent: l(e.hint)
1202
- }, null, 8, Xe)) : u("", !0)
1198
+ }, null, 8, Ye)) : u("", !0)
1203
1199
  ], 2);
1204
1200
  }
1205
- const bt = /* @__PURE__ */ c(Je, [["render", Ye]]), Ze = m({
1201
+ const $t = /* @__PURE__ */ c(Ke, [["render", Ze]]), xe = m({
1206
1202
  name: "BsOffcanvas",
1207
1203
  props: {
1208
1204
  /**
@@ -1239,46 +1235,46 @@ const bt = /* @__PURE__ */ c(Je, [["render", Ye]]), Ze = m({
1239
1235
  this.$emit("hidden");
1240
1236
  }
1241
1237
  }
1242
- }), xe = {
1238
+ }), et = {
1243
1239
  ref: "offcanvasRef",
1244
1240
  class: "offcanvas",
1245
1241
  tabindex: "-1",
1246
1242
  "aria-labelledby": "offcanvasTitle"
1247
- }, et = { class: "offcanvas-header" }, tt = ["textContent"], nt = /* @__PURE__ */ s("button", {
1243
+ }, tt = { class: "offcanvas-header" }, nt = ["textContent"], at = /* @__PURE__ */ s("button", {
1248
1244
  type: "button",
1249
1245
  class: "btn-close text-reset",
1250
1246
  "data-bs-dismiss": "offcanvas"
1251
- }, null, -1), at = { class: "offcanvas-body" };
1252
- function it(e, t, r, d, v, f) {
1253
- return a(), i("div", xe, [
1254
- s("div", et, [
1247
+ }, null, -1), it = { class: "offcanvas-body" };
1248
+ function ot(e, t, r, d, v, f) {
1249
+ return a(), i("div", et, [
1250
+ s("div", tt, [
1255
1251
  g(e.$slots, "header", {}, () => [
1256
1252
  s("div", {
1257
1253
  id: "offcanvasTitle",
1258
1254
  class: "h5 mb-0",
1259
1255
  textContent: l(e.title)
1260
- }, null, 8, tt),
1261
- nt
1256
+ }, null, 8, nt),
1257
+ at
1262
1258
  ])
1263
1259
  ]),
1264
- s("div", at, [
1260
+ s("div", it, [
1265
1261
  g(e.$slots, "body")
1266
1262
  ])
1267
1263
  ], 512);
1268
1264
  }
1269
- const $t = /* @__PURE__ */ c(Ze, [["render", it]]);
1265
+ const yt = /* @__PURE__ */ c(xe, [["render", ot]]);
1270
1266
  export {
1271
- rt as BsBreadcrumb,
1272
- vt as BsCheckbox,
1273
- dt as BsForm,
1274
- ut as BsInput,
1275
- ct as BsModal,
1276
- $t as BsOffcanvas,
1277
- ft as BsPaginator,
1278
- bt as BsRadio,
1279
- gt as BsSelect,
1280
- pt as BsTable,
1281
- ht as BsTextarea,
1282
- mt as BsToast,
1267
+ dt as BsBreadcrumb,
1268
+ ht as BsCheckbox,
1269
+ ut as BsForm,
1270
+ vt as BsInput,
1271
+ gt as BsModal,
1272
+ yt as BsOffcanvas,
1273
+ pt as BsPaginator,
1274
+ $t as BsRadio,
1275
+ bt as BsSelect,
1276
+ mt as BsTable,
1277
+ ft as BsTextarea,
1278
+ ct as BsToast,
1283
1279
  I as useValidator
1284
1280
  };
@@ -27,15 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  * Trigger modal hide event.
28
28
  */
29
29
  hide(): void;
30
- /**
31
- * Shown event.
32
- */
33
- onShown(): void;
34
- /**
35
- * Hidden event.
36
- */
37
- onHidden(): void;
38
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown")[], "hidden" | "shown", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "show" | "shown" | "hide" | "hidePrevented")[], "hidden" | "show" | "shown" | "hide" | "hidePrevented", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
39
31
  /**
40
32
  * Modal title
41
33
  */
@@ -61,7 +53,10 @@ declare const _default: import("vue").DefineComponent<{
61
53
  };
62
54
  }>> & {
63
55
  onHidden?: ((...args: any[]) => any) | undefined;
56
+ onShow?: ((...args: any[]) => any) | undefined;
64
57
  onShown?: ((...args: any[]) => any) | undefined;
58
+ onHide?: ((...args: any[]) => any) | undefined;
59
+ onHidePrevented?: ((...args: any[]) => any) | undefined;
65
60
  }, {
66
61
  classDialog: string | Record<string, any>;
67
62
  hideHeader: boolean;
@@ -50,6 +50,13 @@ declare const _default: import("vue").DefineComponent<{
50
50
  type: StringConstructor;
51
51
  default: undefined;
52
52
  };
53
+ /**
54
+ * row is clickable
55
+ */
56
+ rowClickable: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
53
60
  }, unknown, unknown, {}, {
54
61
  /**
55
62
  * Is order by active by field?
@@ -84,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
84
91
  * Table head clicked.
85
92
  */
86
93
  onHeadClick(field: Field): void;
87
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "orderChanged"[], "orderChanged", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
94
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("orderChanged" | "rowClicked")[], "orderChanged" | "rowClicked", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
88
95
  /**
89
96
  * Field list
90
97
  */
@@ -134,13 +141,22 @@ declare const _default: import("vue").DefineComponent<{
134
141
  type: StringConstructor;
135
142
  default: undefined;
136
143
  };
144
+ /**
145
+ * row is clickable
146
+ */
147
+ rowClickable: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
137
151
  }>> & {
138
152
  onOrderChanged?: ((...args: any[]) => any) | undefined;
153
+ onRowClicked?: ((...args: any[]) => any) | undefined;
139
154
  }, {
140
155
  isLoading: boolean;
141
156
  orderBy: string;
142
157
  sortDesc: boolean;
143
158
  thClass: string;
144
159
  tdClass: string;
160
+ rowClickable: boolean;
145
161
  }, {}>;
146
162
  export default _default;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .page-link[data-v-ff85ae67]{cursor:pointer}.page-item-first[data-v-ff85ae67],.page-item-last[data-v-ff85ae67],.page-item-number[data-v-ff85ae67]:not(.active){display:none}@media (min-width: 576px){.page-item-number[data-v-ff85ae67]:not(.active){display:block}}@media (min-width: 992px){.page-item-first[data-v-ff85ae67],.page-item-last[data-v-ff85ae67]{display:block}}.cursor-pointer[data-v-b32962df]{cursor:pointer}
1
+ .page-link[data-v-ff85ae67]{cursor:pointer}.page-item-first[data-v-ff85ae67],.page-item-last[data-v-ff85ae67],.page-item-number[data-v-ff85ae67]:not(.active){display:none}@media (min-width: 576px){.page-item-number[data-v-ff85ae67]:not(.active){display:block}}@media (min-width: 992px){.page-item-first[data-v-ff85ae67],.page-item-last[data-v-ff85ae67]{display:block}}.cursor-pointer[data-v-fffb8cf0]{cursor:pointer}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-vue-wrapper",
3
- "version": "2.1.16",
3
+ "version": "2.1.18",
4
4
  "description": "Bootstrap 5 components in Vue3 wrapper.",
5
5
  "module": "./dist/bootstrap-vue-wrapper.js",
6
6
  "types": "./dist/index.d.ts",