@vuu-ui/vuu-data-test 4.0.0-alpha.3 → 4.0.0-alpha.30

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 (53) hide show
  1. package/README.md +38 -0
  2. package/package.json +10 -9
  3. package/src/TickingArrayDataSource.js +7 -2
  4. package/src/basket/BasketModule.js +105 -40
  5. package/src/basket/basket-schemas.js +16 -0
  6. package/src/basket/reference-data/constituent-data.js +2 -0
  7. package/src/basket/reference-data/constituents.js +6 -74
  8. package/src/basket/reference-data/prices.js +9 -3
  9. package/src/core/filter/PermissionFilter.js +60 -0
  10. package/src/core/filter/PermissionFilteredTable.js +59 -0
  11. package/src/core/module/VuuModule.js +30 -4
  12. package/src/core/table/TableContainer.js +51 -8
  13. package/src/core/user/CurrentUser.js +13 -0
  14. package/src/index.js +4 -0
  15. package/src/local-datasource-provider/LocalDatasourceProvider.js +64 -44
  16. package/src/module-admin/ModuleAdminModule.js +84 -20
  17. package/src/module-admin/module-admin-schemas.js +5 -9
  18. package/src/module-admin/snapshot-projection.js +3 -31
  19. package/src/notifications/NotificationModule.js +131 -0
  20. package/src/notifications/NotificationsSchema.js +52 -0
  21. package/src/notifications/index.js +6 -0
  22. package/src/notifications/simulated/DismissNotificationRpcHandler.js +36 -0
  23. package/src/notifications/simulated/SimulatedNotificationsModule.js +18 -0
  24. package/src/notifications/simulated/SimulatedNotificationsProvider.js +151 -0
  25. package/src/notifications/simulated/notificationsModule.js +3 -0
  26. package/src/user-admin/UserAdminModule.js +163 -8
  27. package/src/user-admin/initialSnapshot.js +49 -65
  28. package/types/TickingArrayDataSource.d.ts +1 -1
  29. package/types/basket/BasketModule.d.ts +2 -0
  30. package/types/basket/reference-data/constituents.d.ts +3 -3
  31. package/types/basket/reference-data/prices.d.ts +2 -1
  32. package/types/core/filter/PermissionFilter.d.ts +41 -0
  33. package/types/core/filter/PermissionFilteredTable.d.ts +24 -0
  34. package/types/core/module/VuuModule.d.ts +19 -0
  35. package/types/core/table/TableContainer.d.ts +1 -1
  36. package/types/core/user/CurrentUser.d.ts +14 -0
  37. package/types/index.d.ts +4 -0
  38. package/types/local-datasource-provider/LocalDatasourceProvider.d.ts +18 -2
  39. package/types/module-admin/ModuleAdminModule.d.ts +12 -3
  40. package/types/module-admin/index.d.ts +1 -1
  41. package/types/module-admin/snapshot-projection.d.ts +3 -4
  42. package/types/notifications/NotificationModule.d.ts +60 -0
  43. package/types/notifications/NotificationsSchema.d.ts +20 -0
  44. package/types/notifications/index.d.ts +6 -0
  45. package/types/notifications/simulated/DismissNotificationRpcHandler.d.ts +8 -0
  46. package/types/notifications/simulated/SimulatedNotificationsModule.d.ts +9 -0
  47. package/types/notifications/simulated/SimulatedNotificationsProvider.d.ts +21 -0
  48. package/types/notifications/simulated/notificationsModule.d.ts +5 -0
  49. package/types/user-admin/UserAdminModule.d.ts +5 -1
  50. package/src/basket/reference-data/ftse100.js +0 -686
  51. package/src/basket/reference-data/hsi.js +0 -1047
  52. package/src/basket/reference-data/nasdaq100.js +0 -812
  53. package/src/basket/reference-data/sp500.js +0 -315
@@ -1,315 +0,0 @@
1
- var sp500 = [
2
- [
3
- "Apple Inc",
4
- "AAPL",
5
- 6.992488,
6
- 171.9,
7
- 1.47,
8
- "(0.86%)"
9
- ],
10
- [
11
- "Microsoft Corp",
12
- "MSFT",
13
- 6.487978,
14
- 314.55,
15
- 1.76,
16
- "(0.56%)"
17
- ],
18
- [
19
- "Amazon.com Inc",
20
- "AMZN",
21
- 3.193379,
22
- 126.25,
23
- 0.27,
24
- "(0.22%)"
25
- ],
26
- [
27
- "Nvidia Corp",
28
- "NVDA",
29
- 2.928461,
30
- 433.11,
31
- 8.43,
32
- "(1.99%)"
33
- ],
34
- [
35
- "Alphabet Inc Cl A",
36
- "GOOGL",
37
- 2.162218,
38
- 132.93,
39
- 2.39,
40
- "(1.83%)"
41
- ],
42
- [
43
- "Tesla Inc",
44
- "TSLA",
45
- 1.854311,
46
- 246.56,
47
- 6.06,
48
- "(2.52%)"
49
- ],
50
- [
51
- "Alphabet Inc Cl C",
52
- "GOOG",
53
- 1.85251,
54
- 133.81,
55
- 2.35,
56
- "(1.78%)"
57
- ],
58
- [
59
- "Meta Platforms Inc Class A",
60
- "META",
61
- 1.847731,
62
- 305.93,
63
- 8.19,
64
- "(2.75%)"
65
- ],
66
- [
67
- "Berkshire Hathaway Inc Cl B",
68
- "BRK.B",
69
- 1.82184,
70
- 358.67,
71
- 0.89,
72
- "(0.25%)"
73
- ],
74
- [
75
- "Exxon Mobil Corp",
76
- "XOM",
77
- 1.343563,
78
- 118.97,
79
- -1.23,
80
- "(-1.03%)"
81
- ],
82
- [
83
- "Unitedhealth Group Inc",
84
- "UNH",
85
- 1.302884,
86
- 510.04,
87
- 6.31,
88
- "(1.25%)"
89
- ],
90
- [
91
- "Eli Lilly & Co",
92
- "LLY",
93
- 1.224046,
94
- 546.65,
95
- -3.11,
96
- "(-0.57%)"
97
- ],
98
- [
99
- "Jpmorgan Chase & Co",
100
- "JPM",
101
- 1.182918,
102
- 148.23,
103
- 2.45,
104
- "(1.68%)"
105
- ],
106
- [
107
- "Johnson & Johnson W/d",
108
- "JNJ",
109
- 1.056344,
110
- 156.83,
111
- -0.28,
112
- "(-0.18%)"
113
- ],
114
- [
115
- "Visa Inc Class a Shares",
116
- "V",
117
- 1.029636,
118
- 231.97,
119
- 2.47,
120
- "(1.08%)"
121
- ],
122
- [
123
- "Procter & Gamble Co",
124
- "PG",
125
- 0.969793,
126
- 145.75,
127
- -1.59,
128
- "(-1.08%)"
129
- ],
130
- [
131
- "Broadcom Inc",
132
- "AVGO",
133
- 0.941177,
134
- 835.33,
135
- 18.52,
136
- "(2.27%)"
137
- ],
138
- [
139
- "Mastercard Inc A",
140
- "MA",
141
- 0.918779,
142
- 400.65,
143
- 5.17,
144
- "(1.31%)"
145
- ],
146
- [
147
- "Chevron Corp",
148
- "CVX",
149
- 0.847353,
150
- 170.55,
151
- -0.49,
152
- "(-0.28%)"
153
- ],
154
- [
155
- "Home Depot Inc",
156
- "HD",
157
- 0.847289,
158
- 304.35,
159
- 2.53,
160
- "(0.84%)"
161
- ],
162
- [
163
- "Abbvie Inc",
164
- "BBV",
165
- 0.754672,
166
- 152.14,
167
- -0.99,
168
- "(-0.65%)"
169
- ],
170
- [
171
- "Merck & Co. Inc.",
172
- "MRK",
173
- 0.736434,
174
- 104.2,
175
- 0.26,
176
- "(0.25%)"
177
- ],
178
- [
179
- "Costco Wholesale Corp",
180
- "COST",
181
- 0.697258,
182
- 569.05,
183
- 5.52,
184
- "(0.98%)"
185
- ],
186
- [
187
- "Pepsico Inc",
188
- "PEP",
189
- 0.651768,
190
- 168.92,
191
- -0.65,
192
- "(-0.38%)"
193
- ],
194
- [
195
- "Walmart Inc",
196
- "WMT",
197
- 0.644449,
198
- 161.87,
199
- 0.15,
200
- "(0.09%)"
201
- ],
202
- [
203
- "Adobe Inc",
204
- "ADBE",
205
- 0.639652,
206
- 507.17,
207
- 4.57,
208
- "(0.91%)"
209
- ],
210
- [
211
- "Coca Cola Co",
212
- "KO",
213
- 0.60801,
214
- 55.82,
215
- -0.13,
216
- "(-0.23%)"
217
- ],
218
- [
219
- "Cisco Systems Inc",
220
- "CSCO",
221
- 0.605326,
222
- 53.97,
223
- 0.77,
224
- "(1.44%)"
225
- ],
226
- [
227
- "Accenture Plc Cl A",
228
- "ACN",
229
- 0.55372,
230
- 298.5,
231
- -15.9,
232
- "(-5.05%)"
233
- ],
234
- [
235
- "Salesforce Inc",
236
- "CRM",
237
- 0.551342,
238
- 204.46,
239
- 1.73,
240
- "(0.85%)"
241
- ],
242
- [
243
- "Thermo Fisher Scientific Inc",
244
- "TMO",
245
- 0.536951,
246
- 503.47,
247
- 5.18,
248
- "(1.04%)"
249
- ],
250
- [
251
- "Mcdonald S Corp",
252
- "MCD",
253
- 0.536457,
254
- 265.83,
255
- 2.19,
256
- "(0.83%)"
257
- ],
258
- [
259
- "Bank of America Corp",
260
- "BAC",
261
- 0.526405,
262
- 27.51,
263
- 0.24,
264
- "(0.86%)"
265
- ],
266
- [
267
- "Comcast Corp Class A",
268
- "CMCSA",
269
- 0.512537,
270
- 45.17,
271
- 0.57,
272
- "(1.27%)"
273
- ],
274
- [
275
- "Linde Plc",
276
- "LIN",
277
- 0.506835,
278
- 375.48,
279
- 3.47,
280
- "(0.93%)"
281
- ],
282
- [
283
- "Pfizer Inc",
284
- "PFE",
285
- 0.506043,
286
- 32.09,
287
- -0.02,
288
- "(-0.05%)"
289
- ],
290
- [
291
- "Netflix Inc",
292
- "NFLX",
293
- 0.467192,
294
- 377.77,
295
- 0.18,
296
- "(0.05%)"
297
- ],
298
- [
299
- "Abbott Laboratories",
300
- "ABT",
301
- 0.462893,
302
- 97.52,
303
- 1.99,
304
- "(2.08%)"
305
- ],
306
- [
307
- "Oracle Corp",
308
- "ORCL",
309
- 0.459877,
310
- 106.29,
311
- 1.67,
312
- "(1.60%)"
313
- ]
314
- ];
315
- export default sp500;