@jumpgroup/jump-design-system 0.3.59 → 0.3.63

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 (225) hide show
  1. package/dist/cjs/chunk.H33C3MRM-31110702.js +365 -0
  2. package/dist/cjs/chunk.H33C3MRM-31110702.js.map +1 -0
  3. package/dist/cjs/chunk.WLV3FVBR-bfad29d7.js +238 -0
  4. package/dist/cjs/chunk.WLV3FVBR-bfad29d7.js.map +1 -0
  5. package/dist/cjs/{class-map-b27ebf69.js → class-map-010ed95d.js} +3 -3
  6. package/dist/cjs/{class-map-b27ebf69.js.map → class-map-010ed95d.js.map} +1 -1
  7. package/dist/cjs/{chunk.H33C3MRM-2c09acb5.js → directive-helpers-b6926fa1.js} +2 -360
  8. package/dist/cjs/directive-helpers-b6926fa1.js.map +1 -0
  9. package/dist/cjs/if-defined-da1385f1.js +432 -0
  10. package/dist/cjs/if-defined-da1385f1.js.map +1 -0
  11. package/dist/cjs/{index-e91b2b41.js → index-864e40de.js} +5 -2
  12. package/dist/cjs/index-864e40de.js.map +1 -0
  13. package/dist/cjs/jump-accordion-group.cjs.entry.js +1 -1
  14. package/dist/cjs/jump-accordion.cjs.entry.js +32 -255
  15. package/dist/cjs/jump-accordion.cjs.entry.js.map +1 -1
  16. package/dist/cjs/jump-badge.cjs.entry.js +1 -1
  17. package/dist/cjs/jump-button_2.cjs.entry.js +3 -2
  18. package/dist/cjs/jump-button_2.cjs.entry.js.map +1 -1
  19. package/dist/cjs/jump-card-ecommerce-option.cjs.entry.js +1 -1
  20. package/dist/cjs/jump-card-ecommerce.cjs.entry.js +1 -1
  21. package/dist/cjs/jump-card.cjs.entry.js +1 -1
  22. package/dist/cjs/jump-design-system.cjs.js +2 -2
  23. package/dist/cjs/jump-filter-checkbox.cjs.entry.js +46 -470
  24. package/dist/cjs/jump-filter-checkbox.cjs.entry.js.map +1 -1
  25. package/dist/cjs/jump-filter-select.cjs.entry.js +4229 -0
  26. package/dist/cjs/jump-filter-select.cjs.entry.js.map +1 -0
  27. package/dist/cjs/jump-filter-switch.cjs.entry.js +440 -0
  28. package/dist/cjs/jump-filter-switch.cjs.entry.js.map +1 -0
  29. package/dist/cjs/jump-filter.cjs.entry.js +1 -1
  30. package/dist/cjs/jump-filtergroup.cjs.entry.js +4 -4
  31. package/dist/cjs/jump-navbar.cjs.entry.js +6 -6
  32. package/dist/cjs/jump-pagination-table.cjs.entry.js +4 -4
  33. package/dist/cjs/jump-pagination.cjs.entry.js +4 -4
  34. package/dist/cjs/jump-quantity.cjs.entry.js +4 -4
  35. package/dist/cjs/jump-search-bar-dropdown-item.cjs.entry.js +2 -2
  36. package/dist/cjs/jump-search-bar-mobile.cjs.entry.js +5 -5
  37. package/dist/cjs/jump-search-bar.cjs.entry.js +1 -1
  38. package/dist/cjs/jump-tab-item.cjs.entry.js +3 -3
  39. package/dist/cjs/jump-tab-panel.cjs.entry.js +2 -2
  40. package/dist/cjs/jump-tab.cjs.entry.js +2 -2
  41. package/dist/cjs/live-a9a3fb36.js +14 -0
  42. package/dist/cjs/live-a9a3fb36.js.map +1 -0
  43. package/dist/cjs/loader.cjs.js +2 -2
  44. package/dist/collection/collection-manifest.json +2 -0
  45. package/dist/collection/components/jump-filter-checkbox/jump-filter-checkbox.stories.js +0 -5
  46. package/dist/collection/components/jump-filter-checkbox/jump-filter-checkbox.stories.js.map +1 -1
  47. package/dist/collection/components/jump-filter-select/jump-filter-select.css +578 -0
  48. package/dist/collection/components/jump-filter-select/jump-filter-select.js +373 -0
  49. package/dist/collection/components/jump-filter-select/jump-filter-select.js.map +1 -0
  50. package/dist/collection/components/jump-filter-select/jump-filter-select.stories.js +211 -0
  51. package/dist/collection/components/jump-filter-switch/jump-filter-switch.css +536 -0
  52. package/dist/collection/components/jump-filter-switch/jump-filter-switch.js +175 -0
  53. package/dist/collection/components/jump-filter-switch/jump-filter-switch.js.map +1 -0
  54. package/dist/collection/components/jump-filter-switch/jump-filter-switch.stories.js +68 -0
  55. package/dist/collection/components/jump-filter-switch/jump-filter-switch.stories.js.map +1 -0
  56. package/dist/collection/components/jump-filtergroup/jump-filtergroup.js +3 -3
  57. package/dist/collection/components/jump-navbar/jump-navbar.js +5 -5
  58. package/dist/collection/components/jump-pagination/jump-pagination.js +3 -3
  59. package/dist/collection/components/jump-pagination-table/jump-pagination-table.js +3 -3
  60. package/dist/collection/components/jump-quantity/jump-quantity.js +3 -3
  61. package/dist/collection/components/jump-search-bar-dropdown-item/jump-search-bar-dropdown-item.js +1 -1
  62. package/dist/collection/components/jump-search-bar-mobile/jump-search-bar-mobile.js +4 -4
  63. package/dist/collection/components/jump-tab/jump-tab.js +1 -1
  64. package/dist/collection/components/jump-tab-item/jump-tab-item.js +2 -2
  65. package/dist/collection/components/jump-tab-panel/jump-tab-panel.js +1 -1
  66. package/dist/components/chunk.H33C3MRM.js +3 -170
  67. package/dist/components/chunk.H33C3MRM.js.map +1 -1
  68. package/dist/components/chunk.WLV3FVBR.js +230 -0
  69. package/dist/components/chunk.WLV3FVBR.js.map +1 -0
  70. package/dist/components/class-map.js +1 -1
  71. package/dist/{esm/chunk.H33C3MRM-632f8755.js → components/directive-helpers.js} +2 -359
  72. package/dist/components/directive-helpers.js.map +1 -0
  73. package/dist/components/if-defined.js +426 -0
  74. package/dist/components/if-defined.js.map +1 -0
  75. package/dist/components/jump-accordion.js +3 -226
  76. package/dist/components/jump-accordion.js.map +1 -1
  77. package/dist/components/jump-filter-checkbox.js +8 -432
  78. package/dist/components/jump-filter-checkbox.js.map +1 -1
  79. package/dist/components/jump-filter-select.d.ts +11 -0
  80. package/dist/components/jump-filter-select.js +4257 -0
  81. package/dist/components/jump-filter-select.js.map +1 -0
  82. package/dist/components/jump-filter-switch.d.ts +11 -0
  83. package/dist/components/jump-filter-switch.js +460 -0
  84. package/dist/components/jump-filter-switch.js.map +1 -0
  85. package/dist/components/jump-filtergroup.js +3 -3
  86. package/dist/components/jump-icon2.js +1 -0
  87. package/dist/components/jump-icon2.js.map +1 -1
  88. package/dist/components/jump-navbar.js +5 -5
  89. package/dist/components/jump-pagination-table.js +3 -3
  90. package/dist/components/jump-pagination.js +3 -3
  91. package/dist/components/jump-quantity.js +3 -3
  92. package/dist/components/jump-search-bar-dropdown-item.js +1 -1
  93. package/dist/components/jump-search-bar-mobile.js +4 -4
  94. package/dist/components/jump-tab-item.js +2 -2
  95. package/dist/components/jump-tab-panel.js +1 -1
  96. package/dist/components/jump-tab.js +1 -1
  97. package/dist/components/live.js +12 -0
  98. package/dist/components/live.js.map +1 -0
  99. package/dist/esm/chunk.H33C3MRM-7dcbd943.js +362 -0
  100. package/dist/esm/chunk.H33C3MRM-7dcbd943.js.map +1 -0
  101. package/dist/esm/chunk.WLV3FVBR-ded9a646.js +230 -0
  102. package/dist/esm/chunk.WLV3FVBR-ded9a646.js.map +1 -0
  103. package/dist/esm/{class-map-3150cdfe.js → class-map-a2676e27.js} +2 -2
  104. package/dist/esm/{class-map-3150cdfe.js.map → class-map-a2676e27.js.map} +1 -1
  105. package/dist/esm/directive-helpers-d80c2187.js +172 -0
  106. package/dist/esm/directive-helpers-d80c2187.js.map +1 -0
  107. package/dist/esm/if-defined-85ab7b97.js +426 -0
  108. package/dist/esm/if-defined-85ab7b97.js.map +1 -0
  109. package/dist/esm/{index-9a1da0f0.js → index-7eb565cd.js} +5 -2
  110. package/dist/esm/index-7eb565cd.js.map +1 -0
  111. package/dist/esm/jump-accordion-group.entry.js +1 -1
  112. package/dist/esm/jump-accordion.entry.js +5 -228
  113. package/dist/esm/jump-accordion.entry.js.map +1 -1
  114. package/dist/esm/jump-badge.entry.js +1 -1
  115. package/dist/esm/jump-button_2.entry.js +3 -2
  116. package/dist/esm/jump-button_2.entry.js.map +1 -1
  117. package/dist/esm/jump-card-ecommerce-option.entry.js +1 -1
  118. package/dist/esm/jump-card-ecommerce.entry.js +1 -1
  119. package/dist/esm/jump-card.entry.js +1 -1
  120. package/dist/esm/jump-design-system.js +3 -3
  121. package/dist/esm/jump-filter-checkbox.entry.js +9 -433
  122. package/dist/esm/jump-filter-checkbox.entry.js.map +1 -1
  123. package/dist/esm/jump-filter-select.entry.js +4225 -0
  124. package/dist/esm/jump-filter-select.entry.js.map +1 -0
  125. package/dist/esm/jump-filter-switch.entry.js +436 -0
  126. package/dist/esm/jump-filter-switch.entry.js.map +1 -0
  127. package/dist/esm/jump-filter.entry.js +1 -1
  128. package/dist/esm/jump-filtergroup.entry.js +4 -4
  129. package/dist/esm/jump-navbar.entry.js +6 -6
  130. package/dist/esm/jump-pagination-table.entry.js +4 -4
  131. package/dist/esm/jump-pagination.entry.js +4 -4
  132. package/dist/esm/jump-quantity.entry.js +4 -4
  133. package/dist/esm/jump-search-bar-dropdown-item.entry.js +2 -2
  134. package/dist/esm/jump-search-bar-mobile.entry.js +5 -5
  135. package/dist/esm/jump-search-bar.entry.js +1 -1
  136. package/dist/esm/jump-tab-item.entry.js +3 -3
  137. package/dist/esm/jump-tab-panel.entry.js +2 -2
  138. package/dist/esm/jump-tab.entry.js +2 -2
  139. package/dist/esm/live-253d6806.js +12 -0
  140. package/dist/esm/live-253d6806.js.map +1 -0
  141. package/dist/esm/loader.js +3 -3
  142. package/dist/jump-design-system/jump-design-system.esm.js +1 -1
  143. package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
  144. package/dist/jump-design-system/p-0cbcc5b3.entry.js +2 -0
  145. package/dist/jump-design-system/p-1b31e36f.js +17 -0
  146. package/dist/jump-design-system/p-1b31e36f.js.map +1 -0
  147. package/dist/jump-design-system/{p-2e2bd8a9.entry.js → p-201c09dd.entry.js} +2 -2
  148. package/dist/jump-design-system/p-35633b03.entry.js +848 -0
  149. package/dist/jump-design-system/p-35633b03.entry.js.map +1 -0
  150. package/dist/jump-design-system/p-39b82674.entry.js +2 -0
  151. package/dist/jump-design-system/{p-feb825e0.entry.js → p-3b4127b0.entry.js} +2 -2
  152. package/dist/jump-design-system/{p-6b1ab8c3.entry.js → p-3e31b638.entry.js} +2 -2
  153. package/dist/jump-design-system/p-53bf2958.entry.js +213 -0
  154. package/dist/jump-design-system/p-53bf2958.entry.js.map +1 -0
  155. package/dist/jump-design-system/p-67339850.js +63 -0
  156. package/dist/jump-design-system/p-67339850.js.map +1 -0
  157. package/dist/jump-design-system/{p-f7c323d2.entry.js → p-7dd5052b.entry.js} +2 -2
  158. package/dist/jump-design-system/p-8d1d2af9.entry.js +117 -0
  159. package/dist/jump-design-system/p-8d1d2af9.entry.js.map +1 -0
  160. package/dist/jump-design-system/p-8e0419b1.entry.js +2 -0
  161. package/dist/jump-design-system/{p-6dc529fc.entry.js → p-90c51b48.entry.js} +2 -2
  162. package/dist/jump-design-system/p-926c7bf0.entry.js +2 -0
  163. package/dist/jump-design-system/p-94229ed5.js +7 -0
  164. package/dist/jump-design-system/p-94229ed5.js.map +1 -0
  165. package/dist/jump-design-system/{p-02e863db.entry.js → p-94790673.entry.js} +2 -2
  166. package/dist/jump-design-system/{p-466e0ade.entry.js → p-947d7f9a.entry.js} +2 -2
  167. package/dist/jump-design-system/p-95a1bbc5.js +51 -0
  168. package/dist/jump-design-system/p-95a1bbc5.js.map +1 -0
  169. package/dist/jump-design-system/p-98ef4924.entry.js +2 -0
  170. package/dist/jump-design-system/{p-3f6d50d5.entry.js.map → p-98ef4924.entry.js.map} +1 -1
  171. package/dist/jump-design-system/{p-198cfe62.js → p-9d21c18a.js} +2 -2
  172. package/dist/jump-design-system/p-a05d9480.entry.js +178 -0
  173. package/dist/jump-design-system/p-a05d9480.entry.js.map +1 -0
  174. package/dist/jump-design-system/{p-a9b78af2.entry.js → p-ad550de6.entry.js} +2 -2
  175. package/dist/jump-design-system/{p-1aa5fb8a.entry.js → p-d3b62e9b.entry.js} +2 -2
  176. package/dist/jump-design-system/{p-bdafe87d.entry.js → p-d8bfd21c.entry.js} +2 -2
  177. package/dist/jump-design-system/{p-a1c25113.entry.js → p-d94fabc1.entry.js} +2 -2
  178. package/dist/jump-design-system/p-e516e812.js +3 -0
  179. package/dist/jump-design-system/p-e516e812.js.map +1 -0
  180. package/dist/jump-design-system/p-f2d287d6.js +2 -0
  181. package/dist/jump-design-system/p-f2d287d6.js.map +1 -0
  182. package/dist/jump-design-system/{p-2e7c10a5.entry.js → p-fa0dcb05.entry.js} +2 -2
  183. package/dist/jump-design-system/{p-07633158.entry.js → p-ff8d70ab.entry.js} +2 -2
  184. package/dist/jump-design-system-elements.json +66 -0
  185. package/dist/types/components/jump-filter-checkbox/jump-filter-checkbox.stories.d.ts +0 -5
  186. package/dist/types/components/jump-filter-select/jump-filter-select.d.ts +76 -0
  187. package/dist/types/components/jump-filter-switch/jump-filter-switch.d.ts +35 -0
  188. package/dist/types/components/jump-filter-switch/jump-filter-switch.stories.d.ts +24 -0
  189. package/dist/types/components.d.ts +206 -0
  190. package/package.json +1 -1
  191. package/dist/cjs/chunk.H33C3MRM-2c09acb5.js.map +0 -1
  192. package/dist/cjs/index-e91b2b41.js.map +0 -1
  193. package/dist/esm/chunk.H33C3MRM-632f8755.js.map +0 -1
  194. package/dist/esm/index-9a1da0f0.js.map +0 -1
  195. package/dist/jump-design-system/p-21aa0095.js +0 -3
  196. package/dist/jump-design-system/p-21aa0095.js.map +0 -1
  197. package/dist/jump-design-system/p-3f6d50d5.entry.js +0 -2
  198. package/dist/jump-design-system/p-6e7c80a3.entry.js +0 -244
  199. package/dist/jump-design-system/p-6e7c80a3.entry.js.map +0 -1
  200. package/dist/jump-design-system/p-842fff70.entry.js +0 -117
  201. package/dist/jump-design-system/p-842fff70.entry.js.map +0 -1
  202. package/dist/jump-design-system/p-8f581228.entry.js +0 -2
  203. package/dist/jump-design-system/p-a826c477.entry.js +0 -2
  204. package/dist/jump-design-system/p-b03c5b24.entry.js +0 -2
  205. package/dist/jump-design-system/p-c77d216c.entry.js +0 -2
  206. package/dist/jump-design-system/p-d33f4f1d.js +0 -66
  207. package/dist/jump-design-system/p-d33f4f1d.js.map +0 -1
  208. /package/dist/jump-design-system/{p-b03c5b24.entry.js.map → p-0cbcc5b3.entry.js.map} +0 -0
  209. /package/dist/jump-design-system/{p-2e2bd8a9.entry.js.map → p-201c09dd.entry.js.map} +0 -0
  210. /package/dist/jump-design-system/{p-8f581228.entry.js.map → p-39b82674.entry.js.map} +0 -0
  211. /package/dist/jump-design-system/{p-feb825e0.entry.js.map → p-3b4127b0.entry.js.map} +0 -0
  212. /package/dist/jump-design-system/{p-6b1ab8c3.entry.js.map → p-3e31b638.entry.js.map} +0 -0
  213. /package/dist/jump-design-system/{p-f7c323d2.entry.js.map → p-7dd5052b.entry.js.map} +0 -0
  214. /package/dist/jump-design-system/{p-c77d216c.entry.js.map → p-8e0419b1.entry.js.map} +0 -0
  215. /package/dist/jump-design-system/{p-6dc529fc.entry.js.map → p-90c51b48.entry.js.map} +0 -0
  216. /package/dist/jump-design-system/{p-a826c477.entry.js.map → p-926c7bf0.entry.js.map} +0 -0
  217. /package/dist/jump-design-system/{p-02e863db.entry.js.map → p-94790673.entry.js.map} +0 -0
  218. /package/dist/jump-design-system/{p-466e0ade.entry.js.map → p-947d7f9a.entry.js.map} +0 -0
  219. /package/dist/jump-design-system/{p-198cfe62.js.map → p-9d21c18a.js.map} +0 -0
  220. /package/dist/jump-design-system/{p-a9b78af2.entry.js.map → p-ad550de6.entry.js.map} +0 -0
  221. /package/dist/jump-design-system/{p-1aa5fb8a.entry.js.map → p-d3b62e9b.entry.js.map} +0 -0
  222. /package/dist/jump-design-system/{p-bdafe87d.entry.js.map → p-d8bfd21c.entry.js.map} +0 -0
  223. /package/dist/jump-design-system/{p-a1c25113.entry.js.map → p-d94fabc1.entry.js.map} +0 -0
  224. /package/dist/jump-design-system/{p-2e7c10a5.entry.js.map → p-fa0dcb05.entry.js.map} +0 -0
  225. /package/dist/jump-design-system/{p-07633158.entry.js.map → p-ff8d70ab.entry.js.map} +0 -0
@@ -28,14 +28,14 @@ const JumpNavbar$1 = /*@__PURE__*/ proxyCustomElement(class JumpNavbar extends H
28
28
  }
29
29
  render() {
30
30
  var _a, _b;
31
- return (h(Host, { key: '4d846e61a027637ebe6023e9e155d754a716a0cb' }, h("jump-button", { key: '590ef7421967e36e061d4d2d49d9d8b10b0cb7d3', variant: "primary", size: "small", text: true, href: this.logo['link'], target: (_a = this.logo['target']) !== null && _a !== void 0 ? _a : '_self' }, h("img", { key: '951c8ad45b8e3cd754fd4426c73358541d7bb612', src: this.logo['image_url'], alt: this.logo['alt'] })), this.isMobile &&
32
- h("div", { key: '4deeaa5bbdf1b9434dd8a4afbf32953aa7eabbe6', class: "MobileMenuOffCanvas" }, h("div", { key: '284504331b55f1fcb79408da6616c85b7d9542ee', class: "MobileMenuOffCanvas__Header" }, "/* TODO: ricerca + pulsante chiusura + profilo utente con immagine */"), h("div", { key: 'a8ba842d267d77aecf0a211e9c37052617b3ffd8', class: "MobileMenuOffCanvas__Navbar" }, this.navbar.cloneNode(true)), h("div", { key: '7b08ba459362c3c6ee68ad2915f9a8addadafbde', class: "MobileMenuOffCanvas__Footer" }, "/* TODO: langswitcher */", this.mobileLogo &&
33
- h("jump-button", { key: '28ca557df1446898114567a84813c41cc1d47d73', variant: "primary", size: "small", text: true, href: this.mobileLogo['link'], target: (_b = this.mobileLogo['target']) !== null && _b !== void 0 ? _b : '_self' }, h("img", { key: '315be508f2902a9a5a69aff78b4c36d8daf3e1aa', src: this.mobileLogo['image_url'], alt: this.mobileLogo['alt'] })))), h("nav", { key: '19ece653a9c3c6d7728a12744ffe8c06618c1f97', ref: (el) => {
31
+ return (h(Host, { key: 'c2e24aa88f60587f2177fc082cbb651bae5d9cbe' }, h("jump-button", { key: 'b539b91af97f734a800ac37385b7a67c3e477f64', variant: "primary", size: "small", text: true, href: this.logo['link'], target: (_a = this.logo['target']) !== null && _a !== void 0 ? _a : '_self' }, h("img", { key: 'bf67619c3980ea53d4ff216ebc55e2e5cebcd640', src: this.logo['image_url'], alt: this.logo['alt'] })), this.isMobile &&
32
+ h("div", { key: '70a5c44b45e239609e7c4a6e31f18e7b7d3699b7', class: "MobileMenuOffCanvas" }, h("div", { key: '86d5bfe1f9988ebc876036cb85562606e05213e4', class: "MobileMenuOffCanvas__Header" }, "/* TODO: ricerca + pulsante chiusura + profilo utente con immagine */"), h("div", { key: '00dc80ae32cec4435ffa4d95a2676dab96d07b10', class: "MobileMenuOffCanvas__Navbar" }, this.navbar.cloneNode(true)), h("div", { key: '6f2af08da187ffa416118095159b6d41fcb0e16d', class: "MobileMenuOffCanvas__Footer" }, "/* TODO: langswitcher */", this.mobileLogo &&
33
+ h("jump-button", { key: 'ce7beeb4d06feb1b6c104f209cfeac448d4bf090', variant: "primary", size: "small", text: true, href: this.mobileLogo['link'], target: (_b = this.mobileLogo['target']) !== null && _b !== void 0 ? _b : '_self' }, h("img", { key: 'c1b0258390efb012574ad30e98ecd78cfb3544a6', src: this.mobileLogo['image_url'], alt: this.mobileLogo['alt'] })))), h("nav", { key: '4f31f3704c53cfffd099b1801fc67396e3a05a2a', ref: (el) => {
34
34
  this.navbar = el;
35
- } }, h("ul", { key: 'e60bf04441e02eca702dcc7760df97388c1f1043' }, this.navItems.map((item) => (h("li", null, h("jump-button", { variant: "primary", size: "small", text: true, href: item.link, target: item.target, class: item.class }, item.text, this.secondaryNavItems.some(secondaryItem => secondaryItem.parent === item.id) &&
35
+ } }, h("ul", { key: '21e88dff7d087077f3ed2314f4c208f9b8daaae3' }, this.navItems.map((item) => (h("li", null, h("jump-button", { variant: "primary", size: "small", text: true, href: item.link, target: item.target, class: item.class }, item.text, this.secondaryNavItems.some(secondaryItem => secondaryItem.parent === item.id) &&
36
36
  h("jump-icon", { slot: "suffix", library: "lucide", name: "chevron-down", size: "small" })), this.secondaryNavItems.map((secondaryItem) => (secondaryItem.parent === item.id &&
37
37
  h("ul", { "data-parent": secondaryItem.parent }, secondaryItem.title &&
38
- h("h4", null, secondaryItem.title), " /* TODO: utilizzare jump-heading? */", secondaryItem.items.map((subItem) => (h("li", null, h("jump-button", { variant: "primary", size: "small", text: true, href: subItem.link, target: subItem.target, class: subItem.class }, subItem.text)))))))))))), h("slot", { key: 'cde57eeb4d6586c370fbfb5d10e02dc423427af5', name: "actions" }, h("slot", { key: 'ad86ec7167939e4624489d0db2cbd3a7aa6bc721', name: "lang_switcher" }), h("slot", { key: 'c87b4a71d6183f21aff9155143e22a1fbe6cc7c4', name: "search" }), h("slot", { key: 'ac62a46a3aac954fb915e134ffcc149ece432a5f', name: "buttons" }), h("slot", { key: '0d49662ba2bba745efbd9d8151917c780cdfd632', name: "cart" }))));
38
+ h("h4", null, secondaryItem.title), " /* TODO: utilizzare jump-heading? */", secondaryItem.items.map((subItem) => (h("li", null, h("jump-button", { variant: "primary", size: "small", text: true, href: subItem.link, target: subItem.target, class: subItem.class }, subItem.text)))))))))))), h("slot", { key: '2bb867630eb5322ae556da2d37709d1e1c7e35de', name: "actions" }, h("slot", { key: 'd54c3ac869ede8f12093bda287927410be6a15c3', name: "lang_switcher" }), h("slot", { key: 'fd64141fa21f390ce8ce5121de38d0c68c83880f', name: "search" }), h("slot", { key: '14cbf3f5cdaf9102835f8ddeb633e283a63a4cee', name: "buttons" }), h("slot", { key: '63c496bba54fb7fcb68cf607cbc9f9d83b4324f5', name: "cart" }))));
39
39
  }
40
40
  static get style() { return JumpNavbarStyle0; }
41
41
  }, [1, "jump-navbar", {
@@ -80,9 +80,9 @@ const JumpPaginationTable$1 = /*@__PURE__*/ proxyCustomElement(class JumpPaginat
80
80
  /* --------------------- RENDER ------------------------------- */
81
81
  render() {
82
82
  var _a;
83
- return (h(Host, { key: '6edc329e44cf550e18300dd949e985103e7ca907', class: "JumpPaginationTable" }, h("div", { key: '74763ae5bcead30bdb79c2f177042007e4f22d2b', class: "JumpPaginationTable__Wrapper" }, h("div", { key: 'fe9d73f1e28cebce87b9a6b26f1a252827b2e409', class: "elementsPerPage" }, h("label", { key: '69a557884ae8156f5090ae6414ad3ca6b381a1e6', htmlFor: "elements" }, (_a = this.labelElementsPerPage) !== null && _a !== void 0 ? _a : 'Elements per page'), h("select", { key: 'f63030a70690021611c1d6a29945bd8cc9977e90', name: "elements", id: "elements", onChange: (e) => this.setElPerPage(e) }, this.elementsRangesArray.map((range) => (h("option", { value: range, selected: (this.elPerPage == range) && true }, range))))), h("div", { key: '7dd82fa0620bbbdbeb825ab28ec6264257f18cbd', class: "indicators" }, h("div", { key: '09989643cd7073e9b7db95e4746d209f4294c7de', class: "elements" }, h("span", { key: '6f4bbd59fa39504953989a7692842a148733d9bc' }, h("span", { key: '12e664c2d3bad1033188da673e37e1dd58f32e26' }, this.first), " - ", h("span", { key: 'c22ca1d793efc54078699c9b7f35169c814f905c' }, this.last), " ", this.pagLabel, " ", h("span", { key: '64e26a44bbb9c524138925db2b9bd2588dcef3b8' }, this.total))), h("div", { key: 'f9527eaf1adf59530f470eeb03897cbd3d88d4c4', class: "arrow" }, this.showFirstAndLast &&
84
- h("jump-button", { key: 'a0b3d12ea97aac3c53b5276ec4218bb79b8dd0dd', onClick: () => this.doChangePage('first'), variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: this.first === 1 }, " ", h("jump-icon", { key: '5a680f20e3a7db2898d13058153bd6426141598e', slot: "suffix", name: "chevrons-left" }), " "), h("jump-button", { key: '54450a58c6779efd7034449a9bf45b72c6250627', onClick: () => this.doChangePage('previous'), variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: this.first === 1 }, " ", h("jump-icon", { key: 'c4ecfdef4dad35eda6a1cba4796fcd7f22cb508f', slot: "suffix", name: "chevron-left" }), " "), h("jump-button", { key: 'c8b17abee650024dab962db11bcc99d0a55660dd', onClick: () => this.doChangePage('next'), variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: this.last === this.total }, " ", h("jump-icon", { key: '871208668717b1fcab6af32989239a9a98aa8c4b', slot: "suffix", name: "chevron-right" }), " "), this.showFirstAndLast &&
85
- h("jump-button", { key: '8acd4bdceb333afa582d68342c09dff0b62e20a7', onClick: () => this.doChangePage('last'), variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: this.last === this.total }, " ", h("jump-icon", { key: 'cb0da9e45ad20c89534f62ac4f5a36032aeb3311', slot: "suffix", name: "chevrons-right" }), " "))))));
83
+ return (h(Host, { key: '6a42ae0a8005203b2f13f6d46fb470ac4691a5de', class: "JumpPaginationTable" }, h("div", { key: 'cadff129eb21d242d0e3fa109a2b1eab8398a0f9', class: "JumpPaginationTable__Wrapper" }, h("div", { key: '51cf43620689ebc2e4c3617a9680143b5885f196', class: "elementsPerPage" }, h("label", { key: 'f59c18268d71fa486535f6a5432cd88cfddef0b1', htmlFor: "elements" }, (_a = this.labelElementsPerPage) !== null && _a !== void 0 ? _a : 'Elements per page'), h("select", { key: '13e06813b30e08ee9bf506db3d288f1908ae5bd5', name: "elements", id: "elements", onChange: (e) => this.setElPerPage(e) }, this.elementsRangesArray.map((range) => (h("option", { value: range, selected: (this.elPerPage == range) && true }, range))))), h("div", { key: 'b2bc9b2ede7cc4ca94a28d1725a91a75f30553d4', class: "indicators" }, h("div", { key: 'ed068a28e8719cea5d32cc33b8f935c8459c4026', class: "elements" }, h("span", { key: '8bcbedca1400a6f5f285304a1e9e658dbd15d4e6' }, h("span", { key: 'e0eaf549f834c38a530a76559db8189044bda390' }, this.first), " - ", h("span", { key: 'a7775a41a5931f37789cbc57b371203cf2d31e65' }, this.last), " ", this.pagLabel, " ", h("span", { key: '29d72598b5fcb9a1e9f06ad328f2164394defbf6' }, this.total))), h("div", { key: 'dbdde182111d2afbe2324ed004158b51143cdbd7', class: "arrow" }, this.showFirstAndLast &&
84
+ h("jump-button", { key: 'ecd2375623aef3014244100539d6b0722130bbb3', onClick: () => this.doChangePage('first'), variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: this.first === 1 }, " ", h("jump-icon", { key: 'f9bc40fed16b1f230748db55ba39faec6fafc107', slot: "suffix", name: "chevrons-left" }), " "), h("jump-button", { key: '1382cb2939e5427ef669d8d7d25a1dd108113a46', onClick: () => this.doChangePage('previous'), variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: this.first === 1 }, " ", h("jump-icon", { key: '355ef9e6fbdb8a03933b2b955e6ce4acaf5f1237', slot: "suffix", name: "chevron-left" }), " "), h("jump-button", { key: '2626fbadbb4c5a50eb9d0ae676a6885e5b7f90bd', onClick: () => this.doChangePage('next'), variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: this.last === this.total }, " ", h("jump-icon", { key: 'a830c7a19ec218ecd7ecb4be9010f3c5fef509c4', slot: "suffix", name: "chevron-right" }), " "), this.showFirstAndLast &&
85
+ h("jump-button", { key: 'aac1eff6a4827fe76d729a131228860ffb50f1b3', onClick: () => this.doChangePage('last'), variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: this.last === this.total }, " ", h("jump-icon", { key: 'd0d4ffbb647933e7b1ffc68d5126ca3eec058db7', slot: "suffix", name: "chevrons-right" }), " "))))));
86
86
  }
87
87
  static get watchers() { return {
88
88
  "elementsRanges": ["elementsRangesChanged"],
@@ -32,7 +32,7 @@ const JumpPagination$1 = /*@__PURE__*/ proxyCustomElement(class JumpPagination e
32
32
  }
33
33
  /* --------------------- RENDER ------------------------------- */
34
34
  render() {
35
- return (h(Host, { key: '0d8a0a487d41050eff65c41bff0e20e7f8abe433', class: "JumpPagination" }, h("div", { key: 'c1c91aac8d9ad943ba38f17299d413f6b3a1d5aa', class: "JumpPagination__Wrapper" }, h("div", { key: '8dbead9e599c4750a30c7490c4a704d43c7ca9bb', class: "indicators" }, h("div", { key: '895b683174acd6517689a1b2e3f69378d5cf2b48', class: "elements" }, h("span", { key: 'b0ce7fb257a15f3a1e35548f976bf6baa2308017' }, h("span", { key: '84e42742f53628b69f90b88a88817d3c4d2ea5f1' }, this.current), " ", this.pagLabel, " ", h("span", { key: 'f85a4f32cf66fec16efa76bfc88e21d4c41e3406' }, this.last))), h("div", { key: 'd33612fdd1a9d917256ce8e9f7fce45c158243dc', class: "arrow" }, this.showFirstAndLast &&
35
+ return (h(Host, { key: 'daa4ea1acee46e591d0b723c52291ee411c4f282', class: "JumpPagination" }, h("div", { key: '023afb01feacf36c1427e03e87e3695963322e6e', class: "JumpPagination__Wrapper" }, h("div", { key: '94b6eeab6b1dc2bbf18faaea7e926bc657838429', class: "indicators" }, h("div", { key: 'd3d1a55f975757ec032aff3011fa7c8683182e33', class: "elements" }, h("span", { key: '9d4dfeb0efa6da247c1e210aff0994d33c9a22f9' }, h("span", { key: 'd98f272362517f6d67ec463b16508510cf710630' }, this.current), " ", this.pagLabel, " ", h("span", { key: 'f0e3dcfdde172119495142d5479f642bc34d6a98' }, this.last))), h("div", { key: 'a2fbf14f2135ddaf7ae0a017d2bbc2b2e3173125', class: "arrow" }, this.showFirstAndLast &&
36
36
  // <button
37
37
  // onClick={() => {this.current = 1} }
38
38
  // disabled={(this.current === 1) ? true : false}>
@@ -40,14 +40,14 @@ const JumpPagination$1 = /*@__PURE__*/ proxyCustomElement(class JumpPagination e
40
40
  // disabled={(this.current === 1) ? true : false}
41
41
  // ></jump-icon>
42
42
  // </button>
43
- h("jump-button", { key: '26db97e47f3254b72643f7bb73bbdecdc733c2d6', onClick: () => { this.current = 1; }, variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: (this.current === 1) ? true : false }, " ", h("jump-icon", { key: '16c2e37bd1726c5c6852d74eec67d042cba25d46', slot: "suffix", name: "chevrons-left" }), " "), h("jump-button", { key: '105c2ea910ffbfe4d00957158d546c198e3f11b6', onClick: () => { this.current--; }, variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: (this.current === 1) ? true : false }, " ", h("jump-icon", { key: 'b0066718df5f60bd148dffad1c9485f631d0a840', slot: "suffix", name: "chevron-left" }), " "), h("jump-button", { key: '00f6565f368c82a16d9819208b3babfef09fe1cf', onClick: () => { this.current++; }, variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: (this.current === this.last) ? true : false }, " ", h("jump-icon", { key: '337627fd7d3486776f609153522df3ba77c44ce0', slot: "suffix", name: "chevron-right" }), " "), this.showFirstAndLast &&
43
+ h("jump-button", { key: '259e503d12209b40444801f4696492ab6261f9ad', onClick: () => { this.current = 1; }, variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: (this.current === 1) ? true : false }, " ", h("jump-icon", { key: 'f113f22ce185ea152408f8497563ff1a05164f85', slot: "suffix", name: "chevrons-left" }), " "), h("jump-button", { key: '58334f0c40274d1541aa5070fd105907841f1eb9', onClick: () => { this.current--; }, variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: (this.current === 1) ? true : false }, " ", h("jump-icon", { key: '1287849fc018a53e7167c09854e0d2dc6371423c', slot: "suffix", name: "chevron-left" }), " "), h("jump-button", { key: '285028224a87de99c35d9388c4a7762db96c14c0', onClick: () => { this.current++; }, variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: (this.current === this.last) ? true : false }, " ", h("jump-icon", { key: '314e94eced88d8d9bc735f11f5d9e13144de04bb', slot: "suffix", name: "chevron-right" }), " "), this.showFirstAndLast &&
44
44
  // <button
45
45
  // onClick={() => {this.current = this.last}}
46
46
  // disabled={(this.current === this.last) ? true : false}
47
47
  // >
48
48
  // <jump-icon library="fa" category="regular" name="chevrons-right" size="small" slot="prefix"></jump-icon>
49
49
  // </button>
50
- h("jump-button", { key: '2c052d95c792f43f7899b0503ddbfed79c187ef2', onClick: () => { this.current = this.last; }, variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: (this.current === this.last) ? true : false }, " ", h("jump-icon", { key: 'f77d6a81d0a9e281dd8a845b100cce5a107085cc', slot: "suffix", name: "chevrons-right" }), " "))))));
50
+ h("jump-button", { key: '8eb0e583e59fef64245948b76cd48c4f29dc1c9f', onClick: () => { this.current = this.last; }, variant: "primary", text: true, size: "small", name: "scopri", value: "value", "aria-label": "Scopri di pi\u00F9", id: "button", onlyIcon: true, disabled: (this.current === this.last) ? true : false }, " ", h("jump-icon", { key: '5895c3a6e74698cbb0015af3cafde30fe4535c2a', slot: "suffix", name: "chevrons-right" }), " "))))));
51
51
  }
52
52
  static get watchers() { return {
53
53
  "current": ["watchcurrent"]
@@ -74,11 +74,11 @@ const JumpQuantity$1 = /*@__PURE__*/ proxyCustomElement(class JumpQuantity exten
74
74
  }
75
75
  }
76
76
  render() {
77
- return (h(Host, { key: '3ab4698ff9623e5d1b8ff06fd75a33da3d3fda46', value: this.value, "data-variant": this.variant, "data-hasbuttons": this.showButtons }, this.label && h("label", { key: '9df63ac37048a7ab40a6a4555bd0bd55706ff119' }, this.label), h("div", { key: 'f0e1bd3913949e7951650a6a9ec06d4598d0101c', class: `jump-quantity__InnerWrapper` }, this.showButtons &&
78
- h("jump-button", { key: '93697bea1c7a368077ef20d463beb608f7143717', onClick: () => this.currentValue = this.currentValue - this.step, disabled: this.currentValue <= this.min, variant: 'neutral', size: 'custom' }, h("jump-icon", { key: 'af7da8534f334cfdcd1bd68747443e9a0d0759a4', library: "lucide", name: "minus", size: "small" })), h("input", { key: 'ebe0ef40e44c0f8bb910ef6f22ad216c5d3f5896', ref: (el) => {
77
+ return (h(Host, { key: '0cefbdce0097d9c5eb18ee7273b24ba34628520f', value: this.value, "data-variant": this.variant, "data-hasbuttons": this.showButtons }, this.label && h("label", { key: '46c2f47ba86fee62d1e3f72d98faf168303a98de' }, this.label), h("div", { key: '3ee47adb447e7b7e014af440d08ad1fa78e877db', class: `jump-quantity__InnerWrapper` }, this.showButtons &&
78
+ h("jump-button", { key: '727984cb5dabb79b5af9afba9b649ca7105e0e1e', onClick: () => this.currentValue = this.currentValue - this.step, disabled: this.currentValue <= this.min, variant: 'neutral', size: 'custom' }, h("jump-icon", { key: 'b4c4933fe2e4b9976803b291152b72b8527f31d6', library: "lucide", name: "minus", size: "small" })), h("input", { key: 'fd8991f279cbde1459ba7aaa4809cb6581abd0fd', ref: (el) => {
79
79
  this.inputEl = el;
80
80
  }, type: 'number', value: this.currentValue, onInput: (event) => this.handleChange(event), min: this.min, max: this.max, step: this.step, "aria-hasbuttons": this.showButtons }), this.showButtons &&
81
- h("jump-button", { key: '1fecaf20f4edd753aa2cff3174d79ed1d9c315e0', onClick: () => this.currentValue = this.currentValue + this.step, disabled: this.currentValue >= this.max, variant: 'neutral', size: 'custom' }, h("jump-icon", { key: '6ff459686f4713928f0cb5830ea59fbcd0ec44e7', library: "lucide", name: "plus", size: "small" })))));
81
+ h("jump-button", { key: '0c43f1470dcf4cad5a69005cddb31de86057f778', onClick: () => this.currentValue = this.currentValue + this.step, disabled: this.currentValue >= this.max, variant: 'neutral', size: 'custom' }, h("jump-icon", { key: '2d64c4d964492b9a0a6ebb080c9747f3d74b9126', library: "lucide", name: "plus", size: "small" })))));
82
82
  }
83
83
  static get formAssociated() { return true; }
84
84
  get el() { return this; }
@@ -34,7 +34,7 @@ const JumpSearchBarDropdownItem$1 = /*@__PURE__*/ proxyCustomElement(class JumpS
34
34
  });
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '2cd1b4ef033699ffa631a6529da6c167756ca77b', ref: (el) => this.componentRef = el }));
37
+ return (h(Host, { key: '71a7bb156013483eb6b35bdb6008a82becaedc62', ref: (el) => this.componentRef = el }));
38
38
  }
39
39
  static get style() { return JumpSearchBarDropdownItemStyle0; }
40
40
  }, [1, "jump-search-bar-dropdown-item", {
@@ -108,16 +108,16 @@ const JumpSearchBarMobile$1 = /*@__PURE__*/ proxyCustomElement(class JumpSearchB
108
108
  ;
109
109
  /* --------------------- RENDER ------------------------------- */
110
110
  render() {
111
- return (h(Host, { key: 'f0535a70395bacabc372999896fc410c948bbed4', class: "JumpSearchBarMobile", ref: (el) => (this.componentRef = el) }, h("jump-icon", { key: '34431a69c6c68f48b5f92b03f5a876f485d66e34', name: "magnifying-glass", category: "light", onClick: () => this.openDropdown() }), h("div", { key: '89575c7a7a1c0a601a589ac451242e591d907a43', class: "DropdownWrapper " + (this.isOpen ? 'open' : '') }, h("div", { key: '633c8543dc2eaf36b7fc61857d7d63aadf852cd8', class: "InputWrapper" }, h("jump-icon", { key: '3c85be9683007c77faf9fe705c382b753dc8d6fb', class: "closeButton", category: "light", name: "arrow-left", onClick: () => this.closeDropdown() }), h("input", { key: '29f98929f8ed596072f1fe31d5820e9bde0a5604', placeholder: this.placeholder, type: "search", id: this.identifier, class: "search-input", ref: (el) => { this.jumpSearchBar = el; }, onInput: this.debounce(this.doSearch), onFocus: this.handleFocus, onBlur: this.handleBlur }), h("jump-icon", { key: '0e577fbdc3cfcc3d1628360487a828437459e01a', name: "magnifying-glass", category: "light" })), h("div", { key: 'da670ec6f527cc0015b42eea74acc355d081e260', class: "Results" }, (this.resType == 'recents') &&
112
- h("div", { key: 'bb8eed320957070598e1fb57b3db5a7aa0cea4bd', class: "Results__Recents" }, this.recents.length != 0 && h("span", { key: '748a65cfbb955af507acc30a86afa2366b31d99a', class: "title" }, this.recentsTitle), h("div", { key: 'e3fd0b306f42a56a85d1efc4898a4ead272ce15d', class: "ResWrapper" }, this.innerResults.length > 0 && this.innerResults.map((item) => (h("div", { onClick: () => this.handleResClicked(item) }, h("jump-icon", { name: "magnifying-glass", category: "light" }), item['value']))))), this.resType == 'results' &&
113
- h("div", { key: '29f82834ad14a34547f9f856f045c7cccc9431e0', class: "Results__Results" }, h("div", { key: '1c005fe5f1d9a88c151886eda65f372c52f4710f', class: "ResWrapper" }, this.innerResults === undefined ?
111
+ return (h(Host, { key: '945581bd026d7fa4ecbcf8e1c1e643e218a24f55', class: "JumpSearchBarMobile", ref: (el) => (this.componentRef = el) }, h("jump-icon", { key: 'fdedfd5df7476ce9aa1f3e91895d4649d186104f', name: "magnifying-glass", category: "light", onClick: () => this.openDropdown() }), h("div", { key: 'ed4a9dd17a2aa33fa696cc08e7f7dfffa4e6cb13', class: "DropdownWrapper " + (this.isOpen ? 'open' : '') }, h("div", { key: '908d363c439a43ebce40a5fac70aec908daf9714', class: "InputWrapper" }, h("jump-icon", { key: 'cff6538be35630feadd7415b1f69143837c7e10e', class: "closeButton", category: "light", name: "arrow-left", onClick: () => this.closeDropdown() }), h("input", { key: 'd4fe30add80cf969850e4322c10d57db11194bbd', placeholder: this.placeholder, type: "search", id: this.identifier, class: "search-input", ref: (el) => { this.jumpSearchBar = el; }, onInput: this.debounce(this.doSearch), onFocus: this.handleFocus, onBlur: this.handleBlur }), h("jump-icon", { key: '52258975154aa6393dd2a6b89c46615cfad64ada', name: "magnifying-glass", category: "light" })), h("div", { key: 'c678e92004f5c0fca9989289fd44e7a80063b194', class: "Results" }, (this.resType == 'recents') &&
112
+ h("div", { key: '3222eb927ced985b3569531c41f4320a160781ac', class: "Results__Recents" }, this.recents.length != 0 && h("span", { key: '548a3faaf6ad46704459c826955708f2dbcd338b', class: "title" }, this.recentsTitle), h("div", { key: '2b6514cd31fac5e569597bb2748cf6c133007b63', class: "ResWrapper" }, this.innerResults.length > 0 && this.innerResults.map((item) => (h("div", { onClick: () => this.handleResClicked(item) }, h("jump-icon", { name: "magnifying-glass", category: "light" }), item['value']))))), this.resType == 'results' &&
113
+ h("div", { key: 'b5d1d0756ceb4694ccb1aae51645ed9b7cdfff69', class: "Results__Results" }, h("div", { key: 'bd3d7d79da59b4b98e3e247e8d074be7a6f27421', class: "ResWrapper" }, this.innerResults === undefined ?
114
114
  h("div", { class: "helperText" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 100 100", preserveAspectRatio: "xMidYMid", width: "252", height: "252" }, h("g", null, h("g", { transform: "rotate(0 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.9s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(36 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.8s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(72 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.7s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(108 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.6s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(144 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.5s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(180 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.4s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(216 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.3s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(252 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.2s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(288 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "-0.1s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", { transform: "rotate(324 50 50)" }, h("rect", { fill: "#707070", height: "11", width: "4", ry: "1.87", rx: "1.87", y: "27.5", x: "48" }, h("animate", { repeatCount: "indefinite", begin: "0s", dur: "1s", keyTimes: "0;1", values: "1;0", attributeName: "opacity" }))), h("g", null))), this.loadingText)
115
115
  :
116
116
  (this.innerResults.length > 0 ?
117
117
  this.innerResults.map((item) => (h("div", { onClick: () => this.handleResClicked(item), key: item['id'] }, item['img'] && h("img", { src: item['img'], alt: "result" }), item['value'])))
118
118
  :
119
119
  h("div", { class: "helperText" }, this.noResultText)), (this.innerResults && this.innerResults.length > 0) &&
120
- h("div", { key: '084038e82063eb93fea6ea10d0a405fb7f1e04a8', class: "totalRes" }, h("jump-button", { key: 'f09ae73865768a64e75fcc2b887c4631e3271697', variant: "secondary", size: "small", text: true, onClick: () => this.btnOrShowOtherClicked(), target: "_blank" }, " ", this.showAllResText, " "), this.totalResults && h("div", { key: '66c370a16342ebfe68e3032299bf3da32ed53acd' }, this.totalResults, " ", this.resultsText))))))));
120
+ h("div", { key: '6d912d69fd8d882abb2a6a4736b81801b02b4e40', class: "totalRes" }, h("jump-button", { key: '9e339094d55d59e4a8ac4537e8e429f168e66055', variant: "secondary", size: "small", text: true, onClick: () => this.btnOrShowOtherClicked(), target: "_blank" }, " ", this.showAllResText, " "), this.totalResults && h("div", { key: '9b6c14f1345247b25c4d8fe142ffd4779e5340da' }, this.totalResults, " ", this.resultsText))))))));
121
121
  }
122
122
  static get watchers() { return {
123
123
  "searchValue": ["searchValueChanged"]
@@ -27,8 +27,8 @@ const JumpTabItem$1 = /*@__PURE__*/ proxyCustomElement(class JumpTabItem extends
27
27
  this.variant = parentVariant;
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '0a4383e01bea0539424876f8b0d8d04d4482c957', ref: (el) => { this.tabEl = el; }, class: "JumpTabItem " + (this.active ? 'active' : '') + " " + (this.variant) + " " + (this.disabled ? 'disabled' : '') }, h("div", { key: 'cee073351151f5468e4b72d4af2deacc7e080d22', 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')) &&
31
- h("jump-icon", { key: 'c65754b06a1b2404f146c71adc7498d4c8c6423c', library: "fa", category: "regular", name: this.iconName, size: "small" }), h("span", { key: 'd256f97d32910c594e12a6ca8b9de1fe483989b5', class: "label" }, this.label))));
30
+ return (h(Host, { key: '20bcab66648d2c1a2dab7fa45aeaf160cba65be0', ref: (el) => { this.tabEl = el; }, class: "JumpTabItem " + (this.active ? 'active' : '') + " " + (this.variant) + " " + (this.disabled ? 'disabled' : '') }, h("div", { key: '31fbceda6a68188b055c0e1d15ca2911a584c87a', 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')) &&
31
+ h("jump-icon", { key: 'e3760a45cfc90383b284268d5185b04cfdc30a8e', library: "fa", category: "regular", name: this.iconName, size: "small" }), h("span", { key: 'ee2b41643c241569429b359c121d1c0827de7cbf', class: "label" }, this.label))));
32
32
  }
33
33
  static get style() { return JumpTabItemStyle0; }
34
34
  }, [1, "jump-tab-item", {
@@ -12,7 +12,7 @@ const JumpTabPanel$1 = /*@__PURE__*/ proxyCustomElement(class JumpTabPanel exten
12
12
  this.active = false;
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '75fb1adb1af140bba218b890891234b01be1534f', class: "JumpTabPanel", id: this.identifier }, h("div", { key: '08ddae107776c29aa2b869e7b2e541e43e33b6a8', class: "JumpTabPanel__Content " + (this.active ? 'active' : '') }, h("slot", { key: 'bdf0d20e086f2b9def8df7f9abdae1df293a78c8' }))));
15
+ return (h(Host, { key: 'cf92120024b87b2226981c093ff8addeb9f6047e', class: "JumpTabPanel", id: this.identifier }, h("div", { key: 'b3705621ee187894cdf1f0eda5fef73573046646', class: "JumpTabPanel__Content " + (this.active ? 'active' : '') }, h("slot", { key: '8f42f264b401f8f9c5336bdb6216bdb13fb2ba0d' }))));
16
16
  }
17
17
  static get style() { return JumpTabPanelStyle0; }
18
18
  }, [1, "jump-tab-panel", {
@@ -74,7 +74,7 @@ const JumpTab$1 = /*@__PURE__*/ proxyCustomElement(class JumpTab extends HTMLEle
74
74
  }
75
75
  }
76
76
  render() {
77
- return (h(Host, { key: '497e52126ca025e5bd75ec2d611eb7e31288e165', class: "JumpTab " + this.variant, id: this.tabGroupName, ref: (el) => { this.JumpTabEl = el; } }, h("div", { key: 'f466e49311a54ec21317237335cbbdf5518766fb', class: "Wrapper " + (this.fullBorder ? 'fullBorder' : '') }, h("div", { key: '9ea2361990221d411600a19858c61ea70bc4701f', class: "ContentWrapper ContentWrapper--Items", style: { '--alignment': this.getAlignment(this.alignment) } }, h("div", { key: '9190d13fc70bec3709e3b7603836806349172e8d', class: "Content " + this.variant + " " + (this.disabled ? 'disabled' : '') + " " + (this.fullBorder ? 'fullBorder' : ''), style: { '--alignment': this.getAlignment(this.alignment) } }, h("slot", { key: '52c0f5898b72fc938a0bf082ba43bd88d2ff30c6', name: "tab-item" }))), h("div", { key: '27ea1ebf944e2ccf856b1b7704e16493171ef6c9', class: "ContentWrapper ContentWrapper--Panel" }, h("slot", { key: '6f96926996d8efb7e11e6c78d60d18dd142ee38a', name: "tab-content" })))));
77
+ return (h(Host, { key: '8a0199ca73b829bf916eb0065ea2349e3893b6d0', class: "JumpTab " + this.variant, id: this.tabGroupName, ref: (el) => { this.JumpTabEl = el; } }, h("div", { key: 'dbdef0b65d8149dd17f71022b802b53e6917dd4f', class: "Wrapper " + (this.fullBorder ? 'fullBorder' : '') }, h("div", { key: 'e8115b34e124bc2d85a273867dac7ab82a09db65', class: "ContentWrapper ContentWrapper--Items", style: { '--alignment': this.getAlignment(this.alignment) } }, h("div", { key: '973243bfa74224b6184d62ce36536f4720561f9c', class: "Content " + this.variant + " " + (this.disabled ? 'disabled' : '') + " " + (this.fullBorder ? 'fullBorder' : ''), style: { '--alignment': this.getAlignment(this.alignment) } }, h("slot", { key: 'c6ee4fb22decdb4f1e3d89e679987cd211e722ec', name: "tab-item" }))), h("div", { key: 'fa9565bba6ab3bc3eff4f9f232bfbd80829f6d4c', class: "ContentWrapper ContentWrapper--Panel" }, h("slot", { key: '0754dcab98e5e8ca3bd27babd3b90f9083c0c489', name: "tab-content" })))));
78
78
  }
79
79
  getAlignment(alignment) {
80
80
  switch (alignment) {
@@ -0,0 +1,12 @@
1
+ import { f, d as w, T, m } from './directive-helpers.js';
2
+ import { b as e, i, t } from './class-map.js';
3
+
4
+ /**
5
+ * @license
6
+ * Copyright 2020 Google LLC
7
+ * SPDX-License-Identifier: BSD-3-Clause
8
+ */const l=e(class extends i{constructor(r){if(super(r),r.type!==t.PROPERTY&&r.type!==t.ATTRIBUTE&&r.type!==t.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!f(r))throw Error("`live` bindings can only contain a single expression")}render(r){return r}update(i,[t$1]){if(t$1===w||t$1===T)return t$1;const o=i.element,l=i.name;if(i.type===t.PROPERTY){if(t$1===o[l])return w}else if(i.type===t.BOOLEAN_ATTRIBUTE){if(!!t$1===o.hasAttribute(l))return w}else if(i.type===t.ATTRIBUTE&&o.getAttribute(l)===t$1+"")return w;return m(i),t$1}});
9
+
10
+ export { l };
11
+
12
+ //# sourceMappingURL=live.js.map
@@ -0,0 +1 @@
1
+ {"file":"live.js","mappings":";;;AACA;AACA;AACA;AACA;AACA,GAAQ,MAAC,CAAC,CAACA,CAAC,CAAC,cAAcC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAGC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,IAAI,GAAGA,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,IAAI,GAAGA,CAAC,CAAC,iBAAiB,CAAC,MAAM,KAAK,CAAC,gEAAgE,CAAC,CAAC,GAAG,CAACC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,sDAAsD,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAACF,GAAC,CAAC,CAAC,CAAC,GAAGA,GAAC,GAAGG,CAAC,EAAEH,GAAC,GAAGI,CAAC,CAAC,OAAOJ,GAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,GAAGC,CAAC,CAAC,QAAQ,CAAC,CAAC,GAAGD,GAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,OAAOG,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,GAAGF,CAAC,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,CAACD,GAAC,GAAG,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,OAAOG,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,GAAGF,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,GAAGD,GAAC,CAAC,EAAE,CAAC,OAAOG,CAAC,CAAC,OAAOE,CAAC,CAAC,CAAC,CAAC,CAACL,GAAC,CAAC,CAAC;;;;","names":["i","t","n","o","r","e","s"],"sources":["node_modules/lit-html/directives/live.js"],"sourcesContent":["import{noChange as r,nothing as e}from\"../lit-html.js\";import{directive as i,Directive as t,PartType as n}from\"../directive.js\";import{isSingleExpression as o,setCommittedValue as s}from\"../directive-helpers.js\";\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const l=i(class extends t{constructor(r){if(super(r),r.type!==n.PROPERTY&&r.type!==n.ATTRIBUTE&&r.type!==n.BOOLEAN_ATTRIBUTE)throw Error(\"The `live` directive is not allowed on child or event bindings\");if(!o(r))throw Error(\"`live` bindings can only contain a single expression\")}render(r){return r}update(i,[t]){if(t===r||t===e)return t;const o=i.element,l=i.name;if(i.type===n.PROPERTY){if(t===o[l])return r}else if(i.type===n.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(l))return r}else if(i.type===n.ATTRIBUTE&&o.getAttribute(l)===t+\"\")return r;return s(i),t}});export{l as live};\n//# sourceMappingURL=live.js.map\n"],"version":3}
@@ -0,0 +1,362 @@
1
+ import { i, c as component_styles_default, _ as __decorateClass, w as watch, S as ShoelaceElement, x, e, r, n } from './directive-helpers-d80c2187.js';
2
+
3
+ // src/utilities/base-path.ts
4
+ var basePath = "";
5
+ function setBasePath(path) {
6
+ basePath = path;
7
+ }
8
+ function getBasePath(subpath = "") {
9
+ if (!basePath) {
10
+ const scripts = [...document.getElementsByTagName("script")];
11
+ const configScript = scripts.find((script) => script.hasAttribute("data-shoelace"));
12
+ if (configScript) {
13
+ setBasePath(configScript.getAttribute("data-shoelace"));
14
+ } else {
15
+ const fallbackScript = scripts.find((s) => {
16
+ return /shoelace(\.min)?\.js($|\?)/.test(s.src) || /shoelace-autoloader(\.min)?\.js($|\?)/.test(s.src);
17
+ });
18
+ let path = "";
19
+ if (fallbackScript) {
20
+ path = fallbackScript.getAttribute("src");
21
+ }
22
+ setBasePath(path.split("/").slice(0, -1).join("/"));
23
+ }
24
+ }
25
+ return basePath.replace(/\/$/, "") + (subpath ? `/${subpath.replace(/^\//, "")}` : ``);
26
+ }
27
+
28
+ // src/components/icon/library.default.ts
29
+ var library = {
30
+ name: "default",
31
+ resolver: (name) => getBasePath(`assets/icons/${name}.svg`)
32
+ };
33
+ var library_default_default = library;
34
+
35
+ // src/components/icon/library.system.ts
36
+ var icons = {
37
+ caret: `
38
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
39
+ <polyline points="6 9 12 15 18 9"></polyline>
40
+ </svg>
41
+ `,
42
+ check: `
43
+ <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">
44
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
45
+ <g stroke="currentColor">
46
+ <g transform="translate(3.428571, 3.428571)">
47
+ <path d="M0,5.71428571 L3.42857143,9.14285714"></path>
48
+ <path d="M9.14285714,0 L3.42857143,9.14285714"></path>
49
+ </g>
50
+ </g>
51
+ </g>
52
+ </svg>
53
+ `,
54
+ "chevron-down": `
55
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
56
+ <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
57
+ </svg>
58
+ `,
59
+ "chevron-left": `
60
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">
61
+ <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>
62
+ </svg>
63
+ `,
64
+ "chevron-right": `
65
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
66
+ <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
67
+ </svg>
68
+ `,
69
+ copy: `
70
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">
71
+ <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>
72
+ </svg>
73
+ `,
74
+ eye: `
75
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">
76
+ <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>
77
+ <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>
78
+ </svg>
79
+ `,
80
+ "eye-slash": `
81
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">
82
+ <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>
83
+ <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>
84
+ <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>
85
+ </svg>
86
+ `,
87
+ eyedropper: `
88
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">
89
+ <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>
90
+ </svg>
91
+ `,
92
+ "grip-vertical": `
93
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">
94
+ <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
95
+ </svg>
96
+ `,
97
+ indeterminate: `
98
+ <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">
99
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
100
+ <g stroke="currentColor" stroke-width="2">
101
+ <g transform="translate(2.285714, 6.857143)">
102
+ <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>
103
+ </g>
104
+ </g>
105
+ </g>
106
+ </svg>
107
+ `,
108
+ "person-fill": `
109
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">
110
+ <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
111
+ </svg>
112
+ `,
113
+ "play-fill": `
114
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">
115
+ <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>
116
+ </svg>
117
+ `,
118
+ "pause-fill": `
119
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">
120
+ <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>
121
+ </svg>
122
+ `,
123
+ radio: `
124
+ <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">
125
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
126
+ <g fill="currentColor">
127
+ <circle cx="8" cy="8" r="3.42857143"></circle>
128
+ </g>
129
+ </g>
130
+ </svg>
131
+ `,
132
+ "star-fill": `
133
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
134
+ <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
135
+ </svg>
136
+ `,
137
+ "x-lg": `
138
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
139
+ <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
140
+ </svg>
141
+ `,
142
+ "x-circle-fill": `
143
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">
144
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>
145
+ </svg>
146
+ `
147
+ };
148
+ var systemLibrary = {
149
+ name: "system",
150
+ resolver: (name) => {
151
+ if (name in icons) {
152
+ return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;
153
+ }
154
+ return "";
155
+ }
156
+ };
157
+ var library_system_default = systemLibrary;
158
+
159
+ // src/components/icon/library.ts
160
+ var registry = [library_default_default, library_system_default];
161
+ var watchedIcons = [];
162
+ function watchIcon(icon) {
163
+ watchedIcons.push(icon);
164
+ }
165
+ function unwatchIcon(icon) {
166
+ watchedIcons = watchedIcons.filter((el) => el !== icon);
167
+ }
168
+ function getIconLibrary(name) {
169
+ return registry.find((lib) => lib.name === name);
170
+ }
171
+ function registerIconLibrary(name, options) {
172
+ unregisterIconLibrary(name);
173
+ registry.push({
174
+ name,
175
+ resolver: options.resolver,
176
+ mutator: options.mutator,
177
+ spriteSheet: options.spriteSheet
178
+ });
179
+ watchedIcons.forEach((icon) => {
180
+ if (icon.library === name) {
181
+ icon.setIcon();
182
+ }
183
+ });
184
+ }
185
+ function unregisterIconLibrary(name) {
186
+ registry = registry.filter((lib) => lib.name !== name);
187
+ }
188
+
189
+ // src/components/icon/icon.styles.ts
190
+ var icon_styles_default = i`
191
+ :host {
192
+ display: inline-block;
193
+ width: 1em;
194
+ height: 1em;
195
+ box-sizing: content-box !important;
196
+ }
197
+
198
+ svg {
199
+ display: block;
200
+ height: 100%;
201
+ width: 100%;
202
+ }
203
+ `;
204
+
205
+ var CACHEABLE_ERROR = Symbol();
206
+ var RETRYABLE_ERROR = Symbol();
207
+ var parser;
208
+ var iconCache = /* @__PURE__ */ new Map();
209
+ var SlIcon = class extends ShoelaceElement {
210
+ constructor() {
211
+ super(...arguments);
212
+ this.initialRender = false;
213
+ this.svg = null;
214
+ this.label = "";
215
+ this.library = "default";
216
+ }
217
+ /** Given a URL, this function returns the resulting SVG element or an appropriate error symbol. */
218
+ async resolveIcon(url, library) {
219
+ var _a;
220
+ let fileData;
221
+ if (library == null ? void 0 : library.spriteSheet) {
222
+ this.svg = x`<svg part="svg">
223
+ <use part="use" href="${url}"></use>
224
+ </svg>`;
225
+ await this.updateComplete;
226
+ const svg = this.shadowRoot.querySelector("[part='svg']");
227
+ if (typeof library.mutator === "function") {
228
+ library.mutator(svg);
229
+ }
230
+ return this.svg;
231
+ }
232
+ try {
233
+ fileData = await fetch(url, { mode: "cors" });
234
+ if (!fileData.ok)
235
+ return fileData.status === 410 ? CACHEABLE_ERROR : RETRYABLE_ERROR;
236
+ } catch (e) {
237
+ return RETRYABLE_ERROR;
238
+ }
239
+ try {
240
+ const div = document.createElement("div");
241
+ div.innerHTML = await fileData.text();
242
+ const svg = div.firstElementChild;
243
+ if (((_a = svg == null ? void 0 : svg.tagName) == null ? void 0 : _a.toLowerCase()) !== "svg")
244
+ return CACHEABLE_ERROR;
245
+ if (!parser)
246
+ parser = new DOMParser();
247
+ const doc = parser.parseFromString(svg.outerHTML, "text/html");
248
+ const svgEl = doc.body.querySelector("svg");
249
+ if (!svgEl)
250
+ return CACHEABLE_ERROR;
251
+ svgEl.part.add("svg");
252
+ return document.adoptNode(svgEl);
253
+ } catch (e) {
254
+ return CACHEABLE_ERROR;
255
+ }
256
+ }
257
+ connectedCallback() {
258
+ super.connectedCallback();
259
+ watchIcon(this);
260
+ }
261
+ firstUpdated() {
262
+ this.initialRender = true;
263
+ this.setIcon();
264
+ }
265
+ disconnectedCallback() {
266
+ super.disconnectedCallback();
267
+ unwatchIcon(this);
268
+ }
269
+ getIconSource() {
270
+ const library = getIconLibrary(this.library);
271
+ if (this.name && library) {
272
+ return {
273
+ url: library.resolver(this.name),
274
+ fromLibrary: true
275
+ };
276
+ }
277
+ return {
278
+ url: this.src,
279
+ fromLibrary: false
280
+ };
281
+ }
282
+ handleLabelChange() {
283
+ const hasLabel = typeof this.label === "string" && this.label.length > 0;
284
+ if (hasLabel) {
285
+ this.setAttribute("role", "img");
286
+ this.setAttribute("aria-label", this.label);
287
+ this.removeAttribute("aria-hidden");
288
+ } else {
289
+ this.removeAttribute("role");
290
+ this.removeAttribute("aria-label");
291
+ this.setAttribute("aria-hidden", "true");
292
+ }
293
+ }
294
+ async setIcon() {
295
+ var _a;
296
+ const { url, fromLibrary } = this.getIconSource();
297
+ const library = fromLibrary ? getIconLibrary(this.library) : void 0;
298
+ if (!url) {
299
+ this.svg = null;
300
+ return;
301
+ }
302
+ let iconResolver = iconCache.get(url);
303
+ if (!iconResolver) {
304
+ iconResolver = this.resolveIcon(url, library);
305
+ iconCache.set(url, iconResolver);
306
+ }
307
+ if (!this.initialRender) {
308
+ return;
309
+ }
310
+ const svg = await iconResolver;
311
+ if (svg === RETRYABLE_ERROR) {
312
+ iconCache.delete(url);
313
+ }
314
+ if (url !== this.getIconSource().url) {
315
+ return;
316
+ }
317
+ if (e(svg)) {
318
+ this.svg = svg;
319
+ return;
320
+ }
321
+ switch (svg) {
322
+ case RETRYABLE_ERROR:
323
+ case CACHEABLE_ERROR:
324
+ this.svg = null;
325
+ this.emit("sl-error");
326
+ break;
327
+ default:
328
+ this.svg = svg.cloneNode(true);
329
+ (_a = library == null ? void 0 : library.mutator) == null ? void 0 : _a.call(library, this.svg);
330
+ this.emit("sl-load");
331
+ }
332
+ }
333
+ render() {
334
+ return this.svg;
335
+ }
336
+ };
337
+ SlIcon.styles = [component_styles_default, icon_styles_default];
338
+ __decorateClass([
339
+ r()
340
+ ], SlIcon.prototype, "svg", 2);
341
+ __decorateClass([
342
+ n({ reflect: true })
343
+ ], SlIcon.prototype, "name", 2);
344
+ __decorateClass([
345
+ n()
346
+ ], SlIcon.prototype, "src", 2);
347
+ __decorateClass([
348
+ n()
349
+ ], SlIcon.prototype, "label", 2);
350
+ __decorateClass([
351
+ n({ reflect: true })
352
+ ], SlIcon.prototype, "library", 2);
353
+ __decorateClass([
354
+ watch("label")
355
+ ], SlIcon.prototype, "handleLabelChange", 1);
356
+ __decorateClass([
357
+ watch(["name", "src", "library"])
358
+ ], SlIcon.prototype, "setIcon", 1);
359
+
360
+ export { SlIcon as S, registerIconLibrary as r };
361
+
362
+ //# sourceMappingURL=chunk.H33C3MRM-7dcbd943.js.map