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