bootstrap-vue-wrapper 3.0.2 → 3.0.3

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-6563fdef]{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-051542bd]{cursor:pointer}
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
11
11
  * Value for v-model
12
12
  */
13
13
  modelValue: {
14
- type: (StringConstructor | NumberConstructor)[];
14
+ type: (StringConstructor | NumberConstructor | null)[];
15
15
  default: null;
16
16
  };
17
17
  /**
@@ -88,7 +88,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
88
88
  * Value for v-model
89
89
  */
90
90
  modelValue: {
91
- type: (StringConstructor | NumberConstructor)[];
91
+ type: (StringConstructor | NumberConstructor | null)[];
92
92
  default: null;
93
93
  };
94
94
  /**
@@ -131,7 +131,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
131
131
  }>, {
132
132
  label: string;
133
133
  value: string | number;
134
- modelValue: string | number;
134
+ modelValue: string | number | null;
135
135
  hint: string;
136
136
  validatorEnabled: boolean;
137
137
  classContainer: string;
@@ -1,5 +1,5 @@
1
1
  import { useValidator as t } from "@zemkogabor/vue-form-validator";
2
- import { defineComponent as i, ref as a } from "vue";
2
+ import { defineComponent as i, ref as l } from "vue";
3
3
  const d = i({
4
4
  name: "BsRadio",
5
5
  props: {
@@ -14,7 +14,7 @@ const d = i({
14
14
  * Value for v-model
15
15
  */
16
16
  modelValue: {
17
- type: [String, Number],
17
+ type: [String, Number, null],
18
18
  default: null
19
19
  },
20
20
  /**
@@ -55,7 +55,7 @@ const d = i({
55
55
  },
56
56
  emits: ["update:modelValue"],
57
57
  setup() {
58
- const e = a(null);
58
+ const e = l(null);
59
59
  return {
60
60
  inputRef: e,
61
61
  validator: t(e)
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { default as Field } from '../../types/Field.ts';
3
- import { TableRow } from '../../types/TableRow.ts';
3
+ import { default as TableRow } from '../../types/TableRow.ts';
4
4
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
5
  /**
6
6
  * Field list
@@ -2,7 +2,7 @@ import h from "./BsTable.vue2.js";
2
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";
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 }, f = ["colspan"], w = ["textContent"], B = ["data-id", "onClick"], S = { key: 0 }, T = ["colspan"];
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
7
  return s(), 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, w)) : p("", !0)
49
+ }, null, 8, f)) : p("", !0)
50
50
  ], !0)
51
- ], 8, f)
51
+ ], 8, w)
52
52
  ])) : (s(!0), o(a, { key: 2 }, u(e.items, (t, i) => (s(), o(a, { key: i }, [
53
53
  r("tr", {
54
54
  class: d([t.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-6563fdef"]]);
83
+ const O = /* @__PURE__ */ C(h, [["render", _], ["__scopeId", "data-v-051542bd"]]);
84
84
  export {
85
85
  O as default
86
86
  };
@@ -10,3 +10,4 @@ export { default as BsRadio } from './components/bs-radio/BsRadio.vue';
10
10
  export type { default as BreadCrumbItem } from './types/BreadcrumbItem.ts';
11
11
  export type { default as Option } from './types/Option.ts';
12
12
  export type { default as Field } from './types/Field.ts';
13
+ export type { default as TableRow } from './types/TableRow.ts';
@@ -1,5 +1,6 @@
1
- export type TableRow<T extends object = Record<string, unknown>> = T & {
1
+ export default interface TableRow {
2
2
  trClass?: string;
3
3
  id?: string | number;
4
4
  _showRowDetails?: boolean;
5
- };
5
+ [key: string]: object | string | number | boolean | undefined;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-vue-wrapper",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Bootstrap 5 components in Vue3 wrapper.",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",