{{ arg.arg }}
From 34cc2b63987bdd73f592d6d0ca5080e535845a5f Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 11:49:04 -0300
Subject: [PATCH 126/173] Create mixin-stacked.js
---
src/components/table/helpers/mixin-stacked.js | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 src/components/table/helpers/mixin-stacked.js
diff --git a/src/components/table/helpers/mixin-stacked.js b/src/components/table/helpers/mixin-stacked.js
new file mode 100644
index 00000000000..20b450ede77
--- /dev/null
+++ b/src/components/table/helpers/mixin-stacked.js
@@ -0,0 +1,21 @@
+// Mixin for providing stacked tables
+
+export default {
+ props: {
+ stacked: {
+ type: [Boolean, String],
+ default: false
+ }
+ },
+ computed: {
+ isStacked() {
+ return this.stacked === '' ? true : Boolean(this.stacked)
+ },
+ stackedTableClasses() {
+ return {
+ 'b-table-stacked': this.stacked === true || this.stacked === '',
+ [`b-table-stacked-${this.stacked}`]: this.stacked !== true && this.stacked
+ }
+ }
+ }
+}
From b5b88a091f90d70edb64f0e27af7682bfca821c9 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 11:51:45 -0300
Subject: [PATCH 127/173] Update table-lite.js
---
src/components/table/table-lite.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/components/table/table-lite.js b/src/components/table/table-lite.js
index c6c40b9bb7c..a5d1036f7c4 100644
--- a/src/components/table/table-lite.js
+++ b/src/components/table/table-lite.js
@@ -8,6 +8,7 @@ import normalizeSlotMixin from '../../mixins/normalize-slot'
import itemsMixin from './helpers/mixin-items'
import captionMixin from './helpers/mixin-caption'
import colgroupMixin from './helpers/mixin-colgroup'
+import stackedMixin from './helpers/mixin-stacked'
import theadMixin from './helpers/mixin-thead'
import tfootMixin from './helpers/mixin-tfoot'
import tbodyMixin from './helpers/mixin-tbody'
@@ -27,6 +28,7 @@ export const BTableLite = /*#__PURE__*/ Vue.extend({
normalizeSlotMixin,
itemsMixin,
tableRendererMixin,
+ stackedMixin,
theadMixin,
tfootMixin,
tbodyMixin,
From 6169b439551c5599806a2067c7161387559b3a10 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 11:53:18 -0300
Subject: [PATCH 128/173] Update table.js
---
src/components/table/table.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/components/table/table.js b/src/components/table/table.js
index 9aca6ec9f6b..3a46ce5810f 100644
--- a/src/components/table/table.js
+++ b/src/components/table/table.js
@@ -6,6 +6,7 @@ import normalizeSlotMixin from '../../mixins/normalize-slot'
// Table helper Mixins
import itemsMixin from './helpers/mixin-items'
+import stackedMixin from './helpers/mixin-stacked'
import filteringMixin from './helpers/mixin-filtering'
import sortingMixin from './helpers/mixin-sorting'
import paginationMixin from './helpers/mixin-pagination'
@@ -40,6 +41,7 @@ export const BTable = /*#__PURE__*/ Vue.extend({
tfootMixin,
tbodyMixin,
// Features Mixins
+ stackedMixin,
filteringMixin,
sortingMixin,
paginationMixin,
From d3d32da86a2145f92fd1c849177f6725a3d4bec9 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 11:57:09 -0300
Subject: [PATCH 129/173] Create table-simple.js
---
src/components/table/table-simple.js | 30 ++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 src/components/table/table-simple.js
diff --git a/src/components/table/table-simple.js b/src/components/table/table-simple.js
new file mode 100644
index 00000000000..1f362f71874
--- /dev/null
+++ b/src/components/table/table-simple.js
@@ -0,0 +1,30 @@
+import Vue from '../../utils/vue'
+
+// Mixins
+import idMixin from '../../mixins/id'
+import normalizeSlotMixin from '../../mixins/normalize-slot'
+
+// Main table renderer mixin
+import tableRendererMixin from './helpers/mixin-table-renderer'
+
+// b-table-simple component definition
+// @vue/component
+export const BTableSimple = /*#__PURE__*/ Vue.extend({
+ name: 'BTableSimple',
+ // Order of mixins is important!
+ // They are merged from first to last, followed by this component.
+ mixins: [
+ // Required mixins
+ idMixin,
+ normalizeSlotMixin,
+ tableRendererMixin
+ ],
+ computed: {
+ isTableSimple() {
+ return true
+ }
+ }
+ // render function provided by table-renderer mixin
+})
+
+export default BTableSimple
From 92dcde4f3afc1bc89667122aefb8a0d485af5e08 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 12:02:02 -0300
Subject: [PATCH 130/173] Update mixin-table-renderer.js
---
.../table/helpers/mixin-table-renderer.js | 89 +++++++++++--------
1 file changed, 51 insertions(+), 38 deletions(-)
diff --git a/src/components/table/helpers/mixin-table-renderer.js b/src/components/table/helpers/mixin-table-renderer.js
index 3da96e7ee9f..79f7733f190 100644
--- a/src/components/table/helpers/mixin-table-renderer.js
+++ b/src/components/table/helpers/mixin-table-renderer.js
@@ -1,8 +1,9 @@
// Main `
` render mixin
-// Which indlues all main table stlying options
+// Which includes all main table styling options
export default {
- // Don't place ATTRS on root element automatically, as table could be wrapped in responsive div
+ // Don't place attributes on root element automatically,
+ // as table could be wrapped in responsive `
`
inheritAttrs: false,
props: {
striped: {
@@ -41,10 +42,6 @@ export default {
type: [Boolean, String],
default: false
},
- stacked: {
- type: [Boolean, String],
- default: false
- },
tableClass: {
type: [String, Array, Object],
default: null
@@ -52,9 +49,6 @@ export default {
},
computed: {
// Layout related computed props
- isStacked() {
- return this.stacked === '' ? true : this.stacked
- },
isResponsive() {
const responsive = this.responsive === '' ? true : this.responsive
return this.isStacked ? false : responsive
@@ -67,69 +61,88 @@ export default {
: ''
},
tableClasses() {
+ const hover = this.isTableSimple
+ ? this.hover
+ : this.hover && this.computedItems.length > 0 && !this.computedBusy
+
return [
// User supplied classes
this.tableClass,
// Styling classes
{
'table-striped': this.striped,
- 'table-hover': this.hover && this.computedItems.length > 0 && !this.computedBusy,
+ 'table-hover': hover,
'table-dark': this.dark,
'table-bordered': this.bordered,
'table-borderless': this.borderless,
'table-sm': this.small,
- border: this.outlined,
// The following are b-table custom styles
- 'b-table-fixed': this.fixed,
- 'b-table-stacked': this.stacked === true || this.stacked === '',
- [`b-table-stacked-${this.stacked}`]: this.stacked !== true && this.stacked
+ border: this.outlined,
+ 'b-table-fixed': this.fixed
},
+ // Stacked table classes
+ this.stackedTableClasses,
// Selectable classes
this.selectableTableClasses
]
},
tableAttrs() {
- // Preserve user supplied aria-describedby, if provided in $attrs
+ // Preserve user supplied aria-describedby, if provided in `$attrs`
const adb =
[(this.$attrs || {})['aria-describedby'], this.captionId].filter(Boolean).join(' ') || null
const items = this.computedItems
+ const filteredItems = this.filteredItems
const fields = this.computedFields
const selectableAttrs = this.selectableTableAttrs || {}
+ const ariaAttrs = this.isTableSimple
+ ? {}
+ : {
+ 'aria-busy': this.computedBusy ? 'true' : 'false',
+ 'aria-colcount': String(fields.length),
+ 'aria-describedby': adb
+ }
+ const rowCount =
+ items && filteredItems && filteredItems.length > items.length
+ ? String(filteredItems.length)
+ : null
+
return {
- // We set aria-rowcount before merging in $attrs, in case user has supplied their own
- 'aria-rowcount':
- this.filteredItems && this.filteredItems.length > items.length
- ? String(this.filteredItems.length)
- : null,
- // Merge in user supplied $attrs if any
+ // We set `aria-rowcount` before merging in `$attrs`,
+ // in case user has supplied their own
+ 'aria-rowcount': rowCount,
+ // Merge in user supplied `$attrs` if any
...this.$attrs,
- // Now we can override any $attrs here
+ // Now we can override any `$attrs` here
id: this.safeId(),
- role: this.isStacked ? 'table' : null,
- 'aria-busy': this.computedBusy ? 'true' : 'false',
- 'aria-colcount': String(fields.length),
- 'aria-describedby': adb,
+ role: 'table',
+ ...ariaAttrs,
...selectableAttrs
}
}
},
render(h) {
- // Build the caption (from caption mixin)
- const $caption = this.renderCaption ? this.renderCaption() : null
+ const $content = []
- // Build the colgroup
- const $colgroup = this.renderColgroup ? this.renderColgroup() : null
+ if (this.isTableSimple) {
+ $content.push(this.normalizeSlot('default', {}))
+ } else {
+ // Build the `
` element. Inside the component, via the `default` slot, you can use any or all
+of the regular HTML5 table elements: ``, ``, ``, `
`, `
`, `
`,
+`
`, and `
`.
+
+`` provides basic styling options via props: `striped`, `bordered`, `borderless`,
+`outlined`, `small`, `hover`, `dark`, `fixed` and `responsive`.
+
+Since `b-table-simple` is just a wrapper component, of which you will need to render content inside,
+it does not provide any of the advanced features of `` (i.e. row events, head events,
+sorting, pagination, filtering, stacked mode, etc).
+
+```html
+
+
+
+
+
Name
+
Age
+
Data
+
+
+
Last
+
First
+
+
+
+
+
Macdonald
+
Dickerson
+
42
+
Foo
+
Bar
+
Baz
+
+
+
Wilson
+
Geneva
+
35
+
1234567
+
987
+
+
+
Shaw
+
Larsen
+
23
+
AAA
+
BBBBB
+
+
+
Linda
+
22
+
CCC
+
YYY
+
ZZZ
+
+
+
+
+
+
+```
+
+Row and cell variant classes are in the form `table-{variant}`, unless you have the table in `dark`
+mode, in which case you should use `bg-{variant}` instead.
+
+When in `responsive` mode, the `
` element is wrapped inside a `
` element. If you need to
+apply additional classes to the `
` element, use the `table-classes` prop.
+
+Any additional attributes given to `` will always be applied to the `
`
+element.
+
## Accessibility
The `` and `` components, when using specific features, will attempt to
-provide the best accessibility features possible.
+provide the best accessibility markup possible.
### Heading accessibility
@@ -2130,8 +2207,9 @@ keyboard navigation when focused:
### Row event accessibility
-Note the following row based events/actions are not considered accessible, and should only be used
-if the functionality is non critical or can be provided via other means:
+Note the following row based events/actions (available with `` and ``) are
+not considered accessible, and should only be used if the functionality is non critical or can be
+provided via other means:
- `row-dblclicked`
- `row-contextmenu`
From 254d10a16aacdf495b954aa7e7b0a97c88b2d2e4 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 12:34:29 -0300
Subject: [PATCH 137/173] Update index.js
---
src/components/table/index.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/components/table/index.js b/src/components/table/index.js
index ca2ae7a7014..2309b28145f 100644
--- a/src/components/table/index.js
+++ b/src/components/table/index.js
@@ -8,3 +8,6 @@ const TablePlugin = /*#__PURE__*/ pluginFactory({
})
export { TablePlugin, BTable, BTableLite, BTableSimple }
+
+// TEMP: To be removed...
+export default TablePlugin
From 6cf68102dbbb122345d0b1809f4dc7256cd84b61 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 12:37:27 -0300
Subject: [PATCH 138/173] Create index.esm.js
---
src/components/index.esm.js | 304 ++++++++++++++++++++++++++++++++++++
1 file changed, 304 insertions(+)
create mode 100644 src/components/index.esm.js
diff --git a/src/components/index.esm.js b/src/components/index.esm.js
new file mode 100644
index 00000000000..b06ad6eb1f6
--- /dev/null
+++ b/src/components/index.esm.js
@@ -0,0 +1,304 @@
+// TEMP: to be removed
+// Index file used for the main builds, which does not include legacy plugin names
+// Once es/ buld is removed, then this file will be renamed to index.js
+import { pluginFactory } from '../utils/plugins'
+
+// Component group plugins
+import { AlertPlugin } from './alert'
+import { BadgePlugin } from './badge'
+import { BreadcrumbPlugin } from './breadcrumb'
+import { ButtonPlugin } from './button'
+import { ButtonGroupPlugin } from './button-group'
+import { ButtonToolbarPlugin } from './button-toolbar'
+import { CardPlugin } from './card'
+import { CarouselPlugin } from './carousel'
+import { CollapsePlugin } from './collapse'
+import { DropdownPlugin } from './dropdown'
+import { EmbedPlugin } from './embed'
+import { FormPlugin } from './form'
+import { FormGroupPlugin } from './form-group'
+import { FormCheckboxPlugin } from './form-checkbox'
+import { FormRadioPlugin } from './form-radio'
+import { FormInputPlugin } from './form-input'
+import { FormTextareaPlugin } from './form-textarea'
+import { FormFilePlugin } from './form-file'
+import { FormSelectPlugin } from './form-select'
+import { ImagePlugin } from './image'
+import { InputGroupPlugin } from './input-group'
+import { JumbotronPlugin } from './jumbotron'
+import { LayoutPlugin } from './layout'
+import { LinkPlugin } from './link'
+import { ListGroupPlugin } from './list-group'
+import { MediaPlugin } from './media'
+import { ModalPlugin } from './modal'
+import { NavPlugin } from './nav'
+import { NavbarPlugin } from './navbar'
+import { PaginationPlugin } from './pagination'
+import { PaginationNavPlugin } from './pagination-nav'
+import { PopoverPlugin } from './popover'
+import { ProgressPlugin } from './progress'
+import { SpinnerPlugin } from './spinner'
+import { TablePlugin } from './table'
+import { TabsPlugin } from './tabs'
+import { ToastPlugin } from './toast'
+import { TooltipPlugin } from './tooltip'
+
+// Main plugin to install all component group plugins
+export const componentsPlugin = /*#__PURE__*/ pluginFactory({
+ plugins: {
+ AlertPlugin,
+ BadgePlugin,
+ BreadcrumbPlugin,
+ ButtonPlugin,
+ ButtonGroupPlugin,
+ ButtonToolbarPlugin,
+ CardPlugin,
+ CarouselPlugin,
+ CollapsePlugin,
+ DropdownPlugin,
+ EmbedPlugin,
+ FormPlugin,
+ FormGroupPlugin,
+ FormCheckboxPlugin,
+ FormRadioPlugin,
+ FormInputPlugin,
+ FormTextareaPlugin,
+ FormFilePlugin,
+ FormSelectPlugin,
+ ImagePlugin,
+ InputGroupPlugin,
+ JumbotronPlugin,
+ LayoutPlugin,
+ LinkPlugin,
+ ListGroupPlugin,
+ MediaPlugin,
+ ModalPlugin,
+ NavPlugin,
+ NavbarPlugin,
+ PaginationPlugin,
+ PaginationNavPlugin,
+ PopoverPlugin,
+ ProgressPlugin,
+ SpinnerPlugin,
+ TablePlugin,
+ TabsPlugin,
+ ToastPlugin,
+ TooltipPlugin
+ }
+})
+
+// Export named injection plugins
+// These two plugins are not directly included in the above installer, as they are
+// installed via the ModalPlugin and ToastPlugin respectively.
+export { BVModalPlugin } from './modal/helpers/bv-modal'
+export { BVToastPlugin } from './toast/helpers/bv-toast'
+
+// Export all individual components and component group plugins as named exports.
+// This is mainly for users who import individual components, directives or plugins.
+//
+// Webpack 4 has optimization difficulties with re-eport of re-exports, so
+// we import the components individulaly here for better tree shaking,
+//
+// Webpack v5 fixes the optimizations with re-export of re-exports so this
+// can be reverted back to `export * from './table'` when Webpack v5 is released.
+// https://github.com/webpack/webpack/pull/9203 (available in Webpack v5.0.0-alpha.15)
+
+// export * from './alert'
+export { AlertPlugin } from './alert'
+export { BAlert } from './alert/alert'
+
+// export * from './badge'
+export { BadgePlugin } from './badge'
+export { BBadge } from './badge/badge'
+
+// export * from './breadcrumb'
+export { BreadcrumbPlugin } from './breadcrumb'
+export { BBreadcrumb } from './breadcrumb/breadcrumb'
+export { BBreadcrumbItem } from './breadcrumb/breadcrumb-item'
+
+// export * from './button'
+export { ButtonPlugin } from './button'
+export { BButton } from './button/button'
+export { BButtonClose } from './button/button-close'
+
+// export * from './button-group'
+export { ButtonGroupPlugin } from './button-group'
+export { BButtonGroup } from './button-group/button-group'
+
+// export * from './button-toolbar'
+export { ButtonToolbarPlugin } from './button-toolbar'
+export { BButtonToolbar } from './button-toolbar/button-toolbar'
+
+// export * from './card'
+export { CardPlugin } from './card'
+export { BCard } from './card/card'
+export { BCardBody } from './card/card-body'
+export { BCardFooter } from './card/card-footer'
+export { BCardGroup } from './card/card-group'
+export { BCardHeader } from './card/card-header'
+export { BCardImg } from './card/card-img'
+export { BCardImgLazy } from './card/card-img-lazy'
+export { BCardSubTitle } from './card/card-sub-title'
+export { BCardText } from './card/card-text'
+export { BCardTitle } from './card/card-title'
+
+// export * from './carousel'
+export { CarouselPlugin } from './carousel'
+export { BCarousel } from './carousel/carousel'
+export { BCarouselSlide } from './carousel/carousel-slide'
+
+// export * from './collapse'
+export { CollapsePlugin } from './collapse'
+export { BCollapse } from './collapse/collapse'
+
+// export * from './dropdown'
+export { DropdownPlugin } from './dropdown'
+export { BDropdown } from './dropdown/dropdown'
+export { BDropdownItem } from './dropdown/dropdown-item'
+export { BDropdownItemButton } from './dropdown/dropdown-item-button'
+export { BDropdownDivider } from './dropdown/dropdown-divider'
+export { BDropdownForm } from './dropdown/dropdown-form'
+export { BDropdownGroup } from './dropdown/dropdown-group'
+export { BDropdownHeader } from './dropdown/dropdown-header'
+export { BDropdownText } from './dropdown/dropdown-text'
+
+// export * from './embed'
+export { EmbedPlugin } from './embed'
+export { BEmbed } from './embed/embed'
+
+// export * from './form'
+export { FormPlugin } from './form'
+export { BForm } from './form/form'
+export { BFormDatalist } from './form/form-datalist'
+export { BFormText } from './form/form-text'
+export { BFormInvalidFeedback } from './form/form-invalid-feedback'
+export { BFormValidFeedback } from './form/form-valid-feedback'
+
+// export * from './form-checkbox'
+export { FormCheckboxPlugin } from './form-checkbox'
+export { BFormCheckbox } from './form-checkbox/form-checkbox'
+export { BFormCheckboxGroup } from './form-checkbox/form-checkbox-group'
+
+// export * from './form-file'
+export { FormFilePlugin } from './form-file'
+export { BFormFile } from './form-file/form-file'
+
+// export * from './form-group'
+export { FormGroupPlugin } from './form-group'
+export { BFormGroup } from './form-group/form-group'
+
+// export * from './form-input'
+export { FormInputPlugin } from './form-input'
+export { BFormInput } from './form-input/form-input'
+
+// export * from './form-radio'
+export { FormRadioPlugin } from './form-radio'
+export { BFormRadio } from './form-radio/form-radio'
+export { BFormRadioGroup } from './form-radio/form-radio-group'
+
+// export * from './form-select'
+export { FormSelectPlugin } from './form-select'
+export { BFormSelect } from './form-select/form-select'
+
+// export * from './form-textarea'
+export { FormTextareaPlugin } from './form-textarea'
+export { BFormTextarea } from './form-textarea/form-textarea'
+
+// export * from './image'
+export { ImagePlugin } from './image'
+export { BImg } from './image/img'
+export { BImgLazy } from './image/img-lazy'
+
+// export * from './input-group'
+export { InputGroupPlugin } from './input-group'
+export { BInputGroup } from './input-group/input-group'
+export { BInputGroupAddon } from './input-group/input-group-addon'
+export { BInputGroupAppend } from './input-group/input-group-append'
+export { BInputGroupPrepend } from './input-group/input-group-prepend'
+export { BInputGroupText } from './input-group/input-group-text'
+
+// export * from './jumbotron'
+export { JumbotronPlugin } from './jumbotron'
+export { BJumbotron } from './jumbotron/jumbotron'
+
+// export * from './layout'
+export { LayoutPlugin } from './layout'
+export { BContainer } from './layout/container'
+export { BRow } from './layout/row'
+export { BCol } from './layout/col'
+export { BFormRow } from './layout/form-row'
+
+// export * from './link'
+export { LinkPlugin } from './link'
+export { BLink } from './link/link'
+
+// export * from './list-group'
+export { ListGroupPlugin } from './list-group'
+export { BListGroup } from './list-group/list-group'
+export { BListGroupItem } from './list-group/list-group-item'
+
+// export * from './media'
+export { MediaPlugin } from './media'
+export { BMedia } from './media/media'
+export { BMediaAside } from './media/media-aside'
+export { BMediaBody } from './media/media-body'
+
+// export * from './modal'
+export { ModalPlugin } from './modal'
+export { BModal } from './modal/modal'
+
+// export * from './nav'
+export { NavPlugin } from './nav'
+export { BNav } from './nav/nav'
+export { BNavForm } from './nav/nav-form'
+export { BNavItem } from './nav/nav-item'
+export { BNavItemDropdown } from './nav/nav-item-dropdown'
+export { BNavText } from './nav/nav-text'
+
+// export * from './navbar'
+export { NavbarPlugin } from './navbar'
+export { BNavbar } from './navbar/navbar'
+export { BNavbarBrand } from './navbar/navbar-brand'
+export { BNavbarNav } from './navbar/navbar-nav'
+export { BNavbarToggle } from './navbar/navbar-toggle'
+
+// export * from './pagination'
+export { PaginationPlugin } from './pagination'
+export { BPagination } from './pagination/pagination'
+
+// export * from './pagination-nav'
+export { PaginationNavPlugin } from './pagination-nav'
+export { BPaginationNav } from './pagination-nav/pagination-nav'
+
+// export * from './popover'
+export { PopoverPlugin } from './popover'
+export { BPopover } from './popover/popover'
+
+// export * from './progress'
+export { ProgressPlugin } from './progress'
+export { BProgress } from './progress/progress'
+export { BProgressBar } from './progress/progress-bar'
+
+// export * from './spinner'
+export { SpinnerPlugin } from './spinner'
+export { BSpinner } from './spinner/spinner'
+
+// export * from './table'
+export { TablePlugin } from './table'
+export { BTable } from './table/table'
+export { BTableLite } from './table/table-lite'
+export { BTableSimple } from './table/table-simple'
+
+// export * from './tabs'
+export { TabsPlugin } from './tabs'
+export { BTabs } from './tabs/tabs'
+export { BTab } from './tabs/tab'
+
+// export * from './toast'
+export { ToastPlugin } from './toast'
+export { BToast } from './toast/toast'
+export { BToaster } from './toast/toaster'
+
+// export * from './tooltip'
+export { TooltipPlugin } from './tooltip'
+export { BTooltip } from './tooltip/tooltip'
From 8a0bb7dbe1e5192e766b398fac6179f44af7bb83 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 12:39:03 -0300
Subject: [PATCH 139/173] Delete index.esm.js
---
src/components/index.esm.js | 304 ------------------------------------
1 file changed, 304 deletions(-)
delete mode 100644 src/components/index.esm.js
diff --git a/src/components/index.esm.js b/src/components/index.esm.js
deleted file mode 100644
index b06ad6eb1f6..00000000000
--- a/src/components/index.esm.js
+++ /dev/null
@@ -1,304 +0,0 @@
-// TEMP: to be removed
-// Index file used for the main builds, which does not include legacy plugin names
-// Once es/ buld is removed, then this file will be renamed to index.js
-import { pluginFactory } from '../utils/plugins'
-
-// Component group plugins
-import { AlertPlugin } from './alert'
-import { BadgePlugin } from './badge'
-import { BreadcrumbPlugin } from './breadcrumb'
-import { ButtonPlugin } from './button'
-import { ButtonGroupPlugin } from './button-group'
-import { ButtonToolbarPlugin } from './button-toolbar'
-import { CardPlugin } from './card'
-import { CarouselPlugin } from './carousel'
-import { CollapsePlugin } from './collapse'
-import { DropdownPlugin } from './dropdown'
-import { EmbedPlugin } from './embed'
-import { FormPlugin } from './form'
-import { FormGroupPlugin } from './form-group'
-import { FormCheckboxPlugin } from './form-checkbox'
-import { FormRadioPlugin } from './form-radio'
-import { FormInputPlugin } from './form-input'
-import { FormTextareaPlugin } from './form-textarea'
-import { FormFilePlugin } from './form-file'
-import { FormSelectPlugin } from './form-select'
-import { ImagePlugin } from './image'
-import { InputGroupPlugin } from './input-group'
-import { JumbotronPlugin } from './jumbotron'
-import { LayoutPlugin } from './layout'
-import { LinkPlugin } from './link'
-import { ListGroupPlugin } from './list-group'
-import { MediaPlugin } from './media'
-import { ModalPlugin } from './modal'
-import { NavPlugin } from './nav'
-import { NavbarPlugin } from './navbar'
-import { PaginationPlugin } from './pagination'
-import { PaginationNavPlugin } from './pagination-nav'
-import { PopoverPlugin } from './popover'
-import { ProgressPlugin } from './progress'
-import { SpinnerPlugin } from './spinner'
-import { TablePlugin } from './table'
-import { TabsPlugin } from './tabs'
-import { ToastPlugin } from './toast'
-import { TooltipPlugin } from './tooltip'
-
-// Main plugin to install all component group plugins
-export const componentsPlugin = /*#__PURE__*/ pluginFactory({
- plugins: {
- AlertPlugin,
- BadgePlugin,
- BreadcrumbPlugin,
- ButtonPlugin,
- ButtonGroupPlugin,
- ButtonToolbarPlugin,
- CardPlugin,
- CarouselPlugin,
- CollapsePlugin,
- DropdownPlugin,
- EmbedPlugin,
- FormPlugin,
- FormGroupPlugin,
- FormCheckboxPlugin,
- FormRadioPlugin,
- FormInputPlugin,
- FormTextareaPlugin,
- FormFilePlugin,
- FormSelectPlugin,
- ImagePlugin,
- InputGroupPlugin,
- JumbotronPlugin,
- LayoutPlugin,
- LinkPlugin,
- ListGroupPlugin,
- MediaPlugin,
- ModalPlugin,
- NavPlugin,
- NavbarPlugin,
- PaginationPlugin,
- PaginationNavPlugin,
- PopoverPlugin,
- ProgressPlugin,
- SpinnerPlugin,
- TablePlugin,
- TabsPlugin,
- ToastPlugin,
- TooltipPlugin
- }
-})
-
-// Export named injection plugins
-// These two plugins are not directly included in the above installer, as they are
-// installed via the ModalPlugin and ToastPlugin respectively.
-export { BVModalPlugin } from './modal/helpers/bv-modal'
-export { BVToastPlugin } from './toast/helpers/bv-toast'
-
-// Export all individual components and component group plugins as named exports.
-// This is mainly for users who import individual components, directives or plugins.
-//
-// Webpack 4 has optimization difficulties with re-eport of re-exports, so
-// we import the components individulaly here for better tree shaking,
-//
-// Webpack v5 fixes the optimizations with re-export of re-exports so this
-// can be reverted back to `export * from './table'` when Webpack v5 is released.
-// https://github.com/webpack/webpack/pull/9203 (available in Webpack v5.0.0-alpha.15)
-
-// export * from './alert'
-export { AlertPlugin } from './alert'
-export { BAlert } from './alert/alert'
-
-// export * from './badge'
-export { BadgePlugin } from './badge'
-export { BBadge } from './badge/badge'
-
-// export * from './breadcrumb'
-export { BreadcrumbPlugin } from './breadcrumb'
-export { BBreadcrumb } from './breadcrumb/breadcrumb'
-export { BBreadcrumbItem } from './breadcrumb/breadcrumb-item'
-
-// export * from './button'
-export { ButtonPlugin } from './button'
-export { BButton } from './button/button'
-export { BButtonClose } from './button/button-close'
-
-// export * from './button-group'
-export { ButtonGroupPlugin } from './button-group'
-export { BButtonGroup } from './button-group/button-group'
-
-// export * from './button-toolbar'
-export { ButtonToolbarPlugin } from './button-toolbar'
-export { BButtonToolbar } from './button-toolbar/button-toolbar'
-
-// export * from './card'
-export { CardPlugin } from './card'
-export { BCard } from './card/card'
-export { BCardBody } from './card/card-body'
-export { BCardFooter } from './card/card-footer'
-export { BCardGroup } from './card/card-group'
-export { BCardHeader } from './card/card-header'
-export { BCardImg } from './card/card-img'
-export { BCardImgLazy } from './card/card-img-lazy'
-export { BCardSubTitle } from './card/card-sub-title'
-export { BCardText } from './card/card-text'
-export { BCardTitle } from './card/card-title'
-
-// export * from './carousel'
-export { CarouselPlugin } from './carousel'
-export { BCarousel } from './carousel/carousel'
-export { BCarouselSlide } from './carousel/carousel-slide'
-
-// export * from './collapse'
-export { CollapsePlugin } from './collapse'
-export { BCollapse } from './collapse/collapse'
-
-// export * from './dropdown'
-export { DropdownPlugin } from './dropdown'
-export { BDropdown } from './dropdown/dropdown'
-export { BDropdownItem } from './dropdown/dropdown-item'
-export { BDropdownItemButton } from './dropdown/dropdown-item-button'
-export { BDropdownDivider } from './dropdown/dropdown-divider'
-export { BDropdownForm } from './dropdown/dropdown-form'
-export { BDropdownGroup } from './dropdown/dropdown-group'
-export { BDropdownHeader } from './dropdown/dropdown-header'
-export { BDropdownText } from './dropdown/dropdown-text'
-
-// export * from './embed'
-export { EmbedPlugin } from './embed'
-export { BEmbed } from './embed/embed'
-
-// export * from './form'
-export { FormPlugin } from './form'
-export { BForm } from './form/form'
-export { BFormDatalist } from './form/form-datalist'
-export { BFormText } from './form/form-text'
-export { BFormInvalidFeedback } from './form/form-invalid-feedback'
-export { BFormValidFeedback } from './form/form-valid-feedback'
-
-// export * from './form-checkbox'
-export { FormCheckboxPlugin } from './form-checkbox'
-export { BFormCheckbox } from './form-checkbox/form-checkbox'
-export { BFormCheckboxGroup } from './form-checkbox/form-checkbox-group'
-
-// export * from './form-file'
-export { FormFilePlugin } from './form-file'
-export { BFormFile } from './form-file/form-file'
-
-// export * from './form-group'
-export { FormGroupPlugin } from './form-group'
-export { BFormGroup } from './form-group/form-group'
-
-// export * from './form-input'
-export { FormInputPlugin } from './form-input'
-export { BFormInput } from './form-input/form-input'
-
-// export * from './form-radio'
-export { FormRadioPlugin } from './form-radio'
-export { BFormRadio } from './form-radio/form-radio'
-export { BFormRadioGroup } from './form-radio/form-radio-group'
-
-// export * from './form-select'
-export { FormSelectPlugin } from './form-select'
-export { BFormSelect } from './form-select/form-select'
-
-// export * from './form-textarea'
-export { FormTextareaPlugin } from './form-textarea'
-export { BFormTextarea } from './form-textarea/form-textarea'
-
-// export * from './image'
-export { ImagePlugin } from './image'
-export { BImg } from './image/img'
-export { BImgLazy } from './image/img-lazy'
-
-// export * from './input-group'
-export { InputGroupPlugin } from './input-group'
-export { BInputGroup } from './input-group/input-group'
-export { BInputGroupAddon } from './input-group/input-group-addon'
-export { BInputGroupAppend } from './input-group/input-group-append'
-export { BInputGroupPrepend } from './input-group/input-group-prepend'
-export { BInputGroupText } from './input-group/input-group-text'
-
-// export * from './jumbotron'
-export { JumbotronPlugin } from './jumbotron'
-export { BJumbotron } from './jumbotron/jumbotron'
-
-// export * from './layout'
-export { LayoutPlugin } from './layout'
-export { BContainer } from './layout/container'
-export { BRow } from './layout/row'
-export { BCol } from './layout/col'
-export { BFormRow } from './layout/form-row'
-
-// export * from './link'
-export { LinkPlugin } from './link'
-export { BLink } from './link/link'
-
-// export * from './list-group'
-export { ListGroupPlugin } from './list-group'
-export { BListGroup } from './list-group/list-group'
-export { BListGroupItem } from './list-group/list-group-item'
-
-// export * from './media'
-export { MediaPlugin } from './media'
-export { BMedia } from './media/media'
-export { BMediaAside } from './media/media-aside'
-export { BMediaBody } from './media/media-body'
-
-// export * from './modal'
-export { ModalPlugin } from './modal'
-export { BModal } from './modal/modal'
-
-// export * from './nav'
-export { NavPlugin } from './nav'
-export { BNav } from './nav/nav'
-export { BNavForm } from './nav/nav-form'
-export { BNavItem } from './nav/nav-item'
-export { BNavItemDropdown } from './nav/nav-item-dropdown'
-export { BNavText } from './nav/nav-text'
-
-// export * from './navbar'
-export { NavbarPlugin } from './navbar'
-export { BNavbar } from './navbar/navbar'
-export { BNavbarBrand } from './navbar/navbar-brand'
-export { BNavbarNav } from './navbar/navbar-nav'
-export { BNavbarToggle } from './navbar/navbar-toggle'
-
-// export * from './pagination'
-export { PaginationPlugin } from './pagination'
-export { BPagination } from './pagination/pagination'
-
-// export * from './pagination-nav'
-export { PaginationNavPlugin } from './pagination-nav'
-export { BPaginationNav } from './pagination-nav/pagination-nav'
-
-// export * from './popover'
-export { PopoverPlugin } from './popover'
-export { BPopover } from './popover/popover'
-
-// export * from './progress'
-export { ProgressPlugin } from './progress'
-export { BProgress } from './progress/progress'
-export { BProgressBar } from './progress/progress-bar'
-
-// export * from './spinner'
-export { SpinnerPlugin } from './spinner'
-export { BSpinner } from './spinner/spinner'
-
-// export * from './table'
-export { TablePlugin } from './table'
-export { BTable } from './table/table'
-export { BTableLite } from './table/table-lite'
-export { BTableSimple } from './table/table-simple'
-
-// export * from './tabs'
-export { TabsPlugin } from './tabs'
-export { BTabs } from './tabs/tabs'
-export { BTab } from './tabs/tab'
-
-// export * from './toast'
-export { ToastPlugin } from './toast'
-export { BToast } from './toast/toast'
-export { BToaster } from './toast/toaster'
-
-// export * from './tooltip'
-export { TooltipPlugin } from './tooltip'
-export { BTooltip } from './tooltip/tooltip'
From 246ff435ad9310fbc87c2c308fde5ebcf60d08ed Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Fri, 2 Aug 2019 12:39:30 -0300
Subject: [PATCH 140/173] Update index.js
---
src/components/table/index.js | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/components/table/index.js b/src/components/table/index.js
index 2309b28145f..ca2ae7a7014 100644
--- a/src/components/table/index.js
+++ b/src/components/table/index.js
@@ -8,6 +8,3 @@ const TablePlugin = /*#__PURE__*/ pluginFactory({
})
export { TablePlugin, BTable, BTableLite, BTableSimple }
-
-// TEMP: To be removed...
-export default TablePlugin
From 1faebf46dea7e4aeda05f4708a95977712109769 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Wed, 7 Aug 2019 15:36:46 -0300
Subject: [PATCH 141/173] Create index.esm.js
---
src/components/index.esm.js | 1 +
1 file changed, 1 insertion(+)
create mode 100644 src/components/index.esm.js
diff --git a/src/components/index.esm.js b/src/components/index.esm.js
new file mode 100644
index 00000000000..395c8ce8f71
--- /dev/null
+++ b/src/components/index.esm.js
@@ -0,0 +1 @@
+// temp file to fix merge issue
From b639b1a65c877098cae918c29f87ebabac5991f0 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Wed, 7 Aug 2019 15:40:30 -0300
Subject: [PATCH 142/173] Update index.esm.js
---
src/components/index.esm.js | 311 ++++++++++++++++++++++++++++++++++++
1 file changed, 311 insertions(+)
diff --git a/src/components/index.esm.js b/src/components/index.esm.js
index 395c8ce8f71..d09eef45326 100644
--- a/src/components/index.esm.js
+++ b/src/components/index.esm.js
@@ -1 +1,312 @@
// temp file to fix merge issue
+// Index file used for the main builds, which does not include legacy plugin names
+// Once es/ buld is removed, then this file will be renamed to index.js
+import { pluginFactory } from '../utils/plugins'
+
+// Component group plugins
+import { AlertPlugin } from './alert'
+import { BadgePlugin } from './badge'
+import { BreadcrumbPlugin } from './breadcrumb'
+import { ButtonPlugin } from './button'
+import { ButtonGroupPlugin } from './button-group'
+import { ButtonToolbarPlugin } from './button-toolbar'
+import { CardPlugin } from './card'
+import { CarouselPlugin } from './carousel'
+import { CollapsePlugin } from './collapse'
+import { DropdownPlugin } from './dropdown'
+import { EmbedPlugin } from './embed'
+import { FormPlugin } from './form'
+import { FormGroupPlugin } from './form-group'
+import { FormCheckboxPlugin } from './form-checkbox'
+import { FormRadioPlugin } from './form-radio'
+import { FormInputPlugin } from './form-input'
+import { FormTextareaPlugin } from './form-textarea'
+import { FormFilePlugin } from './form-file'
+import { FormSelectPlugin } from './form-select'
+import { ImagePlugin } from './image'
+import { InputGroupPlugin } from './input-group'
+import { JumbotronPlugin } from './jumbotron'
+import { LayoutPlugin } from './layout'
+import { LinkPlugin } from './link'
+import { ListGroupPlugin } from './list-group'
+import { MediaPlugin } from './media'
+import { ModalPlugin } from './modal'
+import { NavPlugin } from './nav'
+import { NavbarPlugin } from './navbar'
+import { PaginationPlugin } from './pagination'
+import { PaginationNavPlugin } from './pagination-nav'
+import { PopoverPlugin } from './popover'
+import { ProgressPlugin } from './progress'
+import { SpinnerPlugin } from './spinner'
+import { TablePlugin } from './table'
+import { TabsPlugin } from './tabs'
+import { ToastPlugin } from './toast'
+import { TooltipPlugin } from './tooltip'
+
+// Main plugin to install all component group plugins
+export const componentsPlugin = /*#__PURE__*/ pluginFactory({
+ plugins: {
+ AlertPlugin,
+ BadgePlugin,
+ BreadcrumbPlugin,
+ ButtonPlugin,
+ ButtonGroupPlugin,
+ ButtonToolbarPlugin,
+ CardPlugin,
+ CarouselPlugin,
+ CollapsePlugin,
+ DropdownPlugin,
+ EmbedPlugin,
+ FormPlugin,
+ FormGroupPlugin,
+ FormCheckboxPlugin,
+ FormRadioPlugin,
+ FormInputPlugin,
+ FormTextareaPlugin,
+ FormFilePlugin,
+ FormSelectPlugin,
+ ImagePlugin,
+ InputGroupPlugin,
+ JumbotronPlugin,
+ LayoutPlugin,
+ LinkPlugin,
+ ListGroupPlugin,
+ MediaPlugin,
+ ModalPlugin,
+ NavPlugin,
+ NavbarPlugin,
+ PaginationPlugin,
+ PaginationNavPlugin,
+ PopoverPlugin,
+ ProgressPlugin,
+ SpinnerPlugin,
+ TablePlugin,
+ TabsPlugin,
+ ToastPlugin,
+ TooltipPlugin
+ }
+})
+
+// Export named injection plugins
+// These two plugins are not directly included in the above installer, as they are
+// installed via the ModalPlugin and ToastPlugin respectively.
+export { BVModalPlugin } from './modal/helpers/bv-modal'
+export { BVToastPlugin } from './toast/helpers/bv-toast'
+
+// Export all individual components and component group plugins as named exports.
+// This is mainly for users who import individual components, directives or plugins.
+//
+// Webpack 4 has optimization difficulties with re-eport of re-exports, so
+// we import the components individulaly here for better tree shaking,
+//
+// Webpack v5 fixes the optimizations with re-export of re-exports so this
+// can be reverted back to `export * from './table'` when Webpack v5 is released.
+// https://github.com/webpack/webpack/pull/9203 (available in Webpack v5.0.0-alpha.15)
+
+// export * from './alert'
+export { AlertPlugin } from './alert'
+export { BAlert } from './alert/alert'
+
+// export * from './badge'
+export { BadgePlugin } from './badge'
+export { BBadge } from './badge/badge'
+
+// export * from './breadcrumb'
+export { BreadcrumbPlugin } from './breadcrumb'
+export { BBreadcrumb } from './breadcrumb/breadcrumb'
+export { BBreadcrumbItem } from './breadcrumb/breadcrumb-item'
+
+// export * from './button'
+export { ButtonPlugin } from './button'
+export { BButton } from './button/button'
+export { BButtonClose } from './button/button-close'
+
+// export * from './button-group'
+export { ButtonGroupPlugin } from './button-group'
+export { BButtonGroup } from './button-group/button-group'
+
+// export * from './button-toolbar'
+export { ButtonToolbarPlugin } from './button-toolbar'
+export { BButtonToolbar } from './button-toolbar/button-toolbar'
+
+// export * from './card'
+export { CardPlugin } from './card'
+export { BCard } from './card/card'
+export { BCardBody } from './card/card-body'
+export { BCardFooter } from './card/card-footer'
+export { BCardGroup } from './card/card-group'
+export { BCardHeader } from './card/card-header'
+export { BCardImg } from './card/card-img'
+export { BCardImgLazy } from './card/card-img-lazy'
+export { BCardSubTitle } from './card/card-sub-title'
+export { BCardText } from './card/card-text'
+export { BCardTitle } from './card/card-title'
+
+// export * from './carousel'
+export { CarouselPlugin } from './carousel'
+export { BCarousel } from './carousel/carousel'
+export { BCarouselSlide } from './carousel/carousel-slide'
+
+// export * from './collapse'
+export { CollapsePlugin } from './collapse'
+export { BCollapse } from './collapse/collapse'
+
+// export * from './dropdown'
+export { DropdownPlugin } from './dropdown'
+export { BDropdown } from './dropdown/dropdown'
+export { BDropdownItem } from './dropdown/dropdown-item'
+export { BDropdownItemButton } from './dropdown/dropdown-item-button'
+export { BDropdownDivider } from './dropdown/dropdown-divider'
+export { BDropdownForm } from './dropdown/dropdown-form'
+export { BDropdownGroup } from './dropdown/dropdown-group'
+export { BDropdownHeader } from './dropdown/dropdown-header'
+export { BDropdownText } from './dropdown/dropdown-text'
+
+// export * from './embed'
+export { EmbedPlugin } from './embed'
+export { BEmbed } from './embed/embed'
+
+// export * from './form'
+export { FormPlugin } from './form'
+export { BForm } from './form/form'
+export { BFormDatalist } from './form/form-datalist'
+export { BFormText } from './form/form-text'
+export { BFormInvalidFeedback } from './form/form-invalid-feedback'
+export { BFormValidFeedback } from './form/form-valid-feedback'
+
+// export * from './form-checkbox'
+export { FormCheckboxPlugin } from './form-checkbox'
+export { BFormCheckbox } from './form-checkbox/form-checkbox'
+export { BFormCheckboxGroup } from './form-checkbox/form-checkbox-group'
+
+// export * from './form-file'
+export { FormFilePlugin } from './form-file'
+export { BFormFile } from './form-file/form-file'
+
+// export * from './form-group'
+export { FormGroupPlugin } from './form-group'
+export { BFormGroup } from './form-group/form-group'
+
+// export * from './form-input'
+export { FormInputPlugin } from './form-input'
+export { BFormInput } from './form-input/form-input'
+
+// export * from './form-radio'
+export { FormRadioPlugin } from './form-radio'
+export { BFormRadio } from './form-radio/form-radio'
+export { BFormRadioGroup } from './form-radio/form-radio-group'
+
+// export * from './form-select'
+export { FormSelectPlugin } from './form-select'
+export { BFormSelect } from './form-select/form-select'
+
+// export * from './form-textarea'
+export { FormTextareaPlugin } from './form-textarea'
+export { BFormTextarea } from './form-textarea/form-textarea'
+
+// export * from './image'
+export { ImagePlugin } from './image'
+export { BImg } from './image/img'
+export { BImgLazy } from './image/img-lazy'
+
+// export * from './input-group'
+export { InputGroupPlugin } from './input-group'
+export { BInputGroup } from './input-group/input-group'
+export { BInputGroupAddon } from './input-group/input-group-addon'
+export { BInputGroupAppend } from './input-group/input-group-append'
+export { BInputGroupPrepend } from './input-group/input-group-prepend'
+export { BInputGroupText } from './input-group/input-group-text'
+
+// export * from './jumbotron'
+export { JumbotronPlugin } from './jumbotron'
+export { BJumbotron } from './jumbotron/jumbotron'
+
+// export * from './layout'
+export { LayoutPlugin } from './layout'
+export { BContainer } from './layout/container'
+export { BRow } from './layout/row'
+export { BCol } from './layout/col'
+export { BFormRow } from './layout/form-row'
+
+// export * from './link'
+export { LinkPlugin } from './link'
+export { BLink } from './link/link'
+
+// export * from './list-group'
+export { ListGroupPlugin } from './list-group'
+export { BListGroup } from './list-group/list-group'
+export { BListGroupItem } from './list-group/list-group-item'
+
+// export * from './media'
+export { MediaPlugin } from './media'
+export { BMedia } from './media/media'
+export { BMediaAside } from './media/media-aside'
+export { BMediaBody } from './media/media-body'
+
+// export * from './modal'
+export { ModalPlugin } from './modal'
+export { BModal } from './modal/modal'
+
+// export * from './nav'
+export { NavPlugin } from './nav'
+export { BNav } from './nav/nav'
+export { BNavForm } from './nav/nav-form'
+export { BNavItem } from './nav/nav-item'
+export { BNavItemDropdown } from './nav/nav-item-dropdown'
+export { BNavText } from './nav/nav-text'
+
+// export * from './navbar'
+export { NavbarPlugin } from './navbar'
+export { BNavbar } from './navbar/navbar'
+export { BNavbarBrand } from './navbar/navbar-brand'
+export { BNavbarNav } from './navbar/navbar-nav'
+export { BNavbarToggle } from './navbar/navbar-toggle'
+
+// export * from './pagination'
+export { PaginationPlugin } from './pagination'
+export { BPagination } from './pagination/pagination'
+
+// export * from './pagination-nav'
+export { PaginationNavPlugin } from './pagination-nav'
+export { BPaginationNav } from './pagination-nav/pagination-nav'
+
+// export * from './popover'
+export { PopoverPlugin } from './popover'
+export { BPopover } from './popover/popover'
+
+// export * from './progress'
+export { ProgressPlugin } from './progress'
+export { BProgress } from './progress/progress'
+export { BProgressBar } from './progress/progress-bar'
+
+// export * from './spinner'
+export { SpinnerPlugin } from './spinner'
+export { BSpinner } from './spinner/spinner'
+
+// export * from './table'
+export { TablePlugin } from './table'
+export { TableLitePlugin } from './table'
+export { TableSimplePlugin } from './table'
+export { BTable } from './table/table'
+export { BTableLite } from './table/table-lite'
+export { BTableSimple } from './table/table-simple'
+export { BTbody } from './table/tbody'
+export { BThead } from './table/thead'
+export { BTfoot } from './table/tfoot'
+export { BTr } from './table/tr'
+export { BTh } from './table/th'
+export { BTd } from './table/td'
+
+// export * from './tabs'
+export { TabsPlugin } from './tabs'
+export { BTabs } from './tabs/tabs'
+export { BTab } from './tabs/tab'
+
+// export * from './toast'
+export { ToastPlugin } from './toast'
+export { BToast } from './toast/toast'
+export { BToaster } from './toast/toaster'
+
+// export * from './tooltip'
+export { TooltipPlugin } from './tooltip'
+export { BTooltip } from './tooltip/tooltip'
From 1ce096145d7168e6a7c7d9e00b02197ef92ed317 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Wed, 7 Aug 2019 15:42:53 -0300
Subject: [PATCH 143/173] Update index.esm.js
---
src/components/index.esm.js | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/components/index.esm.js b/src/components/index.esm.js
index d09eef45326..a9dec0f197e 100644
--- a/src/components/index.esm.js
+++ b/src/components/index.esm.js
@@ -285,17 +285,9 @@ export { BSpinner } from './spinner/spinner'
// export * from './table'
export { TablePlugin } from './table'
-export { TableLitePlugin } from './table'
-export { TableSimplePlugin } from './table'
export { BTable } from './table/table'
export { BTableLite } from './table/table-lite'
export { BTableSimple } from './table/table-simple'
-export { BTbody } from './table/tbody'
-export { BThead } from './table/thead'
-export { BTfoot } from './table/tfoot'
-export { BTr } from './table/tr'
-export { BTh } from './table/th'
-export { BTd } from './table/td'
// export * from './tabs'
export { TabsPlugin } from './tabs'
From 6683d8d6a361b38a278aedadf17390a360a4f1da Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 10:45:43 -0300
Subject: [PATCH 144/173] Update index.js
---
src/components/table/index.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/components/table/index.js b/src/components/table/index.js
index ca2ae7a7014..e882bcf1714 100644
--- a/src/components/table/index.js
+++ b/src/components/table/index.js
@@ -8,3 +8,6 @@ const TablePlugin = /*#__PURE__*/ pluginFactory({
})
export { TablePlugin, BTable, BTableLite, BTableSimple }
+
+// temp until merge conflicts resolved
+export default TablePlugin
From 63628fc245e3d69c5ac09030c24a5a9a6ffa4408 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 10:47:17 -0300
Subject: [PATCH 145/173] Update index.js
---
src/components/table/index.js | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/components/table/index.js b/src/components/table/index.js
index 5c437283279..415cc9399cc 100644
--- a/src/components/table/index.js
+++ b/src/components/table/index.js
@@ -54,6 +54,3 @@ export {
BTd,
BTh
}
-
-// temp until merge conflicts resolved
-export default TablePlugin
From 88270ebe3e5aad12352cadd112c02bef1d23dbac Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 10:48:03 -0300
Subject: [PATCH 146/173] Delete index.esm.js
---
src/components/index.esm.js | 312 ------------------------------------
1 file changed, 312 deletions(-)
delete mode 100644 src/components/index.esm.js
diff --git a/src/components/index.esm.js b/src/components/index.esm.js
deleted file mode 100644
index d09eef45326..00000000000
--- a/src/components/index.esm.js
+++ /dev/null
@@ -1,312 +0,0 @@
-// temp file to fix merge issue
-// Index file used for the main builds, which does not include legacy plugin names
-// Once es/ buld is removed, then this file will be renamed to index.js
-import { pluginFactory } from '../utils/plugins'
-
-// Component group plugins
-import { AlertPlugin } from './alert'
-import { BadgePlugin } from './badge'
-import { BreadcrumbPlugin } from './breadcrumb'
-import { ButtonPlugin } from './button'
-import { ButtonGroupPlugin } from './button-group'
-import { ButtonToolbarPlugin } from './button-toolbar'
-import { CardPlugin } from './card'
-import { CarouselPlugin } from './carousel'
-import { CollapsePlugin } from './collapse'
-import { DropdownPlugin } from './dropdown'
-import { EmbedPlugin } from './embed'
-import { FormPlugin } from './form'
-import { FormGroupPlugin } from './form-group'
-import { FormCheckboxPlugin } from './form-checkbox'
-import { FormRadioPlugin } from './form-radio'
-import { FormInputPlugin } from './form-input'
-import { FormTextareaPlugin } from './form-textarea'
-import { FormFilePlugin } from './form-file'
-import { FormSelectPlugin } from './form-select'
-import { ImagePlugin } from './image'
-import { InputGroupPlugin } from './input-group'
-import { JumbotronPlugin } from './jumbotron'
-import { LayoutPlugin } from './layout'
-import { LinkPlugin } from './link'
-import { ListGroupPlugin } from './list-group'
-import { MediaPlugin } from './media'
-import { ModalPlugin } from './modal'
-import { NavPlugin } from './nav'
-import { NavbarPlugin } from './navbar'
-import { PaginationPlugin } from './pagination'
-import { PaginationNavPlugin } from './pagination-nav'
-import { PopoverPlugin } from './popover'
-import { ProgressPlugin } from './progress'
-import { SpinnerPlugin } from './spinner'
-import { TablePlugin } from './table'
-import { TabsPlugin } from './tabs'
-import { ToastPlugin } from './toast'
-import { TooltipPlugin } from './tooltip'
-
-// Main plugin to install all component group plugins
-export const componentsPlugin = /*#__PURE__*/ pluginFactory({
- plugins: {
- AlertPlugin,
- BadgePlugin,
- BreadcrumbPlugin,
- ButtonPlugin,
- ButtonGroupPlugin,
- ButtonToolbarPlugin,
- CardPlugin,
- CarouselPlugin,
- CollapsePlugin,
- DropdownPlugin,
- EmbedPlugin,
- FormPlugin,
- FormGroupPlugin,
- FormCheckboxPlugin,
- FormRadioPlugin,
- FormInputPlugin,
- FormTextareaPlugin,
- FormFilePlugin,
- FormSelectPlugin,
- ImagePlugin,
- InputGroupPlugin,
- JumbotronPlugin,
- LayoutPlugin,
- LinkPlugin,
- ListGroupPlugin,
- MediaPlugin,
- ModalPlugin,
- NavPlugin,
- NavbarPlugin,
- PaginationPlugin,
- PaginationNavPlugin,
- PopoverPlugin,
- ProgressPlugin,
- SpinnerPlugin,
- TablePlugin,
- TabsPlugin,
- ToastPlugin,
- TooltipPlugin
- }
-})
-
-// Export named injection plugins
-// These two plugins are not directly included in the above installer, as they are
-// installed via the ModalPlugin and ToastPlugin respectively.
-export { BVModalPlugin } from './modal/helpers/bv-modal'
-export { BVToastPlugin } from './toast/helpers/bv-toast'
-
-// Export all individual components and component group plugins as named exports.
-// This is mainly for users who import individual components, directives or plugins.
-//
-// Webpack 4 has optimization difficulties with re-eport of re-exports, so
-// we import the components individulaly here for better tree shaking,
-//
-// Webpack v5 fixes the optimizations with re-export of re-exports so this
-// can be reverted back to `export * from './table'` when Webpack v5 is released.
-// https://github.com/webpack/webpack/pull/9203 (available in Webpack v5.0.0-alpha.15)
-
-// export * from './alert'
-export { AlertPlugin } from './alert'
-export { BAlert } from './alert/alert'
-
-// export * from './badge'
-export { BadgePlugin } from './badge'
-export { BBadge } from './badge/badge'
-
-// export * from './breadcrumb'
-export { BreadcrumbPlugin } from './breadcrumb'
-export { BBreadcrumb } from './breadcrumb/breadcrumb'
-export { BBreadcrumbItem } from './breadcrumb/breadcrumb-item'
-
-// export * from './button'
-export { ButtonPlugin } from './button'
-export { BButton } from './button/button'
-export { BButtonClose } from './button/button-close'
-
-// export * from './button-group'
-export { ButtonGroupPlugin } from './button-group'
-export { BButtonGroup } from './button-group/button-group'
-
-// export * from './button-toolbar'
-export { ButtonToolbarPlugin } from './button-toolbar'
-export { BButtonToolbar } from './button-toolbar/button-toolbar'
-
-// export * from './card'
-export { CardPlugin } from './card'
-export { BCard } from './card/card'
-export { BCardBody } from './card/card-body'
-export { BCardFooter } from './card/card-footer'
-export { BCardGroup } from './card/card-group'
-export { BCardHeader } from './card/card-header'
-export { BCardImg } from './card/card-img'
-export { BCardImgLazy } from './card/card-img-lazy'
-export { BCardSubTitle } from './card/card-sub-title'
-export { BCardText } from './card/card-text'
-export { BCardTitle } from './card/card-title'
-
-// export * from './carousel'
-export { CarouselPlugin } from './carousel'
-export { BCarousel } from './carousel/carousel'
-export { BCarouselSlide } from './carousel/carousel-slide'
-
-// export * from './collapse'
-export { CollapsePlugin } from './collapse'
-export { BCollapse } from './collapse/collapse'
-
-// export * from './dropdown'
-export { DropdownPlugin } from './dropdown'
-export { BDropdown } from './dropdown/dropdown'
-export { BDropdownItem } from './dropdown/dropdown-item'
-export { BDropdownItemButton } from './dropdown/dropdown-item-button'
-export { BDropdownDivider } from './dropdown/dropdown-divider'
-export { BDropdownForm } from './dropdown/dropdown-form'
-export { BDropdownGroup } from './dropdown/dropdown-group'
-export { BDropdownHeader } from './dropdown/dropdown-header'
-export { BDropdownText } from './dropdown/dropdown-text'
-
-// export * from './embed'
-export { EmbedPlugin } from './embed'
-export { BEmbed } from './embed/embed'
-
-// export * from './form'
-export { FormPlugin } from './form'
-export { BForm } from './form/form'
-export { BFormDatalist } from './form/form-datalist'
-export { BFormText } from './form/form-text'
-export { BFormInvalidFeedback } from './form/form-invalid-feedback'
-export { BFormValidFeedback } from './form/form-valid-feedback'
-
-// export * from './form-checkbox'
-export { FormCheckboxPlugin } from './form-checkbox'
-export { BFormCheckbox } from './form-checkbox/form-checkbox'
-export { BFormCheckboxGroup } from './form-checkbox/form-checkbox-group'
-
-// export * from './form-file'
-export { FormFilePlugin } from './form-file'
-export { BFormFile } from './form-file/form-file'
-
-// export * from './form-group'
-export { FormGroupPlugin } from './form-group'
-export { BFormGroup } from './form-group/form-group'
-
-// export * from './form-input'
-export { FormInputPlugin } from './form-input'
-export { BFormInput } from './form-input/form-input'
-
-// export * from './form-radio'
-export { FormRadioPlugin } from './form-radio'
-export { BFormRadio } from './form-radio/form-radio'
-export { BFormRadioGroup } from './form-radio/form-radio-group'
-
-// export * from './form-select'
-export { FormSelectPlugin } from './form-select'
-export { BFormSelect } from './form-select/form-select'
-
-// export * from './form-textarea'
-export { FormTextareaPlugin } from './form-textarea'
-export { BFormTextarea } from './form-textarea/form-textarea'
-
-// export * from './image'
-export { ImagePlugin } from './image'
-export { BImg } from './image/img'
-export { BImgLazy } from './image/img-lazy'
-
-// export * from './input-group'
-export { InputGroupPlugin } from './input-group'
-export { BInputGroup } from './input-group/input-group'
-export { BInputGroupAddon } from './input-group/input-group-addon'
-export { BInputGroupAppend } from './input-group/input-group-append'
-export { BInputGroupPrepend } from './input-group/input-group-prepend'
-export { BInputGroupText } from './input-group/input-group-text'
-
-// export * from './jumbotron'
-export { JumbotronPlugin } from './jumbotron'
-export { BJumbotron } from './jumbotron/jumbotron'
-
-// export * from './layout'
-export { LayoutPlugin } from './layout'
-export { BContainer } from './layout/container'
-export { BRow } from './layout/row'
-export { BCol } from './layout/col'
-export { BFormRow } from './layout/form-row'
-
-// export * from './link'
-export { LinkPlugin } from './link'
-export { BLink } from './link/link'
-
-// export * from './list-group'
-export { ListGroupPlugin } from './list-group'
-export { BListGroup } from './list-group/list-group'
-export { BListGroupItem } from './list-group/list-group-item'
-
-// export * from './media'
-export { MediaPlugin } from './media'
-export { BMedia } from './media/media'
-export { BMediaAside } from './media/media-aside'
-export { BMediaBody } from './media/media-body'
-
-// export * from './modal'
-export { ModalPlugin } from './modal'
-export { BModal } from './modal/modal'
-
-// export * from './nav'
-export { NavPlugin } from './nav'
-export { BNav } from './nav/nav'
-export { BNavForm } from './nav/nav-form'
-export { BNavItem } from './nav/nav-item'
-export { BNavItemDropdown } from './nav/nav-item-dropdown'
-export { BNavText } from './nav/nav-text'
-
-// export * from './navbar'
-export { NavbarPlugin } from './navbar'
-export { BNavbar } from './navbar/navbar'
-export { BNavbarBrand } from './navbar/navbar-brand'
-export { BNavbarNav } from './navbar/navbar-nav'
-export { BNavbarToggle } from './navbar/navbar-toggle'
-
-// export * from './pagination'
-export { PaginationPlugin } from './pagination'
-export { BPagination } from './pagination/pagination'
-
-// export * from './pagination-nav'
-export { PaginationNavPlugin } from './pagination-nav'
-export { BPaginationNav } from './pagination-nav/pagination-nav'
-
-// export * from './popover'
-export { PopoverPlugin } from './popover'
-export { BPopover } from './popover/popover'
-
-// export * from './progress'
-export { ProgressPlugin } from './progress'
-export { BProgress } from './progress/progress'
-export { BProgressBar } from './progress/progress-bar'
-
-// export * from './spinner'
-export { SpinnerPlugin } from './spinner'
-export { BSpinner } from './spinner/spinner'
-
-// export * from './table'
-export { TablePlugin } from './table'
-export { TableLitePlugin } from './table'
-export { TableSimplePlugin } from './table'
-export { BTable } from './table/table'
-export { BTableLite } from './table/table-lite'
-export { BTableSimple } from './table/table-simple'
-export { BTbody } from './table/tbody'
-export { BThead } from './table/thead'
-export { BTfoot } from './table/tfoot'
-export { BTr } from './table/tr'
-export { BTh } from './table/th'
-export { BTd } from './table/td'
-
-// export * from './tabs'
-export { TabsPlugin } from './tabs'
-export { BTabs } from './tabs/tabs'
-export { BTab } from './tabs/tab'
-
-// export * from './toast'
-export { ToastPlugin } from './toast'
-export { BToast } from './toast/toast'
-export { BToaster } from './toast/toaster'
-
-// export * from './tooltip'
-export { TooltipPlugin } from './tooltip'
-export { BTooltip } from './tooltip/tooltip'
From ab05cf92751c733bfbd82523636e26682de0439c Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 11:17:34 -0300
Subject: [PATCH 147/173] Update index.js
---
src/components/index.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/components/index.js b/src/components/index.js
index 2f64b3d968a..1891f16b40d 100644
--- a/src/components/index.js
+++ b/src/components/index.js
@@ -35,6 +35,7 @@ import { PaginationNavPlugin } from './pagination-nav'
import { PopoverPlugin } from './popover'
import { ProgressPlugin } from './progress'
import { SpinnerPlugin } from './spinner'
+// Table plugin includes TableLitePlugin and TableSimplePlugin
import { TablePlugin } from './table'
import { TabsPlugin } from './tabs'
import { ToastPlugin } from './toast'
From d447a84fba0d4e5c58f73519562a589ed85afb96 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 11:20:51 -0300
Subject: [PATCH 148/173] Update index.js
---
src/index.js | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/index.js b/src/index.js
index 2724b091042..9c6833b8032 100644
--- a/src/index.js
+++ b/src/index.js
@@ -214,10 +214,16 @@ export { SpinnerPlugin } from './components/spinner'
export { BSpinner } from './components/spinner/spinner'
// export * from './components/table'
-export { TablePlugin } from './components/table'
+export { TablePlugin, TableLitePlugin, TableSimplePlugin } from './components/table'
export { BTable } from './components/table/table'
export { BTableLite } from './components/table/table-lite'
export { BTableSimple } from './components/table/table-simple'
+export { BTbody } from './components/table/tbody'
+export { BThead } from './components/table/thead'
+export { BTfoot } from './components/table/tfoot'
+export { BTr } from './components/table/tr'
+export { BTh } from './components/table/th'
+export { BTd } from './components/table/td'
// export * from './components/tabs'
export { TabsPlugin } from './components/tabs'
From e8792d7a3f15d8c7349e3c9cf36213b440b2e8bb Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 11:41:33 -0300
Subject: [PATCH 149/173] Update index.d.ts
---
src/components/table/index.d.ts | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/components/table/index.d.ts b/src/components/table/index.d.ts
index acf9dcc7cb0..9b0d06a4791 100644
--- a/src/components/table/index.d.ts
+++ b/src/components/table/index.d.ts
@@ -4,8 +4,10 @@
import Vue, { VNode } from 'vue'
import { BvPlugin, BvComponent } from '../../'
-// Table Plugin
+// Table Plugins
export declare const TablePlugin: BvPlugin
+export declare const TableLitePlugin: BvPlugin
+export declare const TableSimplePlugin: BvPlugin
// Component: b-table
export declare class BTable extends BvComponent {
From 0db8b9fcd6e79d309fed449f555ac0cd56a581ed Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 11:44:06 -0300
Subject: [PATCH 150/173] Update index.d.ts
---
src/components/table/index.d.ts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/components/table/index.d.ts b/src/components/table/index.d.ts
index 9b0d06a4791..aea0d056d4d 100644
--- a/src/components/table/index.d.ts
+++ b/src/components/table/index.d.ts
@@ -8,6 +8,8 @@ import { BvPlugin, BvComponent } from '../../'
export declare const TablePlugin: BvPlugin
export declare const TableLitePlugin: BvPlugin
export declare const TableSimplePlugin: BvPlugin
+// temp to fix merge conflicts
+export default TablePlugin
// Component: b-table
export declare class BTable extends BvComponent {
From 17354450c79a11a0d47e49a17a935345e3c4864b Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 11:45:24 -0300
Subject: [PATCH 151/173] Update index.d.ts
---
src/components/table/index.d.ts | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/components/table/index.d.ts b/src/components/table/index.d.ts
index aea0d056d4d..f0c9900f5a2 100644
--- a/src/components/table/index.d.ts
+++ b/src/components/table/index.d.ts
@@ -8,7 +8,6 @@ import { BvPlugin, BvComponent } from '../../'
export declare const TablePlugin: BvPlugin
export declare const TableLitePlugin: BvPlugin
export declare const TableSimplePlugin: BvPlugin
-// temp to fix merge conflicts
export default TablePlugin
// Component: b-table
From df9ab2032688144ae9a79c21a6b57d5c6e7e51f0 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 11:46:41 -0300
Subject: [PATCH 152/173] Update index.d.ts
---
src/components/table/index.d.ts | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/components/table/index.d.ts b/src/components/table/index.d.ts
index f0c9900f5a2..9b0d06a4791 100644
--- a/src/components/table/index.d.ts
+++ b/src/components/table/index.d.ts
@@ -8,7 +8,6 @@ import { BvPlugin, BvComponent } from '../../'
export declare const TablePlugin: BvPlugin
export declare const TableLitePlugin: BvPlugin
export declare const TableSimplePlugin: BvPlugin
-export default TablePlugin
// Component: b-table
export declare class BTable extends BvComponent {
From c023a6f0e8a14be3d83851c8d92280e105229b60 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 13:32:19 -0300
Subject: [PATCH 153/173] Update importdoc.vue
---
docs/components/importdoc.vue | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/docs/components/importdoc.vue b/docs/components/importdoc.vue
index f983029566a..0a49c231ab1 100644
--- a/docs/components/importdoc.vue
+++ b/docs/components/importdoc.vue
@@ -153,6 +153,9 @@ export default {
meta: {}
},
computed: {
+ importPath() {
+ return 'bootstrap-vue'
+ },
isComponentRoute() {
return this.$route.name === 'docs-components-slug'
},
@@ -168,7 +171,7 @@ export default {
return {
component: this.componentTag(c),
namedExport: c,
- importPath: importPath
+ importPath: this.importPath
}
})
},
@@ -177,7 +180,7 @@ export default {
return {
directive: this.directiveAttr(d),
namedExport: d,
- importPath: importPath
+ importPath: this.importPath
}
})
},
@@ -185,7 +188,7 @@ export default {
return [
{
namedExport: this.pluginName,
- importPath: importPath
+ importPath: this.importPath
}
]
},
@@ -219,7 +222,7 @@ export default {
pluginImportCode() {
return [
'// Importing the named export',
- `import { ${this.pluginName} } from '${importPath}'`,
+ `import { ${this.pluginName} } from '${this.importPath}'`,
`Vue.use(${this.pluginName})`
].join('\n')
}
From 8c9646556b4c9e33b8fcc63b9911f178e0585846 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Thu, 8 Aug 2019 13:34:18 -0300
Subject: [PATCH 154/173] Update importdoc.vue
---
docs/components/importdoc.vue | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docs/components/importdoc.vue b/docs/components/importdoc.vue
index 0a49c231ab1..1f41c600c8b 100644
--- a/docs/components/importdoc.vue
+++ b/docs/components/importdoc.vue
@@ -221,8 +221,7 @@ export default {
},
pluginImportCode() {
return [
- '// Importing the named export',
- `import { ${this.pluginName} } from '${this.importPath}'`,
+ `import { ${this.pluginName} } from 'bootstrap-vue'`,
`Vue.use(${this.pluginName})`
].join('\n')
}
From 8674fe5abac34336496d9ad610b24a98eab7440a Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 12:18:20 -0300
Subject: [PATCH 155/173] Update index.js
---
src/index.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/index.js b/src/index.js
index 9c6833b8032..85ad4af2776 100644
--- a/src/index.js
+++ b/src/index.js
@@ -3,6 +3,8 @@ import { componentsPlugin } from './components'
import { directivesPlugin } from './directives'
import { BVConfigPlugin } from './bv-config'
+const NAME = 'BootstrapVue'
+
//
// Named exports for BvConfigPlugin
//
@@ -290,7 +292,8 @@ export const install = /*#__PURE__*/ installFactory({
// BootstrapVue plugin
//
export const BootstrapVue = /*#__PURE__*/ {
- install: install
+ install,
+ NAME
}
// Default export is the BootstrapVue plugin
From b4b2ea84273225aa8b08353a811b87d79718921d Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 12:24:57 -0300
Subject: [PATCH 156/173] Update index.js
---
src/index.js | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/src/index.js b/src/index.js
index 85ad4af2776..5631fca0e04 100644
--- a/src/index.js
+++ b/src/index.js
@@ -5,6 +5,30 @@ import { BVConfigPlugin } from './bv-config'
const NAME = 'BootstrapVue'
+//
+// BootstrapVue installer
+//
+// `install` is exported just in case the consumer does not import `default` as
+// the plugin in CommonJS build (or does not have interop enabled for CommonJS).
+// Both the following will work:
+// BootstrapVue = require('bootstrap-vue')
+// BootstrapVue = require('bootstrap-vue').default
+// Vue.use(BootstrapVue)
+export const install = /*#__PURE__*/ installFactory({
+ plugins: {
+ componentsPlugin,
+ directivesPlugin
+ }
+})
+
+//
+// BootstrapVue plugin
+//
+export const BootstrapVue = /*#__PURE__*/ {
+ install,
+ NAME
+}
+
//
// Named exports for BvConfigPlugin
//
@@ -272,29 +296,5 @@ export { VBToggle } from './directives/toggle/toggle'
export { VBTooltipPlugin } from './directives/tooltip'
export { VBTooltip } from './directives/tooltip/tooltip'
-//
-// BootstrapVue installer
-//
-// `install` is exported just in case the consumer does not import `default` as
-// the plugin in CommonJS build (or does not have interop enabled for CommonJS).
-// Both the following will work:
-// BootstrapVue = require('bootstrap-vue')
-// BootstrapVue = require('bootstrap-vue').default
-// Vue.use(BootstrapVue)
-export const install = /*#__PURE__*/ installFactory({
- plugins: {
- componentsPlugin,
- directivesPlugin
- }
-})
-
-//
-// BootstrapVue plugin
-//
-export const BootstrapVue = /*#__PURE__*/ {
- install,
- NAME
-}
-
// Default export is the BootstrapVue plugin
export default BootstrapVue
From 215a9ef3fb2e56b6c9b5c33bbff6f4c3ca71e7a6 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 12:29:18 -0300
Subject: [PATCH 157/173] Update index.js
---
src/index.js | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/index.js b/src/index.js
index 5631fca0e04..2e1caf1735b 100644
--- a/src/index.js
+++ b/src/index.js
@@ -14,7 +14,7 @@ const NAME = 'BootstrapVue'
// BootstrapVue = require('bootstrap-vue')
// BootstrapVue = require('bootstrap-vue').default
// Vue.use(BootstrapVue)
-export const install = /*#__PURE__*/ installFactory({
+const install = /*#__PURE__*/ installFactory({
plugins: {
componentsPlugin,
directivesPlugin
@@ -33,11 +33,15 @@ export const BootstrapVue = /*#__PURE__*/ {
// Named exports for BvConfigPlugin
//
export {
+ // Main BV installer
+ install,
// BV Config Plugin
BVConfigPlugin,
// BVConfigPlugin has been documented as BVConfig as well,
// so we add an alias to the shorter name for backwards compat
- BVConfigPlugin as BVConfig
+ BVConfigPlugin as BVConfig,
+ // Export NAME just in case of CommonJS require not in interop mode
+ NAME
}
//
From 42f8daf21c01f3543c058185b8e1b6df967cefba Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 12:39:24 -0300
Subject: [PATCH 158/173] Update index.js
---
src/index.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/index.js b/src/index.js
index 2e1caf1735b..47cd0f64e56 100644
--- a/src/index.js
+++ b/src/index.js
@@ -24,7 +24,7 @@ const install = /*#__PURE__*/ installFactory({
//
// BootstrapVue plugin
//
-export const BootstrapVue = /*#__PURE__*/ {
+const BootstrapVue = /*#__PURE__*/ {
install,
NAME
}
@@ -35,13 +35,14 @@ export const BootstrapVue = /*#__PURE__*/ {
export {
// Main BV installer
install,
+ NAME,
// BV Config Plugin
BVConfigPlugin,
// BVConfigPlugin has been documented as BVConfig as well,
// so we add an alias to the shorter name for backwards compat
BVConfigPlugin as BVConfig,
- // Export NAME just in case of CommonJS require not in interop mode
- NAME
+ // Export BootstrapVue plugin
+ BootstrapVue
}
//
From 44e0e906adefe0eddb994958941d1f43bba3fec7 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 12:42:22 -0300
Subject: [PATCH 159/173] Update index.js
---
src/index.js | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/index.js b/src/index.js
index 47cd0f64e56..7d69694640f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -33,7 +33,12 @@ const BootstrapVue = /*#__PURE__*/ {
// Named exports for BvConfigPlugin
//
export {
- // Main BV installer
+ // Installer and setConfig exported in case the consumer does not
+ // import `default` as the plugin in CommonJS build (or does not
+ // have interop enabled for CommonJS). Both the following will work:
+ // BootstrapVue = require('bootstrap-vue')
+ // BootstrapVue = require('bootstrap-vue').default
+ // Vue.use(BootstrapVue)
install,
NAME,
// BV Config Plugin
@@ -41,7 +46,7 @@ export {
// BVConfigPlugin has been documented as BVConfig as well,
// so we add an alias to the shorter name for backwards compat
BVConfigPlugin as BVConfig,
- // Export BootstrapVue plugin
+ // Main BootstrapVue plugin
BootstrapVue
}
From 7026249f53a0fa0d12e06046fc0fd23b18ff706a Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 12:53:28 -0300
Subject: [PATCH 160/173] Update index.js
---
src/index.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/index.js b/src/index.js
index 7d69694640f..6ba967ff8ea 100644
--- a/src/index.js
+++ b/src/index.js
@@ -33,9 +33,9 @@ const BootstrapVue = /*#__PURE__*/ {
// Named exports for BvConfigPlugin
//
export {
- // Installer and setConfig exported in case the consumer does not
- // import `default` as the plugin in CommonJS build (or does not
- // have interop enabled for CommonJS). Both the following will work:
+ // Installer exported in case the consumer does not import `default`
+ // as the plugin in CommonJS build (or does not have interop enabled
+ // for CommonJS). Both the following will work:
// BootstrapVue = require('bootstrap-vue')
// BootstrapVue = require('bootstrap-vue').default
// Vue.use(BootstrapVue)
@@ -46,7 +46,7 @@ export {
// BVConfigPlugin has been documented as BVConfig as well,
// so we add an alias to the shorter name for backwards compat
BVConfigPlugin as BVConfig,
- // Main BootstrapVue plugin
+ // Main BootstrapVue Plugin
BootstrapVue
}
From 551b2f2ebaaaae870304b7b6134dca5c093e97a6 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 12:55:39 -0300
Subject: [PATCH 161/173] Update bv-config.js
---
src/bv-config.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/bv-config.js b/src/bv-config.js
index 79d27dfb870..3fd72038613 100644
--- a/src/bv-config.js
+++ b/src/bv-config.js
@@ -4,3 +4,6 @@
import { pluginFactory } from './utils/plugins'
export const BVConfigPlugin = /*#__PURE__*/ pluginFactory()
+
+// Temp default export to resolve conflicts
+export default BVConfigPlugin
From b23f23bff1f6244aacbe9bd80b1bfe310174cf69 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 12:56:28 -0300
Subject: [PATCH 162/173] Update index.js
---
src/index.js | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/index.js b/src/index.js
index 6ba967ff8ea..5e68e02ea25 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,19 +1,13 @@
import { installFactory } from './utils/plugins'
import { componentsPlugin } from './components'
import { directivesPlugin } from './directives'
-import { BVConfigPlugin } from './bv-config'
+import BVConfigPlugin from './bv-config'
const NAME = 'BootstrapVue'
//
// BootstrapVue installer
//
-// `install` is exported just in case the consumer does not import `default` as
-// the plugin in CommonJS build (or does not have interop enabled for CommonJS).
-// Both the following will work:
-// BootstrapVue = require('bootstrap-vue')
-// BootstrapVue = require('bootstrap-vue').default
-// Vue.use(BootstrapVue)
const install = /*#__PURE__*/ installFactory({
plugins: {
componentsPlugin,
From db6dbc50a662d240d0e4bd548645ea0698ff2c2f Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:00:33 -0300
Subject: [PATCH 163/173] Create index.esm.js
---
src/components/index.esm.js | 1 +
1 file changed, 1 insertion(+)
create mode 100644 src/components/index.esm.js
diff --git a/src/components/index.esm.js b/src/components/index.esm.js
new file mode 100644
index 00000000000..8bbee04d7ce
--- /dev/null
+++ b/src/components/index.esm.js
@@ -0,0 +1 @@
+export const Foo = true
From fcd46f8d942deeb72560ba8ed49e74e9d81b8f84 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:01:02 -0300
Subject: [PATCH 164/173] Create index.esm.js
---
src/directives/index.esm.js | 1 +
1 file changed, 1 insertion(+)
create mode 100644 src/directives/index.esm.js
diff --git a/src/directives/index.esm.js b/src/directives/index.esm.js
new file mode 100644
index 00000000000..6bb250541ff
--- /dev/null
+++ b/src/directives/index.esm.js
@@ -0,0 +1 @@
+export const Bar = true
From 8549049bef371f0107e67041a0ad5939802e9c43 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:02:01 -0300
Subject: [PATCH 165/173] Update index.js
---
src/index.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/index.js b/src/index.js
index 5e68e02ea25..64104d8c42e 100644
--- a/src/index.js
+++ b/src/index.js
@@ -5,6 +5,12 @@ import BVConfigPlugin from './bv-config'
const NAME = 'BootstrapVue'
+// Named exports of all components and component group plugins
+export * from './components/index.esm'
+
+// Named exports of all directives and directive group plugins
+export * from './directives/index.esm'
+
//
// BootstrapVue installer
//
From 67f406ea1b13b5acf9be4adcc4490e05cd468425 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:03:07 -0300
Subject: [PATCH 166/173] Update index.js
---
src/index.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/index.js b/src/index.js
index 64104d8c42e..aba95e5de20 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,6 +1,6 @@
import { installFactory } from './utils/plugins'
-import { componentsPlugin } from './components'
-import { directivesPlugin } from './directives'
+import { componentsPlugin } from './components/index'
+import { directivesPlugin } from './directives/index'
import BVConfigPlugin from './bv-config'
const NAME = 'BootstrapVue'
From 0876f2b48696db4c8f073621a5dda013b4b17dd1 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:04:58 -0300
Subject: [PATCH 167/173] Temp to get around merge conflicts
---
src/index.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/index.js b/src/index.js
index aba95e5de20..8f9b1893687 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,13 +1,15 @@
import { installFactory } from './utils/plugins'
-import { componentsPlugin } from './components/index'
-import { directivesPlugin } from './directives/index'
+import { componentsPlugin } from './components/index.esm'
+import { directivesPlugin } from './directives/index.esm'
import BVConfigPlugin from './bv-config'
const NAME = 'BootstrapVue'
+// TEMP to help resolve conflicts
// Named exports of all components and component group plugins
export * from './components/index.esm'
+// TEMP to help resolve conflicts
// Named exports of all directives and directive group plugins
export * from './directives/index.esm'
From 091cac6dd1d74b18bc6214c44ddd5431eaeb1d89 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:06:10 -0300
Subject: [PATCH 168/173] Update index.js
---
src/index.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/index.js b/src/index.js
index 8f9b1893687..e81a257c7ad 100644
--- a/src/index.js
+++ b/src/index.js
@@ -5,11 +5,9 @@ import BVConfigPlugin from './bv-config'
const NAME = 'BootstrapVue'
-// TEMP to help resolve conflicts
// Named exports of all components and component group plugins
export * from './components/index.esm'
-// TEMP to help resolve conflicts
// Named exports of all directives and directive group plugins
export * from './directives/index.esm'
From 7122176d2a6dabd284b6f4b261024134f22bd16a Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:07:46 -0300
Subject: [PATCH 169/173] Update index.js
---
src/index.js | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/index.js b/src/index.js
index e81a257c7ad..5e68e02ea25 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,16 +1,10 @@
import { installFactory } from './utils/plugins'
-import { componentsPlugin } from './components/index.esm'
-import { directivesPlugin } from './directives/index.esm'
+import { componentsPlugin } from './components'
+import { directivesPlugin } from './directives'
import BVConfigPlugin from './bv-config'
const NAME = 'BootstrapVue'
-// Named exports of all components and component group plugins
-export * from './components/index.esm'
-
-// Named exports of all directives and directive group plugins
-export * from './directives/index.esm'
-
//
// BootstrapVue installer
//
From bbba7225a3417d7e81b45b723da1ade975122f13 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:08:14 -0300
Subject: [PATCH 170/173] Delete index.esm.js
---
src/components/index.esm.js | 1 -
1 file changed, 1 deletion(-)
delete mode 100644 src/components/index.esm.js
diff --git a/src/components/index.esm.js b/src/components/index.esm.js
deleted file mode 100644
index 8bbee04d7ce..00000000000
--- a/src/components/index.esm.js
+++ /dev/null
@@ -1 +0,0 @@
-export const Foo = true
From adda585f9e7e5158938c567e965ac766cec4e160 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:08:40 -0300
Subject: [PATCH 171/173] Delete index.esm.js
---
src/directives/index.esm.js | 1 -
1 file changed, 1 deletion(-)
delete mode 100644 src/directives/index.esm.js
diff --git a/src/directives/index.esm.js b/src/directives/index.esm.js
deleted file mode 100644
index 6bb250541ff..00000000000
--- a/src/directives/index.esm.js
+++ /dev/null
@@ -1 +0,0 @@
-export const Bar = true
From 972bff4e3031f81014e70be89a43070c4ba10344 Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:09:59 -0300
Subject: [PATCH 172/173] Update index.js
---
src/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/index.js b/src/index.js
index 5e68e02ea25..55476dfdc14 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,7 +1,7 @@
import { installFactory } from './utils/plugins'
import { componentsPlugin } from './components'
import { directivesPlugin } from './directives'
-import BVConfigPlugin from './bv-config'
+import { BVConfigPlugin } from './bv-config'
const NAME = 'BootstrapVue'
From 8b06c3f914e81e167aaed6548bf7a11139afb28a Mon Sep 17 00:00:00 2001
From: Troy Morehouse
Date: Mon, 12 Aug 2019 13:10:27 -0300
Subject: [PATCH 173/173] Update bv-config.js
---
src/bv-config.js | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/bv-config.js b/src/bv-config.js
index 3fd72038613..79d27dfb870 100644
--- a/src/bv-config.js
+++ b/src/bv-config.js
@@ -4,6 +4,3 @@
import { pluginFactory } from './utils/plugins'
export const BVConfigPlugin = /*#__PURE__*/ pluginFactory()
-
-// Temp default export to resolve conflicts
-export default BVConfigPlugin