@epam/uui 6.1.7-beta.0 → 6.1.7-beta.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/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
- package/index.esm.js +127 -107
- package/index.esm.js.map +1 -1
- package/index.js +127 -107
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +19 -1
- package/styles.css +998 -998
- package/styles.css.map +1 -1
package/index.js
CHANGED
|
@@ -185,7 +185,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
185
185
|
xmlns: "http://www.w3.org/2000/svg",
|
|
186
186
|
ref: ref
|
|
187
187
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
188
|
-
clipPath: "url(#
|
|
188
|
+
clipPath: "url(#uz2h08fmmk15ahzp9_a)"
|
|
189
189
|
}, _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
190
190
|
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",
|
|
191
191
|
fill: "#F5F6FA"
|
|
@@ -206,7 +206,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
206
206
|
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",
|
|
207
207
|
fill: "#1D1E26"
|
|
208
208
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
209
|
-
id: "
|
|
209
|
+
id: "uz2h081g6dbfucrh3_b",
|
|
210
210
|
style: {
|
|
211
211
|
maskType: "alpha"
|
|
212
212
|
},
|
|
@@ -219,7 +219,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
219
219
|
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",
|
|
220
220
|
fill: "#9BDEFF"
|
|
221
221
|
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
222
|
-
mask: "url(#
|
|
222
|
+
mask: "url(#uz2h081g6dbfucrh3_b)",
|
|
223
223
|
fillRule: "evenodd",
|
|
224
224
|
clipRule: "evenodd"
|
|
225
225
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -305,7 +305,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
305
305
|
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",
|
|
306
306
|
fill: "#fff"
|
|
307
307
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
308
|
-
id: "
|
|
308
|
+
id: "uz2h08fmmk15ahzp9_a"
|
|
309
309
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
310
310
|
fill: "#fff",
|
|
311
311
|
transform: "translate(.552)",
|
|
@@ -956,14 +956,14 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
956
956
|
};
|
|
957
957
|
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
958
958
|
|
|
959
|
-
var css$1w = {"root":"
|
|
959
|
+
var css$1w = {"root":"eE20hH","uui-spinner":"z9WWBb","uuiSpinner":"z9WWBb"};
|
|
960
960
|
|
|
961
961
|
function applySpinnerMods() {
|
|
962
962
|
return [css$1w.root, 'uui-spinner'];
|
|
963
963
|
}
|
|
964
964
|
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
965
965
|
|
|
966
|
-
var css$1v = {"root":"
|
|
966
|
+
var css$1v = {"root":"Q-iR6V","loading-word":"LYjOa2","loadingWord":"LYjOa2","animated-loading":"icuoRK","animatedLoading":"icuoRK","skeleton_loading":"lVKSKr","skeletonLoading":"lVKSKr"};
|
|
967
967
|
|
|
968
968
|
const TextPlaceholder = (props) => {
|
|
969
969
|
const pattern = ' ';
|
|
@@ -980,7 +980,7 @@ const TextPlaceholder = (props) => {
|
|
|
980
980
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
981
981
|
};
|
|
982
982
|
|
|
983
|
-
var css$1u = {"root":"
|
|
983
|
+
var css$1u = {"root":"wKbSly","line-height":"qtL-1n","lineHeight":"qtL-1n","font-size":"_9Pa3gj","fontSize":"_9Pa3gj"};
|
|
984
984
|
|
|
985
985
|
function applyTextMods(mods) {
|
|
986
986
|
return [
|
|
@@ -1007,7 +1007,7 @@ const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, appl
|
|
|
1007
1007
|
};
|
|
1008
1008
|
});
|
|
1009
1009
|
|
|
1010
|
-
var css$1t = {"root":"
|
|
1010
|
+
var css$1t = {"root":"mTlU3V"};
|
|
1011
1011
|
|
|
1012
1012
|
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$1t.root], () => ({ renderSpinner: settings.blocker.renderSpinner }));
|
|
1013
1013
|
|
|
@@ -1495,7 +1495,7 @@ const settings = {
|
|
|
1495
1495
|
textInput: textInputSettings,
|
|
1496
1496
|
};
|
|
1497
1497
|
|
|
1498
|
-
var css$1s = {"root":"
|
|
1498
|
+
var css$1s = {"root":"dsqtWQ"};
|
|
1499
1499
|
|
|
1500
1500
|
function applyButtonMods(mods) {
|
|
1501
1501
|
return [
|
|
@@ -1513,7 +1513,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
|
|
|
1513
1513
|
};
|
|
1514
1514
|
});
|
|
1515
1515
|
|
|
1516
|
-
var css$1r = {"root":"
|
|
1516
|
+
var css$1r = {"root":"HvGr-0"};
|
|
1517
1517
|
|
|
1518
1518
|
function applyIconButtonMods(props) {
|
|
1519
1519
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
|
|
@@ -1550,7 +1550,7 @@ function getIconClass(props) {
|
|
|
1550
1550
|
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'];
|
|
1551
1551
|
}
|
|
1552
1552
|
|
|
1553
|
-
var css$1q = {"root":"
|
|
1553
|
+
var css$1q = {"root":"E4Sc9P"};
|
|
1554
1554
|
|
|
1555
1555
|
const DEFAULT_COLOR = 'primary';
|
|
1556
1556
|
const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
@@ -1580,7 +1580,7 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
1580
1580
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1581
1581
|
});
|
|
1582
1582
|
|
|
1583
|
-
var css$1p = {"root":"
|
|
1583
|
+
var css$1p = {"root":"L1tiRD"};
|
|
1584
1584
|
|
|
1585
1585
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1586
1586
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -1592,7 +1592,7 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1592
1592
|
]) }, props.caption));
|
|
1593
1593
|
});
|
|
1594
1594
|
|
|
1595
|
-
var css$1o = {"root":"
|
|
1595
|
+
var css$1o = {"root":"g4uS4V","withNotify":"_9uzAL4"};
|
|
1596
1596
|
|
|
1597
1597
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1598
1598
|
const styles = [
|
|
@@ -1620,14 +1620,14 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
1620
1620
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1621
1621
|
});
|
|
1622
1622
|
|
|
1623
|
-
var css$1n = {"root":"
|
|
1623
|
+
var css$1n = {"root":"gyXcWl"};
|
|
1624
1624
|
|
|
1625
1625
|
function applyVerticalTabButtonMods() {
|
|
1626
1626
|
return [css$1n.root, 'uui-vertical-tab-button'];
|
|
1627
1627
|
}
|
|
1628
1628
|
const VerticalTabButton = /* @__PURE__ */uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
|
|
1629
1629
|
|
|
1630
|
-
var css$1m = {"root":"
|
|
1630
|
+
var css$1m = {"root":"mX94Ob"};
|
|
1631
1631
|
|
|
1632
1632
|
function applyCheckboxMods(mods) {
|
|
1633
1633
|
return [
|
|
@@ -1645,7 +1645,7 @@ const applyUUICheckboxProps = (props) => {
|
|
|
1645
1645
|
};
|
|
1646
1646
|
const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1647
1647
|
|
|
1648
|
-
var css$1l = {"root":"
|
|
1648
|
+
var css$1l = {"root":"o8qmgp"};
|
|
1649
1649
|
|
|
1650
1650
|
function applyRadioInputMods(mods) {
|
|
1651
1651
|
return [
|
|
@@ -1657,7 +1657,7 @@ function applyRadioInputMods(mods) {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : settings.radioInput.icons.dotIcon }));
|
|
1659
1659
|
|
|
1660
|
-
var css$1k = {"root":"
|
|
1660
|
+
var css$1k = {"root":"_61bn0E"};
|
|
1661
1661
|
|
|
1662
1662
|
function applySwitchMods(mods) {
|
|
1663
1663
|
return [
|
|
@@ -1681,7 +1681,7 @@ var EditMode;
|
|
|
1681
1681
|
EditMode["INLINE"] = "inline";
|
|
1682
1682
|
})(EditMode || (EditMode = {}));
|
|
1683
1683
|
|
|
1684
|
-
var textInputCss = {"root":"
|
|
1684
|
+
var textInputCss = {"root":"s5yRfY"};
|
|
1685
1685
|
|
|
1686
1686
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
1687
1687
|
function applyTextInputMods(mods) {
|
|
@@ -1706,7 +1706,7 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
1706
1706
|
} }));
|
|
1707
1707
|
});
|
|
1708
1708
|
|
|
1709
|
-
var css$1j = {"root":"
|
|
1709
|
+
var css$1j = {"root":"_3uiLCo"};
|
|
1710
1710
|
|
|
1711
1711
|
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1j.root, 'uui-control-group']);
|
|
1712
1712
|
|
|
@@ -1722,7 +1722,7 @@ function MultiSwitchComponent(props, ref) {
|
|
|
1722
1722
|
}
|
|
1723
1723
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
1724
1724
|
|
|
1725
|
-
var css$1i = {"root":"
|
|
1725
|
+
var css$1i = {"root":"r-X22c"};
|
|
1726
1726
|
|
|
1727
1727
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
1728
1728
|
function applyNumericInputMods(mods) {
|
|
@@ -1742,7 +1742,7 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
|
|
|
1742
1742
|
};
|
|
1743
1743
|
});
|
|
1744
1744
|
|
|
1745
|
-
var css$1h = {"root":"
|
|
1745
|
+
var css$1h = {"root":"zotoeH"};
|
|
1746
1746
|
|
|
1747
1747
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
1748
1748
|
function applyTextAreaMods(mods) {
|
|
@@ -1783,7 +1783,7 @@ function TREE_SHAKEABLE_INIT$1() {
|
|
|
1783
1783
|
};
|
|
1784
1784
|
}
|
|
1785
1785
|
|
|
1786
|
-
var css$1g = {"root":"
|
|
1786
|
+
var css$1g = {"root":"Aaz7Ol"};
|
|
1787
1787
|
|
|
1788
1788
|
function applyDropdownContainerMods(mods) {
|
|
1789
1789
|
return [
|
|
@@ -1794,7 +1794,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
1794
1794
|
}
|
|
1795
1795
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
1796
1796
|
|
|
1797
|
-
var css$1f = {"root":"
|
|
1797
|
+
var css$1f = {"root":"WYO8lg","timepicker-input":"xQ8f8R","timepickerInput":"xQ8f8R","ltr-always":"_3fxIym","ltrAlways":"_3fxIym"};
|
|
1798
1798
|
|
|
1799
1799
|
const uuiTimePicker = {
|
|
1800
1800
|
container: 'uui-timepicker-container',
|
|
@@ -1912,6 +1912,7 @@ function TimePickerComponent(props, ref) {
|
|
|
1912
1912
|
value: valueToTimeString(props.value, props.format),
|
|
1913
1913
|
inputValue: valueToTimeString(props.value, props.format),
|
|
1914
1914
|
});
|
|
1915
|
+
const targetRef = React__namespace.default.useRef(null);
|
|
1915
1916
|
React.useEffect(() => {
|
|
1916
1917
|
if (valueToTimeString(props.value, props.format) !== state.value) {
|
|
1917
1918
|
const stringValue = valueToTimeString(props.value, props.format);
|
|
@@ -1939,7 +1940,10 @@ function TimePickerComponent(props, ref) {
|
|
|
1939
1940
|
};
|
|
1940
1941
|
const saveTime = (newTime) => {
|
|
1941
1942
|
setState((prevState) => ({ ...prevState, inputValue: newTime }));
|
|
1942
|
-
|
|
1943
|
+
const newValue = formatStringTimeToObject(newTime);
|
|
1944
|
+
if (!isEqual__default.default(props.value, newValue)) {
|
|
1945
|
+
props.onValueChange(formatStringTimeToObject(newTime));
|
|
1946
|
+
}
|
|
1943
1947
|
};
|
|
1944
1948
|
const getTimeFromInputValue = (newValue) => {
|
|
1945
1949
|
const trimmedNewValue = newValue.trimStart();
|
|
@@ -1953,7 +1957,6 @@ function TimePickerComponent(props, ref) {
|
|
|
1953
1957
|
saveTime(inputValue);
|
|
1954
1958
|
};
|
|
1955
1959
|
const handleFocus = (e) => {
|
|
1956
|
-
onToggle(true);
|
|
1957
1960
|
props.onFocus?.(e);
|
|
1958
1961
|
};
|
|
1959
1962
|
const handleInputChange = (newValue) => {
|
|
@@ -1966,7 +1969,6 @@ function TimePickerComponent(props, ref) {
|
|
|
1966
1969
|
}
|
|
1967
1970
|
};
|
|
1968
1971
|
const handleBlur = (e) => {
|
|
1969
|
-
onToggle(false);
|
|
1970
1972
|
props.onBlur?.(e);
|
|
1971
1973
|
if (state.value === '' || state.inputValue === '') {
|
|
1972
1974
|
props.onValueChange(null);
|
|
@@ -1974,19 +1976,37 @@ function TimePickerComponent(props, ref) {
|
|
|
1974
1976
|
}
|
|
1975
1977
|
state.value && state.inputValue && saveTime(state.value);
|
|
1976
1978
|
};
|
|
1979
|
+
const onKeyDown = (e) => {
|
|
1980
|
+
if (e.key === 'Enter') {
|
|
1981
|
+
onToggle(true);
|
|
1982
|
+
}
|
|
1983
|
+
if (e.key === 'Escape' && state.isOpen) {
|
|
1984
|
+
e.preventDefault();
|
|
1985
|
+
e.stopPropagation();
|
|
1986
|
+
onToggle(false);
|
|
1987
|
+
}
|
|
1988
|
+
};
|
|
1977
1989
|
const renderInput = (inputProps) => {
|
|
1978
|
-
return (React__namespace.default.createElement(TextInput, { ...inputProps,
|
|
1990
|
+
return (React__namespace.default.createElement(TextInput, { ...inputProps, size: props.size, isDisabled: props.isDisabled, isReadonly: props.isReadonly, isInvalid: props.isInvalid, cx: [css$1f.root, css$1f.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) => {
|
|
1991
|
+
targetRef.current = node;
|
|
1992
|
+
if (typeof inputProps.ref === 'function') {
|
|
1993
|
+
inputProps.ref(node);
|
|
1994
|
+
}
|
|
1995
|
+
else if (inputProps.ref && 'current' in inputProps.ref) {
|
|
1996
|
+
inputProps.ref.current = node;
|
|
1997
|
+
}
|
|
1998
|
+
} }));
|
|
1979
1999
|
};
|
|
1980
2000
|
const renderBody = (bodyProps) => {
|
|
1981
2001
|
const { forwardedRef, onValueChange, ...timePickerBodyProps } = props;
|
|
1982
|
-
return (!props.isDisabled && !props.isReadonly && (React__namespace.default.createElement(DropdownContainer, { ...bodyProps,
|
|
2002
|
+
return (!props.isDisabled && !props.isReadonly && (React__namespace.default.createElement(DropdownContainer, { ...bodyProps, shards: [targetRef] },
|
|
1983
2003
|
React__namespace.default.createElement(TimePickerBody, { ...timePickerBodyProps, onValueChange: handleBodyValueChange, value: formatStringTimeToObject(state.value), rawProps: props.rawProps?.body, cx: props.bodyCx }))));
|
|
1984
2004
|
};
|
|
1985
2005
|
return (React__namespace.default.createElement(uuiComponents.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, middleware: [react.offset(6)], ref: ref }));
|
|
1986
2006
|
}
|
|
1987
2007
|
const TimePicker = /* @__PURE__ */React__namespace.default.forwardRef(TimePickerComponent);
|
|
1988
2008
|
|
|
1989
|
-
var css$1e = {"root":"
|
|
2009
|
+
var css$1e = {"root":"YKtnMS"};
|
|
1990
2010
|
|
|
1991
2011
|
function applyInputAddonMods() {
|
|
1992
2012
|
return [
|
|
@@ -1995,14 +2015,14 @@ function applyInputAddonMods() {
|
|
|
1995
2015
|
}
|
|
1996
2016
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
1997
2017
|
|
|
1998
|
-
var css$1d = {"root":"
|
|
2018
|
+
var css$1d = {"root":"_6elwRc"};
|
|
1999
2019
|
|
|
2000
2020
|
function applySliderMods() {
|
|
2001
2021
|
return [css$1d.root, 'uui-color-neutral'];
|
|
2002
2022
|
}
|
|
2003
2023
|
const Slider = /* @__PURE__ */uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
2004
2024
|
|
|
2005
|
-
var css$1c = {"root":"
|
|
2025
|
+
var css$1c = {"root":"p70fY3"};
|
|
2006
2026
|
|
|
2007
2027
|
function applyTooltipMods(mods) {
|
|
2008
2028
|
return [
|
|
@@ -2012,7 +2032,7 @@ function applyTooltipMods(mods) {
|
|
|
2012
2032
|
}
|
|
2013
2033
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
2014
2034
|
|
|
2015
|
-
var css$1b = {"root":"
|
|
2035
|
+
var css$1b = {"root":"-RCkA7","tooltip":"vwQz3n"};
|
|
2016
2036
|
|
|
2017
2037
|
function applyRatingMods(mods) {
|
|
2018
2038
|
return [
|
|
@@ -2026,7 +2046,7 @@ const Rating = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Rating,
|
|
|
2026
2046
|
Tooltip,
|
|
2027
2047
|
}));
|
|
2028
2048
|
|
|
2029
|
-
var css$1a = {"root":"
|
|
2049
|
+
var css$1a = {"root":"Cje5Iz","main-path":"TEqzom","mainPath":"TEqzom","content-wrapper":"HUVVzk","contentWrapper":"HUVVzk","content":"Oznzyd","action-wrapper":"_4VP5xn","actionWrapper":"_4VP5xn","icon-wrapper":"HJVaaj","iconWrapper":"HJVaaj","icon":"vOd5k-","close-icon":"HFzzQi","closeIcon":"HFzzQi"};
|
|
2030
2050
|
|
|
2031
2051
|
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", { role: "alert", ref: ref, className: cx__default.default('uui-alert', css$1a.root, props.color && `uui-color-${props.color}`, props.cx, `uui-size-${props.size || settings.alert.sizes.default}`), ...props.rawProps },
|
|
2032
2052
|
React__namespace.createElement("div", { className: css$1a.mainPath },
|
|
@@ -2044,7 +2064,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
|
|
|
2044
2064
|
|
|
2045
2065
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
2046
2066
|
|
|
2047
|
-
var css$19 = {"submenu-root-item-rtl":"
|
|
2067
|
+
var css$19 = {"submenu-root-item-rtl":"ouxNoE","submenuRootItemRtl":"ouxNoE","icon-after":"aB0tF0","iconAfter":"aB0tF0","submenu-root-item":"_-0HB4C","submenuRootItem":"_-0HB4C","icon-check":"OSa6gs","iconCheck":"OSa6gs","splitter-root":"IuK3qI","splitterRoot":"IuK3qI","splitter":"hKIK3q","header-root":"_7j-ohn","headerRoot":"_7j-ohn","item-root":"E-tTMX","itemRoot":"E-tTMX","icon":"iV3abg","link":"X5Fqtx","indent":"_09T7s3","selected-mark":"LIOSQr","selectedMark":"LIOSQr"};
|
|
2048
2068
|
|
|
2049
2069
|
exports.IDropdownControlKeys = void 0;
|
|
2050
2070
|
(function (IDropdownControlKeys) {
|
|
@@ -2169,7 +2189,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
2169
2189
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
2170
2190
|
}
|
|
2171
2191
|
|
|
2172
|
-
var css$18 = {"root":"
|
|
2192
|
+
var css$18 = {"root":"_4Albpj","mode-block":"_9YHJfB","modeBlock":"_9YHJfB","mode-inline":"_375Tzg","modeInline":"_375Tzg","padding-0":"TqcOEv","padding0":"TqcOEv","padding-6":"NwnNOM","padding6":"NwnNOM","padding-12":"ydwhFC","padding12":"ydwhFC","padding-18":"_44xQ7L","padding18":"_44xQ7L"};
|
|
2173
2193
|
|
|
2174
2194
|
function applyAccordionMods(mods) {
|
|
2175
2195
|
return [
|
|
@@ -2182,7 +2202,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
|
|
|
2182
2202
|
dropdownIcon: mods.dropdownIcon !== null && settings.accordion.icons.dropdownIcon,
|
|
2183
2203
|
}));
|
|
2184
2204
|
|
|
2185
|
-
var css$17 = {"root":"
|
|
2205
|
+
var css$17 = {"root":"_66gUlh","align-items":"I9Y-QB","alignItems":"I9Y-QB","justify-content":"uhHK6h","justifyContent":"uhHK6h","border-top":"T1lOJX","borderTop":"T1lOJX","border-bottom":"medd7Q","borderBottom":"medd7Q","top-shadow":"zdQ0jy","topShadow":"zdQ0jy","padding":"sjZHwP","margin":"Usih01","vPadding":"V0e8tZ","column-gap":"Hh16wu","columnGap":"Hh16wu","row-gap":"qMvCnX","rowGap":"qMvCnX","spacing":"xcIGNv"};
|
|
2186
2206
|
|
|
2187
2207
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$17.flexCell]);
|
|
2188
2208
|
|
|
@@ -2234,7 +2254,7 @@ const FlexRow = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
2234
2254
|
} }, props.children));
|
|
2235
2255
|
});
|
|
2236
2256
|
|
|
2237
|
-
var css$16 = {"root":"
|
|
2257
|
+
var css$16 = {"root":"kL7-Zf","margin-24":"fDVfbi","margin24":"fDVfbi","padding-12":"VB4mPN","padding12":"VB4mPN","padding-24":"T9Jr-v","padding24":"T9Jr-v","shadow":"K3vwUS","uui-surface-main":"ybOZOy","uuiSurfaceMain":"ybOZOy"};
|
|
2238
2258
|
|
|
2239
2259
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
2240
2260
|
'uui-panel',
|
|
@@ -2244,7 +2264,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
2244
2264
|
props.background && css$16[`uui-${props.background}`],
|
|
2245
2265
|
]);
|
|
2246
2266
|
|
|
2247
|
-
var css$15 = {"root":"
|
|
2267
|
+
var css$15 = {"root":"_2RVQp5"};
|
|
2248
2268
|
|
|
2249
2269
|
function applyLabeledInputMods(mods) {
|
|
2250
2270
|
return [
|
|
@@ -2261,7 +2281,7 @@ function applyLabeledInputProps(props) {
|
|
|
2261
2281
|
}
|
|
2262
2282
|
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, applyLabeledInputProps);
|
|
2263
2283
|
|
|
2264
|
-
var css$14 = {"root":"
|
|
2284
|
+
var css$14 = {"root":"_8sQEm7"};
|
|
2265
2285
|
|
|
2266
2286
|
function RadioGroup(props) {
|
|
2267
2287
|
const direction = props.direction || 'vertical';
|
|
@@ -2276,7 +2296,7 @@ function RadioGroup(props) {
|
|
|
2276
2296
|
})));
|
|
2277
2297
|
}
|
|
2278
2298
|
|
|
2279
|
-
var css$13 = {"root":"
|
|
2299
|
+
var css$13 = {"root":"YGiMr6"};
|
|
2280
2300
|
|
|
2281
2301
|
function applyScrollBarsMods() {
|
|
2282
2302
|
return [
|
|
@@ -2285,7 +2305,7 @@ function applyScrollBarsMods() {
|
|
|
2285
2305
|
}
|
|
2286
2306
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
2287
2307
|
|
|
2288
|
-
var css$12 = {"scroll-container":"
|
|
2308
|
+
var css$12 = {"scroll-container":"ePH08-","scrollContainer":"ePH08-","list-container":"Pi-NVe","listContainer":"Pi-NVe"};
|
|
2289
2309
|
|
|
2290
2310
|
const VirtualList = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
2291
2311
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
|
|
@@ -2329,7 +2349,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
2329
2349
|
props.renderBlocker ? props.renderBlocker({ isLoading: props.isLoading }) : React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
2330
2350
|
});
|
|
2331
2351
|
|
|
2332
|
-
var css$11 = {"root":"
|
|
2352
|
+
var css$11 = {"root":"_4JPERK"};
|
|
2333
2353
|
|
|
2334
2354
|
function CheckboxGroup(props) {
|
|
2335
2355
|
const currentValue = props.value || [];
|
|
@@ -2351,7 +2371,7 @@ function CheckboxGroup(props) {
|
|
|
2351
2371
|
})));
|
|
2352
2372
|
}
|
|
2353
2373
|
|
|
2354
|
-
var css$10 = {"root":"
|
|
2374
|
+
var css$10 = {"root":"cQj9Kb","modal-blocker":"Lf3H4A","modalBlocker":"Lf3H4A","animateModalBlocker":"HbqFWW","modal":"if34yO","modal-footer":"KUQbYC","modalFooter":"KUQbYC","border-top":"_7fC0k0","borderTop":"_7fC0k0","modal-header":"CmPu37","modalHeader":"CmPu37","border-bottom":"NqFmxu","borderBottom":"NqFmxu"};
|
|
2355
2375
|
|
|
2356
2376
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$10.modalBlocker]);
|
|
2357
2377
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$10.root, css$10.modal], (props) => {
|
|
@@ -2543,7 +2563,7 @@ const TREE_SHAKEABLE_INIT = () => ({
|
|
|
2543
2563
|
});
|
|
2544
2564
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
2545
2565
|
|
|
2546
|
-
var css$$ = {"root":"
|
|
2566
|
+
var css$$ = {"root":"_7mtFNF","icon-wrapper":"erRru3","iconWrapper":"erRru3","action-wrapper":"LGaKS8","actionWrapper":"LGaKS8","close-icon":"RmcpBh","closeIcon":"RmcpBh","main-path":"K-UAr0","mainPath":"K-UAr0","content":"_7bw1p6","close-wrapper":"Q7vX5T","closeWrapper":"Q7vX5T","clear-notifications":"A5whZe","clearNotifications":"A5whZe"};
|
|
2547
2567
|
|
|
2548
2568
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
2549
2569
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -2576,7 +2596,7 @@ function ClearNotification() {
|
|
|
2576
2596
|
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => uuiCtx.uuiNotifications.clearAll() })));
|
|
2577
2597
|
}
|
|
2578
2598
|
|
|
2579
|
-
var css$_ = {"footer":"
|
|
2599
|
+
var css$_ = {"footer":"OUEEGd"};
|
|
2580
2600
|
|
|
2581
2601
|
class ConfirmationModal extends React__namespace.Component {
|
|
2582
2602
|
render() {
|
|
@@ -2618,7 +2638,7 @@ function useReliableForceUpdate() {
|
|
|
2618
2638
|
return red[1];
|
|
2619
2639
|
}
|
|
2620
2640
|
|
|
2621
|
-
var css$Z = {"root":"
|
|
2641
|
+
var css$Z = {"root":"LgqQBw","container":"c3pB2D"};
|
|
2622
2642
|
|
|
2623
2643
|
const defaultFormat = 'MMM D, YYYY';
|
|
2624
2644
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2836,14 +2856,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2836
2856
|
React__namespace.createElement(Button, { icon: navIconRight || settings.datePicker.icons.body.nextIcon, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2837
2857
|
}
|
|
2838
2858
|
|
|
2839
|
-
var css$Y = {"root":"
|
|
2859
|
+
var css$Y = {"root":"ATG31y"};
|
|
2840
2860
|
|
|
2841
2861
|
function applyDateSelectionMods() {
|
|
2842
2862
|
return [css$Y.root, `uui-size-${settings.datePicker.sizes.body}`];
|
|
2843
2863
|
}
|
|
2844
2864
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2845
2865
|
|
|
2846
|
-
var css$X = {"root":"
|
|
2866
|
+
var css$X = {"root":"SQmKLE"};
|
|
2847
2867
|
|
|
2848
2868
|
const uuiDatePickerBody = {
|
|
2849
2869
|
wrapper: 'uui-datepicker-body-wrapper',
|
|
@@ -2964,7 +2984,7 @@ function DatePickerComponent(props, ref) {
|
|
|
2964
2984
|
}
|
|
2965
2985
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
2966
2986
|
|
|
2967
|
-
var css$W = {"date-input":"
|
|
2987
|
+
var css$W = {"date-input":"oU6RYO","dateInput":"oU6RYO","root":"X2hZkz","separator":"_8jPRc6"};
|
|
2968
2988
|
|
|
2969
2989
|
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) => {
|
|
2970
2990
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
@@ -3035,7 +3055,7 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
3035
3055
|
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$W.dateInput, inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.rangeDatePicker.sizes.default, value: inputValue.to || undefined, onCancel: clearAllowed ? onClear : 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 })));
|
|
3036
3056
|
});
|
|
3037
3057
|
|
|
3038
|
-
var css$V = {"root":"
|
|
3058
|
+
var css$V = {"root":"gxksPw"};
|
|
3039
3059
|
|
|
3040
3060
|
const uuiPresets = {
|
|
3041
3061
|
container: 'uui-presets-container',
|
|
@@ -3055,7 +3075,7 @@ function CalendarPresets(props) {
|
|
|
3055
3075
|
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: settings.rangeDatePicker.sizes.preset })))));
|
|
3056
3076
|
}
|
|
3057
3077
|
|
|
3058
|
-
var css$U = {"root":"
|
|
3078
|
+
var css$U = {"root":"APb1zg","container":"uzWo0w","day-selection":"gslpfO","daySelection":"gslpfO","from-picker":"kTXJW1","fromPicker":"kTXJW1","to-picker":"-bP35y","toPicker":"-bP35y","bodes-wrapper":"Bpvi6a","bodesWrapper":"Bpvi6a","blocker":"uNMS7H"};
|
|
3059
3079
|
|
|
3060
3080
|
const uuiRangeDatePickerBody = {
|
|
3061
3081
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3257,7 +3277,7 @@ const getDayState = (day, selectedDate) => {
|
|
|
3257
3277
|
};
|
|
3258
3278
|
};
|
|
3259
3279
|
|
|
3260
|
-
var css$T = {"dropdown-container":"
|
|
3280
|
+
var css$T = {"dropdown-container":"MRqHrI","dropdownContainer":"MRqHrI"};
|
|
3261
3281
|
|
|
3262
3282
|
function RangeDatePickerComponent(props, ref) {
|
|
3263
3283
|
const { value: _value, format = defaultFormat, size = settings.rangeDatePicker.sizes.default } = props;
|
|
@@ -3325,7 +3345,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3325
3345
|
}
|
|
3326
3346
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
3327
3347
|
|
|
3328
|
-
var css$S = {"root":"
|
|
3348
|
+
var css$S = {"root":"Ed-Obs","blocker":"ae1BpS","marker":"bJ3XRx","top":"r2aQdm","bottom":"LyKkZ7","left":"UpZrTt","right":"Q-q-1f","inside":"_0xyj8g"};
|
|
3329
3349
|
|
|
3330
3350
|
function DropMarker(props) {
|
|
3331
3351
|
return props.isDndInProgress
|
|
@@ -3342,15 +3362,15 @@ function DropMarker(props) {
|
|
|
3342
3362
|
|
|
3343
3363
|
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || settings.richTextView.sizes.default}`]);
|
|
3344
3364
|
|
|
3345
|
-
var css$R = {"search-wrapper":"
|
|
3365
|
+
var css$R = {"search-wrapper":"rtR3-Q","searchWrapper":"rtR3-Q","no-data":"QNIshj","noData":"QNIshj"};
|
|
3346
3366
|
|
|
3347
|
-
var css$Q = {"picker-row":"
|
|
3367
|
+
var css$Q = {"picker-row":"eVvIBZ","pickerRow":"eVvIBZ","align-widgets-top":"t7ZNml","alignWidgetsTop":"t7ZNml","row-content":"ihe1XD","rowContent":"ihe1XD","align-widgets-center":"Al9cx6","alignWidgetsCenter":"Al9cx6","icon-container":"_6nS4LQ","iconContainer":"_6nS4LQ","content-wrapper":"XOIpf1","contentWrapper":"XOIpf1","icon-wrapper":"cYCZkO","iconWrapper":"cYCZkO","icon-default":"_0kXCUl","iconDefault":"_0kXCUl","selected-mark":"mfRS25","selectedMark":"mfRS25"};
|
|
3348
3368
|
|
|
3349
|
-
var css$P = {"root":"
|
|
3369
|
+
var css$P = {"root":"h4utAI"};
|
|
3350
3370
|
|
|
3351
3371
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$P.root]);
|
|
3352
3372
|
|
|
3353
|
-
var css$O = {"root":"
|
|
3373
|
+
var css$O = {"root":"G-klZ-"};
|
|
3354
3374
|
|
|
3355
3375
|
const DEFAULT_FILL = 'solid';
|
|
3356
3376
|
function applyBadgeMods(mods) {
|
|
@@ -3378,7 +3398,7 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
3378
3398
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
3379
3399
|
});
|
|
3380
3400
|
|
|
3381
|
-
var css$N = {"root":"
|
|
3401
|
+
var css$N = {"root":"cTxOfc"};
|
|
3382
3402
|
|
|
3383
3403
|
function applyTagMods(props) {
|
|
3384
3404
|
return [
|
|
@@ -3406,7 +3426,7 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
3406
3426
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
3407
3427
|
});
|
|
3408
3428
|
|
|
3409
|
-
var css$M = {"root":"
|
|
3429
|
+
var css$M = {"root":"zzbN-r","page":"SVkcwy","spacer":"_3n8Dm-","mode-ghost":"UGqAb-","modeGhost":"UGqAb-"};
|
|
3410
3430
|
|
|
3411
3431
|
function Paginator(props) {
|
|
3412
3432
|
const renderPaginator = (params) => (React__namespace.default.createElement("nav", { role: "navigation", className: cx__default.default(css$M.root, 'uui-paginator', `uui-size-${props.size || settings.paginator.sizes.default}`), ...params.rawProps },
|
|
@@ -3423,14 +3443,14 @@ function Paginator(props) {
|
|
|
3423
3443
|
return React__namespace.default.createElement(uuiComponents.Paginator, { ...props, render: renderPaginator });
|
|
3424
3444
|
}
|
|
3425
3445
|
|
|
3426
|
-
var css$L = {"root":"
|
|
3446
|
+
var css$L = {"root":"JWStsH","progress-bar":"Yxt3bM","progressBar":"Yxt3bM","progressBar-indeterminate":"_048AtM","progressBarIndeterminate":"_048AtM","size-12":"_1NWHiE","size12":"_1NWHiE","size-18":"g-z9ug","size18":"g-z9ug","size-24":"dWDn6R","size24":"dWDn6R"};
|
|
3427
3447
|
|
|
3428
3448
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3429
3449
|
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$L.root, css$L[`size-${props.size || 12}`]) },
|
|
3430
3450
|
React__namespace.createElement("div", { className: cx__default.default(css$L.progressBar) })));
|
|
3431
3451
|
});
|
|
3432
3452
|
|
|
3433
|
-
var css$K = {"root":"
|
|
3453
|
+
var css$K = {"root":"U8LHVX","striped":"HPIEjp","animate-stripes":"FHb0-2","animateStripes":"FHb0-2","size-12":"hiiAAa","size12":"hiiAAa","size-18":"yoGvZz","size18":"yoGvZz","size-24":"L4ejrY","size24":"L4ejrY"};
|
|
3434
3454
|
|
|
3435
3455
|
const DEFAULT_SIZE = '12';
|
|
3436
3456
|
function applyProgressBarMods(mods) {
|
|
@@ -3445,14 +3465,14 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
3445
3465
|
hideLabel: props.hideLabel || props.striped,
|
|
3446
3466
|
}));
|
|
3447
3467
|
|
|
3448
|
-
var css$J = {"root":"
|
|
3468
|
+
var css$J = {"root":"_1Q-Qpv"};
|
|
3449
3469
|
|
|
3450
3470
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3451
3471
|
const { progress } = props;
|
|
3452
3472
|
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$J.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$J.root, props.cx) }));
|
|
3453
3473
|
});
|
|
3454
3474
|
|
|
3455
|
-
var css$I = {"root":"
|
|
3475
|
+
var css$I = {"root":"ZpBKr2"};
|
|
3456
3476
|
|
|
3457
3477
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
3458
3478
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -3467,7 +3487,7 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
3467
3487
|
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
3468
3488
|
});
|
|
3469
3489
|
|
|
3470
|
-
var css$H = {"drag-handle-wrapper":"
|
|
3490
|
+
var css$H = {"drag-handle-wrapper":"BciIzT","dragHandleWrapper":"BciIzT","with-indent":"g0OD7g","withIndent":"g0OD7g","drag-handle":"BL1KXB","dragHandle":"BL1KXB","icon-container":"wYLuUn","iconContainer":"wYLuUn"};
|
|
3471
3491
|
|
|
3472
3492
|
function DataRowAddons(props) {
|
|
3473
3493
|
const row = props.rowProps;
|
|
@@ -3554,7 +3574,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
3554
3574
|
return getDecoratedText(str, ranges);
|
|
3555
3575
|
};
|
|
3556
3576
|
|
|
3557
|
-
var css$G = {"root":"
|
|
3577
|
+
var css$G = {"root":"VCfw0p","column-gap":"PUPsDz","columnGap":"PUPsDz","title":"iZD6OW","subtitle":"LDLHGD","disabled":"_7eqH-j","multiline":"-Ip97z"};
|
|
3558
3578
|
|
|
3559
3579
|
function PickerItem(props) {
|
|
3560
3580
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, } = props;
|
|
@@ -3728,7 +3748,7 @@ function DataPickerFooterImpl(props) {
|
|
|
3728
3748
|
}
|
|
3729
3749
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
3730
3750
|
|
|
3731
|
-
var css$F = {"header":"
|
|
3751
|
+
var css$F = {"header":"Klq72P","title":"_813TXs","close":"PAPM4-"};
|
|
3732
3752
|
|
|
3733
3753
|
const DataPickerMobileHeaderImpl = (props) => {
|
|
3734
3754
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -3738,7 +3758,7 @@ const DataPickerMobileHeaderImpl = (props) => {
|
|
|
3738
3758
|
};
|
|
3739
3759
|
const DataPickerMobileHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerMobileHeaderImpl);
|
|
3740
3760
|
|
|
3741
|
-
var css$E = {"done":"
|
|
3761
|
+
var css$E = {"done":"-p2NAu","container":"H0HVnQ"};
|
|
3742
3762
|
|
|
3743
3763
|
const PickerBodyMobileView = (props) => {
|
|
3744
3764
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -3750,7 +3770,7 @@ const PickerBodyMobileView = (props) => {
|
|
|
3750
3770
|
isMobileView && (React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => props.onClose?.(), cx: css$E.done, size: settings.pickerInput.sizes.body.mobileFooterLinkButton }))));
|
|
3751
3771
|
};
|
|
3752
3772
|
|
|
3753
|
-
var css$D = {"sub-header-wrapper":"
|
|
3773
|
+
var css$D = {"sub-header-wrapper":"UrYipU","subHeaderWrapper":"UrYipU","switch":"QE4hp5","no-found-modal-container":"K88wSm","noFoundModalContainer":"K88wSm","no-found-modal-container-icon":"S4CnCA","noFoundModalContainerIcon":"S4CnCA","no-found-modal-container-text":"yMO6Ux","noFoundModalContainerText":"yMO6Ux","body":"_0knrWj"};
|
|
3754
3774
|
|
|
3755
3775
|
function PickerModal(props) {
|
|
3756
3776
|
const { view, selection, dataSourceStateLens, dataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
@@ -3796,7 +3816,7 @@ function PickerModal(props) {
|
|
|
3796
3816
|
React__namespace.default.createElement(ModalFooter, null, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
3797
3817
|
}
|
|
3798
3818
|
|
|
3799
|
-
var css$C = {"tooltip":"
|
|
3819
|
+
var css$C = {"tooltip":"dpWfZU"};
|
|
3800
3820
|
|
|
3801
3821
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
3802
3822
|
const tagProps = {
|
|
@@ -3815,7 +3835,7 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
3815
3835
|
}
|
|
3816
3836
|
});
|
|
3817
3837
|
|
|
3818
|
-
var css$B = {"root":"
|
|
3838
|
+
var css$B = {"root":"TcahmI"};
|
|
3819
3839
|
|
|
3820
3840
|
const defaultMode = EditMode.FORM;
|
|
3821
3841
|
function applyPickerTogglerMods(mods) {
|
|
@@ -3897,7 +3917,7 @@ function PickerInputComponent(props, ref) {
|
|
|
3897
3917
|
}
|
|
3898
3918
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
3899
3919
|
|
|
3900
|
-
var css$A = {"row":"
|
|
3920
|
+
var css$A = {"row":"_9oNwh8"};
|
|
3901
3921
|
|
|
3902
3922
|
function PickerListRow(props) {
|
|
3903
3923
|
let label;
|
|
@@ -3917,7 +3937,7 @@ function PickerListRow(props) {
|
|
|
3917
3937
|
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));
|
|
3918
3938
|
}
|
|
3919
3939
|
|
|
3920
|
-
var css$z = {"root":"
|
|
3940
|
+
var css$z = {"root":"_18eomB"};
|
|
3921
3941
|
|
|
3922
3942
|
function PickerList(props) {
|
|
3923
3943
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -3952,7 +3972,7 @@ function PickerList(props) {
|
|
|
3952
3972
|
}, selectedRows)));
|
|
3953
3973
|
}
|
|
3954
3974
|
|
|
3955
|
-
var css$y = {"root":"
|
|
3975
|
+
var css$y = {"root":"tdHjvd","wrapper":"YDV2fT","align-widgets-top":"QsvZER","alignWidgetsTop":"QsvZER","align-widgets-center":"_8u--fq","alignWidgetsCenter":"_8u--fq"};
|
|
3956
3976
|
|
|
3957
3977
|
function DataTableCell(initialProps) {
|
|
3958
3978
|
const props = { ...initialProps };
|
|
@@ -4002,7 +4022,7 @@ function DataTableCell(initialProps) {
|
|
|
4002
4022
|
return React__namespace.createElement(uuiComponents.DataTableCell, { ...props });
|
|
4003
4023
|
}
|
|
4004
4024
|
|
|
4005
|
-
var css$x = {"root":"
|
|
4025
|
+
var css$x = {"root":"m11hiD"};
|
|
4006
4026
|
|
|
4007
4027
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
4008
4028
|
// 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.
|
|
@@ -4018,7 +4038,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
4018
4038
|
];
|
|
4019
4039
|
}, () => propsMods);
|
|
4020
4040
|
|
|
4021
|
-
var css$w = {"sorting-panel-container":"
|
|
4041
|
+
var css$w = {"sorting-panel-container":"rT0JtW","sortingPanelContainer":"rT0JtW"};
|
|
4022
4042
|
|
|
4023
4043
|
const SortingPanelImpl = ({ sortDirection, onSort }) => {
|
|
4024
4044
|
const sortAsc = React.useCallback(() => onSort(sortDirection === 'asc' ? undefined : 'asc'), [onSort]);
|
|
@@ -4038,7 +4058,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
4038
4058
|
};
|
|
4039
4059
|
const ColumnHeaderDropdown = /* @__PURE__ */React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
4040
4060
|
|
|
4041
|
-
var css$v = {"root":"
|
|
4061
|
+
var css$v = {"root":"VOvElx","caption-wrapper":"Wf9Rj4","captionWrapper":"Wf9Rj4","sort-icon":"hGwXKx","sortIcon":"hGwXKx","dropdown-icon":"dYwdvf","dropdownIcon":"dYwdvf","infoIcon":"CgpiIK","align-right":"t-N9-8","alignRight":"t-N9-8","align-center":"q3zI7P","alignCenter":"q3zI7P","caption":"zW6Kip","truncate":"Lx-AP0","upper-case":"_6ifYSH","upperCase":"_6ifYSH","checkbox":"_9Lq2WC","icon":"Eguy4C","fold-all-icon":"VGm2zw","foldAllIcon":"VGm2zw","cell-tooltip":"PnoKVx","cellTooltip":"PnoKVx","resizing-marker":"FtOuZX","resizingMarker":"FtOuZX","pinned-right":"MEUvPN","pinnedRight":"MEUvPN","draggable":"GdS7HD","ghost":"T7o5cl","is-dragged-out":"YEDOpa","isDraggedOut":"YEDOpa","dnd-marker-left":"cpt8uu","dndMarkerLeft":"cpt8uu","dnd-marker-right":"oUluRz","dndMarkerRight":"oUluRz","cell-tooltip-wrapper":"h-lk0m","cellTooltipWrapper":"h-lk0m","cell-tooltip-text":"l9x6iz","cellTooltipText":"l9x6iz","tooltip-caption":"gLBHX4","tooltipCaption":"gLBHX4","tooltip-info":"X-QGox","tooltipInfo":"X-QGox"};
|
|
4042
4062
|
|
|
4043
4063
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
4044
4064
|
constructor() {
|
|
@@ -4132,7 +4152,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4132
4152
|
}
|
|
4133
4153
|
}
|
|
4134
4154
|
|
|
4135
|
-
var css$u = {"root":"
|
|
4155
|
+
var css$u = {"root":"_7iIHVf","caption-wrapper":"m5dDay","captionWrapper":"m5dDay","align-center":"qGxJSK","alignCenter":"qGxJSK","caption":"qaKO24","truncate":"z-X789","upper-case":"vyzc-T","upperCase":"vyzc-T","group-cell-tooltip":"eXKQP1","groupCellTooltip":"eXKQP1","group-cell-tooltip-wrapper":"SbM4u-","groupCellTooltipWrapper":"SbM4u-","group-cell-tooltip-text":"-YaFvq","groupCellTooltipText":"-YaFvq","tooltip-caption":"_2PQ90S","tooltipCaption":"_2PQ90S","tooltip-info":"wMAosM","tooltipInfo":"wMAosM"};
|
|
4136
4156
|
|
|
4137
4157
|
class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
4138
4158
|
constructor() {
|
|
@@ -4172,7 +4192,7 @@ class DataTableHeaderGroupCell extends React__namespace.Component {
|
|
|
4172
4192
|
}
|
|
4173
4193
|
}
|
|
4174
4194
|
|
|
4175
|
-
var css$t = {"root":"
|
|
4195
|
+
var css$t = {"root":"TgXcZg"};
|
|
4176
4196
|
|
|
4177
4197
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, () => [css$t.root, 'uui-dt-vars'], (mods) => ({
|
|
4178
4198
|
renderCell: (props) => (React__namespace.createElement(DataTableHeaderCell, { ...props, size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
@@ -4268,7 +4288,7 @@ const UUI_FILTERS_PANEL_ITEM_TOGGLER_SELECTION = 'uui-filters-panel-item-toggler
|
|
|
4268
4288
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER_POSTFIX = 'uui-filters-panel-item-toggler-postfix';
|
|
4269
4289
|
const UUI_FILTERS_PANEL_BODY_FOOTER = 'uui-filters-panel-item-footer';
|
|
4270
4290
|
|
|
4271
|
-
var css$s = {"body":"
|
|
4291
|
+
var css$s = {"body":"ne5mby","header":"fB5X3o","title":"S45MVw","removeButton":"MVb7I0","with-search":"jxjm-j","withSearch":"jxjm-j"};
|
|
4272
4292
|
|
|
4273
4293
|
function FilterColumnBody(props) {
|
|
4274
4294
|
const [predicate, setPredicate] = React.useState(getDefaultPredicate(props.predicates, props.value));
|
|
@@ -4329,7 +4349,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
4329
4349
|
return columns;
|
|
4330
4350
|
};
|
|
4331
4351
|
|
|
4332
|
-
var css$r = {"unpin-icon":"
|
|
4352
|
+
var css$r = {"unpin-icon":"zyoH0i","unpinIcon":"zyoH0i","pin-toggler-icon":"NBbgDT","pinTogglerIcon":"NBbgDT"};
|
|
4333
4353
|
|
|
4334
4354
|
function PinIconButton(props) {
|
|
4335
4355
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4371,7 +4391,7 @@ function getUnpinIcon(params) {
|
|
|
4371
4391
|
}
|
|
4372
4392
|
}
|
|
4373
4393
|
|
|
4374
|
-
var css$q = {"row-wrapper":"
|
|
4394
|
+
var css$q = {"row-wrapper":"B-HpFz","rowWrapper":"B-HpFz","pin-icon-button":"_4Ilke-","pinIconButton":"_4Ilke-","not-pinned":"tN2baC","notPinned":"tN2baC","checkbox":"f4Hxjr","drag-handle":"t9a3t-","dragHandle":"t9a3t-","dnd-disabled":"qatJN7","dndDisabled":"qatJN7"};
|
|
4375
4395
|
|
|
4376
4396
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4377
4397
|
const { column } = props;
|
|
@@ -4394,7 +4414,7 @@ const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props)
|
|
|
4394
4414
|
return (React__namespace.createElement(uuiCore.DndActor, { key: column.key, srcData: isDndAllowed && data, dstData: data, canAcceptDrop: onCanAcceptDrop, onDrop: onDrop, render: renderContent }));
|
|
4395
4415
|
});
|
|
4396
4416
|
|
|
4397
|
-
var css$p = {"root":"
|
|
4417
|
+
var css$p = {"root":"eaNkA0","main-panel":"yhTKF5","mainPanel":"yhTKF5","group":"wfYubR","group-title":"M3k9gb","groupTitle":"M3k9gb","group-items":"_8IT-1z","groupItems":"_8IT-1z","no-data":"vEvysc","noData":"vEvysc","no-data-title":"_6AZhir","noDataTitle":"_6AZhir","no-data-sub-title":"_2f5rHi","noDataSubTitle":"_2f5rHi","h-divider":"jZFDz7","hDivider":"jZFDz7","search-area":"_3ctGnh","searchArea":"_3ctGnh","subgroup-accordion":"rbomOh","subgroupAccordion":"rbomOh","subgroup":"_05L3Ge","subgroup-title":"J3z5Nt","subgroupTitle":"J3z5Nt"};
|
|
4398
4418
|
|
|
4399
4419
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { cx: css$p.group },
|
|
4400
4420
|
React__namespace.createElement(Text, { size: "none", cx: css$p.groupTitle }, title),
|
|
@@ -4496,7 +4516,7 @@ const getChildrenAndRest = (row, rows) => {
|
|
|
4496
4516
|
return [children, rest];
|
|
4497
4517
|
};
|
|
4498
4518
|
|
|
4499
|
-
var css$o = {"listContainer":"
|
|
4519
|
+
var css$o = {"listContainer":"Pksu6m","header":"tLHg5d","group":"t3XNcd","stickyHeader":"ZL6ceL"};
|
|
4500
4520
|
|
|
4501
4521
|
function DataRowsGroup({ row, childRows, renderRow, top = 1, }) {
|
|
4502
4522
|
const rowRef = React.useRef(undefined);
|
|
@@ -4536,7 +4556,7 @@ function DataRowsContainer({ estimatedHeight, listContainerRef, offsetY, rows, r
|
|
|
4536
4556
|
React__namespace.default.createElement(DataRowsGroups, { rows: rows, renderRow: renderRow, top: headerRef?.current?.clientHeight }))));
|
|
4537
4557
|
}
|
|
4538
4558
|
|
|
4539
|
-
var css$n = {"root":"
|
|
4559
|
+
var css$n = {"root":"vzDu5T","sticky-header":"Jg8ZBf","stickyHeader":"Jg8ZBf","no-results":"sMRC4I","noResults":"sMRC4I","icon":"K4JUj7","title":"gT4BoH"};
|
|
4540
4560
|
|
|
4541
4561
|
function DataTable(props) {
|
|
4542
4562
|
const { uuiModals } = uuiCore.useUuiContext();
|
|
@@ -4585,7 +4605,7 @@ function DataTable(props) {
|
|
|
4585
4605
|
} }))));
|
|
4586
4606
|
}
|
|
4587
4607
|
|
|
4588
|
-
var css$m = {"root":"
|
|
4608
|
+
var css$m = {"root":"_4oRAD5","title-wrapper":"_5ggNbD","titleWrapper":"_5ggNbD","title":"dsFeun","text-wrapper":"MKiQJ1","textWrapper":"MKiQJ1","selection":"OfwSwa","postfix":"BryOLS","selected":"-zLezU"};
|
|
4589
4609
|
|
|
4590
4610
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4591
4611
|
const togglerPickerOpened = (e) => {
|
|
@@ -4809,7 +4829,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
4809
4829
|
renderFooter()));
|
|
4810
4830
|
}
|
|
4811
4831
|
|
|
4812
|
-
var css$l = {"container":"
|
|
4832
|
+
var css$l = {"container":"FsAl-x"};
|
|
4813
4833
|
|
|
4814
4834
|
function FilterNumericBody(props) {
|
|
4815
4835
|
const isInRangePredicate = props?.selectedPredicate === 'inRange' || props?.selectedPredicate === 'notInRange';
|
|
@@ -5120,7 +5140,7 @@ function FiltersToolbarImpl(props) {
|
|
|
5120
5140
|
}
|
|
5121
5141
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
5122
5142
|
|
|
5123
|
-
var css$k = {"delete-button":"
|
|
5143
|
+
var css$k = {"delete-button":"Ma02sJ","deleteButton":"Ma02sJ","tab-button":"dopetx","tabButton":"dopetx","targetOpen":"mDA3El"};
|
|
5124
5144
|
|
|
5125
5145
|
function PresetActionsDropdown(props) {
|
|
5126
5146
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -5192,7 +5212,7 @@ const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
|
5192
5212
|
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
5193
5213
|
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
5194
5214
|
|
|
5195
|
-
var css$j = {"preset-input-cell":"
|
|
5215
|
+
var css$j = {"preset-input-cell":"AWoI46","presetInputCell":"AWoI46","preset-input":"mNceoH","presetInput":"mNceoH"};
|
|
5196
5216
|
|
|
5197
5217
|
function PresetInput(props) {
|
|
5198
5218
|
const [presetCaption, setPresetCaption] = React.useState(props.preset?.name || '');
|
|
@@ -5219,7 +5239,7 @@ function PresetInput(props) {
|
|
|
5219
5239
|
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 })));
|
|
5220
5240
|
}
|
|
5221
5241
|
|
|
5222
|
-
var css$i = {"preset":"
|
|
5242
|
+
var css$i = {"preset":"bT2mdB","activePreset":"UNZze6"};
|
|
5223
5243
|
|
|
5224
5244
|
function Preset(props) {
|
|
5225
5245
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -5244,7 +5264,7 @@ function Preset(props) {
|
|
|
5244
5264
|
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", isLinkActive: isPresetActive }))));
|
|
5245
5265
|
}
|
|
5246
5266
|
|
|
5247
|
-
var css$h = {"divider":"
|
|
5267
|
+
var css$h = {"divider":"AIZqyg","dropdownDeleteIcon":"yAytjt","presetsWrapper":"_2oSXGd","addPresetContainer":"-jg-yK","dropContainer":"QFDi5M"};
|
|
5248
5268
|
|
|
5249
5269
|
function PresetsPanel(props) {
|
|
5250
5270
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
@@ -5293,9 +5313,9 @@ function PresetsPanel(props) {
|
|
|
5293
5313
|
React__namespace.default.createElement(uuiComponents.AdaptivePanel, { items: getPanelItems() }))));
|
|
5294
5314
|
}
|
|
5295
5315
|
|
|
5296
|
-
var css$g = {"root":"
|
|
5316
|
+
var css$g = {"root":"XPeNIn"};
|
|
5297
5317
|
|
|
5298
|
-
var css$f = {"root":"
|
|
5318
|
+
var css$f = {"root":"bVaeSu","burger-content":"DX5gnC","burgerContent":"DX5gnC"};
|
|
5299
5319
|
|
|
5300
5320
|
var _path$3;
|
|
5301
5321
|
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); }
|
|
@@ -5338,7 +5358,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
5338
5358
|
};
|
|
5339
5359
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
5340
5360
|
|
|
5341
|
-
var css$e = {"root":"
|
|
5361
|
+
var css$e = {"root":"T5RI8N","button-primary":"iKfi3P","buttonPrimary":"iKfi3P","button-secondary":"Pm6w0C","buttonSecondary":"Pm6w0C","hasIcon":"emDqMr","dropdown":"bnDjM1"};
|
|
5342
5362
|
|
|
5343
5363
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
5344
5364
|
css$e.root,
|
|
@@ -5349,13 +5369,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
5349
5369
|
props.icon && css$e.hasIcon,
|
|
5350
5370
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
5351
5371
|
|
|
5352
|
-
var css$d = {"search-input":"
|
|
5372
|
+
var css$d = {"search-input":"_3Y5bIp","searchInput":"_3Y5bIp"};
|
|
5353
5373
|
|
|
5354
5374
|
function BurgerSearch(props) {
|
|
5355
5375
|
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 }));
|
|
5356
5376
|
}
|
|
5357
5377
|
|
|
5358
|
-
var css$c = {"root":"
|
|
5378
|
+
var css$c = {"root":"OAtxVY","group-header":"S0nRZu","groupHeader":"S0nRZu","group-name":"wR7zfh","groupName":"wR7zfh","line":"HgJfQ1"};
|
|
5359
5379
|
|
|
5360
5380
|
function BurgerGroupHeader(props) {
|
|
5361
5381
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -5363,7 +5383,7 @@ function BurgerGroupHeader(props) {
|
|
|
5363
5383
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
5364
5384
|
}
|
|
5365
5385
|
|
|
5366
|
-
var css$b = {"root":"
|
|
5386
|
+
var css$b = {"root":"N4P6v1","type-primary":"aawhak","typePrimary":"aawhak","type-secondary":"cLp4-d","typeSecondary":"cLp4-d"};
|
|
5367
5387
|
|
|
5368
5388
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5369
5389
|
const { type, ...clickableProps } = props;
|
|
@@ -5385,7 +5405,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5385
5405
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
5386
5406
|
});
|
|
5387
5407
|
|
|
5388
|
-
var css$a = {"dropdown-body":"
|
|
5408
|
+
var css$a = {"dropdown-body":"tBBWJt","dropdownBody":"tBBWJt"};
|
|
5389
5409
|
|
|
5390
5410
|
class MainMenuDropdown extends React__namespace.Component {
|
|
5391
5411
|
render() {
|
|
@@ -5444,12 +5464,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
5444
5464
|
};
|
|
5445
5465
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
5446
5466
|
|
|
5447
|
-
var css$9 = {"global-menu-btn":"
|
|
5467
|
+
var css$9 = {"global-menu-btn":"dj58lj","globalMenuBtn":"dj58lj","global-menu-icon":"_84GlLY","globalMenuIcon":"_84GlLY"};
|
|
5448
5468
|
|
|
5449
5469
|
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 },
|
|
5450
5470
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
5451
5471
|
|
|
5452
|
-
var css$8 = {"container":"
|
|
5472
|
+
var css$8 = {"container":"ud-1Er","open":"_9aNoOn","folding-arrow":"vTyY2r","foldingArrow":"vTyY2r"};
|
|
5453
5473
|
|
|
5454
5474
|
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 },
|
|
5455
5475
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -5457,15 +5477,15 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
5457
5477
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
5458
5478
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
5459
5479
|
|
|
5460
|
-
var css$7 = {"search-input":"
|
|
5480
|
+
var css$7 = {"search-input":"chR8AE","searchInput":"chR8AE"};
|
|
5461
5481
|
|
|
5462
5482
|
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 })) })));
|
|
5463
5483
|
|
|
5464
|
-
var css$6 = {"container":"
|
|
5484
|
+
var css$6 = {"container":"mbC3ly"};
|
|
5465
5485
|
|
|
5466
5486
|
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 })));
|
|
5467
5487
|
|
|
5468
|
-
var css$5 = {"root":"
|
|
5488
|
+
var css$5 = {"root":"-cdzYu"};
|
|
5469
5489
|
|
|
5470
5490
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
5471
5491
|
|
|
@@ -5523,7 +5543,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5523
5543
|
};
|
|
5524
5544
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5525
5545
|
|
|
5526
|
-
var css$4 = {"root":"
|
|
5546
|
+
var css$4 = {"root":"Xp2Q-s","drop-start":"to1kXz","dropStart":"to1kXz","drop-over":"XEXaG-","dropOver":"XEXaG-","link":"q4lhYv","drop-area":"ugaiJH","dropArea":"ugaiJH","drop-caption":"xFl5RK","dropCaption":"xFl5RK","icon-blue":"_45NOq4","iconBlue":"_45NOq4"};
|
|
5527
5547
|
|
|
5528
5548
|
function DropSpot(props) {
|
|
5529
5549
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5541,7 +5561,7 @@ function DropSpot(props) {
|
|
|
5541
5561
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5542
5562
|
}
|
|
5543
5563
|
|
|
5544
|
-
var css$3 = {"root":"
|
|
5564
|
+
var css$3 = {"root":"Gv2uuf"};
|
|
5545
5565
|
|
|
5546
5566
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5547
5567
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5552,7 +5572,7 @@ const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref
|
|
|
5552
5572
|
React__namespace.createElement("circle", { strokeWidth: 1, fill: "transparent", r: outsetRadius, cx: props.size / 2, cy: props.size / 2 })));
|
|
5553
5573
|
});
|
|
5554
5574
|
|
|
5555
|
-
var css$2 = {"root":"
|
|
5575
|
+
var css$2 = {"root":"X1jSyS","file-name":"Vc3mmN","fileName":"Vc3mmN","default-color":"Xt3IIM","defaultColor":"Xt3IIM","doc-color":"QPhap8","docColor":"QPhap8","xls-color":"_11r0nL","xlsColor":"_11r0nL","pdf-color":"T89Qbk","pdfColor":"T89Qbk","movie-color":"adlcuD","movieColor":"adlcuD","img-color":"Aek4eb","imgColor":"Aek4eb","mov-color":"y3Kqe4","movColor":"y3Kqe4","error-block":"ZSbFCg","errorBlock":"ZSbFCg","icons-block":"fKp1Gi","iconsBlock":"fKp1Gi"};
|
|
5556
5576
|
|
|
5557
5577
|
const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5558
5578
|
const [isLoadingShow, setIsLoadingShow] = React__namespace.useState(true);
|
|
@@ -5671,7 +5691,7 @@ const getErrorPageConfig = () => ({
|
|
|
5671
5691
|
},
|
|
5672
5692
|
});
|
|
5673
5693
|
|
|
5674
|
-
var css$1 = {"container":"
|
|
5694
|
+
var css$1 = {"container":"_8BprUX"};
|
|
5675
5695
|
|
|
5676
5696
|
const ErrorPage = (props) => {
|
|
5677
5697
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5683,7 +5703,7 @@ const ErrorPage = (props) => {
|
|
|
5683
5703
|
props?.supportLink && React__namespace.default.createElement("div", { className: "uui-error-support-link" }, props?.supportLink))));
|
|
5684
5704
|
};
|
|
5685
5705
|
|
|
5686
|
-
var css = {"recovery-spinner":"
|
|
5706
|
+
var css = {"recovery-spinner":"bT7tpN","recoverySpinner":"bT7tpN","recovery-message":"SPVDyq","recoveryMessage":"SPVDyq","modal-blocker":"EBwFr3","modalBlocker":"EBwFr3","modalFadeIn":"h1vvG7"};
|
|
5687
5707
|
|
|
5688
5708
|
function ErrorHandler(props) {
|
|
5689
5709
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|