@epam/uui 6.4.2 → 6.4.3
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/clickable.scss +26 -26
- package/assets/styles/dnd.scss +9 -9
- package/assets/styles/effects.scss +6 -6
- package/assets/styles/helpers.scss +3 -3
- package/assets/styles/index.scss +6 -6
- package/assets/styles/typography.scss +184 -184
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/filters/helpers/predicateHelpers.d.ts +11 -0
- package/components/filters/helpers/predicateHelpers.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
- package/components/layout/ScrollBars.d.ts +11 -1
- package/components/layout/ScrollBars.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/index.esm.js +153 -125
- package/index.esm.js.map +1 -1
- package/index.js +152 -124
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +9 -9
- package/stats.html +1 -1
- package/styles.css +1025 -1024
- package/styles.css.map +1 -1
package/index.js
CHANGED
|
@@ -190,7 +190,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
190
190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
191
191
|
ref: ref
|
|
192
192
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
193
|
-
clipPath: "url(#
|
|
193
|
+
clipPath: "url(#7rku2u20ng8n2e0u2_a)"
|
|
194
194
|
}, _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
195
195
|
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",
|
|
196
196
|
fill: "#F5F6FA"
|
|
@@ -211,7 +211,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
211
211
|
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",
|
|
212
212
|
fill: "#1D1E26"
|
|
213
213
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
214
|
-
id: "
|
|
214
|
+
id: "7rku2vt84p7bhihh_b",
|
|
215
215
|
style: {
|
|
216
216
|
maskType: "alpha"
|
|
217
217
|
},
|
|
@@ -224,7 +224,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
224
224
|
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",
|
|
225
225
|
fill: "#9BDEFF"
|
|
226
226
|
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
227
|
-
mask: "url(#
|
|
227
|
+
mask: "url(#7rku2vt84p7bhihh_b)",
|
|
228
228
|
fillRule: "evenodd",
|
|
229
229
|
clipRule: "evenodd"
|
|
230
230
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -310,7 +310,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
310
310
|
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",
|
|
311
311
|
fill: "#fff"
|
|
312
312
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
313
|
-
id: "
|
|
313
|
+
id: "7rku2u20ng8n2e0u2_a"
|
|
314
314
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
315
315
|
fill: "#fff",
|
|
316
316
|
transform: "translate(.552)",
|
|
@@ -961,14 +961,14 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
961
961
|
};
|
|
962
962
|
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
963
963
|
|
|
964
|
-
var css$1w = {"root":"
|
|
964
|
+
var css$1w = {"root":"_8hLwMO","uui-spinner":"R-jhSm","uuiSpinner":"R-jhSm"};
|
|
965
965
|
|
|
966
966
|
function applySpinnerMods() {
|
|
967
967
|
return [css$1w.root, 'uui-spinner'];
|
|
968
968
|
}
|
|
969
969
|
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
970
970
|
|
|
971
|
-
var css$1v = {"root":"
|
|
971
|
+
var css$1v = {"root":"DNQ--Z","loading-word":"bVoEv-","loadingWord":"bVoEv-","animated-loading":"aWmYTS","animatedLoading":"aWmYTS","skeleton_loading":"ta-y36","skeletonLoading":"ta-y36"};
|
|
972
972
|
|
|
973
973
|
const TextPlaceholder = (props) => {
|
|
974
974
|
const pattern = ' ';
|
|
@@ -985,7 +985,7 @@ const TextPlaceholder = (props) => {
|
|
|
985
985
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
986
986
|
};
|
|
987
987
|
|
|
988
|
-
var css$1u = {"root":"
|
|
988
|
+
var css$1u = {"root":"pMvf3g","line-height":"zEEf4D","lineHeight":"zEEf4D","font-size":"_4aEQ4J","fontSize":"_4aEQ4J"};
|
|
989
989
|
|
|
990
990
|
function applyTextMods(mods) {
|
|
991
991
|
return [
|
|
@@ -1012,7 +1012,7 @@ const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, appl
|
|
|
1012
1012
|
};
|
|
1013
1013
|
});
|
|
1014
1014
|
|
|
1015
|
-
var css$1t = {"root":"
|
|
1015
|
+
var css$1t = {"root":"MLcxSI"};
|
|
1016
1016
|
|
|
1017
1017
|
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$1t.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
|
|
1018
1018
|
|
|
@@ -1517,7 +1517,7 @@ const settings = {
|
|
|
1517
1517
|
textInput: textInputSettings,
|
|
1518
1518
|
};
|
|
1519
1519
|
|
|
1520
|
-
var css$1s = {"root":"
|
|
1520
|
+
var css$1s = {"root":"jTwM9i"};
|
|
1521
1521
|
|
|
1522
1522
|
function applyButtonMods(mods) {
|
|
1523
1523
|
return [
|
|
@@ -1535,7 +1535,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
|
|
|
1535
1535
|
};
|
|
1536
1536
|
});
|
|
1537
1537
|
|
|
1538
|
-
var css$1r = {"root":"
|
|
1538
|
+
var css$1r = {"root":"_4WdNiE"};
|
|
1539
1539
|
|
|
1540
1540
|
function applyIconButtonMods(props) {
|
|
1541
1541
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
|
|
@@ -1572,7 +1572,7 @@ function getIconClass(props) {
|
|
|
1572
1572
|
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'];
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
|
-
var css$1q = {"root":"
|
|
1575
|
+
var css$1q = {"root":"pYZg7j"};
|
|
1576
1576
|
|
|
1577
1577
|
const DEFAULT_COLOR = 'primary';
|
|
1578
1578
|
const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
@@ -1602,7 +1602,7 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
1602
1602
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1603
1603
|
});
|
|
1604
1604
|
|
|
1605
|
-
var css$1p = {"root":"
|
|
1605
|
+
var css$1p = {"root":"q-Vi6c"};
|
|
1606
1606
|
|
|
1607
1607
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1608
1608
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -1614,7 +1614,7 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1614
1614
|
]) }, props.caption));
|
|
1615
1615
|
});
|
|
1616
1616
|
|
|
1617
|
-
var css$1o = {"root":"
|
|
1617
|
+
var css$1o = {"root":"-lzGOU","withNotify":"ncK1Q2"};
|
|
1618
1618
|
|
|
1619
1619
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, refExternal) => {
|
|
1620
1620
|
const refLocal = React__namespace.default.useRef(null);
|
|
@@ -1661,13 +1661,13 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
1661
1661
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1662
1662
|
});
|
|
1663
1663
|
|
|
1664
|
-
var css$1n = {"root":"
|
|
1664
|
+
var css$1n = {"root":"NLF-70","noLeftPadding":"qDkIGp","foldingArea":"-ossLC","onlyFoldable":"_090PZs","captionWrapper":"dH6VQK","withNotify":"tWMvCW"};
|
|
1665
1665
|
|
|
1666
|
-
var css$1m = {"root":"
|
|
1666
|
+
var css$1m = {"root":"wcwKbc"};
|
|
1667
1667
|
|
|
1668
1668
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1m.root]);
|
|
1669
1669
|
|
|
1670
|
-
var css$1l = {"root":"
|
|
1670
|
+
var css$1l = {"root":"kL6Tbp"};
|
|
1671
1671
|
|
|
1672
1672
|
const DEFAULT_FILL = 'solid';
|
|
1673
1673
|
function applyBadgeMods(mods) {
|
|
@@ -1695,7 +1695,7 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
1695
1695
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1696
1696
|
});
|
|
1697
1697
|
|
|
1698
|
-
var css$1k = {"root":"
|
|
1698
|
+
var css$1k = {"root":"_8ejsbh"};
|
|
1699
1699
|
|
|
1700
1700
|
function applyTagMods(props) {
|
|
1701
1701
|
return [
|
|
@@ -1728,7 +1728,7 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
1728
1728
|
} }))));
|
|
1729
1729
|
});
|
|
1730
1730
|
|
|
1731
|
-
var css$1j = {"root":"
|
|
1731
|
+
var css$1j = {"root":"fHn-cg","page":"snUZHH","spacer":"Bm1PLu","mode-ghost":"Tk4CAT","modeGhost":"Tk4CAT"};
|
|
1732
1732
|
|
|
1733
1733
|
function Paginator(props) {
|
|
1734
1734
|
const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default('uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
|
|
@@ -1754,14 +1754,14 @@ function Paginator(props) {
|
|
|
1754
1754
|
return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
|
|
1755
1755
|
}
|
|
1756
1756
|
|
|
1757
|
-
var css$1i = {"root":"
|
|
1757
|
+
var css$1i = {"root":"yfsXOh","progress-bar":"C-iJFW","progressBar":"C-iJFW","progressBar-indeterminate":"F5x8oC","progressBarIndeterminate":"F5x8oC","size-12":"qIeaxr","size12":"qIeaxr","size-18":"Lu-gwD","size18":"Lu-gwD","size-24":"xCWhuo","size24":"xCWhuo"};
|
|
1758
1758
|
|
|
1759
1759
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1760
1760
|
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$1i.root, css$1i[`size-${props.size || 12}`]) },
|
|
1761
1761
|
React__namespace.createElement("div", { className: cx__default.default(css$1i.progressBar) })));
|
|
1762
1762
|
});
|
|
1763
1763
|
|
|
1764
|
-
var css$1h = {"root":"
|
|
1764
|
+
var css$1h = {"root":"CxCTzP","striped":"_3gNHFF","animate-stripes":"WVIgYO","animateStripes":"WVIgYO","size-12":"_7REGvN","size12":"_7REGvN","size-18":"fGh9tR","size18":"fGh9tR","size-24":"b3mqFI","size24":"b3mqFI"};
|
|
1765
1765
|
|
|
1766
1766
|
const DEFAULT_SIZE = '12';
|
|
1767
1767
|
function applyProgressBarMods(mods) {
|
|
@@ -1776,14 +1776,14 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
1776
1776
|
hideLabel: props.hideLabel || props.striped,
|
|
1777
1777
|
}));
|
|
1778
1778
|
|
|
1779
|
-
var css$1g = {"root":"
|
|
1779
|
+
var css$1g = {"root":"_83Ha80"};
|
|
1780
1780
|
|
|
1781
1781
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1782
1782
|
const { progress } = props;
|
|
1783
1783
|
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$1g.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$1g.root, props.cx) }));
|
|
1784
1784
|
});
|
|
1785
1785
|
|
|
1786
|
-
var css$1f = {"root":"
|
|
1786
|
+
var css$1f = {"root":"mmdPAb"};
|
|
1787
1787
|
|
|
1788
1788
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1789
1789
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -1798,7 +1798,7 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1798
1798
|
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1799
1799
|
});
|
|
1800
1800
|
|
|
1801
|
-
var css$1e = {"root":"
|
|
1801
|
+
var css$1e = {"root":"ulLCPc"};
|
|
1802
1802
|
|
|
1803
1803
|
function applyCheckboxMods(mods) {
|
|
1804
1804
|
return [
|
|
@@ -1816,7 +1816,7 @@ const applyUUICheckboxProps = (props) => {
|
|
|
1816
1816
|
};
|
|
1817
1817
|
const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1818
1818
|
|
|
1819
|
-
var css$1d = {"root":"
|
|
1819
|
+
var css$1d = {"root":"UEuGTj"};
|
|
1820
1820
|
|
|
1821
1821
|
function applyRadioInputMods(mods) {
|
|
1822
1822
|
return [
|
|
@@ -1828,7 +1828,7 @@ function applyRadioInputMods(mods) {
|
|
|
1828
1828
|
}
|
|
1829
1829
|
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
1830
1830
|
|
|
1831
|
-
var css$1c = {"root":"
|
|
1831
|
+
var css$1c = {"root":"HCSa-i"};
|
|
1832
1832
|
|
|
1833
1833
|
function applySwitchMods(mods) {
|
|
1834
1834
|
return [
|
|
@@ -1852,7 +1852,7 @@ var EditMode;
|
|
|
1852
1852
|
EditMode["INLINE"] = "inline";
|
|
1853
1853
|
})(EditMode || (EditMode = {}));
|
|
1854
1854
|
|
|
1855
|
-
var textInputCss = {"root":"
|
|
1855
|
+
var textInputCss = {"root":"bzFpyH"};
|
|
1856
1856
|
|
|
1857
1857
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1858
1858
|
function applyTextInputMods(mods) {
|
|
@@ -1877,7 +1877,7 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
1877
1877
|
} }));
|
|
1878
1878
|
});
|
|
1879
1879
|
|
|
1880
|
-
var css$1b = {"root":"
|
|
1880
|
+
var css$1b = {"root":"Lqndn2"};
|
|
1881
1881
|
|
|
1882
1882
|
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1b.root, 'uui-control-group']);
|
|
1883
1883
|
|
|
@@ -1893,7 +1893,7 @@ function MultiSwitchComponent(props, ref) {
|
|
|
1893
1893
|
}
|
|
1894
1894
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
1895
1895
|
|
|
1896
|
-
var css$1a = {"root":"
|
|
1896
|
+
var css$1a = {"root":"kEwxAR"};
|
|
1897
1897
|
|
|
1898
1898
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1899
1899
|
function applyNumericInputMods(mods) {
|
|
@@ -1913,7 +1913,7 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
|
|
|
1913
1913
|
};
|
|
1914
1914
|
});
|
|
1915
1915
|
|
|
1916
|
-
var css$19 = {"root":"
|
|
1916
|
+
var css$19 = {"root":"VyQTdl"};
|
|
1917
1917
|
|
|
1918
1918
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1919
1919
|
function applyTextAreaMods(mods) {
|
|
@@ -1954,7 +1954,7 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1954
1954
|
};
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
var css$18 = {"root":"
|
|
1957
|
+
var css$18 = {"root":"jeat4s"};
|
|
1958
1958
|
|
|
1959
1959
|
function applyDropdownContainerMods(mods) {
|
|
1960
1960
|
return [
|
|
@@ -1965,7 +1965,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1965
1965
|
}
|
|
1966
1966
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
1967
1967
|
|
|
1968
|
-
var css$17 = {"root":"
|
|
1968
|
+
var css$17 = {"root":"HxES-u","timepicker-input":"OdqQbC","timepickerInput":"OdqQbC","ltr-always":"Zbs3dP","ltrAlways":"Zbs3dP"};
|
|
1969
1969
|
|
|
1970
1970
|
const uuiTimePicker = {
|
|
1971
1971
|
container: 'uui-timepicker-container',
|
|
@@ -2138,11 +2138,15 @@ function TimePickerComponent(props, ref) {
|
|
|
2138
2138
|
if (isTimeValid(result)) {
|
|
2139
2139
|
setState((prevState) => ({ ...prevState, value: result }));
|
|
2140
2140
|
}
|
|
2141
|
+
// save time immediately if the input value is valid
|
|
2142
|
+
if (isTimeValid(newValue)) {
|
|
2143
|
+
saveTime(newValue);
|
|
2144
|
+
}
|
|
2141
2145
|
}
|
|
2142
2146
|
};
|
|
2143
2147
|
const handleBlur = (e) => {
|
|
2144
2148
|
props.onBlur?.(e);
|
|
2145
|
-
if (state.value === '' || state.inputValue === '') {
|
|
2149
|
+
if (state.value === '' || state.inputValue === '' || state.value === null) {
|
|
2146
2150
|
props.onValueChange(null);
|
|
2147
2151
|
setState((prevState) => ({ ...prevState, value: null, inputValue: null }));
|
|
2148
2152
|
}
|
|
@@ -2162,6 +2166,8 @@ function TimePickerComponent(props, ref) {
|
|
|
2162
2166
|
};
|
|
2163
2167
|
const renderInput = (inputProps) => {
|
|
2164
2168
|
return (React__namespace.default.createElement(TextInput, { ...inputProps, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$17.root, css$17.timepickerInput, props.inputCx], value: state.inputValue, onValueChange: handleInputChange, onCancel: !props.disableClear && onClear, onKeyDown: onKeyDown, onFocus: handleFocus, onBlur: handleBlur, isDropdown: false, placeholder: props.placeholder ? props.placeholder : getFormat(), mode: props.mode || DEFAULT_MODE, rawProps: props.rawProps?.input, ref: (node) => {
|
|
2169
|
+
if (!node)
|
|
2170
|
+
return;
|
|
2165
2171
|
targetRef.current = node;
|
|
2166
2172
|
if (typeof inputProps.ref === 'function') {
|
|
2167
2173
|
inputProps.ref(node);
|
|
@@ -2180,7 +2186,7 @@ function TimePickerComponent(props, ref) {
|
|
|
2180
2186
|
}
|
|
2181
2187
|
const TimePicker = /* @__PURE__ */React__namespace.default.forwardRef(TimePickerComponent);
|
|
2182
2188
|
|
|
2183
|
-
var css$16 = {"root":"
|
|
2189
|
+
var css$16 = {"root":"rMoG-Q"};
|
|
2184
2190
|
|
|
2185
2191
|
function applyInputAddonMods() {
|
|
2186
2192
|
return [
|
|
@@ -2189,14 +2195,14 @@ function applyInputAddonMods() {
|
|
|
2189
2195
|
}
|
|
2190
2196
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
2191
2197
|
|
|
2192
|
-
var css$15 = {"root":"
|
|
2198
|
+
var css$15 = {"root":"BTxkhK"};
|
|
2193
2199
|
|
|
2194
2200
|
function applySliderMods() {
|
|
2195
2201
|
return [css$15.root, 'uui-color-neutral'];
|
|
2196
2202
|
}
|
|
2197
2203
|
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
2198
2204
|
|
|
2199
|
-
var css$14 = {"root":"
|
|
2205
|
+
var css$14 = {"root":"uGxzLI"};
|
|
2200
2206
|
|
|
2201
2207
|
function applyTooltipMods(mods) {
|
|
2202
2208
|
return [
|
|
@@ -2206,7 +2212,7 @@ function applyTooltipMods(mods) {
|
|
|
2206
2212
|
}
|
|
2207
2213
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
2208
2214
|
|
|
2209
|
-
var css$13 = {"root":"
|
|
2215
|
+
var css$13 = {"root":"cIcj2V","tooltip":"fL-2KQ"};
|
|
2210
2216
|
|
|
2211
2217
|
function applyRatingMods(mods) {
|
|
2212
2218
|
return [
|
|
@@ -2220,7 +2226,7 @@ const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating,
|
|
|
2220
2226
|
Tooltip,
|
|
2221
2227
|
}));
|
|
2222
2228
|
|
|
2223
|
-
var css$12 = {"drag-handle-wrapper":"
|
|
2229
|
+
var css$12 = {"drag-handle-wrapper":"vz4Jau","dragHandleWrapper":"vz4Jau","with-indent":"Gb4-F8","withIndent":"Gb4-F8","drag-handle":"W6zySe","dragHandle":"W6zySe","icon-container":"RBZlzp","iconContainer":"RBZlzp"};
|
|
2224
2230
|
|
|
2225
2231
|
function DataRowAddons(props) {
|
|
2226
2232
|
const row = props.rowProps;
|
|
@@ -2244,7 +2250,7 @@ function DataRowAddons(props) {
|
|
|
2244
2250
|
};
|
|
2245
2251
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2246
2252
|
row.dnd?.srcData && renderDragHandle(),
|
|
2247
|
-
row?.checkbox?.isVisible && (React__namespace.default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.dataTable.sizes.body.checkboxMap[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
2253
|
+
row?.checkbox?.isVisible && (React__namespace.default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.dataTable.sizes.body.checkboxMap[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => row.onCheck?.(row), isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid, rawProps: { 'aria-label': 'Select' } })),
|
|
2248
2254
|
row.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className: cx__default.default('uui-dr_addons-indent', `uui-size-${props.size || settings.dataTable.sizes.body.row}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__namespace.default.createElement(uuiComponents.ControlIcon, { rawProps: {
|
|
2249
2255
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
2250
2256
|
role: 'button',
|
|
@@ -2302,7 +2308,7 @@ function VerticalTabButtonComponent(props, ref) {
|
|
|
2302
2308
|
}
|
|
2303
2309
|
const VerticalTabButton = /* @__PURE__ */React__namespace.default.forwardRef(VerticalTabButtonComponent);
|
|
2304
2310
|
|
|
2305
|
-
var css$11 = {"root":"
|
|
2311
|
+
var css$11 = {"root":"MJvL6k","main-path":"_3a8RsN","mainPath":"_3a8RsN","content-wrapper":"_9nh9V7","contentWrapper":"_9nh9V7","content":"-EISlR","action-wrapper":"VFvxE-","actionWrapper":"VFvxE-","icon-wrapper":"X3Bu8y","iconWrapper":"X3Bu8y","icon":"KxlhS-","close-icon":"j4xHs4","closeIcon":"j4xHs4"};
|
|
2306
2312
|
|
|
2307
2313
|
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$11.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
2308
2314
|
React__namespace.createElement("div", { className: css$11.mainPath },
|
|
@@ -2320,7 +2326,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
|
|
|
2320
2326
|
|
|
2321
2327
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
2322
2328
|
|
|
2323
|
-
var css$10 = {"submenu-root-item-rtl":"
|
|
2329
|
+
var css$10 = {"submenu-root-item-rtl":"Nq2X0n","submenuRootItemRtl":"Nq2X0n","icon-after":"_8JuzK8","iconAfter":"_8JuzK8","submenu-root-item":"ZDksfs","submenuRootItem":"ZDksfs","icon-check":"kKpSl7","iconCheck":"kKpSl7","splitter-root":"VbyK2Z","splitterRoot":"VbyK2Z","splitter":"UFbkr-","header-root":"S0UYrf","headerRoot":"S0UYrf","item-root":"Y7tVM2","itemRoot":"Y7tVM2","icon":"PDP2D-","link":"NtukED","indent":"cSS-IU","selected-mark":"eWdgui","selectedMark":"eWdgui"};
|
|
2324
2330
|
|
|
2325
2331
|
exports.IDropdownControlKeys = void 0;
|
|
2326
2332
|
(function (IDropdownControlKeys) {
|
|
@@ -2454,7 +2460,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
2454
2460
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2455
2461
|
}
|
|
2456
2462
|
|
|
2457
|
-
var css$$ = {"root":"
|
|
2463
|
+
var css$$ = {"root":"GC19EI","mode-block":"J5dlRj","modeBlock":"J5dlRj","mode-inline":"cB0EHs","modeInline":"cB0EHs","padding-0":"rgSnJT","padding0":"rgSnJT","padding-6":"GQZfvV","padding6":"GQZfvV","padding-12":"_8wkABy","padding12":"_8wkABy","padding-18":"N2U9gX","padding18":"N2U9gX"};
|
|
2458
2464
|
|
|
2459
2465
|
function applyAccordionMods(mods) {
|
|
2460
2466
|
return [
|
|
@@ -2467,7 +2473,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
|
|
|
2467
2473
|
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
2468
2474
|
}));
|
|
2469
2475
|
|
|
2470
|
-
var css$_ = {"root":"
|
|
2476
|
+
var css$_ = {"root":"lymBPc","align-items":"sBduCE","alignItems":"sBduCE","justify-content":"chMoMP","justifyContent":"chMoMP","border-top":"Q-QoP4","borderTop":"Q-QoP4","border-bottom":"Pi-9hw","borderBottom":"Pi-9hw","top-shadow":"_64ECK2","topShadow":"_64ECK2","padding":"iJ-cwy","margin":"R4ZPZb","vPadding":"_3OPJQL","column-gap":"AOuvsp","columnGap":"AOuvsp","row-gap":"IZaB2u","rowGap":"IZaB2u","spacing":"an5wua"};
|
|
2471
2477
|
|
|
2472
2478
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$_.flexCell]);
|
|
2473
2479
|
|
|
@@ -2519,7 +2525,7 @@ const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2519
2525
|
} }, props.children));
|
|
2520
2526
|
});
|
|
2521
2527
|
|
|
2522
|
-
var css$Z = {"root":"
|
|
2528
|
+
var css$Z = {"root":"Fk9gyQ","margin-24":"tAqyRo","margin24":"tAqyRo","padding-12":"uLU0kE","padding12":"uLU0kE","padding-24":"EZlU17","padding24":"EZlU17","shadow":"q2R8LA","uui-surface-main":"IZIQGr","uuiSurfaceMain":"IZIQGr"};
|
|
2523
2529
|
|
|
2524
2530
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
2525
2531
|
'uui-panel',
|
|
@@ -2529,7 +2535,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
2529
2535
|
props.background && css$Z[`uui-${props.background}`],
|
|
2530
2536
|
]);
|
|
2531
2537
|
|
|
2532
|
-
var css$Y = {"root":"
|
|
2538
|
+
var css$Y = {"root":"R4VcpT"};
|
|
2533
2539
|
|
|
2534
2540
|
function applyLabeledInputMods(mods) {
|
|
2535
2541
|
return [
|
|
@@ -2551,7 +2557,7 @@ function applyLabeledInputProps(props) {
|
|
|
2551
2557
|
}
|
|
2552
2558
|
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
2553
2559
|
|
|
2554
|
-
var css$X = {"root":"
|
|
2560
|
+
var css$X = {"root":"ReR-6A"};
|
|
2555
2561
|
|
|
2556
2562
|
function RadioGroup(props) {
|
|
2557
2563
|
const direction = props.direction || 'vertical';
|
|
@@ -2566,7 +2572,7 @@ function RadioGroup(props) {
|
|
|
2566
2572
|
})));
|
|
2567
2573
|
}
|
|
2568
2574
|
|
|
2569
|
-
var css$W = {"root":"
|
|
2575
|
+
var css$W = {"root":"yPmEqK","viewport":"yOo6xt"};
|
|
2570
2576
|
|
|
2571
2577
|
var uuiScrollbars;
|
|
2572
2578
|
(function (uuiScrollbars) {
|
|
@@ -2576,16 +2582,25 @@ var uuiScrollbars;
|
|
|
2576
2582
|
uuiScrollbars["uuiLineBottom"] = "uui-line-bottom";
|
|
2577
2583
|
})(uuiScrollbars || (uuiScrollbars = {}));
|
|
2578
2584
|
const ScrollBars = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
2579
|
-
const { cx: outerCx, children, overflowTopEffect = 'none', overflowBottomEffect = 'none', onScroll, autoHide = 'never', autoHideDelay, rawProps, ...rest } = props;
|
|
2585
|
+
const { cx: outerCx, children, overflowTopEffect = 'none', overflowBottomEffect = 'none', onScroll, autoHide = 'never', autoHideDelay, elementEvents, rawProps, ...rest } = props;
|
|
2580
2586
|
const [shadowElements, setShadowElements] = React.useState({
|
|
2581
2587
|
host: null,
|
|
2582
2588
|
viewport: null,
|
|
2583
2589
|
});
|
|
2584
2590
|
const hostRef = React.useRef(null);
|
|
2585
2591
|
const viewportRef = React.useRef(null);
|
|
2586
|
-
const
|
|
2592
|
+
const elementEventsEffective = React.useMemo(() => {
|
|
2593
|
+
const result = [['img', 'load']]; // this is default
|
|
2594
|
+
if (elementEvents && elementEvents.length > 0) {
|
|
2595
|
+
result.push(...elementEvents);
|
|
2596
|
+
}
|
|
2597
|
+
return result;
|
|
2598
|
+
}, [elementEvents]);
|
|
2587
2599
|
const [initialize, osInstance] = overlayscrollbarsReact.useOverlayScrollbars({
|
|
2588
2600
|
options: {
|
|
2601
|
+
update: {
|
|
2602
|
+
elementEvents: elementEventsEffective,
|
|
2603
|
+
},
|
|
2589
2604
|
scrollbars: {
|
|
2590
2605
|
theme: 'uui-scroll-bars',
|
|
2591
2606
|
autoHide: autoHide,
|
|
@@ -2627,7 +2642,7 @@ const ScrollBars = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2627
2642
|
uuiCore.useScrollShadows(shadowElements.host, shadowElements.viewport);
|
|
2628
2643
|
React.useImperativeHandle(ref, () => {
|
|
2629
2644
|
return {
|
|
2630
|
-
container:
|
|
2645
|
+
container: hostRef.current,
|
|
2631
2646
|
view: viewportRef.current,
|
|
2632
2647
|
};
|
|
2633
2648
|
}, []);
|
|
@@ -2636,7 +2651,7 @@ const ScrollBars = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2636
2651
|
});
|
|
2637
2652
|
ScrollBars.displayName = 'ScrollBars';
|
|
2638
2653
|
|
|
2639
|
-
var css$V = {"scroll-container":"
|
|
2654
|
+
var css$V = {"scroll-container":"-iJzit","scrollContainer":"-iJzit","list-container":"TQ5X2A","listContainer":"TQ5X2A"};
|
|
2640
2655
|
|
|
2641
2656
|
const VirtualList = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
2642
2657
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
|
|
@@ -2689,7 +2704,7 @@ function Tree(props) {
|
|
|
2689
2704
|
return (React__namespace.createElement(VirtualList, { value: value, onValueChange: onValueChange, rowsCount: rowsCount, rows: renderedRows, cx: uuiCore.cx(propsCx), role: "tree" }));
|
|
2690
2705
|
}
|
|
2691
2706
|
|
|
2692
|
-
var css$U = {"root":"
|
|
2707
|
+
var css$U = {"root":"_24tVSx"};
|
|
2693
2708
|
|
|
2694
2709
|
function CheckboxGroup(props) {
|
|
2695
2710
|
const currentValue = props.value || [];
|
|
@@ -2791,7 +2806,7 @@ const Tabs = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2791
2806
|
});
|
|
2792
2807
|
Tabs.displayName = 'Tabs';
|
|
2793
2808
|
|
|
2794
|
-
var css$T = {"root":"
|
|
2809
|
+
var css$T = {"root":"lRFOCl","modal-blocker":"M99ISm","modalBlocker":"M99ISm","animateModalBlocker":"yRsqBN","modal":"_4QtQh1","modal-footer":"TZcP8l","modalFooter":"TZcP8l","border-top":"_9gR2FJ","borderTop":"_9gR2FJ","modal-header":"E6QdWb","modalHeader":"E6QdWb","border-bottom":"RyEVCf","borderBottom":"RyEVCf"};
|
|
2795
2810
|
|
|
2796
2811
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$T.modalBlocker]);
|
|
2797
2812
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$T.root, css$T.modal], (props) => {
|
|
@@ -2983,7 +2998,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2983
2998
|
});
|
|
2984
2999
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2985
3000
|
|
|
2986
|
-
var css$S = {"root":"
|
|
3001
|
+
var css$S = {"root":"_5QexGN","icon-wrapper":"kdiQJ7","iconWrapper":"kdiQJ7","action-wrapper":"dIMAuL","actionWrapper":"dIMAuL","close-icon":"qmU4i0","closeIcon":"qmU4i0","main-path":"_1tBY8r","mainPath":"_1tBY8r","content":"g6VUBm","close-wrapper":"JR0GPn","closeWrapper":"JR0GPn","clear-notifications":"u-uzl2","clearNotifications":"u-uzl2"};
|
|
2987
3002
|
|
|
2988
3003
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
2989
3004
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -3016,7 +3031,7 @@ function ClearNotification() {
|
|
|
3016
3031
|
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
3017
3032
|
}
|
|
3018
3033
|
|
|
3019
|
-
var css$R = {"footer":"
|
|
3034
|
+
var css$R = {"footer":"_60qdeS"};
|
|
3020
3035
|
|
|
3021
3036
|
class ConfirmationModal extends React__namespace.Component {
|
|
3022
3037
|
render() {
|
|
@@ -3058,7 +3073,7 @@ function useReliableForceUpdate() {
|
|
|
3058
3073
|
return red[1];
|
|
3059
3074
|
}
|
|
3060
3075
|
|
|
3061
|
-
var css$Q = {"root":"
|
|
3076
|
+
var css$Q = {"root":"tC19nI","container":"giKzNJ"};
|
|
3062
3077
|
|
|
3063
3078
|
const defaultFormat = 'MMM D, YYYY';
|
|
3064
3079
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -3285,14 +3300,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
3285
3300
|
React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
3286
3301
|
}
|
|
3287
3302
|
|
|
3288
|
-
var css$P = {"root":"
|
|
3303
|
+
var css$P = {"root":"XdnSRh"};
|
|
3289
3304
|
|
|
3290
3305
|
function applyDateSelectionMods() {
|
|
3291
3306
|
return [css$P.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
3292
3307
|
}
|
|
3293
3308
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
3294
3309
|
|
|
3295
|
-
var css$O = {"root":"
|
|
3310
|
+
var css$O = {"root":"WYVM0E"};
|
|
3296
3311
|
|
|
3297
3312
|
const uuiDatePickerBody = {
|
|
3298
3313
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -3358,7 +3373,8 @@ function DatePickerComponent(props, ref) {
|
|
|
3358
3373
|
setInputValue(toCustomDateFormat(value, format));
|
|
3359
3374
|
}, [value, setInputValue]);
|
|
3360
3375
|
const onValueChange = (newValue) => {
|
|
3361
|
-
|
|
3376
|
+
const isValueChanged = (value || '') !== (newValue || '');
|
|
3377
|
+
if (isValueChanged) {
|
|
3362
3378
|
props.onValueChange(newValue);
|
|
3363
3379
|
if (props.getValueChangeAnalyticsEvent) {
|
|
3364
3380
|
const event = props.getValueChangeAnalyticsEvent(newValue, value);
|
|
@@ -3401,7 +3417,7 @@ function DatePickerComponent(props, ref) {
|
|
|
3401
3417
|
props.onFocus?.(e);
|
|
3402
3418
|
}, onKeyDown: onInputKeyDown, onBlur: onBlur, mode: props.mode || defaultMode$1, rawProps: props.rawProps?.input, id: props.id }));
|
|
3403
3419
|
};
|
|
3404
|
-
const renderBody = React.useMemo(() => (renderProps)
|
|
3420
|
+
const renderBody = React.useMemo(() => function (renderProps) {
|
|
3405
3421
|
return (React__namespace.default.createElement(DropdownContainer, { ...renderProps },
|
|
3406
3422
|
React__namespace.default.createElement(DatePickerBody, { value: value, onValueChange: onBodyValueChange, cx: uuiCore.cx(props.bodyCx), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay, rawProps: props.rawProps?.body, initialViewMonth: props.initialViewMonth }),
|
|
3407
3423
|
props.renderFooter?.()));
|
|
@@ -3414,7 +3430,7 @@ function DatePickerComponent(props, ref) {
|
|
|
3414
3430
|
}
|
|
3415
3431
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
3416
3432
|
|
|
3417
|
-
var css$N = {"date-input":"
|
|
3433
|
+
var css$N = {"date-input":"Zfzja8","dateInput":"Zfzja8","root":"_4FuhU8","separator":"P3lURM"};
|
|
3418
3434
|
|
|
3419
3435
|
const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, onKeyDown, preventEmptyFromDate, preventEmptyToDate, id, cx: classes, }, ref) => {
|
|
3420
3436
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
@@ -3437,6 +3453,10 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
3437
3453
|
};
|
|
3438
3454
|
const handleBlur = (event, inputType) => {
|
|
3439
3455
|
onBlurInput?.(event, inputType);
|
|
3456
|
+
const formattedValue = toCustomDateRangeFormat(value, format);
|
|
3457
|
+
if (inputValue[inputType] === formattedValue[inputType]) {
|
|
3458
|
+
return; // No changes made to this field, skip validation
|
|
3459
|
+
}
|
|
3440
3460
|
const canBeEmpty = {
|
|
3441
3461
|
from: !preventEmptyFromDate,
|
|
3442
3462
|
to: !preventEmptyToDate,
|
|
@@ -3487,7 +3507,7 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
3487
3507
|
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$N.dateInput, inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.rangeDatePicker.sizes.default, value: inputValue.to || undefined, icon: clearAllowed && ForwardRef$Q, iconPosition: "right", iconLabel: "Clear selected date range", onIconClick: onClear, 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 })));
|
|
3488
3508
|
});
|
|
3489
3509
|
|
|
3490
|
-
var css$M = {"root":"
|
|
3510
|
+
var css$M = {"root":"tmO-ge"};
|
|
3491
3511
|
|
|
3492
3512
|
const uuiPresets = {
|
|
3493
3513
|
container: 'uui-presets-container',
|
|
@@ -3507,7 +3527,7 @@ function CalendarPresets(props) {
|
|
|
3507
3527
|
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
3508
3528
|
}
|
|
3509
3529
|
|
|
3510
|
-
var css$L = {"root":"
|
|
3530
|
+
var css$L = {"root":"_9l4AAN","container":"ZV5zAH","day-selection":"_4oVloa","daySelection":"_4oVloa","from-picker":"iNdUuh","fromPicker":"iNdUuh","to-picker":"_3DJQ-h","toPicker":"_3DJQ-h","bodes-wrapper":"RCavWs","bodesWrapper":"RCavWs","blocker":"ZQ-DVq"};
|
|
3511
3531
|
|
|
3512
3532
|
const uuiRangeDatePickerBody = {
|
|
3513
3533
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3709,7 +3729,7 @@ const getDayState = (day, selectedDate) => {
|
|
|
3709
3729
|
};
|
|
3710
3730
|
};
|
|
3711
3731
|
|
|
3712
|
-
var css$K = {"dropdown-container":"
|
|
3732
|
+
var css$K = {"dropdown-container":"NRIhlE","dropdownContainer":"NRIhlE"};
|
|
3713
3733
|
|
|
3714
3734
|
function RangeDatePickerComponent(props, ref) {
|
|
3715
3735
|
const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
|
|
@@ -3777,7 +3797,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3777
3797
|
}
|
|
3778
3798
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
3779
3799
|
|
|
3780
|
-
var css$J = {"root":"
|
|
3800
|
+
var css$J = {"root":"bhPexW","blocker":"g5DvHx","marker":"efw3mZ","top":"zdbHm3","bottom":"eGCZfA","left":"eXy3xa","right":"fVoeKE","inside":"VsLu-1"};
|
|
3781
3801
|
|
|
3782
3802
|
function DropMarker(props) {
|
|
3783
3803
|
return props.isDndInProgress
|
|
@@ -3792,9 +3812,9 @@ function DropMarker(props) {
|
|
|
3792
3812
|
: null;
|
|
3793
3813
|
}
|
|
3794
3814
|
|
|
3795
|
-
var css$I = {"root":"
|
|
3815
|
+
var css$I = {"root":"EAAX-K","search-wrapper":"hNmjU-","searchWrapper":"hNmjU-","no-data":"nxK7fS","noData":"nxK7fS"};
|
|
3796
3816
|
|
|
3797
|
-
var css$H = {"picker-row":"
|
|
3817
|
+
var css$H = {"picker-row":"u5AZZ6","pickerRow":"u5AZZ6","align-widgets-top":"a-x7UY","alignWidgetsTop":"a-x7UY","row-content":"b3gd1w","rowContent":"b3gd1w","align-widgets-center":"LeeyZB","alignWidgetsCenter":"LeeyZB","icon-container":"P0KnuX","iconContainer":"P0KnuX","content-wrapper":"_8Cr--u","contentWrapper":"_8Cr--u","icon-wrapper":"BojYAa","iconWrapper":"BojYAa","icon-default":"Lgt4cy","iconDefault":"Lgt4cy","selected-mark":"Q-7L53","selectedMark":"Q-7L53"};
|
|
3798
3818
|
|
|
3799
3819
|
const mergeHighlightRanges = (ranges) => {
|
|
3800
3820
|
const mergedRanges = [];
|
|
@@ -3861,7 +3881,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3861
3881
|
return getDecoratedText(str, ranges);
|
|
3862
3882
|
};
|
|
3863
3883
|
|
|
3864
|
-
var css$G = {"root":"
|
|
3884
|
+
var css$G = {"root":"tgXlxW","column-gap":"jG030A","columnGap":"jG030A","title":"ZoRkwN","subtitle":"LtQgHD","disabled":"Uzd3jW","multiline":"yvfy1-"};
|
|
3865
3885
|
|
|
3866
3886
|
function PickerItem(props) {
|
|
3867
3887
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
@@ -4079,7 +4099,7 @@ function DataPickerFooterImpl(props) {
|
|
|
4079
4099
|
}
|
|
4080
4100
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
4081
4101
|
|
|
4082
|
-
var css$F = {"header":"
|
|
4102
|
+
var css$F = {"header":"NjrBsd","title":"EjGZFV","close":"d4-sql"};
|
|
4083
4103
|
|
|
4084
4104
|
const DataPickerMobileHeaderImpl = (props) => {
|
|
4085
4105
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -4089,7 +4109,7 @@ const DataPickerMobileHeaderImpl = (props) => {
|
|
|
4089
4109
|
};
|
|
4090
4110
|
const DataPickerMobileHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerMobileHeaderImpl);
|
|
4091
4111
|
|
|
4092
|
-
var css$E = {"done":"
|
|
4112
|
+
var css$E = {"done":"QAHFPg","container":"WeVuSZ"};
|
|
4093
4113
|
|
|
4094
4114
|
const PickerBodyMobileView = (props) => {
|
|
4095
4115
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -4101,7 +4121,7 @@ const PickerBodyMobileView = (props) => {
|
|
|
4101
4121
|
isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
|
|
4102
4122
|
};
|
|
4103
4123
|
|
|
4104
|
-
var css$D = {"sub-header-wrapper":"
|
|
4124
|
+
var css$D = {"sub-header-wrapper":"-WaTiC","subHeaderWrapper":"-WaTiC","switch":"vgUYG7","search":"Kcvg3m","no-found-modal-container":"Z-kRp1","noFoundModalContainer":"Z-kRp1","no-found-modal-container-icon":"nB6TFX","noFoundModalContainerIcon":"nB6TFX","no-found-modal-container-text":"kud4P-","noFoundModalContainerText":"kud4P-","body":"qDPF85"};
|
|
4105
4125
|
|
|
4106
4126
|
function PickerModal(props) {
|
|
4107
4127
|
const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
@@ -4162,7 +4182,7 @@ function PickerModal(props) {
|
|
|
4162
4182
|
React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
4163
4183
|
}
|
|
4164
4184
|
|
|
4165
|
-
var css$C = {"tooltip":"
|
|
4185
|
+
var css$C = {"tooltip":"sVSMmu","noShrink":"q5FRqd"};
|
|
4166
4186
|
|
|
4167
4187
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4168
4188
|
const tagProps = {
|
|
@@ -4181,7 +4201,7 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
4181
4201
|
}
|
|
4182
4202
|
});
|
|
4183
4203
|
|
|
4184
|
-
var css$B = {"root":"
|
|
4204
|
+
var css$B = {"root":"EXkD-M"};
|
|
4185
4205
|
|
|
4186
4206
|
const defaultMode = EditMode.FORM;
|
|
4187
4207
|
function applyPickerTogglerMods(mods) {
|
|
@@ -4263,7 +4283,7 @@ function PickerInputComponent(props, ref) {
|
|
|
4263
4283
|
}
|
|
4264
4284
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
4265
4285
|
|
|
4266
|
-
var css$A = {"row":"
|
|
4286
|
+
var css$A = {"row":"FnwVP-"};
|
|
4267
4287
|
|
|
4268
4288
|
function PickerListRow(props) {
|
|
4269
4289
|
let label;
|
|
@@ -4283,7 +4303,7 @@ function PickerListRow(props) {
|
|
|
4283
4303
|
return (React__namespace.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));
|
|
4284
4304
|
}
|
|
4285
4305
|
|
|
4286
|
-
var css$z = {"root":"
|
|
4306
|
+
var css$z = {"root":"zKr2jP"};
|
|
4287
4307
|
|
|
4288
4308
|
function PickerList(props) {
|
|
4289
4309
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -4318,7 +4338,7 @@ function PickerList(props) {
|
|
|
4318
4338
|
}, selectedRows)));
|
|
4319
4339
|
}
|
|
4320
4340
|
|
|
4321
|
-
var css$y = {"root":"
|
|
4341
|
+
var css$y = {"root":"wmTpKH","wrapper":"_3SQ0tU","align-widgets-top":"KholVD","alignWidgetsTop":"KholVD","align-widgets-center":"_8BvvB1","alignWidgetsCenter":"_8BvvB1"};
|
|
4322
4342
|
|
|
4323
4343
|
function DataTableCell(initialProps) {
|
|
4324
4344
|
const props = { ...initialProps };
|
|
@@ -4368,7 +4388,7 @@ function DataTableCell(initialProps) {
|
|
|
4368
4388
|
return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
|
|
4369
4389
|
}
|
|
4370
4390
|
|
|
4371
|
-
var css$x = {"root":"
|
|
4391
|
+
var css$x = {"root":"nLHLB5"};
|
|
4372
4392
|
|
|
4373
4393
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
4374
4394
|
// 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.
|
|
@@ -4384,7 +4404,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
4384
4404
|
];
|
|
4385
4405
|
}, () => propsMods);
|
|
4386
4406
|
|
|
4387
|
-
var css$w = {"sorting-panel-container":"
|
|
4407
|
+
var css$w = {"sorting-panel-container":"EmzCRJ","sortingPanelContainer":"EmzCRJ"};
|
|
4388
4408
|
|
|
4389
4409
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
4390
4410
|
const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
@@ -4404,7 +4424,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
4404
4424
|
};
|
|
4405
4425
|
const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
4406
4426
|
|
|
4407
|
-
var css$v = {"root":"
|
|
4427
|
+
var css$v = {"root":"mKnkBv","caption-wrapper":"Ch78UX","captionWrapper":"Ch78UX","sort-icon":"n22IQI","sortIcon":"n22IQI","dropdown-icon":"M7VFve","dropdownIcon":"M7VFve","infoIcon":"D7Hgfd","sortInActive":"Q6pnMU","align-right":"dmfN9r","alignRight":"dmfN9r","align-center":"rk2LcT","alignCenter":"rk2LcT","caption":"JsHZsm","truncate":"xhOP-F","upper-case":"A-5jF3","upperCase":"A-5jF3","checkbox":"U-WdUO","icon":"qy8MdU","fold-all-icon":"VG9oQE","foldAllIcon":"VG9oQE","cell-tooltip":"_5HuM3H","cellTooltip":"_5HuM3H","resizing-marker":"_2jAD-J","resizingMarker":"_2jAD-J","pinned-right":"_6Ibbi0","pinnedRight":"_6Ibbi0","draggable":"ughYjh","ghost":"QHNfl-","is-dragged-out":"jxqvhj","isDraggedOut":"jxqvhj","dnd-marker-left":"u7Q6Qj","dndMarkerLeft":"u7Q6Qj","dnd-marker-right":"OQhn0O","dndMarkerRight":"OQhn0O","cell-tooltip-wrapper":"jGsFt2","cellTooltipWrapper":"jGsFt2","cell-tooltip-text":"oONZGp","cellTooltipText":"oONZGp","tooltip-caption":"rMc-oB","tooltipCaption":"rMc-oB","tooltip-info":"_5uo0nu","tooltipInfo":"_5uo0nu"};
|
|
4408
4428
|
|
|
4409
4429
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
4410
4430
|
constructor() {
|
|
@@ -4510,7 +4530,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4510
4530
|
}
|
|
4511
4531
|
}
|
|
4512
4532
|
|
|
4513
|
-
var css$u = {"root":"
|
|
4533
|
+
var css$u = {"root":"pPb-jB","caption-wrapper":"ogYG0j","captionWrapper":"ogYG0j","align-center":"PDwe6v","alignCenter":"PDwe6v","caption":"DJgyCM","truncate":"iXTK5U","upper-case":"UswDSS","upperCase":"UswDSS","group-cell-tooltip":"pF-6Os","groupCellTooltip":"pF-6Os","group-cell-tooltip-wrapper":"_1Lia3-","groupCellTooltipWrapper":"_1Lia3-","group-cell-tooltip-text":"x5zHcL","groupCellTooltipText":"x5zHcL","tooltip-caption":"nL6NLI","tooltipCaption":"nL6NLI","tooltip-info":"HhhtTx","tooltipInfo":"HhhtTx"};
|
|
4514
4534
|
|
|
4515
4535
|
class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
4516
4536
|
constructor() {
|
|
@@ -4550,7 +4570,7 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
|
4550
4570
|
}
|
|
4551
4571
|
}
|
|
4552
4572
|
|
|
4553
|
-
var css$t = {"root":"
|
|
4573
|
+
var css$t = {"root":"a8rBQY"};
|
|
4554
4574
|
|
|
4555
4575
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => {
|
|
4556
4576
|
return ({
|
|
@@ -4562,6 +4582,20 @@ const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTab
|
|
|
4562
4582
|
});
|
|
4563
4583
|
});
|
|
4564
4584
|
|
|
4585
|
+
/**
|
|
4586
|
+
* Checks if the value is a range object with at least one boundary property defined
|
|
4587
|
+
*/
|
|
4588
|
+
const isValidRangeValue = (range) => {
|
|
4589
|
+
return range != null && (range.from != null || range.to != null);
|
|
4590
|
+
};
|
|
4591
|
+
const isFilledArray = (arr) => {
|
|
4592
|
+
return Array.isArray(arr) && arr.length > 0;
|
|
4593
|
+
};
|
|
4594
|
+
const hasSomeNullishProp = (obj) => {
|
|
4595
|
+
return Object.keys(obj).some((prop) => obj[prop] == null);
|
|
4596
|
+
};
|
|
4597
|
+
const isValidArrayValue = isFilledArray;
|
|
4598
|
+
const hasSomeNullishPredicate = hasSomeNullishProp;
|
|
4565
4599
|
const normalizeFilterWithPredicates = (filter) => {
|
|
4566
4600
|
if (!filter) {
|
|
4567
4601
|
return {};
|
|
@@ -4579,27 +4613,21 @@ const normalizeFilterWithPredicates = (filter) => {
|
|
|
4579
4613
|
if ('from' in filterValue && 'to' in filterValue) {
|
|
4580
4614
|
continue;
|
|
4581
4615
|
}
|
|
4582
|
-
if ('in' in filterValue &&
|
|
4616
|
+
if ('in' in filterValue && !isValidArrayValue(filterValue.in)) {
|
|
4583
4617
|
delete filter[key];
|
|
4584
4618
|
}
|
|
4585
|
-
if ('nin' in filterValue &&
|
|
4619
|
+
if ('nin' in filterValue && !isValidArrayValue(filterValue.nin)) {
|
|
4586
4620
|
delete filter[key];
|
|
4587
4621
|
}
|
|
4588
|
-
if ('inRange' in filterValue) {
|
|
4589
|
-
|
|
4590
|
-
delete filter[key];
|
|
4591
|
-
}
|
|
4622
|
+
if ('inRange' in filterValue && !isValidRangeValue(filterValue.inRange)) {
|
|
4623
|
+
delete filter[key];
|
|
4592
4624
|
}
|
|
4593
|
-
if ('notInRange' in filterValue) {
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4625
|
+
if ('notInRange' in filterValue && !isValidRangeValue(filterValue.notInRange)) {
|
|
4626
|
+
delete filter[key];
|
|
4627
|
+
}
|
|
4628
|
+
if (hasSomeNullishPredicate(filterValue)) {
|
|
4629
|
+
delete filter[key];
|
|
4597
4630
|
}
|
|
4598
|
-
Object.keys(filterValue).forEach((predicate) => {
|
|
4599
|
-
if (filterValue[predicate] === null || filterValue[predicate] === undefined) {
|
|
4600
|
-
delete filter[key];
|
|
4601
|
-
}
|
|
4602
|
-
});
|
|
4603
4631
|
}
|
|
4604
4632
|
}
|
|
4605
4633
|
return result;
|
|
@@ -4650,7 +4678,7 @@ const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler
|
|
|
4650
4678
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
|
|
4651
4679
|
const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
|
|
4652
4680
|
|
|
4653
|
-
var css$s = {"body":"
|
|
4681
|
+
var css$s = {"body":"Wo3kzg","header":"W77D0P","title":"O-eEci","removeButton":"seVjF4","with-search":"KspFtz","withSearch":"KspFtz"};
|
|
4654
4682
|
|
|
4655
4683
|
function FilterColumnBody(props) {
|
|
4656
4684
|
const [predicate, setPredicate] = React.useState(getDefaultPredicate(props.predicates, props.value));
|
|
@@ -4711,7 +4739,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4711
4739
|
return columns;
|
|
4712
4740
|
};
|
|
4713
4741
|
|
|
4714
|
-
var css$r = {"unpin-icon":"
|
|
4742
|
+
var css$r = {"unpin-icon":"_1Ylry-","unpinIcon":"_1Ylry-","pin-toggler-icon":"WYLTuX","pinTogglerIcon":"WYLTuX"};
|
|
4715
4743
|
|
|
4716
4744
|
function PinIconButton(props) {
|
|
4717
4745
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4762,7 +4790,7 @@ function getUnpinIcon(params) {
|
|
|
4762
4790
|
}
|
|
4763
4791
|
}
|
|
4764
4792
|
|
|
4765
|
-
var css$q = {"row-wrapper":"
|
|
4793
|
+
var css$q = {"row-wrapper":"BRohev","rowWrapper":"BRohev","pin-icon-button":"Z0RdBI","pinIconButton":"Z0RdBI","not-pinned":"_5ebTVx","notPinned":"_5ebTVx","checkbox":"ZtJDFF","drag-handle":"gTlWH1","dragHandle":"gTlWH1","dnd-disabled":"_3LlTeT","dndDisabled":"_3LlTeT"};
|
|
4766
4794
|
|
|
4767
4795
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4768
4796
|
const { column } = props;
|
|
@@ -4796,7 +4824,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4796
4824
|
return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4797
4825
|
});
|
|
4798
4826
|
|
|
4799
|
-
var css$p = {"root":"
|
|
4827
|
+
var css$p = {"root":"-wGL22","main-panel":"MoWf5P","mainPanel":"MoWf5P","group":"U1U-he","group-title":"VU7acp","groupTitle":"VU7acp","group-items":"muIn-v","groupItems":"muIn-v","no-data":"O99bu-","noData":"O99bu-","no-data-title":"QxvQ96","noDataTitle":"QxvQ96","no-data-sub-title":"Npcqlh","noDataSubTitle":"Npcqlh","h-divider":"qWrWOP","hDivider":"qWrWOP","search-area":"xAd54e","searchArea":"xAd54e","subgroup-accordion":"wnZDbW","subgroupAccordion":"wnZDbW","subgroup":"zSxw5A","subgroup-title":"_8eHocM","subgroupTitle":"_8eHocM"};
|
|
4800
4828
|
|
|
4801
4829
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$p.group },
|
|
4802
4830
|
React__namespace.createElement(Text, { size: "none", cx: css$p.groupTitle }, title),
|
|
@@ -4899,7 +4927,7 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
4899
4927
|
return [children, rest];
|
|
4900
4928
|
};
|
|
4901
4929
|
|
|
4902
|
-
var css$o = {"listContainer":"
|
|
4930
|
+
var css$o = {"listContainer":"Ng-O--","header":"STVLJ3","group":"_9p4TG5","stickyHeader":"kMhqu1"};
|
|
4903
4931
|
|
|
4904
4932
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
4905
4933
|
const rowRef = React.useRef(undefined);
|
|
@@ -4939,7 +4967,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
4939
4967
|
React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
4940
4968
|
}
|
|
4941
4969
|
|
|
4942
|
-
var css$n = {"root":"
|
|
4970
|
+
var css$n = {"root":"wdzXqF","sticky-header":"O8TivO","stickyHeader":"O8TivO","no-results":"zccqlV","noResults":"zccqlV","icon":"ExKJUn","title":"_00tHys"};
|
|
4943
4971
|
|
|
4944
4972
|
function DataTable(props) {
|
|
4945
4973
|
const { uuiModals } = uuiCore.useUuiContext();
|
|
@@ -4988,7 +5016,7 @@ function DataTable(props) {
|
|
|
4988
5016
|
: (React__namespace.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderTableBody, cx: classes, isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: rawProps })))));
|
|
4989
5017
|
}
|
|
4990
5018
|
|
|
4991
|
-
var css$m = {"root":"
|
|
5019
|
+
var css$m = {"root":"Hm8PuR","title-wrapper":"eNq-vK","titleWrapper":"eNq-vK","title":"_6jDmxz","text-wrapper":"-Ty3ot","textWrapper":"-Ty3ot","selection":"VkuBX8","postfix":"_19-Awi","selected":"_6WpmvX"};
|
|
4992
5020
|
|
|
4993
5021
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4994
5022
|
const togglerPickerOpened = (e) => {
|
|
@@ -5213,7 +5241,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
5213
5241
|
renderFooter()));
|
|
5214
5242
|
}
|
|
5215
5243
|
|
|
5216
|
-
var css$l = {"container":"
|
|
5244
|
+
var css$l = {"container":"kLHvmW"};
|
|
5217
5245
|
|
|
5218
5246
|
function FilterNumericBody(props) {
|
|
5219
5247
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -5524,7 +5552,7 @@ function FiltersToolbarImpl(props) {
|
|
|
5524
5552
|
}
|
|
5525
5553
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
5526
5554
|
|
|
5527
|
-
var css$k = {"delete-button":"
|
|
5555
|
+
var css$k = {"delete-button":"ywoFk2","deleteButton":"ywoFk2","tab-button":"e6rdsw","tabButton":"e6rdsw","targetOpen":"g1kEAC"};
|
|
5528
5556
|
|
|
5529
5557
|
function PresetActionsDropdown(props) {
|
|
5530
5558
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -5600,7 +5628,7 @@ const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
|
5600
5628
|
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
5601
5629
|
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
5602
5630
|
|
|
5603
|
-
var css$j = {"preset-input-cell":"
|
|
5631
|
+
var css$j = {"preset-input-cell":"kH-0uK","presetInputCell":"kH-0uK","preset-input":"qOLjPK","presetInput":"qOLjPK"};
|
|
5604
5632
|
|
|
5605
5633
|
function PresetInput(props) {
|
|
5606
5634
|
const [presetCaption, setPresetCaption] = React.useState(props.preset?.name || '');
|
|
@@ -5627,7 +5655,7 @@ function PresetInput(props) {
|
|
|
5627
5655
|
React__namespace.default.createElement(TextInput, { cx: css$j.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
5628
5656
|
}
|
|
5629
5657
|
|
|
5630
|
-
var css$i = {"preset":"
|
|
5658
|
+
var css$i = {"preset":"Q9z2cO","activePreset":"M9Ekkb"};
|
|
5631
5659
|
|
|
5632
5660
|
function Preset(props) {
|
|
5633
5661
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -5652,7 +5680,7 @@ function Preset(props) {
|
|
|
5652
5680
|
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$i.preset, isPresetActive && css$i.activePreset, UUI_PRESETS_PANEL_PRESET], size: settings.presetsPanel.sizes.tabButton, withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: PresetActionsDropdownComponent, iconPosition: "right", isActive: isPresetActive }))));
|
|
5653
5681
|
}
|
|
5654
5682
|
|
|
5655
|
-
var css$h = {"divider":"
|
|
5683
|
+
var css$h = {"divider":"psaU2b","dropdownDeleteIcon":"_1C98GT","presetsWrapper":"YyiMSF","addPresetContainer":"_1vbNzT","dropContainer":"hwx7RR"};
|
|
5656
5684
|
|
|
5657
5685
|
function PresetsPanel(props) {
|
|
5658
5686
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
@@ -5701,9 +5729,9 @@ function PresetsPanel(props) {
|
|
|
5701
5729
|
React__namespace.default.createElement(uuiComponents.AdaptivePanel, { items: getPanelItems() }))));
|
|
5702
5730
|
}
|
|
5703
5731
|
|
|
5704
|
-
var css$g = {"root":"
|
|
5732
|
+
var css$g = {"root":"-pZw-C"};
|
|
5705
5733
|
|
|
5706
|
-
var css$f = {"root":"
|
|
5734
|
+
var css$f = {"root":"J-8vFW","burger-content":"ys9pTk","burgerContent":"ys9pTk"};
|
|
5707
5735
|
|
|
5708
5736
|
var _path$3;
|
|
5709
5737
|
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); }
|
|
@@ -5746,7 +5774,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5746
5774
|
};
|
|
5747
5775
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
5748
5776
|
|
|
5749
|
-
var css$e = {"root":"
|
|
5777
|
+
var css$e = {"root":"kQQxrW","button-primary":"_4WvNm-","buttonPrimary":"_4WvNm-","button-secondary":"xUZ3ej","buttonSecondary":"xUZ3ej","hasIcon":"a3kPg-","dropdown":"dMLhvj"};
|
|
5750
5778
|
|
|
5751
5779
|
function applyBurgerButtonMods(props) {
|
|
5752
5780
|
return [
|
|
@@ -5771,13 +5799,13 @@ const BurgerButton = /* @__PURE__ */React__namespace.default.forwardRef((props,
|
|
|
5771
5799
|
}, dropdownIcon: ForwardRef$2 }));
|
|
5772
5800
|
});
|
|
5773
5801
|
|
|
5774
|
-
var css$d = {"search-input":"
|
|
5802
|
+
var css$d = {"search-input":"-L1mHB","searchInput":"-L1mHB"};
|
|
5775
5803
|
|
|
5776
5804
|
function BurgerSearch(props) {
|
|
5777
5805
|
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$M, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$Q }));
|
|
5778
5806
|
}
|
|
5779
5807
|
|
|
5780
|
-
var css$c = {"root":"
|
|
5808
|
+
var css$c = {"root":"uZE1Yo","group-header":"pnNiZl","groupHeader":"pnNiZl","group-name":"ZDOhwI","groupName":"ZDOhwI","line":"_1xB48O"};
|
|
5781
5809
|
|
|
5782
5810
|
function BurgerGroupHeader(props) {
|
|
5783
5811
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5785,7 +5813,7 @@ function BurgerGroupHeader(props) {
|
|
|
5785
5813
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5786
5814
|
}
|
|
5787
5815
|
|
|
5788
|
-
var css$b = {"root":"
|
|
5816
|
+
var css$b = {"root":"wAu87D","type-primary":"YqCFc6","typePrimary":"YqCFc6","type-secondary":"dj8hE6","typeSecondary":"dj8hE6"};
|
|
5789
5817
|
|
|
5790
5818
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5791
5819
|
const { type, ...clickableProps } = props;
|
|
@@ -5813,7 +5841,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5813
5841
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
5814
5842
|
});
|
|
5815
5843
|
|
|
5816
|
-
var css$a = {"dropdown-body":"
|
|
5844
|
+
var css$a = {"dropdown-body":"imC63H","dropdownBody":"imC63H"};
|
|
5817
5845
|
|
|
5818
5846
|
function MainMenuDropdown(props) {
|
|
5819
5847
|
const handleEscape = (e, onClose, isOpen) => {
|
|
@@ -5859,12 +5887,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5859
5887
|
};
|
|
5860
5888
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5861
5889
|
|
|
5862
|
-
var css$9 = {"global-menu-btn":"
|
|
5890
|
+
var css$9 = {"global-menu-btn":"g-s03l","globalMenuBtn":"g-s03l","global-menu-icon":"C2qVsA","globalMenuIcon":"C2qVsA"};
|
|
5863
5891
|
|
|
5864
5892
|
const GlobalMenu = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, id: "global_menu_toggle", className: cx__default.default(css$9.globalMenuBtn, props.cx), ...props.rawProps },
|
|
5865
5893
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5866
5894
|
|
|
5867
|
-
var css$8 = {"container":"
|
|
5895
|
+
var css$8 = {"container":"qWRbin","open":"getmvg","folding-arrow":"_2SFzKr","foldingArrow":"_2SFzKr"};
|
|
5868
5896
|
|
|
5869
5897
|
const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, className: cx__default.default(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiCore.uuiMarkers.clickable, props.cx), onClick: props.onClick, ...props.rawProps },
|
|
5870
5898
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5872,15 +5900,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5872
5900
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
5873
5901
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5874
5902
|
|
|
5875
|
-
var css$7 = {"search-input":"
|
|
5903
|
+
var css$7 = {"search-input":"HcXk6g","searchInput":"HcXk6g"};
|
|
5876
5904
|
|
|
5877
5905
|
const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, { ...props, render: (iEditable) => (React__namespace.createElement(uuiComponents.TextInput, { iconPosition: "left", icon: ForwardRef$M, cancelIcon: props.value?.length > 0 && ForwardRef$Q, ...props, ...iEditable, ref: ref, cx: uuiCore.cx(css$7.searchInput, props.cx), ...props.rawProps })) })));
|
|
5878
5906
|
|
|
5879
|
-
var css$6 = {"container":"
|
|
5907
|
+
var css$6 = {"container":"RkR7Ot"};
|
|
5880
5908
|
|
|
5881
5909
|
const MainMenuIcon = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(IconButton, { ref: ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$6.container), ...props })));
|
|
5882
5910
|
|
|
5883
|
-
var css$5 = {"root":"
|
|
5911
|
+
var css$5 = {"root":"JGyo-D"};
|
|
5884
5912
|
|
|
5885
5913
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
5886
5914
|
|
|
@@ -5938,7 +5966,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5938
5966
|
};
|
|
5939
5967
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5940
5968
|
|
|
5941
|
-
var css$4 = {"root":"
|
|
5969
|
+
var css$4 = {"root":"_3Q0Uli","drop-start":"vXCYRc","dropStart":"vXCYRc","drop-over":"lOwBoy","dropOver":"lOwBoy","link":"DUqzjK","drop-area":"-r3-Cb","dropArea":"-r3-Cb","drop-caption":"XVsXbs","dropCaption":"XVsXbs","icon-blue":"CQ1kbm","iconBlue":"CQ1kbm"};
|
|
5942
5970
|
|
|
5943
5971
|
function DropSpot(props) {
|
|
5944
5972
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5956,7 +5984,7 @@ function DropSpot(props) {
|
|
|
5956
5984
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5957
5985
|
}
|
|
5958
5986
|
|
|
5959
|
-
var css$3 = {"root":"
|
|
5987
|
+
var css$3 = {"root":"TTJiKB"};
|
|
5960
5988
|
|
|
5961
5989
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5962
5990
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5967,7 +5995,7 @@ const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref
|
|
|
5967
5995
|
React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5968
5996
|
});
|
|
5969
5997
|
|
|
5970
|
-
var css$2 = {"root":"
|
|
5998
|
+
var css$2 = {"root":"LYc1f3","file-name":"heAc3B","fileName":"heAc3B","default-color":"FjPxV8","defaultColor":"FjPxV8","doc-color":"xfeXWx","docColor":"xfeXWx","xls-color":"SXP0kx","xlsColor":"SXP0kx","pdf-color":"ywxSLm","pdfColor":"ywxSLm","movie-color":"_4P8f75","movieColor":"_4P8f75","img-color":"ZTR5JD","imgColor":"ZTR5JD","mov-color":"V1ItQP","movColor":"V1ItQP","error-block":"_5iXAlQ","errorBlock":"_5iXAlQ","icons-block":"S5DUp-","iconsBlock":"S5DUp-"};
|
|
5971
5999
|
|
|
5972
6000
|
const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5973
6001
|
const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
|
|
@@ -6087,7 +6115,7 @@ const getErrorPageConfig = () => ({
|
|
|
6087
6115
|
},
|
|
6088
6116
|
});
|
|
6089
6117
|
|
|
6090
|
-
var css$1 = {"container":"
|
|
6118
|
+
var css$1 = {"container":"X2BixO"};
|
|
6091
6119
|
|
|
6092
6120
|
const ErrorPage = (props) => {
|
|
6093
6121
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -6099,7 +6127,7 @@ const ErrorPage = (props) => {
|
|
|
6099
6127
|
props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
6100
6128
|
};
|
|
6101
6129
|
|
|
6102
|
-
var css = {"recovery-spinner":"
|
|
6130
|
+
var css = {"recovery-spinner":"l-h6dw","recoverySpinner":"l-h6dw","recovery-message":"u63POt","recoveryMessage":"u63POt","modal-blocker":"BzMFuC","modalBlocker":"BzMFuC","modalFadeIn":"yBpQnO"};
|
|
6103
6131
|
|
|
6104
6132
|
function ErrorHandler(props) {
|
|
6105
6133
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|