buefy 0.9.21 → 0.9.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/buefy.css +76 -24
- package/dist/buefy.esm.js +103 -89
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +103 -88
- package/dist/buefy.min.css +1 -1
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/autocomplete.js +2 -2
- package/dist/cjs/{chunk-dddb035c.js → chunk-37e64a78.js} +6 -2
- package/dist/cjs/{chunk-f8eb56c6.js → chunk-4702fda4.js} +1 -1
- package/dist/cjs/{chunk-bcab8905.js → chunk-6e9f64e7.js} +3 -3
- package/dist/cjs/{chunk-eba24a95.js → chunk-8ab08774.js} +5 -5
- package/dist/cjs/{chunk-85b00a19.js → chunk-94bbc46e.js} +4 -4
- package/dist/cjs/{chunk-befea70a.js → chunk-994f8066.js} +22 -8
- package/dist/cjs/{chunk-95c4b826.js → chunk-a39776c7.js} +4 -1
- package/dist/cjs/{chunk-cc9676a6.js → chunk-b7163607.js} +2 -1
- package/dist/cjs/clockpicker.js +3 -3
- package/dist/cjs/colorpicker-a5bbcf7b.js +1774 -0
- package/dist/cjs/colorpicker.js +14 -1750
- package/dist/cjs/datepicker.js +4 -4
- package/dist/cjs/datetimepicker.js +5 -5
- package/dist/cjs/dialog.js +1 -1
- package/dist/cjs/dropdown.js +1 -1
- package/dist/cjs/field.js +1 -1
- package/dist/cjs/index.js +12 -11
- package/dist/cjs/input.js +1 -1
- package/dist/cjs/message.js +1 -1
- package/dist/cjs/modal.js +1 -1
- package/dist/cjs/navbar.js +4 -1
- package/dist/cjs/notification.js +1 -1
- package/dist/cjs/numberinput.js +7 -2
- package/dist/cjs/sidebar.js +6 -44
- package/dist/cjs/steps.js +1 -1
- package/dist/cjs/table.js +5 -5
- package/dist/cjs/tabs.js +1 -1
- package/dist/cjs/taginput.js +7 -3
- package/dist/cjs/timepicker.js +4 -4
- package/dist/components/autocomplete/index.js +26 -9
- package/dist/components/autocomplete/index.min.js +2 -2
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/breadcrumb/index.min.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/index.min.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/index.min.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.min.js +1 -1
- package/dist/components/clockpicker/index.js +12 -5
- package/dist/components/clockpicker/index.min.js +2 -2
- package/dist/components/collapse/index.js +1 -1
- package/dist/components/collapse/index.min.js +1 -1
- package/dist/components/colorpicker/index.js +46 -21
- package/dist/components/colorpicker/index.min.js +2 -2
- package/dist/components/datepicker/index.js +13 -6
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +13 -6
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +3 -2
- package/dist/components/dialog/index.min.js +2 -2
- package/dist/components/dropdown/index.js +7 -3
- package/dist/components/dropdown/index.min.js +2 -2
- package/dist/components/field/index.js +2 -2
- package/dist/components/field/index.min.js +2 -2
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/index.min.js +1 -1
- package/dist/components/image/index.js +1 -1
- package/dist/components/image/index.min.js +1 -1
- package/dist/components/input/index.js +5 -2
- package/dist/components/input/index.min.js +2 -2
- package/dist/components/loading/index.js +1 -1
- package/dist/components/loading/index.min.js +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.min.js +1 -1
- package/dist/components/message/index.js +2 -2
- package/dist/components/message/index.min.js +2 -2
- package/dist/components/modal/index.js +3 -2
- package/dist/components/modal/index.min.js +2 -2
- package/dist/components/navbar/index.js +5 -2
- package/dist/components/navbar/index.min.js +2 -2
- package/dist/components/notification/index.js +2 -2
- package/dist/components/notification/index.min.js +2 -2
- package/dist/components/numberinput/index.js +11 -3
- package/dist/components/numberinput/index.min.js +2 -2
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.min.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.min.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.min.js +1 -1
- package/dist/components/rate/index.js +1 -1
- package/dist/components/rate/index.min.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.min.js +1 -1
- package/dist/components/sidebar/index.js +7 -48
- package/dist/components/sidebar/index.min.js +2 -2
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/index.min.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.min.js +1 -1
- package/dist/components/snackbar/index.js +1 -1
- package/dist/components/snackbar/index.min.js +1 -1
- package/dist/components/steps/index.js +6 -6
- package/dist/components/steps/index.min.js +2 -2
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.min.js +1 -1
- package/dist/components/table/index.js +9 -6
- package/dist/components/table/index.min.js +2 -2
- package/dist/components/tabs/index.js +6 -6
- package/dist/components/tabs/index.min.js +2 -2
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/index.min.js +1 -1
- package/dist/components/taginput/index.js +31 -10
- package/dist/components/taginput/index.min.js +2 -2
- package/dist/components/timepicker/index.js +12 -5
- package/dist/components/timepicker/index.min.js +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.min.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.min.js +1 -1
- package/dist/components/upload/index.js +1 -1
- package/dist/components/upload/index.min.js +1 -1
- package/dist/esm/autocomplete.js +6 -6
- package/dist/esm/button.js +4 -4
- package/dist/esm/carousel.js +4 -4
- package/dist/esm/{chunk-293c457c.js → chunk-007b3ff8.js} +7 -7
- package/dist/esm/{chunk-c5284276.js → chunk-048831a9.js} +2 -2
- package/dist/esm/{chunk-493ff0a9.js → chunk-07da0ba7.js} +1 -1
- package/dist/esm/{chunk-ade5b253.js → chunk-0c67e5e7.js} +8 -4
- package/dist/esm/{chunk-9b0b8225.js → chunk-18dce47f.js} +1 -1
- package/dist/esm/{chunk-6e56b8bc.js → chunk-27ec55c7.js} +1 -1
- package/dist/esm/{chunk-7e17a637.js → chunk-4b289821.js} +1 -1
- package/dist/esm/{chunk-d46e7ff0.js → chunk-6a7209ee.js} +2 -2
- package/dist/esm/{chunk-b5576437.js → chunk-6b514c98.js} +2 -2
- package/dist/esm/{chunk-f32d0228.js → chunk-6efa106e.js} +9 -9
- package/dist/esm/{chunk-60a03517.js → chunk-70481141.js} +1 -1
- package/dist/esm/{chunk-455cdeae.js → chunk-851d1b8f.js} +1 -1
- package/dist/esm/{chunk-33e1434e.js → chunk-8e497030.js} +2 -1
- package/dist/esm/{chunk-b0123b89.js → chunk-9bd1f33e.js} +24 -10
- package/dist/esm/{chunk-4e788733.js → chunk-bf29bc31.js} +3 -3
- package/dist/esm/{chunk-7bb9107f.js → chunk-d62aa1f5.js} +2 -2
- package/dist/esm/{chunk-83c8b459.js → chunk-d77d421b.js} +7 -4
- package/dist/esm/{chunk-6c64686f.js → chunk-dc931ea5.js} +8 -8
- package/dist/esm/clockpicker.js +8 -8
- package/dist/esm/colorpicker-91643f19.js +1770 -0
- package/dist/esm/colorpicker.js +13 -1754
- package/dist/esm/config.js +1 -1
- package/dist/esm/datepicker.js +10 -10
- package/dist/esm/datetimepicker.js +11 -11
- package/dist/esm/dialog.js +4 -4
- package/dist/esm/dropdown.js +4 -4
- package/dist/esm/field.js +3 -3
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/icon.js +3 -3
- package/dist/esm/image.js +3 -3
- package/dist/esm/index.js +24 -24
- package/dist/esm/input.js +5 -5
- package/dist/esm/loading.js +3 -3
- package/dist/esm/menu.js +2 -2
- package/dist/esm/message.js +4 -4
- package/dist/esm/modal.js +3 -3
- package/dist/esm/navbar.js +5 -2
- package/dist/esm/notification.js +5 -5
- package/dist/esm/numberinput.js +10 -5
- package/dist/esm/pagination.js +4 -4
- package/dist/esm/progress.js +2 -2
- package/dist/esm/rate.js +2 -2
- package/dist/esm/select.js +5 -5
- package/dist/esm/sidebar.js +8 -46
- package/dist/esm/slider.js +2 -2
- package/dist/esm/snackbar.js +2 -2
- package/dist/esm/steps.js +5 -5
- package/dist/esm/table.js +12 -12
- package/dist/esm/tabs.js +5 -5
- package/dist/esm/taginput.js +10 -6
- package/dist/esm/timepicker.js +11 -11
- package/dist/esm/toast.js +2 -2
- package/dist/esm/tooltip.js +3 -3
- package/dist/esm/upload.js +2 -2
- package/dist/vetur/attributes.json +12 -0
- package/dist/vetur/tags.json +5 -2
- package/package.json +3 -2
- package/src/components/autocomplete/Autocomplete.vue +23 -4
- package/src/components/autocomplete/index.js +1 -1
- package/src/components/breadcrumb/Breadcrumb.vue +0 -2
- package/src/components/breadcrumb/BreadcrumbItem.spec.js +1 -1
- package/src/components/breadcrumb/BreadcrumbItem.vue +0 -3
- package/src/components/breadcrumb/index.js +2 -2
- package/src/components/button/Button.vue +1 -1
- package/src/components/button/index.js +1 -1
- package/src/components/carousel/Carousel.vue +1 -1
- package/src/components/carousel/CarouselList.vue +2 -2
- package/src/components/carousel/index.js +3 -3
- package/src/components/checkbox/Checkbox.vue +1 -1
- package/src/components/checkbox/CheckboxButton.vue +1 -1
- package/src/components/checkbox/index.js +2 -2
- package/src/components/clockpicker/Clockpicker.vue +5 -5
- package/src/components/clockpicker/index.js +1 -1
- package/src/components/collapse/index.js +1 -1
- package/src/components/colorpicker/Colorpicker.vue +50 -31
- package/src/components/colorpicker/ColorpickerAlphaSlider.spec.js +3 -1
- package/src/components/colorpicker/ColorpickerAlphaSlider.vue +1 -1
- package/src/components/colorpicker/index.js +1 -1
- package/src/components/datepicker/Datepicker.spec.js +4 -4
- package/src/components/datepicker/Datepicker.vue +14 -13
- package/src/components/datepicker/DatepickerTable.vue +1 -1
- package/src/components/datepicker/index.js +1 -1
- package/src/components/datetimepicker/Datetimepicker.vue +2 -2
- package/src/components/datetimepicker/index.js +1 -1
- package/src/components/dialog/Dialog.vue +3 -3
- package/src/components/dialog/index.js +1 -1
- package/src/components/dropdown/Dropdown.vue +6 -2
- package/src/components/dropdown/index.js +2 -2
- package/src/components/field/Field.spec.js +11 -2
- package/src/components/field/Field.vue +6 -2
- package/src/components/field/index.js +1 -1
- package/src/components/icon/index.js +1 -1
- package/src/components/image/index.js +1 -1
- package/src/components/input/Input.spec.js +11 -0
- package/src/components/input/Input.vue +5 -2
- package/src/components/input/index.js +1 -1
- package/src/components/loading/index.js +1 -1
- package/src/components/menu/MenuItem.vue +1 -1
- package/src/components/menu/index.js +3 -3
- package/src/components/message/Message.vue +2 -1
- package/src/components/message/index.js +1 -1
- package/src/components/modal/Modal.vue +2 -1
- package/src/components/modal/index.js +1 -1
- package/src/components/navbar/NavBar.spec.js +1 -1
- package/src/components/navbar/{NavbarBurger.spec.js → NavBarBurger.spec.js} +1 -1
- package/src/components/navbar/NavBarItem.spec.js +1 -1
- package/src/components/navbar/NavbarDropdown.spec.js +1 -1
- package/src/components/navbar/NavbarDropdown.vue +10 -1
- package/src/components/navbar/index.js +3 -3
- package/src/components/notification/Notification.vue +3 -2
- package/src/components/notification/NotificationNotice.vue +1 -1
- package/src/components/notification/index.js +2 -2
- package/src/components/numberinput/Numberinput.spec.js +31 -0
- package/src/components/numberinput/Numberinput.vue +8 -3
- package/src/components/numberinput/index.js +1 -1
- package/src/components/pagination/Pagination.vue +2 -2
- package/src/components/pagination/index.js +2 -2
- package/src/components/progress/index.js +2 -2
- package/src/components/radio/Radio.vue +1 -1
- package/src/components/radio/RadioButton.vue +1 -1
- package/src/components/radio/index.js +2 -2
- package/src/components/rate/Rate.vue +1 -1
- package/src/components/rate/index.js +1 -1
- package/src/components/select/Select.vue +1 -1
- package/src/components/select/index.js +1 -1
- package/src/components/sidebar/Sidebar.vue +6 -25
- package/src/components/sidebar/index.js +1 -1
- package/src/components/skeleton/index.js +1 -1
- package/src/components/slider/Slider.vue +2 -2
- package/src/components/slider/SliderThumb.vue +1 -1
- package/src/components/slider/index.js +2 -2
- package/src/components/snackbar/Snackbar.vue +1 -1
- package/src/components/snackbar/index.js +1 -1
- package/src/components/steps/StepItem.vue +1 -1
- package/src/components/steps/Steps.vue +2 -2
- package/src/components/steps/index.js +2 -2
- package/src/components/switch/index.js +1 -1
- package/src/components/table/Table.vue +31 -19
- package/src/components/table/TableColumn.vue +121 -121
- package/src/components/table/TableMobileSort.vue +2 -2
- package/src/components/table/TablePagination.vue +1 -1
- package/src/components/table/index.js +2 -2
- package/src/components/tabs/TabItem.vue +1 -1
- package/src/components/tabs/Tabs.vue +1 -1
- package/src/components/tabs/index.js +2 -2
- package/src/components/tag/index.js +2 -2
- package/src/components/taginput/Taginput.vue +7 -3
- package/src/components/taginput/index.js +1 -1
- package/src/components/timepicker/Timepicker.vue +6 -6
- package/src/components/timepicker/index.js +1 -1
- package/src/components/toast/Toast.vue +1 -1
- package/src/components/toast/index.js +1 -1
- package/src/components/tooltip/Tooltip.spec.js +35 -0
- package/src/components/tooltip/index.js +1 -1
- package/src/components/upload/index.js +1 -1
- package/src/index.js +1 -0
- package/src/scss/components/_colorpicker.scss +1 -1
- package/src/scss/components/_datepicker.scss +2 -2
- package/src/scss/components/_message.scss +8 -2
- package/src/scss/components/_notification.scss +5 -5
- package/src/scss/components/_radio.scss +3 -0
- package/src/scss/components/_table.scss +1 -0
- package/src/utils/MessageMixin.js +1 -1
- package/src/utils/TabbedChildMixin.js +1 -1
- package/src/utils/TabbedMixin.js +1 -1
- package/src/utils/color.js +3 -2
- package/src/utils/color.spec.js +3 -1
- package/CHANGELOG.md +0 -1741
- /package/dist/esm/{chunk-6d0f2352.js → chunk-241dbe8d.js} +0 -0
- /package/dist/esm/{chunk-17b33cd2.js → chunk-6ca75105.js} +0 -0
- /package/dist/esm/{chunk-c9c18b2f.js → chunk-f37c671e.js} +0 -0
- /package/dist/esm/{chunk-a32d1427.js → chunk-f4922148.js} +0 -0
- /package/src/components/colorpicker/__snapshots__/{ColorPickerHSLRepresentationSquare.spec.js.snap → ColorpickerHSLRepresentationSquare.spec.js.snap} +0 -0
package/dist/esm/table.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-
|
|
1
|
+
import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-851d1b8f.js';
|
|
2
2
|
import { toCssWidth, getValueByPath, indexOf, multiColumnSort, isNil, escapeRegExpChars, removeDiacriticsFromString } from './helpers.js';
|
|
3
3
|
import { V as VueInstance, s as setVueInstance } from './chunk-e92e3389.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import { I as Icon } from './chunk-
|
|
4
|
+
import './chunk-6ca75105.js';
|
|
5
|
+
import { I as Icon } from './chunk-4b289821.js';
|
|
6
6
|
import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
|
|
7
|
-
import { I as Input } from './chunk-
|
|
7
|
+
import { I as Input } from './chunk-d77d421b.js';
|
|
8
8
|
import './chunk-2793447b.js';
|
|
9
9
|
import { C as Checkbox } from './chunk-4a2008fa.js';
|
|
10
|
-
import { S as Select } from './chunk-
|
|
10
|
+
import { S as Select } from './chunk-bf29bc31.js';
|
|
11
11
|
import './chunk-b9bdb0e4.js';
|
|
12
|
-
import { L as Loading } from './chunk-
|
|
13
|
-
import { P as Pagination, d as debounce } from './chunk-
|
|
14
|
-
import { S as SlotComponent } from './chunk-
|
|
12
|
+
import { L as Loading } from './chunk-241dbe8d.js';
|
|
13
|
+
import { P as Pagination, d as debounce } from './chunk-048831a9.js';
|
|
14
|
+
import { S as SlotComponent } from './chunk-f37c671e.js';
|
|
15
15
|
|
|
16
16
|
var _components;
|
|
17
17
|
var script = {
|
|
@@ -243,8 +243,8 @@ var script$1 = {
|
|
|
243
243
|
return !!this.$scopedSlots.default;
|
|
244
244
|
},
|
|
245
245
|
|
|
246
|
-
/**
|
|
247
|
-
* Return if column header is un-selectable
|
|
246
|
+
/**
|
|
247
|
+
* Return if column header is un-selectable
|
|
248
248
|
*/
|
|
249
249
|
isHeaderUnSelectable: function isHeaderUnSelectable() {
|
|
250
250
|
return !this.headerSelectable && this.sortable;
|
|
@@ -1512,7 +1512,7 @@ var script$3 = {
|
|
|
1512
1512
|
const __vue_script__$3 = script$3;
|
|
1513
1513
|
|
|
1514
1514
|
/* template */
|
|
1515
|
-
var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-table"},[_vm._t("default"),(_vm.mobileCards && _vm.hasSortablenewColumns)?_c('b-table-mobile-sort',{attrs:{"current-sort-column":_vm.currentSortColumn,"sort-multiple":_vm.sortMultiple,"sort-multiple-data":_vm.sortMultipleDataComputed,"is-asc":_vm.isAsc,"columns":_vm.newColumns,"placeholder":_vm.mobileSortPlaceholder,"icon-pack":_vm.iconPack,"sort-icon":_vm.sortIcon,"sort-icon-size":_vm.sortIconSize},on:{"sort":function (column, event) { return _vm.sort(column, null, event); },"removePriority":function (column) { return _vm.removeSortingPriority(column); }}}):_vm._e(),(_vm.paginated && (_vm.paginationPosition === 'top' || _vm.paginationPosition === 'both'))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel,"page-input":_vm.pageInput,"pagination-order":_vm.paginationOrder,"page-input-position":_vm.pageInputPosition,"debounce-page-input":_vm.debouncePageInput},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("top-left")],2)])]:_vm._e(),_c('div',{staticClass:"table-wrapper",class:_vm.tableWrapperClasses,style:(_vm.tableStyle)},[_c('table',{staticClass:"table",class:_vm.tableClasses,attrs:{"tabindex":!_vm.focusable ? false : 0},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(-1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(1)}]}},[(_vm.caption)?_c('caption',{directives:[{name:"show",rawName:"v-show",value:(_vm.showCaption),expression:"showCaption"}]},[_vm._v(_vm._s(_vm.caption))]):_vm._e(),(_vm.newColumns.length && _vm.showHeader)?_c('thead',[_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"type":_vm.checkboxType,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'header',class:[column.thClasses, {
|
|
1515
|
+
var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-table"},[_vm._t("default"),(_vm.mobileCards && _vm.hasSortablenewColumns)?_c('b-table-mobile-sort',{attrs:{"current-sort-column":_vm.currentSortColumn,"sort-multiple":_vm.sortMultiple,"sort-multiple-data":_vm.sortMultipleDataComputed,"is-asc":_vm.isAsc,"columns":_vm.newColumns,"placeholder":_vm.mobileSortPlaceholder,"icon-pack":_vm.iconPack,"sort-icon":_vm.sortIcon,"sort-icon-size":_vm.sortIconSize},on:{"sort":function (column, event) { return _vm.sort(column, null, event); },"removePriority":function (column) { return _vm.removeSortingPriority(column); }}}):_vm._e(),(_vm.paginated && (_vm.paginationPosition === 'top' || _vm.paginationPosition === 'both'))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel,"page-input":_vm.pageInput,"pagination-order":_vm.paginationOrder,"page-input-position":_vm.pageInputPosition,"debounce-page-input":_vm.debouncePageInput},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("top-left")],2)])]:_vm._e(),_c('div',{staticClass:"table-wrapper",class:_vm.tableWrapperClasses,style:(_vm.tableStyle)},[_c('table',{staticClass:"table",class:_vm.tableClasses,attrs:{"tabindex":!_vm.focusable ? false : 0},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(-1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(1)}]}},[(_vm.caption)?_c('caption',{directives:[{name:"show",rawName:"v-show",value:(_vm.showCaption),expression:"showCaption"}]},[_vm._v(_vm._s(_vm.caption))]):_vm._e(),(_vm.newColumns.length && _vm.showHeader)?_c('thead',[_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_vm._t("check-all",[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"type":_vm.checkboxType,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})],{"isAllChecked":_vm.isAllChecked,"isAllUncheckable":_vm.isAllUncheckable,"checkAll":_vm.checkAll})]:_vm._e()],2):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'header',class:[column.thClasses, {
|
|
1516
1516
|
'is-current-sort': !_vm.sortMultiple && _vm.currentSortColumn === column,
|
|
1517
1517
|
}],style:(column.thStyle),attrs:{"draggable":_vm.canDragColumn},on:{"click":function($event){$event.stopPropagation();return _vm.sort(column, null, $event)},"dragstart":function($event){return _vm.handleColumnDragStart($event, column, index)},"dragend":function($event){return _vm.handleColumnDragEnd($event, column, index)},"drop":function($event){return _vm.handleColumnDrop($event, column, index)},"dragover":function($event){return _vm.handleColumnDragOver($event, column, index)},"dragleave":function($event){return _vm.handleColumnDragLeave($event, column, index)}}},'th',column.thAttrs(column),false),[_c('div',{staticClass:"th-wrap",class:{
|
|
1518
1518
|
'is-numeric': column.numeric,
|
|
@@ -1524,7 +1524,7 @@ var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _
|
|
|
1524
1524
|
'is-desc': _vm.sortMultipleDataComputed.filter(function (i) { return i.field === column.field; })[0].order === 'desc'},attrs:{"icon":_vm.sortIcon,"pack":_vm.iconPack,"both":"","size":_vm.sortIconSize}}),_vm._v(" "+_vm._s(_vm.findIndexOfSortData(column))+" "),_c('button',{staticClass:"delete is-small multi-sort-cancel-icon",attrs:{"type":"button"},on:{"click":function($event){$event.stopPropagation();return _vm.removeSortingPriority(column)}}})]:_c('b-icon',{staticClass:"sort-icon",class:{
|
|
1525
1525
|
'is-desc': !_vm.isAsc,
|
|
1526
1526
|
'is-invisible': _vm.currentSortColumn !== column
|
|
1527
|
-
},attrs:{"icon":_vm.sortIcon,"pack":_vm.iconPack,"both":"","size":_vm.sortIconSize}})],2)]],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"type":_vm.checkboxType,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e()],2),(_vm.hasCustomSubheadings)?_c('tr',{staticClass:"is-subheading"},[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th'):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',{key:column.newKey + ':' + index + 'subheading',style:(column.style)},[_c('div',{staticClass:"th-wrap",class:{
|
|
1527
|
+
},attrs:{"icon":_vm.sortIcon,"pack":_vm.iconPack,"both":"","size":_vm.sortIconSize}})],2)]],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_vm._t("check-all",[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"type":_vm.checkboxType,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})],{"isAllChecked":_vm.isAllChecked,"isAllUncheckable":_vm.isAllUncheckable,"checkAll":_vm.checkAll})]:_vm._e()],2):_vm._e()],2),(_vm.hasCustomSubheadings)?_c('tr',{staticClass:"is-subheading"},[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th'):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',{key:column.newKey + ':' + index + 'subheading',style:(column.style)},[_c('div',{staticClass:"th-wrap",class:{
|
|
1528
1528
|
'is-numeric': column.numeric,
|
|
1529
1529
|
'is-centered': column.centered
|
|
1530
1530
|
}},[(column.$scopedSlots && column.$scopedSlots.subheading)?[_c('b-slot-component',{attrs:{"component":column,"scoped":"","name":"subheading","tag":"span","props":{ column: column, index: index }}})]:[_vm._v(_vm._s(column.subheading))]],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th'):_vm._e()],2):_vm._e(),(_vm.hasSearchablenewColumns)?_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th'):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'searchable',class:{'is-sticky': column.sticky},style:(column.thStyle)},'th',column.thAttrs(column),false),[_c('div',{staticClass:"th-wrap"},[(column.searchable)?[(column.$scopedSlots
|
package/dist/esm/tabs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './chunk-
|
|
1
|
+
import { _ as _defineProperty } from './chunk-851d1b8f.js';
|
|
2
2
|
import './helpers.js';
|
|
3
3
|
import { c as config } from './chunk-e92e3389.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-4b289821.js';
|
|
5
5
|
import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-
|
|
6
|
+
import './chunk-70481141.js';
|
|
7
|
+
import './chunk-f37c671e.js';
|
|
8
|
+
import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-6efa106e.js';
|
|
9
9
|
|
|
10
10
|
var script = {
|
|
11
11
|
name: 'BTabs',
|
package/dist/esm/taginput.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _defineProperty, m as _objectWithoutProperties, b as _typeof } from './chunk-
|
|
1
|
+
import { _ as _defineProperty, m as _objectWithoutProperties, b as _typeof } from './chunk-851d1b8f.js';
|
|
2
2
|
import { getValueByPath } from './helpers.js';
|
|
3
3
|
import { c as config } from './chunk-e92e3389.js';
|
|
4
|
-
import { F as FormElementMixin } from './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import { F as FormElementMixin } from './chunk-6ca75105.js';
|
|
5
|
+
import './chunk-4b289821.js';
|
|
6
6
|
import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import { A as Autocomplete } from './chunk-
|
|
7
|
+
import './chunk-d77d421b.js';
|
|
8
|
+
import { A as Autocomplete } from './chunk-9bd1f33e.js';
|
|
9
9
|
import { T as Tag } from './chunk-2f2f0a74.js';
|
|
10
10
|
|
|
11
11
|
var _components;
|
|
@@ -56,6 +56,10 @@ var script = {
|
|
|
56
56
|
groupOptions: String,
|
|
57
57
|
nativeAutocomplete: String,
|
|
58
58
|
openOnFocus: Boolean,
|
|
59
|
+
keepOpen: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: true
|
|
62
|
+
},
|
|
59
63
|
keepFirst: Boolean,
|
|
60
64
|
disabled: Boolean,
|
|
61
65
|
ellipsis: Boolean,
|
|
@@ -291,7 +295,7 @@ var script = {
|
|
|
291
295
|
const __vue_script__ = script;
|
|
292
296
|
|
|
293
297
|
/* template */
|
|
294
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"taginput control",class:_vm.rootClasses},[_c('div',{staticClass:"taginput-container",class:[_vm.statusType, _vm.size, _vm.containerClasses],attrs:{"disabled":_vm.disabled},on:{"click":function($event){_vm.hasInput && _vm.focus($event);}}},[_vm._t("selected",_vm._l((_vm.tags),function(tag,index){return _c('b-tag',{key:_vm.getNormalizedTagText(tag) + index,attrs:{"type":_vm.type,"close-type":_vm.closeType,"size":_vm.size,"rounded":_vm.rounded,"attached":_vm.attached,"tabstop":false,"disabled":_vm.disabled,"ellipsis":_vm.ellipsis,"closable":_vm.closable,"aria-close-label":_vm.ariaCloseLabel,"title":_vm.ellipsis && _vm.getNormalizedTagText(tag)},on:{"close":function($event){return _vm.removeTag(index, $event)}}},[_vm._t("tag",[_vm._v(" "+_vm._s(_vm.getNormalizedTagText(tag))+" ")],{"tag":tag})],2)}),{"tags":_vm.tags}),(_vm.hasInput)?_c('b-autocomplete',_vm._g(_vm._b({ref:"autocomplete",attrs:{"data":_vm.data,"field":_vm.field,"icon":_vm.icon,"icon-pack":_vm.iconPack,"maxlength":_vm.maxlength,"has-counter":false,"size":_vm.size,"disabled":_vm.disabled,"loading":_vm.loading,"autocomplete":_vm.nativeAutocomplete,"open-on-focus":_vm.openOnFocus,"keep-open":_vm.
|
|
298
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"taginput control",class:_vm.rootClasses},[_c('div',{staticClass:"taginput-container",class:[_vm.statusType, _vm.size, _vm.containerClasses],attrs:{"disabled":_vm.disabled},on:{"click":function($event){_vm.hasInput && _vm.focus($event);}}},[_vm._t("selected",_vm._l((_vm.tags),function(tag,index){return _c('b-tag',{key:_vm.getNormalizedTagText(tag) + index,attrs:{"type":_vm.type,"close-type":_vm.closeType,"size":_vm.size,"rounded":_vm.rounded,"attached":_vm.attached,"tabstop":false,"disabled":_vm.disabled,"ellipsis":_vm.ellipsis,"closable":_vm.closable,"aria-close-label":_vm.ariaCloseLabel,"title":_vm.ellipsis && _vm.getNormalizedTagText(tag)},on:{"close":function($event){return _vm.removeTag(index, $event)}}},[_vm._t("tag",[_vm._v(" "+_vm._s(_vm.getNormalizedTagText(tag))+" ")],{"tag":tag})],2)}),{"tags":_vm.tags}),(_vm.hasInput)?_c('b-autocomplete',_vm._g(_vm._b({ref:"autocomplete",attrs:{"data":_vm.data,"field":_vm.field,"icon":_vm.icon,"icon-pack":_vm.iconPack,"maxlength":_vm.maxlength,"has-counter":false,"size":_vm.size,"disabled":_vm.disabled,"loading":_vm.loading,"autocomplete":_vm.nativeAutocomplete,"open-on-focus":_vm.openOnFocus,"keep-open":_vm.keepOpen,"keep-first":_vm.keepFirst,"group-field":_vm.groupField,"group-options":_vm.groupOptions,"use-html5-validation":_vm.useHtml5Validation,"check-infinite-scroll":_vm.checkInfiniteScroll,"append-to-body":_vm.appendToBody,"confirm-keys":_vm.confirmKeys},on:{"typing":_vm.onTyping,"focus":_vm.onFocus,"blur":_vm.customOnBlur,"select":_vm.onSelect,"infinite-scroll":_vm.emitInfiniteScroll},nativeOn:{"keydown":function($event){return _vm.keydown($event)},"compositionstart":function($event){_vm.isComposing = true;},"compositionend":function($event){_vm.isComposing = false;}},scopedSlots:_vm._u([(_vm.hasHeaderSlot)?{key:"header",fn:function(){return [_vm._t("header")]},proxy:true}:null,(_vm.hasDefaultSlot)?{key:"default",fn:function(props){return [_vm._t("default",null,{"option":props.option,"index":props.index})]}}:null,(_vm.hasEmptySlot)?{key:"empty",fn:function(){return [_vm._t("empty")]},proxy:true}:null,(_vm.hasFooterSlot)?{key:"footer",fn:function(){return [_vm._t("footer")]},proxy:true}:null],null,true),model:{value:(_vm.newTag),callback:function ($$v) {_vm.newTag=$$v;},expression:"newTag"}},'b-autocomplete',_vm.$attrs,false),_vm.listeners)):_vm._e()],2),(_vm.hasCounter && (_vm.maxtags || _vm.maxlength))?_c('small',{staticClass:"help counter"},[(_vm.maxlength && _vm.valueLength > 0)?[_vm._v(" "+_vm._s(_vm.valueLength)+" / "+_vm._s(_vm.maxlength)+" ")]:(_vm.maxtags)?[_vm._v(" "+_vm._s(_vm.tagsLength)+" / "+_vm._s(_vm.maxtags)+" ")]:_vm._e()],2):_vm._e()])};
|
|
295
299
|
var __vue_staticRenderFns__ = [];
|
|
296
300
|
|
|
297
301
|
/* style */
|
package/dist/esm/timepicker.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import './chunk-
|
|
1
|
+
import './chunk-851d1b8f.js';
|
|
2
2
|
import './helpers.js';
|
|
3
3
|
import './chunk-e92e3389.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import './chunk-6ca75105.js';
|
|
5
|
+
import './chunk-4b289821.js';
|
|
6
6
|
import { r as registerComponent, u as use } from './chunk-cca88db8.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-d77d421b.js';
|
|
8
|
+
import './chunk-70481141.js';
|
|
9
|
+
import './chunk-27ec55c7.js';
|
|
10
10
|
import './chunk-42f463e6.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import { T as Timepicker } from './chunk-
|
|
15
|
-
export { T as BTimepicker } from './chunk-
|
|
11
|
+
import './chunk-0c67e5e7.js';
|
|
12
|
+
import './chunk-6a7209ee.js';
|
|
13
|
+
import './chunk-bf29bc31.js';
|
|
14
|
+
import { T as Timepicker } from './chunk-007b3ff8.js';
|
|
15
|
+
export { T as BTimepicker } from './chunk-007b3ff8.js';
|
|
16
16
|
|
|
17
17
|
var Plugin = {
|
|
18
18
|
install: function install(Vue) {
|
package/dist/esm/toast.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import './chunk-
|
|
1
|
+
import './chunk-851d1b8f.js';
|
|
2
2
|
import { merge } from './helpers.js';
|
|
3
3
|
import { c as config, V as VueInstance } from './chunk-e92e3389.js';
|
|
4
4
|
import { _ as __vue_normalize__, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
|
|
5
|
-
import { N as NoticeMixin } from './chunk-
|
|
5
|
+
import { N as NoticeMixin } from './chunk-f4922148.js';
|
|
6
6
|
|
|
7
7
|
//
|
|
8
8
|
var script = {
|
package/dist/esm/tooltip.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import './chunk-
|
|
1
|
+
import './chunk-851d1b8f.js';
|
|
2
2
|
import './helpers.js';
|
|
3
3
|
import './chunk-e92e3389.js';
|
|
4
4
|
import { r as registerComponent, u as use } from './chunk-cca88db8.js';
|
|
5
|
-
import { T as Tooltip } from './chunk-
|
|
6
|
-
export { T as BTooltip } from './chunk-
|
|
5
|
+
import { T as Tooltip } from './chunk-18dce47f.js';
|
|
6
|
+
export { T as BTooltip } from './chunk-18dce47f.js';
|
|
7
7
|
|
|
8
8
|
var Plugin = {
|
|
9
9
|
install: function install(Vue) {
|
package/dist/esm/upload.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './chunk-
|
|
1
|
+
import './chunk-851d1b8f.js';
|
|
2
2
|
import './helpers.js';
|
|
3
3
|
import './chunk-e92e3389.js';
|
|
4
|
-
import { F as FormElementMixin } from './chunk-
|
|
4
|
+
import { F as FormElementMixin } from './chunk-6ca75105.js';
|
|
5
5
|
import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
|
|
6
6
|
import { F as File } from './chunk-b9bdb0e4.js';
|
|
7
7
|
|
|
@@ -1039,6 +1039,10 @@
|
|
|
1039
1039
|
"description": "Max height of dropdown content",
|
|
1040
1040
|
"type": "string|number"
|
|
1041
1041
|
},
|
|
1042
|
+
"b-dropdown/trigger-tabindex": {
|
|
1043
|
+
"description": "Set the tabindex attribute on the dropdown trigger div (-1 to prevent selection via tab key)",
|
|
1044
|
+
"type": "number"
|
|
1045
|
+
},
|
|
1042
1046
|
"b-dropdown-item/value": {
|
|
1043
1047
|
"description": "The value that will be returned on events and v-model",
|
|
1044
1048
|
"type": "any"
|
|
@@ -1707,6 +1711,10 @@
|
|
|
1707
1711
|
"description": "Accessibility label for the plus button.",
|
|
1708
1712
|
"type": "string"
|
|
1709
1713
|
},
|
|
1714
|
+
"b-numberinput/long-press": {
|
|
1715
|
+
"description": "Long press on the plus or minus button will increment/decrement the input value.",
|
|
1716
|
+
"type": "boolean"
|
|
1717
|
+
},
|
|
1710
1718
|
"b-numberinput/Any native attribute": {
|
|
1711
1719
|
"description": "—",
|
|
1712
1720
|
"type": "—"
|
|
@@ -2963,6 +2971,10 @@
|
|
|
2963
2971
|
"description": "Hour format for input and display",
|
|
2964
2972
|
"type": "string"
|
|
2965
2973
|
},
|
|
2974
|
+
"b-timepicker/increment-hours": {
|
|
2975
|
+
"description": "Step hours for select component",
|
|
2976
|
+
"type": "number"
|
|
2977
|
+
},
|
|
2966
2978
|
"b-timepicker/increment-minutes": {
|
|
2967
2979
|
"description": "Step minutes for select component",
|
|
2968
2980
|
"type": "number"
|
package/dist/vetur/tags.json
CHANGED
|
@@ -350,7 +350,8 @@
|
|
|
350
350
|
"close-on-click",
|
|
351
351
|
"append-to-body",
|
|
352
352
|
"scrollable",
|
|
353
|
-
"max-height"
|
|
353
|
+
"max-height",
|
|
354
|
+
"trigger-tabindex"
|
|
354
355
|
],
|
|
355
356
|
"description": "Buefy component <b-dropdown>",
|
|
356
357
|
"subtags": [
|
|
@@ -619,7 +620,8 @@
|
|
|
619
620
|
"controls-position",
|
|
620
621
|
"controls-alignment",
|
|
621
622
|
"aria-minus-label",
|
|
622
|
-
"aria-plus-label"
|
|
623
|
+
"aria-plus-label",
|
|
624
|
+
"long-press"
|
|
623
625
|
],
|
|
624
626
|
"description": "Buefy component <b-numberinput>",
|
|
625
627
|
"subtags": []
|
|
@@ -1091,6 +1093,7 @@
|
|
|
1091
1093
|
"attributes": [
|
|
1092
1094
|
"value",
|
|
1093
1095
|
"hour-format",
|
|
1096
|
+
"increment-hours",
|
|
1094
1097
|
"increment-minutes",
|
|
1095
1098
|
"time-formatter",
|
|
1096
1099
|
"time-parser",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buefy",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.23",
|
|
4
4
|
"homepage": "https://buefy.org",
|
|
5
5
|
"description": "Lightweight UI components for Vue.js based on Bulma",
|
|
6
6
|
"author": "Rafael Beraldo <rafael.pimpa@gmail.com>",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"components"
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"bulma": "0.9.
|
|
63
|
+
"bulma": "0.9.4"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"vue": "^2.6.11"
|
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
"vee-validate": "2.1.0-beta.9",
|
|
141
141
|
"vue": "2.6.11",
|
|
142
142
|
"vue-analytics": "4.1.3",
|
|
143
|
+
"vue-breakpoint-mixin": "^1.2.2",
|
|
143
144
|
"vue-jest": "2.5.0",
|
|
144
145
|
"vue-loader": "15.9.3",
|
|
145
146
|
"vue-progressbar": "0.7.2",
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
toCssWidth
|
|
111
111
|
} from '../../utils/helpers'
|
|
112
112
|
import FormElementMixin from '../../utils/FormElementMixin'
|
|
113
|
-
import Input from '../input/Input'
|
|
113
|
+
import Input from '../input/Input.vue'
|
|
114
114
|
|
|
115
115
|
export default {
|
|
116
116
|
name: 'BAutocomplete',
|
|
@@ -318,6 +318,23 @@ export default {
|
|
|
318
318
|
}
|
|
319
319
|
},
|
|
320
320
|
|
|
321
|
+
/**
|
|
322
|
+
* When checkInfiniteScroll property changes scroll event should be removed or added
|
|
323
|
+
*/
|
|
324
|
+
checkInfiniteScroll(checkInfiniteScroll) {
|
|
325
|
+
if ((this.$refs.dropdown && this.$refs.dropdown.querySelector('.dropdown-content')) === false) return
|
|
326
|
+
|
|
327
|
+
const list = this.$refs.dropdown.querySelector('.dropdown-content')
|
|
328
|
+
|
|
329
|
+
if (checkInfiniteScroll === true) {
|
|
330
|
+
list.addEventListener('scroll', this.checkIfReachedTheEndOfScroll)
|
|
331
|
+
|
|
332
|
+
return
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
list.removeEventListener('scroll', this.checkIfReachedTheEndOfScroll)
|
|
336
|
+
},
|
|
337
|
+
|
|
321
338
|
/**
|
|
322
339
|
* When updating input's value
|
|
323
340
|
* 1. Emit changes
|
|
@@ -500,9 +517,11 @@ export default {
|
|
|
500
517
|
* Check if the scroll list inside the dropdown
|
|
501
518
|
* reached it's end.
|
|
502
519
|
*/
|
|
503
|
-
checkIfReachedTheEndOfScroll(
|
|
520
|
+
checkIfReachedTheEndOfScroll() {
|
|
521
|
+
const list = this.$refs.dropdown.querySelector('.dropdown-content')
|
|
522
|
+
const footerHeight = this.hasFooterSlot ? list.querySelectorAll('div.dropdown-footer')[0].clientHeight : 0
|
|
504
523
|
if (list.clientHeight !== list.scrollHeight &&
|
|
505
|
-
list.scrollTop + list.clientHeight >= list.scrollHeight
|
|
524
|
+
list.scrollTop + list.parentElement.clientHeight + footerHeight >= list.scrollHeight
|
|
506
525
|
) {
|
|
507
526
|
this.$emit('infinite-scroll')
|
|
508
527
|
}
|
|
@@ -685,7 +704,7 @@ export default {
|
|
|
685
704
|
this.$refs.dropdown && this.$refs.dropdown.querySelector('.dropdown-content')
|
|
686
705
|
) {
|
|
687
706
|
const list = this.$refs.dropdown.querySelector('.dropdown-content')
|
|
688
|
-
list.addEventListener('scroll',
|
|
707
|
+
list.addEventListener('scroll', this.checkIfReachedTheEndOfScroll)
|
|
689
708
|
}
|
|
690
709
|
if (this.appendToBody) {
|
|
691
710
|
this.$data._bodyEl = createAbsoluteElement(this.$refs.dropdown)
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<script>
|
|
84
84
|
import config from '../../utils/config'
|
|
85
85
|
|
|
86
|
-
import Icon from '../icon/Icon'
|
|
86
|
+
import Icon from '../icon/Icon.vue'
|
|
87
87
|
import {default as ProviderParentMixin, Sorted} from '../../utils/ProviderParentMixin'
|
|
88
88
|
import {mod, bound} from '../../utils/helpers'
|
|
89
89
|
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
import {sign, mod, bound} from '../../utils/helpers'
|
|
59
59
|
import config from '../../utils/config'
|
|
60
60
|
|
|
61
|
-
import Icon from '../icon/Icon'
|
|
62
|
-
import Image from '../image/Image'
|
|
61
|
+
import Icon from '../icon/Icon.vue'
|
|
62
|
+
import Image from '../image/Image.vue'
|
|
63
63
|
|
|
64
64
|
export default {
|
|
65
65
|
name: 'BCarouselList',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Carousel from './Carousel'
|
|
2
|
-
import CarouselItem from './CarouselItem'
|
|
3
|
-
import CarouselList from './CarouselList'
|
|
1
|
+
import Carousel from './Carousel.vue'
|
|
2
|
+
import CarouselItem from './CarouselItem.vue'
|
|
3
|
+
import CarouselList from './CarouselList.vue'
|
|
4
4
|
|
|
5
5
|
import { use, registerComponent } from '../../utils/plugins'
|
|
6
6
|
|
|
@@ -142,11 +142,11 @@
|
|
|
142
142
|
import TimepickerMixin from '../../utils/TimepickerMixin'
|
|
143
143
|
import config from '../../utils/config'
|
|
144
144
|
|
|
145
|
-
import Dropdown from '../dropdown/Dropdown'
|
|
146
|
-
import DropdownItem from '../dropdown/DropdownItem'
|
|
147
|
-
import Input from '../input/Input'
|
|
148
|
-
import Field from '../field/Field'
|
|
149
|
-
import Icon from '../icon/Icon'
|
|
145
|
+
import Dropdown from '../dropdown/Dropdown.vue'
|
|
146
|
+
import DropdownItem from '../dropdown/DropdownItem.vue'
|
|
147
|
+
import Input from '../input/Input.vue'
|
|
148
|
+
import Field from '../field/Field.vue'
|
|
149
|
+
import Icon from '../icon/Icon.vue'
|
|
150
150
|
|
|
151
151
|
import ClockpickerFace from './ClockpickerFace'
|
|
152
152
|
|