@zanichelli/albe-web-components 2.46.0 → 2.46.1

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 (211) hide show
  1. package/dist/cjs/{index-78d71393.js → index-155b2ec5.js} +10 -10
  2. package/dist/cjs/index.cjs.js +2 -2
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{utils-bb43ad49.js → utils-4bbd782c.js} +1 -1
  5. package/dist/cjs/web-components-library.cjs.js +1 -1
  6. package/dist/cjs/z-app-switcher_11.cjs.entry.js +1 -1
  7. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  9. package/dist/cjs/z-button-filter_5.cjs.entry.js +2 -2
  10. package/dist/cjs/z-chip.cjs.entry.js +1 -1
  11. package/dist/cjs/z-combobox.cjs.entry.js +2 -2
  12. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  13. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  14. package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  16. package/dist/cjs/z-file.cjs.entry.js +2 -2
  17. package/dist/cjs/z-footer.cjs.entry.js +1 -1
  18. package/dist/cjs/z-list_3.cjs.entry.js +1 -1
  19. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
  20. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  21. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  22. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  23. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  24. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  25. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  26. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  27. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  28. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  29. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +70 -0
  30. package/dist/cjs/z-navigation-tab.cjs.entry.js +35 -8
  31. package/dist/cjs/z-navigation-tabs.cjs.entry.js +76 -48
  32. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  33. package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
  34. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  35. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  36. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  37. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  38. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  39. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  40. package/dist/cjs/z-table-header.cjs.entry.js +2 -2
  41. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  42. package/dist/cjs/z-table.cjs.entry.js +1 -1
  43. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  44. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  45. package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
  46. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  47. package/dist/collection/beans/index.js +10 -10
  48. package/dist/collection/collection-manifest.json +3 -2
  49. package/dist/collection/components/navigation/{z-navigation-tab/styles.css → tabs/navigation-tab.css} +34 -29
  50. package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +239 -0
  51. package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +271 -0
  52. package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +207 -0
  53. package/dist/collection/components/navigation/{z-navigation-tabs → tabs/z-navigation-tabs}/styles.css +11 -10
  54. package/dist/esm/{index-5fef5bc0.js → index-22f4a844.js} +11 -11
  55. package/dist/esm/index.js +2 -2
  56. package/dist/esm/loader.js +1 -1
  57. package/dist/esm/{utils-9d3aa32a.js → utils-259e2dd9.js} +1 -1
  58. package/dist/esm/web-components-library.js +1 -1
  59. package/dist/esm/z-app-switcher_11.entry.js +1 -1
  60. package/dist/esm/z-aria-alert.entry.js +1 -1
  61. package/dist/esm/z-avatar.entry.js +1 -1
  62. package/dist/esm/z-button-filter_5.entry.js +2 -2
  63. package/dist/esm/z-chip.entry.js +1 -1
  64. package/dist/esm/z-combobox.entry.js +2 -2
  65. package/dist/esm/z-contextual-menu.entry.js +1 -1
  66. package/dist/esm/z-cookiebar.entry.js +1 -1
  67. package/dist/esm/z-date-picker.entry.js +1 -1
  68. package/dist/esm/z-file-upload.entry.js +2 -2
  69. package/dist/esm/z-file.entry.js +2 -2
  70. package/dist/esm/z-footer.entry.js +1 -1
  71. package/dist/esm/z-list_3.entry.js +1 -1
  72. package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
  73. package/dist/esm/z-messages-pocket.entry.js +1 -1
  74. package/dist/esm/z-modal-login.entry.js +1 -1
  75. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  76. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  77. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  78. package/dist/esm/z-myz-card-info.entry.js +2 -2
  79. package/dist/esm/z-myz-card_4.entry.js +1 -1
  80. package/dist/esm/z-myz-list-item.entry.js +2 -2
  81. package/dist/esm/z-myz-topbar.entry.js +1 -1
  82. package/dist/esm/z-navigation-tab-link.entry.js +66 -0
  83. package/dist/esm/z-navigation-tab.entry.js +35 -8
  84. package/dist/esm/z-navigation-tabs.entry.js +76 -48
  85. package/dist/esm/z-otp.entry.js +1 -1
  86. package/dist/esm/z-pagination-bar.entry.js +2 -2
  87. package/dist/esm/z-pocket_3.entry.js +2 -2
  88. package/dist/esm/z-popover.entry.js +2 -2
  89. package/dist/esm/z-section-title.entry.js +1 -1
  90. package/dist/esm/z-slideshow.entry.js +2 -2
  91. package/dist/esm/z-status-tag.entry.js +1 -1
  92. package/dist/esm/z-table-cell.entry.js +1 -1
  93. package/dist/esm/z-table-header.entry.js +2 -2
  94. package/dist/esm/z-table-row.entry.js +1 -1
  95. package/dist/esm/z-table.entry.js +1 -1
  96. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  97. package/dist/esm/z-toast-notification.entry.js +1 -1
  98. package/dist/esm/z-toggle-switch.entry.js +2 -2
  99. package/dist/esm/z-tooltip.entry.js +1 -1
  100. package/dist/types/beans/index.d.ts +4 -4
  101. package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +48 -0
  102. package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +56 -0
  103. package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +68 -0
  104. package/dist/types/components.d.ts +147 -13
  105. package/dist/web-components-library/index.esm.js +1 -1
  106. package/dist/web-components-library/{p-70fda8d4.entry.js → p-0177caf2.entry.js} +1 -1
  107. package/dist/web-components-library/{p-2fbbabae.entry.js → p-01a23d8c.entry.js} +1 -1
  108. package/dist/web-components-library/{p-4f06bdb1.entry.js → p-02145727.entry.js} +1 -1
  109. package/{www/build/p-57d62830.entry.js → dist/web-components-library/p-0b0a358a.entry.js} +1 -1
  110. package/dist/web-components-library/p-0fc6feaf.entry.js +1 -0
  111. package/dist/web-components-library/{p-c55157a0.entry.js → p-10a2a9fe.entry.js} +1 -1
  112. package/dist/web-components-library/{p-5f179a34.entry.js → p-157885b1.entry.js} +1 -1
  113. package/dist/web-components-library/p-1b34d655.entry.js +1 -0
  114. package/dist/web-components-library/{p-89cfc0a8.entry.js → p-240561e7.entry.js} +1 -1
  115. package/dist/web-components-library/p-298d324a.entry.js +1 -0
  116. package/dist/web-components-library/{p-4e4cd7f4.entry.js → p-2d325b9b.entry.js} +1 -1
  117. package/dist/web-components-library/{p-207f741f.entry.js → p-30c0f3f2.entry.js} +1 -1
  118. package/dist/web-components-library/{p-55e762bf.entry.js → p-35c4d277.entry.js} +1 -1
  119. package/{www/build/p-9c5b1ff6.entry.js → dist/web-components-library/p-3bc3f32e.entry.js} +1 -1
  120. package/dist/web-components-library/{p-ac8185d4.entry.js → p-4a360730.entry.js} +1 -1
  121. package/dist/web-components-library/{p-007504c5.entry.js → p-4c7250a9.entry.js} +1 -1
  122. package/dist/web-components-library/{p-4cc87fd0.entry.js → p-4e270984.entry.js} +1 -1
  123. package/dist/web-components-library/{p-e7847ab0.entry.js → p-4ef4c8ef.entry.js} +1 -1
  124. package/dist/web-components-library/{p-712c320a.entry.js → p-4f64af13.entry.js} +1 -1
  125. package/dist/web-components-library/{p-eaa6346b.entry.js → p-58091e1c.entry.js} +1 -1
  126. package/dist/web-components-library/{p-3c0a76b4.entry.js → p-5b2d0ccb.entry.js} +1 -1
  127. package/dist/web-components-library/{p-46ffaa5c.entry.js → p-61ba9cc7.entry.js} +1 -1
  128. package/dist/web-components-library/{p-ffcee00e.entry.js → p-782d01c1.entry.js} +1 -1
  129. package/{www/build/p-23438a53.entry.js → dist/web-components-library/p-7efeb668.entry.js} +1 -1
  130. package/dist/web-components-library/{p-f9196dd5.entry.js → p-814d6b43.entry.js} +1 -1
  131. package/dist/web-components-library/{p-489b248e.entry.js → p-88bc3cf2.entry.js} +1 -1
  132. package/dist/web-components-library/{p-db485c6c.entry.js → p-904375ec.entry.js} +1 -1
  133. package/dist/web-components-library/{p-b59924c0.entry.js → p-9777ec0b.entry.js} +1 -1
  134. package/dist/web-components-library/{p-c8f73284.entry.js → p-9d279248.entry.js} +1 -1
  135. package/dist/web-components-library/{p-df9ef43e.entry.js → p-a6c68018.entry.js} +1 -1
  136. package/dist/web-components-library/{p-e6240652.entry.js → p-b260e143.entry.js} +1 -1
  137. package/dist/web-components-library/{p-965c3ccc.entry.js → p-c196c340.entry.js} +1 -1
  138. package/dist/web-components-library/{p-9d68a948.entry.js → p-c3771cc7.entry.js} +1 -1
  139. package/dist/web-components-library/{p-86e25e99.entry.js → p-c5d6450e.entry.js} +1 -1
  140. package/dist/web-components-library/{p-9fabd2ed.js → p-d2da11f4.js} +1 -1
  141. package/dist/web-components-library/{p-27795c58.js → p-d34e101f.js} +1 -1
  142. package/dist/web-components-library/{p-537d81aa.entry.js → p-d4440420.entry.js} +1 -1
  143. package/{www/build/p-306865df.entry.js → dist/web-components-library/p-d502063b.entry.js} +1 -1
  144. package/dist/web-components-library/{p-75278ab8.entry.js → p-e4dce41a.entry.js} +1 -1
  145. package/dist/web-components-library/{p-5bf347d4.entry.js → p-eafa01a1.entry.js} +1 -1
  146. package/{www/build/p-d1230b51.entry.js → dist/web-components-library/p-ec361ccf.entry.js} +1 -1
  147. package/dist/web-components-library/{p-0406567e.entry.js → p-ef22d940.entry.js} +1 -1
  148. package/dist/web-components-library/{p-fafc4c81.entry.js → p-feb6ee16.entry.js} +1 -1
  149. package/dist/web-components-library/web-components-library.esm.js +1 -1
  150. package/package.json +1 -1
  151. package/react/components.d.ts +1 -0
  152. package/react/components.js +2 -1
  153. package/react/components.js.map +1 -1
  154. package/www/build/index.esm.js +1 -1
  155. package/www/build/{p-70fda8d4.entry.js → p-0177caf2.entry.js} +1 -1
  156. package/www/build/{p-2fbbabae.entry.js → p-01a23d8c.entry.js} +1 -1
  157. package/www/build/{p-4f06bdb1.entry.js → p-02145727.entry.js} +1 -1
  158. package/{dist/web-components-library/p-57d62830.entry.js → www/build/p-0b0a358a.entry.js} +1 -1
  159. package/www/build/p-0fc6feaf.entry.js +1 -0
  160. package/www/build/{p-c55157a0.entry.js → p-10a2a9fe.entry.js} +1 -1
  161. package/www/build/{p-5f179a34.entry.js → p-157885b1.entry.js} +1 -1
  162. package/www/build/p-1b34d655.entry.js +1 -0
  163. package/www/build/{p-89cfc0a8.entry.js → p-240561e7.entry.js} +1 -1
  164. package/www/build/p-298d324a.entry.js +1 -0
  165. package/www/build/{p-4e4cd7f4.entry.js → p-2d325b9b.entry.js} +1 -1
  166. package/www/build/{p-207f741f.entry.js → p-30c0f3f2.entry.js} +1 -1
  167. package/www/build/{p-55e762bf.entry.js → p-35c4d277.entry.js} +1 -1
  168. package/{dist/web-components-library/p-9c5b1ff6.entry.js → www/build/p-3bc3f32e.entry.js} +1 -1
  169. package/www/build/{p-ac8185d4.entry.js → p-4a360730.entry.js} +1 -1
  170. package/www/build/{p-007504c5.entry.js → p-4c7250a9.entry.js} +1 -1
  171. package/www/build/{p-4cc87fd0.entry.js → p-4e270984.entry.js} +1 -1
  172. package/www/build/{p-e7847ab0.entry.js → p-4ef4c8ef.entry.js} +1 -1
  173. package/www/build/{p-712c320a.entry.js → p-4f64af13.entry.js} +1 -1
  174. package/www/build/p-53add5a8.js +1 -0
  175. package/www/build/{p-eaa6346b.entry.js → p-58091e1c.entry.js} +1 -1
  176. package/www/build/{p-3c0a76b4.entry.js → p-5b2d0ccb.entry.js} +1 -1
  177. package/www/build/{p-46ffaa5c.entry.js → p-61ba9cc7.entry.js} +1 -1
  178. package/www/build/{p-ffcee00e.entry.js → p-782d01c1.entry.js} +1 -1
  179. package/{dist/web-components-library/p-23438a53.entry.js → www/build/p-7efeb668.entry.js} +1 -1
  180. package/www/build/{p-f9196dd5.entry.js → p-814d6b43.entry.js} +1 -1
  181. package/www/build/{p-489b248e.entry.js → p-88bc3cf2.entry.js} +1 -1
  182. package/www/build/{p-db485c6c.entry.js → p-904375ec.entry.js} +1 -1
  183. package/www/build/{p-b59924c0.entry.js → p-9777ec0b.entry.js} +1 -1
  184. package/www/build/{p-c8f73284.entry.js → p-9d279248.entry.js} +1 -1
  185. package/www/build/{p-df9ef43e.entry.js → p-a6c68018.entry.js} +1 -1
  186. package/www/build/{p-e6240652.entry.js → p-b260e143.entry.js} +1 -1
  187. package/www/build/{p-965c3ccc.entry.js → p-c196c340.entry.js} +1 -1
  188. package/www/build/{p-9d68a948.entry.js → p-c3771cc7.entry.js} +1 -1
  189. package/www/build/{p-86e25e99.entry.js → p-c5d6450e.entry.js} +1 -1
  190. package/www/build/{p-9fabd2ed.js → p-d2da11f4.js} +1 -1
  191. package/www/build/{p-27795c58.js → p-d34e101f.js} +1 -1
  192. package/www/build/{p-537d81aa.entry.js → p-d4440420.entry.js} +1 -1
  193. package/{dist/web-components-library/p-306865df.entry.js → www/build/p-d502063b.entry.js} +1 -1
  194. package/www/build/{p-75278ab8.entry.js → p-e4dce41a.entry.js} +1 -1
  195. package/www/build/{p-5bf347d4.entry.js → p-eafa01a1.entry.js} +1 -1
  196. package/{dist/web-components-library/p-d1230b51.entry.js → www/build/p-ec361ccf.entry.js} +1 -1
  197. package/www/build/{p-0406567e.entry.js → p-ef22d940.entry.js} +1 -1
  198. package/www/build/{p-fafc4c81.entry.js → p-feb6ee16.entry.js} +1 -1
  199. package/www/build/web-components-library.esm.js +1 -1
  200. package/www/index.html +1 -1
  201. package/CHANGELOG.md +0 -1515
  202. package/dist/collection/components/navigation/z-navigation-tab/index.js +0 -151
  203. package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -179
  204. package/dist/types/components/navigation/z-navigation-tab/index.d.ts +0 -16
  205. package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -32
  206. package/dist/web-components-library/p-624062ac.entry.js +0 -1
  207. package/dist/web-components-library/p-cd88c42b.entry.js +0 -1
  208. package/src-react/index.ts +0 -1
  209. package/www/build/p-1e04617b.js +0 -1
  210. package/www/build/p-624062ac.entry.js +0 -1
  211. package/www/build/p-cd88c42b.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-90e18641.js';
2
- import { D as DeviceEnum } from './index-5fef5bc0.js';
3
- import { a as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-9d3aa32a.js';
2
+ import { D as DeviceEnum } from './index-22f4a844.js';
3
+ import { a as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-259e2dd9.js';
4
4
  import './breakpoints-c386984e.js';
5
5
 
6
6
  const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:\"center center\" \"left right\";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:\"left center right\";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-90e18641.js';
2
- import { S as StatusTagStatus } from './index-5fef5bc0.js';
2
+ import { S as StatusTagStatus } from './index-22f4a844.js';
3
3
  import { c as classnames } from './index-abb47b30.js';
4
4
  import './_commonjsHelpers-9943807e.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
2
- import { z as Size, b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-5fef5bc0.js';
2
+ import { y as Size, b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-22f4a844.js';
3
3
  import { c as classnames } from './index-abb47b30.js';
4
4
  import './_commonjsHelpers-9943807e.js';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
2
2
  import { c as classnames } from './index-abb47b30.js';
3
- import { z as Size, F as SortDirectionEnum, P as PopoverPosition, b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-5fef5bc0.js';
4
- import { b as getElementTree } from './utils-9d3aa32a.js';
3
+ import { y as Size, z as SortDirectionEnum, P as PopoverPosition, b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-22f4a844.js';
4
+ import { b as getElementTree } from './utils-259e2dd9.js';
5
5
  import './_commonjsHelpers-9943807e.js';
6
6
  import './breakpoints-c386984e.js';
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-90e18641.js';
2
- import { s as ZTableRowExpandedType } from './index-5fef5bc0.js';
2
+ import { r as ZTableRowExpandedType } from './index-22f4a844.js';
3
3
 
4
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-table-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
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
2
- import { b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-5fef5bc0.js';
2
+ import { b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-22f4a844.js';
3
3
  import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
4
4
 
5
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}}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
2
- import { u as ToastNotificationPositionsEnum } from './index-5fef5bc0.js';
2
+ import { t as ToastNotificationPositionsEnum } from './index-22f4a844.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-90e18641.js';
2
- import { t as ToastNotificationTransitionsEnum } from './index-5fef5bc0.js';
2
+ import { s as ToastNotificationTransitionsEnum } from './index-22f4a844.js';
3
3
  import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
4
4
  import { h as hammer } from './hammer-c3266b17.js';
5
5
  import './_commonjsHelpers-9943807e.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
2
- import { r as randomId } from './utils-9d3aa32a.js';
3
- import { v as ZtoggleSwitchPositionEnum } from './index-5fef5bc0.js';
2
+ import { r as randomId } from './utils-259e2dd9.js';
3
+ import { u as ZtoggleSwitchPositionEnum } from './index-22f4a844.js';
4
4
  import './breakpoints-c386984e.js';
5
5
 
6
6
  const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex;position:relative}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{letter-spacing:0;color:var(--color-text01)}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{top:1px;left:1px;height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{top:1px;left:1px;position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--color-white);box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
2
- import { j as TooltipPosition } from './index-5fef5bc0.js';
2
+ import { j as TooltipPosition } from './index-22f4a844.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
 
@@ -82,13 +82,13 @@ export declare type TabItem = {
82
82
  selected?: boolean;
83
83
  disabled?: boolean;
84
84
  };
85
- export declare type TabOrientationBean = TabOrientationEnum;
86
- export declare enum TabOrientationEnum {
85
+ export declare type NavigationTabsOrientation = keyof typeof NavigationTabsOrientations;
86
+ export declare enum NavigationTabsOrientations {
87
87
  horizontal = "horizontal",
88
88
  vertical = "vertical"
89
89
  }
90
- export declare type TabSizeBean = TabSizeEnum;
91
- export declare enum TabSizeEnum {
90
+ export declare type NavigationTabsSize = keyof typeof NavigationTabsSizes;
91
+ export declare enum NavigationTabsSizes {
92
92
  big = "big",
93
93
  small = "small"
94
94
  }
@@ -0,0 +1,48 @@
1
+ import { NavigationTabsOrientation, NavigationTabsSize } from "../../../../beans";
2
+ /**
3
+ * Single tab component to use inside `z-navigation-tabs`. It renders a button.
4
+ * @slot icon - Tab icon. If no extra customization is needed, use the `icon` prop passing the icon's name.
5
+ */
6
+ export declare class ZNavigationTab {
7
+ host: HTMLElement;
8
+ /**
9
+ * Whether the tab is selected.
10
+ */
11
+ selected?: boolean;
12
+ /**
13
+ * Whether the tab is disabled.
14
+ */
15
+ disabled?: boolean;
16
+ /**
17
+ * Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
18
+ */
19
+ orientation: NavigationTabsOrientation;
20
+ /**
21
+ * Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
22
+ */
23
+ size: NavigationTabsSize;
24
+ /**
25
+ * Name of the icon to use. Use the slot `icon` for extra customization.
26
+ * The `filled` version will be automatically used (if found) when the tab is `selected`.
27
+ */
28
+ icon: string;
29
+ /**
30
+ * Label to show in the tab.
31
+ */
32
+ label: string;
33
+ /**
34
+ * Html `title` attribute for the button.
35
+ */
36
+ htmlTitle: string;
37
+ private emitSelected;
38
+ onFocus(): void;
39
+ onClick(): void;
40
+ onSelected(): void;
41
+ /**
42
+ * Render the icon component using the icon's name passed from prop.
43
+ * Use the `filled` version when the tab is `selected`.
44
+ * @returns {HTMLElement}
45
+ */
46
+ renderIcon(): any;
47
+ render(): any;
48
+ }
@@ -0,0 +1,56 @@
1
+ import { NavigationTabsOrientation, NavigationTabsSize } from "../../../../beans";
2
+ /**
3
+ * Single tab component to use inside `z-navigation-tabs`. It renders an anchor element.
4
+ * @slot icon - Tab icon. If no extra customization is needed, use the `icon` prop passing the icon's name.
5
+ */
6
+ export declare class ZNavigationTabLink {
7
+ host: HTMLElement;
8
+ /**
9
+ * Whether the tab is selected.
10
+ */
11
+ selected?: boolean;
12
+ /**
13
+ * Whether the tab is disabled.
14
+ */
15
+ disabled?: boolean;
16
+ /**
17
+ * Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
18
+ */
19
+ orientation: NavigationTabsOrientation;
20
+ /**
21
+ * Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
22
+ */
23
+ size: NavigationTabsSize;
24
+ /**
25
+ * Html title attribute for the anchor element.
26
+ */
27
+ htmlTitle: string;
28
+ /**
29
+ * Html `target` attribute for the anchor element.
30
+ */
31
+ target: string;
32
+ /**
33
+ * Url to set to the anchor element.
34
+ */
35
+ href: string;
36
+ /**
37
+ * Name of the icon to use. Use the slot `icon` for extra customization.
38
+ * The `filled` version will be automatically used (if found) when the tab is `selected`.
39
+ */
40
+ icon: string;
41
+ /**
42
+ * Label to show in the tab.
43
+ */
44
+ label: string;
45
+ private emitSelected;
46
+ onFocus(): void;
47
+ onClick(): void;
48
+ onSelected(): void;
49
+ /**
50
+ * Render the icon component using the icon's name passed from prop.
51
+ * Use the `filled` version when the tab is `selected`.
52
+ * @returns {HTMLElement}
53
+ */
54
+ renderIcon(): any;
55
+ render(): any;
56
+ }
@@ -0,0 +1,68 @@
1
+ import { NavigationTabsSize, NavigationTabsOrientation } from '../../../../beans';
2
+ /**
3
+ * Navigation tabs component.
4
+ * @slot - Main slot. Use `z-navigation-tab` or `z-navigation-tab-link` components as children.
5
+ */
6
+ export declare class ZNavigationTabs {
7
+ /**
8
+ * Navigation tabs orientation.
9
+ */
10
+ orientation?: NavigationTabsOrientation;
11
+ /**
12
+ * Navigation tabs size.
13
+ */
14
+ size?: NavigationTabsSize;
15
+ /**
16
+ * Whether to show navigation buttons.
17
+ */
18
+ canNavigate: boolean;
19
+ /**
20
+ * Whether backwards navigation is enabled.
21
+ */
22
+ canNavigatePrev: boolean;
23
+ /**
24
+ * Whether forward navigation is enabled.
25
+ */
26
+ canNavigateNext: boolean;
27
+ host: HTMLElement;
28
+ private tabsNav;
29
+ /**
30
+ * Getter for the direction to check based on current orientation.
31
+ */
32
+ get direction(): "Left" | "Top";
33
+ /**
34
+ * Getter for the dimension to check based on current orientation.
35
+ */
36
+ get dimension(): "Width" | "Height";
37
+ /**
38
+ * Set the `size` prop to all `z-navigation-tab` children.
39
+ */
40
+ setChildrenSize(): void;
41
+ /**
42
+ * Set the `orientation` prop to all `z-navigation-tab` children.
43
+ */
44
+ setChildrenOrientation(): void;
45
+ /**
46
+ * Check if the navigation buttons are needed on window resize.
47
+ */
48
+ checkScrollVisible(): void;
49
+ /**
50
+ * Check if navigation buttons can be enabled for each direction.
51
+ */
52
+ checkScrollEnabled(): void;
53
+ /**
54
+ * Listen for child tab selection.
55
+ * @param {CustomEvent} event `selected` event triggered by a child tab
56
+ */
57
+ onTabSelected(event: CustomEvent): void;
58
+ /**
59
+ * Scroll the navigation bar half of its size backward.
60
+ */
61
+ navigateBackwards(): void;
62
+ /**
63
+ * Scroll the navigation bar half of its size forward.
64
+ */
65
+ navigateForward(): void;
66
+ componentDidRender(): void;
67
+ render(): any;
68
+ }
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { AlertTypes, LicenseTypeEnum, MenuItem as MenuItem1, TooltipPosition } from "./beans/index";
9
- import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SortDirection, StatusTagStatus, TabOrientationBean, TabSizeBean, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZSectionTitleDividerPosition, ZTableRowExpandedType, ZtoggleSwitchPositionEnum } from "./beans";
9
+ import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SortDirection, StatusTagStatus, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZSectionTitleDividerPosition, ZTableRowExpandedType, ZtoggleSwitchPositionEnum } from "./beans";
10
10
  import { ListItemBean } from "./beans/index.js";
11
11
  import { ZTypographyLevels } from "./components/typography/z-typography/index";
12
12
  export namespace Components {
@@ -1059,20 +1059,82 @@ export namespace Components {
1059
1059
  "userdata"?: string | HeaderUserData;
1060
1060
  }
1061
1061
  interface ZNavigationTab {
1062
+ /**
1063
+ * Whether the tab is disabled.
1064
+ */
1065
+ "disabled"?: boolean;
1066
+ /**
1067
+ * Html `title` attribute for the button.
1068
+ */
1069
+ "htmlTitle": string;
1070
+ /**
1071
+ * Name of the icon to use. Use the slot `icon` for extra customization. The `filled` version will be automatically used (if found) when the tab is `selected`.
1072
+ */
1073
+ "icon": string;
1074
+ /**
1075
+ * Label to show in the tab.
1076
+ */
1077
+ "label": string;
1078
+ /**
1079
+ * Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
1080
+ */
1081
+ "orientation": NavigationTabsOrientation;
1082
+ /**
1083
+ * Whether the tab is selected.
1084
+ */
1085
+ "selected"?: boolean;
1086
+ /**
1087
+ * Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
1088
+ */
1089
+ "size": NavigationTabsSize;
1090
+ }
1091
+ interface ZNavigationTabLink {
1092
+ /**
1093
+ * Whether the tab is disabled.
1094
+ */
1062
1095
  "disabled"?: boolean;
1063
- "orientation": string;
1096
+ /**
1097
+ * Url to set to the anchor element.
1098
+ */
1099
+ "href": string;
1100
+ /**
1101
+ * Html title attribute for the anchor element.
1102
+ */
1103
+ "htmlTitle": string;
1104
+ /**
1105
+ * Name of the icon to use. Use the slot `icon` for extra customization. The `filled` version will be automatically used (if found) when the tab is `selected`.
1106
+ */
1107
+ "icon": string;
1108
+ /**
1109
+ * Label to show in the tab.
1110
+ */
1111
+ "label": string;
1112
+ /**
1113
+ * Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
1114
+ */
1115
+ "orientation": NavigationTabsOrientation;
1116
+ /**
1117
+ * Whether the tab is selected.
1118
+ */
1064
1119
  "selected"?: boolean;
1065
- "size": string;
1120
+ /**
1121
+ * Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
1122
+ */
1123
+ "size": NavigationTabsSize;
1124
+ /**
1125
+ * Html `target` attribute for the anchor element.
1126
+ */
1127
+ "target": string;
1066
1128
  }
1067
1129
  interface ZNavigationTabs {
1068
1130
  /**
1069
- * Available orientation: `horizontal` and `vertical`. Defaults to `horizontal`.
1131
+ * Navigation tabs orientation.
1070
1132
  */
1071
- "orientation"?: TabOrientationBean;
1133
+ "orientation"?: NavigationTabsOrientation;
1072
1134
  /**
1073
- * Available sizes: `big` and `small`. Defaults to `big`.
1135
+ * Navigation tabs size.
1074
1136
  */
1075
- "size"?: TabSizeBean;
1137
+ "size"?: NavigationTabsSize;
1076
1138
  }
1077
1139
  interface ZNotification {
1078
1140
  /**
@@ -2003,6 +2065,12 @@ declare global {
2003
2065
  prototype: HTMLZNavigationTabElement;
2004
2066
  new (): HTMLZNavigationTabElement;
2005
2067
  };
2068
+ interface HTMLZNavigationTabLinkElement extends Components.ZNavigationTabLink, HTMLStencilElement {
2069
+ }
2070
+ var HTMLZNavigationTabLinkElement: {
2071
+ prototype: HTMLZNavigationTabLinkElement;
2072
+ new (): HTMLZNavigationTabLinkElement;
2073
+ };
2006
2074
  interface HTMLZNavigationTabsElement extends Components.ZNavigationTabs, HTMLStencilElement {
2007
2075
  }
2008
2076
  var HTMLZNavigationTabsElement: {
@@ -2286,6 +2354,7 @@ declare global {
2286
2354
  "z-myz-list-item": HTMLZMyzListItemElement;
2287
2355
  "z-myz-topbar": HTMLZMyzTopbarElement;
2288
2356
  "z-navigation-tab": HTMLZNavigationTabElement;
2357
+ "z-navigation-tab-link": HTMLZNavigationTabLinkElement;
2289
2358
  "z-navigation-tabs": HTMLZNavigationTabsElement;
2290
2359
  "z-notification": HTMLZNotificationElement;
2291
2360
  "z-offcanvas": HTMLZOffcanvasElement;
@@ -3519,21 +3588,84 @@ declare namespace LocalJSX {
3519
3588
  "userdata"?: string | HeaderUserData;
3520
3589
  }
3521
3590
  interface ZNavigationTab {
3591
+ /**
3592
+ * Whether the tab is disabled.
3593
+ */
3594
+ "disabled"?: boolean;
3595
+ /**
3596
+ * Html `title` attribute for the button.
3597
+ */
3598
+ "htmlTitle"?: string;
3599
+ /**
3600
+ * Name of the icon to use. Use the slot `icon` for extra customization. The `filled` version will be automatically used (if found) when the tab is `selected`.
3601
+ */
3602
+ "icon"?: string;
3603
+ /**
3604
+ * Label to show in the tab.
3605
+ */
3606
+ "label"?: string;
3607
+ "onSelected"?: (event: CustomEvent<any>) => void;
3608
+ /**
3609
+ * Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
3610
+ */
3611
+ "orientation"?: NavigationTabsOrientation;
3612
+ /**
3613
+ * Whether the tab is selected.
3614
+ */
3615
+ "selected"?: boolean;
3616
+ /**
3617
+ * Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
3618
+ */
3619
+ "size"?: NavigationTabsSize;
3620
+ }
3621
+ interface ZNavigationTabLink {
3622
+ /**
3623
+ * Whether the tab is disabled.
3624
+ */
3522
3625
  "disabled"?: boolean;
3626
+ /**
3627
+ * Url to set to the anchor element.
3628
+ */
3629
+ "href"?: string;
3630
+ /**
3631
+ * Html title attribute for the anchor element.
3632
+ */
3633
+ "htmlTitle"?: string;
3634
+ /**
3635
+ * Name of the icon to use. Use the slot `icon` for extra customization. The `filled` version will be automatically used (if found) when the tab is `selected`.
3636
+ */
3637
+ "icon"?: string;
3638
+ /**
3639
+ * Label to show in the tab.
3640
+ */
3641
+ "label"?: string;
3523
3642
  "onSelected"?: (event: CustomEvent<any>) => void;
3524
- "orientation"?: string;
3643
+ /**
3644
+ * Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
3645
+ */
3646
+ "orientation"?: NavigationTabsOrientation;
3647
+ /**
3648
+ * Whether the tab is selected.
3649
+ */
3525
3650
  "selected"?: boolean;
3526
- "size"?: string;
3651
+ /**
3652
+ * Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
3653
+ */
3654
+ "size"?: NavigationTabsSize;
3655
+ /**
3656
+ * Html `target` attribute for the anchor element.
3657
+ */
3658
+ "target"?: string;
3527
3659
  }
3528
3660
  interface ZNavigationTabs {
3529
3661
  /**
3530
- * Available orientation: `horizontal` and `vertical`. Defaults to `horizontal`.
3662
+ * Navigation tabs orientation.
3531
3663
  */
3532
- "orientation"?: TabOrientationBean;
3664
+ "orientation"?: NavigationTabsOrientation;
3533
3665
  /**
3534
- * Available sizes: `big` and `small`. Defaults to `big`.
3666
+ * Navigation tabs size.
3535
3667
  */
3536
- "size"?: TabSizeBean;
3668
+ "size"?: NavigationTabsSize;
3537
3669
  }
3538
3670
  interface ZNotification {
3539
3671
  /**
@@ -4218,6 +4350,7 @@ declare namespace LocalJSX {
4218
4350
  "z-myz-list-item": ZMyzListItem;
4219
4351
  "z-myz-topbar": ZMyzTopbar;
4220
4352
  "z-navigation-tab": ZNavigationTab;
4353
+ "z-navigation-tab-link": ZNavigationTabLink;
4221
4354
  "z-navigation-tabs": ZNavigationTabs;
4222
4355
  "z-notification": ZNotification;
4223
4356
  "z-offcanvas": ZOffcanvas;
@@ -4321,6 +4454,7 @@ declare module "@stencil/core" {
4321
4454
  "z-myz-list-item": LocalJSX.ZMyzListItem & JSXBase.HTMLAttributes<HTMLZMyzListItemElement>;
4322
4455
  "z-myz-topbar": LocalJSX.ZMyzTopbar & JSXBase.HTMLAttributes<HTMLZMyzTopbarElement>;
4323
4456
  "z-navigation-tab": LocalJSX.ZNavigationTab & JSXBase.HTMLAttributes<HTMLZNavigationTabElement>;
4457
+ "z-navigation-tab-link": LocalJSX.ZNavigationTabLink & JSXBase.HTMLAttributes<HTMLZNavigationTabLinkElement>;
4324
4458
  "z-navigation-tabs": LocalJSX.ZNavigationTabs & JSXBase.HTMLAttributes<HTMLZNavigationTabsElement>;
4325
4459
  "z-notification": LocalJSX.ZNotification & JSXBase.HTMLAttributes<HTMLZNotificationElement>;
4326
4460
  "z-offcanvas": LocalJSX.ZOffcanvas & JSXBase.HTMLAttributes<HTMLZOffcanvasElement>;
@@ -1 +1 @@
1
- import{c as o}from"./p-27795c58.js";import"./p-9fabd2ed.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
1
+ import{c as o}from"./p-d34e101f.js";import"./p-d2da11f4.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
@@ -1 +1 @@
1
- import{r as i,c as t,h as o}from"./p-98268a57.js";import{b as e,c as r}from"./p-9fabd2ed.js";const a=class{constructor(o){i(this,o),this.creditsLinkClick=t(this,"creditsLinkClick",7),this.reportAProblemButtonClick=t(this,"reportAProblemButtonClick",7),this.creditsLinkId="creditsLinkId",this.emitReportAProblemButtonClick=this.emitReportAProblemButtonClick.bind(this)}componentWillLoad(){this.data&&(console.warn("z-footer: `data` prop is deprecated and will be removed in a future version. Use slots instead."),this.jsonData=JSON.parse(this.data))}zLinkClickListener(i){i.detail.linkId===this.creditsLinkId&&this.emitCreditsLinkClick()}emitCreditsLinkClick(){this.creditsLinkClick.emit()}emitReportAProblemButtonClick(){this.reportAProblemButtonClick.emit()}renderZLogo(){return o("z-logo",{link:"https://www.zanichelli.it",width:144,height:38,imageAlt:"Home Zanichelli",targetBlank:!0})}renderAddress(){return o("p",null,"Zanichelli editore S.p.A. via Irnerio 34, 40126 Bologna",o("br",null),"Fax 051 - 249.782 / 293.224 | Tel. 051 - 293.111 / 245.024",o("br",null),"Partita IVA 03978000374")}renderSocial(){return o("div",{class:"social"},o("slot",{name:"social"}),this.renderFooterSocialJsonData())}renderCopyright(){return o("p",null,"Copyright – 2018-",(new Date).getFullYear()," Zanichelli",o("span",null,"All rights reserved"))}renderCertification(){return o("p",null,"Zanichelli editore S.p.A. opera con sistema qualità certificato CertiCarGraf n. 477",o("br",null),"secondo la norma UNI EN ISO 9001:2015")}renderBottomLinks(){return o("div",{class:"item bottom-links"},o("slot",{name:"links"}),this.renderFooterBottomJsonData())}renderFooterBottom(){return o("section",{id:"bottom"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("div",{class:"item logo"},this.renderZLogo(),this.renderCopyright(),this.renderCertification()),o("div",{class:"item"},this.renderAddress(),this.renderSocial()),this.renderBottomLinks()))}renderFooterTop(){return o("section",{id:"top"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("slot",null),this.renderFooterTopJsonData()))}renderFooterProductInfo(){var i;if(this.productName||this.productVersion||null!=this.productCreditsLink||this.showReportAProblemButton){const t=`${this.productName?" versione":"Versione"} ${this.productVersion}`,a=o("z-body",{level:5},(this.productName||this.productVersion)&&" - ",o("z-link",{htmlid:this.creditsLinkId,href:null===(i=this.productCreditsLink)||void 0===i?void 0:i.trim(),target:"_blank",textcolor:"white"},"Credits"));return o("div",{id:"extension"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("span",null,this.productName&&o("z-body",{level:5,variant:"semibold"},this.productName),this.productVersion&&o("z-body",{level:5},t),null!=this.productCreditsLink&&a),this.showReportAProblemButton&&o("div",null,o("z-body",{level:5},"Hai bisogno di aiuto?"),o("z-button",{variant:e["dark-bg"],size:r.small,onClick:this.emitReportAProblemButtonClick},"SEGNALA UN PROBLEMA")),o("z-divider",{color:"gray500"})))}}renderFooterTopJsonData(){if(!this.jsonData||!this.jsonData.zanichelliLinks)return null;const i=this.jsonData.zanichelliLinks;return this.jsonData.bottomLinks&&i.push({title:"Altre informazioni",items:this.jsonData.bottomLinks}),i.map((i=>o("z-footer-section",{name:i.title},i.items.map((i=>o("z-footer-link",{href:i.link},i.label))))))}renderFooterBottomJsonData(){return this.jsonData&&this.jsonData.bottomLinks?this.jsonData.bottomLinks.map((i=>o("z-footer-link",{href:i.link},i.label))):null}renderFooterSocialJsonData(){return this.jsonData&&this.jsonData.social?this.jsonData.social.map((i=>o("z-footer-social",{href:i.link,icon:i.icon,description:i.description}))):null}render(){return o("footer",null,this.renderFooterProductInfo(),this.renderFooterTop(),this.renderFooterBottom())}};a.style=":host{width:100%}footer{width:auto;height:auto;box-sizing:border-box;font-family:var(--font-family-sans);font-size:13px;padding:var(--space-unit) 0;background-color:var(--gray900);color:var(--gray50)}footer *{box-sizing:border-box}footer>section>div{display:grid}#top{padding:0 calc(var(--space-unit) * 2)}#bottom{width:auto;height:auto;margin:0;padding:0 calc(var(--space-unit) * 2);white-space:pre-line;font-size:12px}#bottom>div{display:grid;grid-template-columns:1fr}#bottom>div>div.item{display:flex;flex-direction:column;align-items:flex-start;grid-column:span 1;height:auto;width:auto;padding:calc(var(--space-unit) * 2) 0}#bottom>div>div.item:nth-child(1){order:2}#bottom>div>div.item:nth-child(2){order:1;border-bottom:1px solid var(--gray50)}#bottom>div>div.item>div.social{display:grid;grid-template-columns:repeat(5, 1fr);grid-template-rows:repeat(auto-fill, 24px);column-gap:12px;padding:0;margin-bottom:0px}#bottom>div>div.bottom-links{display:none}#bottom>div>div.item>p{margin:var(--space-unit) 0;padding:var(--space-unit) 0}#bottom>div>div.item>p:first-child{margin-top:0}#bottom>div>div.item>p:last-child{margin-bottom:0}#bottom>div>div.logo>p>span{display:block}#extension{padding:0 calc(var(--space-unit) * 2)}#extension>div{display:grid;grid-template-columns:1fr;grid-row-gap:var(--space-unit);align-items:center}#extension z-divider{margin-top:var(--space-unit)}#extension z-button{margin-left:var(--space-unit)}div.limited-width{margin:auto;max-width:var(--mw)}@media only screen and (min-width: 768px){footer{padding:0}#top{background-color:var(--gray800);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3)}#top z-footer-section:last-child{display:none}#bottom{background-color:var(--gray900);padding:0 calc(var(--space-unit) * 3)}#bottom>div{grid-template-columns:repeat(4, 1fr);grid-column-gap:var(--grid-tablet-margin)}#bottom>div>div.item{margin:0}#bottom>div>div.item:nth-child(1){order:1}#bottom>div>div.item:nth-child(2){order:2;border-bottom:none}#bottom>div>div.item>p{padding-top:0}#bottom>div>div.logo>z-logo{width:auto;height:39px}#bottom>div>div.bottom-links{display:block;grid-column:span 2;order:3}#bottom>div>div.bottom-links{display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(auto-fill, 24px);grid-column-gap:var(--grid-tablet-margin);font-size:12px}#extension{margin:auto;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3) 0;background-color:var(--gray800);color:white;grid-template-columns:1fr 1fr}#extension>div>div{text-align:end}#extension z-divider{grid-column:1 / span 2}}@media only screen and (min-width: 1152px){#top{width:100%}#top>div{grid-template-columns:repeat(6, 1fr);grid-column-gap:var(--grid-desktop-margin)}#bottom>div>div.item:nth-child(1)>p:nth-of-type(2){font-size:10px}#bottom>div>div.item>p{padding-bottom:0;margin-bottom:calc(var(--space-unit) * 2)}#bottom>div>div.item>div.social{margin-top:0}#bottom>div>div.bottom-links{padding:calc(var(--space-unit) * 2) 0 0 0}#bottom>div>div.bottom-links{grid-template-columns:repeat(3, 1fr);grid-column-gap:var(--grid-desktop-margin);margin:0}}@media only screen and (min-width: 1366px){#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}#bottom{padding:0 calc(var(--space-unit) * 4)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4) 0}}";export{a as z_footer}
1
+ import{r as i,c as t,h as o}from"./p-98268a57.js";import{b as e,c as r}from"./p-d2da11f4.js";const a=class{constructor(o){i(this,o),this.creditsLinkClick=t(this,"creditsLinkClick",7),this.reportAProblemButtonClick=t(this,"reportAProblemButtonClick",7),this.creditsLinkId="creditsLinkId",this.emitReportAProblemButtonClick=this.emitReportAProblemButtonClick.bind(this)}componentWillLoad(){this.data&&(console.warn("z-footer: `data` prop is deprecated and will be removed in a future version. Use slots instead."),this.jsonData=JSON.parse(this.data))}zLinkClickListener(i){i.detail.linkId===this.creditsLinkId&&this.emitCreditsLinkClick()}emitCreditsLinkClick(){this.creditsLinkClick.emit()}emitReportAProblemButtonClick(){this.reportAProblemButtonClick.emit()}renderZLogo(){return o("z-logo",{link:"https://www.zanichelli.it",width:144,height:38,imageAlt:"Home Zanichelli",targetBlank:!0})}renderAddress(){return o("p",null,"Zanichelli editore S.p.A. via Irnerio 34, 40126 Bologna",o("br",null),"Fax 051 - 249.782 / 293.224 | Tel. 051 - 293.111 / 245.024",o("br",null),"Partita IVA 03978000374")}renderSocial(){return o("div",{class:"social"},o("slot",{name:"social"}),this.renderFooterSocialJsonData())}renderCopyright(){return o("p",null,"Copyright – 2018-",(new Date).getFullYear()," Zanichelli",o("span",null,"All rights reserved"))}renderCertification(){return o("p",null,"Zanichelli editore S.p.A. opera con sistema qualità certificato CertiCarGraf n. 477",o("br",null),"secondo la norma UNI EN ISO 9001:2015")}renderBottomLinks(){return o("div",{class:"item bottom-links"},o("slot",{name:"links"}),this.renderFooterBottomJsonData())}renderFooterBottom(){return o("section",{id:"bottom"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("div",{class:"item logo"},this.renderZLogo(),this.renderCopyright(),this.renderCertification()),o("div",{class:"item"},this.renderAddress(),this.renderSocial()),this.renderBottomLinks()))}renderFooterTop(){return o("section",{id:"top"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("slot",null),this.renderFooterTopJsonData()))}renderFooterProductInfo(){var i;if(this.productName||this.productVersion||null!=this.productCreditsLink||this.showReportAProblemButton){const t=`${this.productName?" versione":"Versione"} ${this.productVersion}`,a=o("z-body",{level:5},(this.productName||this.productVersion)&&" - ",o("z-link",{htmlid:this.creditsLinkId,href:null===(i=this.productCreditsLink)||void 0===i?void 0:i.trim(),target:"_blank",textcolor:"white"},"Credits"));return o("div",{id:"extension"},o("div",{class:{"limited-width":!!this.contentMaxWidth},style:this.contentMaxWidth?{"--mw":`${this.contentMaxWidth}px`}:{}},o("span",null,this.productName&&o("z-body",{level:5,variant:"semibold"},this.productName),this.productVersion&&o("z-body",{level:5},t),null!=this.productCreditsLink&&a),this.showReportAProblemButton&&o("div",null,o("z-body",{level:5},"Hai bisogno di aiuto?"),o("z-button",{variant:e["dark-bg"],size:r.small,onClick:this.emitReportAProblemButtonClick},"SEGNALA UN PROBLEMA")),o("z-divider",{color:"gray500"})))}}renderFooterTopJsonData(){if(!this.jsonData||!this.jsonData.zanichelliLinks)return null;const i=this.jsonData.zanichelliLinks;return this.jsonData.bottomLinks&&i.push({title:"Altre informazioni",items:this.jsonData.bottomLinks}),i.map((i=>o("z-footer-section",{name:i.title},i.items.map((i=>o("z-footer-link",{href:i.link},i.label))))))}renderFooterBottomJsonData(){return this.jsonData&&this.jsonData.bottomLinks?this.jsonData.bottomLinks.map((i=>o("z-footer-link",{href:i.link},i.label))):null}renderFooterSocialJsonData(){return this.jsonData&&this.jsonData.social?this.jsonData.social.map((i=>o("z-footer-social",{href:i.link,icon:i.icon,description:i.description}))):null}render(){return o("footer",null,this.renderFooterProductInfo(),this.renderFooterTop(),this.renderFooterBottom())}};a.style=":host{width:100%}footer{width:auto;height:auto;box-sizing:border-box;font-family:var(--font-family-sans);font-size:13px;padding:var(--space-unit) 0;background-color:var(--gray900);color:var(--gray50)}footer *{box-sizing:border-box}footer>section>div{display:grid}#top{padding:0 calc(var(--space-unit) * 2)}#bottom{width:auto;height:auto;margin:0;padding:0 calc(var(--space-unit) * 2);white-space:pre-line;font-size:12px}#bottom>div{display:grid;grid-template-columns:1fr}#bottom>div>div.item{display:flex;flex-direction:column;align-items:flex-start;grid-column:span 1;height:auto;width:auto;padding:calc(var(--space-unit) * 2) 0}#bottom>div>div.item:nth-child(1){order:2}#bottom>div>div.item:nth-child(2){order:1;border-bottom:1px solid var(--gray50)}#bottom>div>div.item>div.social{display:grid;grid-template-columns:repeat(5, 1fr);grid-template-rows:repeat(auto-fill, 24px);column-gap:12px;padding:0;margin-bottom:0px}#bottom>div>div.bottom-links{display:none}#bottom>div>div.item>p{margin:var(--space-unit) 0;padding:var(--space-unit) 0}#bottom>div>div.item>p:first-child{margin-top:0}#bottom>div>div.item>p:last-child{margin-bottom:0}#bottom>div>div.logo>p>span{display:block}#extension{padding:0 calc(var(--space-unit) * 2)}#extension>div{display:grid;grid-template-columns:1fr;grid-row-gap:var(--space-unit);align-items:center}#extension z-divider{margin-top:var(--space-unit)}#extension z-button{margin-left:var(--space-unit)}div.limited-width{margin:auto;max-width:var(--mw)}@media only screen and (min-width: 768px){footer{padding:0}#top{background-color:var(--gray800);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3)}#top z-footer-section:last-child{display:none}#bottom{background-color:var(--gray900);padding:0 calc(var(--space-unit) * 3)}#bottom>div{grid-template-columns:repeat(4, 1fr);grid-column-gap:var(--grid-tablet-margin)}#bottom>div>div.item{margin:0}#bottom>div>div.item:nth-child(1){order:1}#bottom>div>div.item:nth-child(2){order:2;border-bottom:none}#bottom>div>div.item>p{padding-top:0}#bottom>div>div.logo>z-logo{width:auto;height:39px}#bottom>div>div.bottom-links{display:block;grid-column:span 2;order:3}#bottom>div>div.bottom-links{display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(auto-fill, 24px);grid-column-gap:var(--grid-tablet-margin);font-size:12px}#extension{margin:auto;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3) 0;background-color:var(--gray800);color:white;grid-template-columns:1fr 1fr}#extension>div>div{text-align:end}#extension z-divider{grid-column:1 / span 2}}@media only screen and (min-width: 1152px){#top{width:100%}#top>div{grid-template-columns:repeat(6, 1fr);grid-column-gap:var(--grid-desktop-margin)}#bottom>div>div.item:nth-child(1)>p:nth-of-type(2){font-size:10px}#bottom>div>div.item>p{padding-bottom:0;margin-bottom:calc(var(--space-unit) * 2)}#bottom>div>div.item>div.social{margin-top:0}#bottom>div>div.bottom-links{padding:calc(var(--space-unit) * 2) 0 0 0}#bottom>div>div.bottom-links{grid-template-columns:repeat(3, 1fr);grid-column-gap:var(--grid-desktop-margin);margin:0}}@media only screen and (min-width: 1366px){#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}#bottom{padding:0 calc(var(--space-unit) * 4)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4) 0}}";export{a as z_footer}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e}from"./p-98268a57.js";import{I as s,k as r}from"./p-9fabd2ed.js";import{h as o}from"./p-27795c58.js";import"./p-d69e14fb.js";const a=class{constructor(e){t(this,e),this.comboboxChange=i(this,"comboboxChange",7),this.hassearch=!1,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.renderItemsList=[],this.itemsList=[],this.inputType=s.text,this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}inputCheckListener(t){const i=t.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===i&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(t.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===i&&(e.checked=t.detail.checked),e))),this.resetRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue&&this.filterItems(this.searchValue)}resetRenderItemsList(){const t=[];this.itemsList.forEach((i=>{t.push(Object.assign({},i))})),this.renderItemsList=t}filterItems(t){if(!t)return this.closeFilterItems();this.searchValue=t,this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((i=>{const e=i.name.toUpperCase().indexOf(t.toUpperCase()),s=e+t.length,r=i.name.substring(0,e)+i.name.substring(e,s).bold()+i.name.substring(s,i.name.length);return i.name=r,e>=0}))}checkAll(t=!0){this.itemsList=this.itemsList.map((i=>Object.assign(Object.assign({},i),{checked:t}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:t=>{t.keyCode===r.SPACE&&t.preventDefault()},onKeyUp:t=>o(t,this.toggleComboBox),role:"button",tabindex:0},e("z-body",{level:3,component:"p"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",width:18,height:18}))}renderContent(){if(this.isopen)return e("div",{class:"openComboData"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderList(t){if(t)return!t.length&&this.searchValue?this.renderNoSearchResults():e("ul",null,t.map(((i,r)=>e("z-myz-list-item",{id:i.id,listitemid:i.id,action:`combo-li-${this.inputid}`,underlined:r!==t.length-1},e("z-input",{type:s.checkbox,checked:i.checked,htmlid:`combo-checkbox-${this.inputid}-${i.id}`,label:i.name,disabled:!i.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter})))))}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle"}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:t=>o(t,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,hasmessage:!1,onInputChange:t=>{if(27===t.detail.keycode)return this.closeFilterItems();this.filterItems(t.detail.value)}})}renderCheckAll(){if(this.searchValue)return;const t=this.selectedCounter===this.itemsList.length;return e("div",{class:"checkAllWrapper"},e("z-input",{type:s.checkbox,checked:t,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:t?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:`${this.isopen?"open":""} ${this.isfixed?"fixed":""}`,id:this.inputid},this.renderHeader(),this.renderContent())}static get watchers(){return{items:["watchItems"]}}};a.style=":host{display:block}:host>div.fixed{position:relative;height:42px}:host>div>.header{background-color:var(--bg-white);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--bg-grey-700);position:relative;z-index:10;min-height:42px;margin:0;padding:0 calc(var(--space-unit) * 2);display:flex;justify-content:space-between;align-items:center;cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{margin:0;padding:var(--space-unit) 0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border-radius:var(border-radius-small) var(border-radius-small) 0 0;border:var(--border-size-small) solid var(--blue500)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.openComboData{background-color:var(--bg-white);border-radius:0;border:var(--border-size-small) solid var(--gray200);border-top:0px;position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2)}:host>div.open>div.openComboData>div{padding:0;max-height:235px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--gray200)}:host>div.open>div.openComboData>z-input{margin-bottom:calc(var(--space-unit) * 2);width:100%}:host>div.open>div.openComboData>div>ul{margin:0;padding:0 3px;max-height:235px}::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px}:host>div.open>z-input{color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);width:238px;position:relative;z-index:1}:host>div.open>div.openComboData>div.search{box-shadow:1px 1px 4px 2px rgba(217, 222, 227, 0.5);margin-top:0;max-height:auto;overflow:hidden}:host>div.open>div.openComboData>div.search>ul{padding:var(--space-unit) calc(var(--space-unit) * 2);max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200)}:host>div.open>div.openComboData>div.search>div{display:flex;justify-content:center}:host>div.open>div.openComboData>div.search>div>a{display:inline-block;cursor:pointer;color:var(--myz-blue);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;height:44px;line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.openComboData>div.checkAllWrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * .5);text-align:left}";export{a as z_combobox}
1
+ import{r as t,c as i,h as e}from"./p-98268a57.js";import{I as s,k as r}from"./p-d2da11f4.js";import{h as o}from"./p-d34e101f.js";import"./p-d69e14fb.js";const a=class{constructor(e){t(this,e),this.comboboxChange=i(this,"comboboxChange",7),this.hassearch=!1,this.noresultslabel="Nessun risultato",this.isopen=!1,this.isfixed=!1,this.closesearchtext="Chiudi",this.hascheckall=!1,this.checkalltext="Seleziona tutti",this.uncheckalltext="Deseleziona tutti",this.maxcheckableitems=0,this.renderItemsList=[],this.itemsList=[],this.inputType=s.text,this.toggleComboBox=this.toggleComboBox.bind(this),this.closeFilterItems=this.closeFilterItems.bind(this)}watchItems(){this.itemsList="string"==typeof this.items?JSON.parse(this.items):this.items,this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue?this.filterItems(this.searchValue):this.resetRenderItemsList()}inputCheckListener(t){const i=t.detail.id.replace(`combo-checkbox-${this.inputid}-`,"");if("check-all"===i&&(!this.maxcheckableitems||this.maxcheckableitems>=this.itemsList.length))return this.checkAll(t.detail.checked);this.itemsList=this.itemsList.map((e=>(e.id===i&&(e.checked=t.detail.checked),e))),this.resetRenderItemsList(),this.emitComboboxChange()}emitComboboxChange(){this.comboboxChange.emit({id:this.inputid,items:this.itemsList})}componentWillLoad(){this.watchItems()}componentWillRender(){this.selectedCounter=this.itemsList.filter((t=>t.checked)).length,this.searchValue&&this.filterItems(this.searchValue)}resetRenderItemsList(){const t=[];this.itemsList.forEach((i=>{t.push(Object.assign({},i))})),this.renderItemsList=t}filterItems(t){if(!t)return this.closeFilterItems();this.searchValue=t,this.resetRenderItemsList(),this.renderItemsList=this.renderItemsList.filter((i=>{const e=i.name.toUpperCase().indexOf(t.toUpperCase()),s=e+t.length,r=i.name.substring(0,e)+i.name.substring(e,s).bold()+i.name.substring(s,i.name.length);return i.name=r,e>=0}))}checkAll(t=!0){this.itemsList=this.itemsList.map((i=>Object.assign(Object.assign({},i),{checked:t}))),this.resetRenderItemsList(),this.emitComboboxChange()}closeFilterItems(){this.searchValue="",this.resetRenderItemsList()}toggleComboBox(){this.isopen=!this.isopen}renderHeader(){return e("div",{class:"header",onClick:()=>this.toggleComboBox(),onKeyDown:t=>{t.keyCode===r.SPACE&&t.preventDefault()},onKeyUp:t=>o(t,this.toggleComboBox),role:"button",tabindex:0},e("z-body",{level:3,component:"p"},this.label,e("span",null,this.selectedCounter>0&&` (${this.selectedCounter})`)),e("z-icon",{name:"caret-down",width:18,height:18}))}renderContent(){if(this.isopen)return e("div",{class:"openComboData"},this.hassearch&&this.renderSearchInput(),this.hascheckall&&this.renderCheckAll(),this.renderItems())}renderItems(){if(this.isopen)return e("div",{class:this.searchValue&&"search",tabindex:-1},this.renderList(this.renderItemsList),this.searchValue&&this.renderCloseButton())}renderList(t){if(t)return!t.length&&this.searchValue?this.renderNoSearchResults():e("ul",null,t.map(((i,r)=>e("z-myz-list-item",{id:i.id,listitemid:i.id,action:`combo-li-${this.inputid}`,underlined:r!==t.length-1},e("z-input",{type:s.checkbox,checked:i.checked,htmlid:`combo-checkbox-${this.inputid}-${i.id}`,label:i.name,disabled:!i.checked&&this.maxcheckableitems&&this.maxcheckableitems===this.selectedCounter})))))}renderNoSearchResults(){return e("ul",null,e("z-myz-list-item",{id:"no-results",text:this.noresultslabel,listitemid:"no-results",icon:"multiply-circle"}))}renderCloseButton(){return e("div",null,e("a",{onClick:()=>this.closeFilterItems(),onKeyUp:t=>o(t,this.closeFilterItems),role:"button",tabindex:0},this.closesearchtext))}renderSearchInput(){if(this.isopen)return e("z-input",{htmlid:`${this.inputid}_search`,label:this.searchlabel,placeholder:this.searchplaceholder,htmltitle:this.searchtitle,type:this.inputType,value:this.searchValue,hasmessage:!1,onInputChange:t=>{if(27===t.detail.keycode)return this.closeFilterItems();this.filterItems(t.detail.value)}})}renderCheckAll(){if(this.searchValue)return;const t=this.selectedCounter===this.itemsList.length;return e("div",{class:"checkAllWrapper"},e("z-input",{type:s.checkbox,checked:t,htmlid:`combo-checkbox-${this.inputid}-check-all`,label:t?this.uncheckalltext:this.checkalltext,disabled:this.maxcheckableitems&&this.maxcheckableitems<this.itemsList.length}))}render(){return e("div",{"data-action":`combo-${this.inputid}`,class:`${this.isopen?"open":""} ${this.isfixed?"fixed":""}`,id:this.inputid},this.renderHeader(),this.renderContent())}static get watchers(){return{items:["watchItems"]}}};a.style=":host{display:block}:host>div.fixed{position:relative;height:42px}:host>div>.header{background-color:var(--bg-white);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--bg-grey-700);position:relative;z-index:10;min-height:42px;margin:0;padding:0 calc(var(--space-unit) * 2);display:flex;justify-content:space-between;align-items:center;cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{margin:0;padding:var(--space-unit) 0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border-radius:var(border-radius-small) var(border-radius-small) 0 0;border:var(--border-size-small) solid var(--blue500)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.openComboData{background-color:var(--bg-white);border-radius:0;border:var(--border-size-small) solid var(--gray200);border-top:0px;position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2)}:host>div.open>div.openComboData>div{padding:0;max-height:235px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--gray200)}:host>div.open>div.openComboData>z-input{margin-bottom:calc(var(--space-unit) * 2);width:100%}:host>div.open>div.openComboData>div>ul{margin:0;padding:0 3px;max-height:235px}::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px}:host>div.open>z-input{color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);width:238px;position:relative;z-index:1}:host>div.open>div.openComboData>div.search{box-shadow:1px 1px 4px 2px rgba(217, 222, 227, 0.5);margin-top:0;max-height:auto;overflow:hidden}:host>div.open>div.openComboData>div.search>ul{padding:var(--space-unit) calc(var(--space-unit) * 2);max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200)}:host>div.open>div.openComboData>div.search>div{display:flex;justify-content:center}:host>div.open>div.openComboData>div.search>div>a{display:inline-block;cursor:pointer;color:var(--myz-blue);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;height:44px;line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.openComboData>div.checkAllWrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * .5);text-align:left}";export{a as z_combobox}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,H as l}from"./p-98268a57.js";import{s as d}from"./p-9fabd2ed.js";const r=class{constructor(a){e(this,a),this.expand=t(this,"expand",7),this.expandedType=d.none,this.expanded=!1}emitOnExpand(){this.expand.emit({expanded:this.expanded})}handleExpand(){this.expanded=!this.expanded,this.emitOnExpand()}renderExpandButton(){return a("z-table-cell",{style:{borderRight:"none"}},this.expandedType==d.expandable?a("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}):a("div",{class:"z-icon-placeholder"}))}render(){return a(l,{role:"row",expanded:this.expanded,onClick:e=>{this.expandedType===d.expandable&&"Z-CONTEXTUAL-MENU"!==e.target.nodeName&&this.handleExpand()}},this.expandedType!==d.none&&this.renderExpandButton(),a("slot",null))}};r.style='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-table-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}';export{r as z_table_row}
1
+ import{r as e,c as t,h as a,H as l}from"./p-98268a57.js";import{r as d}from"./p-d2da11f4.js";const r=class{constructor(a){e(this,a),this.expand=t(this,"expand",7),this.expandedType=d.none,this.expanded=!1}emitOnExpand(){this.expand.emit({expanded:this.expanded})}handleExpand(){this.expanded=!this.expanded,this.emitOnExpand()}renderExpandButton(){return a("z-table-cell",{style:{borderRight:"none"}},this.expandedType==d.expandable?a("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}):a("div",{class:"z-icon-placeholder"}))}render(){return a(l,{role:"row",expanded:this.expanded,onClick:e=>{this.expandedType===d.expandable&&"Z-CONTEXTUAL-MENU"!==e.target.nodeName&&this.handleExpand()}},this.expandedType!==d.none&&this.renderExpandButton(),a("slot",null))}};r.style='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-table-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}';export{r as z_table_row}