@epam/uui 5.13.0 → 5.14.0-beta.0
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/assets/styles/index.scss +0 -4
- package/components/buttons/IconButton.d.ts.map +1 -1
- package/components/datePickers/Calendar.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/types.d.ts +1 -0
- package/components/datePickers/types.d.ts.map +1 -1
- package/components/filters/FilterNumericBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +4 -1
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/index.esm.js +127 -124
- package/index.esm.js.map +1 -1
- package/index.js +127 -124
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts.map +1 -1
- package/settings.types.d.ts +3 -0
- package/settings.types.d.ts.map +1 -1
- package/stats.html +19 -1
- package/styles.css +2569 -2611
- package/styles.css.map +1 -1
- package/assets/styles/buttonLayout.scss +0 -70
- package/assets/styles/controlLayout.scss +0 -28
- package/assets/styles/icons.scss +0 -55
- package/assets/styles/text-size.scss +0 -42
package/index.esm.js
CHANGED
|
@@ -289,9 +289,12 @@ const settings = {
|
|
|
289
289
|
button: '36',
|
|
290
290
|
checkbox: '18',
|
|
291
291
|
countIndicator: '24',
|
|
292
|
+
flexRow: '36',
|
|
293
|
+
filtersPanel: '36',
|
|
292
294
|
linkButton: '36',
|
|
293
295
|
numericInput: '36',
|
|
294
296
|
radioInput: '18',
|
|
297
|
+
richTextView: '14',
|
|
295
298
|
switch: '18',
|
|
296
299
|
tabButton: '48',
|
|
297
300
|
tag: '36',
|
|
@@ -592,7 +595,7 @@ const settings = {
|
|
|
592
595
|
},
|
|
593
596
|
};
|
|
594
597
|
|
|
595
|
-
var css$1y = {"uui-typography":"
|
|
598
|
+
var css$1y = {"uui-typography":"tUctwJ","uuiTypography":"tUctwJ","hero-header":"cTL2fJ","heroHeader":"cTL2fJ","promo-header":"LO8-EZ","promoHeader":"LO8-EZ","uui-critical":"-w4LDR","uuiCritical":"-w4LDR","uui-info":"TNqXis","uuiInfo":"TNqXis","uui-success":"rQo9tf","uuiSuccess":"rQo9tf","uui-warning":"uKNzZz","uuiWarning":"uKNzZz","uui-highlight":"y7K1u6","uuiHighlight":"y7K1u6","uui-typography-size-12":"GiyFcQ","uuiTypographySize12":"GiyFcQ","uui-typography-size-14":"II-jZS","uuiTypographySize14":"II-jZS","uui-typography-size-16":"jQ5ytm","uuiTypographySize16":"jQ5ytm","root":"IV2eWV"};
|
|
596
599
|
|
|
597
600
|
function applyButtonMods(mods) {
|
|
598
601
|
return [
|
|
@@ -610,7 +613,7 @@ const Button = /* @__PURE__ */withMods(uuiComponents.Button, applyButtonMods, ()
|
|
|
610
613
|
};
|
|
611
614
|
});
|
|
612
615
|
|
|
613
|
-
var css$1x = {"root":"
|
|
616
|
+
var css$1x = {"root":"_7sDyWv"};
|
|
614
617
|
|
|
615
618
|
function applyIconButtonMods(props) {
|
|
616
619
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1x.root];
|
|
@@ -647,7 +650,7 @@ function getIconClass(props) {
|
|
|
647
650
|
return [classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon', classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon'];
|
|
648
651
|
}
|
|
649
652
|
|
|
650
|
-
var css$1w = {"uui-typography":"
|
|
653
|
+
var css$1w = {"uui-typography":"tWQ2XW","uuiTypography":"tWQ2XW","hero-header":"daZmQG","heroHeader":"daZmQG","promo-header":"r6cRrJ","promoHeader":"r6cRrJ","uui-critical":"Zcr56l","uuiCritical":"Zcr56l","uui-info":"U-B-iS","uuiInfo":"U-B-iS","uui-success":"OuXnNc","uuiSuccess":"OuXnNc","uui-warning":"BF0otH","uuiWarning":"BF0otH","uui-highlight":"A2D8-g","uuiHighlight":"A2D8-g","uui-typography-size-12":"zk87mz","uuiTypographySize12":"zk87mz","uui-typography-size-14":"aVvUE7","uuiTypographySize14":"aVvUE7","uui-typography-size-16":"UaD9Fu","uuiTypographySize16":"UaD9Fu","root":"e5jMrm"};
|
|
651
654
|
|
|
652
655
|
const DEFAULT_COLOR = 'primary';
|
|
653
656
|
const DEFAULT_WEIGHT = 'semibold';
|
|
@@ -678,7 +681,7 @@ const LinkButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
678
681
|
props.isDropdown && (React.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
679
682
|
});
|
|
680
683
|
|
|
681
|
-
var css$1v = {"root":"
|
|
684
|
+
var css$1v = {"root":"mCYJHo"};
|
|
682
685
|
|
|
683
686
|
const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
684
687
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
@@ -690,7 +693,7 @@ const CountIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
690
693
|
]) }, props.caption));
|
|
691
694
|
});
|
|
692
695
|
|
|
693
|
-
var css$1u = {"uui-typography":"
|
|
696
|
+
var css$1u = {"uui-typography":"_-3JXlV","uuiTypography":"_-3JXlV","hero-header":"MrT-Wr","heroHeader":"MrT-Wr","promo-header":"Wp2a1i","promoHeader":"Wp2a1i","uui-critical":"_4TqaXQ","uuiCritical":"_4TqaXQ","uui-info":"U9ZkXh","uuiInfo":"U9ZkXh","uui-success":"_55nren","uuiSuccess":"_55nren","uui-warning":"sGzfSU","uuiWarning":"sGzfSU","uui-highlight":"i4-k0b","uuiHighlight":"i4-k0b","uui-typography-size-12":"qYe00G","uuiTypographySize12":"qYe00G","uui-typography-size-14":"x6NO7V","uuiTypographySize14":"x6NO7V","uui-typography-size-16":"StTglx","uuiTypographySize16":"StTglx","root":"_6SbM7d","withNotify":"HXHo-O"};
|
|
694
697
|
|
|
695
698
|
const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
696
699
|
const styles = [
|
|
@@ -718,7 +721,7 @@ const TabButton = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
718
721
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
719
722
|
});
|
|
720
723
|
|
|
721
|
-
var css$1t = {"uui-typography":"
|
|
724
|
+
var css$1t = {"uui-typography":"ce2isP","uuiTypography":"ce2isP","hero-header":"CVwdCr","heroHeader":"CVwdCr","promo-header":"gzC82K","promoHeader":"gzC82K","uui-critical":"WyeC92","uuiCritical":"WyeC92","uui-info":"jz0GJ6","uuiInfo":"jz0GJ6","uui-success":"H6eyr4","uuiSuccess":"H6eyr4","uui-warning":"-FXLr7","uuiWarning":"-FXLr7","uui-highlight":"_9EFe88","uuiHighlight":"_9EFe88","uui-typography-size-12":"_4PzwRT","uuiTypographySize12":"_4PzwRT","uui-typography-size-14":"_8QdvLp","uuiTypographySize14":"_8QdvLp","uui-typography-size-16":"_5eGyZ-","uuiTypographySize16":"_5eGyZ-","root":"Ua5D9Z"};
|
|
722
725
|
|
|
723
726
|
function applyVerticalTabButtonMods() {
|
|
724
727
|
return [css$1t.root, 'uui-vertical-tab-button'];
|
|
@@ -740,7 +743,7 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
740
743
|
};
|
|
741
744
|
var ForwardRef$C = /*#__PURE__*/forwardRef(SvgContentMinusOutline);
|
|
742
745
|
|
|
743
|
-
var css$1s = {"uui-typography":"
|
|
746
|
+
var css$1s = {"uui-typography":"wCUA-b","uuiTypography":"wCUA-b","hero-header":"QPX1ff","heroHeader":"QPX1ff","promo-header":"YdBl6d","promoHeader":"YdBl6d","uui-critical":"tvg2Dt","uuiCritical":"tvg2Dt","uui-info":"aqPF1I","uuiInfo":"aqPF1I","uui-success":"_8GSxF0","uuiSuccess":"_8GSxF0","uui-warning":"IkcxGm","uuiWarning":"IkcxGm","uui-highlight":"lrvbyc","uuiHighlight":"lrvbyc","uui-typography-size-12":"l0mxLv","uuiTypographySize12":"l0mxLv","uui-typography-size-14":"_4af7LM","uuiTypographySize14":"_4af7LM","uui-typography-size-16":"MBBpea","uuiTypographySize16":"MBBpea","root":"OLQZKa","mode-cell":"_--YTW3","modeCell":"_--YTW3"};
|
|
744
747
|
|
|
745
748
|
function applyCheckboxMods(mods) {
|
|
746
749
|
return [
|
|
@@ -775,7 +778,7 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
775
778
|
};
|
|
776
779
|
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgRadioDotFill);
|
|
777
780
|
|
|
778
|
-
var css$1r = {"uui-typography":"
|
|
781
|
+
var css$1r = {"uui-typography":"cmVvea","uuiTypography":"cmVvea","hero-header":"YA7nvs","heroHeader":"YA7nvs","promo-header":"qo7djV","promoHeader":"qo7djV","uui-critical":"w6q5-o","uuiCritical":"w6q5-o","uui-info":"lUJq9J","uuiInfo":"lUJq9J","uui-success":"kkVF8x","uuiSuccess":"kkVF8x","uui-warning":"dVZE1a","uuiWarning":"dVZE1a","uui-highlight":"yjDzEP","uuiHighlight":"yjDzEP","uui-typography-size-12":"_7v8az8","uuiTypographySize12":"_7v8az8","uui-typography-size-14":"o70lW3","uuiTypographySize14":"o70lW3","uui-typography-size-16":"g-eOy5","uuiTypographySize16":"g-eOy5","root":"XriKlO"};
|
|
779
782
|
|
|
780
783
|
function applyRadioInputMods(mods) {
|
|
781
784
|
return [
|
|
@@ -787,7 +790,7 @@ function applyRadioInputMods(mods) {
|
|
|
787
790
|
}
|
|
788
791
|
const RadioInput = /* @__PURE__ */withMods(RadioInput$1, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$B }));
|
|
789
792
|
|
|
790
|
-
var css$1q = {"root":"
|
|
793
|
+
var css$1q = {"root":"Jrkppe"};
|
|
791
794
|
|
|
792
795
|
function applySwitchMods(mods) {
|
|
793
796
|
return [
|
|
@@ -811,7 +814,7 @@ var EditMode;
|
|
|
811
814
|
EditMode["INLINE"] = "inline";
|
|
812
815
|
})(EditMode || (EditMode = {}));
|
|
813
816
|
|
|
814
|
-
var textInputCss = {"uui-typography":"
|
|
817
|
+
var textInputCss = {"uui-typography":"wthKNO","uuiTypography":"wthKNO","hero-header":"J31VHB","heroHeader":"J31VHB","promo-header":"RKEmWu","promoHeader":"RKEmWu","uui-critical":"FRR60Z","uuiCritical":"FRR60Z","uui-info":"tiiJK0","uuiInfo":"tiiJK0","uui-success":"m818-B","uuiSuccess":"m818-B","uui-warning":"h-IvS9","uuiWarning":"h-IvS9","uui-highlight":"dBR7Aj","uuiHighlight":"dBR7Aj","uui-typography-size-12":"_8YoEGj","uuiTypographySize12":"_8YoEGj","uui-typography-size-14":"_3vvL-w","uuiTypographySize14":"_3vvL-w","uui-typography-size-16":"_3yp5ei","uuiTypographySize16":"_3yp5ei","root":"xixwK9","mode-form":"NLyDvh","modeForm":"NLyDvh","mode-inline":"HUthzq","modeInline":"HUthzq","mode-cell":"v-yVrQ","modeCell":"v-yVrQ"};
|
|
815
818
|
|
|
816
819
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
817
820
|
function applyTextInputMods(mods) {
|
|
@@ -836,7 +839,7 @@ const SearchInput = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
836
839
|
} }));
|
|
837
840
|
});
|
|
838
841
|
|
|
839
|
-
var css$1p = {"root":"
|
|
842
|
+
var css$1p = {"root":"IKYBq7"};
|
|
840
843
|
|
|
841
844
|
const ControlGroup = /* @__PURE__ */withMods(ControlGroup$1, () => [css$1p.root, 'uui-control-group']);
|
|
842
845
|
|
|
@@ -852,7 +855,7 @@ function MultiSwitchComponent(props, ref) {
|
|
|
852
855
|
}
|
|
853
856
|
const MultiSwitch = /* @__PURE__ */React.forwardRef(MultiSwitchComponent);
|
|
854
857
|
|
|
855
|
-
var css$1o = {"uui-typography":"
|
|
858
|
+
var css$1o = {"uui-typography":"EYdVcM","uuiTypography":"EYdVcM","hero-header":"i9EPXX","heroHeader":"i9EPXX","promo-header":"rF4V8D","promoHeader":"rF4V8D","uui-critical":"SzLXUQ","uuiCritical":"SzLXUQ","uui-info":"vwRWgy","uuiInfo":"vwRWgy","uui-success":"s-vpo-","uuiSuccess":"s-vpo-","uui-warning":"dSfDzU","uuiWarning":"dSfDzU","uui-highlight":"amaxbE","uuiHighlight":"amaxbE","uui-typography-size-12":"YioE4o","uuiTypographySize12":"YioE4o","uui-typography-size-14":"J--zE5","uuiTypographySize14":"J--zE5","uui-typography-size-16":"NtdZVK","uuiTypographySize16":"NtdZVK","root":"yLAWf2","mode-form":"NQfQvC","modeForm":"NQfQvC","mode-cell":"_-3fP2o","modeCell":"_-3fP2o"};
|
|
856
859
|
|
|
857
860
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
858
861
|
function applyNumericInputMods(mods) {
|
|
@@ -872,7 +875,7 @@ const NumericInput = /* @__PURE__ */withMods(NumericInput$1, applyNumericInputMo
|
|
|
872
875
|
};
|
|
873
876
|
});
|
|
874
877
|
|
|
875
|
-
var css$1n = {"uui-typography":"
|
|
878
|
+
var css$1n = {"uui-typography":"_0Nurk0","uuiTypography":"_0Nurk0","hero-header":"dJNJq8","heroHeader":"dJNJq8","promo-header":"eA2Os2","promoHeader":"eA2Os2","uui-critical":"zRxiVS","uuiCritical":"zRxiVS","uui-info":"sljwmE","uuiInfo":"sljwmE","uui-success":"t3CH85","uuiSuccess":"t3CH85","uui-warning":"zGEq3O","uuiWarning":"zGEq3O","uui-highlight":"EYLYIJ","uuiHighlight":"EYLYIJ","uui-typography-size-12":"xErTem","uuiTypographySize12":"xErTem","uui-typography-size-14":"_13MU48","uuiTypographySize14":"_13MU48","uui-typography-size-16":"_5vbkBd","uuiTypographySize16":"_5vbkBd","root":"boJAds","mode-form":"_4e2FXm","modeForm":"_4e2FXm","mode-cell":"Mqapnv","modeCell":"Mqapnv","mode-inline":"QrJOMJ","modeInline":"QrJOMJ"};
|
|
876
879
|
|
|
877
880
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
878
881
|
function applyTextAreaMods(mods) {
|
|
@@ -973,7 +976,7 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
973
976
|
};
|
|
974
977
|
var ForwardRef$x = /*#__PURE__*/forwardRef(SvgNotificationInfoFill);
|
|
975
978
|
|
|
976
|
-
var css$1m = {"uui-typography":"
|
|
979
|
+
var css$1m = {"uui-typography":"cmPQg4","uuiTypography":"cmPQg4","hero-header":"NIfXNJ","heroHeader":"NIfXNJ","promo-header":"bRlMBV","promoHeader":"bRlMBV","uui-critical":"cj39q-","uuiCritical":"cj39q-","uui-info":"geyslo","uuiInfo":"geyslo","uui-success":"qp2GZ5","uuiSuccess":"qp2GZ5","uui-warning":"mLYeIL","uuiWarning":"mLYeIL","uui-highlight":"bHU9WW","uuiHighlight":"bHU9WW","uui-typography-size-12":"RAZcML","uuiTypographySize12":"RAZcML","uui-typography-size-14":"CBIM6h","uuiTypographySize14":"CBIM6h","uui-typography-size-16":"Tu-lvE","uuiTypographySize16":"Tu-lvE","root":"ruFAfR","main-path":"lIID2H","mainPath":"lIID2H","content-wrapper":"q3CGKy","contentWrapper":"q3CGKy","content":"_-7cUjW","action-wrapper":"IDE-Dw","actionWrapper":"IDE-Dw","icon-wrapper":"CrMifU","iconWrapper":"CrMifU","icon":"_77RPlA","close-icon":"_9MY2Wm","closeIcon":"_9MY2Wm"};
|
|
977
980
|
|
|
978
981
|
const Alert = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("div", { role: "alert", ref: ref, className: cx('uui-alert', css$1m.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.sizes.defaults.alert}`), ...props.rawProps },
|
|
979
982
|
React.createElement("div", { className: css$1m.mainPath },
|
|
@@ -991,7 +994,7 @@ const ErrorAlert = /* @__PURE__ */React.forwardRef((props, ref) => React.createE
|
|
|
991
994
|
|
|
992
995
|
const Dropdown = /* @__PURE__ */withMods(Dropdown$1);
|
|
993
996
|
|
|
994
|
-
var css$1l = {"root":"
|
|
997
|
+
var css$1l = {"root":"SXH6oN"};
|
|
995
998
|
|
|
996
999
|
function applyDropdownContainerMods(mods) {
|
|
997
1000
|
return [
|
|
@@ -1002,7 +1005,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1002
1005
|
}
|
|
1003
1006
|
const DropdownContainer = /* @__PURE__ */withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
1004
1007
|
|
|
1005
|
-
var css$1k = {"uui-typography":"
|
|
1008
|
+
var css$1k = {"uui-typography":"_162X0A","uuiTypography":"_162X0A","hero-header":"_6BH9pI","heroHeader":"_6BH9pI","promo-header":"yMaQg7","promoHeader":"yMaQg7","uui-critical":"_6zKoeE","uuiCritical":"_6zKoeE","uui-info":"OiU6jA","uuiInfo":"OiU6jA","uui-success":"aXfrA0","uuiSuccess":"aXfrA0","uui-warning":"LoXIB2","uuiWarning":"LoXIB2","uui-highlight":"zIuuim","uuiHighlight":"zIuuim","uui-typography-size-12":"LyPtf3","uuiTypographySize12":"LyPtf3","uui-typography-size-14":"ZHg3nR","uuiTypographySize14":"ZHg3nR","uui-typography-size-16":"RNLKer","uuiTypographySize16":"RNLKer","submenu-root-item-rtl":"nzzwHr","submenuRootItemRtl":"nzzwHr","icon-after":"Qi-Vvu","iconAfter":"Qi-Vvu","submenu-root-item":"ug3XWG","submenuRootItem":"ug3XWG","icon-check":"GvDJ00","iconCheck":"GvDJ00","splitter-root":"Ph9tWu","splitterRoot":"Ph9tWu","splitter":"xChR08","header-root":"anC0Ot","headerRoot":"anC0Ot","item-root":"lP-ZSj","itemRoot":"lP-ZSj","icon":"Sa4d2T","link":"iQRZ5Y","indent":"Nr3hfk","selected-mark":"UeAkse","selectedMark":"UeAkse"};
|
|
1006
1009
|
|
|
1007
1010
|
var IDropdownControlKeys;
|
|
1008
1011
|
(function (IDropdownControlKeys) {
|
|
@@ -1132,7 +1135,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1132
1135
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1133
1136
|
}
|
|
1134
1137
|
|
|
1135
|
-
var css$1j = {"uui-typography":"
|
|
1138
|
+
var css$1j = {"uui-typography":"n5yA9t","uuiTypography":"n5yA9t","hero-header":"MdpQKN","heroHeader":"MdpQKN","promo-header":"kA58OQ","promoHeader":"kA58OQ","uui-critical":"_1d866O","uuiCritical":"_1d866O","uui-info":"VZJQUF","uuiInfo":"VZJQUF","uui-success":"Hb13r8","uuiSuccess":"Hb13r8","uui-warning":"w3JPgi","uuiWarning":"w3JPgi","uui-highlight":"FXvEgO","uuiHighlight":"FXvEgO","uui-typography-size-12":"KKaB2m","uuiTypographySize12":"KKaB2m","uui-typography-size-14":"qFstHG","uuiTypographySize14":"qFstHG","uui-typography-size-16":"D2dUkz","uuiTypographySize16":"D2dUkz","root":"A0HYox","mode-block":"M-afcX","modeBlock":"M-afcX","mode-inline":"-fcOZG","modeInline":"-fcOZG","padding-0":"_7HKRZD","padding0":"_7HKRZD","padding-6":"n6GRpq","padding6":"n6GRpq","padding-12":"_87aNpY","padding12":"_87aNpY","padding-18":"yPGx0s","padding18":"yPGx0s"};
|
|
1136
1139
|
|
|
1137
1140
|
function applyAccordionMods(mods) {
|
|
1138
1141
|
return [
|
|
@@ -1145,7 +1148,7 @@ const Accordion = /* @__PURE__ */withMods(uuiComponents.Accordion, applyAccordio
|
|
|
1145
1148
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
1146
1149
|
}));
|
|
1147
1150
|
|
|
1148
|
-
var css$1i = {"uui-typography":"
|
|
1151
|
+
var css$1i = {"uui-typography":"fT-GBn","uuiTypography":"fT-GBn","hero-header":"AVkeQd","heroHeader":"AVkeQd","promo-header":"Jq61oD","promoHeader":"Jq61oD","uui-critical":"bYEqEE","uuiCritical":"bYEqEE","uui-info":"_6Wi4nJ","uuiInfo":"_6Wi4nJ","uui-success":"P5agBK","uuiSuccess":"P5agBK","uui-warning":"Fk72Ig","uuiWarning":"Fk72Ig","uui-highlight":"GMsHmI","uuiHighlight":"GMsHmI","uui-typography-size-12":"pwikep","uuiTypographySize12":"pwikep","uui-typography-size-14":"tQkAbs","uuiTypographySize14":"tQkAbs","uui-typography-size-16":"SlcLdZ","uuiTypographySize16":"SlcLdZ","root":"FEPrly","border-top":"yOevjk","borderTop":"yOevjk","border-bottom":"PfEU8c","borderBottom":"PfEU8c","top-shadow":"NWPOaI","topShadow":"NWPOaI","padding-6":"aI7S86","padding6":"aI7S86","padding-12":"_4-mDDF","padding12":"_4-mDDF","padding-18":"bt3vBx","padding18":"bt3vBx","padding-24":"X7m5Rq","padding24":"X7m5Rq","margin-24":"_6neFyW","margin24":"_6neFyW","margin-12":"XXgM7j","margin12":"XXgM7j","vPadding-12":"tmjDWP","vPadding12":"tmjDWP","vPadding-18":"ce2Eow","vPadding18":"ce2Eow","vPadding-24":"_6AFg7A","vPadding24":"_6AFg7A","vPadding-36":"uy-AMg","vPadding36":"uy-AMg","vPadding-48":"RHxuNH","vPadding48":"RHxuNH","spacing-6":"GBLmkw","spacing6":"GBLmkw","spacing-12":"aq1TS-","spacing12":"aq1TS-","spacing-18":"ySWhuG","spacing18":"ySWhuG","uui-surface-main":"_4de8MO","uuiSurfaceMain":"_4de8MO"};
|
|
1149
1152
|
|
|
1150
1153
|
const FlexCell = /* @__PURE__ */withMods(FlexCell$1, () => [css$1i.flexCell]);
|
|
1151
1154
|
|
|
@@ -1157,7 +1160,7 @@ const FlexRow = /* @__PURE__ */withMods(FlexRow$1, (props) => {
|
|
|
1157
1160
|
}
|
|
1158
1161
|
return [
|
|
1159
1162
|
css$1i.root,
|
|
1160
|
-
props.size !== null && 'uui-size-' + (props.size ||
|
|
1163
|
+
props.size !== null && 'uui-size-' + (props.size || settings.sizes.defaults.flexRow),
|
|
1161
1164
|
props.padding && css$1i['padding-' + props.padding],
|
|
1162
1165
|
props.vPadding && css$1i['vPadding-' + props.vPadding],
|
|
1163
1166
|
props.margin && css$1i['margin-' + props.margin],
|
|
@@ -1169,7 +1172,7 @@ const FlexRow = /* @__PURE__ */withMods(FlexRow$1, (props) => {
|
|
|
1169
1172
|
];
|
|
1170
1173
|
});
|
|
1171
1174
|
|
|
1172
|
-
var css$1h = {"root":"
|
|
1175
|
+
var css$1h = {"root":"B-3w2c","margin-24":"_4a9ep6","margin24":"_4a9ep6","padding-12":"omyhhe","padding12":"omyhhe","padding-24":"CIPjZv","padding24":"CIPjZv","shadow":"gfufiW","uui-surface-main":"mgBIHP","uuiSurfaceMain":"mgBIHP"};
|
|
1173
1176
|
|
|
1174
1177
|
const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
1175
1178
|
'uui-panel',
|
|
@@ -1179,7 +1182,7 @@ const Panel = /* @__PURE__ */withMods(VPanel, (props) => [
|
|
|
1179
1182
|
props.background && css$1h[`uui-${props.background}`],
|
|
1180
1183
|
]);
|
|
1181
1184
|
|
|
1182
|
-
var css$1g = {"root":"
|
|
1185
|
+
var css$1g = {"root":"iC6Tt3"};
|
|
1183
1186
|
|
|
1184
1187
|
function applyTooltipMods(mods) {
|
|
1185
1188
|
return [
|
|
@@ -1189,7 +1192,7 @@ function applyTooltipMods(mods) {
|
|
|
1189
1192
|
}
|
|
1190
1193
|
const Tooltip = /* @__PURE__ */withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1191
1194
|
|
|
1192
|
-
var css$1f = {"uui-typography":"
|
|
1195
|
+
var css$1f = {"uui-typography":"sPPV8n","uuiTypography":"sPPV8n","hero-header":"_6h74yX","heroHeader":"_6h74yX","promo-header":"taNSO0","promoHeader":"taNSO0","uui-critical":"XZZXWN","uuiCritical":"XZZXWN","uui-info":"_5qBUon","uuiInfo":"_5qBUon","uui-success":"Br9B9e","uuiSuccess":"Br9B9e","uui-warning":"_1Vrxjx","uuiWarning":"_1Vrxjx","uui-highlight":"DjJyvZ","uuiHighlight":"DjJyvZ","uui-typography-size-12":"vE5ces","uuiTypographySize12":"vE5ces","uui-typography-size-14":"gWxB-U","uuiTypographySize14":"gWxB-U","uui-typography-size-16":"tQ5F6n","uuiTypographySize16":"tQ5F6n","root":"df5hpZ"};
|
|
1193
1196
|
|
|
1194
1197
|
function applyLabeledInputMods(mods) {
|
|
1195
1198
|
return [
|
|
@@ -1203,7 +1206,7 @@ const LabeledInput = /* @__PURE__ */withMods(uuiComponents.LabeledInput, applyLa
|
|
|
1203
1206
|
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$x : ForwardRef$M),
|
|
1204
1207
|
}));
|
|
1205
1208
|
|
|
1206
|
-
var css$1e = {"root":"
|
|
1209
|
+
var css$1e = {"root":"itSzgf"};
|
|
1207
1210
|
|
|
1208
1211
|
function RadioGroup(props) {
|
|
1209
1212
|
const direction = props.direction || 'vertical';
|
|
@@ -1218,7 +1221,7 @@ function RadioGroup(props) {
|
|
|
1218
1221
|
})));
|
|
1219
1222
|
}
|
|
1220
1223
|
|
|
1221
|
-
var css$1d = {"root":"
|
|
1224
|
+
var css$1d = {"root":"RjbYOv"};
|
|
1222
1225
|
|
|
1223
1226
|
function applyScrollBarsMods() {
|
|
1224
1227
|
return [
|
|
@@ -1227,13 +1230,13 @@ function applyScrollBarsMods() {
|
|
|
1227
1230
|
}
|
|
1228
1231
|
const ScrollBars = /* @__PURE__ */withMods(ScrollBars$1, applyScrollBarsMods);
|
|
1229
1232
|
|
|
1230
|
-
var css$1c = {"scroll-container":"
|
|
1233
|
+
var css$1c = {"scroll-container":"G7mjYz","scrollContainer":"G7mjYz","list-container":"_2z24Zd","listContainer":"_2z24Zd"};
|
|
1231
1234
|
|
|
1232
|
-
var css$1b = {"root":"-
|
|
1235
|
+
var css$1b = {"root":"uN-HYF"};
|
|
1233
1236
|
|
|
1234
1237
|
const AvatarStack = /* @__PURE__ */withMods(AvatarStack$1, () => [css$1b.root]);
|
|
1235
1238
|
|
|
1236
|
-
var css$1a = {"uui-typography":"
|
|
1239
|
+
var css$1a = {"uui-typography":"EVENqs","uuiTypography":"EVENqs","hero-header":"pHPk4y","heroHeader":"pHPk4y","promo-header":"_6tJMDs","promoHeader":"_6tJMDs","uui-critical":"fBxn5V","uuiCritical":"fBxn5V","uui-info":"mChL-m","uuiInfo":"mChL-m","uui-success":"O3KwWK","uuiSuccess":"O3KwWK","uui-warning":"i3NRoW","uuiWarning":"i3NRoW","uui-highlight":"_7tVzIj","uuiHighlight":"_7tVzIj","uui-typography-size-12":"_9mQrGe","uuiTypographySize12":"_9mQrGe","uui-typography-size-14":"xC0EM5","uuiTypographySize14":"xC0EM5","uui-typography-size-16":"gcyPkB","uuiTypographySize16":"gcyPkB","root":"SYMcoC"};
|
|
1237
1240
|
|
|
1238
1241
|
const DEFAULT_FILL = 'solid';
|
|
1239
1242
|
function applyBadgeMods(mods) {
|
|
@@ -1261,7 +1264,7 @@ const Badge = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1261
1264
|
props.isDropdown && (React__default.createElement(IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1262
1265
|
});
|
|
1263
1266
|
|
|
1264
|
-
var css$19 = {"uui-typography":"
|
|
1267
|
+
var css$19 = {"uui-typography":"gYfqxD","uuiTypography":"gYfqxD","hero-header":"y6iRjR","heroHeader":"y6iRjR","promo-header":"BNMjDg","promoHeader":"BNMjDg","uui-critical":"hXajY2","uuiCritical":"hXajY2","uui-info":"_3qJPH4","uuiInfo":"_3qJPH4","uui-success":"TG3BGT","uuiSuccess":"TG3BGT","uui-warning":"_3JcNh4","uuiWarning":"_3JcNh4","uui-highlight":"x7SO05","uuiHighlight":"x7SO05","uui-typography-size-12":"vcxUth","uuiTypographySize12":"vcxUth","uui-typography-size-14":"NfU9G9","uuiTypographySize14":"NfU9G9","uui-typography-size-16":"NgZcsk","uuiTypographySize16":"NgZcsk","root":"vPFSgo"};
|
|
1265
1268
|
|
|
1266
1269
|
function applyTagMods(props) {
|
|
1267
1270
|
return [
|
|
@@ -1289,7 +1292,7 @@ const Tag = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
|
1289
1292
|
props.onClear && !props.isDisabled && (React__default.createElement(IconContainer, { cx: uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1290
1293
|
});
|
|
1291
1294
|
|
|
1292
|
-
var css$18 = {"root":"
|
|
1295
|
+
var css$18 = {"root":"rajH5R","uui-spinner":"uM1Wux","uuiSpinner":"uM1Wux"};
|
|
1293
1296
|
|
|
1294
1297
|
function applySpinnerMods() {
|
|
1295
1298
|
return [css$18.root, 'uui-spinner'];
|
|
@@ -1326,7 +1329,7 @@ var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline
|
|
|
1326
1329
|
};
|
|
1327
1330
|
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgNavigationChevronRightOutline);
|
|
1328
1331
|
|
|
1329
|
-
var css$17 = {"root":"
|
|
1332
|
+
var css$17 = {"root":"dr0SQ8","page":"MOclja","spacer":"cmcmEj","mode-ghost":"bT2mlq","modeGhost":"bT2mlq"};
|
|
1330
1333
|
|
|
1331
1334
|
function Paginator(props) {
|
|
1332
1335
|
const renderPaginator = (params) => (React__default.createElement("nav", { role: "navigation", className: cx(css$17.root, 'uui-paginator', `uui-size-${props.size || settings.sizes.defaults.paginator}`), ...params.rawProps },
|
|
@@ -1343,14 +1346,14 @@ function Paginator(props) {
|
|
|
1343
1346
|
return React__default.createElement(Paginator$1, { ...props, render: renderPaginator });
|
|
1344
1347
|
}
|
|
1345
1348
|
|
|
1346
|
-
var css$16 = {"root":"
|
|
1349
|
+
var css$16 = {"root":"mFvIb2","progress-bar":"dlN6pR","progressBar":"dlN6pR","progressBar-indeterminate":"-BHHEM","progressBarIndeterminate":"-BHHEM","size-12":"K3PvmU","size12":"K3PvmU","size-18":"DLhWmQ","size18":"DLhWmQ","size-24":"dt8RKY","size24":"dt8RKY"};
|
|
1347
1350
|
|
|
1348
1351
|
const IndeterminateBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1349
1352
|
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$16.root, css$16[`size-${props.size || 12}`]) },
|
|
1350
1353
|
React.createElement("div", { className: cx(css$16.progressBar) })));
|
|
1351
1354
|
});
|
|
1352
1355
|
|
|
1353
|
-
var css$15 = {"root":"
|
|
1356
|
+
var css$15 = {"root":"wwjo7a","striped":"VkS77z","animate-stripes":"GIW6-0","animateStripes":"GIW6-0","size-12":"xqgihb","size12":"xqgihb","size-18":"_0-7fb4","size18":"_0-7fb4","size-24":"qN0pdN","size24":"qN0pdN"};
|
|
1354
1357
|
|
|
1355
1358
|
const DEFAULT_SIZE = '12';
|
|
1356
1359
|
function applyProgressBarMods(mods) {
|
|
@@ -1365,14 +1368,14 @@ const ProgressBar = /* @__PURE__ */withMods(uuiComponents.ProgressBar, applyProg
|
|
|
1365
1368
|
hideLabel: props.hideLabel || props.striped,
|
|
1366
1369
|
}));
|
|
1367
1370
|
|
|
1368
|
-
var css$14 = {"root":"
|
|
1371
|
+
var css$14 = {"root":"qwpb1W"};
|
|
1369
1372
|
|
|
1370
1373
|
const IndicatorBar = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1371
1374
|
const { progress } = props;
|
|
1372
1375
|
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$14.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$14.root, props.cx) }));
|
|
1373
1376
|
});
|
|
1374
1377
|
|
|
1375
|
-
var css$13 = {"root":"
|
|
1378
|
+
var css$13 = {"root":"Onmmj-"};
|
|
1376
1379
|
|
|
1377
1380
|
const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
1378
1381
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
@@ -1387,7 +1390,7 @@ const StatusIndicator = /* @__PURE__ */forwardRef((props, ref) => {
|
|
|
1387
1390
|
React__default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1388
1391
|
});
|
|
1389
1392
|
|
|
1390
|
-
var css$12 = {"drag-handle":"
|
|
1393
|
+
var css$12 = {"drag-handle":"BZ-LRe","dragHandle":"BZ-LRe","icon-container":"gi-qoj","iconContainer":"gi-qoj"};
|
|
1391
1394
|
|
|
1392
1395
|
function DataRowAddons(props) {
|
|
1393
1396
|
const row = props.rowProps;
|
|
@@ -1408,7 +1411,7 @@ function DataRowAddons(props) {
|
|
|
1408
1411
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.rowAddons.icon[props.size] || settings.sizes.rowAddons.defaults.icon }))))));
|
|
1409
1412
|
}
|
|
1410
1413
|
|
|
1411
|
-
var css$11 = {"root":"
|
|
1414
|
+
var css$11 = {"root":"Im49l1"};
|
|
1412
1415
|
|
|
1413
1416
|
const Blocker = /* @__PURE__ */withMods(Blocker$1, () => [css$11.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
1414
1417
|
|
|
@@ -1454,7 +1457,7 @@ const VirtualListView = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1454
1457
|
React.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1455
1458
|
});
|
|
1456
1459
|
|
|
1457
|
-
var css$10 = {"root":"
|
|
1460
|
+
var css$10 = {"root":"yNgaAX"};
|
|
1458
1461
|
|
|
1459
1462
|
function CheckboxGroup(props) {
|
|
1460
1463
|
const currentValue = props.value || [];
|
|
@@ -1476,7 +1479,7 @@ function CheckboxGroup(props) {
|
|
|
1476
1479
|
})));
|
|
1477
1480
|
}
|
|
1478
1481
|
|
|
1479
|
-
var css$$ = {"uui-typography":"
|
|
1482
|
+
var css$$ = {"uui-typography":"_9on-fn","uuiTypography":"_9on-fn","hero-header":"d7-U6t","heroHeader":"d7-U6t","promo-header":"lsICJa","promoHeader":"lsICJa","uui-critical":"_1lPjjU","uuiCritical":"_1lPjjU","uui-info":"px4qRH","uuiInfo":"px4qRH","uui-success":"xLDtl9","uuiSuccess":"xLDtl9","uui-warning":"XmYXKM","uuiWarning":"XmYXKM","uui-highlight":"UJBs-B","uuiHighlight":"UJBs-B","uui-typography-size-12":"EuHmhn","uuiTypographySize12":"EuHmhn","uui-typography-size-14":"UUAfJ3","uuiTypographySize14":"UUAfJ3","uui-typography-size-16":"t56r7o","uuiTypographySize16":"t56r7o","root":"jp0eod","modal-blocker":"_8-HnyI","modalBlocker":"_8-HnyI","animateModalBlocker":"Abhzk1","modal":"bjaEJF","modal-footer":"_-6cq9-","modalFooter":"_-6cq9-","modal-header":"njDEYP","modalHeader":"njDEYP"};
|
|
1480
1483
|
|
|
1481
1484
|
const ModalBlocker = /* @__PURE__ */withMods(ModalBlocker$1, () => [css$$.modalBlocker]);
|
|
1482
1485
|
const ModalWindow = /* @__PURE__ */withMods(ModalWindow$1, () => [css$$.root, css$$.modal], (props) => {
|
|
@@ -1685,7 +1688,7 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
1685
1688
|
};
|
|
1686
1689
|
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgNotificationHelpFill);
|
|
1687
1690
|
|
|
1688
|
-
var css$_ = {"uui-typography":"
|
|
1691
|
+
var css$_ = {"uui-typography":"Dqkhkr","uuiTypography":"Dqkhkr","hero-header":"QGCGm3","heroHeader":"QGCGm3","promo-header":"mer-Rw","promoHeader":"mer-Rw","uui-critical":"uggde3","uuiCritical":"uggde3","uui-info":"I9zwBX","uuiInfo":"I9zwBX","uui-success":"RXy1PB","uuiSuccess":"RXy1PB","uui-warning":"MeAWPh","uuiWarning":"MeAWPh","uui-highlight":"-chZbH","uuiHighlight":"-chZbH","uui-typography-size-12":"_0QvuVe","uuiTypographySize12":"_0QvuVe","uui-typography-size-14":"Qdb4Xk","uuiTypographySize14":"Qdb4Xk","uui-typography-size-16":"agfgvf","uuiTypographySize16":"agfgvf","root":"I3BScJ","icon-wrapper":"P0SOd5","iconWrapper":"P0SOd5","action-wrapper":"yBu8bN","actionWrapper":"yBu8bN","action-link":"_49jyWQ","actionLink":"_49jyWQ","close-icon":"_32Fvwt","closeIcon":"_32Fvwt","main-path":"DD8z01","mainPath":"DD8z01","content":"ODjgi3","close-wrapper":"irWDXj","closeWrapper":"irWDXj","notification-wrapper":"zdBfjl","notificationWrapper":"zdBfjl","clear-button":"kzfm2j","clearButton":"kzfm2j"};
|
|
1689
1692
|
|
|
1690
1693
|
const NotificationCard = /* @__PURE__ */React__default.forwardRef((props, ref) => {
|
|
1691
1694
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -1718,7 +1721,7 @@ function ClearNotification() {
|
|
|
1718
1721
|
React__default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
1719
1722
|
}
|
|
1720
1723
|
|
|
1721
|
-
var css$Z = {"footer":"
|
|
1724
|
+
var css$Z = {"footer":"-Q-ZLC"};
|
|
1722
1725
|
|
|
1723
1726
|
class ConfirmationModal extends React.Component {
|
|
1724
1727
|
render() {
|
|
@@ -1760,7 +1763,7 @@ function useReliableForceUpdate() {
|
|
|
1760
1763
|
return red[1];
|
|
1761
1764
|
}
|
|
1762
1765
|
|
|
1763
|
-
var css$Y = {"root":"
|
|
1766
|
+
var css$Y = {"root":"_3szEsv","timepicker-input":"LBzjRk","timepickerInput":"LBzjRk","ltr-always":"eAQOGw","ltrAlways":"eAQOGw"};
|
|
1764
1767
|
|
|
1765
1768
|
const uuiTimePicker = {
|
|
1766
1769
|
container: 'uui-timepicker-container',
|
|
@@ -1953,7 +1956,7 @@ function TimePicker(props) {
|
|
|
1953
1956
|
return (React__default.createElement(Dropdown, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, modifiers: [{ name: 'offset', options: { offset: [0, 6] } }], forwardedRef: props.forwardedRef }));
|
|
1954
1957
|
}
|
|
1955
1958
|
|
|
1956
|
-
var css$X = {"root":"
|
|
1959
|
+
var css$X = {"root":"djMT5y"};
|
|
1957
1960
|
|
|
1958
1961
|
function applyInputAddonMods() {
|
|
1959
1962
|
return [
|
|
@@ -1962,7 +1965,7 @@ function applyInputAddonMods() {
|
|
|
1962
1965
|
}
|
|
1963
1966
|
const InputAddon = /* @__PURE__ */withMods(InputAddon$1, applyInputAddonMods);
|
|
1964
1967
|
|
|
1965
|
-
var css$W = {"root":"
|
|
1968
|
+
var css$W = {"root":"cSyfch"};
|
|
1966
1969
|
|
|
1967
1970
|
function applySliderMods() {
|
|
1968
1971
|
return [css$W.root, 'uui-color-neutral'];
|
|
@@ -1985,7 +1988,7 @@ var SvgStarFilled = function SvgStarFilled(props, ref) {
|
|
|
1985
1988
|
};
|
|
1986
1989
|
var ForwardRef$t = /*#__PURE__*/forwardRef(SvgStarFilled);
|
|
1987
1990
|
|
|
1988
|
-
var css$V = {"root":"
|
|
1991
|
+
var css$V = {"root":"Rt13Sv","tooltip":"znXXdo"};
|
|
1989
1992
|
|
|
1990
1993
|
function applyRatingMods(mods) {
|
|
1991
1994
|
return [
|
|
@@ -2126,7 +2129,7 @@ const getNextYearsList = (currentDate) => {
|
|
|
2126
2129
|
return currentDate.add(16, 'year');
|
|
2127
2130
|
};
|
|
2128
2131
|
|
|
2129
|
-
var css$U = {"root":"
|
|
2132
|
+
var css$U = {"root":"VEhk-N","container":"xEknEz"};
|
|
2130
2133
|
|
|
2131
2134
|
const uuiHeader = {
|
|
2132
2135
|
container: 'uui-datepicker-header-container',
|
|
@@ -2210,14 +2213,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2210
2213
|
React.createElement(Button, { icon: navIconRight || ForwardRef$v, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2211
2214
|
}
|
|
2212
2215
|
|
|
2213
|
-
var css$T = {"uui-typography":"
|
|
2216
|
+
var css$T = {"uui-typography":"NpSgvj","uuiTypography":"NpSgvj","hero-header":"cjq7lP","heroHeader":"cjq7lP","promo-header":"NDiHNF","promoHeader":"NDiHNF","uui-critical":"v9TCWi","uuiCritical":"v9TCWi","uui-info":"MFLLBT","uuiInfo":"MFLLBT","uui-success":"nPD-oZ","uuiSuccess":"nPD-oZ","uui-warning":"_0tG9Ik","uuiWarning":"_0tG9Ik","uui-highlight":"nMFhfy","uuiHighlight":"nMFhfy","uui-typography-size-12":"-dUvKE","uuiTypographySize12":"-dUvKE","uui-typography-size-14":"k53jt-","uuiTypographySize14":"k53jt-","uui-typography-size-16":"Ld9rS2","uuiTypographySize16":"Ld9rS2","root":"k7R3Ci"};
|
|
2214
2217
|
|
|
2215
2218
|
function applyDateSelectionMods() {
|
|
2216
2219
|
return [css$T.root, `uui-size-${settings.sizes.defaults.datePicker}`];
|
|
2217
2220
|
}
|
|
2218
2221
|
const Calendar = /* @__PURE__ */withMods(Calendar$1, applyDateSelectionMods);
|
|
2219
2222
|
|
|
2220
|
-
var css$S = {"uui-typography":"
|
|
2223
|
+
var css$S = {"uui-typography":"ir9y-m","uuiTypography":"ir9y-m","hero-header":"-gDtGu","heroHeader":"-gDtGu","promo-header":"STp4Qk","promoHeader":"STp4Qk","uui-critical":"Qyw-ha","uuiCritical":"Qyw-ha","uui-info":"xh6ZpO","uuiInfo":"xh6ZpO","uui-success":"_3RdQT-","uuiSuccess":"_3RdQT-","uui-warning":"WwAlnM","uuiWarning":"WwAlnM","uui-highlight":"LjnyA2","uuiHighlight":"LjnyA2","uui-typography-size-12":"f0siQs","uuiTypographySize12":"f0siQs","uui-typography-size-14":"hrlYQn","uuiTypographySize14":"hrlYQn","uui-typography-size-16":"KWhhZq","uuiTypographySize16":"KWhhZq","root":"j7GPTU"};
|
|
2221
2224
|
|
|
2222
2225
|
const uuiDatePickerBody = {
|
|
2223
2226
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2278,7 +2281,7 @@ const modifiers$1 = [{
|
|
|
2278
2281
|
options: { offset: [0, 6] },
|
|
2279
2282
|
}];
|
|
2280
2283
|
function DatePickerComponent(props, ref) {
|
|
2281
|
-
const { format = defaultFormat, value } = props;
|
|
2284
|
+
const { format = defaultFormat, value, size = settings.sizes.defaults.datePicker } = props;
|
|
2282
2285
|
const context = useUuiContext();
|
|
2283
2286
|
const [inputValue, setInputValue] = useState(toCustomDateFormat(value, format));
|
|
2284
2287
|
const [isBodyOpen, setBodyIsOpen] = useState(false);
|
|
@@ -2318,7 +2321,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2318
2321
|
};
|
|
2319
2322
|
const renderInput = (renderProps) => {
|
|
2320
2323
|
const allowClear = !props.disableClear && !!inputValue;
|
|
2321
|
-
return (React__default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && uuiMod.focus), icon: props.mode !== EditMode.CELL && systemIcons.calendar ? systemIcons.calendar : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size:
|
|
2324
|
+
return (React__default.createElement(TextInput, { ...renderProps, isDropdown: false, cx: cx$1(props.inputCx, isBodyOpen && uuiMod.focus), icon: props.mode !== EditMode.CELL && systemIcons.calendar ? systemIcons.calendar : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: size, value: inputValue || undefined, onValueChange: (v) => {
|
|
2322
2325
|
setInputValue(v || '');
|
|
2323
2326
|
}, onCancel: allowClear ? () => {
|
|
2324
2327
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -2343,7 +2346,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2343
2346
|
}
|
|
2344
2347
|
const DatePicker = /* @__PURE__ */React__default.forwardRef(DatePickerComponent);
|
|
2345
2348
|
|
|
2346
|
-
var css$R = {"uui-typography":"
|
|
2349
|
+
var css$R = {"uui-typography":"_2dIsE1","uuiTypography":"_2dIsE1","hero-header":"lmv3QO","heroHeader":"lmv3QO","promo-header":"e22JsT","promoHeader":"e22JsT","uui-critical":"uS2Kbd","uuiCritical":"uS2Kbd","uui-info":"q7q1rp","uuiInfo":"q7q1rp","uui-success":"q2WH7u","uuiSuccess":"q2WH7u","uui-warning":"Xwj5Oo","uuiWarning":"Xwj5Oo","uui-highlight":"-UQCYl","uuiHighlight":"-UQCYl","uui-typography-size-12":"mFIU0C","uuiTypographySize12":"mFIU0C","uui-typography-size-14":"b4yFyV","uuiTypographySize14":"b4yFyV","uui-typography-size-16":"kxdvn-","uuiTypographySize16":"kxdvn-","date-input":"KXH3i3","dateInput":"KXH3i3","root":"khOT-o","separator":"ZEeLft","mode-form":"_8gF3Ao","modeForm":"_8gF3Ao","mode-cell":"Mseacd","modeCell":"Mseacd"};
|
|
2347
2350
|
|
|
2348
2351
|
const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, id, cx: classes, }, ref) => {
|
|
2349
2352
|
const [inputValue, setInputValue] = useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2394,7 +2397,7 @@ const RangeDatePickerInput = /* @__PURE__ */forwardRef(({ isDisabled, isInvalid,
|
|
|
2394
2397
|
} : undefined, onValueChange: (v) => onInputChange(v || '', 'to'), onFocus: (e) => handleFocus(e, 'to'), onBlur: (e) => handleBlur(e, 'to'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps?.to, onClick: onClick, onKeyDown: onInputKeyDown })));
|
|
2395
2398
|
});
|
|
2396
2399
|
|
|
2397
|
-
var css$Q = {"uui-typography":"
|
|
2400
|
+
var css$Q = {"uui-typography":"EN1fwE","uuiTypography":"EN1fwE","hero-header":"_4t0Jkc","heroHeader":"_4t0Jkc","promo-header":"VXnzkc","promoHeader":"VXnzkc","uui-critical":"S5S-fj","uuiCritical":"S5S-fj","uui-info":"_2Fgxkk","uuiInfo":"_2Fgxkk","uui-success":"cOUesv","uuiSuccess":"cOUesv","uui-warning":"xPkqL3","uuiWarning":"xPkqL3","uui-highlight":"_8vTOXd","uuiHighlight":"_8vTOXd","uui-typography-size-12":"_6KTN8r","uuiTypographySize12":"_6KTN8r","uui-typography-size-14":"uolYff","uuiTypographySize14":"uolYff","uui-typography-size-16":"a8G8QL","uuiTypographySize16":"a8G8QL","root":"ndpu2G"};
|
|
2398
2401
|
|
|
2399
2402
|
const uuiPresets = {
|
|
2400
2403
|
container: 'uui-presets-container',
|
|
@@ -2414,7 +2417,7 @@ function CalendarPresets(props) {
|
|
|
2414
2417
|
getPresets(props.presets).map((item) => (React.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: "24" })))));
|
|
2415
2418
|
}
|
|
2416
2419
|
|
|
2417
|
-
var css$P = {"uui-typography":"
|
|
2420
|
+
var css$P = {"uui-typography":"Dym6Ze","uuiTypography":"Dym6Ze","hero-header":"-INyDb","heroHeader":"-INyDb","promo-header":"_6qMPLp","promoHeader":"_6qMPLp","uui-critical":"mBrf4-","uuiCritical":"mBrf4-","uui-info":"vDwrDz","uuiInfo":"vDwrDz","uui-success":"V2LLub","uuiSuccess":"V2LLub","uui-warning":"_08msVb","uuiWarning":"_08msVb","uui-highlight":"T-trQg","uuiHighlight":"T-trQg","uui-typography-size-12":"A8tMYj","uuiTypographySize12":"A8tMYj","uui-typography-size-14":"FJNbOB","uuiTypographySize14":"FJNbOB","uui-typography-size-16":"S0Ctmn","uuiTypographySize16":"S0Ctmn","root":"fdQkP-","container":"_-2Vwmw","day-selection":"_88v1Uq","daySelection":"_88v1Uq","from-picker":"-n--mF","fromPicker":"-n--mF","to-picker":"Tujiti","toPicker":"Tujiti","bodes-wrapper":"ZD9Vov","bodesWrapper":"ZD9Vov","blocker":"lYOt1O"};
|
|
2418
2421
|
|
|
2419
2422
|
const uuiRangeDatePickerBody = {
|
|
2420
2423
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -2589,14 +2592,14 @@ const getDayCX = (day, selectedDate) => {
|
|
|
2589
2592
|
return [cx$1(inRange && uuiRangeDatePickerBody.inRange, isFirst && uuiRangeDatePickerBody.firstDayInRangeWrapper, !inRange && isFirst && uuiRangeDatePickerBody.lastDayInRangeWrapper, isLast && uuiRangeDatePickerBody.lastDayInRangeWrapper, !inRange && isLast && uuiRangeDatePickerBody.firstDayInRangeWrapper, (dayValue === fromValue || dayValue === toValue) && uuiDaySelection.selectedDay)];
|
|
2590
2593
|
};
|
|
2591
2594
|
|
|
2592
|
-
var css$O = {"dropdown-container":"
|
|
2595
|
+
var css$O = {"dropdown-container":"AiIfdy","dropdownContainer":"AiIfdy"};
|
|
2593
2596
|
|
|
2594
2597
|
const modifiers = [{
|
|
2595
2598
|
name: 'offset',
|
|
2596
2599
|
options: { offset: [0, 6] },
|
|
2597
2600
|
}];
|
|
2598
2601
|
function RangeDatePickerComponent(props, ref) {
|
|
2599
|
-
const { value: _value, format = defaultFormat } = props;
|
|
2602
|
+
const { value: _value, format = defaultFormat, size = settings.sizes.defaults.rangeDatePicker } = props;
|
|
2600
2603
|
const value = _value || defaultRangeValue; // also handles null in comparison to default value
|
|
2601
2604
|
const context = useUuiContext();
|
|
2602
2605
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -2649,7 +2652,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
2649
2652
|
}
|
|
2650
2653
|
};
|
|
2651
2654
|
return (React__default.createElement(Dropdown$1, { renderTarget: (renderProps) => {
|
|
2652
|
-
return props.renderTarget?.(renderProps) || (React__default.createElement(RangeDatePickerInput, { id: props.id, ref: (node) => { renderProps.ref(node); targetRef.current = node; }, cx: props.inputCx, onClick: () => renderProps.toggleDropdownOpening(true), isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadonly: props.isReadonly, size:
|
|
2655
|
+
return props.renderTarget?.(renderProps) || (React__default.createElement(RangeDatePickerInput, { id: props.id, ref: (node) => { renderProps.ref(node); targetRef.current = node; }, cx: props.inputCx, onClick: () => renderProps.toggleDropdownOpening(true), isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadonly: props.isReadonly, size: size, getPlaceholder: props.getPlaceholder, disableClear: props.disableClear, rawProps: props.rawProps, inFocus: inFocus, value: value, format: format, onValueChange: onValueChange, onFocusInput: (e, type) => {
|
|
2653
2656
|
props.onFocus?.(e, type);
|
|
2654
2657
|
setInFocus(type);
|
|
2655
2658
|
}, onBlurInput: (e, type) => { props.onBlur?.(e, type); !isOpen && setInFocus(null); }, onKeyDown: handleEscape }));
|
|
@@ -2657,7 +2660,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
2657
2660
|
}
|
|
2658
2661
|
const RangeDatePicker = /* @__PURE__ */React__default.forwardRef(RangeDatePickerComponent);
|
|
2659
2662
|
|
|
2660
|
-
var css$N = {"root":"
|
|
2663
|
+
var css$N = {"root":"PwiGHG","blocker":"c5rlfG","marker":"KUBECF","top":"TyWJIA","bottom":"xD3iGX","left":"ufJhIs","right":"ibl4lJ","inside":"ezKFDI"};
|
|
2661
2664
|
|
|
2662
2665
|
function DropMarker(props) {
|
|
2663
2666
|
return props.isDndInProgress
|
|
@@ -2672,7 +2675,7 @@ function DropMarker(props) {
|
|
|
2672
2675
|
: null;
|
|
2673
2676
|
}
|
|
2674
2677
|
|
|
2675
|
-
var css$M = {"root":"
|
|
2678
|
+
var css$M = {"root":"_9JPACt","line-height":"NRefg8","lineHeight":"NRefg8","font-size":"_7ONyrA","fontSize":"_7ONyrA"};
|
|
2676
2679
|
|
|
2677
2680
|
function applyTextMods(mods) {
|
|
2678
2681
|
return [
|
|
@@ -2699,7 +2702,7 @@ const Text = /* @__PURE__ */withMods(uuiComponents.Text, applyTextMods, (props)
|
|
|
2699
2702
|
};
|
|
2700
2703
|
});
|
|
2701
2704
|
|
|
2702
|
-
var css$L = {"root":"
|
|
2705
|
+
var css$L = {"root":"ZZG-1J","loading-word":"_8EFzJ-","loadingWord":"_8EFzJ-","animated-loading":"o-Gac-","animatedLoading":"o-Gac-","skeleton_loading":"HhDcWh","skeletonLoading":"HhDcWh"};
|
|
2703
2706
|
|
|
2704
2707
|
const TextPlaceholder = (props) => {
|
|
2705
2708
|
const pattern = ' ';
|
|
@@ -2716,9 +2719,9 @@ const TextPlaceholder = (props) => {
|
|
|
2716
2719
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
2717
2720
|
};
|
|
2718
2721
|
|
|
2719
|
-
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size ||
|
|
2722
|
+
const RichTextView = /* @__PURE__ */withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.sizes.defaults.richTextView}`]);
|
|
2720
2723
|
|
|
2721
|
-
var css$K = {"uui-typography":"
|
|
2724
|
+
var css$K = {"uui-typography":"ER8Zhi","uuiTypography":"ER8Zhi","hero-header":"xl-9a-","heroHeader":"xl-9a-","promo-header":"adHfmE","promoHeader":"adHfmE","uui-critical":"ZtAY4F","uuiCritical":"ZtAY4F","uui-info":"g7AY8o","uuiInfo":"g7AY8o","uui-success":"o-FHLn","uuiSuccess":"o-FHLn","uui-warning":"_3nwCez","uuiWarning":"_3nwCez","uui-highlight":"wOgTL7","uuiHighlight":"wOgTL7","uui-typography-size-12":"Ny7gMK","uuiTypographySize12":"Ny7gMK","uui-typography-size-14":"mTeoEX","uuiTypographySize14":"mTeoEX","uui-typography-size-16":"n2isPM","uuiTypographySize16":"n2isPM","modal":"iLeHay","search-wrapper":"EWGeP-","searchWrapper":"EWGeP-","no-data":"Rmqq2P","noData":"Rmqq2P","type-search-to-load-size-24":"CRWPVm","typeSearchToLoadSize24":"CRWPVm"};
|
|
2722
2725
|
|
|
2723
2726
|
class DataPickerBody extends PickerBodyBase {
|
|
2724
2727
|
constructor() {
|
|
@@ -2766,7 +2769,7 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
2766
2769
|
}
|
|
2767
2770
|
}
|
|
2768
2771
|
|
|
2769
|
-
var css$J = {"footer":"
|
|
2772
|
+
var css$J = {"footer":"tphwPU"};
|
|
2770
2773
|
|
|
2771
2774
|
function DataPickerFooterImpl(props) {
|
|
2772
2775
|
const { search, clearSelection, view, showSelected, selectionMode, isSearchTooShort, } = props;
|
|
@@ -2792,7 +2795,7 @@ function DataPickerFooterImpl(props) {
|
|
|
2792
2795
|
}
|
|
2793
2796
|
const DataPickerFooter = /* @__PURE__ */React__default.memo(DataPickerFooterImpl);
|
|
2794
2797
|
|
|
2795
|
-
var css$I = {"header":"
|
|
2798
|
+
var css$I = {"header":"_9aY1xg","title":"zn2pAb","close":"eKJ7sc"};
|
|
2796
2799
|
|
|
2797
2800
|
const DataPickerHeaderImpl = (props) => {
|
|
2798
2801
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -2817,7 +2820,7 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
2817
2820
|
};
|
|
2818
2821
|
var ForwardRef$s = /*#__PURE__*/forwardRef(SvgNotificationDoneFill);
|
|
2819
2822
|
|
|
2820
|
-
var css$H = {"uui-typography":"
|
|
2823
|
+
var css$H = {"uui-typography":"SYfJvn","uuiTypography":"SYfJvn","hero-header":"J7erFs","heroHeader":"J7erFs","promo-header":"jHbQFG","promoHeader":"jHbQFG","uui-critical":"lqroQ6","uuiCritical":"lqroQ6","uui-info":"K4fHB-","uuiInfo":"K4fHB-","uui-success":"S2svi1","uuiSuccess":"S2svi1","uui-warning":"_5AIsmY","uuiWarning":"_5AIsmY","uui-highlight":"zx6ThB","uuiHighlight":"zx6ThB","uui-typography-size-12":"v9MDn-","uuiTypographySize12":"v9MDn-","uui-typography-size-14":"cqQrLG","uuiTypographySize14":"cqQrLG","uui-typography-size-16":"-UBaCT","uuiTypographySize16":"-UBaCT","root":"rfe4cg","align-widgets-top":"Uz9lF2","alignWidgetsTop":"Uz9lF2","align-widgets-center":"ZtyB4w","alignWidgetsCenter":"ZtyB4w","icon-container":"vFhK6s","iconContainer":"vFhK6s","loading-cell":"c8j2Jq","loadingCell":"c8j2Jq","content-wrapper":"IbyHAC","contentWrapper":"IbyHAC","render-item":"_9Vjf14","renderItem":"_9Vjf14","icon-wrapper":"_1K-iqS","iconWrapper":"_1K-iqS","icon-default":"vRbnjE","iconDefault":"vRbnjE","selected-mark":"GNw2de","selectedMark":"GNw2de"};
|
|
2821
2824
|
|
|
2822
2825
|
function DataPickerCell(props) {
|
|
2823
2826
|
const ref = React.useRef();
|
|
@@ -2854,7 +2857,7 @@ function DataPickerCell(props) {
|
|
|
2854
2857
|
getWrappedContent()));
|
|
2855
2858
|
}
|
|
2856
2859
|
|
|
2857
|
-
var css$G = {"uui-typography":"
|
|
2860
|
+
var css$G = {"uui-typography":"vZqXfr","uuiTypography":"vZqXfr","hero-header":"zboiyS","heroHeader":"zboiyS","promo-header":"H5-ltq","promoHeader":"H5-ltq","uui-critical":"I0xszk","uuiCritical":"I0xszk","uui-info":"AFKCyw","uuiInfo":"AFKCyw","uui-success":"_2JM3An","uuiSuccess":"_2JM3An","uui-warning":"S18o3R","uuiWarning":"S18o3R","uui-highlight":"pK4cWO","uuiHighlight":"pK4cWO","uui-typography-size-12":"il5tdi","uuiTypographySize12":"il5tdi","uui-typography-size-14":"_0u6Yeg","uuiTypographySize14":"_0u6Yeg","uui-typography-size-16":"p-E2xc","uuiTypographySize16":"p-E2xc","picker-row":"w2BpTz","pickerRow":"w2BpTz"};
|
|
2858
2861
|
|
|
2859
2862
|
class DataPickerRow extends React.Component {
|
|
2860
2863
|
constructor() {
|
|
@@ -2868,7 +2871,7 @@ class DataPickerRow extends React.Component {
|
|
|
2868
2871
|
}
|
|
2869
2872
|
}
|
|
2870
2873
|
|
|
2871
|
-
var css$F = {"uui-typography":"
|
|
2874
|
+
var css$F = {"uui-typography":"uMXsHD","uuiTypography":"uMXsHD","hero-header":"MrgnNt","heroHeader":"MrgnNt","promo-header":"zjfNoQ","promoHeader":"zjfNoQ","uui-critical":"siqps6","uuiCritical":"siqps6","uui-info":"Y2ncy8","uuiInfo":"Y2ncy8","uui-success":"R-C6gb","uuiSuccess":"R-C6gb","uui-warning":"m4ITaU","uuiWarning":"m4ITaU","uui-highlight":"-hJZcZ","uuiHighlight":"-hJZcZ","uui-typography-size-12":"NajQ8A","uuiTypographySize12":"NajQ8A","uui-typography-size-14":"IM8HBo","uuiTypographySize14":"IM8HBo","uui-typography-size-16":"cCKqBj","uuiTypographySize16":"cCKqBj","done":"JNFRB-","container":"iyhHqT"};
|
|
2872
2875
|
|
|
2873
2876
|
const PickerBodyMobileView = (props) => {
|
|
2874
2877
|
const isMobileView = isMobile();
|
|
@@ -2902,7 +2905,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
2902
2905
|
};
|
|
2903
2906
|
var ForwardRef$r = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
2904
2907
|
|
|
2905
|
-
var css$E = {"uui-typography":"
|
|
2908
|
+
var css$E = {"uui-typography":"isvMwe","uuiTypography":"isvMwe","hero-header":"L7eGiE","heroHeader":"L7eGiE","promo-header":"uVUCNX","promoHeader":"uVUCNX","uui-critical":"bjrS-P","uuiCritical":"bjrS-P","uui-info":"UDdPyf","uuiInfo":"UDdPyf","uui-success":"_09s3wB","uuiSuccess":"_09s3wB","uui-warning":"rdkG4t","uuiWarning":"rdkG4t","uui-highlight":"oP7krb","uuiHighlight":"oP7krb","uui-typography-size-12":"jvJKso","uuiTypographySize12":"jvJKso","uui-typography-size-14":"DBIe25","uuiTypographySize14":"DBIe25","uui-typography-size-16":"sBZI8A","uuiTypographySize16":"sBZI8A","sub-header-wrapper":"IKJJJ3","subHeaderWrapper":"IKJJJ3","switch":"TtogGg","no-found-modal-container":"Z1icRO","noFoundModalContainer":"Z1icRO","no-found-modal-container-icon":"f3sQnC","noFoundModalContainerIcon":"f3sQnC","no-found-modal-container-text":"NMj7QS","noFoundModalContainerText":"NMj7QS"};
|
|
2906
2909
|
|
|
2907
2910
|
const mergeHighlightRanges = (ranges) => {
|
|
2908
2911
|
const mergedRanges = [];
|
|
@@ -2969,7 +2972,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
2969
2972
|
return getDecoratedText(str, ranges);
|
|
2970
2973
|
};
|
|
2971
2974
|
|
|
2972
|
-
var css$D = {"root":"
|
|
2975
|
+
var css$D = {"root":"RNLyrN","column-gap":"O0qnkO","columnGap":"O0qnkO","multiline":"Av3cL9","text":"hYf0YM"};
|
|
2973
2976
|
|
|
2974
2977
|
function PickerItem(props) {
|
|
2975
2978
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, cx, } = props;
|
|
@@ -3043,7 +3046,7 @@ function PickerModal(props) {
|
|
|
3043
3046
|
React__default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3044
3047
|
}
|
|
3045
3048
|
|
|
3046
|
-
var css$C = {"tooltip":"
|
|
3049
|
+
var css$C = {"tooltip":"DNCz11"};
|
|
3047
3050
|
|
|
3048
3051
|
const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3049
3052
|
const tagProps = {
|
|
@@ -3062,7 +3065,7 @@ const PickerTogglerTag = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3062
3065
|
}
|
|
3063
3066
|
});
|
|
3064
3067
|
|
|
3065
|
-
var css$B = {"uui-typography":"
|
|
3068
|
+
var css$B = {"uui-typography":"_42h2Cl","uuiTypography":"_42h2Cl","hero-header":"_64aNey","heroHeader":"_64aNey","promo-header":"XuDqNU","promoHeader":"XuDqNU","uui-critical":"NItTA8","uuiCritical":"NItTA8","uui-info":"-Fv-1I","uuiInfo":"-Fv-1I","uui-success":"e99wW5","uuiSuccess":"e99wW5","uui-warning":"AVbshY","uuiWarning":"AVbshY","uui-highlight":"AG8BNH","uuiHighlight":"AG8BNH","uui-typography-size-12":"m5J0Ro","uuiTypographySize12":"m5J0Ro","uui-typography-size-14":"hRDAS-","uuiTypographySize14":"hRDAS-","uui-typography-size-16":"ZxyJS-","uuiTypographySize16":"ZxyJS-","root":"H8efg9","mode-form":"rUg1dd","modeForm":"rUg1dd","mode-cell":"-J6OdZ","modeCell":"-J6OdZ","mode-inline":"oyqZ-o","modeInline":"oyqZ-o"};
|
|
3066
3069
|
|
|
3067
3070
|
const defaultMode = EditMode.FORM;
|
|
3068
3071
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3163,7 +3166,7 @@ function PickerInputComponent({ highlightSearchMatches = true, ...props }, ref)
|
|
|
3163
3166
|
}
|
|
3164
3167
|
const PickerInput = /* @__PURE__ */React__default.forwardRef(PickerInputComponent);
|
|
3165
3168
|
|
|
3166
|
-
var css$A = {"row":"
|
|
3169
|
+
var css$A = {"row":"_0ch7Lm"};
|
|
3167
3170
|
|
|
3168
3171
|
function PickerListItem(props) {
|
|
3169
3172
|
let label;
|
|
@@ -3183,7 +3186,7 @@ function PickerListItem(props) {
|
|
|
3183
3186
|
return (React__default.createElement("div", { role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1, ...(props.checkbox?.isVisible && { 'aria-checked': props.isChecked }), className: css$A.row }, component));
|
|
3184
3187
|
}
|
|
3185
3188
|
|
|
3186
|
-
var css$z = {"root":"
|
|
3189
|
+
var css$z = {"root":"S-tPA-"};
|
|
3187
3190
|
|
|
3188
3191
|
function PickerList(props) {
|
|
3189
3192
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = usePickerList(props);
|
|
@@ -3218,7 +3221,7 @@ function PickerList(props) {
|
|
|
3218
3221
|
}, selectedRows)));
|
|
3219
3222
|
}
|
|
3220
3223
|
|
|
3221
|
-
var css$y = {"uui-typography":"
|
|
3224
|
+
var css$y = {"uui-typography":"s6solM","uuiTypography":"s6solM","hero-header":"mTAiyx","heroHeader":"mTAiyx","promo-header":"Q09S-P","promoHeader":"Q09S-P","uui-critical":"l3q39s","uuiCritical":"l3q39s","uui-info":"UMz7q-","uuiInfo":"UMz7q-","uui-success":"fJ9Dap","uuiSuccess":"fJ9Dap","uui-warning":"OuUD-v","uuiWarning":"OuUD-v","uui-highlight":"oZG4mu","uuiHighlight":"oZG4mu","uui-typography-size-12":"pd8kfj","uuiTypographySize12":"pd8kfj","uui-typography-size-14":"OoaFrD","uuiTypographySize14":"OoaFrD","uui-typography-size-16":"bzyGcx","uuiTypographySize16":"bzyGcx","root":"JaRJ3D","wrapper":"FY1lEo","align-widgets-top":"_2AeFBQ","alignWidgetsTop":"_2AeFBQ","align-widgets-center":"SiIoCp","alignWidgetsCenter":"SiIoCp"};
|
|
3222
3225
|
|
|
3223
3226
|
function DataTableCell(initialProps) {
|
|
3224
3227
|
const props = { ...initialProps };
|
|
@@ -3267,7 +3270,7 @@ function DataTableCell(initialProps) {
|
|
|
3267
3270
|
return React.createElement(DataTableCell$1, { ...props });
|
|
3268
3271
|
}
|
|
3269
3272
|
|
|
3270
|
-
var css$x = {"uui-typography":"
|
|
3273
|
+
var css$x = {"uui-typography":"Pu-T3O","uuiTypography":"Pu-T3O","hero-header":"gGwt7p","heroHeader":"gGwt7p","promo-header":"pna5E4","promoHeader":"pna5E4","uui-critical":"OPuuNy","uuiCritical":"OPuuNy","uui-info":"FlymRa","uuiInfo":"FlymRa","uui-success":"Cil-ay","uuiSuccess":"Cil-ay","uui-warning":"z7GZOH","uuiWarning":"z7GZOH","uui-highlight":"daJafi","uuiHighlight":"daJafi","uui-typography-size-12":"HIwqge","uuiTypographySize12":"HIwqge","uui-typography-size-14":"a6Z7YP","uuiTypographySize14":"a6Z7YP","uui-typography-size-16":"mI3xDF","uuiTypographySize16":"mI3xDF","root":"_3BD1p4"};
|
|
3271
3274
|
|
|
3272
3275
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3273
3276
|
// As we need our mods to style the cell properly, we extract them from DataTableCellProps.rowProps, which is a hack, but it's reliable enough.
|
|
@@ -3283,7 +3286,7 @@ const DataTableRow = /* @__PURE__ */withMods(DataTableRow$1, ({ borderBottom = t
|
|
|
3283
3286
|
];
|
|
3284
3287
|
}, () => propsMods);
|
|
3285
3288
|
|
|
3286
|
-
var css$w = {"uui-typography":"
|
|
3289
|
+
var css$w = {"uui-typography":"DmLhcP","uuiTypography":"DmLhcP","hero-header":"YWazzx","heroHeader":"YWazzx","promo-header":"La3lYV","promoHeader":"La3lYV","uui-critical":"w9KSvU","uuiCritical":"w9KSvU","uui-info":"_7epXmk","uuiInfo":"_7epXmk","uui-success":"_3O77EF","uuiSuccess":"_3O77EF","uui-warning":"OoMflG","uuiWarning":"OoMflG","uui-highlight":"i9NbB4","uuiHighlight":"i9NbB4","uui-typography-size-12":"hztGPM","uuiTypographySize12":"hztGPM","uui-typography-size-14":"R219eO","uuiTypographySize14":"R219eO","uui-typography-size-16":"PrOPQN","uuiTypographySize16":"PrOPQN","sorting-panel-container":"_5ij3nT","sortingPanelContainer":"_5ij3nT"};
|
|
3287
3290
|
|
|
3288
3291
|
var _path$q;
|
|
3289
3292
|
function _extends$q() { return _extends$q = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$q.apply(null, arguments); }
|
|
@@ -3413,7 +3416,7 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
3413
3416
|
};
|
|
3414
3417
|
var ForwardRef$k = /*#__PURE__*/forwardRef(SvgNavigationExpandAllOutline);
|
|
3415
3418
|
|
|
3416
|
-
var css$v = {"uui-typography":"
|
|
3419
|
+
var css$v = {"uui-typography":"sAHxT5","uuiTypography":"sAHxT5","hero-header":"lTFoJ7","heroHeader":"lTFoJ7","promo-header":"zKkIxw","promoHeader":"zKkIxw","uui-critical":"SySUg-","uuiCritical":"SySUg-","uui-info":"IJKKM-","uuiInfo":"IJKKM-","uui-success":"hNpVAr","uuiSuccess":"hNpVAr","uui-warning":"oFuRrv","uuiWarning":"oFuRrv","uui-highlight":"yrVDVO","uuiHighlight":"yrVDVO","uui-typography-size-12":"XbxoTz","uuiTypographySize12":"XbxoTz","uui-typography-size-14":"AL-bM6","uuiTypographySize14":"AL-bM6","uui-typography-size-16":"J4SrME","uuiTypographySize16":"J4SrME","root":"VZDZe8","caption-wrapper":"bpVbV8","captionWrapper":"bpVbV8","sort-icon":"_5Qhvy7","sortIcon":"_5Qhvy7","dropdown-icon":"QJemGI","dropdownIcon":"QJemGI","infoIcon":"_43PRSl","resizable":"Z6CFNE","align-right":"ECkLg7","alignRight":"ECkLg7","align-center":"_3UYwbt","alignCenter":"_3UYwbt","caption":"AGalgT","truncate":"BULGNl","checkbox":"_42SjSL","icon":"_3PHdkV","fold-all-icon":"_8qWddr","foldAllIcon":"_8qWddr","cell-tooltip":"yWh64C","cellTooltip":"yWh64C","upper-case":"_9H5h9l","upperCase":"_9H5h9l","resizing-marker":"VcbYq7","resizingMarker":"VcbYq7","pinned-right":"UYeT-D","pinnedRight":"UYeT-D","draggable":"_6L1jIg","ghost":"QUwbmq","is-dragged-out":"rhAmvp","isDraggedOut":"rhAmvp","dnd-marker-left":"t19mwM","dndMarkerLeft":"t19mwM","dnd-marker-right":"NOae3H","dndMarkerRight":"NOae3H","cell-tooltip-wrapper":"ZKn21m","cellTooltipWrapper":"ZKn21m","cell-tooltip-text":"i1L4a-","cellTooltipText":"i1L4a-","tooltip-caption":"IzE07H","tooltipCaption":"IzE07H","tooltip-info":"U1Ff8V","tooltipInfo":"U1Ff8V"};
|
|
3417
3420
|
|
|
3418
3421
|
class DataTableHeaderCell extends React.Component {
|
|
3419
3422
|
constructor() {
|
|
@@ -3521,9 +3524,9 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
3521
3524
|
};
|
|
3522
3525
|
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgActionSettingsFill);
|
|
3523
3526
|
|
|
3524
|
-
var css$u = {"uui-typography":"
|
|
3527
|
+
var css$u = {"uui-typography":"ucEvdq","uuiTypography":"ucEvdq","hero-header":"_7RwtQp","heroHeader":"_7RwtQp","promo-header":"r-O1bQ","promoHeader":"r-O1bQ","uui-critical":"zE57q3","uuiCritical":"zE57q3","uui-info":"fUF-CB","uuiInfo":"fUF-CB","uui-success":"_4gxhkb","uuiSuccess":"_4gxhkb","uui-warning":"LE-3mT","uuiWarning":"LE-3mT","uui-highlight":"_7Vh-3S","uuiHighlight":"_7Vh-3S","uui-typography-size-12":"_2WpiQX","uuiTypographySize12":"_2WpiQX","uui-typography-size-14":"sxa1Ng","uuiTypographySize14":"sxa1Ng","uui-typography-size-16":"dTZXJy","uuiTypographySize16":"dTZXJy","root":"SuGeIY"};
|
|
3525
3528
|
|
|
3526
|
-
var css$t = {"uui-typography":"
|
|
3529
|
+
var css$t = {"uui-typography":"uMybJc","uuiTypography":"uMybJc","hero-header":"mAfRmx","heroHeader":"mAfRmx","promo-header":"_4lyzmR","promoHeader":"_4lyzmR","uui-critical":"YWHODo","uuiCritical":"YWHODo","uui-info":"ONQsWl","uuiInfo":"ONQsWl","uui-success":"KCdFQY","uuiSuccess":"KCdFQY","uui-warning":"_5rlE-P","uuiWarning":"_5rlE-P","uui-highlight":"_6x0RvJ","uuiHighlight":"_6x0RvJ","uui-typography-size-12":"O-EzJG","uuiTypographySize12":"O-EzJG","uui-typography-size-14":"rVPEox","uuiTypographySize14":"rVPEox","uui-typography-size-16":"_2kQNp9","uuiTypographySize16":"_2kQNp9","root":"_3i4i8O","caption-wrapper":"X4OmuP","captionWrapper":"X4OmuP","align-center":"TXNRQl","alignCenter":"TXNRQl","caption":"D0VteG","truncate":"Guq3Gh","group-cell-tooltip":"xKpUEi","groupCellTooltip":"xKpUEi","upper-case":"_-6WWiu","upperCase":"_-6WWiu","group-cell-tooltip-wrapper":"WDe8iN","groupCellTooltipWrapper":"WDe8iN","group-cell-tooltip-text":"nlQvX5","groupCellTooltipText":"nlQvX5","tooltip-caption":"gXlKJh","tooltipCaption":"gXlKJh","tooltip-info":"R0hjU-","tooltipInfo":"R0hjU-"};
|
|
3527
3530
|
|
|
3528
3531
|
class DataTableHeaderGroupCell extends React.Component {
|
|
3529
3532
|
constructor() {
|
|
@@ -3591,7 +3594,7 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
3591
3594
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
3592
3595
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
3593
3596
|
|
|
3594
|
-
var css$s = {"uui-typography":"
|
|
3597
|
+
var css$s = {"uui-typography":"GCC-CH","uuiTypography":"GCC-CH","hero-header":"_1755dr","heroHeader":"_1755dr","promo-header":"asNkUN","promoHeader":"asNkUN","uui-critical":"R-g0J5","uuiCritical":"R-g0J5","uui-info":"k1aqso","uuiInfo":"k1aqso","uui-success":"l59jYQ","uuiSuccess":"l59jYQ","uui-warning":"_4Jl0Sh","uuiWarning":"_4Jl0Sh","uui-highlight":"nUqgkT","uuiHighlight":"nUqgkT","uui-typography-size-12":"uk4l9m","uuiTypographySize12":"uk4l9m","uui-typography-size-14":"DOyKZP","uuiTypographySize14":"DOyKZP","uui-typography-size-16":"T6rwaz","uuiTypographySize16":"T6rwaz","root":"nqDXqj","title-wrapper":"_7H7VeU","titleWrapper":"_7H7VeU","title":"QNU7ph","text-wrapper":"IgucJ0","textWrapper":"IgucJ0","selection":"nAC40f","postfix":"uc-9gN","selected":"S8Z0pJ"};
|
|
3595
3598
|
|
|
3596
3599
|
const defaultSize = '36';
|
|
3597
3600
|
const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
@@ -3622,7 +3625,7 @@ const FilterPanelItemToggler = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3622
3625
|
role: 'button',
|
|
3623
3626
|
tabIndex: props.isDisabled ? -1 : 0,
|
|
3624
3627
|
onKeyDown: onKeyDownHandler,
|
|
3625
|
-
}, cx: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `size-${props.size || defaultSize}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
3628
|
+
}, cx: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$s.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `uui-size-${props.size || defaultSize}`, props.cx), onClick: togglerPickerOpened, ref: ref },
|
|
3626
3629
|
React.createElement(FlexRow$1, { cx: css$s.titleWrapper },
|
|
3627
3630
|
React.createElement(Text, { size: props.size, cx: css$s.title }, getTitle),
|
|
3628
3631
|
props.selection && (React.createElement("div", { className: css$s.textWrapper },
|
|
@@ -3763,7 +3766,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
3763
3766
|
React__default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
3764
3767
|
}
|
|
3765
3768
|
|
|
3766
|
-
var css$r = {"container":"
|
|
3769
|
+
var css$r = {"container":"_25RZ49"};
|
|
3767
3770
|
|
|
3768
3771
|
function FilterNumericBody(props) {
|
|
3769
3772
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -3815,15 +3818,15 @@ function FilterNumericBody(props) {
|
|
|
3815
3818
|
return (React__default.createElement("div", null,
|
|
3816
3819
|
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", spacing: "12", borderBottom: true, cx: css$r.container },
|
|
3817
3820
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
3818
|
-
React__default.createElement(NumericInput, { value: value?.from ?? null, onValueChange: rangeValueHandler('from'),
|
|
3821
|
+
React__default.createElement(NumericInput, { value: value?.from ?? null, onValueChange: rangeValueHandler('from'), placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
3819
3822
|
React__default.createElement(FlexCell, { width: "100%" },
|
|
3820
|
-
React__default.createElement(NumericInput, { value: value?.to ?? null, onValueChange: rangeValueHandler('to'),
|
|
3823
|
+
React__default.createElement(NumericInput, { value: value?.to ?? null, onValueChange: rangeValueHandler('to'), placeholder: "Max", formatOptions: { maximumFractionDigits: 2 }, isInvalid: isWrongRange(value?.from, value?.to) }))),
|
|
3821
3824
|
renderFooter()));
|
|
3822
3825
|
}
|
|
3823
3826
|
return (React__default.createElement("div", null,
|
|
3824
3827
|
React__default.createElement(FlexRow, { padding: "12", alignItems: "center", borderBottom: true, cx: css$r.container },
|
|
3825
3828
|
React__default.createElement(FlexCell, { width: 130 },
|
|
3826
|
-
React__default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange,
|
|
3829
|
+
React__default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
3827
3830
|
renderFooter()));
|
|
3828
3831
|
}
|
|
3829
3832
|
|
|
@@ -3859,7 +3862,7 @@ var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
|
3859
3862
|
};
|
|
3860
3863
|
var ForwardRef$i = /*#__PURE__*/forwardRef(SvgActionDeleteOutline);
|
|
3861
3864
|
|
|
3862
|
-
var css$q = {"uui-typography":"
|
|
3865
|
+
var css$q = {"uui-typography":"IB-fzA","uuiTypography":"IB-fzA","hero-header":"OhxPiU","heroHeader":"OhxPiU","promo-header":"MaZHxn","promoHeader":"MaZHxn","uui-critical":"-O2DSe","uuiCritical":"-O2DSe","uui-info":"rXWWp9","uuiInfo":"rXWWp9","uui-success":"oxBTLi","uuiSuccess":"oxBTLi","uui-warning":"Ihhf0I","uuiWarning":"Ihhf0I","uui-highlight":"Nk8UHx","uuiHighlight":"Nk8UHx","uui-typography-size-12":"YSU9ko","uuiTypographySize12":"YSU9ko","uui-typography-size-14":"GfBjaD","uuiTypographySize14":"GfBjaD","uui-typography-size-16":"yROH-D","uuiTypographySize16":"yROH-D","header":"N0Npag","removeButton":"_64ItKO","with-search":"rhaPaz","withSearch":"rhaPaz"};
|
|
3863
3866
|
|
|
3864
3867
|
function useView(props, value) {
|
|
3865
3868
|
const forceUpdate = useForceUpdate();
|
|
@@ -4091,7 +4094,7 @@ const normalizeFilterWithPredicates = (filter) => {
|
|
|
4091
4094
|
return result;
|
|
4092
4095
|
};
|
|
4093
4096
|
function FiltersToolbarImpl(props) {
|
|
4094
|
-
const { filters, tableState, setTableState } = props;
|
|
4097
|
+
const { filters, tableState, setTableState, size = settings.sizes.defaults.filtersPanel } = props;
|
|
4095
4098
|
const [newFilterId, setNewFilterId] = useState(null);
|
|
4096
4099
|
const pickerInputRef = useRef(null);
|
|
4097
4100
|
const dataSource = useArrayDataSource({
|
|
@@ -4151,7 +4154,7 @@ function FiltersToolbarImpl(props) {
|
|
|
4151
4154
|
return orderBy(selectedFilters, (f) => tableState.filtersConfig?.[f.field]?.order);
|
|
4152
4155
|
}, [filters, tableState.filtersConfig]);
|
|
4153
4156
|
const renderAddFilterToggler = useCallback((togglerProps) => {
|
|
4154
|
-
return (React__default.createElement(Button, { size:
|
|
4157
|
+
return (React__default.createElement(Button, { size: size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$h, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
4155
4158
|
}, []);
|
|
4156
4159
|
const getRowOptions = useCallback((item) => ({
|
|
4157
4160
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -4172,15 +4175,15 @@ function FiltersToolbarImpl(props) {
|
|
|
4172
4175
|
}, [newFilterId, sortedActiveFilters]);
|
|
4173
4176
|
return (React__default.createElement(React__default.Fragment, null,
|
|
4174
4177
|
sortedActiveFilters.map((f) => (React__default.createElement(FlexCell$1, { width: "auto", key: f.field },
|
|
4175
|
-
React__default.createElement(FiltersPanelItem, { ...f, value: tableState.filter?.[f.field], onValueChange: handleFilterChange, key: f.field, autoFocus: newFilterId === f.field, removeFilter: removeFilter, size:
|
|
4178
|
+
React__default.createElement(FiltersPanelItem, { ...f, value: tableState.filter?.[f.field], onValueChange: handleFilterChange, key: f.field, autoFocus: newFilterId === f.field, removeFilter: removeFilter, size: size })))),
|
|
4176
4179
|
!isAllFiltersAlwaysVisible && (React__default.createElement(PickerInput, { dataSource: dataSource, value: selectedFilters, onValueChange: onFiltersChange, selectionMode: "multi", valueType: "entity", renderRow: (props) => (React__default.createElement(DataPickerRow, { ...props, padding: "12", key: props.key, onCheck: (row) => {
|
|
4177
4180
|
props.onCheck && props.onCheck(row);
|
|
4178
4181
|
setNewFilterId(row.value.field);
|
|
4179
|
-
}, renderItem: (item, rowProps) => React__default.createElement(PickerItem, { ...rowProps, title: item.title }) })), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size:
|
|
4182
|
+
}, renderItem: (item, rowProps) => React__default.createElement(PickerItem, { ...rowProps, title: item.title }) })), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: size, bodyCx: UUI_FILTERS_PANEL_ADD_BUTTON_BODY, ref: pickerInputRef }))));
|
|
4180
4183
|
}
|
|
4181
4184
|
const FiltersPanel = /* @__PURE__ */React__default.memo(FiltersToolbarImpl);
|
|
4182
4185
|
|
|
4183
|
-
var css$p = {"divider":"
|
|
4186
|
+
var css$p = {"divider":"IB9uQ6","dropdownDeleteIcon":"sjoPAb","presetsWrapper":"Y2s9dY","addPresetContainer":"prg1dP","dropContainer":"_00Lm-i"};
|
|
4184
4187
|
|
|
4185
4188
|
var _path$g;
|
|
4186
4189
|
function _extends$g() { return _extends$g = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$g.apply(null, arguments); }
|
|
@@ -4293,7 +4296,7 @@ var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
|
4293
4296
|
};
|
|
4294
4297
|
var ForwardRef$a = /*#__PURE__*/forwardRef(SvgContentLinkOutline);
|
|
4295
4298
|
|
|
4296
|
-
var css$o = {"delete-button":"
|
|
4299
|
+
var css$o = {"delete-button":"MOAOVv","deleteButton":"MOAOVv","tab-button":"_0scPEQ","tabButton":"_0scPEQ","targetOpen":"RgSvRn"};
|
|
4297
4300
|
|
|
4298
4301
|
function PresetActionsDropdown(props) {
|
|
4299
4302
|
const { uuiNotifications } = useUuiContext();
|
|
@@ -4360,7 +4363,7 @@ function PresetActionsDropdown(props) {
|
|
|
4360
4363
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
4361
4364
|
}
|
|
4362
4365
|
|
|
4363
|
-
var css$n = {"preset-input-cell":"
|
|
4366
|
+
var css$n = {"preset-input-cell":"hyX6r4","presetInputCell":"hyX6r4","preset-input":"CkNgAr","presetInput":"CkNgAr"};
|
|
4364
4367
|
|
|
4365
4368
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
4366
4369
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -4392,7 +4395,7 @@ function PresetInput(props) {
|
|
|
4392
4395
|
React__default.createElement(TextInput, { cx: css$n.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
4393
4396
|
}
|
|
4394
4397
|
|
|
4395
|
-
var css$m = {"preset":"
|
|
4398
|
+
var css$m = {"preset":"O9VriR","activePreset":"tCADxD"};
|
|
4396
4399
|
|
|
4397
4400
|
function Preset(props) {
|
|
4398
4401
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -4447,7 +4450,7 @@ function PresetsPanel(props) {
|
|
|
4447
4450
|
return React__default.createElement(Preset, { key: preset.id, preset: preset, addPreset: setAddingPreset, ...presetApi });
|
|
4448
4451
|
};
|
|
4449
4452
|
const renderAddPresetButton = useCallback(() => {
|
|
4450
|
-
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$p.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { cx: UUI_PRESETS_PANEL_ADD_BUTTON,
|
|
4453
|
+
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$p.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { cx: UUI_PRESETS_PANEL_ADD_BUTTON, onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$h, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
4451
4454
|
}, [isAddingPreset]);
|
|
4452
4455
|
const onPresetDropdownSelect = (preset) => {
|
|
4453
4456
|
props.choosePreset(preset.preset);
|
|
@@ -4573,7 +4576,7 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
4573
4576
|
};
|
|
4574
4577
|
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgTableGroupColumnRightFill);
|
|
4575
4578
|
|
|
4576
|
-
var css$l = {"unpin-icon":"
|
|
4579
|
+
var css$l = {"unpin-icon":"mhmefR","unpinIcon":"mhmefR","pin-toggler-icon":"o9jTj-","pinTogglerIcon":"o9jTj-"};
|
|
4577
4580
|
|
|
4578
4581
|
function PinIconButton(props) {
|
|
4579
4582
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4632,7 +4635,7 @@ var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
|
4632
4635
|
};
|
|
4633
4636
|
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgActionDragIndicator18);
|
|
4634
4637
|
|
|
4635
|
-
var css$k = {"uui-typography":"
|
|
4638
|
+
var css$k = {"uui-typography":"ssJEaq","uuiTypography":"ssJEaq","hero-header":"damzAP","heroHeader":"damzAP","promo-header":"mjQkGB","promoHeader":"mjQkGB","uui-critical":"DMrvkK","uuiCritical":"DMrvkK","uui-info":"G1jZNN","uuiInfo":"G1jZNN","uui-success":"QSRri2","uuiSuccess":"QSRri2","uui-warning":"Ylp3vZ","uuiWarning":"Ylp3vZ","uui-highlight":"_91-pMf","uuiHighlight":"_91-pMf","uui-typography-size-12":"FnxHbw","uuiTypographySize12":"FnxHbw","uui-typography-size-14":"yBoe-U","uuiTypographySize14":"yBoe-U","uui-typography-size-16":"WMzK0m","uuiTypographySize16":"WMzK0m","row-wrapper":"l2Z9Bh","rowWrapper":"l2Z9Bh","pin-icon-button":"jpSx8F","pinIconButton":"jpSx8F","not-pinned":"P1CXah","notPinned":"P1CXah","checkbox":"CcpbVi","drag-handle":"T9HUJV","dragHandle":"T9HUJV","dnd-disabled":"_11XWex","dndDisabled":"_11XWex"};
|
|
4636
4639
|
|
|
4637
4640
|
const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
4638
4641
|
const { column } = props;
|
|
@@ -4655,7 +4658,7 @@ const ColumnRow = /* @__PURE__ */React.memo(function ColumnRow(props) {
|
|
|
4655
4658
|
return (React.createElement(DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4656
4659
|
});
|
|
4657
4660
|
|
|
4658
|
-
var css$j = {"uui-typography":"
|
|
4661
|
+
var css$j = {"uui-typography":"GEu1V1","uuiTypography":"GEu1V1","hero-header":"A9nh3D","heroHeader":"A9nh3D","promo-header":"tqGT1R","promoHeader":"tqGT1R","uui-critical":"LYClLr","uuiCritical":"LYClLr","uui-info":"DH1C7b","uuiInfo":"DH1C7b","uui-success":"ZagjzB","uuiSuccess":"ZagjzB","uui-warning":"H4Xweb","uuiWarning":"H4Xweb","uui-highlight":"v9p1bq","uuiHighlight":"v9p1bq","uui-typography-size-12":"nS6rS3","uuiTypographySize12":"nS6rS3","uui-typography-size-14":"_39H9-J","uuiTypographySize14":"_39H9-J","uui-typography-size-16":"EM9un2","uuiTypographySize16":"EM9un2","root":"QUdqbn","main-panel":"PR1D8-","mainPanel":"PR1D8-","group":"rgTBf1","group-title":"D29H7Q","groupTitle":"D29H7Q","group-items":"T2dUFH","groupItems":"T2dUFH","no-data":"Duvrwx","noData":"Duvrwx","no-data-title":"siuDXz","noDataTitle":"siuDXz","no-data-sub-title":"PEvzJT","noDataSubTitle":"PEvzJT","h-divider":"hysIKw","hDivider":"hysIKw","search-area":"LTY0pV","searchArea":"LTY0pV","subgroup-accordion":"vi8i4o","subgroupAccordion":"vi8i4o","subgroup":"uh44e7","subgroup-title":"hubj3U","subgroupTitle":"hubj3U"};
|
|
4659
4662
|
|
|
4660
4663
|
const renderGroupTitle = (title, amount) => (React.createElement(FlexRow, { cx: css$j.group },
|
|
4661
4664
|
React.createElement(Text, { size: "none", cx: css$j.groupTitle }, title),
|
|
@@ -4744,7 +4747,7 @@ function SubGroup(props) {
|
|
|
4744
4747
|
return null;
|
|
4745
4748
|
}
|
|
4746
4749
|
|
|
4747
|
-
var css$i = {"listContainer":"
|
|
4750
|
+
var css$i = {"listContainer":"ExUaPN","header":"C8hfV3","group":"P-3Dzo","stickyHeader":"QBOIO7"};
|
|
4748
4751
|
|
|
4749
4752
|
const getChildrenAndRest = (row, rows) => {
|
|
4750
4753
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4808,7 +4811,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4808
4811
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4809
4812
|
ref: ref
|
|
4810
4813
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
4811
|
-
clipPath: "url(#
|
|
4814
|
+
clipPath: "url(#p38yuc2knkgvhuwsz_a)"
|
|
4812
4815
|
}, _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
|
|
4813
4816
|
d: "M150.585 1.535C49.483-11.495 27.481 61.805 45.725 97.481c10.581 20.69-39.64 70.792 17.744 81.468 27.538 5.123 36-13.341 62.433-10.655 35.4 3.6 148.167-4.73 88.349-78.915-31.713-39.335 1.026-79.506-63.666-87.844Z",
|
|
4814
4817
|
fill: "#F5F6FA"
|
|
@@ -4829,7 +4832,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4829
4832
|
d: "M86.786 22.982c-2.55 0-4.965 2.07-4.965 4.552V120.6c0 2.484 2.4 4.572 4.965 4.572h88.101c2.582 0 4.986-2.089 4.986-4.572V27.534c0-2.464-2.418-4.552-4.986-4.552h-88.1Zm-5.793 4.552c0-3.022 2.874-5.38 5.793-5.38h88.101c2.935 0 5.814 2.374 5.814 5.38V120.6c0 3.021-2.86 5.4-5.814 5.4h-88.1c-2.94 0-5.794-2.381-5.794-5.4V27.534Z",
|
|
4830
4833
|
fill: "#1D1E26"
|
|
4831
4834
|
})), /*#__PURE__*/React.createElement("mask", {
|
|
4832
|
-
id: "
|
|
4835
|
+
id: "p38yuc40c6yt1scxu_b",
|
|
4833
4836
|
style: {
|
|
4834
4837
|
maskType: "alpha"
|
|
4835
4838
|
},
|
|
@@ -4842,7 +4845,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4842
4845
|
d: "M174.887 125.586h-88.1c-2.752 0-5.38-2.234-5.38-4.986V27.534c0-2.752 2.644-4.966 5.38-4.966h88.1c2.752 0 5.4 2.23 5.4 4.966V120.6c0 2.752-2.632 4.986-5.4 4.986Z",
|
|
4843
4846
|
fill: "#9BDEFF"
|
|
4844
4847
|
}))), _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
4845
|
-
mask: "url(#
|
|
4848
|
+
mask: "url(#p38yuc40c6yt1scxu_b)",
|
|
4846
4849
|
fillRule: "evenodd",
|
|
4847
4850
|
clipRule: "evenodd"
|
|
4848
4851
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -4928,7 +4931,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4928
4931
|
d: "M24.73 96.184a.414.414 0 0 1 .581.06l48.646 59.751a.413.413 0 1 1-.642.523L24.67 96.766a.414.414 0 0 1 .06-.582Z",
|
|
4929
4932
|
fill: "#fff"
|
|
4930
4933
|
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
4931
|
-
id: "
|
|
4934
|
+
id: "p38yuc2knkgvhuwsz_a"
|
|
4932
4935
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4933
4936
|
fill: "#fff",
|
|
4934
4937
|
transform: "translate(.552)",
|
|
@@ -4937,7 +4940,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4937
4940
|
};
|
|
4938
4941
|
var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
4939
4942
|
|
|
4940
|
-
var css$h = {"root":"
|
|
4943
|
+
var css$h = {"root":"Bihrao","sticky-header":"ifRD6W","stickyHeader":"ifRD6W","no-results":"eKJ51o","noResults":"eKJ51o","icon":"PH7wrW","title":"rURFk-"};
|
|
4941
4944
|
|
|
4942
4945
|
function DataTable(props) {
|
|
4943
4946
|
const { uuiModals } = useUuiContext();
|
|
@@ -4986,9 +4989,9 @@ function DataTable(props) {
|
|
|
4986
4989
|
} }))));
|
|
4987
4990
|
}
|
|
4988
4991
|
|
|
4989
|
-
var css$g = {"root":"
|
|
4992
|
+
var css$g = {"root":"w5vZ8I"};
|
|
4990
4993
|
|
|
4991
|
-
var css$f = {"root":"
|
|
4994
|
+
var css$f = {"root":"NfX3U9","burger-content":"g-40KL","burgerContent":"g-40KL"};
|
|
4992
4995
|
|
|
4993
4996
|
var _path$3;
|
|
4994
4997
|
function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
|
|
@@ -5031,7 +5034,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5031
5034
|
};
|
|
5032
5035
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgNavigationArrowDownOutline);
|
|
5033
5036
|
|
|
5034
|
-
var css$e = {"uui-typography":"
|
|
5037
|
+
var css$e = {"uui-typography":"X0HryE","uuiTypography":"X0HryE","hero-header":"PKlsJk","heroHeader":"PKlsJk","promo-header":"_-5u8C9","promoHeader":"_-5u8C9","uui-critical":"r0aTfZ","uuiCritical":"r0aTfZ","uui-info":"_2PDH2X","uuiInfo":"_2PDH2X","uui-success":"YJiM2y","uuiSuccess":"YJiM2y","uui-warning":"TH2MlO","uuiWarning":"TH2MlO","uui-highlight":"g8jC3n","uuiHighlight":"g8jC3n","uui-typography-size-12":"YRAMDs","uuiTypographySize12":"YRAMDs","uui-typography-size-14":"qt5y-C","uuiTypographySize14":"qt5y-C","uui-typography-size-16":"_0GaS2Z","uuiTypographySize16":"_0GaS2Z","root":"kBLudu","button-primary":"Hf6f-9","buttonPrimary":"Hf6f-9","button-secondary":"MdFGuQ","buttonSecondary":"MdFGuQ","hasIcon":"_3nAfvF","dropdown":"_6KOjpa"};
|
|
5035
5038
|
|
|
5036
5039
|
const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
5037
5040
|
css$e.root,
|
|
@@ -5042,13 +5045,13 @@ const BurgerButton = /* @__PURE__ */withMods(Button$1, (props) => [
|
|
|
5042
5045
|
props.icon && css$e.hasIcon,
|
|
5043
5046
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5044
5047
|
|
|
5045
|
-
var css$d = {"search-input":"
|
|
5048
|
+
var css$d = {"search-input":"cWF1j-","searchInput":"cWF1j-"};
|
|
5046
5049
|
|
|
5047
5050
|
function BurgerSearch(props) {
|
|
5048
5051
|
return (React.createElement(TextInput$1, { cx: cx(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$O, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$R }));
|
|
5049
5052
|
}
|
|
5050
5053
|
|
|
5051
|
-
var css$c = {"root":"
|
|
5054
|
+
var css$c = {"root":"E144xv","group-header":"vf6-iS","groupHeader":"vf6-iS","group-name":"iCFIQJ","groupName":"iCFIQJ","line":"Pkeo96"};
|
|
5052
5055
|
|
|
5053
5056
|
function BurgerGroupHeader(props) {
|
|
5054
5057
|
return (React.createElement("div", { className: cx(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5056,7 +5059,7 @@ function BurgerGroupHeader(props) {
|
|
|
5056
5059
|
React.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5057
5060
|
}
|
|
5058
5061
|
|
|
5059
|
-
var css$b = {"uui-typography":"
|
|
5062
|
+
var css$b = {"uui-typography":"bbVhy-","uuiTypography":"bbVhy-","hero-header":"Kx64V6","heroHeader":"Kx64V6","promo-header":"hBxE-F","promoHeader":"hBxE-F","uui-critical":"qC0hPT","uuiCritical":"qC0hPT","uui-info":"se9oMB","uuiInfo":"se9oMB","uui-success":"BqETvH","uuiSuccess":"BqETvH","uui-warning":"zoRFo1","uuiWarning":"zoRFo1","uui-highlight":"Fig0KW","uuiHighlight":"Fig0KW","uui-typography-size-12":"soxXM8","uuiTypographySize12":"soxXM8","uui-typography-size-14":"_7B2Kwg","uuiTypographySize14":"_7B2Kwg","uui-typography-size-16":"_8jlwI2","uuiTypographySize16":"_8jlwI2","root":"p7c1gp","type-primary":"JSRaup","typePrimary":"JSRaup","type-secondary":"Uhgl-h","typeSecondary":"Uhgl-h"};
|
|
5060
5063
|
|
|
5061
5064
|
const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5062
5065
|
const { type, ...clickableProps } = props;
|
|
@@ -5078,7 +5081,7 @@ const MainMenuButton = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5078
5081
|
props.isDropdown && (React.createElement(IconContainer, { icon: ForwardRef$Q, flipY: props.isOpen }))));
|
|
5079
5082
|
});
|
|
5080
5083
|
|
|
5081
|
-
var css$a = {"dropdown-body":"
|
|
5084
|
+
var css$a = {"dropdown-body":"hedhIg","dropdownBody":"hedhIg"};
|
|
5082
5085
|
|
|
5083
5086
|
class MainMenuDropdown extends React.Component {
|
|
5084
5087
|
render() {
|
|
@@ -5136,12 +5139,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5136
5139
|
};
|
|
5137
5140
|
var ForwardRef$1 = /*#__PURE__*/forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5138
5141
|
|
|
5139
|
-
var css$9 = {"global-menu-btn":"
|
|
5142
|
+
var css$9 = {"global-menu-btn":"VfaFHx","globalMenuBtn":"VfaFHx","global-menu-icon":"GW1uUh","globalMenuIcon":"GW1uUh"};
|
|
5140
5143
|
|
|
5141
5144
|
const GlobalMenu = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, id: "global_menu_toggle", className: cx(css$9.globalMenuBtn, props.cx), ...props.rawProps },
|
|
5142
5145
|
React.createElement(IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5143
5146
|
|
|
5144
|
-
var css$8 = {"container":"
|
|
5147
|
+
var css$8 = {"container":"eis9jW","open":"efbjkM","folding-arrow":"pOE9mb","foldingArrow":"pOE9mb"};
|
|
5145
5148
|
|
|
5146
5149
|
const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiMarkers.clickable, props.cx), onClick: props.onClick, ...props.rawProps },
|
|
5147
5150
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5149,15 +5152,15 @@ const MainMenuAvatar = /* @__PURE__ */React.forwardRef((props, ref) => (React.cr
|
|
|
5149
5152
|
props.isDropdown && (React.createElement("div", null,
|
|
5150
5153
|
React.createElement(IconContainer, { size: 18, icon: ForwardRef$Q, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5151
5154
|
|
|
5152
|
-
var css$7 = {"search-input":"
|
|
5155
|
+
var css$7 = {"search-input":"_0Y64FD","searchInput":"_0Y64FD"};
|
|
5153
5156
|
|
|
5154
5157
|
const MainMenuSearch = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, { ...props, render: (iEditable) => (React.createElement(TextInput$1, { iconPosition: "left", icon: ForwardRef$O, cancelIcon: props.value?.length > 0 && ForwardRef$R, ...props, ...iEditable, ref: ref, cx: cx$1(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5155
5158
|
|
|
5156
|
-
var css$6 = {"container":"
|
|
5159
|
+
var css$6 = {"container":"_6wSesd"};
|
|
5157
5160
|
|
|
5158
5161
|
const MainMenuIcon = /* @__PURE__ */React.forwardRef((props, ref) => (React.createElement(IconButton, { ref: ref, icon: props.icon, cx: cx$1(props.cx, css$6.container), ...props })));
|
|
5159
5162
|
|
|
5160
|
-
var css$5 = {"root":"
|
|
5163
|
+
var css$5 = {"root":"CwoJyX"};
|
|
5161
5164
|
|
|
5162
5165
|
const Anchor = /* @__PURE__ */withMods(Anchor$1, () => [css$5.root]);
|
|
5163
5166
|
|
|
@@ -5175,7 +5178,7 @@ function Form(props) {
|
|
|
5175
5178
|
},
|
|
5176
5179
|
] },
|
|
5177
5180
|
React.createElement(RichTextView, null,
|
|
5178
|
-
React.createElement(Text,
|
|
5181
|
+
React.createElement(Text, null, i18n.form.notifications.unsavedChangesMessage)))), { duration: 5, position: 'bot-left' });
|
|
5179
5182
|
};
|
|
5180
5183
|
return React.createElement(Form$1, { loadUnsavedChanges: loadUnsavedChanges, beforeLeave: beforeLeave, ...props });
|
|
5181
5184
|
}
|
|
@@ -5193,7 +5196,7 @@ function useForm(props) {
|
|
|
5193
5196
|
},
|
|
5194
5197
|
] },
|
|
5195
5198
|
React__default.createElement(RichTextView, null,
|
|
5196
|
-
React__default.createElement(Text,
|
|
5199
|
+
React__default.createElement(Text, null, i18n.form.notifications.unsavedChangesMessage)))), { duration: 5, position: 'bot-left' });
|
|
5197
5200
|
};
|
|
5198
5201
|
return useForm$1({ beforeLeave, loadUnsavedChanges, ...props });
|
|
5199
5202
|
}
|
|
@@ -5215,7 +5218,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5215
5218
|
};
|
|
5216
5219
|
var ForwardRef = /*#__PURE__*/forwardRef(SvgFileCloudUploadFill);
|
|
5217
5220
|
|
|
5218
|
-
var css$4 = {"root":"
|
|
5221
|
+
var css$4 = {"root":"SKKPvY","drop-start":"Q7UnTJ","dropStart":"Q7UnTJ","drop-over":"Ftx8qE","dropOver":"Ftx8qE","link":"W9-33x","drop-area":"UVik71","dropArea":"UVik71","drop-caption":"_8il7XS","dropCaption":"_8il7XS","icon-blue":"pJiMKc","iconBlue":"pJiMKc"};
|
|
5219
5222
|
|
|
5220
5223
|
function DropSpot(props) {
|
|
5221
5224
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5233,9 +5236,9 @@ function DropSpot(props) {
|
|
|
5233
5236
|
return React.createElement(DropSpot$1, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5234
5237
|
}
|
|
5235
5238
|
|
|
5236
|
-
var css$3 = {"uui-typography":"
|
|
5239
|
+
var css$3 = {"uui-typography":"zSHQ3x","uuiTypography":"zSHQ3x","hero-header":"MbqTtK","heroHeader":"MbqTtK","promo-header":"OWAo0Q","promoHeader":"OWAo0Q","uui-critical":"orA8uP","uuiCritical":"orA8uP","uui-info":"BtLPCE","uuiInfo":"BtLPCE","uui-success":"d3ZiA6","uuiSuccess":"d3ZiA6","uui-warning":"-Pb7A-","uuiWarning":"-Pb7A-","uui-highlight":"iH5wJK","uuiHighlight":"iH5wJK","uui-typography-size-12":"vWXt9G","uuiTypographySize12":"vWXt9G","uui-typography-size-14":"euGKeZ","uuiTypographySize14":"euGKeZ","uui-typography-size-16":"_54Uw6D","uuiTypographySize16":"_54Uw6D","root":"_8RRzlT","file-name":"aNuzSh","fileName":"aNuzSh","default-color":"t8SbWq","defaultColor":"t8SbWq","doc-color":"bLomd-","docColor":"bLomd-","xls-color":"ygeMH5","xlsColor":"ygeMH5","pdf-color":"K7-m5s","pdfColor":"K7-m5s","movie-color":"_1JJW2e","movieColor":"_1JJW2e","img-color":"tPMixZ","imgColor":"tPMixZ","mov-color":"Onr51X","movColor":"Onr51X","error-block":"p5UOd1","errorBlock":"p5UOd1","icons-block":"_38iJKr","iconsBlock":"_38iJKr"};
|
|
5237
5240
|
|
|
5238
|
-
var css$2 = {"root":"
|
|
5241
|
+
var css$2 = {"root":"EXPWoJ"};
|
|
5239
5242
|
|
|
5240
5243
|
const SvgCircleProgress = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
5241
5244
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5311,7 +5314,7 @@ const FileCard = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
5311
5314
|
onClick();
|
|
5312
5315
|
};
|
|
5313
5316
|
return (React.createElement(FlexCell, { ref: ref, cx: cx$1(css$3.root, 'uui-file_card', (isLoading || error?.isError) && uuiMod.loading, componentCx, error?.isError && uuiMod.error), minWidth: width, width: !width ? '100%' : undefined },
|
|
5314
|
-
React.createElement(FlexRow, {
|
|
5317
|
+
React.createElement(FlexRow, { alignItems: "top", columnGap: "6" },
|
|
5315
5318
|
fileExtension && getIcon(fileExtension),
|
|
5316
5319
|
React.createElement(FlexCell, { width: "100%" },
|
|
5317
5320
|
React.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: (progress < 100 || error?.isError) ? 'tertiary' : 'primary', cx: css$3.fileName }, fileName),
|
|
@@ -5363,7 +5366,7 @@ const getErrorPageConfig = () => ({
|
|
|
5363
5366
|
},
|
|
5364
5367
|
});
|
|
5365
5368
|
|
|
5366
|
-
var css$1 = {"container":"
|
|
5369
|
+
var css$1 = {"container":"HBzMr5"};
|
|
5367
5370
|
|
|
5368
5371
|
const ErrorPage = (props) => {
|
|
5369
5372
|
const isMobileScreen = isMobile();
|
|
@@ -5375,7 +5378,7 @@ const ErrorPage = (props) => {
|
|
|
5375
5378
|
props?.supportLink && React__default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5376
5379
|
};
|
|
5377
5380
|
|
|
5378
|
-
var css = {"recovery-spinner":"
|
|
5381
|
+
var css = {"recovery-spinner":"AFB9og","recoverySpinner":"AFB9og","recovery-message":"DfV0Xw","recoveryMessage":"DfV0Xw","modal-blocker":"TQqe13","modalBlocker":"TQqe13","modalFadeIn":"JQJSmC"};
|
|
5379
5382
|
|
|
5380
5383
|
function ErrorHandler(props) {
|
|
5381
5384
|
const { uuiNotifications, uuiModals, uuiApi } = useUuiContext();
|
|
@@ -5391,7 +5394,7 @@ function ErrorHandler(props) {
|
|
|
5391
5394
|
}
|
|
5392
5395
|
else {
|
|
5393
5396
|
uuiNotifications.show((notificationProps) => (React__default.createElement(ErrorNotification, { ...notificationProps },
|
|
5394
|
-
React__default.createElement(Text,
|
|
5397
|
+
React__default.createElement(Text, null, c.responseData && c.responseData.errorMessage))));
|
|
5395
5398
|
}
|
|
5396
5399
|
c.dismissError();
|
|
5397
5400
|
});
|
|
@@ -5402,7 +5405,7 @@ function ErrorHandler(props) {
|
|
|
5402
5405
|
React__default.createElement(ModalWindow, null,
|
|
5403
5406
|
React__default.createElement(ModalHeader, { borderBottom: true, title: title }),
|
|
5404
5407
|
React__default.createElement(Spinner, { cx: css.recoverySpinner }),
|
|
5405
|
-
React__default.createElement(FlexRow, {
|
|
5408
|
+
React__default.createElement(FlexRow, { cx: css.recoveryMessage },
|
|
5406
5409
|
React__default.createElement(FlexCell, { grow: 1 },
|
|
5407
5410
|
React__default.createElement(RichTextView, null, subtitle),
|
|
5408
5411
|
isAuthLost && (React__default.createElement(Text, { color: "tertiary" },
|