@onemrvapublic/design-system-mcp-server 2.5.3-rc.3 → 2.5.3-rc.4
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/mcp-data/codebase.json +950 -598
- package/mcp-data/releases.json +10 -2
- package/mcp-data/sync-status.json +2 -2
- package/package.json +1 -1
package/mcp-data/codebase.json
CHANGED
|
@@ -6,62 +6,69 @@
|
|
|
6
6
|
"className": "OnemrvaCardComponent",
|
|
7
7
|
"category": "Utilities",
|
|
8
8
|
"path": "card/src/onemrva-card.component.ts",
|
|
9
|
-
"description": "Content card with configurable image, border, and fill variants.
|
|
9
|
+
"description": "Content card with configurable image, border, and fill variants.",
|
|
10
10
|
"inputs": [
|
|
11
11
|
{
|
|
12
12
|
"name": "type",
|
|
13
13
|
"type": "'no-background' | 'outline' | 'background'",
|
|
14
14
|
"description": "Visual variant of the card.",
|
|
15
|
-
"defaultValue": "'no-background'
|
|
15
|
+
"defaultValue": "'no-background'",
|
|
16
16
|
"required": false,
|
|
17
|
-
"examples": []
|
|
17
|
+
"examples": [],
|
|
18
|
+
"rendered": true
|
|
18
19
|
},
|
|
19
20
|
{
|
|
20
21
|
"name": "imageSrc",
|
|
21
22
|
"type": "string | undefined",
|
|
22
|
-
"description": "
|
|
23
|
+
"description": "URL of the image shown at the top of the card; no image when empty or blank.",
|
|
23
24
|
"required": false,
|
|
24
|
-
"examples": []
|
|
25
|
+
"examples": [],
|
|
26
|
+
"rendered": true
|
|
25
27
|
},
|
|
26
28
|
{
|
|
27
29
|
"name": "imageAlt",
|
|
28
30
|
"type": "string | undefined",
|
|
29
|
-
"description": "
|
|
31
|
+
"description": "Alt text of the card image.",
|
|
30
32
|
"defaultValue": "''",
|
|
31
33
|
"required": false,
|
|
32
|
-
"examples": []
|
|
34
|
+
"examples": [],
|
|
35
|
+
"rendered": true
|
|
33
36
|
},
|
|
34
37
|
{
|
|
35
38
|
"name": "label",
|
|
36
39
|
"type": "string | undefined",
|
|
37
|
-
"description": "
|
|
40
|
+
"description": "Small label shown above the title; hidden when empty.",
|
|
38
41
|
"defaultValue": "''",
|
|
39
42
|
"required": false,
|
|
40
|
-
"examples": []
|
|
43
|
+
"examples": [],
|
|
44
|
+
"rendered": true
|
|
41
45
|
},
|
|
42
46
|
{
|
|
43
47
|
"name": "title",
|
|
44
48
|
"type": "string | undefined",
|
|
45
|
-
"description": "
|
|
49
|
+
"description": "Card title text; hidden when empty.",
|
|
46
50
|
"defaultValue": "''",
|
|
47
51
|
"required": false,
|
|
48
|
-
"examples": []
|
|
52
|
+
"examples": [],
|
|
53
|
+
"rendered": true
|
|
49
54
|
},
|
|
50
55
|
{
|
|
51
56
|
"name": "subtitle",
|
|
52
57
|
"type": "string | undefined",
|
|
53
|
-
"description": "
|
|
58
|
+
"description": "Text shown below the title; hidden when empty.",
|
|
54
59
|
"defaultValue": "''",
|
|
55
60
|
"required": false,
|
|
56
|
-
"examples": []
|
|
61
|
+
"examples": [],
|
|
62
|
+
"rendered": true
|
|
57
63
|
},
|
|
58
64
|
{
|
|
59
65
|
"name": "description",
|
|
60
66
|
"type": "string | undefined",
|
|
61
|
-
"description": "
|
|
67
|
+
"description": "Paragraph shown below the header, above the projected content; hidden when empty.",
|
|
62
68
|
"defaultValue": "''",
|
|
63
69
|
"required": false,
|
|
64
|
-
"examples": []
|
|
70
|
+
"examples": [],
|
|
71
|
+
"rendered": true
|
|
65
72
|
},
|
|
66
73
|
{
|
|
67
74
|
"name": "helpText",
|
|
@@ -69,28 +76,32 @@
|
|
|
69
76
|
"description": "Tooltip text shown via the help icon. When empty, the icon is hidden.",
|
|
70
77
|
"defaultValue": "''",
|
|
71
78
|
"required": false,
|
|
72
|
-
"examples": []
|
|
79
|
+
"examples": [],
|
|
80
|
+
"rendered": true
|
|
73
81
|
},
|
|
74
82
|
{
|
|
75
83
|
"name": "coloredTitle",
|
|
76
84
|
"type": "boolean",
|
|
77
85
|
"description": "When `true`, the title always uses the gradient. When `false`, it is always plain. When omitted, the gradient follows the variant.",
|
|
78
86
|
"required": false,
|
|
79
|
-
"examples": []
|
|
87
|
+
"examples": [],
|
|
88
|
+
"rendered": false
|
|
80
89
|
},
|
|
81
90
|
{
|
|
82
91
|
"name": "textColor",
|
|
83
92
|
"type": "string",
|
|
84
93
|
"description": "Overrides the CSS text color for label, subtitle, description and help icon. Accepts any CSS color value.",
|
|
85
94
|
"required": false,
|
|
86
|
-
"examples": []
|
|
95
|
+
"examples": [],
|
|
96
|
+
"rendered": false
|
|
87
97
|
},
|
|
88
98
|
{
|
|
89
99
|
"name": "width",
|
|
90
100
|
"type": "string",
|
|
91
|
-
"description": "
|
|
101
|
+
"description": "CSS width of the card host, e.g. `320px` or `100%`.",
|
|
92
102
|
"required": false,
|
|
93
|
-
"examples": []
|
|
103
|
+
"examples": [],
|
|
104
|
+
"rendered": false
|
|
94
105
|
}
|
|
95
106
|
],
|
|
96
107
|
"outputs": [],
|
|
@@ -141,31 +152,34 @@
|
|
|
141
152
|
"className": "FlagIconComponent",
|
|
142
153
|
"category": "Flag Components",
|
|
143
154
|
"path": "flag-icon/src/flag-icon.component.ts",
|
|
144
|
-
"description": "Country flag image resolved from an ISO 3166-1 alpha-2 code.
|
|
155
|
+
"description": "Country flag image resolved from an ISO 3166-1 alpha-2 code.",
|
|
145
156
|
"inputs": [
|
|
146
157
|
{
|
|
147
158
|
"name": "countryCode",
|
|
148
159
|
"type": "string | null | undefined",
|
|
149
|
-
"description": "
|
|
160
|
+
"description": "ISO 3166-1 alpha-2 code, case-insensitive; empty or missing shows the `xx` placeholder flag.",
|
|
150
161
|
"defaultValue": "'xx'",
|
|
151
162
|
"required": false,
|
|
152
|
-
"examples": []
|
|
163
|
+
"examples": [],
|
|
164
|
+
"rendered": false
|
|
153
165
|
},
|
|
154
166
|
{
|
|
155
167
|
"name": "mode",
|
|
156
168
|
"type": "'square' | 'rectangle'",
|
|
157
|
-
"description": "
|
|
169
|
+
"description": "`'rectangle'` (default) loads the 4x3 flag, `'square'` the 1x1 flag.",
|
|
158
170
|
"defaultValue": "'rectangle'",
|
|
159
171
|
"required": false,
|
|
160
|
-
"examples": []
|
|
172
|
+
"examples": [],
|
|
173
|
+
"rendered": true
|
|
161
174
|
},
|
|
162
175
|
{
|
|
163
176
|
"name": "width",
|
|
164
177
|
"type": "number",
|
|
165
|
-
"description": "
|
|
178
|
+
"description": "Image width in px; defaults to 26.",
|
|
166
179
|
"defaultValue": "26",
|
|
167
180
|
"required": false,
|
|
168
|
-
"examples": []
|
|
181
|
+
"examples": [],
|
|
182
|
+
"rendered": true
|
|
169
183
|
}
|
|
170
184
|
],
|
|
171
185
|
"outputs": [],
|
|
@@ -195,12 +209,12 @@
|
|
|
195
209
|
"className": "LayoutAfterNavComponent",
|
|
196
210
|
"category": "Layout Components",
|
|
197
211
|
"path": "layout/src/components/layout-after-nav/layout-after-nav.component.ts",
|
|
198
|
-
"description": "Slot projected after the navigation bar in the app shell.
|
|
212
|
+
"description": "Slot projected after the navigation bar in the app shell.",
|
|
199
213
|
"inputs": [
|
|
200
214
|
{
|
|
201
215
|
"name": "customNgClass",
|
|
202
216
|
"type": "any",
|
|
203
|
-
"description": "
|
|
217
|
+
"description": "Currently unused; has no effect on the rendered slot.",
|
|
204
218
|
"required": false,
|
|
205
219
|
"examples": []
|
|
206
220
|
}
|
|
@@ -230,12 +244,12 @@
|
|
|
230
244
|
"className": "LayoutContentComponent",
|
|
231
245
|
"category": "Layout Components",
|
|
232
246
|
"path": "layout/src/components/layout-content/layout-content.component.ts",
|
|
233
|
-
"description": "Main content area slot in the application shell.
|
|
247
|
+
"description": "Main content area slot in the application shell.",
|
|
234
248
|
"inputs": [
|
|
235
249
|
{
|
|
236
250
|
"name": "customNgClass",
|
|
237
251
|
"type": "any",
|
|
238
|
-
"description": "
|
|
252
|
+
"description": "Currently unused; has no effect on the rendered slot.",
|
|
239
253
|
"required": false,
|
|
240
254
|
"examples": []
|
|
241
255
|
}
|
|
@@ -332,15 +346,16 @@
|
|
|
332
346
|
"className": "LayoutDrawerTitleComponent",
|
|
333
347
|
"category": "Layout Components",
|
|
334
348
|
"path": "layout/src/components/layout-drawer-title/layout-drawer-title.component.ts",
|
|
335
|
-
"description": "Title bar with close button for a drawer panel.
|
|
349
|
+
"description": "Title bar with close button for a drawer panel.",
|
|
336
350
|
"inputs": [
|
|
337
351
|
{
|
|
338
352
|
"name": "showClose",
|
|
339
353
|
"type": "boolean",
|
|
340
|
-
"description": "
|
|
354
|
+
"description": "Shows a close icon that closes the drawer; hidden when false.",
|
|
341
355
|
"defaultValue": "true",
|
|
342
356
|
"required": false,
|
|
343
|
-
"examples": []
|
|
357
|
+
"examples": [],
|
|
358
|
+
"rendered": true
|
|
344
359
|
}
|
|
345
360
|
],
|
|
346
361
|
"outputs": [],
|
|
@@ -410,23 +425,25 @@
|
|
|
410
425
|
"className": "LayoutLeftSidenavComponent",
|
|
411
426
|
"category": "Layout Components",
|
|
412
427
|
"path": "layout/src/components/layout-left-sidenav/layout-left-sidenav.component.ts",
|
|
413
|
-
"description": "Collapsible left sidenav panel with navigation item list.
|
|
428
|
+
"description": "Collapsible left sidenav panel with navigation item list.",
|
|
414
429
|
"inputs": [
|
|
415
430
|
{
|
|
416
431
|
"name": "items",
|
|
417
432
|
"type": "NavItem[]",
|
|
418
|
-
"description": "
|
|
433
|
+
"description": "Navigation items listed in the left sidenav; the sidenav is hidden when empty.",
|
|
419
434
|
"defaultValue": "[]",
|
|
420
435
|
"required": false,
|
|
421
|
-
"examples": []
|
|
436
|
+
"examples": [],
|
|
437
|
+
"rendered": true
|
|
422
438
|
},
|
|
423
439
|
{
|
|
424
440
|
"name": "isCollapsed",
|
|
425
441
|
"type": "boolean",
|
|
426
|
-
"description": "
|
|
442
|
+
"description": "Two-way collapsed state; collapsing hides the item list. Toggled by the built-in button.",
|
|
427
443
|
"defaultValue": "false",
|
|
428
444
|
"required": false,
|
|
429
|
-
"examples": []
|
|
445
|
+
"examples": [],
|
|
446
|
+
"rendered": true
|
|
430
447
|
}
|
|
431
448
|
],
|
|
432
449
|
"outputs": [],
|
|
@@ -468,12 +485,12 @@
|
|
|
468
485
|
"className": "LayoutLoginMenuComponent",
|
|
469
486
|
"category": "Layout Components",
|
|
470
487
|
"path": "layout/src/components/layout-login-menu/layout-login-menu.component.ts",
|
|
471
|
-
"description": "User/login menu slot projected into the toolbar.
|
|
488
|
+
"description": "User/login menu slot projected into the toolbar.",
|
|
472
489
|
"inputs": [
|
|
473
490
|
{
|
|
474
491
|
"name": "customNgClass",
|
|
475
492
|
"type": "any",
|
|
476
|
-
"description": "
|
|
493
|
+
"description": "Currently unused; has no effect on the rendered slot.",
|
|
477
494
|
"required": false,
|
|
478
495
|
"examples": []
|
|
479
496
|
}
|
|
@@ -506,56 +523,63 @@
|
|
|
506
523
|
"className": "LayoutRouteComponent",
|
|
507
524
|
"category": "Layout Components",
|
|
508
525
|
"path": "layout/src/components/layout-route/layout-route.component.ts",
|
|
509
|
-
"description": "Top-level navigation route item with optional sub-items.
|
|
526
|
+
"description": "Top-level navigation route item with optional sub-items.",
|
|
510
527
|
"inputs": [
|
|
511
528
|
{
|
|
512
529
|
"name": "customNgClass",
|
|
513
530
|
"type": "any",
|
|
514
|
-
"description": "
|
|
531
|
+
"description": "Currently unused; has no effect.",
|
|
515
532
|
"required": false,
|
|
516
|
-
"examples": []
|
|
533
|
+
"examples": [],
|
|
534
|
+
"rendered": false
|
|
517
535
|
},
|
|
518
536
|
{
|
|
519
537
|
"name": "routerLink",
|
|
520
538
|
"type": "string",
|
|
521
|
-
"description": "
|
|
539
|
+
"description": "Route the header tab and small-screen menu item navigate to.",
|
|
522
540
|
"required": false,
|
|
523
|
-
"examples": []
|
|
541
|
+
"examples": [],
|
|
542
|
+
"rendered": true
|
|
524
543
|
},
|
|
525
544
|
{
|
|
526
545
|
"name": "routerLinkActiveOptions",
|
|
527
546
|
"type": "any",
|
|
528
|
-
"description": "
|
|
547
|
+
"description": "Currently unused; the header tabs use fixed exact-match options.",
|
|
529
548
|
"required": false,
|
|
530
|
-
"examples": []
|
|
549
|
+
"examples": [],
|
|
550
|
+
"rendered": false
|
|
531
551
|
},
|
|
532
552
|
{
|
|
533
553
|
"name": "dataCy",
|
|
534
554
|
"type": "string",
|
|
535
|
-
"description": "
|
|
555
|
+
"description": "Sets data-cy on the header tab and the small-screen menu item.",
|
|
536
556
|
"required": false,
|
|
537
|
-
"examples": []
|
|
557
|
+
"examples": [],
|
|
558
|
+
"rendered": true
|
|
538
559
|
},
|
|
539
560
|
{
|
|
540
561
|
"name": "baseRouteForActiveMenu",
|
|
541
562
|
"type": "string",
|
|
542
|
-
"description": "
|
|
563
|
+
"description": "Without routerLink, marks the tab active when the URL equals this path or is under it.",
|
|
543
564
|
"required": false,
|
|
544
|
-
"examples": []
|
|
565
|
+
"examples": [],
|
|
566
|
+
"rendered": false
|
|
545
567
|
},
|
|
546
568
|
{
|
|
547
569
|
"name": "label",
|
|
548
570
|
"type": "string",
|
|
549
|
-
"description": "
|
|
571
|
+
"description": "Text of the tab and menu item; required since 20.1.0, logs an error when missing.",
|
|
550
572
|
"required": false,
|
|
551
|
-
"examples": []
|
|
573
|
+
"examples": [],
|
|
574
|
+
"rendered": true
|
|
552
575
|
},
|
|
553
576
|
{
|
|
554
577
|
"name": "icon",
|
|
555
578
|
"type": "string",
|
|
556
|
-
"description": "
|
|
579
|
+
"description": "Not shown in the header tabs; the small-screen menu currently receives it incorrectly, so avoid relying on it.",
|
|
557
580
|
"required": false,
|
|
558
|
-
"examples": []
|
|
581
|
+
"examples": [],
|
|
582
|
+
"rendered": false
|
|
559
583
|
}
|
|
560
584
|
],
|
|
561
585
|
"outputs": [],
|
|
@@ -628,29 +652,32 @@
|
|
|
628
652
|
"className": "LayoutSidenavComponent",
|
|
629
653
|
"category": "Layout Components",
|
|
630
654
|
"path": "layout/src/components/layout-sidenav/layout-sidenav.component.ts",
|
|
631
|
-
"description": "Sidenav with route list, language selector, and collapse support.
|
|
655
|
+
"description": "Sidenav with route list, language selector, and collapse support.",
|
|
632
656
|
"inputs": [
|
|
633
657
|
{
|
|
634
658
|
"name": "isSmall",
|
|
635
659
|
"type": "boolean",
|
|
636
|
-
"description": "
|
|
660
|
+
"description": "Renders the drawer content only when true; set by onemrva-layout on small screens.",
|
|
637
661
|
"required": true,
|
|
638
|
-
"examples": []
|
|
662
|
+
"examples": [],
|
|
663
|
+
"rendered": true
|
|
639
664
|
},
|
|
640
665
|
{
|
|
641
666
|
"name": "routes",
|
|
642
667
|
"type": "QueryList<LayoutRouteComponent>",
|
|
643
|
-
"description": "
|
|
668
|
+
"description": "Layout routes turned into the drawer navigation items.",
|
|
644
669
|
"required": false,
|
|
645
|
-
"examples": []
|
|
670
|
+
"examples": [],
|
|
671
|
+
"rendered": true
|
|
646
672
|
},
|
|
647
673
|
{
|
|
648
674
|
"name": "languages",
|
|
649
675
|
"type": "OnemRvaLanguage[]",
|
|
650
|
-
"description": "
|
|
676
|
+
"description": "Languages offered in the drawer language select, shown when there is more than one.",
|
|
651
677
|
"defaultValue": "[]",
|
|
652
678
|
"required": false,
|
|
653
|
-
"examples": []
|
|
679
|
+
"examples": [],
|
|
680
|
+
"rendered": true
|
|
654
681
|
}
|
|
655
682
|
],
|
|
656
683
|
"outputs": [],
|
|
@@ -690,49 +717,55 @@
|
|
|
690
717
|
"className": "LayoutSubrouteComponent",
|
|
691
718
|
"category": "Layout Components",
|
|
692
719
|
"path": "layout/src/components/layout-subroute/layout-subroute.component.ts",
|
|
693
|
-
"description": "Child route item nested under a top-level navigation route.
|
|
720
|
+
"description": "Child route item nested under a top-level navigation route.",
|
|
694
721
|
"inputs": [
|
|
695
722
|
{
|
|
696
723
|
"name": "customNgClass",
|
|
697
724
|
"type": "any",
|
|
698
|
-
"description": "
|
|
725
|
+
"description": "Currently unused; has no effect.",
|
|
699
726
|
"required": false,
|
|
700
|
-
"examples": []
|
|
727
|
+
"examples": [],
|
|
728
|
+
"rendered": false
|
|
701
729
|
},
|
|
702
730
|
{
|
|
703
731
|
"name": "routerLink",
|
|
704
732
|
"type": "typeof RouterLink.prototype.routerLink | string",
|
|
705
|
-
"description": "
|
|
733
|
+
"description": "Route the menu item navigates to, as a path string or routerLink commands.",
|
|
706
734
|
"required": false,
|
|
707
|
-
"examples": []
|
|
735
|
+
"examples": [],
|
|
736
|
+
"rendered": false
|
|
708
737
|
},
|
|
709
738
|
{
|
|
710
739
|
"name": "routerLinkActiveOptions",
|
|
711
740
|
"type": "any",
|
|
712
|
-
"description": "
|
|
741
|
+
"description": "Currently unused; has no effect.",
|
|
713
742
|
"required": false,
|
|
714
|
-
"examples": []
|
|
743
|
+
"examples": [],
|
|
744
|
+
"rendered": false
|
|
715
745
|
},
|
|
716
746
|
{
|
|
717
747
|
"name": "dataCy",
|
|
718
748
|
"type": "string",
|
|
719
|
-
"description": "
|
|
749
|
+
"description": "Sets data-cy on the dropdown and small-screen menu items.",
|
|
720
750
|
"required": false,
|
|
721
|
-
"examples": []
|
|
751
|
+
"examples": [],
|
|
752
|
+
"rendered": false
|
|
722
753
|
},
|
|
723
754
|
{
|
|
724
755
|
"name": "label",
|
|
725
756
|
"type": "string",
|
|
726
|
-
"description": "
|
|
757
|
+
"description": "Text of the menu item; required since 20.1.0, logs an error when missing.",
|
|
727
758
|
"required": false,
|
|
728
|
-
"examples": []
|
|
759
|
+
"examples": [],
|
|
760
|
+
"rendered": true
|
|
729
761
|
},
|
|
730
762
|
{
|
|
731
763
|
"name": "icon",
|
|
732
764
|
"type": "string",
|
|
733
|
-
"description": "
|
|
765
|
+
"description": "Not shown in the header tabs; the small-screen menu currently receives it incorrectly, so avoid relying on it.",
|
|
734
766
|
"required": false,
|
|
735
|
-
"examples": []
|
|
767
|
+
"examples": [],
|
|
768
|
+
"rendered": false
|
|
736
769
|
}
|
|
737
770
|
],
|
|
738
771
|
"outputs": [],
|
|
@@ -762,12 +795,12 @@
|
|
|
762
795
|
"className": "LayoutTitleComponent",
|
|
763
796
|
"category": "Layout Components",
|
|
764
797
|
"path": "layout/src/components/layout-title/layout-title.component.ts",
|
|
765
|
-
"description": "Page title slot in the application header toolbar.
|
|
798
|
+
"description": "Page title slot in the application header toolbar.",
|
|
766
799
|
"inputs": [
|
|
767
800
|
{
|
|
768
801
|
"name": "customNgClass",
|
|
769
802
|
"type": "any",
|
|
770
|
-
"description": "
|
|
803
|
+
"description": "Currently unused; has no effect on the rendered slot.",
|
|
771
804
|
"required": false,
|
|
772
805
|
"examples": []
|
|
773
806
|
}
|
|
@@ -798,90 +831,99 @@
|
|
|
798
831
|
"className": "LayoutComponent",
|
|
799
832
|
"category": "Layout Components",
|
|
800
833
|
"path": "layout/src/components/layout/layout.component.ts",
|
|
801
|
-
"description": "Application shell composing header, sidenav, content, and footer slots.
|
|
834
|
+
"description": "Application shell composing header, sidenav, content, and footer slots.",
|
|
802
835
|
"inputs": [
|
|
803
836
|
{
|
|
804
837
|
"name": "languages",
|
|
805
838
|
"type": "OnemRvaLanguage[]",
|
|
806
|
-
"description": "
|
|
839
|
+
"description": "Languages in the header menu, shown when more than one; falls back to TranslateService langs.",
|
|
807
840
|
"defaultValue": "[]",
|
|
808
841
|
"required": false,
|
|
809
|
-
"examples": []
|
|
842
|
+
"examples": [],
|
|
843
|
+
"rendered": false
|
|
810
844
|
},
|
|
811
845
|
{
|
|
812
846
|
"name": "environment",
|
|
813
847
|
"type": "Environment",
|
|
814
|
-
"description": "
|
|
848
|
+
"description": "LOCAL, TEST or VAL shows a coloured environment sticker; LOCAL and TEST also add an a11y FAB.",
|
|
815
849
|
"required": false,
|
|
816
|
-
"examples": []
|
|
850
|
+
"examples": [],
|
|
851
|
+
"rendered": true
|
|
817
852
|
},
|
|
818
853
|
{
|
|
819
854
|
"name": "logoRedictionUrl",
|
|
820
855
|
"type": "(string | any[] | null) | undefined",
|
|
821
|
-
"description": "
|
|
856
|
+
"description": "routerLink target of the logo; defaults to \"\", null disables the link.",
|
|
822
857
|
"defaultValue": "''",
|
|
823
858
|
"required": false,
|
|
824
|
-
"examples": []
|
|
859
|
+
"examples": [],
|
|
860
|
+
"rendered": true
|
|
825
861
|
},
|
|
826
862
|
{
|
|
827
863
|
"name": "profile",
|
|
828
864
|
"type": "OnemRvaProfile | null",
|
|
829
|
-
"description": "
|
|
865
|
+
"description": "User shown in the avatar menu with login/logout; null hides the avatar menu.",
|
|
830
866
|
"defaultValue": "null",
|
|
831
867
|
"required": false,
|
|
832
|
-
"examples": []
|
|
868
|
+
"examples": [],
|
|
869
|
+
"rendered": true
|
|
833
870
|
},
|
|
834
871
|
{
|
|
835
872
|
"name": "logo",
|
|
836
873
|
"type": "string",
|
|
837
|
-
"description": "
|
|
874
|
+
"description": "Custom logo URL; empty string shows the default localised ONEM/RVA logo.",
|
|
838
875
|
"defaultValue": "''",
|
|
839
876
|
"required": false,
|
|
840
|
-
"examples": []
|
|
877
|
+
"examples": [],
|
|
878
|
+
"rendered": true
|
|
841
879
|
},
|
|
842
880
|
{
|
|
843
881
|
"name": "disableLogoutButton",
|
|
844
882
|
"type": "boolean",
|
|
845
|
-
"description": "
|
|
883
|
+
"description": "Keeps the logout menu item visible but disabled, and suppresses the logout event.",
|
|
846
884
|
"defaultValue": "false",
|
|
847
885
|
"required": false,
|
|
848
|
-
"examples": []
|
|
886
|
+
"examples": [],
|
|
887
|
+
"rendered": true
|
|
849
888
|
},
|
|
850
889
|
{
|
|
851
890
|
"name": "id",
|
|
852
891
|
"type": "string",
|
|
853
|
-
"description": "
|
|
892
|
+
"description": "Currently unused; has no effect.",
|
|
854
893
|
"defaultValue": "'main'",
|
|
855
894
|
"required": false,
|
|
856
|
-
"examples": []
|
|
895
|
+
"examples": [],
|
|
896
|
+
"rendered": true
|
|
857
897
|
},
|
|
858
898
|
{
|
|
859
899
|
"name": "role",
|
|
860
900
|
"type": "string",
|
|
861
|
-
"description": "
|
|
901
|
+
"description": "Currently unused; has no effect.",
|
|
862
902
|
"defaultValue": "'main'",
|
|
863
903
|
"required": false,
|
|
864
|
-
"examples": []
|
|
904
|
+
"examples": [],
|
|
905
|
+
"rendered": false
|
|
865
906
|
},
|
|
866
907
|
{
|
|
867
908
|
"name": "showThemeSwitcher",
|
|
868
909
|
"type": "boolean",
|
|
869
|
-
"description": "
|
|
910
|
+
"description": "Currently unused; has no effect.",
|
|
870
911
|
"defaultValue": "false",
|
|
871
912
|
"required": false,
|
|
872
|
-
"examples": []
|
|
913
|
+
"examples": [],
|
|
914
|
+
"rendered": false
|
|
873
915
|
}
|
|
874
916
|
],
|
|
875
917
|
"outputs": [
|
|
876
918
|
{
|
|
877
919
|
"name": "login",
|
|
878
920
|
"type": "OutputEmitter<void>",
|
|
879
|
-
"description": "
|
|
921
|
+
"description": "Emits when the login item of the avatar menu is clicked."
|
|
880
922
|
},
|
|
881
923
|
{
|
|
882
924
|
"name": "logout",
|
|
883
925
|
"type": "OutputEmitter<void>",
|
|
884
|
-
"description": "
|
|
926
|
+
"description": "Emits when the logout item is clicked, unless disableLogoutButton is set."
|
|
885
927
|
}
|
|
886
928
|
],
|
|
887
929
|
"methods": [],
|
|
@@ -947,55 +989,61 @@
|
|
|
947
989
|
"className": "OnemrvaMatAvatarComponent",
|
|
948
990
|
"category": "Material Components",
|
|
949
991
|
"path": "mat-avatar/src/onemrva-mat-avatar.component.ts",
|
|
950
|
-
"description": "Avatar provides a way to display an image, icon or initials to the user.
|
|
992
|
+
"description": "Avatar provides a way to display an image, icon or initials to the user.",
|
|
951
993
|
"inputs": [
|
|
952
994
|
{
|
|
953
995
|
"name": "id",
|
|
954
996
|
"type": "any",
|
|
955
|
-
"description": "
|
|
997
|
+
"description": "id attribute of the host element; auto-generated when omitted.",
|
|
956
998
|
"defaultValue": "`onemrva-mat-avatar-${NEXT_ID++}`",
|
|
957
999
|
"required": false,
|
|
958
|
-
"examples": []
|
|
1000
|
+
"examples": [],
|
|
1001
|
+
"rendered": false
|
|
959
1002
|
},
|
|
960
1003
|
{
|
|
961
1004
|
"name": "roundShape",
|
|
962
1005
|
"type": "boolean",
|
|
963
|
-
"description": "
|
|
1006
|
+
"description": "Renders the avatar as a circle; defaults to `true`.",
|
|
964
1007
|
"defaultValue": "true",
|
|
965
1008
|
"required": false,
|
|
966
|
-
"examples": []
|
|
1009
|
+
"examples": [],
|
|
1010
|
+
"rendered": false
|
|
967
1011
|
},
|
|
968
1012
|
{
|
|
969
1013
|
"name": "initials",
|
|
970
1014
|
"type": "string",
|
|
971
|
-
"description": "
|
|
1015
|
+
"description": "Initials to display, truncated to 2 characters; takes precedence over `src` and `icon`.",
|
|
972
1016
|
"defaultValue": "''",
|
|
973
1017
|
"required": false,
|
|
974
|
-
"examples": []
|
|
1018
|
+
"examples": [],
|
|
1019
|
+
"rendered": true
|
|
975
1020
|
},
|
|
976
1021
|
{
|
|
977
1022
|
"name": "text",
|
|
978
1023
|
"type": "string",
|
|
979
|
-
"description": "
|
|
1024
|
+
"description": "Currently unused; has no effect. Use `initials`, `src` or `icon`.",
|
|
980
1025
|
"defaultValue": "''",
|
|
981
1026
|
"required": false,
|
|
982
|
-
"examples": []
|
|
1027
|
+
"examples": [],
|
|
1028
|
+
"rendered": true
|
|
983
1029
|
},
|
|
984
1030
|
{
|
|
985
1031
|
"name": "icon",
|
|
986
1032
|
"type": "string",
|
|
987
|
-
"description": "
|
|
1033
|
+
"description": "Material icon name shown when neither `initials` nor `src` is set.",
|
|
988
1034
|
"defaultValue": "''",
|
|
989
1035
|
"required": false,
|
|
990
|
-
"examples": []
|
|
1036
|
+
"examples": [],
|
|
1037
|
+
"rendered": true
|
|
991
1038
|
},
|
|
992
1039
|
{
|
|
993
1040
|
"name": "src",
|
|
994
1041
|
"type": "string",
|
|
995
|
-
"description": "
|
|
1042
|
+
"description": "Image URL shown as the avatar background; used when `initials` is empty.",
|
|
996
1043
|
"defaultValue": "''",
|
|
997
1044
|
"required": false,
|
|
998
|
-
"examples": []
|
|
1045
|
+
"examples": [],
|
|
1046
|
+
"rendered": false
|
|
999
1047
|
}
|
|
1000
1048
|
],
|
|
1001
1049
|
"outputs": [],
|
|
@@ -1046,15 +1094,16 @@
|
|
|
1046
1094
|
"className": "OnemrvaMatBreadcrumbComponent",
|
|
1047
1095
|
"category": "Material Components",
|
|
1048
1096
|
"path": "mat-breadcrumb/src/onemrva-mat-breadcrumb.component.ts",
|
|
1049
|
-
"description": "Breadcrumb trail showing the current navigation hierarchy.
|
|
1097
|
+
"description": "Breadcrumb trail showing the current navigation hierarchy.",
|
|
1050
1098
|
"inputs": [
|
|
1051
1099
|
{
|
|
1052
1100
|
"name": "paths",
|
|
1053
1101
|
"type": "OnemrvaBreadcrumb[]",
|
|
1054
|
-
"description": "
|
|
1102
|
+
"description": "Trail items to show; when empty, the trail comes from `OnemrvaMatBreadcrumbService`.",
|
|
1055
1103
|
"defaultValue": "[]",
|
|
1056
1104
|
"required": false,
|
|
1057
|
-
"examples": []
|
|
1105
|
+
"examples": [],
|
|
1106
|
+
"rendered": false
|
|
1058
1107
|
}
|
|
1059
1108
|
],
|
|
1060
1109
|
"outputs": [],
|
|
@@ -1125,55 +1174,61 @@
|
|
|
1125
1174
|
"className": "OnemrvaMatCarouselComponent",
|
|
1126
1175
|
"category": "Material Components",
|
|
1127
1176
|
"path": "mat-carousel/src/onemrva-mat-carousel.component.ts",
|
|
1128
|
-
"description": "Auto-advancing carousel with configurable navigation controls.
|
|
1177
|
+
"description": "Auto-advancing carousel with configurable navigation controls.",
|
|
1129
1178
|
"inputs": [
|
|
1130
1179
|
{
|
|
1131
1180
|
"name": "timing",
|
|
1132
1181
|
"type": "string",
|
|
1133
|
-
"description": "
|
|
1182
|
+
"description": "Slide transition as '<duration> <easing>', e.g. '250ms ease-in'; parsed but not applied, the animation is disabled.",
|
|
1134
1183
|
"defaultValue": "'250ms ease-in'",
|
|
1135
1184
|
"required": false,
|
|
1136
|
-
"examples": []
|
|
1185
|
+
"examples": [],
|
|
1186
|
+
"rendered": false
|
|
1137
1187
|
},
|
|
1138
1188
|
{
|
|
1139
1189
|
"name": "gap",
|
|
1140
1190
|
"type": "number",
|
|
1141
|
-
"description": "
|
|
1191
|
+
"description": "Space in px between slides, applied as each slide's right margin.",
|
|
1142
1192
|
"defaultValue": "32",
|
|
1143
1193
|
"required": false,
|
|
1144
|
-
"examples": []
|
|
1194
|
+
"examples": [],
|
|
1195
|
+
"rendered": false
|
|
1145
1196
|
},
|
|
1146
1197
|
{
|
|
1147
1198
|
"name": "padding",
|
|
1148
1199
|
"type": "number",
|
|
1149
|
-
"description": "
|
|
1200
|
+
"description": "Space in px kept on each side; each slide is the carousel width minus twice this value.",
|
|
1150
1201
|
"defaultValue": "64",
|
|
1151
1202
|
"required": false,
|
|
1152
|
-
"examples": []
|
|
1203
|
+
"examples": [],
|
|
1204
|
+
"rendered": false
|
|
1153
1205
|
},
|
|
1154
1206
|
{
|
|
1155
1207
|
"name": "showControls",
|
|
1156
1208
|
"type": "boolean",
|
|
1157
|
-
"description": "
|
|
1209
|
+
"description": "Shows the previous/next arrow buttons.",
|
|
1158
1210
|
"defaultValue": "true",
|
|
1159
1211
|
"required": false,
|
|
1160
|
-
"examples": []
|
|
1212
|
+
"examples": [],
|
|
1213
|
+
"rendered": false
|
|
1161
1214
|
},
|
|
1162
1215
|
{
|
|
1163
1216
|
"name": "autoplay",
|
|
1164
1217
|
"type": "number",
|
|
1165
|
-
"description": "
|
|
1218
|
+
"description": "Interval in ms between automatic advances to the next slide (wraps around); 0 disables autoplay.",
|
|
1166
1219
|
"defaultValue": "0",
|
|
1167
1220
|
"required": false,
|
|
1168
|
-
"examples": []
|
|
1221
|
+
"examples": [],
|
|
1222
|
+
"rendered": false
|
|
1169
1223
|
},
|
|
1170
1224
|
{
|
|
1171
1225
|
"name": "showDots",
|
|
1172
1226
|
"type": "boolean",
|
|
1173
|
-
"description": "
|
|
1227
|
+
"description": "Shows the dot navigation below the slides, one clickable dot per slide.",
|
|
1174
1228
|
"defaultValue": "true",
|
|
1175
1229
|
"required": false,
|
|
1176
|
-
"examples": []
|
|
1230
|
+
"examples": [],
|
|
1231
|
+
"rendered": true
|
|
1177
1232
|
}
|
|
1178
1233
|
],
|
|
1179
1234
|
"outputs": [],
|
|
@@ -1218,23 +1273,25 @@
|
|
|
1218
1273
|
"className": "OnemrvaMatChoiceChipComponent",
|
|
1219
1274
|
"category": "Material Components",
|
|
1220
1275
|
"path": "mat-choice-chip/src/onemrva-mat-choice-chip.component.ts",
|
|
1221
|
-
"description": "Toggle chip implementing ControlValueAccessor for use in forms.
|
|
1276
|
+
"description": "Toggle chip implementing ControlValueAccessor for use in forms.",
|
|
1222
1277
|
"inputs": [
|
|
1223
1278
|
{
|
|
1224
1279
|
"name": "valueInput",
|
|
1225
1280
|
"type": "boolean | null",
|
|
1226
|
-
"description": "
|
|
1281
|
+
"description": "Forces the checked state outside forms; when null, the form control value is used.",
|
|
1227
1282
|
"defaultValue": "null",
|
|
1228
1283
|
"required": false,
|
|
1229
|
-
"examples": []
|
|
1284
|
+
"examples": [],
|
|
1285
|
+
"rendered": false
|
|
1230
1286
|
},
|
|
1231
1287
|
{
|
|
1232
1288
|
"name": "disabledInput",
|
|
1233
1289
|
"type": "boolean | null",
|
|
1234
|
-
"description": "
|
|
1290
|
+
"description": "Forces the disabled state outside forms; when null, the form control's disabled state is used.",
|
|
1235
1291
|
"defaultValue": "null",
|
|
1236
1292
|
"required": false,
|
|
1237
|
-
"examples": []
|
|
1293
|
+
"examples": [],
|
|
1294
|
+
"rendered": false
|
|
1238
1295
|
}
|
|
1239
1296
|
],
|
|
1240
1297
|
"outputs": [],
|
|
@@ -1263,7 +1320,8 @@
|
|
|
1263
1320
|
"select"
|
|
1264
1321
|
],
|
|
1265
1322
|
"group": "Forms",
|
|
1266
|
-
"themes": []
|
|
1323
|
+
"themes": [],
|
|
1324
|
+
"demoCode": "<div class=\"demo-choice-chips\" [formGroup]=\"form\">\n <onemrva-mat-choice-chip formControlName=\"pepperoni\" [readonly]=\"readonly()\">\n Pepperoni\n </onemrva-mat-choice-chip>\n\n <onemrva-mat-choice-chip\n formControlName=\"extracheese\"\n [readonly]=\"readonly()\"\n >\n Extra Cheese\n </onemrva-mat-choice-chip>\n\n <onemrva-mat-choice-chip formControlName=\"mushroom\" [readonly]=\"readonly()\">\n Mushroom\n </onemrva-mat-choice-chip>\n</div>\n"
|
|
1267
1325
|
},
|
|
1268
1326
|
{
|
|
1269
1327
|
"name": "mat-copy-to-clipboard",
|
|
@@ -1271,37 +1329,38 @@
|
|
|
1271
1329
|
"className": "OnemrvaCopyToClipboardComponent",
|
|
1272
1330
|
"category": "Material Components",
|
|
1273
1331
|
"path": "mat-copy-to-clipboard/src/components/copy-to-clipboard.component.ts",
|
|
1274
|
-
"description": "Button that copies a value or element text to the clipboard.
|
|
1332
|
+
"description": "Button that copies a value or element text to the clipboard.",
|
|
1275
1333
|
"inputs": [
|
|
1276
1334
|
{
|
|
1277
1335
|
"name": "tooltip",
|
|
1278
1336
|
"type": "string",
|
|
1279
|
-
"description": "
|
|
1337
|
+
"description": "Translation key of the tooltip shown for 2s after copying; defaults to 'copied.to.clipboard'.",
|
|
1280
1338
|
"defaultValue": "''",
|
|
1281
1339
|
"required": false,
|
|
1282
|
-
"examples": []
|
|
1340
|
+
"examples": [],
|
|
1341
|
+
"rendered": false
|
|
1283
1342
|
}
|
|
1284
1343
|
],
|
|
1285
1344
|
"outputs": [
|
|
1286
1345
|
{
|
|
1287
1346
|
"name": "onCopy",
|
|
1288
1347
|
"type": "OutputEmitter<void>",
|
|
1289
|
-
"description": "
|
|
1348
|
+
"description": "Emits after the copy icon is clicked and the projected content's innerHTML is copied."
|
|
1290
1349
|
},
|
|
1291
1350
|
{
|
|
1292
1351
|
"name": "onClick",
|
|
1293
1352
|
"type": "OutputEmitter<Event>",
|
|
1294
|
-
"description": "
|
|
1353
|
+
"description": "Emits the mouse event on any click on the component."
|
|
1295
1354
|
},
|
|
1296
1355
|
{
|
|
1297
1356
|
"name": "onHover",
|
|
1298
1357
|
"type": "OutputEmitter<Event>",
|
|
1299
|
-
"description": "
|
|
1358
|
+
"description": "Emits the mouseenter event when the pointer enters the component."
|
|
1300
1359
|
},
|
|
1301
1360
|
{
|
|
1302
1361
|
"name": "onLeave",
|
|
1303
1362
|
"type": "OutputEmitter<Event>",
|
|
1304
|
-
"description": "
|
|
1363
|
+
"description": "Emits the mouseleave event when the pointer leaves the component."
|
|
1305
1364
|
}
|
|
1306
1365
|
],
|
|
1307
1366
|
"methods": [],
|
|
@@ -1338,23 +1397,25 @@
|
|
|
1338
1397
|
"className": "OnemrvaCountryItemComponent",
|
|
1339
1398
|
"category": "Material Components",
|
|
1340
1399
|
"path": "mat-country-item/src/onemrva-mat-country-item.component.ts",
|
|
1341
|
-
"description": "Single country option displaying flag and translated name.
|
|
1400
|
+
"description": "Single country option displaying flag and translated name.",
|
|
1342
1401
|
"inputs": [
|
|
1343
1402
|
{
|
|
1344
1403
|
"name": "countryCode",
|
|
1345
1404
|
"type": "string | null",
|
|
1346
|
-
"description": "
|
|
1405
|
+
"description": "Country code of the item; currently not rendered by the component.",
|
|
1347
1406
|
"defaultValue": "'xx'",
|
|
1348
1407
|
"required": false,
|
|
1349
|
-
"examples": []
|
|
1408
|
+
"examples": [],
|
|
1409
|
+
"rendered": false
|
|
1350
1410
|
},
|
|
1351
1411
|
{
|
|
1352
1412
|
"name": "countryName",
|
|
1353
1413
|
"type": "string | null | undefined",
|
|
1354
|
-
"description": "
|
|
1414
|
+
"description": "Country name displayed as the item text.",
|
|
1355
1415
|
"defaultValue": "''",
|
|
1356
1416
|
"required": false,
|
|
1357
|
-
"examples": []
|
|
1417
|
+
"examples": [],
|
|
1418
|
+
"rendered": true
|
|
1358
1419
|
}
|
|
1359
1420
|
],
|
|
1360
1421
|
"outputs": [],
|
|
@@ -1427,38 +1488,41 @@
|
|
|
1427
1488
|
"className": "OnemrvaMatEmptyRowComponent",
|
|
1428
1489
|
"category": "Material Components",
|
|
1429
1490
|
"path": "mat-empty-row/src/onemrva-mat-empty-row.component.ts",
|
|
1430
|
-
"description": "Empty-state placeholder with illustration and optional action button.
|
|
1491
|
+
"description": "Empty-state placeholder with illustration and optional action button.",
|
|
1431
1492
|
"inputs": [
|
|
1432
1493
|
{
|
|
1433
1494
|
"name": "buttonText",
|
|
1434
1495
|
"type": "string | undefined",
|
|
1435
|
-
"description": "
|
|
1496
|
+
"description": "Action button label, defaults to translated 'Reset filters'; an empty value hides the button.",
|
|
1436
1497
|
"defaultValue": "this.translate.instant('Reset filters'",
|
|
1437
1498
|
"required": false,
|
|
1438
|
-
"examples": []
|
|
1499
|
+
"examples": [],
|
|
1500
|
+
"rendered": true
|
|
1439
1501
|
},
|
|
1440
1502
|
{
|
|
1441
1503
|
"name": "text",
|
|
1442
1504
|
"type": "string",
|
|
1443
|
-
"description": "
|
|
1505
|
+
"description": "Message shown under the illustration; defaults to a translated \"no results\" message.",
|
|
1444
1506
|
"defaultValue": "this.translate.instant('Sorry, there is no results for this search.'",
|
|
1445
1507
|
"required": false,
|
|
1446
|
-
"examples": []
|
|
1508
|
+
"examples": [],
|
|
1509
|
+
"rendered": true
|
|
1447
1510
|
},
|
|
1448
1511
|
{
|
|
1449
1512
|
"name": "imageAlt",
|
|
1450
1513
|
"type": "string",
|
|
1451
|
-
"description": "
|
|
1514
|
+
"description": "Alt text of the illustration; defaults to translated 'Ori is wordless'.",
|
|
1452
1515
|
"defaultValue": "this.translate.instant('Ori is wordless'",
|
|
1453
1516
|
"required": false,
|
|
1454
|
-
"examples": []
|
|
1517
|
+
"examples": [],
|
|
1518
|
+
"rendered": true
|
|
1455
1519
|
}
|
|
1456
1520
|
],
|
|
1457
1521
|
"outputs": [
|
|
1458
1522
|
{
|
|
1459
1523
|
"name": "clear",
|
|
1460
1524
|
"type": "OutputEmitter<any>",
|
|
1461
|
-
"description": "
|
|
1525
|
+
"description": "Emits `undefined` when the action button is clicked."
|
|
1462
1526
|
}
|
|
1463
1527
|
],
|
|
1464
1528
|
"methods": [],
|
|
@@ -1487,7 +1551,8 @@
|
|
|
1487
1551
|
"table"
|
|
1488
1552
|
],
|
|
1489
1553
|
"group": "Data",
|
|
1490
|
-
"themes": []
|
|
1554
|
+
"themes": [],
|
|
1555
|
+
"demoCode": "<h1>Table</h1>\n<mat-form-field class=\"search\">\n <mat-label>Search</mat-label>\n <input matInput [formControl]=\"search\" />\n @if (search.getRawValue()) {\n <button matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"clear()\">\n <mat-icon>close</mat-icon>\n </button>\n }\n</mat-form-field>\n<p><a tabindex=\"0\" (click)=\"showHideColumns()\">Hide/Show column</a></p>\n<table\n mat-table\n class=\"full-width-table multi-table-row-header\"\n matSort\n aria-label=\"Elements\"\n>\n <tr mat-header-row *matHeaderRowDef=\"allColumns\"></tr>\n <tr mat-header-row class=\"compact\" *matHeaderRowDef=\"['delay', 'days']\"></tr>\n\n <!-- Notice Row -->\n <tr\n mat-header-row\n class=\"onemrva-notice-row\"\n [class]=\"showNotice() ? '' : 'hidden'\"\n *matHeaderRowDef=\"showNotice() ? ['notice'] : []\"\n ></tr>\n @if (showNotice()) {\n <ng-container matColumnDef=\"notice\">\n <th *matHeaderCellDef colspan=\"7\">\n You have selected {{ checkboxes.length }} items. \n @if (checkboxes.length < paginator.length) {\n <a tabindex=\"0\" (click)=\"selectAll()\"\n >Select {{ paginator.length }} items</a\n > \n }\n @if (checkboxes.length >= 0) {\n <a tabindex=\"0\" (click)=\"deSelectAll()\"\n >Deselect {{ checkboxes.length }} items</a\n >\n }\n </th>\n </ng-container>\n }\n <!-- Notice Row -->\n\n <tr mat-row *matRowDef=\"let _; columns: allSubColumns\"></tr>\n\n <tr *matNoDataRow class=\"noresult\">\n <td colspan=\"7\">\n <onemrva-mat-empty-row (clear)=\"clear()\" />\n </td>\n </tr>\n\n <!-- checkbox Column -->\n <ng-container matColumnDef=\"check\">\n <th mat-header-cell *matHeaderCellDef [attr.rowspan]=\"2\">\n <div>\n <mat-checkbox\n aria-label=\"Check All\"\n value=\"toggleAll\"\n [checked]=\"checked\"\n [indeterminate]=\"undetermined\"\n (change)=\"toggleAllVisible($event)\"\n />\n </div>\n </th>\n <td mat-cell *matCellDef=\"let row\">\n <mat-checkbox\n #checkboxes\n aria-label=\"Check row {{ row.id }}\"\n [value]=\"row.id\"\n [checked]=\"isChecked(row.id)\"\n (change)=\"toggleOne($event, row.id)\"\n />\n </td>\n </ng-container>\n\n <!-- Id Column -->\n @if (columnIsVisible('id')) {\n <ng-container matColumnDef=\"id\" sticky>\n <th\n mat-header-cell\n class=\"compact\"\n *matHeaderCellDef\n mat-sort-header\n [attr.rowspan]=\"2\"\n >\n Id\n </th>\n <td mat-cell class=\"compact\" *matCellDef=\"let row\">\n {{ row.id }}\n </td>\n </ng-container>\n }\n\n <!-- Name Column -->\n @if (columnIsVisible('name')) {\n <ng-container matColumnDef=\"name\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header [attr.rowspan]=\"2\">\n Name\n </th>\n <td id=\"{{ row.name }}\" mat-cell *matCellDef=\"let row\">\n <a href=\"/#table\">{{ row.name }}</a>\n </td>\n </ng-container>\n }\n\n <!-- Description Column -->\n @if (columnIsVisible('description')) {\n <ng-container matColumnDef=\"description\">\n <th\n mat-header-cell\n *matHeaderCellDef\n mat-sort-header=\"description\"\n [attr.rowspan]=\"2\"\n class=\"d-table-cell-large description-cell\"\n >\n Description\n </th>\n <td\n mat-cell\n *matCellDef=\"let row\"\n class=\"d-table-cell-large description-cell\"\n >\n <span></span>\n {{ row.description }}\n </td></ng-container\n >\n }\n @if (columnIsVisible('suspension')) {\n <!-- Suspension Column -->\n <ng-container matColumnDef=\"suspension\">\n <th\n mat-header-cell\n *matHeaderCellDef\n [attr.colspan]=\"2\"\n class=\"align-center compact table__border-left table__border-right\"\n >\n Suspension\n </th>\n <!-- This column doesn't generate <td> items, so no need to add a definition for them -->\n </ng-container>\n }\n\n @if (subColumnIsVisible('delay')) {\n <!-- Delay Column -->\n <ng-container matColumnDef=\"delay\">\n <th\n mat-header-cell\n *matHeaderCellDef\n class=\"compact align-center table__border-left\"\n >\n Delay\n </th>\n <td mat-cell *matCellDef=\"let _\" class=\"align-center table__border-left\">\n 1\n </td>\n </ng-container>\n }\n\n @if (subColumnIsVisible('days')) {\n <!-- Days Column -->\n <ng-container matColumnDef=\"days\">\n <th\n mat-header-cell\n *matHeaderCellDef\n class=\"compact align-center table__border-right\"\n >\n Days\n </th>\n <td mat-cell *matCellDef=\"let _\" class=\"align-center table__border-right\">\n 2\n </td>\n </ng-container>\n }\n\n @if (columnIsVisible('more')) {\n <!-- Menu Column -->\n <ng-container matColumnDef=\"more\">\n <th mat-header-cell class=\"compact\" *matHeaderCellDef [attr.rowspan]=\"2\">\n Menu\n </th>\n <td mat-cell class=\"compact align-right\" *matCellDef=\"let row\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" aria-label=\"More\">\n <mat-icon>more_vert</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"edit(row)\" aria-label=\"Edit\">\n <mat-icon>edit</mat-icon>\n Edit\n </button>\n <button mat-menu-item (click)=\"delete(row)\" aria-label=\"Delete\">\n <mat-icon>delete</mat-icon>\n Delete\n </button>\n <button mat-menu-item (click)=\"share(row)\" aria-label=\"Share\">\n <mat-icon>share</mat-icon>\n Share\n </button>\n </mat-menu>\n </td>\n </ng-container>\n }\n</table>\n<div class=\"my-m\">\n <onemrva-mat-paginator\n [pageSizeSelector]=\"true\"\n [pageSizeOptions]=\"[5, 10, 20, 50]\"\n [pageSizeDefaultOption]=\"5\"\n [pageSize]=\"5\"\n previousKey=\"Previous\"\n nextKey=\"Next\"\n (page)=\"changePage($event)\"\n #paginator\n />\n</div>\n\n<h2>Expandable row</h2>\n<p>\n A row can expand to reveal its own sub-rows. Several rows can be open at the\n same time, so two payments can be compared side by side. A row without\n sub-rows has no toggle to press and no detail row of its own.\n</p>\n<p>\n <button\n mat-button\n type=\"button\"\n aria-label=\"Collapse all expanded rows\"\n [disabled]=\"expandedCount() === 0\"\n (click)=\"collapseAll()\"\n >\n Collapse all ({{ expandedCount() }})\n </button>\n</p>\n\n<!--\n The table is kept a real `display: table` (see the .scss) and scrolls from\n this wrapper on narrow screens instead of from the table element itself.\n-->\n<div class=\"demo-expandable-table-scroll\">\n <table\n mat-table\n multiTemplateDataRows\n class=\"full-width-table demo-expandable-table\"\n aria-label=\"Benefit payments per beneficiary\"\n [dataSource]=\"benefitRows\"\n >\n <tr mat-header-row *matHeaderRowDef=\"benefitColumns\"></tr>\n\n <!--\n Data row. The stripe comes from `dataIndex` and not from the row's position\n in the DOM, because the detail rows shift that position — see the .scss.\n -->\n <tr\n mat-row\n *matRowDef=\"let row; columns: benefitColumns; let i = dataIndex\"\n class=\"demo-expandable-row\"\n [class.demo-expandable-row--striped]=\"i % 2 === 0\"\n [class.demo-expandable-row--open]=\"isExpanded(row.id)\"\n [class.demo-expandable-row--error-row]=\"hasRowError(row.id)\"\n ></tr>\n\n <!--\n Detail row. Rendered only for rows that actually have sub-rows — `when:`\n keeps an empty detail row out of the DOM entirely instead of rendering a\n blank one. For rows that do have sub-rows it stays rendered while closed,\n so its wrapper has something to run the open/close transition on; the .scss\n collapses it to zero height.\n -->\n <tr\n mat-row\n *matRowDef=\"let row; columns: detailColumns; when: hasDetailRow\"\n class=\"demo-expandable-detail-row\"\n [attr.id]=\"detailRowId(row.id)\"\n ></tr>\n\n <!-- Expand toggle Column -->\n <ng-container matColumnDef=\"expand\">\n <th mat-header-cell *matHeaderCellDef class=\"demo-expandable-toggle-cell\">\n Details\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"demo-expandable-toggle-cell\">\n <!-- A row without sub-rows has nothing to reveal, so it gets no toggle. -->\n @if (hasDetails(row)) {\n <onemrva-expandable-table-icon\n [isExpanded]=\"isExpanded(row.id)\"\n [detailRowId]=\"detailRowId(row.id)\"\n (expandedChange)=\"toggleExpanded(row.id)\"\n />\n }\n </td>\n </ng-container>\n\n <!-- Id Column -->\n <ng-container matColumnDef=\"id\">\n <th mat-header-cell *matHeaderCellDef class=\"compact\">Id</th>\n <td mat-cell *matCellDef=\"let row\" class=\"compact\">\n <span class=\"text-only-cell\">{{ row.id }}</span>\n </td>\n </ng-container>\n\n <!-- Name Column -->\n <ng-container matColumnDef=\"name\">\n <th mat-header-cell *matHeaderCellDef>Beneficiary</th>\n <td mat-cell *matCellDef=\"let row\">{{ row.name }}</td>\n </ng-container>\n\n <!-- Office Column -->\n <ng-container matColumnDef=\"office\">\n <th mat-header-cell *matHeaderCellDef>Office</th>\n <td mat-cell *matCellDef=\"let row\">{{ row.office }}</td>\n </ng-container>\n\n <!-- Period Column -->\n <ng-container matColumnDef=\"period\">\n <th mat-header-cell *matHeaderCellDef>Period</th>\n <td mat-cell *matCellDef=\"let row\">{{ row.period }}</td>\n </ng-container>\n\n <!-- Total Column -->\n <ng-container matColumnDef=\"total\">\n <th mat-header-cell *matHeaderCellDef class=\"align-right\">Total</th>\n <td mat-cell *matCellDef=\"let row\" class=\"align-right\">\n {{ row.total }}\n </td>\n </ng-container>\n\n <!--\n Detail Column. A plain grid of divs rather than `onemrva-mat-panel` (its\n chrome is wrong inside a row) or a nested `mat-table`.\n -->\n <ng-container matColumnDef=\"detail\">\n <td\n mat-cell\n *matCellDef=\"let row\"\n class=\"demo-expandable-detail-cell\"\n [class.demo-expandable-detail-cell--open]=\"isExpanded(row.id)\"\n [attr.colspan]=\"benefitColumns.length\"\n >\n <div class=\"demo-expandable-detail\">\n <div class=\"demo-expandable-detail__inner\">\n <div\n class=\"demo-expandable-detail__grid\"\n role=\"table\"\n [attr.aria-hidden]=\"isExpanded(row.id) ? null : 'true'\"\n [attr.aria-label]=\"'Payment details of ' + row.name\"\n >\n <div class=\"demo-expandable-detail__row\" role=\"row\">\n <div class=\"demo-expandable-detail__header\" role=\"columnheader\">\n Code\n </div>\n <div class=\"demo-expandable-detail__header\" role=\"columnheader\">\n Benefit\n </div>\n <div\n class=\"demo-expandable-detail__header demo-expandable-detail__numeric\"\n role=\"columnheader\"\n >\n Days\n </div>\n <div\n class=\"demo-expandable-detail__header demo-expandable-detail__numeric\"\n role=\"columnheader\"\n >\n Amount\n </div>\n </div>\n @for (detail of detailsFor(row.id); track detail.code) {\n <div class=\"demo-expandable-detail__row\" role=\"row\">\n <div role=\"cell\">{{ detail.code }}</div>\n <div role=\"cell\">{{ detail.label }}</div>\n <div class=\"demo-expandable-detail__numeric\" role=\"cell\">\n {{ detail.days }}\n </div>\n <div class=\"demo-expandable-detail__numeric\" role=\"cell\">\n {{ detail.amount }}\n </div>\n </div>\n }\n </div>\n </div>\n </div>\n </td>\n </ng-container>\n </table>\n</div>\n\n<h2>Expandable row with real rows</h2>\n<p>\n The same toggle, but the sub-rows are real table rows instead of a grid inside\n one wide detail cell, so they sit in the table's own columns. A parent and its\n sub-rows share one stripe and one bottom border, so the group reads as a\n block, and the stripe alternates per parent whether or not any row is open.\n</p>\n<p>\n <button\n mat-button\n type=\"button\"\n aria-label=\"Collapse all expanded rows\"\n [disabled]=\"treeExpandedCount() === 0\"\n (click)=\"collapseAllTree()\"\n >\n Collapse all ({{ treeExpandedCount() }})\n </button>\n</p>\n\n<div class=\"demo-expandable-table-scroll\">\n <table\n mat-table\n class=\"full-width-table demo-tree-table\"\n aria-label=\"Benefit payments per beneficiary, with sub-rows\"\n [dataSource]=\"treeRows()\"\n [trackBy]=\"treeTrackBy\"\n >\n <tr mat-header-row *matHeaderRowDef=\"treeColumns\"></tr>\n\n <!--\n Parent row. The stripe comes from `groupIndex` rather than from the row's\n position in the DOM, because the sub-rows shift that position — see the\n .scss. `lastInGroup` is false while the row is open, which hands the\n group's bottom border to its last sub-row.\n\n No `aria-expanded` on the row itself: on a `role=\"row\"` that attribute is\n only defined inside a `treegrid`, and this is a plain table, so it is\n invalid here (axe `aria-conditional-attr`). Making the table a real\n treegrid would mean owning full grid keyboard navigation, which is not\n what this example is about. The expanded state is already on the toggle\n button inside the row — `onemrva-expandable-table-icon` sets\n `aria-expanded` and `aria-controls` on its own button — which is the\n ordinary disclosure pattern and what the detail-row example above does too.\n -->\n <tr\n mat-row\n *matRowDef=\"let entry; columns: treeColumns\"\n class=\"demo-tree-row\"\n [class.demo-tree-row--striped]=\"entry.groupIndex % 2 === 0\"\n [class.demo-tree-row--grouped]=\"!entry.lastInGroup\"\n ></tr>\n\n <!-- Sub-row. Rendered only while its parent is open; `treeRows()` decides. -->\n <tr\n mat-row\n *matRowDef=\"let entry; columns: treeDetailColumns; when: isTreeChildRow\"\n class=\"demo-tree-row demo-tree-row--child\"\n [class.demo-tree-row--striped]=\"entry.groupIndex % 2 === 0\"\n [class.demo-tree-row--grouped]=\"!entry.lastInGroup\"\n [attr.id]=\"treeChildRowId(entry.parent.id, entry.detail.code)\"\n ></tr>\n\n <!-- Parent columns -->\n <ng-container matColumnDef=\"tree-id\">\n <th mat-header-cell *matHeaderCellDef class=\"compact\">Id</th>\n <td mat-cell *matCellDef=\"let entry\" class=\"compact\">\n {{ entry.row.id }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-name\">\n <th mat-header-cell *matHeaderCellDef>Beneficiary</th>\n <td mat-cell *matCellDef=\"let entry\">{{ entry.row.name }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-office\">\n <th mat-header-cell *matHeaderCellDef>Office</th>\n <td mat-cell *matCellDef=\"let entry\">{{ entry.row.office }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-period\">\n <th mat-header-cell *matHeaderCellDef>Period</th>\n <td mat-cell *matCellDef=\"let entry\">{{ entry.row.period }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-total\">\n <th mat-header-cell *matHeaderCellDef class=\"align-right\">Total</th>\n <td mat-cell *matCellDef=\"let entry\" class=\"align-right\">\n {{ entry.row.total }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-expand\">\n <th mat-header-cell *matHeaderCellDef class=\"demo-tree-toggle-cell\">\n Details\n </th>\n <td mat-cell *matCellDef=\"let entry\" class=\"demo-tree-toggle-cell\">\n <!-- A row without sub-rows has nothing to reveal, so it gets no toggle. -->\n @if (hasDetails(entry.row)) {\n <onemrva-expandable-table-icon\n [isExpanded]=\"isTreeExpanded(entry.row.id)\"\n [detailRowId]=\"treeChildRowIds(entry.row.id)\"\n (expandedChange)=\"toggleTreeExpanded(entry.row.id)\"\n />\n }\n </td>\n </ng-container>\n\n <!--\n Sub-row columns. One per parent column so the cells line up; the code\n takes the Id column, the days take the Period column (they are a\n subdivision of that period) and the Office and Details columns stay empty.\n -->\n <ng-container matColumnDef=\"tree-detail-code\">\n <td mat-cell *matCellDef=\"let entry\" class=\"compact demo-tree-child-cell\">\n {{ entry.detail.code }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-detail-label\">\n <td mat-cell *matCellDef=\"let entry\">{{ entry.detail.label }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-detail-office\">\n <td mat-cell *matCellDef=\"let _\"></td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-detail-days\">\n <td mat-cell *matCellDef=\"let entry\">{{ entry.detail.days }} days</td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-detail-amount\">\n <td mat-cell *matCellDef=\"let entry\" class=\"align-right\">\n {{ entry.detail.amount }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tree-detail-expand\">\n <td mat-cell *matCellDef=\"let _\" class=\"demo-tree-toggle-cell\"></td>\n </ng-container>\n </table>\n</div>\n\n<h2>Inline row editing</h2>\n<p>\n The pen switches one row into edit mode. Only some columns become editable —\n <em>Id</em> is the row's identity and <em>Period</em> comes from the payment\n run, so both keep rendering their value while the rest of the row is a form.\n</p>\n<p>\n Several rows can be open at once. Each one owns its own form, so validity,\n dirtiness and cancel are row-scoped and cancelling one row leaves the others\n untouched. Saving writes to the local signal only — a real screen would call a\n service and handle the failure path — and a dirty row is discarded without\n confirmation, which a real screen would also ask about first.\n</p>\n<p>\n Validation is surfaced on save, not on every keystroke. A row that fails gets\n <code>demo-inline-edit-row--error</code> on the <code><tr></code> as\n well as the per-field <code>mat-error</code>s: an error message makes one cell\n taller than the rest, so the whole row switches to\n <code>vertical-align: top</code> and the cells that have nothing to report\n stay lined up with the ones that do.\n</p>\n\n<!--\n Bulk bar. Mirrors the notice row of the first table, but sits outside the\n table: it acts on rows across the whole page, not on one of them.\n-->\n@if (editingCount() > 0) {\n <p class=\"demo-inline-edit-bar\">\n {{ editingCount() }} row(s) in edit mode. \n <button\n mat-button\n type=\"button\"\n aria-label=\"Save every row in edit mode\"\n (click)=\"saveAll()\"\n >\n Save all\n </button>\n <button\n mat-button\n type=\"button\"\n aria-label=\"Discard every row in edit mode\"\n (click)=\"cancelAll()\"\n >\n Discard all\n </button>\n </p>\n}\n\n<div class=\"demo-inline-edit-table-scroll\">\n <table\n mat-table\n class=\"full-width-table demo-inline-edit-table\"\n [dataSource]=\"inlineRows()\"\n aria-label=\"Benefits, editable in place\"\n >\n <tr mat-header-row *matHeaderRowDef=\"inlineColumns\"></tr>\n <tr\n mat-row\n *matRowDef=\"let row; columns: inlineColumns\"\n class=\"demo-inline-edit-row\"\n [class.demo-inline-edit-row--editing]=\"isEditing(row.id)\"\n [class.demo-inline-edit-row--error]=\"hasRowError(row.id)\"\n (keydown.enter)=\"isEditing(row.id) && saveEdit(row.id)\"\n (keydown.escape)=\"cancelEdit(row.id)\"\n ></tr>\n\n <!-- Id Column — read-only in both modes. -->\n <ng-container matColumnDef=\"inline-id\">\n <th mat-header-cell *matHeaderCellDef class=\"compact\">Id</th>\n <td mat-cell *matCellDef=\"let row\" class=\"compact\">{{ row.id }}</td>\n </ng-container>\n\n <!-- Name Column — editable text. -->\n <ng-container matColumnDef=\"inline-name\">\n <th mat-header-cell *matHeaderCellDef>Beneficiary</th>\n <td mat-cell *matCellDef=\"let row\" class=\"demo-inline-edit-cell\">\n @if (isEditing(row.id)) {\n <mat-form-field subscriptSizing=\"dynamic\">\n <input\n matInput\n [id]=\"firstControlId(row.id)\"\n [formControl]=\"formFor(row.id).controls.name\"\n [attr.aria-label]=\"'Beneficiary of row ' + row.id\"\n />\n @if (formFor(row.id).controls.name.hasError('required')) {\n <mat-error>Beneficiary is required</mat-error>\n }\n @if (formFor(row.id).controls.name.hasError('maxlength')) {\n <mat-error>60 characters at most</mat-error>\n }\n </mat-form-field>\n } @else {\n {{ row.name }}\n }\n </td>\n </ng-container>\n\n <!-- Office Column — editable select over a fixed list. -->\n <ng-container matColumnDef=\"inline-office\">\n <th mat-header-cell *matHeaderCellDef>Office</th>\n <td mat-cell *matCellDef=\"let row\" class=\"demo-inline-edit-cell\">\n @if (isEditing(row.id)) {\n <mat-form-field subscriptSizing=\"dynamic\">\n <mat-select\n [formControl]=\"formFor(row.id).controls.office\"\n [attr.aria-label]=\"'Office of row ' + row.id\"\n >\n @for (office of offices; track office) {\n <mat-option [value]=\"office\">{{ office }}</mat-option>\n }\n </mat-select>\n @if (formFor(row.id).controls.office.hasError('required')) {\n <mat-error>Office is required</mat-error>\n }\n </mat-form-field>\n } @else {\n {{ row.office }}\n }\n </td>\n </ng-container>\n\n <!-- Period Column — read-only for a business reason, not a technical one. -->\n <ng-container matColumnDef=\"inline-period\">\n <th mat-header-cell *matHeaderCellDef>Period</th>\n <td mat-cell *matCellDef=\"let row\">{{ row.period }}</td>\n </ng-container>\n\n <!--\n Payment date Column — editable through the house datepicker.\n\n Same wiring as the datepicker demo: `onemrvaDateFormat` for the DD/MM/YYYY\n mask, the toggle as a suffix, and `[calendarHeaderComponent]`. The overlay\n the calendar opens in is a CDK overlay outside this row, so its own Escape\n (close the calendar) never reaches the row's Escape (cancel the edit).\n -->\n <ng-container matColumnDef=\"inline-paid-on\">\n <th mat-header-cell *matHeaderCellDef>Paid on</th>\n <td mat-cell *matCellDef=\"let row\" class=\"demo-inline-edit-cell\">\n @if (isEditing(row.id)) {\n <mat-form-field subscriptSizing=\"dynamic\">\n <input\n onemrvaDateFormat\n matInput\n [matDatepicker]=\"paidOnPicker\"\n [max]=\"today\"\n [formControl]=\"formFor(row.id).controls.paidOn\"\n [attr.aria-label]=\"'Payment date of row ' + row.id\"\n />\n <mat-datepicker-toggle matSuffix [for]=\"paidOnPicker\" />\n <mat-datepicker\n #paidOnPicker\n [calendarHeaderComponent]=\"OnemrvaMatDatepickerHeaderComponent\"\n />\n @if (formFor(row.id).controls.paidOn.hasError('required')) {\n <mat-error>Payment date is required</mat-error>\n }\n @if (\n formFor(row.id).controls.paidOn.hasError('matDatepickerParse')\n ) {\n <mat-error>Use DD/MM/YYYY</mat-error>\n }\n @if (formFor(row.id).controls.paidOn.hasError('matDatepickerMax')) {\n <mat-error>Cannot be in the future</mat-error>\n }\n </mat-form-field>\n } @else {\n {{ row.paidOn | date: 'dd/MM/yyyy' }}\n }\n </td>\n </ng-container>\n\n <!-- Total Column — editable number, right-aligned in both modes. -->\n <ng-container matColumnDef=\"inline-total\">\n <th mat-header-cell *matHeaderCellDef class=\"align-right\">Total</th>\n <td\n mat-cell\n *matCellDef=\"let row\"\n class=\"align-right demo-inline-edit-cell\"\n >\n @if (isEditing(row.id)) {\n <mat-form-field subscriptSizing=\"dynamic\">\n <input\n matInput\n type=\"number\"\n step=\"0.01\"\n [formControl]=\"formFor(row.id).controls.total\"\n [attr.aria-label]=\"'Total of row ' + row.id\"\n />\n @if (formFor(row.id).controls.total.hasError('required')) {\n <mat-error>Total is required</mat-error>\n }\n @if (formFor(row.id).controls.total.hasError('min')) {\n <mat-error>Cannot be negative</mat-error>\n }\n </mat-form-field>\n } @else {\n {{ row.total | currency: 'EUR' }}\n }\n </td>\n </ng-container>\n\n <!-- Actions Column — the mode switch itself. -->\n <ng-container matColumnDef=\"inline-actions\">\n <th mat-header-cell *matHeaderCellDef class=\"demo-inline-edit-actions\">\n Actions\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"demo-inline-edit-actions\">\n @if (isEditing(row.id)) {\n <button\n mat-icon-button\n type=\"button\"\n [attr.aria-label]=\"'Save changes to ' + row.name\"\n (click)=\"saveEdit(row.id)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n [attr.aria-label]=\"'Discard changes to ' + row.name\"\n (click)=\"cancelEdit(row.id)\"\n >\n <mat-icon>close</mat-icon>\n </button>\n } @else {\n <!--\n A locked row keeps a disabled button rather than no button at all,\n so the tooltip stays reachable and the cell keeps its width.\n -->\n <button\n mat-icon-button\n type=\"button\"\n [id]=\"editButtonId(row.id)\"\n [disabled]=\"row.locked\"\n [matTooltip]=\"\n row.locked ? 'Already paid out — no longer editable' : 'Edit row'\n \"\n [attr.aria-label]=\"'Edit ' + row.name\"\n (click)=\"startEdit(row)\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n }\n </td>\n </ng-container>\n </table>\n</div>\n"
|
|
1491
1556
|
},
|
|
1492
1557
|
{
|
|
1493
1558
|
"name": "mat-file-upload",
|
|
@@ -1495,77 +1560,85 @@
|
|
|
1495
1560
|
"className": "OnemrvaFilePanelComponent",
|
|
1496
1561
|
"category": "Material Components",
|
|
1497
1562
|
"path": "mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.ts",
|
|
1498
|
-
"description": "Single file row showing upload progress, name, and actions.
|
|
1563
|
+
"description": "Single file row showing upload progress, name, and actions.",
|
|
1499
1564
|
"inputs": [
|
|
1500
1565
|
{
|
|
1501
1566
|
"name": "dataCy",
|
|
1502
1567
|
"type": "string",
|
|
1503
|
-
"description": "
|
|
1568
|
+
"description": "Sets `data-cy` on the host and the title row; defaults to `onemrva-file-panel-N`.",
|
|
1504
1569
|
"defaultValue": "'onemrva-file-panel-' + NEXT_ID",
|
|
1505
1570
|
"required": false,
|
|
1506
|
-
"examples": []
|
|
1571
|
+
"examples": [],
|
|
1572
|
+
"rendered": true
|
|
1507
1573
|
},
|
|
1508
1574
|
{
|
|
1509
1575
|
"name": "file",
|
|
1510
1576
|
"type": "ReferencedProgressFile",
|
|
1511
|
-
"description": "
|
|
1577
|
+
"description": "File to display: name, size, progress, color state and message.",
|
|
1512
1578
|
"required": true,
|
|
1513
|
-
"examples": []
|
|
1579
|
+
"examples": [],
|
|
1580
|
+
"rendered": true
|
|
1514
1581
|
},
|
|
1515
1582
|
{
|
|
1516
1583
|
"name": "actions",
|
|
1517
1584
|
"type": "ActionConfig[]",
|
|
1518
|
-
"description": "
|
|
1585
|
+
"description": "Icon buttons shown next to the file name; each calls its `clickHandler` with the file. Hidden when disabled.",
|
|
1519
1586
|
"defaultValue": "[]",
|
|
1520
1587
|
"required": false,
|
|
1521
|
-
"examples": []
|
|
1588
|
+
"examples": [],
|
|
1589
|
+
"rendered": false
|
|
1522
1590
|
},
|
|
1523
1591
|
{
|
|
1524
1592
|
"name": "displayDate",
|
|
1525
1593
|
"type": "string | undefined",
|
|
1526
|
-
"description": "
|
|
1594
|
+
"description": "Text shown under the name next to the file size; when unset, the file's translated message is shown instead.",
|
|
1527
1595
|
"defaultValue": "undefined",
|
|
1528
1596
|
"required": false,
|
|
1529
|
-
"examples": []
|
|
1597
|
+
"examples": [],
|
|
1598
|
+
"rendered": true
|
|
1530
1599
|
},
|
|
1531
1600
|
{
|
|
1532
1601
|
"name": "id",
|
|
1533
1602
|
"type": "any",
|
|
1534
|
-
"description": "
|
|
1603
|
+
"description": "Sets the host `id` attribute; defaults to an auto-generated `onemrva-file-panel-N`.",
|
|
1535
1604
|
"defaultValue": "`onemrva-file-panel-${NEXT_ID++}`",
|
|
1536
1605
|
"required": false,
|
|
1537
|
-
"examples": []
|
|
1606
|
+
"examples": [],
|
|
1607
|
+
"rendered": false
|
|
1538
1608
|
},
|
|
1539
1609
|
{
|
|
1540
1610
|
"name": "showProgress",
|
|
1541
1611
|
"type": "boolean",
|
|
1542
|
-
"description": "
|
|
1612
|
+
"description": "Shows the progress bar when `displayDate` is set and the file has `enableProgressBar`.",
|
|
1543
1613
|
"defaultValue": "true",
|
|
1544
1614
|
"required": false,
|
|
1545
|
-
"examples": []
|
|
1615
|
+
"examples": [],
|
|
1616
|
+
"rendered": true
|
|
1546
1617
|
},
|
|
1547
1618
|
{
|
|
1548
1619
|
"name": "maxFileSize",
|
|
1549
1620
|
"type": "number",
|
|
1550
|
-
"description": "
|
|
1621
|
+
"description": "Currently unused; the panel reads the file's own `maxSize`.",
|
|
1551
1622
|
"defaultValue": "0",
|
|
1552
1623
|
"required": false,
|
|
1553
|
-
"examples": []
|
|
1624
|
+
"examples": [],
|
|
1625
|
+
"rendered": false
|
|
1554
1626
|
},
|
|
1555
1627
|
{
|
|
1556
1628
|
"name": "disabled",
|
|
1557
1629
|
"type": "boolean",
|
|
1558
|
-
"description": "
|
|
1630
|
+
"description": "Disables the panel: hides the actions and stops `panelClick` from emitting.",
|
|
1559
1631
|
"defaultValue": "false",
|
|
1560
1632
|
"required": false,
|
|
1561
|
-
"examples": []
|
|
1633
|
+
"examples": [],
|
|
1634
|
+
"rendered": false
|
|
1562
1635
|
}
|
|
1563
1636
|
],
|
|
1564
1637
|
"outputs": [
|
|
1565
1638
|
{
|
|
1566
1639
|
"name": "panelClick",
|
|
1567
1640
|
"type": "OutputEmitter<ReferencedProgressFile>",
|
|
1568
|
-
"description": "
|
|
1641
|
+
"description": "Emits the file when the panel is clicked or activated with Enter/Space, unless disabled."
|
|
1569
1642
|
}
|
|
1570
1643
|
],
|
|
1571
1644
|
"methods": [],
|
|
@@ -1610,86 +1683,96 @@
|
|
|
1610
1683
|
"className": "OnemrvaMatFileUploadComponent",
|
|
1611
1684
|
"category": "Material Components",
|
|
1612
1685
|
"path": "mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.ts",
|
|
1613
|
-
"description": "Drag-and-drop file upload input with multi-file progress tracking.
|
|
1686
|
+
"description": "Drag-and-drop file upload input with multi-file progress tracking.",
|
|
1614
1687
|
"inputs": [
|
|
1615
1688
|
{
|
|
1616
1689
|
"name": "accept",
|
|
1617
1690
|
"type": "string[]",
|
|
1618
|
-
"description": "
|
|
1691
|
+
"description": "Allowed MIME types (e.g. `application/pdf`); other files are rejected. Empty allows any type.",
|
|
1619
1692
|
"defaultValue": "[]",
|
|
1620
1693
|
"required": false,
|
|
1621
|
-
"examples": []
|
|
1694
|
+
"examples": [],
|
|
1695
|
+
"rendered": true
|
|
1622
1696
|
},
|
|
1623
1697
|
{
|
|
1624
1698
|
"name": "initialFiles",
|
|
1625
1699
|
"type": "ProgressFile[]",
|
|
1626
|
-
"description": "
|
|
1700
|
+
"description": "Currently unused; has no effect.",
|
|
1627
1701
|
"defaultValue": "[]",
|
|
1628
1702
|
"required": false,
|
|
1629
|
-
"examples": []
|
|
1703
|
+
"examples": [],
|
|
1704
|
+
"rendered": false
|
|
1630
1705
|
},
|
|
1631
1706
|
{
|
|
1632
1707
|
"name": "hideExtensions",
|
|
1633
1708
|
"type": "string[]",
|
|
1634
|
-
"description": "
|
|
1709
|
+
"description": "Extensions (without dot) left out of the accepted-types hint built from `accept`.",
|
|
1635
1710
|
"defaultValue": "[]",
|
|
1636
1711
|
"required": false,
|
|
1637
|
-
"examples": []
|
|
1712
|
+
"examples": [],
|
|
1713
|
+
"rendered": false
|
|
1638
1714
|
},
|
|
1639
1715
|
{
|
|
1640
1716
|
"name": "filePanelTemplate",
|
|
1641
1717
|
"type": "TemplateRef<any>",
|
|
1642
|
-
"description": "
|
|
1718
|
+
"description": "Template rendered for each file in the list, with the file as `$implicit` and as `file`.",
|
|
1643
1719
|
"required": true,
|
|
1644
|
-
"examples": []
|
|
1720
|
+
"examples": [],
|
|
1721
|
+
"rendered": true
|
|
1645
1722
|
},
|
|
1646
1723
|
{
|
|
1647
1724
|
"name": "maxFileSize",
|
|
1648
1725
|
"type": "number",
|
|
1649
|
-
"description": "
|
|
1726
|
+
"description": "Maximum size per file in bytes; larger files are rejected. `0` means no limit.",
|
|
1650
1727
|
"defaultValue": "0",
|
|
1651
1728
|
"required": false,
|
|
1652
|
-
"examples": []
|
|
1729
|
+
"examples": [],
|
|
1730
|
+
"rendered": true
|
|
1653
1731
|
},
|
|
1654
1732
|
{
|
|
1655
1733
|
"name": "numberOfFiles",
|
|
1656
1734
|
"type": "number",
|
|
1657
|
-
"description": "
|
|
1735
|
+
"description": "Maximum number of files; extra files are refused and the drop prompt hides once reached. `0` means no limit.",
|
|
1658
1736
|
"defaultValue": "0",
|
|
1659
1737
|
"required": false,
|
|
1660
|
-
"examples": []
|
|
1738
|
+
"examples": [],
|
|
1739
|
+
"rendered": true
|
|
1661
1740
|
},
|
|
1662
1741
|
{
|
|
1663
1742
|
"name": "maxTotalFileSize",
|
|
1664
1743
|
"type": "number",
|
|
1665
|
-
"description": "
|
|
1744
|
+
"description": "Maximum combined size of all files in bytes; a selection exceeding it is refused. `0` means no limit.",
|
|
1666
1745
|
"defaultValue": "0",
|
|
1667
1746
|
"required": false,
|
|
1668
|
-
"examples": []
|
|
1747
|
+
"examples": [],
|
|
1748
|
+
"rendered": true
|
|
1669
1749
|
},
|
|
1670
1750
|
{
|
|
1671
1751
|
"name": "uploadOnDrop",
|
|
1672
1752
|
"type": "boolean",
|
|
1673
|
-
"description": "
|
|
1753
|
+
"description": "Uploads files as soon as they are dropped or picked; when `false`, they are only queued for a later upload.",
|
|
1674
1754
|
"defaultValue": "true",
|
|
1675
1755
|
"required": false,
|
|
1676
|
-
"examples": []
|
|
1756
|
+
"examples": [],
|
|
1757
|
+
"rendered": false
|
|
1677
1758
|
},
|
|
1678
1759
|
{
|
|
1679
1760
|
"name": "errorMessage",
|
|
1680
1761
|
"type": "string",
|
|
1681
|
-
"description": "
|
|
1762
|
+
"description": "Extra text shown in brackets after the upload error message.",
|
|
1682
1763
|
"defaultValue": "''",
|
|
1683
1764
|
"required": false,
|
|
1684
|
-
"examples": []
|
|
1765
|
+
"examples": [],
|
|
1766
|
+
"rendered": true
|
|
1685
1767
|
},
|
|
1686
1768
|
{
|
|
1687
1769
|
"name": "dropFilesHereTextTranslationKey",
|
|
1688
1770
|
"type": "string",
|
|
1689
|
-
"description": "
|
|
1771
|
+
"description": "Translation key of the drop-zone prompt; defaults to `file.upload.drag.and.drop`.",
|
|
1690
1772
|
"defaultValue": "'file.upload.drag.and.drop'",
|
|
1691
1773
|
"required": false,
|
|
1692
|
-
"examples": []
|
|
1774
|
+
"examples": [],
|
|
1775
|
+
"rendered": true
|
|
1693
1776
|
},
|
|
1694
1777
|
{
|
|
1695
1778
|
"name": "dataCy",
|
|
@@ -1699,7 +1782,8 @@
|
|
|
1699
1782
|
"required": false,
|
|
1700
1783
|
"examples": [
|
|
1701
1784
|
"<onemrva-mat-multi-select id=\"my-first-multi-select\"></onemrva-mat-multi-select>"
|
|
1702
|
-
]
|
|
1785
|
+
],
|
|
1786
|
+
"rendered": false
|
|
1703
1787
|
}
|
|
1704
1788
|
],
|
|
1705
1789
|
"outputs": [],
|
|
@@ -1738,77 +1822,85 @@
|
|
|
1738
1822
|
"className": "OnemrvaMatInputAddressComponent",
|
|
1739
1823
|
"category": "Material Components",
|
|
1740
1824
|
"path": "mat-input-address/src/onemrva-mat-input-address.component.ts",
|
|
1741
|
-
"description": "Address autocomplete field backed by OpenStreetMap.
|
|
1825
|
+
"description": "Address autocomplete field backed by OpenStreetMap.",
|
|
1742
1826
|
"inputs": [
|
|
1743
1827
|
{
|
|
1744
1828
|
"name": "address",
|
|
1745
1829
|
"type": "FormControl",
|
|
1746
|
-
"description": "
|
|
1830
|
+
"description": "Control holding the address text; typing 3+ characters searches OpenStreetMap.",
|
|
1747
1831
|
"required": true,
|
|
1748
|
-
"examples": []
|
|
1832
|
+
"examples": [],
|
|
1833
|
+
"rendered": true
|
|
1749
1834
|
},
|
|
1750
1835
|
{
|
|
1751
1836
|
"name": "mode",
|
|
1752
1837
|
"type": "'road-only' | 'full'",
|
|
1753
|
-
"description": "
|
|
1838
|
+
"description": "What a picked suggestion writes into the control: 'full' display name (default) or 'road-only' street name.",
|
|
1754
1839
|
"defaultValue": "'full'",
|
|
1755
1840
|
"required": false,
|
|
1756
|
-
"examples": []
|
|
1841
|
+
"examples": [],
|
|
1842
|
+
"rendered": false
|
|
1757
1843
|
},
|
|
1758
1844
|
{
|
|
1759
1845
|
"name": "placeholder",
|
|
1760
1846
|
"type": "string",
|
|
1761
|
-
"description": "
|
|
1847
|
+
"description": "Translation key for the text input placeholder.",
|
|
1762
1848
|
"defaultValue": "'input.address.placeholder'",
|
|
1763
1849
|
"required": false,
|
|
1764
|
-
"examples": []
|
|
1850
|
+
"examples": [],
|
|
1851
|
+
"rendered": true
|
|
1765
1852
|
},
|
|
1766
1853
|
{
|
|
1767
1854
|
"name": "readonly",
|
|
1768
1855
|
"type": "boolean",
|
|
1769
|
-
"description": "
|
|
1856
|
+
"description": "Makes the text input read-only.",
|
|
1770
1857
|
"defaultValue": "false",
|
|
1771
1858
|
"required": false,
|
|
1772
|
-
"examples": []
|
|
1859
|
+
"examples": [],
|
|
1860
|
+
"rendered": true
|
|
1773
1861
|
},
|
|
1774
1862
|
{
|
|
1775
1863
|
"name": "label",
|
|
1776
1864
|
"type": "string",
|
|
1777
|
-
"description": "
|
|
1865
|
+
"description": "Translation key for the field label.",
|
|
1778
1866
|
"defaultValue": "'input.address.label'",
|
|
1779
1867
|
"required": false,
|
|
1780
|
-
"examples": []
|
|
1868
|
+
"examples": [],
|
|
1869
|
+
"rendered": true
|
|
1781
1870
|
},
|
|
1782
1871
|
{
|
|
1783
1872
|
"name": "noEntriesFoundLabel",
|
|
1784
1873
|
"type": "string",
|
|
1785
|
-
"description": "
|
|
1874
|
+
"description": "Translation key shown as the only option when the address search returns no results.",
|
|
1786
1875
|
"defaultValue": "'input.address.not-found'",
|
|
1787
1876
|
"required": false,
|
|
1788
|
-
"examples": []
|
|
1877
|
+
"examples": [],
|
|
1878
|
+
"rendered": true
|
|
1789
1879
|
},
|
|
1790
1880
|
{
|
|
1791
1881
|
"name": "hint",
|
|
1792
1882
|
"type": "string",
|
|
1793
|
-
"description": "
|
|
1883
|
+
"description": "Hint text under the field (not translated); hidden when empty.",
|
|
1794
1884
|
"defaultValue": "''",
|
|
1795
1885
|
"required": false,
|
|
1796
|
-
"examples": []
|
|
1886
|
+
"examples": [],
|
|
1887
|
+
"rendered": true
|
|
1797
1888
|
},
|
|
1798
1889
|
{
|
|
1799
1890
|
"name": "countryCodes",
|
|
1800
1891
|
"type": "array",
|
|
1801
|
-
"description": "
|
|
1892
|
+
"description": "Lower-case ISO alpha-2 codes the search is restricted to; defaults to ['be'].",
|
|
1802
1893
|
"defaultValue": "['be']",
|
|
1803
1894
|
"required": false,
|
|
1804
|
-
"examples": []
|
|
1895
|
+
"examples": [],
|
|
1896
|
+
"rendered": false
|
|
1805
1897
|
}
|
|
1806
1898
|
],
|
|
1807
1899
|
"outputs": [
|
|
1808
1900
|
{
|
|
1809
1901
|
"name": "getAddress",
|
|
1810
1902
|
"type": "OutputEmitter<OSMResult>",
|
|
1811
|
-
"description": "
|
|
1903
|
+
"description": "Emits the full OSM result when a suggestion is picked, or the first result on Enter."
|
|
1812
1904
|
}
|
|
1813
1905
|
],
|
|
1814
1906
|
"methods": [],
|
|
@@ -1843,7 +1935,8 @@
|
|
|
1843
1935
|
"osm"
|
|
1844
1936
|
],
|
|
1845
1937
|
"group": "Forms",
|
|
1846
|
-
"themes": []
|
|
1938
|
+
"themes": [],
|
|
1939
|
+
"demoCode": "<onemrva-mat-input-address\n style=\"width: 100%; display: block\"\n [address]=\"addressControl\"\n (getAddress)=\"onAddressSelected($event)\"\n/>\n"
|
|
1847
1940
|
},
|
|
1848
1941
|
{
|
|
1849
1942
|
"name": "mat-input-birthplace",
|
|
@@ -1851,78 +1944,86 @@
|
|
|
1851
1944
|
"className": "OnemrvaMatInputBirthPlaceComponent",
|
|
1852
1945
|
"category": "Material Components",
|
|
1853
1946
|
"path": "mat-input-birthplace/src/onemrva-mat-input-birthplace.component.ts",
|
|
1854
|
-
"description": "Country and municipality autocomplete for capturing birthplace.
|
|
1947
|
+
"description": "Country and municipality autocomplete for capturing birthplace.",
|
|
1855
1948
|
"inputs": [
|
|
1856
1949
|
{
|
|
1857
1950
|
"name": "readonly",
|
|
1858
1951
|
"type": "boolean",
|
|
1859
|
-
"description": "
|
|
1952
|
+
"description": "Currently ignored: the template does not apply it; disable the countryCode control instead.",
|
|
1860
1953
|
"defaultValue": "false",
|
|
1861
1954
|
"required": false,
|
|
1862
|
-
"examples": []
|
|
1955
|
+
"examples": [],
|
|
1956
|
+
"rendered": false
|
|
1863
1957
|
},
|
|
1864
1958
|
{
|
|
1865
1959
|
"name": "countryCode",
|
|
1866
1960
|
"type": "FormControl",
|
|
1867
|
-
"description": "
|
|
1961
|
+
"description": "Control holding the selected country as an OnemRvaCommonCountry object, or null.",
|
|
1868
1962
|
"defaultValue": "new FormControl<OnemRvaCommonCountry | null>(null",
|
|
1869
1963
|
"required": false,
|
|
1870
|
-
"examples": []
|
|
1964
|
+
"examples": [],
|
|
1965
|
+
"rendered": true
|
|
1871
1966
|
},
|
|
1872
1967
|
{
|
|
1873
1968
|
"name": "label",
|
|
1874
1969
|
"type": "string",
|
|
1875
|
-
"description": "
|
|
1970
|
+
"description": "Field label text (not translated).",
|
|
1876
1971
|
"defaultValue": "'Country'",
|
|
1877
1972
|
"required": false,
|
|
1878
|
-
"examples": []
|
|
1973
|
+
"examples": [],
|
|
1974
|
+
"rendered": true
|
|
1879
1975
|
},
|
|
1880
1976
|
{
|
|
1881
1977
|
"name": "noEntriesFoundLabel",
|
|
1882
1978
|
"type": "string",
|
|
1883
|
-
"description": "
|
|
1979
|
+
"description": "Message shown in the country search dropdown when no country matches.",
|
|
1884
1980
|
"defaultValue": "'Not found'",
|
|
1885
1981
|
"required": false,
|
|
1886
|
-
"examples": []
|
|
1982
|
+
"examples": [],
|
|
1983
|
+
"rendered": true
|
|
1887
1984
|
},
|
|
1888
1985
|
{
|
|
1889
1986
|
"name": "hint",
|
|
1890
1987
|
"type": "string",
|
|
1891
|
-
"description": "
|
|
1988
|
+
"description": "Hint text under the field (not translated); hidden when empty.",
|
|
1892
1989
|
"defaultValue": "''",
|
|
1893
1990
|
"required": false,
|
|
1894
|
-
"examples": []
|
|
1991
|
+
"examples": [],
|
|
1992
|
+
"rendered": true
|
|
1895
1993
|
},
|
|
1896
1994
|
{
|
|
1897
1995
|
"name": "placeholderLabel",
|
|
1898
1996
|
"type": "string",
|
|
1899
|
-
"description": "
|
|
1997
|
+
"description": "Placeholder of the empty select and of the country search box.",
|
|
1900
1998
|
"defaultValue": "'Search'",
|
|
1901
1999
|
"required": false,
|
|
1902
|
-
"examples": []
|
|
2000
|
+
"examples": [],
|
|
2001
|
+
"rendered": true
|
|
1903
2002
|
},
|
|
1904
2003
|
{
|
|
1905
2004
|
"name": "searchAriaLabel",
|
|
1906
2005
|
"type": "string",
|
|
1907
|
-
"description": "
|
|
2006
|
+
"description": "Aria-label of the country search box in the dropdown.",
|
|
1908
2007
|
"defaultValue": "''",
|
|
1909
2008
|
"required": false,
|
|
1910
|
-
"examples": []
|
|
2009
|
+
"examples": [],
|
|
2010
|
+
"rendered": true
|
|
1911
2011
|
},
|
|
1912
2012
|
{
|
|
1913
2013
|
"name": "returnValue",
|
|
1914
2014
|
"type": "string",
|
|
1915
|
-
"description": "
|
|
2015
|
+
"description": "Currently ignored: the control always receives the full country object.",
|
|
1916
2016
|
"defaultValue": "'object'",
|
|
1917
2017
|
"required": false,
|
|
1918
|
-
"examples": []
|
|
2018
|
+
"examples": [],
|
|
2019
|
+
"rendered": false
|
|
1919
2020
|
}
|
|
1920
2021
|
],
|
|
1921
2022
|
"outputs": [
|
|
1922
2023
|
{
|
|
1923
2024
|
"name": "getCountry",
|
|
1924
2025
|
"type": "OutputEmitter<any>",
|
|
1925
|
-
"description": "
|
|
2026
|
+
"description": "Never emitted; subscribe to countryCode valueChanges instead."
|
|
1926
2027
|
}
|
|
1927
2028
|
],
|
|
1928
2029
|
"methods": [],
|
|
@@ -1951,7 +2052,8 @@
|
|
|
1951
2052
|
"city"
|
|
1952
2053
|
],
|
|
1953
2054
|
"group": "Forms",
|
|
1954
|
-
"themes": []
|
|
2055
|
+
"themes": [],
|
|
2056
|
+
"demoCode": "<onemrva-mat-input-birthplace\n [readonly]=\"readonly()\"\n [countryCode]=\"form\"\n label=\"{{ 'input.country.label' | translate }}\"\n noEntriesFoundLabel=\"{{ 'input.country.not.found' | translate }}\"\n placeholderLabel=\"{{ 'input.country.search' | translate }}\"\n searchAriaLabel=\"{{ 'input.country.search' | translate }}\"\n hint=\" {{ 'input.country.hint' | translate }}\"\n [returnValue]=\"returnValue()\"\n/>\n"
|
|
1955
2057
|
},
|
|
1956
2058
|
{
|
|
1957
2059
|
"name": "mat-input-country",
|
|
@@ -1959,85 +2061,94 @@
|
|
|
1959
2061
|
"className": "OnemrvaMatInputCountryComponent",
|
|
1960
2062
|
"category": "Material Components",
|
|
1961
2063
|
"path": "mat-input-country/src/onemrva-mat-input-country.component.ts",
|
|
1962
|
-
"description": "Searchable country selector with flag icons.
|
|
2064
|
+
"description": "Searchable country selector with flag icons.",
|
|
1963
2065
|
"inputs": [
|
|
1964
2066
|
{
|
|
1965
2067
|
"name": "country",
|
|
1966
2068
|
"type": "FormControl<string | null>",
|
|
1967
|
-
"description": "
|
|
2069
|
+
"description": "Control holding the selected lower-case ISO alpha-2 country code (e.g. 'be'), or null.",
|
|
1968
2070
|
"required": true,
|
|
1969
|
-
"examples": []
|
|
2071
|
+
"examples": [],
|
|
2072
|
+
"rendered": true
|
|
1970
2073
|
},
|
|
1971
2074
|
{
|
|
1972
2075
|
"name": "readonly",
|
|
1973
2076
|
"type": "boolean",
|
|
1974
|
-
"description": "
|
|
2077
|
+
"description": "Hides the clear button; does not lock the select, disable the control for that.",
|
|
1975
2078
|
"defaultValue": "false",
|
|
1976
2079
|
"required": false,
|
|
1977
|
-
"examples": []
|
|
2080
|
+
"examples": [],
|
|
2081
|
+
"rendered": false
|
|
1978
2082
|
},
|
|
1979
2083
|
{
|
|
1980
2084
|
"name": "disabled",
|
|
1981
2085
|
"type": "boolean",
|
|
1982
|
-
"description": "
|
|
2086
|
+
"description": "Hides the clear button; does not disable the select, disable the control for that.",
|
|
1983
2087
|
"defaultValue": "false",
|
|
1984
2088
|
"required": false,
|
|
1985
|
-
"examples": []
|
|
2089
|
+
"examples": [],
|
|
2090
|
+
"rendered": false
|
|
1986
2091
|
},
|
|
1987
2092
|
{
|
|
1988
2093
|
"name": "label",
|
|
1989
2094
|
"type": "string",
|
|
1990
|
-
"description": "
|
|
2095
|
+
"description": "Field label text (not translated).",
|
|
1991
2096
|
"defaultValue": "'Country'",
|
|
1992
2097
|
"required": false,
|
|
1993
|
-
"examples": []
|
|
2098
|
+
"examples": [],
|
|
2099
|
+
"rendered": true
|
|
1994
2100
|
},
|
|
1995
2101
|
{
|
|
1996
2102
|
"name": "noEntriesFoundLabel",
|
|
1997
2103
|
"type": "string",
|
|
1998
|
-
"description": "
|
|
2104
|
+
"description": "Message shown in the country search dropdown when no country matches.",
|
|
1999
2105
|
"defaultValue": "'Not found'",
|
|
2000
2106
|
"required": false,
|
|
2001
|
-
"examples": []
|
|
2107
|
+
"examples": [],
|
|
2108
|
+
"rendered": true
|
|
2002
2109
|
},
|
|
2003
2110
|
{
|
|
2004
2111
|
"name": "hint",
|
|
2005
2112
|
"type": "string",
|
|
2006
|
-
"description": "
|
|
2113
|
+
"description": "Hint text under the field (not translated); hidden when empty.",
|
|
2007
2114
|
"defaultValue": "''",
|
|
2008
2115
|
"required": false,
|
|
2009
|
-
"examples": []
|
|
2116
|
+
"examples": [],
|
|
2117
|
+
"rendered": true
|
|
2010
2118
|
},
|
|
2011
2119
|
{
|
|
2012
2120
|
"name": "placeholderLabel",
|
|
2013
2121
|
"type": "string",
|
|
2014
|
-
"description": "
|
|
2122
|
+
"description": "Placeholder of the country search box in the dropdown.",
|
|
2015
2123
|
"defaultValue": "'Search'",
|
|
2016
2124
|
"required": false,
|
|
2017
|
-
"examples": []
|
|
2125
|
+
"examples": [],
|
|
2126
|
+
"rendered": true
|
|
2018
2127
|
},
|
|
2019
2128
|
{
|
|
2020
2129
|
"name": "searchAriaLabel",
|
|
2021
2130
|
"type": "string",
|
|
2022
|
-
"description": "
|
|
2131
|
+
"description": "Aria-label of the country search box in the dropdown.",
|
|
2023
2132
|
"defaultValue": "''",
|
|
2024
2133
|
"required": false,
|
|
2025
|
-
"examples": []
|
|
2134
|
+
"examples": [],
|
|
2135
|
+
"rendered": true
|
|
2026
2136
|
},
|
|
2027
2137
|
{
|
|
2028
2138
|
"name": "clearAriaLabel",
|
|
2029
2139
|
"type": "string",
|
|
2030
|
-
"description": "
|
|
2140
|
+
"description": "Aria-label of the clear button shown when a country is selected.",
|
|
2031
2141
|
"defaultValue": "'Clear country'",
|
|
2032
2142
|
"required": false,
|
|
2033
|
-
"examples": []
|
|
2143
|
+
"examples": [],
|
|
2144
|
+
"rendered": true
|
|
2034
2145
|
}
|
|
2035
2146
|
],
|
|
2036
2147
|
"outputs": [
|
|
2037
2148
|
{
|
|
2038
2149
|
"name": "getCountry",
|
|
2039
2150
|
"type": "OutputEmitter<any>",
|
|
2040
|
-
"description": "
|
|
2151
|
+
"description": "Emits the control value (lower-case code or null) on every change; setValue() also emits the country object."
|
|
2041
2152
|
}
|
|
2042
2153
|
],
|
|
2043
2154
|
"methods": [
|
|
@@ -2088,7 +2199,8 @@
|
|
|
2088
2199
|
"search"
|
|
2089
2200
|
],
|
|
2090
2201
|
"group": "Forms",
|
|
2091
|
-
"themes": []
|
|
2202
|
+
"themes": [],
|
|
2203
|
+
"demoCode": "<onemrva-mat-input-country\n [readonly]=\"readonly()\"\n [country]=\"form\"\n label=\"{{ 'input.country.label' | translate }}\"\n noEntriesFoundLabel=\"{{ 'input.country.not.found' | translate }}\"\n placeholderLabel=\"{{ 'input.country.search' | translate }}\"\n searchAriaLabel=\"{{ 'input.country.search' | translate }}\"\n hint=\" {{ 'input.country.hint' | translate }}\"\n/>\n"
|
|
2092
2204
|
},
|
|
2093
2205
|
{
|
|
2094
2206
|
"name": "mat-input-enterprise-number",
|
|
@@ -2096,77 +2208,85 @@
|
|
|
2096
2208
|
"className": "OnemrvaMatInputEnterpriseNumberComponent",
|
|
2097
2209
|
"category": "Material Components",
|
|
2098
2210
|
"path": "mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.ts",
|
|
2099
|
-
"description": "Belgian enterprise number (BCE/KBO) input with validation.
|
|
2211
|
+
"description": "Belgian enterprise number (BCE/KBO) input with validation.",
|
|
2100
2212
|
"inputs": [
|
|
2101
2213
|
{
|
|
2102
2214
|
"name": "enterpriseNumber",
|
|
2103
2215
|
"type": "FormControl",
|
|
2104
|
-
"description": "
|
|
2216
|
+
"description": "Control holding the number; prefixed with the country's VIES code and validated against its pattern.",
|
|
2105
2217
|
"required": true,
|
|
2106
|
-
"examples": []
|
|
2218
|
+
"examples": [],
|
|
2219
|
+
"rendered": true
|
|
2107
2220
|
},
|
|
2108
2221
|
{
|
|
2109
2222
|
"name": "readonly",
|
|
2110
2223
|
"type": "boolean",
|
|
2111
|
-
"description": "
|
|
2224
|
+
"description": "Currently unused; has no effect. Disable the control instead.",
|
|
2112
2225
|
"defaultValue": "false",
|
|
2113
2226
|
"required": false,
|
|
2114
|
-
"examples": []
|
|
2227
|
+
"examples": [],
|
|
2228
|
+
"rendered": false
|
|
2115
2229
|
},
|
|
2116
2230
|
{
|
|
2117
2231
|
"name": "label",
|
|
2118
2232
|
"type": "string",
|
|
2119
|
-
"description": "
|
|
2233
|
+
"description": "Form field label; defaults to `VIES`.",
|
|
2120
2234
|
"defaultValue": "'VIES'",
|
|
2121
2235
|
"required": false,
|
|
2122
|
-
"examples": []
|
|
2236
|
+
"examples": [],
|
|
2237
|
+
"rendered": true
|
|
2123
2238
|
},
|
|
2124
2239
|
{
|
|
2125
2240
|
"name": "noEntriesFoundLabel",
|
|
2126
2241
|
"type": "string",
|
|
2127
|
-
"description": "
|
|
2242
|
+
"description": "Message shown in the country search when no country matches; defaults to `Not found`.",
|
|
2128
2243
|
"defaultValue": "'Not found'",
|
|
2129
2244
|
"required": false,
|
|
2130
|
-
"examples": []
|
|
2245
|
+
"examples": [],
|
|
2246
|
+
"rendered": true
|
|
2131
2247
|
},
|
|
2132
2248
|
{
|
|
2133
2249
|
"name": "placeholderLabel",
|
|
2134
2250
|
"type": "string",
|
|
2135
|
-
"description": "
|
|
2251
|
+
"description": "Placeholder of the country search field; defaults to `Search`.",
|
|
2136
2252
|
"defaultValue": "'Search'",
|
|
2137
2253
|
"required": false,
|
|
2138
|
-
"examples": []
|
|
2254
|
+
"examples": [],
|
|
2255
|
+
"rendered": true
|
|
2139
2256
|
},
|
|
2140
2257
|
{
|
|
2141
2258
|
"name": "defaultCountry",
|
|
2142
2259
|
"type": "string",
|
|
2143
|
-
"description": "
|
|
2260
|
+
"description": "Country code whose VIES prefix is added when the user types a leading `0`; defaults to `BE`.",
|
|
2144
2261
|
"defaultValue": "'BE'",
|
|
2145
2262
|
"required": false,
|
|
2146
|
-
"examples": []
|
|
2263
|
+
"examples": [],
|
|
2264
|
+
"rendered": false
|
|
2147
2265
|
},
|
|
2148
2266
|
{
|
|
2149
2267
|
"name": "searchAriaLabel",
|
|
2150
2268
|
"type": "string",
|
|
2151
|
-
"description": "
|
|
2269
|
+
"description": "aria-label of the country search field.",
|
|
2152
2270
|
"defaultValue": "''",
|
|
2153
2271
|
"required": false,
|
|
2154
|
-
"examples": []
|
|
2272
|
+
"examples": [],
|
|
2273
|
+
"rendered": true
|
|
2155
2274
|
},
|
|
2156
2275
|
{
|
|
2157
2276
|
"name": "hint",
|
|
2158
2277
|
"type": "string",
|
|
2159
|
-
"description": "
|
|
2278
|
+
"description": "Hint text shown below the field; hidden when empty.",
|
|
2160
2279
|
"defaultValue": "''",
|
|
2161
2280
|
"required": false,
|
|
2162
|
-
"examples": []
|
|
2281
|
+
"examples": [],
|
|
2282
|
+
"rendered": true
|
|
2163
2283
|
}
|
|
2164
2284
|
],
|
|
2165
2285
|
"outputs": [
|
|
2166
2286
|
{
|
|
2167
2287
|
"name": "getCountry",
|
|
2168
2288
|
"type": "OutputEmitter<any>",
|
|
2169
|
-
"description": "
|
|
2289
|
+
"description": "Emits the selected country object (code, name, pattern) whenever the country selection changes."
|
|
2170
2290
|
}
|
|
2171
2291
|
],
|
|
2172
2292
|
"methods": [],
|
|
@@ -2187,6 +2307,7 @@
|
|
|
2187
2307
|
],
|
|
2188
2308
|
"examples": [],
|
|
2189
2309
|
"accessibility": [
|
|
2310
|
+
"Uses aria-label for screen readers",
|
|
2190
2311
|
"Implements focus management"
|
|
2191
2312
|
],
|
|
2192
2313
|
"keywords": [
|
|
@@ -2198,7 +2319,8 @@
|
|
|
2198
2319
|
"belgium"
|
|
2199
2320
|
],
|
|
2200
2321
|
"group": "Forms",
|
|
2201
|
-
"themes": []
|
|
2322
|
+
"themes": [],
|
|
2323
|
+
"demoCode": "<onemrva-mat-input-enterprise-number\n [readonly]=\"readonly()\"\n [enterpriseNumber]=\"form\"\n label=\"{{ 'input.vies.label' | translate }}\"\n noEntriesFoundLabel=\"{{ 'input.vies.notFound' | translate }}\"\n placeholderLabel=\"{{ 'input.vies.search' | translate }}\"\n searchAriaLabel=\"{{ 'input.vies.search' | translate }}\"\n hint=\" {{ 'input.vies.hint' | translate }}\"\n (getCountry)=\"getCountry($event)\"\n/>\n"
|
|
2202
2324
|
},
|
|
2203
2325
|
{
|
|
2204
2326
|
"name": "mat-input-iban",
|
|
@@ -2206,70 +2328,109 @@
|
|
|
2206
2328
|
"className": "OnemrvaMatInputIbanComponent",
|
|
2207
2329
|
"category": "Material Components",
|
|
2208
2330
|
"path": "mat-input-iban/src/onemrva-mat-input-iban.component.ts",
|
|
2209
|
-
"description": "IBAN bank account number input with format validation.
|
|
2331
|
+
"description": "IBAN bank account number input with format validation.",
|
|
2210
2332
|
"inputs": [
|
|
2333
|
+
{
|
|
2334
|
+
"name": "value",
|
|
2335
|
+
"type": "string",
|
|
2336
|
+
"description": "IBAN string such as 'BE45063712751789'; read back as country code plus BBAN, space-grouped once valid.",
|
|
2337
|
+
"required": false,
|
|
2338
|
+
"examples": [],
|
|
2339
|
+
"rendered": true
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"name": "disabled",
|
|
2343
|
+
"type": "boolean",
|
|
2344
|
+
"description": "Disables both the country-code select and the number input.",
|
|
2345
|
+
"required": false,
|
|
2346
|
+
"examples": [],
|
|
2347
|
+
"rendered": false
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"name": "placeholder",
|
|
2351
|
+
"type": "string",
|
|
2352
|
+
"description": "Not rendered; the number input shows a zero pattern for the selected country instead.",
|
|
2353
|
+
"required": false,
|
|
2354
|
+
"examples": [],
|
|
2355
|
+
"rendered": true
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
"name": "required",
|
|
2359
|
+
"type": "boolean",
|
|
2360
|
+
"description": "Marks the field as required for mat-form-field; does not add a validator.",
|
|
2361
|
+
"required": false,
|
|
2362
|
+
"examples": [],
|
|
2363
|
+
"rendered": false
|
|
2364
|
+
},
|
|
2211
2365
|
{
|
|
2212
2366
|
"name": "prioritizedCountries",
|
|
2213
2367
|
"type": "string[]",
|
|
2214
|
-
"description": "
|
|
2368
|
+
"description": "Upper-case country codes (e.g. ['BE']) listed first in the dropdown, above a divider; read once on init.",
|
|
2215
2369
|
"defaultValue": "[]",
|
|
2216
2370
|
"required": false,
|
|
2217
|
-
"examples": []
|
|
2371
|
+
"examples": [],
|
|
2372
|
+
"rendered": false
|
|
2218
2373
|
},
|
|
2219
2374
|
{
|
|
2220
2375
|
"name": "noEntriesFoundLabel",
|
|
2221
2376
|
"type": "string",
|
|
2222
|
-
"description": "
|
|
2377
|
+
"description": "Message shown in the country-code search dropdown when no country matches.",
|
|
2223
2378
|
"defaultValue": "'Not found'",
|
|
2224
2379
|
"required": false,
|
|
2225
|
-
"examples": []
|
|
2380
|
+
"examples": [],
|
|
2381
|
+
"rendered": true
|
|
2226
2382
|
},
|
|
2227
2383
|
{
|
|
2228
2384
|
"name": "placeholderLabel",
|
|
2229
2385
|
"type": "string",
|
|
2230
|
-
"description": "
|
|
2386
|
+
"description": "Placeholder of the country-code search box in the dropdown.",
|
|
2231
2387
|
"defaultValue": "'Search'",
|
|
2232
2388
|
"required": false,
|
|
2233
|
-
"examples": []
|
|
2389
|
+
"examples": [],
|
|
2390
|
+
"rendered": true
|
|
2234
2391
|
},
|
|
2235
2392
|
{
|
|
2236
2393
|
"name": "searchAriaLabel",
|
|
2237
2394
|
"type": "string",
|
|
2238
|
-
"description": "
|
|
2395
|
+
"description": "Aria-label of the country-code search box in the dropdown.",
|
|
2239
2396
|
"defaultValue": "'Search'",
|
|
2240
2397
|
"required": false,
|
|
2241
|
-
"examples": []
|
|
2398
|
+
"examples": [],
|
|
2399
|
+
"rendered": true
|
|
2242
2400
|
},
|
|
2243
2401
|
{
|
|
2244
2402
|
"name": "label",
|
|
2245
2403
|
"type": "string",
|
|
2246
|
-
"description": "
|
|
2404
|
+
"description": "Aria-label of the number input; not rendered as a visible label.",
|
|
2247
2405
|
"defaultValue": "'IBAN'",
|
|
2248
2406
|
"required": false,
|
|
2249
|
-
"examples": []
|
|
2407
|
+
"examples": [],
|
|
2408
|
+
"rendered": true
|
|
2250
2409
|
},
|
|
2251
2410
|
{
|
|
2252
2411
|
"name": "onlySEPA",
|
|
2253
2412
|
"type": "boolean",
|
|
2254
|
-
"description": "
|
|
2413
|
+
"description": "Limits the country-code dropdown to SEPA countries; read once on init.",
|
|
2255
2414
|
"defaultValue": "false",
|
|
2256
2415
|
"required": false,
|
|
2257
|
-
"examples": []
|
|
2416
|
+
"examples": [],
|
|
2417
|
+
"rendered": false
|
|
2258
2418
|
},
|
|
2259
2419
|
{
|
|
2260
2420
|
"name": "readonly",
|
|
2261
2421
|
"type": "boolean",
|
|
2262
|
-
"description": "
|
|
2422
|
+
"description": "Makes the number input read-only; the country-code select stays usable.",
|
|
2263
2423
|
"defaultValue": "false",
|
|
2264
2424
|
"required": false,
|
|
2265
|
-
"examples": []
|
|
2425
|
+
"examples": [],
|
|
2426
|
+
"rendered": true
|
|
2266
2427
|
}
|
|
2267
2428
|
],
|
|
2268
2429
|
"outputs": [
|
|
2269
2430
|
{
|
|
2270
2431
|
"name": "getCountry",
|
|
2271
2432
|
"type": "OutputEmitter<any>",
|
|
2272
|
-
"description": "
|
|
2433
|
+
"description": "Never emitted; read the country code from the form value instead."
|
|
2273
2434
|
}
|
|
2274
2435
|
],
|
|
2275
2436
|
"methods": [],
|
|
@@ -2303,7 +2464,8 @@
|
|
|
2303
2464
|
"account-number"
|
|
2304
2465
|
],
|
|
2305
2466
|
"group": "Forms",
|
|
2306
|
-
"themes": []
|
|
2467
|
+
"themes": [],
|
|
2468
|
+
"demoCode": "<mat-form-field [readonly]=\"readonly()\">\n <mat-label>IBAN</mat-label>\n\n <onemrva-mat-input-iban [formControl]=\"accountNumber\" />\n\n <mat-hint>hint</mat-hint>\n @if (accountNumber.hasError('WrongBBANLength')) {\n <mat-error>\n {{ 'input.bank.length' | translate }}\n </mat-error>\n } @else if (\n accountNumber.hasError('WrongBBANFormat') ||\n accountNumber.hasError('WrongAccountBankBranchChecksum') ||\n accountNumber.hasError('WrongIBANChecksum')\n ) {\n <mat-error> {{ 'input.bank.invalid' | translate }} ! </mat-error>\n }\n @if (accountNumber.hasError('NoIBANCountry')) {\n <mat-error> NoIBANCountry </mat-error>\n }\n @if (accountNumber.hasError('required')) {\n <mat-error>\n {{ 'input.bank.required' | translate }}\n </mat-error>\n }\n</mat-form-field>\n"
|
|
2307
2469
|
},
|
|
2308
2470
|
{
|
|
2309
2471
|
"name": "mat-input-phone",
|
|
@@ -2311,54 +2473,91 @@
|
|
|
2311
2473
|
"className": "OnemrvaMatInputPhoneComponent",
|
|
2312
2474
|
"category": "Material Components",
|
|
2313
2475
|
"path": "mat-input-phone/src/onemrva-mat-input-phone.component.ts",
|
|
2314
|
-
"description": "International phone number input with country-code prefix selector.
|
|
2476
|
+
"description": "International phone number input with country-code prefix selector.",
|
|
2315
2477
|
"inputs": [
|
|
2478
|
+
{
|
|
2479
|
+
"name": "value",
|
|
2480
|
+
"type": "string",
|
|
2481
|
+
"description": "Full number with dial prefix, e.g. '+32470123456'; typed numbers are reformatted as '+32 470 12 34 56'.",
|
|
2482
|
+
"required": false,
|
|
2483
|
+
"examples": [],
|
|
2484
|
+
"rendered": true
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"name": "disabled",
|
|
2488
|
+
"type": "boolean",
|
|
2489
|
+
"description": "Disables both the country select and the number input.",
|
|
2490
|
+
"required": false,
|
|
2491
|
+
"examples": [],
|
|
2492
|
+
"rendered": false
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
"name": "placeholder",
|
|
2496
|
+
"type": "string",
|
|
2497
|
+
"description": "Placeholder of the number input.",
|
|
2498
|
+
"required": false,
|
|
2499
|
+
"examples": [],
|
|
2500
|
+
"rendered": true
|
|
2501
|
+
},
|
|
2502
|
+
{
|
|
2503
|
+
"name": "required",
|
|
2504
|
+
"type": "boolean",
|
|
2505
|
+
"description": "Marks the field as required for mat-form-field; does not add a validator.",
|
|
2506
|
+
"required": false,
|
|
2507
|
+
"examples": [],
|
|
2508
|
+
"rendered": false
|
|
2509
|
+
},
|
|
2316
2510
|
{
|
|
2317
2511
|
"name": "noEntriesFoundLabel",
|
|
2318
2512
|
"type": "string",
|
|
2319
|
-
"description": "
|
|
2513
|
+
"description": "Message shown in the country search dropdown when no country matches.",
|
|
2320
2514
|
"defaultValue": "'Not found'",
|
|
2321
2515
|
"required": false,
|
|
2322
|
-
"examples": []
|
|
2516
|
+
"examples": [],
|
|
2517
|
+
"rendered": true
|
|
2323
2518
|
},
|
|
2324
2519
|
{
|
|
2325
2520
|
"name": "placeholderLabel",
|
|
2326
2521
|
"type": "string",
|
|
2327
|
-
"description": "
|
|
2522
|
+
"description": "Placeholder of the country search box in the dropdown.",
|
|
2328
2523
|
"defaultValue": "'Search'",
|
|
2329
2524
|
"required": false,
|
|
2330
|
-
"examples": []
|
|
2525
|
+
"examples": [],
|
|
2526
|
+
"rendered": true
|
|
2331
2527
|
},
|
|
2332
2528
|
{
|
|
2333
2529
|
"name": "searchAriaLabel",
|
|
2334
2530
|
"type": "string",
|
|
2335
|
-
"description": "
|
|
2531
|
+
"description": "Aria-label of the country search box in the dropdown.",
|
|
2336
2532
|
"defaultValue": "'Search'",
|
|
2337
2533
|
"required": false,
|
|
2338
|
-
"examples": []
|
|
2534
|
+
"examples": [],
|
|
2535
|
+
"rendered": true
|
|
2339
2536
|
},
|
|
2340
2537
|
{
|
|
2341
2538
|
"name": "defaultPrefix",
|
|
2342
2539
|
"type": "string",
|
|
2343
|
-
"description": "
|
|
2540
|
+
"description": "Dial prefix that replaces a leading '0' typed into an empty number field; defaults to '+32'.",
|
|
2344
2541
|
"defaultValue": "'+32'",
|
|
2345
2542
|
"required": false,
|
|
2346
|
-
"examples": []
|
|
2543
|
+
"examples": [],
|
|
2544
|
+
"rendered": false
|
|
2347
2545
|
},
|
|
2348
2546
|
{
|
|
2349
2547
|
"name": "readonly",
|
|
2350
2548
|
"type": "boolean",
|
|
2351
|
-
"description": "
|
|
2549
|
+
"description": "Makes the number input read-only; the country select stays usable.",
|
|
2352
2550
|
"defaultValue": "false",
|
|
2353
2551
|
"required": false,
|
|
2354
|
-
"examples": []
|
|
2552
|
+
"examples": [],
|
|
2553
|
+
"rendered": true
|
|
2355
2554
|
}
|
|
2356
2555
|
],
|
|
2357
2556
|
"outputs": [
|
|
2358
2557
|
{
|
|
2359
2558
|
"name": "getCountry",
|
|
2360
2559
|
"type": "OutputEmitter<any>",
|
|
2361
|
-
"description": "
|
|
2560
|
+
"description": "Emits the country object whenever the country changes, picked in the select or detected from the typed prefix."
|
|
2362
2561
|
}
|
|
2363
2562
|
],
|
|
2364
2563
|
"methods": [],
|
|
@@ -2389,7 +2588,8 @@
|
|
|
2389
2588
|
"country-code"
|
|
2390
2589
|
],
|
|
2391
2590
|
"group": "Forms",
|
|
2392
|
-
"themes": []
|
|
2591
|
+
"themes": [],
|
|
2592
|
+
"demoCode": "<mat-form-field [readonly]=\"readonly()\">\n <mat-label>Phone number</mat-label>\n\n <onemrva-mat-input-phone\n [formControl]=\"form\"\n (getCountry)=\"getCountry($event)\"\n placeholder=\"+32 475 12 23 34\"\n />\n\n <mat-hint>hint</mat-hint>\n @if (form.hasError('required')) {\n <mat-error>\n {{ 'input.phone.required' | translate }}\n </mat-error>\n } @else if (form.hasError('phoneNumber')) {\n <mat-error>\n {{ 'input.phone.invalid' | translate }}\n </mat-error>\n }\n</mat-form-field>\n"
|
|
2393
2593
|
},
|
|
2394
2594
|
{
|
|
2395
2595
|
"name": "mat-message-box",
|
|
@@ -2397,55 +2597,61 @@
|
|
|
2397
2597
|
"className": "OnemrvaMatMessageBoxComponent",
|
|
2398
2598
|
"category": "Material Components",
|
|
2399
2599
|
"path": "mat-message-box/src/onemrva-mat-message-box.component.ts",
|
|
2400
|
-
"description": "Inline alert banner for error, warning, success, or info states.
|
|
2600
|
+
"description": "Inline alert banner for error, warning, success, or info states.",
|
|
2401
2601
|
"inputs": [
|
|
2402
2602
|
{
|
|
2403
2603
|
"name": "label",
|
|
2404
2604
|
"type": "false | string",
|
|
2405
|
-
"description": "
|
|
2605
|
+
"description": "Unused: not read by the component or its template; put the message in the projected content.",
|
|
2406
2606
|
"defaultValue": "false",
|
|
2407
2607
|
"required": false,
|
|
2408
|
-
"examples": []
|
|
2608
|
+
"examples": [],
|
|
2609
|
+
"rendered": false
|
|
2409
2610
|
},
|
|
2410
2611
|
{
|
|
2411
2612
|
"name": "color",
|
|
2412
2613
|
"type": "OnemrvaMatColor",
|
|
2413
|
-
"description": "
|
|
2614
|
+
"description": "Colour variant: error, warn, success, primary, grayscale/none (neutral), anything else is info (default).",
|
|
2414
2615
|
"defaultValue": "OnemrvaMatColor.INFO",
|
|
2415
2616
|
"required": false,
|
|
2416
|
-
"examples": []
|
|
2617
|
+
"examples": [],
|
|
2618
|
+
"rendered": true
|
|
2417
2619
|
},
|
|
2418
2620
|
{
|
|
2419
2621
|
"name": "neutralStickerText",
|
|
2420
2622
|
"type": "string",
|
|
2421
|
-
"description": "
|
|
2623
|
+
"description": "Text of the sticker shown before the content when color is grayscale or none; empty hides it.",
|
|
2422
2624
|
"defaultValue": "'New'",
|
|
2423
2625
|
"required": false,
|
|
2424
|
-
"examples": []
|
|
2626
|
+
"examples": [],
|
|
2627
|
+
"rendered": true
|
|
2425
2628
|
},
|
|
2426
2629
|
{
|
|
2427
2630
|
"name": "messageCode",
|
|
2428
2631
|
"type": "string",
|
|
2429
|
-
"description": "
|
|
2632
|
+
"description": "Deprecated: HTML string appended after the projected content, logs a warning; project content instead.",
|
|
2430
2633
|
"defaultValue": "''",
|
|
2431
2634
|
"required": false,
|
|
2432
|
-
"examples": []
|
|
2635
|
+
"examples": [],
|
|
2636
|
+
"rendered": false
|
|
2433
2637
|
},
|
|
2434
2638
|
{
|
|
2435
2639
|
"name": "id",
|
|
2436
2640
|
"type": "any",
|
|
2437
|
-
"description": "
|
|
2641
|
+
"description": "id attribute of the host element; auto-generated by default.",
|
|
2438
2642
|
"defaultValue": "`onemrva-mat-message-box-${NEXT_ID++}`",
|
|
2439
2643
|
"required": false,
|
|
2440
|
-
"examples": []
|
|
2644
|
+
"examples": [],
|
|
2645
|
+
"rendered": false
|
|
2441
2646
|
},
|
|
2442
2647
|
{
|
|
2443
2648
|
"name": "dataCy",
|
|
2444
2649
|
"type": "any",
|
|
2445
|
-
"description": "
|
|
2650
|
+
"description": "data-cy attribute of the host element for tests; auto-generated by default.",
|
|
2446
2651
|
"defaultValue": "`onemrva-mat-message-box-${NEXT_ID++}`",
|
|
2447
2652
|
"required": false,
|
|
2448
|
-
"examples": []
|
|
2653
|
+
"examples": [],
|
|
2654
|
+
"rendered": false
|
|
2449
2655
|
}
|
|
2450
2656
|
],
|
|
2451
2657
|
"outputs": [],
|
|
@@ -2488,70 +2694,78 @@
|
|
|
2488
2694
|
"className": "OnemrvaMatMultiSelectComponent",
|
|
2489
2695
|
"category": "Material Components",
|
|
2490
2696
|
"path": "mat-multi-select/src/onemrva-mat-multi-select.component.ts",
|
|
2491
|
-
"description": "Multi-value searchable select implementing MatFormFieldControl.
|
|
2697
|
+
"description": "Multi-value searchable select implementing MatFormFieldControl.",
|
|
2492
2698
|
"inputs": [
|
|
2493
2699
|
{
|
|
2494
2700
|
"name": "formControl",
|
|
2495
2701
|
"type": "FormControl",
|
|
2496
|
-
"description": "
|
|
2702
|
+
"description": "Control bound to the inner mat-select; holds the array of selected option values.",
|
|
2497
2703
|
"required": true,
|
|
2498
|
-
"examples": []
|
|
2704
|
+
"examples": [],
|
|
2705
|
+
"rendered": true
|
|
2499
2706
|
},
|
|
2500
2707
|
{
|
|
2501
2708
|
"name": "multiple",
|
|
2502
2709
|
"type": "boolean",
|
|
2503
|
-
"description": "
|
|
2710
|
+
"description": "Allows selecting several options, with a selection counter; defaults to `true`.",
|
|
2504
2711
|
"defaultValue": "true",
|
|
2505
2712
|
"required": false,
|
|
2506
|
-
"examples": []
|
|
2713
|
+
"examples": [],
|
|
2714
|
+
"rendered": true
|
|
2507
2715
|
},
|
|
2508
2716
|
{
|
|
2509
2717
|
"name": "role",
|
|
2510
2718
|
"type": "string",
|
|
2511
|
-
"description": "
|
|
2512
|
-
"defaultValue": "'select'
|
|
2719
|
+
"description": "Currently unused; has no effect.",
|
|
2720
|
+
"defaultValue": "'select'",
|
|
2513
2721
|
"required": false,
|
|
2514
|
-
"examples": []
|
|
2722
|
+
"examples": [],
|
|
2723
|
+
"rendered": false
|
|
2515
2724
|
},
|
|
2516
2725
|
{
|
|
2517
2726
|
"name": "label",
|
|
2518
2727
|
"type": "string",
|
|
2519
|
-
"description": "
|
|
2520
|
-
"defaultValue": "''
|
|
2728
|
+
"description": "aria-label of the inner select, bound through the `attr.aria-label` alias.",
|
|
2729
|
+
"defaultValue": "''",
|
|
2521
2730
|
"required": false,
|
|
2522
|
-
"examples": []
|
|
2731
|
+
"examples": [],
|
|
2732
|
+
"rendered": true
|
|
2523
2733
|
},
|
|
2524
2734
|
{
|
|
2525
2735
|
"name": "invalid",
|
|
2526
|
-
"type": "
|
|
2527
|
-
"description": "
|
|
2528
|
-
"defaultValue": "false
|
|
2736
|
+
"type": "boolean",
|
|
2737
|
+
"description": "Currently unused; has no effect.",
|
|
2738
|
+
"defaultValue": "false",
|
|
2529
2739
|
"required": false,
|
|
2530
|
-
"examples": []
|
|
2740
|
+
"examples": [],
|
|
2741
|
+
"rendered": false
|
|
2531
2742
|
},
|
|
2532
2743
|
{
|
|
2533
2744
|
"name": "showFilter",
|
|
2534
2745
|
"type": "boolean",
|
|
2535
|
-
"description": "
|
|
2746
|
+
"description": "Shows a search field that filters the options; defaults to `true`.",
|
|
2536
2747
|
"defaultValue": "true",
|
|
2537
2748
|
"required": false,
|
|
2538
|
-
"examples": []
|
|
2749
|
+
"examples": [],
|
|
2750
|
+
"rendered": true
|
|
2539
2751
|
},
|
|
2540
2752
|
{
|
|
2541
2753
|
"name": "selectionToggle",
|
|
2542
2754
|
"type": "boolean",
|
|
2543
|
-
"description": "
|
|
2755
|
+
"description": "Shows \"select all\" / \"deselect all\" links when `multiple` is on; defaults to `true`.",
|
|
2544
2756
|
"defaultValue": "true",
|
|
2545
2757
|
"required": false,
|
|
2546
|
-
"examples": []
|
|
2758
|
+
"examples": [],
|
|
2759
|
+
"rendered": true
|
|
2547
2760
|
},
|
|
2548
2761
|
{
|
|
2549
2762
|
"name": "dataCy",
|
|
2550
2763
|
"type": "any",
|
|
2551
|
-
"description": "
|
|
2552
|
-
"defaultValue": "`onemrva-mat-multi-select-${NEXT_ID++}
|
|
2764
|
+
"description": "data-cy attribute of the inner mat-select, bound as `attr.data-cy`; auto-generated when omitted.",
|
|
2765
|
+
"defaultValue": "`onemrva-mat-multi-select-${NEXT_ID++}`",
|
|
2553
2766
|
"required": false,
|
|
2554
|
-
"examples": []
|
|
2767
|
+
"examples": [],
|
|
2768
|
+
"rendered": true
|
|
2555
2769
|
}
|
|
2556
2770
|
],
|
|
2557
2771
|
"outputs": [],
|
|
@@ -2582,7 +2796,8 @@
|
|
|
2582
2796
|
"forms"
|
|
2583
2797
|
],
|
|
2584
2798
|
"group": "Forms",
|
|
2585
|
-
"themes": []
|
|
2799
|
+
"themes": [],
|
|
2800
|
+
"demoCode": "<mat-form-field [readonly]=\"readonly()\">\n <mat-label>Select (multiple)</mat-label>\n <onemrva-mat-multi-select\n [formControl]=\"form\"\n [selectionToggle]=\"selectionToggle()\"\n [showFilter]=\"showFilter()\"\n >\n @for (value of toppingList$ | async; track value) {\n <mat-option [value]=\"value\">{{ value }}</mat-option>\n }\n </onemrva-mat-multi-select>\n <mat-hint>Hint</mat-hint>\n</mat-form-field>\n"
|
|
2586
2801
|
},
|
|
2587
2802
|
{
|
|
2588
2803
|
"name": "mat-navigation",
|
|
@@ -2590,94 +2805,106 @@
|
|
|
2590
2805
|
"className": "OnemrvaMatNavigationItemComponent",
|
|
2591
2806
|
"category": "Material Components",
|
|
2592
2807
|
"path": "mat-navigation/src/mat-navigation-item/onemrva-mat-navigation-item.component.ts",
|
|
2593
|
-
"description": "Expandable navigation item with optional icon and children.
|
|
2808
|
+
"description": "Expandable navigation item with optional icon and children.",
|
|
2594
2809
|
"inputs": [
|
|
2595
2810
|
{
|
|
2596
2811
|
"name": "routerLink",
|
|
2597
2812
|
"type": "string",
|
|
2598
|
-
"description": "
|
|
2813
|
+
"description": "Route the item navigates to (exact-match `active` class); when unset, the item toggles its projected sub-menu.",
|
|
2599
2814
|
"required": false,
|
|
2600
|
-
"examples": []
|
|
2815
|
+
"examples": [],
|
|
2816
|
+
"rendered": true
|
|
2601
2817
|
},
|
|
2602
2818
|
{
|
|
2603
2819
|
"name": "routerLinkActiveOptions",
|
|
2604
2820
|
"type": "any",
|
|
2605
|
-
"description": "
|
|
2821
|
+
"description": "Currently unused; the item always matches its route exactly.",
|
|
2606
2822
|
"required": false,
|
|
2607
|
-
"examples": []
|
|
2823
|
+
"examples": [],
|
|
2824
|
+
"rendered": true
|
|
2608
2825
|
},
|
|
2609
2826
|
{
|
|
2610
2827
|
"name": "dataCy",
|
|
2611
2828
|
"type": "string",
|
|
2612
|
-
"description": "
|
|
2829
|
+
"description": "Sets the `data-cy` attribute on the item button.",
|
|
2613
2830
|
"required": false,
|
|
2614
|
-
"examples": []
|
|
2831
|
+
"examples": [],
|
|
2832
|
+
"rendered": true
|
|
2615
2833
|
},
|
|
2616
2834
|
{
|
|
2617
2835
|
"name": "baseRouteForActiveMenu",
|
|
2618
2836
|
"type": "string",
|
|
2619
|
-
"description": "
|
|
2837
|
+
"description": "Currently unused; has no effect.",
|
|
2620
2838
|
"required": false,
|
|
2621
|
-
"examples": []
|
|
2839
|
+
"examples": [],
|
|
2840
|
+
"rendered": false
|
|
2622
2841
|
},
|
|
2623
2842
|
{
|
|
2624
2843
|
"name": "icon",
|
|
2625
2844
|
"type": "string",
|
|
2626
|
-
"description": "
|
|
2845
|
+
"description": "Material icon name shown before the label.",
|
|
2627
2846
|
"required": false,
|
|
2628
|
-
"examples": []
|
|
2847
|
+
"examples": [],
|
|
2848
|
+
"rendered": true
|
|
2629
2849
|
},
|
|
2630
2850
|
{
|
|
2631
2851
|
"name": "highlighted",
|
|
2632
2852
|
"type": "boolean",
|
|
2633
|
-
"description": "
|
|
2853
|
+
"description": "Applies the highlighted style to the item.",
|
|
2634
2854
|
"required": false,
|
|
2635
|
-
"examples": []
|
|
2855
|
+
"examples": [],
|
|
2856
|
+
"rendered": true
|
|
2636
2857
|
},
|
|
2637
2858
|
{
|
|
2638
2859
|
"name": "opened",
|
|
2639
2860
|
"type": "boolean",
|
|
2640
|
-
"description": "
|
|
2861
|
+
"description": "Expands the sub-menu panel; only applies to items without `routerLink`.",
|
|
2641
2862
|
"required": false,
|
|
2642
|
-
"examples": []
|
|
2863
|
+
"examples": [],
|
|
2864
|
+
"rendered": true
|
|
2643
2865
|
},
|
|
2644
2866
|
{
|
|
2645
2867
|
"name": "children",
|
|
2646
2868
|
"type": "NavItem[]",
|
|
2647
|
-
"description": "
|
|
2869
|
+
"description": "Ignored by the item; nest items through the tree's `children` instead.",
|
|
2648
2870
|
"required": false,
|
|
2649
|
-
"examples": []
|
|
2871
|
+
"examples": [],
|
|
2872
|
+
"rendered": false
|
|
2650
2873
|
},
|
|
2651
2874
|
{
|
|
2652
2875
|
"name": "customNgClass",
|
|
2653
2876
|
"type": "any",
|
|
2654
|
-
"description": "
|
|
2877
|
+
"description": "Currently unused; has no effect.",
|
|
2655
2878
|
"required": false,
|
|
2656
|
-
"examples": []
|
|
2879
|
+
"examples": [],
|
|
2880
|
+
"rendered": false
|
|
2657
2881
|
},
|
|
2658
2882
|
{
|
|
2659
2883
|
"name": "label",
|
|
2660
2884
|
"type": "string",
|
|
2661
|
-
"description": "
|
|
2885
|
+
"description": "Item text, rendered as HTML; used as a translation key when `translate` is true.",
|
|
2662
2886
|
"defaultValue": "''",
|
|
2663
2887
|
"required": false,
|
|
2664
|
-
"examples": []
|
|
2888
|
+
"examples": [],
|
|
2889
|
+
"rendered": true
|
|
2665
2890
|
},
|
|
2666
2891
|
{
|
|
2667
2892
|
"name": "level",
|
|
2668
2893
|
"type": "number",
|
|
2669
|
-
"description": "
|
|
2894
|
+
"description": "Nesting depth used for indentation; `0` means no indent.",
|
|
2670
2895
|
"defaultValue": "0",
|
|
2671
2896
|
"required": false,
|
|
2672
|
-
"examples": []
|
|
2897
|
+
"examples": [],
|
|
2898
|
+
"rendered": false
|
|
2673
2899
|
},
|
|
2674
2900
|
{
|
|
2675
2901
|
"name": "translate",
|
|
2676
2902
|
"type": "boolean",
|
|
2677
|
-
"description": "
|
|
2903
|
+
"description": "Passes a non-empty `label` through the translate pipe; set `false` to show it as-is.",
|
|
2678
2904
|
"defaultValue": "true",
|
|
2679
2905
|
"required": false,
|
|
2680
|
-
"examples": []
|
|
2906
|
+
"examples": [],
|
|
2907
|
+
"rendered": true
|
|
2681
2908
|
}
|
|
2682
2909
|
],
|
|
2683
2910
|
"outputs": [],
|
|
@@ -2718,31 +2945,34 @@
|
|
|
2718
2945
|
"className": "OnemrvaMatNavigationTreeComponent",
|
|
2719
2946
|
"category": "Material Components",
|
|
2720
2947
|
"path": "mat-navigation/src/mat-navigation-tree/onemrva-mat-navigation-tree.component.ts",
|
|
2721
|
-
"description": "Recursive tree of navigation items.
|
|
2948
|
+
"description": "Recursive tree of navigation items.",
|
|
2722
2949
|
"inputs": [
|
|
2723
2950
|
{
|
|
2724
2951
|
"name": "items",
|
|
2725
2952
|
"type": "NavItem[]",
|
|
2726
|
-
"description": "
|
|
2953
|
+
"description": "Items rendered at this level; items with `children` render a nested tree inside their sub-menu.",
|
|
2727
2954
|
"defaultValue": "[]",
|
|
2728
2955
|
"required": false,
|
|
2729
|
-
"examples": []
|
|
2956
|
+
"examples": [],
|
|
2957
|
+
"rendered": true
|
|
2730
2958
|
},
|
|
2731
2959
|
{
|
|
2732
2960
|
"name": "level",
|
|
2733
2961
|
"type": "number",
|
|
2734
|
-
"description": "
|
|
2962
|
+
"description": "Nesting depth of this level, used for indentation; nested trees get `level + 1`.",
|
|
2735
2963
|
"defaultValue": "0",
|
|
2736
2964
|
"required": false,
|
|
2737
|
-
"examples": []
|
|
2965
|
+
"examples": [],
|
|
2966
|
+
"rendered": true
|
|
2738
2967
|
},
|
|
2739
2968
|
{
|
|
2740
2969
|
"name": "translate",
|
|
2741
2970
|
"type": "boolean",
|
|
2742
|
-
"description": "
|
|
2971
|
+
"description": "Translates the labels of this level's items; not forwarded to nested trees, which keep the default `true`.",
|
|
2743
2972
|
"defaultValue": "true",
|
|
2744
2973
|
"required": false,
|
|
2745
|
-
"examples": []
|
|
2974
|
+
"examples": [],
|
|
2975
|
+
"rendered": true
|
|
2746
2976
|
}
|
|
2747
2977
|
],
|
|
2748
2978
|
"outputs": [],
|
|
@@ -2773,31 +3003,34 @@
|
|
|
2773
3003
|
"className": "OnemrvaMatNavigationComponent",
|
|
2774
3004
|
"category": "Material Components",
|
|
2775
3005
|
"path": "mat-navigation/src/onemrva-mat-navigation.component.ts",
|
|
2776
|
-
"description": "Navigation list driven by a NavItem array.
|
|
3006
|
+
"description": "Navigation list driven by a NavItem array.",
|
|
2777
3007
|
"inputs": [
|
|
2778
3008
|
{
|
|
2779
3009
|
"name": "items",
|
|
2780
3010
|
"type": "NavItem[]",
|
|
2781
|
-
"description": "
|
|
3011
|
+
"description": "Menu tree; on each navigation the item matching the URL gets its top-level ancestor highlighted and parents opened.",
|
|
2782
3012
|
"defaultValue": "[]",
|
|
2783
3013
|
"required": false,
|
|
2784
|
-
"examples": []
|
|
3014
|
+
"examples": [],
|
|
3015
|
+
"rendered": true
|
|
2785
3016
|
},
|
|
2786
3017
|
{
|
|
2787
3018
|
"name": "level",
|
|
2788
3019
|
"type": "number",
|
|
2789
|
-
"description": "
|
|
3020
|
+
"description": "Indentation level of the top-level items; `0` means no indent.",
|
|
2790
3021
|
"defaultValue": "0",
|
|
2791
3022
|
"required": false,
|
|
2792
|
-
"examples": []
|
|
3023
|
+
"examples": [],
|
|
3024
|
+
"rendered": true
|
|
2793
3025
|
},
|
|
2794
3026
|
{
|
|
2795
3027
|
"name": "translate",
|
|
2796
3028
|
"type": "boolean",
|
|
2797
|
-
"description": "
|
|
3029
|
+
"description": "Currently has no effect: it is not passed to the tree, which always translates labels.",
|
|
2798
3030
|
"defaultValue": "true",
|
|
2799
3031
|
"required": false,
|
|
2800
|
-
"examples": []
|
|
3032
|
+
"examples": [],
|
|
3033
|
+
"rendered": false
|
|
2801
3034
|
}
|
|
2802
3035
|
],
|
|
2803
3036
|
"outputs": [],
|
|
@@ -2827,54 +3060,59 @@
|
|
|
2827
3060
|
"className": "OnemrvaMatNotificationComponent",
|
|
2828
3061
|
"category": "Material Components",
|
|
2829
3062
|
"path": "mat-notification/src/onemrva-mat-notification.component.ts",
|
|
2830
|
-
"description": "Modal dialog for confirmations, alerts, and notices.
|
|
3063
|
+
"description": "Modal dialog for confirmations, alerts, and notices.",
|
|
2831
3064
|
"inputs": [
|
|
2832
3065
|
{
|
|
2833
3066
|
"name": "message",
|
|
2834
3067
|
"type": "string",
|
|
2835
|
-
"description": "
|
|
3068
|
+
"description": "Translation key shown before the projected content; nothing rendered when empty.",
|
|
2836
3069
|
"defaultValue": "''",
|
|
2837
3070
|
"required": false,
|
|
2838
|
-
"examples": []
|
|
3071
|
+
"examples": [],
|
|
3072
|
+
"rendered": true
|
|
2839
3073
|
},
|
|
2840
3074
|
{
|
|
2841
3075
|
"name": "closable",
|
|
2842
3076
|
"type": "boolean",
|
|
2843
|
-
"description": "
|
|
3077
|
+
"description": "Shows the close icon; it is always shown on xsmall/small screens regardless.",
|
|
2844
3078
|
"defaultValue": "true",
|
|
2845
3079
|
"required": false,
|
|
2846
|
-
"examples": []
|
|
3080
|
+
"examples": [],
|
|
3081
|
+
"rendered": true
|
|
2847
3082
|
},
|
|
2848
3083
|
{
|
|
2849
3084
|
"name": "id",
|
|
2850
3085
|
"type": "string",
|
|
2851
|
-
"description": "
|
|
3086
|
+
"description": "id attribute of the host element.",
|
|
2852
3087
|
"defaultValue": "'onemrva-mat-notification'",
|
|
2853
3088
|
"required": false,
|
|
2854
|
-
"examples": []
|
|
3089
|
+
"examples": [],
|
|
3090
|
+
"rendered": false
|
|
2855
3091
|
},
|
|
2856
3092
|
{
|
|
2857
3093
|
"name": "dataCy",
|
|
2858
3094
|
"type": "string",
|
|
2859
|
-
"description": "
|
|
3095
|
+
"description": "data-cy attribute of the host element for tests.",
|
|
2860
3096
|
"defaultValue": "'onemrva-mat-notification'",
|
|
2861
3097
|
"required": false,
|
|
2862
|
-
"examples": []
|
|
3098
|
+
"examples": [],
|
|
3099
|
+
"rendered": false
|
|
2863
3100
|
},
|
|
2864
3101
|
{
|
|
2865
3102
|
"name": "isOpen",
|
|
2866
3103
|
"type": "boolean",
|
|
2867
|
-
"description": "
|
|
3104
|
+
"description": "Two-way visibility; false hides the notification, set to false when the close icon is clicked.",
|
|
2868
3105
|
"defaultValue": "true",
|
|
2869
3106
|
"required": false,
|
|
2870
|
-
"examples": []
|
|
3107
|
+
"examples": [],
|
|
3108
|
+
"rendered": false
|
|
2871
3109
|
}
|
|
2872
3110
|
],
|
|
2873
3111
|
"outputs": [
|
|
2874
3112
|
{
|
|
2875
3113
|
"name": "notificationClose",
|
|
2876
3114
|
"type": "OutputEmitter<void>",
|
|
2877
|
-
"description": "
|
|
3115
|
+
"description": "Emits when the user clicks the close icon."
|
|
2878
3116
|
}
|
|
2879
3117
|
],
|
|
2880
3118
|
"methods": [],
|
|
@@ -2913,96 +3151,107 @@
|
|
|
2913
3151
|
"className": "OnemrvaMatPaginatorComponent",
|
|
2914
3152
|
"category": "Material Components",
|
|
2915
3153
|
"path": "mat-paginator/src/onemrva-mat-paginator.component.ts",
|
|
2916
|
-
"description": "Pagination controls with configurable page-size selector.
|
|
3154
|
+
"description": "Pagination controls with configurable page-size selector.",
|
|
2917
3155
|
"inputs": [
|
|
2918
3156
|
{
|
|
2919
3157
|
"name": "pageIndex",
|
|
2920
3158
|
"type": "number",
|
|
2921
|
-
"description": "
|
|
3159
|
+
"description": "Zero-based current page; changing it emits `page`. Throws if not an integer, negative or out of range.",
|
|
2922
3160
|
"required": false,
|
|
2923
|
-
"examples": []
|
|
3161
|
+
"examples": [],
|
|
3162
|
+
"rendered": true
|
|
2924
3163
|
},
|
|
2925
3164
|
{
|
|
2926
3165
|
"name": "length",
|
|
2927
3166
|
"type": "number",
|
|
2928
|
-
"description": "
|
|
3167
|
+
"description": "Total number of items, used to compute the page count and the displayed range.",
|
|
2929
3168
|
"required": false,
|
|
2930
|
-
"examples": []
|
|
3169
|
+
"examples": [],
|
|
3170
|
+
"rendered": true
|
|
2931
3171
|
},
|
|
2932
3172
|
{
|
|
2933
3173
|
"name": "pageSize",
|
|
2934
3174
|
"type": "number",
|
|
2935
|
-
"description": "
|
|
3175
|
+
"description": "Items per page (non-negative integer); changing it resets to the first page and emits `page`. Defaults to 10.",
|
|
2936
3176
|
"required": false,
|
|
2937
|
-
"examples": []
|
|
3177
|
+
"examples": [],
|
|
3178
|
+
"rendered": true
|
|
2938
3179
|
},
|
|
2939
3180
|
{
|
|
2940
3181
|
"name": "type",
|
|
2941
3182
|
"type": "'default' | 'complex'",
|
|
2942
|
-
"description": "
|
|
3183
|
+
"description": "Pagination layout; `complex` adds direct buttons to the first and last page. Defaults to `default`.",
|
|
2943
3184
|
"defaultValue": "'default'",
|
|
2944
3185
|
"required": false,
|
|
2945
|
-
"examples": []
|
|
3186
|
+
"examples": [],
|
|
3187
|
+
"rendered": true
|
|
2946
3188
|
},
|
|
2947
3189
|
{
|
|
2948
3190
|
"name": "pageSizeOptions",
|
|
2949
3191
|
"type": "number[]",
|
|
2950
|
-
"description": "
|
|
3192
|
+
"description": "Choices offered in the page-size select; the select is hidden when fewer than two are given.",
|
|
2951
3193
|
"defaultValue": "[10, 20, 50, 100]",
|
|
2952
3194
|
"required": false,
|
|
2953
|
-
"examples": []
|
|
3195
|
+
"examples": [],
|
|
3196
|
+
"rendered": true
|
|
2954
3197
|
},
|
|
2955
3198
|
{
|
|
2956
3199
|
"name": "pageSizeSelector",
|
|
2957
3200
|
"type": "boolean",
|
|
2958
|
-
"description": "
|
|
3201
|
+
"description": "Shows the page-size select and the \"x - y out of total\" summary. Defaults to `true`.",
|
|
2959
3202
|
"defaultValue": "true",
|
|
2960
3203
|
"required": false,
|
|
2961
|
-
"examples": []
|
|
3204
|
+
"examples": [],
|
|
3205
|
+
"rendered": true
|
|
2962
3206
|
},
|
|
2963
3207
|
{
|
|
2964
3208
|
"name": "pageSizeDefaultOption",
|
|
2965
3209
|
"type": "number",
|
|
2966
|
-
"description": "
|
|
3210
|
+
"description": "Currently has no effect: it is read before inputs are bound, so the initial page size stays 10.",
|
|
2967
3211
|
"defaultValue": "10",
|
|
2968
3212
|
"required": false,
|
|
2969
|
-
"examples": []
|
|
3213
|
+
"examples": [],
|
|
3214
|
+
"rendered": false
|
|
2970
3215
|
},
|
|
2971
3216
|
{
|
|
2972
3217
|
"name": "recordKey",
|
|
2973
3218
|
"type": "string",
|
|
2974
|
-
"description": "
|
|
3219
|
+
"description": "Translation key, under `paginator.`, of the label next to the page-size select.",
|
|
2975
3220
|
"defaultValue": "'recordsPerPage'",
|
|
2976
3221
|
"required": false,
|
|
2977
|
-
"examples": []
|
|
3222
|
+
"examples": [],
|
|
3223
|
+
"rendered": true
|
|
2978
3224
|
},
|
|
2979
3225
|
{
|
|
2980
3226
|
"name": "previousKey",
|
|
2981
3227
|
"type": "string",
|
|
2982
|
-
"description": "
|
|
3228
|
+
"description": "Translation key, under `paginator.`, of the previous-page button label.",
|
|
2983
3229
|
"defaultValue": "'Previous'",
|
|
2984
3230
|
"required": false,
|
|
2985
|
-
"examples": []
|
|
3231
|
+
"examples": [],
|
|
3232
|
+
"rendered": true
|
|
2986
3233
|
},
|
|
2987
3234
|
{
|
|
2988
3235
|
"name": "nextKey",
|
|
2989
3236
|
"type": "string",
|
|
2990
|
-
"description": "
|
|
3237
|
+
"description": "Translation key, under `paginator.`, of the next-page button label.",
|
|
2991
3238
|
"defaultValue": "'Next'",
|
|
2992
3239
|
"required": false,
|
|
2993
|
-
"examples": []
|
|
3240
|
+
"examples": [],
|
|
3241
|
+
"rendered": true
|
|
2994
3242
|
}
|
|
2995
3243
|
],
|
|
2996
3244
|
"outputs": [
|
|
2997
3245
|
{
|
|
2998
3246
|
"name": "onRequestPage",
|
|
2999
3247
|
"type": "OutputEmitter<number>",
|
|
3000
|
-
"description": "Output event `onRequestPage` emits `OutputEmitter<number>`."
|
|
3248
|
+
"description": "Output event `onRequestPage` emits `OutputEmitter<number>`.",
|
|
3249
|
+
"deprecated": "Use `page`. Emits the zero-based page index."
|
|
3001
3250
|
},
|
|
3002
3251
|
{
|
|
3003
3252
|
"name": "page",
|
|
3004
3253
|
"type": "OutputEmitter<PageEvent>",
|
|
3005
|
-
"description": "
|
|
3254
|
+
"description": "Event emitted when the paginator changes the page size or page index."
|
|
3006
3255
|
}
|
|
3007
3256
|
],
|
|
3008
3257
|
"methods": [
|
|
@@ -3044,15 +3293,16 @@
|
|
|
3044
3293
|
"className": "OnemrvaMatPanelBlockComponent",
|
|
3045
3294
|
"category": "Material Components",
|
|
3046
3295
|
"path": "mat-panel/src/onemrva-mat-panel-block.component.ts",
|
|
3047
|
-
"description": "Content slot inside an onemrva-mat-panel.
|
|
3296
|
+
"description": "Content slot inside an onemrva-mat-panel.",
|
|
3048
3297
|
"inputs": [
|
|
3049
3298
|
{
|
|
3050
3299
|
"name": "isTitle",
|
|
3051
3300
|
"type": "boolean",
|
|
3052
|
-
"description": "
|
|
3301
|
+
"description": "Styles the block as a headline title when true.",
|
|
3053
3302
|
"defaultValue": "false",
|
|
3054
3303
|
"required": false,
|
|
3055
|
-
"examples": []
|
|
3304
|
+
"examples": [],
|
|
3305
|
+
"rendered": false
|
|
3056
3306
|
}
|
|
3057
3307
|
],
|
|
3058
3308
|
"outputs": [],
|
|
@@ -3097,23 +3347,25 @@
|
|
|
3097
3347
|
"className": "OnemrvaMatPanelContentComponent",
|
|
3098
3348
|
"category": "Material Components",
|
|
3099
3349
|
"path": "mat-panel/src/onemrva-mat-panel-content.component.ts",
|
|
3100
|
-
"description": "Content slot inside an onemrva-mat-panel.
|
|
3350
|
+
"description": "Content slot inside an onemrva-mat-panel.",
|
|
3101
3351
|
"inputs": [
|
|
3102
3352
|
{
|
|
3103
3353
|
"name": "customNgClass",
|
|
3104
3354
|
"type": "any",
|
|
3105
|
-
"description": "
|
|
3355
|
+
"description": "Extra classes for the content wrapper, in any ngClass format.",
|
|
3106
3356
|
"defaultValue": "false",
|
|
3107
3357
|
"required": false,
|
|
3108
|
-
"examples": []
|
|
3358
|
+
"examples": [],
|
|
3359
|
+
"rendered": true
|
|
3109
3360
|
},
|
|
3110
3361
|
{
|
|
3111
3362
|
"name": "hasBlocks",
|
|
3112
3363
|
"type": "boolean",
|
|
3113
|
-
"description": "
|
|
3364
|
+
"description": "Lays out the content as a centred flex row, for panel blocks.",
|
|
3114
3365
|
"defaultValue": "false",
|
|
3115
3366
|
"required": false,
|
|
3116
|
-
"examples": []
|
|
3367
|
+
"examples": [],
|
|
3368
|
+
"rendered": true
|
|
3117
3369
|
}
|
|
3118
3370
|
],
|
|
3119
3371
|
"outputs": [],
|
|
@@ -3150,14 +3402,15 @@
|
|
|
3150
3402
|
"className": "OnemrvaMatPanelIconComponent",
|
|
3151
3403
|
"category": "Material Components",
|
|
3152
3404
|
"path": "mat-panel/src/onemrva-mat-panel-icon.component.ts",
|
|
3153
|
-
"description": "Icon slot inside an onemrva-mat-panel header.
|
|
3405
|
+
"description": "Icon slot inside an onemrva-mat-panel header.",
|
|
3154
3406
|
"inputs": [
|
|
3155
3407
|
{
|
|
3156
3408
|
"name": "customNgClass",
|
|
3157
3409
|
"type": "any",
|
|
3158
|
-
"description": "
|
|
3410
|
+
"description": "Extra classes for the icon wrapper, in any ngClass format.",
|
|
3159
3411
|
"required": false,
|
|
3160
|
-
"examples": []
|
|
3412
|
+
"examples": [],
|
|
3413
|
+
"rendered": true
|
|
3161
3414
|
}
|
|
3162
3415
|
],
|
|
3163
3416
|
"outputs": [],
|
|
@@ -3194,14 +3447,15 @@
|
|
|
3194
3447
|
"className": "OnemrvaMatPanelTitleActionComponent",
|
|
3195
3448
|
"category": "Material Components",
|
|
3196
3449
|
"path": "mat-panel/src/onemrva-mat-panel-title-action.component.ts",
|
|
3197
|
-
"description": "Action button projected into an onemrva-mat-panel title.
|
|
3450
|
+
"description": "Action button projected into an onemrva-mat-panel title.",
|
|
3198
3451
|
"inputs": [
|
|
3199
3452
|
{
|
|
3200
3453
|
"name": "customNgClass",
|
|
3201
3454
|
"type": "any",
|
|
3202
|
-
"description": "
|
|
3455
|
+
"description": "Extra classes for the action wrapper, in any ngClass format.",
|
|
3203
3456
|
"required": false,
|
|
3204
|
-
"examples": []
|
|
3457
|
+
"examples": [],
|
|
3458
|
+
"rendered": true
|
|
3205
3459
|
}
|
|
3206
3460
|
],
|
|
3207
3461
|
"outputs": [],
|
|
@@ -3239,14 +3493,15 @@
|
|
|
3239
3493
|
"className": "OnemrvaMatPanelTitleComponent",
|
|
3240
3494
|
"category": "Material Components",
|
|
3241
3495
|
"path": "mat-panel/src/onemrva-mat-panel-title.component.ts",
|
|
3242
|
-
"description": "Title slot for an onemrva-mat-panel header.
|
|
3496
|
+
"description": "Title slot for an onemrva-mat-panel header.",
|
|
3243
3497
|
"inputs": [
|
|
3244
3498
|
{
|
|
3245
3499
|
"name": "customNgClass",
|
|
3246
3500
|
"type": "any",
|
|
3247
|
-
"description": "
|
|
3501
|
+
"description": "Extra classes for the title wrapper, in any ngClass format.",
|
|
3248
3502
|
"required": false,
|
|
3249
|
-
"examples": []
|
|
3503
|
+
"examples": [],
|
|
3504
|
+
"rendered": true
|
|
3250
3505
|
}
|
|
3251
3506
|
],
|
|
3252
3507
|
"outputs": [],
|
|
@@ -3284,54 +3539,59 @@
|
|
|
3284
3539
|
"className": "OnemrvaMatPanelComponent",
|
|
3285
3540
|
"category": "Material Components",
|
|
3286
3541
|
"path": "mat-panel/src/onemrva-mat-panel.component.ts",
|
|
3287
|
-
"description": "Collapsible expansion panel (accordion item) with header and body slots.
|
|
3542
|
+
"description": "Collapsible expansion panel (accordion item) with header and body slots.",
|
|
3288
3543
|
"inputs": [
|
|
3289
3544
|
{
|
|
3290
3545
|
"name": "expanded",
|
|
3291
3546
|
"type": "boolean",
|
|
3292
|
-
"description": "
|
|
3547
|
+
"description": "Whether an expandable panel is open; defaults to true.",
|
|
3293
3548
|
"defaultValue": "true",
|
|
3294
3549
|
"required": false,
|
|
3295
|
-
"examples": []
|
|
3550
|
+
"examples": [],
|
|
3551
|
+
"rendered": true
|
|
3296
3552
|
},
|
|
3297
3553
|
{
|
|
3298
3554
|
"name": "id",
|
|
3299
3555
|
"type": "any",
|
|
3300
|
-
"description": "
|
|
3556
|
+
"description": "Host id attribute; auto-generated as onemrva-mat-panel-N by default.",
|
|
3301
3557
|
"defaultValue": "`onemrva-mat-panel-${NEXT_ID++}`",
|
|
3302
3558
|
"required": false,
|
|
3303
|
-
"examples": []
|
|
3559
|
+
"examples": [],
|
|
3560
|
+
"rendered": false
|
|
3304
3561
|
},
|
|
3305
3562
|
{
|
|
3306
3563
|
"name": "data_cy",
|
|
3307
3564
|
"type": "string",
|
|
3308
|
-
"description": "
|
|
3565
|
+
"description": "Host data-cy attribute; defaults to 'onemrva-mat-panel'.",
|
|
3309
3566
|
"defaultValue": "'onemrva-mat-panel'",
|
|
3310
3567
|
"required": false,
|
|
3311
|
-
"examples": []
|
|
3568
|
+
"examples": [],
|
|
3569
|
+
"rendered": false
|
|
3312
3570
|
},
|
|
3313
3571
|
{
|
|
3314
3572
|
"name": "disabled",
|
|
3315
3573
|
"type": "boolean",
|
|
3316
|
-
"description": "
|
|
3574
|
+
"description": "Adds the mat-disabled host class; does not prevent expanding.",
|
|
3317
3575
|
"defaultValue": "false",
|
|
3318
3576
|
"required": false,
|
|
3319
|
-
"examples": []
|
|
3577
|
+
"examples": [],
|
|
3578
|
+
"rendered": false
|
|
3320
3579
|
},
|
|
3321
3580
|
{
|
|
3322
3581
|
"name": "expandable",
|
|
3323
3582
|
"type": "boolean",
|
|
3324
|
-
"description": "
|
|
3583
|
+
"description": "Makes the panel collapsible via its title; when false, content is always shown.",
|
|
3325
3584
|
"defaultValue": "false",
|
|
3326
3585
|
"required": false,
|
|
3327
|
-
"examples": []
|
|
3586
|
+
"examples": [],
|
|
3587
|
+
"rendered": true
|
|
3328
3588
|
}
|
|
3329
3589
|
],
|
|
3330
3590
|
"outputs": [
|
|
3331
3591
|
{
|
|
3332
3592
|
"name": "expandedChange",
|
|
3333
3593
|
"type": "OutputEmitter<boolean>",
|
|
3334
|
-
"description": "
|
|
3594
|
+
"description": "Emits the new open state when the user expands or collapses an expandable panel."
|
|
3335
3595
|
}
|
|
3336
3596
|
],
|
|
3337
3597
|
"methods": [],
|
|
@@ -3365,12 +3625,12 @@
|
|
|
3365
3625
|
"className": "OnemrvaMatPopOverContentComponent",
|
|
3366
3626
|
"category": "Material Components",
|
|
3367
3627
|
"path": "mat-pop-over/src/onemrva-mat-pop-over-content.component.ts",
|
|
3368
|
-
"description": "Content slot projected inside an onemrva-mat-pop-over.
|
|
3628
|
+
"description": "Content slot projected inside an onemrva-mat-pop-over.",
|
|
3369
3629
|
"inputs": [
|
|
3370
3630
|
{
|
|
3371
3631
|
"name": "dataCy",
|
|
3372
3632
|
"type": "any",
|
|
3373
|
-
"description": "
|
|
3633
|
+
"description": "Not rendered anywhere; use dataCyPo on onemrva-mat-pop-over to tag the panel.",
|
|
3374
3634
|
"defaultValue": "`onemrvaMatPopOverContent_${++index}`",
|
|
3375
3635
|
"required": false,
|
|
3376
3636
|
"examples": []
|
|
@@ -3402,12 +3662,12 @@
|
|
|
3402
3662
|
"className": "OnemrvaMatPopOverTriggerComponent",
|
|
3403
3663
|
"category": "Material Components",
|
|
3404
3664
|
"path": "mat-pop-over/src/onemrva-mat-pop-over-trigger.component.ts",
|
|
3405
|
-
"description": "Trigger element that opens an onemrva-mat-pop-over.
|
|
3665
|
+
"description": "Trigger element that opens an onemrva-mat-pop-over.",
|
|
3406
3666
|
"inputs": [
|
|
3407
3667
|
{
|
|
3408
3668
|
"name": "dataCy",
|
|
3409
3669
|
"type": "any",
|
|
3410
|
-
"description": "
|
|
3670
|
+
"description": "Not rendered anywhere; use dataCyTrigger on onemrva-mat-pop-over to tag the trigger.",
|
|
3411
3671
|
"defaultValue": "`onemrvaMatPopOverTrigger_${++index}`",
|
|
3412
3672
|
"required": false,
|
|
3413
3673
|
"examples": []
|
|
@@ -3439,39 +3699,43 @@
|
|
|
3439
3699
|
"className": "OnemrvaMatPopOverComponent",
|
|
3440
3700
|
"category": "Material Components",
|
|
3441
3701
|
"path": "mat-pop-over/src/onemrva-mat-pop-over.component.ts",
|
|
3442
|
-
"description": "Anchored popover overlay with configurable position.
|
|
3702
|
+
"description": "Anchored popover overlay with configurable position.",
|
|
3443
3703
|
"inputs": [
|
|
3444
3704
|
{
|
|
3445
3705
|
"name": "position",
|
|
3446
3706
|
"type": "'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'",
|
|
3447
|
-
"description": "
|
|
3707
|
+
"description": "Where the panel opens: top-* above the trigger, bottom-* below, *-left extends leftwards; default bottom-right.",
|
|
3448
3708
|
"defaultValue": "'bottom-right'",
|
|
3449
3709
|
"required": false,
|
|
3450
|
-
"examples": []
|
|
3710
|
+
"examples": [],
|
|
3711
|
+
"rendered": true
|
|
3451
3712
|
},
|
|
3452
3713
|
{
|
|
3453
3714
|
"name": "poId",
|
|
3454
3715
|
"type": "string",
|
|
3455
|
-
"description": "
|
|
3716
|
+
"description": "id of the trigger link, referenced by the panel's aria-labelledby; auto-generated by default.",
|
|
3456
3717
|
"defaultValue": "this.dataCyPo + '-' + NEXT_ID++",
|
|
3457
3718
|
"required": false,
|
|
3458
|
-
"examples": []
|
|
3719
|
+
"examples": [],
|
|
3720
|
+
"rendered": true
|
|
3459
3721
|
},
|
|
3460
3722
|
{
|
|
3461
3723
|
"name": "dataCyTrigger",
|
|
3462
3724
|
"type": "string",
|
|
3463
|
-
"description": "
|
|
3725
|
+
"description": "data-cy attribute of the trigger link for tests.",
|
|
3464
3726
|
"defaultValue": "'onemrva-po-trigger'",
|
|
3465
3727
|
"required": false,
|
|
3466
|
-
"examples": []
|
|
3728
|
+
"examples": [],
|
|
3729
|
+
"rendered": true
|
|
3467
3730
|
},
|
|
3468
3731
|
{
|
|
3469
3732
|
"name": "dataCyPo",
|
|
3470
3733
|
"type": "string",
|
|
3471
|
-
"description": "
|
|
3734
|
+
"description": "data-cy attribute of the open panel for tests.",
|
|
3472
3735
|
"defaultValue": "'onemrva-po'",
|
|
3473
3736
|
"required": false,
|
|
3474
|
-
"examples": []
|
|
3737
|
+
"examples": [],
|
|
3738
|
+
"rendered": true
|
|
3475
3739
|
}
|
|
3476
3740
|
],
|
|
3477
3741
|
"outputs": [],
|
|
@@ -3510,38 +3774,42 @@
|
|
|
3510
3774
|
"className": "OnemrvaMatProgressBarComponent",
|
|
3511
3775
|
"category": "Material Components",
|
|
3512
3776
|
"path": "mat-progress-bar/src/onemrva-mat-progress-bar.component.ts",
|
|
3513
|
-
"description": "Horizontal progress bar with percentage label and success state.
|
|
3777
|
+
"description": "Horizontal progress bar with percentage label and success state.",
|
|
3514
3778
|
"inputs": [
|
|
3515
3779
|
{
|
|
3516
3780
|
"name": "label",
|
|
3517
3781
|
"type": "string",
|
|
3518
|
-
"description": "
|
|
3782
|
+
"description": "Text shown above the bar; when empty, the percentage is shown instead.",
|
|
3519
3783
|
"defaultValue": "''",
|
|
3520
3784
|
"required": false,
|
|
3521
|
-
"examples": []
|
|
3785
|
+
"examples": [],
|
|
3786
|
+
"rendered": false
|
|
3522
3787
|
},
|
|
3523
3788
|
{
|
|
3524
3789
|
"name": "value",
|
|
3525
3790
|
"type": "number",
|
|
3526
|
-
"description": "
|
|
3791
|
+
"description": "Progress in percent, clamped to 0-100; at 100 the bar switches to the success style.",
|
|
3527
3792
|
"required": true,
|
|
3528
|
-
"examples": []
|
|
3793
|
+
"examples": [],
|
|
3794
|
+
"rendered": true
|
|
3529
3795
|
},
|
|
3530
3796
|
{
|
|
3531
3797
|
"name": "dataCy",
|
|
3532
3798
|
"type": "string",
|
|
3533
|
-
"description": "
|
|
3799
|
+
"description": "`data-cy` attribute set on the filled bar; defaults to `onemrva-mat-progress-bar`.",
|
|
3534
3800
|
"defaultValue": "'onemrva-mat-progress-bar'",
|
|
3535
3801
|
"required": false,
|
|
3536
|
-
"examples": []
|
|
3802
|
+
"examples": [],
|
|
3803
|
+
"rendered": true
|
|
3537
3804
|
},
|
|
3538
3805
|
{
|
|
3539
3806
|
"name": "ariaLabel",
|
|
3540
3807
|
"type": "string",
|
|
3541
|
-
"description": "
|
|
3808
|
+
"description": "`aria-label` of the host progressbar element; defaults to `progress bar`.",
|
|
3542
3809
|
"defaultValue": "'progress bar'",
|
|
3543
3810
|
"required": false,
|
|
3544
|
-
"examples": []
|
|
3811
|
+
"examples": [],
|
|
3812
|
+
"rendered": false
|
|
3545
3813
|
}
|
|
3546
3814
|
],
|
|
3547
3815
|
"outputs": [],
|
|
@@ -3573,7 +3841,7 @@
|
|
|
3573
3841
|
"className": "MatSelectSearchComponent",
|
|
3574
3842
|
"category": "Material Components",
|
|
3575
3843
|
"path": "mat-select-search/src/mat-select-search.component.ts",
|
|
3576
|
-
"description": "Search input control embedded in mat-select dropdown panels.
|
|
3844
|
+
"description": "Search input control embedded in mat-select dropdown panels.",
|
|
3577
3845
|
"inputs": [
|
|
3578
3846
|
{
|
|
3579
3847
|
"name": "toggleAllCheckboxTooltipPosition",
|
|
@@ -3581,7 +3849,8 @@
|
|
|
3581
3849
|
"description": "Define the position of the tooltip on the toggle-all checkbox.",
|
|
3582
3850
|
"defaultValue": "'below'",
|
|
3583
3851
|
"required": false,
|
|
3584
|
-
"examples": []
|
|
3852
|
+
"examples": [],
|
|
3853
|
+
"rendered": true
|
|
3585
3854
|
},
|
|
3586
3855
|
{
|
|
3587
3856
|
"name": "placeholderLabel",
|
|
@@ -3589,7 +3858,8 @@
|
|
|
3589
3858
|
"description": "Label of the search placeholder",
|
|
3590
3859
|
"defaultValue": "'Search'",
|
|
3591
3860
|
"required": false,
|
|
3592
|
-
"examples": []
|
|
3861
|
+
"examples": [],
|
|
3862
|
+
"rendered": true
|
|
3593
3863
|
},
|
|
3594
3864
|
{
|
|
3595
3865
|
"name": "type",
|
|
@@ -3597,7 +3867,8 @@
|
|
|
3597
3867
|
"description": "Type of the search input field",
|
|
3598
3868
|
"defaultValue": "'text'",
|
|
3599
3869
|
"required": false,
|
|
3600
|
-
"examples": []
|
|
3870
|
+
"examples": [],
|
|
3871
|
+
"rendered": true
|
|
3601
3872
|
},
|
|
3602
3873
|
{
|
|
3603
3874
|
"name": "closeIcon",
|
|
@@ -3605,7 +3876,8 @@
|
|
|
3605
3876
|
"description": "Font-based icon used for displaying Close-Icon",
|
|
3606
3877
|
"defaultValue": "'close'",
|
|
3607
3878
|
"required": false,
|
|
3608
|
-
"examples": []
|
|
3879
|
+
"examples": [],
|
|
3880
|
+
"rendered": true
|
|
3609
3881
|
},
|
|
3610
3882
|
{
|
|
3611
3883
|
"name": "closeSvgIcon",
|
|
@@ -3613,7 +3885,8 @@
|
|
|
3613
3885
|
"description": "Svg-based icon used for displaying Close-Icon. If set, closeIcon is overridden",
|
|
3614
3886
|
"defaultValue": "''",
|
|
3615
3887
|
"required": false,
|
|
3616
|
-
"examples": []
|
|
3888
|
+
"examples": [],
|
|
3889
|
+
"rendered": true
|
|
3617
3890
|
},
|
|
3618
3891
|
{
|
|
3619
3892
|
"name": "noEntriesFoundLabel",
|
|
@@ -3621,7 +3894,8 @@
|
|
|
3621
3894
|
"description": "Label to be shown when no entries are found. Set to null if no message should be shown.",
|
|
3622
3895
|
"defaultValue": "'Nothing found'",
|
|
3623
3896
|
"required": false,
|
|
3624
|
-
"examples": []
|
|
3897
|
+
"examples": [],
|
|
3898
|
+
"rendered": true
|
|
3625
3899
|
},
|
|
3626
3900
|
{
|
|
3627
3901
|
"name": "clearSearchInput",
|
|
@@ -3629,7 +3903,8 @@
|
|
|
3629
3903
|
"description": "Whether or not the search field should be cleared after the dropdown menu is closed.",
|
|
3630
3904
|
"defaultValue": "true",
|
|
3631
3905
|
"required": false,
|
|
3632
|
-
"examples": []
|
|
3906
|
+
"examples": [],
|
|
3907
|
+
"rendered": false
|
|
3633
3908
|
},
|
|
3634
3909
|
{
|
|
3635
3910
|
"name": "searching",
|
|
@@ -3637,7 +3912,8 @@
|
|
|
3637
3912
|
"description": "Whether to show the search-in-progress indicator",
|
|
3638
3913
|
"defaultValue": "false",
|
|
3639
3914
|
"required": false,
|
|
3640
|
-
"examples": []
|
|
3915
|
+
"examples": [],
|
|
3916
|
+
"rendered": true
|
|
3641
3917
|
},
|
|
3642
3918
|
{
|
|
3643
3919
|
"name": "disableInitialFocus",
|
|
@@ -3645,7 +3921,8 @@
|
|
|
3645
3921
|
"description": "Disables initial focusing of the input field",
|
|
3646
3922
|
"defaultValue": "false",
|
|
3647
3923
|
"required": false,
|
|
3648
|
-
"examples": []
|
|
3924
|
+
"examples": [],
|
|
3925
|
+
"rendered": false
|
|
3649
3926
|
},
|
|
3650
3927
|
{
|
|
3651
3928
|
"name": "enableClearOnEscapePressed",
|
|
@@ -3653,7 +3930,8 @@
|
|
|
3653
3930
|
"description": "Enable clear input on escape pressed",
|
|
3654
3931
|
"defaultValue": "false",
|
|
3655
3932
|
"required": false,
|
|
3656
|
-
"examples": []
|
|
3933
|
+
"examples": [],
|
|
3934
|
+
"rendered": false
|
|
3657
3935
|
},
|
|
3658
3936
|
{
|
|
3659
3937
|
"name": "preventHomeEndKeyPropagation",
|
|
@@ -3661,7 +3939,8 @@
|
|
|
3661
3939
|
"description": "Prevents home / end key being propagated to mat-select, allowing to move the cursor within the search input instead of navigating the options",
|
|
3662
3940
|
"defaultValue": "false",
|
|
3663
3941
|
"required": false,
|
|
3664
|
-
"examples": []
|
|
3942
|
+
"examples": [],
|
|
3943
|
+
"rendered": false
|
|
3665
3944
|
},
|
|
3666
3945
|
{
|
|
3667
3946
|
"name": "disableScrollToActiveOnOptionsChanged",
|
|
@@ -3669,7 +3948,8 @@
|
|
|
3669
3948
|
"description": "Disables scrolling to active options when option list changes. Useful for server-side search",
|
|
3670
3949
|
"defaultValue": "false",
|
|
3671
3950
|
"required": false,
|
|
3672
|
-
"examples": []
|
|
3951
|
+
"examples": [],
|
|
3952
|
+
"rendered": false
|
|
3673
3953
|
},
|
|
3674
3954
|
{
|
|
3675
3955
|
"name": "ariaLabel",
|
|
@@ -3677,7 +3957,8 @@
|
|
|
3677
3957
|
"description": "Adds 508 screen reader support for search box",
|
|
3678
3958
|
"defaultValue": "'dropdown search'",
|
|
3679
3959
|
"required": false,
|
|
3680
|
-
"examples": []
|
|
3960
|
+
"examples": [],
|
|
3961
|
+
"rendered": true
|
|
3681
3962
|
},
|
|
3682
3963
|
{
|
|
3683
3964
|
"name": "showToggleAllCheckbox",
|
|
@@ -3685,7 +3966,8 @@
|
|
|
3685
3966
|
"description": "Whether to show Select All Checkbox (for mat-select[multi=true])",
|
|
3686
3967
|
"defaultValue": "false",
|
|
3687
3968
|
"required": false,
|
|
3688
|
-
"examples": []
|
|
3969
|
+
"examples": [],
|
|
3970
|
+
"rendered": false
|
|
3689
3971
|
},
|
|
3690
3972
|
{
|
|
3691
3973
|
"name": "toggleAllCheckboxChecked",
|
|
@@ -3693,7 +3975,8 @@
|
|
|
3693
3975
|
"description": "select all checkbox checked state",
|
|
3694
3976
|
"defaultValue": "false",
|
|
3695
3977
|
"required": false,
|
|
3696
|
-
"examples": []
|
|
3978
|
+
"examples": [],
|
|
3979
|
+
"rendered": true
|
|
3697
3980
|
},
|
|
3698
3981
|
{
|
|
3699
3982
|
"name": "toggleAllCheckboxIndeterminate",
|
|
@@ -3701,7 +3984,8 @@
|
|
|
3701
3984
|
"description": "select all checkbox indeterminate state",
|
|
3702
3985
|
"defaultValue": "false",
|
|
3703
3986
|
"required": false,
|
|
3704
|
-
"examples": []
|
|
3987
|
+
"examples": [],
|
|
3988
|
+
"rendered": true
|
|
3705
3989
|
},
|
|
3706
3990
|
{
|
|
3707
3991
|
"name": "toggleAllCheckboxTooltipMessage",
|
|
@@ -3709,7 +3993,8 @@
|
|
|
3709
3993
|
"description": "Display a message in a tooltip on the toggle-all checkbox",
|
|
3710
3994
|
"defaultValue": "''",
|
|
3711
3995
|
"required": false,
|
|
3712
|
-
"examples": []
|
|
3996
|
+
"examples": [],
|
|
3997
|
+
"rendered": true
|
|
3713
3998
|
},
|
|
3714
3999
|
{
|
|
3715
4000
|
"name": "hideClearSearchButton",
|
|
@@ -3717,7 +4002,8 @@
|
|
|
3717
4002
|
"description": "Show/Hide the search clear button of the search input",
|
|
3718
4003
|
"defaultValue": "false",
|
|
3719
4004
|
"required": false,
|
|
3720
|
-
"examples": []
|
|
4005
|
+
"examples": [],
|
|
4006
|
+
"rendered": true
|
|
3721
4007
|
},
|
|
3722
4008
|
{
|
|
3723
4009
|
"name": "alwaysRestoreSelectedOptionsMulti",
|
|
@@ -3725,14 +4011,15 @@
|
|
|
3725
4011
|
"description": "Always restore selected options on selectionChange for mode multi (e.g. for lazy loading/infinity scrolling). Defaults to false, so selected options are only restored while filtering is active.",
|
|
3726
4012
|
"defaultValue": "false",
|
|
3727
4013
|
"required": false,
|
|
3728
|
-
"examples": []
|
|
4014
|
+
"examples": [],
|
|
4015
|
+
"rendered": false
|
|
3729
4016
|
}
|
|
3730
4017
|
],
|
|
3731
4018
|
"outputs": [
|
|
3732
4019
|
{
|
|
3733
4020
|
"name": "toggleAll",
|
|
3734
4021
|
"type": "OutputEmitter<boolean>",
|
|
3735
|
-
"description": "Output
|
|
4022
|
+
"description": "Output emitter to send to parent component with the toggle all boolean"
|
|
3736
4023
|
}
|
|
3737
4024
|
],
|
|
3738
4025
|
"methods": [
|
|
@@ -3789,7 +4076,8 @@
|
|
|
3789
4076
|
"forms"
|
|
3790
4077
|
],
|
|
3791
4078
|
"group": "Forms",
|
|
3792
|
-
"themes": []
|
|
4079
|
+
"themes": [],
|
|
4080
|
+
"demoCode": "<mat-form-field [readonly]=\"readonly()\">\n <mat-label>Select (single with filter)</mat-label>\n <mat-select [placeholder]=\"'Search here' | translate\" [formControl]=\"form\">\n <mat-option>\n <mat-select-search\n [formControl]=\"filterCtrl\"\n ariaLabel=\"{{ 'filter select' | translate }}\"\n noEntriesFoundLabel=\"{{ 'Not found' | translate }}\"\n placeholderLabel=\"{{ 'Search' | translate }}\"\n />\n </mat-option>\n @for (value of toppingList$ | async; track value) {\n <mat-option [value]=\"value\">{{ value }}</mat-option>\n }\n </mat-select>\n</mat-form-field>\n"
|
|
3793
4081
|
},
|
|
3794
4082
|
{
|
|
3795
4083
|
"name": "mat-selectable-box",
|
|
@@ -3797,61 +4085,67 @@
|
|
|
3797
4085
|
"className": "OnemrvaMatSelectableBoxComponent",
|
|
3798
4086
|
"category": "Material Components",
|
|
3799
4087
|
"path": "mat-selectable-box/src/onemrva-mat-selectable-box.component.ts",
|
|
3800
|
-
"description": "Radio-card for selecting a single option with title and description.
|
|
4088
|
+
"description": "Radio-card for selecting a single option with title and description.",
|
|
3801
4089
|
"inputs": [
|
|
3802
4090
|
{
|
|
3803
4091
|
"name": "iconSize",
|
|
3804
4092
|
"type": "OnemrvaMatSize",
|
|
3805
|
-
"description": "
|
|
4093
|
+
"description": "Size of the projected [icon] (xsmall, small, large, xlarge, xxlarge); empty keeps the default size.",
|
|
3806
4094
|
"defaultValue": "''",
|
|
3807
4095
|
"required": false,
|
|
3808
|
-
"examples": []
|
|
4096
|
+
"examples": [],
|
|
4097
|
+
"rendered": true
|
|
3809
4098
|
},
|
|
3810
4099
|
{
|
|
3811
4100
|
"name": "tooltip",
|
|
3812
4101
|
"type": "string",
|
|
3813
4102
|
"description": "Text shown in a tooltip on the info icon at the end of the header. No icon when empty.",
|
|
3814
4103
|
"required": false,
|
|
3815
|
-
"examples": []
|
|
4104
|
+
"examples": [],
|
|
4105
|
+
"rendered": true
|
|
3816
4106
|
},
|
|
3817
4107
|
{
|
|
3818
4108
|
"name": "id",
|
|
3819
4109
|
"type": "any",
|
|
3820
|
-
"description": "
|
|
4110
|
+
"description": "id attribute of the host element; auto-generated by default.",
|
|
3821
4111
|
"defaultValue": "`onemrva-mat-selectable-box-${NEXT_ID++}`",
|
|
3822
4112
|
"required": false,
|
|
3823
|
-
"examples": []
|
|
4113
|
+
"examples": [],
|
|
4114
|
+
"rendered": false
|
|
3824
4115
|
},
|
|
3825
4116
|
{
|
|
3826
4117
|
"name": "value",
|
|
3827
4118
|
"type": "string",
|
|
3828
|
-
"description": "
|
|
4119
|
+
"description": "Value of the inner radio button, carried by the valueChange event.",
|
|
3829
4120
|
"defaultValue": "''",
|
|
3830
4121
|
"required": false,
|
|
3831
|
-
"examples": []
|
|
4122
|
+
"examples": [],
|
|
4123
|
+
"rendered": true
|
|
3832
4124
|
},
|
|
3833
4125
|
{
|
|
3834
4126
|
"name": "disabled",
|
|
3835
4127
|
"type": "boolean",
|
|
3836
|
-
"description": "
|
|
4128
|
+
"description": "Disables the radio button and blocks selecting the box by clicking it.",
|
|
3837
4129
|
"defaultValue": "false",
|
|
3838
4130
|
"required": false,
|
|
3839
|
-
"examples": []
|
|
4131
|
+
"examples": [],
|
|
4132
|
+
"rendered": true
|
|
3840
4133
|
},
|
|
3841
4134
|
{
|
|
3842
4135
|
"name": "checked",
|
|
3843
4136
|
"type": "boolean",
|
|
3844
|
-
"description": "
|
|
4137
|
+
"description": "Marks the box as selected; setting it does not emit valueChange.",
|
|
3845
4138
|
"defaultValue": "false",
|
|
3846
4139
|
"required": false,
|
|
3847
|
-
"examples": []
|
|
4140
|
+
"examples": [],
|
|
4141
|
+
"rendered": true
|
|
3848
4142
|
}
|
|
3849
4143
|
],
|
|
3850
4144
|
"outputs": [
|
|
3851
4145
|
{
|
|
3852
4146
|
"name": "valueChange",
|
|
3853
4147
|
"type": "OutputEmitter<MatRadioChange>",
|
|
3854
|
-
"description": "
|
|
4148
|
+
"description": "Emits the MatRadioChange when the user selects the box or its radio button."
|
|
3855
4149
|
}
|
|
3856
4150
|
],
|
|
3857
4151
|
"methods": [],
|
|
@@ -3909,35 +4203,38 @@
|
|
|
3909
4203
|
"className": "OnemrvaMatSideMenuComponent",
|
|
3910
4204
|
"category": "Material Components",
|
|
3911
4205
|
"path": "mat-side-menu/src/onemrva-mat-side-menu.component.ts",
|
|
3912
|
-
"description": "Chip-based horizontal tab menu for mobile/tablet navigation.
|
|
4206
|
+
"description": "Chip-based horizontal tab menu for mobile/tablet navigation.",
|
|
3913
4207
|
"inputs": [
|
|
3914
4208
|
{
|
|
3915
4209
|
"name": "menuHeaderKey",
|
|
3916
4210
|
"type": "string",
|
|
3917
|
-
"description": "
|
|
4211
|
+
"description": "Translation key of the header shown above the options; the header is hidden on small screens.",
|
|
3918
4212
|
"required": true,
|
|
3919
|
-
"examples": []
|
|
4213
|
+
"examples": [],
|
|
4214
|
+
"rendered": true
|
|
3920
4215
|
},
|
|
3921
4216
|
{
|
|
3922
4217
|
"name": "menus",
|
|
3923
4218
|
"type": "OnemrvaMenu[]",
|
|
3924
|
-
"description": "
|
|
4219
|
+
"description": "Menu entries, each shown with its translated `wordingKey`; rendered as chips on small screens.",
|
|
3925
4220
|
"required": true,
|
|
3926
|
-
"examples": []
|
|
4221
|
+
"examples": [],
|
|
4222
|
+
"rendered": true
|
|
3927
4223
|
},
|
|
3928
4224
|
{
|
|
3929
4225
|
"name": "currentMenu",
|
|
3930
4226
|
"type": "string",
|
|
3931
|
-
"description": "
|
|
4227
|
+
"description": "Highlights the entry whose `path` or `key` equals this value.",
|
|
3932
4228
|
"required": false,
|
|
3933
|
-
"examples": []
|
|
4229
|
+
"examples": [],
|
|
4230
|
+
"rendered": true
|
|
3934
4231
|
}
|
|
3935
4232
|
],
|
|
3936
4233
|
"outputs": [
|
|
3937
4234
|
{
|
|
3938
4235
|
"name": "onSelectOption",
|
|
3939
4236
|
"type": "OutputEmitter<OnemrvaMenu>",
|
|
3940
|
-
"description": "
|
|
4237
|
+
"description": "Emits the menu entry the user selects."
|
|
3941
4238
|
}
|
|
3942
4239
|
],
|
|
3943
4240
|
"methods": [],
|
|
@@ -3972,79 +4269,88 @@
|
|
|
3972
4269
|
"className": "OnemrvaMatSkeletonComponent",
|
|
3973
4270
|
"category": "Material Components",
|
|
3974
4271
|
"path": "mat-skeleton/src/onemrva-mat-skeleton.component.ts",
|
|
3975
|
-
"description": "Skeleton provides a way to display loading element while page is loading.
|
|
4272
|
+
"description": "Skeleton provides a way to display loading element while page is loading.",
|
|
3976
4273
|
"inputs": [
|
|
3977
4274
|
{
|
|
3978
4275
|
"name": "animation",
|
|
3979
4276
|
"type": "OnemrvaMatSkeletonAnimations",
|
|
3980
|
-
"description": "
|
|
3981
|
-
"defaultValue": "OnemrvaMatSkeletonAnimations.PROGRESS
|
|
4277
|
+
"description": "Loading animation: `progress` (default shimmer), `pulse` or `none`.",
|
|
4278
|
+
"defaultValue": "OnemrvaMatSkeletonAnimations.PROGRESS",
|
|
3982
4279
|
"required": false,
|
|
3983
|
-
"examples": []
|
|
4280
|
+
"examples": [],
|
|
4281
|
+
"rendered": false
|
|
3984
4282
|
},
|
|
3985
4283
|
{
|
|
3986
4284
|
"name": "type",
|
|
3987
4285
|
"type": "OnemrvaMatSkeletoTypes",
|
|
3988
|
-
"description": "
|
|
4286
|
+
"description": "Block shape: `h1`-`h6`, `button`, `circle`, `square`, `custom` (projects content) or `''` for a line (default).",
|
|
3989
4287
|
"defaultValue": "OnemrvaMatSkeletoTypes.LINE",
|
|
3990
4288
|
"required": false,
|
|
3991
|
-
"examples": []
|
|
4289
|
+
"examples": [],
|
|
4290
|
+
"rendered": true
|
|
3992
4291
|
},
|
|
3993
4292
|
{
|
|
3994
4293
|
"name": "size",
|
|
3995
4294
|
"type": "OnemrvaMatSize",
|
|
3996
|
-
"description": "
|
|
4295
|
+
"description": "Currently no visible effect: its classes don't match the size styles.",
|
|
3997
4296
|
"defaultValue": "OnemrvaMatSize.MEDIUM",
|
|
3998
4297
|
"required": false,
|
|
3999
|
-
"examples": []
|
|
4298
|
+
"examples": [],
|
|
4299
|
+
"rendered": false
|
|
4000
4300
|
},
|
|
4001
4301
|
{
|
|
4002
4302
|
"name": "theme",
|
|
4003
4303
|
"type": "OnemrvaSkeletonLoaderConfigTheme",
|
|
4004
|
-
"description": "
|
|
4304
|
+
"description": "Inline styles applied to each block via ngStyle, e.g. `{ width: '200px', height: '40px' }`.",
|
|
4005
4305
|
"defaultValue": "[]",
|
|
4006
4306
|
"required": false,
|
|
4007
|
-
"examples": []
|
|
4307
|
+
"examples": [],
|
|
4308
|
+
"rendered": true
|
|
4008
4309
|
},
|
|
4009
4310
|
{
|
|
4010
4311
|
"name": "count",
|
|
4011
4312
|
"type": "number",
|
|
4012
|
-
"description": "
|
|
4313
|
+
"description": "Number of skeleton blocks to render; defaults to 1.",
|
|
4013
4314
|
"defaultValue": "1",
|
|
4014
4315
|
"required": false,
|
|
4015
|
-
"examples": []
|
|
4316
|
+
"examples": [],
|
|
4317
|
+
"rendered": false
|
|
4016
4318
|
},
|
|
4017
4319
|
{
|
|
4018
4320
|
"name": "ariaLabel",
|
|
4019
4321
|
"type": "string",
|
|
4020
|
-
"description": "
|
|
4322
|
+
"description": "aria-label of the host element; defaults to `loading`.",
|
|
4021
4323
|
"defaultValue": "'loading'",
|
|
4022
4324
|
"required": false,
|
|
4023
|
-
"examples": []
|
|
4325
|
+
"examples": [],
|
|
4326
|
+
"rendered": false
|
|
4024
4327
|
},
|
|
4025
4328
|
{
|
|
4026
4329
|
"name": "role",
|
|
4027
4330
|
"type": "string",
|
|
4028
|
-
"description": "
|
|
4331
|
+
"description": "ARIA role of the host element; defaults to `progressbar`.",
|
|
4029
4332
|
"defaultValue": "'progressbar'",
|
|
4030
4333
|
"required": false,
|
|
4031
|
-
"examples": []
|
|
4334
|
+
"examples": [],
|
|
4335
|
+
"rendered": true
|
|
4032
4336
|
},
|
|
4033
4337
|
{
|
|
4034
4338
|
"name": "loadingText",
|
|
4035
4339
|
"type": "string",
|
|
4036
|
-
"description": "
|
|
4340
|
+
"description": "Value of the host `valuetext` attribute; defaults to `Loading...`.",
|
|
4037
4341
|
"defaultValue": "'Loading...'",
|
|
4038
4342
|
"required": false,
|
|
4039
|
-
"examples": []
|
|
4343
|
+
"examples": [],
|
|
4344
|
+
"rendered": false
|
|
4040
4345
|
},
|
|
4041
4346
|
{
|
|
4042
4347
|
"name": "id",
|
|
4043
4348
|
"type": "any",
|
|
4044
|
-
"description": "
|
|
4349
|
+
"description": "id attribute of the host element; auto-generated when omitted.",
|
|
4045
4350
|
"defaultValue": "`onemrva-mat-skeleton-${NEXT_ID++}`",
|
|
4046
4351
|
"required": false,
|
|
4047
|
-
"examples": []
|
|
4352
|
+
"examples": [],
|
|
4353
|
+
"rendered": false
|
|
4048
4354
|
}
|
|
4049
4355
|
],
|
|
4050
4356
|
"outputs": [],
|
|
@@ -4112,7 +4418,7 @@
|
|
|
4112
4418
|
"className": "OnemrvaMatStepperComponent",
|
|
4113
4419
|
"category": "Material Components",
|
|
4114
4420
|
"path": "mat-stepper/src/onemrva-mat-stepper.component.ts",
|
|
4115
|
-
"description": "Multi-step workflow stepper with horizontal and vertical layouts.
|
|
4421
|
+
"description": "Multi-step workflow stepper with horizontal and vertical layouts.",
|
|
4116
4422
|
"inputs": [],
|
|
4117
4423
|
"outputs": [],
|
|
4118
4424
|
"methods": [],
|
|
@@ -4161,25 +4467,28 @@
|
|
|
4161
4467
|
{
|
|
4162
4468
|
"name": "htmlTooltip",
|
|
4163
4469
|
"type": "TemplateRef<any>",
|
|
4164
|
-
"description": "
|
|
4470
|
+
"description": "Template shown in a rich tooltip on an info icon; used only when `tooltip` is empty.",
|
|
4165
4471
|
"required": false,
|
|
4166
|
-
"examples": []
|
|
4472
|
+
"examples": [],
|
|
4473
|
+
"rendered": true
|
|
4167
4474
|
},
|
|
4168
4475
|
{
|
|
4169
4476
|
"name": "position",
|
|
4170
4477
|
"type": "TooltipPosition",
|
|
4171
|
-
"description": "
|
|
4478
|
+
"description": "Position of the plain-text `tooltip` (Material `TooltipPosition`); defaults to `after`.",
|
|
4172
4479
|
"defaultValue": "'after'",
|
|
4173
4480
|
"required": false,
|
|
4174
|
-
"examples": []
|
|
4481
|
+
"examples": [],
|
|
4482
|
+
"rendered": true
|
|
4175
4483
|
},
|
|
4176
4484
|
{
|
|
4177
4485
|
"name": "tooltip",
|
|
4178
4486
|
"type": "string",
|
|
4179
|
-
"description": "
|
|
4487
|
+
"description": "Plain-text tooltip on an info icon after the label; takes precedence over `htmlTooltip`.",
|
|
4180
4488
|
"defaultValue": "''",
|
|
4181
4489
|
"required": false,
|
|
4182
|
-
"examples": []
|
|
4490
|
+
"examples": [],
|
|
4491
|
+
"rendered": true
|
|
4183
4492
|
}
|
|
4184
4493
|
],
|
|
4185
4494
|
"outputs": [],
|
|
@@ -4221,44 +4530,49 @@
|
|
|
4221
4530
|
"className": "OnemrvaMatTableOfContentComponent",
|
|
4222
4531
|
"category": "Material Components",
|
|
4223
4532
|
"path": "mat-table-of-content/src/onemrva-mat-table-of-content.component.ts",
|
|
4224
|
-
"description": "Auto-generated table of contents from anchor elements on the page.
|
|
4533
|
+
"description": "Auto-generated table of contents from anchor elements on the page.",
|
|
4225
4534
|
"inputs": [
|
|
4226
4535
|
{
|
|
4227
4536
|
"name": "titleKeyIn",
|
|
4228
4537
|
"type": "string",
|
|
4229
|
-
"description": "
|
|
4538
|
+
"description": "Translation key of the heading; replaced by 'tocName.notFound' when no anchors match tocName.",
|
|
4230
4539
|
"required": false,
|
|
4231
|
-
"examples": []
|
|
4540
|
+
"examples": [],
|
|
4541
|
+
"rendered": false
|
|
4232
4542
|
},
|
|
4233
4543
|
{
|
|
4234
4544
|
"name": "tocName",
|
|
4235
4545
|
"type": "string",
|
|
4236
|
-
"description": "
|
|
4546
|
+
"description": "Name of the TOC to list; only anchors registered with the same tocName are shown.",
|
|
4237
4547
|
"required": true,
|
|
4238
|
-
"examples": []
|
|
4548
|
+
"examples": [],
|
|
4549
|
+
"rendered": false
|
|
4239
4550
|
},
|
|
4240
4551
|
{
|
|
4241
4552
|
"name": "tableOfContentName",
|
|
4242
4553
|
"type": "string",
|
|
4243
|
-
"description": "
|
|
4554
|
+
"description": "Unused: not read by the component or its template.",
|
|
4244
4555
|
"required": false,
|
|
4245
|
-
"examples": []
|
|
4556
|
+
"examples": [],
|
|
4557
|
+
"rendered": false
|
|
4246
4558
|
},
|
|
4247
4559
|
{
|
|
4248
4560
|
"name": "scrollShift",
|
|
4249
4561
|
"type": "number",
|
|
4250
|
-
"description": "
|
|
4562
|
+
"description": "Unused: not read by the component or its template.",
|
|
4251
4563
|
"defaultValue": "0",
|
|
4252
4564
|
"required": false,
|
|
4253
|
-
"examples": []
|
|
4565
|
+
"examples": [],
|
|
4566
|
+
"rendered": false
|
|
4254
4567
|
},
|
|
4255
4568
|
{
|
|
4256
4569
|
"name": "dataCy",
|
|
4257
4570
|
"type": "string",
|
|
4258
|
-
"description": "
|
|
4571
|
+
"description": "data-cy attribute of the host element for tests.",
|
|
4259
4572
|
"defaultValue": "'onemrva-mat-toc'",
|
|
4260
4573
|
"required": false,
|
|
4261
|
-
"examples": []
|
|
4574
|
+
"examples": [],
|
|
4575
|
+
"rendered": false
|
|
4262
4576
|
}
|
|
4263
4577
|
],
|
|
4264
4578
|
"outputs": [],
|
|
@@ -4285,7 +4599,8 @@
|
|
|
4285
4599
|
"outline"
|
|
4286
4600
|
],
|
|
4287
4601
|
"group": "Navigation",
|
|
4288
|
-
"themes": []
|
|
4602
|
+
"themes": [],
|
|
4603
|
+
"demoCode": "<div class=\"toc-content\">\n <p>\n Thermodynamics is a branch of physics that deals with heat, work, and\n temperature, and their relation to energy, entropy, and the physical\n properties of matter and radiation. The behavior of these quantities is\n governed by the four laws of thermodynamics which convey a quantitative\n description using measurable macroscopic physical quantities, but may be\n explained in terms of microscopic constituents by statistical mechanics.\n Thermodynamics applies to a wide variety of topics in science and\n engineering, especially physical chemistry, biochemistry, chemical\n engineering and mechanical engineering, but also in other complex fields\n such as meteorology. Historically, thermodynamics developed out of a desire\n to increase the efficiency of early steam engines, particularly through the\n work of French physicist Sadi Carnot (1824) who believed that engine\n efficiency was the key that could help France win the Napoleonic Wars.[1]\n Scots-Irish physicist Lord Kelvin was the first to formulate a concise\n definition of thermodynamics in 1854[2] which stated, \"Thermo-dynamics is\n the subject of the relation of heat to forces acting between contiguous\n parts of bodies, and the relation of heat to electrical agency.\" German\n physicist and mathematician Rudolf Clausius restated Carnot's principle\n known as the Carnot cycle and gave so the theory of heat a truer and sounder\n basis. His most important paper, \"On the Moving Force of Heat\",[3] published\n in 1850, first stated the second law of thermodynamics. In 1865 he\n introduced the concept of entropy. In 1870 he introduced the virial theorem,\n which applied to heat.[4] The initial application of thermodynamics to\n mechanical heat engines was quickly extended to the study of chemical\n compounds and chemical reactions. Chemical thermodynamics studies the nature\n of the role of entropy in the process of chemical reactions and has provided\n the bulk of expansion and knowledge of the field. Other formulations of\n thermodynamics emerged. Statistical thermodynamics, or statistical\n mechanics, concerns itself with statistical predictions of the collective\n motion of particles from their microscopic behavior. In 1909, Constantin\n Carathéodory presented a purely mathematical approach in an axiomatic\n formulation, a description often referred to as geometrical thermodynamics.\n </p>\n\n <h2\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.introduction',\n path: '#introduction',\n }\"\n >\n Introduction\n </h2>\n <p>\n A description of any thermodynamic system employs the four laws of\n thermodynamics that form an axiomatic basis. The first law specifies that\n energy can be transferred between physical systems as heat, as work, and\n with transfer of matter.[5] The second law defines the existence of a\n quantity called entropy, that describes the direction, thermodynamically,\n that a system can evolve and quantifies the state of order of a system and\n that can be used to quantify the useful work that can be extracted from the\n system.[6] In thermodynamics, interactions between large ensembles of\n objects are studied and categorized. Central to this are the concepts of the\n thermodynamic system and its surroundings. A system is composed of\n particles, whose average motions define its properties, and those properties\n are in turn related to one another through equations of state. Properties\n can be combined to express internal energy and thermodynamic potentials,\n which are useful for determining conditions for equilibrium and spontaneous\n processes. With these tools, thermodynamics can be used to describe how\n systems respond to changes in their environment. This can be applied to a\n wide variety of topics in science and engineering, such as engines, phase\n transitions, chemical reactions, transport phenomena, and even black holes.\n The results of thermodynamics are essential for other fields of physics and\n for chemistry, chemical engineering, corrosion engineering, aerospace\n engineering, mechanical engineering, cell biology, biomedical engineering,\n materials science, and economics, to name a few.[7][8] This article is\n focused mainly on classical thermodynamics which primarily studies systems\n in thermodynamic equilibrium. Non-equilibrium thermodynamics is often\n treated as an extension of the classical treatment, but statistical\n mechanics has brought many advances to that field.\n </p>\n\n <h2\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.history',\n path: '#history',\n }\"\n >\n History\n </h2>\n <p>\n The history of thermodynamics as a scientific discipline generally begins\n with Otto von Guericke who, in 1650, built and designed the world's first\n vacuum pump and demonstrated a vacuum using his Magdeburg hemispheres.\n Guericke was driven to make a vacuum in order to disprove Aristotle's\n long-held supposition that 'nature abhors a vacuum'. Shortly after Guericke,\n the Anglo-Irish physicist and chemist Robert Boyle had learned of Guericke's\n designs and, in 1656, in coordination with English scientist Robert Hooke,\n built an air pump.[10] Using this pump, Boyle and Hooke noticed a\n correlation between pressure, temperature, and volume. In time, Boyle's Law\n was formulated, which states that pressure and volume are inversely\n proportional. Then, in 1679, based on these concepts, an associate of\n Boyle's named Denis Papin built a steam digester, which was a closed vessel\n with a tightly fitting lid that confined steam until a high pressure was\n generated. Later designs implemented a steam release valve that kept the\n machine from exploding. By watching the valve rhythmically move up and down,\n Papin conceived of the idea of a piston and a cylinder engine. He did not,\n however, follow through with his design. Nevertheless, in 1697, based on\n Papin's designs, engineer Thomas Savery built the first engine, followed by\n Thomas Newcomen in 1712. Although these early engines were crude and\n inefficient, they attracted the attention of the leading scientists of the\n time. The fundamental concepts of heat capacity and latent heat, which were\n necessary for the development of thermodynamics, were developed by Professor\n Joseph Black at the University of Glasgow, where James Watt was employed as\n an instrument maker. Black and Watt performed experiments together, but it\n was Watt who conceived the idea of the external condenser which resulted in\n a large increase in steam engine efficiency.[11] Drawing on all the previous\n work led Sadi Carnot, the \"father of thermodynamics\", to publish Reflections\n on the Motive Power of Fire (1824), a discourse on heat, power, energy and\n engine efficiency. The book outlined the basic energetic relations between\n the Carnot engine, the Carnot cycle, and motive power. It marked the start\n of thermodynamics as a modern science.[12] The first thermodynamic textbook\n was written in 1859 by William Rankine, originally trained as a physicist\n and a civil and mechanical engineering professor at the University of\n Glasgow.[13] The first and second laws of thermodynamics emerged\n simultaneously in the 1850s, primarily out of the works of William Rankine,\n Rudolf Clausius, and William Thomson (Lord Kelvin). The foundations of\n statistical thermodynamics were set out by physicists such as James Clerk\n Maxwell, Ludwig Boltzmann, Max Planck, Rudolf Clausius and J. Willard Gibbs.\n Clausius, who first stated the basic ideas of the second law in his paper\n \"On the Moving Force of Heat\",[3] published in 1850, and is called \"one of\n the founding fathers of thermodynamics\",[14] introduced the concept of\n entropy in 1865.During the years 1873–76 the American mathematical physicist\n Josiah Willard Gibbs published a series of three papers, the most famous\n being On the Equilibrium of Heterogeneous Substances,[15] in which he showed\n how thermodynamic processes, including chemical reactions, could be\n graphically analyzed, by studying the energy, entropy, volume, temperature\n and pressure of the thermodynamic system in such a manner, one can determine\n if a process would occur spontaneously.[16] Also Pierre Duhem in the 19th\n century wrote about chemical thermodynamics.[17] During the early 20th\n century, chemists such as Gilbert N. Lewis, Merle Randall,[18] and E. A.\n Guggenheim[19][20] applied the mathematical methods of Gibbs to the analysis\n of chemical processes.\n </p>\n\n <h2\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.etymology',\n path: '#etymology',\n }\"\n >\n Etymology\n </h2>\n <p>\n The etymology of thermodynamics has an intricate history.[21] It was first\n spelled in a hyphenated form as an adjective (thermo-dynamic) and from 1854\n to 1868 as the noun thermo-dynamics to represent the science of generalized\n heat engines.[21] American biophysicist Donald Haynie claims that\n thermodynamics was coined in 1840 from the Greek root θέρμη therme, meaning\n \"heat\", and δύναμις dynamis, meaning \"power\".[22] Pierre Perrot claims that\n the term thermodynamics was coined by James Joule in 1858 to designate the\n science of relations between heat and power,[12] however, Joule never used\n that term, but used instead the term perfect thermo-dynamic engine in\n reference to Thomson's 1849[23] phraseology.[21] By 1858, thermo-dynamics,\n as a functional term, was used in William Thomson's paper \"An Account of\n Carnot's Theory of the Motive Power of Heat.\"[23]\n </p>\n\n <h2\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.branches',\n path: '#branches',\n }\"\n >\n Branches of thermodynamics\n </h2>\n <p>\n The study of thermodynamical systems has developed into several related\n branches, each using a different fundamental model as a theoretical or\n experimental basis, or applying the principles to varying types of systems.\n </p>\n\n <h3\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.classicalThermodynamics',\n path: '#classical-thermodynamics',\n level: level.SUBSECTION,\n }\"\n >\n Classical thermodynamics\n </h3>\n <p>\n Classical thermodynamics is the description of the states of thermodynamic\n systems at near-equilibrium, that uses macroscopic, measurable properties.\n It is used to model exchanges of energy, work and heat based on the laws of\n thermodynamics. The qualifier classical reflects the fact that it represents\n the first level of understanding of the subject as it developed in the 19th\n century and describes the changes of a system in terms of macroscopic\n empirical (large scale, and measurable) parameters. A microscopic\n interpretation of these concepts was later provided by the development of\n statistical mechanics.\n </p>\n\n <h3\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.statisticalThermodynamics',\n path: '#statistical-thermodynamics',\n level: level.SUBSECTION,\n }\"\n >\n Statistical mechanics\n </h3>\n <p>\n Statistical mechanics, also known as statistical thermodynamics, emerged\n with the development of atomic and molecular theories in the late 19th\n century and early 20th century, and supplemented classical thermodynamics\n with an interpretation of the microscopic interactions between individual\n particles or quantum-mechanical states. This field relates the microscopic\n properties of individual atoms and molecules to the macroscopic, bulk\n properties of materials that can be observed on the human scale, thereby\n explaining classical thermodynamics as a natural result of statistics,\n classical mechanics, and quantum theory at the microscopic level.\n </p>\n\n <h3\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.chemicalThermodynamics',\n path: '#chemical-thermodynamics',\n level: level.SUBSECTION,\n }\"\n >\n Chemical thermodynamics\n </h3>\n <p>\n Chemical thermodynamics is the study of the interrelation of energy with\n chemical reactions or with a physical change of state within the confines of\n the laws of thermodynamics. The primary objective of chemical thermodynamics\n is determining the spontaneity of a given transformation.[24]\n </p>\n\n <h3\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.equilibriumThermodynamics',\n path: '#equilibrium-thermodynamics',\n level: level.SUBSECTION,\n }\"\n >\n Equilibrium thermodynamics\n </h3>\n <p>\n Equilibrium thermodynamics is the study of transfers of matter and energy in\n systems or bodies that, by agencies in their surroundings, can be driven\n from one state of thermodynamic equilibrium to another. The term\n 'thermodynamic equilibrium' indicates a state of balance, in which all\n macroscopic flows are zero; in the case of the simplest systems or bodies,\n their intensive properties are homogeneous, and their pressures are\n perpendicular to their boundaries. In an equilibrium state there are no\n unbalanced potentials, or driving forces, between macroscopically distinct\n parts of the system. A central aim in equilibrium thermodynamics is: given a\n system in a well-defined initial equilibrium state, and given its\n surroundings, and given its constitutive walls, to calculate what will be\n the final equilibrium state of the system after a specified thermodynamic\n operation has changed its walls or surroundings.\n </p>\n\n <h3\n [onemrvaMatToc]=\"{\n tocName: 'thermo',\n titleKey: 'thermo.nonEquilibriumThermodynamics',\n path: '#non-equilibrium-thermodynamics',\n level: level.SUBSECTION,\n }\"\n >\n Non-equilibrium thermodynamics\n </h3>\n <p>\n Non-equilibrium thermodynamics is a branch of thermodynamics that deals with\n systems that are not in thermodynamic equilibrium. Most systems found in\n nature are not in thermodynamic equilibrium because they are not in\n stationary states, and are continuously and discontinuously subject to flux\n of matter and energy to and from other systems. The thermodynamic study of\n non-equilibrium systems requires more general concepts than are dealt with\n by equilibrium thermodynamics.[25] Many natural systems still today remain\n beyond the scope of currently known macroscopic thermodynamic methods.\n </p>\n\n <onemrva-mat-table-of-content titleKey=\"thermo.title\" tocName=\"thermo\" />\n</div>\n"
|
|
4289
4604
|
},
|
|
4290
4605
|
{
|
|
4291
4606
|
"name": "mat-table",
|
|
@@ -4293,24 +4608,32 @@
|
|
|
4293
4608
|
"className": "OnemrvaExpandableTableIconComponent",
|
|
4294
4609
|
"category": "Material Components",
|
|
4295
4610
|
"path": "mat-table/src/onemrva-expandable-table-icon.component.ts",
|
|
4296
|
-
"description": "Icon button that toggles the detail row of an expandable table row. Renders a chevron that points down when the row is collapsed and up when it is expanded, and mirrors that state to assistive technology through `aria-expanded` / `aria-controls` on the button. The component is stateless: it renders the state it is given and emits the state the caller should switch to, leaving the table in control of which rows are open.
|
|
4611
|
+
"description": "Icon button that toggles the detail row of an expandable table row. Renders a chevron that points down when the row is collapsed and up when it is expanded, and mirrors that state to assistive technology through `aria-expanded` / `aria-controls` on the button. The component is stateless: it renders the state it is given and emits the state the caller should switch to, leaving the table in control of which rows are open.",
|
|
4297
4612
|
"inputs": [
|
|
4298
4613
|
{
|
|
4299
4614
|
"name": "isExpanded",
|
|
4300
4615
|
"type": "boolean",
|
|
4301
4616
|
"description": "Whether the detail row this button controls is currently open.",
|
|
4302
4617
|
"required": true,
|
|
4303
|
-
"examples": []
|
|
4618
|
+
"examples": [],
|
|
4619
|
+
"rendered": true
|
|
4304
4620
|
},
|
|
4305
4621
|
{
|
|
4306
4622
|
"name": "detailRowId",
|
|
4307
4623
|
"type": "string",
|
|
4308
4624
|
"description": "`id` of the detail row element, referenced by `aria-controls`.",
|
|
4309
4625
|
"required": true,
|
|
4310
|
-
"examples": []
|
|
4626
|
+
"examples": [],
|
|
4627
|
+
"rendered": true
|
|
4628
|
+
}
|
|
4629
|
+
],
|
|
4630
|
+
"outputs": [
|
|
4631
|
+
{
|
|
4632
|
+
"name": "expandedChange",
|
|
4633
|
+
"type": "OutputEmitter<void>",
|
|
4634
|
+
"description": "Emits with no value on click; the caller toggles the row's expanded state."
|
|
4311
4635
|
}
|
|
4312
4636
|
],
|
|
4313
|
-
"outputs": [],
|
|
4314
4637
|
"methods": [],
|
|
4315
4638
|
"slots": [],
|
|
4316
4639
|
"hostListeners": [],
|
|
@@ -4345,15 +4668,16 @@
|
|
|
4345
4668
|
"className": "OnemrvaMatTaskContentComponent",
|
|
4346
4669
|
"category": "Material Components",
|
|
4347
4670
|
"path": "mat-task-list/src/onemrva-mat-task-content.component.ts",
|
|
4348
|
-
"description": "Content slot for body text inside an onemrva-mat-task.
|
|
4671
|
+
"description": "Content slot for body text inside an onemrva-mat-task.",
|
|
4349
4672
|
"inputs": [
|
|
4350
4673
|
{
|
|
4351
4674
|
"name": "customNgClass",
|
|
4352
4675
|
"type": "array",
|
|
4353
|
-
"description": "
|
|
4676
|
+
"description": "CSS classes for the content wrapper; replaces the default `onemrva-mat-task-content` class, so include it.",
|
|
4354
4677
|
"defaultValue": "['onemrva-mat-task-content']",
|
|
4355
4678
|
"required": false,
|
|
4356
|
-
"examples": []
|
|
4679
|
+
"examples": [],
|
|
4680
|
+
"rendered": true
|
|
4357
4681
|
}
|
|
4358
4682
|
],
|
|
4359
4683
|
"outputs": [],
|
|
@@ -4389,23 +4713,25 @@
|
|
|
4389
4713
|
"className": "OnemrvaMatTaskListComponent",
|
|
4390
4714
|
"category": "Material Components",
|
|
4391
4715
|
"path": "mat-task-list/src/onemrva-mat-task-list.component.ts",
|
|
4392
|
-
"description": "Checklist of tasks with completion tracking.
|
|
4716
|
+
"description": "Checklist of tasks with completion tracking.",
|
|
4393
4717
|
"inputs": [
|
|
4394
4718
|
{
|
|
4395
4719
|
"name": "id",
|
|
4396
4720
|
"type": "any",
|
|
4397
|
-
"description": "
|
|
4721
|
+
"description": "id attribute of the host element; auto-generated when omitted.",
|
|
4398
4722
|
"defaultValue": "`onemrva-mat-task-list-${NEXT_ID++}`",
|
|
4399
4723
|
"required": false,
|
|
4400
|
-
"examples": []
|
|
4724
|
+
"examples": [],
|
|
4725
|
+
"rendered": false
|
|
4401
4726
|
},
|
|
4402
4727
|
{
|
|
4403
4728
|
"name": "data_cy",
|
|
4404
4729
|
"type": "string",
|
|
4405
|
-
"description": "
|
|
4730
|
+
"description": "data-cy attribute of the host element for tests; defaults to `onemrva-mat-task-list`.",
|
|
4406
4731
|
"defaultValue": "'onemrva-mat-task-list'",
|
|
4407
4732
|
"required": false,
|
|
4408
|
-
"examples": []
|
|
4733
|
+
"examples": [],
|
|
4734
|
+
"rendered": false
|
|
4409
4735
|
}
|
|
4410
4736
|
],
|
|
4411
4737
|
"outputs": [],
|
|
@@ -4441,15 +4767,16 @@
|
|
|
4441
4767
|
"className": "OnemrvaMatTaskTitleComponent",
|
|
4442
4768
|
"category": "Material Components",
|
|
4443
4769
|
"path": "mat-task-list/src/onemrva-mat-task-title.component.ts",
|
|
4444
|
-
"description": "Title slot inside an onemrva-mat-task row.
|
|
4770
|
+
"description": "Title slot inside an onemrva-mat-task row.",
|
|
4445
4771
|
"inputs": [
|
|
4446
4772
|
{
|
|
4447
4773
|
"name": "customNgClass",
|
|
4448
4774
|
"type": "array",
|
|
4449
|
-
"description": "
|
|
4775
|
+
"description": "CSS classes for the title wrapper; replaces the default `onemrva-mat-task-title` class, so include it.",
|
|
4450
4776
|
"defaultValue": "['onemrva-mat-task-title']",
|
|
4451
4777
|
"required": false,
|
|
4452
|
-
"examples": []
|
|
4778
|
+
"examples": [],
|
|
4779
|
+
"rendered": true
|
|
4453
4780
|
}
|
|
4454
4781
|
],
|
|
4455
4782
|
"outputs": [],
|
|
@@ -4485,43 +4812,48 @@
|
|
|
4485
4812
|
"className": "OnemrvaMatTaskComponent",
|
|
4486
4813
|
"category": "Material Components",
|
|
4487
4814
|
"path": "mat-task-list/src/onemrva-mat-task.component.ts",
|
|
4488
|
-
"description": "Single task row with checkbox, title, and optional body content.
|
|
4815
|
+
"description": "Single task row with checkbox, title, and optional body content.",
|
|
4489
4816
|
"inputs": [
|
|
4490
4817
|
{
|
|
4491
4818
|
"name": "customNgClass",
|
|
4492
4819
|
"type": "any",
|
|
4493
|
-
"description": "
|
|
4820
|
+
"description": "Currently unused; has no effect.",
|
|
4494
4821
|
"required": false,
|
|
4495
|
-
"examples": []
|
|
4822
|
+
"examples": [],
|
|
4823
|
+
"rendered": false
|
|
4496
4824
|
},
|
|
4497
4825
|
{
|
|
4498
4826
|
"name": "icon",
|
|
4499
4827
|
"type": "string",
|
|
4500
|
-
"description": "
|
|
4828
|
+
"description": "Material icon name shown in a round bubble before the title.",
|
|
4501
4829
|
"required": false,
|
|
4502
|
-
"examples": []
|
|
4830
|
+
"examples": [],
|
|
4831
|
+
"rendered": true
|
|
4503
4832
|
},
|
|
4504
4833
|
{
|
|
4505
4834
|
"name": "form",
|
|
4506
4835
|
"type": "FormControl",
|
|
4507
|
-
"description": "
|
|
4836
|
+
"description": "Control whose value drives a read-only checkbox showing the task's done state; no checkbox when unset.",
|
|
4508
4837
|
"required": false,
|
|
4509
|
-
"examples": []
|
|
4838
|
+
"examples": [],
|
|
4839
|
+
"rendered": true
|
|
4510
4840
|
},
|
|
4511
4841
|
{
|
|
4512
4842
|
"name": "bubble",
|
|
4513
4843
|
"type": "string",
|
|
4514
|
-
"description": "
|
|
4844
|
+
"description": "Short text, e.g. a step number, shown in a round bubble before the title.",
|
|
4515
4845
|
"required": false,
|
|
4516
|
-
"examples": []
|
|
4846
|
+
"examples": [],
|
|
4847
|
+
"rendered": true
|
|
4517
4848
|
},
|
|
4518
4849
|
{
|
|
4519
4850
|
"name": "arialLabel",
|
|
4520
4851
|
"type": "string",
|
|
4521
|
-
"description": "
|
|
4852
|
+
"description": "aria-label of the task checkbox; defaults to `select`.",
|
|
4522
4853
|
"defaultValue": "'select'",
|
|
4523
4854
|
"required": false,
|
|
4524
|
-
"examples": []
|
|
4855
|
+
"examples": [],
|
|
4856
|
+
"rendered": true
|
|
4525
4857
|
}
|
|
4526
4858
|
],
|
|
4527
4859
|
"outputs": [],
|
|
@@ -4538,7 +4870,9 @@
|
|
|
4538
4870
|
"NgTemplateOutlet"
|
|
4539
4871
|
],
|
|
4540
4872
|
"examples": [],
|
|
4541
|
-
"accessibility": [
|
|
4873
|
+
"accessibility": [
|
|
4874
|
+
"Uses aria-label for screen readers"
|
|
4875
|
+
],
|
|
4542
4876
|
"keywords": [
|
|
4543
4877
|
"task",
|
|
4544
4878
|
"checkbox",
|
|
@@ -4590,21 +4924,23 @@
|
|
|
4590
4924
|
"className": "OnemrvaMatTooltipComponent",
|
|
4591
4925
|
"category": "Material Components",
|
|
4592
4926
|
"path": "mat-tooltip/src/onemrva-mat-tooltip.component.ts",
|
|
4593
|
-
"description": "Custom tooltip with text or projected template content.
|
|
4927
|
+
"description": "Custom tooltip with text or projected template content.",
|
|
4594
4928
|
"inputs": [
|
|
4595
4929
|
{
|
|
4596
4930
|
"name": "text",
|
|
4597
4931
|
"type": "string",
|
|
4598
|
-
"description": "
|
|
4932
|
+
"description": "Text shown in the tooltip when no `contentTemplate` is given.",
|
|
4599
4933
|
"required": true,
|
|
4600
|
-
"examples": []
|
|
4934
|
+
"examples": [],
|
|
4935
|
+
"rendered": true
|
|
4601
4936
|
},
|
|
4602
4937
|
{
|
|
4603
4938
|
"name": "contentTemplate",
|
|
4604
4939
|
"type": "TemplateRef<any>",
|
|
4605
|
-
"description": "
|
|
4940
|
+
"description": "Template rendered as the tooltip content; takes precedence over `text`.",
|
|
4606
4941
|
"required": true,
|
|
4607
|
-
"examples": []
|
|
4942
|
+
"examples": [],
|
|
4943
|
+
"rendered": true
|
|
4608
4944
|
}
|
|
4609
4945
|
],
|
|
4610
4946
|
"outputs": [],
|
|
@@ -4663,15 +4999,16 @@
|
|
|
4663
4999
|
"className": "PageErrorComponent",
|
|
4664
5000
|
"category": "Page Components",
|
|
4665
5001
|
"path": "page-error/src/page-error.component.ts",
|
|
4666
|
-
"description": "Full-page error state with message, illustration, and optional actions.
|
|
5002
|
+
"description": "Full-page error state with message, illustration, and optional actions.",
|
|
4667
5003
|
"inputs": [
|
|
4668
5004
|
{
|
|
4669
5005
|
"name": "code",
|
|
4670
5006
|
"type": "number",
|
|
4671
|
-
"description": "
|
|
5007
|
+
"description": "HTTP status picking the `error.<code>.*` texts (default 500); unsupported codes get the 500 illustration.",
|
|
4672
5008
|
"defaultValue": "this.defaultCode",
|
|
4673
5009
|
"required": false,
|
|
4674
|
-
"examples": []
|
|
5010
|
+
"examples": [],
|
|
5011
|
+
"rendered": true
|
|
4675
5012
|
}
|
|
4676
5013
|
],
|
|
4677
5014
|
"outputs": [],
|
|
@@ -4868,7 +5205,8 @@
|
|
|
4868
5205
|
"description": "Optional heading shown above the visible year range.",
|
|
4869
5206
|
"defaultValue": "''",
|
|
4870
5207
|
"required": false,
|
|
4871
|
-
"examples": []
|
|
5208
|
+
"examples": [],
|
|
5209
|
+
"rendered": true
|
|
4872
5210
|
},
|
|
4873
5211
|
{
|
|
4874
5212
|
"name": "periods",
|
|
@@ -4876,14 +5214,16 @@
|
|
|
4876
5214
|
"description": "Periods to plot on the timeline.",
|
|
4877
5215
|
"defaultValue": "[]",
|
|
4878
5216
|
"required": false,
|
|
4879
|
-
"examples": []
|
|
5217
|
+
"examples": [],
|
|
5218
|
+
"rendered": true
|
|
4880
5219
|
},
|
|
4881
5220
|
{
|
|
4882
5221
|
"name": "legend",
|
|
4883
5222
|
"type": "TimelineLegend",
|
|
4884
5223
|
"description": "Legend entries that map a period `type` to its label and color.",
|
|
4885
5224
|
"required": false,
|
|
4886
|
-
"examples": []
|
|
5225
|
+
"examples": [],
|
|
5226
|
+
"rendered": false
|
|
4887
5227
|
},
|
|
4888
5228
|
{
|
|
4889
5229
|
"name": "yearOptions",
|
|
@@ -4891,7 +5231,8 @@
|
|
|
4891
5231
|
"description": "Year-window sizes offered by the period dropdown.",
|
|
4892
5232
|
"defaultValue": "[1, 5, 10]",
|
|
4893
5233
|
"required": false,
|
|
4894
|
-
"examples": []
|
|
5234
|
+
"examples": [],
|
|
5235
|
+
"rendered": true
|
|
4895
5236
|
},
|
|
4896
5237
|
{
|
|
4897
5238
|
"name": "showMonthPicker",
|
|
@@ -4899,7 +5240,8 @@
|
|
|
4899
5240
|
"description": "When true, the period dropdown offers a \"Month\" option.",
|
|
4900
5241
|
"defaultValue": "false",
|
|
4901
5242
|
"required": false,
|
|
4902
|
-
"examples": []
|
|
5243
|
+
"examples": [],
|
|
5244
|
+
"rendered": true
|
|
4903
5245
|
},
|
|
4904
5246
|
{
|
|
4905
5247
|
"name": "showMonths",
|
|
@@ -4907,7 +5249,8 @@
|
|
|
4907
5249
|
"description": "Whether month numbers are shown under each year (only when the window spans at most 5 years).",
|
|
4908
5250
|
"defaultValue": "true",
|
|
4909
5251
|
"required": false,
|
|
4910
|
-
"examples": []
|
|
5252
|
+
"examples": [],
|
|
5253
|
+
"rendered": true
|
|
4911
5254
|
},
|
|
4912
5255
|
{
|
|
4913
5256
|
"name": "showLabels",
|
|
@@ -4915,7 +5258,8 @@
|
|
|
4915
5258
|
"description": "Whether period labels are rendered inside the bars.",
|
|
4916
5259
|
"defaultValue": "true",
|
|
4917
5260
|
"required": false,
|
|
4918
|
-
"examples": []
|
|
5261
|
+
"examples": [],
|
|
5262
|
+
"rendered": true
|
|
4919
5263
|
},
|
|
4920
5264
|
{
|
|
4921
5265
|
"name": "showTooltip",
|
|
@@ -4923,7 +5267,8 @@
|
|
|
4923
5267
|
"description": "Whether the hover popup with period details is shown.",
|
|
4924
5268
|
"defaultValue": "true",
|
|
4925
5269
|
"required": false,
|
|
4926
|
-
"examples": []
|
|
5270
|
+
"examples": [],
|
|
5271
|
+
"rendered": true
|
|
4927
5272
|
},
|
|
4928
5273
|
{
|
|
4929
5274
|
"name": "maxHeight",
|
|
@@ -4931,7 +5276,8 @@
|
|
|
4931
5276
|
"description": "Optional max height (any CSS length) for the timeline body; rows scroll within it while the year and month axes stay pinned. Ignored when `fullSize` is true.",
|
|
4932
5277
|
"defaultValue": "''",
|
|
4933
5278
|
"required": false,
|
|
4934
|
-
"examples": []
|
|
5279
|
+
"examples": [],
|
|
5280
|
+
"rendered": false
|
|
4935
5281
|
},
|
|
4936
5282
|
{
|
|
4937
5283
|
"name": "fullSize",
|
|
@@ -4939,7 +5285,8 @@
|
|
|
4939
5285
|
"description": "When true, every row is shown at once and the body never scrolls; `maxHeight` is ignored.",
|
|
4940
5286
|
"defaultValue": "false",
|
|
4941
5287
|
"required": false,
|
|
4942
|
-
"examples": []
|
|
5288
|
+
"examples": [],
|
|
5289
|
+
"rendered": true
|
|
4943
5290
|
},
|
|
4944
5291
|
{
|
|
4945
5292
|
"name": "filters",
|
|
@@ -4947,7 +5294,8 @@
|
|
|
4947
5294
|
"description": "Single-select filter toggles shown in the header; at most three are rendered.",
|
|
4948
5295
|
"defaultValue": "[]",
|
|
4949
5296
|
"required": false,
|
|
4950
|
-
"examples": []
|
|
5297
|
+
"examples": [],
|
|
5298
|
+
"rendered": false
|
|
4951
5299
|
},
|
|
4952
5300
|
{
|
|
4953
5301
|
"name": "emptyMessage",
|
|
@@ -4955,7 +5303,8 @@
|
|
|
4955
5303
|
"description": "Message shown when no periods are provided. Nothing renders when it is empty.",
|
|
4956
5304
|
"defaultValue": "''",
|
|
4957
5305
|
"required": false,
|
|
4958
|
-
"examples": []
|
|
5306
|
+
"examples": [],
|
|
5307
|
+
"rendered": true
|
|
4959
5308
|
},
|
|
4960
5309
|
{
|
|
4961
5310
|
"name": "fixedYearCount",
|
|
@@ -4963,14 +5312,16 @@
|
|
|
4963
5312
|
"description": "Size, in years, of the visible window; two-way bindable via the period dropdown.",
|
|
4964
5313
|
"defaultValue": "5",
|
|
4965
5314
|
"required": false,
|
|
4966
|
-
"examples": []
|
|
5315
|
+
"examples": [],
|
|
5316
|
+
"rendered": true
|
|
4967
5317
|
},
|
|
4968
5318
|
{
|
|
4969
5319
|
"name": "selectedPeriod",
|
|
4970
5320
|
"type": "TimelinePeriod | undefined",
|
|
4971
5321
|
"description": "Currently selected period. Two-way bindable via `[(selectedPeriod)]`.",
|
|
4972
5322
|
"required": false,
|
|
4973
|
-
"examples": []
|
|
5323
|
+
"examples": [],
|
|
5324
|
+
"rendered": false
|
|
4974
5325
|
},
|
|
4975
5326
|
{
|
|
4976
5327
|
"name": "activeFilter",
|
|
@@ -4978,19 +5329,20 @@
|
|
|
4978
5329
|
"description": "Value of the currently active filter, or `undefined` when none. Two-way bindable.",
|
|
4979
5330
|
"defaultValue": "undefined",
|
|
4980
5331
|
"required": false,
|
|
4981
|
-
"examples": []
|
|
5332
|
+
"examples": [],
|
|
5333
|
+
"rendered": true
|
|
4982
5334
|
}
|
|
4983
5335
|
],
|
|
4984
5336
|
"outputs": [
|
|
4985
5337
|
{
|
|
4986
5338
|
"name": "filterChange",
|
|
4987
5339
|
"type": "OutputEmitter<string | undefined>",
|
|
4988
|
-
"description": "
|
|
5340
|
+
"description": "Emits the active filter value whenever the selection changes."
|
|
4989
5341
|
},
|
|
4990
5342
|
{
|
|
4991
5343
|
"name": "axisUnitChange",
|
|
4992
5344
|
"type": "OutputEmitter<'months' | 'days'>",
|
|
4993
|
-
"description": "
|
|
5345
|
+
"description": "Emits the unit shown on the lower axis whenever the period view changes: `'months'` in the year view, or `'days'` when a single month is focused."
|
|
4994
5346
|
}
|
|
4995
5347
|
],
|
|
4996
5348
|
"methods": [],
|