@rio-cloud/uikit-mcp 1.1.3 → 1.1.5
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/README.md +1 -0
- package/dist/doc-metadata.json +97 -97
- package/dist/docs/components/accentBar.md +5 -5
- package/dist/docs/components/activity.md +7 -7
- package/dist/docs/components/animatedNumber.md +10 -10
- package/dist/docs/components/animatedTextReveal.md +42 -43
- package/dist/docs/components/animations.md +42 -34
- package/dist/docs/components/appHeader.md +20 -35
- package/dist/docs/components/appLayout.md +198 -221
- package/dist/docs/components/appNavigationBar.md +21 -21
- package/dist/docs/components/areaCharts.md +38 -38
- package/dist/docs/components/aspectRatioPlaceholder.md +4 -5
- package/dist/docs/components/assetTree.md +887 -614
- package/dist/docs/components/autosuggests.md +4 -4
- package/dist/docs/components/avatar.md +7 -7
- package/dist/docs/components/banner.md +2 -2
- package/dist/docs/components/barCharts.md +173 -173
- package/dist/docs/components/barList.md +19 -41
- package/dist/docs/components/basicMap.md +1 -1
- package/dist/docs/components/bottomSheet.md +74 -74
- package/dist/docs/components/button.md +161 -71
- package/dist/docs/components/buttonToolbar.md +3 -3
- package/dist/docs/components/calendarStripe.md +71 -123
- package/dist/docs/components/card.md +4 -4
- package/dist/docs/components/carousel.md +1 -1
- package/dist/docs/components/chartColors.md +1 -1
- package/dist/docs/components/chartsGettingStarted.md +1 -1
- package/dist/docs/components/chat.md +2 -2
- package/dist/docs/components/checkbox.md +56 -131
- package/dist/docs/components/clearableInput.md +23 -127
- package/dist/docs/components/collapse.md +14 -16
- package/dist/docs/components/composedCharts.md +31 -31
- package/dist/docs/components/contentLoader.md +125 -122
- package/dist/docs/components/dataTabs.md +103 -93
- package/dist/docs/components/datepickers.md +734 -764
- package/dist/docs/components/dialogs.md +299 -186
- package/dist/docs/components/divider.md +4 -4
- package/dist/docs/components/dropdowns.md +4555 -4498
- package/dist/docs/components/editableContent.md +97 -97
- package/dist/docs/components/expander.md +56 -56
- package/dist/docs/components/fade.md +41 -41
- package/dist/docs/components/fadeExpander.md +4 -4
- package/dist/docs/components/fadeUp.md +8 -10
- package/dist/docs/components/feedback.md +22 -21
- package/dist/docs/components/filePickers.md +25 -25
- package/dist/docs/components/formLabel.md +5 -7
- package/dist/docs/components/groupedItemList.md +37 -37
- package/dist/docs/components/iconList.md +4 -4
- package/dist/docs/components/imagePreloader.md +6 -6
- package/dist/docs/components/labeledElement.md +4 -3
- package/dist/docs/components/licensePlate.md +2 -2
- package/dist/docs/components/lineCharts.md +58 -58
- package/dist/docs/components/listMenu.md +63 -41
- package/dist/docs/components/loadMore.md +17 -17
- package/dist/docs/components/mainNavigation.md +1 -1
- package/dist/docs/components/mapCircle.md +1 -1
- package/dist/docs/components/mapCluster.md +1 -1
- package/dist/docs/components/mapContext.md +1 -1
- package/dist/docs/components/mapDraggableMarker.md +1 -1
- package/dist/docs/components/mapGettingStarted.md +1 -1
- package/dist/docs/components/mapInfoBubble.md +1 -1
- package/dist/docs/components/mapLayerGroup.md +1 -1
- package/dist/docs/components/mapMarker.md +339 -345
- package/dist/docs/components/mapPolygon.md +16 -20
- package/dist/docs/components/mapRoute.md +14 -20
- package/dist/docs/components/mapRouteGenerator.md +1 -1
- package/dist/docs/components/mapSettings.md +263 -274
- package/dist/docs/components/mapUtils.md +3 -5
- package/dist/docs/components/multiselects.md +1 -1
- package/dist/docs/components/noData.md +11 -11
- package/dist/docs/components/notifications.md +1 -1
- package/dist/docs/components/numbercontrol.md +39 -37
- package/dist/docs/components/onboarding.md +18 -38
- package/dist/docs/components/page.md +16 -16
- package/dist/docs/components/pager.md +8 -8
- package/dist/docs/components/pieCharts.md +124 -124
- package/dist/docs/components/popover.md +37 -53
- package/dist/docs/components/position.md +4 -4
- package/dist/docs/components/radialBarCharts.md +506 -506
- package/dist/docs/components/radiobutton.md +209 -191
- package/dist/docs/components/releaseNotes.md +9 -3
- package/dist/docs/components/resizer.md +7 -8
- package/dist/docs/components/responsiveColumnStripe.md +11 -11
- package/dist/docs/components/responsiveVideo.md +5 -5
- package/dist/docs/components/rioglyph.md +11 -11
- package/dist/docs/components/rules.md +118 -92
- package/dist/docs/components/saveableInput.md +366 -356
- package/dist/docs/components/selects.md +9996 -15
- package/dist/docs/components/sidebar.md +22 -23
- package/dist/docs/components/sliders.md +26 -26
- package/dist/docs/components/smoothScrollbars.md +61 -25
- package/dist/docs/components/spinners.md +32 -30
- package/dist/docs/components/states.md +236 -245
- package/dist/docs/components/statsWidgets.md +37 -28
- package/dist/docs/components/statusBar.md +22 -22
- package/dist/docs/components/stepButton.md +2 -2
- package/dist/docs/components/steppedProgressBars.md +45 -45
- package/dist/docs/components/subNavigation.md +3 -3
- package/dist/docs/components/supportMarker.md +1 -1
- package/dist/docs/components/svgImage.md +2 -38
- package/dist/docs/components/switch.md +11 -11
- package/dist/docs/components/tables.md +1 -1
- package/dist/docs/components/tagManager.md +40 -40
- package/dist/docs/components/tags.md +21 -20
- package/dist/docs/components/teaser.md +22 -23
- package/dist/docs/components/timeline.md +1 -1
- package/dist/docs/components/timepicker.md +17 -13
- package/dist/docs/components/toggleButton.md +65 -29
- package/dist/docs/components/tooltip.md +27 -50
- package/dist/docs/components/virtualList.md +75 -75
- package/dist/docs/foundations.md +167 -167
- package/dist/docs/start/changelog.md +23 -1
- package/dist/docs/start/goodtoknow.md +1 -1
- package/dist/docs/start/guidelines/color-combinations.md +1 -1
- package/dist/docs/start/guidelines/custom-css.md +1 -1
- package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
- package/dist/docs/start/guidelines/formatting.md +1 -1
- package/dist/docs/start/guidelines/iframe.md +80 -27
- package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
- package/dist/docs/start/guidelines/print-css.md +1 -1
- package/dist/docs/start/guidelines/spinner.md +81 -81
- package/dist/docs/start/guidelines/supported-browsers.md +1 -1
- package/dist/docs/start/guidelines/writing.md +1 -1
- package/dist/docs/start/howto.md +9 -9
- package/dist/docs/start/intro.md +1 -1
- package/dist/docs/start/responsiveness.md +1 -1
- package/dist/docs/templates/common-table.md +11 -11
- package/dist/docs/templates/detail-views.md +2 -2
- package/dist/docs/templates/expandable-details.md +1 -1
- package/dist/docs/templates/feature-cards.md +55 -55
- package/dist/docs/templates/form-summary.md +22 -22
- package/dist/docs/templates/form-toggle.md +1 -1
- package/dist/docs/templates/list-blocks.md +197 -197
- package/dist/docs/templates/loading-progress.md +1 -1
- package/dist/docs/templates/options-panel.md +1 -1
- package/dist/docs/templates/panel-variants.md +1 -1
- package/dist/docs/templates/progress-cards.md +1 -1
- package/dist/docs/templates/progress-success.md +1 -1
- package/dist/docs/templates/settings-form.md +23 -23
- package/dist/docs/templates/stats-blocks.md +41 -41
- package/dist/docs/templates/table-panel.md +1 -1
- package/dist/docs/templates/table-row-animation.md +1 -1
- package/dist/docs/templates/usage-cards.md +1 -1
- package/dist/docs/utilities/deviceUtils.md +6 -3
- package/dist/docs/utilities/featureToggles.md +1 -1
- package/dist/docs/utilities/fuelTypeUtils.md +1 -1
- package/dist/docs/utilities/routeUtils.md +59 -23
- package/dist/docs/utilities/useAfterMount.md +1 -1
- package/dist/docs/utilities/useAutoAnimate.md +1 -1
- package/dist/docs/utilities/useAverage.md +1 -1
- package/dist/docs/utilities/useClickOutside.md +1 -1
- package/dist/docs/utilities/useClipboard.md +2 -2
- package/dist/docs/utilities/useCount.md +1 -1
- package/dist/docs/utilities/useDarkMode.md +1 -1
- package/dist/docs/utilities/useDebugInfo.md +4 -4
- package/dist/docs/utilities/useEffectOnce.md +1 -1
- package/dist/docs/utilities/useElapsedTime.md +1 -1
- package/dist/docs/utilities/useElementSize.md +1 -1
- package/dist/docs/utilities/useEsc.md +1 -1
- package/dist/docs/utilities/useEvent.md +1 -1
- package/dist/docs/utilities/useFocusTrap.md +1 -1
- package/dist/docs/utilities/useFullscreen.md +1 -1
- package/dist/docs/utilities/useHover.md +1 -1
- package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
- package/dist/docs/utilities/useInterval.md +1 -1
- package/dist/docs/utilities/useIsFocusWithin.md +1 -1
- package/dist/docs/utilities/useKey.md +7 -5
- package/dist/docs/utilities/useLocalStorage.md +1 -1
- package/dist/docs/utilities/useLocationSuggestions.md +1 -1
- package/dist/docs/utilities/useMax.md +1 -1
- package/dist/docs/utilities/useMin.md +1 -1
- package/dist/docs/utilities/useMutationObserver.md +1 -1
- package/dist/docs/utilities/useOnScreen.md +1 -1
- package/dist/docs/utilities/useOnlineStatus.md +1 -1
- package/dist/docs/utilities/usePostMessage.md +58 -2
- package/dist/docs/utilities/usePostMessageSender.md +1 -1
- package/dist/docs/utilities/usePrevious.md +1 -1
- package/dist/docs/utilities/useResizeObserver.md +1 -1
- package/dist/docs/utilities/useScrollPosition.md +1 -1
- package/dist/docs/utilities/useSearch.md +1 -1
- package/dist/docs/utilities/useSorting.md +1 -1
- package/dist/docs/utilities/useStateWithValidation.md +1 -1
- package/dist/docs/utilities/useSum.md +1 -1
- package/dist/docs/utilities/useTableExport.md +54 -54
- package/dist/docs/utilities/useTableSelection.md +93 -93
- package/dist/docs/utilities/useTimeout.md +1 -1
- package/dist/docs/utilities/useToggle.md +1 -1
- package/dist/docs/utilities/useWindowResize.md +1 -1
- package/dist/index.mjs +8 -8
- package/dist/version.json +2 -2
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*Category:* Components
|
|
4
4
|
*Section:* Application
|
|
5
5
|
*Source:* https://uikit.developers.rio.cloud/#components/appLayout
|
|
6
|
-
*Captured:* 2026-
|
|
6
|
+
*Captured:* 2026-02-03T14:04:07.567Z
|
|
7
7
|
|
|
8
8
|
The ApplicationLayout components consists of three sub-components: ApplicationHeader, ApplicationBody, ApplicationSidebar
|
|
9
9
|
|
|
@@ -142,8 +142,8 @@ export default () => (
|
|
|
142
142
|
|
|
143
143
|
| Name | Type | Default | Description |
|
|
144
144
|
| --- | --- | --- | --- |
|
|
145
|
-
| layoutRef |
|
|
146
|
-
| className |
|
|
145
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
146
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
147
147
|
|
|
148
148
|
#### Props: ApplicationLayoutHeader
|
|
149
149
|
|
|
@@ -151,7 +151,7 @@ export default () => (
|
|
|
151
151
|
|
|
152
152
|
| Name | Type | Default | Description |
|
|
153
153
|
| --- | --- | --- | --- |
|
|
154
|
-
| className |
|
|
154
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
155
155
|
|
|
156
156
|
#### Props: ApplicationLayoutSidebar
|
|
157
157
|
|
|
@@ -159,8 +159,7 @@ export default () => (
|
|
|
159
159
|
|
|
160
160
|
| Name | Type | Default | Description |
|
|
161
161
|
| --- | --- | --- | --- |
|
|
162
|
-
|
|
|
163
|
-
| className | String | — | Additional class names that are added to the respective component. |
|
|
162
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
164
163
|
|
|
165
164
|
#### Props: ApplicationLayoutBody
|
|
166
165
|
|
|
@@ -168,15 +167,15 @@ export default () => (
|
|
|
168
167
|
|
|
169
168
|
| Name | Type | Default | Description |
|
|
170
169
|
| --- | --- | --- | --- |
|
|
171
|
-
|
|
|
172
|
-
|
|
|
173
|
-
|
|
|
174
|
-
|
|
|
175
|
-
|
|
|
176
|
-
|
|
|
177
|
-
|
|
|
178
|
-
|
|
|
179
|
-
|
|
|
170
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
171
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
172
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
173
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
174
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
175
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
176
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
177
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
178
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
180
179
|
|
|
181
180
|
#### Props: ApplicationLayoutBodyNavigation
|
|
182
181
|
|
|
@@ -184,7 +183,7 @@ export default () => (
|
|
|
184
183
|
|
|
185
184
|
| Name | Type | Default | Description |
|
|
186
185
|
| --- | --- | --- | --- |
|
|
187
|
-
| className |
|
|
186
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
188
187
|
|
|
189
188
|
#### Props: ApplicationLayoutBodyBottomBar
|
|
190
189
|
|
|
@@ -192,9 +191,9 @@ export default () => (
|
|
|
192
191
|
|
|
193
192
|
| Name | Type | Default | Description |
|
|
194
193
|
| --- | --- | --- | --- |
|
|
195
|
-
| className |
|
|
196
|
-
|
|
|
197
|
-
|
|
|
194
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
195
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
196
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
198
197
|
|
|
199
198
|
#### Props: ApplicationLayoutBodyBanner
|
|
200
199
|
|
|
@@ -202,10 +201,10 @@ export default () => (
|
|
|
202
201
|
|
|
203
202
|
| Name | Type | Default | Description |
|
|
204
203
|
| --- | --- | --- | --- |
|
|
205
|
-
|
|
|
206
|
-
| backgroundColor |
|
|
207
|
-
|
|
|
208
|
-
|
|
|
204
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
205
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
206
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
207
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
209
208
|
|
|
210
209
|
## SubNavigation example
|
|
211
210
|
|
|
@@ -420,8 +419,8 @@ const useResizer = () => {
|
|
|
420
419
|
|
|
421
420
|
| Name | Type | Default | Description |
|
|
422
421
|
| --- | --- | --- | --- |
|
|
423
|
-
| layoutRef |
|
|
424
|
-
| className |
|
|
422
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
423
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
425
424
|
|
|
426
425
|
#### Props: ApplicationLayoutHeader
|
|
427
426
|
|
|
@@ -429,7 +428,7 @@ const useResizer = () => {
|
|
|
429
428
|
|
|
430
429
|
| Name | Type | Default | Description |
|
|
431
430
|
| --- | --- | --- | --- |
|
|
432
|
-
| className |
|
|
431
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
433
432
|
|
|
434
433
|
#### Props: ApplicationLayoutSidebar
|
|
435
434
|
|
|
@@ -437,8 +436,7 @@ const useResizer = () => {
|
|
|
437
436
|
|
|
438
437
|
| Name | Type | Default | Description |
|
|
439
438
|
| --- | --- | --- | --- |
|
|
440
|
-
|
|
|
441
|
-
| className | String | — | Additional class names that are added to the respective component. |
|
|
439
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
442
440
|
|
|
443
441
|
#### Props: ApplicationLayoutBody
|
|
444
442
|
|
|
@@ -446,15 +444,15 @@ const useResizer = () => {
|
|
|
446
444
|
|
|
447
445
|
| Name | Type | Default | Description |
|
|
448
446
|
| --- | --- | --- | --- |
|
|
449
|
-
|
|
|
450
|
-
|
|
|
451
|
-
|
|
|
452
|
-
|
|
|
453
|
-
|
|
|
454
|
-
|
|
|
455
|
-
|
|
|
456
|
-
|
|
|
457
|
-
|
|
|
447
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
448
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
449
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
450
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
451
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
452
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
453
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
454
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
455
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
458
456
|
|
|
459
457
|
#### Props: ApplicationLayoutBodyNavigation
|
|
460
458
|
|
|
@@ -462,7 +460,7 @@ const useResizer = () => {
|
|
|
462
460
|
|
|
463
461
|
| Name | Type | Default | Description |
|
|
464
462
|
| --- | --- | --- | --- |
|
|
465
|
-
| className |
|
|
463
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
466
464
|
|
|
467
465
|
#### Props: ApplicationLayoutBodyBottomBar
|
|
468
466
|
|
|
@@ -470,9 +468,9 @@ const useResizer = () => {
|
|
|
470
468
|
|
|
471
469
|
| Name | Type | Default | Description |
|
|
472
470
|
| --- | --- | --- | --- |
|
|
473
|
-
| className |
|
|
474
|
-
|
|
|
475
|
-
|
|
|
471
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
472
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
473
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
476
474
|
|
|
477
475
|
#### Props: ApplicationLayoutBodyBanner
|
|
478
476
|
|
|
@@ -480,10 +478,10 @@ const useResizer = () => {
|
|
|
480
478
|
|
|
481
479
|
| Name | Type | Default | Description |
|
|
482
480
|
| --- | --- | --- | --- |
|
|
483
|
-
|
|
|
484
|
-
| backgroundColor |
|
|
485
|
-
|
|
|
486
|
-
|
|
|
481
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
482
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
483
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
484
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
487
485
|
|
|
488
486
|
## Body banner example
|
|
489
487
|
|
|
@@ -625,8 +623,8 @@ export default () => (
|
|
|
625
623
|
|
|
626
624
|
| Name | Type | Default | Description |
|
|
627
625
|
| --- | --- | --- | --- |
|
|
628
|
-
| layoutRef |
|
|
629
|
-
| className |
|
|
626
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
627
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
630
628
|
|
|
631
629
|
#### Props: ApplicationLayoutHeader
|
|
632
630
|
|
|
@@ -634,7 +632,7 @@ export default () => (
|
|
|
634
632
|
|
|
635
633
|
| Name | Type | Default | Description |
|
|
636
634
|
| --- | --- | --- | --- |
|
|
637
|
-
| className |
|
|
635
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
638
636
|
|
|
639
637
|
#### Props: ApplicationLayoutSidebar
|
|
640
638
|
|
|
@@ -642,8 +640,7 @@ export default () => (
|
|
|
642
640
|
|
|
643
641
|
| Name | Type | Default | Description |
|
|
644
642
|
| --- | --- | --- | --- |
|
|
645
|
-
|
|
|
646
|
-
| className | String | — | Additional class names that are added to the respective component. |
|
|
643
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
647
644
|
|
|
648
645
|
#### Props: ApplicationLayoutBody
|
|
649
646
|
|
|
@@ -651,15 +648,15 @@ export default () => (
|
|
|
651
648
|
|
|
652
649
|
| Name | Type | Default | Description |
|
|
653
650
|
| --- | --- | --- | --- |
|
|
654
|
-
|
|
|
655
|
-
|
|
|
656
|
-
|
|
|
657
|
-
|
|
|
658
|
-
|
|
|
659
|
-
|
|
|
660
|
-
|
|
|
661
|
-
|
|
|
662
|
-
|
|
|
651
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
652
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
653
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
654
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
655
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
656
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
657
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
658
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
659
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
663
660
|
|
|
664
661
|
#### Props: ApplicationLayoutBodyNavigation
|
|
665
662
|
|
|
@@ -667,7 +664,7 @@ export default () => (
|
|
|
667
664
|
|
|
668
665
|
| Name | Type | Default | Description |
|
|
669
666
|
| --- | --- | --- | --- |
|
|
670
|
-
| className |
|
|
667
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
671
668
|
|
|
672
669
|
#### Props: ApplicationLayoutBodyBottomBar
|
|
673
670
|
|
|
@@ -675,9 +672,9 @@ export default () => (
|
|
|
675
672
|
|
|
676
673
|
| Name | Type | Default | Description |
|
|
677
674
|
| --- | --- | --- | --- |
|
|
678
|
-
| className |
|
|
679
|
-
|
|
|
680
|
-
|
|
|
675
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
676
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
677
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
681
678
|
|
|
682
679
|
#### Props: ApplicationLayoutBodyBanner
|
|
683
680
|
|
|
@@ -685,10 +682,10 @@ export default () => (
|
|
|
685
682
|
|
|
686
683
|
| Name | Type | Default | Description |
|
|
687
684
|
| --- | --- | --- | --- |
|
|
688
|
-
|
|
|
689
|
-
| backgroundColor |
|
|
690
|
-
|
|
|
691
|
-
|
|
|
685
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
686
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
687
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
688
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
692
689
|
|
|
693
690
|
## Bottom bar example
|
|
694
691
|
|
|
@@ -834,8 +831,8 @@ export default () => (
|
|
|
834
831
|
|
|
835
832
|
| Name | Type | Default | Description |
|
|
836
833
|
| --- | --- | --- | --- |
|
|
837
|
-
| layoutRef |
|
|
838
|
-
| className |
|
|
834
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
835
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
839
836
|
|
|
840
837
|
#### Props: ApplicationLayoutHeader
|
|
841
838
|
|
|
@@ -843,7 +840,7 @@ export default () => (
|
|
|
843
840
|
|
|
844
841
|
| Name | Type | Default | Description |
|
|
845
842
|
| --- | --- | --- | --- |
|
|
846
|
-
| className |
|
|
843
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
847
844
|
|
|
848
845
|
#### Props: ApplicationLayoutSidebar
|
|
849
846
|
|
|
@@ -851,8 +848,7 @@ export default () => (
|
|
|
851
848
|
|
|
852
849
|
| Name | Type | Default | Description |
|
|
853
850
|
| --- | --- | --- | --- |
|
|
854
|
-
|
|
|
855
|
-
| className | String | — | Additional class names that are added to the respective component. |
|
|
851
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
856
852
|
|
|
857
853
|
#### Props: ApplicationLayoutBody
|
|
858
854
|
|
|
@@ -860,15 +856,15 @@ export default () => (
|
|
|
860
856
|
|
|
861
857
|
| Name | Type | Default | Description |
|
|
862
858
|
| --- | --- | --- | --- |
|
|
863
|
-
|
|
|
864
|
-
|
|
|
865
|
-
|
|
|
866
|
-
|
|
|
867
|
-
|
|
|
868
|
-
|
|
|
869
|
-
|
|
|
870
|
-
|
|
|
871
|
-
|
|
|
859
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
860
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
861
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
862
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
863
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
864
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
865
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
866
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
867
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
872
868
|
|
|
873
869
|
#### Props: ApplicationLayoutBodyNavigation
|
|
874
870
|
|
|
@@ -876,7 +872,7 @@ export default () => (
|
|
|
876
872
|
|
|
877
873
|
| Name | Type | Default | Description |
|
|
878
874
|
| --- | --- | --- | --- |
|
|
879
|
-
| className |
|
|
875
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
880
876
|
|
|
881
877
|
#### Props: ApplicationLayoutBodyBottomBar
|
|
882
878
|
|
|
@@ -884,9 +880,9 @@ export default () => (
|
|
|
884
880
|
|
|
885
881
|
| Name | Type | Default | Description |
|
|
886
882
|
| --- | --- | --- | --- |
|
|
887
|
-
| className |
|
|
888
|
-
|
|
|
889
|
-
|
|
|
883
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
884
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
885
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
890
886
|
|
|
891
887
|
#### Props: ApplicationLayoutBodyBanner
|
|
892
888
|
|
|
@@ -894,10 +890,10 @@ export default () => (
|
|
|
894
890
|
|
|
895
891
|
| Name | Type | Default | Description |
|
|
896
892
|
| --- | --- | --- | --- |
|
|
897
|
-
|
|
|
898
|
-
| backgroundColor |
|
|
899
|
-
|
|
|
900
|
-
|
|
|
893
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
894
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
895
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
896
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
901
897
|
|
|
902
898
|
## Sidebar Example
|
|
903
899
|
|
|
@@ -1083,8 +1079,8 @@ export default () => (
|
|
|
1083
1079
|
|
|
1084
1080
|
| Name | Type | Default | Description |
|
|
1085
1081
|
| --- | --- | --- | --- |
|
|
1086
|
-
| layoutRef |
|
|
1087
|
-
| className |
|
|
1082
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
1083
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
1088
1084
|
|
|
1089
1085
|
#### Props: ApplicationLayoutHeader
|
|
1090
1086
|
|
|
@@ -1092,7 +1088,7 @@ export default () => (
|
|
|
1092
1088
|
|
|
1093
1089
|
| Name | Type | Default | Description |
|
|
1094
1090
|
| --- | --- | --- | --- |
|
|
1095
|
-
| className |
|
|
1091
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
1096
1092
|
|
|
1097
1093
|
#### Props: ApplicationLayoutSidebar
|
|
1098
1094
|
|
|
@@ -1100,8 +1096,7 @@ export default () => (
|
|
|
1100
1096
|
|
|
1101
1097
|
| Name | Type | Default | Description |
|
|
1102
1098
|
| --- | --- | --- | --- |
|
|
1103
|
-
|
|
|
1104
|
-
| className | String | — | Additional class names that are added to the respective component. |
|
|
1099
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
1105
1100
|
|
|
1106
1101
|
#### Props: ApplicationLayoutBody
|
|
1107
1102
|
|
|
@@ -1109,15 +1104,15 @@ export default () => (
|
|
|
1109
1104
|
|
|
1110
1105
|
| Name | Type | Default | Description |
|
|
1111
1106
|
| --- | --- | --- | --- |
|
|
1112
|
-
|
|
|
1113
|
-
|
|
|
1114
|
-
|
|
|
1115
|
-
|
|
|
1116
|
-
|
|
|
1117
|
-
|
|
|
1118
|
-
|
|
|
1119
|
-
|
|
|
1120
|
-
|
|
|
1107
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
1108
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
1109
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
1110
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
1111
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
1112
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
1113
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
1114
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
1115
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
1121
1116
|
|
|
1122
1117
|
#### Props: ApplicationLayoutBodyNavigation
|
|
1123
1118
|
|
|
@@ -1125,7 +1120,7 @@ export default () => (
|
|
|
1125
1120
|
|
|
1126
1121
|
| Name | Type | Default | Description |
|
|
1127
1122
|
| --- | --- | --- | --- |
|
|
1128
|
-
| className |
|
|
1123
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
1129
1124
|
|
|
1130
1125
|
#### Props: ApplicationLayoutBodyBottomBar
|
|
1131
1126
|
|
|
@@ -1133,9 +1128,9 @@ export default () => (
|
|
|
1133
1128
|
|
|
1134
1129
|
| Name | Type | Default | Description |
|
|
1135
1130
|
| --- | --- | --- | --- |
|
|
1136
|
-
| className |
|
|
1137
|
-
|
|
|
1138
|
-
|
|
|
1131
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
1132
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
1133
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
1139
1134
|
|
|
1140
1135
|
#### Props: ApplicationLayoutBodyBanner
|
|
1141
1136
|
|
|
@@ -1143,10 +1138,10 @@ export default () => (
|
|
|
1143
1138
|
|
|
1144
1139
|
| Name | Type | Default | Description |
|
|
1145
1140
|
| --- | --- | --- | --- |
|
|
1146
|
-
|
|
|
1147
|
-
| backgroundColor |
|
|
1148
|
-
|
|
|
1149
|
-
|
|
|
1141
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
1142
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
1143
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
1144
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
1150
1145
|
|
|
1151
1146
|
## Complete example with all components
|
|
1152
1147
|
|
|
@@ -1160,23 +1155,22 @@ Navigation 3
|
|
|
1160
1155
|
|
|
1161
1156
|
4
|
|
1162
1157
|
|
|
1158
|
+
6
|
|
1159
|
+
3
|
|
1163
1160
|
4
|
|
1164
|
-
|
|
1165
|
-
4
|
|
1166
|
-
4
|
|
1161
|
+
6
|
|
1167
1162
|
|
|
1168
|
-
Asset
|
|
1169
|
-
Vehicle-
|
|
1170
|
-
Vehicle-
|
|
1171
|
-
Vehicle-
|
|
1172
|
-
Vehicle-
|
|
1173
|
-
Vehicle-
|
|
1174
|
-
Vehicle-
|
|
1175
|
-
Vehicle-
|
|
1176
|
-
Vehicle-
|
|
1177
|
-
Vehicle-9372Asset 1014
|
|
1163
|
+
Asset Group8
|
|
1164
|
+
Vehicle-1458Asset 1001
|
|
1165
|
+
Vehicle-2546Asset 1016
|
|
1166
|
+
Vehicle-3976Asset 1010
|
|
1167
|
+
Vehicle-4094Asset 1009
|
|
1168
|
+
Vehicle-5226Asset 1013
|
|
1169
|
+
Vehicle-5265Asset 1012
|
|
1170
|
+
Vehicle-5337Asset 1005
|
|
1171
|
+
Vehicle-6602Asset 1018
|
|
1178
1172
|
|
|
1179
|
-
|
|
1173
|
+
Ungrouped11
|
|
1180
1174
|
|
|
1181
1175
|
200
|
|
1182
1176
|
|
|
@@ -1211,23 +1205,22 @@ Navigation 3
|
|
|
1211
1205
|
|
|
1212
1206
|
4
|
|
1213
1207
|
|
|
1208
|
+
6
|
|
1209
|
+
3
|
|
1214
1210
|
4
|
|
1215
|
-
|
|
1216
|
-
4
|
|
1217
|
-
4
|
|
1211
|
+
6
|
|
1218
1212
|
|
|
1219
|
-
Asset
|
|
1220
|
-
Vehicle-
|
|
1221
|
-
Vehicle-
|
|
1222
|
-
Vehicle-
|
|
1223
|
-
Vehicle-
|
|
1224
|
-
Vehicle-
|
|
1225
|
-
Vehicle-
|
|
1226
|
-
Vehicle-
|
|
1227
|
-
Vehicle-
|
|
1228
|
-
Vehicle-9372Asset 1014
|
|
1213
|
+
Asset Group8
|
|
1214
|
+
Vehicle-1458Asset 1001
|
|
1215
|
+
Vehicle-2546Asset 1016
|
|
1216
|
+
Vehicle-3976Asset 1010
|
|
1217
|
+
Vehicle-4094Asset 1009
|
|
1218
|
+
Vehicle-5226Asset 1013
|
|
1219
|
+
Vehicle-5265Asset 1012
|
|
1220
|
+
Vehicle-5337Asset 1005
|
|
1221
|
+
Vehicle-6602Asset 1018
|
|
1229
1222
|
|
|
1230
|
-
|
|
1223
|
+
Ungrouped11
|
|
1231
1224
|
|
|
1232
1225
|
200
|
|
1233
1226
|
|
|
@@ -1258,7 +1251,7 @@ Bottom Button
|
|
|
1258
1251
|
import { useState, useEffect } from 'react';
|
|
1259
1252
|
import { Link, NavLink } from 'react-router-dom';
|
|
1260
1253
|
import { random } from 'es-toolkit/compat';
|
|
1261
|
-
import faker from 'faker';
|
|
1254
|
+
import { faker } from '@faker-js/faker';
|
|
1262
1255
|
import IframeResizer from 'iframe-resizer-react';
|
|
1263
1256
|
|
|
1264
1257
|
import ApplicationLayout from '@rio-cloud/rio-uikit/ApplicationLayout';
|
|
@@ -1567,15 +1560,15 @@ const assets = Array.from({ length: random(5, 20) }, (_, index) => ({
|
|
|
1567
1560
|
id: `010191ac-d06d-4567-b13a-7b7fd85d97${index}`,
|
|
1568
1561
|
name: `Vehicle-${random(1000, 9999)}`,
|
|
1569
1562
|
info: `Asset 1${String(index).padStart(3, '0')}`,
|
|
1570
|
-
type: faker.
|
|
1571
|
-
groupIds: [faker.
|
|
1563
|
+
type: faker.helpers.arrayElement(['truck', 'trailer', 'van', 'bus']),
|
|
1564
|
+
groupIds: [faker.helpers.arrayElement(assetGroups).id],
|
|
1572
1565
|
}));
|
|
1573
1566
|
|
|
1574
1567
|
const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
1575
1568
|
id: `74e8eb86-18a1-4abe-90cb-aeee7909f85${index}`,
|
|
1576
1569
|
name: {
|
|
1577
|
-
firstName: faker.internet.
|
|
1578
|
-
lastName: faker.
|
|
1570
|
+
firstName: faker.internet.username(),
|
|
1571
|
+
lastName: faker.person.firstName(),
|
|
1579
1572
|
},
|
|
1580
1573
|
type: 'driver',
|
|
1581
1574
|
}));
|
|
@@ -1713,24 +1706,24 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1713
1706
|
<div class="display-flex justify-content-between align-items-start width-100pct">
|
|
1714
1707
|
<div class="TreeSummary display-flex flex-wrap align-items-center gap-10 padding-left-3">
|
|
1715
1708
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1716
|
-
<span class="rioglyph rioglyph-
|
|
1709
|
+
<span class="rioglyph rioglyph-truck text-size-16 margin-right-2">
|
|
1717
1710
|
</span>
|
|
1718
|
-
<span class="TreeLabelCount label label-condensed label-muted label-filled">
|
|
1711
|
+
<span class="TreeLabelCount label label-condensed label-muted label-filled">6</span>
|
|
1719
1712
|
</div>
|
|
1720
1713
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1721
|
-
<span class="rioglyph rioglyph-
|
|
1714
|
+
<span class="rioglyph rioglyph-trailer text-size-16 margin-right-2">
|
|
1722
1715
|
</span>
|
|
1723
|
-
<span class="TreeLabelCount label label-condensed label-muted label-filled">
|
|
1716
|
+
<span class="TreeLabelCount label label-condensed label-muted label-filled">3</span>
|
|
1724
1717
|
</div>
|
|
1725
1718
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1726
|
-
<span class="rioglyph rioglyph-
|
|
1719
|
+
<span class="rioglyph rioglyph-van text-size-16 margin-right-2">
|
|
1727
1720
|
</span>
|
|
1728
1721
|
<span class="TreeLabelCount label label-condensed label-muted label-filled">4</span>
|
|
1729
1722
|
</div>
|
|
1730
1723
|
<div class="TypeCounter display-flex align-items-center user-select-none margin-right-2 cursor-pointer">
|
|
1731
1724
|
<span class="rioglyph rioglyph-bus text-size-16 margin-right-2">
|
|
1732
1725
|
</span>
|
|
1733
|
-
<span class="TreeLabelCount label label-condensed label-muted label-filled">
|
|
1726
|
+
<span class="TreeLabelCount label label-condensed label-muted label-filled">6</span>
|
|
1734
1727
|
</div>
|
|
1735
1728
|
</div>
|
|
1736
1729
|
</div>
|
|
@@ -1748,143 +1741,128 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1748
1741
|
<span class="TreeLabelNameText">
|
|
1749
1742
|
<span class="TreeLabelNameTextHeadline">Asset Group</span>
|
|
1750
1743
|
</span>
|
|
1751
|
-
<span class="TreeLabelCount label label-muted label-filled label-condensed">
|
|
1744
|
+
<span class="TreeLabelCount label label-muted label-filled label-condensed">8</span>
|
|
1752
1745
|
<span class="TreeLabelExpander rioglyph rioglyph-chevron-down ">
|
|
1753
1746
|
</span>
|
|
1754
1747
|
</span>
|
|
1755
1748
|
</div>
|
|
1756
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1757
|
-
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1758
|
-
<input type="checkbox" class="TreeCheckbox">
|
|
1759
|
-
<span class="checkbox-text">
|
|
1760
|
-
</span>
|
|
1761
|
-
</label>
|
|
1762
|
-
<span class="TreeLabel TreeLabelName">
|
|
1763
|
-
<span class="rioglyph rioglyph-truck">
|
|
1764
|
-
</span>
|
|
1765
|
-
<span class="TreeLabelNameText">
|
|
1766
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-1869</span>
|
|
1767
|
-
<span class="TreeLabelNameTextSubline">Asset 1015</span>
|
|
1768
|
-
</span>
|
|
1769
|
-
</span>
|
|
1770
|
-
</div>
|
|
1771
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d977">
|
|
1749
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d971">
|
|
1772
1750
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1773
1751
|
<input type="checkbox" class="TreeCheckbox">
|
|
1774
1752
|
<span class="checkbox-text">
|
|
1775
1753
|
</span>
|
|
1776
1754
|
</label>
|
|
1777
1755
|
<span class="TreeLabel TreeLabelName">
|
|
1778
|
-
<span class="rioglyph rioglyph-
|
|
1756
|
+
<span class="rioglyph rioglyph-trailer">
|
|
1779
1757
|
</span>
|
|
1780
1758
|
<span class="TreeLabelNameText">
|
|
1781
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1782
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1759
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-1458</span>
|
|
1760
|
+
<span class="TreeLabelNameTextSubline">Asset 1001</span>
|
|
1783
1761
|
</span>
|
|
1784
1762
|
</span>
|
|
1785
1763
|
</div>
|
|
1786
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1764
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9716">
|
|
1787
1765
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1788
1766
|
<input type="checkbox" class="TreeCheckbox">
|
|
1789
1767
|
<span class="checkbox-text">
|
|
1790
1768
|
</span>
|
|
1791
1769
|
</label>
|
|
1792
1770
|
<span class="TreeLabel TreeLabelName">
|
|
1793
|
-
<span class="rioglyph rioglyph-
|
|
1771
|
+
<span class="rioglyph rioglyph-trailer">
|
|
1794
1772
|
</span>
|
|
1795
1773
|
<span class="TreeLabelNameText">
|
|
1796
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1797
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1774
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-2546</span>
|
|
1775
|
+
<span class="TreeLabelNameTextSubline">Asset 1016</span>
|
|
1798
1776
|
</span>
|
|
1799
1777
|
</span>
|
|
1800
1778
|
</div>
|
|
1801
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1779
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9710">
|
|
1802
1780
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1803
1781
|
<input type="checkbox" class="TreeCheckbox">
|
|
1804
1782
|
<span class="checkbox-text">
|
|
1805
1783
|
</span>
|
|
1806
1784
|
</label>
|
|
1807
1785
|
<span class="TreeLabel TreeLabelName">
|
|
1808
|
-
<span class="rioglyph rioglyph-
|
|
1786
|
+
<span class="rioglyph rioglyph-bus">
|
|
1809
1787
|
</span>
|
|
1810
1788
|
<span class="TreeLabelNameText">
|
|
1811
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1812
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1789
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-3976</span>
|
|
1790
|
+
<span class="TreeLabelNameTextSubline">Asset 1010</span>
|
|
1813
1791
|
</span>
|
|
1814
1792
|
</span>
|
|
1815
1793
|
</div>
|
|
1816
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1794
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d979">
|
|
1817
1795
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1818
1796
|
<input type="checkbox" class="TreeCheckbox">
|
|
1819
1797
|
<span class="checkbox-text">
|
|
1820
1798
|
</span>
|
|
1821
1799
|
</label>
|
|
1822
1800
|
<span class="TreeLabel TreeLabelName">
|
|
1823
|
-
<span class="rioglyph rioglyph-
|
|
1801
|
+
<span class="rioglyph rioglyph-bus">
|
|
1824
1802
|
</span>
|
|
1825
1803
|
<span class="TreeLabelNameText">
|
|
1826
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1827
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1804
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-4094</span>
|
|
1805
|
+
<span class="TreeLabelNameTextSubline">Asset 1009</span>
|
|
1828
1806
|
</span>
|
|
1829
1807
|
</span>
|
|
1830
1808
|
</div>
|
|
1831
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1809
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9713">
|
|
1832
1810
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1833
1811
|
<input type="checkbox" class="TreeCheckbox">
|
|
1834
1812
|
<span class="checkbox-text">
|
|
1835
1813
|
</span>
|
|
1836
1814
|
</label>
|
|
1837
1815
|
<span class="TreeLabel TreeLabelName">
|
|
1838
|
-
<span class="rioglyph rioglyph-
|
|
1816
|
+
<span class="rioglyph rioglyph-bus">
|
|
1839
1817
|
</span>
|
|
1840
1818
|
<span class="TreeLabelNameText">
|
|
1841
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1842
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1819
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-5226</span>
|
|
1820
|
+
<span class="TreeLabelNameTextSubline">Asset 1013</span>
|
|
1843
1821
|
</span>
|
|
1844
1822
|
</span>
|
|
1845
1823
|
</div>
|
|
1846
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1824
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9712">
|
|
1847
1825
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1848
1826
|
<input type="checkbox" class="TreeCheckbox">
|
|
1849
1827
|
<span class="checkbox-text">
|
|
1850
1828
|
</span>
|
|
1851
1829
|
</label>
|
|
1852
1830
|
<span class="TreeLabel TreeLabelName">
|
|
1853
|
-
<span class="rioglyph rioglyph-
|
|
1831
|
+
<span class="rioglyph rioglyph-truck">
|
|
1854
1832
|
</span>
|
|
1855
1833
|
<span class="TreeLabelNameText">
|
|
1856
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1857
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1834
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-5265</span>
|
|
1835
|
+
<span class="TreeLabelNameTextSubline">Asset 1012</span>
|
|
1858
1836
|
</span>
|
|
1859
1837
|
</span>
|
|
1860
1838
|
</div>
|
|
1861
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1839
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d975">
|
|
1862
1840
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1863
1841
|
<input type="checkbox" class="TreeCheckbox">
|
|
1864
1842
|
<span class="checkbox-text">
|
|
1865
1843
|
</span>
|
|
1866
1844
|
</label>
|
|
1867
1845
|
<span class="TreeLabel TreeLabelName">
|
|
1868
|
-
<span class="rioglyph rioglyph-
|
|
1846
|
+
<span class="rioglyph rioglyph-van">
|
|
1869
1847
|
</span>
|
|
1870
1848
|
<span class="TreeLabelNameText">
|
|
1871
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1872
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1849
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-5337</span>
|
|
1850
|
+
<span class="TreeLabelNameTextSubline">Asset 1005</span>
|
|
1873
1851
|
</span>
|
|
1874
1852
|
</span>
|
|
1875
1853
|
</div>
|
|
1876
|
-
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-
|
|
1854
|
+
<div class="TreeLeaf form-group margin-bottom-0" data-key="010191ac-d06d-4567-b13a-7b7fd85d9718">
|
|
1877
1855
|
<label class="checkbox TreeCheckbox" tabindex="0">
|
|
1878
1856
|
<input type="checkbox" class="TreeCheckbox">
|
|
1879
1857
|
<span class="checkbox-text">
|
|
1880
1858
|
</span>
|
|
1881
1859
|
</label>
|
|
1882
1860
|
<span class="TreeLabel TreeLabelName">
|
|
1883
|
-
<span class="rioglyph rioglyph-
|
|
1861
|
+
<span class="rioglyph rioglyph-bus">
|
|
1884
1862
|
</span>
|
|
1885
1863
|
<span class="TreeLabelNameText">
|
|
1886
|
-
<span class="TreeLabelNameTextHeadline">Vehicle-
|
|
1887
|
-
<span class="TreeLabelNameTextSubline">Asset
|
|
1864
|
+
<span class="TreeLabelNameTextHeadline">Vehicle-6602</span>
|
|
1865
|
+
<span class="TreeLabelNameTextSubline">Asset 1018</span>
|
|
1888
1866
|
</span>
|
|
1889
1867
|
</span>
|
|
1890
1868
|
</div>
|
|
@@ -1900,7 +1878,7 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
1900
1878
|
<span class="TreeLabelNameText">
|
|
1901
1879
|
<span class="TreeLabelNameTextHeadline">Ungrouped</span>
|
|
1902
1880
|
</span>
|
|
1903
|
-
<span class="TreeLabelCount label label-muted label-filled label-condensed">
|
|
1881
|
+
<span class="TreeLabelCount label label-muted label-filled label-condensed">11</span>
|
|
1904
1882
|
<span class="TreeLabelExpander rioglyph rioglyph-chevron-down ">
|
|
1905
1883
|
</span>
|
|
1906
1884
|
</span>
|
|
@@ -2076,8 +2054,8 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
2076
2054
|
|
|
2077
2055
|
| Name | Type | Default | Description |
|
|
2078
2056
|
| --- | --- | --- | --- |
|
|
2079
|
-
| layoutRef |
|
|
2080
|
-
| className |
|
|
2057
|
+
| layoutRef | MutableRefObject<HTMLDivElement \| null> | — | A React ref function assigned to the wrapper element. |
|
|
2058
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
2081
2059
|
|
|
2082
2060
|
#### Props: ApplicationLayoutHeader
|
|
2083
2061
|
|
|
@@ -2085,7 +2063,7 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
2085
2063
|
|
|
2086
2064
|
| Name | Type | Default | Description |
|
|
2087
2065
|
| --- | --- | --- | --- |
|
|
2088
|
-
| className |
|
|
2066
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
2089
2067
|
|
|
2090
2068
|
#### Props: ApplicationLayoutSidebar
|
|
2091
2069
|
|
|
@@ -2093,8 +2071,7 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
2093
2071
|
|
|
2094
2072
|
| Name | Type | Default | Description |
|
|
2095
2073
|
| --- | --- | --- | --- |
|
|
2096
|
-
|
|
|
2097
|
-
| className | String | — | Additional class names that are added to the respective component. |
|
|
2074
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
2098
2075
|
|
|
2099
2076
|
#### Props: ApplicationLayoutBody
|
|
2100
2077
|
|
|
@@ -2102,15 +2079,15 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
2102
2079
|
|
|
2103
2080
|
| Name | Type | Default | Description |
|
|
2104
2081
|
| --- | --- | --- | --- |
|
|
2105
|
-
|
|
|
2106
|
-
|
|
|
2107
|
-
|
|
|
2108
|
-
|
|
|
2109
|
-
|
|
|
2110
|
-
|
|
|
2111
|
-
|
|
|
2112
|
-
|
|
|
2113
|
-
|
|
|
2082
|
+
| enableScrollToTop | boolean | true | Show scroll to top button after scrolling the content. |
|
|
2083
|
+
| forceScrollbar | boolean | true | Always show vertical scrollbar to prevent the content from jumping. |
|
|
2084
|
+
| scrollResetTrigger | any | — | Prop to trigger scroll reset from outside. This comes in handy when changing the body content and to reset the scrolling like when the pathname changes from an body internal menu. |
|
|
2085
|
+
| banner | React.ReactNode | — | The ApplicationLayoutBodyBanner component. |
|
|
2086
|
+
| navigation | React.ReactNode | — | The ApplicationLayoutBodyNavigation component. |
|
|
2087
|
+
| bottomBar | React.ReactNode | — | Optional bottom bar component or a simple string. |
|
|
2088
|
+
| bottomBarHeight | number | 54 | Height of the bottomBar in pixel. |
|
|
2089
|
+
| innerClassName | string | — | Additional class names that are added to the inner module-content component. |
|
|
2090
|
+
| className | string | — | Additional class names that are added to the respective component. |
|
|
2114
2091
|
|
|
2115
2092
|
#### Props: ApplicationLayoutBodyNavigation
|
|
2116
2093
|
|
|
@@ -2118,7 +2095,7 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
2118
2095
|
|
|
2119
2096
|
| Name | Type | Default | Description |
|
|
2120
2097
|
| --- | --- | --- | --- |
|
|
2121
|
-
| className |
|
|
2098
|
+
| className | string | — | Additional class names that are added to the respective component. Example: has-offset. |
|
|
2122
2099
|
|
|
2123
2100
|
#### Props: ApplicationLayoutBodyBottomBar
|
|
2124
2101
|
|
|
@@ -2126,9 +2103,9 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
2126
2103
|
|
|
2127
2104
|
| Name | Type | Default | Description |
|
|
2128
2105
|
| --- | --- | --- | --- |
|
|
2129
|
-
| className |
|
|
2130
|
-
|
|
|
2131
|
-
|
|
|
2106
|
+
| className | string | — | Additional class names that are added to the respective component |
|
|
2107
|
+
| useBodyPaddings | boolean | false | Use same paddings (left and right) as the ApplicationLayoutBody. |
|
|
2108
|
+
| buttonAlignment | ButtonAlignmentLeft \| ButtonAlignmentRight | — | Tells the buttons if they are left or right aligned. Default behavior is: 1st button left and 2nd button right. Possible values are: ApplicationLayoutBodyBottomBar.LEFT, ApplicationLayoutBodyBottomBar.RIGHT or left, right |
|
|
2132
2109
|
|
|
2133
2110
|
#### Props: ApplicationLayoutBodyBanner
|
|
2134
2111
|
|
|
@@ -2136,7 +2113,7 @@ const randomDrivers = Array.from({ length: 200 }, (_, index) => ({
|
|
|
2136
2113
|
|
|
2137
2114
|
| Name | Type | Default | Description |
|
|
2138
2115
|
| --- | --- | --- | --- |
|
|
2139
|
-
|
|
|
2140
|
-
| backgroundColor |
|
|
2141
|
-
|
|
|
2142
|
-
|
|
|
2116
|
+
| textColor | string | `text-color-white` | One of the text-color utility classes. |
|
|
2117
|
+
| backgroundColor | string | `bg-primary` | One of the bg-color utility classes. |
|
|
2118
|
+
| isSticky | boolean | false | Allows sticky banner while scrolling. |
|
|
2119
|
+
| className | string | — | Additional class names that are added to the respective component. |
|