@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,19 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-dee3e21d.js');
6
+
7
+ 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)}";
8
+
9
+ const ZTableStickyFooter = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ }
13
+ render() {
14
+ return (index.h("slot", null));
15
+ }
16
+ };
17
+ ZTableStickyFooter.style = stylesCss;
18
+
19
+ exports.z_table_sticky_footer = ZTableStickyFooter;
@@ -0,0 +1,82 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-dee3e21d.js');
6
+ const index$1 = require('./index-3735f277.js');
7
+ const breakpoints = require('./breakpoints-88c4fd6c.js');
8
+
9
+ 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}}";
10
+
11
+ const ZTable = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.callToAction = index.createEvent(this, "callToAction", 7);
15
+ this.callToActionTwo = index.createEvent(this, "callToActionTwo", 7);
16
+ /** Error message */
17
+ this.errorMessage = "Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto";
18
+ /** Sets table with border */
19
+ this.bordered = false;
20
+ /** Sets first column sticky */
21
+ this.columnSticky = false;
22
+ /** Sets empty table */
23
+ this.empty = false;
24
+ /** Set error status */
25
+ this.error = false;
26
+ /** Sets header sticky */
27
+ this.headerSticky = false;
28
+ /** Set message */
29
+ this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare";
30
+ /** Set subtitle */
31
+ this.subtitle = "";
32
+ }
33
+ handleResize() {
34
+ this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
35
+ }
36
+ handleOrientationChange() {
37
+ this.isMobile = screen.width <= breakpoints.mobileBreakpoint;
38
+ }
39
+ componentWillLoad() {
40
+ var _a;
41
+ this.isMobile = window.innerWidth <= breakpoints.mobileBreakpoint;
42
+ const tableBody = this.host.querySelector('[slot="table-body"]');
43
+ this.hasTableBody = !!((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.children) === null || _a === void 0 ? void 0 : _a.length);
44
+ if (!!tableBody && !this.hasTableBody) {
45
+ tableBody.remove();
46
+ }
47
+ }
48
+ componentWillRender() {
49
+ this.host.setAttribute("role", "table");
50
+ }
51
+ renderError(tableClass) {
52
+ const minHeight = this.lines ? `calc(40px * ${this.lines})` : "auto";
53
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-error", null, index.h("div", { class: "error-content", style: { minHeight } }, index.h("slot", { name: "error-image" }), index.h("div", { class: "text" }, index.h("z-body", { class: "error-message", level: 3, variant: "semibold" }, this.errorMessage), index.h("slot", { name: "error-action" }))))));
54
+ }
55
+ renderEmpty(tableClass) {
56
+ const buttonSize = this.isMobile
57
+ ? index$1.ButtonSizeEnum.small
58
+ : index$1.ButtonSizeEnum.big;
59
+ const tableContentClass = `${!!this.hasTableBody ? "table-content" : ""}`;
60
+ if (this.hasTableBody) {
61
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" }), index.h("div", { class: tableContentClass }, index.h("slot", { name: "table-body" }), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
62
+ }
63
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
64
+ }
65
+ render() {
66
+ const tableClass = `table ${this.empty ? "table-empty" : ""} ${this.bordered ? "table-bordered" : ""}
67
+ ${this.columnSticky ? "table-column-sticky" : ""}
68
+ ${this.headerSticky ? "table-header-sticky" : ""}`;
69
+ if (this.error) {
70
+ return this.renderError(tableClass);
71
+ }
72
+ if (this.empty) {
73
+ return this.renderEmpty(tableClass);
74
+ }
75
+ return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", null)), index.h("slot", { name: "sticky-footer" })));
76
+ }
77
+ static get assetsDirs() { return ["assets"]; }
78
+ get host() { return index.getElement(this); }
79
+ };
80
+ ZTable.style = stylesCss;
81
+
82
+ exports.z_table = ZTable;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-de6c491e.js');
6
+ const index$1 = require('./index-3735f277.js');
7
7
 
8
8
  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}}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-de6c491e.js');
6
+ const index$1 = require('./index-3735f277.js');
7
7
  const breakpoints = require('./breakpoints-88c4fd6c.js');
8
8
  const hammer = require('./hammer-54230951.js');
9
9
  require('./_commonjsHelpers-119ffc74.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-dee3e21d.js');
6
- const index$1 = require('./index-de6c491e.js');
6
+ const index$1 = require('./index-3735f277.js');
7
7
 
8
8
  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}";
9
9
 
@@ -241,12 +241,12 @@ export var ToastNotificationPositionsEnum;
241
241
  ToastNotificationPositionsEnum["bottomLeft"] = "bottom-left";
242
242
  ToastNotificationPositionsEnum["bottomCentre"] = "bottom-centre";
243
243
  })(ToastNotificationPositionsEnum || (ToastNotificationPositionsEnum = {}));
244
- export var ZRegistroTableRowExpandedType;
245
- (function (ZRegistroTableRowExpandedType) {
246
- ZRegistroTableRowExpandedType["expandable"] = "expandable";
247
- ZRegistroTableRowExpandedType["padding"] = "padding";
248
- ZRegistroTableRowExpandedType["none"] = "none";
249
- })(ZRegistroTableRowExpandedType || (ZRegistroTableRowExpandedType = {}));
244
+ export var ZTableRowExpandedType;
245
+ (function (ZTableRowExpandedType) {
246
+ ZTableRowExpandedType["expandable"] = "expandable";
247
+ ZTableRowExpandedType["padding"] = "padding";
248
+ ZTableRowExpandedType["none"] = "none";
249
+ })(ZTableRowExpandedType || (ZTableRowExpandedType = {}));
250
250
  export var ZAriaAlertMode;
251
251
  (function (ZAriaAlertMode) {
252
252
  ZAriaAlertMode["polite"] = "polite";
@@ -55,6 +55,17 @@
55
55
  "./components/z-ghost-loading/index.js",
56
56
  "./components/z-popover/index.js",
57
57
  "./components/z-status-tag/index.js",
58
+ "./components/z-table/z-table/index.js",
59
+ "./components/z-table/z-table-body/index.js",
60
+ "./components/z-table/z-table-cell/index.js",
61
+ "./components/z-table/z-table-empty-box/index.js",
62
+ "./components/z-table/z-table-expanded-row/index.js",
63
+ "./components/z-table/z-table-footer/index.js",
64
+ "./components/z-table/z-table-head/index.js",
65
+ "./components/z-table/z-table-header/index.js",
66
+ "./components/z-table/z-table-header-row/index.js",
67
+ "./components/z-table/z-table-row/index.js",
68
+ "./components/z-table/z-table-sticky-footer/index.js",
58
69
  "./components/z-visually-hidden/index.js",
59
70
  "./snowflakes/myz/card/z-myz-card/index.js",
60
71
  "./snowflakes/myz/card/z-myz-card-alert/index.js",
@@ -77,18 +88,7 @@
77
88
  "./snowflakes/myz/topbar/index.js",
78
89
  "./snowflakes/myz/z-alert/index.js",
79
90
  "./snowflakes/myz/z-otp/index.js",
80
- "./snowflakes/myz/z-slideshow/index.js",
81
- "./snowflakes/registro-table/z-registro-table/index.js",
82
- "./snowflakes/registro-table/z-registro-table-body/index.js",
83
- "./snowflakes/registro-table/z-registro-table-cell/index.js",
84
- "./snowflakes/registro-table/z-registro-table-empty-box/index.js",
85
- "./snowflakes/registro-table/z-registro-table-expanded-row/index.js",
86
- "./snowflakes/registro-table/z-registro-table-footer/index.js",
87
- "./snowflakes/registro-table/z-registro-table-head/index.js",
88
- "./snowflakes/registro-table/z-registro-table-header/index.js",
89
- "./snowflakes/registro-table/z-registro-table-header-row/index.js",
90
- "./snowflakes/registro-table/z-registro-table-row/index.js",
91
- "./snowflakes/registro-table/z-registro-table-sticky-footer/index.js"
91
+ "./snowflakes/myz/z-slideshow/index.js"
92
92
  ],
93
93
  "compiler": {
94
94
  "name": "@stencil/core",
@@ -5,7 +5,7 @@ import { mobileBreakpoint } from "../../../constants/breakpoints";
5
5
  * @slot - table elements
6
6
  * @slot sticky-footer - set the content of the sticky footer
7
7
  */
8
- export class ZRegistroTable {
8
+ export class ZTable {
9
9
  constructor() {
10
10
  /** Error message */
11
11
  this.errorMessage = "Siamo spiacenti, non siamo riusciti a caricare il contenuto richiesto";
@@ -47,7 +47,7 @@ export class ZRegistroTable {
47
47
  return (h(Host, null,
48
48
  h("div", { class: tableClass },
49
49
  h("slot", { name: "table-header" })),
50
- h("z-registro-table-error", null,
50
+ h("z-table-error", null,
51
51
  h("div", { class: "error-content", style: { minHeight } },
52
52
  h("slot", { name: "error-image" }),
53
53
  h("div", { class: "text" },
@@ -65,14 +65,14 @@ export class ZRegistroTable {
65
65
  h("slot", { name: "table-header" }),
66
66
  h("div", { class: tableContentClass },
67
67
  h("slot", { name: "table-body" }),
68
- h("z-registro-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle },
68
+ h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle },
69
69
  !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)),
70
70
  !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
71
71
  }
72
72
  return (h(Host, null,
73
73
  h("div", { class: tableClass },
74
74
  h("slot", { name: "table-header" })),
75
- h("z-registro-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle },
75
+ h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle },
76
76
  !!this.callToActionLabel && (h("z-button", { slot: "cta1", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)),
77
77
  !!this.callToActionTwoLabel && (h("z-button", { slot: "cta2", variant: ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
78
78
  }
@@ -91,7 +91,7 @@ export class ZRegistroTable {
91
91
  h("slot", null)),
92
92
  h("slot", { name: "sticky-footer" })));
93
93
  }
94
- static get is() { return "z-registro-table"; }
94
+ static get is() { return "z-table"; }
95
95
  static get originalStyleUrls() { return {
96
96
  "$": ["styles.css"]
97
97
  }; }
@@ -1,4 +1,4 @@
1
- z-registro-table {
1
+ z-table {
2
2
  overflow-x: auto;
3
3
  display: block;
4
4
  width: 100%;
@@ -7,76 +7,76 @@ z-registro-table {
7
7
  background-color: var(--color-white);
8
8
  }
9
9
 
10
- z-registro-table > div.table {
10
+ z-table > div.table {
11
11
  display: table;
12
12
  width: 100%;
13
13
  border-collapse: separate;
14
14
  }
15
15
 
16
- z-registro-table
16
+ z-table
17
17
  > div.table-bordered
18
- > z-registro-table-body
19
- > z-registro-table-row
20
- > z-registro-table-cell:not(:last-child),
21
- z-registro-table
18
+ > z-table-body
19
+ > z-table-row
20
+ > z-table-cell:not(:last-child),
21
+ z-table
22
22
  > div.table-bordered
23
- > z-registro-table-head
24
- > z-registro-table-header-row
25
- > z-registro-table-header:not(:last-child) {
23
+ > z-table-head
24
+ > z-table-header-row
25
+ > z-table-header:not(:last-child) {
26
26
  border-right: var(--border-size-small) solid var(--bg-grey-200);
27
27
  }
28
28
 
29
29
  /** Remove border right to first cell if row is expandable */
30
- z-registro-table
30
+ z-table
31
31
  > div
32
- > z-registro-table-body
33
- > z-registro-table-row[expandable]
34
- > z-registro-table-cell:first-child,
35
- z-registro-table
32
+ > z-table-body
33
+ > z-table-row[expandable]
34
+ > z-table-cell:first-child,
35
+ z-table
36
36
  > div
37
- > z-registro-table-head
38
- > z-registro-table-header-row[expandable]
39
- > z-registro-table-header:first-child {
37
+ > z-table-head
38
+ > z-table-header-row[expandable]
39
+ > z-table-header:first-child {
40
40
  border-right: none;
41
41
  }
42
42
 
43
- z-registro-table
43
+ z-table
44
44
  > div
45
- > z-registro-table-body
46
- > z-registro-table-row[expanded]
47
- > z-registro-table-cell {
45
+ > z-table-body
46
+ > z-table-row[expanded]
47
+ > z-table-cell {
48
48
  background-color: var(--gray50);
49
49
  }
50
50
 
51
- z-registro-table
51
+ z-table
52
52
  > div
53
- > z-registro-table-body
54
- > z-registro-table-row[expanded]
55
- + z-registro-table-expanded-row {
53
+ > z-table-body
54
+ > z-table-row[expanded]
55
+ + z-table-expanded-row {
56
56
  border-bottom: 1px solid var(--gray200);
57
57
  }
58
58
 
59
- z-registro-table
59
+ z-table
60
60
  > div.table-column-sticky
61
- > z-registro-table-body
62
- > z-registro-table-row
63
- > z-registro-table-cell:first-child,
64
- z-registro-table
61
+ > z-table-body
62
+ > z-table-row
63
+ > z-table-cell:first-child,
64
+ z-table
65
65
  > div.table-column-sticky
66
- > z-registro-table-head
67
- > z-registro-table-header-row
68
- > z-registro-table-header:first-child {
66
+ > z-table-head
67
+ > z-table-header-row
68
+ > z-table-header:first-child {
69
69
  position: sticky;
70
70
  left: 0;
71
71
  box-shadow: 1px 0 4px -1px rgba(66, 69, 72, 0.4);
72
72
  z-index: 1;
73
73
  }
74
74
 
75
- z-registro-table
75
+ z-table
76
76
  > div.table-header-sticky
77
- > z-registro-table-head
78
- > z-registro-table-header-row
79
- > z-registro-table-header {
77
+ > z-table-head
78
+ > z-table-header-row
79
+ > z-table-header {
80
80
  position: sticky;
81
81
  top: 0;
82
82
  box-shadow: 0 2px 3px -3px rgba(66, 69, 72, 0.4);
@@ -85,43 +85,43 @@ z-registro-table
85
85
  /**
86
86
  * L'ombra delle celle sticky non va sopra all'header fisso.
87
87
  */
88
- z-registro-table
88
+ z-table
89
89
  > div.table-header-sticky
90
- > z-registro-table-head
91
- > z-registro-table-header-row
92
- > z-registro-table-header {
90
+ > z-table-head
91
+ > z-table-header-row
92
+ > z-table-header {
93
93
  z-index: 2;
94
94
  }
95
95
 
96
96
  /**
97
97
  * La cella in alto a sinistra rimane sempre sopra alle cell durante lo scroll.
98
98
  */
99
- z-registro-table
99
+ z-table
100
100
  > div.table-header-sticky
101
- > z-registro-table-head
102
- > z-registro-table-header-row
103
- > z-registro-table-header:first-child,
104
- z-registro-table
101
+ > z-table-head
102
+ > z-table-header-row
103
+ > z-table-header:first-child,
104
+ z-table
105
105
  > div.table-column-sticky
106
- > z-registro-table-head
107
- > z-registro-table-header-row
108
- > z-registro-table-header:first-child {
106
+ > z-table-head
107
+ > z-table-header-row
108
+ > z-table-header:first-child {
109
109
  z-index: 5;
110
110
  }
111
111
 
112
- z-registro-table-body {
112
+ z-table-body {
113
113
  width: auto;
114
114
  background-color: var(--color-white);
115
115
  }
116
116
 
117
- z-registro-table-empty-box {
117
+ z-table-empty-box {
118
118
  display: flex;
119
119
  flex-direction: column;
120
120
  flex-grow: 1;
121
121
  border-bottom: var(--border-size-small) solid var(--bg-grey-200);
122
122
  }
123
123
 
124
- z-registro-table-empty-box.bordered {
124
+ z-table-empty-box.bordered {
125
125
  border-left: var(--border-size-small) solid var(--bg-grey-200);
126
126
  }
127
127
 
@@ -149,7 +149,7 @@ z-registro-table-empty-box.bordered {
149
149
 
150
150
  /* Mobile */
151
151
  @media only screen and (max-width: 768px) {
152
- z-registro-table > div.table-empty {
152
+ z-table > div.table-empty {
153
153
  display: none;
154
154
  }
155
155
  .error-content {
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, h } from "@stencil/core";
2
- export class ZRegistroTableBody {
2
+ export class ZTableBody {
3
3
  componentWillRender() {
4
4
  this.host.setAttribute("role", "rowgroup");
5
5
  Array.from(this.host.children).forEach((child, index) => child.setAttribute("aria-rowindex", `${index}`));
@@ -7,7 +7,7 @@ export class ZRegistroTableBody {
7
7
  render() {
8
8
  return h("slot", null);
9
9
  }
10
- static get is() { return "z-registro-table-body"; }
10
+ static get is() { return "z-table-body"; }
11
11
  static get encapsulation() { return "scoped"; }
12
12
  static get originalStyleUrls() { return {
13
13
  "$": ["styles.css"]
@@ -4,6 +4,6 @@
4
4
  font-weight: var(--font-rg);
5
5
  }
6
6
 
7
- :host > z-registro-table-row[expanded] + z-registro-table-expanded-row {
7
+ :host > z-table-row[expanded] + z-table-expanded-row {
8
8
  display: table-row;
9
9
  }
@@ -1,7 +1,7 @@
1
1
  import { Component, Element, h, Host, Prop, State } from "@stencil/core";
2
2
  import { ButtonVariantEnum, ButtonSizeEnum, Size } from "../../../beans";
3
3
  import classNames from "classnames";
4
- export class ZRegistroTableCell {
4
+ export class ZTableCell {
5
5
  constructor() {
6
6
  /** Set padding size of cell, if special 0px padding will be set */
7
7
  this.padding = Size.medium;
@@ -26,7 +26,7 @@ export class ZRegistroTableCell {
26
26
  h("slot", { name: "contextual-menu" }))))),
27
27
  h("slot", null)));
28
28
  }
29
- static get is() { return "z-registro-table-cell"; }
29
+ static get is() { return "z-table-cell"; }
30
30
  static get encapsulation() { return "shadow"; }
31
31
  static get originalStyleUrls() { return {
32
32
  "$": ["styles.css"]
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, h, Host, Prop } from "@stencil/core";
2
- export class ZRegistroTableEmptyBox {
2
+ export class ZTableEmptyBox {
3
3
  constructor() {
4
4
  /** Sets main title message*/
5
5
  this.message = "Siamo spiacenti, al momento non sono presenti dati da visualizzare.";
@@ -19,7 +19,7 @@ export class ZRegistroTableEmptyBox {
19
19
  h("slot", { name: "cta1" }),
20
20
  h("slot", { name: "cta2" })))));
21
21
  }
22
- static get is() { return "z-registro-table-empty-box"; }
22
+ static get is() { return "z-table-empty-box"; }
23
23
  static get encapsulation() { return "scoped"; }
24
24
  static get originalStyleUrls() { return {
25
25
  "$": ["styles.css"]
@@ -1,11 +1,11 @@
1
1
  import { Component, Prop, h } from "@stencil/core";
2
- export class ZRegistroTableExpandedRow {
2
+ export class ZTableExpandedRow {
3
3
  render() {
4
4
  return (h("td", { colSpan: this.colSpan },
5
5
  h("div", { class: "content-container" },
6
6
  h("slot", null))));
7
7
  }
8
- static get is() { return "z-registro-table-expanded-row"; }
8
+ static get is() { return "z-table-expanded-row"; }
9
9
  static get encapsulation() { return "shadow"; }
10
10
  static get originalStyleUrls() { return {
11
11
  "$": ["styles.css"]
@@ -1,12 +1,12 @@
1
1
  import { Component, Element, h } from "@stencil/core";
2
- export class ZRegistroTableHead {
2
+ export class ZTableFooter {
3
3
  componentWillRender() {
4
4
  this.host.setAttribute("role", "rowgroup");
5
5
  }
6
6
  render() {
7
7
  return h("slot", null);
8
8
  }
9
- static get is() { return "z-registro-table-head"; }
9
+ static get is() { return "z-table-footer"; }
10
10
  static get encapsulation() { return "scoped"; }
11
11
  static get originalStyleUrls() { return {
12
12
  "$": ["styles.css"]
@@ -1,12 +1,12 @@
1
1
  import { Component, Element, h } from "@stencil/core";
2
- export class ZRegistroTableFooter {
2
+ export class ZTableHead {
3
3
  componentWillRender() {
4
4
  this.host.setAttribute("role", "rowgroup");
5
5
  }
6
6
  render() {
7
7
  return h("slot", null);
8
8
  }
9
- static get is() { return "z-registro-table-footer"; }
9
+ static get is() { return "z-table-head"; }
10
10
  static get encapsulation() { return "scoped"; }
11
11
  static get originalStyleUrls() { return {
12
12
  "$": ["styles.css"]
@@ -2,7 +2,7 @@ import { Component, Element, Event, h, Host, Listen, Prop, State, } from "@stenc
2
2
  import classNames from "classnames";
3
3
  import { ButtonSizeEnum, ButtonVariantEnum, PopoverPosition, Size, SortDirectionEnum, } from "../../../beans";
4
4
  import { getElementTree } from "../../../utils/utils";
5
- export class ZRegistroTableHeader {
5
+ export class ZTableHeader {
6
6
  constructor() {
7
7
  /** Set padding size of cell, if special 0px padding will be set */
8
8
  this.padding = Size.medium;
@@ -48,7 +48,7 @@ export class ZRegistroTableHeader {
48
48
  }
49
49
  handleClickHeaders(e) {
50
50
  const { target } = e;
51
- const parent = getElementTree(target).find((elem) => elem.nodeName.toLowerCase() === "z-registro-table-header");
51
+ const parent = getElementTree(target).find((elem) => elem.nodeName.toLowerCase() === "z-table-header");
52
52
  if (!this.sortable || !parent) {
53
53
  return;
54
54
  }
@@ -78,7 +78,7 @@ export class ZRegistroTableHeader {
78
78
  h("div", { slot: "popover" },
79
79
  h("slot", { name: "contextual-menu" })))))));
80
80
  }
81
- static get is() { return "z-registro-table-header"; }
81
+ static get is() { return "z-table-header"; }
82
82
  static get encapsulation() { return "shadow"; }
83
83
  static get originalStyleUrls() { return {
84
84
  "$": ["styles.css"]
@@ -1,14 +1,14 @@
1
1
  import { Component, Prop, Host, h } from "@stencil/core";
2
- export class ZRegistroTableHeaderRow {
2
+ export class ZTableHeaderRow {
3
3
  _renderExpandHeader() {
4
- return h("z-registro-table-header", null);
4
+ return h("z-table-header", null);
5
5
  }
6
6
  render() {
7
7
  return (h(Host, { role: "row" },
8
8
  this.expandable && this._renderExpandHeader(),
9
9
  h("slot", null)));
10
10
  }
11
- static get is() { return "z-registro-table-header-row"; }
11
+ static get is() { return "z-table-header-row"; }
12
12
  static get originalStyleUrls() { return {
13
13
  "$": ["styles.css"]
14
14
  }; }
@@ -0,0 +1,13 @@
1
+ z-table-header-row {
2
+ display: table-row;
3
+ }
4
+
5
+ z-table-header-row[expandable] > z-table-header:first-child {
6
+ width: 40px;
7
+ user-select: none;
8
+ box-sizing: border-box;
9
+ }
10
+
11
+ z-table-header-row[expandable] > z-table-header:nth-child(2) {
12
+ padding-left: 8px;
13
+ }