card 1.96.2 → 1.96.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (409) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/config/initializers/patches.rb +1 -1
  4. data/db/migrate_core_cards/20130823192433_add_style_cards.rb +1 -1
  5. data/db/migrate_core_cards/20170314175313_add_notification_event_card.rb +2 -3
  6. data/db/migrate_core_cards/data/1.11_help_text.json +16 -16
  7. data/db/migrate_core_cards/data/1.13_config_text.json +2 -2
  8. data/db/migrate_core_cards/data/1.14_config_descriptions_etc.json +12 -12
  9. data/db/migrate_core_cards/data/bootstrap_layout.json +1 -1
  10. data/db/seed/new/card_actions.yml +799 -799
  11. data/db/seed/new/card_acts.yml +2 -2
  12. data/db/seed/new/cards.yml +1610 -1610
  13. data/db/seed/new/schema_migrations.yml +8 -10
  14. data/db/seed/test/fixtures/card_actions.yml +1789 -1789
  15. data/db/seed/test/fixtures/card_acts.yml +447 -447
  16. data/db/seed/test/fixtures/card_changes.yml +66 -66
  17. data/db/seed/test/fixtures/card_references.yml +575 -575
  18. data/db/seed/test/fixtures/cards.yml +2612 -2612
  19. data/db/seed/test/seed.rb +2 -1
  20. data/lib/card/format/error.rb +12 -6
  21. data/lib/card/model/save_helper.rb +2 -1
  22. data/lib/card/query.rb +1 -1
  23. data/lib/card/set.rb +22 -12
  24. data/lib/card/view/cache.rb +3 -3
  25. data/lib/cardio.rb +3 -1
  26. data/mod/ace_editor/db/migrate_core_cards/20160804112538_add_ace_cards.rb +1 -1
  27. data/mod/basic_formats/set/all/base.rb +16 -2
  28. data/mod/basic_formats/set/all/json.rb +16 -14
  29. data/mod/bootstrap/lib/stylesheets/style_bootstrap_cards.scss +54 -4
  30. data/mod/bootstrap/vendor/bootstrap/Gemfile +3 -3
  31. data/mod/bootstrap/vendor/bootstrap/Gemfile.lock +15 -15
  32. data/mod/bootstrap/vendor/bootstrap/README.md +36 -30
  33. data/mod/bootstrap/vendor/bootstrap/_config.yml +12 -30
  34. data/mod/bootstrap/vendor/bootstrap/build/build-plugins.js +81 -0
  35. data/mod/bootstrap/vendor/bootstrap/build/generate-sri.js +2 -2
  36. data/mod/bootstrap/vendor/bootstrap/build/workbox.config.json +1 -1
  37. data/mod/bootstrap/vendor/bootstrap/build/workbox.js +1 -1
  38. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-grid.css +1 -1
  39. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-grid.css.map +1 -1
  40. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-grid.min.css +1 -1
  41. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-grid.min.css.map +1 -1
  42. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-reboot.css +5 -4
  43. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-reboot.css.map +1 -1
  44. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-reboot.min.css +2 -2
  45. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap-reboot.min.css.map +1 -1
  46. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap.css +145 -96
  47. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap.css.map +1 -1
  48. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap.min.css +2 -2
  49. data/mod/bootstrap/vendor/bootstrap/dist/css/bootstrap.min.css.map +1 -1
  50. data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.bundle.js +123 -106
  51. data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.bundle.js.map +1 -1
  52. data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.bundle.min.js +2 -2
  53. data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -1
  54. data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.js +123 -106
  55. data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.js.map +1 -1
  56. data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.min.js +2 -2
  57. data/mod/bootstrap/vendor/bootstrap/dist/js/bootstrap.min.js.map +1 -1
  58. data/mod/bootstrap/vendor/bootstrap/js/dist/alert.js +160 -134
  59. data/mod/bootstrap/vendor/bootstrap/js/dist/alert.js.map +1 -1
  60. data/mod/bootstrap/vendor/bootstrap/js/dist/button.js +150 -125
  61. data/mod/bootstrap/vendor/bootstrap/js/dist/button.js.map +1 -1
  62. data/mod/bootstrap/vendor/bootstrap/js/dist/carousel.js +465 -406
  63. data/mod/bootstrap/vendor/bootstrap/js/dist/carousel.js.map +1 -1
  64. data/mod/bootstrap/vendor/bootstrap/js/dist/collapse.js +338 -274
  65. data/mod/bootstrap/vendor/bootstrap/js/dist/collapse.js.map +1 -1
  66. data/mod/bootstrap/vendor/bootstrap/js/dist/dropdown.js +442 -379
  67. data/mod/bootstrap/vendor/bootstrap/js/dist/dropdown.js.map +1 -1
  68. data/mod/bootstrap/vendor/bootstrap/js/dist/index.js +1 -1
  69. data/mod/bootstrap/vendor/bootstrap/js/dist/index.js.map +1 -1
  70. data/mod/bootstrap/vendor/bootstrap/js/dist/modal.js +503 -454
  71. data/mod/bootstrap/vendor/bootstrap/js/dist/modal.js.map +1 -1
  72. data/mod/bootstrap/vendor/bootstrap/js/dist/popover.js +224 -164
  73. data/mod/bootstrap/vendor/bootstrap/js/dist/popover.js.map +1 -1
  74. data/mod/bootstrap/vendor/bootstrap/js/dist/scrollspy.js +308 -248
  75. data/mod/bootstrap/vendor/bootstrap/js/dist/scrollspy.js.map +1 -1
  76. data/mod/bootstrap/vendor/bootstrap/js/dist/tab.js +218 -191
  77. data/mod/bootstrap/vendor/bootstrap/js/dist/tab.js.map +1 -1
  78. data/mod/bootstrap/vendor/bootstrap/js/dist/tooltip.js +584 -524
  79. data/mod/bootstrap/vendor/bootstrap/js/dist/tooltip.js.map +1 -1
  80. data/mod/bootstrap/vendor/bootstrap/js/dist/util.js +130 -118
  81. data/mod/bootstrap/vendor/bootstrap/js/dist/util.js.map +1 -1
  82. data/mod/bootstrap/vendor/bootstrap/js/src/alert.js +3 -3
  83. data/mod/bootstrap/vendor/bootstrap/js/src/button.js +7 -7
  84. data/mod/bootstrap/vendor/bootstrap/js/src/carousel.js +16 -13
  85. data/mod/bootstrap/vendor/bootstrap/js/src/collapse.js +25 -21
  86. data/mod/bootstrap/vendor/bootstrap/js/src/dropdown.js +16 -9
  87. data/mod/bootstrap/vendor/bootstrap/js/src/index.js +1 -1
  88. data/mod/bootstrap/vendor/bootstrap/js/src/modal.js +30 -30
  89. data/mod/bootstrap/vendor/bootstrap/js/src/popover.js +2 -2
  90. data/mod/bootstrap/vendor/bootstrap/js/src/scrollspy.js +12 -9
  91. data/mod/bootstrap/vendor/bootstrap/js/src/tab.js +5 -4
  92. data/mod/bootstrap/vendor/bootstrap/js/src/tooltip.js +11 -9
  93. data/mod/bootstrap/vendor/bootstrap/js/src/util.js +2 -3
  94. data/mod/bootstrap/vendor/bootstrap/js/tests/index.html +4 -4
  95. data/mod/bootstrap/vendor/bootstrap/js/tests/karma-bundle.conf.js +2 -2
  96. data/mod/bootstrap/vendor/bootstrap/js/tests/karma.conf.js +7 -2
  97. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/alert.js +1 -0
  98. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/button.js +1 -0
  99. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/carousel.js +1 -0
  100. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/collapse.js +1 -0
  101. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/dropdown.js +69 -0
  102. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/modal.js +3 -43
  103. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/popover.js +1 -0
  104. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/scrollspy.js +1 -0
  105. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/tab.js +1 -0
  106. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/tooltip.js +24 -40
  107. data/mod/bootstrap/vendor/bootstrap/js/tests/unit/util.js +5 -1
  108. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/alert.html +1 -1
  109. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/button.html +1 -1
  110. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/carousel.html +1 -2
  111. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/collapse.html +15 -1
  112. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/dropdown.html +2 -2
  113. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/modal.html +8 -8
  114. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/popover.html +2 -2
  115. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/scrollspy.html +1 -2
  116. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/tab.html +3 -2
  117. data/mod/bootstrap/vendor/bootstrap/js/tests/visual/tooltip.html +35 -23
  118. data/mod/bootstrap/vendor/bootstrap/nuget/bootstrap.nuspec +5 -1
  119. data/mod/bootstrap/vendor/bootstrap/nuget/bootstrap.sass.nuspec +5 -1
  120. data/mod/bootstrap/vendor/bootstrap/package-lock.json +5397 -7292
  121. data/mod/bootstrap/vendor/bootstrap/package.js +1 -1
  122. data/mod/bootstrap/vendor/bootstrap/package.json +63 -64
  123. data/mod/bootstrap/vendor/bootstrap/scss/_buttons.scss +0 -1
  124. data/mod/bootstrap/vendor/bootstrap/scss/_carousel.scss +1 -1
  125. data/mod/bootstrap/vendor/bootstrap/scss/_close.scss +8 -7
  126. data/mod/bootstrap/vendor/bootstrap/scss/_custom-forms.scss +32 -20
  127. data/mod/bootstrap/vendor/bootstrap/scss/_forms.scss +13 -15
  128. data/mod/bootstrap/vendor/bootstrap/scss/_functions.scss +1 -1
  129. data/mod/bootstrap/vendor/bootstrap/scss/_input-group.scss +22 -7
  130. data/mod/bootstrap/vendor/bootstrap/scss/_modal.scss +18 -6
  131. data/mod/bootstrap/vendor/bootstrap/scss/_navbar.scss +2 -2
  132. data/mod/bootstrap/vendor/bootstrap/scss/_reboot.scss +5 -2
  133. data/mod/bootstrap/vendor/bootstrap/scss/_tables.scss +0 -1
  134. data/mod/bootstrap/vendor/bootstrap/scss/_variables.scss +88 -65
  135. data/mod/bootstrap/vendor/bootstrap/scss/bootstrap-grid.scss +1 -1
  136. data/mod/bootstrap/vendor/bootstrap/scss/bootstrap-reboot.scss +1 -1
  137. data/mod/bootstrap/vendor/bootstrap/scss/bootstrap.scss +1 -1
  138. data/mod/bootstrap/vendor/bootstrap/scss/mixins/_breakpoints.scss +1 -1
  139. data/mod/bootstrap/vendor/bootstrap/scss/mixins/_forms.scss +7 -7
  140. data/mod/bootstrap/vendor/bootstrap/scss/mixins/_hover.scss +1 -1
  141. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/breakpoints.yml +0 -0
  142. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/browser-bugs.yml +5 -5
  143. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/browser-features.yml +0 -0
  144. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/colors.yml +0 -0
  145. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/examples.yml +0 -0
  146. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/grays.yml +0 -0
  147. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/nav.yml +0 -0
  148. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/theme-colors.yml +0 -0
  149. data/mod/bootstrap/vendor/bootstrap/{_data → site/_data}/translations.yml +0 -0
  150. data/mod/bootstrap/vendor/bootstrap/site/_includes/ads.html +1 -0
  151. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/bugify.html +0 -0
  152. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/callout-danger-async-methods.md +0 -0
  153. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/callout-info-mediaqueries-breakpoints.md +0 -0
  154. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/callout-warning-color-assistive-technologies.md +0 -0
  155. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/callout.html +0 -0
  156. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/docs-navbar.html +1 -4
  157. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/docs-sidebar.html +0 -0
  158. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/example.html +0 -0
  159. data/mod/bootstrap/vendor/bootstrap/site/_includes/favicons.html +9 -0
  160. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/footer.html +0 -0
  161. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/header.html +5 -7
  162. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/icons/bootstrap.svg +0 -0
  163. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/icons/download.svg +0 -0
  164. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/icons/github.svg +0 -0
  165. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/icons/import.svg +0 -0
  166. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/icons/lightning.svg +0 -0
  167. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/icons/menu.svg +0 -0
  168. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/icons/slack.svg +0 -0
  169. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/icons/twitter.svg +0 -0
  170. data/mod/bootstrap/vendor/bootstrap/site/_includes/scripts.html +26 -0
  171. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/skippy.html +0 -0
  172. data/mod/bootstrap/vendor/bootstrap/{_includes → site/_includes}/social.html +0 -0
  173. data/mod/bootstrap/vendor/bootstrap/{_layouts → site/_layouts}/default.html +0 -0
  174. data/mod/bootstrap/vendor/bootstrap/{_layouts → site/_layouts}/docs.html +0 -0
  175. data/mod/bootstrap/vendor/bootstrap/{_layouts → site/_layouts}/examples.html +0 -0
  176. data/mod/bootstrap/vendor/bootstrap/{_layouts → site/_layouts}/home.html +0 -0
  177. data/mod/bootstrap/vendor/bootstrap/{_layouts → site/_layouts}/redirect.html +1 -1
  178. data/mod/bootstrap/vendor/bootstrap/{_layouts → site/_layouts}/simple.html +0 -0
  179. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/about/brand.md +5 -5
  180. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/about/license.md +0 -0
  181. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/about/overview.md +0 -0
  182. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/about/translations.md +0 -0
  183. data/mod/bootstrap/vendor/bootstrap/site/docs/4.1/assets/brand/bootstrap-outline.svg +4 -0
  184. data/mod/bootstrap/vendor/bootstrap/site/docs/4.1/assets/brand/bootstrap-punchout.svg +4 -0
  185. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/brand/bootstrap-social-logo.png +0 -0
  186. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/brand/bootstrap-social.png +0 -0
  187. data/mod/bootstrap/vendor/bootstrap/site/docs/4.1/assets/brand/bootstrap-solid.svg +4 -0
  188. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/css/docs.min.css +0 -0
  189. data/mod/bootstrap/vendor/bootstrap/site/docs/4.1/assets/css/docs.min.css.map +1 -0
  190. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/bootstrap-stack.png +0 -0
  191. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/bootstrap-themes.png +0 -0
  192. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/android-chrome-192x192.png +0 -0
  193. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/android-chrome-512x512.png +0 -0
  194. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/apple-touch-icon.png +0 -0
  195. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/browserconfig.xml +1 -1
  196. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/favicon-16x16.png +0 -0
  197. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/favicon-32x32.png +0 -0
  198. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/manifest.json +2 -2
  199. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/mstile-144x144.png +0 -0
  200. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/mstile-150x150.png +0 -0
  201. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/mstile-310x150.png +0 -0
  202. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/mstile-310x310.png +0 -0
  203. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/img/favicons/mstile-70x70.png +0 -0
  204. data/mod/bootstrap/vendor/bootstrap/site/docs/4.1/assets/img/favicons/safari-pinned-tab.svg +4 -0
  205. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/docs.min.js +0 -0
  206. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/src/application.js +0 -0
  207. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/src/ie-emulation-modes-warning.js +0 -0
  208. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/src/pwa.js +0 -0
  209. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/src/search.js +0 -0
  210. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/vendor/anchor.min.js +0 -0
  211. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/vendor/clipboard.min.js +0 -0
  212. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/vendor/holder.min.js +0 -0
  213. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/vendor/jquery-slim.min.js +0 -0
  214. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/js/vendor/popper.min.js +0 -0
  215. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_ads.scss +0 -0
  216. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_algolia.scss +0 -0
  217. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_anchor.scss +0 -0
  218. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_brand.scss +0 -0
  219. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_browser-bugs.scss +0 -0
  220. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_buttons.scss +0 -0
  221. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_callouts.scss +0 -0
  222. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_clipboard-js.scss +0 -0
  223. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_colors.scss +0 -0
  224. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_component-examples.scss +0 -0
  225. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_content.scss +0 -0
  226. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_examples.scss +0 -0
  227. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_footer.scss +0 -0
  228. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_masthead.scss +0 -0
  229. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_nav.scss +0 -0
  230. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_sidebar.scss +0 -0
  231. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_skiplink.scss +0 -0
  232. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_syntax.scss +0 -0
  233. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/_variables.scss +0 -0
  234. data/mod/bootstrap/vendor/bootstrap/{assets → site/docs/4.1/assets}/scss/docs.scss +3 -3
  235. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/browser-bugs.md +0 -0
  236. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/alerts.md +0 -0
  237. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/badge.md +0 -0
  238. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/breadcrumb.md +0 -0
  239. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/button-group.md +0 -0
  240. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/buttons.md +0 -0
  241. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/card.md +2 -2
  242. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/carousel.md +0 -0
  243. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/collapse.md +0 -0
  244. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/dropdowns.md +3 -2
  245. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/forms.md +17 -17
  246. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/input-group.md +27 -27
  247. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/jumbotron.md +0 -0
  248. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/list-group.md +0 -0
  249. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/modal.md +0 -0
  250. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/navbar.md +3 -3
  251. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/navs.md +0 -0
  252. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/pagination.md +0 -0
  253. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/popovers.md +2 -2
  254. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/progress.md +0 -0
  255. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/scrollspy.md +0 -0
  256. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/components/tooltips.md +11 -0
  257. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/content/code.md +0 -0
  258. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/content/figures.md +0 -0
  259. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/content/images.md +0 -0
  260. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/content/reboot.md +0 -0
  261. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/content/tables.md +16 -5
  262. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/content/typography.md +0 -0
  263. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/album/album.css +0 -2
  264. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/album/index.html +15 -15
  265. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/blog/blog.css +0 -5
  266. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/blog/index.html +7 -7
  267. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/carousel/carousel.css +0 -0
  268. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/carousel/index.html +5 -5
  269. data/mod/bootstrap/vendor/bootstrap/site/docs/4.1/examples/checkout/form-validation.css +5 -0
  270. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/checkout/index.html +6 -6
  271. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/cover/cover.css +0 -0
  272. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/cover/index.html +4 -4
  273. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/dashboard/dashboard.css +0 -7
  274. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/dashboard/index.html +4 -4
  275. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/floating-labels/floating-labels.css +23 -0
  276. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/floating-labels/index.html +2 -2
  277. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/grid/grid.css +0 -0
  278. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/grid/index.html +9 -9
  279. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/index.html +0 -0
  280. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/jumbotron/index.html +4 -4
  281. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/jumbotron/jumbotron.css +0 -0
  282. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/navbar-bottom/index.html +4 -4
  283. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/navbar-fixed/index.html +4 -4
  284. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/navbar-fixed/navbar-top-fixed.css +0 -0
  285. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/navbar-static/index.html +4 -4
  286. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/navbar-static/navbar-top.css +0 -0
  287. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/navbars/index.html +4 -4
  288. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/navbars/navbar.css +0 -0
  289. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/offcanvas/index.html +10 -10
  290. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/offcanvas/offcanvas.css +0 -4
  291. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/offcanvas/offcanvas.js +0 -0
  292. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/pricing/index.html +10 -10
  293. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/pricing/pricing.css +0 -5
  294. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/product/index.html +15 -15
  295. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/product/product.css +0 -5
  296. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/album.png +0 -0
  297. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/blog.png +0 -0
  298. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/carousel.png +0 -0
  299. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/checkout.png +0 -0
  300. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/cover.png +0 -0
  301. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/dashboard.png +0 -0
  302. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/floating-labels.png +0 -0
  303. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/grid.png +0 -0
  304. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/jumbotron.png +0 -0
  305. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/navbar-bottom.png +0 -0
  306. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/navbar-fixed.png +0 -0
  307. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/navbar-static.png +0 -0
  308. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/navbars.png +0 -0
  309. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/offcanvas.png +0 -0
  310. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/pricing.png +0 -0
  311. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/product.png +0 -0
  312. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/sign-in.png +0 -0
  313. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/starter-template.png +0 -0
  314. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/sticky-footer-navbar.png +0 -0
  315. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/screenshots/sticky-footer.png +0 -0
  316. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/sign-in/index.html +2 -2
  317. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/sign-in/signin.css +0 -0
  318. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/starter-template/index.html +4 -4
  319. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/starter-template/starter-template.css +0 -0
  320. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/sticky-footer-navbar/index.html +4 -4
  321. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css +0 -0
  322. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/sticky-footer/index.html +1 -1
  323. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/sticky-footer/sticky-footer.css +0 -0
  324. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/tooltip-viewport/index.html +4 -4
  325. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/tooltip-viewport/tooltip-viewport.css +0 -0
  326. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/examples/tooltip-viewport/tooltip-viewport.js +0 -0
  327. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/extend/approach.md +0 -0
  328. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/extend/icons.md +1 -1
  329. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/extend/index.md +0 -0
  330. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/accessibility.md +0 -0
  331. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/best-practices.md +0 -0
  332. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/browsers-devices.md +0 -0
  333. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/build-tools.md +1 -1
  334. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/contents.md +12 -8
  335. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/download.md +0 -0
  336. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/introduction.md +2 -0
  337. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/javascript.md +3 -1
  338. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/theming.md +16 -16
  339. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/getting-started/webpack.md +1 -6
  340. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/layout/grid.md +1 -1
  341. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/layout/media-object.md +0 -0
  342. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/layout/overview.md +0 -0
  343. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/layout/utilities-for-layout.md +0 -0
  344. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/migration.md +0 -0
  345. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/borders.md +0 -0
  346. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/clearfix.md +0 -0
  347. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/close-icon.md +0 -0
  348. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/colors.md +1 -1
  349. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/display.md +0 -0
  350. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/embed.md +0 -0
  351. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/flex.md +0 -0
  352. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/float.md +0 -0
  353. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/image-replacement.md +1 -1
  354. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/position.md +0 -0
  355. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/screenreaders.md +0 -0
  356. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/shadows.md +1 -1
  357. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/sizing.md +0 -0
  358. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/spacing.md +0 -0
  359. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/text.md +0 -0
  360. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/vertical-align.md +0 -0
  361. data/mod/bootstrap/vendor/bootstrap/{docs → site/docs}/4.1/utilities/visibility.md +1 -1
  362. data/mod/bootstrap/vendor/bootstrap/{favicon.ico → site/favicon.ico} +0 -0
  363. data/mod/bootstrap/vendor/bootstrap/{index.html → site/index.html} +2 -2
  364. data/mod/bootstrap/vendor/bootstrap/{robots.txt → site/robots.txt} +0 -0
  365. data/mod/bootstrap/vendor/bootstrap/{sw.js → site/sw.js} +1 -1
  366. data/mod/carrierwave/lib/carrier_wave/file_card_uploader.rb +1 -1
  367. data/mod/carrierwave/set/abstract/attachment/upload_cache.rb +5 -8
  368. data/mod/carrierwave/template/type/file/file_chooser.haml +1 -1
  369. data/mod/core/set/abstract/code_file.rb +4 -0
  370. data/mod/core/set/all/haml.rb +2 -2
  371. data/mod/follow/spec/set/all/notify_spec.rb +2 -1
  372. data/mod/google_analytics/set/all/google_analytics.rb +5 -3
  373. data/mod/item/set/all/bar.haml +6 -3
  374. data/mod/item/set/all/bar.rb +27 -12
  375. data/mod/item/set/all/box.haml +4 -3
  376. data/mod/item/set/all/box.rb +1 -1
  377. data/mod/item/set/all/expanded_bar.haml +8 -6
  378. data/mod/item/spec/set/all/bar_spec.rb +3 -3
  379. data/mod/machines/lib/javascript/decko_filter.js.coffee +5 -1
  380. data/mod/machines/lib/stylesheets/style_cards.scss +16 -24
  381. data/mod/pointer/set/abstract/01_paging.rb +4 -4
  382. data/mod/pointer/set/abstract/02_pointer/options_api.rb +10 -12
  383. data/mod/prosemirror_editor/db/migrate_core_cards/20160804112548_add_prosemirror_cards.rb +1 -1
  384. data/mod/search/set/abstract/search.rb +9 -6
  385. data/mod/search/set/abstract/wql_search.rb +20 -5
  386. data/mod/search/set/self/search.rb +1 -1
  387. data/mod/standard/set/all/error.rb +15 -0
  388. data/mod/standard/set/all/rich_html/content.rb +30 -21
  389. data/mod/standard/set/all/rich_html/content/labeled.haml +4 -0
  390. data/mod/standard/set/all/rich_html/error.rb +11 -12
  391. data/mod/standard/set/all/rich_html/title.rb +1 -1
  392. data/mod/standard/spec/content/chunk/include_spec.rb +1 -1
  393. data/mod/standard/spec/set/all/error_spec.rb +1 -1
  394. data/mod/standard/spec/set/type/email_template/email_config_spec.rb +10 -9
  395. data/mod/standard/spec/set/type/uri_spec.rb +7 -7
  396. data/mod/tinymce_editor/db/migrate_core_cards/20160804112560_add_tinymce_cards.rb +1 -1
  397. data/mod/utility/set/abstract/bs_badge/labeled_badge.haml +1 -1
  398. data/mod/utility/set/abstract/media/media_snippet.haml +1 -2
  399. metadata +231 -230
  400. data/mod/bootstrap/vendor/bootstrap/_includes/ads.html +0 -1
  401. data/mod/bootstrap/vendor/bootstrap/_includes/favicons.html +0 -9
  402. data/mod/bootstrap/vendor/bootstrap/_includes/scripts.html +0 -26
  403. data/mod/bootstrap/vendor/bootstrap/assets/brand/bootstrap-outline.svg +0 -6
  404. data/mod/bootstrap/vendor/bootstrap/assets/brand/bootstrap-punchout.svg +0 -6
  405. data/mod/bootstrap/vendor/bootstrap/assets/brand/bootstrap-solid.svg +0 -6
  406. data/mod/bootstrap/vendor/bootstrap/assets/css/docs.min.css.map +0 -1
  407. data/mod/bootstrap/vendor/bootstrap/assets/img/favicons/safari-pinned-tab.svg +0 -20
  408. data/mod/bootstrap/vendor/bootstrap/build/upload-preview.sh +0 -13
  409. data/mod/bootstrap/vendor/bootstrap/docs/4.1/examples/checkout/form-validation.css +0 -11
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/tab.js"],"names":["Tab","$","NAME","VERSION","DATA_KEY","EVENT_KEY","DATA_API_KEY","JQUERY_NO_CONFLICT","fn","Event","HIDE","HIDDEN","SHOW","SHOWN","CLICK_DATA_API","ClassName","DROPDOWN_MENU","ACTIVE","DISABLED","FADE","Selector","DROPDOWN","NAV_LIST_GROUP","ACTIVE_UL","DATA_TOGGLE","DROPDOWN_TOGGLE","DROPDOWN_ACTIVE_CHILD","element","_element","show","parentNode","nodeType","Node","ELEMENT_NODE","hasClass","target","previous","listElement","closest","selector","Util","getSelectorFromElement","itemSelector","nodeName","makeArray","find","length","hideEvent","relatedTarget","showEvent","trigger","isDefaultPrevented","_activate","complete","hiddenEvent","shownEvent","dispose","removeData","container","callback","activeElements","children","active","isTransitioning","_transitionComplete","transitionDuration","getTransitionDurationFromElement","one","TRANSITION_END","emulateTransitionEnd","removeClass","dropdownChild","getAttribute","setAttribute","addClass","reflow","dropdownElement","_jQueryInterface","config","each","$this","data","TypeError","document","on","event","preventDefault","call","Constructor","noConflict"],"mappings":";;;;AAGA;;;;;;AAOA,IAAMA,MAAO,UAACC,CAAD,EAAO;AAClB;;;;;AAMA,MAAMC,OAAqB,KAA3B;AACA,MAAMC,UAAqB,OAA3B;AACA,MAAMC,WAAqB,QAA3B;AACA,MAAMC,kBAAyBD,QAA/B;AACA,MAAME,eAAqB,WAA3B;AACA,MAAMC,qBAAqBN,EAAEO,EAAF,CAAKN,IAAL,CAA3B;AAEA,MAAMO,QAAQ;AACZC,mBAAwBL,SADZ;AAEZM,uBAA0BN,SAFd;AAGZO,mBAAwBP,SAHZ;AAIZQ,qBAAyBR,SAJb;AAKZS,8BAAyBT,SAAzB,GAAqCC;AALzB,GAAd;AAQA,MAAMS,YAAY;AAChBC,mBAAgB,eADA;AAEhBC,YAAgB,QAFA;AAGhBC,cAAgB,UAHA;AAIhBC,UAAgB,MAJA;AAKhBP,UAAgB;AALA,GAAlB;AAQA,MAAMQ,WAAW;AACfC,cAAwB,WADT;AAEfC,oBAAwB,mBAFT;AAGfL,YAAwB,SAHT;AAIfM,eAAwB,gBAJT;AAKfC,iBAAwB,iEALT;AAMfC,qBAAwB,kBANT;AAOfC,2BAAwB;AAG1B;;;;;;AAViB,GAAjB;;AA9BkB,MA8CZ1B,GA9CY;AAAA;AAAA;AA+ChB,iBAAY2B,OAAZ,EAAqB;AACnB,WAAKC,QAAL,GAAgBD,OAAhB;AACD,KAjDe,CAmDhB;;;AAnDgB;;AAyDhB;AAzDgB,WA2DhBE,IA3Dg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AACD,GAJH;AAMA;;;;;;AAMAA,IAAEO,EAAF,CAAKN,IAAL,IAAaF,IAAI6E,gBAAjB;AACA5E,IAAEO,EAAF,CAAKN,IAAL,EAAWsF,WAAX,GAAyBxF,GAAzB;;AACAC,IAAEO,EAAF,CAAKN,IAAL,EAAWuF,UAAX,GAAwB,YAAY;AAClCxF,MAAEO,EAAF,CAAKN,IAAL,IAAaK,kBAAb;AACA,WAAOP,IAAI6E,gBAAX;AACD,GAHD;;AAKA,SAAO7E,GAAP;AACD,CA1PW,CA0PTC,CA1PS,CAAZ","sourcesContent":["import $ from 'jquery'\nimport Util from './util'\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.1.1): tab.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst Tab = (($) => {\n /**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n const NAME = 'tab'\n const VERSION = '4.1.1'\n const DATA_KEY = 'bs.tab'\n const EVENT_KEY = `.${DATA_KEY}`\n const DATA_API_KEY = '.data-api'\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`,\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`\n }\n\n const ClassName = {\n DROPDOWN_MENU : 'dropdown-menu',\n ACTIVE : 'active',\n DISABLED : 'disabled',\n FADE : 'fade',\n SHOW : 'show'\n }\n\n const Selector = {\n DROPDOWN : '.dropdown',\n NAV_LIST_GROUP : '.nav, .list-group',\n ACTIVE : '.active',\n ACTIVE_UL : '> li > .active',\n DATA_TOGGLE : '[data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]',\n DROPDOWN_TOGGLE : '.dropdown-toggle',\n DROPDOWN_ACTIVE_CHILD : '> .dropdown-menu .active'\n }\n\n /**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\n class Tab {\n constructor(element) {\n this._element = element\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n // Public\n\n show() {\n if (this._element.parentNode &&\n this._element.parentNode.nodeType === Node.ELEMENT_NODE &&\n $(this._element).hasClass(ClassName.ACTIVE) ||\n $(this._element).hasClass(ClassName.DISABLED)) {\n return\n }\n\n let target\n let previous\n const listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0]\n const selector = Util.getSelectorFromElement(this._element)\n\n if (listElement) {\n const itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE\n previous = $.makeArray($(listElement).find(itemSelector))\n previous = previous[previous.length - 1]\n }\n\n const hideEvent = $.Event(Event.HIDE, {\n relatedTarget: this._element\n })\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget: previous\n })\n\n if (previous) {\n $(previous).trigger(hideEvent)\n }\n\n $(this._element).trigger(showEvent)\n\n if (showEvent.isDefaultPrevented() ||\n hideEvent.isDefaultPrevented()) {\n return\n }\n\n if (selector) {\n target = $(selector)[0]\n }\n\n this._activate(\n this._element,\n listElement\n )\n\n const complete = () => {\n const hiddenEvent = $.Event(Event.HIDDEN, {\n relatedTarget: this._element\n })\n\n const shownEvent = $.Event(Event.SHOWN, {\n relatedTarget: previous\n })\n\n $(previous).trigger(hiddenEvent)\n $(this._element).trigger(shownEvent)\n }\n\n if (target) {\n this._activate(target, target.parentNode, complete)\n } else {\n complete()\n }\n }\n\n dispose() {\n $.removeData(this._element, DATA_KEY)\n this._element = null\n }\n\n // Private\n\n _activate(element, container, callback) {\n let activeElements\n if (container.nodeName === 'UL') {\n activeElements = $(container).find(Selector.ACTIVE_UL)\n } else {\n activeElements = $(container).children(Selector.ACTIVE)\n }\n\n const active = activeElements[0]\n const isTransitioning = callback &&\n (active && $(active).hasClass(ClassName.FADE))\n\n const complete = () => this._transitionComplete(\n element,\n active,\n callback\n )\n\n if (active && isTransitioning) {\n const transitionDuration = Util.getTransitionDurationFromElement(active)\n\n $(active)\n .one(Util.TRANSITION_END, complete)\n .emulateTransitionEnd(transitionDuration)\n } else {\n complete()\n }\n }\n\n _transitionComplete(element, active, callback) {\n if (active) {\n $(active).removeClass(`${ClassName.SHOW} ${ClassName.ACTIVE}`)\n\n const dropdownChild = $(active.parentNode).find(\n Selector.DROPDOWN_ACTIVE_CHILD\n )[0]\n\n if (dropdownChild) {\n $(dropdownChild).removeClass(ClassName.ACTIVE)\n }\n\n if (active.getAttribute('role') === 'tab') {\n active.setAttribute('aria-selected', false)\n }\n }\n\n $(element).addClass(ClassName.ACTIVE)\n if (element.getAttribute('role') === 'tab') {\n element.setAttribute('aria-selected', true)\n }\n\n Util.reflow(element)\n $(element).addClass(ClassName.SHOW)\n\n if (element.parentNode &&\n $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {\n const dropdownElement = $(element).closest(Selector.DROPDOWN)[0]\n if (dropdownElement) {\n $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE)\n }\n\n element.setAttribute('aria-expanded', true)\n }\n\n if (callback) {\n callback()\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n const $this = $(this)\n let data = $this.data(DATA_KEY)\n\n if (!data) {\n data = new Tab(this)\n $this.data(DATA_KEY, data)\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n data[config]()\n }\n })\n }\n }\n\n /**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n $(document)\n .on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {\n event.preventDefault()\n Tab._jQueryInterface.call($(this), 'show')\n })\n\n /**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n */\n\n $.fn[NAME] = Tab._jQueryInterface\n $.fn[NAME].Constructor = Tab\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Tab._jQueryInterface\n }\n\n return Tab\n})($)\n\nexport default Tab\n"],"file":"tab.js"}
1
+ {"version":3,"file":"tab.js","sources":["../src/tab.js"],"sourcesContent":["import $ from 'jquery'\nimport Util from './util'\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.1.3): tab.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst Tab = (($) => {\n /**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n const NAME = 'tab'\n const VERSION = '4.1.3'\n const DATA_KEY = 'bs.tab'\n const EVENT_KEY = `.${DATA_KEY}`\n const DATA_API_KEY = '.data-api'\n const JQUERY_NO_CONFLICT = $.fn[NAME]\n\n const Event = {\n HIDE : `hide${EVENT_KEY}`,\n HIDDEN : `hidden${EVENT_KEY}`,\n SHOW : `show${EVENT_KEY}`,\n SHOWN : `shown${EVENT_KEY}`,\n CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`\n }\n\n const ClassName = {\n DROPDOWN_MENU : 'dropdown-menu',\n ACTIVE : 'active',\n DISABLED : 'disabled',\n FADE : 'fade',\n SHOW : 'show'\n }\n\n const Selector = {\n DROPDOWN : '.dropdown',\n NAV_LIST_GROUP : '.nav, .list-group',\n ACTIVE : '.active',\n ACTIVE_UL : '> li > .active',\n DATA_TOGGLE : '[data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]',\n DROPDOWN_TOGGLE : '.dropdown-toggle',\n DROPDOWN_ACTIVE_CHILD : '> .dropdown-menu .active'\n }\n\n /**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\n class Tab {\n constructor(element) {\n this._element = element\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION\n }\n\n // Public\n\n show() {\n if (this._element.parentNode &&\n this._element.parentNode.nodeType === Node.ELEMENT_NODE &&\n $(this._element).hasClass(ClassName.ACTIVE) ||\n $(this._element).hasClass(ClassName.DISABLED)) {\n return\n }\n\n let target\n let previous\n const listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0]\n const selector = Util.getSelectorFromElement(this._element)\n\n if (listElement) {\n const itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE\n previous = $.makeArray($(listElement).find(itemSelector))\n previous = previous[previous.length - 1]\n }\n\n const hideEvent = $.Event(Event.HIDE, {\n relatedTarget: this._element\n })\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget: previous\n })\n\n if (previous) {\n $(previous).trigger(hideEvent)\n }\n\n $(this._element).trigger(showEvent)\n\n if (showEvent.isDefaultPrevented() ||\n hideEvent.isDefaultPrevented()) {\n return\n }\n\n if (selector) {\n target = document.querySelector(selector)\n }\n\n this._activate(\n this._element,\n listElement\n )\n\n const complete = () => {\n const hiddenEvent = $.Event(Event.HIDDEN, {\n relatedTarget: this._element\n })\n\n const shownEvent = $.Event(Event.SHOWN, {\n relatedTarget: previous\n })\n\n $(previous).trigger(hiddenEvent)\n $(this._element).trigger(shownEvent)\n }\n\n if (target) {\n this._activate(target, target.parentNode, complete)\n } else {\n complete()\n }\n }\n\n dispose() {\n $.removeData(this._element, DATA_KEY)\n this._element = null\n }\n\n // Private\n\n _activate(element, container, callback) {\n let activeElements\n if (container.nodeName === 'UL') {\n activeElements = $(container).find(Selector.ACTIVE_UL)\n } else {\n activeElements = $(container).children(Selector.ACTIVE)\n }\n\n const active = activeElements[0]\n const isTransitioning = callback &&\n (active && $(active).hasClass(ClassName.FADE))\n\n const complete = () => this._transitionComplete(\n element,\n active,\n callback\n )\n\n if (active && isTransitioning) {\n const transitionDuration = Util.getTransitionDurationFromElement(active)\n\n $(active)\n .one(Util.TRANSITION_END, complete)\n .emulateTransitionEnd(transitionDuration)\n } else {\n complete()\n }\n }\n\n _transitionComplete(element, active, callback) {\n if (active) {\n $(active).removeClass(`${ClassName.SHOW} ${ClassName.ACTIVE}`)\n\n const dropdownChild = $(active.parentNode).find(\n Selector.DROPDOWN_ACTIVE_CHILD\n )[0]\n\n if (dropdownChild) {\n $(dropdownChild).removeClass(ClassName.ACTIVE)\n }\n\n if (active.getAttribute('role') === 'tab') {\n active.setAttribute('aria-selected', false)\n }\n }\n\n $(element).addClass(ClassName.ACTIVE)\n if (element.getAttribute('role') === 'tab') {\n element.setAttribute('aria-selected', true)\n }\n\n Util.reflow(element)\n $(element).addClass(ClassName.SHOW)\n\n if (element.parentNode &&\n $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {\n const dropdownElement = $(element).closest(Selector.DROPDOWN)[0]\n if (dropdownElement) {\n const dropdownToggleList = [].slice.call(dropdownElement.querySelectorAll(Selector.DROPDOWN_TOGGLE))\n $(dropdownToggleList).addClass(ClassName.ACTIVE)\n }\n\n element.setAttribute('aria-expanded', true)\n }\n\n if (callback) {\n callback()\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n const $this = $(this)\n let data = $this.data(DATA_KEY)\n\n if (!data) {\n data = new Tab(this)\n $this.data(DATA_KEY, data)\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`)\n }\n data[config]()\n }\n })\n }\n }\n\n /**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n $(document)\n .on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {\n event.preventDefault()\n Tab._jQueryInterface.call($(this), 'show')\n })\n\n /**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n */\n\n $.fn[NAME] = Tab._jQueryInterface\n $.fn[NAME].Constructor = Tab\n $.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Tab._jQueryInterface\n }\n\n return Tab\n})($)\n\nexport default Tab\n"],"names":["Tab","$","NAME","VERSION","DATA_KEY","EVENT_KEY","DATA_API_KEY","JQUERY_NO_CONFLICT","fn","Event","HIDE","HIDDEN","SHOW","SHOWN","CLICK_DATA_API","ClassName","DROPDOWN_MENU","ACTIVE","DISABLED","FADE","Selector","DROPDOWN","NAV_LIST_GROUP","ACTIVE_UL","DATA_TOGGLE","DROPDOWN_TOGGLE","DROPDOWN_ACTIVE_CHILD","element","_element","show","parentNode","nodeType","Node","ELEMENT_NODE","hasClass","target","previous","listElement","closest","selector","Util","getSelectorFromElement","itemSelector","nodeName","makeArray","find","length","hideEvent","relatedTarget","showEvent","trigger","isDefaultPrevented","document","querySelector","_activate","complete","hiddenEvent","shownEvent","dispose","removeData","container","callback","activeElements","children","active","isTransitioning","_transitionComplete","transitionDuration","getTransitionDurationFromElement","one","TRANSITION_END","emulateTransitionEnd","removeClass","dropdownChild","getAttribute","setAttribute","addClass","reflow","dropdownElement","dropdownToggleList","slice","call","querySelectorAll","_jQueryInterface","config","each","$this","data","TypeError","on","event","preventDefault","Constructor","noConflict"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;EAGA;;;;;;;EAOA,IAAMA,MAAO,UAACC,IAAD,EAAO;EAClB;;;;;EAMA,MAAMC,OAAqB,KAA3B;EACA,MAAMC,UAAqB,OAA3B;EACA,MAAMC,WAAqB,QAA3B;EACA,MAAMC,kBAAyBD,QAA/B;EACA,MAAME,eAAqB,WAA3B;EACA,MAAMC,qBAAqBN,KAAEO,EAAF,CAAKN,IAAL,CAA3B;EAEA,MAAMO,QAAQ;EACZC,mBAAwBL,SADZ;EAEZM,uBAA0BN,SAFd;EAGZO,mBAAwBP,SAHZ;EAIZQ,qBAAyBR,SAJb;EAKZS,8BAAyBT,SAAzB,GAAqCC;EALzB,GAAd;EAQA,MAAMS,YAAY;EAChBC,mBAAgB,eADA;EAEhBC,YAAgB,QAFA;EAGhBC,cAAgB,UAHA;EAIhBC,UAAgB,MAJA;EAKhBP,UAAgB;EALA,GAAlB;EAQA,MAAM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AJ,wBAAkCJ,MAAlC,QAAN;EACD;;EACDG,eAAKH,MAAL;EACD;EACF,OAfM,CAAP;EAgBD,KA9Ne;;EAAA;EAAA;EAAA,0BAqDK;EACnB,eAAOjF,OAAP;EACD;EAvDe;;EAAA;EAAA;EAiOlB;;;;;;;EAMAF,OAAEmD,QAAF,EACGqC,EADH,CACMhF,MAAMK,cADZ,EAC4BM,SAASI,WADrC,EACkD,UAAUkE,KAAV,EAAiB;EAC/DA,UAAMC,cAAN;;EACA3F,QAAImF,gBAAJ,CAAqBF,IAArB,CAA0BhF,KAAE,IAAF,CAA1B,EAAmC,MAAnC;EACD,GAJH;EAMA;;;;;;EAMAA,OAAEO,EAAF,CAAKN,IAAL,IAAaF,IAAImF,gBAAjB;EACAlF,OAAEO,EAAF,CAAKN,IAAL,EAAW0F,WAAX,GAAyB5F,GAAzB;;EACAC,OAAEO,EAAF,CAAKN,IAAL,EAAW2F,UAAX,GAAwB,YAAY;EAClC5F,SAAEO,EAAF,CAAKN,IAAL,IAAaK,kBAAb;EACA,WAAOP,IAAImF,gBAAX;EACD,GAHD;;EAKA,SAAOnF,GAAP;EACD,CA3PW,CA2PTC,CA3PS,CAAZ;;;;;;;;"}
@@ -1,674 +1,734 @@
1
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery'), require('popper.js'), require('./util.js')) :
3
+ typeof define === 'function' && define.amd ? define(['jquery', 'popper.js', './util.js'], factory) :
4
+ (global.Tooltip = factory(global.jQuery,global.Popper,global.Util));
5
+ }(this, (function ($,Popper,Util) { 'use strict';
6
+
7
+ $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
8
+ Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
9
+ Util = Util && Util.hasOwnProperty('default') ? Util['default'] : Util;
10
+
11
+ function _defineProperties(target, props) {
12
+ for (var i = 0; i < props.length; i++) {
13
+ var descriptor = props[i];
14
+ descriptor.enumerable = descriptor.enumerable || false;
15
+ descriptor.configurable = true;
16
+ if ("value" in descriptor) descriptor.writable = true;
17
+ Object.defineProperty(target, descriptor.key, descriptor);
18
+ }
19
+ }
20
+
21
+ function _createClass(Constructor, protoProps, staticProps) {
22
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
+ if (staticProps) _defineProperties(Constructor, staticProps);
24
+ return Constructor;
25
+ }
26
+
27
+ function _defineProperty(obj, key, value) {
28
+ if (key in obj) {
29
+ Object.defineProperty(obj, key, {
30
+ value: value,
31
+ enumerable: true,
32
+ configurable: true,
33
+ writable: true
34
+ });
35
+ } else {
36
+ obj[key] = value;
37
+ }
38
+
39
+ return obj;
40
+ }
2
41
 
3
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
42
+ function _objectSpread(target) {
43
+ for (var i = 1; i < arguments.length; i++) {
44
+ var source = arguments[i] != null ? arguments[i] : {};
45
+ var ownKeys = Object.keys(source);
46
+
47
+ if (typeof Object.getOwnPropertySymbols === 'function') {
48
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
49
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
50
+ }));
51
+ }
4
52
 
5
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
53
+ ownKeys.forEach(function (key) {
54
+ _defineProperty(target, key, source[key]);
55
+ });
56
+ }
6
57
 
7
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
58
+ return target;
59
+ }
8
60
 
9
- /**
10
- * --------------------------------------------------------------------------
11
- * Bootstrap (v4.1.1): tooltip.js
12
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
13
- * --------------------------------------------------------------------------
14
- */
15
- var Tooltip = function ($) {
16
61
  /**
17
- * ------------------------------------------------------------------------
18
- * Constants
19
- * ------------------------------------------------------------------------
62
+ * --------------------------------------------------------------------------
63
+ * Bootstrap (v4.1.3): tooltip.js
64
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
65
+ * --------------------------------------------------------------------------
20
66
  */
21
- var NAME = 'tooltip';
22
- var VERSION = '4.1.1';
23
- var DATA_KEY = 'bs.tooltip';
24
- var EVENT_KEY = "." + DATA_KEY;
25
- var JQUERY_NO_CONFLICT = $.fn[NAME];
26
- var CLASS_PREFIX = 'bs-tooltip';
27
- var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
28
- var DefaultType = {
29
- animation: 'boolean',
30
- template: 'string',
31
- title: '(string|element|function)',
32
- trigger: 'string',
33
- delay: '(number|object)',
34
- html: 'boolean',
35
- selector: '(string|boolean)',
36
- placement: '(string|function)',
37
- offset: '(number|string)',
38
- container: '(string|element|boolean)',
39
- fallbackPlacement: '(string|array)',
40
- boundary: '(string|element)'
41
- };
42
- var AttachmentMap = {
43
- AUTO: 'auto',
44
- TOP: 'top',
45
- RIGHT: 'right',
46
- BOTTOM: 'bottom',
47
- LEFT: 'left'
48
- };
49
- var Default = {
50
- animation: true,
51
- template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
52
- trigger: 'hover focus',
53
- title: '',
54
- delay: 0,
55
- html: false,
56
- selector: false,
57
- placement: 'top',
58
- offset: 0,
59
- container: false,
60
- fallbackPlacement: 'flip',
61
- boundary: 'scrollParent'
62
- };
63
- var HoverState = {
64
- SHOW: 'show',
65
- OUT: 'out'
66
- };
67
- var Event = {
68
- HIDE: "hide" + EVENT_KEY,
69
- HIDDEN: "hidden" + EVENT_KEY,
70
- SHOW: "show" + EVENT_KEY,
71
- SHOWN: "shown" + EVENT_KEY,
72
- INSERTED: "inserted" + EVENT_KEY,
73
- CLICK: "click" + EVENT_KEY,
74
- FOCUSIN: "focusin" + EVENT_KEY,
75
- FOCUSOUT: "focusout" + EVENT_KEY,
76
- MOUSEENTER: "mouseenter" + EVENT_KEY,
77
- MOUSELEAVE: "mouseleave" + EVENT_KEY
78
- };
79
- var ClassName = {
80
- FADE: 'fade',
81
- SHOW: 'show'
82
- };
83
- var Selector = {
84
- TOOLTIP: '.tooltip',
85
- TOOLTIP_INNER: '.tooltip-inner',
86
- ARROW: '.arrow'
87
- };
88
- var Trigger = {
89
- HOVER: 'hover',
90
- FOCUS: 'focus',
91
- CLICK: 'click',
92
- MANUAL: 'manual'
67
+
68
+ var Tooltip = function ($$$1) {
93
69
  /**
94
70
  * ------------------------------------------------------------------------
95
- * Class Definition
71
+ * Constants
96
72
  * ------------------------------------------------------------------------
97
73
  */
98
-
99
- };
100
-
101
- var Tooltip =
102
- /*#__PURE__*/
103
- function () {
104
- function Tooltip(element, config) {
74
+ var NAME = 'tooltip';
75
+ var VERSION = '4.1.3';
76
+ var DATA_KEY = 'bs.tooltip';
77
+ var EVENT_KEY = "." + DATA_KEY;
78
+ var JQUERY_NO_CONFLICT = $$$1.fn[NAME];
79
+ var CLASS_PREFIX = 'bs-tooltip';
80
+ var BSCLS_PREFIX_REGEX = new RegExp("(^|\\s)" + CLASS_PREFIX + "\\S+", 'g');
81
+ var DefaultType = {
82
+ animation: 'boolean',
83
+ template: 'string',
84
+ title: '(string|element|function)',
85
+ trigger: 'string',
86
+ delay: '(number|object)',
87
+ html: 'boolean',
88
+ selector: '(string|boolean)',
89
+ placement: '(string|function)',
90
+ offset: '(number|string)',
91
+ container: '(string|element|boolean)',
92
+ fallbackPlacement: '(string|array)',
93
+ boundary: '(string|element)'
94
+ };
95
+ var AttachmentMap = {
96
+ AUTO: 'auto',
97
+ TOP: 'top',
98
+ RIGHT: 'right',
99
+ BOTTOM: 'bottom',
100
+ LEFT: 'left'
101
+ };
102
+ var Default = {
103
+ animation: true,
104
+ template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>',
105
+ trigger: 'hover focus',
106
+ title: '',
107
+ delay: 0,
108
+ html: false,
109
+ selector: false,
110
+ placement: 'top',
111
+ offset: 0,
112
+ container: false,
113
+ fallbackPlacement: 'flip',
114
+ boundary: 'scrollParent'
115
+ };
116
+ var HoverState = {
117
+ SHOW: 'show',
118
+ OUT: 'out'
119
+ };
120
+ var Event = {
121
+ HIDE: "hide" + EVENT_KEY,
122
+ HIDDEN: "hidden" + EVENT_KEY,
123
+ SHOW: "show" + EVENT_KEY,
124
+ SHOWN: "shown" + EVENT_KEY,
125
+ INSERTED: "inserted" + EVENT_KEY,
126
+ CLICK: "click" + EVENT_KEY,
127
+ FOCUSIN: "focusin" + EVENT_KEY,
128
+ FOCUSOUT: "focusout" + EVENT_KEY,
129
+ MOUSEENTER: "mouseenter" + EVENT_KEY,
130
+ MOUSELEAVE: "mouseleave" + EVENT_KEY
131
+ };
132
+ var ClassName = {
133
+ FADE: 'fade',
134
+ SHOW: 'show'
135
+ };
136
+ var Selector = {
137
+ TOOLTIP: '.tooltip',
138
+ TOOLTIP_INNER: '.tooltip-inner',
139
+ ARROW: '.arrow'
140
+ };
141
+ var Trigger = {
142
+ HOVER: 'hover',
143
+ FOCUS: 'focus',
144
+ CLICK: 'click',
145
+ MANUAL: 'manual'
105
146
  /**
106
- * Check for Popper dependency
107
- * Popper - https://popper.js.org
147
+ * ------------------------------------------------------------------------
148
+ * Class Definition
149
+ * ------------------------------------------------------------------------
108
150
  */
109
- if (typeof Popper === 'undefined') {
110
- throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)');
111
- } // private
112
151
 
152
+ };
113
153
 
114
- this._isEnabled = true;
115
- this._timeout = 0;
116
- this._hoverState = '';
117
- this._activeTrigger = {};
118
- this._popper = null; // Protected
154
+ var Tooltip =
155
+ /*#__PURE__*/
156
+ function () {
157
+ function Tooltip(element, config) {
158
+ /**
159
+ * Check for Popper dependency
160
+ * Popper - https://popper.js.org
161
+ */
162
+ if (typeof Popper === 'undefined') {
163
+ throw new TypeError('Bootstrap tooltips require Popper.js (https://popper.js.org)');
164
+ } // private
119
165
 
120
- this.element = element;
121
- this.config = this._getConfig(config);
122
- this.tip = null;
123
166
 
124
- this._setListeners();
125
- } // Getters
167
+ this._isEnabled = true;
168
+ this._timeout = 0;
169
+ this._hoverState = '';
170
+ this._activeTrigger = {};
171
+ this._popper = null; // Protected
126
172
 
173
+ this.element = element;
174
+ this.config = this._getConfig(config);
175
+ this.tip = null;
127
176
 
128
- var _proto = Tooltip.prototype;
177
+ this._setListeners();
178
+ } // Getters
129
179
 
130
- // Public
131
- _proto.enable = function enable() {
132
- this._isEnabled = true;
133
- };
134
180
 
135
- _proto.disable = function disable() {
136
- this._isEnabled = false;
137
- };
181
+ var _proto = Tooltip.prototype;
138
182
 
139
- _proto.toggleEnabled = function toggleEnabled() {
140
- this._isEnabled = !this._isEnabled;
141
- };
183
+ // Public
184
+ _proto.enable = function enable() {
185
+ this._isEnabled = true;
186
+ };
142
187
 
143
- _proto.toggle = function toggle(event) {
144
- if (!this._isEnabled) {
145
- return;
146
- }
188
+ _proto.disable = function disable() {
189
+ this._isEnabled = false;
190
+ };
147
191
 
148
- if (event) {
149
- var dataKey = this.constructor.DATA_KEY;
150
- var context = $(event.currentTarget).data(dataKey);
192
+ _proto.toggleEnabled = function toggleEnabled() {
193
+ this._isEnabled = !this._isEnabled;
194
+ };
151
195
 
152
- if (!context) {
153
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
154
- $(event.currentTarget).data(dataKey, context);
196
+ _proto.toggle = function toggle(event) {
197
+ if (!this._isEnabled) {
198
+ return;
155
199
  }
156
200
 
157
- context._activeTrigger.click = !context._activeTrigger.click;
201
+ if (event) {
202
+ var dataKey = this.constructor.DATA_KEY;
203
+ var context = $$$1(event.currentTarget).data(dataKey);
158
204
 
159
- if (context._isWithActiveTrigger()) {
160
- context._enter(null, context);
205
+ if (!context) {
206
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
207
+ $$$1(event.currentTarget).data(dataKey, context);
208
+ }
209
+
210
+ context._activeTrigger.click = !context._activeTrigger.click;
211
+
212
+ if (context._isWithActiveTrigger()) {
213
+ context._enter(null, context);
214
+ } else {
215
+ context._leave(null, context);
216
+ }
161
217
  } else {
162
- context._leave(null, context);
163
- }
164
- } else {
165
- if ($(this.getTipElement()).hasClass(ClassName.SHOW)) {
166
- this._leave(null, this);
218
+ if ($$$1(this.getTipElement()).hasClass(ClassName.SHOW)) {
219
+ this._leave(null, this);
167
220
 
168
- return;
169
- }
221
+ return;
222
+ }
170
223
 
171
- this._enter(null, this);
172
- }
173
- };
224
+ this._enter(null, this);
225
+ }
226
+ };
174
227
 
175
- _proto.dispose = function dispose() {
176
- clearTimeout(this._timeout);
177
- $.removeData(this.element, this.constructor.DATA_KEY);
178
- $(this.element).off(this.constructor.EVENT_KEY);
179
- $(this.element).closest('.modal').off('hide.bs.modal');
228
+ _proto.dispose = function dispose() {
229
+ clearTimeout(this._timeout);
230
+ $$$1.removeData(this.element, this.constructor.DATA_KEY);
231
+ $$$1(this.element).off(this.constructor.EVENT_KEY);
232
+ $$$1(this.element).closest('.modal').off('hide.bs.modal');
180
233
 
181
- if (this.tip) {
182
- $(this.tip).remove();
183
- }
234
+ if (this.tip) {
235
+ $$$1(this.tip).remove();
236
+ }
184
237
 
185
- this._isEnabled = null;
186
- this._timeout = null;
187
- this._hoverState = null;
188
- this._activeTrigger = null;
238
+ this._isEnabled = null;
239
+ this._timeout = null;
240
+ this._hoverState = null;
241
+ this._activeTrigger = null;
189
242
 
190
- if (this._popper !== null) {
191
- this._popper.destroy();
192
- }
243
+ if (this._popper !== null) {
244
+ this._popper.destroy();
245
+ }
193
246
 
194
- this._popper = null;
195
- this.element = null;
196
- this.config = null;
197
- this.tip = null;
198
- };
247
+ this._popper = null;
248
+ this.element = null;
249
+ this.config = null;
250
+ this.tip = null;
251
+ };
199
252
 
200
- _proto.show = function show() {
201
- var _this = this;
253
+ _proto.show = function show() {
254
+ var _this = this;
202
255
 
203
- if ($(this.element).css('display') === 'none') {
204
- throw new Error('Please use show on visible elements');
205
- }
256
+ if ($$$1(this.element).css('display') === 'none') {
257
+ throw new Error('Please use show on visible elements');
258
+ }
206
259
 
207
- var showEvent = $.Event(this.constructor.Event.SHOW);
260
+ var showEvent = $$$1.Event(this.constructor.Event.SHOW);
208
261
 
209
- if (this.isWithContent() && this._isEnabled) {
210
- $(this.element).trigger(showEvent);
211
- var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element);
262
+ if (this.isWithContent() && this._isEnabled) {
263
+ $$$1(this.element).trigger(showEvent);
264
+ var isInTheDom = $$$1.contains(this.element.ownerDocument.documentElement, this.element);
212
265
 
213
- if (showEvent.isDefaultPrevented() || !isInTheDom) {
214
- return;
215
- }
266
+ if (showEvent.isDefaultPrevented() || !isInTheDom) {
267
+ return;
268
+ }
216
269
 
217
- var tip = this.getTipElement();
218
- var tipId = Util.getUID(this.constructor.NAME);
219
- tip.setAttribute('id', tipId);
220
- this.element.setAttribute('aria-describedby', tipId);
221
- this.setContent();
270
+ var tip = this.getTipElement();
271
+ var tipId = Util.getUID(this.constructor.NAME);
272
+ tip.setAttribute('id', tipId);
273
+ this.element.setAttribute('aria-describedby', tipId);
274
+ this.setContent();
222
275
 
223
- if (this.config.animation) {
224
- $(tip).addClass(ClassName.FADE);
225
- }
276
+ if (this.config.animation) {
277
+ $$$1(tip).addClass(ClassName.FADE);
278
+ }
226
279
 
227
- var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
280
+ var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement;
228
281
 
229
- var attachment = this._getAttachment(placement);
282
+ var attachment = this._getAttachment(placement);
230
283
 
231
- this.addAttachmentClass(attachment);
232
- var container = this.config.container === false ? document.body : $(this.config.container);
233
- $(tip).data(this.constructor.DATA_KEY, this);
284
+ this.addAttachmentClass(attachment);
285
+ var container = this.config.container === false ? document.body : $$$1(document).find(this.config.container);
286
+ $$$1(tip).data(this.constructor.DATA_KEY, this);
234
287
 
235
- if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {
236
- $(tip).appendTo(container);
237
- }
288
+ if (!$$$1.contains(this.element.ownerDocument.documentElement, this.tip)) {
289
+ $$$1(tip).appendTo(container);
290
+ }
238
291
 
239
- $(this.element).trigger(this.constructor.Event.INSERTED);
240
- this._popper = new Popper(this.element, tip, {
241
- placement: attachment,
242
- modifiers: {
243
- offset: {
244
- offset: this.config.offset
245
- },
246
- flip: {
247
- behavior: this.config.fallbackPlacement
292
+ $$$1(this.element).trigger(this.constructor.Event.INSERTED);
293
+ this._popper = new Popper(this.element, tip, {
294
+ placement: attachment,
295
+ modifiers: {
296
+ offset: {
297
+ offset: this.config.offset
298
+ },
299
+ flip: {
300
+ behavior: this.config.fallbackPlacement
301
+ },
302
+ arrow: {
303
+ element: Selector.ARROW
304
+ },
305
+ preventOverflow: {
306
+ boundariesElement: this.config.boundary
307
+ }
248
308
  },
249
- arrow: {
250
- element: Selector.ARROW
309
+ onCreate: function onCreate(data) {
310
+ if (data.originalPlacement !== data.placement) {
311
+ _this._handlePopperPlacementChange(data);
312
+ }
251
313
  },
252
- preventOverflow: {
253
- boundariesElement: this.config.boundary
254
- }
255
- },
256
- onCreate: function onCreate(data) {
257
- if (data.originalPlacement !== data.placement) {
314
+ onUpdate: function onUpdate(data) {
258
315
  _this._handlePopperPlacementChange(data);
259
316
  }
260
- },
261
- onUpdate: function onUpdate(data) {
262
- _this._handlePopperPlacementChange(data);
317
+ });
318
+ $$$1(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra
319
+ // empty mouseover listeners to the body's immediate children;
320
+ // only needed because of broken event delegation on iOS
321
+ // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
322
+
323
+ if ('ontouchstart' in document.documentElement) {
324
+ $$$1(document.body).children().on('mouseover', null, $$$1.noop);
263
325
  }
264
- });
265
- $(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra
266
- // empty mouseover listeners to the body's immediate children;
267
- // only needed because of broken event delegation on iOS
268
- // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
269
326
 
270
- if ('ontouchstart' in document.documentElement) {
271
- $(document.body).children().on('mouseover', null, $.noop);
272
- }
327
+ var complete = function complete() {
328
+ if (_this.config.animation) {
329
+ _this._fixTransition();
330
+ }
273
331
 
274
- var complete = function complete() {
275
- if (_this.config.animation) {
276
- _this._fixTransition();
277
- }
332
+ var prevHoverState = _this._hoverState;
333
+ _this._hoverState = null;
334
+ $$$1(_this.element).trigger(_this.constructor.Event.SHOWN);
278
335
 
279
- var prevHoverState = _this._hoverState;
280
- _this._hoverState = null;
281
- $(_this.element).trigger(_this.constructor.Event.SHOWN);
336
+ if (prevHoverState === HoverState.OUT) {
337
+ _this._leave(null, _this);
338
+ }
339
+ };
282
340
 
283
- if (prevHoverState === HoverState.OUT) {
284
- _this._leave(null, _this);
341
+ if ($$$1(this.tip).hasClass(ClassName.FADE)) {
342
+ var transitionDuration = Util.getTransitionDurationFromElement(this.tip);
343
+ $$$1(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
344
+ } else {
345
+ complete();
285
346
  }
286
- };
287
-
288
- if ($(this.tip).hasClass(ClassName.FADE)) {
289
- var transitionDuration = Util.getTransitionDurationFromElement(this.tip);
290
- $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
291
- } else {
292
- complete();
293
347
  }
294
- }
295
- };
348
+ };
296
349
 
297
- _proto.hide = function hide(callback) {
298
- var _this2 = this;
350
+ _proto.hide = function hide(callback) {
351
+ var _this2 = this;
299
352
 
300
- var tip = this.getTipElement();
301
- var hideEvent = $.Event(this.constructor.Event.HIDE);
353
+ var tip = this.getTipElement();
354
+ var hideEvent = $$$1.Event(this.constructor.Event.HIDE);
302
355
 
303
- var complete = function complete() {
304
- if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
305
- tip.parentNode.removeChild(tip);
306
- }
356
+ var complete = function complete() {
357
+ if (_this2._hoverState !== HoverState.SHOW && tip.parentNode) {
358
+ tip.parentNode.removeChild(tip);
359
+ }
307
360
 
308
- _this2._cleanTipClass();
361
+ _this2._cleanTipClass();
309
362
 
310
- _this2.element.removeAttribute('aria-describedby');
363
+ _this2.element.removeAttribute('aria-describedby');
311
364
 
312
- $(_this2.element).trigger(_this2.constructor.Event.HIDDEN);
365
+ $$$1(_this2.element).trigger(_this2.constructor.Event.HIDDEN);
313
366
 
314
- if (_this2._popper !== null) {
315
- _this2._popper.destroy();
316
- }
367
+ if (_this2._popper !== null) {
368
+ _this2._popper.destroy();
369
+ }
317
370
 
318
- if (callback) {
319
- callback();
320
- }
321
- };
371
+ if (callback) {
372
+ callback();
373
+ }
374
+ };
322
375
 
323
- $(this.element).trigger(hideEvent);
376
+ $$$1(this.element).trigger(hideEvent);
324
377
 
325
- if (hideEvent.isDefaultPrevented()) {
326
- return;
327
- }
378
+ if (hideEvent.isDefaultPrevented()) {
379
+ return;
380
+ }
328
381
 
329
- $(tip).removeClass(ClassName.SHOW); // If this is a touch-enabled device we remove the extra
330
- // empty mouseover listeners we added for iOS support
382
+ $$$1(tip).removeClass(ClassName.SHOW); // If this is a touch-enabled device we remove the extra
383
+ // empty mouseover listeners we added for iOS support
331
384
 
332
- if ('ontouchstart' in document.documentElement) {
333
- $(document.body).children().off('mouseover', null, $.noop);
334
- }
385
+ if ('ontouchstart' in document.documentElement) {
386
+ $$$1(document.body).children().off('mouseover', null, $$$1.noop);
387
+ }
335
388
 
336
- this._activeTrigger[Trigger.CLICK] = false;
337
- this._activeTrigger[Trigger.FOCUS] = false;
338
- this._activeTrigger[Trigger.HOVER] = false;
389
+ this._activeTrigger[Trigger.CLICK] = false;
390
+ this._activeTrigger[Trigger.FOCUS] = false;
391
+ this._activeTrigger[Trigger.HOVER] = false;
339
392
 
340
- if ($(this.tip).hasClass(ClassName.FADE)) {
341
- var transitionDuration = Util.getTransitionDurationFromElement(tip);
342
- $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
343
- } else {
344
- complete();
345
- }
393
+ if ($$$1(this.tip).hasClass(ClassName.FADE)) {
394
+ var transitionDuration = Util.getTransitionDurationFromElement(tip);
395
+ $$$1(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
396
+ } else {
397
+ complete();
398
+ }
346
399
 
347
- this._hoverState = '';
348
- };
400
+ this._hoverState = '';
401
+ };
349
402
 
350
- _proto.update = function update() {
351
- if (this._popper !== null) {
352
- this._popper.scheduleUpdate();
353
- }
354
- }; // Protected
403
+ _proto.update = function update() {
404
+ if (this._popper !== null) {
405
+ this._popper.scheduleUpdate();
406
+ }
407
+ }; // Protected
355
408
 
356
409
 
357
- _proto.isWithContent = function isWithContent() {
358
- return Boolean(this.getTitle());
359
- };
410
+ _proto.isWithContent = function isWithContent() {
411
+ return Boolean(this.getTitle());
412
+ };
360
413
 
361
- _proto.addAttachmentClass = function addAttachmentClass(attachment) {
362
- $(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
363
- };
414
+ _proto.addAttachmentClass = function addAttachmentClass(attachment) {
415
+ $$$1(this.getTipElement()).addClass(CLASS_PREFIX + "-" + attachment);
416
+ };
364
417
 
365
- _proto.getTipElement = function getTipElement() {
366
- this.tip = this.tip || $(this.config.template)[0];
367
- return this.tip;
368
- };
418
+ _proto.getTipElement = function getTipElement() {
419
+ this.tip = this.tip || $$$1(this.config.template)[0];
420
+ return this.tip;
421
+ };
369
422
 
370
- _proto.setContent = function setContent() {
371
- var $tip = $(this.getTipElement());
372
- this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle());
373
- $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW);
374
- };
423
+ _proto.setContent = function setContent() {
424
+ var tip = this.getTipElement();
425
+ this.setElementContent($$$1(tip.querySelectorAll(Selector.TOOLTIP_INNER)), this.getTitle());
426
+ $$$1(tip).removeClass(ClassName.FADE + " " + ClassName.SHOW);
427
+ };
375
428
 
376
- _proto.setElementContent = function setElementContent($element, content) {
377
- var html = this.config.html;
429
+ _proto.setElementContent = function setElementContent($element, content) {
430
+ var html = this.config.html;
378
431
 
379
- if (typeof content === 'object' && (content.nodeType || content.jquery)) {
380
- // Content is a DOM node or a jQuery
381
- if (html) {
382
- if (!$(content).parent().is($element)) {
383
- $element.empty().append(content);
432
+ if (typeof content === 'object' && (content.nodeType || content.jquery)) {
433
+ // Content is a DOM node or a jQuery
434
+ if (html) {
435
+ if (!$$$1(content).parent().is($element)) {
436
+ $element.empty().append(content);
437
+ }
438
+ } else {
439
+ $element.text($$$1(content).text());
384
440
  }
385
441
  } else {
386
- $element.text($(content).text());
442
+ $element[html ? 'html' : 'text'](content);
387
443
  }
388
- } else {
389
- $element[html ? 'html' : 'text'](content);
390
- }
391
- };
444
+ };
392
445
 
393
- _proto.getTitle = function getTitle() {
394
- var title = this.element.getAttribute('data-original-title');
446
+ _proto.getTitle = function getTitle() {
447
+ var title = this.element.getAttribute('data-original-title');
395
448
 
396
- if (!title) {
397
- title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
398
- }
449
+ if (!title) {
450
+ title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title;
451
+ }
399
452
 
400
- return title;
401
- }; // Private
453
+ return title;
454
+ }; // Private
402
455
 
403
456
 
404
- _proto._getAttachment = function _getAttachment(placement) {
405
- return AttachmentMap[placement.toUpperCase()];
406
- };
457
+ _proto._getAttachment = function _getAttachment(placement) {
458
+ return AttachmentMap[placement.toUpperCase()];
459
+ };
407
460
 
408
- _proto._setListeners = function _setListeners() {
409
- var _this3 = this;
461
+ _proto._setListeners = function _setListeners() {
462
+ var _this3 = this;
463
+
464
+ var triggers = this.config.trigger.split(' ');
465
+ triggers.forEach(function (trigger) {
466
+ if (trigger === 'click') {
467
+ $$$1(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
468
+ return _this3.toggle(event);
469
+ });
470
+ } else if (trigger !== Trigger.MANUAL) {
471
+ var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN;
472
+ var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT;
473
+ $$$1(_this3.element).on(eventIn, _this3.config.selector, function (event) {
474
+ return _this3._enter(event);
475
+ }).on(eventOut, _this3.config.selector, function (event) {
476
+ return _this3._leave(event);
477
+ });
478
+ }
410
479
 
411
- var triggers = this.config.trigger.split(' ');
412
- triggers.forEach(function (trigger) {
413
- if (trigger === 'click') {
414
- $(_this3.element).on(_this3.constructor.Event.CLICK, _this3.config.selector, function (event) {
415
- return _this3.toggle(event);
480
+ $$$1(_this3.element).closest('.modal').on('hide.bs.modal', function () {
481
+ return _this3.hide();
416
482
  });
417
- } else if (trigger !== Trigger.MANUAL) {
418
- var eventIn = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSEENTER : _this3.constructor.Event.FOCUSIN;
419
- var eventOut = trigger === Trigger.HOVER ? _this3.constructor.Event.MOUSELEAVE : _this3.constructor.Event.FOCUSOUT;
420
- $(_this3.element).on(eventIn, _this3.config.selector, function (event) {
421
- return _this3._enter(event);
422
- }).on(eventOut, _this3.config.selector, function (event) {
423
- return _this3._leave(event);
483
+ });
484
+
485
+ if (this.config.selector) {
486
+ this.config = _objectSpread({}, this.config, {
487
+ trigger: 'manual',
488
+ selector: ''
424
489
  });
490
+ } else {
491
+ this._fixTitle();
425
492
  }
493
+ };
426
494
 
427
- $(_this3.element).closest('.modal').on('hide.bs.modal', function () {
428
- return _this3.hide();
429
- });
430
- });
431
-
432
- if (this.config.selector) {
433
- this.config = _objectSpread({}, this.config, {
434
- trigger: 'manual',
435
- selector: ''
436
- });
437
- } else {
438
- this._fixTitle();
439
- }
440
- };
495
+ _proto._fixTitle = function _fixTitle() {
496
+ var titleType = typeof this.element.getAttribute('data-original-title');
441
497
 
442
- _proto._fixTitle = function _fixTitle() {
443
- var titleType = typeof this.element.getAttribute('data-original-title');
498
+ if (this.element.getAttribute('title') || titleType !== 'string') {
499
+ this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
500
+ this.element.setAttribute('title', '');
501
+ }
502
+ };
444
503
 
445
- if (this.element.getAttribute('title') || titleType !== 'string') {
446
- this.element.setAttribute('data-original-title', this.element.getAttribute('title') || '');
447
- this.element.setAttribute('title', '');
448
- }
449
- };
504
+ _proto._enter = function _enter(event, context) {
505
+ var dataKey = this.constructor.DATA_KEY;
506
+ context = context || $$$1(event.currentTarget).data(dataKey);
450
507
 
451
- _proto._enter = function _enter(event, context) {
452
- var dataKey = this.constructor.DATA_KEY;
453
- context = context || $(event.currentTarget).data(dataKey);
508
+ if (!context) {
509
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
510
+ $$$1(event.currentTarget).data(dataKey, context);
511
+ }
454
512
 
455
- if (!context) {
456
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
457
- $(event.currentTarget).data(dataKey, context);
458
- }
513
+ if (event) {
514
+ context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
515
+ }
459
516
 
460
- if (event) {
461
- context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true;
462
- }
517
+ if ($$$1(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
518
+ context._hoverState = HoverState.SHOW;
519
+ return;
520
+ }
463
521
 
464
- if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) {
522
+ clearTimeout(context._timeout);
465
523
  context._hoverState = HoverState.SHOW;
466
- return;
467
- }
468
-
469
- clearTimeout(context._timeout);
470
- context._hoverState = HoverState.SHOW;
471
524
 
472
- if (!context.config.delay || !context.config.delay.show) {
473
- context.show();
474
- return;
475
- }
476
-
477
- context._timeout = setTimeout(function () {
478
- if (context._hoverState === HoverState.SHOW) {
525
+ if (!context.config.delay || !context.config.delay.show) {
479
526
  context.show();
527
+ return;
480
528
  }
481
- }, context.config.delay.show);
482
- };
483
529
 
484
- _proto._leave = function _leave(event, context) {
485
- var dataKey = this.constructor.DATA_KEY;
486
- context = context || $(event.currentTarget).data(dataKey);
530
+ context._timeout = setTimeout(function () {
531
+ if (context._hoverState === HoverState.SHOW) {
532
+ context.show();
533
+ }
534
+ }, context.config.delay.show);
535
+ };
487
536
 
488
- if (!context) {
489
- context = new this.constructor(event.currentTarget, this._getDelegateConfig());
490
- $(event.currentTarget).data(dataKey, context);
491
- }
537
+ _proto._leave = function _leave(event, context) {
538
+ var dataKey = this.constructor.DATA_KEY;
539
+ context = context || $$$1(event.currentTarget).data(dataKey);
492
540
 
493
- if (event) {
494
- context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
495
- }
541
+ if (!context) {
542
+ context = new this.constructor(event.currentTarget, this._getDelegateConfig());
543
+ $$$1(event.currentTarget).data(dataKey, context);
544
+ }
496
545
 
497
- if (context._isWithActiveTrigger()) {
498
- return;
499
- }
546
+ if (event) {
547
+ context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false;
548
+ }
500
549
 
501
- clearTimeout(context._timeout);
502
- context._hoverState = HoverState.OUT;
550
+ if (context._isWithActiveTrigger()) {
551
+ return;
552
+ }
503
553
 
504
- if (!context.config.delay || !context.config.delay.hide) {
505
- context.hide();
506
- return;
507
- }
554
+ clearTimeout(context._timeout);
555
+ context._hoverState = HoverState.OUT;
508
556
 
509
- context._timeout = setTimeout(function () {
510
- if (context._hoverState === HoverState.OUT) {
557
+ if (!context.config.delay || !context.config.delay.hide) {
511
558
  context.hide();
559
+ return;
512
560
  }
513
- }, context.config.delay.hide);
514
- };
515
561
 
516
- _proto._isWithActiveTrigger = function _isWithActiveTrigger() {
517
- for (var trigger in this._activeTrigger) {
518
- if (this._activeTrigger[trigger]) {
519
- return true;
562
+ context._timeout = setTimeout(function () {
563
+ if (context._hoverState === HoverState.OUT) {
564
+ context.hide();
565
+ }
566
+ }, context.config.delay.hide);
567
+ };
568
+
569
+ _proto._isWithActiveTrigger = function _isWithActiveTrigger() {
570
+ for (var trigger in this._activeTrigger) {
571
+ if (this._activeTrigger[trigger]) {
572
+ return true;
573
+ }
520
574
  }
521
- }
522
575
 
523
- return false;
524
- };
576
+ return false;
577
+ };
525
578
 
526
- _proto._getConfig = function _getConfig(config) {
527
- config = _objectSpread({}, this.constructor.Default, $(this.element).data(), typeof config === 'object' && config ? config : {});
579
+ _proto._getConfig = function _getConfig(config) {
580
+ config = _objectSpread({}, this.constructor.Default, $$$1(this.element).data(), typeof config === 'object' && config ? config : {});
528
581
 
529
- if (typeof config.delay === 'number') {
530
- config.delay = {
531
- show: config.delay,
532
- hide: config.delay
533
- };
534
- }
582
+ if (typeof config.delay === 'number') {
583
+ config.delay = {
584
+ show: config.delay,
585
+ hide: config.delay
586
+ };
587
+ }
535
588
 
536
- if (typeof config.title === 'number') {
537
- config.title = config.title.toString();
538
- }
589
+ if (typeof config.title === 'number') {
590
+ config.title = config.title.toString();
591
+ }
539
592
 
540
- if (typeof config.content === 'number') {
541
- config.content = config.content.toString();
542
- }
593
+ if (typeof config.content === 'number') {
594
+ config.content = config.content.toString();
595
+ }
543
596
 
544
- Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
545
- return config;
546
- };
597
+ Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
598
+ return config;
599
+ };
547
600
 
548
- _proto._getDelegateConfig = function _getDelegateConfig() {
549
- var config = {};
601
+ _proto._getDelegateConfig = function _getDelegateConfig() {
602
+ var config = {};
550
603
 
551
- if (this.config) {
552
- for (var key in this.config) {
553
- if (this.constructor.Default[key] !== this.config[key]) {
554
- config[key] = this.config[key];
604
+ if (this.config) {
605
+ for (var key in this.config) {
606
+ if (this.constructor.Default[key] !== this.config[key]) {
607
+ config[key] = this.config[key];
608
+ }
555
609
  }
556
610
  }
557
- }
558
611
 
559
- return config;
560
- };
612
+ return config;
613
+ };
561
614
 
562
- _proto._cleanTipClass = function _cleanTipClass() {
563
- var $tip = $(this.getTipElement());
564
- var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
615
+ _proto._cleanTipClass = function _cleanTipClass() {
616
+ var $tip = $$$1(this.getTipElement());
617
+ var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX);
565
618
 
566
- if (tabClass !== null && tabClass.length > 0) {
567
- $tip.removeClass(tabClass.join(''));
568
- }
569
- };
619
+ if (tabClass !== null && tabClass.length) {
620
+ $tip.removeClass(tabClass.join(''));
621
+ }
622
+ };
570
623
 
571
- _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(data) {
572
- this._cleanTipClass();
624
+ _proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) {
625
+ var popperInstance = popperData.instance;
626
+ this.tip = popperInstance.popper;
573
627
 
574
- this.addAttachmentClass(this._getAttachment(data.placement));
575
- };
628
+ this._cleanTipClass();
576
629
 
577
- _proto._fixTransition = function _fixTransition() {
578
- var tip = this.getTipElement();
579
- var initConfigAnimation = this.config.animation;
630
+ this.addAttachmentClass(this._getAttachment(popperData.placement));
631
+ };
580
632
 
581
- if (tip.getAttribute('x-placement') !== null) {
582
- return;
583
- }
633
+ _proto._fixTransition = function _fixTransition() {
634
+ var tip = this.getTipElement();
635
+ var initConfigAnimation = this.config.animation;
636
+
637
+ if (tip.getAttribute('x-placement') !== null) {
638
+ return;
639
+ }
584
640
 
585
- $(tip).removeClass(ClassName.FADE);
586
- this.config.animation = false;
587
- this.hide();
588
- this.show();
589
- this.config.animation = initConfigAnimation;
590
- }; // Static
641
+ $$$1(tip).removeClass(ClassName.FADE);
642
+ this.config.animation = false;
643
+ this.hide();
644
+ this.show();
645
+ this.config.animation = initConfigAnimation;
646
+ }; // Static
591
647
 
592
648
 
593
- Tooltip._jQueryInterface = function _jQueryInterface(config) {
594
- return this.each(function () {
595
- var data = $(this).data(DATA_KEY);
649
+ Tooltip._jQueryInterface = function _jQueryInterface(config) {
650
+ return this.each(function () {
651
+ var data = $$$1(this).data(DATA_KEY);
596
652
 
597
- var _config = typeof config === 'object' && config;
653
+ var _config = typeof config === 'object' && config;
598
654
 
599
- if (!data && /dispose|hide/.test(config)) {
600
- return;
601
- }
655
+ if (!data && /dispose|hide/.test(config)) {
656
+ return;
657
+ }
602
658
 
603
- if (!data) {
604
- data = new Tooltip(this, _config);
605
- $(this).data(DATA_KEY, data);
606
- }
659
+ if (!data) {
660
+ data = new Tooltip(this, _config);
661
+ $$$1(this).data(DATA_KEY, data);
662
+ }
663
+
664
+ if (typeof config === 'string') {
665
+ if (typeof data[config] === 'undefined') {
666
+ throw new TypeError("No method named \"" + config + "\"");
667
+ }
607
668
 
608
- if (typeof config === 'string') {
609
- if (typeof data[config] === 'undefined') {
610
- throw new TypeError("No method named \"" + config + "\"");
669
+ data[config]();
611
670
  }
671
+ });
672
+ };
612
673
 
613
- data[config]();
674
+ _createClass(Tooltip, null, [{
675
+ key: "VERSION",
676
+ get: function get() {
677
+ return VERSION;
614
678
  }
615
- });
616
- };
679
+ }, {
680
+ key: "Default",
681
+ get: function get() {
682
+ return Default;
683
+ }
684
+ }, {
685
+ key: "NAME",
686
+ get: function get() {
687
+ return NAME;
688
+ }
689
+ }, {
690
+ key: "DATA_KEY",
691
+ get: function get() {
692
+ return DATA_KEY;
693
+ }
694
+ }, {
695
+ key: "Event",
696
+ get: function get() {
697
+ return Event;
698
+ }
699
+ }, {
700
+ key: "EVENT_KEY",
701
+ get: function get() {
702
+ return EVENT_KEY;
703
+ }
704
+ }, {
705
+ key: "DefaultType",
706
+ get: function get() {
707
+ return DefaultType;
708
+ }
709
+ }]);
617
710
 
618
- _createClass(Tooltip, null, [{
619
- key: "VERSION",
620
- get: function get() {
621
- return VERSION;
622
- }
623
- }, {
624
- key: "Default",
625
- get: function get() {
626
- return Default;
627
- }
628
- }, {
629
- key: "NAME",
630
- get: function get() {
631
- return NAME;
632
- }
633
- }, {
634
- key: "DATA_KEY",
635
- get: function get() {
636
- return DATA_KEY;
637
- }
638
- }, {
639
- key: "Event",
640
- get: function get() {
641
- return Event;
642
- }
643
- }, {
644
- key: "EVENT_KEY",
645
- get: function get() {
646
- return EVENT_KEY;
647
- }
648
- }, {
649
- key: "DefaultType",
650
- get: function get() {
651
- return DefaultType;
652
- }
653
- }]);
711
+ return Tooltip;
712
+ }();
713
+ /**
714
+ * ------------------------------------------------------------------------
715
+ * jQuery
716
+ * ------------------------------------------------------------------------
717
+ */
654
718
 
655
- return Tooltip;
656
- }();
657
- /**
658
- * ------------------------------------------------------------------------
659
- * jQuery
660
- * ------------------------------------------------------------------------
661
- */
662
719
 
720
+ $$$1.fn[NAME] = Tooltip._jQueryInterface;
721
+ $$$1.fn[NAME].Constructor = Tooltip;
663
722
 
664
- $.fn[NAME] = Tooltip._jQueryInterface;
665
- $.fn[NAME].Constructor = Tooltip;
723
+ $$$1.fn[NAME].noConflict = function () {
724
+ $$$1.fn[NAME] = JQUERY_NO_CONFLICT;
725
+ return Tooltip._jQueryInterface;
726
+ };
666
727
 
667
- $.fn[NAME].noConflict = function () {
668
- $.fn[NAME] = JQUERY_NO_CONFLICT;
669
- return Tooltip._jQueryInterface;
670
- };
728
+ return Tooltip;
729
+ }($, Popper);
671
730
 
672
731
  return Tooltip;
673
- }($, Popper);
674
- //# sourceMappingURL=tooltip.js.map
732
+
733
+ })));
734
+ //# sourceMappingURL=tooltip.js.map