@zanichelli/zanichelli-it-frontend-kit 0.0.1-rc.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 (1219) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +30 -0
  3. package/dist/cjs/_commonjsHelpers-CFO10eej.js +10 -0
  4. package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +1 -0
  5. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  6. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  7. package/dist/cjs/breakpoints-B7vFm-3T.js +12 -0
  8. package/dist/cjs/breakpoints-B7vFm-3T.js.map +1 -0
  9. package/dist/cjs/index-B_IQfJ7S.js +1967 -0
  10. package/dist/cjs/index-B_IQfJ7S.js.map +1 -0
  11. package/dist/cjs/index-GMHChntS.js +350 -0
  12. package/dist/cjs/index-GMHChntS.js.map +1 -0
  13. package/dist/cjs/index.cjs.js +12 -0
  14. package/dist/cjs/index.cjs.js.map +1 -0
  15. package/dist/cjs/loader.cjs.js +16 -0
  16. package/dist/cjs/loader.cjs.js.map +1 -0
  17. package/dist/cjs/utils-ByqSbvpv.js +2721 -0
  18. package/dist/cjs/utils-ByqSbvpv.js.map +1 -0
  19. package/dist/cjs/utils-KpWnWsPi.js +114 -0
  20. package/dist/cjs/utils-KpWnWsPi.js.map +1 -0
  21. package/dist/cjs/z-accordion.cjs.entry.js +52 -0
  22. package/dist/cjs/z-accordion.cjs.entry.js.map +1 -0
  23. package/dist/cjs/z-accordion.entry.cjs.js.map +1 -0
  24. package/dist/cjs/z-alert.cjs.entry.js +21 -0
  25. package/dist/cjs/z-alert.cjs.entry.js.map +1 -0
  26. package/dist/cjs/z-alert.entry.cjs.js.map +1 -0
  27. package/dist/cjs/z-anchor-navigation.cjs.entry.js +53 -0
  28. package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -0
  29. package/dist/cjs/z-anchor-navigation.entry.cjs.js.map +1 -0
  30. package/dist/cjs/z-app-header-deprecated.cjs.entry.js +156 -0
  31. package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +1 -0
  32. package/dist/cjs/z-app-header-deprecated.entry.cjs.js.map +1 -0
  33. package/dist/cjs/z-app-header.cjs.entry.js +268 -0
  34. package/dist/cjs/z-app-header.cjs.entry.js.map +1 -0
  35. package/dist/cjs/z-app-header.entry.cjs.js.map +1 -0
  36. package/dist/cjs/z-aria-alert.cjs.entry.js +19 -0
  37. package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -0
  38. package/dist/cjs/z-aria-alert.entry.cjs.js.map +1 -0
  39. package/dist/cjs/z-avatar.cjs.entry.js +44 -0
  40. package/dist/cjs/z-avatar.cjs.entry.js.map +1 -0
  41. package/dist/cjs/z-avatar.entry.cjs.js.map +1 -0
  42. package/dist/cjs/z-book-card-app.cjs.entry.js +41 -0
  43. package/dist/cjs/z-book-card-app.cjs.entry.js.map +1 -0
  44. package/dist/cjs/z-book-card-app.entry.cjs.js.map +1 -0
  45. package/dist/cjs/z-book-card-deprecated.cjs.entry.js +136 -0
  46. package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +1 -0
  47. package/dist/cjs/z-book-card-deprecated.entry.cjs.js.map +1 -0
  48. package/dist/cjs/z-book-card.cjs.entry.js +82 -0
  49. package/dist/cjs/z-book-card.cjs.entry.js.map +1 -0
  50. package/dist/cjs/z-book-card.entry.cjs.js.map +1 -0
  51. package/dist/cjs/z-breadcrumb.cjs.entry.js +226 -0
  52. package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -0
  53. package/dist/cjs/z-breadcrumb.entry.cjs.js.map +1 -0
  54. package/dist/cjs/z-button-sort.cjs.entry.js +54 -0
  55. package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -0
  56. package/dist/cjs/z-button-sort.entry.cjs.js.map +1 -0
  57. package/dist/cjs/z-button.z-icon.z-logo.zanit-menubar.zanit-mobile-menubar.entry.cjs.js.map +1 -0
  58. package/dist/cjs/z-button_5.cjs.entry.js +1614 -0
  59. package/dist/cjs/z-button_5.cjs.entry.js.map +1 -0
  60. package/dist/cjs/z-card.cjs.entry.js +55 -0
  61. package/dist/cjs/z-card.cjs.entry.js.map +1 -0
  62. package/dist/cjs/z-card.entry.cjs.js.map +1 -0
  63. package/dist/cjs/z-carousel.cjs.entry.js +182 -0
  64. package/dist/cjs/z-carousel.cjs.entry.js.map +1 -0
  65. package/dist/cjs/z-carousel.entry.cjs.js.map +1 -0
  66. package/dist/cjs/z-chip.cjs.entry.js +32 -0
  67. package/dist/cjs/z-chip.cjs.entry.js.map +1 -0
  68. package/dist/cjs/z-chip.entry.cjs.js.map +1 -0
  69. package/dist/cjs/z-combobox.cjs.entry.js +276 -0
  70. package/dist/cjs/z-combobox.cjs.entry.js.map +1 -0
  71. package/dist/cjs/z-combobox.entry.cjs.js.map +1 -0
  72. package/dist/cjs/z-cover-hero.cjs.entry.js +46 -0
  73. package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -0
  74. package/dist/cjs/z-cover-hero.entry.cjs.js.map +1 -0
  75. package/dist/cjs/z-date-picker.cjs.entry.js +494 -0
  76. package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -0
  77. package/dist/cjs/z-date-picker.entry.cjs.js.map +1 -0
  78. package/dist/cjs/z-divider.z-list-element.entry.cjs.js.map +1 -0
  79. package/dist/cjs/z-divider_2.cjs.entry.js +151 -0
  80. package/dist/cjs/z-divider_2.cjs.entry.js.map +1 -0
  81. package/dist/cjs/z-dragdrop-area.z-modal.entry.cjs.js.map +1 -0
  82. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1038 -0
  83. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -0
  84. package/dist/cjs/z-file-upload.cjs.entry.js +190 -0
  85. package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -0
  86. package/dist/cjs/z-file-upload.entry.cjs.js.map +1 -0
  87. package/dist/cjs/z-file.cjs.entry.js +51 -0
  88. package/dist/cjs/z-file.cjs.entry.js.map +1 -0
  89. package/dist/cjs/z-file.entry.cjs.js.map +1 -0
  90. package/dist/cjs/z-ghost-loading.cjs.entry.js +20 -0
  91. package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -0
  92. package/dist/cjs/z-ghost-loading.entry.cjs.js.map +1 -0
  93. package/dist/cjs/z-info-box.cjs.entry.js +26 -0
  94. package/dist/cjs/z-info-box.cjs.entry.js.map +1 -0
  95. package/dist/cjs/z-info-box.entry.cjs.js.map +1 -0
  96. package/dist/cjs/z-info-reveal.cjs.entry.js +63 -0
  97. package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -0
  98. package/dist/cjs/z-info-reveal.entry.cjs.js.map +1 -0
  99. package/dist/cjs/z-input.z-input-message.entry.cjs.js.map +1 -0
  100. package/dist/cjs/z-input_2.cjs.entry.js +315 -0
  101. package/dist/cjs/z-input_2.cjs.entry.js.map +1 -0
  102. package/dist/cjs/z-list.z-list-group.z-tag.entry.cjs.js.map +1 -0
  103. package/dist/cjs/z-list_3.cjs.entry.js +93 -0
  104. package/dist/cjs/z-list_3.cjs.entry.js.map +1 -0
  105. package/dist/cjs/z-menu-deprecated.cjs.entry.js +113 -0
  106. package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +1 -0
  107. package/dist/cjs/z-menu-deprecated.entry.cjs.js.map +1 -0
  108. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +58 -0
  109. package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +1 -0
  110. package/dist/cjs/z-menu-section-deprecated.entry.cjs.js.map +1 -0
  111. package/dist/cjs/z-menu-section.cjs.entry.js +193 -0
  112. package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -0
  113. package/dist/cjs/z-menu-section.entry.cjs.js.map +1 -0
  114. package/dist/cjs/z-menu.cjs.entry.js +319 -0
  115. package/dist/cjs/z-menu.cjs.entry.js.map +1 -0
  116. package/dist/cjs/z-menu.entry.cjs.js.map +1 -0
  117. package/dist/cjs/z-myz-card-alert.cjs.entry.js +68 -0
  118. package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -0
  119. package/dist/cjs/z-myz-card-alert.entry.cjs.js.map +1 -0
  120. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +35 -0
  121. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -0
  122. package/dist/cjs/z-myz-card-dictionary.entry.cjs.js.map +1 -0
  123. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +20 -0
  124. package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +1 -0
  125. package/dist/cjs/z-myz-card-footer-sections.entry.cjs.js.map +1 -0
  126. package/dist/cjs/z-myz-card-footer.cjs.entry.js +73 -0
  127. package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -0
  128. package/dist/cjs/z-myz-card-footer.entry.cjs.js.map +1 -0
  129. package/dist/cjs/z-myz-card-icon.cjs.entry.js +23 -0
  130. package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +1 -0
  131. package/dist/cjs/z-myz-card-icon.entry.cjs.js.map +1 -0
  132. package/dist/cjs/z-myz-card-info.cjs.entry.js +130 -0
  133. package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -0
  134. package/dist/cjs/z-myz-card-info.entry.cjs.js.map +1 -0
  135. package/dist/cjs/z-myz-card-list.cjs.entry.js +40 -0
  136. package/dist/cjs/z-myz-card-list.cjs.entry.js.map +1 -0
  137. package/dist/cjs/z-myz-card-list.entry.cjs.js.map +1 -0
  138. package/dist/cjs/z-myz-card.z-myz-card-body.z-myz-card-cover.z-myz-card-header.entry.cjs.js.map +1 -0
  139. package/dist/cjs/z-myz-card_4.cjs.entry.js +116 -0
  140. package/dist/cjs/z-myz-card_4.cjs.entry.js.map +1 -0
  141. package/dist/cjs/z-myz-list-item.cjs.entry.js +41 -0
  142. package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -0
  143. package/dist/cjs/z-myz-list-item.entry.cjs.js.map +1 -0
  144. package/dist/cjs/z-myz-list.cjs.entry.js +38 -0
  145. package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -0
  146. package/dist/cjs/z-myz-list.entry.cjs.js.map +1 -0
  147. package/dist/cjs/z-navigation-tabs.cjs.entry.js +227 -0
  148. package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -0
  149. package/dist/cjs/z-navigation-tabs.entry.cjs.js.map +1 -0
  150. package/dist/cjs/z-notification.cjs.entry.js +39 -0
  151. package/dist/cjs/z-notification.cjs.entry.js.map +1 -0
  152. package/dist/cjs/z-notification.entry.cjs.js.map +1 -0
  153. package/dist/cjs/z-offcanvas.z-searchbar.entry.cjs.js.map +1 -0
  154. package/dist/cjs/z-offcanvas_2.cjs.entry.js +384 -0
  155. package/dist/cjs/z-offcanvas_2.cjs.entry.js.map +1 -0
  156. package/dist/cjs/z-otp.cjs.entry.js +43 -0
  157. package/dist/cjs/z-otp.cjs.entry.js.map +1 -0
  158. package/dist/cjs/z-otp.entry.cjs.js.map +1 -0
  159. package/dist/cjs/z-pagination.cjs.entry.js +223 -0
  160. package/dist/cjs/z-pagination.cjs.entry.js.map +1 -0
  161. package/dist/cjs/z-pagination.entry.cjs.js.map +1 -0
  162. package/dist/cjs/z-panel-elem.cjs.entry.js +35 -0
  163. package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -0
  164. package/dist/cjs/z-panel-elem.entry.cjs.js.map +1 -0
  165. package/dist/cjs/z-popover.cjs.entry.js +317 -0
  166. package/dist/cjs/z-popover.cjs.entry.js.map +1 -0
  167. package/dist/cjs/z-popover.entry.cjs.js.map +1 -0
  168. package/dist/cjs/z-range-picker.cjs.entry.js +361 -0
  169. package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -0
  170. package/dist/cjs/z-range-picker.entry.cjs.js.map +1 -0
  171. package/dist/cjs/z-section-title.cjs.entry.js +27 -0
  172. package/dist/cjs/z-section-title.cjs.entry.js.map +1 -0
  173. package/dist/cjs/z-section-title.entry.cjs.js.map +1 -0
  174. package/dist/cjs/z-select.cjs.entry.js +490 -0
  175. package/dist/cjs/z-select.cjs.entry.js.map +1 -0
  176. package/dist/cjs/z-select.entry.cjs.js.map +1 -0
  177. package/dist/cjs/z-skip-to-content.cjs.entry.js +74 -0
  178. package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -0
  179. package/dist/cjs/z-skip-to-content.entry.cjs.js.map +1 -0
  180. package/dist/cjs/z-slideshow.cjs.entry.js +133 -0
  181. package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -0
  182. package/dist/cjs/z-slideshow.entry.cjs.js.map +1 -0
  183. package/dist/cjs/z-stepper-item.cjs.entry.js +32 -0
  184. package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -0
  185. package/dist/cjs/z-stepper-item.entry.cjs.js.map +1 -0
  186. package/dist/cjs/z-stepper.cjs.entry.js +20 -0
  187. package/dist/cjs/z-stepper.cjs.entry.js.map +1 -0
  188. package/dist/cjs/z-stepper.entry.cjs.js.map +1 -0
  189. package/dist/cjs/z-table.cjs.entry.js +54 -0
  190. package/dist/cjs/z-table.cjs.entry.js.map +1 -0
  191. package/dist/cjs/z-table.entry.cjs.js.map +1 -0
  192. package/dist/cjs/z-tbody.cjs.entry.js +20 -0
  193. package/dist/cjs/z-tbody.cjs.entry.js.map +1 -0
  194. package/dist/cjs/z-tbody.entry.cjs.js.map +1 -0
  195. package/dist/cjs/z-td.cjs.entry.js +47 -0
  196. package/dist/cjs/z-td.cjs.entry.js.map +1 -0
  197. package/dist/cjs/z-td.entry.cjs.js.map +1 -0
  198. package/dist/cjs/z-tfoot.cjs.entry.js +21 -0
  199. package/dist/cjs/z-tfoot.cjs.entry.js.map +1 -0
  200. package/dist/cjs/z-tfoot.entry.cjs.js.map +1 -0
  201. package/dist/cjs/z-th.cjs.entry.js +67 -0
  202. package/dist/cjs/z-th.cjs.entry.js.map +1 -0
  203. package/dist/cjs/z-th.entry.cjs.js.map +1 -0
  204. package/dist/cjs/z-thead.cjs.entry.js +21 -0
  205. package/dist/cjs/z-thead.cjs.entry.js.map +1 -0
  206. package/dist/cjs/z-thead.entry.cjs.js.map +1 -0
  207. package/dist/cjs/z-toast-notification-list.cjs.entry.js +57 -0
  208. package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -0
  209. package/dist/cjs/z-toast-notification-list.entry.cjs.js.map +1 -0
  210. package/dist/cjs/z-toast-notification.cjs.entry.js +2820 -0
  211. package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -0
  212. package/dist/cjs/z-toast-notification.entry.cjs.js.map +1 -0
  213. package/dist/cjs/z-toggle-button.cjs.entry.js +36 -0
  214. package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -0
  215. package/dist/cjs/z-toggle-button.entry.cjs.js.map +1 -0
  216. package/dist/cjs/z-toggle-switch.cjs.entry.js +48 -0
  217. package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -0
  218. package/dist/cjs/z-toggle-switch.entry.cjs.js.map +1 -0
  219. package/dist/cjs/z-tooltip.cjs.entry.js +29 -0
  220. package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -0
  221. package/dist/cjs/z-tooltip.entry.cjs.js.map +1 -0
  222. package/dist/cjs/z-tr.cjs.entry.js +61 -0
  223. package/dist/cjs/z-tr.cjs.entry.js.map +1 -0
  224. package/dist/cjs/z-tr.entry.cjs.js.map +1 -0
  225. package/dist/cjs/z-tree-list.cjs.entry.js +116 -0
  226. package/dist/cjs/z-tree-list.cjs.entry.js.map +1 -0
  227. package/dist/cjs/z-tree-list.entry.cjs.js.map +1 -0
  228. package/dist/cjs/z-visually-hidden.cjs.entry.js +20 -0
  229. package/dist/cjs/z-visually-hidden.cjs.entry.js.map +1 -0
  230. package/dist/cjs/z-visually-hidden.entry.cjs.js.map +1 -0
  231. package/dist/cjs/zanichelli-it-frontend-kit.cjs.js +28 -0
  232. package/dist/cjs/zanichelli-it-frontend-kit.cjs.js.map +1 -0
  233. package/dist/collection/collection-manifest.json +100 -0
  234. package/dist/collection/components/menubar/menu/menu.css +87 -0
  235. package/dist/collection/components/menubar/menu/menu.js +34 -0
  236. package/dist/collection/components/menubar/menu/menu.js.map +1 -0
  237. package/dist/collection/components/menubar/menubar.css +187 -0
  238. package/dist/collection/components/menubar/menubar.js +508 -0
  239. package/dist/collection/components/menubar/menubar.js.map +1 -0
  240. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.css +143 -0
  241. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.js +292 -0
  242. package/dist/collection/components/menubar/mobile-menubar/mobile-menubar.js.map +1 -0
  243. package/dist/collection/index.js +11 -0
  244. package/dist/collection/index.js.map +1 -0
  245. package/dist/collection/utils/utils.js +17 -0
  246. package/dist/collection/utils/utils.js.map +1 -0
  247. package/dist/components/index.d.ts +33 -0
  248. package/dist/components/index.js +11 -0
  249. package/dist/components/index.js.map +1 -0
  250. package/dist/components/p--0ruQjLj.js +67 -0
  251. package/dist/components/p--0ruQjLj.js.map +1 -0
  252. package/dist/components/p--Z4AiqIE.js +54 -0
  253. package/dist/components/p--Z4AiqIE.js.map +1 -0
  254. package/dist/components/p-1DYWWUwe.js +1041 -0
  255. package/dist/components/p-1DYWWUwe.js.map +1 -0
  256. package/dist/components/p-B85MJLTf.js +8 -0
  257. package/dist/components/p-B85MJLTf.js.map +1 -0
  258. package/dist/components/p-BLSm2Iqv.js +110 -0
  259. package/dist/components/p-BLSm2Iqv.js.map +1 -0
  260. package/dist/components/p-BdZZ3nCA.js +34 -0
  261. package/dist/components/p-BdZZ3nCA.js.map +1 -0
  262. package/dist/components/p-Bla2iV_L.js +350 -0
  263. package/dist/components/p-Bla2iV_L.js.map +1 -0
  264. package/dist/components/p-BnlxWpkO.js +261 -0
  265. package/dist/components/p-BnlxWpkO.js.map +1 -0
  266. package/dist/components/p-BwaWGQgy.js +34 -0
  267. package/dist/components/p-BwaWGQgy.js.map +1 -0
  268. package/dist/components/p-C0jAXHRM.js +85 -0
  269. package/dist/components/p-C0jAXHRM.js.map +1 -0
  270. package/dist/components/p-C37VC5pL.js +93 -0
  271. package/dist/components/p-C37VC5pL.js.map +1 -0
  272. package/dist/components/p-C79F56iB.js +78 -0
  273. package/dist/components/p-C79F56iB.js.map +1 -0
  274. package/dist/components/p-CJkso_Ly.js +2715 -0
  275. package/dist/components/p-CJkso_Ly.js.map +1 -0
  276. package/dist/components/p-CVdIKwxq.js +37 -0
  277. package/dist/components/p-CVdIKwxq.js.map +1 -0
  278. package/dist/components/p-CjYpA4EJ.js +46 -0
  279. package/dist/components/p-CjYpA4EJ.js.map +1 -0
  280. package/dist/components/p-Cm3Hcr2i.js +57 -0
  281. package/dist/components/p-Cm3Hcr2i.js.map +1 -0
  282. package/dist/components/p-CoyJoo-Q.js +64 -0
  283. package/dist/components/p-CoyJoo-Q.js.map +1 -0
  284. package/dist/components/p-D6oPathC.js +104 -0
  285. package/dist/components/p-D6oPathC.js.map +1 -0
  286. package/dist/components/p-DFx72tO8.js +66 -0
  287. package/dist/components/p-DFx72tO8.js.map +1 -0
  288. package/dist/components/p-DTu9qk5c.js +34 -0
  289. package/dist/components/p-DTu9qk5c.js.map +1 -0
  290. package/dist/components/p-DX_drPpd.js +75 -0
  291. package/dist/components/p-DX_drPpd.js.map +1 -0
  292. package/dist/components/p-DexdQ2O9.js +988 -0
  293. package/dist/components/p-DexdQ2O9.js.map +1 -0
  294. package/dist/components/p-DnbQxkNk.js +63 -0
  295. package/dist/components/p-DnbQxkNk.js.map +1 -0
  296. package/dist/components/p-Dog_NtRb.js +67 -0
  297. package/dist/components/p-Dog_NtRb.js.map +1 -0
  298. package/dist/components/p-Du5IymMo.js +87 -0
  299. package/dist/components/p-Du5IymMo.js.map +1 -0
  300. package/dist/components/p-Dxu5saXC.js +1745 -0
  301. package/dist/components/p-Dxu5saXC.js.map +1 -0
  302. package/dist/components/p-KDKAI9M0.js +54 -0
  303. package/dist/components/p-KDKAI9M0.js.map +1 -0
  304. package/dist/components/p-M8sq6nYX.js +37 -0
  305. package/dist/components/p-M8sq6nYX.js.map +1 -0
  306. package/dist/components/p-Q-tWjk7P.js +12 -0
  307. package/dist/components/p-Q-tWjk7P.js.map +1 -0
  308. package/dist/components/p-ZsHngv6X.js +37 -0
  309. package/dist/components/p-ZsHngv6X.js.map +1 -0
  310. package/dist/components/p-fkdKSkwd.js +403 -0
  311. package/dist/components/p-fkdKSkwd.js.map +1 -0
  312. package/dist/components/p-k1oALiEe.js +104 -0
  313. package/dist/components/p-k1oALiEe.js.map +1 -0
  314. package/dist/components/p-nUV6IonK.js +46 -0
  315. package/dist/components/p-nUV6IonK.js.map +1 -0
  316. package/dist/components/p-uWp7Cs9b.js +341 -0
  317. package/dist/components/p-uWp7Cs9b.js.map +1 -0
  318. package/dist/components/p-vUB-94eM.js +41 -0
  319. package/dist/components/p-vUB-94eM.js.map +1 -0
  320. package/dist/components/p-vqNYJq21.js +179 -0
  321. package/dist/components/p-vqNYJq21.js.map +1 -0
  322. package/dist/components/p-wdrm-LLt.js +342 -0
  323. package/dist/components/p-wdrm-LLt.js.map +1 -0
  324. package/dist/components/z-accordion.js +86 -0
  325. package/dist/components/z-accordion.js.map +1 -0
  326. package/dist/components/z-alert.js +9 -0
  327. package/dist/components/z-alert.js.map +1 -0
  328. package/dist/components/z-anchor-navigation.js +86 -0
  329. package/dist/components/z-anchor-navigation.js.map +1 -0
  330. package/dist/components/z-app-header-deprecated.js +256 -0
  331. package/dist/components/z-app-header-deprecated.js.map +1 -0
  332. package/dist/components/z-app-header.js +368 -0
  333. package/dist/components/z-app-header.js.map +1 -0
  334. package/dist/components/z-aria-alert.js +37 -0
  335. package/dist/components/z-aria-alert.js.map +1 -0
  336. package/dist/components/z-avatar.js +67 -0
  337. package/dist/components/z-avatar.js.map +1 -0
  338. package/dist/components/z-book-card-app.js +76 -0
  339. package/dist/components/z-book-card-app.js.map +1 -0
  340. package/dist/components/z-book-card-deprecated.js +176 -0
  341. package/dist/components/z-book-card-deprecated.js.map +1 -0
  342. package/dist/components/z-book-card.js +123 -0
  343. package/dist/components/z-book-card.js.map +1 -0
  344. package/dist/components/z-breadcrumb.js +291 -0
  345. package/dist/components/z-breadcrumb.js.map +1 -0
  346. package/dist/components/z-button-sort.js +87 -0
  347. package/dist/components/z-button-sort.js.map +1 -0
  348. package/dist/components/z-button.js +9 -0
  349. package/dist/components/z-button.js.map +1 -0
  350. package/dist/components/z-card.js +84 -0
  351. package/dist/components/z-card.js.map +1 -0
  352. package/dist/components/z-carousel.js +235 -0
  353. package/dist/components/z-carousel.js.map +1 -0
  354. package/dist/components/z-chip.js +9 -0
  355. package/dist/components/z-chip.js.map +1 -0
  356. package/dist/components/z-combobox.js +356 -0
  357. package/dist/components/z-combobox.js.map +1 -0
  358. package/dist/components/z-cover-hero.js +67 -0
  359. package/dist/components/z-cover-hero.js.map +1 -0
  360. package/dist/components/z-date-picker.js +539 -0
  361. package/dist/components/z-date-picker.js.map +1 -0
  362. package/dist/components/z-divider.js +9 -0
  363. package/dist/components/z-divider.js.map +1 -0
  364. package/dist/components/z-dragdrop-area.js +9 -0
  365. package/dist/components/z-dragdrop-area.js.map +1 -0
  366. package/dist/components/z-file-upload.js +254 -0
  367. package/dist/components/z-file-upload.js.map +1 -0
  368. package/dist/components/z-file.js +90 -0
  369. package/dist/components/z-file.js.map +1 -0
  370. package/dist/components/z-ghost-loading.js +9 -0
  371. package/dist/components/z-ghost-loading.js.map +1 -0
  372. package/dist/components/z-icon.js +9 -0
  373. package/dist/components/z-icon.js.map +1 -0
  374. package/dist/components/z-info-box.js +52 -0
  375. package/dist/components/z-info-box.js.map +1 -0
  376. package/dist/components/z-info-reveal.js +9 -0
  377. package/dist/components/z-info-reveal.js.map +1 -0
  378. package/dist/components/z-input-message.js +9 -0
  379. package/dist/components/z-input-message.js.map +1 -0
  380. package/dist/components/z-input.js +9 -0
  381. package/dist/components/z-input.js.map +1 -0
  382. package/dist/components/z-list-element.js +9 -0
  383. package/dist/components/z-list-element.js.map +1 -0
  384. package/dist/components/z-list-group.js +9 -0
  385. package/dist/components/z-list-group.js.map +1 -0
  386. package/dist/components/z-list.js +9 -0
  387. package/dist/components/z-list.js.map +1 -0
  388. package/dist/components/z-logo.js +9 -0
  389. package/dist/components/z-logo.js.map +1 -0
  390. package/dist/components/z-menu-deprecated.js +145 -0
  391. package/dist/components/z-menu-deprecated.js.map +1 -0
  392. package/dist/components/z-menu-section-deprecated.js +85 -0
  393. package/dist/components/z-menu-section-deprecated.js.map +1 -0
  394. package/dist/components/z-menu-section.js +227 -0
  395. package/dist/components/z-menu-section.js.map +1 -0
  396. package/dist/components/z-menu.js +354 -0
  397. package/dist/components/z-menu.js.map +1 -0
  398. package/dist/components/z-modal.js +9 -0
  399. package/dist/components/z-modal.js.map +1 -0
  400. package/dist/components/z-myz-card-alert.js +102 -0
  401. package/dist/components/z-myz-card-alert.js.map +1 -0
  402. package/dist/components/z-myz-card-body.js +9 -0
  403. package/dist/components/z-myz-card-body.js.map +1 -0
  404. package/dist/components/z-myz-card-cover.js +9 -0
  405. package/dist/components/z-myz-card-cover.js.map +1 -0
  406. package/dist/components/z-myz-card-dictionary.js +95 -0
  407. package/dist/components/z-myz-card-dictionary.js.map +1 -0
  408. package/dist/components/z-myz-card-footer-sections.js +37 -0
  409. package/dist/components/z-myz-card-footer-sections.js.map +1 -0
  410. package/dist/components/z-myz-card-footer.js +100 -0
  411. package/dist/components/z-myz-card-footer.js.map +1 -0
  412. package/dist/components/z-myz-card-header.js +9 -0
  413. package/dist/components/z-myz-card-header.js.map +1 -0
  414. package/dist/components/z-myz-card-icon.js +50 -0
  415. package/dist/components/z-myz-card-icon.js.map +1 -0
  416. package/dist/components/z-myz-card-info.js +163 -0
  417. package/dist/components/z-myz-card-info.js.map +1 -0
  418. package/dist/components/z-myz-card-list.js +59 -0
  419. package/dist/components/z-myz-card-list.js.map +1 -0
  420. package/dist/components/z-myz-card.js +9 -0
  421. package/dist/components/z-myz-card.js.map +1 -0
  422. package/dist/components/z-myz-list-item.js +9 -0
  423. package/dist/components/z-myz-list-item.js.map +1 -0
  424. package/dist/components/z-myz-list.js +72 -0
  425. package/dist/components/z-myz-list.js.map +1 -0
  426. package/dist/components/z-navigation-tabs.js +260 -0
  427. package/dist/components/z-navigation-tabs.js.map +1 -0
  428. package/dist/components/z-notification.js +69 -0
  429. package/dist/components/z-notification.js.map +1 -0
  430. package/dist/components/z-offcanvas.js +9 -0
  431. package/dist/components/z-offcanvas.js.map +1 -0
  432. package/dist/components/z-otp.js +76 -0
  433. package/dist/components/z-otp.js.map +1 -0
  434. package/dist/components/z-pagination.js +281 -0
  435. package/dist/components/z-pagination.js.map +1 -0
  436. package/dist/components/z-panel-elem.js +67 -0
  437. package/dist/components/z-panel-elem.js.map +1 -0
  438. package/dist/components/z-popover.js +9 -0
  439. package/dist/components/z-popover.js.map +1 -0
  440. package/dist/components/z-range-picker.js +414 -0
  441. package/dist/components/z-range-picker.js.map +1 -0
  442. package/dist/components/z-searchbar.js +9 -0
  443. package/dist/components/z-searchbar.js.map +1 -0
  444. package/dist/components/z-section-title.js +53 -0
  445. package/dist/components/z-section-title.js.map +1 -0
  446. package/dist/components/z-select.js +582 -0
  447. package/dist/components/z-select.js.map +1 -0
  448. package/dist/components/z-skip-to-content.js +94 -0
  449. package/dist/components/z-skip-to-content.js.map +1 -0
  450. package/dist/components/z-slideshow.js +162 -0
  451. package/dist/components/z-slideshow.js.map +1 -0
  452. package/dist/components/z-stepper-item.js +61 -0
  453. package/dist/components/z-stepper-item.js.map +1 -0
  454. package/dist/components/z-stepper.js +37 -0
  455. package/dist/components/z-stepper.js.map +1 -0
  456. package/dist/components/z-table.js +69 -0
  457. package/dist/components/z-table.js.map +1 -0
  458. package/dist/components/z-tag.js +9 -0
  459. package/dist/components/z-tag.js.map +1 -0
  460. package/dist/components/z-tbody.js +9 -0
  461. package/dist/components/z-tbody.js.map +1 -0
  462. package/dist/components/z-td.js +9 -0
  463. package/dist/components/z-td.js.map +1 -0
  464. package/dist/components/z-tfoot.js +9 -0
  465. package/dist/components/z-tfoot.js.map +1 -0
  466. package/dist/components/z-th.js +9 -0
  467. package/dist/components/z-th.js.map +1 -0
  468. package/dist/components/z-thead.js +9 -0
  469. package/dist/components/z-thead.js.map +1 -0
  470. package/dist/components/z-toast-notification-list.js +79 -0
  471. package/dist/components/z-toast-notification-list.js.map +1 -0
  472. package/dist/components/z-toast-notification.js +2858 -0
  473. package/dist/components/z-toast-notification.js.map +1 -0
  474. package/dist/components/z-toggle-button.js +65 -0
  475. package/dist/components/z-toggle-button.js.map +1 -0
  476. package/dist/components/z-toggle-switch.js +74 -0
  477. package/dist/components/z-toggle-switch.js.map +1 -0
  478. package/dist/components/z-tooltip.js +58 -0
  479. package/dist/components/z-tooltip.js.map +1 -0
  480. package/dist/components/z-tr.js +9 -0
  481. package/dist/components/z-tr.js.map +1 -0
  482. package/dist/components/z-tree-list.js +163 -0
  483. package/dist/components/z-tree-list.js.map +1 -0
  484. package/dist/components/z-visually-hidden.js +37 -0
  485. package/dist/components/z-visually-hidden.js.map +1 -0
  486. package/dist/components/zanit-menubar.d.ts +11 -0
  487. package/dist/components/zanit-menubar.js +420 -0
  488. package/dist/components/zanit-menubar.js.map +1 -0
  489. package/dist/components/zanit-mobile-menubar.d.ts +11 -0
  490. package/dist/components/zanit-mobile-menubar.js +9 -0
  491. package/dist/components/zanit-mobile-menubar.js.map +1 -0
  492. package/dist/esm/_commonjsHelpers-B85MJLTf.js +8 -0
  493. package/dist/esm/_commonjsHelpers-B85MJLTf.js.map +1 -0
  494. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  495. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  496. package/dist/esm/breakpoints-Q-tWjk7P.js +12 -0
  497. package/dist/esm/breakpoints-Q-tWjk7P.js.map +1 -0
  498. package/dist/esm/index-B2-dCTD2.js +350 -0
  499. package/dist/esm/index-B2-dCTD2.js.map +1 -0
  500. package/dist/esm/index-Cam6wBSi.js +1957 -0
  501. package/dist/esm/index-Cam6wBSi.js.map +1 -0
  502. package/dist/esm/index.js +9 -0
  503. package/dist/esm/index.js.map +1 -0
  504. package/dist/esm/loader.js +14 -0
  505. package/dist/esm/loader.js.map +1 -0
  506. package/dist/esm/utils-CNUNJl55.js +2715 -0
  507. package/dist/esm/utils-CNUNJl55.js.map +1 -0
  508. package/dist/esm/utils-GdAsGfFX.js +104 -0
  509. package/dist/esm/utils-GdAsGfFX.js.map +1 -0
  510. package/dist/esm/z-accordion.entry.js +50 -0
  511. package/dist/esm/z-accordion.entry.js.map +1 -0
  512. package/dist/esm/z-alert.entry.js +19 -0
  513. package/dist/esm/z-alert.entry.js.map +1 -0
  514. package/dist/esm/z-anchor-navigation.entry.js +51 -0
  515. package/dist/esm/z-anchor-navigation.entry.js.map +1 -0
  516. package/dist/esm/z-app-header-deprecated.entry.js +154 -0
  517. package/dist/esm/z-app-header-deprecated.entry.js.map +1 -0
  518. package/dist/esm/z-app-header.entry.js +266 -0
  519. package/dist/esm/z-app-header.entry.js.map +1 -0
  520. package/dist/esm/z-aria-alert.entry.js +17 -0
  521. package/dist/esm/z-aria-alert.entry.js.map +1 -0
  522. package/dist/esm/z-avatar.entry.js +42 -0
  523. package/dist/esm/z-avatar.entry.js.map +1 -0
  524. package/dist/esm/z-book-card-app.entry.js +39 -0
  525. package/dist/esm/z-book-card-app.entry.js.map +1 -0
  526. package/dist/esm/z-book-card-deprecated.entry.js +134 -0
  527. package/dist/esm/z-book-card-deprecated.entry.js.map +1 -0
  528. package/dist/esm/z-book-card.entry.js +80 -0
  529. package/dist/esm/z-book-card.entry.js.map +1 -0
  530. package/dist/esm/z-breadcrumb.entry.js +224 -0
  531. package/dist/esm/z-breadcrumb.entry.js.map +1 -0
  532. package/dist/esm/z-button-sort.entry.js +52 -0
  533. package/dist/esm/z-button-sort.entry.js.map +1 -0
  534. package/dist/esm/z-button.z-icon.z-logo.zanit-menubar.zanit-mobile-menubar.entry.js.map +1 -0
  535. package/dist/esm/z-button_5.entry.js +1608 -0
  536. package/dist/esm/z-button_5.entry.js.map +1 -0
  537. package/dist/esm/z-card.entry.js +53 -0
  538. package/dist/esm/z-card.entry.js.map +1 -0
  539. package/dist/esm/z-carousel.entry.js +180 -0
  540. package/dist/esm/z-carousel.entry.js.map +1 -0
  541. package/dist/esm/z-chip.entry.js +30 -0
  542. package/dist/esm/z-chip.entry.js.map +1 -0
  543. package/dist/esm/z-combobox.entry.js +274 -0
  544. package/dist/esm/z-combobox.entry.js.map +1 -0
  545. package/dist/esm/z-cover-hero.entry.js +44 -0
  546. package/dist/esm/z-cover-hero.entry.js.map +1 -0
  547. package/dist/esm/z-date-picker.entry.js +492 -0
  548. package/dist/esm/z-date-picker.entry.js.map +1 -0
  549. package/dist/esm/z-divider.z-list-element.entry.js.map +1 -0
  550. package/dist/esm/z-divider_2.entry.js +148 -0
  551. package/dist/esm/z-divider_2.entry.js.map +1 -0
  552. package/dist/esm/z-dragdrop-area.z-modal.entry.js.map +1 -0
  553. package/dist/esm/z-dragdrop-area_2.entry.js +1035 -0
  554. package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -0
  555. package/dist/esm/z-file-upload.entry.js +188 -0
  556. package/dist/esm/z-file-upload.entry.js.map +1 -0
  557. package/dist/esm/z-file.entry.js +49 -0
  558. package/dist/esm/z-file.entry.js.map +1 -0
  559. package/dist/esm/z-ghost-loading.entry.js +18 -0
  560. package/dist/esm/z-ghost-loading.entry.js.map +1 -0
  561. package/dist/esm/z-info-box.entry.js +24 -0
  562. package/dist/esm/z-info-box.entry.js.map +1 -0
  563. package/dist/esm/z-info-reveal.entry.js +61 -0
  564. package/dist/esm/z-info-reveal.entry.js.map +1 -0
  565. package/dist/esm/z-input.z-input-message.entry.js.map +1 -0
  566. package/dist/esm/z-input_2.entry.js +312 -0
  567. package/dist/esm/z-input_2.entry.js.map +1 -0
  568. package/dist/esm/z-list.z-list-group.z-tag.entry.js.map +1 -0
  569. package/dist/esm/z-list_3.entry.js +89 -0
  570. package/dist/esm/z-list_3.entry.js.map +1 -0
  571. package/dist/esm/z-menu-deprecated.entry.js +111 -0
  572. package/dist/esm/z-menu-deprecated.entry.js.map +1 -0
  573. package/dist/esm/z-menu-section-deprecated.entry.js +56 -0
  574. package/dist/esm/z-menu-section-deprecated.entry.js.map +1 -0
  575. package/dist/esm/z-menu-section.entry.js +191 -0
  576. package/dist/esm/z-menu-section.entry.js.map +1 -0
  577. package/dist/esm/z-menu.entry.js +317 -0
  578. package/dist/esm/z-menu.entry.js.map +1 -0
  579. package/dist/esm/z-myz-card-alert.entry.js +66 -0
  580. package/dist/esm/z-myz-card-alert.entry.js.map +1 -0
  581. package/dist/esm/z-myz-card-dictionary.entry.js +33 -0
  582. package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -0
  583. package/dist/esm/z-myz-card-footer-sections.entry.js +18 -0
  584. package/dist/esm/z-myz-card-footer-sections.entry.js.map +1 -0
  585. package/dist/esm/z-myz-card-footer.entry.js +71 -0
  586. package/dist/esm/z-myz-card-footer.entry.js.map +1 -0
  587. package/dist/esm/z-myz-card-icon.entry.js +21 -0
  588. package/dist/esm/z-myz-card-icon.entry.js.map +1 -0
  589. package/dist/esm/z-myz-card-info.entry.js +128 -0
  590. package/dist/esm/z-myz-card-info.entry.js.map +1 -0
  591. package/dist/esm/z-myz-card-list.entry.js +38 -0
  592. package/dist/esm/z-myz-card-list.entry.js.map +1 -0
  593. package/dist/esm/z-myz-card.z-myz-card-body.z-myz-card-cover.z-myz-card-header.entry.js.map +1 -0
  594. package/dist/esm/z-myz-card_4.entry.js +111 -0
  595. package/dist/esm/z-myz-card_4.entry.js.map +1 -0
  596. package/dist/esm/z-myz-list-item.entry.js +39 -0
  597. package/dist/esm/z-myz-list-item.entry.js.map +1 -0
  598. package/dist/esm/z-myz-list.entry.js +36 -0
  599. package/dist/esm/z-myz-list.entry.js.map +1 -0
  600. package/dist/esm/z-navigation-tabs.entry.js +225 -0
  601. package/dist/esm/z-navigation-tabs.entry.js.map +1 -0
  602. package/dist/esm/z-notification.entry.js +37 -0
  603. package/dist/esm/z-notification.entry.js.map +1 -0
  604. package/dist/esm/z-offcanvas.z-searchbar.entry.js.map +1 -0
  605. package/dist/esm/z-offcanvas_2.entry.js +381 -0
  606. package/dist/esm/z-offcanvas_2.entry.js.map +1 -0
  607. package/dist/esm/z-otp.entry.js +41 -0
  608. package/dist/esm/z-otp.entry.js.map +1 -0
  609. package/dist/esm/z-pagination.entry.js +221 -0
  610. package/dist/esm/z-pagination.entry.js.map +1 -0
  611. package/dist/esm/z-panel-elem.entry.js +33 -0
  612. package/dist/esm/z-panel-elem.entry.js.map +1 -0
  613. package/dist/esm/z-popover.entry.js +315 -0
  614. package/dist/esm/z-popover.entry.js.map +1 -0
  615. package/dist/esm/z-range-picker.entry.js +359 -0
  616. package/dist/esm/z-range-picker.entry.js.map +1 -0
  617. package/dist/esm/z-section-title.entry.js +25 -0
  618. package/dist/esm/z-section-title.entry.js.map +1 -0
  619. package/dist/esm/z-select.entry.js +488 -0
  620. package/dist/esm/z-select.entry.js.map +1 -0
  621. package/dist/esm/z-skip-to-content.entry.js +72 -0
  622. package/dist/esm/z-skip-to-content.entry.js.map +1 -0
  623. package/dist/esm/z-slideshow.entry.js +131 -0
  624. package/dist/esm/z-slideshow.entry.js.map +1 -0
  625. package/dist/esm/z-stepper-item.entry.js +30 -0
  626. package/dist/esm/z-stepper-item.entry.js.map +1 -0
  627. package/dist/esm/z-stepper.entry.js +18 -0
  628. package/dist/esm/z-stepper.entry.js.map +1 -0
  629. package/dist/esm/z-table.entry.js +52 -0
  630. package/dist/esm/z-table.entry.js.map +1 -0
  631. package/dist/esm/z-tbody.entry.js +18 -0
  632. package/dist/esm/z-tbody.entry.js.map +1 -0
  633. package/dist/esm/z-td.entry.js +45 -0
  634. package/dist/esm/z-td.entry.js.map +1 -0
  635. package/dist/esm/z-tfoot.entry.js +19 -0
  636. package/dist/esm/z-tfoot.entry.js.map +1 -0
  637. package/dist/esm/z-th.entry.js +65 -0
  638. package/dist/esm/z-th.entry.js.map +1 -0
  639. package/dist/esm/z-thead.entry.js +19 -0
  640. package/dist/esm/z-thead.entry.js.map +1 -0
  641. package/dist/esm/z-toast-notification-list.entry.js +55 -0
  642. package/dist/esm/z-toast-notification-list.entry.js.map +1 -0
  643. package/dist/esm/z-toast-notification.entry.js +2818 -0
  644. package/dist/esm/z-toast-notification.entry.js.map +1 -0
  645. package/dist/esm/z-toggle-button.entry.js +34 -0
  646. package/dist/esm/z-toggle-button.entry.js.map +1 -0
  647. package/dist/esm/z-toggle-switch.entry.js +46 -0
  648. package/dist/esm/z-toggle-switch.entry.js.map +1 -0
  649. package/dist/esm/z-tooltip.entry.js +27 -0
  650. package/dist/esm/z-tooltip.entry.js.map +1 -0
  651. package/dist/esm/z-tr.entry.js +59 -0
  652. package/dist/esm/z-tr.entry.js.map +1 -0
  653. package/dist/esm/z-tree-list.entry.js +114 -0
  654. package/dist/esm/z-tree-list.entry.js.map +1 -0
  655. package/dist/esm/z-visually-hidden.entry.js +18 -0
  656. package/dist/esm/z-visually-hidden.entry.js.map +1 -0
  657. package/dist/esm/zanichelli-it-frontend-kit.js +24 -0
  658. package/dist/esm/zanichelli-it-frontend-kit.js.map +1 -0
  659. package/dist/index.cjs.js +1 -0
  660. package/dist/index.js +1 -0
  661. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/book-card/z-book-card/styles.css +202 -0
  662. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/book-card/z-book-card-app/styles.css +74 -0
  663. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/css-components/z-link/styles.css +168 -0
  664. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/date-picker/styles.css +565 -0
  665. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +441 -0
  666. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +486 -0
  667. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-menu-deprecated/styles.css +217 -0
  668. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-menu-section-deprecated/styles.css +123 -0
  669. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/deprecated/z-section-title/styles.css +45 -0
  670. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/file-upload/z-dragdrop-area/styles.css +82 -0
  671. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/file-upload/z-file/styles.css +23 -0
  672. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/file-upload/z-file-upload/styles.css +91 -0
  673. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/list/z-list/styles.css +6 -0
  674. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/list/z-list-element/styles.css +108 -0
  675. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/list/z-list-group/styles.css +26 -0
  676. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/list/z-tree-list/styles.css +142 -0
  677. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/cells/z-td/styles.css +71 -0
  678. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/cells/z-th/styles.css +127 -0
  679. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-table/styles.css +18 -0
  680. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-tbody/styles.css +4 -0
  681. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-tfoot/styles.css +13 -0
  682. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-thead/styles.css +19 -0
  683. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/table/z-tr/styles.css +86 -0
  684. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-accordion/styles.css +260 -0
  685. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-anchor-navigation/styles.css +122 -0
  686. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-app-header/styles.css +397 -0
  687. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-avatar/styles.css +32 -0
  688. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-breadcrumb/styles.css +151 -0
  689. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-button/styles.css +149 -0
  690. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-button-sort/styles.css +84 -0
  691. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-card/styles.css +230 -0
  692. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-carousel/styles.css +148 -0
  693. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-chip/styles.css +118 -0
  694. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-combobox/styles.css +220 -0
  695. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-cover-hero/styles.css +93 -0
  696. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-divider/styles.css +37 -0
  697. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-ghost-loading/styles.css +34 -0
  698. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-icon/styles.css +14 -0
  699. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-info-box/styles.css +23 -0
  700. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-info-reveal/styles.css +130 -0
  701. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-input/styles.css +416 -0
  702. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-input-message/styles.css +53 -0
  703. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-logo/styles.css +29 -0
  704. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-menu/styles.css +213 -0
  705. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-menu-section/styles.css +138 -0
  706. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-modal/styles.css +266 -0
  707. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-navigation-tabs/styles.css +212 -0
  708. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-notification/styles.css +119 -0
  709. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-offcanvas/styles.css +122 -0
  710. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-pagination/styles.css +199 -0
  711. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-panel-elem/styles.css +46 -0
  712. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-popover/styles.css +147 -0
  713. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-searchbar/styles.css +297 -0
  714. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-select/styles.css +321 -0
  715. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-skip-to-content/styles.css +81 -0
  716. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-stepper/styles.css +19 -0
  717. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-stepper-item/styles.css +150 -0
  718. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-tag/styles.css +47 -0
  719. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-toast-notification/styles.css +261 -0
  720. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-toast-notification-list/styles.css +100 -0
  721. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-toggle-button/styles.css +60 -0
  722. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-toggle-switch/styles.css +104 -0
  723. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-tooltip/styles.css +17 -0
  724. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/components/z-visually-hidden/styles.css +12 -0
  725. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +44 -0
  726. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +62 -0
  727. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +13 -0
  728. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +11 -0
  729. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +76 -0
  730. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +187 -0
  731. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +20 -0
  732. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +59 -0
  733. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +69 -0
  734. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +93 -0
  735. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +46 -0
  736. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +4 -0
  737. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +66 -0
  738. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/z-alert/styles.css +28 -0
  739. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/z-otp/styles.css +52 -0
  740. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/snowflakes/myz/z-slideshow/styles.css +134 -0
  741. package/dist/node_modules/.pnpm/@zanichelli+albe-web-components@18.3.2/node_modules/@zanichelli/albe-web-components/dist/collection/tokens/typography.css +769 -0
  742. package/dist/types/components/menubar/menu/menu.d.ts +19 -0
  743. package/dist/types/components/menubar/menubar.d.ts +82 -0
  744. package/dist/types/components/menubar/mobile-menubar/mobile-menubar.d.ts +46 -0
  745. package/dist/types/components.d.ts +172 -0
  746. package/dist/types/index.d.ts +11 -0
  747. package/dist/types/stencil-public-runtime.d.ts +1702 -0
  748. package/dist/types/utils/utils.d.ts +7 -0
  749. package/dist/zanichelli-it-frontend-kit/index.esm.js +3 -0
  750. package/dist/zanichelli-it-frontend-kit/index.esm.js.map +1 -0
  751. package/dist/zanichelli-it-frontend-kit/loader.esm.js.map +1 -0
  752. package/dist/zanichelli-it-frontend-kit/p-06a75db9.entry.js +2 -0
  753. package/dist/zanichelli-it-frontend-kit/p-06a75db9.entry.js.map +1 -0
  754. package/dist/zanichelli-it-frontend-kit/p-1301f408.entry.js +2 -0
  755. package/dist/zanichelli-it-frontend-kit/p-1301f408.entry.js.map +1 -0
  756. package/dist/zanichelli-it-frontend-kit/p-14695889.entry.js +2 -0
  757. package/dist/zanichelli-it-frontend-kit/p-14695889.entry.js.map +1 -0
  758. package/dist/zanichelli-it-frontend-kit/p-1a55b30b.entry.js +2 -0
  759. package/dist/zanichelli-it-frontend-kit/p-1a55b30b.entry.js.map +1 -0
  760. package/dist/zanichelli-it-frontend-kit/p-1d8f3be0.entry.js +2 -0
  761. package/dist/zanichelli-it-frontend-kit/p-1d8f3be0.entry.js.map +1 -0
  762. package/dist/zanichelli-it-frontend-kit/p-1edb773f.entry.js +2 -0
  763. package/dist/zanichelli-it-frontend-kit/p-1edb773f.entry.js.map +1 -0
  764. package/dist/zanichelli-it-frontend-kit/p-24c5e0cc.entry.js +2 -0
  765. package/dist/zanichelli-it-frontend-kit/p-24c5e0cc.entry.js.map +1 -0
  766. package/dist/zanichelli-it-frontend-kit/p-25b57525.entry.js +2 -0
  767. package/dist/zanichelli-it-frontend-kit/p-25b57525.entry.js.map +1 -0
  768. package/dist/zanichelli-it-frontend-kit/p-26c0bb2c.entry.js +2 -0
  769. package/dist/zanichelli-it-frontend-kit/p-26c0bb2c.entry.js.map +1 -0
  770. package/dist/zanichelli-it-frontend-kit/p-285d0e0f.entry.js +2 -0
  771. package/dist/zanichelli-it-frontend-kit/p-285d0e0f.entry.js.map +1 -0
  772. package/dist/zanichelli-it-frontend-kit/p-2e1826ab.entry.js +2 -0
  773. package/dist/zanichelli-it-frontend-kit/p-2e1826ab.entry.js.map +1 -0
  774. package/dist/zanichelli-it-frontend-kit/p-2fb38b5e.entry.js +2 -0
  775. package/dist/zanichelli-it-frontend-kit/p-2fb38b5e.entry.js.map +1 -0
  776. package/dist/zanichelli-it-frontend-kit/p-353dfd3a.entry.js +2 -0
  777. package/dist/zanichelli-it-frontend-kit/p-353dfd3a.entry.js.map +1 -0
  778. package/dist/zanichelli-it-frontend-kit/p-3b23bf6b.entry.js +2 -0
  779. package/dist/zanichelli-it-frontend-kit/p-3b23bf6b.entry.js.map +1 -0
  780. package/dist/zanichelli-it-frontend-kit/p-3c197169.entry.js +2 -0
  781. package/dist/zanichelli-it-frontend-kit/p-3c197169.entry.js.map +1 -0
  782. package/dist/zanichelli-it-frontend-kit/p-3f49652c.entry.js +2 -0
  783. package/dist/zanichelli-it-frontend-kit/p-3f49652c.entry.js.map +1 -0
  784. package/dist/zanichelli-it-frontend-kit/p-4035e4b7.entry.js +2 -0
  785. package/dist/zanichelli-it-frontend-kit/p-4035e4b7.entry.js.map +1 -0
  786. package/dist/zanichelli-it-frontend-kit/p-4ad3b8c3.entry.js +2 -0
  787. package/dist/zanichelli-it-frontend-kit/p-4ad3b8c3.entry.js.map +1 -0
  788. package/dist/zanichelli-it-frontend-kit/p-4b0f8b7c.entry.js +2 -0
  789. package/dist/zanichelli-it-frontend-kit/p-4b0f8b7c.entry.js.map +1 -0
  790. package/dist/zanichelli-it-frontend-kit/p-4e503a77.entry.js +2 -0
  791. package/dist/zanichelli-it-frontend-kit/p-4e503a77.entry.js.map +1 -0
  792. package/dist/zanichelli-it-frontend-kit/p-4fb10c24.entry.js +2 -0
  793. package/dist/zanichelli-it-frontend-kit/p-4fb10c24.entry.js.map +1 -0
  794. package/dist/zanichelli-it-frontend-kit/p-52d05436.entry.js +2 -0
  795. package/dist/zanichelli-it-frontend-kit/p-52d05436.entry.js.map +1 -0
  796. package/dist/zanichelli-it-frontend-kit/p-53c4cea5.entry.js +2 -0
  797. package/dist/zanichelli-it-frontend-kit/p-53c4cea5.entry.js.map +1 -0
  798. package/dist/zanichelli-it-frontend-kit/p-545cf652.entry.js +2 -0
  799. package/dist/zanichelli-it-frontend-kit/p-545cf652.entry.js.map +1 -0
  800. package/dist/zanichelli-it-frontend-kit/p-5edcf0ee.entry.js +2 -0
  801. package/dist/zanichelli-it-frontend-kit/p-5edcf0ee.entry.js.map +1 -0
  802. package/dist/zanichelli-it-frontend-kit/p-65f0a8cd.entry.js +2 -0
  803. package/dist/zanichelli-it-frontend-kit/p-65f0a8cd.entry.js.map +1 -0
  804. package/dist/zanichelli-it-frontend-kit/p-673af8ea.entry.js +2 -0
  805. package/dist/zanichelli-it-frontend-kit/p-673af8ea.entry.js.map +1 -0
  806. package/dist/zanichelli-it-frontend-kit/p-69c45802.entry.js +2 -0
  807. package/dist/zanichelli-it-frontend-kit/p-69c45802.entry.js.map +1 -0
  808. package/dist/zanichelli-it-frontend-kit/p-6aa64881.entry.js +2 -0
  809. package/dist/zanichelli-it-frontend-kit/p-6aa64881.entry.js.map +1 -0
  810. package/dist/zanichelli-it-frontend-kit/p-6d0758da.entry.js +2 -0
  811. package/dist/zanichelli-it-frontend-kit/p-6d0758da.entry.js.map +1 -0
  812. package/dist/zanichelli-it-frontend-kit/p-71c28d19.entry.js +2 -0
  813. package/dist/zanichelli-it-frontend-kit/p-71c28d19.entry.js.map +1 -0
  814. package/dist/zanichelli-it-frontend-kit/p-752d72d8.entry.js +2 -0
  815. package/dist/zanichelli-it-frontend-kit/p-752d72d8.entry.js.map +1 -0
  816. package/dist/zanichelli-it-frontend-kit/p-7534f34f.entry.js +2 -0
  817. package/dist/zanichelli-it-frontend-kit/p-7534f34f.entry.js.map +1 -0
  818. package/dist/zanichelli-it-frontend-kit/p-7551d826.entry.js +2 -0
  819. package/dist/zanichelli-it-frontend-kit/p-7551d826.entry.js.map +1 -0
  820. package/dist/zanichelli-it-frontend-kit/p-7d696560.entry.js +2 -0
  821. package/dist/zanichelli-it-frontend-kit/p-7d696560.entry.js.map +1 -0
  822. package/dist/zanichelli-it-frontend-kit/p-7f0a51da.entry.js +2 -0
  823. package/dist/zanichelli-it-frontend-kit/p-7f0a51da.entry.js.map +1 -0
  824. package/dist/zanichelli-it-frontend-kit/p-84a30acf.entry.js +17 -0
  825. package/dist/zanichelli-it-frontend-kit/p-84a30acf.entry.js.map +1 -0
  826. package/dist/zanichelli-it-frontend-kit/p-877d6f26.entry.js +2 -0
  827. package/dist/zanichelli-it-frontend-kit/p-877d6f26.entry.js.map +1 -0
  828. package/dist/zanichelli-it-frontend-kit/p-8bed1043.entry.js +2 -0
  829. package/dist/zanichelli-it-frontend-kit/p-8bed1043.entry.js.map +1 -0
  830. package/dist/zanichelli-it-frontend-kit/p-8c2538dc.entry.js +2 -0
  831. package/dist/zanichelli-it-frontend-kit/p-8c2538dc.entry.js.map +1 -0
  832. package/dist/zanichelli-it-frontend-kit/p-906081da.entry.js +2 -0
  833. package/dist/zanichelli-it-frontend-kit/p-906081da.entry.js.map +1 -0
  834. package/dist/zanichelli-it-frontend-kit/p-9126ad89.entry.js +2 -0
  835. package/dist/zanichelli-it-frontend-kit/p-9126ad89.entry.js.map +1 -0
  836. package/dist/zanichelli-it-frontend-kit/p-9260de4d.entry.js +2 -0
  837. package/dist/zanichelli-it-frontend-kit/p-9260de4d.entry.js.map +1 -0
  838. package/dist/zanichelli-it-frontend-kit/p-93176ede.entry.js +2 -0
  839. package/dist/zanichelli-it-frontend-kit/p-93176ede.entry.js.map +1 -0
  840. package/dist/zanichelli-it-frontend-kit/p-98b10414.entry.js +2 -0
  841. package/dist/zanichelli-it-frontend-kit/p-98b10414.entry.js.map +1 -0
  842. package/dist/zanichelli-it-frontend-kit/p-B2-dCTD2.js +2 -0
  843. package/dist/zanichelli-it-frontend-kit/p-B2-dCTD2.js.map +1 -0
  844. package/dist/zanichelli-it-frontend-kit/p-B85MJLTf.js +2 -0
  845. package/dist/zanichelli-it-frontend-kit/p-B85MJLTf.js.map +1 -0
  846. package/dist/zanichelli-it-frontend-kit/p-C46tSaXG.js +2 -0
  847. package/dist/zanichelli-it-frontend-kit/p-C46tSaXG.js.map +1 -0
  848. package/dist/zanichelli-it-frontend-kit/p-Cam6wBSi.js +3 -0
  849. package/dist/zanichelli-it-frontend-kit/p-Cam6wBSi.js.map +1 -0
  850. package/dist/zanichelli-it-frontend-kit/p-Cj7hOgFG.js +2 -0
  851. package/dist/zanichelli-it-frontend-kit/p-Cj7hOgFG.js.map +1 -0
  852. package/dist/zanichelli-it-frontend-kit/p-DQuL1Twl.js +2 -0
  853. package/dist/zanichelli-it-frontend-kit/p-DQuL1Twl.js.map +1 -0
  854. package/dist/zanichelli-it-frontend-kit/p-Q-tWjk7P.js +2 -0
  855. package/dist/zanichelli-it-frontend-kit/p-Q-tWjk7P.js.map +1 -0
  856. package/dist/zanichelli-it-frontend-kit/p-a7f0a630.entry.js +7 -0
  857. package/dist/zanichelli-it-frontend-kit/p-a7f0a630.entry.js.map +1 -0
  858. package/dist/zanichelli-it-frontend-kit/p-af8a7986.entry.js +2 -0
  859. package/dist/zanichelli-it-frontend-kit/p-af8a7986.entry.js.map +1 -0
  860. package/dist/zanichelli-it-frontend-kit/p-b8198b19.entry.js +2 -0
  861. package/dist/zanichelli-it-frontend-kit/p-b8198b19.entry.js.map +1 -0
  862. package/dist/zanichelli-it-frontend-kit/p-b9fba3a0.entry.js +2 -0
  863. package/dist/zanichelli-it-frontend-kit/p-b9fba3a0.entry.js.map +1 -0
  864. package/dist/zanichelli-it-frontend-kit/p-ba1d43ec.entry.js +2 -0
  865. package/dist/zanichelli-it-frontend-kit/p-ba1d43ec.entry.js.map +1 -0
  866. package/dist/zanichelli-it-frontend-kit/p-bdd53627.entry.js +2 -0
  867. package/dist/zanichelli-it-frontend-kit/p-bdd53627.entry.js.map +1 -0
  868. package/dist/zanichelli-it-frontend-kit/p-c363882e.entry.js +2 -0
  869. package/dist/zanichelli-it-frontend-kit/p-c363882e.entry.js.map +1 -0
  870. package/dist/zanichelli-it-frontend-kit/p-c55a5042.entry.js +2 -0
  871. package/dist/zanichelli-it-frontend-kit/p-c55a5042.entry.js.map +1 -0
  872. package/dist/zanichelli-it-frontend-kit/p-cc00d883.entry.js +2 -0
  873. package/dist/zanichelli-it-frontend-kit/p-cc00d883.entry.js.map +1 -0
  874. package/dist/zanichelli-it-frontend-kit/p-d23576e5.entry.js +2 -0
  875. package/dist/zanichelli-it-frontend-kit/p-d23576e5.entry.js.map +1 -0
  876. package/dist/zanichelli-it-frontend-kit/p-d3e18055.entry.js +2 -0
  877. package/dist/zanichelli-it-frontend-kit/p-d3e18055.entry.js.map +1 -0
  878. package/dist/zanichelli-it-frontend-kit/p-d404ce2d.entry.js +2 -0
  879. package/dist/zanichelli-it-frontend-kit/p-d404ce2d.entry.js.map +1 -0
  880. package/dist/zanichelli-it-frontend-kit/p-d767c93a.entry.js +2 -0
  881. package/dist/zanichelli-it-frontend-kit/p-d767c93a.entry.js.map +1 -0
  882. package/dist/zanichelli-it-frontend-kit/p-d854a0fb.entry.js +2 -0
  883. package/dist/zanichelli-it-frontend-kit/p-d854a0fb.entry.js.map +1 -0
  884. package/dist/zanichelli-it-frontend-kit/p-da27116e.entry.js +2 -0
  885. package/dist/zanichelli-it-frontend-kit/p-da27116e.entry.js.map +1 -0
  886. package/dist/zanichelli-it-frontend-kit/p-da73a0e0.entry.js +2 -0
  887. package/dist/zanichelli-it-frontend-kit/p-da73a0e0.entry.js.map +1 -0
  888. package/dist/zanichelli-it-frontend-kit/p-e3d9cd6c.entry.js +2 -0
  889. package/dist/zanichelli-it-frontend-kit/p-e3d9cd6c.entry.js.map +1 -0
  890. package/dist/zanichelli-it-frontend-kit/p-e46785e6.entry.js +2 -0
  891. package/dist/zanichelli-it-frontend-kit/p-e46785e6.entry.js.map +1 -0
  892. package/dist/zanichelli-it-frontend-kit/p-e60b79de.entry.js +2 -0
  893. package/dist/zanichelli-it-frontend-kit/p-e60b79de.entry.js.map +1 -0
  894. package/dist/zanichelli-it-frontend-kit/p-ea18b15f.entry.js +2 -0
  895. package/dist/zanichelli-it-frontend-kit/p-ea18b15f.entry.js.map +1 -0
  896. package/dist/zanichelli-it-frontend-kit/p-ea7db3b1.entry.js +2 -0
  897. package/dist/zanichelli-it-frontend-kit/p-ea7db3b1.entry.js.map +1 -0
  898. package/dist/zanichelli-it-frontend-kit/p-ec50e1b7.entry.js +2 -0
  899. package/dist/zanichelli-it-frontend-kit/p-ec50e1b7.entry.js.map +1 -0
  900. package/dist/zanichelli-it-frontend-kit/p-f0162a34.entry.js +2 -0
  901. package/dist/zanichelli-it-frontend-kit/p-f0162a34.entry.js.map +1 -0
  902. package/dist/zanichelli-it-frontend-kit/p-f70245a3.entry.js +2 -0
  903. package/dist/zanichelli-it-frontend-kit/p-f70245a3.entry.js.map +1 -0
  904. package/dist/zanichelli-it-frontend-kit/p-f765dd3e.entry.js +2 -0
  905. package/dist/zanichelli-it-frontend-kit/p-f765dd3e.entry.js.map +1 -0
  906. package/dist/zanichelli-it-frontend-kit/z-accordion.entry.esm.js.map +1 -0
  907. package/dist/zanichelli-it-frontend-kit/z-alert.entry.esm.js.map +1 -0
  908. package/dist/zanichelli-it-frontend-kit/z-anchor-navigation.entry.esm.js.map +1 -0
  909. package/dist/zanichelli-it-frontend-kit/z-app-header-deprecated.entry.esm.js.map +1 -0
  910. package/dist/zanichelli-it-frontend-kit/z-app-header.entry.esm.js.map +1 -0
  911. package/dist/zanichelli-it-frontend-kit/z-aria-alert.entry.esm.js.map +1 -0
  912. package/dist/zanichelli-it-frontend-kit/z-avatar.entry.esm.js.map +1 -0
  913. package/dist/zanichelli-it-frontend-kit/z-book-card-app.entry.esm.js.map +1 -0
  914. package/dist/zanichelli-it-frontend-kit/z-book-card-deprecated.entry.esm.js.map +1 -0
  915. package/dist/zanichelli-it-frontend-kit/z-book-card.entry.esm.js.map +1 -0
  916. package/dist/zanichelli-it-frontend-kit/z-breadcrumb.entry.esm.js.map +1 -0
  917. package/dist/zanichelli-it-frontend-kit/z-button-sort.entry.esm.js.map +1 -0
  918. package/dist/zanichelli-it-frontend-kit/z-button.z-icon.z-logo.zanit-menubar.zanit-mobile-menubar.entry.esm.js.map +1 -0
  919. package/dist/zanichelli-it-frontend-kit/z-card.entry.esm.js.map +1 -0
  920. package/dist/zanichelli-it-frontend-kit/z-carousel.entry.esm.js.map +1 -0
  921. package/dist/zanichelli-it-frontend-kit/z-chip.entry.esm.js.map +1 -0
  922. package/dist/zanichelli-it-frontend-kit/z-combobox.entry.esm.js.map +1 -0
  923. package/dist/zanichelli-it-frontend-kit/z-cover-hero.entry.esm.js.map +1 -0
  924. package/dist/zanichelli-it-frontend-kit/z-date-picker.entry.esm.js.map +1 -0
  925. package/dist/zanichelli-it-frontend-kit/z-divider.z-list-element.entry.esm.js.map +1 -0
  926. package/dist/zanichelli-it-frontend-kit/z-dragdrop-area.z-modal.entry.esm.js.map +1 -0
  927. package/dist/zanichelli-it-frontend-kit/z-file-upload.entry.esm.js.map +1 -0
  928. package/dist/zanichelli-it-frontend-kit/z-file.entry.esm.js.map +1 -0
  929. package/dist/zanichelli-it-frontend-kit/z-ghost-loading.entry.esm.js.map +1 -0
  930. package/dist/zanichelli-it-frontend-kit/z-info-box.entry.esm.js.map +1 -0
  931. package/dist/zanichelli-it-frontend-kit/z-info-reveal.entry.esm.js.map +1 -0
  932. package/dist/zanichelli-it-frontend-kit/z-input.z-input-message.entry.esm.js.map +1 -0
  933. package/dist/zanichelli-it-frontend-kit/z-list.z-list-group.z-tag.entry.esm.js.map +1 -0
  934. package/dist/zanichelli-it-frontend-kit/z-menu-deprecated.entry.esm.js.map +1 -0
  935. package/dist/zanichelli-it-frontend-kit/z-menu-section-deprecated.entry.esm.js.map +1 -0
  936. package/dist/zanichelli-it-frontend-kit/z-menu-section.entry.esm.js.map +1 -0
  937. package/dist/zanichelli-it-frontend-kit/z-menu.entry.esm.js.map +1 -0
  938. package/dist/zanichelli-it-frontend-kit/z-myz-card-alert.entry.esm.js.map +1 -0
  939. package/dist/zanichelli-it-frontend-kit/z-myz-card-dictionary.entry.esm.js.map +1 -0
  940. package/dist/zanichelli-it-frontend-kit/z-myz-card-footer-sections.entry.esm.js.map +1 -0
  941. package/dist/zanichelli-it-frontend-kit/z-myz-card-footer.entry.esm.js.map +1 -0
  942. package/dist/zanichelli-it-frontend-kit/z-myz-card-icon.entry.esm.js.map +1 -0
  943. package/dist/zanichelli-it-frontend-kit/z-myz-card-info.entry.esm.js.map +1 -0
  944. package/dist/zanichelli-it-frontend-kit/z-myz-card-list.entry.esm.js.map +1 -0
  945. package/dist/zanichelli-it-frontend-kit/z-myz-card.z-myz-card-body.z-myz-card-cover.z-myz-card-header.entry.esm.js.map +1 -0
  946. package/dist/zanichelli-it-frontend-kit/z-myz-list-item.entry.esm.js.map +1 -0
  947. package/dist/zanichelli-it-frontend-kit/z-myz-list.entry.esm.js.map +1 -0
  948. package/dist/zanichelli-it-frontend-kit/z-navigation-tabs.entry.esm.js.map +1 -0
  949. package/dist/zanichelli-it-frontend-kit/z-notification.entry.esm.js.map +1 -0
  950. package/dist/zanichelli-it-frontend-kit/z-offcanvas.z-searchbar.entry.esm.js.map +1 -0
  951. package/dist/zanichelli-it-frontend-kit/z-otp.entry.esm.js.map +1 -0
  952. package/dist/zanichelli-it-frontend-kit/z-pagination.entry.esm.js.map +1 -0
  953. package/dist/zanichelli-it-frontend-kit/z-panel-elem.entry.esm.js.map +1 -0
  954. package/dist/zanichelli-it-frontend-kit/z-popover.entry.esm.js.map +1 -0
  955. package/dist/zanichelli-it-frontend-kit/z-range-picker.entry.esm.js.map +1 -0
  956. package/dist/zanichelli-it-frontend-kit/z-section-title.entry.esm.js.map +1 -0
  957. package/dist/zanichelli-it-frontend-kit/z-select.entry.esm.js.map +1 -0
  958. package/dist/zanichelli-it-frontend-kit/z-skip-to-content.entry.esm.js.map +1 -0
  959. package/dist/zanichelli-it-frontend-kit/z-slideshow.entry.esm.js.map +1 -0
  960. package/dist/zanichelli-it-frontend-kit/z-stepper-item.entry.esm.js.map +1 -0
  961. package/dist/zanichelli-it-frontend-kit/z-stepper.entry.esm.js.map +1 -0
  962. package/dist/zanichelli-it-frontend-kit/z-table.entry.esm.js.map +1 -0
  963. package/dist/zanichelli-it-frontend-kit/z-tbody.entry.esm.js.map +1 -0
  964. package/dist/zanichelli-it-frontend-kit/z-td.entry.esm.js.map +1 -0
  965. package/dist/zanichelli-it-frontend-kit/z-tfoot.entry.esm.js.map +1 -0
  966. package/dist/zanichelli-it-frontend-kit/z-th.entry.esm.js.map +1 -0
  967. package/dist/zanichelli-it-frontend-kit/z-thead.entry.esm.js.map +1 -0
  968. package/dist/zanichelli-it-frontend-kit/z-toast-notification-list.entry.esm.js.map +1 -0
  969. package/dist/zanichelli-it-frontend-kit/z-toast-notification.entry.esm.js.map +1 -0
  970. package/dist/zanichelli-it-frontend-kit/z-toggle-button.entry.esm.js.map +1 -0
  971. package/dist/zanichelli-it-frontend-kit/z-toggle-switch.entry.esm.js.map +1 -0
  972. package/dist/zanichelli-it-frontend-kit/z-tooltip.entry.esm.js.map +1 -0
  973. package/dist/zanichelli-it-frontend-kit/z-tr.entry.esm.js.map +1 -0
  974. package/dist/zanichelli-it-frontend-kit/z-tree-list.entry.esm.js.map +1 -0
  975. package/dist/zanichelli-it-frontend-kit/z-visually-hidden.entry.esm.js.map +1 -0
  976. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.css +3038 -0
  977. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.esm.js +2 -0
  978. package/dist/zanichelli-it-frontend-kit/zanichelli-it-frontend-kit.esm.js.map +1 -0
  979. package/loader/cdn.js +1 -0
  980. package/loader/index.cjs.js +1 -0
  981. package/loader/index.d.ts +24 -0
  982. package/loader/index.es2017.js +1 -0
  983. package/loader/index.js +2 -0
  984. package/package.json +60 -0
  985. package/www/build/index.esm.js +3 -0
  986. package/www/build/index.esm.js.map +1 -0
  987. package/www/build/loader.esm.js.map +1 -0
  988. package/www/build/p-06a75db9.entry.js +2 -0
  989. package/www/build/p-06a75db9.entry.js.map +1 -0
  990. package/www/build/p-1301f408.entry.js +2 -0
  991. package/www/build/p-1301f408.entry.js.map +1 -0
  992. package/www/build/p-14695889.entry.js +2 -0
  993. package/www/build/p-14695889.entry.js.map +1 -0
  994. package/www/build/p-1a55b30b.entry.js +2 -0
  995. package/www/build/p-1a55b30b.entry.js.map +1 -0
  996. package/www/build/p-1d8f3be0.entry.js +2 -0
  997. package/www/build/p-1d8f3be0.entry.js.map +1 -0
  998. package/www/build/p-1edb773f.entry.js +2 -0
  999. package/www/build/p-1edb773f.entry.js.map +1 -0
  1000. package/www/build/p-24c5e0cc.entry.js +2 -0
  1001. package/www/build/p-24c5e0cc.entry.js.map +1 -0
  1002. package/www/build/p-25b57525.entry.js +2 -0
  1003. package/www/build/p-25b57525.entry.js.map +1 -0
  1004. package/www/build/p-26c0bb2c.entry.js +2 -0
  1005. package/www/build/p-26c0bb2c.entry.js.map +1 -0
  1006. package/www/build/p-285d0e0f.entry.js +2 -0
  1007. package/www/build/p-285d0e0f.entry.js.map +1 -0
  1008. package/www/build/p-2e1826ab.entry.js +2 -0
  1009. package/www/build/p-2e1826ab.entry.js.map +1 -0
  1010. package/www/build/p-2fb38b5e.entry.js +2 -0
  1011. package/www/build/p-2fb38b5e.entry.js.map +1 -0
  1012. package/www/build/p-353dfd3a.entry.js +2 -0
  1013. package/www/build/p-353dfd3a.entry.js.map +1 -0
  1014. package/www/build/p-3b23bf6b.entry.js +2 -0
  1015. package/www/build/p-3b23bf6b.entry.js.map +1 -0
  1016. package/www/build/p-3c197169.entry.js +2 -0
  1017. package/www/build/p-3c197169.entry.js.map +1 -0
  1018. package/www/build/p-3f49652c.entry.js +2 -0
  1019. package/www/build/p-3f49652c.entry.js.map +1 -0
  1020. package/www/build/p-4035e4b7.entry.js +2 -0
  1021. package/www/build/p-4035e4b7.entry.js.map +1 -0
  1022. package/www/build/p-4ad3b8c3.entry.js +2 -0
  1023. package/www/build/p-4ad3b8c3.entry.js.map +1 -0
  1024. package/www/build/p-4b0f8b7c.entry.js +2 -0
  1025. package/www/build/p-4b0f8b7c.entry.js.map +1 -0
  1026. package/www/build/p-4e503a77.entry.js +2 -0
  1027. package/www/build/p-4e503a77.entry.js.map +1 -0
  1028. package/www/build/p-4fb10c24.entry.js +2 -0
  1029. package/www/build/p-4fb10c24.entry.js.map +1 -0
  1030. package/www/build/p-52d05436.entry.js +2 -0
  1031. package/www/build/p-52d05436.entry.js.map +1 -0
  1032. package/www/build/p-53c4cea5.entry.js +2 -0
  1033. package/www/build/p-53c4cea5.entry.js.map +1 -0
  1034. package/www/build/p-545cf652.entry.js +2 -0
  1035. package/www/build/p-545cf652.entry.js.map +1 -0
  1036. package/www/build/p-5edcf0ee.entry.js +2 -0
  1037. package/www/build/p-5edcf0ee.entry.js.map +1 -0
  1038. package/www/build/p-65f0a8cd.entry.js +2 -0
  1039. package/www/build/p-65f0a8cd.entry.js.map +1 -0
  1040. package/www/build/p-673af8ea.entry.js +2 -0
  1041. package/www/build/p-673af8ea.entry.js.map +1 -0
  1042. package/www/build/p-69c45802.entry.js +2 -0
  1043. package/www/build/p-69c45802.entry.js.map +1 -0
  1044. package/www/build/p-6aa64881.entry.js +2 -0
  1045. package/www/build/p-6aa64881.entry.js.map +1 -0
  1046. package/www/build/p-6d0758da.entry.js +2 -0
  1047. package/www/build/p-6d0758da.entry.js.map +1 -0
  1048. package/www/build/p-71c28d19.entry.js +2 -0
  1049. package/www/build/p-71c28d19.entry.js.map +1 -0
  1050. package/www/build/p-752d72d8.entry.js +2 -0
  1051. package/www/build/p-752d72d8.entry.js.map +1 -0
  1052. package/www/build/p-7534f34f.entry.js +2 -0
  1053. package/www/build/p-7534f34f.entry.js.map +1 -0
  1054. package/www/build/p-7551d826.entry.js +2 -0
  1055. package/www/build/p-7551d826.entry.js.map +1 -0
  1056. package/www/build/p-7a88aaf5.css +3038 -0
  1057. package/www/build/p-7d696560.entry.js +2 -0
  1058. package/www/build/p-7d696560.entry.js.map +1 -0
  1059. package/www/build/p-7f0a51da.entry.js +2 -0
  1060. package/www/build/p-7f0a51da.entry.js.map +1 -0
  1061. package/www/build/p-84a30acf.entry.js +17 -0
  1062. package/www/build/p-84a30acf.entry.js.map +1 -0
  1063. package/www/build/p-877d6f26.entry.js +2 -0
  1064. package/www/build/p-877d6f26.entry.js.map +1 -0
  1065. package/www/build/p-8bed1043.entry.js +2 -0
  1066. package/www/build/p-8bed1043.entry.js.map +1 -0
  1067. package/www/build/p-8c2538dc.entry.js +2 -0
  1068. package/www/build/p-8c2538dc.entry.js.map +1 -0
  1069. package/www/build/p-906081da.entry.js +2 -0
  1070. package/www/build/p-906081da.entry.js.map +1 -0
  1071. package/www/build/p-9126ad89.entry.js +2 -0
  1072. package/www/build/p-9126ad89.entry.js.map +1 -0
  1073. package/www/build/p-9260de4d.entry.js +2 -0
  1074. package/www/build/p-9260de4d.entry.js.map +1 -0
  1075. package/www/build/p-93176ede.entry.js +2 -0
  1076. package/www/build/p-93176ede.entry.js.map +1 -0
  1077. package/www/build/p-98b10414.entry.js +2 -0
  1078. package/www/build/p-98b10414.entry.js.map +1 -0
  1079. package/www/build/p-B2-dCTD2.js +2 -0
  1080. package/www/build/p-B2-dCTD2.js.map +1 -0
  1081. package/www/build/p-B85MJLTf.js +2 -0
  1082. package/www/build/p-B85MJLTf.js.map +1 -0
  1083. package/www/build/p-C46tSaXG.js +2 -0
  1084. package/www/build/p-C46tSaXG.js.map +1 -0
  1085. package/www/build/p-Cam6wBSi.js +3 -0
  1086. package/www/build/p-Cam6wBSi.js.map +1 -0
  1087. package/www/build/p-Cj7hOgFG.js +2 -0
  1088. package/www/build/p-Cj7hOgFG.js.map +1 -0
  1089. package/www/build/p-DQuL1Twl.js +2 -0
  1090. package/www/build/p-DQuL1Twl.js.map +1 -0
  1091. package/www/build/p-Q-tWjk7P.js +2 -0
  1092. package/www/build/p-Q-tWjk7P.js.map +1 -0
  1093. package/www/build/p-a7f0a630.entry.js +7 -0
  1094. package/www/build/p-a7f0a630.entry.js.map +1 -0
  1095. package/www/build/p-af8a7986.entry.js +2 -0
  1096. package/www/build/p-af8a7986.entry.js.map +1 -0
  1097. package/www/build/p-b8198b19.entry.js +2 -0
  1098. package/www/build/p-b8198b19.entry.js.map +1 -0
  1099. package/www/build/p-b9fba3a0.entry.js +2 -0
  1100. package/www/build/p-b9fba3a0.entry.js.map +1 -0
  1101. package/www/build/p-ba1d43ec.entry.js +2 -0
  1102. package/www/build/p-ba1d43ec.entry.js.map +1 -0
  1103. package/www/build/p-bdd53627.entry.js +2 -0
  1104. package/www/build/p-bdd53627.entry.js.map +1 -0
  1105. package/www/build/p-c363882e.entry.js +2 -0
  1106. package/www/build/p-c363882e.entry.js.map +1 -0
  1107. package/www/build/p-c55a5042.entry.js +2 -0
  1108. package/www/build/p-c55a5042.entry.js.map +1 -0
  1109. package/www/build/p-cc00d883.entry.js +2 -0
  1110. package/www/build/p-cc00d883.entry.js.map +1 -0
  1111. package/www/build/p-ce3b9406.js +2 -0
  1112. package/www/build/p-d23576e5.entry.js +2 -0
  1113. package/www/build/p-d23576e5.entry.js.map +1 -0
  1114. package/www/build/p-d3e18055.entry.js +2 -0
  1115. package/www/build/p-d3e18055.entry.js.map +1 -0
  1116. package/www/build/p-d404ce2d.entry.js +2 -0
  1117. package/www/build/p-d404ce2d.entry.js.map +1 -0
  1118. package/www/build/p-d767c93a.entry.js +2 -0
  1119. package/www/build/p-d767c93a.entry.js.map +1 -0
  1120. package/www/build/p-d854a0fb.entry.js +2 -0
  1121. package/www/build/p-d854a0fb.entry.js.map +1 -0
  1122. package/www/build/p-da27116e.entry.js +2 -0
  1123. package/www/build/p-da27116e.entry.js.map +1 -0
  1124. package/www/build/p-da73a0e0.entry.js +2 -0
  1125. package/www/build/p-da73a0e0.entry.js.map +1 -0
  1126. package/www/build/p-e3d9cd6c.entry.js +2 -0
  1127. package/www/build/p-e3d9cd6c.entry.js.map +1 -0
  1128. package/www/build/p-e46785e6.entry.js +2 -0
  1129. package/www/build/p-e46785e6.entry.js.map +1 -0
  1130. package/www/build/p-e60b79de.entry.js +2 -0
  1131. package/www/build/p-e60b79de.entry.js.map +1 -0
  1132. package/www/build/p-ea18b15f.entry.js +2 -0
  1133. package/www/build/p-ea18b15f.entry.js.map +1 -0
  1134. package/www/build/p-ea7db3b1.entry.js +2 -0
  1135. package/www/build/p-ea7db3b1.entry.js.map +1 -0
  1136. package/www/build/p-ec50e1b7.entry.js +2 -0
  1137. package/www/build/p-ec50e1b7.entry.js.map +1 -0
  1138. package/www/build/p-f0162a34.entry.js +2 -0
  1139. package/www/build/p-f0162a34.entry.js.map +1 -0
  1140. package/www/build/p-f70245a3.entry.js +2 -0
  1141. package/www/build/p-f70245a3.entry.js.map +1 -0
  1142. package/www/build/p-f765dd3e.entry.js +2 -0
  1143. package/www/build/p-f765dd3e.entry.js.map +1 -0
  1144. package/www/build/z-accordion.entry.esm.js.map +1 -0
  1145. package/www/build/z-alert.entry.esm.js.map +1 -0
  1146. package/www/build/z-anchor-navigation.entry.esm.js.map +1 -0
  1147. package/www/build/z-app-header-deprecated.entry.esm.js.map +1 -0
  1148. package/www/build/z-app-header.entry.esm.js.map +1 -0
  1149. package/www/build/z-aria-alert.entry.esm.js.map +1 -0
  1150. package/www/build/z-avatar.entry.esm.js.map +1 -0
  1151. package/www/build/z-book-card-app.entry.esm.js.map +1 -0
  1152. package/www/build/z-book-card-deprecated.entry.esm.js.map +1 -0
  1153. package/www/build/z-book-card.entry.esm.js.map +1 -0
  1154. package/www/build/z-breadcrumb.entry.esm.js.map +1 -0
  1155. package/www/build/z-button-sort.entry.esm.js.map +1 -0
  1156. package/www/build/z-button.z-icon.z-logo.zanit-menubar.zanit-mobile-menubar.entry.esm.js.map +1 -0
  1157. package/www/build/z-card.entry.esm.js.map +1 -0
  1158. package/www/build/z-carousel.entry.esm.js.map +1 -0
  1159. package/www/build/z-chip.entry.esm.js.map +1 -0
  1160. package/www/build/z-combobox.entry.esm.js.map +1 -0
  1161. package/www/build/z-cover-hero.entry.esm.js.map +1 -0
  1162. package/www/build/z-date-picker.entry.esm.js.map +1 -0
  1163. package/www/build/z-divider.z-list-element.entry.esm.js.map +1 -0
  1164. package/www/build/z-dragdrop-area.z-modal.entry.esm.js.map +1 -0
  1165. package/www/build/z-file-upload.entry.esm.js.map +1 -0
  1166. package/www/build/z-file.entry.esm.js.map +1 -0
  1167. package/www/build/z-ghost-loading.entry.esm.js.map +1 -0
  1168. package/www/build/z-info-box.entry.esm.js.map +1 -0
  1169. package/www/build/z-info-reveal.entry.esm.js.map +1 -0
  1170. package/www/build/z-input.z-input-message.entry.esm.js.map +1 -0
  1171. package/www/build/z-list.z-list-group.z-tag.entry.esm.js.map +1 -0
  1172. package/www/build/z-menu-deprecated.entry.esm.js.map +1 -0
  1173. package/www/build/z-menu-section-deprecated.entry.esm.js.map +1 -0
  1174. package/www/build/z-menu-section.entry.esm.js.map +1 -0
  1175. package/www/build/z-menu.entry.esm.js.map +1 -0
  1176. package/www/build/z-myz-card-alert.entry.esm.js.map +1 -0
  1177. package/www/build/z-myz-card-dictionary.entry.esm.js.map +1 -0
  1178. package/www/build/z-myz-card-footer-sections.entry.esm.js.map +1 -0
  1179. package/www/build/z-myz-card-footer.entry.esm.js.map +1 -0
  1180. package/www/build/z-myz-card-icon.entry.esm.js.map +1 -0
  1181. package/www/build/z-myz-card-info.entry.esm.js.map +1 -0
  1182. package/www/build/z-myz-card-list.entry.esm.js.map +1 -0
  1183. package/www/build/z-myz-card.z-myz-card-body.z-myz-card-cover.z-myz-card-header.entry.esm.js.map +1 -0
  1184. package/www/build/z-myz-list-item.entry.esm.js.map +1 -0
  1185. package/www/build/z-myz-list.entry.esm.js.map +1 -0
  1186. package/www/build/z-navigation-tabs.entry.esm.js.map +1 -0
  1187. package/www/build/z-notification.entry.esm.js.map +1 -0
  1188. package/www/build/z-offcanvas.z-searchbar.entry.esm.js.map +1 -0
  1189. package/www/build/z-otp.entry.esm.js.map +1 -0
  1190. package/www/build/z-pagination.entry.esm.js.map +1 -0
  1191. package/www/build/z-panel-elem.entry.esm.js.map +1 -0
  1192. package/www/build/z-popover.entry.esm.js.map +1 -0
  1193. package/www/build/z-range-picker.entry.esm.js.map +1 -0
  1194. package/www/build/z-section-title.entry.esm.js.map +1 -0
  1195. package/www/build/z-select.entry.esm.js.map +1 -0
  1196. package/www/build/z-skip-to-content.entry.esm.js.map +1 -0
  1197. package/www/build/z-slideshow.entry.esm.js.map +1 -0
  1198. package/www/build/z-stepper-item.entry.esm.js.map +1 -0
  1199. package/www/build/z-stepper.entry.esm.js.map +1 -0
  1200. package/www/build/z-table.entry.esm.js.map +1 -0
  1201. package/www/build/z-tbody.entry.esm.js.map +1 -0
  1202. package/www/build/z-td.entry.esm.js.map +1 -0
  1203. package/www/build/z-tfoot.entry.esm.js.map +1 -0
  1204. package/www/build/z-th.entry.esm.js.map +1 -0
  1205. package/www/build/z-thead.entry.esm.js.map +1 -0
  1206. package/www/build/z-toast-notification-list.entry.esm.js.map +1 -0
  1207. package/www/build/z-toast-notification.entry.esm.js.map +1 -0
  1208. package/www/build/z-toggle-button.entry.esm.js.map +1 -0
  1209. package/www/build/z-toggle-switch.entry.esm.js.map +1 -0
  1210. package/www/build/z-tooltip.entry.esm.js.map +1 -0
  1211. package/www/build/z-tr.entry.esm.js.map +1 -0
  1212. package/www/build/z-tree-list.entry.esm.js.map +1 -0
  1213. package/www/build/z-visually-hidden.entry.esm.js.map +1 -0
  1214. package/www/build/zanichelli-it-frontend-kit.css +3038 -0
  1215. package/www/build/zanichelli-it-frontend-kit.esm.js +2 -0
  1216. package/www/build/zanichelli-it-frontend-kit.esm.js.map +1 -0
  1217. package/www/build/zanichelli-it-frontend-kit.js +33 -0
  1218. package/www/host.config.json +15 -0
  1219. package/www/index.html +163 -0
@@ -0,0 +1,2858 @@
1
+ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-Dxu5saXC.js';
2
+ import { R as ToastNotificationTransition, K as KeyboardCode } from './p-Bla2iV_L.js';
3
+ import { g as getDefaultExportFromCjs } from './p-B85MJLTf.js';
4
+ import { d as defineCustomElement$2 } from './p-DexdQ2O9.js';
5
+
6
+ var hammer = {exports: {}};
7
+
8
+ /*! Hammer.JS - v2.0.7 - 2016-04-22
9
+ * http://hammerjs.github.io/
10
+ *
11
+ * Copyright (c) 2016 Jorik Tangelder;
12
+ * Licensed under the MIT license */
13
+
14
+ var hasRequiredHammer;
15
+
16
+ function requireHammer () {
17
+ if (hasRequiredHammer) return hammer.exports;
18
+ hasRequiredHammer = 1;
19
+ (function (module) {
20
+ (function(window, document, exportName, undefined$1) {
21
+
22
+ var VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];
23
+ var TEST_ELEMENT = document.createElement('div');
24
+
25
+ var TYPE_FUNCTION = 'function';
26
+
27
+ var round = Math.round;
28
+ var abs = Math.abs;
29
+ var now = Date.now;
30
+
31
+ /**
32
+ * set a timeout with a given scope
33
+ * @param {Function} fn
34
+ * @param {Number} timeout
35
+ * @param {Object} context
36
+ * @returns {number}
37
+ */
38
+ function setTimeoutContext(fn, timeout, context) {
39
+ return setTimeout(bindFn(fn, context), timeout);
40
+ }
41
+
42
+ /**
43
+ * if the argument is an array, we want to execute the fn on each entry
44
+ * if it aint an array we don't want to do a thing.
45
+ * this is used by all the methods that accept a single and array argument.
46
+ * @param {*|Array} arg
47
+ * @param {String} fn
48
+ * @param {Object} [context]
49
+ * @returns {Boolean}
50
+ */
51
+ function invokeArrayArg(arg, fn, context) {
52
+ if (Array.isArray(arg)) {
53
+ each(arg, context[fn], context);
54
+ return true;
55
+ }
56
+ return false;
57
+ }
58
+
59
+ /**
60
+ * walk objects and arrays
61
+ * @param {Object} obj
62
+ * @param {Function} iterator
63
+ * @param {Object} context
64
+ */
65
+ function each(obj, iterator, context) {
66
+ var i;
67
+
68
+ if (!obj) {
69
+ return;
70
+ }
71
+
72
+ if (obj.forEach) {
73
+ obj.forEach(iterator, context);
74
+ } else if (obj.length !== undefined$1) {
75
+ i = 0;
76
+ while (i < obj.length) {
77
+ iterator.call(context, obj[i], i, obj);
78
+ i++;
79
+ }
80
+ } else {
81
+ for (i in obj) {
82
+ obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);
83
+ }
84
+ }
85
+ }
86
+
87
+ /**
88
+ * wrap a method with a deprecation warning and stack trace
89
+ * @param {Function} method
90
+ * @param {String} name
91
+ * @param {String} message
92
+ * @returns {Function} A new function wrapping the supplied method.
93
+ */
94
+ function deprecate(method, name, message) {
95
+ var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\n' + message + ' AT \n';
96
+ return function() {
97
+ var e = new Error('get-stack-trace');
98
+ var stack = e && e.stack ? e.stack.replace(/^[^\(]+?[\n$]/gm, '')
99
+ .replace(/^\s+at\s+/gm, '')
100
+ .replace(/^Object.<anonymous>\s*\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';
101
+
102
+ var log = window.console && (window.console.warn || window.console.log);
103
+ if (log) {
104
+ log.call(window.console, deprecationMessage, stack);
105
+ }
106
+ return method.apply(this, arguments);
107
+ };
108
+ }
109
+
110
+ /**
111
+ * extend object.
112
+ * means that properties in dest will be overwritten by the ones in src.
113
+ * @param {Object} target
114
+ * @param {...Object} objects_to_assign
115
+ * @returns {Object} target
116
+ */
117
+ var assign;
118
+ if (typeof Object.assign !== 'function') {
119
+ assign = function assign(target) {
120
+ if (target === undefined$1 || target === null) {
121
+ throw new TypeError('Cannot convert undefined or null to object');
122
+ }
123
+
124
+ var output = Object(target);
125
+ for (var index = 1; index < arguments.length; index++) {
126
+ var source = arguments[index];
127
+ if (source !== undefined$1 && source !== null) {
128
+ for (var nextKey in source) {
129
+ if (source.hasOwnProperty(nextKey)) {
130
+ output[nextKey] = source[nextKey];
131
+ }
132
+ }
133
+ }
134
+ }
135
+ return output;
136
+ };
137
+ } else {
138
+ assign = Object.assign;
139
+ }
140
+
141
+ /**
142
+ * extend object.
143
+ * means that properties in dest will be overwritten by the ones in src.
144
+ * @param {Object} dest
145
+ * @param {Object} src
146
+ * @param {Boolean} [merge=false]
147
+ * @returns {Object} dest
148
+ */
149
+ var extend = deprecate(function extend(dest, src, merge) {
150
+ var keys = Object.keys(src);
151
+ var i = 0;
152
+ while (i < keys.length) {
153
+ if (!merge || (merge && dest[keys[i]] === undefined$1)) {
154
+ dest[keys[i]] = src[keys[i]];
155
+ }
156
+ i++;
157
+ }
158
+ return dest;
159
+ }, 'extend', 'Use `assign`.');
160
+
161
+ /**
162
+ * merge the values from src in the dest.
163
+ * means that properties that exist in dest will not be overwritten by src
164
+ * @param {Object} dest
165
+ * @param {Object} src
166
+ * @returns {Object} dest
167
+ */
168
+ var merge = deprecate(function merge(dest, src) {
169
+ return extend(dest, src, true);
170
+ }, 'merge', 'Use `assign`.');
171
+
172
+ /**
173
+ * simple class inheritance
174
+ * @param {Function} child
175
+ * @param {Function} base
176
+ * @param {Object} [properties]
177
+ */
178
+ function inherit(child, base, properties) {
179
+ var baseP = base.prototype,
180
+ childP;
181
+
182
+ childP = child.prototype = Object.create(baseP);
183
+ childP.constructor = child;
184
+ childP._super = baseP;
185
+
186
+ if (properties) {
187
+ assign(childP, properties);
188
+ }
189
+ }
190
+
191
+ /**
192
+ * simple function bind
193
+ * @param {Function} fn
194
+ * @param {Object} context
195
+ * @returns {Function}
196
+ */
197
+ function bindFn(fn, context) {
198
+ return function boundFn() {
199
+ return fn.apply(context, arguments);
200
+ };
201
+ }
202
+
203
+ /**
204
+ * let a boolean value also be a function that must return a boolean
205
+ * this first item in args will be used as the context
206
+ * @param {Boolean|Function} val
207
+ * @param {Array} [args]
208
+ * @returns {Boolean}
209
+ */
210
+ function boolOrFn(val, args) {
211
+ if (typeof val == TYPE_FUNCTION) {
212
+ return val.apply(args ? args[0] || undefined$1 : undefined$1, args);
213
+ }
214
+ return val;
215
+ }
216
+
217
+ /**
218
+ * use the val2 when val1 is undefined
219
+ * @param {*} val1
220
+ * @param {*} val2
221
+ * @returns {*}
222
+ */
223
+ function ifUndefined(val1, val2) {
224
+ return (val1 === undefined$1) ? val2 : val1;
225
+ }
226
+
227
+ /**
228
+ * addEventListener with multiple events at once
229
+ * @param {EventTarget} target
230
+ * @param {String} types
231
+ * @param {Function} handler
232
+ */
233
+ function addEventListeners(target, types, handler) {
234
+ each(splitStr(types), function(type) {
235
+ target.addEventListener(type, handler, false);
236
+ });
237
+ }
238
+
239
+ /**
240
+ * removeEventListener with multiple events at once
241
+ * @param {EventTarget} target
242
+ * @param {String} types
243
+ * @param {Function} handler
244
+ */
245
+ function removeEventListeners(target, types, handler) {
246
+ each(splitStr(types), function(type) {
247
+ target.removeEventListener(type, handler, false);
248
+ });
249
+ }
250
+
251
+ /**
252
+ * find if a node is in the given parent
253
+ * @method hasParent
254
+ * @param {HTMLElement} node
255
+ * @param {HTMLElement} parent
256
+ * @return {Boolean} found
257
+ */
258
+ function hasParent(node, parent) {
259
+ while (node) {
260
+ if (node == parent) {
261
+ return true;
262
+ }
263
+ node = node.parentNode;
264
+ }
265
+ return false;
266
+ }
267
+
268
+ /**
269
+ * small indexOf wrapper
270
+ * @param {String} str
271
+ * @param {String} find
272
+ * @returns {Boolean} found
273
+ */
274
+ function inStr(str, find) {
275
+ return str.indexOf(find) > -1;
276
+ }
277
+
278
+ /**
279
+ * split string on whitespace
280
+ * @param {String} str
281
+ * @returns {Array} words
282
+ */
283
+ function splitStr(str) {
284
+ return str.trim().split(/\s+/g);
285
+ }
286
+
287
+ /**
288
+ * find if a array contains the object using indexOf or a simple polyFill
289
+ * @param {Array} src
290
+ * @param {String} find
291
+ * @param {String} [findByKey]
292
+ * @return {Boolean|Number} false when not found, or the index
293
+ */
294
+ function inArray(src, find, findByKey) {
295
+ if (src.indexOf && !findByKey) {
296
+ return src.indexOf(find);
297
+ } else {
298
+ var i = 0;
299
+ while (i < src.length) {
300
+ if ((findByKey && src[i][findByKey] == find) || (!findByKey && src[i] === find)) {
301
+ return i;
302
+ }
303
+ i++;
304
+ }
305
+ return -1;
306
+ }
307
+ }
308
+
309
+ /**
310
+ * convert array-like objects to real arrays
311
+ * @param {Object} obj
312
+ * @returns {Array}
313
+ */
314
+ function toArray(obj) {
315
+ return Array.prototype.slice.call(obj, 0);
316
+ }
317
+
318
+ /**
319
+ * unique array with objects based on a key (like 'id') or just by the array's value
320
+ * @param {Array} src [{id:1},{id:2},{id:1}]
321
+ * @param {String} [key]
322
+ * @param {Boolean} [sort=False]
323
+ * @returns {Array} [{id:1},{id:2}]
324
+ */
325
+ function uniqueArray(src, key, sort) {
326
+ var results = [];
327
+ var values = [];
328
+ var i = 0;
329
+
330
+ while (i < src.length) {
331
+ var val = src[i][key] ;
332
+ if (inArray(values, val) < 0) {
333
+ results.push(src[i]);
334
+ }
335
+ values[i] = val;
336
+ i++;
337
+ }
338
+
339
+ {
340
+ {
341
+ results = results.sort(function sortUniqueArray(a, b) {
342
+ return a[key] > b[key];
343
+ });
344
+ }
345
+ }
346
+
347
+ return results;
348
+ }
349
+
350
+ /**
351
+ * get the prefixed property
352
+ * @param {Object} obj
353
+ * @param {String} property
354
+ * @returns {String|Undefined} prefixed
355
+ */
356
+ function prefixed(obj, property) {
357
+ var prefix, prop;
358
+ var camelProp = property[0].toUpperCase() + property.slice(1);
359
+
360
+ var i = 0;
361
+ while (i < VENDOR_PREFIXES.length) {
362
+ prefix = VENDOR_PREFIXES[i];
363
+ prop = (prefix) ? prefix + camelProp : property;
364
+
365
+ if (prop in obj) {
366
+ return prop;
367
+ }
368
+ i++;
369
+ }
370
+ return undefined$1;
371
+ }
372
+
373
+ /**
374
+ * get a unique id
375
+ * @returns {number} uniqueId
376
+ */
377
+ var _uniqueId = 1;
378
+ function uniqueId() {
379
+ return _uniqueId++;
380
+ }
381
+
382
+ /**
383
+ * get the window object of an element
384
+ * @param {HTMLElement} element
385
+ * @returns {DocumentView|Window}
386
+ */
387
+ function getWindowForElement(element) {
388
+ var doc = element.ownerDocument || element;
389
+ return (doc.defaultView || doc.parentWindow || window);
390
+ }
391
+
392
+ var MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;
393
+
394
+ var SUPPORT_TOUCH = ('ontouchstart' in window);
395
+ var SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined$1;
396
+ var SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);
397
+
398
+ var INPUT_TYPE_TOUCH = 'touch';
399
+ var INPUT_TYPE_PEN = 'pen';
400
+ var INPUT_TYPE_MOUSE = 'mouse';
401
+ var INPUT_TYPE_KINECT = 'kinect';
402
+
403
+ var COMPUTE_INTERVAL = 25;
404
+
405
+ var INPUT_START = 1;
406
+ var INPUT_MOVE = 2;
407
+ var INPUT_END = 4;
408
+ var INPUT_CANCEL = 8;
409
+
410
+ var DIRECTION_NONE = 1;
411
+ var DIRECTION_LEFT = 2;
412
+ var DIRECTION_RIGHT = 4;
413
+ var DIRECTION_UP = 8;
414
+ var DIRECTION_DOWN = 16;
415
+
416
+ var DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;
417
+ var DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;
418
+ var DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;
419
+
420
+ var PROPS_XY = ['x', 'y'];
421
+ var PROPS_CLIENT_XY = ['clientX', 'clientY'];
422
+
423
+ /**
424
+ * create new input type manager
425
+ * @param {Manager} manager
426
+ * @param {Function} callback
427
+ * @returns {Input}
428
+ * @constructor
429
+ */
430
+ function Input(manager, callback) {
431
+ var self = this;
432
+ this.manager = manager;
433
+ this.callback = callback;
434
+ this.element = manager.element;
435
+ this.target = manager.options.inputTarget;
436
+
437
+ // smaller wrapper around the handler, for the scope and the enabled state of the manager,
438
+ // so when disabled the input events are completely bypassed.
439
+ this.domHandler = function(ev) {
440
+ if (boolOrFn(manager.options.enable, [manager])) {
441
+ self.handler(ev);
442
+ }
443
+ };
444
+
445
+ this.init();
446
+
447
+ }
448
+
449
+ Input.prototype = {
450
+ /**
451
+ * should handle the inputEvent data and trigger the callback
452
+ * @virtual
453
+ */
454
+ handler: function() { },
455
+
456
+ /**
457
+ * bind the events
458
+ */
459
+ init: function() {
460
+ this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);
461
+ this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);
462
+ this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);
463
+ },
464
+
465
+ /**
466
+ * unbind the events
467
+ */
468
+ destroy: function() {
469
+ this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);
470
+ this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);
471
+ this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);
472
+ }
473
+ };
474
+
475
+ /**
476
+ * create new input type manager
477
+ * called by the Manager constructor
478
+ * @param {Hammer} manager
479
+ * @returns {Input}
480
+ */
481
+ function createInputInstance(manager) {
482
+ var Type;
483
+ var inputClass = manager.options.inputClass;
484
+
485
+ if (inputClass) {
486
+ Type = inputClass;
487
+ } else if (SUPPORT_POINTER_EVENTS) {
488
+ Type = PointerEventInput;
489
+ } else if (SUPPORT_ONLY_TOUCH) {
490
+ Type = TouchInput;
491
+ } else if (!SUPPORT_TOUCH) {
492
+ Type = MouseInput;
493
+ } else {
494
+ Type = TouchMouseInput;
495
+ }
496
+ return new (Type)(manager, inputHandler);
497
+ }
498
+
499
+ /**
500
+ * handle input events
501
+ * @param {Manager} manager
502
+ * @param {String} eventType
503
+ * @param {Object} input
504
+ */
505
+ function inputHandler(manager, eventType, input) {
506
+ var pointersLen = input.pointers.length;
507
+ var changedPointersLen = input.changedPointers.length;
508
+ var isFirst = (eventType & INPUT_START && (pointersLen - changedPointersLen === 0));
509
+ var isFinal = (eventType & (INPUT_END | INPUT_CANCEL) && (pointersLen - changedPointersLen === 0));
510
+
511
+ input.isFirst = !!isFirst;
512
+ input.isFinal = !!isFinal;
513
+
514
+ if (isFirst) {
515
+ manager.session = {};
516
+ }
517
+
518
+ // source event is the normalized value of the domEvents
519
+ // like 'touchstart, mouseup, pointerdown'
520
+ input.eventType = eventType;
521
+
522
+ // compute scale, rotation etc
523
+ computeInputData(manager, input);
524
+
525
+ // emit secret event
526
+ manager.emit('hammer.input', input);
527
+
528
+ manager.recognize(input);
529
+ manager.session.prevInput = input;
530
+ }
531
+
532
+ /**
533
+ * extend the data with some usable properties like scale, rotate, velocity etc
534
+ * @param {Object} manager
535
+ * @param {Object} input
536
+ */
537
+ function computeInputData(manager, input) {
538
+ var session = manager.session;
539
+ var pointers = input.pointers;
540
+ var pointersLength = pointers.length;
541
+
542
+ // store the first input to calculate the distance and direction
543
+ if (!session.firstInput) {
544
+ session.firstInput = simpleCloneInputData(input);
545
+ }
546
+
547
+ // to compute scale and rotation we need to store the multiple touches
548
+ if (pointersLength > 1 && !session.firstMultiple) {
549
+ session.firstMultiple = simpleCloneInputData(input);
550
+ } else if (pointersLength === 1) {
551
+ session.firstMultiple = false;
552
+ }
553
+
554
+ var firstInput = session.firstInput;
555
+ var firstMultiple = session.firstMultiple;
556
+ var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;
557
+
558
+ var center = input.center = getCenter(pointers);
559
+ input.timeStamp = now();
560
+ input.deltaTime = input.timeStamp - firstInput.timeStamp;
561
+
562
+ input.angle = getAngle(offsetCenter, center);
563
+ input.distance = getDistance(offsetCenter, center);
564
+
565
+ computeDeltaXY(session, input);
566
+ input.offsetDirection = getDirection(input.deltaX, input.deltaY);
567
+
568
+ var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);
569
+ input.overallVelocityX = overallVelocity.x;
570
+ input.overallVelocityY = overallVelocity.y;
571
+ input.overallVelocity = (abs(overallVelocity.x) > abs(overallVelocity.y)) ? overallVelocity.x : overallVelocity.y;
572
+
573
+ input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;
574
+ input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;
575
+
576
+ input.maxPointers = !session.prevInput ? input.pointers.length : ((input.pointers.length >
577
+ session.prevInput.maxPointers) ? input.pointers.length : session.prevInput.maxPointers);
578
+
579
+ computeIntervalInputData(session, input);
580
+
581
+ // find the correct target
582
+ var target = manager.element;
583
+ if (hasParent(input.srcEvent.target, target)) {
584
+ target = input.srcEvent.target;
585
+ }
586
+ input.target = target;
587
+ }
588
+
589
+ function computeDeltaXY(session, input) {
590
+ var center = input.center;
591
+ var offset = session.offsetDelta || {};
592
+ var prevDelta = session.prevDelta || {};
593
+ var prevInput = session.prevInput || {};
594
+
595
+ if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {
596
+ prevDelta = session.prevDelta = {
597
+ x: prevInput.deltaX || 0,
598
+ y: prevInput.deltaY || 0
599
+ };
600
+
601
+ offset = session.offsetDelta = {
602
+ x: center.x,
603
+ y: center.y
604
+ };
605
+ }
606
+
607
+ input.deltaX = prevDelta.x + (center.x - offset.x);
608
+ input.deltaY = prevDelta.y + (center.y - offset.y);
609
+ }
610
+
611
+ /**
612
+ * velocity is calculated every x ms
613
+ * @param {Object} session
614
+ * @param {Object} input
615
+ */
616
+ function computeIntervalInputData(session, input) {
617
+ var last = session.lastInterval || input,
618
+ deltaTime = input.timeStamp - last.timeStamp,
619
+ velocity, velocityX, velocityY, direction;
620
+
621
+ if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined$1)) {
622
+ var deltaX = input.deltaX - last.deltaX;
623
+ var deltaY = input.deltaY - last.deltaY;
624
+
625
+ var v = getVelocity(deltaTime, deltaX, deltaY);
626
+ velocityX = v.x;
627
+ velocityY = v.y;
628
+ velocity = (abs(v.x) > abs(v.y)) ? v.x : v.y;
629
+ direction = getDirection(deltaX, deltaY);
630
+
631
+ session.lastInterval = input;
632
+ } else {
633
+ // use latest velocity info if it doesn't overtake a minimum period
634
+ velocity = last.velocity;
635
+ velocityX = last.velocityX;
636
+ velocityY = last.velocityY;
637
+ direction = last.direction;
638
+ }
639
+
640
+ input.velocity = velocity;
641
+ input.velocityX = velocityX;
642
+ input.velocityY = velocityY;
643
+ input.direction = direction;
644
+ }
645
+
646
+ /**
647
+ * create a simple clone from the input used for storage of firstInput and firstMultiple
648
+ * @param {Object} input
649
+ * @returns {Object} clonedInputData
650
+ */
651
+ function simpleCloneInputData(input) {
652
+ // make a simple copy of the pointers because we will get a reference if we don't
653
+ // we only need clientXY for the calculations
654
+ var pointers = [];
655
+ var i = 0;
656
+ while (i < input.pointers.length) {
657
+ pointers[i] = {
658
+ clientX: round(input.pointers[i].clientX),
659
+ clientY: round(input.pointers[i].clientY)
660
+ };
661
+ i++;
662
+ }
663
+
664
+ return {
665
+ timeStamp: now(),
666
+ pointers: pointers,
667
+ center: getCenter(pointers),
668
+ deltaX: input.deltaX,
669
+ deltaY: input.deltaY
670
+ };
671
+ }
672
+
673
+ /**
674
+ * get the center of all the pointers
675
+ * @param {Array} pointers
676
+ * @return {Object} center contains `x` and `y` properties
677
+ */
678
+ function getCenter(pointers) {
679
+ var pointersLength = pointers.length;
680
+
681
+ // no need to loop when only one touch
682
+ if (pointersLength === 1) {
683
+ return {
684
+ x: round(pointers[0].clientX),
685
+ y: round(pointers[0].clientY)
686
+ };
687
+ }
688
+
689
+ var x = 0, y = 0, i = 0;
690
+ while (i < pointersLength) {
691
+ x += pointers[i].clientX;
692
+ y += pointers[i].clientY;
693
+ i++;
694
+ }
695
+
696
+ return {
697
+ x: round(x / pointersLength),
698
+ y: round(y / pointersLength)
699
+ };
700
+ }
701
+
702
+ /**
703
+ * calculate the velocity between two points. unit is in px per ms.
704
+ * @param {Number} deltaTime
705
+ * @param {Number} x
706
+ * @param {Number} y
707
+ * @return {Object} velocity `x` and `y`
708
+ */
709
+ function getVelocity(deltaTime, x, y) {
710
+ return {
711
+ x: x / deltaTime || 0,
712
+ y: y / deltaTime || 0
713
+ };
714
+ }
715
+
716
+ /**
717
+ * get the direction between two points
718
+ * @param {Number} x
719
+ * @param {Number} y
720
+ * @return {Number} direction
721
+ */
722
+ function getDirection(x, y) {
723
+ if (x === y) {
724
+ return DIRECTION_NONE;
725
+ }
726
+
727
+ if (abs(x) >= abs(y)) {
728
+ return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;
729
+ }
730
+ return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;
731
+ }
732
+
733
+ /**
734
+ * calculate the absolute distance between two points
735
+ * @param {Object} p1 {x, y}
736
+ * @param {Object} p2 {x, y}
737
+ * @param {Array} [props] containing x and y keys
738
+ * @return {Number} distance
739
+ */
740
+ function getDistance(p1, p2, props) {
741
+ if (!props) {
742
+ props = PROPS_XY;
743
+ }
744
+ var x = p2[props[0]] - p1[props[0]],
745
+ y = p2[props[1]] - p1[props[1]];
746
+
747
+ return Math.sqrt((x * x) + (y * y));
748
+ }
749
+
750
+ /**
751
+ * calculate the angle between two coordinates
752
+ * @param {Object} p1
753
+ * @param {Object} p2
754
+ * @param {Array} [props] containing x and y keys
755
+ * @return {Number} angle
756
+ */
757
+ function getAngle(p1, p2, props) {
758
+ if (!props) {
759
+ props = PROPS_XY;
760
+ }
761
+ var x = p2[props[0]] - p1[props[0]],
762
+ y = p2[props[1]] - p1[props[1]];
763
+ return Math.atan2(y, x) * 180 / Math.PI;
764
+ }
765
+
766
+ /**
767
+ * calculate the rotation degrees between two pointersets
768
+ * @param {Array} start array of pointers
769
+ * @param {Array} end array of pointers
770
+ * @return {Number} rotation
771
+ */
772
+ function getRotation(start, end) {
773
+ return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);
774
+ }
775
+
776
+ /**
777
+ * calculate the scale factor between two pointersets
778
+ * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out
779
+ * @param {Array} start array of pointers
780
+ * @param {Array} end array of pointers
781
+ * @return {Number} scale
782
+ */
783
+ function getScale(start, end) {
784
+ return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);
785
+ }
786
+
787
+ var MOUSE_INPUT_MAP = {
788
+ mousedown: INPUT_START,
789
+ mousemove: INPUT_MOVE,
790
+ mouseup: INPUT_END
791
+ };
792
+
793
+ var MOUSE_ELEMENT_EVENTS = 'mousedown';
794
+ var MOUSE_WINDOW_EVENTS = 'mousemove mouseup';
795
+
796
+ /**
797
+ * Mouse events input
798
+ * @constructor
799
+ * @extends Input
800
+ */
801
+ function MouseInput() {
802
+ this.evEl = MOUSE_ELEMENT_EVENTS;
803
+ this.evWin = MOUSE_WINDOW_EVENTS;
804
+
805
+ this.pressed = false; // mousedown state
806
+
807
+ Input.apply(this, arguments);
808
+ }
809
+
810
+ inherit(MouseInput, Input, {
811
+ /**
812
+ * handle mouse events
813
+ * @param {Object} ev
814
+ */
815
+ handler: function MEhandler(ev) {
816
+ var eventType = MOUSE_INPUT_MAP[ev.type];
817
+
818
+ // on start we want to have the left mouse button down
819
+ if (eventType & INPUT_START && ev.button === 0) {
820
+ this.pressed = true;
821
+ }
822
+
823
+ if (eventType & INPUT_MOVE && ev.which !== 1) {
824
+ eventType = INPUT_END;
825
+ }
826
+
827
+ // mouse must be down
828
+ if (!this.pressed) {
829
+ return;
830
+ }
831
+
832
+ if (eventType & INPUT_END) {
833
+ this.pressed = false;
834
+ }
835
+
836
+ this.callback(this.manager, eventType, {
837
+ pointers: [ev],
838
+ changedPointers: [ev],
839
+ pointerType: INPUT_TYPE_MOUSE,
840
+ srcEvent: ev
841
+ });
842
+ }
843
+ });
844
+
845
+ var POINTER_INPUT_MAP = {
846
+ pointerdown: INPUT_START,
847
+ pointermove: INPUT_MOVE,
848
+ pointerup: INPUT_END,
849
+ pointercancel: INPUT_CANCEL,
850
+ pointerout: INPUT_CANCEL
851
+ };
852
+
853
+ // in IE10 the pointer types is defined as an enum
854
+ var IE10_POINTER_TYPE_ENUM = {
855
+ 2: INPUT_TYPE_TOUCH,
856
+ 3: INPUT_TYPE_PEN,
857
+ 4: INPUT_TYPE_MOUSE,
858
+ 5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816
859
+ };
860
+
861
+ var POINTER_ELEMENT_EVENTS = 'pointerdown';
862
+ var POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel';
863
+
864
+ // IE10 has prefixed support, and case-sensitive
865
+ if (window.MSPointerEvent && !window.PointerEvent) {
866
+ POINTER_ELEMENT_EVENTS = 'MSPointerDown';
867
+ POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';
868
+ }
869
+
870
+ /**
871
+ * Pointer events input
872
+ * @constructor
873
+ * @extends Input
874
+ */
875
+ function PointerEventInput() {
876
+ this.evEl = POINTER_ELEMENT_EVENTS;
877
+ this.evWin = POINTER_WINDOW_EVENTS;
878
+
879
+ Input.apply(this, arguments);
880
+
881
+ this.store = (this.manager.session.pointerEvents = []);
882
+ }
883
+
884
+ inherit(PointerEventInput, Input, {
885
+ /**
886
+ * handle mouse events
887
+ * @param {Object} ev
888
+ */
889
+ handler: function PEhandler(ev) {
890
+ var store = this.store;
891
+ var removePointer = false;
892
+
893
+ var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');
894
+ var eventType = POINTER_INPUT_MAP[eventTypeNormalized];
895
+ var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;
896
+
897
+ var isTouch = (pointerType == INPUT_TYPE_TOUCH);
898
+
899
+ // get index of the event in the store
900
+ var storeIndex = inArray(store, ev.pointerId, 'pointerId');
901
+
902
+ // start and mouse must be down
903
+ if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {
904
+ if (storeIndex < 0) {
905
+ store.push(ev);
906
+ storeIndex = store.length - 1;
907
+ }
908
+ } else if (eventType & (INPUT_END | INPUT_CANCEL)) {
909
+ removePointer = true;
910
+ }
911
+
912
+ // it not found, so the pointer hasn't been down (so it's probably a hover)
913
+ if (storeIndex < 0) {
914
+ return;
915
+ }
916
+
917
+ // update the event in the store
918
+ store[storeIndex] = ev;
919
+
920
+ this.callback(this.manager, eventType, {
921
+ pointers: store,
922
+ changedPointers: [ev],
923
+ pointerType: pointerType,
924
+ srcEvent: ev
925
+ });
926
+
927
+ if (removePointer) {
928
+ // remove from the store
929
+ store.splice(storeIndex, 1);
930
+ }
931
+ }
932
+ });
933
+
934
+ var SINGLE_TOUCH_INPUT_MAP = {
935
+ touchstart: INPUT_START,
936
+ touchmove: INPUT_MOVE,
937
+ touchend: INPUT_END,
938
+ touchcancel: INPUT_CANCEL
939
+ };
940
+
941
+ var SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';
942
+ var SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';
943
+
944
+ /**
945
+ * Touch events input
946
+ * @constructor
947
+ * @extends Input
948
+ */
949
+ function SingleTouchInput() {
950
+ this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;
951
+ this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;
952
+ this.started = false;
953
+
954
+ Input.apply(this, arguments);
955
+ }
956
+
957
+ inherit(SingleTouchInput, Input, {
958
+ handler: function TEhandler(ev) {
959
+ var type = SINGLE_TOUCH_INPUT_MAP[ev.type];
960
+
961
+ // should we handle the touch events?
962
+ if (type === INPUT_START) {
963
+ this.started = true;
964
+ }
965
+
966
+ if (!this.started) {
967
+ return;
968
+ }
969
+
970
+ var touches = normalizeSingleTouches.call(this, ev, type);
971
+
972
+ // when done, reset the started state
973
+ if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {
974
+ this.started = false;
975
+ }
976
+
977
+ this.callback(this.manager, type, {
978
+ pointers: touches[0],
979
+ changedPointers: touches[1],
980
+ pointerType: INPUT_TYPE_TOUCH,
981
+ srcEvent: ev
982
+ });
983
+ }
984
+ });
985
+
986
+ /**
987
+ * @this {TouchInput}
988
+ * @param {Object} ev
989
+ * @param {Number} type flag
990
+ * @returns {undefined|Array} [all, changed]
991
+ */
992
+ function normalizeSingleTouches(ev, type) {
993
+ var all = toArray(ev.touches);
994
+ var changed = toArray(ev.changedTouches);
995
+
996
+ if (type & (INPUT_END | INPUT_CANCEL)) {
997
+ all = uniqueArray(all.concat(changed), 'identifier');
998
+ }
999
+
1000
+ return [all, changed];
1001
+ }
1002
+
1003
+ var TOUCH_INPUT_MAP = {
1004
+ touchstart: INPUT_START,
1005
+ touchmove: INPUT_MOVE,
1006
+ touchend: INPUT_END,
1007
+ touchcancel: INPUT_CANCEL
1008
+ };
1009
+
1010
+ var TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';
1011
+
1012
+ /**
1013
+ * Multi-user touch events input
1014
+ * @constructor
1015
+ * @extends Input
1016
+ */
1017
+ function TouchInput() {
1018
+ this.evTarget = TOUCH_TARGET_EVENTS;
1019
+ this.targetIds = {};
1020
+
1021
+ Input.apply(this, arguments);
1022
+ }
1023
+
1024
+ inherit(TouchInput, Input, {
1025
+ handler: function MTEhandler(ev) {
1026
+ var type = TOUCH_INPUT_MAP[ev.type];
1027
+ var touches = getTouches.call(this, ev, type);
1028
+ if (!touches) {
1029
+ return;
1030
+ }
1031
+
1032
+ this.callback(this.manager, type, {
1033
+ pointers: touches[0],
1034
+ changedPointers: touches[1],
1035
+ pointerType: INPUT_TYPE_TOUCH,
1036
+ srcEvent: ev
1037
+ });
1038
+ }
1039
+ });
1040
+
1041
+ /**
1042
+ * @this {TouchInput}
1043
+ * @param {Object} ev
1044
+ * @param {Number} type flag
1045
+ * @returns {undefined|Array} [all, changed]
1046
+ */
1047
+ function getTouches(ev, type) {
1048
+ var allTouches = toArray(ev.touches);
1049
+ var targetIds = this.targetIds;
1050
+
1051
+ // when there is only one touch, the process can be simplified
1052
+ if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {
1053
+ targetIds[allTouches[0].identifier] = true;
1054
+ return [allTouches, allTouches];
1055
+ }
1056
+
1057
+ var i,
1058
+ targetTouches,
1059
+ changedTouches = toArray(ev.changedTouches),
1060
+ changedTargetTouches = [],
1061
+ target = this.target;
1062
+
1063
+ // get target touches from touches
1064
+ targetTouches = allTouches.filter(function(touch) {
1065
+ return hasParent(touch.target, target);
1066
+ });
1067
+
1068
+ // collect touches
1069
+ if (type === INPUT_START) {
1070
+ i = 0;
1071
+ while (i < targetTouches.length) {
1072
+ targetIds[targetTouches[i].identifier] = true;
1073
+ i++;
1074
+ }
1075
+ }
1076
+
1077
+ // filter changed touches to only contain touches that exist in the collected target ids
1078
+ i = 0;
1079
+ while (i < changedTouches.length) {
1080
+ if (targetIds[changedTouches[i].identifier]) {
1081
+ changedTargetTouches.push(changedTouches[i]);
1082
+ }
1083
+
1084
+ // cleanup removed touches
1085
+ if (type & (INPUT_END | INPUT_CANCEL)) {
1086
+ delete targetIds[changedTouches[i].identifier];
1087
+ }
1088
+ i++;
1089
+ }
1090
+
1091
+ if (!changedTargetTouches.length) {
1092
+ return;
1093
+ }
1094
+
1095
+ return [
1096
+ // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'
1097
+ uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier'),
1098
+ changedTargetTouches
1099
+ ];
1100
+ }
1101
+
1102
+ /**
1103
+ * Combined touch and mouse input
1104
+ *
1105
+ * Touch has a higher priority then mouse, and while touching no mouse events are allowed.
1106
+ * This because touch devices also emit mouse events while doing a touch.
1107
+ *
1108
+ * @constructor
1109
+ * @extends Input
1110
+ */
1111
+
1112
+ var DEDUP_TIMEOUT = 2500;
1113
+ var DEDUP_DISTANCE = 25;
1114
+
1115
+ function TouchMouseInput() {
1116
+ Input.apply(this, arguments);
1117
+
1118
+ var handler = bindFn(this.handler, this);
1119
+ this.touch = new TouchInput(this.manager, handler);
1120
+ this.mouse = new MouseInput(this.manager, handler);
1121
+
1122
+ this.primaryTouch = null;
1123
+ this.lastTouches = [];
1124
+ }
1125
+
1126
+ inherit(TouchMouseInput, Input, {
1127
+ /**
1128
+ * handle mouse and touch events
1129
+ * @param {Hammer} manager
1130
+ * @param {String} inputEvent
1131
+ * @param {Object} inputData
1132
+ */
1133
+ handler: function TMEhandler(manager, inputEvent, inputData) {
1134
+ var isTouch = (inputData.pointerType == INPUT_TYPE_TOUCH),
1135
+ isMouse = (inputData.pointerType == INPUT_TYPE_MOUSE);
1136
+
1137
+ if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {
1138
+ return;
1139
+ }
1140
+
1141
+ // when we're in a touch event, record touches to de-dupe synthetic mouse event
1142
+ if (isTouch) {
1143
+ recordTouches.call(this, inputEvent, inputData);
1144
+ } else if (isMouse && isSyntheticEvent.call(this, inputData)) {
1145
+ return;
1146
+ }
1147
+
1148
+ this.callback(manager, inputEvent, inputData);
1149
+ },
1150
+
1151
+ /**
1152
+ * remove the event listeners
1153
+ */
1154
+ destroy: function destroy() {
1155
+ this.touch.destroy();
1156
+ this.mouse.destroy();
1157
+ }
1158
+ });
1159
+
1160
+ function recordTouches(eventType, eventData) {
1161
+ if (eventType & INPUT_START) {
1162
+ this.primaryTouch = eventData.changedPointers[0].identifier;
1163
+ setLastTouch.call(this, eventData);
1164
+ } else if (eventType & (INPUT_END | INPUT_CANCEL)) {
1165
+ setLastTouch.call(this, eventData);
1166
+ }
1167
+ }
1168
+
1169
+ function setLastTouch(eventData) {
1170
+ var touch = eventData.changedPointers[0];
1171
+
1172
+ if (touch.identifier === this.primaryTouch) {
1173
+ var lastTouch = {x: touch.clientX, y: touch.clientY};
1174
+ this.lastTouches.push(lastTouch);
1175
+ var lts = this.lastTouches;
1176
+ var removeLastTouch = function() {
1177
+ var i = lts.indexOf(lastTouch);
1178
+ if (i > -1) {
1179
+ lts.splice(i, 1);
1180
+ }
1181
+ };
1182
+ setTimeout(removeLastTouch, DEDUP_TIMEOUT);
1183
+ }
1184
+ }
1185
+
1186
+ function isSyntheticEvent(eventData) {
1187
+ var x = eventData.srcEvent.clientX, y = eventData.srcEvent.clientY;
1188
+ for (var i = 0; i < this.lastTouches.length; i++) {
1189
+ var t = this.lastTouches[i];
1190
+ var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y);
1191
+ if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {
1192
+ return true;
1193
+ }
1194
+ }
1195
+ return false;
1196
+ }
1197
+
1198
+ var PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');
1199
+ var NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined$1;
1200
+
1201
+ // magical touchAction value
1202
+ var TOUCH_ACTION_COMPUTE = 'compute';
1203
+ var TOUCH_ACTION_AUTO = 'auto';
1204
+ var TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented
1205
+ var TOUCH_ACTION_NONE = 'none';
1206
+ var TOUCH_ACTION_PAN_X = 'pan-x';
1207
+ var TOUCH_ACTION_PAN_Y = 'pan-y';
1208
+ var TOUCH_ACTION_MAP = getTouchActionProps();
1209
+
1210
+ /**
1211
+ * Touch Action
1212
+ * sets the touchAction property or uses the js alternative
1213
+ * @param {Manager} manager
1214
+ * @param {String} value
1215
+ * @constructor
1216
+ */
1217
+ function TouchAction(manager, value) {
1218
+ this.manager = manager;
1219
+ this.set(value);
1220
+ }
1221
+
1222
+ TouchAction.prototype = {
1223
+ /**
1224
+ * set the touchAction value on the element or enable the polyfill
1225
+ * @param {String} value
1226
+ */
1227
+ set: function(value) {
1228
+ // find out the touch-action by the event handlers
1229
+ if (value == TOUCH_ACTION_COMPUTE) {
1230
+ value = this.compute();
1231
+ }
1232
+
1233
+ if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {
1234
+ this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;
1235
+ }
1236
+ this.actions = value.toLowerCase().trim();
1237
+ },
1238
+
1239
+ /**
1240
+ * just re-set the touchAction value
1241
+ */
1242
+ update: function() {
1243
+ this.set(this.manager.options.touchAction);
1244
+ },
1245
+
1246
+ /**
1247
+ * compute the value for the touchAction property based on the recognizer's settings
1248
+ * @returns {String} value
1249
+ */
1250
+ compute: function() {
1251
+ var actions = [];
1252
+ each(this.manager.recognizers, function(recognizer) {
1253
+ if (boolOrFn(recognizer.options.enable, [recognizer])) {
1254
+ actions = actions.concat(recognizer.getTouchAction());
1255
+ }
1256
+ });
1257
+ return cleanTouchActions(actions.join(' '));
1258
+ },
1259
+
1260
+ /**
1261
+ * this method is called on each input cycle and provides the preventing of the browser behavior
1262
+ * @param {Object} input
1263
+ */
1264
+ preventDefaults: function(input) {
1265
+ var srcEvent = input.srcEvent;
1266
+ var direction = input.offsetDirection;
1267
+
1268
+ // if the touch action did prevented once this session
1269
+ if (this.manager.session.prevented) {
1270
+ srcEvent.preventDefault();
1271
+ return;
1272
+ }
1273
+
1274
+ var actions = this.actions;
1275
+ var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];
1276
+ var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];
1277
+ var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];
1278
+
1279
+ if (hasNone) {
1280
+ //do not prevent defaults if this is a tap gesture
1281
+
1282
+ var isTapPointer = input.pointers.length === 1;
1283
+ var isTapMovement = input.distance < 2;
1284
+ var isTapTouchTime = input.deltaTime < 250;
1285
+
1286
+ if (isTapPointer && isTapMovement && isTapTouchTime) {
1287
+ return;
1288
+ }
1289
+ }
1290
+
1291
+ if (hasPanX && hasPanY) {
1292
+ // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent
1293
+ return;
1294
+ }
1295
+
1296
+ if (hasNone ||
1297
+ (hasPanY && direction & DIRECTION_HORIZONTAL) ||
1298
+ (hasPanX && direction & DIRECTION_VERTICAL)) {
1299
+ return this.preventSrc(srcEvent);
1300
+ }
1301
+ },
1302
+
1303
+ /**
1304
+ * call preventDefault to prevent the browser's default behavior (scrolling in most cases)
1305
+ * @param {Object} srcEvent
1306
+ */
1307
+ preventSrc: function(srcEvent) {
1308
+ this.manager.session.prevented = true;
1309
+ srcEvent.preventDefault();
1310
+ }
1311
+ };
1312
+
1313
+ /**
1314
+ * when the touchActions are collected they are not a valid value, so we need to clean things up. *
1315
+ * @param {String} actions
1316
+ * @returns {*}
1317
+ */
1318
+ function cleanTouchActions(actions) {
1319
+ // none
1320
+ if (inStr(actions, TOUCH_ACTION_NONE)) {
1321
+ return TOUCH_ACTION_NONE;
1322
+ }
1323
+
1324
+ var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);
1325
+ var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);
1326
+
1327
+ // if both pan-x and pan-y are set (different recognizers
1328
+ // for different directions, e.g. horizontal pan but vertical swipe?)
1329
+ // we need none (as otherwise with pan-x pan-y combined none of these
1330
+ // recognizers will work, since the browser would handle all panning
1331
+ if (hasPanX && hasPanY) {
1332
+ return TOUCH_ACTION_NONE;
1333
+ }
1334
+
1335
+ // pan-x OR pan-y
1336
+ if (hasPanX || hasPanY) {
1337
+ return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;
1338
+ }
1339
+
1340
+ // manipulation
1341
+ if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {
1342
+ return TOUCH_ACTION_MANIPULATION;
1343
+ }
1344
+
1345
+ return TOUCH_ACTION_AUTO;
1346
+ }
1347
+
1348
+ function getTouchActionProps() {
1349
+ if (!NATIVE_TOUCH_ACTION) {
1350
+ return false;
1351
+ }
1352
+ var touchMap = {};
1353
+ var cssSupports = window.CSS && window.CSS.supports;
1354
+ ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function(val) {
1355
+
1356
+ // If css.supports is not supported but there is native touch-action assume it supports
1357
+ // all values. This is the case for IE 10 and 11.
1358
+ touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true;
1359
+ });
1360
+ return touchMap;
1361
+ }
1362
+
1363
+ /**
1364
+ * Recognizer flow explained; *
1365
+ * All recognizers have the initial state of POSSIBLE when a input session starts.
1366
+ * The definition of a input session is from the first input until the last input, with all it's movement in it. *
1367
+ * Example session for mouse-input: mousedown -> mousemove -> mouseup
1368
+ *
1369
+ * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed
1370
+ * which determines with state it should be.
1371
+ *
1372
+ * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to
1373
+ * POSSIBLE to give it another change on the next cycle.
1374
+ *
1375
+ * Possible
1376
+ * |
1377
+ * +-----+---------------+
1378
+ * | |
1379
+ * +-----+-----+ |
1380
+ * | | |
1381
+ * Failed Cancelled |
1382
+ * +-------+------+
1383
+ * | |
1384
+ * Recognized Began
1385
+ * |
1386
+ * Changed
1387
+ * |
1388
+ * Ended/Recognized
1389
+ */
1390
+ var STATE_POSSIBLE = 1;
1391
+ var STATE_BEGAN = 2;
1392
+ var STATE_CHANGED = 4;
1393
+ var STATE_ENDED = 8;
1394
+ var STATE_RECOGNIZED = STATE_ENDED;
1395
+ var STATE_CANCELLED = 16;
1396
+ var STATE_FAILED = 32;
1397
+
1398
+ /**
1399
+ * Recognizer
1400
+ * Every recognizer needs to extend from this class.
1401
+ * @constructor
1402
+ * @param {Object} options
1403
+ */
1404
+ function Recognizer(options) {
1405
+ this.options = assign({}, this.defaults, options || {});
1406
+
1407
+ this.id = uniqueId();
1408
+
1409
+ this.manager = null;
1410
+
1411
+ // default is enable true
1412
+ this.options.enable = ifUndefined(this.options.enable, true);
1413
+
1414
+ this.state = STATE_POSSIBLE;
1415
+
1416
+ this.simultaneous = {};
1417
+ this.requireFail = [];
1418
+ }
1419
+
1420
+ Recognizer.prototype = {
1421
+ /**
1422
+ * @virtual
1423
+ * @type {Object}
1424
+ */
1425
+ defaults: {},
1426
+
1427
+ /**
1428
+ * set options
1429
+ * @param {Object} options
1430
+ * @return {Recognizer}
1431
+ */
1432
+ set: function(options) {
1433
+ assign(this.options, options);
1434
+
1435
+ // also update the touchAction, in case something changed about the directions/enabled state
1436
+ this.manager && this.manager.touchAction.update();
1437
+ return this;
1438
+ },
1439
+
1440
+ /**
1441
+ * recognize simultaneous with an other recognizer.
1442
+ * @param {Recognizer} otherRecognizer
1443
+ * @returns {Recognizer} this
1444
+ */
1445
+ recognizeWith: function(otherRecognizer) {
1446
+ if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {
1447
+ return this;
1448
+ }
1449
+
1450
+ var simultaneous = this.simultaneous;
1451
+ otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);
1452
+ if (!simultaneous[otherRecognizer.id]) {
1453
+ simultaneous[otherRecognizer.id] = otherRecognizer;
1454
+ otherRecognizer.recognizeWith(this);
1455
+ }
1456
+ return this;
1457
+ },
1458
+
1459
+ /**
1460
+ * drop the simultaneous link. it doesnt remove the link on the other recognizer.
1461
+ * @param {Recognizer} otherRecognizer
1462
+ * @returns {Recognizer} this
1463
+ */
1464
+ dropRecognizeWith: function(otherRecognizer) {
1465
+ if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {
1466
+ return this;
1467
+ }
1468
+
1469
+ otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);
1470
+ delete this.simultaneous[otherRecognizer.id];
1471
+ return this;
1472
+ },
1473
+
1474
+ /**
1475
+ * recognizer can only run when an other is failing
1476
+ * @param {Recognizer} otherRecognizer
1477
+ * @returns {Recognizer} this
1478
+ */
1479
+ requireFailure: function(otherRecognizer) {
1480
+ if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {
1481
+ return this;
1482
+ }
1483
+
1484
+ var requireFail = this.requireFail;
1485
+ otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);
1486
+ if (inArray(requireFail, otherRecognizer) === -1) {
1487
+ requireFail.push(otherRecognizer);
1488
+ otherRecognizer.requireFailure(this);
1489
+ }
1490
+ return this;
1491
+ },
1492
+
1493
+ /**
1494
+ * drop the requireFailure link. it does not remove the link on the other recognizer.
1495
+ * @param {Recognizer} otherRecognizer
1496
+ * @returns {Recognizer} this
1497
+ */
1498
+ dropRequireFailure: function(otherRecognizer) {
1499
+ if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {
1500
+ return this;
1501
+ }
1502
+
1503
+ otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);
1504
+ var index = inArray(this.requireFail, otherRecognizer);
1505
+ if (index > -1) {
1506
+ this.requireFail.splice(index, 1);
1507
+ }
1508
+ return this;
1509
+ },
1510
+
1511
+ /**
1512
+ * has require failures boolean
1513
+ * @returns {boolean}
1514
+ */
1515
+ hasRequireFailures: function() {
1516
+ return this.requireFail.length > 0;
1517
+ },
1518
+
1519
+ /**
1520
+ * if the recognizer can recognize simultaneous with an other recognizer
1521
+ * @param {Recognizer} otherRecognizer
1522
+ * @returns {Boolean}
1523
+ */
1524
+ canRecognizeWith: function(otherRecognizer) {
1525
+ return !!this.simultaneous[otherRecognizer.id];
1526
+ },
1527
+
1528
+ /**
1529
+ * You should use `tryEmit` instead of `emit` directly to check
1530
+ * that all the needed recognizers has failed before emitting.
1531
+ * @param {Object} input
1532
+ */
1533
+ emit: function(input) {
1534
+ var self = this;
1535
+ var state = this.state;
1536
+
1537
+ function emit(event) {
1538
+ self.manager.emit(event, input);
1539
+ }
1540
+
1541
+ // 'panstart' and 'panmove'
1542
+ if (state < STATE_ENDED) {
1543
+ emit(self.options.event + stateStr(state));
1544
+ }
1545
+
1546
+ emit(self.options.event); // simple 'eventName' events
1547
+
1548
+ if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...)
1549
+ emit(input.additionalEvent);
1550
+ }
1551
+
1552
+ // panend and pancancel
1553
+ if (state >= STATE_ENDED) {
1554
+ emit(self.options.event + stateStr(state));
1555
+ }
1556
+ },
1557
+
1558
+ /**
1559
+ * Check that all the require failure recognizers has failed,
1560
+ * if true, it emits a gesture event,
1561
+ * otherwise, setup the state to FAILED.
1562
+ * @param {Object} input
1563
+ */
1564
+ tryEmit: function(input) {
1565
+ if (this.canEmit()) {
1566
+ return this.emit(input);
1567
+ }
1568
+ // it's failing anyway
1569
+ this.state = STATE_FAILED;
1570
+ },
1571
+
1572
+ /**
1573
+ * can we emit?
1574
+ * @returns {boolean}
1575
+ */
1576
+ canEmit: function() {
1577
+ var i = 0;
1578
+ while (i < this.requireFail.length) {
1579
+ if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {
1580
+ return false;
1581
+ }
1582
+ i++;
1583
+ }
1584
+ return true;
1585
+ },
1586
+
1587
+ /**
1588
+ * update the recognizer
1589
+ * @param {Object} inputData
1590
+ */
1591
+ recognize: function(inputData) {
1592
+ // make a new copy of the inputData
1593
+ // so we can change the inputData without messing up the other recognizers
1594
+ var inputDataClone = assign({}, inputData);
1595
+
1596
+ // is is enabled and allow recognizing?
1597
+ if (!boolOrFn(this.options.enable, [this, inputDataClone])) {
1598
+ this.reset();
1599
+ this.state = STATE_FAILED;
1600
+ return;
1601
+ }
1602
+
1603
+ // reset when we've reached the end
1604
+ if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {
1605
+ this.state = STATE_POSSIBLE;
1606
+ }
1607
+
1608
+ this.state = this.process(inputDataClone);
1609
+
1610
+ // the recognizer has recognized a gesture
1611
+ // so trigger an event
1612
+ if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {
1613
+ this.tryEmit(inputDataClone);
1614
+ }
1615
+ },
1616
+
1617
+ /**
1618
+ * return the state of the recognizer
1619
+ * the actual recognizing happens in this method
1620
+ * @virtual
1621
+ * @param {Object} inputData
1622
+ * @returns {Const} STATE
1623
+ */
1624
+ process: function(inputData) { }, // jshint ignore:line
1625
+
1626
+ /**
1627
+ * return the preferred touch-action
1628
+ * @virtual
1629
+ * @returns {Array}
1630
+ */
1631
+ getTouchAction: function() { },
1632
+
1633
+ /**
1634
+ * called when the gesture isn't allowed to recognize
1635
+ * like when another is being recognized or it is disabled
1636
+ * @virtual
1637
+ */
1638
+ reset: function() { }
1639
+ };
1640
+
1641
+ /**
1642
+ * get a usable string, used as event postfix
1643
+ * @param {Const} state
1644
+ * @returns {String} state
1645
+ */
1646
+ function stateStr(state) {
1647
+ if (state & STATE_CANCELLED) {
1648
+ return 'cancel';
1649
+ } else if (state & STATE_ENDED) {
1650
+ return 'end';
1651
+ } else if (state & STATE_CHANGED) {
1652
+ return 'move';
1653
+ } else if (state & STATE_BEGAN) {
1654
+ return 'start';
1655
+ }
1656
+ return '';
1657
+ }
1658
+
1659
+ /**
1660
+ * direction cons to string
1661
+ * @param {Const} direction
1662
+ * @returns {String}
1663
+ */
1664
+ function directionStr(direction) {
1665
+ if (direction == DIRECTION_DOWN) {
1666
+ return 'down';
1667
+ } else if (direction == DIRECTION_UP) {
1668
+ return 'up';
1669
+ } else if (direction == DIRECTION_LEFT) {
1670
+ return 'left';
1671
+ } else if (direction == DIRECTION_RIGHT) {
1672
+ return 'right';
1673
+ }
1674
+ return '';
1675
+ }
1676
+
1677
+ /**
1678
+ * get a recognizer by name if it is bound to a manager
1679
+ * @param {Recognizer|String} otherRecognizer
1680
+ * @param {Recognizer} recognizer
1681
+ * @returns {Recognizer}
1682
+ */
1683
+ function getRecognizerByNameIfManager(otherRecognizer, recognizer) {
1684
+ var manager = recognizer.manager;
1685
+ if (manager) {
1686
+ return manager.get(otherRecognizer);
1687
+ }
1688
+ return otherRecognizer;
1689
+ }
1690
+
1691
+ /**
1692
+ * This recognizer is just used as a base for the simple attribute recognizers.
1693
+ * @constructor
1694
+ * @extends Recognizer
1695
+ */
1696
+ function AttrRecognizer() {
1697
+ Recognizer.apply(this, arguments);
1698
+ }
1699
+
1700
+ inherit(AttrRecognizer, Recognizer, {
1701
+ /**
1702
+ * @namespace
1703
+ * @memberof AttrRecognizer
1704
+ */
1705
+ defaults: {
1706
+ /**
1707
+ * @type {Number}
1708
+ * @default 1
1709
+ */
1710
+ pointers: 1
1711
+ },
1712
+
1713
+ /**
1714
+ * Used to check if it the recognizer receives valid input, like input.distance > 10.
1715
+ * @memberof AttrRecognizer
1716
+ * @param {Object} input
1717
+ * @returns {Boolean} recognized
1718
+ */
1719
+ attrTest: function(input) {
1720
+ var optionPointers = this.options.pointers;
1721
+ return optionPointers === 0 || input.pointers.length === optionPointers;
1722
+ },
1723
+
1724
+ /**
1725
+ * Process the input and return the state for the recognizer
1726
+ * @memberof AttrRecognizer
1727
+ * @param {Object} input
1728
+ * @returns {*} State
1729
+ */
1730
+ process: function(input) {
1731
+ var state = this.state;
1732
+ var eventType = input.eventType;
1733
+
1734
+ var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);
1735
+ var isValid = this.attrTest(input);
1736
+
1737
+ // on cancel input and we've recognized before, return STATE_CANCELLED
1738
+ if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {
1739
+ return state | STATE_CANCELLED;
1740
+ } else if (isRecognized || isValid) {
1741
+ if (eventType & INPUT_END) {
1742
+ return state | STATE_ENDED;
1743
+ } else if (!(state & STATE_BEGAN)) {
1744
+ return STATE_BEGAN;
1745
+ }
1746
+ return state | STATE_CHANGED;
1747
+ }
1748
+ return STATE_FAILED;
1749
+ }
1750
+ });
1751
+
1752
+ /**
1753
+ * Pan
1754
+ * Recognized when the pointer is down and moved in the allowed direction.
1755
+ * @constructor
1756
+ * @extends AttrRecognizer
1757
+ */
1758
+ function PanRecognizer() {
1759
+ AttrRecognizer.apply(this, arguments);
1760
+
1761
+ this.pX = null;
1762
+ this.pY = null;
1763
+ }
1764
+
1765
+ inherit(PanRecognizer, AttrRecognizer, {
1766
+ /**
1767
+ * @namespace
1768
+ * @memberof PanRecognizer
1769
+ */
1770
+ defaults: {
1771
+ event: 'pan',
1772
+ threshold: 10,
1773
+ pointers: 1,
1774
+ direction: DIRECTION_ALL
1775
+ },
1776
+
1777
+ getTouchAction: function() {
1778
+ var direction = this.options.direction;
1779
+ var actions = [];
1780
+ if (direction & DIRECTION_HORIZONTAL) {
1781
+ actions.push(TOUCH_ACTION_PAN_Y);
1782
+ }
1783
+ if (direction & DIRECTION_VERTICAL) {
1784
+ actions.push(TOUCH_ACTION_PAN_X);
1785
+ }
1786
+ return actions;
1787
+ },
1788
+
1789
+ directionTest: function(input) {
1790
+ var options = this.options;
1791
+ var hasMoved = true;
1792
+ var distance = input.distance;
1793
+ var direction = input.direction;
1794
+ var x = input.deltaX;
1795
+ var y = input.deltaY;
1796
+
1797
+ // lock to axis?
1798
+ if (!(direction & options.direction)) {
1799
+ if (options.direction & DIRECTION_HORIZONTAL) {
1800
+ direction = (x === 0) ? DIRECTION_NONE : (x < 0) ? DIRECTION_LEFT : DIRECTION_RIGHT;
1801
+ hasMoved = x != this.pX;
1802
+ distance = Math.abs(input.deltaX);
1803
+ } else {
1804
+ direction = (y === 0) ? DIRECTION_NONE : (y < 0) ? DIRECTION_UP : DIRECTION_DOWN;
1805
+ hasMoved = y != this.pY;
1806
+ distance = Math.abs(input.deltaY);
1807
+ }
1808
+ }
1809
+ input.direction = direction;
1810
+ return hasMoved && distance > options.threshold && direction & options.direction;
1811
+ },
1812
+
1813
+ attrTest: function(input) {
1814
+ return AttrRecognizer.prototype.attrTest.call(this, input) &&
1815
+ (this.state & STATE_BEGAN || (!(this.state & STATE_BEGAN) && this.directionTest(input)));
1816
+ },
1817
+
1818
+ emit: function(input) {
1819
+
1820
+ this.pX = input.deltaX;
1821
+ this.pY = input.deltaY;
1822
+
1823
+ var direction = directionStr(input.direction);
1824
+
1825
+ if (direction) {
1826
+ input.additionalEvent = this.options.event + direction;
1827
+ }
1828
+ this._super.emit.call(this, input);
1829
+ }
1830
+ });
1831
+
1832
+ /**
1833
+ * Pinch
1834
+ * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).
1835
+ * @constructor
1836
+ * @extends AttrRecognizer
1837
+ */
1838
+ function PinchRecognizer() {
1839
+ AttrRecognizer.apply(this, arguments);
1840
+ }
1841
+
1842
+ inherit(PinchRecognizer, AttrRecognizer, {
1843
+ /**
1844
+ * @namespace
1845
+ * @memberof PinchRecognizer
1846
+ */
1847
+ defaults: {
1848
+ event: 'pinch',
1849
+ threshold: 0,
1850
+ pointers: 2
1851
+ },
1852
+
1853
+ getTouchAction: function() {
1854
+ return [TOUCH_ACTION_NONE];
1855
+ },
1856
+
1857
+ attrTest: function(input) {
1858
+ return this._super.attrTest.call(this, input) &&
1859
+ (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);
1860
+ },
1861
+
1862
+ emit: function(input) {
1863
+ if (input.scale !== 1) {
1864
+ var inOut = input.scale < 1 ? 'in' : 'out';
1865
+ input.additionalEvent = this.options.event + inOut;
1866
+ }
1867
+ this._super.emit.call(this, input);
1868
+ }
1869
+ });
1870
+
1871
+ /**
1872
+ * Press
1873
+ * Recognized when the pointer is down for x ms without any movement.
1874
+ * @constructor
1875
+ * @extends Recognizer
1876
+ */
1877
+ function PressRecognizer() {
1878
+ Recognizer.apply(this, arguments);
1879
+
1880
+ this._timer = null;
1881
+ this._input = null;
1882
+ }
1883
+
1884
+ inherit(PressRecognizer, Recognizer, {
1885
+ /**
1886
+ * @namespace
1887
+ * @memberof PressRecognizer
1888
+ */
1889
+ defaults: {
1890
+ event: 'press',
1891
+ pointers: 1,
1892
+ time: 251, // minimal time of the pointer to be pressed
1893
+ threshold: 9 // a minimal movement is ok, but keep it low
1894
+ },
1895
+
1896
+ getTouchAction: function() {
1897
+ return [TOUCH_ACTION_AUTO];
1898
+ },
1899
+
1900
+ process: function(input) {
1901
+ var options = this.options;
1902
+ var validPointers = input.pointers.length === options.pointers;
1903
+ var validMovement = input.distance < options.threshold;
1904
+ var validTime = input.deltaTime > options.time;
1905
+
1906
+ this._input = input;
1907
+
1908
+ // we only allow little movement
1909
+ // and we've reached an end event, so a tap is possible
1910
+ if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {
1911
+ this.reset();
1912
+ } else if (input.eventType & INPUT_START) {
1913
+ this.reset();
1914
+ this._timer = setTimeoutContext(function() {
1915
+ this.state = STATE_RECOGNIZED;
1916
+ this.tryEmit();
1917
+ }, options.time, this);
1918
+ } else if (input.eventType & INPUT_END) {
1919
+ return STATE_RECOGNIZED;
1920
+ }
1921
+ return STATE_FAILED;
1922
+ },
1923
+
1924
+ reset: function() {
1925
+ clearTimeout(this._timer);
1926
+ },
1927
+
1928
+ emit: function(input) {
1929
+ if (this.state !== STATE_RECOGNIZED) {
1930
+ return;
1931
+ }
1932
+
1933
+ if (input && (input.eventType & INPUT_END)) {
1934
+ this.manager.emit(this.options.event + 'up', input);
1935
+ } else {
1936
+ this._input.timeStamp = now();
1937
+ this.manager.emit(this.options.event, this._input);
1938
+ }
1939
+ }
1940
+ });
1941
+
1942
+ /**
1943
+ * Rotate
1944
+ * Recognized when two or more pointer are moving in a circular motion.
1945
+ * @constructor
1946
+ * @extends AttrRecognizer
1947
+ */
1948
+ function RotateRecognizer() {
1949
+ AttrRecognizer.apply(this, arguments);
1950
+ }
1951
+
1952
+ inherit(RotateRecognizer, AttrRecognizer, {
1953
+ /**
1954
+ * @namespace
1955
+ * @memberof RotateRecognizer
1956
+ */
1957
+ defaults: {
1958
+ event: 'rotate',
1959
+ threshold: 0,
1960
+ pointers: 2
1961
+ },
1962
+
1963
+ getTouchAction: function() {
1964
+ return [TOUCH_ACTION_NONE];
1965
+ },
1966
+
1967
+ attrTest: function(input) {
1968
+ return this._super.attrTest.call(this, input) &&
1969
+ (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);
1970
+ }
1971
+ });
1972
+
1973
+ /**
1974
+ * Swipe
1975
+ * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.
1976
+ * @constructor
1977
+ * @extends AttrRecognizer
1978
+ */
1979
+ function SwipeRecognizer() {
1980
+ AttrRecognizer.apply(this, arguments);
1981
+ }
1982
+
1983
+ inherit(SwipeRecognizer, AttrRecognizer, {
1984
+ /**
1985
+ * @namespace
1986
+ * @memberof SwipeRecognizer
1987
+ */
1988
+ defaults: {
1989
+ event: 'swipe',
1990
+ threshold: 10,
1991
+ velocity: 0.3,
1992
+ direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,
1993
+ pointers: 1
1994
+ },
1995
+
1996
+ getTouchAction: function() {
1997
+ return PanRecognizer.prototype.getTouchAction.call(this);
1998
+ },
1999
+
2000
+ attrTest: function(input) {
2001
+ var direction = this.options.direction;
2002
+ var velocity;
2003
+
2004
+ if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {
2005
+ velocity = input.overallVelocity;
2006
+ } else if (direction & DIRECTION_HORIZONTAL) {
2007
+ velocity = input.overallVelocityX;
2008
+ } else if (direction & DIRECTION_VERTICAL) {
2009
+ velocity = input.overallVelocityY;
2010
+ }
2011
+
2012
+ return this._super.attrTest.call(this, input) &&
2013
+ direction & input.offsetDirection &&
2014
+ input.distance > this.options.threshold &&
2015
+ input.maxPointers == this.options.pointers &&
2016
+ abs(velocity) > this.options.velocity && input.eventType & INPUT_END;
2017
+ },
2018
+
2019
+ emit: function(input) {
2020
+ var direction = directionStr(input.offsetDirection);
2021
+ if (direction) {
2022
+ this.manager.emit(this.options.event + direction, input);
2023
+ }
2024
+
2025
+ this.manager.emit(this.options.event, input);
2026
+ }
2027
+ });
2028
+
2029
+ /**
2030
+ * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur
2031
+ * between the given interval and position. The delay option can be used to recognize multi-taps without firing
2032
+ * a single tap.
2033
+ *
2034
+ * The eventData from the emitted event contains the property `tapCount`, which contains the amount of
2035
+ * multi-taps being recognized.
2036
+ * @constructor
2037
+ * @extends Recognizer
2038
+ */
2039
+ function TapRecognizer() {
2040
+ Recognizer.apply(this, arguments);
2041
+
2042
+ // previous time and center,
2043
+ // used for tap counting
2044
+ this.pTime = false;
2045
+ this.pCenter = false;
2046
+
2047
+ this._timer = null;
2048
+ this._input = null;
2049
+ this.count = 0;
2050
+ }
2051
+
2052
+ inherit(TapRecognizer, Recognizer, {
2053
+ /**
2054
+ * @namespace
2055
+ * @memberof PinchRecognizer
2056
+ */
2057
+ defaults: {
2058
+ event: 'tap',
2059
+ pointers: 1,
2060
+ taps: 1,
2061
+ interval: 300, // max time between the multi-tap taps
2062
+ time: 250, // max time of the pointer to be down (like finger on the screen)
2063
+ threshold: 9, // a minimal movement is ok, but keep it low
2064
+ posThreshold: 10 // a multi-tap can be a bit off the initial position
2065
+ },
2066
+
2067
+ getTouchAction: function() {
2068
+ return [TOUCH_ACTION_MANIPULATION];
2069
+ },
2070
+
2071
+ process: function(input) {
2072
+ var options = this.options;
2073
+
2074
+ var validPointers = input.pointers.length === options.pointers;
2075
+ var validMovement = input.distance < options.threshold;
2076
+ var validTouchTime = input.deltaTime < options.time;
2077
+
2078
+ this.reset();
2079
+
2080
+ if ((input.eventType & INPUT_START) && (this.count === 0)) {
2081
+ return this.failTimeout();
2082
+ }
2083
+
2084
+ // we only allow little movement
2085
+ // and we've reached an end event, so a tap is possible
2086
+ if (validMovement && validTouchTime && validPointers) {
2087
+ if (input.eventType != INPUT_END) {
2088
+ return this.failTimeout();
2089
+ }
2090
+
2091
+ var validInterval = this.pTime ? (input.timeStamp - this.pTime < options.interval) : true;
2092
+ var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;
2093
+
2094
+ this.pTime = input.timeStamp;
2095
+ this.pCenter = input.center;
2096
+
2097
+ if (!validMultiTap || !validInterval) {
2098
+ this.count = 1;
2099
+ } else {
2100
+ this.count += 1;
2101
+ }
2102
+
2103
+ this._input = input;
2104
+
2105
+ // if tap count matches we have recognized it,
2106
+ // else it has began recognizing...
2107
+ var tapCount = this.count % options.taps;
2108
+ if (tapCount === 0) {
2109
+ // no failing requirements, immediately trigger the tap event
2110
+ // or wait as long as the multitap interval to trigger
2111
+ if (!this.hasRequireFailures()) {
2112
+ return STATE_RECOGNIZED;
2113
+ } else {
2114
+ this._timer = setTimeoutContext(function() {
2115
+ this.state = STATE_RECOGNIZED;
2116
+ this.tryEmit();
2117
+ }, options.interval, this);
2118
+ return STATE_BEGAN;
2119
+ }
2120
+ }
2121
+ }
2122
+ return STATE_FAILED;
2123
+ },
2124
+
2125
+ failTimeout: function() {
2126
+ this._timer = setTimeoutContext(function() {
2127
+ this.state = STATE_FAILED;
2128
+ }, this.options.interval, this);
2129
+ return STATE_FAILED;
2130
+ },
2131
+
2132
+ reset: function() {
2133
+ clearTimeout(this._timer);
2134
+ },
2135
+
2136
+ emit: function() {
2137
+ if (this.state == STATE_RECOGNIZED) {
2138
+ this._input.tapCount = this.count;
2139
+ this.manager.emit(this.options.event, this._input);
2140
+ }
2141
+ }
2142
+ });
2143
+
2144
+ /**
2145
+ * Simple way to create a manager with a default set of recognizers.
2146
+ * @param {HTMLElement} element
2147
+ * @param {Object} [options]
2148
+ * @constructor
2149
+ */
2150
+ function Hammer(element, options) {
2151
+ options = options || {};
2152
+ options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);
2153
+ return new Manager(element, options);
2154
+ }
2155
+
2156
+ /**
2157
+ * @const {string}
2158
+ */
2159
+ Hammer.VERSION = '2.0.7';
2160
+
2161
+ /**
2162
+ * default settings
2163
+ * @namespace
2164
+ */
2165
+ Hammer.defaults = {
2166
+ /**
2167
+ * set if DOM events are being triggered.
2168
+ * But this is slower and unused by simple implementations, so disabled by default.
2169
+ * @type {Boolean}
2170
+ * @default false
2171
+ */
2172
+ domEvents: false,
2173
+
2174
+ /**
2175
+ * The value for the touchAction property/fallback.
2176
+ * When set to `compute` it will magically set the correct value based on the added recognizers.
2177
+ * @type {String}
2178
+ * @default compute
2179
+ */
2180
+ touchAction: TOUCH_ACTION_COMPUTE,
2181
+
2182
+ /**
2183
+ * @type {Boolean}
2184
+ * @default true
2185
+ */
2186
+ enable: true,
2187
+
2188
+ /**
2189
+ * EXPERIMENTAL FEATURE -- can be removed/changed
2190
+ * Change the parent input target element.
2191
+ * If Null, then it is being set the to main element.
2192
+ * @type {Null|EventTarget}
2193
+ * @default null
2194
+ */
2195
+ inputTarget: null,
2196
+
2197
+ /**
2198
+ * force an input class
2199
+ * @type {Null|Function}
2200
+ * @default null
2201
+ */
2202
+ inputClass: null,
2203
+
2204
+ /**
2205
+ * Default recognizer setup when calling `Hammer()`
2206
+ * When creating a new Manager these will be skipped.
2207
+ * @type {Array}
2208
+ */
2209
+ preset: [
2210
+ // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]
2211
+ [RotateRecognizer, {enable: false}],
2212
+ [PinchRecognizer, {enable: false}, ['rotate']],
2213
+ [SwipeRecognizer, {direction: DIRECTION_HORIZONTAL}],
2214
+ [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']],
2215
+ [TapRecognizer],
2216
+ [TapRecognizer, {event: 'doubletap', taps: 2}, ['tap']],
2217
+ [PressRecognizer]
2218
+ ],
2219
+
2220
+ /**
2221
+ * Some CSS properties can be used to improve the working of Hammer.
2222
+ * Add them to this method and they will be set when creating a new Manager.
2223
+ * @namespace
2224
+ */
2225
+ cssProps: {
2226
+ /**
2227
+ * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.
2228
+ * @type {String}
2229
+ * @default 'none'
2230
+ */
2231
+ userSelect: 'none',
2232
+
2233
+ /**
2234
+ * Disable the Windows Phone grippers when pressing an element.
2235
+ * @type {String}
2236
+ * @default 'none'
2237
+ */
2238
+ touchSelect: 'none',
2239
+
2240
+ /**
2241
+ * Disables the default callout shown when you touch and hold a touch target.
2242
+ * On iOS, when you touch and hold a touch target such as a link, Safari displays
2243
+ * a callout containing information about the link. This property allows you to disable that callout.
2244
+ * @type {String}
2245
+ * @default 'none'
2246
+ */
2247
+ touchCallout: 'none',
2248
+
2249
+ /**
2250
+ * Specifies whether zooming is enabled. Used by IE10>
2251
+ * @type {String}
2252
+ * @default 'none'
2253
+ */
2254
+ contentZooming: 'none',
2255
+
2256
+ /**
2257
+ * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.
2258
+ * @type {String}
2259
+ * @default 'none'
2260
+ */
2261
+ userDrag: 'none',
2262
+
2263
+ /**
2264
+ * Overrides the highlight color shown when the user taps a link or a JavaScript
2265
+ * clickable element in iOS. This property obeys the alpha value, if specified.
2266
+ * @type {String}
2267
+ * @default 'rgba(0,0,0,0)'
2268
+ */
2269
+ tapHighlightColor: 'rgba(0,0,0,0)'
2270
+ }
2271
+ };
2272
+
2273
+ var STOP = 1;
2274
+ var FORCED_STOP = 2;
2275
+
2276
+ /**
2277
+ * Manager
2278
+ * @param {HTMLElement} element
2279
+ * @param {Object} [options]
2280
+ * @constructor
2281
+ */
2282
+ function Manager(element, options) {
2283
+ this.options = assign({}, Hammer.defaults, options || {});
2284
+
2285
+ this.options.inputTarget = this.options.inputTarget || element;
2286
+
2287
+ this.handlers = {};
2288
+ this.session = {};
2289
+ this.recognizers = [];
2290
+ this.oldCssProps = {};
2291
+
2292
+ this.element = element;
2293
+ this.input = createInputInstance(this);
2294
+ this.touchAction = new TouchAction(this, this.options.touchAction);
2295
+
2296
+ toggleCssProps(this, true);
2297
+
2298
+ each(this.options.recognizers, function(item) {
2299
+ var recognizer = this.add(new (item[0])(item[1]));
2300
+ item[2] && recognizer.recognizeWith(item[2]);
2301
+ item[3] && recognizer.requireFailure(item[3]);
2302
+ }, this);
2303
+ }
2304
+
2305
+ Manager.prototype = {
2306
+ /**
2307
+ * set options
2308
+ * @param {Object} options
2309
+ * @returns {Manager}
2310
+ */
2311
+ set: function(options) {
2312
+ assign(this.options, options);
2313
+
2314
+ // Options that need a little more setup
2315
+ if (options.touchAction) {
2316
+ this.touchAction.update();
2317
+ }
2318
+ if (options.inputTarget) {
2319
+ // Clean up existing event listeners and reinitialize
2320
+ this.input.destroy();
2321
+ this.input.target = options.inputTarget;
2322
+ this.input.init();
2323
+ }
2324
+ return this;
2325
+ },
2326
+
2327
+ /**
2328
+ * stop recognizing for this session.
2329
+ * This session will be discarded, when a new [input]start event is fired.
2330
+ * When forced, the recognizer cycle is stopped immediately.
2331
+ * @param {Boolean} [force]
2332
+ */
2333
+ stop: function(force) {
2334
+ this.session.stopped = force ? FORCED_STOP : STOP;
2335
+ },
2336
+
2337
+ /**
2338
+ * run the recognizers!
2339
+ * called by the inputHandler function on every movement of the pointers (touches)
2340
+ * it walks through all the recognizers and tries to detect the gesture that is being made
2341
+ * @param {Object} inputData
2342
+ */
2343
+ recognize: function(inputData) {
2344
+ var session = this.session;
2345
+ if (session.stopped) {
2346
+ return;
2347
+ }
2348
+
2349
+ // run the touch-action polyfill
2350
+ this.touchAction.preventDefaults(inputData);
2351
+
2352
+ var recognizer;
2353
+ var recognizers = this.recognizers;
2354
+
2355
+ // this holds the recognizer that is being recognized.
2356
+ // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED
2357
+ // if no recognizer is detecting a thing, it is set to `null`
2358
+ var curRecognizer = session.curRecognizer;
2359
+
2360
+ // reset when the last recognizer is recognized
2361
+ // or when we're in a new session
2362
+ if (!curRecognizer || (curRecognizer && curRecognizer.state & STATE_RECOGNIZED)) {
2363
+ curRecognizer = session.curRecognizer = null;
2364
+ }
2365
+
2366
+ var i = 0;
2367
+ while (i < recognizers.length) {
2368
+ recognizer = recognizers[i];
2369
+
2370
+ // find out if we are allowed try to recognize the input for this one.
2371
+ // 1. allow if the session is NOT forced stopped (see the .stop() method)
2372
+ // 2. allow if we still haven't recognized a gesture in this session, or the this recognizer is the one
2373
+ // that is being recognized.
2374
+ // 3. allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.
2375
+ // this can be setup with the `recognizeWith()` method on the recognizer.
2376
+ if (session.stopped !== FORCED_STOP && ( // 1
2377
+ !curRecognizer || recognizer == curRecognizer || // 2
2378
+ recognizer.canRecognizeWith(curRecognizer))) { // 3
2379
+ recognizer.recognize(inputData);
2380
+ } else {
2381
+ recognizer.reset();
2382
+ }
2383
+
2384
+ // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the
2385
+ // current active recognizer. but only if we don't already have an active recognizer
2386
+ if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {
2387
+ curRecognizer = session.curRecognizer = recognizer;
2388
+ }
2389
+ i++;
2390
+ }
2391
+ },
2392
+
2393
+ /**
2394
+ * get a recognizer by its event name.
2395
+ * @param {Recognizer|String} recognizer
2396
+ * @returns {Recognizer|Null}
2397
+ */
2398
+ get: function(recognizer) {
2399
+ if (recognizer instanceof Recognizer) {
2400
+ return recognizer;
2401
+ }
2402
+
2403
+ var recognizers = this.recognizers;
2404
+ for (var i = 0; i < recognizers.length; i++) {
2405
+ if (recognizers[i].options.event == recognizer) {
2406
+ return recognizers[i];
2407
+ }
2408
+ }
2409
+ return null;
2410
+ },
2411
+
2412
+ /**
2413
+ * add a recognizer to the manager
2414
+ * existing recognizers with the same event name will be removed
2415
+ * @param {Recognizer} recognizer
2416
+ * @returns {Recognizer|Manager}
2417
+ */
2418
+ add: function(recognizer) {
2419
+ if (invokeArrayArg(recognizer, 'add', this)) {
2420
+ return this;
2421
+ }
2422
+
2423
+ // remove existing
2424
+ var existing = this.get(recognizer.options.event);
2425
+ if (existing) {
2426
+ this.remove(existing);
2427
+ }
2428
+
2429
+ this.recognizers.push(recognizer);
2430
+ recognizer.manager = this;
2431
+
2432
+ this.touchAction.update();
2433
+ return recognizer;
2434
+ },
2435
+
2436
+ /**
2437
+ * remove a recognizer by name or instance
2438
+ * @param {Recognizer|String} recognizer
2439
+ * @returns {Manager}
2440
+ */
2441
+ remove: function(recognizer) {
2442
+ if (invokeArrayArg(recognizer, 'remove', this)) {
2443
+ return this;
2444
+ }
2445
+
2446
+ recognizer = this.get(recognizer);
2447
+
2448
+ // let's make sure this recognizer exists
2449
+ if (recognizer) {
2450
+ var recognizers = this.recognizers;
2451
+ var index = inArray(recognizers, recognizer);
2452
+
2453
+ if (index !== -1) {
2454
+ recognizers.splice(index, 1);
2455
+ this.touchAction.update();
2456
+ }
2457
+ }
2458
+
2459
+ return this;
2460
+ },
2461
+
2462
+ /**
2463
+ * bind event
2464
+ * @param {String} events
2465
+ * @param {Function} handler
2466
+ * @returns {EventEmitter} this
2467
+ */
2468
+ on: function(events, handler) {
2469
+ if (events === undefined$1) {
2470
+ return;
2471
+ }
2472
+ if (handler === undefined$1) {
2473
+ return;
2474
+ }
2475
+
2476
+ var handlers = this.handlers;
2477
+ each(splitStr(events), function(event) {
2478
+ handlers[event] = handlers[event] || [];
2479
+ handlers[event].push(handler);
2480
+ });
2481
+ return this;
2482
+ },
2483
+
2484
+ /**
2485
+ * unbind event, leave emit blank to remove all handlers
2486
+ * @param {String} events
2487
+ * @param {Function} [handler]
2488
+ * @returns {EventEmitter} this
2489
+ */
2490
+ off: function(events, handler) {
2491
+ if (events === undefined$1) {
2492
+ return;
2493
+ }
2494
+
2495
+ var handlers = this.handlers;
2496
+ each(splitStr(events), function(event) {
2497
+ if (!handler) {
2498
+ delete handlers[event];
2499
+ } else {
2500
+ handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);
2501
+ }
2502
+ });
2503
+ return this;
2504
+ },
2505
+
2506
+ /**
2507
+ * emit event to the listeners
2508
+ * @param {String} event
2509
+ * @param {Object} data
2510
+ */
2511
+ emit: function(event, data) {
2512
+ // we also want to trigger dom events
2513
+ if (this.options.domEvents) {
2514
+ triggerDomEvent(event, data);
2515
+ }
2516
+
2517
+ // no handlers, so skip it all
2518
+ var handlers = this.handlers[event] && this.handlers[event].slice();
2519
+ if (!handlers || !handlers.length) {
2520
+ return;
2521
+ }
2522
+
2523
+ data.type = event;
2524
+ data.preventDefault = function() {
2525
+ data.srcEvent.preventDefault();
2526
+ };
2527
+
2528
+ var i = 0;
2529
+ while (i < handlers.length) {
2530
+ handlers[i](data);
2531
+ i++;
2532
+ }
2533
+ },
2534
+
2535
+ /**
2536
+ * destroy the manager and unbinds all events
2537
+ * it doesn't unbind dom events, that is the user own responsibility
2538
+ */
2539
+ destroy: function() {
2540
+ this.element && toggleCssProps(this, false);
2541
+
2542
+ this.handlers = {};
2543
+ this.session = {};
2544
+ this.input.destroy();
2545
+ this.element = null;
2546
+ }
2547
+ };
2548
+
2549
+ /**
2550
+ * add/remove the css properties as defined in manager.options.cssProps
2551
+ * @param {Manager} manager
2552
+ * @param {Boolean} add
2553
+ */
2554
+ function toggleCssProps(manager, add) {
2555
+ var element = manager.element;
2556
+ if (!element.style) {
2557
+ return;
2558
+ }
2559
+ var prop;
2560
+ each(manager.options.cssProps, function(value, name) {
2561
+ prop = prefixed(element.style, name);
2562
+ if (add) {
2563
+ manager.oldCssProps[prop] = element.style[prop];
2564
+ element.style[prop] = value;
2565
+ } else {
2566
+ element.style[prop] = manager.oldCssProps[prop] || '';
2567
+ }
2568
+ });
2569
+ if (!add) {
2570
+ manager.oldCssProps = {};
2571
+ }
2572
+ }
2573
+
2574
+ /**
2575
+ * trigger dom event
2576
+ * @param {String} event
2577
+ * @param {Object} data
2578
+ */
2579
+ function triggerDomEvent(event, data) {
2580
+ var gestureEvent = document.createEvent('Event');
2581
+ gestureEvent.initEvent(event, true, true);
2582
+ gestureEvent.gesture = data;
2583
+ data.target.dispatchEvent(gestureEvent);
2584
+ }
2585
+
2586
+ assign(Hammer, {
2587
+ INPUT_START: INPUT_START,
2588
+ INPUT_MOVE: INPUT_MOVE,
2589
+ INPUT_END: INPUT_END,
2590
+ INPUT_CANCEL: INPUT_CANCEL,
2591
+
2592
+ STATE_POSSIBLE: STATE_POSSIBLE,
2593
+ STATE_BEGAN: STATE_BEGAN,
2594
+ STATE_CHANGED: STATE_CHANGED,
2595
+ STATE_ENDED: STATE_ENDED,
2596
+ STATE_RECOGNIZED: STATE_RECOGNIZED,
2597
+ STATE_CANCELLED: STATE_CANCELLED,
2598
+ STATE_FAILED: STATE_FAILED,
2599
+
2600
+ DIRECTION_NONE: DIRECTION_NONE,
2601
+ DIRECTION_LEFT: DIRECTION_LEFT,
2602
+ DIRECTION_RIGHT: DIRECTION_RIGHT,
2603
+ DIRECTION_UP: DIRECTION_UP,
2604
+ DIRECTION_DOWN: DIRECTION_DOWN,
2605
+ DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,
2606
+ DIRECTION_VERTICAL: DIRECTION_VERTICAL,
2607
+ DIRECTION_ALL: DIRECTION_ALL,
2608
+
2609
+ Manager: Manager,
2610
+ Input: Input,
2611
+ TouchAction: TouchAction,
2612
+
2613
+ TouchInput: TouchInput,
2614
+ MouseInput: MouseInput,
2615
+ PointerEventInput: PointerEventInput,
2616
+ TouchMouseInput: TouchMouseInput,
2617
+ SingleTouchInput: SingleTouchInput,
2618
+
2619
+ Recognizer: Recognizer,
2620
+ AttrRecognizer: AttrRecognizer,
2621
+ Tap: TapRecognizer,
2622
+ Pan: PanRecognizer,
2623
+ Swipe: SwipeRecognizer,
2624
+ Pinch: PinchRecognizer,
2625
+ Rotate: RotateRecognizer,
2626
+ Press: PressRecognizer,
2627
+
2628
+ on: addEventListeners,
2629
+ off: removeEventListeners,
2630
+ each: each,
2631
+ merge: merge,
2632
+ extend: extend,
2633
+ assign: assign,
2634
+ inherit: inherit,
2635
+ bindFn: bindFn,
2636
+ prefixed: prefixed
2637
+ });
2638
+
2639
+ // this prevents errors when Hammer is loaded in the presence of an AMD
2640
+ // style loader but by script tag, not by the loader.
2641
+ var freeGlobal = (typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : {})); // jshint ignore:line
2642
+ freeGlobal.Hammer = Hammer;
2643
+
2644
+ if (module.exports) {
2645
+ module.exports = Hammer;
2646
+ } else {
2647
+ window[exportName] = Hammer;
2648
+ }
2649
+
2650
+ })(window, document, 'Hammer');
2651
+ } (hammer));
2652
+ return hammer.exports;
2653
+ }
2654
+
2655
+ var hammerExports = requireHammer();
2656
+ var Hammer = /*@__PURE__*/getDefaultExportFromCjs(hammerExports);
2657
+
2658
+ const stylesCss = ":host{display:inline-block;width:100vw;min-width:200px;--percentuale:0}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideindown{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slideoutleft{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(-100%)}}@keyframes slideoutright{0%{opacity:calc(100% - var(--percentuale));transform:translateX(var(--percentuale))}100%{opacity:0;transform:translateX(100%)}}@keyframes slideoutup{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(-100%)}}@keyframes slideoutdown{0%{opacity:1;transform:translateY(var(--percentuale))}100%{opacity:0;transform:translateY(100%)}}:host>#external-container{display:flex;min-height:calc(var(--space-unit) * 8.5);box-sizing:border-box;justify-content:space-between;padding:calc(var(--space-unit) * 2) 14px calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);border-radius:var(--border-size-large);box-shadow:var(--shadow-3);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px}:host>#external-container>#inner-container{display:flex;width:100%;flex-direction:column;justify-content:space-between}:host>#external-container #inner-container #text{padding:var(--space-unit) 0;color:var(--color-text-inverse);letter-spacing:0.16px;line-height:20px;text-align:start}:host>#external-container #inner-container #text>.title{margin-right:calc(var(--space-unit) / 2);font-weight:var(--font-sb)}:host>#external-container #inner-container ::slotted([slot=\"button\"]){margin-top:var(--space-unit)}:host>#external-container #icon{padding-top:var(--space-unit);margin:0 calc(var(--space-unit) / 4);cursor:pointer;fill:var(--color-inverse-icon)}:host>#external-container #icon:focus-within{margin:0}:host>#external-container #icon z-icon{margin:0 0 0 14px}:host>#external-container #icon z-icon:focus{display:inline-block;padding:calc(var(--space-unit) / 4);border-radius:50%;box-shadow:var(--shadow-focus-primary)}:host>#external-container.dark{background:var(--color-surface05)}:host>#external-container.light{background:var(--color-surface01)}:host>#external-container.light #icon{fill:var(--color-primary01-icon)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--color-default-text)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-default-error)}:host>#external-container.success{background:var(--color-default-success)}:host>#external-container.warning{background:var(--color-default-warning)}:host>#external-container.warning #icon{fill:var(--color-default-icon)}@media (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container #inner-container{flex-direction:row}:host>#external-container #inner-container ::slotted([slot=\"button\"]){margin:0 0 0 calc(var(--space-unit) * 2)}}@media (min-width: 1366px){:host{max-width:33vw}}";
2659
+
2660
+ const ZToastNotification$1 = /*@__PURE__*/ proxyCustomElement(class ZToastNotification extends H {
2661
+ constructor() {
2662
+ super();
2663
+ this.__registerHost();
2664
+ this.__attachShadow();
2665
+ this.toastClose = createEvent(this, "toastClose", 7);
2666
+ this.isCloseEventCalled = false;
2667
+ this.heading = undefined;
2668
+ this.message = undefined;
2669
+ this.closebutton = undefined;
2670
+ this.autoclose = undefined;
2671
+ this.pauseonfocusloss = true;
2672
+ this.type = undefined;
2673
+ this.isdraggable = true;
2674
+ this.draggablepercentage = 80;
2675
+ this.transition = undefined;
2676
+ this.percentage = undefined;
2677
+ }
2678
+ watchPropIsdraggable(newValue) {
2679
+ if (newValue) {
2680
+ this.sliderManager.get("pan").set({ enable: true });
2681
+ }
2682
+ else {
2683
+ this.sliderManager.get("pan").set({ enable: false });
2684
+ }
2685
+ }
2686
+ watchPropAutoclose(newValue) {
2687
+ clearTimeout(this.timeoutHandle);
2688
+ this.startClosingTimeout(newValue);
2689
+ }
2690
+ watchPropPauseonfocusloss(newValue) {
2691
+ if (this.autoclose) {
2692
+ if (newValue) {
2693
+ document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
2694
+ }
2695
+ else {
2696
+ document.removeEventListener("visibilitychange", this.visibilityChangeEventHandler);
2697
+ }
2698
+ }
2699
+ }
2700
+ emitToastClose(cssClass) {
2701
+ this.timeoutHandle = null;
2702
+ this.elapsedTime = null;
2703
+ this.hostElement.classList.add(cssClass);
2704
+ this.toastClose.emit();
2705
+ }
2706
+ componentWillLoad() {
2707
+ this.validateAutoclose();
2708
+ this.percentage = 0;
2709
+ }
2710
+ componentDidLoad() {
2711
+ this.startTime = Date.now();
2712
+ if (this.autoclose && this.pauseonfocusloss) {
2713
+ document.addEventListener("visibilitychange", this.visibilityChangeEventHandler);
2714
+ }
2715
+ this.isdraggable && this.handleSlideOutDragAnimation();
2716
+ }
2717
+ visibilityChangeEventHandler() {
2718
+ if (document.visibilityState === "hidden") {
2719
+ this.timeoutHandle && this.onBlur();
2720
+ }
2721
+ else {
2722
+ this.elapsedTime && this.onFocus();
2723
+ }
2724
+ }
2725
+ validateAutoclose() {
2726
+ if (!this.autoclose && !this.closebutton) {
2727
+ console.error("At least one between autoclose and closebutton must be present");
2728
+ }
2729
+ }
2730
+ mapSlideOutClass() {
2731
+ switch (this.transition) {
2732
+ case ToastNotificationTransition.SLIDE_IN_DOWN:
2733
+ return ToastNotificationTransition.SLIDE_OUT_UP;
2734
+ case ToastNotificationTransition.SLIDE_IN_UP:
2735
+ return ToastNotificationTransition.SLIDE_OUT_DOWN;
2736
+ case ToastNotificationTransition.SLIDE_IN_LEFT:
2737
+ return ToastNotificationTransition.SLIDE_OUT_RIGHT;
2738
+ case ToastNotificationTransition.SLIDE_IN_RIGHT:
2739
+ return ToastNotificationTransition.SLIDE_OUT_LEFT;
2740
+ }
2741
+ }
2742
+ calculateDraggedPercentage(e) {
2743
+ const bounding = this.hostElement.getBoundingClientRect();
2744
+ return Math.round((100 * e.deltaX) / bounding.width);
2745
+ }
2746
+ handleSlideOutDragAnimation() {
2747
+ this.sliderManager = new Hammer(this.hostElement);
2748
+ this.sliderManager.get("pan").set({
2749
+ direction: Hammer.DIRECTION_HORIZONTAL,
2750
+ });
2751
+ this.sliderManager.on("pan", (e) => {
2752
+ this.percentage = this.calculateDraggedPercentage(e);
2753
+ this.hostElement.style.transition = "none";
2754
+ this.hostElement.classList.remove(this.transition);
2755
+ const translateObj = {
2756
+ translate: `translateX(${this.percentage}%)`,
2757
+ translateBack: "translateX(0)",
2758
+ };
2759
+ this.hostElement.style.opacity = `${100 - Math.abs(this.percentage)}%`;
2760
+ if (e.eventType === Hammer.DIRECTION_LEFT || e.eventType === Hammer.DIRECTION_RIGHT) {
2761
+ this.hostElement.style.transform = translateObj.translate;
2762
+ if (Math.abs(this.percentage) > this.draggablepercentage && !this.isCloseEventCalled) {
2763
+ this.isCloseEventCalled = true;
2764
+ this.emitToastClose(e.direction === Hammer.DIRECTION_LEFT ? "slide-out-left" : "slide-out-right");
2765
+ }
2766
+ }
2767
+ if (e.isFinal && Math.abs(this.percentage) < this.draggablepercentage) {
2768
+ this.hostElement.style.transform = translateObj.translateBack;
2769
+ this.hostElement.style.transition = "all 1s";
2770
+ this.hostElement.style.opacity = "100%";
2771
+ this.percentage = 0;
2772
+ }
2773
+ });
2774
+ }
2775
+ onFocus() {
2776
+ let time = this.autoclose;
2777
+ if (this.elapsedTime) {
2778
+ time = this.autoclose - this.elapsedTime;
2779
+ }
2780
+ if (time > 0) {
2781
+ this.startClosingTimeout(time);
2782
+ }
2783
+ }
2784
+ onBlur() {
2785
+ this.elapsedTime = Date.now() - this.startTime;
2786
+ clearTimeout(this.timeoutHandle);
2787
+ }
2788
+ startClosingTimeout(time) {
2789
+ this.timeoutHandle = window.setTimeout(() => this.emitToastClose(this.mapSlideOutClass()), time);
2790
+ }
2791
+ renderContent() {
2792
+ return (h("div", { id: "external-container", tabIndex: 0, class: { [this.type]: !!this.type } }, h("div", { id: "inner-container" }, h("div", { id: "text" }, this.heading && h("span", { class: "title" }, this.heading), h("span", { class: "message" }, this.message)), h("div", { id: "button" }, h("slot", { name: "button" }))), h("div", { id: "icon" }, this.closebutton && (h("z-icon", { tabIndex: 0, name: "multiply-circled", width: 15, height: 15, onClick: () => this.emitToastClose(this.mapSlideOutClass()), onKeyPress: (e) => {
2793
+ if (e.code == KeyboardCode.SPACE || e.code == KeyboardCode.ENTER) {
2794
+ e.preventDefault();
2795
+ this.emitToastClose(this.mapSlideOutClass());
2796
+ }
2797
+ } })))));
2798
+ }
2799
+ render() {
2800
+ return (h(Host, { key: 'f9b4a2fe7d3642b1cbbe6f2e433ddbbde49568fd', style: { "--percentuale": `${this.percentage}%` }, class: this.transition ? this.transition : ToastNotificationTransition.SLIDE_IN_DOWN, onAnimationEnd: (e) => {
2801
+ if (this.autoclose && e.animationName.includes("slidein")) {
2802
+ this.startClosingTimeout(this.autoclose);
2803
+ }
2804
+ if (e.animationName.includes("slideout")) {
2805
+ this.hostElement.parentNode.removeChild(this.hostElement);
2806
+ }
2807
+ } }, this.renderContent()));
2808
+ }
2809
+ get hostElement() { return this; }
2810
+ static get watchers() { return {
2811
+ "isdraggable": ["watchPropIsdraggable"],
2812
+ "autoclose": ["watchPropAutoclose"],
2813
+ "pauseonfocusloss": ["watchPropPauseonfocusloss"]
2814
+ }; }
2815
+ static get style() { return stylesCss; }
2816
+ }, [1, "z-toast-notification", {
2817
+ "heading": [1],
2818
+ "message": [1],
2819
+ "closebutton": [4],
2820
+ "autoclose": [2],
2821
+ "pauseonfocusloss": [4],
2822
+ "type": [1],
2823
+ "isdraggable": [4],
2824
+ "draggablepercentage": [2],
2825
+ "transition": [1],
2826
+ "percentage": [32]
2827
+ }, undefined, {
2828
+ "isdraggable": ["watchPropIsdraggable"],
2829
+ "autoclose": ["watchPropAutoclose"],
2830
+ "pauseonfocusloss": ["watchPropPauseonfocusloss"]
2831
+ }]);
2832
+ function defineCustomElement$1() {
2833
+ if (typeof customElements === "undefined") {
2834
+ return;
2835
+ }
2836
+ const components = ["z-toast-notification", "z-icon"];
2837
+ components.forEach(tagName => { switch (tagName) {
2838
+ case "z-toast-notification":
2839
+ if (!customElements.get(tagName)) {
2840
+ customElements.define(tagName, ZToastNotification$1);
2841
+ }
2842
+ break;
2843
+ case "z-icon":
2844
+ if (!customElements.get(tagName)) {
2845
+ defineCustomElement$2();
2846
+ }
2847
+ break;
2848
+ } });
2849
+ }
2850
+ defineCustomElement$1();
2851
+
2852
+ const ZToastNotification = ZToastNotification$1;
2853
+ const defineCustomElement = defineCustomElement$1;
2854
+
2855
+ export { ZToastNotification, defineCustomElement };
2856
+ //# sourceMappingURL=z-toast-notification.js.map
2857
+
2858
+ //# sourceMappingURL=z-toast-notification.js.map