bootstrap-vue-wrapper 2.3.3 → 3.0.0
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/README.md +7 -1
- package/dist/bootstrap-vue-wrapper.css +1 -0
- package/dist/components/bs-breadcrumb/BsBreadcrumb.vue.d.ts +5 -5
- package/dist/components/bs-checkbox/BsCheckbox.vue.d.ts +9 -9
- package/dist/components/bs-checkbox/BsCheckbox.vue2.js +1 -1
- package/dist/components/bs-form/BsForm.vue.d.ts +3 -3
- package/dist/components/bs-input/BsInput.vue.d.ts +41 -11
- package/dist/components/bs-input/BsInput.vue2.js +23 -8
- package/dist/components/bs-modal/BsModal.vue.d.ts +7 -7
- package/dist/components/bs-modal/BsModal.vue.js +21 -21
- package/dist/components/bs-offcanvas/BsOffcanvas.vue.d.ts +5 -5
- package/dist/components/bs-offcanvas/BsOffcanvas.vue.js +19 -19
- package/dist/components/bs-paginator/BsPaginator.vue.d.ts +8 -8
- package/dist/components/bs-paginator/BsPaginator.vue.js +2 -2
- package/dist/components/bs-radio/BsRadio.vue.d.ts +13 -13
- package/dist/components/bs-radio/BsRadio.vue2.js +1 -1
- package/dist/components/bs-select/BsSelect.vue.d.ts +11 -11
- package/dist/components/bs-select/BsSelect.vue2.js +2 -2
- package/dist/components/bs-table/BsTable.vue.d.ts +28 -9
- package/dist/components/bs-table/BsTable.vue.js +44 -44
- package/dist/components/bs-table/BsTable.vue2.js +7 -3
- package/dist/components/bs-textarea/BsTextarea.vue.d.ts +40 -10
- package/dist/components/bs-textarea/BsTextarea.vue2.js +23 -8
- package/dist/components/bs-toast/BsToast.vue.d.ts +3 -3
- package/dist/index.js +10 -12
- package/dist/node_modules/@zemkogabor/vue-form-validator/dist/index.js +63 -0
- package/dist/ssr-safe.d.ts +0 -1
- package/dist/ssr-safe.js +1 -3
- package/dist/types/Field.d.ts +1 -0
- package/package.json +21 -18
- package/CHANGELOG.md +0 -81
- package/dist/components/bs-paginator/BsPaginator.vue3.js +0 -1
- package/dist/components/bs-table/BsTable.vue3.js +0 -1
- package/dist/components/validator/Validator.d.ts +0 -9
- package/dist/components/validator/Validator.js +0 -54
- package/dist/style.css +0 -1
package/README.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
## Requirements:
|
|
6
6
|
- Bootstrap 5
|
|
7
7
|
- Bootstrap icons
|
|
8
|
-
- Vue i18n (for custom validation messages)
|
|
9
8
|
- Vue router (for `<router-link>`)
|
|
10
9
|
- Vue 3
|
|
11
10
|
|
|
@@ -27,6 +26,13 @@ yarn install
|
|
|
27
26
|
yarn dev
|
|
28
27
|
```
|
|
29
28
|
|
|
29
|
+
## Release
|
|
30
|
+
Create new token (check Bypass two-factor authentication)
|
|
31
|
+
https://www.npmjs.com/settings/zemkogabor/tokens
|
|
32
|
+
|
|
33
|
+
Set token in github secrets as NPM_TOKEN
|
|
34
|
+
https://github.com/zemkogabor/bootstrap-vue-wrapper/settings/secrets/actions
|
|
35
|
+
|
|
30
36
|
## Examples
|
|
31
37
|
|
|
32
38
|
There are examples of each component in [this file](https://github.com/zemkogabor/bootstrap-vue-wrapper/blob/main/dev/pages/Home.vue).
|
|
@@ -0,0 +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-24264439]{cursor:pointer}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import BreadcrumbItem from '../../types/BreadcrumbItem.ts';
|
|
3
|
-
declare const _default: import(
|
|
2
|
+
import { default as BreadcrumbItem } from '../../types/BreadcrumbItem.ts';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
/**
|
|
5
5
|
* List of breadcrumb items.
|
|
6
6
|
*/
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: PropType<BreadcrumbItem[]>;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>, {}, {}, {}, {
|
|
12
12
|
/**
|
|
13
13
|
* Is route available
|
|
14
14
|
*
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
* @returns {boolean}
|
|
17
17
|
*/
|
|
18
18
|
isRouteAvailable(item: BreadcrumbItem): boolean;
|
|
19
|
-
}, import(
|
|
19
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
/**
|
|
21
21
|
* List of breadcrumb items.
|
|
22
22
|
*/
|
|
@@ -24,5 +24,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: PropType<BreadcrumbItem[]>;
|
|
25
25
|
required: true;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
28
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
declare const _default: import(
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
/**
|
|
4
4
|
* Value for checkbox if v-model is array.
|
|
5
5
|
*/
|
|
@@ -49,14 +49,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
type: BooleanConstructor;
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
|
-
}
|
|
53
|
-
inputRef: Ref<HTMLInputElement | null>;
|
|
52
|
+
}>, {
|
|
53
|
+
inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
54
54
|
validator: {
|
|
55
55
|
onInvalid: (event: Event) => void;
|
|
56
56
|
getInvalidMessage: () => string | null;
|
|
57
57
|
setCustomError: (data: string) => void;
|
|
58
58
|
};
|
|
59
|
-
},
|
|
59
|
+
}, {}, {
|
|
60
60
|
/**
|
|
61
61
|
* Checkbox is checked or not.
|
|
62
62
|
*/
|
|
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
* @param event
|
|
79
79
|
*/
|
|
80
80
|
onInvalid(event: Event): void;
|
|
81
|
-
}, import(
|
|
81
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
82
82
|
/**
|
|
83
83
|
* Value for checkbox if v-model is array.
|
|
84
84
|
*/
|
|
@@ -128,14 +128,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
type: BooleanConstructor;
|
|
129
129
|
default: boolean;
|
|
130
130
|
};
|
|
131
|
-
}>> & {
|
|
131
|
+
}>> & Readonly<{
|
|
132
132
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
}
|
|
133
|
+
}>, {
|
|
134
134
|
label: string;
|
|
135
135
|
value: string;
|
|
136
136
|
modelValue: boolean | unknown[];
|
|
137
137
|
hint: string;
|
|
138
|
-
classContainer: string;
|
|
139
138
|
validatorEnabled: boolean;
|
|
140
|
-
|
|
139
|
+
classContainer: string;
|
|
140
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
141
141
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
2
2
|
submitClicked: boolean;
|
|
3
3
|
}, {}, {
|
|
4
4
|
/**
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
7
7
|
* @param event
|
|
8
8
|
*/
|
|
9
9
|
onSubmit(event: SubmitEvent): void;
|
|
10
|
-
}, import(
|
|
10
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "submit"[], "submit", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
11
11
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
declare const _default: import(
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
/**
|
|
4
4
|
* Value for v-model
|
|
5
5
|
*/
|
|
6
6
|
modelValue: {
|
|
7
|
-
type: (NumberConstructor |
|
|
7
|
+
type: (StringConstructor | NumberConstructor | null)[];
|
|
8
8
|
default: null;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
@@ -35,14 +35,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
/**
|
|
39
|
+
* Convert empty string to null
|
|
40
|
+
*/
|
|
41
|
+
emptyStringToNull: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Trim input value
|
|
47
|
+
*/
|
|
48
|
+
trim: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}>, {
|
|
53
|
+
inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
40
54
|
validator: {
|
|
41
55
|
onInvalid: (event: Event) => void;
|
|
42
56
|
getInvalidMessage: () => string | null;
|
|
43
57
|
setCustomError: (data: string) => void;
|
|
44
58
|
};
|
|
45
|
-
},
|
|
59
|
+
}, {}, {}, {
|
|
46
60
|
/**
|
|
47
61
|
* Hint id is generated
|
|
48
62
|
*/
|
|
@@ -59,12 +73,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
73
|
* @param event
|
|
60
74
|
*/
|
|
61
75
|
onInvalid(event: Event): void;
|
|
62
|
-
}, import(
|
|
76
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
63
77
|
/**
|
|
64
78
|
* Value for v-model
|
|
65
79
|
*/
|
|
66
80
|
modelValue: {
|
|
67
|
-
type: (NumberConstructor |
|
|
81
|
+
type: (StringConstructor | NumberConstructor | null)[];
|
|
68
82
|
default: null;
|
|
69
83
|
};
|
|
70
84
|
/**
|
|
@@ -95,12 +109,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
109
|
type: BooleanConstructor;
|
|
96
110
|
default: boolean;
|
|
97
111
|
};
|
|
98
|
-
|
|
112
|
+
/**
|
|
113
|
+
* Convert empty string to null
|
|
114
|
+
*/
|
|
115
|
+
emptyStringToNull: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Trim input value
|
|
121
|
+
*/
|
|
122
|
+
trim: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
}>> & Readonly<{
|
|
99
127
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
100
|
-
}
|
|
128
|
+
}>, {
|
|
101
129
|
label: string;
|
|
102
|
-
|
|
130
|
+
trim: boolean;
|
|
131
|
+
modelValue: string | number | null;
|
|
103
132
|
hint: string;
|
|
104
133
|
validatorEnabled: boolean;
|
|
105
|
-
|
|
134
|
+
emptyStringToNull: boolean;
|
|
135
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
106
136
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useValidator as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
const
|
|
1
|
+
import { useValidator as i } from "../../node_modules/@zemkogabor/vue-form-validator/dist/index.js";
|
|
2
|
+
import { defineComponent as a, ref as n } from "vue";
|
|
3
|
+
const o = a({
|
|
4
4
|
name: "BsInput",
|
|
5
5
|
props: {
|
|
6
6
|
/**
|
|
7
7
|
* Value for v-model
|
|
8
8
|
*/
|
|
9
9
|
modelValue: {
|
|
10
|
-
type: [String, Number],
|
|
10
|
+
type: [String, Number, null],
|
|
11
11
|
default: null
|
|
12
12
|
},
|
|
13
13
|
/**
|
|
@@ -37,6 +37,20 @@ const d = i({
|
|
|
37
37
|
validatorEnabled: {
|
|
38
38
|
type: Boolean,
|
|
39
39
|
default: !0
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* Convert empty string to null
|
|
43
|
+
*/
|
|
44
|
+
emptyStringToNull: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: !0
|
|
47
|
+
},
|
|
48
|
+
/**
|
|
49
|
+
* Trim input value
|
|
50
|
+
*/
|
|
51
|
+
trim: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: !0
|
|
40
54
|
}
|
|
41
55
|
},
|
|
42
56
|
emits: ["update:modelValue"],
|
|
@@ -44,7 +58,7 @@ const d = i({
|
|
|
44
58
|
const t = n(null);
|
|
45
59
|
return {
|
|
46
60
|
inputRef: t,
|
|
47
|
-
validator:
|
|
61
|
+
validator: i(t)
|
|
48
62
|
};
|
|
49
63
|
},
|
|
50
64
|
methods: {
|
|
@@ -60,8 +74,9 @@ const d = i({
|
|
|
60
74
|
* @param event
|
|
61
75
|
*/
|
|
62
76
|
onInput(t) {
|
|
63
|
-
const
|
|
64
|
-
|
|
77
|
+
const l = t.target;
|
|
78
|
+
let e = l.value;
|
|
79
|
+
this.trim && (e = l.value.trim()), this.emptyStringToNull && e === "" && (e = null), this.$emit("update:modelValue", e);
|
|
65
80
|
},
|
|
66
81
|
/**
|
|
67
82
|
* On invalid event
|
|
@@ -74,5 +89,5 @@ const d = i({
|
|
|
74
89
|
}
|
|
75
90
|
});
|
|
76
91
|
export {
|
|
77
|
-
|
|
92
|
+
o as default
|
|
78
93
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
/**
|
|
3
3
|
* Modal title
|
|
4
4
|
*/
|
|
@@ -22,12 +22,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
type: BooleanConstructor;
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
|
-
}
|
|
25
|
+
}>, {}, {}, {}, {
|
|
26
26
|
/**
|
|
27
27
|
* Trigger modal hide event.
|
|
28
28
|
*/
|
|
29
29
|
hide(): void;
|
|
30
|
-
}, import(
|
|
30
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("hidden" | "shown" | "hide" | "show" | "hidePrevented")[], "hidden" | "shown" | "hide" | "show" | "hidePrevented", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
31
|
/**
|
|
32
32
|
* Modal title
|
|
33
33
|
*/
|
|
@@ -51,16 +51,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
type: BooleanConstructor;
|
|
52
52
|
default: boolean;
|
|
53
53
|
};
|
|
54
|
-
}>> & {
|
|
54
|
+
}>> & Readonly<{
|
|
55
55
|
onHidden?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
57
56
|
onShown?: ((...args: any[]) => any) | undefined;
|
|
58
57
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
59
59
|
onHidePrevented?: ((...args: any[]) => any) | undefined;
|
|
60
|
-
}
|
|
60
|
+
}>, {
|
|
61
61
|
classDialog: string | Record<string, any>;
|
|
62
62
|
hideHeader: boolean;
|
|
63
63
|
hideBody: boolean;
|
|
64
64
|
hideFooter: boolean;
|
|
65
|
-
}, {}>;
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
66
66
|
export default _default;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { openBlock as e, createElementBlock as t, createElementVNode as s, normalizeClass as
|
|
3
|
-
import
|
|
1
|
+
import n from "./BsModal.vue2.js";
|
|
2
|
+
import { openBlock as e, createElementBlock as t, createElementVNode as s, normalizeClass as i, renderSlot as d, toDisplayString as r, createCommentVNode as l } from "vue";
|
|
3
|
+
import m from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const c = {
|
|
5
5
|
ref: "modalRef",
|
|
6
6
|
class: "modal fade",
|
|
7
7
|
tabindex: "-1"
|
|
8
|
-
},
|
|
8
|
+
}, f = { class: "modal-content" }, p = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "modal-header"
|
|
11
|
-
},
|
|
12
|
-
type: "button",
|
|
13
|
-
class: "btn-close",
|
|
14
|
-
"data-bs-dismiss": "modal"
|
|
15
|
-
}, null, -1), p = {
|
|
11
|
+
}, h = ["textContent"], u = {
|
|
16
12
|
key: 1,
|
|
17
13
|
class: "modal-body"
|
|
18
|
-
},
|
|
14
|
+
}, _ = {
|
|
19
15
|
key: 2,
|
|
20
16
|
class: "modal-footer"
|
|
21
17
|
};
|
|
22
|
-
function y(o, b, v, $, k
|
|
18
|
+
function y(o, a, b, v, $, k) {
|
|
23
19
|
return e(), t("div", c, [
|
|
24
20
|
s("div", {
|
|
25
|
-
class:
|
|
21
|
+
class: i(["modal-dialog", o.classDialog])
|
|
26
22
|
}, [
|
|
27
|
-
s("div",
|
|
28
|
-
o.hideHeader ?
|
|
23
|
+
s("div", f, [
|
|
24
|
+
o.hideHeader ? l("", !0) : (e(), t("div", p, [
|
|
29
25
|
d(o.$slots, "header", {}, () => [
|
|
30
26
|
s("div", {
|
|
31
27
|
class: "h5 modal-title",
|
|
32
|
-
textContent:
|
|
33
|
-
}, null, 8,
|
|
34
|
-
|
|
28
|
+
textContent: r(o.title)
|
|
29
|
+
}, null, 8, h),
|
|
30
|
+
a[0] || (a[0] = s("button", {
|
|
31
|
+
type: "button",
|
|
32
|
+
class: "btn-close",
|
|
33
|
+
"data-bs-dismiss": "modal"
|
|
34
|
+
}, null, -1))
|
|
35
35
|
])
|
|
36
36
|
])),
|
|
37
|
-
o.hideBody ?
|
|
37
|
+
o.hideBody ? l("", !0) : (e(), t("div", u, [
|
|
38
38
|
d(o.$slots, "body")
|
|
39
39
|
])),
|
|
40
|
-
o.hideFooter ?
|
|
40
|
+
o.hideFooter ? l("", !0) : (e(), t("div", _, [
|
|
41
41
|
d(o.$slots, "footer")
|
|
42
42
|
]))
|
|
43
43
|
])
|
|
44
44
|
], 2)
|
|
45
45
|
], 512);
|
|
46
46
|
}
|
|
47
|
-
const
|
|
47
|
+
const D = /* @__PURE__ */ m(n, [["render", y]]);
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
D as default
|
|
50
50
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
/**
|
|
3
3
|
* Offcanvas title
|
|
4
4
|
*/
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
|
-
}
|
|
9
|
+
}>, {}, {}, {}, {
|
|
10
10
|
/**
|
|
11
11
|
* Trigger offcanvas hide event.
|
|
12
12
|
*/
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
* Hidden event.
|
|
20
20
|
*/
|
|
21
21
|
onHidden(): void;
|
|
22
|
-
}, import(
|
|
22
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("hidden" | "shown")[], "hidden" | "shown", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
23
|
/**
|
|
24
24
|
* Offcanvas title
|
|
25
25
|
*/
|
|
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
type: StringConstructor;
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
|
-
}>> & {
|
|
30
|
+
}>> & Readonly<{
|
|
31
31
|
onHidden?: ((...args: any[]) => any) | undefined;
|
|
32
32
|
onShown?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
}, {}, {}>;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
34
|
export default _default;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { openBlock as
|
|
3
|
-
import
|
|
1
|
+
import a from "./BsOffcanvas.vue2.js";
|
|
2
|
+
import { openBlock as n, createElementBlock as f, createElementVNode as t, renderSlot as o, toDisplayString as l } from "vue";
|
|
3
|
+
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const i = {
|
|
5
5
|
ref: "offcanvasRef",
|
|
6
6
|
class: "offcanvas",
|
|
7
7
|
tabindex: "-1",
|
|
8
8
|
"aria-labelledby": "offcanvasTitle"
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
function p(e, v, m, b, h, u) {
|
|
15
|
-
return a(), n("div", i, [
|
|
16
|
-
t("div", l, [
|
|
17
|
-
s(e.$slots, "header", {}, () => [
|
|
9
|
+
}, c = { class: "offcanvas-header" }, d = ["textContent"], p = { class: "offcanvas-body" };
|
|
10
|
+
function v(s, e, m, _, b, u) {
|
|
11
|
+
return n(), f("div", i, [
|
|
12
|
+
t("div", c, [
|
|
13
|
+
o(s.$slots, "header", {}, () => [
|
|
18
14
|
t("div", {
|
|
19
15
|
id: "offcanvasTitle",
|
|
20
16
|
class: "h5 mb-0",
|
|
21
|
-
textContent:
|
|
22
|
-
}, null, 8,
|
|
23
|
-
|
|
17
|
+
textContent: l(s.title)
|
|
18
|
+
}, null, 8, d),
|
|
19
|
+
e[0] || (e[0] = t("button", {
|
|
20
|
+
type: "button",
|
|
21
|
+
class: "btn-close text-reset",
|
|
22
|
+
"data-bs-dismiss": "offcanvas"
|
|
23
|
+
}, null, -1))
|
|
24
24
|
])
|
|
25
25
|
]),
|
|
26
|
-
t("div",
|
|
27
|
-
s
|
|
26
|
+
t("div", p, [
|
|
27
|
+
o(s.$slots, "body")
|
|
28
28
|
])
|
|
29
29
|
], 512);
|
|
30
30
|
}
|
|
31
|
-
const
|
|
31
|
+
const x = /* @__PURE__ */ r(a, [["render", v]]);
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
x as default
|
|
34
34
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
/**
|
|
3
3
|
* Total count of items.
|
|
4
4
|
*/
|
|
@@ -55,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
55
|
type: StringConstructor;
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
|
-
}
|
|
58
|
+
}>, {}, {}, {}, {
|
|
59
59
|
/**
|
|
60
60
|
* Count of pages
|
|
61
61
|
*
|
|
@@ -74,11 +74,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
74
|
* @param page
|
|
75
75
|
* @returns {boolean}
|
|
76
76
|
*/
|
|
77
|
-
isPageActive(page:
|
|
77
|
+
isPageActive(page: number): boolean;
|
|
78
78
|
/**
|
|
79
79
|
* On page click
|
|
80
80
|
*/
|
|
81
|
-
onPageClick(page:
|
|
81
|
+
onPageClick(page: number): void;
|
|
82
82
|
/**
|
|
83
83
|
* Page range, example: 3 available page, current page 3, range is: [1, 3] (zero-based)
|
|
84
84
|
*
|
|
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
beginPage: number;
|
|
89
89
|
endPage: number;
|
|
90
90
|
};
|
|
91
|
-
}, import(
|
|
91
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "pageChanged"[], "pageChanged", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
92
92
|
/**
|
|
93
93
|
* Total count of items.
|
|
94
94
|
*/
|
|
@@ -145,13 +145,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
145
145
|
type: StringConstructor;
|
|
146
146
|
default: string;
|
|
147
147
|
};
|
|
148
|
-
}>> & {
|
|
148
|
+
}>> & Readonly<{
|
|
149
149
|
onPageChanged?: ((...args: any[]) => any) | undefined;
|
|
150
|
-
}
|
|
150
|
+
}>, {
|
|
151
151
|
maxVisiblePage: number;
|
|
152
152
|
firstPageLabel: string;
|
|
153
153
|
previousPageLabel: string;
|
|
154
154
|
nextPageLabel: string;
|
|
155
155
|
lastPageLabel: string;
|
|
156
|
-
}, {}>;
|
|
156
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
157
157
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import r from "./BsPaginator.vue2.js";
|
|
2
2
|
import { openBlock as s, createElementBlock as o, createElementVNode as t, normalizeClass as a, toDisplayString as l, Fragment as p, renderList as d } from "vue";
|
|
3
|
-
|
|
3
|
+
/* empty css */
|
|
4
4
|
import C from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const m = { class: "pagination" }, u = ["textContent"], P = ["textContent"], v = ["onClick", "textContent"], k = ["textContent"], c = ["textContent"];
|
|
6
6
|
function f(e, n, b, $, A, L) {
|
|
@@ -57,7 +57,7 @@ function f(e, n, b, $, A, L) {
|
|
|
57
57
|
])
|
|
58
58
|
]);
|
|
59
59
|
}
|
|
60
|
-
const D = /* @__PURE__ */ C(r, [["render", f], ["__scopeId", "data-v-
|
|
60
|
+
const D = /* @__PURE__ */ C(r, [["render", f], ["__scopeId", "data-v-f98dc134"]]);
|
|
61
61
|
export {
|
|
62
62
|
D as default
|
|
63
63
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
declare const _default: import(
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
3
|
/**
|
|
4
4
|
* Radio value
|
|
5
5
|
*/
|
|
6
6
|
value: {
|
|
7
|
-
type: (
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
8
|
default: null;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* Value for v-model
|
|
12
12
|
*/
|
|
13
13
|
modelValue: {
|
|
14
|
-
type: (
|
|
14
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15
15
|
default: null;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
@@ -49,14 +49,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
type: BooleanConstructor;
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
|
-
}
|
|
53
|
-
inputRef: Ref<HTMLInputElement | null>;
|
|
52
|
+
}>, {
|
|
53
|
+
inputRef: Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
54
54
|
validator: {
|
|
55
55
|
onInvalid: (event: Event) => void;
|
|
56
56
|
getInvalidMessage: () => string | null;
|
|
57
57
|
setCustomError: (data: string) => void;
|
|
58
58
|
};
|
|
59
|
-
},
|
|
59
|
+
}, {}, {
|
|
60
60
|
/**
|
|
61
61
|
* Radio is checked or not.
|
|
62
62
|
*/
|
|
@@ -76,19 +76,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
* @param event
|
|
77
77
|
*/
|
|
78
78
|
onInvalid(event: Event): void;
|
|
79
|
-
}, import(
|
|
79
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
80
80
|
/**
|
|
81
81
|
* Radio value
|
|
82
82
|
*/
|
|
83
83
|
value: {
|
|
84
|
-
type: (
|
|
84
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
85
85
|
default: null;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
88
|
* Value for v-model
|
|
89
89
|
*/
|
|
90
90
|
modelValue: {
|
|
91
|
-
type: (
|
|
91
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
92
92
|
default: null;
|
|
93
93
|
};
|
|
94
94
|
/**
|
|
@@ -126,14 +126,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
126
|
type: BooleanConstructor;
|
|
127
127
|
default: boolean;
|
|
128
128
|
};
|
|
129
|
-
}>> & {
|
|
129
|
+
}>> & Readonly<{
|
|
130
130
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
131
|
-
}
|
|
131
|
+
}>, {
|
|
132
132
|
label: string;
|
|
133
133
|
value: string | number;
|
|
134
134
|
modelValue: string | number;
|
|
135
135
|
hint: string;
|
|
136
|
-
classContainer: string;
|
|
137
136
|
validatorEnabled: boolean;
|
|
138
|
-
|
|
137
|
+
classContainer: string;
|
|
138
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
139
139
|
export default _default;
|