@iress-oss/ids-mcp-server 0.0.1 → 5.14.2
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.
- package/LICENSE.txt +201 -0
- package/README.md +29 -159
- package/dist/componentHandlers.js +241 -0
- package/dist/componentHandlers.test.js +380 -0
- package/{build → dist}/config.js +5 -5
- package/dist/index.js +53 -0
- package/{build → dist}/iressHandlers.js +52 -46
- package/dist/iressHandlers.test.js +316 -0
- package/{build → dist}/resourceHandlers.js +23 -22
- package/dist/resourceHandlers.test.js +352 -0
- package/{build → dist}/searchHandlers.js +107 -92
- package/dist/searchHandlers.test.js +524 -0
- package/{build → dist}/toolHandler.js +13 -13
- package/dist/toolHandler.test.js +369 -0
- package/dist/tools.js +165 -0
- package/{build → dist}/utils.js +11 -15
- package/dist/utils.test.js +286 -0
- package/{docs/ids → generated/docs}/components-autocomplete-docs.md +3 -3
- package/{docs/ids → generated/docs}/components-autocomplete-recipes-docs.md +17 -51
- package/{docs/ids → generated/docs}/components-card-recipes-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-checkbox-docs.md +6 -19
- package/{docs/ids → generated/docs}/components-checkboxgroup-docs.md +18 -18
- package/{docs/ids → generated/docs}/components-checkboxgroup-recipes-docs.md +9 -9
- package/{docs/ids → generated/docs}/components-col-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-combobox-docs.md +4 -4
- package/{docs/ids → generated/docs}/components-container-docs.md +8 -42
- package/{docs/ids → generated/docs}/components-filter-docs.md +14 -67
- package/{docs/ids → generated/docs}/components-form-docs.md +341 -335
- package/{docs/ids → generated/docs}/components-form-recipes-docs.md +198 -1
- package/{docs/ids → generated/docs}/components-hide-docs.md +16 -70
- package/{docs/ids → generated/docs}/components-icon-docs.md +4 -4
- package/{docs/ids → generated/docs}/components-input-recipes-docs.md +2 -2
- package/{docs/ids → generated/docs}/components-inputcurrency-recipes-docs.md +6 -40
- package/{docs/ids → generated/docs}/components-modal-docs.md +3 -113
- package/generated/docs/components-popover-docs.md +464 -0
- package/{docs/ids → generated/docs}/components-radiogroup-docs.md +21 -21
- package/{docs/ids → generated/docs}/components-richselect-docs.md +149 -111
- package/{docs/ids → generated/docs}/components-row-docs.md +4 -4
- package/{docs/ids → generated/docs}/components-skeleton-docs.md +3 -3
- package/{docs/ids → generated/docs}/components-skeleton-recipes-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-skiplink-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-slideout-docs.md +3 -113
- package/{docs/ids → generated/docs}/components-table-ag-grid-docs.md +109 -137
- package/{docs/ids → generated/docs}/components-table-docs.md +92 -597
- package/{docs/ids → generated/docs}/components-tabset-docs.md +2 -2
- package/{docs/ids → generated/docs}/components-tag-docs.md +1 -1
- package/{docs/ids → generated/docs}/components-toaster-docs.md +5 -5
- package/{docs/ids → generated/docs}/extensions-editor-docs.md +4 -4
- package/generated/docs/foundations-accessibility-docs.md +62 -0
- package/{docs/ids → generated/docs}/foundations-colours-docs.md +1 -1
- package/generated/docs/foundations-consistency-docs.md +52 -0
- package/generated/docs/foundations-content-docs.md +23 -0
- package/generated/docs/foundations-introduction-docs.md +17 -0
- package/generated/docs/foundations-principles-docs.md +70 -0
- package/{docs/ids → generated/docs}/foundations-typography-docs.md +7 -2
- package/generated/docs/foundations-user-experience-docs.md +63 -0
- package/generated/docs/foundations-visual-design-docs.md +46 -0
- package/{docs/ids → generated/docs}/get-started-develop-docs.md +3 -3
- package/generated/docs/guidelines.md +812 -0
- package/{docs/ids → generated/docs}/introduction-docs.md +4 -4
- package/{docs/ids → generated/docs}/patterns-loading-docs.md +332 -2
- package/generated/docs/resources-migration-guides-from-v4-to-v5-docs.md +437 -0
- package/generated/docs/themes-available-themes-docs.md +66 -0
- package/generated/docs/themes-tokens-docs.md +1200 -0
- package/generated/docs/versions-docs.md +17 -0
- package/package.json +42 -14
- package/LICENSE +0 -193
- package/build/componentHandlers.js +0 -205
- package/build/index.js +0 -51
- package/build/tools.js +0 -165
- package/docs/api-reference.md +0 -0
- package/docs/best-practices.md +0 -0
- package/docs/configuration.md +0 -0
- package/docs/examples.md +0 -0
- package/docs/guidelines.md +0 -269
- package/docs/ids/components-popover-docs.md +0 -4
- package/docs/ids/resources-migration-guides-from-v4-to-v5-docs.md +0 -639
- package/docs/ids/themes-available-themes-docs.md +0 -74
- package/docs/ids/themes-tokens-docs.md +0 -4580
- package/docs/ids/versions-docs.md +0 -27
- package/docs/tutorials/basic-integration.md +0 -0
- /package/{build → dist}/types.js +0 -0
- /package/{docs/ids → generated/docs}/components-alert-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-badge-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-button-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-button-recipes-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-buttongroup-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-card-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-divider-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-expander-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-field-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-inline-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-input-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-inputcurrency-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-label-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-menu-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-menu-menuitem-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-navbar-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-navbar-recipes-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-panel-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-placeholder-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-popover-recipes-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-progress-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-radio-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-readonly-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-select-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-slider-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-spinner-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-stack-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-tabset-tab-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-text-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-toaster-toast-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-toggle-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-tooltip-docs.md +0 -0
- /package/{docs/ids → generated/docs}/components-validationmessage-docs.md +0 -0
- /package/{docs/ids → generated/docs}/contact-us-docs.md +0 -0
- /package/{docs/ids → generated/docs}/extensions-editor-recipes-docs.md +0 -0
- /package/{docs/ids → generated/docs}/frequently-asked-questions-docs.md +0 -0
- /package/{docs/ids → generated/docs}/get-started-using-storybook-docs.md +0 -0
- /package/{docs/ids → generated/docs}/resources-changelog-docs.md +0 -0
- /package/{docs/ids → generated/docs}/resources-code-katas-docs.md +0 -0
- /package/{docs/ids → generated/docs}/themes-introduction-docs.md +0 -0
|
@@ -7,38 +7,11 @@ Overview
|
|
|
7
7
|
Data driven component for displaying tabular data.
|
|
8
8
|
|
|
9
9
|
My investments
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Investment Date
|
|
16
|
-
|
|
17
|
-
Total Percentage
|
|
18
|
-
|
|
19
|
-
Artemis Fund Managers Limited
|
|
20
|
-
|
|
21
|
-
23898
|
|
22
|
-
|
|
23
|
-
2019-09-23
|
|
24
|
-
|
|
25
|
-
24.8
|
|
26
|
-
|
|
27
|
-
CASH.CASH
|
|
28
|
-
|
|
29
|
-
49751.4
|
|
30
|
-
|
|
31
|
-
2020-06-28
|
|
32
|
-
|
|
33
|
-
49
|
|
34
|
-
|
|
35
|
-
VODAFONE GRP
|
|
36
|
-
|
|
37
|
-
26382.456
|
|
38
|
-
|
|
39
|
-
2019-02-05
|
|
40
|
-
|
|
41
|
-
26.2
|
|
10
|
+
| Investment Name | Cost | Investment Date | Total Percentage |
|
|
11
|
+
| --- | --- | --- | --- |
|
|
12
|
+
| Artemis Fund Managers Limited | 23898 | 2019-09-23 | 24.8 |
|
|
13
|
+
| CASH.CASH | 49751.4 | 2020-06-28 | 49 |
|
|
14
|
+
| VODAFONE GRP | 26382.456 | 2019-02-05 | 26.2 |
|
|
42
15
|
|
|
43
16
|
Hide code
|
|
44
17
|
|
|
@@ -81,38 +54,11 @@ To get started, the `IressTable` component only requires the `caption` and `rows
|
|
|
81
54
|
* `rows` are an array of objects, each object represents a row in the table. The table will use the key of the first object to determine the columns, automatically made human readable if the key is camel case, snake case or kebab case.
|
|
82
55
|
|
|
83
56
|
My investments
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
Investment Date
|
|
90
|
-
|
|
91
|
-
Total Percentage
|
|
92
|
-
|
|
93
|
-
Artemis Fund Managers Limited
|
|
94
|
-
|
|
95
|
-
23898
|
|
96
|
-
|
|
97
|
-
2019-09-23
|
|
98
|
-
|
|
99
|
-
24.8
|
|
100
|
-
|
|
101
|
-
CASH.CASH
|
|
102
|
-
|
|
103
|
-
49751.4
|
|
104
|
-
|
|
105
|
-
2020-06-28
|
|
106
|
-
|
|
107
|
-
49
|
|
108
|
-
|
|
109
|
-
VODAFONE GRP
|
|
110
|
-
|
|
111
|
-
26382.456
|
|
112
|
-
|
|
113
|
-
2019-02-05
|
|
114
|
-
|
|
115
|
-
26.2
|
|
57
|
+
| Investment Name | Cost | Investment Date | Total Percentage |
|
|
58
|
+
| --- | --- | --- | --- |
|
|
59
|
+
| Artemis Fund Managers Limited | 23898 | 2019-09-23 | 24.8 |
|
|
60
|
+
| CASH.CASH | 49751.4 | 2020-06-28 | 49 |
|
|
61
|
+
| VODAFONE GRP | 26382.456 | 2019-02-05 | 26.2 |
|
|
116
62
|
|
|
117
63
|
Hide code
|
|
118
64
|
|
|
@@ -151,38 +97,11 @@ For more control over the columns, the `columns` prop can be used to define the
|
|
|
151
97
|
Each array item represents a key in the objects in your `rows` prop. If one of the keys in your `rows` prop is not defined in the `columns` prop, it will not be displayed in the table.
|
|
152
98
|
|
|
153
99
|
My investments
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
Share
|
|
160
|
-
|
|
161
|
-
Cost
|
|
162
|
-
|
|
163
|
-
Artemis Fund Managers Limited
|
|
164
|
-
|
|
165
|
-
23/09/2019
|
|
166
|
-
|
|
167
|
-
24.8%
|
|
168
|
-
|
|
169
|
-
$23,898.00
|
|
170
|
-
|
|
171
|
-
CASH.CASH
|
|
172
|
-
|
|
173
|
-
28/06/2020
|
|
174
|
-
|
|
175
|
-
49%
|
|
176
|
-
|
|
177
|
-
$49,751.40
|
|
178
|
-
|
|
179
|
-
VODAFONE GRP
|
|
180
|
-
|
|
181
|
-
05/02/2019
|
|
182
|
-
|
|
183
|
-
26.2%
|
|
184
|
-
|
|
185
|
-
$26,382.46
|
|
100
|
+
| Investment | Date | Share | Cost |
|
|
101
|
+
| --- | --- | --- | --- |
|
|
102
|
+
| Artemis Fund Managers Limited | 23/09/2019 | 24.8% | $23,898.00 |
|
|
103
|
+
| CASH.CASH | 28/06/2020 | 49% | $49,751.40 |
|
|
104
|
+
| VODAFONE GRP | 05/02/2019 | 26.2% | $26,382.46 |
|
|
186
105
|
|
|
187
106
|
Hide code
|
|
188
107
|
|
|
@@ -193,7 +112,7 @@ import {
|
|
|
193
112
|
IressTable,
|
|
194
113
|
IressTableFormattedValue,
|
|
195
114
|
IressTableProps,
|
|
196
|
-
} from '@iress/ids-components';
|
|
115
|
+
} from '@iress-oss/ids-components';
|
|
197
116
|
type Props \= Partial<IressTableProps<object, never\>>;
|
|
198
117
|
const renderColumn \= (value: number) \=> (
|
|
199
118
|
<IressBadge mode\={value \> 30000 ? 'success' : 'danger'}\>
|
|
@@ -325,48 +244,15 @@ The table component provides some basic formatting. This is controlled by the `f
|
|
|
325
244
|
To completely customise it, you can also send in a function that returns a ReactNode. It has two parameters, the original value and the row it is connected to.
|
|
326
245
|
|
|
327
246
|
Available formats
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
Number
|
|
332
|
-
|
|
333
|
-
Date
|
|
334
|
-
|
|
335
|
-
Short date
|
|
336
|
-
|
|
337
|
-
ISO Date & Time
|
|
338
|
-
|
|
339
|
-
Relative time
|
|
340
|
-
|
|
341
|
-
Currency (AUD)
|
|
342
|
-
|
|
343
|
-
Percent
|
|
344
|
-
|
|
345
|
-
Custom
|
|
346
|
-
|
|
347
|
-
Hello, world!
|
|
348
|
-
|
|
349
|
-
123456
|
|
350
|
-
|
|
351
|
-
28/06/2020
|
|
352
|
-
|
|
353
|
-
28 Jun 2020
|
|
354
|
-
|
|
355
|
-
2020-06-28 10:00:00 (AEST)
|
|
356
|
-
|
|
357
|
-
12 seconds ago
|
|
358
|
-
|
|
359
|
-
123,456.78
|
|
360
|
-
|
|
361
|
-
12%
|
|
362
|
-
|
|
363
|
-
Custom
|
|
247
|
+
| String | Number | Date | Short date | ISO Date & Time | Relative time | Currency (AUD) | Percent | Custom |
|
|
248
|
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
249
|
+
| Hello, world! | 123456 | 28/06/2020 | 28 Jun 2020 | 2020-06-28 10:00:00 (AEST) | 11 seconds ago | 123,456.78 | 12% | Custom |
|
|
364
250
|
|
|
365
251
|
Hide code
|
|
366
252
|
|
|
367
253
|
\[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; }
|
|
368
254
|
|
|
369
|
-
import { IressBadge, IressTable, IressTableProps } from '@iress/ids-components';
|
|
255
|
+
import { IressBadge, IressTable, IressTableProps } from '@iress-oss/ids-components';
|
|
370
256
|
type Props \= Partial<IressTableProps<object, never\>>;
|
|
371
257
|
const renderColumn \= (value: string) \=> (
|
|
372
258
|
<IressBadge mode\="info"\>{value}</IressBadge\>
|
|
@@ -428,38 +314,11 @@ Sorting can be enabled on a column by setting the `sort` property of the `TableC
|
|
|
428
314
|
The sort button has some visually hidden text for screenreaders to signify that the column is sortable. If you need to change this (ie. for translation purposes), it can be done with the `sortableText` column option which defaults to: sortable.
|
|
429
315
|
|
|
430
316
|
My investments
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
Share
|
|
437
|
-
|
|
438
|
-
Cost
|
|
439
|
-
|
|
440
|
-
Artemis Fund Managers Limited
|
|
441
|
-
|
|
442
|
-
23/09/2019
|
|
443
|
-
|
|
444
|
-
24.8%
|
|
445
|
-
|
|
446
|
-
$23,898.00
|
|
447
|
-
|
|
448
|
-
CASH.CASH
|
|
449
|
-
|
|
450
|
-
28/06/2020
|
|
451
|
-
|
|
452
|
-
49%
|
|
453
|
-
|
|
454
|
-
$49,751.40
|
|
455
|
-
|
|
456
|
-
VODAFONE GRP
|
|
457
|
-
|
|
458
|
-
05/02/2019
|
|
459
|
-
|
|
460
|
-
26.2%
|
|
461
|
-
|
|
462
|
-
$26,382.46
|
|
317
|
+
| Investment | Date | Share | Cost |
|
|
318
|
+
| --- | --- | --- | --- |
|
|
319
|
+
| Artemis Fund Managers Limited | 23/09/2019 | 24.8% | $23,898.00 |
|
|
320
|
+
| CASH.CASH | 28/06/2020 | 49% | $49,751.40 |
|
|
321
|
+
| VODAFONE GRP | 05/02/2019 | 26.2% | $26,382.46 |
|
|
463
322
|
|
|
464
323
|
Hide code
|
|
465
324
|
|
|
@@ -470,7 +329,7 @@ import {
|
|
|
470
329
|
IressTable,
|
|
471
330
|
IressTableFormattedValue,
|
|
472
331
|
IressTableProps,
|
|
473
|
-
} from '@iress/ids-components';
|
|
332
|
+
} from '@iress-oss/ids-components';
|
|
474
333
|
type Props \= Partial<IressTableProps<object, never\>>;
|
|
475
334
|
const renderColumn \= (value: number) \=> (
|
|
476
335
|
<IressBadge mode\={value \> 30000 ? 'success' : 'danger'}\>
|
|
@@ -543,38 +402,11 @@ If you need to customise the sorting logic, you can use the `sortFn` property of
|
|
|
543
402
|
* A custom sort function that takes two arguments: `a` and `b`, which are the two rows being compared. It should return `-1`, `0` or `1` depending on the comparison.
|
|
544
403
|
|
|
545
404
|
My investments
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
Share
|
|
552
|
-
|
|
553
|
-
Cost (sorts by net cost if available)
|
|
554
|
-
|
|
555
|
-
Artemis Fund Managers Limited
|
|
556
|
-
|
|
557
|
-
23/09/2019
|
|
558
|
-
|
|
559
|
-
24.8%
|
|
560
|
-
|
|
561
|
-
$23,898.00 (net: N/A)
|
|
562
|
-
|
|
563
|
-
CASH.CASH
|
|
564
|
-
|
|
565
|
-
28/06/2020
|
|
566
|
-
|
|
567
|
-
49%
|
|
568
|
-
|
|
569
|
-
$49,751.40 (net: $20,000.00)
|
|
570
|
-
|
|
571
|
-
VODAFONE GRP
|
|
572
|
-
|
|
573
|
-
05/02/2019
|
|
574
|
-
|
|
575
|
-
26.2%
|
|
576
|
-
|
|
577
|
-
$26,382.46 (net: N/A)
|
|
405
|
+
| Investment | Date | Share | Cost (sorts by net cost if available) |
|
|
406
|
+
| --- | --- | --- | --- |
|
|
407
|
+
| Artemis Fund Managers Limited | 23/09/2019 | 24.8% | $23,898.00 (net: N/A) |
|
|
408
|
+
| CASH.CASH | 28/06/2020 | 49% | $49,751.40 (net: $20,000.00) |
|
|
409
|
+
| VODAFONE GRP | 05/02/2019 | 26.2% | $26,382.46 (net: N/A) |
|
|
578
410
|
|
|
579
411
|
Hide code
|
|
580
412
|
|
|
@@ -585,7 +417,7 @@ import {
|
|
|
585
417
|
IressTableFormattedValue,
|
|
586
418
|
IressTableProps,
|
|
587
419
|
TableColumn,
|
|
588
|
-
} from '@iress/ids-components';
|
|
420
|
+
} from '@iress-oss/ids-components';
|
|
589
421
|
type Props \= Partial<IressTableProps<Row, never\>>;
|
|
590
422
|
interface Row {
|
|
591
423
|
investment\_name: string;
|
|
@@ -677,38 +509,11 @@ The width of a column is controlled by the `width` property on the `TableColumn`
|
|
|
677
509
|
When the table exceeds the width of the container, a horizontal scrollbar is triggered. This makes it possible to view larger tables on mobile devices.
|
|
678
510
|
|
|
679
511
|
My investments
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
Investment date
|
|
686
|
-
|
|
687
|
-
Share
|
|
688
|
-
|
|
689
|
-
Artemis Fund Managers Limited
|
|
690
|
-
|
|
691
|
-
23898
|
|
692
|
-
|
|
693
|
-
2019-09-23
|
|
694
|
-
|
|
695
|
-
24.8%
|
|
696
|
-
|
|
697
|
-
CASH.CASH
|
|
698
|
-
|
|
699
|
-
49751.4
|
|
700
|
-
|
|
701
|
-
2020-06-28
|
|
702
|
-
|
|
703
|
-
49%
|
|
704
|
-
|
|
705
|
-
VODAFONE GRP
|
|
706
|
-
|
|
707
|
-
26382.456
|
|
708
|
-
|
|
709
|
-
2019-02-05
|
|
710
|
-
|
|
711
|
-
26.2%
|
|
512
|
+
| Investment | Cost | Investment date | Share |
|
|
513
|
+
| --- | --- | --- | --- |
|
|
514
|
+
| Artemis Fund Managers Limited | 23898 | 2019-09-23 | 24.8% |
|
|
515
|
+
| CASH.CASH | 49751.4 | 2020-06-28 | 49% |
|
|
516
|
+
| VODAFONE GRP | 26382.456 | 2019-02-05 | 26.2% |
|
|
712
517
|
|
|
713
518
|
Hide code
|
|
714
519
|
|
|
@@ -769,38 +574,11 @@ Columns can be aligned using the `align` property on the `TableColumn` object. C
|
|
|
769
574
|
Currency and number formats are automatically right aligned to make the values easier to compare, but this can be overriden by setting the `align` property.
|
|
770
575
|
|
|
771
576
|
My investments
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
Date (center)
|
|
778
|
-
|
|
779
|
-
Share (right)
|
|
780
|
-
|
|
781
|
-
Artemis Fund Managers Limited
|
|
782
|
-
|
|
783
|
-
$23,898.00
|
|
784
|
-
|
|
785
|
-
23/09/2019
|
|
786
|
-
|
|
787
|
-
24.8%
|
|
788
|
-
|
|
789
|
-
CASH.CASH
|
|
790
|
-
|
|
791
|
-
$49,751.40
|
|
792
|
-
|
|
793
|
-
28/06/2020
|
|
794
|
-
|
|
795
|
-
49%
|
|
796
|
-
|
|
797
|
-
VODAFONE GRP
|
|
798
|
-
|
|
799
|
-
$26,382.46
|
|
800
|
-
|
|
801
|
-
05/02/2019
|
|
802
|
-
|
|
803
|
-
26.2%
|
|
577
|
+
| Investment (left) | Cost (center) | Date (center) | Share (right) |
|
|
578
|
+
| --- | --- | --- | --- |
|
|
579
|
+
| Artemis Fund Managers Limited | $23,898.00 | 23/09/2019 | 24.8% |
|
|
580
|
+
| CASH.CASH | $49,751.40 | 28/06/2020 | 49% |
|
|
581
|
+
| VODAFONE GRP | $26,382.46 | 05/02/2019 | 26.2% |
|
|
804
582
|
|
|
805
583
|
Hide code
|
|
806
584
|
|
|
@@ -864,38 +642,11 @@ As a general rule we don't add vertical column borders to our tables. Sometimes
|
|
|
864
642
|
To add a vertical divider you can set the `divider` prop in the `TableColumn` to true. This will add a vertical border to the end of the column.
|
|
865
643
|
|
|
866
644
|
My investments
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
Share
|
|
873
|
-
|
|
874
|
-
Cost
|
|
875
|
-
|
|
876
|
-
Artemis Fund Managers Limited
|
|
877
|
-
|
|
878
|
-
23/09/2019
|
|
879
|
-
|
|
880
|
-
24.8%
|
|
881
|
-
|
|
882
|
-
$23,898.00
|
|
883
|
-
|
|
884
|
-
CASH.CASH
|
|
885
|
-
|
|
886
|
-
28/06/2020
|
|
887
|
-
|
|
888
|
-
49%
|
|
889
|
-
|
|
890
|
-
$49,751.40
|
|
891
|
-
|
|
892
|
-
VODAFONE GRP
|
|
893
|
-
|
|
894
|
-
05/02/2019
|
|
895
|
-
|
|
896
|
-
26.2%
|
|
897
|
-
|
|
898
|
-
$26,382.46
|
|
645
|
+
| Investment | Date | Share | Cost |
|
|
646
|
+
| --- | --- | --- | --- |
|
|
647
|
+
| Artemis Fund Managers Limited | 23/09/2019 | 24.8% | $23,898.00 |
|
|
648
|
+
| CASH.CASH | 28/06/2020 | 49% | $49,751.40 |
|
|
649
|
+
| VODAFONE GRP | 05/02/2019 | 26.2% | $26,382.46 |
|
|
899
650
|
|
|
900
651
|
Hide code
|
|
901
652
|
|
|
@@ -954,38 +705,11 @@ Copy
|
|
|
954
705
|
This can be enabled by setting the `hover` prop. This will bring attention to the row the user is hovering over, allowing users to focus on the relationship between the columns of a specific row.
|
|
955
706
|
|
|
956
707
|
My investments
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
Investment Date
|
|
963
|
-
|
|
964
|
-
Total Percentage
|
|
965
|
-
|
|
966
|
-
Artemis Fund Managers Limited
|
|
967
|
-
|
|
968
|
-
23898
|
|
969
|
-
|
|
970
|
-
2019-09-23
|
|
971
|
-
|
|
972
|
-
24.8
|
|
973
|
-
|
|
974
|
-
CASH.CASH
|
|
975
|
-
|
|
976
|
-
49751.4
|
|
977
|
-
|
|
978
|
-
2020-06-28
|
|
979
|
-
|
|
980
|
-
49
|
|
981
|
-
|
|
982
|
-
VODAFONE GRP
|
|
983
|
-
|
|
984
|
-
26382.456
|
|
985
|
-
|
|
986
|
-
2019-02-05
|
|
987
|
-
|
|
988
|
-
26.2
|
|
708
|
+
| Investment Name | Cost | Investment Date | Total Percentage |
|
|
709
|
+
| --- | --- | --- | --- |
|
|
710
|
+
| Artemis Fund Managers Limited | 23898 | 2019-09-23 | 24.8 |
|
|
711
|
+
| CASH.CASH | 49751.4 | 2020-06-28 | 49 |
|
|
712
|
+
| VODAFONE GRP | 26382.456 | 2019-02-05 | 26.2 |
|
|
989
713
|
|
|
990
714
|
Hide code
|
|
991
715
|
|
|
@@ -1023,38 +747,11 @@ Copy
|
|
|
1023
747
|
`scope` defaults to row, which means the first cell in the row will be a `<th>`. When it is set to col the first cell in the row will be a `<td>`.
|
|
1024
748
|
|
|
1025
749
|
My investments
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
Investment Date
|
|
1032
|
-
|
|
1033
|
-
Total Percentage
|
|
1034
|
-
|
|
1035
|
-
Artemis Fund Managers Limited
|
|
1036
|
-
|
|
1037
|
-
23898
|
|
1038
|
-
|
|
1039
|
-
2019-09-23
|
|
1040
|
-
|
|
1041
|
-
24.8
|
|
1042
|
-
|
|
1043
|
-
CASH.CASH
|
|
1044
|
-
|
|
1045
|
-
49751.4
|
|
1046
|
-
|
|
1047
|
-
2020-06-28
|
|
1048
|
-
|
|
1049
|
-
49
|
|
1050
|
-
|
|
1051
|
-
VODAFONE GRP
|
|
1052
|
-
|
|
1053
|
-
26382.456
|
|
1054
|
-
|
|
1055
|
-
2019-02-05
|
|
1056
|
-
|
|
1057
|
-
26.2
|
|
750
|
+
| Investment Name | Cost | Investment Date | Total Percentage |
|
|
751
|
+
| --- | --- | --- | --- |
|
|
752
|
+
| Artemis Fund Managers Limited | 23898 | 2019-09-23 | 24.8 |
|
|
753
|
+
| CASH.CASH | 49751.4 | 2020-06-28 | 49 |
|
|
754
|
+
| VODAFONE GRP | 26382.456 | 2019-02-05 | 26.2 |
|
|
1058
755
|
|
|
1059
756
|
Hide code
|
|
1060
757
|
|
|
@@ -1091,31 +788,7 @@ Copy
|
|
|
1091
788
|
|
|
1092
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.
|
|
1093
790
|
|
|
1094
|
-
My investments
|
|
1095
|
-
|
|
1096
|
-
Artemis Fund Managers Limited
|
|
1097
|
-
|
|
1098
|
-
23898
|
|
1099
|
-
|
|
1100
|
-
2019-09-23
|
|
1101
|
-
|
|
1102
|
-
24.8
|
|
1103
|
-
|
|
1104
|
-
CASH.CASH
|
|
1105
|
-
|
|
1106
|
-
49751.4
|
|
1107
|
-
|
|
1108
|
-
2020-06-28
|
|
1109
|
-
|
|
1110
|
-
49
|
|
1111
|
-
|
|
1112
|
-
VODAFONE GRP
|
|
1113
|
-
|
|
1114
|
-
26382.456
|
|
1115
|
-
|
|
1116
|
-
2019-02-05
|
|
1117
|
-
|
|
1118
|
-
26.2
|
|
791
|
+
<table class="ids-table-v5142 ids-table--hidden-header-v5142" id=":r9:"><caption id=":r9:--caption" class="">My investments</caption><tbody><tr id=":r9:--rows--0"><th data-column="investment_name" id=":r9:__0_investment_name" scope="row">Artemis Fund Managers Limited</th><td data-column="cost" headers=":r9:__0_investment_name" id=":r9:__0_cost">23898</td><td data-column="investmentDate" headers=":r9:__0_investment_name" id=":r9:__0_investmentDate">2019-09-23</td><td data-column="totalPercentage" headers=":r9:__0_investment_name" id=":r9:__0_totalPercentage">24.8</td></tr><tr id=":r9:--rows--1"><th data-column="investment_name" id=":r9:__1_investment_name" scope="row">CASH.CASH</th><td data-column="cost" headers=":r9:__1_investment_name" id=":r9:__1_cost">49751.4</td><td data-column="investmentDate" headers=":r9:__1_investment_name" id=":r9:__1_investmentDate">2020-06-28</td><td data-column="totalPercentage" headers=":r9:__1_investment_name" id=":r9:__1_totalPercentage">49</td></tr><tr id=":r9:--rows--2"><th data-column="investment_name" id=":r9:__2_investment_name" scope="row">VODAFONE GRP</th><td data-column="cost" headers=":r9:__2_investment_name" id=":r9:__2_cost">26382.456</td><td data-column="investmentDate" headers=":r9:__2_investment_name" id=":r9:__2_investmentDate">2019-02-05</td><td data-column="totalPercentage" headers=":r9:__2_investment_name" id=":r9:__2_totalPercentage">26.2</td></tr></tbody></table>
|
|
1119
792
|
|
|
1120
793
|
Hide code
|
|
1121
794
|
|
|
@@ -1155,38 +828,11 @@ The `rows` prop allows you to use `ReactNodes` as the value of a cell. This can
|
|
|
1155
828
|
**Note:** If you are using the `sort` property, the sorting may not work properly with rich content. If this happens, either remove the `sort` property or use the `format` prop on the column to set a custom formatter.
|
|
1156
829
|
|
|
1157
830
|
My rich investments
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
Investment Date
|
|
1164
|
-
|
|
1165
|
-
Total Percentage
|
|
1166
|
-
|
|
1167
|
-
Artemis Fund Managers Limited
|
|
1168
|
-
|
|
1169
|
-
$23,898
|
|
1170
|
-
|
|
1171
|
-
2019/09/23
|
|
1172
|
-
|
|
1173
|
-
24.8%
|
|
1174
|
-
|
|
1175
|
-
CASH.CASH
|
|
1176
|
-
|
|
1177
|
-
$49,751.40
|
|
1178
|
-
|
|
1179
|
-
2020/06/28
|
|
1180
|
-
|
|
1181
|
-
49%
|
|
1182
|
-
|
|
1183
|
-
VODAFONE GRP
|
|
1184
|
-
|
|
1185
|
-
$26,382.46
|
|
1186
|
-
|
|
1187
|
-
2019/02/05
|
|
1188
|
-
|
|
1189
|
-
26.2%
|
|
831
|
+
| Investment Name | Cost | Investment Date | Total Percentage |
|
|
832
|
+
| --- | --- | --- | --- |
|
|
833
|
+
| Artemis Fund Managers Limited | $23,898 | 2019/09/23 | 24.8% |
|
|
834
|
+
| CASH.CASH | $49,751.40 | 2020/06/28 | 49% |
|
|
835
|
+
| VODAFONE GRP | $26,382.46 | 2019/02/05 | 26.2% |
|
|
1190
836
|
|
|
1191
837
|
Hide code
|
|
1192
838
|
|
|
@@ -1224,15 +870,9 @@ You can provide the table with some content to display when there is no row data
|
|
|
1224
870
|
|
|
1225
871
|
This is reliant on `columns` prop to provide the information for the table header. If `columns` is not provided and there is no row data the table will not render.
|
|
1226
872
|
|
|
1227
|
-
Investment
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
Share
|
|
1232
|
-
|
|
1233
|
-
Cost
|
|
1234
|
-
|
|
1235
|
-
This table has no data
|
|
873
|
+
| Investment | Date | Share | Cost |
|
|
874
|
+
| --- | --- | --- | --- |
|
|
875
|
+
| This table has no data |
|
|
1236
876
|
|
|
1237
877
|
Hide code
|
|
1238
878
|
|
|
@@ -1277,38 +917,11 @@ It accepts any of the table sub-elements. To ensure best display, please make us
|
|
|
1277
917
|
**Note:** Only the `caption`, `hiddenCaption`, `hiddenHeader` and `hover` props are supported when using `children` to render a table.
|
|
1278
918
|
|
|
1279
919
|
My investments
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
Investment date
|
|
1286
|
-
|
|
1287
|
-
Share
|
|
1288
|
-
|
|
1289
|
-
Artemis Fund Managers Limited
|
|
1290
|
-
|
|
1291
|
-
$23,898
|
|
1292
|
-
|
|
1293
|
-
2019/09/23
|
|
1294
|
-
|
|
1295
|
-
24.8%
|
|
1296
|
-
|
|
1297
|
-
CASH.CASH
|
|
1298
|
-
|
|
1299
|
-
$49,751.40
|
|
1300
|
-
|
|
1301
|
-
2020/06/28
|
|
1302
|
-
|
|
1303
|
-
49%
|
|
1304
|
-
|
|
1305
|
-
VODAFONE GRP
|
|
1306
|
-
|
|
1307
|
-
$26,382.46
|
|
1308
|
-
|
|
1309
|
-
2019/02/05
|
|
1310
|
-
|
|
1311
|
-
26.2%
|
|
920
|
+
| Investment | Cost | Investment date | Share |
|
|
921
|
+
| --- | --- | --- | --- |
|
|
922
|
+
| Artemis Fund Managers Limited | $23,898 | 2019/09/23 | 24.8% |
|
|
923
|
+
| CASH.CASH | $49,751.40 | 2020/06/28 | 49% |
|
|
924
|
+
| VODAFONE GRP | $26,382.46 | 2019/02/05 | 26.2% |
|
|
1312
925
|
|
|
1313
926
|
Hide code
|
|
1314
927
|
|
|
@@ -1368,38 +981,11 @@ Copy
|
|
|
1368
981
|
You can customise the rows by passing in a `rowProps` object or function. It accepts a map of table row props that can be passed to a `tr` element, or a function that accepts the row data currently being rendered, and returns a map of table props.
|
|
1369
982
|
|
|
1370
983
|
My investments
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
Investment Date
|
|
1377
|
-
|
|
1378
|
-
Total Percentage
|
|
1379
|
-
|
|
1380
|
-
Artemis Fund Managers Limited
|
|
1381
|
-
|
|
1382
|
-
23898
|
|
1383
|
-
|
|
1384
|
-
2019-09-23
|
|
1385
|
-
|
|
1386
|
-
24.8
|
|
1387
|
-
|
|
1388
|
-
CASH.CASH
|
|
1389
|
-
|
|
1390
|
-
49751.4
|
|
1391
|
-
|
|
1392
|
-
2020-06-28
|
|
1393
|
-
|
|
1394
|
-
49
|
|
1395
|
-
|
|
1396
|
-
VODAFONE GRP
|
|
1397
|
-
|
|
1398
|
-
26382.456
|
|
1399
|
-
|
|
1400
|
-
2019-02-05
|
|
1401
|
-
|
|
1402
|
-
26.2
|
|
984
|
+
| Investment Name | Cost | Investment Date | Total Percentage |
|
|
985
|
+
| --- | --- | --- | --- |
|
|
986
|
+
| Artemis Fund Managers Limited | 23898 | 2019-09-23 | 24.8 |
|
|
987
|
+
| CASH.CASH | 49751.4 | 2020-06-28 | 49 |
|
|
988
|
+
| VODAFONE GRP | 26382.456 | 2019-02-05 | 26.2 |
|
|
1403
989
|
|
|
1404
990
|
Hide code
|
|
1405
991
|
|
|
@@ -1442,38 +1028,11 @@ Copy
|
|
|
1442
1028
|
The `compact` prop can be used to reduce the padding around the table cells and reduce the font size. This can be useful when you have a lot of data to display and allow users to see as many columns as possible.
|
|
1443
1029
|
|
|
1444
1030
|
My investments
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
Investment Date
|
|
1451
|
-
|
|
1452
|
-
Total Percentage
|
|
1453
|
-
|
|
1454
|
-
Artemis Fund Managers Limited
|
|
1455
|
-
|
|
1456
|
-
23898
|
|
1457
|
-
|
|
1458
|
-
2019-09-23
|
|
1459
|
-
|
|
1460
|
-
24.8
|
|
1461
|
-
|
|
1462
|
-
CASH.CASH
|
|
1463
|
-
|
|
1464
|
-
49751.4
|
|
1465
|
-
|
|
1466
|
-
2020-06-28
|
|
1467
|
-
|
|
1468
|
-
49
|
|
1469
|
-
|
|
1470
|
-
VODAFONE GRP
|
|
1471
|
-
|
|
1472
|
-
26382.456
|
|
1473
|
-
|
|
1474
|
-
2019-02-05
|
|
1475
|
-
|
|
1476
|
-
26.2
|
|
1031
|
+
| Investment Name | Cost | Investment Date | Total Percentage |
|
|
1032
|
+
| --- | --- | --- | --- |
|
|
1033
|
+
| Artemis Fund Managers Limited | 23898 | 2019-09-23 | 24.8 |
|
|
1034
|
+
| CASH.CASH | 49751.4 | 2020-06-28 | 49 |
|
|
1035
|
+
| VODAFONE GRP | 26382.456 | 2019-02-05 | 26.2 |
|
|
1477
1036
|
|
|
1478
1037
|
Hide code
|
|
1479
1038
|
|
|
@@ -1511,45 +1070,7 @@ Copy
|
|
|
1511
1070
|
|
|
1512
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.
|
|
1513
1072
|
|
|
1514
|
-
My liabilities
|
|
1515
|
-
|
|
1516
|
-
Current liabilities
|
|
1517
|
-
|
|
1518
|
-
Owner
|
|
1519
|
-
|
|
1520
|
-
Type
|
|
1521
|
-
|
|
1522
|
-
Provider
|
|
1523
|
-
|
|
1524
|
-
Status
|
|
1525
|
-
|
|
1526
|
-
Frequency
|
|
1527
|
-
|
|
1528
|
-
Outstanding (GBP)
|
|
1529
|
-
|
|
1530
|
-
Interest rate p.a.
|
|
1531
|
-
|
|
1532
|
-
Repayment (GBP)
|
|
1533
|
-
|
|
1534
|
-
Client
|
|
1535
|
-
|
|
1536
|
-
Credit card
|
|
1537
|
-
|
|
1538
|
-
Current
|
|
1539
|
-
|
|
1540
|
-
Monthly
|
|
1541
|
-
|
|
1542
|
-
5,000.00
|
|
1543
|
-
|
|
1544
|
-
0%
|
|
1545
|
-
|
|
1546
|
-
300.00
|
|
1547
|
-
|
|
1548
|
-
Add current liability
|
|
1549
|
-
|
|
1550
|
-
Long term liabilities
|
|
1551
|
-
|
|
1552
|
-
Contingent liabilities
|
|
1073
|
+
<table class="ids-table-v5142" id=":rq:"><caption id=":rq:--caption" class="">My liabilities</caption><tbody aria-labelledby=":rr:--caption" class=""><tr><th aria-expanded="true" colspan="8" class="ids-table--row-group-header-v5142" id=":rr:--caption" scope="rowgroup" aria-controls=":rr:--header--0 :rr:--rows--0 :rr:--children"><button class="ids-table--activator-v5142" type="button">Current liabilities</button></th></tr><tr class="ids-table--row-group-column-headers-v5142" id=":rr:--header--0"><th id=":rr:__owner" headers=":rr:--caption" class="" style="width: 75px; min-width: 75px;">Owner</th><th id=":rr:__type" headers=":rr:--caption" class="" style="width: 100px; min-width: 100px;">Type</th><th id=":rr:__provider" headers=":rr:--caption" class="">Provider</th><th id=":rr:__status" headers=":rr:--caption" class="ids-table--divider-v5142">Status</th><th id=":rr:__frequency" headers=":rr:--caption" class="">Frequency</th><th id=":rr:__outstanding" headers=":rr:--caption" aria-sort="none" class="ids-table--cell--currency-v5142"><button type="button" class="ids-table--sort-button-v5142 ids-table--sort-button-no-wrap-v5142">Outstanding (GBP)<span role="img" class="ids-table--sort-icon-v5142 ids-icon-v5142 fa-sort fal" aria-label="sortable"></span></button></th><th id=":rr:__interestRate" headers=":rr:--caption" aria-sort="none" class="ids-table--cell--right-v5142"><button type="button" class="ids-table--sort-button-v5142 ids-table--sort-button-no-wrap-v5142">Interest rate p.a.<span role="img" class="ids-table--sort-icon-v5142 ids-icon-v5142 fa-sort fal" aria-label="sortable"></span></button></th><th id=":rr:__repayment" headers=":rr:--caption" aria-sort="none" class="ids-table--cell--currency-v5142"><button type="button" class="ids-table--sort-button-v5142 ids-table--sort-button-no-wrap-v5142">Repayment (GBP)<span role="img" class="ids-table--sort-icon-v5142 ids-icon-v5142 fa-sort fal" aria-label="sortable"></span></button></th></tr><tr id=":rr:--rows--0"><td data-column="owner" headers=":rr:__owner :rr:--caption" id=":rr:__0_owner" class="" style="width: 75px; min-width: 75px;">Client</td><td data-column="type" headers=":rr:__type :rr:--caption" id=":rr:__0_type" class="" style="width: 100px; min-width: 100px;">Credit card</td><td data-column="provider" headers=":rr:__provider :rr:--caption" id=":rr:__0_provider" class=""></td><td data-column="status" headers=":rr:__status :rr:--caption" id=":rr:__0_status" class="ids-table--divider-v5142">Current</td><td data-column="frequency" headers=":rr:__frequency :rr:--caption" id=":rr:__0_frequency" class="">Monthly</td><td data-column="outstanding" headers=":rr:__outstanding :rr:--caption" id=":rr:__0_outstanding" class="ids-table--cell--currency-v5142">5,000.00</td><td data-column="interestRate" headers=":rr:__interestRate :rr:--caption" id=":rr:__0_interestRate" class="ids-table--cell--right-v5142">0%</td><td data-column="repayment" headers=":rr:__repayment :rr:--caption" id=":rr:__0_repayment" class="ids-table--cell--currency-v5142">300.00</td></tr><tr id=":rr:--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-v5142 fa-plus-circle fal" aria-hidden="true"></span></span>Add current liability</button></td></tr></tbody><tbody aria-labelledby=":rt:--caption" class=""><tr><th aria-expanded="false" colspan="8" class="ids-table--row-group-header-v5142" id=":rt:--caption" scope="rowgroup"><button class="ids-table--activator-v5142" type="button">Long term liabilities</button></th></tr></tbody><tbody aria-labelledby=":ru:--caption" class=""><tr><th aria-expanded="false" colspan="8" class="ids-table--row-group-header-v5142" id=":ru:--caption" scope="rowgroup"><button class="ids-table--activator-v5142" type="button">Contingent liabilities</button></th></tr></tbody></table>
|
|
1553
1074
|
|
|
1554
1075
|
Hide code
|
|
1555
1076
|
|
|
@@ -1706,42 +1227,16 @@ Copy
|
|
|
1706
1227
|
It has been exposed so you can use it in your own components to format values in the same way as the table component.
|
|
1707
1228
|
|
|
1708
1229
|
IressTableFormattedValue
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
10000
|
|
1721
|
-
|
|
1722
|
-
date
|
|
1723
|
-
|
|
1724
|
-
15/05/2025
|
|
1725
|
-
|
|
1726
|
-
shortDate
|
|
1727
|
-
|
|
1728
|
-
15 May 2025
|
|
1729
|
-
|
|
1730
|
-
isoDateTime
|
|
1731
|
-
|
|
1732
|
-
2025-05-15 12:41:29 (AEST)
|
|
1733
|
-
|
|
1734
|
-
relativeTime
|
|
1735
|
-
|
|
1736
|
-
now
|
|
1737
|
-
|
|
1738
|
-
currency
|
|
1739
|
-
|
|
1740
|
-
$10,000.00
|
|
1741
|
-
|
|
1742
|
-
percent
|
|
1743
|
-
|
|
1744
|
-
50%
|
|
1230
|
+
| Mode | Example |
|
|
1231
|
+
| --- | --- |
|
|
1232
|
+
| string | string |
|
|
1233
|
+
| number | 10000 |
|
|
1234
|
+
| date | 25/06/2025 |
|
|
1235
|
+
| shortDate | 25 Jun 2025 |
|
|
1236
|
+
| isoDateTime | 2025-06-25 07:05:35 (AEST) |
|
|
1237
|
+
| relativeTime | now |
|
|
1238
|
+
| currency | $10,000.00 |
|
|
1239
|
+
| percent | 50% |
|
|
1745
1240
|
|
|
1746
1241
|
Hide code
|
|
1747
1242
|
|