@plurid/plurid-ui-components-react 0.0.0-26 → 0.0.0-28
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 +5 -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 +11 -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 +20 -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 +8 -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 +25 -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 +10 -10
- package/distribution/components/pluridal/notifications/Notifications/index.d.ts +35 -35
- package/distribution/components/pluridal/notifications/Notifications/styled.d.ts +1 -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 +5 -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 +7 -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 +4 -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 +4 -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 +11 -11
- package/distribution/components/pluridal/toolbars/ToolbarControls/index.d.ts +13 -13
- package/distribution/components/pluridal/toolbars/ToolbarControls/styled.d.ts +12 -12
- package/distribution/components/pluridal/toolbars/ToolbarGeneral/index.d.ts +26 -26
- package/distribution/components/pluridal/toolbars/ToolbarGeneral/styled.d.ts +2 -2
- package/distribution/components/pluridal/toolbars/ToolbarSpecific/index.d.ts +24 -24
- package/distribution/components/pluridal/toolbars/ToolbarSpecific/styled.d.ts +10 -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 +10 -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 +6 -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 +5 -5
- package/distribution/components/universal/form/FormObliterate/index.d.ts +18 -18
- package/distribution/components/universal/form/FormObliterate/styled.d.ts +8 -8
- package/distribution/components/universal/form/Formbutton/index.d.ts +28 -28
- package/distribution/components/universal/form/Formbutton/styled.d.ts +15 -15
- package/distribution/components/universal/form/Formitem/index.d.ts +16 -16
- package/distribution/components/universal/form/Formitem/styled.d.ts +6 -6
- package/distribution/components/universal/form/Formline/index.d.ts +21 -21
- package/distribution/components/universal/form/Formline/styled.d.ts +12 -12
- package/distribution/components/universal/form/index.d.ts +9 -9
- package/distribution/components/universal/general/GlobalStyles/index.d.ts +6 -6
- package/distribution/components/universal/general/index.d.ts +4 -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 +5 -5
- package/distribution/components/universal/inputs/EntityPillGroup/index.d.ts +13 -13
- package/distribution/components/universal/inputs/EntityPillGroup/styled.d.ts +5 -5
- package/distribution/components/universal/inputs/InputBox/index.d.ts +13 -13
- package/distribution/components/universal/inputs/InputBox/styled.d.ts +9 -9
- package/distribution/components/universal/inputs/InputDescriptor/index.d.ts +11 -11
- package/distribution/components/universal/inputs/InputDescriptor/styled.d.ts +5 -5
- package/distribution/components/universal/inputs/InputLine/index.d.ts +17 -17
- package/distribution/components/universal/inputs/InputLine/styled.d.ts +5 -5
- package/distribution/components/universal/inputs/InputSwitch/index.d.ts +15 -15
- package/distribution/components/universal/inputs/InputSwitch/styled.d.ts +4 -4
- package/distribution/components/universal/inputs/Itemsline/index.d.ts +18 -18
- package/distribution/components/universal/inputs/Itemsline/styled.d.ts +7 -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 +4 -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 +5 -5
- package/distribution/components/universal/markers/ProgressCircle/index.d.ts +14 -14
- package/distribution/components/universal/markers/ProgressCircle/styled.d.ts +5 -5
- package/distribution/components/universal/markers/Spinner/index.d.ts +11 -11
- package/distribution/components/universal/markers/Spinner/styled.d.ts +8 -8
- package/distribution/components/universal/markers/Tooltip/index.d.ts +16 -16
- package/distribution/components/universal/markers/Tooltip/styled.d.ts +15 -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 +2 -2
- package/distribution/components/universal/varia/NewPageLink/index.d.ts +14 -14
- package/distribution/components/universal/varia/NewPageLink/styled.d.ts +3 -3
- package/distribution/components/universal/varia/ScrollableLine/index.d.ts +14 -14
- package/distribution/components/universal/varia/ScrollableLine/styled.d.ts +3 -3
- package/distribution/components/universal/varia/TextItem/index.d.ts +9 -9
- package/distribution/components/universal/varia/TextItem/styled.d.ts +1 -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 +22 -21
package/distribution/index.js
CHANGED
|
@@ -171,7 +171,9 @@ const Spinner$1 = properties => {
|
|
|
171
171
|
const themeValue = theme || themes.plurid;
|
|
172
172
|
const sizeValue = size || "normal";
|
|
173
173
|
return React__default.default.createElement(StyledSpinner, {
|
|
174
|
-
style:
|
|
174
|
+
style: {
|
|
175
|
+
...style
|
|
176
|
+
},
|
|
175
177
|
className: className
|
|
176
178
|
}, React__default.default.createElement(StyledLoader, {
|
|
177
179
|
theme: themeValue,
|
|
@@ -370,11 +372,13 @@ const StyledPureButtonDiv = styled__default.default(StyledPureButton).attrs({
|
|
|
370
372
|
const PureButton$1 = properties => {
|
|
371
373
|
const {text: text, atClick: atClick, theme: themeProperty, level: levelProperty, size: sizeProperty, disabled: disabled, loading: loading, style: style, className: className} = properties;
|
|
372
374
|
const theme = themeProperty || themes.plurid;
|
|
373
|
-
const level = levelProperty
|
|
375
|
+
const level = levelProperty ?? 0;
|
|
374
376
|
const size = sizeProperty || "normal";
|
|
375
377
|
if (loading) {
|
|
376
378
|
return React__default.default.createElement(StyledPureButtonDiv, {
|
|
377
|
-
style:
|
|
379
|
+
style: {
|
|
380
|
+
...style
|
|
381
|
+
},
|
|
378
382
|
className: className,
|
|
379
383
|
theme: theme,
|
|
380
384
|
level: level,
|
|
@@ -387,7 +391,9 @@ const PureButton$1 = properties => {
|
|
|
387
391
|
}
|
|
388
392
|
return React__default.default.createElement(StyledPureButton, {
|
|
389
393
|
onClick: event => disabled ? null : atClick(event),
|
|
390
|
-
style:
|
|
394
|
+
style: {
|
|
395
|
+
...style
|
|
396
|
+
},
|
|
391
397
|
className: className,
|
|
392
398
|
theme: theme,
|
|
393
399
|
level: level,
|
|
@@ -474,7 +480,7 @@ const DEFAULT_LEVEL$1 = 0;
|
|
|
474
480
|
const LinkButton$1 = properties => {
|
|
475
481
|
const {text: text, atClick: atClick, theme: themeProperty, level: levelProperty, inline: inline, disabled: disabled, loading: loading, active: active, style: style, className: className} = properties;
|
|
476
482
|
const theme = themeProperty || themes.plurid;
|
|
477
|
-
const level = levelProperty
|
|
483
|
+
const level = levelProperty ?? DEFAULT_LEVEL$1;
|
|
478
484
|
if (loading) {
|
|
479
485
|
return React__default.default.createElement(StyledLinkButtonLoading, null, React__default.default.createElement(Spinner$1, {
|
|
480
486
|
size: "small",
|
|
@@ -483,7 +489,9 @@ const LinkButton$1 = properties => {
|
|
|
483
489
|
}
|
|
484
490
|
return React__default.default.createElement(StyledLinkButton, {
|
|
485
491
|
onClick: event => disabled ? null : atClick(event),
|
|
486
|
-
style:
|
|
492
|
+
style: {
|
|
493
|
+
...style
|
|
494
|
+
},
|
|
487
495
|
className: className,
|
|
488
496
|
theme: theme,
|
|
489
497
|
level: level,
|
|
@@ -500,7 +508,7 @@ const RefreshButton$1 = properties => {
|
|
|
500
508
|
const {atClick: atClick, theme: themeProperty, text: textProperty, disabled: disabled, hideAtClick: hideAtClickProperty, hideTime: hideTimeProperty} = properties;
|
|
501
509
|
const theme = themeProperty || themes.plurid;
|
|
502
510
|
const text = textProperty || "";
|
|
503
|
-
const hideAtClick = hideAtClickProperty
|
|
511
|
+
const hideAtClick = hideAtClickProperty ?? true;
|
|
504
512
|
const hideTime = hideTimeProperty || 1300;
|
|
505
513
|
const isMounted = React.useRef(true);
|
|
506
514
|
const [showIconReset, setShowIconReset] = React.useState(true);
|
|
@@ -590,18 +598,20 @@ const StyledFormbuttonText = styled__default.default.div`
|
|
|
590
598
|
const Formbutton$1 = properties => {
|
|
591
599
|
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;
|
|
592
600
|
const _theme = theme || themes.plurid;
|
|
593
|
-
const _level = level
|
|
594
|
-
const _devisible = devisible
|
|
601
|
+
const _level = level ?? 0;
|
|
602
|
+
const _devisible = devisible ?? false;
|
|
595
603
|
const _iconPosition = iconPosition || "left";
|
|
596
|
-
const _inactive = inactive
|
|
597
|
-
const hoverEffect = hoverEffectProperty
|
|
604
|
+
const _inactive = inactive ?? false;
|
|
605
|
+
const hoverEffect = hoverEffectProperty ?? true;
|
|
598
606
|
const render = () => React__default.default.createElement(React__default.default.Fragment, null, React__default.default.createElement(StyledFormbuttonIcon, {
|
|
599
607
|
position: _iconPosition
|
|
600
608
|
}, React__default.default.createElement(Icon, {
|
|
601
609
|
theme: _theme
|
|
602
610
|
})), React__default.default.createElement(StyledFormbuttonText, null, text));
|
|
603
611
|
const renderProperties = {
|
|
604
|
-
style:
|
|
612
|
+
style: {
|
|
613
|
+
...style
|
|
614
|
+
},
|
|
605
615
|
className: className,
|
|
606
616
|
theme: _theme,
|
|
607
617
|
level: _level,
|
|
@@ -610,16 +620,18 @@ const Formbutton$1 = properties => {
|
|
|
610
620
|
hoverEffect: hoverEffect
|
|
611
621
|
};
|
|
612
622
|
if (link) {
|
|
613
|
-
return React__default.default.createElement(StyledFormbutton,
|
|
623
|
+
return React__default.default.createElement(StyledFormbutton, {
|
|
614
624
|
onClick: event => !_inactive ? atClick(event) : null,
|
|
615
625
|
as: "a",
|
|
616
626
|
href: link,
|
|
617
|
-
target: target
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
627
|
+
target: target,
|
|
628
|
+
...renderProperties
|
|
629
|
+
}, render());
|
|
630
|
+
}
|
|
631
|
+
return React__default.default.createElement(StyledFormbutton, {
|
|
632
|
+
onClick: event => !_inactive ? atClick(event) : null,
|
|
633
|
+
...renderProperties
|
|
634
|
+
}, render());
|
|
623
635
|
};
|
|
624
636
|
|
|
625
637
|
const StyledFormitem = styled__default.default.div`
|
|
@@ -633,9 +645,11 @@ const StyledFormitem = styled__default.default.div`
|
|
|
633
645
|
const Formitem$1 = properties => {
|
|
634
646
|
const {theme: theme, level: level, style: style, className: className, children: children} = properties;
|
|
635
647
|
const _theme = theme || themes.plurid;
|
|
636
|
-
const _level = level
|
|
648
|
+
const _level = level ?? 0;
|
|
637
649
|
return React__default.default.createElement(StyledFormitem, {
|
|
638
|
-
style:
|
|
650
|
+
style: {
|
|
651
|
+
...style
|
|
652
|
+
},
|
|
639
653
|
className: className,
|
|
640
654
|
theme: _theme,
|
|
641
655
|
level: _level
|
|
@@ -652,7 +666,9 @@ const FormLeftRight$1 = properties => {
|
|
|
652
666
|
const {theme: theme, style: style, className: className, children: children} = properties;
|
|
653
667
|
const _theme = theme || themes.plurid;
|
|
654
668
|
return React__default.default.createElement(StyledFormLeftRight, {
|
|
655
|
-
style:
|
|
669
|
+
style: {
|
|
670
|
+
...style
|
|
671
|
+
},
|
|
656
672
|
className: className,
|
|
657
673
|
theme: _theme
|
|
658
674
|
}, children);
|
|
@@ -718,7 +734,9 @@ const Formline$1 = properties => {
|
|
|
718
734
|
const _level = level === undefined ? 0 : level;
|
|
719
735
|
const _responsive = responsive === undefined ? false : responsive;
|
|
720
736
|
return React__default.default.createElement(StyledFormline, {
|
|
721
|
-
style:
|
|
737
|
+
style: {
|
|
738
|
+
...style
|
|
739
|
+
},
|
|
722
740
|
className: className,
|
|
723
741
|
theme: _theme,
|
|
724
742
|
level: _level,
|
|
@@ -748,8 +766,8 @@ const StyledObliterateContainer = styled__default.default.div`
|
|
|
748
766
|
const FormObliterate$1 = properties => {
|
|
749
767
|
const {atObliterate: atObliterate, item: item, theme: theme, devisible: devisible, level: level, style: style, className: className} = properties;
|
|
750
768
|
const _theme = theme || themes.plurid;
|
|
751
|
-
const _level = level
|
|
752
|
-
const _devisible = devisible
|
|
769
|
+
const _level = level ?? 0;
|
|
770
|
+
const _devisible = devisible ?? false;
|
|
753
771
|
const [showObliterate, setShowObliterate] = React.useState(false);
|
|
754
772
|
const handleObliterate = event => {
|
|
755
773
|
setShowObliterate(false);
|
|
@@ -759,7 +777,9 @@ const FormObliterate$1 = properties => {
|
|
|
759
777
|
theme: _theme,
|
|
760
778
|
level: _level,
|
|
761
779
|
devisible: _devisible,
|
|
762
|
-
style:
|
|
780
|
+
style: {
|
|
781
|
+
...style
|
|
782
|
+
},
|
|
763
783
|
className: className
|
|
764
784
|
}, !showObliterate && React__default.default.createElement(Formbutton$1, {
|
|
765
785
|
theme: _theme,
|
|
@@ -1007,8 +1027,8 @@ const Textline$1 = React.forwardRef(((properties, reference) => {
|
|
|
1007
1027
|
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;
|
|
1008
1028
|
const _type = type || "text";
|
|
1009
1029
|
const _theme = theme || themes.plurid;
|
|
1010
|
-
const _level = level
|
|
1011
|
-
const _round = round
|
|
1030
|
+
const _level = level ?? 0;
|
|
1031
|
+
const _round = round ?? true;
|
|
1012
1032
|
const inputElement = React.useRef();
|
|
1013
1033
|
const handleKeyDown = event => {
|
|
1014
1034
|
if (!inputElement.current) {
|
|
@@ -1052,9 +1072,10 @@ const Textline$1 = React.forwardRef(((properties, reference) => {
|
|
|
1052
1072
|
autoCorrect: autoCorrect,
|
|
1053
1073
|
spellCheck: spellCheck,
|
|
1054
1074
|
"aria-label": ariaLabel,
|
|
1055
|
-
style:
|
|
1075
|
+
style: {
|
|
1076
|
+
...style,
|
|
1056
1077
|
paddingRight: showEnterIcon ? "35px" : undefined
|
|
1057
|
-
}
|
|
1078
|
+
},
|
|
1058
1079
|
ref: pluridFunctionsReact.mergeReferences(inputElement, reference)
|
|
1059
1080
|
}), error && React__default.default.createElement(StyledErrorLine, {
|
|
1060
1081
|
theme: _theme,
|
|
@@ -1251,9 +1272,9 @@ const Dropdown$1 = properties => {
|
|
|
1251
1272
|
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;
|
|
1252
1273
|
const _generalTheme = generalThemeProperty === undefined ? themeProperty === undefined ? themes.plurid : themeProperty : generalThemeProperty;
|
|
1253
1274
|
const _interactionTheme = interactionThemeProperty === undefined ? themeProperty === undefined ? themes.plurid : themeProperty : interactionThemeProperty;
|
|
1254
|
-
const _level = level
|
|
1255
|
-
const _hideAtSelect = hideAtSelect
|
|
1256
|
-
const _selectAtHover = selectAtHover
|
|
1275
|
+
const _level = level ?? 0;
|
|
1276
|
+
const _hideAtSelect = hideAtSelect ?? true;
|
|
1277
|
+
const _selectAtHover = selectAtHover ?? false;
|
|
1257
1278
|
const _dropdownSign = typeof dropdownSign === "string" ? dropdownSign : !dropdownSign ? "" : "▼";
|
|
1258
1279
|
const isMounted = React.useRef(true);
|
|
1259
1280
|
const filterInput = React.useRef(null);
|
|
@@ -1404,7 +1425,9 @@ const Dropdown$1 = properties => {
|
|
|
1404
1425
|
return React__default.default.createElement(StyledDropdown, {
|
|
1405
1426
|
theme: interactionTheme,
|
|
1406
1427
|
left: left,
|
|
1407
|
-
style:
|
|
1428
|
+
style: {
|
|
1429
|
+
...style
|
|
1430
|
+
},
|
|
1408
1431
|
className: className
|
|
1409
1432
|
}, React__default.default.createElement(StyledDropdownSelected, {
|
|
1410
1433
|
onClick: () => {
|
|
@@ -1505,7 +1528,9 @@ const EntityPill$1 = properties => {
|
|
|
1505
1528
|
const textValue = text || id;
|
|
1506
1529
|
return React__default.default.createElement(StyledEntityPill, {
|
|
1507
1530
|
theme: theme || themes.plurid,
|
|
1508
|
-
style:
|
|
1531
|
+
style: {
|
|
1532
|
+
...style
|
|
1533
|
+
}
|
|
1509
1534
|
}, React__default.default.createElement("div", {
|
|
1510
1535
|
style: {
|
|
1511
1536
|
marginRight: "0.5rem"
|
|
@@ -1527,7 +1552,9 @@ const EntityPillGroup$1 = properties => {
|
|
|
1527
1552
|
const {entities: entities, remove: remove, keyFix: keyFix, theme: theme, style: style, pillStyle: pillStyle} = properties;
|
|
1528
1553
|
return React__default.default.createElement(StyledEntityPillGroup, {
|
|
1529
1554
|
theme: theme,
|
|
1530
|
-
style:
|
|
1555
|
+
style: {
|
|
1556
|
+
...style
|
|
1557
|
+
}
|
|
1531
1558
|
}, entities.map((entity => {
|
|
1532
1559
|
const stringEntity = typeof entity === "string";
|
|
1533
1560
|
const id = stringEntity ? entity : entity.id;
|
|
@@ -1562,7 +1589,9 @@ const InputDescriptor$1 = properties => {
|
|
|
1562
1589
|
return React__default.default.createElement(StyledInputDescriptor, {
|
|
1563
1590
|
theme: theme,
|
|
1564
1591
|
className: className,
|
|
1565
|
-
style:
|
|
1592
|
+
style: {
|
|
1593
|
+
...style
|
|
1594
|
+
}
|
|
1566
1595
|
}, show && React__default.default.createElement(React__default.default.Fragment, null, name));
|
|
1567
1596
|
};
|
|
1568
1597
|
|
|
@@ -1600,7 +1629,9 @@ const InputBox$1 = properties => {
|
|
|
1600
1629
|
return React__default.default.createElement(StyledInputBox, {
|
|
1601
1630
|
theme: theme,
|
|
1602
1631
|
className: className,
|
|
1603
|
-
style:
|
|
1632
|
+
style: {
|
|
1633
|
+
...style
|
|
1634
|
+
}
|
|
1604
1635
|
}, React__default.default.createElement(InputDescriptor$1, {
|
|
1605
1636
|
name: name,
|
|
1606
1637
|
show: text !== "",
|
|
@@ -1628,13 +1659,15 @@ const InputLine$1 = properties => {
|
|
|
1628
1659
|
const theme = themeProperty || themes.plurid;
|
|
1629
1660
|
return React__default.default.createElement(StyledInputLine, {
|
|
1630
1661
|
theme: theme,
|
|
1631
|
-
style:
|
|
1662
|
+
style: {
|
|
1663
|
+
...style
|
|
1664
|
+
},
|
|
1632
1665
|
className: className
|
|
1633
1666
|
}, React__default.default.createElement(InputDescriptor$1, {
|
|
1634
1667
|
name: name,
|
|
1635
1668
|
show: text !== "",
|
|
1636
1669
|
theme: theme
|
|
1637
|
-
}), React__default.default.createElement(Textline$1,
|
|
1670
|
+
}), React__default.default.createElement(Textline$1, {
|
|
1638
1671
|
text: text,
|
|
1639
1672
|
type: type,
|
|
1640
1673
|
placeholder: name,
|
|
@@ -1646,8 +1679,9 @@ const InputLine$1 = properties => {
|
|
|
1646
1679
|
autoComplete: "false",
|
|
1647
1680
|
autoCorrect: "false",
|
|
1648
1681
|
atChange: atChange,
|
|
1649
|
-
atKeyDown: atKeyDown
|
|
1650
|
-
|
|
1682
|
+
atKeyDown: atKeyDown,
|
|
1683
|
+
...textline
|
|
1684
|
+
}));
|
|
1651
1685
|
};
|
|
1652
1686
|
|
|
1653
1687
|
const StyledSwitch = styled__default.default.label`
|
|
@@ -1781,13 +1815,15 @@ const Switch$1 = properties => {
|
|
|
1781
1815
|
type: "checkbox",
|
|
1782
1816
|
checked: checked,
|
|
1783
1817
|
onChange: () => atChange()
|
|
1784
|
-
}), React__default.default.createElement(StyledSwitchSlider,
|
|
1785
|
-
round: _round
|
|
1786
|
-
|
|
1818
|
+
}), React__default.default.createElement(StyledSwitchSlider, {
|
|
1819
|
+
round: _round,
|
|
1820
|
+
...commonProperties
|
|
1821
|
+
}), Icon && React__default.default.createElement(StyledSwitchIcon, {
|
|
1822
|
+
...commonProperties,
|
|
1787
1823
|
style: {
|
|
1788
1824
|
left: checked ? "35px" : "9px"
|
|
1789
1825
|
}
|
|
1790
|
-
}
|
|
1826
|
+
}, React__default.default.createElement(Icon, null)));
|
|
1791
1827
|
};
|
|
1792
1828
|
|
|
1793
1829
|
const StyledInputSwitch = styled__default.default.div`
|
|
@@ -1806,19 +1842,22 @@ const InputSwitch$1 = properties => {
|
|
|
1806
1842
|
const theme = themeProperty || themes.plurid;
|
|
1807
1843
|
return React__default.default.createElement(StyledInputSwitch, {
|
|
1808
1844
|
compact: compact,
|
|
1809
|
-
style:
|
|
1845
|
+
style: {
|
|
1846
|
+
...style
|
|
1847
|
+
},
|
|
1810
1848
|
className: className
|
|
1811
1849
|
}, React__default.default.createElement(FormLeftRight$1, null, React__default.default.createElement("div", {
|
|
1812
1850
|
style: {
|
|
1813
1851
|
marginLeft: "0.9rem"
|
|
1814
1852
|
}
|
|
1815
|
-
}, name), React__default.default.createElement(Switch$1,
|
|
1853
|
+
}, name), React__default.default.createElement(Switch$1, {
|
|
1816
1854
|
checked: checked,
|
|
1817
1855
|
level: 2,
|
|
1818
1856
|
exclusive: true,
|
|
1819
1857
|
theme: theme,
|
|
1820
|
-
atChange: () => atChange()
|
|
1821
|
-
|
|
1858
|
+
atChange: () => atChange(),
|
|
1859
|
+
...switchProperties
|
|
1860
|
+
})));
|
|
1822
1861
|
};
|
|
1823
1862
|
|
|
1824
1863
|
const StyledItemsline = styled__default.default.div`
|
|
@@ -1859,7 +1898,9 @@ const Itemsline$1 = properties => {
|
|
|
1859
1898
|
const _level = level === undefined ? 0 : level;
|
|
1860
1899
|
const _left = left === undefined ? false : left;
|
|
1861
1900
|
return React__default.default.createElement(StyledItemsline, {
|
|
1862
|
-
style:
|
|
1901
|
+
style: {
|
|
1902
|
+
...style
|
|
1903
|
+
},
|
|
1863
1904
|
className: className,
|
|
1864
1905
|
theme: _theme,
|
|
1865
1906
|
level: _level,
|
|
@@ -1876,8 +1917,8 @@ const StyledSelect = styled__default.default.div`
|
|
|
1876
1917
|
const PluridSelect = properties => {
|
|
1877
1918
|
const {selectables: selectables, atChange: atChange, theme: theme, level: level, devisible: devisible, round: round, width: width} = properties;
|
|
1878
1919
|
const _theme = theme || themes.plurid;
|
|
1879
|
-
const _level = level
|
|
1880
|
-
const _round = round
|
|
1920
|
+
const _level = level ?? 0;
|
|
1921
|
+
const _round = round ?? true;
|
|
1881
1922
|
return React__default.default.createElement(StyledSelect, {
|
|
1882
1923
|
theme: _theme,
|
|
1883
1924
|
level: _level,
|
|
@@ -2182,7 +2223,9 @@ const HR$1 = properties => {
|
|
|
2182
2223
|
const themeValue = theme || themes.plurid;
|
|
2183
2224
|
return React__default.default.createElement(StyledHR, {
|
|
2184
2225
|
theme: themeValue,
|
|
2185
|
-
style:
|
|
2226
|
+
style: {
|
|
2227
|
+
...style
|
|
2228
|
+
},
|
|
2186
2229
|
className: className
|
|
2187
2230
|
});
|
|
2188
2231
|
};
|
|
@@ -2212,7 +2255,9 @@ const ProgressCircle$1 = properties => {
|
|
|
2212
2255
|
const sizeValue = size || "normal";
|
|
2213
2256
|
return React__default.default.createElement(StyledProgressCircle, {
|
|
2214
2257
|
size: sizeValue,
|
|
2215
|
-
style:
|
|
2258
|
+
style: {
|
|
2259
|
+
...style
|
|
2260
|
+
},
|
|
2216
2261
|
className: className
|
|
2217
2262
|
}, React__default.default.createElement("svg", {
|
|
2218
2263
|
height: diameter,
|
|
@@ -2311,8 +2356,8 @@ const StyledTooltipText = styled__default.default.div`
|
|
|
2311
2356
|
const Tooltip$1 = properties => {
|
|
2312
2357
|
const {tool: Tool, tip: Tip, indicator: indicatorProperty, icon: iconProperty, theme: themeProperty, style: style, className: className} = properties;
|
|
2313
2358
|
const theme = themeProperty || themes.plurid;
|
|
2314
|
-
const indicator = indicatorProperty
|
|
2315
|
-
const icon = iconProperty
|
|
2359
|
+
const indicator = indicatorProperty ?? true;
|
|
2360
|
+
const icon = iconProperty ?? true;
|
|
2316
2361
|
const mounted = pluridFunctionsReact.useMounted();
|
|
2317
2362
|
const hoverOutTimeout = React.useRef(null);
|
|
2318
2363
|
const [mouseOver, setMouseOver] = React.useState(false);
|
|
@@ -2344,7 +2389,9 @@ const Tooltip$1 = properties => {
|
|
|
2344
2389
|
onMouseLeave: () => setMouseOver(false),
|
|
2345
2390
|
onMouseMove: () => !showTooltipText ? setMouseOver(true) : null,
|
|
2346
2391
|
theme: theme,
|
|
2347
|
-
style:
|
|
2392
|
+
style: {
|
|
2393
|
+
...style
|
|
2394
|
+
},
|
|
2348
2395
|
className: className
|
|
2349
2396
|
}, icon && React__default.default.createElement(StyledTooltipIcon, {
|
|
2350
2397
|
theme: theme
|
|
@@ -2414,25 +2461,39 @@ const Heading$1 = properties => {
|
|
|
2414
2461
|
};
|
|
2415
2462
|
switch (type) {
|
|
2416
2463
|
case "h1":
|
|
2417
|
-
return React__default.default.createElement(StyledHeading1,
|
|
2464
|
+
return React__default.default.createElement(StyledHeading1, {
|
|
2465
|
+
...renderProperties
|
|
2466
|
+
}, children);
|
|
2418
2467
|
|
|
2419
2468
|
case "h2":
|
|
2420
|
-
return React__default.default.createElement(StyledHeading2,
|
|
2469
|
+
return React__default.default.createElement(StyledHeading2, {
|
|
2470
|
+
...renderProperties
|
|
2471
|
+
}, children);
|
|
2421
2472
|
|
|
2422
2473
|
case "h3":
|
|
2423
|
-
return React__default.default.createElement(StyledHeading3,
|
|
2474
|
+
return React__default.default.createElement(StyledHeading3, {
|
|
2475
|
+
...renderProperties
|
|
2476
|
+
}, children);
|
|
2424
2477
|
|
|
2425
2478
|
case "h4":
|
|
2426
|
-
return React__default.default.createElement(StyledHeading4,
|
|
2479
|
+
return React__default.default.createElement(StyledHeading4, {
|
|
2480
|
+
...renderProperties
|
|
2481
|
+
}, children);
|
|
2427
2482
|
|
|
2428
2483
|
case "h5":
|
|
2429
|
-
return React__default.default.createElement(StyledHeading5,
|
|
2484
|
+
return React__default.default.createElement(StyledHeading5, {
|
|
2485
|
+
...renderProperties
|
|
2486
|
+
}, children);
|
|
2430
2487
|
|
|
2431
2488
|
case "h6":
|
|
2432
|
-
return React__default.default.createElement(StyledHeading6,
|
|
2489
|
+
return React__default.default.createElement(StyledHeading6, {
|
|
2490
|
+
...renderProperties
|
|
2491
|
+
}, children);
|
|
2433
2492
|
|
|
2434
2493
|
default:
|
|
2435
|
-
return React__default.default.createElement(StyledHeading1,
|
|
2494
|
+
return React__default.default.createElement(StyledHeading1, {
|
|
2495
|
+
...renderProperties
|
|
2496
|
+
}, children);
|
|
2436
2497
|
}
|
|
2437
2498
|
};
|
|
2438
2499
|
|
|
@@ -2479,7 +2540,9 @@ const Paragraph$1 = properties => {
|
|
|
2479
2540
|
theme: theme,
|
|
2480
2541
|
size: size,
|
|
2481
2542
|
fontFamily: fontFamily,
|
|
2482
|
-
style:
|
|
2543
|
+
style: {
|
|
2544
|
+
...style
|
|
2545
|
+
},
|
|
2483
2546
|
className: className
|
|
2484
2547
|
}, children);
|
|
2485
2548
|
};
|
|
@@ -2503,11 +2566,13 @@ const StyledData = styled__default.default.div`
|
|
|
2503
2566
|
const CopyableLine$1 = properties => {
|
|
2504
2567
|
const {data: data, theme: theme, viewData: viewData, copyMessage: copyMessage, copyMessageTime: copyMessageTime, style: style, className: className} = properties;
|
|
2505
2568
|
const viewDataText = viewData || data;
|
|
2506
|
-
const copyMessageText = copyMessage
|
|
2569
|
+
const copyMessageText = copyMessage ?? "copied";
|
|
2507
2570
|
const copyMessageTimeValue = copyMessageTime || 2e3;
|
|
2508
2571
|
const [showCopyMessage, setShowCopyMessage] = pluridFunctionsReact.useFalseAfterTimedTrue(copyMessageTimeValue);
|
|
2509
2572
|
return React__default.default.createElement(StyledCopyableLine, {
|
|
2510
|
-
style:
|
|
2573
|
+
style: {
|
|
2574
|
+
...style
|
|
2575
|
+
},
|
|
2511
2576
|
className: className
|
|
2512
2577
|
}, React__default.default.createElement(pluridIconsReact.PluridIconCopy, {
|
|
2513
2578
|
atClick: () => {
|
|
@@ -2527,7 +2592,9 @@ const NewPageLink$1 = properties => {
|
|
|
2527
2592
|
href: link,
|
|
2528
2593
|
target: "_blank",
|
|
2529
2594
|
rel: "noopener noreferrer",
|
|
2530
|
-
style:
|
|
2595
|
+
style: {
|
|
2596
|
+
...style
|
|
2597
|
+
},
|
|
2531
2598
|
className: className
|
|
2532
2599
|
}, text);
|
|
2533
2600
|
};
|
|
@@ -2548,7 +2615,9 @@ const StyledScrollableLine = styled__default.default.div`
|
|
|
2548
2615
|
const ScrollableLine$1 = properties => {
|
|
2549
2616
|
const {text: text, style: style, className: className} = properties;
|
|
2550
2617
|
return React__default.default.createElement(StyledScrollableLine, {
|
|
2551
|
-
style:
|
|
2618
|
+
style: {
|
|
2619
|
+
...style
|
|
2620
|
+
},
|
|
2552
2621
|
className: className
|
|
2553
2622
|
}, text);
|
|
2554
2623
|
};
|
|
@@ -2821,8 +2890,8 @@ const RenderArea = properties => {
|
|
|
2821
2890
|
|
|
2822
2891
|
const DashboardsRenderer$1 = properties => {
|
|
2823
2892
|
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;
|
|
2824
|
-
const [compactSelectors, setCompactSelectors] = React.useState(compactSelectorsProperty
|
|
2825
|
-
const [fullRenderArea, setFullRenderArea] = React.useState(fullRenderAreaProperty
|
|
2893
|
+
const [compactSelectors, setCompactSelectors] = React.useState(compactSelectorsProperty ?? false);
|
|
2894
|
+
const [fullRenderArea, setFullRenderArea] = React.useState(fullRenderAreaProperty ?? false);
|
|
2826
2895
|
const [selectedDashboard, setSelectedDashboard] = React.useState(activeDashboard || "");
|
|
2827
2896
|
const [renderView, setRenderView] = React.useState(activeRender || "");
|
|
2828
2897
|
React.useEffect((() => {
|
|
@@ -3001,7 +3070,7 @@ const {buttons: {PureButton: PluridPureButton}, inputs: {Textline: PluridTextlin
|
|
|
3001
3070
|
const EntityView$1 = React.forwardRef(((properties, reference) => {
|
|
3002
3071
|
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;
|
|
3003
3072
|
const placeholder = placeholderText || "search";
|
|
3004
|
-
const scrollThrottleTime = scrollThrottleTimeProperty
|
|
3073
|
+
const scrollThrottleTime = scrollThrottleTimeProperty ?? 1e3;
|
|
3005
3074
|
const bottomTimeout = React.useRef();
|
|
3006
3075
|
const entityList = React.useRef(null);
|
|
3007
3076
|
const [searchTerms, setSearchTerms] = React.useState(createSearchTerms(entities, searchFields));
|
|
@@ -3140,27 +3209,26 @@ const containers = {
|
|
|
3140
3209
|
};
|
|
3141
3210
|
|
|
3142
3211
|
const Head$1 = properties => {
|
|
3143
|
-
var _a, _b, _c, _d;
|
|
3144
3212
|
const {Helmet: Helmet, defaults: defaults, children: children, stateHead: stateHead} = properties;
|
|
3145
|
-
const robots =
|
|
3146
|
-
const viewport =
|
|
3147
|
-
const faviconIcon =
|
|
3148
|
-
const favicon16 =
|
|
3149
|
-
const favicon32 =
|
|
3150
|
-
const manifest =
|
|
3151
|
-
const themeColor =
|
|
3152
|
-
const titleValue = stateHead.title ||
|
|
3153
|
-
const descriptionValue = stateHead.description ||
|
|
3154
|
-
const canonicalURL = stateHead.canonicalURL ||
|
|
3213
|
+
const robots = defaults?.robots || "index,follow";
|
|
3214
|
+
const viewport = defaults?.viewport || "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no";
|
|
3215
|
+
const faviconIcon = defaults?.faviconIcon ?? "/favicon.ico";
|
|
3216
|
+
const favicon16 = defaults?.favicon16 ?? "/favicon-16x16.png";
|
|
3217
|
+
const favicon32 = defaults?.favicon32 ?? "/favicon-32x32.png";
|
|
3218
|
+
const manifest = defaults?.manifest ?? "/site.webmanifest";
|
|
3219
|
+
const themeColor = defaults?.themeColor || "";
|
|
3220
|
+
const titleValue = stateHead.title || defaults?.title || "";
|
|
3221
|
+
const descriptionValue = stateHead.description || defaults?.description || "";
|
|
3222
|
+
const canonicalURL = stateHead.canonicalURL || defaults?.canonicalURL || "";
|
|
3155
3223
|
const ogTitleValue = stateHead.ogTitle || titleValue;
|
|
3156
3224
|
const ogDescriptionValue = stateHead.ogDescription || titleValue;
|
|
3157
|
-
const ogImageValue = stateHead.ogImage ||
|
|
3158
|
-
const ogURLValue = stateHead.ogURL ||
|
|
3159
|
-
const apiDomain =
|
|
3160
|
-
const ogImageWidth =
|
|
3161
|
-
const ogImageHeight =
|
|
3162
|
-
const ogSiteName =
|
|
3163
|
-
const appleTouchIcon =
|
|
3225
|
+
const ogImageValue = stateHead.ogImage || defaults?.ogImage || "";
|
|
3226
|
+
const ogURLValue = stateHead.ogURL || defaults?.ogURL || "";
|
|
3227
|
+
const apiDomain = defaults?.apiDomain || "";
|
|
3228
|
+
const ogImageWidth = defaults?.ogImageWidth || "1200";
|
|
3229
|
+
const ogImageHeight = defaults?.ogImageHeight || "630";
|
|
3230
|
+
const ogSiteName = defaults?.ogSiteName || "";
|
|
3231
|
+
const appleTouchIcon = defaults?.appleTouchIcon || "";
|
|
3164
3232
|
const {styles: styles, scripts: scripts} = stateHead;
|
|
3165
3233
|
return React__default.default.createElement(Helmet, null, React__default.default.createElement("meta", {
|
|
3166
3234
|
charSet: "utf-8"
|
|
@@ -3257,11 +3325,11 @@ const Head$1 = properties => {
|
|
|
3257
3325
|
rel: "apple-touch-icon",
|
|
3258
3326
|
sizes: "180x180",
|
|
3259
3327
|
href: appleTouchIcon
|
|
3260
|
-
}), children, styles
|
|
3328
|
+
}), children, styles?.map((style => React__default.default.createElement("link", {
|
|
3261
3329
|
rel: "stylesheet",
|
|
3262
3330
|
key: "head-style" + style,
|
|
3263
3331
|
href: style
|
|
3264
|
-
}))), scripts
|
|
3332
|
+
}))), scripts?.map((script => React__default.default.createElement("script", {
|
|
3265
3333
|
key: "head-script" + script,
|
|
3266
3334
|
src: script
|
|
3267
3335
|
}))));
|
|
@@ -3354,21 +3422,27 @@ const Notification$1 = properties => {
|
|
|
3354
3422
|
wordBreak: resolvedWordBreak
|
|
3355
3423
|
};
|
|
3356
3424
|
if (html) {
|
|
3357
|
-
return React__default.default.createElement(StyledNotificationContent,
|
|
3358
|
-
dangerouslySetInnerHTML: pluridFunctionsReact.createMarkup(text)
|
|
3359
|
-
|
|
3425
|
+
return React__default.default.createElement(StyledNotificationContent, {
|
|
3426
|
+
dangerouslySetInnerHTML: pluridFunctionsReact.createMarkup(text),
|
|
3427
|
+
...contentProperties
|
|
3428
|
+
});
|
|
3360
3429
|
}
|
|
3361
3430
|
if (react && elements && elements[text]) {
|
|
3362
|
-
return React__default.default.createElement(StyledNotificationContent,
|
|
3431
|
+
return React__default.default.createElement(StyledNotificationContent, {
|
|
3432
|
+
...contentProperties
|
|
3433
|
+
}, elements[text]);
|
|
3363
3434
|
}
|
|
3364
|
-
return React__default.default.createElement(StyledNotificationContent,
|
|
3435
|
+
return React__default.default.createElement(StyledNotificationContent, {
|
|
3436
|
+
...contentProperties
|
|
3437
|
+
}, text);
|
|
3365
3438
|
};
|
|
3366
3439
|
const content = resolveRender();
|
|
3367
3440
|
return React__default.default.createElement(StyledNotification, {
|
|
3368
3441
|
theme: theme,
|
|
3369
|
-
style:
|
|
3442
|
+
style: {
|
|
3443
|
+
...style,
|
|
3370
3444
|
opacity: prepareForRemoval ? 0 : undefined
|
|
3371
|
-
}
|
|
3445
|
+
},
|
|
3372
3446
|
className: className
|
|
3373
3447
|
}, content, React__default.default.createElement(StyledNotificationClose, null, React__default.default.createElement(pluridIconsReact.PluridIconDelete, {
|
|
3374
3448
|
atClick: () => remove(id)
|
|
@@ -3897,7 +3971,9 @@ const HorizontalToolbarButton$1 = properties => {
|
|
|
3897
3971
|
scaleIcon: scaleIcon,
|
|
3898
3972
|
onClick: atClick,
|
|
3899
3973
|
theme: theme,
|
|
3900
|
-
style:
|
|
3974
|
+
style: {
|
|
3975
|
+
...style
|
|
3976
|
+
},
|
|
3901
3977
|
className: className
|
|
3902
3978
|
}, Icon && React__default.default.createElement(StyledHorizontalToolbarButtonIcon, {
|
|
3903
3979
|
text: text
|
|
@@ -3969,7 +4045,9 @@ const ToolbarControls$1 = properties => {
|
|
|
3969
4045
|
return React__default.default.createElement(StyledToolbarControls, {
|
|
3970
4046
|
position: position,
|
|
3971
4047
|
theme: theme,
|
|
3972
|
-
style:
|
|
4048
|
+
style: {
|
|
4049
|
+
...style
|
|
4050
|
+
},
|
|
3973
4051
|
className: className
|
|
3974
4052
|
}, React__default.default.createElement(StyledToolbarControlsButtons, {
|
|
3975
4053
|
theme: theme
|
|
@@ -4216,7 +4294,7 @@ const ToolbarGeneral$1 = properties => {
|
|
|
4216
4294
|
const {buttons: buttons, selectors: selectors, context: context, handleClick: handleClick, speakButton: speakButton, sittingButton: sittingButtonProperty, stateView: stateView, stateSittingTray: stateSittingTray, stateToolbars: stateToolbars, stateInteractionTheme: stateInteractionTheme, dispatchToggleSittingTray: dispatchToggleSittingTray} = properties;
|
|
4217
4295
|
const {scaleIcons: scaleIcons, showNames: showNames} = stateToolbars;
|
|
4218
4296
|
const iconTextLeft = false;
|
|
4219
|
-
const sittingButton = sittingButtonProperty
|
|
4297
|
+
const sittingButton = sittingButtonProperty ?? true;
|
|
4220
4298
|
return React__default.default.createElement(ConnectedToolbarSpecific, {
|
|
4221
4299
|
buttons: buttons,
|
|
4222
4300
|
handleClick: handleClick,
|
|
@@ -4249,15 +4327,12 @@ const ToolbarGeneral$1 = properties => {
|
|
|
4249
4327
|
})));
|
|
4250
4328
|
};
|
|
4251
4329
|
|
|
4252
|
-
const mapStateToProperties = (state, ownProperties) => {
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
stateInteractionTheme: (_e = ownProperties.selectors.themes) === null || _e === void 0 ? void 0 : _e.getInteractionTheme(state)
|
|
4259
|
-
};
|
|
4260
|
-
};
|
|
4330
|
+
const mapStateToProperties = (state, ownProperties) => ({
|
|
4331
|
+
stateView: ownProperties.selectors.views?.getGeneralView(state),
|
|
4332
|
+
stateToolbars: ownProperties.selectors.product?.getProductUI(state)?.toolbars,
|
|
4333
|
+
stateSittingTray: ownProperties.selectors.sitting?.getTray(state),
|
|
4334
|
+
stateInteractionTheme: ownProperties.selectors.themes?.getInteractionTheme(state)
|
|
4335
|
+
});
|
|
4261
4336
|
|
|
4262
4337
|
const mapDispatchToProperties = dispatch => ({
|
|
4263
4338
|
dispatchToggleSittingTray: () => dispatch(pluridUiStateReact.sitting.actions.toggleSittingTray())
|
|
@@ -4281,7 +4356,20 @@ const pluridal = {
|
|
|
4281
4356
|
toolbars: toolbars
|
|
4282
4357
|
};
|
|
4283
4358
|
|
|
4284
|
-
var index =
|
|
4359
|
+
var index = {
|
|
4360
|
+
...universal.buttons,
|
|
4361
|
+
...universal.form,
|
|
4362
|
+
...universal.general,
|
|
4363
|
+
...universal.inputs,
|
|
4364
|
+
...universal.markers,
|
|
4365
|
+
...universal.typography,
|
|
4366
|
+
...universal.varia,
|
|
4367
|
+
...pluridal.containers,
|
|
4368
|
+
...pluridal.head,
|
|
4369
|
+
...pluridal.notifications,
|
|
4370
|
+
...pluridal.sitting,
|
|
4371
|
+
...pluridal.toolbars
|
|
4372
|
+
};
|
|
4285
4373
|
|
|
4286
4374
|
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;
|
|
4287
4375
|
|