@xplortech/apollo-core 1.0.0-beta.18 → 1.0.0-beta.3

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 (459) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/build/style.css +2758 -1509
  3. package/dist/apollo-core/apollo-core.css +14 -4597
  4. package/dist/apollo-core/apollo-core.esm.js +1 -2
  5. package/dist/apollo-core/index.esm.js +0 -2
  6. package/dist/apollo-core/p-13e7d3ea.entry.js +1 -0
  7. package/dist/apollo-core/p-2ce2fe5c.entry.js +1 -0
  8. package/dist/apollo-core/p-2f90296c.js +10 -0
  9. package/dist/apollo-core/p-3ff1ff38.entry.js +1 -0
  10. package/dist/apollo-core/p-63dd9a65.entry.js +1 -0
  11. package/dist/apollo-core/p-6c3c1e3d.entry.js +1 -0
  12. package/dist/apollo-core/p-81a6ce4c.entry.js +1 -0
  13. package/dist/apollo-core/p-918b0731.entry.js +1 -0
  14. package/dist/apollo-core/p-97bdb450.entry.js +1 -0
  15. package/dist/apollo-core/p-a43e2d1f.entry.js +1 -0
  16. package/dist/apollo-core/p-a7cc4114.entry.js +1 -0
  17. package/dist/apollo-core/p-ad90fe4d.js +1 -2
  18. package/dist/apollo-core/p-b6d1b135.entry.js +1 -0
  19. package/dist/apollo-core/p-bc0ebed2.entry.js +1 -0
  20. package/dist/apollo-core/p-c8af4ed6.entry.js +1 -0
  21. package/dist/apollo-core/p-d4aa2fa9.js +1 -0
  22. package/dist/apollo-core/p-d4e5d3aa.entry.js +1 -0
  23. package/dist/apollo-core/p-dad11011.entry.js +1 -0
  24. package/dist/apollo-core/p-db74c99c.entry.js +1 -0
  25. package/dist/cjs/apollo-core.cjs.js +3 -12
  26. package/dist/cjs/{index-000e170c.js → index-acf3dd7a.js} +216 -765
  27. package/dist/cjs/index.cjs.js +0 -2
  28. package/dist/cjs/loader.cjs.js +3 -6
  29. package/dist/cjs/regular-872f5226.js +16043 -0
  30. package/dist/cjs/v4-14140ff3.js +0 -2
  31. package/dist/cjs/xpl-application-shell.cjs.entry.js +13 -10
  32. package/dist/cjs/xpl-avatar_12.cjs.entry.js +322 -0
  33. package/dist/cjs/xpl-backdrop.cjs.entry.js +5 -3
  34. package/dist/cjs/xpl-button-row.cjs.entry.js +1 -6
  35. package/dist/cjs/xpl-choicelist.cjs.entry.js +1 -10
  36. package/dist/cjs/xpl-divider.cjs.entry.js +1 -4
  37. package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js +4 -16
  38. package/dist/cjs/xpl-dropdown_2.cjs.entry.js +12 -14
  39. package/dist/cjs/xpl-grid-item.cjs.entry.js +1 -3
  40. package/dist/cjs/xpl-grid.cjs.entry.js +1 -3
  41. package/dist/cjs/xpl-input.cjs.entry.js +25 -22
  42. package/dist/cjs/xpl-list.cjs.entry.js +25 -4
  43. package/dist/cjs/xpl-main-nav.cjs.entry.js +4 -3
  44. package/dist/cjs/xpl-pagination.cjs.entry.js +2 -7
  45. package/dist/cjs/xpl-select.cjs.entry.js +25 -51
  46. package/dist/cjs/xpl-toggle.cjs.entry.js +4 -9
  47. package/dist/collection/collection-manifest.json +3 -6
  48. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +109 -125
  49. package/dist/collection/components/xpl-avatar/xpl-avatar.js +144 -151
  50. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +28 -27
  51. package/dist/collection/components/xpl-badge/xpl-badge.js +39 -44
  52. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +5 -3
  53. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +5 -3
  54. package/dist/collection/components/xpl-button/xpl-button.js +205 -205
  55. package/dist/collection/components/xpl-button-row/xpl-button-row.js +104 -106
  56. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +171 -182
  57. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +126 -134
  58. package/dist/collection/components/xpl-content-area/xpl-content-area.js +31 -28
  59. package/dist/collection/components/xpl-divider/xpl-divider.js +23 -27
  60. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +41 -47
  61. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +22 -27
  62. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +55 -83
  63. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +161 -169
  64. package/dist/collection/components/xpl-grid/xpl-grid.js +1 -2
  65. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +74 -76
  66. package/dist/collection/components/xpl-input/xpl-input.js +419 -397
  67. package/dist/collection/components/xpl-list/xpl-list.js +77 -43
  68. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +54 -48
  69. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +49 -48
  70. package/dist/collection/components/xpl-pagination/xpl-pagination.js +128 -117
  71. package/dist/collection/components/xpl-radio/xpl-radio.js +148 -158
  72. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +4 -3
  73. package/dist/collection/components/xpl-select/xpl-select.js +235 -306
  74. package/dist/collection/components/xpl-table/xpl-table.js +148 -215
  75. package/dist/collection/components/xpl-tag/xpl-tag.js +25 -25
  76. package/dist/collection/components/xpl-toggle/xpl-toggle.js +135 -138
  77. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +52 -79
  78. package/dist/custom-elements/index.d.ts +219 -0
  79. package/dist/custom-elements/index.js +20224 -0
  80. package/dist/esm/apollo-core.js +3 -9
  81. package/dist/esm/{index-56581b5c.js → index-e3c4bb97.js} +217 -765
  82. package/dist/esm/index.js +0 -2
  83. package/dist/esm/loader.js +3 -6
  84. package/dist/esm/polyfills/css-shim.js +1 -1
  85. package/dist/esm/regular-86225e9d.js +16041 -0
  86. package/dist/esm/v4-929670b7.js +0 -2
  87. package/dist/esm/xpl-application-shell.entry.js +13 -10
  88. package/dist/esm/xpl-avatar_12.entry.js +307 -0
  89. package/dist/esm/xpl-backdrop.entry.js +5 -3
  90. package/dist/esm/xpl-button-row.entry.js +1 -6
  91. package/dist/esm/xpl-choicelist.entry.js +1 -10
  92. package/dist/esm/xpl-divider.entry.js +1 -4
  93. package/dist/esm/xpl-dropdown-group_3.entry.js +4 -16
  94. package/dist/esm/xpl-dropdown_2.entry.js +12 -14
  95. package/dist/esm/xpl-grid-item.entry.js +1 -3
  96. package/dist/esm/xpl-grid.entry.js +1 -3
  97. package/dist/esm/xpl-input.entry.js +25 -22
  98. package/dist/esm/xpl-list.entry.js +25 -4
  99. package/dist/esm/xpl-main-nav.entry.js +4 -3
  100. package/dist/esm/xpl-pagination.entry.js +2 -7
  101. package/dist/esm/xpl-select.entry.js +25 -51
  102. package/dist/esm/xpl-toggle.entry.js +4 -9
  103. package/dist/stories/application-shell.stories.js +8 -18
  104. package/dist/stories/avatar.stories.js +0 -1
  105. package/dist/stories/backdrop.stories.js +0 -1
  106. package/dist/stories/badge.stories.js +0 -1
  107. package/dist/stories/breadcrumbs.stories.js +0 -1
  108. package/dist/stories/button-row.stories.js +0 -1
  109. package/dist/stories/button.stories.js +0 -1
  110. package/dist/stories/checkbox.stories.js +0 -1
  111. package/dist/stories/choicelist.stories.js +0 -1
  112. package/dist/stories/content-area.stories.js +0 -1
  113. package/dist/stories/divider.stories.js +0 -1
  114. package/dist/stories/dropdown.stories.js +65 -74
  115. package/dist/stories/grid.stories.js +0 -1
  116. package/dist/stories/input.stories.js +0 -1
  117. package/dist/stories/list.stories.js +2 -3
  118. package/dist/stories/main-nav.stories.js +0 -1
  119. package/dist/stories/pagination.stories.js +0 -1
  120. package/dist/stories/radio.stories.js +0 -1
  121. package/dist/stories/secondary-nav.stories.js +0 -1
  122. package/dist/stories/select.stories.js +32 -109
  123. package/dist/stories/table.stories.js +7 -24
  124. package/dist/stories/tabs.stories.js +0 -1
  125. package/dist/stories/toggle.stories.js +0 -1
  126. package/dist/stories/utility-bar.stories.js +6 -2
  127. package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/application-shell.stories.d.ts +5 -14
  128. package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/dropdown.stories.d.ts +1 -17
  129. package/dist/types/Users/fernandogelin/Projects/apollo-admin/packages/apollo/.stencil/stories/select.stories.d.ts +74 -0
  130. package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/table.stories.d.ts +1 -22
  131. package/dist/types/components/xpl-application-shell/xpl-application-shell.d.ts +1 -6
  132. package/dist/types/components/xpl-choicelist/choice.d.ts +5 -5
  133. package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +1 -2
  134. package/dist/types/components/xpl-dropdown/dropdownoption.d.ts +10 -9
  135. package/dist/types/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.d.ts +0 -1
  136. package/dist/types/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.d.ts +1 -7
  137. package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +5 -7
  138. package/dist/types/components/xpl-input/xpl-input.d.ts +2 -0
  139. package/dist/types/components/xpl-list/listitem.d.ts +19 -15
  140. package/dist/types/components/xpl-list/xpl-list.d.ts +3 -2
  141. package/dist/types/components/xpl-select/selectchoice.d.ts +3 -0
  142. package/dist/types/components/xpl-select/xpl-select.d.ts +1 -21
  143. package/dist/types/components/xpl-table/xpl-table.d.ts +7 -29
  144. package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +1 -5
  145. package/dist/types/components.d.ts +21 -268
  146. package/dist/types/stencil-public-runtime.d.ts +23 -97
  147. package/loader/index.d.ts +1 -9
  148. package/loader/package.json +0 -1
  149. package/package.json +28 -21
  150. package/LICENSE +0 -21
  151. package/dist/apollo-core/apollo-core.esm.js.map +0 -1
  152. package/dist/apollo-core/index.esm.js.map +0 -1
  153. package/dist/apollo-core/p-1fa46bc3.entry.js +0 -2
  154. package/dist/apollo-core/p-1fa46bc3.entry.js.map +0 -1
  155. package/dist/apollo-core/p-29f4679d.entry.js +0 -2
  156. package/dist/apollo-core/p-29f4679d.entry.js.map +0 -1
  157. package/dist/apollo-core/p-3f3cc34e.entry.js +0 -2
  158. package/dist/apollo-core/p-3f3cc34e.entry.js.map +0 -1
  159. package/dist/apollo-core/p-5372bf3e.entry.js +0 -2
  160. package/dist/apollo-core/p-5372bf3e.entry.js.map +0 -1
  161. package/dist/apollo-core/p-5ceaec87.entry.js +0 -2
  162. package/dist/apollo-core/p-5ceaec87.entry.js.map +0 -1
  163. package/dist/apollo-core/p-60d4d252.entry.js +0 -2
  164. package/dist/apollo-core/p-60d4d252.entry.js.map +0 -1
  165. package/dist/apollo-core/p-6797b2b7.entry.js +0 -7
  166. package/dist/apollo-core/p-6797b2b7.entry.js.map +0 -1
  167. package/dist/apollo-core/p-6acc4122.entry.js +0 -2
  168. package/dist/apollo-core/p-6acc4122.entry.js.map +0 -1
  169. package/dist/apollo-core/p-787bac91.entry.js +0 -2
  170. package/dist/apollo-core/p-787bac91.entry.js.map +0 -1
  171. package/dist/apollo-core/p-7a8e818a.entry.js +0 -2
  172. package/dist/apollo-core/p-7a8e818a.entry.js.map +0 -1
  173. package/dist/apollo-core/p-807d8de9.entry.js +0 -2
  174. package/dist/apollo-core/p-807d8de9.entry.js.map +0 -1
  175. package/dist/apollo-core/p-ad90fe4d.js.map +0 -1
  176. package/dist/apollo-core/p-bcb81e30.entry.js +0 -2
  177. package/dist/apollo-core/p-bcb81e30.entry.js.map +0 -1
  178. package/dist/apollo-core/p-da5a8e74.entry.js +0 -2
  179. package/dist/apollo-core/p-da5a8e74.entry.js.map +0 -1
  180. package/dist/apollo-core/p-e0541e23.entry.js +0 -2
  181. package/dist/apollo-core/p-e0541e23.entry.js.map +0 -1
  182. package/dist/apollo-core/p-e215fc5f.entry.js +0 -2
  183. package/dist/apollo-core/p-e215fc5f.entry.js.map +0 -1
  184. package/dist/apollo-core/p-e8953b60.js +0 -3
  185. package/dist/apollo-core/p-e8953b60.js.map +0 -1
  186. package/dist/apollo-core/p-efa8a79d.entry.js +0 -2
  187. package/dist/apollo-core/p-efa8a79d.entry.js.map +0 -1
  188. package/dist/cjs/apollo-core.cjs.js.map +0 -1
  189. package/dist/cjs/index-000e170c.js.map +0 -1
  190. package/dist/cjs/index.cjs.js.map +0 -1
  191. package/dist/cjs/loader.cjs.js.map +0 -1
  192. package/dist/cjs/v4-14140ff3.js.map +0 -1
  193. package/dist/cjs/xpl-application-shell.cjs.entry.js.map +0 -1
  194. package/dist/cjs/xpl-avatar_15.cjs.entry.js +0 -2278
  195. package/dist/cjs/xpl-avatar_15.cjs.entry.js.map +0 -1
  196. package/dist/cjs/xpl-backdrop.cjs.entry.js.map +0 -1
  197. package/dist/cjs/xpl-button-row.cjs.entry.js.map +0 -1
  198. package/dist/cjs/xpl-choicelist.cjs.entry.js.map +0 -1
  199. package/dist/cjs/xpl-divider.cjs.entry.js.map +0 -1
  200. package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js.map +0 -1
  201. package/dist/cjs/xpl-dropdown_2.cjs.entry.js.map +0 -1
  202. package/dist/cjs/xpl-grid-item.cjs.entry.js.map +0 -1
  203. package/dist/cjs/xpl-grid.cjs.entry.js.map +0 -1
  204. package/dist/cjs/xpl-input.cjs.entry.js.map +0 -1
  205. package/dist/cjs/xpl-list.cjs.entry.js.map +0 -1
  206. package/dist/cjs/xpl-main-nav.cjs.entry.js.map +0 -1
  207. package/dist/cjs/xpl-pagination.cjs.entry.js.map +0 -1
  208. package/dist/cjs/xpl-select.cjs.entry.js.map +0 -1
  209. package/dist/cjs/xpl-toggle.cjs.entry.js.map +0 -1
  210. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js.map +0 -1
  211. package/dist/collection/components/xpl-avatar/xpl-avatar.js.map +0 -1
  212. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js.map +0 -1
  213. package/dist/collection/components/xpl-badge/xpl-badge.js.map +0 -1
  214. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js.map +0 -1
  215. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js.map +0 -1
  216. package/dist/collection/components/xpl-button/xpl-button.js.map +0 -1
  217. package/dist/collection/components/xpl-button-row/xpl-button-row.js.map +0 -1
  218. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js.map +0 -1
  219. package/dist/collection/components/xpl-choicelist/choice.js +0 -2
  220. package/dist/collection/components/xpl-choicelist/choice.js.map +0 -1
  221. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js.map +0 -1
  222. package/dist/collection/components/xpl-content-area/xpl-content-area.js.map +0 -1
  223. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +0 -8
  224. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js.map +0 -1
  225. package/dist/collection/components/xpl-data-card/xpl-data-card.js +0 -162
  226. package/dist/collection/components/xpl-data-card/xpl-data-card.js.map +0 -1
  227. package/dist/collection/components/xpl-divider/xpl-divider.js.map +0 -1
  228. package/dist/collection/components/xpl-dropdown/dropdownoption.js +0 -2
  229. package/dist/collection/components/xpl-dropdown/dropdownoption.js.map +0 -1
  230. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js.map +0 -1
  231. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js.map +0 -1
  232. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js.map +0 -1
  233. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js.map +0 -1
  234. package/dist/collection/components/xpl-grid/xpl-grid.js.map +0 -1
  235. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js.map +0 -1
  236. package/dist/collection/components/xpl-icon/xpl-icon.css +0 -5
  237. package/dist/collection/components/xpl-icon/xpl-icon.js +0 -93
  238. package/dist/collection/components/xpl-icon/xpl-icon.js.map +0 -1
  239. package/dist/collection/components/xpl-input/xpl-input.js.map +0 -1
  240. package/dist/collection/components/xpl-list/listitem.js +0 -2
  241. package/dist/collection/components/xpl-list/listitem.js.map +0 -1
  242. package/dist/collection/components/xpl-list/xpl-list.js.map +0 -1
  243. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js.map +0 -1
  244. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js.map +0 -1
  245. package/dist/collection/components/xpl-pagination/xpl-pagination.js.map +0 -1
  246. package/dist/collection/components/xpl-radio/xpl-radio.js.map +0 -1
  247. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js.map +0 -1
  248. package/dist/collection/components/xpl-select/xpl-select.js.map +0 -1
  249. package/dist/collection/components/xpl-table/xpl-table.js.map +0 -1
  250. package/dist/collection/components/xpl-tag/xpl-tag.js.map +0 -1
  251. package/dist/collection/components/xpl-toggle/xpl-toggle.js.map +0 -1
  252. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js.map +0 -1
  253. package/dist/components/index.d.ts +0 -39
  254. package/dist/components/index.js +0 -82
  255. package/dist/components/index.js.map +0 -1
  256. package/dist/components/v4.js +0 -77
  257. package/dist/components/v4.js.map +0 -1
  258. package/dist/components/xpl-application-shell.d.ts +0 -11
  259. package/dist/components/xpl-application-shell.js +0 -80
  260. package/dist/components/xpl-application-shell.js.map +0 -1
  261. package/dist/components/xpl-avatar.d.ts +0 -11
  262. package/dist/components/xpl-avatar.js +0 -8
  263. package/dist/components/xpl-avatar.js.map +0 -1
  264. package/dist/components/xpl-avatar2.js +0 -51
  265. package/dist/components/xpl-avatar2.js.map +0 -1
  266. package/dist/components/xpl-backdrop.d.ts +0 -11
  267. package/dist/components/xpl-backdrop.js +0 -8
  268. package/dist/components/xpl-backdrop.js.map +0 -1
  269. package/dist/components/xpl-backdrop2.js +0 -35
  270. package/dist/components/xpl-backdrop2.js.map +0 -1
  271. package/dist/components/xpl-badge.d.ts +0 -11
  272. package/dist/components/xpl-badge.js +0 -8
  273. package/dist/components/xpl-badge.js.map +0 -1
  274. package/dist/components/xpl-badge2.js +0 -38
  275. package/dist/components/xpl-badge2.js.map +0 -1
  276. package/dist/components/xpl-breadcrumb-item.d.ts +0 -11
  277. package/dist/components/xpl-breadcrumb-item.js +0 -36
  278. package/dist/components/xpl-breadcrumb-item.js.map +0 -1
  279. package/dist/components/xpl-breadcrumbs.d.ts +0 -11
  280. package/dist/components/xpl-breadcrumbs.js +0 -31
  281. package/dist/components/xpl-breadcrumbs.js.map +0 -1
  282. package/dist/components/xpl-button-row.d.ts +0 -11
  283. package/dist/components/xpl-button-row.js +0 -50
  284. package/dist/components/xpl-button-row.js.map +0 -1
  285. package/dist/components/xpl-button.d.ts +0 -11
  286. package/dist/components/xpl-button.js +0 -8
  287. package/dist/components/xpl-button.js.map +0 -1
  288. package/dist/components/xpl-button2.js +0 -85
  289. package/dist/components/xpl-button2.js.map +0 -1
  290. package/dist/components/xpl-checkbox.d.ts +0 -11
  291. package/dist/components/xpl-checkbox.js +0 -8
  292. package/dist/components/xpl-checkbox.js.map +0 -1
  293. package/dist/components/xpl-checkbox2.js +0 -59
  294. package/dist/components/xpl-checkbox2.js.map +0 -1
  295. package/dist/components/xpl-choicelist.d.ts +0 -11
  296. package/dist/components/xpl-choicelist.js +0 -85
  297. package/dist/components/xpl-choicelist.js.map +0 -1
  298. package/dist/components/xpl-content-area.d.ts +0 -11
  299. package/dist/components/xpl-content-area.js +0 -34
  300. package/dist/components/xpl-content-area.js.map +0 -1
  301. package/dist/components/xpl-dashboard.d.ts +0 -11
  302. package/dist/components/xpl-dashboard.js +0 -31
  303. package/dist/components/xpl-dashboard.js.map +0 -1
  304. package/dist/components/xpl-data-card.d.ts +0 -11
  305. package/dist/components/xpl-data-card.js +0 -80
  306. package/dist/components/xpl-data-card.js.map +0 -1
  307. package/dist/components/xpl-divider.d.ts +0 -11
  308. package/dist/components/xpl-divider.js +0 -36
  309. package/dist/components/xpl-divider.js.map +0 -1
  310. package/dist/components/xpl-dropdown-group.d.ts +0 -11
  311. package/dist/components/xpl-dropdown-group.js +0 -8
  312. package/dist/components/xpl-dropdown-group.js.map +0 -1
  313. package/dist/components/xpl-dropdown-group2.js +0 -69
  314. package/dist/components/xpl-dropdown-group2.js.map +0 -1
  315. package/dist/components/xpl-dropdown-heading.d.ts +0 -11
  316. package/dist/components/xpl-dropdown-heading.js +0 -8
  317. package/dist/components/xpl-dropdown-heading.js.map +0 -1
  318. package/dist/components/xpl-dropdown-heading2.js +0 -31
  319. package/dist/components/xpl-dropdown-heading2.js.map +0 -1
  320. package/dist/components/xpl-dropdown-option.d.ts +0 -11
  321. package/dist/components/xpl-dropdown-option.js +0 -8
  322. package/dist/components/xpl-dropdown-option.js.map +0 -1
  323. package/dist/components/xpl-dropdown-option2.js +0 -89
  324. package/dist/components/xpl-dropdown-option2.js.map +0 -1
  325. package/dist/components/xpl-dropdown.d.ts +0 -11
  326. package/dist/components/xpl-dropdown.js +0 -8
  327. package/dist/components/xpl-dropdown.js.map +0 -1
  328. package/dist/components/xpl-dropdown2.js +0 -147
  329. package/dist/components/xpl-dropdown2.js.map +0 -1
  330. package/dist/components/xpl-grid-item.d.ts +0 -11
  331. package/dist/components/xpl-grid-item.js +0 -45
  332. package/dist/components/xpl-grid-item.js.map +0 -1
  333. package/dist/components/xpl-grid.d.ts +0 -11
  334. package/dist/components/xpl-grid.js +0 -50
  335. package/dist/components/xpl-grid.js.map +0 -1
  336. package/dist/components/xpl-icon.d.ts +0 -11
  337. package/dist/components/xpl-icon.js +0 -8
  338. package/dist/components/xpl-icon.js.map +0 -1
  339. package/dist/components/xpl-icon2.js +0 -1850
  340. package/dist/components/xpl-icon2.js.map +0 -1
  341. package/dist/components/xpl-input.d.ts +0 -11
  342. package/dist/components/xpl-input.js +0 -2574
  343. package/dist/components/xpl-input.js.map +0 -1
  344. package/dist/components/xpl-list.d.ts +0 -11
  345. package/dist/components/xpl-list.js +0 -73
  346. package/dist/components/xpl-list.js.map +0 -1
  347. package/dist/components/xpl-main-nav.d.ts +0 -11
  348. package/dist/components/xpl-main-nav.js +0 -44
  349. package/dist/components/xpl-main-nav.js.map +0 -1
  350. package/dist/components/xpl-nav-item.d.ts +0 -11
  351. package/dist/components/xpl-nav-item.js +0 -44
  352. package/dist/components/xpl-nav-item.js.map +0 -1
  353. package/dist/components/xpl-pagination.d.ts +0 -11
  354. package/dist/components/xpl-pagination.js +0 -100
  355. package/dist/components/xpl-pagination.js.map +0 -1
  356. package/dist/components/xpl-radio.d.ts +0 -11
  357. package/dist/components/xpl-radio.js +0 -8
  358. package/dist/components/xpl-radio.js.map +0 -1
  359. package/dist/components/xpl-radio2.js +0 -57
  360. package/dist/components/xpl-radio2.js.map +0 -1
  361. package/dist/components/xpl-secondary-nav.d.ts +0 -11
  362. package/dist/components/xpl-secondary-nav.js +0 -31
  363. package/dist/components/xpl-secondary-nav.js.map +0 -1
  364. package/dist/components/xpl-select.d.ts +0 -11
  365. package/dist/components/xpl-select.js +0 -712
  366. package/dist/components/xpl-select.js.map +0 -1
  367. package/dist/components/xpl-table.d.ts +0 -11
  368. package/dist/components/xpl-table.js +0 -170
  369. package/dist/components/xpl-table.js.map +0 -1
  370. package/dist/components/xpl-tag.d.ts +0 -11
  371. package/dist/components/xpl-tag.js +0 -8
  372. package/dist/components/xpl-tag.js.map +0 -1
  373. package/dist/components/xpl-tag2.js +0 -33
  374. package/dist/components/xpl-tag2.js.map +0 -1
  375. package/dist/components/xpl-toggle.d.ts +0 -11
  376. package/dist/components/xpl-toggle.js +0 -61
  377. package/dist/components/xpl-toggle.js.map +0 -1
  378. package/dist/components/xpl-utility-bar.d.ts +0 -11
  379. package/dist/components/xpl-utility-bar.js +0 -55
  380. package/dist/components/xpl-utility-bar.js.map +0 -1
  381. package/dist/esm/apollo-core.js.map +0 -1
  382. package/dist/esm/index-56581b5c.js.map +0 -1
  383. package/dist/esm/index.js.map +0 -1
  384. package/dist/esm/loader.js.map +0 -1
  385. package/dist/esm/v4-929670b7.js.map +0 -1
  386. package/dist/esm/xpl-application-shell.entry.js.map +0 -1
  387. package/dist/esm/xpl-avatar_15.entry.js +0 -2260
  388. package/dist/esm/xpl-avatar_15.entry.js.map +0 -1
  389. package/dist/esm/xpl-backdrop.entry.js.map +0 -1
  390. package/dist/esm/xpl-button-row.entry.js.map +0 -1
  391. package/dist/esm/xpl-choicelist.entry.js.map +0 -1
  392. package/dist/esm/xpl-divider.entry.js.map +0 -1
  393. package/dist/esm/xpl-dropdown-group_3.entry.js.map +0 -1
  394. package/dist/esm/xpl-dropdown_2.entry.js.map +0 -1
  395. package/dist/esm/xpl-grid-item.entry.js.map +0 -1
  396. package/dist/esm/xpl-grid.entry.js.map +0 -1
  397. package/dist/esm/xpl-input.entry.js.map +0 -1
  398. package/dist/esm/xpl-list.entry.js.map +0 -1
  399. package/dist/esm/xpl-main-nav.entry.js.map +0 -1
  400. package/dist/esm/xpl-pagination.entry.js.map +0 -1
  401. package/dist/esm/xpl-select.entry.js.map +0 -1
  402. package/dist/esm/xpl-toggle.entry.js.map +0 -1
  403. package/dist/stories/application-shell.stories.js.map +0 -1
  404. package/dist/stories/avatar.stories.js.map +0 -1
  405. package/dist/stories/backdrop.stories.js.map +0 -1
  406. package/dist/stories/badge.stories.js.map +0 -1
  407. package/dist/stories/breadcrumbs.stories.js.map +0 -1
  408. package/dist/stories/button-row.stories.js.map +0 -1
  409. package/dist/stories/button.stories.js.map +0 -1
  410. package/dist/stories/checkbox.stories.js.map +0 -1
  411. package/dist/stories/choicelist.stories.js.map +0 -1
  412. package/dist/stories/content-area.stories.js.map +0 -1
  413. package/dist/stories/dashboard.stories.js +0 -51
  414. package/dist/stories/dashboard.stories.js.map +0 -1
  415. package/dist/stories/data-card.stories.js +0 -70
  416. package/dist/stories/data-card.stories.js.map +0 -1
  417. package/dist/stories/divider.stories.js.map +0 -1
  418. package/dist/stories/dropdown.stories.js.map +0 -1
  419. package/dist/stories/grid.stories.js.map +0 -1
  420. package/dist/stories/icons.stories.js +0 -69
  421. package/dist/stories/icons.stories.js.map +0 -1
  422. package/dist/stories/input.stories.js.map +0 -1
  423. package/dist/stories/list.stories.js.map +0 -1
  424. package/dist/stories/main-nav.stories.js.map +0 -1
  425. package/dist/stories/pagination.stories.js.map +0 -1
  426. package/dist/stories/radio.stories.js.map +0 -1
  427. package/dist/stories/secondary-nav.stories.js.map +0 -1
  428. package/dist/stories/select.stories.js.map +0 -1
  429. package/dist/stories/table.stories.js.map +0 -1
  430. package/dist/stories/tabs.stories.js.map +0 -1
  431. package/dist/stories/toggle.stories.js.map +0 -1
  432. package/dist/stories/utility-bar.stories.js.map +0 -1
  433. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/dashboard.stories.d.ts +0 -31
  434. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/data-card.stories.d.ts +0 -71
  435. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/icons.stories.d.ts +0 -77
  436. package/dist/types/Users/roc/Sites/apollo/.stencil/stories/select.stories.d.ts +0 -134
  437. package/dist/types/components/xpl-dashboard/xpl-dashboard.d.ts +0 -3
  438. package/dist/types/components/xpl-data-card/xpl-data-card.d.ts +0 -38
  439. package/dist/types/components/xpl-icon/xpl-icon.d.ts +0 -17
  440. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/avatar.stories.d.ts +0 -0
  441. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/backdrop.stories.d.ts +0 -0
  442. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/badge.stories.d.ts +0 -0
  443. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -0
  444. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/button-row.stories.d.ts +0 -0
  445. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/button.stories.d.ts +0 -0
  446. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/checkbox.stories.d.ts +0 -0
  447. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/choicelist.stories.d.ts +0 -0
  448. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/content-area.stories.d.ts +0 -0
  449. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/divider.stories.d.ts +0 -0
  450. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/grid.stories.d.ts +0 -0
  451. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/input.stories.d.ts +0 -0
  452. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/list.stories.d.ts +0 -0
  453. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/main-nav.stories.d.ts +0 -0
  454. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
  455. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/radio.stories.d.ts +0 -0
  456. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/secondary-nav.stories.d.ts +0 -0
  457. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
  458. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/toggle.stories.d.ts +0 -0
  459. /package/dist/types/Users/{roc/Sites → fernandogelin/Projects/apollo-admin/packages}/apollo/.stencil/stories/utility-bar.stories.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"file":"xpl-select.js","mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,eAAe,GAAG,qBAAqB,CAAC;AAC5C;AACA;AACA,IAAI,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;AAChB;AACA;AACA,IAAI,SAAS,GAAG,iBAAiB,CAAC;AAClC;AACA;AACA,IAAI,MAAM,GAAG,YAAY,CAAC;AAC1B;AACA;AACA,IAAI,UAAU,GAAG,oBAAoB,CAAC;AACtC;AACA;AACA,IAAI,UAAU,GAAG,YAAY,CAAC;AAC9B;AACA;AACA,IAAI,SAAS,GAAG,aAAa,CAAC;AAC9B;AACA;AACA,IAAI,YAAY,GAAG,QAAQ,CAAC;AAC5B;AACA;AACA,IAAI,UAAU,GAAG,OAAOA,cAAM,IAAI,QAAQ,IAAIA,cAAM,IAAIA,cAAM,CAAC,MAAM,KAAK,MAAM,IAAIA,cAAM,CAAC;AAC3F;AACA;AACA,IAAI,QAAQ,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,IAAI,CAAC;AACjF;AACA;AACA,IAAI,IAAI,GAAG,UAAU,IAAI,QAAQ,IAAI,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;AAC/D;AACA;AACA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,cAAc,GAAG,WAAW,CAAC,QAAQ,CAAC;AAC1C;AACA;AACA,IAAI,SAAS,GAAG,IAAI,CAAC,GAAG;AACxB,IAAI,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,GAAG,GAAG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AAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAElC,YAAM,CAAC,EAAC,ymBAAymB,GAAG,CAClnB,EACL,IAAI,CAAC,KAAK,CACP,CACX,CACC,EACN,aAAO,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,CACxD,EACT;GACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["global","XplSelect","uuid","throttle"],"sources":["./node_modules/lodash.throttle/index.js","./src/components/components/xpl-select/xpl-select.tsx"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n","import { v4 as uuid } from 'uuid';\nimport {\n Component,\n Host,\n h,\n Prop,\n State,\n Event,\n EventEmitter,\n Watch,\n} from '@stencil/core';\nimport throttle from 'lodash.throttle';\nimport type { DropdownItem } from '../xpl-dropdown/dropdownoption';\n\nfunction tagWidth(text: string): number {\n const context = document.createElement('canvas').getContext('2d');\n context.font =\n \"14px apple-system, system-ui, 'Segoe UI', Arial, Helvetica, Roboto, sans-serif\";\n return context.measureText(text).width + 44; // = text + l/r padding + margin-right\n}\n\n@Component({\n tag: 'xpl-select',\n})\nexport class XplSelect {\n /**\n * An array of choices for the user to choose from.\n * Each choice should be of the form:\n * {\n * label: string;\n * href?: string;\n * value?: string;\n * isGroupHeading?: boolean;\n * }\n */\n @Prop() choices?: DropdownItem[] = [];\n\n /**\n *\n * @param _choices\n */\n @Watch('choices')\n onChoicesChanged(_choices: DropdownItem[]) {\n this.update();\n }\n\n /**\n * Optional text that appears below the input label.\n */\n @Prop() description?: string;\n @Prop() disabled?: boolean;\n /**\n * If an empty string (attribute present with no value),\n * will display visually as an error. If a string is\n * included, will display visually as an error and include\n * the value as an error message.\n */\n @Prop() error?: string;\n\n /**\n * The label that appears above the select dropdown\n */\n @Prop() label?: string;\n /**\n * Whether to allow a single choice or multiple choices.\n */\n @Prop() mode?: 'single' | 'multi' = 'single';\n\n /**\n * The name of the hidden input field that contains the selected option's value(s)\n */\n @Prop() name?: string;\n\n @Prop() placeholder: string;\n /**\n * Only used in multi-choice selects. If `true`,\n * badges representing selections that would overflow the\n * container are replaced with \"+x more\" (where x is the\n * number not shown). If `false`, the container's height will\n * adjust to show all badges representing selections.\n */\n @Prop() truncate?: boolean = true;\n\n @Prop() selectedValues?: string | string[];\n\n /**\n * Emits the value of the selected option in the select menu on change\n */\n @Event() selectChange: EventEmitter<string>;\n\n @State() active: boolean = false;\n @State() id: string = uuid();\n @State() keepFocus: boolean = false;\n @State() selected: boolean[];\n @State() value: string = '';\n @State() displayValue: string = '';\n // infinity isn't real, it's just a mathematical construct, it can't hurt you\n @State() visibleChoices: number = Infinity;\n\n private container!: HTMLElement;\n\n private dropdown: HTMLXplDropdownElement;\n\n componentWillLoad() {\n this.selected =\n this.choices && this.choices.length > 0\n ? this.choices.map(() => false)\n : [];\n\n if (this.selectedValues) {\n const isSingleMode = this.mode === 'single';\n\n if (isSingleMode) {\n const selectedValue = this.selectedValues as string;\n const shouldBeSelected = this.choices.find(\n (choice) =>\n (choice.value !== undefined\n ? choice.value\n : choice.label) === selectedValue\n );\n if (shouldBeSelected !== undefined)\n shouldBeSelected.isSelected = true;\n } else {\n this.choices.forEach(({ options }) => {\n options.forEach((option) => {\n const shouldBeSelected = this.selectedValues.includes(\n option.value || option.label\n );\n\n if (shouldBeSelected) option.isSelected = true;\n });\n });\n }\n\n this.update();\n }\n\n window.addEventListener('click', (e: MouseEvent) => {\n const el = e.target as HTMLElement;\n const select = el.closest('.xpl-select');\n if (select === null || select !== this.container) {\n this.active = false;\n }\n });\n\n window.addEventListener(\n 'resize',\n throttle(() => {\n this.maybeTruncateChoices();\n }, 250)\n );\n }\n componentDidLoad() {\n this.dropdown = this.container.querySelector('xpl-dropdown');\n }\n\n private maybeTruncateChoices(): void {\n if (this.mode === 'single' || !this.truncate) return;\n\n const containerWidth = this.container.getBoundingClientRect().width;\n\n let visibleChoices = 0;\n let visibleChoicesWidth = 0;\n\n const actualNumSelected = this.selected.filter((a) => a).length;\n for (let i = 0; i < actualNumSelected; i++) {\n visibleChoicesWidth += tagWidth(this.getDisplayValue(i));\n if (visibleChoicesWidth > containerWidth - 140) break;\n visibleChoices++;\n }\n\n if (visibleChoices >= actualNumSelected) visibleChoices = Infinity;\n if (visibleChoices < 1) visibleChoices = 1;\n\n this.visibleChoices = visibleChoices;\n }\n\n private flattenChoices(): DropdownItem[] {\n return this.choices.reduce(\n (acc, curr) => [\n ...acc,\n ...(curr.groupName ? curr.options : [curr]),\n ],\n []\n );\n }\n private getDisplayValue(i: number): string {\n return this.flattenChoices()[i].label || this.flattenChoices()[i].value;\n }\n\n private getActualValue(i: number): string {\n return this.flattenChoices()[i].value || this.flattenChoices()[i].label;\n }\n\n private update() {\n this.selected = this.flattenChoices().map(\n ({ isSelected }) => isSelected\n );\n\n if (this.mode === 'single') {\n const selected = this.selected.findIndex((v) => v);\n this.value = selected >= 0 ? this.getActualValue(selected) : '';\n this.displayValue =\n selected >= 0 ? this.getDisplayValue(selected) : '';\n } else if (this.mode === 'multi') {\n this.value = this.selected\n .map((v, i) => {\n return v ? this.getActualValue(i) : '';\n })\n .filter((v) => v.length > 0)\n .join('|');\n }\n }\n\n @Watch('value')\n handleValueStateChange(newValue) {\n this.selectChange.emit(newValue);\n }\n\n render() {\n let visibleChoices = 0;\n return (\n <Host\n class={{\n 'xpl-select': true,\n 'xpl-select--disabled': this.disabled,\n 'xpl-select--no-truncate': !this.truncate,\n }}\n onKeyDown={(e: KeyboardEvent) => {\n if (e.key === 'Escape') this.active = false;\n }}\n ref={(el) => (this.container = el as HTMLElement)}\n >\n {this.label || this.description ? (\n <label\n class={{\n 'xpl-label': true,\n 'xpl-label--disabled': this.disabled,\n }}\n htmlFor={this.id}\n >\n {this.label}\n {this.description && (\n <small\n class={{\n 'xpl-description': true,\n 'xpl-description--disabled': this.disabled,\n }}\n >\n {this.description}\n </small>\n )}\n </label>\n ) : null}\n <div\n class={{\n 'xpl-input': true,\n 'xpl-input--disabled': this.disabled,\n 'xpl-input--error': this.error !== undefined,\n }}\n >\n <div class=\"xpl-input-wrapper\">\n <div\n class={{\n 'xpl-select-value': true,\n 'xpl-select-value--active':\n this.mode === 'multi' &&\n this.value.length > 0,\n 'has-value': this.value.length > 0,\n }}\n >\n {this.mode === 'single'\n ? this.displayValue || this.placeholder\n : this.value.length > 0\n ? this.selected.map((v, i) => {\n if (!v) return null;\n if (\n visibleChoices >= this.visibleChoices\n ) {\n return null;\n }\n visibleChoices++;\n return (\n <xpl-tag\n onClose={() => {\n this.flattenChoices().forEach(\n (v, j) => {\n if (i === j)\n v.isSelected =\n false;\n }\n );\n const mapOptions = (\n option: DropdownItem\n ): DropdownItem => {\n option.options =\n option.groupName\n ? option.options.map(\n mapOptions\n )\n : undefined;\n return option;\n };\n this.choices =\n this.choices.map(\n mapOptions\n );\n\n this.update();\n this.maybeTruncateChoices();\n }}\n >\n {this.getDisplayValue(i)}\n </xpl-tag>\n );\n })\n : this.placeholder}\n {this.visibleChoices < Infinity &&\n `+ ${\n this.selected.filter((a) => a).length -\n this.visibleChoices\n } more`}\n </div>\n <button\n disabled={this.disabled}\n id={this.id}\n onKeyDown={(e: KeyboardEvent) => {\n if (e.key === 'Tab') this.keepFocus = true;\n }}\n onClick={() => {\n const { dropdown } = this;\n if (!this.disabled)\n dropdown.isOpen = !dropdown.isOpen;\n }}\n type=\"button\"\n ></button>\n </div>\n {!this.disabled && (\n <xpl-dropdown\n options={this.choices}\n mode={this.mode}\n triggerId={this.id}\n update={() => {\n this.update();\n this.maybeTruncateChoices();\n }}\n ></xpl-dropdown>\n )}\n {this.error !== undefined && this.error.length > 0 && (\n <label class=\"xpl-input-error\" htmlFor={this.id}>\n <svg\n width=\"10\"\n height=\"11\"\n viewBox=\"0 0 10 11\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M9.84375 5.25C9.84375 2.59375 7.65625 0.40625 5 0.40625C2.32422 0.40625 0.15625 2.59375 0.15625 5.25C0.15625 7.92578 2.32422 10.0938 5 10.0938C7.65625 10.0938 9.84375 7.92578 9.84375 5.25ZM5 6.22656C5.48828 6.22656 5.89844 6.63672 5.89844 7.125C5.89844 7.63281 5.48828 8.02344 5 8.02344C4.49219 8.02344 4.10156 7.63281 4.10156 7.125C4.10156 6.63672 4.49219 6.22656 5 6.22656ZM4.14062 3.00391C4.12109 2.86719 4.23828 2.75 4.375 2.75H5.60547C5.74219 2.75 5.85938 2.86719 5.83984 3.00391L5.70312 5.66016C5.68359 5.79688 5.58594 5.875 5.46875 5.875H4.51172C4.39453 5.875 4.29688 5.79688 4.27734 5.66016L4.14062 3.00391Z\" />\n </svg>\n {this.error}\n </label>\n )}\n </div>\n <input type=\"hidden\" name={this.name} value={this.value} />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface XplTable extends Components.XplTable, HTMLElement {}
4
- export const XplTable: {
5
- prototype: XplTable;
6
- new (): XplTable;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,170 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
-
3
- const XplTable$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
4
- constructor() {
5
- super();
6
- this.__registerHost();
7
- this.tableSelect = createEvent(this, "tableSelect", 7);
8
- this.selectAllValue = Math.random().toString(36).slice(2);
9
- this.selectAll = (e) => {
10
- const { target } = e;
11
- if (!(target instanceof HTMLInputElement))
12
- return;
13
- const { checked } = target;
14
- this.areAllSelected = checked;
15
- this.selected =
16
- this.selectedValues.length > 0
17
- ? // gets all checkboxes in body
18
- Array.from(this.el.querySelectorAll('tbody td:first-child input')).map((input) =>
19
- // if the select all checkbox is checked, return
20
- // the value from the current input. If false, set all to false.
21
- checked ? input === null || input === void 0 ? void 0 : input.value : checked)
22
- : this.selected.map(() => checked);
23
- this.onChange();
24
- };
25
- this.selectOne = (e, checkboxIdx) => {
26
- const { target } = e;
27
- if (!(target instanceof HTMLInputElement))
28
- return;
29
- const { checked, value } = target;
30
- this.areAllSelected = false;
31
- this.selected = this.selected.map((v, selectedIdx) => {
32
- // if the checkbox that fired the event is not the current idx
33
- // return the current value
34
- if (selectedIdx !== checkboxIdx)
35
- return v;
36
- /**
37
- * If there are values in this.selectedValues, either return the value
38
- * for that checkbox or false, dependent on if the checkbox is checked or not.
39
- * If there are no values in this.selectedValues, return the value
40
- * to either true or false, dependent on if the checkbox is checked or not.
41
- *
42
- */
43
- return this.selectedValues.length > 0
44
- ? checked
45
- ? value
46
- : checked
47
- : checked;
48
- });
49
- this.onChange();
50
- };
51
- this.onChange = () => {
52
- this.tableSelect.emit({
53
- selected: this.selected,
54
- areAllSelected: this.areAllSelected,
55
- });
56
- };
57
- this.onScroll = () => {
58
- this.hasScrolled = this.container.scrollLeft > 0;
59
- };
60
- /**
61
- * TODO: Need to figure out how this interplays with data
62
- * received from an API/server
63
- */
64
- // private sortBy = (col: number, ascending = true) => {
65
- // this.rowData.sort((a, b) => {
66
- // const A = a[col];
67
- // const B = b[col];
68
- // if (typeof A === 'number' && typeof B === 'number') {
69
- // const f = ascending ? 1 : -1;
70
- // return A > B ? f : -f;
71
- // }
72
- // return -1;
73
- // });
74
- // this.rowData = Array.from(this.rowData);
75
- // this.render();
76
- // };
77
- this.setData = () => {
78
- this.rowData = this.data !== undefined ? Array.from(this.data) : [];
79
- };
80
- this.columns = undefined;
81
- this.data = undefined;
82
- this.freeze = undefined;
83
- this.multiselect = undefined;
84
- this.striped = undefined;
85
- this.selectedValues = [];
86
- this.areAllSelected = false;
87
- this.rowData = undefined;
88
- this.hasScrolled = false;
89
- this.selected = undefined;
90
- }
91
- watchData() {
92
- this.setData();
93
- }
94
- componentWillLoad() {
95
- this.areAllSelected = false;
96
- this.setData();
97
- this.selected = new Array(this.rowData.length).fill(false);
98
- }
99
- render() {
100
- let className = 'xpl-table';
101
- if (this.striped)
102
- className += ' xpl-table--striped';
103
- if (this.freeze)
104
- className += ' xpl-table--freeze';
105
- if (this.hasScrolled)
106
- className += ' xpl-table--has-scrolled';
107
- return (h(Host, null, h("div", { class: "xpl-table-container", onScroll: this.onScroll, ref: (el) => (this.container = el) }, h("table", { class: className }, this.columns && (h("thead", null, this.columns.map((column, i) => {
108
- return (h("th", null, this.multiselect && i === 0 ? (h("label", { htmlFor: "__xpl-table-th" }, h("input", { checked: this.areAllSelected, id: "__xpl-table-th",
109
- // appear indeterminate when at least one but not all
110
- // are selected
111
- indeterminate: !this
112
- .areAllSelected &&
113
- this.selected.some((a) => a), onChange: (e) => {
114
- this.selectAll(e);
115
- }, type: "checkbox", value: `select-all-${this.selectAllValue}` }), column)) : (column)));
116
- }))), h("tbody", null, this.rowData.map((row, rowNum) => {
117
- return (h("tr", { class: this.selected &&
118
- this.selected[rowNum]
119
- ? 'xpl-table-row-selected'
120
- : '' }, row.map((cell, i) => {
121
- return (h("td", null, this.multiselect &&
122
- i === 0 ? (h("label", { htmlFor: '__xpl-table-row-' +
123
- rowNum }, h("input", { id: '__xpl-table-row-' +
124
- rowNum, checked: !!this
125
- .selected[rowNum], type: "checkbox", onChange: (e) => this.selectOne(e, rowNum), value: `${this
126
- .selectedValues
127
- .length >
128
- 0
129
- ? this
130
- .selectedValues[rowNum]
131
- : `xpl-table-checkbox-${rowNum}`}` }), h("div", { innerHTML: cell }))) : (h("div", { innerHTML: cell }))));
132
- })));
133
- }))))));
134
- }
135
- get el() { return this; }
136
- static get watchers() { return {
137
- "data": ["watchData"]
138
- }; }
139
- }, [0, "xpl-table", {
140
- "columns": [16],
141
- "data": [16],
142
- "freeze": [4],
143
- "multiselect": [4],
144
- "striped": [4],
145
- "selectedValues": [16],
146
- "areAllSelected": [32],
147
- "rowData": [32],
148
- "hasScrolled": [32],
149
- "selected": [32]
150
- }]);
151
- function defineCustomElement$1() {
152
- if (typeof customElements === "undefined") {
153
- return;
154
- }
155
- const components = ["xpl-table"];
156
- components.forEach(tagName => { switch (tagName) {
157
- case "xpl-table":
158
- if (!customElements.get(tagName)) {
159
- customElements.define(tagName, XplTable$1);
160
- }
161
- break;
162
- } });
163
- }
164
-
165
- const XplTable = XplTable$1;
166
- const defineCustomElement = defineCustomElement$1;
167
-
168
- export { XplTable, defineCustomElement };
169
-
170
- //# sourceMappingURL=xpl-table.js.map
@@ -1 +0,0 @@
1
- {"file":"xpl-table.js","mappings":";;MAeaA,UAAQ;;;;;IAkCT,mBAAc,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,QAA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,CACf,MAAM,CACT;cACD,sBAAsB,MAAM,EACtC,EAAE,GACJ,EACF,WACI,SAAS,EAAE,IAAI,GACjB,CACE,KAER,WAAK,SAAS,EAAE,IAAI,GAAI,CAC3B,CACA,EACP;OACL,CAAC,CACD,EACP;KACL,CAAC,CACE,CACJ,CACN,CACH,EACT;GACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["XplTable"],"sources":["./src/components/components/xpl-table/xpl-table.tsx"],"sourcesContent":["import {\n Component,\n Host,\n Prop,\n State,\n Element,\n Event,\n EventEmitter,\n h,\n Watch,\n} from '@stencil/core';\n\n@Component({\n tag: 'xpl-table',\n})\nexport class XplTable {\n @Element() el: HTMLXplTableElement;\n /**\n * The header values for each column.\n */\n @Prop() columns?: string[];\n /**\n * The data for the body of the table.\n */\n @Prop() data?: string[][];\n /**\n * When true, the first column of the table is sticky and will cover the leftmost rows in a horizontally scrollable container.\n */\n @Prop() freeze?: boolean;\n /**\n * Toggles a selectable checkbox for each row in the table\n */\n @Prop() multiselect?: boolean;\n /**\n * Toggles an optional styling of the background of each even row of the table body.\n */\n @Prop() striped?: boolean;\n /**\n * The values for the input for each row when multiselect is activated.\n */\n @Prop() selectedValues?: string[] = [];\n\n @State() areAllSelected: boolean = false;\n @State() rowData: string[][];\n @State() hasScrolled: boolean = false;\n @State() selected: (string | boolean)[];\n\n @Event() tableSelect: EventEmitter;\n\n private selectAllValue = Math.random().toString(36).slice(2);\n\n private container!: HTMLDivElement;\n\n private selectAll = (e: Event) => {\n const { target } = e;\n\n if (!(target instanceof HTMLInputElement)) return;\n\n const { checked } = target;\n\n this.areAllSelected = checked;\n\n this.selected =\n this.selectedValues.length > 0\n ? // gets all checkboxes in body\n Array.from(\n this.el.querySelectorAll('tbody td:first-child input')\n ).map((input: HTMLInputElement) =>\n // if the select all checkbox is checked, return\n // the value from the current input. If false, set all to false.\n checked ? input?.value : checked\n )\n : this.selected.map(() => checked);\n this.onChange();\n };\n\n private selectOne = (e: Event, checkboxIdx: number) => {\n const { target } = e;\n if (!(target instanceof HTMLInputElement)) return;\n\n const { checked, value } = target;\n\n this.areAllSelected = false;\n this.selected = this.selected.map((v, selectedIdx) => {\n // if the checkbox that fired the event is not the current idx\n // return the current value\n if (selectedIdx !== checkboxIdx) return v;\n\n /**\n * If there are values in this.selectedValues, either return the value\n * for that checkbox or false, dependent on if the checkbox is checked or not.\n * If there are no values in this.selectedValues, return the value\n * to either true or false, dependent on if the checkbox is checked or not.\n *\n */\n return this.selectedValues.length > 0\n ? checked\n ? value\n : checked\n : checked;\n });\n this.onChange();\n };\n\n private onChange = () => {\n this.tableSelect.emit({\n selected: this.selected,\n areAllSelected: this.areAllSelected,\n });\n };\n\n private onScroll = () => {\n this.hasScrolled = this.container.scrollLeft > 0;\n };\n\n /**\n * TODO: Need to figure out how this interplays with data\n * received from an API/server\n */\n // private sortBy = (col: number, ascending = true) => {\n // this.rowData.sort((a, b) => {\n // const A = a[col];\n // const B = b[col];\n // if (typeof A === 'number' && typeof B === 'number') {\n // const f = ascending ? 1 : -1;\n // return A > B ? f : -f;\n // }\n // return -1;\n // });\n // this.rowData = Array.from(this.rowData);\n // this.render();\n // };\n\n private setData = () => {\n this.rowData = this.data !== undefined ? Array.from(this.data) : [];\n };\n\n @Watch('data')\n watchData() {\n this.setData();\n }\n\n componentWillLoad() {\n this.areAllSelected = false;\n this.setData();\n this.selected = new Array(this.rowData.length).fill(false);\n }\n\n render() {\n let className = 'xpl-table';\n if (this.striped) className += ' xpl-table--striped';\n if (this.freeze) className += ' xpl-table--freeze';\n if (this.hasScrolled) className += ' xpl-table--has-scrolled';\n\n return (\n <Host>\n <div\n class=\"xpl-table-container\"\n onScroll={this.onScroll}\n ref={(el) => (this.container = el as HTMLDivElement)}\n >\n <table class={className}>\n {this.columns && (\n <thead>\n {this.columns.map((column, i) => {\n return (\n <th>\n {this.multiselect && i === 0 ? (\n <label htmlFor=\"__xpl-table-th\">\n <input\n checked={\n this.areAllSelected\n }\n id=\"__xpl-table-th\"\n // appear indeterminate when at least one but not all\n // are selected\n indeterminate={\n !this\n .areAllSelected &&\n this.selected.some(\n (a) => a\n )\n }\n onChange={(e) => {\n this.selectAll(e);\n }}\n type=\"checkbox\"\n value={`select-all-${this.selectAllValue}`}\n />\n {column}\n </label>\n ) : (\n column\n )}\n </th>\n );\n })}\n </thead>\n )}\n <tbody>\n {this.rowData.map((row, rowNum) => {\n return (\n <tr\n class={\n this.selected &&\n this.selected[rowNum]\n ? 'xpl-table-row-selected'\n : ''\n }\n >\n {row.map((cell, i) => {\n return (\n <td>\n {this.multiselect &&\n i === 0 ? (\n <label\n htmlFor={\n '__xpl-table-row-' +\n rowNum\n }\n >\n <input\n id={\n '__xpl-table-row-' +\n rowNum\n }\n checked={\n !!this\n .selected[\n rowNum\n ]\n }\n type=\"checkbox\"\n onChange={(e) =>\n this.selectOne(\n e,\n rowNum\n )\n }\n value={`${\n this\n .selectedValues\n .length >\n 0\n ? this\n .selectedValues[\n rowNum\n ]\n : `xpl-table-checkbox-${rowNum}`\n }`}\n />\n <div\n innerHTML={cell}\n />\n </label>\n ) : (\n <div innerHTML={cell} />\n )}\n </td>\n );\n })}\n </tr>\n );\n })}\n </tbody>\n </table>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface XplTag extends Components.XplTag, HTMLElement {}
4
- export const XplTag: {
5
- prototype: XplTag;
6
- new (): XplTag;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,8 +0,0 @@
1
- import { X as XplTag$1, d as defineCustomElement$1 } from './xpl-tag2.js';
2
-
3
- const XplTag = XplTag$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { XplTag, defineCustomElement };
7
-
8
- //# sourceMappingURL=xpl-tag.js.map
@@ -1 +0,0 @@
1
- {"file":"xpl-tag.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1,33 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
-
3
- const XplTag = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
4
- constructor() {
5
- super();
6
- this.__registerHost();
7
- this.close = createEvent(this, "close", 7);
8
- }
9
- render() {
10
- return (h(Host, { class: "xpl-tag-container" }, h("button", { class: "xpl-tag", onClick: () => {
11
- this.close.emit();
12
- } }, h("slot", null)), h("button", { class: "xpl-tag__close", onClick: () => {
13
- this.close.emit();
14
- } }, "\u00D7")));
15
- }
16
- }, [4, "xpl-tag"]);
17
- function defineCustomElement() {
18
- if (typeof customElements === "undefined") {
19
- return;
20
- }
21
- const components = ["xpl-tag"];
22
- components.forEach(tagName => { switch (tagName) {
23
- case "xpl-tag":
24
- if (!customElements.get(tagName)) {
25
- customElements.define(tagName, XplTag);
26
- }
27
- break;
28
- } });
29
- }
30
-
31
- export { XplTag as X, defineCustomElement as d };
32
-
33
- //# sourceMappingURL=xpl-tag2.js.map
@@ -1 +0,0 @@
1
- {"file":"xpl-tag2.js","mappings":";;MAKa,MAAM;;;;;;EAGf,MAAM;IACF,QACI,EAAC,IAAI,IAAC,KAAK,EAAC,mBAAmB,IAC3B,cACI,KAAK,EAAC,SAAS,EACf,OAAO,EAAE;QACL,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;OACrB,IAED,eAAa,CACR,EACT,cACI,KAAK,EAAC,gBAAgB,EACtB,OAAO,EAAE;QACL,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;OACrB,aAGI,CACN,EACT;GACL;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/components/xpl-tag/xpl-tag.tsx"],"sourcesContent":["import { Component, Host, h, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'xpl-tag',\n})\nexport class XplTag {\n @Event() close: EventEmitter;\n\n render() {\n return (\n <Host class=\"xpl-tag-container\">\n <button\n class=\"xpl-tag\"\n onClick={() => {\n this.close.emit();\n }}\n >\n <slot></slot>\n </button>\n <button\n class=\"xpl-tag__close\"\n onClick={() => {\n this.close.emit();\n }}\n >\n &times;\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface XplToggle extends Components.XplToggle, HTMLElement {}
4
- export const XplToggle: {
5
- prototype: XplToggle;
6
- new (): XplToggle;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,61 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { v as v4 } from './v4.js';
3
-
4
- const XplToggle$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
5
- constructor() {
6
- super();
7
- this.__registerHost();
8
- this.checked = undefined;
9
- this.description = undefined;
10
- this.disabled = undefined;
11
- this.heading = undefined;
12
- this.label = undefined;
13
- this.name = undefined;
14
- this.variant = 'default';
15
- this.id = v4();
16
- }
17
- render() {
18
- let containerClassName = 'xpl-toggle-container';
19
- if (this.disabled)
20
- containerClassName += ' xpl-toggle-container--disabled';
21
- let className = 'xpl-toggle';
22
- if (this.variant === 'small')
23
- className += ' xpl-toggle--small';
24
- return (h(Host, { class: containerClassName }, (this.heading || this.description) && (h("label", { class: {
25
- 'xpl-label': true,
26
- 'xpl-label--disabled': this.disabled,
27
- }, htmlFor: this.id }, this.heading, this.description && (h("small", { class: {
28
- 'xpl-description': true,
29
- 'xpl-description--disabled': this.disabled,
30
- } }, this.description)))), h("input", { class: className, type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name }), this.label && h("label", { htmlFor: this.id }, this.label)));
31
- }
32
- }, [0, "xpl-toggle", {
33
- "checked": [4],
34
- "description": [1],
35
- "disabled": [4],
36
- "heading": [1],
37
- "label": [1],
38
- "name": [1],
39
- "variant": [1],
40
- "id": [32]
41
- }]);
42
- function defineCustomElement$1() {
43
- if (typeof customElements === "undefined") {
44
- return;
45
- }
46
- const components = ["xpl-toggle"];
47
- components.forEach(tagName => { switch (tagName) {
48
- case "xpl-toggle":
49
- if (!customElements.get(tagName)) {
50
- customElements.define(tagName, XplToggle$1);
51
- }
52
- break;
53
- } });
54
- }
55
-
56
- const XplToggle = XplToggle$1;
57
- const defineCustomElement = defineCustomElement$1;
58
-
59
- export { XplToggle, defineCustomElement };
60
-
61
- //# sourceMappingURL=xpl-toggle.js.map
@@ -1 +0,0 @@
1
- {"file":"xpl-toggle.js","mappings":";;;MAMaA,WAAS;;;;;;;;;;mBAmBsB,SAAS;cAE3BC,EAAI,EAAE;;EAE5B,MAAM;IACF,IAAI,kBAAkB,GAAG,sBAAsB,CAAC;IAChD,IAAI,IAAI,CAAC,QAAQ;MACb,kBAAkB,IAAI,iCAAiC,CAAC;IAE5D,IAAI,SAAS,GAAG,YAAY,CAAC;IAC7B,IAAI,IAAI,CAAC,OAAO,KAAK,OAAO;MAAE,SAAS,IAAI,oBAAoB,CAAC;IAEhE,QACI,EAAC,IAAI,IAAC,KAAK,EAAE,kBAAkB,IAC1B,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,WAAW,MAC9B,aACI,KAAK,EAAE;QACH,WAAW,EAAE,IAAI;QACjB,qBAAqB,EAAE,IAAI,CAAC,QAAQ;OACvC,EACD,OAAO,EAAE,IAAI,CAAC,EAAE,IAEf,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,WAAW,KACb,aACI,KAAK,EAAE;QACH,iBAAiB,EAAE,IAAI;QACvB,2BAA2B,EAAE,IAAI,CAAC,QAAQ;OAC7C,IAEA,IAAI,CAAC,WAAW,CACb,CACX,CACG,CACX,EACD,aACI,KAAK,EAAE,SAAS,EAChB,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,IAAI,EAAE,IAAI,CAAC,IAAI,GACV,EACR,IAAI,CAAC,KAAK,IAAI,aAAO,OAAO,EAAE,IAAI,CAAC,EAAE,IAAG,IAAI,CAAC,KAAK,CAAS,CACzD,EACT;GACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["XplToggle","uuid"],"sources":["./src/components/components/xpl-toggle/xpl-toggle.tsx"],"sourcesContent":["import { Component, Host, h, Prop, State } from '@stencil/core';\nimport { v4 as uuid } from 'uuid';\n\n@Component({\n tag: 'xpl-toggle',\n})\nexport class XplToggle {\n @Prop() checked?: boolean;\n /**\n * The toggle's description appears *above* the toggle.\n */\n @Prop() description?: string;\n @Prop() disabled?: boolean;\n /**\n * The toggle's heading appears *above* the toggle.\n */\n @Prop() heading?: string;\n /**\n * The toggle's label appears *to the right of* the toggle.\n */\n @Prop() label?: string;\n @Prop() name?: string;\n /**\n * The size of the toggle -- `default` or `small`\n */\n @Prop() variant?: 'default' | 'small' = 'default';\n\n @State() id: string = uuid();\n\n render() {\n let containerClassName = 'xpl-toggle-container';\n if (this.disabled)\n containerClassName += ' xpl-toggle-container--disabled';\n\n let className = 'xpl-toggle';\n if (this.variant === 'small') className += ' xpl-toggle--small';\n\n return (\n <Host class={containerClassName}>\n {(this.heading || this.description) && (\n <label\n class={{\n 'xpl-label': true,\n 'xpl-label--disabled': this.disabled,\n }}\n htmlFor={this.id}\n >\n {this.heading}\n {this.description && (\n <small\n class={{\n 'xpl-description': true,\n 'xpl-description--disabled': this.disabled,\n }}\n >\n {this.description}\n </small>\n )}\n </label>\n )}\n <input\n class={className}\n type=\"checkbox\"\n checked={this.checked}\n disabled={this.disabled}\n id={this.id}\n name={this.name}\n ></input>\n {this.label && <label htmlFor={this.id}>{this.label}</label>}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../types/components";
2
-
3
- interface XplUtilityBar extends Components.XplUtilityBar, HTMLElement {}
4
- export const XplUtilityBar: {
5
- prototype: XplUtilityBar;
6
- new (): XplUtilityBar;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,55 +0,0 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$2 } from './xpl-icon2.js';
3
-
4
- const XplUtilityBar$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
5
- constructor() {
6
- super();
7
- this.__registerHost();
8
- this.navOpen = createEvent(this, "navOpen", 7);
9
- this.navControl = undefined;
10
- this.isNavOpenAtStartup = undefined;
11
- this.open = true;
12
- }
13
- onNavToggle() {
14
- this.open = !this.open;
15
- this.navOpen.emit(this.open);
16
- }
17
- componentWillLoad() {
18
- this.open =
19
- this.isNavOpenAtStartup !== undefined
20
- ? this.isNavOpenAtStartup
21
- : this.open;
22
- }
23
- render() {
24
- return (h(Host, null, h("nav", { "aria-label": "utility navigation bar", class: "xpl-utility-bar" }, this.navControl ? (h("div", null, h("button", { class: "xpl-utility-bar__nav-control", onClick: () => this.onNavToggle() }, h("xpl-icon", { class: "xpl-utility-nav__bars", icon: "three-bars" })), h("slot", { name: "aside" }))) : (h("slot", { name: "aside" })), h("slot", { name: "main" }))));
25
- }
26
- }, [4, "xpl-utility-bar", {
27
- "navControl": [4, "nav-control"],
28
- "isNavOpenAtStartup": [4, "is-nav-open-at-startup"],
29
- "open": [32]
30
- }]);
31
- function defineCustomElement$1() {
32
- if (typeof customElements === "undefined") {
33
- return;
34
- }
35
- const components = ["xpl-utility-bar", "xpl-icon"];
36
- components.forEach(tagName => { switch (tagName) {
37
- case "xpl-utility-bar":
38
- if (!customElements.get(tagName)) {
39
- customElements.define(tagName, XplUtilityBar$1);
40
- }
41
- break;
42
- case "xpl-icon":
43
- if (!customElements.get(tagName)) {
44
- defineCustomElement$2();
45
- }
46
- break;
47
- } });
48
- }
49
-
50
- const XplUtilityBar = XplUtilityBar$1;
51
- const defineCustomElement = defineCustomElement$1;
52
-
53
- export { XplUtilityBar, defineCustomElement };
54
-
55
- //# sourceMappingURL=xpl-utility-bar.js.map
@@ -1 +0,0 @@
1
- {"file":"xpl-utility-bar.js","mappings":";;;MAaaA,eAAa;;;;;;;gBAgBG,IAAI;;EAErB,WAAW;IACf,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;IACvB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GAChC;EAED,iBAAiB;IACb,IAAI,CAAC,IAAI;MACL,IAAI,CAAC,kBAAkB,KAAK,SAAS;UAC/B,IAAI,CAAC,kBAAkB;UACvB,IAAI,CAAC,IAAI,CAAC;GACvB;EACD,MAAM;IACF,QACI,EAAC,IAAI,QACD,yBACe,wBAAwB,EACnC,KAAK,EAAC,iBAAiB,IAEtB,IAAI,CAAC,UAAU,IACZ,eACI,cACI,KAAK,EAAC,8BAA8B,EACpC,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,IAEjC,gBACI,KAAK,EAAC,uBAAuB,EAC7B,IAAI,EAAC,YAAY,GACT,CACP,EACT,YAAM,IAAI,EAAC,OAAO,GAAQ,CACxB,KAEN,YAAM,IAAI,EAAC,OAAO,GAAQ,CAC7B,EACD,YAAM,IAAI,EAAC,MAAM,GAAQ,CACvB,CACH,EACT;GACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["XplUtilityBar"],"sources":["./src/components/components/xpl-utility-bar/xpl-utility-bar.tsx"],"sourcesContent":["import {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\n\n@Component({\n tag: 'xpl-utility-bar',\n})\nexport class XplUtilityBar {\n /**\n * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)\n */\n @Event() navOpen: EventEmitter<boolean>;\n\n /**\n * @property {boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)\n */\n @Prop() navControl?: boolean;\n\n /**\n * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.\n */\n @Prop() isNavOpenAtStartup?: boolean;\n\n @State() open: boolean = true;\n\n private onNavToggle() {\n this.open = !this.open;\n this.navOpen.emit(this.open);\n }\n\n componentWillLoad() {\n this.open =\n this.isNavOpenAtStartup !== undefined\n ? this.isNavOpenAtStartup\n : this.open;\n }\n render() {\n return (\n <Host>\n <nav\n aria-label=\"utility navigation bar\"\n class=\"xpl-utility-bar\"\n >\n {this.navControl ? (\n <div>\n <button\n class=\"xpl-utility-bar__nav-control\"\n onClick={() => this.onNavToggle()}\n >\n <xpl-icon\n class=\"xpl-utility-nav__bars\"\n icon=\"three-bars\"\n ></xpl-icon>\n </button>\n <slot name=\"aside\"></slot>\n </div>\n ) : (\n <slot name=\"aside\"></slot>\n )}\n <slot name=\"main\"></slot>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"apollo-core.js","mappings":";;;AAAA;AACA;AACA;AAiBA,MAAM,YAAY,GAAG,MAAM;AAkC3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAgBlF;AACA,IAAI,IAAuB,UAAU,KAAK,EAAE,EAAE;AAC9C,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D;AACA;AACA,KAaK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACtFD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.1.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\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 // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\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(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}