@haiilo/catalyst 6.0.3 → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/dist/catalyst/catalyst.esm.js +1 -1
  2. package/dist/catalyst/catalyst.esm.js.map +1 -1
  3. package/dist/catalyst/index.esm.js +2 -2
  4. package/dist/catalyst/index.esm.js.map +1 -1
  5. package/dist/catalyst/p-2a094d64.entry.js +10 -0
  6. package/dist/catalyst/p-2a094d64.entry.js.map +1 -0
  7. package/dist/catalyst/{p-d7dc291a.js → p-48621e71.js} +1 -1
  8. package/dist/catalyst/p-48621e71.js.map +1 -0
  9. package/dist/catalyst/p-6904eb66.js +3 -0
  10. package/dist/catalyst/p-6904eb66.js.map +1 -0
  11. package/dist/cjs/cat-alert_25.cjs.entry.js +21 -9
  12. package/dist/cjs/cat-alert_25.cjs.entry.js.map +1 -1
  13. package/dist/cjs/{cat-icon-registry-6161e2ee.js → cat-icon-registry-5647cf1f.js} +1 -1
  14. package/dist/cjs/cat-icon-registry-5647cf1f.js.map +1 -0
  15. package/dist/cjs/catalyst.cjs.js +3 -6
  16. package/dist/cjs/catalyst.cjs.js.map +1 -1
  17. package/dist/cjs/{index-4258b31e.js → index-e06682a8.js} +89 -32
  18. package/dist/cjs/index-e06682a8.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +1 -1
  20. package/dist/cjs/index.cjs.js.map +1 -1
  21. package/dist/cjs/loader.cjs.js +2 -11
  22. package/dist/cjs/loader.cjs.js.map +1 -1
  23. package/dist/collection/collection-manifest.json +27 -27
  24. package/dist/collection/components/cat-alert/cat-alert.e2e.js +11 -0
  25. package/dist/collection/components/cat-alert/cat-alert.e2e.js.map +1 -0
  26. package/dist/collection/components/cat-alert/cat-alert.js +2 -2
  27. package/dist/collection/components/cat-alert/cat-alert.spec.js +21 -0
  28. package/dist/collection/components/cat-alert/cat-alert.spec.js.map +1 -0
  29. package/dist/collection/components/cat-avatar/cat-avatar.e2e.js +10 -0
  30. package/dist/collection/components/cat-avatar/cat-avatar.e2e.js.map +1 -0
  31. package/dist/collection/components/cat-avatar/cat-avatar.js +3 -3
  32. package/dist/collection/components/cat-avatar/cat-avatar.spec.js +18 -0
  33. package/dist/collection/components/cat-avatar/cat-avatar.spec.js.map +1 -0
  34. package/dist/collection/components/cat-badge/cat-badge.e2e.js +10 -0
  35. package/dist/collection/components/cat-badge/cat-badge.e2e.js.map +1 -0
  36. package/dist/collection/components/cat-badge/cat-badge.js +1 -1
  37. package/dist/collection/components/cat-badge/cat-badge.spec.js +18 -0
  38. package/dist/collection/components/cat-badge/cat-badge.spec.js.map +1 -0
  39. package/dist/collection/components/cat-button/cat-button.e2e.js +10 -0
  40. package/dist/collection/components/cat-button/cat-button.e2e.js.map +1 -0
  41. package/dist/collection/components/cat-button/cat-button.js +20 -12
  42. package/dist/collection/components/cat-button/cat-button.js.map +1 -1
  43. package/dist/collection/components/cat-button/cat-button.spec.js +18 -0
  44. package/dist/collection/components/cat-button/cat-button.spec.js.map +1 -0
  45. package/dist/collection/components/cat-button-group/cat-button-group.e2e.js +10 -0
  46. package/dist/collection/components/cat-button-group/cat-button-group.e2e.js.map +1 -0
  47. package/dist/collection/components/cat-button-group/cat-button-group.js +1 -1
  48. package/dist/collection/components/cat-button-group/cat-button-group.spec.js +18 -0
  49. package/dist/collection/components/cat-button-group/cat-button-group.spec.js.map +1 -0
  50. package/dist/collection/components/cat-card/cat-card.e2e.js +10 -0
  51. package/dist/collection/components/cat-card/cat-card.e2e.js.map +1 -0
  52. package/dist/collection/components/cat-card/cat-card.js +1 -1
  53. package/dist/collection/components/cat-card/cat-card.spec.js +18 -0
  54. package/dist/collection/components/cat-card/cat-card.spec.js.map +1 -0
  55. package/dist/collection/components/cat-checkbox/cat-checkbox.e2e.js +10 -0
  56. package/dist/collection/components/cat-checkbox/cat-checkbox.e2e.js.map +1 -0
  57. package/dist/collection/components/cat-checkbox/cat-checkbox.js +51 -31
  58. package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
  59. package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js +29 -0
  60. package/dist/collection/components/cat-checkbox/cat-checkbox.spec.js.map +1 -0
  61. package/dist/collection/components/cat-datepicker/cat-datepicker.e2e.js +11 -0
  62. package/dist/collection/components/cat-datepicker/cat-datepicker.e2e.js.map +1 -0
  63. package/dist/collection/components/cat-datepicker/cat-datepicker.js +18 -12
  64. package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
  65. package/dist/collection/components/cat-datepicker/cat-datepicker.locale.js +1 -1
  66. package/dist/collection/components/cat-datepicker/cat-datepicker.spec.js +19 -0
  67. package/dist/collection/components/cat-datepicker/cat-datepicker.spec.js.map +1 -0
  68. package/dist/collection/components/cat-dropdown/cat-dropdown.e2e.js +10 -0
  69. package/dist/collection/components/cat-dropdown/cat-dropdown.e2e.js.map +1 -0
  70. package/dist/collection/components/cat-dropdown/cat-dropdown.js +17 -11
  71. package/dist/collection/components/cat-dropdown/cat-dropdown.js.map +1 -1
  72. package/dist/collection/components/cat-dropdown/cat-dropdown.spec.js +26 -0
  73. package/dist/collection/components/cat-dropdown/cat-dropdown.spec.js.map +1 -0
  74. package/dist/collection/components/cat-form-group/cat-form-group.e2e.js +10 -0
  75. package/dist/collection/components/cat-form-group/cat-form-group.e2e.js.map +1 -0
  76. package/dist/collection/components/cat-form-group/cat-form-group.js +1 -1
  77. package/dist/collection/components/cat-form-group/cat-form-group.spec.js +18 -0
  78. package/dist/collection/components/cat-form-group/cat-form-group.spec.js.map +1 -0
  79. package/dist/collection/components/cat-form-hint/cat-form-hint.js +2 -2
  80. package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js +15 -0
  81. package/dist/collection/components/cat-form-hint/cat-form-hint.spec.js.map +1 -0
  82. package/dist/collection/components/cat-i18n/cat-i18n-registry.js +1 -1
  83. package/dist/collection/components/cat-i18n/cat-i18n-registry.spec.js +7 -0
  84. package/dist/collection/components/cat-i18n/cat-i18n-registry.spec.js.map +1 -0
  85. package/dist/collection/components/cat-icon/cat-icon-registry.js +13 -13
  86. package/dist/collection/components/cat-icon/cat-icon-registry.spec.js +7 -0
  87. package/dist/collection/components/cat-icon/cat-icon-registry.spec.js.map +1 -0
  88. package/dist/collection/components/cat-icon/cat-icon.e2e.js +11 -0
  89. package/dist/collection/components/cat-icon/cat-icon.e2e.js.map +1 -0
  90. package/dist/collection/components/cat-icon/cat-icon.js +2 -2
  91. package/dist/collection/components/cat-icon/cat-icon.spec.js +15 -0
  92. package/dist/collection/components/cat-icon/cat-icon.spec.js.map +1 -0
  93. package/dist/collection/components/cat-input/cat-input.e2e.js +11 -0
  94. package/dist/collection/components/cat-input/cat-input.e2e.js.map +1 -0
  95. package/dist/collection/components/cat-input/cat-input.js +21 -13
  96. package/dist/collection/components/cat-input/cat-input.js.map +1 -1
  97. package/dist/collection/components/cat-input/cat-input.spec.js +36 -0
  98. package/dist/collection/components/cat-input/cat-input.spec.js.map +1 -0
  99. package/dist/collection/components/cat-notification/cat-notification.js +4 -3
  100. package/dist/collection/components/cat-notification/cat-notification.js.map +1 -1
  101. package/dist/collection/components/cat-notification/cat-notification.spec.js +7 -0
  102. package/dist/collection/components/cat-notification/cat-notification.spec.js.map +1 -0
  103. package/dist/collection/components/cat-pagination/cat-pagination.e2e.js +14 -0
  104. package/dist/collection/components/cat-pagination/cat-pagination.e2e.js.map +1 -0
  105. package/dist/collection/components/cat-pagination/cat-pagination.js +2 -2
  106. package/dist/collection/components/cat-pagination/cat-pagination.spec.js +31 -0
  107. package/dist/collection/components/cat-pagination/cat-pagination.spec.js.map +1 -0
  108. package/dist/collection/components/cat-radio/cat-radio.e2e.js +10 -0
  109. package/dist/collection/components/cat-radio/cat-radio.e2e.js.map +1 -0
  110. package/dist/collection/components/cat-radio/cat-radio.js +13 -8
  111. package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
  112. package/dist/collection/components/cat-radio/cat-radio.spec.js +24 -0
  113. package/dist/collection/components/cat-radio/cat-radio.spec.js.map +1 -0
  114. package/dist/collection/components/cat-radio-group/cat-radio-group.e2e.js +10 -0
  115. package/dist/collection/components/cat-radio-group/cat-radio-group.e2e.js.map +1 -0
  116. package/dist/collection/components/cat-radio-group/cat-radio-group.js +5 -3
  117. package/dist/collection/components/cat-radio-group/cat-radio-group.js.map +1 -1
  118. package/dist/collection/components/cat-radio-group/cat-radio-group.spec.js +20 -0
  119. package/dist/collection/components/cat-radio-group/cat-radio-group.spec.js.map +1 -0
  120. package/dist/collection/components/cat-scrollable/cat-scrollable.e2e.js +10 -0
  121. package/dist/collection/components/cat-scrollable/cat-scrollable.e2e.js.map +1 -0
  122. package/dist/collection/components/cat-scrollable/cat-scrollable.js +6 -4
  123. package/dist/collection/components/cat-scrollable/cat-scrollable.js.map +1 -1
  124. package/dist/collection/components/cat-scrollable/cat-scrollable.spec.js +25 -0
  125. package/dist/collection/components/cat-scrollable/cat-scrollable.spec.js.map +1 -0
  126. package/dist/collection/components/cat-select/cat-select.e2e.js +14 -0
  127. package/dist/collection/components/cat-select/cat-select.e2e.js.map +1 -0
  128. package/dist/collection/components/cat-select/cat-select.js +39 -23
  129. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  130. package/dist/collection/components/cat-select/cat-select.spec.js +41 -0
  131. package/dist/collection/components/cat-select/cat-select.spec.js.map +1 -0
  132. package/dist/collection/components/cat-select-demo/cat-select-demo.js +2 -2
  133. package/dist/collection/components/cat-skeleton/cat-skeleton.e2e.js +10 -0
  134. package/dist/collection/components/cat-skeleton/cat-skeleton.e2e.js.map +1 -0
  135. package/dist/collection/components/cat-skeleton/cat-skeleton.js +1 -1
  136. package/dist/collection/components/cat-skeleton/cat-skeleton.spec.js +18 -0
  137. package/dist/collection/components/cat-skeleton/cat-skeleton.spec.js.map +1 -0
  138. package/dist/collection/components/cat-spinner/cat-spinner.e2e.js +10 -0
  139. package/dist/collection/components/cat-spinner/cat-spinner.e2e.js.map +1 -0
  140. package/dist/collection/components/cat-spinner/cat-spinner.js +1 -1
  141. package/dist/collection/components/cat-spinner/cat-spinner.spec.js +18 -0
  142. package/dist/collection/components/cat-spinner/cat-spinner.spec.js.map +1 -0
  143. package/dist/collection/components/cat-tab/cat-tab.e2e.js +10 -0
  144. package/dist/collection/components/cat-tab/cat-tab.e2e.js.map +1 -0
  145. package/dist/collection/components/cat-tab/cat-tab.js +5 -3
  146. package/dist/collection/components/cat-tab/cat-tab.js.map +1 -1
  147. package/dist/collection/components/cat-tab/cat-tab.spec.js +17 -0
  148. package/dist/collection/components/cat-tab/cat-tab.spec.js.map +1 -0
  149. package/dist/collection/components/cat-tabs/cat-tabs.e2e.js +10 -0
  150. package/dist/collection/components/cat-tabs/cat-tabs.e2e.js.map +1 -0
  151. package/dist/collection/components/cat-tabs/cat-tabs.js +1 -1
  152. package/dist/collection/components/cat-tabs/cat-tabs.spec.js +17 -0
  153. package/dist/collection/components/cat-tabs/cat-tabs.spec.js.map +1 -0
  154. package/dist/collection/components/cat-textarea/cat-textarea.e2e.js +11 -0
  155. package/dist/collection/components/cat-textarea/cat-textarea.e2e.js.map +1 -0
  156. package/dist/collection/components/cat-textarea/cat-textarea.js +20 -13
  157. package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
  158. package/dist/collection/components/cat-textarea/cat-textarea.spec.js +34 -0
  159. package/dist/collection/components/cat-textarea/cat-textarea.spec.js.map +1 -0
  160. package/dist/collection/components/cat-toggle/cat-toggle.e2e.js +10 -0
  161. package/dist/collection/components/cat-toggle/cat-toggle.e2e.js.map +1 -0
  162. package/dist/collection/components/cat-toggle/cat-toggle.js +13 -8
  163. package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
  164. package/dist/collection/components/cat-toggle/cat-toggle.spec.js +22 -0
  165. package/dist/collection/components/cat-toggle/cat-toggle.spec.js.map +1 -0
  166. package/dist/collection/components/cat-tooltip/cat-tooltip.e2e.js +10 -0
  167. package/dist/collection/components/cat-tooltip/cat-tooltip.e2e.js.map +1 -0
  168. package/dist/collection/components/cat-tooltip/cat-tooltip.js +8 -5
  169. package/dist/collection/components/cat-tooltip/cat-tooltip.js.map +1 -1
  170. package/dist/collection/components/cat-tooltip/cat-tooltip.spec.js +24 -0
  171. package/dist/collection/components/cat-tooltip/cat-tooltip.spec.js.map +1 -0
  172. package/dist/collection/utils/first-tabbable.js +1 -1
  173. package/dist/collection/utils/media-matcher.js +2 -2
  174. package/dist/collection/utils/media-matcher.spec.js +39 -0
  175. package/dist/collection/utils/media-matcher.spec.js.map +1 -0
  176. package/dist/components/cat-alert.js +1 -1
  177. package/dist/components/cat-alert.js.map +1 -1
  178. package/dist/components/cat-avatar2.js +1 -1
  179. package/dist/components/cat-avatar2.js.map +1 -1
  180. package/dist/components/cat-badge.js +1 -1
  181. package/dist/components/cat-badge.js.map +1 -1
  182. package/dist/components/cat-button-group.js +1 -1
  183. package/dist/components/cat-button-group.js.map +1 -1
  184. package/dist/components/cat-button2.js +1 -1
  185. package/dist/components/cat-button2.js.map +1 -1
  186. package/dist/components/cat-card.js +1 -1
  187. package/dist/components/cat-card.js.map +1 -1
  188. package/dist/components/cat-checkbox2.js +17 -7
  189. package/dist/components/cat-checkbox2.js.map +1 -1
  190. package/dist/components/cat-datepicker.js +1 -1
  191. package/dist/components/cat-datepicker.js.map +1 -1
  192. package/dist/components/cat-dropdown2.js +1 -1
  193. package/dist/components/cat-dropdown2.js.map +1 -1
  194. package/dist/components/cat-form-group.js +1 -1
  195. package/dist/components/cat-form-group.js.map +1 -1
  196. package/dist/components/cat-form-hint.js.map +1 -1
  197. package/dist/components/cat-i18n-registry.js.map +1 -1
  198. package/dist/components/cat-icon-registry.js.map +1 -1
  199. package/dist/components/cat-icon2.js +1 -1
  200. package/dist/components/cat-icon2.js.map +1 -1
  201. package/dist/components/cat-input2.js +1 -1
  202. package/dist/components/cat-input2.js.map +1 -1
  203. package/dist/components/cat-pagination.js +1 -1
  204. package/dist/components/cat-pagination.js.map +1 -1
  205. package/dist/components/cat-radio-group.js +1 -1
  206. package/dist/components/cat-radio-group.js.map +1 -1
  207. package/dist/components/cat-radio.js +1 -1
  208. package/dist/components/cat-radio.js.map +1 -1
  209. package/dist/components/cat-scrollable2.js +1 -1
  210. package/dist/components/cat-scrollable2.js.map +1 -1
  211. package/dist/components/cat-select-demo.js +1 -1
  212. package/dist/components/cat-select-demo.js.map +1 -1
  213. package/dist/components/cat-select2.js +5 -3
  214. package/dist/components/cat-select2.js.map +1 -1
  215. package/dist/components/cat-skeleton2.js +1 -1
  216. package/dist/components/cat-skeleton2.js.map +1 -1
  217. package/dist/components/cat-spinner2.js +1 -1
  218. package/dist/components/cat-spinner2.js.map +1 -1
  219. package/dist/components/cat-tab.js +1 -1
  220. package/dist/components/cat-tab.js.map +1 -1
  221. package/dist/components/cat-tabs.js +1 -1
  222. package/dist/components/cat-tabs.js.map +1 -1
  223. package/dist/components/cat-textarea.js +1 -1
  224. package/dist/components/cat-textarea.js.map +1 -1
  225. package/dist/components/cat-toggle.js +1 -1
  226. package/dist/components/cat-toggle.js.map +1 -1
  227. package/dist/components/cat-tooltip.js +2 -2
  228. package/dist/components/cat-tooltip.js.map +1 -1
  229. package/dist/components/coerce.js.map +1 -1
  230. package/dist/components/index.js.map +1 -1
  231. package/dist/esm/cat-alert_25.entry.js +21 -9
  232. package/dist/esm/cat-alert_25.entry.js.map +1 -1
  233. package/dist/esm/{cat-icon-registry-f15b29d9.js → cat-icon-registry-fc49b06c.js} +1 -1
  234. package/dist/esm/cat-icon-registry-fc49b06c.js.map +1 -0
  235. package/dist/esm/catalyst.js +4 -7
  236. package/dist/esm/catalyst.js.map +1 -1
  237. package/dist/esm/{index-636ce8d6.js → index-bac79c60.js} +89 -32
  238. package/dist/esm/index-bac79c60.js.map +1 -0
  239. package/dist/esm/index.js +2 -2
  240. package/dist/esm/index.js.map +1 -1
  241. package/dist/esm/loader.js +3 -12
  242. package/dist/esm/loader.js.map +1 -1
  243. package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +6 -4
  244. package/dist/types/stencil-public-runtime.d.ts +3 -0
  245. package/loader/index.d.ts +1 -1
  246. package/package.json +10 -10
  247. package/dist/catalyst/p-b218a2b0.entry.js +0 -10
  248. package/dist/catalyst/p-b218a2b0.entry.js.map +0 -1
  249. package/dist/catalyst/p-ce6a1db2.js +0 -3
  250. package/dist/catalyst/p-ce6a1db2.js.map +0 -1
  251. package/dist/catalyst/p-d7dc291a.js.map +0 -1
  252. package/dist/cjs/cat-icon-registry-6161e2ee.js.map +0 -1
  253. package/dist/cjs/index-4258b31e.js.map +0 -1
  254. package/dist/esm/cat-icon-registry-f15b29d9.js.map +0 -1
  255. package/dist/esm/index-636ce8d6.js.map +0 -1
  256. package/dist/esm/polyfills/css-shim.js +0 -1
@@ -499,4 +499,4 @@ exports.commonjsGlobal = commonjsGlobal;
499
499
  exports.createCommonjsModule = createCommonjsModule;
500
500
  exports.loglevel = loglevel;
501
501
 
502
- //# sourceMappingURL=cat-icon-registry-6161e2ee.js.map
502
+ //# sourceMappingURL=cat-icon-registry-5647cf1f.js.map
@@ -0,0 +1 @@
1
+ {"file":"cat-icon-registry-5647cf1f.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,UAAU,IAAI,EAAE,UAAU,EAAE;AAE7B,IAEW,IAAkC,MAAM,CAAC,OAAO,EAAE;AAC7D,QAAQ,cAAc,GAAG,UAAU,EAAE,CAAC;AACtC,KAAK,MAAM;AACX,QAAQ,IAAI,CAAC,GAAG,GAAG,UAAU,EAAE,CAAC;AAChC,KAAK;AACL,CAAC,CAACA,cAAI,EAAE,YAAY;AAEpB;AACA;AACA,IAAI,IAAI,IAAI,GAAG,WAAW,EAAE,CAAC;AAC7B,IAAI,IAAI,aAAa,GAAG,WAAW,CAAC;AACpC,IAAI,IAAI,IAAI,GAAG,CAAC,OAAO,MAAM,KAAK,aAAa,MAAM,OAAO,MAAM,CAAC,SAAS,KAAK,aAAa,CAAC;AAC/F,QA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AC,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;IACvG,OAAO,IAAI,CAAC;GACb;EAEO,SAAS,CAAC,IAAY,EAAE,OAAgB;IAC9C,OAAO,OAAO,GAAG,GAAG,OAAO,IAAI,IAAI,EAAE,GAAG,IAAI,CAAC;GAC9C;EAEO,UAAU,CAAI,IAAY,EAAE,MAAU;IAC5C,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE;MAC3B,OAAO,EAAE,IAAI;MACb,QAAQ,EAAE,IAAI;MACd,MAAM;KACP,CAAC,CAAC;GACJ;CACF;MAEY,eAAe,GAAG,eAAe,CAAC,WAAW;;;;;;;;;;","names":["this","log"],"sources":["../node_modules/loglevel/lib/loglevel.js","src/components/cat-i18n/cat-i18n-registry.ts","src/components/cat-icon/cat-icon-registry.ts"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods(level, loggerName) {\n /*jshint validthis:true */\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, loggerName);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName, level, loggerName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this, level, loggerName);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, level, loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, defaultLevel, factory) {\n var self = this;\n var currentLevel;\n defaultLevel = defaultLevel == null ? \"WARN\" : defaultLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var location = cookie.indexOf(\n encodeURIComponent(storageKey) + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(cookie.slice(location))[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n return currentLevel;\n };\n\n self.setLevel = function (level, persist) {\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n currentLevel = level;\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(level);\n }\n replaceLoggingMethods.call(self, level, name);\n if (typeof console === undefinedType && level < self.levels.SILENT) {\n return \"No console available for logging\";\n }\n } else {\n throw \"log.setLevel() called with invalid level: \" + level;\n }\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = level;\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n self.setLevel(defaultLevel, false);\n clearPersistedLevel();\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n // Initialize with the right level\n var initialLevel = getPersistedLevel();\n if (initialLevel == null) {\n initialLevel = defaultLevel;\n }\n self.setLevel(initialLevel, false);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n var defaultLogger = new Logger();\n\n var _loggersByName = {};\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name, defaultLogger.getLevel(), defaultLogger.methodFactory);\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n","import log from 'loglevel';\n\nexport class CatI18nRegistry {\n private static instance: CatI18nRegistry;\n\n private readonly id = (Math.random() + 1).toString(36).substring(2);\n private readonly i18n: Map<string, string> = new Map();\n private _locale?: string;\n\n private constructor() {\n // hide constructor\n\n // In rare cases, the registry can be initialized twice. This can happen in\n // a micro frontend architecture where the registry is initialized in the\n // host application and in the micro frontend. To prevent the registry in\n // one application from overwriting the registry in the other, we listen for\n // events that are dispatched when messages are added or removed in other\n // applications and add or remove messages if the event was not dispatched\n // by this registry.\n window.addEventListener('cat-i18n-set', event => {\n const { detail } = (event as CustomEvent) || {};\n if (detail && detail.id !== this.id) {\n this.set(detail.i18n, true);\n }\n });\n window.addEventListener('cat-i18n-clear', event => {\n const { detail } = (event as CustomEvent) || {};\n if (detail && detail.id !== this.id) {\n this.clear(true);\n }\n });\n }\n\n static getInstance(): CatI18nRegistry {\n if (!CatI18nRegistry.instance) {\n CatI18nRegistry.instance = new CatI18nRegistry();\n }\n return CatI18nRegistry.instance;\n }\n\n getLocale(): string {\n return this._locale ?? window?.navigator?.language ?? 'en';\n }\n\n setLocale(locale: string): void {\n try {\n this._locale = Intl.getCanonicalLocales(locale)[0];\n log.info(`[CatI18nRegistry] Set locale: ${this._locale}`);\n } catch (err) {\n log.error(`[CatI18nRegistry] Invalid locale: ${locale}`);\n }\n }\n\n set(i18n: { [key: string]: string }, silent = false): void {\n const i18nEntries = Object.entries(i18n);\n i18nEntries.forEach(([key, message]) => this.i18n.set(key, message));\n log.info(`[CatI18nRegistry] Registered ${i18nEntries.length !== 1 ? 'messages' : 'message'}`);\n !silent && window.dispatchEvent(this.buildEvent('cat-i18n-set', { i18n, id: this.id }));\n }\n\n clear(silent = false): void {\n this.i18n.clear();\n log.info(`[CatI18nRegistry] Cleared messages`);\n !silent && window.dispatchEvent(this.buildEvent('cat-i18n-clear'));\n }\n\n t(key: string, params?: { [key: string]: unknown }): string {\n const message = this.i18n.get(key);\n if (message === undefined) {\n log.error(`[CatI18nRegistry] Unknown message key: ${key}`);\n return key;\n }\n return message.replace(/{{\\s*([-a-zA-Z._]+)\\s*}}/g, (_match, key) => `${params?.[key] ?? ''}`);\n }\n\n private buildEvent<T>(name: string, detail?: T) {\n return new CustomEvent(name, {\n bubbles: true,\n composed: true,\n detail\n });\n }\n}\n\nexport const catI18nRegistry = CatI18nRegistry.getInstance();\n","import cross16 from '@haiilo/catalyst-icons/tmp/assets/16-cross.svg';\nimport alertCircleOutlined from '@haiilo/catalyst-icons/tmp/assets/alert-circle-outlined.svg';\nimport checkCircleFilled from '@haiilo/catalyst-icons/tmp/assets/check-circle-filled.svg';\nimport chevronDownOutlined from '@haiilo/catalyst-icons/tmp/assets/chevron-down-outlined.svg';\nimport chevronLeftOutlined from '@haiilo/catalyst-icons/tmp/assets/chevron-left-outlined.svg';\nimport chevronRightOutlined from '@haiilo/catalyst-icons/tmp/assets/chevron-right-outlined.svg';\nimport clockFilled from '@haiilo/catalyst-icons/tmp/assets/clock-filled.svg';\nimport crossCircleFilled from '@haiilo/catalyst-icons/tmp/assets/cross-circle-filled.svg';\nimport crossCircleOutlined from '@haiilo/catalyst-icons/tmp/assets/cross-circle-outlined.svg';\nimport crossOutlined from '@haiilo/catalyst-icons/tmp/assets/cross-outlined.svg';\nimport dangerFilled from '@haiilo/catalyst-icons/tmp/assets/danger-filled.svg';\nimport starCircleFilled from '@haiilo/catalyst-icons/tmp/assets/star-circle-filled.svg';\nimport log from 'loglevel';\n\nexport class CatIconRegistry {\n private static instance: CatIconRegistry;\n\n private readonly id = (Math.random() + 1).toString(36).substring(2);\n private readonly icons: Map<string, string> = new Map();\n\n private constructor() {\n // hide constructor\n\n // register default icons that are used in the framework by other components\n this.addIcons(\n {\n 'alert-danger': crossCircleFilled,\n 'alert-primary': starCircleFilled,\n 'alert-secondary': clockFilled,\n 'alert-success': checkCircleFilled,\n 'alert-warning': dangerFilled,\n 'dialog-close': crossOutlined,\n 'input-close': crossCircleOutlined,\n 'input-error': alertCircleOutlined,\n 'notification-close': crossCircleOutlined,\n 'pagination-left': chevronLeftOutlined,\n 'pagination-right': chevronRightOutlined,\n 'select-clear': cross16,\n 'select-open': chevronDownOutlined\n },\n '$cat',\n true\n );\n\n // In rare cases, the registry can be initialized twice. This can happen in\n // a micro frontend architecture where the registry is initialized in the\n // host application and in the micro frontend. To prevent the registry in\n // one application from overwriting the registry in the other, we listen for\n // events that are dispatched when icons are added or removed in other\n // applications and add or remove icons if the event was not dispatched by\n // this registry.\n window.addEventListener('cat-icons-added', event => {\n const { detail } = (event as CustomEvent) || {};\n if (detail && detail.id !== this.id) {\n this.addIcons(detail.icons, detail.setName, true);\n }\n });\n window.addEventListener('cat-icons-removed', event => {\n const { detail } = (event as CustomEvent) || {};\n if (detail && detail.id !== this.id) {\n this.removeIcons(detail.names, detail.setName, true);\n }\n });\n }\n\n static getInstance(): CatIconRegistry {\n if (!CatIconRegistry.instance) {\n CatIconRegistry.instance = new CatIconRegistry();\n }\n return CatIconRegistry.instance;\n }\n\n getIcon(name: string, setName?: string): string | undefined {\n const icon = this.icons.get(this.buildName(name, setName));\n if (!icon) {\n log.error(`[CatIconRegistry] Unknown icon${setName ? ` in set ${setName}` : ''}: ${name}`);\n }\n return icon;\n }\n\n addIcons(icons: { [name: string]: string }, setName?: string, silent = false): CatIconRegistry {\n const iconEntries = Object.entries(icons);\n const iconSize = iconEntries.length;\n iconEntries.forEach(([name, data]) => this.icons.set(this.buildName(name, setName), data));\n log.info(`[CatIconRegistry] Added ${iconSize !== 1 ? 'icons' : 'icon'}${setName ? ` to set ${setName}` : ''}`);\n !silent && window.dispatchEvent(this.buildEvent('cat-icons-added', { id: this.id, icons, setName }));\n return this;\n }\n\n removeIcons(names: string[], setName?: string, silent = false): CatIconRegistry {\n const iconSize = names.length;\n names.forEach(name => this.icons.delete(this.buildName(name, setName)));\n log.info(`[CatIconRegistry] Removed ${iconSize !== 1 ? 'icons' : 'icon'}${setName ? ` from set ${setName}` : ''}`);\n !silent && window.dispatchEvent(this.buildEvent('cat-icons-removed', { id: this.id, names, setName }));\n return this;\n }\n\n private buildName(name: string, setName?: string) {\n return setName ? `${setName}:${name}` : name;\n }\n\n private buildEvent<T>(name: string, detail?: T) {\n return new CustomEvent(name, {\n bubbles: true,\n composed: true,\n detail\n });\n }\n}\n\nexport const catIconRegistry = CatIconRegistry.getInstance();\n"],"version":3}
@@ -2,25 +2,22 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-4258b31e.js');
5
+ const index = require('./index-e06682a8.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v3.2.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.0.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchBrowser = () => {
11
11
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('catalyst.cjs.js', document.baseURI).href));
12
12
  const opts = {};
13
- // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
14
13
  if (importMeta !== '') {
15
14
  opts.resourcesUrl = new URL('.', importMeta).href;
16
- // TODO(STENCIL-661): Remove code related to the dynamic import shim
17
- // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
18
15
  }
19
16
  return index.promiseResolve(opts);
20
17
  };
21
18
 
22
19
  patchBrowser().then(options => {
23
- return index.bootstrapLazy([["cat-alert_25.cjs",[[1,"cat-select-demo"],[1,"cat-datepicker",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"autoComplete":[1,"auto-complete"],"clearable":[4],"disabled":[4],"hint":[1],"icon":[1],"iconRight":[4,"icon-right"],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"max":[1],"min":[1],"mode":[1],"name":[1],"placeholder":[1],"textPrefix":[1,"text-prefix"],"textSuffix":[1,"text-suffix"],"readonly":[4],"required":[4],"step":[2],"value":[1025],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"doFocus":[64],"doBlur":[64]}],[1,"cat-pagination",{"page":[1026],"pageCount":[2,"page-count"],"activePadding":[2,"active-padding"],"sidePadding":[2,"side-padding"],"size":[1],"variant":[1],"round":[4],"compact":[4],"iconPrev":[1,"icon-prev"],"iconNext":[1,"icon-next"]}],[1,"cat-tabs",{"activeTab":[1,"active-tab"],"tabsAlign":[1,"tabs-align"],"tabs":[32],"activeTabId":[32]},[[0,"keydown","onKeydown"]]],[1,"cat-alert",{"color":[513],"icon":[1],"noIcon":[4,"no-icon"]}],[1,"cat-textarea",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"disabled":[4],"hint":[1],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"maxLength":[2,"max-length"],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1025],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"clear":[64]}],[1,"cat-badge",{"variant":[513],"color":[513],"size":[513],"round":[516],"pulse":[516]}],[1,"cat-button-group",{"a11yLabel":[1,"a11y-label"]}],[1,"cat-card"],[1,"cat-form-group",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"labelSize":[1,"label-size"]}],[1,"cat-radio",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64]}],[1,"cat-radio-group",{"name":[1],"value":[1025],"disabled":[4],"a11yLabel":[1,"a11y-label"],"labelLeft":[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"focus","onFocus"],[2,"blur","onBlur"]]],[1,"cat-tab",{"label":[513],"icon":[513],"iconOnly":[520,"icon-only"],"iconRight":[516,"icon-right"],"url":[513],"urlTarget":[513,"url-target"],"deactivated":[516]},[[0,"click","onClick"]]],[1,"cat-toggle",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"resolvedValue":[1032,"resolved-value"],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64]}],[1,"cat-tooltip",{"content":[1],"disabled":[4],"placement":[1],"round":[4],"size":[1],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"longTouchDuration":[2,"long-touch-duration"],"hasSlottedContent":[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"multiple":[4],"debounce":[2],"placement":[1],"value":[1025],"disabled":[4],"placeholder":[1],"hint":[1],"identifier":[1],"label":[1],"name":[1],"labelHidden":[4,"label-hidden"],"required":[4],"clearable":[4],"tags":[4],"tagHint":[1,"tag-hint"],"noItems":[1,"no-items"],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"connector":[32],"state":[32],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"connect":[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]]],[1,"cat-input",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"autoComplete":[1,"auto-complete"],"clearable":[4],"disabled":[4],"hint":[1],"icon":[1],"iconRight":[4,"icon-right"],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"max":[8],"maxLength":[2,"max-length"],"min":[8],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"textPrefix":[1,"text-prefix"],"textSuffix":[1,"text-suffix"],"readonly":[4],"required":[4],"round":[4],"type":[1],"value":[1025],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"clear":[64]}],[1,"cat-dropdown",{"placement":[1],"noAutoClose":[4,"no-auto-close"],"overflow":[4],"close":[64]},[[0,"catClick","clickHandler"]]],[1,"cat-avatar",{"size":[1],"round":[4],"label":[1],"initials":[1],"src":[1],"icon":[1],"url":[1],"urlTarget":[1,"url-target"],"backgroundImage":[32]}],[1,"cat-checkbox",{"checked":[1028],"disabled":[4],"identifier":[1],"indeterminate":[4],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"resolvedValue":[1032,"resolved-value"],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64]}],[1,"cat-scrollable",{"noShadowX":[4,"no-shadow-x"],"noShadowY":[4,"no-shadow-y"],"noOverflowX":[4,"no-overflow-x"],"noOverflowY":[4,"no-overflow-y"],"noOverscroll":[4,"no-overscroll"],"noScrolledInit":[4,"no-scrolled-init"],"scrolledBuffer":[2,"scrolled-buffer"]}],[1,"cat-skeleton",{"effect":[1],"variant":[1],"size":[1],"lines":[2]}],[1,"cat-button",{"variant":[1],"color":[1],"active":[4],"size":[1],"name":[1],"value":[1],"disabled":[4],"loading":[4],"submit":[4],"noEllipsis":[4,"no-ellipsis"],"round":[4],"url":[1],"urlTarget":[1,"url-target"],"icon":[1],"iconOnly":[8,"icon-only"],"iconRight":[4,"icon-right"],"buttonId":[1,"button-id"],"a11yLabel":[1,"a11y-label"],"a11yCurrent":[1,"a11y-current"],"nativeAttributes":[16],"buttonGroupPosition":[1,"button-group-position"],"_iconOnly":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]},[[0,"click","haltDisabledEvents"]]],[1,"cat-spinner",{"size":[1],"a11yLabel":[1,"a11y-label"]}],[1,"cat-icon",{"icon":[1],"iconSrc":[1,"icon-src"],"size":[1],"a11yLabel":[1,"a11y-label"]}]]]], options);
20
+ return index.bootstrapLazy([["cat-alert_25.cjs",[[1,"cat-select-demo"],[1,"cat-datepicker",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"autoComplete":[1,"auto-complete"],"clearable":[4],"disabled":[4],"hint":[1],"icon":[1],"iconRight":[4,"icon-right"],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"max":[1],"min":[1],"mode":[1],"name":[1],"placeholder":[1],"textPrefix":[1,"text-prefix"],"textSuffix":[1,"text-suffix"],"readonly":[4],"required":[4],"step":[2],"value":[1025],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"doFocus":[64],"doBlur":[64]}],[1,"cat-pagination",{"page":[1026],"pageCount":[2,"page-count"],"activePadding":[2,"active-padding"],"sidePadding":[2,"side-padding"],"size":[1],"variant":[1],"round":[4],"compact":[4],"iconPrev":[1,"icon-prev"],"iconNext":[1,"icon-next"]}],[1,"cat-tabs",{"activeTab":[1,"active-tab"],"tabsAlign":[1,"tabs-align"],"tabs":[32],"activeTabId":[32]},[[0,"keydown","onKeydown"]]],[1,"cat-alert",{"color":[513],"icon":[1],"noIcon":[4,"no-icon"]}],[1,"cat-textarea",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"disabled":[4],"hint":[1],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"maxLength":[2,"max-length"],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1025],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"clear":[64]}],[1,"cat-badge",{"variant":[513],"color":[513],"size":[513],"round":[516],"pulse":[516]}],[1,"cat-button-group",{"a11yLabel":[1,"a11y-label"]}],[1,"cat-card"],[1,"cat-form-group",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"labelSize":[1,"label-size"]}],[1,"cat-radio",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64]}],[1,"cat-radio-group",{"name":[1],"value":[1025],"disabled":[4],"a11yLabel":[1,"a11y-label"],"labelLeft":[4,"label-left"]},[[0,"keydown","onKeydown"],[0,"input","onInput"],[2,"focus","onFocus"],[2,"blur","onBlur"]]],[1,"cat-tab",{"label":[513],"icon":[513],"iconOnly":[520,"icon-only"],"iconRight":[516,"icon-right"],"url":[513],"urlTarget":[513,"url-target"],"deactivated":[516]},[[0,"click","onClick"]]],[1,"cat-toggle",{"checked":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"resolvedValue":[1032,"resolved-value"],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64]}],[1,"cat-tooltip",{"content":[1],"disabled":[4],"placement":[1],"round":[4],"size":[1],"showDelay":[2,"show-delay"],"hideDelay":[2,"hide-delay"],"longTouchDuration":[2,"long-touch-duration"],"hasSlottedContent":[32]},[[0,"keydown","handleKeyDown"]]],[1,"cat-select",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"multiple":[4],"debounce":[2],"placement":[1],"value":[1025],"disabled":[4],"placeholder":[1],"hint":[1],"identifier":[1],"label":[1],"name":[1],"labelHidden":[4,"label-hidden"],"required":[4],"clearable":[4],"tags":[4],"tagHint":[1,"tag-hint"],"noItems":[1,"no-items"],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"connector":[32],"state":[32],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"connect":[64]},[[0,"blur","onBlur"],[0,"keydown","onKeyDown"],[0,"keyup","onKeyUp"]]],[1,"cat-input",{"requiredMarker":[1,"required-marker"],"horizontal":[4],"autoComplete":[1,"auto-complete"],"clearable":[4],"disabled":[4],"hint":[1],"icon":[1],"iconRight":[4,"icon-right"],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"max":[8],"maxLength":[2,"max-length"],"min":[8],"minLength":[2,"min-length"],"name":[1],"placeholder":[1],"textPrefix":[1,"text-prefix"],"textSuffix":[1,"text-suffix"],"readonly":[4],"required":[4],"round":[4],"type":[1],"value":[1025],"errors":[4],"errorUpdate":[8,"error-update"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"errorMap":[32],"doFocus":[64],"doBlur":[64],"clear":[64]}],[1,"cat-dropdown",{"placement":[1],"noAutoClose":[4,"no-auto-close"],"overflow":[4],"close":[64]},[[0,"catClick","clickHandler"]]],[1,"cat-avatar",{"size":[1],"round":[4],"label":[1],"initials":[1],"src":[1],"icon":[1],"url":[1],"urlTarget":[1,"url-target"],"backgroundImage":[32]}],[1,"cat-checkbox",{"checked":[1028],"indeterminate":[1028],"disabled":[4],"identifier":[1],"label":[1],"labelHidden":[4,"label-hidden"],"name":[1],"required":[4],"value":[1],"resolvedValue":[1032,"resolved-value"],"hint":[1],"labelLeft":[4,"label-left"],"nativeAttributes":[16],"hasSlottedLabel":[32],"hasSlottedHint":[32],"doFocus":[64],"doBlur":[64]}],[1,"cat-scrollable",{"noShadowX":[4,"no-shadow-x"],"noShadowY":[4,"no-shadow-y"],"noOverflowX":[4,"no-overflow-x"],"noOverflowY":[4,"no-overflow-y"],"noOverscroll":[4,"no-overscroll"],"noScrolledInit":[4,"no-scrolled-init"],"scrolledBuffer":[2,"scrolled-buffer"]}],[1,"cat-skeleton",{"effect":[1],"variant":[1],"size":[1],"lines":[2]}],[1,"cat-button",{"variant":[1],"color":[1],"active":[4],"size":[1],"name":[1],"value":[1],"disabled":[4],"loading":[4],"submit":[4],"noEllipsis":[4,"no-ellipsis"],"round":[4],"url":[1],"urlTarget":[1,"url-target"],"icon":[1],"iconOnly":[8,"icon-only"],"iconRight":[4,"icon-right"],"buttonId":[1,"button-id"],"a11yLabel":[1,"a11y-label"],"a11yCurrent":[1,"a11y-current"],"nativeAttributes":[16],"buttonGroupPosition":[1,"button-group-position"],"_iconOnly":[32],"doFocus":[64],"doBlur":[64],"doClick":[64]},[[0,"click","haltDisabledEvents"]]],[1,"cat-spinner",{"size":[1],"a11yLabel":[1,"a11y-label"]}],[1,"cat-icon",{"icon":[1],"iconSrc":[1,"icon-src"],"size":[1],"a11yLabel":[1,"a11y-label"]}]]]], options);
24
21
  });
25
22
 
26
23
  exports.setNonce = index.setNonce;
@@ -1 +1 @@
1
- {"file":"catalyst.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAiBA,MAAM,YAAY,GAAG,MAAM;AAkC3B,IAAI,MAAM,UAAU,GAAG,0MAAe,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,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACtFD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.2.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}
1
+ {"file":"catalyst.cjs.js","mappings":";;;;;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAyB3B,IAAI,MAAM,UAAU,GAAG,0MAAe,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;AChCD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","bootstrapLazy"],"sources":["../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.0.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n 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 = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
@@ -333,9 +333,9 @@ const registerStyle = (scopeId, cssText, allowCS) => {
333
333
  }
334
334
  styles.set(scopeId, style);
335
335
  };
336
- const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
336
+ const addStyle = (styleContainerNode, cmpMeta, mode) => {
337
337
  var _a;
338
- let scopeId = getScopeId(cmpMeta);
338
+ const scopeId = getScopeId(cmpMeta);
339
339
  const style = styles.get(scopeId);
340
340
  // if an element is NOT connected then getRootNode() will return the wrong root node
341
341
  // so the fallback is to always use the document for the root node in those cases
@@ -350,11 +350,8 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
350
350
  }
351
351
  if (!appliedStyles.has(scopeId)) {
352
352
  {
353
- // TODO(STENCIL-659): Remove code implementing the CSS variable shim
354
- {
355
- styleElm = doc.createElement('style');
356
- styleElm.innerHTML = style;
357
- }
353
+ styleElm = doc.createElement('style');
354
+ styleElm.innerHTML = style;
358
355
  // Apply CSP nonce to the style tag if it exists
359
356
  const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
360
357
  if (nonce != null) {
@@ -379,7 +376,6 @@ const attachStyles = (hostRef) => {
379
376
  const flags = cmpMeta.$flags$;
380
377
  const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
381
378
  const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
382
- // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
383
379
  if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
384
380
  // only required when we're NOT using native shadow dom (slot)
385
381
  // or this browser doesn't support native shadow dom
@@ -670,16 +666,17 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
670
666
  * @param vnodes a list of virtual DOM nodes to remove
671
667
  * @param startIdx the index at which to start removing nodes (inclusive)
672
668
  * @param endIdx the index at which to stop removing nodes (inclusive)
673
- * @param vnode a VNode
674
- * @param elm an element
675
669
  */
676
- const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
677
- for (; startIdx <= endIdx; ++startIdx) {
678
- if ((vnode = vnodes[startIdx])) {
679
- elm = vnode.$elm$;
680
- callNodeRefs(vnode);
681
- // remove the vnode's element from the dom
682
- elm.remove();
670
+ const removeVnodes = (vnodes, startIdx, endIdx) => {
671
+ for (let index = startIdx; index <= endIdx; ++index) {
672
+ const vnode = vnodes[index];
673
+ if (vnode) {
674
+ const elm = vnode.$elm$;
675
+ nullifyVNodeRefs(vnode);
676
+ if (elm) {
677
+ // remove the vnode's element from the dom
678
+ elm.remove();
679
+ }
683
680
  }
684
681
  }
685
682
  };
@@ -978,10 +975,17 @@ const patch = (oldVNode, newVNode) => {
978
975
  elm.data = text;
979
976
  }
980
977
  };
981
- const callNodeRefs = (vNode) => {
978
+ /**
979
+ * 'Nullify' any VDom `ref` callbacks on a VDom node or its children by
980
+ * calling them with `null`. This signals that the DOM element corresponding to
981
+ * the VDom node has been removed from the DOM.
982
+ *
983
+ * @param vNode a virtual DOM node
984
+ */
985
+ const nullifyVNodeRefs = (vNode) => {
982
986
  {
983
987
  vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
984
- vNode.$children$ && vNode.$children$.map(callNodeRefs);
988
+ vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
985
989
  }
986
990
  };
987
991
  /**
@@ -1036,30 +1040,86 @@ const scheduleUpdate = (hostRef, isInitialLoad) => {
1036
1040
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1037
1041
  return writeTask(dispatch) ;
1038
1042
  };
1043
+ /**
1044
+ * Dispatch initial-render and update lifecycle hooks, enqueuing calls to
1045
+ * component lifecycle methods like `componentWillLoad` as well as
1046
+ * {@link updateComponent}, which will kick off the virtual DOM re-render.
1047
+ *
1048
+ * @param hostRef a reference to a host DOM node
1049
+ * @param isInitialLoad whether we're on the initial load or not
1050
+ * @returns an empty Promise which is used to enqueue a series of operations for
1051
+ * the component
1052
+ */
1039
1053
  const dispatchHooks = (hostRef, isInitialLoad) => {
1040
1054
  const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1041
1055
  const instance = hostRef.$lazyInstance$ ;
1042
- let promise;
1056
+ // We're going to use this variable together with `enqueue` to implement a
1057
+ // little promise-based queue. We start out with it `undefined`. When we add
1058
+ // the first function to the queue we'll set this variable to be that
1059
+ // function's return value. When we attempt to add subsequent values to the
1060
+ // queue we'll check that value and, if it was a `Promise`, we'll then chain
1061
+ // the new function off of that `Promise` using `.then()`. This will give our
1062
+ // queue two nice properties:
1063
+ //
1064
+ // 1. If all functions added to the queue are synchronous they'll be called
1065
+ // synchronously right away.
1066
+ // 2. If all functions added to the queue are asynchronous they'll all be
1067
+ // called in order after `dispatchHooks` exits.
1068
+ let maybePromise;
1043
1069
  if (isInitialLoad) {
1044
1070
  {
1045
1071
  hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1046
1072
  if (hostRef.$queuedListeners$) {
1047
1073
  hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1048
- hostRef.$queuedListeners$ = null;
1074
+ hostRef.$queuedListeners$ = undefined;
1049
1075
  }
1050
1076
  }
1051
1077
  {
1052
- promise = safeCall(instance, 'componentWillLoad');
1078
+ // If `componentWillLoad` returns a `Promise` then we want to wait on
1079
+ // whatever's going on in that `Promise` before we launch into
1080
+ // rendering the component, doing other lifecycle stuff, etc. So
1081
+ // in that case we assign the returned promise to the variable we
1082
+ // declared above to hold a possible 'queueing' Promise
1083
+ maybePromise = safeCall(instance, 'componentWillLoad');
1053
1084
  }
1054
1085
  }
1055
1086
  {
1056
- promise = then(promise, () => safeCall(instance, 'componentWillRender'));
1087
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, 'componentWillRender'));
1057
1088
  }
1058
1089
  endSchedule();
1059
- return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
1090
+ return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1060
1091
  };
1092
+ /**
1093
+ * This function uses a Promise to implement a simple first-in, first-out queue
1094
+ * of functions to be called.
1095
+ *
1096
+ * The queue is ordered on the basis of the first argument. If it's
1097
+ * `undefined`, then nothing is on the queue yet, so the provided function can
1098
+ * be called synchronously (although note that this function may return a
1099
+ * `Promise`). The idea is that then the return value of that enqueueing
1100
+ * operation is kept around, so that if it was a `Promise` then subsequent
1101
+ * functions can be enqueued by calling this function again with that `Promise`
1102
+ * as the first argument.
1103
+ *
1104
+ * @param maybePromise either a `Promise` which should resolve before the next function is called or an 'empty' sentinel
1105
+ * @param fn a function to enqueue
1106
+ * @returns either a `Promise` or the return value of the provided function
1107
+ */
1108
+ const enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
1109
+ /**
1110
+ * Check that a value is a `Promise`. To check, we first see if the value is an
1111
+ * instance of the `Promise` global. In a few circumstances, in particular if
1112
+ * the global has been overwritten, this is could be misleading, so we also do
1113
+ * a little 'duck typing' check to see if the `.then` property of the value is
1114
+ * defined and a function.
1115
+ *
1116
+ * @param maybePromise it might be a promise!
1117
+ * @returns whether it is or not
1118
+ */
1119
+ const isPromisey = (maybePromise) => maybePromise instanceof Promise ||
1120
+ (maybePromise && maybePromise.then && typeof maybePromise.then === 'function');
1061
1121
  const updateComponent = async (hostRef, instance, isInitialLoad) => {
1062
- // updateComponent
1122
+ var _a;
1063
1123
  const elm = hostRef.$hostElement$;
1064
1124
  const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1065
1125
  const rc = elm['s-rc'];
@@ -1081,7 +1141,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1081
1141
  endRender();
1082
1142
  endUpdate();
1083
1143
  {
1084
- const childrenPromises = elm['s-p'];
1144
+ const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
1085
1145
  const postUpdate = () => postUpdateComponent(hostRef);
1086
1146
  if (childrenPromises.length === 0) {
1087
1147
  postUpdate();
@@ -1185,9 +1245,6 @@ const safeCall = (instance, method, arg) => {
1185
1245
  }
1186
1246
  return undefined;
1187
1247
  };
1188
- const then = (promise, thenFn) => {
1189
- return promise && promise.then ? promise.then(thenFn) : thenFn();
1190
- };
1191
1248
  const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1192
1249
  ;
1193
1250
  const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
@@ -1351,9 +1408,9 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1351
1408
  const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1352
1409
  // initializeComponent
1353
1410
  if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1411
+ // Let the runtime know that the component has been initialized
1412
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1354
1413
  {
1355
- // we haven't initialized this element yet
1356
- hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1357
1414
  // lazy loaded components
1358
1415
  // request the component's implementation to be
1359
1416
  // wired up with the host element
@@ -1755,4 +1812,4 @@ exports.promiseResolve = promiseResolve;
1755
1812
  exports.registerInstance = registerInstance;
1756
1813
  exports.setNonce = setNonce;
1757
1814
 
1758
- //# sourceMappingURL=index-4258b31e.js.map
1815
+ //# sourceMappingURL=index-e06682a8.js.map