@gitlab/ui 114.1.0 → 114.1.2

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.
Files changed (141) hide show
  1. package/dist/components/base/breadcrumb/breadcrumb.js +4 -16
  2. package/dist/index.css +1 -1
  3. package/dist/index.css.map +1 -1
  4. package/package.json +7 -26
  5. package/src/components/base/breadcrumb/breadcrumb.scss +18 -2
  6. package/src/components/base/breadcrumb/breadcrumb.vue +4 -17
  7. package/CHANGELOG.md +0 -13139
  8. package/src/vendor/bootstrap/LICENSE +0 -11
  9. package/src/vendor/bootstrap-vue/LICENSE +0 -11
  10. package/src/vendor/bootstrap-vue/package.json +0 -144
  11. package/src/vendor/bootstrap-vue/src/components/button/MODIFICATIONS.md +0 -16
  12. package/src/vendor/bootstrap-vue/src/components/button/README.md +0 -240
  13. package/src/vendor/bootstrap-vue/src/components/button/button-close.spec.js +0 -210
  14. package/src/vendor/bootstrap-vue/src/components/button/button.spec.js +0 -349
  15. package/src/vendor/bootstrap-vue/src/components/button/package.json +0 -105
  16. package/src/vendor/bootstrap-vue/src/components/dropdown/README.md +0 -730
  17. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-divider.spec.js +0 -58
  18. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-form.spec.js +0 -110
  19. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-group.spec.js +0 -94
  20. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-header.spec.js +0 -73
  21. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-item-button.spec.js +0 -117
  22. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-item.spec.js +0 -147
  23. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown-text.spec.js +0 -59
  24. package/src/vendor/bootstrap-vue/src/components/dropdown/dropdown.spec.js +0 -1121
  25. package/src/vendor/bootstrap-vue/src/components/dropdown/package.json +0 -368
  26. package/src/vendor/bootstrap-vue/src/components/form/README.md +0 -365
  27. package/src/vendor/bootstrap-vue/src/components/form/form-invalid-feedback.spec.js +0 -170
  28. package/src/vendor/bootstrap-vue/src/components/form/form-text.spec.js +0 -93
  29. package/src/vendor/bootstrap-vue/src/components/form/form-valid-feedback.spec.js +0 -157
  30. package/src/vendor/bootstrap-vue/src/components/form/form.spec.js +0 -97
  31. package/src/vendor/bootstrap-vue/src/components/form/package.json +0 -112
  32. package/src/vendor/bootstrap-vue/src/components/form-checkbox/README.md +0 -691
  33. package/src/vendor/bootstrap-vue/src/components/form-checkbox/form-checkbox-group.spec.js +0 -525
  34. package/src/vendor/bootstrap-vue/src/components/form-checkbox/form-checkbox.spec.js +0 -922
  35. package/src/vendor/bootstrap-vue/src/components/form-checkbox/package.json +0 -172
  36. package/src/vendor/bootstrap-vue/src/components/form-group/README.md +0 -339
  37. package/src/vendor/bootstrap-vue/src/components/form-group/form-group.spec.js +0 -477
  38. package/src/vendor/bootstrap-vue/src/components/form-group/package.json +0 -183
  39. package/src/vendor/bootstrap-vue/src/components/form-radio/README.md +0 -437
  40. package/src/vendor/bootstrap-vue/src/components/form-radio/form-radio-group.spec.js +0 -357
  41. package/src/vendor/bootstrap-vue/src/components/form-radio/form-radio.spec.js +0 -587
  42. package/src/vendor/bootstrap-vue/src/components/form-radio/package.json +0 -162
  43. package/src/vendor/bootstrap-vue/src/components/form-select/README.md +0 -504
  44. package/src/vendor/bootstrap-vue/src/components/form-select/form-select-option-group.spec.js +0 -138
  45. package/src/vendor/bootstrap-vue/src/components/form-select/form-select-option.spec.js +0 -75
  46. package/src/vendor/bootstrap-vue/src/components/form-select/form-select.spec.js +0 -723
  47. package/src/vendor/bootstrap-vue/src/components/form-select/package.json +0 -132
  48. package/src/vendor/bootstrap-vue/src/components/form-textarea/README.md +0 -453
  49. package/src/vendor/bootstrap-vue/src/components/form-textarea/form-textarea.spec.js +0 -1000
  50. package/src/vendor/bootstrap-vue/src/components/form-textarea/package.json +0 -122
  51. package/src/vendor/bootstrap-vue/src/components/layout/README.md +0 -791
  52. package/src/vendor/bootstrap-vue/src/components/layout/col.spec.js +0 -192
  53. package/src/vendor/bootstrap-vue/src/components/layout/form-row.spec.js +0 -45
  54. package/src/vendor/bootstrap-vue/src/components/layout/package.json +0 -99
  55. package/src/vendor/bootstrap-vue/src/components/link/README.md +0 -76
  56. package/src/vendor/bootstrap-vue/src/components/link/link.spec.js +0 -434
  57. package/src/vendor/bootstrap-vue/src/components/link/package.json +0 -57
  58. package/src/vendor/bootstrap-vue/src/components/modal/MODIFICATIONS.md +0 -30
  59. package/src/vendor/bootstrap-vue/src/components/modal/README.md +0 -1067
  60. package/src/vendor/bootstrap-vue/src/components/modal/helpers/bv-modal-event.class.spec.js +0 -82
  61. package/src/vendor/bootstrap-vue/src/components/modal/modal.spec.js +0 -1418
  62. package/src/vendor/bootstrap-vue/src/components/modal/package.json +0 -544
  63. package/src/vendor/bootstrap-vue/src/components/nav/README.md +0 -362
  64. package/src/vendor/bootstrap-vue/src/components/nav/nav-item.spec.js +0 -127
  65. package/src/vendor/bootstrap-vue/src/components/nav/nav.spec.js +0 -177
  66. package/src/vendor/bootstrap-vue/src/components/nav/package.json +0 -73
  67. package/src/vendor/bootstrap-vue/src/components/popover/README.md +0 -919
  68. package/src/vendor/bootstrap-vue/src/components/popover/package.json +0 -261
  69. package/src/vendor/bootstrap-vue/src/components/popover/popover.spec.js +0 -198
  70. package/src/vendor/bootstrap-vue/src/components/table/README.md +0 -3157
  71. package/src/vendor/bootstrap-vue/src/components/table/helpers/default-sort-compare.spec.js +0 -112
  72. package/src/vendor/bootstrap-vue/src/components/table/helpers/normalize-fields.spec.js +0 -93
  73. package/src/vendor/bootstrap-vue/src/components/table/package.json +0 -1763
  74. package/src/vendor/bootstrap-vue/src/components/table/table-busy.spec.js +0 -150
  75. package/src/vendor/bootstrap-vue/src/components/table/table-caption.spec.js +0 -176
  76. package/src/vendor/bootstrap-vue/src/components/table/table-colgroup.spec.js +0 -81
  77. package/src/vendor/bootstrap-vue/src/components/table/table-filtering.spec.js +0 -409
  78. package/src/vendor/bootstrap-vue/src/components/table/table-item-formatter.spec.js +0 -56
  79. package/src/vendor/bootstrap-vue/src/components/table/table-lite.spec.js +0 -682
  80. package/src/vendor/bootstrap-vue/src/components/table/table-pagination.spec.js +0 -133
  81. package/src/vendor/bootstrap-vue/src/components/table/table-primarykey.spec.js +0 -83
  82. package/src/vendor/bootstrap-vue/src/components/table/table-provider.spec.js +0 -411
  83. package/src/vendor/bootstrap-vue/src/components/table/table-row-details.spec.js +0 -459
  84. package/src/vendor/bootstrap-vue/src/components/table/table-selectable.spec.js +0 -1182
  85. package/src/vendor/bootstrap-vue/src/components/table/table-simple.spec.js +0 -206
  86. package/src/vendor/bootstrap-vue/src/components/table/table-sorting.spec.js +0 -858
  87. package/src/vendor/bootstrap-vue/src/components/table/table-sticky-column.spec.js +0 -377
  88. package/src/vendor/bootstrap-vue/src/components/table/table-tbody-bottom-row.spec.js +0 -94
  89. package/src/vendor/bootstrap-vue/src/components/table/table-tbody-row-events.spec.js +0 -529
  90. package/src/vendor/bootstrap-vue/src/components/table/table-tbody-top-row.spec.js +0 -88
  91. package/src/vendor/bootstrap-vue/src/components/table/table-tbody-transition.spec.js +0 -83
  92. package/src/vendor/bootstrap-vue/src/components/table/table-tfoot-custom.spec.js +0 -91
  93. package/src/vendor/bootstrap-vue/src/components/table/table-tfoot-events.spec.js +0 -137
  94. package/src/vendor/bootstrap-vue/src/components/table/table-thead-events.spec.js +0 -155
  95. package/src/vendor/bootstrap-vue/src/components/table/table-thead-top.spec.js +0 -96
  96. package/src/vendor/bootstrap-vue/src/components/table/table.spec.js +0 -692
  97. package/src/vendor/bootstrap-vue/src/components/tabs/README.md +0 -433
  98. package/src/vendor/bootstrap-vue/src/components/tabs/package.json +0 -205
  99. package/src/vendor/bootstrap-vue/src/components/tabs/tab.spec.js +0 -330
  100. package/src/vendor/bootstrap-vue/src/components/tabs/tabs.spec.js +0 -778
  101. package/src/vendor/bootstrap-vue/src/components/toast/README.md +0 -655
  102. package/src/vendor/bootstrap-vue/src/components/toast/helpers/bv-toast.spec.js +0 -117
  103. package/src/vendor/bootstrap-vue/src/components/toast/package.json +0 -184
  104. package/src/vendor/bootstrap-vue/src/components/toast/toast.spec.js +0 -294
  105. package/src/vendor/bootstrap-vue/src/components/toast/toaster.spec.js +0 -77
  106. package/src/vendor/bootstrap-vue/src/components/tooltip/README.md +0 -559
  107. package/src/vendor/bootstrap-vue/src/components/tooltip/package.json +0 -258
  108. package/src/vendor/bootstrap-vue/src/components/tooltip/tooltip.spec.js +0 -1240
  109. package/src/vendor/bootstrap-vue/src/components/transition/package.json +0 -5
  110. package/src/vendor/bootstrap-vue/src/components/transporter/package.json +0 -5
  111. package/src/vendor/bootstrap-vue/src/components/transporter/transporter.spec.js +0 -85
  112. package/src/vendor/bootstrap-vue/src/directives/modal/modal.spec.js +0 -191
  113. package/src/vendor/bootstrap-vue/src/directives/tooltip/README.md +0 -521
  114. package/src/vendor/bootstrap-vue/src/directives/tooltip/package.json +0 -131
  115. package/src/vendor/bootstrap-vue/src/directives/tooltip/tooltip.spec.js +0 -190
  116. package/src/vendor/bootstrap-vue/src/directives/visible/README.md +0 -244
  117. package/src/vendor/bootstrap-vue/src/directives/visible/package.json +0 -24
  118. package/src/vendor/bootstrap-vue/src/mixins/attrs.spec.js +0 -194
  119. package/src/vendor/bootstrap-vue/src/mixins/click-out.spec.js +0 -52
  120. package/src/vendor/bootstrap-vue/src/mixins/focus-in.spec.js +0 -53
  121. package/src/vendor/bootstrap-vue/src/mixins/listen-on-document.spec.js +0 -117
  122. package/src/vendor/bootstrap-vue/src/mixins/listen-on-root.spec.js +0 -77
  123. package/src/vendor/bootstrap-vue/src/mixins/listen-on-window.spec.js +0 -115
  124. package/src/vendor/bootstrap-vue/src/mixins/listeners.spec.js +0 -245
  125. package/src/vendor/bootstrap-vue/src/utils/bv-event.class.spec.js +0 -66
  126. package/src/vendor/bootstrap-vue/src/utils/clone-deep.spec.js +0 -70
  127. package/src/vendor/bootstrap-vue/src/utils/config.spec.js +0 -169
  128. package/src/vendor/bootstrap-vue/src/utils/css-escape.spec.js +0 -82
  129. package/src/vendor/bootstrap-vue/src/utils/dom.spec.js +0 -291
  130. package/src/vendor/bootstrap-vue/src/utils/events.spec.js +0 -41
  131. package/src/vendor/bootstrap-vue/src/utils/get.spec.js +0 -109
  132. package/src/vendor/bootstrap-vue/src/utils/inspect.spec.js +0 -251
  133. package/src/vendor/bootstrap-vue/src/utils/loose-equal.spec.js +0 -203
  134. package/src/vendor/bootstrap-vue/src/utils/normalize-slot.spec.js +0 -63
  135. package/src/vendor/bootstrap-vue/src/utils/number.spec.js +0 -72
  136. package/src/vendor/bootstrap-vue/src/utils/object.spec.js +0 -61
  137. package/src/vendor/bootstrap-vue/src/utils/props.spec.js +0 -112
  138. package/src/vendor/bootstrap-vue/src/utils/router.spec.js +0 -248
  139. package/src/vendor/bootstrap-vue/src/utils/string.spec.js +0 -65
  140. package/src/vendor/bootstrap-vue/src/utils/stringify-object-values.spec.js +0 -47
  141. package/src/vendor/bootstrap-vue/src/utils/warn.spec.js +0 -54
@@ -1,544 +0,0 @@
1
- {
2
- "name": "@bootstrap-vue/modal",
3
- "version": "1.0.0",
4
- "meta": {
5
- "title": "Modal",
6
- "description": "Modals are streamlined, but flexible dialog prompts powered by JavaScript and CSS. They support a number of use cases from user notification to completely custom content and feature a handful of helpful sub-components, sizes, variants, accessibility, and more.",
7
- "directives": [
8
- {
9
- "directive": "VBModal",
10
- "description": "Directive for opening a modal by ID",
11
- "expression": "String",
12
- "arg": {
13
- "pattern": "[a-zA-Z][a-zA-Z0-9_\\-]*",
14
- "description": "Modal ID to open",
15
- "required": false
16
- },
17
- "modifiers": [
18
- {
19
- "name": "{modalId}",
20
- "pattern": "[a-zA-Z][a-zA-Z0-9_\\-]*",
21
- "description": "Modal ID to open. Replace `{modalId}` with the modal's ID"
22
- }
23
- ]
24
- }
25
- ],
26
- "components": [
27
- {
28
- "component": "BModal",
29
- "props": [
30
- {
31
- "prop": "ariaLabel",
32
- "description": "Explicitly supply an 'aria-label' attribute for the modal. Should be set when the modal has no title. When not set 'aria-labelledby' will point to the modal's title"
33
- },
34
- {
35
- "prop": "autoFocusButton",
36
- "version": "2.0.0",
37
- "description": "Specify which built-in button to focus once the modal opens: 'ok', 'cancel', or 'close'"
38
- },
39
- {
40
- "prop": "bodyClass",
41
- "description": "CSS class (or classes) to apply to the '.modal-body' wrapper element"
42
- },
43
- {
44
- "prop": "busy",
45
- "description": "Places the built in default footer OK and Cancel buttons in the disabled state"
46
- },
47
- {
48
- "prop": "buttonSize",
49
- "description": "Size of the built in footer buttons: 'sm', 'md' (default), or 'lg'"
50
- },
51
- {
52
- "prop": "cancelDisabled",
53
- "description": "Places the default footer Cancel button in the disabled state"
54
- },
55
- {
56
- "prop": "cancelTitle",
57
- "description": "Text string to place in the default footer Cancel button"
58
- },
59
- {
60
- "prop": "cancelTitleHtml",
61
- "description": "HTML string to place in the default footer Cancel button",
62
- "xss": true
63
- },
64
- {
65
- "prop": "cancelVariant",
66
- "description": "Button color theme variant to apply to the default footer Cancel button"
67
- },
68
- {
69
- "prop": "centered",
70
- "description": "Vertically centers the modal in the viewport"
71
- },
72
- {
73
- "prop": "contentClass",
74
- "description": "CSS class (or classes) to apply to the '.modal-content' wrapper element"
75
- },
76
- {
77
- "prop": "dialogClass",
78
- "description": "CSS class (or classes) to apply to the '.modal-dialog' wrapper element"
79
- },
80
- {
81
- "prop": "footerClass",
82
- "description": "CSS class (or classes) to apply to the '.modal-footer' wrapper element"
83
- },
84
- {
85
- "prop": "footerTag",
86
- "version": "2.22.0",
87
- "description": "Specify the HTML tag to render instead of the default tag for the footer"
88
- },
89
- {
90
- "prop": "headerClass",
91
- "description": "CSS class (or classes) to apply to the '.modal-header' wrapper element"
92
- },
93
- {
94
- "prop": "headerCloseContent",
95
- "version": "2.3.0",
96
- "description": "Content of the header close button"
97
- },
98
- {
99
- "prop": "headerCloseLabel",
100
- "description": "Value of the 'aria-label' on the header close button"
101
- },
102
- {
103
- "prop": "headerTag",
104
- "version": "2.22.0",
105
- "description": "Specify the HTML tag to render instead of the default tag for the footer"
106
- },
107
- {
108
- "prop": "hideBackdrop",
109
- "description": "Disables rendering of the modal backdrop"
110
- },
111
- {
112
- "prop": "hideFooter",
113
- "description": "Disables rendering of the modal footer"
114
- },
115
- {
116
- "prop": "hideHeader",
117
- "description": "Disables rendering of the modal header"
118
- },
119
- {
120
- "prop": "hideHeaderClose",
121
- "description": "Disables rendering of the modal header's close button"
122
- },
123
- {
124
- "prop": "ignoreEnforceFocusSelector",
125
- "version": "2.4.0",
126
- "description": "Ignore certain elements from the enforce focus routine, specified by css selector(s)"
127
- },
128
- {
129
- "prop": "lazy",
130
- "description": "When the modal has the `static` prop set, renders the modal content lazily"
131
- },
132
- {
133
- "prop": "modalClass",
134
- "description": "CSS class (or classes) to apply to the '.modal' wrapper element"
135
- },
136
- {
137
- "prop": "noCloseOnBackdrop",
138
- "description": "Disables the ability to close the modal by clicking the backdrop"
139
- },
140
- {
141
- "prop": "noCloseOnEsc",
142
- "description": "Disables the ability to close the modal by pressing ESC"
143
- },
144
- {
145
- "prop": "noEnforceFocus",
146
- "description": "Disables the enforce focus routine which maintains focus inside the modal"
147
- },
148
- {
149
- "prop": "noStacking",
150
- "description": "Prevents other modals from stacking over this one"
151
- },
152
- {
153
- "prop": "okDisabled",
154
- "description": "Places the default footer OK button in the disabled state"
155
- },
156
- {
157
- "prop": "okOnly",
158
- "description": "Disables rendering of the default footer Cancel button"
159
- },
160
- {
161
- "prop": "okTitle",
162
- "description": "Text string to place in the default footer OK button"
163
- },
164
- {
165
- "prop": "okTitleHtml",
166
- "description": "HTML string to place in the default footer OK button",
167
- "xss": true
168
- },
169
- {
170
- "prop": "okVariant",
171
- "description": "Button color theme variant to apply to the default footer OK button"
172
- },
173
- {
174
- "prop": "returnFocus",
175
- "description": "HTML Element reference, CSS selector, or component reference to return focus to when the modal closes. When not set, will return focus to the element that last had focus before the modal opened"
176
- },
177
- {
178
- "prop": "scrollable",
179
- "description": "Enables scrolling of the modal body"
180
- },
181
- {
182
- "prop": "size",
183
- "description": "Set the size of the modal's width. 'sm', 'md' (default), 'lg', or 'xl'"
184
- },
185
- {
186
- "prop": "titleTag",
187
- "description": "Specify the HTML tag to render instead of the default tag for the title"
188
- },
189
- {
190
- "prop": "visible",
191
- "description": "The current visibility state of the modal"
192
- }
193
- ],
194
- "events": [
195
- {
196
- "event": "bv::modal::hidden",
197
- "description": "Emitted on `$root` when modal is hidden",
198
- "args": [
199
- {
200
- "arg": "bvModalEvent",
201
- "type": "BvModalEvent",
202
- "description": "BvModalEvent object"
203
- },
204
- {
205
- "arg": "modalId",
206
- "type": "String",
207
- "description": "Modal ID"
208
- }
209
- ]
210
- },
211
- {
212
- "event": "bv::modal::hide",
213
- "description": "Emitted on `$root` when modal is about to be hidden. Cancelable (as long as modal wasn't forcibly hidden)",
214
- "args": [
215
- {
216
- "arg": "bvModalEvent",
217
- "type": "BvModalEvent",
218
- "description": "BvModalEvent object. Call `bvModalEvent.preventDefault()` to cancel hide"
219
- },
220
- {
221
- "arg": "modalId",
222
- "type": "String",
223
- "description": "Modal ID"
224
- }
225
- ]
226
- },
227
- {
228
- "event": "bv::modal::show",
229
- "description": "Emitted on `$root` when modal is about to be shown. Cancelable",
230
- "args": [
231
- {
232
- "arg": "bvModalEvent",
233
- "type": "BvModalEvent",
234
- "description": "BvModalEvent object. Call `bvModalEvent.preventDefault()` to cancel show"
235
- },
236
- {
237
- "arg": "modalId",
238
- "type": "String",
239
- "description": "Modal ID"
240
- }
241
- ]
242
- },
243
- {
244
- "event": "bv::modal::shown",
245
- "description": "Emitted on `$root` when modal is shown",
246
- "args": [
247
- {
248
- "arg": "bvModalEvent",
249
- "type": "BvModalEvent",
250
- "description": "BvModalEvent object"
251
- },
252
- {
253
- "arg": "modalId",
254
- "type": "String",
255
- "description": "Modal ID"
256
- }
257
- ]
258
- },
259
- {
260
- "event": "cancel",
261
- "description": "When default CANCEL button pressed, just before modal has hidden. Cancelable",
262
- "args": [
263
- {
264
- "arg": "bvModalEvent",
265
- "type": "BvModalEvent",
266
- "description": "BvModalEvent object. Call `bvModalEvent.preventDefault()` to cancel hide"
267
- }
268
- ]
269
- },
270
- {
271
- "event": "change",
272
- "description": "New modal visibility state. Used to update the v-model",
273
- "args": [
274
- {
275
- "arg": "isVisible",
276
- "type": "Boolean",
277
- "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible"
278
- }
279
- ]
280
- },
281
- {
282
- "event": "close",
283
- "description": "When default header close button pressed, just before modal has hidden. Cancelable",
284
- "args": [
285
- {
286
- "arg": "bvModalEvent",
287
- "type": "BvModalEvent",
288
- "description": "BvModalEvent object. Call `bvModalEvent.preventDefault()` to cancel hide"
289
- }
290
- ]
291
- },
292
- {
293
- "event": "hidden",
294
- "description": "Always emits after modal is hidden",
295
- "args": [
296
- {
297
- "arg": "bvModalEvent",
298
- "type": "BvModalEvent",
299
- "description": "BvModalEvent object"
300
- }
301
- ]
302
- },
303
- {
304
- "event": "hide",
305
- "description": "Always emits just before modal has hidden. Cancelable (as long as modal wasn't forcibly hidden)",
306
- "args": [
307
- {
308
- "arg": "bvModalEvent",
309
- "type": "BvModalEvent",
310
- "description": "BvModalEvent object. Inspect `bvModalEvent.trigger` to find out what action triggered the hide. Call `bvModalEvent.preventDefault()` to cancel hide"
311
- }
312
- ]
313
- },
314
- {
315
- "event": "ok",
316
- "description": "When default OK button pressed, just before modal has hidden. Cancelable",
317
- "args": [
318
- {
319
- "arg": "bvModalEvent",
320
- "type": "BvModalEvent",
321
- "description": "BvModalEvent object. Call `bvModalEvent.preventDefault()` to cancel hide"
322
- }
323
- ]
324
- },
325
- {
326
- "event": "show",
327
- "description": "Always emits just before modal is shown. Cancelable",
328
- "args": [
329
- {
330
- "arg": "bvModalEvent",
331
- "type": "BvModalEvent",
332
- "description": "BvModalEvent object. Call `bvModalEvent.preventDefault()` to cancel show"
333
- }
334
- ]
335
- },
336
- {
337
- "event": "shown",
338
- "description": "Always emits when modal is shown",
339
- "args": [
340
- {
341
- "arg": "bvModalEvent",
342
- "type": "BvModalEvent",
343
- "description": "BvModalEvent object"
344
- }
345
- ]
346
- }
347
- ],
348
- "rootEventListeners": [
349
- {
350
- "event": "bv::hide::modal",
351
- "description": "Hide modal with specified ID when this event is emitted on `root`",
352
- "args": [
353
- {
354
- "arg": "modalId",
355
- "type": "String",
356
- "description": "ID of modal to hide"
357
- }
358
- ]
359
- },
360
- {
361
- "event": "bv::show::modal",
362
- "description": "Show modal with specified ID when this event is emitted on `$root`",
363
- "args": [
364
- {
365
- "arg": "modalId",
366
- "type": "String",
367
- "description": "Modal ID to show"
368
- },
369
- {
370
- "arg": "elIDtoFocusOnClose",
371
- "type": [
372
- "String",
373
- "HTMLElement"
374
- ],
375
- "description": "Specify the element reference, or CSS selector, to return focus to once the modal is closed (optional)"
376
- }
377
- ]
378
- },
379
- {
380
- "event": "bv::toggle::modal",
381
- "description": "Toggle a modal's visibility given its ID",
382
- "args": [
383
- {
384
- "arg": "modalId",
385
- "type": "String",
386
- "description": "ID of modal to toggle visibility"
387
- },
388
- {
389
- "arg": "elIDtoFocusOnClose",
390
- "type": [
391
- "String",
392
- "HTMLElement"
393
- ],
394
- "description": "Specify the element reference, or CSS selector, to return focus to once the modal is closed (optional)"
395
- }
396
- ]
397
- }
398
- ],
399
- "slots": [
400
- {
401
- "name": "default",
402
- "description": "Content of modal body. Optionally scoped",
403
- "scope": [
404
- {
405
- "prop": "cancel",
406
- "type": "Function",
407
- "description": "Closes the modal and fires the 'cancel' and 'hide' events, with `bvModalEvent.trigger = 'cancel'`"
408
- },
409
- {
410
- "prop": "close",
411
- "type": "Function",
412
- "description": "Closes the modal and fires the close and hide events, with `bvModalEvent.trigger = 'headerclose'`"
413
- },
414
- {
415
- "prop": "hide",
416
- "type": "Function",
417
- "description": "Accepts one argument `trigger`. Closes the modal and fires the 'hide' event, with the `bvModalEvent.trigger = trigger` (`trigger` is optional)"
418
- },
419
- {
420
- "prop": "ok",
421
- "type": "Function",
422
- "description": "Closes the modal and fires the 'ok' and 'hide' events, with `bvModalEvent.trigger = 'ok'`"
423
- },
424
- {
425
- "prop": "visible",
426
- "type": "Boolean",
427
- "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible"
428
- }
429
- ]
430
- },
431
- {
432
- "name": "modal-backdrop",
433
- "description": "Modal Backdrop content"
434
- },
435
- {
436
- "name": "modal-cancel",
437
- "description": "Modal CANCEL button content"
438
- },
439
- {
440
- "name": "modal-footer",
441
- "description": "Modal footer content. Also removes default OK and Cancel buttons. Optionally scoped",
442
- "scope": [
443
- {
444
- "prop": "cancel",
445
- "type": "Function",
446
- "description": "Closes the modal and fires the 'cancel' and 'hide' events, with `vModalEvent.trigger = 'cancel'`"
447
- },
448
- {
449
- "prop": "close",
450
- "type": "Function",
451
- "description": "Closes the modal and fires the close and hide events, with `vModalEvent.trigger = 'headerclose'`"
452
- },
453
- {
454
- "prop": "hide",
455
- "type": "Function",
456
- "description": "Accepts one argument `trigger`. Closes the modal and fires the 'hide' event, with the `bvModalEvent.trigger = trigger` (`trigger` is optional)"
457
- },
458
- {
459
- "prop": "ok",
460
- "type": "Function",
461
- "description": "Closes the modal and fires the 'ok' and 'hide' events, with `bvModalEvent.trigger = 'ok'`"
462
- },
463
- {
464
- "prop": "visible",
465
- "type": "Boolean",
466
- "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible"
467
- }
468
- ]
469
- },
470
- {
471
- "name": "modal-header",
472
- "description": "Entire modal header container contents. Also removes the top right X close button. Optionally scoped",
473
- "scope": [
474
- {
475
- "prop": "cancel",
476
- "type": "Function",
477
- "description": "Closes the modal and fires the 'cancel' and 'hide' events, with `bvModalEvent.trigger = 'cancel'`"
478
- },
479
- {
480
- "prop": "close",
481
- "type": "Function",
482
- "description": "Closes the modal and fires the close and hide events, with `bvModalEvent.trigger = 'headerclose'`"
483
- },
484
- {
485
- "prop": "hide",
486
- "type": "Function",
487
- "description": "Accepts one argument `trigger`. Closes the modal and fires the 'hide' event, with the `bvModalEvent.trigger = trigger` (`trigger` is optional)"
488
- },
489
- {
490
- "prop": "ok",
491
- "type": "Function",
492
- "description": "Closes the modal and fires the 'ok' and 'hide' events, with `bvModalEvent.trigger = 'ok'`"
493
- },
494
- {
495
- "prop": "visible",
496
- "type": "Boolean",
497
- "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible"
498
- }
499
- ]
500
- },
501
- {
502
- "name": "modal-header-close",
503
- "description": "Content of Modal header close button. If `modal-header` slot is used, this slot will not be shown"
504
- },
505
- {
506
- "name": "modal-ok",
507
- "description": "Modal OK button content"
508
- },
509
- {
510
- "name": "modal-title",
511
- "description": "Modal title. If `modal-header` slot is used, this slot will not be shown. Optionally scoped",
512
- "scope": [
513
- {
514
- "prop": "cancel",
515
- "type": "Function",
516
- "description": "Closes the modal and fires the 'cancel' and 'hide' events, with `vModalEvent.trigger = 'cancel'`"
517
- },
518
- {
519
- "prop": "close",
520
- "type": "Function",
521
- "description": "Closes the modal and fires the close and hide events, with `vModalEvent.trigger = 'headerclose'`"
522
- },
523
- {
524
- "prop": "hide",
525
- "type": "Function",
526
- "description": "Accepts one argument `trigger`. Closes the modal and fires the 'hide' event, with the `bvModalEvent.trigger = trigger` (`trigger` is optional)"
527
- },
528
- {
529
- "prop": "ok",
530
- "type": "Function",
531
- "description": "Closes the modal and fires the 'ok' and 'hide' events, with `bvModalEvent.trigger = 'ok'`"
532
- },
533
- {
534
- "prop": "visible",
535
- "type": "Boolean",
536
- "description": "The visibility state of the modal. `true` if the modal is visible and `false` if not visible"
537
- }
538
- ]
539
- }
540
- ]
541
- }
542
- ]
543
- }
544
- }