@nanoporetech-digital/components 7.9.1 → 8.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1783) hide show
  1. package/dist/cjs/active-element-DB7WRcF-.js +69 -0
  2. package/dist/cjs/algolia-data-JweofGji.js +49 -0
  3. package/dist/cjs/algoliasearch-lite.esm.browser-DWj6KfUw.js +951 -0
  4. package/dist/cjs/component-store-DKMzj8Ei.js +326 -0
  5. package/dist/cjs/date-utils-DqYlulq4.js +232 -0
  6. package/dist/cjs/dom-a3wgHxbn.js +71 -0
  7. package/dist/cjs/drag-B5XXLJW9.js +72 -0
  8. package/dist/cjs/events-pBdXJwIU.js +37 -0
  9. package/dist/cjs/fade-run1oYFS.js +212 -0
  10. package/dist/cjs/form-control-zW-pmQ5Y.js +84 -0
  11. package/dist/cjs/fullscreen-DGiusO_n.js +132 -0
  12. package/dist/cjs/index-BV7Y7Zvi.js +198 -0
  13. package/dist/cjs/index-D0X7QVou.js +655 -0
  14. package/dist/cjs/index-DYD4xvxr.js +3328 -0
  15. package/dist/cjs/index-browser-3bwVgSYS.js +13 -0
  16. package/dist/cjs/index.cjs.js +41 -24
  17. package/dist/cjs/lazyload-CavfHrQV.js +94 -0
  18. package/dist/cjs/loader.cjs.js +4 -9
  19. package/dist/cjs/local-logged-in-C8Qr7Q7o.js +223 -0
  20. package/dist/cjs/local-logged-out-fCQ614s8.js +219 -0
  21. package/dist/cjs/math-DIjJ3V87.js +39 -0
  22. package/dist/cjs/modal-lJ_KdrUQ.js +49 -0
  23. package/dist/cjs/nano-accordion.cjs.entry.js +13 -27
  24. package/dist/cjs/nano-alert.cjs.entry.js +85 -36
  25. package/dist/cjs/nano-algolia-filter.cjs.entry.js +10 -15
  26. package/dist/cjs/nano-algolia-pagination.cjs.entry.js +5 -9
  27. package/dist/cjs/nano-algolia-results.cjs.entry.js +7 -11
  28. package/dist/cjs/nano-algolia.cjs.entry.js +22 -27
  29. package/dist/cjs/nano-animation.cjs.entry.js +4 -8
  30. package/dist/cjs/nano-avatar_5.cjs.entry.js +1778 -0
  31. package/dist/cjs/nano-breadcrumb.cjs.entry.js +41 -0
  32. package/dist/cjs/nano-card-carousel.cjs.entry.js +95 -0
  33. package/dist/cjs/nano-card.cjs.entry.js +23 -0
  34. package/dist/cjs/nano-checkbox-group.cjs.entry.js +79 -47
  35. package/dist/cjs/nano-checkbox.cjs.entry.js +34 -24
  36. package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +62 -0
  37. package/dist/cjs/nano-components.cjs.js +8 -11
  38. package/dist/cjs/nano-content-links.cjs.entry.js +17 -0
  39. package/dist/cjs/nano-cta.cjs.entry.js +42 -0
  40. package/dist/cjs/nano-data-table-DlJaR4KG.js +1847 -0
  41. package/dist/cjs/nano-data-table.cjs.entry.js +17 -0
  42. package/dist/cjs/nano-datalist_3.cjs.entry.js +85 -258
  43. package/dist/cjs/nano-date-input.cjs.entry.js +14 -27
  44. package/dist/cjs/nano-date-picker_2.cjs.entry.js +999 -0
  45. package/dist/cjs/nano-details.cjs.entry.js +61 -81
  46. package/dist/cjs/nano-dialog.cjs.entry.js +45 -42
  47. package/dist/cjs/nano-dropdown_2.cjs.entry.js +640 -0
  48. package/dist/cjs/nano-field-validator.cjs.entry.js +9 -17
  49. package/dist/cjs/nano-file-upload.cjs.entry.js +6 -11
  50. package/dist/cjs/nano-footer.cjs.entry.js +25 -0
  51. package/dist/cjs/nano-global-nav.cjs.entry.js +416 -1171
  52. package/dist/cjs/nano-grid-item.cjs.entry.js +3 -7
  53. package/dist/cjs/nano-grid_2.cjs.entry.js +12 -18
  54. package/dist/cjs/nano-hero.cjs.entry.js +9 -16
  55. package/dist/cjs/nano-icon-item.cjs.entry.js +21 -0
  56. package/dist/cjs/nano-icon_3.cjs.entry.js +655 -0
  57. package/dist/cjs/nano-in-page-nav.cjs.entry.js +212 -0
  58. package/dist/cjs/nano-intersection-observe.cjs.entry.js +15 -10
  59. package/dist/cjs/nano-masked-overflow.cjs.entry.js +351 -0
  60. package/dist/cjs/nano-menu-drawer.cjs.entry.js +8 -13
  61. package/dist/cjs/nano-more-less.cjs.entry.js +5 -9
  62. package/dist/cjs/nano-nav-item.cjs.entry.js +271 -0
  63. package/dist/cjs/nano-progress-bar.cjs.entry.js +8 -13
  64. package/dist/cjs/nano-range.cjs.entry.js +9 -14
  65. package/dist/cjs/nano-rating.cjs.entry.js +10 -20
  66. package/dist/cjs/nano-resize-observe_2.cjs.entry.js +8 -13
  67. package/dist/cjs/nano-slide.cjs.entry.js +6 -11
  68. package/dist/cjs/nano-slides-D5q9vQ4P.js +3050 -0
  69. package/dist/cjs/nano-slides.cjs.entry.js +4 -8
  70. package/dist/cjs/nano-sortable.cjs.entry.js +11 -14
  71. package/dist/cjs/nano-spinner.cjs.entry.js +6 -11
  72. package/dist/cjs/nano-split-pane.cjs.entry.js +9 -14
  73. package/dist/cjs/nano-sticker.cjs.entry.js +12 -17
  74. package/dist/cjs/nano-tab-content.cjs.entry.js +9 -14
  75. package/dist/cjs/nano-tab-group.cjs.entry.js +64 -228
  76. package/dist/cjs/nano-tab.cjs.entry.js +18 -20
  77. package/dist/cjs/nano-table.cjs.entry.js +232 -13
  78. package/dist/cjs/page-dots-D-QQnR4W.js +138 -0
  79. package/dist/cjs/popover-CpIMxMWJ.js +1947 -0
  80. package/dist/cjs/renderer-SkVn69pT.js +71 -0
  81. package/dist/cjs/scroll-DXjC771e.js +185 -0
  82. package/dist/cjs/search-insights-BtxuX7Wv.js +50 -0
  83. package/dist/cjs/slot-CBvkJee9.js +107 -0
  84. package/dist/cjs/style-BccHkuhC.js +58 -0
  85. package/dist/cjs/tabbable-M9OUrhLE.js +124 -0
  86. package/dist/cjs/table.worker-BTF0UXAd.js +4 -0
  87. package/dist/cjs/table.worker-FkRsUwRY.js +32 -0
  88. package/dist/cjs/theme-2potFCtG.js +46 -0
  89. package/dist/cjs/throttle-CrRDOkln.js +52 -0
  90. package/dist/collection/assets/img/bsi/27001.svg +188 -0
  91. package/dist/collection/assets/img/bsi/9001.svg +172 -0
  92. package/dist/collection/assets/img/bsi/mark-of-trust.svg +230 -0
  93. package/dist/collection/assets/img/flags/en.svg +15 -0
  94. package/dist/collection/assets/img/flags/es.svg +544 -0
  95. package/dist/collection/assets/img/flags/ja.svg +11 -0
  96. package/dist/collection/assets/img/flags/zh.svg +14 -0
  97. package/dist/collection/collection-manifest.json +16 -4
  98. package/dist/collection/components/accordion/accordion.css +24 -10
  99. package/dist/collection/components/accordion/accordion.js +20 -55
  100. package/dist/collection/components/alert/alert.css +127 -58
  101. package/dist/collection/components/alert/alert.helpers.js +19 -12
  102. package/dist/collection/components/alert/alert.js +147 -32
  103. package/dist/collection/components/algolia/algolia-data.js +1 -2
  104. package/dist/collection/components/algolia/algolia-filter.css +23 -9
  105. package/dist/collection/components/algolia/algolia-filter.js +8 -9
  106. package/dist/collection/components/algolia/algolia-interface.js +0 -1
  107. package/dist/collection/components/algolia/algolia-pagination.js +4 -5
  108. package/dist/collection/components/algolia/algolia-results.js +5 -6
  109. package/dist/collection/components/algolia/algolia.css +23 -9
  110. package/dist/collection/components/algolia/algolia.js +20 -18
  111. package/dist/collection/components/algolia/lib/squirrelly/browser.js +1 -2
  112. package/dist/collection/components/algolia/lib/squirrelly/compile-string.js +1 -2
  113. package/dist/collection/components/algolia/lib/squirrelly/compile.js +1 -2
  114. package/dist/collection/components/algolia/lib/squirrelly/config.js +1 -2
  115. package/dist/collection/components/algolia/lib/squirrelly/container-utils.js +1 -2
  116. package/dist/collection/components/algolia/lib/squirrelly/containers.js +1 -2
  117. package/dist/collection/components/algolia/lib/squirrelly/err.js +1 -2
  118. package/dist/collection/components/algolia/lib/squirrelly/parse.js +1 -2
  119. package/dist/collection/components/algolia/lib/squirrelly/render.js +1 -2
  120. package/dist/collection/components/algolia/lib/squirrelly/storage.js +1 -2
  121. package/dist/collection/components/algolia/lib/squirrelly/utils.js +1 -2
  122. package/dist/collection/components/algolia/lib/template.js +1 -2
  123. package/dist/collection/components/animation/animation.js +15 -15
  124. package/dist/collection/components/animation/animations/attention_seekers/bounce.js +1 -2
  125. package/dist/collection/components/animation/animations/attention_seekers/flash.js +1 -2
  126. package/dist/collection/components/animation/animations/attention_seekers/headShake.js +1 -2
  127. package/dist/collection/components/animation/animations/attention_seekers/heartBeat.js +1 -2
  128. package/dist/collection/components/animation/animations/attention_seekers/jello.js +1 -2
  129. package/dist/collection/components/animation/animations/attention_seekers/pulse.js +1 -2
  130. package/dist/collection/components/animation/animations/attention_seekers/rubberBand.js +1 -2
  131. package/dist/collection/components/animation/animations/attention_seekers/shake.js +1 -2
  132. package/dist/collection/components/animation/animations/attention_seekers/shakeX.js +1 -2
  133. package/dist/collection/components/animation/animations/attention_seekers/shakeY.js +1 -2
  134. package/dist/collection/components/animation/animations/attention_seekers/swing.js +1 -2
  135. package/dist/collection/components/animation/animations/attention_seekers/tada.js +1 -2
  136. package/dist/collection/components/animation/animations/attention_seekers/wobble.js +1 -2
  137. package/dist/collection/components/animation/animations/back_entrances/backInDown.js +1 -2
  138. package/dist/collection/components/animation/animations/back_entrances/backInLeft.js +1 -2
  139. package/dist/collection/components/animation/animations/back_entrances/backInRight.js +1 -2
  140. package/dist/collection/components/animation/animations/back_entrances/backInUp.js +1 -2
  141. package/dist/collection/components/animation/animations/back_exits/backOutDown.js +1 -2
  142. package/dist/collection/components/animation/animations/back_exits/backOutLeft.js +1 -2
  143. package/dist/collection/components/animation/animations/back_exits/backOutRight.js +1 -2
  144. package/dist/collection/components/animation/animations/back_exits/backOutUp.js +1 -2
  145. package/dist/collection/components/animation/animations/bouncing_entrances/bounceIn.js +1 -2
  146. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInDown.js +1 -2
  147. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInLeft.js +1 -2
  148. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInRight.js +1 -2
  149. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInUp.js +1 -2
  150. package/dist/collection/components/animation/animations/bouncing_exits/bounceOut.js +1 -2
  151. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutDown.js +1 -2
  152. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutLeft.js +1 -2
  153. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutRight.js +1 -2
  154. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutUp.js +1 -2
  155. package/dist/collection/components/animation/animations/easings/easings.js +1 -2
  156. package/dist/collection/components/animation/animations/fading_entrances/fadeIn.js +1 -2
  157. package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomLeft.js +1 -2
  158. package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomRight.js +1 -2
  159. package/dist/collection/components/animation/animations/fading_entrances/fadeInDown.js +1 -2
  160. package/dist/collection/components/animation/animations/fading_entrances/fadeInDownBig.js +1 -2
  161. package/dist/collection/components/animation/animations/fading_entrances/fadeInLeft.js +1 -2
  162. package/dist/collection/components/animation/animations/fading_entrances/fadeInLeftBig.js +1 -2
  163. package/dist/collection/components/animation/animations/fading_entrances/fadeInRight.js +1 -2
  164. package/dist/collection/components/animation/animations/fading_entrances/fadeInRightBig.js +1 -2
  165. package/dist/collection/components/animation/animations/fading_entrances/fadeInTopLeft.js +1 -2
  166. package/dist/collection/components/animation/animations/fading_entrances/fadeInTopRight.js +1 -2
  167. package/dist/collection/components/animation/animations/fading_entrances/fadeInUp.js +1 -2
  168. package/dist/collection/components/animation/animations/fading_entrances/fadeInUpBig.js +1 -2
  169. package/dist/collection/components/animation/animations/fading_exits/fadeOut.js +1 -2
  170. package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomLeft.js +1 -2
  171. package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomRight.js +1 -2
  172. package/dist/collection/components/animation/animations/fading_exits/fadeOutDown.js +1 -2
  173. package/dist/collection/components/animation/animations/fading_exits/fadeOutDownBig.js +1 -2
  174. package/dist/collection/components/animation/animations/fading_exits/fadeOutLeft.js +1 -2
  175. package/dist/collection/components/animation/animations/fading_exits/fadeOutLeftBig.js +1 -2
  176. package/dist/collection/components/animation/animations/fading_exits/fadeOutRight.js +1 -2
  177. package/dist/collection/components/animation/animations/fading_exits/fadeOutRightBig.js +1 -2
  178. package/dist/collection/components/animation/animations/fading_exits/fadeOutTopLeft.js +1 -2
  179. package/dist/collection/components/animation/animations/fading_exits/fadeOutTopRight.js +1 -2
  180. package/dist/collection/components/animation/animations/fading_exits/fadeOutUp.js +1 -2
  181. package/dist/collection/components/animation/animations/fading_exits/fadeOutUpBig.js +1 -2
  182. package/dist/collection/components/animation/animations/flippers/flip.js +1 -2
  183. package/dist/collection/components/animation/animations/flippers/flipInX.js +1 -2
  184. package/dist/collection/components/animation/animations/flippers/flipInY.js +1 -2
  185. package/dist/collection/components/animation/animations/flippers/flipOutX.js +1 -2
  186. package/dist/collection/components/animation/animations/flippers/flipOutY.js +1 -2
  187. package/dist/collection/components/animation/animations/index.js +1 -2
  188. package/dist/collection/components/animation/animations/lightspeed/lightSpeedInLeft.js +1 -2
  189. package/dist/collection/components/animation/animations/lightspeed/lightSpeedInRight.js +1 -2
  190. package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutLeft.js +1 -2
  191. package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutRight.js +1 -2
  192. package/dist/collection/components/animation/animations/rotating_entrances/rotateIn.js +1 -2
  193. package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownLeft.js +1 -2
  194. package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownRight.js +1 -2
  195. package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpLeft.js +1 -2
  196. package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpRight.js +1 -2
  197. package/dist/collection/components/animation/animations/rotating_exits/rotateOut.js +1 -2
  198. package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownLeft.js +1 -2
  199. package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownRight.js +1 -2
  200. package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpLeft.js +1 -2
  201. package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpRight.js +1 -2
  202. package/dist/collection/components/animation/animations/sliding_entrances/slideInDown.js +1 -2
  203. package/dist/collection/components/animation/animations/sliding_entrances/slideInLeft.js +1 -2
  204. package/dist/collection/components/animation/animations/sliding_entrances/slideInRight.js +1 -2
  205. package/dist/collection/components/animation/animations/sliding_entrances/slideInUp.js +1 -2
  206. package/dist/collection/components/animation/animations/sliding_exits/slideOutDown.js +1 -2
  207. package/dist/collection/components/animation/animations/sliding_exits/slideOutLeft.js +1 -2
  208. package/dist/collection/components/animation/animations/sliding_exits/slideOutRight.js +1 -2
  209. package/dist/collection/components/animation/animations/sliding_exits/slideOutUp.js +1 -2
  210. package/dist/collection/components/animation/animations/specials/hinge.js +1 -2
  211. package/dist/collection/components/animation/animations/specials/jackInTheBox.js +1 -2
  212. package/dist/collection/components/animation/animations/specials/rollIn.js +1 -2
  213. package/dist/collection/components/animation/animations/specials/rollOut.js +1 -2
  214. package/dist/collection/components/animation/animations/zooming_entrances/zoomIn.js +1 -2
  215. package/dist/collection/components/animation/animations/zooming_entrances/zoomInDown.js +1 -2
  216. package/dist/collection/components/animation/animations/zooming_entrances/zoomInLeft.js +1 -2
  217. package/dist/collection/components/animation/animations/zooming_entrances/zoomInRight.js +1 -2
  218. package/dist/collection/components/animation/animations/zooming_entrances/zoomInUp.js +1 -2
  219. package/dist/collection/components/animation/animations/zooming_exits/zoomOut.js +1 -2
  220. package/dist/collection/components/animation/animations/zooming_exits/zoomOutDown.js +1 -2
  221. package/dist/collection/components/animation/animations/zooming_exits/zoomOutLeft.js +1 -2
  222. package/dist/collection/components/animation/animations/zooming_exits/zoomOutRight.js +1 -2
  223. package/dist/collection/components/animation/animations/zooming_exits/zoomOutUp.js +1 -2
  224. package/dist/collection/components/avatar/avatar.css +41 -0
  225. package/dist/collection/components/avatar/avatar.js +47 -0
  226. package/dist/collection/components/badge/badge.js +84 -0
  227. package/dist/collection/components/breadcrumb/breadcrumb.css +168 -0
  228. package/dist/collection/components/breadcrumb/breadcrumb.js +83 -0
  229. package/dist/collection/components/card/card.css +43 -0
  230. package/dist/collection/components/card/card.js +92 -0
  231. package/dist/collection/components/card-carousel/card-carousel.css +167 -0
  232. package/dist/collection/components/card-carousel/card-carousel.js +144 -0
  233. package/dist/collection/components/checkbox/checkbox-group.css +96 -106
  234. package/dist/collection/components/checkbox/checkbox-group.js +95 -56
  235. package/dist/collection/components/checkbox/checkbox-interface.js +0 -1
  236. package/dist/collection/components/checkbox/checkbox.css +303 -305
  237. package/dist/collection/components/checkbox/checkbox.js +76 -59
  238. package/dist/collection/components/collapsible-comparison/collapsible-comparison.css +80 -0
  239. package/dist/collection/components/collapsible-comparison/collapsible-comparison.js +120 -0
  240. package/dist/collection/components/content-links/content-links.css +46 -0
  241. package/dist/collection/components/content-links/content-links.js +21 -0
  242. package/dist/collection/components/cta/cta.css +49 -0
  243. package/dist/collection/components/cta/cta.js +175 -0
  244. package/dist/collection/components/data-table/table.cell.js +114 -0
  245. package/dist/collection/components/data-table/table.constants.js +4 -0
  246. package/dist/collection/components/data-table/table.css +327 -0
  247. package/dist/collection/components/data-table/table.header.js +65 -0
  248. package/dist/collection/components/data-table/table.js +1721 -0
  249. package/dist/collection/components/data-table/table.pin-service.js +388 -0
  250. package/dist/collection/components/data-table/table.row.js +112 -0
  251. package/dist/collection/components/data-table/table.store.js +144 -0
  252. package/dist/collection/components/data-table/table.utils.js +133 -0
  253. package/dist/collection/components/data-table/table.worker.js +220 -0
  254. package/dist/collection/components/datalist/datalist.css +43 -26
  255. package/dist/collection/components/datalist/datalist.js +35 -32
  256. package/dist/collection/components/date-input/date-input.css +25 -13
  257. package/dist/collection/components/date-input/date-input.js +49 -48
  258. package/dist/collection/components/date-picker/date-picker.css +51 -53
  259. package/dist/collection/components/date-picker/date-picker.js +41 -73
  260. package/dist/collection/components/date-picker/duet-date-picker/date-adapter.js +1 -2
  261. package/dist/collection/components/date-picker/duet-date-picker/date-localization.js +1 -2
  262. package/dist/collection/components/date-picker/duet-date-picker/date-picker-day.js +1 -2
  263. package/dist/collection/components/date-picker/duet-date-picker/date-picker-month.js +2 -3
  264. package/dist/collection/components/details/details.css +80 -106
  265. package/dist/collection/components/details/details.js +83 -134
  266. package/dist/collection/components/dialog/dialog.css +89 -87
  267. package/dist/collection/components/dialog/dialog.helpers.js +18 -7
  268. package/dist/collection/components/dialog/dialog.js +47 -57
  269. package/dist/collection/components/drawer/drawer.css +119 -50
  270. package/dist/collection/components/drawer/drawer.js +144 -55
  271. package/dist/collection/components/dropdown/dropdown.css +46 -31
  272. package/dist/collection/components/dropdown/dropdown.js +82 -64
  273. package/dist/collection/components/field-validator/field-validator.js +22 -25
  274. package/dist/collection/components/file-upload/file-upload-list.js +1 -2
  275. package/dist/collection/components/file-upload/file-upload.css +29 -17
  276. package/dist/collection/components/file-upload/file-upload.js +20 -20
  277. package/dist/collection/components/footer/footer.css +185 -0
  278. package/dist/collection/components/footer/footer.js +43 -0
  279. package/dist/collection/components/form-control/form-control.js +8 -8
  280. package/dist/collection/components/global-nav/assets/local-logged-in.json +202 -0
  281. package/dist/collection/components/global-nav/assets/local-logged-out.json +198 -0
  282. package/dist/collection/components/global-nav/global-nav.css +435 -0
  283. package/dist/collection/components/global-nav/global-nav.js +573 -1468
  284. package/dist/collection/components/global-search-results/global-search-results.css +26 -14
  285. package/dist/collection/components/global-search-results/global-search-results.js +36 -27
  286. package/dist/collection/components/grid/grid-item.js +2 -3
  287. package/dist/collection/components/grid/grid.css +23 -9
  288. package/dist/collection/components/grid/grid.js +21 -24
  289. package/dist/collection/components/hero/hero.css +23 -9
  290. package/dist/collection/components/hero/hero.js +12 -13
  291. package/dist/collection/components/icon/device/elysion.svg +5 -0
  292. package/dist/collection/components/icon/device/flongle.svg +4 -0
  293. package/dist/collection/components/icon/device/gridion.svg +9 -0
  294. package/dist/collection/components/icon/device/minion-mk1d.svg +4 -0
  295. package/dist/collection/components/icon/device/p2-integrated.svg +7 -0
  296. package/dist/collection/components/icon/device/p2-solo.svg +5 -0
  297. package/dist/collection/components/icon/device/p24.svg +6 -0
  298. package/dist/collection/components/icon/device/q.svg +4 -0
  299. package/dist/collection/components/icon/icon.css +76 -37
  300. package/dist/collection/components/icon/icon.js +144 -103
  301. package/dist/collection/components/icon/pictogram/analyse.svg +10 -0
  302. package/dist/collection/components/icon/pictogram/animal-research.svg +4 -0
  303. package/dist/collection/components/icon/pictogram/assembly.svg +3 -0
  304. package/dist/collection/components/icon/pictogram/biopharma.svg +3 -0
  305. package/dist/collection/components/icon/pictogram/cancer-research.svg +15 -0
  306. package/dist/collection/components/icon/pictogram/chromatin-conformation.svg +3 -0
  307. package/dist/collection/components/icon/pictogram/clinical-research.svg +3 -0
  308. package/dist/collection/components/icon/pictogram/environmental-conservation.svg +5 -0
  309. package/dist/collection/components/icon/pictogram/epigenetics.svg +5 -0
  310. package/dist/collection/components/icon/pictogram/fusion-transcripts.svg +3 -0
  311. package/dist/collection/components/icon/pictogram/gene-expression.svg +3 -0
  312. package/dist/collection/components/icon/pictogram/genome-research.svg +3 -0
  313. package/dist/collection/components/icon/pictogram/human-genomics.svg +4 -0
  314. package/dist/collection/components/icon/pictogram/infectious-disease.svg +13 -0
  315. package/dist/collection/components/icon/pictogram/microbial-genomics.svg +15 -0
  316. package/dist/collection/components/icon/pictogram/microbiome-metagenomics.svg +16 -0
  317. package/dist/collection/components/icon/pictogram/multiomics.svg +13 -0
  318. package/dist/collection/components/icon/pictogram/plant-research.svg +3 -0
  319. package/dist/collection/components/icon/pictogram/population-genomics.svg +6 -0
  320. package/dist/collection/components/icon/pictogram/prepare.svg +4 -0
  321. package/dist/collection/components/icon/pictogram/scalable.svg +12 -0
  322. package/dist/collection/components/icon/pictogram/sequence.svg +3 -0
  323. package/dist/collection/components/icon/pictogram/single-cell-spatial-transcriptions.svg +12 -0
  324. package/dist/collection/components/icon/pictogram/snvs-phasing.svg +4 -0
  325. package/dist/collection/components/icon/pictogram/splice-variation.svg +4 -0
  326. package/dist/collection/components/icon/pictogram/structural-variation.svg +4 -0
  327. package/dist/collection/components/icon/pictogram/targeted-sequencing.svg +10 -0
  328. package/dist/collection/components/icon/pictogram/transcriptomics.svg +3 -0
  329. package/dist/collection/components/icon/pictogram/unrestricted-read-length.svg +10 -0
  330. package/dist/collection/components/icon/pictogram/whole-genome-sequencing.svg +3 -0
  331. package/dist/collection/components/icon/pictogram/workflow-end-to-end.svg +3 -0
  332. package/dist/collection/components/icon/request.js +1 -2
  333. package/dist/collection/components/icon/utils.js +8 -11
  334. package/dist/collection/components/icon/validate.js +1 -2
  335. package/dist/collection/components/icon-button/icon-button.css +45 -37
  336. package/dist/collection/components/icon-button/icon-button.js +17 -26
  337. package/dist/collection/components/icon-item/icon-item.css +41 -0
  338. package/dist/collection/components/icon-item/icon-item.js +72 -0
  339. package/dist/collection/components/img/img.css +23 -9
  340. package/dist/collection/components/img/img.js +10 -11
  341. package/dist/collection/components/in-page-nav/in-page-nav.css +122 -0
  342. package/dist/collection/components/in-page-nav/in-page-nav.js +278 -0
  343. package/dist/collection/components/input/input.css +215 -167
  344. package/dist/collection/components/input/input.js +372 -133
  345. package/dist/collection/components/intersection-observe/intersection-observe.js +21 -10
  346. package/dist/collection/components/masked-overflow/masked-overflow.css +241 -0
  347. package/dist/collection/components/masked-overflow/masked-overflow.js +610 -0
  348. package/dist/collection/components/menu/menu.css +38 -46
  349. package/dist/collection/components/menu/menu.js +93 -36
  350. package/dist/collection/components/menu-drawer/menu-drawer.css +23 -9
  351. package/dist/collection/components/menu-drawer/menu-drawer.js +7 -8
  352. package/dist/collection/components/more-less/more-less.js +7 -8
  353. package/dist/collection/components/nav-item/nav-item.css +73 -270
  354. package/dist/collection/components/nav-item/nav-item.js +128 -291
  355. package/dist/collection/components/option/option.css +57 -39
  356. package/dist/collection/components/option/option.js +33 -18
  357. package/dist/collection/components/progress-bar/progress-bar.css +23 -9
  358. package/dist/collection/components/progress-bar/progress-bar.js +11 -9
  359. package/dist/collection/components/range/range.css +23 -9
  360. package/dist/collection/components/range/range.js +17 -19
  361. package/dist/collection/components/rating/rating.css +24 -10
  362. package/dist/collection/components/rating/rating.js +13 -18
  363. package/dist/collection/components/resize-observe/resize-observe.js +6 -9
  364. package/dist/collection/components/select/select.css +194 -223
  365. package/dist/collection/components/select/select.js +108 -136
  366. package/dist/collection/components/skeleton/skeleton.css +23 -9
  367. package/dist/collection/components/skeleton/skeleton.js +7 -7
  368. package/dist/collection/components/slides/lib/js/animate.js +1 -2
  369. package/dist/collection/components/slides/lib/js/cell.js +1 -2
  370. package/dist/collection/components/slides/lib/js/drag.js +1 -2
  371. package/dist/collection/components/slides/lib/js/fade.js +1 -2
  372. package/dist/collection/components/slides/lib/js/flickity.js +15 -5
  373. package/dist/collection/components/slides/lib/js/fullscreen.js +1 -2
  374. package/dist/collection/components/slides/lib/js/index.js +1 -2
  375. package/dist/collection/components/slides/lib/js/lazyload.js +1 -2
  376. package/dist/collection/components/slides/lib/js/page-dots.js +5 -7
  377. package/dist/collection/components/slides/lib/js/player.js +1 -2
  378. package/dist/collection/components/slides/lib/js/prev-next-button.js +1 -2
  379. package/dist/collection/components/slides/lib/js/slide.js +1 -2
  380. package/dist/collection/components/slides/lib/js/utils/event-emitter.js +1 -2
  381. package/dist/collection/components/slides/lib/js/utils/gestures.js +1 -2
  382. package/dist/collection/components/slides/lib/js/utils/get-size.js +1 -2
  383. package/dist/collection/components/slides/lib/js/utils/utils.js +1 -2
  384. package/dist/collection/components/slides/slide.css +23 -9
  385. package/dist/collection/components/slides/slide.js +3 -4
  386. package/dist/collection/components/slides/slides.css +49 -24
  387. package/dist/collection/components/slides/slides.js +16 -16
  388. package/dist/collection/components/sortable/sortable.css +25 -13
  389. package/dist/collection/components/sortable/sortable.js +34 -25
  390. package/dist/collection/components/spinner/spinner.css +23 -11
  391. package/dist/collection/components/spinner/spinner.js +8 -5
  392. package/dist/collection/components/split-pane/split-pane.css +33 -20
  393. package/dist/collection/components/split-pane/split-pane.js +13 -11
  394. package/dist/collection/components/sticker/sticker.css +23 -9
  395. package/dist/collection/components/sticker/sticker.js +14 -14
  396. package/dist/collection/components/table/table.css +31 -383
  397. package/dist/collection/components/table/table.js +211 -1566
  398. package/dist/collection/components/tabs/tab-content.css +23 -9
  399. package/dist/collection/components/tabs/tab-content.js +11 -7
  400. package/dist/collection/components/tabs/tab-group.css +70 -229
  401. package/dist/collection/components/tabs/tab-group.js +98 -266
  402. package/dist/collection/components/tabs/tab.css +83 -134
  403. package/dist/collection/components/tabs/tab.js +25 -18
  404. package/dist/collection/components/tag/tag.css +45 -0
  405. package/dist/collection/components/tag/tag.js +122 -0
  406. package/dist/collection/components/tooltip/tooltip.css +93 -66
  407. package/dist/collection/components/tooltip/tooltip.js +30 -14
  408. package/dist/collection/global/script/global.js +1 -2
  409. package/dist/collection/index.js +2 -2
  410. package/dist/collection/types/shared.js +0 -1
  411. package/dist/collection/utils/active-element.js +49 -2
  412. package/dist/collection/utils/constructible-style.js +3 -4
  413. package/dist/collection/utils/custom-template.js +1 -2
  414. package/dist/collection/utils/date-utils.js +1 -2
  415. package/dist/collection/utils/dom.js +10 -11
  416. package/dist/collection/utils/drag.js +1 -2
  417. package/dist/collection/utils/events.js +1 -2
  418. package/dist/collection/utils/fetch.js +1 -2
  419. package/dist/collection/utils/form.js +1 -2
  420. package/dist/collection/utils/gesture/gesture-controller.js +1 -2
  421. package/dist/collection/utils/gesture/index.js +1 -2
  422. package/dist/collection/utils/gesture/listener.js +1 -2
  423. package/dist/collection/utils/gesture/pointer-events.js +1 -2
  424. package/dist/collection/utils/gesture/recognizers.js +1 -2
  425. package/dist/collection/utils/gesture/swipe-back.js +1 -2
  426. package/dist/collection/utils/math.js +1 -2
  427. package/dist/collection/utils/modal.js +1 -2
  428. package/dist/collection/utils/popover.js +7 -4
  429. package/dist/collection/utils/promise-queue.js +1 -2
  430. package/dist/collection/utils/renderer.js +12 -3
  431. package/dist/collection/utils/scroll.js +59 -3
  432. package/dist/collection/utils/search-insights.js +1 -2
  433. package/dist/collection/utils/slot.js +82 -28
  434. package/dist/collection/utils/store/component-store.js +25 -14
  435. package/dist/collection/utils/store/get-set.js +1 -2
  436. package/dist/collection/utils/style.js +54 -0
  437. package/dist/collection/utils/tabbable.js +41 -27
  438. package/dist/collection/utils/testing/index.js +1 -2
  439. package/dist/collection/utils/theme.js +2 -4
  440. package/dist/collection/utils/throttle.js +1 -2
  441. package/dist/collection/utils/transitions.js +24 -7
  442. package/dist/components/active-element.js +50 -4
  443. package/dist/components/algolia-data.js +1 -3
  444. package/dist/components/algolia.js +964 -23
  445. package/dist/components/avatar.js +33 -0
  446. package/dist/components/badge.js +36 -0
  447. package/dist/components/component-store.js +27 -26
  448. package/dist/components/cta.js +61 -0
  449. package/dist/components/datalist.js +24 -27
  450. package/dist/components/date-picker.js +33 -45
  451. package/dist/components/details.js +198 -0
  452. package/dist/components/dom.js +11 -22
  453. package/dist/components/drag.js +1 -3
  454. package/dist/components/drawer.js +402 -0
  455. package/dist/components/dropdown.js +65 -59
  456. package/dist/components/events.js +1 -3
  457. package/dist/components/fade.js +2 -4
  458. package/dist/components/form-control.js +11 -9
  459. package/dist/components/fullscreen.js +2 -4
  460. package/dist/components/global-search-results.js +735 -0
  461. package/dist/components/grid.js +6 -9
  462. package/dist/components/icon-button.js +3 -17
  463. package/dist/components/icon.js +98 -90
  464. package/dist/components/img.js +6 -9
  465. package/dist/components/index-browser.js +3 -5
  466. package/dist/components/index.js +41 -22
  467. package/dist/components/index2.js +1 -3
  468. package/dist/components/index3.js +4 -9
  469. package/dist/components/input.js +178 -65
  470. package/dist/components/lazyload.js +2 -4
  471. package/dist/components/local-logged-in.js +214 -0
  472. package/dist/components/local-logged-out.js +210 -0
  473. package/dist/components/masked-overflow.js +402 -0
  474. package/dist/components/math.js +2 -4
  475. package/dist/components/menu.js +76 -29
  476. package/dist/components/modal.js +1 -3
  477. package/dist/components/nano-accordion.js +13 -26
  478. package/dist/components/nano-alert.js +82 -28
  479. package/dist/components/nano-algolia-filter.js +5 -8
  480. package/dist/components/nano-algolia-pagination.js +3 -5
  481. package/dist/components/nano-algolia-results.js +4 -6
  482. package/dist/components/nano-algolia.js +1 -3
  483. package/dist/components/nano-animation.js +2 -4
  484. package/dist/components/nano-avatar.d.ts +11 -0
  485. package/dist/components/nano-avatar.js +9 -0
  486. package/dist/components/nano-badge.d.ts +11 -0
  487. package/dist/components/nano-badge.js +9 -0
  488. package/dist/components/nano-breadcrumb.d.ts +11 -0
  489. package/dist/components/nano-breadcrumb.js +84 -0
  490. package/dist/components/nano-card-carousel.d.ts +11 -0
  491. package/dist/components/nano-card-carousel.js +124 -0
  492. package/dist/components/nano-card.d.ts +11 -0
  493. package/dist/components/nano-card.js +42 -0
  494. package/dist/components/nano-checkbox-group.js +76 -42
  495. package/dist/components/nano-checkbox.js +35 -22
  496. package/dist/components/nano-collapsible-comparison.d.ts +11 -0
  497. package/dist/components/nano-collapsible-comparison.js +106 -0
  498. package/dist/components/nano-content-links.d.ts +11 -0
  499. package/dist/components/nano-content-links.js +32 -0
  500. package/dist/components/nano-cta.d.ts +11 -0
  501. package/dist/components/nano-cta.js +9 -0
  502. package/dist/components/nano-data-table.d.ts +11 -0
  503. package/dist/components/nano-data-table.js +1945 -0
  504. package/dist/components/nano-datalist.js +1 -3
  505. package/dist/components/nano-date-input.js +35 -34
  506. package/dist/components/nano-date-picker.js +3 -5
  507. package/dist/components/nano-details.js +3 -209
  508. package/dist/components/nano-dialog.js +38 -34
  509. package/dist/components/nano-drawer.js +2 -335
  510. package/dist/components/nano-dropdown.js +1 -3
  511. package/dist/components/nano-field-validator.js +8 -14
  512. package/dist/components/nano-file-upload.js +4 -7
  513. package/dist/components/nano-footer.d.ts +11 -0
  514. package/dist/components/nano-footer.js +47 -0
  515. package/dist/components/nano-global-nav.js +519 -1251
  516. package/dist/components/nano-global-search-results.js +2 -669
  517. package/dist/components/nano-grid-item.js +2 -4
  518. package/dist/components/nano-grid.js +1 -3
  519. package/dist/components/nano-hero.js +9 -12
  520. package/dist/components/nano-icon-button.js +1 -3
  521. package/dist/components/nano-icon-item.d.ts +11 -0
  522. package/dist/components/nano-icon-item.js +39 -0
  523. package/dist/components/nano-icon.js +1 -3
  524. package/dist/components/nano-img.js +1 -3
  525. package/dist/components/nano-in-page-nav.d.ts +11 -0
  526. package/dist/components/nano-in-page-nav.js +246 -0
  527. package/dist/components/nano-input.js +1 -3
  528. package/dist/components/nano-intersection-observe.js +11 -5
  529. package/dist/components/nano-masked-overflow.d.ts +11 -0
  530. package/dist/components/nano-masked-overflow.js +9 -0
  531. package/dist/components/nano-menu-drawer.js +5 -8
  532. package/dist/components/nano-menu.js +1 -3
  533. package/dist/components/nano-more-less.js +3 -5
  534. package/dist/components/nano-nav-item.js +1 -3
  535. package/dist/components/nano-option.js +1 -3
  536. package/dist/components/nano-progress-bar.js +1 -3
  537. package/dist/components/nano-range.js +4 -7
  538. package/dist/components/nano-rating.js +8 -16
  539. package/dist/components/nano-resize-observe.js +1 -3
  540. package/dist/components/nano-select.js +1 -3
  541. package/dist/components/nano-skeleton.js +1 -3
  542. package/dist/components/nano-slide.js +4 -7
  543. package/dist/components/nano-slides.js +3 -3087
  544. package/dist/components/nano-sortable.js +12 -13
  545. package/dist/components/nano-spinner.js +1 -3
  546. package/dist/components/nano-split-pane.js +5 -8
  547. package/dist/components/nano-sticker.js +1 -3
  548. package/dist/components/nano-tab-content.js +8 -11
  549. package/dist/components/nano-tab-group.js +85 -239
  550. package/dist/components/nano-tab.js +17 -17
  551. package/dist/components/nano-table.js +205 -1882
  552. package/dist/components/nano-tag.d.ts +11 -0
  553. package/dist/components/nano-tag.js +9 -0
  554. package/dist/components/nano-tooltip.js +1 -3
  555. package/dist/components/nav-item.js +174 -225
  556. package/dist/components/option.js +12 -13
  557. package/dist/components/page-dots.js +6 -9
  558. package/dist/components/popover.js +31 -16
  559. package/dist/components/progress-bar.js +6 -9
  560. package/dist/components/renderer.js +12 -4
  561. package/dist/components/resize-observe.js +2 -4
  562. package/dist/components/scroll.js +60 -5
  563. package/dist/components/select.js +111 -100
  564. package/dist/components/skeleton.js +5 -8
  565. package/dist/components/slides.js +3097 -0
  566. package/dist/components/slot.js +84 -36
  567. package/dist/components/spinner.js +4 -7
  568. package/dist/components/sticker.js +7 -10
  569. package/dist/components/style.js +56 -0
  570. package/dist/components/tabbable.js +42 -28
  571. package/dist/components/table.worker.js +3 -5
  572. package/dist/components/tag.js +89 -0
  573. package/dist/components/theme.js +2 -5
  574. package/dist/components/throttle.js +1 -3
  575. package/dist/components/tooltip.js +20 -10
  576. package/dist/esm/active-element-C1pBwzyj.js +65 -0
  577. package/dist/esm/algolia-data-BNDipgId.js +47 -0
  578. package/dist/esm/algoliasearch-lite.esm.browser-C1SNUAIj.js +949 -0
  579. package/dist/esm/component-store-DqCSKpAK.js +324 -0
  580. package/dist/esm/date-utils-BZYdjI1P.js +217 -0
  581. package/dist/esm/dom-CF0Ycs9M.js +67 -0
  582. package/dist/esm/drag-BLOEuv-q.js +70 -0
  583. package/dist/esm/events-ClRFmcmJ.js +34 -0
  584. package/dist/esm/fade-CdIyPeai.js +210 -0
  585. package/dist/esm/form-control-DXPQniNX.js +81 -0
  586. package/dist/esm/fullscreen-C4GllGer.js +130 -0
  587. package/dist/esm/index-BQSuCPXH.js +652 -0
  588. package/dist/esm/index-CFYZ-ZOT.js +3289 -0
  589. package/dist/esm/index-DxKBolVo.js +196 -0
  590. package/dist/esm/index-browser-BvSm1vXe.js +6 -0
  591. package/dist/esm/index.js +43 -24
  592. package/dist/esm/lazyload-pTbJ7q2S.js +92 -0
  593. package/dist/esm/loader.js +4 -7
  594. package/dist/esm/local-logged-in-DNQyU0ot.js +214 -0
  595. package/dist/esm/local-logged-out-CD2oXHpq.js +210 -0
  596. package/dist/esm/math-BEqsTfVK.js +36 -0
  597. package/dist/esm/modal-B50PWCuY.js +47 -0
  598. package/dist/esm/nano-accordion.entry.js +13 -25
  599. package/dist/esm/nano-alert.entry.js +85 -34
  600. package/dist/esm/nano-algolia-filter.entry.js +10 -13
  601. package/dist/esm/nano-algolia-pagination.entry.js +5 -7
  602. package/dist/esm/nano-algolia-results.entry.js +7 -9
  603. package/dist/esm/nano-algolia.entry.js +22 -25
  604. package/dist/esm/nano-animation.entry.js +4 -6
  605. package/dist/esm/nano-avatar_5.entry.js +1772 -0
  606. package/dist/esm/nano-breadcrumb.entry.js +39 -0
  607. package/dist/esm/nano-card-carousel.entry.js +93 -0
  608. package/dist/esm/nano-card.entry.js +21 -0
  609. package/dist/esm/nano-checkbox-group.entry.js +79 -45
  610. package/dist/esm/nano-checkbox.entry.js +34 -22
  611. package/dist/esm/nano-collapsible-comparison.entry.js +60 -0
  612. package/dist/esm/nano-components.js +6 -8
  613. package/dist/esm/nano-content-links.entry.js +15 -0
  614. package/dist/esm/nano-cta.entry.js +40 -0
  615. package/dist/esm/nano-data-table-DsTG4mqR.js +1844 -0
  616. package/dist/esm/nano-data-table.entry.js +11 -0
  617. package/dist/esm/nano-datalist_3.entry.js +84 -255
  618. package/dist/esm/nano-date-input.entry.js +14 -25
  619. package/dist/esm/nano-date-picker_2.entry.js +996 -0
  620. package/dist/esm/nano-details.entry.js +61 -79
  621. package/dist/esm/nano-dialog.entry.js +45 -40
  622. package/dist/esm/nano-dropdown_2.entry.js +637 -0
  623. package/dist/esm/nano-field-validator.entry.js +9 -15
  624. package/dist/esm/nano-file-upload.entry.js +6 -9
  625. package/dist/esm/nano-footer.entry.js +23 -0
  626. package/dist/esm/nano-global-nav.entry.js +416 -1169
  627. package/dist/esm/nano-grid-item.entry.js +3 -5
  628. package/dist/esm/nano-grid_2.entry.js +12 -16
  629. package/dist/esm/nano-hero.entry.js +9 -14
  630. package/dist/esm/nano-icon-item.entry.js +19 -0
  631. package/dist/esm/nano-icon_3.entry.js +651 -0
  632. package/dist/esm/nano-in-page-nav.entry.js +210 -0
  633. package/dist/esm/nano-intersection-observe.entry.js +14 -7
  634. package/dist/esm/nano-masked-overflow.entry.js +349 -0
  635. package/dist/esm/nano-menu-drawer.entry.js +8 -11
  636. package/dist/esm/nano-more-less.entry.js +5 -7
  637. package/dist/esm/nano-nav-item.entry.js +269 -0
  638. package/dist/esm/nano-progress-bar.entry.js +8 -11
  639. package/dist/esm/nano-range.entry.js +9 -12
  640. package/dist/esm/nano-rating.entry.js +10 -18
  641. package/dist/esm/nano-resize-observe_2.entry.js +8 -11
  642. package/dist/esm/nano-slide.entry.js +6 -9
  643. package/dist/esm/nano-slides-BcyK9Szs.js +3045 -0
  644. package/dist/esm/nano-slides.entry.js +4 -6
  645. package/dist/esm/nano-sortable.entry.js +11 -12
  646. package/dist/esm/nano-spinner.entry.js +6 -9
  647. package/dist/esm/nano-split-pane.entry.js +9 -12
  648. package/dist/esm/nano-sticker.entry.js +10 -13
  649. package/dist/esm/nano-tab-content.entry.js +9 -12
  650. package/dist/esm/nano-tab-group.entry.js +64 -226
  651. package/dist/esm/nano-tab.entry.js +18 -18
  652. package/dist/esm/nano-table.entry.js +234 -9
  653. package/dist/esm/page-dots-Cq8hjoql.js +136 -0
  654. package/dist/esm/popover-D1cBIHdr.js +1945 -0
  655. package/dist/esm/renderer-LJzCFyMt.js +66 -0
  656. package/dist/esm/scroll-BRRzrkAi.js +179 -0
  657. package/dist/esm/search-insights-8OL2oeQN.js +48 -0
  658. package/dist/esm/slot-DBzVpliZ.js +104 -0
  659. package/dist/esm/style-BrRDhFfF.js +56 -0
  660. package/dist/esm/tabbable-BpHwrUYt.js +121 -0
  661. package/dist/esm/table.worker-BTF0UXAd.js +4 -0
  662. package/dist/esm/table.worker-BoX4CUXT.js +28 -0
  663. package/dist/esm/theme-aiuyr36I.js +43 -0
  664. package/dist/esm/throttle-C93FMm2Z.js +48 -0
  665. package/dist/nano-assets/font/jp/noto-sans-jp-v53-japanese_latin-300.woff2 +0 -0
  666. package/dist/nano-assets/font/latin/noto-sans-v39-latin-300.woff2 +0 -0
  667. package/dist/nano-assets/font/latin/noto-sans-v39-latin-300italic.woff2 +0 -0
  668. package/dist/nano-assets/font/sc/noto-sans-sc-v37-chinese-simplified_latin-300.woff2 +0 -0
  669. package/dist/nano-assets/hash.txt +1 -1
  670. package/dist/nano-assets/icon/device/elysion.svg +5 -0
  671. package/dist/nano-assets/icon/device/flongle.svg +4 -0
  672. package/dist/nano-assets/icon/device/gridion.svg +9 -0
  673. package/dist/nano-assets/icon/device/minion-mk1d.svg +4 -0
  674. package/dist/nano-assets/icon/device/p2-integrated.svg +7 -0
  675. package/dist/nano-assets/icon/device/p2-solo.svg +5 -0
  676. package/dist/nano-assets/icon/device/p24.svg +6 -0
  677. package/dist/nano-assets/icon/device/q.svg +4 -0
  678. package/dist/nano-assets/icon/pictogram/analyse.svg +10 -0
  679. package/dist/nano-assets/icon/pictogram/animal-research.svg +4 -0
  680. package/dist/nano-assets/icon/pictogram/assembly.svg +3 -0
  681. package/dist/nano-assets/icon/pictogram/biopharma.svg +3 -0
  682. package/dist/nano-assets/icon/pictogram/cancer-research.svg +15 -0
  683. package/dist/nano-assets/icon/pictogram/chromatin-conformation.svg +3 -0
  684. package/dist/nano-assets/icon/pictogram/clinical-research.svg +3 -0
  685. package/dist/nano-assets/icon/pictogram/environmental-conservation.svg +5 -0
  686. package/dist/nano-assets/icon/pictogram/epigenetics.svg +5 -0
  687. package/dist/nano-assets/icon/pictogram/fusion-transcripts.svg +3 -0
  688. package/dist/nano-assets/icon/pictogram/gene-expression.svg +3 -0
  689. package/dist/nano-assets/icon/pictogram/genome-research.svg +3 -0
  690. package/dist/nano-assets/icon/pictogram/human-genomics.svg +4 -0
  691. package/dist/nano-assets/icon/pictogram/infectious-disease.svg +13 -0
  692. package/dist/nano-assets/icon/pictogram/microbial-genomics.svg +15 -0
  693. package/dist/nano-assets/icon/pictogram/microbiome-metagenomics.svg +16 -0
  694. package/dist/nano-assets/icon/pictogram/multiomics.svg +13 -0
  695. package/dist/nano-assets/icon/pictogram/plant-research.svg +3 -0
  696. package/dist/nano-assets/icon/pictogram/population-genomics.svg +6 -0
  697. package/dist/nano-assets/icon/pictogram/prepare.svg +4 -0
  698. package/dist/nano-assets/icon/pictogram/scalable.svg +12 -0
  699. package/dist/nano-assets/icon/pictogram/sequence.svg +3 -0
  700. package/dist/nano-assets/icon/pictogram/single-cell-spatial-transcriptions.svg +12 -0
  701. package/dist/nano-assets/icon/pictogram/snvs-phasing.svg +4 -0
  702. package/dist/nano-assets/icon/pictogram/splice-variation.svg +4 -0
  703. package/dist/nano-assets/icon/pictogram/structural-variation.svg +4 -0
  704. package/dist/nano-assets/icon/pictogram/targeted-sequencing.svg +10 -0
  705. package/dist/nano-assets/icon/pictogram/transcriptomics.svg +3 -0
  706. package/dist/nano-assets/icon/pictogram/unrestricted-read-length.svg +10 -0
  707. package/dist/nano-assets/icon/pictogram/whole-genome-sequencing.svg +3 -0
  708. package/dist/nano-assets/icon/pictogram/workflow-end-to-end.svg +3 -0
  709. package/dist/nano-assets/img/bsi/27001.svg +188 -0
  710. package/dist/nano-assets/img/bsi/9001.svg +172 -0
  711. package/dist/nano-assets/img/bsi/mark-of-trust.svg +230 -0
  712. package/dist/nano-assets/img/flags/en.svg +15 -0
  713. package/dist/nano-assets/img/flags/es.svg +544 -0
  714. package/dist/nano-assets/img/flags/ja.svg +11 -0
  715. package/dist/nano-assets/img/flags/zh.svg +14 -0
  716. package/dist/nano-assets/local-logged-in.json +202 -0
  717. package/dist/nano-assets/local-logged-out.json +198 -0
  718. package/dist/nano-components/active-element-C1pBwzyj.js +4 -0
  719. package/dist/nano-components/algolia-data-BNDipgId.js +4 -0
  720. package/dist/nano-components/algoliasearch-lite.esm.browser-C1SNUAIj.js +4 -0
  721. package/dist/nano-components/assets/local-logged-in.json +202 -0
  722. package/dist/nano-components/assets/local-logged-out.json +198 -0
  723. package/dist/nano-components/component-store-DqCSKpAK.js +4 -0
  724. package/dist/nano-components/date-utils-BZYdjI1P.js +4 -0
  725. package/dist/nano-components/device/elysion.svg +5 -0
  726. package/dist/nano-components/device/flongle.svg +4 -0
  727. package/dist/nano-components/device/gridion.svg +9 -0
  728. package/dist/nano-components/device/minion-mk1d.svg +4 -0
  729. package/dist/nano-components/device/p2-integrated.svg +7 -0
  730. package/dist/nano-components/device/p2-solo.svg +5 -0
  731. package/dist/nano-components/device/p24.svg +6 -0
  732. package/dist/nano-components/device/q.svg +4 -0
  733. package/dist/nano-components/dom-CF0Ycs9M.js +4 -0
  734. package/dist/nano-components/drag-BLOEuv-q.js +4 -0
  735. package/dist/nano-components/events-ClRFmcmJ.js +4 -0
  736. package/dist/nano-components/fade-CdIyPeai.js +4 -0
  737. package/dist/nano-components/form-control-DXPQniNX.js +4 -0
  738. package/dist/nano-components/fullscreen-C4GllGer.js +4 -0
  739. package/dist/nano-components/index-BQSuCPXH.js +4 -0
  740. package/dist/nano-components/index-CFYZ-ZOT.js +5 -0
  741. package/dist/nano-components/index-DxKBolVo.js +4 -0
  742. package/dist/nano-components/index-browser-BvSm1vXe.js +4 -0
  743. package/dist/nano-components/index.esm.js +2 -3
  744. package/dist/nano-components/lazyload-pTbJ7q2S.js +4 -0
  745. package/dist/nano-components/local-logged-in-DNQyU0ot.js +4 -0
  746. package/dist/nano-components/local-logged-out-CD2oXHpq.js +4 -0
  747. package/dist/nano-components/math-BEqsTfVK.js +4 -0
  748. package/dist/nano-components/modal-B50PWCuY.js +4 -0
  749. package/dist/nano-components/nano-accordion.entry.js +2 -3
  750. package/dist/nano-components/nano-alert.entry.js +2 -3
  751. package/dist/nano-components/nano-algolia-filter.entry.js +2 -3
  752. package/dist/nano-components/nano-algolia-pagination.entry.js +2 -3
  753. package/dist/nano-components/nano-algolia-results.entry.js +2 -3
  754. package/dist/nano-components/nano-algolia.entry.js +2 -3
  755. package/dist/nano-components/nano-animation.entry.js +2 -3
  756. package/dist/nano-components/nano-avatar_5.entry.js +4 -0
  757. package/dist/nano-components/nano-breadcrumb.entry.js +4 -0
  758. package/dist/nano-components/nano-card-carousel.entry.js +4 -0
  759. package/dist/nano-components/nano-card.entry.js +4 -0
  760. package/dist/nano-components/nano-checkbox-group.entry.js +2 -3
  761. package/dist/nano-components/nano-checkbox.entry.js +2 -3
  762. package/dist/nano-components/nano-collapsible-comparison.entry.js +4 -0
  763. package/dist/nano-components/nano-components.css +2025 -1
  764. package/dist/nano-components/nano-components.esm.js +2 -3
  765. package/dist/nano-components/nano-content-links.entry.js +4 -0
  766. package/dist/nano-components/nano-cta.entry.js +4 -0
  767. package/dist/nano-components/nano-data-table-DsTG4mqR.js +4 -0
  768. package/dist/nano-components/nano-data-table.entry.js +4 -0
  769. package/dist/nano-components/nano-datalist_3.entry.js +2 -3
  770. package/dist/nano-components/nano-date-input.entry.js +2 -3
  771. package/dist/nano-components/nano-date-picker_2.entry.js +4 -0
  772. package/dist/nano-components/nano-details.entry.js +2 -3
  773. package/dist/nano-components/nano-dialog.entry.js +2 -3
  774. package/dist/nano-components/nano-dropdown_2.entry.js +4 -0
  775. package/dist/nano-components/nano-field-validator.entry.js +2 -3
  776. package/dist/nano-components/nano-file-upload.entry.js +2 -3
  777. package/dist/nano-components/nano-footer.entry.js +4 -0
  778. package/dist/nano-components/nano-global-nav.entry.js +2 -3
  779. package/dist/nano-components/nano-grid-item.entry.js +2 -3
  780. package/dist/nano-components/nano-grid_2.entry.js +2 -3
  781. package/dist/nano-components/nano-hero.entry.js +2 -3
  782. package/dist/nano-components/nano-icon-item.entry.js +4 -0
  783. package/dist/nano-components/nano-icon_3.entry.js +4 -0
  784. package/dist/nano-components/nano-in-page-nav.entry.js +4 -0
  785. package/dist/nano-components/nano-intersection-observe.entry.js +2 -3
  786. package/dist/nano-components/nano-masked-overflow.entry.js +4 -0
  787. package/dist/nano-components/nano-menu-drawer.entry.js +2 -3
  788. package/dist/nano-components/nano-more-less.entry.js +2 -3
  789. package/dist/nano-components/nano-nav-item.entry.js +4 -0
  790. package/dist/nano-components/nano-progress-bar.entry.js +2 -3
  791. package/dist/nano-components/nano-range.entry.js +2 -3
  792. package/dist/nano-components/nano-rating.entry.js +2 -3
  793. package/dist/nano-components/nano-resize-observe_2.entry.js +2 -3
  794. package/dist/nano-components/nano-slide.entry.js +2 -3
  795. package/dist/nano-components/nano-slides-BcyK9Szs.js +22 -0
  796. package/dist/nano-components/nano-slides.entry.js +2 -3
  797. package/dist/nano-components/nano-sortable.entry.js +2 -3
  798. package/dist/nano-components/nano-spinner.entry.js +2 -3
  799. package/dist/nano-components/nano-split-pane.entry.js +2 -3
  800. package/dist/nano-components/nano-sticker.entry.js +2 -3
  801. package/dist/nano-components/nano-tab-content.entry.js +2 -3
  802. package/dist/nano-components/nano-tab-group.entry.js +2 -3
  803. package/dist/nano-components/nano-tab.entry.js +2 -3
  804. package/dist/nano-components/nano-table.entry.js +2 -3
  805. package/dist/nano-components/page-dots-Cq8hjoql.js +4 -0
  806. package/dist/nano-components/pictogram/analyse.svg +10 -0
  807. package/dist/nano-components/pictogram/animal-research.svg +4 -0
  808. package/dist/nano-components/pictogram/assembly.svg +3 -0
  809. package/dist/nano-components/pictogram/biopharma.svg +3 -0
  810. package/dist/nano-components/pictogram/cancer-research.svg +15 -0
  811. package/dist/nano-components/pictogram/chromatin-conformation.svg +3 -0
  812. package/dist/nano-components/pictogram/clinical-research.svg +3 -0
  813. package/dist/nano-components/pictogram/environmental-conservation.svg +5 -0
  814. package/dist/nano-components/pictogram/epigenetics.svg +5 -0
  815. package/dist/nano-components/pictogram/fusion-transcripts.svg +3 -0
  816. package/dist/nano-components/pictogram/gene-expression.svg +3 -0
  817. package/dist/nano-components/pictogram/genome-research.svg +3 -0
  818. package/dist/nano-components/pictogram/human-genomics.svg +4 -0
  819. package/dist/nano-components/pictogram/infectious-disease.svg +13 -0
  820. package/dist/nano-components/pictogram/microbial-genomics.svg +15 -0
  821. package/dist/nano-components/pictogram/microbiome-metagenomics.svg +16 -0
  822. package/dist/nano-components/pictogram/multiomics.svg +13 -0
  823. package/dist/nano-components/pictogram/plant-research.svg +3 -0
  824. package/dist/nano-components/pictogram/population-genomics.svg +6 -0
  825. package/dist/nano-components/pictogram/prepare.svg +4 -0
  826. package/dist/nano-components/pictogram/scalable.svg +12 -0
  827. package/dist/nano-components/pictogram/sequence.svg +3 -0
  828. package/dist/nano-components/pictogram/single-cell-spatial-transcriptions.svg +12 -0
  829. package/dist/nano-components/pictogram/snvs-phasing.svg +4 -0
  830. package/dist/nano-components/pictogram/splice-variation.svg +4 -0
  831. package/dist/nano-components/pictogram/structural-variation.svg +4 -0
  832. package/dist/nano-components/pictogram/targeted-sequencing.svg +10 -0
  833. package/dist/nano-components/pictogram/transcriptomics.svg +3 -0
  834. package/dist/nano-components/pictogram/unrestricted-read-length.svg +10 -0
  835. package/dist/nano-components/pictogram/whole-genome-sequencing.svg +3 -0
  836. package/dist/nano-components/pictogram/workflow-end-to-end.svg +3 -0
  837. package/dist/nano-components/popover-D1cBIHdr.js +4 -0
  838. package/dist/nano-components/renderer-LJzCFyMt.js +4 -0
  839. package/dist/nano-components/scroll-BRRzrkAi.js +4 -0
  840. package/dist/nano-components/search-insights-8OL2oeQN.js +4 -0
  841. package/dist/nano-components/slot-DBzVpliZ.js +4 -0
  842. package/dist/nano-components/style-BrRDhFfF.js +4 -0
  843. package/dist/nano-components/tabbable-BpHwrUYt.js +4 -0
  844. package/dist/nano-components/table.worker-BTF0UXAd.js +4 -0
  845. package/dist/nano-components/table.worker-BoX4CUXT.js +4 -0
  846. package/dist/nano-components/theme-aiuyr36I.js +4 -0
  847. package/dist/nano-components/throttle-C93FMm2Z.js +4 -0
  848. package/dist/plugins/postcss/scoped-part.js +26 -0
  849. package/dist/plugins/stencil/vue-output/generate-vue-component.js +73 -0
  850. package/dist/plugins/stencil/vue-output/index.js +4 -0
  851. package/dist/plugins/stencil/vue-output/output-vue.js +95 -0
  852. package/dist/plugins/stencil/vue-output/plugin.js +43 -0
  853. package/dist/plugins/stencil/vue-output/types.js +1 -0
  854. package/dist/plugins/stencil/vue-output/utils.js +81 -0
  855. package/dist/stencil.config.js +50 -22
  856. package/dist/stencil.config.prod.js +4 -2
  857. package/dist/style/components.css +1 -0
  858. package/dist/style/components.css.map +1 -0
  859. package/dist/style/core.css +1 -0
  860. package/dist/style/core.css.map +1 -0
  861. package/dist/style/dark.css +1 -0
  862. package/dist/style/dark.css.map +1 -0
  863. package/dist/style/light.css +1 -0
  864. package/dist/style/light.css.map +1 -0
  865. package/dist/style/nano.css +1 -0
  866. package/dist/style/nano.css.map +1 -0
  867. package/dist/testing/mocks/intersection-observer.js +1 -2
  868. package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/postcss/scoped-part.d.ts +8 -0
  869. package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/stencil.config.d.ts +2 -0
  870. package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +2 -0
  871. package/dist/types/components/accordion/accordion.d.ts +10 -12
  872. package/dist/types/components/alert/alert.d.ts +35 -5
  873. package/dist/types/components/alert/alert.helpers.d.ts +7 -5
  874. package/dist/types/components/algolia/algolia-interface.d.ts +1 -1
  875. package/dist/types/components/avatar/avatar.d.ts +13 -0
  876. package/dist/types/components/badge/badge.d.ts +17 -0
  877. package/dist/types/components/breadcrumb/breadcrumb.d.ts +22 -0
  878. package/dist/types/components/card/card.d.ts +20 -0
  879. package/dist/types/components/card-carousel/card-carousel.d.ts +32 -0
  880. package/dist/types/components/checkbox/checkbox-group.d.ts +12 -7
  881. package/dist/types/components/checkbox/checkbox.d.ts +16 -11
  882. package/dist/types/components/collapsible-comparison/collapsible-comparison.d.ts +30 -0
  883. package/dist/types/components/content-links/content-links.d.ts +10 -0
  884. package/dist/types/components/cta/cta.d.ts +30 -0
  885. package/dist/types/components/data-table/table-interface.d.ts +280 -0
  886. package/dist/types/components/data-table/table.d.ts +250 -0
  887. package/dist/types/components/data-table/table.store.d.ts +24 -0
  888. package/dist/types/components/data-table/table.utils.d.ts +63 -0
  889. package/dist/types/components/datalist/datalist.d.ts +5 -5
  890. package/dist/types/components/date-input/date-input.d.ts +8 -5
  891. package/dist/types/components/date-picker/date-picker.d.ts +11 -15
  892. package/dist/types/components/details/details.d.ts +25 -27
  893. package/dist/types/components/dialog/dialog.d.ts +4 -5
  894. package/dist/types/components/dialog/dialog.helpers.d.ts +2 -5
  895. package/dist/types/components/drawer/drawer.d.ts +14 -3
  896. package/dist/types/components/dropdown/dropdown.d.ts +11 -9
  897. package/dist/types/components/field-validator/field-validator.d.ts +4 -6
  898. package/dist/types/components/footer/footer.d.ts +21 -0
  899. package/dist/types/components/form-control/form-control.d.ts +4 -1
  900. package/dist/types/components/global-nav/global-nav.d.ts +111 -280
  901. package/dist/types/components/global-search-results/global-search-results.d.ts +8 -7
  902. package/dist/types/components/grid/grid.d.ts +4 -6
  903. package/dist/types/components/icon/icon.d.ts +21 -14
  904. package/dist/types/components/icon-button/icon-button.d.ts +4 -4
  905. package/dist/types/components/icon-item/icon-item.d.ts +17 -0
  906. package/dist/types/components/in-page-nav/in-page-nav.d.ts +52 -0
  907. package/dist/types/components/input/input.d.ts +59 -21
  908. package/dist/types/components/intersection-observe/intersection-observe.d.ts +6 -2
  909. package/dist/types/components/masked-overflow/masked-overflow.d.ts +94 -0
  910. package/dist/types/components/menu/menu.d.ts +15 -7
  911. package/dist/types/components/nav-item/nav-item.d.ts +30 -84
  912. package/dist/types/components/option/option.d.ts +2 -1
  913. package/dist/types/components/progress-bar/progress-bar.d.ts +4 -1
  914. package/dist/types/components/range/range.d.ts +3 -4
  915. package/dist/types/components/rating/rating.d.ts +0 -1
  916. package/dist/types/components/resize-observe/resize-observe.d.ts +2 -4
  917. package/dist/types/components/select/select.d.ts +20 -21
  918. package/dist/types/components/skeleton/skeleton.d.ts +3 -2
  919. package/dist/types/components/slides/slides.d.ts +3 -3
  920. package/dist/types/components/sortable/sortable.d.ts +5 -5
  921. package/dist/types/components/spinner/spinner.d.ts +4 -0
  922. package/dist/types/components/split-pane/split-pane.d.ts +3 -0
  923. package/dist/types/components/table/table.d.ts +27 -245
  924. package/dist/types/components/tabs/tab-content.d.ts +6 -1
  925. package/dist/types/components/tabs/tab-group.d.ts +17 -37
  926. package/dist/types/components/tabs/tab.d.ts +9 -4
  927. package/dist/types/components/tag/tag.d.ts +30 -0
  928. package/dist/types/components/tooltip/tooltip.d.ts +4 -0
  929. package/dist/types/components.d.ts +2617 -1108
  930. package/dist/types/stencil-public-runtime.d.ts +23 -1
  931. package/dist/types/types/shared.d.ts +1 -1
  932. package/dist/types/utils/active-element.d.ts +20 -0
  933. package/dist/types/utils/popover.d.ts +1 -0
  934. package/dist/types/utils/scroll.d.ts +15 -1
  935. package/dist/types/utils/slot.d.ts +25 -9
  936. package/dist/types/utils/store/component-store.d.ts +21 -0
  937. package/dist/types/utils/style.d.ts +9 -0
  938. package/dist/types/utils/tabbable.d.ts +4 -2
  939. package/dist/types/utils/transitions.d.ts +2 -0
  940. package/dist/wdio.conf.js +1 -3
  941. package/docs-json.json +15694 -12511
  942. package/docs-vscode.json +807 -442
  943. package/hydrate/index.d.ts +38 -24
  944. package/hydrate/index.js +15164 -14544
  945. package/hydrate/index.mjs +15163 -14543
  946. package/loader/cdn.js +1 -1
  947. package/loader/index.cjs.js +1 -1
  948. package/loader/index.es2017.js +1 -1
  949. package/loader/index.js +1 -1
  950. package/package.json +26 -19
  951. package/dist/cjs/active-element-8ffcfe49.js +0 -21
  952. package/dist/cjs/active-element-8ffcfe49.js.map +0 -1
  953. package/dist/cjs/algolia-data-ca9cd58e.js +0 -51
  954. package/dist/cjs/algolia-data-ca9cd58e.js.map +0 -1
  955. package/dist/cjs/algoliasearch-lite.esm.browser-890872fc.js +0 -968
  956. package/dist/cjs/algoliasearch-lite.esm.browser-890872fc.js.map +0 -1
  957. package/dist/cjs/app-globals-3e14cb71.js +0 -41
  958. package/dist/cjs/app-globals-3e14cb71.js.map +0 -1
  959. package/dist/cjs/component-store-b8d4bd91.js +0 -325
  960. package/dist/cjs/component-store-b8d4bd91.js.map +0 -1
  961. package/dist/cjs/date-utils-d9d3e6b4.js +0 -234
  962. package/dist/cjs/date-utils-d9d3e6b4.js.map +0 -1
  963. package/dist/cjs/dom-b99a1aec.js +0 -83
  964. package/dist/cjs/dom-b99a1aec.js.map +0 -1
  965. package/dist/cjs/drag-c0a99167.js +0 -74
  966. package/dist/cjs/drag-c0a99167.js.map +0 -1
  967. package/dist/cjs/events-96e9a3d4.js +0 -39
  968. package/dist/cjs/events-96e9a3d4.js.map +0 -1
  969. package/dist/cjs/fade-6a5004f4.js +0 -214
  970. package/dist/cjs/fade-6a5004f4.js.map +0 -1
  971. package/dist/cjs/focus-visible-39b54d1f.js +0 -68
  972. package/dist/cjs/focus-visible-39b54d1f.js.map +0 -1
  973. package/dist/cjs/form-control-5bb39cc2.js +0 -82
  974. package/dist/cjs/form-control-5bb39cc2.js.map +0 -1
  975. package/dist/cjs/fullscreen-f5db9bbe.js +0 -134
  976. package/dist/cjs/fullscreen-f5db9bbe.js.map +0 -1
  977. package/dist/cjs/index-41263d6e.js +0 -660
  978. package/dist/cjs/index-41263d6e.js.map +0 -1
  979. package/dist/cjs/index-615cdb64.js +0 -3085
  980. package/dist/cjs/index-615cdb64.js.map +0 -1
  981. package/dist/cjs/index-a92a0379.js +0 -200
  982. package/dist/cjs/index-a92a0379.js.map +0 -1
  983. package/dist/cjs/index-browser-745018ea.js +0 -16
  984. package/dist/cjs/index-browser-745018ea.js.map +0 -1
  985. package/dist/cjs/index.cjs.js.map +0 -1
  986. package/dist/cjs/lazyload-13d72e60.js +0 -96
  987. package/dist/cjs/lazyload-13d72e60.js.map +0 -1
  988. package/dist/cjs/loader.cjs.js.map +0 -1
  989. package/dist/cjs/local-my-account-53c19159.js +0 -472
  990. package/dist/cjs/local-my-account-53c19159.js.map +0 -1
  991. package/dist/cjs/math-ea9cdc71.js +0 -41
  992. package/dist/cjs/math-ea9cdc71.js.map +0 -1
  993. package/dist/cjs/modal-ff47c677.js +0 -51
  994. package/dist/cjs/modal-ff47c677.js.map +0 -1
  995. package/dist/cjs/nano-accordion.cjs.entry.js.map +0 -1
  996. package/dist/cjs/nano-alert.cjs.entry.js.map +0 -1
  997. package/dist/cjs/nano-algolia-filter.cjs.entry.js.map +0 -1
  998. package/dist/cjs/nano-algolia-pagination.cjs.entry.js.map +0 -1
  999. package/dist/cjs/nano-algolia-results.cjs.entry.js.map +0 -1
  1000. package/dist/cjs/nano-algolia.cjs.entry.js.map +0 -1
  1001. package/dist/cjs/nano-animation.cjs.entry.js.map +0 -1
  1002. package/dist/cjs/nano-checkbox-group.cjs.entry.js.map +0 -1
  1003. package/dist/cjs/nano-checkbox.cjs.entry.js.map +0 -1
  1004. package/dist/cjs/nano-components.cjs.js.map +0 -1
  1005. package/dist/cjs/nano-datalist_3.cjs.entry.js.map +0 -1
  1006. package/dist/cjs/nano-date-input.cjs.entry.js.map +0 -1
  1007. package/dist/cjs/nano-date-picker.cjs.entry.js +0 -393
  1008. package/dist/cjs/nano-date-picker.cjs.entry.js.map +0 -1
  1009. package/dist/cjs/nano-details.cjs.entry.js.map +0 -1
  1010. package/dist/cjs/nano-dialog.cjs.entry.js.map +0 -1
  1011. package/dist/cjs/nano-drawer.cjs.entry.js +0 -289
  1012. package/dist/cjs/nano-drawer.cjs.entry.js.map +0 -1
  1013. package/dist/cjs/nano-dropdown.cjs.entry.js +0 -373
  1014. package/dist/cjs/nano-dropdown.cjs.entry.js.map +0 -1
  1015. package/dist/cjs/nano-field-validator.cjs.entry.js.map +0 -1
  1016. package/dist/cjs/nano-file-upload.cjs.entry.js.map +0 -1
  1017. package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js +0 -1107
  1018. package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js.map +0 -1
  1019. package/dist/cjs/nano-global-nav.cjs.entry.js.map +0 -1
  1020. package/dist/cjs/nano-global-search-results.cjs.entry.js +0 -636
  1021. package/dist/cjs/nano-global-search-results.cjs.entry.js.map +0 -1
  1022. package/dist/cjs/nano-grid-item.cjs.entry.js.map +0 -1
  1023. package/dist/cjs/nano-grid_2.cjs.entry.js.map +0 -1
  1024. package/dist/cjs/nano-hero.cjs.entry.js.map +0 -1
  1025. package/dist/cjs/nano-icon-button_2.cjs.entry.js +0 -341
  1026. package/dist/cjs/nano-icon-button_2.cjs.entry.js.map +0 -1
  1027. package/dist/cjs/nano-icon.cjs.entry.js +0 -320
  1028. package/dist/cjs/nano-icon.cjs.entry.js.map +0 -1
  1029. package/dist/cjs/nano-input.cjs.entry.js +0 -548
  1030. package/dist/cjs/nano-input.cjs.entry.js.map +0 -1
  1031. package/dist/cjs/nano-intersection-observe.cjs.entry.js.map +0 -1
  1032. package/dist/cjs/nano-menu-drawer.cjs.entry.js.map +0 -1
  1033. package/dist/cjs/nano-more-less.cjs.entry.js.map +0 -1
  1034. package/dist/cjs/nano-overflow-nav.cjs.entry.js +0 -342
  1035. package/dist/cjs/nano-overflow-nav.cjs.entry.js.map +0 -1
  1036. package/dist/cjs/nano-progress-bar.cjs.entry.js.map +0 -1
  1037. package/dist/cjs/nano-range.cjs.entry.js.map +0 -1
  1038. package/dist/cjs/nano-rating.cjs.entry.js.map +0 -1
  1039. package/dist/cjs/nano-resize-observe_2.cjs.entry.js.map +0 -1
  1040. package/dist/cjs/nano-slide.cjs.entry.js.map +0 -1
  1041. package/dist/cjs/nano-slides-0a60315d.js +0 -3043
  1042. package/dist/cjs/nano-slides-0a60315d.js.map +0 -1
  1043. package/dist/cjs/nano-slides.cjs.entry.js.map +0 -1
  1044. package/dist/cjs/nano-sortable.cjs.entry.js.map +0 -1
  1045. package/dist/cjs/nano-spinner.cjs.entry.js.map +0 -1
  1046. package/dist/cjs/nano-split-pane.cjs.entry.js.map +0 -1
  1047. package/dist/cjs/nano-sticker.cjs.entry.js.map +0 -1
  1048. package/dist/cjs/nano-tab-content.cjs.entry.js.map +0 -1
  1049. package/dist/cjs/nano-tab-group.cjs.entry.js.map +0 -1
  1050. package/dist/cjs/nano-tab.cjs.entry.js.map +0 -1
  1051. package/dist/cjs/nano-table-54523fe5.js +0 -1880
  1052. package/dist/cjs/nano-table-54523fe5.js.map +0 -1
  1053. package/dist/cjs/nano-table.cjs.entry.js.map +0 -1
  1054. package/dist/cjs/page-dots-ecdd64d1.js +0 -141
  1055. package/dist/cjs/page-dots-ecdd64d1.js.map +0 -1
  1056. package/dist/cjs/popover-3dfc73f6.js +0 -1932
  1057. package/dist/cjs/popover-3dfc73f6.js.map +0 -1
  1058. package/dist/cjs/renderer-cd8b6098.js +0 -63
  1059. package/dist/cjs/renderer-cd8b6098.js.map +0 -1
  1060. package/dist/cjs/scroll-a3e5c6c6.js +0 -128
  1061. package/dist/cjs/scroll-a3e5c6c6.js.map +0 -1
  1062. package/dist/cjs/scroll-parent-798d9651.js +0 -31
  1063. package/dist/cjs/scroll-parent-798d9651.js.map +0 -1
  1064. package/dist/cjs/search-insights-694b3436.js +0 -53
  1065. package/dist/cjs/search-insights-694b3436.js.map +0 -1
  1066. package/dist/cjs/slot-4e057042.js +0 -61
  1067. package/dist/cjs/slot-4e057042.js.map +0 -1
  1068. package/dist/cjs/tabbable-619dc959.js +0 -112
  1069. package/dist/cjs/tabbable-619dc959.js.map +0 -1
  1070. package/dist/cjs/table.worker-99f69a43.js +0 -33
  1071. package/dist/cjs/table.worker-99f69a43.js.map +0 -1
  1072. package/dist/cjs/table.worker-da5412ed.js +0 -4
  1073. package/dist/cjs/theme-a2f7ddf8.js +0 -49
  1074. package/dist/cjs/theme-a2f7ddf8.js.map +0 -1
  1075. package/dist/cjs/throttle-46a497fb.js +0 -54
  1076. package/dist/cjs/throttle-46a497fb.js.map +0 -1
  1077. package/dist/cjs/transitions-a2b2090b.js +0 -62
  1078. package/dist/cjs/transitions-a2b2090b.js.map +0 -1
  1079. package/dist/collection/components/accordion/accordion.js.map +0 -1
  1080. package/dist/collection/components/alert/alert.helpers.js.map +0 -1
  1081. package/dist/collection/components/alert/alert.js.map +0 -1
  1082. package/dist/collection/components/algolia/algolia-data.js.map +0 -1
  1083. package/dist/collection/components/algolia/algolia-filter.js.map +0 -1
  1084. package/dist/collection/components/algolia/algolia-interface.js.map +0 -1
  1085. package/dist/collection/components/algolia/algolia-pagination.js.map +0 -1
  1086. package/dist/collection/components/algolia/algolia-results.js.map +0 -1
  1087. package/dist/collection/components/algolia/algolia.js.map +0 -1
  1088. package/dist/collection/components/algolia/lib/squirrelly/browser.js.map +0 -1
  1089. package/dist/collection/components/algolia/lib/squirrelly/compile-string.js.map +0 -1
  1090. package/dist/collection/components/algolia/lib/squirrelly/compile.js.map +0 -1
  1091. package/dist/collection/components/algolia/lib/squirrelly/config.js.map +0 -1
  1092. package/dist/collection/components/algolia/lib/squirrelly/container-utils.js.map +0 -1
  1093. package/dist/collection/components/algolia/lib/squirrelly/containers.js.map +0 -1
  1094. package/dist/collection/components/algolia/lib/squirrelly/err.js.map +0 -1
  1095. package/dist/collection/components/algolia/lib/squirrelly/parse.js.map +0 -1
  1096. package/dist/collection/components/algolia/lib/squirrelly/render.js.map +0 -1
  1097. package/dist/collection/components/algolia/lib/squirrelly/storage.js.map +0 -1
  1098. package/dist/collection/components/algolia/lib/squirrelly/utils.js.map +0 -1
  1099. package/dist/collection/components/algolia/lib/template.js.map +0 -1
  1100. package/dist/collection/components/animation/animation.js.map +0 -1
  1101. package/dist/collection/components/animation/animations/attention_seekers/bounce.js.map +0 -1
  1102. package/dist/collection/components/animation/animations/attention_seekers/flash.js.map +0 -1
  1103. package/dist/collection/components/animation/animations/attention_seekers/headShake.js.map +0 -1
  1104. package/dist/collection/components/animation/animations/attention_seekers/heartBeat.js.map +0 -1
  1105. package/dist/collection/components/animation/animations/attention_seekers/jello.js.map +0 -1
  1106. package/dist/collection/components/animation/animations/attention_seekers/pulse.js.map +0 -1
  1107. package/dist/collection/components/animation/animations/attention_seekers/rubberBand.js.map +0 -1
  1108. package/dist/collection/components/animation/animations/attention_seekers/shake.js.map +0 -1
  1109. package/dist/collection/components/animation/animations/attention_seekers/shakeX.js.map +0 -1
  1110. package/dist/collection/components/animation/animations/attention_seekers/shakeY.js.map +0 -1
  1111. package/dist/collection/components/animation/animations/attention_seekers/swing.js.map +0 -1
  1112. package/dist/collection/components/animation/animations/attention_seekers/tada.js.map +0 -1
  1113. package/dist/collection/components/animation/animations/attention_seekers/wobble.js.map +0 -1
  1114. package/dist/collection/components/animation/animations/back_entrances/backInDown.js.map +0 -1
  1115. package/dist/collection/components/animation/animations/back_entrances/backInLeft.js.map +0 -1
  1116. package/dist/collection/components/animation/animations/back_entrances/backInRight.js.map +0 -1
  1117. package/dist/collection/components/animation/animations/back_entrances/backInUp.js.map +0 -1
  1118. package/dist/collection/components/animation/animations/back_exits/backOutDown.js.map +0 -1
  1119. package/dist/collection/components/animation/animations/back_exits/backOutLeft.js.map +0 -1
  1120. package/dist/collection/components/animation/animations/back_exits/backOutRight.js.map +0 -1
  1121. package/dist/collection/components/animation/animations/back_exits/backOutUp.js.map +0 -1
  1122. package/dist/collection/components/animation/animations/bouncing_entrances/bounceIn.js.map +0 -1
  1123. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInDown.js.map +0 -1
  1124. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInLeft.js.map +0 -1
  1125. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInRight.js.map +0 -1
  1126. package/dist/collection/components/animation/animations/bouncing_entrances/bounceInUp.js.map +0 -1
  1127. package/dist/collection/components/animation/animations/bouncing_exits/bounceOut.js.map +0 -1
  1128. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutDown.js.map +0 -1
  1129. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutLeft.js.map +0 -1
  1130. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutRight.js.map +0 -1
  1131. package/dist/collection/components/animation/animations/bouncing_exits/bounceOutUp.js.map +0 -1
  1132. package/dist/collection/components/animation/animations/easings/easings.js.map +0 -1
  1133. package/dist/collection/components/animation/animations/fading_entrances/fadeIn.js.map +0 -1
  1134. package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomLeft.js.map +0 -1
  1135. package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomRight.js.map +0 -1
  1136. package/dist/collection/components/animation/animations/fading_entrances/fadeInDown.js.map +0 -1
  1137. package/dist/collection/components/animation/animations/fading_entrances/fadeInDownBig.js.map +0 -1
  1138. package/dist/collection/components/animation/animations/fading_entrances/fadeInLeft.js.map +0 -1
  1139. package/dist/collection/components/animation/animations/fading_entrances/fadeInLeftBig.js.map +0 -1
  1140. package/dist/collection/components/animation/animations/fading_entrances/fadeInRight.js.map +0 -1
  1141. package/dist/collection/components/animation/animations/fading_entrances/fadeInRightBig.js.map +0 -1
  1142. package/dist/collection/components/animation/animations/fading_entrances/fadeInTopLeft.js.map +0 -1
  1143. package/dist/collection/components/animation/animations/fading_entrances/fadeInTopRight.js.map +0 -1
  1144. package/dist/collection/components/animation/animations/fading_entrances/fadeInUp.js.map +0 -1
  1145. package/dist/collection/components/animation/animations/fading_entrances/fadeInUpBig.js.map +0 -1
  1146. package/dist/collection/components/animation/animations/fading_exits/fadeOut.js.map +0 -1
  1147. package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomLeft.js.map +0 -1
  1148. package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomRight.js.map +0 -1
  1149. package/dist/collection/components/animation/animations/fading_exits/fadeOutDown.js.map +0 -1
  1150. package/dist/collection/components/animation/animations/fading_exits/fadeOutDownBig.js.map +0 -1
  1151. package/dist/collection/components/animation/animations/fading_exits/fadeOutLeft.js.map +0 -1
  1152. package/dist/collection/components/animation/animations/fading_exits/fadeOutLeftBig.js.map +0 -1
  1153. package/dist/collection/components/animation/animations/fading_exits/fadeOutRight.js.map +0 -1
  1154. package/dist/collection/components/animation/animations/fading_exits/fadeOutRightBig.js.map +0 -1
  1155. package/dist/collection/components/animation/animations/fading_exits/fadeOutTopLeft.js.map +0 -1
  1156. package/dist/collection/components/animation/animations/fading_exits/fadeOutTopRight.js.map +0 -1
  1157. package/dist/collection/components/animation/animations/fading_exits/fadeOutUp.js.map +0 -1
  1158. package/dist/collection/components/animation/animations/fading_exits/fadeOutUpBig.js.map +0 -1
  1159. package/dist/collection/components/animation/animations/flippers/flip.js.map +0 -1
  1160. package/dist/collection/components/animation/animations/flippers/flipInX.js.map +0 -1
  1161. package/dist/collection/components/animation/animations/flippers/flipInY.js.map +0 -1
  1162. package/dist/collection/components/animation/animations/flippers/flipOutX.js.map +0 -1
  1163. package/dist/collection/components/animation/animations/flippers/flipOutY.js.map +0 -1
  1164. package/dist/collection/components/animation/animations/index.js.map +0 -1
  1165. package/dist/collection/components/animation/animations/lightspeed/lightSpeedInLeft.js.map +0 -1
  1166. package/dist/collection/components/animation/animations/lightspeed/lightSpeedInRight.js.map +0 -1
  1167. package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutLeft.js.map +0 -1
  1168. package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutRight.js.map +0 -1
  1169. package/dist/collection/components/animation/animations/rotating_entrances/rotateIn.js.map +0 -1
  1170. package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownLeft.js.map +0 -1
  1171. package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownRight.js.map +0 -1
  1172. package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpLeft.js.map +0 -1
  1173. package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpRight.js.map +0 -1
  1174. package/dist/collection/components/animation/animations/rotating_exits/rotateOut.js.map +0 -1
  1175. package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownLeft.js.map +0 -1
  1176. package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownRight.js.map +0 -1
  1177. package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpLeft.js.map +0 -1
  1178. package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpRight.js.map +0 -1
  1179. package/dist/collection/components/animation/animations/sliding_entrances/slideInDown.js.map +0 -1
  1180. package/dist/collection/components/animation/animations/sliding_entrances/slideInLeft.js.map +0 -1
  1181. package/dist/collection/components/animation/animations/sliding_entrances/slideInRight.js.map +0 -1
  1182. package/dist/collection/components/animation/animations/sliding_entrances/slideInUp.js.map +0 -1
  1183. package/dist/collection/components/animation/animations/sliding_exits/slideOutDown.js.map +0 -1
  1184. package/dist/collection/components/animation/animations/sliding_exits/slideOutLeft.js.map +0 -1
  1185. package/dist/collection/components/animation/animations/sliding_exits/slideOutRight.js.map +0 -1
  1186. package/dist/collection/components/animation/animations/sliding_exits/slideOutUp.js.map +0 -1
  1187. package/dist/collection/components/animation/animations/specials/hinge.js.map +0 -1
  1188. package/dist/collection/components/animation/animations/specials/jackInTheBox.js.map +0 -1
  1189. package/dist/collection/components/animation/animations/specials/rollIn.js.map +0 -1
  1190. package/dist/collection/components/animation/animations/specials/rollOut.js.map +0 -1
  1191. package/dist/collection/components/animation/animations/zooming_entrances/zoomIn.js.map +0 -1
  1192. package/dist/collection/components/animation/animations/zooming_entrances/zoomInDown.js.map +0 -1
  1193. package/dist/collection/components/animation/animations/zooming_entrances/zoomInLeft.js.map +0 -1
  1194. package/dist/collection/components/animation/animations/zooming_entrances/zoomInRight.js.map +0 -1
  1195. package/dist/collection/components/animation/animations/zooming_entrances/zoomInUp.js.map +0 -1
  1196. package/dist/collection/components/animation/animations/zooming_exits/zoomOut.js.map +0 -1
  1197. package/dist/collection/components/animation/animations/zooming_exits/zoomOutDown.js.map +0 -1
  1198. package/dist/collection/components/animation/animations/zooming_exits/zoomOutLeft.js.map +0 -1
  1199. package/dist/collection/components/animation/animations/zooming_exits/zoomOutRight.js.map +0 -1
  1200. package/dist/collection/components/animation/animations/zooming_exits/zoomOutUp.js.map +0 -1
  1201. package/dist/collection/components/checkbox/checkbox-group.js.map +0 -1
  1202. package/dist/collection/components/checkbox/checkbox-interface.js.map +0 -1
  1203. package/dist/collection/components/checkbox/checkbox.js.map +0 -1
  1204. package/dist/collection/components/datalist/datalist.js.map +0 -1
  1205. package/dist/collection/components/date-input/date-input.js.map +0 -1
  1206. package/dist/collection/components/date-picker/date-picker.js.map +0 -1
  1207. package/dist/collection/components/date-picker/duet-date-picker/date-adapter.js.map +0 -1
  1208. package/dist/collection/components/date-picker/duet-date-picker/date-localization.js.map +0 -1
  1209. package/dist/collection/components/date-picker/duet-date-picker/date-picker-day.js.map +0 -1
  1210. package/dist/collection/components/date-picker/duet-date-picker/date-picker-month.js.map +0 -1
  1211. package/dist/collection/components/details/details.js.map +0 -1
  1212. package/dist/collection/components/dialog/dialog.helpers.js.map +0 -1
  1213. package/dist/collection/components/dialog/dialog.js.map +0 -1
  1214. package/dist/collection/components/drawer/drawer.js.map +0 -1
  1215. package/dist/collection/components/dropdown/dropdown.js.map +0 -1
  1216. package/dist/collection/components/field-validator/field-validator.js.map +0 -1
  1217. package/dist/collection/components/file-upload/file-upload-list.js.map +0 -1
  1218. package/dist/collection/components/file-upload/file-upload.js.map +0 -1
  1219. package/dist/collection/components/form-control/form-control.js.map +0 -1
  1220. package/dist/collection/components/global-nav/assets/local-my-account.json +0 -447
  1221. package/dist/collection/components/global-nav/global-nav-user-profile.js +0 -70
  1222. package/dist/collection/components/global-nav/global-nav-user-profile.js.map +0 -1
  1223. package/dist/collection/components/global-nav/global-nav.js.map +0 -1
  1224. package/dist/collection/components/global-nav/style/global-nav.css +0 -893
  1225. package/dist/collection/components/global-search-results/global-search-results.js.map +0 -1
  1226. package/dist/collection/components/grid/grid-item.js.map +0 -1
  1227. package/dist/collection/components/grid/grid.js.map +0 -1
  1228. package/dist/collection/components/hero/hero.js.map +0 -1
  1229. package/dist/collection/components/icon/icon.js.map +0 -1
  1230. package/dist/collection/components/icon/request.js.map +0 -1
  1231. package/dist/collection/components/icon/utils.js.map +0 -1
  1232. package/dist/collection/components/icon/validate.js.map +0 -1
  1233. package/dist/collection/components/icon-button/icon-button.js.map +0 -1
  1234. package/dist/collection/components/img/img.js.map +0 -1
  1235. package/dist/collection/components/input/input.js.map +0 -1
  1236. package/dist/collection/components/intersection-observe/intersection-observe.js.map +0 -1
  1237. package/dist/collection/components/menu/menu.js.map +0 -1
  1238. package/dist/collection/components/menu-drawer/menu-drawer.js.map +0 -1
  1239. package/dist/collection/components/more-less/more-less.js.map +0 -1
  1240. package/dist/collection/components/nav-item/nav-item.js.map +0 -1
  1241. package/dist/collection/components/option/option.js.map +0 -1
  1242. package/dist/collection/components/overflow-nav/overflow-nav.css +0 -226
  1243. package/dist/collection/components/overflow-nav/overflow-nav.js +0 -537
  1244. package/dist/collection/components/overflow-nav/overflow-nav.js.map +0 -1
  1245. package/dist/collection/components/progress-bar/progress-bar.js.map +0 -1
  1246. package/dist/collection/components/range/range.js.map +0 -1
  1247. package/dist/collection/components/rating/rating.js.map +0 -1
  1248. package/dist/collection/components/resize-observe/resize-observe.js.map +0 -1
  1249. package/dist/collection/components/select/select.js.map +0 -1
  1250. package/dist/collection/components/skeleton/skeleton.js.map +0 -1
  1251. package/dist/collection/components/slides/lib/js/animate.js.map +0 -1
  1252. package/dist/collection/components/slides/lib/js/cell.js.map +0 -1
  1253. package/dist/collection/components/slides/lib/js/drag.js.map +0 -1
  1254. package/dist/collection/components/slides/lib/js/fade.js.map +0 -1
  1255. package/dist/collection/components/slides/lib/js/flickity.js.map +0 -1
  1256. package/dist/collection/components/slides/lib/js/fullscreen.js.map +0 -1
  1257. package/dist/collection/components/slides/lib/js/index.js.map +0 -1
  1258. package/dist/collection/components/slides/lib/js/lazyload.js.map +0 -1
  1259. package/dist/collection/components/slides/lib/js/page-dots.js.map +0 -1
  1260. package/dist/collection/components/slides/lib/js/player.js.map +0 -1
  1261. package/dist/collection/components/slides/lib/js/prev-next-button.js.map +0 -1
  1262. package/dist/collection/components/slides/lib/js/slide.js.map +0 -1
  1263. package/dist/collection/components/slides/lib/js/utils/event-emitter.js.map +0 -1
  1264. package/dist/collection/components/slides/lib/js/utils/gestures.js.map +0 -1
  1265. package/dist/collection/components/slides/lib/js/utils/get-size.js.map +0 -1
  1266. package/dist/collection/components/slides/lib/js/utils/utils.js.map +0 -1
  1267. package/dist/collection/components/slides/slide.js.map +0 -1
  1268. package/dist/collection/components/slides/slides.js.map +0 -1
  1269. package/dist/collection/components/sortable/sortable.js.map +0 -1
  1270. package/dist/collection/components/spinner/spinner.js.map +0 -1
  1271. package/dist/collection/components/split-pane/split-pane.js.map +0 -1
  1272. package/dist/collection/components/sticker/sticker.js.map +0 -1
  1273. package/dist/collection/components/table/table.cell.js +0 -113
  1274. package/dist/collection/components/table/table.cell.js.map +0 -1
  1275. package/dist/collection/components/table/table.constants.js +0 -5
  1276. package/dist/collection/components/table/table.constants.js.map +0 -1
  1277. package/dist/collection/components/table/table.header.js +0 -63
  1278. package/dist/collection/components/table/table.header.js.map +0 -1
  1279. package/dist/collection/components/table/table.js.map +0 -1
  1280. package/dist/collection/components/table/table.pin-service.js +0 -389
  1281. package/dist/collection/components/table/table.pin-service.js.map +0 -1
  1282. package/dist/collection/components/table/table.row.js +0 -113
  1283. package/dist/collection/components/table/table.row.js.map +0 -1
  1284. package/dist/collection/components/table/table.store.js +0 -145
  1285. package/dist/collection/components/table/table.store.js.map +0 -1
  1286. package/dist/collection/components/table/table.utils.js +0 -157
  1287. package/dist/collection/components/table/table.utils.js.map +0 -1
  1288. package/dist/collection/components/table/table.worker.js +0 -221
  1289. package/dist/collection/components/table/table.worker.js.map +0 -1
  1290. package/dist/collection/components/tabs/tab-content.js.map +0 -1
  1291. package/dist/collection/components/tabs/tab-group.js.map +0 -1
  1292. package/dist/collection/components/tabs/tab.js.map +0 -1
  1293. package/dist/collection/components/tooltip/tooltip.js.map +0 -1
  1294. package/dist/collection/global/script/global.js.map +0 -1
  1295. package/dist/collection/index.js.map +0 -1
  1296. package/dist/collection/types/shared.js.map +0 -1
  1297. package/dist/collection/utils/active-element.js.map +0 -1
  1298. package/dist/collection/utils/constructible-style.js.map +0 -1
  1299. package/dist/collection/utils/custom-template.js.map +0 -1
  1300. package/dist/collection/utils/date-utils.js.map +0 -1
  1301. package/dist/collection/utils/dom.js.map +0 -1
  1302. package/dist/collection/utils/drag.js.map +0 -1
  1303. package/dist/collection/utils/events.js.map +0 -1
  1304. package/dist/collection/utils/fetch.js.map +0 -1
  1305. package/dist/collection/utils/focus-visible.js +0 -63
  1306. package/dist/collection/utils/focus-visible.js.map +0 -1
  1307. package/dist/collection/utils/form.js.map +0 -1
  1308. package/dist/collection/utils/gesture/gesture-controller.js.map +0 -1
  1309. package/dist/collection/utils/gesture/index.js.map +0 -1
  1310. package/dist/collection/utils/gesture/listener.js.map +0 -1
  1311. package/dist/collection/utils/gesture/pointer-events.js.map +0 -1
  1312. package/dist/collection/utils/gesture/recognizers.js.map +0 -1
  1313. package/dist/collection/utils/gesture/swipe-back.js.map +0 -1
  1314. package/dist/collection/utils/math.js.map +0 -1
  1315. package/dist/collection/utils/modal.js.map +0 -1
  1316. package/dist/collection/utils/popover.js.map +0 -1
  1317. package/dist/collection/utils/promise-queue.js.map +0 -1
  1318. package/dist/collection/utils/renderer.js.map +0 -1
  1319. package/dist/collection/utils/scroll-parent.js +0 -26
  1320. package/dist/collection/utils/scroll-parent.js.map +0 -1
  1321. package/dist/collection/utils/scroll.js.map +0 -1
  1322. package/dist/collection/utils/search-insights.js.map +0 -1
  1323. package/dist/collection/utils/slot.js.map +0 -1
  1324. package/dist/collection/utils/store/component-store.js.map +0 -1
  1325. package/dist/collection/utils/store/get-set.js.map +0 -1
  1326. package/dist/collection/utils/tabbable.js.map +0 -1
  1327. package/dist/collection/utils/testing/index.js.map +0 -1
  1328. package/dist/collection/utils/theme.js.map +0 -1
  1329. package/dist/collection/utils/throttle.js.map +0 -1
  1330. package/dist/collection/utils/transitions.js.map +0 -1
  1331. package/dist/components/active-element.js.map +0 -1
  1332. package/dist/components/algolia-data.js.map +0 -1
  1333. package/dist/components/algolia.js.map +0 -1
  1334. package/dist/components/algoliasearch-lite.esm.browser.js +0 -966
  1335. package/dist/components/algoliasearch-lite.esm.browser.js.map +0 -1
  1336. package/dist/components/component-store.js.map +0 -1
  1337. package/dist/components/datalist.js.map +0 -1
  1338. package/dist/components/date-picker.js.map +0 -1
  1339. package/dist/components/dom.js.map +0 -1
  1340. package/dist/components/drag.js.map +0 -1
  1341. package/dist/components/dropdown.js.map +0 -1
  1342. package/dist/components/events.js.map +0 -1
  1343. package/dist/components/fade.js.map +0 -1
  1344. package/dist/components/focus-visible.js +0 -66
  1345. package/dist/components/focus-visible.js.map +0 -1
  1346. package/dist/components/form-control.js.map +0 -1
  1347. package/dist/components/fullscreen.js.map +0 -1
  1348. package/dist/components/global-nav-user-profile.js +0 -50
  1349. package/dist/components/global-nav-user-profile.js.map +0 -1
  1350. package/dist/components/grid.js.map +0 -1
  1351. package/dist/components/icon-button.js.map +0 -1
  1352. package/dist/components/icon.js.map +0 -1
  1353. package/dist/components/img.js.map +0 -1
  1354. package/dist/components/index-browser.js.map +0 -1
  1355. package/dist/components/index.js.map +0 -1
  1356. package/dist/components/index2.js.map +0 -1
  1357. package/dist/components/index3.js.map +0 -1
  1358. package/dist/components/input.js.map +0 -1
  1359. package/dist/components/lazyload.js.map +0 -1
  1360. package/dist/components/local-my-account.js +0 -462
  1361. package/dist/components/local-my-account.js.map +0 -1
  1362. package/dist/components/math.js.map +0 -1
  1363. package/dist/components/menu.js.map +0 -1
  1364. package/dist/components/modal.js.map +0 -1
  1365. package/dist/components/nano-accordion.js.map +0 -1
  1366. package/dist/components/nano-alert.js.map +0 -1
  1367. package/dist/components/nano-algolia-filter.js.map +0 -1
  1368. package/dist/components/nano-algolia-pagination.js.map +0 -1
  1369. package/dist/components/nano-algolia-results.js.map +0 -1
  1370. package/dist/components/nano-algolia.js.map +0 -1
  1371. package/dist/components/nano-animation.js.map +0 -1
  1372. package/dist/components/nano-checkbox-group.js.map +0 -1
  1373. package/dist/components/nano-checkbox.js.map +0 -1
  1374. package/dist/components/nano-datalist.js.map +0 -1
  1375. package/dist/components/nano-date-input.js.map +0 -1
  1376. package/dist/components/nano-date-picker.js.map +0 -1
  1377. package/dist/components/nano-details.js.map +0 -1
  1378. package/dist/components/nano-dialog.js.map +0 -1
  1379. package/dist/components/nano-drawer.js.map +0 -1
  1380. package/dist/components/nano-dropdown.js.map +0 -1
  1381. package/dist/components/nano-field-validator.js.map +0 -1
  1382. package/dist/components/nano-file-upload.js.map +0 -1
  1383. package/dist/components/nano-global-nav-user-profile.d.ts +0 -11
  1384. package/dist/components/nano-global-nav-user-profile.js +0 -11
  1385. package/dist/components/nano-global-nav-user-profile.js.map +0 -1
  1386. package/dist/components/nano-global-nav.js.map +0 -1
  1387. package/dist/components/nano-global-search-results.js.map +0 -1
  1388. package/dist/components/nano-grid-item.js.map +0 -1
  1389. package/dist/components/nano-grid.js.map +0 -1
  1390. package/dist/components/nano-hero.js.map +0 -1
  1391. package/dist/components/nano-icon-button.js.map +0 -1
  1392. package/dist/components/nano-icon.js.map +0 -1
  1393. package/dist/components/nano-img.js.map +0 -1
  1394. package/dist/components/nano-input.js.map +0 -1
  1395. package/dist/components/nano-intersection-observe.js.map +0 -1
  1396. package/dist/components/nano-menu-drawer.js.map +0 -1
  1397. package/dist/components/nano-menu.js.map +0 -1
  1398. package/dist/components/nano-more-less.js.map +0 -1
  1399. package/dist/components/nano-nav-item.js.map +0 -1
  1400. package/dist/components/nano-option.js.map +0 -1
  1401. package/dist/components/nano-overflow-nav.d.ts +0 -11
  1402. package/dist/components/nano-overflow-nav.js +0 -390
  1403. package/dist/components/nano-overflow-nav.js.map +0 -1
  1404. package/dist/components/nano-progress-bar.js.map +0 -1
  1405. package/dist/components/nano-range.js.map +0 -1
  1406. package/dist/components/nano-rating.js.map +0 -1
  1407. package/dist/components/nano-resize-observe.js.map +0 -1
  1408. package/dist/components/nano-select.js.map +0 -1
  1409. package/dist/components/nano-skeleton.js.map +0 -1
  1410. package/dist/components/nano-slide.js.map +0 -1
  1411. package/dist/components/nano-slides.js.map +0 -1
  1412. package/dist/components/nano-sortable.js.map +0 -1
  1413. package/dist/components/nano-spinner.js.map +0 -1
  1414. package/dist/components/nano-split-pane.js.map +0 -1
  1415. package/dist/components/nano-sticker.js.map +0 -1
  1416. package/dist/components/nano-tab-content.js.map +0 -1
  1417. package/dist/components/nano-tab-group.js.map +0 -1
  1418. package/dist/components/nano-tab.js.map +0 -1
  1419. package/dist/components/nano-table.js.map +0 -1
  1420. package/dist/components/nano-tooltip.js.map +0 -1
  1421. package/dist/components/nav-item.js.map +0 -1
  1422. package/dist/components/option.js.map +0 -1
  1423. package/dist/components/page-dots.js.map +0 -1
  1424. package/dist/components/popover.js.map +0 -1
  1425. package/dist/components/progress-bar.js.map +0 -1
  1426. package/dist/components/renderer.js.map +0 -1
  1427. package/dist/components/resize-observe.js.map +0 -1
  1428. package/dist/components/scroll-parent.js +0 -29
  1429. package/dist/components/scroll-parent.js.map +0 -1
  1430. package/dist/components/scroll.js.map +0 -1
  1431. package/dist/components/search-insights.js +0 -51
  1432. package/dist/components/search-insights.js.map +0 -1
  1433. package/dist/components/select.js.map +0 -1
  1434. package/dist/components/skeleton.js.map +0 -1
  1435. package/dist/components/slot.js.map +0 -1
  1436. package/dist/components/spinner.js.map +0 -1
  1437. package/dist/components/sticker.js.map +0 -1
  1438. package/dist/components/tabbable.js.map +0 -1
  1439. package/dist/components/table.worker.js.map +0 -1
  1440. package/dist/components/theme.js.map +0 -1
  1441. package/dist/components/throttle.js.map +0 -1
  1442. package/dist/components/tooltip.js.map +0 -1
  1443. package/dist/components/transitions.js +0 -60
  1444. package/dist/components/transitions.js.map +0 -1
  1445. package/dist/esm/active-element-a2502948.js +0 -19
  1446. package/dist/esm/active-element-a2502948.js.map +0 -1
  1447. package/dist/esm/algolia-data-f0f72f1d.js +0 -49
  1448. package/dist/esm/algolia-data-f0f72f1d.js.map +0 -1
  1449. package/dist/esm/algoliasearch-lite.esm.browser-0f71b631.js +0 -966
  1450. package/dist/esm/algoliasearch-lite.esm.browser-0f71b631.js.map +0 -1
  1451. package/dist/esm/app-globals-f0120bbe.js +0 -39
  1452. package/dist/esm/app-globals-f0120bbe.js.map +0 -1
  1453. package/dist/esm/component-store-199a9fd8.js +0 -323
  1454. package/dist/esm/component-store-199a9fd8.js.map +0 -1
  1455. package/dist/esm/date-utils-1e39c114.js +0 -219
  1456. package/dist/esm/date-utils-1e39c114.js.map +0 -1
  1457. package/dist/esm/dom-fafdec9a.js +0 -78
  1458. package/dist/esm/dom-fafdec9a.js.map +0 -1
  1459. package/dist/esm/drag-9d765d2d.js +0 -72
  1460. package/dist/esm/drag-9d765d2d.js.map +0 -1
  1461. package/dist/esm/events-f38f3e59.js +0 -36
  1462. package/dist/esm/events-f38f3e59.js.map +0 -1
  1463. package/dist/esm/fade-ce1a4958.js +0 -212
  1464. package/dist/esm/fade-ce1a4958.js.map +0 -1
  1465. package/dist/esm/focus-visible-e5f02c46.js +0 -66
  1466. package/dist/esm/focus-visible-e5f02c46.js.map +0 -1
  1467. package/dist/esm/form-control-f48fa873.js +0 -79
  1468. package/dist/esm/form-control-f48fa873.js.map +0 -1
  1469. package/dist/esm/fullscreen-52d62028.js +0 -132
  1470. package/dist/esm/fullscreen-52d62028.js.map +0 -1
  1471. package/dist/esm/index-6cc72cd9.js +0 -3045
  1472. package/dist/esm/index-6cc72cd9.js.map +0 -1
  1473. package/dist/esm/index-a2043fcd.js +0 -657
  1474. package/dist/esm/index-a2043fcd.js.map +0 -1
  1475. package/dist/esm/index-browser-8c563093.js +0 -8
  1476. package/dist/esm/index-browser-8c563093.js.map +0 -1
  1477. package/dist/esm/index-f5f7b950.js +0 -198
  1478. package/dist/esm/index-f5f7b950.js.map +0 -1
  1479. package/dist/esm/index.js.map +0 -1
  1480. package/dist/esm/lazyload-8ff69ba4.js +0 -94
  1481. package/dist/esm/lazyload-8ff69ba4.js.map +0 -1
  1482. package/dist/esm/loader.js.map +0 -1
  1483. package/dist/esm/local-my-account-3ba1ec04.js +0 -462
  1484. package/dist/esm/local-my-account-3ba1ec04.js.map +0 -1
  1485. package/dist/esm/math-d160f8a6.js +0 -38
  1486. package/dist/esm/math-d160f8a6.js.map +0 -1
  1487. package/dist/esm/modal-02828a39.js +0 -49
  1488. package/dist/esm/modal-02828a39.js.map +0 -1
  1489. package/dist/esm/nano-accordion.entry.js.map +0 -1
  1490. package/dist/esm/nano-alert.entry.js.map +0 -1
  1491. package/dist/esm/nano-algolia-filter.entry.js.map +0 -1
  1492. package/dist/esm/nano-algolia-pagination.entry.js.map +0 -1
  1493. package/dist/esm/nano-algolia-results.entry.js.map +0 -1
  1494. package/dist/esm/nano-algolia.entry.js.map +0 -1
  1495. package/dist/esm/nano-animation.entry.js.map +0 -1
  1496. package/dist/esm/nano-checkbox-group.entry.js.map +0 -1
  1497. package/dist/esm/nano-checkbox.entry.js.map +0 -1
  1498. package/dist/esm/nano-components.js.map +0 -1
  1499. package/dist/esm/nano-datalist_3.entry.js.map +0 -1
  1500. package/dist/esm/nano-date-input.entry.js.map +0 -1
  1501. package/dist/esm/nano-date-picker.entry.js +0 -389
  1502. package/dist/esm/nano-date-picker.entry.js.map +0 -1
  1503. package/dist/esm/nano-details.entry.js.map +0 -1
  1504. package/dist/esm/nano-dialog.entry.js.map +0 -1
  1505. package/dist/esm/nano-drawer.entry.js +0 -285
  1506. package/dist/esm/nano-drawer.entry.js.map +0 -1
  1507. package/dist/esm/nano-dropdown.entry.js +0 -369
  1508. package/dist/esm/nano-dropdown.entry.js.map +0 -1
  1509. package/dist/esm/nano-field-validator.entry.js.map +0 -1
  1510. package/dist/esm/nano-file-upload.entry.js.map +0 -1
  1511. package/dist/esm/nano-global-nav-user-profile_3.entry.js +0 -1101
  1512. package/dist/esm/nano-global-nav-user-profile_3.entry.js.map +0 -1
  1513. package/dist/esm/nano-global-nav.entry.js.map +0 -1
  1514. package/dist/esm/nano-global-search-results.entry.js +0 -632
  1515. package/dist/esm/nano-global-search-results.entry.js.map +0 -1
  1516. package/dist/esm/nano-grid-item.entry.js.map +0 -1
  1517. package/dist/esm/nano-grid_2.entry.js.map +0 -1
  1518. package/dist/esm/nano-hero.entry.js.map +0 -1
  1519. package/dist/esm/nano-icon-button_2.entry.js +0 -336
  1520. package/dist/esm/nano-icon-button_2.entry.js.map +0 -1
  1521. package/dist/esm/nano-icon.entry.js +0 -316
  1522. package/dist/esm/nano-icon.entry.js.map +0 -1
  1523. package/dist/esm/nano-input.entry.js +0 -544
  1524. package/dist/esm/nano-input.entry.js.map +0 -1
  1525. package/dist/esm/nano-intersection-observe.entry.js.map +0 -1
  1526. package/dist/esm/nano-menu-drawer.entry.js.map +0 -1
  1527. package/dist/esm/nano-more-less.entry.js.map +0 -1
  1528. package/dist/esm/nano-overflow-nav.entry.js +0 -338
  1529. package/dist/esm/nano-overflow-nav.entry.js.map +0 -1
  1530. package/dist/esm/nano-progress-bar.entry.js.map +0 -1
  1531. package/dist/esm/nano-range.entry.js.map +0 -1
  1532. package/dist/esm/nano-rating.entry.js.map +0 -1
  1533. package/dist/esm/nano-resize-observe_2.entry.js.map +0 -1
  1534. package/dist/esm/nano-slide.entry.js.map +0 -1
  1535. package/dist/esm/nano-slides-2715825b.js +0 -3038
  1536. package/dist/esm/nano-slides-2715825b.js.map +0 -1
  1537. package/dist/esm/nano-slides.entry.js.map +0 -1
  1538. package/dist/esm/nano-sortable.entry.js.map +0 -1
  1539. package/dist/esm/nano-spinner.entry.js.map +0 -1
  1540. package/dist/esm/nano-split-pane.entry.js.map +0 -1
  1541. package/dist/esm/nano-sticker.entry.js.map +0 -1
  1542. package/dist/esm/nano-tab-content.entry.js.map +0 -1
  1543. package/dist/esm/nano-tab-group.entry.js.map +0 -1
  1544. package/dist/esm/nano-tab.entry.js.map +0 -1
  1545. package/dist/esm/nano-table-3965ddd0.js +0 -1877
  1546. package/dist/esm/nano-table-3965ddd0.js.map +0 -1
  1547. package/dist/esm/nano-table.entry.js.map +0 -1
  1548. package/dist/esm/page-dots-5b23db8c.js +0 -139
  1549. package/dist/esm/page-dots-5b23db8c.js.map +0 -1
  1550. package/dist/esm/popover-30ce6cac.js +0 -1930
  1551. package/dist/esm/popover-30ce6cac.js.map +0 -1
  1552. package/dist/esm/renderer-4bc3e2dc.js +0 -58
  1553. package/dist/esm/renderer-4bc3e2dc.js.map +0 -1
  1554. package/dist/esm/scroll-1afc6a4e.js +0 -124
  1555. package/dist/esm/scroll-1afc6a4e.js.map +0 -1
  1556. package/dist/esm/scroll-parent-be39fbd0.js +0 -29
  1557. package/dist/esm/scroll-parent-be39fbd0.js.map +0 -1
  1558. package/dist/esm/search-insights-1a7b7dc5.js +0 -51
  1559. package/dist/esm/search-insights-1a7b7dc5.js.map +0 -1
  1560. package/dist/esm/slot-1cd90e53.js +0 -58
  1561. package/dist/esm/slot-1cd90e53.js.map +0 -1
  1562. package/dist/esm/tabbable-44932eb7.js +0 -109
  1563. package/dist/esm/tabbable-44932eb7.js.map +0 -1
  1564. package/dist/esm/table.worker-8e04f768.js +0 -29
  1565. package/dist/esm/table.worker-8e04f768.js.map +0 -1
  1566. package/dist/esm/table.worker-da5412ed.js +0 -4
  1567. package/dist/esm/theme-d553c17a.js +0 -46
  1568. package/dist/esm/theme-d553c17a.js.map +0 -1
  1569. package/dist/esm/throttle-df960210.js +0 -50
  1570. package/dist/esm/throttle-df960210.js.map +0 -1
  1571. package/dist/esm/transitions-c09bd7f6.js +0 -60
  1572. package/dist/esm/transitions-c09bd7f6.js.map +0 -1
  1573. package/dist/generators/custom-element-doc-generator.js +0 -75
  1574. package/dist/generators/custom-element-doc-generator.js.map +0 -1
  1575. package/dist/generators/vue/generate-vue-component.js +0 -74
  1576. package/dist/generators/vue/generate-vue-component.js.map +0 -1
  1577. package/dist/generators/vue/index.js +0 -5
  1578. package/dist/generators/vue/index.js.map +0 -1
  1579. package/dist/generators/vue/output-vue.js +0 -96
  1580. package/dist/generators/vue/output-vue.js.map +0 -1
  1581. package/dist/generators/vue/plugin.js +0 -44
  1582. package/dist/generators/vue/plugin.js.map +0 -1
  1583. package/dist/generators/vue/types.js +0 -2
  1584. package/dist/generators/vue/types.js.map +0 -1
  1585. package/dist/generators/vue/utils.js +0 -82
  1586. package/dist/generators/vue/utils.js.map +0 -1
  1587. package/dist/nano-assets/fonts/jp/noto-sans-jp-v53-japanese-500.woff2 +0 -0
  1588. package/dist/nano-assets/fonts/latin/noto-sans-v38-latin-500.woff2 +0 -0
  1589. package/dist/nano-assets/fonts/latin/noto-sans-v38-latin-500italic.woff2 +0 -0
  1590. package/dist/nano-assets/fonts/sc/noto-sans-sc-v37-chinese-simplified-500.woff2 +0 -0
  1591. package/dist/nano-assets/local-my-account.json +0 -447
  1592. package/dist/nano-components/active-element-a2502948.js +0 -5
  1593. package/dist/nano-components/active-element-a2502948.js.map +0 -1
  1594. package/dist/nano-components/algolia-data-f0f72f1d.js +0 -5
  1595. package/dist/nano-components/algolia-data-f0f72f1d.js.map +0 -1
  1596. package/dist/nano-components/algoliasearch-lite.esm.browser-0f71b631.js +0 -5
  1597. package/dist/nano-components/algoliasearch-lite.esm.browser-0f71b631.js.map +0 -1
  1598. package/dist/nano-components/app-globals-f0120bbe.js +0 -5
  1599. package/dist/nano-components/app-globals-f0120bbe.js.map +0 -1
  1600. package/dist/nano-components/assets/local-my-account.json +0 -447
  1601. package/dist/nano-components/component-store-199a9fd8.js +0 -5
  1602. package/dist/nano-components/component-store-199a9fd8.js.map +0 -1
  1603. package/dist/nano-components/date-utils-1e39c114.js +0 -5
  1604. package/dist/nano-components/date-utils-1e39c114.js.map +0 -1
  1605. package/dist/nano-components/dom-fafdec9a.js +0 -5
  1606. package/dist/nano-components/dom-fafdec9a.js.map +0 -1
  1607. package/dist/nano-components/drag-9d765d2d.js +0 -5
  1608. package/dist/nano-components/drag-9d765d2d.js.map +0 -1
  1609. package/dist/nano-components/events-f38f3e59.js +0 -5
  1610. package/dist/nano-components/events-f38f3e59.js.map +0 -1
  1611. package/dist/nano-components/fade-ce1a4958.js +0 -5
  1612. package/dist/nano-components/fade-ce1a4958.js.map +0 -1
  1613. package/dist/nano-components/focus-visible-e5f02c46.js +0 -5
  1614. package/dist/nano-components/focus-visible-e5f02c46.js.map +0 -1
  1615. package/dist/nano-components/form-control-f48fa873.js +0 -5
  1616. package/dist/nano-components/form-control-f48fa873.js.map +0 -1
  1617. package/dist/nano-components/fullscreen-52d62028.js +0 -5
  1618. package/dist/nano-components/fullscreen-52d62028.js.map +0 -1
  1619. package/dist/nano-components/index-6cc72cd9.js +0 -6
  1620. package/dist/nano-components/index-6cc72cd9.js.map +0 -1
  1621. package/dist/nano-components/index-a2043fcd.js +0 -5
  1622. package/dist/nano-components/index-a2043fcd.js.map +0 -1
  1623. package/dist/nano-components/index-browser-8c563093.js +0 -5
  1624. package/dist/nano-components/index-browser-8c563093.js.map +0 -1
  1625. package/dist/nano-components/index-f5f7b950.js +0 -5
  1626. package/dist/nano-components/index-f5f7b950.js.map +0 -1
  1627. package/dist/nano-components/index.esm.js.map +0 -1
  1628. package/dist/nano-components/lazyload-8ff69ba4.js +0 -5
  1629. package/dist/nano-components/lazyload-8ff69ba4.js.map +0 -1
  1630. package/dist/nano-components/local-my-account-3ba1ec04.js +0 -5
  1631. package/dist/nano-components/local-my-account-3ba1ec04.js.map +0 -1
  1632. package/dist/nano-components/math-d160f8a6.js +0 -5
  1633. package/dist/nano-components/math-d160f8a6.js.map +0 -1
  1634. package/dist/nano-components/modal-02828a39.js +0 -5
  1635. package/dist/nano-components/modal-02828a39.js.map +0 -1
  1636. package/dist/nano-components/nano-accordion.entry.js.map +0 -1
  1637. package/dist/nano-components/nano-alert.entry.js.map +0 -1
  1638. package/dist/nano-components/nano-algolia-filter.entry.js.map +0 -1
  1639. package/dist/nano-components/nano-algolia-pagination.entry.js.map +0 -1
  1640. package/dist/nano-components/nano-algolia-results.entry.js.map +0 -1
  1641. package/dist/nano-components/nano-algolia.entry.js.map +0 -1
  1642. package/dist/nano-components/nano-animation.entry.js.map +0 -1
  1643. package/dist/nano-components/nano-checkbox-group.entry.js.map +0 -1
  1644. package/dist/nano-components/nano-checkbox.entry.js.map +0 -1
  1645. package/dist/nano-components/nano-components.esm.js.map +0 -1
  1646. package/dist/nano-components/nano-datalist_3.entry.js.map +0 -1
  1647. package/dist/nano-components/nano-date-input.entry.js.map +0 -1
  1648. package/dist/nano-components/nano-date-picker.entry.js +0 -5
  1649. package/dist/nano-components/nano-date-picker.entry.js.map +0 -1
  1650. package/dist/nano-components/nano-details.entry.js.map +0 -1
  1651. package/dist/nano-components/nano-dialog.entry.js.map +0 -1
  1652. package/dist/nano-components/nano-drawer.entry.js +0 -5
  1653. package/dist/nano-components/nano-drawer.entry.js.map +0 -1
  1654. package/dist/nano-components/nano-dropdown.entry.js +0 -5
  1655. package/dist/nano-components/nano-dropdown.entry.js.map +0 -1
  1656. package/dist/nano-components/nano-field-validator.entry.js.map +0 -1
  1657. package/dist/nano-components/nano-file-upload.entry.js.map +0 -1
  1658. package/dist/nano-components/nano-global-nav-user-profile_3.entry.js +0 -5
  1659. package/dist/nano-components/nano-global-nav-user-profile_3.entry.js.map +0 -1
  1660. package/dist/nano-components/nano-global-nav.entry.js.map +0 -1
  1661. package/dist/nano-components/nano-global-search-results.entry.js +0 -5
  1662. package/dist/nano-components/nano-global-search-results.entry.js.map +0 -1
  1663. package/dist/nano-components/nano-grid-item.entry.js.map +0 -1
  1664. package/dist/nano-components/nano-grid_2.entry.js.map +0 -1
  1665. package/dist/nano-components/nano-hero.entry.js.map +0 -1
  1666. package/dist/nano-components/nano-icon-button_2.entry.js +0 -5
  1667. package/dist/nano-components/nano-icon-button_2.entry.js.map +0 -1
  1668. package/dist/nano-components/nano-icon.entry.js +0 -5
  1669. package/dist/nano-components/nano-icon.entry.js.map +0 -1
  1670. package/dist/nano-components/nano-input.entry.js +0 -5
  1671. package/dist/nano-components/nano-input.entry.js.map +0 -1
  1672. package/dist/nano-components/nano-intersection-observe.entry.js.map +0 -1
  1673. package/dist/nano-components/nano-menu-drawer.entry.js.map +0 -1
  1674. package/dist/nano-components/nano-more-less.entry.js.map +0 -1
  1675. package/dist/nano-components/nano-overflow-nav.entry.js +0 -5
  1676. package/dist/nano-components/nano-overflow-nav.entry.js.map +0 -1
  1677. package/dist/nano-components/nano-progress-bar.entry.js.map +0 -1
  1678. package/dist/nano-components/nano-range.entry.js.map +0 -1
  1679. package/dist/nano-components/nano-rating.entry.js.map +0 -1
  1680. package/dist/nano-components/nano-resize-observe_2.entry.js.map +0 -1
  1681. package/dist/nano-components/nano-slide.entry.js.map +0 -1
  1682. package/dist/nano-components/nano-slides-2715825b.js +0 -20
  1683. package/dist/nano-components/nano-slides-2715825b.js.map +0 -1
  1684. package/dist/nano-components/nano-slides.entry.js.map +0 -1
  1685. package/dist/nano-components/nano-sortable.entry.js.map +0 -1
  1686. package/dist/nano-components/nano-spinner.entry.js.map +0 -1
  1687. package/dist/nano-components/nano-split-pane.entry.js.map +0 -1
  1688. package/dist/nano-components/nano-sticker.entry.js.map +0 -1
  1689. package/dist/nano-components/nano-tab-content.entry.js.map +0 -1
  1690. package/dist/nano-components/nano-tab-group.entry.js.map +0 -1
  1691. package/dist/nano-components/nano-tab.entry.js.map +0 -1
  1692. package/dist/nano-components/nano-table-3965ddd0.js +0 -5
  1693. package/dist/nano-components/nano-table-3965ddd0.js.map +0 -1
  1694. package/dist/nano-components/nano-table.entry.js.map +0 -1
  1695. package/dist/nano-components/page-dots-5b23db8c.js +0 -5
  1696. package/dist/nano-components/page-dots-5b23db8c.js.map +0 -1
  1697. package/dist/nano-components/popover-30ce6cac.js +0 -5
  1698. package/dist/nano-components/popover-30ce6cac.js.map +0 -1
  1699. package/dist/nano-components/renderer-4bc3e2dc.js +0 -5
  1700. package/dist/nano-components/renderer-4bc3e2dc.js.map +0 -1
  1701. package/dist/nano-components/scroll-1afc6a4e.js +0 -5
  1702. package/dist/nano-components/scroll-1afc6a4e.js.map +0 -1
  1703. package/dist/nano-components/scroll-parent-be39fbd0.js +0 -5
  1704. package/dist/nano-components/scroll-parent-be39fbd0.js.map +0 -1
  1705. package/dist/nano-components/search-insights-1a7b7dc5.js +0 -5
  1706. package/dist/nano-components/search-insights-1a7b7dc5.js.map +0 -1
  1707. package/dist/nano-components/slot-1cd90e53.js +0 -5
  1708. package/dist/nano-components/slot-1cd90e53.js.map +0 -1
  1709. package/dist/nano-components/tabbable-44932eb7.js +0 -5
  1710. package/dist/nano-components/tabbable-44932eb7.js.map +0 -1
  1711. package/dist/nano-components/table.worker-8e04f768.js +0 -5
  1712. package/dist/nano-components/table.worker-8e04f768.js.map +0 -1
  1713. package/dist/nano-components/table.worker-da5412ed.js +0 -4
  1714. package/dist/nano-components/theme-d553c17a.js +0 -5
  1715. package/dist/nano-components/theme-d553c17a.js.map +0 -1
  1716. package/dist/nano-components/throttle-df960210.js +0 -5
  1717. package/dist/nano-components/throttle-df960210.js.map +0 -1
  1718. package/dist/nano-components/transitions-c09bd7f6.js +0 -5
  1719. package/dist/nano-components/transitions-c09bd7f6.js.map +0 -1
  1720. package/dist/stencil.config.js.map +0 -1
  1721. package/dist/stencil.config.prod.js.map +0 -1
  1722. package/dist/testing/mocks/intersection-observer.js.map +0 -1
  1723. package/dist/themes/base/normalize.css +0 -1
  1724. package/dist/themes/base/normalize.css.map +0 -1
  1725. package/dist/themes/base/noto-sans-jp.css +0 -1
  1726. package/dist/themes/base/noto-sans-jp.css.map +0 -1
  1727. package/dist/themes/base/noto-sans-sc.css +0 -1
  1728. package/dist/themes/base/noto-sans-sc.css.map +0 -1
  1729. package/dist/themes/base/noto-sans.css +0 -1
  1730. package/dist/themes/base/noto-sans.css.map +0 -1
  1731. package/dist/themes/base/structure.css +0 -1
  1732. package/dist/themes/base/structure.css.map +0 -1
  1733. package/dist/themes/london-calling.css +0 -1
  1734. package/dist/themes/london-calling.css.map +0 -1
  1735. package/dist/themes/nanopore.css +0 -1
  1736. package/dist/themes/nanopore.css.map +0 -1
  1737. package/dist/types/builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/custom-element-doc-generator.d.ts +0 -8
  1738. package/dist/types/builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -2
  1739. package/dist/types/builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -2
  1740. package/dist/types/components/global-nav/global-nav-user-profile.d.ts +0 -16
  1741. package/dist/types/components/overflow-nav/overflow-nav.d.ts +0 -89
  1742. package/dist/types/components/table/table-interface.d.ts +0 -278
  1743. package/dist/types/components/table/table.store.d.ts +0 -24
  1744. package/dist/types/components/table/table.utils.d.ts +0 -70
  1745. package/dist/types/utils/focus-visible.d.ts +0 -8
  1746. package/dist/types/utils/scroll-parent.d.ts +0 -6
  1747. package/dist/wdio.conf.js.map +0 -1
  1748. package/themes/base/normalize.css +0 -1
  1749. package/themes/base/normalize.css.map +0 -1
  1750. package/themes/base/noto-sans-jp.css +0 -1
  1751. package/themes/base/noto-sans-jp.css.map +0 -1
  1752. package/themes/base/noto-sans-sc.css +0 -1
  1753. package/themes/base/noto-sans-sc.css.map +0 -1
  1754. package/themes/base/noto-sans.css +0 -1
  1755. package/themes/base/noto-sans.css.map +0 -1
  1756. package/themes/base/structure.css +0 -1
  1757. package/themes/base/structure.css.map +0 -1
  1758. package/themes/london-calling.css +0 -1
  1759. package/themes/london-calling.css.map +0 -1
  1760. package/themes/nanopore.css +0 -1
  1761. package/themes/nanopore.css.map +0 -1
  1762. /package/dist/nano-assets/{fonts/jp/noto-sans-jp-v53-japanese-700.woff2 → font/jp/noto-sans-jp-v53-japanese_latin-700.woff2} +0 -0
  1763. /package/dist/nano-assets/{fonts/jp/noto-sans-jp-v53-japanese-regular.woff2 → font/jp/noto-sans-jp-v53-japanese_latin-regular.woff2} +0 -0
  1764. /package/dist/nano-assets/{fonts → font}/latin/noto-sans-v38-latin-700.woff2 +0 -0
  1765. /package/dist/nano-assets/{fonts → font}/latin/noto-sans-v38-latin-700italic.woff2 +0 -0
  1766. /package/dist/nano-assets/{fonts → font}/latin/noto-sans-v38-latin-italic.woff2 +0 -0
  1767. /package/dist/nano-assets/{fonts → font}/latin/noto-sans-v38-latin-regular.woff2 +0 -0
  1768. /package/dist/nano-assets/{fonts/sc/noto-sans-sc-v37-chinese-simplified-700.woff2 → font/sc/noto-sans-sc-v37-chinese-simplified_latin-700.woff2} +0 -0
  1769. /package/dist/nano-assets/{fonts/sc/noto-sans-sc-v37-chinese-simplified-regular.woff2 → font/sc/noto-sans-sc-v37-chinese-simplified_latin-regular.woff2} +0 -0
  1770. /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/generate-vue-component.d.ts +0 -0
  1771. /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/index.d.ts +0 -0
  1772. /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/output-vue.d.ts +0 -0
  1773. /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/plugin.d.ts +0 -0
  1774. /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/types.d.ts +0 -0
  1775. /package/dist/types/{builds/6SyqsxUA/0/Digital/nano-components/packages/components/.stencil/generators/vue → Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/stencil/vue-output}/utils.d.ts +0 -0
  1776. /package/dist/types/{builds/6SyqsxUA/0/Digital → Users/John.Jenkins/projects}/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
  1777. /package/dist/types/{builds/6SyqsxUA/0/Digital → Users/John.Jenkins/projects}/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
  1778. /package/dist/types/components/{table → data-table}/table.cell.d.ts +0 -0
  1779. /package/dist/types/components/{table → data-table}/table.constants.d.ts +0 -0
  1780. /package/dist/types/components/{table → data-table}/table.header.d.ts +0 -0
  1781. /package/dist/types/components/{table → data-table}/table.pin-service.d.ts +0 -0
  1782. /package/dist/types/components/{table → data-table}/table.row.d.ts +0 -0
  1783. /package/dist/types/components/{table → data-table}/table.worker.d.ts +0 -0
@@ -1,3038 +0,0 @@
1
- /*!
2
- * Web Components for Nanopore digital Web Apps
3
- */
4
- import { r as registerInstance, c as createEvent, g as getElement, e as readTask, d as writeTask, a as Host } from './index-6cc72cd9.js';
5
- import { t as transformTag, h } from './renderer-4bc3e2dc.js';
6
-
7
- function EvEmitter() { }
8
- const proto$4 = EvEmitter.prototype;
9
- proto$4.on = function (eventName, listener) {
10
- if (!eventName || !listener) {
11
- return;
12
- }
13
- // set events hash
14
- const events = (this._events = this._events || {});
15
- // set listeners array
16
- const listeners = (events[eventName] = events[eventName] || []);
17
- // only add once
18
- if (listeners.indexOf(listener) == -1) {
19
- listeners.push(listener);
20
- }
21
- return this;
22
- };
23
- proto$4.once = function (eventName, listener) {
24
- if (!eventName || !listener) {
25
- return;
26
- }
27
- // add event
28
- this.on(eventName, listener);
29
- // set once flag
30
- // set onceEvents hash
31
- const onceEvents = (this._onceEvents = this._onceEvents || {});
32
- // set onceListeners object
33
- const onceListeners = (onceEvents[eventName] = onceEvents[eventName] || {});
34
- // set flag
35
- onceListeners[listener] = true;
36
- return this;
37
- };
38
- proto$4.off = function (eventName, listener) {
39
- const listeners = this._events && this._events[eventName];
40
- if (!listeners || !listeners.length) {
41
- return;
42
- }
43
- const index = listeners.indexOf(listener);
44
- if (index != -1) {
45
- listeners.splice(index, 1);
46
- }
47
- return this;
48
- };
49
- proto$4.emitEvent = function (eventName, args) {
50
- let listeners = this._events && this._events[eventName];
51
- if (!listeners || !listeners.length) {
52
- return;
53
- }
54
- // copy over to avoid interference if .off() in listener
55
- listeners = listeners.slice(0);
56
- args = args || [];
57
- // once stuff
58
- const onceListeners = this._onceEvents && this._onceEvents[eventName];
59
- for (let i = 0; i < listeners.length; i++) {
60
- const listener = listeners[i];
61
- const isOnce = onceListeners && onceListeners[listener];
62
- if (isOnce) {
63
- // remove listener
64
- // remove before trigger to prevent recursion
65
- this.off(eventName, listener);
66
- // unset once flag
67
- delete onceListeners[listener];
68
- }
69
- // trigger listener
70
- listener.apply(this, args);
71
- }
72
- return this;
73
- };
74
- proto$4.allOff = function () {
75
- delete this._events;
76
- delete this._onceEvents;
77
- };
78
-
79
- /*!
80
- * getSize v2.0.3
81
- * measure size of elements
82
- * MIT license
83
- */
84
- // get a number from a string, not a percentage
85
- function getStyleSize(value) {
86
- const num = parseFloat(value);
87
- // not a percent like '100%', and a number
88
- const isValid = value.indexOf('%') == -1 && !isNaN(num);
89
- return isValid && num;
90
- }
91
- function noop$1() { }
92
- const logError = typeof console == 'undefined'
93
- ? noop$1
94
- : function (message) {
95
- console.error(message);
96
- };
97
- // -------------------------- measurements -------------------------- //
98
- const measurements = [
99
- 'paddingLeft',
100
- 'paddingRight',
101
- 'paddingTop',
102
- 'paddingBottom',
103
- 'marginLeft',
104
- 'marginRight',
105
- 'marginTop',
106
- 'marginBottom',
107
- 'borderLeftWidth',
108
- 'borderRightWidth',
109
- 'borderTopWidth',
110
- 'borderBottomWidth',
111
- ];
112
- const measurementsLength = measurements.length;
113
- function getZeroSize() {
114
- const size = {
115
- width: 0,
116
- height: 0,
117
- innerWidth: 0,
118
- innerHeight: 0,
119
- outerWidth: 0,
120
- outerHeight: 0,
121
- };
122
- for (let i = 0; i < measurementsLength; i++) {
123
- const measurement = measurements[i];
124
- size[measurement] = 0;
125
- }
126
- return size;
127
- }
128
- // -------------------------- getStyle -------------------------- //
129
- /**
130
- * getStyle, get style of element, check for Firefox bug
131
- * https://bugzilla.mozilla.org/show_bug.cgi?id=548397
132
- * @param elem element to get styles for
133
- * @returns {CSSStyleDeclaration} styles of element
134
- */
135
- function getStyle(elem) {
136
- const style = getComputedStyle(elem);
137
- if (!style) {
138
- logError('Style returned ' +
139
- style +
140
- '. Are you running this code in a hidden iframe on Firefox? ' +
141
- 'See https://bit.ly/getsizebug1');
142
- }
143
- return style;
144
- }
145
- // -------------------------- setup -------------------------- //
146
- let isSetup = false;
147
- let isBoxSizeOuter;
148
- /**
149
- * setup
150
- * check isBoxSizerOuter
151
- * do on first getSize() rather than on page load for Firefox bug
152
- */
153
- function setup() {
154
- // setup once
155
- if (isSetup) {
156
- return;
157
- }
158
- isSetup = true;
159
- // -------------------------- box sizing -------------------------- //
160
- /**
161
- * Chrome & Safari measure the outer-width on style.width on border-box elems
162
- * IE11 & Firefox<29 measures the inner-width
163
- */
164
- const div = document.createElement('div');
165
- div.style.width = '200px';
166
- div.style.padding = '1px 2px 3px 4px';
167
- div.style.borderStyle = 'solid';
168
- div.style.borderWidth = '1px 2px 3px 4px';
169
- div.style.boxSizing = 'border-box';
170
- const body = document.body || document.documentElement;
171
- body.appendChild(div);
172
- const style = getStyle(div);
173
- // round value for browser zoom. desandro/masonry#928
174
- isBoxSizeOuter = Math.round(getStyleSize(style.width)) == 200;
175
- // @ts-ignore
176
- getSize.isBoxSizeOuter = isBoxSizeOuter;
177
- body.removeChild(div);
178
- }
179
- // -------------------------- getSize -------------------------- //
180
- function getSize(elem) {
181
- setup();
182
- // use querySeletor if elem is string
183
- if (typeof elem == 'string') {
184
- elem = document.querySelector(elem);
185
- }
186
- // do not proceed on non-objects
187
- if (!elem || typeof elem != 'object' || !elem.nodeType) {
188
- return;
189
- }
190
- const style = getStyle(elem);
191
- // if hidden, everything is 0
192
- if (style.display == 'none') {
193
- return getZeroSize();
194
- }
195
- const size = {};
196
- size.width = elem.offsetWidth;
197
- size.height = elem.offsetHeight;
198
- const isBorderBox = (size.isBorderBox = style.boxSizing == 'border-box');
199
- // get all measurements
200
- for (let i = 0; i < measurementsLength; i++) {
201
- const measurement = measurements[i];
202
- const value = style[measurement];
203
- const num = parseFloat(value);
204
- // any 'auto', 'medium' value will be 0
205
- size[measurement] = !isNaN(num) ? num : 0;
206
- }
207
- const paddingWidth = size.paddingLeft + size.paddingRight;
208
- const paddingHeight = size.paddingTop + size.paddingBottom;
209
- const marginWidth = size.marginLeft + size.marginRight;
210
- const marginHeight = size.marginTop + size.marginBottom;
211
- const borderWidth = size.borderLeftWidth + size.borderRightWidth;
212
- const borderHeight = size.borderTopWidth + size.borderBottomWidth;
213
- const isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter;
214
- // overwrite width and height if we can get it from style
215
- const styleWidth = getStyleSize(style.width);
216
- if (styleWidth !== false) {
217
- size.width =
218
- styleWidth +
219
- // add padding and border unless it's already including it
220
- (isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth);
221
- }
222
- const styleHeight = getStyleSize(style.height);
223
- if (styleHeight !== false) {
224
- size.height =
225
- styleHeight +
226
- // add padding and border unless it's already including it
227
- (isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight);
228
- }
229
- size.innerWidth = size.width - (paddingWidth + borderWidth);
230
- size.innerHeight = size.height - (paddingHeight + borderHeight);
231
- size.outerWidth = size.width + marginWidth;
232
- size.outerHeight = size.height + marginHeight;
233
- return size;
234
- }
235
-
236
- /**
237
- * Fizzy UI utils v2.0.7
238
- * MIT license
239
- */
240
- /*jshint browser: true, undef: true, unused: true, strict: true */
241
- const utils = {};
242
- // ----- extend ----- //
243
- // extends objects
244
- utils.extend = function (a, b) {
245
- for (const prop in b) {
246
- a[prop] = b[prop];
247
- }
248
- return a;
249
- };
250
- // ----- docReady ----- //
251
- utils.docReady = function (callback) {
252
- const readyState = document.readyState;
253
- if (readyState == 'complete' || readyState == 'interactive') {
254
- // do async to allow for other scripts to run. metafizzy/flickity#441
255
- setTimeout(callback);
256
- }
257
- else {
258
- document.addEventListener('DOMContentLoaded', callback);
259
- }
260
- };
261
- // ----- toDashed ----- //
262
- utils.toDashed = function (str) {
263
- return str
264
- .replace(/(.)([A-Z])/g, function (_match, $1, $2) {
265
- return $1 + '-' + $2;
266
- })
267
- .toLowerCase();
268
- };
269
- // ----- modulo ----- //
270
- utils.modulo = function (num, div) {
271
- return ((num % div) + div) % div;
272
- };
273
- // ----- makeArray ----- //
274
- const arraySlice = Array.prototype.slice;
275
- // turn element or nodeList into an array
276
- utils.makeArray = function (obj) {
277
- if (Array.isArray(obj)) {
278
- // use object if already an array
279
- return obj;
280
- }
281
- // return empty array if undefined or null. #6
282
- if (obj === null || obj === undefined) {
283
- return [];
284
- }
285
- const isArrayLike = typeof obj == 'object' && typeof obj.length == 'number';
286
- if (isArrayLike) {
287
- // convert nodeList to array
288
- return arraySlice.call(obj);
289
- }
290
- // array of single index
291
- return [obj];
292
- };
293
- // ----- getParent ----- //
294
- utils.getParent = function (elem, selector) {
295
- while (elem.parentNode && elem != document.body) {
296
- elem = elem.parentElement;
297
- if (elem.matches(selector)) {
298
- return elem;
299
- }
300
- }
301
- };
302
- // ----- getQueryElement ----- //
303
- // use element as selector string
304
- utils.getQueryElement = function (elem) {
305
- if (typeof elem == 'string') {
306
- return document.querySelector(elem);
307
- }
308
- return elem;
309
- };
310
- // ----- handleEvent ----- //
311
- // enable .ontype to trigger from .addEventListener( elem, 'type' )
312
- utils.handleEvent = function (event) {
313
- const method = 'on' + event.type;
314
- if (this[method]) {
315
- this[method](event);
316
- }
317
- };
318
- // ----- filterFindElements ----- //
319
- utils.filterFindElements = function (elems, selector) {
320
- // make array of elems
321
- elems = utils.makeArray(elems);
322
- const ffElems = [];
323
- elems.forEach(function (elem) {
324
- // check that elem is an actual element
325
- if (!(elem instanceof HTMLElement)) {
326
- return;
327
- }
328
- // add elem if no selector
329
- if (!selector) {
330
- ffElems.push(elem);
331
- return;
332
- }
333
- // filter & find items if we have a selector
334
- // filter
335
- if (elem.matches(selector)) {
336
- ffElems.push(elem);
337
- }
338
- // find children
339
- const childElems = elem.querySelectorAll(selector);
340
- // concat childElems to filterFound array
341
- for (let i = 0; i < childElems.length; i++) {
342
- ffElems.push(childElems[i]);
343
- }
344
- });
345
- return ffElems;
346
- };
347
- // ----- debounceMethod ----- //
348
- utils.debounceMethod = function (_class, methodName, threshold) {
349
- threshold = threshold || 100;
350
- // original method
351
- const method = _class.prototype[methodName];
352
- const timeoutName = methodName + 'Timeout';
353
- _class.prototype[methodName] = function (...args) {
354
- const timeout = this[timeoutName];
355
- clearTimeout(timeout);
356
- const _this = this;
357
- this[timeoutName] = setTimeout(function () {
358
- method.apply(_this, args);
359
- delete _this[timeoutName];
360
- }, threshold);
361
- };
362
- };
363
- const console$2 = window.console;
364
- /**
365
- * allow user to initialize classes via [data-namespace] or .js-namespace class
366
- * htmlInit( Widget, 'widgetName' )
367
- * options are parsed from data-namespace-options
368
- */
369
- utils.htmlInit = function (WidgetClass, namespace) {
370
- utils.docReady(function () {
371
- const dashedNamespace = utils.toDashed(namespace);
372
- const dataAttr = 'data-' + dashedNamespace;
373
- const dataAttrElems = document.querySelectorAll('[' + dataAttr + ']');
374
- const jsDashElems = document.querySelectorAll('.js-' + dashedNamespace);
375
- const elems = utils
376
- .makeArray(dataAttrElems)
377
- .concat(utils.makeArray(jsDashElems));
378
- const dataOptionsAttr = dataAttr + '-options';
379
- elems.forEach(function (elem) {
380
- const attr = elem.getAttribute(dataAttr) || elem.getAttribute(dataOptionsAttr);
381
- let options;
382
- try {
383
- options = attr && JSON.parse(attr);
384
- }
385
- catch (error) {
386
- // log error, do not initialize
387
- if (console$2) {
388
- console$2.error('Error parsing ' + dataAttr + ' on ' + elem.className + ': ' + error);
389
- }
390
- return;
391
- }
392
- // initialize
393
- // @ts-ignore
394
- new WidgetClass(elem, options);
395
- });
396
- });
397
- };
398
-
399
- function Cell(elem, parent) {
400
- this.element = elem;
401
- this.parent = parent;
402
- this.create();
403
- }
404
- const proto$3 = Cell.prototype;
405
- proto$3.create = function () {
406
- this.element.style.position = 'absolute';
407
- this.element.setAttribute('aria-hidden', 'true');
408
- this.x = 0;
409
- this.shift = 0;
410
- Array.from(this.element.querySelectorAll('*')).forEach((element) => {
411
- element.setAttribute('tabindex', '-1');
412
- });
413
- };
414
- proto$3.destroy = function () {
415
- // reset style
416
- this.unselect();
417
- this.element.style.position = '';
418
- const side = this.parent.originSide;
419
- this.element.style[side] = '';
420
- };
421
- proto$3.getSize = function () {
422
- this.size = getSize(this.element);
423
- };
424
- proto$3.setPosition = function (x) {
425
- this.x = x;
426
- this.updateTarget();
427
- this.renderPosition(x);
428
- };
429
- // setDefaultTarget v1 method, backwards compatibility, remove in v3
430
- proto$3.updateTarget = proto$3.setDefaultTarget = function () {
431
- const marginProperty = this.parent.originSide == 'left' ? 'marginLeft' : 'marginRight';
432
- this.target =
433
- this.x +
434
- this.size[marginProperty] +
435
- this.size.width * this.parent.cellAlign;
436
- };
437
- proto$3.renderPosition = function (x) {
438
- // render position of cell with in slider
439
- const side = this.parent.originSide;
440
- this.element.style[side] = this.parent.getPositionValue(x);
441
- };
442
- proto$3.select = function () {
443
- this.element.classList.add('is-selected');
444
- this.element.removeAttribute('aria-hidden');
445
- Array.from(this.element.querySelectorAll('*')).forEach((element) => {
446
- element.removeAttribute('tabindex');
447
- });
448
- };
449
- proto$3.unselect = function () {
450
- this.element.classList.remove('is-selected');
451
- this.element.setAttribute('aria-hidden', 'true');
452
- Array.from(this.element.querySelectorAll('*')).forEach((element) => {
453
- element.setAttribute('tabindex', '-1');
454
- });
455
- };
456
- /**
457
- * @param {Integer} shift - 0, 1, or -1
458
- **/
459
- proto$3.wrapShift = function (shift) {
460
- this.shift = shift;
461
- this.renderPosition(this.x + this.parent.slideableWidth * shift);
462
- };
463
- proto$3.remove = function () {
464
- this.element.parentNode.removeChild(this.element);
465
- };
466
-
467
- function Slide(parent) {
468
- this.parent = parent;
469
- this.isOriginLeft = parent.originSide == 'left';
470
- this.cells = [];
471
- this.outerWidth = 0;
472
- this.height = 0;
473
- }
474
- const proto$2 = Slide.prototype;
475
- proto$2.addCell = function (cell) {
476
- this.cells.push(cell);
477
- this.outerWidth += cell.size.outerWidth;
478
- this.height = Math.max(cell.size.outerHeight, this.height);
479
- // first cell stuff
480
- if (this.cells.length == 1) {
481
- this.x = cell.x; // x comes from first cell
482
- const beginMargin = this.isOriginLeft ? 'marginLeft' : 'marginRight';
483
- this.firstMargin = cell.size[beginMargin];
484
- }
485
- };
486
- proto$2.updateTarget = function () {
487
- const endMargin = this.isOriginLeft ? 'marginRight' : 'marginLeft';
488
- const lastCell = this.getLastCell();
489
- const lastMargin = lastCell ? lastCell.size[endMargin] : 0;
490
- const slideWidth = this.outerWidth - (this.firstMargin + lastMargin);
491
- this.target = this.x + this.firstMargin + slideWidth * this.parent.cellAlign;
492
- };
493
- proto$2.getLastCell = function () {
494
- return this.cells[this.cells.length - 1];
495
- };
496
- proto$2.select = function () {
497
- this.cells.forEach(function (cell) {
498
- cell.select();
499
- });
500
- };
501
- proto$2.unselect = function () {
502
- this.cells.forEach(function (cell) {
503
- cell.unselect();
504
- });
505
- };
506
- proto$2.getCellElements = function () {
507
- return this.cells.map(function (cell) {
508
- return cell.element;
509
- });
510
- };
511
-
512
- const proto$1 = {};
513
- proto$1.startAnimation = function () {
514
- if (this.isAnimating) {
515
- return;
516
- }
517
- this.isAnimating = true;
518
- this.restingFrames = 0;
519
- this.animate();
520
- };
521
- proto$1.animate = function () {
522
- this.applyDragForce();
523
- this.applySelectedAttraction();
524
- const previousX = this.x;
525
- this.integratePhysics();
526
- this.positionSlider();
527
- this.settle(previousX);
528
- // animate next frame
529
- if (this.isAnimating) {
530
- const _this = this;
531
- requestAnimationFrame(function animateFrame() {
532
- _this.animate();
533
- });
534
- }
535
- };
536
- proto$1.positionSlider = function () {
537
- let x = this.x;
538
- // wrap position around
539
- if (this.options.wrapAround && this.cells.length > 1) {
540
- x = utils.modulo(x, this.slideableWidth);
541
- x = x - this.slideableWidth;
542
- this.shiftWrapCells(x);
543
- }
544
- this.setTranslateX(x, this.isAnimating);
545
- this.dispatchScrollEvent();
546
- };
547
- proto$1.setTranslateX = function (x, _is3d) {
548
- x += this.cursorPosition;
549
- // reverse if right-to-left and using transform
550
- x = this.options.rightToLeft ? -x : x;
551
- const translateX = this.getPositionValue(x);
552
- // use 3D tranforms for hardware acceleration on iOS
553
- // but use 2D when settled, for better font-rendering
554
- // this.slider.style.transform = is3d
555
- // ? 'translate3d(' + translateX + ',0,0)'
556
- // : 'translateX(' + translateX + ')';
557
- this.slider.style.transform = 'translate3d(' + translateX + ',0,0)';
558
- };
559
- proto$1.dispatchScrollEvent = function () {
560
- const firstSlide = this.slides[0];
561
- if (!firstSlide) {
562
- return;
563
- }
564
- const positionX = -this.x - firstSlide.target;
565
- const progress = positionX / this.slidesWidth;
566
- this.dispatchEvent('scroll', null, [progress, positionX]);
567
- };
568
- proto$1.positionSliderAtSelected = function () {
569
- if (!this.cells.length) {
570
- return;
571
- }
572
- this.x = -this.selectedSlide.target;
573
- this.velocity = 0; // stop wobble
574
- this.positionSlider();
575
- };
576
- proto$1.getPositionValue = function (position) {
577
- if (this.options.percentPosition) {
578
- // percent position, round to 2 digits, like 12.34%
579
- return Math.round((position / this.size.innerWidth) * 10000) * 0.01 + '%';
580
- }
581
- else {
582
- // pixel positioning
583
- return Math.round(position) + 'px';
584
- }
585
- };
586
- proto$1.settle = function (previousX) {
587
- // keep track of frames where x hasn't moved
588
- if (!this.isPointerDown &&
589
- Math.round(this.x * 100) == Math.round(previousX * 100)) {
590
- this.restingFrames++;
591
- }
592
- // stop animating if resting for 3 or more frames
593
- if (this.restingFrames > 2) {
594
- this.isAnimating = false;
595
- delete this.isFreeScrolling;
596
- // render position with translateX when settled
597
- this.positionSlider();
598
- this.dispatchEvent('settle', null, [this.selectedIndex]);
599
- }
600
- };
601
- proto$1.shiftWrapCells = function (x) {
602
- // shift before cells
603
- const beforeGap = this.cursorPosition + x;
604
- this._shiftCells(this.beforeShiftCells, beforeGap, -1);
605
- // shift after cells
606
- const afterGap = this.size.innerWidth - (x + this.slideableWidth + this.cursorPosition);
607
- this._shiftCells(this.afterShiftCells, afterGap, 1);
608
- };
609
- proto$1._shiftCells = function (cells, gap, shift) {
610
- for (let i = 0; i < cells.length; i++) {
611
- const cell = cells[i];
612
- const cellShift = gap > 0 ? shift : 0;
613
- cell.wrapShift(cellShift);
614
- gap -= cell.size.outerWidth;
615
- }
616
- };
617
- proto$1._unshiftCells = function (cells) {
618
- if (!cells || !cells.length) {
619
- return;
620
- }
621
- for (let i = 0; i < cells.length; i++) {
622
- cells[i].wrapShift(0);
623
- }
624
- };
625
- // -------------------------- physics -------------------------- //
626
- proto$1.integratePhysics = function () {
627
- this.x += this.velocity;
628
- this.velocity *= this.getFrictionFactor();
629
- };
630
- proto$1.applyForce = function (force) {
631
- this.velocity += force;
632
- };
633
- proto$1.getFrictionFactor = function () {
634
- return (1 - this.options[this.isFreeScrolling ? 'freeScrollFriction' : 'friction']);
635
- };
636
- proto$1.getRestingPosition = function () {
637
- // my thanks to Steven Wittens, who simplified this math greatly
638
- return this.x + this.velocity / (1 - this.getFrictionFactor());
639
- };
640
- proto$1.applyDragForce = function () {
641
- if (!this.isDraggable || !this.isPointerDown) {
642
- return;
643
- }
644
- // change the position to drag position by applying force
645
- const dragVelocity = this.dragX - this.x;
646
- const dragForce = dragVelocity - this.velocity;
647
- this.applyForce(dragForce);
648
- };
649
- proto$1.applySelectedAttraction = function () {
650
- // do not attract if pointer down or no slides
651
- const dragDown = this.isDraggable && this.isPointerDown;
652
- if (dragDown || this.isFreeScrolling || !this.slides.length) {
653
- return;
654
- }
655
- const distance = this.selectedSlide.target * -1 - this.x;
656
- const force = distance * this.options.selectedAttraction;
657
- this.applyForce(force);
658
- };
659
- const animatePrototype = proto$1;
660
-
661
- // vars
662
- const getComputedStyle$1 = window.getComputedStyle;
663
- const console$1 = window.console;
664
- function moveElements(elems, toElem) {
665
- elems = utils.makeArray(elems);
666
- while (elems.length) {
667
- toElem.appendChild(elems.shift());
668
- }
669
- }
670
- // -------------------------- Flickity -------------------------- //
671
- // globally unique identifiers
672
- let GUID = 0;
673
- // internal store of all Flickity intances
674
- const instances = {};
675
- function Flickity(element, options) {
676
- const queryElement = utils.getQueryElement(element);
677
- if (!queryElement) {
678
- if (console$1) {
679
- console$1.error('Bad element for Flickity: ' + (queryElement || element));
680
- }
681
- return;
682
- }
683
- this.element = queryElement;
684
- // do not initialize twice on same element
685
- if (this.element.flickityGUID) {
686
- const instance = instances[this.element.flickityGUID];
687
- if (!instances[this.element.flickityGUID])
688
- return;
689
- instance.option(options);
690
- return instance;
691
- }
692
- // options
693
- this.options = utils.extend({}, this.constructor.defaults);
694
- this.option(options);
695
- // kick things off
696
- this._create();
697
- }
698
- Flickity.defaults = {
699
- accessibility: true,
700
- // adaptiveHeight: false,
701
- cellAlign: 'center',
702
- // cellSelector: undefined,
703
- // contain: false,
704
- freeScrollFriction: 0.075, // friction when free-scrolling
705
- friction: 0.28, // friction when selecting
706
- namespaceJQueryEvents: true,
707
- // initialIndex: 0,
708
- percentPosition: true,
709
- resize: true,
710
- selectedAttraction: 0.025,
711
- setGallerySize: true,
712
- // watchCSS: false,
713
- // wrapAround: false
714
- };
715
- // hash of methods triggered on _create()
716
- Flickity.createMethods = [];
717
- const proto = Flickity.prototype;
718
- // inherit EventEmitter
719
- utils.extend(proto, EvEmitter.prototype);
720
- proto._create = function () {
721
- // add id for Flickity.data
722
- const id = (this.guid = ++GUID);
723
- this.element.flickityGUID = id; // expando
724
- instances[id] = this; // associate via id
725
- // initial properties
726
- this.selectedIndex = 0;
727
- // how many frames slider has been in same position
728
- this.restingFrames = 0;
729
- // initial physics properties
730
- this.x = 0;
731
- this.velocity = 0;
732
- this.originSide = this.options.rightToLeft ? 'right' : 'left';
733
- // create viewport & slider
734
- this.viewport = document.createElement('div');
735
- this.viewport.className = 'flickity-viewport';
736
- this.viewport.part.add('slide-viewport');
737
- this._createSlider();
738
- if (this.options.resize || this.options.watchCSS) {
739
- window.addEventListener('resize', this);
740
- }
741
- // add listeners from on option
742
- for (const eventName in this.options.on) {
743
- const listener = this.options.on[eventName];
744
- this.on(eventName, listener);
745
- }
746
- Flickity.createMethods.forEach(function (method) {
747
- this[method]();
748
- }, this);
749
- if (this.options.watchCSS) {
750
- this.watchCSS();
751
- }
752
- else {
753
- this.activate();
754
- }
755
- };
756
- /**
757
- * set options
758
- * @param {Object} opts
759
- */
760
- proto.option = function (opts) {
761
- utils.extend(this.options, opts);
762
- };
763
- proto.activate = function () {
764
- if (this.isActive) {
765
- return;
766
- }
767
- this.isActive = true;
768
- this.element.classList.add('flickity-enabled');
769
- if (this.options.rightToLeft) {
770
- this.element.classList.add('flickity-rtl');
771
- }
772
- this.getSize();
773
- // move initial cell elements so they can be loaded as cells
774
- const cellElems = this.element.children; //this._filterFindCellElements( this.element.children );
775
- moveElements(cellElems, this.slider);
776
- this.viewport.appendChild(this.slider);
777
- this.element.appendChild(this.viewport);
778
- // get cells from children
779
- this.reloadCells();
780
- if (this.options.accessibility) {
781
- // allow element to focusable
782
- this.element.tabIndex = 0;
783
- // listen for key presses
784
- this.element.addEventListener('keydown', this);
785
- }
786
- this.emitEvent('activate');
787
- this.selectInitialIndex();
788
- // flag for initial activation, for using initialIndex
789
- this.isInitActivated = true;
790
- // ready event. #493
791
- this.dispatchEvent('ready');
792
- };
793
- // slider positions the cells
794
- proto._createSlider = function () {
795
- // slider element does all the positioning
796
- const slider = document.createElement('div');
797
- slider.className = 'flickity-slider';
798
- slider.style[this.originSide] = 0;
799
- this.slider = slider;
800
- };
801
- proto._filterFindCellElements = function (elems) {
802
- return utils.filterFindElements(elems, this.options.cellSelector);
803
- };
804
- // goes through all children
805
- proto.reloadCells = function () {
806
- // collection of item elements
807
- this.cells = this._makeCells(this.slider.getRootNode().host
808
- ? this.slider.getRootNode().host.children
809
- : this.slider.children);
810
- this.positionCells();
811
- this._getWrapShiftCells();
812
- this.setGallerySize();
813
- };
814
- /**
815
- * turn elements into Flickity.Cells
816
- * @param {Array or NodeList or HTMLElement} elems
817
- * @returns {Array} items - collection of new Flickity Cells
818
- */
819
- proto._makeCells = function (elems) {
820
- const cellElems = this._filterFindCellElements(elems);
821
- // create new Flickity for collection
822
- const cells = cellElems.map(function (cellElem) {
823
- return new Cell(cellElem, this);
824
- }, this);
825
- return cells;
826
- };
827
- proto.getLastCell = function () {
828
- return this.cells[this.cells.length - 1];
829
- };
830
- proto.getLastSlide = function () {
831
- return this.slides[this.slides.length - 1];
832
- };
833
- // positions all cells
834
- proto.positionCells = function () {
835
- // size all cells
836
- this._sizeCells(this.cells);
837
- // position all cells
838
- this._positionCells(0);
839
- };
840
- /**
841
- * position certain cells
842
- * @param {Integer} index - which cell to start with
843
- */
844
- proto._positionCells = function (index) {
845
- index = index || 0;
846
- // also measure maxCellHeight
847
- // start 0 if positioning all cells
848
- this.maxCellHeight = index ? this.maxCellHeight || 0 : 0;
849
- let cellX = 0;
850
- // get cellX
851
- if (index > 0) {
852
- const startCell = this.cells[index - 1];
853
- cellX = startCell.x + startCell.size.outerWidth;
854
- }
855
- const len = this.cells.length;
856
- for (let i = index; i < len; i++) {
857
- const cell = this.cells[i];
858
- cell.setPosition(cellX);
859
- cellX += cell.size.outerWidth;
860
- this.maxCellHeight = Math.max(cell.size.outerHeight, this.maxCellHeight);
861
- }
862
- // keep track of cellX for wrap-around
863
- this.slideableWidth = cellX;
864
- // slides
865
- this.updateSlides();
866
- // contain slides target
867
- this._containSlides();
868
- // update slidesWidth
869
- this.slidesWidth = len
870
- ? this.getLastSlide().target - this.slides[0].target
871
- : 0;
872
- };
873
- /**
874
- * cell.getSize() on multiple cells
875
- * @param {Array} cells
876
- */
877
- proto._sizeCells = function (cells) {
878
- cells.forEach(function (cell) {
879
- cell.getSize();
880
- });
881
- };
882
- // -------------------------- -------------------------- //
883
- proto.updateSlides = function () {
884
- this.slides = [];
885
- if (!this.cells.length) {
886
- return;
887
- }
888
- let slide = new Slide(this);
889
- this.slides.push(slide);
890
- const isOriginLeft = this.originSide == 'left';
891
- const nextMargin = isOriginLeft ? 'marginRight' : 'marginLeft';
892
- const canCellFit = this._getCanCellFit();
893
- this.cells.forEach(function (cell, i) {
894
- // just add cell if first cell in slide
895
- if (!slide.cells.length) {
896
- slide.addCell(cell);
897
- return;
898
- }
899
- const slideWidth = slide.outerWidth -
900
- slide.firstMargin +
901
- (cell.size.outerWidth - cell.size[nextMargin]);
902
- if (canCellFit.call(this, i, slideWidth)) {
903
- slide.addCell(cell);
904
- }
905
- else {
906
- // doesn't fit, new slide
907
- slide.updateTarget();
908
- slide = new Slide(this);
909
- this.slides.push(slide);
910
- slide.addCell(cell);
911
- }
912
- }, this);
913
- // last slide
914
- slide.updateTarget();
915
- // update .selectedSlide
916
- this.updateSelectedSlide();
917
- };
918
- proto._getCanCellFit = function () {
919
- const groupCells = this.options.groupCells;
920
- if (!groupCells) {
921
- return function () {
922
- return false;
923
- };
924
- }
925
- else if (typeof groupCells == 'number') {
926
- // group by number. 3 -> [0,1,2], [3,4,5], ...
927
- // @ts-ignore
928
- const number = parseInt(groupCells, 10);
929
- return function (i) {
930
- return i % number !== 0;
931
- };
932
- }
933
- // default, group by width of slide
934
- // parse '75%
935
- const percentMatch = typeof groupCells == 'string' && groupCells.match(/^(\d+)%$/);
936
- const percent = percentMatch ? parseInt(percentMatch[1], 10) / 100 : 1;
937
- return function (_i, slideWidth) {
938
- return slideWidth <= (this.size.innerWidth + 1) * percent;
939
- };
940
- };
941
- // alias _init for jQuery plugin .flickity()
942
- proto._init = proto.reposition = function () {
943
- this.positionCells();
944
- this.positionSliderAtSelected();
945
- };
946
- proto.getSize = function () {
947
- this.size = getSize(this.element);
948
- this.setCellAlign();
949
- this.cursorPosition = this.size.innerWidth * this.cellAlign;
950
- };
951
- const cellAlignShorthands = {
952
- // cell align, then based on origin side
953
- center: {
954
- left: 0.5,
955
- right: 0.5,
956
- },
957
- left: {
958
- left: 0,
959
- right: 1,
960
- },
961
- right: {
962
- right: 0,
963
- left: 1,
964
- },
965
- };
966
- proto.setCellAlign = function () {
967
- const shorthand = cellAlignShorthands[this.options.cellAlign];
968
- this.cellAlign = shorthand
969
- ? shorthand[this.originSide]
970
- : this.options.cellAlign;
971
- };
972
- proto.setGallerySize = function () {
973
- if (this.options.setGallerySize) {
974
- const height = this.options.adaptiveHeight && this.selectedSlide
975
- ? this.selectedSlide.height
976
- : this.maxCellHeight;
977
- this.viewport.style.height = height + 'px';
978
- }
979
- };
980
- proto._getWrapShiftCells = function () {
981
- // only for wrap-around
982
- if (!this.options.wrapAround) {
983
- return;
984
- }
985
- // unshift previous cells
986
- this._unshiftCells(this.beforeShiftCells);
987
- this._unshiftCells(this.afterShiftCells);
988
- // get before cells
989
- // initial gap
990
- let gapX = this.cursorPosition;
991
- const cellIndex = this.cells.length - 1;
992
- this.beforeShiftCells = this._getGapCells(gapX, cellIndex, -1);
993
- // get after cells
994
- // ending gap between last cell and end of gallery viewport
995
- gapX = this.size.innerWidth - this.cursorPosition;
996
- // start cloning at first cell, working forwards
997
- this.afterShiftCells = this._getGapCells(gapX, 0, 1);
998
- };
999
- proto._getGapCells = function (gapX, cellIndex, increment) {
1000
- // keep adding cells until the cover the initial gap
1001
- const cells = [];
1002
- while (gapX > 0) {
1003
- const cell = this.cells[cellIndex];
1004
- if (!cell) {
1005
- break;
1006
- }
1007
- cells.push(cell);
1008
- cellIndex += increment;
1009
- gapX -= cell.size.outerWidth;
1010
- }
1011
- return cells;
1012
- };
1013
- // ----- contain ----- //
1014
- // contain cell targets so no excess sliding
1015
- proto._containSlides = function () {
1016
- if (!this.options.contain || this.options.wrapAround || !this.cells.length) {
1017
- return;
1018
- }
1019
- const isRightToLeft = this.options.rightToLeft;
1020
- const beginMargin = isRightToLeft ? 'marginRight' : 'marginLeft';
1021
- const endMargin = isRightToLeft ? 'marginLeft' : 'marginRight';
1022
- const contentWidth = this.slideableWidth - this.getLastCell().size[endMargin];
1023
- // content is less than gallery size
1024
- const isContentSmaller = contentWidth < this.size.innerWidth;
1025
- // bounds
1026
- const beginBound = this.cursorPosition + this.cells[0].size[beginMargin];
1027
- const endBound = contentWidth - this.size.innerWidth * (1 - this.cellAlign);
1028
- // contain each cell target
1029
- this.slides.forEach(function (slide) {
1030
- if (isContentSmaller) {
1031
- // all cells fit inside gallery
1032
- slide.target = contentWidth * this.cellAlign;
1033
- }
1034
- else {
1035
- // contain to bounds
1036
- slide.target = Math.max(slide.target, beginBound);
1037
- slide.target = Math.min(slide.target, endBound);
1038
- }
1039
- }, this);
1040
- };
1041
- // ----- ----- //
1042
- /**
1043
- * emits events via eventEmitter and jQuery events
1044
- * @param {String} type - name of event
1045
- * @param {Event} event - original event
1046
- * @param {Array} args - extra arguments
1047
- */
1048
- proto.dispatchEvent = function (type, event, args) {
1049
- const emitArgs = event ? [event].concat(args) : args;
1050
- this.emitEvent(type, emitArgs);
1051
- };
1052
- // -------------------------- select -------------------------- //
1053
- /**
1054
- * @param {Integer} index - index of the slide
1055
- * @param {Boolean} isWrap - will wrap-around to last/first if at the end
1056
- * @param {Boolean} isInstant - will immediately set position at selected cell
1057
- */
1058
- proto.select = function (index, isWrap, isInstant) {
1059
- if (!this.isActive) {
1060
- return;
1061
- }
1062
- index = parseInt(index, 10);
1063
- this._wrapSelect(index);
1064
- if (this.options.wrapAround || isWrap) {
1065
- index = utils.modulo(index, this.slides.length);
1066
- }
1067
- // bail if invalid index
1068
- if (!this.slides[index]) {
1069
- return;
1070
- }
1071
- const prevIndex = this.selectedIndex;
1072
- this.selectedIndex = index;
1073
- this.updateSelectedSlide();
1074
- if (isInstant) {
1075
- this.positionSliderAtSelected();
1076
- }
1077
- else {
1078
- this.startAnimation();
1079
- }
1080
- if (this.options.adaptiveHeight) {
1081
- this.setGallerySize();
1082
- }
1083
- // events
1084
- this.dispatchEvent('select', null, [index]);
1085
- // change event if new index
1086
- if (index != prevIndex) {
1087
- this.dispatchEvent('change', null, [index]);
1088
- }
1089
- // old v1 event name, remove in v3
1090
- this.dispatchEvent('cellSelect');
1091
- };
1092
- // wraps position for wrapAround, to move to closest slide. #113
1093
- proto._wrapSelect = function (index) {
1094
- const len = this.slides.length;
1095
- const isWrapping = this.options.wrapAround && len > 1;
1096
- if (!isWrapping) {
1097
- return index;
1098
- }
1099
- const wrapIndex = utils.modulo(index, len);
1100
- // go to shortest
1101
- const delta = Math.abs(wrapIndex - this.selectedIndex);
1102
- const backWrapDelta = Math.abs(wrapIndex + len - this.selectedIndex);
1103
- const forewardWrapDelta = Math.abs(wrapIndex - len - this.selectedIndex);
1104
- if (!this.isDragSelect && backWrapDelta < delta) {
1105
- index += len;
1106
- }
1107
- else if (!this.isDragSelect && forewardWrapDelta < delta) {
1108
- index -= len;
1109
- }
1110
- // wrap position so slider is within normal area
1111
- if (index < 0) {
1112
- this.x -= this.slideableWidth;
1113
- }
1114
- else if (index >= len) {
1115
- this.x += this.slideableWidth;
1116
- }
1117
- };
1118
- proto.previous = function (isWrap, isInstant) {
1119
- this.select(this.selectedIndex - 1, isWrap, isInstant);
1120
- };
1121
- proto.next = function (isWrap, isInstant) {
1122
- this.select(this.selectedIndex + 1, isWrap, isInstant);
1123
- };
1124
- proto.updateSelectedSlide = function () {
1125
- const slide = this.slides[this.selectedIndex];
1126
- // selectedIndex could be outside of slides, if triggered before resize()
1127
- if (!slide) {
1128
- return;
1129
- }
1130
- // unselect previous selected slide
1131
- this.unselectSelectedSlide();
1132
- // update new selected slide
1133
- this.selectedSlide = slide;
1134
- slide.select();
1135
- this.selectedCells = slide.cells;
1136
- this.selectedElements = slide.getCellElements();
1137
- // HACK: selectedCell & selectedElement is first cell in slide, backwards compatibility
1138
- // Remove in v3?
1139
- this.selectedCell = slide.cells[0];
1140
- this.selectedElement = this.selectedElements[0];
1141
- };
1142
- proto.unselectSelectedSlide = function () {
1143
- if (this.selectedSlide) {
1144
- this.selectedSlide.unselect();
1145
- }
1146
- };
1147
- proto.selectInitialIndex = function () {
1148
- const initialIndex = this.options.initialIndex;
1149
- // already activated, select previous selectedIndex
1150
- if (this.isInitActivated) {
1151
- this.select(this.selectedIndex, false, true);
1152
- return;
1153
- }
1154
- // select with selector string
1155
- if (initialIndex && typeof initialIndex == 'string') {
1156
- const cell = this.queryCell(initialIndex);
1157
- if (cell) {
1158
- this.selectCell(initialIndex, false, true);
1159
- return;
1160
- }
1161
- }
1162
- let index = 0;
1163
- // select with number
1164
- if (initialIndex && this.slides[initialIndex]) {
1165
- index = initialIndex;
1166
- }
1167
- // select instantly
1168
- this.select(index, false, true);
1169
- };
1170
- /**
1171
- * select slide from number or cell element
1172
- * @param {Element or Number} elem
1173
- * @param { Boolean } isWrap
1174
- * @param { Boolean } isInstant
1175
- */
1176
- proto.selectCell = function (elem, isWrap, isInstant) {
1177
- // get cell
1178
- const cell = this.queryCell(elem);
1179
- if (!cell) {
1180
- return;
1181
- }
1182
- const index = this.getCellSlideIndex(cell);
1183
- this.select(index, isWrap, isInstant);
1184
- };
1185
- proto.getCellSlideIndex = function (cell) {
1186
- // get index of slides that has cell
1187
- for (let i = 0; i < this.slides.length; i++) {
1188
- const slide = this.slides[i];
1189
- const index = slide.cells.indexOf(cell);
1190
- if (index != -1) {
1191
- return i;
1192
- }
1193
- }
1194
- };
1195
- // -------------------------- get cells -------------------------- //
1196
- /**
1197
- * get Flickity.Cell, given an Element
1198
- * @param {Element} elem
1199
- * @returns found flickity cell
1200
- */
1201
- proto.getCell = function (elem) {
1202
- // loop through cells to get the one that matches
1203
- for (let i = 0; i < this.cells.length; i++) {
1204
- const cell = this.cells[i];
1205
- if (cell.element == elem) {
1206
- return cell;
1207
- }
1208
- }
1209
- };
1210
- /**
1211
- * get collection of Flickity.Cells, given Elements
1212
- * @param {Element, Array, NodeList} elems
1213
- * @returns {Array} cells - Flickity.Cells
1214
- */
1215
- proto.getCells = function (elems) {
1216
- elems = utils.makeArray(elems);
1217
- const cells = [];
1218
- elems.forEach(function (elem) {
1219
- const cell = this.getCell(elem);
1220
- if (cell) {
1221
- cells.push(cell);
1222
- }
1223
- }, this);
1224
- return cells;
1225
- };
1226
- /**
1227
- * get cell elements
1228
- * @returns {Array} cellElems
1229
- */
1230
- proto.getCellElements = function () {
1231
- return this.cells.map(function (cell) {
1232
- return cell.element;
1233
- });
1234
- };
1235
- /**
1236
- * get parent cell from an element
1237
- * @param {Element} elem
1238
- * @returns {Flickit.Cell} cell
1239
- */
1240
- proto.getParentCell = function (elem) {
1241
- // first check if elem is cell
1242
- const cell = this.getCell(elem);
1243
- if (cell) {
1244
- return cell;
1245
- }
1246
- // try to get parent cell elem
1247
- elem = utils.getParent(elem, '.flickity-slider > *');
1248
- return this.getCell(elem);
1249
- };
1250
- /**
1251
- * get cells adjacent to a slide
1252
- * @param {Integer} adjCount - number of adjacent slides
1253
- * @param {Integer} index - index of slide to start
1254
- * @returns {Array} cells - array of Flickity.Cells
1255
- */
1256
- proto.getAdjacentCellElements = function (adjCount, index) {
1257
- if (!adjCount) {
1258
- return this.selectedSlide.getCellElements();
1259
- }
1260
- index = index === undefined ? this.selectedIndex : index;
1261
- const len = this.slides.length;
1262
- if (1 + adjCount * 2 >= len) {
1263
- return this.getCellElements();
1264
- }
1265
- let cellElems = [];
1266
- for (let i = index - adjCount; i <= index + adjCount; i++) {
1267
- const slideIndex = this.options.wrapAround ? utils.modulo(i, len) : i;
1268
- const slide = this.slides[slideIndex];
1269
- if (slide) {
1270
- cellElems = cellElems.concat(slide.getCellElements());
1271
- }
1272
- }
1273
- return cellElems;
1274
- };
1275
- /**
1276
- * select slide from number or cell element
1277
- * @param {Element, Selector String, or Number} selector
1278
- * @returns {Flickity.Cell} found flickity cell
1279
- */
1280
- proto.queryCell = function (selector) {
1281
- if (typeof selector == 'number') {
1282
- // use number as index
1283
- return this.cells[selector];
1284
- }
1285
- if (typeof selector == 'string') {
1286
- // do not select invalid selectors from hash: #123, #/. #791
1287
- if (selector.match(/^[#\.]?[\d\/]/)) {
1288
- return;
1289
- }
1290
- // use string as selector, get element
1291
- selector = this.element.querySelector(selector);
1292
- }
1293
- // get cell from element
1294
- return this.getCell(selector);
1295
- };
1296
- // -------------------------- events -------------------------- //
1297
- proto.uiChange = function () {
1298
- this.emitEvent('uiChange');
1299
- };
1300
- // keep focus on element when child UI elements are clicked
1301
- proto.childUIPointerDown = function (event) {
1302
- // HACK iOS does not allow touch events to bubble up?!
1303
- if (event.type != 'touchstart') {
1304
- event.preventDefault();
1305
- }
1306
- this.focus();
1307
- };
1308
- // ----- resize ----- //
1309
- proto.onresize = function () {
1310
- this.watchCSS();
1311
- this.resize();
1312
- };
1313
- utils.debounceMethod(Flickity, 'onresize', 150);
1314
- proto.resize = function () {
1315
- if (!this.isActive) {
1316
- return;
1317
- }
1318
- this.getSize();
1319
- // wrap values
1320
- if (this.options.wrapAround) {
1321
- this.x = utils.modulo(this.x, this.slideableWidth);
1322
- }
1323
- this.positionCells();
1324
- this._getWrapShiftCells();
1325
- this.setGallerySize();
1326
- this.emitEvent('resize');
1327
- // update selected index for group slides, instant
1328
- // TODO: position can be lost between groups of various numbers
1329
- const selectedElement = this.selectedElements && this.selectedElements[0];
1330
- this.selectCell(selectedElement, false, true);
1331
- };
1332
- // watches the :after property, activates/deactivates
1333
- proto.watchCSS = function () {
1334
- const watchOption = this.options.watchCSS;
1335
- if (!watchOption) {
1336
- return;
1337
- }
1338
- const afterContent = getComputedStyle$1(this.element, ':after').content;
1339
- // activate if :after { content: 'flickity' }
1340
- if (afterContent.indexOf('flickity') != -1) {
1341
- this.activate();
1342
- }
1343
- else {
1344
- this.deactivate();
1345
- }
1346
- };
1347
- // ----- keydown ----- //
1348
- // go previous/next if left/right keys pressed
1349
- proto.onkeydown = function (event) {
1350
- // only work if element is in focus
1351
- const isNotFocused = document.activeElement && document.activeElement != this.element;
1352
- if (!this.options.accessibility || isNotFocused) {
1353
- return;
1354
- }
1355
- const handler = Flickity.keyboardHandlers[event.keyCode];
1356
- if (handler) {
1357
- handler.call(this);
1358
- }
1359
- };
1360
- Flickity.keyboardHandlers = {
1361
- // left arrow
1362
- 37: function () {
1363
- const leftMethod = this.options.rightToLeft ? 'next' : 'previous';
1364
- this.uiChange();
1365
- this[leftMethod]();
1366
- },
1367
- // right arrow
1368
- 39: function () {
1369
- const rightMethod = this.options.rightToLeft ? 'previous' : 'next';
1370
- this.uiChange();
1371
- this[rightMethod]();
1372
- },
1373
- };
1374
- // ----- focus ----- //
1375
- proto.focus = function () {
1376
- // TODO remove scrollTo once focus options gets more support
1377
- // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#Browser_compatibility
1378
- const prevScrollY = window.pageYOffset;
1379
- this.element.focus({ preventScroll: true });
1380
- // hack to fix scroll jump after focus, #76
1381
- if (window.pageYOffset != prevScrollY) {
1382
- window.scrollTo(window.pageXOffset, prevScrollY);
1383
- }
1384
- };
1385
- // -------------------------- destroy -------------------------- //
1386
- // deactivate all Flickity functionality, but keep stuff available
1387
- proto.deactivate = function () {
1388
- if (!this.isActive) {
1389
- return;
1390
- }
1391
- this.element.classList.remove('flickity-enabled');
1392
- this.element.classList.remove('flickity-rtl');
1393
- this.unselectSelectedSlide();
1394
- // destroy cells
1395
- this.cells.forEach(function (cell) {
1396
- cell.destroy();
1397
- });
1398
- this.element.removeChild(this.viewport);
1399
- // move child elements back into element
1400
- moveElements(this.slider.children, this.element);
1401
- if (this.options.accessibility) {
1402
- this.element.removeAttribute('tabIndex');
1403
- this.element.removeEventListener('keydown', this);
1404
- }
1405
- // set flags
1406
- this.isActive = false;
1407
- this.emitEvent('deactivate');
1408
- };
1409
- proto.destroy = function () {
1410
- this.deactivate();
1411
- window.removeEventListener('resize', this);
1412
- this.allOff();
1413
- this.emitEvent('destroy');
1414
- delete this.element.flickityGUID;
1415
- delete instances[this.guid];
1416
- };
1417
- // -------------------------- prototype -------------------------- //
1418
- utils.extend(proto, animatePrototype);
1419
- // -------------------------- extras -------------------------- //
1420
- /**
1421
- * get Flickity instance from element
1422
- * @param {Element} elem
1423
- * @returns {Flickity} Flickity instance
1424
- */
1425
- Flickity.data = function (elem) {
1426
- elem = utils.getQueryElement(elem);
1427
- const id = elem && elem.flickityGUID;
1428
- return id && instances[id];
1429
- };
1430
- utils.htmlInit(Flickity, 'flickity');
1431
- Flickity.Cell = Cell;
1432
- Flickity.Slide = Slide;
1433
-
1434
- /*!
1435
- * Unipointer v2.4.0
1436
- * base class for doing one thing with pointer event
1437
- * MIT license
1438
- */
1439
- function noop() { }
1440
- function Unipointer() { }
1441
- // inherit EvEmitter
1442
- const pointerProto = (Unipointer.prototype = Object.create(EvEmitter.prototype));
1443
- pointerProto.bindStartEvent = function (elem) {
1444
- this._bindStartEvent(elem, true);
1445
- };
1446
- pointerProto.unbindStartEvent = function (elem) {
1447
- this._bindStartEvent(elem, false);
1448
- };
1449
- /**
1450
- * Add or remove start event
1451
- * @param {Element} elem
1452
- * @param {Boolean} isAdd - remove if falsey
1453
- */
1454
- pointerProto._bindStartEvent = function (elem, isAdd) {
1455
- // munge isAdd, default to true
1456
- isAdd = isAdd === undefined ? true : isAdd;
1457
- const bindMethod = isAdd ? 'addEventListener' : 'removeEventListener';
1458
- // default to mouse events
1459
- let startEvent = 'mousedown';
1460
- if ('ontouchstart' in window) {
1461
- // HACK prefer Touch Events as you can preventDefault on touchstart to
1462
- // disable scroll in iOS & mobile Chrome metafizzy/flickity#1177
1463
- startEvent = 'touchstart';
1464
- }
1465
- else if (window.PointerEvent) {
1466
- // Pointer Events
1467
- startEvent = 'pointerdown';
1468
- }
1469
- elem[bindMethod](startEvent, this);
1470
- };
1471
- // trigger handler methods for events
1472
- pointerProto.handleEvent = function (event) {
1473
- const method = 'on' + event.type;
1474
- if (this[method]) {
1475
- this[method](event);
1476
- }
1477
- };
1478
- // returns the touch that we're keeping track of
1479
- pointerProto.getTouch = function (touches) {
1480
- for (let i = 0; i < touches.length; i++) {
1481
- const touch = touches[i];
1482
- if (touch.identifier == this.pointerIdentifier) {
1483
- return touch;
1484
- }
1485
- }
1486
- };
1487
- // ----- start event ----- //
1488
- pointerProto.onmousedown = function (event) {
1489
- // dismiss clicks from right or middle buttons
1490
- const button = event.button;
1491
- if (button && button !== 0 && button !== 1) {
1492
- return;
1493
- }
1494
- this._pointerDown(event, event);
1495
- };
1496
- pointerProto.ontouchstart = function (event) {
1497
- this._pointerDown(event, event.changedTouches[0]);
1498
- };
1499
- pointerProto.onpointerdown = function (event) {
1500
- this._pointerDown(event, event);
1501
- };
1502
- /**
1503
- * pointer start
1504
- * @param {Event} event
1505
- * @param {Event or Touch} pointer
1506
- */
1507
- pointerProto._pointerDown = function (event, pointer) {
1508
- // dismiss right click and other pointers
1509
- // button = 0 is okay, 1-4 not
1510
- if (event.button || this.isPointerDown) {
1511
- return;
1512
- }
1513
- this.isPointerDown = true;
1514
- // save pointer identifier to match up touch events
1515
- this.pointerIdentifier =
1516
- pointer.pointerId !== undefined
1517
- ? // pointerId for pointer events, touch.indentifier for touch events
1518
- pointer.pointerId
1519
- : pointer.identifier;
1520
- this.pointerDown(event, pointer);
1521
- };
1522
- pointerProto.pointerDown = function (event, pointer) {
1523
- this._bindPostStartEvents(event);
1524
- this.emitEvent('pointerDown', [event, pointer]);
1525
- };
1526
- // hash of events to be bound after start event
1527
- const postStartEvents = {
1528
- mousedown: ['mousemove', 'mouseup'],
1529
- touchstart: ['touchmove', 'touchend', 'touchcancel'],
1530
- pointerdown: ['pointermove', 'pointerup', 'pointercancel'],
1531
- };
1532
- pointerProto._bindPostStartEvents = function (event) {
1533
- if (!event) {
1534
- return;
1535
- }
1536
- // get proper events to match start event
1537
- const events = postStartEvents[event.type];
1538
- // bind events to node
1539
- events.forEach(function (eventName) {
1540
- window.addEventListener(eventName, this);
1541
- }, this);
1542
- // save these arguments
1543
- this._boundPointerEvents = events;
1544
- };
1545
- pointerProto._unbindPostStartEvents = function () {
1546
- // check for _boundEvents, in case dragEnd triggered twice (old IE8 bug)
1547
- if (!this._boundPointerEvents) {
1548
- return;
1549
- }
1550
- this._boundPointerEvents.forEach(function (eventName) {
1551
- window.removeEventListener(eventName, this);
1552
- }, this);
1553
- delete this._boundPointerEvents;
1554
- };
1555
- // ----- move event ----- //
1556
- pointerProto.onmousemove = function (event) {
1557
- this._pointerMove(event, event);
1558
- };
1559
- pointerProto.onpointermove = function (event) {
1560
- if (event.pointerId == this.pointerIdentifier) {
1561
- this._pointerMove(event, event);
1562
- }
1563
- };
1564
- pointerProto.ontouchmove = function (event) {
1565
- const touch = this.getTouch(event.changedTouches);
1566
- if (touch) {
1567
- this._pointerMove(event, touch);
1568
- }
1569
- };
1570
- /**
1571
- * pointer move
1572
- * @param {Event} event
1573
- * @param {Event or Touch} pointer
1574
- * @private
1575
- */
1576
- pointerProto._pointerMove = function (event, pointer) {
1577
- this.pointerMove(event, pointer);
1578
- };
1579
- // public
1580
- pointerProto.pointerMove = function (event, pointer) {
1581
- this.emitEvent('pointerMove', [event, pointer]);
1582
- };
1583
- // ----- end event ----- //
1584
- pointerProto.onmouseup = function (event) {
1585
- this._pointerUp(event, event);
1586
- };
1587
- pointerProto.onpointerup = function (event) {
1588
- if (event.pointerId == this.pointerIdentifier) {
1589
- this._pointerUp(event, event);
1590
- }
1591
- };
1592
- pointerProto.ontouchend = function (event) {
1593
- const touch = this.getTouch(event.changedTouches);
1594
- if (touch) {
1595
- this._pointerUp(event, touch);
1596
- }
1597
- };
1598
- /**
1599
- * pointer up
1600
- * @param {Event} event
1601
- * @param {Event or Touch} pointer
1602
- * @private
1603
- */
1604
- pointerProto._pointerUp = function (event, pointer) {
1605
- this._pointerDone();
1606
- this.pointerUp(event, pointer);
1607
- };
1608
- // public
1609
- pointerProto.pointerUp = function (event, pointer) {
1610
- this.emitEvent('pointerUp', [event, pointer]);
1611
- };
1612
- // ----- pointer done ----- //
1613
- // triggered on pointer up & pointer cancel
1614
- pointerProto._pointerDone = function () {
1615
- this._pointerReset();
1616
- this._unbindPostStartEvents();
1617
- this.pointerDone();
1618
- };
1619
- pointerProto._pointerReset = function () {
1620
- // reset properties
1621
- this.isPointerDown = false;
1622
- delete this.pointerIdentifier;
1623
- };
1624
- pointerProto.pointerDone = noop;
1625
- // ----- pointer cancel ----- //
1626
- pointerProto.onpointercancel = function (event) {
1627
- if (event.pointerId == this.pointerIdentifier) {
1628
- this._pointerCancel(event, event);
1629
- }
1630
- };
1631
- pointerProto.ontouchcancel = function (event) {
1632
- const touch = this.getTouch(event.changedTouches);
1633
- if (touch) {
1634
- this._pointerCancel(event, touch);
1635
- }
1636
- };
1637
- /**
1638
- * pointer cancel
1639
- * @param {Event} event
1640
- * @param {Event or Touch} pointer
1641
- * @private
1642
- */
1643
- pointerProto._pointerCancel = function (event, pointer) {
1644
- this._pointerDone();
1645
- this.pointerCancel(event, pointer);
1646
- };
1647
- // public
1648
- pointerProto.pointerCancel = function (event, pointer) {
1649
- this.emitEvent('pointerCancel', [event, pointer]);
1650
- };
1651
- // ----- ----- //
1652
- // utility function for getting x/y coords from event
1653
- Unipointer.getPointerPoint = function (pointer) {
1654
- return {
1655
- x: pointer.pageX,
1656
- y: pointer.pageY,
1657
- };
1658
- };
1659
- /*!
1660
- * Unidragger v2.4.0
1661
- * Draggable base class
1662
- * MIT license
1663
- */
1664
- function Unidragger() { }
1665
- // inherit Unipointer & EvEmitter
1666
- const draggerProto = (Unidragger.prototype = Object.create(Unipointer.prototype));
1667
- // ----- bind start ----- //
1668
- draggerProto.bindHandles = function () {
1669
- this._bindHandles(true);
1670
- };
1671
- draggerProto.unbindHandles = function () {
1672
- this._bindHandles(false);
1673
- };
1674
- /**
1675
- * Add or remove start event
1676
- * @param {Boolean} isAdd
1677
- */
1678
- draggerProto._bindHandles = function (isAdd) {
1679
- // munge isAdd, default to true
1680
- isAdd = isAdd === undefined ? true : isAdd;
1681
- // bind each handle
1682
- const bindMethod = isAdd ? 'addEventListener' : 'removeEventListener';
1683
- const touchAction = isAdd ? this._touchActionValue : '';
1684
- for (let i = 0; i < this.handles.length; i++) {
1685
- const handle = this.handles[i];
1686
- this._bindStartEvent(handle, isAdd);
1687
- handle[bindMethod]('click', this);
1688
- // touch-action: none to override browser touch gestures. metafizzy/flickity#540
1689
- if (window.PointerEvent) {
1690
- handle.style.touchAction = touchAction;
1691
- }
1692
- }
1693
- };
1694
- // prototype so it can be overwriteable by Flickity
1695
- draggerProto._touchActionValue = 'none';
1696
- // ----- start event ----- //
1697
- /**
1698
- * pointer start
1699
- * @param {Event} event
1700
- * @param {Event or Touch} pointer
1701
- */
1702
- draggerProto.pointerDown = function (event, pointer) {
1703
- const isOkay = this.okayPointerDown(event);
1704
- if (!isOkay) {
1705
- return;
1706
- }
1707
- // track start event position
1708
- // Safari 9 overrides pageX and pageY. These values needs to be copied. flickity#842
1709
- this.pointerDownPointer = {
1710
- pageX: pointer.pageX,
1711
- pageY: pointer.pageY,
1712
- };
1713
- event.preventDefault();
1714
- this.pointerDownBlur();
1715
- // bind move and end events
1716
- this._bindPostStartEvents(event);
1717
- this.emitEvent('pointerDown', [event, pointer]);
1718
- };
1719
- // nodes that have text fields
1720
- const cursorNodes = {
1721
- TEXTAREA: true,
1722
- INPUT: true,
1723
- SELECT: true,
1724
- OPTION: true,
1725
- };
1726
- // input types that do not have text fields
1727
- const clickTypes = {
1728
- radio: true,
1729
- checkbox: true,
1730
- button: true,
1731
- submit: true,
1732
- image: true,
1733
- file: true,
1734
- };
1735
- // dismiss inputs with text fields. flickity#403, flickity#404
1736
- draggerProto.okayPointerDown = function (event) {
1737
- const isCursorNode = cursorNodes[event.target.nodeName];
1738
- const isClickType = clickTypes[event.target.type];
1739
- const isOkay = !isCursorNode || isClickType;
1740
- if (!isOkay) {
1741
- this._pointerReset();
1742
- }
1743
- return isOkay;
1744
- };
1745
- // kludge to blur previously focused input
1746
- draggerProto.pointerDownBlur = function () {
1747
- const focused = document.activeElement;
1748
- // do not blur body for IE10, metafizzy/flickity#117
1749
- const canBlur = focused && focused.blur && focused != document.body;
1750
- if (canBlur) {
1751
- focused.blur();
1752
- }
1753
- };
1754
- // ----- move event ----- //
1755
- /**
1756
- * drag move
1757
- * @param {Event} event
1758
- * @param {Event or Touch} pointer
1759
- */
1760
- draggerProto.pointerMove = function (event, pointer) {
1761
- const moveVector = this._dragPointerMove(event, pointer);
1762
- this.emitEvent('pointerMove', [event, pointer, moveVector]);
1763
- this._dragMove(event, pointer, moveVector);
1764
- };
1765
- // base pointer move logic
1766
- draggerProto._dragPointerMove = function (event, pointer) {
1767
- const moveVector = {
1768
- x: pointer.pageX - this.pointerDownPointer.pageX,
1769
- y: pointer.pageY - this.pointerDownPointer.pageY,
1770
- };
1771
- // start drag if pointer has moved far enough to start drag
1772
- if (!this.isDragging && this.hasDragStarted(moveVector)) {
1773
- this._dragStart(event, pointer);
1774
- }
1775
- return moveVector;
1776
- };
1777
- // condition if pointer has moved far enough to start drag
1778
- draggerProto.hasDragStarted = function (moveVector) {
1779
- return Math.abs(moveVector.x) > 3 || Math.abs(moveVector.y) > 3;
1780
- };
1781
- // ----- end event ----- //
1782
- /**
1783
- * pointer up
1784
- * @param {Event} event
1785
- * @param {Event or Touch} pointer
1786
- */
1787
- draggerProto.pointerUp = function (event, pointer) {
1788
- this.emitEvent('pointerUp', [event, pointer]);
1789
- this._dragPointerUp(event, pointer);
1790
- };
1791
- draggerProto._dragPointerUp = function (event, pointer) {
1792
- if (this.isDragging) {
1793
- this._dragEnd(event, pointer);
1794
- }
1795
- else {
1796
- // pointer didn't move enough for drag to start
1797
- this._staticClick(event, pointer);
1798
- }
1799
- };
1800
- // -------------------------- drag -------------------------- //
1801
- // dragStart
1802
- draggerProto._dragStart = function (event, pointer) {
1803
- this.isDragging = true;
1804
- // prevent clicks
1805
- this.isPreventingClicks = true;
1806
- this.dragStart(event, pointer);
1807
- };
1808
- draggerProto.dragStart = function (event, pointer) {
1809
- this.emitEvent('dragStart', [event, pointer]);
1810
- };
1811
- // dragMove
1812
- draggerProto._dragMove = function (event, pointer, moveVector) {
1813
- // do not drag if not dragging yet
1814
- if (!this.isDragging) {
1815
- return;
1816
- }
1817
- this.dragMove(event, pointer, moveVector);
1818
- };
1819
- draggerProto.dragMove = function (event, pointer, moveVector) {
1820
- event.preventDefault();
1821
- this.emitEvent('dragMove', [event, pointer, moveVector]);
1822
- };
1823
- // dragEnd
1824
- draggerProto._dragEnd = function (event, pointer) {
1825
- // set flags
1826
- this.isDragging = false;
1827
- // re-enable clicking async
1828
- setTimeout(function () {
1829
- delete this.isPreventingClicks;
1830
- }.bind(this));
1831
- this.dragEnd(event, pointer);
1832
- };
1833
- draggerProto.dragEnd = function (event, pointer) {
1834
- this.emitEvent('dragEnd', [event, pointer]);
1835
- };
1836
- // ----- onclick ----- //
1837
- // handle all clicks and prevent clicks when dragging
1838
- draggerProto.onclick = function (event) {
1839
- if (this.isPreventingClicks) {
1840
- event.preventDefault();
1841
- }
1842
- };
1843
- // ----- staticClick ----- //
1844
- // triggered after pointer down & up with no/tiny movement
1845
- draggerProto._staticClick = function (event, pointer) {
1846
- // ignore emulated mouse up clicks
1847
- if (this.isIgnoringMouseUp && event.type == 'mouseup') {
1848
- return;
1849
- }
1850
- this.staticClick(event, pointer);
1851
- // set flag for emulated clicks 300ms after touchend
1852
- if (event.type != 'mouseup') {
1853
- this.isIgnoringMouseUp = true;
1854
- // reset flag after 300ms
1855
- setTimeout(function () {
1856
- delete this.isIgnoringMouseUp;
1857
- }.bind(this), 400);
1858
- }
1859
- };
1860
- draggerProto.staticClick = function (event, pointer) {
1861
- this.emitEvent('staticClick', [event, pointer]);
1862
- };
1863
- // ----- utils ----- //
1864
- Unidragger.getPointerPoint = Unipointer.getPointerPoint;
1865
-
1866
- const drag = () => {
1867
- // ----- defaults ----- //
1868
- utils.extend(Flickity.defaults, {
1869
- draggable: '>1',
1870
- dragThreshold: 3,
1871
- });
1872
- // ----- create ----- //
1873
- Flickity.createMethods.push('_createDrag');
1874
- // -------------------------- drag prototype -------------------------- //
1875
- const proto = Flickity.prototype;
1876
- utils.extend(proto, Unidragger.prototype);
1877
- proto._touchActionValue = 'pan-y';
1878
- // -------------------------- -------------------------- //
1879
- const isTouch = 'createTouch' in document;
1880
- let isTouchmoveScrollCanceled = false;
1881
- proto._createDrag = function () {
1882
- this.on('activate', this.onActivateDrag);
1883
- this.on('uiChange', this._uiChangeDrag);
1884
- this.on('deactivate', this.onDeactivateDrag);
1885
- this.on('cellChange', this.updateDraggable);
1886
- // TODO updateDraggable on resize? if groupCells & slides change
1887
- // HACK - add seemingly innocuous handler to fix iOS 10 scroll behavior
1888
- // #457, RubaXa/Sortable#973
1889
- if (isTouch && !isTouchmoveScrollCanceled) {
1890
- window.addEventListener('touchmove', function () { });
1891
- isTouchmoveScrollCanceled = true;
1892
- }
1893
- };
1894
- proto.onActivateDrag = function () {
1895
- this.handles = [this.viewport];
1896
- this.bindHandles();
1897
- this.updateDraggable();
1898
- };
1899
- proto.onDeactivateDrag = function () {
1900
- this.unbindHandles();
1901
- this.element.classList.remove('is-draggable');
1902
- };
1903
- proto.updateDraggable = function () {
1904
- // disable dragging if less than 2 slides. #278
1905
- if (this.options.draggable == '>1') {
1906
- this.isDraggable = this.slides.length > 1;
1907
- }
1908
- else {
1909
- this.isDraggable = this.options.draggable;
1910
- }
1911
- if (this.isDraggable) {
1912
- this.element.classList.add('is-draggable');
1913
- }
1914
- else {
1915
- this.element.classList.remove('is-draggable');
1916
- }
1917
- };
1918
- // backwards compatibility
1919
- proto.bindDrag = function () {
1920
- this.options.draggable = true;
1921
- this.updateDraggable();
1922
- };
1923
- proto.unbindDrag = function () {
1924
- this.options.draggable = false;
1925
- this.updateDraggable();
1926
- };
1927
- proto._uiChangeDrag = function () {
1928
- delete this.isFreeScrolling;
1929
- };
1930
- // -------------------------- pointer events -------------------------- //
1931
- proto.pointerDown = function (event, pointer) {
1932
- if (!this.isDraggable) {
1933
- this._pointerDownDefault(event, pointer);
1934
- return;
1935
- }
1936
- const isOkay = this.okayPointerDown(event);
1937
- if (!isOkay) {
1938
- return;
1939
- }
1940
- this._pointerDownPreventDefault(event);
1941
- this.pointerDownFocus(event);
1942
- // blur
1943
- if (document.activeElement != this.element) {
1944
- // do not blur if already focused
1945
- this.pointerDownBlur();
1946
- }
1947
- // stop if it was moving
1948
- this.dragX = this.x;
1949
- this.viewport.classList.add('is-pointer-down');
1950
- // track scrolling
1951
- this.pointerDownScroll = getScrollPosition();
1952
- window.addEventListener('scroll', this);
1953
- this._pointerDownDefault(event, pointer);
1954
- };
1955
- // default pointerDown logic, used for staticClick
1956
- proto._pointerDownDefault = function (event, pointer) {
1957
- // track start event position
1958
- // Safari 9 overrides pageX and pageY. These values needs to be copied. #779
1959
- this.pointerDownPointer = {
1960
- pageX: pointer.pageX,
1961
- pageY: pointer.pageY,
1962
- };
1963
- // bind move and end events
1964
- this._bindPostStartEvents(event);
1965
- this.dispatchEvent('pointerDown', event, [pointer]);
1966
- };
1967
- const focusNodes = {
1968
- INPUT: true,
1969
- TEXTAREA: true,
1970
- SELECT: true,
1971
- };
1972
- proto.pointerDownFocus = function (event) {
1973
- const isFocusNode = focusNodes[event.target.nodeName];
1974
- if (!isFocusNode) {
1975
- this.focus();
1976
- }
1977
- };
1978
- proto._pointerDownPreventDefault = function (event) {
1979
- const isTouchStart = event.type == 'touchstart';
1980
- const isTouchPointer = event.pointerType == 'touch';
1981
- const isFocusNode = focusNodes[event.target.nodeName];
1982
- if (!isTouchStart && !isTouchPointer && !isFocusNode) {
1983
- event.preventDefault();
1984
- }
1985
- };
1986
- // ----- move ----- //
1987
- proto.hasDragStarted = function (moveVector) {
1988
- return Math.abs(moveVector.x) > this.options.dragThreshold;
1989
- };
1990
- // ----- up ----- //
1991
- proto.pointerUp = function (event, pointer) {
1992
- delete this.isTouchScrolling;
1993
- this.viewport.classList.remove('is-pointer-down');
1994
- this.dispatchEvent('pointerUp', event, [pointer]);
1995
- this._dragPointerUp(event, pointer);
1996
- };
1997
- proto.pointerDone = function () {
1998
- window.removeEventListener('scroll', this);
1999
- delete this.pointerDownScroll;
2000
- };
2001
- // -------------------------- dragging -------------------------- //
2002
- proto.dragStart = function (event, pointer) {
2003
- if (!this.isDraggable) {
2004
- return;
2005
- }
2006
- this.dragStartPosition = this.x;
2007
- this.startAnimation();
2008
- window.removeEventListener('scroll', this);
2009
- this.dispatchEvent('dragStart', event, [pointer]);
2010
- };
2011
- proto.pointerMove = function (event, pointer) {
2012
- const moveVector = this._dragPointerMove(event, pointer);
2013
- this.dispatchEvent('pointerMove', event, [pointer, moveVector]);
2014
- this._dragMove(event, pointer, moveVector);
2015
- };
2016
- proto.dragMove = function (event, pointer, moveVector) {
2017
- if (!this.isDraggable) {
2018
- return;
2019
- }
2020
- event.preventDefault();
2021
- this.previousDragX = this.dragX;
2022
- // reverse if right-to-left
2023
- const direction = this.options.rightToLeft ? -1 : 1;
2024
- if (this.options.wrapAround) {
2025
- // wrap around move. #589
2026
- moveVector.x = moveVector.x % this.slideableWidth;
2027
- }
2028
- let dragX = this.dragStartPosition + moveVector.x * direction;
2029
- if (!this.options.wrapAround && this.slides.length) {
2030
- // slow drag
2031
- const originBound = Math.max(-this.slides[0].target, this.dragStartPosition);
2032
- dragX = dragX > originBound ? (dragX + originBound) * 0.5 : dragX;
2033
- const endBound = Math.min(-this.getLastSlide().target, this.dragStartPosition);
2034
- dragX = dragX < endBound ? (dragX + endBound) * 0.5 : dragX;
2035
- }
2036
- this.dragX = dragX;
2037
- this.dragMoveTime = new Date();
2038
- this.dispatchEvent('dragMove', event, [pointer, moveVector]);
2039
- };
2040
- proto.dragEnd = function (event, pointer) {
2041
- if (!this.isDraggable) {
2042
- return;
2043
- }
2044
- if (this.options.freeScroll) {
2045
- this.isFreeScrolling = true;
2046
- }
2047
- // set selectedIndex based on where flick will end up
2048
- let index = this.dragEndRestingSelect();
2049
- if (this.options.freeScroll && !this.options.wrapAround) {
2050
- // if free-scroll & not wrap around
2051
- // do not free-scroll if going outside of bounding slides
2052
- // so bounding slides can attract slider, and keep it in bounds
2053
- const restingX = this.getRestingPosition();
2054
- this.isFreeScrolling =
2055
- -restingX > this.slides[0].target &&
2056
- -restingX < this.getLastSlide().target;
2057
- }
2058
- else if (!this.options.freeScroll && index == this.selectedIndex) {
2059
- // boost selection if selected index has not changed
2060
- index += this.dragEndBoostSelect();
2061
- }
2062
- delete this.previousDragX;
2063
- // apply selection
2064
- // TODO refactor this, selecting here feels weird
2065
- // HACK, set flag so dragging stays in correct direction
2066
- this.isDragSelect = this.options.wrapAround;
2067
- this.select(index);
2068
- delete this.isDragSelect;
2069
- this.dispatchEvent('dragEnd', event, [pointer]);
2070
- };
2071
- proto.dragEndRestingSelect = function () {
2072
- const restingX = this.getRestingPosition();
2073
- // how far away from selected slide
2074
- const distance = Math.abs(this.getSlideDistance(-restingX, this.selectedIndex));
2075
- // get closet resting going up and going down
2076
- const positiveResting = this._getClosestResting(restingX, distance, 1);
2077
- const negativeResting = this._getClosestResting(restingX, distance, -1);
2078
- // use closer resting for wrap-around
2079
- const index = positiveResting.distance < negativeResting.distance
2080
- ? positiveResting.index
2081
- : negativeResting.index;
2082
- return index;
2083
- };
2084
- /**
2085
- * given resting X and distance to selected cell
2086
- * get the distance and index of the closest cell
2087
- * @param {Number} restingX - estimated post-flick resting position
2088
- * @param {Number} distance - distance to selected cell
2089
- * @param {Integer} increment - +1 or -1, going up or down
2090
- * @returns {Object} - { distance: {Number}, index: {Integer} }
2091
- */
2092
- proto._getClosestResting = function (restingX, distance, increment) {
2093
- let index = this.selectedIndex;
2094
- let minDistance = Infinity;
2095
- const condition = this.options.contain && !this.options.wrapAround
2096
- ? // if contain, keep going if distance is equal to minDistance
2097
- function (d, md) {
2098
- return d <= md;
2099
- }
2100
- : function (d, md) {
2101
- return d < md;
2102
- };
2103
- while (condition(distance, minDistance)) {
2104
- // measure distance to next cell
2105
- index += increment;
2106
- minDistance = distance;
2107
- distance = this.getSlideDistance(-restingX, index);
2108
- if (distance === null) {
2109
- break;
2110
- }
2111
- distance = Math.abs(distance);
2112
- }
2113
- return {
2114
- distance: minDistance,
2115
- // selected was previous index
2116
- index: index - increment,
2117
- };
2118
- };
2119
- /**
2120
- * measure distance between x and a slide target
2121
- * @param {Number} x
2122
- * @param {Integer} index - slide index
2123
- * @returns null or distance number
2124
- */
2125
- proto.getSlideDistance = function (x, index) {
2126
- const len = this.slides.length;
2127
- // wrap around if at least 2 slides
2128
- const isWrapAround = this.options.wrapAround && len > 1;
2129
- const slideIndex = isWrapAround ? utils.modulo(index, len) : index;
2130
- const slide = this.slides[slideIndex];
2131
- if (!slide) {
2132
- return null;
2133
- }
2134
- // add distance for wrap-around slides
2135
- const wrap = isWrapAround
2136
- ? this.slideableWidth * Math.floor(index / len)
2137
- : 0;
2138
- return x - (slide.target + wrap);
2139
- };
2140
- proto.dragEndBoostSelect = function () {
2141
- // do not boost if no previousDragX or dragMoveTime
2142
- if (this.previousDragX === undefined ||
2143
- !this.dragMoveTime ||
2144
- // or if drag was held for 100 ms
2145
- new Date() - this.dragMoveTime > 100) {
2146
- return 0;
2147
- }
2148
- const distance = this.getSlideDistance(-this.dragX, this.selectedIndex);
2149
- const delta = this.previousDragX - this.dragX;
2150
- if (distance > 0 && delta > 0) {
2151
- // boost to next if moving towards the right, and positive velocity
2152
- return 1;
2153
- }
2154
- else if (distance < 0 && delta < 0) {
2155
- // boost to previous if moving towards the left, and negative velocity
2156
- return -1;
2157
- }
2158
- return 0;
2159
- };
2160
- // ----- staticClick ----- //
2161
- proto.staticClick = function (event, pointer) {
2162
- // get clickedCell, if cell was clicked
2163
- const clickedCell = this.getParentCell(event.target);
2164
- const cellElem = clickedCell && clickedCell.element;
2165
- const cellIndex = clickedCell && this.cells.indexOf(clickedCell);
2166
- this.dispatchEvent('staticClick', event, [pointer, cellElem, cellIndex]);
2167
- };
2168
- // ----- scroll ----- //
2169
- proto.onscroll = function () {
2170
- const scroll = getScrollPosition();
2171
- const scrollMoveX = this.pointerDownScroll.x - scroll.x;
2172
- const scrollMoveY = this.pointerDownScroll.y - scroll.y;
2173
- // cancel click/tap if scroll is too much
2174
- if (Math.abs(scrollMoveX) > 3 || Math.abs(scrollMoveY) > 3) {
2175
- this._pointerDone();
2176
- }
2177
- };
2178
- // ----- utils ----- //
2179
- function getScrollPosition() {
2180
- return {
2181
- x: window.scrollX,
2182
- y: window.scrollY,
2183
- };
2184
- }
2185
- };
2186
-
2187
- const nowNext = () => {
2188
- const svgURI = 'http://www.w3.org/2000/svg';
2189
- // -------------------------- PrevNextButton -------------------------- //
2190
- function PrevNextButton(direction, parent) {
2191
- this.direction = direction;
2192
- this.parent = parent;
2193
- this.parentElement = this.parent.element.shadowRoot || this.parent.element;
2194
- this._create();
2195
- }
2196
- PrevNextButton.prototype = Object.create(Unipointer.prototype);
2197
- PrevNextButton.prototype._create = function () {
2198
- // properties
2199
- this.isEnabled = true;
2200
- this.isPrevious = this.direction == -1;
2201
- const leftDirection = this.parent.options.rightToLeft ? 1 : -1;
2202
- this.isLeft = this.direction == leftDirection;
2203
- const button = (this.element = document.createElement('button'));
2204
- button.className = 'flickity-button flickity-prev-next-button';
2205
- button.part.add('navigation-button');
2206
- if (this.isPrevious) {
2207
- button.classList.add('previous');
2208
- button.part.add('navigation-button--previous');
2209
- }
2210
- else {
2211
- button.classList.add('next');
2212
- button.part.add('navigation-button--next');
2213
- }
2214
- // prevent button from submitting form http://stackoverflow.com/a/10836076/182183
2215
- button.setAttribute('type', 'button');
2216
- // init as disabled
2217
- this.disable();
2218
- button.setAttribute('aria-label', this.isPrevious ? 'Previous' : 'Next');
2219
- const slot = document.createElement('slot');
2220
- slot.name = this.isPrevious ? 'previous-icon' : 'next-icon';
2221
- button.appendChild(slot);
2222
- slot.addEventListener('slotchange', () => {
2223
- slot.assignedElements({ flatten: true }).forEach((ele) => {
2224
- ele.removeAttribute('hidden');
2225
- });
2226
- });
2227
- // create arrow
2228
- const svg = this.createSVG();
2229
- slot.appendChild(svg);
2230
- // events
2231
- this.parent.on('select', this.update.bind(this));
2232
- this.on('pointerDown', this.parent.childUIPointerDown.bind(this.parent));
2233
- };
2234
- PrevNextButton.prototype.activate = function () {
2235
- this.bindStartEvent(this.element);
2236
- this.element.addEventListener('click', this);
2237
- // add to DOM
2238
- this.parentElement.appendChild(this.element);
2239
- };
2240
- PrevNextButton.prototype.deactivate = function () {
2241
- // remove from DOM
2242
- this.parentElement.removeChild(this.element);
2243
- // click events
2244
- this.unbindStartEvent(this.element);
2245
- this.element.removeEventListener('click', this);
2246
- };
2247
- PrevNextButton.prototype.createSVG = function () {
2248
- const svg = document.createElementNS(svgURI, 'svg');
2249
- svg.setAttribute('class', 'flickity-button-icon');
2250
- svg.setAttribute('viewBox', '0 0 100 100');
2251
- svg.part.add('navigation-icon');
2252
- const path = document.createElementNS(svgURI, 'path');
2253
- const pathMovements = getArrowMovements(this.parent.options.arrowShape);
2254
- path.setAttribute('d', pathMovements);
2255
- path.setAttribute('class', 'arrow');
2256
- // rotate arrow
2257
- if (!this.isLeft) {
2258
- path.setAttribute('transform', 'translate(100, 100) rotate(180) ');
2259
- }
2260
- svg.appendChild(path);
2261
- return svg;
2262
- };
2263
- // get SVG path movmement
2264
- function getArrowMovements(shape) {
2265
- // use shape as movement if string
2266
- if (typeof shape == 'string') {
2267
- return shape;
2268
- }
2269
- // create movement string
2270
- return ('M ' +
2271
- shape.x0 +
2272
- ',50' +
2273
- ' L ' +
2274
- shape.x1 +
2275
- ',' +
2276
- (shape.y1 + 50) +
2277
- ' L ' +
2278
- shape.x2 +
2279
- ',' +
2280
- (shape.y2 + 50) +
2281
- ' L ' +
2282
- shape.x3 +
2283
- ',50 ' +
2284
- ' L ' +
2285
- shape.x2 +
2286
- ',' +
2287
- (50 - shape.y2) +
2288
- ' L ' +
2289
- shape.x1 +
2290
- ',' +
2291
- (50 - shape.y1) +
2292
- ' Z');
2293
- }
2294
- PrevNextButton.prototype.handleEvent = utils.handleEvent;
2295
- PrevNextButton.prototype.onclick = function () {
2296
- if (!this.isEnabled) {
2297
- return;
2298
- }
2299
- this.parent.uiChange();
2300
- const method = this.isPrevious ? 'previous' : 'next';
2301
- this.parent[method]();
2302
- };
2303
- // ----- ----- //
2304
- PrevNextButton.prototype.enable = function () {
2305
- if (this.isEnabled) {
2306
- return;
2307
- }
2308
- this.element.disabled = false;
2309
- this.isEnabled = true;
2310
- };
2311
- PrevNextButton.prototype.disable = function () {
2312
- if (!this.isEnabled) {
2313
- return;
2314
- }
2315
- this.element.disabled = true;
2316
- this.isEnabled = false;
2317
- };
2318
- PrevNextButton.prototype.update = function () {
2319
- // index of first or last slide, if previous or next
2320
- const slides = this.parent.slides;
2321
- // enable is wrapAround and at least 2 slides
2322
- if (this.parent.options.wrapAround && slides.length > 1) {
2323
- this.enable();
2324
- return;
2325
- }
2326
- const lastIndex = slides.length ? slides.length - 1 : 0;
2327
- const boundIndex = this.isPrevious ? 0 : lastIndex;
2328
- const method = this.parent.selectedIndex == boundIndex ? 'disable' : 'enable';
2329
- this[method]();
2330
- };
2331
- PrevNextButton.prototype.destroy = function () {
2332
- this.deactivate();
2333
- this.allOff();
2334
- };
2335
- // -------------------------- Flickity prototype -------------------------- //
2336
- utils.extend(Flickity.defaults, {
2337
- prevNextButtons: true,
2338
- arrowShape: {
2339
- x0: 10,
2340
- x1: 60,
2341
- y1: 50,
2342
- x2: 70,
2343
- y2: 40,
2344
- x3: 30,
2345
- },
2346
- });
2347
- Flickity.createMethods.push('_createPrevNextButtons');
2348
- const proto = Flickity.prototype;
2349
- proto._createPrevNextButtons = function () {
2350
- if (!this.options.prevNextButtons) {
2351
- return;
2352
- }
2353
- this.prevButton = new PrevNextButton(-1, this);
2354
- this.nextButton = new PrevNextButton(1, this);
2355
- this.on('activate', this.activatePrevNextButtons);
2356
- };
2357
- proto.activatePrevNextButtons = function () {
2358
- this.prevButton.activate();
2359
- this.nextButton.activate();
2360
- this.on('deactivate', this.deactivatePrevNextButtons);
2361
- };
2362
- proto.deactivatePrevNextButtons = function () {
2363
- this.prevButton.deactivate();
2364
- this.nextButton.deactivate();
2365
- this.off('deactivate', this.deactivatePrevNextButtons);
2366
- };
2367
- // @ts-ignore
2368
- Flickity.PrevNextButton = PrevNextButton;
2369
- };
2370
-
2371
- const player = () => {
2372
- // -------------------------- Player -------------------------- //
2373
- function Player(parent) {
2374
- this.parent = parent;
2375
- this.state = 'stopped';
2376
- // visibility change event handler
2377
- this.onVisibilityChange = this.visibilityChange.bind(this);
2378
- this.onVisibilityPlay = this.visibilityPlay.bind(this);
2379
- }
2380
- Player.prototype = Object.create(EvEmitter.prototype);
2381
- // start play
2382
- Player.prototype.play = function () {
2383
- if (this.state == 'playing') {
2384
- return;
2385
- }
2386
- // do not play if page is hidden, start playing when page is visible
2387
- const isPageHidden = document.hidden;
2388
- if (isPageHidden) {
2389
- document.addEventListener('visibilitychange', this.onVisibilityPlay);
2390
- return;
2391
- }
2392
- this.state = 'playing';
2393
- // listen to visibility change
2394
- document.addEventListener('visibilitychange', this.onVisibilityChange);
2395
- // start ticking
2396
- this.tick();
2397
- };
2398
- Player.prototype.tick = function () {
2399
- // do not tick if not playing
2400
- if (this.state != 'playing') {
2401
- return;
2402
- }
2403
- let time = this.parent.options.autoPlay;
2404
- // default to 3 seconds
2405
- time = typeof time == 'number' ? time : 3000;
2406
- const _this = this;
2407
- // HACK: reset ticks if stopped and started within interval
2408
- this.clear();
2409
- this.timeout = setTimeout(function () {
2410
- _this.parent.next(true);
2411
- _this.tick();
2412
- }, time);
2413
- };
2414
- Player.prototype.stop = function () {
2415
- this.state = 'stopped';
2416
- this.clear();
2417
- // remove visibility change event
2418
- document.removeEventListener('visibilitychange', this.onVisibilityChange);
2419
- };
2420
- Player.prototype.clear = function () {
2421
- clearTimeout(this.timeout);
2422
- };
2423
- Player.prototype.pause = function () {
2424
- if (this.state == 'playing') {
2425
- this.state = 'paused';
2426
- this.clear();
2427
- }
2428
- };
2429
- Player.prototype.unpause = function () {
2430
- // re-start play if paused
2431
- if (this.state == 'paused') {
2432
- this.play();
2433
- }
2434
- };
2435
- // pause if page visibility is hidden, unpause if visible
2436
- Player.prototype.visibilityChange = function () {
2437
- const isPageHidden = document.hidden;
2438
- this[isPageHidden ? 'pause' : 'unpause']();
2439
- };
2440
- Player.prototype.visibilityPlay = function () {
2441
- this.play();
2442
- document.removeEventListener('visibilitychange', this.onVisibilityPlay);
2443
- };
2444
- // -------------------------- Flickity -------------------------- //
2445
- utils.extend(Flickity.defaults, {
2446
- pauseAutoPlayOnHover: true,
2447
- });
2448
- Flickity.createMethods.push('_createPlayer');
2449
- const proto = Flickity.prototype;
2450
- proto._createPlayer = function () {
2451
- this.player = new Player(this);
2452
- this.on('activate', this.activatePlayer);
2453
- this.on('uiChange', this.stopPlayer);
2454
- this.on('pointerDown', this.stopPlayer);
2455
- this.on('deactivate', this.deactivatePlayer);
2456
- };
2457
- proto.activatePlayer = function () {
2458
- if (!this.options.autoPlay) {
2459
- return;
2460
- }
2461
- this.player.play();
2462
- this.element.addEventListener('mouseenter', this);
2463
- };
2464
- // Player API, don't hate the ... thanks I know where the door is
2465
- proto.playPlayer = function () {
2466
- this.player.play();
2467
- };
2468
- proto.stopPlayer = function () {
2469
- this.player.stop();
2470
- };
2471
- proto.pausePlayer = function () {
2472
- this.player.pause();
2473
- };
2474
- proto.unpausePlayer = function () {
2475
- this.player.unpause();
2476
- };
2477
- proto.deactivatePlayer = function () {
2478
- this.player.stop();
2479
- this.element.removeEventListener('mouseenter', this);
2480
- };
2481
- // ----- mouseenter/leave ----- //
2482
- // pause auto-play on hover
2483
- proto.onmouseenter = function () {
2484
- if (!this.options.pauseAutoPlayOnHover) {
2485
- return;
2486
- }
2487
- this.player.pause();
2488
- this.element.addEventListener('mouseleave', this);
2489
- };
2490
- // resume auto-play on hover off
2491
- proto.onmouseleave = function () {
2492
- this.player.unpause();
2493
- this.element.removeEventListener('mouseleave', this);
2494
- };
2495
- // @ts-ignore
2496
- Flickity.Player = Player;
2497
- };
2498
-
2499
- const flickity = Flickity;
2500
- drag();
2501
- nowNext();
2502
- player();
2503
-
2504
- const slidesCss = ":host{box-sizing:border-box}*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}:host{box-sizing:border-box}*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}:host{--dot-color:#ccc;--dot-color-active:var(--nano-color-primary, #007495);--navbtns-icon-color:var(--dot-color-active);--navbtns-bg-color:white;--navbtns-icon-color-disabled:var(--dot-color-active);--navbtns-bg-color-disabled:white;--fsbtn-icon-color:var(--dot-color-active);--fsbtn-bg-color:white;display:block;-webkit-user-select:none;user-select:none;overflow:hidden;transition:opacity 0.2s;opacity:0;max-inline-size:100vw}:host([ready]){opacity:1}.slideshow{max-block-size:100%;min-block-size:inherit;block-size:inherit;position:relative}.slideshow.not-ready{inline-size:100%;overflow:hidden}.flickity-container{opacity:0;transition:opacity 0.2s;display:flex;inline-size:fit-content;block-size:fit-content}.not-ready .flickity-container{inline-size:fit-content;block-size:fit-content}.flickity-container.slides-ready{min-block-size:inherit;max-block-size:inherit;block-size:inherit;inline-size:auto}[hidden]{display:none !important}.ui-extras{pointer-events:none;position:absolute;block-size:100%;inline-size:100%;inset-block-start:0;inset-inline-start:0}.ui-extras *{pointer-events:all}/*! Flickity v2.2.1\nhttps://flickity.metafizzy.co\n---------------------------------------------- */.flickity-enabled{position:relative;opacity:1}.flickity-enabled:focus{outline:none}.flickity-viewport{overflow:hidden;position:relative;min-block-size:100%;flex:1}.flickity-slider{position:absolute;inline-size:100%;block-size:100%}.flickity-enabled.is-draggable{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.flickity-enabled.is-draggable .flickity-viewport{cursor:move;cursor:grab;cursor:grab}.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down{cursor:grabbing}.flickity-button{position:absolute;background:var(--navbtns-bg-color);border:none;color:#333;opacity:0.75}.flickity-button:hover{opacity:1;cursor:pointer}.flickity-button:focus{outline:none;box-shadow:0 0 0 5px #19f}.flickity-button:active{opacity:0.6}.flickity-button:disabled{opacity:0.3;cursor:auto;pointer-events:none;background:var(--navbtns-bg-color-disabled)}.flickity-button-icon{fill:var(--navbtns-icon-color)}.flickity-button:disabled .flickity-button-icon{fill:var(--navbtns-icon-color-disabled)}.flickity-prev-next-button{inset-block-start:50%;inline-size:44px;block-size:44px;border-radius:50%;transform:translateY(-50%)}.flickity-prev-next-button.previous{inset-inline-start:10px}.flickity-prev-next-button.next{inset-inline-end:10px}.flickity-rtl .flickity-prev-next-button.previous{inset-inline:auto 10px}.flickity-rtl .flickity-prev-next-button.next{inset-inline:10px auto}.flickity-prev-next-button .flickity-button-icon{position:absolute;inset-inline-start:20%;inset-block-start:20%;inline-size:60%;block-size:60%}.flickity-page-dots{position:absolute;inline-size:100%;inset-block-end:10px;padding:0;margin:0;list-style:none;text-align:center;line-height:1;z-index:4}.flickity-rtl .flickity-page-dots{direction:rtl}.flickity-page-dots .dot{display:inline-block;inline-size:10px;block-size:10px;margin-block:0;margin-inline:8px;border-radius:50%;cursor:pointer;background:var(--dot-color)}.flickity-page-dots .dot.is-selected{opacity:1;background:var(--dot-color-active)}.flickity-enabled.is-fullscreen{position:fixed;inset-inline-start:0;inset-block-start:0;inline-size:100%;block-size:100%;background:hsla(0, 0%, 0%, 0.9);padding-block-end:35px;z-index:100}.flickity-enabled.is-fullscreen .flickity-page-dots{inset-block-end:45px}html.is-flickity-fullscreen{overflow:hidden}.flickity-fullscreen-button{display:block;inset-inline-end:10px;inset-block-start:10px;inline-size:24px;block-size:24px;border-radius:4px;background:var(--fsbtn-bg-color);fill:var(--fsbtn-icon-color)}.flickity-rtl .flickity-fullscreen-button{inset-inline:10px auto}.flickity-fullscreen-button-exit{display:none}.flickity-enabled.is-fullscreen .flickity-fullscreen-button-exit{display:block}.flickity-enabled.is-fullscreen .flickity-fullscreen-button-view{display:none}.flickity-fullscreen-button .flickity-button-icon{position:absolute;inline-size:16px;block-size:16px;inset-inline-start:4px;inset-block-start:4px}.flickity-enabled.is-fade .flickity-slider>*{pointer-events:none;z-index:0}.flickity-enabled.is-fade .flickity-slider ::slotted(.is-selected){pointer-events:auto;z-index:1}";
2505
- const NanoSlidesStyle0 = slidesCss;
2506
-
2507
- const modulo = (num, div) => {
2508
- return ((num % div) + div) % div;
2509
- };
2510
- const Slides = class {
2511
- constructor(hostRef) {
2512
- registerInstance(this, hostRef);
2513
- this.nanoSlidesDidLoad = createEvent(this, "nanoSlidesDidLoad", 7);
2514
- this.nanoSlidesReady = createEvent(this, "nanoSlidesReady", 7);
2515
- this.nanoSlidesSelect = createEvent(this, "nanoSlidesSelect", 7);
2516
- this.nanoSlidesChange = createEvent(this, "nanoSlidesChange", 7);
2517
- this.nanoSlidesScroll = createEvent(this, "nanoSlidesScroll", 7);
2518
- this.nanoSlidesTransitionEnd = createEvent(this, "nanoSlidesTransitionEnd", 7);
2519
- this.nanoSlidesDragStart = createEvent(this, "nanoSlidesDragStart", 7);
2520
- this.nanoSlidesDragMove = createEvent(this, "nanoSlidesDragMove", 7);
2521
- this.nanoSlidesDragEnd = createEvent(this, "nanoSlidesDragEnd", 7);
2522
- this.nanoSlidesTap = createEvent(this, "nanoSlidesTap", 7);
2523
- this.nanoSlidesFullscreenChange = createEvent(this, "nanoSlidesFullscreenChange", 7);
2524
- }
2525
- flickityEl;
2526
- flickityReady = false;
2527
- mutationO;
2528
- resizeO;
2529
- readyflickity;
2530
- flickity = new Promise((resolve) => {
2531
- this.readyflickity = resolve;
2532
- });
2533
- syncflickity;
2534
- childrenEles;
2535
- hasFullScreenModule = false;
2536
- hasLazyLoadModule = false;
2537
- hasDotsModule = false;
2538
- hasFadeModule = false;
2539
- iCurrentSlide;
2540
- slidesReady;
2541
- didInit = false;
2542
- get host() { return getElement(this); }
2543
- /**
2544
- * Options to pass to the flickity instance.
2545
- * See https://flickity.metafizzy.co/options.html for valid options
2546
- */
2547
- options = {};
2548
- async optionsChanged() {
2549
- if (this.flickityReady) {
2550
- const flickity = await this.getflickity();
2551
- const newOpts = Object.assign(flickity.options, this.options);
2552
- await this.loadFlickityModules(newOpts);
2553
- await this.update();
2554
- }
2555
- }
2556
- /** If `true`, show the next / prev buttons. */
2557
- navbtns = false;
2558
- async navbtnsChanged() {
2559
- Array.from(this._getRoot().querySelectorAll('.flickity-prev-next-button')).forEach((btn) => {
2560
- btn.hidden = !this.navbtns;
2561
- });
2562
- }
2563
- /** If `true`, show the pagination. */
2564
- pager = false;
2565
- async pagerChanged() {
2566
- const dots = this._getRoot().querySelector('.flickity-page-dots');
2567
- if (dots)
2568
- dots.hidden = !this.pager;
2569
- }
2570
- /** If `true`, show a fullscreen button. */
2571
- fullscreenbtn = false;
2572
- async fullscreenBtnChanged() {
2573
- const btn = this._getRoot().querySelector('.flickity-fullscreen-button');
2574
- if (btn)
2575
- btn.hidden = !this.fullscreenbtn;
2576
- }
2577
- /** If `true`, make the slider fullscreen. */
2578
- fullscreen = false;
2579
- async fullscreenChanged(_, oldFs) {
2580
- const flickity = await this.getflickity();
2581
- if (this.fullscreen)
2582
- flickity.viewFullscreen();
2583
- else if (typeof oldFs !== 'undefined')
2584
- flickity.exitFullscreen();
2585
- }
2586
- /** Animation presets or your own custom animation function; called every frame during scroll */
2587
- animation = 'scroll';
2588
- async animationChange(_, oldAnim) {
2589
- const [flkty, slides] = await Promise.all([
2590
- this.getflickity(),
2591
- waitForSlides(this.host),
2592
- ]);
2593
- // clear old stuff
2594
- slides.forEach((slide) => {
2595
- slide.style['left'] = undefined;
2596
- });
2597
- if (oldAnim === 'parallax') {
2598
- flkty.off('scroll', this.parallax);
2599
- slides.forEach((_, i) => {
2600
- if (this.childrenEles && this.childrenEles[i])
2601
- this.childrenEles[i].style['transform'] = undefined;
2602
- });
2603
- this.update();
2604
- }
2605
- // was a custom animation
2606
- if (typeof oldAnim === 'function') {
2607
- flkty.off('scroll', oldAnim);
2608
- }
2609
- // is a custom animation
2610
- if (typeof this.animation === 'function') {
2611
- this.options = { fade: false, percentPosition: true };
2612
- flkty.on('scroll', this.animation);
2613
- return;
2614
- }
2615
- // setup new stuff
2616
- switch (this.animation) {
2617
- case 'fade':
2618
- this.options = { fade: true, percentPosition: true };
2619
- break;
2620
- case 'parallax':
2621
- this.options = { fade: false, percentPosition: true };
2622
- flkty.on('scroll', this.parallax);
2623
- break;
2624
- default:
2625
- this.options = { fade: false, percentPosition: true };
2626
- break;
2627
- }
2628
- }
2629
- /** Zero-based index of the selected cell. */
2630
- currentSlide = 0;
2631
- currentSlideChange() {
2632
- if (this.currentSlide !== this.iCurrentSlide)
2633
- this.slideTo(this.currentSlide);
2634
- }
2635
- internalSlideChange() {
2636
- this.currentSlide = this.iCurrentSlide;
2637
- }
2638
- /** time duration, in ms, to automatically advance slides */
2639
- autoplay = false;
2640
- async autoPlayChange() {
2641
- await this.stopAutoplay();
2642
- if (this.autoplay) {
2643
- if (typeof this.autoplay === 'string')
2644
- this.autoplay = parseInt(this.autoplay);
2645
- if (this.autoplay > 0)
2646
- this.startAutoplay(this.autoplay);
2647
- }
2648
- }
2649
- /** @internal */
2650
- ready = false;
2651
- /** Emitted after component initialisation. */
2652
- nanoSlidesDidLoad;
2653
- /** Emitted after flickity initialisation. */
2654
- nanoSlidesReady;
2655
- /** Emitted when a slide is selected, even on the same slide. */
2656
- nanoSlidesSelect;
2657
- /** Emitted when the selected slide is changed. */
2658
- nanoSlidesChange;
2659
- /** Emitted when the slider moves. */
2660
- nanoSlidesScroll;
2661
- /** Emitted when the slide transition has finished. */
2662
- nanoSlidesTransitionEnd;
2663
- /** Emitted when the slider starts actively being moved. */
2664
- nanoSlidesDragStart;
2665
- /** Emitted when the slider is being dragged. */
2666
- nanoSlidesDragMove;
2667
- /** Emitted when the slider has finished being dragged. */
2668
- nanoSlidesDragEnd;
2669
- /** Emitted when the user taps/clicks on the slide's container. */
2670
- nanoSlidesTap;
2671
- /** Emitted when the user taps/clicks on the slide's container. */
2672
- nanoSlidesFullscreenChange;
2673
- /**
2674
- * Update the underlying flickity implementation. Call this if you've added or removed
2675
- * child slides.
2676
- */
2677
- async update() {
2678
- const [flickity] = await Promise.all([
2679
- this.getflickity(),
2680
- waitForSlides(this.host),
2681
- ]);
2682
- this.childrenEles = this.host.querySelectorAll(`${transformTag('nano-slide')} > *`);
2683
- flickity.reloadCells();
2684
- flickity.resize();
2685
- flickity.reposition();
2686
- }
2687
- /**
2688
- * Transition to the specified slide.
2689
- *
2690
- * @param index The index of the slide to transition to.
2691
- * @param instant Immediately view the selected slide without animation.
2692
- */
2693
- async slideTo(index, instant) {
2694
- const flickity = await this.getflickity();
2695
- flickity.select(index, instant);
2696
- }
2697
- /**
2698
- * Transition to the next slide.
2699
- *
2700
- * @param instant The transition duration (in ms).
2701
- * @param wrap If true, the first slide will be selected if at the last slide.
2702
- */
2703
- async slideNext(instant, wrap) {
2704
- const flickity = await this.getflickity();
2705
- flickity.next(wrap, instant);
2706
- }
2707
- /**
2708
- * Transition to the previous slide.
2709
- *
2710
- * @param instant The transition duration (in ms).
2711
- * @param wrap If true, the last slide will be selected if at the first slide.
2712
- */
2713
- async slidePrev(instant, wrap) {
2714
- const flickity = await this.getflickity();
2715
- flickity.previous(instant, wrap);
2716
- }
2717
- /**
2718
- * Get the index of the active slide.
2719
- * @returns the index of the active slide
2720
- */
2721
- async getActiveIndex() {
2722
- const flickity = await this.getflickity();
2723
- return flickity.selectedIndex;
2724
- }
2725
- /**
2726
- * Get the total number of slides.
2727
- * @returns the total number of slides
2728
- */
2729
- async length() {
2730
- const flickity = await this.getflickity();
2731
- return flickity.slides.length;
2732
- }
2733
- /**
2734
- * Get whether or not the current slide is the last slide.
2735
- * @returns true if the current slide is the last slide, false otherwise
2736
- */
2737
- async isEnd() {
2738
- const flickity = await this.getflickity();
2739
- return flickity.selectedIndex === flickity.slides.length - 1;
2740
- }
2741
- /**
2742
- * Get whether or not the current slide is the first slide.
2743
- * @returns true if the current slide is the first slide, false otherwise
2744
- */
2745
- async isBeginning() {
2746
- const flickity = await this.getflickity();
2747
- return flickity.selectedIndex === 0;
2748
- }
2749
- /**
2750
- * Start auto play.
2751
- * @param time - optional time duration to show slides
2752
- */
2753
- async startAutoplay(time) {
2754
- const flickity = await this.getflickity();
2755
- if (time)
2756
- this.options = { autoPlay: time };
2757
- setTimeout(() => flickity.playPlayer());
2758
- }
2759
- /** Stop auto play. */
2760
- async stopAutoplay() {
2761
- const flickity = await this.getflickity();
2762
- flickity.stopPlayer();
2763
- }
2764
- /**
2765
- * Lock or unlock the ability to slide to the next slide.
2766
- *
2767
- * @param lock If `true`, disable swiping
2768
- */
2769
- async lockSwipes(lock) {
2770
- const flickity = await this.getflickity();
2771
- flickity.options.draggable = !lock;
2772
- flickity.updateDraggable();
2773
- }
2774
- /**
2775
- * Get the flickity instance.
2776
- * Use this to access the full flickity API.
2777
- * See https://flickity.metafizzy.co/ for all API options.
2778
- * @returns the flickity instance
2779
- */
2780
- async getflickity() {
2781
- return this.flickity;
2782
- }
2783
- /**
2784
- * Hard destroy / create.
2785
- * Certain flickity options, you will require the instance to be re-initialised
2786
- */
2787
- async reload() {
2788
- this.destroyflickity();
2789
- setTimeout(() => this.initflickity(), 20);
2790
- }
2791
- _getRoot() {
2792
- return this.host.shadowRoot ? this.host.shadowRoot : this.host;
2793
- }
2794
- parallax = async () => {
2795
- const flkty = await this.flickity;
2796
- const cells = flkty.cells;
2797
- cells.forEach((cell) => {
2798
- const ele = cell.element.children[0];
2799
- let flkX = flkty.x;
2800
- if (flkty.options.wrapAround && flkty.cells.length > 1) {
2801
- flkX = modulo(flkX, flkty.slideableWidth);
2802
- flkX = flkX - flkty.slideableWidth;
2803
- }
2804
- let x = ((cell.target + flkX) * -1) / 3;
2805
- if (cell.shift < 0) {
2806
- x = ((cell.target - flkty.slideableWidth + flkX) * -1) / 3;
2807
- }
2808
- else if (cell.shift > 0) {
2809
- x = ((cell.target + (flkX + flkty.slideableWidth)) * -1) / 3;
2810
- }
2811
- ele.style.transform = 'translate3d(' + x + 'px, 0, 0)';
2812
- const animAmount = ((x * 3) / cell.size.width) * 100;
2813
- cell.element.style.setProperty('--animation-amount', animAmount.toString());
2814
- });
2815
- };
2816
- handleFullscreen = (isFullScreen) => {
2817
- this.fullscreen = isFullScreen;
2818
- this.nanoSlidesFullscreenChange.emit(isFullScreen);
2819
- };
2820
- handleSlideSelect = (slide) => {
2821
- this.iCurrentSlide = slide;
2822
- this.nanoSlidesSelect.emit(slide);
2823
- };
2824
- destroyflickity() {
2825
- /**
2826
- * We need to synchronously destroy
2827
- * flickity otherwise it is possible
2828
- * that it will be left in a
2829
- * destroyed state if connectedCallback
2830
- * is called multiple times
2831
- */
2832
- const flickity = this.syncflickity;
2833
- if (flickity !== undefined) {
2834
- flickity.destroy();
2835
- this.flickity = new Promise((resolve) => {
2836
- this.readyflickity = resolve;
2837
- });
2838
- this.flickityReady = false;
2839
- this.syncflickity = undefined;
2840
- this.ready = false;
2841
- }
2842
- this.didInit = false;
2843
- }
2844
- async loadFlickityModules(opts) {
2845
- if (!this.hasFullScreenModule && opts.fullscreen) {
2846
- await import('./fullscreen-52d62028.js');
2847
- this.hasFullScreenModule = true;
2848
- }
2849
- if (!this.hasLazyLoadModule && opts.lazyLoad) {
2850
- await import('./lazyload-8ff69ba4.js');
2851
- this.hasLazyLoadModule = true;
2852
- }
2853
- if (!this.hasDotsModule && opts.pageDots) {
2854
- await import('./page-dots-5b23db8c.js');
2855
- this.hasDotsModule = true;
2856
- }
2857
- if (!this.hasFadeModule && opts.fade) {
2858
- await import('./fade-ce1a4958.js');
2859
- this.hasFadeModule = true;
2860
- }
2861
- }
2862
- async initflickity() {
2863
- const finalOptions = this.normalizeOptions();
2864
- await this.loadFlickityModules(finalOptions);
2865
- // init flickity core
2866
- await waitForSlides(this.host);
2867
- this.flickityEl =
2868
- this.flickityEl || this._getRoot().querySelector('.flickity-container');
2869
- if (!this.flickityEl)
2870
- return;
2871
- this.slidesReady = true;
2872
- if (this.flickityEl.classList.contains('flickity-enabled')) {
2873
- this.destroyflickity();
2874
- }
2875
- this.flickityEl.style.height =
2876
- this.flickityEl.getBoundingClientRect().height + 'px';
2877
- setTimeout(() => {
2878
- this.flickityEl.style.height = '';
2879
- const flick = new flickity(this.flickityEl, finalOptions);
2880
- this.flickityReady = true;
2881
- this.syncflickity = flick;
2882
- this.animationChange();
2883
- this.navbtnsChanged();
2884
- this.pagerChanged();
2885
- this.fullscreenChanged();
2886
- this.fullscreenBtnChanged();
2887
- this.readyflickity(flick);
2888
- this.ready = true;
2889
- if (!window['ResizeObserver'])
2890
- return;
2891
- if (this.resizeO) {
2892
- this.resizeO.disconnect();
2893
- this.resizeO = undefined;
2894
- }
2895
- const ro = (this.resizeO = new ResizeObserver(() => {
2896
- readTask(() => {
2897
- const vp = this.host.shadowRoot.querySelector('.flickity-viewport');
2898
- writeTask(() => {
2899
- // reset the height, otherwise it *only* gets bigger
2900
- if (vp)
2901
- vp.style.height = '';
2902
- flick.resize();
2903
- });
2904
- });
2905
- }));
2906
- ro.observe(this.host);
2907
- }, 100);
2908
- }
2909
- normalizeOptions() {
2910
- // Base options, can be changed
2911
- const flickityOptions = {
2912
- cellSelector: transformTag('nano-slide'),
2913
- contain: true,
2914
- prevNextButtons: true,
2915
- fullscreen: this.fullscreen,
2916
- accessibility: true,
2917
- imagesLoaded: true,
2918
- pageDots: this.pager,
2919
- };
2920
- if (this.animation === 'fade') {
2921
- flickityOptions.fade = true;
2922
- }
2923
- if (this.currentSlide > 0) {
2924
- flickityOptions.initialIndex = this.currentSlide;
2925
- }
2926
- if (this.autoplay) {
2927
- if (typeof this.autoplay === 'string')
2928
- this.autoplay = parseInt(this.autoplay);
2929
- if (this.autoplay > 0)
2930
- flickityOptions.autoPlay = this.autoplay;
2931
- }
2932
- // Keep the event options separate, we dont want users
2933
- // overwriting these
2934
- const eventOptions = {
2935
- ready: () => {
2936
- setTimeout(() => {
2937
- this.nanoSlidesReady.emit();
2938
- }, 20);
2939
- },
2940
- select: this.handleSlideSelect,
2941
- change: this.nanoSlidesChange.emit,
2942
- scroll: this.nanoSlidesScroll.emit,
2943
- settle: () => requestAnimationFrame(() => this.nanoSlidesTransitionEnd.emit()),
2944
- dragStart: () => requestAnimationFrame(() => this.nanoSlidesDragStart.emit()),
2945
- dragMove: () => requestAnimationFrame(() => this.nanoSlidesDragMove.emit()),
2946
- dragEnd: () => requestAnimationFrame(() => this.nanoSlidesDragEnd.emit()),
2947
- staticClick: this.nanoSlidesTap.emit,
2948
- fullscreenChange: this.handleFullscreen,
2949
- };
2950
- const customEvents = !!this.options && !!this.options.on ? this.options.on : {};
2951
- // merge "on" event listeners, while giving our event listeners priority
2952
- const mergedEventOptions = { on: { ...customEvents, ...eventOptions } };
2953
- // Merge the base, user options, and events together then pass to flickity
2954
- // @ts-expect-error - merged options don't quite match the flickity options
2955
- return { ...flickityOptions, ...mergedEventOptions, ...this.options };
2956
- }
2957
- componentDidLoad() {
2958
- if (typeof window !== 'undefined' &&
2959
- window.MutationObserver) {
2960
- const mut = (this.mutationO = new MutationObserver((e) => {
2961
- if (e[0].addedNodes[0] &&
2962
- e[0].addedNodes[0].nodeName.toLowerCase() ===
2963
- transformTag('nano-slide') &&
2964
- this.flickityReady) {
2965
- this.update();
2966
- }
2967
- }));
2968
- mut.observe(this.host, {
2969
- childList: true,
2970
- subtree: true,
2971
- });
2972
- }
2973
- }
2974
- componentWillLoad() {
2975
- this.nanoSlidesDidLoad.emit();
2976
- if (!this.didInit) {
2977
- this.didInit = true;
2978
- this.initflickity();
2979
- }
2980
- }
2981
- disconnectedCallback() {
2982
- if (this.mutationO) {
2983
- this.mutationO.disconnect();
2984
- this.mutationO = undefined;
2985
- }
2986
- if (this.resizeO) {
2987
- this.resizeO.disconnect();
2988
- this.resizeO = undefined;
2989
- }
2990
- this.destroyflickity();
2991
- }
2992
- render() {
2993
- return (h(Host, { key: 'fec3c2951cb3865b5a90817750783f60791c8152', class: "nano-slides" }, h("div", { key: '6e7da38e24396ff8f274ecf1f12523561f68d7b9', class: {
2994
- slideshow: true,
2995
- ready: this.ready,
2996
- 'not-ready': !this.ready,
2997
- }, part: "base" }, h("div", { key: '4a80ee977b2c6adab8667be4d5737ee2b3991c12', ref: (div) => (this.flickityEl = div), class: {
2998
- 'flickity-container': true,
2999
- 'slides-ready': this.slidesReady,
3000
- 'slides-not-ready': !this.slidesReady,
3001
- }, part: "slide-container" }, h("slot", { key: '34ff051519aeba458f99ea0d164a0acd1bd547cc' })), h("div", { key: '91192bf437b0c614a7f349f4ae7c0740f6768ea7', class: "ui-extras" }, h("slot", { key: 'e278a3193b7b9c4b88f6245cc63def6f2f4dd941', name: "ui" })))));
3002
- }
3003
- static get watchers() { return {
3004
- "options": ["optionsChanged"],
3005
- "navbtns": ["navbtnsChanged"],
3006
- "pager": ["pagerChanged"],
3007
- "fullscreenbtn": ["fullscreenBtnChanged"],
3008
- "fullscreen": ["fullscreenChanged"],
3009
- "animation": ["animationChange"],
3010
- "currentSlide": ["currentSlideChange"],
3011
- "iCurrentSlide": ["internalSlideChange"],
3012
- "autoplay": ["autoPlayChange"]
3013
- }; }
3014
- };
3015
- const waitForSlides = (host) => {
3016
- const allSlides = Array.from(host.querySelectorAll(transformTag('nano-slide')));
3017
- let toLoadSlides = allSlides.filter((ele) => !ele.ready);
3018
- if (!toLoadSlides.length)
3019
- return Promise.resolve(allSlides);
3020
- return new Promise((resolve) => {
3021
- const slideResolver = (ev) => {
3022
- toLoadSlides = toLoadSlides.filter((ele) => ele !== ev.target);
3023
- if (!toLoadSlides.length) {
3024
- resolve(allSlides);
3025
- host.removeEventListener('nanoSlideReady', slideResolver);
3026
- host.removeEventListener('nano-slide-ready', slideResolver);
3027
- }
3028
- };
3029
- host.addEventListener('nanoSlideReady', slideResolver);
3030
- // fallback for vue who can't handle camelcase event names
3031
- host.addEventListener('nano-slide-ready', slideResolver);
3032
- });
3033
- };
3034
- Slides.style = NanoSlidesStyle0;
3035
-
3036
- export { Flickity as F, Slides as S, Unipointer as U, utils as u };
3037
-
3038
- //# sourceMappingURL=nano-slides-2715825b.js.map