@plurid/plurid-ui-components-react 0.0.0-26 → 0.0.0-27
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/distribution/components/pluridal/containers/DashboardsRenderer/components/RenderArea/index.d.ts +15 -15
- package/distribution/components/pluridal/containers/DashboardsRenderer/components/RenderArea/styled.d.ts +6 -5
- package/distribution/components/pluridal/containers/DashboardsRenderer/components/Sidebar/components/Selector/index.d.ts +13 -13
- package/distribution/components/pluridal/containers/DashboardsRenderer/components/Sidebar/components/Selector/styled.d.ts +12 -11
- package/distribution/components/pluridal/containers/DashboardsRenderer/components/Sidebar/index.d.ts +21 -21
- package/distribution/components/pluridal/containers/DashboardsRenderer/components/Sidebar/styled.d.ts +21 -20
- package/distribution/components/pluridal/containers/DashboardsRenderer/data.d.ts +18 -18
- package/distribution/components/pluridal/containers/DashboardsRenderer/index.d.ts +24 -24
- package/distribution/components/pluridal/containers/DashboardsRenderer/styled.d.ts +9 -8
- package/distribution/components/pluridal/containers/EntityView/index.d.ts +28 -28
- package/distribution/components/pluridal/containers/EntityView/logic.d.ts +4 -4
- package/distribution/components/pluridal/containers/EntityView/styled.d.ts +26 -25
- package/distribution/components/pluridal/containers/index.d.ts +6 -6
- package/distribution/components/pluridal/head/Head/index.d.ts +48 -48
- package/distribution/components/pluridal/head/index.d.ts +16 -16
- package/distribution/components/pluridal/index.d.ts +55 -55
- package/distribution/components/pluridal/notifications/Notification/index.d.ts +14 -14
- package/distribution/components/pluridal/notifications/Notification/styled.d.ts +11 -10
- package/distribution/components/pluridal/notifications/Notifications/index.d.ts +35 -35
- package/distribution/components/pluridal/notifications/Notifications/styled.d.ts +2 -1
- package/distribution/components/pluridal/notifications/index.d.ts +19 -19
- package/distribution/components/pluridal/sitting/SittingTray/components/Sittings/index.d.ts +16 -16
- package/distribution/components/pluridal/sitting/SittingTray/components/Sittings/styled.d.ts +1 -1
- package/distribution/components/pluridal/sitting/SittingTray/components/StateImage/index.d.ts +16 -16
- package/distribution/components/pluridal/sitting/SittingTray/components/StateImage/styled.d.ts +6 -5
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLine/index.d.ts +9 -9
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLine/styled.d.ts +8 -7
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLink/index.d.ts +10 -10
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLink/styled.d.ts +5 -4
- package/distribution/components/pluridal/sitting/SittingTray/components/StateShareImage/index.d.ts +5 -5
- package/distribution/components/pluridal/sitting/SittingTray/components/StateShareImage/styled.d.ts +5 -4
- package/distribution/components/pluridal/sitting/SittingTray/index.d.ts +16 -16
- package/distribution/components/pluridal/sitting/SittingTray/styled.d.ts +8 -8
- package/distribution/components/pluridal/sitting/index.d.ts +7 -7
- package/distribution/components/pluridal/toolbars/HorizontalToolbarButton/index.d.ts +14 -14
- package/distribution/components/pluridal/toolbars/HorizontalToolbarButton/styled.d.ts +12 -11
- package/distribution/components/pluridal/toolbars/ToolbarControls/index.d.ts +13 -13
- package/distribution/components/pluridal/toolbars/ToolbarControls/styled.d.ts +13 -12
- package/distribution/components/pluridal/toolbars/ToolbarGeneral/index.d.ts +26 -26
- package/distribution/components/pluridal/toolbars/ToolbarGeneral/styled.d.ts +3 -2
- package/distribution/components/pluridal/toolbars/ToolbarSpecific/index.d.ts +24 -24
- package/distribution/components/pluridal/toolbars/ToolbarSpecific/styled.d.ts +11 -10
- package/distribution/components/pluridal/toolbars/VerticalToolbarButton/index.d.ts +16 -16
- package/distribution/components/pluridal/toolbars/VerticalToolbarButton/styled.d.ts +13 -13
- package/distribution/components/pluridal/toolbars/index.d.ts +13 -13
- package/distribution/components/universal/buttons/LinkButton/index.d.ts +16 -16
- package/distribution/components/universal/buttons/LinkButton/styled.d.ts +11 -10
- package/distribution/components/universal/buttons/PureButton/index.d.ts +16 -16
- package/distribution/components/universal/buttons/PureButton/styled.d.ts +15 -15
- package/distribution/components/universal/buttons/RefreshButton/index.d.ts +12 -12
- package/distribution/components/universal/buttons/RefreshButton/styled.d.ts +7 -6
- package/distribution/components/universal/buttons/index.d.ts +7 -7
- package/distribution/components/universal/form/FormLeftRight/index.d.ts +15 -15
- package/distribution/components/universal/form/FormLeftRight/styled.d.ts +6 -5
- package/distribution/components/universal/form/FormObliterate/index.d.ts +18 -18
- package/distribution/components/universal/form/FormObliterate/styled.d.ts +9 -8
- package/distribution/components/universal/form/Formbutton/index.d.ts +28 -28
- package/distribution/components/universal/form/Formbutton/styled.d.ts +16 -15
- package/distribution/components/universal/form/Formitem/index.d.ts +16 -16
- package/distribution/components/universal/form/Formitem/styled.d.ts +7 -6
- package/distribution/components/universal/form/Formline/index.d.ts +21 -21
- package/distribution/components/universal/form/Formline/styled.d.ts +13 -12
- package/distribution/components/universal/form/index.d.ts +9 -9
- package/distribution/components/universal/general/GlobalStyles/index.d.ts +7 -6
- package/distribution/components/universal/general/index.d.ts +5 -4
- package/distribution/components/universal/index.d.ts +49 -49
- package/distribution/components/universal/inputs/Dropdown/index.d.ts +47 -47
- package/distribution/components/universal/inputs/Dropdown/styled.d.ts +8 -8
- package/distribution/components/universal/inputs/EntityPill/index.d.ts +11 -11
- package/distribution/components/universal/inputs/EntityPill/styled.d.ts +6 -5
- package/distribution/components/universal/inputs/EntityPillGroup/index.d.ts +13 -13
- package/distribution/components/universal/inputs/EntityPillGroup/styled.d.ts +6 -5
- package/distribution/components/universal/inputs/InputBox/index.d.ts +13 -13
- package/distribution/components/universal/inputs/InputBox/styled.d.ts +10 -9
- package/distribution/components/universal/inputs/InputDescriptor/index.d.ts +11 -11
- package/distribution/components/universal/inputs/InputDescriptor/styled.d.ts +6 -5
- package/distribution/components/universal/inputs/InputLine/index.d.ts +17 -17
- package/distribution/components/universal/inputs/InputLine/styled.d.ts +6 -5
- package/distribution/components/universal/inputs/InputSwitch/index.d.ts +15 -15
- package/distribution/components/universal/inputs/InputSwitch/styled.d.ts +5 -4
- package/distribution/components/universal/inputs/Itemsline/index.d.ts +18 -18
- package/distribution/components/universal/inputs/Itemsline/styled.d.ts +8 -7
- package/distribution/components/universal/inputs/Select/index.d.ts +23 -23
- package/distribution/components/universal/inputs/Select/styled.d.ts +1 -1
- package/distribution/components/universal/inputs/Slider/index.d.ts +19 -19
- package/distribution/components/universal/inputs/Slider/styled.d.ts +5 -4
- package/distribution/components/universal/inputs/Switch/index.d.ts +14 -14
- package/distribution/components/universal/inputs/Switch/styled.d.ts +3 -3
- package/distribution/components/universal/inputs/Textline/index.d.ts +62 -62
- package/distribution/components/universal/inputs/Textline/styled.d.ts +3 -3
- package/distribution/components/universal/inputs/index.d.ts +16 -16
- package/distribution/components/universal/markers/HR/index.d.ts +9 -9
- package/distribution/components/universal/markers/HR/styled.d.ts +6 -5
- package/distribution/components/universal/markers/ProgressCircle/index.d.ts +14 -14
- package/distribution/components/universal/markers/ProgressCircle/styled.d.ts +6 -5
- package/distribution/components/universal/markers/Spinner/index.d.ts +11 -11
- package/distribution/components/universal/markers/Spinner/styled.d.ts +9 -8
- package/distribution/components/universal/markers/Tooltip/index.d.ts +16 -16
- package/distribution/components/universal/markers/Tooltip/styled.d.ts +16 -12
- package/distribution/components/universal/markers/index.d.ts +8 -8
- package/distribution/components/universal/typography/Heading/index.d.ts +10 -10
- package/distribution/components/universal/typography/Heading/styled.d.ts +6 -6
- package/distribution/components/universal/typography/Paragraph/index.d.ts +11 -11
- package/distribution/components/universal/typography/Paragraph/styled.d.ts +8 -8
- package/distribution/components/universal/typography/index.d.ts +6 -6
- package/distribution/components/universal/varia/CopyableLine/index.d.ts +19 -19
- package/distribution/components/universal/varia/CopyableLine/styled.d.ts +3 -2
- package/distribution/components/universal/varia/NewPageLink/index.d.ts +14 -14
- package/distribution/components/universal/varia/NewPageLink/styled.d.ts +4 -3
- package/distribution/components/universal/varia/ScrollableLine/index.d.ts +14 -14
- package/distribution/components/universal/varia/ScrollableLine/styled.d.ts +4 -3
- package/distribution/components/universal/varia/TextItem/index.d.ts +9 -9
- package/distribution/components/universal/varia/TextItem/styled.d.ts +2 -1
- package/distribution/components/universal/varia/index.d.ts +8 -8
- package/distribution/data/enumerations/index.d.ts +13 -13
- package/distribution/data/interfaces/index.d.ts +29 -29
- package/distribution/index.d.ts +113 -113
- package/distribution/index.es.js +201 -113
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +201 -113
- package/distribution/index.js.map +1 -1
- package/distribution/utilities/input/index.d.ts +4 -4
- package/package.json +23 -23
package/distribution/index.es.js
CHANGED
|
@@ -153,7 +153,9 @@ const Spinner$1 = properties => {
|
|
|
153
153
|
const themeValue = theme || plurid;
|
|
154
154
|
const sizeValue = size || "normal";
|
|
155
155
|
return React.createElement(StyledSpinner, {
|
|
156
|
-
style:
|
|
156
|
+
style: {
|
|
157
|
+
...style
|
|
158
|
+
},
|
|
157
159
|
className: className
|
|
158
160
|
}, React.createElement(StyledLoader, {
|
|
159
161
|
theme: themeValue,
|
|
@@ -352,11 +354,13 @@ const StyledPureButtonDiv = styled(StyledPureButton).attrs({
|
|
|
352
354
|
const PureButton$1 = properties => {
|
|
353
355
|
const {text: text, atClick: atClick, theme: themeProperty, level: levelProperty, size: sizeProperty, disabled: disabled, loading: loading, style: style, className: className} = properties;
|
|
354
356
|
const theme = themeProperty || plurid;
|
|
355
|
-
const level = levelProperty
|
|
357
|
+
const level = levelProperty ?? 0;
|
|
356
358
|
const size = sizeProperty || "normal";
|
|
357
359
|
if (loading) {
|
|
358
360
|
return React.createElement(StyledPureButtonDiv, {
|
|
359
|
-
style:
|
|
361
|
+
style: {
|
|
362
|
+
...style
|
|
363
|
+
},
|
|
360
364
|
className: className,
|
|
361
365
|
theme: theme,
|
|
362
366
|
level: level,
|
|
@@ -369,7 +373,9 @@ const PureButton$1 = properties => {
|
|
|
369
373
|
}
|
|
370
374
|
return React.createElement(StyledPureButton, {
|
|
371
375
|
onClick: event => disabled ? null : atClick(event),
|
|
372
|
-
style:
|
|
376
|
+
style: {
|
|
377
|
+
...style
|
|
378
|
+
},
|
|
373
379
|
className: className,
|
|
374
380
|
theme: theme,
|
|
375
381
|
level: level,
|
|
@@ -456,7 +462,7 @@ const DEFAULT_LEVEL$1 = 0;
|
|
|
456
462
|
const LinkButton$1 = properties => {
|
|
457
463
|
const {text: text, atClick: atClick, theme: themeProperty, level: levelProperty, inline: inline, disabled: disabled, loading: loading, active: active, style: style, className: className} = properties;
|
|
458
464
|
const theme = themeProperty || plurid;
|
|
459
|
-
const level = levelProperty
|
|
465
|
+
const level = levelProperty ?? DEFAULT_LEVEL$1;
|
|
460
466
|
if (loading) {
|
|
461
467
|
return React.createElement(StyledLinkButtonLoading, null, React.createElement(Spinner$1, {
|
|
462
468
|
size: "small",
|
|
@@ -465,7 +471,9 @@ const LinkButton$1 = properties => {
|
|
|
465
471
|
}
|
|
466
472
|
return React.createElement(StyledLinkButton, {
|
|
467
473
|
onClick: event => disabled ? null : atClick(event),
|
|
468
|
-
style:
|
|
474
|
+
style: {
|
|
475
|
+
...style
|
|
476
|
+
},
|
|
469
477
|
className: className,
|
|
470
478
|
theme: theme,
|
|
471
479
|
level: level,
|
|
@@ -482,7 +490,7 @@ const RefreshButton$1 = properties => {
|
|
|
482
490
|
const {atClick: atClick, theme: themeProperty, text: textProperty, disabled: disabled, hideAtClick: hideAtClickProperty, hideTime: hideTimeProperty} = properties;
|
|
483
491
|
const theme = themeProperty || plurid;
|
|
484
492
|
const text = textProperty || "";
|
|
485
|
-
const hideAtClick = hideAtClickProperty
|
|
493
|
+
const hideAtClick = hideAtClickProperty ?? true;
|
|
486
494
|
const hideTime = hideTimeProperty || 1300;
|
|
487
495
|
const isMounted = useRef(true);
|
|
488
496
|
const [showIconReset, setShowIconReset] = useState(true);
|
|
@@ -572,18 +580,20 @@ const StyledFormbuttonText = styled.div`
|
|
|
572
580
|
const Formbutton$1 = properties => {
|
|
573
581
|
const {text: text, Icon: Icon, atClick: atClick, link: link, target: target, theme: theme, devisible: devisible, level: level, iconPosition: iconPosition, inactive: inactive, hoverEffect: hoverEffectProperty, style: style, className: className} = properties;
|
|
574
582
|
const _theme = theme || plurid;
|
|
575
|
-
const _level = level
|
|
576
|
-
const _devisible = devisible
|
|
583
|
+
const _level = level ?? 0;
|
|
584
|
+
const _devisible = devisible ?? false;
|
|
577
585
|
const _iconPosition = iconPosition || "left";
|
|
578
|
-
const _inactive = inactive
|
|
579
|
-
const hoverEffect = hoverEffectProperty
|
|
586
|
+
const _inactive = inactive ?? false;
|
|
587
|
+
const hoverEffect = hoverEffectProperty ?? true;
|
|
580
588
|
const render = () => React.createElement(React.Fragment, null, React.createElement(StyledFormbuttonIcon, {
|
|
581
589
|
position: _iconPosition
|
|
582
590
|
}, React.createElement(Icon, {
|
|
583
591
|
theme: _theme
|
|
584
592
|
})), React.createElement(StyledFormbuttonText, null, text));
|
|
585
593
|
const renderProperties = {
|
|
586
|
-
style:
|
|
594
|
+
style: {
|
|
595
|
+
...style
|
|
596
|
+
},
|
|
587
597
|
className: className,
|
|
588
598
|
theme: _theme,
|
|
589
599
|
level: _level,
|
|
@@ -592,16 +602,18 @@ const Formbutton$1 = properties => {
|
|
|
592
602
|
hoverEffect: hoverEffect
|
|
593
603
|
};
|
|
594
604
|
if (link) {
|
|
595
|
-
return React.createElement(StyledFormbutton,
|
|
605
|
+
return React.createElement(StyledFormbutton, {
|
|
596
606
|
onClick: event => !_inactive ? atClick(event) : null,
|
|
597
607
|
as: "a",
|
|
598
608
|
href: link,
|
|
599
|
-
target: target
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
609
|
+
target: target,
|
|
610
|
+
...renderProperties
|
|
611
|
+
}, render());
|
|
612
|
+
}
|
|
613
|
+
return React.createElement(StyledFormbutton, {
|
|
614
|
+
onClick: event => !_inactive ? atClick(event) : null,
|
|
615
|
+
...renderProperties
|
|
616
|
+
}, render());
|
|
605
617
|
};
|
|
606
618
|
|
|
607
619
|
const StyledFormitem = styled.div`
|
|
@@ -615,9 +627,11 @@ const StyledFormitem = styled.div`
|
|
|
615
627
|
const Formitem$1 = properties => {
|
|
616
628
|
const {theme: theme, level: level, style: style, className: className, children: children} = properties;
|
|
617
629
|
const _theme = theme || plurid;
|
|
618
|
-
const _level = level
|
|
630
|
+
const _level = level ?? 0;
|
|
619
631
|
return React.createElement(StyledFormitem, {
|
|
620
|
-
style:
|
|
632
|
+
style: {
|
|
633
|
+
...style
|
|
634
|
+
},
|
|
621
635
|
className: className,
|
|
622
636
|
theme: _theme,
|
|
623
637
|
level: _level
|
|
@@ -634,7 +648,9 @@ const FormLeftRight$1 = properties => {
|
|
|
634
648
|
const {theme: theme, style: style, className: className, children: children} = properties;
|
|
635
649
|
const _theme = theme || plurid;
|
|
636
650
|
return React.createElement(StyledFormLeftRight, {
|
|
637
|
-
style:
|
|
651
|
+
style: {
|
|
652
|
+
...style
|
|
653
|
+
},
|
|
638
654
|
className: className,
|
|
639
655
|
theme: _theme
|
|
640
656
|
}, children);
|
|
@@ -700,7 +716,9 @@ const Formline$1 = properties => {
|
|
|
700
716
|
const _level = level === undefined ? 0 : level;
|
|
701
717
|
const _responsive = responsive === undefined ? false : responsive;
|
|
702
718
|
return React.createElement(StyledFormline, {
|
|
703
|
-
style:
|
|
719
|
+
style: {
|
|
720
|
+
...style
|
|
721
|
+
},
|
|
704
722
|
className: className,
|
|
705
723
|
theme: _theme,
|
|
706
724
|
level: _level,
|
|
@@ -730,8 +748,8 @@ const StyledObliterateContainer = styled.div`
|
|
|
730
748
|
const FormObliterate$1 = properties => {
|
|
731
749
|
const {atObliterate: atObliterate, item: item, theme: theme, devisible: devisible, level: level, style: style, className: className} = properties;
|
|
732
750
|
const _theme = theme || plurid;
|
|
733
|
-
const _level = level
|
|
734
|
-
const _devisible = devisible
|
|
751
|
+
const _level = level ?? 0;
|
|
752
|
+
const _devisible = devisible ?? false;
|
|
735
753
|
const [showObliterate, setShowObliterate] = useState(false);
|
|
736
754
|
const handleObliterate = event => {
|
|
737
755
|
setShowObliterate(false);
|
|
@@ -741,7 +759,9 @@ const FormObliterate$1 = properties => {
|
|
|
741
759
|
theme: _theme,
|
|
742
760
|
level: _level,
|
|
743
761
|
devisible: _devisible,
|
|
744
|
-
style:
|
|
762
|
+
style: {
|
|
763
|
+
...style
|
|
764
|
+
},
|
|
745
765
|
className: className
|
|
746
766
|
}, !showObliterate && React.createElement(Formbutton$1, {
|
|
747
767
|
theme: _theme,
|
|
@@ -989,8 +1009,8 @@ const Textline$1 = forwardRef(((properties, reference) => {
|
|
|
989
1009
|
const {text: text, atChange: atChange, atKeyDown: atKeyDown, atFocus: atFocus, atBlur: atBlur, type: type, placeholder: placeholder, autoCapitalize: autoCapitalize, autoComplete: autoComplete, autoCorrect: autoCorrect, spellCheck: spellCheck, style: style, className: className, theme: theme, level: level, devisible: devisible, center: center, round: round, width: width, error: error, enterIconLeft: enterIconLeft, enterEmpty: enterEmpty, enterAtClick: enterAtClick, escapeClear: escapeClear, ariaLabel: ariaLabel} = properties;
|
|
990
1010
|
const _type = type || "text";
|
|
991
1011
|
const _theme = theme || plurid;
|
|
992
|
-
const _level = level
|
|
993
|
-
const _round = round
|
|
1012
|
+
const _level = level ?? 0;
|
|
1013
|
+
const _round = round ?? true;
|
|
994
1014
|
const inputElement = useRef();
|
|
995
1015
|
const handleKeyDown = event => {
|
|
996
1016
|
if (!inputElement.current) {
|
|
@@ -1034,9 +1054,10 @@ const Textline$1 = forwardRef(((properties, reference) => {
|
|
|
1034
1054
|
autoCorrect: autoCorrect,
|
|
1035
1055
|
spellCheck: spellCheck,
|
|
1036
1056
|
"aria-label": ariaLabel,
|
|
1037
|
-
style:
|
|
1057
|
+
style: {
|
|
1058
|
+
...style,
|
|
1038
1059
|
paddingRight: showEnterIcon ? "35px" : undefined
|
|
1039
|
-
}
|
|
1060
|
+
},
|
|
1040
1061
|
ref: mergeReferences(inputElement, reference)
|
|
1041
1062
|
}), error && React.createElement(StyledErrorLine, {
|
|
1042
1063
|
theme: _theme,
|
|
@@ -1233,9 +1254,9 @@ const Dropdown$1 = properties => {
|
|
|
1233
1254
|
const {selected: selected, selectables: selectables, atSelect: atSelect, left: left, kind: kind, listTop: listTop, dropdownToggled: dropdownToggled, dropdownSign: dropdownSign, hideAtSelect: hideAtSelect, selectAtHover: selectAtHover, selectedColor: selectedColor, filterable: filterable, style: style, className: className, theme: themeProperty, generalTheme: generalThemeProperty, interactionTheme: interactionThemeProperty, level: level, heightItems: heightItems, width: width, setDropdownToggled: setDropdownToggled, filterUpdate: filterUpdate} = properties;
|
|
1234
1255
|
const _generalTheme = generalThemeProperty === undefined ? themeProperty === undefined ? plurid : themeProperty : generalThemeProperty;
|
|
1235
1256
|
const _interactionTheme = interactionThemeProperty === undefined ? themeProperty === undefined ? plurid : themeProperty : interactionThemeProperty;
|
|
1236
|
-
const _level = level
|
|
1237
|
-
const _hideAtSelect = hideAtSelect
|
|
1238
|
-
const _selectAtHover = selectAtHover
|
|
1257
|
+
const _level = level ?? 0;
|
|
1258
|
+
const _hideAtSelect = hideAtSelect ?? true;
|
|
1259
|
+
const _selectAtHover = selectAtHover ?? false;
|
|
1239
1260
|
const _dropdownSign = typeof dropdownSign === "string" ? dropdownSign : !dropdownSign ? "" : "▼";
|
|
1240
1261
|
const isMounted = useRef(true);
|
|
1241
1262
|
const filterInput = useRef(null);
|
|
@@ -1386,7 +1407,9 @@ const Dropdown$1 = properties => {
|
|
|
1386
1407
|
return React.createElement(StyledDropdown, {
|
|
1387
1408
|
theme: interactionTheme,
|
|
1388
1409
|
left: left,
|
|
1389
|
-
style:
|
|
1410
|
+
style: {
|
|
1411
|
+
...style
|
|
1412
|
+
},
|
|
1390
1413
|
className: className
|
|
1391
1414
|
}, React.createElement(StyledDropdownSelected, {
|
|
1392
1415
|
onClick: () => {
|
|
@@ -1487,7 +1510,9 @@ const EntityPill$1 = properties => {
|
|
|
1487
1510
|
const textValue = text || id;
|
|
1488
1511
|
return React.createElement(StyledEntityPill, {
|
|
1489
1512
|
theme: theme || plurid,
|
|
1490
|
-
style:
|
|
1513
|
+
style: {
|
|
1514
|
+
...style
|
|
1515
|
+
}
|
|
1491
1516
|
}, React.createElement("div", {
|
|
1492
1517
|
style: {
|
|
1493
1518
|
marginRight: "0.5rem"
|
|
@@ -1509,7 +1534,9 @@ const EntityPillGroup$1 = properties => {
|
|
|
1509
1534
|
const {entities: entities, remove: remove, keyFix: keyFix, theme: theme, style: style, pillStyle: pillStyle} = properties;
|
|
1510
1535
|
return React.createElement(StyledEntityPillGroup, {
|
|
1511
1536
|
theme: theme,
|
|
1512
|
-
style:
|
|
1537
|
+
style: {
|
|
1538
|
+
...style
|
|
1539
|
+
}
|
|
1513
1540
|
}, entities.map((entity => {
|
|
1514
1541
|
const stringEntity = typeof entity === "string";
|
|
1515
1542
|
const id = stringEntity ? entity : entity.id;
|
|
@@ -1544,7 +1571,9 @@ const InputDescriptor$1 = properties => {
|
|
|
1544
1571
|
return React.createElement(StyledInputDescriptor, {
|
|
1545
1572
|
theme: theme,
|
|
1546
1573
|
className: className,
|
|
1547
|
-
style:
|
|
1574
|
+
style: {
|
|
1575
|
+
...style
|
|
1576
|
+
}
|
|
1548
1577
|
}, show && React.createElement(React.Fragment, null, name));
|
|
1549
1578
|
};
|
|
1550
1579
|
|
|
@@ -1582,7 +1611,9 @@ const InputBox$1 = properties => {
|
|
|
1582
1611
|
return React.createElement(StyledInputBox, {
|
|
1583
1612
|
theme: theme,
|
|
1584
1613
|
className: className,
|
|
1585
|
-
style:
|
|
1614
|
+
style: {
|
|
1615
|
+
...style
|
|
1616
|
+
}
|
|
1586
1617
|
}, React.createElement(InputDescriptor$1, {
|
|
1587
1618
|
name: name,
|
|
1588
1619
|
show: text !== "",
|
|
@@ -1610,13 +1641,15 @@ const InputLine$1 = properties => {
|
|
|
1610
1641
|
const theme = themeProperty || plurid;
|
|
1611
1642
|
return React.createElement(StyledInputLine, {
|
|
1612
1643
|
theme: theme,
|
|
1613
|
-
style:
|
|
1644
|
+
style: {
|
|
1645
|
+
...style
|
|
1646
|
+
},
|
|
1614
1647
|
className: className
|
|
1615
1648
|
}, React.createElement(InputDescriptor$1, {
|
|
1616
1649
|
name: name,
|
|
1617
1650
|
show: text !== "",
|
|
1618
1651
|
theme: theme
|
|
1619
|
-
}), React.createElement(Textline$1,
|
|
1652
|
+
}), React.createElement(Textline$1, {
|
|
1620
1653
|
text: text,
|
|
1621
1654
|
type: type,
|
|
1622
1655
|
placeholder: name,
|
|
@@ -1628,8 +1661,9 @@ const InputLine$1 = properties => {
|
|
|
1628
1661
|
autoComplete: "false",
|
|
1629
1662
|
autoCorrect: "false",
|
|
1630
1663
|
atChange: atChange,
|
|
1631
|
-
atKeyDown: atKeyDown
|
|
1632
|
-
|
|
1664
|
+
atKeyDown: atKeyDown,
|
|
1665
|
+
...textline
|
|
1666
|
+
}));
|
|
1633
1667
|
};
|
|
1634
1668
|
|
|
1635
1669
|
const StyledSwitch = styled.label`
|
|
@@ -1763,13 +1797,15 @@ const Switch$1 = properties => {
|
|
|
1763
1797
|
type: "checkbox",
|
|
1764
1798
|
checked: checked,
|
|
1765
1799
|
onChange: () => atChange()
|
|
1766
|
-
}), React.createElement(StyledSwitchSlider,
|
|
1767
|
-
round: _round
|
|
1768
|
-
|
|
1800
|
+
}), React.createElement(StyledSwitchSlider, {
|
|
1801
|
+
round: _round,
|
|
1802
|
+
...commonProperties
|
|
1803
|
+
}), Icon && React.createElement(StyledSwitchIcon, {
|
|
1804
|
+
...commonProperties,
|
|
1769
1805
|
style: {
|
|
1770
1806
|
left: checked ? "35px" : "9px"
|
|
1771
1807
|
}
|
|
1772
|
-
}
|
|
1808
|
+
}, React.createElement(Icon, null)));
|
|
1773
1809
|
};
|
|
1774
1810
|
|
|
1775
1811
|
const StyledInputSwitch = styled.div`
|
|
@@ -1788,19 +1824,22 @@ const InputSwitch$1 = properties => {
|
|
|
1788
1824
|
const theme = themeProperty || plurid;
|
|
1789
1825
|
return React.createElement(StyledInputSwitch, {
|
|
1790
1826
|
compact: compact,
|
|
1791
|
-
style:
|
|
1827
|
+
style: {
|
|
1828
|
+
...style
|
|
1829
|
+
},
|
|
1792
1830
|
className: className
|
|
1793
1831
|
}, React.createElement(FormLeftRight$1, null, React.createElement("div", {
|
|
1794
1832
|
style: {
|
|
1795
1833
|
marginLeft: "0.9rem"
|
|
1796
1834
|
}
|
|
1797
|
-
}, name), React.createElement(Switch$1,
|
|
1835
|
+
}, name), React.createElement(Switch$1, {
|
|
1798
1836
|
checked: checked,
|
|
1799
1837
|
level: 2,
|
|
1800
1838
|
exclusive: true,
|
|
1801
1839
|
theme: theme,
|
|
1802
|
-
atChange: () => atChange()
|
|
1803
|
-
|
|
1840
|
+
atChange: () => atChange(),
|
|
1841
|
+
...switchProperties
|
|
1842
|
+
})));
|
|
1804
1843
|
};
|
|
1805
1844
|
|
|
1806
1845
|
const StyledItemsline = styled.div`
|
|
@@ -1841,7 +1880,9 @@ const Itemsline$1 = properties => {
|
|
|
1841
1880
|
const _level = level === undefined ? 0 : level;
|
|
1842
1881
|
const _left = left === undefined ? false : left;
|
|
1843
1882
|
return React.createElement(StyledItemsline, {
|
|
1844
|
-
style:
|
|
1883
|
+
style: {
|
|
1884
|
+
...style
|
|
1885
|
+
},
|
|
1845
1886
|
className: className,
|
|
1846
1887
|
theme: _theme,
|
|
1847
1888
|
level: _level,
|
|
@@ -1858,8 +1899,8 @@ const StyledSelect = styled.div`
|
|
|
1858
1899
|
const PluridSelect = properties => {
|
|
1859
1900
|
const {selectables: selectables, atChange: atChange, theme: theme, level: level, devisible: devisible, round: round, width: width} = properties;
|
|
1860
1901
|
const _theme = theme || plurid;
|
|
1861
|
-
const _level = level
|
|
1862
|
-
const _round = round
|
|
1902
|
+
const _level = level ?? 0;
|
|
1903
|
+
const _round = round ?? true;
|
|
1863
1904
|
return React.createElement(StyledSelect, {
|
|
1864
1905
|
theme: _theme,
|
|
1865
1906
|
level: _level,
|
|
@@ -2164,7 +2205,9 @@ const HR$1 = properties => {
|
|
|
2164
2205
|
const themeValue = theme || plurid;
|
|
2165
2206
|
return React.createElement(StyledHR, {
|
|
2166
2207
|
theme: themeValue,
|
|
2167
|
-
style:
|
|
2208
|
+
style: {
|
|
2209
|
+
...style
|
|
2210
|
+
},
|
|
2168
2211
|
className: className
|
|
2169
2212
|
});
|
|
2170
2213
|
};
|
|
@@ -2194,7 +2237,9 @@ const ProgressCircle$1 = properties => {
|
|
|
2194
2237
|
const sizeValue = size || "normal";
|
|
2195
2238
|
return React.createElement(StyledProgressCircle, {
|
|
2196
2239
|
size: sizeValue,
|
|
2197
|
-
style:
|
|
2240
|
+
style: {
|
|
2241
|
+
...style
|
|
2242
|
+
},
|
|
2198
2243
|
className: className
|
|
2199
2244
|
}, React.createElement("svg", {
|
|
2200
2245
|
height: diameter,
|
|
@@ -2293,8 +2338,8 @@ const StyledTooltipText = styled.div`
|
|
|
2293
2338
|
const Tooltip$1 = properties => {
|
|
2294
2339
|
const {tool: Tool, tip: Tip, indicator: indicatorProperty, icon: iconProperty, theme: themeProperty, style: style, className: className} = properties;
|
|
2295
2340
|
const theme = themeProperty || plurid;
|
|
2296
|
-
const indicator = indicatorProperty
|
|
2297
|
-
const icon = iconProperty
|
|
2341
|
+
const indicator = indicatorProperty ?? true;
|
|
2342
|
+
const icon = iconProperty ?? true;
|
|
2298
2343
|
const mounted = useMounted();
|
|
2299
2344
|
const hoverOutTimeout = useRef(null);
|
|
2300
2345
|
const [mouseOver, setMouseOver] = useState(false);
|
|
@@ -2326,7 +2371,9 @@ const Tooltip$1 = properties => {
|
|
|
2326
2371
|
onMouseLeave: () => setMouseOver(false),
|
|
2327
2372
|
onMouseMove: () => !showTooltipText ? setMouseOver(true) : null,
|
|
2328
2373
|
theme: theme,
|
|
2329
|
-
style:
|
|
2374
|
+
style: {
|
|
2375
|
+
...style
|
|
2376
|
+
},
|
|
2330
2377
|
className: className
|
|
2331
2378
|
}, icon && React.createElement(StyledTooltipIcon, {
|
|
2332
2379
|
theme: theme
|
|
@@ -2396,25 +2443,39 @@ const Heading$1 = properties => {
|
|
|
2396
2443
|
};
|
|
2397
2444
|
switch (type) {
|
|
2398
2445
|
case "h1":
|
|
2399
|
-
return React.createElement(StyledHeading1,
|
|
2446
|
+
return React.createElement(StyledHeading1, {
|
|
2447
|
+
...renderProperties
|
|
2448
|
+
}, children);
|
|
2400
2449
|
|
|
2401
2450
|
case "h2":
|
|
2402
|
-
return React.createElement(StyledHeading2,
|
|
2451
|
+
return React.createElement(StyledHeading2, {
|
|
2452
|
+
...renderProperties
|
|
2453
|
+
}, children);
|
|
2403
2454
|
|
|
2404
2455
|
case "h3":
|
|
2405
|
-
return React.createElement(StyledHeading3,
|
|
2456
|
+
return React.createElement(StyledHeading3, {
|
|
2457
|
+
...renderProperties
|
|
2458
|
+
}, children);
|
|
2406
2459
|
|
|
2407
2460
|
case "h4":
|
|
2408
|
-
return React.createElement(StyledHeading4,
|
|
2461
|
+
return React.createElement(StyledHeading4, {
|
|
2462
|
+
...renderProperties
|
|
2463
|
+
}, children);
|
|
2409
2464
|
|
|
2410
2465
|
case "h5":
|
|
2411
|
-
return React.createElement(StyledHeading5,
|
|
2466
|
+
return React.createElement(StyledHeading5, {
|
|
2467
|
+
...renderProperties
|
|
2468
|
+
}, children);
|
|
2412
2469
|
|
|
2413
2470
|
case "h6":
|
|
2414
|
-
return React.createElement(StyledHeading6,
|
|
2471
|
+
return React.createElement(StyledHeading6, {
|
|
2472
|
+
...renderProperties
|
|
2473
|
+
}, children);
|
|
2415
2474
|
|
|
2416
2475
|
default:
|
|
2417
|
-
return React.createElement(StyledHeading1,
|
|
2476
|
+
return React.createElement(StyledHeading1, {
|
|
2477
|
+
...renderProperties
|
|
2478
|
+
}, children);
|
|
2418
2479
|
}
|
|
2419
2480
|
};
|
|
2420
2481
|
|
|
@@ -2461,7 +2522,9 @@ const Paragraph$1 = properties => {
|
|
|
2461
2522
|
theme: theme,
|
|
2462
2523
|
size: size,
|
|
2463
2524
|
fontFamily: fontFamily,
|
|
2464
|
-
style:
|
|
2525
|
+
style: {
|
|
2526
|
+
...style
|
|
2527
|
+
},
|
|
2465
2528
|
className: className
|
|
2466
2529
|
}, children);
|
|
2467
2530
|
};
|
|
@@ -2485,11 +2548,13 @@ const StyledData = styled.div`
|
|
|
2485
2548
|
const CopyableLine$1 = properties => {
|
|
2486
2549
|
const {data: data, theme: theme, viewData: viewData, copyMessage: copyMessage, copyMessageTime: copyMessageTime, style: style, className: className} = properties;
|
|
2487
2550
|
const viewDataText = viewData || data;
|
|
2488
|
-
const copyMessageText = copyMessage
|
|
2551
|
+
const copyMessageText = copyMessage ?? "copied";
|
|
2489
2552
|
const copyMessageTimeValue = copyMessageTime || 2e3;
|
|
2490
2553
|
const [showCopyMessage, setShowCopyMessage] = useFalseAfterTimedTrue(copyMessageTimeValue);
|
|
2491
2554
|
return React.createElement(StyledCopyableLine, {
|
|
2492
|
-
style:
|
|
2555
|
+
style: {
|
|
2556
|
+
...style
|
|
2557
|
+
},
|
|
2493
2558
|
className: className
|
|
2494
2559
|
}, React.createElement(PluridIconCopy, {
|
|
2495
2560
|
atClick: () => {
|
|
@@ -2509,7 +2574,9 @@ const NewPageLink$1 = properties => {
|
|
|
2509
2574
|
href: link,
|
|
2510
2575
|
target: "_blank",
|
|
2511
2576
|
rel: "noopener noreferrer",
|
|
2512
|
-
style:
|
|
2577
|
+
style: {
|
|
2578
|
+
...style
|
|
2579
|
+
},
|
|
2513
2580
|
className: className
|
|
2514
2581
|
}, text);
|
|
2515
2582
|
};
|
|
@@ -2530,7 +2597,9 @@ const StyledScrollableLine = styled.div`
|
|
|
2530
2597
|
const ScrollableLine$1 = properties => {
|
|
2531
2598
|
const {text: text, style: style, className: className} = properties;
|
|
2532
2599
|
return React.createElement(StyledScrollableLine, {
|
|
2533
|
-
style:
|
|
2600
|
+
style: {
|
|
2601
|
+
...style
|
|
2602
|
+
},
|
|
2534
2603
|
className: className
|
|
2535
2604
|
}, text);
|
|
2536
2605
|
};
|
|
@@ -2803,8 +2872,8 @@ const RenderArea = properties => {
|
|
|
2803
2872
|
|
|
2804
2873
|
const DashboardsRenderer$1 = properties => {
|
|
2805
2874
|
const {dashboards: dashboards, theme: theme, rendererID: rendererID, identonym: identonym, usageType: usageType, brandingName: brandingName, brandingNameStyle: brandingNameStyle, brandingLogo: brandingLogo, activeDashboard: activeDashboard, activeRender: activeRender, compactSelectors: compactSelectorsProperty, fullRenderArea: fullRenderAreaProperty, noDashboardRender: noDashboardRender, atDashboardChange: atDashboardChange, atUIChange: atUIChange, openManual: openManual, logout: logout} = properties;
|
|
2806
|
-
const [compactSelectors, setCompactSelectors] = useState(compactSelectorsProperty
|
|
2807
|
-
const [fullRenderArea, setFullRenderArea] = useState(fullRenderAreaProperty
|
|
2875
|
+
const [compactSelectors, setCompactSelectors] = useState(compactSelectorsProperty ?? false);
|
|
2876
|
+
const [fullRenderArea, setFullRenderArea] = useState(fullRenderAreaProperty ?? false);
|
|
2808
2877
|
const [selectedDashboard, setSelectedDashboard] = useState(activeDashboard || "");
|
|
2809
2878
|
const [renderView, setRenderView] = useState(activeRender || "");
|
|
2810
2879
|
useEffect((() => {
|
|
@@ -2983,7 +3052,7 @@ const {buttons: {PureButton: PluridPureButton}, inputs: {Textline: PluridTextlin
|
|
|
2983
3052
|
const EntityView$1 = forwardRef(((properties, reference) => {
|
|
2984
3053
|
const {entities: entities, searchFields: searchFields, generalTheme: generalTheme, interactionTheme: interactionTheme, rowsHeader: rowsHeader, rowTemplate: rowTemplate, noRows: noRows, abstractRowRenderer: abstractRowRenderer, actionButtonText: actionButtonText, placeholderText: placeholderText, scrollThrottleTime: scrollThrottleTimeProperty, loading: loading, rowRenderFields: rowRenderFields, rowRenderMethods: rowRenderMethods, actionButtonClick: actionButtonClick, filterUpdate: filterUpdate, refresh: refresh, actionScrollBottom: actionScrollBottom} = properties;
|
|
2985
3054
|
const placeholder = placeholderText || "search";
|
|
2986
|
-
const scrollThrottleTime = scrollThrottleTimeProperty
|
|
3055
|
+
const scrollThrottleTime = scrollThrottleTimeProperty ?? 1e3;
|
|
2987
3056
|
const bottomTimeout = useRef();
|
|
2988
3057
|
const entityList = useRef(null);
|
|
2989
3058
|
const [searchTerms, setSearchTerms] = useState(createSearchTerms(entities, searchFields));
|
|
@@ -3122,27 +3191,26 @@ const containers = {
|
|
|
3122
3191
|
};
|
|
3123
3192
|
|
|
3124
3193
|
const Head$1 = properties => {
|
|
3125
|
-
var _a, _b, _c, _d;
|
|
3126
3194
|
const {Helmet: Helmet, defaults: defaults, children: children, stateHead: stateHead} = properties;
|
|
3127
|
-
const robots =
|
|
3128
|
-
const viewport =
|
|
3129
|
-
const faviconIcon =
|
|
3130
|
-
const favicon16 =
|
|
3131
|
-
const favicon32 =
|
|
3132
|
-
const manifest =
|
|
3133
|
-
const themeColor =
|
|
3134
|
-
const titleValue = stateHead.title ||
|
|
3135
|
-
const descriptionValue = stateHead.description ||
|
|
3136
|
-
const canonicalURL = stateHead.canonicalURL ||
|
|
3195
|
+
const robots = defaults?.robots || "index,follow";
|
|
3196
|
+
const viewport = defaults?.viewport || "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no";
|
|
3197
|
+
const faviconIcon = defaults?.faviconIcon ?? "/favicon.ico";
|
|
3198
|
+
const favicon16 = defaults?.favicon16 ?? "/favicon-16x16.png";
|
|
3199
|
+
const favicon32 = defaults?.favicon32 ?? "/favicon-32x32.png";
|
|
3200
|
+
const manifest = defaults?.manifest ?? "/site.webmanifest";
|
|
3201
|
+
const themeColor = defaults?.themeColor || "";
|
|
3202
|
+
const titleValue = stateHead.title || defaults?.title || "";
|
|
3203
|
+
const descriptionValue = stateHead.description || defaults?.description || "";
|
|
3204
|
+
const canonicalURL = stateHead.canonicalURL || defaults?.canonicalURL || "";
|
|
3137
3205
|
const ogTitleValue = stateHead.ogTitle || titleValue;
|
|
3138
3206
|
const ogDescriptionValue = stateHead.ogDescription || titleValue;
|
|
3139
|
-
const ogImageValue = stateHead.ogImage ||
|
|
3140
|
-
const ogURLValue = stateHead.ogURL ||
|
|
3141
|
-
const apiDomain =
|
|
3142
|
-
const ogImageWidth =
|
|
3143
|
-
const ogImageHeight =
|
|
3144
|
-
const ogSiteName =
|
|
3145
|
-
const appleTouchIcon =
|
|
3207
|
+
const ogImageValue = stateHead.ogImage || defaults?.ogImage || "";
|
|
3208
|
+
const ogURLValue = stateHead.ogURL || defaults?.ogURL || "";
|
|
3209
|
+
const apiDomain = defaults?.apiDomain || "";
|
|
3210
|
+
const ogImageWidth = defaults?.ogImageWidth || "1200";
|
|
3211
|
+
const ogImageHeight = defaults?.ogImageHeight || "630";
|
|
3212
|
+
const ogSiteName = defaults?.ogSiteName || "";
|
|
3213
|
+
const appleTouchIcon = defaults?.appleTouchIcon || "";
|
|
3146
3214
|
const {styles: styles, scripts: scripts} = stateHead;
|
|
3147
3215
|
return React.createElement(Helmet, null, React.createElement("meta", {
|
|
3148
3216
|
charSet: "utf-8"
|
|
@@ -3239,11 +3307,11 @@ const Head$1 = properties => {
|
|
|
3239
3307
|
rel: "apple-touch-icon",
|
|
3240
3308
|
sizes: "180x180",
|
|
3241
3309
|
href: appleTouchIcon
|
|
3242
|
-
}), children, styles
|
|
3310
|
+
}), children, styles?.map((style => React.createElement("link", {
|
|
3243
3311
|
rel: "stylesheet",
|
|
3244
3312
|
key: "head-style" + style,
|
|
3245
3313
|
href: style
|
|
3246
|
-
}))), scripts
|
|
3314
|
+
}))), scripts?.map((script => React.createElement("script", {
|
|
3247
3315
|
key: "head-script" + script,
|
|
3248
3316
|
src: script
|
|
3249
3317
|
}))));
|
|
@@ -3336,21 +3404,27 @@ const Notification$1 = properties => {
|
|
|
3336
3404
|
wordBreak: resolvedWordBreak
|
|
3337
3405
|
};
|
|
3338
3406
|
if (html) {
|
|
3339
|
-
return React.createElement(StyledNotificationContent,
|
|
3340
|
-
dangerouslySetInnerHTML: createMarkup(text)
|
|
3341
|
-
|
|
3407
|
+
return React.createElement(StyledNotificationContent, {
|
|
3408
|
+
dangerouslySetInnerHTML: createMarkup(text),
|
|
3409
|
+
...contentProperties
|
|
3410
|
+
});
|
|
3342
3411
|
}
|
|
3343
3412
|
if (react && elements && elements[text]) {
|
|
3344
|
-
return React.createElement(StyledNotificationContent,
|
|
3413
|
+
return React.createElement(StyledNotificationContent, {
|
|
3414
|
+
...contentProperties
|
|
3415
|
+
}, elements[text]);
|
|
3345
3416
|
}
|
|
3346
|
-
return React.createElement(StyledNotificationContent,
|
|
3417
|
+
return React.createElement(StyledNotificationContent, {
|
|
3418
|
+
...contentProperties
|
|
3419
|
+
}, text);
|
|
3347
3420
|
};
|
|
3348
3421
|
const content = resolveRender();
|
|
3349
3422
|
return React.createElement(StyledNotification, {
|
|
3350
3423
|
theme: theme,
|
|
3351
|
-
style:
|
|
3424
|
+
style: {
|
|
3425
|
+
...style,
|
|
3352
3426
|
opacity: prepareForRemoval ? 0 : undefined
|
|
3353
|
-
}
|
|
3427
|
+
},
|
|
3354
3428
|
className: className
|
|
3355
3429
|
}, content, React.createElement(StyledNotificationClose, null, React.createElement(PluridIconDelete, {
|
|
3356
3430
|
atClick: () => remove(id)
|
|
@@ -3879,7 +3953,9 @@ const HorizontalToolbarButton$1 = properties => {
|
|
|
3879
3953
|
scaleIcon: scaleIcon,
|
|
3880
3954
|
onClick: atClick,
|
|
3881
3955
|
theme: theme,
|
|
3882
|
-
style:
|
|
3956
|
+
style: {
|
|
3957
|
+
...style
|
|
3958
|
+
},
|
|
3883
3959
|
className: className
|
|
3884
3960
|
}, Icon && React.createElement(StyledHorizontalToolbarButtonIcon, {
|
|
3885
3961
|
text: text
|
|
@@ -3951,7 +4027,9 @@ const ToolbarControls$1 = properties => {
|
|
|
3951
4027
|
return React.createElement(StyledToolbarControls, {
|
|
3952
4028
|
position: position,
|
|
3953
4029
|
theme: theme,
|
|
3954
|
-
style:
|
|
4030
|
+
style: {
|
|
4031
|
+
...style
|
|
4032
|
+
},
|
|
3955
4033
|
className: className
|
|
3956
4034
|
}, React.createElement(StyledToolbarControlsButtons, {
|
|
3957
4035
|
theme: theme
|
|
@@ -4198,7 +4276,7 @@ const ToolbarGeneral$1 = properties => {
|
|
|
4198
4276
|
const {buttons: buttons, selectors: selectors, context: context, handleClick: handleClick, speakButton: speakButton, sittingButton: sittingButtonProperty, stateView: stateView, stateSittingTray: stateSittingTray, stateToolbars: stateToolbars, stateInteractionTheme: stateInteractionTheme, dispatchToggleSittingTray: dispatchToggleSittingTray} = properties;
|
|
4199
4277
|
const {scaleIcons: scaleIcons, showNames: showNames} = stateToolbars;
|
|
4200
4278
|
const iconTextLeft = false;
|
|
4201
|
-
const sittingButton = sittingButtonProperty
|
|
4279
|
+
const sittingButton = sittingButtonProperty ?? true;
|
|
4202
4280
|
return React.createElement(ConnectedToolbarSpecific, {
|
|
4203
4281
|
buttons: buttons,
|
|
4204
4282
|
handleClick: handleClick,
|
|
@@ -4231,15 +4309,12 @@ const ToolbarGeneral$1 = properties => {
|
|
|
4231
4309
|
})));
|
|
4232
4310
|
};
|
|
4233
4311
|
|
|
4234
|
-
const mapStateToProperties = (state, ownProperties) => {
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
stateInteractionTheme: (_e = ownProperties.selectors.themes) === null || _e === void 0 ? void 0 : _e.getInteractionTheme(state)
|
|
4241
|
-
};
|
|
4242
|
-
};
|
|
4312
|
+
const mapStateToProperties = (state, ownProperties) => ({
|
|
4313
|
+
stateView: ownProperties.selectors.views?.getGeneralView(state),
|
|
4314
|
+
stateToolbars: ownProperties.selectors.product?.getProductUI(state)?.toolbars,
|
|
4315
|
+
stateSittingTray: ownProperties.selectors.sitting?.getTray(state),
|
|
4316
|
+
stateInteractionTheme: ownProperties.selectors.themes?.getInteractionTheme(state)
|
|
4317
|
+
});
|
|
4243
4318
|
|
|
4244
4319
|
const mapDispatchToProperties = dispatch => ({
|
|
4245
4320
|
dispatchToggleSittingTray: () => dispatch(sitting$1.actions.toggleSittingTray())
|
|
@@ -4263,7 +4338,20 @@ const pluridal = {
|
|
|
4263
4338
|
toolbars: toolbars
|
|
4264
4339
|
};
|
|
4265
4340
|
|
|
4266
|
-
var index =
|
|
4341
|
+
var index = {
|
|
4342
|
+
...universal.buttons,
|
|
4343
|
+
...universal.form,
|
|
4344
|
+
...universal.general,
|
|
4345
|
+
...universal.inputs,
|
|
4346
|
+
...universal.markers,
|
|
4347
|
+
...universal.typography,
|
|
4348
|
+
...universal.varia,
|
|
4349
|
+
...pluridal.containers,
|
|
4350
|
+
...pluridal.head,
|
|
4351
|
+
...pluridal.notifications,
|
|
4352
|
+
...pluridal.sitting,
|
|
4353
|
+
...pluridal.toolbars
|
|
4354
|
+
};
|
|
4267
4355
|
|
|
4268
4356
|
const {buttons: {LinkButton: LinkButton, PureButton: PureButton, RefreshButton: RefreshButton}, form: {FormLeftRight: FormLeftRight, FormObliterate: FormObliterate, Formbutton: Formbutton, Formitem: Formitem, Formline: Formline}, general: {GlobalStyles: GlobalStyles}, inputs: {Dropdown: Dropdown, EntityPill: EntityPill, EntityPillGroup: EntityPillGroup, InputBox: InputBox, InputDescriptor: InputDescriptor, InputLine: InputLine, InputSwitch: InputSwitch, Itemsline: Itemsline, Select: Select, Slider: Slider, Switch: Switch, Textline: Textline}, markers: {HR: HR, ProgressCircle: ProgressCircle, Spinner: Spinner, Tooltip: Tooltip}, typography: {Heading: Heading, Paragraph: Paragraph}, varia: {CopyableLine: CopyableLine, NewPageLink: NewPageLink, ScrollableLine: ScrollableLine, TextItem: TextItem}} = universal;
|
|
4269
4357
|
|