@jumpgroup/jump-design-system 0.3.0 → 0.3.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 (177) hide show
  1. package/dist/cjs/{index-418c607f.js → index-674508e2.js} +9 -4
  2. package/dist/cjs/index-674508e2.js.map +1 -0
  3. package/dist/cjs/jump-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/jump-badge.cjs.entry.js +27 -0
  5. package/dist/cjs/jump-badge.cjs.entry.js.map +1 -0
  6. package/dist/cjs/{jump-icon.cjs.entry.js → jump-button_2.cjs.entry.js} +35 -2
  7. package/dist/cjs/jump-button_2.cjs.entry.js.map +1 -0
  8. package/dist/cjs/jump-card-ecommerce.cjs.entry.js +31 -26
  9. package/dist/cjs/jump-card-ecommerce.cjs.entry.js.map +1 -1
  10. package/dist/cjs/jump-card.cjs.entry.js +3 -3
  11. package/dist/cjs/jump-design-system.cjs.js +2 -2
  12. package/dist/cjs/jump-filter.cjs.entry.js +3 -3
  13. package/dist/cjs/jump-filtergroup.cjs.entry.js +3 -3
  14. package/dist/cjs/jump-pagination-table.cjs.entry.js +16 -4
  15. package/dist/cjs/jump-pagination-table.cjs.entry.js.map +1 -1
  16. package/dist/cjs/jump-pagination.cjs.entry.js +18 -5
  17. package/dist/cjs/jump-pagination.cjs.entry.js.map +1 -1
  18. package/dist/cjs/{jump-badge_2.cjs.entry.js → jump-quantity.cjs.entry.js} +13 -24
  19. package/dist/cjs/jump-quantity.cjs.entry.js.map +1 -0
  20. package/dist/cjs/jump-tab-item.cjs.entry.js +4 -4
  21. package/dist/cjs/jump-tab-item.cjs.entry.js.map +1 -1
  22. package/dist/cjs/jump-tab-panel.cjs.entry.js +2 -2
  23. package/dist/cjs/jump-tab.cjs.entry.js +3 -3
  24. package/dist/cjs/jump-tab.cjs.entry.js.map +1 -1
  25. package/dist/cjs/loader.cjs.js +2 -2
  26. package/dist/collection/components/jump-badge/jump-badge.css +90 -6
  27. package/dist/collection/components/jump-badge/jump-badge.js +60 -3
  28. package/dist/collection/components/jump-badge/jump-badge.js.map +1 -1
  29. package/dist/collection/components/jump-badge/jump-badge.stories.js +79 -4
  30. package/dist/collection/components/jump-badge/jump-badge.stories.js.map +1 -1
  31. package/dist/collection/components/jump-button/jump-button.js +1 -1
  32. package/dist/collection/components/jump-card/jump-card.js +2 -2
  33. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.css +4 -0
  34. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.js +30 -74
  35. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.js.map +1 -1
  36. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.stories.js +15 -21
  37. package/dist/collection/components/jump-card-ecommerce/jump-card-ecommerce.stories.js.map +1 -1
  38. package/dist/collection/components/jump-filter/jump-filter.js +2 -2
  39. package/dist/collection/components/jump-filtergroup/jump-filtergroup.js +2 -2
  40. package/dist/collection/components/jump-pagination/jump-pagination.css +1 -0
  41. package/dist/collection/components/jump-pagination/jump-pagination.js +17 -3
  42. package/dist/collection/components/jump-pagination/jump-pagination.js.map +1 -1
  43. package/dist/collection/components/jump-pagination-table/jump-pagination-table.js +15 -3
  44. package/dist/collection/components/jump-pagination-table/jump-pagination-table.js.map +1 -1
  45. package/dist/collection/components/jump-quantity/jump-quantity.css +3 -1
  46. package/dist/collection/components/jump-quantity/jump-quantity.js +32 -6
  47. package/dist/collection/components/jump-quantity/jump-quantity.js.map +1 -1
  48. package/dist/collection/components/jump-tab/jump-tab.css +2 -5
  49. package/dist/collection/components/jump-tab/jump-tab.js +1 -1
  50. package/dist/collection/components/jump-tab/jump-tab.js.map +1 -1
  51. package/dist/collection/components/jump-tab/jump-tab.stories.js +13 -13
  52. package/dist/collection/components/jump-tab/jump-tab.stories.js.map +1 -1
  53. package/dist/collection/components/jump-tab-item/jump-tab-item-boxed.stories.js +3 -5
  54. package/dist/collection/components/jump-tab-item/jump-tab-item-boxed.stories.js.map +1 -1
  55. package/dist/collection/components/jump-tab-item/jump-tab-item-inline.stories.js +3 -5
  56. package/dist/collection/components/jump-tab-item/jump-tab-item-inline.stories.js.map +1 -1
  57. package/dist/collection/components/jump-tab-item/jump-tab-item.css +34 -34
  58. package/dist/collection/components/jump-tab-item/jump-tab-item.js +3 -2
  59. package/dist/collection/components/jump-tab-item/jump-tab-item.js.map +1 -1
  60. package/dist/collection/components/jump-tab-panel/jump-tab-panel.js +1 -1
  61. package/dist/components/jump-badge2.js +9 -3
  62. package/dist/components/jump-badge2.js.map +1 -1
  63. package/dist/components/jump-button2.js +1 -1
  64. package/dist/components/jump-card-ecommerce.js +36 -39
  65. package/dist/components/jump-card-ecommerce.js.map +1 -1
  66. package/dist/components/jump-card.js +2 -2
  67. package/dist/components/jump-filter.js +2 -2
  68. package/dist/components/jump-filtergroup.js +2 -2
  69. package/dist/components/jump-pagination-table.js +22 -4
  70. package/dist/components/jump-pagination-table.js.map +1 -1
  71. package/dist/components/jump-pagination.js +26 -6
  72. package/dist/components/jump-pagination.js.map +1 -1
  73. package/dist/components/jump-quantity.js +102 -1
  74. package/dist/components/jump-quantity.js.map +1 -1
  75. package/dist/components/jump-tab-item.js +5 -4
  76. package/dist/components/jump-tab-item.js.map +1 -1
  77. package/dist/components/jump-tab-panel.js +1 -1
  78. package/dist/components/jump-tab.js +2 -2
  79. package/dist/components/jump-tab.js.map +1 -1
  80. package/dist/esm/{index-056a0a66.js → index-70f1949a.js} +9 -4
  81. package/dist/esm/index-70f1949a.js.map +1 -0
  82. package/dist/esm/jump-accordion.entry.js +1 -1
  83. package/dist/esm/jump-badge.entry.js +23 -0
  84. package/dist/esm/jump-badge.entry.js.map +1 -0
  85. package/dist/esm/{jump-icon.entry.js → jump-button_2.entry.js} +35 -3
  86. package/dist/esm/jump-button_2.entry.js.map +1 -0
  87. package/dist/esm/jump-card-ecommerce.entry.js +31 -26
  88. package/dist/esm/jump-card-ecommerce.entry.js.map +1 -1
  89. package/dist/esm/jump-card.entry.js +3 -3
  90. package/dist/esm/jump-design-system.js +3 -3
  91. package/dist/esm/jump-filter.entry.js +3 -3
  92. package/dist/esm/jump-filtergroup.entry.js +3 -3
  93. package/dist/esm/jump-pagination-table.entry.js +16 -4
  94. package/dist/esm/jump-pagination-table.entry.js.map +1 -1
  95. package/dist/esm/jump-pagination.entry.js +18 -5
  96. package/dist/esm/jump-pagination.entry.js.map +1 -1
  97. package/dist/esm/{jump-badge_2.entry.js → jump-quantity.entry.js} +14 -24
  98. package/dist/esm/jump-quantity.entry.js.map +1 -0
  99. package/dist/esm/jump-tab-item.entry.js +4 -4
  100. package/dist/esm/jump-tab-item.entry.js.map +1 -1
  101. package/dist/esm/jump-tab-panel.entry.js +2 -2
  102. package/dist/esm/jump-tab.entry.js +3 -3
  103. package/dist/esm/jump-tab.entry.js.map +1 -1
  104. package/dist/esm/loader.js +3 -3
  105. package/dist/jump-design-system/jump-design-system.esm.js +1 -1
  106. package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
  107. package/dist/jump-design-system/p-2cb7d817.entry.js +2 -0
  108. package/dist/jump-design-system/p-2cb7d817.entry.js.map +1 -0
  109. package/dist/jump-design-system/p-34a46a10.entry.js +2 -0
  110. package/dist/jump-design-system/p-34a46a10.entry.js.map +1 -0
  111. package/dist/jump-design-system/p-377a769b.entry.js +2 -0
  112. package/dist/jump-design-system/p-377a769b.entry.js.map +1 -0
  113. package/dist/jump-design-system/p-493c7f4a.entry.js +2 -0
  114. package/dist/jump-design-system/p-493c7f4a.entry.js.map +1 -0
  115. package/dist/jump-design-system/p-4d6cc90d.js +3 -0
  116. package/dist/jump-design-system/p-4d6cc90d.js.map +1 -0
  117. package/dist/jump-design-system/p-56609b82.entry.js +2 -0
  118. package/dist/jump-design-system/p-5a6fbc53.entry.js +2 -0
  119. package/dist/jump-design-system/p-5d713084.entry.js +2 -0
  120. package/dist/jump-design-system/p-7696c03d.entry.js +2 -0
  121. package/dist/jump-design-system/p-7696c03d.entry.js.map +1 -0
  122. package/dist/jump-design-system/p-8343b4f5.entry.js +2 -0
  123. package/dist/jump-design-system/p-8343b4f5.entry.js.map +1 -0
  124. package/dist/jump-design-system/{p-83e6ab6e.entry.js → p-a6fc23f7.entry.js} +2 -2
  125. package/dist/jump-design-system/{p-58602fcb.entry.js → p-c1665537.entry.js} +2 -2
  126. package/dist/jump-design-system/p-c2bc6395.entry.js +66 -0
  127. package/dist/jump-design-system/p-c2bc6395.entry.js.map +1 -0
  128. package/dist/jump-design-system/p-fafe6478.entry.js +2 -0
  129. package/dist/jump-design-system/p-fafe6478.entry.js.map +1 -0
  130. package/dist/jump-design-system-elements.json +38 -8
  131. package/dist/types/components/jump-badge/jump-badge.d.ts +13 -1
  132. package/dist/types/components/jump-badge/jump-badge.stories.d.ts +22 -1
  133. package/dist/types/components/jump-card-ecommerce/jump-card-ecommerce.d.ts +5 -6
  134. package/dist/types/components/jump-card-ecommerce/jump-card-ecommerce.stories.d.ts +0 -6
  135. package/dist/types/components/jump-quantity/jump-quantity.d.ts +4 -0
  136. package/dist/types/components/jump-tab-item/jump-tab-item-boxed.stories.d.ts +0 -1
  137. package/dist/types/components/jump-tab-item/jump-tab-item-inline.stories.d.ts +0 -1
  138. package/dist/types/components.d.ts +30 -20
  139. package/package.json +1 -1
  140. package/dist/cjs/index-418c607f.js.map +0 -1
  141. package/dist/cjs/jump-badge_2.cjs.entry.js.map +0 -1
  142. package/dist/cjs/jump-button.cjs.entry.js +0 -41
  143. package/dist/cjs/jump-button.cjs.entry.js.map +0 -1
  144. package/dist/cjs/jump-icon.cjs.entry.js.map +0 -1
  145. package/dist/components/jump-quantity2.js +0 -94
  146. package/dist/components/jump-quantity2.js.map +0 -1
  147. package/dist/esm/index-056a0a66.js.map +0 -1
  148. package/dist/esm/jump-badge_2.entry.js.map +0 -1
  149. package/dist/esm/jump-button.entry.js +0 -37
  150. package/dist/esm/jump-button.entry.js.map +0 -1
  151. package/dist/esm/jump-icon.entry.js.map +0 -1
  152. package/dist/jump-design-system/p-0dc744ce.entry.js +0 -2
  153. package/dist/jump-design-system/p-357cf73d.entry.js +0 -66
  154. package/dist/jump-design-system/p-357cf73d.entry.js.map +0 -1
  155. package/dist/jump-design-system/p-58bed455.entry.js +0 -2
  156. package/dist/jump-design-system/p-58bed455.entry.js.map +0 -1
  157. package/dist/jump-design-system/p-647ec30b.entry.js +0 -2
  158. package/dist/jump-design-system/p-647ec30b.entry.js.map +0 -1
  159. package/dist/jump-design-system/p-8ec76454.entry.js +0 -2
  160. package/dist/jump-design-system/p-8ec76454.entry.js.map +0 -1
  161. package/dist/jump-design-system/p-91794ae6.js +0 -3
  162. package/dist/jump-design-system/p-91794ae6.js.map +0 -1
  163. package/dist/jump-design-system/p-afe0cca0.entry.js +0 -2
  164. package/dist/jump-design-system/p-b2ca2e96.entry.js +0 -2
  165. package/dist/jump-design-system/p-b2ca2e96.entry.js.map +0 -1
  166. package/dist/jump-design-system/p-d58e0952.entry.js +0 -2
  167. package/dist/jump-design-system/p-d58e0952.entry.js.map +0 -1
  168. package/dist/jump-design-system/p-e2318686.entry.js +0 -2
  169. package/dist/jump-design-system/p-e2318686.entry.js.map +0 -1
  170. package/dist/jump-design-system/p-ee61c223.entry.js +0 -2
  171. package/dist/jump-design-system/p-f842ff46.entry.js +0 -2
  172. package/dist/jump-design-system/p-f842ff46.entry.js.map +0 -1
  173. /package/dist/jump-design-system/{p-afe0cca0.entry.js.map → p-56609b82.entry.js.map} +0 -0
  174. /package/dist/jump-design-system/{p-ee61c223.entry.js.map → p-5a6fbc53.entry.js.map} +0 -0
  175. /package/dist/jump-design-system/{p-0dc744ce.entry.js.map → p-5d713084.entry.js.map} +0 -0
  176. /package/dist/jump-design-system/{p-83e6ab6e.entry.js.map → p-a6fc23f7.entry.js.map} +0 -0
  177. /package/dist/jump-design-system/{p-58602fcb.entry.js.map → p-c1665537.entry.js.map} +0 -0
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-056a0a66.js';
2
- export { s as setNonce } from './index-056a0a66.js';
1
+ import { b as bootstrapLazy } from './index-70f1949a.js';
2
+ export { s as setNonce } from './index-70f1949a.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["jump-card-ecommerce",[[1,"jump-card-ecommerce",{"onlyIconButton":[4,"only-icon-button"],"hasBackground":[4,"has-background"],"badge":[1],"favorite":[1540],"link":[1],"img":[1],"imgAlt":[1,"img-alt"],"videoSrc":[1,"video-src"],"addedToCart":[4,"added-to-cart"],"notificationUrl":[1,"notification-url"],"notificationText":[1,"notification-text"],"productName":[1,"product-name"],"subtitle":[1],"productId":[1,"product-id"],"price":[2],"salePrice":[2,"sale-price"],"currency":[1],"outOfStock":[1540,"out-of-stock"],"outOfStockText":[1,"out-of-stock-text"],"addtoCartText":[1,"addto-cart-text"],"waitingListText":[1,"waiting-list-text"],"addToWaitingList":[4,"add-to-waiting-list"],"quantity":[1540],"changedQuantity":[4,"changed-quantity"],"changedVariation":[4,"changed-variation"]}]]],["jump-filter",[[1,"jump-filter",{"direction":[1],"filterHeading":[1,"filter-heading"],"filterButtonLabel":[1,"filter-button-label"],"filterButtonIcon":[1,"filter-button-icon"],"mobileThreshold":[2,"mobile-threshold"],"filters":[8],"activeFilters":[32],"showMobileFilters":[32],"isMobile":[32],"getFilters":[64]},[[0,"jump-filterchange","filterChangeHandler"],[9,"resize","handleResize"]]]]],["jump-filtergroup",[[1,"jump-filtergroup",{"name":[1],"heading":[1],"otherLabel":[1,"other-label"],"lessLabel":[1,"less-label"],"maxElements":[2,"max-elements"],"variant":[1],"values":[32],"value":[32],"slotItems":[32],"inputs":[32],"showMore":[32],"getValues":[64],"getActiveAmount":[64],"getInputs":[64],"getName":[64]}]]],["jump-pagination",[[0,"jump-pagination",{"pagLabel":[1,"pag-label"],"last":[2],"showFirstAndLast":[4,"show-first-and-last"],"current":[32]},null,{"current":["watchcurrent"]}]]],["jump-pagination-table",[[0,"jump-pagination-table",{"elementsRanges":[16],"elPerPage":[2,"el-per-page"],"pagLabel":[513,"pag-label"],"labelElementsPerPage":[513,"label-elements-per-page"],"total":[514],"first":[514],"last":[514],"showFirstAndLast":[516,"show-first-and-last"]},null,{"elPerPage":["elPerPageChanged"]}]]],["jump-tab-item",[[0,"jump-tab-item",{"identifier":[1],"iconName":[1,"icon-name"],"iconPosition":[1,"icon-position"],"label":[1],"active":[4],"disabled":[4],"variant":[32]}]]],["jump-accordion",[[1,"jump-accordion"]]],["jump-card",[[4,"jump-card",{"horizontal":[4],"dark":[4],"shadow":[4],"border":[4],"borderRadius":[4,"border-radius"],"topBorderContentRadius":[4,"top-border-content-radius"],"boxed":[4],"roundedMedia":[4,"rounded-media"],"imgSrc":[1,"img-src"],"imgAlt":[1,"img-alt"],"videoSrc":[1,"video-src"]}]]],["jump-tab",[[1,"jump-tab",{"tabGroupName":[1,"tab-group-name"],"variant":[1]},[[0,"jump-change-active-tab","changeActiveTabHandler"]]]]],["jump-tab-panel",[[1,"jump-tab-panel",{"identifier":[1],"active":[4]}]]],["jump-button",[[1,"jump-button",{"disabled":[4],"variant":[1],"outline":[4],"size":[1],"full":[4],"pill":[4],"text":[4],"onlyIcon":[4,"only-icon"],"href":[1],"target":[1],"type":[1],"name":[1],"value":[1],"ariaLabel":[1,"aria-label"],"class":[1],"buttonId":[1,"button-id"]}]]],["jump-badge_2",[[65,"jump-quantity",{"min":[2],"max":[2],"step":[2],"label":[1],"type":[1],"variant":[1],"showButtons":[4,"show-buttons"],"value":[32]},null,{"value":["onValueChange"]}],[1,"jump-badge",{"label":[1],"variant":[1]}]]],["jump-icon",[[1,"jump-icon",{"class":[1],"library":[1],"name":[1],"category":[1],"size":[1],"label":[1],"src":[1]}]]]], options);
8
+ return bootstrapLazy([["jump-button_2",[[1,"jump-button",{"disabled":[4],"variant":[1],"outline":[4],"size":[1],"full":[4],"pill":[4],"text":[4],"onlyIcon":[4,"only-icon"],"href":[1],"target":[1],"type":[1],"name":[1],"value":[1],"ariaLabel":[1,"aria-label"],"class":[1],"buttonId":[1,"button-id"]}],[1,"jump-icon",{"class":[1],"library":[1],"name":[1],"category":[1],"size":[1],"label":[1],"src":[1]}]]],["jump-card-ecommerce",[[1,"jump-card-ecommerce",{"onlyIconButton":[4,"only-icon-button"],"hasBackground":[4,"has-background"],"badge":[1],"favorite":[1540],"link":[1],"img":[1],"imgAlt":[1,"img-alt"],"videoSrc":[1,"video-src"],"addedToCart":[4,"added-to-cart"],"notificationUrl":[1,"notification-url"],"notificationText":[1,"notification-text"],"productName":[1,"product-name"],"subtitle":[1],"productId":[1,"product-id"],"price":[2],"salePrice":[2,"sale-price"],"currency":[1],"outOfStock":[1540,"out-of-stock"],"outOfStockText":[1,"out-of-stock-text"],"addtoCartText":[1,"addto-cart-text"],"waitingListText":[1,"waiting-list-text"],"addToWaitingList":[4,"add-to-waiting-list"],"changedVariation":[4,"changed-variation"]}]]],["jump-filter",[[1,"jump-filter",{"direction":[1],"filterHeading":[1,"filter-heading"],"filterButtonLabel":[1,"filter-button-label"],"filterButtonIcon":[1,"filter-button-icon"],"mobileThreshold":[2,"mobile-threshold"],"filters":[8],"activeFilters":[32],"showMobileFilters":[32],"isMobile":[32],"getFilters":[64]},[[0,"jump-filterchange","filterChangeHandler"],[9,"resize","handleResize"]]]]],["jump-filtergroup",[[1,"jump-filtergroup",{"name":[1],"heading":[1],"otherLabel":[1,"other-label"],"lessLabel":[1,"less-label"],"maxElements":[2,"max-elements"],"variant":[1],"values":[32],"value":[32],"slotItems":[32],"inputs":[32],"showMore":[32],"getValues":[64],"getActiveAmount":[64],"getInputs":[64],"getName":[64]}]]],["jump-pagination",[[1,"jump-pagination",{"pagLabel":[1,"pag-label"],"last":[2],"showFirstAndLast":[4,"show-first-and-last"],"current":[32]},null,{"current":["watchcurrent"]}]]],["jump-pagination-table",[[0,"jump-pagination-table",{"elementsRanges":[16],"elPerPage":[2,"el-per-page"],"pagLabel":[513,"pag-label"],"labelElementsPerPage":[513,"label-elements-per-page"],"total":[514],"first":[514],"last":[514],"showFirstAndLast":[516,"show-first-and-last"]},null,{"elPerPage":["elPerPageChanged"]}]]],["jump-quantity",[[65,"jump-quantity",{"min":[2],"max":[2],"step":[2],"label":[1],"type":[1],"variant":[1],"showButtons":[4,"show-buttons"],"value":[32],"getValue":[64]},null,{"value":["onValueChange"]}]]],["jump-tab-item",[[1,"jump-tab-item",{"identifier":[1],"iconName":[1,"icon-name"],"iconPosition":[1,"icon-position"],"label":[1],"active":[4],"disabled":[4],"variant":[32]}]]],["jump-accordion",[[1,"jump-accordion"]]],["jump-card",[[4,"jump-card",{"horizontal":[4],"dark":[4],"shadow":[4],"border":[4],"borderRadius":[4,"border-radius"],"topBorderContentRadius":[4,"top-border-content-radius"],"boxed":[4],"roundedMedia":[4,"rounded-media"],"imgSrc":[1,"img-src"],"imgAlt":[1,"img-alt"],"videoSrc":[1,"video-src"]}]]],["jump-tab",[[1,"jump-tab",{"tabGroupName":[1,"tab-group-name"],"variant":[1]},[[0,"jump-change-active-tab","changeActiveTabHandler"]]]]],["jump-tab-panel",[[1,"jump-tab-panel",{"identifier":[1],"active":[4]}]]],["jump-badge",[[1,"jump-badge",{"label":[1],"variant":[1],"dimension":[1],"soft":[4],"outline":[4]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1,2 +1,2 @@
1
- import{p as e,b as t}from"./p-91794ae6.js";export{s as setNonce}from"./p-91794ae6.js";import{g as a}from"./p-e1255160.js";const i=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};i().then((async e=>{await a();return t([["p-e2318686",[[1,"jump-card-ecommerce",{onlyIconButton:[4,"only-icon-button"],hasBackground:[4,"has-background"],badge:[1],favorite:[1540],link:[1],img:[1],imgAlt:[1,"img-alt"],videoSrc:[1,"video-src"],addedToCart:[4,"added-to-cart"],notificationUrl:[1,"notification-url"],notificationText:[1,"notification-text"],productName:[1,"product-name"],subtitle:[1],productId:[1,"product-id"],price:[2],salePrice:[2,"sale-price"],currency:[1],outOfStock:[1540,"out-of-stock"],outOfStockText:[1,"out-of-stock-text"],addtoCartText:[1,"addto-cart-text"],waitingListText:[1,"waiting-list-text"],addToWaitingList:[4,"add-to-waiting-list"],quantity:[1540],changedQuantity:[4,"changed-quantity"],changedVariation:[4,"changed-variation"]}]]],["p-0dc744ce",[[1,"jump-filter",{direction:[1],filterHeading:[1,"filter-heading"],filterButtonLabel:[1,"filter-button-label"],filterButtonIcon:[1,"filter-button-icon"],mobileThreshold:[2,"mobile-threshold"],filters:[8],activeFilters:[32],showMobileFilters:[32],isMobile:[32],getFilters:[64]},[[0,"jump-filterchange","filterChangeHandler"],[9,"resize","handleResize"]]]]],["p-83e6ab6e",[[1,"jump-filtergroup",{name:[1],heading:[1],otherLabel:[1,"other-label"],lessLabel:[1,"less-label"],maxElements:[2,"max-elements"],variant:[1],values:[32],value:[32],slotItems:[32],inputs:[32],showMore:[32],getValues:[64],getActiveAmount:[64],getInputs:[64],getName:[64]}]]],["p-647ec30b",[[0,"jump-pagination",{pagLabel:[1,"pag-label"],last:[2],showFirstAndLast:[4,"show-first-and-last"],current:[32]},null,{current:["watchcurrent"]}]]],["p-b2ca2e96",[[0,"jump-pagination-table",{elementsRanges:[16],elPerPage:[2,"el-per-page"],pagLabel:[513,"pag-label"],labelElementsPerPage:[513,"label-elements-per-page"],total:[514],first:[514],last:[514],showFirstAndLast:[516,"show-first-and-last"]},null,{elPerPage:["elPerPageChanged"]}]]],["p-d58e0952",[[0,"jump-tab-item",{identifier:[1],iconName:[1,"icon-name"],iconPosition:[1,"icon-position"],label:[1],active:[4],disabled:[4],variant:[32]}]]],["p-afe0cca0",[[1,"jump-accordion"]]],["p-58602fcb",[[4,"jump-card",{horizontal:[4],dark:[4],shadow:[4],border:[4],borderRadius:[4,"border-radius"],topBorderContentRadius:[4,"top-border-content-radius"],boxed:[4],roundedMedia:[4,"rounded-media"],imgSrc:[1,"img-src"],imgAlt:[1,"img-alt"],videoSrc:[1,"video-src"]}]]],["p-8ec76454",[[1,"jump-tab",{tabGroupName:[1,"tab-group-name"],variant:[1]},[[0,"jump-change-active-tab","changeActiveTabHandler"]]]]],["p-ee61c223",[[1,"jump-tab-panel",{identifier:[1],active:[4]}]]],["p-f842ff46",[[1,"jump-button",{disabled:[4],variant:[1],outline:[4],size:[1],full:[4],pill:[4],text:[4],onlyIcon:[4,"only-icon"],href:[1],target:[1],type:[1],name:[1],value:[1],ariaLabel:[1,"aria-label"],class:[1],buttonId:[1,"button-id"]}]]],["p-58bed455",[[65,"jump-quantity",{min:[2],max:[2],step:[2],label:[1],type:[1],variant:[1],showButtons:[4,"show-buttons"],value:[32]},null,{value:["onValueChange"]}],[1,"jump-badge",{label:[1],variant:[1]}]]],["p-357cf73d",[[1,"jump-icon",{class:[1],library:[1],name:[1],category:[1],size:[1],label:[1],src:[1]}]]]],e)}));
1
+ import{p as e,b as t}from"./p-4d6cc90d.js";export{s as setNonce}from"./p-4d6cc90d.js";import{g as a}from"./p-e1255160.js";const i=()=>{const t=import.meta.url;const a={};if(t!==""){a.resourcesUrl=new URL(".",t).href}return e(a)};i().then((async e=>{await a();return t([["p-c2bc6395",[[1,"jump-button",{disabled:[4],variant:[1],outline:[4],size:[1],full:[4],pill:[4],text:[4],onlyIcon:[4,"only-icon"],href:[1],target:[1],type:[1],name:[1],value:[1],ariaLabel:[1,"aria-label"],class:[1],buttonId:[1,"button-id"]}],[1,"jump-icon",{class:[1],library:[1],name:[1],category:[1],size:[1],label:[1],src:[1]}]]],["p-fafe6478",[[1,"jump-card-ecommerce",{onlyIconButton:[4,"only-icon-button"],hasBackground:[4,"has-background"],badge:[1],favorite:[1540],link:[1],img:[1],imgAlt:[1,"img-alt"],videoSrc:[1,"video-src"],addedToCart:[4,"added-to-cart"],notificationUrl:[1,"notification-url"],notificationText:[1,"notification-text"],productName:[1,"product-name"],subtitle:[1],productId:[1,"product-id"],price:[2],salePrice:[2,"sale-price"],currency:[1],outOfStock:[1540,"out-of-stock"],outOfStockText:[1,"out-of-stock-text"],addtoCartText:[1,"addto-cart-text"],waitingListText:[1,"waiting-list-text"],addToWaitingList:[4,"add-to-waiting-list"],changedVariation:[4,"changed-variation"]}]]],["p-5d713084",[[1,"jump-filter",{direction:[1],filterHeading:[1,"filter-heading"],filterButtonLabel:[1,"filter-button-label"],filterButtonIcon:[1,"filter-button-icon"],mobileThreshold:[2,"mobile-threshold"],filters:[8],activeFilters:[32],showMobileFilters:[32],isMobile:[32],getFilters:[64]},[[0,"jump-filterchange","filterChangeHandler"],[9,"resize","handleResize"]]]]],["p-a6fc23f7",[[1,"jump-filtergroup",{name:[1],heading:[1],otherLabel:[1,"other-label"],lessLabel:[1,"less-label"],maxElements:[2,"max-elements"],variant:[1],values:[32],value:[32],slotItems:[32],inputs:[32],showMore:[32],getValues:[64],getActiveAmount:[64],getInputs:[64],getName:[64]}]]],["p-2cb7d817",[[1,"jump-pagination",{pagLabel:[1,"pag-label"],last:[2],showFirstAndLast:[4,"show-first-and-last"],current:[32]},null,{current:["watchcurrent"]}]]],["p-377a769b",[[0,"jump-pagination-table",{elementsRanges:[16],elPerPage:[2,"el-per-page"],pagLabel:[513,"pag-label"],labelElementsPerPage:[513,"label-elements-per-page"],total:[514],first:[514],last:[514],showFirstAndLast:[516,"show-first-and-last"]},null,{elPerPage:["elPerPageChanged"]}]]],["p-7696c03d",[[65,"jump-quantity",{min:[2],max:[2],step:[2],label:[1],type:[1],variant:[1],showButtons:[4,"show-buttons"],value:[32],getValue:[64]},null,{value:["onValueChange"]}]]],["p-493c7f4a",[[1,"jump-tab-item",{identifier:[1],iconName:[1,"icon-name"],iconPosition:[1,"icon-position"],label:[1],active:[4],disabled:[4],variant:[32]}]]],["p-56609b82",[[1,"jump-accordion"]]],["p-c1665537",[[4,"jump-card",{horizontal:[4],dark:[4],shadow:[4],border:[4],borderRadius:[4,"border-radius"],topBorderContentRadius:[4,"top-border-content-radius"],boxed:[4],roundedMedia:[4,"rounded-media"],imgSrc:[1,"img-src"],imgAlt:[1,"img-alt"],videoSrc:[1,"video-src"]}]]],["p-34a46a10",[[1,"jump-tab",{tabGroupName:[1,"tab-group-name"],variant:[1]},[[0,"jump-change-active-tab","changeActiveTabHandler"]]]]],["p-5a6fbc53",[[1,"jump-tab-panel",{identifier:[1],active:[4]}]]],["p-8343b4f5",[[1,"jump-badge",{label:[1],variant:[1],dimension:[1],soft:[4],outline:[4]}]]]],e)}));
2
2
  //# sourceMappingURL=jump-design-system.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","onlyIconButton","hasBackground","badge","favorite","link","img","imgAlt","videoSrc","addedToCart","notificationUrl","notificationText","productName","subtitle","productId","price","salePrice","currency","outOfStock","outOfStockText","addtoCartText","waitingListText","addToWaitingList","quantity","changedQuantity","changedVariation","direction","filterHeading","filterButtonLabel","filterButtonIcon","mobileThreshold","filters","activeFilters","showMobileFilters","isMobile","getFilters","name","heading","otherLabel","lessLabel","maxElements","variant","values","value","slotItems","inputs","showMore","getValues","getActiveAmount","getInputs","getName","pagLabel","last","showFirstAndLast","current","elementsRanges","elPerPage","labelElementsPerPage","total","first","identifier","iconName","iconPosition","label","active","disabled","horizontal","dark","shadow","border","borderRadius","topBorderContentRadius","boxed","roundedMedia","imgSrc","tabGroupName","outline","size","full","pill","text","onlyIcon","target","type","ariaLabel","class","buttonId","min","max","step","showButtons","library","category","src"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.15.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAc,yCAAuC,CAAAC,eAAA,uBAAAC,cAAA,qBAAAC,MAAA,IAAAC,SAAA,OAAAC,KAAA,IAAAC,IAAA,IAAAC,OAAA,cAAAC,SAAA,gBAAAC,YAAA,oBAAAC,gBAAA,uBAAAC,iBAAA,wBAAAC,YAAA,mBAAAC,SAAA,IAAAC,UAAA,iBAAAC,MAAA,IAAAC,UAAA,iBAAAC,SAAA,IAAAC,WAAA,sBAAAC,eAAA,wBAAAC,cAAA,sBAAAC,gBAAA,wBAAAC,iBAAA,0BAAAC,SAAA,OAAAC,gBAAA,uBAAAC,iBAAA,6DAAAC,UAAA,IAAAC,cAAA,qBAAAC,kBAAA,0BAAAC,iBAAA,yBAAAC,gBAAA,uBAAAC,QAAA,IAAAC,cAAA,KAAAC,kBAAA,KAAAC,SAAA,KAAAC,WAAA,2HAAAC,KAAA,IAAAC,QAAA,IAAAC,WAAA,kBAAAC,UAAA,iBAAAC,YAAA,mBAAAC,QAAA,IAAAC,OAAA,KAAAC,MAAA,KAAAC,UAAA,KAAAC,OAAA,KAAAC,SAAA,KAAAC,UAAA,KAAAC,gBAAA,KAAAC,UAAA,KAAAC,QAAA,8CAAAC,SAAA,gBAAAC,KAAA,IAAAC,iBAAA,0BAAAC,QAAA,YAAAA,QAAA,gEAAAC,eAAA,KAAAC,UAAA,kBAAAL,SAAA,kBAAAM,qBAAA,gCAAAC,MAAA,MAAAC,MAAA,MAAAP,KAAA,MAAAC,iBAAA,mCAAAG,UAAA,4DAAAI,WAAA,IAAAC,SAAA,gBAAAC,aAAA,oBAAAC,MAAA,IAAAC,OAAA,IAAAC,SAAA,IAAAxB,QAAA,8EAAAyB,WAAA,IAAAC,KAAA,IAAAC,OAAA,IAAAC,OAAA,IAAAC,aAAA,oBAAAC,uBAAA,gCAAAC,MAAA,IAAAC,aAAA,oBAAAC,OAAA,cAAAnE,OAAA,cAAAC,SAAA,kDAAAmE,aAAA,qBAAAlC,QAAA,oGAAAmB,WAAA,IAAAI,OAAA,yCAAAC,SAAA,IAAAxB,QAAA,IAAAmC,QAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,SAAA,gBAAAvF,KAAA,IAAAwF,OAAA,IAAAC,KAAA,IAAA/C,KAAA,IAAAO,MAAA,IAAAyC,UAAA,iBAAAC,MAAA,IAAAC,SAAA,wDAAAC,IAAA,IAAAC,IAAA,IAAAC,KAAA,IAAA1B,MAAA,IAAAoB,KAAA,IAAA1C,QAAA,IAAAiD,YAAA,mBAAA/C,MAAA,YAAAA,MAAA,qCAAAoB,MAAA,IAAAtB,QAAA,uCAAA4C,MAAA,IAAAM,QAAA,IAAAvD,KAAA,IAAAwD,SAAA,IAAAf,KAAA,IAAAd,MAAA,IAAA8B,IAAA,SAAA/F,EAAA"}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","disabled","variant","outline","size","full","pill","text","onlyIcon","target","type","name","value","ariaLabel","class","buttonId","library","category","label","src","onlyIconButton","hasBackground","badge","favorite","link","img","imgAlt","videoSrc","addedToCart","notificationUrl","notificationText","productName","subtitle","productId","price","salePrice","currency","outOfStock","outOfStockText","addtoCartText","waitingListText","addToWaitingList","changedVariation","direction","filterHeading","filterButtonLabel","filterButtonIcon","mobileThreshold","filters","activeFilters","showMobileFilters","isMobile","getFilters","heading","otherLabel","lessLabel","maxElements","values","slotItems","inputs","showMore","getValues","getActiveAmount","getInputs","getName","pagLabel","last","showFirstAndLast","current","elementsRanges","elPerPage","labelElementsPerPage","total","first","min","max","step","showButtons","getValue","identifier","iconName","iconPosition","active","horizontal","dark","shadow","border","borderRadius","topBorderContentRadius","boxed","roundedMedia","imgSrc","tabGroupName","dimension","soft"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.15.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAKA,MAAMA,EAAe,KAajB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,ECnB/BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAc,iCAA8B,CAAAC,SAAS,IAAAC,QAAA,IAAAC,QAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,SAAA,gBAAAd,KAAA,IAAAe,OAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,MAAA,IAAAC,UAAA,iBAAAC,MAAA,IAAAC,SAAA,kCAAAD,MAAA,IAAAE,QAAA,IAAAL,KAAA,IAAAM,SAAA,IAAAb,KAAA,IAAAc,MAAA,IAAAC,IAAA,iDAAAC,eAAA,uBAAAC,cAAA,qBAAAC,MAAA,IAAAC,SAAA,OAAAC,KAAA,IAAAC,IAAA,IAAAC,OAAA,cAAAC,SAAA,gBAAAC,YAAA,oBAAAC,gBAAA,uBAAAC,iBAAA,wBAAAC,YAAA,mBAAAC,SAAA,IAAAC,UAAA,iBAAAC,MAAA,IAAAC,UAAA,iBAAAC,SAAA,IAAAC,WAAA,sBAAAC,eAAA,wBAAAC,cAAA,sBAAAC,gBAAA,wBAAAC,iBAAA,0BAAAC,iBAAA,6DAAAC,UAAA,IAAAC,cAAA,qBAAAC,kBAAA,0BAAAC,iBAAA,yBAAAC,gBAAA,uBAAAC,QAAA,IAAAC,cAAA,KAAAC,kBAAA,KAAAC,SAAA,KAAAC,WAAA,2HAAAzC,KAAA,IAAA0C,QAAA,IAAAC,WAAA,kBAAAC,UAAA,iBAAAC,YAAA,mBAAAtD,QAAA,IAAAuD,OAAA,KAAA7C,MAAA,KAAA8C,UAAA,KAAAC,OAAA,KAAAC,SAAA,KAAAC,UAAA,KAAAC,gBAAA,KAAAC,UAAA,KAAAC,QAAA,8CAAAC,SAAA,gBAAAC,KAAA,IAAAC,iBAAA,0BAAAC,QAAA,YAAAA,QAAA,gEAAAC,eAAA,KAAAC,UAAA,kBAAAL,SAAA,kBAAAM,qBAAA,gCAAAC,MAAA,MAAAC,MAAA,MAAAP,KAAA,MAAAC,iBAAA,mCAAAG,UAAA,6DAAAI,IAAA,IAAAC,IAAA,IAAAC,KAAA,IAAA1D,MAAA,IAAAR,KAAA,IAAAR,QAAA,IAAA2E,YAAA,mBAAAjE,MAAA,KAAAkE,SAAA,YAAAlE,MAAA,yDAAAmE,WAAA,IAAAC,SAAA,gBAAAC,aAAA,oBAAA/D,MAAA,IAAAgE,OAAA,IAAAjF,SAAA,IAAAC,QAAA,8EAAAiF,WAAA,IAAAC,KAAA,IAAAC,OAAA,IAAAC,OAAA,IAAAC,aAAA,oBAAAC,uBAAA,gCAAAC,MAAA,IAAAC,aAAA,oBAAAC,OAAA,cAAAjE,OAAA,cAAAC,SAAA,kDAAAiE,aAAA,qBAAA1F,QAAA,oGAAA6E,WAAA,IAAAG,OAAA,wCAAAhE,MAAA,IAAAhB,QAAA,IAAA2F,UAAA,IAAAC,KAAA,IAAA3F,QAAA,SAAAL,EAAA"}
@@ -0,0 +1,2 @@
1
+ import{r as a,c as e,h as i,H as t}from"./p-4d6cc90d.js";const r=":host{display:block;--jump-button-color:yellow}.JumpPagination{--jump-pagination-label:var(--neutral-grey-secondary);--jump-pagination-arrows-color:var(--neutral-grey-secondary);--jump-pagination-arrows-disabled:var(--neutral-grey-disabled);font-family:var(--ff-primary)}.JumpPagination__Wrapper{display:flex;justify-content:space-between}.JumpPagination__Wrapper .indicators{font-size:var(--fs-400);font-weight:normal;display:flex;justify-content:space-between;gap:20px;color:var(--jump-pagination-label)}.JumpPagination__Wrapper .indicators .arrow{color:var(--jump-pagination-arrows-color);display:flex;align-items:center;gap:10px}.JumpPagination__Wrapper .indicators .arrow button{background-color:transparent;border:none;cursor:pointer;padding:0px;display:flex;align-items:center}.JumpPagination__Wrapper .indicators .arrow button:disabled{cursor:not-allowed;color:var(--jump-pagination-arrows-disabled)}.JumpPagination__Wrapper .indicators .elements{color:var(--jump-pagination-label);display:flex;align-items:center;gap:5px}";const n=r;const s=class{constructor(i){a(this,i);this.changePage=e(this,"jump-change-page",7);this.current=1;this.pagLabel="di";this.last=10;this.showFirstAndLast=false}watchcurrent(a,e){let i={current:a,previousPage:e,first:1,last:this.last,direction:a>e?"next":"prev"};this.changePage.emit(i)}componentWillLoad(){this.current=1}render(){return i(t,{key:"fff2409f80165635fb36aff91e928053a758e56d",class:"JumpPagination"},i("div",{key:"02def4c71603b81f531c66c612fa492fa665631b",class:"JumpPagination__Wrapper"},i("div",{key:"4bacda248ee1ee095e9272f0948df3f8d8e539e3",class:"indicators"},i("div",{key:"b344407f8e6f07cda556fd7f1f272763272786c8",class:"elements"},i("span",{key:"f2e31e33e8608244820bfc4596c47f6234cc25f2"},i("span",{key:"a64da6ab40dbea7f7fbeaafeb1a06ea2242993cc"},this.current)," ",this.pagLabel," ",i("span",{key:"5a6b9a269ea390192cab4ec6319bc4cca0883921"},this.last))),i("div",{key:"01878b6a1ba85feb505ec230085f6cbff2edddca",class:"arrow"},this.showFirstAndLast&&i("jump-button",{key:"b59a7068f61b1e1f7908e5bacd9dd029eb06f4bd",onClick:()=>{this.current=1},variant:"primary",text:true,size:"small",name:"scopri",value:"value","aria-label":"Scopri di più",id:"button",onlyIcon:true,disabled:this.current===1?true:false}," ",i("jump-icon",{key:"559950d3f0e77790efc1c301d1ce8e0ad2d9ab44",slot:"suffix",name:"chevrons-left"})," "),i("jump-button",{key:"5e48895c5b5c39a468cac1b39d646a105288e0f4",onClick:()=>{this.current--},variant:"primary",text:true,size:"small",name:"scopri",value:"value","aria-label":"Scopri di più",id:"button",onlyIcon:true,disabled:this.current===1?true:false}," ",i("jump-icon",{key:"6035d9060e9ea7ad1d0156dd1295cfb689578263",slot:"suffix",name:"chevron-left"})," "),i("jump-button",{key:"06589d58a7202868b97ead74d5e7f7d1e3f66400",onClick:()=>{this.current++},variant:"primary",text:true,size:"small",name:"scopri",value:"value","aria-label":"Scopri di più",id:"button",onlyIcon:true,disabled:this.current===this.last?true:false}," ",i("jump-icon",{key:"2e484cd77ece285b0e6e72941b06eab8e571c968",slot:"suffix",name:"chevron-right"})," "),this.showFirstAndLast&&i("jump-button",{key:"73d1096f381a0cfc35bfc4f0585ac7a35af8060a",onClick:()=>{this.current=this.last},variant:"primary",text:true,size:"small",name:"scopri",value:"value","aria-label":"Scopri di più",id:"button",onlyIcon:true,disabled:this.current===this.last?true:false}," ",i("jump-icon",{key:"ca455641fadf5bec18d26d071678c7af07d14837",slot:"suffix",name:"chevrons-right"})," ")))))}static get watchers(){return{current:["watchcurrent"]}}};s.style=n;export{s as jump_pagination};
2
+ //# sourceMappingURL=p-2cb7d817.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["jumpPaginationCss","JumpPaginationStyle0","JumpPagination","watchcurrent","newValue","oldValue","details","current","previousPage","first","last","this","direction","changePage","emit","componentWillLoad","render","h","Host","key","class","pagLabel","showFirstAndLast","onClick","variant","text","size","name","value","id","onlyIcon","disabled","slot"],"sources":["src/components/jump-pagination/jump-pagination.scss?tag=jump-pagination&encapsulation=shadow","src/components/jump-pagination/jump-pagination.tsx"],"sourcesContent":[":host {\n display: block;\n --jump-button-color: yellow;\n}\n\n.JumpPagination {\n --jump-pagination-label: var(--neutral-grey-secondary);\n --jump-pagination-arrows-color: var(--neutral-grey-secondary);\n --jump-pagination-arrows-disabled: var(--neutral-grey-disabled);\n\n\n \n font-family: var(--ff-primary);\n\n &__Wrapper {\n display: flex;\n justify-content: space-between;\n\n .indicators {\n font-size: var(--fs-400);\n font-weight: normal;\n display: flex;\n justify-content: space-between;\n gap: 20px;\n \n color: var(--jump-pagination-label);\n\n .arrow {\n color: var(--jump-pagination-arrows-color);\n display: flex;\n align-items: center;\n gap: 10px;\n\n button {\n background-color: transparent;\n border: none;\n cursor: pointer;\n padding: 0px;\n display: flex;\n align-items: center;\n }\n\n button:disabled {\n cursor: not-allowed;\n color: var(--jump-pagination-arrows-disabled); \n }\n }\n\n .elements {\n color: var(--jump-pagination-label);\n display: flex;\n align-items: center;\n gap: 5px;\n }\n }\n }\n}","import { Component, Host, State, Event, EventEmitter, Prop, h, Watch } from '@stencil/core';\n\n@Component({\n tag: 'jump-pagination',\n styleUrl: 'jump-pagination.scss',\n shadow: true,\n})\nexport class JumpPagination {\n \n /* ---------------------- @STATE ------------------------- */\n @State() current: number = 1;\n\n @Watch('current')\n watchcurrent(newValue: number, oldValue: number) {\n let details = {\n current: newValue,\n previousPage: oldValue,\n first: 1,\n last: this.last,\n direction: newValue > oldValue ? 'next' : 'prev'\n };\n\n this.changePage.emit(details);\n }\n\n /* ---------------------- @PROPERTIES ------------------------- */\n /**\n * Label of the pagination\n */\n @Prop() pagLabel: string = 'di'; \n\n /**\n * Last element of the page\n */\n @Prop() last: number = 10; \n\n /**\n * Show button to navigate so first e last page\n */\n @Prop() showFirstAndLast: boolean = false;\n\n /* ---------------------- @EVENTS ------------------------- */\n @Event({ eventName: 'jump-change-page' }) changePage: EventEmitter;\n\n /* ---------------------- @LIFECYCLE ------------------------- */\n componentWillLoad() {\n this.current = 1;\n }\n \n /* --------------------- RENDER ------------------------------- */\n render() {\n return (\n <Host class=\"JumpPagination\">\n <div class=\"JumpPagination__Wrapper\">\n <div class=\"indicators\"> \n <div class=\"elements\">\n <span>\n <span>{this.current}</span> {this.pagLabel} <span>{this.last}</span>\n </span>\n </div>\n <div class=\"arrow\">\n \n {this.showFirstAndLast &&\n // <button \n // onClick={() => {this.current = 1} }\n // disabled={(this.current === 1) ? true : false}> \n // <jump-icon library=\"fa\" category=\"regular\" name=\"chevrons-left\" size=\"small\" slot=\"prefix\"\n // disabled={(this.current === 1) ? true : false}\n // ></jump-icon> \n // </button>\n <jump-button onClick={() => { this.current = 1 }} variant=\"primary\" text size=\"small\" name=\"scopri\" value=\"value\" aria-label=\"Scopri di più\" id=\"button\" onlyIcon disabled={(this.current === 1) ? true : false}> <jump-icon slot=\"suffix\" name=\"chevrons-left\" ></jump-icon> </jump-button>\n }\n {/* <button \n onClick={() => {this.current--}} \n disabled={(this.current === 1) ? true : false}>\n <jump-icon library=\"fa\" category=\"regular\" name=\"chevron-left\" size=\"small\" slot=\"prefix\"></jump-icon> \n </button> */}\n <jump-button onClick={() => { this.current-- }} variant=\"primary\" text size=\"small\" name=\"scopri\" value=\"value\" aria-label=\"Scopri di più\" id=\"button\" onlyIcon disabled={(this.current === 1) ? true : false}> <jump-icon slot=\"suffix\" name=\"chevron-left\" ></jump-icon> </jump-button>\n <jump-button onClick={() => { this.current++ }} variant=\"primary\" text size=\"small\" name=\"scopri\" value=\"value\" aria-label=\"Scopri di più\" id=\"button\" onlyIcon disabled={(this.current === this.last) ? true : false}> <jump-icon slot=\"suffix\" name=\"chevron-right\" ></jump-icon> </jump-button>\n {/* <button \n onClick={() => {this.current++}}\n disabled={(this.current === this.last) ? true : false}\n > \n <jump-icon library=\"fa\" category=\"regular\" name=\"chevron-right\" size=\"small\" slot=\"prefix\"></jump-icon> \n </button> */}\n {this.showFirstAndLast &&\n // <button \n // onClick={() => {this.current = this.last}}\n // disabled={(this.current === this.last) ? true : false}\n // >\n // <jump-icon library=\"fa\" category=\"regular\" name=\"chevrons-right\" size=\"small\" slot=\"prefix\"></jump-icon> \n // </button> \n <jump-button onClick={() => { this.current = this.last }} variant=\"primary\" text size=\"small\" name=\"scopri\" value=\"value\" aria-label=\"Scopri di più\" id=\"button\" onlyIcon disabled={(this.current === this.last) ? true : false}> <jump-icon slot=\"suffix\" name=\"chevrons-right\" ></jump-icon> </jump-button>\n }\n </div> \n </div>\n </div>\n </Host>\n );\n }\n\n}\n"],"mappings":"yDAAA,MAAMA,EAAoB,ygCAC1B,MAAAC,EAAeD,E,MCMFE,EAAc,M,mFAGE,E,cAmBA,K,UAKJ,G,sBAKa,K,CA1BpC,YAAAC,CAAaC,EAAkBC,GAC7B,IAAIC,EAAU,CACZC,QAASH,EACTI,aAAcH,EACdI,MAAO,EACPC,KAAMC,KAAKD,KACXE,UAAWR,EAAWC,EAAW,OAAS,QAG5CM,KAAKE,WAAWC,KAAKR,E,CAuBvB,iBAAAS,GACEJ,KAAKJ,QAAU,C,CAIjB,MAAAS,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,kBACVH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,2BACTH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,cACTH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,YACTH,EAAA,QAAAE,IAAA,4CACEF,EAAA,QAAAE,IAAA,4CAAOR,KAAKJ,SAAe,IAAEI,KAAKU,SAAQ,IAAEJ,EAAA,QAAAE,IAAA,4CAAOR,KAAKD,QAG5DO,EAAA,OAAAE,IAAA,2CAAKC,MAAM,SAERT,KAAKW,kBAQJL,EAAA,eAAAE,IAAA,2CAAaI,QAAS,KAAQZ,KAAKJ,QAAU,CAAC,EAAKiB,QAAQ,UAAUC,KAAI,KAACC,KAAK,QAAQC,KAAK,SAASC,MAAM,QAAO,aAAY,gBAAgBC,GAAG,SAASC,SAAQ,KAACC,SAAWpB,KAAKJ,UAAY,EAAK,KAAO,OAAK,IAAGU,EAAA,aAAAE,IAAA,2CAAWa,KAAK,SAASL,KAAK,kBAA6B,KAOhRV,EAAA,eAAAE,IAAA,2CAAaI,QAAS,KAAQZ,KAAKJ,SAAS,EAAKiB,QAAQ,UAAUC,KAAI,KAACC,KAAK,QAAQC,KAAK,SAASC,MAAM,QAAO,aAAY,gBAAgBC,GAAG,SAASC,SAAQ,KAACC,SAAWpB,KAAKJ,UAAY,EAAK,KAAO,OAAK,IAAGU,EAAA,aAAAE,IAAA,2CAAWa,KAAK,SAASL,KAAK,iBAA4B,KAC3QV,EAAA,eAAAE,IAAA,2CAAaI,QAAS,KAAQZ,KAAKJ,SAAS,EAAIiB,QAAQ,UAAUC,KAAI,KAACC,KAAK,QAAQC,KAAK,SAASC,MAAM,QAAO,aAAY,gBAAgBC,GAAG,SAASC,SAAQ,KAACC,SAAWpB,KAAKJ,UAAYI,KAAKD,KAAQ,KAAO,OAAK,IAAGO,EAAA,aAAAE,IAAA,2CAAWa,KAAK,SAASL,KAAK,kBAA6B,KAOlRhB,KAAKW,kBAOJL,EAAA,eAAAE,IAAA,2CAAaI,QAAS,KAAQZ,KAAKJ,QAAUI,KAAKD,IAAI,EAAKc,QAAQ,UAAUC,KAAI,KAACC,KAAK,QAAQC,KAAK,SAASC,MAAM,QAAO,aAAY,gBAAgBC,GAAG,SAASC,SAAQ,KAACC,SAAWpB,KAAKJ,UAAYI,KAAKD,KAAQ,KAAO,OAAK,IAAGO,EAAA,aAAAE,IAAA,2CAAWa,KAAK,SAASL,KAAK,mBAA8B,Q"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as a,H as i}from"./p-4d6cc90d.js";const s=":host{display:block;--jump-tab-bg-color:var(--gray-ultralight, #f8f8f8)}:host .Wrapper{display:flex;width:fit-content}:host .Wrapper.rounded{border-radius:50px;background-color:#f8f8f8}";const d=s;const n=class{constructor(a){e(this,a);this.setActiveTab=t(this,"jump-change-activetab",7);this.tabGroupName=undefined;this.variant="inline"}changeActiveTabHandler(e){this.setActiveTab.emit(e.detail);const t=getComputedStyle(document.documentElement);const a=t.getPropertyValue("--neutral-grey-secondary").trim();let i=this.JumpTabEl.querySelectorAll("jump-tab-item");if(i.length>0){i.forEach((t=>{if(t.getAttribute("identifier")===e.detail.id){t.setAttribute("active","");if(this.variant==="sheet"){i.forEach(((e,s)=>{if(e!==t&&s!==i.length-1){e.style.borderRight=`1px solid ${a}`}else{e.style.borderRight="1px solid transparent"}}));let e=t.previousElementSibling;if(e){e.style.borderRight="1px solid transparent"}}}else{t.removeAttribute("active")}}))}let s=this.JumpTabEl.querySelectorAll("jump-tab-panel");if(s.length>0){s.forEach((t=>{if(t.getAttribute("identifier")===e.detail.id){t.setAttribute("active","")}else{t.removeAttribute("active")}}))}}componentDidLoad(){console.log("Component has been rendered");if(this.variant==="sheet"){const e=getComputedStyle(document.documentElement);const t=e.getPropertyValue("--neutral-grey-secondary").trim();let a=this.JumpTabEl.querySelectorAll("jump-tab-item");if(a.length>0){a.forEach(((e,i)=>{if(i===a.length-1||e.classList.contains("active")){e.style.borderRight="1px solid transparent"}else{e.style.borderRight=`1px solid ${t}`}}))}}}render(){return a(i,{key:"325ebf63677d7b1307ebb5be3d521d06efa22a5a",class:"JumpTab",id:this.tabGroupName,ref:e=>{this.JumpTabEl=e}},a("div",{key:"afa4eb17c8582aa59f8f3b55237de34fa04871d5",class:"Wrapper "+this.variant},a("slot",{key:"69023d9ae6ae85ef8270d7c8ea4c881c60889f63",name:"tab-item"})),a("div",{key:"28257b0f8de4c3ef1b7dd7adb58dc2d0ce342164"},a("slot",{key:"3097cf4876730499e2067aed722ff822582e173f",name:"tab-content"})))}};n.style=d;export{n as jump_tab};
2
+ //# sourceMappingURL=p-34a46a10.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["jumpTabCss","JumpTabStyle0","JumpTab","undefined","changeActiveTabHandler","event","this","setActiveTab","emit","detail","rootStyles","getComputedStyle","document","documentElement","primaryColor","getPropertyValue","trim","items","JumpTabEl","querySelectorAll","length","forEach","item","getAttribute","id","setAttribute","variant","sibling","index","style","borderRight","previousSibling","previousElementSibling","removeAttribute","panel","componentDidLoad","console","log","classList","contains","render","h","Host","key","class","tabGroupName","ref","el","name"],"sources":["src/components/jump-tab/jump-tab.scss?tag=jump-tab&encapsulation=shadow","src/components/jump-tab/jump-tab.tsx"],"sourcesContent":[":host {\n display: block;\n\n --jump-tab-bg-color: var(--gray-ultralight, #f8f8f8);\n \n .Wrapper {\n display: flex;\n width: fit-content;\n \n &.rounded {\n border-radius: 50px;\n background-color: #f8f8f8; // dovrà andarci var(--jump-tab-bg-color)\n }\n }\n}","import { Component, Host, Event, EventEmitter, Prop, h, Listen } from '@stencil/core';\n\n@Component({\n tag: 'jump-tab',\n styleUrl: 'jump-tab.scss',\n shadow: true,\n})\nexport class JumpTab {\n\n JumpTabEl: HTMLElement;\n /* ---------------------- @PROPERTIES ------------------------- */\n @Prop() tabGroupName: string = undefined;\n\n /**\n * The style of the tab. The same value must be passed to all the items.\n * Choosed from \"inline\", \"boxed\", \"sheet\", \"rounded\"\n */\n @Prop() variant: string = 'inline';\n\n @Event({ eventName: 'jump-change-activetab'}) setActiveTab: EventEmitter;\n\n @Listen('jump-change-active-tab')\n changeActiveTabHandler(event: CustomEvent) {\n this.setActiveTab.emit(event.detail);\n\n // Recupera il valore della variabile CSS\n const rootStyles = getComputedStyle(document.documentElement);\n const primaryColor = rootStyles.getPropertyValue('--neutral-grey-secondary').trim();\n\n let items = this.JumpTabEl.querySelectorAll('jump-tab-item');\n if (items.length > 0) {\n items.forEach((item) => {\n if (item.getAttribute('identifier') === event.detail.id) {\n item.setAttribute('active', '');\n\n if (this.variant === 'sheet') {\n // Aggiungi il bordo ai fratelli dell'elemento attivo tranne l'ultimo\n items.forEach((sibling, index) => {\n if (sibling !== item && index !== items.length - 1) {\n sibling.style.borderRight = `1px solid ${primaryColor}`; // Usa i backticks\n } else {\n sibling.style.borderRight = '1px solid transparent';\n }\n });\n\n // Rimuovi il bordo dal fratello precedente\n let previousSibling = item.previousElementSibling as any;\n if (previousSibling) {\n previousSibling.style.borderRight = '1px solid transparent';\n }\n }\n\n } else {\n item.removeAttribute('active');\n }\n });\n }\n\n let panel = this.JumpTabEl.querySelectorAll('jump-tab-panel');\n if (panel.length > 0) {\n panel.forEach((panel) => {\n if (panel.getAttribute('identifier') === event.detail.id) {\n panel.setAttribute('active', '');\n } else {\n panel.removeAttribute('active');\n }\n });\n }\n }\n\n\n componentDidLoad() {\n console.log('Component has been rendered');\n if(this.variant === 'sheet') {\n // Recupera il valore della variabile CSS\n const rootStyles = getComputedStyle(document.documentElement);\n const primaryColor = rootStyles.getPropertyValue('--neutral-grey-secondary').trim();\n\n // Seleziona tutti gli elementi jump-tab-item\n let items = this.JumpTabEl.querySelectorAll('jump-tab-item');\n if (items.length > 0) {\n items.forEach((item, index) => {\n // Aggiungi bordo destro a tutti tranne:\n // - l'ultimo elemento\n // - l'elemento attivo (avente classe \"active\")\n if (index === items.length - 1 || item.classList.contains('active')) {\n item.style.borderRight = '1px solid transparent';\n } else {\n item.style.borderRight = `1px solid ${primaryColor}`;\n }\n });\n }\n }\n\n }\n\n render() {\n return (\n <Host class=\"JumpTab\" id={this.tabGroupName} ref={(el) => {this.JumpTabEl = el;}}> \n <div class={\"Wrapper \" + this.variant}>\n <slot name=\"tab-item\"></slot>\n </div>\n <div>\n <slot name=\"tab-content\"></slot>\n </div>\n </Host>\n );\n }\n}"],"mappings":"yDAAA,MAAMA,EAAa,4LACnB,MAAAC,EAAeD,E,MCMFE,EAAO,M,+FAIaC,U,aAML,Q,CAK1B,sBAAAC,CAAuBC,GACrBC,KAAKC,aAAaC,KAAKH,EAAMI,QAG7B,MAAMC,EAAaC,iBAAiBC,SAASC,iBAC7C,MAAMC,EAAeJ,EAAWK,iBAAiB,4BAA4BC,OAE7E,IAAIC,EAAQX,KAAKY,UAAUC,iBAAiB,iBAC5C,GAAIF,EAAMG,OAAS,EAAG,CACpBH,EAAMI,SAASC,IACb,GAAIA,EAAKC,aAAa,gBAAkBlB,EAAMI,OAAOe,GAAI,CACvDF,EAAKG,aAAa,SAAU,IAE5B,GAAInB,KAAKoB,UAAY,QAAS,CAE5BT,EAAMI,SAAQ,CAACM,EAASC,KACtB,GAAID,IAAYL,GAAQM,IAAUX,EAAMG,OAAS,EAAG,CAClDO,EAAQE,MAAMC,YAAc,aAAahB,G,KACpC,CACLa,EAAQE,MAAMC,YAAc,uB,KAKhC,IAAIC,EAAkBT,EAAKU,uBAC3B,GAAID,EAAiB,CACnBA,EAAgBF,MAAMC,YAAc,uB,OAInC,CACLR,EAAKW,gBAAgB,S,KAK3B,IAAIC,EAAQ5B,KAAKY,UAAUC,iBAAiB,kBAC5C,GAAIe,EAAMd,OAAS,EAAG,CACpBc,EAAMb,SAASa,IACb,GAAIA,EAAMX,aAAa,gBAAkBlB,EAAMI,OAAOe,GAAI,CACxDU,EAAMT,aAAa,SAAU,G,KACxB,CACLS,EAAMD,gBAAgB,S,MAO9B,gBAAAE,GACEC,QAAQC,IAAI,+BACZ,GAAG/B,KAAKoB,UAAY,QAAS,CAE3B,MAAMhB,EAAaC,iBAAiBC,SAASC,iBAC7C,MAAMC,EAAeJ,EAAWK,iBAAiB,4BAA4BC,OAG7E,IAAIC,EAAQX,KAAKY,UAAUC,iBAAiB,iBAC5C,GAAIF,EAAMG,OAAS,EAAG,CACpBH,EAAMI,SAAQ,CAACC,EAAMM,KAInB,GAAIA,IAAUX,EAAMG,OAAS,GAAKE,EAAKgB,UAAUC,SAAS,UAAW,CACnEjB,EAAKO,MAAMC,YAAc,uB,KACpB,CACLR,EAAKO,MAAMC,YAAc,aAAahB,G,OAQhD,MAAA0B,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,UAAUpB,GAAIlB,KAAKuC,aAAcC,IAAMC,IAAQzC,KAAKY,UAAY6B,CAAE,GAC5EN,EAAA,OAAAE,IAAA,2CAAKC,MAAO,WAAatC,KAAKoB,SAC5Be,EAAA,QAAAE,IAAA,2CAAMK,KAAK,cAEbP,EAAA,OAAAE,IAAA,4CACEF,EAAA,QAAAE,IAAA,2CAAMK,KAAK,iB"}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as a,h as t,H as i}from"./p-4d6cc90d.js";const s=":host{display:block}.JumpPaginationTable{--jump-pagination-table-label:var(--neutral-grey-secondary);--jump-pagination-table-arrows:var(--neutral-grey-secondary);--jump-pagination-table-arrows-disabled:var(--neutral-grey-disabled);font-family:var(--ff-primary)}.JumpPaginationTable__Wrapper{display:flex;justify-content:space-between}.JumpPaginationTable__Wrapper .elementsPerPage{display:flex;gap:1rem;align-items:center}.JumpPaginationTable__Wrapper .elementsPerPage label{color:var(--jump-pagination-table-label);font-size:var(--fs-300);font-weight:normal}.JumpPaginationTable__Wrapper .indicators{font-size:var(--fs-400);font-weight:normal;display:flex;justify-content:space-between;gap:20px;color:var(--jump-pagination-table-label)}.JumpPaginationTable__Wrapper .indicators .arrow{color:var(--jump-pagination-table-arrows);display:flex;align-items:center;gap:10px}.JumpPaginationTable__Wrapper .indicators .arrow button{background-color:transparent;border:none;cursor:pointer;padding:0px;display:flex;align-items:center}.JumpPaginationTable__Wrapper .indicators .arrow button:disabled{cursor:not-allowed;color:var(--jump-pagination-table-arrows-disabled)}.JumpPaginationTable__Wrapper .indicators .elements{color:var(--jump-pagination-table-label);display:flex;align-items:center;gap:5px}";const n=s;const r=class{constructor(t){e(this,t);this.changePage=a(this,"jump-change-page",7);this.changeElPerPage=a(this,"jump-change-el-per-page",7);this.elementsRanges=[10,20,60,100];this.elPerPage=10;this.pagLabel="di";this.labelElementsPerPage="Elementi per pagina";this.total=100;this.first=1;this.last=10;this.showFirstAndLast=false}elPerPageChanged(e,a){if(e!==a){this.first=1;this.last=Math.min(this.total,e)}this.changeElPerPage.emit({elPerPage:e})}componentWillLoad(){this.elPerPage=this.elementsRanges[0]}setElPerPage(e){this.elPerPage=e.target.value}doChangePage(e){let a;let t;if(e==="first"){a=1;t=Math.min(this.total,this.elPerPage)}else if(e==="last"){t=this.total;a=Math.max(1,this.total-this.elPerPage+1)}else if(e==="previous"){a=Math.max(1,this.first-this.elPerPage);t=Math.min(this.total,a+this.elPerPage-1)}else if(e==="next"){t=Math.min(this.total,this.last+this.elPerPage);a=Math.max(1,t-this.elPerPage+1)}this.first=a;this.last=t;let i={first:a,last:t,direction:e};this.changePage.emit(i)}render(){var e;return t(i,{key:"824d23ed1c7c26ea21047e5ce764887d526b2df6",class:"JumpPaginationTable"},t("div",{key:"742793df17e3f1826768d7839905baddd0223d2b",class:"JumpPaginationTable__Wrapper"},t("div",{key:"b11952c253e2472672418fc1c48ab59a1ba06e51",class:"elementsPerPage"},t("label",{key:"9dd4f75b634d818787f050bf2fcf01ef4faad36e",htmlFor:"elements"},(e=this.labelElementsPerPage)!==null&&e!==void 0?e:"Elements per page"),t("select",{key:"f33c5d47808e09b0d6cef474b29373564243c3a2",name:"elements",id:"elements",onChange:e=>this.setElPerPage(e)},this.elementsRanges.map((e=>t("option",{value:e,selected:this.elPerPage==e&&true},e))))),t("div",{key:"392ede73df269175c997b713f9a4a5ecd92a0e25",class:"indicators"},t("div",{key:"2438ecab0062bb1fec07d62e32597e2b2aba3fe4",class:"elements"},t("span",{key:"49e7ad9c4e6298c41b6dba1d984bc5649b15bbbe"},t("span",{key:"471b63b04e31295192e992f9c61e31878e1cb04d"},this.first)," - ",t("span",{key:"b1d61554e28c1e254efc1cf6768da9480a363aea"},this.last)," ",this.pagLabel," ",t("span",{key:"b0727788ea7159d9bc07708814429c95866faa62"},this.total))),t("div",{key:"0aa5a04cb2837c519790d43805f83cca903eca7e",class:"arrow"},this.showFirstAndLast&&t("jump-button",{key:"d767d7705db97eecb2d9111eca909f633c4ae6fa",onClick:()=>this.doChangePage("first"),variant:"primary",text:true,size:"small",name:"scopri",value:"value","aria-label":"Scopri di più",id:"button",onlyIcon:true,disabled:this.first===1}," ",t("jump-icon",{key:"f6799dbdd47a0e845bf7860585c21f5b06d39811",slot:"suffix",name:"chevrons-left"})," "),t("jump-button",{key:"d417512e45c62fbed1a1780da00fb01dea27a7e1",onClick:()=>this.doChangePage("previous"),variant:"primary",text:true,size:"small",name:"scopri",value:"value","aria-label":"Scopri di più",id:"button",onlyIcon:true,disabled:this.first===1}," ",t("jump-icon",{key:"22199b55ffcfc402f01b9880a728a86b00dc47d3",slot:"suffix",name:"chevron-left"})," "),t("jump-button",{key:"ea388be01e0be9adb03033e94665078cb30f64a2",onClick:()=>this.doChangePage("next"),variant:"primary",text:true,size:"small",name:"scopri",value:"value","aria-label":"Scopri di più",id:"button",onlyIcon:true,disabled:this.last===this.total}," ",t("jump-icon",{key:"1cdb6a7d147ad4757e3b7c717e0bd1fab8e356fb",slot:"suffix",name:"chevron-right"})," "),this.showFirstAndLast&&t("jump-button",{key:"2309eeed0c9a78ffaf9c886979ff35f566841592",onClick:()=>this.doChangePage("last"),variant:"primary",text:true,size:"small",name:"scopri",value:"value","aria-label":"Scopri di più",id:"button",onlyIcon:true,disabled:this.last===this.total}," ",t("jump-icon",{key:"f8a929bcdbd2b488cb1bf481a2247fa8d0aa1daf",slot:"suffix",name:"chevrons-right"})," ")))))}static get watchers(){return{elPerPage:["elPerPageChanged"]}}};r.style=n;export{r as jump_pagination_table};
2
+ //# sourceMappingURL=p-377a769b.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["jumpPaginationTableCss","JumpPaginationTableStyle0","JumpPaginationTable","elPerPageChanged","newValue","oldValue","this","first","last","Math","min","total","changeElPerPage","emit","elPerPage","componentWillLoad","elementsRanges","setElPerPage","e","target","value","doChangePage","dir","newFirst","newLast","max","details","direction","changePage","render","h","Host","key","class","htmlFor","_a","labelElementsPerPage","name","id","onChange","map","range","selected","pagLabel","showFirstAndLast","onClick","variant","text","size","onlyIcon","disabled","slot"],"sources":["src/components/jump-pagination-table/jump-pagination-table.scss?tag=jump-pagination-table","src/components/jump-pagination-table/jump-pagination-table.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.JumpPaginationTable {\n --jump-pagination-table-label: var(--neutral-grey-secondary);\n --jump-pagination-table-arrows: var(--neutral-grey-secondary);\n --jump-pagination-table-arrows-disabled: var(--neutral-grey-disabled); //mappare una variabile del design system\n\n font-family: var(--ff-primary);\n\n &__Wrapper {\n display: flex;\n justify-content: space-between;\n \n .elementsPerPage {\n display: flex;\n gap: 1rem;\n align-items: center;\n \n label {\n color: var(--jump-pagination-table-label);\n font-size: var(--fs-300);\n font-weight: normal;\n }\n }\n \n .indicators {\n font-size: var(--fs-400);\n font-weight: normal;\n display: flex;\n justify-content: space-between;\n gap: 20px;\n \n color: var(--jump-pagination-table-label);\n \n .arrow {\n color: var(--jump-pagination-table-arrows);\n display: flex;\n align-items: center;\n gap: 10px;\n \n button {\n background-color: transparent;\n border: none;\n cursor: pointer;\n padding: 0px;\n display: flex;\n align-items: center;\n }\n \n button:disabled {\n cursor: not-allowed;\n color: var(--jump-pagination-table-arrows-disabled);\n \n }\n }\n \n .elements {\n color: var(--jump-pagination-table-label);\n display: flex;\n align-items: center;\n gap: 5px;\n }\n }\n \n }\n}","import { Component, Event, EventEmitter, Watch, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'jump-pagination-table',\n styleUrl: 'jump-pagination-table.scss',\n shadow: false,\n})\nexport class JumpPaginationTable {\n\n /* ---------------------- OWN PROPERTIES ---------------------- */\n\n /* ---------------------- @ELEMENT ---------------------------- */\n\n /* ---------------------- @STATE ------------------------------ */\n\n /* ---------------------- @PROPERTIES ------------------------- */\n\n /**\n * Values for the elements per page select\n */\n @Prop({ reflect: true }) elementsRanges: Array<number> = [10, 20, 60, 100];\n\n /**\n * Number of elements per page selected\n */\n @Prop() elPerPage: number = 10;\n @Watch('elPerPage')\n elPerPageChanged(newValue: number, oldValue: number) {\n if (newValue !== oldValue) {\n // Riporta la paginazione allo stato iniziale\n this.first = 1;\n this.last = Math.min(this.total, newValue);\n }\n\n this.changeElPerPage.emit({ elPerPage: newValue });\n }\n\n @Prop({ reflect: true }) pagLabel: string = 'di'; // Identifica la label testuale di pagination. \n\n /**\n * Label for the elements per page select\n */\n @Prop({ reflect: true }) labelElementsPerPage: string = 'Elementi per pagina';\n\n /**\n * Total of elements\n */\n @Prop({ reflect: true }) total: number = 100; \n\n /**\n * First element of the page\n */\n @Prop({ reflect: true }) first: number = 1;\n\n /**\n * Last element of the page\n */\n @Prop({ reflect: true }) last: number = 10;\n\n /**\n * Show button to navigate so first e last page\n */\n @Prop({ reflect: true }) showFirstAndLast: boolean = false;\n\n /* ---------------------- @EVENTS ------------------------- */\n @Event({ eventName: 'jump-change-page' }) changePage: EventEmitter;\n @Event({ eventName: 'jump-change-el-per-page' }) changeElPerPage: EventEmitter;\n\n /* -------------------- LYFECYCLE EVENTS ---------------------- */\n componentWillLoad() {\n this.elPerPage = this.elementsRanges[0];\n }\n\n /* -------------------- @LISTEN ------------------------------- */\n\n /* -------------------- @METHOD ------------------------------- */\n\n /* -------------------- LOCAL METHODS ------------------------- */\n setElPerPage(e) {\n this.elPerPage = e.target.value;\n }\n\n doChangePage(dir) {\n let newFirst;\n let newLast;\n\n //TODO refactorare \n if (dir === 'first') {\n newFirst = 1;\n newLast = Math.min(this.total, this.elPerPage);\n } else if (dir === 'last') {\n newLast = this.total;\n newFirst = Math.max(1, this.total - this.elPerPage + 1);\n } else if (dir === 'previous') {\n newFirst = Math.max(1, this.first - this.elPerPage);\n newLast = Math.min(this.total, newFirst + this.elPerPage - 1);\n } else if (dir === 'next') {\n newLast = Math.min(this.total, this.last + this.elPerPage);\n newFirst = Math.max(1, newLast - this.elPerPage + 1);\n }\n\n this.first = newFirst;\n this.last = newLast;\n\n let details = {\n first: newFirst,\n last: newLast,\n direction: dir\n }\n\n this.changePage.emit(details);\n }\n\n /* --------------------- RENDER ------------------------------- */\n render() {\n return (\n <Host class=\"JumpPaginationTable\">\n <div class=\"JumpPaginationTable__Wrapper\">\n <div class=\"elementsPerPage\">\n <label htmlFor=\"elements\">{this.labelElementsPerPage ?? 'Elements per page'}</label>\n <select name=\"elements\" id=\"elements\" onChange={(e) => this.setElPerPage(e)}>\n {this.elementsRanges.map((range) => (\n <option value={range} selected={(this.elPerPage == range) && true}>{range}</option>\n ))}\n </select>\n </div> \n <div class=\"indicators\">\n <div class=\"elements\">\n <span>\n <span>{this.first}</span> - <span>{this.last}</span> {this.pagLabel} <span>{this.total}</span>\n </span>\n </div>\n <div class=\"arrow\">\n {this.showFirstAndLast &&\n // <button \n // onClick={() => this.doChangePage('first')}\n // disabled={this.first === 1}\n // >\n // <jump-icon slot=\"prefix\" name=\"chevrons-left\"></jump-icon>\n // </button>\n <jump-button onClick={() => this.doChangePage('first')} variant=\"primary\" text size=\"small\" name=\"scopri\" value=\"value\" aria-label=\"Scopri di più\" id=\"button\" onlyIcon disabled={this.first === 1}> <jump-icon slot=\"suffix\" name=\"chevrons-left\" ></jump-icon> </jump-button>\n }\n {/* <button\n onClick={() => this.doChangePage('previous')}\n disabled={this.first === 1}\n >\n <jump-icon slot=\"prefix\" name=\"chevron-left\"></jump-icon>\n </button> */}\n <jump-button onClick={() => this.doChangePage('previous')} variant=\"primary\" text size=\"small\" name=\"scopri\" value=\"value\" aria-label=\"Scopri di più\" id=\"button\" onlyIcon disabled={this.first === 1}> <jump-icon slot=\"suffix\" name=\"chevron-left\" ></jump-icon> </jump-button>\n <jump-button onClick={() => this.doChangePage('next')} variant=\"primary\" text size=\"small\" name=\"scopri\" value=\"value\" aria-label=\"Scopri di più\" id=\"button\" onlyIcon disabled={this.last === this.total}> <jump-icon slot=\"suffix\" name=\"chevron-right\" ></jump-icon> </jump-button>\n {/* <button\n onClick={() => this.doChangePage('next')}\n disabled={this.last === this.total}\n >\n <jump-icon slot=\"prefix\" name=\"chevron-right\"></jump-icon>\n </button> */}\n {this.showFirstAndLast &&\n // <button\n // onClick={() => this.doChangePage('last')}\n // disabled={this.last === this.total}\n // >\n // <jump-icon slot=\"prefix\" name=\"chevrons-right\"></jump-icon>\n // </button>\n <jump-button onClick={() => this.doChangePage('last')} variant=\"primary\" text size=\"small\" name=\"scopri\" value=\"value\" aria-label=\"Scopri di più\" id=\"button\" onlyIcon disabled={this.last === this.total}> <jump-icon slot=\"suffix\" name=\"chevrons-right\" ></jump-icon> </jump-button>\n }\n </div>\n </div>\n </div>\n </Host>\n );\n }\n\n}\n"],"mappings":"yDAAA,MAAMA,EAAyB,gxCAC/B,MAAAC,EAAeD,E,MCMFE,EAAmB,M,mJAa2B,CAAC,GAAI,GAAI,GAAI,K,eAK1C,G,cAYgB,K,0BAKY,sB,WAKf,I,WAKA,E,UAKD,G,sBAKa,K,CAnCrD,gBAAAC,CAAiBC,EAAkBC,GACjC,GAAID,IAAaC,EAAU,CAEzBC,KAAKC,MAAQ,EACbD,KAAKE,KAAOC,KAAKC,IAAIJ,KAAKK,MAAOP,E,CAGnCE,KAAKM,gBAAgBC,KAAK,CAAEC,UAAWV,G,CAmCzC,iBAAAW,GACET,KAAKQ,UAAYR,KAAKU,eAAe,E,CAQvC,YAAAC,CAAaC,GACXZ,KAAKQ,UAAYI,EAAEC,OAAOC,K,CAG5B,YAAAC,CAAaC,GACX,IAAIC,EACJ,IAAIC,EAGJ,GAAIF,IAAQ,QAAS,CACnBC,EAAW,EACXC,EAAUf,KAAKC,IAAIJ,KAAKK,MAAOL,KAAKQ,U,MAC/B,GAAIQ,IAAQ,OAAQ,CACzBE,EAAUlB,KAAKK,MACfY,EAAWd,KAAKgB,IAAI,EAAGnB,KAAKK,MAAQL,KAAKQ,UAAY,E,MAChD,GAAIQ,IAAQ,WAAY,CAC7BC,EAAWd,KAAKgB,IAAI,EAAGnB,KAAKC,MAAQD,KAAKQ,WACzCU,EAAUf,KAAKC,IAAIJ,KAAKK,MAAOY,EAAWjB,KAAKQ,UAAY,E,MACtD,GAAIQ,IAAQ,OAAQ,CACzBE,EAAUf,KAAKC,IAAIJ,KAAKK,MAAOL,KAAKE,KAAOF,KAAKQ,WAChDS,EAAWd,KAAKgB,IAAI,EAAGD,EAAUlB,KAAKQ,UAAY,E,CAGpDR,KAAKC,MAAQgB,EACbjB,KAAKE,KAAOgB,EAEZ,IAAIE,EAAU,CACZnB,MAAOgB,EACPf,KAAMgB,EACNG,UAAWL,GAGbhB,KAAKsB,WAAWf,KAAKa,E,CAIvB,MAAAG,G,MACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,uBACVH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,gCACTH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,mBACTH,EAAA,SAAAE,IAAA,2CAAOE,QAAQ,aAAYC,EAAA7B,KAAK8B,wBAAoB,MAAAD,SAAA,EAAAA,EAAI,qBACxDL,EAAA,UAAAE,IAAA,2CAAQK,KAAK,WAAWC,GAAG,WAAWC,SAAWrB,GAAMZ,KAAKW,aAAaC,IACtEZ,KAAKU,eAAewB,KAAKC,GACxBX,EAAA,UAAQV,MAAOqB,EAAOC,SAAWpC,KAAKQ,WAAa2B,GAAU,MAAOA,OAI1EX,EAAA,OAAAE,IAAA,2CAAKC,MAAM,cACTH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,YACTH,EAAA,QAAAE,IAAA,4CACEF,EAAA,QAAAE,IAAA,4CAAO1B,KAAKC,OAAa,MAAGuB,EAAA,QAAAE,IAAA,4CAAO1B,KAAKE,MAAY,IAAEF,KAAKqC,SAAQ,IAAEb,EAAA,QAAAE,IAAA,4CAAO1B,KAAKK,SAGrFmB,EAAA,OAAAE,IAAA,2CAAKC,MAAM,SACR3B,KAAKsC,kBAOJd,EAAA,eAAAE,IAAA,2CAAaa,QAAS,IAAMvC,KAAKe,aAAa,SAAUyB,QAAQ,UAAUC,KAAI,KAACC,KAAK,QAAQX,KAAK,SAASjB,MAAM,QAAO,aAAY,gBAAgBkB,GAAG,SAASW,SAAQ,KAACC,SAAU5C,KAAKC,QAAU,GAAC,IAAGuB,EAAA,aAAAE,IAAA,2CAAWmB,KAAK,SAASd,KAAK,kBAA6B,KAQlQP,EAAA,eAAAE,IAAA,2CAAaa,QAAS,IAAMvC,KAAKe,aAAa,YAAayB,QAAQ,UAAUC,KAAI,KAACC,KAAK,QAAQX,KAAK,SAASjB,MAAM,QAAO,aAAY,gBAAgBkB,GAAG,SAASW,SAAQ,KAACC,SAAU5C,KAAKC,QAAU,GAAC,IAAGuB,EAAA,aAAAE,IAAA,2CAAWmB,KAAK,SAASd,KAAK,iBAA4B,KAClQP,EAAA,eAAAE,IAAA,2CAAaa,QAAS,IAAMvC,KAAKe,aAAa,QAASyB,QAAQ,UAAUC,KAAI,KAACC,KAAK,QAAQX,KAAK,SAASjB,MAAM,QAAO,aAAY,gBAAgBkB,GAAG,SAASW,SAAQ,KAACC,SAAU5C,KAAKE,OAASF,KAAKK,OAAK,IAAGmB,EAAA,aAAAE,IAAA,2CAAWmB,KAAK,SAASd,KAAK,kBAA6B,KAOtQ/B,KAAKsC,kBAOJd,EAAA,eAAAE,IAAA,2CAAaa,QAAS,IAAMvC,KAAKe,aAAa,QAASyB,QAAQ,UAAUC,KAAI,KAACC,KAAK,QAAQX,KAAK,SAASjB,MAAM,QAAO,aAAY,gBAAgBkB,GAAG,SAASW,SAAQ,KAACC,SAAU5C,KAAKE,OAASF,KAAKK,OAAK,IAAGmB,EAAA,aAAAE,IAAA,2CAAWmB,KAAK,SAASd,KAAK,mBAA8B,Q"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as o,h as e,H as n}from"./p-4d6cc90d.js";const r=":host{display:block;--jump-tabitem-active-color:var(--secondary-standard);--jump-tabitem-color:var(--neutral-grey-secondary);--jump-tabitem-hover-color:var(--neutral-grey-disabled, #CBCBCB);--jump-tabitem-boxed-bg-color:var(--secondary-soft, #EDF2FA);--jump-tabitem-rounded-bg-color:white;font-family:var(--ff-primary)}:host .Content{display:flex;}:host .Content label{font-size:16px}:host .Content.left{flex-direction:row;gap:6px;align-items:center}:host .Content.top{flex-direction:column;gap:2px;align-items:center}:host .Content.inline{color:var(--jump-tabitem-color);padding:12px 24px}:host .Content.inline.active{color:var(--jump-tabitem-active-color)}:host .Content.inline.active span{font-weight:bold}:host .Content.boxed{color:var(--jump-tabitem-color);padding:15px 39px;background-color:transparent;border:1px solid var(--jump-tabitem-boxed-bg-color)}:host .Content.boxed:hover:not(.disabled),:host .Content.boxed:hover:not(.active){background-color:transparent}:host .Content.boxed:hover:not(.disabled) span,:host .Content.boxed:hover:not(.active) span{font-weight:bold}:host .Content.boxed.active{color:var(--jump-tabitem-active-color);background-color:var(--jump-tabitem-boxed-bg-color);border:1px solid var(--jump-tabitem-boxed-bg-color)}:host .Content.boxed.active span{font-weight:bold}:host .Content.rounded{padding:12px 32px;color:var(--jump-tabitem-color)}:host .Content.rounded:hover:not(.disabled){cursor:pointer}:host .Content.rounded:hover:not(.disabled) span{font-weight:bold}:host .Content.rounded.active{color:var(--jump-tabitem-active-color);background-color:var(--jump-tabitem-rounded-bg-color);border:1px solid var(--jump-tabitem-active-color);border-radius:50px}:host .Content.sheet{padding:12px 32px;color:var(--neutral-grey-secondary)}:host .Content.sheet:hover:not(.disabled){cursor:pointer}:host .Content.sheet:hover:not(.disabled) span{font-weight:bold}:host .Content.sheet.active{color:var(--jump-tabitem-active-color);background-color:var(--jump-tabitem-rounded-bg-color);border-radius:8px 8px 0px 0px}:host .Content.disabled{cursor:not-allowed;opacity:0.5;pointer-events:none}:host(.inline){border-bottom:1px solid var(--jump-tabitem-hover-color)}:host(.inline):hover:not(.disabled):not(.active){border-bottom:3px solid var(--jump-tabitem-hover-color);cursor:pointer}:host(.inline.active){border-bottom:3px solid var(--jump-tabitem-active-color)}";const a=r;const i=class{constructor(e){t(this,e);this.changeActiveTab=o(this,"jump-change-active-tab",7);this.identifier=undefined;this.iconName=undefined;this.iconPosition="left";this.label="";this.active=false;this.disabled=false;this.variant="inline"}changeTab(t){this.changeActiveTab.emit({id:t})}componentDidLoad(){console.log("Component has been rendered");let t=this.tabEl.parentElement.getAttribute("variant");this.variant=t}render(){return e(n,{key:"99a63732d7cc75ed92a2b7fb9469a2bf18d75235",ref:t=>{this.tabEl=t},class:"JumpTabItem "+(this.active?"active":"")+" "+this.variant},e("div",{key:"ee7170cae00c17615e5e528bf103aebd9d97b45f",class:"Content "+(this.iconName?this.iconPosition:"")+" "+this.variant+" "+(this.active?"active":"")+" "+(this.disabled?"disabled":""),onClick:()=>this.changeTab(this.identifier),id:this.identifier},this.iconName&&(this.variant=="inline"||this.variant=="boxed")&&e("jump-icon",{key:"d198fc5756bd145454d7298969905e8bcf306b20",library:"fa",category:"regular",name:this.iconName,size:"small"}),e("span",{key:"bc008babf73fef929062f127a8eb976405046434",class:"label"},this.label)))}};i.style=a;export{i as jump_tab_item};
2
+ //# sourceMappingURL=p-493c7f4a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["jumpTabItemCss","JumpTabItemStyle0","JumpTabItem","undefined","changeTab","identifier","this","changeActiveTab","emit","id","componentDidLoad","console","log","parentVariant","tabEl","parentElement","getAttribute","variant","render","h","Host","key","ref","el","class","active","iconName","iconPosition","disabled","onClick","library","category","name","size","label"],"sources":["src/components/jump-tab-item/jump-tab-item.scss?tag=jump-tab-item&encapsulation=shadow","src/components/jump-tab-item/jump-tab-item.tsx"],"sourcesContent":[":host {\n display: block;\n\n --jump-tabitem-active-color: var(--secondary-standard);\n --jump-tabitem-color: var(--neutral-grey-secondary);\n --jump-tabitem-hover-color: var(--neutral-grey-disabled, #CBCBCB);\n --jump-tabitem-boxed-bg-color: var(--secondary-soft, #EDF2FA);\n --jump-tabitem-rounded-bg-color: white;\n \n font-family: var(--ff-primary);\n \n \n .Content {\n \n display: flex;\n \n label {\n font-size: 16px;\n }\n \n &.left {\n flex-direction: row;\n gap: 6px;\n align-items: center;\n }\n \n &.top {\n flex-direction: column;\n gap: 2px;\n align-items: center;\n }\n \n /*Tipologia inline */\n &.inline {\n color: var(--jump-tabitem-color);\n padding: 12px 24px;\n }\n \n &.inline.active {\n color: var(--jump-tabitem-active-color);\n \n \n span {\n font-weight: bold;\n }\n }\n \n /* Tipologia boxed */\n &.boxed {\n color: var(--jump-tabitem-color);\n padding: 15px 39px;\n background-color: transparent;\n border: 1px solid var(--jump-tabitem-boxed-bg-color);\n }\n \n &.boxed:hover:not(.disabled),\n &.boxed:hover:not(.active) {\n background-color: transparent;\n \n span {\n font-weight: bold;\n }\n }\n \n \n \n &.boxed.active {\n color: var(--jump-tabitem-active-color);\n background-color: var(--jump-tabitem-boxed-bg-color);\n border: 1px solid var(--jump-tabitem-boxed-bg-color);\n \n span {\n font-weight: bold;\n }\n }\n \n /* Tipologia rounded */\n &.rounded {\n padding: 12px 32px;\n color: var(--jump-tabitem-color);\n \n }\n \n &.rounded:hover:not(.disabled) {\n cursor: pointer;\n \n span {\n font-weight: bold;\n }\n }\n \n &.rounded.active {\n color: var(--jump-tabitem-active-color);\n background-color: var(--jump-tabitem-rounded-bg-color);\n border: 1px solid var(--jump-tabitem-active-color);\n border-radius: 50px;\n \n }\n \n /** Tipologia sheet */\n &.sheet {\n padding: 12px 32px;\n color: var(--neutral-grey-secondary);\n // border: 1px solid transparent;\n \n }\n \n &.sheet:hover:not(.disabled) {\n cursor: pointer;\n \n span {\n font-weight: bold;\n }\n }\n \n &.sheet.active {\n color: var(--jump-tabitem-active-color);\n background-color: var(--jump-tabitem-rounded-bg-color);\n //border: 1px solid var(--jump-tabitem-rounded-bg-color);\n border-radius: 8px 8px 0px 0px;\n }\n \n /* Disabilitato */\n &.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n pointer-events: none;\n }\n \n }\n}\n\n:host(.inline){\n border-bottom: 1px solid var(--jump-tabitem-hover-color);\n}\n\n:host(.inline):hover:not(.disabled):not(.active) {\n border-bottom: 3px solid var(--jump-tabitem-hover-color);\n cursor: pointer;\n}\n\n:host(.inline.active) {\n border-bottom: 3px solid var(--jump-tabitem-active-color);\n}","import { Component, Host, Prop,State, h, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'jump-tab-item',\n styleUrl: 'jump-tab-item.scss',\n shadow: true,\n})\nexport class JumpTabItem {\n\n /* ---------------------- @PROPERTIES ------------------------- */\n\n /**\n * Identifier of the tab\n */\n @Prop() identifier: string = undefined;\n\n /**\n * Name of the icon. If not provided, the icon will not be displayed\n */\n @Prop() iconName: string = undefined;\n\n /**\n * Icon position, apply only if the icon is present\n * Choosed from \"left\", \"top\"\n */\n @Prop() iconPosition: string = 'left';\n @Prop() label: string = '';\n @Prop() active: boolean = false;\n\n @Prop() disabled: boolean = false;\n\n /**\n * The style of the tab item\n * Choosed from \"inline\", \"boxed\", \"sheet\", \"rounded\"\n */\n @State() variant: string = 'inline';\n\n @Event({ eventName: 'jump-change-active-tab' }) changeActiveTab: EventEmitter;\n\n changeTab(identifier){\n this.changeActiveTab.emit({id: identifier});\n }\n\n componentDidLoad() {\n console.log('Component has been rendered');\n // Deve leggere la prop \"variant\" del componente babbo jump-tab e popolare la propria prop \"variant\"\n let parentVariant = this.tabEl.parentElement.getAttribute('variant');\n this.variant = parentVariant;\n }\n\n // componentDidLoad() {\n // console.log('Component has been rendered');\n \n // // console.log('THIS', this);\n // if(this.active){\n // let tab = this.tabEl.previousElementSibling as any;\n // if(tab){\n // tab.style.borderRight = 'none';\n // }\n // }\n // }\n\n // @Watch('active')\n // watchActive(newValue) {\n // console.log('watch active');\n // // Devo ripristinare i bordi di tutti i fratelli di this.tabEl\n // let siblings = this.tabEl.parentElement.children as any;\n // for (let i = 0; i < siblings.length; i++) {\n // siblings[i].style.borderRight = '1px solid red';\n // }\n\n // console.log('thisel', this.tabEl);\n // console.log('newvalue', newValue);\n // console.log('xxxxxx', this.tabEl.classList);\n\n // // Se this.tabEl ha la classe 'active' allora rimuovo il bordo destro\n // if (newValue && this.tabEl.classList.contains('active')) {\n // console.log('contiene ');\n // this.tabEl.style.borderRight = 'none';\n\n // // Rimuovere il bordo destro dal fratello precedente, se esiste\n // let prevEl = this.tabEl.previousElementSibling as any;\n // console.log('revEl', prevEl);\n // if (prevEl) {\n // prevEl.style.borderRight = 'none';\n // }\n // }\n // }\n\n // @Watch('active')\n // watchActive(newValue) {\n // // Ripristina i bordi di tutti gli elementi\n // const items = document.querySelectorAll('.JumpTabItem') as any;\n // console.log('ITEMS', items);\n // items.forEach(item => {\n // item.style.borderRight = '1px solid red';\n // });\n\n // // Verifica se this.tabEl ha la classe 'active'\n // if (newValue && this.tabEl.classList.contains('active')) {\n // // Rimuovere il bordo destro dal nuovo elemento attivo\n // this.tabEl.style.borderRight = 'none';\n\n // // Rimuovere il bordo destro dal fratello precedente, se esiste\n // let prevEl = this.tabEl.previousElementSibling as any;\n // if (prevEl) {\n // prevEl.style.borderRight = 'none';\n // }\n // }\n // }\n\n\n tabEl: HTMLElement;\n\n render() {\n return (\n <Host\n ref={(el) => { this.tabEl = el }}\n class={\"JumpTabItem \" + (this.active ? 'active' : '') + \" \" +(this.variant)}>\n <div class={\"Content \" + (this.iconName ? this.iconPosition : '') + \" \" + (this.variant) + \" \" + (this.active ? 'active' : '') + \" \" + (this.disabled ? 'disabled' : '')} onClick={() => this.changeTab(this.identifier)} id={this.identifier}>\n {(this.iconName && (this.variant == 'inline' || this.variant == 'boxed')) &&\n <jump-icon library=\"fa\" category=\"regular\" name={this.iconName} size=\"small\"></jump-icon>\n }\n <span class=\"label\">{this.label}</span>\n </div>\n </Host>\n );\n }\n}\n\n"],"mappings":"yDAAA,MAAMA,EAAiB,m1EACvB,MAAAC,EAAeD,E,MCMFE,EAAW,M,iGAOOC,U,cAKFA,U,kBAMI,O,WACP,G,YACE,M,cAEE,M,aAMD,Q,CAI3B,SAAAC,CAAUC,GACRC,KAAKC,gBAAgBC,KAAK,CAACC,GAAIJ,G,CAGjC,gBAAAK,GACEC,QAAQC,IAAI,+BAEZ,IAAIC,EAAgBP,KAAKQ,MAAMC,cAAcC,aAAa,WAC3DV,KAAKW,QAAUJ,C,CAmEhB,MAAAK,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,IAAMC,IAASjB,KAAKQ,MAAQS,CAAE,EAC/BC,MAAO,gBAAkBlB,KAAKmB,OAAS,SAAW,IAAM,IAAMnB,KAAY,SACzEa,EAAA,OAAAE,IAAA,2CAAKG,MAAO,YAAclB,KAAKoB,SAAWpB,KAAKqB,aAAe,IAAM,IAAOrB,KAAY,QAAI,KAAOA,KAAKmB,OAAS,SAAW,IAAM,KAAOnB,KAAKsB,SAAW,WAAa,IAAKC,QAAS,IAAMvB,KAAKF,UAAUE,KAAKD,YAAaI,GAAIH,KAAKD,YAC/NC,KAAKoB,WAAapB,KAAKW,SAAW,UAAYX,KAAKW,SAAW,UAC9DE,EAAA,aAAAE,IAAA,2CAAWS,QAAQ,KAAKC,SAAS,UAAUC,KAAM1B,KAAKoB,SAAUO,KAAK,UAEvEd,EAAA,QAAAE,IAAA,2CAAMG,MAAM,SAASlB,KAAK4B,Q"}
@@ -0,0 +1,3 @@
1
+ const e="jump-design-system";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:false,vdomText:true,vdomXlink:false,watchCallback:true};let n;let s;let l;let o=false;let i=false;let c=false;let f=false;let r=false;const a=(e,t="")=>{{return()=>{}}};const u=(e,t)=>{{return()=>{}}};const d="{visibility:hidden}.hydrated{visibility:inherit}";const p="slot-fb{display:contents}slot-fb[hidden]{display:none}";const v=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];const m={};const h=e=>e!=null;const y=e=>{e=typeof e;return e==="object"||e==="function"};function b(e){var t,n,s;return(s=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const $=(e,t,...n)=>{let s=null;let l=null;let o=null;let i=false;let c=false;const f=[];const r=t=>{for(let n=0;n<t.length;n++){s=t[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof e!=="function"&&!y(s)){s=String(s)}if(i&&c){f[f.length-1].t+=s}else{f.push(i?S(null,s):s)}c=i}}};r(n);if(t){if(t.key){l=t.key}if(t.name){o=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}const a=S(e,null);a.l=t;if(f.length>0){a.o=f}{a.i=l}{a.u=o}return a};const S=(e,t)=>{const n={p:0,v:e,t,m:null,o:null};{n.l=null}{n.i=null}{n.u=null}return n};const w={};const g=e=>e&&e.v===w;const k=(e,t)=>{if(e!=null&&!y(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};const C=e=>Re(e).$hostElement$;const j=(e,t,n)=>{const s=C(e);return{emit:e=>O(s,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};const O=(e,t,n)=>{const s=Ue.ce(t,n);e.dispatchEvent(s);return s};const R=new WeakMap;const T=(e,t,n)=>{let s=Me.get(e);if(ze&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=t}else{s.replaceSync(t)}}else{s=t}Me.set(e,s)};const L=(e,t,n)=>{var s;const l=D(t);const o=Me.get(l);e=e.nodeType===11?e:Pe;if(o){if(typeof o==="string"){e=e.head||e;let n=R.get(e);let i;if(!n){R.set(e,n=new Set)}if(!n.has(l)){{i=Pe.createElement("style");i.innerHTML=o;const t=(s=Ue.h)!==null&&s!==void 0?s:b(Pe);if(t!=null){i.setAttribute("nonce",t)}e.insertBefore(i,e.querySelector("link"))}if(t.p&4){i.innerHTML+=p}if(n){n.add(l)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]}}return l};const x=e=>{const t=e.$;const n=e.$hostElement$;const s=t.p;const l=a("attachStyles",t.S);const o=L(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h")}l()};const D=(e,t)=>"sc-"+e.S;const A=(e,t,n,s,l,o)=>{if(n!==s){let i=xe(e,t);let c=t.toLowerCase();if(t==="class"){const t=e.classList;const l=M(n);const o=M(s);t.remove(...l.filter((e=>e&&!o.includes(e))));t.add(...o.filter((e=>e&&!l.includes(e))))}else if(t==="key");else if(t==="ref"){if(s){s(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(xe(Ne,c)){t=c.slice(2)}else{t=c[2]+t.slice(3)}if(n||s){const l=t.endsWith(N);t=t.replace(P,"");if(n){Ue.rel(e,t,n,l)}if(s){Ue.ael(e,t,s,l)}}}else{const c=y(s);if((i||c&&s!==null)&&!l){try{if(!e.tagName.includes("-")){const l=s==null?"":s;if(t==="list"){i=false}else if(n==null||e[t]!=l){e[t]=l}}else{e[t]=s}}catch(e){}}if(s==null||s===false){if(s!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!i||o&4||l)&&!c){s=s===true?"":s;{e.setAttribute(t,s)}}}}};const F=/\s/;const M=e=>!e?[]:e.split(F);const N="Capture";const P=new RegExp(N+"$");const U=(e,t,n,s)=>{const l=t.m.nodeType===11&&t.m.host?t.m.host:t.m;const o=e&&e.l||m;const i=t.l||m;{for(s of W(Object.keys(o))){if(!(s in i)){A(l,s,o[s],undefined,n,t.p)}}}for(s of W(Object.keys(i))){A(l,s,o[s],i[s],n,t.p)}};function W(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}const E=(e,t,i,r)=>{var a;const u=t.o[i];let d=0;let p;let v;let m;if(!o){c=true;if(u.v==="slot"){if(n){r.classList.add(n+"-s")}u.p|=u.o?2:1}}if(u.t!==null){p=u.m=Pe.createTextNode(u.t)}else if(u.p&1){p=u.m=Pe.createTextNode("")}else{p=u.m=Pe.createElement(u.p&2?"slot-fb":u.v);{U(null,u,f)}if(h(n)&&p["s-si"]!==n){p.classList.add(p["s-si"]=n)}if(u.o){for(d=0;d<u.o.length;++d){v=E(e,u,d,p);if(v){p.appendChild(v)}}}}p["s-hn"]=l;{if(u.p&(2|1)){p["s-sr"]=true;p["s-cr"]=s;p["s-sn"]=u.u||"";p["s-rf"]=(a=u.l)===null||a===void 0?void 0:a.ref;m=e&&e.o&&e.o[i];if(m&&m.v===u.v&&e.m){{z(e.m,false)}}}}return p};const z=(e,n)=>{Ue.p|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;while(t=t.nextSibling){if(t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===l){s.push(t)}}}for(let e=s.length-1;e>=0;e--){const t=s[e];if(t["s-hn"]!==l&&t["s-ol"]){K(t).insertBefore(t,I(t));t["s-ol"].remove();t["s-ol"]=undefined;t["s-sh"]=undefined;c=true}if(n){z(t,n)}}Ue.p&=~1};const B=(e,t,n,s,o,i)=>{let c=e["s-cr"]&&e["s-cr"].parentNode||e;let f;if(c.shadowRoot&&c.tagName===l){c=c.shadowRoot}for(;o<=i;++o){if(s[o]){f=E(null,n,o,e);if(f){s[o].m=f;c.insertBefore(f,I(t))}}}};const H=(e,t,n)=>{for(let s=t;s<=n;++s){const t=e[s];if(t){const e=t.m;Y(t);if(e){{i=true;if(e["s-ol"]){e["s-ol"].remove()}else{z(e,true)}}e.remove()}}}};const Q=(e,t,n,s,l=false)=>{let o=0;let i=0;let c=0;let f=0;let r=t.length-1;let a=t[0];let u=t[r];let d=s.length-1;let p=s[0];let v=s[d];let m;let h;while(o<=r&&i<=d){if(a==null){a=t[++o]}else if(u==null){u=t[--r]}else if(p==null){p=s[++i]}else if(v==null){v=s[--d]}else if(q(a,p,l)){V(a,p,l);a=t[++o];p=s[++i]}else if(q(u,v,l)){V(u,v,l);u=t[--r];v=s[--d]}else if(q(a,v,l)){if(a.v==="slot"||v.v==="slot"){z(a.m.parentNode,false)}V(a,v,l);e.insertBefore(a.m,u.m.nextSibling);a=t[++o];v=s[--d]}else if(q(u,p,l)){if(a.v==="slot"||v.v==="slot"){z(u.m.parentNode,false)}V(u,p,l);e.insertBefore(u.m,a.m);u=t[--r];p=s[++i]}else{c=-1;{for(f=o;f<=r;++f){if(t[f]&&t[f].i!==null&&t[f].i===p.i){c=f;break}}}if(c>=0){h=t[c];if(h.v!==p.v){m=E(t&&t[i],n,c,e)}else{V(h,p,l);t[c]=undefined;m=h.m}p=s[++i]}else{m=E(t&&t[i],n,i,e);p=s[++i]}if(m){{K(a.m).insertBefore(m,I(a.m))}}}}if(o>r){B(e,s[d+1]==null?null:s[d+1].m,n,s,i,d)}else if(i>d){H(t,o,r)}};const q=(e,t,n=false)=>{if(e.v===t.v){if(e.v==="slot"){return e.u===t.u}if(!n){return e.i===t.i}return true}return false};const I=e=>e&&e["s-ol"]||e;const K=e=>(e["s-ol"]?e["s-ol"]:e).parentNode;const V=(e,t,n=false)=>{const s=t.m=e.m;const l=e.o;const i=t.o;const c=t.v;const r=t.t;let a;if(r===null){{if(c==="slot"&&!o);else{U(e,t,f)}}if(l!==null&&i!==null){Q(s,l,t,i,n)}else if(i!==null){if(e.t!==null){s.textContent=""}B(s,null,t,i,0,i.length-1)}else if(l!==null){H(l,0,l.length-1)}}else if(a=s["s-cr"]){a.parentNode.textContent=r}else if(e.t!==r){s.data=r}};const X=e=>{const t=e.childNodes;for(const e of t){if(e.nodeType===1){if(e["s-sr"]){const n=e["s-sn"];e.hidden=false;for(const s of t){if(s!==e){if(s["s-hn"]!==e["s-hn"]||n!==""){if(s.nodeType===1&&(n===s.getAttribute("slot")||n===s["s-sn"])){e.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){e.hidden=true;break}}}}}X(e)}}};const _=[];const G=e=>{let n;let s;let l;for(const o of e.childNodes){if(o["s-sr"]&&(n=o["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;const e=o["s-sn"];for(l=s.length-1;l>=0;l--){n=s[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==o["s-hn"]&&!t.experimentalSlotFixes){if(J(n,e)){let t=_.find((e=>e.k===n));i=true;n["s-sn"]=n["s-sn"]||e;if(t){t.k["s-sh"]=o["s-hn"];t.C=o}else{n["s-sh"]=o["s-hn"];_.push({C:o,k:n})}if(n["s-sr"]){_.map((e=>{if(J(e.k,n["s-sn"])){t=_.find((e=>e.k===n));if(t&&!e.C){e.C=t.C}}}))}}else if(!_.some((e=>e.k===n))){_.push({k:n})}}}}if(o.nodeType===1){G(o)}}};const J=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};const Y=e=>{{e.l&&e.l.ref&&e.l.ref(null);e.o&&e.o.map(Y)}};const Z=(e,t,f=false)=>{var r,a,u,d;const p=e.$hostElement$;const v=e.$;const m=e.j||S(null,null);const h=g(t)?t:$(null,null,t);l=p.tagName;if(v.O){h.l=h.l||{};v.O.map((([e,t])=>h.l[t]=p[e]))}if(f&&h.l){for(const e of Object.keys(h.l)){if(p.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){h.l[e]=p[e]}}}h.v=null;h.p|=4;e.j=h;h.m=m.m=p.shadowRoot||p;{n=p["s-sc"]}o=(v.p&1)!==0;{s=p["s-cr"];i=false}V(m,h,f);{Ue.p|=1;if(c){G(h.m);for(const e of _){const t=e.k;if(!t["s-ol"]){const e=Pe.createTextNode("");e["s-nr"]=t;t.parentNode.insertBefore(t["s-ol"]=e,t)}}for(const e of _){const t=e.k;const n=e.C;if(n){const e=n.parentNode;let s=n.nextSibling;{let n=(r=t["s-ol"])===null||r===void 0?void 0:r.previousSibling;while(n){let l=(a=n["s-nr"])!==null&&a!==void 0?a:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){l=l.nextSibling;while(l===t||(l===null||l===void 0?void 0:l["s-sr"])){l=l===null||l===void 0?void 0:l.nextSibling}if(!l||!l["s-nr"]){s=l;break}}n=n.previousSibling}}if(!s&&e!==t.parentNode||t.nextSibling!==s){if(t!==s){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}e.insertBefore(t,s);if(t.nodeType===1){t.hidden=(u=t["s-ih"])!==null&&u!==void 0?u:false}}}t&&typeof n["s-rf"]==="function"&&n["s-rf"](t)}else{if(t.nodeType===1){if(f){t["s-ih"]=(d=t.hidden)!==null&&d!==void 0?d:false}t.hidden=true}}}}if(i){X(h.m)}Ue.p&=~1;_.length=0}s=undefined};const ee=(e,t)=>{if(t&&!e.R&&t["s-p"]){t["s-p"].push(new Promise((t=>e.R=t)))}};const te=(e,t)=>{{e.p|=16}if(e.p&4){e.p|=512;return}ee(e,e.T);const n=()=>ne(e,t);return Ve(n)};const ne=(e,t)=>{const n=a("scheduleUpdate",e.$.S);const s=e.L;let l;if(t){{e.p|=256;if(e.D){e.D.map((([e,t])=>re(s,e,t)));e.D=undefined}}{l=re(s,"componentWillLoad")}}n();return se(l,(()=>oe(e,s,t)))};const se=(e,t)=>le(e)?e.then(t):t();const le=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";const oe=async(e,t,n)=>{var s;const l=e.$hostElement$;const o=a("update",e.$.S);const i=l["s-rc"];if(n){x(e)}const c=a("render",e.$.S);{ie(e,t,l,n)}if(i){i.map((e=>e()));l["s-rc"]=undefined}c();o();{const t=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>ce(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.p|=4;t.length=0}}};const ie=(e,t,n,s)=>{try{t=t.render();{e.p&=~16}{e.p|=2}{{{Z(e,t,s)}}}}catch(t){De(t,e.$hostElement$)}return null};const ce=e=>{const t=e.$.S;const n=e.$hostElement$;const s=a("postUpdate",t);const l=e.L;const o=e.T;if(!(e.p&64)){e.p|=64;{ae(n)}{re(l,"componentDidLoad")}s();{e.A(n);if(!o){fe()}}}else{s()}{e.F(n)}{if(e.R){e.R();e.R=undefined}if(e.p&512){Ke((()=>te(e,false)))}e.p&=~(4|512)}};const fe=t=>{{ae(Pe.documentElement)}Ke((()=>O(Ne,"appload",{detail:{namespace:e}})))};const re=(e,t,n)=>{if(e&&e[t]){try{return e[t](n)}catch(e){De(e)}}return undefined};const ae=e=>e.classList.add("hydrated");const ue=(e,t)=>Re(e).M.get(t);const de=(e,t,n,s)=>{const l=Re(e);const o=l.$hostElement$;const i=l.M.get(t);const c=l.p;const f=l.L;n=k(n,s.N[t][0]);const r=Number.isNaN(i)&&Number.isNaN(n);const a=n!==i&&!r;if((!(c&8)||i===undefined)&&a){l.M.set(t,n);if(f){if(s.P&&c&128){const e=s.P[t];if(e){e.map((e=>{try{f[e](n,i,t)}catch(e){De(e,o)}}))}}if((c&(2|16))===2){te(l,false)}}}};const pe=(e,t,n)=>{var s;const l=e.prototype;if(t.p&64&&n&1){v.forEach((e=>Object.defineProperty(l,e,{value(...t){const n=Re(this);const s=n.L;if(!s){n.U.then((n=>{const s=n[e];typeof s==="function"&&s.call(n,...t)}))}else{const n=s[e];typeof n==="function"&&n.call(s,...t)}}})))}if(t.N){if(e.watchers){t.P=e.watchers}const o=Object.entries(t.N);o.map((([e,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,e,{get(){return ue(this,e)},set(n){de(this,e,n,t)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,e,{value(...t){var n;const s=Re(this);return(n=s===null||s===void 0?void 0:s.W)===null||n===void 0?void 0:n.then((()=>{var n;return(n=s.L)===null||n===void 0?void 0:n[e](...t)}))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(e,s,o){Ue.jmp((()=>{var i;const c=n.get(e);if(this.hasOwnProperty(c)){o=this[c];delete this[c]}else if(l.hasOwnProperty(c)&&typeof this[c]==="number"&&this[c]==o){return}else if(c==null){const n=Re(this);const l=n===null||n===void 0?void 0:n.p;if(l&&!(l&8)&&l&128&&o!==s){const l=n.L;const c=(i=t.P)===null||i===void 0?void 0:i[e];c===null||c===void 0?void 0:c.forEach((t=>{if(l[t]!=null){l[t].call(l,o,s,e)}}))}return}this[c]=o===null&&typeof this[c]==="boolean"?false:o}))};e.observedAttributes=Array.from(new Set([...Object.keys((s=t.P)!==null&&s!==void 0?s:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,s])=>{var l;const o=s[1]||e;n.set(o,e);if(s[0]&512){(l=t.O)===null||l===void 0?void 0:l.push([e,o])}return o}))]))}}return e};const ve=async(e,t,n,s)=>{let l;if((t.p&32)===0){t.p|=32;const s=n.B;if(s){l=Fe(n);if(l.then){const e=u();l=await l;e()}if(!l.isProxied){{n.P=l.watchers}pe(l,n,2);l.isProxied=true}const e=a("createInstance",n.S);{t.p|=8}try{new l(t)}catch(e){De(e)}{t.p&=~8}{t.p|=128}e()}else{l=e.constructor;customElements.whenDefined(n.S).then((()=>t.p|=128))}if(l.style){let e=l.style;const t=D(n);if(!Me.has(t)){const s=a("registerStyles",n.S);T(t,e,!!(n.p&1));s()}}}const o=t.T;const i=()=>te(t,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const me=e=>{};const he=e=>{if((Ue.p&1)===0){const t=Re(e);const n=t.$;const s=a("connectedCallback",n.S);if(!(t.p&1)){t.p|=1;{if(n.p&(4|8)){ye(e)}}{let n=e;while(n=n.parentNode||n.host){if(n["s-p"]){ee(t,t.T=n);break}}}if(n.N){Object.entries(n.N).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{ve(e,t,n)}}else{we(e,t,n.H);if(t===null||t===void 0?void 0:t.L);else if(t===null||t===void 0?void 0:t.U){t.U.then((()=>me()))}}s()}};const ye=e=>{const t=e["s-cr"]=Pe.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};const be=e=>{{re(e,"disconnectedCallback")}};const $e=async e=>{if((Ue.p&1)===0){const t=Re(e);{if(t.q){t.q.map((e=>e()));t.q=undefined}}if(t===null||t===void 0?void 0:t.L){be(t.L)}else if(t===null||t===void 0?void 0:t.U){t.U.then((()=>be(t.L)))}}};const Se=(e,t={})=>{var n;const s=a();const l=[];const o=t.exclude||[];const i=Ne.customElements;const c=Pe.head;const f=c.querySelector("meta[charset]");const r=Pe.createElement("style");const u=[];let v;let m=true;Object.assign(Ue,t);Ue.I=new URL(t.resourcesUrl||"./",Pe.baseURI).href;let h=false;e.map((e=>{e[1].map((t=>{var n;const s={p:t[0],S:t[1],N:t[2],H:t[3]};if(s.p&4){h=true}{s.N=t[2]}{s.H=t[3]}{s.O=[]}{s.P=(n=t[4])!==null&&n!==void 0?n:{}}const c=s.S;const f=class extends HTMLElement{constructor(e){super(e);e=this;Le(e,s);if(s.p&1){{{e.attachShadow({mode:"open"})}}}}connectedCallback(){if(v){clearTimeout(v);v=null}if(m){u.push(this)}else{Ue.jmp((()=>he(this)))}}disconnectedCallback(){Ue.jmp((()=>$e(this)))}componentOnReady(){return Re(this).U}};if(s.p&64){f.formAssociated=true}s.B=e[0];if(!o.includes(c)&&!i.get(c)){l.push(c);i.define(c,pe(f,s,1))}}))}));if(l.length>0){if(h){r.textContent+=p}{r.textContent+=l+d}if(r.innerHTML.length){r.setAttribute("data-styles","");const e=(n=Ue.h)!==null&&n!==void 0?n:b(Pe);if(e!=null){r.setAttribute("nonce",e)}c.insertBefore(r,f?f.nextSibling:c.firstChild)}}m=false;if(u.length){u.map((e=>e.connectedCallback()))}else{{Ue.jmp((()=>v=setTimeout(fe,30)))}}s()};const we=(e,t,n,s)=>{if(n){n.map((([n,s,l])=>{const o=ke(e,n);const i=ge(t,l);const c=Ce(n);Ue.ael(o,s,i,c);(t.q=t.q||[]).push((()=>Ue.rel(o,s,i,c)))}))}};const ge=(e,t)=>n=>{try{{if(e.p&256){e.L[t](n)}else{(e.D=e.D||[]).push([t,n])}}}catch(e){De(e)}};const ke=(e,t)=>{if(t&8)return Ne;return e};const Ce=e=>We?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;const je=e=>Ue.h=e;const Oe=new WeakMap;const Re=e=>Oe.get(e);const Te=(e,t)=>Oe.set(t.L=e,t);const Le=(e,t)=>{const n={p:0,$hostElement$:e,$:t,M:new Map};{n.W=new Promise((e=>n.F=e))}{n.U=new Promise((e=>n.A=e));e["s-p"]=[];e["s-rc"]=[]}we(e,n,t.H);return Oe.set(e,n)};const xe=(e,t)=>t in e;const De=(e,t)=>(0,console.error)(e,t);const Ae=new Map;const Fe=(e,t,n)=>{const s=e.S.replace(/-/g,"_");const l=e.B;const o=Ae.get(l);if(o){return o[s]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((e=>{{Ae.set(l,e)}return e[s]}),De)};const Me=new Map;const Ne=typeof window!=="undefined"?window:{};const Pe=Ne.document||{head:{}};const Ue={p:0,I:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)};const We=(()=>{let e=false;try{Pe.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=true}}))}catch(e){}return e})();const Ee=e=>Promise.resolve(e);const ze=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();const Be=[];const He=[];const Qe=(e,t)=>n=>{e.push(n);if(!r){r=true;if(t&&Ue.p&4){Ke(Ie)}else{Ue.raf(Ie)}}};const qe=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){De(e)}}e.length=0};const Ie=()=>{qe(Be);{qe(He);if(r=Be.length>0){Ue.raf(Ie)}}};const Ke=e=>Ee().then(e);const Ve=Qe(He,true);export{w as H,Se as b,j as c,C as g,$ as h,Ee as p,Te as r,je as s};
3
+ //# sourceMappingURL=p-4d6cc90d.js.map