@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.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,7 +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,
|
|
1077
|
+
paddingRight: showEnterIcon ? "35px" : undefined
|
|
1078
|
+
},
|
|
1056
1079
|
ref: pluridFunctionsReact.mergeReferences(inputElement, reference)
|
|
1057
1080
|
}), error && React__default.default.createElement(StyledErrorLine, {
|
|
1058
1081
|
theme: _theme,
|
|
@@ -1249,9 +1272,9 @@ const Dropdown$1 = properties => {
|
|
|
1249
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;
|
|
1250
1273
|
const _generalTheme = generalThemeProperty === undefined ? themeProperty === undefined ? themes.plurid : themeProperty : generalThemeProperty;
|
|
1251
1274
|
const _interactionTheme = interactionThemeProperty === undefined ? themeProperty === undefined ? themes.plurid : themeProperty : interactionThemeProperty;
|
|
1252
|
-
const _level = level
|
|
1253
|
-
const _hideAtSelect = hideAtSelect
|
|
1254
|
-
const _selectAtHover = selectAtHover
|
|
1275
|
+
const _level = level ?? 0;
|
|
1276
|
+
const _hideAtSelect = hideAtSelect ?? true;
|
|
1277
|
+
const _selectAtHover = selectAtHover ?? false;
|
|
1255
1278
|
const _dropdownSign = typeof dropdownSign === "string" ? dropdownSign : !dropdownSign ? "" : "▼";
|
|
1256
1279
|
const isMounted = React.useRef(true);
|
|
1257
1280
|
const filterInput = React.useRef(null);
|
|
@@ -1402,7 +1425,9 @@ const Dropdown$1 = properties => {
|
|
|
1402
1425
|
return React__default.default.createElement(StyledDropdown, {
|
|
1403
1426
|
theme: interactionTheme,
|
|
1404
1427
|
left: left,
|
|
1405
|
-
style:
|
|
1428
|
+
style: {
|
|
1429
|
+
...style
|
|
1430
|
+
},
|
|
1406
1431
|
className: className
|
|
1407
1432
|
}, React__default.default.createElement(StyledDropdownSelected, {
|
|
1408
1433
|
onClick: () => {
|
|
@@ -1503,7 +1528,9 @@ const EntityPill$1 = properties => {
|
|
|
1503
1528
|
const textValue = text || id;
|
|
1504
1529
|
return React__default.default.createElement(StyledEntityPill, {
|
|
1505
1530
|
theme: theme || themes.plurid,
|
|
1506
|
-
style:
|
|
1531
|
+
style: {
|
|
1532
|
+
...style
|
|
1533
|
+
}
|
|
1507
1534
|
}, React__default.default.createElement("div", {
|
|
1508
1535
|
style: {
|
|
1509
1536
|
marginRight: "0.5rem"
|
|
@@ -1525,7 +1552,9 @@ const EntityPillGroup$1 = properties => {
|
|
|
1525
1552
|
const {entities: entities, remove: remove, keyFix: keyFix, theme: theme, style: style, pillStyle: pillStyle} = properties;
|
|
1526
1553
|
return React__default.default.createElement(StyledEntityPillGroup, {
|
|
1527
1554
|
theme: theme,
|
|
1528
|
-
style:
|
|
1555
|
+
style: {
|
|
1556
|
+
...style
|
|
1557
|
+
}
|
|
1529
1558
|
}, entities.map((entity => {
|
|
1530
1559
|
const stringEntity = typeof entity === "string";
|
|
1531
1560
|
const id = stringEntity ? entity : entity.id;
|
|
@@ -1560,7 +1589,9 @@ const InputDescriptor$1 = properties => {
|
|
|
1560
1589
|
return React__default.default.createElement(StyledInputDescriptor, {
|
|
1561
1590
|
theme: theme,
|
|
1562
1591
|
className: className,
|
|
1563
|
-
style:
|
|
1592
|
+
style: {
|
|
1593
|
+
...style
|
|
1594
|
+
}
|
|
1564
1595
|
}, show && React__default.default.createElement(React__default.default.Fragment, null, name));
|
|
1565
1596
|
};
|
|
1566
1597
|
|
|
@@ -1598,7 +1629,9 @@ const InputBox$1 = properties => {
|
|
|
1598
1629
|
return React__default.default.createElement(StyledInputBox, {
|
|
1599
1630
|
theme: theme,
|
|
1600
1631
|
className: className,
|
|
1601
|
-
style:
|
|
1632
|
+
style: {
|
|
1633
|
+
...style
|
|
1634
|
+
}
|
|
1602
1635
|
}, React__default.default.createElement(InputDescriptor$1, {
|
|
1603
1636
|
name: name,
|
|
1604
1637
|
show: text !== "",
|
|
@@ -1626,13 +1659,15 @@ const InputLine$1 = properties => {
|
|
|
1626
1659
|
const theme = themeProperty || themes.plurid;
|
|
1627
1660
|
return React__default.default.createElement(StyledInputLine, {
|
|
1628
1661
|
theme: theme,
|
|
1629
|
-
style:
|
|
1662
|
+
style: {
|
|
1663
|
+
...style
|
|
1664
|
+
},
|
|
1630
1665
|
className: className
|
|
1631
1666
|
}, React__default.default.createElement(InputDescriptor$1, {
|
|
1632
1667
|
name: name,
|
|
1633
1668
|
show: text !== "",
|
|
1634
1669
|
theme: theme
|
|
1635
|
-
}), React__default.default.createElement(Textline$1,
|
|
1670
|
+
}), React__default.default.createElement(Textline$1, {
|
|
1636
1671
|
text: text,
|
|
1637
1672
|
type: type,
|
|
1638
1673
|
placeholder: name,
|
|
@@ -1644,8 +1679,9 @@ const InputLine$1 = properties => {
|
|
|
1644
1679
|
autoComplete: "false",
|
|
1645
1680
|
autoCorrect: "false",
|
|
1646
1681
|
atChange: atChange,
|
|
1647
|
-
atKeyDown: atKeyDown
|
|
1648
|
-
|
|
1682
|
+
atKeyDown: atKeyDown,
|
|
1683
|
+
...textline
|
|
1684
|
+
}));
|
|
1649
1685
|
};
|
|
1650
1686
|
|
|
1651
1687
|
const StyledSwitch = styled__default.default.label`
|
|
@@ -1779,13 +1815,15 @@ const Switch$1 = properties => {
|
|
|
1779
1815
|
type: "checkbox",
|
|
1780
1816
|
checked: checked,
|
|
1781
1817
|
onChange: () => atChange()
|
|
1782
|
-
}), React__default.default.createElement(StyledSwitchSlider,
|
|
1783
|
-
round: _round
|
|
1784
|
-
|
|
1818
|
+
}), React__default.default.createElement(StyledSwitchSlider, {
|
|
1819
|
+
round: _round,
|
|
1820
|
+
...commonProperties
|
|
1821
|
+
}), Icon && React__default.default.createElement(StyledSwitchIcon, {
|
|
1822
|
+
...commonProperties,
|
|
1785
1823
|
style: {
|
|
1786
1824
|
left: checked ? "35px" : "9px"
|
|
1787
1825
|
}
|
|
1788
|
-
}
|
|
1826
|
+
}, React__default.default.createElement(Icon, null)));
|
|
1789
1827
|
};
|
|
1790
1828
|
|
|
1791
1829
|
const StyledInputSwitch = styled__default.default.div`
|
|
@@ -1804,19 +1842,22 @@ const InputSwitch$1 = properties => {
|
|
|
1804
1842
|
const theme = themeProperty || themes.plurid;
|
|
1805
1843
|
return React__default.default.createElement(StyledInputSwitch, {
|
|
1806
1844
|
compact: compact,
|
|
1807
|
-
style:
|
|
1845
|
+
style: {
|
|
1846
|
+
...style
|
|
1847
|
+
},
|
|
1808
1848
|
className: className
|
|
1809
1849
|
}, React__default.default.createElement(FormLeftRight$1, null, React__default.default.createElement("div", {
|
|
1810
1850
|
style: {
|
|
1811
1851
|
marginLeft: "0.9rem"
|
|
1812
1852
|
}
|
|
1813
|
-
}, name), React__default.default.createElement(Switch$1,
|
|
1853
|
+
}, name), React__default.default.createElement(Switch$1, {
|
|
1814
1854
|
checked: checked,
|
|
1815
1855
|
level: 2,
|
|
1816
1856
|
exclusive: true,
|
|
1817
1857
|
theme: theme,
|
|
1818
|
-
atChange: () => atChange()
|
|
1819
|
-
|
|
1858
|
+
atChange: () => atChange(),
|
|
1859
|
+
...switchProperties
|
|
1860
|
+
})));
|
|
1820
1861
|
};
|
|
1821
1862
|
|
|
1822
1863
|
const StyledItemsline = styled__default.default.div`
|
|
@@ -1857,7 +1898,9 @@ const Itemsline$1 = properties => {
|
|
|
1857
1898
|
const _level = level === undefined ? 0 : level;
|
|
1858
1899
|
const _left = left === undefined ? false : left;
|
|
1859
1900
|
return React__default.default.createElement(StyledItemsline, {
|
|
1860
|
-
style:
|
|
1901
|
+
style: {
|
|
1902
|
+
...style
|
|
1903
|
+
},
|
|
1861
1904
|
className: className,
|
|
1862
1905
|
theme: _theme,
|
|
1863
1906
|
level: _level,
|
|
@@ -1874,8 +1917,8 @@ const StyledSelect = styled__default.default.div`
|
|
|
1874
1917
|
const PluridSelect = properties => {
|
|
1875
1918
|
const {selectables: selectables, atChange: atChange, theme: theme, level: level, devisible: devisible, round: round, width: width} = properties;
|
|
1876
1919
|
const _theme = theme || themes.plurid;
|
|
1877
|
-
const _level = level
|
|
1878
|
-
const _round = round
|
|
1920
|
+
const _level = level ?? 0;
|
|
1921
|
+
const _round = round ?? true;
|
|
1879
1922
|
return React__default.default.createElement(StyledSelect, {
|
|
1880
1923
|
theme: _theme,
|
|
1881
1924
|
level: _level,
|
|
@@ -2180,7 +2223,9 @@ const HR$1 = properties => {
|
|
|
2180
2223
|
const themeValue = theme || themes.plurid;
|
|
2181
2224
|
return React__default.default.createElement(StyledHR, {
|
|
2182
2225
|
theme: themeValue,
|
|
2183
|
-
style:
|
|
2226
|
+
style: {
|
|
2227
|
+
...style
|
|
2228
|
+
},
|
|
2184
2229
|
className: className
|
|
2185
2230
|
});
|
|
2186
2231
|
};
|
|
@@ -2210,7 +2255,9 @@ const ProgressCircle$1 = properties => {
|
|
|
2210
2255
|
const sizeValue = size || "normal";
|
|
2211
2256
|
return React__default.default.createElement(StyledProgressCircle, {
|
|
2212
2257
|
size: sizeValue,
|
|
2213
|
-
style:
|
|
2258
|
+
style: {
|
|
2259
|
+
...style
|
|
2260
|
+
},
|
|
2214
2261
|
className: className
|
|
2215
2262
|
}, React__default.default.createElement("svg", {
|
|
2216
2263
|
height: diameter,
|
|
@@ -2309,8 +2356,8 @@ const StyledTooltipText = styled__default.default.div`
|
|
|
2309
2356
|
const Tooltip$1 = properties => {
|
|
2310
2357
|
const {tool: Tool, tip: Tip, indicator: indicatorProperty, icon: iconProperty, theme: themeProperty, style: style, className: className} = properties;
|
|
2311
2358
|
const theme = themeProperty || themes.plurid;
|
|
2312
|
-
const indicator = indicatorProperty
|
|
2313
|
-
const icon = iconProperty
|
|
2359
|
+
const indicator = indicatorProperty ?? true;
|
|
2360
|
+
const icon = iconProperty ?? true;
|
|
2314
2361
|
const mounted = pluridFunctionsReact.useMounted();
|
|
2315
2362
|
const hoverOutTimeout = React.useRef(null);
|
|
2316
2363
|
const [mouseOver, setMouseOver] = React.useState(false);
|
|
@@ -2342,7 +2389,9 @@ const Tooltip$1 = properties => {
|
|
|
2342
2389
|
onMouseLeave: () => setMouseOver(false),
|
|
2343
2390
|
onMouseMove: () => !showTooltipText ? setMouseOver(true) : null,
|
|
2344
2391
|
theme: theme,
|
|
2345
|
-
style:
|
|
2392
|
+
style: {
|
|
2393
|
+
...style
|
|
2394
|
+
},
|
|
2346
2395
|
className: className
|
|
2347
2396
|
}, icon && React__default.default.createElement(StyledTooltipIcon, {
|
|
2348
2397
|
theme: theme
|
|
@@ -2412,25 +2461,39 @@ const Heading$1 = properties => {
|
|
|
2412
2461
|
};
|
|
2413
2462
|
switch (type) {
|
|
2414
2463
|
case "h1":
|
|
2415
|
-
return React__default.default.createElement(StyledHeading1,
|
|
2464
|
+
return React__default.default.createElement(StyledHeading1, {
|
|
2465
|
+
...renderProperties
|
|
2466
|
+
}, children);
|
|
2416
2467
|
|
|
2417
2468
|
case "h2":
|
|
2418
|
-
return React__default.default.createElement(StyledHeading2,
|
|
2469
|
+
return React__default.default.createElement(StyledHeading2, {
|
|
2470
|
+
...renderProperties
|
|
2471
|
+
}, children);
|
|
2419
2472
|
|
|
2420
2473
|
case "h3":
|
|
2421
|
-
return React__default.default.createElement(StyledHeading3,
|
|
2474
|
+
return React__default.default.createElement(StyledHeading3, {
|
|
2475
|
+
...renderProperties
|
|
2476
|
+
}, children);
|
|
2422
2477
|
|
|
2423
2478
|
case "h4":
|
|
2424
|
-
return React__default.default.createElement(StyledHeading4,
|
|
2479
|
+
return React__default.default.createElement(StyledHeading4, {
|
|
2480
|
+
...renderProperties
|
|
2481
|
+
}, children);
|
|
2425
2482
|
|
|
2426
2483
|
case "h5":
|
|
2427
|
-
return React__default.default.createElement(StyledHeading5,
|
|
2484
|
+
return React__default.default.createElement(StyledHeading5, {
|
|
2485
|
+
...renderProperties
|
|
2486
|
+
}, children);
|
|
2428
2487
|
|
|
2429
2488
|
case "h6":
|
|
2430
|
-
return React__default.default.createElement(StyledHeading6,
|
|
2489
|
+
return React__default.default.createElement(StyledHeading6, {
|
|
2490
|
+
...renderProperties
|
|
2491
|
+
}, children);
|
|
2431
2492
|
|
|
2432
2493
|
default:
|
|
2433
|
-
return React__default.default.createElement(StyledHeading1,
|
|
2494
|
+
return React__default.default.createElement(StyledHeading1, {
|
|
2495
|
+
...renderProperties
|
|
2496
|
+
}, children);
|
|
2434
2497
|
}
|
|
2435
2498
|
};
|
|
2436
2499
|
|
|
@@ -2477,7 +2540,9 @@ const Paragraph$1 = properties => {
|
|
|
2477
2540
|
theme: theme,
|
|
2478
2541
|
size: size,
|
|
2479
2542
|
fontFamily: fontFamily,
|
|
2480
|
-
style:
|
|
2543
|
+
style: {
|
|
2544
|
+
...style
|
|
2545
|
+
},
|
|
2481
2546
|
className: className
|
|
2482
2547
|
}, children);
|
|
2483
2548
|
};
|
|
@@ -2501,11 +2566,13 @@ const StyledData = styled__default.default.div`
|
|
|
2501
2566
|
const CopyableLine$1 = properties => {
|
|
2502
2567
|
const {data: data, theme: theme, viewData: viewData, copyMessage: copyMessage, copyMessageTime: copyMessageTime, style: style, className: className} = properties;
|
|
2503
2568
|
const viewDataText = viewData || data;
|
|
2504
|
-
const copyMessageText = copyMessage
|
|
2569
|
+
const copyMessageText = copyMessage ?? "copied";
|
|
2505
2570
|
const copyMessageTimeValue = copyMessageTime || 2e3;
|
|
2506
2571
|
const [showCopyMessage, setShowCopyMessage] = pluridFunctionsReact.useFalseAfterTimedTrue(copyMessageTimeValue);
|
|
2507
2572
|
return React__default.default.createElement(StyledCopyableLine, {
|
|
2508
|
-
style:
|
|
2573
|
+
style: {
|
|
2574
|
+
...style
|
|
2575
|
+
},
|
|
2509
2576
|
className: className
|
|
2510
2577
|
}, React__default.default.createElement(pluridIconsReact.PluridIconCopy, {
|
|
2511
2578
|
atClick: () => {
|
|
@@ -2525,7 +2592,9 @@ const NewPageLink$1 = properties => {
|
|
|
2525
2592
|
href: link,
|
|
2526
2593
|
target: "_blank",
|
|
2527
2594
|
rel: "noopener noreferrer",
|
|
2528
|
-
style:
|
|
2595
|
+
style: {
|
|
2596
|
+
...style
|
|
2597
|
+
},
|
|
2529
2598
|
className: className
|
|
2530
2599
|
}, text);
|
|
2531
2600
|
};
|
|
@@ -2546,7 +2615,9 @@ const StyledScrollableLine = styled__default.default.div`
|
|
|
2546
2615
|
const ScrollableLine$1 = properties => {
|
|
2547
2616
|
const {text: text, style: style, className: className} = properties;
|
|
2548
2617
|
return React__default.default.createElement(StyledScrollableLine, {
|
|
2549
|
-
style:
|
|
2618
|
+
style: {
|
|
2619
|
+
...style
|
|
2620
|
+
},
|
|
2550
2621
|
className: className
|
|
2551
2622
|
}, text);
|
|
2552
2623
|
};
|
|
@@ -2819,8 +2890,8 @@ const RenderArea = properties => {
|
|
|
2819
2890
|
|
|
2820
2891
|
const DashboardsRenderer$1 = properties => {
|
|
2821
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;
|
|
2822
|
-
const [compactSelectors, setCompactSelectors] = React.useState(compactSelectorsProperty
|
|
2823
|
-
const [fullRenderArea, setFullRenderArea] = React.useState(fullRenderAreaProperty
|
|
2893
|
+
const [compactSelectors, setCompactSelectors] = React.useState(compactSelectorsProperty ?? false);
|
|
2894
|
+
const [fullRenderArea, setFullRenderArea] = React.useState(fullRenderAreaProperty ?? false);
|
|
2824
2895
|
const [selectedDashboard, setSelectedDashboard] = React.useState(activeDashboard || "");
|
|
2825
2896
|
const [renderView, setRenderView] = React.useState(activeRender || "");
|
|
2826
2897
|
React.useEffect((() => {
|
|
@@ -2999,7 +3070,7 @@ const {buttons: {PureButton: PluridPureButton}, inputs: {Textline: PluridTextlin
|
|
|
2999
3070
|
const EntityView$1 = React.forwardRef(((properties, reference) => {
|
|
3000
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;
|
|
3001
3072
|
const placeholder = placeholderText || "search";
|
|
3002
|
-
const scrollThrottleTime = scrollThrottleTimeProperty
|
|
3073
|
+
const scrollThrottleTime = scrollThrottleTimeProperty ?? 1e3;
|
|
3003
3074
|
const bottomTimeout = React.useRef();
|
|
3004
3075
|
const entityList = React.useRef(null);
|
|
3005
3076
|
const [searchTerms, setSearchTerms] = React.useState(createSearchTerms(entities, searchFields));
|
|
@@ -3138,27 +3209,26 @@ const containers = {
|
|
|
3138
3209
|
};
|
|
3139
3210
|
|
|
3140
3211
|
const Head$1 = properties => {
|
|
3141
|
-
var _a, _b, _c, _d;
|
|
3142
3212
|
const {Helmet: Helmet, defaults: defaults, children: children, stateHead: stateHead} = properties;
|
|
3143
|
-
const robots =
|
|
3144
|
-
const viewport =
|
|
3145
|
-
const faviconIcon =
|
|
3146
|
-
const favicon16 =
|
|
3147
|
-
const favicon32 =
|
|
3148
|
-
const manifest =
|
|
3149
|
-
const themeColor =
|
|
3150
|
-
const titleValue = stateHead.title ||
|
|
3151
|
-
const descriptionValue = stateHead.description ||
|
|
3152
|
-
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 || "";
|
|
3153
3223
|
const ogTitleValue = stateHead.ogTitle || titleValue;
|
|
3154
3224
|
const ogDescriptionValue = stateHead.ogDescription || titleValue;
|
|
3155
|
-
const ogImageValue = stateHead.ogImage ||
|
|
3156
|
-
const ogURLValue = stateHead.ogURL ||
|
|
3157
|
-
const apiDomain =
|
|
3158
|
-
const ogImageWidth =
|
|
3159
|
-
const ogImageHeight =
|
|
3160
|
-
const ogSiteName =
|
|
3161
|
-
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 || "";
|
|
3162
3232
|
const {styles: styles, scripts: scripts} = stateHead;
|
|
3163
3233
|
return React__default.default.createElement(Helmet, null, React__default.default.createElement("meta", {
|
|
3164
3234
|
charSet: "utf-8"
|
|
@@ -3255,11 +3325,11 @@ const Head$1 = properties => {
|
|
|
3255
3325
|
rel: "apple-touch-icon",
|
|
3256
3326
|
sizes: "180x180",
|
|
3257
3327
|
href: appleTouchIcon
|
|
3258
|
-
}), children, styles
|
|
3328
|
+
}), children, styles?.map((style => React__default.default.createElement("link", {
|
|
3259
3329
|
rel: "stylesheet",
|
|
3260
3330
|
key: "head-style" + style,
|
|
3261
3331
|
href: style
|
|
3262
|
-
}))), scripts
|
|
3332
|
+
}))), scripts?.map((script => React__default.default.createElement("script", {
|
|
3263
3333
|
key: "head-script" + script,
|
|
3264
3334
|
src: script
|
|
3265
3335
|
}))));
|
|
@@ -3352,21 +3422,27 @@ const Notification$1 = properties => {
|
|
|
3352
3422
|
wordBreak: resolvedWordBreak
|
|
3353
3423
|
};
|
|
3354
3424
|
if (html) {
|
|
3355
|
-
return React__default.default.createElement(StyledNotificationContent,
|
|
3356
|
-
dangerouslySetInnerHTML: pluridFunctionsReact.createMarkup(text)
|
|
3357
|
-
|
|
3425
|
+
return React__default.default.createElement(StyledNotificationContent, {
|
|
3426
|
+
dangerouslySetInnerHTML: pluridFunctionsReact.createMarkup(text),
|
|
3427
|
+
...contentProperties
|
|
3428
|
+
});
|
|
3358
3429
|
}
|
|
3359
3430
|
if (react && elements && elements[text]) {
|
|
3360
|
-
return React__default.default.createElement(StyledNotificationContent,
|
|
3431
|
+
return React__default.default.createElement(StyledNotificationContent, {
|
|
3432
|
+
...contentProperties
|
|
3433
|
+
}, elements[text]);
|
|
3361
3434
|
}
|
|
3362
|
-
return React__default.default.createElement(StyledNotificationContent,
|
|
3435
|
+
return React__default.default.createElement(StyledNotificationContent, {
|
|
3436
|
+
...contentProperties
|
|
3437
|
+
}, text);
|
|
3363
3438
|
};
|
|
3364
3439
|
const content = resolveRender();
|
|
3365
3440
|
return React__default.default.createElement(StyledNotification, {
|
|
3366
3441
|
theme: theme,
|
|
3367
|
-
style:
|
|
3442
|
+
style: {
|
|
3443
|
+
...style,
|
|
3368
3444
|
opacity: prepareForRemoval ? 0 : undefined
|
|
3369
|
-
}
|
|
3445
|
+
},
|
|
3370
3446
|
className: className
|
|
3371
3447
|
}, content, React__default.default.createElement(StyledNotificationClose, null, React__default.default.createElement(pluridIconsReact.PluridIconDelete, {
|
|
3372
3448
|
atClick: () => remove(id)
|
|
@@ -3895,7 +3971,9 @@ const HorizontalToolbarButton$1 = properties => {
|
|
|
3895
3971
|
scaleIcon: scaleIcon,
|
|
3896
3972
|
onClick: atClick,
|
|
3897
3973
|
theme: theme,
|
|
3898
|
-
style:
|
|
3974
|
+
style: {
|
|
3975
|
+
...style
|
|
3976
|
+
},
|
|
3899
3977
|
className: className
|
|
3900
3978
|
}, Icon && React__default.default.createElement(StyledHorizontalToolbarButtonIcon, {
|
|
3901
3979
|
text: text
|
|
@@ -3967,7 +4045,9 @@ const ToolbarControls$1 = properties => {
|
|
|
3967
4045
|
return React__default.default.createElement(StyledToolbarControls, {
|
|
3968
4046
|
position: position,
|
|
3969
4047
|
theme: theme,
|
|
3970
|
-
style:
|
|
4048
|
+
style: {
|
|
4049
|
+
...style
|
|
4050
|
+
},
|
|
3971
4051
|
className: className
|
|
3972
4052
|
}, React__default.default.createElement(StyledToolbarControlsButtons, {
|
|
3973
4053
|
theme: theme
|
|
@@ -4214,7 +4294,7 @@ const ToolbarGeneral$1 = properties => {
|
|
|
4214
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;
|
|
4215
4295
|
const {scaleIcons: scaleIcons, showNames: showNames} = stateToolbars;
|
|
4216
4296
|
const iconTextLeft = false;
|
|
4217
|
-
const sittingButton = sittingButtonProperty
|
|
4297
|
+
const sittingButton = sittingButtonProperty ?? true;
|
|
4218
4298
|
return React__default.default.createElement(ConnectedToolbarSpecific, {
|
|
4219
4299
|
buttons: buttons,
|
|
4220
4300
|
handleClick: handleClick,
|
|
@@ -4247,15 +4327,12 @@ const ToolbarGeneral$1 = properties => {
|
|
|
4247
4327
|
})));
|
|
4248
4328
|
};
|
|
4249
4329
|
|
|
4250
|
-
const mapStateToProperties = (state, ownProperties) => {
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
stateInteractionTheme: (_e = ownProperties.selectors.themes) === null || _e === void 0 ? void 0 : _e.getInteractionTheme(state)
|
|
4257
|
-
};
|
|
4258
|
-
};
|
|
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
|
+
});
|
|
4259
4336
|
|
|
4260
4337
|
const mapDispatchToProperties = dispatch => ({
|
|
4261
4338
|
dispatchToggleSittingTray: () => dispatch(pluridUiStateReact.sitting.actions.toggleSittingTray())
|
|
@@ -4279,7 +4356,20 @@ const pluridal = {
|
|
|
4279
4356
|
toolbars: toolbars
|
|
4280
4357
|
};
|
|
4281
4358
|
|
|
4282
|
-
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
|
+
};
|
|
4283
4373
|
|
|
4284
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;
|
|
4285
4375
|
|