@flarehr/apollo-super-selection 3.14.52544 → 3.17.52781

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 (281) hide show
  1. package/package.json +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +0 -1
  3. package/dist/lib/apollo-super-selection/apollo-super-selection.js +0 -130
  4. package/dist/lib/apollo-super-selection/index.esm.js +0 -0
  5. package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
  6. package/dist/lib/apollo-super-selection/p-27129f6d.system.js +0 -1
  7. package/dist/lib/apollo-super-selection/p-2bbd0732.system.entry.js +0 -1
  8. package/dist/lib/apollo-super-selection/p-2bd70644.system.entry.js +0 -1
  9. package/dist/lib/apollo-super-selection/p-30bebd30.entry.js +0 -1
  10. package/dist/lib/apollo-super-selection/p-31a3ef1a.entry.js +0 -14
  11. package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
  12. package/dist/lib/apollo-super-selection/p-381262c1.system.js +0 -1
  13. package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
  14. package/dist/lib/apollo-super-selection/p-48e99aba.system.js +0 -1
  15. package/dist/lib/apollo-super-selection/p-4ceefd14.system.entry.js +0 -1
  16. package/dist/lib/apollo-super-selection/p-50ea2036.system.js +0 -1
  17. package/dist/lib/apollo-super-selection/p-52cb55a8.system.entry.js +0 -1
  18. package/dist/lib/apollo-super-selection/p-55737760.entry.js +0 -1
  19. package/dist/lib/apollo-super-selection/p-59a986b0.js +0 -1
  20. package/dist/lib/apollo-super-selection/p-7b72a245.system.entry.js +0 -1
  21. package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
  22. package/dist/lib/apollo-super-selection/p-84240b0b.entry.js +0 -1
  23. package/dist/lib/apollo-super-selection/p-943b206b.entry.js +0 -1
  24. package/dist/lib/apollo-super-selection/p-9b5fb4bc.system.js +0 -1
  25. package/dist/lib/apollo-super-selection/p-cbe37145.js +0 -1
  26. package/dist/lib/apollo-super-selection/p-cc209002.system.entry.js +0 -1
  27. package/dist/lib/apollo-super-selection/p-cc9c37a4.entry.js +0 -1
  28. package/dist/lib/apollo-super-selection/p-dd3a95d5.system.entry.js +0 -69
  29. package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
  30. package/dist/lib/apollo-super-selection/p-fbcce741.entry.js +0 -1
  31. package/dist/lib/cjs/active-router-08eabf9a.js +0 -75
  32. package/dist/lib/cjs/apollo-super-selection.cjs.js +0 -23
  33. package/dist/lib/cjs/app-globals-45007120.js +0 -25
  34. package/dist/lib/cjs/context-consumer.cjs.entry.js +0 -29
  35. package/dist/lib/cjs/datorama-akita-7f4b082a.js +0 -2704
  36. package/dist/lib/cjs/delay-81aff2f1.js +0 -955
  37. package/dist/lib/cjs/fl-button_43.cjs.entry.js +0 -16969
  38. package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
  39. package/dist/lib/cjs/index-b2214bec.js +0 -1764
  40. package/dist/lib/cjs/index.cjs.js +0 -2
  41. package/dist/lib/cjs/loader.cjs.js +0 -25
  42. package/dist/lib/cjs/stencil-async-content.cjs.entry.js +0 -32
  43. package/dist/lib/cjs/stencil-route-title.cjs.entry.js +0 -32
  44. package/dist/lib/cjs/stencil-router-prompt.cjs.entry.js +0 -59
  45. package/dist/lib/cjs/stencil-router-redirect.cjs.entry.js +0 -32
  46. package/dist/lib/collection/collection-manifest.json +0 -125
  47. package/dist/lib/collection/components/app-host/loading-page.js +0 -9
  48. package/dist/lib/collection/components/app-host/services/app-configuration.query.js +0 -18
  49. package/dist/lib/collection/components/app-host/services/app-configuration.service.js +0 -25
  50. package/dist/lib/collection/components/app-host/services/appinsights.service.js +0 -43
  51. package/dist/lib/collection/components/app-host/services/authentication.query.js +0 -21
  52. package/dist/lib/collection/components/app-host/services/authentication.service.js +0 -50
  53. package/dist/lib/collection/components/app-host/services/interop/host-interop.service.js +0 -31
  54. package/dist/lib/collection/components/app-host/services/interop/iframe-interop.service.js +0 -30
  55. package/dist/lib/collection/components/app-host/services/interop/react-native-interop.service.js +0 -20
  56. package/dist/lib/collection/components/app-host/services/interop.query.js +0 -26
  57. package/dist/lib/collection/components/app-host/services/session.store.js +0 -37
  58. package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -28
  59. package/dist/lib/collection/components/app-host/super-selection-app-host.js +0 -92
  60. package/dist/lib/collection/components/super-selection-app/api/api-client.js +0 -14
  61. package/dist/lib/collection/components/super-selection-app/api/event-tracking.api.js +0 -9
  62. package/dist/lib/collection/components/super-selection-app/api/super-selection-events.model.js +0 -1
  63. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +0 -1
  64. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +0 -30
  65. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +0 -31
  66. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +0 -11
  67. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +0 -29
  68. package/dist/lib/collection/components/super-selection-app/funds/constants.js +0 -13
  69. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.js +0 -1
  70. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.js +0 -31
  71. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +0 -68
  72. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +0 -53
  73. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +0 -108
  74. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +0 -93
  75. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +0 -103
  76. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.js +0 -111
  77. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +0 -153
  78. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.js +0 -1
  79. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +0 -96
  80. package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.js +0 -1
  81. package/dist/lib/collection/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.js +0 -13
  82. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/confirmCheck.js +0 -37
  83. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/continueCheck.js +0 -13
  84. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/getNextRoute.js +0 -89
  85. package/dist/lib/collection/components/super-selection-app/funds/qsuper/helpers/resetState.js +0 -31
  86. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-header.js +0 -38
  87. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.js +0 -63
  88. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-confirmation.css +0 -0
  89. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.js +0 -95
  90. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.js +0 -99
  91. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.js +0 -18
  92. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper-layout.js +0 -95
  93. package/dist/lib/collection/components/super-selection-app/funds/qsuper/qsuper.css +0 -50
  94. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question1/question1.js +0 -10
  95. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question2/question2.js +0 -10
  96. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question3/question3.js +0 -10
  97. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question4/question4.js +0 -10
  98. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question5/question5.js +0 -10
  99. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question6/question6.js +0 -10
  100. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question7/question7.js +0 -10
  101. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/question8/question8.js +0 -10
  102. package/dist/lib/collection/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.js +0 -66
  103. package/dist/lib/collection/components/super-selection-app/funds/qsuper/services/qsuper.store.js +0 -64
  104. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.js +0 -1
  105. package/dist/lib/collection/components/super-selection-app/funds/slate-super/api/slate-choice.api.js +0 -13
  106. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +0 -127
  107. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -9
  108. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +0 -35
  109. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
  110. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
  111. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +0 -19
  112. package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
  113. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +0 -22
  114. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +0 -71
  115. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +0 -22
  116. package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
  117. package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
  118. package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -53
  119. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +0 -42
  120. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +0 -73
  121. package/dist/lib/collection/components/super-selection-app/services/super-selection.store.js +0 -11
  122. package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
  123. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +0 -49
  124. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
  125. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
  126. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -216
  127. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -53
  128. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +0 -152
  129. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +0 -15
  130. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +0 -229
  131. package/dist/lib/collection/global/init-host.js +0 -22
  132. package/dist/lib/collection/global/main.dev.js +0 -26
  133. package/dist/lib/collection/global/main.js +0 -11
  134. package/dist/lib/collection/global/stencil-router-workaround.js +0 -12
  135. package/dist/lib/collection/index.js +0 -2
  136. package/dist/lib/collection/utils/config.js +0 -2
  137. package/dist/lib/collection/utils/gtm.js +0 -5
  138. package/dist/lib/collection/utils/iframe.js +0 -33
  139. package/dist/lib/collection/utils/index.js +0 -8
  140. package/dist/lib/collection/utils/lazy.js +0 -29
  141. package/dist/lib/collection/utils/storage.js +0 -5
  142. package/dist/lib/esm/active-router-09eb3641.js +0 -73
  143. package/dist/lib/esm/apollo-super-selection.js +0 -21
  144. package/dist/lib/esm/app-globals-7ac1ffba.js +0 -23
  145. package/dist/lib/esm/context-consumer.entry.js +0 -25
  146. package/dist/lib/esm/datorama-akita-79ce4385.js +0 -2692
  147. package/dist/lib/esm/delay-c0555599.js +0 -935
  148. package/dist/lib/esm/fl-button_43.entry.js +0 -16923
  149. package/dist/lib/esm/fl-style-guide.entry.js +0 -86
  150. package/dist/lib/esm/index-227ab0f1.js +0 -1731
  151. package/dist/lib/esm/index.js +0 -1
  152. package/dist/lib/esm/loader.js +0 -21
  153. package/dist/lib/esm/polyfills/core-js.js +0 -11
  154. package/dist/lib/esm/polyfills/css-shim.js +0 -1
  155. package/dist/lib/esm/polyfills/dom.js +0 -79
  156. package/dist/lib/esm/polyfills/es5-html-element.js +0 -1
  157. package/dist/lib/esm/polyfills/index.js +0 -34
  158. package/dist/lib/esm/polyfills/system.js +0 -6
  159. package/dist/lib/esm/stencil-async-content.entry.js +0 -28
  160. package/dist/lib/esm/stencil-route-title.entry.js +0 -28
  161. package/dist/lib/esm/stencil-router-prompt.entry.js +0 -55
  162. package/dist/lib/esm/stencil-router-redirect.entry.js +0 -28
  163. package/dist/lib/esm-es5/active-router-09eb3641.js +0 -1
  164. package/dist/lib/esm-es5/apollo-super-selection.js +0 -1
  165. package/dist/lib/esm-es5/app-globals-7ac1ffba.js +0 -1
  166. package/dist/lib/esm-es5/context-consumer.entry.js +0 -1
  167. package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
  168. package/dist/lib/esm-es5/delay-c0555599.js +0 -1
  169. package/dist/lib/esm-es5/fl-button_43.entry.js +0 -69
  170. package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
  171. package/dist/lib/esm-es5/index-227ab0f1.js +0 -1
  172. package/dist/lib/esm-es5/index.js +0 -0
  173. package/dist/lib/esm-es5/loader.js +0 -1
  174. package/dist/lib/esm-es5/stencil-async-content.entry.js +0 -1
  175. package/dist/lib/esm-es5/stencil-route-title.entry.js +0 -1
  176. package/dist/lib/esm-es5/stencil-router-prompt.entry.js +0 -1
  177. package/dist/lib/esm-es5/stencil-router-redirect.entry.js +0 -1
  178. package/dist/lib/index.cjs.js +0 -1
  179. package/dist/lib/index.js +0 -1
  180. package/dist/lib/loader/cdn.js +0 -3
  181. package/dist/lib/loader/index.cjs.js +0 -3
  182. package/dist/lib/loader/index.d.ts +0 -13
  183. package/dist/lib/loader/index.es2017.js +0 -3
  184. package/dist/lib/loader/index.js +0 -4
  185. package/dist/lib/loader/package.json +0 -10
  186. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
  187. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
  188. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
  189. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
  190. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
  191. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
  192. package/dist/lib/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
  193. package/dist/lib/types/components/app-host/loading-page.d.ts +0 -3
  194. package/dist/lib/types/components/app-host/services/app-configuration.query.d.ts +0 -11
  195. package/dist/lib/types/components/app-host/services/app-configuration.service.d.ts +0 -9
  196. package/dist/lib/types/components/app-host/services/appinsights.service.d.ts +0 -14
  197. package/dist/lib/types/components/app-host/services/authentication.query.d.ts +0 -13
  198. package/dist/lib/types/components/app-host/services/authentication.service.d.ts +0 -9
  199. package/dist/lib/types/components/app-host/services/interop/host-interop.service.d.ts +0 -7
  200. package/dist/lib/types/components/app-host/services/interop/iframe-interop.service.d.ts +0 -5
  201. package/dist/lib/types/components/app-host/services/interop/react-native-interop.service.d.ts +0 -7
  202. package/dist/lib/types/components/app-host/services/interop.query.d.ts +0 -11
  203. package/dist/lib/types/components/app-host/services/session.store.d.ts +0 -30
  204. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -17
  205. package/dist/lib/types/components/super-selection-app/api/api-client.d.ts +0 -2
  206. package/dist/lib/types/components/super-selection-app/api/event-tracking.api.d.ts +0 -6
  207. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +0 -73
  208. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +0 -16
  209. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +0 -81
  210. package/dist/lib/types/components/super-selection-app/app-state-pages/success.d.ts +0 -4
  211. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -4
  212. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +0 -13
  213. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.d.ts +0 -8
  214. package/dist/lib/types/components/super-selection-app/funds/custom-fund/api/custom-fund-choice.api.dto.d.ts +0 -28
  215. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +0 -9
  216. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +0 -30
  217. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -15
  218. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +0 -12
  219. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +0 -12
  220. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/bankBsbNumbers.d.ts +0 -112
  221. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +0 -15
  222. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +0 -10
  223. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -14
  224. package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.d.ts +0 -6
  225. package/dist/lib/types/components/super-selection-app/funds/qsuper/api/qsuper-choice.api.dto.d.ts +0 -21
  226. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/confirmCheck.d.ts +0 -1
  227. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/continueCheck.d.ts +0 -1
  228. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/getNextRoute.d.ts +0 -2
  229. package/dist/lib/types/components/super-selection-app/funds/qsuper/helpers/resetState.d.ts +0 -1
  230. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-header.d.ts +0 -5
  231. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-confirm-selection/qsuper-confirm-selection.d.ts +0 -6
  232. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-consent/qsuper-consent.d.ts +0 -7
  233. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-opt-in.d.ts +0 -12
  234. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-insurance-questions.d.ts +0 -3
  235. package/dist/lib/types/components/super-selection-app/funds/qsuper/qsuper-layout.d.ts +0 -11
  236. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question1/question1.d.ts +0 -3
  237. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question2/question2.d.ts +0 -3
  238. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question3/question3.d.ts +0 -3
  239. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question4/question4.d.ts +0 -3
  240. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question5/question5.d.ts +0 -3
  241. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question6/question6.d.ts +0 -3
  242. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question7/question7.d.ts +0 -3
  243. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/question8/question8.d.ts +0 -3
  244. package/dist/lib/types/components/super-selection-app/funds/qsuper/questions/yes-no-buttons/qsuper-question-yes-no-buttons.d.ts +0 -6
  245. package/dist/lib/types/components/super-selection-app/funds/qsuper/services/qsuper.store.d.ts +0 -58
  246. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.d.ts +0 -6
  247. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +0 -4
  248. package/dist/lib/types/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.d.ts +0 -13
  249. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
  250. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-join-page.d.ts +0 -7
  251. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
  252. package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
  253. package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
  254. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +0 -8
  255. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +0 -17
  256. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +0 -9
  257. package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
  258. package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
  259. package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
  260. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +0 -21
  261. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +0 -24
  262. package/dist/lib/types/components/super-selection-app/services/super-selection.store.d.ts +0 -13
  263. package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
  264. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +0 -7
  265. package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
  266. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -17
  267. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -13
  268. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +0 -26
  269. package/dist/lib/types/components.d.ts +0 -532
  270. package/dist/lib/types/global/init-host.d.ts +0 -1
  271. package/dist/lib/types/global/main.d.ts +0 -1
  272. package/dist/lib/types/global/main.dev.d.ts +0 -1
  273. package/dist/lib/types/global/stencil-router-workaround.d.ts +0 -1
  274. package/dist/lib/types/index.d.ts +0 -2
  275. package/dist/lib/types/stencil-public-runtime.d.ts +0 -1555
  276. package/dist/lib/types/utils/config.d.ts +0 -2
  277. package/dist/lib/types/utils/gtm.d.ts +0 -7
  278. package/dist/lib/types/utils/iframe.d.ts +0 -13
  279. package/dist/lib/types/utils/index.d.ts +0 -3
  280. package/dist/lib/types/utils/lazy.d.ts +0 -12
  281. package/dist/lib/types/utils/storage.d.ts +0 -4
@@ -1,955 +0,0 @@
1
- 'use strict';
2
-
3
- function isFunction(x) {
4
- return typeof x === 'function';
5
- }
6
-
7
- let _enable_super_gross_mode_that_will_cause_bad_things = false;
8
- const config = {
9
- Promise: undefined,
10
- set useDeprecatedSynchronousErrorHandling(value) {
11
- if (value) {
12
- const error = new Error();
13
- console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack);
14
- }
15
- else if (_enable_super_gross_mode_that_will_cause_bad_things) {
16
- console.log('RxJS: Back to a better error behavior. Thank you. <3');
17
- }
18
- _enable_super_gross_mode_that_will_cause_bad_things = value;
19
- },
20
- get useDeprecatedSynchronousErrorHandling() {
21
- return _enable_super_gross_mode_that_will_cause_bad_things;
22
- },
23
- };
24
-
25
- function hostReportError(err) {
26
- setTimeout(() => { throw err; }, 0);
27
- }
28
-
29
- const empty = {
30
- closed: true,
31
- next(value) { },
32
- error(err) {
33
- if (config.useDeprecatedSynchronousErrorHandling) {
34
- throw err;
35
- }
36
- else {
37
- hostReportError(err);
38
- }
39
- },
40
- complete() { }
41
- };
42
-
43
- const isArray = (() => Array.isArray || ((x) => x && typeof x.length === 'number'))();
44
-
45
- function isObject(x) {
46
- return x !== null && typeof x === 'object';
47
- }
48
-
49
- const UnsubscriptionErrorImpl = (() => {
50
- function UnsubscriptionErrorImpl(errors) {
51
- Error.call(this);
52
- this.message = errors ?
53
- `${errors.length} errors occurred during unsubscription:
54
- ${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\n ')}` : '';
55
- this.name = 'UnsubscriptionError';
56
- this.errors = errors;
57
- return this;
58
- }
59
- UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);
60
- return UnsubscriptionErrorImpl;
61
- })();
62
- const UnsubscriptionError = UnsubscriptionErrorImpl;
63
-
64
- class Subscription {
65
- constructor(unsubscribe) {
66
- this.closed = false;
67
- this._parentOrParents = null;
68
- this._subscriptions = null;
69
- if (unsubscribe) {
70
- this._ctorUnsubscribe = true;
71
- this._unsubscribe = unsubscribe;
72
- }
73
- }
74
- unsubscribe() {
75
- let errors;
76
- if (this.closed) {
77
- return;
78
- }
79
- let { _parentOrParents, _ctorUnsubscribe, _unsubscribe, _subscriptions } = this;
80
- this.closed = true;
81
- this._parentOrParents = null;
82
- this._subscriptions = null;
83
- if (_parentOrParents instanceof Subscription) {
84
- _parentOrParents.remove(this);
85
- }
86
- else if (_parentOrParents !== null) {
87
- for (let index = 0; index < _parentOrParents.length; ++index) {
88
- const parent = _parentOrParents[index];
89
- parent.remove(this);
90
- }
91
- }
92
- if (isFunction(_unsubscribe)) {
93
- if (_ctorUnsubscribe) {
94
- this._unsubscribe = undefined;
95
- }
96
- try {
97
- _unsubscribe.call(this);
98
- }
99
- catch (e) {
100
- errors = e instanceof UnsubscriptionError ? flattenUnsubscriptionErrors(e.errors) : [e];
101
- }
102
- }
103
- if (isArray(_subscriptions)) {
104
- let index = -1;
105
- let len = _subscriptions.length;
106
- while (++index < len) {
107
- const sub = _subscriptions[index];
108
- if (isObject(sub)) {
109
- try {
110
- sub.unsubscribe();
111
- }
112
- catch (e) {
113
- errors = errors || [];
114
- if (e instanceof UnsubscriptionError) {
115
- errors = errors.concat(flattenUnsubscriptionErrors(e.errors));
116
- }
117
- else {
118
- errors.push(e);
119
- }
120
- }
121
- }
122
- }
123
- }
124
- if (errors) {
125
- throw new UnsubscriptionError(errors);
126
- }
127
- }
128
- add(teardown) {
129
- let subscription = teardown;
130
- if (!teardown) {
131
- return Subscription.EMPTY;
132
- }
133
- switch (typeof teardown) {
134
- case 'function':
135
- subscription = new Subscription(teardown);
136
- case 'object':
137
- if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {
138
- return subscription;
139
- }
140
- else if (this.closed) {
141
- subscription.unsubscribe();
142
- return subscription;
143
- }
144
- else if (!(subscription instanceof Subscription)) {
145
- const tmp = subscription;
146
- subscription = new Subscription();
147
- subscription._subscriptions = [tmp];
148
- }
149
- break;
150
- default: {
151
- throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');
152
- }
153
- }
154
- let { _parentOrParents } = subscription;
155
- if (_parentOrParents === null) {
156
- subscription._parentOrParents = this;
157
- }
158
- else if (_parentOrParents instanceof Subscription) {
159
- if (_parentOrParents === this) {
160
- return subscription;
161
- }
162
- subscription._parentOrParents = [_parentOrParents, this];
163
- }
164
- else if (_parentOrParents.indexOf(this) === -1) {
165
- _parentOrParents.push(this);
166
- }
167
- else {
168
- return subscription;
169
- }
170
- const subscriptions = this._subscriptions;
171
- if (subscriptions === null) {
172
- this._subscriptions = [subscription];
173
- }
174
- else {
175
- subscriptions.push(subscription);
176
- }
177
- return subscription;
178
- }
179
- remove(subscription) {
180
- const subscriptions = this._subscriptions;
181
- if (subscriptions) {
182
- const subscriptionIndex = subscriptions.indexOf(subscription);
183
- if (subscriptionIndex !== -1) {
184
- subscriptions.splice(subscriptionIndex, 1);
185
- }
186
- }
187
- }
188
- }
189
- Subscription.EMPTY = (function (empty) {
190
- empty.closed = true;
191
- return empty;
192
- }(new Subscription()));
193
- function flattenUnsubscriptionErrors(errors) {
194
- return errors.reduce((errs, err) => errs.concat((err instanceof UnsubscriptionError) ? err.errors : err), []);
195
- }
196
-
197
- const rxSubscriber = (() => typeof Symbol === 'function'
198
- ? Symbol('rxSubscriber')
199
- : '@@rxSubscriber_' + Math.random())();
200
-
201
- class Subscriber extends Subscription {
202
- constructor(destinationOrNext, error, complete) {
203
- super();
204
- this.syncErrorValue = null;
205
- this.syncErrorThrown = false;
206
- this.syncErrorThrowable = false;
207
- this.isStopped = false;
208
- switch (arguments.length) {
209
- case 0:
210
- this.destination = empty;
211
- break;
212
- case 1:
213
- if (!destinationOrNext) {
214
- this.destination = empty;
215
- break;
216
- }
217
- if (typeof destinationOrNext === 'object') {
218
- if (destinationOrNext instanceof Subscriber) {
219
- this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;
220
- this.destination = destinationOrNext;
221
- destinationOrNext.add(this);
222
- }
223
- else {
224
- this.syncErrorThrowable = true;
225
- this.destination = new SafeSubscriber(this, destinationOrNext);
226
- }
227
- break;
228
- }
229
- default:
230
- this.syncErrorThrowable = true;
231
- this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);
232
- break;
233
- }
234
- }
235
- [rxSubscriber]() { return this; }
236
- static create(next, error, complete) {
237
- const subscriber = new Subscriber(next, error, complete);
238
- subscriber.syncErrorThrowable = false;
239
- return subscriber;
240
- }
241
- next(value) {
242
- if (!this.isStopped) {
243
- this._next(value);
244
- }
245
- }
246
- error(err) {
247
- if (!this.isStopped) {
248
- this.isStopped = true;
249
- this._error(err);
250
- }
251
- }
252
- complete() {
253
- if (!this.isStopped) {
254
- this.isStopped = true;
255
- this._complete();
256
- }
257
- }
258
- unsubscribe() {
259
- if (this.closed) {
260
- return;
261
- }
262
- this.isStopped = true;
263
- super.unsubscribe();
264
- }
265
- _next(value) {
266
- this.destination.next(value);
267
- }
268
- _error(err) {
269
- this.destination.error(err);
270
- this.unsubscribe();
271
- }
272
- _complete() {
273
- this.destination.complete();
274
- this.unsubscribe();
275
- }
276
- _unsubscribeAndRecycle() {
277
- const { _parentOrParents } = this;
278
- this._parentOrParents = null;
279
- this.unsubscribe();
280
- this.closed = false;
281
- this.isStopped = false;
282
- this._parentOrParents = _parentOrParents;
283
- return this;
284
- }
285
- }
286
- class SafeSubscriber extends Subscriber {
287
- constructor(_parentSubscriber, observerOrNext, error, complete) {
288
- super();
289
- this._parentSubscriber = _parentSubscriber;
290
- let next;
291
- let context = this;
292
- if (isFunction(observerOrNext)) {
293
- next = observerOrNext;
294
- }
295
- else if (observerOrNext) {
296
- next = observerOrNext.next;
297
- error = observerOrNext.error;
298
- complete = observerOrNext.complete;
299
- if (observerOrNext !== empty) {
300
- context = Object.create(observerOrNext);
301
- if (isFunction(context.unsubscribe)) {
302
- this.add(context.unsubscribe.bind(context));
303
- }
304
- context.unsubscribe = this.unsubscribe.bind(this);
305
- }
306
- }
307
- this._context = context;
308
- this._next = next;
309
- this._error = error;
310
- this._complete = complete;
311
- }
312
- next(value) {
313
- if (!this.isStopped && this._next) {
314
- const { _parentSubscriber } = this;
315
- if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
316
- this.__tryOrUnsub(this._next, value);
317
- }
318
- else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {
319
- this.unsubscribe();
320
- }
321
- }
322
- }
323
- error(err) {
324
- if (!this.isStopped) {
325
- const { _parentSubscriber } = this;
326
- const { useDeprecatedSynchronousErrorHandling } = config;
327
- if (this._error) {
328
- if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
329
- this.__tryOrUnsub(this._error, err);
330
- this.unsubscribe();
331
- }
332
- else {
333
- this.__tryOrSetError(_parentSubscriber, this._error, err);
334
- this.unsubscribe();
335
- }
336
- }
337
- else if (!_parentSubscriber.syncErrorThrowable) {
338
- this.unsubscribe();
339
- if (useDeprecatedSynchronousErrorHandling) {
340
- throw err;
341
- }
342
- hostReportError(err);
343
- }
344
- else {
345
- if (useDeprecatedSynchronousErrorHandling) {
346
- _parentSubscriber.syncErrorValue = err;
347
- _parentSubscriber.syncErrorThrown = true;
348
- }
349
- else {
350
- hostReportError(err);
351
- }
352
- this.unsubscribe();
353
- }
354
- }
355
- }
356
- complete() {
357
- if (!this.isStopped) {
358
- const { _parentSubscriber } = this;
359
- if (this._complete) {
360
- const wrappedComplete = () => this._complete.call(this._context);
361
- if (!config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
362
- this.__tryOrUnsub(wrappedComplete);
363
- this.unsubscribe();
364
- }
365
- else {
366
- this.__tryOrSetError(_parentSubscriber, wrappedComplete);
367
- this.unsubscribe();
368
- }
369
- }
370
- else {
371
- this.unsubscribe();
372
- }
373
- }
374
- }
375
- __tryOrUnsub(fn, value) {
376
- try {
377
- fn.call(this._context, value);
378
- }
379
- catch (err) {
380
- this.unsubscribe();
381
- if (config.useDeprecatedSynchronousErrorHandling) {
382
- throw err;
383
- }
384
- else {
385
- hostReportError(err);
386
- }
387
- }
388
- }
389
- __tryOrSetError(parent, fn, value) {
390
- if (!config.useDeprecatedSynchronousErrorHandling) {
391
- throw new Error('bad call');
392
- }
393
- try {
394
- fn.call(this._context, value);
395
- }
396
- catch (err) {
397
- if (config.useDeprecatedSynchronousErrorHandling) {
398
- parent.syncErrorValue = err;
399
- parent.syncErrorThrown = true;
400
- return true;
401
- }
402
- else {
403
- hostReportError(err);
404
- return true;
405
- }
406
- }
407
- return false;
408
- }
409
- _unsubscribe() {
410
- const { _parentSubscriber } = this;
411
- this._context = null;
412
- this._parentSubscriber = null;
413
- _parentSubscriber.unsubscribe();
414
- }
415
- }
416
-
417
- function canReportError(observer) {
418
- while (observer) {
419
- const { closed, destination, isStopped } = observer;
420
- if (closed || isStopped) {
421
- return false;
422
- }
423
- else if (destination && destination instanceof Subscriber) {
424
- observer = destination;
425
- }
426
- else {
427
- observer = null;
428
- }
429
- }
430
- return true;
431
- }
432
-
433
- function toSubscriber(nextOrObserver, error, complete) {
434
- if (nextOrObserver) {
435
- if (nextOrObserver instanceof Subscriber) {
436
- return nextOrObserver;
437
- }
438
- if (nextOrObserver[rxSubscriber]) {
439
- return nextOrObserver[rxSubscriber]();
440
- }
441
- }
442
- if (!nextOrObserver && !error && !complete) {
443
- return new Subscriber(empty);
444
- }
445
- return new Subscriber(nextOrObserver, error, complete);
446
- }
447
-
448
- const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')();
449
-
450
- function identity(x) {
451
- return x;
452
- }
453
-
454
- function pipeFromArray(fns) {
455
- if (fns.length === 0) {
456
- return identity;
457
- }
458
- if (fns.length === 1) {
459
- return fns[0];
460
- }
461
- return function piped(input) {
462
- return fns.reduce((prev, fn) => fn(prev), input);
463
- };
464
- }
465
-
466
- class Observable {
467
- constructor(subscribe) {
468
- this._isScalar = false;
469
- if (subscribe) {
470
- this._subscribe = subscribe;
471
- }
472
- }
473
- lift(operator) {
474
- const observable = new Observable();
475
- observable.source = this;
476
- observable.operator = operator;
477
- return observable;
478
- }
479
- subscribe(observerOrNext, error, complete) {
480
- const { operator } = this;
481
- const sink = toSubscriber(observerOrNext, error, complete);
482
- if (operator) {
483
- sink.add(operator.call(sink, this.source));
484
- }
485
- else {
486
- sink.add(this.source || (config.useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable) ?
487
- this._subscribe(sink) :
488
- this._trySubscribe(sink));
489
- }
490
- if (config.useDeprecatedSynchronousErrorHandling) {
491
- if (sink.syncErrorThrowable) {
492
- sink.syncErrorThrowable = false;
493
- if (sink.syncErrorThrown) {
494
- throw sink.syncErrorValue;
495
- }
496
- }
497
- }
498
- return sink;
499
- }
500
- _trySubscribe(sink) {
501
- try {
502
- return this._subscribe(sink);
503
- }
504
- catch (err) {
505
- if (config.useDeprecatedSynchronousErrorHandling) {
506
- sink.syncErrorThrown = true;
507
- sink.syncErrorValue = err;
508
- }
509
- if (canReportError(sink)) {
510
- sink.error(err);
511
- }
512
- else {
513
- console.warn(err);
514
- }
515
- }
516
- }
517
- forEach(next, promiseCtor) {
518
- promiseCtor = getPromiseCtor(promiseCtor);
519
- return new promiseCtor((resolve, reject) => {
520
- let subscription;
521
- subscription = this.subscribe((value) => {
522
- try {
523
- next(value);
524
- }
525
- catch (err) {
526
- reject(err);
527
- if (subscription) {
528
- subscription.unsubscribe();
529
- }
530
- }
531
- }, reject, resolve);
532
- });
533
- }
534
- _subscribe(subscriber) {
535
- const { source } = this;
536
- return source && source.subscribe(subscriber);
537
- }
538
- [observable]() {
539
- return this;
540
- }
541
- pipe(...operations) {
542
- if (operations.length === 0) {
543
- return this;
544
- }
545
- return pipeFromArray(operations)(this);
546
- }
547
- toPromise(promiseCtor) {
548
- promiseCtor = getPromiseCtor(promiseCtor);
549
- return new promiseCtor((resolve, reject) => {
550
- let value;
551
- this.subscribe((x) => value = x, (err) => reject(err), () => resolve(value));
552
- });
553
- }
554
- }
555
- Observable.create = (subscribe) => {
556
- return new Observable(subscribe);
557
- };
558
- function getPromiseCtor(promiseCtor) {
559
- if (!promiseCtor) {
560
- promiseCtor = Promise;
561
- }
562
- if (!promiseCtor) {
563
- throw new Error('no Promise impl found');
564
- }
565
- return promiseCtor;
566
- }
567
-
568
- class Action extends Subscription {
569
- constructor(scheduler, work) {
570
- super();
571
- }
572
- schedule(state, delay = 0) {
573
- return this;
574
- }
575
- }
576
-
577
- class AsyncAction extends Action {
578
- constructor(scheduler, work) {
579
- super(scheduler, work);
580
- this.scheduler = scheduler;
581
- this.work = work;
582
- this.pending = false;
583
- }
584
- schedule(state, delay = 0) {
585
- if (this.closed) {
586
- return this;
587
- }
588
- this.state = state;
589
- const id = this.id;
590
- const scheduler = this.scheduler;
591
- if (id != null) {
592
- this.id = this.recycleAsyncId(scheduler, id, delay);
593
- }
594
- this.pending = true;
595
- this.delay = delay;
596
- this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);
597
- return this;
598
- }
599
- requestAsyncId(scheduler, id, delay = 0) {
600
- return setInterval(scheduler.flush.bind(scheduler, this), delay);
601
- }
602
- recycleAsyncId(scheduler, id, delay = 0) {
603
- if (delay !== null && this.delay === delay && this.pending === false) {
604
- return id;
605
- }
606
- clearInterval(id);
607
- return undefined;
608
- }
609
- execute(state, delay) {
610
- if (this.closed) {
611
- return new Error('executing a cancelled action');
612
- }
613
- this.pending = false;
614
- const error = this._execute(state, delay);
615
- if (error) {
616
- return error;
617
- }
618
- else if (this.pending === false && this.id != null) {
619
- this.id = this.recycleAsyncId(this.scheduler, this.id, null);
620
- }
621
- }
622
- _execute(state, delay) {
623
- let errored = false;
624
- let errorValue = undefined;
625
- try {
626
- this.work(state);
627
- }
628
- catch (e) {
629
- errored = true;
630
- errorValue = !!e && e || new Error(e);
631
- }
632
- if (errored) {
633
- this.unsubscribe();
634
- return errorValue;
635
- }
636
- }
637
- _unsubscribe() {
638
- const id = this.id;
639
- const scheduler = this.scheduler;
640
- const actions = scheduler.actions;
641
- const index = actions.indexOf(this);
642
- this.work = null;
643
- this.state = null;
644
- this.pending = false;
645
- this.scheduler = null;
646
- if (index !== -1) {
647
- actions.splice(index, 1);
648
- }
649
- if (id != null) {
650
- this.id = this.recycleAsyncId(scheduler, id, null);
651
- }
652
- this.delay = null;
653
- }
654
- }
655
-
656
- class Scheduler {
657
- constructor(SchedulerAction, now = Scheduler.now) {
658
- this.SchedulerAction = SchedulerAction;
659
- this.now = now;
660
- }
661
- schedule(work, delay = 0, state) {
662
- return new this.SchedulerAction(this, work).schedule(state, delay);
663
- }
664
- }
665
- Scheduler.now = () => Date.now();
666
-
667
- class AsyncScheduler extends Scheduler {
668
- constructor(SchedulerAction, now = Scheduler.now) {
669
- super(SchedulerAction, () => {
670
- if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {
671
- return AsyncScheduler.delegate.now();
672
- }
673
- else {
674
- return now();
675
- }
676
- });
677
- this.actions = [];
678
- this.active = false;
679
- this.scheduled = undefined;
680
- }
681
- schedule(work, delay = 0, state) {
682
- if (AsyncScheduler.delegate && AsyncScheduler.delegate !== this) {
683
- return AsyncScheduler.delegate.schedule(work, delay, state);
684
- }
685
- else {
686
- return super.schedule(work, delay, state);
687
- }
688
- }
689
- flush(action) {
690
- const { actions } = this;
691
- if (this.active) {
692
- actions.push(action);
693
- return;
694
- }
695
- let error;
696
- this.active = true;
697
- do {
698
- if (error = action.execute(action.state, action.delay)) {
699
- break;
700
- }
701
- } while (action = actions.shift());
702
- this.active = false;
703
- if (error) {
704
- while (action = actions.shift()) {
705
- action.unsubscribe();
706
- }
707
- throw error;
708
- }
709
- }
710
- }
711
-
712
- const EMPTY = new Observable(subscriber => subscriber.complete());
713
- function empty$1(scheduler) {
714
- return scheduler ? emptyScheduled(scheduler) : EMPTY;
715
- }
716
- function emptyScheduled(scheduler) {
717
- return new Observable(subscriber => scheduler.schedule(() => subscriber.complete()));
718
- }
719
-
720
- function isScheduler(value) {
721
- return value && typeof value.schedule === 'function';
722
- }
723
-
724
- const subscribeToArray = (array) => (subscriber) => {
725
- for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) {
726
- subscriber.next(array[i]);
727
- }
728
- subscriber.complete();
729
- };
730
-
731
- function scheduleArray(input, scheduler) {
732
- return new Observable(subscriber => {
733
- const sub = new Subscription();
734
- let i = 0;
735
- sub.add(scheduler.schedule(function () {
736
- if (i === input.length) {
737
- subscriber.complete();
738
- return;
739
- }
740
- subscriber.next(input[i++]);
741
- if (!subscriber.closed) {
742
- sub.add(this.schedule());
743
- }
744
- }));
745
- return sub;
746
- });
747
- }
748
-
749
- function fromArray(input, scheduler) {
750
- if (!scheduler) {
751
- return new Observable(subscribeToArray(input));
752
- }
753
- else {
754
- return scheduleArray(input, scheduler);
755
- }
756
- }
757
-
758
- function of(...args) {
759
- let scheduler = args[args.length - 1];
760
- if (isScheduler(scheduler)) {
761
- args.pop();
762
- return scheduleArray(args, scheduler);
763
- }
764
- else {
765
- return fromArray(args);
766
- }
767
- }
768
-
769
- function throwError(error, scheduler) {
770
- if (!scheduler) {
771
- return new Observable(subscriber => subscriber.error(error));
772
- }
773
- else {
774
- return new Observable(subscriber => scheduler.schedule(dispatch, 0, { error, subscriber }));
775
- }
776
- }
777
- function dispatch({ error, subscriber }) {
778
- subscriber.error(error);
779
- }
780
-
781
- var NotificationKind;
782
- (function (NotificationKind) {
783
- NotificationKind["NEXT"] = "N";
784
- NotificationKind["ERROR"] = "E";
785
- NotificationKind["COMPLETE"] = "C";
786
- })(NotificationKind || (NotificationKind = {}));
787
- class Notification {
788
- constructor(kind, value, error) {
789
- this.kind = kind;
790
- this.value = value;
791
- this.error = error;
792
- this.hasValue = kind === 'N';
793
- }
794
- observe(observer) {
795
- switch (this.kind) {
796
- case 'N':
797
- return observer.next && observer.next(this.value);
798
- case 'E':
799
- return observer.error && observer.error(this.error);
800
- case 'C':
801
- return observer.complete && observer.complete();
802
- }
803
- }
804
- do(next, error, complete) {
805
- const kind = this.kind;
806
- switch (kind) {
807
- case 'N':
808
- return next && next(this.value);
809
- case 'E':
810
- return error && error(this.error);
811
- case 'C':
812
- return complete && complete();
813
- }
814
- }
815
- accept(nextOrObserver, error, complete) {
816
- if (nextOrObserver && typeof nextOrObserver.next === 'function') {
817
- return this.observe(nextOrObserver);
818
- }
819
- else {
820
- return this.do(nextOrObserver, error, complete);
821
- }
822
- }
823
- toObservable() {
824
- const kind = this.kind;
825
- switch (kind) {
826
- case 'N':
827
- return of(this.value);
828
- case 'E':
829
- return throwError(this.error);
830
- case 'C':
831
- return empty$1();
832
- }
833
- throw new Error('unexpected notification kind value');
834
- }
835
- static createNext(value) {
836
- if (typeof value !== 'undefined') {
837
- return new Notification('N', value);
838
- }
839
- return Notification.undefinedValueNotification;
840
- }
841
- static createError(err) {
842
- return new Notification('E', undefined, err);
843
- }
844
- static createComplete() {
845
- return Notification.completeNotification;
846
- }
847
- }
848
- Notification.completeNotification = new Notification('C');
849
- Notification.undefinedValueNotification = new Notification('N', undefined);
850
-
851
- const asyncScheduler = new AsyncScheduler(AsyncAction);
852
- const async = asyncScheduler;
853
-
854
- function isDate(value) {
855
- return value instanceof Date && !isNaN(+value);
856
- }
857
-
858
- function delay(delay, scheduler = async) {
859
- const absoluteDelay = isDate(delay);
860
- const delayFor = absoluteDelay ? (+delay - scheduler.now()) : Math.abs(delay);
861
- return (source) => source.lift(new DelayOperator(delayFor, scheduler));
862
- }
863
- class DelayOperator {
864
- constructor(delay, scheduler) {
865
- this.delay = delay;
866
- this.scheduler = scheduler;
867
- }
868
- call(subscriber, source) {
869
- return source.subscribe(new DelaySubscriber(subscriber, this.delay, this.scheduler));
870
- }
871
- }
872
- class DelaySubscriber extends Subscriber {
873
- constructor(destination, delay, scheduler) {
874
- super(destination);
875
- this.delay = delay;
876
- this.scheduler = scheduler;
877
- this.queue = [];
878
- this.active = false;
879
- this.errored = false;
880
- }
881
- static dispatch(state) {
882
- const source = state.source;
883
- const queue = source.queue;
884
- const scheduler = state.scheduler;
885
- const destination = state.destination;
886
- while (queue.length > 0 && (queue[0].time - scheduler.now()) <= 0) {
887
- queue.shift().notification.observe(destination);
888
- }
889
- if (queue.length > 0) {
890
- const delay = Math.max(0, queue[0].time - scheduler.now());
891
- this.schedule(state, delay);
892
- }
893
- else {
894
- this.unsubscribe();
895
- source.active = false;
896
- }
897
- }
898
- _schedule(scheduler) {
899
- this.active = true;
900
- const destination = this.destination;
901
- destination.add(scheduler.schedule(DelaySubscriber.dispatch, this.delay, {
902
- source: this, destination: this.destination, scheduler: scheduler
903
- }));
904
- }
905
- scheduleNotification(notification) {
906
- if (this.errored === true) {
907
- return;
908
- }
909
- const scheduler = this.scheduler;
910
- const message = new DelayMessage(scheduler.now() + this.delay, notification);
911
- this.queue.push(message);
912
- if (this.active === false) {
913
- this._schedule(scheduler);
914
- }
915
- }
916
- _next(value) {
917
- this.scheduleNotification(Notification.createNext(value));
918
- }
919
- _error(err) {
920
- this.errored = true;
921
- this.queue = [];
922
- this.destination.error(err);
923
- this.unsubscribe();
924
- }
925
- _complete() {
926
- this.scheduleNotification(Notification.createComplete());
927
- this.unsubscribe();
928
- }
929
- }
930
- class DelayMessage {
931
- constructor(time, notification) {
932
- this.time = time;
933
- this.notification = notification;
934
- }
935
- }
936
-
937
- exports.AsyncAction = AsyncAction;
938
- exports.AsyncScheduler = AsyncScheduler;
939
- exports.Notification = Notification;
940
- exports.Observable = Observable;
941
- exports.Subscriber = Subscriber;
942
- exports.Subscription = Subscription;
943
- exports.async = async;
944
- exports.delay = delay;
945
- exports.empty = empty$1;
946
- exports.hostReportError = hostReportError;
947
- exports.isArray = isArray;
948
- exports.isFunction = isFunction;
949
- exports.isObject = isObject;
950
- exports.isScheduler = isScheduler;
951
- exports.observable = observable;
952
- exports.of = of;
953
- exports.rxSubscriber = rxSubscriber;
954
- exports.scheduleArray = scheduleArray;
955
- exports.subscribeToArray = subscribeToArray;