@zanichelli/albe-web-components 2.34.1 → 2.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/CHANGELOG.md +1238 -0
  2. package/dist/cjs/{index-de6c491e.js → index-3735f277.js} +6 -6
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-12053886.js → utils-6a2c0eab.js} +1 -1
  6. package/dist/cjs/web-components-library.cjs.js +1 -1
  7. package/dist/cjs/z-app-switcher.cjs.entry.js +1 -1
  8. package/dist/cjs/z-app-topbar.cjs.entry.js +1 -1
  9. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  10. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/z-body_2.cjs.entry.js +40 -0
  12. package/dist/cjs/z-button-filter_5.cjs.entry.js +2 -2
  13. package/dist/cjs/z-button.cjs.entry.js +39 -0
  14. package/dist/cjs/z-card.cjs.entry.js +1 -1
  15. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  16. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  17. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  18. package/dist/cjs/z-divider.cjs.entry.js +1 -1
  19. package/dist/cjs/z-footer.cjs.entry.js +1 -1
  20. package/dist/cjs/z-icon.cjs.entry.js +28 -0
  21. package/dist/cjs/z-list_3.cjs.entry.js +1 -1
  22. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
  23. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  24. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  25. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  26. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  27. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  28. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  29. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  30. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  31. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  32. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  33. package/dist/cjs/z-notification.cjs.entry.js +1 -1
  34. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  35. package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
  36. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  37. package/dist/cjs/z-popover.cjs.entry.js +127 -0
  38. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  39. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  40. package/dist/cjs/z-table-body.cjs.entry.js +24 -0
  41. package/dist/cjs/z-table-cell.cjs.entry.js +36 -0
  42. package/dist/cjs/z-table-empty-box.cjs.entry.js +28 -0
  43. package/dist/cjs/{z-registro-table-expanded-row.cjs.entry.js → z-table-expanded-row.cjs.entry.js} +3 -3
  44. package/dist/cjs/{z-registro-table-footer.cjs.entry.js → z-table-footer.cjs.entry.js} +4 -4
  45. package/dist/cjs/z-table-head.cjs.entry.js +23 -0
  46. package/dist/cjs/z-table-header-row.cjs.entry.js +22 -0
  47. package/dist/cjs/z-table-header.cjs.entry.js +88 -0
  48. package/dist/cjs/z-table-row.cjs.entry.js +43 -0
  49. package/dist/cjs/z-table-sticky-footer.cjs.entry.js +19 -0
  50. package/dist/cjs/z-table.cjs.entry.js +82 -0
  51. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  52. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  53. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  54. package/dist/collection/beans/index.js +6 -6
  55. package/dist/collection/collection-manifest.json +12 -12
  56. package/dist/collection/{snowflakes/registro-table/z-registro-table → components/z-table/z-table}/index.js +5 -5
  57. package/dist/collection/{snowflakes/registro-table/z-registro-table → components/z-table/z-table}/styles.css +54 -54
  58. package/dist/collection/{snowflakes/registro-table/z-registro-table-body → components/z-table/z-table-body}/index.js +2 -2
  59. package/dist/collection/{snowflakes/registro-table/z-registro-table-body → components/z-table/z-table-body}/styles.css +1 -1
  60. package/dist/collection/{snowflakes/registro-table/z-registro-table-cell → components/z-table/z-table-cell}/index.js +2 -2
  61. package/dist/collection/{snowflakes/registro-table/z-registro-table-cell → components/z-table/z-table-cell}/styles.css +0 -0
  62. package/dist/collection/{snowflakes/registro-table/z-registro-table-empty-box → components/z-table/z-table-empty-box}/index.js +2 -2
  63. package/dist/collection/{snowflakes/registro-table/z-registro-table-empty-box → components/z-table/z-table-empty-box}/styles.css +0 -0
  64. package/dist/collection/{snowflakes/registro-table/z-registro-table-expanded-row → components/z-table/z-table-expanded-row}/index.js +2 -2
  65. package/dist/collection/{snowflakes/registro-table/z-registro-table-expanded-row → components/z-table/z-table-expanded-row}/styles.css +0 -0
  66. package/dist/collection/{snowflakes/registro-table/z-registro-table-head → components/z-table/z-table-footer}/index.js +2 -2
  67. package/dist/collection/{snowflakes/registro-table/z-registro-table-footer → components/z-table/z-table-footer}/styles.css +0 -0
  68. package/dist/collection/{snowflakes/registro-table/z-registro-table-footer → components/z-table/z-table-head}/index.js +2 -2
  69. package/dist/collection/{snowflakes/registro-table/z-registro-table-head → components/z-table/z-table-head}/styles.css +0 -0
  70. package/dist/collection/{snowflakes/registro-table/z-registro-table-header → components/z-table/z-table-header}/index.js +3 -3
  71. package/dist/collection/{snowflakes/registro-table/z-registro-table-header → components/z-table/z-table-header}/styles.css +0 -0
  72. package/dist/collection/{snowflakes/registro-table/z-registro-table-header-row → components/z-table/z-table-header-row}/index.js +3 -3
  73. package/dist/collection/components/z-table/z-table-header-row/styles.css +13 -0
  74. package/dist/collection/{snowflakes/registro-table/z-registro-table-row → components/z-table/z-table-row}/index.js +13 -13
  75. package/dist/collection/components/z-table/z-table-row/styles.css +54 -0
  76. package/dist/collection/{snowflakes/registro-table/z-registro-table-sticky-footer → components/z-table/z-table-sticky-footer}/index.js +2 -2
  77. package/dist/collection/{snowflakes/registro-table/z-registro-table-sticky-footer → components/z-table/z-table-sticky-footer}/styles.css +0 -0
  78. package/dist/esm/{index-09b57d95.js → index-56ab7a69.js} +7 -7
  79. package/dist/esm/index.js +2 -2
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/{utils-f0067254.js → utils-cde16cf3.js} +2 -2
  82. package/dist/esm/web-components-library.js +1 -1
  83. package/dist/esm/z-app-switcher.entry.js +1 -1
  84. package/dist/esm/z-app-topbar.entry.js +1 -1
  85. package/dist/esm/z-aria-alert.entry.js +1 -1
  86. package/dist/esm/z-avatar.entry.js +1 -1
  87. package/dist/esm/z-body_2.entry.js +35 -0
  88. package/dist/esm/z-button-filter_5.entry.js +2 -2
  89. package/dist/esm/z-button.entry.js +35 -0
  90. package/dist/esm/z-card.entry.js +1 -1
  91. package/dist/esm/z-combobox.entry.js +2 -2
  92. package/dist/esm/z-contextual-menu.entry.js +1 -1
  93. package/dist/esm/z-cookiebar.entry.js +1 -1
  94. package/dist/esm/z-divider.entry.js +1 -1
  95. package/dist/esm/z-footer.entry.js +1 -1
  96. package/dist/esm/z-icon.entry.js +24 -0
  97. package/dist/esm/z-list_3.entry.js +1 -1
  98. package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
  99. package/dist/esm/z-messages-pocket.entry.js +1 -1
  100. package/dist/esm/z-modal-login.entry.js +1 -1
  101. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  102. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  103. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  104. package/dist/esm/z-myz-card-info.entry.js +2 -2
  105. package/dist/esm/z-myz-card_4.entry.js +1 -1
  106. package/dist/esm/z-myz-list-item.entry.js +2 -2
  107. package/dist/esm/z-myz-topbar.entry.js +1 -1
  108. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  109. package/dist/esm/z-notification.entry.js +1 -1
  110. package/dist/esm/z-otp.entry.js +1 -1
  111. package/dist/esm/z-pagination-bar.entry.js +2 -2
  112. package/dist/esm/z-pocket_3.entry.js +2 -2
  113. package/dist/esm/z-popover.entry.js +123 -0
  114. package/dist/esm/z-slideshow.entry.js +2 -2
  115. package/dist/esm/z-status-tag.entry.js +1 -1
  116. package/dist/esm/z-table-body.entry.js +20 -0
  117. package/dist/esm/z-table-cell.entry.js +32 -0
  118. package/dist/esm/z-table-empty-box.entry.js +24 -0
  119. package/dist/esm/{z-registro-table-expanded-row.entry.js → z-table-expanded-row.entry.js} +3 -3
  120. package/dist/esm/{z-registro-table-footer.entry.js → z-table-footer.entry.js} +4 -4
  121. package/dist/esm/z-table-head.entry.js +19 -0
  122. package/dist/esm/z-table-header-row.entry.js +18 -0
  123. package/dist/esm/z-table-header.entry.js +84 -0
  124. package/dist/esm/z-table-row.entry.js +39 -0
  125. package/dist/esm/z-table-sticky-footer.entry.js +15 -0
  126. package/dist/esm/z-table.entry.js +78 -0
  127. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  128. package/dist/esm/z-toast-notification.entry.js +1 -1
  129. package/dist/esm/z-tooltip.entry.js +1 -1
  130. package/dist/types/beans/index.d.ts +1 -1
  131. package/dist/types/{snowflakes/registro-table/z-registro-table → components/z-table/z-table}/index.d.ts +1 -1
  132. package/dist/types/{snowflakes/registro-table/z-registro-table-body → components/z-table/z-table-body}/index.d.ts +1 -1
  133. package/dist/types/{snowflakes/registro-table/z-registro-table-cell → components/z-table/z-table-cell}/index.d.ts +1 -1
  134. package/dist/types/{snowflakes/registro-table/z-registro-table-empty-box → components/z-table/z-table-empty-box}/index.d.ts +1 -1
  135. package/dist/types/{snowflakes/registro-table/z-registro-table-expanded-row → components/z-table/z-table-expanded-row}/index.d.ts +1 -1
  136. package/dist/types/{snowflakes/registro-table/z-registro-table-head → components/z-table/z-table-footer}/index.d.ts +1 -1
  137. package/dist/types/{snowflakes/registro-table/z-registro-table-footer → components/z-table/z-table-head}/index.d.ts +1 -1
  138. package/dist/types/{snowflakes/registro-table/z-registro-table-header → components/z-table/z-table-header}/index.d.ts +1 -1
  139. package/dist/types/{snowflakes/registro-table/z-registro-table-header-row → components/z-table/z-table-header-row}/index.d.ts +1 -1
  140. package/dist/types/{snowflakes/registro-table/z-registro-table-row → components/z-table/z-table-row}/index.d.ts +3 -3
  141. package/dist/types/{snowflakes/registro-table/z-registro-table-sticky-footer → components/z-table/z-table-sticky-footer}/index.d.ts +1 -1
  142. package/dist/types/components.d.ts +337 -337
  143. package/dist/web-components-library/index.esm.js +1 -1
  144. package/{www/build/p-b13d5b98.entry.js → dist/web-components-library/p-0ba3401a.entry.js} +1 -1
  145. package/dist/web-components-library/p-0f197b8e.entry.js +1 -0
  146. package/dist/web-components-library/p-1094e4de.entry.js +1 -0
  147. package/dist/web-components-library/p-1cf2c6f6.entry.js +1 -0
  148. package/dist/web-components-library/{p-01d11ec3.entry.js → p-21f3b77f.entry.js} +1 -1
  149. package/dist/web-components-library/{p-10ad64bc.entry.js → p-2b361a53.entry.js} +1 -1
  150. package/dist/web-components-library/{p-05f4fa42.entry.js → p-38091d2a.entry.js} +1 -1
  151. package/dist/web-components-library/{p-35fd465c.entry.js → p-3a5fc4ef.entry.js} +1 -1
  152. package/dist/web-components-library/{p-f77f6f60.entry.js → p-3ece97c0.entry.js} +1 -1
  153. package/dist/web-components-library/{p-0e6906af.js → p-45261bde.js} +1 -1
  154. package/dist/web-components-library/p-4665d79f.entry.js +1 -0
  155. package/dist/web-components-library/p-4a1404e2.entry.js +1 -0
  156. package/dist/web-components-library/p-4c1dc891.entry.js +1 -0
  157. package/dist/web-components-library/p-568b3728.entry.js +1 -0
  158. package/dist/web-components-library/{p-a82c9a77.entry.js → p-5f8b1594.entry.js} +1 -1
  159. package/dist/web-components-library/p-6384d72c.entry.js +1 -0
  160. package/dist/web-components-library/p-662b29d0.entry.js +1 -0
  161. package/dist/web-components-library/{p-82a59ded.entry.js → p-7c8a52e0.entry.js} +1 -1
  162. package/dist/web-components-library/{p-880a50a6.entry.js → p-7d7aee65.entry.js} +1 -1
  163. package/dist/web-components-library/{p-94814f44.entry.js → p-80d6185c.entry.js} +1 -1
  164. package/dist/web-components-library/{p-9d9dc98f.entry.js → p-8a12e2cd.entry.js} +1 -1
  165. package/dist/web-components-library/{p-08158e57.entry.js → p-8a9199e8.entry.js} +1 -1
  166. package/dist/web-components-library/p-8ccf136e.entry.js +1 -0
  167. package/dist/web-components-library/p-8deddec7.entry.js +1 -0
  168. package/dist/web-components-library/p-8edb6b65.entry.js +1 -0
  169. package/dist/web-components-library/{p-b630127d.entry.js → p-9621d591.entry.js} +1 -1
  170. package/dist/web-components-library/{p-f3354152.entry.js → p-a762915b.entry.js} +1 -1
  171. package/dist/web-components-library/{p-d227a145.entry.js → p-a93086bc.entry.js} +1 -1
  172. package/dist/web-components-library/p-aa77d746.entry.js +1 -0
  173. package/dist/web-components-library/{p-5e2762e6.entry.js → p-ac229c9e.entry.js} +1 -1
  174. package/dist/web-components-library/{p-18705ae9.entry.js → p-bc7e836a.entry.js} +1 -1
  175. package/dist/web-components-library/{p-c92c3f20.entry.js → p-be3eeede.entry.js} +1 -1
  176. package/dist/web-components-library/{p-957f298f.entry.js → p-cf899f93.entry.js} +1 -1
  177. package/dist/web-components-library/{p-9959e453.entry.js → p-d0c3eac6.entry.js} +1 -1
  178. package/dist/web-components-library/{p-fce08912.entry.js → p-d1896fdb.entry.js} +1 -1
  179. package/dist/web-components-library/p-d4c4b90a.entry.js +1 -0
  180. package/dist/web-components-library/{p-d83eee10.entry.js → p-d8bc4e21.entry.js} +1 -1
  181. package/dist/web-components-library/{p-34f4e805.entry.js → p-db8f3039.entry.js} +1 -1
  182. package/dist/web-components-library/p-ddc5aae2.entry.js +1 -0
  183. package/dist/web-components-library/{p-e29fe790.entry.js → p-de5f9244.entry.js} +1 -1
  184. package/dist/web-components-library/{p-fc47897e.entry.js → p-df4cf5b2.entry.js} +1 -1
  185. package/dist/web-components-library/{p-400e26c7.entry.js → p-e6aac31c.entry.js} +1 -1
  186. package/dist/web-components-library/{p-7e926220.entry.js → p-e8615a83.entry.js} +1 -1
  187. package/dist/web-components-library/p-ec13a382.entry.js +1 -0
  188. package/dist/web-components-library/{p-cc6363b9.entry.js → p-ee4fa9a8.entry.js} +1 -1
  189. package/dist/web-components-library/{p-0455dc43.entry.js → p-ee645fca.entry.js} +1 -1
  190. package/dist/web-components-library/{p-255c9150.entry.js → p-eface1ff.entry.js} +1 -1
  191. package/dist/web-components-library/p-f5e1d5a9.entry.js +1 -0
  192. package/dist/web-components-library/{p-f90dd488.js → p-fcfb7e03.js} +1 -1
  193. package/dist/web-components-library/web-components-library.esm.js +1 -1
  194. package/package.json +1 -1
  195. package/react/components.d.ts +11 -11
  196. package/react/components.js +12 -12
  197. package/react/components.js.map +1 -1
  198. package/src-react/index.ts +1 -0
  199. package/www/build/index.esm.js +1 -1
  200. package/{dist/web-components-library/p-b13d5b98.entry.js → www/build/p-0ba3401a.entry.js} +1 -1
  201. package/www/build/p-0f197b8e.entry.js +1 -0
  202. package/www/build/p-1094e4de.entry.js +1 -0
  203. package/www/build/p-1cf2c6f6.entry.js +1 -0
  204. package/www/build/{p-01d11ec3.entry.js → p-21f3b77f.entry.js} +1 -1
  205. package/www/build/{p-10ad64bc.entry.js → p-2b361a53.entry.js} +1 -1
  206. package/www/build/p-331e0cc6.js +1 -0
  207. package/www/build/{p-05f4fa42.entry.js → p-38091d2a.entry.js} +1 -1
  208. package/www/build/{p-35fd465c.entry.js → p-3a5fc4ef.entry.js} +1 -1
  209. package/www/build/{p-f77f6f60.entry.js → p-3ece97c0.entry.js} +1 -1
  210. package/www/build/{p-0e6906af.js → p-45261bde.js} +1 -1
  211. package/www/build/p-4665d79f.entry.js +1 -0
  212. package/www/build/p-4a1404e2.entry.js +1 -0
  213. package/www/build/p-4c1dc891.entry.js +1 -0
  214. package/www/build/p-568b3728.entry.js +1 -0
  215. package/www/build/{p-a82c9a77.entry.js → p-5f8b1594.entry.js} +1 -1
  216. package/www/build/p-6384d72c.entry.js +1 -0
  217. package/www/build/p-662b29d0.entry.js +1 -0
  218. package/www/build/{p-82a59ded.entry.js → p-7c8a52e0.entry.js} +1 -1
  219. package/www/build/{p-880a50a6.entry.js → p-7d7aee65.entry.js} +1 -1
  220. package/www/build/{p-94814f44.entry.js → p-80d6185c.entry.js} +1 -1
  221. package/www/build/{p-9d9dc98f.entry.js → p-8a12e2cd.entry.js} +1 -1
  222. package/www/build/{p-08158e57.entry.js → p-8a9199e8.entry.js} +1 -1
  223. package/www/build/p-8ccf136e.entry.js +1 -0
  224. package/www/build/p-8deddec7.entry.js +1 -0
  225. package/www/build/p-8edb6b65.entry.js +1 -0
  226. package/www/build/{p-b630127d.entry.js → p-9621d591.entry.js} +1 -1
  227. package/www/build/{p-f3354152.entry.js → p-a762915b.entry.js} +1 -1
  228. package/www/build/{p-d227a145.entry.js → p-a93086bc.entry.js} +1 -1
  229. package/www/build/p-aa77d746.entry.js +1 -0
  230. package/www/build/{p-5e2762e6.entry.js → p-ac229c9e.entry.js} +1 -1
  231. package/www/build/{p-18705ae9.entry.js → p-bc7e836a.entry.js} +1 -1
  232. package/www/build/{p-c92c3f20.entry.js → p-be3eeede.entry.js} +1 -1
  233. package/www/build/{p-957f298f.entry.js → p-cf899f93.entry.js} +1 -1
  234. package/www/build/{p-9959e453.entry.js → p-d0c3eac6.entry.js} +1 -1
  235. package/www/build/{p-fce08912.entry.js → p-d1896fdb.entry.js} +1 -1
  236. package/www/build/p-d4c4b90a.entry.js +1 -0
  237. package/www/build/{p-d83eee10.entry.js → p-d8bc4e21.entry.js} +1 -1
  238. package/www/build/{p-34f4e805.entry.js → p-db8f3039.entry.js} +1 -1
  239. package/www/build/p-ddc5aae2.entry.js +1 -0
  240. package/www/build/{p-e29fe790.entry.js → p-de5f9244.entry.js} +1 -1
  241. package/www/build/{p-fc47897e.entry.js → p-df4cf5b2.entry.js} +1 -1
  242. package/www/build/{p-400e26c7.entry.js → p-e6aac31c.entry.js} +1 -1
  243. package/www/build/{p-7e926220.entry.js → p-e8615a83.entry.js} +1 -1
  244. package/www/build/p-ec13a382.entry.js +1 -0
  245. package/www/build/{p-cc6363b9.entry.js → p-ee4fa9a8.entry.js} +1 -1
  246. package/www/build/{p-0455dc43.entry.js → p-ee645fca.entry.js} +1 -1
  247. package/www/build/{p-255c9150.entry.js → p-eface1ff.entry.js} +1 -1
  248. package/www/build/p-f5e1d5a9.entry.js +1 -0
  249. package/www/build/{p-f90dd488.js → p-fcfb7e03.js} +1 -1
  250. package/www/build/web-components-library.esm.js +1 -1
  251. package/www/index.html +1 -1
  252. package/dist/cjs/z-body_14.cjs.entry.js +0 -513
  253. package/dist/collection/snowflakes/registro-table/z-registro-table-header-row/styles.css +0 -13
  254. package/dist/collection/snowflakes/registro-table/z-registro-table-row/styles.css +0 -54
  255. package/dist/esm/z-body_14.entry.js +0 -496
  256. package/dist/web-components-library/p-017370c7.entry.js +0 -1
  257. package/dist/web-components-library/p-0fe60379.entry.js +0 -1
  258. package/dist/web-components-library/p-5fa8dc13.entry.js +0 -1
  259. package/dist/web-components-library/p-a15f8b52.entry.js +0 -1
  260. package/dist/web-components-library/p-cdcf738e.entry.js +0 -1
  261. package/www/build/p-017370c7.entry.js +0 -1
  262. package/www/build/p-0fe60379.entry.js +0 -1
  263. package/www/build/p-5fa8dc13.entry.js +0 -1
  264. package/www/build/p-a15f8b52.entry.js +0 -1
  265. package/www/build/p-cdcf738e.entry.js +0 -1
  266. package/www/build/p-e1879b27.js +0 -1
@@ -0,0 +1,39 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-fa9e549c.js';
2
+ import { i as ZTableRowExpandedType } from './index-56ab7a69.js';
3
+
4
+ const stylesCss = "z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type=\"expandable\"]:hover{cursor:pointer}z-table-row[expanded-type=\"expandable\"]>z-table-cell:first-child,z-table-row[expanded-type=\"padding\"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type=\"expandable\"]>z-table-cell:nth-child(2),z-table-row[expanded-type=\"padding\"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-tale-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}";
5
+
6
+ const ZTableRow = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.expand = createEvent(this, "expand", 7);
10
+ this.expandedType = ZTableRowExpandedType.none;
11
+ this.expanded = false;
12
+ }
13
+ emitOnExpand() {
14
+ this.expand.emit({ expanded: this.expanded });
15
+ }
16
+ handleExpand() {
17
+ this.expanded = !this.expanded;
18
+ this.emitOnExpand();
19
+ }
20
+ renderExpandButton() {
21
+ if (this.expandedType == ZTableRowExpandedType.expandable) {
22
+ return (h("z-table-cell", { style: { borderRight: "none" } }, h("z-icon", { name: this.expanded ? "minus-circled" : "plus-circled" })));
23
+ }
24
+ return (h("z-table-cell", { style: { borderRight: "none" } }, h("div", { class: "z-icon-placeholder" })));
25
+ }
26
+ render() {
27
+ return (h(Host, { role: "row", expanded: this.expanded, onClick: (event) => {
28
+ const contextualMenuClick = event.target.nodeName === 'Z-CONTEXTUAL-MENU';
29
+ const isExpandable = this.expandedType === ZTableRowExpandedType.expandable;
30
+ if (isExpandable && !contextualMenuClick) {
31
+ this.handleExpand();
32
+ }
33
+ } }, this.expandedType !== ZTableRowExpandedType.none &&
34
+ this.renderExpandButton(), h("slot", null)));
35
+ }
36
+ };
37
+ ZTableRow.style = stylesCss;
38
+
39
+ export { ZTableRow as z_table_row };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h } from './index-fa9e549c.js';
2
+
3
+ const stylesCss = ".sc-z-table-sticky-footer-h{display:block;position:sticky;left:0;padding:var(--basex2);background-color:var(--bg-white);border-style:solid;border-color:var(--gray200);border-width:var(--border-size-small) 0 var(--border-base);font-weight:var(--font-rg)}";
4
+
5
+ const ZTableStickyFooter = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h("slot", null));
11
+ }
12
+ };
13
+ ZTableStickyFooter.style = stylesCss;
14
+
15
+ export { ZTableStickyFooter as z_table_sticky_footer };
@@ -0,0 +1,78 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-fa9e549c.js';
2
+ import { B as ButtonVariantEnum, b as ButtonSizeEnum } from './index-56ab7a69.js';
3
+ import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
4
+
5
+ const stylesCss = "z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
6
+
7
+ const ZTable = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.callToAction = createEvent(this, "callToAction", 7);
11
+ this.callToActionTwo = createEvent(this, "callToActionTwo", 7);
12
+ /** Error message */
13
+ this.errorMessage = "Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto";
14
+ /** Sets table with border */
15
+ this.bordered = false;
16
+ /** Sets first column sticky */
17
+ this.columnSticky = false;
18
+ /** Sets empty table */
19
+ this.empty = false;
20
+ /** Set error status */
21
+ this.error = false;
22
+ /** Sets header sticky */
23
+ this.headerSticky = false;
24
+ /** Set message */
25
+ this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare";
26
+ /** Set subtitle */
27
+ this.subtitle = "";
28
+ }
29
+ handleResize() {
30
+ this.isMobile = window.innerWidth <= mobileBreakpoint;
31
+ }
32
+ handleOrientationChange() {
33
+ this.isMobile = screen.width <= mobileBreakpoint;
34
+ }
35
+ componentWillLoad() {
36
+ var _a;
37
+ this.isMobile = window.innerWidth <= mobileBreakpoint;
38
+ const tableBody = this.host.querySelector('[slot="table-body"]');
39
+ this.hasTableBody = !!((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.children) === null || _a === void 0 ? void 0 : _a.length);
40
+ if (!!tableBody && !this.hasTableBody) {
41
+ tableBody.remove();
42
+ }
43
+ }
44
+ componentWillRender() {
45
+ this.host.setAttribute("role", "table");
46
+ }
47
+ renderError(tableClass) {
48
+ const minHeight = this.lines ? `calc(40px * ${this.lines})` : "auto";
49
+ return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-error", null, h("div", { class: "error-content", style: { minHeight } }, h("slot", { name: "error-image" }), h("div", { class: "text" }, h("z-body", { class: "error-message", level: 3, variant: "semibold" }, this.errorMessage), h("slot", { name: "error-action" }))))));
50
+ }
51
+ renderEmpty(tableClass) {
52
+ const buttonSize = this.isMobile
53
+ ? ButtonSizeEnum.small
54
+ : ButtonSizeEnum.big;
55
+ const tableContentClass = `${!!this.hasTableBody ? "table-content" : ""}`;
56
+ if (this.hasTableBody) {
57
+ return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" }), h("div", { class: tableContentClass }, h("slot", { name: "table-body" }), h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
58
+ }
59
+ return (h(Host, null, h("div", { class: tableClass }, h("slot", { name: "table-header" })), h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
60
+ }
61
+ render() {
62
+ const tableClass = `table ${this.empty ? "table-empty" : ""} ${this.bordered ? "table-bordered" : ""}
63
+ ${this.columnSticky ? "table-column-sticky" : ""}
64
+ ${this.headerSticky ? "table-header-sticky" : ""}`;
65
+ if (this.error) {
66
+ return this.renderError(tableClass);
67
+ }
68
+ if (this.empty) {
69
+ return this.renderEmpty(tableClass);
70
+ }
71
+ return (h(Host, null, h("div", { class: tableClass }, h("slot", null)), h("slot", { name: "sticky-footer" })));
72
+ }
73
+ static get assetsDirs() { return ["assets"]; }
74
+ get host() { return getElement(this); }
75
+ };
76
+ ZTable.style = stylesCss;
77
+
78
+ export { ZTable as z_table };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-fa9e549c.js';
2
- import { q as ToastNotificationPositionsEnum } from './index-09b57d95.js';
2
+ import { l as ToastNotificationPositionsEnum } from './index-56ab7a69.js';
3
3
 
4
4
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-fa9e549c.js';
2
- import { p as ToastNotificationTransitionsEnum } from './index-09b57d95.js';
2
+ import { j as ToastNotificationTransitionsEnum } from './index-56ab7a69.js';
3
3
  import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
4
4
  import { h as hammer } from './hammer-501342a9.js';
5
5
  import './_commonjsHelpers-8b28c6fa.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-fa9e549c.js';
2
- import { l as TooltipPosition } from './index-09b57d95.js';
2
+ import { f as TooltipPosition } from './index-56ab7a69.js';
3
3
 
4
4
  const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
5
5
 
@@ -326,7 +326,7 @@ export declare enum ToastNotificationPositionsEnum {
326
326
  bottomLeft = "bottom-left",
327
327
  bottomCentre = "bottom-centre"
328
328
  }
329
- export declare enum ZRegistroTableRowExpandedType {
329
+ export declare enum ZTableRowExpandedType {
330
330
  expandable = "expandable",
331
331
  padding = "padding",
332
332
  none = "none"
@@ -3,7 +3,7 @@ import { EventEmitter } from "../../../stencil-public-runtime";
3
3
  * @slot - table elements
4
4
  * @slot sticky-footer - set the content of the sticky footer
5
5
  */
6
- export declare class ZRegistroTable {
6
+ export declare class ZTable {
7
7
  host: HTMLElement;
8
8
  /** Number of lines of element */
9
9
  lines?: number;
@@ -1,4 +1,4 @@
1
- export declare class ZRegistroTableBody {
1
+ export declare class ZTableBody {
2
2
  host: HTMLElement;
3
3
  componentWillRender(): void;
4
4
  render(): any;
@@ -1,5 +1,5 @@
1
1
  import { Size } from "../../../beans";
2
- export declare class ZRegistroTableCell {
2
+ export declare class ZTableCell {
3
3
  host: HTMLElement;
4
4
  /** [Optional] Show contextual menu button */
5
5
  showButton?: boolean;
@@ -1,4 +1,4 @@
1
- export declare class ZRegistroTableEmptyBox {
1
+ export declare class ZTableEmptyBox {
2
2
  hostElement: HTMLElement;
3
3
  /** Sets main title message*/
4
4
  message?: string;
@@ -1,4 +1,4 @@
1
- export declare class ZRegistroTableExpandedRow {
1
+ export declare class ZTableExpandedRow {
2
2
  /** Number table column plus 1 for the expand button */
3
3
  colSpan: number;
4
4
  render(): any;
@@ -1,4 +1,4 @@
1
- export declare class ZRegistroTableHead {
1
+ export declare class ZTableFooter {
2
2
  host: HTMLElement;
3
3
  componentWillRender(): void;
4
4
  render(): any;
@@ -1,4 +1,4 @@
1
- export declare class ZRegistroTableFooter {
1
+ export declare class ZTableHead {
2
2
  host: HTMLElement;
3
3
  componentWillRender(): void;
4
4
  render(): any;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from "../../../stencil-public-runtime";
2
2
  import { Size, SortDirection } from "../../../beans";
3
- export declare class ZRegistroTableHeader {
3
+ export declare class ZTableHeader {
4
4
  host: HTMLElement;
5
5
  /** Column ID */
6
6
  columnId: string;
@@ -1,4 +1,4 @@
1
- export declare class ZRegistroTableHeaderRow {
1
+ export declare class ZTableHeaderRow {
2
2
  expandable?: boolean;
3
3
  _renderExpandHeader(): any;
4
4
  render(): any;
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter } from "../../../stencil-public-runtime";
2
- import { ZRegistroTableRowExpandedType } from "../../../beans";
3
- export declare class ZRegistroTableRow {
4
- expandedType: ZRegistroTableRowExpandedType;
2
+ import { ZTableRowExpandedType } from "../../../beans";
3
+ export declare class ZTableRow {
4
+ expandedType: ZTableRowExpandedType;
5
5
  expanded: boolean;
6
6
  expand: EventEmitter;
7
7
  emitOnExpand(): void;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @slot - table sticky footer content
3
3
  */
4
- export declare class ZRegistroTableStickyFooter {
4
+ export declare class ZTableStickyFooter {
5
5
  render(): any;
6
6
  }