@flarehr/apollo-super-selection 3.52.60060 → 3.53.61179

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 (162) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -0
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  3. package/dist/lib/apollo-super-selection/apollo-super-selection.js +1 -1
  4. package/dist/lib/apollo-super-selection/assets/icon-check.svg +3 -0
  5. package/dist/lib/apollo-super-selection/assets/icon-exclamation.svg +3 -0
  6. package/dist/lib/apollo-super-selection/assets/icon-information-circle.svg +3 -0
  7. package/dist/lib/apollo-super-selection/p-03373b03.system.js +1 -0
  8. package/dist/lib/apollo-super-selection/p-14885f78.system.js +15 -0
  9. package/dist/lib/apollo-super-selection/{p-381262c1.system.js → p-15f0e5eb.system.js} +1 -1
  10. package/dist/lib/apollo-super-selection/p-29c11183.js +15 -0
  11. package/dist/lib/apollo-super-selection/p-6c94de60.system.entry.js +69 -0
  12. package/dist/lib/apollo-super-selection/p-74f91404.entry.js +14 -0
  13. package/dist/lib/apollo-super-selection/p-86e3e03f.js +1 -0
  14. package/dist/lib/cjs/apollo-super-selection.cjs.js +3 -4
  15. package/dist/lib/cjs/{app-globals-45007120.js → app-globals-b1125d8c.js} +1 -1
  16. package/dist/lib/cjs/{datorama-akita-7f4b082a.js → datorama-akita-6c9cb8fb.js} +1005 -68
  17. package/dist/lib/cjs/loader.cjs.js +3 -4
  18. package/dist/lib/cjs/{fl-button_31.cjs.entry.js → sss-button_28.cjs.entry.js} +2099 -2167
  19. package/dist/lib/collection/apollo-super-selection.css +1 -0
  20. package/dist/lib/collection/collection-manifest.json +16 -28
  21. package/dist/lib/collection/components/app-host/loading-page.js +3 -3
  22. package/dist/lib/collection/components/app-host/super-selection-app-host.css +0 -4
  23. package/dist/lib/collection/components/app-host/super-selection-app-host.js +7 -19
  24. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.dto.js +69 -1
  25. package/dist/lib/collection/components/super-selection-app/api/super-selection.api.js +9 -3
  26. package/dist/lib/collection/components/super-selection-app/app-state-pages/success.js +16 -21
  27. package/dist/lib/collection/components/super-selection-app/assets/icon-check.svg +3 -0
  28. package/dist/lib/collection/components/super-selection-app/assets/icon-exclamation.svg +3 -0
  29. package/dist/lib/collection/components/super-selection-app/assets/icon-information-circle.svg +3 -0
  30. package/dist/lib/collection/components/super-selection-app/consent/consent.js +57 -0
  31. package/dist/lib/collection/components/super-selection-app/existing-choice/existing-choice.js +132 -0
  32. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.js +6 -18
  33. package/dist/lib/collection/components/super-selection-app/funds/constants.js +50 -0
  34. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.js +31 -16
  35. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/custom-fund.store.js +10 -14
  36. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/default-fund/default-fund.js +36 -45
  37. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.js +40 -19
  38. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.js +45 -40
  39. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.js +104 -58
  40. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.js +53 -49
  41. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.js +6 -16
  42. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-join-page.js +1 -1
  43. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund.store.js +1 -4
  44. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/services/promoted-fund-join-iframe-builder.js +10 -4
  45. package/dist/lib/collection/components/super-selection-app/funds/slate-super/services/slate-iframe-builder.js +13 -4
  46. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-join-page.js +2 -3
  47. package/dist/lib/collection/components/super-selection-app/header-section/header-section.js +28 -0
  48. package/dist/lib/collection/components/super-selection-app/misc/button.js +146 -0
  49. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.css +7 -0
  50. package/dist/lib/collection/components/super-selection-app/misc/dropdown-async.js +359 -0
  51. package/dist/lib/collection/components/super-selection-app/misc/loading-indicator.js +52 -0
  52. package/dist/lib/collection/components/super-selection-app/services/australian-fund-lookup.service.js +8 -4
  53. package/dist/lib/collection/components/super-selection-app/services/event-tracking.service.js +20 -0
  54. package/dist/lib/collection/components/super-selection-app/services/existing-super-choice-info.service.js +95 -0
  55. package/dist/lib/collection/components/super-selection-app/services/navigation.service.js +8 -0
  56. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.routes.js +6 -4
  57. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.js +71 -34
  58. package/dist/lib/collection/components/super-selection-app/standard-choice/standard-choice-form.store.js +10 -0
  59. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.js +94 -0
  60. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.js +89 -0
  61. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.js +67 -90
  62. package/dist/lib/collection/components/super-selection-app/super-selection-app.css +16 -4
  63. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +32 -11
  64. package/dist/lib/esm/apollo-super-selection.js +3 -4
  65. package/dist/lib/esm/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
  66. package/dist/lib/esm/{datorama-akita-79ce4385.js → datorama-akita-127aea91.js} +960 -28
  67. package/dist/lib/esm/loader.js +3 -4
  68. package/dist/lib/esm/{fl-button_31.entry.js → sss-button_28.entry.js} +2086 -2151
  69. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  70. package/dist/lib/esm-es5/{app-globals-7ac1ffba.js → app-globals-c1f89805.js} +1 -1
  71. package/dist/lib/esm-es5/datorama-akita-127aea91.js +15 -0
  72. package/dist/lib/esm-es5/loader.js +1 -1
  73. package/dist/lib/esm-es5/sss-button_28.entry.js +69 -0
  74. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +0 -3
  75. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +30 -0
  76. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -1
  77. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +19 -4
  78. package/dist/lib/types/components/super-selection-app/consent/consent.d.ts +9 -0
  79. package/dist/lib/types/components/super-selection-app/existing-choice/existing-choice.d.ts +12 -0
  80. package/dist/lib/types/components/super-selection-app/footer-section/footer-section.d.ts +0 -1
  81. package/dist/lib/types/components/super-selection-app/funds/constants.d.ts +3 -0
  82. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.d.ts +1 -1
  83. package/dist/lib/types/components/super-selection-app/funds/custom-fund/custom-fund.store.d.ts +4 -6
  84. package/dist/lib/types/components/super-selection-app/funds/custom-fund/default-fund/default-fund.d.ts +0 -2
  85. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund-inputs.d.ts +2 -1
  86. package/dist/lib/types/components/super-selection-app/funds/custom-fund/my-own-fund/my-own-fund.d.ts +1 -0
  87. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund-inputs.d.ts +7 -0
  88. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.d.ts +1 -0
  89. package/dist/lib/types/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form.d.ts +0 -1
  90. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund.store.d.ts +0 -3
  91. package/dist/lib/types/components/super-selection-app/header-section/header-section.d.ts +4 -0
  92. package/dist/lib/types/components/super-selection-app/misc/button.d.ts +11 -0
  93. package/dist/lib/types/components/super-selection-app/misc/dropdown-async.d.ts +44 -0
  94. package/dist/lib/types/components/super-selection-app/misc/loading-indicator.d.ts +5 -0
  95. package/dist/lib/types/components/super-selection-app/services/australian-fund-lookup.service.d.ts +1 -0
  96. package/dist/lib/types/components/super-selection-app/services/event-tracking.service.d.ts +4 -0
  97. package/dist/lib/types/components/super-selection-app/services/existing-super-choice-info.service.d.ts +51 -0
  98. package/dist/lib/types/components/super-selection-app/services/navigation.service.d.ts +6 -0
  99. package/dist/lib/types/components/super-selection-app/services/super-selection-app.routes.d.ts +3 -2
  100. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.d.ts +6 -3
  101. package/dist/lib/types/components/super-selection-app/standard-choice/standard-choice-form.store.d.ts +8 -0
  102. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-bottom.d.ts +9 -0
  103. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item/super-choice-item-top.d.ts +7 -0
  104. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-page.d.ts +0 -3
  105. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +1 -1
  106. package/dist/lib/types/components.d.ts +146 -97
  107. package/package.json +12 -7
  108. package/dist/lib/apollo-super-selection/assets/logo-qsuper-square.png +0 -0
  109. package/dist/lib/apollo-super-selection/assets/logo-qsuper.png +0 -0
  110. package/dist/lib/apollo-super-selection/p-0623b20a.system.entry.js +0 -69
  111. package/dist/lib/apollo-super-selection/p-13573238.system.js +0 -15
  112. package/dist/lib/apollo-super-selection/p-342cee5a.js +0 -1
  113. package/dist/lib/apollo-super-selection/p-38f24f69.js +0 -1
  114. package/dist/lib/apollo-super-selection/p-64ebe17d.system.entry.js +0 -1
  115. package/dist/lib/apollo-super-selection/p-7dbe5a2f.system.js +0 -1
  116. package/dist/lib/apollo-super-selection/p-d82b00ed.system.js +0 -1
  117. package/dist/lib/apollo-super-selection/p-df9ce4b7.js +0 -15
  118. package/dist/lib/apollo-super-selection/p-f7a45412.entry.js +0 -1
  119. package/dist/lib/apollo-super-selection/p-fbe8c6d1.entry.js +0 -14
  120. package/dist/lib/cjs/delay-81aff2f1.js +0 -955
  121. package/dist/lib/cjs/fl-style-guide.cjs.entry.js +0 -90
  122. package/dist/lib/collection/components/super-selection-app/footer-section/footer-section.css +0 -11
  123. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-not-supported.css +0 -23
  124. package/dist/lib/collection/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.js +0 -62
  125. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-fund.store.js +0 -10
  126. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slate-standard-choice-page.js +0 -67
  127. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.css +0 -0
  128. package/dist/lib/collection/components/super-selection-app/funds/slate-super/slatesuper-header.js +0 -19
  129. package/dist/lib/collection/components/super-selection-app/notifications-section/notifications-section.js +0 -25
  130. package/dist/lib/collection/components/super-selection-app/services/notifications.service.js +0 -37
  131. package/dist/lib/collection/components/super-selection-app/services/notifications.store.js +0 -3
  132. package/dist/lib/collection/components/super-selection-app/services/selected-super-choice-info.service.js +0 -50
  133. package/dist/lib/collection/components/super-selection-app/standard-choice/api/standard-choice.model.js +0 -1
  134. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper-square.png +0 -0
  135. package/dist/lib/collection/components/super-selection-app/super-choice-page/assets/logo-qsuper.png +0 -0
  136. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.css +0 -18
  137. package/dist/lib/collection/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.js +0 -53
  138. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-item.js +0 -296
  139. package/dist/lib/collection/components/super-selection-app/super-choice-page/super-choice-page.css +0 -70
  140. package/dist/lib/esm/delay-c0555599.js +0 -935
  141. package/dist/lib/esm/fl-style-guide.entry.js +0 -86
  142. package/dist/lib/esm-es5/datorama-akita-79ce4385.js +0 -15
  143. package/dist/lib/esm-es5/delay-c0555599.js +0 -1
  144. package/dist/lib/esm-es5/fl-button_31.entry.js +0 -69
  145. package/dist/lib/esm-es5/fl-style-guide.entry.js +0 -1
  146. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/button/button.css +0 -45
  147. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown/dropdown.css +0 -9
  148. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/dropdown-async/dropdown-async.css +0 -9
  149. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/loading-indicator/loading-indicator.css +0 -141
  150. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/promise-button/promise-button.css +0 -5
  151. package/dist/lib/node_modules/@flarehr/beacon/dist/collection/components/style-guide/style-guide.css +0 -0
  152. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/promoted-fund-standard-choice-page.d.ts +0 -8
  153. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-fund.store.d.ts +0 -7
  154. package/dist/lib/types/components/super-selection-app/funds/slate-super/slate-standard-choice-page.d.ts +0 -8
  155. package/dist/lib/types/components/super-selection-app/funds/slate-super/slatesuper-header.d.ts +0 -3
  156. package/dist/lib/types/components/super-selection-app/notifications-section/notifications-section.d.ts +0 -5
  157. package/dist/lib/types/components/super-selection-app/services/notifications.service.d.ts +0 -15
  158. package/dist/lib/types/components/super-selection-app/services/notifications.store.d.ts +0 -14
  159. package/dist/lib/types/components/super-selection-app/services/selected-super-choice-info.service.d.ts +0 -18
  160. package/dist/lib/types/components/super-selection-app/standard-choice/api/standard-choice.model.d.ts +0 -3
  161. package/dist/lib/types/components/super-selection-app/super-choice-page/selected-super-choice-section/selected-super-choice-section.d.ts +0 -5
  162. package/dist/lib/types/components/super-selection-app/super-choice-page/super-choice-item.d.ts +0 -22
@@ -5,21 +5,52 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { ButtonVariant } from "./components/super-selection-app/misc/button";
8
9
  import { LocationSegments, RouterHistory } from "@stencil/router";
10
+ import { SelectInputOption } from "./components/super-selection-app/misc/dropdown-async";
9
11
  import { MyOwnFundFormState } from "./components/super-selection-app/funds/custom-fund/custom-fund.store";
10
12
  import { SelfManagedFundForm } from "./components/super-selection-app/funds/custom-fund/self-managed-fund/self-managed-fund.form";
11
- import { StandardChoiceInput } from "./components/super-selection-app/standard-choice/api/standard-choice.model";
12
13
  import { VNode } from "./stencil-public-runtime";
13
14
  import { InitialisedWith } from "./components/super-selection-app/super-selection-app";
14
15
  export namespace Components {
16
+ interface SssButton {
17
+ "disabled": boolean;
18
+ "fillWidth": boolean;
19
+ "fillWidthOnMobile": boolean;
20
+ "promiseFn"?: () => Promise<unknown>;
21
+ "variant": ButtonVariant;
22
+ }
23
+ interface SssConsentPage {
24
+ "history": RouterHistory;
25
+ }
15
26
  interface SssCustomFund {
16
27
  "history": RouterHistory;
17
28
  }
18
29
  interface SssDefaultFund {
19
30
  "history": RouterHistory;
20
31
  }
32
+ interface SssDropdownAsync {
33
+ "disabled": boolean;
34
+ "minSearchStringLength": number;
35
+ "placeholder"?: string;
36
+ "required": boolean;
37
+ "requiredValidationMessage"?: string;
38
+ "searchFunction"?: (query: string) => Promise<SelectInputOption<unknown>[]>;
39
+ "showValidationErrors": boolean;
40
+ "value"?: SelectInputOption<unknown>;
41
+ }
42
+ interface SssExistingChoicePage {
43
+ "history": RouterHistory;
44
+ }
21
45
  interface SssFooterSection {
22
46
  }
47
+ interface SssHeaderSection {
48
+ "currentPage": 'choice' | 'own-fund';
49
+ }
50
+ interface SssLoadingIndicator {
51
+ "size": number;
52
+ "theme": 'primary' | 'light';
53
+ }
23
54
  interface SssLoadingPage {
24
55
  }
25
56
  interface SssMyOwnFund {
@@ -27,53 +58,38 @@ export namespace Components {
27
58
  }
28
59
  interface SssMyOwnFundInputs {
29
60
  "myOwnFundForm": MyOwnFundFormState;
30
- }
31
- interface SssNotificationsSection {
61
+ "showValidationErrors": boolean;
32
62
  }
33
63
  interface SssPromotedFundJoinPage {
34
64
  "history": RouterHistory;
35
65
  }
36
- interface SssPromotedFundStandardChoicePage {
37
- "history": RouterHistory;
38
- }
39
- interface SssSelectedSuperChoiceSection {
40
- "fundName": string;
41
- "fundType": string;
42
- }
43
66
  interface SssSelfManagedFund {
44
67
  "history": RouterHistory;
45
68
  }
46
69
  interface SssSelfManagedFundInputs {
47
70
  "fundForm": Partial<SelfManagedFundForm>;
71
+ "showValidationErrors": boolean;
48
72
  }
49
73
  interface SssSlateJoinPage {
50
74
  "history": RouterHistory;
51
75
  }
52
- interface SssSlateStandardChoicePage {
53
- "history": RouterHistory;
54
- }
55
- interface SssSlatesuperHeader {
56
- }
57
76
  interface SssSmsfNotSupportedDialog {
58
77
  }
59
78
  interface SssStandardChoiceForm {
79
+ "history": RouterHistory;
60
80
  }
61
81
  interface SssSuccess {
62
82
  }
63
- interface SssSuperChoiceItem {
83
+ interface SssSuperChoiceItemBottom {
64
84
  "abn"?: string;
65
85
  "abnInfo"?: string;
66
86
  "disclaimer": VNode;
87
+ }
88
+ interface SssSuperChoiceItemTop {
67
89
  "featureSubText"?: string;
68
90
  "features": string;
69
- "history": RouterHistory;
70
- "isSelected": boolean;
71
91
  "logo": string;
72
92
  "name": string;
73
- "pdsLink": string;
74
- "pdsLinkText"?: string;
75
- "subText"?: string;
76
- "usi"?: string;
77
93
  }
78
94
  interface SssSuperChoicePage {
79
95
  "history": RouterHistory;
@@ -89,6 +105,18 @@ export namespace Components {
89
105
  }
90
106
  }
91
107
  declare global {
108
+ interface HTMLSssButtonElement extends Components.SssButton, HTMLStencilElement {
109
+ }
110
+ var HTMLSssButtonElement: {
111
+ prototype: HTMLSssButtonElement;
112
+ new (): HTMLSssButtonElement;
113
+ };
114
+ interface HTMLSssConsentPageElement extends Components.SssConsentPage, HTMLStencilElement {
115
+ }
116
+ var HTMLSssConsentPageElement: {
117
+ prototype: HTMLSssConsentPageElement;
118
+ new (): HTMLSssConsentPageElement;
119
+ };
92
120
  interface HTMLSssCustomFundElement extends Components.SssCustomFund, HTMLStencilElement {
93
121
  }
94
122
  var HTMLSssCustomFundElement: {
@@ -101,12 +129,36 @@ declare global {
101
129
  prototype: HTMLSssDefaultFundElement;
102
130
  new (): HTMLSssDefaultFundElement;
103
131
  };
132
+ interface HTMLSssDropdownAsyncElement extends Components.SssDropdownAsync, HTMLStencilElement {
133
+ }
134
+ var HTMLSssDropdownAsyncElement: {
135
+ prototype: HTMLSssDropdownAsyncElement;
136
+ new (): HTMLSssDropdownAsyncElement;
137
+ };
138
+ interface HTMLSssExistingChoicePageElement extends Components.SssExistingChoicePage, HTMLStencilElement {
139
+ }
140
+ var HTMLSssExistingChoicePageElement: {
141
+ prototype: HTMLSssExistingChoicePageElement;
142
+ new (): HTMLSssExistingChoicePageElement;
143
+ };
104
144
  interface HTMLSssFooterSectionElement extends Components.SssFooterSection, HTMLStencilElement {
105
145
  }
106
146
  var HTMLSssFooterSectionElement: {
107
147
  prototype: HTMLSssFooterSectionElement;
108
148
  new (): HTMLSssFooterSectionElement;
109
149
  };
150
+ interface HTMLSssHeaderSectionElement extends Components.SssHeaderSection, HTMLStencilElement {
151
+ }
152
+ var HTMLSssHeaderSectionElement: {
153
+ prototype: HTMLSssHeaderSectionElement;
154
+ new (): HTMLSssHeaderSectionElement;
155
+ };
156
+ interface HTMLSssLoadingIndicatorElement extends Components.SssLoadingIndicator, HTMLStencilElement {
157
+ }
158
+ var HTMLSssLoadingIndicatorElement: {
159
+ prototype: HTMLSssLoadingIndicatorElement;
160
+ new (): HTMLSssLoadingIndicatorElement;
161
+ };
110
162
  interface HTMLSssLoadingPageElement extends Components.SssLoadingPage, HTMLStencilElement {
111
163
  }
112
164
  var HTMLSssLoadingPageElement: {
@@ -125,30 +177,12 @@ declare global {
125
177
  prototype: HTMLSssMyOwnFundInputsElement;
126
178
  new (): HTMLSssMyOwnFundInputsElement;
127
179
  };
128
- interface HTMLSssNotificationsSectionElement extends Components.SssNotificationsSection, HTMLStencilElement {
129
- }
130
- var HTMLSssNotificationsSectionElement: {
131
- prototype: HTMLSssNotificationsSectionElement;
132
- new (): HTMLSssNotificationsSectionElement;
133
- };
134
180
  interface HTMLSssPromotedFundJoinPageElement extends Components.SssPromotedFundJoinPage, HTMLStencilElement {
135
181
  }
136
182
  var HTMLSssPromotedFundJoinPageElement: {
137
183
  prototype: HTMLSssPromotedFundJoinPageElement;
138
184
  new (): HTMLSssPromotedFundJoinPageElement;
139
185
  };
140
- interface HTMLSssPromotedFundStandardChoicePageElement extends Components.SssPromotedFundStandardChoicePage, HTMLStencilElement {
141
- }
142
- var HTMLSssPromotedFundStandardChoicePageElement: {
143
- prototype: HTMLSssPromotedFundStandardChoicePageElement;
144
- new (): HTMLSssPromotedFundStandardChoicePageElement;
145
- };
146
- interface HTMLSssSelectedSuperChoiceSectionElement extends Components.SssSelectedSuperChoiceSection, HTMLStencilElement {
147
- }
148
- var HTMLSssSelectedSuperChoiceSectionElement: {
149
- prototype: HTMLSssSelectedSuperChoiceSectionElement;
150
- new (): HTMLSssSelectedSuperChoiceSectionElement;
151
- };
152
186
  interface HTMLSssSelfManagedFundElement extends Components.SssSelfManagedFund, HTMLStencilElement {
153
187
  }
154
188
  var HTMLSssSelfManagedFundElement: {
@@ -167,18 +201,6 @@ declare global {
167
201
  prototype: HTMLSssSlateJoinPageElement;
168
202
  new (): HTMLSssSlateJoinPageElement;
169
203
  };
170
- interface HTMLSssSlateStandardChoicePageElement extends Components.SssSlateStandardChoicePage, HTMLStencilElement {
171
- }
172
- var HTMLSssSlateStandardChoicePageElement: {
173
- prototype: HTMLSssSlateStandardChoicePageElement;
174
- new (): HTMLSssSlateStandardChoicePageElement;
175
- };
176
- interface HTMLSssSlatesuperHeaderElement extends Components.SssSlatesuperHeader, HTMLStencilElement {
177
- }
178
- var HTMLSssSlatesuperHeaderElement: {
179
- prototype: HTMLSssSlatesuperHeaderElement;
180
- new (): HTMLSssSlatesuperHeaderElement;
181
- };
182
204
  interface HTMLSssSmsfNotSupportedDialogElement extends Components.SssSmsfNotSupportedDialog, HTMLStencilElement {
183
205
  }
184
206
  var HTMLSssSmsfNotSupportedDialogElement: {
@@ -197,11 +219,17 @@ declare global {
197
219
  prototype: HTMLSssSuccessElement;
198
220
  new (): HTMLSssSuccessElement;
199
221
  };
200
- interface HTMLSssSuperChoiceItemElement extends Components.SssSuperChoiceItem, HTMLStencilElement {
222
+ interface HTMLSssSuperChoiceItemBottomElement extends Components.SssSuperChoiceItemBottom, HTMLStencilElement {
223
+ }
224
+ var HTMLSssSuperChoiceItemBottomElement: {
225
+ prototype: HTMLSssSuperChoiceItemBottomElement;
226
+ new (): HTMLSssSuperChoiceItemBottomElement;
227
+ };
228
+ interface HTMLSssSuperChoiceItemTopElement extends Components.SssSuperChoiceItemTop, HTMLStencilElement {
201
229
  }
202
- var HTMLSssSuperChoiceItemElement: {
203
- prototype: HTMLSssSuperChoiceItemElement;
204
- new (): HTMLSssSuperChoiceItemElement;
230
+ var HTMLSssSuperChoiceItemTopElement: {
231
+ prototype: HTMLSssSuperChoiceItemTopElement;
232
+ new (): HTMLSssSuperChoiceItemTopElement;
205
233
  };
206
234
  interface HTMLSssSuperChoicePageElement extends Components.SssSuperChoicePage, HTMLStencilElement {
207
235
  }
@@ -222,39 +250,72 @@ declare global {
222
250
  new (): HTMLSuperSelectionAppHostElement;
223
251
  };
224
252
  interface HTMLElementTagNameMap {
253
+ "sss-button": HTMLSssButtonElement;
254
+ "sss-consent-page": HTMLSssConsentPageElement;
225
255
  "sss-custom-fund": HTMLSssCustomFundElement;
226
256
  "sss-default-fund": HTMLSssDefaultFundElement;
257
+ "sss-dropdown-async": HTMLSssDropdownAsyncElement;
258
+ "sss-existing-choice-page": HTMLSssExistingChoicePageElement;
227
259
  "sss-footer-section": HTMLSssFooterSectionElement;
260
+ "sss-header-section": HTMLSssHeaderSectionElement;
261
+ "sss-loading-indicator": HTMLSssLoadingIndicatorElement;
228
262
  "sss-loading-page": HTMLSssLoadingPageElement;
229
263
  "sss-my-own-fund": HTMLSssMyOwnFundElement;
230
264
  "sss-my-own-fund-inputs": HTMLSssMyOwnFundInputsElement;
231
- "sss-notifications-section": HTMLSssNotificationsSectionElement;
232
265
  "sss-promoted-fund-join-page": HTMLSssPromotedFundJoinPageElement;
233
- "sss-promoted-fund-standard-choice-page": HTMLSssPromotedFundStandardChoicePageElement;
234
- "sss-selected-super-choice-section": HTMLSssSelectedSuperChoiceSectionElement;
235
266
  "sss-self-managed-fund": HTMLSssSelfManagedFundElement;
236
267
  "sss-self-managed-fund-inputs": HTMLSssSelfManagedFundInputsElement;
237
268
  "sss-slate-join-page": HTMLSssSlateJoinPageElement;
238
- "sss-slate-standard-choice-page": HTMLSssSlateStandardChoicePageElement;
239
- "sss-slatesuper-header": HTMLSssSlatesuperHeaderElement;
240
269
  "sss-smsf-not-supported-dialog": HTMLSssSmsfNotSupportedDialogElement;
241
270
  "sss-standard-choice-form": HTMLSssStandardChoiceFormElement;
242
271
  "sss-success": HTMLSssSuccessElement;
243
- "sss-super-choice-item": HTMLSssSuperChoiceItemElement;
272
+ "sss-super-choice-item-bottom": HTMLSssSuperChoiceItemBottomElement;
273
+ "sss-super-choice-item-top": HTMLSssSuperChoiceItemTopElement;
244
274
  "sss-super-choice-page": HTMLSssSuperChoicePageElement;
245
275
  "super-selection-app": HTMLSuperSelectionAppElement;
246
276
  "super-selection-app-host": HTMLSuperSelectionAppHostElement;
247
277
  }
248
278
  }
249
279
  declare namespace LocalJSX {
280
+ interface SssButton {
281
+ "disabled"?: boolean;
282
+ "fillWidth"?: boolean;
283
+ "fillWidthOnMobile"?: boolean;
284
+ "promiseFn"?: () => Promise<unknown>;
285
+ "variant"?: ButtonVariant;
286
+ }
287
+ interface SssConsentPage {
288
+ "history"?: RouterHistory;
289
+ }
250
290
  interface SssCustomFund {
251
291
  "history"?: RouterHistory;
252
292
  }
253
293
  interface SssDefaultFund {
254
294
  "history"?: RouterHistory;
255
295
  }
296
+ interface SssDropdownAsync {
297
+ "disabled"?: boolean;
298
+ "minSearchStringLength"?: number;
299
+ "onValueChanged"?: (event: CustomEvent<SelectInputOption<unknown>>) => void;
300
+ "placeholder"?: string;
301
+ "required"?: boolean;
302
+ "requiredValidationMessage"?: string;
303
+ "searchFunction"?: (query: string) => Promise<SelectInputOption<unknown>[]>;
304
+ "showValidationErrors"?: boolean;
305
+ "value"?: SelectInputOption<unknown>;
306
+ }
307
+ interface SssExistingChoicePage {
308
+ "history"?: RouterHistory;
309
+ }
256
310
  interface SssFooterSection {
257
311
  }
312
+ interface SssHeaderSection {
313
+ "currentPage"?: 'choice' | 'own-fund';
314
+ }
315
+ interface SssLoadingIndicator {
316
+ "size"?: number;
317
+ "theme"?: 'primary' | 'light';
318
+ }
258
319
  interface SssLoadingPage {
259
320
  }
260
321
  interface SssMyOwnFund {
@@ -263,57 +324,41 @@ declare namespace LocalJSX {
263
324
  interface SssMyOwnFundInputs {
264
325
  "myOwnFundForm"?: MyOwnFundFormState;
265
326
  "onFormChanged"?: (event: CustomEvent<Partial<MyOwnFundFormState>>) => void;
266
- }
267
- interface SssNotificationsSection {
327
+ "showValidationErrors"?: boolean;
268
328
  }
269
329
  interface SssPromotedFundJoinPage {
270
330
  "history"?: RouterHistory;
271
331
  }
272
- interface SssPromotedFundStandardChoicePage {
273
- "history"?: RouterHistory;
274
- }
275
- interface SssSelectedSuperChoiceSection {
276
- "fundName"?: string;
277
- "fundType"?: string;
278
- }
279
332
  interface SssSelfManagedFund {
280
333
  "history"?: RouterHistory;
281
334
  }
282
335
  interface SssSelfManagedFundInputs {
283
336
  "fundForm"?: Partial<SelfManagedFundForm>;
284
337
  "onFormChanged"?: (event: CustomEvent<Partial<SelfManagedFundForm>>) => void;
338
+ "showValidationErrors"?: boolean;
285
339
  }
286
340
  interface SssSlateJoinPage {
287
341
  "history"?: RouterHistory;
288
342
  }
289
- interface SssSlateStandardChoicePage {
290
- "history"?: RouterHistory;
291
- }
292
- interface SssSlatesuperHeader {
293
- }
294
343
  interface SssSmsfNotSupportedDialog {
295
344
  "onContinue"?: (event: CustomEvent<void>) => void;
296
345
  }
297
346
  interface SssStandardChoiceForm {
298
- "onStandardChoiceFormSignatureUpdated"?: (event: CustomEvent<StandardChoiceInput>) => void;
347
+ "history"?: RouterHistory;
299
348
  }
300
349
  interface SssSuccess {
301
350
  }
302
- interface SssSuperChoiceItem {
351
+ interface SssSuperChoiceItemBottom {
303
352
  "abn"?: string;
304
353
  "abnInfo"?: string;
305
354
  "disclaimer"?: VNode;
355
+ "onJoinFundClicked"?: (event: CustomEvent<void>) => void;
356
+ }
357
+ interface SssSuperChoiceItemTop {
306
358
  "featureSubText"?: string;
307
359
  "features"?: string;
308
- "history"?: RouterHistory;
309
- "isSelected"?: boolean;
310
360
  "logo"?: string;
311
361
  "name"?: string;
312
- "onJoinFundClicked"?: (event: CustomEvent<void>) => void;
313
- "pdsLink"?: string;
314
- "pdsLinkText"?: string;
315
- "subText"?: string;
316
- "usi"?: string;
317
362
  }
318
363
  interface SssSuperChoicePage {
319
364
  "history"?: RouterHistory;
@@ -331,25 +376,27 @@ declare namespace LocalJSX {
331
376
  interface SuperSelectionAppHost {
332
377
  }
333
378
  interface IntrinsicElements {
379
+ "sss-button": SssButton;
380
+ "sss-consent-page": SssConsentPage;
334
381
  "sss-custom-fund": SssCustomFund;
335
382
  "sss-default-fund": SssDefaultFund;
383
+ "sss-dropdown-async": SssDropdownAsync;
384
+ "sss-existing-choice-page": SssExistingChoicePage;
336
385
  "sss-footer-section": SssFooterSection;
386
+ "sss-header-section": SssHeaderSection;
387
+ "sss-loading-indicator": SssLoadingIndicator;
337
388
  "sss-loading-page": SssLoadingPage;
338
389
  "sss-my-own-fund": SssMyOwnFund;
339
390
  "sss-my-own-fund-inputs": SssMyOwnFundInputs;
340
- "sss-notifications-section": SssNotificationsSection;
341
391
  "sss-promoted-fund-join-page": SssPromotedFundJoinPage;
342
- "sss-promoted-fund-standard-choice-page": SssPromotedFundStandardChoicePage;
343
- "sss-selected-super-choice-section": SssSelectedSuperChoiceSection;
344
392
  "sss-self-managed-fund": SssSelfManagedFund;
345
393
  "sss-self-managed-fund-inputs": SssSelfManagedFundInputs;
346
394
  "sss-slate-join-page": SssSlateJoinPage;
347
- "sss-slate-standard-choice-page": SssSlateStandardChoicePage;
348
- "sss-slatesuper-header": SssSlatesuperHeader;
349
395
  "sss-smsf-not-supported-dialog": SssSmsfNotSupportedDialog;
350
396
  "sss-standard-choice-form": SssStandardChoiceForm;
351
397
  "sss-success": SssSuccess;
352
- "sss-super-choice-item": SssSuperChoiceItem;
398
+ "sss-super-choice-item-bottom": SssSuperChoiceItemBottom;
399
+ "sss-super-choice-item-top": SssSuperChoiceItemTop;
353
400
  "sss-super-choice-page": SssSuperChoicePage;
354
401
  "super-selection-app": SuperSelectionApp;
355
402
  "super-selection-app-host": SuperSelectionAppHost;
@@ -359,25 +406,27 @@ export { LocalJSX as JSX };
359
406
  declare module "@stencil/core" {
360
407
  export namespace JSX {
361
408
  interface IntrinsicElements {
409
+ "sss-button": LocalJSX.SssButton & JSXBase.HTMLAttributes<HTMLSssButtonElement>;
410
+ "sss-consent-page": LocalJSX.SssConsentPage & JSXBase.HTMLAttributes<HTMLSssConsentPageElement>;
362
411
  "sss-custom-fund": LocalJSX.SssCustomFund & JSXBase.HTMLAttributes<HTMLSssCustomFundElement>;
363
412
  "sss-default-fund": LocalJSX.SssDefaultFund & JSXBase.HTMLAttributes<HTMLSssDefaultFundElement>;
413
+ "sss-dropdown-async": LocalJSX.SssDropdownAsync & JSXBase.HTMLAttributes<HTMLSssDropdownAsyncElement>;
414
+ "sss-existing-choice-page": LocalJSX.SssExistingChoicePage & JSXBase.HTMLAttributes<HTMLSssExistingChoicePageElement>;
364
415
  "sss-footer-section": LocalJSX.SssFooterSection & JSXBase.HTMLAttributes<HTMLSssFooterSectionElement>;
416
+ "sss-header-section": LocalJSX.SssHeaderSection & JSXBase.HTMLAttributes<HTMLSssHeaderSectionElement>;
417
+ "sss-loading-indicator": LocalJSX.SssLoadingIndicator & JSXBase.HTMLAttributes<HTMLSssLoadingIndicatorElement>;
365
418
  "sss-loading-page": LocalJSX.SssLoadingPage & JSXBase.HTMLAttributes<HTMLSssLoadingPageElement>;
366
419
  "sss-my-own-fund": LocalJSX.SssMyOwnFund & JSXBase.HTMLAttributes<HTMLSssMyOwnFundElement>;
367
420
  "sss-my-own-fund-inputs": LocalJSX.SssMyOwnFundInputs & JSXBase.HTMLAttributes<HTMLSssMyOwnFundInputsElement>;
368
- "sss-notifications-section": LocalJSX.SssNotificationsSection & JSXBase.HTMLAttributes<HTMLSssNotificationsSectionElement>;
369
421
  "sss-promoted-fund-join-page": LocalJSX.SssPromotedFundJoinPage & JSXBase.HTMLAttributes<HTMLSssPromotedFundJoinPageElement>;
370
- "sss-promoted-fund-standard-choice-page": LocalJSX.SssPromotedFundStandardChoicePage & JSXBase.HTMLAttributes<HTMLSssPromotedFundStandardChoicePageElement>;
371
- "sss-selected-super-choice-section": LocalJSX.SssSelectedSuperChoiceSection & JSXBase.HTMLAttributes<HTMLSssSelectedSuperChoiceSectionElement>;
372
422
  "sss-self-managed-fund": LocalJSX.SssSelfManagedFund & JSXBase.HTMLAttributes<HTMLSssSelfManagedFundElement>;
373
423
  "sss-self-managed-fund-inputs": LocalJSX.SssSelfManagedFundInputs & JSXBase.HTMLAttributes<HTMLSssSelfManagedFundInputsElement>;
374
424
  "sss-slate-join-page": LocalJSX.SssSlateJoinPage & JSXBase.HTMLAttributes<HTMLSssSlateJoinPageElement>;
375
- "sss-slate-standard-choice-page": LocalJSX.SssSlateStandardChoicePage & JSXBase.HTMLAttributes<HTMLSssSlateStandardChoicePageElement>;
376
- "sss-slatesuper-header": LocalJSX.SssSlatesuperHeader & JSXBase.HTMLAttributes<HTMLSssSlatesuperHeaderElement>;
377
425
  "sss-smsf-not-supported-dialog": LocalJSX.SssSmsfNotSupportedDialog & JSXBase.HTMLAttributes<HTMLSssSmsfNotSupportedDialogElement>;
378
426
  "sss-standard-choice-form": LocalJSX.SssStandardChoiceForm & JSXBase.HTMLAttributes<HTMLSssStandardChoiceFormElement>;
379
427
  "sss-success": LocalJSX.SssSuccess & JSXBase.HTMLAttributes<HTMLSssSuccessElement>;
380
- "sss-super-choice-item": LocalJSX.SssSuperChoiceItem & JSXBase.HTMLAttributes<HTMLSssSuperChoiceItemElement>;
428
+ "sss-super-choice-item-bottom": LocalJSX.SssSuperChoiceItemBottom & JSXBase.HTMLAttributes<HTMLSssSuperChoiceItemBottomElement>;
429
+ "sss-super-choice-item-top": LocalJSX.SssSuperChoiceItemTop & JSXBase.HTMLAttributes<HTMLSssSuperChoiceItemTopElement>;
381
430
  "sss-super-choice-page": LocalJSX.SssSuperChoicePage & JSXBase.HTMLAttributes<HTMLSssSuperChoicePageElement>;
382
431
  "super-selection-app": LocalJSX.SuperSelectionApp & JSXBase.HTMLAttributes<HTMLSuperSelectionAppElement>;
383
432
  "super-selection-app-host": LocalJSX.SuperSelectionAppHost & JSXBase.HTMLAttributes<HTMLSuperSelectionAppHostElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "3.52.60060",
3
+ "version": "3.53.61179",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",
@@ -14,9 +14,13 @@
14
14
  "dist/lib"
15
15
  ],
16
16
  "scripts": {
17
- "build": "stencil build --ci",
18
- "build:dev": "stencil build --dev --config stencil.dev.config.ts",
19
- "start": "stencil build --dev --watch --serve --config stencil.dev.config.ts",
17
+ "build": "npm run build:tailwind && stencil build --ci",
18
+ "build:tailwind": "tailwindcss -i ./tailwind-source.css -o ./tailwind-generated.css --minify",
19
+ "build:dev": "npm run build:dev:tailwind && stencil build --dev --config stencil.dev.config.ts",
20
+ "build:dev:tailwind": "tailwindcss -i ./tailwind-source.css -o ./tailwind-generated.css",
21
+ "start": "concurrently \"npm run start:tailwind\" \"npm run start:stencil\"",
22
+ "start:stencil": "stencil build --dev --watch --serve --config stencil.dev.config.ts",
23
+ "start:tailwind": "tailwindcss -i ./tailwind-source.css -o ./tailwind-generated.css --watch",
20
24
  "start:api": "cd ../api/SuperSelection.Api && func start --build",
21
25
  "lint": "eslint src/**/*{.ts,.tsx}",
22
26
  "lint:fix": "eslint src/**/*{.ts,.tsx} --fix",
@@ -30,12 +34,14 @@
30
34
  "@stencil/eslint-plugin": "^0.3.1",
31
35
  "@stencil/sass": "1.3.x",
32
36
  "@stencil/store": "^1.3.0",
37
+ "@tailwindcss/forms": "^0.5.1",
33
38
  "@types/jest": "^26.0.20",
34
39
  "@types/node": "^14.14.21",
35
40
  "@types/puppeteer": "^5.4.2",
36
41
  "@types/resize-observer-browser": "^0.1.5",
37
42
  "@typescript-eslint/eslint-plugin": "^4.14.0",
38
43
  "@typescript-eslint/parser": "^4.14.0",
44
+ "concurrently": "^7.1.0",
39
45
  "cross-zip": "^4.0.0",
40
46
  "env-cmd": "^10.1.0",
41
47
  "eslint": "^7.18.0",
@@ -50,15 +56,14 @@
50
56
  "lint-staged": "^10.5.3",
51
57
  "prettier": "^2.2.1",
52
58
  "puppeteer": "^5.5.0",
53
- "rollup-plugin-ignore": "^1.0.6"
59
+ "rollup-plugin-ignore": "^1.0.6",
60
+ "tailwindcss": "^3.1.4"
54
61
  },
55
62
  "dependencies": {
56
63
  "@datorama/akita": "^5.3.0",
57
- "@flarehr/beacon": "^0.1.2",
58
64
  "@juggle/resize-observer": "^3.3.0",
59
65
  "@microsoft/applicationinsights-web": "^2.5.10",
60
66
  "@stencil/router": "1.0.1",
61
- "bootstrap": "^4.5.3",
62
67
  "date-fns": "^2.16.1",
63
68
  "fp-ts": "^2.9.3",
64
69
  "jwt-decode": "^3.1.2",