@gitlab/ui 101.8.0 → 101.10.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/CHANGELOG.md +14 -0
- package/dist/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.js +1 -1
- package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +3 -3
- package/dist/components/experimental/duo/chat/duo_chat.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/tailwind.css.map +1 -1
- package/dist/tokens/build/js/tokens.dark.js +1 -1
- package/dist/tokens/build/js/tokens.js +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +1 -1
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/json/tokens.dark.json +3 -3
- package/dist/tokens/json/tokens.json +3 -3
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/package.json +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.vue +1 -1
- package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +3 -3
- package/src/components/experimental/duo/chat/duo_chat.scss +4 -1
- package/src/components/experimental/duo/chat/duo_chat.vue +5 -5
- package/src/components/experimental/duo/chat/variables.scss +1 -1
- package/src/tokens/build/css/tokens.css +1 -1
- package/src/tokens/build/css/tokens.dark.css +1 -1
- package/src/tokens/build/js/tokens.dark.js +1 -1
- package/src/tokens/build/js/tokens.js +1 -1
- package/src/tokens/build/json/tokens.dark.json +3 -3
- package/src/tokens/build/json/tokens.json +3 -3
- package/src/tokens/build/scss/_tokens.dark.scss +1 -1
- package/src/tokens/build/scss/_tokens.scss +1 -1
- package/src/tokens/contextual/filtered-search.tokens.json +2 -2
- package/src/vendor/bootstrap-vue/src/bv-config.d.ts +0 -4
- package/src/vendor/bootstrap-vue/src/components/breadcrumb/index.d.ts +0 -13
- package/src/vendor/bootstrap-vue/src/components/button/index.d.ts +0 -10
- package/src/vendor/bootstrap-vue/src/components/button-group/index.d.ts +0 -7
- package/src/vendor/bootstrap-vue/src/components/collapse/index.d.ts +0 -9
- package/src/vendor/bootstrap-vue/src/components/dropdown/index.d.ts +0 -32
- package/src/vendor/bootstrap-vue/src/components/form/index.d.ts +0 -16
- package/src/vendor/bootstrap-vue/src/components/form-checkbox/index.d.ts +0 -10
- package/src/vendor/bootstrap-vue/src/components/form-group/index.d.ts +0 -7
- package/src/vendor/bootstrap-vue/src/components/form-input/index.d.ts +0 -9
- package/src/vendor/bootstrap-vue/src/components/form-radio/index.d.ts +0 -10
- package/src/vendor/bootstrap-vue/src/components/form-select/index.d.ts +0 -13
- package/src/vendor/bootstrap-vue/src/components/form-textarea/index.d.ts +0 -9
- package/src/vendor/bootstrap-vue/src/components/index.d.ts +0 -28
- package/src/vendor/bootstrap-vue/src/components/input-group/index.d.ts +0 -19
- package/src/vendor/bootstrap-vue/src/components/layout/index.d.ts +0 -10
- package/src/vendor/bootstrap-vue/src/components/link/index.d.ts +0 -10
- package/src/vendor/bootstrap-vue/src/components/modal/index.d.ts +0 -82
- package/src/vendor/bootstrap-vue/src/components/nav/index.d.ts +0 -17
- package/src/vendor/bootstrap-vue/src/components/popover/index.d.ts +0 -7
- package/src/vendor/bootstrap-vue/src/components/table/index.d.ts +0 -237
- package/src/vendor/bootstrap-vue/src/components/tabs/index.d.ts +0 -13
- package/src/vendor/bootstrap-vue/src/components/toast/index.d.ts +0 -69
- package/src/vendor/bootstrap-vue/src/components/tooltip/index.d.ts +0 -7
- package/src/vendor/bootstrap-vue/src/index.d.ts +0 -61
- package/src/vendor/bootstrap-vue/src/vue-injections.d.ts +0 -13
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Form Checkbox
|
|
3
|
-
//
|
|
4
|
-
import { BvComponent } from '../../'
|
|
5
|
-
|
|
6
|
-
// Component: b-form-checkbox
|
|
7
|
-
export declare class BFormCheckbox extends BvComponent {}
|
|
8
|
-
|
|
9
|
-
// Component: b-form-checkbox-group
|
|
10
|
-
export declare class BFormCheckboxGroup extends BvComponent {}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Form Select
|
|
3
|
-
//
|
|
4
|
-
import { BvComponent } from '../../'
|
|
5
|
-
|
|
6
|
-
// Component: b-form-select
|
|
7
|
-
export declare class BFormSelect extends BvComponent {}
|
|
8
|
-
|
|
9
|
-
// Component: b-form-select-option
|
|
10
|
-
export declare class BFormSelectOption extends BvComponent {}
|
|
11
|
-
|
|
12
|
-
// Component: b-form-select-option-group
|
|
13
|
-
export declare class BFormSelectOptionGroup extends BvComponent {}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { BvPlugin } from '../'
|
|
2
|
-
|
|
3
|
-
// Plugin that installs all plugins
|
|
4
|
-
export declare const componentsPlugin: BvPlugin
|
|
5
|
-
|
|
6
|
-
// Export all components as named exports
|
|
7
|
-
export * from './breadcrumb'
|
|
8
|
-
export * from './button'
|
|
9
|
-
export * from './button-group'
|
|
10
|
-
export * from './collapse'
|
|
11
|
-
export * from './dropdown'
|
|
12
|
-
export * from './form'
|
|
13
|
-
export * from './form-checkbox'
|
|
14
|
-
export * from './form-group'
|
|
15
|
-
export * from './form-input'
|
|
16
|
-
export * from './form-radio'
|
|
17
|
-
export * from './form-select'
|
|
18
|
-
export * from './form-textarea'
|
|
19
|
-
export * from './input-group'
|
|
20
|
-
export * from './layout'
|
|
21
|
-
export * from './link'
|
|
22
|
-
export * from './modal'
|
|
23
|
-
export * from './nav'
|
|
24
|
-
export * from './popover'
|
|
25
|
-
export * from './table'
|
|
26
|
-
export * from './tabs'
|
|
27
|
-
export * from './toast'
|
|
28
|
-
export * from './tooltip'
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// InputGroup
|
|
3
|
-
//
|
|
4
|
-
import { BvComponent } from '../../'
|
|
5
|
-
|
|
6
|
-
// Component: b-input-group
|
|
7
|
-
export declare class BInputGroup extends BvComponent {}
|
|
8
|
-
|
|
9
|
-
// Component: b-input-group-append
|
|
10
|
-
export declare class BInputGroupAppend extends BvComponent {}
|
|
11
|
-
|
|
12
|
-
// Component: b-input-group-prepend
|
|
13
|
-
export declare class BInputGroupPrepend extends BvComponent {}
|
|
14
|
-
|
|
15
|
-
// Component: b-input-group-text
|
|
16
|
-
export declare class BInputGroupText extends BvComponent {}
|
|
17
|
-
|
|
18
|
-
// Component: b-input-group-addon
|
|
19
|
-
export declare class BInputGroupAddon extends BvComponent {}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
// --- Modals ---
|
|
2
|
-
import { VNode } from 'vue'
|
|
3
|
-
import { BvComponent, BvEvent } from '../../'
|
|
4
|
-
|
|
5
|
-
// Component: <b-modal>
|
|
6
|
-
export declare class BModal extends BvComponent {
|
|
7
|
-
// Public methods
|
|
8
|
-
show: () => void
|
|
9
|
-
hide: (trigger?: string) => void
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// --- Types ---
|
|
13
|
-
export type BvMsgBoxData = boolean | null | BvModalEvent | any
|
|
14
|
-
|
|
15
|
-
// --- Interfaces ---
|
|
16
|
-
export interface BvModalEvent extends BvEvent {
|
|
17
|
-
readonly trigger: string | null
|
|
18
|
-
// Future
|
|
19
|
-
// details: any | null
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface BvMsgBoxOptions {
|
|
23
|
-
title?: string | VNode | Array<VNode>
|
|
24
|
-
titleTag?: string
|
|
25
|
-
size?: string
|
|
26
|
-
centered?: boolean
|
|
27
|
-
scrollable?: boolean
|
|
28
|
-
noFade?: boolean
|
|
29
|
-
noCloseOnBackdrop?: boolean
|
|
30
|
-
noCloseOnEsc?: boolean
|
|
31
|
-
headerClass?: string | string[] | Array<any>
|
|
32
|
-
bodyClass?: string | string[] | Array<any>
|
|
33
|
-
footerClass?: string | string[] | Array<any>
|
|
34
|
-
headerCloseLabel?: string
|
|
35
|
-
buttonSize?: string
|
|
36
|
-
cancelTitle?: string
|
|
37
|
-
cancelVariant?: string
|
|
38
|
-
okTitle?: string
|
|
39
|
-
okVariant?: string
|
|
40
|
-
// Catch all
|
|
41
|
-
[key: string]: any
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface BvModalMsgBoxResolver {
|
|
45
|
-
(event: BvModalEvent): any
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface BvModalMsgBoxShortcutMethod {
|
|
49
|
-
(message: string | Array<VNode>, options?: BvMsgBoxOptions): Promise<BvMsgBoxData>
|
|
50
|
-
// Future
|
|
51
|
-
// (options?: BvMsgBoxOptions): Promise<BvMsgBoxData>
|
|
52
|
-
// (message: string | Array<VNode>, title: string | Array<VNode>, options?: BvMsgBoxOptions): Promise<BvMsgBoxData>
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// Not yet documented or implemented (Future)
|
|
56
|
-
// export interface BvModalMsgBoxMethod {
|
|
57
|
-
// (options: BvMsgBoxOptions, resolver: BvModalMsgBoxResolver): Promise<BvMsgBoxData>
|
|
58
|
-
// (message: string | Array<VNode>, options: BvMsgBoxOptions, resolver: BvModalMsgBoxResolver): Promise<BvMsgBoxData>
|
|
59
|
-
// (message: string | Array<VNode>, title: string | Array<VNode>, options: BvMsgBoxOptions, resolver: BvModalMsgBoxResolver): Promise<BvMsgBoxData>
|
|
60
|
-
// }
|
|
61
|
-
|
|
62
|
-
export interface BvModal {
|
|
63
|
-
// Show OK MsgBox
|
|
64
|
-
msgBoxOk: BvModalMsgBoxShortcutMethod
|
|
65
|
-
|
|
66
|
-
// Show Confirm MsgBox
|
|
67
|
-
msgBoxConfirm: BvModalMsgBoxShortcutMethod
|
|
68
|
-
|
|
69
|
-
// Show a modal by id
|
|
70
|
-
show: (id: string) => void
|
|
71
|
-
|
|
72
|
-
// Hide a modal by id
|
|
73
|
-
hide: (id: string) => void
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// --- Vue prototype injections ---
|
|
77
|
-
declare module 'vue/types/vue' {
|
|
78
|
-
interface Vue {
|
|
79
|
-
// Modal injection
|
|
80
|
-
readonly $bvModal: BvModal
|
|
81
|
-
}
|
|
82
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Nav
|
|
3
|
-
//
|
|
4
|
-
import { BvComponent } from '../../'
|
|
5
|
-
|
|
6
|
-
// Component: b-nav
|
|
7
|
-
export declare class BNav extends BvComponent {}
|
|
8
|
-
|
|
9
|
-
// Component: b-nav-item
|
|
10
|
-
export declare class BNavItem extends BvComponent {}
|
|
11
|
-
|
|
12
|
-
// Component: b-nav-item-dropdown
|
|
13
|
-
export declare class BNavItemDropdown extends BvComponent {
|
|
14
|
-
// Public methods
|
|
15
|
-
show: () => void
|
|
16
|
-
hide: (refocus?: boolean) => void
|
|
17
|
-
}
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Table
|
|
3
|
-
//
|
|
4
|
-
import { BvComponent } from '../../'
|
|
5
|
-
|
|
6
|
-
// Component: b-table
|
|
7
|
-
export declare class BTable extends BvComponent {
|
|
8
|
-
// Public methods
|
|
9
|
-
refresh: () => void
|
|
10
|
-
clearSelected: () => void
|
|
11
|
-
selectAllRows: () => void
|
|
12
|
-
isRowSelected: (index: number) => boolean
|
|
13
|
-
selectRow: (index: number) => void
|
|
14
|
-
unselectRow: (index: number) => void
|
|
15
|
-
// Props
|
|
16
|
-
id?: string
|
|
17
|
-
items: Array<any> | BvTableProviderCallback
|
|
18
|
-
fields?: BvTableFieldArray
|
|
19
|
-
primaryKey?: string
|
|
20
|
-
sortBy?: string | null
|
|
21
|
-
sortKey?: string
|
|
22
|
-
sortDesc?: boolean
|
|
23
|
-
sortDirection?: BvTableSortDirection
|
|
24
|
-
sortCompare?: BvTableSortCompareCallback
|
|
25
|
-
sortCompareLocale?: string | Array<string>
|
|
26
|
-
sortCompareOptions?: BvTableLocaleCompareOptions
|
|
27
|
-
perPage?: number | string
|
|
28
|
-
currentPage?: number | string
|
|
29
|
-
filter?: string | Array<any> | RegExp | object | any
|
|
30
|
-
filterFunction?: BvTableFilterCallback
|
|
31
|
-
filterIgnoredFields?: Array<string>
|
|
32
|
-
filterIncludedFields?: Array<string>
|
|
33
|
-
busy?: boolean
|
|
34
|
-
tbodyTrClass?: string | Array<any> | object | BvTableTbodyTrClassCallback
|
|
35
|
-
tbodyTrAttr?: object | BvTableTbodyTrAttrCallback
|
|
36
|
-
tableVariant?: BvTableVariant | string
|
|
37
|
-
headVariant?: BvTableHeadFootVariant | string
|
|
38
|
-
footVariant?: BvTableHeadFootVariant | string
|
|
39
|
-
tbodyTransitionProps?: BvTableTbodyTransitionProps
|
|
40
|
-
tbodyTransitionHandlers?: BvTableTbodyTransitionHandlers
|
|
41
|
-
responsive?: boolean | string
|
|
42
|
-
stacked?: boolean | string
|
|
43
|
-
stickyHeader?: boolean
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Component: b-table-lite
|
|
47
|
-
export declare class BTableLite extends BvComponent {
|
|
48
|
-
// Props
|
|
49
|
-
id?: string
|
|
50
|
-
items: Array<any> | BvTableProviderCallback
|
|
51
|
-
fields?: BvTableFieldArray
|
|
52
|
-
primaryKey?: string
|
|
53
|
-
tbodyTrClass?: string | Array<any> | object | BvTableTbodyTrClassCallback
|
|
54
|
-
tbodyTrAttr?: object | BvTableTbodyTrAttrCallback
|
|
55
|
-
tableClass?: string
|
|
56
|
-
tableVariant?: BvTableVariant | string
|
|
57
|
-
headVariant?: BvTableHeadFootVariant | string
|
|
58
|
-
footVariant?: BvTableHeadFootVariant | string
|
|
59
|
-
tbodyTransitionProps?: BvTableTbodyTransitionProps
|
|
60
|
-
tbodyTransitionHandlers?: BvTableTbodyTransitionHandlers
|
|
61
|
-
responsive?: boolean | string
|
|
62
|
-
stacked?: boolean | string
|
|
63
|
-
stickyHeader?: boolean
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// Component: b-table-simple
|
|
67
|
-
export declare class BTableSimple extends BvComponent {
|
|
68
|
-
// Props
|
|
69
|
-
id?: string
|
|
70
|
-
tableClass?: string
|
|
71
|
-
tabelVariant?: BvTableVariant | string
|
|
72
|
-
responsive?: boolean | string
|
|
73
|
-
stacked?: boolean | string
|
|
74
|
-
stickyHeader?: boolean
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// Component: b-tbody
|
|
78
|
-
export declare class BTbody extends BvComponent {
|
|
79
|
-
tbodyTransitionProps?: BvTableTbodyTransitionProps
|
|
80
|
-
tbodyTransitionHandlers?: BvTableTbodyTransitionHandlers
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// Component: b-thead
|
|
84
|
-
export declare class BThead extends BvComponent {
|
|
85
|
-
headVariant?: BvTableHeadFootVariant | string
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// Component: b-tfoot
|
|
89
|
-
export declare class BTfoot extends BvComponent {
|
|
90
|
-
footVariant?: BvTableHeadFootVariant | string
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Component: b-tr
|
|
94
|
-
export declare class BTr extends BvComponent {
|
|
95
|
-
variant?: BvTableVariant | string
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Component: b-th
|
|
99
|
-
export declare class BTh extends BvComponent {
|
|
100
|
-
variant?: BvTableVariant | string
|
|
101
|
-
colspan?: number | string
|
|
102
|
-
rowspan?: number | string
|
|
103
|
-
stackedHeading?: number | string
|
|
104
|
-
stickyColumn?: boolean
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Component: b-td
|
|
108
|
-
export declare class BTd extends BvComponent {
|
|
109
|
-
variant?: BvTableVariant | string
|
|
110
|
-
colspan?: number | string
|
|
111
|
-
rowspan?: number | string
|
|
112
|
-
stackedHeading?: number | string
|
|
113
|
-
stickyColumn?: boolean
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export type BvTableVariant =
|
|
117
|
-
| 'active'
|
|
118
|
-
| 'success'
|
|
119
|
-
| 'info'
|
|
120
|
-
| 'warning'
|
|
121
|
-
| 'danger'
|
|
122
|
-
| 'primary'
|
|
123
|
-
| 'secondary'
|
|
124
|
-
| 'light'
|
|
125
|
-
| 'dark'
|
|
126
|
-
|
|
127
|
-
export type BvTableHeadFootVariant = 'light' | 'dark'
|
|
128
|
-
|
|
129
|
-
export type BvTableSortDirection = 'asc' | 'desc' | 'last'
|
|
130
|
-
|
|
131
|
-
export type BvTableFormatterCallback = ((value: any, key: string, item: any) => any)
|
|
132
|
-
|
|
133
|
-
export type BvTableTbodyTrAttrCallback = ((item: any, type: string) => object)
|
|
134
|
-
|
|
135
|
-
export type BvTableTbodyTrClassCallback = ((item: any, type: string) => any)
|
|
136
|
-
|
|
137
|
-
export type BvTableFilterCallback = ((item: any, filter: any) => boolean)
|
|
138
|
-
|
|
139
|
-
export type BvTableLocaleCompareOptionLocaleMatcher = 'lookup' | 'best fit'
|
|
140
|
-
|
|
141
|
-
export type BvTableLocaleCompareOptionSensitivity = 'base' | 'accent' | 'case' | 'variant'
|
|
142
|
-
|
|
143
|
-
export type BvTableLocaleCompareOptionCaseFirst = 'upper' | 'lower' | 'false'
|
|
144
|
-
|
|
145
|
-
export type BvTableLocaleCompareOptionUsage = 'sort'
|
|
146
|
-
|
|
147
|
-
export interface BvTableTbodyTransitionProps {
|
|
148
|
-
name?: string
|
|
149
|
-
appear?: boolean
|
|
150
|
-
css?: boolean
|
|
151
|
-
type?: string
|
|
152
|
-
duration?: number
|
|
153
|
-
moveClass?: string
|
|
154
|
-
enterClass?: string
|
|
155
|
-
leaveClass?: string
|
|
156
|
-
appearClass?: string
|
|
157
|
-
enterToClass?: string
|
|
158
|
-
leaveToClass?: string
|
|
159
|
-
appearToClass?: string
|
|
160
|
-
enterActiveClass?: string
|
|
161
|
-
leaveActiveClass?: string
|
|
162
|
-
appearActiveClass?: string
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export interface BvTableTbodyTransitionHandlers {
|
|
166
|
-
beforeEnter?: (el: any) => void
|
|
167
|
-
beforeLeave?: (el: any) => void
|
|
168
|
-
beforeAppear?: (el: any) => void
|
|
169
|
-
enter?: (el: any, done: () => void) => void
|
|
170
|
-
leave?: (el: any, done: () => void) => void
|
|
171
|
-
appear?: (el: any, done: () => void) => void
|
|
172
|
-
afterEnter?: (el: any) => void
|
|
173
|
-
afterLeave?: (el: any) => void
|
|
174
|
-
afterAppear?: (el: any) => void
|
|
175
|
-
enterCancelled?: (el: any) => void
|
|
176
|
-
leaveCancelled?: (el: any) => void
|
|
177
|
-
appearCancelled?: (el: any) => void
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export interface BvTableLocaleCompareOptions {
|
|
181
|
-
ignorePunctuation?: boolean
|
|
182
|
-
numeric?: boolean
|
|
183
|
-
localeMatcher?: BvTableLocaleCompareOptionLocaleMatcher
|
|
184
|
-
sensitivity?: BvTableLocaleCompareOptionSensitivity
|
|
185
|
-
caseFirst?: BvTableLocaleCompareOptionCaseFirst
|
|
186
|
-
usage?: BvTableLocaleCompareOptionUsage
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
export type BvTableSortCompareCallback = ((
|
|
190
|
-
a: any,
|
|
191
|
-
b: any,
|
|
192
|
-
field: string,
|
|
193
|
-
sortDesc?: boolean,
|
|
194
|
-
formatter?: BvTableFormatterCallback | undefined | null,
|
|
195
|
-
localeOptions?: BvTableLocaleCompareOptions,
|
|
196
|
-
locale?: string | Array<string> | undefined | null
|
|
197
|
-
) => number | boolean | null | undefined)
|
|
198
|
-
|
|
199
|
-
export interface BvTableCtxObject {
|
|
200
|
-
currentPage: number
|
|
201
|
-
perPage: number
|
|
202
|
-
filter: string | RegExp | BvTableFilterCallback | null
|
|
203
|
-
sortBy: string | null
|
|
204
|
-
sortDesc: boolean
|
|
205
|
-
apiUrl: string | null
|
|
206
|
-
[key: string]: any
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export type BvTableProviderPromiseResult = Array<any> | null
|
|
210
|
-
|
|
211
|
-
export interface BvTableProviderCallback {
|
|
212
|
-
(ctx: BvTableCtxObject): Array<any> | Promise<BvTableProviderPromiseResult> | any
|
|
213
|
-
(ctx: BvTableCtxObject, callback: () => Array<any>): null
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
export interface BvTableField {
|
|
217
|
-
label?: string
|
|
218
|
-
headerTitle?: string
|
|
219
|
-
headerAbbr?: string
|
|
220
|
-
class?: string | string[]
|
|
221
|
-
formatter?: string | BvTableFormatterCallback
|
|
222
|
-
sortable?: boolean
|
|
223
|
-
sortKey?: string
|
|
224
|
-
sortDirection?: BvTableSortDirection
|
|
225
|
-
sortByFormatted?: boolean | BvTableFormatterCallback
|
|
226
|
-
filterByFormatted?: boolean | BvTableFormatterCallback
|
|
227
|
-
tdClass?: string | string[] | ((value: any, key: string, item: any) => any)
|
|
228
|
-
thClass?: string | string[]
|
|
229
|
-
thStyle?: any
|
|
230
|
-
variant?: BvTableVariant | string
|
|
231
|
-
tdAttr?: any | ((value: any, key: string, item: any) => any)
|
|
232
|
-
thAttr?: any | ((value: any, key: string, item: any, type: string) => any)
|
|
233
|
-
stickyColumn?: boolean
|
|
234
|
-
isRowHeader?: boolean
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
export type BvTableFieldArray = Array<string | ({ key: string } & BvTableField)>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Tabs
|
|
3
|
-
//
|
|
4
|
-
import { BvComponent } from '../../'
|
|
5
|
-
|
|
6
|
-
// Component: b-tabs
|
|
7
|
-
export declare class BTabs extends BvComponent {}
|
|
8
|
-
|
|
9
|
-
// Component: b-tab
|
|
10
|
-
export declare class BTab extends BvComponent {
|
|
11
|
-
activate: () => boolean
|
|
12
|
-
deactivate: () => boolean
|
|
13
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Toast
|
|
3
|
-
//
|
|
4
|
-
import Vue, { VNode } from 'vue'
|
|
5
|
-
import { BvPlugin, BvComponent } from '../../'
|
|
6
|
-
|
|
7
|
-
// Toast Plugin
|
|
8
|
-
export declare const ToastPlugin: BvPlugin
|
|
9
|
-
|
|
10
|
-
// Component: b-toast
|
|
11
|
-
export declare class BToast extends BvComponent {
|
|
12
|
-
show: () => void
|
|
13
|
-
hide: () => void
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// Component: b-toaster
|
|
17
|
-
export declare class BToaster extends BvComponent {}
|
|
18
|
-
|
|
19
|
-
//
|
|
20
|
-
// Interfaces
|
|
21
|
-
//
|
|
22
|
-
export interface BvToastOptions {
|
|
23
|
-
// Commonly used props
|
|
24
|
-
toaster?: string
|
|
25
|
-
title?: string | VNode | Array<VNode>
|
|
26
|
-
variant?: string
|
|
27
|
-
solid?: boolean
|
|
28
|
-
noAutoHide?: boolean
|
|
29
|
-
noHoverPause?: boolean
|
|
30
|
-
autoHideDelay?: number
|
|
31
|
-
appendToast?: boolean
|
|
32
|
-
isStatus?: boolean
|
|
33
|
-
noFade?: boolean
|
|
34
|
-
toastClass?: string | string[] | Array<any> | object | any
|
|
35
|
-
headerClass?: string | string[] | Array<any> | object | any
|
|
36
|
-
bodyClass?: string | string[] | Array<any> | object | any
|
|
37
|
-
href?: string
|
|
38
|
-
to?: string | object | any
|
|
39
|
-
// Catch all
|
|
40
|
-
[key: string]: any
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface BvToastShortcutMethod {
|
|
44
|
-
(message: string | VNode | Array<VNode>, options?: BvToastOptions): void
|
|
45
|
-
// Future
|
|
46
|
-
// (options?: BvToastOptions): void
|
|
47
|
-
// (message: string | VNode | Array<VNode>, title: string | VNode | Array<VNode>, options?: BvToastOptions): void
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface BvToast {
|
|
51
|
-
// Show a toast
|
|
52
|
-
toast: BvToastShortcutMethod
|
|
53
|
-
|
|
54
|
-
// Show a toast by id
|
|
55
|
-
show: (id: string) => void
|
|
56
|
-
|
|
57
|
-
// Hide a toast by id (or hide all tosts)
|
|
58
|
-
hide: (id?: string) => void
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
//
|
|
62
|
-
// Vue Prototype Injections
|
|
63
|
-
//
|
|
64
|
-
declare module 'vue/types/vue' {
|
|
65
|
-
interface Vue {
|
|
66
|
-
// Toast injection
|
|
67
|
-
readonly $bvToast: BvToast
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import Vue, { Component, PluginFunction, PluginObject } from 'vue'
|
|
2
|
-
|
|
3
|
-
// Plugin Config Options
|
|
4
|
-
export type BvConfigComponentOptionValue =
|
|
5
|
-
| string
|
|
6
|
-
| string[]
|
|
7
|
-
| number
|
|
8
|
-
| number[]
|
|
9
|
-
| boolean
|
|
10
|
-
| object
|
|
11
|
-
| null
|
|
12
|
-
export type BvConfigBreakpointsValue = string[]
|
|
13
|
-
export interface BvConfigComponentOptions {
|
|
14
|
-
[key: string]: BvConfigComponentOptionValue | any
|
|
15
|
-
}
|
|
16
|
-
export interface BvConfigOptions {
|
|
17
|
-
breakpoints?: BvConfigBreakpointsValue
|
|
18
|
-
[key: string]: BvConfigComponentOptions | any
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// Plugin definition
|
|
22
|
-
export interface BvPlugin extends PluginObject<BvConfigOptions> {
|
|
23
|
-
install: PluginFunction<BvConfigOptions>
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Component base definition
|
|
27
|
-
export class BvComponent extends Vue {
|
|
28
|
-
// Simple catch-all to allow any prop/type
|
|
29
|
-
[key: string]: any
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Generic BvEvent Object
|
|
33
|
-
export interface BvEvent {
|
|
34
|
-
readonly type: string
|
|
35
|
-
readonly cancelable: boolean
|
|
36
|
-
readonly nativeEvent: any
|
|
37
|
-
readonly target: any
|
|
38
|
-
readonly relatedTarget: any
|
|
39
|
-
readonly defaultPrevented: boolean
|
|
40
|
-
readonly vueTarget: Vue | Component | null
|
|
41
|
-
readonly componentId: string | null
|
|
42
|
-
preventDefault: () => void
|
|
43
|
-
// Catch all
|
|
44
|
-
[key: string]: any
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Vue prototype augments
|
|
48
|
-
import './vue-injections'
|
|
49
|
-
|
|
50
|
-
// BvConfig Plugin
|
|
51
|
-
export * from './bv-config'
|
|
52
|
-
|
|
53
|
-
// Components & Plugins
|
|
54
|
-
export * from './components'
|
|
55
|
-
|
|
56
|
-
// BootstrapVue plugin
|
|
57
|
-
export interface BootstrapVuePlugin extends BvPlugin {
|
|
58
|
-
setConfig: (config: BvConfigOptions) => void
|
|
59
|
-
}
|
|
60
|
-
export declare const BootstrapVue: BootstrapVuePlugin
|
|
61
|
-
export default BootstrapVue
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Augment the typings of Vue.js
|
|
3
|
-
*/
|
|
4
|
-
import Vue from 'vue'
|
|
5
|
-
import { BvModal } from './components/modal'
|
|
6
|
-
import { BvToast } from './components/toast'
|
|
7
|
-
|
|
8
|
-
declare module 'vue/types/vue' {
|
|
9
|
-
interface Vue {
|
|
10
|
-
readonly $bvModal: BvModal
|
|
11
|
-
readonly $bvToast: BvToast
|
|
12
|
-
}
|
|
13
|
-
}
|