buefy 0.9.22 → 0.9.24
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/LICENSE +21 -21
- package/README.md +143 -139
- package/package.json +172 -171
- package/src/components/autocomplete/Autocomplete.spec.js +392 -392
- package/src/components/autocomplete/Autocomplete.vue +730 -711
- package/src/components/autocomplete/__snapshots__/Autocomplete.spec.js.snap +19 -19
- package/src/components/autocomplete/index.js +17 -17
- package/src/components/breadcrumb/Breadcrumb.spec.js +63 -63
- package/src/components/breadcrumb/Breadcrumb.vue +41 -43
- package/src/components/breadcrumb/BreadcrumbItem.spec.js +25 -25
- package/src/components/breadcrumb/BreadcrumbItem.vue +30 -33
- package/src/components/breadcrumb/__snapshots__/Breadcrumb.spec.js.snap +7 -7
- package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +3 -3
- package/src/components/breadcrumb/index.js +20 -20
- package/src/components/button/Button.spec.js +107 -107
- package/src/components/button/Button.vue +106 -106
- package/src/components/button/__snapshots__/Button.spec.js.snap +8 -8
- package/src/components/button/index.js +17 -17
- package/src/components/carousel/Carousel.spec.js +304 -304
- package/src/components/carousel/Carousel.vue +350 -350
- package/src/components/carousel/CarouselItem.spec.js +57 -57
- package/src/components/carousel/CarouselItem.vue +33 -33
- package/src/components/carousel/CarouselList.spec.js +173 -173
- package/src/components/carousel/CarouselList.vue +313 -313
- package/src/components/carousel/__snapshots__/Carousel.spec.js.snap +19 -19
- package/src/components/carousel/__snapshots__/CarouselItem.spec.js.snap +3 -3
- package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +156 -156
- package/src/components/carousel/index.js +23 -23
- package/src/components/checkbox/Checkbox.spec.js +40 -40
- package/src/components/checkbox/Checkbox.vue +60 -55
- package/src/components/checkbox/CheckboxButton.spec.js +46 -46
- package/src/components/checkbox/CheckboxButton.vue +56 -56
- package/src/components/checkbox/__snapshots__/Checkbox.spec.js.snap +3 -3
- package/src/components/checkbox/__snapshots__/CheckboxButton.spec.js.snap +3 -3
- package/src/components/checkbox/index.js +20 -20
- package/src/components/clockpicker/Clockpicker.spec.js +97 -97
- package/src/components/clockpicker/Clockpicker.vue +268 -267
- package/src/components/clockpicker/ClockpickerFace.spec.js +97 -97
- package/src/components/clockpicker/__snapshots__/Clockpicker.spec.js.snap +24 -24
- package/src/components/clockpicker/__snapshots__/ClockpickerFace.spec.js.snap +9 -9
- package/src/components/clockpicker/index.js +17 -17
- package/src/components/collapse/Collapse.spec.js +117 -117
- package/src/components/collapse/Collapse.vue +74 -74
- package/src/components/collapse/__snapshots__/Collapse.spec.js.snap +8 -8
- package/src/components/collapse/index.js +17 -17
- package/src/components/colorpicker/Colorpicker.spec.js +10 -10
- package/src/components/colorpicker/Colorpicker.vue +377 -358
- package/src/components/colorpicker/ColorpickerAlphaSlider.spec.js +16 -14
- package/src/components/colorpicker/ColorpickerAlphaSlider.vue +194 -194
- package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.spec.js +22 -22
- package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.vue +366 -366
- package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.spec.js +22 -22
- package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +444 -444
- package/src/components/colorpicker/__snapshots__/Colorpicker.spec.js.snap +32 -32
- package/src/components/colorpicker/__snapshots__/ColorpickerAlphaSlider.spec.js.snap +11 -11
- package/src/components/colorpicker/__snapshots__/{ColorPickerHSLRepresentationSquare.spec.js.snap → ColorpickerHSLRepresentationSquare.spec.js.snap} +12 -12
- package/src/components/colorpicker/__snapshots__/ColorpickerHSLRepresentationTriangle.spec.js.snap +36 -36
- package/src/components/colorpicker/index.js +17 -17
- package/src/components/datepicker/Datepicker.spec.js +395 -395
- package/src/components/datepicker/Datepicker.vue +843 -842
- package/src/components/datepicker/DatepickerMonth.spec.js +302 -302
- package/src/components/datepicker/DatepickerMonth.vue +410 -410
- package/src/components/datepicker/DatepickerTable.spec.js +294 -294
- package/src/components/datepicker/DatepickerTable.vue +376 -376
- package/src/components/datepicker/DatepickerTableRow.spec.js +262 -262
- package/src/components/datepicker/DatepickerTableRow.vue +379 -379
- package/src/components/datepicker/__snapshots__/Datepicker.spec.js.snap +401 -401
- package/src/components/datepicker/__snapshots__/DatepickerMonth.spec.js.snap +33 -33
- package/src/components/datepicker/__snapshots__/DatepickerTable.spec.js.snap +16 -16
- package/src/components/datepicker/__snapshots__/DatepickerTableRow.spec.js.snap +13 -13
- package/src/components/datepicker/index.js +17 -17
- package/src/components/datetimepicker/Datetimepicker.spec.js +138 -138
- package/src/components/datetimepicker/Datetimepicker.vue +453 -448
- package/src/components/datetimepicker/index.js +17 -17
- package/src/components/dialog/Dialog.spec.js +78 -78
- package/src/components/dialog/Dialog.vue +256 -256
- package/src/components/dialog/index.js +77 -77
- package/src/components/dropdown/Dropdown.spec.js +218 -218
- package/src/components/dropdown/Dropdown.vue +408 -404
- package/src/components/dropdown/DropdownItem.spec.js +73 -73
- package/src/components/dropdown/DropdownItem.vue +91 -91
- package/src/components/dropdown/__snapshots__/Dropdown.spec.js.snap +11 -11
- package/src/components/dropdown/__snapshots__/DropdownItem.spec.js.snap +3 -3
- package/src/components/dropdown/index.js +20 -20
- package/src/components/field/Field.spec.js +250 -227
- package/src/components/field/Field.vue +276 -276
- package/src/components/field/FieldBody.spec.js +81 -81
- package/src/components/field/FieldBody.vue +28 -28
- package/src/components/field/__snapshots__/Field.spec.js.snap +8 -8
- package/src/components/field/__snapshots__/FieldBody.spec.js.snap +3 -3
- package/src/components/field/index.js +17 -17
- package/src/components/icon/Icon.spec.js +136 -136
- package/src/components/icon/Icon.vue +109 -109
- package/src/components/icon/__snapshots__/Icon.spec.js.snap +3 -3
- package/src/components/icon/index.js +17 -17
- package/src/components/image/Image.vue +309 -309
- package/src/components/image/__snapshots__/Image.spec.js.snap +37 -37
- package/src/components/image/index.js +17 -17
- package/src/components/index.js +87 -87
- package/src/components/input/Input.spec.js +284 -200
- package/src/components/input/Input.vue +283 -274
- package/src/components/input/__snapshots__/Input.spec.js.snap +9 -9
- package/src/components/input/index.js +17 -17
- package/src/components/loading/Loading.spec.js +126 -126
- package/src/components/loading/Loading.vue +121 -121
- package/src/components/loading/__snapshots__/Loading.spec.js.snap +10 -10
- package/src/components/loading/index.js +40 -40
- package/src/components/menu/Menu.spec.js +19 -19
- package/src/components/menu/Menu.vue +26 -26
- package/src/components/menu/MenuItem.spec.js +43 -43
- package/src/components/menu/MenuItem.vue +137 -137
- package/src/components/menu/MenuList.spec.js +31 -31
- package/src/components/menu/MenuList.vue +41 -41
- package/src/components/menu/__snapshots__/Menu.spec.js.snap +3 -3
- package/src/components/menu/__snapshots__/MenuItem.spec.js.snap +8 -8
- package/src/components/menu/__snapshots__/MenuList.spec.js.snap +8 -8
- package/src/components/menu/index.js +23 -23
- package/src/components/message/Message.spec.js +28 -28
- package/src/components/message/Message.vue +56 -55
- package/src/components/message/__snapshots__/Message.spec.js.snap +9 -9
- package/src/components/message/index.js +17 -17
- package/src/components/modal/Modal.spec.js +108 -108
- package/src/components/modal/Modal.vue +306 -305
- package/src/components/modal/__snapshots__/Modal.spec.js.snap +10 -10
- package/src/components/modal/index.js +61 -61
- package/src/components/navbar/NavBar.spec.js +75 -75
- package/src/components/navbar/{NavbarBurger.spec.js → NavBarBurger.spec.js} +28 -28
- package/src/components/navbar/NavBarItem.spec.js +81 -81
- package/src/components/navbar/Navbar.vue +251 -251
- package/src/components/navbar/NavbarBurger.vue +27 -27
- package/src/components/navbar/NavbarDropdown.spec.js +35 -35
- package/src/components/navbar/NavbarDropdown.vue +115 -106
- package/src/components/navbar/NavbarItem.vue +74 -74
- package/src/components/navbar/__snapshots__/NavBar.spec.js.snap +11 -11
- package/src/components/navbar/__snapshots__/NavBarBurger.spec.js.snap +3 -3
- package/src/components/navbar/__snapshots__/NavbarDropdown.spec.js.snap +7 -7
- package/src/components/navbar/index.js +23 -23
- package/src/components/notification/Notification.spec.js +19 -19
- package/src/components/notification/Notification.vue +60 -59
- package/src/components/notification/NotificationNotice.vue +42 -42
- package/src/components/notification/__snapshots__/Notification.spec.js.snap +8 -8
- package/src/components/notification/index.js +66 -66
- package/src/components/numberinput/Numberinput.spec.js +365 -365
- package/src/components/numberinput/Numberinput.vue +317 -321
- package/src/components/numberinput/index.js +17 -17
- package/src/components/pagination/Pagination.spec.js +86 -86
- package/src/components/pagination/Pagination.vue +418 -418
- package/src/components/pagination/PaginationButton.spec.js +39 -39
- package/src/components/pagination/PaginationButton.vue +50 -50
- package/src/components/pagination/__snapshots__/Pagination.spec.js.snap +18 -18
- package/src/components/pagination/__snapshots__/PaginationButton.spec.js.snap +3 -3
- package/src/components/pagination/index.js +20 -20
- package/src/components/progress/Progress.spec.js +82 -82
- package/src/components/progress/Progress.vue +143 -143
- package/src/components/progress/ProgressBar.spec.js +26 -26
- package/src/components/progress/ProgressBar.vue +57 -57
- package/src/components/progress/__snapshots__/Progress.spec.js.snap +7 -7
- package/src/components/progress/__snapshots__/ProgressBar.spec.js.snap +7 -7
- package/src/components/progress/index.js +20 -20
- package/src/components/radio/Radio.spec.js +40 -40
- package/src/components/radio/Radio.vue +30 -30
- package/src/components/radio/RadioButton.spec.js +40 -40
- package/src/components/radio/RadioButton.vue +61 -61
- package/src/components/radio/__snapshots__/Radio.spec.js.snap +3 -3
- package/src/components/radio/__snapshots__/RadioButton.spec.js.snap +3 -3
- package/src/components/radio/index.js +20 -20
- package/src/components/rate/Rate.spec.js +88 -88
- package/src/components/rate/Rate.vue +142 -142
- package/src/components/rate/index.js +17 -17
- package/src/components/select/Select.spec.js +31 -31
- package/src/components/select/Select.vue +99 -99
- package/src/components/select/__snapshots__/Select.spec.js.snap +7 -7
- package/src/components/select/index.js +17 -17
- package/src/components/sidebar/Sidebar.spec.js +105 -105
- package/src/components/sidebar/Sidebar.vue +300 -303
- package/src/components/sidebar/__snapshots__/Sidebar.spec.js.snap +19 -19
- package/src/components/sidebar/index.js +17 -17
- package/src/components/skeleton/Skeleton.spec.js +14 -14
- package/src/components/skeleton/Skeleton.vue +63 -63
- package/src/components/skeleton/__snapshots__/Skeleton.spec.js.snap +7 -7
- package/src/components/skeleton/index.js +17 -17
- package/src/components/slider/Slider.spec.js +106 -106
- package/src/components/slider/Slider.vue +313 -313
- package/src/components/slider/SliderThumb.spec.js +99 -99
- package/src/components/slider/SliderThumb.vue +227 -227
- package/src/components/slider/SliderTick.spec.js +29 -29
- package/src/components/slider/SliderTick.vue +43 -43
- package/src/components/slider/__snapshots__/Slider.spec.js.snap +12 -12
- package/src/components/slider/__snapshots__/SliderThumb.spec.js.snap +11 -11
- package/src/components/slider/__snapshots__/SliderTick.spec.js.snap +7 -7
- package/src/components/slider/index.js +20 -20
- package/src/components/snackbar/Snackbar.spec.js +35 -35
- package/src/components/snackbar/Snackbar.vue +72 -72
- package/src/components/snackbar/__snapshots__/Snackbar.spec.js.snap +9 -9
- package/src/components/snackbar/index.js +62 -62
- package/src/components/steps/StepItem.spec.js +72 -72
- package/src/components/steps/StepItem.vue +21 -21
- package/src/components/steps/Steps.spec.js +134 -134
- package/src/components/steps/Steps.vue +254 -254
- package/src/components/steps/__snapshots__/StepItem.spec.js.snap +3 -3
- package/src/components/steps/__snapshots__/Steps.spec.js.snap +34 -34
- package/src/components/steps/index.js +20 -20
- package/src/components/switch/Switch.spec.js +74 -74
- package/src/components/switch/Switch.vue +126 -126
- package/src/components/switch/__snapshots__/Switch.spec.js.snap +3 -3
- package/src/components/switch/index.js +17 -17
- package/src/components/table/Table.spec.js +240 -240
- package/src/components/table/Table.vue +1456 -1444
- package/src/components/table/TableColumn.spec.js +27 -27
- package/src/components/table/TableColumn.vue +121 -121
- package/src/components/table/TableMobileSort.spec.js +40 -40
- package/src/components/table/TableMobileSort.vue +189 -189
- package/src/components/table/TablePagination.vue +78 -78
- package/src/components/table/__snapshots__/Table.spec.js.snap +22 -22
- package/src/components/table/__snapshots__/TableMobileSort.spec.js.snap +14 -14
- package/src/components/table/index.js +25 -25
- package/src/components/tabs/TabItem.spec.js +143 -143
- package/src/components/tabs/TabItem.vue +17 -17
- package/src/components/tabs/Tabs.spec.js +121 -121
- package/src/components/tabs/Tabs.vue +182 -182
- package/src/components/tabs/__snapshots__/TabItem.spec.js.snap +3 -3
- package/src/components/tabs/__snapshots__/Tabs.spec.js.snap +27 -27
- package/src/components/tabs/index.js +20 -20
- package/src/components/tag/Tag.spec.js +32 -32
- package/src/components/tag/Tag.vue +110 -110
- package/src/components/tag/Taglist.spec.js +19 -19
- package/src/components/tag/Taglist.vue +14 -14
- package/src/components/tag/__snapshots__/Tag.spec.js.snap +6 -6
- package/src/components/tag/__snapshots__/Taglist.spec.js.snap +3 -3
- package/src/components/tag/index.js +20 -20
- package/src/components/taginput/Taginput.spec.js +92 -92
- package/src/components/taginput/Taginput.vue +377 -373
- package/src/components/taginput/__snapshots__/Taginput.spec.js.snap +10 -10
- package/src/components/taginput/index.js +17 -17
- package/src/components/timepicker/Timepicker.spec.js +34 -34
- package/src/components/timepicker/Timepicker.vue +163 -162
- package/src/components/timepicker/__snapshots__/Timepicker.spec.js.snap +242 -242
- package/src/components/timepicker/index.js +17 -17
- package/src/components/toast/Toast.spec.js +20 -20
- package/src/components/toast/Toast.vue +36 -36
- package/src/components/toast/__snapshots__/Toast.spec.js.snap +7 -7
- package/src/components/toast/index.js +60 -60
- package/src/components/tooltip/Tooltip.spec.js +54 -19
- package/src/components/tooltip/Tooltip.vue +299 -299
- package/src/components/tooltip/__snapshots__/Tooltip.spec.js.snap +3 -3
- package/src/components/tooltip/index.js +17 -17
- package/src/components/upload/Upload.spec.js +19 -19
- package/src/components/upload/Upload.vue +183 -183
- package/src/components/upload/__snapshots__/Upload.spec.js.snap +3 -3
- package/src/components/upload/index.js +17 -17
- package/src/directives/clickOutside.js +81 -81
- package/src/directives/trapFocus.js +59 -59
- package/src/index.js +41 -40
- package/src/scss/buefy-build.scss +6 -6
- package/src/scss/buefy.scss +39 -39
- package/src/scss/components/_autocomplete.scss +39 -39
- package/src/scss/components/_carousel.scss +204 -204
- package/src/scss/components/_checkbox.scss +106 -106
- package/src/scss/components/_clockpicker.scss +283 -283
- package/src/scss/components/_collapse.scss +9 -9
- package/src/scss/components/_colorpicker.scss +283 -283
- package/src/scss/components/_datepicker.scss +220 -220
- package/src/scss/components/_dialog.scss +54 -54
- package/src/scss/components/_dropdown.scss +141 -141
- package/src/scss/components/_form.scss +309 -309
- package/src/scss/components/_icon.scss +16 -16
- package/src/scss/components/_image.scss +20 -20
- package/src/scss/components/_loading.scss +45 -45
- package/src/scss/components/_menu.scss +10 -10
- package/src/scss/components/_message.scss +16 -10
- package/src/scss/components/_modal.scss +24 -24
- package/src/scss/components/_navbar.scss +22 -22
- package/src/scss/components/_notices.scss +144 -144
- package/src/scss/components/_notification.scss +8 -8
- package/src/scss/components/_numberinput.scss +33 -33
- package/src/scss/components/_pagination.scss +63 -63
- package/src/scss/components/_progress.scss +105 -105
- package/src/scss/components/_radio.scss +123 -120
- package/src/scss/components/_rate.scss +72 -72
- package/src/scss/components/_select.scss +38 -38
- package/src/scss/components/_sidebar.scss +107 -98
- package/src/scss/components/_skeleton.scss +66 -66
- package/src/scss/components/_slider.scss +162 -162
- package/src/scss/components/_steps.scss +491 -491
- package/src/scss/components/_switch.scss +214 -214
- package/src/scss/components/_table.scss +279 -279
- package/src/scss/components/_tabs.scss +197 -197
- package/src/scss/components/_tag.scss +27 -27
- package/src/scss/components/_taginput.scss +73 -73
- package/src/scss/components/_timepicker.scss +73 -73
- package/src/scss/components/_tooltip.scss +192 -192
- package/src/scss/components/_upload.scss +73 -73
- package/src/scss/utils/_all.scss +4 -4
- package/src/scss/utils/_animations.scss +183 -183
- package/src/scss/utils/_functions.scss +49 -49
- package/src/scss/utils/_helpers.scss +6 -6
- package/src/scss/utils/_variables-ext.scss +2 -2
- package/src/scss/utils/_variables.scss +16 -16
- package/src/utils/CheckRadioMixin.js +41 -41
- package/src/utils/CheckRadioMixin.spec.js +24 -24
- package/src/utils/ConfigComponent.js +11 -11
- package/src/utils/FormElementMixin.js +170 -170
- package/src/utils/FormElementMixin.spec.js +41 -41
- package/src/utils/InjectedChildMixin.js +36 -36
- package/src/utils/MessageMixin.js +139 -139
- package/src/utils/MessageMixin.spec.js +52 -52
- package/src/utils/NoticeMixin.js +171 -171
- package/src/utils/NoticeMixin.spec.js +51 -51
- package/src/utils/ProviderParentMixin.js +83 -83
- package/src/utils/SlotComponent.js +51 -51
- package/src/utils/SlotComponent.spec.js +136 -136
- package/src/utils/TabbedChildMixin.js +88 -88
- package/src/utils/TabbedMixin.js +145 -145
- package/src/utils/TimepickerMixin.js +722 -718
- package/src/utils/TimepickerMixin.spec.js +82 -82
- package/src/utils/color.js +442 -441
- package/src/utils/color.spec.js +54 -52
- package/src/utils/config.js +87 -86
- package/src/utils/config.spec.js +10 -10
- package/src/utils/debounce.js +15 -15
- package/src/utils/debounce.spec.js +52 -52
- package/src/utils/helpers.js +307 -307
- package/src/utils/helpers.spec.js +146 -146
- package/src/utils/icons.js +63 -63
- package/src/utils/plugins.js +15 -15
- package/src/utils/ssr.js +6 -6
- package/types/components.d.ts +443 -443
- package/types/helpers.d.ts +5 -5
- package/types/index.d.ts +44 -44
- package/CHANGELOG.md +0 -1764
- package/dist/buefy.css +0 -15849
- package/dist/buefy.esm.js +0 -18216
- package/dist/buefy.esm.min.js +0 -2
- package/dist/buefy.js +0 -18297
- package/dist/buefy.min.css +0 -1
- package/dist/buefy.min.js +0 -2
- package/dist/cjs/autocomplete.js +0 -22
- package/dist/cjs/breadcrumb.js +0 -127
- package/dist/cjs/button.js +0 -20
- package/dist/cjs/carousel.js +0 -672
- package/dist/cjs/checkbox.js +0 -81
- package/dist/cjs/chunk-09574ad9.js +0 -110
- package/dist/cjs/chunk-0e3108f5.js +0 -147
- package/dist/cjs/chunk-13e039f5.js +0 -104
- package/dist/cjs/chunk-201c9e5c.js +0 -155
- package/dist/cjs/chunk-2a96ec68.js +0 -426
- package/dist/cjs/chunk-437dd7a0.js +0 -79
- package/dist/cjs/chunk-45739695.js +0 -332
- package/dist/cjs/chunk-4702fda4.js +0 -325
- package/dist/cjs/chunk-5cd29907.js +0 -60
- package/dist/cjs/chunk-660b0dfb.js +0 -1827
- package/dist/cjs/chunk-7b44db6e.js +0 -731
- package/dist/cjs/chunk-7cf23f94.js +0 -753
- package/dist/cjs/chunk-841c0e0f.js +0 -159
- package/dist/cjs/chunk-8b8384ca.js +0 -45
- package/dist/cjs/chunk-99367591.js +0 -351
- package/dist/cjs/chunk-a39776c7.js +0 -248
- package/dist/cjs/chunk-a53b7aff.js +0 -53
- package/dist/cjs/chunk-a6b29437.js +0 -196
- package/dist/cjs/chunk-ae7e641a.js +0 -59
- package/dist/cjs/chunk-bf0893c4.js +0 -62
- package/dist/cjs/chunk-bfcad370.js +0 -148
- package/dist/cjs/chunk-cc9676a6.js +0 -283
- package/dist/cjs/chunk-dddb035c.js +0 -550
- package/dist/cjs/chunk-e0373ab6.js +0 -314
- package/dist/cjs/chunk-e90b3d05.js +0 -94
- package/dist/cjs/chunk-eba24a95.js +0 -239
- package/dist/cjs/chunk-f1df1c63.js +0 -9
- package/dist/cjs/chunk-f5139026.js +0 -163
- package/dist/cjs/chunk-fb8ff6be.js +0 -179
- package/dist/cjs/clockpicker.js +0 -475
- package/dist/cjs/collapse.js +0 -122
- package/dist/cjs/colorpicker.js +0 -1759
- package/dist/cjs/config.js +0 -18
- package/dist/cjs/datepicker.js +0 -27
- package/dist/cjs/datetimepicker.js +0 -391
- package/dist/cjs/dialog.js +0 -311
- package/dist/cjs/dropdown.js +0 -23
- package/dist/cjs/field.js +0 -18
- package/dist/cjs/helpers.js +0 -348
- package/dist/cjs/icon.js +0 -19
- package/dist/cjs/image.js +0 -19
- package/dist/cjs/index.js +0 -216
- package/dist/cjs/input.js +0 -21
- package/dist/cjs/loading.js +0 -38
- package/dist/cjs/menu.js +0 -294
- package/dist/cjs/message.js +0 -61
- package/dist/cjs/modal.js +0 -67
- package/dist/cjs/navbar.js +0 -687
- package/dist/cjs/notification.js +0 -178
- package/dist/cjs/numberinput.js +0 -290
- package/dist/cjs/pagination.js +0 -22
- package/dist/cjs/progress.js +0 -231
- package/dist/cjs/radio.js +0 -118
- package/dist/cjs/rate.js +0 -155
- package/dist/cjs/select.js +0 -21
- package/dist/cjs/sidebar.js +0 -344
- package/dist/cjs/skeleton.js +0 -107
- package/dist/cjs/slider.js +0 -596
- package/dist/cjs/snackbar.js +0 -134
- package/dist/cjs/steps.js +0 -282
- package/dist/cjs/switch.js +0 -133
- package/dist/cjs/table.js +0 -1582
- package/dist/cjs/tabs.js +0 -213
- package/dist/cjs/tag.js +0 -63
- package/dist/cjs/taginput.js +0 -334
- package/dist/cjs/timepicker.js +0 -28
- package/dist/cjs/toast.js +0 -108
- package/dist/cjs/tooltip.js +0 -19
- package/dist/cjs/upload.js +0 -214
- package/dist/components/autocomplete/index.js +0 -1690
- package/dist/components/autocomplete/index.min.js +0 -2
- package/dist/components/breadcrumb/index.js +0 -294
- package/dist/components/breadcrumb/index.min.js +0 -2
- package/dist/components/button/index.js +0 -583
- package/dist/components/button/index.min.js +0 -2
- package/dist/components/carousel/index.js +0 -1652
- package/dist/components/carousel/index.min.js +0 -2
- package/dist/components/checkbox/index.js +0 -274
- package/dist/components/checkbox/index.min.js +0 -2
- package/dist/components/clockpicker/index.js +0 -3239
- package/dist/components/clockpicker/index.min.js +0 -2
- package/dist/components/collapse/index.js +0 -221
- package/dist/components/collapse/index.min.js +0 -2
- package/dist/components/colorpicker/index.js +0 -4377
- package/dist/components/colorpicker/index.min.js +0 -2
- package/dist/components/datepicker/index.js +0 -4015
- package/dist/components/datepicker/index.min.js +0 -2
- package/dist/components/datetimepicker/index.js +0 -5151
- package/dist/components/datetimepicker/index.min.js +0 -2
- package/dist/components/dialog/index.js +0 -1215
- package/dist/components/dialog/index.min.js +0 -2
- package/dist/components/dropdown/index.js +0 -1015
- package/dist/components/dropdown/index.min.js +0 -2
- package/dist/components/field/index.js +0 -516
- package/dist/components/field/index.min.js +0 -2
- package/dist/components/icon/index.js +0 -481
- package/dist/components/icon/index.min.js +0 -2
- package/dist/components/image/index.js +0 -527
- package/dist/components/image/index.min.js +0 -2
- package/dist/components/input/index.js +0 -896
- package/dist/components/input/index.min.js +0 -2
- package/dist/components/loading/index.js +0 -384
- package/dist/components/loading/index.min.js +0 -2
- package/dist/components/menu/index.js +0 -756
- package/dist/components/menu/index.min.js +0 -2
- package/dist/components/message/index.js +0 -671
- package/dist/components/message/index.min.js +0 -2
- package/dist/components/modal/index.js +0 -667
- package/dist/components/modal/index.min.js +0 -2
- package/dist/components/navbar/index.js +0 -816
- package/dist/components/navbar/index.min.js +0 -2
- package/dist/components/notification/index.js +0 -956
- package/dist/components/notification/index.min.js +0 -2
- package/dist/components/numberinput/index.js +0 -1165
- package/dist/components/numberinput/index.min.js +0 -2
- package/dist/components/pagination/index.js +0 -899
- package/dist/components/pagination/index.min.js +0 -2
- package/dist/components/progress/index.js +0 -569
- package/dist/components/progress/index.min.js +0 -2
- package/dist/components/radio/index.js +0 -258
- package/dist/components/radio/index.min.js +0 -2
- package/dist/components/rate/index.js +0 -617
- package/dist/components/rate/index.min.js +0 -2
- package/dist/components/select/index.js +0 -743
- package/dist/components/select/index.min.js +0 -2
- package/dist/components/sidebar/index.js +0 -520
- package/dist/components/sidebar/index.min.js +0 -2
- package/dist/components/skeleton/index.js +0 -206
- package/dist/components/skeleton/index.min.js +0 -2
- package/dist/components/slider/index.js +0 -1186
- package/dist/components/slider/index.min.js +0 -2
- package/dist/components/snackbar/index.js +0 -558
- package/dist/components/snackbar/index.min.js +0 -2
- package/dist/components/steps/index.js +0 -1193
- package/dist/components/steps/index.min.js +0 -2
- package/dist/components/switch/index.js +0 -300
- package/dist/components/switch/index.min.js +0 -2
- package/dist/components/table/index.js +0 -3349
- package/dist/components/table/index.min.js +0 -2
- package/dist/components/tabs/index.js +0 -1124
- package/dist/components/tabs/index.min.js +0 -2
- package/dist/components/tag/index.js +0 -304
- package/dist/components/tag/index.min.js +0 -2
- package/dist/components/taginput/index.js +0 -2180
- package/dist/components/taginput/index.min.js +0 -2
- package/dist/components/timepicker/index.js +0 -2926
- package/dist/components/timepicker/index.min.js +0 -2
- package/dist/components/toast/index.js +0 -532
- package/dist/components/toast/index.min.js +0 -2
- package/dist/components/tooltip/index.js +0 -562
- package/dist/components/tooltip/index.min.js +0 -2
- package/dist/components/upload/index.js +0 -559
- package/dist/components/upload/index.min.js +0 -2
- package/dist/esm/autocomplete.js +0 -18
- package/dist/esm/breadcrumb.js +0 -122
- package/dist/esm/button.js +0 -16
- package/dist/esm/carousel.js +0 -666
- package/dist/esm/checkbox.js +0 -77
- package/dist/esm/chunk-17b33cd2.js +0 -177
- package/dist/esm/chunk-2793447b.js +0 -43
- package/dist/esm/chunk-2f2f0a74.js +0 -146
- package/dist/esm/chunk-33e1434e.js +0 -281
- package/dist/esm/chunk-35c20328.js +0 -60
- package/dist/esm/chunk-42f463e6.js +0 -57
- package/dist/esm/chunk-455cdeae.js +0 -317
- package/dist/esm/chunk-493ff0a9.js +0 -312
- package/dist/esm/chunk-4a2008fa.js +0 -58
- package/dist/esm/chunk-4e788733.js +0 -92
- package/dist/esm/chunk-53788519.js +0 -323
- package/dist/esm/chunk-60a03517.js +0 -154
- package/dist/esm/chunk-6d0f2352.js +0 -145
- package/dist/esm/chunk-6e56b8bc.js +0 -729
- package/dist/esm/chunk-72ecb544.js +0 -246
- package/dist/esm/chunk-7bb9107f.js +0 -153
- package/dist/esm/chunk-7e17a637.js +0 -194
- package/dist/esm/chunk-9b0b8225.js +0 -349
- package/dist/esm/chunk-a32d1427.js +0 -161
- package/dist/esm/chunk-abcf9a94.js +0 -751
- package/dist/esm/chunk-ade5b253.js +0 -547
- package/dist/esm/chunk-b5576437.js +0 -108
- package/dist/esm/chunk-b9bdb0e4.js +0 -6
- package/dist/esm/chunk-c5284276.js +0 -422
- package/dist/esm/chunk-c9c18b2f.js +0 -51
- package/dist/esm/chunk-cca88db8.js +0 -99
- package/dist/esm/chunk-e92e3389.js +0 -77
- package/dist/esm/chunk-ea6777b6.js +0 -1825
- package/dist/esm/chunk-f32d0228.js +0 -236
- package/dist/esm/clockpicker.js +0 -471
- package/dist/esm/collapse.js +0 -118
- package/dist/esm/colorpicker.js +0 -1755
- package/dist/esm/config.js +0 -14
- package/dist/esm/datepicker.js +0 -23
- package/dist/esm/datetimepicker.js +0 -387
- package/dist/esm/dialog.js +0 -306
- package/dist/esm/dropdown.js +0 -18
- package/dist/esm/field.js +0 -14
- package/dist/esm/helpers.js +0 -322
- package/dist/esm/icon.js +0 -15
- package/dist/esm/image.js +0 -15
- package/dist/esm/index.js +0 -184
- package/dist/esm/input.js +0 -17
- package/dist/esm/loading.js +0 -34
- package/dist/esm/menu.js +0 -288
- package/dist/esm/message.js +0 -57
- package/dist/esm/modal.js +0 -63
- package/dist/esm/navbar.js +0 -681
- package/dist/esm/notification.js +0 -173
- package/dist/esm/numberinput.js +0 -286
- package/dist/esm/pagination.js +0 -17
- package/dist/esm/progress.js +0 -226
- package/dist/esm/radio.js +0 -113
- package/dist/esm/rate.js +0 -151
- package/dist/esm/select.js +0 -17
- package/dist/esm/sidebar.js +0 -340
- package/dist/esm/skeleton.js +0 -103
- package/dist/esm/slider.js +0 -591
- package/dist/esm/snackbar.js +0 -129
- package/dist/esm/steps.js +0 -277
- package/dist/esm/switch.js +0 -129
- package/dist/esm/table.js +0 -1577
- package/dist/esm/tabs.js +0 -208
- package/dist/esm/tag.js +0 -59
- package/dist/esm/taginput.js +0 -330
- package/dist/esm/timepicker.js +0 -24
- package/dist/esm/toast.js +0 -103
- package/dist/esm/tooltip.js +0 -15
- package/dist/esm/upload.js +0 -210
- package/dist/vetur/attributes.json +0 -3206
- package/dist/vetur/tags.json +0 -1175
|
@@ -1,816 +0,0 @@
|
|
|
1
|
-
/*! Buefy v0.9.22 | MIT License | github.com/buefy/buefy */
|
|
2
|
-
(function (global, factory) {
|
|
3
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
4
|
-
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
5
|
-
(global = global || self, factory(global.Navbar = {}));
|
|
6
|
-
}(this, function (exports) { 'use strict';
|
|
7
|
-
|
|
8
|
-
function _typeof(obj) {
|
|
9
|
-
"@babel/helpers - typeof";
|
|
10
|
-
|
|
11
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
12
|
-
_typeof = function (obj) {
|
|
13
|
-
return typeof obj;
|
|
14
|
-
};
|
|
15
|
-
} else {
|
|
16
|
-
_typeof = function (obj) {
|
|
17
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return _typeof(obj);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function _defineProperty(obj, key, value) {
|
|
25
|
-
if (key in obj) {
|
|
26
|
-
Object.defineProperty(obj, key, {
|
|
27
|
-
value: value,
|
|
28
|
-
enumerable: true,
|
|
29
|
-
configurable: true,
|
|
30
|
-
writable: true
|
|
31
|
-
});
|
|
32
|
-
} else {
|
|
33
|
-
obj[key] = value;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
return obj;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
//
|
|
40
|
-
//
|
|
41
|
-
//
|
|
42
|
-
//
|
|
43
|
-
//
|
|
44
|
-
//
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
54
|
-
//
|
|
55
|
-
var script = {
|
|
56
|
-
name: 'NavbarBurger',
|
|
57
|
-
props: {
|
|
58
|
-
isOpened: {
|
|
59
|
-
type: Boolean,
|
|
60
|
-
default: false
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
|
|
66
|
-
/* server only */
|
|
67
|
-
, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
68
|
-
if (typeof shadowMode !== 'boolean') {
|
|
69
|
-
createInjectorSSR = createInjector;
|
|
70
|
-
createInjector = shadowMode;
|
|
71
|
-
shadowMode = false;
|
|
72
|
-
} // Vue.extend constructor export interop.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
var options = typeof script === 'function' ? script.options : script; // render functions
|
|
76
|
-
|
|
77
|
-
if (template && template.render) {
|
|
78
|
-
options.render = template.render;
|
|
79
|
-
options.staticRenderFns = template.staticRenderFns;
|
|
80
|
-
options._compiled = true; // functional template
|
|
81
|
-
|
|
82
|
-
if (isFunctionalTemplate) {
|
|
83
|
-
options.functional = true;
|
|
84
|
-
}
|
|
85
|
-
} // scopedId
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
if (scopeId) {
|
|
89
|
-
options._scopeId = scopeId;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
var hook;
|
|
93
|
-
|
|
94
|
-
if (moduleIdentifier) {
|
|
95
|
-
// server build
|
|
96
|
-
hook = function hook(context) {
|
|
97
|
-
// 2.3 injection
|
|
98
|
-
context = context || // cached call
|
|
99
|
-
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
100
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional
|
|
101
|
-
// 2.2 with runInNewContext: true
|
|
102
|
-
|
|
103
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
104
|
-
context = __VUE_SSR_CONTEXT__;
|
|
105
|
-
} // inject component styles
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
if (style) {
|
|
109
|
-
style.call(this, createInjectorSSR(context));
|
|
110
|
-
} // register component module identifier for async chunk inference
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
if (context && context._registeredComponents) {
|
|
114
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
115
|
-
}
|
|
116
|
-
}; // used by ssr in case component is cached and beforeCreate
|
|
117
|
-
// never gets called
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
options._ssrRegister = hook;
|
|
121
|
-
} else if (style) {
|
|
122
|
-
hook = shadowMode ? function () {
|
|
123
|
-
style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
|
|
124
|
-
} : function (context) {
|
|
125
|
-
style.call(this, createInjector(context));
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
if (hook) {
|
|
130
|
-
if (options.functional) {
|
|
131
|
-
// register for functional component in vue file
|
|
132
|
-
var originalRender = options.render;
|
|
133
|
-
|
|
134
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
135
|
-
hook.call(context);
|
|
136
|
-
return originalRender(h, context);
|
|
137
|
-
};
|
|
138
|
-
} else {
|
|
139
|
-
// inject component registration as beforeCreate hook
|
|
140
|
-
var existing = options.beforeCreate;
|
|
141
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
return script;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
var normalizeComponent_1 = normalizeComponent;
|
|
149
|
-
|
|
150
|
-
/* script */
|
|
151
|
-
const __vue_script__ = script;
|
|
152
|
-
|
|
153
|
-
/* template */
|
|
154
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',_vm._g({staticClass:"navbar-burger burger",class:{ 'is-active': _vm.isOpened },attrs:{"role":"button","aria-label":"menu","aria-expanded":_vm.isOpened,"tabindex":"0"}},_vm.$listeners),[_c('span',{attrs:{"aria-hidden":"true"}}),_c('span',{attrs:{"aria-hidden":"true"}}),_c('span',{attrs:{"aria-hidden":"true"}})])};
|
|
155
|
-
var __vue_staticRenderFns__ = [];
|
|
156
|
-
|
|
157
|
-
/* style */
|
|
158
|
-
const __vue_inject_styles__ = undefined;
|
|
159
|
-
/* scoped */
|
|
160
|
-
const __vue_scope_id__ = undefined;
|
|
161
|
-
/* module identifier */
|
|
162
|
-
const __vue_module_identifier__ = undefined;
|
|
163
|
-
/* functional template */
|
|
164
|
-
const __vue_is_functional_template__ = false;
|
|
165
|
-
/* style inject */
|
|
166
|
-
|
|
167
|
-
/* style inject SSR */
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
var NavbarBurger = normalizeComponent_1(
|
|
172
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
173
|
-
__vue_inject_styles__,
|
|
174
|
-
__vue_script__,
|
|
175
|
-
__vue_scope_id__,
|
|
176
|
-
__vue_is_functional_template__,
|
|
177
|
-
__vue_module_identifier__,
|
|
178
|
-
undefined,
|
|
179
|
-
undefined
|
|
180
|
-
);
|
|
181
|
-
|
|
182
|
-
var isTouch = typeof window !== 'undefined' && ('ontouchstart' in window || navigator.msMaxTouchPoints > 0);
|
|
183
|
-
var events = isTouch ? ['touchstart', 'click'] : ['click'];
|
|
184
|
-
var instances = [];
|
|
185
|
-
|
|
186
|
-
function processArgs(bindingValue) {
|
|
187
|
-
var isFunction = typeof bindingValue === 'function';
|
|
188
|
-
|
|
189
|
-
if (!isFunction && _typeof(bindingValue) !== 'object') {
|
|
190
|
-
throw new Error("v-click-outside: Binding value should be a function or an object, ".concat(_typeof(bindingValue), " given"));
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
return {
|
|
194
|
-
handler: isFunction ? bindingValue : bindingValue.handler,
|
|
195
|
-
middleware: bindingValue.middleware || function (isClickOutside) {
|
|
196
|
-
return isClickOutside;
|
|
197
|
-
},
|
|
198
|
-
events: bindingValue.events || events
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
function onEvent(_ref) {
|
|
203
|
-
var el = _ref.el,
|
|
204
|
-
event = _ref.event,
|
|
205
|
-
handler = _ref.handler,
|
|
206
|
-
middleware = _ref.middleware;
|
|
207
|
-
var isClickOutside = event.target !== el && !el.contains(event.target);
|
|
208
|
-
|
|
209
|
-
if (!isClickOutside || !middleware(event, el)) {
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
handler(event, el);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
function toggleEventListeners() {
|
|
217
|
-
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
218
|
-
eventHandlers = _ref2.eventHandlers;
|
|
219
|
-
|
|
220
|
-
var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'add';
|
|
221
|
-
eventHandlers.forEach(function (_ref3) {
|
|
222
|
-
var event = _ref3.event,
|
|
223
|
-
handler = _ref3.handler;
|
|
224
|
-
document["".concat(action, "EventListener")](event, handler);
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
function bind(el, _ref4) {
|
|
229
|
-
var value = _ref4.value;
|
|
230
|
-
|
|
231
|
-
var _processArgs = processArgs(value),
|
|
232
|
-
_handler = _processArgs.handler,
|
|
233
|
-
middleware = _processArgs.middleware,
|
|
234
|
-
events = _processArgs.events;
|
|
235
|
-
|
|
236
|
-
var instance = {
|
|
237
|
-
el: el,
|
|
238
|
-
eventHandlers: events.map(function (eventName) {
|
|
239
|
-
return {
|
|
240
|
-
event: eventName,
|
|
241
|
-
handler: function handler(event) {
|
|
242
|
-
return onEvent({
|
|
243
|
-
event: event,
|
|
244
|
-
el: el,
|
|
245
|
-
handler: _handler,
|
|
246
|
-
middleware: middleware
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
})
|
|
251
|
-
};
|
|
252
|
-
toggleEventListeners(instance, 'add');
|
|
253
|
-
instances.push(instance);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
function update(el, _ref5) {
|
|
257
|
-
var value = _ref5.value;
|
|
258
|
-
|
|
259
|
-
var _processArgs2 = processArgs(value),
|
|
260
|
-
_handler2 = _processArgs2.handler,
|
|
261
|
-
middleware = _processArgs2.middleware,
|
|
262
|
-
events = _processArgs2.events; // `filter` instead of `find` for compat with IE
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
var instance = instances.filter(function (instance) {
|
|
266
|
-
return instance.el === el;
|
|
267
|
-
})[0];
|
|
268
|
-
toggleEventListeners(instance, 'remove');
|
|
269
|
-
instance.eventHandlers = events.map(function (eventName) {
|
|
270
|
-
return {
|
|
271
|
-
event: eventName,
|
|
272
|
-
handler: function handler(event) {
|
|
273
|
-
return onEvent({
|
|
274
|
-
event: event,
|
|
275
|
-
el: el,
|
|
276
|
-
handler: _handler2,
|
|
277
|
-
middleware: middleware
|
|
278
|
-
});
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
});
|
|
282
|
-
toggleEventListeners(instance, 'add');
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
function unbind(el) {
|
|
286
|
-
// `filter` instead of `find` for compat with IE
|
|
287
|
-
var instance = instances.filter(function (instance) {
|
|
288
|
-
return instance.el === el;
|
|
289
|
-
})[0];
|
|
290
|
-
toggleEventListeners(instance, 'remove');
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
var directive = {
|
|
294
|
-
bind: bind,
|
|
295
|
-
update: update,
|
|
296
|
-
unbind: unbind,
|
|
297
|
-
instances: instances
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
var FIXED_TOP_CLASS = 'is-fixed-top';
|
|
301
|
-
var BODY_FIXED_TOP_CLASS = 'has-navbar-fixed-top';
|
|
302
|
-
var BODY_SPACED_FIXED_TOP_CLASS = 'has-spaced-navbar-fixed-top';
|
|
303
|
-
var FIXED_BOTTOM_CLASS = 'is-fixed-bottom';
|
|
304
|
-
var BODY_FIXED_BOTTOM_CLASS = 'has-navbar-fixed-bottom';
|
|
305
|
-
var BODY_SPACED_FIXED_BOTTOM_CLASS = 'has-spaced-navbar-fixed-bottom';
|
|
306
|
-
var BODY_CENTERED_CLASS = 'has-navbar-centered';
|
|
307
|
-
|
|
308
|
-
var isFilled = function isFilled(str) {
|
|
309
|
-
return !!str;
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
var script$1 = {
|
|
313
|
-
name: 'BNavbar',
|
|
314
|
-
components: {
|
|
315
|
-
NavbarBurger: NavbarBurger
|
|
316
|
-
},
|
|
317
|
-
directives: {
|
|
318
|
-
clickOutside: directive
|
|
319
|
-
},
|
|
320
|
-
// deprecated, to replace with default 'value' in the next breaking change
|
|
321
|
-
model: {
|
|
322
|
-
prop: 'active',
|
|
323
|
-
event: 'update:active'
|
|
324
|
-
},
|
|
325
|
-
props: {
|
|
326
|
-
type: [String, Object],
|
|
327
|
-
transparent: {
|
|
328
|
-
type: Boolean,
|
|
329
|
-
default: false
|
|
330
|
-
},
|
|
331
|
-
fixedTop: {
|
|
332
|
-
type: Boolean,
|
|
333
|
-
default: false
|
|
334
|
-
},
|
|
335
|
-
fixedBottom: {
|
|
336
|
-
type: Boolean,
|
|
337
|
-
default: false
|
|
338
|
-
},
|
|
339
|
-
active: {
|
|
340
|
-
type: Boolean,
|
|
341
|
-
default: false
|
|
342
|
-
},
|
|
343
|
-
centered: {
|
|
344
|
-
type: Boolean,
|
|
345
|
-
default: false
|
|
346
|
-
},
|
|
347
|
-
wrapperClass: {
|
|
348
|
-
type: [String, Array, Object]
|
|
349
|
-
},
|
|
350
|
-
closeOnClick: {
|
|
351
|
-
type: Boolean,
|
|
352
|
-
default: true
|
|
353
|
-
},
|
|
354
|
-
mobileBurger: {
|
|
355
|
-
type: Boolean,
|
|
356
|
-
default: true
|
|
357
|
-
},
|
|
358
|
-
spaced: Boolean,
|
|
359
|
-
shadow: Boolean
|
|
360
|
-
},
|
|
361
|
-
data: function data() {
|
|
362
|
-
return {
|
|
363
|
-
internalIsActive: this.active,
|
|
364
|
-
_isNavBar: true // Used internally by NavbarItem
|
|
365
|
-
|
|
366
|
-
};
|
|
367
|
-
},
|
|
368
|
-
computed: {
|
|
369
|
-
isOpened: function isOpened() {
|
|
370
|
-
return this.internalIsActive;
|
|
371
|
-
},
|
|
372
|
-
computedClasses: function computedClasses() {
|
|
373
|
-
var _ref;
|
|
374
|
-
|
|
375
|
-
return [this.type, (_ref = {}, _defineProperty(_ref, FIXED_TOP_CLASS, this.fixedTop), _defineProperty(_ref, FIXED_BOTTOM_CLASS, this.fixedBottom), _defineProperty(_ref, BODY_CENTERED_CLASS, this.centered), _defineProperty(_ref, 'is-spaced', this.spaced), _defineProperty(_ref, 'has-shadow', this.shadow), _defineProperty(_ref, 'is-transparent', this.transparent), _ref)];
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
watch: {
|
|
379
|
-
active: {
|
|
380
|
-
handler: function handler(active) {
|
|
381
|
-
this.internalIsActive = active;
|
|
382
|
-
},
|
|
383
|
-
immediate: true
|
|
384
|
-
},
|
|
385
|
-
fixedTop: function fixedTop(isSet) {
|
|
386
|
-
// toggle body class only on update to handle multiple navbar
|
|
387
|
-
this.setBodyFixedTopClass(isSet);
|
|
388
|
-
},
|
|
389
|
-
bottomTop: function bottomTop(isSet) {
|
|
390
|
-
// toggle body class only on update to handle multiple navbar
|
|
391
|
-
this.setBodyFixedBottomClass(isSet);
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
methods: {
|
|
395
|
-
toggleActive: function toggleActive() {
|
|
396
|
-
this.internalIsActive = !this.internalIsActive;
|
|
397
|
-
this.emitUpdateParentEvent();
|
|
398
|
-
},
|
|
399
|
-
closeMenu: function closeMenu() {
|
|
400
|
-
if (this.closeOnClick && this.internalIsActive) {
|
|
401
|
-
this.internalIsActive = false;
|
|
402
|
-
this.emitUpdateParentEvent();
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
emitUpdateParentEvent: function emitUpdateParentEvent() {
|
|
406
|
-
this.$emit('update:active', this.internalIsActive);
|
|
407
|
-
},
|
|
408
|
-
setBodyClass: function setBodyClass(className) {
|
|
409
|
-
if (typeof window !== 'undefined') {
|
|
410
|
-
document.body.classList.add(className);
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
removeBodyClass: function removeBodyClass(className) {
|
|
414
|
-
if (typeof window !== 'undefined') {
|
|
415
|
-
document.body.classList.remove(className);
|
|
416
|
-
}
|
|
417
|
-
},
|
|
418
|
-
checkIfFixedPropertiesAreColliding: function checkIfFixedPropertiesAreColliding() {
|
|
419
|
-
var areColliding = this.fixedTop && this.fixedBottom;
|
|
420
|
-
|
|
421
|
-
if (areColliding) {
|
|
422
|
-
throw new Error('You should choose if the BNavbar is fixed bottom or fixed top, but not both');
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
genNavbar: function genNavbar(createElement) {
|
|
426
|
-
var navBarSlots = [this.genNavbarBrandNode(createElement), this.genNavbarSlotsNode(createElement)];
|
|
427
|
-
|
|
428
|
-
if (!isFilled(this.wrapperClass)) {
|
|
429
|
-
return this.genNavbarSlots(createElement, navBarSlots);
|
|
430
|
-
} // It wraps the slots into a div with the provided wrapperClass prop
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
var navWrapper = createElement('div', {
|
|
434
|
-
class: this.wrapperClass
|
|
435
|
-
}, navBarSlots);
|
|
436
|
-
return this.genNavbarSlots(createElement, [navWrapper]);
|
|
437
|
-
},
|
|
438
|
-
genNavbarSlots: function genNavbarSlots(createElement, slots) {
|
|
439
|
-
return createElement('nav', {
|
|
440
|
-
staticClass: 'navbar',
|
|
441
|
-
class: this.computedClasses,
|
|
442
|
-
attrs: {
|
|
443
|
-
role: 'navigation',
|
|
444
|
-
'aria-label': 'main navigation'
|
|
445
|
-
},
|
|
446
|
-
directives: [{
|
|
447
|
-
name: 'click-outside',
|
|
448
|
-
value: this.closeMenu
|
|
449
|
-
}]
|
|
450
|
-
}, slots);
|
|
451
|
-
},
|
|
452
|
-
genNavbarBrandNode: function genNavbarBrandNode(createElement) {
|
|
453
|
-
return createElement('div', {
|
|
454
|
-
class: 'navbar-brand'
|
|
455
|
-
}, [this.$slots.brand, this.genBurgerNode(createElement)]);
|
|
456
|
-
},
|
|
457
|
-
genBurgerNode: function genBurgerNode(createElement) {
|
|
458
|
-
var _this = this;
|
|
459
|
-
|
|
460
|
-
if (this.mobileBurger) {
|
|
461
|
-
var defaultBurgerNode = createElement('navbar-burger', {
|
|
462
|
-
props: {
|
|
463
|
-
isOpened: this.isOpened
|
|
464
|
-
},
|
|
465
|
-
on: {
|
|
466
|
-
click: this.toggleActive,
|
|
467
|
-
keyup: function keyup(event) {
|
|
468
|
-
if (event.keyCode !== 13) return;
|
|
469
|
-
|
|
470
|
-
_this.toggleActive();
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
});
|
|
474
|
-
var hasBurgerSlot = !!this.$scopedSlots.burger;
|
|
475
|
-
return hasBurgerSlot ? this.$scopedSlots.burger({
|
|
476
|
-
isOpened: this.isOpened,
|
|
477
|
-
toggleActive: this.toggleActive
|
|
478
|
-
}) : defaultBurgerNode;
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
genNavbarSlotsNode: function genNavbarSlotsNode(createElement) {
|
|
482
|
-
return createElement('div', {
|
|
483
|
-
staticClass: 'navbar-menu',
|
|
484
|
-
class: {
|
|
485
|
-
'is-active': this.isOpened
|
|
486
|
-
}
|
|
487
|
-
}, [this.genMenuPosition(createElement, 'start'), this.genMenuPosition(createElement, 'end')]);
|
|
488
|
-
},
|
|
489
|
-
genMenuPosition: function genMenuPosition(createElement, positionName) {
|
|
490
|
-
return createElement('div', {
|
|
491
|
-
staticClass: "navbar-".concat(positionName)
|
|
492
|
-
}, this.$slots[positionName]);
|
|
493
|
-
},
|
|
494
|
-
setBodyFixedTopClass: function setBodyFixedTopClass(isSet) {
|
|
495
|
-
this.checkIfFixedPropertiesAreColliding();
|
|
496
|
-
|
|
497
|
-
if (isSet) {
|
|
498
|
-
// TODO Apply only one of the classes once PR is merged in Bulma:
|
|
499
|
-
// https://github.com/jgthms/bulma/pull/2737
|
|
500
|
-
this.setBodyClass(BODY_FIXED_TOP_CLASS);
|
|
501
|
-
this.spaced && this.setBodyClass(BODY_SPACED_FIXED_TOP_CLASS);
|
|
502
|
-
} else {
|
|
503
|
-
this.removeBodyClass(BODY_FIXED_TOP_CLASS);
|
|
504
|
-
this.removeBodyClass(BODY_SPACED_FIXED_TOP_CLASS);
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
setBodyFixedBottomClass: function setBodyFixedBottomClass(isSet) {
|
|
508
|
-
this.checkIfFixedPropertiesAreColliding();
|
|
509
|
-
|
|
510
|
-
if (isSet) {
|
|
511
|
-
// TODO Apply only one of the classes once PR is merged in Bulma:
|
|
512
|
-
// https://github.com/jgthms/bulma/pull/2737
|
|
513
|
-
this.setBodyClass(BODY_FIXED_BOTTOM_CLASS);
|
|
514
|
-
this.spaced && this.setBodyClass(BODY_SPACED_FIXED_BOTTOM_CLASS);
|
|
515
|
-
} else {
|
|
516
|
-
this.removeBodyClass(BODY_FIXED_BOTTOM_CLASS);
|
|
517
|
-
this.removeBodyClass(BODY_SPACED_FIXED_BOTTOM_CLASS);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
},
|
|
521
|
-
beforeMount: function beforeMount() {
|
|
522
|
-
this.fixedTop && this.setBodyFixedTopClass(true);
|
|
523
|
-
this.fixedBottom && this.setBodyFixedBottomClass(true);
|
|
524
|
-
},
|
|
525
|
-
beforeDestroy: function beforeDestroy() {
|
|
526
|
-
if (this.fixedTop) {
|
|
527
|
-
var className = this.spaced ? BODY_SPACED_FIXED_TOP_CLASS : BODY_FIXED_TOP_CLASS;
|
|
528
|
-
this.removeBodyClass(className);
|
|
529
|
-
} else if (this.fixedBottom) {
|
|
530
|
-
var _className = this.spaced ? BODY_SPACED_FIXED_BOTTOM_CLASS : BODY_FIXED_BOTTOM_CLASS;
|
|
531
|
-
|
|
532
|
-
this.removeBodyClass(_className);
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
render: function render(createElement, fn) {
|
|
536
|
-
return this.genNavbar(createElement);
|
|
537
|
-
}
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
/* script */
|
|
541
|
-
const __vue_script__$1 = script$1;
|
|
542
|
-
|
|
543
|
-
/* template */
|
|
544
|
-
|
|
545
|
-
/* style */
|
|
546
|
-
const __vue_inject_styles__$1 = undefined;
|
|
547
|
-
/* scoped */
|
|
548
|
-
const __vue_scope_id__$1 = undefined;
|
|
549
|
-
/* module identifier */
|
|
550
|
-
const __vue_module_identifier__$1 = undefined;
|
|
551
|
-
/* functional template */
|
|
552
|
-
const __vue_is_functional_template__$1 = undefined;
|
|
553
|
-
/* style inject */
|
|
554
|
-
|
|
555
|
-
/* style inject SSR */
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
var Navbar = normalizeComponent_1(
|
|
560
|
-
{},
|
|
561
|
-
__vue_inject_styles__$1,
|
|
562
|
-
__vue_script__$1,
|
|
563
|
-
__vue_scope_id__$1,
|
|
564
|
-
__vue_is_functional_template__$1,
|
|
565
|
-
__vue_module_identifier__$1,
|
|
566
|
-
undefined,
|
|
567
|
-
undefined
|
|
568
|
-
);
|
|
569
|
-
|
|
570
|
-
//
|
|
571
|
-
//
|
|
572
|
-
//
|
|
573
|
-
//
|
|
574
|
-
//
|
|
575
|
-
//
|
|
576
|
-
//
|
|
577
|
-
//
|
|
578
|
-
//
|
|
579
|
-
//
|
|
580
|
-
//
|
|
581
|
-
//
|
|
582
|
-
//
|
|
583
|
-
var clickableWhiteList = ['div', 'span', 'input'];
|
|
584
|
-
var script$2 = {
|
|
585
|
-
name: 'BNavbarItem',
|
|
586
|
-
inheritAttrs: false,
|
|
587
|
-
props: {
|
|
588
|
-
tag: {
|
|
589
|
-
type: String,
|
|
590
|
-
default: 'a'
|
|
591
|
-
},
|
|
592
|
-
active: Boolean
|
|
593
|
-
},
|
|
594
|
-
methods: {
|
|
595
|
-
/**
|
|
596
|
-
* Keypress event that is bound to the document
|
|
597
|
-
*/
|
|
598
|
-
keyPress: function keyPress(_ref) {
|
|
599
|
-
var key = _ref.key;
|
|
600
|
-
|
|
601
|
-
if (key === 'Escape' || key === 'Esc') {
|
|
602
|
-
this.closeMenuRecursive(this, ['NavBar']);
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* Close parent if clicked outside.
|
|
608
|
-
*/
|
|
609
|
-
handleClickEvent: function handleClickEvent(event) {
|
|
610
|
-
var isOnWhiteList = clickableWhiteList.some(function (item) {
|
|
611
|
-
return item === event.target.localName;
|
|
612
|
-
});
|
|
613
|
-
|
|
614
|
-
if (!isOnWhiteList) {
|
|
615
|
-
var parent = this.closeMenuRecursive(this, ['NavbarDropdown', 'NavBar']);
|
|
616
|
-
if (parent && parent.$data._isNavbarDropdown) this.closeMenuRecursive(parent, ['NavBar']);
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
|
|
620
|
-
/**
|
|
621
|
-
* Close parent recursively
|
|
622
|
-
*/
|
|
623
|
-
closeMenuRecursive: function closeMenuRecursive(current, targetComponents) {
|
|
624
|
-
if (!current.$parent) return null;
|
|
625
|
-
var foundItem = targetComponents.reduce(function (acc, item) {
|
|
626
|
-
if (current.$parent.$data["_is".concat(item)]) {
|
|
627
|
-
current.$parent.closeMenu();
|
|
628
|
-
return current.$parent;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
return acc;
|
|
632
|
-
}, null);
|
|
633
|
-
return foundItem || this.closeMenuRecursive(current.$parent, targetComponents);
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
mounted: function mounted() {
|
|
637
|
-
if (typeof window !== 'undefined') {
|
|
638
|
-
this.$el.addEventListener('click', this.handleClickEvent);
|
|
639
|
-
document.addEventListener('keyup', this.keyPress);
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
beforeDestroy: function beforeDestroy() {
|
|
643
|
-
if (typeof window !== 'undefined') {
|
|
644
|
-
this.$el.removeEventListener('click', this.handleClickEvent);
|
|
645
|
-
document.removeEventListener('keyup', this.keyPress);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
};
|
|
649
|
-
|
|
650
|
-
/* script */
|
|
651
|
-
const __vue_script__$2 = script$2;
|
|
652
|
-
|
|
653
|
-
/* template */
|
|
654
|
-
var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.tag,_vm._g(_vm._b({tag:"component",staticClass:"navbar-item",class:{
|
|
655
|
-
'is-active': _vm.active
|
|
656
|
-
}},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)};
|
|
657
|
-
var __vue_staticRenderFns__$1 = [];
|
|
658
|
-
|
|
659
|
-
/* style */
|
|
660
|
-
const __vue_inject_styles__$2 = undefined;
|
|
661
|
-
/* scoped */
|
|
662
|
-
const __vue_scope_id__$2 = undefined;
|
|
663
|
-
/* module identifier */
|
|
664
|
-
const __vue_module_identifier__$2 = undefined;
|
|
665
|
-
/* functional template */
|
|
666
|
-
const __vue_is_functional_template__$2 = false;
|
|
667
|
-
/* style inject */
|
|
668
|
-
|
|
669
|
-
/* style inject SSR */
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
var NavbarItem = normalizeComponent_1(
|
|
674
|
-
{ render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
|
|
675
|
-
__vue_inject_styles__$2,
|
|
676
|
-
__vue_script__$2,
|
|
677
|
-
__vue_scope_id__$2,
|
|
678
|
-
__vue_is_functional_template__$2,
|
|
679
|
-
__vue_module_identifier__$2,
|
|
680
|
-
undefined,
|
|
681
|
-
undefined
|
|
682
|
-
);
|
|
683
|
-
|
|
684
|
-
//
|
|
685
|
-
var script$3 = {
|
|
686
|
-
name: 'BNavbarDropdown',
|
|
687
|
-
directives: {
|
|
688
|
-
clickOutside: directive
|
|
689
|
-
},
|
|
690
|
-
inheritAttrs: false,
|
|
691
|
-
props: {
|
|
692
|
-
label: String,
|
|
693
|
-
hoverable: Boolean,
|
|
694
|
-
active: Boolean,
|
|
695
|
-
right: Boolean,
|
|
696
|
-
arrowless: Boolean,
|
|
697
|
-
boxed: Boolean,
|
|
698
|
-
closeOnClick: {
|
|
699
|
-
type: Boolean,
|
|
700
|
-
default: true
|
|
701
|
-
},
|
|
702
|
-
collapsible: Boolean,
|
|
703
|
-
tag: {
|
|
704
|
-
type: String,
|
|
705
|
-
default: 'a'
|
|
706
|
-
}
|
|
707
|
-
},
|
|
708
|
-
data: function data() {
|
|
709
|
-
return {
|
|
710
|
-
newActive: this.active,
|
|
711
|
-
isHoverable: this.hoverable,
|
|
712
|
-
_isNavbarDropdown: true // Used internally by NavbarItem
|
|
713
|
-
|
|
714
|
-
};
|
|
715
|
-
},
|
|
716
|
-
watch: {
|
|
717
|
-
active: function active(value) {
|
|
718
|
-
this.newActive = value;
|
|
719
|
-
},
|
|
720
|
-
newActive: function newActive(value) {
|
|
721
|
-
this.$emit('active-change', value);
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
methods: {
|
|
725
|
-
toggleMenu: function toggleMenu() {
|
|
726
|
-
this.newActive = !this.newActive;
|
|
727
|
-
},
|
|
728
|
-
showMenu: function showMenu() {
|
|
729
|
-
this.newActive = true;
|
|
730
|
-
},
|
|
731
|
-
|
|
732
|
-
/**
|
|
733
|
-
* See naming convetion of navbaritem
|
|
734
|
-
*/
|
|
735
|
-
closeMenu: function closeMenu() {
|
|
736
|
-
this.newActive = !this.closeOnClick;
|
|
737
|
-
|
|
738
|
-
if (this.hoverable && this.closeOnClick) {
|
|
739
|
-
this.isHoverable = false;
|
|
740
|
-
}
|
|
741
|
-
},
|
|
742
|
-
checkHoverable: function checkHoverable() {
|
|
743
|
-
if (this.hoverable) {
|
|
744
|
-
this.isHoverable = true;
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
};
|
|
749
|
-
|
|
750
|
-
/* script */
|
|
751
|
-
const __vue_script__$3 = script$3;
|
|
752
|
-
|
|
753
|
-
/* template */
|
|
754
|
-
var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.closeMenu),expression:"closeMenu"}],staticClass:"navbar-item has-dropdown",class:{
|
|
755
|
-
'is-hoverable': _vm.isHoverable,
|
|
756
|
-
'is-active': _vm.newActive
|
|
757
|
-
},on:{"mouseenter":_vm.checkHoverable}},[_c(_vm.tag,_vm._g(_vm._b({tag:"component",staticClass:"navbar-link",class:{
|
|
758
|
-
'is-arrowless': _vm.arrowless,
|
|
759
|
-
'is-active': _vm.newActive && _vm.collapsible
|
|
760
|
-
},attrs:{"aria-haspopup":"true","tabindex":"0"},on:{"click":function($event){$event.preventDefault();return _vm.toggleMenu($event)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.toggleMenu($event)}}},'component',_vm.$attrs,false),_vm.$listeners),[(_vm.label)?[_vm._v(_vm._s(_vm.label))]:_vm._t("label")],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.collapsible || (_vm.collapsible && _vm.newActive)),expression:"!collapsible || (collapsible && newActive)"}],staticClass:"navbar-dropdown",class:{
|
|
761
|
-
'is-right': _vm.right,
|
|
762
|
-
'is-boxed': _vm.boxed,
|
|
763
|
-
}},[_vm._t("default")],2)],1)};
|
|
764
|
-
var __vue_staticRenderFns__$2 = [];
|
|
765
|
-
|
|
766
|
-
/* style */
|
|
767
|
-
const __vue_inject_styles__$3 = undefined;
|
|
768
|
-
/* scoped */
|
|
769
|
-
const __vue_scope_id__$3 = undefined;
|
|
770
|
-
/* module identifier */
|
|
771
|
-
const __vue_module_identifier__$3 = undefined;
|
|
772
|
-
/* functional template */
|
|
773
|
-
const __vue_is_functional_template__$3 = false;
|
|
774
|
-
/* style inject */
|
|
775
|
-
|
|
776
|
-
/* style inject SSR */
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
var NavbarDropdown = normalizeComponent_1(
|
|
781
|
-
{ render: __vue_render__$2, staticRenderFns: __vue_staticRenderFns__$2 },
|
|
782
|
-
__vue_inject_styles__$3,
|
|
783
|
-
__vue_script__$3,
|
|
784
|
-
__vue_scope_id__$3,
|
|
785
|
-
__vue_is_functional_template__$3,
|
|
786
|
-
__vue_module_identifier__$3,
|
|
787
|
-
undefined,
|
|
788
|
-
undefined
|
|
789
|
-
);
|
|
790
|
-
|
|
791
|
-
var use = function use(plugin) {
|
|
792
|
-
if (typeof window !== 'undefined' && window.Vue) {
|
|
793
|
-
window.Vue.use(plugin);
|
|
794
|
-
}
|
|
795
|
-
};
|
|
796
|
-
var registerComponent = function registerComponent(Vue, component) {
|
|
797
|
-
Vue.component(component.name, component);
|
|
798
|
-
};
|
|
799
|
-
|
|
800
|
-
var Plugin = {
|
|
801
|
-
install: function install(Vue) {
|
|
802
|
-
registerComponent(Vue, Navbar);
|
|
803
|
-
registerComponent(Vue, NavbarItem);
|
|
804
|
-
registerComponent(Vue, NavbarDropdown);
|
|
805
|
-
}
|
|
806
|
-
};
|
|
807
|
-
use(Plugin);
|
|
808
|
-
|
|
809
|
-
exports.BNavbar = Navbar;
|
|
810
|
-
exports.BNavbarDropdown = NavbarDropdown;
|
|
811
|
-
exports.BNavbarItem = NavbarItem;
|
|
812
|
-
exports.default = Plugin;
|
|
813
|
-
|
|
814
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
815
|
-
|
|
816
|
-
}));
|