@iress-oss/ids-mcp-server 0.0.1-dev.5 → 0.0.1-dev.7

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 (36) hide show
  1. package/dist/componentHandlers.js +241 -0
  2. package/dist/componentHandlers.test.js +380 -0
  3. package/dist/config.js +16 -0
  4. package/dist/index.js +53 -0
  5. package/dist/iressHandlers.js +144 -0
  6. package/dist/iressHandlers.test.js +316 -0
  7. package/dist/resourceHandlers.js +67 -0
  8. package/dist/resourceHandlers.test.js +352 -0
  9. package/dist/searchHandlers.js +287 -0
  10. package/dist/searchHandlers.test.js +524 -0
  11. package/dist/toolHandler.js +31 -0
  12. package/dist/toolHandler.test.js +369 -0
  13. package/dist/tools.js +165 -0
  14. package/dist/types.js +4 -0
  15. package/dist/utils.js +59 -0
  16. package/dist/utils.test.js +286 -0
  17. package/generated/docs/components-autocomplete-docs.md +47 -3
  18. package/generated/docs/components-checkboxgroup-docs.md +17 -17
  19. package/generated/docs/components-col-docs.md +1 -1
  20. package/generated/docs/components-combobox-docs.md +4 -4
  21. package/generated/docs/components-filter-docs.md +3 -3
  22. package/generated/docs/components-form-docs.md +7 -40
  23. package/generated/docs/components-icon-docs.md +4 -4
  24. package/generated/docs/components-inputcurrency-docs.md +4 -47
  25. package/generated/docs/components-radiogroup-docs.md +21 -21
  26. package/generated/docs/components-richselect-docs.md +322 -1
  27. package/generated/docs/components-row-docs.md +4 -4
  28. package/generated/docs/components-skiplink-docs.md +1 -1
  29. package/generated/docs/components-table-ag-grid-docs.md +104 -1696
  30. package/generated/docs/components-table-docs.md +6 -6
  31. package/generated/docs/components-tabset-docs.md +28 -0
  32. package/generated/docs/extensions-editor-docs.md +12 -6
  33. package/generated/docs/introduction-docs.md +1 -1
  34. package/generated/docs/patterns-loading-docs.md +2 -2
  35. package/generated/docs/themes-available-themes-docs.md +29 -29
  36. package/package.json +14 -5
@@ -246,7 +246,7 @@ To completely customise it, you can also send in a function that returns a React
246
246
  Available formats
247
247
  | String | Number | Date | Short date | ISO Date & Time | Relative time | Currency (AUD) | Percent | Custom |
248
248
  | --- | --- | --- | --- | --- | --- | --- | --- | --- |
249
- | Hello, world! | 123456 | 28/06/2020 | 28 Jun 2020 | 2020-06-28 00:00:00 (UTC) | 13 seconds ago | 123,456.78 | 12% | Custom |
249
+ | Hello, world! | 123456 | 28/06/2020 | 28 Jun 2020 | 2020-06-28 00:00:00 (UTC) | 11 seconds ago | 123,456.78 | 12% | Custom |
250
250
 
251
251
  Hide code
252
252
 
@@ -788,7 +788,7 @@ Copy
788
788
 
789
789
  For very simple tabular data, you have the option to hide the table header with the `hiddenHeader` prop. When this is set to true, the table header will not be rendered.
790
790
 
791
- <table class="ids-table-v5150 ids-table--hidden-header-v5150" id=":rq:"><caption id=":rq:--caption" class="">My investments</caption><tbody><tr id=":rq:--rows--0"><th data-column="investment_name" id=":rq:__0_investment_name" scope="row">Artemis Fund Managers Limited</th><td data-column="cost" headers=":rq:__0_investment_name" id=":rq:__0_cost">23898</td><td data-column="investmentDate" headers=":rq:__0_investment_name" id=":rq:__0_investmentDate">2019-09-23</td><td data-column="totalPercentage" headers=":rq:__0_investment_name" id=":rq:__0_totalPercentage">24.8</td></tr><tr id=":rq:--rows--1"><th data-column="investment_name" id=":rq:__1_investment_name" scope="row">CASH.CASH</th><td data-column="cost" headers=":rq:__1_investment_name" id=":rq:__1_cost">49751.4</td><td data-column="investmentDate" headers=":rq:__1_investment_name" id=":rq:__1_investmentDate">2020-06-28</td><td data-column="totalPercentage" headers=":rq:__1_investment_name" id=":rq:__1_totalPercentage">49</td></tr><tr id=":rq:--rows--2"><th data-column="investment_name" id=":rq:__2_investment_name" scope="row">VODAFONE GRP</th><td data-column="cost" headers=":rq:__2_investment_name" id=":rq:__2_cost">26382.456</td><td data-column="investmentDate" headers=":rq:__2_investment_name" id=":rq:__2_investmentDate">2019-02-05</td><td data-column="totalPercentage" headers=":rq:__2_investment_name" id=":rq:__2_totalPercentage">26.2</td></tr></tbody></table>
791
+ <table class="ids-table-v5200 ids-table--hidden-header-v5200" id=":rg:"><caption id=":rg:--caption" class="">My investments</caption><tbody><tr id=":rg:--rows--0"><th data-column="investment_name" id=":rg:__0_investment_name" scope="row">Artemis Fund Managers Limited</th><td data-column="cost" headers=":rg:__0_investment_name" id=":rg:__0_cost">23898</td><td data-column="investmentDate" headers=":rg:__0_investment_name" id=":rg:__0_investmentDate">2019-09-23</td><td data-column="totalPercentage" headers=":rg:__0_investment_name" id=":rg:__0_totalPercentage">24.8</td></tr><tr id=":rg:--rows--1"><th data-column="investment_name" id=":rg:__1_investment_name" scope="row">CASH.CASH</th><td data-column="cost" headers=":rg:__1_investment_name" id=":rg:__1_cost">49751.4</td><td data-column="investmentDate" headers=":rg:__1_investment_name" id=":rg:__1_investmentDate">2020-06-28</td><td data-column="totalPercentage" headers=":rg:__1_investment_name" id=":rg:__1_totalPercentage">49</td></tr><tr id=":rg:--rows--2"><th data-column="investment_name" id=":rg:__2_investment_name" scope="row">VODAFONE GRP</th><td data-column="cost" headers=":rg:__2_investment_name" id=":rg:__2_cost">26382.456</td><td data-column="investmentDate" headers=":rg:__2_investment_name" id=":rg:__2_investmentDate">2019-02-05</td><td data-column="totalPercentage" headers=":rg:__2_investment_name" id=":rg:__2_totalPercentage">26.2</td></tr></tbody></table>
792
792
 
793
793
  Hide code
794
794
 
@@ -1070,7 +1070,7 @@ Copy
1070
1070
 
1071
1071
  In some cases you may have a table with multiple groups of rows inside it, however the columns are the same. For these cases, you can use the `IressTableBody` component.
1072
1072
 
1073
- <table class="ids-table-v5150" id=":rk:"><caption id=":rk:--caption" class="">My liabilities</caption><tbody aria-labelledby=":rl:--caption" class=""><tr><th aria-expanded="true" colspan="8" class="ids-table--row-group-header-v5150" id=":rl:--caption" scope="rowgroup" aria-controls=":rl:--header--0 :rl:--rows--0 :rl:--children"><button class="ids-table--activator-v5150" type="button">Current liabilities</button></th></tr><tr class="ids-table--row-group-column-headers-v5150" id=":rl:--header--0"><th id=":rl:__owner" headers=":rl:--caption" class="" style="width: 75px; min-width: 75px;">Owner</th><th id=":rl:__type" headers=":rl:--caption" class="" style="width: 100px; min-width: 100px;">Type</th><th id=":rl:__provider" headers=":rl:--caption" class="">Provider</th><th id=":rl:__status" headers=":rl:--caption" class="ids-table--divider-v5150">Status</th><th id=":rl:__frequency" headers=":rl:--caption" class="">Frequency</th><th id=":rl:__outstanding" headers=":rl:--caption" aria-sort="none" class="ids-table--cell--currency-v5150"><button type="button" class="ids-table--sort-button-v5150 ids-table--sort-button-no-wrap-v5150">Outstanding (GBP)<span role="img" class="ids-table--sort-icon-v5150 ids-icon-v5150 fa-sort fal" aria-label="sortable"></span></button></th><th id=":rl:__interestRate" headers=":rl:--caption" aria-sort="none" class="ids-table--cell--right-v5150"><button type="button" class="ids-table--sort-button-v5150 ids-table--sort-button-no-wrap-v5150">Interest rate p.a.<span role="img" class="ids-table--sort-icon-v5150 ids-icon-v5150 fa-sort fal" aria-label="sortable"></span></button></th><th id=":rl:__repayment" headers=":rl:--caption" aria-sort="none" class="ids-table--cell--currency-v5150"><button type="button" class="ids-table--sort-button-v5150 ids-table--sort-button-no-wrap-v5150">Repayment (GBP)<span role="img" class="ids-table--sort-icon-v5150 ids-icon-v5150 fa-sort fal" aria-label="sortable"></span></button></th></tr><tr id=":rl:--rows--0"><td data-column="owner" headers=":rl:__owner :rl:--caption" id=":rl:__0_owner" class="" style="width: 75px; min-width: 75px;">Client</td><td data-column="type" headers=":rl:__type :rl:--caption" id=":rl:__0_type" class="" style="width: 100px; min-width: 100px;">Credit card</td><td data-column="provider" headers=":rl:__provider :rl:--caption" id=":rl:__0_provider" class=""></td><td data-column="status" headers=":rl:__status :rl:--caption" id=":rl:__0_status" class="ids-table--divider-v5150">Current</td><td data-column="frequency" headers=":rl:__frequency :rl:--caption" id=":rl:__0_frequency" class="">Monthly</td><td data-column="outstanding" headers=":rl:__outstanding :rl:--caption" id=":rl:__0_outstanding" class="ids-table--cell--currency-v5150">5,000.00</td><td data-column="interestRate" headers=":rl:__interestRate :rl:--caption" id=":rl:__0_interestRate" class="ids-table--cell--right-v5150">0%</td><td data-column="repayment" headers=":rl:__repayment :rl:--caption" id=":rl:__0_repayment" class="ids-table--cell--currency-v5150">300.00</td></tr><tr id=":rl:--children"><td colspan="8"><button class="iress-form-element iress-form-element__inner iress-u-button iress--mode--tertiary" type="button"><span class="iress-u-button__prepend"><span role="img" class="ids-icon-v5150 fa-plus-circle fal" aria-hidden="true"></span></span>Add current liability</button></td></tr></tbody><tbody aria-labelledby=":rn:--caption" class=""><tr><th aria-expanded="false" colspan="8" class="ids-table--row-group-header-v5150" id=":rn:--caption" scope="rowgroup"><button class="ids-table--activator-v5150" type="button">Long term liabilities</button></th></tr></tbody><tbody aria-labelledby=":ro:--caption" class=""><tr><th aria-expanded="false" colspan="8" class="ids-table--row-group-header-v5150" id=":ro:--caption" scope="rowgroup"><button class="ids-table--activator-v5150" type="button">Contingent liabilities</button></th></tr></tbody></table>
1073
+ <table class="ids-table-v5200" id=":rp:"><caption id=":rp:--caption" class="">My liabilities</caption><tbody aria-labelledby=":rq:--caption" class=""><tr><th aria-expanded="true" colspan="8" class="ids-table--row-group-header-v5200" id=":rq:--caption" scope="rowgroup" aria-controls=":rq:--header--0 :rq:--rows--0 :rq:--children"><button class="ids-table--activator-v5200" type="button">Current liabilities</button></th></tr><tr class="ids-table--row-group-column-headers-v5200" id=":rq:--header--0"><th id=":rq:__owner" headers=":rq:--caption" class="" style="width: 75px; min-width: 75px;">Owner</th><th id=":rq:__type" headers=":rq:--caption" class="" style="width: 100px; min-width: 100px;">Type</th><th id=":rq:__provider" headers=":rq:--caption" class="">Provider</th><th id=":rq:__status" headers=":rq:--caption" class="ids-table--divider-v5200">Status</th><th id=":rq:__frequency" headers=":rq:--caption" class="">Frequency</th><th id=":rq:__outstanding" headers=":rq:--caption" aria-sort="none" class="ids-table--cell--currency-v5200"><button type="button" class="ids-table--sort-button-v5200 ids-table--sort-button-no-wrap-v5200">Outstanding (GBP)<span role="img" class="ids-table--sort-icon-v5200 ids-icon-v5200 fa-sort fal" aria-label="sortable"></span></button></th><th id=":rq:__interestRate" headers=":rq:--caption" aria-sort="none" class="ids-table--cell--right-v5200"><button type="button" class="ids-table--sort-button-v5200 ids-table--sort-button-no-wrap-v5200">Interest rate p.a.<span role="img" class="ids-table--sort-icon-v5200 ids-icon-v5200 fa-sort fal" aria-label="sortable"></span></button></th><th id=":rq:__repayment" headers=":rq:--caption" aria-sort="none" class="ids-table--cell--currency-v5200"><button type="button" class="ids-table--sort-button-v5200 ids-table--sort-button-no-wrap-v5200">Repayment (GBP)<span role="img" class="ids-table--sort-icon-v5200 ids-icon-v5200 fa-sort fal" aria-label="sortable"></span></button></th></tr><tr id=":rq:--rows--0"><td data-column="owner" headers=":rq:__owner :rq:--caption" id=":rq:__0_owner" class="" style="width: 75px; min-width: 75px;">Client</td><td data-column="type" headers=":rq:__type :rq:--caption" id=":rq:__0_type" class="" style="width: 100px; min-width: 100px;">Credit card</td><td data-column="provider" headers=":rq:__provider :rq:--caption" id=":rq:__0_provider" class=""></td><td data-column="status" headers=":rq:__status :rq:--caption" id=":rq:__0_status" class="ids-table--divider-v5200">Current</td><td data-column="frequency" headers=":rq:__frequency :rq:--caption" id=":rq:__0_frequency" class="">Monthly</td><td data-column="outstanding" headers=":rq:__outstanding :rq:--caption" id=":rq:__0_outstanding" class="ids-table--cell--currency-v5200">5,000.00</td><td data-column="interestRate" headers=":rq:__interestRate :rq:--caption" id=":rq:__0_interestRate" class="ids-table--cell--right-v5200">0%</td><td data-column="repayment" headers=":rq:__repayment :rq:--caption" id=":rq:__0_repayment" class="ids-table--cell--currency-v5200">300.00</td></tr><tr id=":rq:--children"><td colspan="8"><button class="iress-form-element iress-form-element__inner iress-u-button iress--mode--tertiary" type="button"><span class="iress-u-button__prepend"><span role="img" class="ids-icon-v5200 fa-plus-circle fal" aria-hidden="true"></span></span>Add current liability</button></td></tr></tbody><tbody aria-labelledby=":rs:--caption" class=""><tr><th aria-expanded="false" colspan="8" class="ids-table--row-group-header-v5200" id=":rs:--caption" scope="rowgroup"><button class="ids-table--activator-v5200" type="button">Long term liabilities</button></th></tr></tbody><tbody aria-labelledby=":rt:--caption" class=""><tr><th aria-expanded="false" colspan="8" class="ids-table--row-group-header-v5200" id=":rt:--caption" scope="rowgroup"><button class="ids-table--activator-v5200" type="button">Contingent liabilities</button></th></tr></tbody></table>
1074
1074
 
1075
1075
  Hide code
1076
1076
 
@@ -1231,9 +1231,9 @@ IressTableFormattedValue
1231
1231
  | --- | --- |
1232
1232
  | string | string |
1233
1233
  | number | 10000 |
1234
- | date | 10/07/2025 |
1235
- | shortDate | 10 Jul 2025 |
1236
- | isoDateTime | 2025-07-10 05:39:43 (UTC) |
1234
+ | date | 11/09/2025 |
1235
+ | shortDate | 11 Sep 2025 |
1236
+ | isoDateTime | 2025-09-11 06:23:24 (UTC) |
1237
1237
  | relativeTime | now |
1238
1238
  | currency | $10,000.00 |
1239
1239
  | percent | 50% |
@@ -14,6 +14,10 @@ History
14
14
 
15
15
  Address information goes here
16
16
 
17
+ Employment information goes here
18
+
19
+ Medical history goes here
20
+
17
21
  Hide code
18
22
 
19
23
  \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
@@ -70,6 +74,10 @@ History
70
74
 
71
75
  Address information goes here
72
76
 
77
+ Employment information goes here
78
+
79
+ Medical history goes here
80
+
73
81
  Hide code
74
82
 
75
83
  \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
@@ -124,6 +132,10 @@ History
124
132
 
125
133
  Address information goes here
126
134
 
135
+ Employment information goes here
136
+
137
+ Medical history goes here
138
+
127
139
  Hide code
128
140
 
129
141
  \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
@@ -173,6 +185,10 @@ History
173
185
 
174
186
  Address information goes here
175
187
 
188
+ Employment information goes here
189
+
190
+ Medical history goes here
191
+
176
192
  top-center
177
193
  ----------
178
194
 
@@ -184,6 +200,10 @@ History
184
200
 
185
201
  Address information goes here
186
202
 
203
+ Employment information goes here
204
+
205
+ Medical history goes here
206
+
187
207
  top-right
188
208
  ---------
189
209
 
@@ -195,6 +215,10 @@ History
195
215
 
196
216
  Address information goes here
197
217
 
218
+ Employment information goes here
219
+
220
+ Medical history goes here
221
+
198
222
  Hide code
199
223
 
200
224
  \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
@@ -307,6 +331,10 @@ History
307
331
 
308
332
  Address information goes here
309
333
 
334
+ Employment information goes here
335
+
336
+ Medical history goes here
337
+
310
338
  Hide code
311
339
 
312
340
  \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }