buefy 0.7.9 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/dist/buefy.css +13759 -8263
  3. package/dist/buefy.js +9073 -14866
  4. package/dist/buefy.min.css +1 -5
  5. package/dist/buefy.min.js +2 -2
  6. package/dist/cjs/autocomplete.js +22 -0
  7. package/dist/cjs/button.js +106 -0
  8. package/dist/cjs/checkbox.js +135 -0
  9. package/dist/cjs/chunk-07fe6fc0.js +247 -0
  10. package/dist/cjs/chunk-0af453a7.js +105 -0
  11. package/dist/cjs/chunk-0e89e51b.js +394 -0
  12. package/dist/cjs/chunk-13e039f5.js +104 -0
  13. package/dist/cjs/chunk-143d9e6d.js +404 -0
  14. package/dist/cjs/chunk-19ebd649.js +114 -0
  15. package/dist/cjs/chunk-1b1231ce.js +94 -0
  16. package/dist/cjs/chunk-1e6abfcf.js +94 -0
  17. package/dist/cjs/chunk-28d164b1.js +172 -0
  18. package/dist/cjs/chunk-3396605d.js +394 -0
  19. package/dist/cjs/chunk-364a37a0.js +404 -0
  20. package/dist/cjs/chunk-3b066933.js +103 -0
  21. package/dist/cjs/chunk-3dffe6e7.js +54 -0
  22. package/dist/cjs/chunk-4a03b064.js +199 -0
  23. package/dist/cjs/chunk-50b06939.js +153 -0
  24. package/dist/cjs/chunk-52623128.js +105 -0
  25. package/dist/cjs/chunk-53d4f332.js +94 -0
  26. package/dist/cjs/chunk-544a95da.js +404 -0
  27. package/dist/cjs/chunk-545f01b1.js +49 -0
  28. package/dist/cjs/chunk-59b91990.js +64 -0
  29. package/dist/cjs/chunk-5b2a3329.js +394 -0
  30. package/dist/cjs/chunk-60061aa8.js +172 -0
  31. package/dist/cjs/chunk-67658e54.js +404 -0
  32. package/dist/cjs/chunk-6963026a.js +86 -0
  33. package/dist/cjs/chunk-6cece6b7.js +140 -0
  34. package/dist/cjs/chunk-6d6465c1.js +140 -0
  35. package/dist/cjs/chunk-6e9c0aca.js +94 -0
  36. package/dist/cjs/chunk-77f69fca.js +106 -0
  37. package/dist/cjs/chunk-7a25d736.js +114 -0
  38. package/dist/cjs/chunk-876befa8.js +247 -0
  39. package/dist/cjs/chunk-8985ffff.js +105 -0
  40. package/dist/cjs/chunk-8a05c8c9.js +207 -0
  41. package/dist/cjs/chunk-90407463.js +258 -0
  42. package/dist/cjs/chunk-956525c9.js +106 -0
  43. package/dist/cjs/chunk-96ce35a2.js +114 -0
  44. package/dist/cjs/chunk-9da1d120.js +86 -0
  45. package/dist/cjs/chunk-9f6a8079.js +54 -0
  46. package/dist/cjs/chunk-a60dc21d.js +281 -0
  47. package/dist/cjs/chunk-b628277d.js +199 -0
  48. package/dist/cjs/chunk-c146745e.js +153 -0
  49. package/dist/cjs/chunk-c2aec7a9.js +547 -0
  50. package/dist/cjs/chunk-c9641331.js +86 -0
  51. package/dist/cjs/chunk-d492406b.js +172 -0
  52. package/dist/cjs/chunk-e0aa62a0.js +404 -0
  53. package/dist/cjs/chunk-e45e0329.js +48 -0
  54. package/dist/cjs/chunk-e5de6583.js +207 -0
  55. package/dist/cjs/chunk-e85cceb6.js +258 -0
  56. package/dist/cjs/chunk-ed5addd6.js +547 -0
  57. package/dist/cjs/chunk-ef4753d5.js +283 -0
  58. package/dist/cjs/chunk-f0c597f9.js +199 -0
  59. package/dist/cjs/chunk-f1df1c63.js +9 -0
  60. package/dist/cjs/chunk-f1ee2f5c.js +207 -0
  61. package/dist/cjs/chunk-fbd4d545.js +247 -0
  62. package/dist/cjs/clockpicker.js +447 -0
  63. package/dist/cjs/collapse.js +102 -0
  64. package/dist/cjs/datepicker.js +1281 -0
  65. package/dist/cjs/dialog.js +237 -0
  66. package/dist/cjs/dropdown.js +19 -0
  67. package/dist/cjs/field.js +18 -0
  68. package/dist/cjs/icon.js +17 -0
  69. package/dist/cjs/index.js +164 -0
  70. package/dist/cjs/input.js +20 -0
  71. package/dist/cjs/loading.js +166 -0
  72. package/dist/cjs/menu.js +231 -0
  73. package/dist/cjs/message.js +65 -0
  74. package/dist/cjs/modal.js +48 -0
  75. package/dist/cjs/navbar.js +258 -0
  76. package/dist/cjs/notification.js +142 -0
  77. package/dist/cjs/numberinput.js +191 -0
  78. package/dist/cjs/pagination.js +19 -0
  79. package/dist/cjs/progress.js +151 -0
  80. package/dist/cjs/radio.js +224 -0
  81. package/dist/cjs/select.js +20 -0
  82. package/dist/cjs/slider.js +511 -0
  83. package/dist/cjs/snackbar.js +114 -0
  84. package/dist/cjs/steps.js +352 -0
  85. package/dist/cjs/switch.js +144 -0
  86. package/dist/cjs/table.js +877 -0
  87. package/dist/cjs/tabs.js +258 -0
  88. package/dist/cjs/tag.js +63 -0
  89. package/dist/cjs/taginput.js +297 -0
  90. package/dist/cjs/timepicker.js +75 -0
  91. package/dist/cjs/toast.js +89 -0
  92. package/dist/cjs/tooltip.js +17 -0
  93. package/dist/cjs/upload.js +210 -0
  94. package/dist/components/autocomplete/index.js +1084 -2
  95. package/dist/components/autocomplete/index.min.js +2 -0
  96. package/dist/components/button/index.js +425 -2
  97. package/dist/components/button/index.min.js +2 -0
  98. package/dist/components/checkbox/index.js +342 -2
  99. package/dist/components/checkbox/index.min.js +2 -0
  100. package/dist/components/clockpicker/index.js +2340 -2
  101. package/dist/components/clockpicker/index.min.js +2 -0
  102. package/dist/components/collapse/index.js +201 -2
  103. package/dist/components/collapse/index.min.js +2 -0
  104. package/dist/components/datepicker/index.js +2720 -2
  105. package/dist/components/datepicker/index.min.js +2 -0
  106. package/dist/components/dialog/index.js +768 -2
  107. package/dist/components/dialog/index.min.js +2 -0
  108. package/dist/components/dropdown/index.js +555 -2
  109. package/dist/components/dropdown/index.min.js +2 -0
  110. package/dist/components/field/index.js +447 -2
  111. package/dist/components/field/index.min.js +2 -0
  112. package/dist/components/icon/index.js +322 -2
  113. package/dist/components/icon/index.min.js +2 -0
  114. package/dist/components/input/index.js +675 -2
  115. package/dist/components/input/index.min.js +2 -0
  116. package/dist/components/loading/index.js +282 -2
  117. package/dist/components/loading/index.min.js +2 -0
  118. package/dist/components/menu/index.js +550 -2
  119. package/dist/components/menu/index.min.js +2 -0
  120. package/dist/components/message/index.js +482 -2
  121. package/dist/components/message/index.min.js +2 -0
  122. package/dist/components/modal/index.js +400 -2
  123. package/dist/components/modal/index.min.js +2 -0
  124. package/dist/components/navbar/index.js +371 -0
  125. package/dist/components/navbar/index.min.js +2 -0
  126. package/dist/components/notification/index.js +705 -2
  127. package/dist/components/notification/index.min.js +2 -0
  128. package/dist/components/numberinput/index.js +846 -2
  129. package/dist/components/numberinput/index.min.js +2 -0
  130. package/dist/components/pagination/index.js +577 -2
  131. package/dist/components/pagination/index.min.js +2 -0
  132. package/dist/components/progress/index.js +250 -0
  133. package/dist/components/progress/index.min.js +2 -0
  134. package/dist/components/radio/index.js +323 -2
  135. package/dist/components/radio/index.min.js +2 -0
  136. package/dist/components/select/index.js +571 -2
  137. package/dist/components/select/index.min.js +2 -0
  138. package/dist/components/slider/index.js +764 -0
  139. package/dist/components/slider/index.min.js +2 -0
  140. package/dist/components/snackbar/index.js +397 -2
  141. package/dist/components/snackbar/index.min.js +2 -0
  142. package/dist/components/steps/index.js +721 -2
  143. package/dist/components/steps/index.min.js +2 -0
  144. package/dist/components/switch/index.js +243 -2
  145. package/dist/components/switch/index.min.js +2 -0
  146. package/dist/components/table/index.js +1870 -2
  147. package/dist/components/table/index.min.js +2 -0
  148. package/dist/components/tabs/index.js +627 -2
  149. package/dist/components/tabs/index.min.js +2 -0
  150. package/dist/components/tag/index.js +262 -2
  151. package/dist/components/tag/index.min.js +2 -0
  152. package/dist/components/taginput/index.js +1459 -2
  153. package/dist/components/taginput/index.min.js +2 -0
  154. package/dist/components/timepicker/index.js +2053 -2
  155. package/dist/components/timepicker/index.min.js +2 -0
  156. package/dist/components/toast/index.js +372 -2
  157. package/dist/components/toast/index.min.js +2 -0
  158. package/dist/components/tooltip/index.js +236 -2
  159. package/dist/components/tooltip/index.min.js +2 -0
  160. package/dist/components/upload/index.js +501 -2
  161. package/dist/components/upload/index.min.js +2 -0
  162. package/dist/esm/autocomplete.js +18 -0
  163. package/dist/esm/button.js +102 -0
  164. package/dist/esm/checkbox.js +131 -0
  165. package/dist/esm/chunk-00e3e67f.js +401 -0
  166. package/dist/esm/chunk-051f8b06.js +105 -0
  167. package/dist/esm/chunk-0566c90d.js +152 -0
  168. package/dist/esm/chunk-07e19446.js +545 -0
  169. package/dist/esm/chunk-085a700d.js +7 -0
  170. package/dist/esm/chunk-0ad6938a.js +53 -0
  171. package/dist/esm/chunk-0e3f4fb5.js +52 -0
  172. package/dist/esm/chunk-10c85529.js +151 -0
  173. package/dist/esm/chunk-121b1efa.js +197 -0
  174. package/dist/esm/chunk-19dad95e.js +256 -0
  175. package/dist/esm/chunk-231b6066.js +113 -0
  176. package/dist/esm/chunk-24d1a01f.js +279 -0
  177. package/dist/esm/chunk-297bff6b.js +393 -0
  178. package/dist/esm/chunk-2b2ae5c6.js +245 -0
  179. package/dist/esm/chunk-2cb6f867.js +46 -0
  180. package/dist/esm/chunk-33717194.js +392 -0
  181. package/dist/esm/chunk-3b811b77.js +139 -0
  182. package/dist/esm/chunk-3e47308f.js +104 -0
  183. package/dist/esm/chunk-411d6eea.js +84 -0
  184. package/dist/esm/chunk-4535dec5.js +92 -0
  185. package/dist/esm/chunk-47a5f3a1.js +103 -0
  186. package/dist/esm/chunk-4a5384da.js +205 -0
  187. package/dist/esm/chunk-4b663574.js +112 -0
  188. package/dist/esm/chunk-4d393f09.js +170 -0
  189. package/dist/esm/chunk-4d695899.js +257 -0
  190. package/dist/esm/chunk-4f508891.js +171 -0
  191. package/dist/esm/chunk-531b8274.js +281 -0
  192. package/dist/esm/chunk-591ee4a2.js +151 -0
  193. package/dist/esm/chunk-5d3bf82e.js +170 -0
  194. package/dist/esm/chunk-5e0b0665.js +104 -0
  195. package/dist/esm/chunk-648b9aa4.js +45 -0
  196. package/dist/esm/chunk-666940cf.js +546 -0
  197. package/dist/esm/chunk-67c97e13.js +246 -0
  198. package/dist/esm/chunk-6844653e.js +401 -0
  199. package/dist/esm/chunk-699b7cb4.js +245 -0
  200. package/dist/esm/chunk-6f881e7d.js +51 -0
  201. package/dist/esm/chunk-7123d158.js +256 -0
  202. package/dist/esm/chunk-7cf87590.js +60 -0
  203. package/dist/esm/chunk-823177ac.js +545 -0
  204. package/dist/esm/chunk-8838757a.js +401 -0
  205. package/dist/esm/chunk-8ca878c0.js +198 -0
  206. package/dist/esm/chunk-8fc2e874.js +85 -0
  207. package/dist/esm/chunk-912ed715.js +92 -0
  208. package/dist/esm/chunk-92acc21f.js +392 -0
  209. package/dist/esm/chunk-98e86f40.js +197 -0
  210. package/dist/esm/chunk-99a1f9df.js +92 -0
  211. package/dist/esm/chunk-9a776697.js +112 -0
  212. package/dist/esm/chunk-9e3207cc.js +46 -0
  213. package/dist/esm/chunk-9ec14e09.js +112 -0
  214. package/dist/esm/chunk-a5ea70d0.js +205 -0
  215. package/dist/esm/chunk-ac3f4847.js +138 -0
  216. package/dist/esm/chunk-b5376f3e.js +92 -0
  217. package/dist/esm/chunk-b56eb2c8.js +197 -0
  218. package/dist/esm/chunk-b796d1b2.js +392 -0
  219. package/dist/esm/chunk-b822a5db.js +205 -0
  220. package/dist/esm/chunk-b9bdb0e4.js +6 -0
  221. package/dist/esm/chunk-bfe15983.js +401 -0
  222. package/dist/esm/chunk-c9039f68.js +104 -0
  223. package/dist/esm/chunk-cc718c15.js +245 -0
  224. package/dist/esm/chunk-cca88db8.js +99 -0
  225. package/dist/esm/chunk-d6200087.js +50 -0
  226. package/dist/esm/chunk-daeac852.js +138 -0
  227. package/dist/esm/chunk-db31c548.js +103 -0
  228. package/dist/esm/chunk-e5568f45.js +84 -0
  229. package/dist/esm/chunk-e5fce48f.js +59 -0
  230. package/dist/esm/chunk-e84b4047.js +170 -0
  231. package/dist/esm/chunk-e8d90b72.js +98 -0
  232. package/dist/esm/chunk-e932bb68.js +206 -0
  233. package/dist/esm/chunk-edd8ff91.js +103 -0
  234. package/dist/esm/chunk-f0465d8d.js +84 -0
  235. package/dist/esm/chunk-f743d154.js +93 -0
  236. package/dist/esm/chunk-f8036b32.js +402 -0
  237. package/dist/esm/chunk-f984748f.js +401 -0
  238. package/dist/esm/chunk-fd5b0e1e.js +99 -0
  239. package/dist/esm/clockpicker.js +443 -0
  240. package/dist/esm/collapse.js +98 -0
  241. package/dist/esm/datepicker.js +1277 -0
  242. package/dist/esm/dialog.js +231 -0
  243. package/dist/esm/dropdown.js +14 -0
  244. package/dist/esm/field.js +14 -0
  245. package/dist/esm/icon.js +13 -0
  246. package/dist/esm/index.js +154 -0
  247. package/dist/esm/input.js +16 -0
  248. package/dist/esm/loading.js +159 -0
  249. package/dist/esm/menu.js +225 -0
  250. package/dist/esm/message.js +61 -0
  251. package/dist/esm/modal.js +42 -0
  252. package/dist/esm/navbar.js +253 -0
  253. package/dist/esm/notification.js +135 -0
  254. package/dist/esm/numberinput.js +187 -0
  255. package/dist/esm/pagination.js +15 -0
  256. package/dist/esm/progress.js +147 -0
  257. package/dist/esm/radio.js +219 -0
  258. package/dist/esm/select.js +16 -0
  259. package/dist/esm/slider.js +506 -0
  260. package/dist/esm/snackbar.js +108 -0
  261. package/dist/esm/steps.js +347 -0
  262. package/dist/esm/switch.js +140 -0
  263. package/dist/esm/table.js +872 -0
  264. package/dist/esm/tabs.js +253 -0
  265. package/dist/esm/tag.js +59 -0
  266. package/dist/esm/taginput.js +293 -0
  267. package/dist/esm/timepicker.js +71 -0
  268. package/dist/esm/toast.js +83 -0
  269. package/dist/esm/tooltip.js +13 -0
  270. package/dist/esm/upload.js +206 -0
  271. package/package.json +26 -4
  272. package/src/components/checkbox/Checkbox.vue +12 -4
  273. package/src/components/checkbox/CheckboxButton.vue +10 -2
  274. package/src/components/clockpicker/Clockpicker.vue +0 -5
  275. package/src/components/datepicker/Datepicker.spec.js +60 -0
  276. package/src/components/datepicker/Datepicker.vue +46 -19
  277. package/src/components/datepicker/DatepickerTable.spec.js +107 -2
  278. package/src/components/datepicker/DatepickerTable.vue +73 -4
  279. package/src/components/datepicker/DatepickerTableRow.spec.js +127 -17
  280. package/src/components/datepicker/DatepickerTableRow.vue +103 -4
  281. package/src/components/dialog/Dialog.vue +5 -3
  282. package/src/components/dialog/index.js +2 -2
  283. package/src/components/dropdown/Dropdown.vue +1 -4
  284. package/src/components/dropdown/DropdownItem.vue +7 -3
  285. package/src/components/field/Field.spec.js +18 -0
  286. package/src/components/field/Field.vue +21 -2
  287. package/src/components/index.js +6 -0
  288. package/src/components/input/Input.vue +2 -2
  289. package/src/components/loading/index.js +1 -1
  290. package/src/components/modal/index.js +1 -1
  291. package/src/components/navbar/NavBar.spec.js +76 -0
  292. package/src/components/navbar/Navbar.vue +127 -0
  293. package/src/components/navbar/NavbarBurger.vue +25 -0
  294. package/src/components/navbar/NavbarItem.vue +21 -0
  295. package/src/components/navbar/index.js +20 -0
  296. package/src/components/notification/index.js +1 -1
  297. package/src/components/pagination/Pagination.vue +28 -6
  298. package/src/components/progress/Progress.spec.js +77 -0
  299. package/src/components/progress/Progress.vue +108 -0
  300. package/src/components/progress/__snapshots__/Progress.spec.js.snap +7 -0
  301. package/src/components/progress/index.js +17 -0
  302. package/src/components/radio/Radio.spec.js +18 -1
  303. package/src/components/radio/Radio.vue +11 -5
  304. package/src/components/radio/RadioButton.spec.js +18 -1
  305. package/src/components/radio/RadioButton.vue +20 -8
  306. package/src/components/select/Select.spec.js +22 -1
  307. package/src/components/select/Select.vue +2 -1
  308. package/src/components/select/__snapshots__/Select.spec.js.snap +7 -0
  309. package/src/components/slider/Slider.spec.js +10 -0
  310. package/src/components/slider/Slider.vue +240 -0
  311. package/src/components/slider/SliderThumb.vue +188 -0
  312. package/src/components/slider/SliderTick.vue +43 -0
  313. package/src/components/slider/index.js +20 -0
  314. package/src/components/snackbar/index.js +2 -2
  315. package/src/components/steps/StepItem.vue +2 -3
  316. package/src/components/steps/Steps.vue +7 -5
  317. package/src/components/switch/Switch.spec.js +29 -0
  318. package/src/components/switch/Switch.vue +29 -5
  319. package/src/components/switch/__snapshots__/Switch.spec.js.snap +3 -0
  320. package/src/components/table/Table.vue +30 -8
  321. package/src/components/table/TableColumn.vue +2 -2
  322. package/src/components/tag/Tag.vue +4 -1
  323. package/src/components/taginput/Taginput.spec.js +10 -0
  324. package/src/components/taginput/Taginput.vue +8 -3
  325. package/src/components/toast/index.js +2 -2
  326. package/src/components/tooltip/Tooltip.vue +5 -5
  327. package/src/components/upload/Upload.vue +15 -8
  328. package/src/index.js +11 -4
  329. package/src/scss/buefy-build.scss +3 -3
  330. package/src/scss/buefy.scss +4 -0
  331. package/src/scss/components/_datepicker.scss +40 -1
  332. package/src/scss/components/_form.scss +52 -1
  333. package/src/scss/components/_progress.scss +45 -0
  334. package/src/scss/components/_radio.scss +14 -14
  335. package/src/scss/components/_slider.scss +138 -0
  336. package/src/scss/components/_steps.scss +4 -4
  337. package/src/scss/components/_switch.scss +54 -2
  338. package/src/scss/components/_taginput.scss +3 -0
  339. package/src/scss/components/_upload.scss +1 -3
  340. package/src/utils/SlotComponent.js +9 -2
  341. package/src/utils/TimepickerMixin.js +17 -6
  342. package/src/utils/config.js +4 -1
  343. package/src/utils/helpers.spec.js +67 -0
  344. package/src/utils/plugins.js +2 -1
  345. package/types/components.d.ts +3 -3
  346. package/types/index.d.ts +24 -11
  347. package/dist/components/index.js +0 -2
@@ -0,0 +1,393 @@
1
+ /*! Buefy v0.7.10 | MIT License | github.com/buefy/buefy */
2
+ import { _ as _defineProperty, a as _typeof } from './chunk-6f881e7d.js';
3
+ import { g as getValueByPath } from './chunk-7cf87590.js';
4
+ import { F as FormElementMixin } from './chunk-0566c90d.js';
5
+ import { _ as __vue_normalize__ } from './chunk-fd5b0e1e.js';
6
+ import { I as Input } from './chunk-8ca878c0.js';
7
+
8
+ var script = {
9
+ name: 'BAutocomplete',
10
+ components: _defineProperty({}, Input.name, Input),
11
+ mixins: [FormElementMixin],
12
+ inheritAttrs: false,
13
+ props: {
14
+ value: [Number, String],
15
+ data: {
16
+ type: Array,
17
+ default: function _default() {
18
+ return [];
19
+ }
20
+ },
21
+ field: {
22
+ type: String,
23
+ default: 'value'
24
+ },
25
+ keepFirst: Boolean,
26
+ clearOnSelect: Boolean,
27
+ openOnFocus: Boolean,
28
+ customFormatter: Function
29
+ },
30
+ data: function data() {
31
+ return {
32
+ selected: null,
33
+ hovered: null,
34
+ isActive: false,
35
+ newValue: this.value,
36
+ newAutocomplete: this.autocomplete || 'off',
37
+ isListInViewportVertically: true,
38
+ hasFocus: false,
39
+ _isAutocomplete: true,
40
+ _elementRef: 'input'
41
+ };
42
+ },
43
+ computed: {
44
+ /**
45
+ * White-listed items to not close when clicked.
46
+ * Add input, dropdown and all children.
47
+ */
48
+ whiteList: function whiteList() {
49
+ var whiteList = [];
50
+ whiteList.push(this.$refs.input.$el.querySelector('input'));
51
+ whiteList.push(this.$refs.dropdown); // Add all chidren from dropdown
52
+
53
+ if (this.$refs.dropdown !== undefined) {
54
+ var children = this.$refs.dropdown.querySelectorAll('*');
55
+ var _iteratorNormalCompletion = true;
56
+ var _didIteratorError = false;
57
+ var _iteratorError = undefined;
58
+
59
+ try {
60
+ for (var _iterator = children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
61
+ var child = _step.value;
62
+ whiteList.push(child);
63
+ }
64
+ } catch (err) {
65
+ _didIteratorError = true;
66
+ _iteratorError = err;
67
+ } finally {
68
+ try {
69
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
70
+ _iterator.return();
71
+ }
72
+ } finally {
73
+ if (_didIteratorError) {
74
+ throw _iteratorError;
75
+ }
76
+ }
77
+ }
78
+ }
79
+
80
+ return whiteList;
81
+ },
82
+
83
+ /**
84
+ * Check if exists default slot
85
+ */
86
+ hasDefaultSlot: function hasDefaultSlot() {
87
+ return !!this.$scopedSlots.default;
88
+ },
89
+
90
+ /**
91
+ * Check if exists "empty" slot
92
+ */
93
+ hasEmptySlot: function hasEmptySlot() {
94
+ return !!this.$slots.empty;
95
+ },
96
+
97
+ /**
98
+ * Check if exists "header" slot
99
+ */
100
+ hasHeaderSlot: function hasHeaderSlot() {
101
+ return !!this.$slots.header;
102
+ },
103
+
104
+ /**
105
+ * Check if exists "footer" slot
106
+ */
107
+ hasFooterSlot: function hasFooterSlot() {
108
+ return !!this.$slots.footer;
109
+ }
110
+ },
111
+ watch: {
112
+ /**
113
+ * When dropdown is toggled, check the visibility to know when
114
+ * to open upwards.
115
+ */
116
+ isActive: function isActive(active) {
117
+ var _this = this;
118
+
119
+ if (active) {
120
+ this.calcDropdownInViewportVertical();
121
+ } else {
122
+ this.$nextTick(function () {
123
+ return _this.setHovered(null);
124
+ }); // Timeout to wait for the animation to finish before recalculating
125
+
126
+ setTimeout(function () {
127
+ _this.calcDropdownInViewportVertical();
128
+ }, 100);
129
+ }
130
+ },
131
+
132
+ /**
133
+ * When updating input's value
134
+ * 1. Emit changes
135
+ * 2. If value isn't the same as selected, set null
136
+ * 3. Close dropdown if value is clear or else open it
137
+ */
138
+ newValue: function newValue(value) {
139
+ this.$emit('input', value); // Check if selected is invalid
140
+
141
+ var currentValue = this.getValue(this.selected);
142
+
143
+ if (currentValue && currentValue !== value) {
144
+ this.setSelected(null, false);
145
+ } // Close dropdown if input is clear or else open it
146
+
147
+
148
+ if (this.hasFocus && (!this.openOnFocus || value)) {
149
+ this.isActive = !!value;
150
+ }
151
+ },
152
+
153
+ /**
154
+ * When v-model is changed:
155
+ * 1. Update internal value.
156
+ * 2. If it's invalid, validate again.
157
+ */
158
+ value: function value(_value) {
159
+ this.newValue = _value;
160
+ !this.isValid && this.$refs.input.checkHtml5Validity();
161
+ },
162
+
163
+ /**
164
+ * Select first option if "keep-first
165
+ */
166
+ data: function data(value) {
167
+ // Keep first option always pre-selected
168
+ if (this.keepFirst) {
169
+ this.selectFirstOption(value);
170
+ }
171
+ }
172
+ },
173
+ methods: {
174
+ /**
175
+ * Set which option is currently hovered.
176
+ */
177
+ setHovered: function setHovered(option) {
178
+ if (option === undefined) return;
179
+ this.hovered = option;
180
+ },
181
+
182
+ /**
183
+ * Set which option is currently selected, update v-model,
184
+ * update input value and close dropdown.
185
+ */
186
+ setSelected: function setSelected(option) {
187
+ var _this2 = this;
188
+
189
+ var closeDropdown = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
190
+ if (option === undefined) return;
191
+ this.selected = option;
192
+ this.$emit('select', this.selected);
193
+
194
+ if (this.selected !== null) {
195
+ this.newValue = this.clearOnSelect ? '' : this.getValue(this.selected);
196
+ }
197
+
198
+ closeDropdown && this.$nextTick(function () {
199
+ _this2.isActive = false;
200
+ });
201
+ },
202
+
203
+ /**
204
+ * Select first option
205
+ */
206
+ selectFirstOption: function selectFirstOption(options) {
207
+ var _this3 = this;
208
+
209
+ this.$nextTick(function () {
210
+ if (options.length) {
211
+ // If has visible data or open on focus, keep updating the hovered
212
+ if (_this3.openOnFocus || _this3.newValue !== '' && _this3.hovered !== options[0]) {
213
+ _this3.setHovered(options[0]);
214
+ }
215
+ } else {
216
+ _this3.setHovered(null);
217
+ }
218
+ });
219
+ },
220
+
221
+ /**
222
+ * Enter key listener.
223
+ * Select the hovered option.
224
+ */
225
+ enterPressed: function enterPressed() {
226
+ if (this.hovered === null) return;
227
+ this.setSelected(this.hovered);
228
+ },
229
+
230
+ /**
231
+ * Tab key listener.
232
+ * Select hovered option if it exists, close dropdown, then allow
233
+ * native handling to move to next tabbable element.
234
+ */
235
+ tabPressed: function tabPressed() {
236
+ if (this.hovered === null) {
237
+ this.isActive = false;
238
+ return;
239
+ }
240
+
241
+ this.setSelected(this.hovered);
242
+ },
243
+
244
+ /**
245
+ * Close dropdown if clicked outside.
246
+ */
247
+ clickedOutside: function clickedOutside(event) {
248
+ if (this.whiteList.indexOf(event.target) < 0) this.isActive = false;
249
+ },
250
+
251
+ /**
252
+ * Return display text for the input.
253
+ * If object, get value from path, or else just the value.
254
+ */
255
+ getValue: function getValue(option) {
256
+ if (!option) return;
257
+
258
+ if (typeof this.customFormatter !== 'undefined') {
259
+ return this.customFormatter(option);
260
+ }
261
+
262
+ return _typeof(option) === 'object' ? getValueByPath(option, this.field) : option;
263
+ },
264
+
265
+ /**
266
+ * Calculate if the dropdown is vertically visible when activated,
267
+ * otherwise it is openened upwards.
268
+ */
269
+ calcDropdownInViewportVertical: function calcDropdownInViewportVertical() {
270
+ var _this4 = this;
271
+
272
+ this.$nextTick(function () {
273
+ /**
274
+ * this.$refs.dropdown may be undefined
275
+ * when Autocomplete is conditional rendered
276
+ */
277
+ if (_this4.$refs.dropdown === undefined) return;
278
+
279
+ var rect = _this4.$refs.dropdown.getBoundingClientRect();
280
+
281
+ _this4.isListInViewportVertically = rect.top >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight);
282
+ });
283
+ },
284
+
285
+ /**
286
+ * Arrows keys listener.
287
+ * If dropdown is active, set hovered option, or else just open.
288
+ */
289
+ keyArrows: function keyArrows(direction) {
290
+ var sum = direction === 'down' ? 1 : -1;
291
+
292
+ if (this.isActive) {
293
+ var index = this.data.indexOf(this.hovered) + sum;
294
+ index = index > this.data.length - 1 ? this.data.length : index;
295
+ index = index < 0 ? 0 : index;
296
+ this.setHovered(this.data[index]);
297
+ var list = this.$refs.dropdown.querySelector('.dropdown-content');
298
+ var element = list.querySelectorAll('a.dropdown-item:not(.is-disabled)')[index];
299
+ if (!element) return;
300
+ var visMin = list.scrollTop;
301
+ var visMax = list.scrollTop + list.clientHeight - element.clientHeight;
302
+
303
+ if (element.offsetTop < visMin) {
304
+ list.scrollTop = element.offsetTop;
305
+ } else if (element.offsetTop >= visMax) {
306
+ list.scrollTop = element.offsetTop - list.clientHeight + element.clientHeight;
307
+ }
308
+ } else {
309
+ this.isActive = true;
310
+ }
311
+ },
312
+
313
+ /**
314
+ * Focus listener.
315
+ * If value is the same as selected, select all text.
316
+ */
317
+ focused: function focused(event) {
318
+ if (this.getValue(this.selected) === this.newValue) {
319
+ this.$el.querySelector('input').select();
320
+ }
321
+
322
+ if (this.openOnFocus) {
323
+ this.isActive = true;
324
+
325
+ if (this.keepFirst) {
326
+ this.selectFirstOption(this.data);
327
+ }
328
+ }
329
+
330
+ this.hasFocus = true;
331
+ this.$emit('focus', event);
332
+ },
333
+
334
+ /**
335
+ * Blur listener.
336
+ */
337
+ onBlur: function onBlur(event) {
338
+ this.hasFocus = false;
339
+ this.$emit('blur', event);
340
+ },
341
+ onInput: function onInput(event) {
342
+ var currentValue = this.getValue(this.selected);
343
+ if (currentValue && currentValue === this.newValue) return;
344
+ this.$emit('typing', this.newValue);
345
+ }
346
+ },
347
+ created: function created() {
348
+ if (typeof window !== 'undefined') {
349
+ document.addEventListener('click', this.clickedOutside);
350
+ window.addEventListener('resize', this.calcDropdownInViewportVertical);
351
+ }
352
+ },
353
+ beforeDestroy: function beforeDestroy() {
354
+ if (typeof window !== 'undefined') {
355
+ document.removeEventListener('click', this.clickedOutside);
356
+ window.removeEventListener('resize', this.calcDropdownInViewportVertical);
357
+ }
358
+ }
359
+ };
360
+
361
+ /* script */
362
+ const __vue_script__ = script;
363
+
364
+ /* template */
365
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"autocomplete control",class:{'is-expanded': _vm.expanded}},[_c('b-input',_vm._b({ref:"input",attrs:{"type":"text","size":_vm.size,"loading":_vm.loading,"rounded":_vm.rounded,"icon":_vm.icon,"icon-pack":_vm.iconPack,"maxlength":_vm.maxlength,"autocomplete":_vm.newAutocomplete,"use-html5-validation":_vm.useHtml5Validation},on:{"input":_vm.onInput,"focus":_vm.focused,"blur":_vm.onBlur},nativeOn:{"keyup":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"esc",27,$event.key)){ return null; }$event.preventDefault();_vm.isActive = false;},"keydown":[function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"tab",9,$event.key)){ return null; }_vm.tabPressed($event);},function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"enter",13,$event.key)){ return null; }$event.preventDefault();_vm.enterPressed($event);},function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"up",38,$event.key)){ return null; }$event.preventDefault();_vm.keyArrows('up');},function($event){if(!('button' in $event)&&_vm._k($event.keyCode,"down",40,$event.key)){ return null; }$event.preventDefault();_vm.keyArrows('down');}]},model:{value:(_vm.newValue),callback:function ($$v) {_vm.newValue=$$v;},expression:"newValue"}},'b-input',_vm.$attrs,false)),_vm._v(" "),_c('transition',{attrs:{"name":"fade"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive && (_vm.data.length > 0 || _vm.hasEmptySlot || _vm.hasHeaderSlot)),expression:"isActive && (data.length > 0 || hasEmptySlot || hasHeaderSlot)"}],ref:"dropdown",staticClass:"dropdown-menu",class:{ 'is-opened-top': !_vm.isListInViewportVertically }},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"dropdown-content"},[(_vm.hasHeaderSlot)?_c('div',{staticClass:"dropdown-item"},[_vm._t("header")],2):_vm._e(),_vm._v(" "),_vm._l((_vm.data),function(option,index){return _c('a',{key:index,staticClass:"dropdown-item",class:{ 'is-hovered': option === _vm.hovered },on:{"click":function($event){_vm.setSelected(option);}}},[(_vm.hasDefaultSlot)?_vm._t("default",null,{option:option,index:index}):_c('span',[_vm._v("\n "+_vm._s(_vm.getValue(option, true))+"\n ")])],2)}),_vm._v(" "),(_vm.data.length === 0 && _vm.hasEmptySlot)?_c('div',{staticClass:"dropdown-item is-disabled"},[_vm._t("empty")],2):_vm._e(),_vm._v(" "),(_vm.hasFooterSlot)?_c('div',{staticClass:"dropdown-item"},[_vm._t("footer")],2):_vm._e()],2)])])],1)};
366
+ var __vue_staticRenderFns__ = [];
367
+
368
+ /* style */
369
+ const __vue_inject_styles__ = undefined;
370
+ /* scoped */
371
+ const __vue_scope_id__ = undefined;
372
+ /* module identifier */
373
+ const __vue_module_identifier__ = undefined;
374
+ /* functional template */
375
+ const __vue_is_functional_template__ = false;
376
+ /* style inject */
377
+
378
+ /* style inject SSR */
379
+
380
+
381
+
382
+ var Autocomplete = __vue_normalize__(
383
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
384
+ __vue_inject_styles__,
385
+ __vue_script__,
386
+ __vue_scope_id__,
387
+ __vue_is_functional_template__,
388
+ __vue_module_identifier__,
389
+ undefined,
390
+ undefined
391
+ );
392
+
393
+ export { Autocomplete as A };
@@ -0,0 +1,245 @@
1
+ import { _ as _defineProperty } from './chunk-d6200087.js';
2
+ import { I as Icon } from './chunk-4d393f09.js';
3
+ import { _ as __vue_normalize__ } from './chunk-cca88db8.js';
4
+
5
+ var script = {
6
+ name: 'BPagination',
7
+ components: _defineProperty({}, Icon.name, Icon),
8
+ props: {
9
+ total: [Number, String],
10
+ perPage: {
11
+ type: [Number, String],
12
+ default: 20
13
+ },
14
+ current: {
15
+ type: [Number, String],
16
+ default: 1
17
+ },
18
+ rangeBefore: {
19
+ type: [Number, String],
20
+ default: 1
21
+ },
22
+ rangeAfter: {
23
+ type: [Number, String],
24
+ default: 1
25
+ },
26
+ size: String,
27
+ simple: Boolean,
28
+ rounded: Boolean,
29
+ order: String,
30
+ iconPack: String,
31
+ ariaNextLabel: String,
32
+ ariaPreviousLabel: String,
33
+ ariaPageLabel: String,
34
+ ariaCurrentLabel: String
35
+ },
36
+ computed: {
37
+ rootClasses: function rootClasses() {
38
+ return [this.order, this.size, {
39
+ 'is-simple': this.simple,
40
+ 'is-rounded': this.rounded
41
+ }];
42
+ },
43
+ beforeCurrent: function beforeCurrent() {
44
+ return parseInt(this.rangeBefore);
45
+ },
46
+ afterCurrent: function afterCurrent() {
47
+ return parseInt(this.rangeAfter);
48
+ },
49
+
50
+ /**
51
+ * Total page size (count).
52
+ */
53
+ pageCount: function pageCount() {
54
+ return Math.ceil(this.total / this.perPage);
55
+ },
56
+
57
+ /**
58
+ * First item of the page (count).
59
+ */
60
+ firstItem: function firstItem() {
61
+ var firstItem = this.current * this.perPage - this.perPage + 1;
62
+ return firstItem >= 0 ? firstItem : 0;
63
+ },
64
+
65
+ /**
66
+ * Check if previous button is available.
67
+ */
68
+ hasPrev: function hasPrev() {
69
+ return this.current > 1;
70
+ },
71
+
72
+ /**
73
+ * Check if first page button should be visible.
74
+ */
75
+ hasFirst: function hasFirst() {
76
+ return this.current >= 2 + this.beforeCurrent;
77
+ },
78
+
79
+ /**
80
+ * Check if first ellipsis should be visible.
81
+ */
82
+ hasFirstEllipsis: function hasFirstEllipsis() {
83
+ return this.current >= this.beforeCurrent + 4;
84
+ },
85
+
86
+ /**
87
+ * Check if last page button should be visible.
88
+ */
89
+ hasLast: function hasLast() {
90
+ return this.current <= this.pageCount - (1 + this.afterCurrent);
91
+ },
92
+
93
+ /**
94
+ * Check if last ellipsis should be visible.
95
+ */
96
+ hasLastEllipsis: function hasLastEllipsis() {
97
+ return this.current < this.pageCount - (2 + this.afterCurrent);
98
+ },
99
+
100
+ /**
101
+ * Check if next button is available.
102
+ */
103
+ hasNext: function hasNext() {
104
+ return this.current < this.pageCount;
105
+ },
106
+
107
+ /**
108
+ * Get near pages, 1 before and 1 after the current.
109
+ * Also add the click event to the array.
110
+ */
111
+ pagesInRange: function pagesInRange() {
112
+ var _this = this;
113
+
114
+ if (this.simple) return;
115
+ var left = Math.max(1, this.current - this.beforeCurrent);
116
+
117
+ if (left - 1 === 2) {
118
+ left--; // Do not show the ellipsis if there is only one to hide
119
+ }
120
+
121
+ var right = Math.min(this.current + this.afterCurrent, this.pageCount);
122
+
123
+ if (this.pageCount - right === 2) {
124
+ right++; // Do not show the ellipsis if there is only one to hide
125
+ }
126
+
127
+ var pages = [];
128
+
129
+ var _loop = function _loop(i) {
130
+ pages.push({
131
+ number: i,
132
+ isCurrent: _this.current === i,
133
+ click: function click(event) {
134
+ if (_this.current === i) return;
135
+
136
+ _this.$emit('change', i);
137
+
138
+ _this.$emit('update:current', i); // Set focus on element to keep tab order
139
+
140
+
141
+ _this.$nextTick(function () {
142
+ return event.target.focus();
143
+ });
144
+ }
145
+ });
146
+ };
147
+
148
+ for (var i = left; i <= right; i++) {
149
+ _loop(i);
150
+ }
151
+
152
+ return pages;
153
+ }
154
+ },
155
+ watch: {
156
+ /**
157
+ * If current page is trying to be greater than page count, set to last.
158
+ */
159
+ pageCount: function pageCount(value) {
160
+ if (this.current > value) this.last();
161
+ }
162
+ },
163
+ methods: {
164
+ /**
165
+ * Previous button click listener.
166
+ */
167
+ prev: function prev() {
168
+ if (!this.hasPrev) return;
169
+ this.$emit('change', this.current - 1);
170
+ this.$emit('update:current', this.current - 1);
171
+ },
172
+
173
+ /**
174
+ * First button click listener.
175
+ */
176
+ first: function first() {
177
+ this.$emit('change', 1);
178
+ this.$emit('update:current', 1);
179
+ },
180
+
181
+ /**
182
+ * Last button click listener.
183
+ */
184
+ last: function last() {
185
+ this.$emit('change', this.pageCount);
186
+ this.$emit('update:current', this.pageCount);
187
+ },
188
+
189
+ /**
190
+ * Next button click listener.
191
+ */
192
+ next: function next() {
193
+ if (!this.hasNext) return;
194
+ this.$emit('change', this.current + 1);
195
+ this.$emit('update:current', this.current + 1);
196
+ },
197
+
198
+ /**
199
+ * Get text for aria-label according to page number.
200
+ */
201
+ getAriaPageLabel: function getAriaPageLabel(pageNumber, isCurrent) {
202
+ if (this.ariaPageLabel && (!isCurrent || !this.ariaCurrentLabel)) {
203
+ return this.ariaPageLabel + ' ' + pageNumber + '.';
204
+ } else if (this.ariaPageLabel && isCurrent && this.ariaCurrentLabel) {
205
+ return this.ariaCurrentLabel + ', ' + this.ariaPageLabel + ' ' + pageNumber + '.';
206
+ }
207
+
208
+ return null;
209
+ }
210
+ }
211
+ };
212
+
213
+ /* script */
214
+ const __vue_script__ = script;
215
+
216
+ /* template */
217
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"pagination",class:_vm.rootClasses},[_c('a',{staticClass:"pagination-previous",attrs:{"role":"button","href":"#","disabled":!_vm.hasPrev,"aria-label":_vm.ariaPreviousLabel},on:{"click":function($event){$event.preventDefault();_vm.prev($event);}}},[_c('b-icon',{attrs:{"icon":"chevron-left","pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],1),_vm._v(" "),_c('a',{staticClass:"pagination-next",attrs:{"role":"button","href":"#","disabled":!_vm.hasNext,"aria-label":_vm.ariaNextLabel},on:{"click":function($event){$event.preventDefault();_vm.next($event);}}},[_c('b-icon',{attrs:{"icon":"chevron-right","pack":_vm.iconPack,"both":"","aria-hidden":"true"}})],1),_vm._v(" "),(!_vm.simple)?_c('ul',{staticClass:"pagination-list"},[(_vm.hasFirst)?_c('li',[_c('a',{staticClass:"pagination-link",attrs:{"role":"button","href":"#","aria-label":_vm.getAriaPageLabel(1, false)},on:{"click":function($event){$event.preventDefault();_vm.first($event);}}},[_vm._v("\n 1\n ")])]):_vm._e(),_vm._v(" "),(_vm.hasFirstEllipsis)?_c('li',[_c('span',{staticClass:"pagination-ellipsis"},[_vm._v("…")])]):_vm._e(),_vm._v(" "),_vm._l((_vm.pagesInRange),function(page){return _c('li',{key:page.number},[_c('a',{staticClass:"pagination-link",class:{ 'is-current': page.isCurrent },attrs:{"role":"button","href":"#","aria-label":_vm.getAriaPageLabel(page.number, page.isCurrent),"aria-current":page.isCurrent},on:{"click":function($event){$event.preventDefault();page.click($event);}}},[_vm._v("\n "+_vm._s(page.number)+"\n ")])])}),_vm._v(" "),(_vm.hasLastEllipsis)?_c('li',[_c('span',{staticClass:"pagination-ellipsis"},[_vm._v("…")])]):_vm._e(),_vm._v(" "),(_vm.hasLast)?_c('li',[_c('a',{staticClass:"pagination-link",attrs:{"role":"button","href":"#","aria-label":_vm.getAriaPageLabel(_vm.pageCount, false)},on:{"click":function($event){$event.preventDefault();_vm.last($event);}}},[_vm._v("\n "+_vm._s(_vm.pageCount)+"\n ")])]):_vm._e()],2):_vm._e(),_vm._v(" "),(_vm.simple)?_c('small',{staticClass:"info"},[(_vm.perPage == 1)?[_vm._v("\n "+_vm._s(_vm.firstItem)+" / "+_vm._s(_vm.total)+"\n ")]:[_vm._v("\n "+_vm._s(_vm.firstItem)+"-"+_vm._s(Math.min(_vm.current * _vm.perPage, _vm.total))+" / "+_vm._s(_vm.total)+"\n ")]],2):_vm._e()])};
218
+ var __vue_staticRenderFns__ = [];
219
+
220
+ /* style */
221
+ const __vue_inject_styles__ = undefined;
222
+ /* scoped */
223
+ const __vue_scope_id__ = undefined;
224
+ /* module identifier */
225
+ const __vue_module_identifier__ = undefined;
226
+ /* functional template */
227
+ const __vue_is_functional_template__ = false;
228
+ /* style inject */
229
+
230
+ /* style inject SSR */
231
+
232
+
233
+
234
+ var Pagination = __vue_normalize__(
235
+ { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
236
+ __vue_inject_styles__,
237
+ __vue_script__,
238
+ __vue_scope_id__,
239
+ __vue_is_functional_template__,
240
+ __vue_module_identifier__,
241
+ undefined,
242
+ undefined
243
+ );
244
+
245
+ export { Pagination as P };
@@ -0,0 +1,46 @@
1
+ /*! Buefy v0.7.10 | MIT License | github.com/buefy/buefy */
2
+ var config = {
3
+ defaultContainerElement: null,
4
+ defaultIconPack: 'mdi',
5
+ defaultIconComponent: null,
6
+ defaultDialogConfirmText: null,
7
+ defaultDialogCancelText: null,
8
+ defaultSnackbarDuration: 3500,
9
+ defaultSnackbarPosition: null,
10
+ defaultToastDuration: 2000,
11
+ defaultToastPosition: null,
12
+ defaultNotificationDuration: 2000,
13
+ defaultNotificationPosition: null,
14
+ defaultTooltipType: 'is-primary',
15
+ defaultTooltipAnimated: false,
16
+ defaultTooltipDelay: 0,
17
+ defaultInputAutocomplete: 'on',
18
+ defaultDateFormatter: null,
19
+ defaultDateParser: null,
20
+ defaultDateCreator: null,
21
+ defaultDayNames: null,
22
+ defaultMonthNames: null,
23
+ defaultFirstDayOfWeek: null,
24
+ defaultUnselectableDaysOfWeek: null,
25
+ defaultTimeFormatter: null,
26
+ defaultTimeParser: null,
27
+ defaultModalCanCancel: ['escape', 'x', 'outside', 'button'],
28
+ defaultModalScroll: null,
29
+ defaultDatepickerMobileNative: true,
30
+ defaultTimepickerMobileNative: true,
31
+ defaultNoticeQueue: true,
32
+ defaultInputHasCounter: true,
33
+ defaultTaginputHasCounter: true,
34
+ defaultUseHtml5Validation: true,
35
+ defaultDropdownMobileModal: true,
36
+ defaultFieldLabelPosition: null,
37
+ defaultDatepickerYearsRange: [-100, 3],
38
+ defaultDatepickerNearbyMonthDays: true,
39
+ defaultDatepickerNearbySelectableMonthDays: false
40
+ };
41
+ var config$1 = config;
42
+ var setOptions = function setOptions(options) {
43
+ config = options;
44
+ };
45
+
46
+ export { config$1 as c, setOptions as s };