@plurid/plurid-ui-components-react 0.0.0-25 → 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 +202 -112
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +202 -112
- package/distribution/index.js.map +1 -1
- package/distribution/utilities/input/index.d.ts +4 -4
- package/package.json +25 -25
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,7 +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,
|
|
1059
|
+
paddingRight: showEnterIcon ? "35px" : undefined
|
|
1060
|
+
},
|
|
1038
1061
|
ref: mergeReferences(inputElement, reference)
|
|
1039
1062
|
}), error && React.createElement(StyledErrorLine, {
|
|
1040
1063
|
theme: _theme,
|
|
@@ -1231,9 +1254,9 @@ const Dropdown$1 = properties => {
|
|
|
1231
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;
|
|
1232
1255
|
const _generalTheme = generalThemeProperty === undefined ? themeProperty === undefined ? plurid : themeProperty : generalThemeProperty;
|
|
1233
1256
|
const _interactionTheme = interactionThemeProperty === undefined ? themeProperty === undefined ? plurid : themeProperty : interactionThemeProperty;
|
|
1234
|
-
const _level = level
|
|
1235
|
-
const _hideAtSelect = hideAtSelect
|
|
1236
|
-
const _selectAtHover = selectAtHover
|
|
1257
|
+
const _level = level ?? 0;
|
|
1258
|
+
const _hideAtSelect = hideAtSelect ?? true;
|
|
1259
|
+
const _selectAtHover = selectAtHover ?? false;
|
|
1237
1260
|
const _dropdownSign = typeof dropdownSign === "string" ? dropdownSign : !dropdownSign ? "" : "▼";
|
|
1238
1261
|
const isMounted = useRef(true);
|
|
1239
1262
|
const filterInput = useRef(null);
|
|
@@ -1384,7 +1407,9 @@ const Dropdown$1 = properties => {
|
|
|
1384
1407
|
return React.createElement(StyledDropdown, {
|
|
1385
1408
|
theme: interactionTheme,
|
|
1386
1409
|
left: left,
|
|
1387
|
-
style:
|
|
1410
|
+
style: {
|
|
1411
|
+
...style
|
|
1412
|
+
},
|
|
1388
1413
|
className: className
|
|
1389
1414
|
}, React.createElement(StyledDropdownSelected, {
|
|
1390
1415
|
onClick: () => {
|
|
@@ -1485,7 +1510,9 @@ const EntityPill$1 = properties => {
|
|
|
1485
1510
|
const textValue = text || id;
|
|
1486
1511
|
return React.createElement(StyledEntityPill, {
|
|
1487
1512
|
theme: theme || plurid,
|
|
1488
|
-
style:
|
|
1513
|
+
style: {
|
|
1514
|
+
...style
|
|
1515
|
+
}
|
|
1489
1516
|
}, React.createElement("div", {
|
|
1490
1517
|
style: {
|
|
1491
1518
|
marginRight: "0.5rem"
|
|
@@ -1507,7 +1534,9 @@ const EntityPillGroup$1 = properties => {
|
|
|
1507
1534
|
const {entities: entities, remove: remove, keyFix: keyFix, theme: theme, style: style, pillStyle: pillStyle} = properties;
|
|
1508
1535
|
return React.createElement(StyledEntityPillGroup, {
|
|
1509
1536
|
theme: theme,
|
|
1510
|
-
style:
|
|
1537
|
+
style: {
|
|
1538
|
+
...style
|
|
1539
|
+
}
|
|
1511
1540
|
}, entities.map((entity => {
|
|
1512
1541
|
const stringEntity = typeof entity === "string";
|
|
1513
1542
|
const id = stringEntity ? entity : entity.id;
|
|
@@ -1542,7 +1571,9 @@ const InputDescriptor$1 = properties => {
|
|
|
1542
1571
|
return React.createElement(StyledInputDescriptor, {
|
|
1543
1572
|
theme: theme,
|
|
1544
1573
|
className: className,
|
|
1545
|
-
style:
|
|
1574
|
+
style: {
|
|
1575
|
+
...style
|
|
1576
|
+
}
|
|
1546
1577
|
}, show && React.createElement(React.Fragment, null, name));
|
|
1547
1578
|
};
|
|
1548
1579
|
|
|
@@ -1580,7 +1611,9 @@ const InputBox$1 = properties => {
|
|
|
1580
1611
|
return React.createElement(StyledInputBox, {
|
|
1581
1612
|
theme: theme,
|
|
1582
1613
|
className: className,
|
|
1583
|
-
style:
|
|
1614
|
+
style: {
|
|
1615
|
+
...style
|
|
1616
|
+
}
|
|
1584
1617
|
}, React.createElement(InputDescriptor$1, {
|
|
1585
1618
|
name: name,
|
|
1586
1619
|
show: text !== "",
|
|
@@ -1608,13 +1641,15 @@ const InputLine$1 = properties => {
|
|
|
1608
1641
|
const theme = themeProperty || plurid;
|
|
1609
1642
|
return React.createElement(StyledInputLine, {
|
|
1610
1643
|
theme: theme,
|
|
1611
|
-
style:
|
|
1644
|
+
style: {
|
|
1645
|
+
...style
|
|
1646
|
+
},
|
|
1612
1647
|
className: className
|
|
1613
1648
|
}, React.createElement(InputDescriptor$1, {
|
|
1614
1649
|
name: name,
|
|
1615
1650
|
show: text !== "",
|
|
1616
1651
|
theme: theme
|
|
1617
|
-
}), React.createElement(Textline$1,
|
|
1652
|
+
}), React.createElement(Textline$1, {
|
|
1618
1653
|
text: text,
|
|
1619
1654
|
type: type,
|
|
1620
1655
|
placeholder: name,
|
|
@@ -1626,8 +1661,9 @@ const InputLine$1 = properties => {
|
|
|
1626
1661
|
autoComplete: "false",
|
|
1627
1662
|
autoCorrect: "false",
|
|
1628
1663
|
atChange: atChange,
|
|
1629
|
-
atKeyDown: atKeyDown
|
|
1630
|
-
|
|
1664
|
+
atKeyDown: atKeyDown,
|
|
1665
|
+
...textline
|
|
1666
|
+
}));
|
|
1631
1667
|
};
|
|
1632
1668
|
|
|
1633
1669
|
const StyledSwitch = styled.label`
|
|
@@ -1761,13 +1797,15 @@ const Switch$1 = properties => {
|
|
|
1761
1797
|
type: "checkbox",
|
|
1762
1798
|
checked: checked,
|
|
1763
1799
|
onChange: () => atChange()
|
|
1764
|
-
}), React.createElement(StyledSwitchSlider,
|
|
1765
|
-
round: _round
|
|
1766
|
-
|
|
1800
|
+
}), React.createElement(StyledSwitchSlider, {
|
|
1801
|
+
round: _round,
|
|
1802
|
+
...commonProperties
|
|
1803
|
+
}), Icon && React.createElement(StyledSwitchIcon, {
|
|
1804
|
+
...commonProperties,
|
|
1767
1805
|
style: {
|
|
1768
1806
|
left: checked ? "35px" : "9px"
|
|
1769
1807
|
}
|
|
1770
|
-
}
|
|
1808
|
+
}, React.createElement(Icon, null)));
|
|
1771
1809
|
};
|
|
1772
1810
|
|
|
1773
1811
|
const StyledInputSwitch = styled.div`
|
|
@@ -1786,19 +1824,22 @@ const InputSwitch$1 = properties => {
|
|
|
1786
1824
|
const theme = themeProperty || plurid;
|
|
1787
1825
|
return React.createElement(StyledInputSwitch, {
|
|
1788
1826
|
compact: compact,
|
|
1789
|
-
style:
|
|
1827
|
+
style: {
|
|
1828
|
+
...style
|
|
1829
|
+
},
|
|
1790
1830
|
className: className
|
|
1791
1831
|
}, React.createElement(FormLeftRight$1, null, React.createElement("div", {
|
|
1792
1832
|
style: {
|
|
1793
1833
|
marginLeft: "0.9rem"
|
|
1794
1834
|
}
|
|
1795
|
-
}, name), React.createElement(Switch$1,
|
|
1835
|
+
}, name), React.createElement(Switch$1, {
|
|
1796
1836
|
checked: checked,
|
|
1797
1837
|
level: 2,
|
|
1798
1838
|
exclusive: true,
|
|
1799
1839
|
theme: theme,
|
|
1800
|
-
atChange: () => atChange()
|
|
1801
|
-
|
|
1840
|
+
atChange: () => atChange(),
|
|
1841
|
+
...switchProperties
|
|
1842
|
+
})));
|
|
1802
1843
|
};
|
|
1803
1844
|
|
|
1804
1845
|
const StyledItemsline = styled.div`
|
|
@@ -1839,7 +1880,9 @@ const Itemsline$1 = properties => {
|
|
|
1839
1880
|
const _level = level === undefined ? 0 : level;
|
|
1840
1881
|
const _left = left === undefined ? false : left;
|
|
1841
1882
|
return React.createElement(StyledItemsline, {
|
|
1842
|
-
style:
|
|
1883
|
+
style: {
|
|
1884
|
+
...style
|
|
1885
|
+
},
|
|
1843
1886
|
className: className,
|
|
1844
1887
|
theme: _theme,
|
|
1845
1888
|
level: _level,
|
|
@@ -1856,8 +1899,8 @@ const StyledSelect = styled.div`
|
|
|
1856
1899
|
const PluridSelect = properties => {
|
|
1857
1900
|
const {selectables: selectables, atChange: atChange, theme: theme, level: level, devisible: devisible, round: round, width: width} = properties;
|
|
1858
1901
|
const _theme = theme || plurid;
|
|
1859
|
-
const _level = level
|
|
1860
|
-
const _round = round
|
|
1902
|
+
const _level = level ?? 0;
|
|
1903
|
+
const _round = round ?? true;
|
|
1861
1904
|
return React.createElement(StyledSelect, {
|
|
1862
1905
|
theme: _theme,
|
|
1863
1906
|
level: _level,
|
|
@@ -2162,7 +2205,9 @@ const HR$1 = properties => {
|
|
|
2162
2205
|
const themeValue = theme || plurid;
|
|
2163
2206
|
return React.createElement(StyledHR, {
|
|
2164
2207
|
theme: themeValue,
|
|
2165
|
-
style:
|
|
2208
|
+
style: {
|
|
2209
|
+
...style
|
|
2210
|
+
},
|
|
2166
2211
|
className: className
|
|
2167
2212
|
});
|
|
2168
2213
|
};
|
|
@@ -2192,7 +2237,9 @@ const ProgressCircle$1 = properties => {
|
|
|
2192
2237
|
const sizeValue = size || "normal";
|
|
2193
2238
|
return React.createElement(StyledProgressCircle, {
|
|
2194
2239
|
size: sizeValue,
|
|
2195
|
-
style:
|
|
2240
|
+
style: {
|
|
2241
|
+
...style
|
|
2242
|
+
},
|
|
2196
2243
|
className: className
|
|
2197
2244
|
}, React.createElement("svg", {
|
|
2198
2245
|
height: diameter,
|
|
@@ -2291,8 +2338,8 @@ const StyledTooltipText = styled.div`
|
|
|
2291
2338
|
const Tooltip$1 = properties => {
|
|
2292
2339
|
const {tool: Tool, tip: Tip, indicator: indicatorProperty, icon: iconProperty, theme: themeProperty, style: style, className: className} = properties;
|
|
2293
2340
|
const theme = themeProperty || plurid;
|
|
2294
|
-
const indicator = indicatorProperty
|
|
2295
|
-
const icon = iconProperty
|
|
2341
|
+
const indicator = indicatorProperty ?? true;
|
|
2342
|
+
const icon = iconProperty ?? true;
|
|
2296
2343
|
const mounted = useMounted();
|
|
2297
2344
|
const hoverOutTimeout = useRef(null);
|
|
2298
2345
|
const [mouseOver, setMouseOver] = useState(false);
|
|
@@ -2324,7 +2371,9 @@ const Tooltip$1 = properties => {
|
|
|
2324
2371
|
onMouseLeave: () => setMouseOver(false),
|
|
2325
2372
|
onMouseMove: () => !showTooltipText ? setMouseOver(true) : null,
|
|
2326
2373
|
theme: theme,
|
|
2327
|
-
style:
|
|
2374
|
+
style: {
|
|
2375
|
+
...style
|
|
2376
|
+
},
|
|
2328
2377
|
className: className
|
|
2329
2378
|
}, icon && React.createElement(StyledTooltipIcon, {
|
|
2330
2379
|
theme: theme
|
|
@@ -2394,25 +2443,39 @@ const Heading$1 = properties => {
|
|
|
2394
2443
|
};
|
|
2395
2444
|
switch (type) {
|
|
2396
2445
|
case "h1":
|
|
2397
|
-
return React.createElement(StyledHeading1,
|
|
2446
|
+
return React.createElement(StyledHeading1, {
|
|
2447
|
+
...renderProperties
|
|
2448
|
+
}, children);
|
|
2398
2449
|
|
|
2399
2450
|
case "h2":
|
|
2400
|
-
return React.createElement(StyledHeading2,
|
|
2451
|
+
return React.createElement(StyledHeading2, {
|
|
2452
|
+
...renderProperties
|
|
2453
|
+
}, children);
|
|
2401
2454
|
|
|
2402
2455
|
case "h3":
|
|
2403
|
-
return React.createElement(StyledHeading3,
|
|
2456
|
+
return React.createElement(StyledHeading3, {
|
|
2457
|
+
...renderProperties
|
|
2458
|
+
}, children);
|
|
2404
2459
|
|
|
2405
2460
|
case "h4":
|
|
2406
|
-
return React.createElement(StyledHeading4,
|
|
2461
|
+
return React.createElement(StyledHeading4, {
|
|
2462
|
+
...renderProperties
|
|
2463
|
+
}, children);
|
|
2407
2464
|
|
|
2408
2465
|
case "h5":
|
|
2409
|
-
return React.createElement(StyledHeading5,
|
|
2466
|
+
return React.createElement(StyledHeading5, {
|
|
2467
|
+
...renderProperties
|
|
2468
|
+
}, children);
|
|
2410
2469
|
|
|
2411
2470
|
case "h6":
|
|
2412
|
-
return React.createElement(StyledHeading6,
|
|
2471
|
+
return React.createElement(StyledHeading6, {
|
|
2472
|
+
...renderProperties
|
|
2473
|
+
}, children);
|
|
2413
2474
|
|
|
2414
2475
|
default:
|
|
2415
|
-
return React.createElement(StyledHeading1,
|
|
2476
|
+
return React.createElement(StyledHeading1, {
|
|
2477
|
+
...renderProperties
|
|
2478
|
+
}, children);
|
|
2416
2479
|
}
|
|
2417
2480
|
};
|
|
2418
2481
|
|
|
@@ -2459,7 +2522,9 @@ const Paragraph$1 = properties => {
|
|
|
2459
2522
|
theme: theme,
|
|
2460
2523
|
size: size,
|
|
2461
2524
|
fontFamily: fontFamily,
|
|
2462
|
-
style:
|
|
2525
|
+
style: {
|
|
2526
|
+
...style
|
|
2527
|
+
},
|
|
2463
2528
|
className: className
|
|
2464
2529
|
}, children);
|
|
2465
2530
|
};
|
|
@@ -2483,11 +2548,13 @@ const StyledData = styled.div`
|
|
|
2483
2548
|
const CopyableLine$1 = properties => {
|
|
2484
2549
|
const {data: data, theme: theme, viewData: viewData, copyMessage: copyMessage, copyMessageTime: copyMessageTime, style: style, className: className} = properties;
|
|
2485
2550
|
const viewDataText = viewData || data;
|
|
2486
|
-
const copyMessageText = copyMessage
|
|
2551
|
+
const copyMessageText = copyMessage ?? "copied";
|
|
2487
2552
|
const copyMessageTimeValue = copyMessageTime || 2e3;
|
|
2488
2553
|
const [showCopyMessage, setShowCopyMessage] = useFalseAfterTimedTrue(copyMessageTimeValue);
|
|
2489
2554
|
return React.createElement(StyledCopyableLine, {
|
|
2490
|
-
style:
|
|
2555
|
+
style: {
|
|
2556
|
+
...style
|
|
2557
|
+
},
|
|
2491
2558
|
className: className
|
|
2492
2559
|
}, React.createElement(PluridIconCopy, {
|
|
2493
2560
|
atClick: () => {
|
|
@@ -2507,7 +2574,9 @@ const NewPageLink$1 = properties => {
|
|
|
2507
2574
|
href: link,
|
|
2508
2575
|
target: "_blank",
|
|
2509
2576
|
rel: "noopener noreferrer",
|
|
2510
|
-
style:
|
|
2577
|
+
style: {
|
|
2578
|
+
...style
|
|
2579
|
+
},
|
|
2511
2580
|
className: className
|
|
2512
2581
|
}, text);
|
|
2513
2582
|
};
|
|
@@ -2528,7 +2597,9 @@ const StyledScrollableLine = styled.div`
|
|
|
2528
2597
|
const ScrollableLine$1 = properties => {
|
|
2529
2598
|
const {text: text, style: style, className: className} = properties;
|
|
2530
2599
|
return React.createElement(StyledScrollableLine, {
|
|
2531
|
-
style:
|
|
2600
|
+
style: {
|
|
2601
|
+
...style
|
|
2602
|
+
},
|
|
2532
2603
|
className: className
|
|
2533
2604
|
}, text);
|
|
2534
2605
|
};
|
|
@@ -2801,8 +2872,8 @@ const RenderArea = properties => {
|
|
|
2801
2872
|
|
|
2802
2873
|
const DashboardsRenderer$1 = properties => {
|
|
2803
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;
|
|
2804
|
-
const [compactSelectors, setCompactSelectors] = useState(compactSelectorsProperty
|
|
2805
|
-
const [fullRenderArea, setFullRenderArea] = useState(fullRenderAreaProperty
|
|
2875
|
+
const [compactSelectors, setCompactSelectors] = useState(compactSelectorsProperty ?? false);
|
|
2876
|
+
const [fullRenderArea, setFullRenderArea] = useState(fullRenderAreaProperty ?? false);
|
|
2806
2877
|
const [selectedDashboard, setSelectedDashboard] = useState(activeDashboard || "");
|
|
2807
2878
|
const [renderView, setRenderView] = useState(activeRender || "");
|
|
2808
2879
|
useEffect((() => {
|
|
@@ -2981,7 +3052,7 @@ const {buttons: {PureButton: PluridPureButton}, inputs: {Textline: PluridTextlin
|
|
|
2981
3052
|
const EntityView$1 = forwardRef(((properties, reference) => {
|
|
2982
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;
|
|
2983
3054
|
const placeholder = placeholderText || "search";
|
|
2984
|
-
const scrollThrottleTime = scrollThrottleTimeProperty
|
|
3055
|
+
const scrollThrottleTime = scrollThrottleTimeProperty ?? 1e3;
|
|
2985
3056
|
const bottomTimeout = useRef();
|
|
2986
3057
|
const entityList = useRef(null);
|
|
2987
3058
|
const [searchTerms, setSearchTerms] = useState(createSearchTerms(entities, searchFields));
|
|
@@ -3120,27 +3191,26 @@ const containers = {
|
|
|
3120
3191
|
};
|
|
3121
3192
|
|
|
3122
3193
|
const Head$1 = properties => {
|
|
3123
|
-
var _a, _b, _c, _d;
|
|
3124
3194
|
const {Helmet: Helmet, defaults: defaults, children: children, stateHead: stateHead} = properties;
|
|
3125
|
-
const robots =
|
|
3126
|
-
const viewport =
|
|
3127
|
-
const faviconIcon =
|
|
3128
|
-
const favicon16 =
|
|
3129
|
-
const favicon32 =
|
|
3130
|
-
const manifest =
|
|
3131
|
-
const themeColor =
|
|
3132
|
-
const titleValue = stateHead.title ||
|
|
3133
|
-
const descriptionValue = stateHead.description ||
|
|
3134
|
-
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 || "";
|
|
3135
3205
|
const ogTitleValue = stateHead.ogTitle || titleValue;
|
|
3136
3206
|
const ogDescriptionValue = stateHead.ogDescription || titleValue;
|
|
3137
|
-
const ogImageValue = stateHead.ogImage ||
|
|
3138
|
-
const ogURLValue = stateHead.ogURL ||
|
|
3139
|
-
const apiDomain =
|
|
3140
|
-
const ogImageWidth =
|
|
3141
|
-
const ogImageHeight =
|
|
3142
|
-
const ogSiteName =
|
|
3143
|
-
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 || "";
|
|
3144
3214
|
const {styles: styles, scripts: scripts} = stateHead;
|
|
3145
3215
|
return React.createElement(Helmet, null, React.createElement("meta", {
|
|
3146
3216
|
charSet: "utf-8"
|
|
@@ -3237,11 +3307,11 @@ const Head$1 = properties => {
|
|
|
3237
3307
|
rel: "apple-touch-icon",
|
|
3238
3308
|
sizes: "180x180",
|
|
3239
3309
|
href: appleTouchIcon
|
|
3240
|
-
}), children, styles
|
|
3310
|
+
}), children, styles?.map((style => React.createElement("link", {
|
|
3241
3311
|
rel: "stylesheet",
|
|
3242
3312
|
key: "head-style" + style,
|
|
3243
3313
|
href: style
|
|
3244
|
-
}))), scripts
|
|
3314
|
+
}))), scripts?.map((script => React.createElement("script", {
|
|
3245
3315
|
key: "head-script" + script,
|
|
3246
3316
|
src: script
|
|
3247
3317
|
}))));
|
|
@@ -3334,21 +3404,27 @@ const Notification$1 = properties => {
|
|
|
3334
3404
|
wordBreak: resolvedWordBreak
|
|
3335
3405
|
};
|
|
3336
3406
|
if (html) {
|
|
3337
|
-
return React.createElement(StyledNotificationContent,
|
|
3338
|
-
dangerouslySetInnerHTML: createMarkup(text)
|
|
3339
|
-
|
|
3407
|
+
return React.createElement(StyledNotificationContent, {
|
|
3408
|
+
dangerouslySetInnerHTML: createMarkup(text),
|
|
3409
|
+
...contentProperties
|
|
3410
|
+
});
|
|
3340
3411
|
}
|
|
3341
3412
|
if (react && elements && elements[text]) {
|
|
3342
|
-
return React.createElement(StyledNotificationContent,
|
|
3413
|
+
return React.createElement(StyledNotificationContent, {
|
|
3414
|
+
...contentProperties
|
|
3415
|
+
}, elements[text]);
|
|
3343
3416
|
}
|
|
3344
|
-
return React.createElement(StyledNotificationContent,
|
|
3417
|
+
return React.createElement(StyledNotificationContent, {
|
|
3418
|
+
...contentProperties
|
|
3419
|
+
}, text);
|
|
3345
3420
|
};
|
|
3346
3421
|
const content = resolveRender();
|
|
3347
3422
|
return React.createElement(StyledNotification, {
|
|
3348
3423
|
theme: theme,
|
|
3349
|
-
style:
|
|
3424
|
+
style: {
|
|
3425
|
+
...style,
|
|
3350
3426
|
opacity: prepareForRemoval ? 0 : undefined
|
|
3351
|
-
}
|
|
3427
|
+
},
|
|
3352
3428
|
className: className
|
|
3353
3429
|
}, content, React.createElement(StyledNotificationClose, null, React.createElement(PluridIconDelete, {
|
|
3354
3430
|
atClick: () => remove(id)
|
|
@@ -3877,7 +3953,9 @@ const HorizontalToolbarButton$1 = properties => {
|
|
|
3877
3953
|
scaleIcon: scaleIcon,
|
|
3878
3954
|
onClick: atClick,
|
|
3879
3955
|
theme: theme,
|
|
3880
|
-
style:
|
|
3956
|
+
style: {
|
|
3957
|
+
...style
|
|
3958
|
+
},
|
|
3881
3959
|
className: className
|
|
3882
3960
|
}, Icon && React.createElement(StyledHorizontalToolbarButtonIcon, {
|
|
3883
3961
|
text: text
|
|
@@ -3949,7 +4027,9 @@ const ToolbarControls$1 = properties => {
|
|
|
3949
4027
|
return React.createElement(StyledToolbarControls, {
|
|
3950
4028
|
position: position,
|
|
3951
4029
|
theme: theme,
|
|
3952
|
-
style:
|
|
4030
|
+
style: {
|
|
4031
|
+
...style
|
|
4032
|
+
},
|
|
3953
4033
|
className: className
|
|
3954
4034
|
}, React.createElement(StyledToolbarControlsButtons, {
|
|
3955
4035
|
theme: theme
|
|
@@ -4196,7 +4276,7 @@ const ToolbarGeneral$1 = properties => {
|
|
|
4196
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;
|
|
4197
4277
|
const {scaleIcons: scaleIcons, showNames: showNames} = stateToolbars;
|
|
4198
4278
|
const iconTextLeft = false;
|
|
4199
|
-
const sittingButton = sittingButtonProperty
|
|
4279
|
+
const sittingButton = sittingButtonProperty ?? true;
|
|
4200
4280
|
return React.createElement(ConnectedToolbarSpecific, {
|
|
4201
4281
|
buttons: buttons,
|
|
4202
4282
|
handleClick: handleClick,
|
|
@@ -4229,15 +4309,12 @@ const ToolbarGeneral$1 = properties => {
|
|
|
4229
4309
|
})));
|
|
4230
4310
|
};
|
|
4231
4311
|
|
|
4232
|
-
const mapStateToProperties = (state, ownProperties) => {
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
stateInteractionTheme: (_e = ownProperties.selectors.themes) === null || _e === void 0 ? void 0 : _e.getInteractionTheme(state)
|
|
4239
|
-
};
|
|
4240
|
-
};
|
|
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
|
+
});
|
|
4241
4318
|
|
|
4242
4319
|
const mapDispatchToProperties = dispatch => ({
|
|
4243
4320
|
dispatchToggleSittingTray: () => dispatch(sitting$1.actions.toggleSittingTray())
|
|
@@ -4261,7 +4338,20 @@ const pluridal = {
|
|
|
4261
4338
|
toolbars: toolbars
|
|
4262
4339
|
};
|
|
4263
4340
|
|
|
4264
|
-
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
|
+
};
|
|
4265
4355
|
|
|
4266
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;
|
|
4267
4357
|
|